(function(Ua,Et){typeof exports=="object"&&typeof module<"u"?module.exports=Et():typeof define=="function"&&define.amd?define(Et):(Ua=typeof globalThis<"u"?globalThis:Ua||self,Ua.WPAIStudioChat=Et())})(this,function(){"use strict";var uq=Object.defineProperty;var fq=(Ua,Et,It)=>Et in Ua?uq(Ua,Et,{enumerable:!0,configurable:!0,writable:!0,value:It}):Ua[Et]=It;var Lt=(Ua,Et,It)=>fq(Ua,typeof Et!="symbol"?Et+"":Et,It);function Ua(e,t){for(var a=0;a<t.length;a++){const n=t[a];if(typeof n!="string"&&!Array.isArray(n)){for(const r in n)if(r!=="default"&&!(r in e)){const i=Object.getOwnPropertyDescriptor(n,r);i&&Object.defineProperty(e,r,i.get?i:{enumerable:!0,get:()=>n[r]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var Et=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function It(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Fy={exports:{}},ic={};/**
 * @license React
 * react-jsx-runtime.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var KA=Symbol.for("react.transitional.element"),WA=Symbol.for("react.fragment");function Hy(e,t,a){var n=null;if(a!==void 0&&(n=""+a),t.key!==void 0&&(n=""+t.key),"key"in t){a={};for(var r in t)r!=="key"&&(a[r]=t[r])}else a=t;return t=a.ref,{$$typeof:KA,type:e,key:n,ref:t!==void 0?t:null,props:a}}ic.Fragment=WA,ic.jsx=Hy,ic.jsxs=Hy,Fy.exports=ic;var C=Fy.exports,jy={exports:{}},ue={};/**
 * @license React
 * react.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var id=Symbol.for("react.transitional.element"),ZA=Symbol.for("react.portal"),JA=Symbol.for("react.fragment"),e3=Symbol.for("react.strict_mode"),t3=Symbol.for("react.profiler"),a3=Symbol.for("react.consumer"),n3=Symbol.for("react.context"),r3=Symbol.for("react.forward_ref"),i3=Symbol.for("react.suspense"),s3=Symbol.for("react.memo"),qy=Symbol.for("react.lazy"),o3=Symbol.for("react.activity"),Yy=Symbol.iterator;function l3(e){return e===null||typeof e!="object"?null:(e=Yy&&e[Yy]||e["@@iterator"],typeof e=="function"?e:null)}var $y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Qy=Object.assign,Vy={};function vi(e,t,a){this.props=e,this.context=t,this.refs=Vy,this.updater=a||$y}vi.prototype.isReactComponent={},vi.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},vi.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Gy(){}Gy.prototype=vi.prototype;function sd(e,t,a){this.props=e,this.context=t,this.refs=Vy,this.updater=a||$y}var od=sd.prototype=new Gy;od.constructor=sd,Qy(od,vi.prototype),od.isPureReactComponent=!0;var Xy=Array.isArray;function ld(){}var Ve={H:null,A:null,T:null,S:null},Ky=Object.prototype.hasOwnProperty;function cd(e,t,a){var n=a.ref;return{$$typeof:id,type:e,key:t,ref:n!==void 0?n:null,props:a}}function c3(e,t){return cd(e.type,t,e.props)}function ud(e){return typeof e=="object"&&e!==null&&e.$$typeof===id}function u3(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(a){return t[a]})}var Wy=/\/+/g;function fd(e,t){return typeof e=="object"&&e!==null&&e.key!=null?u3(""+e.key):t.toString(36)}function f3(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(ld,ld):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function Si(e,t,a,n,r){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(i){case"bigint":case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case id:case ZA:s=!0;break;case qy:return s=e._init,Si(s(e._payload),t,a,n,r)}}if(s)return r=r(e),s=n===""?"."+fd(e,0):n,Xy(r)?(a="",s!=null&&(a=s.replace(Wy,"$&/")+"/"),Si(r,t,a,"",function(c){return c})):r!=null&&(ud(r)&&(r=c3(r,a+(r.key==null||e&&e.key===r.key?"":(""+r.key).replace(Wy,"$&/")+"/")+s)),t.push(r)),1;s=0;var o=n===""?".":n+":";if(Xy(e))for(var l=0;l<e.length;l++)n=e[l],i=o+fd(n,l),s+=Si(n,t,a,i,r);else if(l=l3(e),typeof l=="function")for(e=l.call(e),l=0;!(n=e.next()).done;)n=n.value,i=o+fd(n,l++),s+=Si(n,t,a,i,r);else if(i==="object"){if(typeof e.then=="function")return Si(f3(e),t,a,n,r);throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return s}function sc(e,t,a){if(e==null)return e;var n=[],r=0;return Si(e,n,"","",function(i){return t.call(a,i,r++)}),n}function d3(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(a){(e._status===0||e._status===-1)&&(e._status=1,e._result=a)},function(a){(e._status===0||e._status===-1)&&(e._status=2,e._result=a)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Zy=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},h3={map:sc,forEach:function(e,t,a){sc(e,function(){t.apply(this,arguments)},a)},count:function(e){var t=0;return sc(e,function(){t++}),t},toArray:function(e){return sc(e,function(t){return t})||[]},only:function(e){if(!ud(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};ue.Activity=o3,ue.Children=h3,ue.Component=vi,ue.Fragment=JA,ue.Profiler=t3,ue.PureComponent=sd,ue.StrictMode=e3,ue.Suspense=i3,ue.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Ve,ue.__COMPILER_RUNTIME={__proto__:null,c:function(e){return Ve.H.useMemoCache(e)}},ue.cache=function(e){return function(){return e.apply(null,arguments)}},ue.cacheSignal=function(){return null},ue.cloneElement=function(e,t,a){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var n=Qy({},e.props),r=e.key;if(t!=null)for(i in t.key!==void 0&&(r=""+t.key),t)!Ky.call(t,i)||i==="key"||i==="__self"||i==="__source"||i==="ref"&&t.ref===void 0||(n[i]=t[i]);var i=arguments.length-2;if(i===1)n.children=a;else if(1<i){for(var s=Array(i),o=0;o<i;o++)s[o]=arguments[o+2];n.children=s}return cd(e.type,r,n)},ue.createContext=function(e){return e={$$typeof:n3,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:a3,_context:e},e},ue.createElement=function(e,t,a){var n,r={},i=null;if(t!=null)for(n in t.key!==void 0&&(i=""+t.key),t)Ky.call(t,n)&&n!=="key"&&n!=="__self"&&n!=="__source"&&(r[n]=t[n]);var s=arguments.length-2;if(s===1)r.children=a;else if(1<s){for(var o=Array(s),l=0;l<s;l++)o[l]=arguments[l+2];r.children=o}if(e&&e.defaultProps)for(n in s=e.defaultProps,s)r[n]===void 0&&(r[n]=s[n]);return cd(e,i,r)},ue.createRef=function(){return{current:null}},ue.forwardRef=function(e){return{$$typeof:r3,render:e}},ue.isValidElement=ud,ue.lazy=function(e){return{$$typeof:qy,_payload:{_status:-1,_result:e},_init:d3}},ue.memo=function(e,t){return{$$typeof:s3,type:e,compare:t===void 0?null:t}},ue.startTransition=function(e){var t=Ve.T,a={};Ve.T=a;try{var n=e(),r=Ve.S;r!==null&&r(a,n),typeof n=="object"&&n!==null&&typeof n.then=="function"&&n.then(ld,Zy)}catch(i){Zy(i)}finally{t!==null&&a.types!==null&&(t.types=a.types),Ve.T=t}},ue.unstable_useCacheRefresh=function(){return Ve.H.useCacheRefresh()},ue.use=function(e){return Ve.H.use(e)},ue.useActionState=function(e,t,a){return Ve.H.useActionState(e,t,a)},ue.useCallback=function(e,t){return Ve.H.useCallback(e,t)},ue.useContext=function(e){return Ve.H.useContext(e)},ue.useDebugValue=function(){},ue.useDeferredValue=function(e,t){return Ve.H.useDeferredValue(e,t)},ue.useEffect=function(e,t){return Ve.H.useEffect(e,t)},ue.useEffectEvent=function(e){return Ve.H.useEffectEvent(e)},ue.useId=function(){return Ve.H.useId()},ue.useImperativeHandle=function(e,t,a){return Ve.H.useImperativeHandle(e,t,a)},ue.useInsertionEffect=function(e,t){return Ve.H.useInsertionEffect(e,t)},ue.useLayoutEffect=function(e,t){return Ve.H.useLayoutEffect(e,t)},ue.useMemo=function(e,t){return Ve.H.useMemo(e,t)},ue.useOptimistic=function(e,t){return Ve.H.useOptimistic(e,t)},ue.useReducer=function(e,t,a){return Ve.H.useReducer(e,t,a)},ue.useRef=function(e){return Ve.H.useRef(e)},ue.useState=function(e){return Ve.H.useState(e)},ue.useSyncExternalStore=function(e,t,a){return Ve.H.useSyncExternalStore(e,t,a)},ue.useTransition=function(){return Ve.H.useTransition()},ue.version="19.2.6",jy.exports=ue;var A=jy.exports;const pe=It(A),Jy=Ua({__proto__:null,default:pe},[A]);function ae(...e){return e.filter(Boolean).join(" ")}const p3=["accept","accept-charset","accesskey","action","alt","async","autocomplete","autofocus","autoplay","charset","checked","cite","class","cols","colspan","content","contenteditable","controls","coords","data","datetime","default","defer","dir","dirname","disabled","download","draggable","dropzone","enctype","for","form","formaction","headers","height","hidden","high","href","hreflang","http-equiv","id","ismap","kind","label","lang","list","loop","low","max","maxlength","media","method","min","multiple","muted","name","novalidate","onabort","onafterprint","onbeforeprint","onbeforeunload","onblur","oncanplay","oncanplaythrough","onchange","onclick","oncontextmenu","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onload","onloadeddata","onloadedmetadata","onloadstart","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","onmousewheel","onoffline","ononline","onpageshow","onpaste","onpause","onplay","onplaying","onprogress","onratechange","onreset","onresize","onscroll","onsearch","onseeked","onseeking","onselect","onstalled","onsubmit","onsuspend","ontimeupdate","ontoggle","onunload","onvolumechange","onwaiting","onwheel","open","optimum","pattern","placeholder","poster","preload","readonly","rel","required","reversed","role","rows","rowspan","sandbox","scope","selected","shape","size","sizes","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","type","usemap","value","width","wrap"],m3=["children","dangerouslysetinnerhtml","oncopy","oncopycapture","oncut","oncutcapture","onpaste","onpastecapture","oncompositionend","oncompositionendcapture","oncompositionstart","oncompositionstartcapture","oncompositionupdate","oncompositionupdatecapture","onfocus","onfocuscapture","onblur","onblurcapture","onchange","onchangecapture","onbeforeinput","onbeforeinputcapture","oninput","oninputcapture","onreset","onresetcapture","onsubmit","onsubmitcapture","oninvalid","oninvalidcapture","onload","onloadcapture","onerror","onerrorcapture","onkeydown","onkeydowncapture","onkeypress","onkeypresscapture","onkeyup","onkeyupcapture","onabort","onabortcapture","oncanplay","oncanplaycapture","oncanplaythrough","oncanplaythroughcapture","ondurationchange","ondurationchangecapture","onemptied","onemptiedcapture","onencrypted","onencryptedcapture","onended","onendedcapture","onloadeddata","onloadeddatacapture","onloadedmetadata","onloadedmetadatacapture","onloadstart","onloadstartcapture","onpause","onpausecapture","onplay","onplaycapture","onplaying","onplayingcapture","onprogress","onprogresscapture","onratechange","onratechangecapture","onseeked","onseekedcapture","onseeking","onseekingcapture","onstalled","onstalledcapture","onsuspend","onsuspendcapture","ontimeupdate","ontimeupdatecapture","onvolumechange","onvolumechangecapture","onwaiting","onwaitingcapture","onclick","onclickcapture","oncontextmenu","oncontextmenucapture","ondoubleclick","ondoubleclickcapture","ondrag","ondragcapture","ondragend","ondragendcapture","ondragenter","ondragentercapture","ondragexit","ondragexitcapture","ondragleave","ondragleavecapture","ondragover","ondragovercapture","ondragstart","ondragstartcapture","ondrop","ondropcapture","onmousedown","onmousedowncapture","onmouseenter","onmouseleave","onmousemove","onmousemovecapture","onmouseout","onmouseoutcapture","onmouseover","onmouseovercapture","onmouseup","onmouseupcapture","onselect","onselectcapture","ontouchcancel","ontouchcancelcapture","ontouchend","ontouchendcapture","ontouchmove","ontouchmovecapture","ontouchstart","ontouchstartcapture","onpointerdown","onpointerdowncapture","onpointermove","onpointermovecapture","onpointerup","onpointerupcapture","onpointercancel","onpointercancelcapture","onpointerenter","onpointerentercapture","onpointerleave","onpointerleavecapture","onpointerover","onpointerovercapture","onpointerout","onpointeroutcapture","ongotpointercapture","ongotpointercapturecapture","onlostpointercapture","onlostpointercapturecapture","onscroll","onscrollcapture","onwheel","onwheelcapture","onanimationstart","onanimationstartcapture","onanimationend","onanimationendcapture","onanimationiteration","onanimationiterationcapture","ontransitionend","ontransitionendcapture"],g3=Array.from(new Set(p3.concat(m3))).reduce((e,t)=>({...e,[t]:!0}),{});function Ge(e){const t=Object.keys(e),a={};for(const n of t){const r=n.toLocaleLowerCase();(g3[r]||r.startsWith("data-")||r.startsWith("aria-"))&&(a[n]=e[n])}return a}const y3=/Edge?\/(79|[89]\d|\d{3,})\.\d+(\.\d+|)|Firefox\/(7[2-9]|[89]\d|\d{3,})\.\d+(\.\d+|)|Chrom(ium|e)\/([89]\d|\d{3,})\.\d+(\.\d+|)|(Maci|X1{2}).+ Version\/(13\.([1-9]|\d{2,})|(1[4-9]|[2-9]\d|\d{3,})\.\d+)([,.]\d+|)( \(\w+\)|)( Mobile\/\w+|) Safari\/|Chrome.+OPR\/(6[6-9]|[7-9]\d|\d{3,})\.\d+\.\d+|(CPU[ +]OS|iPhone[ +]OS|CPU[ +]iPhone|CPU IPhone OS|CPU iPad OS)[ +]+(12[._]([2-9]|\d{2,})|(1[3-9]|[2-9]\d|\d{3,})[._]\d+)([._]\d+|)|Android:?[ /-](12[1-9]|1[3-9]\d|[2-9]\d{2}|\d{4,})(\.\d+|)(\.\d+|)|Mobile Safari.+OPR\/(7[3-9]|[89]\d|\d{3,})\.\d+\.\d+|Android.+Firefox\/(12[2-9]|1[3-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Android.+Chrom(ium|e)\/(12[1-9]|1[3-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Android.+(UC? ?Browser|UCWEB|U3)[ /]?(15\.([5-9]|\d{2,})|(1[6-9]|[2-9]\d|\d{3,})\.\d+)\.\d+|SamsungBrowser\/(1{2}\.([1-9]|\d{2,})|(1[2-9]|[2-9]\d|\d{3,})\.\d+)|Android.+MQ{2}Browser\/(13(\.([1-9]|\d{2,})|)|(1[4-9]|[2-9]\d|\d{3,})(\.\d+|))(\.\d+|)|baidubrowser[\s/](13(\.(1[89]|[2-9]\d|\d{3,})|)|(1[4-9]|[2-9]\d|\d{3,})(\.\d+|))(\.\d+|)|K[Aa][Ii]OS\/(2\.([5-9]|\d{2,})|([3-9]|\d{2,})\.\d+)(\.\d+|)/,e_=800,t_=1500,dd=window.navigator.userAgent.toLowerCase(),Oe=e=>dd.indexOf(e)!==-1,a_=Oe("opera"),n_=Oe("fxios"),r_=Oe("firefox"),i_=Oe("safari"),_3=!!!document.documentMode&&!!window.StyleMedia,s_=Oe("crios"),hd=Oe("chrome")||s_,b3=Oe("chromium"),k3=Oe("brave"),w3=(hd||a_)&&!!window.CSS,o_=()=>_3?"edge":s_?"crios":hd?"chrome":b3?"chromium":a_?"opera":w3?"blink":n_?"fxios":r_?"firefox":i_?"safari":"",E3=()=>{const e=new RegExp(`${o_()}/([0-9.]+)`),t=dd.match(e);if(i_&&!hd&&!r_&&!n_&&!k3){const a=new RegExp("version/([0-9.]+)"),n=dd.match(a);return parseInt(n[1].split(".").join("").padEnd(4,"0"))}return t.length>0?parseInt(t[1]):0},T3=()=>y3.test(navigator.userAgent),oc=()=>Oe("windows"),l_=()=>!oc()&&Oe("iphone"),c_=()=>Oe("ipod"),u_=()=>Oe("ipad"),f_=()=>l_()||c_()||u_(),d_=()=>!oc()&&Oe("android"),v3=()=>d_()&&Oe("mobile"),S3=()=>d_()&&!Oe("mobile"),h_=()=>Oe("blackberry")||Oe("bb10")||Oe("rim"),A3=()=>h_()&&!Oe("tablet"),C3=()=>h_()&&Oe("tablet"),p_=()=>oc()&&Oe("phone"),x3=()=>oc()&&Oe("touch")&&!p_(),m_=()=>(Oe("(mobile;")||Oe("(tablet;"))&&Oe("; rv:"),z3=()=>m_()&&Oe("mobile"),N3=()=>m_()&&Oe("tablet"),O3=()=>Oe("meego"),D3=()=>window.innerWidth<=e_,R3=()=>window.innerWidth>e_&&window.innerWidth<=t_,L3=()=>window.innerWidth>t_,g_=()=>v3()||l_()||c_()||p_()||A3()||z3()||O3(),y_=()=>D3()||g_(),__=()=>u_()||S3()||C3()||x3()||N3(),b_=()=>R3()||__(),I3=()=>L3()||!b_()&&!y_(),M3=()=>!!["googletv","viera","smarttv","internet.tv","netcast","nettv","appletv","boxee","kylo","roku","dlnadoc","roku","pov_tv","hbbtv","ce-html"].find(t=>Oe(t)),P3=()=>window.innerHeight/window.innerWidth>1,U3=()=>window.innerHeight/window.innerWidth<1,B3=()=>window.innerWidth,F3=()=>window.innerHeight;function pd(){return{isDesktop:I3(),isPhone:y_(),isDevicePhone:g_(),isTablet:b_(),isDeviceTablet:__(),isTelevision:M3(),isPortrait:P3(),isLandscape:U3(),browser:{name:o_(),version:E3(),isSupported:T3()},height:F3(),width:B3()}}const H3=({onInit:e=a=>null,onResize:t=a=>null})=>{const[a,n]=A.useState(pd()),r=A.useRef(null),i=A.useCallback(()=>{r.current&&clearTimeout(r.current),r.current=setTimeout(()=>{const s=pd();n(s),t(s)},300)},[t]);return A.useEffect(()=>(e(a),window.addEventListener("resize",i),()=>window.removeEventListener("resize",i)),[i,t,e,a]),a},k_={device:pd()},jt=A.createContext(k_),md=()=>"https://spa-packages.siteground.com/styleguide-assets",gd={SVG:md()+"/svg",DATA:md()+"/data",FONTS:md()+"/fonts"},gt={All:-1,TRACE:0,DEBUG:1,DEPRECATION:2,INFO:3,WARN:4,ERROR:5,SILENT:6},j3={config:{dataAssetsPath:gd.DATA,svgAssetsPath:gd.SVG,fontsAssetsPath:gd.FONTS},logLevel:gt.All},w_=e=>{const{context:t={},onInit:a,onResize:n,children:r,...i}=e,s=H3({onInit:a,onResize:n}),o={...k_,...j3,device:s,...t};return A.createElement(jt.Provider,{value:o},A.createElement("div",{...o.bootstrapProps,...Ge(i)},r))},q3=({children:e,"data-e2e":t="sg-bootstrap","data-component":a="sg-bootstrap",...n})=>A.createElement(w_,{"data-e2e":t,"data-component":a,...n},e),Y3=e=>{const{context:t,children:a,fontsInjectTarget:n,...r}=e,i=t.config.fontsAssetsPath;return A.useEffect(()=>{const s=document.createElement("style"),o=n||document.head,l=`

/* latin-ext */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("${i}/pxiEyp8kv8JHgFVrJJnecmNE.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("${i}/pxiEyp8kv8JHgFVrJJfecg.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("${i}/pxiByp8kv8JHgFVrLGT9Z1JlFc-K.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("${i}/pxiByp8kv8JHgFVrLGT9Z1xlFQ.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("${i}/pxiByp8kv8JHgFVrLEj6Z1JlFc-K.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("${i}/pxiByp8kv8JHgFVrLEj6Z1xlFQ.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("${i}/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa2JL7SUc.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("${i}/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa0ZL7SUc.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("${i}/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa2ZL7SUc.woff2") format("woff2");
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("${i}/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa1pL7SUc.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("${i}/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa2pL7SUc.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304,
    U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("${i}/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa25L7SUc.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("${i}/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa1ZL7.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
    `;return s.appendChild(document.createTextNode(l)),o.appendChild(s),()=>{o.removeChild(s)}},[i,n]),A.createElement(w_,{context:t,...r},a)};function E_(e,t){if(typeof t=="string")return{top:t,right:t,bottom:t,left:t};const[a,n,r,i]=t;switch(t.length){case 2:return{top:a,right:n,bottom:a,left:n};case 3:return{top:a,right:n,bottom:r,left:n};case 4:return{top:a,right:n,bottom:r,left:i};default:throw new Error(`The array with ${e} must contain max 4 settings [top, right, bottom, left]`)}}const Ai=e=>{if(!e)return null;const t=E_("padding",e);return ae("sg-with-padding",t.top&&`sg-with-padding--padding-top-${t.top}`,t.right&&`sg-with-padding--padding-right-${t.right}`,t.bottom&&`sg-with-padding--padding-bottom-${t.bottom}`,t.left&&`sg-with-padding--padding-left-${t.left}`)};var T_={exports:{}},Rr={},yd={},$n={},v_;function _d(){if(v_)return $n;v_=1,Object.defineProperty($n,"__esModule",{value:!0}),$n.arrayIncludes=r,$n.endsWith=t,$n.isRealNaN=n,$n.startsWith=e,$n.stringIncludes=a;function e(i,s,o){return i.substr(o||0,s.length)===s}function t(i,s,o){var l=(o||i.length)-s.length,c=i.lastIndexOf(s,l);return c!==-1&&c===l}function a(i,s,o){return i.indexOf(s,o||0)!==-1}function n(i){return typeof i=="number"&&isNaN(i)}function r(i,s,o){var l=i.length;if(l===0)return!1;for(var c=o|0,f=n(s),d=c>=0?c:l+c;d<l;){var u=i[d++];if(u===s||f&&n(u))return!0}return!1}return $n}var S_;function $3(){return S_||(S_=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.copyPosition=i,e.default=s,e.feedPosition=a,e.findTextEnd=c,e.isWhitespaceChar=_,e.jumpPosition=n,e.lex=o,e.lexComment=d,e.lexSkipTag=k,e.lexTag=u,e.lexTagAttributes=v,e.lexTagName=E,e.lexText=f,e.makeInitialPosition=r;var t=_d();function a(y,b,w){for(var h=y.index,S=y.index=h+w,O=h;O<S;O++){var x=b.charAt(O);x===`
`?(y.line++,y.column=0):y.column++}}function n(y,b,w){var h=w-y.index;return a(y,b,h)}function r(){return{index:0,column:0,line:0}}function i(y){return{index:y.index,line:y.line,column:y.column}}function s(y,b){var w={str:y,options:b,position:r(),tokens:[]};return o(w),w.tokens}function o(y){for(var b=y.str,w=y.options.childlessTags,h=b.length;y.position.index<h;){var S=y.position.index;if(f(y),y.position.index===S){var O=(0,t.startsWith)(b,"!--",S+1);if(O)d(y);else{var x=u(y),T=x.toLowerCase();(0,t.arrayIncludes)(w,T)&&k(x,y)}}}}var l=/[A-Za-z0-9]/;function c(y,b){for(;;){var w=y.indexOf("<",b);if(w===-1)return w;var h=y.charAt(w+1);if(h==="/"||h==="!"||l.test(h))return w;b=w+1}}function f(y){var b="text",w=y.str,h=y.position,S=c(w,h.index);if(S!==h.index){S===-1&&(S=w.length);var O=i(h),x=w.slice(h.index,S);n(h,w,S);var T=i(h);y.tokens.push({type:b,content:x,position:{start:O,end:T}})}}function d(y){var b=y.str,w=y.position,h=i(w);a(w,b,4);var S=b.indexOf("-->",w.index),O=S+3;S===-1&&(S=O=b.length);var x=b.slice(w.index,S);n(w,b,O),y.tokens.push({type:"comment",content:x,position:{start:h,end:i(w)}})}function u(y){var b=y.str,w=y.position;{var h=b.charAt(w.index+1),S=h==="/",O=i(w);a(w,b,S?2:1),y.tokens.push({type:"tag-start",close:S,position:{start:O}})}var x=E(y);v(y);{var T=b.charAt(w.index),z=T==="/";a(w,b,z?2:1);var L=i(w);y.tokens.push({type:"tag-end",close:z,position:{end:L}})}return x}var p=/\s/;function _(y){return p.test(y)}function E(y){for(var b=y.str,w=y.position,h=b.length,S=w.index;S<h;){var O=b.charAt(S),x=!(_(O)||O==="/"||O===">");if(x)break;S++}for(var T=S+1;T<h;){var z=b.charAt(T),L=!(_(z)||z==="/"||z===">");if(!L)break;T++}n(w,b,T);var P=b.slice(S,T);return y.tokens.push({type:"tag",content:P}),P}function v(y){for(var b=y.str,w=y.position,h=y.tokens,S=w.index,O=null,x=S,T=[],z=b.length;S<z;){var L=b.charAt(S);if(O){var P=L===O;P&&(O=null),S++;continue}var U=L==="/"||L===">";if(U){S!==x&&T.push(b.slice(x,S));break}var j=_(L);if(j){S!==x&&T.push(b.slice(x,S)),x=S+1,S++;continue}var B=L==="'"||L==='"';if(B){O=L,S++;continue}S++}n(w,b,S);for(var q=T.length,Y="attribute",V=0;V<q;V++){var D=T[V],ne=D.indexOf("=")===-1;if(ne){var ie=T[V+1];if(ie&&(0,t.startsWith)(ie,"=")){if(ie.length>1){var M=D+ie;h.push({type:Y,content:M}),V+=1;continue}var te=T[V+2];if(V+=1,te){var J=D+"="+te;h.push({type:Y,content:J}),V+=1;continue}}}if((0,t.endsWith)(D,"=")){var le=T[V+1];if(le&&!(0,t.stringIncludes)(le,"=")){var ge=D+le;h.push({type:Y,content:ge}),V+=1;continue}var He=D.slice(0,-1);h.push({type:Y,content:He});continue}h.push({type:Y,content:D})}}var g=[].push;function k(y,b){for(var w=b.str,h=b.position,S=b.tokens,O=y.toLowerCase(),x=w.length,T=h.index;T<x;){var z=w.indexOf("</",T);if(z===-1){f(b);break}var L=i(h);n(L,w,z);var P={str:w,position:L,tokens:[]},U=u(P);if(O!==U.toLowerCase()){T=P.position.index;continue}if(z!==h.index){var j=i(h);n(h,w,z),S.push({type:"text",content:w.slice(j.index,z),position:{start:j,end:i(h)}})}g.apply(S,P.tokens),n(h,w,P.position.index);break}}}(yd)),yd}var bd={},A_;function Q3(){return A_||(A_=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=a,e.hasTerminalParent=n,e.parse=i,e.rewindStack=r;var t=_d();function a(s,o){var l={tagName:null,children:[]},c={tokens:s,options:o,cursor:0,stack:[l]};return i(c),l.children}function n(s,o,l){var c=l[s];if(c)for(var f=o.length-1;f>=0;){var d=o[f].tagName;if(d===s)break;if((0,t.arrayIncludes)(c,d))return!0;f--}return!1}function r(s,o,l,c){s[o].position.end=c;for(var f=o+1,d=s.length;f<d;f++)s[f].position.end=l;s.splice(o)}function i(s){for(var o=s.tokens,l=s.options,c=s.stack,f=c[c.length-1].children,d=o.length,u=s.cursor;u<d;){var p=o[u];if(p.type!=="tag-start"){f.push(p),u++;continue}var _=o[++u];u++;var E=_.content.toLowerCase();if(p.close){for(var v=c.length,g=!1;--v>-1;)if(c[v].tagName===E){g=!0;break}for(;u<d;){var k=o[u];if(k.type!=="tag-end")break;u++}if(g){r(c,v,p.position.start,o[u-1].position.end);break}else continue}var y=(0,t.arrayIncludes)(l.closingTags,E),b=y;if(b){var w=l.closingTagAncestorBreakers;b=!n(E,c,w)}if(b)for(var h=c.length-1;h>0;){if(E===c[h].tagName){r(c,h,p.position.start,p.position.start);var S=h-1;f=c[S].children;break}h=h-1}for(var O=[],x=void 0;u<d&&(x=o[u],x.type!=="tag-end");)O.push(x.content),u++;u++;var T=[],z={start:p.position.start,end:x.position.end},L={type:"element",tagName:_.content,attributes:O,children:T,position:z};f.push(L);var P=!(x.close||(0,t.arrayIncludes)(l.voidTags,E));if(P){var U=c.push({tagName:E,children:T,position:z}),j={tokens:o,options:l,cursor:u,stack:c};i(j),u=j.cursor;var B=c.length===U;B&&(L.position.end=o[u-1].position.end)}}s.cursor=u}}(bd)),bd}var Lr={},C_;function V3(){if(C_)return Lr;C_=1,Object.defineProperty(Lr,"__esModule",{value:!0}),Lr.format=a,Lr.formatAttributes=n,Lr.splitHead=e,Lr.unquote=t;function e(r,i){var s=r.indexOf(i);return s===-1?[r]:[r.slice(0,s),r.slice(s+i.length)]}function t(r){var i=r.charAt(0),s=r.length-1,o=i==='"'||i==="'";return o&&i===r.charAt(s)?r.slice(1,s):r}function a(r,i){return r.map(function(s){var o=s.type,l=o==="element"?{type:o,tagName:s.tagName.toLowerCase(),attributes:n(s.attributes),children:a(s.children,i)}:{type:o,content:s.content};return i.includePositions&&(l.position=s.position),l})}function n(r){return r.map(function(i){var s=e(i.trim(),"="),o=s[0],l=typeof s[1]=="string"?t(s[1]):null;return{key:o,value:l}})}return Lr}var kd={},x_;function G3(){return x_||(x_=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.formatAttributes=a,e.toHTML=n;var t=_d();function a(i,s){return i.reduce(function(o,l){var c=l.key,f=l.value;if(f===null)return"".concat(o," ").concat(c);var d;if(s){var u=f.indexOf('"')!==-1;d=u?"'":'"'}else{var p=f.indexOf("'")!==-1;d=p?'"':"'"}return"".concat(o," ").concat(c,"=").concat(d).concat(f).concat(d)},"")}function n(i,s){return i.map(function(o){if(o.type==="text")return o.content;if(o.type==="comment")return"<!--".concat(o.content,"-->");var l=o.tagName,c=o.attributes,f=o.children,d=(0,t.arrayIncludes)(s.voidTags,l.toLowerCase());return d?"<".concat(l).concat(a(c,s.preferDoubleQuoteAttributes),">"):"<".concat(l).concat(a(c,s.preferDoubleQuoteAttributes),">").concat(n(f,s),"</").concat(l,">")}).join("")}var r={toHTML:n};e.default=r}(kd)),kd}var Ba={},z_;function X3(){if(z_)return Ba;z_=1,Object.defineProperty(Ba,"__esModule",{value:!0}),Ba.voidTags=Ba.closingTags=Ba.closingTagAncestorBreakers=Ba.childlessTags=void 0;var e=["style","script","template"];Ba.childlessTags=e;var t=["html","head","body","p","dt","dd","li","option","thead","th","tbody","tr","td","tfoot","colgroup"];Ba.closingTags=t;var a={li:["ul","ol","menu"],dt:["dl"],dd:["dl"],tbody:["table"],thead:["table"],tfoot:["table"],tr:["table"],td:["table"]};Ba.closingTagAncestorBreakers=a;var n=["!doctype","area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"];return Ba.voidTags=n,Ba}var N_;function K3(){if(N_)return Rr;N_=1,Object.defineProperty(Rr,"__esModule",{value:!0}),Rr.parse=o,Rr.parseDefaults=void 0,Rr.stringify=l;var e=i($3()),t=i(Q3()),a=V3(),n=G3(),r=X3();function i(c){return c&&c.__esModule?c:{default:c}}var s={voidTags:r.voidTags,closingTags:r.closingTags,childlessTags:r.childlessTags,closingTagAncestorBreakers:r.closingTagAncestorBreakers,includePositions:!1,preferDoubleQuoteAttributes:!1};Rr.parseDefaults=s;function o(c){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:s,d=(0,e.default)(c,f),u=(0,t.default)(d,f);return(0,a.format)(u,f)}function l(c){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:s;return(0,n.toHTML)(c,f)}return Rr}(function(e,t){(function(n,r){e.exports=r(A,K3())})(typeof self<"u"?self:Et,function(a,n){return function(r){var i={};function s(o){if(i[o])return i[o].exports;var l=i[o]={i:o,l:!1,exports:{}};return r[o].call(l.exports,l,l.exports,s),l.l=!0,l.exports}return s.m=r,s.c=i,s.d=function(o,l,c){s.o(o,l)||Object.defineProperty(o,l,{configurable:!1,enumerable:!0,get:c})},s.n=function(o){var l=o&&o.__esModule?function(){return o.default}:function(){return o};return s.d(l,"a",l),l},s.o=function(o,l){return Object.prototype.hasOwnProperty.call(o,l)},s.p="",s(s.s=0)}([function(r,i,s){Object.defineProperty(i,"__esModule",{value:!0});var o=Object.assign||function(g){for(var k=1;k<arguments.length;k++){var y=arguments[k];for(var b in y)Object.prototype.hasOwnProperty.call(y,b)&&(g[b]=y[b])}return g},l=function(){function g(k,y){for(var b=0;b<y.length;b++){var w=y[b];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(k,w.key,w)}}return function(k,y,b){return y&&g(k.prototype,y),b&&g(k,b),k}}(),c=s(1),f=_(c),d=s(2),u=s(3),p=_(u);function _(g){return g&&g.__esModule?g:{default:g}}function E(g,k){if(!(g instanceof k))throw new TypeError("Cannot call a class as a function")}var v=function(){function g(k){E(this,g),this.config=o({},g.defaultConfig,k),this.tagId=0,this.cache=[],this.generateDom=this.generateDom.bind(this),this.transform=this.transform.bind(this),this.getCache=this.getCache.bind(this),this.formatAttributes=this.formatAttributes.bind(this)}return l(g,[{key:"formatAttributes",value:function(y){var b=this,w={};return y.filter(function(h){var S=h.key;return b.config.ALLOWED_ATTRIBUTES.includes(S)}).forEach(function(h){var S=h.key,O=h.value;(0,p.default)(S),w[S]=O}),w}},{key:"generateDom",value:function(y){var b=y.type,w=b===void 0?"":b,h=y.children,S=h===void 0?[]:h,O=y.content,x=O===void 0?"":O,T=y.tagName,z=T===void 0?"":T,L=y.attributes,P=L===void 0?[]:L,U=this.config,j=U.ALLOWED_TAGS,B=U.KEY_NAME,q=S.length?S.map(this.generateDom):x;if(w==="element"&&j.includes(z)){(0,p.default)(z);var Y=o({},this.formatAttributes(P),{key:""+B+this.tagId++});return q?f.default.createElement(z,Y,q):f.default.createElement(z,Y)}return q}},{key:"getCache",value:function(y){return this.cache.find(function(b){return b.str===y})}},{key:"transform",value:function(y){var b=this.getCache(y);if(b)return b.dom;var w=(0,d.parse)(y).map(this.generateDom);return this.cache.push({str:y,dom:w}),w}}]),g}();v.defaultConfig={ALLOWED_TAGS:["strong","a"],ALLOWED_ATTRIBUTES:["href"],KEY_NAME:"ssih-tag-"},i.default=v},function(r,i){r.exports=a},function(r,i){r.exports=n},function(r,i,s){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(c){c in l.attributes&&console.warn(l.attributes[c].replace("%s","attribute "+c)),c in l.tags&&console.warn(l.tags[c].replace("%s","tag <"+c+" />"))};var o="Be careful with the use of %s, it presents a potential XSS risk",l=i.messages={attributes:{ontransitionend:o,ontransitioncancel:o,onblur:o,ondrag:o,ondrop:o},tags:{script:o,style:o}}}])})})(T_);var W3=T_.exports;const Z3=It(W3),J3=(e,t=[],a=[])=>e?new Z3({ALLOWED_TAGS:["em","strong","b","br","span",...t],ALLOWED_ATTRIBUTES:["class","className",...a]}).transform(e):"",lc=e=>{if(!e)return null;const t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left||t.x,right:t.top||t.y,top:t.top,width:t.width}},cc={addEventsToDocument(e){Object.keys(e).forEach(t=>{document.addEventListener(t,e[t],!1)})},removeEventsFromDocument(e){Object.keys(e).forEach(t=>{document.removeEventListener(t,e[t],!1)})},getMousePosition(e){return{x:e.pageX-(window.scrollX||window.pageXOffset),y:e.pageY-(window.scrollY||window.pageYOffset)}},getTouchPosition(e){return{x:e.touches[0].pageX-(window.scrollX||window.pageXOffset),y:e.touches[0].pageY-(window.scrollY||window.pageYOffset)}}};var eC=Object.defineProperty,tC=(e,t,a)=>t in e?eC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,Tt=(e,t,a)=>(tC(e,typeof t!="symbol"?t+"":t,a),a);class O_ extends A.Component{constructor(t){super(t),Tt(this,"node",null),Tt(this,"resizeTimeout"),Tt(this,"startCoords",{x:0,y:0}),Tt(this,"restraints",{minX:0,minY:0,maxX:0,maxY:0}),Tt(this,"getMouseEventMap",()=>({mousemove:this.handlePointerMove,mouseup:this.handlePointerUp})),Tt(this,"getElementToDrag",()=>this.props.elementToDrag||this.node.current),Tt(this,"setCSSStyles",()=>{document.body.style.userSelect="none",document.body.style.touchAction="none"}),Tt(this,"removeCSSStyles",()=>{document.body.style.userSelect="",document.body.style.touchAction=""}),Tt(this,"handlePointerDown",a=>{if(!this.props.canDrag(a))return;const{left:n,top:r}=lc(this.node.current),{width:i,height:s}=lc(this.getElementToDrag()),o=cc.getMousePosition(a);this.startCoords={x:o.x-n,y:o.y-r},this.restraints={minX:0,minY:0,maxX:innerWidth-i,maxY:innerHeight-s},cc.addEventsToDocument(this.getMouseEventMap()),this.setCSSStyles(),this.props.onPointerDown(a)}),Tt(this,"handlePointerUp",a=>{this.removeCSSStyles();const n=this.getElementToDrag();cc.removeEventsFromDocument(this.getMouseEventMap()),this.startCoords={x:Number.parseInt(n.style.left,10),y:Number.parseInt(n.style.top,10)},this.props.onPointerUp(a)}),Tt(this,"handlePointerMove",a=>{a.preventDefault();const n=this.getElementToDrag();if(!n)return;const{minY:r,minX:i,maxY:s,maxX:o}=this.restraints,l=cc.getMousePosition(a),c=l.x-this.startCoords.x,f=l.y-this.startCoords.y;n.style.top=`${Math.min(Math.max(f,r),s)}px`,n.style.left=`${Math.min(Math.max(c,i),o)}px`,this.props.onPointerMove(a)}),Tt(this,"handleTouchStart",a=>{this.props.canDrag(a)&&(a.preventDefault(),this.setCSSStyles())}),Tt(this,"handleTouchEnd",a=>{this.props.canDrag(a)&&(a.preventDefault(),this.removeCSSStyles())}),Tt(this,"handleTouchMove",a=>{if(!this.props.canDrag(a))return;a.stopPropagation(),a.preventDefault();const n=document.createEvent("MouseEvent");n.initMouseEvent("mousemove",!0,!0,window,a.detail,a.touches[0].screenX,a.touches[0].screenY,a.touches[0].clientX,a.touches[0].clientY,!1,!1,!1,!1,0,null),this.node.current.dispatchEvent(n)}),Tt(this,"handleWindowResize",()=>{const a=this.getElementToDrag();if(a&&window.innerWidth>800){const n=a.getBoundingClientRect(),r=window.innerWidth-n.width,i=window.innerHeight-n.height;this.restraints={minX:0,minY:0,maxX:r,maxY:i};let s=parseInt(a.style.left,10),o=parseInt(a.style.top,10);s>r&&(s=r,a.style.left=`${s}px`),o>i&&(o=i,a.style.top=`${o}px`)}}),Tt(this,"debouncedResizeHandler",()=>{clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(this.handleWindowResize,300)}),this.node=A.createRef()}componentDidMount(){window.addEventListener("resize",this.debouncedResizeHandler)}componentWillUnmount(){window.removeEventListener("resize",this.debouncedResizeHandler),clearTimeout(this.resizeTimeout)}render(){const{className:t,children:a,...n}=this.props;return A.createElement("div",{ref:this.node,className:t,...Ge(n),onPointerDown:this.handlePointerDown,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd},a)}}Tt(O_,"defaultProps",{canDrag:()=>!0,onPointerDown:()=>null,onPointerMove:()=>null,onPointerUp:()=>null});const wd=(e,t)=>{if(!e)return null;const a=E_("border",e);return ae("sg-with-border",t&&`sg-with-border--radius-${t}`,a.top&&`sg-with-border--border-top-${a.top}`,a.right&&`sg-with-border--border-right-${a.right}`,a.bottom&&`sg-with-border--border-bottom-${a.bottom}`,a.left&&`sg-with-border--border-left-${a.left}`)},re=({ref:e,...t})=>{const{className:a,gutter:n,gap:r,grow:i,align:s,alignSelf:o,direction:l,expand:c,justify:f,wrap:d,shrink:u,children:p,padding:_,border:E,borderRadius:v,...g}=t,k=ae("sg-flex",s&&`sg-flex--align-${s}`,o&&`sg-flex--align-self-${o}`,n&&`sg-flex--gutter-${n}`,r&&`sg-flex--gap-${r}`,l&&`sg-flex--direction-${l}`,c&&"sg-flex--expanded",f&&`sg-flex--justify-${f}`,d&&`sg-flex--flex-wrap-${d}`,u&&`sg-flex--shrink-${u}`,i&&`sg-flex--grow-${i}`,Ai(_),wd(E,v),a);return A.createElement("div",{className:k,ref:e,...Ge(g)},p)},aC="navigation",D_=()=>{window.dispatchEvent(new Event(aC))},Ws=(e,t)=>{const a=t&&t.triggerNavigationEvent!==void 0?t.triggerNavigationEvent:!0;if(e){if(a&&D_(),t!=null&&t.isDefaultPrevented){e.focus();return}try{e.focus({preventScroll:!0})}catch{console.warn("Invalid preventScroll option not supported"),e.focus()}}},nC=e=>{e.preventDefault(),e.stopPropagation(),D_()},rC=["A","BUTTON","INPUT","TEXTAREA"],iC=e=>{const t=e.getAttribute("disabled"),a=e.getAttribute("data-disabled");return t===""||t==="true"||a===""||a==="true"},Ed=e=>{const t=rC.includes(e.nodeName),a=e.getAttribute("tabindex")!==null;return(t||a)&&!iC(e)},sC={event:null,includeChildren:!1,isDirectionForward:!0,onComponentFiltering:()=>!0,onSuccessCallback:()=>!0},uc=e=>{const{event:t,includeChildren:a,startingElement:n=document.activeElement,isDirectionForward:r,onComponentFiltering:i,onSuccessCallback:s}={...sC,...e},o=r?1:-1,f=Array.from(document.body.querySelectorAll("*")).filter(p=>p===n?!0:p.getAttribute("data-component")&&Ed(p)&&i(p)).filter(p=>n===p||a?!0:n.contains(p)===!1),d=f.findIndex(p=>p===n),u=f[d+o];u&&(u.focus(),nC(t),s(u))},R_=e=>{const t=getComputedStyle(e);return!(t.display==="none"||t.visibility==="hidden")},L_={isDirectionForward:!0},Ci=(e,{isDirectionForward:t}=L_)=>{let a=null;if(!e)return a;let n=t?e.firstChild:e.lastChild;for(;n;){if(n.nodeType===1&&R_(n)){if(Ed(n))return n;if(a=Ci(n,{isDirectionForward:t}),a)return a}n=t?n.nextSibling:n.previousSibling}return a},I_=(e,{isDirectionForward:t}=L_)=>{let a=t?e==null?void 0:e.firstElementChild:e==null?void 0:e.lastElementChild;for(;a;){if(R_(a)){if(a.dataset.autofocus==="true"&&Ed(a))return a;const n=I_(a,{isDirectionForward:t});if(n)return n}a=t?a.nextElementSibling:a.previousElementSibling}return null},qt={UP:"ArrowUp",DOWN:"ArrowDown",LEFT:"ArrowLeft",RIGHT:"ArrowRight",ENTER:"Enter",TAB:"Tab",SPACE:" "},M_=e=>e.key===qt.TAB&&!e.shiftKey,P_=e=>e.key===qt.TAB&&e.shiftKey,{useEffect:oC,useRef:lC}=Jy,U_=({event:e,domRef:t,isDirectionForward:a})=>{const n=Ci(t,{isDirectionForward:!0}),r=Ci(t,{isDirectionForward:!1}),[i,s]=a?[n,r]:[r,n];s===document.activeElement&&(e.preventDefault(),e.stopPropagation(),Ws(i))},cC=({event:e,domRef:t})=>{const a=Ci(t,{isDirectionForward:!0}),n=Ci(t,{isDirectionForward:!1});switch(e.key){case qt.RIGHT:case qt.DOWN:return e.target===n?(e.preventDefault(),Ws(a,{isDefaultPrevented:!0})):uc({event:e});case qt.LEFT:case qt.UP:return e.target===a?(e.preventDefault(),Ws(n,{isDefaultPrevented:!0})):uc({event:e,isDirectionForward:!1})}},uC=({event:e,domRef:t,handleOnKeyDown:a,hasTabHandling:n,hasArrowHandling:r})=>{if(M_(e)&&n)return U_({event:e,domRef:t,isDirectionForward:!0});if(P_(e)&&n)return U_({event:e,domRef:t,isDirectionForward:!1});if(r)return cC({event:e,domRef:t});a&&a(e)},Td=e=>{const{autoFocus:t=!0,children:a,className:n,handleOnKeyDown:r,tabIndex:i,hasTabHandling:s=!0,hasArrowHandling:o=!1,...l}=e,c=lC(null);return oC(()=>{if(!t)return;const f=I_(c.current);if(f)Ws(f,{triggerNavigationEvent:!1});else{const d=Ci(c.current);Ws(d,{triggerNavigationEvent:!1})}},[t]),A.createElement("div",{ref:c,className:n,tabIndex:i,onKeyDown:f=>uC({event:f,domRef:c.current,handleOnKeyDown:r,hasTabHandling:s,hasArrowHandling:o}),...Ge(l)},a)};Td.displayName="FocusScope";const fc=[],fC={addElementToFocusQ:e=>{fc.push(e)},removeSelfFromFocusQ:e=>{var t;const a=fc.findIndex(i=>i===e),n=fc.splice(a,1),r=(t=e.dataset)==null?void 0:t.focusLevelId;r&&fc.find(i=>{var s;return((s=i.dataset)==null?void 0:s.focusLevelId)===r})||n[0].focus()}},dC=A.createContext(fC),{useEffect:hC}=Jy,vd=()=>{const{addElementToFocusQ:e,removeSelfFromFocusQ:t}=A.useContext(dC);return hC(()=>{const a=document.activeElement;return e(a),()=>{t(a)}},[e,t]),null};vd.displayName="HandleModalFocus";const pC=["flex-start","center","flex-end","space-between","space-around"],mC=()=>pC;function B_(){const e=A.useContext(jt);if(!e)throw new Error("useLogger must be used within a ContextProvider");const{logLevel:t}=e,a=(n,r)=>(...i)=>{t<=n&&console[r]("StyleGuide Log: ",...i)};return{trace:a(gt.TRACE,"trace"),debug:a(gt.DEBUG,"debug"),info:a(gt.INFO,"info"),warn:a(gt.WARN,"warn"),error:a(gt.ERROR,"error"),deprecation:a(gt.DEPRECATION,"warn"),assert:a(gt.DEBUG,"assert"),clear:a(gt.SILENT,"clear"),count:a(gt.DEBUG,"count"),countReset:a(gt.DEBUG,"countReset"),dir:a(gt.DEBUG,"dir"),dirxml:a(gt.DEBUG,"dirxml"),group:a(gt.DEBUG,"group"),groupCollapsed:a(gt.DEBUG,"groupCollapsed"),groupEnd:a(gt.DEBUG,"groupEnd"),log:a(gt.INFO,"log"),profile:a(gt.DEBUG,"profile")}}const dc=({ref:e,...t})=>{const{border:a,borderRadius:n,children:r,className:i,align:s,alignSelf:o="stretch",justify:l,justifyItems:c,autoflow:f="row",xs:d,sm:u,m:p,lg:_,gap:E="medium",autoFit:v,padding:g,...k}=t,y=B_(),b=ae("sg-grid",`sg-grid--gap-${E}`,o&&`sg-grid--align-self-${o}`,f&&`sg-grid--autoflow-${f}`,d&&`sg-grid--xs-${d}`,u&&`sg-grid--sm-${u}`,p&&`sg-grid--m-${p}`,_&&`sg-grid--lg-${_}`,v&&"sg-grid--auto-fit",s&&`sg-grid--align-${s}`,l&&`sg-grid--justify-${l}`,Ai(g),c&&`sg-grid--justify-items-${c}`,wd(a,n),!!window.MSInputMethodContext&&!!document.documentMode&&"sg-grid--ie11",i);return mC().includes(c)&&y.deprecation("@deprecated - property justifyItems will stop accepting Justify type from v4.0.0. Use JustifyItems type instead."),A.createElement("div",{ref:e,className:b,...Ge(k)},r)},gC={behavior:"smooth",block:"end",inline:"nearest"},yC=(e,t={})=>{e&&e.scrollIntoView({...gC,...t})};function _C(e,t){const a=localStorage.getItem(t),n=JSON.stringify(e),r=a?JSON.parse(a):{};if(a===null){localStorage.setItem(t,n);return}for(const i in e)r[i]<e[i]&&localStorage.removeItem(i);a!==n&&localStorage.setItem(t,n)}const bC=18,kC=12,wC="sg-keyboard",F_="material/",EC=()=>document.querySelector("body").classList.contains(wC);let H_=0;const Sd=(e="sg")=>(H_++,`${e}${H_}`),hc=({target:e,property:t,value:a})=>{try{e.style[t]=a}catch{e.setAttribute(t,a),e.setAttribute("style",`${e.getAttribute("style")};${t}:${a}`)}};var j_={exports:{}},Yt={};/**
 * @license React
 * react-dom.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var TC=A;function q_(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function Qn(){}var $t={d:{f:Qn,r:function(){throw Error(q_(522))},D:Qn,C:Qn,L:Qn,m:Qn,X:Qn,S:Qn,M:Qn},p:0,findDOMNode:null},vC=Symbol.for("react.portal");function SC(e,t,a){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:vC,key:n==null?null:""+n,children:e,containerInfo:t,implementation:a}}var Zs=TC.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function pc(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}Yt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=$t,Yt.createPortal=function(e,t){var a=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(q_(299));return SC(e,t,null,a)},Yt.flushSync=function(e){var t=Zs.T,a=$t.p;try{if(Zs.T=null,$t.p=2,e)return e()}finally{Zs.T=t,$t.p=a,$t.d.f()}},Yt.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,$t.d.C(e,t))},Yt.prefetchDNS=function(e){typeof e=="string"&&$t.d.D(e)},Yt.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var a=t.as,n=pc(a,t.crossOrigin),r=typeof t.integrity=="string"?t.integrity:void 0,i=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;a==="style"?$t.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:n,integrity:r,fetchPriority:i}):a==="script"&&$t.d.X(e,{crossOrigin:n,integrity:r,fetchPriority:i,nonce:typeof t.nonce=="string"?t.nonce:void 0})}},Yt.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var a=pc(t.as,t.crossOrigin);$t.d.M(e,{crossOrigin:a,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0})}}else t==null&&$t.d.M(e)},Yt.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var a=t.as,n=pc(a,t.crossOrigin);$t.d.L(e,a,{crossOrigin:n,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,type:typeof t.type=="string"?t.type:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy=="string"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet=="string"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes=="string"?t.imageSizes:void 0,media:typeof t.media=="string"?t.media:void 0})}},Yt.preloadModule=function(e,t){if(typeof e=="string")if(t){var a=pc(t.as,t.crossOrigin);$t.d.m(e,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:a,integrity:typeof t.integrity=="string"?t.integrity:void 0})}else $t.d.m(e)},Yt.requestFormReset=function(e){$t.d.r(e)},Yt.unstable_batchedUpdates=function(e,t){return e(t)},Yt.useFormState=function(e,t,a){return Zs.H.useFormState(e,t,a)},Yt.useFormStatus=function(){return Zs.H.useHostTransitionStatus()},Yt.version="19.2.6";function Y_(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Y_)}catch(e){console.error(e)}}Y_(),j_.exports=Yt;var $_=j_.exports;const Js=It($_),AC={theme:null,setTheme:()=>null,easyRead:null,setEasyRead:()=>null},Q_=A.createContext(AC),V_=({children:e,theme:t,easyRead:a,className:n})=>{const[r,i]=A.useState(t||"light"),[s,o]=A.useState(a),{config:l}=A.useContext(jt),c=ae("sg-theme",r&&`sg-theme-${r}`,s&&"sg-easy-read",n);return pe.useEffect(()=>{s&&new window.FontFace("OpenDyslexia Regular",`url(${l.fontsAssetsPath}/OpenDyslexic-Regular.otf)`).load().then(d=>{document.fonts.add(d)}).catch(d=>{console.error(d)})},[s,l.fontsAssetsPath]),pe.createElement(Q_.Provider,{value:{theme:r,setTheme:i,easyRead:s,setEasyRead:o}},pe.createElement("div",{className:c,"data-component":"theme-provider"},e))},CC=()=>{const e=A.useContext(Q_);if(!e)throw new Error("useTheme must be used within a ThemeProvider");return e},G_=({element:e=document.body,"data-e2e":t="sg-portal-bootstrap","data-component":a="sg-portal-bootstrap",children:n})=>{const{theme:r,easyRead:i}=CC(),{bootstrapProps:s={}}=A.useContext(jt);return Js.createPortal(A.createElement(q3,{"data-e2e":t,"data-component":a,context:{bootstrapProps:{className:s==null?void 0:s.className}}},r?A.createElement(V_,{theme:r,easyRead:i},n):n),e)};var xC=Object.defineProperty,zC=(e,t,a)=>t in e?xC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,X_=(e,t,a)=>(zC(e,typeof t!="symbol"?t+"":t,a),a);const K_=10;class W_ extends A.PureComponent{constructor(t){super(t),X_(this,"node",null),this.node=A.createRef()}componentDidMount(){this.setPosition()}setPosition(){const{target:t}=this.props,a=lc(t),n=a.left+a.width/2,r=a.top+a.height/2,i=window.innerWidth/2,s=this.node.current.offsetWidth/2,o=window.innerHeight-r>a.height/2+this.node.current.offsetHeight+5;if(n<i){const l=a.left+a.width/2-s,c=l>0?l:0;hc({target:this.node.current,property:"left",value:`${c}px`})}else{const l=a.left+a.width/2+s,c=window.innerWidth-l>0?window.innerWidth-l:0;hc({target:this.node.current,property:"right",value:`${c}px`})}if(o){const l=a.height+a.top+window.pageYOffset+K_;hc({target:this.node.current,property:"top",value:`${l}px`})}else{const l=window.innerHeight-r+a.height/2+K_;hc({target:this.node.current,property:"bottom",value:`${l}px`})}}render(){const{className:t,children:a,tooltipSize:n,background:r,density:i,tooltipId:s,...o}=this.props,l=ae("sg-tooltip",n&&`sg-tooltip--size-${n}`,r&&`sg-tooltip--background-${r}`,i&&`sg-tooltip--density-${i}`,t);return A.createElement(G_,null,A.createElement("div",{ref:this.node,className:l,role:"tooltip","aria-hidden":"false",id:s,...o},a))}}X_(W_,"defaultProps",{"data-e2e":"tooltip",background:"black",density:"cozy"});var NC=Object.defineProperty,OC=(e,t,a)=>t in e?NC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,Z_=(e,t,a)=>(OC(e,typeof t!="symbol"?t+"":t,a),a);class mc{constructor(){Z_(this,"level",null),Z_(this,"messages",null),this.level="warn",this.messages=[]}log(...t){this.messages.find(n=>JSON.stringify(n)===JSON.stringify(t[0]))||(window.console&&console.warn.apply(console,t.map(n=>`%c${n}`).concat("color: red; font-size: small")),this.messages=this.messages.concat(t))}}var DC=Object.defineProperty,RC=(e,t,a)=>t in e?DC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,gn=(e,t,a)=>(RC(e,typeof t!="symbol"?t+"":t,a),a);const LC=new mc,Ad=(e,t={})=>{class a extends A.Component{constructor(){super(...arguments),gn(this,"state",{target:null,isTooltipVisible:!1}),gn(this,"timeoutId",null),gn(this,"handleFocus",r=>{this.props.onFocus&&this.props.onFocus(r),EC()&&this.handleMouseEnter(r)}),gn(this,"handleMouseEnter",r=>{clearTimeout(this.timeoutId);const i=r.currentTarget.nodeName==="svg"?r.currentTarget.parentElement:r.currentTarget;t.delay?this.timeoutId=setTimeout(()=>this.showTooltip(i),t.delay):this.showTooltip(i),this.props.onMouseEnter&&this.props.onMouseEnter(r)}),gn(this,"showTooltip",r=>{this.setState({target:r,isTooltipVisible:!0},()=>{this.isMobileSafari&&(document.removeEventListener("touchend",this.handleTouchEndOnMobileSafari),document.addEventListener("touchend",this.handleTouchEndOnMobileSafari))})}),gn(this,"hideTooltip",()=>{clearTimeout(this.timeoutId),this.setState({isTooltipVisible:!1}),this.isMobileSafari&&document.removeEventListener("touchend",this.handleTouchEndOnMobileSafari),this.props.onBlur&&this.props.onBlur()}),gn(this,"handleTouchEndOnMobileSafari",r=>{const{isTooltipVisible:i,target:s}=this.state;s===r.target||s.contains(r.target)||r.target.className&&r.target.className.indexOf("sg-tooltip")>=0||i&&(s!==document.activeElement&&s.focus(),s.blur())})}get isMobileSafari(){const{device:r}=this.context;return r.isDevicePhone&&r.browser.name==="safari"}componentWillUnmount(){this.isMobileSafari&&document.removeEventListener("touchend",this.handleTouchEndOnMobileSafari)}render(){const{tooltip:r=t.tooltip,tooltipSize:i,forwardRef:s,background:o,density:l,...c}=this.props,{target:f,isTooltipVisible:d}=this.state,{device:u}=this.context,p=t.preventTooltipOnMobile;let _=!!(d&&r);["density","background","tooltipSize"].filter(v=>!!this.props[v]).forEach(v=>{LC.log(`The "${v}" prop of withTooltip is deprecated and scheduled for removal in future versions.`)}),p&&(_=u.isDevicePhone||u.isDeviceTablet?!1:_);const E=Sd();return A.createElement(A.Fragment,null,A.createElement(e,{...c,ref:s,device:u,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.hideTooltip,onFocus:this.handleFocus,onBlur:this.hideTooltip,"aria-describedby":E}),_&&A.createElement(W_,{target:f,tooltipId:E,tooltipSize:i,background:o,density:l},r))}}return gn(a,"contextType",jt),gn(a,"defaultProps",{}),({ref:n,...r})=>A.createElement(a,{...r,forwardRef:n})};function gc(...e){return t=>e.reduceRight((a,n)=>n(a),t)}var IC=Object.defineProperty,MC=(e,t,a)=>t in e?IC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,xi=(e,t,a)=>(MC(e,typeof t!="symbol"?t+"":t,a),a);const Gt={exceptionIcons:{empty:" ",fallback:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><circle class="st0" cx="16" cy="16" r="5.75"/></svg>',e2e:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><circle class="st0" cx="16" cy="16" r="5.75"></circle></svg>',"material/arrow_drop_up":'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960"><path d="m280-400 200-200 200 200H280Z"/></svg>',"material/arrow_drop_down":'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960"><path d="M480-360 280-560h400L480-360Z"/></svg>',radio_button_checked:`
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
      <path d="M12 22C10.6167 22 9.31667 21.7375 8.1 21.2125C6.88333 20.6875 5.825 19.975 4.925 19.075C4.025 18.175 3.3125 17.1167 2.7875 15.9C2.2625 14.6833 2 13.3833 2 12C2 10.6167 2.2625 9.31667 2.7875 8.1C3.3125 6.88333 4.025 5.825 4.925 4.925C5.825 4.025 6.88333 3.3125 8.1 2.7875C9.31667 2.2625 10.6167 2 12 2C13.3833 2 14.6833 2.2625 15.9 2.7875C17.1167 3.3125 18.175 4.025 19.075 4.925C19.975 5.825 20.6875 6.88333 21.2125 8.1C21.7375 9.31667 22 10.6167 22 12C22 13.3833 21.7375 14.6833 21.2125 15.9C20.6875 17.1167 19.975 18.175 19.075 19.075C18.175 19.975 17.1167 20.6875 15.9 21.2125C14.6833 21.7375 13.3833 22 12 22Z" fill="var(--color-background-secondary)"></path>
      <path class="main-path" d="M12 17C13.3833 17 14.5625 16.5125 15.5375 15.5375C16.5125 14.5625 17 13.3833 17 12C17 10.6167 16.5125 9.4375 15.5375 8.4625C14.5625 7.4875 13.3833 7 12 7C10.6167 7 9.4375 7.4875 8.4625 8.4625C7.4875 9.4375 7 10.6167 7 12C7 13.3833 7.4875 14.5625 8.4625 15.5375C9.4375 16.5125 10.6167 17 12 17ZM12 22C10.6167 22 9.31667 21.7375 8.1 21.2125C6.88333 20.6875 5.825 19.975 4.925 19.075C4.025 18.175 3.3125 17.1167 2.7875 15.9C2.2625 14.6833 2 13.3833 2 12C2 10.6167 2.2625 9.31667 2.7875 8.1C3.3125 6.88333 4.025 5.825 4.925 4.925C5.825 4.025 6.88333 3.3125 8.1 2.7875C9.31667 2.2625 10.6167 2 12 2C13.3833 2 14.6833 2.2625 15.9 2.7875C17.1167 3.3125 18.175 4.025 19.075 4.925C19.975 5.825 20.6875 6.88333 21.2125 8.1C21.7375 9.31667 22 10.6167 22 12C22 13.3833 21.7375 14.6833 21.2125 15.9C20.6875 17.1167 19.975 18.175 19.075 19.075C18.175 19.975 17.1167 20.6875 15.9 21.2125C14.6833 21.7375 13.3833 22 12 22ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20Z" fill="var(--color-primary-main)"></path>
    </svg>`,radio_button_unchecked:`
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
      <path d="M12 22C10.6167 22 9.31667 21.7375 8.1 21.2125C6.88333 20.6875 5.825 19.975 4.925 19.075C4.025 18.175 3.3125 17.1167 2.7875 15.9C2.2625 14.6833 2 13.3833 2 12C2 10.6167 2.2625 9.31667 2.7875 8.1C3.3125 6.88333 4.025 5.825 4.925 4.925C5.825 4.025 6.88333 3.3125 8.1 2.7875C9.31667 2.2625 10.6167 2 12 2C13.3833 2 14.6833 2.2625 15.9 2.7875C17.1167 3.3125 18.175 4.025 19.075 4.925C19.975 5.825 20.6875 6.88333 21.2125 8.1C21.7375 9.31667 22 10.6167 22 12C22 13.3833 21.7375 14.6833 21.2125 15.9C20.6875 17.1167 19.975 18.175 19.075 19.075C18.175 19.975 17.1167 20.6875 15.9 21.2125C14.6833 21.7375 13.3833 22 12 22Z" fill="var(--color-background-secondary)"></path>
      <path class="main-path" d="M12 22C10.6167 22 9.31667 21.7375 8.1 21.2125C6.88333 20.6875 5.825 19.975 4.925 19.075C4.025 18.175 3.3125 17.1167 2.7875 15.9C2.2625 14.6833 2 13.3833 2 12C2 10.6167 2.2625 9.31667 2.7875 8.1C3.3125 6.88333 4.025 5.825 4.925 4.925C5.825 4.025 6.88333 3.3125 8.1 2.7875C9.31667 2.2625 10.6167 2 12 2C13.3833 2 14.6833 2.2625 15.9 2.7875C17.1167 3.3125 18.175 4.025 19.075 4.925C19.975 5.825 20.6875 6.88333 21.2125 8.1C21.7375 9.31667 22 10.6167 22 12C22 13.3833 21.7375 14.6833 21.2125 15.9C20.6875 17.1167 19.975 18.175 19.075 19.075C18.175 19.975 17.1167 20.6875 15.9 21.2125C14.6833 21.7375 13.3833 22 12 22ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20Z" fill="var(--color-typography-secondary)"></path>
    </svg>`,check_box_filled:`
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
      <path d="M5 21C4.45 21 3.97917 20.8042 3.5875 20.4125C3.19583 20.0208 3 19.55 3 19V5C3 4.45 3.19583 3.97917 3.5875 3.5875C3.97917 3.19583 4.45 3 5 3H19C19.55 3 20.0208 3.19583 20.4125 3.5875C20.8042 3.97917 21 4.45 21 5V19C21 19.55 20.8042 20.0208 20.4125 20.4125C20.0208 20.8042 19.55 21 19 21H5Z" fill="var(--color-background-secondary)"></path>
      <path class="main-path" d="M10.6 16.2L17.65 9.15L16.25 7.75L10.6 13.4L7.75 10.55L6.35 11.95L10.6 16.2ZM5 21C4.45 21 3.97917 20.8042 3.5875 20.4125C3.19583 20.0208 3 19.55 3 19V5C3 4.45 3.19583 3.97917 3.5875 3.5875C3.97917 3.19583 4.45 3 5 3H19C19.55 3 20.0208 3.19583 20.4125 3.5875C20.8042 3.97917 21 4.45 21 5V19C21 19.55 20.8042 20.0208 20.4125 20.4125C20.0208 20.8042 19.55 21 19 21H5Z" fill="var(--color-primary-main)"></path>
    </svg>`,check_box_outline_blank:`
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
      <path d="M5 21C4.45 21 3.97917 20.8042 3.5875 20.4125C3.19583 20.0208 3 19.55 3 19V5C3 4.45 3.19583 3.97917 3.5875 3.5875C3.97917 3.19583 4.45 3 5 3H19C19.55 3 20.0208 3.19583 20.4125 3.5875C20.8042 3.97917 21 4.45 21 5V19C21 19.55 20.8042 20.0208 20.4125 20.4125C20.0208 20.8042 19.55 21 19 21H5Z" fill="var(--color-background-secondary)"></path>
      <path class="main-path" d="M5 21C4.45 21 3.97917 20.8042 3.5875 20.4125C3.19583 20.0208 3 19.55 3 19V5C3 4.45 3.19583 3.97917 3.5875 3.5875C3.97917 3.19583 4.45 3 5 3H19C19.55 3 20.0208 3.19583 20.4125 3.5875C20.8042 3.97917 21 4.45 21 5V19C21 19.55 20.8042 20.0208 20.4125 20.4125C20.0208 20.8042 19.55 21 19 21H5ZM5 19H19V5H5V19Z" fill="var(--color-typography-secondary)"></path>
    </svg>`,check_box_indeterminate_filled:`
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
      <path d="M5 21C4.45 21 3.97917 20.8042 3.5875 20.4125C3.19583 20.0208 3 19.55 3 19V5C3 4.45 3.19583 3.97917 3.5875 3.5875C3.97917 3.19583 4.45 3 5 3H19C19.55 3 20.0208 3.19583 20.4125 3.5875C20.8042 3.97917 21 4.45 21 5V19C21 19.55 20.8042 20.0208 20.4125 20.4125C20.0208 20.8042 19.55 21 19 21H5Z" fill="var(--color-background-secondary)"></path>
      <path class="main-path" d="M5 21C4.45 21 3.97917 20.8042 3.5875 20.4125C3.19583 20.0208 3 19.55 3 19V5C3 4.45 3.19583 3.97917 3.5875 3.5875C3.97917 3.19583 4.45 3 5 3H19C19.55 3 20.0208 3.19583 20.4125 3.5875C20.8042 3.97917 21 4.45 21 5V19C21 19.55 20.8042 20.0208 20.4125 20.4125C20.0208 20.8042 19.55 21 19 21H5ZM5 19H19V5H5V19Z" fill="var(--color-primary-main)"></path>
      <path class="main-path" d="M7 7H17V17H7V7Z" fill="var(--color-primary-main)"></path>
    </svg>`},syncCache:{},getIconCached:e=>Gt.syncCache[e]?Gt.syncCache[e]:"",getIcon:(e,t)=>Gt.exceptionIcons[e]!==void 0?new Promise(a=>a(Gt.exceptionIcons[e])):(Gt[e]||(Gt[e]=fetch(t).then(a=>a.ok?a.text():Gt.exceptionIcons.fallback).then(a=>{const n=a.toLowerCase().includes("!doctype")?null:a;return Gt.syncCache[e]=n,n}).catch(a=>(console.error(a),Gt.exceptionIcons.fallback))),Gt[e])},PC=pe.memo(({html:e})=>pe.createElement("span",{style:{display:"contents"},dangerouslySetInnerHTML:{__html:e}}));class Cd extends pe.Component{constructor(t){super(t),xi(this,"state",{svg:""}),xi(this,"mounted",!1),xi(this,"getSVG",()=>{const{width:a,height:n,size:r}=this.props;let i=this.state.svg||"";return!a&&!n&&!r?this.state.svg:((n||r)&&(i=i.replace('xmlns="http://www.w3.org/2000/svg"',`xmlns="http://www.w3.org/2000/svg" height="${n||r}" `)),(a||r)&&(i=i.replace('xmlns="http://www.w3.org/2000/svg"',`xmlns="http://www.w3.org/2000/svg" width="${a||r}" `)),i)}),xi(this,"getIconPath",a=>{const{config:n}=this.context;return`${this.props.path||n.svgAssetsPath}/${a}.svg`}),this.state={svg:Gt.getIconCached(t.name)||""}}componentDidMount(){this.mounted=!0,this.fetch(this.props.name),this.props.prefetch&&this.props.prefetch.forEach(t=>this.prefetch(t))}componentDidUpdate(t){this.props.name!==t.name&&this.fetch(this.props.name)}componentWillUnmount(){this.mounted=!1}prefetch(t){Gt.getIcon(t,this.getIconPath(t))}fetch(t){Gt.getIcon(t,this.getIconPath(t)).then(a=>{this.mounted&&this.setState({svg:a})})}render(){const{name:t="",multicolor:a,fill:n,className:r,tabIndex:i,forwardRef:s,color:o,role:l,"data-tooltip":c,"data-e2e":f,"data-component":d,"aria-label":u,...p}=this.props,{width:_,height:E,size:v,style:g,onClick:k,onKeyDown:y,...b}=this.props,h={...{width:`${_||v}px`,height:`${E||v}px`},...g},S=!a,O=S&&/presentational|product/.test(t),x=c&&0,T=ae("sg-icon",k&&"sg-icon--interactive",n&&`sg-icon--fill-${n}`,S&&"sg-icon--use-css-colors",S&&o&&`sg-icon--color-${o}`,O&&"sg-icon--use-fill-colors",r);return pe.createElement("span",{className:T,...Ge(p),ref:s,"data-tooltip":c,style:h,onClick:k,tabIndex:i!==void 0?i:x,"data-e2e":f,"data-component":d,"data-icon":t,role:l,"aria-label":u,onKeyDown:z=>{switch(z.key){case qt.SPACE:case qt.ENTER:z.preventDefault(),z.stopPropagation(),z.target.click();break}y&&y(z)}},pe.createElement(PC,{html:this.getSVG()}))}}xi(Cd,"contextType",jt),xi(Cd,"defaultProps",{fill:"lighter","data-e2e":"icon","data-component":"icon",role:"img"});const J_=gc(Ad)(({ref:e,...t})=>pe.createElement(Cd,{...t,forwardRef:e}));J_.displayName="Icon";const qe=({ref:e,...t})=>pe.createElement(J_,{ref:e,...t}),yc=e=>{if(!e)return null;const{align:t,italic:a,transform:n,truncate:r,weight:i,wordBreak:s,lineClamp:o}=e;return ae("sg-typography",r&&"sg-typography--truncate",a&&"sg-typography--italic",t&&`sg-typography--align-${t}`,n&&`sg-typography--transform-${n}`,i&&`sg-typography--weight-${i}`,s&&`sg-typography--break-${s}`,o&&`sg-typography--line-clamp sg-typography--line-clamp-${o}`)},e0=e=>{const t=A.useRef(null),{decoration:a,disabled:n,className:r,onClick:i,onKeyDown:s,children:o,target:l,color:c,title:f,breadcrumb:d,tabIndex:u=0,"data-e2e":p="link","data-component":_="link",role:E="link",wordBreak:v="all",...g}=e,k=ae("sg-link",a&&`sg-link--decoration-${a}`,n&&"sg-link--disabled",d&&"sg-link--breadcrumb",yc({...g,wordBreak:v}),c&&`sg-link--color-${c}`,r);return A.createElement("a",{ref:t,className:k,"data-e2e":p,"data-component":_,tabIndex:u,role:E,...Ge(g),target:l,onClick:n?null:i,onKeyDown:y=>{n||(y.key===qt.ENTER&&(y.preventDefault(),y.stopPropagation(),t.current&&t.current.click()),s&&s(y))},title:f},o)},xd=({className:e,size:t="expanded",tag:a="div","data-e2e":n="spacer",...r})=>{const i=ae("sg-spacer",`sg-spacer--size-${t}`,e);return A.createElement(a,{className:i,"aria-hidden":"true","data-e2e":n,...Ge(r)})},ye=e=>{const{children:t,className:a,size:n="medium",tag:r="p",color:i="dark",padding:s,weight:o="regular","data-e2e":l="text",...c}=e,f=ae("sg-text",`sg-text--size-${n}`,i&&`sg-text--color-${i}`,Ai(s),yc({...c,weight:o}),a);return A.createElement(r,{className:f,"data-e2e":l,...Ge(c)},t)};ye.displayName="Text";const dt=e=>{const{children:t,className:a,level:n="1",type:r,color:i="dark",tag:s,weight:o="bold","data-e2e":l="title",...c}=e,f=ae("sg-title",`sg-title--level-${n}`,r&&`sg-title--type-${r}`,i&&`sg-title--color-${i}`,yc({...c,weight:o}),a);return A.createElement(s||`h${n}`,{className:f,"data-component":"title","data-e2e":l,role:"heading",...Ge(c)},typeof t=="string"?J3(t):t)};dt.displayName="Title";const UC=({ref:e,...t})=>{const{align:a="baseline",background:n="transparent",density:r="cozy",justify:i,className:s,direction:o="row","data-e2e":l="toolbar",...c}=t,f=ae("sg-toolbar",`sg-toolbar--background-${n}`,`sg-toolbar--density-${r}`,a&&`sg-toolbar--align-${a}`,i&&`sg-toolbar--justify-${i}`,o&&`sg-toolbar--direction-${o}`,s);return A.createElement("div",{ref:e,className:f,"data-e2e":l,...Ge(c)},t.children)},BC=({header:e,body:t,footer:a,className:n,headerClassname:r,bodyClassname:i,footerClassname:s,showHeaderDivider:o,showFooterDivider:l,"data-component":c="panel","data-e2e":f="panel",...d})=>pe.createElement(re,{className:ae("sg-panel",n),direction:"column",wrap:"nowrap",grow:"1","data-component":c,"data-e2e":f,...d},e&&pe.createElement("div",{className:ae("sg-panel__header",r,o&&"sg-panel__header--with-divider"),"data-e2e":`${f}-header`},e),t&&pe.createElement("div",{className:ae("sg-panel__body",i),"data-e2e":`${f}-body`},t),a&&pe.createElement("div",{className:ae("sg-panel__footer",s,l&&"sg-panel__footer--with-divider"),"data-e2e":`${f}-footer`},a));var FC=Object.defineProperty,HC=(e,t,a)=>t in e?FC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,eo=(e,t,a)=>(HC(e,typeof t!="symbol"?t+"":t,a),a);const t0={OPEN:"open",CLOSE:"close"};class a0 extends A.Component{constructor(){super(...arguments),eo(this,"mouseDownTarget"),eo(this,"state",{animation:""}),eo(this,"mouseDownHandler",t=>{this.mouseDownTarget=t.target}),eo(this,"clickHandler",t=>{t.stopPropagation(),t.currentTarget===t.target&&this.mouseDownTarget===t.currentTarget&&this.closeHandler()})}componentDidMount(){this.setState({animation:t0.OPEN}),this.disablePageScroll()}componentDidUpdate(t){t.triggerClose!==this.props.triggerClose&&this.closeHandler()}componentWillUnmount(){this.enablePageScroll()}disablePageScroll(){const t=document.querySelector(".sg-page");t&&(t.setAttribute("aria-hidden","true"),f_()&&t.classList.add("from-dialog--prevent-scroll"))}enablePageScroll(){const t=document.querySelector(".sg-page");t&&(t.removeAttribute("aria-hidden"),f_()&&t.classList.remove("from-dialog--prevent-scroll"))}keypressHandler(t){t.keyCode===27&&(t.stopPropagation(),this.closeHandler())}closeHandler(){const{disableClose:t,onCloseHandler:a,triggerClose:n}=this.props;t&&!n||(a?this.setState({animation:t0.CLOSE},()=>{setTimeout(()=>a(),300)}):console.warn("Dialog component must have onCloseHandler property to work correctly"))}render(){const{autoFocus:t,children:a,wrapperClassName:n,className:r,renderCustomHeader:i,padding:s,...o}=this.props,{animation:l}=this.state,c=ae("sg-dialog-wrapper",n,l&&`sg-dialog-wrapper--animation-${l}`,Ai(s));return A.createElement(G_,null,A.createElement("div",{className:c,onKeyDown:this.keypressHandler.bind(this),onMouseDown:this.mouseDownHandler,onClick:this.clickHandler,ref:this.props.forwardedRef,"data-component":"dialog-wrapper","data-e2e":"dialog-wrapper",tabIndex:0},A.createElement(vd,null),A.createElement(Td,{className:r,autoFocus:t,...Ge(o),"data-e2e":this.props["data-e2e"]},i&&i(),a)))}}eo(a0,"defaultProps",{padding:"medium","data-e2e":"dialog-wrapper"});const jC=({ref:e,...t})=>A.createElement(a0,{...t,forwardedRef:e});function zd(e){return e}function qC(e){const{offsetWidth:t,offsetHeight:a}=e;return t>=a?t:a}function YC(e,t,a){const n=lc(t),r=e.clientX-n.left-a/2,i=e.clientY-n.top-a/2;return{x:r,y:i}}function $C(e){const{ref:t,children:a,className:n,disabled:r,onMouseDown:i=zd,onAnimationEnd:s=zd,onTransitionEnd:o=zd,tag:l="div",shape:c="default",...f}=e,d=t||A.createRef(),u=A.createRef(),p=E=>{if(!d.current||!u.current||r)return null;u.current.style.left="0px",u.current.style.top="0px",u.current.style.width="0px",u.current.style.height="0px";const v=qC(d.current),g=YC(E,d.current,v);return u.current.style.left=`${g.x}px`,u.current.style.top=`${g.y}px`,u.current.style.width=`${v}px`,u.current.style.height=`${v}px`,u.current.classList.add("sg-ripple","sg-ripple__animation"),E},_=E=>(u.current.classList.remove("sg-ripple__animation"),E);return A.createElement(l,{className:ae("sg-ripple-container",`sg-ripple-container--shape-${c}`,n),onAnimationEnd:gc(_,s),onMouseDown:gc(p,i),onTransitionEnd:gc(_,o),ref:d,...f},A.createElement(A.Fragment,null,a,A.createElement("span",{ref:u})))}const n0=$C;n0.displayName="Ripple";const QC=({event:e,disabled:t,onKeyDown:a})=>{switch(M_(e)&&uc({event:e}),P_(e)&&uc({event:e,isDirectionForward:!1}),e.key){case qt.SPACE:case qt.ENTER:return t?void 0:(e.preventDefault(),e.stopPropagation(),e.target.click());default:typeof a=="function"&&a(e);return}},Nd=Ad(({ref:e,...t})=>{const{action:a,tag:n,children:r,color:i,type:s,disabled:o,className:l,onKeyDown:c,onClick:f,tabIndex:d,isActive:u,...p}=t,_=ae("sg-button-base",i&&`sg-button-base--color-${i}`,s&&`sg-button-base--type-${s}`,u&&"sg-button-base--active",o&&"sg-button-base--disabled",l);return A.createElement(n,{type:a,ref:e,tag:n,className:_,tabIndex:d,role:"button",...Ge(p),onKeyDown:E=>QC({event:E,disabled:o,onKeyDown:c}),disabled:o,onClick:E=>{if(o){E.preventDefault();return}typeof f=="function"&&f(E)}},A.createElement(A.Fragment,null,A.createElement("div",{className:"sg-button-base__overlay"}),r,A.createElement(n0,{disabled:o})))},{preventTooltipOnMobile:!0});Nd.displayName="ButtonBase";const VC={"x-small":"18",small:"18",medium:"18",large:"24","x-large":"24"},r0={"x-small":"18",small:"20",medium:"20",large:"24","x-large":"24"},i0=e=>e&&!e.startsWith(F_),s0=e=>i0(e)?`${F_}${e}`:e,GC=(e,t)=>e?VC[t]:r0[t],XC=new mc,Fa=({ref:e,...t})=>{const{action:a="submit",size:n="medium",children:r,className:i,disabled:s,expand:o,tabIndex:l=0,tag:c="button",leadingIcon:f,trailingIcon:d,"data-e2e":u="button","data-component":p="button",onClick:_,type:E="contained",color:v="secondary",...g}=t,k=ae("sg-button",`sg-button--${n}`,o&&"sg-button--expanded",i),y=r0[n];return v==="tertiary"&&E==="ghost"&&XC.log('Buttons of type "ghost" do not support "tertiary" color.'),A.createElement(Nd,{action:a,tag:c,className:k,ref:e,tabIndex:l,"data-e2e":u,"data-component":p,onClick:_,disabled:s,type:E,color:v,...g},f&&A.createElement(qe,{name:s0(f),size:y}),r&&A.createElement("span",{className:"sg-button--content"},r),d&&A.createElement(qe,{name:s0(d),size:y}))};Fa.displayName="Button";function _c(){return _c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},_c.apply(null,arguments)}function Od(e,t){if(e==null)return{};var a={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;a[n]=e[n]}return a}function Dd(e,t){return Dd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,n){return a.__proto__=n,a},Dd(e,t)}function Rd(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Dd(e,t)}function KC(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function WC(e,t){e.classList?e.classList.add(t):KC(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function o0(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function ZC(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=o0(e.className,t):e.setAttribute("class",o0(e.className&&e.className.baseVal||"",t))}const l0={disabled:!1},bc=pe.createContext(null);var c0=function(t){return t.scrollTop},to="unmounted",Ir="exited",Mr="entering",zi="entered",Ld="exiting",yn=function(e){Rd(t,e);function t(n,r){var i;i=e.call(this,n,r)||this;var s=r,o=s&&!s.isMounting?n.enter:n.appear,l;return i.appearStatus=null,n.in?o?(l=Ir,i.appearStatus=Mr):l=zi:n.unmountOnExit||n.mountOnEnter?l=to:l=Ir,i.state={status:l},i.nextCallback=null,i}t.getDerivedStateFromProps=function(r,i){var s=r.in;return s&&i.status===to?{status:Ir}:null};var a=t.prototype;return a.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},a.componentDidUpdate=function(r){var i=null;if(r!==this.props){var s=this.state.status;this.props.in?s!==Mr&&s!==zi&&(i=Mr):(s===Mr||s===zi)&&(i=Ld)}this.updateStatus(!1,i)},a.componentWillUnmount=function(){this.cancelNextCallback()},a.getTimeouts=function(){var r=this.props.timeout,i,s,o;return i=s=o=r,r!=null&&typeof r!="number"&&(i=r.exit,s=r.enter,o=r.appear!==void 0?r.appear:s),{exit:i,enter:s,appear:o}},a.updateStatus=function(r,i){if(r===void 0&&(r=!1),i!==null)if(this.cancelNextCallback(),i===Mr){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:Js.findDOMNode(this);s&&c0(s)}this.performEnter(r)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ir&&this.setState({status:to})},a.performEnter=function(r){var i=this,s=this.props.enter,o=this.context?this.context.isMounting:r,l=this.props.nodeRef?[o]:[Js.findDOMNode(this),o],c=l[0],f=l[1],d=this.getTimeouts(),u=o?d.appear:d.enter;if(!r&&!s||l0.disabled){this.safeSetState({status:zi},function(){i.props.onEntered(c)});return}this.props.onEnter(c,f),this.safeSetState({status:Mr},function(){i.props.onEntering(c,f),i.onTransitionEnd(u,function(){i.safeSetState({status:zi},function(){i.props.onEntered(c,f)})})})},a.performExit=function(){var r=this,i=this.props.exit,s=this.getTimeouts(),o=this.props.nodeRef?void 0:Js.findDOMNode(this);if(!i||l0.disabled){this.safeSetState({status:Ir},function(){r.props.onExited(o)});return}this.props.onExit(o),this.safeSetState({status:Ld},function(){r.props.onExiting(o),r.onTransitionEnd(s.exit,function(){r.safeSetState({status:Ir},function(){r.props.onExited(o)})})})},a.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},a.safeSetState=function(r,i){i=this.setNextCallback(i),this.setState(r,i)},a.setNextCallback=function(r){var i=this,s=!0;return this.nextCallback=function(o){s&&(s=!1,i.nextCallback=null,r(o))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},a.onTransitionEnd=function(r,i){this.setNextCallback(i);var s=this.props.nodeRef?this.props.nodeRef.current:Js.findDOMNode(this),o=r==null&&!this.props.addEndListener;if(!s||o){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],c=l[0],f=l[1];this.props.addEndListener(c,f)}r!=null&&setTimeout(this.nextCallback,r)},a.render=function(){var r=this.state.status;if(r===to)return null;var i=this.props,s=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var o=Od(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return pe.createElement(bc.Provider,{value:null},typeof s=="function"?s(r,o):pe.cloneElement(pe.Children.only(s),o))},t}(pe.Component);yn.contextType=bc,yn.propTypes={};function Ni(){}yn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ni,onEntering:Ni,onEntered:Ni,onExit:Ni,onExiting:Ni,onExited:Ni},yn.UNMOUNTED=to,yn.EXITED=Ir,yn.ENTERING=Mr,yn.ENTERED=zi,yn.EXITING=Ld;var JC=function(t,a){return t&&a&&a.split(" ").forEach(function(n){return WC(t,n)})},Id=function(t,a){return t&&a&&a.split(" ").forEach(function(n){return ZC(t,n)})},Md=function(e){Rd(t,e);function t(){for(var n,r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return n=e.call.apply(e,[this].concat(i))||this,n.appliedClasses={appear:{},enter:{},exit:{}},n.onEnter=function(o,l){var c=n.resolveArguments(o,l),f=c[0],d=c[1];n.removeClasses(f,"exit"),n.addClass(f,d?"appear":"enter","base"),n.props.onEnter&&n.props.onEnter(o,l)},n.onEntering=function(o,l){var c=n.resolveArguments(o,l),f=c[0],d=c[1],u=d?"appear":"enter";n.addClass(f,u,"active"),n.props.onEntering&&n.props.onEntering(o,l)},n.onEntered=function(o,l){var c=n.resolveArguments(o,l),f=c[0],d=c[1],u=d?"appear":"enter";n.removeClasses(f,u),n.addClass(f,u,"done"),n.props.onEntered&&n.props.onEntered(o,l)},n.onExit=function(o){var l=n.resolveArguments(o),c=l[0];n.removeClasses(c,"appear"),n.removeClasses(c,"enter"),n.addClass(c,"exit","base"),n.props.onExit&&n.props.onExit(o)},n.onExiting=function(o){var l=n.resolveArguments(o),c=l[0];n.addClass(c,"exit","active"),n.props.onExiting&&n.props.onExiting(o)},n.onExited=function(o){var l=n.resolveArguments(o),c=l[0];n.removeClasses(c,"exit"),n.addClass(c,"exit","done"),n.props.onExited&&n.props.onExited(o)},n.resolveArguments=function(o,l){return n.props.nodeRef?[n.props.nodeRef.current,o]:[o,l]},n.getClassNames=function(o){var l=n.props.classNames,c=typeof l=="string",f=c&&l?l+"-":"",d=c?""+f+o:l[o],u=c?d+"-active":l[o+"Active"],p=c?d+"-done":l[o+"Done"];return{baseClassName:d,activeClassName:u,doneClassName:p}},n}var a=t.prototype;return a.addClass=function(r,i,s){var o=this.getClassNames(i)[s+"ClassName"],l=this.getClassNames("enter"),c=l.doneClassName;i==="appear"&&s==="done"&&c&&(o+=" "+c),s==="active"&&r&&c0(r),o&&(this.appliedClasses[i][s]=o,JC(r,o))},a.removeClasses=function(r,i){var s=this.appliedClasses[i],o=s.base,l=s.active,c=s.done;this.appliedClasses[i]={},o&&Id(r,o),l&&Id(r,l),c&&Id(r,c)},a.render=function(){var r=this.props;r.classNames;var i=Od(r,["classNames"]);return pe.createElement(yn,_c({},i,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(pe.Component);Md.defaultProps={classNames:""},Md.propTypes={};function ex(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pd(e,t){var a=function(i){return t&&A.isValidElement(i)?t(i):i},n=Object.create(null);return e&&A.Children.map(e,function(r){return r}).forEach(function(r){n[r.key]=a(r)}),n}function tx(e,t){e=e||{},t=t||{};function a(f){return f in t?t[f]:e[f]}var n=Object.create(null),r=[];for(var i in e)i in t?r.length&&(n[i]=r,r=[]):r.push(i);var s,o={};for(var l in t){if(n[l])for(s=0;s<n[l].length;s++){var c=n[l][s];o[n[l][s]]=a(c)}o[l]=a(l)}for(s=0;s<r.length;s++)o[r[s]]=a(r[s]);return o}function Pr(e,t,a){return a[t]!=null?a[t]:e.props[t]}function ax(e,t){return Pd(e.children,function(a){return A.cloneElement(a,{onExited:t.bind(null,a),in:!0,appear:Pr(a,"appear",e),enter:Pr(a,"enter",e),exit:Pr(a,"exit",e)})})}function nx(e,t,a){var n=Pd(e.children),r=tx(t,n);return Object.keys(r).forEach(function(i){var s=r[i];if(A.isValidElement(s)){var o=i in t,l=i in n,c=t[i],f=A.isValidElement(c)&&!c.props.in;l&&(!o||f)?r[i]=A.cloneElement(s,{onExited:a.bind(null,s),in:!0,exit:Pr(s,"exit",e),enter:Pr(s,"enter",e)}):!l&&o&&!f?r[i]=A.cloneElement(s,{in:!1}):l&&o&&A.isValidElement(c)&&(r[i]=A.cloneElement(s,{onExited:a.bind(null,s),in:c.props.in,exit:Pr(s,"exit",e),enter:Pr(s,"enter",e)}))}}),r}var rx=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},ix={component:"div",childFactory:function(t){return t}},Ud=function(e){Rd(t,e);function t(n,r){var i;i=e.call(this,n,r)||this;var s=i.handleExited.bind(ex(i));return i.state={contextValue:{isMounting:!0},handleExited:s,firstRender:!0},i}var a=t.prototype;return a.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},a.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(r,i){var s=i.children,o=i.handleExited,l=i.firstRender;return{children:l?ax(r,o):nx(r,s,o),firstRender:!1}},a.handleExited=function(r,i){var s=Pd(this.props.children);r.key in s||(r.props.onExited&&r.props.onExited(i),this.mounted&&this.setState(function(o){var l=_c({},o.children);return delete l[r.key],{children:l}}))},a.render=function(){var r=this.props,i=r.component,s=r.childFactory,o=Od(r,["component","childFactory"]),l=this.state.contextValue,c=rx(this.state.children).map(s);return delete o.appear,delete o.enter,delete o.exit,i===null?pe.createElement(bc.Provider,{value:l},c):pe.createElement(bc.Provider,{value:l},pe.createElement(i,o,c))},t}(pe.Component);Ud.propTypes={},Ud.defaultProps=ix;function sx(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function ox(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function lx(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(a=>typeof a=="function")){const a=e.map(n=>typeof n=="function"?`function ${n.name||"unnamed"}()`:typeof n).join(", ");throw new TypeError(`${t}[${a}]`)}}var u0=e=>Array.isArray(e)?e:[e];function cx(e){const t=Array.isArray(e[0])?e[0]:e;return lx(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function ux(e,t){const a=[],{length:n}=e;for(let r=0;r<n;r++)a.push(e[r].apply(null,t));return a}var fx=class{constructor(e){this.value=e}deref(){return this.value}},dx=typeof WeakRef<"u"?WeakRef:fx,hx=0,f0=1;function kc(){return{s:hx,v:void 0,o:null,p:null}}function wc(e,t={}){let a=kc();const{resultEqualityCheck:n}=t;let r,i=0;function s(){var d;let o=a;const{length:l}=arguments;for(let u=0,p=l;u<p;u++){const _=arguments[u];if(typeof _=="function"||typeof _=="object"&&_!==null){let E=o.o;E===null&&(o.o=E=new WeakMap);const v=E.get(_);v===void 0?(o=kc(),E.set(_,o)):o=v}else{let E=o.p;E===null&&(o.p=E=new Map);const v=E.get(_);v===void 0?(o=kc(),E.set(_,o)):o=v}}const c=o;let f;if(o.s===f0)f=o.v;else if(f=e.apply(null,arguments),i++,n){const u=((d=r==null?void 0:r.deref)==null?void 0:d.call(r))??r;u!=null&&n(u,f)&&(f=u,i!==0&&i--),r=typeof f=="object"&&f!==null||typeof f=="function"?new dx(f):f}return c.s=f0,c.v=f,f}return s.clearCache=()=>{a=kc(),s.resetResultsCount()},s.resultsCount=()=>i,s.resetResultsCount=()=>{i=0},s}function px(e,...t){const a=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,n=(...r)=>{let i=0,s=0,o,l={},c=r.pop();typeof c=="object"&&(l=c,c=r.pop()),sx(c,`createSelector expects an output function after the inputs, but received: [${typeof c}]`);const f={...a,...l},{memoize:d,memoizeOptions:u=[],argsMemoize:p=wc,argsMemoizeOptions:_=[]}=f,E=u0(u),v=u0(_),g=cx(r),k=d(function(){return i++,c.apply(null,arguments)},...E),y=p(function(){s++;const w=ux(g,arguments);return o=k.apply(null,w),o},...v);return Object.assign(y,{resultFunc:c,memoizedResultFunc:k,dependencies:g,dependencyRecomputations:()=>s,resetDependencyRecomputations:()=>{s=0},lastResult:()=>o,recomputations:()=>i,resetRecomputations:()=>{i=0},memoize:d,argsMemoize:p})};return Object.assign(n,{withTypes:()=>n}),n}var Bd=px(wc),mx=Object.assign((e,t=Bd)=>{ox(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);const a=Object.keys(e),n=a.map(i=>e[i]);return t(n,(...i)=>i.reduce((s,o,l)=>(s[a[l]]=o,s),{}))},{withTypes:()=>mx});function vt(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var gx=typeof Symbol=="function"&&Symbol.observable||"@@observable",d0=gx,Fd=()=>Math.random().toString(36).substring(7).split("").join("."),yx={INIT:`@@redux/INIT${Fd()}`,REPLACE:`@@redux/REPLACE${Fd()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Fd()}`},Ec=yx;function Vn(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function h0(e,t,a){if(typeof e!="function")throw new Error(vt(2));if(typeof t=="function"&&typeof a=="function"||typeof a=="function"&&typeof arguments[3]=="function")throw new Error(vt(0));if(typeof t=="function"&&typeof a>"u"&&(a=t,t=void 0),typeof a<"u"){if(typeof a!="function")throw new Error(vt(1));return a(h0)(e,t)}let n=e,r=t,i=new Map,s=i,o=0,l=!1;function c(){s===i&&(s=new Map,i.forEach((v,g)=>{s.set(g,v)}))}function f(){if(l)throw new Error(vt(3));return r}function d(v){if(typeof v!="function")throw new Error(vt(4));if(l)throw new Error(vt(5));let g=!0;c();const k=o++;return s.set(k,v),function(){if(g){if(l)throw new Error(vt(6));g=!1,c(),s.delete(k),i=null}}}function u(v){if(!Vn(v))throw new Error(vt(7));if(typeof v.type>"u")throw new Error(vt(8));if(typeof v.type!="string")throw new Error(vt(17));if(l)throw new Error(vt(9));try{l=!0,r=n(r,v)}finally{l=!1}return(i=s).forEach(k=>{k()}),v}function p(v){if(typeof v!="function")throw new Error(vt(10));n=v,u({type:Ec.REPLACE})}function _(){const v=d;return{subscribe(g){if(typeof g!="object"||g===null)throw new Error(vt(11));function k(){const b=g;b.next&&b.next(f())}return k(),{unsubscribe:v(k)}},[d0](){return this}}}return u({type:Ec.INIT}),{dispatch:u,subscribe:d,getState:f,replaceReducer:p,[d0]:_}}function _x(e){Object.keys(e).forEach(t=>{const a=e[t];if(typeof a(void 0,{type:Ec.INIT})>"u")throw new Error(vt(12));if(typeof a(void 0,{type:Ec.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(vt(13))})}function Hd(e){const t=Object.keys(e),a={};for(let i=0;i<t.length;i++){const s=t[i];typeof e[s]=="function"&&(a[s]=e[s])}const n=Object.keys(a);let r;try{_x(a)}catch(i){r=i}return function(s={},o){if(r)throw r;let l=!1;const c={};for(let f=0;f<n.length;f++){const d=n[f],u=a[d],p=s[d],_=u(p,o);if(typeof _>"u")throw o&&o.type,new Error(vt(14));c[d]=_,l=l||_!==p}return l=l||n.length!==Object.keys(s).length,l?c:s}}function Tc(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,a)=>(...n)=>t(a(...n)))}function bx(...e){return t=>(a,n)=>{const r=t(a,n);let i=()=>{throw new Error(vt(15))};const s={getState:r.getState,dispatch:(l,...c)=>i(l,...c)},o=e.map(l=>l(s));return i=Tc(...o)(r.dispatch),{...r,dispatch:i}}}function p0(e){return Vn(e)&&"type"in e&&typeof e.type=="string"}var jd=Symbol.for("immer-nothing"),ao=Symbol.for("immer-draftable"),Xt=Symbol.for("immer-state");function St(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Ur=Object.getPrototypeOf;function Za(e){return!!e&&!!e[Xt]}function Ha(e){var t;return e?m0(e)||Array.isArray(e)||!!e[ao]||!!((t=e.constructor)!=null&&t[ao])||io(e)||so(e):!1}var kx=Object.prototype.constructor.toString();function m0(e){if(!e||typeof e!="object")return!1;const t=Ur(e);if(t===null)return!0;const a=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return a===Object?!0:typeof a=="function"&&Function.toString.call(a)===kx}function wx(e){return Za(e)||St(15,e),e[Xt].base_}function no(e,t){Br(e)===0?Reflect.ownKeys(e).forEach(a=>{t(a,e[a],e)}):e.forEach((a,n)=>t(n,a,e))}function Br(e){const t=e[Xt];return t?t.type_:Array.isArray(e)?1:io(e)?2:so(e)?3:0}function ro(e,t){return Br(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function qd(e,t){return Br(e)===2?e.get(t):e[t]}function g0(e,t,a){const n=Br(e);n===2?e.set(t,a):n===3?e.add(a):e[t]=a}function Ex(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function io(e){return e instanceof Map}function so(e){return e instanceof Set}function Fr(e){return e.copy_||e.base_}function Yd(e,t){if(io(e))return new Map(e);if(so(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const a=m0(e);if(t===!0||t==="class_only"&&!a){const n=Object.getOwnPropertyDescriptors(e);delete n[Xt];let r=Reflect.ownKeys(n);for(let i=0;i<r.length;i++){const s=r[i],o=n[s];o.writable===!1&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(n[s]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[s]})}return Object.create(Ur(e),n)}else{const n=Ur(e);if(n!==null&&a)return{...e};const r=Object.create(n);return Object.assign(r,e)}}function $d(e,t=!1){return vc(e)||Za(e)||!Ha(e)||(Br(e)>1&&(e.set=e.add=e.clear=e.delete=Tx),Object.freeze(e),t&&Object.entries(e).forEach(([a,n])=>$d(n,!0))),e}function Tx(){St(2)}function vc(e){return Object.isFrozen(e)}var Qd={};function Hr(e){const t=Qd[e];return t||St(0,e),t}function vx(e,t){Qd[e]||(Qd[e]=t)}var oo;function y0(){return oo}function Sx(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function _0(e,t){t&&(Hr("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Vd(e){Gd(e),e.drafts_.forEach(Ax),e.drafts_=null}function Gd(e){e===oo&&(oo=e.parent_)}function b0(e){return oo=Sx(oo,e)}function Ax(e){const t=e[Xt];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function k0(e,t){t.unfinalizedDrafts_=t.drafts_.length;const a=t.drafts_[0];return e!==void 0&&e!==a?(a[Xt].modified_&&(Vd(t),St(4)),Ha(e)&&(e=Sc(t,e),t.parent_||Ac(t,e)),t.patches_&&Hr("Patches").generateReplacementPatches_(a[Xt].base_,e,t.patches_,t.inversePatches_)):e=Sc(t,a,[]),Vd(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==jd?e:void 0}function Sc(e,t,a){if(vc(t))return t;const n=t[Xt];if(!n)return no(t,(r,i)=>w0(e,n,t,r,i,a)),t;if(n.scope_!==e)return t;if(!n.modified_)return Ac(e,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;const r=n.copy_;let i=r,s=!1;n.type_===3&&(i=new Set(r),r.clear(),s=!0),no(i,(o,l)=>w0(e,n,r,o,l,a,s)),Ac(e,r,!1),a&&e.patches_&&Hr("Patches").generatePatches_(n,a,e.patches_,e.inversePatches_)}return n.copy_}function w0(e,t,a,n,r,i,s){if(Za(r)){const o=i&&t&&t.type_!==3&&!ro(t.assigned_,n)?i.concat(n):void 0,l=Sc(e,r,o);if(g0(a,n,l),Za(l))e.canAutoFreeze_=!1;else return}else s&&a.add(r);if(Ha(r)&&!vc(r)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;Sc(e,r),(!t||!t.scope_.parent_)&&typeof n!="symbol"&&Object.prototype.propertyIsEnumerable.call(a,n)&&Ac(e,r)}}function Ac(e,t,a=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&$d(t,a)}function Cx(e,t){const a=Array.isArray(e),n={type_:a?1:0,scope_:t?t.scope_:y0(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let r=n,i=Xd;a&&(r=[n],i=lo);const{revoke:s,proxy:o}=Proxy.revocable(r,i);return n.draft_=o,n.revoke_=s,o}var Xd={get(e,t){if(t===Xt)return e;const a=Fr(e);if(!ro(a,t))return xx(e,a,t);const n=a[t];return e.finalized_||!Ha(n)?n:n===Kd(e.base_,t)?(Zd(e),e.copy_[t]=Jd(n,e)):n},has(e,t){return t in Fr(e)},ownKeys(e){return Reflect.ownKeys(Fr(e))},set(e,t,a){const n=E0(Fr(e),t);if(n!=null&&n.set)return n.set.call(e.draft_,a),!0;if(!e.modified_){const r=Kd(Fr(e),t),i=r==null?void 0:r[Xt];if(i&&i.base_===a)return e.copy_[t]=a,e.assigned_[t]=!1,!0;if(Ex(a,r)&&(a!==void 0||ro(e.base_,t)))return!0;Zd(e),Wd(e)}return e.copy_[t]===a&&(a!==void 0||t in e.copy_)||Number.isNaN(a)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=a,e.assigned_[t]=!0),!0},deleteProperty(e,t){return Kd(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,Zd(e),Wd(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const a=Fr(e),n=Reflect.getOwnPropertyDescriptor(a,t);return n&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:n.enumerable,value:a[t]}},defineProperty(){St(11)},getPrototypeOf(e){return Ur(e.base_)},setPrototypeOf(){St(12)}},lo={};no(Xd,(e,t)=>{lo[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),lo.deleteProperty=function(e,t){return lo.set.call(this,e,t,void 0)},lo.set=function(e,t,a){return Xd.set.call(this,e[0],t,a,e[0])};function Kd(e,t){const a=e[Xt];return(a?Fr(a):e)[t]}function xx(e,t,a){var r;const n=E0(t,a);return n?"value"in n?n.value:(r=n.get)==null?void 0:r.call(e.draft_):void 0}function E0(e,t){if(!(t in e))return;let a=Ur(e);for(;a;){const n=Object.getOwnPropertyDescriptor(a,t);if(n)return n;a=Ur(a)}}function Wd(e){e.modified_||(e.modified_=!0,e.parent_&&Wd(e.parent_))}function Zd(e){e.copy_||(e.copy_=Yd(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var zx=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,a,n)=>{if(typeof t=="function"&&typeof a!="function"){const i=a;a=t;const s=this;return function(l=i,...c){return s.produce(l,f=>a.call(this,f,...c))}}typeof a!="function"&&St(6),n!==void 0&&typeof n!="function"&&St(7);let r;if(Ha(t)){const i=b0(this),s=Jd(t,void 0);let o=!0;try{r=a(s),o=!1}finally{o?Vd(i):Gd(i)}return _0(i,n),k0(r,i)}else if(!t||typeof t!="object"){if(r=a(t),r===void 0&&(r=t),r===jd&&(r=void 0),this.autoFreeze_&&$d(r,!0),n){const i=[],s=[];Hr("Patches").generateReplacementPatches_(t,r,i,s),n(i,s)}return r}else St(1,t)},this.produceWithPatches=(t,a)=>{if(typeof t=="function")return(s,...o)=>this.produceWithPatches(s,l=>t(l,...o));let n,r;return[this.produce(t,a,(s,o)=>{n=s,r=o}),n,r]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){Ha(e)||St(8),Za(e)&&(e=Nx(e));const t=b0(this),a=Jd(e,void 0);return a[Xt].isManual_=!0,Gd(t),a}finishDraft(e,t){const a=e&&e[Xt];(!a||!a.isManual_)&&St(9);const{scope_:n}=a;return _0(n,t),k0(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let a;for(a=t.length-1;a>=0;a--){const r=t[a];if(r.path.length===0&&r.op==="replace"){e=r.value;break}}a>-1&&(t=t.slice(a+1));const n=Hr("Patches").applyPatches_;return Za(e)?n(e,t):this.produce(e,r=>n(r,t))}};function Jd(e,t){const a=io(e)?Hr("MapSet").proxyMap_(e,t):so(e)?Hr("MapSet").proxySet_(e,t):Cx(e,t);return(t?t.scope_:y0()).drafts_.push(a),a}function Nx(e){return Za(e)||St(10,e),T0(e)}function T0(e){if(!Ha(e)||vc(e))return e;const t=e[Xt];let a;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,a=Yd(e,t.scope_.immer_.useStrictShallowCopy_)}else a=Yd(e,!0);return no(a,(n,r)=>{g0(a,n,T0(r))}),t&&(t.finalized_=!1),a}function Ox(){const t="replace",a="add",n="remove";function r(u,p,_,E){switch(u.type_){case 0:case 2:return s(u,p,_,E);case 1:return i(u,p,_,E);case 3:return o(u,p,_,E)}}function i(u,p,_,E){let{base_:v,assigned_:g}=u,k=u.copy_;k.length<v.length&&([v,k]=[k,v],[_,E]=[E,_]);for(let y=0;y<v.length;y++)if(g[y]&&k[y]!==v[y]){const b=p.concat([y]);_.push({op:t,path:b,value:d(k[y])}),E.push({op:t,path:b,value:d(v[y])})}for(let y=v.length;y<k.length;y++){const b=p.concat([y]);_.push({op:a,path:b,value:d(k[y])})}for(let y=k.length-1;v.length<=y;--y){const b=p.concat([y]);E.push({op:n,path:b})}}function s(u,p,_,E){const{base_:v,copy_:g}=u;no(u.assigned_,(k,y)=>{const b=qd(v,k),w=qd(g,k),h=y?ro(v,k)?t:a:n;if(b===w&&h===t)return;const S=p.concat(k);_.push(h===n?{op:h,path:S}:{op:h,path:S,value:w}),E.push(h===a?{op:n,path:S}:h===n?{op:a,path:S,value:d(b)}:{op:t,path:S,value:d(b)})})}function o(u,p,_,E){let{base_:v,copy_:g}=u,k=0;v.forEach(y=>{if(!g.has(y)){const b=p.concat([k]);_.push({op:n,path:b,value:y}),E.unshift({op:a,path:b,value:y})}k++}),k=0,g.forEach(y=>{if(!v.has(y)){const b=p.concat([k]);_.push({op:a,path:b,value:y}),E.unshift({op:n,path:b,value:y})}k++})}function l(u,p,_,E){_.push({op:t,path:[],value:p===jd?void 0:p}),E.push({op:t,path:[],value:u})}function c(u,p){return p.forEach(_=>{const{path:E,op:v}=_;let g=u;for(let w=0;w<E.length-1;w++){const h=Br(g);let S=E[w];typeof S!="string"&&typeof S!="number"&&(S=""+S),(h===0||h===1)&&(S==="__proto__"||S==="constructor")&&St(19),typeof g=="function"&&S==="prototype"&&St(19),g=qd(g,S),typeof g!="object"&&St(18,E.join("/"))}const k=Br(g),y=f(_.value),b=E[E.length-1];switch(v){case t:switch(k){case 2:return g.set(b,y);case 3:St(16);default:return g[b]=y}case a:switch(k){case 1:return b==="-"?g.push(y):g.splice(b,0,y);case 2:return g.set(b,y);case 3:return g.add(y);default:return g[b]=y}case n:switch(k){case 1:return g.splice(b,1);case 2:return g.delete(b);case 3:return g.delete(_.value);default:return delete g[b]}default:St(17,v)}}),u}function f(u){if(!Ha(u))return u;if(Array.isArray(u))return u.map(f);if(io(u))return new Map(Array.from(u.entries()).map(([_,E])=>[_,f(E)]));if(so(u))return new Set(Array.from(u).map(f));const p=Object.create(Ur(u));for(const _ in u)p[_]=f(u[_]);return ro(u,ao)&&(p[ao]=u[ao]),p}function d(u){return Za(u)?f(u):u}vx("Patches",{applyPatches_:c,generatePatches_:r,generateReplacementPatches_:l})}var oa=new zx,co=oa.produce,v0=oa.produceWithPatches.bind(oa);oa.setAutoFreeze.bind(oa),oa.setUseStrictShallowCopy.bind(oa);var S0=oa.applyPatches.bind(oa);oa.createDraft.bind(oa),oa.finishDraft.bind(oa);function A0(e){return({dispatch:a,getState:n})=>r=>i=>typeof i=="function"?i(a,n,e):r(i)}var Dx=A0(),Rx=A0,Lx=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Tc:Tc.apply(null,arguments)},Ix=e=>e&&typeof e.match=="function";function ja(e,t){function a(...n){if(t){let r=t(...n);if(!r)throw new Error(qa(0));return{type:e,payload:r.payload,..."meta"in r&&{meta:r.meta},..."error"in r&&{error:r.error}}}return{type:e,payload:n[0]}}return a.toString=()=>`${e}`,a.type=e,a.match=n=>p0(n)&&n.type===e,a}var C0=class rc extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,rc.prototype)}static get[Symbol.species](){return rc}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new rc(...t[0].concat(this)):new rc(...t.concat(this))}};function x0(e){return Ha(e)?co(e,()=>{}):e}function Cc(e,t,a){return e.has(t)?e.get(t):e.set(t,a(t)).get(t)}function Mx(e){return typeof e=="boolean"}var Px=()=>function(t){const{thunk:a=!0,immutableCheck:n=!0,serializableCheck:r=!0,actionCreatorCheck:i=!0}=t??{};let s=new C0;return a&&(Mx(a)?s.push(Dx):s.push(Rx(a.extraArgument))),s},xc="RTK_autoBatch",uo=()=>e=>({payload:e,meta:{[xc]:!0}}),z0=e=>t=>{setTimeout(t,e)},Ux=(e={type:"raf"})=>t=>(...a)=>{const n=t(...a);let r=!0,i=!1,s=!1;const o=new Set,l=e.type==="tick"?queueMicrotask:e.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:z0(10):e.type==="callback"?e.queueNotification:z0(e.timeout),c=()=>{s=!1,i&&(i=!1,o.forEach(f=>f()))};return Object.assign({},n,{subscribe(f){const d=()=>r&&f(),u=n.subscribe(d);return o.add(f),()=>{u(),o.delete(f)}},dispatch(f){var d;try{return r=!((d=f==null?void 0:f.meta)!=null&&d[xc]),i=!r,i&&(s||(s=!0,l(c))),n.dispatch(f)}finally{r=!0}}})},Bx=e=>function(a){const{autoBatch:n=!0}=a??{};let r=new C0(e);return n&&r.push(Ux(typeof n=="object"?n:void 0)),r};function Fx(e){const t=Px(),{reducer:a=void 0,middleware:n,devTools:r=!0,preloadedState:i=void 0,enhancers:s=void 0}=e||{};let o;if(typeof a=="function")o=a;else if(Vn(a))o=Hd(a);else throw new Error(qa(1));let l;typeof n=="function"?l=n(t):l=t();let c=Tc;r&&(c=Lx({trace:!1,...typeof r=="object"&&r}));const f=bx(...l),d=Bx(f);let u=typeof s=="function"?s(d):d();const p=c(...u);return h0(o,i,p)}function N0(e){const t={},a=[];let n;const r={addCase(i,s){const o=typeof i=="string"?i:i.type;if(!o)throw new Error(qa(28));if(o in t)throw new Error(qa(29));return t[o]=s,r},addMatcher(i,s){return a.push({matcher:i,reducer:s}),r},addDefaultCase(i){return n=i,r}};return e(r),[t,a,n]}function Hx(e){return typeof e=="function"}function jx(e,t){let[a,n,r]=N0(t),i;if(Hx(e))i=()=>x0(e());else{const o=x0(e);i=()=>o}function s(o=i(),l){let c=[a[l.type],...n.filter(({matcher:f})=>f(l)).map(({reducer:f})=>f)];return c.filter(f=>!!f).length===0&&(c=[r]),c.reduce((f,d)=>{if(d)if(Za(f)){const p=d(f,l);return p===void 0?f:p}else{if(Ha(f))return co(f,u=>d(u,l));{const u=d(f,l);if(u===void 0){if(f===null)return f;throw Error("A case reducer on a non-draftable value must not return undefined")}return u}}return f},o)}return s.getInitialState=i,s}var O0=(e,t)=>Ix(e)?e.match(t):e(t);function _n(...e){return t=>e.some(a=>O0(a,t))}function fo(...e){return t=>e.every(a=>O0(a,t))}function zc(e,t){if(!e||!e.meta)return!1;const a=typeof e.meta.requestId=="string",n=t.indexOf(e.meta.requestStatus)>-1;return a&&n}function ho(e){return typeof e[0]=="function"&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function eh(...e){return e.length===0?t=>zc(t,["pending"]):ho(e)?_n(...e.map(t=>t.pending)):eh()(e[0])}function Oi(...e){return e.length===0?t=>zc(t,["rejected"]):ho(e)?_n(...e.map(t=>t.rejected)):Oi()(e[0])}function Nc(...e){const t=a=>a&&a.meta&&a.meta.rejectedWithValue;return e.length===0?fo(Oi(...e),t):ho(e)?fo(Oi(...e),t):Nc()(e[0])}function Gn(...e){return e.length===0?t=>zc(t,["fulfilled"]):ho(e)?_n(...e.map(t=>t.fulfilled)):Gn()(e[0])}function th(...e){return e.length===0?t=>zc(t,["pending","fulfilled","rejected"]):ho(e)?_n(...e.flatMap(t=>[t.pending,t.rejected,t.fulfilled])):th()(e[0])}var qx="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",ah=(e=21)=>{let t="",a=e;for(;a--;)t+=qx[Math.random()*64|0];return t},Yx=["name","message","stack","code"],nh=class{constructor(e,t){Lt(this,"_type");this.payload=e,this.meta=t}},D0=class{constructor(e,t){Lt(this,"_type");this.payload=e,this.meta=t}},$x=e=>{if(typeof e=="object"&&e!==null){const t={};for(const a of Yx)typeof e[a]=="string"&&(t[a]=e[a]);return t}return{message:String(e)}},R0="External signal was aborted",Xn=(()=>{function e(t,a,n){const r=ja(t+"/fulfilled",(l,c,f,d)=>({payload:l,meta:{...d||{},arg:f,requestId:c,requestStatus:"fulfilled"}})),i=ja(t+"/pending",(l,c,f)=>({payload:void 0,meta:{...f||{},arg:c,requestId:l,requestStatus:"pending"}})),s=ja(t+"/rejected",(l,c,f,d,u)=>({payload:d,error:(n&&n.serializeError||$x)(l||"Rejected"),meta:{...u||{},arg:f,requestId:c,rejectedWithValue:!!d,requestStatus:"rejected",aborted:(l==null?void 0:l.name)==="AbortError",condition:(l==null?void 0:l.name)==="ConditionError"}}));function o(l,{signal:c}={}){return(f,d,u)=>{const p=n!=null&&n.idGenerator?n.idGenerator(l):ah(),_=new AbortController;let E,v;function g(y){v=y,_.abort()}c&&(c.aborted?g(R0):c.addEventListener("abort",()=>g(R0),{once:!0}));const k=async function(){var w,h;let y;try{let S=(w=n==null?void 0:n.condition)==null?void 0:w.call(n,l,{getState:d,extra:u});if(Vx(S)&&(S=await S),S===!1||_.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const O=new Promise((x,T)=>{E=()=>{T({name:"AbortError",message:v||"Aborted"})},_.signal.addEventListener("abort",E)});f(i(p,l,(h=n==null?void 0:n.getPendingMeta)==null?void 0:h.call(n,{requestId:p,arg:l},{getState:d,extra:u}))),y=await Promise.race([O,Promise.resolve(a(l,{dispatch:f,getState:d,extra:u,requestId:p,signal:_.signal,abort:g,rejectWithValue:(x,T)=>new nh(x,T),fulfillWithValue:(x,T)=>new D0(x,T)})).then(x=>{if(x instanceof nh)throw x;return x instanceof D0?r(x.payload,p,l,x.meta):r(x,p,l)})])}catch(S){y=S instanceof nh?s(null,p,l,S.payload,S.meta):s(S,p,l)}finally{E&&_.signal.removeEventListener("abort",E)}return n&&!n.dispatchConditionRejection&&s.match(y)&&y.meta.condition||f(y),y}();return Object.assign(k,{abort:g,requestId:p,arg:l,unwrap(){return k.then(Qx)}})}}return Object.assign(o,{pending:i,rejected:s,fulfilled:r,settled:_n(s,r),typePrefix:t})}return e.withTypes=()=>e,e})();function Qx(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Vx(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Gx=Symbol.for("rtk-slice-createasyncthunk");function Xx(e,t){return`${e}/${t}`}function Kx({creators:e}={}){var a;const t=(a=e==null?void 0:e.asyncThunk)==null?void 0:a[Gx];return function(r){const{name:i,reducerPath:s=i}=r;if(!i)throw new Error(qa(11));const o=(typeof r.reducers=="function"?r.reducers(Zx()):r.reducers)||{},l=Object.keys(o),c={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},f={addCase(b,w){const h=typeof b=="string"?b:b.type;if(!h)throw new Error(qa(12));if(h in c.sliceCaseReducersByType)throw new Error(qa(13));return c.sliceCaseReducersByType[h]=w,f},addMatcher(b,w){return c.sliceMatchers.push({matcher:b,reducer:w}),f},exposeAction(b,w){return c.actionCreators[b]=w,f},exposeCaseReducer(b,w){return c.sliceCaseReducersByName[b]=w,f}};l.forEach(b=>{const w=o[b],h={reducerName:b,type:Xx(i,b),createNotation:typeof r.reducers=="function"};ez(w)?az(h,w,f,t):Jx(h,w,f)});function d(){const[b={},w=[],h=void 0]=typeof r.extraReducers=="function"?N0(r.extraReducers):[r.extraReducers],S={...b,...c.sliceCaseReducersByType};return jx(r.initialState,O=>{for(let x in S)O.addCase(x,S[x]);for(let x of c.sliceMatchers)O.addMatcher(x.matcher,x.reducer);for(let x of w)O.addMatcher(x.matcher,x.reducer);h&&O.addDefaultCase(h)})}const u=b=>b,p=new Map,_=new WeakMap;let E;function v(b,w){return E||(E=d()),E(b,w)}function g(){return E||(E=d()),E.getInitialState()}function k(b,w=!1){function h(O){let x=O[b];return typeof x>"u"&&w&&(x=Cc(_,h,g)),x}function S(O=u){const x=Cc(p,w,()=>new WeakMap);return Cc(x,O,()=>{const T={};for(const[z,L]of Object.entries(r.selectors??{}))T[z]=Wx(L,O,()=>Cc(_,O,g),w);return T})}return{reducerPath:b,getSelectors:S,get selectors(){return S(h)},selectSlice:h}}const y={name:i,reducer:v,actions:c.actionCreators,caseReducers:c.sliceCaseReducersByName,getInitialState:g,...k(s),injectInto(b,{reducerPath:w,...h}={}){const S=w??s;return b.inject({reducerPath:S,reducer:v},h),{...y,...k(S,!0)}}};return y}}function Wx(e,t,a,n){function r(i,...s){let o=t(i);return typeof o>"u"&&n&&(o=a()),e(o,...s)}return r.unwrapped=e,r}var Kt=Kx();function Zx(){function e(t,a){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...a}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...a){return t(...a)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,a){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:a}},asyncThunk:e}}function Jx({type:e,reducerName:t,createNotation:a},n,r){let i,s;if("reducer"in n){if(a&&!tz(n))throw new Error(qa(17));i=n.reducer,s=n.prepare}else i=n;r.addCase(e,i).exposeCaseReducer(t,i).exposeAction(t,s?ja(e,s):ja(e))}function ez(e){return e._reducerDefinitionType==="asyncThunk"}function tz(e){return e._reducerDefinitionType==="reducerWithPrepare"}function az({type:e,reducerName:t},a,n,r){if(!r)throw new Error(qa(18));const{payloadCreator:i,fulfilled:s,pending:o,rejected:l,settled:c,options:f}=a,d=r(e,i,f);n.exposeAction(t,d),s&&n.addCase(d.fulfilled,s),o&&n.addCase(d.pending,o),l&&n.addCase(d.rejected,l),c&&n.addMatcher(d.settled,c),n.exposeCaseReducer(t,{fulfilled:s||Oc,pending:o||Oc,rejected:l||Oc,settled:c||Oc})}function Oc(){}function qa(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var L0={exports:{}},I0={};/**
 * @license React
 * use-sync-external-store-with-selector.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var po=A;function nz(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var rz=typeof Object.is=="function"?Object.is:nz,iz=po.useSyncExternalStore,sz=po.useRef,oz=po.useEffect,lz=po.useMemo,cz=po.useDebugValue;I0.useSyncExternalStoreWithSelector=function(e,t,a,n,r){var i=sz(null);if(i.current===null){var s={hasValue:!1,value:null};i.current=s}else s=i.current;i=lz(function(){function l(p){if(!c){if(c=!0,f=p,p=n(p),r!==void 0&&s.hasValue){var _=s.value;if(r(_,p))return d=_}return d=p}if(_=d,rz(f,p))return _;var E=n(p);return r!==void 0&&r(_,E)?(f=p,_):(f=p,d=E)}var c=!1,f,d,u=a===void 0?null:a;return[function(){return l(t())},u===null?void 0:function(){return l(u())}]},[t,a,n,r]);var o=iz(e,i[0],i[1]);return oz(function(){s.hasValue=!0,s.value=o},[o]),cz(o),o},L0.exports=I0;var uz=L0.exports;function M0(e){e()}function fz(){let e=null,t=null;return{clear(){e=null,t=null},notify(){M0(()=>{let a=e;for(;a;)a.callback(),a=a.next})},get(){const a=[];let n=e;for(;n;)a.push(n),n=n.next;return a},subscribe(a){let n=!0;const r=t={callback:a,next:null,prev:t};return r.prev?r.prev.next=r:e=r,function(){!n||e===null||(n=!1,r.next?r.next.prev=r.prev:t=r.prev,r.prev?r.prev.next=r.next:e=r.next)}}}}var P0={notify(){},get:()=>[]};function dz(e,t){let a,n=P0,r=0,i=!1;function s(E){f();const v=n.subscribe(E);let g=!1;return()=>{g||(g=!0,v(),d())}}function o(){n.notify()}function l(){_.onStateChange&&_.onStateChange()}function c(){return i}function f(){r++,a||(a=e.subscribe(l),n=fz())}function d(){r--,a&&r===0&&(a(),a=void 0,n.clear(),n=P0)}function u(){i||(i=!0,f())}function p(){i&&(i=!1,d())}const _={addNestedSub:s,notifyNestedSubs:o,handleChangeWrapper:l,isSubscribed:c,trySubscribe:u,tryUnsubscribe:p,getListeners:()=>n};return _}var hz=()=>typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",pz=hz(),mz=()=>typeof navigator<"u"&&navigator.product==="ReactNative",gz=mz(),yz=()=>pz||gz?A.useLayoutEffect:A.useEffect,_z=yz();function U0(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function mo(e,t){if(U0(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;const a=Object.keys(e),n=Object.keys(t);if(a.length!==n.length)return!1;for(let r=0;r<a.length;r++)if(!Object.prototype.hasOwnProperty.call(t,a[r])||!U0(e[a[r]],t[a[r]]))return!1;return!0}var rh=Symbol.for("react-redux-context"),ih=typeof globalThis<"u"?globalThis:{};function bz(){if(!A.createContext)return{};const e=ih[rh]??(ih[rh]=new Map);let t=e.get(A.createContext);return t||(t=A.createContext(null),e.set(A.createContext,t)),t}var Kn=bz();function kz(e){const{children:t,context:a,serverState:n,store:r}=e,i=A.useMemo(()=>{const l=dz(r);return{store:r,subscription:l,getServerState:n?()=>n:void 0}},[r,n]),s=A.useMemo(()=>r.getState(),[r]);_z(()=>{const{subscription:l}=i;return l.onStateChange=l.notifyNestedSubs,l.trySubscribe(),s!==r.getState()&&l.notifyNestedSubs(),()=>{l.tryUnsubscribe(),l.onStateChange=void 0}},[i,s]);const o=a||Kn;return A.createElement(o.Provider,{value:i},t)}var wz=kz;function sh(e=Kn){return function(){return A.useContext(e)}}var B0=sh();function F0(e=Kn){const t=e===Kn?B0:sh(e),a=()=>{const{store:n}=t();return n};return Object.assign(a,{withTypes:()=>a}),a}var H0=F0();function Ez(e=Kn){const t=e===Kn?H0:F0(e),a=()=>t().dispatch;return Object.assign(a,{withTypes:()=>a}),a}var j0=Ez(),Tz=(e,t)=>e===t;function vz(e=Kn){const t=e===Kn?B0:sh(e),a=(n,r={})=>{const{equalityFn:i=Tz}=typeof r=="function"?{equalityFn:r}:r,s=t(),{store:o,subscription:l,getServerState:c}=s;A.useRef(!0);const f=A.useCallback({[n.name](u){return n(u)}}[n.name],[n]),d=uz.useSyncExternalStoreWithSelector(l.addNestedSub,o.getState,c||o.getState,f,i);return A.useDebugValue(d),d};return Object.assign(a,{withTypes:()=>a}),a}var q0=vz(),Sz=M0;const Y0={medium:"small",small:"x-small"},go=({ref:e,...t})=>{const a=B_(),{className:n,children:r,onDelete:i,onClose:s,disabled:o=!1,size:l="medium",color:c="secondary",leadingIcon:f,"data-e2e":d="chip","data-component":u="chip",tabIndex:p=0,..._}=t,E=ae("sg-chip",l&&`sg-chip--size-${l}`,c&&`sg-chip--color-${c}`,o&&"sg-chip--disabled",(!i||!s)&&"sg-chip__disable-hover",n),v=i||s;return s&&a.deprecation("@deprecated - property onClose will soon stop working. Use onDelete instead"),A.createElement("div",{ref:e,className:E,"data-e2e":d,"data-component":u,tabIndex:p,...Ge(_)},A.createElement("div",{className:"sg-chip__overlay"}),f?A.createElement("div",{className:"sg-chip__icon_wrapper sg-chip__icon_wrapper--leading"},A.createElement(qe,{className:"sg-chip_item sg-chip_item--icon",name:f,size:"18","data-e2e":"chip-leading-icon"})):A.createElement(xd,{size:Y0[l]}),A.createElement(ye,{className:"sg-chip_item sg-chip_item--text",size:l,truncate:!0},r),v?A.createElement("div",{className:"sg-chip__icon_wrapper sg-chip__icon_wrapper--trailing"},A.createElement(qe,{className:"sg-chip_item sg-chip_item--icon sg-chip_item--icon__trailing",name:"material/cancel",size:"18","data-e2e":"chip-trailing-icon",onClick:v})):A.createElement(xd,{size:Y0[l]}))};go.displayName="Chip";const ht=({ref:e,...t})=>{const{children:a,className:n,size:r="medium",icon:i,shape:s="circle",disabled:o,tag:l="div",type:c="ghost",color:f="primary","data-e2e":d="icon-button","data-component":u="icon-button",tabIndex:p=0,..._}=t,E=i0(i),v=ae("sg-icon-button",s&&`sg-icon-button--shape-${s}`,r&&`sg-icon-button--${r}`,E&&"icon-button__legacy-icon",n);return A.createElement(Nd,{ref:e,className:v,disabled:o,tag:l,type:c,color:f,"data-e2e":d,"data-component":u,tabIndex:p,..._},i&&A.createElement(qe,{name:i,size:GC(E,r),className:"sg-icon-button__icon",tabIndex:null,"aria-hidden":!0}),a)};function Az(e,...t){return Object.entries(e).filter(([a])=>!t.includes(a)).reduce((a,[n,r])=>({...a,[n]:r}),{})}const Cz=({children:e,tooltip:t,disabled:a,...n})=>A.createElement(ye,{className:"sg-form-label",color:a?"typography-disabled":"dark",align:"left",padding:e?["inherit","inherit","xx-small","inherit"]:"none",tag:"span","data-e2e":"form-label","data-component":"form-label",...n},e,t&&A.createElement(qe,{className:"sg-form-label-tooltip",name:"information",size:"12",color:"dark",tooltip:t,tabIndex:null})),xz=({validationMessageTemplate:e,validationMessage:t,state:a="hint",className:n,focused:r,showValidation:i,truncate:s=!0,"data-e2e":o="validation",...l})=>{const c=n?`${n} ${n}-${a}`:"",f=ae("sg-validation",`sg-validation--${a}`,r&&"sg-validation--focused",i&&"sg-validation--error-visible",s&&"sg-validation--truncate",c);return!t&&!e?null:e?A.createElement("div",{className:f,...l,"data-e2e":o},e()):A.createElement("div",{className:f,...l,"data-e2e":o},A.createElement("span",null,t))};var zz=Object.defineProperty,Nz=(e,t,a)=>t in e?zz(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,jr=(e,t,a)=>(Nz(e,typeof t!="symbol"?t+"":t,a),a);const Oz=new mc,Dz=e=>e&&["error","warning"].includes(e),oh=e=>{class t extends A.Component{constructor(){super(...arguments),jr(this,"state",{debounce:null,props:{validationMessage:null,validationMessageTemplate:null}}),jr(this,"debouncedTimerId",null),jr(this,"setDebouncedState",()=>{const{state:n,_enableDebounce:r}=this.props;this.debouncedTimerId&&clearTimeout(this.debouncedTimerId);const i={props:{validationMessage:this.props.validationMessage,validationMessageTemplate:this.props.validationMessageTemplate}};if(r&&this.state.debounce&&n==="error"){this.debouncedTimerId=setTimeout(()=>this.setState(i),500);return}this.setState(i)}),jr(this,"onBlurHandler",n=>{this.props.onBlur&&this.props.onBlur(n)}),jr(this,"onFocusHandler",n=>{this.props.onFocus&&this.props.onFocus(n)}),jr(this,"onKeyDownHandler",n=>{this.setState({debounce:!0}),this.props.onKeyDown&&this.props.onKeyDown(n)})}componentDidMount(){this.setDebouncedState()}componentDidUpdate(n){(this.props.value!==n.value||this.props.state!==n.state||this.props.validationMessage!==n.validationMessage)&&this.setDebouncedState()}render(){const{state:n,size:r,style:i,className:s,label:o,fieldClassName:l,tag:c,wrapperClassName:f,validationClassName:d,truncateValidationMessage:u,labelTooltip:p,forwardedRef:_,...E}=this.props,{validationMessage:v,validationMessageTemplate:g}=this.state.props,k=Az(E,"validationMessage","validationMessageTemplate"),y=ae("sg-field-label",s),b=Dz(n),w=!!(v||g),h=ae("sg-field-wrapper",`sg-field-wrapper--${r}`,n&&`sg-field-wrapper--${n}`,E.readOnly&&"sg-field-wrapper--readonly",E.disabled&&"sg-field-wrapper--disabled",w&&"sg-field-wrapper--has-validation",this.props.isFocused&&"sg-field-wrapper--focused",f),S=ae("sg-field",l);return n==="hint"&&Oz.log('The "hint" state of withFormField is deprecated and scheduled for removal in future versions.'),A.createElement(c,{className:y,style:i,"data-disabled":E.disabled,"data-e2e":`${E["data-e2e"]}-label`,onFocus:this.onFocusHandler,onBlur:this.onBlurHandler},A.createElement(Cz,{color:E.disabled?"typography-disabled":"dark",tooltip:p},o),A.createElement("span",{className:h},A.createElement(e,{...k,ref:_,size:r,state:n,className:S,onKeyDown:this.onKeyDownHandler,hasValidationMessage:w})),A.createElement(xz,{"aria-live":"polite",validationMessageTemplate:g,validationMessage:v,state:n,className:d,focused:this.props.isFocused,showValidation:b,truncate:u}))}}return jr(t,"defaultProps",{_enableDebounce:!0,size:"medium",tag:"label","data-e2e":"form-field"}),({ref:a,...n})=>A.createElement(t,{...n,forwardedRef:a})};oh.displayName="withFormField";const Rz=({event:e,onClick:t})=>{(qt.ENTER===e.key||qt.SPACE===e.key)&&t(e)},lh=e=>{const{icon:t,secondaryText:a,children:n,className:r,disabled:i,selected:s,onClick:o=()=>null,tabIndex:l,"data-e2e":c="menu-item","data-component":f="menu-item",...d}=e,u=ae("sg-menu-item",i&&"sg-menu-item--disabled",s&&"sg-menu-item--selected",t&&a&&"sg-menu-item--icon-align",r);return A.createElement("li",{className:u,onClick:p=>{if(i){p.stopPropagation();return}o(p)},"data-autofocus":s,"data-e2e":c,"data-component":f,role:"menuitem",...Ge(d),onKeyDown:p=>Rz({event:p,onClick:o}),tabIndex:l,"aria-disabled":i,"aria-selected":s},t&&A.createElement(qe,{name:t,size:"18"}),A.createElement(re,{className:"sg-menu-item__text-container",direction:"column"},A.createElement("span",{className:"sg-menu-item__text"},n),a&&A.createElement(ye,{className:"sg-menu-item__text",tag:"span",size:"small",color:"typography-tertiary"},a)))};lh.displayName="MenuItem";const Lz=({groupTitle:e,icon:t,"data-e2e":a="menu-group"})=>A.createElement(lh,{className:"sg-menu-group","data-e2e":a,icon:t},A.createElement(ye,{tag:"span",className:"sg-menu-group__text",transform:"uppercase",color:"typography-tertiary",weight:"bold"},e)),$0=({ref:e,...t})=>{const{className:a,size:n="medium",children:r,wrapperClasses:i,tabIndex:s,footer:o,wrapperRef:l,fitToOpener:c,drawerOnMobile:f=!0,"data-e2e":d="menu","data-component":u="menu",...p}=t,{device:_}=A.useContext(jt),E=ae("sg-menu-wrapper",f&&_.isPhone&&"sg-menu-wrapper--mobile",i),v=ae("sg-menu",`sg-menu--size-${n}`,c&&"sg-menu--fit-to-opener",a);return A.createElement("div",{ref:l,className:E,...Ge(p)},A.createElement("ul",{ref:e,className:v,"data-e2e":d,"data-component":u,onKeyDown:t.onKeyDown,tabIndex:s,role:"menu"},r),o)};$0.displayName="Menu";const Iz=({icon:e,iconColor:t,iconSize:a,state:n})=>{const r=n==="presentational"?"72":"30",i=n==="presentational"?"48":"20";return A.createElement(jt.Consumer,null,({device:s})=>A.createElement(qe,{name:e,color:t,size:a||(s.isDesktop?r:i),multicolor:!t}))},Q0=({ref:e,...t})=>{const[a,n]=A.useState(null),[r,i]=A.useState(null);A.useEffect(()=>{const U=Sd("sg-dialog-");n(U+"-title"),i(U+"-subtitle")},[]);const{autoFocus:s,align:o="center",children:l,className:c,density:f="medium",icon:d,iconColor:u,iconSize:p,footer:_,renderCustomHeader:E=()=>null,onCloseHandler:v,triggerClose:g,size:k="medium",state:y,title:b,subTitle:w,wrapperClassName:h,autoFocusTitle:S=!0,disableClose:O,"data-e2e":x="dialog","data-component":T="dialog",...z}=t,L=ae("sg-dialog",`sg-dialog--align-${o}`,`sg-dialog--size-${k}`,f&&`sg-dialog--density-${f}`,y?`sg-dialog--state-${y}`:"sg-dialog--no-state",c),P=b||w;return A.createElement(jC,{className:L,wrapperClassName:h,disableClose:O,autoFocus:s,"data-e2e":x,"data-component":T,...Ge(z),ref:e,renderCustomHeader:E,onCloseHandler:v,triggerClose:g,padding:k==="viewport"?"none":void 0,role:"dialog","aria-modal":"true","aria-labelledby":a,"aria-describedby":r},A.createElement("div",{className:"sg-dialog__content-wrapper"},d&&A.createElement("div",{className:"sg-dialog__icon-wrapper"},A.createElement("div",{className:"sg-dialog__icon"},A.createElement(Iz,{icon:d,iconColor:u,iconSize:p,state:y}))),P&&A.createElement("div",{className:"sg-dialog__title-wrapper"},b&&A.createElement(dt,{id:a,level:"3",weight:"medium",className:"sg-dialog__title",align:o,tabIndex:S?0:null},b),w&&A.createElement(ye,{id:r,weight:"bold",color:"dark",align:o},w)),A.createElement("div",{className:"sg-dialog__content"},l)),_&&A.createElement(UC,{density:"comfortable",justify:"flex-end"},_))};Q0.displayName="Dialog";const Mz=Ad(e=>{const{addonType:t,addonClasses:a,device:n,numberOfCharactersToTrim:r,onMouseEnter:i,onMouseLeave:s,"data-e2e":o="addon",...l}=e,c=n&&n.isPhone?kC:bC,f=r||c,d=t.length>=f,u=ae(d&&"sg-input-text-truncate");return A.createElement("div",{key:`${t}`,className:a,onMouseEnter:p=>{i&&d&&i(p)},onMouseLeave:p=>{s&&d&&s(p)},"data-e2e":o},d&&A.createElement("span",{...l}),A.createElement("span",{className:u},t))});var Pz=Object.defineProperty,Uz=(e,t,a)=>t in e?Pz(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,yo=(e,t,a)=>(Uz(e,typeof t!="symbol"?t+"":t,a),a);const ch="prefix",Dc="suffix",uh="password",Bz="text";class V0 extends A.Component{constructor(){super(...arguments),yo(this,"state",{isPasswordVisible:!1}),yo(this,"getAddonTemplate",t=>{const{forceAddonClass:a,disableTogglePassword:n,type:r}=this.props,{addon:i,addonTypeIsString:s,addonClasses:o}=this.getAddonProps(t,a),l=r===uh&&t===Dc&&!n;return!i&&!l?null:i&&s?A.createElement(Mz,{key:t,addonType:i,addonClasses:o,tooltip:i}):this.renderDefaultAddon(t,i,o,l)}),yo(this,"togglePasswordVisibility",t=>{t.preventDefault(),this.setState({isPasswordVisible:!this.state.isPasswordVisible})}),yo(this,"handleKeyUp",t=>{const{onPressEnter:a,onKeyUp:n}=this.props;t.key===qt.ENTER&&a&&a(),n&&n(t)})}componentDidUpdate(t,a,n){t.visiblePassword!==this.props.visiblePassword&&this.setState({isPasswordVisible:this.props.visiblePassword})}getAddonProps(t,a){const n=this.props[t],r=typeof n=="string",i=ae("sg-input-addon",`sg-input-addon__size--${this.props.size}`,ch===t&&"sg-input-addon--prefix",Dc===t&&"sg-input-addon--suffix",this.props.hasValidationMessage&&"sg-input-addon--has-validation",this.props.disabled&&"sg-input-addon--disabled",a&&typeof n!="string"&&"sg-input-addon--component",Dc===t&&a&&typeof n!="string"&&"sg-input-addon--component-suffix",ch===t&&a&&typeof n!="string"&&"sg-input-addon--component-prefix");return{addon:n,addonTypeIsString:r,addonClasses:i}}renderDefaultAddon(t,a,n,r){return A.createElement("span",{key:t,className:n},r&&A.createElement(ht,{icon:this.state.isPasswordVisible?"material/visibility":"material/visibility_off",size:"x-small",onClick:this.togglePasswordVisibility,"data-e2e":this.state.isPasswordVisible?"password-hide":"password-show",role:"switch","aria-label":"show password","aria-checked":this.state.isPasswordVisible}),a)}render(){const{onRefsReady:t,type:a,className:n,tabIndex:r,"data-e2e":i,"data-component":s,...o}=this.props,l=this.state.isPasswordVisible?Bz:uh;return A.createElement(A.Fragment,null,this.getAddonTemplate(ch),A.createElement("input",{className:ae("sg-input",n),"data-e2e":i,"data-component":s,tabIndex:r,...Ge(o),onKeyUp:this.handleKeyUp.bind(this),ref:c=>{t&&t(c)},type:a===uh?l:a}),this.getAddonTemplate(Dc))}}yo(V0,"defaultProps",{disableTogglePassword:!1,forceAddonClass:!0,"data-e2e":"input","data-component":"input",tabIndex:0});const Fz=oh(V0),Rc=280,fh=504,dh="sg-drawer--full-width",G0="NavigationRail",X0=new mc,Hz=e=>pe.useMemo(()=>(e>fh?X0.log(`The "width" prop of Drawer (${e}px) is too large. It has been capped at ${fh}px.`):e<Rc&&X0.log(`The "width" prop of Drawer (${e}px) is too small. It has been set to ${Rc}px.`),Math.max(Rc,Math.min(e,fh))),[e]),jz=(e,t,a,n,r)=>{pe.useEffect(()=>{if(!t||!e.current)return;if(a.isPhone||t.classList.contains(dh)||r){const o=n?0:-100;e.current.style.transform=`translateX(${o}%)`;return}const i=e.current.clientWidth,s=n?t.clientWidth:-1*(i-t.clientWidth);e.current.style.transform=`translateX(${s}px)`},[n,a.isPhone,t,r,e])},qz=(e,t,a,n,r,i)=>{const[s,o]=pe.useState(void 0);return pe.useLayoutEffect(()=>{if(!t||!e.current)return;const l=()=>{if(n.isPhone||t.classList.contains(dh)||r){o(void 0);return}const c=t.getBoundingClientRect(),f=window.innerWidth-c.right;typeof a=="number"&&f<a?o(f):o(void 0)};return l(),window.addEventListener("resize",l),()=>window.removeEventListener("resize",l)},[a,t,n.isPhone,r,i,e]),s},Yz=({header:e,footer:t,children:a,nestedDropdown:n,isOpen:r,className:i,width:s=Rc,fullWidth:o=!1,offset:l=G0,overlay:c=!1,style:f,tag:d="aside","data-e2e":u="drawer","data-component":p="drawer",showHeaderDivider:_=!0,showFooterDivider:E=!0,...v})=>{const{device:g}=pe.useContext(jt),k=pe.useRef(null),[y,b]=pe.useState(null);pe.useEffect(()=>{var T,z;b((z=(T=k.current)==null?void 0:T.parentElement)==null?void 0:z.closest(".sg-drawer"))},[]);const w=Hz(s),h=pe.useMemo(()=>{let T="100vw";return l===G0?T="calc(100vw - var(--sg-drawer-offset-width, 0px))":typeof l=="number"&&l>0&&(T=`calc(100vw - ${l}px)`),o?T:`min(${w}px, ${T})`},[o,l,w]),S=qz(k,y,w,g,o,!!r);jz(k,y,g,!!r,o);const O=d,x={...typeof l=="number"?{"--sg-drawer-offset-width":`${l}px`}:{},width:h,maxWidth:S,...f};return pe.createElement("div",{className:ae("sg-drawer-wrapper",r&&"sg-drawer-wrapper--open")},c&&pe.createElement("div",{className:"sg-drawer-overlay"}),pe.createElement(O,{className:ae("sg-drawer",r&&"sg-drawer--open",l!==0&&"sg-drawer--offset",o&&dh,i),"data-e2e":u,"data-component":p,ref:k,style:x,...v},pe.createElement(BC,{className:"sg-drawer__panel",header:e,showHeaderDivider:_,body:a,footer:t,showFooterDivider:E}),n))},K0=e=>{const{size:t="medium",density:a="medium",ordered:n=!1,orientation:r="vertical",children:i,className:s,type:o,showFirstIcon:l=!1,justify:c="flex-start",color:f="dark",padding:d,"data-e2e":u="list","data-component":p="list",..._}=e,E=ae("sg-list",`sg-list--size-${t}`,`sg-list--density-${a}`,`sg-list--orientation-${r}`,o&&`sg-list--type-${o}`,c&&`sg-list--justify-${c}`,n&&"sg-list--ordered",l&&"sg-list--show-first-icon",f&&`sg-list--color-${f}`,Ai(d),yc(_),s);return n?A.createElement("ol",{className:E,"data-e2e":u,"data-component":p,...Ge(_)},i):A.createElement("ul",{className:E,"data-e2e":u,"data-component":p,...Ge(_)},i)},$z=({icon:e,children:t,className:a,iconSize:n="8",iconColor:r,padding:i,color:s,"data-e2e":o="list-item","data-component":l="list-item",...c})=>{const f=ae("sg-list__item",Ai(i),s&&`sg-list__item--color-${s}`,a);return A.createElement("li",{className:f,"data-e2e":o,"data-component":l,...c},e&&A.createElement("div",{className:"sg-list__wrapper-icon"},A.createElement(qe,{name:e,size:n,className:"sg-list__icon",color:r})),A.createElement("div",{className:"sg-list__content"},t))},Qz=({iconSize:e})=>A.createElement("div",{className:"sg-loader__spinner","data-e2e":"loader-spinner"},A.createElement(qe,{name:"loader",color:"success",size:e,multicolor:!0})),hh=({background:e="default",children:t,className:a,delay:n=1e3,density:r="medium",hideSpinner:i=!1,iconSize:s="50",position:o="fixed",spinnerPosition:l="sticky",border:c="none",borderRadius:f="inherit",tabIndex:d=0,autoFocus:u=!1,renderCustomIcon:p=Qz,..._})=>{const[E,v]=A.useState(null);A.useEffect(()=>{if(n===0){v(!0);return}const b=setTimeout(()=>v(!0),n);return()=>clearTimeout(b)},[n]);const g=ae("sg-loader",`sg-loader--density-${r}`,`sg-loader--position-${o}`,`sg-loader--background-${e}`,wd(c,f),a),k=ae("sg-loader__content",`sg-loader__content--position-${l}`,!E&&"sg-loader__content--transparent"),y=ae("sg-loader__message",`sg-loader__message--color-${e}`);return A.createElement(Td,{autoFocus:u,"data-e2e":"loader","data-component":"loader"},A.createElement(vd,null),A.createElement("div",{className:g,"data-e2e":"loader-content",...Ge(_),"aria-busy":"true","aria-live":"polite",tabIndex:d},E&&A.createElement("div",{className:k},!i&&p({iconSize:s}),t&&A.createElement("div",{className:y,"data-e2e":"loader-message"},t))))},W0={success:"material/check_circle_filled",error:"material/error_filled",warning:"material/warning_filled",info:"material/info_filled",hint:"material/info_filled"},Vz={success:"success",error:"error",warning:"warning",info:"info",hint:"typography-tertiary"},ph=({ref:e,...t})=>{const{children:a,layout:n="standard",actions:r,className:i,title:s,type:o="hint",onClose:l,tabIndex:c=0,"data-e2e":f="notice","data-component":d="notice",...u}=t,p=ae("sg-notice",`sg-notice--type-${o}`,i),_=Sd("sg-notice-content-"),E={id:_,className:"sg-notice__content",padding:["x-small","none"],grow:"1"},v=l&&A.createElement(ht,{className:"sg-notice__close-icon",icon:"material/close",type:"ghost",size:"small",color:"secondary",onClick:l}),g=()=>A.createElement(A.Fragment,null,A.createElement(re,{...E,direction:"column",gap:"xx-small"},s&&A.createElement(dt,{level:"5",color:"typography-primary"},s),A.createElement("div",{className:"sg-notice__content-inner"},a),r&&A.createElement(re,{align:"center",alignSelf:"flex-start",shrink:"none",padding:["x-small","none","none","none"]},r)),v),k=()=>A.createElement(A.Fragment,null,A.createElement(re,{...E},A.createElement("div",{className:"sg-notice__content-inner"},a)),(r||v)&&A.createElement(re,{align:"center",alignSelf:"center",shrink:"none"},r,v));return A.createElement(re,{ref:e,className:p,padding:["small","medium"],gap:"small",wrap:"nowrap",tabIndex:c,"data-e2e":f,"data-component":d,role:"group","aria-labelledby":_,...Ge(u)},W0[o]&&A.createElement(qe,{className:"sg-notice__icon",name:W0[o],size:"24",color:Vz[o]}),n==="standard"?g():k())};ph.displayName="Notice";const Gz={success:"success",error:"error",warning:"warning",info:"information",hint:"information"},Xz=e=>{const{className:t,device:a,message:n,title:r,type:i,onClose:s,children:o,style:l,enter:c,onEnter:f,onEntered:d,onEntering:u,exit:p,onExit:_,onExited:E,onExiting:v,"data-e2e":g="notification","data-component":k="notification",tabIndex:y=-1,...b}=e,w=A.useRef(null),h=ae("sg-notification",i&&`sg-notification--${i}`,t);return A.createElement(Md,{classNames:"sg-notification--animation",...Ge(b),in:e.in,nodeRef:w,enter:c,onEnter:f,onEntered:d,onEntering:u,exit:p,onExit:_,onExited:E,onExiting:v,mountOnEnter:!0,unmountOnExit:!0,timeout:{enter:1,exit:500}},A.createElement("div",{ref:w,style:l,className:h,"data-e2e":g,"data-e2e-status":i,"data-component":k,tabIndex:y},A.createElement("div",{className:"sg-notification__icon"},A.createElement(qe,{name:Gz[i],color:"white",size:a.isPhone?"15":"20"})),A.createElement("div",{className:"sg-notification__content","data-e2e":"notification-content"},A.createElement(dc,{gap:"x-small"},A.createElement("div",null,A.createElement(dt,{level:"6",className:"sg-notification__title"},r),n&&A.createElement(ye,{size:"small",color:"dark"},n)),o)),A.createElement("div",{className:"sg-notification__close-icon","data-e2e":"notification-close-icon"},s&&A.createElement(ht,{icon:"material/close",size:"small",onClick:s,tabIndex:-1}))))},Z0=e=>A.createElement(jt.Consumer,null,({device:t})=>A.createElement(Xz,{...e,device:t}));Z0.displayName="Notification";const Kz=Z0,Wz=({className:e,children:t,...a})=>{const n=ae("sg-notifications",(!t||t.length===0)&&"sg-notifications-is-empty",e);return A.createElement(Ud,{className:n,...Ge(a),role:"alert","data-e2e":"notifications","data-component":"notifications"},t)},Zz=12,Jz=6,e6=(e,t)=>t||(e.isPhone?Jz:Zz),J0=(e,t,a)=>{const{lineHeight:n,paddingTop:r,paddingBottom:i}=getComputedStyle(e),s=parseFloat(n),o=parseFloat(r)+parseFloat(i);return e6(t,a)*s+o},t6=({maxRows:e,expandable:t,value:a,apiRef:n})=>{const{device:r}=A.useContext(jt),i=A.useRef(null),s=A.useRef(!1),o=A.useCallback(()=>{i.current&&(i.current.style.height=`${i.current.offsetHeight}px`)},[]),l=A.useCallback(({action:d,height:u,isTextareaAutoExpandable:p})=>{if(i.current)if(d==="expand")i.current.style.height=typeof u=="number"?`${u}px`:u||"",i.current.style.overflow="auto";else{const _=J0(i.current,r,e),E=i.current.offsetHeight;i.current.style.height="";const v=p?i.current.scrollHeight:i.current.offsetHeight;i.current.style.height=`${E}px`,i.current.offsetHeight,i.current.style.height=`${Math.min(v,_)}px`,s.current=!0}},[r,e]),c=A.useCallback(()=>{const d=i.current;if(!d)return;d.style.height="";const u=J0(d,r,e),p=d.scrollHeight;d.style.height=`${Math.min(p,u)}px`,d.style.overflow=p>u?"auto":"hidden"},[e,r]),f=()=>{t&&(s.current=!0,c())};return A.useImperativeHandle(n,()=>({resize:l,setInitialInlineHeight:o}),[o,l]),A.useEffect(()=>{if(s.current){s.current=!1;return}t&&c()},[t,c,a]),{textareaRef:i,handleAutoExpandResizeOnChange:f}},a6=oh(({className:e,onRefsReady:t,tabIndex:a=0,size:n="medium",rows:r,"data-e2e":i="textarea","data-component":s="textarea",expandable:o,maxRows:l,onChange:c,toolbarTop:f,toolbarBottom:d,apiRef:u,...p})=>{const _=ae(e,"sg-textarea",n&&`sg-textarea--${n}`),{textareaRef:E,handleAutoExpandResizeOnChange:v}=t6({maxRows:l,expandable:o,value:p==null?void 0:p.value,apiRef:u});return A.createElement("div",{className:"sg-textarea-container"},f,A.createElement("div",{className:"sg-textarea-scroll-wrapper"},A.createElement("textarea",{ref:g=>{t&&t(g),E.current=g},className:_,"data-e2e":i,"data-component":s,tabIndex:a,rows:r,...Ge(p),onChange:g=>{v(),c==null||c(g)}})),d)}),eb=({backgroundColor:e="primary",children:t,className:a,...n})=>A.createElement(re,{className:ae("sg-textarea__toolbar",`sg-textarea__toolbar--${e}`,a),...n,onClick:r=>r.preventDefault()},t);var n6=Object.defineProperty,r6=(e,t,a)=>t in e?n6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,mh=(e,t,a)=>(r6(e,typeof t!="symbol"?t+"":t,a),a);class i6{constructor(){mh(this,"subscribersOnOpen",{}),mh(this,"subscribersOnClose",{}),mh(this,"subscribersOnData",{})}subscribe(t,a,n="visibility"){switch(n){case"open":this.subscribersOnOpen[t]=this.subscribersOnOpen[t]?this.subscribersOnOpen[t].concat(a):[a];break;case"close":this.subscribersOnClose[t]=this.subscribersOnClose[t]?this.subscribersOnClose[t].concat(a):[a];break;case"visibility":this.subscribersOnOpen[t]=this.subscribersOnOpen[t]?this.subscribersOnOpen[t].concat(a):[a],this.subscribersOnClose[t]=this.subscribersOnClose[t]?this.subscribersOnClose[t].concat(a):[a];break;case"data":this.subscribersOnData[t]=this.subscribersOnData[t]?this.subscribersOnData[t].concat(a):[a];break}}emit(t,a,n=null){var r,i,s;switch(a){case"open":(r=this.subscribersOnOpen[t])==null||r.forEach(o=>o("open"));break;case"close":(i=this.subscribersOnClose[t])==null||i.forEach(o=>o("close"));break;case"data":(s=this.subscribersOnData[t])==null||s.forEach(o=>o(n));break;case"visibility":throw"Cannot open and close dialog at the same time"}}unsubscribe(t,a,n="visibility"){var r,i,s,o,l;switch(n){case"open":this.subscribersOnOpen[t]=(r=this.subscribersOnOpen[t])==null?void 0:r.filter(c=>c!==a);break;case"close":this.subscribersOnClose[t]=(i=this.subscribersOnClose[t])==null?void 0:i.filter(c=>c!==a);break;case"visibility":this.subscribersOnOpen[t]=(s=this.subscribersOnOpen[t])==null?void 0:s.filter(c=>c!==a),this.subscribersOnClose[t]=(o=this.subscribersOnClose[t])==null?void 0:o.filter(c=>c!==a);break;case"data":this.subscribersOnData[t]=(l=this.subscribersOnData[t])==null?void 0:l.filter(c=>c!==a);break}}open(t){this.emit(t,"open")}close(t){this.emit(t,"close")}hidrate(t,a=null){this.emit(t,"data",a)}}const qr=new i6;var s6=Object.defineProperty,o6=(e,t,a)=>t in e?s6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,tb=(e,t,a)=>(o6(e,typeof t!="symbol"?t+"":t,a),a);class l6 extends A.Component{constructor(){super(...arguments),tb(this,"state",{open:!1,closing:!1}),tb(this,"handleChange",t=>{t==="open"?this.setState({open:!0,closing:!1}):this.setState(a=>({open:!1,closing:a.open}))})}componentDidMount(){qr.subscribe(this.props.id,this.handleChange)}componentWillUnmount(){qr.unsubscribe(this.props.id,this.handleChange)}render(){const{id:t,onCloseHandler:a,...n}=this.props,{open:r,closing:i}=this.state;return!r&&!i?null:A.createElement(Q0,{...n,"data-e2e":`sg-dialog-${t}`,triggerClose:i,onCloseHandler:()=>{a&&a(),qr.close(t)}})}}const gh={AutoClose:"autoClose",Prompt:"prompt"};var c6=Object.defineProperty,u6=(e,t,a)=>t in e?c6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,yh=(e,t,a)=>(u6(e,typeof t!="symbol"?t+"":t,a),a);const f6=7e3;class d6 extends A.Component{constructor(){super(...arguments),yh(this,"timeout"),yh(this,"defaultTitles",{success:this.props.defaultSuccessTitle,error:this.props.defaultErrorTitle}),yh(this,"handleClose",()=>{const{removeNotification:t,notification:a}=this.props;switch(a.behaviour){case gh.AutoClose:return this.timeout===void 0?void 0:(clearTimeout(this.timeout),this.timeout=void 0,t(a.id));case gh.Prompt:return t(a.id)}})}componentDidMount(){this.props.notification.behaviour===gh.AutoClose&&(this.timeout=setTimeout(()=>{this.handleClose()},f6))}componentWillUnmount(){this.handleClose()}render(){const{notification:t,defaultErrorTitle:a,defaultSuccessTitle:n,removeNotification:r,...i}=this.props,s=t.title||this.defaultTitles[t.type];return A.createElement(Kz,{type:t.type,title:s,message:t.message,onClose:this.handleClose,...i},t.renderChildren&&t.renderChildren(this.props))}}const h6="wp-ai-studio-chat-layout",_o=800,p6=400,Di=540,Ri=540,Li=800,Ii=60,ab=30,m6="most-popular",g6=352,Mi="wpais-docked",bo="wpais-full",ko="--wpais-dock-w",Lc="--wpais-admin-bar-h",y6=()=>{const t=window.innerWidth||document.documentElement.clientWidth||1024,a=window.innerHeight||document.documentElement.clientHeight||768,n=a-_o-20>32?a-_o-20:32;return{left:Math.max(0,t-Ri-20),top:Math.max(0,n),width:Ri,height:_o}},_6=()=>({position:y6(),minimizedPosition:null}),b6=()=>({width:Ri}),k6=e=>{const t=window.innerWidth,a=window.innerHeight,n=Math.min(Math.max(e.width,Di),t),r=Math.min(e.height,a),i=Math.min(Math.max(e.left,0),Math.max(0,t-n)),s=Math.min(Math.max(e.top,0),Math.max(0,a-r));return{left:i,top:s,width:n,height:r}},w6=e=>({left:Math.min(Math.max(e.left,0),Math.max(0,window.innerWidth-Ii)),top:Math.min(Math.max(e.top,0),Math.max(0,window.innerHeight-Ii))}),nb=e=>{const t=Math.max(Di,window.innerWidth/2);return Math.min(Math.max(e,Di),t)},E6=e=>({...e,minimized:e.displayMode==="full"?!0:e.minimized,floating:e.floating?{position:k6(e.floating.position),minimizedPosition:e.floating.minimizedPosition?w6(e.floating.minimizedPosition):null}:e.floating,docked:e.docked?{width:nb(e.docked.width)}:e.docked}),rb=Kt({name:"app",initialState:{config:{home_url:"",admin_url:"",rest_base:"",assetsPath:"",localeSlug:"",locale:"",wp_nonce:"",plugin_version:"",wp_version:"",welcome_msg:"",is_staging:!1,is_siteground:!1,defaultDisplayMode:"popover",chatSource:"wp_admin_chatbox",quickActions:{categories:[],actionsTitle:"",actions:{}}},historyVisibility:!1},reducers:{saveConfig:(e,t)=>{e.config={...t.payload,is_siteground:!!t.payload.is_siteground,is_staging:!!t.payload.is_staging}},setHistoryVisibility:(e,t)=>{e.historyVisibility=t.payload}}}),{saveConfig:ib,setHistoryVisibility:wo}=rb.actions,T6=rb.reducer,v6=e=>{if(typeof e!="string")return;const t=/'code':\s*'([^']+)'/.exec(e);return t==null?void 0:t[1]},S6=(e,t)=>e==="context_length_exceeded"?"context_length_exceeded":t===402?"insufficient_balance":"generic",A6=["image_generation","image_editing"],_h=e=>!e||typeof e.name!="string"?!1:A6.includes(e.name),sb=e=>{const{response:t}=e;return t.error?!0:t.output.status==="error"||t.output.success===!1},ob=(e,t)=>{const a=e[e.length-1];(a==null?void 0:a.type)==="text"?a.content+=t:e.push({type:"text",content:t})},lb=(e,t)=>{e.segments||(e.segments=[]),!e.segments.some(a=>a.type==="tool"&&a.id===t.id)&&e.segments.push({type:"tool",id:t.id,name:t.name,args:t.args??{},status:"loading"})},cb=Kt({name:"messages",initialState:{threadId:null,messages:[],activeStreamingMessageId:null,phase:"initial",sessionStartTime:null,lastFailedRequest:null},reducers:{startNewConversation:(e,t)=>{e.threadId=null,e.messages=[{id:"initial-welcome-message",role:"assistant",content:t.payload.welcomeMsg,timestamp:Date.now(),isStreaming:!1,isComplete:!0,quickActions:t.payload.quickActions}],e.activeStreamingMessageId=null,e.phase="initial",e.lastFailedRequest=null},setThreadId:(e,t)=>{e.threadId=t.payload,e.phase="chat-active"},addUserMessage:(e,t)=>{const{id:a,content:n}=t.payload;e.messages.push({id:a,role:"user",content:n,timestamp:Date.now()}),e.phase="chat-active"},startAssistantMessage:(e,t)=>{const{id:a}=t.payload;e.messages.push({id:a,role:"assistant",content:"",segments:[],timestamp:Date.now(),isStreaming:!0,isComplete:!1}),e.activeStreamingMessageId=a},completeStreamingMessage:(e,t)=>{const{messageId:a}=t.payload,n=e.messages.find(r=>r.id===a&&r.role==="assistant");n&&(n.isStreaming=!1,n.isComplete=!0),e.activeStreamingMessageId===a&&(e.activeStreamingMessageId=null)},addActionRequestMessage:(e,t)=>{const{packet:a}=t.payload;e.messages.push({id:a.message_id,role:"action_request",actionRequired:a.action_required.user_action_required,toolCall:a.tool_call,timestamp:Date.now(),isResolved:!1})},resolveActionRequest:(e,t)=>{const{messageId:a}=t.payload,n=e.messages.find(r=>r.id===a&&r.role==="assistant");n!=null&&n.actionRequest&&(n.actionRequest.isResolved=!0)},processStreamingPacket:(e,t)=>{var r;const{messageId:a,packet:n}=t.payload;switch(n.type){case"text_delta":{const i=e.messages.find(s=>s.id===a&&s.role==="assistant");if(i&&i.isStreaming){const s=n.content;i.content+=s,i.segments||(i.segments=[]),ob(i.segments,s)}break}case"tool_call":{const i=n;if(!i.content)break;const s=e.messages.find(o=>o.id===a&&o.role==="assistant");s&&lb(s,i.content);break}case"tool_result":{const i=n;if(!i.content)break;const s=e.messages.find(o=>o.id===a&&o.role==="assistant");if(s){const o=i.content,l=sb(o),c=(r=s.segments)==null?void 0:r.find(f=>f.type==="tool"&&f.id===o.id);c&&(c.status=l?"error":"success"),!l&&_h(o)&&(s.segments||(s.segments=[]),s.segments.push({type:"image",content:o}))}break}case"user_action_request":{const i=n,s=e.messages.find(o=>o.id===a&&o.role==="assistant");s&&(s.actionRequest={actionRequired:i.action_required.user_action_required,toolCall:i.tool_call,isResolved:!1},i.tool_call&&lb(s,{id:i.tool_call.id,name:i.tool_call.name,args:i.tool_call.args}));break}}},loadMessages:(e,t)=>{const{threadId:a,messages:n}=t.payload;e.threadId=a,e.messages=n,e.activeStreamingMessageId=null,e.phase="chat-active"},setError:(e,t)=>{var n,r;e.phase="error";const a=S6((n=t.payload)==null?void 0:n.errorCode,(r=t.payload)==null?void 0:r.statusCode);if(e.activeStreamingMessageId){const i=e.messages.find(s=>s.id===e.activeStreamingMessageId&&s.role==="assistant");i&&(i.isStreaming=!1,i.isComplete=!0,i.errorOccurred=!0,i.errorType=a),e.activeStreamingMessageId=null}},removeLastFailedMessage:e=>{if(e.messages.length>0){const t=e.messages[e.messages.length-1];if(t.role==="assistant"&&t.errorOccurred){e.messages.pop();const a=e.messages[e.messages.length-1];(a==null?void 0:a.role)==="user"&&e.messages.pop()}}},updateSessionTimestamp:e=>{e.sessionStartTime=Date.now()},clearSession:(e,t)=>{var a;e.threadId=null,e.messages=[],e.activeStreamingMessageId=null,e.phase="initial",e.sessionStartTime=null,e.lastFailedRequest=null,(a=t.payload)!=null&&a.welcomeMsg&&e.messages.push({id:"initial-welcome-message",role:"assistant",content:t.payload.welcomeMsg,timestamp:Date.now(),isStreaming:!1,isComplete:!0,quickActions:t.payload.quickActions})},setLastFailedRequest:(e,t)=>{e.lastFailedRequest=t.payload},clearLastFailedRequest:e=>{e.lastFailedRequest=null}},extraReducers:e=>{e.addCase(ib,(t,a)=>{t.messages.length===0&&a.payload.welcome_msg&&t.messages.push({id:"initial-welcome-message",role:"assistant",content:a.payload.welcome_msg,timestamp:Date.now(),isStreaming:!1,isComplete:!0,quickActions:a.payload.quickActions})})}}),{startNewConversation:C6,setThreadId:ub,addUserMessage:x6,startAssistantMessage:z6,completeStreamingMessage:fb,addActionRequestMessage:wq,resolveActionRequest:N6,processStreamingPacket:O6,loadMessages:D6,setError:bh,removeLastFailedMessage:R6,updateSessionTimestamp:L6,clearSession:Ic,setLastFailedRequest:I6,clearLastFailedRequest:db}=cb.actions,M6=cb.reducer,P6={displayMode:"popover",minimized:!0,activeThreadId:null,floating:_6(),docked:b6()},hb=Kt({name:"chat",initialState:P6,reducers:{setDisplayMode:(e,t)=>{e.displayMode=t.payload},setMinimized:(e,t)=>{e.minimized=t.payload},setActiveThreadId:(e,t)=>{e.activeThreadId=t.payload},updateFloatingPosition:(e,t)=>{e.floating.position={...e.floating.position,...t.payload}},setMinimizedPosition:(e,t)=>{e.floating.minimizedPosition=t.payload},setDockedWidth:(e,t)=>{e.docked.width=t.payload}},extraReducers:e=>{e.addCase(Ic,t=>{t.activeThreadId=null}),e.addCase(C6,t=>{t.activeThreadId=null}),e.addCase(ub,(t,a)=>{t.activeThreadId=a.payload})}}),{setDisplayMode:Eo,setMinimized:kh,setActiveThreadId:U6,updateFloatingPosition:wh,setMinimizedPosition:B6,setDockedWidth:F6}=hb.actions,H6=hb.reducer,j6=Kt({name:"settings",initialState:{status:!1,token:null,enablePowerAgent:!1,activityLog:null},reducers:{}}).reducer,pb=Kt({name:"logout",initialState:null,reducers:{logoutAndClearTokens:e=>e}}),{logoutAndClearTokens:q6}=pb.actions,Y6=pb.reducer,mb=Kt({name:"files",initialState:{files:{attached:[]}},reducers:{uploadFilesStarted:(e,t)=>{e.files.attached=[...t.payload.files,...e.files.attached]},addAttachedFile:(e,t)=>{e.files.attached=[...e.files.attached,t.payload.file]},updateAttachedFileStatus:(e,t)=>{const a=e.files.attached.findIndex(n=>n.id===t.payload.id);a!==-1&&(e.files.attached[a].status=t.payload.status,t.payload.publicUrl&&(e.files.attached[a].publicUrl=t.payload.publicUrl),t.payload.error&&(e.files.attached[a].error=t.payload.error))},removeAttachedFile:(e,t)=>{e.files.attached=e.files.attached.filter(a=>a.id!==t.payload.id)},clearAttachedFiles:e=>{e.files.attached=[]},clearFailedUploads:e=>{e.files.attached=e.files.attached.filter(t=>t.status!=="error")},removeFileFromState:(e,t)=>{e.files.attached=e.files.attached.filter(a=>a.id!==t.payload.id)}}}),{uploadFilesStarted:$6,addAttachedFile:Q6,updateAttachedFileStatus:To,removeAttachedFile:V6,clearAttachedFiles:G6,clearFailedUploads:Sq,removeFileFromState:Aq}=mb.actions,X6=mb.reducer;var K6=class extends Error{constructor(t){super(t[0].message);Lt(this,"issues");this.name="SchemaError",this.issues=t}},gb=(e=>(e.uninitialized="uninitialized",e.pending="pending",e.fulfilled="fulfilled",e.rejected="rejected",e))(gb||{});function yb(e){return{status:e,isUninitialized:e==="uninitialized",isLoading:e==="pending",isSuccess:e==="fulfilled",isError:e==="rejected"}}var _b=Vn;function bb(e,t){if(e===t||!(_b(e)&&_b(t)||Array.isArray(e)&&Array.isArray(t)))return t;const a=Object.keys(t),n=Object.keys(e);let r=a.length===n.length;const i=Array.isArray(t)?[]:{};for(const s of a)i[s]=bb(e[s],t[s]),r&&(r=e[s]===i[s]);return r?e:i}function Pi(e){let t=0;for(const a in e)t++;return t}var kb=e=>[].concat(...e);function W6(e){return new RegExp("(^|:)//").test(e)}function Z6(){return typeof document>"u"?!0:document.visibilityState!=="hidden"}function Mc(e){return e!=null}function J6(){return typeof navigator>"u"||navigator.onLine===void 0?!0:navigator.onLine}var eN=e=>e.replace(/\/$/,""),tN=e=>e.replace(/^\//,"");function aN(e,t){if(!e)return t;if(!t)return e;if(W6(t))return t;const a=e.endsWith("/")||!t.startsWith("?")?"/":"";return e=eN(e),t=tN(t),`${e}${a}${t}`}function nN(e,t,a){return e.has(t)?e.get(t):e.set(t,a).get(t)}var wb=(...e)=>fetch(...e),rN=e=>e.status>=200&&e.status<=299,iN=e=>/ion\/(vnd\.api\+)?json/.test(e.get("content-type")||"");function Eb(e){if(!Vn(e))return e;const t={...e};for(const[a,n]of Object.entries(t))n===void 0&&delete t[a];return t}function Tb({baseUrl:e,prepareHeaders:t=d=>d,fetchFn:a=wb,paramsSerializer:n,isJsonContentType:r=iN,jsonContentType:i="application/json",jsonReplacer:s,timeout:o,responseHandler:l,validateStatus:c,...f}={}){return typeof fetch>"u"&&a===wb&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),async(u,p,_)=>{const{getState:E,extra:v,endpoint:g,forced:k,type:y}=p;let b,{url:w,headers:h=new Headers(f.headers),params:S=void 0,responseHandler:O=l??"json",validateStatus:x=c??rN,timeout:T=o,...z}=typeof u=="string"?{url:u}:u,L,P=p.signal;T&&(L=new AbortController,p.signal.addEventListener("abort",L.abort),P=L.signal);let U={...f,signal:P,...z};h=new Headers(Eb(h)),U.headers=await t(h,{getState:E,arg:u,extra:v,endpoint:g,forced:k,type:y,extraOptions:_})||h;const j=te=>typeof te=="object"&&(Vn(te)||Array.isArray(te)||typeof te.toJSON=="function");if(!U.headers.has("content-type")&&j(U.body)&&U.headers.set("content-type",i),j(U.body)&&r(U.headers)&&(U.body=JSON.stringify(U.body,s)),S){const te=~w.indexOf("?")?"&":"?",J=n?n(S):new URLSearchParams(Eb(S));w+=te+J}w=aN(e,w);const B=new Request(w,U);b={request:new Request(w,U)};let Y,V=!1,D=L&&setTimeout(()=>{V=!0,L.abort()},T);try{Y=await a(B)}catch(te){return{error:{status:V?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(te)},meta:b}}finally{D&&clearTimeout(D),L==null||L.signal.removeEventListener("abort",L.abort)}const ne=Y.clone();b.response=ne;let ie,M="";try{let te;if(await Promise.all([d(Y,O).then(J=>ie=J,J=>te=J),ne.text().then(J=>M=J,()=>{})]),te)throw te}catch(te){return{error:{status:"PARSING_ERROR",originalStatus:Y.status,data:M,error:String(te)},meta:b}}return x(Y,ie)?{data:ie,meta:b}:{error:{status:Y.status,data:ie},meta:b}};async function d(u,p){if(typeof p=="function")return p(u);if(p==="content-type"&&(p=r(u.headers)?"json":"text"),p==="json"){const _=await u.text();return _.length?JSON.parse(_):null}return u.text()}}var vb=class{constructor(e,t=void 0){this.value=e,this.meta=t}},Eh=ja("__rtkq/focused"),Sb=ja("__rtkq/unfocused"),Th=ja("__rtkq/online"),Ab=ja("__rtkq/offline");function Pc(e){return e.type==="query"}function sN(e){return e.type==="mutation"}function Uc(e){return e.type==="infinitequery"}function Bc(e){return Pc(e)||Uc(e)}function vh(e,t,a,n,r,i){return oN(e)?e(t,a,n,r).filter(Mc).map(Sh).map(i):Array.isArray(e)?e.map(Sh).map(i):[]}function oN(e){return typeof e=="function"}function Sh(e){return typeof e=="string"?{type:e}:e}function lN(e,t){return e.catch(t)}var vo=Symbol("forceQueryFn"),Ah=e=>typeof e[vo]=="function";function cN({serializeQueryArgs:e,queryThunk:t,infiniteQueryThunk:a,mutationThunk:n,api:r,context:i}){const s=new Map,o=new Map,{unsubscribeQueryResult:l,removeMutationResult:c,updateSubscriptionOptions:f}=r.internalActions;return{buildInitiateQuery:v,buildInitiateInfiniteQuery:g,buildInitiateMutation:k,getRunningQueryThunk:d,getRunningMutationThunk:u,getRunningQueriesThunk:p,getRunningMutationsThunk:_};function d(y,b){return w=>{var O;const h=i.endpointDefinitions[y],S=e({queryArgs:b,endpointDefinition:h,endpointName:y});return(O=s.get(w))==null?void 0:O[S]}}function u(y,b){return w=>{var h;return(h=o.get(w))==null?void 0:h[b]}}function p(){return y=>Object.values(s.get(y)||{}).filter(Mc)}function _(){return y=>Object.values(o.get(y)||{}).filter(Mc)}function E(y,b){const w=(h,{subscribe:S=!0,forceRefetch:O,subscriptionOptions:x,[vo]:T,...z}={})=>(L,P)=>{var le;const U=e({queryArgs:h,endpointDefinition:b,endpointName:y});let j;const B={...z,type:"query",subscribe:S,forceRefetch:O,subscriptionOptions:x,endpointName:y,originalArgs:h,queryCacheKey:U,[vo]:T};if(Pc(b))j=t(B);else{const{direction:ge,initialPageParam:He}=z;j=a({...B,direction:ge,initialPageParam:He})}const q=r.endpoints[y].select(h),Y=L(j),V=q(P()),{requestId:D,abort:ne}=Y,ie=V.requestId!==D,M=(le=s.get(L))==null?void 0:le[U],te=()=>q(P()),J=Object.assign(T?Y.then(te):ie&&!M?Promise.resolve(V):Promise.all([M,Y]).then(te),{arg:h,requestId:D,subscriptionOptions:x,queryCacheKey:U,abort:ne,async unwrap(){const ge=await J;if(ge.isError)throw ge.error;return ge.data},refetch:()=>L(w(h,{subscribe:!1,forceRefetch:!0})),unsubscribe(){S&&L(l({queryCacheKey:U,requestId:D}))},updateSubscriptionOptions(ge){J.subscriptionOptions=ge,L(f({endpointName:y,requestId:D,queryCacheKey:U,options:ge}))}});if(!M&&!ie&&!T){const ge=nN(s,L,{});ge[U]=J,J.then(()=>{delete ge[U],Pi(ge)||s.delete(L)})}return J};return w}function v(y,b){return E(y,b)}function g(y,b){return E(y,b)}function k(y){return(b,{track:w=!0,fixedCacheKey:h}={})=>(S,O)=>{const x=n({type:"mutation",endpointName:y,originalArgs:b,track:w,fixedCacheKey:h}),T=S(x),{requestId:z,abort:L,unwrap:P}=T,U=lN(T.unwrap().then(Y=>({data:Y})),Y=>({error:Y})),j=()=>{S(c({requestId:z,fixedCacheKey:h}))},B=Object.assign(U,{arg:T.arg,requestId:z,abort:L,unwrap:P,reset:j}),q=o.get(S)||{};return o.set(S,q),q[z]=B,B.then(()=>{delete q[z],Pi(q)||o.delete(S)}),h&&(q[h]=B,B.then(()=>{q[h]===B&&(delete q[h],Pi(q)||o.delete(S))})),B}}}var Cb=class extends K6{constructor(e,t,a,n){super(e),this.value=t,this.schemaName=a,this._bqMeta=n}};async function Yr(e,t,a,n){const r=await e["~standard"].validate(t);if(r.issues)throw new Cb(r.issues,t,a,n);return r.value}function uN(e){return e}var So=(e={})=>({...e,[xc]:!0});function fN({reducerPath:e,baseQuery:t,context:{endpointDefinitions:a},serializeQueryArgs:n,api:r,assertTagType:i,selectors:s,onSchemaFailure:o,catchSchemaFailure:l,skipSchemaValidation:c}){const f=(z,L,P,U)=>(j,B)=>{const q=a[z],Y=n({queryArgs:L,endpointDefinition:q,endpointName:z});if(j(r.internalActions.queryResultPatched({queryCacheKey:Y,patches:P})),!U)return;const V=r.endpoints[z].select(L)(B()),D=vh(q.providesTags,V.data,void 0,L,{},i);j(r.internalActions.updateProvidedBy([{queryCacheKey:Y,providedTags:D}]))};function d(z,L,P=0){const U=[L,...z];return P&&U.length>P?U.slice(0,-1):U}function u(z,L,P=0){const U=[...z,L];return P&&U.length>P?U.slice(1):U}const p=(z,L,P,U=!0)=>(j,B)=>{const Y=r.endpoints[z].select(L)(B()),V={patches:[],inversePatches:[],undo:()=>j(r.util.patchQueryData(z,L,V.inversePatches,U))};if(Y.status==="uninitialized")return V;let D;if("data"in Y)if(Ha(Y.data)){const[ne,ie,M]=v0(Y.data,P);V.patches.push(...ie),V.inversePatches.push(...M),D=ne}else D=P(Y.data),V.patches.push({op:"replace",path:[],value:D}),V.inversePatches.push({op:"replace",path:[],value:Y.data});return V.patches.length===0||j(r.util.patchQueryData(z,L,V.patches,U)),V},_=(z,L,P)=>U=>U(r.endpoints[z].initiate(L,{subscribe:!1,forceRefetch:!0,[vo]:()=>({data:P})})),E=(z,L)=>z.query&&z[L]?z[L]:uN,v=async(z,{signal:L,abort:P,rejectWithValue:U,fulfillWithValue:j,dispatch:B,getState:q,extra:Y})=>{var ie,M;const V=a[z.endpointName],{metaSchema:D,skipSchemaValidation:ne=c}=V;try{let te=E(V,"transformResponse");const J={signal:L,abort:P,dispatch:B,getState:q,extra:Y,endpoint:z.endpointName,type:z.type,forced:z.type==="query"?g(z,q()):void 0,queryCacheKey:z.type==="query"?z.queryCacheKey:void 0},le=z.type==="query"?z[vo]:void 0;let ge;const He=async(Ne,ze,Rt,Dr)=>{if(ze==null&&Ne.pages.length)return Promise.resolve({data:Ne});const Pa={queryArg:z.originalArgs,pageParam:ze},jn=await Ht(Pa),Ea=Dr?d:u;return{data:{pages:Ea(Ne.pages,jn.data,Rt),pageParams:Ea(Ne.pageParams,ze,Rt)},meta:jn.meta}};async function Ht(Ne){let ze;const{extraOptions:Rt,argSchema:Dr,rawResponseSchema:Pa,responseSchema:jn}=V;if(Dr&&!ne&&(Ne=await Yr(Dr,Ne,"argSchema",{})),le?ze=le():V.query?ze=await t(V.query(Ne),J,Rt):ze=await V.queryFn(Ne,J,Rt,Ei=>t(Ei,J,Rt)),typeof process<"u",ze.error)throw new vb(ze.error,ze.meta);let{data:Ea}=ze;Pa&&!ne&&(Ea=await Yr(Pa,ze.data,"rawResponseSchema",ze.meta));let Ka=await te(Ea,ze.meta,Ne);return jn&&!ne&&(Ka=await Yr(jn,Ka,"responseSchema",ze.meta)),{...ze,data:Ka}}if(z.type==="query"&&"infiniteQueryOptions"in V){const{infiniteQueryOptions:Ne}=V,{maxPages:ze=1/0}=Ne;let Rt;const Dr={pages:[],pageParams:[]},Pa=(ie=s.selectQueryEntry(q(),z.queryCacheKey))==null?void 0:ie.data,Ea=g(z,q())&&!z.direction||!Pa?Dr:Pa;if("direction"in z&&z.direction&&Ea.pages.length){const Ka=z.direction==="backward",Xs=(Ka?xb:Ch)(Ne,Ea,z.originalArgs);Rt=await He(Ea,Xs,ze,Ka)}else{const{initialPageParam:Ka=Ne.initialPageParam}=z,Ei=(Pa==null?void 0:Pa.pageParams)??[],Xs=Ei[0]??Ka,nd=Ei.length;Rt=await He(Ea,Xs,ze),le&&(Rt={data:Rt.data.pages[0]});for(let rd=1;rd<nd;rd++){const By=Ch(Ne,Rt.data,z.originalArgs);Rt=await He(Rt.data,By,ze)}}ge=Rt}else ge=await Ht(z.originalArgs);return D&&!ne&&ge.meta&&(ge.meta=await Yr(D,ge.meta,"metaSchema",ge.meta)),j(ge.data,So({fulfilledTimeStamp:Date.now(),baseQueryMeta:ge.meta}))}catch(te){let J=te;if(J instanceof vb){let le=E(V,"transformErrorResponse");const{rawErrorResponseSchema:ge,errorResponseSchema:He}=V;let{value:Ht,meta:Ne}=J;try{ge&&!ne&&(Ht=await Yr(ge,Ht,"rawErrorResponseSchema",Ne)),D&&!ne&&(Ne=await Yr(D,Ne,"metaSchema",Ne));let ze=await le(Ht,Ne,z.originalArgs);return He&&!ne&&(ze=await Yr(He,ze,"errorResponseSchema",Ne)),U(ze,So({baseQueryMeta:Ne}))}catch(ze){J=ze}}try{if(J instanceof Cb){const le={endpoint:z.endpointName,arg:z.originalArgs,type:z.type,queryCacheKey:z.type==="query"?z.queryCacheKey:void 0};(M=V.onSchemaFailure)==null||M.call(V,J,le),o==null||o(J,le);const{catchSchemaFailure:ge=l}=V;if(ge)return U(ge(J,le),So({baseQueryMeta:J._bqMeta}))}}catch(le){J=le}throw console.error(J),J}};function g(z,L){const P=s.selectQueryEntry(L,z.queryCacheKey),U=s.selectConfig(L).refetchOnMountOrArgChange,j=P==null?void 0:P.fulfilledTimeStamp,B=z.forceRefetch??(z.subscribe&&U);return B?B===!0||(Number(new Date)-Number(j))/1e3>=B:!1}const k=()=>Xn(`${e}/executeQuery`,v,{getPendingMeta({arg:L}){const P=a[L.endpointName];return So({startedTimeStamp:Date.now(),...Uc(P)?{direction:L.direction}:{}})},condition(L,{getState:P}){var ne;const U=P(),j=s.selectQueryEntry(U,L.queryCacheKey),B=j==null?void 0:j.fulfilledTimeStamp,q=L.originalArgs,Y=j==null?void 0:j.originalArgs,V=a[L.endpointName],D=L.direction;return Ah(L)?!0:(j==null?void 0:j.status)==="pending"?!1:g(L,U)||Pc(V)&&((ne=V==null?void 0:V.forceRefetch)!=null&&ne.call(V,{currentArg:q,previousArg:Y,endpointState:j,state:U}))?!0:!(B&&!D)},dispatchConditionRejection:!0}),y=k(),b=k(),w=Xn(`${e}/executeMutation`,v,{getPendingMeta(){return So({startedTimeStamp:Date.now()})}}),h=z=>"force"in z,S=z=>"ifOlderThan"in z,O=(z,L,P)=>(U,j)=>{const B=h(P)&&P.force,q=S(P)&&P.ifOlderThan,Y=(D=!0)=>{const ne={forceRefetch:D,isPrefetch:!0};return r.endpoints[z].initiate(L,ne)},V=r.endpoints[z].select(L)(j());if(B)U(Y());else if(q){const D=V==null?void 0:V.fulfilledTimeStamp;if(!D){U(Y());return}(Number(new Date)-Number(new Date(D)))/1e3>=q&&U(Y())}else U(Y(!1))};function x(z){return L=>{var P,U;return((U=(P=L==null?void 0:L.meta)==null?void 0:P.arg)==null?void 0:U.endpointName)===z}}function T(z,L){return{matchPending:fo(eh(z),x(L)),matchFulfilled:fo(Gn(z),x(L)),matchRejected:fo(Oi(z),x(L))}}return{queryThunk:y,mutationThunk:w,infiniteQueryThunk:b,prefetch:O,updateQueryData:p,upsertQueryData:_,patchQueryData:f,buildMatchThunkActions:T}}function Ch(e,{pages:t,pageParams:a},n){const r=t.length-1;return e.getNextPageParam(t[r],t,a[r],a,n)}function xb(e,{pages:t,pageParams:a},n){var r;return(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,a[0],a,n)}function zb(e,t,a,n){return vh(a[e.meta.arg.endpointName][t],Gn(e)?e.payload:void 0,Nc(e)?e.payload:void 0,e.meta.arg.originalArgs,"baseQueryMeta"in e.meta?e.meta.baseQueryMeta:void 0,n)}function Fc(e,t,a){const n=e[t];n&&a(n)}function Ao(e){return("arg"in e?e.arg.fixedCacheKey:e.fixedCacheKey)??e.requestId}function Nb(e,t,a){const n=e[Ao(t)];n&&a(n)}var Hc={};function dN({reducerPath:e,queryThunk:t,mutationThunk:a,serializeQueryArgs:n,context:{endpointDefinitions:r,apiUid:i,extractRehydrationInfo:s,hasRehydrationInfo:o},assertTagType:l,config:c}){const f=ja(`${e}/resetApiState`);function d(x,T,z,L){var P;x[P=T.queryCacheKey]??(x[P]={status:"uninitialized",endpointName:T.endpointName}),Fc(x,T.queryCacheKey,U=>{U.status="pending",U.requestId=z&&U.requestId?U.requestId:L.requestId,T.originalArgs!==void 0&&(U.originalArgs=T.originalArgs),U.startedTimeStamp=L.startedTimeStamp;const j=r[L.arg.endpointName];Uc(j)&&"direction"in T&&(U.direction=T.direction)})}function u(x,T,z,L){Fc(x,T.arg.queryCacheKey,P=>{if(P.requestId!==T.requestId&&!L)return;const{merge:U}=r[T.arg.endpointName];if(P.status="fulfilled",U)if(P.data!==void 0){const{fulfilledTimeStamp:j,arg:B,baseQueryMeta:q,requestId:Y}=T;let V=co(P.data,D=>U(D,z,{arg:B.originalArgs,baseQueryMeta:q,fulfilledTimeStamp:j,requestId:Y}));P.data=V}else P.data=z;else P.data=r[T.arg.endpointName].structuralSharing??!0?bb(Za(P.data)?wx(P.data):P.data,z):z;delete P.error,P.fulfilledTimeStamp=T.fulfilledTimeStamp})}const p=Kt({name:`${e}/queries`,initialState:Hc,reducers:{removeQueryResult:{reducer(x,{payload:{queryCacheKey:T}}){delete x[T]},prepare:uo()},cacheEntriesUpserted:{reducer(x,T){for(const z of T.payload){const{queryDescription:L,value:P}=z;d(x,L,!0,{arg:L,requestId:T.meta.requestId,startedTimeStamp:T.meta.timestamp}),u(x,{arg:L,requestId:T.meta.requestId,fulfilledTimeStamp:T.meta.timestamp,baseQueryMeta:{}},P,!0)}},prepare:x=>({payload:x.map(L=>{const{endpointName:P,arg:U,value:j}=L,B=r[P];return{queryDescription:{type:"query",endpointName:P,originalArgs:L.arg,queryCacheKey:n({queryArgs:U,endpointDefinition:B,endpointName:P})},value:j}}),meta:{[xc]:!0,requestId:ah(),timestamp:Date.now()}})},queryResultPatched:{reducer(x,{payload:{queryCacheKey:T,patches:z}}){Fc(x,T,L=>{L.data=S0(L.data,z.concat())})},prepare:uo()}},extraReducers(x){x.addCase(t.pending,(T,{meta:z,meta:{arg:L}})=>{const P=Ah(L);d(T,L,P,z)}).addCase(t.fulfilled,(T,{meta:z,payload:L})=>{const P=Ah(z.arg);u(T,z,L,P)}).addCase(t.rejected,(T,{meta:{condition:z,arg:L,requestId:P},error:U,payload:j})=>{Fc(T,L.queryCacheKey,B=>{if(!z){if(B.requestId!==P)return;B.status="rejected",B.error=j??U}})}).addMatcher(o,(T,z)=>{const{queries:L}=s(z);for(const[P,U]of Object.entries(L))((U==null?void 0:U.status)==="fulfilled"||(U==null?void 0:U.status)==="rejected")&&(T[P]=U)})}}),_=Kt({name:`${e}/mutations`,initialState:Hc,reducers:{removeMutationResult:{reducer(x,{payload:T}){const z=Ao(T);z in x&&delete x[z]},prepare:uo()}},extraReducers(x){x.addCase(a.pending,(T,{meta:z,meta:{requestId:L,arg:P,startedTimeStamp:U}})=>{P.track&&(T[Ao(z)]={requestId:L,status:"pending",endpointName:P.endpointName,startedTimeStamp:U})}).addCase(a.fulfilled,(T,{payload:z,meta:L})=>{L.arg.track&&Nb(T,L,P=>{P.requestId===L.requestId&&(P.status="fulfilled",P.data=z,P.fulfilledTimeStamp=L.fulfilledTimeStamp)})}).addCase(a.rejected,(T,{payload:z,error:L,meta:P})=>{P.arg.track&&Nb(T,P,U=>{U.requestId===P.requestId&&(U.status="rejected",U.error=z??L)})}).addMatcher(o,(T,z)=>{const{mutations:L}=s(z);for(const[P,U]of Object.entries(L))((U==null?void 0:U.status)==="fulfilled"||(U==null?void 0:U.status)==="rejected")&&P!==(U==null?void 0:U.requestId)&&(T[P]=U)})}}),E={tags:{},keys:{}},v=Kt({name:`${e}/invalidation`,initialState:E,reducers:{updateProvidedBy:{reducer(x,T){var z,L,P;for(const{queryCacheKey:U,providedTags:j}of T.payload){g(x,U);for(const{type:B,id:q}of j){const Y=(L=(z=x.tags)[B]??(z[B]={}))[P=q||"__internal_without_id"]??(L[P]=[]);Y.includes(U)||Y.push(U)}x.keys[U]=j}},prepare:uo()}},extraReducers(x){x.addCase(p.actions.removeQueryResult,(T,{payload:{queryCacheKey:z}})=>{g(T,z)}).addMatcher(o,(T,z)=>{var P,U,j;const{provided:L}=s(z);for(const[B,q]of Object.entries(L))for(const[Y,V]of Object.entries(q)){const D=(U=(P=T.tags)[B]??(P[B]={}))[j=Y||"__internal_without_id"]??(U[j]=[]);for(const ne of V)D.includes(ne)||D.push(ne)}}).addMatcher(_n(Gn(t),Nc(t)),(T,z)=>{k(T,[z])}).addMatcher(p.actions.cacheEntriesUpserted.match,(T,z)=>{const L=z.payload.map(({queryDescription:P,value:U})=>({type:"UNKNOWN",payload:U,meta:{requestStatus:"fulfilled",requestId:"UNKNOWN",arg:P}}));k(T,L)})}});function g(x,T){var L;const z=x.keys[T]??[];for(const P of z){const U=P.type,j=P.id??"__internal_without_id",B=(L=x.tags[U])==null?void 0:L[j];B&&(x.tags[U][j]=B.filter(q=>q!==T))}delete x.keys[T]}function k(x,T){const z=T.map(L=>{const P=zb(L,"providesTags",r,l),{queryCacheKey:U}=L.meta.arg;return{queryCacheKey:U,providedTags:P}});v.caseReducers.updateProvidedBy(x,v.actions.updateProvidedBy(z))}const y=Kt({name:`${e}/subscriptions`,initialState:Hc,reducers:{updateSubscriptionOptions(x,T){},unsubscribeQueryResult(x,T){},internal_getRTKQSubscriptions(){}}}),b=Kt({name:`${e}/internalSubscriptions`,initialState:Hc,reducers:{subscriptionsUpdated:{reducer(x,T){return S0(x,T.payload)},prepare:uo()}}}),w=Kt({name:`${e}/config`,initialState:{online:J6(),focused:Z6(),middlewareRegistered:!1,...c},reducers:{middlewareRegistered(x,{payload:T}){x.middlewareRegistered=x.middlewareRegistered==="conflict"||i!==T?"conflict":!0}},extraReducers:x=>{x.addCase(Th,T=>{T.online=!0}).addCase(Ab,T=>{T.online=!1}).addCase(Eh,T=>{T.focused=!0}).addCase(Sb,T=>{T.focused=!1}).addMatcher(o,T=>({...T}))}}),h=Hd({queries:p.reducer,mutations:_.reducer,provided:v.reducer,subscriptions:b.reducer,config:w.reducer}),S=(x,T)=>h(f.match(T)?void 0:x,T),O={...w.actions,...p.actions,...y.actions,...b.actions,..._.actions,...v.actions,resetApiState:f};return{reducer:S,actions:O}}var Ya=Symbol.for("RTKQ/skipToken"),Ob={status:"uninitialized"},Db=co(Ob,()=>{}),Rb=co(Ob,()=>{});function hN({serializeQueryArgs:e,reducerPath:t,createSelector:a}){const n=y=>Db,r=y=>Rb;return{buildQuerySelector:u,buildInfiniteQuerySelector:p,buildMutationSelector:_,selectInvalidatedBy:E,selectCachedArgsForQuery:v,selectApiState:s,selectQueries:o,selectMutations:c,selectQueryEntry:l,selectConfig:f};function i(y){return{...y,...yb(y.status)}}function s(y){return y[t]}function o(y){var b;return(b=s(y))==null?void 0:b.queries}function l(y,b){var w;return(w=o(y))==null?void 0:w[b]}function c(y){var b;return(b=s(y))==null?void 0:b.mutations}function f(y){var b;return(b=s(y))==null?void 0:b.config}function d(y,b,w){return h=>{if(h===Ya)return a(n,w);const S=e({queryArgs:h,endpointDefinition:b,endpointName:y});return a(x=>l(x,S)??Db,w)}}function u(y,b){return d(y,b,i)}function p(y,b){const{infiniteQueryOptions:w}=b;function h(S){const O={...S,...yb(S.status)},{isLoading:x,isError:T,direction:z}=O,L=z==="forward",P=z==="backward";return{...O,hasNextPage:g(w,O.data,O.originalArgs),hasPreviousPage:k(w,O.data,O.originalArgs),isFetchingNextPage:x&&L,isFetchingPreviousPage:x&&P,isFetchNextPageError:T&&L,isFetchPreviousPageError:T&&P}}return d(y,b,h)}function _(){return y=>{let b;return typeof y=="object"?b=Ao(y)??Ya:b=y,a(b===Ya?r:S=>{var O,x;return((x=(O=s(S))==null?void 0:O.mutations)==null?void 0:x[b])??Rb},i)}}function E(y,b){const w=y[t],h=new Set;for(const S of b.filter(Mc).map(Sh)){const O=w.provided.tags[S.type];if(!O)continue;let x=(S.id!==void 0?O[S.id]:kb(Object.values(O)))??[];for(const T of x)h.add(T)}return kb(Array.from(h.values()).map(S=>{const O=w.queries[S];return O?[{queryCacheKey:S,endpointName:O.endpointName,originalArgs:O.originalArgs}]:[]}))}function v(y,b){return Object.values(o(y)).filter(w=>(w==null?void 0:w.endpointName)===b&&w.status!=="uninitialized").map(w=>w.originalArgs)}function g(y,b,w){return b?Ch(y,b,w)!=null:!1}function k(y,b,w){return!b||!y.getPreviousPageParam?!1:xb(y,b,w)!=null}}var Ui=WeakMap?new WeakMap:void 0,jc=({endpointName:e,queryArgs:t})=>{let a="";const n=Ui==null?void 0:Ui.get(t);if(typeof n=="string")a=n;else{const r=JSON.stringify(t,(i,s)=>(s=typeof s=="bigint"?{$bigint:s.toString()}:s,s=Vn(s)?Object.keys(s).sort().reduce((o,l)=>(o[l]=s[l],o),{}):s,s));Vn(t)&&(Ui==null||Ui.set(t,r)),a=r}return`${e}(${a})`};function Lb(...e){return function(a){const n=wc(c=>{var f;return(f=a.extractRehydrationInfo)==null?void 0:f.call(a,c,{reducerPath:a.reducerPath??"api"})}),r={reducerPath:"api",keepUnusedDataFor:60,refetchOnMountOrArgChange:!1,refetchOnFocus:!1,refetchOnReconnect:!1,invalidationBehavior:"delayed",...a,extractRehydrationInfo:n,serializeQueryArgs(c){let f=jc;if("serializeQueryArgs"in c.endpointDefinition){const d=c.endpointDefinition.serializeQueryArgs;f=u=>{const p=d(u);return typeof p=="string"?p:jc({...u,queryArgs:p})}}else a.serializeQueryArgs&&(f=a.serializeQueryArgs);return f(c)},tagTypes:[...a.tagTypes||[]]},i={endpointDefinitions:{},batch(c){c()},apiUid:ah(),extractRehydrationInfo:n,hasRehydrationInfo:wc(c=>n(c)!=null)},s={injectEndpoints:l,enhanceEndpoints({addTagTypes:c,endpoints:f}){if(c)for(const d of c)r.tagTypes.includes(d)||r.tagTypes.push(d);if(f)for(const[d,u]of Object.entries(f))typeof u=="function"?u(i.endpointDefinitions[d]):Object.assign(i.endpointDefinitions[d]||{},u);return s}},o=e.map(c=>c.init(s,r,i));function l(c){const f=c.endpoints({query:d=>({...d,type:"query"}),mutation:d=>({...d,type:"mutation"}),infiniteQuery:d=>({...d,type:"infinitequery"})});for(const[d,u]of Object.entries(f)){if(c.overrideExisting!==!0&&d in i.endpointDefinitions){if(c.overrideExisting==="throw")throw new Error(qa(39));continue}i.endpointDefinitions[d]=u;for(const p of o)p.injectEndpoint(d,u)}return s}return s.injectEndpoints({endpoints:a.endpoints})}}function bn(e,...t){return Object.assign(e,...t)}var pN=({api:e,queryThunk:t,internalState:a})=>{const n=`${e.reducerPath}/subscriptions`;let r=null,i=null;const{updateSubscriptionOptions:s,unsubscribeQueryResult:o}=e.internalActions,l=(p,_)=>{var v,g,k;if(s.match(_)){const{queryCacheKey:y,requestId:b,options:w}=_.payload;return(v=p==null?void 0:p[y])!=null&&v[b]&&(p[y][b]=w),!0}if(o.match(_)){const{queryCacheKey:y,requestId:b}=_.payload;return p[y]&&delete p[y][b],!0}if(e.internalActions.removeQueryResult.match(_))return delete p[_.payload.queryCacheKey],!0;if(t.pending.match(_)){const{meta:{arg:y,requestId:b}}=_,w=p[g=y.queryCacheKey]??(p[g]={});return w[`${b}_running`]={},y.subscribe&&(w[b]=y.subscriptionOptions??w[b]??{}),!0}let E=!1;if(t.fulfilled.match(_)||t.rejected.match(_)){const y=p[_.meta.arg.queryCacheKey]||{},b=`${_.meta.requestId}_running`;E||(E=!!y[b]),delete y[b]}if(t.rejected.match(_)){const{meta:{condition:y,arg:b,requestId:w}}=_;if(y&&b.subscribe){const h=p[k=b.queryCacheKey]??(p[k]={});h[w]=b.subscriptionOptions??h[w]??{},E=!0}}return E},c=()=>a.currentSubscriptions,u={getSubscriptions:c,getSubscriptionCount:p=>{const E=c()[p]??{};return Pi(E)},isRequestSubscribed:(p,_)=>{var v;const E=c();return!!((v=E==null?void 0:E[p])!=null&&v[_])}};return(p,_)=>{if(r||(r=JSON.parse(JSON.stringify(a.currentSubscriptions))),e.util.resetApiState.match(p))return r=a.currentSubscriptions={},i=null,[!0,!1];if(e.internalActions.internal_getRTKQSubscriptions.match(p))return[!1,u];const E=l(a.currentSubscriptions,p);let v=!0;if(E){i||(i=setTimeout(()=>{const y=JSON.parse(JSON.stringify(a.currentSubscriptions)),[,b]=v0(r,()=>y);_.next(e.internalActions.subscriptionsUpdated(b)),r=y,i=null},500));const g=typeof p.type=="string"&&!!p.type.startsWith(n),k=t.rejected.match(p)&&p.meta.condition&&!!p.meta.arg.subscribe;v=!g&&!k}return[v,!1]}};function mN(e){for(const t in e)return!1;return!0}var gN=2147483647/1e3-1,yN=({reducerPath:e,api:t,queryThunk:a,context:n,internalState:r,selectors:{selectQueryEntry:i,selectConfig:s}})=>{const{removeQueryResult:o,unsubscribeQueryResult:l,cacheEntriesUpserted:c}=t.internalActions,f=_n(l.match,a.fulfilled,a.rejected,c.match);function d(v){const g=r.currentSubscriptions[v];return!!g&&!mN(g)}const u={},p=(v,g,k)=>{const y=g.getState(),b=s(y);if(f(v)){let w;if(c.match(v))w=v.payload.map(h=>h.queryDescription.queryCacheKey);else{const{queryCacheKey:h}=l.match(v)?v.payload:v.meta.arg;w=[h]}_(w,g,b)}if(t.util.resetApiState.match(v))for(const[w,h]of Object.entries(u))h&&clearTimeout(h),delete u[w];if(n.hasRehydrationInfo(v)){const{queries:w}=n.extractRehydrationInfo(v);_(Object.keys(w),g,b)}};function _(v,g,k){const y=g.getState();for(const b of v){const w=i(y,b);E(b,w==null?void 0:w.endpointName,g,k)}}function E(v,g,k,y){const b=n.endpointDefinitions[g],w=(b==null?void 0:b.keepUnusedDataFor)??y.keepUnusedDataFor;if(w===1/0)return;const h=Math.max(0,Math.min(w,gN));if(!d(v)){const S=u[v];S&&clearTimeout(S),u[v]=setTimeout(()=>{d(v)||k.dispatch(o({queryCacheKey:v})),delete u[v]},h*1e3)}}return p},Ib=new Error("Promise never resolved before cacheEntryRemoved."),_N=({api:e,reducerPath:t,context:a,queryThunk:n,mutationThunk:r,internalState:i,selectors:{selectQueryEntry:s,selectApiState:o}})=>{const l=th(n),c=th(r),f=Gn(n,r),d={};function u(g,k,y){const b=d[g];b!=null&&b.valueResolved&&(b.valueResolved({data:k,meta:y}),delete b.valueResolved)}function p(g){const k=d[g];k&&(delete d[g],k.cacheEntryRemoved())}const _=(g,k,y)=>{const b=E(g);function w(h,S,O,x){const T=s(y,S),z=s(k.getState(),S);!T&&z&&v(h,x,S,k,O)}if(n.pending.match(g))w(g.meta.arg.endpointName,b,g.meta.requestId,g.meta.arg.originalArgs);else if(e.internalActions.cacheEntriesUpserted.match(g))for(const{queryDescription:h,value:S}of g.payload){const{endpointName:O,originalArgs:x,queryCacheKey:T}=h;w(O,T,g.meta.requestId,x),u(T,S,{})}else if(r.pending.match(g))k.getState()[t].mutations[b]&&v(g.meta.arg.endpointName,g.meta.arg.originalArgs,b,k,g.meta.requestId);else if(f(g))u(b,g.payload,g.meta.baseQueryMeta);else if(e.internalActions.removeQueryResult.match(g)||e.internalActions.removeMutationResult.match(g))p(b);else if(e.util.resetApiState.match(g))for(const h of Object.keys(d))p(h)};function E(g){return l(g)?g.meta.arg.queryCacheKey:c(g)?g.meta.arg.fixedCacheKey??g.meta.requestId:e.internalActions.removeQueryResult.match(g)?g.payload.queryCacheKey:e.internalActions.removeMutationResult.match(g)?Ao(g.payload):""}function v(g,k,y,b,w){const h=a.endpointDefinitions[g],S=h==null?void 0:h.onCacheEntryAdded;if(!S)return;const O={},x=new Promise(j=>{O.cacheEntryRemoved=j}),T=Promise.race([new Promise(j=>{O.valueResolved=j}),x.then(()=>{throw Ib})]);T.catch(()=>{}),d[y]=O;const z=e.endpoints[g].select(Bc(h)?k:y),L=b.dispatch((j,B,q)=>q),P={...b,getCacheEntry:()=>z(b.getState()),requestId:w,extra:L,updateCachedData:Bc(h)?j=>b.dispatch(e.util.updateQueryData(g,k,j)):void 0,cacheDataLoaded:T,cacheEntryRemoved:x},U=S(k,P);Promise.resolve(U).catch(j=>{if(j!==Ib)throw j})}return _},bN=({api:e,context:{apiUid:t},reducerPath:a})=>(n,r)=>{e.util.resetApiState.match(n)&&r.dispatch(e.internalActions.middlewareRegistered(t))},kN=({reducerPath:e,context:t,context:{endpointDefinitions:a},mutationThunk:n,queryThunk:r,api:i,assertTagType:s,refetchQuery:o,internalState:l})=>{const{removeQueryResult:c}=i.internalActions,f=_n(Gn(n),Nc(n)),d=_n(Gn(n,r),Oi(n,r));let u=[];const p=(v,g)=>{f(v)?E(zb(v,"invalidatesTags",a,s),g):d(v)?E([],g):i.util.invalidateTags.match(v)&&E(vh(v.payload,void 0,void 0,void 0,void 0,s),g)};function _(v){var y;const{queries:g,mutations:k}=v;for(const b of[g,k])for(const w in b)if(((y=b[w])==null?void 0:y.status)==="pending")return!0;return!1}function E(v,g){const k=g.getState(),y=k[e];if(u.push(...v),y.config.invalidationBehavior==="delayed"&&_(y))return;const b=u;if(u=[],b.length===0)return;const w=i.util.selectInvalidatedBy(k,b);t.batch(()=>{const h=Array.from(w.values());for(const{queryCacheKey:S}of h){const O=y.queries[S],x=l.currentSubscriptions[S]??{};O&&(Pi(x)===0?g.dispatch(c({queryCacheKey:S})):O.status!=="uninitialized"&&g.dispatch(o(O)))}})}return p},wN=({reducerPath:e,queryThunk:t,api:a,refetchQuery:n,internalState:r})=>{const i={},s=(u,p)=>{(a.internalActions.updateSubscriptionOptions.match(u)||a.internalActions.unsubscribeQueryResult.match(u))&&l(u.payload,p),(t.pending.match(u)||t.rejected.match(u)&&u.meta.condition)&&l(u.meta.arg,p),(t.fulfilled.match(u)||t.rejected.match(u)&&!u.meta.condition)&&o(u.meta.arg,p),a.util.resetApiState.match(u)&&f()};function o({queryCacheKey:u},p){const _=p.getState()[e],E=_.queries[u],v=r.currentSubscriptions[u];if(!E||E.status==="uninitialized")return;const{lowestPollingInterval:g,skipPollingIfUnfocused:k}=d(v);if(!Number.isFinite(g))return;const y=i[u];y!=null&&y.timeout&&(clearTimeout(y.timeout),y.timeout=void 0);const b=Date.now()+g;i[u]={nextPollTimestamp:b,pollingInterval:g,timeout:setTimeout(()=>{(_.config.focused||!k)&&p.dispatch(n(E)),o({queryCacheKey:u},p)},g)}}function l({queryCacheKey:u},p){const E=p.getState()[e].queries[u],v=r.currentSubscriptions[u];if(!E||E.status==="uninitialized")return;const{lowestPollingInterval:g}=d(v);if(!Number.isFinite(g)){c(u);return}const k=i[u],y=Date.now()+g;(!k||y<k.nextPollTimestamp)&&o({queryCacheKey:u},p)}function c(u){const p=i[u];p!=null&&p.timeout&&clearTimeout(p.timeout),delete i[u]}function f(){for(const u of Object.keys(i))c(u)}function d(u={}){let p=!1,_=Number.POSITIVE_INFINITY;for(let E in u)u[E].pollingInterval&&(_=Math.min(u[E].pollingInterval,_),p=u[E].skipPollingIfUnfocused||p);return{lowestPollingInterval:_,skipPollingIfUnfocused:p}}return s},EN=({api:e,context:t,queryThunk:a,mutationThunk:n})=>{const r=eh(a,n),i=Oi(a,n),s=Gn(a,n),o={};return(c,f)=>{var d,u;if(r(c)){const{requestId:p,arg:{endpointName:_,originalArgs:E}}=c.meta,v=t.endpointDefinitions[_],g=v==null?void 0:v.onQueryStarted;if(g){const k={},y=new Promise((S,O)=>{k.resolve=S,k.reject=O});y.catch(()=>{}),o[p]=k;const b=e.endpoints[_].select(Bc(v)?E:p),w=f.dispatch((S,O,x)=>x),h={...f,getCacheEntry:()=>b(f.getState()),requestId:p,extra:w,updateCachedData:Bc(v)?S=>f.dispatch(e.util.updateQueryData(_,E,S)):void 0,queryFulfilled:y};g(E,h)}}else if(s(c)){const{requestId:p,baseQueryMeta:_}=c.meta;(d=o[p])==null||d.resolve({data:c.payload,meta:_}),delete o[p]}else if(i(c)){const{requestId:p,rejectedWithValue:_,baseQueryMeta:E}=c.meta;(u=o[p])==null||u.reject({error:c.payload??c.error,isUnhandledError:!_,meta:E}),delete o[p]}}},TN=({reducerPath:e,context:t,api:a,refetchQuery:n,internalState:r})=>{const{removeQueryResult:i}=a.internalActions,s=(l,c)=>{Eh.match(l)&&o(c,"refetchOnFocus"),Th.match(l)&&o(c,"refetchOnReconnect")};function o(l,c){const f=l.getState()[e],d=f.queries,u=r.currentSubscriptions;t.batch(()=>{for(const p of Object.keys(u)){const _=d[p],E=u[p];if(!E||!_)continue;(Object.values(E).some(g=>g[c]===!0)||Object.values(E).every(g=>g[c]===void 0)&&f.config[c])&&(Pi(E)===0?l.dispatch(i({queryCacheKey:p})):_.status!=="uninitialized"&&l.dispatch(n(_)))}})}return s};function vN(e){const{reducerPath:t,queryThunk:a,api:n,context:r}=e,{apiUid:i}=r,s={invalidateTags:ja(`${t}/invalidateTags`)},o=d=>d.type.startsWith(`${t}/`),l=[bN,yN,kN,wN,_N,EN];return{middleware:d=>{let u=!1;const _={...e,internalState:{currentSubscriptions:{}},refetchQuery:f,isThisApiSliceAction:o},E=l.map(k=>k(_)),v=pN(_),g=TN(_);return k=>y=>{if(!p0(y))return k(y);u||(u=!0,d.dispatch(n.internalActions.middlewareRegistered(i)));const b={...d,next:k},w=d.getState(),[h,S]=v(y,b,w);let O;if(h?O=k(y):O=S,d.getState()[t]&&(g(y,b,w),o(y)||r.hasRehydrationInfo(y)))for(const x of E)x(y,b,w);return O}},actions:s};function f(d){return e.api.endpoints[d.endpointName].initiate(d.originalArgs,{subscribe:!1,forceRefetch:!0})}}var Mb=Symbol(),Pb=({createSelector:e=Bd}={})=>({name:Mb,init(t,{baseQuery:a,tagTypes:n,reducerPath:r,serializeQueryArgs:i,keepUnusedDataFor:s,refetchOnMountOrArgChange:o,refetchOnFocus:l,refetchOnReconnect:c,invalidationBehavior:f,onSchemaFailure:d,catchSchemaFailure:u,skipSchemaValidation:p},_){Ox();const E=J=>J;Object.assign(t,{reducerPath:r,endpoints:{},internalActions:{onOnline:Th,onOffline:Ab,onFocus:Eh,onFocusLost:Sb},util:{}});const v=hN({serializeQueryArgs:i,reducerPath:r,createSelector:e}),{selectInvalidatedBy:g,selectCachedArgsForQuery:k,buildQuerySelector:y,buildInfiniteQuerySelector:b,buildMutationSelector:w}=v;bn(t.util,{selectInvalidatedBy:g,selectCachedArgsForQuery:k});const{queryThunk:h,infiniteQueryThunk:S,mutationThunk:O,patchQueryData:x,updateQueryData:T,upsertQueryData:z,prefetch:L,buildMatchThunkActions:P}=fN({baseQuery:a,reducerPath:r,context:_,api:t,serializeQueryArgs:i,assertTagType:E,selectors:v,onSchemaFailure:d,catchSchemaFailure:u,skipSchemaValidation:p}),{reducer:U,actions:j}=dN({context:_,queryThunk:h,mutationThunk:O,serializeQueryArgs:i,reducerPath:r,assertTagType:E,config:{refetchOnFocus:l,refetchOnReconnect:c,refetchOnMountOrArgChange:o,keepUnusedDataFor:s,reducerPath:r,invalidationBehavior:f}});bn(t.util,{patchQueryData:x,updateQueryData:T,upsertQueryData:z,prefetch:L,resetApiState:j.resetApiState,upsertQueryEntries:j.cacheEntriesUpserted}),bn(t.internalActions,j);const{middleware:B,actions:q}=vN({reducerPath:r,context:_,queryThunk:h,mutationThunk:O,infiniteQueryThunk:S,api:t,assertTagType:E,selectors:v});bn(t.util,q),bn(t,{reducer:U,middleware:B});const{buildInitiateQuery:Y,buildInitiateInfiniteQuery:V,buildInitiateMutation:D,getRunningMutationThunk:ne,getRunningMutationsThunk:ie,getRunningQueriesThunk:M,getRunningQueryThunk:te}=cN({queryThunk:h,mutationThunk:O,infiniteQueryThunk:S,api:t,serializeQueryArgs:i,context:_});return bn(t.util,{getRunningMutationThunk:ne,getRunningMutationsThunk:ie,getRunningQueryThunk:te,getRunningQueriesThunk:M}),{name:Mb,injectEndpoint(J,le){var Ht;const He=(Ht=t.endpoints)[J]??(Ht[J]={});Pc(le)&&bn(He,{name:J,select:y(J,le),initiate:Y(J,le)},P(h,J)),sN(le)&&bn(He,{name:J,select:w(),initiate:D(J)},P(O,J)),Uc(le)&&bn(He,{name:J,select:b(J,le),initiate:V(J,le)},P(h,J))}}}});Pb();function qc(e){return e.replace(e[0],e[0].toUpperCase())}function SN(e){return e.type==="query"}function AN(e){return e.type==="mutation"}function Ub(e){return e.type==="infinitequery"}function Co(e,...t){return Object.assign(e,...t)}var xh=Symbol();function zh(e,t,a,n){const r=A.useMemo(()=>({queryArgs:e,serialized:typeof e=="object"?t({queryArgs:e,endpointDefinition:a,endpointName:n}):e}),[e,t,a,n]),i=A.useRef(r);return A.useEffect(()=>{i.current.serialized!==r.serialized&&(i.current=r)},[r]),i.current.serialized===r.serialized?i.current.queryArgs:e}function Yc(e){const t=A.useRef(e);return A.useEffect(()=>{mo(t.current,e)||(t.current=e)},[e]),mo(t.current,e)?t.current:e}var CN=()=>typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",xN=CN(),zN=()=>typeof navigator<"u"&&navigator.product==="ReactNative",NN=zN(),ON=()=>xN||NN?A.useLayoutEffect:A.useEffect,DN=ON(),Bb=e=>e.isUninitialized?{...e,isUninitialized:!1,isFetching:!0,isLoading:e.data===void 0,status:gb.pending}:e;function Nh(e,...t){const a={};return t.forEach(n=>{a[n]=e[n]}),a}var Oh=["data","status","isLoading","isSuccess","isError","error"];function RN({api:e,moduleOptions:{batch:t,hooks:{useDispatch:a,useSelector:n,useStore:r},unstable__sideEffectsInRender:i,createSelector:s},serializeQueryArgs:o,context:l}){const c=i?b=>b():A.useEffect;return{buildQueryHooks:g,buildInfiniteQueryHooks:k,buildMutationHook:y,usePrefetch:u};function f(b,w,h){if(w!=null&&w.endpointName&&b.isUninitialized){const{endpointName:L}=w,P=l.endpointDefinitions[L];h!==Ya&&o({queryArgs:w.originalArgs,endpointDefinition:P,endpointName:L})===o({queryArgs:h,endpointDefinition:P,endpointName:L})&&(w=void 0)}let S=b.isSuccess?b.data:w==null?void 0:w.data;S===void 0&&(S=b.data);const O=S!==void 0,x=b.isLoading,T=(!w||w.isLoading||w.isUninitialized)&&!O&&x,z=b.isSuccess||O&&(x&&!(w!=null&&w.isError)||b.isUninitialized);return{...b,data:S,currentData:b.data,isFetching:x,isLoading:T,isSuccess:z}}function d(b,w,h){if(w!=null&&w.endpointName&&b.isUninitialized){const{endpointName:L}=w,P=l.endpointDefinitions[L];h!==Ya&&o({queryArgs:w.originalArgs,endpointDefinition:P,endpointName:L})===o({queryArgs:h,endpointDefinition:P,endpointName:L})&&(w=void 0)}let S=b.isSuccess?b.data:w==null?void 0:w.data;S===void 0&&(S=b.data);const O=S!==void 0,x=b.isLoading,T=(!w||w.isLoading||w.isUninitialized)&&!O&&x,z=b.isSuccess||x&&O;return{...b,data:S,currentData:b.data,isFetching:x,isLoading:T,isSuccess:z}}function u(b,w){const h=a(),S=Yc(w);return A.useCallback((O,x)=>h(e.util.prefetch(b,O,{...S,...x})),[b,h,S])}function p(b,w,{refetchOnReconnect:h,refetchOnFocus:S,refetchOnMountOrArgChange:O,skip:x=!1,pollingInterval:T=0,skipPollingIfUnfocused:z=!1,...L}={}){const{initiate:P}=e.endpoints[b],U=a(),j=A.useRef(void 0);if(!j.current){const J=U(e.internalActions.internal_getRTKQSubscriptions());j.current=J}const B=zh(x?Ya:w,jc,l.endpointDefinitions[b],b),q=Yc({refetchOnReconnect:h,refetchOnFocus:S,pollingInterval:T,skipPollingIfUnfocused:z}),Y=L.initialPageParam,V=Yc(Y),D=A.useRef(void 0);let{queryCacheKey:ne,requestId:ie}=D.current||{},M=!1;ne&&ie&&(M=j.current.isRequestSubscribed(ne,ie));const te=!M&&D.current!==void 0;return c(()=>{te&&(D.current=void 0)},[te]),c(()=>{var ge;const J=D.current;if(B===Ya){J==null||J.unsubscribe(),D.current=void 0;return}const le=(ge=D.current)==null?void 0:ge.subscriptionOptions;if(!J||J.arg!==B){J==null||J.unsubscribe();const He=U(P(B,{subscriptionOptions:q,forceRefetch:O,...Ub(l.endpointDefinitions[b])?{initialPageParam:V}:{}}));D.current=He}else q!==le&&J.updateSubscriptionOptions(q)},[U,P,O,B,q,te,V,b]),[D,U,P,q]}function _(b,w){return(S,{skip:O=!1,selectFromResult:x}={})=>{const{select:T}=e.endpoints[b],z=zh(O?Ya:S,o,l.endpointDefinitions[b],b),L=A.useRef(void 0),P=A.useMemo(()=>s([T(z),(Y,V)=>V,Y=>z],w,{memoizeOptions:{resultEqualityCheck:mo}}),[T,z]),U=A.useMemo(()=>x?s([P],x,{devModeChecks:{identityFunctionCheck:"never"}}):P,[P,x]),j=n(Y=>U(Y,L.current),mo),B=r(),q=P(B.getState(),L.current);return DN(()=>{L.current=q},[q]),j}}function E(b){A.useEffect(()=>()=>{var w,h;(h=(w=b.current)==null?void 0:w.unsubscribe)==null||h.call(w),b.current=void 0},[b])}function v(b){if(!b.current)throw new Error(qa(38));return b.current.refetch()}function g(b){const w=(O,x={})=>{const[T]=p(b,O,x);return E(T),A.useMemo(()=>({refetch:()=>v(T)}),[T])},h=({refetchOnReconnect:O,refetchOnFocus:x,pollingInterval:T=0,skipPollingIfUnfocused:z=!1}={})=>{const{initiate:L}=e.endpoints[b],P=a(),[U,j]=A.useState(xh),B=A.useRef(void 0),q=Yc({refetchOnReconnect:O,refetchOnFocus:x,pollingInterval:T,skipPollingIfUnfocused:z});c(()=>{var ie,M;const ne=(ie=B.current)==null?void 0:ie.subscriptionOptions;q!==ne&&((M=B.current)==null||M.updateSubscriptionOptions(q))},[q]);const Y=A.useRef(q);c(()=>{Y.current=q},[q]);const V=A.useCallback(function(ne,ie=!1){let M;return t(()=>{var te;(te=B.current)==null||te.unsubscribe(),B.current=M=P(L(ne,{subscriptionOptions:Y.current,forceRefetch:!ie})),j(ne)}),M},[P,L]),D=A.useCallback(()=>{var ne,ie;(ne=B.current)!=null&&ne.queryCacheKey&&P(e.internalActions.removeQueryResult({queryCacheKey:(ie=B.current)==null?void 0:ie.queryCacheKey}))},[P]);return A.useEffect(()=>()=>{var ne;(ne=B==null?void 0:B.current)==null||ne.unsubscribe()},[]),A.useEffect(()=>{U!==xh&&!B.current&&V(U,!0)},[U,V]),A.useMemo(()=>[V,U,{reset:D}],[V,U,D])},S=_(b,f);return{useQueryState:S,useQuerySubscription:w,useLazyQuerySubscription:h,useLazyQuery(O){const[x,T,{reset:z}]=h(O),L=S(T,{...O,skip:T===xh}),P=A.useMemo(()=>({lastArg:T}),[T]);return A.useMemo(()=>[x,{...L,reset:z},P],[x,L,z,P])},useQuery(O,x){const T=w(O,x),z=S(O,{selectFromResult:O===Ya||x!=null&&x.skip?void 0:Bb,...x}),L=Nh(z,...Oh);return A.useDebugValue(L),A.useMemo(()=>({...z,...T}),[z,T])}}}function k(b){const w=(S,O={})=>{const[x,T,z,L]=p(b,S,O),P=A.useRef(L);c(()=>{P.current=L},[L]);const U=A.useCallback(function(q,Y){let V;return t(()=>{var D;(D=x.current)==null||D.unsubscribe(),x.current=V=T(z(q,{subscriptionOptions:P.current,direction:Y}))}),V},[x,T,z]);E(x);const j=zh(O.skip?Ya:S,jc,l.endpointDefinitions[b],b),B=A.useCallback(()=>v(x),[x]);return A.useMemo(()=>({trigger:U,refetch:B,fetchNextPage:()=>U(j,"forward"),fetchPreviousPage:()=>U(j,"backward")}),[B,U,j])},h=_(b,d);return{useInfiniteQueryState:h,useInfiniteQuerySubscription:w,useInfiniteQuery(S,O){const{refetch:x,fetchNextPage:T,fetchPreviousPage:z}=w(S,O),L=h(S,{selectFromResult:S===Ya||O!=null&&O.skip?void 0:Bb,...O}),P=Nh(L,...Oh,"hasNextPage","hasPreviousPage");return A.useDebugValue(P),A.useMemo(()=>({...L,fetchNextPage:T,fetchPreviousPage:z,refetch:x}),[L,T,z,x])}}}function y(b){return({selectFromResult:w,fixedCacheKey:h}={})=>{const{select:S,initiate:O}=e.endpoints[b],x=a(),[T,z]=A.useState();A.useEffect(()=>()=>{T!=null&&T.arg.fixedCacheKey||T==null||T.reset()},[T]);const L=A.useCallback(function(ne){const ie=x(O(ne,{fixedCacheKey:h}));return z(ie),ie},[x,O,h]),{requestId:P}=T||{},U=A.useMemo(()=>S({fixedCacheKey:h,requestId:T==null?void 0:T.requestId}),[h,T,S]),j=A.useMemo(()=>w?s([U],w):U,[w,U]),B=n(j,mo),q=h==null?T==null?void 0:T.arg.originalArgs:void 0,Y=A.useCallback(()=>{t(()=>{T&&z(void 0),h&&x(e.internalActions.removeMutationResult({requestId:P,fixedCacheKey:h}))})},[x,h,T,P]),V=Nh(B,...Oh,"endpointName");A.useDebugValue(V);const D=A.useMemo(()=>({...B,originalArgs:q,reset:Y}),[B,q,Y]);return A.useMemo(()=>[L,D],[L,D])}}}var LN=Symbol(),IN=({batch:e=Sz,hooks:t={useDispatch:j0,useSelector:q0,useStore:H0},createSelector:a=Bd,unstable__sideEffectsInRender:n=!1,...r}={})=>({name:LN,init(i,{serializeQueryArgs:s},o){const l=i,{buildQueryHooks:c,buildInfiniteQueryHooks:f,buildMutationHook:d,usePrefetch:u}=RN({api:i,moduleOptions:{batch:e,hooks:t,unstable__sideEffectsInRender:n,createSelector:a},serializeQueryArgs:s,context:o});return Co(l,{usePrefetch:u}),Co(o,{batch:e}),{injectEndpoint(p,_){if(SN(_)){const{useQuery:E,useLazyQuery:v,useLazyQuerySubscription:g,useQueryState:k,useQuerySubscription:y}=c(p);Co(l.endpoints[p],{useQuery:E,useLazyQuery:v,useLazyQuerySubscription:g,useQueryState:k,useQuerySubscription:y}),i[`use${qc(p)}Query`]=E,i[`useLazy${qc(p)}Query`]=v}if(AN(_)){const E=d(p);Co(l.endpoints[p],{useMutation:E}),i[`use${qc(p)}Mutation`]=E}else if(Ub(_)){const{useInfiniteQuery:E,useInfiniteQuerySubscription:v,useInfiniteQueryState:g}=f(p);Co(l.endpoints[p],{useInfiniteQuery:E,useInfiniteQuerySubscription:v,useInfiniteQueryState:g}),i[`use${qc(p)}InfiniteQuery`]=E}}}}}),Fb=Lb(Pb(),IN());const MN=0,Mt={PowerAgentMode:"PowerAgentMode",ActivityLog:"ActivityLog",initAuth:"initAuth",ProviderConnected:"ProviderConnected",OnboardingShown:"OnboardingShown",GutenbergActions:"GutenbergActions",ChatBubble:"ChatBubble"},PN=e=>Tb(e),Wn=Fb({reducerPath:"wp_api",keepUnusedDataFor:MN,baseQuery:async(e,t,a)=>{const r=t.getState().app.config;return PN({baseUrl:r.rest_base,timeout:1e4,prepareHeaders:async s=>(s.set("accept","application/json"),r.wp_nonce&&s.set("X-WP-Nonce",r.wp_nonce),s)})(e,t,a)},endpoints:e=>({getPowermode:e.query({query:()=>({url:"/sg-ai-studio/settings-page/powermode",method:"GET"}),providesTags:[Mt.PowerAgentMode]}),updatePowermode:e.mutation({query:t=>({url:"/sg-ai-studio/settings-page/powermode",method:"POST",body:t}),invalidatesTags:[Mt.PowerAgentMode]}),getGutenbergActions:e.query({query:()=>({url:"/sg-ai-studio/settings-page/gutenberg-actions",method:"GET"}),providesTags:[Mt.GutenbergActions]}),updateGutenbergActions:e.mutation({query:t=>({url:"/sg-ai-studio/settings-page/gutenberg-actions",method:"POST",body:t}),invalidatesTags:[Mt.GutenbergActions]}),getChatBubble:e.query({query:()=>({url:"/sg-ai-studio/settings-page/chat-bubble",method:"GET"}),providesTags:[Mt.ChatBubble]}),updateChatBubble:e.mutation({query:t=>({url:"/sg-ai-studio/settings-page/chat-bubble",method:"POST",body:t}),invalidatesTags:[Mt.ChatBubble]}),getProviderConnected:e.query({query:()=>({url:"/sg-ai-studio/settings-page/provider-connected",method:"GET"}),transformResponse:t=>({enabled:t.provider_connected}),providesTags:[Mt.ProviderConnected]}),updateProviderConnected:e.mutation({query:({enabled:t})=>({url:"/sg-ai-studio/settings-page/provider-connected",method:"POST",body:{connected:t}}),transformResponse:t=>({enabled:t.provider_connected}),invalidatesTags:[Mt.ProviderConnected]}),checkStatus:e.query({query:()=>({url:"/sg-ai-studio/settings-page/connected",method:"GET"}),providesTags:[Mt.initAuth]}),connect:e.mutation({query:t=>({url:"/sg-ai-studio/init-auth",method:"POST",body:t}),invalidatesTags:[Mt.initAuth]}),autoConnect:e.mutation({query:()=>({timeout:6e4,url:"/sg-ai-studio/settings-page/auto-connect",method:"POST"}),invalidatesTags:[Mt.initAuth]}),disconnect:e.mutation({query:()=>({timeout:6e4,url:"/sg-ai-studio/settings-page/disconnect",method:"POST"}),invalidatesTags:[Mt.initAuth,Mt.PowerAgentMode]}),activityLog:e.query({query:({page:t=1,per_page:a,activity:n,from:r,to:i}={})=>({url:"/sg-ai-studio/activity-log",method:"GET",params:{page:t,per_page:a,activity:n,from:r,to:i}})}),getUsage:e.query({query:({start:t,end:a,source:n}={})=>({url:"/sg-ai-studio/usage",method:"GET",params:{source:n,start:t,end:a}})}),getACL:e.query({query:()=>({url:"/sg-ai-studio/acl",method:"GET"})}),getOnboardingShown:e.query({query:()=>({url:"/sg-ai-studio/onboarding-shown",method:"GET"}),providesTags:[Mt.OnboardingShown]}),updateOnboardingShown:e.mutation({query:()=>({url:"/sg-ai-studio/onboarding-shown",method:"POST",body:{shown:!0}}),invalidatesTags:[Mt.OnboardingShown]})}),tagTypes:Object.values(Mt)}),{useGetPowermodeQuery:UN,useUpdatePowermodeMutation:BN,useCheckStatusQuery:FN,useGetUsageQuery:HN,useGetACLQuery:jN,useGetOnboardingShownQuery:qN,useUpdateOnboardingShownMutation:YN}=Wn,$N=Kt({name:"usage",initialState:{balance:null,budget:null,source:null},reducers:{},extraReducers:e=>{e.addMatcher(Wn.endpoints.getUsage.matchFulfilled,(t,a)=>{t.balance=a.payload.balance,t.budget=a.payload.budget,t.source=a.payload.source})}}).reducer,QN=Kt({name:"acl",initialState:{features:null,isLoading:!1,error:null},reducers:{},extraReducers:e=>{e.addMatcher(Wn.endpoints.getACL.matchPending,t=>{t.isLoading=!0,t.error=null}).addMatcher(Wn.endpoints.getACL.matchFulfilled,(t,a)=>{t.isLoading=!1,t.features=a.payload.features}).addMatcher(Wn.endpoints.getACL.matchRejected,(t,a)=>{t.isLoading=!1,t.error=a.error.message})}}).reducer,VN=e=>{let t=2169136261;for(let a=0;a<e.length;a++)t^=e.charCodeAt(a),t+=(t<<1)+(t<<4)+(t<<7)+(t<<8)+(t<<24);return(t>>>0).toString(16).substring(0,8)},Dh=(e,t)=>`${VN(e.home_url)}_wp_ai_studio_${t}`,Ja=e=>({CHAT_STATE:Dh(e,"chat_state"),TOKEN:Dh(e,"token"),INVALIDATION:Dh(e,"invalidation")}),GN=e=>{try{const t=Ja(e);localStorage.removeItem(t.CHAT_STATE)}catch(t){console.error("Failed to clear chat state from localStorage",{error:t})}},XN=e=>{try{const t=Ja(e);localStorage.removeItem(t.TOKEN)}catch(t){console.error("Failed to clear token from localStorage",{error:t})}},Hb=e=>{GN(e),XN(e)},jb=e=>{try{const t=Ja(e);return localStorage.getItem(t.CHAT_STATE)!==null}catch{return!1}},KN=e=>{try{const t=Ja(e);return localStorage.getItem(t.TOKEN)!==null}catch{return!1}},WN=["wp_ai_studio_chat_state","wp_ai_studio_token","wp_ai_studio_invalidation"],ZN=()=>{try{WN.forEach(e=>{localStorage.getItem(e)!==null&&localStorage.removeItem(e)})}catch(e){console.error("Failed to cleanup legacy localStorage keys",{error:e})}},JN=["chat"],eO=(e,t)=>{try{const a={chat:e.chat},n=Ja(t),r=JSON.stringify(a);localStorage.setItem(n.CHAT_STATE,r)}catch{const n=Ja(t);localStorage.removeItem(n.CHAT_STATE)}},tO=e=>{try{const t=Ja(e),a=localStorage.getItem(t.CHAT_STATE);if(!a)return;const n=JSON.parse(a),r=n.chat;return r&&(n.chat=E6(r)),n}catch{const a=Ja(e);localStorage.removeItem(a.CHAT_STATE);return}},aO=e=>t=>a=>n=>{const r=t.getState(),i=a(n),s=t.getState();return JN.some(l=>r[l]!==s[l])&&eO(s,e),n.type&&typeof n.type=="string"&&n.type.includes("messages/addUserMessage")&&t.dispatch(L6()),i};class nO{constructor(t){Lt(this,"tokenName");Lt(this,"storageStrategy");Lt(this,"isTokenExpired");Lt(this,"refreshTokenFn");Lt(this,"token",null);Lt(this,"refreshPromise",null);if(this.tokenName=t.tokenName,this.storageStrategy=t.storageStrategy||"memory",this.isTokenExpired=t.isTokenExpired,this.refreshTokenFn=t.refreshToken,this.storageStrategy==="localStorage"){const a=localStorage.getItem(this.tokenName);a&&(this.token=a)}}syncTokenWithStorage(t){this.storageStrategy==="localStorage"&&localStorage.setItem(this.tokenName,t)}decodeToken(t){try{return JSON.parse(atob(t.split(".")[1]))}catch(a){return console.error("Failed to decode token",a),null}}setToken(t){const a=this.decodeToken(t);this.token=a?t:"",this.syncTokenWithStorage(this.token)}async getToken(){const t=typeof this.token=="string"&&this.decodeToken(this.token);return t&&!this.isTokenExpired(t)?Promise.resolve(this.token):this.refreshPromise?this.refreshPromise:(this.refreshPromise=this.refreshTokenFn().then(n=>(this.token=n,this.syncTokenWithStorage(n),this.refreshPromise=null,n)).catch(n=>{throw this.refreshPromise=null,n}),this.refreshPromise)}decode(){return this.token?this.decodeToken(this.token):null}}let Bi=null;const rO=e=>{if(Bi)return Bi;const t=Ja(e);return Bi=new nO({tokenName:t.TOKEN,storageStrategy:"localStorage",refreshToken(){return new Promise(a=>{const n=()=>{a(null)};Promise.resolve().then(()=>uO).then(({getStore:r})=>{const i=r(),s=i.getState().app.config.wp_nonce?{"content-type":"application/json","X-WP-Nonce":i.getState().app.config.wp_nonce}:{"content-type":"application/json"};fetch(`${i.getState().app.config.rest_base}/sg-ai-studio/generate-token`,{method:"POST",headers:s}).then(o=>{o.json().then(l=>o.status>=400?n():a(l.token)).catch(()=>n())}).catch(()=>n())})})},isTokenExpired:a=>Number(a.cts+a.vsec)*1e3<+new Date}),Bi},$c=()=>{if(!Bi)throw new Error("Token manager not initialized. Call initializeAiToken(config) first.");return Bi},iO=0,sO=3,xo={Files:"Files",ChatMessages:"ChatMessages",ChatHistory:"ChatHistory"},en=Fb({reducerPath:"api",keepUnusedDataFor:iO,baseQuery:async(e,t,a)=>{var l;const i=((l=t.getState().app.config)==null?void 0:l.is_staging)?"https://api.staging.studio.siteground.ai":"https://api.studio.siteground.ai",s=Tb({baseUrl:i,timeout:1e4,prepareHeaders:async c=>{const f=await $c().getToken();return c.set("accept","application/json"),c.set("Authorization",`Bearer ${f}`),c}});let o=await s(e,t,a);if(o.error&&o.error.status===401){let c=0;for(;c<sO&&(c++,$c().setToken(null),!(!await $c().getToken()||(o=await s(e,t,a),!o.error||o.error.status!==401))););o.error&&o.error.status===401&&t.dispatch(q6())}return o},endpoints:e=>({getPresignedUrl:e.mutation({query:t=>({url:"api/v1/files/wp-presigned-url",method:"POST",body:t})}),uploadToStorage:e.mutation({queryFn:async({presignedUrl:t,file:a},{signal:n})=>{try{if(!(await fetch(t,{method:"PUT",body:a,headers:{"Content-Type":a.type},signal:n})).ok)throw new Error("Failed to upload file to S3");return{data:void 0}}catch(r){return{error:{status:"FETCH_ERROR",error:r.message}}}},invalidatesTags:[xo.Files]}),getChatHistory:e.query({query:()=>({url:"api/v1/history/wp-history",method:"GET"}),transformResponse:t=>t.data,providesTags:[xo.ChatHistory]}),getChatMessageById:e.query({query:t=>({url:`/chat/v1/messages/${t}`,method:"GET"}),transformResponse:t=>{const a=[...t].sort((o,l)=>o.sequence_number-l.sequence_number),n=[];let r=null;const i=o=>(r??(r={id:o,role:"assistant",content:"",segments:[],timestamp:Date.now(),isStreaming:!1,isComplete:!0}),r),s=()=>{r&&(n.push(r),r=null)};for(const o of a){if(o.role==="user"){s(),n.push({id:o.id,content:o.content,timestamp:Date.now(),role:"user"});continue}if(o.role==="assistant"){const l=i(o.id);l.content+=o.content,ob(l.segments,o.content);continue}if(o.role==="tool_result"){try{const l=JSON.parse(o.content);l&&_h(l)&&!sb(l)&&i(o.id).segments.push({type:"image",content:l})}catch{}continue}}return s(),n},providesTags:[xo.ChatMessages]})}),tagTypes:Object.values(xo)}),{useGetChatHistoryQuery:oO}=en;function lO(e){e(en.util.invalidateTags([xo.ChatHistory]))}const cO=Hd({app:T6,chat:H6,messages:M6,settings:j6,files:X6,logout:Y6,usage:$N,acl:QN,[en.reducerPath]:en.reducer,[Wn.reducerPath]:Wn.reducer});let Fi=null;const qb=e=>{if(Fi)return Fi;const t=Ja(e);_C({[t.CHAT_STATE]:3},t.INVALIDATION);const a=tO(e);return Fi=Fx({reducer:cO,preloadedState:a,middleware:n=>n({serializableCheck:{ignoredActions:["persist/PERSIST","persist/REHYDRATE"]}}).concat(aO(e),en.middleware,Wn.middleware),devTools:!1}),Fi},Qc=()=>{if(!Fi)throw new Error("Store not initialized. Call initializeStore(config) first.");return Fi},uO=Object.freeze(Object.defineProperty({__proto__:null,getStore:Qc,initializeStore:qb},Symbol.toStringTag,{value:"Module"}));function fO(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Yb={exports:{}};(function(e){var t=Object.prototype.hasOwnProperty,a="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(a=!1));function r(l,c,f){this.fn=l,this.context=c,this.once=f||!1}function i(l,c,f,d,u){if(typeof f!="function")throw new TypeError("The listener must be a function");var p=new r(f,d||l,u),_=a?a+c:c;return l._events[_]?l._events[_].fn?l._events[_]=[l._events[_],p]:l._events[_].push(p):(l._events[_]=p,l._eventsCount++),l}function s(l,c){--l._eventsCount===0?l._events=new n:delete l._events[c]}function o(){this._events=new n,this._eventsCount=0}o.prototype.eventNames=function(){var c=[],f,d;if(this._eventsCount===0)return c;for(d in f=this._events)t.call(f,d)&&c.push(a?d.slice(1):d);return Object.getOwnPropertySymbols?c.concat(Object.getOwnPropertySymbols(f)):c},o.prototype.listeners=function(c){var f=a?a+c:c,d=this._events[f];if(!d)return[];if(d.fn)return[d.fn];for(var u=0,p=d.length,_=new Array(p);u<p;u++)_[u]=d[u].fn;return _},o.prototype.listenerCount=function(c){var f=a?a+c:c,d=this._events[f];return d?d.fn?1:d.length:0},o.prototype.emit=function(c,f,d,u,p,_){var E=a?a+c:c;if(!this._events[E])return!1;var v=this._events[E],g=arguments.length,k,y;if(v.fn){switch(v.once&&this.removeListener(c,v.fn,void 0,!0),g){case 1:return v.fn.call(v.context),!0;case 2:return v.fn.call(v.context,f),!0;case 3:return v.fn.call(v.context,f,d),!0;case 4:return v.fn.call(v.context,f,d,u),!0;case 5:return v.fn.call(v.context,f,d,u,p),!0;case 6:return v.fn.call(v.context,f,d,u,p,_),!0}for(y=1,k=new Array(g-1);y<g;y++)k[y-1]=arguments[y];v.fn.apply(v.context,k)}else{var b=v.length,w;for(y=0;y<b;y++)switch(v[y].once&&this.removeListener(c,v[y].fn,void 0,!0),g){case 1:v[y].fn.call(v[y].context);break;case 2:v[y].fn.call(v[y].context,f);break;case 3:v[y].fn.call(v[y].context,f,d);break;case 4:v[y].fn.call(v[y].context,f,d,u);break;default:if(!k)for(w=1,k=new Array(g-1);w<g;w++)k[w-1]=arguments[w];v[y].fn.apply(v[y].context,k)}}return!0},o.prototype.on=function(c,f,d){return i(this,c,f,d,!1)},o.prototype.once=function(c,f,d){return i(this,c,f,d,!0)},o.prototype.removeListener=function(c,f,d,u){var p=a?a+c:c;if(!this._events[p])return this;if(!f)return s(this,p),this;var _=this._events[p];if(_.fn)_.fn===f&&(!u||_.once)&&(!d||_.context===d)&&s(this,p);else{for(var E=0,v=[],g=_.length;E<g;E++)(_[E].fn!==f||u&&!_[E].once||d&&_[E].context!==d)&&v.push(_[E]);v.length?this._events[p]=v.length===1?v[0]:v:s(this,p)}return this},o.prototype.removeAllListeners=function(c){var f;return c?(f=a?a+c:c,this._events[f]&&s(this,f)):(this._events=new n,this._eventsCount=0),this},o.prototype.off=o.prototype.removeListener,o.prototype.addListener=o.prototype.on,o.prefixed=a,o.EventEmitter=o,e.exports=o})(Yb);var dO=Yb.exports,hO=fO(dO),pO=function(){var t=new hO;function a(s,o){t.emit(s,o)}function n(s,o){t.on(s,o)}function r(s,o){return new Promise(function(l){var c=function(d){return l({type:s,payload:d})};t.once(s,c),o&&t.once(s,o)})}function i(s,o){t.removeListener(s,o)}return{emit:a,on:n,once:r,removeListener:i}},Vc,mO=new Uint8Array(16);function gO(){if(!Vc&&(Vc=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Vc))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Vc(mO)}for(var At=[],Rh=0;Rh<256;++Rh)At.push((Rh+256).toString(16).slice(1));function yO(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return At[e[t+0]]+At[e[t+1]]+At[e[t+2]]+At[e[t+3]]+"-"+At[e[t+4]]+At[e[t+5]]+"-"+At[e[t+6]]+At[e[t+7]]+"-"+At[e[t+8]]+At[e[t+9]]+"-"+At[e[t+10]]+At[e[t+11]]+At[e[t+12]]+At[e[t+13]]+At[e[t+14]]+At[e[t+15]]}var _O=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),$b={randomUUID:_O};function bO(e,t,a){if($b.randomUUID&&!e)return $b.randomUUID();e=e||{};var n=e.random||(e.rng||gO)();return n[6]=n[6]&15|64,n[8]=n[8]&63|128,yO(n)}var Hi;(function(e){e.NotificationsChanged="NotificationsChanged"})(Hi||(Hi={}));class kO{constructor(){Lt(this,"notifications",[]);Lt(this,"eventEmitter",pO())}addNotification(t,a={}){const n=a.id||bO(),r={id:n,data:t};return this.notifications.unshift(r),this.eventEmitter.emit(Hi.NotificationsChanged,this.notifications),typeof a.closeAfterMs=="number"&&setTimeout(()=>{this.deleteNotification(n)},a.closeAfterMs),n}deleteNotification(t){const a=this.notifications.findIndex(n=>n.id===t);return a!==-1?(this.notifications.splice(a,1),this.eventEmitter.emit(Hi.NotificationsChanged,this.notifications),!0):!1}getAllNotifications(){return this.notifications}getNotificationsCount(){return this.notifications.length}onChanged(t){return this.eventEmitter.on(Hi.NotificationsChanged,t),()=>this.eventEmitter.removeListener(Hi.NotificationsChanged,t)}}function wO(e){const[t,a]=A.useState([]);return A.useEffect(()=>{const n=e.onChanged(r=>{a([...r])});return()=>{n()}},[e,a]),t}const Zn=new kO,EO=()=>{const e=wO(Zn);return C.jsx(Wz,{children:e.map(t=>C.jsx(d6,{defaultSuccessTitle:"Success",defaultErrorTitle:"Failure",notification:{id:t.id,title:t.data.title,type:t.data.type,message:t.data.message,behaviour:"autoClose"},removeNotification:a=>Zn.deleteNotification(String(a))},t.id))})};var Qb={exports:{}},Gc={},Vb={exports:{}},Gb={};/**
 * @license React
 * scheduler.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */(function(e){function t(B,q){var Y=B.length;B.push(q);e:for(;0<Y;){var V=Y-1>>>1,D=B[V];if(0<r(D,q))B[V]=q,B[Y]=D,Y=V;else break e}}function a(B){return B.length===0?null:B[0]}function n(B){if(B.length===0)return null;var q=B[0],Y=B.pop();if(Y!==q){B[0]=Y;e:for(var V=0,D=B.length,ne=D>>>1;V<ne;){var ie=2*(V+1)-1,M=B[ie],te=ie+1,J=B[te];if(0>r(M,Y))te<D&&0>r(J,M)?(B[V]=J,B[te]=Y,V=te):(B[V]=M,B[ie]=Y,V=ie);else if(te<D&&0>r(J,Y))B[V]=J,B[te]=Y,V=te;else break e}}return q}function r(B,q){var Y=B.sortIndex-q.sortIndex;return Y!==0?Y:B.id-q.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var s=Date,o=s.now();e.unstable_now=function(){return s.now()-o}}var l=[],c=[],f=1,d=null,u=3,p=!1,_=!1,E=!1,v=!1,g=typeof setTimeout=="function"?setTimeout:null,k=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;function b(B){for(var q=a(c);q!==null;){if(q.callback===null)n(c);else if(q.startTime<=B)n(c),q.sortIndex=q.expirationTime,t(l,q);else break;q=a(c)}}function w(B){if(E=!1,b(B),!_)if(a(l)!==null)_=!0,h||(h=!0,L());else{var q=a(c);q!==null&&j(w,q.startTime-B)}}var h=!1,S=-1,O=5,x=-1;function T(){return v?!0:!(e.unstable_now()-x<O)}function z(){if(v=!1,h){var B=e.unstable_now();x=B;var q=!0;try{e:{_=!1,E&&(E=!1,k(S),S=-1),p=!0;var Y=u;try{t:{for(b(B),d=a(l);d!==null&&!(d.expirationTime>B&&T());){var V=d.callback;if(typeof V=="function"){d.callback=null,u=d.priorityLevel;var D=V(d.expirationTime<=B);if(B=e.unstable_now(),typeof D=="function"){d.callback=D,b(B),q=!0;break t}d===a(l)&&n(l),b(B)}else n(l);d=a(l)}if(d!==null)q=!0;else{var ne=a(c);ne!==null&&j(w,ne.startTime-B),q=!1}}break e}finally{d=null,u=Y,p=!1}q=void 0}}finally{q?L():h=!1}}}var L;if(typeof y=="function")L=function(){y(z)};else if(typeof MessageChannel<"u"){var P=new MessageChannel,U=P.port2;P.port1.onmessage=z,L=function(){U.postMessage(null)}}else L=function(){g(z,0)};function j(B,q){S=g(function(){B(e.unstable_now())},q)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(B){B.callback=null},e.unstable_forceFrameRate=function(B){0>B||125<B?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):O=0<B?Math.floor(1e3/B):5},e.unstable_getCurrentPriorityLevel=function(){return u},e.unstable_next=function(B){switch(u){case 1:case 2:case 3:var q=3;break;default:q=u}var Y=u;u=q;try{return B()}finally{u=Y}},e.unstable_requestPaint=function(){v=!0},e.unstable_runWithPriority=function(B,q){switch(B){case 1:case 2:case 3:case 4:case 5:break;default:B=3}var Y=u;u=B;try{return q()}finally{u=Y}},e.unstable_scheduleCallback=function(B,q,Y){var V=e.unstable_now();switch(typeof Y=="object"&&Y!==null?(Y=Y.delay,Y=typeof Y=="number"&&0<Y?V+Y:V):Y=V,B){case 1:var D=-1;break;case 2:D=250;break;case 5:D=1073741823;break;case 4:D=1e4;break;default:D=5e3}return D=Y+D,B={id:f++,callback:q,priorityLevel:B,startTime:Y,expirationTime:D,sortIndex:-1},Y>V?(B.sortIndex=Y,t(c,B),a(l)===null&&B===a(c)&&(E?(k(S),S=-1):E=!0,j(w,Y-V))):(B.sortIndex=D,t(l,B),_||p||(_=!0,h||(h=!0,L()))),B},e.unstable_shouldYield=T,e.unstable_wrapCallback=function(B){var q=u;return function(){var Y=u;u=q;try{return B.apply(this,arguments)}finally{u=Y}}}})(Gb),Vb.exports=Gb;var TO=Vb.exports;/**
 * @license React
 * react-dom-client.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var pt=TO,Xb=A,vO=$_;function Q(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function Kb(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function zo(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function Wb(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Zb(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Jb(e){if(zo(e)!==e)throw Error(Q(188))}function SO(e){var t=e.alternate;if(!t){if(t=zo(e),t===null)throw Error(Q(188));return t!==e?null:e}for(var a=e,n=t;;){var r=a.return;if(r===null)break;var i=r.alternate;if(i===null){if(n=r.return,n!==null){a=n;continue}break}if(r.child===i.child){for(i=r.child;i;){if(i===a)return Jb(r),e;if(i===n)return Jb(r),t;i=i.sibling}throw Error(Q(188))}if(a.return!==n.return)a=r,n=i;else{for(var s=!1,o=r.child;o;){if(o===a){s=!0,a=r,n=i;break}if(o===n){s=!0,n=r,a=i;break}o=o.sibling}if(!s){for(o=i.child;o;){if(o===a){s=!0,a=i,n=r;break}if(o===n){s=!0,n=i,a=r;break}o=o.sibling}if(!s)throw Error(Q(189))}}if(a.alternate!==n)throw Error(Q(190))}if(a.tag!==3)throw Error(Q(188));return a.stateNode.current===a?e:t}function ek(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=ek(e),t!==null)return t;e=e.sibling}return null}var Xe=Object.assign,AO=Symbol.for("react.element"),Xc=Symbol.for("react.transitional.element"),No=Symbol.for("react.portal"),ji=Symbol.for("react.fragment"),tk=Symbol.for("react.strict_mode"),Lh=Symbol.for("react.profiler"),ak=Symbol.for("react.consumer"),kn=Symbol.for("react.context"),Ih=Symbol.for("react.forward_ref"),Mh=Symbol.for("react.suspense"),Ph=Symbol.for("react.suspense_list"),Uh=Symbol.for("react.memo"),Jn=Symbol.for("react.lazy"),Bh=Symbol.for("react.activity"),CO=Symbol.for("react.memo_cache_sentinel"),nk=Symbol.iterator;function Oo(e){return e===null||typeof e!="object"?null:(e=nk&&e[nk]||e["@@iterator"],typeof e=="function"?e:null)}var xO=Symbol.for("react.client.reference");function Fh(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===xO?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ji:return"Fragment";case Lh:return"Profiler";case tk:return"StrictMode";case Mh:return"Suspense";case Ph:return"SuspenseList";case Bh:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case No:return"Portal";case kn:return e.displayName||"Context";case ak:return(e._context.displayName||"Context")+".Consumer";case Ih:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Uh:return t=e.displayName||null,t!==null?t:Fh(e.type)||"Memo";case Jn:t=e._payload,e=e._init;try{return Fh(e(t))}catch{}}return null}var Do=Array.isArray,oe=Xb.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ce=vO.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$r={pending:!1,data:null,method:null,action:null},Hh=[],qi=-1;function tn(e){return{current:e}}function yt(e){0>qi||(e.current=Hh[qi],Hh[qi]=null,qi--)}function Ye(e,t){qi++,Hh[qi]=e.current,e.current=t}var an=tn(null),Ro=tn(null),er=tn(null),Kc=tn(null);function Wc(e,t){switch(Ye(er,t),Ye(Ro,e),Ye(an,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?xE(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=xE(t),e=zE(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}yt(an),Ye(an,e)}function Yi(){yt(an),yt(Ro),yt(er)}function jh(e){e.memoizedState!==null&&Ye(Kc,e);var t=an.current,a=zE(t,e.type);t!==a&&(Ye(Ro,e),Ye(an,a))}function Zc(e){Ro.current===e&&(yt(an),yt(Ro)),Kc.current===e&&(yt(Kc),El._currentValue=$r)}var qh,rk;function Qr(e){if(qh===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);qh=t&&t[1]||"",rk=-1<a.stack.indexOf(`
    at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
`+qh+e+rk}var Yh=!1;function $h(e,t){if(!e||Yh)return"";Yh=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var n={DetermineComponentFrameRoot:function(){try{if(t){var d=function(){throw Error()};if(Object.defineProperty(d.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(d,[])}catch(p){var u=p}Reflect.construct(e,[],d)}else{try{d.call()}catch(p){u=p}e.call(d.prototype)}}else{try{throw Error()}catch(p){u=p}(d=e())&&typeof d.catch=="function"&&d.catch(function(){})}}catch(p){if(p&&u&&typeof p.stack=="string")return[p.stack,u.stack]}return[null,null]}};n.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var r=Object.getOwnPropertyDescriptor(n.DetermineComponentFrameRoot,"name");r&&r.configurable&&Object.defineProperty(n.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=n.DetermineComponentFrameRoot(),s=i[0],o=i[1];if(s&&o){var l=s.split(`
`),c=o.split(`
`);for(r=n=0;n<l.length&&!l[n].includes("DetermineComponentFrameRoot");)n++;for(;r<c.length&&!c[r].includes("DetermineComponentFrameRoot");)r++;if(n===l.length||r===c.length)for(n=l.length-1,r=c.length-1;1<=n&&0<=r&&l[n]!==c[r];)r--;for(;1<=n&&0<=r;n--,r--)if(l[n]!==c[r]){if(n!==1||r!==1)do if(n--,r--,0>r||l[n]!==c[r]){var f=`
`+l[n].replace(" at new "," at ");return e.displayName&&f.includes("<anonymous>")&&(f=f.replace("<anonymous>",e.displayName)),f}while(1<=n&&0<=r);break}}}finally{Yh=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?Qr(a):""}function zO(e,t){switch(e.tag){case 26:case 27:case 5:return Qr(e.type);case 16:return Qr("Lazy");case 13:return e.child!==t&&t!==null?Qr("Suspense Fallback"):Qr("Suspense");case 19:return Qr("SuspenseList");case 0:case 15:return $h(e.type,!1);case 11:return $h(e.type.render,!1);case 1:return $h(e.type,!0);case 31:return Qr("Activity");default:return""}}function ik(e){try{var t="",a=null;do t+=zO(e,a),a=e,e=e.return;while(e);return t}catch(n){return`
Error generating stack: `+n.message+`
`+n.stack}}var Qh=Object.prototype.hasOwnProperty,Vh=pt.unstable_scheduleCallback,Gh=pt.unstable_cancelCallback,NO=pt.unstable_shouldYield,OO=pt.unstable_requestPaint,la=pt.unstable_now,DO=pt.unstable_getCurrentPriorityLevel,sk=pt.unstable_ImmediatePriority,ok=pt.unstable_UserBlockingPriority,Jc=pt.unstable_NormalPriority,RO=pt.unstable_LowPriority,lk=pt.unstable_IdlePriority,LO=pt.log,IO=pt.unstable_setDisableYieldValue,Lo=null,ca=null;function tr(e){if(typeof LO=="function"&&IO(e),ca&&typeof ca.setStrictMode=="function")try{ca.setStrictMode(Lo,e)}catch{}}var ua=Math.clz32?Math.clz32:UO,MO=Math.log,PO=Math.LN2;function UO(e){return e>>>=0,e===0?32:31-(MO(e)/PO|0)|0}var eu=256,tu=262144,au=4194304;function Vr(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function nu(e,t,a){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,s=e.pingedLanes;e=e.warmLanes;var o=n&134217727;return o!==0?(n=o&~i,n!==0?r=Vr(n):(s&=o,s!==0?r=Vr(s):a||(a=o&~e,a!==0&&(r=Vr(a))))):(o=n&~i,o!==0?r=Vr(o):s!==0?r=Vr(s):a||(a=n&~e,a!==0&&(r=Vr(a)))),r===0?0:t!==0&&t!==r&&!(t&i)&&(i=r&-r,a=t&-t,i>=a||i===32&&(a&4194048)!==0)?t:r}function Io(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function BO(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ck(){var e=au;return au<<=1,!(au&62914560)&&(au=4194304),e}function Xh(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function Mo(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function FO(e,t,a,n,r,i){var s=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var o=e.entanglements,l=e.expirationTimes,c=e.hiddenUpdates;for(a=s&~a;0<a;){var f=31-ua(a),d=1<<f;o[f]=0,l[f]=-1;var u=c[f];if(u!==null)for(c[f]=null,f=0;f<u.length;f++){var p=u[f];p!==null&&(p.lane&=-536870913)}a&=~d}n!==0&&uk(e,n,0),i!==0&&r===0&&e.tag!==0&&(e.suspendedLanes|=i&~(s&~t))}function uk(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var n=31-ua(t);e.entangledLanes|=t,e.entanglements[n]=e.entanglements[n]|1073741824|a&261930}function fk(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var n=31-ua(a),r=1<<n;r&t|e[n]&t&&(e[n]|=t),a&=~r}}function dk(e,t){var a=t&-t;return a=a&42?1:Kh(a),a&(e.suspendedLanes|t)?0:a}function Kh(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Wh(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function hk(){var e=Ce.p;return e!==0?e:(e=window.event,e===void 0?32:ZE(e.type))}function pk(e,t){var a=Ce.p;try{return Ce.p=e,t()}finally{Ce.p=a}}var ar=Math.random().toString(36).slice(2),Ct="__reactFiber$"+ar,Wt="__reactProps$"+ar,$i="__reactContainer$"+ar,Zh="__reactEvents$"+ar,HO="__reactListeners$"+ar,jO="__reactHandles$"+ar,mk="__reactResources$"+ar,Po="__reactMarker$"+ar;function Jh(e){delete e[Ct],delete e[Wt],delete e[Zh],delete e[HO],delete e[jO]}function Qi(e){var t=e[Ct];if(t)return t;for(var a=e.parentNode;a;){if(t=a[$i]||a[Ct]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=ME(e);e!==null;){if(a=e[Ct])return a;e=ME(e)}return t}e=a,a=e.parentNode}return null}function Vi(e){if(e=e[Ct]||e[$i]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Uo(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(Q(33))}function Gi(e){var t=e[mk];return t||(t=e[mk]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function _t(e){e[Po]=!0}var gk=new Set,yk={};function Gr(e,t){Xi(e,t),Xi(e+"Capture",t)}function Xi(e,t){for(yk[e]=t,e=0;e<t.length;e++)gk.add(t[e])}var qO=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),_k={},bk={};function YO(e){return Qh.call(bk,e)?!0:Qh.call(_k,e)?!1:qO.test(e)?bk[e]=!0:(_k[e]=!0,!1)}function ru(e,t,a){if(YO(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var n=t.toLowerCase().slice(0,5);if(n!=="data-"&&n!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+a)}}function iu(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+a)}}function wn(e,t,a,n){if(n===null)e.removeAttribute(a);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(t,a,""+n)}}function va(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function kk(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function $O(e,t,a){var n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var r=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(s){a=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return a},setValue:function(s){a=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ep(e){if(!e._valueTracker){var t=kk(e)?"checked":"value";e._valueTracker=$O(e,t,""+e[t])}}function wk(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),n="";return e&&(n=kk(e)?e.checked?"true":"false":e.value),e=n,e!==a?(t.setValue(e),!0):!1}function su(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var QO=/[\n"\\]/g;function Sa(e){return e.replace(QO,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function tp(e,t,a,n,r,i,s,o){e.name="",s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"?e.type=s:e.removeAttribute("type"),t!=null?s==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+va(t)):e.value!==""+va(t)&&(e.value=""+va(t)):s!=="submit"&&s!=="reset"||e.removeAttribute("value"),t!=null?ap(e,s,va(t)):a!=null?ap(e,s,va(a)):n!=null&&e.removeAttribute("value"),r==null&&i!=null&&(e.defaultChecked=!!i),r!=null&&(e.checked=r&&typeof r!="function"&&typeof r!="symbol"),o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"?e.name=""+va(o):e.removeAttribute("name")}function Ek(e,t,a,n,r,i,s,o){if(i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(e.type=i),t!=null||a!=null){if(!(i!=="submit"&&i!=="reset"||t!=null)){ep(e);return}a=a!=null?""+va(a):"",t=t!=null?""+va(t):a,o||t===e.value||(e.value=t),e.defaultValue=t}n=n??r,n=typeof n!="function"&&typeof n!="symbol"&&!!n,e.checked=o?e.checked:!!n,e.defaultChecked=!!n,s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(e.name=s),ep(e)}function ap(e,t,a){t==="number"&&su(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function Ki(e,t,a,n){if(e=e.options,t){t={};for(var r=0;r<a.length;r++)t["$"+a[r]]=!0;for(a=0;a<e.length;a++)r=t.hasOwnProperty("$"+e[a].value),e[a].selected!==r&&(e[a].selected=r),r&&n&&(e[a].defaultSelected=!0)}else{for(a=""+va(a),t=null,r=0;r<e.length;r++){if(e[r].value===a){e[r].selected=!0,n&&(e[r].defaultSelected=!0);return}t!==null||e[r].disabled||(t=e[r])}t!==null&&(t.selected=!0)}}function Tk(e,t,a){if(t!=null&&(t=""+va(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+va(a):""}function vk(e,t,a,n){if(t==null){if(n!=null){if(a!=null)throw Error(Q(92));if(Do(n)){if(1<n.length)throw Error(Q(93));n=n[0]}a=n}a==null&&(a=""),t=a}a=va(t),e.defaultValue=a,n=e.textContent,n===a&&n!==""&&n!==null&&(e.value=n),ep(e)}function Wi(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}var VO=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Sk(e,t,a){var n=t.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?n?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":n?e.setProperty(t,a):typeof a!="number"||a===0||VO.has(t)?t==="float"?e.cssFloat=a:e[t]=(""+a).trim():e[t]=a+"px"}function Ak(e,t,a){if(t!=null&&typeof t!="object")throw Error(Q(62));if(e=e.style,a!=null){for(var n in a)!a.hasOwnProperty(n)||t!=null&&t.hasOwnProperty(n)||(n.indexOf("--")===0?e.setProperty(n,""):n==="float"?e.cssFloat="":e[n]="");for(var r in t)n=t[r],t.hasOwnProperty(r)&&a[r]!==n&&Sk(e,r,n)}else for(var i in t)t.hasOwnProperty(i)&&Sk(e,i,t[i])}function np(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var GO=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),XO=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function ou(e){return XO.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function En(){}var rp=null;function ip(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Zi=null,Ji=null;function Ck(e){var t=Vi(e);if(t&&(e=t.stateNode)){var a=e[Wt]||null;e:switch(e=t.stateNode,t.type){case"input":if(tp(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+Sa(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var n=a[t];if(n!==e&&n.form===e.form){var r=n[Wt]||null;if(!r)throw Error(Q(90));tp(n,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name)}}for(t=0;t<a.length;t++)n=a[t],n.form===e.form&&wk(n)}break e;case"textarea":Tk(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&Ki(e,!!a.multiple,t,!1)}}}var sp=!1;function xk(e,t,a){if(sp)return e(t,a);sp=!0;try{var n=e(t);return n}finally{if(sp=!1,(Zi!==null||Ji!==null)&&(Gu(),Zi&&(t=Zi,e=Ji,Ji=Zi=null,Ck(t),e)))for(t=0;t<e.length;t++)Ck(e[t])}}function Bo(e,t){var a=e.stateNode;if(a===null)return null;var n=a[Wt]||null;if(n===null)return null;a=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(e=e.type,n=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!n;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error(Q(231,t,typeof a));return a}var Tn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),op=!1;if(Tn)try{var Fo={};Object.defineProperty(Fo,"passive",{get:function(){op=!0}}),window.addEventListener("test",Fo,Fo),window.removeEventListener("test",Fo,Fo)}catch{op=!1}var nr=null,lp=null,lu=null;function zk(){if(lu)return lu;var e,t=lp,a=t.length,n,r="value"in nr?nr.value:nr.textContent,i=r.length;for(e=0;e<a&&t[e]===r[e];e++);var s=a-e;for(n=1;n<=s&&t[a-n]===r[i-n];n++);return lu=r.slice(e,1<n?1-n:void 0)}function cu(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function uu(){return!0}function Nk(){return!1}function Zt(e){function t(a,n,r,i,s){this._reactName=a,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=s,this.currentTarget=null;for(var o in e)e.hasOwnProperty(o)&&(a=e[o],this[o]=a?a(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?uu:Nk,this.isPropagationStopped=Nk,this}return Xe(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=uu)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=uu)},persist:function(){},isPersistent:uu}),t}var Xr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},fu=Zt(Xr),Ho=Xe({},Xr,{view:0,detail:0}),KO=Zt(Ho),cp,up,jo,du=Xe({},Ho,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:dp,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!==jo&&(jo&&e.type==="mousemove"?(cp=e.screenX-jo.screenX,up=e.screenY-jo.screenY):up=cp=0,jo=e),cp)},movementY:function(e){return"movementY"in e?e.movementY:up}}),Ok=Zt(du),WO=Xe({},du,{dataTransfer:0}),ZO=Zt(WO),JO=Xe({},Ho,{relatedTarget:0}),fp=Zt(JO),eD=Xe({},Xr,{animationName:0,elapsedTime:0,pseudoElement:0}),tD=Zt(eD),aD=Xe({},Xr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),nD=Zt(aD),rD=Xe({},Xr,{data:0}),Dk=Zt(rD),iD={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},sD={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"},oD={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function lD(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=oD[e])?!!t[e]:!1}function dp(){return lD}var cD=Xe({},Ho,{key:function(e){if(e.key){var t=iD[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=cu(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?sD[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:dp,charCode:function(e){return e.type==="keypress"?cu(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?cu(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),uD=Zt(cD),fD=Xe({},du,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Rk=Zt(fD),dD=Xe({},Ho,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:dp}),hD=Zt(dD),pD=Xe({},Xr,{propertyName:0,elapsedTime:0,pseudoElement:0}),mD=Zt(pD),gD=Xe({},du,{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}),yD=Zt(gD),_D=Xe({},Xr,{newState:0,oldState:0}),bD=Zt(_D),kD=[9,13,27,32],hp=Tn&&"CompositionEvent"in window,qo=null;Tn&&"documentMode"in document&&(qo=document.documentMode);var wD=Tn&&"TextEvent"in window&&!qo,Lk=Tn&&(!hp||qo&&8<qo&&11>=qo),Ik=" ",Mk=!1;function Pk(e,t){switch(e){case"keyup":return kD.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Uk(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var es=!1;function ED(e,t){switch(e){case"compositionend":return Uk(t);case"keypress":return t.which!==32?null:(Mk=!0,Ik);case"textInput":return e=t.data,e===Ik&&Mk?null:e;default:return null}}function TD(e,t){if(es)return e==="compositionend"||!hp&&Pk(e,t)?(e=zk(),lu=lp=nr=null,es=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Lk&&t.locale!=="ko"?null:t.data;default:return null}}var vD={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Bk(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!vD[e.type]:t==="textarea"}function Fk(e,t,a,n){Zi?Ji?Ji.push(n):Ji=[n]:Zi=n,t=tf(t,"onChange"),0<t.length&&(a=new fu("onChange","change",null,a,n),e.push({event:a,listeners:t}))}var Yo=null,$o=null;function SD(e){EE(e,0)}function hu(e){var t=Uo(e);if(wk(t))return e}function Hk(e,t){if(e==="change")return t}var jk=!1;if(Tn){var pp;if(Tn){var mp="oninput"in document;if(!mp){var qk=document.createElement("div");qk.setAttribute("oninput","return;"),mp=typeof qk.oninput=="function"}pp=mp}else pp=!1;jk=pp&&(!document.documentMode||9<document.documentMode)}function Yk(){Yo&&(Yo.detachEvent("onpropertychange",$k),$o=Yo=null)}function $k(e){if(e.propertyName==="value"&&hu($o)){var t=[];Fk(t,$o,e,ip(e)),xk(SD,t)}}function AD(e,t,a){e==="focusin"?(Yk(),Yo=t,$o=a,Yo.attachEvent("onpropertychange",$k)):e==="focusout"&&Yk()}function CD(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return hu($o)}function xD(e,t){if(e==="click")return hu(t)}function zD(e,t){if(e==="input"||e==="change")return hu(t)}function ND(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var fa=typeof Object.is=="function"?Object.is:ND;function Qo(e,t){if(fa(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),n=Object.keys(t);if(a.length!==n.length)return!1;for(n=0;n<a.length;n++){var r=a[n];if(!Qh.call(t,r)||!fa(e[r],t[r]))return!1}return!0}function Qk(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Vk(e,t){var a=Qk(e);e=0;for(var n;a;){if(a.nodeType===3){if(n=e+a.textContent.length,e<=t&&n>=t)return{node:a,offset:t-e};e=n}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=Qk(a)}}function Gk(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Gk(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Xk(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=su(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=su(e.document)}return t}function gp(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var OD=Tn&&"documentMode"in document&&11>=document.documentMode,ts=null,yp=null,Vo=null,_p=!1;function Kk(e,t,a){var n=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;_p||ts==null||ts!==su(n)||(n=ts,"selectionStart"in n&&gp(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),Vo&&Qo(Vo,n)||(Vo=n,n=tf(yp,"onSelect"),0<n.length&&(t=new fu("onSelect","select",null,t,a),e.push({event:t,listeners:n}),t.target=ts)))}function Kr(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var as={animationend:Kr("Animation","AnimationEnd"),animationiteration:Kr("Animation","AnimationIteration"),animationstart:Kr("Animation","AnimationStart"),transitionrun:Kr("Transition","TransitionRun"),transitionstart:Kr("Transition","TransitionStart"),transitioncancel:Kr("Transition","TransitionCancel"),transitionend:Kr("Transition","TransitionEnd")},bp={},Wk={};Tn&&(Wk=document.createElement("div").style,"AnimationEvent"in window||(delete as.animationend.animation,delete as.animationiteration.animation,delete as.animationstart.animation),"TransitionEvent"in window||delete as.transitionend.transition);function Wr(e){if(bp[e])return bp[e];if(!as[e])return e;var t=as[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in Wk)return bp[e]=t[a];return e}var Zk=Wr("animationend"),Jk=Wr("animationiteration"),e1=Wr("animationstart"),DD=Wr("transitionrun"),RD=Wr("transitionstart"),LD=Wr("transitioncancel"),t1=Wr("transitionend"),a1=new Map,kp="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");kp.push("scrollEnd");function $a(e,t){a1.set(e,t),Gr(t,[e])}var pu=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Aa=[],ns=0,wp=0;function mu(){for(var e=ns,t=wp=ns=0;t<e;){var a=Aa[t];Aa[t++]=null;var n=Aa[t];Aa[t++]=null;var r=Aa[t];Aa[t++]=null;var i=Aa[t];if(Aa[t++]=null,n!==null&&r!==null){var s=n.pending;s===null?r.next=r:(r.next=s.next,s.next=r),n.pending=r}i!==0&&n1(a,r,i)}}function gu(e,t,a,n){Aa[ns++]=e,Aa[ns++]=t,Aa[ns++]=a,Aa[ns++]=n,wp|=n,e.lanes|=n,e=e.alternate,e!==null&&(e.lanes|=n)}function Ep(e,t,a,n){return gu(e,t,a,n),yu(e)}function Zr(e,t){return gu(e,null,null,t),yu(e)}function n1(e,t,a){e.lanes|=a;var n=e.alternate;n!==null&&(n.lanes|=a);for(var r=!1,i=e.return;i!==null;)i.childLanes|=a,n=i.alternate,n!==null&&(n.childLanes|=a),i.tag===22&&(e=i.stateNode,e===null||e._visibility&1||(r=!0)),e=i,i=i.return;return e.tag===3?(i=e.stateNode,r&&t!==null&&(r=31-ua(a),e=i.hiddenUpdates,n=e[r],n===null?e[r]=[t]:n.push(t),t.lane=a|536870912),i):null}function yu(e){if(50<ml)throw ml=0,Om=null,Error(Q(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var rs={};function ID(e,t,a,n){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function da(e,t,a,n){return new ID(e,t,a,n)}function Tp(e){return e=e.prototype,!(!e||!e.isReactComponent)}function vn(e,t){var a=e.alternate;return a===null?(a=da(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function r1(e,t){e.flags&=65011714;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function _u(e,t,a,n,r,i){var s=0;if(n=e,typeof e=="function")Tp(e)&&(s=1);else if(typeof e=="string")s=F4(e,a,an.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Bh:return e=da(31,a,t,r),e.elementType=Bh,e.lanes=i,e;case ji:return Jr(a.children,r,i,t);case tk:s=8,r|=24;break;case Lh:return e=da(12,a,t,r|2),e.elementType=Lh,e.lanes=i,e;case Mh:return e=da(13,a,t,r),e.elementType=Mh,e.lanes=i,e;case Ph:return e=da(19,a,t,r),e.elementType=Ph,e.lanes=i,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case kn:s=10;break e;case ak:s=9;break e;case Ih:s=11;break e;case Uh:s=14;break e;case Jn:s=16,n=null;break e}s=29,a=Error(Q(130,e===null?"null":typeof e,"")),n=null}return t=da(s,a,t,r),t.elementType=e,t.type=n,t.lanes=i,t}function Jr(e,t,a,n){return e=da(7,e,n,t),e.lanes=a,e}function vp(e,t,a){return e=da(6,e,null,t),e.lanes=a,e}function i1(e){var t=da(18,null,null,0);return t.stateNode=e,t}function Sp(e,t,a){return t=da(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var s1=new WeakMap;function Ca(e,t){if(typeof e=="object"&&e!==null){var a=s1.get(e);return a!==void 0?a:(t={value:e,source:t,stack:ik(t)},s1.set(e,t),t)}return{value:e,source:t,stack:ik(t)}}var is=[],ss=0,bu=null,Go=0,xa=[],za=0,rr=null,nn=1,rn="";function Sn(e,t){is[ss++]=Go,is[ss++]=bu,bu=e,Go=t}function o1(e,t,a){xa[za++]=nn,xa[za++]=rn,xa[za++]=rr,rr=e;var n=nn;e=rn;var r=32-ua(n)-1;n&=~(1<<r),a+=1;var i=32-ua(t)+r;if(30<i){var s=r-r%5;i=(n&(1<<s)-1).toString(32),n>>=s,r-=s,nn=1<<32-ua(t)+r|a<<r|n,rn=i+e}else nn=1<<i|a<<r|n,rn=e}function Ap(e){e.return!==null&&(Sn(e,1),o1(e,1,0))}function Cp(e){for(;e===bu;)bu=is[--ss],is[ss]=null,Go=is[--ss],is[ss]=null;for(;e===rr;)rr=xa[--za],xa[za]=null,rn=xa[--za],xa[za]=null,nn=xa[--za],xa[za]=null}function l1(e,t){xa[za++]=nn,xa[za++]=rn,xa[za++]=rr,nn=t.id,rn=t.overflow,rr=e}var xt=null,Ke=null,ve=!1,ir=null,Na=!1,xp=Error(Q(519));function sr(e){var t=Error(Q(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Xo(Ca(t,e)),xp}function c1(e){var t=e.stateNode,a=e.type,n=e.memoizedProps;switch(t[Ct]=e,t[Wt]=n,a){case"dialog":we("cancel",t),we("close",t);break;case"iframe":case"object":case"embed":we("load",t);break;case"video":case"audio":for(a=0;a<yl.length;a++)we(yl[a],t);break;case"source":we("error",t);break;case"img":case"image":case"link":we("error",t),we("load",t);break;case"details":we("toggle",t);break;case"input":we("invalid",t),Ek(t,n.value,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name,!0);break;case"select":we("invalid",t);break;case"textarea":we("invalid",t),vk(t,n.value,n.defaultValue,n.children)}a=n.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||n.suppressHydrationWarning===!0||AE(t.textContent,a)?(n.popover!=null&&(we("beforetoggle",t),we("toggle",t)),n.onScroll!=null&&we("scroll",t),n.onScrollEnd!=null&&we("scrollend",t),n.onClick!=null&&(t.onclick=En),t=!0):t=!1,t||sr(e,!0)}function u1(e){for(xt=e.return;xt;)switch(xt.tag){case 5:case 31:case 13:Na=!1;return;case 27:case 3:Na=!0;return;default:xt=xt.return}}function os(e){if(e!==xt)return!1;if(!ve)return u1(e),ve=!0,!1;var t=e.tag,a;if((a=t!==3&&t!==27)&&((a=t===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||Qm(e.type,e.memoizedProps)),a=!a),a&&Ke&&sr(e),u1(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(Q(317));Ke=IE(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(Q(317));Ke=IE(e)}else t===27?(t=Ke,kr(e.type)?(e=Wm,Wm=null,Ke=e):Ke=t):Ke=xt?Da(e.stateNode.nextSibling):null;return!0}function ei(){Ke=xt=null,ve=!1}function zp(){var e=ir;return e!==null&&(aa===null?aa=e:aa.push.apply(aa,e),ir=null),e}function Xo(e){ir===null?ir=[e]:ir.push(e)}var Np=tn(null),ti=null,An=null;function or(e,t,a){Ye(Np,t._currentValue),t._currentValue=a}function Cn(e){e._currentValue=Np.current,yt(Np)}function Op(e,t,a){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===a)break;e=e.return}}function Dp(e,t,a,n){var r=e.child;for(r!==null&&(r.return=e);r!==null;){var i=r.dependencies;if(i!==null){var s=r.child;i=i.firstContext;e:for(;i!==null;){var o=i;i=r;for(var l=0;l<t.length;l++)if(o.context===t[l]){i.lanes|=a,o=i.alternate,o!==null&&(o.lanes|=a),Op(i.return,a,e),n||(s=null);break e}i=o.next}}else if(r.tag===18){if(s=r.return,s===null)throw Error(Q(341));s.lanes|=a,i=s.alternate,i!==null&&(i.lanes|=a),Op(s,a,e),s=null}else s=r.child;if(s!==null)s.return=r;else for(s=r;s!==null;){if(s===e){s=null;break}if(r=s.sibling,r!==null){r.return=s.return,s=r;break}s=s.return}r=s}}function ls(e,t,a,n){e=null;for(var r=t,i=!1;r!==null;){if(!i){if(r.flags&524288)i=!0;else if(r.flags&262144)break}if(r.tag===10){var s=r.alternate;if(s===null)throw Error(Q(387));if(s=s.memoizedProps,s!==null){var o=r.type;fa(r.pendingProps.value,s.value)||(e!==null?e.push(o):e=[o])}}else if(r===Kc.current){if(s=r.alternate,s===null)throw Error(Q(387));s.memoizedState.memoizedState!==r.memoizedState.memoizedState&&(e!==null?e.push(El):e=[El])}r=r.return}e!==null&&Dp(t,e,a,n),t.flags|=262144}function ku(e){for(e=e.firstContext;e!==null;){if(!fa(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ai(e){ti=e,An=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function zt(e){return f1(ti,e)}function wu(e,t){return ti===null&&ai(e),f1(e,t)}function f1(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},An===null){if(e===null)throw Error(Q(308));An=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else An=An.next=t;return a}var MD=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},PD=pt.unstable_scheduleCallback,UD=pt.unstable_NormalPriority,st={$$typeof:kn,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Rp(){return{controller:new MD,data:new Map,refCount:0}}function Ko(e){e.refCount--,e.refCount===0&&PD(UD,function(){e.controller.abort()})}var Wo=null,Lp=0,cs=0,us=null;function BD(e,t){if(Wo===null){var a=Wo=[];Lp=0,cs=Pm(),us={status:"pending",value:void 0,then:function(n){a.push(n)}}}return Lp++,t.then(d1,d1),t}function d1(){if(--Lp===0&&Wo!==null){us!==null&&(us.status="fulfilled");var e=Wo;Wo=null,cs=0,us=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function FD(e,t){var a=[],n={status:"pending",value:null,reason:null,then:function(r){a.push(r)}};return e.then(function(){n.status="fulfilled",n.value=t;for(var r=0;r<a.length;r++)(0,a[r])(t)},function(r){for(n.status="rejected",n.reason=r,r=0;r<a.length;r++)(0,a[r])(void 0)}),n}var h1=oe.S;oe.S=function(e,t){Kw=la(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&BD(e,t),h1!==null&&h1(e,t)};var ni=tn(null);function Ip(){var e=ni.current;return e!==null?e:Ue.pooledCache}function Eu(e,t){t===null?Ye(ni,ni.current):Ye(ni,t.pool)}function p1(){var e=Ip();return e===null?null:{parent:st._currentValue,pool:e}}var fs=Error(Q(460)),Mp=Error(Q(474)),Tu=Error(Q(542)),vu={then:function(){}};function m1(e){return e=e.status,e==="fulfilled"||e==="rejected"}function g1(e,t,a){switch(a=e[a],a===void 0?e.push(t):a!==t&&(t.then(En,En),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,_1(e),e;default:if(typeof t.status=="string")t.then(En,En);else{if(e=Ue,e!==null&&100<e.shellSuspendCounter)throw Error(Q(482));e=t,e.status="pending",e.then(function(n){if(t.status==="pending"){var r=t;r.status="fulfilled",r.value=n}},function(n){if(t.status==="pending"){var r=t;r.status="rejected",r.reason=n}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,_1(e),e}throw ii=t,fs}}function ri(e){try{var t=e._init;return t(e._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(ii=a,fs):a}}var ii=null;function y1(){if(ii===null)throw Error(Q(459));var e=ii;return ii=null,e}function _1(e){if(e===fs||e===Tu)throw Error(Q(483))}var ds=null,Zo=0;function Su(e){var t=Zo;return Zo+=1,ds===null&&(ds=[]),g1(ds,e,t)}function Jo(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Au(e,t){throw t.$$typeof===AO?Error(Q(525)):(e=Object.prototype.toString.call(t),Error(Q(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function b1(e){function t(g,k){if(e){var y=g.deletions;y===null?(g.deletions=[k],g.flags|=16):y.push(k)}}function a(g,k){if(!e)return null;for(;k!==null;)t(g,k),k=k.sibling;return null}function n(g){for(var k=new Map;g!==null;)g.key!==null?k.set(g.key,g):k.set(g.index,g),g=g.sibling;return k}function r(g,k){return g=vn(g,k),g.index=0,g.sibling=null,g}function i(g,k,y){return g.index=y,e?(y=g.alternate,y!==null?(y=y.index,y<k?(g.flags|=67108866,k):y):(g.flags|=67108866,k)):(g.flags|=1048576,k)}function s(g){return e&&g.alternate===null&&(g.flags|=67108866),g}function o(g,k,y,b){return k===null||k.tag!==6?(k=vp(y,g.mode,b),k.return=g,k):(k=r(k,y),k.return=g,k)}function l(g,k,y,b){var w=y.type;return w===ji?f(g,k,y.props.children,b,y.key):k!==null&&(k.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===Jn&&ri(w)===k.type)?(k=r(k,y.props),Jo(k,y),k.return=g,k):(k=_u(y.type,y.key,y.props,null,g.mode,b),Jo(k,y),k.return=g,k)}function c(g,k,y,b){return k===null||k.tag!==4||k.stateNode.containerInfo!==y.containerInfo||k.stateNode.implementation!==y.implementation?(k=Sp(y,g.mode,b),k.return=g,k):(k=r(k,y.children||[]),k.return=g,k)}function f(g,k,y,b,w){return k===null||k.tag!==7?(k=Jr(y,g.mode,b,w),k.return=g,k):(k=r(k,y),k.return=g,k)}function d(g,k,y){if(typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint")return k=vp(""+k,g.mode,y),k.return=g,k;if(typeof k=="object"&&k!==null){switch(k.$$typeof){case Xc:return y=_u(k.type,k.key,k.props,null,g.mode,y),Jo(y,k),y.return=g,y;case No:return k=Sp(k,g.mode,y),k.return=g,k;case Jn:return k=ri(k),d(g,k,y)}if(Do(k)||Oo(k))return k=Jr(k,g.mode,y,null),k.return=g,k;if(typeof k.then=="function")return d(g,Su(k),y);if(k.$$typeof===kn)return d(g,wu(g,k),y);Au(g,k)}return null}function u(g,k,y,b){var w=k!==null?k.key:null;if(typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint")return w!==null?null:o(g,k,""+y,b);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case Xc:return y.key===w?l(g,k,y,b):null;case No:return y.key===w?c(g,k,y,b):null;case Jn:return y=ri(y),u(g,k,y,b)}if(Do(y)||Oo(y))return w!==null?null:f(g,k,y,b,null);if(typeof y.then=="function")return u(g,k,Su(y),b);if(y.$$typeof===kn)return u(g,k,wu(g,y),b);Au(g,y)}return null}function p(g,k,y,b,w){if(typeof b=="string"&&b!==""||typeof b=="number"||typeof b=="bigint")return g=g.get(y)||null,o(k,g,""+b,w);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case Xc:return g=g.get(b.key===null?y:b.key)||null,l(k,g,b,w);case No:return g=g.get(b.key===null?y:b.key)||null,c(k,g,b,w);case Jn:return b=ri(b),p(g,k,y,b,w)}if(Do(b)||Oo(b))return g=g.get(y)||null,f(k,g,b,w,null);if(typeof b.then=="function")return p(g,k,y,Su(b),w);if(b.$$typeof===kn)return p(g,k,y,wu(k,b),w);Au(k,b)}return null}function _(g,k,y,b){for(var w=null,h=null,S=k,O=k=0,x=null;S!==null&&O<y.length;O++){S.index>O?(x=S,S=null):x=S.sibling;var T=u(g,S,y[O],b);if(T===null){S===null&&(S=x);break}e&&S&&T.alternate===null&&t(g,S),k=i(T,k,O),h===null?w=T:h.sibling=T,h=T,S=x}if(O===y.length)return a(g,S),ve&&Sn(g,O),w;if(S===null){for(;O<y.length;O++)S=d(g,y[O],b),S!==null&&(k=i(S,k,O),h===null?w=S:h.sibling=S,h=S);return ve&&Sn(g,O),w}for(S=n(S);O<y.length;O++)x=p(S,g,O,y[O],b),x!==null&&(e&&x.alternate!==null&&S.delete(x.key===null?O:x.key),k=i(x,k,O),h===null?w=x:h.sibling=x,h=x);return e&&S.forEach(function(z){return t(g,z)}),ve&&Sn(g,O),w}function E(g,k,y,b){if(y==null)throw Error(Q(151));for(var w=null,h=null,S=k,O=k=0,x=null,T=y.next();S!==null&&!T.done;O++,T=y.next()){S.index>O?(x=S,S=null):x=S.sibling;var z=u(g,S,T.value,b);if(z===null){S===null&&(S=x);break}e&&S&&z.alternate===null&&t(g,S),k=i(z,k,O),h===null?w=z:h.sibling=z,h=z,S=x}if(T.done)return a(g,S),ve&&Sn(g,O),w;if(S===null){for(;!T.done;O++,T=y.next())T=d(g,T.value,b),T!==null&&(k=i(T,k,O),h===null?w=T:h.sibling=T,h=T);return ve&&Sn(g,O),w}for(S=n(S);!T.done;O++,T=y.next())T=p(S,g,O,T.value,b),T!==null&&(e&&T.alternate!==null&&S.delete(T.key===null?O:T.key),k=i(T,k,O),h===null?w=T:h.sibling=T,h=T);return e&&S.forEach(function(L){return t(g,L)}),ve&&Sn(g,O),w}function v(g,k,y,b){if(typeof y=="object"&&y!==null&&y.type===ji&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case Xc:e:{for(var w=y.key;k!==null;){if(k.key===w){if(w=y.type,w===ji){if(k.tag===7){a(g,k.sibling),b=r(k,y.props.children),b.return=g,g=b;break e}}else if(k.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===Jn&&ri(w)===k.type){a(g,k.sibling),b=r(k,y.props),Jo(b,y),b.return=g,g=b;break e}a(g,k);break}else t(g,k);k=k.sibling}y.type===ji?(b=Jr(y.props.children,g.mode,b,y.key),b.return=g,g=b):(b=_u(y.type,y.key,y.props,null,g.mode,b),Jo(b,y),b.return=g,g=b)}return s(g);case No:e:{for(w=y.key;k!==null;){if(k.key===w)if(k.tag===4&&k.stateNode.containerInfo===y.containerInfo&&k.stateNode.implementation===y.implementation){a(g,k.sibling),b=r(k,y.children||[]),b.return=g,g=b;break e}else{a(g,k);break}else t(g,k);k=k.sibling}b=Sp(y,g.mode,b),b.return=g,g=b}return s(g);case Jn:return y=ri(y),v(g,k,y,b)}if(Do(y))return _(g,k,y,b);if(Oo(y)){if(w=Oo(y),typeof w!="function")throw Error(Q(150));return y=w.call(y),E(g,k,y,b)}if(typeof y.then=="function")return v(g,k,Su(y),b);if(y.$$typeof===kn)return v(g,k,wu(g,y),b);Au(g,y)}return typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint"?(y=""+y,k!==null&&k.tag===6?(a(g,k.sibling),b=r(k,y),b.return=g,g=b):(a(g,k),b=vp(y,g.mode,b),b.return=g,g=b),s(g)):a(g,k)}return function(g,k,y,b){try{Zo=0;var w=v(g,k,y,b);return ds=null,w}catch(S){if(S===fs||S===Tu)throw S;var h=da(29,S,null,g.mode);return h.lanes=b,h.return=g,h}finally{}}}var si=b1(!0),k1=b1(!1),lr=!1;function Pp(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Up(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function cr(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function ur(e,t,a){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,xe&2){var r=n.pending;return r===null?t.next=t:(t.next=r.next,r.next=t),n.pending=t,t=yu(e),n1(e,null,a),t}return gu(e,n,t,a),yu(e)}function el(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var n=t.lanes;n&=e.pendingLanes,a|=n,t.lanes=a,fk(e,a)}}function Bp(e,t){var a=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,a===n)){var r=null,i=null;if(a=a.firstBaseUpdate,a!==null){do{var s={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};i===null?r=i=s:i=i.next=s,a=a.next}while(a!==null);i===null?r=i=t:i=i.next=t}else r=i=t;a={baseState:n.baseState,firstBaseUpdate:r,lastBaseUpdate:i,shared:n.shared,callbacks:n.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}var Fp=!1;function tl(){if(Fp){var e=us;if(e!==null)throw e}}function al(e,t,a,n){Fp=!1;var r=e.updateQueue;lr=!1;var i=r.firstBaseUpdate,s=r.lastBaseUpdate,o=r.shared.pending;if(o!==null){r.shared.pending=null;var l=o,c=l.next;l.next=null,s===null?i=c:s.next=c,s=l;var f=e.alternate;f!==null&&(f=f.updateQueue,o=f.lastBaseUpdate,o!==s&&(o===null?f.firstBaseUpdate=c:o.next=c,f.lastBaseUpdate=l))}if(i!==null){var d=r.baseState;s=0,f=c=l=null,o=i;do{var u=o.lane&-536870913,p=u!==o.lane;if(p?(Te&u)===u:(n&u)===u){u!==0&&u===cs&&(Fp=!0),f!==null&&(f=f.next={lane:0,tag:o.tag,payload:o.payload,callback:null,next:null});e:{var _=e,E=o;u=t;var v=a;switch(E.tag){case 1:if(_=E.payload,typeof _=="function"){d=_.call(v,d,u);break e}d=_;break e;case 3:_.flags=_.flags&-65537|128;case 0:if(_=E.payload,u=typeof _=="function"?_.call(v,d,u):_,u==null)break e;d=Xe({},d,u);break e;case 2:lr=!0}}u=o.callback,u!==null&&(e.flags|=64,p&&(e.flags|=8192),p=r.callbacks,p===null?r.callbacks=[u]:p.push(u))}else p={lane:u,tag:o.tag,payload:o.payload,callback:o.callback,next:null},f===null?(c=f=p,l=d):f=f.next=p,s|=u;if(o=o.next,o===null){if(o=r.shared.pending,o===null)break;p=o,o=p.next,p.next=null,r.lastBaseUpdate=p,r.shared.pending=null}}while(!0);f===null&&(l=d),r.baseState=l,r.firstBaseUpdate=c,r.lastBaseUpdate=f,i===null&&(r.shared.lanes=0),mr|=s,e.lanes=s,e.memoizedState=d}}function w1(e,t){if(typeof e!="function")throw Error(Q(191,e));e.call(t)}function E1(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)w1(a[e],t)}var hs=tn(null),Cu=tn(0);function T1(e,t){e=Mn,Ye(Cu,e),Ye(hs,t),Mn=e|t.baseLanes}function Hp(){Ye(Cu,Mn),Ye(hs,hs.current)}function jp(){Mn=Cu.current,yt(hs),yt(Cu)}var ha=tn(null),Oa=null;function fr(e){var t=e.alternate;Ye(nt,nt.current&1),Ye(ha,e),Oa===null&&(t===null||hs.current!==null||t.memoizedState!==null)&&(Oa=e)}function qp(e){Ye(nt,nt.current),Ye(ha,e),Oa===null&&(Oa=e)}function v1(e){e.tag===22?(Ye(nt,nt.current),Ye(ha,e),Oa===null&&(Oa=e)):dr()}function dr(){Ye(nt,nt.current),Ye(ha,ha.current)}function pa(e){yt(ha),Oa===e&&(Oa=null),yt(nt)}var nt=tn(0);function xu(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||Xm(a)||Km(a)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var xn=0,de=null,Ie=null,ot=null,zu=!1,ps=!1,oi=!1,Nu=0,nl=0,ms=null,HD=0;function tt(){throw Error(Q(321))}function Yp(e,t){if(t===null)return!1;for(var a=0;a<t.length&&a<e.length;a++)if(!fa(e[a],t[a]))return!1;return!0}function $p(e,t,a,n,r,i){return xn=i,de=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,oe.H=e===null||e.memoizedState===null?ow:sm,oi=!1,i=a(n,r),oi=!1,ps&&(i=A1(t,a,n,r)),S1(e),i}function S1(e){oe.H=sl;var t=Ie!==null&&Ie.next!==null;if(xn=0,ot=Ie=de=null,zu=!1,nl=0,ms=null,t)throw Error(Q(300));e===null||lt||(e=e.dependencies,e!==null&&ku(e)&&(lt=!0))}function A1(e,t,a,n){de=e;var r=0;do{if(ps&&(ms=null),nl=0,ps=!1,25<=r)throw Error(Q(301));if(r+=1,ot=Ie=null,e.updateQueue!=null){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,i.memoCache!=null&&(i.memoCache.index=0)}oe.H=lw,i=t(a,n)}while(ps);return i}function jD(){var e=oe.H,t=e.useState()[0];return t=typeof t.then=="function"?rl(t):t,e=e.useState()[0],(Ie!==null?Ie.memoizedState:null)!==e&&(de.flags|=1024),t}function Qp(){var e=Nu!==0;return Nu=0,e}function Vp(e,t,a){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a}function Gp(e){if(zu){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}zu=!1}xn=0,ot=Ie=de=null,ps=!1,nl=Nu=0,ms=null}function Qt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ot===null?de.memoizedState=ot=e:ot=ot.next=e,ot}function rt(){if(Ie===null){var e=de.alternate;e=e!==null?e.memoizedState:null}else e=Ie.next;var t=ot===null?de.memoizedState:ot.next;if(t!==null)ot=t,Ie=e;else{if(e===null)throw de.alternate===null?Error(Q(467)):Error(Q(310));Ie=e,e={memoizedState:Ie.memoizedState,baseState:Ie.baseState,baseQueue:Ie.baseQueue,queue:Ie.queue,next:null},ot===null?de.memoizedState=ot=e:ot=ot.next=e}return ot}function Ou(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function rl(e){var t=nl;return nl+=1,ms===null&&(ms=[]),e=g1(ms,e,t),t=de,(ot===null?t.memoizedState:ot.next)===null&&(t=t.alternate,oe.H=t===null||t.memoizedState===null?ow:sm),e}function Du(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return rl(e);if(e.$$typeof===kn)return zt(e)}throw Error(Q(438,String(e)))}function Xp(e){var t=null,a=de.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var n=de.alternate;n!==null&&(n=n.updateQueue,n!==null&&(n=n.memoCache,n!=null&&(t={data:n.data.map(function(r){return r.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=Ou(),de.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0)for(a=t.data[t.index]=Array(e),n=0;n<e;n++)a[n]=CO;return t.index++,a}function zn(e,t){return typeof t=="function"?t(e):t}function Ru(e){var t=rt();return Kp(t,Ie,e)}function Kp(e,t,a){var n=e.queue;if(n===null)throw Error(Q(311));n.lastRenderedReducer=a;var r=e.baseQueue,i=n.pending;if(i!==null){if(r!==null){var s=r.next;r.next=i.next,i.next=s}t.baseQueue=r=i,n.pending=null}if(i=e.baseState,r===null)e.memoizedState=i;else{t=r.next;var o=s=null,l=null,c=t,f=!1;do{var d=c.lane&-536870913;if(d!==c.lane?(Te&d)===d:(xn&d)===d){var u=c.revertLane;if(u===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),d===cs&&(f=!0);else if((xn&u)===u){c=c.next,u===cs&&(f=!0);continue}else d={lane:0,revertLane:c.revertLane,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},l===null?(o=l=d,s=i):l=l.next=d,de.lanes|=u,mr|=u;d=c.action,oi&&a(i,d),i=c.hasEagerState?c.eagerState:a(i,d)}else u={lane:d,revertLane:c.revertLane,gesture:c.gesture,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},l===null?(o=l=u,s=i):l=l.next=u,de.lanes|=d,mr|=d;c=c.next}while(c!==null&&c!==t);if(l===null?s=i:l.next=o,!fa(i,e.memoizedState)&&(lt=!0,f&&(a=us,a!==null)))throw a;e.memoizedState=i,e.baseState=s,e.baseQueue=l,n.lastRenderedState=i}return r===null&&(n.lanes=0),[e.memoizedState,n.dispatch]}function Wp(e){var t=rt(),a=t.queue;if(a===null)throw Error(Q(311));a.lastRenderedReducer=e;var n=a.dispatch,r=a.pending,i=t.memoizedState;if(r!==null){a.pending=null;var s=r=r.next;do i=e(i,s.action),s=s.next;while(s!==r);fa(i,t.memoizedState)||(lt=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),a.lastRenderedState=i}return[i,n]}function C1(e,t,a){var n=de,r=rt(),i=ve;if(i){if(a===void 0)throw Error(Q(407));a=a()}else a=t();var s=!fa((Ie||r).memoizedState,a);if(s&&(r.memoizedState=a,lt=!0),r=r.queue,em(N1.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||ot!==null&&ot.memoizedState.tag&1){if(n.flags|=2048,gs(9,{destroy:void 0},z1.bind(null,n,r,a,t),null),Ue===null)throw Error(Q(349));i||xn&127||x1(n,t,a)}return a}function x1(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=de.updateQueue,t===null?(t=Ou(),de.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function z1(e,t,a,n){t.value=a,t.getSnapshot=n,O1(t)&&D1(e)}function N1(e,t,a){return a(function(){O1(t)&&D1(e)})}function O1(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!fa(e,a)}catch{return!0}}function D1(e){var t=Zr(e,2);t!==null&&na(t,e,2)}function Zp(e){var t=Qt();if(typeof e=="function"){var a=e;if(e=a(),oi){tr(!0);try{a()}finally{tr(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:zn,lastRenderedState:e},t}function R1(e,t,a,n){return e.baseState=a,Kp(e,Ie,typeof n=="function"?n:zn)}function qD(e,t,a,n,r){if(Mu(e))throw Error(Q(485));if(e=t.action,e!==null){var i={payload:r,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(s){i.listeners.push(s)}};oe.T!==null?a(!0):i.isTransition=!1,n(i),a=t.pending,a===null?(i.next=t.pending=i,L1(t,i)):(i.next=a.next,t.pending=a.next=i)}}function L1(e,t){var a=t.action,n=t.payload,r=e.state;if(t.isTransition){var i=oe.T,s={};oe.T=s;try{var o=a(r,n),l=oe.S;l!==null&&l(s,o),I1(e,t,o)}catch(c){Jp(e,t,c)}finally{i!==null&&s.types!==null&&(i.types=s.types),oe.T=i}}else try{i=a(r,n),I1(e,t,i)}catch(c){Jp(e,t,c)}}function I1(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(n){M1(e,t,n)},function(n){return Jp(e,t,n)}):M1(e,t,a)}function M1(e,t,a){t.status="fulfilled",t.value=a,P1(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,L1(e,a)))}function Jp(e,t,a){var n=e.pending;if(e.pending=null,n!==null){n=n.next;do t.status="rejected",t.reason=a,P1(t),t=t.next;while(t!==n)}e.action=null}function P1(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function U1(e,t){return t}function B1(e,t){if(ve){var a=Ue.formState;if(a!==null){e:{var n=de;if(ve){if(Ke){t:{for(var r=Ke,i=Na;r.nodeType!==8;){if(!i){r=null;break t}if(r=Da(r.nextSibling),r===null){r=null;break t}}i=r.data,r=i==="F!"||i==="F"?r:null}if(r){Ke=Da(r.nextSibling),n=r.data==="F!";break e}}sr(n)}n=!1}n&&(t=a[0])}}return a=Qt(),a.memoizedState=a.baseState=t,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:U1,lastRenderedState:t},a.queue=n,a=rw.bind(null,de,n),n.dispatch=a,n=Zp(!1),i=im.bind(null,de,!1,n.queue),n=Qt(),r={state:t,dispatch:null,action:e,pending:null},n.queue=r,a=qD.bind(null,de,r,i,a),r.dispatch=a,n.memoizedState=e,[t,a,!1]}function F1(e){var t=rt();return H1(t,Ie,e)}function H1(e,t,a){if(t=Kp(e,t,U1)[0],e=Ru(zn)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var n=rl(t)}catch(s){throw s===fs?Tu:s}else n=t;t=rt();var r=t.queue,i=r.dispatch;return a!==t.memoizedState&&(de.flags|=2048,gs(9,{destroy:void 0},YD.bind(null,r,a),null)),[n,i,e]}function YD(e,t){e.action=t}function j1(e){var t=rt(),a=Ie;if(a!==null)return H1(t,a,e);rt(),t=t.memoizedState,a=rt();var n=a.queue.dispatch;return a.memoizedState=e,[t,n,!1]}function gs(e,t,a,n){return e={tag:e,create:a,deps:n,inst:t,next:null},t=de.updateQueue,t===null&&(t=Ou(),de.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(n=a.next,a.next=e,e.next=n,t.lastEffect=e),e}function q1(){return rt().memoizedState}function Lu(e,t,a,n){var r=Qt();de.flags|=e,r.memoizedState=gs(1|t,{destroy:void 0},a,n===void 0?null:n)}function Iu(e,t,a,n){var r=rt();n=n===void 0?null:n;var i=r.memoizedState.inst;Ie!==null&&n!==null&&Yp(n,Ie.memoizedState.deps)?r.memoizedState=gs(t,i,a,n):(de.flags|=e,r.memoizedState=gs(1|t,i,a,n))}function Y1(e,t){Lu(8390656,8,e,t)}function em(e,t){Iu(2048,8,e,t)}function $D(e){de.flags|=4;var t=de.updateQueue;if(t===null)t=Ou(),de.updateQueue=t,t.events=[e];else{var a=t.events;a===null?t.events=[e]:a.push(e)}}function $1(e){var t=rt().memoizedState;return $D({ref:t,nextImpl:e}),function(){if(xe&2)throw Error(Q(440));return t.impl.apply(void 0,arguments)}}function Q1(e,t){return Iu(4,2,e,t)}function V1(e,t){return Iu(4,4,e,t)}function G1(e,t){if(typeof t=="function"){e=e();var a=t(e);return function(){typeof a=="function"?a():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function X1(e,t,a){a=a!=null?a.concat([e]):null,Iu(4,4,G1.bind(null,t,e),a)}function tm(){}function K1(e,t){var a=rt();t=t===void 0?null:t;var n=a.memoizedState;return t!==null&&Yp(t,n[1])?n[0]:(a.memoizedState=[e,t],e)}function W1(e,t){var a=rt();t=t===void 0?null:t;var n=a.memoizedState;if(t!==null&&Yp(t,n[1]))return n[0];if(n=e(),oi){tr(!0);try{e()}finally{tr(!1)}}return a.memoizedState=[n,t],n}function am(e,t,a){return a===void 0||xn&1073741824&&!(Te&261930)?e.memoizedState=t:(e.memoizedState=a,e=Zw(),de.lanes|=e,mr|=e,a)}function Z1(e,t,a,n){return fa(a,t)?a:hs.current!==null?(e=am(e,a,n),fa(e,t)||(lt=!0),e):!(xn&42)||xn&1073741824&&!(Te&261930)?(lt=!0,e.memoizedState=a):(e=Zw(),de.lanes|=e,mr|=e,t)}function J1(e,t,a,n,r){var i=Ce.p;Ce.p=i!==0&&8>i?i:8;var s=oe.T,o={};oe.T=o,im(e,!1,t,a);try{var l=r(),c=oe.S;if(c!==null&&c(o,l),l!==null&&typeof l=="object"&&typeof l.then=="function"){var f=FD(l,n);il(e,t,f,ya(e))}else il(e,t,n,ya(e))}catch(d){il(e,t,{then:function(){},status:"rejected",reason:d},ya())}finally{Ce.p=i,s!==null&&o.types!==null&&(s.types=o.types),oe.T=s}}function QD(){}function nm(e,t,a,n){if(e.tag!==5)throw Error(Q(476));var r=ew(e).queue;J1(e,r,t,$r,a===null?QD:function(){return tw(e),a(n)})}function ew(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:$r,baseState:$r,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zn,lastRenderedState:$r},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zn,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function tw(e){var t=ew(e);t.next===null&&(t=e.alternate.memoizedState),il(e,t.next.queue,{},ya())}function rm(){return zt(El)}function aw(){return rt().memoizedState}function nw(){return rt().memoizedState}function VD(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=ya();e=cr(a);var n=ur(t,e,a);n!==null&&(na(n,t,a),el(n,t,a)),t={cache:Rp()},e.payload=t;return}t=t.return}}function GD(e,t,a){var n=ya();a={lane:n,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Mu(e)?iw(t,a):(a=Ep(e,t,a,n),a!==null&&(na(a,e,n),sw(a,t,n)))}function rw(e,t,a){var n=ya();il(e,t,a,n)}function il(e,t,a,n){var r={lane:n,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(Mu(e))iw(t,r);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,o=i(s,a);if(r.hasEagerState=!0,r.eagerState=o,fa(o,s))return gu(e,t,r,0),Ue===null&&mu(),!1}catch{}finally{}if(a=Ep(e,t,r,n),a!==null)return na(a,e,n),sw(a,t,n),!0}return!1}function im(e,t,a,n){if(n={lane:2,revertLane:Pm(),gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Mu(e)){if(t)throw Error(Q(479))}else t=Ep(e,a,n,2),t!==null&&na(t,e,2)}function Mu(e){var t=e.alternate;return e===de||t!==null&&t===de}function iw(e,t){ps=zu=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function sw(e,t,a){if(a&4194048){var n=t.lanes;n&=e.pendingLanes,a|=n,t.lanes=a,fk(e,a)}}var sl={readContext:zt,use:Du,useCallback:tt,useContext:tt,useEffect:tt,useImperativeHandle:tt,useLayoutEffect:tt,useInsertionEffect:tt,useMemo:tt,useReducer:tt,useRef:tt,useState:tt,useDebugValue:tt,useDeferredValue:tt,useTransition:tt,useSyncExternalStore:tt,useId:tt,useHostTransitionStatus:tt,useFormState:tt,useActionState:tt,useOptimistic:tt,useMemoCache:tt,useCacheRefresh:tt};sl.useEffectEvent=tt;var ow={readContext:zt,use:Du,useCallback:function(e,t){return Qt().memoizedState=[e,t===void 0?null:t],e},useContext:zt,useEffect:Y1,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,Lu(4194308,4,G1.bind(null,t,e),a)},useLayoutEffect:function(e,t){return Lu(4194308,4,e,t)},useInsertionEffect:function(e,t){Lu(4,2,e,t)},useMemo:function(e,t){var a=Qt();t=t===void 0?null:t;var n=e();if(oi){tr(!0);try{e()}finally{tr(!1)}}return a.memoizedState=[n,t],n},useReducer:function(e,t,a){var n=Qt();if(a!==void 0){var r=a(t);if(oi){tr(!0);try{a(t)}finally{tr(!1)}}}else r=t;return n.memoizedState=n.baseState=r,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},n.queue=e,e=e.dispatch=GD.bind(null,de,e),[n.memoizedState,e]},useRef:function(e){var t=Qt();return e={current:e},t.memoizedState=e},useState:function(e){e=Zp(e);var t=e.queue,a=rw.bind(null,de,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:tm,useDeferredValue:function(e,t){var a=Qt();return am(a,e,t)},useTransition:function(){var e=Zp(!1);return e=J1.bind(null,de,e.queue,!0,!1),Qt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var n=de,r=Qt();if(ve){if(a===void 0)throw Error(Q(407));a=a()}else{if(a=t(),Ue===null)throw Error(Q(349));Te&127||x1(n,t,a)}r.memoizedState=a;var i={value:a,getSnapshot:t};return r.queue=i,Y1(N1.bind(null,n,i,e),[e]),n.flags|=2048,gs(9,{destroy:void 0},z1.bind(null,n,i,a,t),null),a},useId:function(){var e=Qt(),t=Ue.identifierPrefix;if(ve){var a=rn,n=nn;a=(n&~(1<<32-ua(n)-1)).toString(32)+a,t="_"+t+"R_"+a,a=Nu++,0<a&&(t+="H"+a.toString(32)),t+="_"}else a=HD++,t="_"+t+"r_"+a.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:rm,useFormState:B1,useActionState:B1,useOptimistic:function(e){var t=Qt();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=im.bind(null,de,!0,a),a.dispatch=t,[e,t]},useMemoCache:Xp,useCacheRefresh:function(){return Qt().memoizedState=VD.bind(null,de)},useEffectEvent:function(e){var t=Qt(),a={impl:e};return t.memoizedState=a,function(){if(xe&2)throw Error(Q(440));return a.impl.apply(void 0,arguments)}}},sm={readContext:zt,use:Du,useCallback:K1,useContext:zt,useEffect:em,useImperativeHandle:X1,useInsertionEffect:Q1,useLayoutEffect:V1,useMemo:W1,useReducer:Ru,useRef:q1,useState:function(){return Ru(zn)},useDebugValue:tm,useDeferredValue:function(e,t){var a=rt();return Z1(a,Ie.memoizedState,e,t)},useTransition:function(){var e=Ru(zn)[0],t=rt().memoizedState;return[typeof e=="boolean"?e:rl(e),t]},useSyncExternalStore:C1,useId:aw,useHostTransitionStatus:rm,useFormState:F1,useActionState:F1,useOptimistic:function(e,t){var a=rt();return R1(a,Ie,e,t)},useMemoCache:Xp,useCacheRefresh:nw};sm.useEffectEvent=$1;var lw={readContext:zt,use:Du,useCallback:K1,useContext:zt,useEffect:em,useImperativeHandle:X1,useInsertionEffect:Q1,useLayoutEffect:V1,useMemo:W1,useReducer:Wp,useRef:q1,useState:function(){return Wp(zn)},useDebugValue:tm,useDeferredValue:function(e,t){var a=rt();return Ie===null?am(a,e,t):Z1(a,Ie.memoizedState,e,t)},useTransition:function(){var e=Wp(zn)[0],t=rt().memoizedState;return[typeof e=="boolean"?e:rl(e),t]},useSyncExternalStore:C1,useId:aw,useHostTransitionStatus:rm,useFormState:j1,useActionState:j1,useOptimistic:function(e,t){var a=rt();return Ie!==null?R1(a,Ie,e,t):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:Xp,useCacheRefresh:nw};lw.useEffectEvent=$1;function om(e,t,a,n){t=e.memoizedState,a=a(n,t),a=a==null?t:Xe({},t,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var lm={enqueueSetState:function(e,t,a){e=e._reactInternals;var n=ya(),r=cr(n);r.payload=t,a!=null&&(r.callback=a),t=ur(e,r,n),t!==null&&(na(t,e,n),el(t,e,n))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var n=ya(),r=cr(n);r.tag=1,r.payload=t,a!=null&&(r.callback=a),t=ur(e,r,n),t!==null&&(na(t,e,n),el(t,e,n))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=ya(),n=cr(a);n.tag=2,t!=null&&(n.callback=t),t=ur(e,n,a),t!==null&&(na(t,e,a),el(t,e,a))}};function cw(e,t,a,n,r,i,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,i,s):t.prototype&&t.prototype.isPureReactComponent?!Qo(a,n)||!Qo(r,i):!0}function uw(e,t,a,n){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,n),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,n),t.state!==e&&lm.enqueueReplaceState(t,t.state,null)}function li(e,t){var a=t;if("ref"in t){a={};for(var n in t)n!=="ref"&&(a[n]=t[n])}if(e=e.defaultProps){a===t&&(a=Xe({},a));for(var r in e)a[r]===void 0&&(a[r]=e[r])}return a}function fw(e){pu(e)}function dw(e){console.error(e)}function hw(e){pu(e)}function Pu(e,t){try{var a=e.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(n){setTimeout(function(){throw n})}}function pw(e,t,a){try{var n=e.onCaughtError;n(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function cm(e,t,a){return a=cr(a),a.tag=3,a.payload={element:null},a.callback=function(){Pu(e,t)},a}function mw(e){return e=cr(e),e.tag=3,e}function gw(e,t,a,n){var r=a.type.getDerivedStateFromError;if(typeof r=="function"){var i=n.value;e.payload=function(){return r(i)},e.callback=function(){pw(t,a,n)}}var s=a.stateNode;s!==null&&typeof s.componentDidCatch=="function"&&(e.callback=function(){pw(t,a,n),typeof r!="function"&&(gr===null?gr=new Set([this]):gr.add(this));var o=n.stack;this.componentDidCatch(n.value,{componentStack:o!==null?o:""})})}function XD(e,t,a,n,r){if(a.flags|=32768,n!==null&&typeof n=="object"&&typeof n.then=="function"){if(t=a.alternate,t!==null&&ls(t,a,r,!0),a=ha.current,a!==null){switch(a.tag){case 31:case 13:return Oa===null?Xu():a.alternate===null&&at===0&&(at=3),a.flags&=-257,a.flags|=65536,a.lanes=r,n===vu?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([n]):t.add(n),Lm(e,n,r)),!1;case 22:return a.flags|=65536,n===vu?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([n])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([n]):a.add(n)),Lm(e,n,r)),!1}throw Error(Q(435,a.tag))}return Lm(e,n,r),Xu(),!1}if(ve)return t=ha.current,t!==null?(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=r,n!==xp&&(e=Error(Q(422),{cause:n}),Xo(Ca(e,a)))):(n!==xp&&(t=Error(Q(423),{cause:n}),Xo(Ca(t,a))),e=e.current.alternate,e.flags|=65536,r&=-r,e.lanes|=r,n=Ca(n,a),r=cm(e.stateNode,n,r),Bp(e,r),at!==4&&(at=2)),!1;var i=Error(Q(520),{cause:n});if(i=Ca(i,a),pl===null?pl=[i]:pl.push(i),at!==4&&(at=2),t===null)return!0;n=Ca(n,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=r&-r,a.lanes|=e,e=cm(a.stateNode,n,e),Bp(a,e),!1;case 1:if(t=a.type,i=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||i!==null&&typeof i.componentDidCatch=="function"&&(gr===null||!gr.has(i))))return a.flags|=65536,r&=-r,a.lanes|=r,r=mw(r),gw(r,e,a,n),Bp(a,r),!1}a=a.return}while(a!==null);return!1}var um=Error(Q(461)),lt=!1;function Nt(e,t,a,n){t.child=e===null?k1(t,null,a,n):si(t,e.child,a,n)}function yw(e,t,a,n,r){a=a.render;var i=t.ref;if("ref"in n){var s={};for(var o in n)o!=="ref"&&(s[o]=n[o])}else s=n;return ai(t),n=$p(e,t,a,s,i,r),o=Qp(),e!==null&&!lt?(Vp(e,t,r),Nn(e,t,r)):(ve&&o&&Ap(t),t.flags|=1,Nt(e,t,n,r),t.child)}function _w(e,t,a,n,r){if(e===null){var i=a.type;return typeof i=="function"&&!Tp(i)&&i.defaultProps===void 0&&a.compare===null?(t.tag=15,t.type=i,bw(e,t,i,n,r)):(e=_u(a.type,null,n,t,t.mode,r),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!_m(e,r)){var s=i.memoizedProps;if(a=a.compare,a=a!==null?a:Qo,a(s,n)&&e.ref===t.ref)return Nn(e,t,r)}return t.flags|=1,e=vn(i,n),e.ref=t.ref,e.return=t,t.child=e}function bw(e,t,a,n,r){if(e!==null){var i=e.memoizedProps;if(Qo(i,n)&&e.ref===t.ref)if(lt=!1,t.pendingProps=n=i,_m(e,r))e.flags&131072&&(lt=!0);else return t.lanes=e.lanes,Nn(e,t,r)}return fm(e,t,a,n,r)}function kw(e,t,a,n){var r=n.children,i=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.mode==="hidden"){if(t.flags&128){if(i=i!==null?i.baseLanes|a:a,e!==null){for(n=t.child=e.child,r=0;n!==null;)r=r|n.lanes|n.childLanes,n=n.sibling;n=r&~i}else n=0,t.child=null;return ww(e,t,i,a,n)}if(a&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Eu(t,i!==null?i.cachePool:null),i!==null?T1(t,i):Hp(),v1(t);else return n=t.lanes=536870912,ww(e,t,i!==null?i.baseLanes|a:a,a,n)}else i!==null?(Eu(t,i.cachePool),T1(t,i),dr(),t.memoizedState=null):(e!==null&&Eu(t,null),Hp(),dr());return Nt(e,t,r,a),t.child}function ol(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function ww(e,t,a,n,r){var i=Ip();return i=i===null?null:{parent:st._currentValue,pool:i},t.memoizedState={baseLanes:a,cachePool:i},e!==null&&Eu(t,null),Hp(),v1(t),e!==null&&ls(e,t,n,!0),t.childLanes=r,null}function Uu(e,t){return t=Fu({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Ew(e,t,a){return si(t,e.child,null,a),e=Uu(t,t.pendingProps),e.flags|=2,pa(t),t.memoizedState=null,e}function KD(e,t,a){var n=t.pendingProps,r=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(ve){if(n.mode==="hidden")return e=Uu(t,n),t.lanes=536870912,ol(null,e);if(qp(t),(e=Ke)?(e=LE(e,Na),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:rr!==null?{id:nn,overflow:rn}:null,retryLane:536870912,hydrationErrors:null},a=i1(e),a.return=t,t.child=a,xt=t,Ke=null)):e=null,e===null)throw sr(t);return t.lanes=536870912,null}return Uu(t,n)}var i=e.memoizedState;if(i!==null){var s=i.dehydrated;if(qp(t),r)if(t.flags&256)t.flags&=-257,t=Ew(e,t,a);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(Q(558));else if(lt||ls(e,t,a,!1),r=(a&e.childLanes)!==0,lt||r){if(n=Ue,n!==null&&(s=dk(n,a),s!==0&&s!==i.retryLane))throw i.retryLane=s,Zr(e,s),na(n,e,s),um;Xu(),t=Ew(e,t,a)}else e=i.treeContext,Ke=Da(s.nextSibling),xt=t,ve=!0,ir=null,Na=!1,e!==null&&l1(t,e),t=Uu(t,n),t.flags|=4096;return t}return e=vn(e.child,{mode:n.mode,children:n.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Bu(e,t){var a=t.ref;if(a===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(Q(284));(e===null||e.ref!==a)&&(t.flags|=4194816)}}function fm(e,t,a,n,r){return ai(t),a=$p(e,t,a,n,void 0,r),n=Qp(),e!==null&&!lt?(Vp(e,t,r),Nn(e,t,r)):(ve&&n&&Ap(t),t.flags|=1,Nt(e,t,a,r),t.child)}function Tw(e,t,a,n,r,i){return ai(t),t.updateQueue=null,a=A1(t,n,a,r),S1(e),n=Qp(),e!==null&&!lt?(Vp(e,t,i),Nn(e,t,i)):(ve&&n&&Ap(t),t.flags|=1,Nt(e,t,a,i),t.child)}function vw(e,t,a,n,r){if(ai(t),t.stateNode===null){var i=rs,s=a.contextType;typeof s=="object"&&s!==null&&(i=zt(s)),i=new a(n,i),t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=lm,t.stateNode=i,i._reactInternals=t,i=t.stateNode,i.props=n,i.state=t.memoizedState,i.refs={},Pp(t),s=a.contextType,i.context=typeof s=="object"&&s!==null?zt(s):rs,i.state=t.memoizedState,s=a.getDerivedStateFromProps,typeof s=="function"&&(om(t,a,s,n),i.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(s=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),s!==i.state&&lm.enqueueReplaceState(i,i.state,null),al(t,n,i,r),tl(),i.state=t.memoizedState),typeof i.componentDidMount=="function"&&(t.flags|=4194308),n=!0}else if(e===null){i=t.stateNode;var o=t.memoizedProps,l=li(a,o);i.props=l;var c=i.context,f=a.contextType;s=rs,typeof f=="object"&&f!==null&&(s=zt(f));var d=a.getDerivedStateFromProps;f=typeof d=="function"||typeof i.getSnapshotBeforeUpdate=="function",o=t.pendingProps!==o,f||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(o||c!==s)&&uw(t,i,n,s),lr=!1;var u=t.memoizedState;i.state=u,al(t,n,i,r),tl(),c=t.memoizedState,o||u!==c||lr?(typeof d=="function"&&(om(t,a,d,n),c=t.memoizedState),(l=lr||cw(t,a,l,n,u,c,s))?(f||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=c),i.props=n,i.state=c,i.context=s,n=l):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{i=t.stateNode,Up(e,t),s=t.memoizedProps,f=li(a,s),i.props=f,d=t.pendingProps,u=i.context,c=a.contextType,l=rs,typeof c=="object"&&c!==null&&(l=zt(c)),o=a.getDerivedStateFromProps,(c=typeof o=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==d||u!==l)&&uw(t,i,n,l),lr=!1,u=t.memoizedState,i.state=u,al(t,n,i,r),tl();var p=t.memoizedState;s!==d||u!==p||lr||e!==null&&e.dependencies!==null&&ku(e.dependencies)?(typeof o=="function"&&(om(t,a,o,n),p=t.memoizedState),(f=lr||cw(t,a,f,n,u,p,l)||e!==null&&e.dependencies!==null&&ku(e.dependencies))?(c||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(n,p,l),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(n,p,l)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&u===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&u===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=p),i.props=n,i.state=p,i.context=l,n=f):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&u===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&u===e.memoizedState||(t.flags|=1024),n=!1)}return i=n,Bu(e,t),n=(t.flags&128)!==0,i||n?(i=t.stateNode,a=n&&typeof a.getDerivedStateFromError!="function"?null:i.render(),t.flags|=1,e!==null&&n?(t.child=si(t,e.child,null,r),t.child=si(t,null,a,r)):Nt(e,t,a,r),t.memoizedState=i.state,e=t.child):e=Nn(e,t,r),e}function Sw(e,t,a,n){return ei(),t.flags|=256,Nt(e,t,a,n),t.child}var dm={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function hm(e){return{baseLanes:e,cachePool:p1()}}function pm(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=ga),e}function Aw(e,t,a){var n=t.pendingProps,r=!1,i=(t.flags&128)!==0,s;if((s=i)||(s=e!==null&&e.memoizedState===null?!1:(nt.current&2)!==0),s&&(r=!0,t.flags&=-129),s=(t.flags&32)!==0,t.flags&=-33,e===null){if(ve){if(r?fr(t):dr(),(e=Ke)?(e=LE(e,Na),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:rr!==null?{id:nn,overflow:rn}:null,retryLane:536870912,hydrationErrors:null},a=i1(e),a.return=t,t.child=a,xt=t,Ke=null)):e=null,e===null)throw sr(t);return Km(e)?t.lanes=32:t.lanes=536870912,null}var o=n.children;return n=n.fallback,r?(dr(),r=t.mode,o=Fu({mode:"hidden",children:o},r),n=Jr(n,r,a,null),o.return=t,n.return=t,o.sibling=n,t.child=o,n=t.child,n.memoizedState=hm(a),n.childLanes=pm(e,s,a),t.memoizedState=dm,ol(null,n)):(fr(t),mm(t,o))}var l=e.memoizedState;if(l!==null&&(o=l.dehydrated,o!==null)){if(i)t.flags&256?(fr(t),t.flags&=-257,t=gm(e,t,a)):t.memoizedState!==null?(dr(),t.child=e.child,t.flags|=128,t=null):(dr(),o=n.fallback,r=t.mode,n=Fu({mode:"visible",children:n.children},r),o=Jr(o,r,a,null),o.flags|=2,n.return=t,o.return=t,n.sibling=o,t.child=n,si(t,e.child,null,a),n=t.child,n.memoizedState=hm(a),n.childLanes=pm(e,s,a),t.memoizedState=dm,t=ol(null,n));else if(fr(t),Km(o)){if(s=o.nextSibling&&o.nextSibling.dataset,s)var c=s.dgst;s=c,n=Error(Q(419)),n.stack="",n.digest=s,Xo({value:n,source:null,stack:null}),t=gm(e,t,a)}else if(lt||ls(e,t,a,!1),s=(a&e.childLanes)!==0,lt||s){if(s=Ue,s!==null&&(n=dk(s,a),n!==0&&n!==l.retryLane))throw l.retryLane=n,Zr(e,n),na(s,e,n),um;Xm(o)||Xu(),t=gm(e,t,a)}else Xm(o)?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,Ke=Da(o.nextSibling),xt=t,ve=!0,ir=null,Na=!1,e!==null&&l1(t,e),t=mm(t,n.children),t.flags|=4096);return t}return r?(dr(),o=n.fallback,r=t.mode,l=e.child,c=l.sibling,n=vn(l,{mode:"hidden",children:n.children}),n.subtreeFlags=l.subtreeFlags&65011712,c!==null?o=vn(c,o):(o=Jr(o,r,a,null),o.flags|=2),o.return=t,n.return=t,n.sibling=o,t.child=n,ol(null,n),n=t.child,o=e.child.memoizedState,o===null?o=hm(a):(r=o.cachePool,r!==null?(l=st._currentValue,r=r.parent!==l?{parent:l,pool:l}:r):r=p1(),o={baseLanes:o.baseLanes|a,cachePool:r}),n.memoizedState=o,n.childLanes=pm(e,s,a),t.memoizedState=dm,ol(e.child,n)):(fr(t),a=e.child,e=a.sibling,a=vn(a,{mode:"visible",children:n.children}),a.return=t,a.sibling=null,e!==null&&(s=t.deletions,s===null?(t.deletions=[e],t.flags|=16):s.push(e)),t.child=a,t.memoizedState=null,a)}function mm(e,t){return t=Fu({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Fu(e,t){return e=da(22,e,null,t),e.lanes=0,e}function gm(e,t,a){return si(t,e.child,null,a),e=mm(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Cw(e,t,a){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),Op(e.return,t,a)}function ym(e,t,a,n,r,i){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:a,tailMode:r,treeForkCount:i}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=n,s.tail=a,s.tailMode=r,s.treeForkCount=i)}function xw(e,t,a){var n=t.pendingProps,r=n.revealOrder,i=n.tail;n=n.children;var s=nt.current,o=(s&2)!==0;if(o?(s=s&1|2,t.flags|=128):s&=1,Ye(nt,s),Nt(e,t,n,a),n=ve?Go:0,!o&&e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Cw(e,a,t);else if(e.tag===19)Cw(e,a,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(r){case"forwards":for(a=t.child,r=null;a!==null;)e=a.alternate,e!==null&&xu(e)===null&&(r=a),a=a.sibling;a=r,a===null?(r=t.child,t.child=null):(r=a.sibling,a.sibling=null),ym(t,!1,r,a,i,n);break;case"backwards":case"unstable_legacy-backwards":for(a=null,r=t.child,t.child=null;r!==null;){if(e=r.alternate,e!==null&&xu(e)===null){t.child=r;break}e=r.sibling,r.sibling=a,a=r,r=e}ym(t,!0,a,null,i,n);break;case"together":ym(t,!1,null,null,void 0,n);break;default:t.memoizedState=null}return t.child}function Nn(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),mr|=t.lanes,!(a&t.childLanes))if(e!==null){if(ls(e,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(Q(153));if(t.child!==null){for(e=t.child,a=vn(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=vn(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function _m(e,t){return e.lanes&t?!0:(e=e.dependencies,!!(e!==null&&ku(e)))}function WD(e,t,a){switch(t.tag){case 3:Wc(t,t.stateNode.containerInfo),or(t,st,e.memoizedState.cache),ei();break;case 27:case 5:jh(t);break;case 4:Wc(t,t.stateNode.containerInfo);break;case 10:or(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,qp(t),null;break;case 13:var n=t.memoizedState;if(n!==null)return n.dehydrated!==null?(fr(t),t.flags|=128,null):a&t.child.childLanes?Aw(e,t,a):(fr(t),e=Nn(e,t,a),e!==null?e.sibling:null);fr(t);break;case 19:var r=(e.flags&128)!==0;if(n=(a&t.childLanes)!==0,n||(ls(e,t,a,!1),n=(a&t.childLanes)!==0),r){if(n)return xw(e,t,a);t.flags|=128}if(r=t.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),Ye(nt,nt.current),n)break;return null;case 22:return t.lanes=0,kw(e,t,a,t.pendingProps);case 24:or(t,st,e.memoizedState.cache)}return Nn(e,t,a)}function zw(e,t,a){if(e!==null)if(e.memoizedProps!==t.pendingProps)lt=!0;else{if(!_m(e,a)&&!(t.flags&128))return lt=!1,WD(e,t,a);lt=!!(e.flags&131072)}else lt=!1,ve&&t.flags&1048576&&o1(t,Go,t.index);switch(t.lanes=0,t.tag){case 16:e:{var n=t.pendingProps;if(e=ri(t.elementType),t.type=e,typeof e=="function")Tp(e)?(n=li(e,n),t.tag=1,t=vw(null,t,e,n,a)):(t.tag=0,t=fm(null,t,e,n,a));else{if(e!=null){var r=e.$$typeof;if(r===Ih){t.tag=11,t=yw(null,t,e,n,a);break e}else if(r===Uh){t.tag=14,t=_w(null,t,e,n,a);break e}}throw t=Fh(e)||e,Error(Q(306,t,""))}}return t;case 0:return fm(e,t,t.type,t.pendingProps,a);case 1:return n=t.type,r=li(n,t.pendingProps),vw(e,t,n,r,a);case 3:e:{if(Wc(t,t.stateNode.containerInfo),e===null)throw Error(Q(387));n=t.pendingProps;var i=t.memoizedState;r=i.element,Up(e,t),al(t,n,null,a);var s=t.memoizedState;if(n=s.cache,or(t,st,n),n!==i.cache&&Dp(t,[st],a,!0),tl(),n=s.element,i.isDehydrated)if(i={element:n,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){t=Sw(e,t,n,a);break e}else if(n!==r){r=Ca(Error(Q(424)),t),Xo(r),t=Sw(e,t,n,a);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Ke=Da(e.firstChild),xt=t,ve=!0,ir=null,Na=!0,a=k1(t,null,n,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(ei(),n===r){t=Nn(e,t,a);break e}Nt(e,t,n,a)}t=t.child}return t;case 26:return Bu(e,t),e===null?(a=FE(t.type,null,t.pendingProps,null))?t.memoizedState=a:ve||(a=t.type,e=t.pendingProps,n=af(er.current).createElement(a),n[Ct]=t,n[Wt]=e,Ot(n,a,e),_t(n),t.stateNode=n):t.memoizedState=FE(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return jh(t),e===null&&ve&&(n=t.stateNode=PE(t.type,t.pendingProps,er.current),xt=t,Na=!0,r=Ke,kr(t.type)?(Wm=r,Ke=Da(n.firstChild)):Ke=r),Nt(e,t,t.pendingProps.children,a),Bu(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&ve&&((r=n=Ke)&&(n=C4(n,t.type,t.pendingProps,Na),n!==null?(t.stateNode=n,xt=t,Ke=Da(n.firstChild),Na=!1,r=!0):r=!1),r||sr(t)),jh(t),r=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,n=i.children,Qm(r,i)?n=null:s!==null&&Qm(r,s)&&(t.flags|=32),t.memoizedState!==null&&(r=$p(e,t,jD,null,null,a),El._currentValue=r),Bu(e,t),Nt(e,t,n,a),t.child;case 6:return e===null&&ve&&((e=a=Ke)&&(a=x4(a,t.pendingProps,Na),a!==null?(t.stateNode=a,xt=t,Ke=null,e=!0):e=!1),e||sr(t)),null;case 13:return Aw(e,t,a);case 4:return Wc(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=si(t,null,n,a):Nt(e,t,n,a),t.child;case 11:return yw(e,t,t.type,t.pendingProps,a);case 7:return Nt(e,t,t.pendingProps,a),t.child;case 8:return Nt(e,t,t.pendingProps.children,a),t.child;case 12:return Nt(e,t,t.pendingProps.children,a),t.child;case 10:return n=t.pendingProps,or(t,t.type,n.value),Nt(e,t,n.children,a),t.child;case 9:return r=t.type._context,n=t.pendingProps.children,ai(t),r=zt(r),n=n(r),t.flags|=1,Nt(e,t,n,a),t.child;case 14:return _w(e,t,t.type,t.pendingProps,a);case 15:return bw(e,t,t.type,t.pendingProps,a);case 19:return xw(e,t,a);case 31:return KD(e,t,a);case 22:return kw(e,t,a,t.pendingProps);case 24:return ai(t),n=zt(st),e===null?(r=Ip(),r===null&&(r=Ue,i=Rp(),r.pooledCache=i,i.refCount++,i!==null&&(r.pooledCacheLanes|=a),r=i),t.memoizedState={parent:n,cache:r},Pp(t),or(t,st,r)):(e.lanes&a&&(Up(e,t),al(t,null,null,a),tl()),r=e.memoizedState,i=t.memoizedState,r.parent!==n?(r={parent:n,cache:n},t.memoizedState=r,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=r),or(t,st,n)):(n=i.cache,or(t,st,n),n!==r.cache&&Dp(t,[st],a,!0))),Nt(e,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error(Q(156,t.tag))}function On(e){e.flags|=4}function bm(e,t,a,n,r){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(r&335544128)===r)if(e.stateNode.complete)e.flags|=8192;else if(aE())e.flags|=8192;else throw ii=vu,Mp}else e.flags&=-16777217}function Nw(e,t){if(t.type!=="stylesheet"||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!$E(t))if(aE())e.flags|=8192;else throw ii=vu,Mp}function Hu(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?ck():536870912,e.lanes|=t,ks|=t)}function ll(e,t){if(!ve)switch(e.tailMode){case"hidden":t=e.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var n=null;a!==null;)a.alternate!==null&&(n=a),a=a.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function We(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,n=0;if(t)for(var r=e.child;r!==null;)a|=r.lanes|r.childLanes,n|=r.subtreeFlags&65011712,n|=r.flags&65011712,r.return=e,r=r.sibling;else for(r=e.child;r!==null;)a|=r.lanes|r.childLanes,n|=r.subtreeFlags,n|=r.flags,r.return=e,r=r.sibling;return e.subtreeFlags|=n,e.childLanes=a,t}function ZD(e,t,a){var n=t.pendingProps;switch(Cp(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return We(t),null;case 1:return We(t),null;case 3:return a=t.stateNode,n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Cn(st),Yi(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(os(t)?On(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,zp())),We(t),null;case 26:var r=t.type,i=t.memoizedState;return e===null?(On(t),i!==null?(We(t),Nw(t,i)):(We(t),bm(t,r,null,n,a))):i?i!==e.memoizedState?(On(t),We(t),Nw(t,i)):(We(t),t.flags&=-16777217):(e=e.memoizedProps,e!==n&&On(t),We(t),bm(t,r,e,n,a)),null;case 27:if(Zc(t),a=er.current,r=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==n&&On(t);else{if(!n){if(t.stateNode===null)throw Error(Q(166));return We(t),null}e=an.current,os(t)?c1(t):(e=PE(r,n,a),t.stateNode=e,On(t))}return We(t),null;case 5:if(Zc(t),r=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==n&&On(t);else{if(!n){if(t.stateNode===null)throw Error(Q(166));return We(t),null}if(i=an.current,os(t))c1(t);else{var s=af(er.current);switch(i){case 1:i=s.createElementNS("http://www.w3.org/2000/svg",r);break;case 2:i=s.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;default:switch(r){case"svg":i=s.createElementNS("http://www.w3.org/2000/svg",r);break;case"math":i=s.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;case"script":i=s.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof n.is=="string"?s.createElement("select",{is:n.is}):s.createElement("select"),n.multiple?i.multiple=!0:n.size&&(i.size=n.size);break;default:i=typeof n.is=="string"?s.createElement(r,{is:n.is}):s.createElement(r)}}i[Ct]=t,i[Wt]=n;e:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)i.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break e;for(;s.sibling===null;){if(s.return===null||s.return===t)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=i;e:switch(Ot(i,r,n),r){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}n&&On(t)}}return We(t),bm(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,a),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==n&&On(t);else{if(typeof n!="string"&&t.stateNode===null)throw Error(Q(166));if(e=er.current,os(t)){if(e=t.stateNode,a=t.memoizedProps,n=null,r=xt,r!==null)switch(r.tag){case 27:case 5:n=r.memoizedProps}e[Ct]=t,e=!!(e.nodeValue===a||n!==null&&n.suppressHydrationWarning===!0||AE(e.nodeValue,a)),e||sr(t,!0)}else e=af(e).createTextNode(n),e[Ct]=t,t.stateNode=e}return We(t),null;case 31:if(a=t.memoizedState,e===null||e.memoizedState!==null){if(n=os(t),a!==null){if(e===null){if(!n)throw Error(Q(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(Q(557));e[Ct]=t}else ei(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;We(t),e=!1}else a=zp(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return t.flags&256?(pa(t),t):(pa(t),null);if(t.flags&128)throw Error(Q(558))}return We(t),null;case 13:if(n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(r=os(t),n!==null&&n.dehydrated!==null){if(e===null){if(!r)throw Error(Q(318));if(r=t.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(Q(317));r[Ct]=t}else ei(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;We(t),r=!1}else r=zp(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),r=!0;if(!r)return t.flags&256?(pa(t),t):(pa(t),null)}return pa(t),t.flags&128?(t.lanes=a,t):(a=n!==null,e=e!==null&&e.memoizedState!==null,a&&(n=t.child,r=null,n.alternate!==null&&n.alternate.memoizedState!==null&&n.alternate.memoizedState.cachePool!==null&&(r=n.alternate.memoizedState.cachePool.pool),i=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(i=n.memoizedState.cachePool.pool),i!==r&&(n.flags|=2048)),a!==e&&a&&(t.child.flags|=8192),Hu(t,t.updateQueue),We(t),null);case 4:return Yi(),e===null&&Hm(t.stateNode.containerInfo),We(t),null;case 10:return Cn(t.type),We(t),null;case 19:if(yt(nt),n=t.memoizedState,n===null)return We(t),null;if(r=(t.flags&128)!==0,i=n.rendering,i===null)if(r)ll(n,!1);else{if(at!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=xu(e),i!==null){for(t.flags|=128,ll(n,!1),e=i.updateQueue,t.updateQueue=e,Hu(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)r1(a,e),a=a.sibling;return Ye(nt,nt.current&1|2),ve&&Sn(t,n.treeForkCount),t.child}e=e.sibling}n.tail!==null&&la()>Qu&&(t.flags|=128,r=!0,ll(n,!1),t.lanes=4194304)}else{if(!r)if(e=xu(i),e!==null){if(t.flags|=128,r=!0,e=e.updateQueue,t.updateQueue=e,Hu(t,e),ll(n,!0),n.tail===null&&n.tailMode==="hidden"&&!i.alternate&&!ve)return We(t),null}else 2*la()-n.renderingStartTime>Qu&&a!==536870912&&(t.flags|=128,r=!0,ll(n,!1),t.lanes=4194304);n.isBackwards?(i.sibling=t.child,t.child=i):(e=n.last,e!==null?e.sibling=i:t.child=i,n.last=i)}return n.tail!==null?(e=n.tail,n.rendering=e,n.tail=e.sibling,n.renderingStartTime=la(),e.sibling=null,a=nt.current,Ye(nt,r?a&1|2:a&1),ve&&Sn(t,n.treeForkCount),e):(We(t),null);case 22:case 23:return pa(t),jp(),n=t.memoizedState!==null,e!==null?e.memoizedState!==null!==n&&(t.flags|=8192):n&&(t.flags|=8192),n?a&536870912&&!(t.flags&128)&&(We(t),t.subtreeFlags&6&&(t.flags|=8192)):We(t),a=t.updateQueue,a!==null&&Hu(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),n=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),n!==a&&(t.flags|=2048),e!==null&&yt(ni),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Cn(st),We(t),null;case 25:return null;case 30:return null}throw Error(Q(156,t.tag))}function JD(e,t){switch(Cp(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Cn(st),Yi(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Zc(t),null;case 31:if(t.memoizedState!==null){if(pa(t),t.alternate===null)throw Error(Q(340));ei()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(pa(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(Q(340));ei()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return yt(nt),null;case 4:return Yi(),null;case 10:return Cn(t.type),null;case 22:case 23:return pa(t),jp(),e!==null&&yt(ni),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Cn(st),null;case 25:return null;default:return null}}function Ow(e,t){switch(Cp(t),t.tag){case 3:Cn(st),Yi();break;case 26:case 27:case 5:Zc(t);break;case 4:Yi();break;case 31:t.memoizedState!==null&&pa(t);break;case 13:pa(t);break;case 19:yt(nt);break;case 10:Cn(t.type);break;case 22:case 23:pa(t),jp(),e!==null&&yt(ni);break;case 24:Cn(st)}}function cl(e,t){try{var a=t.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var r=n.next;a=r;do{if((a.tag&e)===e){n=void 0;var i=a.create,s=a.inst;n=i(),s.destroy=n}a=a.next}while(a!==r)}}catch(o){Re(t,t.return,o)}}function hr(e,t,a){try{var n=t.updateQueue,r=n!==null?n.lastEffect:null;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){var s=n.inst,o=s.destroy;if(o!==void 0){s.destroy=void 0,r=t;var l=a,c=o;try{c()}catch(f){Re(r,l,f)}}}n=n.next}while(n!==i)}}catch(f){Re(t,t.return,f)}}function Dw(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;try{E1(t,a)}catch(n){Re(e,e.return,n)}}}function Rw(e,t,a){a.props=li(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(n){Re(e,t,n)}}function ul(e,t){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:n=e.stateNode;break;default:n=e.stateNode}typeof a=="function"?e.refCleanup=a(n):a.current=n}}catch(r){Re(e,t,r)}}function sn(e,t){var a=e.ref,n=e.refCleanup;if(a!==null)if(typeof n=="function")try{n()}catch(r){Re(e,t,r)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(r){Re(e,t,r)}else a.current=null}function Lw(e){var t=e.type,a=e.memoizedProps,n=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break e;case"img":a.src?n.src=a.src:a.srcSet&&(n.srcset=a.srcSet)}}catch(r){Re(e,e.return,r)}}function km(e,t,a){try{var n=e.stateNode;w4(n,e.type,a,t),n[Wt]=t}catch(r){Re(e,e.return,r)}}function Iw(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&kr(e.type)||e.tag===4}function wm(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Iw(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&kr(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Em(e,t,a){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,t):(t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(e),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=En));else if(n!==4&&(n===27&&kr(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(Em(e,t,a),e=e.sibling;e!==null;)Em(e,t,a),e=e.sibling}function ju(e,t,a){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(n!==4&&(n===27&&kr(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(ju(e,t,a),e=e.sibling;e!==null;)ju(e,t,a),e=e.sibling}function Mw(e){var t=e.stateNode,a=e.memoizedProps;try{for(var n=e.type,r=t.attributes;r.length;)t.removeAttributeNode(r[0]);Ot(t,n,a),t[Ct]=e,t[Wt]=a}catch(i){Re(e,e.return,i)}}var Dn=!1,ct=!1,Tm=!1,Pw=typeof WeakSet=="function"?WeakSet:Set,bt=null;function e4(e,t){if(e=e.containerInfo,Ym=uf,e=Xk(e),gp(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var n=a.getSelection&&a.getSelection();if(n&&n.rangeCount!==0){a=n.anchorNode;var r=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{a.nodeType,i.nodeType}catch{a=null;break e}var s=0,o=-1,l=-1,c=0,f=0,d=e,u=null;t:for(;;){for(var p;d!==a||r!==0&&d.nodeType!==3||(o=s+r),d!==i||n!==0&&d.nodeType!==3||(l=s+n),d.nodeType===3&&(s+=d.nodeValue.length),(p=d.firstChild)!==null;)u=d,d=p;for(;;){if(d===e)break t;if(u===a&&++c===r&&(o=s),u===i&&++f===n&&(l=s),(p=d.nextSibling)!==null)break;d=u,u=d.parentNode}d=p}a=o===-1||l===-1?null:{start:o,end:l}}else a=null}a=a||{start:0,end:0}}else a=null;for($m={focusedElem:e,selectionRange:a},uf=!1,bt=t;bt!==null;)if(t=bt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,bt=e;else for(;bt!==null;){switch(t=bt,i=t.alternate,e=t.flags,t.tag){case 0:if(e&4&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(a=0;a<e.length;a++)r=e[a],r.ref.impl=r.nextImpl;break;case 11:case 15:break;case 1:if(e&1024&&i!==null){e=void 0,a=t,r=i.memoizedProps,i=i.memoizedState,n=a.stateNode;try{var _=li(a.type,r);e=n.getSnapshotBeforeUpdate(_,i),n.__reactInternalSnapshotBeforeUpdate=e}catch(E){Re(a,a.return,E)}}break;case 3:if(e&1024){if(e=t.stateNode.containerInfo,a=e.nodeType,a===9)Gm(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Gm(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(e&1024)throw Error(Q(163))}if(e=t.sibling,e!==null){e.return=t.return,bt=e;break}bt=t.return}}function Uw(e,t,a){var n=a.flags;switch(a.tag){case 0:case 11:case 15:Ln(e,a),n&4&&cl(5,a);break;case 1:if(Ln(e,a),n&4)if(e=a.stateNode,t===null)try{e.componentDidMount()}catch(s){Re(a,a.return,s)}else{var r=li(a.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(r,t,e.__reactInternalSnapshotBeforeUpdate)}catch(s){Re(a,a.return,s)}}n&64&&Dw(a),n&512&&ul(a,a.return);break;case 3:if(Ln(e,a),n&64&&(e=a.updateQueue,e!==null)){if(t=null,a.child!==null)switch(a.child.tag){case 27:case 5:t=a.child.stateNode;break;case 1:t=a.child.stateNode}try{E1(e,t)}catch(s){Re(a,a.return,s)}}break;case 27:t===null&&n&4&&Mw(a);case 26:case 5:Ln(e,a),t===null&&n&4&&Lw(a),n&512&&ul(a,a.return);break;case 12:Ln(e,a);break;case 31:Ln(e,a),n&4&&Hw(e,a);break;case 13:Ln(e,a),n&4&&jw(e,a),n&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=c4.bind(null,a),z4(e,a))));break;case 22:if(n=a.memoizedState!==null||Dn,!n){t=t!==null&&t.memoizedState!==null||ct,r=Dn;var i=ct;Dn=n,(ct=t)&&!i?In(e,a,(a.subtreeFlags&8772)!==0):Ln(e,a),Dn=r,ct=i}break;case 30:break;default:Ln(e,a)}}function Bw(e){var t=e.alternate;t!==null&&(e.alternate=null,Bw(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Jh(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ze=null,Jt=!1;function Rn(e,t,a){for(a=a.child;a!==null;)Fw(e,t,a),a=a.sibling}function Fw(e,t,a){if(ca&&typeof ca.onCommitFiberUnmount=="function")try{ca.onCommitFiberUnmount(Lo,a)}catch{}switch(a.tag){case 26:ct||sn(a,t),Rn(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:ct||sn(a,t);var n=Ze,r=Jt;kr(a.type)&&(Ze=a.stateNode,Jt=!1),Rn(e,t,a),bl(a.stateNode),Ze=n,Jt=r;break;case 5:ct||sn(a,t);case 6:if(n=Ze,r=Jt,Ze=null,Rn(e,t,a),Ze=n,Jt=r,Ze!==null)if(Jt)try{(Ze.nodeType===9?Ze.body:Ze.nodeName==="HTML"?Ze.ownerDocument.body:Ze).removeChild(a.stateNode)}catch(i){Re(a,t,i)}else try{Ze.removeChild(a.stateNode)}catch(i){Re(a,t,i)}break;case 18:Ze!==null&&(Jt?(e=Ze,DE(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),xs(e)):DE(Ze,a.stateNode));break;case 4:n=Ze,r=Jt,Ze=a.stateNode.containerInfo,Jt=!0,Rn(e,t,a),Ze=n,Jt=r;break;case 0:case 11:case 14:case 15:hr(2,a,t),ct||hr(4,a,t),Rn(e,t,a);break;case 1:ct||(sn(a,t),n=a.stateNode,typeof n.componentWillUnmount=="function"&&Rw(a,t,n)),Rn(e,t,a);break;case 21:Rn(e,t,a);break;case 22:ct=(n=ct)||a.memoizedState!==null,Rn(e,t,a),ct=n;break;default:Rn(e,t,a)}}function Hw(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{xs(e)}catch(a){Re(t,t.return,a)}}}function jw(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{xs(e)}catch(a){Re(t,t.return,a)}}function t4(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Pw),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Pw),t;default:throw Error(Q(435,e.tag))}}function qu(e,t){var a=t4(e);t.forEach(function(n){if(!a.has(n)){a.add(n);var r=u4.bind(null,e,n);n.then(r,r)}})}function ea(e,t){var a=t.deletions;if(a!==null)for(var n=0;n<a.length;n++){var r=a[n],i=e,s=t,o=s;e:for(;o!==null;){switch(o.tag){case 27:if(kr(o.type)){Ze=o.stateNode,Jt=!1;break e}break;case 5:Ze=o.stateNode,Jt=!1;break e;case 3:case 4:Ze=o.stateNode.containerInfo,Jt=!0;break e}o=o.return}if(Ze===null)throw Error(Q(160));Fw(i,s,r),Ze=null,Jt=!1,i=r.alternate,i!==null&&(i.return=null),r.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)qw(t,e),t=t.sibling}var Qa=null;function qw(e,t){var a=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:ea(t,e),ta(e),n&4&&(hr(3,e,e.return),cl(3,e),hr(5,e,e.return));break;case 1:ea(t,e),ta(e),n&512&&(ct||a===null||sn(a,a.return)),n&64&&Dn&&(e=e.updateQueue,e!==null&&(n=e.callbacks,n!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?n:a.concat(n))));break;case 26:var r=Qa;if(ea(t,e),ta(e),n&512&&(ct||a===null||sn(a,a.return)),n&4){var i=a!==null?a.memoizedState:null;if(n=e.memoizedState,a===null)if(n===null)if(e.stateNode===null){e:{n=e.type,a=e.memoizedProps,r=r.ownerDocument||r;t:switch(n){case"title":i=r.getElementsByTagName("title")[0],(!i||i[Po]||i[Ct]||i.namespaceURI==="http://www.w3.org/2000/svg"||i.hasAttribute("itemprop"))&&(i=r.createElement(n),r.head.insertBefore(i,r.querySelector("head > title"))),Ot(i,n,a),i[Ct]=e,_t(i),n=i;break e;case"link":var s=qE("link","href",r).get(n+(a.href||""));if(s){for(var o=0;o<s.length;o++)if(i=s[o],i.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&i.getAttribute("rel")===(a.rel==null?null:a.rel)&&i.getAttribute("title")===(a.title==null?null:a.title)&&i.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){s.splice(o,1);break t}}i=r.createElement(n),Ot(i,n,a),r.head.appendChild(i);break;case"meta":if(s=qE("meta","content",r).get(n+(a.content||""))){for(o=0;o<s.length;o++)if(i=s[o],i.getAttribute("content")===(a.content==null?null:""+a.content)&&i.getAttribute("name")===(a.name==null?null:a.name)&&i.getAttribute("property")===(a.property==null?null:a.property)&&i.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&i.getAttribute("charset")===(a.charSet==null?null:a.charSet)){s.splice(o,1);break t}}i=r.createElement(n),Ot(i,n,a),r.head.appendChild(i);break;default:throw Error(Q(468,n))}i[Ct]=e,_t(i),n=i}e.stateNode=n}else YE(r,e.type,e.stateNode);else e.stateNode=jE(r,n,e.memoizedProps);else i!==n?(i===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):i.count--,n===null?YE(r,e.type,e.stateNode):jE(r,n,e.memoizedProps)):n===null&&e.stateNode!==null&&km(e,e.memoizedProps,a.memoizedProps)}break;case 27:ea(t,e),ta(e),n&512&&(ct||a===null||sn(a,a.return)),a!==null&&n&4&&km(e,e.memoizedProps,a.memoizedProps);break;case 5:if(ea(t,e),ta(e),n&512&&(ct||a===null||sn(a,a.return)),e.flags&32){r=e.stateNode;try{Wi(r,"")}catch(_){Re(e,e.return,_)}}n&4&&e.stateNode!=null&&(r=e.memoizedProps,km(e,r,a!==null?a.memoizedProps:r)),n&1024&&(Tm=!0);break;case 6:if(ea(t,e),ta(e),n&4){if(e.stateNode===null)throw Error(Q(162));n=e.memoizedProps,a=e.stateNode;try{a.nodeValue=n}catch(_){Re(e,e.return,_)}}break;case 3:if(sf=null,r=Qa,Qa=nf(t.containerInfo),ea(t,e),Qa=r,ta(e),n&4&&a!==null&&a.memoizedState.isDehydrated)try{xs(t.containerInfo)}catch(_){Re(e,e.return,_)}Tm&&(Tm=!1,Yw(e));break;case 4:n=Qa,Qa=nf(e.stateNode.containerInfo),ea(t,e),ta(e),Qa=n;break;case 12:ea(t,e),ta(e);break;case 31:ea(t,e),ta(e),n&4&&(n=e.updateQueue,n!==null&&(e.updateQueue=null,qu(e,n)));break;case 13:ea(t,e),ta(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&($u=la()),n&4&&(n=e.updateQueue,n!==null&&(e.updateQueue=null,qu(e,n)));break;case 22:r=e.memoizedState!==null;var l=a!==null&&a.memoizedState!==null,c=Dn,f=ct;if(Dn=c||r,ct=f||l,ea(t,e),ct=f,Dn=c,ta(e),n&8192)e:for(t=e.stateNode,t._visibility=r?t._visibility&-2:t._visibility|1,r&&(a===null||l||Dn||ct||ci(e)),a=null,t=e;;){if(t.tag===5||t.tag===26){if(a===null){l=a=t;try{if(i=l.stateNode,r)s=i.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none";else{o=l.stateNode;var d=l.memoizedProps.style,u=d!=null&&d.hasOwnProperty("display")?d.display:null;o.style.display=u==null||typeof u=="boolean"?"":(""+u).trim()}}catch(_){Re(l,l.return,_)}}}else if(t.tag===6){if(a===null){l=t;try{l.stateNode.nodeValue=r?"":l.memoizedProps}catch(_){Re(l,l.return,_)}}}else if(t.tag===18){if(a===null){l=t;try{var p=l.stateNode;r?RE(p,!0):RE(l.stateNode,!1)}catch(_){Re(l,l.return,_)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;a===t&&(a=null),t=t.return}a===t&&(a=null),t.sibling.return=t.return,t=t.sibling}n&4&&(n=e.updateQueue,n!==null&&(a=n.retryQueue,a!==null&&(n.retryQueue=null,qu(e,a))));break;case 19:ea(t,e),ta(e),n&4&&(n=e.updateQueue,n!==null&&(e.updateQueue=null,qu(e,n)));break;case 30:break;case 21:break;default:ea(t,e),ta(e)}}function ta(e){var t=e.flags;if(t&2){try{for(var a,n=e.return;n!==null;){if(Iw(n)){a=n;break}n=n.return}if(a==null)throw Error(Q(160));switch(a.tag){case 27:var r=a.stateNode,i=wm(e);ju(e,i,r);break;case 5:var s=a.stateNode;a.flags&32&&(Wi(s,""),a.flags&=-33);var o=wm(e);ju(e,o,s);break;case 3:case 4:var l=a.stateNode.containerInfo,c=wm(e);Em(e,c,l);break;default:throw Error(Q(161))}}catch(f){Re(e,e.return,f)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Yw(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Yw(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Ln(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Uw(e,t.alternate,t),t=t.sibling}function ci(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:hr(4,t,t.return),ci(t);break;case 1:sn(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&Rw(t,t.return,a),ci(t);break;case 27:bl(t.stateNode);case 26:case 5:sn(t,t.return),ci(t);break;case 22:t.memoizedState===null&&ci(t);break;case 30:ci(t);break;default:ci(t)}e=e.sibling}}function In(e,t,a){for(a=a&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var n=t.alternate,r=e,i=t,s=i.flags;switch(i.tag){case 0:case 11:case 15:In(r,i,a),cl(4,i);break;case 1:if(In(r,i,a),n=i,r=n.stateNode,typeof r.componentDidMount=="function")try{r.componentDidMount()}catch(c){Re(n,n.return,c)}if(n=i,r=n.updateQueue,r!==null){var o=n.stateNode;try{var l=r.shared.hiddenCallbacks;if(l!==null)for(r.shared.hiddenCallbacks=null,r=0;r<l.length;r++)w1(l[r],o)}catch(c){Re(n,n.return,c)}}a&&s&64&&Dw(i),ul(i,i.return);break;case 27:Mw(i);case 26:case 5:In(r,i,a),a&&n===null&&s&4&&Lw(i),ul(i,i.return);break;case 12:In(r,i,a);break;case 31:In(r,i,a),a&&s&4&&Hw(r,i);break;case 13:In(r,i,a),a&&s&4&&jw(r,i);break;case 22:i.memoizedState===null&&In(r,i,a),ul(i,i.return);break;case 30:break;default:In(r,i,a)}t=t.sibling}}function vm(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&e.refCount++,a!=null&&Ko(a))}function Sm(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Ko(e))}function Va(e,t,a,n){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)$w(e,t,a,n),t=t.sibling}function $w(e,t,a,n){var r=t.flags;switch(t.tag){case 0:case 11:case 15:Va(e,t,a,n),r&2048&&cl(9,t);break;case 1:Va(e,t,a,n);break;case 3:Va(e,t,a,n),r&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Ko(e)));break;case 12:if(r&2048){Va(e,t,a,n),e=t.stateNode;try{var i=t.memoizedProps,s=i.id,o=i.onPostCommit;typeof o=="function"&&o(s,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(l){Re(t,t.return,l)}}else Va(e,t,a,n);break;case 31:Va(e,t,a,n);break;case 13:Va(e,t,a,n);break;case 23:break;case 22:i=t.stateNode,s=t.alternate,t.memoizedState!==null?i._visibility&2?Va(e,t,a,n):fl(e,t):i._visibility&2?Va(e,t,a,n):(i._visibility|=2,ys(e,t,a,n,(t.subtreeFlags&10256)!==0||!1)),r&2048&&vm(s,t);break;case 24:Va(e,t,a,n),r&2048&&Sm(t.alternate,t);break;default:Va(e,t,a,n)}}function ys(e,t,a,n,r){for(r=r&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var i=e,s=t,o=a,l=n,c=s.flags;switch(s.tag){case 0:case 11:case 15:ys(i,s,o,l,r),cl(8,s);break;case 23:break;case 22:var f=s.stateNode;s.memoizedState!==null?f._visibility&2?ys(i,s,o,l,r):fl(i,s):(f._visibility|=2,ys(i,s,o,l,r)),r&&c&2048&&vm(s.alternate,s);break;case 24:ys(i,s,o,l,r),r&&c&2048&&Sm(s.alternate,s);break;default:ys(i,s,o,l,r)}t=t.sibling}}function fl(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var a=e,n=t,r=n.flags;switch(n.tag){case 22:fl(a,n),r&2048&&vm(n.alternate,n);break;case 24:fl(a,n),r&2048&&Sm(n.alternate,n);break;default:fl(a,n)}t=t.sibling}}var dl=8192;function _s(e,t,a){if(e.subtreeFlags&dl)for(e=e.child;e!==null;)Qw(e,t,a),e=e.sibling}function Qw(e,t,a){switch(e.tag){case 26:_s(e,t,a),e.flags&dl&&e.memoizedState!==null&&H4(a,Qa,e.memoizedState,e.memoizedProps);break;case 5:_s(e,t,a);break;case 3:case 4:var n=Qa;Qa=nf(e.stateNode.containerInfo),_s(e,t,a),Qa=n;break;case 22:e.memoizedState===null&&(n=e.alternate,n!==null&&n.memoizedState!==null?(n=dl,dl=16777216,_s(e,t,a),dl=n):_s(e,t,a));break;default:_s(e,t,a)}}function Vw(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function hl(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var a=0;a<t.length;a++){var n=t[a];bt=n,Xw(n,e)}Vw(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Gw(e),e=e.sibling}function Gw(e){switch(e.tag){case 0:case 11:case 15:hl(e),e.flags&2048&&hr(9,e,e.return);break;case 3:hl(e);break;case 12:hl(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Yu(e)):hl(e);break;default:hl(e)}}function Yu(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var a=0;a<t.length;a++){var n=t[a];bt=n,Xw(n,e)}Vw(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:hr(8,t,t.return),Yu(t);break;case 22:a=t.stateNode,a._visibility&2&&(a._visibility&=-3,Yu(t));break;default:Yu(t)}e=e.sibling}}function Xw(e,t){for(;bt!==null;){var a=bt;switch(a.tag){case 0:case 11:case 15:hr(8,a,t);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var n=a.memoizedState.cachePool.pool;n!=null&&n.refCount++}break;case 24:Ko(a.memoizedState.cache)}if(n=a.child,n!==null)n.return=a,bt=n;else e:for(a=e;bt!==null;){n=bt;var r=n.sibling,i=n.return;if(Bw(n),n===a){bt=null;break e}if(r!==null){r.return=i,bt=r;break e}bt=i}}}var a4={getCacheForType:function(e){var t=zt(st),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a},cacheSignal:function(){return zt(st).controller.signal}},n4=typeof WeakMap=="function"?WeakMap:Map,xe=0,Ue=null,ke=null,Te=0,De=0,ma=null,pr=!1,bs=!1,Am=!1,Mn=0,at=0,mr=0,ui=0,Cm=0,ga=0,ks=0,pl=null,aa=null,xm=!1,$u=0,Kw=0,Qu=1/0,Vu=null,gr=null,mt=0,yr=null,ws=null,Pn=0,zm=0,Nm=null,Ww=null,ml=0,Om=null;function ya(){return xe&2&&Te!==0?Te&-Te:oe.T!==null?Pm():hk()}function Zw(){if(ga===0)if(!(Te&536870912)||ve){var e=tu;tu<<=1,!(tu&3932160)&&(tu=262144),ga=e}else ga=536870912;return e=ha.current,e!==null&&(e.flags|=32),ga}function na(e,t,a){(e===Ue&&(De===2||De===9)||e.cancelPendingCommit!==null)&&(Es(e,0),_r(e,Te,ga,!1)),Mo(e,a),(!(xe&2)||e!==Ue)&&(e===Ue&&(!(xe&2)&&(ui|=a),at===4&&_r(e,Te,ga,!1)),on(e))}function Jw(e,t,a){if(xe&6)throw Error(Q(327));var n=!a&&(t&127)===0&&(t&e.expiredLanes)===0||Io(e,t),r=n?s4(e,t):Rm(e,t,!0),i=n;do{if(r===0){bs&&!n&&_r(e,t,0,!1);break}else{if(a=e.current.alternate,i&&!r4(a)){r=Rm(e,t,!1),i=!1;continue}if(r===2){if(i=t,e.errorRecoveryDisabledLanes&i)var s=0;else s=e.pendingLanes&-536870913,s=s!==0?s:s&536870912?536870912:0;if(s!==0){t=s;e:{var o=e;r=pl;var l=o.current.memoizedState.isDehydrated;if(l&&(Es(o,s).flags|=256),s=Rm(o,s,!1),s!==2){if(Am&&!l){o.errorRecoveryDisabledLanes|=i,ui|=i,r=4;break e}i=aa,aa=r,i!==null&&(aa===null?aa=i:aa.push.apply(aa,i))}r=s}if(i=!1,r!==2)continue}}if(r===1){Es(e,0),_r(e,t,0,!0);break}e:{switch(n=e,i=r,i){case 0:case 1:throw Error(Q(345));case 4:if((t&4194048)!==t)break;case 6:_r(n,t,ga,!pr);break e;case 2:aa=null;break;case 3:case 5:break;default:throw Error(Q(329))}if((t&62914560)===t&&(r=$u+300-la(),10<r)){if(_r(n,t,ga,!pr),nu(n,0,!0)!==0)break e;Pn=t,n.timeoutHandle=NE(eE.bind(null,n,a,aa,Vu,xm,t,ga,ui,ks,pr,i,"Throttled",-0,0),r);break e}eE(n,a,aa,Vu,xm,t,ga,ui,ks,pr,i,null,-0,0)}}break}while(!0);on(e)}function eE(e,t,a,n,r,i,s,o,l,c,f,d,u,p){if(e.timeoutHandle=-1,d=t.subtreeFlags,d&8192||(d&16785408)===16785408){d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:En},Qw(t,i,d);var _=(i&62914560)===i?$u-la():(i&4194048)===i?Kw-la():0;if(_=j4(d,_),_!==null){Pn=i,e.cancelPendingCommit=_(lE.bind(null,e,t,i,a,n,r,s,o,l,f,d,null,u,p)),_r(e,i,s,!c);return}}lE(e,t,i,a,n,r,s,o,l)}function r4(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var n=0;n<a.length;n++){var r=a[n],i=r.getSnapshot;r=r.value;try{if(!fa(i(),r))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function _r(e,t,a,n){t&=~Cm,t&=~ui,e.suspendedLanes|=t,e.pingedLanes&=~t,n&&(e.warmLanes|=t),n=e.expirationTimes;for(var r=t;0<r;){var i=31-ua(r),s=1<<i;n[i]=-1,r&=~s}a!==0&&uk(e,a,t)}function Gu(){return xe&6?!0:(gl(0),!1)}function Dm(){if(ke!==null){if(De===0)var e=ke.return;else e=ke,An=ti=null,Gp(e),ds=null,Zo=0,e=ke;for(;e!==null;)Ow(e.alternate,e),e=e.return;ke=null}}function Es(e,t){var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,v4(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),Pn=0,Dm(),Ue=e,ke=a=vn(e.current,null),Te=t,De=0,ma=null,pr=!1,bs=Io(e,t),Am=!1,ks=ga=Cm=ui=mr=at=0,aa=pl=null,xm=!1,t&8&&(t|=t&32);var n=e.entangledLanes;if(n!==0)for(e=e.entanglements,n&=t;0<n;){var r=31-ua(n),i=1<<r;t|=e[r],n&=~i}return Mn=t,mu(),a}function tE(e,t){de=null,oe.H=sl,t===fs||t===Tu?(t=y1(),De=3):t===Mp?(t=y1(),De=4):De=t===um?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,ma=t,ke===null&&(at=1,Pu(e,Ca(t,e.current)))}function aE(){var e=ha.current;return e===null?!0:(Te&4194048)===Te?Oa===null:(Te&62914560)===Te||Te&536870912?e===Oa:!1}function nE(){var e=oe.H;return oe.H=sl,e===null?sl:e}function rE(){var e=oe.A;return oe.A=a4,e}function Xu(){at=4,pr||(Te&4194048)!==Te&&ha.current!==null||(bs=!0),!(mr&134217727)&&!(ui&134217727)||Ue===null||_r(Ue,Te,ga,!1)}function Rm(e,t,a){var n=xe;xe|=2;var r=nE(),i=rE();(Ue!==e||Te!==t)&&(Vu=null,Es(e,t)),t=!1;var s=at;e:do try{if(De!==0&&ke!==null){var o=ke,l=ma;switch(De){case 8:Dm(),s=6;break e;case 3:case 2:case 9:case 6:ha.current===null&&(t=!0);var c=De;if(De=0,ma=null,Ts(e,o,l,c),a&&bs){s=0;break e}break;default:c=De,De=0,ma=null,Ts(e,o,l,c)}}i4(),s=at;break}catch(f){tE(e,f)}while(!0);return t&&e.shellSuspendCounter++,An=ti=null,xe=n,oe.H=r,oe.A=i,ke===null&&(Ue=null,Te=0,mu()),s}function i4(){for(;ke!==null;)iE(ke)}function s4(e,t){var a=xe;xe|=2;var n=nE(),r=rE();Ue!==e||Te!==t?(Vu=null,Qu=la()+500,Es(e,t)):bs=Io(e,t);e:do try{if(De!==0&&ke!==null){t=ke;var i=ma;t:switch(De){case 1:De=0,ma=null,Ts(e,t,i,1);break;case 2:case 9:if(m1(i)){De=0,ma=null,sE(t);break}t=function(){De!==2&&De!==9||Ue!==e||(De=7),on(e)},i.then(t,t);break e;case 3:De=7;break e;case 4:De=5;break e;case 7:m1(i)?(De=0,ma=null,sE(t)):(De=0,ma=null,Ts(e,t,i,7));break;case 5:var s=null;switch(ke.tag){case 26:s=ke.memoizedState;case 5:case 27:var o=ke;if(s?$E(s):o.stateNode.complete){De=0,ma=null;var l=o.sibling;if(l!==null)ke=l;else{var c=o.return;c!==null?(ke=c,Ku(c)):ke=null}break t}}De=0,ma=null,Ts(e,t,i,5);break;case 6:De=0,ma=null,Ts(e,t,i,6);break;case 8:Dm(),at=6;break e;default:throw Error(Q(462))}}o4();break}catch(f){tE(e,f)}while(!0);return An=ti=null,oe.H=n,oe.A=r,xe=a,ke!==null?0:(Ue=null,Te=0,mu(),at)}function o4(){for(;ke!==null&&!NO();)iE(ke)}function iE(e){var t=zw(e.alternate,e,Mn);e.memoizedProps=e.pendingProps,t===null?Ku(e):ke=t}function sE(e){var t=e,a=t.alternate;switch(t.tag){case 15:case 0:t=Tw(a,t,t.pendingProps,t.type,void 0,Te);break;case 11:t=Tw(a,t,t.pendingProps,t.type.render,t.ref,Te);break;case 5:Gp(t);default:Ow(a,t),t=ke=r1(t,Mn),t=zw(a,t,Mn)}e.memoizedProps=e.pendingProps,t===null?Ku(e):ke=t}function Ts(e,t,a,n){An=ti=null,Gp(t),ds=null,Zo=0;var r=t.return;try{if(XD(e,r,t,a,Te)){at=1,Pu(e,Ca(a,e.current)),ke=null;return}}catch(i){if(r!==null)throw ke=r,i;at=1,Pu(e,Ca(a,e.current)),ke=null;return}t.flags&32768?(ve||n===1?e=!0:bs||Te&536870912?e=!1:(pr=e=!0,(n===2||n===9||n===3||n===6)&&(n=ha.current,n!==null&&n.tag===13&&(n.flags|=16384))),oE(t,e)):Ku(t)}function Ku(e){var t=e;do{if(t.flags&32768){oE(t,pr);return}e=t.return;var a=ZD(t.alternate,t,Mn);if(a!==null){ke=a;return}if(t=t.sibling,t!==null){ke=t;return}ke=t=e}while(t!==null);at===0&&(at=5)}function oE(e,t){do{var a=JD(e.alternate,e);if(a!==null){a.flags&=32767,ke=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){ke=e;return}ke=e=a}while(e!==null);at=6,ke=null}function lE(e,t,a,n,r,i,s,o,l){e.cancelPendingCommit=null;do Wu();while(mt!==0);if(xe&6)throw Error(Q(327));if(t!==null){if(t===e.current)throw Error(Q(177));if(i=t.lanes|t.childLanes,i|=wp,FO(e,a,i,s,o,l),e===Ue&&(ke=Ue=null,Te=0),ws=t,yr=e,Pn=a,zm=i,Nm=r,Ww=n,t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,f4(Jc,function(){return hE(),null})):(e.callbackNode=null,e.callbackPriority=0),n=(t.flags&13878)!==0,t.subtreeFlags&13878||n){n=oe.T,oe.T=null,r=Ce.p,Ce.p=2,s=xe,xe|=4;try{e4(e,t,a)}finally{xe=s,Ce.p=r,oe.T=n}}mt=1,cE(),uE(),fE()}}function cE(){if(mt===1){mt=0;var e=yr,t=ws,a=(t.flags&13878)!==0;if(t.subtreeFlags&13878||a){a=oe.T,oe.T=null;var n=Ce.p;Ce.p=2;var r=xe;xe|=4;try{qw(t,e);var i=$m,s=Xk(e.containerInfo),o=i.focusedElem,l=i.selectionRange;if(s!==o&&o&&o.ownerDocument&&Gk(o.ownerDocument.documentElement,o)){if(l!==null&&gp(o)){var c=l.start,f=l.end;if(f===void 0&&(f=c),"selectionStart"in o)o.selectionStart=c,o.selectionEnd=Math.min(f,o.value.length);else{var d=o.ownerDocument||document,u=d&&d.defaultView||window;if(u.getSelection){var p=u.getSelection(),_=o.textContent.length,E=Math.min(l.start,_),v=l.end===void 0?E:Math.min(l.end,_);!p.extend&&E>v&&(s=v,v=E,E=s);var g=Vk(o,E),k=Vk(o,v);if(g&&k&&(p.rangeCount!==1||p.anchorNode!==g.node||p.anchorOffset!==g.offset||p.focusNode!==k.node||p.focusOffset!==k.offset)){var y=d.createRange();y.setStart(g.node,g.offset),p.removeAllRanges(),E>v?(p.addRange(y),p.extend(k.node,k.offset)):(y.setEnd(k.node,k.offset),p.addRange(y))}}}}for(d=[],p=o;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof o.focus=="function"&&o.focus(),o=0;o<d.length;o++){var b=d[o];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}uf=!!Ym,$m=Ym=null}finally{xe=r,Ce.p=n,oe.T=a}}e.current=t,mt=2}}function uE(){if(mt===2){mt=0;var e=yr,t=ws,a=(t.flags&8772)!==0;if(t.subtreeFlags&8772||a){a=oe.T,oe.T=null;var n=Ce.p;Ce.p=2;var r=xe;xe|=4;try{Uw(e,t.alternate,t)}finally{xe=r,Ce.p=n,oe.T=a}}mt=3}}function fE(){if(mt===4||mt===3){mt=0,OO();var e=yr,t=ws,a=Pn,n=Ww;t.subtreeFlags&10256||t.flags&10256?mt=5:(mt=0,ws=yr=null,dE(e,e.pendingLanes));var r=e.pendingLanes;if(r===0&&(gr=null),Wh(a),t=t.stateNode,ca&&typeof ca.onCommitFiberRoot=="function")try{ca.onCommitFiberRoot(Lo,t,void 0,(t.current.flags&128)===128)}catch{}if(n!==null){t=oe.T,r=Ce.p,Ce.p=2,oe.T=null;try{for(var i=e.onRecoverableError,s=0;s<n.length;s++){var o=n[s];i(o.value,{componentStack:o.stack})}}finally{oe.T=t,Ce.p=r}}Pn&3&&Wu(),on(e),r=e.pendingLanes,a&261930&&r&42?e===Om?ml++:(ml=0,Om=e):ml=0,gl(0)}}function dE(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Ko(t)))}function Wu(){return cE(),uE(),fE(),hE()}function hE(){if(mt!==5)return!1;var e=yr,t=zm;zm=0;var a=Wh(Pn),n=oe.T,r=Ce.p;try{Ce.p=32>a?32:a,oe.T=null,a=Nm,Nm=null;var i=yr,s=Pn;if(mt=0,ws=yr=null,Pn=0,xe&6)throw Error(Q(331));var o=xe;if(xe|=4,Gw(i.current),$w(i,i.current,s,a),xe=o,gl(0,!1),ca&&typeof ca.onPostCommitFiberRoot=="function")try{ca.onPostCommitFiberRoot(Lo,i)}catch{}return!0}finally{Ce.p=r,oe.T=n,dE(e,t)}}function pE(e,t,a){t=Ca(a,t),t=cm(e.stateNode,t,2),e=ur(e,t,2),e!==null&&(Mo(e,2),on(e))}function Re(e,t,a){if(e.tag===3)pE(e,e,a);else for(;t!==null;){if(t.tag===3){pE(t,e,a);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(gr===null||!gr.has(n))){e=Ca(a,e),a=mw(2),n=ur(t,a,2),n!==null&&(gw(a,n,t,e),Mo(n,2),on(n));break}}t=t.return}}function Lm(e,t,a){var n=e.pingCache;if(n===null){n=e.pingCache=new n4;var r=new Set;n.set(t,r)}else r=n.get(t),r===void 0&&(r=new Set,n.set(t,r));r.has(a)||(Am=!0,r.add(a),e=l4.bind(null,e,t,a),t.then(e,e))}function l4(e,t,a){var n=e.pingCache;n!==null&&n.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,Ue===e&&(Te&a)===a&&(at===4||at===3&&(Te&62914560)===Te&&300>la()-$u?!(xe&2)&&Es(e,0):Cm|=a,ks===Te&&(ks=0)),on(e)}function mE(e,t){t===0&&(t=ck()),e=Zr(e,t),e!==null&&(Mo(e,t),on(e))}function c4(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),mE(e,a)}function u4(e,t){var a=0;switch(e.tag){case 31:case 13:var n=e.stateNode,r=e.memoizedState;r!==null&&(a=r.retryLane);break;case 19:n=e.stateNode;break;case 22:n=e.stateNode._retryCache;break;default:throw Error(Q(314))}n!==null&&n.delete(t),mE(e,a)}function f4(e,t){return Vh(e,t)}var Zu=null,vs=null,Im=!1,Ju=!1,Mm=!1,br=0;function on(e){e!==vs&&e.next===null&&(vs===null?Zu=vs=e:vs=vs.next=e),Ju=!0,Im||(Im=!0,h4())}function gl(e,t){if(!Mm&&Ju){Mm=!0;do for(var a=!1,n=Zu;n!==null;){if(e!==0){var r=n.pendingLanes;if(r===0)var i=0;else{var s=n.suspendedLanes,o=n.pingedLanes;i=(1<<31-ua(42|e)+1)-1,i&=r&~(s&~o),i=i&201326741?i&201326741|1:i?i|2:0}i!==0&&(a=!0,bE(n,i))}else i=Te,i=nu(n,n===Ue?i:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),!(i&3)||Io(n,i)||(a=!0,bE(n,i));n=n.next}while(a);Mm=!1}}function d4(){gE()}function gE(){Ju=Im=!1;var e=0;br!==0&&T4()&&(e=br);for(var t=la(),a=null,n=Zu;n!==null;){var r=n.next,i=yE(n,t);i===0?(n.next=null,a===null?Zu=r:a.next=r,r===null&&(vs=a)):(a=n,(e!==0||i&3)&&(Ju=!0)),n=r}mt!==0&&mt!==5||gl(e),br!==0&&(br=0)}function yE(e,t){for(var a=e.suspendedLanes,n=e.pingedLanes,r=e.expirationTimes,i=e.pendingLanes&-62914561;0<i;){var s=31-ua(i),o=1<<s,l=r[s];l===-1?(!(o&a)||o&n)&&(r[s]=BO(o,t)):l<=t&&(e.expiredLanes|=o),i&=~o}if(t=Ue,a=Te,a=nu(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),n=e.callbackNode,a===0||e===t&&(De===2||De===9)||e.cancelPendingCommit!==null)return n!==null&&n!==null&&Gh(n),e.callbackNode=null,e.callbackPriority=0;if(!(a&3)||Io(e,a)){if(t=a&-a,t===e.callbackPriority)return t;switch(n!==null&&Gh(n),Wh(a)){case 2:case 8:a=ok;break;case 32:a=Jc;break;case 268435456:a=lk;break;default:a=Jc}return n=_E.bind(null,e),a=Vh(a,n),e.callbackPriority=t,e.callbackNode=a,t}return n!==null&&n!==null&&Gh(n),e.callbackPriority=2,e.callbackNode=null,2}function _E(e,t){if(mt!==0&&mt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(Wu()&&e.callbackNode!==a)return null;var n=Te;return n=nu(e,e===Ue?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),n===0?null:(Jw(e,n,t),yE(e,la()),e.callbackNode!=null&&e.callbackNode===a?_E.bind(null,e):null)}function bE(e,t){if(Wu())return null;Jw(e,t,!0)}function h4(){S4(function(){xe&6?Vh(sk,d4):gE()})}function Pm(){if(br===0){var e=cs;e===0&&(e=eu,eu<<=1,!(eu&261888)&&(eu=256)),br=e}return br}function kE(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:ou(""+e)}function wE(e,t){var a=t.ownerDocument.createElement("input");return a.name=t.name,a.value=t.value,e.id&&a.setAttribute("form",e.id),t.parentNode.insertBefore(a,t),e=new FormData(e),a.parentNode.removeChild(a),e}function p4(e,t,a,n,r){if(t==="submit"&&a&&a.stateNode===r){var i=kE((r[Wt]||null).action),s=n.submitter;s&&(t=(t=s[Wt]||null)?kE(t.formAction):s.getAttribute("formAction"),t!==null&&(i=t,s=null));var o=new fu("action","action",null,n,r);e.push({event:o,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(br!==0){var l=s?wE(r,s):new FormData(r);nm(a,{pending:!0,data:l,method:r.method,action:i},null,l)}}else typeof i=="function"&&(o.preventDefault(),l=s?wE(r,s):new FormData(r),nm(a,{pending:!0,data:l,method:r.method,action:i},i,l))},currentTarget:r}]})}}for(var Um=0;Um<kp.length;Um++){var Bm=kp[Um],m4=Bm.toLowerCase(),g4=Bm[0].toUpperCase()+Bm.slice(1);$a(m4,"on"+g4)}$a(Zk,"onAnimationEnd"),$a(Jk,"onAnimationIteration"),$a(e1,"onAnimationStart"),$a("dblclick","onDoubleClick"),$a("focusin","onFocus"),$a("focusout","onBlur"),$a(DD,"onTransitionRun"),$a(RD,"onTransitionStart"),$a(LD,"onTransitionCancel"),$a(t1,"onTransitionEnd"),Xi("onMouseEnter",["mouseout","mouseover"]),Xi("onMouseLeave",["mouseout","mouseover"]),Xi("onPointerEnter",["pointerout","pointerover"]),Xi("onPointerLeave",["pointerout","pointerover"]),Gr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Gr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Gr("onBeforeInput",["compositionend","keypress","textInput","paste"]),Gr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Gr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Gr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var yl="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),y4=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(yl));function EE(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var n=e[a],r=n.event;n=n.listeners;e:{var i=void 0;if(t)for(var s=n.length-1;0<=s;s--){var o=n[s],l=o.instance,c=o.currentTarget;if(o=o.listener,l!==i&&r.isPropagationStopped())break e;i=o,r.currentTarget=c;try{i(r)}catch(f){pu(f)}r.currentTarget=null,i=l}else for(s=0;s<n.length;s++){if(o=n[s],l=o.instance,c=o.currentTarget,o=o.listener,l!==i&&r.isPropagationStopped())break e;i=o,r.currentTarget=c;try{i(r)}catch(f){pu(f)}r.currentTarget=null,i=l}}}}function we(e,t){var a=t[Zh];a===void 0&&(a=t[Zh]=new Set);var n=e+"__bubble";a.has(n)||(TE(t,e,2,!1),a.add(n))}function Fm(e,t,a){var n=0;t&&(n|=4),TE(a,e,n,t)}var ef="_reactListening"+Math.random().toString(36).slice(2);function Hm(e){if(!e[ef]){e[ef]=!0,gk.forEach(function(a){a!=="selectionchange"&&(y4.has(a)||Fm(a,!1,e),Fm(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ef]||(t[ef]=!0,Fm("selectionchange",!1,t))}}function TE(e,t,a,n){switch(ZE(t)){case 2:var r=$4;break;case 8:r=Q4;break;default:r=ag}a=r.bind(null,t,a,e),r=void 0,!op||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(r=!0),n?r!==void 0?e.addEventListener(t,a,{capture:!0,passive:r}):e.addEventListener(t,a,!0):r!==void 0?e.addEventListener(t,a,{passive:r}):e.addEventListener(t,a,!1)}function jm(e,t,a,n,r){var i=n;if(!(t&1)&&!(t&2)&&n!==null)e:for(;;){if(n===null)return;var s=n.tag;if(s===3||s===4){var o=n.stateNode.containerInfo;if(o===r)break;if(s===4)for(s=n.return;s!==null;){var l=s.tag;if((l===3||l===4)&&s.stateNode.containerInfo===r)return;s=s.return}for(;o!==null;){if(s=Qi(o),s===null)return;if(l=s.tag,l===5||l===6||l===26||l===27){n=i=s;continue e}o=o.parentNode}}n=n.return}xk(function(){var c=i,f=ip(a),d=[];e:{var u=a1.get(e);if(u!==void 0){var p=fu,_=e;switch(e){case"keypress":if(cu(a)===0)break e;case"keydown":case"keyup":p=uD;break;case"focusin":_="focus",p=fp;break;case"focusout":_="blur",p=fp;break;case"beforeblur":case"afterblur":p=fp;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=Ok;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=ZO;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=hD;break;case Zk:case Jk:case e1:p=tD;break;case t1:p=mD;break;case"scroll":case"scrollend":p=KO;break;case"wheel":p=yD;break;case"copy":case"cut":case"paste":p=nD;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=Rk;break;case"toggle":case"beforetoggle":p=bD}var E=(t&4)!==0,v=!E&&(e==="scroll"||e==="scrollend"),g=E?u!==null?u+"Capture":null:u;E=[];for(var k=c,y;k!==null;){var b=k;if(y=b.stateNode,b=b.tag,b!==5&&b!==26&&b!==27||y===null||g===null||(b=Bo(k,g),b!=null&&E.push(_l(k,b,y))),v)break;k=k.return}0<E.length&&(u=new p(u,_,null,a,f),d.push({event:u,listeners:E}))}}if(!(t&7)){e:{if(u=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",u&&a!==rp&&(_=a.relatedTarget||a.fromElement)&&(Qi(_)||_[$i]))break e;if((p||u)&&(u=f.window===f?f:(u=f.ownerDocument)?u.defaultView||u.parentWindow:window,p?(_=a.relatedTarget||a.toElement,p=c,_=_?Qi(_):null,_!==null&&(v=zo(_),E=_.tag,_!==v||E!==5&&E!==27&&E!==6)&&(_=null)):(p=null,_=c),p!==_)){if(E=Ok,b="onMouseLeave",g="onMouseEnter",k="mouse",(e==="pointerout"||e==="pointerover")&&(E=Rk,b="onPointerLeave",g="onPointerEnter",k="pointer"),v=p==null?u:Uo(p),y=_==null?u:Uo(_),u=new E(b,k+"leave",p,a,f),u.target=v,u.relatedTarget=y,b=null,Qi(f)===c&&(E=new E(g,k+"enter",_,a,f),E.target=y,E.relatedTarget=v,b=E),v=b,p&&_)t:{for(E=_4,g=p,k=_,y=0,b=g;b;b=E(b))y++;b=0;for(var w=k;w;w=E(w))b++;for(;0<y-b;)g=E(g),y--;for(;0<b-y;)k=E(k),b--;for(;y--;){if(g===k||k!==null&&g===k.alternate){E=g;break t}g=E(g),k=E(k)}E=null}else E=null;p!==null&&vE(d,u,p,E,!1),_!==null&&v!==null&&vE(d,v,_,E,!0)}}e:{if(u=c?Uo(c):window,p=u.nodeName&&u.nodeName.toLowerCase(),p==="select"||p==="input"&&u.type==="file")var h=Hk;else if(Bk(u))if(jk)h=zD;else{h=CD;var S=AD}else p=u.nodeName,!p||p.toLowerCase()!=="input"||u.type!=="checkbox"&&u.type!=="radio"?c&&np(c.elementType)&&(h=Hk):h=xD;if(h&&(h=h(e,c))){Fk(d,h,a,f);break e}S&&S(e,u,c),e==="focusout"&&c&&u.type==="number"&&c.memoizedProps.value!=null&&ap(u,"number",u.value)}switch(S=c?Uo(c):window,e){case"focusin":(Bk(S)||S.contentEditable==="true")&&(ts=S,yp=c,Vo=null);break;case"focusout":Vo=yp=ts=null;break;case"mousedown":_p=!0;break;case"contextmenu":case"mouseup":case"dragend":_p=!1,Kk(d,a,f);break;case"selectionchange":if(OD)break;case"keydown":case"keyup":Kk(d,a,f)}var O;if(hp)e:{switch(e){case"compositionstart":var x="onCompositionStart";break e;case"compositionend":x="onCompositionEnd";break e;case"compositionupdate":x="onCompositionUpdate";break e}x=void 0}else es?Pk(e,a)&&(x="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(x="onCompositionStart");x&&(Lk&&a.locale!=="ko"&&(es||x!=="onCompositionStart"?x==="onCompositionEnd"&&es&&(O=zk()):(nr=f,lp="value"in nr?nr.value:nr.textContent,es=!0)),S=tf(c,x),0<S.length&&(x=new Dk(x,e,null,a,f),d.push({event:x,listeners:S}),O?x.data=O:(O=Uk(a),O!==null&&(x.data=O)))),(O=wD?ED(e,a):TD(e,a))&&(x=tf(c,"onBeforeInput"),0<x.length&&(S=new Dk("onBeforeInput","beforeinput",null,a,f),d.push({event:S,listeners:x}),S.data=O)),p4(d,e,c,a,f)}EE(d,t)})}function _l(e,t,a){return{instance:e,listener:t,currentTarget:a}}function tf(e,t){for(var a=t+"Capture",n=[];e!==null;){var r=e,i=r.stateNode;if(r=r.tag,r!==5&&r!==26&&r!==27||i===null||(r=Bo(e,a),r!=null&&n.unshift(_l(e,r,i)),r=Bo(e,t),r!=null&&n.push(_l(e,r,i))),e.tag===3)return n;e=e.return}return[]}function _4(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function vE(e,t,a,n,r){for(var i=t._reactName,s=[];a!==null&&a!==n;){var o=a,l=o.alternate,c=o.stateNode;if(o=o.tag,l!==null&&l===n)break;o!==5&&o!==26&&o!==27||c===null||(l=c,r?(c=Bo(a,i),c!=null&&s.unshift(_l(a,c,l))):r||(c=Bo(a,i),c!=null&&s.push(_l(a,c,l)))),a=a.return}s.length!==0&&e.push({event:t,listeners:s})}var b4=/\r\n?/g,k4=/\u0000|\uFFFD/g;function SE(e){return(typeof e=="string"?e:""+e).replace(b4,`
`).replace(k4,"")}function AE(e,t){return t=SE(t),SE(e)===t}function Me(e,t,a,n,r,i){switch(a){case"children":typeof n=="string"?t==="body"||t==="textarea"&&n===""||Wi(e,n):(typeof n=="number"||typeof n=="bigint")&&t!=="body"&&Wi(e,""+n);break;case"className":iu(e,"class",n);break;case"tabIndex":iu(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":iu(e,a,n);break;case"style":Ak(e,n,i);break;case"data":if(t!=="object"){iu(e,"data",n);break}case"src":case"href":if(n===""&&(t!=="a"||a!=="href")){e.removeAttribute(a);break}if(n==null||typeof n=="function"||typeof n=="symbol"||typeof n=="boolean"){e.removeAttribute(a);break}n=ou(""+n),e.setAttribute(a,n);break;case"action":case"formAction":if(typeof n=="function"){e.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof i=="function"&&(a==="formAction"?(t!=="input"&&Me(e,t,"name",r.name,r,null),Me(e,t,"formEncType",r.formEncType,r,null),Me(e,t,"formMethod",r.formMethod,r,null),Me(e,t,"formTarget",r.formTarget,r,null)):(Me(e,t,"encType",r.encType,r,null),Me(e,t,"method",r.method,r,null),Me(e,t,"target",r.target,r,null)));if(n==null||typeof n=="symbol"||typeof n=="boolean"){e.removeAttribute(a);break}n=ou(""+n),e.setAttribute(a,n);break;case"onClick":n!=null&&(e.onclick=En);break;case"onScroll":n!=null&&we("scroll",e);break;case"onScrollEnd":n!=null&&we("scrollend",e);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(Q(61));if(a=n.__html,a!=null){if(r.children!=null)throw Error(Q(60));e.innerHTML=a}}break;case"multiple":e.multiple=n&&typeof n!="function"&&typeof n!="symbol";break;case"muted":e.muted=n&&typeof n!="function"&&typeof n!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(n==null||typeof n=="function"||typeof n=="boolean"||typeof n=="symbol"){e.removeAttribute("xlink:href");break}a=ou(""+n),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":n!=null&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(a,""+n):e.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":n&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":n===!0?e.setAttribute(a,""):n!==!1&&n!=null&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(a,n):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":n!=null&&typeof n!="function"&&typeof n!="symbol"&&!isNaN(n)&&1<=n?e.setAttribute(a,n):e.removeAttribute(a);break;case"rowSpan":case"start":n==null||typeof n=="function"||typeof n=="symbol"||isNaN(n)?e.removeAttribute(a):e.setAttribute(a,n);break;case"popover":we("beforetoggle",e),we("toggle",e),ru(e,"popover",n);break;case"xlinkActuate":wn(e,"http://www.w3.org/1999/xlink","xlink:actuate",n);break;case"xlinkArcrole":wn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",n);break;case"xlinkRole":wn(e,"http://www.w3.org/1999/xlink","xlink:role",n);break;case"xlinkShow":wn(e,"http://www.w3.org/1999/xlink","xlink:show",n);break;case"xlinkTitle":wn(e,"http://www.w3.org/1999/xlink","xlink:title",n);break;case"xlinkType":wn(e,"http://www.w3.org/1999/xlink","xlink:type",n);break;case"xmlBase":wn(e,"http://www.w3.org/XML/1998/namespace","xml:base",n);break;case"xmlLang":wn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",n);break;case"xmlSpace":wn(e,"http://www.w3.org/XML/1998/namespace","xml:space",n);break;case"is":ru(e,"is",n);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=GO.get(a)||a,ru(e,a,n))}}function qm(e,t,a,n,r,i){switch(a){case"style":Ak(e,n,i);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(Q(61));if(a=n.__html,a!=null){if(r.children!=null)throw Error(Q(60));e.innerHTML=a}}break;case"children":typeof n=="string"?Wi(e,n):(typeof n=="number"||typeof n=="bigint")&&Wi(e,""+n);break;case"onScroll":n!=null&&we("scroll",e);break;case"onScrollEnd":n!=null&&we("scrollend",e);break;case"onClick":n!=null&&(e.onclick=En);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!yk.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(r=a.endsWith("Capture"),t=a.slice(2,r?a.length-7:void 0),i=e[Wt]||null,i=i!=null?i[a]:null,typeof i=="function"&&e.removeEventListener(t,i,r),typeof n=="function")){typeof i!="function"&&i!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(t,n,r);break e}a in e?e[a]=n:n===!0?e.setAttribute(a,""):ru(e,a,n)}}}function Ot(e,t,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":we("error",e),we("load",e);var n=!1,r=!1,i;for(i in a)if(a.hasOwnProperty(i)){var s=a[i];if(s!=null)switch(i){case"src":n=!0;break;case"srcSet":r=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(Q(137,t));default:Me(e,t,i,s,a,null)}}r&&Me(e,t,"srcSet",a.srcSet,a,null),n&&Me(e,t,"src",a.src,a,null);return;case"input":we("invalid",e);var o=i=s=r=null,l=null,c=null;for(n in a)if(a.hasOwnProperty(n)){var f=a[n];if(f!=null)switch(n){case"name":r=f;break;case"type":s=f;break;case"checked":l=f;break;case"defaultChecked":c=f;break;case"value":i=f;break;case"defaultValue":o=f;break;case"children":case"dangerouslySetInnerHTML":if(f!=null)throw Error(Q(137,t));break;default:Me(e,t,n,f,a,null)}}Ek(e,i,o,l,c,s,r,!1);return;case"select":we("invalid",e),n=s=i=null;for(r in a)if(a.hasOwnProperty(r)&&(o=a[r],o!=null))switch(r){case"value":i=o;break;case"defaultValue":s=o;break;case"multiple":n=o;default:Me(e,t,r,o,a,null)}t=i,a=s,e.multiple=!!n,t!=null?Ki(e,!!n,t,!1):a!=null&&Ki(e,!!n,a,!0);return;case"textarea":we("invalid",e),i=r=n=null;for(s in a)if(a.hasOwnProperty(s)&&(o=a[s],o!=null))switch(s){case"value":n=o;break;case"defaultValue":r=o;break;case"children":i=o;break;case"dangerouslySetInnerHTML":if(o!=null)throw Error(Q(91));break;default:Me(e,t,s,o,a,null)}vk(e,n,r,i);return;case"option":for(l in a)if(a.hasOwnProperty(l)&&(n=a[l],n!=null))switch(l){case"selected":e.selected=n&&typeof n!="function"&&typeof n!="symbol";break;default:Me(e,t,l,n,a,null)}return;case"dialog":we("beforetoggle",e),we("toggle",e),we("cancel",e),we("close",e);break;case"iframe":case"object":we("load",e);break;case"video":case"audio":for(n=0;n<yl.length;n++)we(yl[n],e);break;case"image":we("error",e),we("load",e);break;case"details":we("toggle",e);break;case"embed":case"source":case"link":we("error",e),we("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in a)if(a.hasOwnProperty(c)&&(n=a[c],n!=null))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(Q(137,t));default:Me(e,t,c,n,a,null)}return;default:if(np(t)){for(f in a)a.hasOwnProperty(f)&&(n=a[f],n!==void 0&&qm(e,t,f,n,a,void 0));return}}for(o in a)a.hasOwnProperty(o)&&(n=a[o],n!=null&&Me(e,t,o,n,a,null))}function w4(e,t,a,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var r=null,i=null,s=null,o=null,l=null,c=null,f=null;for(p in a){var d=a[p];if(a.hasOwnProperty(p)&&d!=null)switch(p){case"checked":break;case"value":break;case"defaultValue":l=d;default:n.hasOwnProperty(p)||Me(e,t,p,null,n,d)}}for(var u in n){var p=n[u];if(d=a[u],n.hasOwnProperty(u)&&(p!=null||d!=null))switch(u){case"type":i=p;break;case"name":r=p;break;case"checked":c=p;break;case"defaultChecked":f=p;break;case"value":s=p;break;case"defaultValue":o=p;break;case"children":case"dangerouslySetInnerHTML":if(p!=null)throw Error(Q(137,t));break;default:p!==d&&Me(e,t,u,p,n,d)}}tp(e,s,o,l,c,f,i,r);return;case"select":p=s=o=u=null;for(i in a)if(l=a[i],a.hasOwnProperty(i)&&l!=null)switch(i){case"value":break;case"multiple":p=l;default:n.hasOwnProperty(i)||Me(e,t,i,null,n,l)}for(r in n)if(i=n[r],l=a[r],n.hasOwnProperty(r)&&(i!=null||l!=null))switch(r){case"value":u=i;break;case"defaultValue":o=i;break;case"multiple":s=i;default:i!==l&&Me(e,t,r,i,n,l)}t=o,a=s,n=p,u!=null?Ki(e,!!a,u,!1):!!n!=!!a&&(t!=null?Ki(e,!!a,t,!0):Ki(e,!!a,a?[]:"",!1));return;case"textarea":p=u=null;for(o in a)if(r=a[o],a.hasOwnProperty(o)&&r!=null&&!n.hasOwnProperty(o))switch(o){case"value":break;case"children":break;default:Me(e,t,o,null,n,r)}for(s in n)if(r=n[s],i=a[s],n.hasOwnProperty(s)&&(r!=null||i!=null))switch(s){case"value":u=r;break;case"defaultValue":p=r;break;case"children":break;case"dangerouslySetInnerHTML":if(r!=null)throw Error(Q(91));break;default:r!==i&&Me(e,t,s,r,n,i)}Tk(e,u,p);return;case"option":for(var _ in a)if(u=a[_],a.hasOwnProperty(_)&&u!=null&&!n.hasOwnProperty(_))switch(_){case"selected":e.selected=!1;break;default:Me(e,t,_,null,n,u)}for(l in n)if(u=n[l],p=a[l],n.hasOwnProperty(l)&&u!==p&&(u!=null||p!=null))switch(l){case"selected":e.selected=u&&typeof u!="function"&&typeof u!="symbol";break;default:Me(e,t,l,u,n,p)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var E in a)u=a[E],a.hasOwnProperty(E)&&u!=null&&!n.hasOwnProperty(E)&&Me(e,t,E,null,n,u);for(c in n)if(u=n[c],p=a[c],n.hasOwnProperty(c)&&u!==p&&(u!=null||p!=null))switch(c){case"children":case"dangerouslySetInnerHTML":if(u!=null)throw Error(Q(137,t));break;default:Me(e,t,c,u,n,p)}return;default:if(np(t)){for(var v in a)u=a[v],a.hasOwnProperty(v)&&u!==void 0&&!n.hasOwnProperty(v)&&qm(e,t,v,void 0,n,u);for(f in n)u=n[f],p=a[f],!n.hasOwnProperty(f)||u===p||u===void 0&&p===void 0||qm(e,t,f,u,n,p);return}}for(var g in a)u=a[g],a.hasOwnProperty(g)&&u!=null&&!n.hasOwnProperty(g)&&Me(e,t,g,null,n,u);for(d in n)u=n[d],p=a[d],!n.hasOwnProperty(d)||u===p||u==null&&p==null||Me(e,t,d,u,n,p)}function CE(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function E4(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,a=performance.getEntriesByType("resource"),n=0;n<a.length;n++){var r=a[n],i=r.transferSize,s=r.initiatorType,o=r.duration;if(i&&o&&CE(s)){for(s=0,o=r.responseEnd,n+=1;n<a.length;n++){var l=a[n],c=l.startTime;if(c>o)break;var f=l.transferSize,d=l.initiatorType;f&&CE(d)&&(l=l.responseEnd,s+=f*(l<o?1:(o-c)/(l-c)))}if(--n,t+=8*(i+s)/(r.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Ym=null,$m=null;function af(e){return e.nodeType===9?e:e.ownerDocument}function xE(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function zE(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function Qm(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Vm=null;function T4(){var e=window.event;return e&&e.type==="popstate"?e===Vm?!1:(Vm=e,!0):(Vm=null,!1)}var NE=typeof setTimeout=="function"?setTimeout:void 0,v4=typeof clearTimeout=="function"?clearTimeout:void 0,OE=typeof Promise=="function"?Promise:void 0,S4=typeof queueMicrotask=="function"?queueMicrotask:typeof OE<"u"?function(e){return OE.resolve(null).then(e).catch(A4)}:NE;function A4(e){setTimeout(function(){throw e})}function kr(e){return e==="head"}function DE(e,t){var a=t,n=0;do{var r=a.nextSibling;if(e.removeChild(a),r&&r.nodeType===8)if(a=r.data,a==="/$"||a==="/&"){if(n===0){e.removeChild(r),xs(t);return}n--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")n++;else if(a==="html")bl(e.ownerDocument.documentElement);else if(a==="head"){a=e.ownerDocument.head,bl(a);for(var i=a.firstChild;i;){var s=i.nextSibling,o=i.nodeName;i[Po]||o==="SCRIPT"||o==="STYLE"||o==="LINK"&&i.rel.toLowerCase()==="stylesheet"||a.removeChild(i),i=s}}else a==="body"&&bl(e.ownerDocument.body);a=r}while(a);xs(t)}function RE(e,t){var a=e;e=0;do{var n=a.nextSibling;if(a.nodeType===1?t?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(t?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),n&&n.nodeType===8)if(a=n.data,a==="/$"){if(e===0)break;e--}else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||e++;a=n}while(a)}function Gm(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":Gm(a),Jh(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function C4(e,t,a,n){for(;e.nodeType===1;){var r=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!n&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(n){if(!e[Po])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(i=e.getAttribute("rel"),i==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(i!==r.rel||e.getAttribute("href")!==(r.href==null||r.href===""?null:r.href)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin)||e.getAttribute("title")!==(r.title==null?null:r.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(i=e.getAttribute("src"),(i!==(r.src==null?null:r.src)||e.getAttribute("type")!==(r.type==null?null:r.type)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin))&&i&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var i=r.name==null?null:""+r.name;if(r.type==="hidden"&&e.getAttribute("name")===i)return e}else return e;if(e=Da(e.nextSibling),e===null)break}return null}function x4(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=Da(e.nextSibling),e===null))return null;return e}function LE(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Da(e.nextSibling),e===null))return null;return e}function Xm(e){return e.data==="$?"||e.data==="$~"}function Km(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function z4(e,t){var a=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||a.readyState!=="loading")t();else{var n=function(){t(),a.removeEventListener("DOMContentLoaded",n)};a.addEventListener("DOMContentLoaded",n),e._reactRetry=n}}function Da(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var Wm=null;function IE(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"||a==="/&"){if(t===0)return Da(e.nextSibling);t--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||t++}e=e.nextSibling}return null}function ME(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"){if(t===0)return e;t--}else a!=="/$"&&a!=="/&"||t++}e=e.previousSibling}return null}function PE(e,t,a){switch(t=af(a),e){case"html":if(e=t.documentElement,!e)throw Error(Q(452));return e;case"head":if(e=t.head,!e)throw Error(Q(453));return e;case"body":if(e=t.body,!e)throw Error(Q(454));return e;default:throw Error(Q(451))}}function bl(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Jh(e)}var Ra=new Map,UE=new Set;function nf(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Un=Ce.d;Ce.d={f:N4,r:O4,D:D4,C:R4,L:L4,m:I4,X:P4,S:M4,M:U4};function N4(){var e=Un.f(),t=Gu();return e||t}function O4(e){var t=Vi(e);t!==null&&t.tag===5&&t.type==="form"?tw(t):Un.r(e)}var Ss=typeof document>"u"?null:document;function BE(e,t,a){var n=Ss;if(n&&typeof t=="string"&&t){var r=Sa(t);r='link[rel="'+e+'"][href="'+r+'"]',typeof a=="string"&&(r+='[crossorigin="'+a+'"]'),UE.has(r)||(UE.add(r),e={rel:e,crossOrigin:a,href:t},n.querySelector(r)===null&&(t=n.createElement("link"),Ot(t,"link",e),_t(t),n.head.appendChild(t)))}}function D4(e){Un.D(e),BE("dns-prefetch",e,null)}function R4(e,t){Un.C(e,t),BE("preconnect",e,t)}function L4(e,t,a){Un.L(e,t,a);var n=Ss;if(n&&e&&t){var r='link[rel="preload"][as="'+Sa(t)+'"]';t==="image"&&a&&a.imageSrcSet?(r+='[imagesrcset="'+Sa(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(r+='[imagesizes="'+Sa(a.imageSizes)+'"]')):r+='[href="'+Sa(e)+'"]';var i=r;switch(t){case"style":i=As(e);break;case"script":i=Cs(e)}Ra.has(i)||(e=Xe({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),Ra.set(i,e),n.querySelector(r)!==null||t==="style"&&n.querySelector(kl(i))||t==="script"&&n.querySelector(wl(i))||(t=n.createElement("link"),Ot(t,"link",e),_t(t),n.head.appendChild(t)))}}function I4(e,t){Un.m(e,t);var a=Ss;if(a&&e){var n=t&&typeof t.as=="string"?t.as:"script",r='link[rel="modulepreload"][as="'+Sa(n)+'"][href="'+Sa(e)+'"]',i=r;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=Cs(e)}if(!Ra.has(i)&&(e=Xe({rel:"modulepreload",href:e},t),Ra.set(i,e),a.querySelector(r)===null)){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(wl(i)))return}n=a.createElement("link"),Ot(n,"link",e),_t(n),a.head.appendChild(n)}}}function M4(e,t,a){Un.S(e,t,a);var n=Ss;if(n&&e){var r=Gi(n).hoistableStyles,i=As(e);t=t||"default";var s=r.get(i);if(!s){var o={loading:0,preload:null};if(s=n.querySelector(kl(i)))o.loading=5;else{e=Xe({rel:"stylesheet",href:e,"data-precedence":t},a),(a=Ra.get(i))&&Zm(e,a);var l=s=n.createElement("link");_t(l),Ot(l,"link",e),l._p=new Promise(function(c,f){l.onload=c,l.onerror=f}),l.addEventListener("load",function(){o.loading|=1}),l.addEventListener("error",function(){o.loading|=2}),o.loading|=4,rf(s,t,n)}s={type:"stylesheet",instance:s,count:1,state:o},r.set(i,s)}}}function P4(e,t){Un.X(e,t);var a=Ss;if(a&&e){var n=Gi(a).hoistableScripts,r=Cs(e),i=n.get(r);i||(i=a.querySelector(wl(r)),i||(e=Xe({src:e,async:!0},t),(t=Ra.get(r))&&Jm(e,t),i=a.createElement("script"),_t(i),Ot(i,"link",e),a.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},n.set(r,i))}}function U4(e,t){Un.M(e,t);var a=Ss;if(a&&e){var n=Gi(a).hoistableScripts,r=Cs(e),i=n.get(r);i||(i=a.querySelector(wl(r)),i||(e=Xe({src:e,async:!0,type:"module"},t),(t=Ra.get(r))&&Jm(e,t),i=a.createElement("script"),_t(i),Ot(i,"link",e),a.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},n.set(r,i))}}function FE(e,t,a,n){var r=(r=er.current)?nf(r):null;if(!r)throw Error(Q(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(t=As(a.href),a=Gi(r).hoistableStyles,n=a.get(t),n||(n={type:"style",instance:null,count:0,state:null},a.set(t,n)),n):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=As(a.href);var i=Gi(r).hoistableStyles,s=i.get(e);if(s||(r=r.ownerDocument||r,s={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},i.set(e,s),(i=r.querySelector(kl(e)))&&!i._p&&(s.instance=i,s.state.loading=5),Ra.has(e)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},Ra.set(e,a),i||B4(r,e,a,s.state))),t&&n===null)throw Error(Q(528,""));return s}if(t&&n!==null)throw Error(Q(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Cs(a),a=Gi(r).hoistableScripts,n=a.get(t),n||(n={type:"script",instance:null,count:0,state:null},a.set(t,n)),n):{type:"void",instance:null,count:0,state:null};default:throw Error(Q(444,e))}}function As(e){return'href="'+Sa(e)+'"'}function kl(e){return'link[rel="stylesheet"]['+e+"]"}function HE(e){return Xe({},e,{"data-precedence":e.precedence,precedence:null})}function B4(e,t,a,n){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?n.loading=1:(t=e.createElement("link"),n.preload=t,t.addEventListener("load",function(){return n.loading|=1}),t.addEventListener("error",function(){return n.loading|=2}),Ot(t,"link",a),_t(t),e.head.appendChild(t))}function Cs(e){return'[src="'+Sa(e)+'"]'}function wl(e){return"script[async]"+e}function jE(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var n=e.querySelector('style[data-href~="'+Sa(a.href)+'"]');if(n)return t.instance=n,_t(n),n;var r=Xe({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return n=(e.ownerDocument||e).createElement("style"),_t(n),Ot(n,"style",r),rf(n,a.precedence,e),t.instance=n;case"stylesheet":r=As(a.href);var i=e.querySelector(kl(r));if(i)return t.state.loading|=4,t.instance=i,_t(i),i;n=HE(a),(r=Ra.get(r))&&Zm(n,r),i=(e.ownerDocument||e).createElement("link"),_t(i);var s=i;return s._p=new Promise(function(o,l){s.onload=o,s.onerror=l}),Ot(i,"link",n),t.state.loading|=4,rf(i,a.precedence,e),t.instance=i;case"script":return i=Cs(a.src),(r=e.querySelector(wl(i)))?(t.instance=r,_t(r),r):(n=a,(r=Ra.get(i))&&(n=Xe({},a),Jm(n,r)),e=e.ownerDocument||e,r=e.createElement("script"),_t(r),Ot(r,"link",n),e.head.appendChild(r),t.instance=r);case"void":return null;default:throw Error(Q(443,t.type))}else t.type==="stylesheet"&&!(t.state.loading&4)&&(n=t.instance,t.state.loading|=4,rf(n,a.precedence,e));return t.instance}function rf(e,t,a){for(var n=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),r=n.length?n[n.length-1]:null,i=r,s=0;s<n.length;s++){var o=n[s];if(o.dataset.precedence===t)i=o;else if(i!==r)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function Zm(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Jm(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var sf=null;function qE(e,t,a){if(sf===null){var n=new Map,r=sf=new Map;r.set(a,n)}else r=sf,n=r.get(a),n||(n=new Map,r.set(a,n));if(n.has(e))return n;for(n.set(e,null),a=a.getElementsByTagName(e),r=0;r<a.length;r++){var i=a[r];if(!(i[Po]||i[Ct]||e==="link"&&i.getAttribute("rel")==="stylesheet")&&i.namespaceURI!=="http://www.w3.org/2000/svg"){var s=i.getAttribute(t)||"";s=e+s;var o=n.get(s);o?o.push(i):n.set(s,[i])}}return n}function YE(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function F4(e,t,a){if(a===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function $E(e){return!(e.type==="stylesheet"&&!(e.state.loading&3))}function H4(e,t,a,n){if(a.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&!(a.state.loading&4)){if(a.instance===null){var r=As(n.href),i=t.querySelector(kl(r));if(i){t=i._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=of.bind(e),t.then(e,e)),a.state.loading|=4,a.instance=i,_t(i);return}i=t.ownerDocument||t,n=HE(n),(r=Ra.get(r))&&Zm(n,r),i=i.createElement("link"),_t(i);var s=i;s._p=new Promise(function(o,l){s.onload=o,s.onerror=l}),Ot(i,"link",n),a.instance=i}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,t),(t=a.state.preload)&&!(a.state.loading&3)&&(e.count++,a=of.bind(e),t.addEventListener("load",a),t.addEventListener("error",a))}}var eg=0;function j4(e,t){return e.stylesheets&&e.count===0&&cf(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var n=setTimeout(function(){if(e.stylesheets&&cf(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},6e4+t);0<e.imgBytes&&eg===0&&(eg=62500*E4());var r=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&cf(e,e.stylesheets),e.unsuspend)){var i=e.unsuspend;e.unsuspend=null,i()}},(e.imgBytes>eg?50:800)+t);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(n),clearTimeout(r)}}:null}function of(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)cf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var lf=null;function cf(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,lf=new Map,t.forEach(q4,e),lf=null,of.call(e))}function q4(e,t){if(!(t.state.loading&4)){var a=lf.get(e);if(a)var n=a.get(null);else{a=new Map,lf.set(e,a);for(var r=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<r.length;i++){var s=r[i];(s.nodeName==="LINK"||s.getAttribute("media")!=="not all")&&(a.set(s.dataset.precedence,s),n=s)}n&&a.set(null,n)}r=t.instance,s=r.getAttribute("data-precedence"),i=a.get(s)||n,i===n&&a.set(null,r),a.set(s,r),this.count++,n=of.bind(this),r.addEventListener("load",n),r.addEventListener("error",n),i?i.parentNode.insertBefore(r,i.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(r,e.firstChild)),t.state.loading|=4}}var El={$$typeof:kn,Provider:null,Consumer:null,_currentValue:$r,_currentValue2:$r,_threadCount:0};function Y4(e,t,a,n,r,i,s,o,l){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Xh(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Xh(0),this.hiddenUpdates=Xh(null),this.identifierPrefix=n,this.onUncaughtError=r,this.onCaughtError=i,this.onRecoverableError=s,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=l,this.incompleteTransitions=new Map}function QE(e,t,a,n,r,i,s,o,l,c,f,d){return e=new Y4(e,t,a,s,l,c,f,d,o),t=1,i===!0&&(t|=24),i=da(3,null,null,t),e.current=i,i.stateNode=e,t=Rp(),t.refCount++,e.pooledCache=t,t.refCount++,i.memoizedState={element:n,isDehydrated:a,cache:t},Pp(i),e}function VE(e){return e?(e=rs,e):rs}function GE(e,t,a,n,r,i){r=VE(r),n.context===null?n.context=r:n.pendingContext=r,n=cr(t),n.payload={element:a},i=i===void 0?null:i,i!==null&&(n.callback=i),a=ur(e,n,t),a!==null&&(na(a,e,t),el(a,e,t))}function XE(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function tg(e,t){XE(e,t),(e=e.alternate)&&XE(e,t)}function KE(e){if(e.tag===13||e.tag===31){var t=Zr(e,67108864);t!==null&&na(t,e,67108864),tg(e,67108864)}}function WE(e){if(e.tag===13||e.tag===31){var t=ya();t=Kh(t);var a=Zr(e,t);a!==null&&na(a,e,t),tg(e,t)}}var uf=!0;function $4(e,t,a,n){var r=oe.T;oe.T=null;var i=Ce.p;try{Ce.p=2,ag(e,t,a,n)}finally{Ce.p=i,oe.T=r}}function Q4(e,t,a,n){var r=oe.T;oe.T=null;var i=Ce.p;try{Ce.p=8,ag(e,t,a,n)}finally{Ce.p=i,oe.T=r}}function ag(e,t,a,n){if(uf){var r=ng(n);if(r===null)jm(e,t,n,ff,a),JE(e,n);else if(G4(r,e,t,a,n))n.stopPropagation();else if(JE(e,n),t&4&&-1<V4.indexOf(e)){for(;r!==null;){var i=Vi(r);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var s=Vr(i.pendingLanes);if(s!==0){var o=i;for(o.pendingLanes|=2,o.entangledLanes|=2;s;){var l=1<<31-ua(s);o.entanglements[1]|=l,s&=~l}on(i),!(xe&6)&&(Qu=la()+500,gl(0))}}break;case 31:case 13:o=Zr(i,2),o!==null&&na(o,i,2),Gu(),tg(i,2)}if(i=ng(n),i===null&&jm(e,t,n,ff,a),i===r)break;r=i}r!==null&&n.stopPropagation()}else jm(e,t,n,null,a)}}function ng(e){return e=ip(e),rg(e)}var ff=null;function rg(e){if(ff=null,e=Qi(e),e!==null){var t=zo(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=Wb(t),e!==null)return e;e=null}else if(a===31){if(e=Zb(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return ff=e,null}function ZE(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(DO()){case sk:return 2;case ok:return 8;case Jc:case RO:return 32;case lk:return 268435456;default:return 32}default:return 32}}var ig=!1,wr=null,Er=null,Tr=null,Tl=new Map,vl=new Map,vr=[],V4="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function JE(e,t){switch(e){case"focusin":case"focusout":wr=null;break;case"dragenter":case"dragleave":Er=null;break;case"mouseover":case"mouseout":Tr=null;break;case"pointerover":case"pointerout":Tl.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":vl.delete(t.pointerId)}}function Sl(e,t,a,n,r,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:a,eventSystemFlags:n,nativeEvent:i,targetContainers:[r]},t!==null&&(t=Vi(t),t!==null&&KE(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,r!==null&&t.indexOf(r)===-1&&t.push(r),e)}function G4(e,t,a,n,r){switch(t){case"focusin":return wr=Sl(wr,e,t,a,n,r),!0;case"dragenter":return Er=Sl(Er,e,t,a,n,r),!0;case"mouseover":return Tr=Sl(Tr,e,t,a,n,r),!0;case"pointerover":var i=r.pointerId;return Tl.set(i,Sl(Tl.get(i)||null,e,t,a,n,r)),!0;case"gotpointercapture":return i=r.pointerId,vl.set(i,Sl(vl.get(i)||null,e,t,a,n,r)),!0}return!1}function eT(e){var t=Qi(e.target);if(t!==null){var a=zo(t);if(a!==null){if(t=a.tag,t===13){if(t=Wb(a),t!==null){e.blockedOn=t,pk(e.priority,function(){WE(a)});return}}else if(t===31){if(t=Zb(a),t!==null){e.blockedOn=t,pk(e.priority,function(){WE(a)});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function df(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=ng(e.nativeEvent);if(a===null){a=e.nativeEvent;var n=new a.constructor(a.type,a);rp=n,a.target.dispatchEvent(n),rp=null}else return t=Vi(a),t!==null&&KE(t),e.blockedOn=a,!1;t.shift()}return!0}function tT(e,t,a){df(e)&&a.delete(t)}function X4(){ig=!1,wr!==null&&df(wr)&&(wr=null),Er!==null&&df(Er)&&(Er=null),Tr!==null&&df(Tr)&&(Tr=null),Tl.forEach(tT),vl.forEach(tT)}function hf(e,t){e.blockedOn===t&&(e.blockedOn=null,ig||(ig=!0,pt.unstable_scheduleCallback(pt.unstable_NormalPriority,X4)))}var pf=null;function aT(e){pf!==e&&(pf=e,pt.unstable_scheduleCallback(pt.unstable_NormalPriority,function(){pf===e&&(pf=null);for(var t=0;t<e.length;t+=3){var a=e[t],n=e[t+1],r=e[t+2];if(typeof n!="function"){if(rg(n||a)===null)continue;break}var i=Vi(a);i!==null&&(e.splice(t,3),t-=3,nm(i,{pending:!0,data:r,method:a.method,action:n},n,r))}}))}function xs(e){function t(l){return hf(l,e)}wr!==null&&hf(wr,e),Er!==null&&hf(Er,e),Tr!==null&&hf(Tr,e),Tl.forEach(t),vl.forEach(t);for(var a=0;a<vr.length;a++){var n=vr[a];n.blockedOn===e&&(n.blockedOn=null)}for(;0<vr.length&&(a=vr[0],a.blockedOn===null);)eT(a),a.blockedOn===null&&vr.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(n=0;n<a.length;n+=3){var r=a[n],i=a[n+1],s=r[Wt]||null;if(typeof i=="function")s||aT(a);else if(s){var o=null;if(i&&i.hasAttribute("formAction")){if(r=i,s=i[Wt]||null)o=s.formAction;else if(rg(r)!==null)continue}else o=s.action;typeof o=="function"?a[n+1]=o:(a.splice(n,3),n-=3),aT(a)}}}function nT(){function e(i){i.canIntercept&&i.info==="react-transition"&&i.intercept({handler:function(){return new Promise(function(s){return r=s})},focusReset:"manual",scroll:"manual"})}function t(){r!==null&&(r(),r=null),n||setTimeout(a,20)}function a(){if(!n&&!navigation.transition){var i=navigation.currentEntry;i&&i.url!=null&&navigation.navigate(i.url,{state:i.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var n=!1,r=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(a,100),function(){n=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),r!==null&&(r(),r=null)}}}function sg(e){this._internalRoot=e}mf.prototype.render=sg.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(Q(409));var a=t.current,n=ya();GE(a,n,e,t,null,null)},mf.prototype.unmount=sg.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;GE(e.current,2,null,e,null,null),Gu(),t[$i]=null}};function mf(e){this._internalRoot=e}mf.prototype.unstable_scheduleHydration=function(e){if(e){var t=hk();e={blockedOn:null,target:e,priority:t};for(var a=0;a<vr.length&&t!==0&&t<vr[a].priority;a++);vr.splice(a,0,e),a===0&&eT(e)}};var rT=Xb.version;if(rT!=="19.2.6")throw Error(Q(527,rT,"19.2.6"));Ce.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(Q(188)):(e=Object.keys(e).join(","),Error(Q(268,e)));return e=SO(t),e=e!==null?ek(e):null,e=e===null?null:e.stateNode,e};var K4={bundleType:0,version:"19.2.6",rendererPackageName:"react-dom",currentDispatcherRef:oe,reconcilerVersion:"19.2.6"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var gf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!gf.isDisabled&&gf.supportsFiber)try{Lo=gf.inject(K4),ca=gf}catch{}}Gc.createRoot=function(e,t){if(!Kb(e))throw Error(Q(299));var a=!1,n="",r=fw,i=dw,s=hw;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onUncaughtError!==void 0&&(r=t.onUncaughtError),t.onCaughtError!==void 0&&(i=t.onCaughtError),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),t=QE(e,1,!1,null,null,a,n,null,r,i,s,nT),e[$i]=t.current,Hm(e),new sg(t)},Gc.hydrateRoot=function(e,t,a){if(!Kb(e))throw Error(Q(299));var n=!1,r="",i=fw,s=dw,o=hw,l=null;return a!=null&&(a.unstable_strictMode===!0&&(n=!0),a.identifierPrefix!==void 0&&(r=a.identifierPrefix),a.onUncaughtError!==void 0&&(i=a.onUncaughtError),a.onCaughtError!==void 0&&(s=a.onCaughtError),a.onRecoverableError!==void 0&&(o=a.onRecoverableError),a.formState!==void 0&&(l=a.formState)),t=QE(e,1,!0,t,a??null,n,r,l,i,s,o,nT),t.context=VE(null),a=t.current,n=ya(),n=Kh(n),r=cr(n),r.callback=null,ur(a,r,n),a=n,t.current.lanes=a,Mo(t,a),on(t),e[$i]=t.current,Hm(e),new mf(t)},Gc.version="19.2.6";function iT(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(iT)}catch(e){console.error(e)}}iT(),Qb.exports=Gc;var W4=Qb.exports;const Z4=It(W4),J4=()=>{const e=document.createElement("style");e.textContent=`
    .sg-tooltip {
      position: absolute;
      max-width: 320px;
      padding: 7px;
      border: 1px solid rgba(255 255 255 / 0);;
      border-radius: 4px;
      background: rgba(0 0 0 / 0.95);
      color: #fff;
      font-size: 12px;
      font-style: normal;
      font-weight: 400;
      line-height: 18px;
      overflow-wrap: break-word;
      z-index: 99999999;
    }

    .sg-tooltip--background-white {
      background-color: var(--tooltip-background-light);
    }

    .sg-tooltip--density-none {
      padding: 0;
    }
  `,document.head.appendChild(e)},eR=(e,t,a)=>{const n=document.createElement("head");{const r=document.createElement("link");r.rel="stylesheet";const i=t.config.plugin_version,s=i?`?ver=${encodeURIComponent(i)}`:"";r.href=`${t.config.assetsPath}css/${a}${s}`,n.appendChild(r),e.prepend(n)}},tR=(e,t,a)=>{const n=document.getElementById(e.domElementId);if(!n)return console.error(`Element with ID "${e.domElementId}" not found`),null;J4();const r=n.attachShadow({mode:"open"});eR(r,e,a);const i=Z4.createRoot(r);return i.render(t(r)),i},zs=({condition:e,children:t})=>e?t:null,sT=A.createContext({parentLoaderVisible:!1}),aR=()=>C.jsx(qe,{name:"animated/sg-logo",size:"120",multicolor:!0}),og=({children:e,isLoadingAPIs:t=[],hideChildrenWhenLoading:a,position:n="absolute",borderRadius:r="default",...i})=>C.jsx(sT.Consumer,{children:({parentLoaderVisible:s})=>{const o=!!t.filter(Boolean).length,l=o||s,c=o&&!s,f=!(a&&c);return C.jsxs(sT.Provider,{value:{parentLoaderVisible:l},children:[C.jsx(zs,{condition:f,children:e}),C.jsx(zs,{condition:c,children:C.jsx(hh,{position:n,borderRadius:r,renderCustomIcon:aR,delay:50,...i})})]})}});var lg={exports:{}},Ns=typeof Reflect=="object"?Reflect:null,oT=Ns&&typeof Ns.apply=="function"?Ns.apply:function(t,a,n){return Function.prototype.apply.call(t,a,n)},yf;Ns&&typeof Ns.ownKeys=="function"?yf=Ns.ownKeys:Object.getOwnPropertySymbols?yf=function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:yf=function(t){return Object.getOwnPropertyNames(t)};function nR(e){console&&console.warn&&console.warn(e)}var lT=Number.isNaN||function(t){return t!==t};function Pe(){Pe.init.call(this)}lg.exports=Pe,lg.exports.once=oR,Pe.EventEmitter=Pe,Pe.prototype._events=void 0,Pe.prototype._eventsCount=0,Pe.prototype._maxListeners=void 0;var cT=10;function _f(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(Pe,"defaultMaxListeners",{enumerable:!0,get:function(){return cT},set:function(e){if(typeof e!="number"||e<0||lT(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");cT=e}}),Pe.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},Pe.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||lT(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this};function uT(e){return e._maxListeners===void 0?Pe.defaultMaxListeners:e._maxListeners}Pe.prototype.getMaxListeners=function(){return uT(this)},Pe.prototype.emit=function(t){for(var a=[],n=1;n<arguments.length;n++)a.push(arguments[n]);var r=t==="error",i=this._events;if(i!==void 0)r=r&&i.error===void 0;else if(!r)return!1;if(r){var s;if(a.length>0&&(s=a[0]),s instanceof Error)throw s;var o=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw o.context=s,o}var l=i[t];if(l===void 0)return!1;if(typeof l=="function")oT(l,this,a);else for(var c=l.length,f=mT(l,c),n=0;n<c;++n)oT(f[n],this,a);return!0};function fT(e,t,a,n){var r,i,s;if(_f(a),i=e._events,i===void 0?(i=e._events=Object.create(null),e._eventsCount=0):(i.newListener!==void 0&&(e.emit("newListener",t,a.listener?a.listener:a),i=e._events),s=i[t]),s===void 0)s=i[t]=a,++e._eventsCount;else if(typeof s=="function"?s=i[t]=n?[a,s]:[s,a]:n?s.unshift(a):s.push(a),r=uT(e),r>0&&s.length>r&&!s.warned){s.warned=!0;var o=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");o.name="MaxListenersExceededWarning",o.emitter=e,o.type=t,o.count=s.length,nR(o)}return e}Pe.prototype.addListener=function(t,a){return fT(this,t,a,!1)},Pe.prototype.on=Pe.prototype.addListener,Pe.prototype.prependListener=function(t,a){return fT(this,t,a,!0)};function rR(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function dT(e,t,a){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:a},r=rR.bind(n);return r.listener=a,n.wrapFn=r,r}Pe.prototype.once=function(t,a){return _f(a),this.on(t,dT(this,t,a)),this},Pe.prototype.prependOnceListener=function(t,a){return _f(a),this.prependListener(t,dT(this,t,a)),this},Pe.prototype.removeListener=function(t,a){var n,r,i,s,o;if(_f(a),r=this._events,r===void 0)return this;if(n=r[t],n===void 0)return this;if(n===a||n.listener===a)--this._eventsCount===0?this._events=Object.create(null):(delete r[t],r.removeListener&&this.emit("removeListener",t,n.listener||a));else if(typeof n!="function"){for(i=-1,s=n.length-1;s>=0;s--)if(n[s]===a||n[s].listener===a){o=n[s].listener,i=s;break}if(i<0)return this;i===0?n.shift():iR(n,i),n.length===1&&(r[t]=n[0]),r.removeListener!==void 0&&this.emit("removeListener",t,o||a)}return this},Pe.prototype.off=Pe.prototype.removeListener,Pe.prototype.removeAllListeners=function(t){var a,n,r;if(n=this._events,n===void 0)return this;if(n.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):n[t]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete n[t]),this;if(arguments.length===0){var i=Object.keys(n),s;for(r=0;r<i.length;++r)s=i[r],s!=="removeListener"&&this.removeAllListeners(s);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(a=n[t],typeof a=="function")this.removeListener(t,a);else if(a!==void 0)for(r=a.length-1;r>=0;r--)this.removeListener(t,a[r]);return this};function hT(e,t,a){var n=e._events;if(n===void 0)return[];var r=n[t];return r===void 0?[]:typeof r=="function"?a?[r.listener||r]:[r]:a?sR(r):mT(r,r.length)}Pe.prototype.listeners=function(t){return hT(this,t,!0)},Pe.prototype.rawListeners=function(t){return hT(this,t,!1)},Pe.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):pT.call(e,t)},Pe.prototype.listenerCount=pT;function pT(e){var t=this._events;if(t!==void 0){var a=t[e];if(typeof a=="function")return 1;if(a!==void 0)return a.length}return 0}Pe.prototype.eventNames=function(){return this._eventsCount>0?yf(this._events):[]};function mT(e,t){for(var a=new Array(t),n=0;n<t;++n)a[n]=e[n];return a}function iR(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function sR(e){for(var t=new Array(e.length),a=0;a<t.length;++a)t[a]=e[a].listener||e[a];return t}function oR(e,t){return new Promise(function(a,n){function r(s){e.removeListener(t,i),n(s)}function i(){typeof e.removeListener=="function"&&e.removeListener("error",r),a([].slice.call(arguments))}gT(e,t,i,{once:!0}),t!=="error"&&lR(e,r,{once:!0})})}function lR(e,t,a){typeof e.on=="function"&&gT(e,"error",t,a)}function gT(e,t,a,n){if(typeof e.on=="function")n.once?e.once(t,a):e.on(t,a);else if(typeof e.addEventListener=="function")e.addEventListener(t,function r(i){n.once&&e.removeEventListener(t,r),a(i)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}var yT=lg.exports;function cR(e){return e.startsWith("{{/")?{type:"componentClose",value:e.replace(/\W/g,"")}:e.endsWith("/}}")?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.startsWith("{{")?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}function uR(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(cR)}function fR(e,t){const a=t[e];let n=0;for(let r=e+1;r<t.length;r++){const i=t[r];if(i.value===a.value){if(i.type==="componentOpen"){n++;continue}if(i.type==="componentClose"){if(n===0)return r;n--}}}throw new Error("Missing closing component token `"+a.value+"`")}function cg(e,t){let a=[],n,r;for(let i=0;i<e.length;i++){const s=e[i];if(s.type==="string"){a.push(s.value);continue}if(t[s.value]===void 0)throw new Error(`Invalid interpolation, missing component node: \`${s.value}\``);if(typeof t[s.value]!="object")throw new Error(`Invalid interpolation, component node must be a ReactElement or null: \`${s.value}\``);if(s.type==="componentClose")throw new Error(`Missing opening component token: \`${s.value}\``);if(s.type==="componentOpen"){n=t[s.value],r=i;break}a.push(t[s.value])}if(n){const i=fR(r,e),s=e.slice(r+1,i),o=cg(s,t),l=A.cloneElement(n,{},o);if(a.push(l),i<e.length-1){const c=e.slice(i+1),f=cg(c,t);a=a.concat(f)}}return a=a.filter(Boolean),a.length===0?null:a.length===1?a[0]:A.createElement(A.Fragment,null,...a)}function dR(e){const{mixedString:t,components:a,throwErrors:n}=e;if(!a)return t;if(typeof a!="object"){if(n)throw new Error(`Interpolation Error: unable to process \`${t}\` because components is not an object`);return t}const r=uR(t);try{return cg(r,a)}catch(i){if(n)throw new Error(`Interpolation Error: unable to process \`${t}\` because of error \`${i.message}\``);return t}}var hR=/%(((\d+)\$)|(\(([$_a-zA-Z][$_a-zA-Z0-9]*)\)))?[ +0#-]*\d*(\.(\d+|\*))?(ll|[lhqL])?([cduxXefgsp%])/g;function pR(e,...t){var a=0;return Array.isArray(t[0])&&(t=t[0]),e.replace(hR,function(){var n,r,i,s,o;return n=arguments[3],r=arguments[5],i=arguments[7],s=arguments[9],s==="%"?"%":(i==="*"&&(i=t[a],a++),r===void 0?(n===void 0&&(n=a+1),a++,o=t[n-1]):t[0]&&typeof t[0]=="object"&&t[0].hasOwnProperty(r)&&(o=t[0][r]),s==="f"?o=parseFloat(o)||0:s==="d"&&(o=parseInt(o)||0),i!==void 0&&(s==="f"?o=o.toFixed(i):s==="s"&&(o=o.substr(0,i))),o??"")})}var ug={exports:{}},fg,_T;function mR(){if(_T)return fg;_T=1;var e=1e3,t=e*60,a=t*60,n=a*24,r=n*7,i=n*365.25;fg=function(f,d){d=d||{};var u=typeof f;if(u==="string"&&f.length>0)return s(f);if(u==="number"&&isFinite(f))return d.long?l(f):o(f);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(f))};function s(f){if(f=String(f),!(f.length>100)){var d=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(f);if(d){var u=parseFloat(d[1]),p=(d[2]||"ms").toLowerCase();switch(p){case"years":case"year":case"yrs":case"yr":case"y":return u*i;case"weeks":case"week":case"w":return u*r;case"days":case"day":case"d":return u*n;case"hours":case"hour":case"hrs":case"hr":case"h":return u*a;case"minutes":case"minute":case"mins":case"min":case"m":return u*t;case"seconds":case"second":case"secs":case"sec":case"s":return u*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return u;default:return}}}}function o(f){var d=Math.abs(f);return d>=n?Math.round(f/n)+"d":d>=a?Math.round(f/a)+"h":d>=t?Math.round(f/t)+"m":d>=e?Math.round(f/e)+"s":f+"ms"}function l(f){var d=Math.abs(f);return d>=n?c(f,d,n,"day"):d>=a?c(f,d,a,"hour"):d>=t?c(f,d,t,"minute"):d>=e?c(f,d,e,"second"):f+" ms"}function c(f,d,u,p){var _=d>=u*1.5;return Math.round(f/u)+" "+p+(_?"s":"")}return fg}function gR(e){a.debug=a,a.default=a,a.coerce=l,a.disable=s,a.enable=r,a.enabled=o,a.humanize=mR(),a.destroy=c,Object.keys(e).forEach(f=>{a[f]=e[f]}),a.names=[],a.skips=[],a.formatters={};function t(f){let d=0;for(let u=0;u<f.length;u++)d=(d<<5)-d+f.charCodeAt(u),d|=0;return a.colors[Math.abs(d)%a.colors.length]}a.selectColor=t;function a(f){let d,u=null,p,_;function E(...v){if(!E.enabled)return;const g=E,k=Number(new Date),y=k-(d||k);g.diff=y,g.prev=d,g.curr=k,d=k,v[0]=a.coerce(v[0]),typeof v[0]!="string"&&v.unshift("%O");let b=0;v[0]=v[0].replace(/%([a-zA-Z%])/g,(h,S)=>{if(h==="%%")return"%";b++;const O=a.formatters[S];if(typeof O=="function"){const x=v[b];h=O.call(g,x),v.splice(b,1),b--}return h}),a.formatArgs.call(g,v),(g.log||a.log).apply(g,v)}return E.namespace=f,E.useColors=a.useColors(),E.color=a.selectColor(f),E.extend=n,E.destroy=a.destroy,Object.defineProperty(E,"enabled",{enumerable:!0,configurable:!1,get:()=>u!==null?u:(p!==a.namespaces&&(p=a.namespaces,_=a.enabled(f)),_),set:v=>{u=v}}),typeof a.init=="function"&&a.init(E),E}function n(f,d){const u=a(this.namespace+(typeof d>"u"?":":d)+f);return u.log=this.log,u}function r(f){a.save(f),a.namespaces=f,a.names=[],a.skips=[];const d=(typeof f=="string"?f:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const u of d)u[0]==="-"?a.skips.push(u.slice(1)):a.names.push(u)}function i(f,d){let u=0,p=0,_=-1,E=0;for(;u<f.length;)if(p<d.length&&(d[p]===f[u]||d[p]==="*"))d[p]==="*"?(_=p,E=u,p++):(u++,p++);else if(_!==-1)p=_+1,E++,u=E;else return!1;for(;p<d.length&&d[p]==="*";)p++;return p===d.length}function s(){const f=[...a.names,...a.skips.map(d=>"-"+d)].join(",");return a.enable(""),f}function o(f){for(const d of a.skips)if(i(f,d))return!1;for(const d of a.names)if(i(f,d))return!0;return!1}function l(f){return f instanceof Error?f.stack||f.message:f}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 a.enable(a.load()),a}var yR=gR;(function(e,t){t.formatArgs=n,t.save=r,t.load=i,t.useColors=a,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 a(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let l;return 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&&(l=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(l[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 c="color: "+this.color;l.splice(1,0,c,"color: inherit");let f=0,d=0;l[0].replace(/%[a-zA-Z%]/g,u=>{u!=="%%"&&(f++,u==="%c"&&(d=f))}),l.splice(d,0,c)}t.log=console.debug||console.log||(()=>{});function r(l){try{l?t.storage.setItem("debug",l):t.storage.removeItem("debug")}catch{}}function i(){let l;try{l=t.storage.getItem("debug")||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=yR(t);const{formatters:o}=e.exports;o.j=function(l){try{return JSON.stringify(l)}catch(c){return"[UnexpectedJSONParseError]: "+c.message}}})(ug,ug.exports);var _R=ug.exports;const bR=It(_R);var Le={},bT=kT;function kT(e,t){if(!e)throw new Error(t||"Assertion failed")}kT.equal=function(t,a,n){if(t!=a)throw new Error(n||"Assertion failed: "+t+" != "+a)};var dg={exports:{}};typeof Object.create=="function"?dg.exports=function(t,a){a&&(t.super_=a,t.prototype=Object.create(a.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:dg.exports=function(t,a){if(a){t.super_=a;var n=function(){};n.prototype=a.prototype,t.prototype=new n,t.prototype.constructor=t}};var wT=dg.exports,kR=bT,wR=wT;Le.inherits=wR;function ER(e,t){return(e.charCodeAt(t)&64512)!==55296||t<0||t+1>=e.length?!1:(e.charCodeAt(t+1)&64512)===56320}function TR(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var a=[];if(typeof e=="string")if(t){if(t==="hex")for(e=e.replace(/[^a-z0-9]+/ig,""),e.length%2!==0&&(e="0"+e),r=0;r<e.length;r+=2)a.push(parseInt(e[r]+e[r+1],16))}else for(var n=0,r=0;r<e.length;r++){var i=e.charCodeAt(r);i<128?a[n++]=i:i<2048?(a[n++]=i>>6|192,a[n++]=i&63|128):ER(e,r)?(i=65536+((i&1023)<<10)+(e.charCodeAt(++r)&1023),a[n++]=i>>18|240,a[n++]=i>>12&63|128,a[n++]=i>>6&63|128,a[n++]=i&63|128):(a[n++]=i>>12|224,a[n++]=i>>6&63|128,a[n++]=i&63|128)}else for(r=0;r<e.length;r++)a[r]=e[r]|0;return a}Le.toArray=TR;function vR(e){for(var t="",a=0;a<e.length;a++)t+=TT(e[a].toString(16));return t}Le.toHex=vR;function ET(e){var t=e>>>24|e>>>8&65280|e<<8&16711680|(e&255)<<24;return t>>>0}Le.htonl=ET;function SR(e,t){for(var a="",n=0;n<e.length;n++){var r=e[n];t==="little"&&(r=ET(r)),a+=vT(r.toString(16))}return a}Le.toHex32=SR;function TT(e){return e.length===1?"0"+e:e}Le.zero2=TT;function vT(e){return e.length===7?"0"+e:e.length===6?"00"+e:e.length===5?"000"+e:e.length===4?"0000"+e:e.length===3?"00000"+e:e.length===2?"000000"+e:e.length===1?"0000000"+e:e}Le.zero8=vT;function AR(e,t,a,n){var r=a-t;kR(r%4===0);for(var i=new Array(r/4),s=0,o=t;s<i.length;s++,o+=4){var l;n==="big"?l=e[o]<<24|e[o+1]<<16|e[o+2]<<8|e[o+3]:l=e[o+3]<<24|e[o+2]<<16|e[o+1]<<8|e[o],i[s]=l>>>0}return i}Le.join32=AR;function CR(e,t){for(var a=new Array(e.length*4),n=0,r=0;n<e.length;n++,r+=4){var i=e[n];t==="big"?(a[r]=i>>>24,a[r+1]=i>>>16&255,a[r+2]=i>>>8&255,a[r+3]=i&255):(a[r+3]=i>>>24,a[r+2]=i>>>16&255,a[r+1]=i>>>8&255,a[r]=i&255)}return a}Le.split32=CR;function xR(e,t){return e>>>t|e<<32-t}Le.rotr32=xR;function zR(e,t){return e<<t|e>>>32-t}Le.rotl32=zR;function NR(e,t){return e+t>>>0}Le.sum32=NR;function OR(e,t,a){return e+t+a>>>0}Le.sum32_3=OR;function DR(e,t,a,n){return e+t+a+n>>>0}Le.sum32_4=DR;function RR(e,t,a,n,r){return e+t+a+n+r>>>0}Le.sum32_5=RR;function LR(e,t,a,n){var r=e[t],i=e[t+1],s=n+i>>>0,o=(s<n?1:0)+a+r;e[t]=o>>>0,e[t+1]=s}Le.sum64=LR;function IR(e,t,a,n){var r=t+n>>>0,i=(r<t?1:0)+e+a;return i>>>0}Le.sum64_hi=IR;function MR(e,t,a,n){var r=t+n;return r>>>0}Le.sum64_lo=MR;function PR(e,t,a,n,r,i,s,o){var l=0,c=t;c=c+n>>>0,l+=c<t?1:0,c=c+i>>>0,l+=c<i?1:0,c=c+o>>>0,l+=c<o?1:0;var f=e+a+r+s+l;return f>>>0}Le.sum64_4_hi=PR;function UR(e,t,a,n,r,i,s,o){var l=t+n+i+o;return l>>>0}Le.sum64_4_lo=UR;function BR(e,t,a,n,r,i,s,o,l,c){var f=0,d=t;d=d+n>>>0,f+=d<t?1:0,d=d+i>>>0,f+=d<i?1:0,d=d+o>>>0,f+=d<o?1:0,d=d+c>>>0,f+=d<c?1:0;var u=e+a+r+s+l+f;return u>>>0}Le.sum64_5_hi=BR;function FR(e,t,a,n,r,i,s,o,l,c){var f=t+n+i+o+c;return f>>>0}Le.sum64_5_lo=FR;function HR(e,t,a){var n=t<<32-a|e>>>a;return n>>>0}Le.rotr64_hi=HR;function jR(e,t,a){var n=e<<32-a|t>>>a;return n>>>0}Le.rotr64_lo=jR;function qR(e,t,a){return e>>>a}Le.shr64_hi=qR;function YR(e,t,a){var n=e<<32-a|t>>>a;return n>>>0}Le.shr64_lo=YR;var ST={},AT=Le,$R=bT;function bf(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}ST.BlockHash=bf,bf.prototype.update=function(t,a){if(t=AT.toArray(t,a),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){t=this.pending;var n=t.length%this._delta8;this.pending=t.slice(t.length-n,t.length),this.pending.length===0&&(this.pending=null),t=AT.join32(t,0,t.length-n,this.endian);for(var r=0;r<t.length;r+=this._delta32)this._update(t,r,r+this._delta32)}return this},bf.prototype.digest=function(t){return this.update(this._pad()),$R(this.pending===null),this._digest(t)},bf.prototype._pad=function(){var t=this.pendingTotal,a=this._delta8,n=a-(t+this.padLength)%a,r=new Array(n+this.padLength);r[0]=128;for(var i=1;i<n;i++)r[i]=0;if(t<<=3,this.endian==="big"){for(var s=8;s<this.padLength;s++)r[i++]=0;r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=t>>>24&255,r[i++]=t>>>16&255,r[i++]=t>>>8&255,r[i++]=t&255}else for(r[i++]=t&255,r[i++]=t>>>8&255,r[i++]=t>>>16&255,r[i++]=t>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,s=8;s<this.padLength;s++)r[i++]=0;return r};var Bn={},QR=Le,ln=QR.rotr32;function VR(e,t,a,n){if(e===0)return CT(t,a,n);if(e===1||e===3)return zT(t,a,n);if(e===2)return xT(t,a,n)}Bn.ft_1=VR;function CT(e,t,a){return e&t^~e&a}Bn.ch32=CT;function xT(e,t,a){return e&t^e&a^t&a}Bn.maj32=xT;function zT(e,t,a){return e^t^a}Bn.p32=zT;function GR(e){return ln(e,2)^ln(e,13)^ln(e,22)}Bn.s0_256=GR;function XR(e){return ln(e,6)^ln(e,11)^ln(e,25)}Bn.s1_256=XR;function KR(e){return ln(e,7)^ln(e,18)^e>>>3}Bn.g0_256=KR;function WR(e){return ln(e,17)^ln(e,19)^e>>>10}Bn.g1_256=WR;var Os=Le,ZR=ST,JR=Bn,hg=Os.rotl32,Al=Os.sum32,e5=Os.sum32_5,t5=JR.ft_1,NT=ZR.BlockHash,a5=[1518500249,1859775393,2400959708,3395469782];function cn(){if(!(this instanceof cn))return new cn;NT.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}Os.inherits(cn,NT);var n5=cn;cn.blockSize=512,cn.outSize=160,cn.hmacStrength=80,cn.padLength=64,cn.prototype._update=function(t,a){for(var n=this.W,r=0;r<16;r++)n[r]=t[a+r];for(;r<n.length;r++)n[r]=hg(n[r-3]^n[r-8]^n[r-14]^n[r-16],1);var i=this.h[0],s=this.h[1],o=this.h[2],l=this.h[3],c=this.h[4];for(r=0;r<n.length;r++){var f=~~(r/20),d=e5(hg(i,5),t5(f,s,o,l),c,n[r],a5[f]);c=l,l=o,o=hg(s,30),s=i,i=d}this.h[0]=Al(this.h[0],i),this.h[1]=Al(this.h[1],s),this.h[2]=Al(this.h[2],o),this.h[3]=Al(this.h[3],l),this.h[4]=Al(this.h[4],c)},cn.prototype._digest=function(t){return t==="hex"?Os.toHex32(this.h,"big"):Os.split32(this.h,"big")};const r5=It(n5);var OT=yT,i5=wT,s5=_a;function _a(e){if(!(this instanceof _a))return new _a(e);typeof e=="number"&&(e={max:e}),e||(e={}),OT.EventEmitter.call(this),this.cache={},this.head=this.tail=null,this.length=0,this.max=e.max||1e3,this.maxAge=e.maxAge||0}i5(_a,OT.EventEmitter),Object.defineProperty(_a.prototype,"keys",{get:function(){return Object.keys(this.cache)}}),_a.prototype.clear=function(){this.cache={},this.head=this.tail=null,this.length=0},_a.prototype.remove=function(e){if(typeof e!="string"&&(e=""+e),!!this.cache.hasOwnProperty(e)){var t=this.cache[e];return delete this.cache[e],this._unlink(e,t.prev,t.next),t.value}},_a.prototype._unlink=function(e,t,a){this.length--,this.length===0?this.head=this.tail=null:this.head===e?(this.head=t,this.cache[this.head].next=null):this.tail===e?(this.tail=a,this.cache[this.tail].prev=null):(this.cache[t].next=a,this.cache[a].prev=t)},_a.prototype.peek=function(e){if(this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return t.value}},_a.prototype.set=function(e,t){typeof e!="string"&&(e=""+e);var a;if(this.cache.hasOwnProperty(e)){if(a=this.cache[e],a.value=t,this.maxAge&&(a.modified=Date.now()),e===this.head)return t;this._unlink(e,a.prev,a.next)}else a={value:t,modified:0,next:null,prev:null},this.maxAge&&(a.modified=Date.now()),this.cache[e]=a,this.length===this.max&&this.evict();return this.length++,a.next=null,a.prev=this.head,this.head&&(this.cache[this.head].next=e),this.head=e,this.tail||(this.tail=e),t},_a.prototype._checkAge=function(e,t){return this.maxAge&&Date.now()-t.modified>this.maxAge?(this.remove(e),this.emit("evict",{key:e,value:t.value}),!1):!0},_a.prototype.get=function(e){if(typeof e!="string"&&(e=""+e),!!this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return this.head!==e&&(e===this.tail?(this.tail=t.next,this.cache[this.tail].prev=null):this.cache[t.prev].next=t.next,this.cache[t.next].prev=t.prev,this.cache[this.head].next=e,t.prev=this.head,t.next=null,this.head=e),t.value}},_a.prototype.evict=function(){if(this.tail){var e=this.tail,t=this.remove(this.tail);this.emit("evict",{key:e,value:t})}};const o5=It(s5);var pg,DT,Cl,RT;pg={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},DT=["(","?"],Cl={")":["("],":":["?","?:"]},RT=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;function l5(e){for(var t=[],a=[],n,r,i,s;n=e.match(RT);){for(r=n[0],i=e.substr(0,n.index).trim(),i&&t.push(i);s=a.pop();){if(Cl[r]){if(Cl[r][0]===s){r=Cl[r][1]||r;break}}else if(DT.indexOf(s)>=0||pg[s]<pg[r]){a.push(s);break}t.push(s)}Cl[r]||a.push(r),e=e.substr(n.index+r.length)}return e=e.trim(),e&&t.push(e),t.concat(a.reverse())}var c5={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,a){if(e)throw t;return a}};function u5(e,t){var a=[],n,r,i,s,o,l;for(n=0;n<e.length;n++){if(o=e[n],s=c5[o],s){for(r=s.length,i=Array(r);r--;)i[r]=a.pop();try{l=s.apply(null,i)}catch(c){return c}}else t.hasOwnProperty(o)?l=t[o]:l=+o;a.push(l)}return a[0]}function f5(e){var t=l5(e);return function(a){return u5(t,a)}}function d5(e){var t=f5(e);return function(a){return+t({n:a})}}var LT={contextDelimiter:"",onMissingKey:null};function h5(e){var t,a,n;for(t=e.split(";"),a=0;a<t.length;a++)if(n=t[a].trim(),n.indexOf("plural=")===0)return n.substr(7)}function mg(e,t){var a;this.data=e,this.pluralForms={},this.options={};for(a in LT)this.options[a]=t!==void 0&&a in t?t[a]:LT[a]}mg.prototype.getPluralForm=function(e,t){var a=this.pluralForms[e],n,r,i;return a||(n=this.data[e][""],i=n["Plural-Forms"]||n["plural-forms"]||n.plural_forms,typeof i!="function"&&(r=h5(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),i=d5(r)),a=this.pluralForms[e]=i),a(t)},mg.prototype.dcnpgettext=function(e,t,a,n,r){var i,s,o;return r===void 0?i=0:i=this.getPluralForm(e,r),s=a,t&&(s=t+this.options.contextDelimiter+a),o=this.data[e][s],o&&o[i]?o[i]:(this.options.onMissingKey&&this.options.onMissingKey(a,e),i===0?a:n)};const IT=new Map;function gg({locale:e,fallbackLocale:t="en",options:a,retries:n=1}){const r=JSON.stringify([e,a]);try{return IT.get(r)??IT.set(r,new Intl.NumberFormat(e,a)).get(r)}catch(i){if(console.warn(`Intl.NumberFormat was called with a non-existent locale "${e}"; falling back to ${t}`),n)return gg({locale:t,options:a,retries:n-1});throw i}}const MT="USD",p5={AED:{symbol:"د.إ.‏"},AFN:{symbol:"؋"},ALL:{symbol:"Lek"},AMD:{symbol:"֏"},ANG:{symbol:"ƒ"},AOA:{symbol:"Kz"},ARS:{symbol:"$"},AUD:{symbol:"A$"},AWG:{symbol:"ƒ"},AZN:{symbol:"₼"},BAM:{symbol:"КМ"},BBD:{symbol:"Bds$"},BDT:{symbol:"৳"},BGN:{symbol:"лв."},BHD:{symbol:"د.ب.‏"},BIF:{symbol:"FBu"},BMD:{symbol:"$"},BND:{symbol:"$"},BOB:{symbol:"Bs"},BRL:{symbol:"R$"},BSD:{symbol:"$"},BTC:{symbol:"Ƀ"},BTN:{symbol:"Nu."},BWP:{symbol:"P"},BYR:{symbol:"р."},BZD:{symbol:"BZ$"},CAD:{symbol:"C$"},CDF:{symbol:"FC"},CHF:{symbol:"CHF"},CLP:{symbol:"$"},CNY:{symbol:"¥"},COP:{symbol:"$"},CRC:{symbol:"₡"},CUC:{symbol:"CUC"},CUP:{symbol:"$MN"},CVE:{symbol:"$"},CZK:{symbol:"Kč"},DJF:{symbol:"Fdj"},DKK:{symbol:"kr."},DOP:{symbol:"RD$"},DZD:{symbol:"د.ج.‏"},EGP:{symbol:"ج.م.‏"},ERN:{symbol:"Nfk"},ETB:{symbol:"ETB"},EUR:{symbol:"€"},FJD:{symbol:"FJ$"},FKP:{symbol:"£"},GBP:{symbol:"£"},GEL:{symbol:"Lari"},GHS:{symbol:"₵"},GIP:{symbol:"£"},GMD:{symbol:"D"},GNF:{symbol:"FG"},GTQ:{symbol:"Q"},GYD:{symbol:"G$"},HKD:{symbol:"HK$"},HNL:{symbol:"L."},HRK:{symbol:"kn"},HTG:{symbol:"G"},HUF:{symbol:"Ft"},IDR:{symbol:"Rp"},ILS:{symbol:"₪"},INR:{symbol:"₹"},IQD:{symbol:"د.ع.‏"},IRR:{symbol:"﷼"},ISK:{symbol:"kr."},JMD:{symbol:"J$"},JOD:{symbol:"د.ا.‏"},JPY:{symbol:"¥"},KES:{symbol:"S"},KGS:{symbol:"сом"},KHR:{symbol:"៛"},KMF:{symbol:"CF"},KPW:{symbol:"₩"},KRW:{symbol:"₩"},KWD:{symbol:"د.ك.‏"},KYD:{symbol:"$"},KZT:{symbol:"₸"},LAK:{symbol:"₭"},LBP:{symbol:"ل.ل.‏"},LKR:{symbol:"₨"},LRD:{symbol:"L$"},LSL:{symbol:"M"},LYD:{symbol:"د.ل.‏"},MAD:{symbol:"د.م.‏"},MDL:{symbol:"lei"},MGA:{symbol:"Ar"},MKD:{symbol:"ден."},MMK:{symbol:"K"},MNT:{symbol:"₮"},MOP:{symbol:"MOP$"},MRO:{symbol:"UM"},MTL:{symbol:"₤"},MUR:{symbol:"₨"},MVR:{symbol:"MVR"},MWK:{symbol:"MK"},MXN:{symbol:"MX$"},MYR:{symbol:"RM"},MZN:{symbol:"MT"},NAD:{symbol:"N$"},NGN:{symbol:"₦"},NIO:{symbol:"C$"},NOK:{symbol:"kr"},NPR:{symbol:"₨"},NZD:{symbol:"NZ$"},OMR:{symbol:"﷼"},PAB:{symbol:"B/."},PEN:{symbol:"S/."},PGK:{symbol:"K"},PHP:{symbol:"₱"},PKR:{symbol:"₨"},PLN:{symbol:"zł"},PYG:{symbol:"₲"},QAR:{symbol:"﷼"},RON:{symbol:"lei"},RSD:{symbol:"Дин."},RUB:{symbol:"₽"},RWF:{symbol:"RWF"},SAR:{symbol:"﷼"},SBD:{symbol:"S$"},SCR:{symbol:"₨"},SDD:{symbol:"LSd"},SDG:{symbol:"£‏"},SEK:{symbol:"kr"},SGD:{symbol:"S$"},SHP:{symbol:"£"},SLL:{symbol:"Le"},SOS:{symbol:"S"},SRD:{symbol:"$"},STD:{symbol:"Db"},SVC:{symbol:"₡"},SYP:{symbol:"£"},SZL:{symbol:"E"},THB:{symbol:"฿"},TJS:{symbol:"TJS"},TMT:{symbol:"m"},TND:{symbol:"د.ت.‏"},TOP:{symbol:"T$"},TRY:{symbol:"TL"},TTD:{symbol:"TT$"},TVD:{symbol:"$T"},TWD:{symbol:"NT$"},TZS:{symbol:"TSh"},UAH:{symbol:"₴"},UGX:{symbol:"USh"},USD:{},UYU:{symbol:"$U"},UZS:{symbol:"сўм"},VEB:{symbol:"Bs."},VEF:{symbol:"Bs. F."},VND:{symbol:"₫"},VUV:{symbol:"VT"},WST:{symbol:"WS$"},XAF:{symbol:"F"},XCD:{symbol:"$"},XOF:{symbol:"F"},XPF:{symbol:"F"},YER:{symbol:"﷼"},ZAR:{symbol:"R"},ZMW:{symbol:"ZK"},WON:{symbol:"₩"}};function yg(e,t){return e==="USD"&&t&&t!==""&&t!=="US"?{symbol:"US$"}:p5[e]}function PT(e,t){return yg(e,t)?e:(console.warn(`getValidCurrency was called with a non-existent currency "${e}"; falling back to ${MT}`),MT)}function _g({number:e,currency:t,browserSafeLocale:a,forceLatin:n=!0,stripZeros:r,signForPositive:i}){const s=`${a}${n?"-u-nu-latn":""}`,o={style:"currency",currency:t,...r&&Number.isInteger(e)&&{maximumFractionDigits:0,minimumFractionDigits:0},...i&&{signDisplay:"exceptZero"}};return gg({locale:s,options:o})}function UT(e,t,a){return _g({number:0,currency:t,browserSafeLocale:e,forceLatin:a}).resolvedOptions().maximumFractionDigits}function BT(e,t){const a=Math.pow(10,t);return Math.round(e*a)/a}function FT(e,t,a){if(isNaN(e))return console.warn("formatCurrency was called with NaN"),0;if(a){Number.isInteger(e)||console.warn("formatCurrency was called with isSmallestUnit and a float which will be rounded",e);const n=10**t;return BT(Math.round(e)/n,t)}return BT(e,t)}const m5=({number:e,browserSafeLocale:t,currency:a,stripZeros:n,isSmallestUnit:r,signForPositive:i,geoLocation:s,forceLatin:o})=>{const l=PT(a,s),c=yg(l,s),f=UT(t,l,o);if(r&&typeof f>"u")throw new Error(`Could not determine currency precision for ${l} in ${t}`);const d=FT(e,f??0,r);return _g({number:d,currency:l,browserSafeLocale:t,forceLatin:o,stripZeros:n,signForPositive:i}).formatToParts(d).reduce((_,E)=>{switch(E.type){case"currency":return c!=null&&c.symbol?_+c.symbol:_+E.value;default:return _+E.value}},"")},g5=({number:e,browserSafeLocale:t,currency:a,stripZeros:n,isSmallestUnit:r,signForPositive:i,geoLocation:s,forceLatin:o})=>{const l=PT(a,s),c=yg(l,s),f=UT(t,l,o),d=FT(e,f??0,r),p=_g({number:d,currency:l,browserSafeLocale:t,forceLatin:o,stripZeros:n,signForPositive:i}).formatToParts(d);let _="",E="$",v="before",g=!1,k=!1,y="",b="";p.forEach(h=>{switch(h.type){case"currency":E=(c==null?void 0:c.symbol)??h.value,g&&(v="after");return;case"group":y+=h.value,g=!0;return;case"decimal":b+=h.value,g=!0,k=!0;return;case"integer":y+=h.value,g=!0;return;case"fraction":b+=h.value,g=!0,k=!0;return;case"minusSign":_="-";return;case"plusSign":_="+";return}});const w=!Number.isInteger(d)&&k;return{sign:_,symbol:E,symbolPosition:v,integer:y,fraction:b,hasNonZeroFraction:w}},HT=({number:e,browserSafeLocale:t,decimals:a=0,forceLatin:n=!0,numberFormatOptions:r={}})=>{var o;const i=`${t}${n?"-u-nu-latn":""}`,s={minimumFractionDigits:a,maximumFractionDigits:a,...r};try{return(o=gg({locale:i,options:s}))==null?void 0:o.format(e)}catch{return String(e)}},y5=({numberFormatOptions:e={},...t})=>HT({...t,numberFormatOptions:{notation:"compact",maximumFractionDigits:1,...e}}),_5="https://public-api.wordpress.com/geo/",b5=bR("i18n-calypso"),jT="messages",xl=[function(e){return e}],kf={};function Sr(){Be.throwErrors&&typeof window<"u"&&window.console&&window.console.warn&&window.console.warn.apply(window.console,arguments)}function qT(e){return Array.prototype.slice.call(e)}function YT(e){const t=e[0];(typeof t!="string"||e.length>3||e.length>2&&typeof e[1]=="object"&&typeof e[2]=="object")&&Sr("Deprecated Invocation: `translate()` accepts ( string, [string], [object] ). These arguments passed:",qT(e),". See https://github.com/Automattic/i18n-calypso#translate-method"),e.length===2&&typeof t=="string"&&typeof e[1]=="string"&&Sr("Invalid Invocation: `translate()` requires an options object for plural translations, but passed:",qT(e));let a={};for(let n=0;n<e.length;n++)typeof e[n]=="object"&&(a=e[n]);if(typeof t=="string"?a.original=t:typeof a.original=="object"&&(a.plural=a.original.plural,a.count=a.original.count,a.original=a.original.single),typeof e[1]=="string"&&(a.plural=e[1]),typeof a.original>"u")throw new Error("Translate called without a `string` value as first argument.");return a}function $T(e,t){return e.dcnpgettext(jT,t.context,t.original,t.plural,t.count)}function QT(e,t){for(let a=xl.length-1;a>=0;a--){const n=xl[a](Object.assign({},t)),r=n.context?n.context+""+n.original:n.original;if(e.state.locale[r])return $T(e.state.tannin,n)}return null}function Be(){if(!(this instanceof Be))return new Be;this.defaultLocaleSlug="en",this.geoLocation="",this.defaultPluralForms=e=>e===1?0:1,this.state={tannin:void 0,locale:void 0,localeSlug:void 0,localeVariant:void 0,textDirection:void 0,translations:o5({max:100})},this.componentUpdateHooks=[],this.translateHooks=[],this.stateObserver=new yT.EventEmitter,this.stateObserver.setMaxListeners(0),this.configure()}Be.throwErrors=!1,Be.prototype.geolocateCurrencySymbol=async function(){var t;const e=await((t=globalThis.fetch)==null?void 0:t.call(globalThis,_5).then(a=>a.json()).catch(a=>{Sr("Fetching geolocation for format-currency failed.",a)}));this.geoLocation=typeof(e==null?void 0:e.country_short)=="string"?e.country_short:""},Be.prototype.on=function(...e){this.stateObserver.on(...e)},Be.prototype.off=function(...e){this.stateObserver.off(...e)},Be.prototype.emit=function(...e){this.stateObserver.emit(...e)},Be.prototype.numberFormat=function(e,{decimals:t=0,forceLatin:a=!0,numberFormatOptions:n={}}={}){const r=this.getBrowserSafeLocale();return typeof e>"u"||e===null?(Sr("numberFormat() requires a defined and non-null value as the first argument"),e):HT({number:e,browserSafeLocale:r,decimals:t,forceLatin:a,numberFormatOptions:n})},Be.prototype.numberFormatCompact=function(e,{decimals:t=0,forceLatin:a=!0,numberFormatOptions:n={}}={}){const r=this.getBrowserSafeLocale();return typeof e>"u"||e===null?(Sr("numberFormat() requires a defined and non-null value as the first argument"),e):y5({number:e,browserSafeLocale:r,decimals:t,forceLatin:a,numberFormatOptions:n})},Be.prototype.formatCurrency=function(e,t,{stripZeros:a=!1,isSmallestUnit:n=!1,signForPositive:r=!1,forceLatin:i=!0}={}){const s=this.getBrowserSafeLocale(),o=this.geoLocation;return typeof e>"u"||e===null?(Sr("numberFormatCurrency() requires a defined and non-null value as the first argument"),e):m5({number:e,currency:t,browserSafeLocale:s,stripZeros:a,isSmallestUnit:n,signForPositive:r,geoLocation:o,forceLatin:i})},Be.prototype.getCurrencyObject=function(e,t,{stripZeros:a=!1,isSmallestUnit:n=!1,signForPositive:r=!1,forceLatin:i=!0}={}){const s=this.getBrowserSafeLocale(),o=this.geoLocation;return typeof e>"u"||e===null?(Sr("getCurrencyObject() requires a defined and non-null value as the first argument"),e):g5({number:e,currency:t,browserSafeLocale:s,stripZeros:a,isSmallestUnit:n,signForPositive:r,geoLocation:o,forceLatin:i})},Be.prototype.getBrowserSafeLocale=function(){var e;return((e=this.getLocaleVariant())==null?void 0:e.split("_")[0])??this.getLocaleSlug()},Be.prototype.configure=function(e){Object.assign(this,e||{}),this.setLocale()},Be.prototype.setLocale=function(e){var t,a,n;if(e&&e[""]&&e[""]["key-hash"]){const r=e[""]["key-hash"],i=function(o,l){const c=l===!1?"":String(l);if(typeof kf[c+o]<"u")return kf[c+o];const f=r5().update(o).digest("hex");return l?kf[c+o]=f.substr(0,l):kf[c+o]=f},s=function(o){return function(l){return l.context?(l.original=i(l.context+""+l.original,o),delete l.context):l.original=i(l.original,o),l}};if(r.substr(0,4)==="sha1")if(r.length===4)xl.push(s(!1));else{const o=r.substr(5).indexOf("-");if(o<0){const l=Number(r.substr(5));xl.push(s(l))}else{const l=Number(r.substr(5,o)),c=Number(r.substr(6+o));for(let f=l;f<=c;f++)xl.push(s(f))}}}if(!e||!e[""].localeSlug)this.state.locale={"":{localeSlug:this.defaultLocaleSlug,plural_forms:this.defaultPluralForms}};else if(e[""].localeSlug===this.state.localeSlug){if(e===this.state.locale)return;Object.assign(this.state.locale,e)}else this.state.locale=Object.assign({},e);this.state.localeSlug=this.state.locale[""].localeSlug,this.state.localeVariant=this.state.locale[""].localeVariant,this.state.textDirection=((t=this.state.locale["text directionltr"])==null?void 0:t[0])||((n=(a=this.state.locale[""])==null?void 0:a.momentjs_locale)==null?void 0:n.textDirection),this.state.tannin=new mg({[jT]:this.state.locale}),this.stateObserver.emit("change")},Be.prototype.getLocale=function(){return this.state.locale},Be.prototype.getLocaleSlug=function(){return this.state.localeSlug},Be.prototype.getLocaleVariant=function(){return this.state.localeVariant},Be.prototype.isRtl=function(){return this.state.textDirection==="rtl"},Be.prototype.addTranslations=function(e){for(const t in e)t!==""&&(this.state.tannin.data.messages[t]=e[t]);this.stateObserver.emit("change")},Be.prototype.hasTranslation=function(){return!!QT(this,YT(arguments))},Be.prototype.fixMe=function({text:e,newCopy:t,oldCopy:a}){return typeof e!="string"?(Sr("fixMe() requires an object with a proper text property (string)"),null):["en","en-gb"].includes(this.getLocaleSlug())||this.hasTranslation(e)?t:a},Be.prototype.translate=function(){const e=YT(arguments);let t=QT(this,e);if(t||(t=$T(this.state.tannin,e)),e.args){const a=Array.isArray(e.args)?e.args.slice(0):[e.args];a.unshift(t);try{t=pR(...a)}catch(n){if(!window||!window.console)return;const r=this.throwErrors?"error":"warn";typeof n!="string"?window.console[r](n):window.console[r]("i18n sprintf error:",a)}}return e.components&&(t=dR({mixedString:t,components:e.components,throwErrors:this.throwErrors})),this.translateHooks.forEach(function(a){t=a(t,e)}),t},Be.prototype.reRenderTranslations=function(){b5("Re-rendering all translations due to external request"),this.stateObserver.emit("change")},Be.prototype.registerComponentUpdateHook=function(e){this.componentUpdateHooks.push(e)},Be.prototype.registerTranslateHook=function(e){this.translateHooks.push(e)};const ce=new Be;ce.numberFormat.bind(ce),ce.numberFormatCompact.bind(ce),ce.formatCurrency.bind(ce),ce.getCurrencyObject.bind(ce),ce.geolocateCurrencySymbol.bind(ce);const ee=ce.translate.bind(ce);ce.configure.bind(ce),ce.setLocale.bind(ce),ce.getLocale.bind(ce),ce.getLocaleSlug.bind(ce),ce.getLocaleVariant.bind(ce),ce.getBrowserSafeLocale.bind(ce),ce.isRtl.bind(ce),ce.addTranslations.bind(ce),ce.reRenderTranslations.bind(ce),ce.registerComponentUpdateHook.bind(ce),ce.registerTranslateHook.bind(ce),ce.state,ce.stateObserver,ce.on.bind(ce),ce.off.bind(ce),ce.emit.bind(ce),ce.fixMe.bind(ce);const k5=({id:e,icon:t,state:a,onSubmit:n,isSuccessAPI:r,isLoadingAPIs:i,cancelLabel:s,submitLabel:o,intermediateButtons:l,isSubmitDisabled:c,isCancelDisabled:f,children:d,...u})=>{const p=s??ee("cancel"),_=o??ee("save");return pe.useEffect(()=>{r&&qr.close(e)},[e,r]),C.jsx(l6,{id:e,icon:t,state:a,...u,footer:C.jsxs("div",{children:[C.jsx(Fa,{onClick:()=>qr.close(e),disabled:f,children:p}),l,C.jsx(Fa,{color:"primary",onClick:n,disabled:c,children:_})]}),children:C.jsx(og,{isLoadingAPIs:i,children:d})})},bg={ACTIVE_STREAM_DIALOG:"ACTIVE_STREAM_DIALOG"},Dt=[];for(let e=0;e<256;++e)Dt.push((e+256).toString(16).slice(1));function w5(e,t=0){return(Dt[e[t+0]]+Dt[e[t+1]]+Dt[e[t+2]]+Dt[e[t+3]]+"-"+Dt[e[t+4]]+Dt[e[t+5]]+"-"+Dt[e[t+6]]+Dt[e[t+7]]+"-"+Dt[e[t+8]]+Dt[e[t+9]]+"-"+Dt[e[t+10]]+Dt[e[t+11]]+Dt[e[t+12]]+Dt[e[t+13]]+Dt[e[t+14]]+Dt[e[t+15]]).toLowerCase()}let kg;const E5=new Uint8Array(16);function T5(){if(!kg){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");kg=crypto.getRandomValues.bind(crypto)}return kg(E5)}const VT={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function GT(e,t,a){var r;if(VT.randomUUID&&!e)return VT.randomUUID();e=e||{};const n=e.random??((r=e.rng)==null?void 0:r.call(e))??T5();if(n.length<16)throw new Error("Random bytes length must be >= 16");return n[6]=n[6]&15|64,n[8]=n[8]&63|128,w5(n)}const v5=1500,S5=3e5;async function A5({url:e,token:t,packet:a,messageId:n,dispatch:r,signal:i}){let s="";const o=new TextDecoder;let l=!1,c=!1,f=null,d=null,u=!1;const p=()=>{u=!0,d==null||d.cancel()},_=k=>{r(bh(k)),p()},E=k=>{if(f=Date.now(),k.type==="error"){const y=v6(k.error);_({errorCode:y});return}if(k.type==="finished"){c=!0,r(fb({messageId:n})),r(db()),lO(r),p();return}k&&r(O6({messageId:n,packet:k})),"chat_id"in k&&!l&&(r(ub(k.chat_id)),l=!0)},v=()=>{const k=s.lastIndexOf(`
`);if(k===-1)return;const y=s.substring(0,k);s=s.substring(k+1);for(const b of y.split(`
`)){if(!b.trim()||u)break;try{E(JSON.parse(b))}catch{_()}}};i.addEventListener("abort",p,{once:!0});let g=null;try{const k=await fetch(e,{method:"POST",headers:{Accept:"text/event-stream",Authorization:`Bearer ${t}`,"Content-Type":"application/json"},body:JSON.stringify(a),signal:i});if(!k.ok){_({statusCode:k.status});return}if(!k.body)return;d=k.body.getReader(),g=setInterval(()=>{if(c||u){clearInterval(g);return}f&&Date.now()-f>S5&&(clearInterval(g),_())},v5);let y=await d.read();for(;!y.done&&!u&&(s+=o.decode(y.value,{stream:!0}),v(),!u);)y=await d.read();if(!u&&s.trim())try{E(JSON.parse(s))}catch{_()}!u&&!c&&_()}catch(k){(k==null?void 0:k.name)!=="AbortError"&&r(bh({}))}finally{g&&clearInterval(g),i.removeEventListener("abort",p)}}let fi=null,wf=!1;const Ef=Xn("chat/askQuestion",async({question:e,threadId:t,options:a},{dispatch:n,getState:r})=>{const{hiddenQuestion:i=!1,skipUserMessage:s=!1,trigger_action:o}=a||{},l=GT(),c=typeof e=="string"?e:JSON.stringify(e);n(I6({question:e,questionText:c,threadId:t,hiddenQuestion:i,skipUserMessage:s,trigger_action:o})),!i&&!s&&n(x6({id:l,content:c}));const f=`${l}-response`;n(z6({id:f})),fi=new AbortController;try{const d=await $c().getToken(),{is_staging:u,chatSource:p}=r().app.config;await A5({url:`${u?"https://api.staging.studio.siteground.ai":"https://api.studio.siteground.ai"}/chat/v1/wp-reply`,token:d,packet:{question:e,thread_id:t,agent:"wordpress_agent",chat_source:p??"wp_admin_chatbox",trigger_action:o},messageId:f,dispatch:n,signal:fi.signal})}catch(d){(d==null?void 0:d.name)!=="AbortError"&&n(bh({}))}finally{fi=null}}),wg=Xn("chat/cancelReply",(e,{dispatch:t,getState:a})=>{fi==null||fi.abort(),fi=null;const n=a().messages.activeStreamingMessageId;n&&t(fb({messageId:n})),t(db()),wf=!1}),C5=Xn("chat/retryLastFailedRequest",async(e,{dispatch:t,getState:a})=>{if(wf)return;const{lastFailedRequest:n}=a().messages;if(n){wf=!0;try{t(R6()),await t(Ef({question:n.question,threadId:n.threadId,options:{hiddenQuestion:n.hiddenQuestion,skipUserMessage:n.skipUserMessage,trigger_action:n.trigger_action}}))}finally{wf=!1}}}),XT=Xn("chat/loadChatAndMessages",async(e,{dispatch:t})=>{try{const a=await t(en.endpoints.getChatMessageById.initiate(e)).unwrap();t(D6({threadId:e,messages:a})),t(U6(e))}catch(a){console.error("Failed to load chat messages",a)}});class x5{constructor(){Lt(this,"pendingNavigation",null);Lt(this,"isInitialized",!1);Lt(this,"originalBeforeUnload",null)}init(t={interceptPageNavigation:!0,interceptPageRefresh:!0}){this.isInitialized||(this.isInitialized=!0,t.interceptPageRefresh&&this.setupBeforeUnloadHandler(),t.interceptPageNavigation&&this.setupLinkInterception())}setupBeforeUnloadHandler(){this.originalBeforeUnload=window.onbeforeunload,window.addEventListener("beforeunload",t=>{if(Qc().getState().messages.activeStreamingMessageId!==null)return this.pendingNavigation={type:"reload"},t.preventDefault(),t.returnValue="","";if(this.originalBeforeUnload)return this.originalBeforeUnload(t)})}setupLinkInterception(){document.addEventListener("click",t=>{const n=t.target.closest("a[href]");!n||!this.isWordPressAdminLink(n)||Qc().getState().messages.activeStreamingMessageId!==null&&(t.preventDefault(),t.stopPropagation(),this.pendingNavigation={type:"url",url:n.href},qr.open(bg.ACTIVE_STREAM_DIALOG))},!0)}isWordPressAdminLink(t){const a=t.href;return t.hostname!==window.location.hostname||a.startsWith("#")||a.startsWith("javascript:")?!1:a.includes("/wp-admin/")||t.classList.contains("wp-menu-item")}executePendingNavigation(){if(!this.pendingNavigation)return;const t=this.pendingNavigation;switch(this.pendingNavigation=null,t.type){case"url":t.url&&(window.location.href=t.url);break;case"reload":window.location.reload();break;case"back":window.history.back();break}}clearPendingNavigation(){this.pendingNavigation=null}hasPendingNavigation(){return this.pendingNavigation!==null}destroy(){this.isInitialized&&(this.isInitialized=!1,this.pendingNavigation=null,this.originalBeforeUnload?(window.onbeforeunload=this.originalBeforeUnload,this.originalBeforeUnload=null):window.onbeforeunload=null)}}const KT=new x5,Pt=()=>j0(),Je=q0,z5=()=>{const e=Pt(),t=()=>{e(wg()),qr.close(bg.ACTIVE_STREAM_DIALOG),KT.executePendingNavigation()};return C.jsx(k5,{id:bg.ACTIVE_STREAM_DIALOG,onSubmit:t,submitLabel:ee("Leave Anyway"),state:"warning",icon:"warning",title:ee("Response still in progress"),subTitle:C.jsx(ye,{children:ee("Leaving now will stop the response from finishing. You may lose the rest of the answer.")}),children:ee("Are you sure you want to proceed?")})},N5=60*60*1e3,O5=60*1e3;let Tf=null;const D5=e=>{const{sessionStartTime:t}=e.messages;return t===null?!1:Date.now()-t>=N5},WT=e=>{const t=e.getState();if(D5(t)){const a=t.app.config.welcome_msg,n=t.app.config.quickActions;e.dispatch(Ic({welcomeMsg:a,quickActions:n}))}},R5=e=>(WT(e),Tf=setInterval(()=>{WT(e)},O5),()=>{Tf!==null&&(clearInterval(Tf),Tf=null)}),L5="wp-ai-studio-events";class I5{constructor(){Lt(this,"channel",null);Lt(this,"listeners",new Map)}ensureChannel(){if(!this.channel&&typeof BroadcastChannel<"u")try{this.channel=new BroadcastChannel(L5),this.channel.onmessage=this.handleMessage.bind(this)}catch(t){console.warn("Failed to create BroadcastChannel:",t)}}handleMessage(t){const a=this.listeners.get(t.data.event);a&&a.forEach(n=>n(t.data.payload))}broadcast(t,a){if(this.ensureChannel(),this.channel)try{const n={event:t,payload:a,timestamp:Date.now()};this.channel.postMessage(n)}catch(n){console.warn(`Failed to broadcast event "${t}":`,n)}}listen(t,a){return this.ensureChannel(),this.listeners.has(t)||this.listeners.set(t,new Set),this.listeners.get(t).add(a),()=>{const n=this.listeners.get(t);n&&(n.delete(a),n.size===0&&this.listeners.delete(t))}}}const ZT=new I5,JT=(e,t)=>{ZT.broadcast(e,t)},M5=(e,t)=>ZT.listen(e,t),e2=(e,t)=>{A.useEffect(()=>M5(e,t),[e,t])},Ds=Di,Rs=p6;let di=Ri,hi=_o,vf=0,Sf=0,un=0,fn=0,Eg=null,_e=null,Af=0,Cf=0;function P5(e){e&&(_e=e,_e.querySelectorAll(".wp-ai-studio-chat__resizer").forEach(t=>{t.addEventListener("mousedown",a=>{const n=a;if(n.preventDefault(),Q5(),Eg=t,!_e)return;_e.classList.add("wp-ai-studio-chat--dragging"),di=parseFloat(getComputedStyle(_e,null).getPropertyValue("width")),hi=parseFloat(getComputedStyle(_e,null).getPropertyValue("height")),vf=_e.getBoundingClientRect().left,Sf=_e.getBoundingClientRect().top,un=n.pageX,fn=n.pageY;const r=document.getElementsByTagName("body")[0];Cf=window.innerHeight||document.documentElement.clientHeight||(r?r.clientHeight:0),Af=window.innerWidth||document.documentElement.clientWidth||(r?r.clientWidth:0),window.addEventListener("mousemove",t2),window.addEventListener("mouseup",Tg)})}))}function t2(e){if(!Eg)return;switch(Eg.getAttribute("data-resizer")){case"resize-left":Y5(e);break;case"resize-right":$5(e);break;case"resize-bottom":q5(e);break;case"resize-top":j5(e);break;case"resize-top-left":U5(e);break;case"resize-top-right":B5(e);break;case"resize-bottom-left":F5(e);break;case"resize-bottom-right":H5(e);break}}function U5(e){if(!_e)return;const t=di-(e.pageX-un),a=hi-(e.pageY-fn);t>Ds&&t<Li&&e.clientX>0&&(_e.style.width=`${t}px`,_e.style.left=`${vf+(e.pageX-un)}px`),a>Rs&&e.clientY>0&&(_e.style.height=`${a}px`,_e.style.top=`${Sf+(e.pageY-fn)}px`)}function B5(e){if(!_e)return;const t=di+(e.pageX-un),a=hi-(e.pageY-fn);t>Ds&&t<Li&&e.clientX<Af&&(_e.style.width=`${t}px`),a>Rs&&e.clientY>0&&(_e.style.height=`${a}px`,_e.style.top=`${Sf+(e.pageY-fn)}px`)}function F5(e){if(!_e)return;const t=hi+(e.pageY-fn),a=di-(e.pageX-un);t>Rs&&e.clientY<Cf&&(_e.style.height=`${t}px`),a>Ds&&a<Li&&e.clientX>0&&(_e.style.width=`${a}px`,_e.style.left=`${vf+(e.pageX-un)}px`)}function H5(e){if(!_e)return;const t=di+(e.pageX-un),a=hi+(e.pageY-fn);t>Ds&&t<Li&&e.clientX<Af&&(_e.style.width=`${t}px`),a>Rs&&e.clientY<Cf&&(_e.style.height=`${a}px`)}function j5(e){if(!_e)return;const t=hi-(e.pageY-fn);t>Rs&&e.clientY>0&&(_e.style.height=`${t}px`,_e.style.top=`${Sf+(e.pageY-fn)}px`)}function q5(e){if(!_e)return;const t=hi+(e.pageY-fn);t>Rs&&e.clientY<Cf&&(_e.style.height=`${t}px`)}function Y5(e){if(!_e)return;const t=di-(e.pageX-un);t>Ds&&t<Li&&e.clientX>0&&(_e.style.width=`${t}px`,_e.style.left=`${vf+(e.pageX-un)}px`)}function $5(e){if(!_e)return;const t=di+(e.pageX-un);t>Ds&&t<Li&&e.clientX<Af&&(_e.style.width=`${t}px`)}function Q5(){window.onscroll=Tg}function V5(){window.onscroll=null}function Tg(){if(V5(),window.removeEventListener("mousemove",t2),window.removeEventListener("mouseup",Tg),_e){_e.classList.remove("wp-ai-studio-chat--dragging");const e=_e.getBoundingClientRect(),t=getComputedStyle(_e);Qc().dispatch(wh({width:parseFloat(t.width),height:parseFloat(t.height),left:Math.max(0,e.left),top:Math.max(0,e.top)}))}}const vg=()=>{const{data:e,isLoading:t}=qN(),[a]=YN(),n=(e==null?void 0:e.shown)??!1,r=A.useCallback(async()=>{try{await a().unwrap()}catch(i){console.error("Something went wrong: ",{error:i})}},[a]);return{isLoading:t,shouldShow:!t&&!n,dismiss:r}};function a2(){const e=document.getElementById("adminmenuback");return e?Math.round(e.getBoundingClientRect().width):0}function n2(){const e=document.getElementById("wpadminbar");return e?Math.round(e.getBoundingClientRect().height):0}function G5(e,t){const a=a2(),n=n2(),r=window.innerWidth,i=window.innerHeight,s={minX:0,minY:0,maxX:r-e,maxY:i-t};return a>0&&(s.minX=a,s.maxX=Math.max(a,r-e)),n>0&&(s.minY=n,s.maxY=Math.max(n,i-t)),s.minX=Math.max(0,s.minX),s.minY=Math.max(0,s.minY),s.maxX=Math.max(s.minX,s.maxX),s.maxY=Math.max(s.minY,s.maxY),s}const X5=e=>{const[t,a]=A.useState(()=>typeof window<"u"?window.matchMedia(e).matches:!1);return A.useEffect(()=>{const n=window.matchMedia(e),r=i=>{a(i.matches)};return a(n.matches),n.addEventListener("change",r),()=>{n.removeEventListener("change",r)}},[e]),t},K5="(max-width: 799px)",Sg=()=>{const e=Je(n=>n.chat.displayMode),t=X5(K5),a=t?"popover":e;return{storedDisplayMode:e,displayMode:a,isNarrowViewport:t,isPopover:a==="popover",isDocked:a==="docked",isFull:a==="full"}},r2=()=>{const e=Pt();return A.useCallback((t,a=Di,n=_o)=>{const r=Math.max(0,window.innerWidth-a-30),i=Math.max(0,window.innerHeight-n-30);e(wh({width:a,height:n,left:r,top:i})),t.style.width=`${a}px`,t.style.height=`${n}px`,t.style.left=`${r}px`,t.style.top=`${i}px`},[e])},Ag=({size:e,onMinimize:t})=>C.jsx(ht,{icon:"material/check_indeterminate_small",color:"secondary",type:"ghost",size:e,tooltip:ee("Minimize"),onClick:t}),W5=({onMinimize:e,size:t})=>{const{storedDisplayMode:a}=Sg(),n=Pt();return a==="docked"?C.jsxs(C.Fragment,{children:[C.jsx(ht,{icon:"material/open_in_full",color:"secondary",type:"ghost",size:t,tooltip:ee("Open conversation"),onClick:()=>n(Eo("full"))}),C.jsx(ht,{icon:"material/picture_in_picture_alt",color:"secondary",type:"ghost",size:t,tooltip:ee("Collapse to popover"),onClick:()=>n(Eo("popover"))})]}):a==="full"?C.jsxs(C.Fragment,{children:[C.jsx(ht,{icon:"material/close_fullscreen",color:"secondary",type:"ghost",size:t,tooltip:ee("Exit full screen"),onClick:()=>n(Eo("docked"))}),C.jsx(Ag,{size:t,onMinimize:e})]}):C.jsxs(C.Fragment,{children:[C.jsx(ht,{icon:"material/dock_to_right",color:"secondary",type:"ghost",size:t,tooltip:ee("Dock to side"),onClick:()=>n(Eo("docked"))}),C.jsx(Ag,{size:t,onMinimize:e})]})},i2=({updateChatStyles:e,domRef:t,setIsDragging:a})=>{const{device:n}=A.useContext(jt),{isPopover:r,isNarrowViewport:i}=Sg(),s=Je(b=>b.app.config),o=A.useRef(null),l=Pt(),c=r2(),f=Je(b=>b.app.historyVisibility),d=Je(b=>b.messages.threadId),{shouldShow:u}=vg(),p=()=>{document.body.style.userSelect="",document.body.style.touchAction=""},_=()=>{l(kh(!0)),p()},E=b=>{!t||!r||b.target instanceof Element&&b.target.closest("[data-none-draggable]")||c(t)},v=()=>{if(!t||!o.current)return;a(!0);const b=t.getBoundingClientRect(),w=b.width,h=b.height,S=G5(w,h);o.current.restraints&&(o.current.restraints=S)},g=()=>{a(!1),e()},k=n.isPhone?"small":"medium",y=C.jsxs(C.Fragment,{children:[C.jsxs(re,{gap:"x-small",align:"center",children:[C.jsx(qe,{name:"ai-tools/illustration-siteground-ai-logo",size:"32",multicolor:!0}),C.jsx(dt,{level:n.isPhone?"6":"5",children:ee("AI Agent by SiteGround")})]}),C.jsx(xd,{}),C.jsxs(re,{wrap:"nowrap",gap:"xx-small","data-none-draggable":!0,children:[!u&&C.jsxs(C.Fragment,{children:[C.jsx(ht,{icon:"material/ai_chat",color:"secondary",type:"ghost",size:k,tooltip:ee("New chat"),disabled:!d,onClick:()=>{l(Ic({welcomeMsg:s.welcome_msg,quickActions:s.quickActions})),l(wo(!1))}}),C.jsx(ht,{icon:"material/history",tooltip:ee("History"),type:"ghost",size:k,color:f?"primary":"secondary",isActive:f,onClick:()=>l(wo(!f))})]}),n.isPhone?C.jsx(Ag,{size:k,onMinimize:_}):C.jsx(W5,{size:k,onMinimize:_})]})]});return C.jsx(O_,{ref:o,elementToDrag:t,className:"wp-ai-studio-chat__header",canDrag:b=>{const w=document.querySelector("#wp-ai-studio-container").shadowRoot.querySelector("[data-none-draggable]");return!(!n||!r||i||n.isDevicePhone||n.isDeviceTablet||w&&b.target instanceof Element&&w.contains(b.target))},onPointerDown:v,onPointerUp:g,onDoubleClick:E,children:y})};function Lq(){}function Iq(){}function s2(e){const t=[],a=String(e||"");let n=a.indexOf(","),r=0,i=!1;for(;!i;){n===-1&&(n=a.length,i=!0);const s=a.slice(r,n).trim();(s||!i)&&t.push(s),r=n+1,n=a.indexOf(",",r)}return t}function o2(e,t){const a={};return(e[e.length-1]===""?[...e,""]:e).join((a.padRight?" ":"")+","+(a.padLeft===!1?"":" ")).trim()}const Z5=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,J5=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,eL={};function l2(e,t){return(eL.jsx?J5:Z5).test(e)}const tL=/[ \t\n\f\r]/g;function aL(e){return typeof e=="object"?e.type==="text"?c2(e.value):!1:c2(e)}function c2(e){return e.replace(tL,"")===""}let zl=class{constructor(t,a,n){this.normal=a,this.property=t,n&&(this.space=n)}};zl.prototype.normal={},zl.prototype.property={},zl.prototype.space=void 0;function u2(e,t){const a={},n={};for(const r of e)Object.assign(a,r.property),Object.assign(n,r.normal);return new zl(a,n,t)}function Nl(e){return e.toLowerCase()}let ra=class{constructor(t,a){this.attribute=a,this.property=t}};ra.prototype.attribute="",ra.prototype.booleanish=!1,ra.prototype.boolean=!1,ra.prototype.commaOrSpaceSeparated=!1,ra.prototype.commaSeparated=!1,ra.prototype.defined=!1,ra.prototype.mustUseProperty=!1,ra.prototype.number=!1,ra.prototype.overloadedBoolean=!1,ra.prototype.property="",ra.prototype.spaceSeparated=!1,ra.prototype.space=void 0;let nL=0;const me=pi(),ut=pi(),Cg=pi(),K=pi(),$e=pi(),Ls=pi(),ba=pi();function pi(){return 2**++nL}const xg=Object.freeze(Object.defineProperty({__proto__:null,boolean:me,booleanish:ut,commaOrSpaceSeparated:ba,commaSeparated:Ls,number:K,overloadedBoolean:Cg,spaceSeparated:$e},Symbol.toStringTag,{value:"Module"})),zg=Object.keys(xg);let Ng=class extends ra{constructor(t,a,n,r){let i=-1;if(super(t,a),f2(this,"space",r),typeof n=="number")for(;++i<zg.length;){const s=zg[i];f2(this,zg[i],(n&xg[s])===xg[s])}}};Ng.prototype.defined=!0;function f2(e,t,a){a&&(e[t]=a)}function Is(e){const t={},a={};for(const[n,r]of Object.entries(e.properties)){const i=new Ng(n,e.transform(e.attributes||{},n),r,e.space);e.mustUseProperty&&e.mustUseProperty.includes(n)&&(i.mustUseProperty=!0),t[n]=i,a[Nl(n)]=n,a[Nl(i.attribute)]=n}return new zl(t,a,e.space)}const d2=Is({properties:{ariaActiveDescendant:null,ariaAtomic:ut,ariaAutoComplete:null,ariaBusy:ut,ariaChecked:ut,ariaColCount:K,ariaColIndex:K,ariaColSpan:K,ariaControls:$e,ariaCurrent:null,ariaDescribedBy:$e,ariaDetails:null,ariaDisabled:ut,ariaDropEffect:$e,ariaErrorMessage:null,ariaExpanded:ut,ariaFlowTo:$e,ariaGrabbed:ut,ariaHasPopup:null,ariaHidden:ut,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:$e,ariaLevel:K,ariaLive:null,ariaModal:ut,ariaMultiLine:ut,ariaMultiSelectable:ut,ariaOrientation:null,ariaOwns:$e,ariaPlaceholder:null,ariaPosInSet:K,ariaPressed:ut,ariaReadOnly:ut,ariaRelevant:null,ariaRequired:ut,ariaRoleDescription:$e,ariaRowCount:K,ariaRowIndex:K,ariaRowSpan:K,ariaSelected:ut,ariaSetSize:K,ariaSort:null,ariaValueMax:K,ariaValueMin:K,ariaValueNow:K,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function h2(e,t){return t in e?e[t]:t}function p2(e,t){return h2(e,t.toLowerCase())}const rL=Is({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Ls,acceptCharset:$e,accessKey:$e,action:null,allow:null,allowFullScreen:me,allowPaymentRequest:me,allowUserMedia:me,alt:null,as:null,async:me,autoCapitalize:null,autoComplete:$e,autoFocus:me,autoPlay:me,blocking:$e,capture:null,charSet:null,checked:me,cite:null,className:$e,cols:K,colSpan:null,content:null,contentEditable:ut,controls:me,controlsList:$e,coords:K|Ls,crossOrigin:null,data:null,dateTime:null,decoding:null,default:me,defer:me,dir:null,dirName:null,disabled:me,download:Cg,draggable:ut,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:me,formTarget:null,headers:$e,height:K,hidden:Cg,high:K,href:null,hrefLang:null,htmlFor:$e,httpEquiv:$e,id:null,imageSizes:null,imageSrcSet:null,inert:me,inputMode:null,integrity:null,is:null,isMap:me,itemId:null,itemProp:$e,itemRef:$e,itemScope:me,itemType:$e,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:me,low:K,manifest:null,max:null,maxLength:K,media:null,method:null,min:null,minLength:K,multiple:me,muted:me,name:null,nonce:null,noModule:me,noValidate:me,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:me,optimum:K,pattern:null,ping:$e,placeholder:null,playsInline:me,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:me,referrerPolicy:null,rel:$e,required:me,reversed:me,rows:K,rowSpan:K,sandbox:$e,scope:null,scoped:me,seamless:me,selected:me,shadowRootClonable:me,shadowRootDelegatesFocus:me,shadowRootMode:null,shape:null,size:K,sizes:null,slot:null,span:K,spellCheck:ut,src:null,srcDoc:null,srcLang:null,srcSet:null,start:K,step:null,style:null,tabIndex:K,target:null,title:null,translate:null,type:null,typeMustMatch:me,useMap:null,value:ut,width:K,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:$e,axis:null,background:null,bgColor:null,border:K,borderColor:null,bottomMargin:K,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:me,declare:me,event:null,face:null,frame:null,frameBorder:null,hSpace:K,leftMargin:K,link:null,longDesc:null,lowSrc:null,marginHeight:K,marginWidth:K,noResize:me,noHref:me,noShade:me,noWrap:me,object:null,profile:null,prompt:null,rev:null,rightMargin:K,rules:null,scheme:null,scrolling:ut,standby:null,summary:null,text:null,topMargin:K,valueType:null,version:null,vAlign:null,vLink:null,vSpace:K,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:me,disableRemotePlayback:me,prefix:null,property:null,results:K,security:null,unselectable:null},space:"html",transform:p2}),iL=Is({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:ba,accentHeight:K,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:K,amplitude:K,arabicForm:null,ascent:K,attributeName:null,attributeType:null,azimuth:K,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:K,by:null,calcMode:null,capHeight:K,className:$e,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:K,diffuseConstant:K,direction:null,display:null,dur:null,divisor:K,dominantBaseline:null,download:me,dx:null,dy:null,edgeMode:null,editable:null,elevation:K,enableBackground:null,end:null,event:null,exponent:K,externalResourcesRequired:null,fill:null,fillOpacity:K,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Ls,g2:Ls,glyphName:Ls,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:K,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:K,horizOriginX:K,horizOriginY:K,id:null,ideographic:K,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:K,k:K,k1:K,k2:K,k3:K,k4:K,kernelMatrix:ba,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:K,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:K,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:K,overlineThickness:K,paintOrder:null,panose1:null,path:null,pathLength:K,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:$e,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:K,pointsAtY:K,pointsAtZ:K,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ba,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ba,rev:ba,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ba,requiredFeatures:ba,requiredFonts:ba,requiredFormats:ba,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:K,specularExponent:K,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:K,strikethroughThickness:K,string:null,stroke:null,strokeDashArray:ba,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:K,strokeOpacity:K,strokeWidth:null,style:null,surfaceScale:K,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ba,tabIndex:K,tableValues:null,target:null,targetX:K,targetY:K,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ba,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:K,underlineThickness:K,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:K,values:null,vAlphabetic:K,vMathematical:K,vectorEffect:null,vHanging:K,vIdeographic:K,version:null,vertAdvY:K,vertOriginX:K,vertOriginY:K,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:K,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:h2}),m2=Is({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),g2=Is({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:p2}),y2=Is({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),sL={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},oL=/[A-Z]/g,_2=/-[a-z]/g,lL=/^data[-\w.:]+$/i;function Og(e,t){const a=Nl(t);let n=t,r=ra;if(a in e.normal)return e.property[e.normal[a]];if(a.length>4&&a.slice(0,4)==="data"&&lL.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(_2,uL);n="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!_2.test(i)){let s=i.replace(oL,cL);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}r=Ng}return new r(n,t)}function cL(e){return"-"+e.toLowerCase()}function uL(e){return e.charAt(1).toUpperCase()}const xf=u2([d2,rL,m2,g2,y2],"html"),Ms=u2([d2,iL,m2,g2,y2],"svg");function b2(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function k2(e){return e.join(" ").trim()}var Dg={},w2=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,fL=/\n/g,dL=/^\s*/,hL=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,pL=/^:\s*/,mL=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,gL=/^[;\s]*/,yL=/^\s+|\s+$/g,_L=`
`,E2="/",T2="*",mi="",bL="comment",kL="declaration",wL=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var a=1,n=1;function r(_){var E=_.match(fL);E&&(a+=E.length);var v=_.lastIndexOf(_L);n=~v?_.length-v:n+_.length}function i(){var _={line:a,column:n};return function(E){return E.position=new s(_),c(),E}}function s(_){this.start=_,this.end={line:a,column:n},this.source=t.source}s.prototype.content=e;function o(_){var E=new Error(t.source+":"+a+":"+n+": "+_);if(E.reason=_,E.filename=t.source,E.line=a,E.column=n,E.source=e,!t.silent)throw E}function l(_){var E=_.exec(e);if(E){var v=E[0];return r(v),e=e.slice(v.length),E}}function c(){l(dL)}function f(_){var E;for(_=_||[];E=d();)E!==!1&&_.push(E);return _}function d(){var _=i();if(!(E2!=e.charAt(0)||T2!=e.charAt(1))){for(var E=2;mi!=e.charAt(E)&&(T2!=e.charAt(E)||E2!=e.charAt(E+1));)++E;if(E+=2,mi===e.charAt(E-1))return o("End of comment missing");var v=e.slice(2,E-2);return n+=2,r(v),e=e.slice(E),n+=2,_({type:bL,comment:v})}}function u(){var _=i(),E=l(hL);if(E){if(d(),!l(pL))return o("property missing ':'");var v=l(mL),g=_({type:kL,property:v2(E[0].replace(w2,mi)),value:v?v2(v[0].replace(w2,mi)):mi});return l(gL),g}}function p(){var _=[];f(_);for(var E;E=u();)E!==!1&&(_.push(E),f(_));return _}return c(),p()};function v2(e){return e?e.replace(yL,mi):mi}var EL=Et&&Et.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Dg,"__esModule",{value:!0}),Dg.default=vL;var TL=EL(wL);function vL(e,t){var a=null;if(!e||typeof e!="string")return a;var n=(0,TL.default)(e),r=typeof t=="function";return n.forEach(function(i){if(i.type==="declaration"){var s=i.property,o=i.value;r?t(s,o,i):o&&(a=a||{},a[s]=o)}}),a}var zf={};Object.defineProperty(zf,"__esModule",{value:!0}),zf.camelCase=void 0;var SL=/^--[a-zA-Z0-9_-]+$/,AL=/-([a-z])/g,CL=/^[^-]+$/,xL=/^-(webkit|moz|ms|o|khtml)-/,zL=/^-(ms)-/,NL=function(e){return!e||CL.test(e)||SL.test(e)},OL=function(e,t){return t.toUpperCase()},S2=function(e,t){return"".concat(t,"-")},DL=function(e,t){return t===void 0&&(t={}),NL(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(zL,S2):e=e.replace(xL,S2),e.replace(AL,OL))};zf.camelCase=DL;var RL=Et&&Et.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},LL=RL(Dg),IL=zf;function Rg(e,t){var a={};return!e||typeof e!="string"||(0,LL.default)(e,function(n,r){n&&r&&(a[(0,IL.camelCase)(n,t)]=r)}),a}Rg.default=Rg;var ML=Rg;const PL=It(ML),Nf=A2("end"),dn=A2("start");function A2(e){return t;function t(a){const n=a&&a.position&&a.position[e]||{};if(typeof n.line=="number"&&n.line>0&&typeof n.column=="number"&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset=="number"&&n.offset>-1?n.offset:void 0}}}function UL(e){const t=dn(e),a=Nf(e);if(t&&a)return{start:t,end:a}}function Ol(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?C2(e.position):"start"in e||"end"in e?C2(e):"line"in e||"column"in e?Lg(e):""}function Lg(e){return x2(e&&e.line)+":"+x2(e&&e.column)}function C2(e){return Lg(e&&e.start)+"-"+Lg(e&&e.end)}function x2(e){return e&&typeof e=="number"?e:1}class Ut extends Error{constructor(t,a,n){super(),typeof a=="string"&&(n=a,a=void 0);let r="",i={},s=!1;if(a&&("line"in a&&"column"in a?i={place:a}:"start"in a&&"end"in a?i={place:a}:"type"in a?i={ancestors:[a],place:a.position}:i={...a}),typeof t=="string"?r=t:!i.cause&&t&&(s=!0,r=t.message,i.cause=t),!i.ruleId&&!i.source&&typeof n=="string"){const l=n.indexOf(":");l===-1?i.ruleId=n:(i.source=n.slice(0,l),i.ruleId=n.slice(l+1))}if(!i.place&&i.ancestors&&i.ancestors){const l=i.ancestors[i.ancestors.length-1];l&&(i.place=l.position)}const o=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=o?o.line:void 0,this.name=Ol(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=s&&i.cause&&typeof i.cause.stack=="string"?i.cause.stack:"",this.actual,this.expected,this.note,this.url}}Ut.prototype.file="",Ut.prototype.name="",Ut.prototype.reason="",Ut.prototype.message="",Ut.prototype.stack="",Ut.prototype.column=void 0,Ut.prototype.line=void 0,Ut.prototype.ancestors=void 0,Ut.prototype.cause=void 0,Ut.prototype.fatal=void 0,Ut.prototype.place=void 0,Ut.prototype.ruleId=void 0,Ut.prototype.source=void 0;const Ig={}.hasOwnProperty,BL=new Map,FL=/[A-Z]/g,HL=new Set(["table","tbody","thead","tfoot","tr"]),jL=new Set(["td","th"]),z2="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function qL(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const a=t.filePath||void 0;let n;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");n=WL(a,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");n=KL(a,t.jsx,t.jsxs)}const r={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:n,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:a,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?Ms:xf,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},i=N2(r,e,void 0);return i&&typeof i!="string"?i:r.create(e,r.Fragment,{children:i||void 0},void 0)}function N2(e,t,a){if(t.type==="element")return YL(e,t,a);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return $L(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return VL(e,t,a);if(t.type==="mdxjsEsm")return QL(e,t);if(t.type==="root")return GL(e,t,a);if(t.type==="text")return XL(e,t)}function YL(e,t,a){const n=e.schema;let r=n;t.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=Ms,e.schema=r),e.ancestors.push(t);const i=D2(e,t.tagName,!1),s=ZL(e,t);let o=Pg(e,t);return HL.has(t.tagName)&&(o=o.filter(function(l){return typeof l=="string"?!aL(l):!0})),O2(e,s,i,t),Mg(s,o),e.ancestors.pop(),e.schema=n,e.create(t,i,s,a)}function $L(e,t){if(t.data&&t.data.estree&&e.evaluater){const n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}Dl(e,t.position)}function QL(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Dl(e,t.position)}function VL(e,t,a){const n=e.schema;let r=n;t.name==="svg"&&n.space==="html"&&(r=Ms,e.schema=r),e.ancestors.push(t);const i=t.name===null?e.Fragment:D2(e,t.name,!0),s=JL(e,t),o=Pg(e,t);return O2(e,s,i,t),Mg(s,o),e.ancestors.pop(),e.schema=n,e.create(t,i,s,a)}function GL(e,t,a){const n={};return Mg(n,Pg(e,t)),e.create(t,e.Fragment,n,a)}function XL(e,t){return t.value}function O2(e,t,a,n){typeof a!="string"&&a!==e.Fragment&&e.passNode&&(t.node=n)}function Mg(e,t){if(t.length>0){const a=t.length>1?t:t[0];a&&(e.children=a)}}function KL(e,t,a){return n;function n(r,i,s,o){const c=Array.isArray(s.children)?a:t;return o?c(i,s,o):c(i,s)}}function WL(e,t){return a;function a(n,r,i,s){const o=Array.isArray(i.children),l=dn(n);return t(r,i,s,o,{columnNumber:l?l.column-1:void 0,fileName:e,lineNumber:l?l.line:void 0},void 0)}}function ZL(e,t){const a={};let n,r;for(r in t.properties)if(r!=="children"&&Ig.call(t.properties,r)){const i=eI(e,r,t.properties[r]);if(i){const[s,o]=i;e.tableCellAlignToStyle&&s==="align"&&typeof o=="string"&&jL.has(t.tagName)?n=o:a[s]=o}}if(n){const i=a.style||(a.style={});i[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=n}return a}function JL(e,t){const a={};for(const n of t.attributes)if(n.type==="mdxJsxExpressionAttribute")if(n.data&&n.data.estree&&e.evaluater){const i=n.data.estree.body[0];i.type;const s=i.expression;s.type;const o=s.properties[0];o.type,Object.assign(a,e.evaluater.evaluateExpression(o.argument))}else Dl(e,t.position);else{const r=n.name;let i;if(n.value&&typeof n.value=="object")if(n.value.data&&n.value.data.estree&&e.evaluater){const o=n.value.data.estree.body[0];o.type,i=e.evaluater.evaluateExpression(o.expression)}else Dl(e,t.position);else i=n.value===null?!0:n.value;a[r]=i}return a}function Pg(e,t){const a=[];let n=-1;const r=e.passKeys?new Map:BL;for(;++n<t.children.length;){const i=t.children[n];let s;if(e.passKeys){const l=i.type==="element"?i.tagName:i.type==="mdxJsxFlowElement"||i.type==="mdxJsxTextElement"?i.name:void 0;if(l){const c=r.get(l)||0;s=l+"-"+c,r.set(l,c+1)}}const o=N2(e,i,s);o!==void 0&&a.push(o)}return a}function eI(e,t,a){const n=Og(e.schema,t);if(!(a==null||typeof a=="number"&&Number.isNaN(a))){if(Array.isArray(a)&&(a=n.commaSeparated?o2(a):k2(a)),n.property==="style"){let r=typeof a=="object"?a:tI(e,String(a));return e.stylePropertyNameCase==="css"&&(r=aI(r)),["style",r]}return[e.elementAttributeNameCase==="react"&&n.space?sL[n.property]||n.property:n.attribute,a]}}function tI(e,t){try{return PL(t,{reactCompat:!0})}catch(a){if(e.ignoreInvalidStyle)return{};const n=a,r=new Ut("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=z2+"#cannot-parse-style-attribute",r}}function D2(e,t,a){let n;if(!a)n={type:"Literal",value:t};else if(t.includes(".")){const r=t.split(".");let i=-1,s;for(;++i<r.length;){const o=l2(r[i])?{type:"Identifier",name:r[i]}:{type:"Literal",value:r[i]};s=s?{type:"MemberExpression",object:s,property:o,computed:!!(i&&o.type==="Literal"),optional:!1}:o}n=s}else n=l2(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(n.type==="Literal"){const r=n.value;return Ig.call(e.components,r)?e.components[r]:r}if(e.evaluater)return e.evaluater.evaluateExpression(n);Dl(e)}function Dl(e,t){const a=new Ut("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw a.file=e.filePath||void 0,a.url=z2+"#cannot-handle-mdx-estrees-without-createevaluater",a}function aI(e){const t={};let a;for(a in e)Ig.call(e,a)&&(t[nI(a)]=e[a]);return t}function nI(e){let t=e.replace(FL,rI);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function rI(e){return"-"+e.toLowerCase()}const Ug={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},iI={};function Bg(e,t){const a=iI,n=typeof a.includeImageAlt=="boolean"?a.includeImageAlt:!0,r=typeof a.includeHtml=="boolean"?a.includeHtml:!0;return R2(e,n,r)}function R2(e,t,a){if(sI(e)){if("value"in e)return e.type==="html"&&!a?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return L2(e.children,t,a)}return Array.isArray(e)?L2(e,t,a):""}function L2(e,t,a){const n=[];let r=-1;for(;++r<e.length;)n[r]=R2(e[r],t,a);return n.join("")}function sI(e){return!!(e&&typeof e=="object")}const I2=document.createElement("i");function Fg(e){const t="&"+e+";";I2.innerHTML=t;const a=I2.textContent;return a.charCodeAt(a.length-1)===59&&e!=="semi"||a===t?!1:a}function ka(e,t,a,n){const r=e.length;let i=0,s;if(t<0?t=-t>r?0:r+t:t=t>r?r:t,a=a>0?a:0,n.length<1e4)s=Array.from(n),s.unshift(t,a),e.splice(...s);else for(a&&e.splice(t,a);i<n.length;)s=n.slice(i,i+1e4),s.unshift(t,0),e.splice(...s),i+=1e4,t+=1e4}function La(e,t){return e.length>0?(ka(e,e.length,0,t),e):t}const M2={}.hasOwnProperty;function P2(e){const t={};let a=-1;for(;++a<e.length;)oI(t,e[a]);return t}function oI(e,t){let a;for(a in t){const r=(M2.call(e,a)?e[a]:void 0)||(e[a]={}),i=t[a];let s;if(i)for(s in i){M2.call(r,s)||(r[s]=[]);const o=i[s];lI(r[s],Array.isArray(o)?o:o?[o]:[])}}}function lI(e,t){let a=-1;const n=[];for(;++a<t.length;)(t[a].add==="after"?e:n).push(t[a]);ka(e,0,0,n)}function U2(e,t){const a=Number.parseInt(e,t);return a<9||a===11||a>13&&a<32||a>126&&a<160||a>55295&&a<57344||a>64975&&a<65008||(a&65535)===65535||(a&65535)===65534||a>1114111?"�":String.fromCodePoint(a)}function Ga(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Vt=Ar(/[A-Za-z]/),Bt=Ar(/[\dA-Za-z]/),cI=Ar(/[#-'*+\--9=?A-Z^-~]/);function Of(e){return e!==null&&(e<32||e===127)}const Hg=Ar(/\d/),uI=Ar(/[\dA-Fa-f]/),fI=Ar(/[!-/:-@[-`{-~]/);function se(e){return e!==null&&e<-2}function Fe(e){return e!==null&&(e<0||e===32)}function Ee(e){return e===-2||e===-1||e===32}const Df=Ar(new RegExp("\\p{P}|\\p{S}","u")),gi=Ar(/\s/);function Ar(e){return t;function t(a){return a!==null&&a>-1&&e.test(String.fromCharCode(a))}}function Ps(e){const t=[];let a=-1,n=0,r=0;for(;++a<e.length;){const i=e.charCodeAt(a);let s="";if(i===37&&Bt(e.charCodeAt(a+1))&&Bt(e.charCodeAt(a+2)))r=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(s=String.fromCharCode(i));else if(i>55295&&i<57344){const o=e.charCodeAt(a+1);i<56320&&o>56319&&o<57344?(s=String.fromCharCode(i,o),r=1):s="�"}else s=String.fromCharCode(i);s&&(t.push(e.slice(n,a),encodeURIComponent(s)),n=a+r+1,s=""),r&&(a+=r,r=0)}return t.join("")+e.slice(n)}function Ae(e,t,a,n){const r=n?n-1:Number.POSITIVE_INFINITY;let i=0;return s;function s(l){return Ee(l)?(e.enter(a),o(l)):t(l)}function o(l){return Ee(l)&&i++<r?(e.consume(l),o):(e.exit(a),t(l))}}const dI={tokenize:hI};function hI(e){const t=e.attempt(this.parser.constructs.contentInitial,n,r);let a;return t;function n(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),Ae(e,t,"linePrefix")}function r(o){return e.enter("paragraph"),i(o)}function i(o){const l=e.enter("chunkText",{contentType:"text",previous:a});return a&&(a.next=l),a=l,s(o)}function s(o){if(o===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(o);return}return se(o)?(e.consume(o),e.exit("chunkText"),i):(e.consume(o),s)}}const pI={tokenize:mI},B2={tokenize:gI};function mI(e){const t=this,a=[];let n=0,r,i,s;return o;function o(y){if(n<a.length){const b=a[n];return t.containerState=b[1],e.attempt(b[0].continuation,l,c)(y)}return c(y)}function l(y){if(n++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&k();const b=t.events.length;let w=b,h;for(;w--;)if(t.events[w][0]==="exit"&&t.events[w][1].type==="chunkFlow"){h=t.events[w][1].end;break}g(n);let S=b;for(;S<t.events.length;)t.events[S][1].end={...h},S++;return ka(t.events,w+1,0,t.events.slice(b)),t.events.length=S,c(y)}return o(y)}function c(y){if(n===a.length){if(!r)return u(y);if(r.currentConstruct&&r.currentConstruct.concrete)return _(y);t.interrupt=!!(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(B2,f,d)(y)}function f(y){return r&&k(),g(n),u(y)}function d(y){return t.parser.lazy[t.now().line]=n!==a.length,s=t.now().offset,_(y)}function u(y){return t.containerState={},e.attempt(B2,p,_)(y)}function p(y){return n++,a.push([t.currentConstruct,t.containerState]),u(y)}function _(y){if(y===null){r&&k(),g(0),e.consume(y);return}return r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:r,contentType:"flow",previous:i}),E(y)}function E(y){if(y===null){v(e.exit("chunkFlow"),!0),g(0),e.consume(y);return}return se(y)?(e.consume(y),v(e.exit("chunkFlow")),n=0,t.interrupt=void 0,o):(e.consume(y),E)}function v(y,b){const w=t.sliceStream(y);if(b&&w.push(null),y.previous=i,i&&(i.next=y),i=y,r.defineSkip(y.start),r.write(w),t.parser.lazy[y.start.line]){let h=r.events.length;for(;h--;)if(r.events[h][1].start.offset<s&&(!r.events[h][1].end||r.events[h][1].end.offset>s))return;const S=t.events.length;let O=S,x,T;for(;O--;)if(t.events[O][0]==="exit"&&t.events[O][1].type==="chunkFlow"){if(x){T=t.events[O][1].end;break}x=!0}for(g(n),h=S;h<t.events.length;)t.events[h][1].end={...T},h++;ka(t.events,O+1,0,t.events.slice(S)),t.events.length=h}}function g(y){let b=a.length;for(;b-- >y;){const w=a[b];t.containerState=w[1],w[0].exit.call(t,e)}a.length=y}function k(){r.write([null]),i=void 0,r=void 0,t.containerState._closeFlow=void 0}}function gI(e,t,a){return Ae(e,e.attempt(this.parser.constructs.document,t,a),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Us(e){if(e===null||Fe(e)||gi(e))return 1;if(Df(e))return 2}function Rf(e,t,a){const n=[];let r=-1;for(;++r<e.length;){const i=e[r].resolveAll;i&&!n.includes(i)&&(t=i(t,a),n.push(i))}return t}const jg={name:"attention",resolveAll:yI,tokenize:_I};function yI(e,t){let a=-1,n,r,i,s,o,l,c,f;for(;++a<e.length;)if(e[a][0]==="enter"&&e[a][1].type==="attentionSequence"&&e[a][1]._close){for(n=a;n--;)if(e[n][0]==="exit"&&e[n][1].type==="attentionSequence"&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[a][1]).charCodeAt(0)){if((e[n][1]._close||e[a][1]._open)&&(e[a][1].end.offset-e[a][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[a][1].end.offset-e[a][1].start.offset)%3))continue;l=e[n][1].end.offset-e[n][1].start.offset>1&&e[a][1].end.offset-e[a][1].start.offset>1?2:1;const d={...e[n][1].end},u={...e[a][1].start};F2(d,-l),F2(u,l),s={type:l>1?"strongSequence":"emphasisSequence",start:d,end:{...e[n][1].end}},o={type:l>1?"strongSequence":"emphasisSequence",start:{...e[a][1].start},end:u},i={type:l>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[a][1].start}},r={type:l>1?"strong":"emphasis",start:{...s.start},end:{...o.end}},e[n][1].end={...s.start},e[a][1].start={...o.end},c=[],e[n][1].end.offset-e[n][1].start.offset&&(c=La(c,[["enter",e[n][1],t],["exit",e[n][1],t]])),c=La(c,[["enter",r,t],["enter",s,t],["exit",s,t],["enter",i,t]]),c=La(c,Rf(t.parser.constructs.insideSpan.null,e.slice(n+1,a),t)),c=La(c,[["exit",i,t],["enter",o,t],["exit",o,t],["exit",r,t]]),e[a][1].end.offset-e[a][1].start.offset?(f=2,c=La(c,[["enter",e[a][1],t],["exit",e[a][1],t]])):f=0,ka(e,n-1,a-n+3,c),a=n+c.length-f-2;break}}for(a=-1;++a<e.length;)e[a][1].type==="attentionSequence"&&(e[a][1].type="data");return e}function _I(e,t){const a=this.parser.constructs.attentionMarkers.null,n=this.previous,r=Us(n);let i;return s;function s(l){return i=l,e.enter("attentionSequence"),o(l)}function o(l){if(l===i)return e.consume(l),o;const c=e.exit("attentionSequence"),f=Us(l),d=!f||f===2&&r||a.includes(l),u=!r||r===2&&f||a.includes(n);return c._open=!!(i===42?d:d&&(r||!u)),c._close=!!(i===42?u:u&&(f||!d)),t(l)}}function F2(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const bI={name:"autolink",tokenize:kI};function kI(e,t,a){let n=0;return r;function r(p){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i}function i(p){return Vt(p)?(e.consume(p),s):p===64?a(p):c(p)}function s(p){return p===43||p===45||p===46||Bt(p)?(n=1,o(p)):c(p)}function o(p){return p===58?(e.consume(p),n=0,l):(p===43||p===45||p===46||Bt(p))&&n++<32?(e.consume(p),o):(n=0,c(p))}function l(p){return p===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):p===null||p===32||p===60||Of(p)?a(p):(e.consume(p),l)}function c(p){return p===64?(e.consume(p),f):cI(p)?(e.consume(p),c):a(p)}function f(p){return Bt(p)?d(p):a(p)}function d(p){return p===46?(e.consume(p),n=0,f):p===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):u(p)}function u(p){if((p===45||Bt(p))&&n++<63){const _=p===45?u:d;return e.consume(p),_}return a(p)}}const Rl={partial:!0,tokenize:wI};function wI(e,t,a){return n;function n(i){return Ee(i)?Ae(e,r,"linePrefix")(i):r(i)}function r(i){return i===null||se(i)?t(i):a(i)}}const H2={continuation:{tokenize:TI},exit:vI,name:"blockQuote",tokenize:EI};function EI(e,t,a){const n=this;return r;function r(s){if(s===62){const o=n.containerState;return o.open||(e.enter("blockQuote",{_container:!0}),o.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(s),e.exit("blockQuoteMarker"),i}return a(s)}function i(s){return Ee(s)?(e.enter("blockQuotePrefixWhitespace"),e.consume(s),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(s))}}function TI(e,t,a){const n=this;return r;function r(s){return Ee(s)?Ae(e,i,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):i(s)}function i(s){return e.attempt(H2,t,a)(s)}}function vI(e){e.exit("blockQuote")}const j2={name:"characterEscape",tokenize:SI};function SI(e,t,a){return n;function n(i){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(i),e.exit("escapeMarker"),r}function r(i){return fI(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):a(i)}}const q2={name:"characterReference",tokenize:AI};function AI(e,t,a){const n=this;let r=0,i,s;return o;function o(d){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),l}function l(d){return d===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(d),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),i=31,s=Bt,f(d))}function c(d){return d===88||d===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(d),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,s=uI,f):(e.enter("characterReferenceValue"),i=7,s=Hg,f(d))}function f(d){if(d===59&&r){const u=e.exit("characterReferenceValue");return s===Bt&&!Fg(n.sliceSerialize(u))?a(d):(e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return s(d)&&r++<i?(e.consume(d),f):a(d)}}const Y2={partial:!0,tokenize:xI},$2={concrete:!0,name:"codeFenced",tokenize:CI};function CI(e,t,a){const n=this,r={partial:!0,tokenize:w};let i=0,s=0,o;return l;function l(h){return c(h)}function c(h){const S=n.events[n.events.length-1];return i=S&&S[1].type==="linePrefix"?S[2].sliceSerialize(S[1],!0).length:0,o=h,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),f(h)}function f(h){return h===o?(s++,e.consume(h),f):s<3?a(h):(e.exit("codeFencedFenceSequence"),Ee(h)?Ae(e,d,"whitespace")(h):d(h))}function d(h){return h===null||se(h)?(e.exit("codeFencedFence"),n.interrupt?t(h):e.check(Y2,E,b)(h)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),u(h))}function u(h){return h===null||se(h)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),d(h)):Ee(h)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Ae(e,p,"whitespace")(h)):h===96&&h===o?a(h):(e.consume(h),u)}function p(h){return h===null||se(h)?d(h):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),_(h))}function _(h){return h===null||se(h)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),d(h)):h===96&&h===o?a(h):(e.consume(h),_)}function E(h){return e.attempt(r,b,v)(h)}function v(h){return e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),g}function g(h){return i>0&&Ee(h)?Ae(e,k,"linePrefix",i+1)(h):k(h)}function k(h){return h===null||se(h)?e.check(Y2,E,b)(h):(e.enter("codeFlowValue"),y(h))}function y(h){return h===null||se(h)?(e.exit("codeFlowValue"),k(h)):(e.consume(h),y)}function b(h){return e.exit("codeFenced"),t(h)}function w(h,S,O){let x=0;return T;function T(j){return h.enter("lineEnding"),h.consume(j),h.exit("lineEnding"),z}function z(j){return h.enter("codeFencedFence"),Ee(j)?Ae(h,L,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(j):L(j)}function L(j){return j===o?(h.enter("codeFencedFenceSequence"),P(j)):O(j)}function P(j){return j===o?(x++,h.consume(j),P):x>=s?(h.exit("codeFencedFenceSequence"),Ee(j)?Ae(h,U,"whitespace")(j):U(j)):O(j)}function U(j){return j===null||se(j)?(h.exit("codeFencedFence"),S(j)):O(j)}}}function xI(e,t,a){const n=this;return r;function r(s){return s===null?a(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i)}function i(s){return n.parser.lazy[n.now().line]?a(s):t(s)}}const qg={name:"codeIndented",tokenize:NI},zI={partial:!0,tokenize:OI};function NI(e,t,a){const n=this;return r;function r(c){return e.enter("codeIndented"),Ae(e,i,"linePrefix",5)(c)}function i(c){const f=n.events[n.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?s(c):a(c)}function s(c){return c===null?l(c):se(c)?e.attempt(zI,s,l)(c):(e.enter("codeFlowValue"),o(c))}function o(c){return c===null||se(c)?(e.exit("codeFlowValue"),s(c)):(e.consume(c),o)}function l(c){return e.exit("codeIndented"),t(c)}}function OI(e,t,a){const n=this;return r;function r(s){return n.parser.lazy[n.now().line]?a(s):se(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),r):Ae(e,i,"linePrefix",5)(s)}function i(s){const o=n.events[n.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(s):se(s)?r(s):a(s)}}const DI={name:"codeText",previous:LI,resolve:RI,tokenize:II};function RI(e){let t=e.length-4,a=3,n,r;if((e[a][1].type==="lineEnding"||e[a][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=a;++n<t;)if(e[n][1].type==="codeTextData"){e[a][1].type="codeTextPadding",e[t][1].type="codeTextPadding",a+=2,t-=2;break}}for(n=a-1,t++;++n<=t;)r===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(r=n):(n===t||e[n][1].type==="lineEnding")&&(e[r][1].type="codeTextData",n!==r+2&&(e[r][1].end=e[n-1][1].end,e.splice(r+2,n-r-2),t-=n-r-2,n=r+2),r=void 0);return e}function LI(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function II(e,t,a){let n=0,r,i;return s;function s(d){return e.enter("codeText"),e.enter("codeTextSequence"),o(d)}function o(d){return d===96?(e.consume(d),n++,o):(e.exit("codeTextSequence"),l(d))}function l(d){return d===null?a(d):d===32?(e.enter("space"),e.consume(d),e.exit("space"),l):d===96?(i=e.enter("codeTextSequence"),r=0,f(d)):se(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),l):(e.enter("codeTextData"),c(d))}function c(d){return d===null||d===32||d===96||se(d)?(e.exit("codeTextData"),l(d)):(e.consume(d),c)}function f(d){return d===96?(e.consume(d),r++,f):r===n?(e.exit("codeTextSequence"),e.exit("codeText"),t(d)):(i.type="codeTextData",c(d))}}class MI{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,a){const n=a??Number.POSITIVE_INFINITY;return n<this.left.length?this.left.slice(t,n):t>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(t,a,n){const r=a||0;this.setCursor(Math.trunc(t));const i=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY);return n&&Ll(this.left,n),i.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Ll(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Ll(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const a=this.left.splice(t,Number.POSITIVE_INFINITY);Ll(this.right,a.reverse())}else{const a=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Ll(this.left,a.reverse())}}}function Ll(e,t){let a=0;if(t.length<1e4)e.push(...t);else for(;a<t.length;)e.push(...t.slice(a,a+1e4)),a+=1e4}function Q2(e){const t={};let a=-1,n,r,i,s,o,l,c;const f=new MI(e);for(;++a<f.length;){for(;a in t;)a=t[a];if(n=f.get(a),a&&n[1].type==="chunkFlow"&&f.get(a-1)[1].type==="listItemPrefix"&&(l=n[1]._tokenizer.events,i=0,i<l.length&&l[i][1].type==="lineEndingBlank"&&(i+=2),i<l.length&&l[i][1].type==="content"))for(;++i<l.length&&l[i][1].type!=="content";)l[i][1].type==="chunkText"&&(l[i][1]._isInFirstContentOfListItem=!0,i++);if(n[0]==="enter")n[1].contentType&&(Object.assign(t,PI(f,a)),a=t[a],c=!0);else if(n[1]._container){for(i=a,r=void 0;i--;)if(s=f.get(i),s[1].type==="lineEnding"||s[1].type==="lineEndingBlank")s[0]==="enter"&&(r&&(f.get(r)[1].type="lineEndingBlank"),s[1].type="lineEnding",r=i);else if(!(s[1].type==="linePrefix"||s[1].type==="listItemIndent"))break;r&&(n[1].end={...f.get(r)[1].start},o=f.slice(r,a),o.unshift(n),f.splice(r,a-r+1,o))}}return ka(e,0,Number.POSITIVE_INFINITY,f.slice(0)),!c}function PI(e,t){const a=e.get(t)[1],n=e.get(t)[2];let r=t-1;const i=[];let s=a._tokenizer;s||(s=n.parser[a.contentType](a.start),a._contentTypeTextTrailing&&(s._contentTypeTextTrailing=!0));const o=s.events,l=[],c={};let f,d,u=-1,p=a,_=0,E=0;const v=[E];for(;p;){for(;e.get(++r)[1]!==p;);i.push(r),p._tokenizer||(f=n.sliceStream(p),p.next||f.push(null),d&&s.defineSkip(p.start),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(f),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),d=p,p=p.next}for(p=a;++u<o.length;)o[u][0]==="exit"&&o[u-1][0]==="enter"&&o[u][1].type===o[u-1][1].type&&o[u][1].start.line!==o[u][1].end.line&&(E=u+1,v.push(E),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(s.events=[],p?(p._tokenizer=void 0,p.previous=void 0):v.pop(),u=v.length;u--;){const g=o.slice(v[u],v[u+1]),k=i.pop();l.push([k,k+g.length-1]),e.splice(k,2,g)}for(l.reverse(),u=-1;++u<l.length;)c[_+l[u][0]]=_+l[u][1],_+=l[u][1]-l[u][0]-1;return c}const UI={resolve:FI,tokenize:HI},BI={partial:!0,tokenize:jI};function FI(e){return Q2(e),e}function HI(e,t){let a;return n;function n(o){return e.enter("content"),a=e.enter("chunkContent",{contentType:"content"}),r(o)}function r(o){return o===null?i(o):se(o)?e.check(BI,s,i)(o):(e.consume(o),r)}function i(o){return e.exit("chunkContent"),e.exit("content"),t(o)}function s(o){return e.consume(o),e.exit("chunkContent"),a.next=e.enter("chunkContent",{contentType:"content",previous:a}),a=a.next,r}}function jI(e,t,a){const n=this;return r;function r(s){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),Ae(e,i,"linePrefix")}function i(s){if(s===null||se(s))return a(s);const o=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(s):e.interrupt(n.parser.constructs.flow,a,t)(s)}}function V2(e,t,a,n,r,i,s,o,l){const c=l||Number.POSITIVE_INFINITY;let f=0;return d;function d(g){return g===60?(e.enter(n),e.enter(r),e.enter(i),e.consume(g),e.exit(i),u):g===null||g===32||g===41||Of(g)?a(g):(e.enter(n),e.enter(s),e.enter(o),e.enter("chunkString",{contentType:"string"}),E(g))}function u(g){return g===62?(e.enter(i),e.consume(g),e.exit(i),e.exit(r),e.exit(n),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),p(g))}function p(g){return g===62?(e.exit("chunkString"),e.exit(o),u(g)):g===null||g===60||se(g)?a(g):(e.consume(g),g===92?_:p)}function _(g){return g===60||g===62||g===92?(e.consume(g),p):p(g)}function E(g){return!f&&(g===null||g===41||Fe(g))?(e.exit("chunkString"),e.exit(o),e.exit(s),e.exit(n),t(g)):f<c&&g===40?(e.consume(g),f++,E):g===41?(e.consume(g),f--,E):g===null||g===32||g===40||Of(g)?a(g):(e.consume(g),g===92?v:E)}function v(g){return g===40||g===41||g===92?(e.consume(g),E):E(g)}}function G2(e,t,a,n,r,i){const s=this;let o=0,l;return c;function c(p){return e.enter(n),e.enter(r),e.consume(p),e.exit(r),e.enter(i),f}function f(p){return o>999||p===null||p===91||p===93&&!l||p===94&&!o&&"_hiddenFootnoteSupport"in s.parser.constructs?a(p):p===93?(e.exit(i),e.enter(r),e.consume(p),e.exit(r),e.exit(n),t):se(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),f):(e.enter("chunkString",{contentType:"string"}),d(p))}function d(p){return p===null||p===91||p===93||se(p)||o++>999?(e.exit("chunkString"),f(p)):(e.consume(p),l||(l=!Ee(p)),p===92?u:d)}function u(p){return p===91||p===92||p===93?(e.consume(p),o++,d):d(p)}}function X2(e,t,a,n,r,i){let s;return o;function o(u){return u===34||u===39||u===40?(e.enter(n),e.enter(r),e.consume(u),e.exit(r),s=u===40?41:u,l):a(u)}function l(u){return u===s?(e.enter(r),e.consume(u),e.exit(r),e.exit(n),t):(e.enter(i),c(u))}function c(u){return u===s?(e.exit(i),l(s)):u===null?a(u):se(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),Ae(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),f(u))}function f(u){return u===s||u===null||se(u)?(e.exit("chunkString"),c(u)):(e.consume(u),u===92?d:f)}function d(u){return u===s||u===92?(e.consume(u),f):f(u)}}function Il(e,t){let a;return n;function n(r){return se(r)?(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),a=!0,n):Ee(r)?Ae(e,n,a?"linePrefix":"lineSuffix")(r):t(r)}}const qI={name:"definition",tokenize:$I},YI={partial:!0,tokenize:QI};function $I(e,t,a){const n=this;let r;return i;function i(p){return e.enter("definition"),s(p)}function s(p){return G2.call(n,e,o,a,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function o(p){return r=Ga(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),l):a(p)}function l(p){return Fe(p)?Il(e,c)(p):c(p)}function c(p){return V2(e,f,a,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function f(p){return e.attempt(YI,d,d)(p)}function d(p){return Ee(p)?Ae(e,u,"whitespace")(p):u(p)}function u(p){return p===null||se(p)?(e.exit("definition"),n.parser.defined.push(r),t(p)):a(p)}}function QI(e,t,a){return n;function n(o){return Fe(o)?Il(e,r)(o):a(o)}function r(o){return X2(e,i,a,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function i(o){return Ee(o)?Ae(e,s,"whitespace")(o):s(o)}function s(o){return o===null||se(o)?t(o):a(o)}}const VI={name:"hardBreakEscape",tokenize:GI};function GI(e,t,a){return n;function n(i){return e.enter("hardBreakEscape"),e.consume(i),r}function r(i){return se(i)?(e.exit("hardBreakEscape"),t(i)):a(i)}}const XI={name:"headingAtx",resolve:KI,tokenize:WI};function KI(e,t){let a=e.length-2,n=3,r,i;return e[n][1].type==="whitespace"&&(n+=2),a-2>n&&e[a][1].type==="whitespace"&&(a-=2),e[a][1].type==="atxHeadingSequence"&&(n===a-1||a-4>n&&e[a-2][1].type==="whitespace")&&(a-=n+1===a?2:4),a>n&&(r={type:"atxHeadingText",start:e[n][1].start,end:e[a][1].end},i={type:"chunkText",start:e[n][1].start,end:e[a][1].end,contentType:"text"},ka(e,n,a-n+1,[["enter",r,t],["enter",i,t],["exit",i,t],["exit",r,t]])),e}function WI(e,t,a){let n=0;return r;function r(f){return e.enter("atxHeading"),i(f)}function i(f){return e.enter("atxHeadingSequence"),s(f)}function s(f){return f===35&&n++<6?(e.consume(f),s):f===null||Fe(f)?(e.exit("atxHeadingSequence"),o(f)):a(f)}function o(f){return f===35?(e.enter("atxHeadingSequence"),l(f)):f===null||se(f)?(e.exit("atxHeading"),t(f)):Ee(f)?Ae(e,o,"whitespace")(f):(e.enter("atxHeadingText"),c(f))}function l(f){return f===35?(e.consume(f),l):(e.exit("atxHeadingSequence"),o(f))}function c(f){return f===null||f===35||Fe(f)?(e.exit("atxHeadingText"),o(f)):(e.consume(f),c)}}const ZI=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],K2=["pre","script","style","textarea"],JI={concrete:!0,name:"htmlFlow",resolveTo:aM,tokenize:nM},eM={partial:!0,tokenize:iM},tM={partial:!0,tokenize:rM};function aM(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function nM(e,t,a){const n=this;let r,i,s,o,l;return c;function c(M){return f(M)}function f(M){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(M),d}function d(M){return M===33?(e.consume(M),u):M===47?(e.consume(M),i=!0,E):M===63?(e.consume(M),r=3,n.interrupt?t:D):Vt(M)?(e.consume(M),s=String.fromCharCode(M),v):a(M)}function u(M){return M===45?(e.consume(M),r=2,p):M===91?(e.consume(M),r=5,o=0,_):Vt(M)?(e.consume(M),r=4,n.interrupt?t:D):a(M)}function p(M){return M===45?(e.consume(M),n.interrupt?t:D):a(M)}function _(M){const te="CDATA[";return M===te.charCodeAt(o++)?(e.consume(M),o===te.length?n.interrupt?t:L:_):a(M)}function E(M){return Vt(M)?(e.consume(M),s=String.fromCharCode(M),v):a(M)}function v(M){if(M===null||M===47||M===62||Fe(M)){const te=M===47,J=s.toLowerCase();return!te&&!i&&K2.includes(J)?(r=1,n.interrupt?t(M):L(M)):ZI.includes(s.toLowerCase())?(r=6,te?(e.consume(M),g):n.interrupt?t(M):L(M)):(r=7,n.interrupt&&!n.parser.lazy[n.now().line]?a(M):i?k(M):y(M))}return M===45||Bt(M)?(e.consume(M),s+=String.fromCharCode(M),v):a(M)}function g(M){return M===62?(e.consume(M),n.interrupt?t:L):a(M)}function k(M){return Ee(M)?(e.consume(M),k):T(M)}function y(M){return M===47?(e.consume(M),T):M===58||M===95||Vt(M)?(e.consume(M),b):Ee(M)?(e.consume(M),y):T(M)}function b(M){return M===45||M===46||M===58||M===95||Bt(M)?(e.consume(M),b):w(M)}function w(M){return M===61?(e.consume(M),h):Ee(M)?(e.consume(M),w):y(M)}function h(M){return M===null||M===60||M===61||M===62||M===96?a(M):M===34||M===39?(e.consume(M),l=M,S):Ee(M)?(e.consume(M),h):O(M)}function S(M){return M===l?(e.consume(M),l=null,x):M===null||se(M)?a(M):(e.consume(M),S)}function O(M){return M===null||M===34||M===39||M===47||M===60||M===61||M===62||M===96||Fe(M)?w(M):(e.consume(M),O)}function x(M){return M===47||M===62||Ee(M)?y(M):a(M)}function T(M){return M===62?(e.consume(M),z):a(M)}function z(M){return M===null||se(M)?L(M):Ee(M)?(e.consume(M),z):a(M)}function L(M){return M===45&&r===2?(e.consume(M),B):M===60&&r===1?(e.consume(M),q):M===62&&r===4?(e.consume(M),ne):M===63&&r===3?(e.consume(M),D):M===93&&r===5?(e.consume(M),V):se(M)&&(r===6||r===7)?(e.exit("htmlFlowData"),e.check(eM,ie,P)(M)):M===null||se(M)?(e.exit("htmlFlowData"),P(M)):(e.consume(M),L)}function P(M){return e.check(tM,U,ie)(M)}function U(M){return e.enter("lineEnding"),e.consume(M),e.exit("lineEnding"),j}function j(M){return M===null||se(M)?P(M):(e.enter("htmlFlowData"),L(M))}function B(M){return M===45?(e.consume(M),D):L(M)}function q(M){return M===47?(e.consume(M),s="",Y):L(M)}function Y(M){if(M===62){const te=s.toLowerCase();return K2.includes(te)?(e.consume(M),ne):L(M)}return Vt(M)&&s.length<8?(e.consume(M),s+=String.fromCharCode(M),Y):L(M)}function V(M){return M===93?(e.consume(M),D):L(M)}function D(M){return M===62?(e.consume(M),ne):M===45&&r===2?(e.consume(M),D):L(M)}function ne(M){return M===null||se(M)?(e.exit("htmlFlowData"),ie(M)):(e.consume(M),ne)}function ie(M){return e.exit("htmlFlow"),t(M)}}function rM(e,t,a){const n=this;return r;function r(s){return se(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i):a(s)}function i(s){return n.parser.lazy[n.now().line]?a(s):t(s)}}function iM(e,t,a){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(Rl,t,a)}}const sM={name:"htmlText",tokenize:oM};function oM(e,t,a){const n=this;let r,i,s;return o;function o(D){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(D),l}function l(D){return D===33?(e.consume(D),c):D===47?(e.consume(D),w):D===63?(e.consume(D),y):Vt(D)?(e.consume(D),O):a(D)}function c(D){return D===45?(e.consume(D),f):D===91?(e.consume(D),i=0,_):Vt(D)?(e.consume(D),k):a(D)}function f(D){return D===45?(e.consume(D),p):a(D)}function d(D){return D===null?a(D):D===45?(e.consume(D),u):se(D)?(s=d,q(D)):(e.consume(D),d)}function u(D){return D===45?(e.consume(D),p):d(D)}function p(D){return D===62?B(D):D===45?u(D):d(D)}function _(D){const ne="CDATA[";return D===ne.charCodeAt(i++)?(e.consume(D),i===ne.length?E:_):a(D)}function E(D){return D===null?a(D):D===93?(e.consume(D),v):se(D)?(s=E,q(D)):(e.consume(D),E)}function v(D){return D===93?(e.consume(D),g):E(D)}function g(D){return D===62?B(D):D===93?(e.consume(D),g):E(D)}function k(D){return D===null||D===62?B(D):se(D)?(s=k,q(D)):(e.consume(D),k)}function y(D){return D===null?a(D):D===63?(e.consume(D),b):se(D)?(s=y,q(D)):(e.consume(D),y)}function b(D){return D===62?B(D):y(D)}function w(D){return Vt(D)?(e.consume(D),h):a(D)}function h(D){return D===45||Bt(D)?(e.consume(D),h):S(D)}function S(D){return se(D)?(s=S,q(D)):Ee(D)?(e.consume(D),S):B(D)}function O(D){return D===45||Bt(D)?(e.consume(D),O):D===47||D===62||Fe(D)?x(D):a(D)}function x(D){return D===47?(e.consume(D),B):D===58||D===95||Vt(D)?(e.consume(D),T):se(D)?(s=x,q(D)):Ee(D)?(e.consume(D),x):B(D)}function T(D){return D===45||D===46||D===58||D===95||Bt(D)?(e.consume(D),T):z(D)}function z(D){return D===61?(e.consume(D),L):se(D)?(s=z,q(D)):Ee(D)?(e.consume(D),z):x(D)}function L(D){return D===null||D===60||D===61||D===62||D===96?a(D):D===34||D===39?(e.consume(D),r=D,P):se(D)?(s=L,q(D)):Ee(D)?(e.consume(D),L):(e.consume(D),U)}function P(D){return D===r?(e.consume(D),r=void 0,j):D===null?a(D):se(D)?(s=P,q(D)):(e.consume(D),P)}function U(D){return D===null||D===34||D===39||D===60||D===61||D===96?a(D):D===47||D===62||Fe(D)?x(D):(e.consume(D),U)}function j(D){return D===47||D===62||Fe(D)?x(D):a(D)}function B(D){return D===62?(e.consume(D),e.exit("htmlTextData"),e.exit("htmlText"),t):a(D)}function q(D){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(D),e.exit("lineEnding"),Y}function Y(D){return Ee(D)?Ae(e,V,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(D):V(D)}function V(D){return e.enter("htmlTextData"),s(D)}}const Yg={name:"labelEnd",resolveAll:fM,resolveTo:dM,tokenize:hM},lM={tokenize:pM},cM={tokenize:mM},uM={tokenize:gM};function fM(e){let t=-1;const a=[];for(;++t<e.length;){const n=e[t][1];if(a.push(e[t]),n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd"){const r=n.type==="labelImage"?4:2;n.type="data",t+=r}}return e.length!==a.length&&ka(e,0,e.length,a),e}function dM(e,t){let a=e.length,n=0,r,i,s,o;for(;a--;)if(r=e[a][1],i){if(r.type==="link"||r.type==="labelLink"&&r._inactive)break;e[a][0]==="enter"&&r.type==="labelLink"&&(r._inactive=!0)}else if(s){if(e[a][0]==="enter"&&(r.type==="labelImage"||r.type==="labelLink")&&!r._balanced&&(i=a,r.type!=="labelLink")){n=2;break}}else r.type==="labelEnd"&&(s=a);const l={type:e[i][1].type==="labelLink"?"link":"image",start:{...e[i][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[i][1].start},end:{...e[s][1].end}},f={type:"labelText",start:{...e[i+n+2][1].end},end:{...e[s-2][1].start}};return o=[["enter",l,t],["enter",c,t]],o=La(o,e.slice(i+1,i+n+3)),o=La(o,[["enter",f,t]]),o=La(o,Rf(t.parser.constructs.insideSpan.null,e.slice(i+n+4,s-3),t)),o=La(o,[["exit",f,t],e[s-2],e[s-1],["exit",c,t]]),o=La(o,e.slice(s+1)),o=La(o,[["exit",l,t]]),ka(e,i,e.length,o),e}function hM(e,t,a){const n=this;let r=n.events.length,i,s;for(;r--;)if((n.events[r][1].type==="labelImage"||n.events[r][1].type==="labelLink")&&!n.events[r][1]._balanced){i=n.events[r][1];break}return o;function o(u){return i?i._inactive?d(u):(s=n.parser.defined.includes(Ga(n.sliceSerialize({start:i.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelEnd"),l):a(u)}function l(u){return u===40?e.attempt(lM,f,s?f:d)(u):u===91?e.attempt(cM,f,s?c:d)(u):s?f(u):d(u)}function c(u){return e.attempt(uM,f,d)(u)}function f(u){return t(u)}function d(u){return i._balanced=!0,a(u)}}function pM(e,t,a){return n;function n(d){return e.enter("resource"),e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),r}function r(d){return Fe(d)?Il(e,i)(d):i(d)}function i(d){return d===41?f(d):V2(e,s,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(d)}function s(d){return Fe(d)?Il(e,l)(d):f(d)}function o(d){return a(d)}function l(d){return d===34||d===39||d===40?X2(e,c,a,"resourceTitle","resourceTitleMarker","resourceTitleString")(d):f(d)}function c(d){return Fe(d)?Il(e,f)(d):f(d)}function f(d){return d===41?(e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),e.exit("resource"),t):a(d)}}function mM(e,t,a){const n=this;return r;function r(o){return G2.call(n,e,i,s,"reference","referenceMarker","referenceString")(o)}function i(o){return n.parser.defined.includes(Ga(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(o):a(o)}function s(o){return a(o)}}function gM(e,t,a){return n;function n(i){return e.enter("reference"),e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),r}function r(i){return i===93?(e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),e.exit("reference"),t):a(i)}}const yM={name:"labelStartImage",resolveAll:Yg.resolveAll,tokenize:_M};function _M(e,t,a){const n=this;return r;function r(o){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(o),e.exit("labelImageMarker"),i}function i(o){return o===91?(e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelImage"),s):a(o)}function s(o){return o===94&&"_hiddenFootnoteSupport"in n.parser.constructs?a(o):t(o)}}const bM={name:"labelStartLink",resolveAll:Yg.resolveAll,tokenize:kM};function kM(e,t,a){const n=this;return r;function r(s){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelLink"),i}function i(s){return s===94&&"_hiddenFootnoteSupport"in n.parser.constructs?a(s):t(s)}}const $g={name:"lineEnding",tokenize:wM};function wM(e,t){return a;function a(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),Ae(e,t,"linePrefix")}}const Lf={name:"thematicBreak",tokenize:EM};function EM(e,t,a){let n=0,r;return i;function i(c){return e.enter("thematicBreak"),s(c)}function s(c){return r=c,o(c)}function o(c){return c===r?(e.enter("thematicBreakSequence"),l(c)):n>=3&&(c===null||se(c))?(e.exit("thematicBreak"),t(c)):a(c)}function l(c){return c===r?(e.consume(c),n++,l):(e.exit("thematicBreakSequence"),Ee(c)?Ae(e,o,"whitespace")(c):o(c))}}const ia={continuation:{tokenize:AM},exit:xM,name:"list",tokenize:SM},TM={partial:!0,tokenize:zM},vM={partial:!0,tokenize:CM};function SM(e,t,a){const n=this,r=n.events[n.events.length-1];let i=r&&r[1].type==="linePrefix"?r[2].sliceSerialize(r[1],!0).length:0,s=0;return o;function o(p){const _=n.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(_==="listUnordered"?!n.containerState.marker||p===n.containerState.marker:Hg(p)){if(n.containerState.type||(n.containerState.type=_,e.enter(_,{_container:!0})),_==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(Lf,a,c)(p):c(p);if(!n.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(p)}return a(p)}function l(p){return Hg(p)&&++s<10?(e.consume(p),l):(!n.interrupt||s<2)&&(n.containerState.marker?p===n.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),c(p)):a(p)}function c(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||p,e.check(Rl,n.interrupt?a:f,e.attempt(TM,u,d))}function f(p){return n.containerState.initialBlankLine=!0,i++,u(p)}function d(p){return Ee(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),u):a(p)}function u(p){return n.containerState.size=i+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function AM(e,t,a){const n=this;return n.containerState._closeFlow=void 0,e.check(Rl,r,i);function r(o){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,Ae(e,t,"listItemIndent",n.containerState.size+1)(o)}function i(o){return n.containerState.furtherBlankLines||!Ee(o)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,s(o)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,e.attempt(vM,t,s)(o))}function s(o){return n.containerState._closeFlow=!0,n.interrupt=void 0,Ae(e,e.attempt(ia,t,a),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function CM(e,t,a){const n=this;return Ae(e,r,"listItemIndent",n.containerState.size+1);function r(i){const s=n.events[n.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===n.containerState.size?t(i):a(i)}}function xM(e){e.exit(this.containerState.type)}function zM(e,t,a){const n=this;return Ae(e,r,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function r(i){const s=n.events[n.events.length-1];return!Ee(i)&&s&&s[1].type==="listItemPrefixWhitespace"?t(i):a(i)}}const W2={name:"setextUnderline",resolveTo:NM,tokenize:OM};function NM(e,t){let a=e.length,n,r,i;for(;a--;)if(e[a][0]==="enter"){if(e[a][1].type==="content"){n=a;break}e[a][1].type==="paragraph"&&(r=a)}else e[a][1].type==="content"&&e.splice(a,1),!i&&e[a][1].type==="definition"&&(i=a);const s={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",s,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end={...e[i][1].end}):e[n][1]=s,e.push(["exit",s,t]),e}function OM(e,t,a){const n=this;let r;return i;function i(c){let f=n.events.length,d;for(;f--;)if(n.events[f][1].type!=="lineEnding"&&n.events[f][1].type!=="linePrefix"&&n.events[f][1].type!=="content"){d=n.events[f][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||d)?(e.enter("setextHeadingLine"),r=c,s(c)):a(c)}function s(c){return e.enter("setextHeadingLineSequence"),o(c)}function o(c){return c===r?(e.consume(c),o):(e.exit("setextHeadingLineSequence"),Ee(c)?Ae(e,l,"lineSuffix")(c):l(c))}function l(c){return c===null||se(c)?(e.exit("setextHeadingLine"),t(c)):a(c)}}const DM={tokenize:RM};function RM(e){const t=this,a=e.attempt(Rl,n,e.attempt(this.parser.constructs.flowInitial,r,Ae(e,e.attempt(this.parser.constructs.flow,r,e.attempt(UI,r)),"linePrefix")));return a;function n(i){if(i===null){e.consume(i);return}return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),t.currentConstruct=void 0,a}function r(i){if(i===null){e.consume(i);return}return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t.currentConstruct=void 0,a}}const LM={resolveAll:J2()},IM=Z2("string"),MM=Z2("text");function Z2(e){return{resolveAll:J2(e==="text"?PM:void 0),tokenize:t};function t(a){const n=this,r=this.parser.constructs[e],i=a.attempt(r,s,o);return s;function s(f){return c(f)?i(f):o(f)}function o(f){if(f===null){a.consume(f);return}return a.enter("data"),a.consume(f),l}function l(f){return c(f)?(a.exit("data"),i(f)):(a.consume(f),l)}function c(f){if(f===null)return!0;const d=r[f];let u=-1;if(d)for(;++u<d.length;){const p=d[u];if(!p.previous||p.previous.call(n,n.previous))return!0}return!1}}}function J2(e){return t;function t(a,n){let r=-1,i;for(;++r<=a.length;)i===void 0?a[r]&&a[r][1].type==="data"&&(i=r,r++):(!a[r]||a[r][1].type!=="data")&&(r!==i+2&&(a[i][1].end=a[r-1][1].end,a.splice(i+2,r-i-2),r=i+2),i=void 0);return e?e(a,n):a}}function PM(e,t){let a=0;for(;++a<=e.length;)if((a===e.length||e[a][1].type==="lineEnding")&&e[a-1][1].type==="data"){const n=e[a-1][1],r=t.sliceStream(n);let i=r.length,s=-1,o=0,l;for(;i--;){const c=r[i];if(typeof c=="string"){for(s=c.length;c.charCodeAt(s-1)===32;)o++,s--;if(s)break;s=-1}else if(c===-2)l=!0,o++;else if(c!==-1){i++;break}}if(t._contentTypeTextTrailing&&a===e.length&&(o=0),o){const c={type:a===e.length||l||o<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:i?s:n.start._bufferIndex+s,_index:n.start._index+i,line:n.end.line,column:n.end.column-o,offset:n.end.offset-o},end:{...n.end}};n.end={...c.start},n.start.offset===n.end.offset?Object.assign(n,c):(e.splice(a,0,["enter",c,t],["exit",c,t]),a+=2)}a++}return e}const UM=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:qI},disable:{null:[]},document:{42:ia,43:ia,45:ia,48:ia,49:ia,50:ia,51:ia,52:ia,53:ia,54:ia,55:ia,56:ia,57:ia,62:H2},flow:{35:XI,42:Lf,45:[W2,Lf],60:JI,61:W2,95:Lf,96:$2,126:$2},flowInitial:{[-2]:qg,[-1]:qg,32:qg},insideSpan:{null:[jg,LM]},string:{38:q2,92:j2},text:{[-5]:$g,[-4]:$g,[-3]:$g,33:yM,38:q2,42:jg,60:[bI,sM],91:bM,92:[VI,j2],93:Yg,95:jg,96:DI}},Symbol.toStringTag,{value:"Module"}));function BM(e,t,a){let n={_bufferIndex:-1,_index:0,line:a&&a.line||1,column:a&&a.column||1,offset:a&&a.offset||0};const r={},i=[];let s=[],o=[];const l={attempt:S(w),check:S(h),consume:k,enter:y,exit:b,interrupt:S(h,{interrupt:!0})},c={code:null,containerState:{},defineSkip:E,events:[],now:_,parser:e,previous:null,sliceSerialize:u,sliceStream:p,write:d};let f=t.tokenize.call(c,l);return t.resolveAll&&i.push(t),c;function d(z){return s=La(s,z),v(),s[s.length-1]!==null?[]:(O(t,0),c.events=Rf(i,c.events,c),c.events)}function u(z,L){return HM(p(z),L)}function p(z){return FM(s,z)}function _(){const{_bufferIndex:z,_index:L,line:P,column:U,offset:j}=n;return{_bufferIndex:z,_index:L,line:P,column:U,offset:j}}function E(z){r[z.line]=z.column,T()}function v(){let z;for(;n._index<s.length;){const L=s[n._index];if(typeof L=="string")for(z=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===z&&n._bufferIndex<L.length;)g(L.charCodeAt(n._bufferIndex));else g(L)}}function g(z){f=f(z)}function k(z){se(z)?(n.line++,n.column=1,n.offset+=z===-3?2:1,T()):z!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===s[n._index].length&&(n._bufferIndex=-1,n._index++)),c.previous=z}function y(z,L){const P=L||{};return P.type=z,P.start=_(),c.events.push(["enter",P,c]),o.push(P),P}function b(z){const L=o.pop();return L.end=_(),c.events.push(["exit",L,c]),L}function w(z,L){O(z,L.from)}function h(z,L){L.restore()}function S(z,L){return P;function P(U,j,B){let q,Y,V,D;return Array.isArray(U)?ie(U):"tokenize"in U?ie([U]):ne(U);function ne(le){return ge;function ge(He){const Ht=He!==null&&le[He],Ne=He!==null&&le.null,ze=[...Array.isArray(Ht)?Ht:Ht?[Ht]:[],...Array.isArray(Ne)?Ne:Ne?[Ne]:[]];return ie(ze)(He)}}function ie(le){return q=le,Y=0,le.length===0?B:M(le[Y])}function M(le){return ge;function ge(He){return D=x(),V=le,le.partial||(c.currentConstruct=le),le.name&&c.parser.constructs.disable.null.includes(le.name)?J():le.tokenize.call(L?Object.assign(Object.create(c),L):c,l,te,J)(He)}}function te(le){return z(V,D),j}function J(le){return D.restore(),++Y<q.length?M(q[Y]):B}}}function O(z,L){z.resolveAll&&!i.includes(z)&&i.push(z),z.resolve&&ka(c.events,L,c.events.length-L,z.resolve(c.events.slice(L),c)),z.resolveTo&&(c.events=z.resolveTo(c.events,c))}function x(){const z=_(),L=c.previous,P=c.currentConstruct,U=c.events.length,j=Array.from(o);return{from:U,restore:B};function B(){n=z,c.previous=L,c.currentConstruct=P,c.events.length=U,o=j,T()}}function T(){n.line in r&&n.column<2&&(n.column=r[n.line],n.offset+=r[n.line]-1)}}function FM(e,t){const a=t.start._index,n=t.start._bufferIndex,r=t.end._index,i=t.end._bufferIndex;let s;if(a===r)s=[e[a].slice(n,i)];else{if(s=e.slice(a,r),n>-1){const o=s[0];typeof o=="string"?s[0]=o.slice(n):s.shift()}i>0&&s.push(e[r].slice(0,i))}return s}function HM(e,t){let a=-1;const n=[];let r;for(;++a<e.length;){const i=e[a];let s;if(typeof i=="string")s=i;else switch(i){case-5:{s="\r";break}case-4:{s=`
`;break}case-3:{s=`\r
`;break}case-2:{s=t?" ":"	";break}case-1:{if(!t&&r)continue;s=" ";break}default:s=String.fromCharCode(i)}r=i===-2,n.push(s)}return n.join("")}function jM(e){const n={constructs:P2([UM,...(e||{}).extensions||[]]),content:r(dI),defined:[],document:r(pI),flow:r(DM),lazy:{},string:r(IM),text:r(MM)};return n;function r(i){return s;function s(o){return BM(n,i,o)}}}function qM(e){for(;!Q2(e););return e}const ev=/[\0\t\n\r]/g;function YM(){let e=1,t="",a=!0,n;return r;function r(i,s,o){const l=[];let c,f,d,u,p;for(i=t+(typeof i=="string"?i.toString():new TextDecoder(s||void 0).decode(i)),d=0,t="",a&&(i.charCodeAt(0)===65279&&d++,a=void 0);d<i.length;){if(ev.lastIndex=d,c=ev.exec(i),u=c&&c.index!==void 0?c.index:i.length,p=i.charCodeAt(u),!c){t=i.slice(d);break}if(p===10&&d===u&&n)l.push(-3),n=void 0;else switch(n&&(l.push(-5),n=void 0),d<u&&(l.push(i.slice(d,u)),e+=u-d),p){case 0:{l.push(65533),e++;break}case 9:{for(f=Math.ceil(e/4)*4,l.push(-2);e++<f;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:n=!0,e=1}d=u+1}return o&&(n&&l.push(-5),t&&l.push(t),l.push(null)),l}}const $M=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function QM(e){return e.replace($M,VM)}function VM(e,t,a){if(t)return t;if(a.charCodeAt(0)===35){const r=a.charCodeAt(1),i=r===120||r===88;return U2(a.slice(i?2:1),i?16:10)}return Fg(a)||e}const tv={}.hasOwnProperty;function GM(e,t,a){return typeof t!="string"&&(a=t,t=void 0),XM(a)(qM(jM(a).document().write(YM()(e,t,!0))))}function XM(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(Xs),autolinkProtocol:x,autolinkEmail:x,atxHeading:i(jn),blockQuote:i(Ne),characterEscape:x,characterReference:x,codeFenced:i(ze),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:i(ze,s),codeText:i(Rt,s),codeTextData:x,data:x,codeFlowValue:x,definition:i(Dr),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:i(Pa),hardBreakEscape:i(Ea),hardBreakTrailing:i(Ea),htmlFlow:i(Ka,s),htmlFlowData:x,htmlText:i(Ka,s),htmlTextData:x,image:i(Ei),label:s,link:i(Xs),listItem:i(rd),listItemValue:u,listOrdered:i(nd,d),listUnordered:i(nd),paragraph:i(By),reference:M,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:i(jn),strong:i(oq),thematicBreak:i(cq)},exit:{atxHeading:l(),atxHeadingSequence:w,autolink:l(),autolinkEmail:Ht,autolinkProtocol:He,blockQuote:l(),characterEscapeValue:T,characterReferenceMarkerHexadecimal:J,characterReferenceMarkerNumeric:J,characterReferenceValue:le,characterReference:ge,codeFenced:l(v),codeFencedFence:E,codeFencedFenceInfo:p,codeFencedFenceMeta:_,codeFlowValue:T,codeIndented:l(g),codeText:l(j),codeTextData:T,data:T,definition:l(),definitionDestinationString:b,definitionLabelString:k,definitionTitleString:y,emphasis:l(),hardBreakEscape:l(L),hardBreakTrailing:l(L),htmlFlow:l(P),htmlFlowData:T,htmlText:l(U),htmlTextData:T,image:l(q),label:V,labelText:Y,lineEnding:z,link:l(B),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:te,resourceDestinationString:D,resourceTitleString:ne,resource:ie,setextHeading:l(O),setextHeadingLineSequence:S,setextHeadingText:h,strong:l(),thematicBreak:l()}};av(t,(e||{}).mdastExtensions||[]);const a={};return n;function n($){let Z={type:"root",children:[]};const fe={stack:[Z],tokenStack:[],config:t,enter:o,exit:c,buffer:s,resume:f,data:a},Se=[];let je=-1;for(;++je<$.length;)if($[je][1].type==="listOrdered"||$[je][1].type==="listUnordered")if($[je][0]==="enter")Se.push(je);else{const Wa=Se.pop();je=r($,Wa,je)}for(je=-1;++je<$.length;){const Wa=t[$[je][0]];tv.call(Wa,$[je][1].type)&&Wa[$[je][1].type].call(Object.assign({sliceSerialize:$[je][2].sliceSerialize},fe),$[je][1])}if(fe.tokenStack.length>0){const Wa=fe.tokenStack[fe.tokenStack.length-1];(Wa[1]||nv).call(fe,void 0,Wa[0])}for(Z.position={start:Cr($.length>0?$[0][1].start:{line:1,column:1,offset:0}),end:Cr($.length>0?$[$.length-2][1].end:{line:1,column:1,offset:0})},je=-1;++je<t.transforms.length;)Z=t.transforms[je](Z)||Z;return Z}function r($,Z,fe){let Se=Z-1,je=-1,Wa=!1,Ti,qn,ac,nc;for(;++Se<=fe;){const Ta=$[Se];switch(Ta[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Ta[0]==="enter"?je++:je--,nc=void 0;break}case"lineEndingBlank":{Ta[0]==="enter"&&(Ti&&!nc&&!je&&!ac&&(ac=Se),nc=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:nc=void 0}if(!je&&Ta[0]==="enter"&&Ta[1].type==="listItemPrefix"||je===-1&&Ta[0]==="exit"&&(Ta[1].type==="listUnordered"||Ta[1].type==="listOrdered")){if(Ti){let Ks=Se;for(qn=void 0;Ks--;){const Yn=$[Ks];if(Yn[1].type==="lineEnding"||Yn[1].type==="lineEndingBlank"){if(Yn[0]==="exit")continue;qn&&($[qn][1].type="lineEndingBlank",Wa=!0),Yn[1].type="lineEnding",qn=Ks}else if(!(Yn[1].type==="linePrefix"||Yn[1].type==="blockQuotePrefix"||Yn[1].type==="blockQuotePrefixWhitespace"||Yn[1].type==="blockQuoteMarker"||Yn[1].type==="listItemIndent"))break}ac&&(!qn||ac<qn)&&(Ti._spread=!0),Ti.end=Object.assign({},qn?$[qn][1].start:Ta[1].end),$.splice(qn||Se,0,["exit",Ti,Ta[2]]),Se++,fe++}if(Ta[1].type==="listItemPrefix"){const Ks={type:"listItem",_spread:!1,start:Object.assign({},Ta[1].start),end:void 0};Ti=Ks,$.splice(Se,0,["enter",Ks,Ta[2]]),Se++,fe++,ac=void 0,nc=!0}}}return $[Z][1]._spread=Wa,fe}function i($,Z){return fe;function fe(Se){o.call(this,$(Se),Se),Z&&Z.call(this,Se)}}function s(){this.stack.push({type:"fragment",children:[]})}function o($,Z,fe){this.stack[this.stack.length-1].children.push($),this.stack.push($),this.tokenStack.push([Z,fe||void 0]),$.position={start:Cr(Z.start),end:void 0}}function l($){return Z;function Z(fe){$&&$.call(this,fe),c.call(this,fe)}}function c($,Z){const fe=this.stack.pop(),Se=this.tokenStack.pop();if(Se)Se[0].type!==$.type&&(Z?Z.call(this,$,Se[0]):(Se[1]||nv).call(this,$,Se[0]));else throw new Error("Cannot close `"+$.type+"` ("+Ol({start:$.start,end:$.end})+"): it’s not open");fe.position.end=Cr($.end)}function f(){return Bg(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function u($){if(this.data.expectingFirstListItemValue){const Z=this.stack[this.stack.length-2];Z.start=Number.parseInt(this.sliceSerialize($),10),this.data.expectingFirstListItemValue=void 0}}function p(){const $=this.resume(),Z=this.stack[this.stack.length-1];Z.lang=$}function _(){const $=this.resume(),Z=this.stack[this.stack.length-1];Z.meta=$}function E(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function v(){const $=this.resume(),Z=this.stack[this.stack.length-1];Z.value=$.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function g(){const $=this.resume(),Z=this.stack[this.stack.length-1];Z.value=$.replace(/(\r?\n|\r)$/g,"")}function k($){const Z=this.resume(),fe=this.stack[this.stack.length-1];fe.label=Z,fe.identifier=Ga(this.sliceSerialize($)).toLowerCase()}function y(){const $=this.resume(),Z=this.stack[this.stack.length-1];Z.title=$}function b(){const $=this.resume(),Z=this.stack[this.stack.length-1];Z.url=$}function w($){const Z=this.stack[this.stack.length-1];if(!Z.depth){const fe=this.sliceSerialize($).length;Z.depth=fe}}function h(){this.data.setextHeadingSlurpLineEnding=!0}function S($){const Z=this.stack[this.stack.length-1];Z.depth=this.sliceSerialize($).codePointAt(0)===61?1:2}function O(){this.data.setextHeadingSlurpLineEnding=void 0}function x($){const fe=this.stack[this.stack.length-1].children;let Se=fe[fe.length-1];(!Se||Se.type!=="text")&&(Se=lq(),Se.position={start:Cr($.start),end:void 0},fe.push(Se)),this.stack.push(Se)}function T($){const Z=this.stack.pop();Z.value+=this.sliceSerialize($),Z.position.end=Cr($.end)}function z($){const Z=this.stack[this.stack.length-1];if(this.data.atHardBreak){const fe=Z.children[Z.children.length-1];fe.position.end=Cr($.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(Z.type)&&(x.call(this,$),T.call(this,$))}function L(){this.data.atHardBreak=!0}function P(){const $=this.resume(),Z=this.stack[this.stack.length-1];Z.value=$}function U(){const $=this.resume(),Z=this.stack[this.stack.length-1];Z.value=$}function j(){const $=this.resume(),Z=this.stack[this.stack.length-1];Z.value=$}function B(){const $=this.stack[this.stack.length-1];if(this.data.inReference){const Z=this.data.referenceType||"shortcut";$.type+="Reference",$.referenceType=Z,delete $.url,delete $.title}else delete $.identifier,delete $.label;this.data.referenceType=void 0}function q(){const $=this.stack[this.stack.length-1];if(this.data.inReference){const Z=this.data.referenceType||"shortcut";$.type+="Reference",$.referenceType=Z,delete $.url,delete $.title}else delete $.identifier,delete $.label;this.data.referenceType=void 0}function Y($){const Z=this.sliceSerialize($),fe=this.stack[this.stack.length-2];fe.label=QM(Z),fe.identifier=Ga(Z).toLowerCase()}function V(){const $=this.stack[this.stack.length-1],Z=this.resume(),fe=this.stack[this.stack.length-1];if(this.data.inReference=!0,fe.type==="link"){const Se=$.children;fe.children=Se}else fe.alt=Z}function D(){const $=this.resume(),Z=this.stack[this.stack.length-1];Z.url=$}function ne(){const $=this.resume(),Z=this.stack[this.stack.length-1];Z.title=$}function ie(){this.data.inReference=void 0}function M(){this.data.referenceType="collapsed"}function te($){const Z=this.resume(),fe=this.stack[this.stack.length-1];fe.label=Z,fe.identifier=Ga(this.sliceSerialize($)).toLowerCase(),this.data.referenceType="full"}function J($){this.data.characterReferenceType=$.type}function le($){const Z=this.sliceSerialize($),fe=this.data.characterReferenceType;let Se;fe?(Se=U2(Z,fe==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Se=Fg(Z);const je=this.stack[this.stack.length-1];je.value+=Se}function ge($){const Z=this.stack.pop();Z.position.end=Cr($.end)}function He($){T.call(this,$);const Z=this.stack[this.stack.length-1];Z.url=this.sliceSerialize($)}function Ht($){T.call(this,$);const Z=this.stack[this.stack.length-1];Z.url="mailto:"+this.sliceSerialize($)}function Ne(){return{type:"blockquote",children:[]}}function ze(){return{type:"code",lang:null,meta:null,value:""}}function Rt(){return{type:"inlineCode",value:""}}function Dr(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Pa(){return{type:"emphasis",children:[]}}function jn(){return{type:"heading",depth:0,children:[]}}function Ea(){return{type:"break"}}function Ka(){return{type:"html",value:""}}function Ei(){return{type:"image",title:null,url:"",alt:null}}function Xs(){return{type:"link",title:null,url:"",children:[]}}function nd($){return{type:"list",ordered:$.type==="listOrdered",start:null,spread:$._spread,children:[]}}function rd($){return{type:"listItem",spread:$._spread,checked:null,children:[]}}function By(){return{type:"paragraph",children:[]}}function oq(){return{type:"strong",children:[]}}function lq(){return{type:"text",value:""}}function cq(){return{type:"thematicBreak"}}}function Cr(e){return{line:e.line,column:e.column,offset:e.offset}}function av(e,t){let a=-1;for(;++a<t.length;){const n=t[a];Array.isArray(n)?av(e,n):KM(e,n)}}function KM(e,t){let a;for(a in t)if(tv.call(t,a))switch(a){case"canContainEols":{const n=t[a];n&&e[a].push(...n);break}case"transforms":{const n=t[a];n&&e[a].push(...n);break}case"enter":case"exit":{const n=t[a];n&&Object.assign(e[a],n);break}}}function nv(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Ol({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Ol({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Ol({start:t.start,end:t.end})+") is still open")}function WM(e){const t=this;t.parser=a;function a(n){return GM(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function ZM(e,t){const a={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,a),e.applyData(t,a)}function JM(e,t){const a={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,a),[e.applyData(t,a),{type:"text",value:`
`}]}function e8(e,t){const a=t.value?t.value+`
`:"",n={};t.lang&&(n.className=["language-"+t.lang]);let r={type:"element",tagName:"code",properties:n,children:[{type:"text",value:a}]};return t.meta&&(r.data={meta:t.meta}),e.patch(t,r),r=e.applyData(t,r),r={type:"element",tagName:"pre",properties:{},children:[r]},e.patch(t,r),r}function t8(e,t){const a={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function a8(e,t){const a={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function n8(e,t){const a=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=String(t.identifier).toUpperCase(),r=Ps(n.toLowerCase()),i=e.footnoteOrder.indexOf(n);let s,o=e.footnoteCounts.get(n);o===void 0?(o=0,e.footnoteOrder.push(n),s=e.footnoteOrder.length):s=i+1,o+=1,e.footnoteCounts.set(n,o);const l={type:"element",tagName:"a",properties:{href:"#"+a+"fn-"+r,id:a+"fnref-"+r+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};e.patch(t,l);const c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)}function r8(e,t){const a={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function i8(e,t){if(e.options.allowDangerousHtml){const a={type:"raw",value:t.value};return e.patch(t,a),e.applyData(t,a)}}function rv(e,t){const a=t.referenceType;let n="]";if(a==="collapsed"?n+="[]":a==="full"&&(n+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+n}];const r=e.all(t),i=r[0];i&&i.type==="text"?i.value="["+i.value:r.unshift({type:"text",value:"["});const s=r[r.length-1];return s&&s.type==="text"?s.value+=n:r.push({type:"text",value:n}),r}function s8(e,t){const a=String(t.identifier).toUpperCase(),n=e.definitionById.get(a);if(!n)return rv(e,t);const r={src:Ps(n.url||""),alt:t.alt};n.title!==null&&n.title!==void 0&&(r.title=n.title);const i={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,i),e.applyData(t,i)}function o8(e,t){const a={src:Ps(t.url)};t.alt!==null&&t.alt!==void 0&&(a.alt=t.alt),t.title!==null&&t.title!==void 0&&(a.title=t.title);const n={type:"element",tagName:"img",properties:a,children:[]};return e.patch(t,n),e.applyData(t,n)}function l8(e,t){const a={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,a);const n={type:"element",tagName:"code",properties:{},children:[a]};return e.patch(t,n),e.applyData(t,n)}function c8(e,t){const a=String(t.identifier).toUpperCase(),n=e.definitionById.get(a);if(!n)return rv(e,t);const r={href:Ps(n.url||"")};n.title!==null&&n.title!==void 0&&(r.title=n.title);const i={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function u8(e,t){const a={href:Ps(t.url)};t.title!==null&&t.title!==void 0&&(a.title=t.title);const n={type:"element",tagName:"a",properties:a,children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function f8(e,t,a){const n=e.all(t),r=a?d8(a):iv(t),i={},s=[];if(typeof t.checked=="boolean"){const f=n[0];let d;f&&f.type==="element"&&f.tagName==="p"?d=f:(d={type:"element",tagName:"p",properties:{},children:[]},n.unshift(d)),d.children.length>0&&d.children.unshift({type:"text",value:" "}),d.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let o=-1;for(;++o<n.length;){const f=n[o];(r||o!==0||f.type!=="element"||f.tagName!=="p")&&s.push({type:"text",value:`
`}),f.type==="element"&&f.tagName==="p"&&!r?s.push(...f.children):s.push(f)}const l=n[n.length-1];l&&(r||l.type!=="element"||l.tagName!=="p")&&s.push({type:"text",value:`
`});const c={type:"element",tagName:"li",properties:i,children:s};return e.patch(t,c),e.applyData(t,c)}function d8(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const a=e.children;let n=-1;for(;!t&&++n<a.length;)t=iv(a[n])}return t}function iv(e){const t=e.spread;return t??e.children.length>1}function h8(e,t){const a={},n=e.all(t);let r=-1;for(typeof t.start=="number"&&t.start!==1&&(a.start=t.start);++r<n.length;){const s=n[r];if(s.type==="element"&&s.tagName==="li"&&s.properties&&Array.isArray(s.properties.className)&&s.properties.className.includes("task-list-item")){a.className=["contains-task-list"];break}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:a,children:e.wrap(n,!0)};return e.patch(t,i),e.applyData(t,i)}function p8(e,t){const a={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function m8(e,t){const a={type:"root",children:e.wrap(e.all(t))};return e.patch(t,a),e.applyData(t,a)}function g8(e,t){const a={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function y8(e,t){const a=e.all(t),n=a.shift(),r=[];if(n){const s={type:"element",tagName:"thead",properties:{},children:e.wrap([n],!0)};e.patch(t.children[0],s),r.push(s)}if(a.length>0){const s={type:"element",tagName:"tbody",properties:{},children:e.wrap(a,!0)},o=dn(t.children[1]),l=Nf(t.children[t.children.length-1]);o&&l&&(s.position={start:o,end:l}),r.push(s)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(r,!0)};return e.patch(t,i),e.applyData(t,i)}function _8(e,t,a){const n=a?a.children:void 0,i=(n?n.indexOf(t):1)===0?"th":"td",s=a&&a.type==="table"?a.align:void 0,o=s?s.length:t.children.length;let l=-1;const c=[];for(;++l<o;){const d=t.children[l],u={},p=s?s[l]:void 0;p&&(u.align=p);let _={type:"element",tagName:i,properties:u,children:[]};d&&(_.children=e.all(d),e.patch(d,_),_=e.applyData(d,_)),c.push(_)}const f={type:"element",tagName:"tr",properties:{},children:e.wrap(c,!0)};return e.patch(t,f),e.applyData(t,f)}function b8(e,t){const a={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}const sv=9,ov=32;function k8(e){const t=String(e),a=/\r?\n|\r/g;let n=a.exec(t),r=0;const i=[];for(;n;)i.push(lv(t.slice(r,n.index),r>0,!0),n[0]),r=n.index+n[0].length,n=a.exec(t);return i.push(lv(t.slice(r),r>0,!1)),i.join("")}function lv(e,t,a){let n=0,r=e.length;if(t){let i=e.codePointAt(n);for(;i===sv||i===ov;)n++,i=e.codePointAt(n)}if(a){let i=e.codePointAt(r-1);for(;i===sv||i===ov;)r--,i=e.codePointAt(r-1)}return r>n?e.slice(n,r):""}function w8(e,t){const a={type:"text",value:k8(String(t.value))};return e.patch(t,a),e.applyData(t,a)}function E8(e,t){const a={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,a),e.applyData(t,a)}const T8={blockquote:ZM,break:JM,code:e8,delete:t8,emphasis:a8,footnoteReference:n8,heading:r8,html:i8,imageReference:s8,image:o8,inlineCode:l8,linkReference:c8,link:u8,listItem:f8,list:h8,paragraph:p8,root:m8,strong:g8,table:y8,tableCell:b8,tableRow:_8,text:w8,thematicBreak:E8,toml:If,yaml:If,definition:If,footnoteDefinition:If};function If(){}const cv=-1,Mf=0,Ml=1,Pf=2,Qg=3,Vg=4,Gg=5,Xg=6,uv=7,fv=8,dv=typeof self=="object"?self:globalThis,v8=(e,t)=>{const a=(r,i)=>(e.set(i,r),r),n=r=>{if(e.has(r))return e.get(r);const[i,s]=t[r];switch(i){case Mf:case cv:return a(s,r);case Ml:{const o=a([],r);for(const l of s)o.push(n(l));return o}case Pf:{const o=a({},r);for(const[l,c]of s)o[n(l)]=n(c);return o}case Qg:return a(new Date(s),r);case Vg:{const{source:o,flags:l}=s;return a(new RegExp(o,l),r)}case Gg:{const o=a(new Map,r);for(const[l,c]of s)o.set(n(l),n(c));return o}case Xg:{const o=a(new Set,r);for(const l of s)o.add(n(l));return o}case uv:{const{name:o,message:l}=s;return a(new dv[o](l),r)}case fv:return a(BigInt(s),r);case"BigInt":return a(Object(BigInt(s)),r);case"ArrayBuffer":return a(new Uint8Array(s).buffer,s);case"DataView":{const{buffer:o}=new Uint8Array(s);return a(new DataView(o),s)}}return a(new dv[i](s),r)};return n},hv=e=>v8(new Map,e)(0),Bs="",{toString:S8}={},{keys:A8}=Object,Pl=e=>{const t=typeof e;if(t!=="object"||!e)return[Mf,t];const a=S8.call(e).slice(8,-1);switch(a){case"Array":return[Ml,Bs];case"Object":return[Pf,Bs];case"Date":return[Qg,Bs];case"RegExp":return[Vg,Bs];case"Map":return[Gg,Bs];case"Set":return[Xg,Bs];case"DataView":return[Ml,a]}return a.includes("Array")?[Ml,a]:a.includes("Error")?[uv,a]:[Pf,a]},Uf=([e,t])=>e===Mf&&(t==="function"||t==="symbol"),C8=(e,t,a,n)=>{const r=(s,o)=>{const l=n.push(s)-1;return a.set(o,l),l},i=s=>{if(a.has(s))return a.get(s);let[o,l]=Pl(s);switch(o){case Mf:{let f=s;switch(l){case"bigint":o=fv,f=s.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);f=null;break;case"undefined":return r([cv],s)}return r([o,f],s)}case Ml:{if(l){let u=s;return l==="DataView"?u=new Uint8Array(s.buffer):l==="ArrayBuffer"&&(u=new Uint8Array(s)),r([l,[...u]],s)}const f=[],d=r([o,f],s);for(const u of s)f.push(i(u));return d}case Pf:{if(l)switch(l){case"BigInt":return r([l,s.toString()],s);case"Boolean":case"Number":case"String":return r([l,s.valueOf()],s)}if(t&&"toJSON"in s)return i(s.toJSON());const f=[],d=r([o,f],s);for(const u of A8(s))(e||!Uf(Pl(s[u])))&&f.push([i(u),i(s[u])]);return d}case Qg:return r([o,s.toISOString()],s);case Vg:{const{source:f,flags:d}=s;return r([o,{source:f,flags:d}],s)}case Gg:{const f=[],d=r([o,f],s);for(const[u,p]of s)(e||!(Uf(Pl(u))||Uf(Pl(p))))&&f.push([i(u),i(p)]);return d}case Xg:{const f=[],d=r([o,f],s);for(const u of s)(e||!Uf(Pl(u)))&&f.push(i(u));return d}}const{message:c}=s;return r([o,{name:l,message:c}],s)};return i},pv=(e,{json:t,lossy:a}={})=>{const n=[];return C8(!(t||a),!!t,new Map,n)(e),n},Fs=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?hv(pv(e,t)):structuredClone(e):(e,t)=>hv(pv(e,t));function x8(e,t){const a=[{type:"text",value:"↩"}];return t>1&&a.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),a}function z8(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function N8(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",a=e.options.footnoteBackContent||x8,n=e.options.footnoteBackLabel||z8,r=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",s=e.options.footnoteLabelProperties||{className:["sr-only"]},o=[];let l=-1;for(;++l<e.footnoteOrder.length;){const c=e.footnoteById.get(e.footnoteOrder[l]);if(!c)continue;const f=e.all(c),d=String(c.identifier).toUpperCase(),u=Ps(d.toLowerCase());let p=0;const _=[],E=e.footnoteCounts.get(d);for(;E!==void 0&&++p<=E;){_.length>0&&_.push({type:"text",value:" "});let k=typeof a=="string"?a:a(l,p);typeof k=="string"&&(k={type:"text",value:k}),_.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+u+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof n=="string"?n:n(l,p),className:["data-footnote-backref"]},children:Array.isArray(k)?k:[k]})}const v=f[f.length-1];if(v&&v.type==="element"&&v.tagName==="p"){const k=v.children[v.children.length-1];k&&k.type==="text"?k.value+=" ":v.children.push({type:"text",value:" "}),v.children.push(..._)}else f.push(..._);const g={type:"element",tagName:"li",properties:{id:t+"fn-"+u},children:e.wrap(f,!0)};e.patch(c,g),o.push(g)}if(o.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...Fs(s),id:"footnote-label"},children:[{type:"text",value:r}]},{type:"text",value:`
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(o,!0)},{type:"text",value:`
`}]}}const Bf=function(e){if(e==null)return L8;if(typeof e=="function")return Ff(e);if(typeof e=="object")return Array.isArray(e)?O8(e):D8(e);if(typeof e=="string")return R8(e);throw new Error("Expected function, string, or object as test")};function O8(e){const t=[];let a=-1;for(;++a<e.length;)t[a]=Bf(e[a]);return Ff(n);function n(...r){let i=-1;for(;++i<t.length;)if(t[i].apply(this,r))return!0;return!1}}function D8(e){const t=e;return Ff(a);function a(n){const r=n;let i;for(i in e)if(r[i]!==t[i])return!1;return!0}}function R8(e){return Ff(t);function t(a){return a&&a.type===e}}function Ff(e){return t;function t(a,n,r){return!!(I8(a)&&e.call(this,a,typeof n=="number"?n:void 0,r||void 0))}}function L8(){return!0}function I8(e){return e!==null&&typeof e=="object"&&"type"in e}function $q(e){return e}const mv=[],M8=!0,Kg=!1,P8="skip";function gv(e,t,a,n){let r;typeof t=="function"&&typeof a!="function"?(n=a,a=t):r=t;const i=Bf(r),s=n?-1:1;o(e,void 0,[])();function o(l,c,f){const d=l&&typeof l=="object"?l:{};if(typeof d.type=="string"){const p=typeof d.tagName=="string"?d.tagName:typeof d.name=="string"?d.name:void 0;Object.defineProperty(u,"name",{value:"node ("+(l.type+(p?"<"+p+">":""))+")"})}return u;function u(){let p=mv,_,E,v;if((!t||i(l,c,f[f.length-1]||void 0))&&(p=U8(a(l,f)),p[0]===Kg))return p;if("children"in l&&l.children){const g=l;if(g.children&&p[0]!==P8)for(E=(n?g.children.length:-1)+s,v=f.concat(g);E>-1&&E<g.children.length;){const k=g.children[E];if(_=o(k,E,v)(),_[0]===Kg)return _;E=typeof _[1]=="number"?_[1]:E+s}}return p}}}function U8(e){return Array.isArray(e)?e:typeof e=="number"?[M8,e]:e==null?mv:[e]}function Hf(e,t,a,n){let r,i,s;typeof t=="function"&&typeof a!="function"?(i=void 0,s=t,r=a):(i=t,s=a,r=n),gv(e,i,o,r);function o(l,c){const f=c[c.length-1],d=f?f.children.indexOf(l):void 0;return s(l,d,f)}}const Wg={}.hasOwnProperty,B8={};function F8(e,t){const a=t||B8,n=new Map,r=new Map,i=new Map,s={...T8,...a.handlers},o={all:c,applyData:j8,definitionById:n,footnoteById:r,footnoteCounts:i,footnoteOrder:[],handlers:s,one:l,options:a,patch:H8,wrap:Y8};return Hf(e,function(f){if(f.type==="definition"||f.type==="footnoteDefinition"){const d=f.type==="definition"?n:r,u=String(f.identifier).toUpperCase();d.has(u)||d.set(u,f)}}),o;function l(f,d){const u=f.type,p=o.handlers[u];if(Wg.call(o.handlers,u)&&p)return p(o,f,d);if(o.options.passThrough&&o.options.passThrough.includes(u)){if("children"in f){const{children:E,...v}=f,g=Fs(v);return g.children=o.all(f),g}return Fs(f)}return(o.options.unknownHandler||q8)(o,f,d)}function c(f){const d=[];if("children"in f){const u=f.children;let p=-1;for(;++p<u.length;){const _=o.one(u[p],f);if(_){if(p&&u[p-1].type==="break"&&(!Array.isArray(_)&&_.type==="text"&&(_.value=yv(_.value)),!Array.isArray(_)&&_.type==="element")){const E=_.children[0];E&&E.type==="text"&&(E.value=yv(E.value))}Array.isArray(_)?d.push(..._):d.push(_)}}}return d}}function H8(e,t){e.position&&(t.position=UL(e))}function j8(e,t){let a=t;if(e&&e.data){const n=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;if(typeof n=="string")if(a.type==="element")a.tagName=n;else{const s="children"in a?a.children:[a];a={type:"element",tagName:n,properties:{},children:s}}a.type==="element"&&i&&Object.assign(a.properties,Fs(i)),"children"in a&&a.children&&r!==null&&r!==void 0&&(a.children=r)}return a}function q8(e,t){const a=t.data||{},n="value"in t&&!(Wg.call(a,"hProperties")||Wg.call(a,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Y8(e,t){const a=[];let n=-1;for(t&&a.push({type:"text",value:`
`});++n<e.length;)n&&a.push({type:"text",value:`
`}),a.push(e[n]);return t&&e.length>0&&a.push({type:"text",value:`
`}),a}function yv(e){let t=0,a=e.charCodeAt(t);for(;a===9||a===32;)t++,a=e.charCodeAt(t);return e.slice(t)}function _v(e,t){const a=F8(e,t),n=a.one(e,void 0),r=N8(a),i=Array.isArray(n)?{type:"root",children:n}:n||{type:"root",children:[]};return r&&i.children.push({type:"text",value:`
`},r),i}function $8(e,t){return e&&"run"in e?async function(a,n){const r=_v(a,{file:n,...t});await e.run(r,n)}:function(a,n){return _v(a,{file:n,...e||t})}}function bv(e){if(e)throw e}var jf=Object.prototype.hasOwnProperty,kv=Object.prototype.toString,wv=Object.defineProperty,Ev=Object.getOwnPropertyDescriptor,Tv=function(t){return typeof Array.isArray=="function"?Array.isArray(t):kv.call(t)==="[object Array]"},vv=function(t){if(!t||kv.call(t)!=="[object Object]")return!1;var a=jf.call(t,"constructor"),n=t.constructor&&t.constructor.prototype&&jf.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!a&&!n)return!1;var r;for(r in t);return typeof r>"u"||jf.call(t,r)},Sv=function(t,a){wv&&a.name==="__proto__"?wv(t,a.name,{enumerable:!0,configurable:!0,value:a.newValue,writable:!0}):t[a.name]=a.newValue},Av=function(t,a){if(a==="__proto__")if(jf.call(t,a)){if(Ev)return Ev(t,a).value}else return;return t[a]},Q8=function e(){var t,a,n,r,i,s,o=arguments[0],l=1,c=arguments.length,f=!1;for(typeof o=="boolean"&&(f=o,o=arguments[1]||{},l=2),(o==null||typeof o!="object"&&typeof o!="function")&&(o={});l<c;++l)if(t=arguments[l],t!=null)for(a in t)n=Av(o,a),r=Av(t,a),o!==r&&(f&&r&&(vv(r)||(i=Tv(r)))?(i?(i=!1,s=n&&Tv(n)?n:[]):s=n&&vv(n)?n:{},Sv(o,{name:a,newValue:e(f,s,r)})):typeof r<"u"&&Sv(o,{name:a,newValue:r}));return o};const Zg=It(Q8);function Jg(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function V8(){const e=[],t={run:a,use:n};return t;function a(...r){let i=-1;const s=r.pop();if(typeof s!="function")throw new TypeError("Expected function as last argument, not "+s);o(null,...r);function o(l,...c){const f=e[++i];let d=-1;if(l){s(l);return}for(;++d<r.length;)(c[d]===null||c[d]===void 0)&&(c[d]=r[d]);r=c,f?G8(f,o)(...c):s(null,...c)}}function n(r){if(typeof r!="function")throw new TypeError("Expected `middelware` to be a function, not "+r);return e.push(r),t}}function G8(e,t){let a;return n;function n(...s){const o=e.length>s.length;let l;o&&s.push(r);try{l=e.apply(this,s)}catch(c){const f=c;if(o&&a)throw f;return r(f)}o||(l&&l.then&&typeof l.then=="function"?l.then(i,r):l instanceof Error?r(l):i(l))}function r(s,...o){a||(a=!0,t(s,...o))}function i(s){r(null,s)}}const hn={basename:X8,dirname:K8,extname:W8,join:Z8,sep:"/"};function X8(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Ul(e);let a=0,n=-1,r=e.length,i;if(t===void 0||t.length===0||t.length>e.length){for(;r--;)if(e.codePointAt(r)===47){if(i){a=r+1;break}}else n<0&&(i=!0,n=r+1);return n<0?"":e.slice(a,n)}if(t===e)return"";let s=-1,o=t.length-1;for(;r--;)if(e.codePointAt(r)===47){if(i){a=r+1;break}}else s<0&&(i=!0,s=r+1),o>-1&&(e.codePointAt(r)===t.codePointAt(o--)?o<0&&(n=r):(o=-1,n=s));return a===n?n=s:n<0&&(n=e.length),e.slice(a,n)}function K8(e){if(Ul(e),e.length===0)return".";let t=-1,a=e.length,n;for(;--a;)if(e.codePointAt(a)===47){if(n){t=a;break}}else n||(n=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function W8(e){Ul(e);let t=e.length,a=-1,n=0,r=-1,i=0,s;for(;t--;){const o=e.codePointAt(t);if(o===47){if(s){n=t+1;break}continue}a<0&&(s=!0,a=t+1),o===46?r<0?r=t:i!==1&&(i=1):r>-1&&(i=-1)}return r<0||a<0||i===0||i===1&&r===a-1&&r===n+1?"":e.slice(r,a)}function Z8(...e){let t=-1,a;for(;++t<e.length;)Ul(e[t]),e[t]&&(a=a===void 0?e[t]:a+"/"+e[t]);return a===void 0?".":J8(a)}function J8(e){Ul(e);const t=e.codePointAt(0)===47;let a=e9(e,!t);return a.length===0&&!t&&(a="."),a.length>0&&e.codePointAt(e.length-1)===47&&(a+="/"),t?"/"+a:a}function e9(e,t){let a="",n=0,r=-1,i=0,s=-1,o,l;for(;++s<=e.length;){if(s<e.length)o=e.codePointAt(s);else{if(o===47)break;o=47}if(o===47){if(!(r===s-1||i===1))if(r!==s-1&&i===2){if(a.length<2||n!==2||a.codePointAt(a.length-1)!==46||a.codePointAt(a.length-2)!==46){if(a.length>2){if(l=a.lastIndexOf("/"),l!==a.length-1){l<0?(a="",n=0):(a=a.slice(0,l),n=a.length-1-a.lastIndexOf("/")),r=s,i=0;continue}}else if(a.length>0){a="",n=0,r=s,i=0;continue}}t&&(a=a.length>0?a+"/..":"..",n=2)}else a.length>0?a+="/"+e.slice(r+1,s):a=e.slice(r+1,s),n=s-r-1;r=s,i=0}else o===46&&i>-1?i++:i=-1}return a}function Ul(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const t9={cwd:a9};function a9(){return"/"}function ey(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function n9(e){if(typeof e=="string")e=new URL(e);else if(!ey(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return r9(e)}function r9(e){if(e.hostname!==""){const n=new TypeError('File URL host must be "localhost" or empty on darwin');throw n.code="ERR_INVALID_FILE_URL_HOST",n}const t=e.pathname;let a=-1;for(;++a<t.length;)if(t.codePointAt(a)===37&&t.codePointAt(a+1)===50){const n=t.codePointAt(a+2);if(n===70||n===102){const r=new TypeError("File URL path must not include encoded / characters");throw r.code="ERR_INVALID_FILE_URL_PATH",r}}return decodeURIComponent(t)}const ty=["history","path","basename","stem","extname","dirname"];class Cv{constructor(t){let a;t?ey(t)?a={path:t}:typeof t=="string"||i9(t)?a={value:t}:a=t:a={},this.cwd="cwd"in a?"":t9.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<ty.length;){const i=ty[n];i in a&&a[i]!==void 0&&a[i]!==null&&(this[i]=i==="history"?[...a[i]]:a[i])}let r;for(r in a)ty.includes(r)||(this[r]=a[r])}get basename(){return typeof this.path=="string"?hn.basename(this.path):void 0}set basename(t){ny(t,"basename"),ay(t,"basename"),this.path=hn.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?hn.dirname(this.path):void 0}set dirname(t){xv(this.basename,"dirname"),this.path=hn.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?hn.extname(this.path):void 0}set extname(t){if(ay(t,"extname"),xv(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=hn.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){ey(t)&&(t=n9(t)),ny(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?hn.basename(this.path,this.extname):void 0}set stem(t){ny(t,"stem"),ay(t,"stem"),this.path=hn.join(this.dirname||"",t+(this.extname||""))}fail(t,a,n){const r=this.message(t,a,n);throw r.fatal=!0,r}info(t,a,n){const r=this.message(t,a,n);return r.fatal=void 0,r}message(t,a,n){const r=new Ut(t,a,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function ay(e,t){if(e&&e.includes(hn.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+hn.sep+"`")}function ny(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function xv(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function i9(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const s9=function(e){const n=this.constructor.prototype,r=n[e],i=function(){return r.apply(i,arguments)};return Object.setPrototypeOf(i,n),i},o9={}.hasOwnProperty;class ry extends s9{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=V8()}copy(){const t=new ry;let a=-1;for(;++a<this.attachers.length;){const n=this.attachers[a];t.use(...n)}return t.data(Zg(!0,{},this.namespace)),t}data(t,a){return typeof t=="string"?arguments.length===2?(oy("data",this.frozen),this.namespace[t]=a,this):o9.call(this.namespace,t)&&this.namespace[t]||void 0:t?(oy("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[a,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);const r=a.call(t,...n);typeof r=="function"&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const a=qf(t),n=this.parser||this.Parser;return iy("parse",n),n(String(a),a)}process(t,a){const n=this;return this.freeze(),iy("process",this.parser||this.Parser),sy("process",this.compiler||this.Compiler),a?r(void 0,a):new Promise(r);function r(i,s){const o=qf(t),l=n.parse(o);n.run(l,o,function(f,d,u){if(f||!d||!u)return c(f);const p=d,_=n.stringify(p,u);u9(_)?u.value=_:u.result=_,c(f,u)});function c(f,d){f||!d?s(f):i?i(d):a(void 0,d)}}}processSync(t){let a=!1,n;return this.freeze(),iy("processSync",this.parser||this.Parser),sy("processSync",this.compiler||this.Compiler),this.process(t,r),Nv("processSync","process",a),n;function r(i,s){a=!0,bv(i),n=s}}run(t,a,n){zv(t),this.freeze();const r=this.transformers;return!n&&typeof a=="function"&&(n=a,a=void 0),n?i(void 0,n):new Promise(i);function i(s,o){const l=qf(a);r.run(t,l,c);function c(f,d,u){const p=d||t;f?o(f):s?s(p):n(void 0,p,u)}}}runSync(t,a){let n=!1,r;return this.run(t,a,i),Nv("runSync","run",n),r;function i(s,o){bv(s),r=o,n=!0}}stringify(t,a){this.freeze();const n=qf(a),r=this.compiler||this.Compiler;return sy("stringify",r),zv(t),r(t,n)}use(t,...a){const n=this.attachers,r=this.namespace;if(oy("use",this.frozen),t!=null)if(typeof t=="function")l(t,a);else if(typeof t=="object")Array.isArray(t)?o(t):s(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function i(c){if(typeof c=="function")l(c,[]);else if(typeof c=="object")if(Array.isArray(c)){const[f,...d]=c;l(f,d)}else s(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function s(c){if(!("plugins"in c)&&!("settings"in c))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(c.plugins),c.settings&&(r.settings=Zg(!0,r.settings,c.settings))}function o(c){let f=-1;if(c!=null)if(Array.isArray(c))for(;++f<c.length;){const d=c[f];i(d)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function l(c,f){let d=-1,u=-1;for(;++d<n.length;)if(n[d][0]===c){u=d;break}if(u===-1)n.push([c,...f]);else if(f.length>0){let[p,..._]=f;const E=n[u][1];Jg(E)&&Jg(p)&&(p=Zg(!0,E,p)),n[u]=[c,p,..._]}}}}const l9=new ry().freeze();function iy(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function sy(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function oy(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function zv(e){if(!Jg(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Nv(e,t,a){if(!a)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function qf(e){return c9(e)?e:new Cv(e)}function c9(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function u9(e){return typeof e=="string"||f9(e)}function f9(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const d9="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Ov=[],Dv={allowDangerousHtml:!0},h9=/^(https?|ircs?|mailto|xmpp)$/i,p9=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function m9(e){const t=g9(e),a=y9(e);return _9(t.runSync(t.parse(a),a),e)}function g9(e){const t=e.rehypePlugins||Ov,a=e.remarkPlugins||Ov,n=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Dv}:Dv;return l9().use(WM).use(a).use($8,n).use(t)}function y9(e){const t=e.children||"",a=new Cv;return typeof t=="string"&&(a.value=t),a}function _9(e,t){const a=t.allowedElements,n=t.allowElement,r=t.components,i=t.disallowedElements,s=t.skipHtml,o=t.unwrapDisallowed,l=t.urlTransform||b9;for(const f of p9)Object.hasOwn(t,f.from)&&(""+f.from+(f.to?"use `"+f.to+"` instead":"remove it")+d9+f.id,void 0);return Hf(e,c),qL(e,{Fragment:C.Fragment,components:r,ignoreInvalidStyle:!0,jsx:C.jsx,jsxs:C.jsxs,passKeys:!0,passNode:!0});function c(f,d,u){if(f.type==="raw"&&u&&typeof d=="number")return s?u.children.splice(d,1):u.children[d]={type:"text",value:f.value},d;if(f.type==="element"){let p;for(p in Ug)if(Object.hasOwn(Ug,p)&&Object.hasOwn(f.properties,p)){const _=f.properties[p],E=Ug[p];(E===null||E.includes(f.tagName))&&(f.properties[p]=l(String(_||""),p,f))}}if(f.type==="element"){let p=a?!a.includes(f.tagName):i?i.includes(f.tagName):!1;if(!p&&n&&typeof d=="number"&&(p=!n(f,d,u)),p&&u&&typeof d=="number")return o&&f.children?u.children.splice(d,1,...f.children):u.children.splice(d,1),d}}}function b9(e){const t=e.indexOf(":"),a=e.indexOf("?"),n=e.indexOf("#"),r=e.indexOf("/");return t===-1||r!==-1&&t>r||a!==-1&&t>a||n!==-1&&t>n||h9.test(e.slice(0,t))?e:""}const k9=e=>e.replace(/<[^>]*>/g,""),w9=(e,t)=>t.plainText??(t.contentType==="text/html"?k9(e):e),E9=e=>{const t=document.createElement("textarea");t.value=e,t.style.cssText="position:fixed;opacity:0;pointer-events:none",document.body.appendChild(t),t.select();const a=document.execCommand("copy");return t.remove(),a},T9=async(e,t,a)=>{if(t==="image"){const n=await fetch(e).then(r=>r.blob());await navigator.clipboard.write([new ClipboardItem({[n.type]:n})]);return}if(t==="text/html"){await navigator.clipboard.write([new ClipboardItem({"text/html":new Blob([e],{type:"text/html"}),"text/plain":new Blob([a],{type:"text/plain"})})]);return}await navigator.clipboard.writeText(e)},v9=async(e,t)=>{var n,r;const a=w9(e,t);try{await T9(e,t.contentType,a),(n=t.onSuccess)==null||n.call(t)}catch{(r=t.contentType!=="image"&&E9(a)?t.onSuccess:t.onFailure)==null||r()}},Rv=()=>{const[e,t]=A.useState(!1);return{isCopied:e,copyToClipboard:async(n,r)=>{await v9(n,{...r,onSuccess:()=>{var i;t(!0),setTimeout(()=>t(!1),1e3),(i=r.onSuccess)==null||i.call(r)}})}}},S9=({copyToClipboardRef:e,fadeEffect:t})=>{const a=n=>{const r=n.match(/language-(\w+)/);if(r){const i=r[1];return i.charAt(0).toUpperCase()+i.slice(1)}return"Code"};return{pre:({children:n})=>{var o,l;const r=(o=n==null?void 0:n.props)==null?void 0:o.children,i=((l=n==null?void 0:n.props)==null?void 0:l.className)||"",s=a(i);return C.jsxs("div",{className:ae("sg-code-wrapper",t),children:[C.jsxs("div",{className:"sg-code-header",children:[C.jsx(dt,{level:"6",children:s}),C.jsx(ht,{className:"sg-code-header__copy-button",icon:"material/content_copy",size:"small",color:"secondary",onClick:()=>{e.current(r,{contentType:"text/plain"})}})]}),C.jsx("pre",{className:"sg-code-block",children:n})]})},code:({children:n})=>C.jsx("code",{className:ae("sg-code-inline",t),children:n})}},ly=A.createContext("unordered"),A9=({children:e,className:t})=>C.jsx(K0,{className:t,children:C.jsx(ly.Provider,{value:"unordered",children:e})}),C9=({children:e,className:t})=>C.jsx(K0,{ordered:!0,className:t,children:C.jsx(ly.Provider,{value:"ordered",children:e})}),x9=({children:e,className:t})=>{const a=A.useContext(ly);return C.jsx($z,{iconSize:"16",icon:a==="unordered"?"dot":void 0,className:t,children:e})},z9=({className:e})=>({ul:({children:t})=>C.jsx(A9,{className:e,children:t}),ol:({children:t})=>C.jsx(C9,{className:e,children:t}),li:({children:t})=>C.jsx(x9,{className:e,children:t})}),N9=({className:e})=>({a:({children:t,href:a})=>C.jsx(e0,{href:a,target:"_blank",className:e,children:t}),blockquote:({children:t})=>C.jsx("div",{className:"sg-blockquote",children:t}),hr:()=>C.jsx("hr",{className:"sg-horizontal-line"}),img:({src:t,alt:a})=>C.jsx("img",{src:t,alt:a,className:"sg-markdown-image"}),br:()=>C.jsx("br",{}),input:t=>C.jsx("input",{...t})}),cy=e=>{var t;if(e.type==="text")return e.value||"";if(e.type==="element"){const a=(e.children||[]).map(cy).join(""),n=e.tagName==="a"?(t=e.properties)==null?void 0:t.href:void 0,r=n?` href="${n}"`:"";return`<${e.tagName}${r}>${a}</${e.tagName}>`}return"children"in e?e.children.map(cy).join(""):""},O9=e=>e?`<table>${e.children.filter(a=>a.type==="element").map(a=>{const n=a.children.filter(r=>r.type==="element").map(r=>`<tr>${r.children.filter(s=>s.type==="element").map(s=>{const o=(s.children||[]).map(cy).join("").trim();return`<${s.tagName}>${o}</${s.tagName}>`}).join("")}</tr>`).join("");return`<${a.tagName}>${n}</${a.tagName}>`}).join("")}</table>`:"",D9=e=>{const t=new DOMParser().parseFromString(e,"text/html");return Array.from(t.querySelectorAll("tr")).map(a=>Array.from(a.querySelectorAll("th, td")).map(n=>n.innerText.trim()).join("	")).join(`
`)},R9=({tableNode:e})=>{const{isCopied:t,copyToClipboard:a}=Rv();return C.jsx(ht,{icon:t?"material/check":"material/content_copy",color:"secondary",size:"small",onClick:()=>{const n=O9(e);a(n,{contentType:"text/html",plainText:D9(n)})}})},L9=({fadeEffect:e})=>{let t=null,a=0;return{table:({children:n,node:r})=>(t=r??null,a=0,C.jsx("div",{className:ae("sg-table-container",e),children:C.jsx("div",{className:"sg-table-wrapper",style:{maxWidth:"100%",overflowX:"auto"},children:C.jsx("table",{className:"sg-table",children:n})})})),thead:({children:n})=>C.jsx("thead",{children:n}),tr:({children:n,node:r})=>{var s;return(r==null?void 0:r.tagName)==="tr"&&((s=r==null?void 0:r.children)==null?void 0:s.some(o=>o.tagName==="th"))&&a===0?(a++,C.jsxs("tr",{children:[n,C.jsx("th",{className:"sg-table-copy-header",children:C.jsx(R9,{tableNode:t})})]})):C.jsxs("tr",{children:[n,C.jsx("td",{className:"sg-table-copy-cell"})]})},th:({children:n})=>C.jsx("th",{children:n}),td:({children:n})=>C.jsx("td",{children:n}),tbody:({children:n})=>C.jsx("tbody",{children:n})}},I9=({className:e})=>({p:({children:t})=>C.jsx(ye,{tag:"p",className:e,children:t}),span:({children:t})=>C.jsx(ye,{tag:"span",className:e,children:t}),em:({children:t})=>C.jsx(ye,{tag:"em",className:e,children:t}),strong:({children:t})=>C.jsx(ye,{tag:"strong",weight:"bold",className:e,children:t}),del:({children:t})=>C.jsx(ye,{tag:"del",className:e,children:t})}),M9=({className:e})=>({h1:({children:t})=>C.jsx(dt,{level:"1",className:e,children:t}),h2:({children:t})=>C.jsx(dt,{level:"2",className:e,children:t}),h3:({children:t})=>C.jsx(dt,{level:"3",className:e,children:t}),h4:({children:t})=>C.jsx(dt,{level:"4",className:e,children:t}),h5:({children:t})=>C.jsx(dt,{level:"5",className:e,children:t}),h6:({children:t})=>C.jsx(dt,{level:"6",className:e,children:t})}),Lv=/[#.]/g;function P9(e,t){const a=e||"",n={};let r=0,i,s;for(;r<a.length;){Lv.lastIndex=r;const o=Lv.exec(a),l=a.slice(r,o?o.index:a.length);l&&(i?i==="#"?n.id=l:Array.isArray(n.className)?n.className.push(l):n.className=[l]:s=l,r+=l.length),o&&(i=o[0],r++)}return{type:"element",tagName:s||t||"div",properties:n,children:[]}}function Iv(e,t,a){const n=a?H9(a):void 0;function r(i,s,...o){let l;if(i==null){l={type:"root",children:[]};const c=s;o.unshift(c)}else{l=P9(i,t);const c=l.tagName.toLowerCase(),f=n?n.get(c):void 0;if(l.tagName=f||c,U9(s))o.unshift(s);else for(const[d,u]of Object.entries(s))B9(e,l.properties,d,u)}for(const c of o)uy(l.children,c);return l.type==="element"&&l.tagName==="template"&&(l.content={type:"root",children:l.children},l.children=[]),l}return r}function U9(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,a=Object.keys(e);for(const n of a){const r=t[n];if(r&&typeof r=="object"){if(!Array.isArray(r))return!0;const i=r;for(const s of i)if(typeof s!="number"&&typeof s!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function B9(e,t,a,n){const r=Og(e,a);let i;if(n!=null){if(typeof n=="number"){if(Number.isNaN(n))return;i=n}else typeof n=="boolean"?i=n:typeof n=="string"?r.spaceSeparated?i=b2(n):r.commaSeparated?i=s2(n):r.commaOrSpaceSeparated?i=b2(s2(n).join(" ")):i=Mv(r,r.property,n):Array.isArray(n)?i=[...n]:i=r.property==="style"?F9(n):String(n);if(Array.isArray(i)){const s=[];for(const o of i)s.push(Mv(r,r.property,o));i=s}r.property==="className"&&Array.isArray(t.className)&&(i=t.className.concat(i)),t[r.property]=i}}function uy(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const a of t)uy(e,a);else if(typeof t=="object"&&"type"in t)t.type==="root"?uy(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function Mv(e,t,a){if(typeof a=="string"){if(e.number&&a&&!Number.isNaN(Number(a)))return Number(a);if((e.boolean||e.overloadedBoolean)&&(a===""||Nl(a)===Nl(t)))return!0}return a}function F9(e){const t=[];for(const[a,n]of Object.entries(e))t.push([a,n].join(": "));return t.join("; ")}function H9(e){const t=new Map;for(const a of e)t.set(a.toLowerCase(),a);return t}const j9=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],q9=Iv(xf,"div"),Y9=Iv(Ms,"g",j9);function $9(e){const t=String(e),a=[];return{toOffset:r,toPoint:n};function n(i){if(typeof i=="number"&&i>-1&&i<=t.length){let s=0;for(;;){let o=a[s];if(o===void 0){const l=Pv(t,a[s-1]);o=l===-1?t.length+1:l+1,a[s]=o}if(o>i)return{line:s+1,column:i-(s>0?a[s-1]:0)+1,offset:i};s++}}}function r(i){if(i&&typeof i.line=="number"&&typeof i.column=="number"&&!Number.isNaN(i.line)&&!Number.isNaN(i.column)){for(;a.length<i.line;){const o=a[a.length-1],l=Pv(t,o),c=l===-1?t.length+1:l+1;if(o===c)break;a.push(c)}const s=(i.line>1?a[i.line-2]:0)+i.column-1;if(s<a[i.line-1])return s}}}function Pv(e,t){const a=e.indexOf("\r",t),n=e.indexOf(`
`,t);return n===-1?a:a===-1||a+1===n?n:a<n?a:n}const yi={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Uv={}.hasOwnProperty,Q9=Object.prototype;function V9(e,t){const a=t||{};return fy({file:a.file||void 0,location:!1,schema:a.space==="svg"?Ms:xf,verbose:a.verbose||!1},e)}function fy(e,t){let a;switch(t.nodeName){case"#comment":{const n=t;return a={type:"comment",value:n.data},Yf(e,n,a),a}case"#document":case"#document-fragment":{const n=t,r="mode"in n?n.mode==="quirks"||n.mode==="limited-quirks":!1;if(a={type:"root",children:Bv(e,t.childNodes),data:{quirksMode:r}},e.file&&e.location){const i=String(e.file),s=$9(i),o=s.toPoint(0),l=s.toPoint(i.length);a.position={start:o,end:l}}return a}case"#documentType":{const n=t;return a={type:"doctype"},Yf(e,n,a),a}case"#text":{const n=t;return a={type:"text",value:n.value},Yf(e,n,a),a}default:return a=G9(e,t),a}}function Bv(e,t){let a=-1;const n=[];for(;++a<t.length;){const r=fy(e,t[a]);n.push(r)}return n}function G9(e,t){const a=e.schema;e.schema=t.namespaceURI===yi.svg?Ms:xf;let n=-1;const r={};for(;++n<t.attrs.length;){const o=t.attrs[n],l=(o.prefix?o.prefix+":":"")+o.name;Uv.call(Q9,l)||(r[l]=o.value)}const s=(e.schema.space==="svg"?Y9:q9)(t.tagName,r,Bv(e,t.childNodes));if(Yf(e,t,s),s.tagName==="template"){const o=t,l=o.sourceCodeLocation,c=l&&l.startTag&&Hs(l.startTag),f=l&&l.endTag&&Hs(l.endTag),d=fy(e,o.content);c&&f&&e.file&&(d.position={start:c.end,end:f.start}),s.content=d}return e.schema=a,s}function Yf(e,t,a){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const n=X9(e,a,t.sourceCodeLocation);n&&(e.location=!0,a.position=n)}}function X9(e,t,a){const n=Hs(a);if(t.type==="element"){const r=t.children[t.children.length-1];if(n&&!a.endTag&&r&&r.position&&r.position.end&&(n.end=Object.assign({},r.position.end)),e.verbose){const i={};let s;if(a.attrs)for(s in a.attrs)Uv.call(a.attrs,s)&&(i[Og(e.schema,s).property]=Hs(a.attrs[s]));a.startTag;const o=Hs(a.startTag),l=a.endTag?Hs(a.endTag):void 0,c={opening:o};l&&(c.closing=l),c.properties=i,t.data={position:c}}}return n}function Hs(e){const t=Fv({line:e.startLine,column:e.startCol,offset:e.startOffset}),a=Fv({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||a?{start:t,end:a}:void 0}function Fv(e){return e.line&&e.column?e:void 0}class Bl{constructor(t,a,n){this.property=t,this.normal=a,n&&(this.space=n)}}Bl.prototype.property={},Bl.prototype.normal={},Bl.prototype.space=null;function Hv(e,t){const a={},n={};let r=-1;for(;++r<e.length;)Object.assign(a,e[r].property),Object.assign(n,e[r].normal);return new Bl(a,n,t)}function dy(e){return e.toLowerCase()}class Ia{constructor(t,a){this.property=t,this.attribute=a}}Ia.prototype.space=null,Ia.prototype.boolean=!1,Ia.prototype.booleanish=!1,Ia.prototype.overloadedBoolean=!1,Ia.prototype.number=!1,Ia.prototype.commaSeparated=!1,Ia.prototype.spaceSeparated=!1,Ia.prototype.commaOrSpaceSeparated=!1,Ia.prototype.mustUseProperty=!1,Ia.prototype.defined=!1;let K9=0;const he=_i(),ft=_i(),jv=_i(),W=_i(),Qe=_i(),js=_i(),wa=_i();function _i(){return 2**++K9}const hy=Object.freeze(Object.defineProperty({__proto__:null,boolean:he,booleanish:ft,commaOrSpaceSeparated:wa,commaSeparated:js,number:W,overloadedBoolean:jv,spaceSeparated:Qe},Symbol.toStringTag,{value:"Module"})),py=Object.keys(hy);class my extends Ia{constructor(t,a,n,r){let i=-1;if(super(t,a),qv(this,"space",r),typeof n=="number")for(;++i<py.length;){const s=py[i];qv(this,py[i],(n&hy[s])===hy[s])}}}my.prototype.defined=!0;function qv(e,t,a){a&&(e[t]=a)}const W9={}.hasOwnProperty;function qs(e){const t={},a={};let n;for(n in e.properties)if(W9.call(e.properties,n)){const r=e.properties[n],i=new my(n,e.transform(e.attributes||{},n),r,e.space);e.mustUseProperty&&e.mustUseProperty.includes(n)&&(i.mustUseProperty=!0),t[n]=i,a[dy(n)]=n,a[dy(i.attribute)]=n}return new Bl(t,a,e.space)}const Yv=qs({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),$v=qs({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Qv(e,t){return t in e?e[t]:t}function Vv(e,t){return Qv(e,t.toLowerCase())}const Gv=qs({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Vv,properties:{xmlns:null,xmlnsXLink:null}}),Xv=qs({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:ft,ariaAutoComplete:null,ariaBusy:ft,ariaChecked:ft,ariaColCount:W,ariaColIndex:W,ariaColSpan:W,ariaControls:Qe,ariaCurrent:null,ariaDescribedBy:Qe,ariaDetails:null,ariaDisabled:ft,ariaDropEffect:Qe,ariaErrorMessage:null,ariaExpanded:ft,ariaFlowTo:Qe,ariaGrabbed:ft,ariaHasPopup:null,ariaHidden:ft,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Qe,ariaLevel:W,ariaLive:null,ariaModal:ft,ariaMultiLine:ft,ariaMultiSelectable:ft,ariaOrientation:null,ariaOwns:Qe,ariaPlaceholder:null,ariaPosInSet:W,ariaPressed:ft,ariaReadOnly:ft,ariaRelevant:null,ariaRequired:ft,ariaRoleDescription:Qe,ariaRowCount:W,ariaRowIndex:W,ariaRowSpan:W,ariaSelected:ft,ariaSetSize:W,ariaSort:null,ariaValueMax:W,ariaValueMin:W,ariaValueNow:W,ariaValueText:null,role:null}}),Z9=qs({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Vv,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:js,acceptCharset:Qe,accessKey:Qe,action:null,allow:null,allowFullScreen:he,allowPaymentRequest:he,allowUserMedia:he,alt:null,as:null,async:he,autoCapitalize:null,autoComplete:Qe,autoFocus:he,autoPlay:he,blocking:Qe,capture:null,charSet:null,checked:he,cite:null,className:Qe,cols:W,colSpan:null,content:null,contentEditable:ft,controls:he,controlsList:Qe,coords:W|js,crossOrigin:null,data:null,dateTime:null,decoding:null,default:he,defer:he,dir:null,dirName:null,disabled:he,download:jv,draggable:ft,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:he,formTarget:null,headers:Qe,height:W,hidden:he,high:W,href:null,hrefLang:null,htmlFor:Qe,httpEquiv:Qe,id:null,imageSizes:null,imageSrcSet:null,inert:he,inputMode:null,integrity:null,is:null,isMap:he,itemId:null,itemProp:Qe,itemRef:Qe,itemScope:he,itemType:Qe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:he,low:W,manifest:null,max:null,maxLength:W,media:null,method:null,min:null,minLength:W,multiple:he,muted:he,name:null,nonce:null,noModule:he,noValidate:he,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:he,optimum:W,pattern:null,ping:Qe,placeholder:null,playsInline:he,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:he,referrerPolicy:null,rel:Qe,required:he,reversed:he,rows:W,rowSpan:W,sandbox:Qe,scope:null,scoped:he,seamless:he,selected:he,shadowRootClonable:he,shadowRootDelegatesFocus:he,shadowRootMode:null,shape:null,size:W,sizes:null,slot:null,span:W,spellCheck:ft,src:null,srcDoc:null,srcLang:null,srcSet:null,start:W,step:null,style:null,tabIndex:W,target:null,title:null,translate:null,type:null,typeMustMatch:he,useMap:null,value:ft,width:W,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Qe,axis:null,background:null,bgColor:null,border:W,borderColor:null,bottomMargin:W,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:he,declare:he,event:null,face:null,frame:null,frameBorder:null,hSpace:W,leftMargin:W,link:null,longDesc:null,lowSrc:null,marginHeight:W,marginWidth:W,noResize:he,noHref:he,noShade:he,noWrap:he,object:null,profile:null,prompt:null,rev:null,rightMargin:W,rules:null,scheme:null,scrolling:ft,standby:null,summary:null,text:null,topMargin:W,valueType:null,version:null,vAlign:null,vLink:null,vSpace:W,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:he,disableRemotePlayback:he,prefix:null,property:null,results:W,security:null,unselectable:null}}),J9=qs({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Qv,properties:{about:wa,accentHeight:W,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:W,amplitude:W,arabicForm:null,ascent:W,attributeName:null,attributeType:null,azimuth:W,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:W,by:null,calcMode:null,capHeight:W,className:Qe,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:W,diffuseConstant:W,direction:null,display:null,dur:null,divisor:W,dominantBaseline:null,download:he,dx:null,dy:null,edgeMode:null,editable:null,elevation:W,enableBackground:null,end:null,event:null,exponent:W,externalResourcesRequired:null,fill:null,fillOpacity:W,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:js,g2:js,glyphName:js,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:W,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:W,horizOriginX:W,horizOriginY:W,id:null,ideographic:W,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:W,k:W,k1:W,k2:W,k3:W,k4:W,kernelMatrix:wa,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:W,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:W,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:W,overlineThickness:W,paintOrder:null,panose1:null,path:null,pathLength:W,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Qe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:W,pointsAtY:W,pointsAtZ:W,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:wa,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:wa,rev:wa,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:wa,requiredFeatures:wa,requiredFonts:wa,requiredFormats:wa,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:W,specularExponent:W,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:W,strikethroughThickness:W,string:null,stroke:null,strokeDashArray:wa,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:W,strokeOpacity:W,strokeWidth:null,style:null,surfaceScale:W,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:wa,tabIndex:W,tableValues:null,target:null,targetX:W,targetY:W,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:wa,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:W,underlineThickness:W,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:W,values:null,vAlphabetic:W,vMathematical:W,vectorEffect:null,vHanging:W,vIdeographic:W,version:null,vertAdvY:W,vertOriginX:W,vertOriginY:W,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:W,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),e7=/^data[-\w.:]+$/i,Kv=/-[a-z]/g,t7=/[A-Z]/g;function a7(e,t){const a=dy(t);let n=t,r=Ia;if(a in e.normal)return e.property[e.normal[a]];if(a.length>4&&a.slice(0,4)==="data"&&e7.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(Kv,r7);n="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!Kv.test(i)){let s=i.replace(t7,n7);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}r=my}return new r(n,t)}function n7(e){return"-"+e.toLowerCase()}function r7(e){return e.charAt(1).toUpperCase()}const i7=Hv([$v,Yv,Gv,Xv,Z9],"html"),Wv=Hv([$v,Yv,Gv,Xv,J9],"svg"),Zv={}.hasOwnProperty;function Jv(e,t){const a=t||{};function n(r,...i){let s=n.invalid;const o=n.handlers;if(r&&Zv.call(r,e)){const l=String(r[e]);s=Zv.call(o,l)?o[l]:n.unknown}if(s)return s.call(this,r,...i)}return n.handlers=a.handlers||{},n.invalid=a.invalid,n.unknown=a.unknown,n}const s7={},o7={}.hasOwnProperty,eS=Jv("type",{handlers:{root:c7,element:p7,text:d7,comment:h7,doctype:f7}});function l7(e,t){const n=(t||s7).space;return eS(e,n==="svg"?Wv:i7)}function c7(e,t){const a={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return a.childNodes=gy(e.children,a,t),Ys(e,a),a}function u7(e,t){const a={nodeName:"#document-fragment",childNodes:[]};return a.childNodes=gy(e.children,a,t),Ys(e,a),a}function f7(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return Ys(e,t),t}function d7(e){const t={nodeName:"#text",value:e.value,parentNode:null};return Ys(e,t),t}function h7(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return Ys(e,t),t}function p7(e,t){const a=t;let n=a;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&a.space==="html"&&(n=Wv);const r=[];let i;if(e.properties){for(i in e.properties)if(i!=="children"&&o7.call(e.properties,i)){const l=m7(n,i,e.properties[i]);l&&r.push(l)}}const s=n.space,o={nodeName:e.tagName,tagName:e.tagName,attrs:r,namespaceURI:yi[s],childNodes:[],parentNode:null};return o.childNodes=gy(e.children,o,n),Ys(e,o),e.tagName==="template"&&e.content&&(o.content=u7(e.content,n)),o}function m7(e,t,a){const n=a7(e,t);if(a===!1||a===null||a===void 0||typeof a=="number"&&Number.isNaN(a)||!a&&n.boolean)return;Array.isArray(a)&&(a=n.commaSeparated?o2(a):k2(a));const r={name:n.attribute,value:a===!0?"":String(a)};if(n.space&&n.space!=="html"&&n.space!=="svg"){const i=r.name.indexOf(":");i<0?r.prefix="":(r.name=r.name.slice(i+1),r.prefix=n.attribute.slice(0,i)),r.namespace=yi[n.space]}return r}function gy(e,t,a){let n=-1;const r=[];if(e)for(;++n<e.length;){const i=eS(e[n],a);i.parentNode=t,r.push(i)}return r}function Ys(e,t){const a=e.position;a&&a.start&&a.end&&(a.start.offset,a.end.offset,t.sourceCodeLocation={startLine:a.start.line,startCol:a.start.column,startOffset:a.start.offset,endLine:a.end.line,endCol:a.end.column,endOffset:a.end.offset})}const g7=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],y7=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),et="�";var N;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(N||(N={}));const sa={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function tS(e){return e>=55296&&e<=57343}function _7(e){return e>=56320&&e<=57343}function b7(e,t){return(e-55296)*1024+9216+t}function aS(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function nS(e){return e>=64976&&e<=65007||y7.has(e)}var H;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(H||(H={}));const k7=65536;class w7{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=k7,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t,a){const{line:n,col:r,offset:i}=this,s=r+a,o=i+a;return{code:t,startLine:n,endLine:n,startCol:s,endCol:s,startOffset:o,endOffset:o}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const a=this.html.charCodeAt(this.pos+1);if(_7(a))return this.pos++,this._addGap(),b7(t,a)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,N.EOF;return this._err(H.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,a){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=a}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,a){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(a)return this.html.startsWith(t,this.pos);for(let n=0;n<t.length;n++)if((this.html.charCodeAt(this.pos+n)|32)!==t.charCodeAt(n))return!1;return!0}peek(t){const a=this.pos+t;if(a>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,N.EOF;const n=this.html.charCodeAt(a);return n===N.CARRIAGE_RETURN?N.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,N.EOF;let t=this.html.charCodeAt(this.pos);return t===N.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,N.LINE_FEED):t===N.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,tS(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===N.LINE_FEED||t===N.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){aS(t)?this._err(H.controlCharacterInInputStream):nS(t)&&this._err(H.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var be;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(be||(be={}));function rS(e,t){for(let a=e.attrs.length-1;a>=0;a--)if(e.attrs[a].name===t)return e.attrs[a].value;return null}const E7=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTǇǋǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉ǲኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻ǲᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤĳạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ﬃɩᾹ\0\0᾽g;耀ﬀig;耀ﬄ;쀀𝔣lig;耀ﬁlig;쀀fjƀaltῙ῜ῡt;晭ig;耀ﬂns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒α‚‰‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସǳ⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗǈⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼ǲ㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),T7=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function v7(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=T7.get(e))!==null&&t!==void 0?t:e}var kt;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(kt||(kt={}));const S7=32;var xr;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(xr||(xr={}));function yy(e){return e>=kt.ZERO&&e<=kt.NINE}function A7(e){return e>=kt.UPPER_A&&e<=kt.UPPER_F||e>=kt.LOWER_A&&e<=kt.LOWER_F}function C7(e){return e>=kt.UPPER_A&&e<=kt.UPPER_Z||e>=kt.LOWER_A&&e<=kt.LOWER_Z||yy(e)}function x7(e){return e===kt.EQUALS||C7(e)}var wt;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(wt||(wt={}));var Fn;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Fn||(Fn={}));class z7{constructor(t,a,n){this.decodeTree=t,this.emitCodePoint=a,this.errors=n,this.state=wt.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Fn.Strict}startEntity(t){this.decodeMode=t,this.state=wt.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,a){switch(this.state){case wt.EntityStart:return t.charCodeAt(a)===kt.NUM?(this.state=wt.NumericStart,this.consumed+=1,this.stateNumericStart(t,a+1)):(this.state=wt.NamedEntity,this.stateNamedEntity(t,a));case wt.NumericStart:return this.stateNumericStart(t,a);case wt.NumericDecimal:return this.stateNumericDecimal(t,a);case wt.NumericHex:return this.stateNumericHex(t,a);case wt.NamedEntity:return this.stateNamedEntity(t,a)}}stateNumericStart(t,a){return a>=t.length?-1:(t.charCodeAt(a)|S7)===kt.LOWER_X?(this.state=wt.NumericHex,this.consumed+=1,this.stateNumericHex(t,a+1)):(this.state=wt.NumericDecimal,this.stateNumericDecimal(t,a))}addToNumericResult(t,a,n,r){if(a!==n){const i=n-a;this.result=this.result*Math.pow(r,i)+Number.parseInt(t.substr(a,i),r),this.consumed+=i}}stateNumericHex(t,a){const n=a;for(;a<t.length;){const r=t.charCodeAt(a);if(yy(r)||A7(r))a+=1;else return this.addToNumericResult(t,n,a,16),this.emitNumericEntity(r,3)}return this.addToNumericResult(t,n,a,16),-1}stateNumericDecimal(t,a){const n=a;for(;a<t.length;){const r=t.charCodeAt(a);if(yy(r))a+=1;else return this.addToNumericResult(t,n,a,10),this.emitNumericEntity(r,2)}return this.addToNumericResult(t,n,a,10),-1}emitNumericEntity(t,a){var n;if(this.consumed<=a)return(n=this.errors)===null||n===void 0||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===kt.SEMI)this.consumed+=1;else if(this.decodeMode===Fn.Strict)return 0;return this.emitCodePoint(v7(this.result),this.consumed),this.errors&&(t!==kt.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,a){const{decodeTree:n}=this;let r=n[this.treeIndex],i=(r&xr.VALUE_LENGTH)>>14;for(;a<t.length;a++,this.excess++){const s=t.charCodeAt(a);if(this.treeIndex=N7(n,r,this.treeIndex+Math.max(1,i),s),this.treeIndex<0)return this.result===0||this.decodeMode===Fn.Attribute&&(i===0||x7(s))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&xr.VALUE_LENGTH)>>14,i!==0){if(s===kt.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Fn.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:a,decodeTree:n}=this,r=(n[a]&xr.VALUE_LENGTH)>>14;return this.emitNamedEntityData(a,r,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,a,n){const{decodeTree:r}=this;return this.emitCodePoint(a===1?r[t]&~xr.VALUE_LENGTH:r[t+1],n),a===3&&this.emitCodePoint(r[t+2],n),n}end(){var t;switch(this.state){case wt.NamedEntity:return this.result!==0&&(this.decodeMode!==Fn.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case wt.NumericDecimal:return this.emitNumericEntity(0,2);case wt.NumericHex:return this.emitNumericEntity(0,3);case wt.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case wt.EntityStart:return 0}}}function N7(e,t,a,n){const r=(t&xr.BRANCH_LENGTH)>>7,i=t&xr.JUMP_TABLE;if(r===0)return i!==0&&n===i?a:-1;if(i){const l=n-i;return l<0||l>=r?-1:e[a+l]-1}let s=a,o=s+r-1;for(;s<=o;){const l=s+o>>>1,c=e[l];if(c<n)s=l+1;else if(c>n)o=l-1;else return e[l+r]}return-1}var G;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(G||(G={}));var bi;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(bi||(bi={}));var Ma;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Ma||(Ma={}));var F;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(F||(F={}));var m;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(m||(m={}));const O7=new Map([[F.A,m.A],[F.ADDRESS,m.ADDRESS],[F.ANNOTATION_XML,m.ANNOTATION_XML],[F.APPLET,m.APPLET],[F.AREA,m.AREA],[F.ARTICLE,m.ARTICLE],[F.ASIDE,m.ASIDE],[F.B,m.B],[F.BASE,m.BASE],[F.BASEFONT,m.BASEFONT],[F.BGSOUND,m.BGSOUND],[F.BIG,m.BIG],[F.BLOCKQUOTE,m.BLOCKQUOTE],[F.BODY,m.BODY],[F.BR,m.BR],[F.BUTTON,m.BUTTON],[F.CAPTION,m.CAPTION],[F.CENTER,m.CENTER],[F.CODE,m.CODE],[F.COL,m.COL],[F.COLGROUP,m.COLGROUP],[F.DD,m.DD],[F.DESC,m.DESC],[F.DETAILS,m.DETAILS],[F.DIALOG,m.DIALOG],[F.DIR,m.DIR],[F.DIV,m.DIV],[F.DL,m.DL],[F.DT,m.DT],[F.EM,m.EM],[F.EMBED,m.EMBED],[F.FIELDSET,m.FIELDSET],[F.FIGCAPTION,m.FIGCAPTION],[F.FIGURE,m.FIGURE],[F.FONT,m.FONT],[F.FOOTER,m.FOOTER],[F.FOREIGN_OBJECT,m.FOREIGN_OBJECT],[F.FORM,m.FORM],[F.FRAME,m.FRAME],[F.FRAMESET,m.FRAMESET],[F.H1,m.H1],[F.H2,m.H2],[F.H3,m.H3],[F.H4,m.H4],[F.H5,m.H5],[F.H6,m.H6],[F.HEAD,m.HEAD],[F.HEADER,m.HEADER],[F.HGROUP,m.HGROUP],[F.HR,m.HR],[F.HTML,m.HTML],[F.I,m.I],[F.IMG,m.IMG],[F.IMAGE,m.IMAGE],[F.INPUT,m.INPUT],[F.IFRAME,m.IFRAME],[F.KEYGEN,m.KEYGEN],[F.LABEL,m.LABEL],[F.LI,m.LI],[F.LINK,m.LINK],[F.LISTING,m.LISTING],[F.MAIN,m.MAIN],[F.MALIGNMARK,m.MALIGNMARK],[F.MARQUEE,m.MARQUEE],[F.MATH,m.MATH],[F.MENU,m.MENU],[F.META,m.META],[F.MGLYPH,m.MGLYPH],[F.MI,m.MI],[F.MO,m.MO],[F.MN,m.MN],[F.MS,m.MS],[F.MTEXT,m.MTEXT],[F.NAV,m.NAV],[F.NOBR,m.NOBR],[F.NOFRAMES,m.NOFRAMES],[F.NOEMBED,m.NOEMBED],[F.NOSCRIPT,m.NOSCRIPT],[F.OBJECT,m.OBJECT],[F.OL,m.OL],[F.OPTGROUP,m.OPTGROUP],[F.OPTION,m.OPTION],[F.P,m.P],[F.PARAM,m.PARAM],[F.PLAINTEXT,m.PLAINTEXT],[F.PRE,m.PRE],[F.RB,m.RB],[F.RP,m.RP],[F.RT,m.RT],[F.RTC,m.RTC],[F.RUBY,m.RUBY],[F.S,m.S],[F.SCRIPT,m.SCRIPT],[F.SEARCH,m.SEARCH],[F.SECTION,m.SECTION],[F.SELECT,m.SELECT],[F.SOURCE,m.SOURCE],[F.SMALL,m.SMALL],[F.SPAN,m.SPAN],[F.STRIKE,m.STRIKE],[F.STRONG,m.STRONG],[F.STYLE,m.STYLE],[F.SUB,m.SUB],[F.SUMMARY,m.SUMMARY],[F.SUP,m.SUP],[F.TABLE,m.TABLE],[F.TBODY,m.TBODY],[F.TEMPLATE,m.TEMPLATE],[F.TEXTAREA,m.TEXTAREA],[F.TFOOT,m.TFOOT],[F.TD,m.TD],[F.TH,m.TH],[F.THEAD,m.THEAD],[F.TITLE,m.TITLE],[F.TR,m.TR],[F.TRACK,m.TRACK],[F.TT,m.TT],[F.U,m.U],[F.UL,m.UL],[F.SVG,m.SVG],[F.VAR,m.VAR],[F.WBR,m.WBR],[F.XMP,m.XMP]]);function $s(e){var t;return(t=O7.get(e))!==null&&t!==void 0?t:m.UNKNOWN}const X=m,D7={[G.HTML]:new Set([X.ADDRESS,X.APPLET,X.AREA,X.ARTICLE,X.ASIDE,X.BASE,X.BASEFONT,X.BGSOUND,X.BLOCKQUOTE,X.BODY,X.BR,X.BUTTON,X.CAPTION,X.CENTER,X.COL,X.COLGROUP,X.DD,X.DETAILS,X.DIR,X.DIV,X.DL,X.DT,X.EMBED,X.FIELDSET,X.FIGCAPTION,X.FIGURE,X.FOOTER,X.FORM,X.FRAME,X.FRAMESET,X.H1,X.H2,X.H3,X.H4,X.H5,X.H6,X.HEAD,X.HEADER,X.HGROUP,X.HR,X.HTML,X.IFRAME,X.IMG,X.INPUT,X.LI,X.LINK,X.LISTING,X.MAIN,X.MARQUEE,X.MENU,X.META,X.NAV,X.NOEMBED,X.NOFRAMES,X.NOSCRIPT,X.OBJECT,X.OL,X.P,X.PARAM,X.PLAINTEXT,X.PRE,X.SCRIPT,X.SECTION,X.SELECT,X.SOURCE,X.STYLE,X.SUMMARY,X.TABLE,X.TBODY,X.TD,X.TEMPLATE,X.TEXTAREA,X.TFOOT,X.TH,X.THEAD,X.TITLE,X.TR,X.TRACK,X.UL,X.WBR,X.XMP]),[G.MATHML]:new Set([X.MI,X.MO,X.MN,X.MS,X.MTEXT,X.ANNOTATION_XML]),[G.SVG]:new Set([X.TITLE,X.FOREIGN_OBJECT,X.DESC]),[G.XLINK]:new Set,[G.XML]:new Set,[G.XMLNS]:new Set},_y=new Set([X.H1,X.H2,X.H3,X.H4,X.H5,X.H6]);F.STYLE,F.SCRIPT,F.XMP,F.IFRAME,F.NOEMBED,F.NOFRAMES,F.PLAINTEXT;var R;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(R||(R={}));const it={DATA:R.DATA,RCDATA:R.RCDATA,RAWTEXT:R.RAWTEXT,SCRIPT_DATA:R.SCRIPT_DATA,PLAINTEXT:R.PLAINTEXT,CDATA_SECTION:R.CDATA_SECTION};function R7(e){return e>=N.DIGIT_0&&e<=N.DIGIT_9}function Fl(e){return e>=N.LATIN_CAPITAL_A&&e<=N.LATIN_CAPITAL_Z}function L7(e){return e>=N.LATIN_SMALL_A&&e<=N.LATIN_SMALL_Z}function zr(e){return L7(e)||Fl(e)}function iS(e){return zr(e)||R7(e)}function $f(e){return e+32}function sS(e){return e===N.SPACE||e===N.LINE_FEED||e===N.TABULATION||e===N.FORM_FEED}function oS(e){return sS(e)||e===N.SOLIDUS||e===N.GREATER_THAN_SIGN}function I7(e){return e===N.NULL?H.nullCharacterReference:e>1114111?H.characterReferenceOutsideUnicodeRange:tS(e)?H.surrogateCharacterReference:nS(e)?H.noncharacterCharacterReference:aS(e)||e===N.CARRIAGE_RETURN?H.controlCharacterReference:null}class M7{constructor(t,a){this.options=t,this.handler=a,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=R.DATA,this.returnState=R.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new w7(a),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new z7(E7,(n,r)=>{this.preprocessor.pos=this.entityStartPos+r-1,this._flushCodePointConsumedAsCharacterReference(n)},a.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(H.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:n=>{this._err(H.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+n)},validateNumericCharacterReference:n=>{const r=I7(n);r&&this._err(r,1)}}:void 0)}_err(t,a=0){var n,r;(r=(n=this.handler).onParseError)===null||r===void 0||r.call(n,this.preprocessor.getError(t,a))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t==null||t())}write(t,a,n){this.active=!0,this.preprocessor.write(t,a),this._runParsingLoop(),this.paused||n==null||n()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let a=0;a<t;a++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,a){return this.preprocessor.startsWith(t,a)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:be.START_TAG,tagName:"",tagID:m.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:be.END_TAG,tagName:"",tagID:m.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:be.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:be.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,a){this.currentCharacterToken={type:t,chars:a,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,a;const n=this.currentToken;if(rS(n,this.currentAttr.name)===null){if(n.attrs.push(this.currentAttr),n.location&&this.currentLocation){const r=(t=(a=n.location).attrs)!==null&&t!==void 0?t:a.attrs=Object.create(null);r[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(H.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=$s(t.tagName),t.type===be.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(H.endTagWithAttributes),t.selfClosing&&this._err(H.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case be.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case be.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case be.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:be.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,a){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=a;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,a)}_emitCodePoint(t){const a=sS(t)?be.WHITESPACE_CHARACTER:t===N.NULL?be.NULL_CHARACTER:be.CHARACTER;this._appendCharToCurrentCharacterToken(a,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(be.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=R.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Fn.Attribute:Fn.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===R.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===R.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===R.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case R.DATA:{this._stateData(t);break}case R.RCDATA:{this._stateRcdata(t);break}case R.RAWTEXT:{this._stateRawtext(t);break}case R.SCRIPT_DATA:{this._stateScriptData(t);break}case R.PLAINTEXT:{this._statePlaintext(t);break}case R.TAG_OPEN:{this._stateTagOpen(t);break}case R.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case R.TAG_NAME:{this._stateTagName(t);break}case R.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case R.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case R.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case R.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case R.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case R.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case R.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case R.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case R.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case R.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case R.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case R.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case R.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case R.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case R.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case R.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case R.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case R.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case R.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case R.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case R.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case R.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case R.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case R.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case R.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case R.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case R.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case R.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case R.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case R.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case R.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case R.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case R.BOGUS_COMMENT:{this._stateBogusComment(t);break}case R.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case R.COMMENT_START:{this._stateCommentStart(t);break}case R.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case R.COMMENT:{this._stateComment(t);break}case R.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case R.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case R.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case R.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case R.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case R.COMMENT_END:{this._stateCommentEnd(t);break}case R.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case R.DOCTYPE:{this._stateDoctype(t);break}case R.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case R.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case R.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case R.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case R.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case R.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case R.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case R.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case R.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case R.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case R.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case R.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case R.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case R.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case R.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case R.CDATA_SECTION:{this._stateCdataSection(t);break}case R.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case R.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case R.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case R.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case N.LESS_THAN_SIGN:{this.state=R.TAG_OPEN;break}case N.AMPERSAND:{this._startCharacterReference();break}case N.NULL:{this._err(H.unexpectedNullCharacter),this._emitCodePoint(t);break}case N.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case N.AMPERSAND:{this._startCharacterReference();break}case N.LESS_THAN_SIGN:{this.state=R.RCDATA_LESS_THAN_SIGN;break}case N.NULL:{this._err(H.unexpectedNullCharacter),this._emitChars(et);break}case N.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case N.LESS_THAN_SIGN:{this.state=R.RAWTEXT_LESS_THAN_SIGN;break}case N.NULL:{this._err(H.unexpectedNullCharacter),this._emitChars(et);break}case N.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case N.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_LESS_THAN_SIGN;break}case N.NULL:{this._err(H.unexpectedNullCharacter),this._emitChars(et);break}case N.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case N.NULL:{this._err(H.unexpectedNullCharacter),this._emitChars(et);break}case N.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(zr(t))this._createStartTagToken(),this.state=R.TAG_NAME,this._stateTagName(t);else switch(t){case N.EXCLAMATION_MARK:{this.state=R.MARKUP_DECLARATION_OPEN;break}case N.SOLIDUS:{this.state=R.END_TAG_OPEN;break}case N.QUESTION_MARK:{this._err(H.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=R.BOGUS_COMMENT,this._stateBogusComment(t);break}case N.EOF:{this._err(H.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(H.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=R.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(zr(t))this._createEndTagToken(),this.state=R.TAG_NAME,this._stateTagName(t);else switch(t){case N.GREATER_THAN_SIGN:{this._err(H.missingEndTagName),this.state=R.DATA;break}case N.EOF:{this._err(H.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(H.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=R.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const a=this.currentToken;switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:{this.state=R.BEFORE_ATTRIBUTE_NAME;break}case N.SOLIDUS:{this.state=R.SELF_CLOSING_START_TAG;break}case N.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentTagToken();break}case N.NULL:{this._err(H.unexpectedNullCharacter),a.tagName+=et;break}case N.EOF:{this._err(H.eofInTag),this._emitEOFToken();break}default:a.tagName+=String.fromCodePoint(Fl(t)?$f(t):t)}}_stateRcdataLessThanSign(t){t===N.SOLIDUS?this.state=R.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=R.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){zr(t)?(this.state=R.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=R.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const a=this.currentToken;switch(a.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=R.BEFORE_ATTRIBUTE_NAME,!1;case N.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=R.SELF_CLOSING_START_TAG,!1;case N.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=R.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=R.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===N.SOLIDUS?this.state=R.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=R.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){zr(t)?(this.state=R.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=R.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=R.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case N.SOLIDUS:{this.state=R.SCRIPT_DATA_END_TAG_OPEN;break}case N.EXCLAMATION_MARK:{this.state=R.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=R.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){zr(t)?(this.state=R.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=R.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=R.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===N.HYPHEN_MINUS?(this.state=R.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=R.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===N.HYPHEN_MINUS?(this.state=R.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=R.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case N.HYPHEN_MINUS:{this.state=R.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case N.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case N.NULL:{this._err(H.unexpectedNullCharacter),this._emitChars(et);break}case N.EOF:{this._err(H.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case N.HYPHEN_MINUS:{this.state=R.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case N.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case N.NULL:{this._err(H.unexpectedNullCharacter),this.state=R.SCRIPT_DATA_ESCAPED,this._emitChars(et);break}case N.EOF:{this._err(H.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=R.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case N.HYPHEN_MINUS:{this._emitChars("-");break}case N.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case N.GREATER_THAN_SIGN:{this.state=R.SCRIPT_DATA,this._emitChars(">");break}case N.NULL:{this._err(H.unexpectedNullCharacter),this.state=R.SCRIPT_DATA_ESCAPED,this._emitChars(et);break}case N.EOF:{this._err(H.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=R.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===N.SOLIDUS?this.state=R.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:zr(t)?(this._emitChars("<"),this.state=R.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=R.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){zr(t)?(this.state=R.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=R.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=R.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(sa.SCRIPT,!1)&&oS(this.preprocessor.peek(sa.SCRIPT.length))){this._emitCodePoint(t);for(let a=0;a<sa.SCRIPT.length;a++)this._emitCodePoint(this._consume());this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=R.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case N.HYPHEN_MINUS:{this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case N.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case N.NULL:{this._err(H.unexpectedNullCharacter),this._emitChars(et);break}case N.EOF:{this._err(H.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case N.HYPHEN_MINUS:{this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case N.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case N.NULL:{this._err(H.unexpectedNullCharacter),this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(et);break}case N.EOF:{this._err(H.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case N.HYPHEN_MINUS:{this._emitChars("-");break}case N.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case N.GREATER_THAN_SIGN:{this.state=R.SCRIPT_DATA,this._emitChars(">");break}case N.NULL:{this._err(H.unexpectedNullCharacter),this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(et);break}case N.EOF:{this._err(H.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===N.SOLIDUS?(this.state=R.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(sa.SCRIPT,!1)&&oS(this.preprocessor.peek(sa.SCRIPT.length))){this._emitCodePoint(t);for(let a=0;a<sa.SCRIPT.length;a++)this._emitCodePoint(this._consume());this.state=R.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:break;case N.SOLIDUS:case N.GREATER_THAN_SIGN:case N.EOF:{this.state=R.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case N.EQUALS_SIGN:{this._err(H.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=R.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=R.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:case N.SOLIDUS:case N.GREATER_THAN_SIGN:case N.EOF:{this._leaveAttrName(),this.state=R.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case N.EQUALS_SIGN:{this._leaveAttrName(),this.state=R.BEFORE_ATTRIBUTE_VALUE;break}case N.QUOTATION_MARK:case N.APOSTROPHE:case N.LESS_THAN_SIGN:{this._err(H.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case N.NULL:{this._err(H.unexpectedNullCharacter),this.currentAttr.name+=et;break}default:this.currentAttr.name+=String.fromCodePoint(Fl(t)?$f(t):t)}}_stateAfterAttributeName(t){switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:break;case N.SOLIDUS:{this.state=R.SELF_CLOSING_START_TAG;break}case N.EQUALS_SIGN:{this.state=R.BEFORE_ATTRIBUTE_VALUE;break}case N.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentTagToken();break}case N.EOF:{this._err(H.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=R.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:break;case N.QUOTATION_MARK:{this.state=R.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case N.APOSTROPHE:{this.state=R.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case N.GREATER_THAN_SIGN:{this._err(H.missingAttributeValue),this.state=R.DATA,this.emitCurrentTagToken();break}default:this.state=R.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case N.QUOTATION_MARK:{this.state=R.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case N.AMPERSAND:{this._startCharacterReference();break}case N.NULL:{this._err(H.unexpectedNullCharacter),this.currentAttr.value+=et;break}case N.EOF:{this._err(H.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case N.APOSTROPHE:{this.state=R.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case N.AMPERSAND:{this._startCharacterReference();break}case N.NULL:{this._err(H.unexpectedNullCharacter),this.currentAttr.value+=et;break}case N.EOF:{this._err(H.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:{this._leaveAttrValue(),this.state=R.BEFORE_ATTRIBUTE_NAME;break}case N.AMPERSAND:{this._startCharacterReference();break}case N.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=R.DATA,this.emitCurrentTagToken();break}case N.NULL:{this._err(H.unexpectedNullCharacter),this.currentAttr.value+=et;break}case N.QUOTATION_MARK:case N.APOSTROPHE:case N.LESS_THAN_SIGN:case N.EQUALS_SIGN:case N.GRAVE_ACCENT:{this._err(H.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case N.EOF:{this._err(H.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:{this._leaveAttrValue(),this.state=R.BEFORE_ATTRIBUTE_NAME;break}case N.SOLIDUS:{this._leaveAttrValue(),this.state=R.SELF_CLOSING_START_TAG;break}case N.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=R.DATA,this.emitCurrentTagToken();break}case N.EOF:{this._err(H.eofInTag),this._emitEOFToken();break}default:this._err(H.missingWhitespaceBetweenAttributes),this.state=R.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case N.GREATER_THAN_SIGN:{const a=this.currentToken;a.selfClosing=!0,this.state=R.DATA,this.emitCurrentTagToken();break}case N.EOF:{this._err(H.eofInTag),this._emitEOFToken();break}default:this._err(H.unexpectedSolidusInTag),this.state=R.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const a=this.currentToken;switch(t){case N.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentComment(a);break}case N.EOF:{this.emitCurrentComment(a),this._emitEOFToken();break}case N.NULL:{this._err(H.unexpectedNullCharacter),a.data+=et;break}default:a.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(sa.DASH_DASH,!0)?(this._createCommentToken(sa.DASH_DASH.length+1),this.state=R.COMMENT_START):this._consumeSequenceIfMatch(sa.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(sa.DOCTYPE.length+1),this.state=R.DOCTYPE):this._consumeSequenceIfMatch(sa.CDATA_START,!0)?this.inForeignNode?this.state=R.CDATA_SECTION:(this._err(H.cdataInHtmlContent),this._createCommentToken(sa.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=R.BOGUS_COMMENT):this._ensureHibernation()||(this._err(H.incorrectlyOpenedComment),this._createCommentToken(2),this.state=R.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case N.HYPHEN_MINUS:{this.state=R.COMMENT_START_DASH;break}case N.GREATER_THAN_SIGN:{this._err(H.abruptClosingOfEmptyComment),this.state=R.DATA;const a=this.currentToken;this.emitCurrentComment(a);break}default:this.state=R.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const a=this.currentToken;switch(t){case N.HYPHEN_MINUS:{this.state=R.COMMENT_END;break}case N.GREATER_THAN_SIGN:{this._err(H.abruptClosingOfEmptyComment),this.state=R.DATA,this.emitCurrentComment(a);break}case N.EOF:{this._err(H.eofInComment),this.emitCurrentComment(a),this._emitEOFToken();break}default:a.data+="-",this.state=R.COMMENT,this._stateComment(t)}}_stateComment(t){const a=this.currentToken;switch(t){case N.HYPHEN_MINUS:{this.state=R.COMMENT_END_DASH;break}case N.LESS_THAN_SIGN:{a.data+="<",this.state=R.COMMENT_LESS_THAN_SIGN;break}case N.NULL:{this._err(H.unexpectedNullCharacter),a.data+=et;break}case N.EOF:{this._err(H.eofInComment),this.emitCurrentComment(a),this._emitEOFToken();break}default:a.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const a=this.currentToken;switch(t){case N.EXCLAMATION_MARK:{a.data+="!",this.state=R.COMMENT_LESS_THAN_SIGN_BANG;break}case N.LESS_THAN_SIGN:{a.data+="<";break}default:this.state=R.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===N.HYPHEN_MINUS?this.state=R.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=R.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===N.HYPHEN_MINUS?this.state=R.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=R.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==N.GREATER_THAN_SIGN&&t!==N.EOF&&this._err(H.nestedComment),this.state=R.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const a=this.currentToken;switch(t){case N.HYPHEN_MINUS:{this.state=R.COMMENT_END;break}case N.EOF:{this._err(H.eofInComment),this.emitCurrentComment(a),this._emitEOFToken();break}default:a.data+="-",this.state=R.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const a=this.currentToken;switch(t){case N.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentComment(a);break}case N.EXCLAMATION_MARK:{this.state=R.COMMENT_END_BANG;break}case N.HYPHEN_MINUS:{a.data+="-";break}case N.EOF:{this._err(H.eofInComment),this.emitCurrentComment(a),this._emitEOFToken();break}default:a.data+="--",this.state=R.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const a=this.currentToken;switch(t){case N.HYPHEN_MINUS:{a.data+="--!",this.state=R.COMMENT_END_DASH;break}case N.GREATER_THAN_SIGN:{this._err(H.incorrectlyClosedComment),this.state=R.DATA,this.emitCurrentComment(a);break}case N.EOF:{this._err(H.eofInComment),this.emitCurrentComment(a),this._emitEOFToken();break}default:a.data+="--!",this.state=R.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:{this.state=R.BEFORE_DOCTYPE_NAME;break}case N.GREATER_THAN_SIGN:{this.state=R.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case N.EOF:{this._err(H.eofInDoctype),this._createDoctypeToken(null);const a=this.currentToken;a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(H.missingWhitespaceBeforeDoctypeName),this.state=R.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(Fl(t))this._createDoctypeToken(String.fromCharCode($f(t))),this.state=R.DOCTYPE_NAME;else switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:break;case N.NULL:{this._err(H.unexpectedNullCharacter),this._createDoctypeToken(et),this.state=R.DOCTYPE_NAME;break}case N.GREATER_THAN_SIGN:{this._err(H.missingDoctypeName),this._createDoctypeToken(null);const a=this.currentToken;a.forceQuirks=!0,this.emitCurrentDoctype(a),this.state=R.DATA;break}case N.EOF:{this._err(H.eofInDoctype),this._createDoctypeToken(null);const a=this.currentToken;a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=R.DOCTYPE_NAME}}_stateDoctypeName(t){const a=this.currentToken;switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:{this.state=R.AFTER_DOCTYPE_NAME;break}case N.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentDoctype(a);break}case N.NULL:{this._err(H.unexpectedNullCharacter),a.name+=et;break}case N.EOF:{this._err(H.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:a.name+=String.fromCodePoint(Fl(t)?$f(t):t)}}_stateAfterDoctypeName(t){const a=this.currentToken;switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:break;case N.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentDoctype(a);break}case N.EOF:{this._err(H.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(sa.PUBLIC,!1)?this.state=R.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(sa.SYSTEM,!1)?this.state=R.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(H.invalidCharacterSequenceAfterDoctypeName),a.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const a=this.currentToken;switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:{this.state=R.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case N.QUOTATION_MARK:{this._err(H.missingWhitespaceAfterDoctypePublicKeyword),a.publicId="",this.state=R.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case N.APOSTROPHE:{this._err(H.missingWhitespaceAfterDoctypePublicKeyword),a.publicId="",this.state=R.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case N.GREATER_THAN_SIGN:{this._err(H.missingDoctypePublicIdentifier),a.forceQuirks=!0,this.state=R.DATA,this.emitCurrentDoctype(a);break}case N.EOF:{this._err(H.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(H.missingQuoteBeforeDoctypePublicIdentifier),a.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const a=this.currentToken;switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:break;case N.QUOTATION_MARK:{a.publicId="",this.state=R.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case N.APOSTROPHE:{a.publicId="",this.state=R.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case N.GREATER_THAN_SIGN:{this._err(H.missingDoctypePublicIdentifier),a.forceQuirks=!0,this.state=R.DATA,this.emitCurrentDoctype(a);break}case N.EOF:{this._err(H.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(H.missingQuoteBeforeDoctypePublicIdentifier),a.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const a=this.currentToken;switch(t){case N.QUOTATION_MARK:{this.state=R.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case N.NULL:{this._err(H.unexpectedNullCharacter),a.publicId+=et;break}case N.GREATER_THAN_SIGN:{this._err(H.abruptDoctypePublicIdentifier),a.forceQuirks=!0,this.emitCurrentDoctype(a),this.state=R.DATA;break}case N.EOF:{this._err(H.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:a.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const a=this.currentToken;switch(t){case N.APOSTROPHE:{this.state=R.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case N.NULL:{this._err(H.unexpectedNullCharacter),a.publicId+=et;break}case N.GREATER_THAN_SIGN:{this._err(H.abruptDoctypePublicIdentifier),a.forceQuirks=!0,this.emitCurrentDoctype(a),this.state=R.DATA;break}case N.EOF:{this._err(H.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:a.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const a=this.currentToken;switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:{this.state=R.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case N.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentDoctype(a);break}case N.QUOTATION_MARK:{this._err(H.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),a.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case N.APOSTROPHE:{this._err(H.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),a.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case N.EOF:{this._err(H.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(H.missingQuoteBeforeDoctypeSystemIdentifier),a.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const a=this.currentToken;switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:break;case N.GREATER_THAN_SIGN:{this.emitCurrentDoctype(a),this.state=R.DATA;break}case N.QUOTATION_MARK:{a.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case N.APOSTROPHE:{a.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case N.EOF:{this._err(H.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(H.missingQuoteBeforeDoctypeSystemIdentifier),a.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const a=this.currentToken;switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:{this.state=R.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case N.QUOTATION_MARK:{this._err(H.missingWhitespaceAfterDoctypeSystemKeyword),a.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case N.APOSTROPHE:{this._err(H.missingWhitespaceAfterDoctypeSystemKeyword),a.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case N.GREATER_THAN_SIGN:{this._err(H.missingDoctypeSystemIdentifier),a.forceQuirks=!0,this.state=R.DATA,this.emitCurrentDoctype(a);break}case N.EOF:{this._err(H.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(H.missingQuoteBeforeDoctypeSystemIdentifier),a.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const a=this.currentToken;switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:break;case N.QUOTATION_MARK:{a.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case N.APOSTROPHE:{a.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case N.GREATER_THAN_SIGN:{this._err(H.missingDoctypeSystemIdentifier),a.forceQuirks=!0,this.state=R.DATA,this.emitCurrentDoctype(a);break}case N.EOF:{this._err(H.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(H.missingQuoteBeforeDoctypeSystemIdentifier),a.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const a=this.currentToken;switch(t){case N.QUOTATION_MARK:{this.state=R.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case N.NULL:{this._err(H.unexpectedNullCharacter),a.systemId+=et;break}case N.GREATER_THAN_SIGN:{this._err(H.abruptDoctypeSystemIdentifier),a.forceQuirks=!0,this.emitCurrentDoctype(a),this.state=R.DATA;break}case N.EOF:{this._err(H.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:a.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const a=this.currentToken;switch(t){case N.APOSTROPHE:{this.state=R.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case N.NULL:{this._err(H.unexpectedNullCharacter),a.systemId+=et;break}case N.GREATER_THAN_SIGN:{this._err(H.abruptDoctypeSystemIdentifier),a.forceQuirks=!0,this.emitCurrentDoctype(a),this.state=R.DATA;break}case N.EOF:{this._err(H.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:a.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const a=this.currentToken;switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:break;case N.GREATER_THAN_SIGN:{this.emitCurrentDoctype(a),this.state=R.DATA;break}case N.EOF:{this._err(H.eofInDoctype),a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(H.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const a=this.currentToken;switch(t){case N.GREATER_THAN_SIGN:{this.emitCurrentDoctype(a),this.state=R.DATA;break}case N.NULL:{this._err(H.unexpectedNullCharacter);break}case N.EOF:{this.emitCurrentDoctype(a),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case N.RIGHT_SQUARE_BRACKET:{this.state=R.CDATA_SECTION_BRACKET;break}case N.EOF:{this._err(H.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===N.RIGHT_SQUARE_BRACKET?this.state=R.CDATA_SECTION_END:(this._emitChars("]"),this.state=R.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case N.GREATER_THAN_SIGN:{this.state=R.DATA;break}case N.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=R.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(N.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&iS(this.preprocessor.peek(1))?R.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){iS(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===N.SEMICOLON&&this._err(H.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const lS=new Set([m.DD,m.DT,m.LI,m.OPTGROUP,m.OPTION,m.P,m.RB,m.RP,m.RT,m.RTC]),cS=new Set([...lS,m.CAPTION,m.COLGROUP,m.TBODY,m.TD,m.TFOOT,m.TH,m.THEAD,m.TR]),Qf=new Set([m.APPLET,m.CAPTION,m.HTML,m.MARQUEE,m.OBJECT,m.TABLE,m.TD,m.TEMPLATE,m.TH]),P7=new Set([...Qf,m.OL,m.UL]),U7=new Set([...Qf,m.BUTTON]),uS=new Set([m.ANNOTATION_XML,m.MI,m.MN,m.MO,m.MS,m.MTEXT]),fS=new Set([m.DESC,m.FOREIGN_OBJECT,m.TITLE]),B7=new Set([m.TR,m.TEMPLATE,m.HTML]),F7=new Set([m.TBODY,m.TFOOT,m.THEAD,m.TEMPLATE,m.HTML]),H7=new Set([m.TABLE,m.TEMPLATE,m.HTML]),j7=new Set([m.TD,m.TH]);class q7{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,a,n){this.treeAdapter=a,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=m.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===m.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===G.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,a){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=a,this.currentTagId=a,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,a,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,a){const n=this._indexOf(t);this.items[n]=a,n===this.stackTop&&(this.current=a)}insertAfter(t,a,n){const r=this._indexOf(t)+1;this.items.splice(r,0,a),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(t){let a=this.stackTop+1;do a=this.tagIDs.lastIndexOf(t,a-1);while(a>0&&this.treeAdapter.getNamespaceURI(this.items[a])!==G.HTML);this.shortenToLength(Math.max(a,0))}shortenToLength(t){for(;this.stackTop>=t;){const a=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(a,this.stackTop<t)}}popUntilElementPopped(t){const a=this._indexOf(t);this.shortenToLength(Math.max(a,0))}popUntilPopped(t,a){const n=this._indexOfTagNames(t,a);this.shortenToLength(Math.max(n,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(_y,G.HTML)}popUntilTableCellPopped(){this.popUntilPopped(j7,G.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,a){for(let n=this.stackTop;n>=0;n--)if(t.has(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===a)return n;return-1}clearBackTo(t,a){const n=this._indexOfTagNames(t,a);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(H7,G.HTML)}clearBackToTableBodyContext(){this.clearBackTo(F7,G.HTML)}clearBackToTableRowContext(){this.clearBackTo(B7,G.HTML)}remove(t){const a=this._indexOf(t);a>=0&&(a===this.stackTop?this.pop():(this.items.splice(a,1),this.tagIDs.splice(a,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===m.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const a=this._indexOf(t)-1;return a>=0?this.items[a]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===m.HTML}hasInDynamicScope(t,a){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case G.HTML:{if(r===t)return!0;if(a.has(r))return!1;break}case G.SVG:{if(fS.has(r))return!1;break}case G.MATHML:{if(uS.has(r))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,Qf)}hasInListItemScope(t){return this.hasInDynamicScope(t,P7)}hasInButtonScope(t){return this.hasInDynamicScope(t,U7)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const a=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case G.HTML:{if(_y.has(a))return!0;if(Qf.has(a))return!1;break}case G.SVG:{if(fS.has(a))return!1;break}case G.MATHML:{if(uS.has(a))return!1;break}}}return!0}hasInTableScope(t){for(let a=this.stackTop;a>=0;a--)if(this.treeAdapter.getNamespaceURI(this.items[a])===G.HTML)switch(this.tagIDs[a]){case t:return!0;case m.TABLE:case m.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===G.HTML)switch(this.tagIDs[t]){case m.TBODY:case m.THEAD:case m.TFOOT:return!0;case m.TABLE:case m.HTML:return!1}return!0}hasInSelectScope(t){for(let a=this.stackTop;a>=0;a--)if(this.treeAdapter.getNamespaceURI(this.items[a])===G.HTML)switch(this.tagIDs[a]){case t:return!0;case m.OPTION:case m.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&lS.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&cS.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&cS.has(this.currentTagId);)this.pop()}}const by=3;var pn;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(pn||(pn={}));const dS={type:pn.Marker};class Y7{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,a){const n=[],r=a.length,i=this.treeAdapter.getTagName(t),s=this.treeAdapter.getNamespaceURI(t);for(let o=0;o<this.entries.length;o++){const l=this.entries[o];if(l.type===pn.Marker)break;const{element:c}=l;if(this.treeAdapter.getTagName(c)===i&&this.treeAdapter.getNamespaceURI(c)===s){const f=this.treeAdapter.getAttrList(c);f.length===r&&n.push({idx:o,attrs:f})}}return n}_ensureNoahArkCondition(t){if(this.entries.length<by)return;const a=this.treeAdapter.getAttrList(t),n=this._getNoahArkConditionCandidates(t,a);if(n.length<by)return;const r=new Map(a.map(s=>[s.name,s.value]));let i=0;for(let s=0;s<n.length;s++){const o=n[s];o.attrs.every(l=>r.get(l.name)===l.value)&&(i+=1,i>=by&&this.entries.splice(o.idx,1))}}insertMarker(){this.entries.unshift(dS)}pushElement(t,a){this._ensureNoahArkCondition(t),this.entries.unshift({type:pn.Element,element:t,token:a})}insertElementAfterBookmark(t,a){const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:pn.Element,element:t,token:a})}removeEntry(t){const a=this.entries.indexOf(t);a!==-1&&this.entries.splice(a,1)}clearToLastMarker(){const t=this.entries.indexOf(dS);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const a=this.entries.find(n=>n.type===pn.Marker||this.treeAdapter.getTagName(n.element)===t);return a&&a.type===pn.Element?a:null}getElementEntry(t){return this.entries.find(a=>a.type===pn.Element&&a.element===t)}}const Nr={createDocument(){return{nodeName:"#document",mode:Ma.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,a){return{nodeName:e,tagName:e,attrs:a,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,a){const n=e.childNodes.indexOf(a);e.childNodes.splice(n,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,a,n){const r=e.childNodes.find(i=>i.nodeName==="#documentType");if(r)r.name=t,r.publicId=a,r.systemId=n;else{const i={nodeName:"#documentType",name:t,publicId:a,systemId:n,parentNode:null};Nr.appendChild(e,i)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const a=e.childNodes[e.childNodes.length-1];if(Nr.isTextNode(a)){a.value+=t;return}}Nr.appendChild(e,Nr.createTextNode(t))},insertTextBefore(e,t,a){const n=e.childNodes[e.childNodes.indexOf(a)-1];n&&Nr.isTextNode(n)?n.value+=t:Nr.insertBefore(e,Nr.createTextNode(t),a)},adoptAttributes(e,t){const a=new Set(e.attrs.map(n=>n.name));for(let n=0;n<t.length;n++)a.has(t[n].name)||e.attrs.push(t[n])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},hS="html",$7="about:legacy-compat",Q7="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",pS=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],V7=[...pS,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],G7=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),mS=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],X7=[...mS,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function gS(e,t){return t.some(a=>e.startsWith(a))}function K7(e){return e.name===hS&&e.publicId===null&&(e.systemId===null||e.systemId===$7)}function W7(e){if(e.name!==hS)return Ma.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===Q7)return Ma.QUIRKS;let{publicId:a}=e;if(a!==null){if(a=a.toLowerCase(),G7.has(a))return Ma.QUIRKS;let n=t===null?V7:pS;if(gS(a,n))return Ma.QUIRKS;if(n=t===null?mS:X7,gS(a,n))return Ma.LIMITED_QUIRKS}return Ma.NO_QUIRKS}const yS={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},Z7="definitionurl",J7="definitionURL",eP=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),tP=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:G.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:G.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:G.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:G.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:G.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:G.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:G.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:G.XML}],["xml:space",{prefix:"xml",name:"space",namespace:G.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:G.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:G.XMLNS}]]),aP=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),nP=new Set([m.B,m.BIG,m.BLOCKQUOTE,m.BODY,m.BR,m.CENTER,m.CODE,m.DD,m.DIV,m.DL,m.DT,m.EM,m.EMBED,m.H1,m.H2,m.H3,m.H4,m.H5,m.H6,m.HEAD,m.HR,m.I,m.IMG,m.LI,m.LISTING,m.MENU,m.META,m.NOBR,m.OL,m.P,m.PRE,m.RUBY,m.S,m.SMALL,m.SPAN,m.STRONG,m.STRIKE,m.SUB,m.SUP,m.TABLE,m.TT,m.U,m.UL,m.VAR]);function rP(e){const t=e.tagID;return t===m.FONT&&e.attrs.some(({name:n})=>n===bi.COLOR||n===bi.SIZE||n===bi.FACE)||nP.has(t)}function _S(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===Z7){e.attrs[t].name=J7;break}}function bS(e){for(let t=0;t<e.attrs.length;t++){const a=eP.get(e.attrs[t].name);a!=null&&(e.attrs[t].name=a)}}function ky(e){for(let t=0;t<e.attrs.length;t++){const a=tP.get(e.attrs[t].name);a&&(e.attrs[t].prefix=a.prefix,e.attrs[t].name=a.name,e.attrs[t].namespace=a.namespace)}}function iP(e){const t=aP.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=$s(e.tagName))}function sP(e,t){return t===G.MATHML&&(e===m.MI||e===m.MO||e===m.MN||e===m.MS||e===m.MTEXT)}function oP(e,t,a){if(t===G.MATHML&&e===m.ANNOTATION_XML){for(let n=0;n<a.length;n++)if(a[n].name===bi.ENCODING){const r=a[n].value.toLowerCase();return r===yS.TEXT_HTML||r===yS.APPLICATION_XML}}return t===G.SVG&&(e===m.FOREIGN_OBJECT||e===m.DESC||e===m.TITLE)}function lP(e,t,a,n){return(!n||n===G.HTML)&&oP(e,t,a)||(!n||n===G.MATHML)&&sP(e,t)}const cP="hidden",uP=8,fP=3;var I;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(I||(I={}));const dP={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},kS=new Set([m.TABLE,m.TBODY,m.TFOOT,m.THEAD,m.TR]),wS={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Nr,onParseError:null};class ES{constructor(t,a,n=null,r=null){this.fragmentContext=n,this.scriptHandler=r,this.currentToken=null,this.stopped=!1,this.insertionMode=I.INITIAL,this.originalInsertionMode=I.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...wS,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=a??this.treeAdapter.createDocument(),this.tokenizer=new M7(this.options,this),this.activeFormattingElements=new Y7(this.treeAdapter),this.fragmentContextID=n?$s(this.treeAdapter.getTagName(n)):m.UNKNOWN,this._setContextModes(n??this.document,this.fragmentContextID),this.openElements=new q7(this.document,this.treeAdapter,this)}static parse(t,a){const n=new this(a);return n.tokenizer.write(t,!0),n.document}static getFragmentParser(t,a){const n={...wS,...a};t??(t=n.treeAdapter.createElement(F.TEMPLATE,G.HTML,[]));const r=n.treeAdapter.createElement("documentmock",G.HTML,[]),i=new this(n,r,t);return i.fragmentContextID===m.TEMPLATE&&i.tmplInsertionModeStack.unshift(I.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),a=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,a),a}_err(t,a,n){var r;if(!this.onParseError)return;const i=(r=t.location)!==null&&r!==void 0?r:dP,s={code:a,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:n?i.startLine:i.endLine,endCol:n?i.startCol:i.endCol,endOffset:n?i.startOffset:i.endOffset};this.onParseError(s)}onItemPush(t,a,n){var r,i;(i=(r=this.treeAdapter).onItemPush)===null||i===void 0||i.call(r,t),n&&this.openElements.stackTop>0&&this._setContextModes(t,a)}onItemPop(t,a){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(r=(n=this.treeAdapter).onItemPop)===null||r===void 0||r.call(n,t,this.openElements.current),a){let i,s;this.openElements.stackTop===0&&this.fragmentContext?(i=this.fragmentContext,s=this.fragmentContextID):{current:i,currentTagId:s}=this.openElements,this._setContextModes(i,s)}}_setContextModes(t,a){const n=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===G.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&t!==void 0&&a!==void 0&&!this._isIntegrationPoint(a,t)}_switchToTextParsing(t,a){this._insertElement(t,G.HTML),this.tokenizer.state=a,this.originalInsertionMode=this.insertionMode,this.insertionMode=I.TEXT}switchToPlaintextParsing(){this.insertionMode=I.TEXT,this.originalInsertionMode=I.IN_BODY,this.tokenizer.state=it.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===F.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==G.HTML))switch(this.fragmentContextID){case m.TITLE:case m.TEXTAREA:{this.tokenizer.state=it.RCDATA;break}case m.STYLE:case m.XMP:case m.IFRAME:case m.NOEMBED:case m.NOFRAMES:case m.NOSCRIPT:{this.tokenizer.state=it.RAWTEXT;break}case m.SCRIPT:{this.tokenizer.state=it.SCRIPT_DATA;break}case m.PLAINTEXT:{this.tokenizer.state=it.PLAINTEXT;break}}}_setDocumentType(t){const a=t.name||"",n=t.publicId||"",r=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,a,n,r),t.location){const s=this.treeAdapter.getChildNodes(this.document).find(o=>this.treeAdapter.isDocumentTypeNode(o));s&&this.treeAdapter.setNodeSourceCodeLocation(s,t.location)}}_attachElementToTree(t,a){if(this.options.sourceCodeLocationInfo){const n=a&&{...a,startTag:a};this.treeAdapter.setNodeSourceCodeLocation(t,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const n=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(n??this.document,t)}}_appendElement(t,a){const n=this.treeAdapter.createElement(t.tagName,a,t.attrs);this._attachElementToTree(n,t.location)}_insertElement(t,a){const n=this.treeAdapter.createElement(t.tagName,a,t.attrs);this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID)}_insertFakeElement(t,a){const n=this.treeAdapter.createElement(t,G.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,a)}_insertTemplate(t){const a=this.treeAdapter.createElement(t.tagName,G.HTML,t.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(a,n),this._attachElementToTree(a,t.location),this.openElements.push(a,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(F.HTML,G.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,m.HTML)}_appendCommentNode(t,a){const n=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(a,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,t.location)}_insertCharacters(t){let a,n;if(this._shouldFosterParentOnInsertion()?({parent:a,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(a,t.chars,n):this.treeAdapter.insertText(a,t.chars)):(a=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(a,t.chars)),!t.location)return;const r=this.treeAdapter.getChildNodes(a),i=n?r.lastIndexOf(n):r.length,s=r[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(s)){const{endLine:l,endCol:c,endOffset:f}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(s,{endLine:l,endCol:c,endOffset:f})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(s,t.location)}_adoptNodes(t,a){for(let n=this.treeAdapter.getFirstChild(t);n;n=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(a,n)}_setEndLocation(t,a){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&a.location){const n=a.location,r=this.treeAdapter.getTagName(t),i=a.type===be.END_TAG&&r===a.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,i)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let a,n;return this.openElements.stackTop===0&&this.fragmentContext?(a=this.fragmentContext,n=this.fragmentContextID):{current:a,currentTagId:n}=this.openElements,t.tagID===m.SVG&&this.treeAdapter.getTagName(a)===F.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(a)===G.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===m.MGLYPH||t.tagID===m.MALIGNMARK)&&n!==void 0&&!this._isIntegrationPoint(n,a,G.HTML)}_processToken(t){switch(t.type){case be.CHARACTER:{this.onCharacter(t);break}case be.NULL_CHARACTER:{this.onNullCharacter(t);break}case be.COMMENT:{this.onComment(t);break}case be.DOCTYPE:{this.onDoctype(t);break}case be.START_TAG:{this._processStartTag(t);break}case be.END_TAG:{this.onEndTag(t);break}case be.EOF:{this.onEof(t);break}case be.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,a,n){const r=this.treeAdapter.getNamespaceURI(a),i=this.treeAdapter.getAttrList(a);return lP(t,r,i,n)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const a=this.activeFormattingElements.entries.findIndex(r=>r.type===pn.Marker||this.openElements.contains(r.element)),n=a===-1?t-1:a-1;for(let r=n;r>=0;r--){const i=this.activeFormattingElements.entries[r];this._insertElement(i.token,this.treeAdapter.getNamespaceURI(i.element)),i.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=I.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(m.P),this.openElements.popUntilTagNamePopped(m.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case m.TR:{this.insertionMode=I.IN_ROW;return}case m.TBODY:case m.THEAD:case m.TFOOT:{this.insertionMode=I.IN_TABLE_BODY;return}case m.CAPTION:{this.insertionMode=I.IN_CAPTION;return}case m.COLGROUP:{this.insertionMode=I.IN_COLUMN_GROUP;return}case m.TABLE:{this.insertionMode=I.IN_TABLE;return}case m.BODY:{this.insertionMode=I.IN_BODY;return}case m.FRAMESET:{this.insertionMode=I.IN_FRAMESET;return}case m.SELECT:{this._resetInsertionModeForSelect(t);return}case m.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case m.HTML:{this.insertionMode=this.headElement?I.AFTER_HEAD:I.BEFORE_HEAD;return}case m.TD:case m.TH:{if(t>0){this.insertionMode=I.IN_CELL;return}break}case m.HEAD:{if(t>0){this.insertionMode=I.IN_HEAD;return}break}}this.insertionMode=I.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let a=t-1;a>0;a--){const n=this.openElements.tagIDs[a];if(n===m.TEMPLATE)break;if(n===m.TABLE){this.insertionMode=I.IN_SELECT_IN_TABLE;return}}this.insertionMode=I.IN_SELECT}_isElementCausesFosterParenting(t){return kS.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const a=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case m.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(a)===G.HTML)return{parent:this.treeAdapter.getTemplateContent(a),beforeElement:null};break}case m.TABLE:{const n=this.treeAdapter.getParentNode(a);return n?{parent:n,beforeElement:a}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const a=this._findFosterParentingLocation();a.beforeElement?this.treeAdapter.insertBefore(a.parent,t,a.beforeElement):this.treeAdapter.appendChild(a.parent,t)}_isSpecialElement(t,a){const n=this.treeAdapter.getNamespaceURI(t);return D7[n].has(a)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){jU(this,t);return}switch(this.insertionMode){case I.INITIAL:{Hl(this,t);break}case I.BEFORE_HTML:{jl(this,t);break}case I.BEFORE_HEAD:{ql(this,t);break}case I.IN_HEAD:{Yl(this,t);break}case I.IN_HEAD_NO_SCRIPT:{$l(this,t);break}case I.AFTER_HEAD:{Ql(this,t);break}case I.IN_BODY:case I.IN_CAPTION:case I.IN_CELL:case I.IN_TEMPLATE:{vS(this,t);break}case I.TEXT:case I.IN_SELECT:case I.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case I.IN_TABLE:case I.IN_TABLE_BODY:case I.IN_ROW:{vy(this,t);break}case I.IN_TABLE_TEXT:{DS(this,t);break}case I.IN_COLUMN_GROUP:{Xf(this,t);break}case I.AFTER_BODY:{Zf(this,t);break}case I.AFTER_AFTER_BODY:{Jf(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){HU(this,t);return}switch(this.insertionMode){case I.INITIAL:{Hl(this,t);break}case I.BEFORE_HTML:{jl(this,t);break}case I.BEFORE_HEAD:{ql(this,t);break}case I.IN_HEAD:{Yl(this,t);break}case I.IN_HEAD_NO_SCRIPT:{$l(this,t);break}case I.AFTER_HEAD:{Ql(this,t);break}case I.TEXT:{this._insertCharacters(t);break}case I.IN_TABLE:case I.IN_TABLE_BODY:case I.IN_ROW:{vy(this,t);break}case I.IN_COLUMN_GROUP:{Xf(this,t);break}case I.AFTER_BODY:{Zf(this,t);break}case I.AFTER_AFTER_BODY:{Jf(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){Ey(this,t);return}switch(this.insertionMode){case I.INITIAL:case I.BEFORE_HTML:case I.BEFORE_HEAD:case I.IN_HEAD:case I.IN_HEAD_NO_SCRIPT:case I.AFTER_HEAD:case I.IN_BODY:case I.IN_TABLE:case I.IN_CAPTION:case I.IN_COLUMN_GROUP:case I.IN_TABLE_BODY:case I.IN_ROW:case I.IN_CELL:case I.IN_SELECT:case I.IN_SELECT_IN_TABLE:case I.IN_TEMPLATE:case I.IN_FRAMESET:case I.AFTER_FRAMESET:{Ey(this,t);break}case I.IN_TABLE_TEXT:{Xl(this,t);break}case I.AFTER_BODY:{bP(this,t);break}case I.AFTER_AFTER_BODY:case I.AFTER_AFTER_FRAMESET:{kP(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case I.INITIAL:{wP(this,t);break}case I.BEFORE_HEAD:case I.IN_HEAD:case I.IN_HEAD_NO_SCRIPT:case I.AFTER_HEAD:{this._err(t,H.misplacedDoctype);break}case I.IN_TABLE_TEXT:{Xl(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,H.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?qU(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case I.INITIAL:{Hl(this,t);break}case I.BEFORE_HTML:{EP(this,t);break}case I.BEFORE_HEAD:{vP(this,t);break}case I.IN_HEAD:{Xa(this,t);break}case I.IN_HEAD_NO_SCRIPT:{CP(this,t);break}case I.AFTER_HEAD:{zP(this,t);break}case I.IN_BODY:{Ft(this,t);break}case I.IN_TABLE:{Qs(this,t);break}case I.IN_TABLE_TEXT:{Xl(this,t);break}case I.IN_CAPTION:{SU(this,t);break}case I.IN_COLUMN_GROUP:{Sy(this,t);break}case I.IN_TABLE_BODY:{Kf(this,t);break}case I.IN_ROW:{Wf(this,t);break}case I.IN_CELL:{xU(this,t);break}case I.IN_SELECT:{IS(this,t);break}case I.IN_SELECT_IN_TABLE:{NU(this,t);break}case I.IN_TEMPLATE:{DU(this,t);break}case I.AFTER_BODY:{LU(this,t);break}case I.IN_FRAMESET:{IU(this,t);break}case I.AFTER_FRAMESET:{PU(this,t);break}case I.AFTER_AFTER_BODY:{BU(this,t);break}case I.AFTER_AFTER_FRAMESET:{FU(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?YU(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case I.INITIAL:{Hl(this,t);break}case I.BEFORE_HTML:{TP(this,t);break}case I.BEFORE_HEAD:{SP(this,t);break}case I.IN_HEAD:{AP(this,t);break}case I.IN_HEAD_NO_SCRIPT:{xP(this,t);break}case I.AFTER_HEAD:{NP(this,t);break}case I.IN_BODY:{Gf(this,t);break}case I.TEXT:{mU(this,t);break}case I.IN_TABLE:{Vl(this,t);break}case I.IN_TABLE_TEXT:{Xl(this,t);break}case I.IN_CAPTION:{AU(this,t);break}case I.IN_COLUMN_GROUP:{CU(this,t);break}case I.IN_TABLE_BODY:{Ay(this,t);break}case I.IN_ROW:{LS(this,t);break}case I.IN_CELL:{zU(this,t);break}case I.IN_SELECT:{MS(this,t);break}case I.IN_SELECT_IN_TABLE:{OU(this,t);break}case I.IN_TEMPLATE:{RU(this,t);break}case I.AFTER_BODY:{US(this,t);break}case I.IN_FRAMESET:{MU(this,t);break}case I.AFTER_FRAMESET:{UU(this,t);break}case I.AFTER_AFTER_BODY:{Jf(this,t);break}}}onEof(t){switch(this.insertionMode){case I.INITIAL:{Hl(this,t);break}case I.BEFORE_HTML:{jl(this,t);break}case I.BEFORE_HEAD:{ql(this,t);break}case I.IN_HEAD:{Yl(this,t);break}case I.IN_HEAD_NO_SCRIPT:{$l(this,t);break}case I.AFTER_HEAD:{Ql(this,t);break}case I.IN_BODY:case I.IN_TABLE:case I.IN_CAPTION:case I.IN_COLUMN_GROUP:case I.IN_TABLE_BODY:case I.IN_ROW:case I.IN_CELL:case I.IN_SELECT:case I.IN_SELECT_IN_TABLE:{NS(this,t);break}case I.TEXT:{gU(this,t);break}case I.IN_TABLE_TEXT:{Xl(this,t);break}case I.IN_TEMPLATE:{PS(this,t);break}case I.AFTER_BODY:case I.IN_FRAMESET:case I.AFTER_FRAMESET:case I.AFTER_AFTER_BODY:case I.AFTER_AFTER_FRAMESET:{Ty(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===N.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case I.IN_HEAD:case I.IN_HEAD_NO_SCRIPT:case I.AFTER_HEAD:case I.TEXT:case I.IN_COLUMN_GROUP:case I.IN_SELECT:case I.IN_SELECT_IN_TABLE:case I.IN_FRAMESET:case I.AFTER_FRAMESET:{this._insertCharacters(t);break}case I.IN_BODY:case I.IN_CAPTION:case I.IN_CELL:case I.IN_TEMPLATE:case I.AFTER_BODY:case I.AFTER_AFTER_BODY:case I.AFTER_AFTER_FRAMESET:{TS(this,t);break}case I.IN_TABLE:case I.IN_TABLE_BODY:case I.IN_ROW:{vy(this,t);break}case I.IN_TABLE_TEXT:{OS(this,t);break}}}}function hP(e,t){let a=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return a?e.openElements.contains(a.element)?e.openElements.hasInScope(t.tagID)||(a=null):(e.activeFormattingElements.removeEntry(a),a=null):zS(e,t),a}function pP(e,t){let a=null,n=e.openElements.stackTop;for(;n>=0;n--){const r=e.openElements.items[n];if(r===t.element)break;e._isSpecialElement(r,e.openElements.tagIDs[n])&&(a=r)}return a||(e.openElements.shortenToLength(Math.max(n,0)),e.activeFormattingElements.removeEntry(t)),a}function mP(e,t,a){let n=t,r=e.openElements.getCommonAncestor(t);for(let i=0,s=r;s!==a;i++,s=r){r=e.openElements.getCommonAncestor(s);const o=e.activeFormattingElements.getElementEntry(s),l=o&&i>=fP;!o||l?(l&&e.activeFormattingElements.removeEntry(o),e.openElements.remove(s)):(s=gP(e,o),n===t&&(e.activeFormattingElements.bookmark=o),e.treeAdapter.detachNode(n),e.treeAdapter.appendChild(s,n),n=s)}return n}function gP(e,t){const a=e.treeAdapter.getNamespaceURI(t.element),n=e.treeAdapter.createElement(t.token.tagName,a,t.token.attrs);return e.openElements.replace(t.element,n),t.element=n,n}function yP(e,t,a){const n=e.treeAdapter.getTagName(t),r=$s(n);if(e._isElementCausesFosterParenting(r))e._fosterParentElement(a);else{const i=e.treeAdapter.getNamespaceURI(t);r===m.TEMPLATE&&i===G.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,a)}}function _P(e,t,a){const n=e.treeAdapter.getNamespaceURI(a.element),{token:r}=a,i=e.treeAdapter.createElement(r.tagName,n,r.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,r),e.activeFormattingElements.removeEntry(a),e.openElements.remove(a.element),e.openElements.insertAfter(t,i,r.tagID)}function wy(e,t){for(let a=0;a<uP;a++){const n=hP(e,t);if(!n)break;const r=pP(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;const i=mP(e,r,n.element),s=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(i),s&&yP(e,s,i),_P(e,r,n)}}function Ey(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function bP(e,t){e._appendCommentNode(t,e.openElements.items[0])}function kP(e,t){e._appendCommentNode(t,e.document)}function Ty(e,t){if(e.stopped=!0,t.location){const a=e.fragmentContext?0:2;for(let n=e.openElements.stackTop;n>=a;n--)e._setEndLocation(e.openElements.items[n],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){const i=e.openElements.items[1],s=e.treeAdapter.getNodeSourceCodeLocation(i);s&&!s.endTag&&e._setEndLocation(i,t)}}}}function wP(e,t){e._setDocumentType(t);const a=t.forceQuirks?Ma.QUIRKS:W7(t);K7(t)||e._err(t,H.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,a),e.insertionMode=I.BEFORE_HTML}function Hl(e,t){e._err(t,H.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Ma.QUIRKS),e.insertionMode=I.BEFORE_HTML,e._processToken(t)}function EP(e,t){t.tagID===m.HTML?(e._insertElement(t,G.HTML),e.insertionMode=I.BEFORE_HEAD):jl(e,t)}function TP(e,t){const a=t.tagID;(a===m.HTML||a===m.HEAD||a===m.BODY||a===m.BR)&&jl(e,t)}function jl(e,t){e._insertFakeRootElement(),e.insertionMode=I.BEFORE_HEAD,e._processToken(t)}function vP(e,t){switch(t.tagID){case m.HTML:{Ft(e,t);break}case m.HEAD:{e._insertElement(t,G.HTML),e.headElement=e.openElements.current,e.insertionMode=I.IN_HEAD;break}default:ql(e,t)}}function SP(e,t){const a=t.tagID;a===m.HEAD||a===m.BODY||a===m.HTML||a===m.BR?ql(e,t):e._err(t,H.endTagWithoutMatchingOpenElement)}function ql(e,t){e._insertFakeElement(F.HEAD,m.HEAD),e.headElement=e.openElements.current,e.insertionMode=I.IN_HEAD,e._processToken(t)}function Xa(e,t){switch(t.tagID){case m.HTML:{Ft(e,t);break}case m.BASE:case m.BASEFONT:case m.BGSOUND:case m.LINK:case m.META:{e._appendElement(t,G.HTML),t.ackSelfClosing=!0;break}case m.TITLE:{e._switchToTextParsing(t,it.RCDATA);break}case m.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,it.RAWTEXT):(e._insertElement(t,G.HTML),e.insertionMode=I.IN_HEAD_NO_SCRIPT);break}case m.NOFRAMES:case m.STYLE:{e._switchToTextParsing(t,it.RAWTEXT);break}case m.SCRIPT:{e._switchToTextParsing(t,it.SCRIPT_DATA);break}case m.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=I.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(I.IN_TEMPLATE);break}case m.HEAD:{e._err(t,H.misplacedStartTagForHeadElement);break}default:Yl(e,t)}}function AP(e,t){switch(t.tagID){case m.HEAD:{e.openElements.pop(),e.insertionMode=I.AFTER_HEAD;break}case m.BODY:case m.BR:case m.HTML:{Yl(e,t);break}case m.TEMPLATE:{ki(e,t);break}default:e._err(t,H.endTagWithoutMatchingOpenElement)}}function ki(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==m.TEMPLATE&&e._err(t,H.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(m.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,H.endTagWithoutMatchingOpenElement)}function Yl(e,t){e.openElements.pop(),e.insertionMode=I.AFTER_HEAD,e._processToken(t)}function CP(e,t){switch(t.tagID){case m.HTML:{Ft(e,t);break}case m.BASEFONT:case m.BGSOUND:case m.HEAD:case m.LINK:case m.META:case m.NOFRAMES:case m.STYLE:{Xa(e,t);break}case m.NOSCRIPT:{e._err(t,H.nestedNoscriptInHead);break}default:$l(e,t)}}function xP(e,t){switch(t.tagID){case m.NOSCRIPT:{e.openElements.pop(),e.insertionMode=I.IN_HEAD;break}case m.BR:{$l(e,t);break}default:e._err(t,H.endTagWithoutMatchingOpenElement)}}function $l(e,t){const a=t.type===be.EOF?H.openElementsLeftAfterEof:H.disallowedContentInNoscriptInHead;e._err(t,a),e.openElements.pop(),e.insertionMode=I.IN_HEAD,e._processToken(t)}function zP(e,t){switch(t.tagID){case m.HTML:{Ft(e,t);break}case m.BODY:{e._insertElement(t,G.HTML),e.framesetOk=!1,e.insertionMode=I.IN_BODY;break}case m.FRAMESET:{e._insertElement(t,G.HTML),e.insertionMode=I.IN_FRAMESET;break}case m.BASE:case m.BASEFONT:case m.BGSOUND:case m.LINK:case m.META:case m.NOFRAMES:case m.SCRIPT:case m.STYLE:case m.TEMPLATE:case m.TITLE:{e._err(t,H.abandonedHeadElementChild),e.openElements.push(e.headElement,m.HEAD),Xa(e,t),e.openElements.remove(e.headElement);break}case m.HEAD:{e._err(t,H.misplacedStartTagForHeadElement);break}default:Ql(e,t)}}function NP(e,t){switch(t.tagID){case m.BODY:case m.HTML:case m.BR:{Ql(e,t);break}case m.TEMPLATE:{ki(e,t);break}default:e._err(t,H.endTagWithoutMatchingOpenElement)}}function Ql(e,t){e._insertFakeElement(F.BODY,m.BODY),e.insertionMode=I.IN_BODY,Vf(e,t)}function Vf(e,t){switch(t.type){case be.CHARACTER:{vS(e,t);break}case be.WHITESPACE_CHARACTER:{TS(e,t);break}case be.COMMENT:{Ey(e,t);break}case be.START_TAG:{Ft(e,t);break}case be.END_TAG:{Gf(e,t);break}case be.EOF:{NS(e,t);break}}}function TS(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function vS(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function OP(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function DP(e,t){const a=e.openElements.tryPeekProperlyNestedBodyElement();a&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(a,t.attrs))}function RP(e,t){const a=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&a&&(e.treeAdapter.detachNode(a),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,G.HTML),e.insertionMode=I.IN_FRAMESET)}function LP(e,t){e.openElements.hasInButtonScope(m.P)&&e._closePElement(),e._insertElement(t,G.HTML)}function IP(e,t){e.openElements.hasInButtonScope(m.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&_y.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,G.HTML)}function MP(e,t){e.openElements.hasInButtonScope(m.P)&&e._closePElement(),e._insertElement(t,G.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function PP(e,t){const a=e.openElements.tmplCount>0;(!e.formElement||a)&&(e.openElements.hasInButtonScope(m.P)&&e._closePElement(),e._insertElement(t,G.HTML),a||(e.formElement=e.openElements.current))}function UP(e,t){e.framesetOk=!1;const a=t.tagID;for(let n=e.openElements.stackTop;n>=0;n--){const r=e.openElements.tagIDs[n];if(a===m.LI&&r===m.LI||(a===m.DD||a===m.DT)&&(r===m.DD||r===m.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==m.ADDRESS&&r!==m.DIV&&r!==m.P&&e._isSpecialElement(e.openElements.items[n],r))break}e.openElements.hasInButtonScope(m.P)&&e._closePElement(),e._insertElement(t,G.HTML)}function BP(e,t){e.openElements.hasInButtonScope(m.P)&&e._closePElement(),e._insertElement(t,G.HTML),e.tokenizer.state=it.PLAINTEXT}function FP(e,t){e.openElements.hasInScope(m.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(m.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,G.HTML),e.framesetOk=!1}function HP(e,t){const a=e.activeFormattingElements.getElementEntryInScopeWithTagName(F.A);a&&(wy(e,t),e.openElements.remove(a.element),e.activeFormattingElements.removeEntry(a)),e._reconstructActiveFormattingElements(),e._insertElement(t,G.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function jP(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,G.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function qP(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(m.NOBR)&&(wy(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,G.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function YP(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,G.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function $P(e,t){e.treeAdapter.getDocumentMode(e.document)!==Ma.QUIRKS&&e.openElements.hasInButtonScope(m.P)&&e._closePElement(),e._insertElement(t,G.HTML),e.framesetOk=!1,e.insertionMode=I.IN_TABLE}function SS(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,G.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function AS(e){const t=rS(e,bi.TYPE);return t!=null&&t.toLowerCase()===cP}function QP(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,G.HTML),AS(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function VP(e,t){e._appendElement(t,G.HTML),t.ackSelfClosing=!0}function GP(e,t){e.openElements.hasInButtonScope(m.P)&&e._closePElement(),e._appendElement(t,G.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function XP(e,t){t.tagName=F.IMG,t.tagID=m.IMG,SS(e,t)}function KP(e,t){e._insertElement(t,G.HTML),e.skipNextNewLine=!0,e.tokenizer.state=it.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=I.TEXT}function WP(e,t){e.openElements.hasInButtonScope(m.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,it.RAWTEXT)}function ZP(e,t){e.framesetOk=!1,e._switchToTextParsing(t,it.RAWTEXT)}function CS(e,t){e._switchToTextParsing(t,it.RAWTEXT)}function JP(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,G.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===I.IN_TABLE||e.insertionMode===I.IN_CAPTION||e.insertionMode===I.IN_TABLE_BODY||e.insertionMode===I.IN_ROW||e.insertionMode===I.IN_CELL?I.IN_SELECT_IN_TABLE:I.IN_SELECT}function eU(e,t){e.openElements.currentTagId===m.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,G.HTML)}function tU(e,t){e.openElements.hasInScope(m.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,G.HTML)}function aU(e,t){e.openElements.hasInScope(m.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(m.RTC),e._insertElement(t,G.HTML)}function nU(e,t){e._reconstructActiveFormattingElements(),_S(t),ky(t),t.selfClosing?e._appendElement(t,G.MATHML):e._insertElement(t,G.MATHML),t.ackSelfClosing=!0}function rU(e,t){e._reconstructActiveFormattingElements(),bS(t),ky(t),t.selfClosing?e._appendElement(t,G.SVG):e._insertElement(t,G.SVG),t.ackSelfClosing=!0}function xS(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,G.HTML)}function Ft(e,t){switch(t.tagID){case m.I:case m.S:case m.B:case m.U:case m.EM:case m.TT:case m.BIG:case m.CODE:case m.FONT:case m.SMALL:case m.STRIKE:case m.STRONG:{jP(e,t);break}case m.A:{HP(e,t);break}case m.H1:case m.H2:case m.H3:case m.H4:case m.H5:case m.H6:{IP(e,t);break}case m.P:case m.DL:case m.OL:case m.UL:case m.DIV:case m.DIR:case m.NAV:case m.MAIN:case m.MENU:case m.ASIDE:case m.CENTER:case m.FIGURE:case m.FOOTER:case m.HEADER:case m.HGROUP:case m.DIALOG:case m.DETAILS:case m.ADDRESS:case m.ARTICLE:case m.SEARCH:case m.SECTION:case m.SUMMARY:case m.FIELDSET:case m.BLOCKQUOTE:case m.FIGCAPTION:{LP(e,t);break}case m.LI:case m.DD:case m.DT:{UP(e,t);break}case m.BR:case m.IMG:case m.WBR:case m.AREA:case m.EMBED:case m.KEYGEN:{SS(e,t);break}case m.HR:{GP(e,t);break}case m.RB:case m.RTC:{tU(e,t);break}case m.RT:case m.RP:{aU(e,t);break}case m.PRE:case m.LISTING:{MP(e,t);break}case m.XMP:{WP(e,t);break}case m.SVG:{rU(e,t);break}case m.HTML:{OP(e,t);break}case m.BASE:case m.LINK:case m.META:case m.STYLE:case m.TITLE:case m.SCRIPT:case m.BGSOUND:case m.BASEFONT:case m.TEMPLATE:{Xa(e,t);break}case m.BODY:{DP(e,t);break}case m.FORM:{PP(e,t);break}case m.NOBR:{qP(e,t);break}case m.MATH:{nU(e,t);break}case m.TABLE:{$P(e,t);break}case m.INPUT:{QP(e,t);break}case m.PARAM:case m.TRACK:case m.SOURCE:{VP(e,t);break}case m.IMAGE:{XP(e,t);break}case m.BUTTON:{FP(e,t);break}case m.APPLET:case m.OBJECT:case m.MARQUEE:{YP(e,t);break}case m.IFRAME:{ZP(e,t);break}case m.SELECT:{JP(e,t);break}case m.OPTION:case m.OPTGROUP:{eU(e,t);break}case m.NOEMBED:case m.NOFRAMES:{CS(e,t);break}case m.FRAMESET:{RP(e,t);break}case m.TEXTAREA:{KP(e,t);break}case m.NOSCRIPT:{e.options.scriptingEnabled?CS(e,t):xS(e,t);break}case m.PLAINTEXT:{BP(e,t);break}case m.COL:case m.TH:case m.TD:case m.TR:case m.HEAD:case m.FRAME:case m.TBODY:case m.TFOOT:case m.THEAD:case m.CAPTION:case m.COLGROUP:break;default:xS(e,t)}}function iU(e,t){if(e.openElements.hasInScope(m.BODY)&&(e.insertionMode=I.AFTER_BODY,e.options.sourceCodeLocationInfo)){const a=e.openElements.tryPeekProperlyNestedBodyElement();a&&e._setEndLocation(a,t)}}function sU(e,t){e.openElements.hasInScope(m.BODY)&&(e.insertionMode=I.AFTER_BODY,US(e,t))}function oU(e,t){const a=t.tagID;e.openElements.hasInScope(a)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(a))}function lU(e){const t=e.openElements.tmplCount>0,{formElement:a}=e;t||(e.formElement=null),(a||t)&&e.openElements.hasInScope(m.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(m.FORM):a&&e.openElements.remove(a))}function cU(e){e.openElements.hasInButtonScope(m.P)||e._insertFakeElement(F.P,m.P),e._closePElement()}function uU(e){e.openElements.hasInListItemScope(m.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(m.LI),e.openElements.popUntilTagNamePopped(m.LI))}function fU(e,t){const a=t.tagID;e.openElements.hasInScope(a)&&(e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a))}function dU(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function hU(e,t){const a=t.tagID;e.openElements.hasInScope(a)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(a),e.activeFormattingElements.clearToLastMarker())}function pU(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(F.BR,m.BR),e.openElements.pop(),e.framesetOk=!1}function zS(e,t){const a=t.tagName,n=t.tagID;for(let r=e.openElements.stackTop;r>0;r--){const i=e.openElements.items[r],s=e.openElements.tagIDs[r];if(n===s&&(n!==m.UNKNOWN||e.treeAdapter.getTagName(i)===a)){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.stackTop>=r&&e.openElements.shortenToLength(r);break}if(e._isSpecialElement(i,s))break}}function Gf(e,t){switch(t.tagID){case m.A:case m.B:case m.I:case m.S:case m.U:case m.EM:case m.TT:case m.BIG:case m.CODE:case m.FONT:case m.NOBR:case m.SMALL:case m.STRIKE:case m.STRONG:{wy(e,t);break}case m.P:{cU(e);break}case m.DL:case m.UL:case m.OL:case m.DIR:case m.DIV:case m.NAV:case m.PRE:case m.MAIN:case m.MENU:case m.ASIDE:case m.BUTTON:case m.CENTER:case m.FIGURE:case m.FOOTER:case m.HEADER:case m.HGROUP:case m.DIALOG:case m.ADDRESS:case m.ARTICLE:case m.DETAILS:case m.SEARCH:case m.SECTION:case m.SUMMARY:case m.LISTING:case m.FIELDSET:case m.BLOCKQUOTE:case m.FIGCAPTION:{oU(e,t);break}case m.LI:{uU(e);break}case m.DD:case m.DT:{fU(e,t);break}case m.H1:case m.H2:case m.H3:case m.H4:case m.H5:case m.H6:{dU(e);break}case m.BR:{pU(e);break}case m.BODY:{iU(e,t);break}case m.HTML:{sU(e,t);break}case m.FORM:{lU(e);break}case m.APPLET:case m.OBJECT:case m.MARQUEE:{hU(e,t);break}case m.TEMPLATE:{ki(e,t);break}default:zS(e,t)}}function NS(e,t){e.tmplInsertionModeStack.length>0?PS(e,t):Ty(e,t)}function mU(e,t){var a;t.tagID===m.SCRIPT&&((a=e.scriptHandler)===null||a===void 0||a.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function gU(e,t){e._err(t,H.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function vy(e,t){if(e.openElements.currentTagId!==void 0&&kS.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=I.IN_TABLE_TEXT,t.type){case be.CHARACTER:{DS(e,t);break}case be.WHITESPACE_CHARACTER:{OS(e,t);break}}else Gl(e,t)}function yU(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,G.HTML),e.insertionMode=I.IN_CAPTION}function _U(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,G.HTML),e.insertionMode=I.IN_COLUMN_GROUP}function bU(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(F.COLGROUP,m.COLGROUP),e.insertionMode=I.IN_COLUMN_GROUP,Sy(e,t)}function kU(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,G.HTML),e.insertionMode=I.IN_TABLE_BODY}function wU(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(F.TBODY,m.TBODY),e.insertionMode=I.IN_TABLE_BODY,Kf(e,t)}function EU(e,t){e.openElements.hasInTableScope(m.TABLE)&&(e.openElements.popUntilTagNamePopped(m.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function TU(e,t){AS(t)?e._appendElement(t,G.HTML):Gl(e,t),t.ackSelfClosing=!0}function vU(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,G.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Qs(e,t){switch(t.tagID){case m.TD:case m.TH:case m.TR:{wU(e,t);break}case m.STYLE:case m.SCRIPT:case m.TEMPLATE:{Xa(e,t);break}case m.COL:{bU(e,t);break}case m.FORM:{vU(e,t);break}case m.TABLE:{EU(e,t);break}case m.TBODY:case m.TFOOT:case m.THEAD:{kU(e,t);break}case m.INPUT:{TU(e,t);break}case m.CAPTION:{yU(e,t);break}case m.COLGROUP:{_U(e,t);break}default:Gl(e,t)}}function Vl(e,t){switch(t.tagID){case m.TABLE:{e.openElements.hasInTableScope(m.TABLE)&&(e.openElements.popUntilTagNamePopped(m.TABLE),e._resetInsertionMode());break}case m.TEMPLATE:{ki(e,t);break}case m.BODY:case m.CAPTION:case m.COL:case m.COLGROUP:case m.HTML:case m.TBODY:case m.TD:case m.TFOOT:case m.TH:case m.THEAD:case m.TR:break;default:Gl(e,t)}}function Gl(e,t){const a=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,Vf(e,t),e.fosterParentingEnabled=a}function OS(e,t){e.pendingCharacterTokens.push(t)}function DS(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Xl(e,t){let a=0;if(e.hasNonWhitespacePendingCharacterToken)for(;a<e.pendingCharacterTokens.length;a++)Gl(e,e.pendingCharacterTokens[a]);else for(;a<e.pendingCharacterTokens.length;a++)e._insertCharacters(e.pendingCharacterTokens[a]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const RS=new Set([m.CAPTION,m.COL,m.COLGROUP,m.TBODY,m.TD,m.TFOOT,m.TH,m.THEAD,m.TR]);function SU(e,t){const a=t.tagID;RS.has(a)?e.openElements.hasInTableScope(m.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(m.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=I.IN_TABLE,Qs(e,t)):Ft(e,t)}function AU(e,t){const a=t.tagID;switch(a){case m.CAPTION:case m.TABLE:{e.openElements.hasInTableScope(m.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(m.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=I.IN_TABLE,a===m.TABLE&&Vl(e,t));break}case m.BODY:case m.COL:case m.COLGROUP:case m.HTML:case m.TBODY:case m.TD:case m.TFOOT:case m.TH:case m.THEAD:case m.TR:break;default:Gf(e,t)}}function Sy(e,t){switch(t.tagID){case m.HTML:{Ft(e,t);break}case m.COL:{e._appendElement(t,G.HTML),t.ackSelfClosing=!0;break}case m.TEMPLATE:{Xa(e,t);break}default:Xf(e,t)}}function CU(e,t){switch(t.tagID){case m.COLGROUP:{e.openElements.currentTagId===m.COLGROUP&&(e.openElements.pop(),e.insertionMode=I.IN_TABLE);break}case m.TEMPLATE:{ki(e,t);break}case m.COL:break;default:Xf(e,t)}}function Xf(e,t){e.openElements.currentTagId===m.COLGROUP&&(e.openElements.pop(),e.insertionMode=I.IN_TABLE,e._processToken(t))}function Kf(e,t){switch(t.tagID){case m.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,G.HTML),e.insertionMode=I.IN_ROW;break}case m.TH:case m.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(F.TR,m.TR),e.insertionMode=I.IN_ROW,Wf(e,t);break}case m.CAPTION:case m.COL:case m.COLGROUP:case m.TBODY:case m.TFOOT:case m.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=I.IN_TABLE,Qs(e,t));break}default:Qs(e,t)}}function Ay(e,t){const a=t.tagID;switch(t.tagID){case m.TBODY:case m.TFOOT:case m.THEAD:{e.openElements.hasInTableScope(a)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=I.IN_TABLE);break}case m.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=I.IN_TABLE,Vl(e,t));break}case m.BODY:case m.CAPTION:case m.COL:case m.COLGROUP:case m.HTML:case m.TD:case m.TH:case m.TR:break;default:Vl(e,t)}}function Wf(e,t){switch(t.tagID){case m.TH:case m.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,G.HTML),e.insertionMode=I.IN_CELL,e.activeFormattingElements.insertMarker();break}case m.CAPTION:case m.COL:case m.COLGROUP:case m.TBODY:case m.TFOOT:case m.THEAD:case m.TR:{e.openElements.hasInTableScope(m.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=I.IN_TABLE_BODY,Kf(e,t));break}default:Qs(e,t)}}function LS(e,t){switch(t.tagID){case m.TR:{e.openElements.hasInTableScope(m.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=I.IN_TABLE_BODY);break}case m.TABLE:{e.openElements.hasInTableScope(m.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=I.IN_TABLE_BODY,Ay(e,t));break}case m.TBODY:case m.TFOOT:case m.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(m.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=I.IN_TABLE_BODY,Ay(e,t));break}case m.BODY:case m.CAPTION:case m.COL:case m.COLGROUP:case m.HTML:case m.TD:case m.TH:break;default:Vl(e,t)}}function xU(e,t){const a=t.tagID;RS.has(a)?(e.openElements.hasInTableScope(m.TD)||e.openElements.hasInTableScope(m.TH))&&(e._closeTableCell(),Wf(e,t)):Ft(e,t)}function zU(e,t){const a=t.tagID;switch(a){case m.TD:case m.TH:{e.openElements.hasInTableScope(a)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(a),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=I.IN_ROW);break}case m.TABLE:case m.TBODY:case m.TFOOT:case m.THEAD:case m.TR:{e.openElements.hasInTableScope(a)&&(e._closeTableCell(),LS(e,t));break}case m.BODY:case m.CAPTION:case m.COL:case m.COLGROUP:case m.HTML:break;default:Gf(e,t)}}function IS(e,t){switch(t.tagID){case m.HTML:{Ft(e,t);break}case m.OPTION:{e.openElements.currentTagId===m.OPTION&&e.openElements.pop(),e._insertElement(t,G.HTML);break}case m.OPTGROUP:{e.openElements.currentTagId===m.OPTION&&e.openElements.pop(),e.openElements.currentTagId===m.OPTGROUP&&e.openElements.pop(),e._insertElement(t,G.HTML);break}case m.HR:{e.openElements.currentTagId===m.OPTION&&e.openElements.pop(),e.openElements.currentTagId===m.OPTGROUP&&e.openElements.pop(),e._appendElement(t,G.HTML),t.ackSelfClosing=!0;break}case m.INPUT:case m.KEYGEN:case m.TEXTAREA:case m.SELECT:{e.openElements.hasInSelectScope(m.SELECT)&&(e.openElements.popUntilTagNamePopped(m.SELECT),e._resetInsertionMode(),t.tagID!==m.SELECT&&e._processStartTag(t));break}case m.SCRIPT:case m.TEMPLATE:{Xa(e,t);break}}}function MS(e,t){switch(t.tagID){case m.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===m.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===m.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===m.OPTGROUP&&e.openElements.pop();break}case m.OPTION:{e.openElements.currentTagId===m.OPTION&&e.openElements.pop();break}case m.SELECT:{e.openElements.hasInSelectScope(m.SELECT)&&(e.openElements.popUntilTagNamePopped(m.SELECT),e._resetInsertionMode());break}case m.TEMPLATE:{ki(e,t);break}}}function NU(e,t){const a=t.tagID;a===m.CAPTION||a===m.TABLE||a===m.TBODY||a===m.TFOOT||a===m.THEAD||a===m.TR||a===m.TD||a===m.TH?(e.openElements.popUntilTagNamePopped(m.SELECT),e._resetInsertionMode(),e._processStartTag(t)):IS(e,t)}function OU(e,t){const a=t.tagID;a===m.CAPTION||a===m.TABLE||a===m.TBODY||a===m.TFOOT||a===m.THEAD||a===m.TR||a===m.TD||a===m.TH?e.openElements.hasInTableScope(a)&&(e.openElements.popUntilTagNamePopped(m.SELECT),e._resetInsertionMode(),e.onEndTag(t)):MS(e,t)}function DU(e,t){switch(t.tagID){case m.BASE:case m.BASEFONT:case m.BGSOUND:case m.LINK:case m.META:case m.NOFRAMES:case m.SCRIPT:case m.STYLE:case m.TEMPLATE:case m.TITLE:{Xa(e,t);break}case m.CAPTION:case m.COLGROUP:case m.TBODY:case m.TFOOT:case m.THEAD:{e.tmplInsertionModeStack[0]=I.IN_TABLE,e.insertionMode=I.IN_TABLE,Qs(e,t);break}case m.COL:{e.tmplInsertionModeStack[0]=I.IN_COLUMN_GROUP,e.insertionMode=I.IN_COLUMN_GROUP,Sy(e,t);break}case m.TR:{e.tmplInsertionModeStack[0]=I.IN_TABLE_BODY,e.insertionMode=I.IN_TABLE_BODY,Kf(e,t);break}case m.TD:case m.TH:{e.tmplInsertionModeStack[0]=I.IN_ROW,e.insertionMode=I.IN_ROW,Wf(e,t);break}default:e.tmplInsertionModeStack[0]=I.IN_BODY,e.insertionMode=I.IN_BODY,Ft(e,t)}}function RU(e,t){t.tagID===m.TEMPLATE&&ki(e,t)}function PS(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(m.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):Ty(e,t)}function LU(e,t){t.tagID===m.HTML?Ft(e,t):Zf(e,t)}function US(e,t){var a;if(t.tagID===m.HTML){if(e.fragmentContext||(e.insertionMode=I.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===m.HTML){e._setEndLocation(e.openElements.items[0],t);const n=e.openElements.items[1];n&&!(!((a=e.treeAdapter.getNodeSourceCodeLocation(n))===null||a===void 0)&&a.endTag)&&e._setEndLocation(n,t)}}else Zf(e,t)}function Zf(e,t){e.insertionMode=I.IN_BODY,Vf(e,t)}function IU(e,t){switch(t.tagID){case m.HTML:{Ft(e,t);break}case m.FRAMESET:{e._insertElement(t,G.HTML);break}case m.FRAME:{e._appendElement(t,G.HTML),t.ackSelfClosing=!0;break}case m.NOFRAMES:{Xa(e,t);break}}}function MU(e,t){t.tagID===m.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==m.FRAMESET&&(e.insertionMode=I.AFTER_FRAMESET))}function PU(e,t){switch(t.tagID){case m.HTML:{Ft(e,t);break}case m.NOFRAMES:{Xa(e,t);break}}}function UU(e,t){t.tagID===m.HTML&&(e.insertionMode=I.AFTER_AFTER_FRAMESET)}function BU(e,t){t.tagID===m.HTML?Ft(e,t):Jf(e,t)}function Jf(e,t){e.insertionMode=I.IN_BODY,Vf(e,t)}function FU(e,t){switch(t.tagID){case m.HTML:{Ft(e,t);break}case m.NOFRAMES:{Xa(e,t);break}}}function HU(e,t){t.chars=et,e._insertCharacters(t)}function jU(e,t){e._insertCharacters(t),e.framesetOk=!1}function BS(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==G.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function qU(e,t){if(rP(t))BS(e),e._startTagOutsideForeignContent(t);else{const a=e._getAdjustedCurrentElement(),n=e.treeAdapter.getNamespaceURI(a);n===G.MATHML?_S(t):n===G.SVG&&(iP(t),bS(t)),ky(t),t.selfClosing?e._appendElement(t,n):e._insertElement(t,n),t.ackSelfClosing=!0}}function YU(e,t){if(t.tagID===m.P||t.tagID===m.BR){BS(e),e._endTagOutsideForeignContent(t);return}for(let a=e.openElements.stackTop;a>0;a--){const n=e.openElements.items[a];if(e.treeAdapter.getNamespaceURI(n)===G.HTML){e._endTagOutsideForeignContent(t);break}const r=e.treeAdapter.getTagName(n);if(r.toLowerCase()===t.tagName){t.tagName=r,e.openElements.shortenToLength(a);break}}}F.AREA,F.BASE,F.BASEFONT,F.BGSOUND,F.BR,F.COL,F.EMBED,F.FRAME,F.HR,F.IMG,F.INPUT,F.KEYGEN,F.LINK,F.META,F.PARAM,F.SOURCE,F.TRACK,F.WBR;const $U=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,QU=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),FS={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function HS(e,t){const a=aB(e),n=Jv("type",{handlers:{root:VU,element:GU,text:XU,comment:qS,doctype:KU,raw:ZU},unknown:JU}),r={parser:a?new ES(FS):ES.getFragmentParser(void 0,FS),handle(o){n(o,r)},stitches:!1,options:t||{}};n(e,r),Vs(r,dn());const i=a?r.parser.document:r.parser.getFragment(),s=V9(i,{file:r.options.file});return r.stitches&&Hf(s,"comment",function(o,l,c){const f=o;if(f.value.stitch&&c&&l!==void 0){const d=c.children;return d[l]=f.value.stitch,l}}),s.type==="root"&&s.children.length===1&&s.children[0].type===e.type?s.children[0]:s}function jS(e,t){let a=-1;if(e)for(;++a<e.length;)t.handle(e[a])}function VU(e,t){jS(e.children,t)}function GU(e,t){eB(e,t),jS(e.children,t),tB(e,t)}function XU(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const a={type:be.CHARACTER,chars:e.value,location:Kl(e)};Vs(t,dn(e)),t.parser.currentToken=a,t.parser._processToken(t.parser.currentToken)}function KU(e,t){const a={type:be.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Kl(e)};Vs(t,dn(e)),t.parser.currentToken=a,t.parser._processToken(t.parser.currentToken)}function WU(e,t){t.stitches=!0;const a=nB(e);if("children"in e&&"children"in a){const n=HS({type:"root",children:e.children},t.options);a.children=n.children}qS({type:"comment",value:{stitch:a}},t)}function qS(e,t){const a=e.value,n={type:be.COMMENT,data:a,location:Kl(e)};Vs(t,dn(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function ZU(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,YS(t,dn(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace($U,"&lt;$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const a=t.parser.tokenizer._consume();t.parser.tokenizer._callState(a)}}function JU(e,t){const a=e;if(t.options.passThrough&&t.options.passThrough.includes(a.type))WU(a,t);else{let n="";throw QU.has(a.type)&&(n=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+a.type+"` node"+n)}}function Vs(e,t){YS(e,t);const a=e.parser.tokenizer.currentCharacterToken;a&&a.location&&(a.location.endLine=e.parser.tokenizer.preprocessor.line,a.location.endCol=e.parser.tokenizer.preprocessor.col+1,a.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=a,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=it.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function YS(e,t){if(t&&t.offset!==void 0){const a={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=a}}function eB(e,t){const a=e.tagName.toLowerCase();if(t.parser.tokenizer.state===it.PLAINTEXT)return;Vs(t,dn(e));const n=t.parser.openElements.current;let r="namespaceURI"in n?n.namespaceURI:yi.html;r===yi.html&&a==="svg"&&(r=yi.svg);const i=l7({...e,children:[]},{space:r===yi.svg?"svg":"html"}),s={type:be.START_TAG,tagName:a,tagID:$s(a),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:Kl(e)};t.parser.currentToken=s,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=a}function tB(e,t){const a=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&g7.includes(a)||t.parser.tokenizer.state===it.PLAINTEXT)return;Vs(t,Nf(e));const n={type:be.END_TAG,tagName:a,tagID:$s(a),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Kl(e)};t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken),a===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===it.RCDATA||t.parser.tokenizer.state===it.RAWTEXT||t.parser.tokenizer.state===it.SCRIPT_DATA)&&(t.parser.tokenizer.state=it.DATA)}function aB(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function Kl(e){const t=dn(e)||{line:void 0,column:void 0,offset:void 0},a=Nf(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:a.line,endCol:a.column,endOffset:a.offset}}function nB(e){return"children"in e?Fs({...e,children:[]}):Fs(e)}function rB(e){return function(t,a){return HS(t,{...e,file:a})}}var Cy={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const a=["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array"];function n(h){return a.includes(h)}const r=["Function","Generator","AsyncGenerator","GeneratorFunction","AsyncGeneratorFunction","AsyncFunction","Observable","Array","Buffer","Blob","Object","RegExp","Date","Error","Map","Set","WeakMap","WeakSet","ArrayBuffer","SharedArrayBuffer","DataView","Promise","URL","FormData","URLSearchParams","HTMLElement",...a];function i(h){return r.includes(h)}const s=["null","undefined","string","number","bigint","boolean","symbol"];function o(h){return s.includes(h)}function l(h){return S=>typeof S===h}const{toString:c}=Object.prototype,f=h=>{const S=c.call(h).slice(8,-1);if(/HTML\w+Element/.test(S)&&u.domElement(h))return"HTMLElement";if(i(S))return S},d=h=>S=>f(S)===h;function u(h){if(h===null)return"null";switch(typeof h){case"undefined":return"undefined";case"string":return"string";case"number":return"number";case"boolean":return"boolean";case"function":return"Function";case"bigint":return"bigint";case"symbol":return"symbol"}if(u.observable(h))return"Observable";if(u.array(h))return"Array";if(u.buffer(h))return"Buffer";const S=f(h);if(S)return S;if(h instanceof String||h instanceof Boolean||h instanceof Number)throw new TypeError("Please don't use object wrappers for primitive types");return"Object"}u.undefined=l("undefined"),u.string=l("string");const p=l("number");u.number=h=>p(h)&&!u.nan(h),u.bigint=l("bigint"),u.function_=l("function"),u.null_=h=>h===null,u.class_=h=>u.function_(h)&&h.toString().startsWith("class "),u.boolean=h=>h===!0||h===!1,u.symbol=l("symbol"),u.numericString=h=>u.string(h)&&!u.emptyStringOrWhitespace(h)&&!Number.isNaN(Number(h)),u.array=(h,S)=>Array.isArray(h)?u.function_(S)?h.every(S):!0:!1,u.buffer=h=>{var S,O,x,T;return(T=(x=(O=(S=h)===null||S===void 0?void 0:S.constructor)===null||O===void 0?void 0:O.isBuffer)===null||x===void 0?void 0:x.call(O,h))!==null&&T!==void 0?T:!1},u.blob=h=>d("Blob")(h),u.nullOrUndefined=h=>u.null_(h)||u.undefined(h),u.object=h=>!u.null_(h)&&(typeof h=="object"||u.function_(h)),u.iterable=h=>{var S;return u.function_((S=h)===null||S===void 0?void 0:S[Symbol.iterator])},u.asyncIterable=h=>{var S;return u.function_((S=h)===null||S===void 0?void 0:S[Symbol.asyncIterator])},u.generator=h=>{var S,O;return u.iterable(h)&&u.function_((S=h)===null||S===void 0?void 0:S.next)&&u.function_((O=h)===null||O===void 0?void 0:O.throw)},u.asyncGenerator=h=>u.asyncIterable(h)&&u.function_(h.next)&&u.function_(h.throw),u.nativePromise=h=>d("Promise")(h);const _=h=>{var S,O;return u.function_((S=h)===null||S===void 0?void 0:S.then)&&u.function_((O=h)===null||O===void 0?void 0:O.catch)};u.promise=h=>u.nativePromise(h)||_(h),u.generatorFunction=d("GeneratorFunction"),u.asyncGeneratorFunction=h=>f(h)==="AsyncGeneratorFunction",u.asyncFunction=h=>f(h)==="AsyncFunction",u.boundFunction=h=>u.function_(h)&&!h.hasOwnProperty("prototype"),u.regExp=d("RegExp"),u.date=d("Date"),u.error=d("Error"),u.map=h=>d("Map")(h),u.set=h=>d("Set")(h),u.weakMap=h=>d("WeakMap")(h),u.weakSet=h=>d("WeakSet")(h),u.int8Array=d("Int8Array"),u.uint8Array=d("Uint8Array"),u.uint8ClampedArray=d("Uint8ClampedArray"),u.int16Array=d("Int16Array"),u.uint16Array=d("Uint16Array"),u.int32Array=d("Int32Array"),u.uint32Array=d("Uint32Array"),u.float32Array=d("Float32Array"),u.float64Array=d("Float64Array"),u.bigInt64Array=d("BigInt64Array"),u.bigUint64Array=d("BigUint64Array"),u.arrayBuffer=d("ArrayBuffer"),u.sharedArrayBuffer=d("SharedArrayBuffer"),u.dataView=d("DataView"),u.enumCase=(h,S)=>Object.values(S).includes(h),u.directInstanceOf=(h,S)=>Object.getPrototypeOf(h)===S.prototype,u.urlInstance=h=>d("URL")(h),u.urlString=h=>{if(!u.string(h))return!1;try{return new URL(h),!0}catch{return!1}},u.truthy=h=>!!h,u.falsy=h=>!h,u.nan=h=>Number.isNaN(h),u.primitive=h=>u.null_(h)||o(typeof h),u.integer=h=>Number.isInteger(h),u.safeInteger=h=>Number.isSafeInteger(h),u.plainObject=h=>{if(c.call(h)!=="[object Object]")return!1;const S=Object.getPrototypeOf(h);return S===null||S===Object.getPrototypeOf({})},u.typedArray=h=>n(f(h));const E=h=>u.safeInteger(h)&&h>=0;u.arrayLike=h=>!u.nullOrUndefined(h)&&!u.function_(h)&&E(h.length),u.inRange=(h,S)=>{if(u.number(S))return h>=Math.min(0,S)&&h<=Math.max(S,0);if(u.array(S)&&S.length===2)return h>=Math.min(...S)&&h<=Math.max(...S);throw new TypeError(`Invalid range: ${JSON.stringify(S)}`)};const v=1,g=["innerHTML","ownerDocument","style","attributes","nodeValue"];u.domElement=h=>u.object(h)&&h.nodeType===v&&u.string(h.nodeName)&&!u.plainObject(h)&&g.every(S=>S in h),u.observable=h=>{var S,O,x,T;return h?h===((O=(S=h)[Symbol.observable])===null||O===void 0?void 0:O.call(S))||h===((T=(x=h)["@@observable"])===null||T===void 0?void 0:T.call(x)):!1},u.nodeStream=h=>u.object(h)&&u.function_(h.pipe)&&!u.observable(h),u.infinite=h=>h===1/0||h===-1/0;const k=h=>S=>u.integer(S)&&Math.abs(S%2)===h;u.evenInteger=k(0),u.oddInteger=k(1),u.emptyArray=h=>u.array(h)&&h.length===0,u.nonEmptyArray=h=>u.array(h)&&h.length>0,u.emptyString=h=>u.string(h)&&h.length===0;const y=h=>u.string(h)&&!/\S/.test(h);u.emptyStringOrWhitespace=h=>u.emptyString(h)||y(h),u.nonEmptyString=h=>u.string(h)&&h.length>0,u.nonEmptyStringAndNotWhitespace=h=>u.string(h)&&!u.emptyStringOrWhitespace(h),u.emptyObject=h=>u.object(h)&&!u.map(h)&&!u.set(h)&&Object.keys(h).length===0,u.nonEmptyObject=h=>u.object(h)&&!u.map(h)&&!u.set(h)&&Object.keys(h).length>0,u.emptySet=h=>u.set(h)&&h.size===0,u.nonEmptySet=h=>u.set(h)&&h.size>0,u.emptyMap=h=>u.map(h)&&h.size===0,u.nonEmptyMap=h=>u.map(h)&&h.size>0,u.propertyKey=h=>u.any([u.string,u.number,u.symbol],h),u.formData=h=>d("FormData")(h),u.urlSearchParams=h=>d("URLSearchParams")(h);const b=(h,S,O)=>{if(!u.function_(S))throw new TypeError(`Invalid predicate: ${JSON.stringify(S)}`);if(O.length===0)throw new TypeError("Invalid number of values");return h.call(O,S)};u.any=(h,...S)=>(u.array(h)?h:[h]).some(x=>b(Array.prototype.some,x,S)),u.all=(h,...S)=>b(Array.prototype.every,h,S);const w=(h,S,O,x={})=>{if(!h){const{multipleValues:T}=x,z=T?`received values of types ${[...new Set(O.map(L=>`\`${u(L)}\``))].join(", ")}`:`received value of type \`${u(O)}\``;throw new TypeError(`Expected value which is \`${S}\`, ${z}.`)}};t.assert={undefined:h=>w(u.undefined(h),"undefined",h),string:h=>w(u.string(h),"string",h),number:h=>w(u.number(h),"number",h),bigint:h=>w(u.bigint(h),"bigint",h),function_:h=>w(u.function_(h),"Function",h),null_:h=>w(u.null_(h),"null",h),class_:h=>w(u.class_(h),"Class",h),boolean:h=>w(u.boolean(h),"boolean",h),symbol:h=>w(u.symbol(h),"symbol",h),numericString:h=>w(u.numericString(h),"string with a number",h),array:(h,S)=>{w(u.array(h),"Array",h),S&&h.forEach(S)},buffer:h=>w(u.buffer(h),"Buffer",h),blob:h=>w(u.blob(h),"Blob",h),nullOrUndefined:h=>w(u.nullOrUndefined(h),"null or undefined",h),object:h=>w(u.object(h),"Object",h),iterable:h=>w(u.iterable(h),"Iterable",h),asyncIterable:h=>w(u.asyncIterable(h),"AsyncIterable",h),generator:h=>w(u.generator(h),"Generator",h),asyncGenerator:h=>w(u.asyncGenerator(h),"AsyncGenerator",h),nativePromise:h=>w(u.nativePromise(h),"native Promise",h),promise:h=>w(u.promise(h),"Promise",h),generatorFunction:h=>w(u.generatorFunction(h),"GeneratorFunction",h),asyncGeneratorFunction:h=>w(u.asyncGeneratorFunction(h),"AsyncGeneratorFunction",h),asyncFunction:h=>w(u.asyncFunction(h),"AsyncFunction",h),boundFunction:h=>w(u.boundFunction(h),"Function",h),regExp:h=>w(u.regExp(h),"RegExp",h),date:h=>w(u.date(h),"Date",h),error:h=>w(u.error(h),"Error",h),map:h=>w(u.map(h),"Map",h),set:h=>w(u.set(h),"Set",h),weakMap:h=>w(u.weakMap(h),"WeakMap",h),weakSet:h=>w(u.weakSet(h),"WeakSet",h),int8Array:h=>w(u.int8Array(h),"Int8Array",h),uint8Array:h=>w(u.uint8Array(h),"Uint8Array",h),uint8ClampedArray:h=>w(u.uint8ClampedArray(h),"Uint8ClampedArray",h),int16Array:h=>w(u.int16Array(h),"Int16Array",h),uint16Array:h=>w(u.uint16Array(h),"Uint16Array",h),int32Array:h=>w(u.int32Array(h),"Int32Array",h),uint32Array:h=>w(u.uint32Array(h),"Uint32Array",h),float32Array:h=>w(u.float32Array(h),"Float32Array",h),float64Array:h=>w(u.float64Array(h),"Float64Array",h),bigInt64Array:h=>w(u.bigInt64Array(h),"BigInt64Array",h),bigUint64Array:h=>w(u.bigUint64Array(h),"BigUint64Array",h),arrayBuffer:h=>w(u.arrayBuffer(h),"ArrayBuffer",h),sharedArrayBuffer:h=>w(u.sharedArrayBuffer(h),"SharedArrayBuffer",h),dataView:h=>w(u.dataView(h),"DataView",h),enumCase:(h,S)=>w(u.enumCase(h,S),"EnumCase",h),urlInstance:h=>w(u.urlInstance(h),"URL",h),urlString:h=>w(u.urlString(h),"string with a URL",h),truthy:h=>w(u.truthy(h),"truthy",h),falsy:h=>w(u.falsy(h),"falsy",h),nan:h=>w(u.nan(h),"NaN",h),primitive:h=>w(u.primitive(h),"primitive",h),integer:h=>w(u.integer(h),"integer",h),safeInteger:h=>w(u.safeInteger(h),"integer",h),plainObject:h=>w(u.plainObject(h),"plain object",h),typedArray:h=>w(u.typedArray(h),"TypedArray",h),arrayLike:h=>w(u.arrayLike(h),"array-like",h),domElement:h=>w(u.domElement(h),"HTMLElement",h),observable:h=>w(u.observable(h),"Observable",h),nodeStream:h=>w(u.nodeStream(h),"Node.js Stream",h),infinite:h=>w(u.infinite(h),"infinite number",h),emptyArray:h=>w(u.emptyArray(h),"empty array",h),nonEmptyArray:h=>w(u.nonEmptyArray(h),"non-empty array",h),emptyString:h=>w(u.emptyString(h),"empty string",h),emptyStringOrWhitespace:h=>w(u.emptyStringOrWhitespace(h),"empty string or whitespace",h),nonEmptyString:h=>w(u.nonEmptyString(h),"non-empty string",h),nonEmptyStringAndNotWhitespace:h=>w(u.nonEmptyStringAndNotWhitespace(h),"non-empty string and not whitespace",h),emptyObject:h=>w(u.emptyObject(h),"empty object",h),nonEmptyObject:h=>w(u.nonEmptyObject(h),"non-empty object",h),emptySet:h=>w(u.emptySet(h),"empty set",h),nonEmptySet:h=>w(u.nonEmptySet(h),"non-empty set",h),emptyMap:h=>w(u.emptyMap(h),"empty map",h),nonEmptyMap:h=>w(u.nonEmptyMap(h),"non-empty map",h),propertyKey:h=>w(u.propertyKey(h),"PropertyKey",h),formData:h=>w(u.formData(h),"FormData",h),urlSearchParams:h=>w(u.urlSearchParams(h),"URLSearchParams",h),evenInteger:h=>w(u.evenInteger(h),"even integer",h),oddInteger:h=>w(u.oddInteger(h),"odd integer",h),directInstanceOf:(h,S)=>w(u.directInstanceOf(h,S),"T",h),inRange:(h,S)=>w(u.inRange(h,S),"in range",h),any:(h,...S)=>w(u.any(h,...S),"predicate returns truthy for any value",S,{multipleValues:!0}),all:(h,...S)=>w(u.all(h,...S),"predicate returns truthy for all values",S,{multipleValues:!0})},Object.defineProperties(u,{class:{value:u.class_},function:{value:u.function_},null:{value:u.null_}}),Object.defineProperties(t.assert,{class:{value:t.assert.class_},function:{value:t.assert.function_},null:{value:t.assert.null_}}),t.default=u,e.exports=u,e.exports.default=u,e.exports.assert=t.assert})(Cy,Cy.exports);var iB=Cy.exports,sB={lib:{100:{keywords:["score","perfect","numbers","century","exam","quiz","test","pass","hundred"],char:"💯",fitzpatrick_scale:!1,category:"symbols"},1234:{keywords:["numbers","blue-square"],char:"🔢",fitzpatrick_scale:!1,category:"symbols"},grinning:{keywords:["face","smile","happy","joy",":D","grin"],char:"😀",fitzpatrick_scale:!1,category:"people"},grimacing:{keywords:["face","grimace","teeth"],char:"😬",fitzpatrick_scale:!1,category:"people"},grin:{keywords:["face","happy","smile","joy","kawaii"],char:"😁",fitzpatrick_scale:!1,category:"people"},joy:{keywords:["face","cry","tears","weep","happy","happytears","haha"],char:"😂",fitzpatrick_scale:!1,category:"people"},rofl:{keywords:["face","rolling","floor","laughing","lol","haha"],char:"🤣",fitzpatrick_scale:!1,category:"people"},partying:{keywords:["face","celebration","woohoo"],char:"🥳",fitzpatrick_scale:!1,category:"people"},smiley:{keywords:["face","happy","joy","haha",":D",":)","smile","funny"],char:"😃",fitzpatrick_scale:!1,category:"people"},smile:{keywords:["face","happy","joy","funny","haha","laugh","like",":D",":)"],char:"😄",fitzpatrick_scale:!1,category:"people"},sweat_smile:{keywords:["face","hot","happy","laugh","sweat","smile","relief"],char:"😅",fitzpatrick_scale:!1,category:"people"},laughing:{keywords:["happy","joy","lol","satisfied","haha","face","glad","XD","laugh"],char:"😆",fitzpatrick_scale:!1,category:"people"},innocent:{keywords:["face","angel","heaven","halo"],char:"😇",fitzpatrick_scale:!1,category:"people"},wink:{keywords:["face","happy","mischievous","secret",";)","smile","eye"],char:"😉",fitzpatrick_scale:!1,category:"people"},blush:{keywords:["face","smile","happy","flushed","crush","embarrassed","shy","joy"],char:"😊",fitzpatrick_scale:!1,category:"people"},slightly_smiling_face:{keywords:["face","smile"],char:"🙂",fitzpatrick_scale:!1,category:"people"},upside_down_face:{keywords:["face","flipped","silly","smile"],char:"🙃",fitzpatrick_scale:!1,category:"people"},relaxed:{keywords:["face","blush","massage","happiness"],char:"☺️",fitzpatrick_scale:!1,category:"people"},yum:{keywords:["happy","joy","tongue","smile","face","silly","yummy","nom","delicious","savouring"],char:"😋",fitzpatrick_scale:!1,category:"people"},relieved:{keywords:["face","relaxed","phew","massage","happiness"],char:"😌",fitzpatrick_scale:!1,category:"people"},heart_eyes:{keywords:["face","love","like","affection","valentines","infatuation","crush","heart"],char:"😍",fitzpatrick_scale:!1,category:"people"},smiling_face_with_three_hearts:{keywords:["face","love","like","affection","valentines","infatuation","crush","hearts","adore"],char:"🥰",fitzpatrick_scale:!1,category:"people"},kissing_heart:{keywords:["face","love","like","affection","valentines","infatuation","kiss"],char:"😘",fitzpatrick_scale:!1,category:"people"},kissing:{keywords:["love","like","face","3","valentines","infatuation","kiss"],char:"😗",fitzpatrick_scale:!1,category:"people"},kissing_smiling_eyes:{keywords:["face","affection","valentines","infatuation","kiss"],char:"😙",fitzpatrick_scale:!1,category:"people"},kissing_closed_eyes:{keywords:["face","love","like","affection","valentines","infatuation","kiss"],char:"😚",fitzpatrick_scale:!1,category:"people"},stuck_out_tongue_winking_eye:{keywords:["face","prank","childish","playful","mischievous","smile","wink","tongue"],char:"😜",fitzpatrick_scale:!1,category:"people"},zany:{keywords:["face","goofy","crazy"],char:"🤪",fitzpatrick_scale:!1,category:"people"},raised_eyebrow:{keywords:["face","distrust","scepticism","disapproval","disbelief","surprise"],char:"🤨",fitzpatrick_scale:!1,category:"people"},monocle:{keywords:["face","stuffy","wealthy"],char:"🧐",fitzpatrick_scale:!1,category:"people"},stuck_out_tongue_closed_eyes:{keywords:["face","prank","playful","mischievous","smile","tongue"],char:"😝",fitzpatrick_scale:!1,category:"people"},stuck_out_tongue:{keywords:["face","prank","childish","playful","mischievous","smile","tongue"],char:"😛",fitzpatrick_scale:!1,category:"people"},money_mouth_face:{keywords:["face","rich","dollar","money"],char:"🤑",fitzpatrick_scale:!1,category:"people"},nerd_face:{keywords:["face","nerdy","geek","dork"],char:"🤓",fitzpatrick_scale:!1,category:"people"},sunglasses:{keywords:["face","cool","smile","summer","beach","sunglass"],char:"😎",fitzpatrick_scale:!1,category:"people"},star_struck:{keywords:["face","smile","starry","eyes","grinning"],char:"🤩",fitzpatrick_scale:!1,category:"people"},clown_face:{keywords:["face"],char:"🤡",fitzpatrick_scale:!1,category:"people"},cowboy_hat_face:{keywords:["face","cowgirl","hat"],char:"🤠",fitzpatrick_scale:!1,category:"people"},hugs:{keywords:["face","smile","hug"],char:"🤗",fitzpatrick_scale:!1,category:"people"},smirk:{keywords:["face","smile","mean","prank","smug","sarcasm"],char:"😏",fitzpatrick_scale:!1,category:"people"},no_mouth:{keywords:["face","hellokitty"],char:"😶",fitzpatrick_scale:!1,category:"people"},neutral_face:{keywords:["indifference","meh",":|","neutral"],char:"😐",fitzpatrick_scale:!1,category:"people"},expressionless:{keywords:["face","indifferent","-_-","meh","deadpan"],char:"😑",fitzpatrick_scale:!1,category:"people"},unamused:{keywords:["indifference","bored","straight face","serious","sarcasm","unimpressed","skeptical","dubious","side_eye"],char:"😒",fitzpatrick_scale:!1,category:"people"},roll_eyes:{keywords:["face","eyeroll","frustrated"],char:"🙄",fitzpatrick_scale:!1,category:"people"},thinking:{keywords:["face","hmmm","think","consider"],char:"🤔",fitzpatrick_scale:!1,category:"people"},lying_face:{keywords:["face","lie","pinocchio"],char:"🤥",fitzpatrick_scale:!1,category:"people"},hand_over_mouth:{keywords:["face","whoops","shock","surprise"],char:"🤭",fitzpatrick_scale:!1,category:"people"},shushing:{keywords:["face","quiet","shhh"],char:"🤫",fitzpatrick_scale:!1,category:"people"},symbols_over_mouth:{keywords:["face","swearing","cursing","cussing","profanity","expletive"],char:"🤬",fitzpatrick_scale:!1,category:"people"},exploding_head:{keywords:["face","shocked","mind","blown"],char:"🤯",fitzpatrick_scale:!1,category:"people"},flushed:{keywords:["face","blush","shy","flattered"],char:"😳",fitzpatrick_scale:!1,category:"people"},disappointed:{keywords:["face","sad","upset","depressed",":("],char:"😞",fitzpatrick_scale:!1,category:"people"},worried:{keywords:["face","concern","nervous",":("],char:"😟",fitzpatrick_scale:!1,category:"people"},angry:{keywords:["mad","face","annoyed","frustrated"],char:"😠",fitzpatrick_scale:!1,category:"people"},rage:{keywords:["angry","mad","hate","despise"],char:"😡",fitzpatrick_scale:!1,category:"people"},pensive:{keywords:["face","sad","depressed","upset"],char:"😔",fitzpatrick_scale:!1,category:"people"},confused:{keywords:["face","indifference","huh","weird","hmmm",":/"],char:"😕",fitzpatrick_scale:!1,category:"people"},slightly_frowning_face:{keywords:["face","frowning","disappointed","sad","upset"],char:"🙁",fitzpatrick_scale:!1,category:"people"},frowning_face:{keywords:["face","sad","upset","frown"],char:"☹",fitzpatrick_scale:!1,category:"people"},persevere:{keywords:["face","sick","no","upset","oops"],char:"😣",fitzpatrick_scale:!1,category:"people"},confounded:{keywords:["face","confused","sick","unwell","oops",":S"],char:"😖",fitzpatrick_scale:!1,category:"people"},tired_face:{keywords:["sick","whine","upset","frustrated"],char:"😫",fitzpatrick_scale:!1,category:"people"},weary:{keywords:["face","tired","sleepy","sad","frustrated","upset"],char:"😩",fitzpatrick_scale:!1,category:"people"},pleading:{keywords:["face","begging","mercy"],char:"🥺",fitzpatrick_scale:!1,category:"people"},triumph:{keywords:["face","gas","phew","proud","pride"],char:"😤",fitzpatrick_scale:!1,category:"people"},open_mouth:{keywords:["face","surprise","impressed","wow","whoa",":O"],char:"😮",fitzpatrick_scale:!1,category:"people"},scream:{keywords:["face","munch","scared","omg"],char:"😱",fitzpatrick_scale:!1,category:"people"},fearful:{keywords:["face","scared","terrified","nervous","oops","huh"],char:"😨",fitzpatrick_scale:!1,category:"people"},cold_sweat:{keywords:["face","nervous","sweat"],char:"😰",fitzpatrick_scale:!1,category:"people"},hushed:{keywords:["face","woo","shh"],char:"😯",fitzpatrick_scale:!1,category:"people"},frowning:{keywords:["face","aw","what"],char:"😦",fitzpatrick_scale:!1,category:"people"},anguished:{keywords:["face","stunned","nervous"],char:"😧",fitzpatrick_scale:!1,category:"people"},cry:{keywords:["face","tears","sad","depressed","upset",":'("],char:"😢",fitzpatrick_scale:!1,category:"people"},disappointed_relieved:{keywords:["face","phew","sweat","nervous"],char:"😥",fitzpatrick_scale:!1,category:"people"},drooling_face:{keywords:["face"],char:"🤤",fitzpatrick_scale:!1,category:"people"},sleepy:{keywords:["face","tired","rest","nap"],char:"😪",fitzpatrick_scale:!1,category:"people"},sweat:{keywords:["face","hot","sad","tired","exercise"],char:"😓",fitzpatrick_scale:!1,category:"people"},hot:{keywords:["face","feverish","heat","red","sweating"],char:"🥵",fitzpatrick_scale:!1,category:"people"},cold:{keywords:["face","blue","freezing","frozen","frostbite","icicles"],char:"🥶",fitzpatrick_scale:!1,category:"people"},sob:{keywords:["face","cry","tears","sad","upset","depressed"],char:"😭",fitzpatrick_scale:!1,category:"people"},dizzy_face:{keywords:["spent","unconscious","xox","dizzy"],char:"😵",fitzpatrick_scale:!1,category:"people"},astonished:{keywords:["face","xox","surprised","poisoned"],char:"😲",fitzpatrick_scale:!1,category:"people"},zipper_mouth_face:{keywords:["face","sealed","zipper","secret"],char:"🤐",fitzpatrick_scale:!1,category:"people"},nauseated_face:{keywords:["face","vomit","gross","green","sick","throw up","ill"],char:"🤢",fitzpatrick_scale:!1,category:"people"},sneezing_face:{keywords:["face","gesundheit","sneeze","sick","allergy"],char:"🤧",fitzpatrick_scale:!1,category:"people"},vomiting:{keywords:["face","sick"],char:"🤮",fitzpatrick_scale:!1,category:"people"},mask:{keywords:["face","sick","ill","disease"],char:"😷",fitzpatrick_scale:!1,category:"people"},face_with_thermometer:{keywords:["sick","temperature","thermometer","cold","fever"],char:"🤒",fitzpatrick_scale:!1,category:"people"},face_with_head_bandage:{keywords:["injured","clumsy","bandage","hurt"],char:"🤕",fitzpatrick_scale:!1,category:"people"},woozy:{keywords:["face","dizzy","intoxicated","tipsy","wavy"],char:"🥴",fitzpatrick_scale:!1,category:"people"},sleeping:{keywords:["face","tired","sleepy","night","zzz"],char:"😴",fitzpatrick_scale:!1,category:"people"},zzz:{keywords:["sleepy","tired","dream"],char:"💤",fitzpatrick_scale:!1,category:"people"},poop:{keywords:["hankey","shitface","fail","turd","shit"],char:"💩",fitzpatrick_scale:!1,category:"people"},smiling_imp:{keywords:["devil","horns"],char:"😈",fitzpatrick_scale:!1,category:"people"},imp:{keywords:["devil","angry","horns"],char:"👿",fitzpatrick_scale:!1,category:"people"},japanese_ogre:{keywords:["monster","red","mask","halloween","scary","creepy","devil","demon","japanese","ogre"],char:"👹",fitzpatrick_scale:!1,category:"people"},japanese_goblin:{keywords:["red","evil","mask","monster","scary","creepy","japanese","goblin"],char:"👺",fitzpatrick_scale:!1,category:"people"},skull:{keywords:["dead","skeleton","creepy","death"],char:"💀",fitzpatrick_scale:!1,category:"people"},ghost:{keywords:["halloween","spooky","scary"],char:"👻",fitzpatrick_scale:!1,category:"people"},alien:{keywords:["UFO","paul","weird","outer_space"],char:"👽",fitzpatrick_scale:!1,category:"people"},robot:{keywords:["computer","machine","bot"],char:"🤖",fitzpatrick_scale:!1,category:"people"},smiley_cat:{keywords:["animal","cats","happy","smile"],char:"😺",fitzpatrick_scale:!1,category:"people"},smile_cat:{keywords:["animal","cats","smile"],char:"😸",fitzpatrick_scale:!1,category:"people"},joy_cat:{keywords:["animal","cats","haha","happy","tears"],char:"😹",fitzpatrick_scale:!1,category:"people"},heart_eyes_cat:{keywords:["animal","love","like","affection","cats","valentines","heart"],char:"😻",fitzpatrick_scale:!1,category:"people"},smirk_cat:{keywords:["animal","cats","smirk"],char:"😼",fitzpatrick_scale:!1,category:"people"},kissing_cat:{keywords:["animal","cats","kiss"],char:"😽",fitzpatrick_scale:!1,category:"people"},scream_cat:{keywords:["animal","cats","munch","scared","scream"],char:"🙀",fitzpatrick_scale:!1,category:"people"},crying_cat_face:{keywords:["animal","tears","weep","sad","cats","upset","cry"],char:"😿",fitzpatrick_scale:!1,category:"people"},pouting_cat:{keywords:["animal","cats"],char:"😾",fitzpatrick_scale:!1,category:"people"},palms_up:{keywords:["hands","gesture","cupped","prayer"],char:"🤲",fitzpatrick_scale:!0,category:"people"},raised_hands:{keywords:["gesture","hooray","yea","celebration","hands"],char:"🙌",fitzpatrick_scale:!0,category:"people"},clap:{keywords:["hands","praise","applause","congrats","yay"],char:"👏",fitzpatrick_scale:!0,category:"people"},wave:{keywords:["hands","gesture","goodbye","solong","farewell","hello","hi","palm"],char:"👋",fitzpatrick_scale:!0,category:"people"},call_me_hand:{keywords:["hands","gesture"],char:"🤙",fitzpatrick_scale:!0,category:"people"},"+1":{keywords:["thumbsup","yes","awesome","good","agree","accept","cool","hand","like"],char:"👍",fitzpatrick_scale:!0,category:"people"},"-1":{keywords:["thumbsdown","no","dislike","hand"],char:"👎",fitzpatrick_scale:!0,category:"people"},facepunch:{keywords:["angry","violence","fist","hit","attack","hand"],char:"👊",fitzpatrick_scale:!0,category:"people"},fist:{keywords:["fingers","hand","grasp"],char:"✊",fitzpatrick_scale:!0,category:"people"},fist_left:{keywords:["hand","fistbump"],char:"🤛",fitzpatrick_scale:!0,category:"people"},fist_right:{keywords:["hand","fistbump"],char:"🤜",fitzpatrick_scale:!0,category:"people"},v:{keywords:["fingers","ohyeah","hand","peace","victory","two"],char:"✌",fitzpatrick_scale:!0,category:"people"},ok_hand:{keywords:["fingers","limbs","perfect","ok","okay"],char:"👌",fitzpatrick_scale:!0,category:"people"},raised_hand:{keywords:["fingers","stop","highfive","palm","ban"],char:"✋",fitzpatrick_scale:!0,category:"people"},raised_back_of_hand:{keywords:["fingers","raised","backhand"],char:"🤚",fitzpatrick_scale:!0,category:"people"},open_hands:{keywords:["fingers","butterfly","hands","open"],char:"👐",fitzpatrick_scale:!0,category:"people"},muscle:{keywords:["arm","flex","hand","summer","strong","biceps"],char:"💪",fitzpatrick_scale:!0,category:"people"},pray:{keywords:["please","hope","wish","namaste","highfive"],char:"🙏",fitzpatrick_scale:!0,category:"people"},foot:{keywords:["kick","stomp"],char:"🦶",fitzpatrick_scale:!0,category:"people"},leg:{keywords:["kick","limb"],char:"🦵",fitzpatrick_scale:!0,category:"people"},handshake:{keywords:["agreement","shake"],char:"🤝",fitzpatrick_scale:!1,category:"people"},point_up:{keywords:["hand","fingers","direction","up"],char:"☝",fitzpatrick_scale:!0,category:"people"},point_up_2:{keywords:["fingers","hand","direction","up"],char:"👆",fitzpatrick_scale:!0,category:"people"},point_down:{keywords:["fingers","hand","direction","down"],char:"👇",fitzpatrick_scale:!0,category:"people"},point_left:{keywords:["direction","fingers","hand","left"],char:"👈",fitzpatrick_scale:!0,category:"people"},point_right:{keywords:["fingers","hand","direction","right"],char:"👉",fitzpatrick_scale:!0,category:"people"},fu:{keywords:["hand","fingers","rude","middle","flipping"],char:"🖕",fitzpatrick_scale:!0,category:"people"},raised_hand_with_fingers_splayed:{keywords:["hand","fingers","palm"],char:"🖐",fitzpatrick_scale:!0,category:"people"},love_you:{keywords:["hand","fingers","gesture"],char:"🤟",fitzpatrick_scale:!0,category:"people"},metal:{keywords:["hand","fingers","evil_eye","sign_of_horns","rock_on"],char:"🤘",fitzpatrick_scale:!0,category:"people"},crossed_fingers:{keywords:["good","lucky"],char:"🤞",fitzpatrick_scale:!0,category:"people"},vulcan_salute:{keywords:["hand","fingers","spock","star trek"],char:"🖖",fitzpatrick_scale:!0,category:"people"},writing_hand:{keywords:["lower_left_ballpoint_pen","stationery","write","compose"],char:"✍",fitzpatrick_scale:!0,category:"people"},selfie:{keywords:["camera","phone"],char:"🤳",fitzpatrick_scale:!0,category:"people"},nail_care:{keywords:["beauty","manicure","finger","fashion","nail"],char:"💅",fitzpatrick_scale:!0,category:"people"},lips:{keywords:["mouth","kiss"],char:"👄",fitzpatrick_scale:!1,category:"people"},tooth:{keywords:["teeth","dentist"],char:"🦷",fitzpatrick_scale:!1,category:"people"},tongue:{keywords:["mouth","playful"],char:"👅",fitzpatrick_scale:!1,category:"people"},ear:{keywords:["face","hear","sound","listen"],char:"👂",fitzpatrick_scale:!0,category:"people"},nose:{keywords:["smell","sniff"],char:"👃",fitzpatrick_scale:!0,category:"people"},eye:{keywords:["face","look","see","watch","stare"],char:"👁",fitzpatrick_scale:!1,category:"people"},eyes:{keywords:["look","watch","stalk","peek","see"],char:"👀",fitzpatrick_scale:!1,category:"people"},brain:{keywords:["smart","intelligent"],char:"🧠",fitzpatrick_scale:!1,category:"people"},bust_in_silhouette:{keywords:["user","person","human"],char:"👤",fitzpatrick_scale:!1,category:"people"},busts_in_silhouette:{keywords:["user","person","human","group","team"],char:"👥",fitzpatrick_scale:!1,category:"people"},speaking_head:{keywords:["user","person","human","sing","say","talk"],char:"🗣",fitzpatrick_scale:!1,category:"people"},baby:{keywords:["child","boy","girl","toddler"],char:"👶",fitzpatrick_scale:!0,category:"people"},child:{keywords:["gender-neutral","young"],char:"🧒",fitzpatrick_scale:!0,category:"people"},boy:{keywords:["man","male","guy","teenager"],char:"👦",fitzpatrick_scale:!0,category:"people"},girl:{keywords:["female","woman","teenager"],char:"👧",fitzpatrick_scale:!0,category:"people"},adult:{keywords:["gender-neutral","person"],char:"🧑",fitzpatrick_scale:!0,category:"people"},man:{keywords:["mustache","father","dad","guy","classy","sir","moustache"],char:"👨",fitzpatrick_scale:!0,category:"people"},woman:{keywords:["female","girls","lady"],char:"👩",fitzpatrick_scale:!0,category:"people"},blonde_woman:{keywords:["woman","female","girl","blonde","person"],char:"👱‍♀️",fitzpatrick_scale:!0,category:"people"},blonde_man:{keywords:["man","male","boy","blonde","guy","person"],char:"👱",fitzpatrick_scale:!0,category:"people"},bearded_person:{keywords:["person","bewhiskered"],char:"🧔",fitzpatrick_scale:!0,category:"people"},older_adult:{keywords:["human","elder","senior","gender-neutral"],char:"🧓",fitzpatrick_scale:!0,category:"people"},older_man:{keywords:["human","male","men","old","elder","senior"],char:"👴",fitzpatrick_scale:!0,category:"people"},older_woman:{keywords:["human","female","women","lady","old","elder","senior"],char:"👵",fitzpatrick_scale:!0,category:"people"},man_with_gua_pi_mao:{keywords:["male","boy","chinese"],char:"👲",fitzpatrick_scale:!0,category:"people"},woman_with_headscarf:{keywords:["female","hijab","mantilla","tichel"],char:"🧕",fitzpatrick_scale:!0,category:"people"},woman_with_turban:{keywords:["female","indian","hinduism","arabs","woman"],char:"👳‍♀️",fitzpatrick_scale:!0,category:"people"},man_with_turban:{keywords:["male","indian","hinduism","arabs"],char:"👳",fitzpatrick_scale:!0,category:"people"},policewoman:{keywords:["woman","police","law","legal","enforcement","arrest","911","female"],char:"👮‍♀️",fitzpatrick_scale:!0,category:"people"},policeman:{keywords:["man","police","law","legal","enforcement","arrest","911"],char:"👮",fitzpatrick_scale:!0,category:"people"},construction_worker_woman:{keywords:["female","human","wip","build","construction","worker","labor","woman"],char:"👷‍♀️",fitzpatrick_scale:!0,category:"people"},construction_worker_man:{keywords:["male","human","wip","guy","build","construction","worker","labor"],char:"👷",fitzpatrick_scale:!0,category:"people"},guardswoman:{keywords:["uk","gb","british","female","royal","woman"],char:"💂‍♀️",fitzpatrick_scale:!0,category:"people"},guardsman:{keywords:["uk","gb","british","male","guy","royal"],char:"💂",fitzpatrick_scale:!0,category:"people"},female_detective:{keywords:["human","spy","detective","female","woman"],char:"🕵️‍♀️",fitzpatrick_scale:!0,category:"people"},male_detective:{keywords:["human","spy","detective"],char:"🕵",fitzpatrick_scale:!0,category:"people"},woman_health_worker:{keywords:["doctor","nurse","therapist","healthcare","woman","human"],char:"👩‍⚕️",fitzpatrick_scale:!0,category:"people"},man_health_worker:{keywords:["doctor","nurse","therapist","healthcare","man","human"],char:"👨‍⚕️",fitzpatrick_scale:!0,category:"people"},woman_farmer:{keywords:["rancher","gardener","woman","human"],char:"👩‍🌾",fitzpatrick_scale:!0,category:"people"},man_farmer:{keywords:["rancher","gardener","man","human"],char:"👨‍🌾",fitzpatrick_scale:!0,category:"people"},woman_cook:{keywords:["chef","woman","human"],char:"👩‍🍳",fitzpatrick_scale:!0,category:"people"},man_cook:{keywords:["chef","man","human"],char:"👨‍🍳",fitzpatrick_scale:!0,category:"people"},woman_student:{keywords:["graduate","woman","human"],char:"👩‍🎓",fitzpatrick_scale:!0,category:"people"},man_student:{keywords:["graduate","man","human"],char:"👨‍🎓",fitzpatrick_scale:!0,category:"people"},woman_singer:{keywords:["rockstar","entertainer","woman","human"],char:"👩‍🎤",fitzpatrick_scale:!0,category:"people"},man_singer:{keywords:["rockstar","entertainer","man","human"],char:"👨‍🎤",fitzpatrick_scale:!0,category:"people"},woman_teacher:{keywords:["instructor","professor","woman","human"],char:"👩‍🏫",fitzpatrick_scale:!0,category:"people"},man_teacher:{keywords:["instructor","professor","man","human"],char:"👨‍🏫",fitzpatrick_scale:!0,category:"people"},woman_factory_worker:{keywords:["assembly","industrial","woman","human"],char:"👩‍🏭",fitzpatrick_scale:!0,category:"people"},man_factory_worker:{keywords:["assembly","industrial","man","human"],char:"👨‍🏭",fitzpatrick_scale:!0,category:"people"},woman_technologist:{keywords:["coder","developer","engineer","programmer","software","woman","human","laptop","computer"],char:"👩‍💻",fitzpatrick_scale:!0,category:"people"},man_technologist:{keywords:["coder","developer","engineer","programmer","software","man","human","laptop","computer"],char:"👨‍💻",fitzpatrick_scale:!0,category:"people"},woman_office_worker:{keywords:["business","manager","woman","human"],char:"👩‍💼",fitzpatrick_scale:!0,category:"people"},man_office_worker:{keywords:["business","manager","man","human"],char:"👨‍💼",fitzpatrick_scale:!0,category:"people"},woman_mechanic:{keywords:["plumber","woman","human","wrench"],char:"👩‍🔧",fitzpatrick_scale:!0,category:"people"},man_mechanic:{keywords:["plumber","man","human","wrench"],char:"👨‍🔧",fitzpatrick_scale:!0,category:"people"},woman_scientist:{keywords:["biologist","chemist","engineer","physicist","woman","human"],char:"👩‍🔬",fitzpatrick_scale:!0,category:"people"},man_scientist:{keywords:["biologist","chemist","engineer","physicist","man","human"],char:"👨‍🔬",fitzpatrick_scale:!0,category:"people"},woman_artist:{keywords:["painter","woman","human"],char:"👩‍🎨",fitzpatrick_scale:!0,category:"people"},man_artist:{keywords:["painter","man","human"],char:"👨‍🎨",fitzpatrick_scale:!0,category:"people"},woman_firefighter:{keywords:["fireman","woman","human"],char:"👩‍🚒",fitzpatrick_scale:!0,category:"people"},man_firefighter:{keywords:["fireman","man","human"],char:"👨‍🚒",fitzpatrick_scale:!0,category:"people"},woman_pilot:{keywords:["aviator","plane","woman","human"],char:"👩‍✈️",fitzpatrick_scale:!0,category:"people"},man_pilot:{keywords:["aviator","plane","man","human"],char:"👨‍✈️",fitzpatrick_scale:!0,category:"people"},woman_astronaut:{keywords:["space","rocket","woman","human"],char:"👩‍🚀",fitzpatrick_scale:!0,category:"people"},man_astronaut:{keywords:["space","rocket","man","human"],char:"👨‍🚀",fitzpatrick_scale:!0,category:"people"},woman_judge:{keywords:["justice","court","woman","human"],char:"👩‍⚖️",fitzpatrick_scale:!0,category:"people"},man_judge:{keywords:["justice","court","man","human"],char:"👨‍⚖️",fitzpatrick_scale:!0,category:"people"},woman_superhero:{keywords:["woman","female","good","heroine","superpowers"],char:"🦸‍♀️",fitzpatrick_scale:!0,category:"people"},man_superhero:{keywords:["man","male","good","hero","superpowers"],char:"🦸‍♂️",fitzpatrick_scale:!0,category:"people"},woman_supervillain:{keywords:["woman","female","evil","bad","criminal","heroine","superpowers"],char:"🦹‍♀️",fitzpatrick_scale:!0,category:"people"},man_supervillain:{keywords:["man","male","evil","bad","criminal","hero","superpowers"],char:"🦹‍♂️",fitzpatrick_scale:!0,category:"people"},mrs_claus:{keywords:["woman","female","xmas","mother christmas"],char:"🤶",fitzpatrick_scale:!0,category:"people"},santa:{keywords:["festival","man","male","xmas","father christmas"],char:"🎅",fitzpatrick_scale:!0,category:"people"},sorceress:{keywords:["woman","female","mage","witch"],char:"🧙‍♀️",fitzpatrick_scale:!0,category:"people"},wizard:{keywords:["man","male","mage","sorcerer"],char:"🧙‍♂️",fitzpatrick_scale:!0,category:"people"},woman_elf:{keywords:["woman","female"],char:"🧝‍♀️",fitzpatrick_scale:!0,category:"people"},man_elf:{keywords:["man","male"],char:"🧝‍♂️",fitzpatrick_scale:!0,category:"people"},woman_vampire:{keywords:["woman","female"],char:"🧛‍♀️",fitzpatrick_scale:!0,category:"people"},man_vampire:{keywords:["man","male","dracula"],char:"🧛‍♂️",fitzpatrick_scale:!0,category:"people"},woman_zombie:{keywords:["woman","female","undead","walking dead"],char:"🧟‍♀️",fitzpatrick_scale:!1,category:"people"},man_zombie:{keywords:["man","male","dracula","undead","walking dead"],char:"🧟‍♂️",fitzpatrick_scale:!1,category:"people"},woman_genie:{keywords:["woman","female"],char:"🧞‍♀️",fitzpatrick_scale:!1,category:"people"},man_genie:{keywords:["man","male"],char:"🧞‍♂️",fitzpatrick_scale:!1,category:"people"},mermaid:{keywords:["woman","female","merwoman","ariel"],char:"🧜‍♀️",fitzpatrick_scale:!0,category:"people"},merman:{keywords:["man","male","triton"],char:"🧜‍♂️",fitzpatrick_scale:!0,category:"people"},woman_fairy:{keywords:["woman","female"],char:"🧚‍♀️",fitzpatrick_scale:!0,category:"people"},man_fairy:{keywords:["man","male"],char:"🧚‍♂️",fitzpatrick_scale:!0,category:"people"},angel:{keywords:["heaven","wings","halo"],char:"👼",fitzpatrick_scale:!0,category:"people"},pregnant_woman:{keywords:["baby"],char:"🤰",fitzpatrick_scale:!0,category:"people"},breastfeeding:{keywords:["nursing","baby"],char:"🤱",fitzpatrick_scale:!0,category:"people"},princess:{keywords:["girl","woman","female","blond","crown","royal","queen"],char:"👸",fitzpatrick_scale:!0,category:"people"},prince:{keywords:["boy","man","male","crown","royal","king"],char:"🤴",fitzpatrick_scale:!0,category:"people"},bride_with_veil:{keywords:["couple","marriage","wedding","woman","bride"],char:"👰",fitzpatrick_scale:!0,category:"people"},man_in_tuxedo:{keywords:["couple","marriage","wedding","groom"],char:"🤵",fitzpatrick_scale:!0,category:"people"},running_woman:{keywords:["woman","walking","exercise","race","running","female"],char:"🏃‍♀️",fitzpatrick_scale:!0,category:"people"},running_man:{keywords:["man","walking","exercise","race","running"],char:"🏃",fitzpatrick_scale:!0,category:"people"},walking_woman:{keywords:["human","feet","steps","woman","female"],char:"🚶‍♀️",fitzpatrick_scale:!0,category:"people"},walking_man:{keywords:["human","feet","steps"],char:"🚶",fitzpatrick_scale:!0,category:"people"},dancer:{keywords:["female","girl","woman","fun"],char:"💃",fitzpatrick_scale:!0,category:"people"},man_dancing:{keywords:["male","boy","fun","dancer"],char:"🕺",fitzpatrick_scale:!0,category:"people"},dancing_women:{keywords:["female","bunny","women","girls"],char:"👯",fitzpatrick_scale:!1,category:"people"},dancing_men:{keywords:["male","bunny","men","boys"],char:"👯‍♂️",fitzpatrick_scale:!1,category:"people"},couple:{keywords:["pair","people","human","love","date","dating","like","affection","valentines","marriage"],char:"👫",fitzpatrick_scale:!1,category:"people"},two_men_holding_hands:{keywords:["pair","couple","love","like","bromance","friendship","people","human"],char:"👬",fitzpatrick_scale:!1,category:"people"},two_women_holding_hands:{keywords:["pair","friendship","couple","love","like","female","people","human"],char:"👭",fitzpatrick_scale:!1,category:"people"},bowing_woman:{keywords:["woman","female","girl"],char:"🙇‍♀️",fitzpatrick_scale:!0,category:"people"},bowing_man:{keywords:["man","male","boy"],char:"🙇",fitzpatrick_scale:!0,category:"people"},man_facepalming:{keywords:["man","male","boy","disbelief"],char:"🤦‍♂️",fitzpatrick_scale:!0,category:"people"},woman_facepalming:{keywords:["woman","female","girl","disbelief"],char:"🤦‍♀️",fitzpatrick_scale:!0,category:"people"},woman_shrugging:{keywords:["woman","female","girl","confused","indifferent","doubt"],char:"🤷",fitzpatrick_scale:!0,category:"people"},man_shrugging:{keywords:["man","male","boy","confused","indifferent","doubt"],char:"🤷‍♂️",fitzpatrick_scale:!0,category:"people"},tipping_hand_woman:{keywords:["female","girl","woman","human","information"],char:"💁",fitzpatrick_scale:!0,category:"people"},tipping_hand_man:{keywords:["male","boy","man","human","information"],char:"💁‍♂️",fitzpatrick_scale:!0,category:"people"},no_good_woman:{keywords:["female","girl","woman","nope"],char:"🙅",fitzpatrick_scale:!0,category:"people"},no_good_man:{keywords:["male","boy","man","nope"],char:"🙅‍♂️",fitzpatrick_scale:!0,category:"people"},ok_woman:{keywords:["women","girl","female","pink","human","woman"],char:"🙆",fitzpatrick_scale:!0,category:"people"},ok_man:{keywords:["men","boy","male","blue","human","man"],char:"🙆‍♂️",fitzpatrick_scale:!0,category:"people"},raising_hand_woman:{keywords:["female","girl","woman"],char:"🙋",fitzpatrick_scale:!0,category:"people"},raising_hand_man:{keywords:["male","boy","man"],char:"🙋‍♂️",fitzpatrick_scale:!0,category:"people"},pouting_woman:{keywords:["female","girl","woman"],char:"🙎",fitzpatrick_scale:!0,category:"people"},pouting_man:{keywords:["male","boy","man"],char:"🙎‍♂️",fitzpatrick_scale:!0,category:"people"},frowning_woman:{keywords:["female","girl","woman","sad","depressed","discouraged","unhappy"],char:"🙍",fitzpatrick_scale:!0,category:"people"},frowning_man:{keywords:["male","boy","man","sad","depressed","discouraged","unhappy"],char:"🙍‍♂️",fitzpatrick_scale:!0,category:"people"},haircut_woman:{keywords:["female","girl","woman"],char:"💇",fitzpatrick_scale:!0,category:"people"},haircut_man:{keywords:["male","boy","man"],char:"💇‍♂️",fitzpatrick_scale:!0,category:"people"},massage_woman:{keywords:["female","girl","woman","head"],char:"💆",fitzpatrick_scale:!0,category:"people"},massage_man:{keywords:["male","boy","man","head"],char:"💆‍♂️",fitzpatrick_scale:!0,category:"people"},woman_in_steamy_room:{keywords:["female","woman","spa","steamroom","sauna"],char:"🧖‍♀️",fitzpatrick_scale:!0,category:"people"},man_in_steamy_room:{keywords:["male","man","spa","steamroom","sauna"],char:"🧖‍♂️",fitzpatrick_scale:!0,category:"people"},couple_with_heart_woman_man:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"💑",fitzpatrick_scale:!1,category:"people"},couple_with_heart_woman_woman:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"👩‍❤️‍👩",fitzpatrick_scale:!1,category:"people"},couple_with_heart_man_man:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"👨‍❤️‍👨",fitzpatrick_scale:!1,category:"people"},couplekiss_man_woman:{keywords:["pair","valentines","love","like","dating","marriage"],char:"💏",fitzpatrick_scale:!1,category:"people"},couplekiss_woman_woman:{keywords:["pair","valentines","love","like","dating","marriage"],char:"👩‍❤️‍💋‍👩",fitzpatrick_scale:!1,category:"people"},couplekiss_man_man:{keywords:["pair","valentines","love","like","dating","marriage"],char:"👨‍❤️‍💋‍👨",fitzpatrick_scale:!1,category:"people"},family_man_woman_boy:{keywords:["home","parents","child","mom","dad","father","mother","people","human"],char:"👪",fitzpatrick_scale:!1,category:"people"},family_man_woman_girl:{keywords:["home","parents","people","human","child"],char:"👨‍👩‍👧",fitzpatrick_scale:!1,category:"people"},family_man_woman_girl_boy:{keywords:["home","parents","people","human","children"],char:"👨‍👩‍👧‍👦",fitzpatrick_scale:!1,category:"people"},family_man_woman_boy_boy:{keywords:["home","parents","people","human","children"],char:"👨‍👩‍👦‍👦",fitzpatrick_scale:!1,category:"people"},family_man_woman_girl_girl:{keywords:["home","parents","people","human","children"],char:"👨‍👩‍👧‍👧",fitzpatrick_scale:!1,category:"people"},family_woman_woman_boy:{keywords:["home","parents","people","human","children"],char:"👩‍👩‍👦",fitzpatrick_scale:!1,category:"people"},family_woman_woman_girl:{keywords:["home","parents","people","human","children"],char:"👩‍👩‍👧",fitzpatrick_scale:!1,category:"people"},family_woman_woman_girl_boy:{keywords:["home","parents","people","human","children"],char:"👩‍👩‍👧‍👦",fitzpatrick_scale:!1,category:"people"},family_woman_woman_boy_boy:{keywords:["home","parents","people","human","children"],char:"👩‍👩‍👦‍👦",fitzpatrick_scale:!1,category:"people"},family_woman_woman_girl_girl:{keywords:["home","parents","people","human","children"],char:"👩‍👩‍👧‍👧",fitzpatrick_scale:!1,category:"people"},family_man_man_boy:{keywords:["home","parents","people","human","children"],char:"👨‍👨‍👦",fitzpatrick_scale:!1,category:"people"},family_man_man_girl:{keywords:["home","parents","people","human","children"],char:"👨‍👨‍👧",fitzpatrick_scale:!1,category:"people"},family_man_man_girl_boy:{keywords:["home","parents","people","human","children"],char:"👨‍👨‍👧‍👦",fitzpatrick_scale:!1,category:"people"},family_man_man_boy_boy:{keywords:["home","parents","people","human","children"],char:"👨‍👨‍👦‍👦",fitzpatrick_scale:!1,category:"people"},family_man_man_girl_girl:{keywords:["home","parents","people","human","children"],char:"👨‍👨‍👧‍👧",fitzpatrick_scale:!1,category:"people"},family_woman_boy:{keywords:["home","parent","people","human","child"],char:"👩‍👦",fitzpatrick_scale:!1,category:"people"},family_woman_girl:{keywords:["home","parent","people","human","child"],char:"👩‍👧",fitzpatrick_scale:!1,category:"people"},family_woman_girl_boy:{keywords:["home","parent","people","human","children"],char:"👩‍👧‍👦",fitzpatrick_scale:!1,category:"people"},family_woman_boy_boy:{keywords:["home","parent","people","human","children"],char:"👩‍👦‍👦",fitzpatrick_scale:!1,category:"people"},family_woman_girl_girl:{keywords:["home","parent","people","human","children"],char:"👩‍👧‍👧",fitzpatrick_scale:!1,category:"people"},family_man_boy:{keywords:["home","parent","people","human","child"],char:"👨‍👦",fitzpatrick_scale:!1,category:"people"},family_man_girl:{keywords:["home","parent","people","human","child"],char:"👨‍👧",fitzpatrick_scale:!1,category:"people"},family_man_girl_boy:{keywords:["home","parent","people","human","children"],char:"👨‍👧‍👦",fitzpatrick_scale:!1,category:"people"},family_man_boy_boy:{keywords:["home","parent","people","human","children"],char:"👨‍👦‍👦",fitzpatrick_scale:!1,category:"people"},family_man_girl_girl:{keywords:["home","parent","people","human","children"],char:"👨‍👧‍👧",fitzpatrick_scale:!1,category:"people"},yarn:{keywords:["ball","crochet","knit"],char:"🧶",fitzpatrick_scale:!1,category:"people"},thread:{keywords:["needle","sewing","spool","string"],char:"🧵",fitzpatrick_scale:!1,category:"people"},coat:{keywords:["jacket"],char:"🧥",fitzpatrick_scale:!1,category:"people"},labcoat:{keywords:["doctor","experiment","scientist","chemist"],char:"🥼",fitzpatrick_scale:!1,category:"people"},womans_clothes:{keywords:["fashion","shopping_bags","female"],char:"👚",fitzpatrick_scale:!1,category:"people"},tshirt:{keywords:["fashion","cloth","casual","shirt","tee"],char:"👕",fitzpatrick_scale:!1,category:"people"},jeans:{keywords:["fashion","shopping"],char:"👖",fitzpatrick_scale:!1,category:"people"},necktie:{keywords:["shirt","suitup","formal","fashion","cloth","business"],char:"👔",fitzpatrick_scale:!1,category:"people"},dress:{keywords:["clothes","fashion","shopping"],char:"👗",fitzpatrick_scale:!1,category:"people"},bikini:{keywords:["swimming","female","woman","girl","fashion","beach","summer"],char:"👙",fitzpatrick_scale:!1,category:"people"},kimono:{keywords:["dress","fashion","women","female","japanese"],char:"👘",fitzpatrick_scale:!1,category:"people"},lipstick:{keywords:["female","girl","fashion","woman"],char:"💄",fitzpatrick_scale:!1,category:"people"},kiss:{keywords:["face","lips","love","like","affection","valentines"],char:"💋",fitzpatrick_scale:!1,category:"people"},footprints:{keywords:["feet","tracking","walking","beach"],char:"👣",fitzpatrick_scale:!1,category:"people"},flat_shoe:{keywords:["ballet","slip-on","slipper"],char:"🥿",fitzpatrick_scale:!1,category:"people"},high_heel:{keywords:["fashion","shoes","female","pumps","stiletto"],char:"👠",fitzpatrick_scale:!1,category:"people"},sandal:{keywords:["shoes","fashion","flip flops"],char:"👡",fitzpatrick_scale:!1,category:"people"},boot:{keywords:["shoes","fashion"],char:"👢",fitzpatrick_scale:!1,category:"people"},mans_shoe:{keywords:["fashion","male"],char:"👞",fitzpatrick_scale:!1,category:"people"},athletic_shoe:{keywords:["shoes","sports","sneakers"],char:"👟",fitzpatrick_scale:!1,category:"people"},hiking_boot:{keywords:["backpacking","camping","hiking"],char:"🥾",fitzpatrick_scale:!1,category:"people"},socks:{keywords:["stockings","clothes"],char:"🧦",fitzpatrick_scale:!1,category:"people"},gloves:{keywords:["hands","winter","clothes"],char:"🧤",fitzpatrick_scale:!1,category:"people"},scarf:{keywords:["neck","winter","clothes"],char:"🧣",fitzpatrick_scale:!1,category:"people"},womans_hat:{keywords:["fashion","accessories","female","lady","spring"],char:"👒",fitzpatrick_scale:!1,category:"people"},tophat:{keywords:["magic","gentleman","classy","circus"],char:"🎩",fitzpatrick_scale:!1,category:"people"},billed_hat:{keywords:["cap","baseball"],char:"🧢",fitzpatrick_scale:!1,category:"people"},rescue_worker_helmet:{keywords:["construction","build"],char:"⛑",fitzpatrick_scale:!1,category:"people"},mortar_board:{keywords:["school","college","degree","university","graduation","cap","hat","legal","learn","education"],char:"🎓",fitzpatrick_scale:!1,category:"people"},crown:{keywords:["king","kod","leader","royalty","lord"],char:"👑",fitzpatrick_scale:!1,category:"people"},school_satchel:{keywords:["student","education","bag","backpack"],char:"🎒",fitzpatrick_scale:!1,category:"people"},luggage:{keywords:["packing","travel"],char:"🧳",fitzpatrick_scale:!1,category:"people"},pouch:{keywords:["bag","accessories","shopping"],char:"👝",fitzpatrick_scale:!1,category:"people"},purse:{keywords:["fashion","accessories","money","sales","shopping"],char:"👛",fitzpatrick_scale:!1,category:"people"},handbag:{keywords:["fashion","accessory","accessories","shopping"],char:"👜",fitzpatrick_scale:!1,category:"people"},briefcase:{keywords:["business","documents","work","law","legal","job","career"],char:"💼",fitzpatrick_scale:!1,category:"people"},eyeglasses:{keywords:["fashion","accessories","eyesight","nerdy","dork","geek"],char:"👓",fitzpatrick_scale:!1,category:"people"},dark_sunglasses:{keywords:["face","cool","accessories"],char:"🕶",fitzpatrick_scale:!1,category:"people"},goggles:{keywords:["eyes","protection","safety"],char:"🥽",fitzpatrick_scale:!1,category:"people"},ring:{keywords:["wedding","propose","marriage","valentines","diamond","fashion","jewelry","gem","engagement"],char:"💍",fitzpatrick_scale:!1,category:"people"},closed_umbrella:{keywords:["weather","rain","drizzle"],char:"🌂",fitzpatrick_scale:!1,category:"people"},dog:{keywords:["animal","friend","nature","woof","puppy","pet","faithful"],char:"🐶",fitzpatrick_scale:!1,category:"animals_and_nature"},cat:{keywords:["animal","meow","nature","pet","kitten"],char:"🐱",fitzpatrick_scale:!1,category:"animals_and_nature"},mouse:{keywords:["animal","nature","cheese_wedge","rodent"],char:"🐭",fitzpatrick_scale:!1,category:"animals_and_nature"},hamster:{keywords:["animal","nature"],char:"🐹",fitzpatrick_scale:!1,category:"animals_and_nature"},rabbit:{keywords:["animal","nature","pet","spring","magic","bunny"],char:"🐰",fitzpatrick_scale:!1,category:"animals_and_nature"},fox_face:{keywords:["animal","nature","face"],char:"🦊",fitzpatrick_scale:!1,category:"animals_and_nature"},bear:{keywords:["animal","nature","wild"],char:"🐻",fitzpatrick_scale:!1,category:"animals_and_nature"},panda_face:{keywords:["animal","nature","panda"],char:"🐼",fitzpatrick_scale:!1,category:"animals_and_nature"},koala:{keywords:["animal","nature"],char:"🐨",fitzpatrick_scale:!1,category:"animals_and_nature"},tiger:{keywords:["animal","cat","danger","wild","nature","roar"],char:"🐯",fitzpatrick_scale:!1,category:"animals_and_nature"},lion:{keywords:["animal","nature"],char:"🦁",fitzpatrick_scale:!1,category:"animals_and_nature"},cow:{keywords:["beef","ox","animal","nature","moo","milk"],char:"🐮",fitzpatrick_scale:!1,category:"animals_and_nature"},pig:{keywords:["animal","oink","nature"],char:"🐷",fitzpatrick_scale:!1,category:"animals_and_nature"},pig_nose:{keywords:["animal","oink"],char:"🐽",fitzpatrick_scale:!1,category:"animals_and_nature"},frog:{keywords:["animal","nature","croak","toad"],char:"🐸",fitzpatrick_scale:!1,category:"animals_and_nature"},squid:{keywords:["animal","nature","ocean","sea"],char:"🦑",fitzpatrick_scale:!1,category:"animals_and_nature"},octopus:{keywords:["animal","creature","ocean","sea","nature","beach"],char:"🐙",fitzpatrick_scale:!1,category:"animals_and_nature"},shrimp:{keywords:["animal","ocean","nature","seafood"],char:"🦐",fitzpatrick_scale:!1,category:"animals_and_nature"},monkey_face:{keywords:["animal","nature","circus"],char:"🐵",fitzpatrick_scale:!1,category:"animals_and_nature"},gorilla:{keywords:["animal","nature","circus"],char:"🦍",fitzpatrick_scale:!1,category:"animals_and_nature"},see_no_evil:{keywords:["monkey","animal","nature","haha"],char:"🙈",fitzpatrick_scale:!1,category:"animals_and_nature"},hear_no_evil:{keywords:["animal","monkey","nature"],char:"🙉",fitzpatrick_scale:!1,category:"animals_and_nature"},speak_no_evil:{keywords:["monkey","animal","nature","omg"],char:"🙊",fitzpatrick_scale:!1,category:"animals_and_nature"},monkey:{keywords:["animal","nature","banana","circus"],char:"🐒",fitzpatrick_scale:!1,category:"animals_and_nature"},chicken:{keywords:["animal","cluck","nature","bird"],char:"🐔",fitzpatrick_scale:!1,category:"animals_and_nature"},penguin:{keywords:["animal","nature"],char:"🐧",fitzpatrick_scale:!1,category:"animals_and_nature"},bird:{keywords:["animal","nature","fly","tweet","spring"],char:"🐦",fitzpatrick_scale:!1,category:"animals_and_nature"},baby_chick:{keywords:["animal","chicken","bird"],char:"🐤",fitzpatrick_scale:!1,category:"animals_and_nature"},hatching_chick:{keywords:["animal","chicken","egg","born","baby","bird"],char:"🐣",fitzpatrick_scale:!1,category:"animals_and_nature"},hatched_chick:{keywords:["animal","chicken","baby","bird"],char:"🐥",fitzpatrick_scale:!1,category:"animals_and_nature"},duck:{keywords:["animal","nature","bird","mallard"],char:"🦆",fitzpatrick_scale:!1,category:"animals_and_nature"},eagle:{keywords:["animal","nature","bird"],char:"🦅",fitzpatrick_scale:!1,category:"animals_and_nature"},owl:{keywords:["animal","nature","bird","hoot"],char:"🦉",fitzpatrick_scale:!1,category:"animals_and_nature"},bat:{keywords:["animal","nature","blind","vampire"],char:"🦇",fitzpatrick_scale:!1,category:"animals_and_nature"},wolf:{keywords:["animal","nature","wild"],char:"🐺",fitzpatrick_scale:!1,category:"animals_and_nature"},boar:{keywords:["animal","nature"],char:"🐗",fitzpatrick_scale:!1,category:"animals_and_nature"},horse:{keywords:["animal","brown","nature"],char:"🐴",fitzpatrick_scale:!1,category:"animals_and_nature"},unicorn:{keywords:["animal","nature","mystical"],char:"🦄",fitzpatrick_scale:!1,category:"animals_and_nature"},honeybee:{keywords:["animal","insect","nature","bug","spring","honey"],char:"🐝",fitzpatrick_scale:!1,category:"animals_and_nature"},bug:{keywords:["animal","insect","nature","worm"],char:"🐛",fitzpatrick_scale:!1,category:"animals_and_nature"},butterfly:{keywords:["animal","insect","nature","caterpillar"],char:"🦋",fitzpatrick_scale:!1,category:"animals_and_nature"},snail:{keywords:["slow","animal","shell"],char:"🐌",fitzpatrick_scale:!1,category:"animals_and_nature"},beetle:{keywords:["animal","insect","nature","ladybug"],char:"🐞",fitzpatrick_scale:!1,category:"animals_and_nature"},ant:{keywords:["animal","insect","nature","bug"],char:"🐜",fitzpatrick_scale:!1,category:"animals_and_nature"},grasshopper:{keywords:["animal","cricket","chirp"],char:"🦗",fitzpatrick_scale:!1,category:"animals_and_nature"},spider:{keywords:["animal","arachnid"],char:"🕷",fitzpatrick_scale:!1,category:"animals_and_nature"},scorpion:{keywords:["animal","arachnid"],char:"🦂",fitzpatrick_scale:!1,category:"animals_and_nature"},crab:{keywords:["animal","crustacean"],char:"🦀",fitzpatrick_scale:!1,category:"animals_and_nature"},snake:{keywords:["animal","evil","nature","hiss","python"],char:"🐍",fitzpatrick_scale:!1,category:"animals_and_nature"},lizard:{keywords:["animal","nature","reptile"],char:"🦎",fitzpatrick_scale:!1,category:"animals_and_nature"},"t-rex":{keywords:["animal","nature","dinosaur","tyrannosaurus","extinct"],char:"🦖",fitzpatrick_scale:!1,category:"animals_and_nature"},sauropod:{keywords:["animal","nature","dinosaur","brachiosaurus","brontosaurus","diplodocus","extinct"],char:"🦕",fitzpatrick_scale:!1,category:"animals_and_nature"},turtle:{keywords:["animal","slow","nature","tortoise"],char:"🐢",fitzpatrick_scale:!1,category:"animals_and_nature"},tropical_fish:{keywords:["animal","swim","ocean","beach","nemo"],char:"🐠",fitzpatrick_scale:!1,category:"animals_and_nature"},fish:{keywords:["animal","food","nature"],char:"🐟",fitzpatrick_scale:!1,category:"animals_and_nature"},blowfish:{keywords:["animal","nature","food","sea","ocean"],char:"🐡",fitzpatrick_scale:!1,category:"animals_and_nature"},dolphin:{keywords:["animal","nature","fish","sea","ocean","flipper","fins","beach"],char:"🐬",fitzpatrick_scale:!1,category:"animals_and_nature"},shark:{keywords:["animal","nature","fish","sea","ocean","jaws","fins","beach"],char:"🦈",fitzpatrick_scale:!1,category:"animals_and_nature"},whale:{keywords:["animal","nature","sea","ocean"],char:"🐳",fitzpatrick_scale:!1,category:"animals_and_nature"},whale2:{keywords:["animal","nature","sea","ocean"],char:"🐋",fitzpatrick_scale:!1,category:"animals_and_nature"},crocodile:{keywords:["animal","nature","reptile","lizard","alligator"],char:"🐊",fitzpatrick_scale:!1,category:"animals_and_nature"},leopard:{keywords:["animal","nature"],char:"🐆",fitzpatrick_scale:!1,category:"animals_and_nature"},zebra:{keywords:["animal","nature","stripes","safari"],char:"🦓",fitzpatrick_scale:!1,category:"animals_and_nature"},tiger2:{keywords:["animal","nature","roar"],char:"🐅",fitzpatrick_scale:!1,category:"animals_and_nature"},water_buffalo:{keywords:["animal","nature","ox","cow"],char:"🐃",fitzpatrick_scale:!1,category:"animals_and_nature"},ox:{keywords:["animal","cow","beef"],char:"🐂",fitzpatrick_scale:!1,category:"animals_and_nature"},cow2:{keywords:["beef","ox","animal","nature","moo","milk"],char:"🐄",fitzpatrick_scale:!1,category:"animals_and_nature"},deer:{keywords:["animal","nature","horns","venison"],char:"🦌",fitzpatrick_scale:!1,category:"animals_and_nature"},dromedary_camel:{keywords:["animal","hot","desert","hump"],char:"🐪",fitzpatrick_scale:!1,category:"animals_and_nature"},camel:{keywords:["animal","nature","hot","desert","hump"],char:"🐫",fitzpatrick_scale:!1,category:"animals_and_nature"},giraffe:{keywords:["animal","nature","spots","safari"],char:"🦒",fitzpatrick_scale:!1,category:"animals_and_nature"},elephant:{keywords:["animal","nature","nose","th","circus"],char:"🐘",fitzpatrick_scale:!1,category:"animals_and_nature"},rhinoceros:{keywords:["animal","nature","horn"],char:"🦏",fitzpatrick_scale:!1,category:"animals_and_nature"},goat:{keywords:["animal","nature"],char:"🐐",fitzpatrick_scale:!1,category:"animals_and_nature"},ram:{keywords:["animal","sheep","nature"],char:"🐏",fitzpatrick_scale:!1,category:"animals_and_nature"},sheep:{keywords:["animal","nature","wool","shipit"],char:"🐑",fitzpatrick_scale:!1,category:"animals_and_nature"},racehorse:{keywords:["animal","gamble","luck"],char:"🐎",fitzpatrick_scale:!1,category:"animals_and_nature"},pig2:{keywords:["animal","nature"],char:"🐖",fitzpatrick_scale:!1,category:"animals_and_nature"},rat:{keywords:["animal","mouse","rodent"],char:"🐀",fitzpatrick_scale:!1,category:"animals_and_nature"},mouse2:{keywords:["animal","nature","rodent"],char:"🐁",fitzpatrick_scale:!1,category:"animals_and_nature"},rooster:{keywords:["animal","nature","chicken"],char:"🐓",fitzpatrick_scale:!1,category:"animals_and_nature"},turkey:{keywords:["animal","bird"],char:"🦃",fitzpatrick_scale:!1,category:"animals_and_nature"},dove:{keywords:["animal","bird"],char:"🕊",fitzpatrick_scale:!1,category:"animals_and_nature"},dog2:{keywords:["animal","nature","friend","doge","pet","faithful"],char:"🐕",fitzpatrick_scale:!1,category:"animals_and_nature"},poodle:{keywords:["dog","animal","101","nature","pet"],char:"🐩",fitzpatrick_scale:!1,category:"animals_and_nature"},cat2:{keywords:["animal","meow","pet","cats"],char:"🐈",fitzpatrick_scale:!1,category:"animals_and_nature"},rabbit2:{keywords:["animal","nature","pet","magic","spring"],char:"🐇",fitzpatrick_scale:!1,category:"animals_and_nature"},chipmunk:{keywords:["animal","nature","rodent","squirrel"],char:"🐿",fitzpatrick_scale:!1,category:"animals_and_nature"},hedgehog:{keywords:["animal","nature","spiny"],char:"🦔",fitzpatrick_scale:!1,category:"animals_and_nature"},raccoon:{keywords:["animal","nature"],char:"🦝",fitzpatrick_scale:!1,category:"animals_and_nature"},llama:{keywords:["animal","nature","alpaca"],char:"🦙",fitzpatrick_scale:!1,category:"animals_and_nature"},hippopotamus:{keywords:["animal","nature"],char:"🦛",fitzpatrick_scale:!1,category:"animals_and_nature"},kangaroo:{keywords:["animal","nature","australia","joey","hop","marsupial"],char:"🦘",fitzpatrick_scale:!1,category:"animals_and_nature"},badger:{keywords:["animal","nature","honey"],char:"🦡",fitzpatrick_scale:!1,category:"animals_and_nature"},swan:{keywords:["animal","nature","bird"],char:"🦢",fitzpatrick_scale:!1,category:"animals_and_nature"},peacock:{keywords:["animal","nature","peahen","bird"],char:"🦚",fitzpatrick_scale:!1,category:"animals_and_nature"},parrot:{keywords:["animal","nature","bird","pirate","talk"],char:"🦜",fitzpatrick_scale:!1,category:"animals_and_nature"},lobster:{keywords:["animal","nature","bisque","claws","seafood"],char:"🦞",fitzpatrick_scale:!1,category:"animals_and_nature"},mosquito:{keywords:["animal","nature","insect","malaria"],char:"🦟",fitzpatrick_scale:!1,category:"animals_and_nature"},paw_prints:{keywords:["animal","tracking","footprints","dog","cat","pet","feet"],char:"🐾",fitzpatrick_scale:!1,category:"animals_and_nature"},dragon:{keywords:["animal","myth","nature","chinese","green"],char:"🐉",fitzpatrick_scale:!1,category:"animals_and_nature"},dragon_face:{keywords:["animal","myth","nature","chinese","green"],char:"🐲",fitzpatrick_scale:!1,category:"animals_and_nature"},cactus:{keywords:["vegetable","plant","nature"],char:"🌵",fitzpatrick_scale:!1,category:"animals_and_nature"},christmas_tree:{keywords:["festival","vacation","december","xmas","celebration"],char:"🎄",fitzpatrick_scale:!1,category:"animals_and_nature"},evergreen_tree:{keywords:["plant","nature"],char:"🌲",fitzpatrick_scale:!1,category:"animals_and_nature"},deciduous_tree:{keywords:["plant","nature"],char:"🌳",fitzpatrick_scale:!1,category:"animals_and_nature"},palm_tree:{keywords:["plant","vegetable","nature","summer","beach","mojito","tropical"],char:"🌴",fitzpatrick_scale:!1,category:"animals_and_nature"},seedling:{keywords:["plant","nature","grass","lawn","spring"],char:"🌱",fitzpatrick_scale:!1,category:"animals_and_nature"},herb:{keywords:["vegetable","plant","medicine","weed","grass","lawn"],char:"🌿",fitzpatrick_scale:!1,category:"animals_and_nature"},shamrock:{keywords:["vegetable","plant","nature","irish","clover"],char:"☘",fitzpatrick_scale:!1,category:"animals_and_nature"},four_leaf_clover:{keywords:["vegetable","plant","nature","lucky","irish"],char:"🍀",fitzpatrick_scale:!1,category:"animals_and_nature"},bamboo:{keywords:["plant","nature","vegetable","panda","pine_decoration"],char:"🎍",fitzpatrick_scale:!1,category:"animals_and_nature"},tanabata_tree:{keywords:["plant","nature","branch","summer"],char:"🎋",fitzpatrick_scale:!1,category:"animals_and_nature"},leaves:{keywords:["nature","plant","tree","vegetable","grass","lawn","spring"],char:"🍃",fitzpatrick_scale:!1,category:"animals_and_nature"},fallen_leaf:{keywords:["nature","plant","vegetable","leaves"],char:"🍂",fitzpatrick_scale:!1,category:"animals_and_nature"},maple_leaf:{keywords:["nature","plant","vegetable","ca","fall"],char:"🍁",fitzpatrick_scale:!1,category:"animals_and_nature"},ear_of_rice:{keywords:["nature","plant"],char:"🌾",fitzpatrick_scale:!1,category:"animals_and_nature"},hibiscus:{keywords:["plant","vegetable","flowers","beach"],char:"🌺",fitzpatrick_scale:!1,category:"animals_and_nature"},sunflower:{keywords:["nature","plant","fall"],char:"🌻",fitzpatrick_scale:!1,category:"animals_and_nature"},rose:{keywords:["flowers","valentines","love","spring"],char:"🌹",fitzpatrick_scale:!1,category:"animals_and_nature"},wilted_flower:{keywords:["plant","nature","flower"],char:"🥀",fitzpatrick_scale:!1,category:"animals_and_nature"},tulip:{keywords:["flowers","plant","nature","summer","spring"],char:"🌷",fitzpatrick_scale:!1,category:"animals_and_nature"},blossom:{keywords:["nature","flowers","yellow"],char:"🌼",fitzpatrick_scale:!1,category:"animals_and_nature"},cherry_blossom:{keywords:["nature","plant","spring","flower"],char:"🌸",fitzpatrick_scale:!1,category:"animals_and_nature"},bouquet:{keywords:["flowers","nature","spring"],char:"💐",fitzpatrick_scale:!1,category:"animals_and_nature"},mushroom:{keywords:["plant","vegetable"],char:"🍄",fitzpatrick_scale:!1,category:"animals_and_nature"},chestnut:{keywords:["food","squirrel"],char:"🌰",fitzpatrick_scale:!1,category:"animals_and_nature"},jack_o_lantern:{keywords:["halloween","light","pumpkin","creepy","fall"],char:"🎃",fitzpatrick_scale:!1,category:"animals_and_nature"},shell:{keywords:["nature","sea","beach"],char:"🐚",fitzpatrick_scale:!1,category:"animals_and_nature"},spider_web:{keywords:["animal","insect","arachnid","silk"],char:"🕸",fitzpatrick_scale:!1,category:"animals_and_nature"},earth_americas:{keywords:["globe","world","USA","international"],char:"🌎",fitzpatrick_scale:!1,category:"animals_and_nature"},earth_africa:{keywords:["globe","world","international"],char:"🌍",fitzpatrick_scale:!1,category:"animals_and_nature"},earth_asia:{keywords:["globe","world","east","international"],char:"🌏",fitzpatrick_scale:!1,category:"animals_and_nature"},full_moon:{keywords:["nature","yellow","twilight","planet","space","night","evening","sleep"],char:"🌕",fitzpatrick_scale:!1,category:"animals_and_nature"},waning_gibbous_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep","waxing_gibbous_moon"],char:"🌖",fitzpatrick_scale:!1,category:"animals_and_nature"},last_quarter_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌗",fitzpatrick_scale:!1,category:"animals_and_nature"},waning_crescent_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌘",fitzpatrick_scale:!1,category:"animals_and_nature"},new_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌑",fitzpatrick_scale:!1,category:"animals_and_nature"},waxing_crescent_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌒",fitzpatrick_scale:!1,category:"animals_and_nature"},first_quarter_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌓",fitzpatrick_scale:!1,category:"animals_and_nature"},waxing_gibbous_moon:{keywords:["nature","night","sky","gray","twilight","planet","space","evening","sleep"],char:"🌔",fitzpatrick_scale:!1,category:"animals_and_nature"},new_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌚",fitzpatrick_scale:!1,category:"animals_and_nature"},full_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌝",fitzpatrick_scale:!1,category:"animals_and_nature"},first_quarter_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌛",fitzpatrick_scale:!1,category:"animals_and_nature"},last_quarter_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌜",fitzpatrick_scale:!1,category:"animals_and_nature"},sun_with_face:{keywords:["nature","morning","sky"],char:"🌞",fitzpatrick_scale:!1,category:"animals_and_nature"},crescent_moon:{keywords:["night","sleep","sky","evening","magic"],char:"🌙",fitzpatrick_scale:!1,category:"animals_and_nature"},star:{keywords:["night","yellow"],char:"⭐",fitzpatrick_scale:!1,category:"animals_and_nature"},star2:{keywords:["night","sparkle","awesome","good","magic"],char:"🌟",fitzpatrick_scale:!1,category:"animals_and_nature"},dizzy:{keywords:["star","sparkle","shoot","magic"],char:"💫",fitzpatrick_scale:!1,category:"animals_and_nature"},sparkles:{keywords:["stars","shine","shiny","cool","awesome","good","magic"],char:"✨",fitzpatrick_scale:!1,category:"animals_and_nature"},comet:{keywords:["space"],char:"☄",fitzpatrick_scale:!1,category:"animals_and_nature"},sunny:{keywords:["weather","nature","brightness","summer","beach","spring"],char:"☀️",fitzpatrick_scale:!1,category:"animals_and_nature"},sun_behind_small_cloud:{keywords:["weather"],char:"🌤",fitzpatrick_scale:!1,category:"animals_and_nature"},partly_sunny:{keywords:["weather","nature","cloudy","morning","fall","spring"],char:"⛅",fitzpatrick_scale:!1,category:"animals_and_nature"},sun_behind_large_cloud:{keywords:["weather"],char:"🌥",fitzpatrick_scale:!1,category:"animals_and_nature"},sun_behind_rain_cloud:{keywords:["weather"],char:"🌦",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud:{keywords:["weather","sky"],char:"☁️",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_rain:{keywords:["weather"],char:"🌧",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_lightning_and_rain:{keywords:["weather","lightning"],char:"⛈",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_lightning:{keywords:["weather","thunder"],char:"🌩",fitzpatrick_scale:!1,category:"animals_and_nature"},zap:{keywords:["thunder","weather","lightning bolt","fast"],char:"⚡",fitzpatrick_scale:!1,category:"animals_and_nature"},fire:{keywords:["hot","cook","flame"],char:"🔥",fitzpatrick_scale:!1,category:"animals_and_nature"},boom:{keywords:["bomb","explode","explosion","collision","blown"],char:"💥",fitzpatrick_scale:!1,category:"animals_and_nature"},snowflake:{keywords:["winter","season","cold","weather","christmas","xmas"],char:"❄️",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_snow:{keywords:["weather"],char:"🌨",fitzpatrick_scale:!1,category:"animals_and_nature"},snowman:{keywords:["winter","season","cold","weather","christmas","xmas","frozen","without_snow"],char:"⛄",fitzpatrick_scale:!1,category:"animals_and_nature"},snowman_with_snow:{keywords:["winter","season","cold","weather","christmas","xmas","frozen"],char:"☃",fitzpatrick_scale:!1,category:"animals_and_nature"},wind_face:{keywords:["gust","air"],char:"🌬",fitzpatrick_scale:!1,category:"animals_and_nature"},dash:{keywords:["wind","air","fast","shoo","fart","smoke","puff"],char:"💨",fitzpatrick_scale:!1,category:"animals_and_nature"},tornado:{keywords:["weather","cyclone","twister"],char:"🌪",fitzpatrick_scale:!1,category:"animals_and_nature"},fog:{keywords:["weather"],char:"🌫",fitzpatrick_scale:!1,category:"animals_and_nature"},open_umbrella:{keywords:["weather","spring"],char:"☂",fitzpatrick_scale:!1,category:"animals_and_nature"},umbrella:{keywords:["rainy","weather","spring"],char:"☔",fitzpatrick_scale:!1,category:"animals_and_nature"},droplet:{keywords:["water","drip","faucet","spring"],char:"💧",fitzpatrick_scale:!1,category:"animals_and_nature"},sweat_drops:{keywords:["water","drip","oops"],char:"💦",fitzpatrick_scale:!1,category:"animals_and_nature"},ocean:{keywords:["sea","water","wave","nature","tsunami","disaster"],char:"🌊",fitzpatrick_scale:!1,category:"animals_and_nature"},green_apple:{keywords:["fruit","nature"],char:"🍏",fitzpatrick_scale:!1,category:"food_and_drink"},apple:{keywords:["fruit","mac","school"],char:"🍎",fitzpatrick_scale:!1,category:"food_and_drink"},pear:{keywords:["fruit","nature","food"],char:"🍐",fitzpatrick_scale:!1,category:"food_and_drink"},tangerine:{keywords:["food","fruit","nature","orange"],char:"🍊",fitzpatrick_scale:!1,category:"food_and_drink"},lemon:{keywords:["fruit","nature"],char:"🍋",fitzpatrick_scale:!1,category:"food_and_drink"},banana:{keywords:["fruit","food","monkey"],char:"🍌",fitzpatrick_scale:!1,category:"food_and_drink"},watermelon:{keywords:["fruit","food","picnic","summer"],char:"🍉",fitzpatrick_scale:!1,category:"food_and_drink"},grapes:{keywords:["fruit","food","wine"],char:"🍇",fitzpatrick_scale:!1,category:"food_and_drink"},strawberry:{keywords:["fruit","food","nature"],char:"🍓",fitzpatrick_scale:!1,category:"food_and_drink"},melon:{keywords:["fruit","nature","food"],char:"🍈",fitzpatrick_scale:!1,category:"food_and_drink"},cherries:{keywords:["food","fruit"],char:"🍒",fitzpatrick_scale:!1,category:"food_and_drink"},peach:{keywords:["fruit","nature","food"],char:"🍑",fitzpatrick_scale:!1,category:"food_and_drink"},pineapple:{keywords:["fruit","nature","food"],char:"🍍",fitzpatrick_scale:!1,category:"food_and_drink"},coconut:{keywords:["fruit","nature","food","palm"],char:"🥥",fitzpatrick_scale:!1,category:"food_and_drink"},kiwi_fruit:{keywords:["fruit","food"],char:"🥝",fitzpatrick_scale:!1,category:"food_and_drink"},mango:{keywords:["fruit","food","tropical"],char:"🥭",fitzpatrick_scale:!1,category:"food_and_drink"},avocado:{keywords:["fruit","food"],char:"🥑",fitzpatrick_scale:!1,category:"food_and_drink"},broccoli:{keywords:["fruit","food","vegetable"],char:"🥦",fitzpatrick_scale:!1,category:"food_and_drink"},tomato:{keywords:["fruit","vegetable","nature","food"],char:"🍅",fitzpatrick_scale:!1,category:"food_and_drink"},eggplant:{keywords:["vegetable","nature","food","aubergine"],char:"🍆",fitzpatrick_scale:!1,category:"food_and_drink"},cucumber:{keywords:["fruit","food","pickle"],char:"🥒",fitzpatrick_scale:!1,category:"food_and_drink"},carrot:{keywords:["vegetable","food","orange"],char:"🥕",fitzpatrick_scale:!1,category:"food_and_drink"},hot_pepper:{keywords:["food","spicy","chilli","chili"],char:"🌶",fitzpatrick_scale:!1,category:"food_and_drink"},potato:{keywords:["food","tuber","vegatable","starch"],char:"🥔",fitzpatrick_scale:!1,category:"food_and_drink"},corn:{keywords:["food","vegetable","plant"],char:"🌽",fitzpatrick_scale:!1,category:"food_and_drink"},leafy_greens:{keywords:["food","vegetable","plant","bok choy","cabbage","kale","lettuce"],char:"🥬",fitzpatrick_scale:!1,category:"food_and_drink"},sweet_potato:{keywords:["food","nature"],char:"🍠",fitzpatrick_scale:!1,category:"food_and_drink"},peanuts:{keywords:["food","nut"],char:"🥜",fitzpatrick_scale:!1,category:"food_and_drink"},honey_pot:{keywords:["bees","sweet","kitchen"],char:"🍯",fitzpatrick_scale:!1,category:"food_and_drink"},croissant:{keywords:["food","bread","french"],char:"🥐",fitzpatrick_scale:!1,category:"food_and_drink"},bread:{keywords:["food","wheat","breakfast","toast"],char:"🍞",fitzpatrick_scale:!1,category:"food_and_drink"},baguette_bread:{keywords:["food","bread","french"],char:"🥖",fitzpatrick_scale:!1,category:"food_and_drink"},bagel:{keywords:["food","bread","bakery","schmear"],char:"🥯",fitzpatrick_scale:!1,category:"food_and_drink"},pretzel:{keywords:["food","bread","twisted"],char:"🥨",fitzpatrick_scale:!1,category:"food_and_drink"},cheese:{keywords:["food","chadder"],char:"🧀",fitzpatrick_scale:!1,category:"food_and_drink"},egg:{keywords:["food","chicken","breakfast"],char:"🥚",fitzpatrick_scale:!1,category:"food_and_drink"},bacon:{keywords:["food","breakfast","pork","pig","meat"],char:"🥓",fitzpatrick_scale:!1,category:"food_and_drink"},steak:{keywords:["food","cow","meat","cut","chop","lambchop","porkchop"],char:"🥩",fitzpatrick_scale:!1,category:"food_and_drink"},pancakes:{keywords:["food","breakfast","flapjacks","hotcakes"],char:"🥞",fitzpatrick_scale:!1,category:"food_and_drink"},poultry_leg:{keywords:["food","meat","drumstick","bird","chicken","turkey"],char:"🍗",fitzpatrick_scale:!1,category:"food_and_drink"},meat_on_bone:{keywords:["good","food","drumstick"],char:"🍖",fitzpatrick_scale:!1,category:"food_and_drink"},bone:{keywords:["skeleton"],char:"🦴",fitzpatrick_scale:!1,category:"food_and_drink"},fried_shrimp:{keywords:["food","animal","appetizer","summer"],char:"🍤",fitzpatrick_scale:!1,category:"food_and_drink"},fried_egg:{keywords:["food","breakfast","kitchen","egg"],char:"🍳",fitzpatrick_scale:!1,category:"food_and_drink"},hamburger:{keywords:["meat","fast food","beef","cheeseburger","mcdonalds","burger king"],char:"🍔",fitzpatrick_scale:!1,category:"food_and_drink"},fries:{keywords:["chips","snack","fast food"],char:"🍟",fitzpatrick_scale:!1,category:"food_and_drink"},stuffed_flatbread:{keywords:["food","flatbread","stuffed","gyro"],char:"🥙",fitzpatrick_scale:!1,category:"food_and_drink"},hotdog:{keywords:["food","frankfurter"],char:"🌭",fitzpatrick_scale:!1,category:"food_and_drink"},pizza:{keywords:["food","party"],char:"🍕",fitzpatrick_scale:!1,category:"food_and_drink"},sandwich:{keywords:["food","lunch","bread"],char:"🥪",fitzpatrick_scale:!1,category:"food_and_drink"},canned_food:{keywords:["food","soup"],char:"🥫",fitzpatrick_scale:!1,category:"food_and_drink"},spaghetti:{keywords:["food","italian","noodle"],char:"🍝",fitzpatrick_scale:!1,category:"food_and_drink"},taco:{keywords:["food","mexican"],char:"🌮",fitzpatrick_scale:!1,category:"food_and_drink"},burrito:{keywords:["food","mexican"],char:"🌯",fitzpatrick_scale:!1,category:"food_and_drink"},green_salad:{keywords:["food","healthy","lettuce"],char:"🥗",fitzpatrick_scale:!1,category:"food_and_drink"},shallow_pan_of_food:{keywords:["food","cooking","casserole","paella"],char:"🥘",fitzpatrick_scale:!1,category:"food_and_drink"},ramen:{keywords:["food","japanese","noodle","chopsticks"],char:"🍜",fitzpatrick_scale:!1,category:"food_and_drink"},stew:{keywords:["food","meat","soup"],char:"🍲",fitzpatrick_scale:!1,category:"food_and_drink"},fish_cake:{keywords:["food","japan","sea","beach","narutomaki","pink","swirl","kamaboko","surimi","ramen"],char:"🍥",fitzpatrick_scale:!1,category:"food_and_drink"},fortune_cookie:{keywords:["food","prophecy"],char:"🥠",fitzpatrick_scale:!1,category:"food_and_drink"},sushi:{keywords:["food","fish","japanese","rice"],char:"🍣",fitzpatrick_scale:!1,category:"food_and_drink"},bento:{keywords:["food","japanese","box"],char:"🍱",fitzpatrick_scale:!1,category:"food_and_drink"},curry:{keywords:["food","spicy","hot","indian"],char:"🍛",fitzpatrick_scale:!1,category:"food_and_drink"},rice_ball:{keywords:["food","japanese"],char:"🍙",fitzpatrick_scale:!1,category:"food_and_drink"},rice:{keywords:["food","china","asian"],char:"🍚",fitzpatrick_scale:!1,category:"food_and_drink"},rice_cracker:{keywords:["food","japanese"],char:"🍘",fitzpatrick_scale:!1,category:"food_and_drink"},oden:{keywords:["food","japanese"],char:"🍢",fitzpatrick_scale:!1,category:"food_and_drink"},dango:{keywords:["food","dessert","sweet","japanese","barbecue","meat"],char:"🍡",fitzpatrick_scale:!1,category:"food_and_drink"},shaved_ice:{keywords:["hot","dessert","summer"],char:"🍧",fitzpatrick_scale:!1,category:"food_and_drink"},ice_cream:{keywords:["food","hot","dessert"],char:"🍨",fitzpatrick_scale:!1,category:"food_and_drink"},icecream:{keywords:["food","hot","dessert","summer"],char:"🍦",fitzpatrick_scale:!1,category:"food_and_drink"},pie:{keywords:["food","dessert","pastry"],char:"🥧",fitzpatrick_scale:!1,category:"food_and_drink"},cake:{keywords:["food","dessert"],char:"🍰",fitzpatrick_scale:!1,category:"food_and_drink"},cupcake:{keywords:["food","dessert","bakery","sweet"],char:"🧁",fitzpatrick_scale:!1,category:"food_and_drink"},moon_cake:{keywords:["food","autumn"],char:"🥮",fitzpatrick_scale:!1,category:"food_and_drink"},birthday:{keywords:["food","dessert","cake"],char:"🎂",fitzpatrick_scale:!1,category:"food_and_drink"},custard:{keywords:["dessert","food"],char:"🍮",fitzpatrick_scale:!1,category:"food_and_drink"},candy:{keywords:["snack","dessert","sweet","lolly"],char:"🍬",fitzpatrick_scale:!1,category:"food_and_drink"},lollipop:{keywords:["food","snack","candy","sweet"],char:"🍭",fitzpatrick_scale:!1,category:"food_and_drink"},chocolate_bar:{keywords:["food","snack","dessert","sweet"],char:"🍫",fitzpatrick_scale:!1,category:"food_and_drink"},popcorn:{keywords:["food","movie theater","films","snack"],char:"🍿",fitzpatrick_scale:!1,category:"food_and_drink"},dumpling:{keywords:["food","empanada","pierogi","potsticker"],char:"🥟",fitzpatrick_scale:!1,category:"food_and_drink"},doughnut:{keywords:["food","dessert","snack","sweet","donut"],char:"🍩",fitzpatrick_scale:!1,category:"food_and_drink"},cookie:{keywords:["food","snack","oreo","chocolate","sweet","dessert"],char:"🍪",fitzpatrick_scale:!1,category:"food_and_drink"},milk_glass:{keywords:["beverage","drink","cow"],char:"🥛",fitzpatrick_scale:!1,category:"food_and_drink"},beer:{keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],char:"🍺",fitzpatrick_scale:!1,category:"food_and_drink"},beers:{keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],char:"🍻",fitzpatrick_scale:!1,category:"food_and_drink"},clinking_glasses:{keywords:["beverage","drink","party","alcohol","celebrate","cheers","wine","champagne","toast"],char:"🥂",fitzpatrick_scale:!1,category:"food_and_drink"},wine_glass:{keywords:["drink","beverage","drunk","alcohol","booze"],char:"🍷",fitzpatrick_scale:!1,category:"food_and_drink"},tumbler_glass:{keywords:["drink","beverage","drunk","alcohol","liquor","booze","bourbon","scotch","whisky","glass","shot"],char:"🥃",fitzpatrick_scale:!1,category:"food_and_drink"},cocktail:{keywords:["drink","drunk","alcohol","beverage","booze","mojito"],char:"🍸",fitzpatrick_scale:!1,category:"food_and_drink"},tropical_drink:{keywords:["beverage","cocktail","summer","beach","alcohol","booze","mojito"],char:"🍹",fitzpatrick_scale:!1,category:"food_and_drink"},champagne:{keywords:["drink","wine","bottle","celebration"],char:"🍾",fitzpatrick_scale:!1,category:"food_and_drink"},sake:{keywords:["wine","drink","drunk","beverage","japanese","alcohol","booze"],char:"🍶",fitzpatrick_scale:!1,category:"food_and_drink"},tea:{keywords:["drink","bowl","breakfast","green","british"],char:"🍵",fitzpatrick_scale:!1,category:"food_and_drink"},cup_with_straw:{keywords:["drink","soda"],char:"🥤",fitzpatrick_scale:!1,category:"food_and_drink"},coffee:{keywords:["beverage","caffeine","latte","espresso"],char:"☕",fitzpatrick_scale:!1,category:"food_and_drink"},baby_bottle:{keywords:["food","container","milk"],char:"🍼",fitzpatrick_scale:!1,category:"food_and_drink"},salt:{keywords:["condiment","shaker"],char:"🧂",fitzpatrick_scale:!1,category:"food_and_drink"},spoon:{keywords:["cutlery","kitchen","tableware"],char:"🥄",fitzpatrick_scale:!1,category:"food_and_drink"},fork_and_knife:{keywords:["cutlery","kitchen"],char:"🍴",fitzpatrick_scale:!1,category:"food_and_drink"},plate_with_cutlery:{keywords:["food","eat","meal","lunch","dinner","restaurant"],char:"🍽",fitzpatrick_scale:!1,category:"food_and_drink"},bowl_with_spoon:{keywords:["food","breakfast","cereal","oatmeal","porridge"],char:"🥣",fitzpatrick_scale:!1,category:"food_and_drink"},takeout_box:{keywords:["food","leftovers"],char:"🥡",fitzpatrick_scale:!1,category:"food_and_drink"},chopsticks:{keywords:["food"],char:"🥢",fitzpatrick_scale:!1,category:"food_and_drink"},soccer:{keywords:["sports","football"],char:"⚽",fitzpatrick_scale:!1,category:"activity"},basketball:{keywords:["sports","balls","NBA"],char:"🏀",fitzpatrick_scale:!1,category:"activity"},football:{keywords:["sports","balls","NFL"],char:"🏈",fitzpatrick_scale:!1,category:"activity"},baseball:{keywords:["sports","balls"],char:"⚾",fitzpatrick_scale:!1,category:"activity"},softball:{keywords:["sports","balls"],char:"🥎",fitzpatrick_scale:!1,category:"activity"},tennis:{keywords:["sports","balls","green"],char:"🎾",fitzpatrick_scale:!1,category:"activity"},volleyball:{keywords:["sports","balls"],char:"🏐",fitzpatrick_scale:!1,category:"activity"},rugby_football:{keywords:["sports","team"],char:"🏉",fitzpatrick_scale:!1,category:"activity"},flying_disc:{keywords:["sports","frisbee","ultimate"],char:"🥏",fitzpatrick_scale:!1,category:"activity"},"8ball":{keywords:["pool","hobby","game","luck","magic"],char:"🎱",fitzpatrick_scale:!1,category:"activity"},golf:{keywords:["sports","business","flag","hole","summer"],char:"⛳",fitzpatrick_scale:!1,category:"activity"},golfing_woman:{keywords:["sports","business","woman","female"],char:"🏌️‍♀️",fitzpatrick_scale:!1,category:"activity"},golfing_man:{keywords:["sports","business"],char:"🏌",fitzpatrick_scale:!0,category:"activity"},ping_pong:{keywords:["sports","pingpong"],char:"🏓",fitzpatrick_scale:!1,category:"activity"},badminton:{keywords:["sports"],char:"🏸",fitzpatrick_scale:!1,category:"activity"},goal_net:{keywords:["sports"],char:"🥅",fitzpatrick_scale:!1,category:"activity"},ice_hockey:{keywords:["sports"],char:"🏒",fitzpatrick_scale:!1,category:"activity"},field_hockey:{keywords:["sports"],char:"🏑",fitzpatrick_scale:!1,category:"activity"},lacrosse:{keywords:["sports","ball","stick"],char:"🥍",fitzpatrick_scale:!1,category:"activity"},cricket:{keywords:["sports"],char:"🏏",fitzpatrick_scale:!1,category:"activity"},ski:{keywords:["sports","winter","cold","snow"],char:"🎿",fitzpatrick_scale:!1,category:"activity"},skier:{keywords:["sports","winter","snow"],char:"⛷",fitzpatrick_scale:!1,category:"activity"},snowboarder:{keywords:["sports","winter"],char:"🏂",fitzpatrick_scale:!0,category:"activity"},person_fencing:{keywords:["sports","fencing","sword"],char:"🤺",fitzpatrick_scale:!1,category:"activity"},women_wrestling:{keywords:["sports","wrestlers"],char:"🤼‍♀️",fitzpatrick_scale:!1,category:"activity"},men_wrestling:{keywords:["sports","wrestlers"],char:"🤼‍♂️",fitzpatrick_scale:!1,category:"activity"},woman_cartwheeling:{keywords:["gymnastics"],char:"🤸‍♀️",fitzpatrick_scale:!0,category:"activity"},man_cartwheeling:{keywords:["gymnastics"],char:"🤸‍♂️",fitzpatrick_scale:!0,category:"activity"},woman_playing_handball:{keywords:["sports"],char:"🤾‍♀️",fitzpatrick_scale:!0,category:"activity"},man_playing_handball:{keywords:["sports"],char:"🤾‍♂️",fitzpatrick_scale:!0,category:"activity"},ice_skate:{keywords:["sports"],char:"⛸",fitzpatrick_scale:!1,category:"activity"},curling_stone:{keywords:["sports"],char:"🥌",fitzpatrick_scale:!1,category:"activity"},skateboard:{keywords:["board"],char:"🛹",fitzpatrick_scale:!1,category:"activity"},sled:{keywords:["sleigh","luge","toboggan"],char:"🛷",fitzpatrick_scale:!1,category:"activity"},bow_and_arrow:{keywords:["sports"],char:"🏹",fitzpatrick_scale:!1,category:"activity"},fishing_pole_and_fish:{keywords:["food","hobby","summer"],char:"🎣",fitzpatrick_scale:!1,category:"activity"},boxing_glove:{keywords:["sports","fighting"],char:"🥊",fitzpatrick_scale:!1,category:"activity"},martial_arts_uniform:{keywords:["judo","karate","taekwondo"],char:"🥋",fitzpatrick_scale:!1,category:"activity"},rowing_woman:{keywords:["sports","hobby","water","ship","woman","female"],char:"🚣‍♀️",fitzpatrick_scale:!0,category:"activity"},rowing_man:{keywords:["sports","hobby","water","ship"],char:"🚣",fitzpatrick_scale:!0,category:"activity"},climbing_woman:{keywords:["sports","hobby","woman","female","rock"],char:"🧗‍♀️",fitzpatrick_scale:!0,category:"activity"},climbing_man:{keywords:["sports","hobby","man","male","rock"],char:"🧗‍♂️",fitzpatrick_scale:!0,category:"activity"},swimming_woman:{keywords:["sports","exercise","human","athlete","water","summer","woman","female"],char:"🏊‍♀️",fitzpatrick_scale:!0,category:"activity"},swimming_man:{keywords:["sports","exercise","human","athlete","water","summer"],char:"🏊",fitzpatrick_scale:!0,category:"activity"},woman_playing_water_polo:{keywords:["sports","pool"],char:"🤽‍♀️",fitzpatrick_scale:!0,category:"activity"},man_playing_water_polo:{keywords:["sports","pool"],char:"🤽‍♂️",fitzpatrick_scale:!0,category:"activity"},woman_in_lotus_position:{keywords:["woman","female","meditation","yoga","serenity","zen","mindfulness"],char:"🧘‍♀️",fitzpatrick_scale:!0,category:"activity"},man_in_lotus_position:{keywords:["man","male","meditation","yoga","serenity","zen","mindfulness"],char:"🧘‍♂️",fitzpatrick_scale:!0,category:"activity"},surfing_woman:{keywords:["sports","ocean","sea","summer","beach","woman","female"],char:"🏄‍♀️",fitzpatrick_scale:!0,category:"activity"},surfing_man:{keywords:["sports","ocean","sea","summer","beach"],char:"🏄",fitzpatrick_scale:!0,category:"activity"},bath:{keywords:["clean","shower","bathroom"],char:"🛀",fitzpatrick_scale:!0,category:"activity"},basketball_woman:{keywords:["sports","human","woman","female"],char:"⛹️‍♀️",fitzpatrick_scale:!0,category:"activity"},basketball_man:{keywords:["sports","human"],char:"⛹",fitzpatrick_scale:!0,category:"activity"},weight_lifting_woman:{keywords:["sports","training","exercise","woman","female"],char:"🏋️‍♀️",fitzpatrick_scale:!0,category:"activity"},weight_lifting_man:{keywords:["sports","training","exercise"],char:"🏋",fitzpatrick_scale:!0,category:"activity"},biking_woman:{keywords:["sports","bike","exercise","hipster","woman","female"],char:"🚴‍♀️",fitzpatrick_scale:!0,category:"activity"},biking_man:{keywords:["sports","bike","exercise","hipster"],char:"🚴",fitzpatrick_scale:!0,category:"activity"},mountain_biking_woman:{keywords:["transportation","sports","human","race","bike","woman","female"],char:"🚵‍♀️",fitzpatrick_scale:!0,category:"activity"},mountain_biking_man:{keywords:["transportation","sports","human","race","bike"],char:"🚵",fitzpatrick_scale:!0,category:"activity"},horse_racing:{keywords:["animal","betting","competition","gambling","luck"],char:"🏇",fitzpatrick_scale:!0,category:"activity"},business_suit_levitating:{keywords:["suit","business","levitate","hover","jump"],char:"🕴",fitzpatrick_scale:!0,category:"activity"},trophy:{keywords:["win","award","contest","place","ftw","ceremony"],char:"🏆",fitzpatrick_scale:!1,category:"activity"},running_shirt_with_sash:{keywords:["play","pageant"],char:"🎽",fitzpatrick_scale:!1,category:"activity"},medal_sports:{keywords:["award","winning"],char:"🏅",fitzpatrick_scale:!1,category:"activity"},medal_military:{keywords:["award","winning","army"],char:"🎖",fitzpatrick_scale:!1,category:"activity"},"1st_place_medal":{keywords:["award","winning","first"],char:"🥇",fitzpatrick_scale:!1,category:"activity"},"2nd_place_medal":{keywords:["award","second"],char:"🥈",fitzpatrick_scale:!1,category:"activity"},"3rd_place_medal":{keywords:["award","third"],char:"🥉",fitzpatrick_scale:!1,category:"activity"},reminder_ribbon:{keywords:["sports","cause","support","awareness"],char:"🎗",fitzpatrick_scale:!1,category:"activity"},rosette:{keywords:["flower","decoration","military"],char:"🏵",fitzpatrick_scale:!1,category:"activity"},ticket:{keywords:["event","concert","pass"],char:"🎫",fitzpatrick_scale:!1,category:"activity"},tickets:{keywords:["sports","concert","entrance"],char:"🎟",fitzpatrick_scale:!1,category:"activity"},performing_arts:{keywords:["acting","theater","drama"],char:"🎭",fitzpatrick_scale:!1,category:"activity"},art:{keywords:["design","paint","draw","colors"],char:"🎨",fitzpatrick_scale:!1,category:"activity"},circus_tent:{keywords:["festival","carnival","party"],char:"🎪",fitzpatrick_scale:!1,category:"activity"},woman_juggling:{keywords:["juggle","balance","skill","multitask"],char:"🤹‍♀️",fitzpatrick_scale:!0,category:"activity"},man_juggling:{keywords:["juggle","balance","skill","multitask"],char:"🤹‍♂️",fitzpatrick_scale:!0,category:"activity"},microphone:{keywords:["sound","music","PA","sing","talkshow"],char:"🎤",fitzpatrick_scale:!1,category:"activity"},headphones:{keywords:["music","score","gadgets"],char:"🎧",fitzpatrick_scale:!1,category:"activity"},musical_score:{keywords:["treble","clef","compose"],char:"🎼",fitzpatrick_scale:!1,category:"activity"},musical_keyboard:{keywords:["piano","instrument","compose"],char:"🎹",fitzpatrick_scale:!1,category:"activity"},drum:{keywords:["music","instrument","drumsticks","snare"],char:"🥁",fitzpatrick_scale:!1,category:"activity"},saxophone:{keywords:["music","instrument","jazz","blues"],char:"🎷",fitzpatrick_scale:!1,category:"activity"},trumpet:{keywords:["music","brass"],char:"🎺",fitzpatrick_scale:!1,category:"activity"},guitar:{keywords:["music","instrument"],char:"🎸",fitzpatrick_scale:!1,category:"activity"},violin:{keywords:["music","instrument","orchestra","symphony"],char:"🎻",fitzpatrick_scale:!1,category:"activity"},clapper:{keywords:["movie","film","record"],char:"🎬",fitzpatrick_scale:!1,category:"activity"},video_game:{keywords:["play","console","PS4","controller"],char:"🎮",fitzpatrick_scale:!1,category:"activity"},space_invader:{keywords:["game","arcade","play"],char:"👾",fitzpatrick_scale:!1,category:"activity"},dart:{keywords:["game","play","bar","target","bullseye"],char:"🎯",fitzpatrick_scale:!1,category:"activity"},game_die:{keywords:["dice","random","tabletop","play","luck"],char:"🎲",fitzpatrick_scale:!1,category:"activity"},chess_pawn:{keywords:["expendable"],char:"♟",fitzpatrick_scale:!1,category:"activity"},slot_machine:{keywords:["bet","gamble","vegas","fruit machine","luck","casino"],char:"🎰",fitzpatrick_scale:!1,category:"activity"},jigsaw:{keywords:["interlocking","puzzle","piece"],char:"🧩",fitzpatrick_scale:!1,category:"activity"},bowling:{keywords:["sports","fun","play"],char:"🎳",fitzpatrick_scale:!1,category:"activity"},red_car:{keywords:["red","transportation","vehicle"],char:"🚗",fitzpatrick_scale:!1,category:"travel_and_places"},taxi:{keywords:["uber","vehicle","cars","transportation"],char:"🚕",fitzpatrick_scale:!1,category:"travel_and_places"},blue_car:{keywords:["transportation","vehicle"],char:"🚙",fitzpatrick_scale:!1,category:"travel_and_places"},bus:{keywords:["car","vehicle","transportation"],char:"🚌",fitzpatrick_scale:!1,category:"travel_and_places"},trolleybus:{keywords:["bart","transportation","vehicle"],char:"🚎",fitzpatrick_scale:!1,category:"travel_and_places"},racing_car:{keywords:["sports","race","fast","formula","f1"],char:"🏎",fitzpatrick_scale:!1,category:"travel_and_places"},police_car:{keywords:["vehicle","cars","transportation","law","legal","enforcement"],char:"🚓",fitzpatrick_scale:!1,category:"travel_and_places"},ambulance:{keywords:["health","911","hospital"],char:"🚑",fitzpatrick_scale:!1,category:"travel_and_places"},fire_engine:{keywords:["transportation","cars","vehicle"],char:"🚒",fitzpatrick_scale:!1,category:"travel_and_places"},minibus:{keywords:["vehicle","car","transportation"],char:"🚐",fitzpatrick_scale:!1,category:"travel_and_places"},truck:{keywords:["cars","transportation"],char:"🚚",fitzpatrick_scale:!1,category:"travel_and_places"},articulated_lorry:{keywords:["vehicle","cars","transportation","express"],char:"🚛",fitzpatrick_scale:!1,category:"travel_and_places"},tractor:{keywords:["vehicle","car","farming","agriculture"],char:"🚜",fitzpatrick_scale:!1,category:"travel_and_places"},kick_scooter:{keywords:["vehicle","kick","razor"],char:"🛴",fitzpatrick_scale:!1,category:"travel_and_places"},motorcycle:{keywords:["race","sports","fast"],char:"🏍",fitzpatrick_scale:!1,category:"travel_and_places"},bike:{keywords:["sports","bicycle","exercise","hipster"],char:"🚲",fitzpatrick_scale:!1,category:"travel_and_places"},motor_scooter:{keywords:["vehicle","vespa","sasha"],char:"🛵",fitzpatrick_scale:!1,category:"travel_and_places"},rotating_light:{keywords:["police","ambulance","911","emergency","alert","error","pinged","law","legal"],char:"🚨",fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_police_car:{keywords:["vehicle","law","legal","enforcement","911"],char:"🚔",fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_bus:{keywords:["vehicle","transportation"],char:"🚍",fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_automobile:{keywords:["car","vehicle","transportation"],char:"🚘",fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_taxi:{keywords:["vehicle","cars","uber"],char:"🚖",fitzpatrick_scale:!1,category:"travel_and_places"},aerial_tramway:{keywords:["transportation","vehicle","ski"],char:"🚡",fitzpatrick_scale:!1,category:"travel_and_places"},mountain_cableway:{keywords:["transportation","vehicle","ski"],char:"🚠",fitzpatrick_scale:!1,category:"travel_and_places"},suspension_railway:{keywords:["vehicle","transportation"],char:"🚟",fitzpatrick_scale:!1,category:"travel_and_places"},railway_car:{keywords:["transportation","vehicle"],char:"🚃",fitzpatrick_scale:!1,category:"travel_and_places"},train:{keywords:["transportation","vehicle","carriage","public","travel"],char:"🚋",fitzpatrick_scale:!1,category:"travel_and_places"},monorail:{keywords:["transportation","vehicle"],char:"🚝",fitzpatrick_scale:!1,category:"travel_and_places"},bullettrain_side:{keywords:["transportation","vehicle"],char:"🚄",fitzpatrick_scale:!1,category:"travel_and_places"},bullettrain_front:{keywords:["transportation","vehicle","speed","fast","public","travel"],char:"🚅",fitzpatrick_scale:!1,category:"travel_and_places"},light_rail:{keywords:["transportation","vehicle"],char:"🚈",fitzpatrick_scale:!1,category:"travel_and_places"},mountain_railway:{keywords:["transportation","vehicle"],char:"🚞",fitzpatrick_scale:!1,category:"travel_and_places"},steam_locomotive:{keywords:["transportation","vehicle","train"],char:"🚂",fitzpatrick_scale:!1,category:"travel_and_places"},train2:{keywords:["transportation","vehicle"],char:"🚆",fitzpatrick_scale:!1,category:"travel_and_places"},metro:{keywords:["transportation","blue-square","mrt","underground","tube"],char:"🚇",fitzpatrick_scale:!1,category:"travel_and_places"},tram:{keywords:["transportation","vehicle"],char:"🚊",fitzpatrick_scale:!1,category:"travel_and_places"},station:{keywords:["transportation","vehicle","public"],char:"🚉",fitzpatrick_scale:!1,category:"travel_and_places"},flying_saucer:{keywords:["transportation","vehicle","ufo"],char:"🛸",fitzpatrick_scale:!1,category:"travel_and_places"},helicopter:{keywords:["transportation","vehicle","fly"],char:"🚁",fitzpatrick_scale:!1,category:"travel_and_places"},small_airplane:{keywords:["flight","transportation","fly","vehicle"],char:"🛩",fitzpatrick_scale:!1,category:"travel_and_places"},airplane:{keywords:["vehicle","transportation","flight","fly"],char:"✈️",fitzpatrick_scale:!1,category:"travel_and_places"},flight_departure:{keywords:["airport","flight","landing"],char:"🛫",fitzpatrick_scale:!1,category:"travel_and_places"},flight_arrival:{keywords:["airport","flight","boarding"],char:"🛬",fitzpatrick_scale:!1,category:"travel_and_places"},sailboat:{keywords:["ship","summer","transportation","water","sailing"],char:"⛵",fitzpatrick_scale:!1,category:"travel_and_places"},motor_boat:{keywords:["ship"],char:"🛥",fitzpatrick_scale:!1,category:"travel_and_places"},speedboat:{keywords:["ship","transportation","vehicle","summer"],char:"🚤",fitzpatrick_scale:!1,category:"travel_and_places"},ferry:{keywords:["boat","ship","yacht"],char:"⛴",fitzpatrick_scale:!1,category:"travel_and_places"},passenger_ship:{keywords:["yacht","cruise","ferry"],char:"🛳",fitzpatrick_scale:!1,category:"travel_and_places"},rocket:{keywords:["launch","ship","staffmode","NASA","outer space","outer_space","fly"],char:"🚀",fitzpatrick_scale:!1,category:"travel_and_places"},artificial_satellite:{keywords:["communication","gps","orbit","spaceflight","NASA","ISS"],char:"🛰",fitzpatrick_scale:!1,category:"travel_and_places"},seat:{keywords:["sit","airplane","transport","bus","flight","fly"],char:"💺",fitzpatrick_scale:!1,category:"travel_and_places"},canoe:{keywords:["boat","paddle","water","ship"],char:"🛶",fitzpatrick_scale:!1,category:"travel_and_places"},anchor:{keywords:["ship","ferry","sea","boat"],char:"⚓",fitzpatrick_scale:!1,category:"travel_and_places"},construction:{keywords:["wip","progress","caution","warning"],char:"🚧",fitzpatrick_scale:!1,category:"travel_and_places"},fuelpump:{keywords:["gas station","petroleum"],char:"⛽",fitzpatrick_scale:!1,category:"travel_and_places"},busstop:{keywords:["transportation","wait"],char:"🚏",fitzpatrick_scale:!1,category:"travel_and_places"},vertical_traffic_light:{keywords:["transportation","driving"],char:"🚦",fitzpatrick_scale:!1,category:"travel_and_places"},traffic_light:{keywords:["transportation","signal"],char:"🚥",fitzpatrick_scale:!1,category:"travel_and_places"},checkered_flag:{keywords:["contest","finishline","race","gokart"],char:"🏁",fitzpatrick_scale:!1,category:"travel_and_places"},ship:{keywords:["transportation","titanic","deploy"],char:"🚢",fitzpatrick_scale:!1,category:"travel_and_places"},ferris_wheel:{keywords:["photo","carnival","londoneye"],char:"🎡",fitzpatrick_scale:!1,category:"travel_and_places"},roller_coaster:{keywords:["carnival","playground","photo","fun"],char:"🎢",fitzpatrick_scale:!1,category:"travel_and_places"},carousel_horse:{keywords:["photo","carnival"],char:"🎠",fitzpatrick_scale:!1,category:"travel_and_places"},building_construction:{keywords:["wip","working","progress"],char:"🏗",fitzpatrick_scale:!1,category:"travel_and_places"},foggy:{keywords:["photo","mountain"],char:"🌁",fitzpatrick_scale:!1,category:"travel_and_places"},tokyo_tower:{keywords:["photo","japanese"],char:"🗼",fitzpatrick_scale:!1,category:"travel_and_places"},factory:{keywords:["building","industry","pollution","smoke"],char:"🏭",fitzpatrick_scale:!1,category:"travel_and_places"},fountain:{keywords:["photo","summer","water","fresh"],char:"⛲",fitzpatrick_scale:!1,category:"travel_and_places"},rice_scene:{keywords:["photo","japan","asia","tsukimi"],char:"🎑",fitzpatrick_scale:!1,category:"travel_and_places"},mountain:{keywords:["photo","nature","environment"],char:"⛰",fitzpatrick_scale:!1,category:"travel_and_places"},mountain_snow:{keywords:["photo","nature","environment","winter","cold"],char:"🏔",fitzpatrick_scale:!1,category:"travel_and_places"},mount_fuji:{keywords:["photo","mountain","nature","japanese"],char:"🗻",fitzpatrick_scale:!1,category:"travel_and_places"},volcano:{keywords:["photo","nature","disaster"],char:"🌋",fitzpatrick_scale:!1,category:"travel_and_places"},japan:{keywords:["nation","country","japanese","asia"],char:"🗾",fitzpatrick_scale:!1,category:"travel_and_places"},camping:{keywords:["photo","outdoors","tent"],char:"🏕",fitzpatrick_scale:!1,category:"travel_and_places"},tent:{keywords:["photo","camping","outdoors"],char:"⛺",fitzpatrick_scale:!1,category:"travel_and_places"},national_park:{keywords:["photo","environment","nature"],char:"🏞",fitzpatrick_scale:!1,category:"travel_and_places"},motorway:{keywords:["road","cupertino","interstate","highway"],char:"🛣",fitzpatrick_scale:!1,category:"travel_and_places"},railway_track:{keywords:["train","transportation"],char:"🛤",fitzpatrick_scale:!1,category:"travel_and_places"},sunrise:{keywords:["morning","view","vacation","photo"],char:"🌅",fitzpatrick_scale:!1,category:"travel_and_places"},sunrise_over_mountains:{keywords:["view","vacation","photo"],char:"🌄",fitzpatrick_scale:!1,category:"travel_and_places"},desert:{keywords:["photo","warm","saharah"],char:"🏜",fitzpatrick_scale:!1,category:"travel_and_places"},beach_umbrella:{keywords:["weather","summer","sunny","sand","mojito"],char:"🏖",fitzpatrick_scale:!1,category:"travel_and_places"},desert_island:{keywords:["photo","tropical","mojito"],char:"🏝",fitzpatrick_scale:!1,category:"travel_and_places"},city_sunrise:{keywords:["photo","good morning","dawn"],char:"🌇",fitzpatrick_scale:!1,category:"travel_and_places"},city_sunset:{keywords:["photo","evening","sky","buildings"],char:"🌆",fitzpatrick_scale:!1,category:"travel_and_places"},cityscape:{keywords:["photo","night life","urban"],char:"🏙",fitzpatrick_scale:!1,category:"travel_and_places"},night_with_stars:{keywords:["evening","city","downtown"],char:"🌃",fitzpatrick_scale:!1,category:"travel_and_places"},bridge_at_night:{keywords:["photo","sanfrancisco"],char:"🌉",fitzpatrick_scale:!1,category:"travel_and_places"},milky_way:{keywords:["photo","space","stars"],char:"🌌",fitzpatrick_scale:!1,category:"travel_and_places"},stars:{keywords:["night","photo"],char:"🌠",fitzpatrick_scale:!1,category:"travel_and_places"},sparkler:{keywords:["stars","night","shine"],char:"🎇",fitzpatrick_scale:!1,category:"travel_and_places"},fireworks:{keywords:["photo","festival","carnival","congratulations"],char:"🎆",fitzpatrick_scale:!1,category:"travel_and_places"},rainbow:{keywords:["nature","happy","unicorn_face","photo","sky","spring"],char:"🌈",fitzpatrick_scale:!1,category:"travel_and_places"},houses:{keywords:["buildings","photo"],char:"🏘",fitzpatrick_scale:!1,category:"travel_and_places"},european_castle:{keywords:["building","royalty","history"],char:"🏰",fitzpatrick_scale:!1,category:"travel_and_places"},japanese_castle:{keywords:["photo","building"],char:"🏯",fitzpatrick_scale:!1,category:"travel_and_places"},stadium:{keywords:["photo","place","sports","concert","venue"],char:"🏟",fitzpatrick_scale:!1,category:"travel_and_places"},statue_of_liberty:{keywords:["american","newyork"],char:"🗽",fitzpatrick_scale:!1,category:"travel_and_places"},house:{keywords:["building","home"],char:"🏠",fitzpatrick_scale:!1,category:"travel_and_places"},house_with_garden:{keywords:["home","plant","nature"],char:"🏡",fitzpatrick_scale:!1,category:"travel_and_places"},derelict_house:{keywords:["abandon","evict","broken","building"],char:"🏚",fitzpatrick_scale:!1,category:"travel_and_places"},office:{keywords:["building","bureau","work"],char:"🏢",fitzpatrick_scale:!1,category:"travel_and_places"},department_store:{keywords:["building","shopping","mall"],char:"🏬",fitzpatrick_scale:!1,category:"travel_and_places"},post_office:{keywords:["building","envelope","communication"],char:"🏣",fitzpatrick_scale:!1,category:"travel_and_places"},european_post_office:{keywords:["building","email"],char:"🏤",fitzpatrick_scale:!1,category:"travel_and_places"},hospital:{keywords:["building","health","surgery","doctor"],char:"🏥",fitzpatrick_scale:!1,category:"travel_and_places"},bank:{keywords:["building","money","sales","cash","business","enterprise"],char:"🏦",fitzpatrick_scale:!1,category:"travel_and_places"},hotel:{keywords:["building","accomodation","checkin"],char:"🏨",fitzpatrick_scale:!1,category:"travel_and_places"},convenience_store:{keywords:["building","shopping","groceries"],char:"🏪",fitzpatrick_scale:!1,category:"travel_and_places"},school:{keywords:["building","student","education","learn","teach"],char:"🏫",fitzpatrick_scale:!1,category:"travel_and_places"},love_hotel:{keywords:["like","affection","dating"],char:"🏩",fitzpatrick_scale:!1,category:"travel_and_places"},wedding:{keywords:["love","like","affection","couple","marriage","bride","groom"],char:"💒",fitzpatrick_scale:!1,category:"travel_and_places"},classical_building:{keywords:["art","culture","history"],char:"🏛",fitzpatrick_scale:!1,category:"travel_and_places"},church:{keywords:["building","religion","christ"],char:"⛪",fitzpatrick_scale:!1,category:"travel_and_places"},mosque:{keywords:["islam","worship","minaret"],char:"🕌",fitzpatrick_scale:!1,category:"travel_and_places"},synagogue:{keywords:["judaism","worship","temple","jewish"],char:"🕍",fitzpatrick_scale:!1,category:"travel_and_places"},kaaba:{keywords:["mecca","mosque","islam"],char:"🕋",fitzpatrick_scale:!1,category:"travel_and_places"},shinto_shrine:{keywords:["temple","japan","kyoto"],char:"⛩",fitzpatrick_scale:!1,category:"travel_and_places"},watch:{keywords:["time","accessories"],char:"⌚",fitzpatrick_scale:!1,category:"objects"},iphone:{keywords:["technology","apple","gadgets","dial"],char:"📱",fitzpatrick_scale:!1,category:"objects"},calling:{keywords:["iphone","incoming"],char:"📲",fitzpatrick_scale:!1,category:"objects"},computer:{keywords:["technology","laptop","screen","display","monitor"],char:"💻",fitzpatrick_scale:!1,category:"objects"},keyboard:{keywords:["technology","computer","type","input","text"],char:"⌨",fitzpatrick_scale:!1,category:"objects"},desktop_computer:{keywords:["technology","computing","screen"],char:"🖥",fitzpatrick_scale:!1,category:"objects"},printer:{keywords:["paper","ink"],char:"🖨",fitzpatrick_scale:!1,category:"objects"},computer_mouse:{keywords:["click"],char:"🖱",fitzpatrick_scale:!1,category:"objects"},trackball:{keywords:["technology","trackpad"],char:"🖲",fitzpatrick_scale:!1,category:"objects"},joystick:{keywords:["game","play"],char:"🕹",fitzpatrick_scale:!1,category:"objects"},clamp:{keywords:["tool"],char:"🗜",fitzpatrick_scale:!1,category:"objects"},minidisc:{keywords:["technology","record","data","disk","90s"],char:"💽",fitzpatrick_scale:!1,category:"objects"},floppy_disk:{keywords:["oldschool","technology","save","90s","80s"],char:"💾",fitzpatrick_scale:!1,category:"objects"},cd:{keywords:["technology","dvd","disk","disc","90s"],char:"💿",fitzpatrick_scale:!1,category:"objects"},dvd:{keywords:["cd","disk","disc"],char:"📀",fitzpatrick_scale:!1,category:"objects"},vhs:{keywords:["record","video","oldschool","90s","80s"],char:"📼",fitzpatrick_scale:!1,category:"objects"},camera:{keywords:["gadgets","photography"],char:"📷",fitzpatrick_scale:!1,category:"objects"},camera_flash:{keywords:["photography","gadgets"],char:"📸",fitzpatrick_scale:!1,category:"objects"},video_camera:{keywords:["film","record"],char:"📹",fitzpatrick_scale:!1,category:"objects"},movie_camera:{keywords:["film","record"],char:"🎥",fitzpatrick_scale:!1,category:"objects"},film_projector:{keywords:["video","tape","record","movie"],char:"📽",fitzpatrick_scale:!1,category:"objects"},film_strip:{keywords:["movie"],char:"🎞",fitzpatrick_scale:!1,category:"objects"},telephone_receiver:{keywords:["technology","communication","dial"],char:"📞",fitzpatrick_scale:!1,category:"objects"},phone:{keywords:["technology","communication","dial","telephone"],char:"☎️",fitzpatrick_scale:!1,category:"objects"},pager:{keywords:["bbcall","oldschool","90s"],char:"📟",fitzpatrick_scale:!1,category:"objects"},fax:{keywords:["communication","technology"],char:"📠",fitzpatrick_scale:!1,category:"objects"},tv:{keywords:["technology","program","oldschool","show","television"],char:"📺",fitzpatrick_scale:!1,category:"objects"},radio:{keywords:["communication","music","podcast","program"],char:"📻",fitzpatrick_scale:!1,category:"objects"},studio_microphone:{keywords:["sing","recording","artist","talkshow"],char:"🎙",fitzpatrick_scale:!1,category:"objects"},level_slider:{keywords:["scale"],char:"🎚",fitzpatrick_scale:!1,category:"objects"},control_knobs:{keywords:["dial"],char:"🎛",fitzpatrick_scale:!1,category:"objects"},compass:{keywords:["magnetic","navigation","orienteering"],char:"🧭",fitzpatrick_scale:!1,category:"objects"},stopwatch:{keywords:["time","deadline"],char:"⏱",fitzpatrick_scale:!1,category:"objects"},timer_clock:{keywords:["alarm"],char:"⏲",fitzpatrick_scale:!1,category:"objects"},alarm_clock:{keywords:["time","wake"],char:"⏰",fitzpatrick_scale:!1,category:"objects"},mantelpiece_clock:{keywords:["time"],char:"🕰",fitzpatrick_scale:!1,category:"objects"},hourglass_flowing_sand:{keywords:["oldschool","time","countdown"],char:"⏳",fitzpatrick_scale:!1,category:"objects"},hourglass:{keywords:["time","clock","oldschool","limit","exam","quiz","test"],char:"⌛",fitzpatrick_scale:!1,category:"objects"},satellite:{keywords:["communication","future","radio","space"],char:"📡",fitzpatrick_scale:!1,category:"objects"},battery:{keywords:["power","energy","sustain"],char:"🔋",fitzpatrick_scale:!1,category:"objects"},electric_plug:{keywords:["charger","power"],char:"🔌",fitzpatrick_scale:!1,category:"objects"},bulb:{keywords:["light","electricity","idea"],char:"💡",fitzpatrick_scale:!1,category:"objects"},flashlight:{keywords:["dark","camping","sight","night"],char:"🔦",fitzpatrick_scale:!1,category:"objects"},candle:{keywords:["fire","wax"],char:"🕯",fitzpatrick_scale:!1,category:"objects"},fire_extinguisher:{keywords:["quench"],char:"🧯",fitzpatrick_scale:!1,category:"objects"},wastebasket:{keywords:["bin","trash","rubbish","garbage","toss"],char:"🗑",fitzpatrick_scale:!1,category:"objects"},oil_drum:{keywords:["barrell"],char:"🛢",fitzpatrick_scale:!1,category:"objects"},money_with_wings:{keywords:["dollar","bills","payment","sale"],char:"💸",fitzpatrick_scale:!1,category:"objects"},dollar:{keywords:["money","sales","bill","currency"],char:"💵",fitzpatrick_scale:!1,category:"objects"},yen:{keywords:["money","sales","japanese","dollar","currency"],char:"💴",fitzpatrick_scale:!1,category:"objects"},euro:{keywords:["money","sales","dollar","currency"],char:"💶",fitzpatrick_scale:!1,category:"objects"},pound:{keywords:["british","sterling","money","sales","bills","uk","england","currency"],char:"💷",fitzpatrick_scale:!1,category:"objects"},moneybag:{keywords:["dollar","payment","coins","sale"],char:"💰",fitzpatrick_scale:!1,category:"objects"},credit_card:{keywords:["money","sales","dollar","bill","payment","shopping"],char:"💳",fitzpatrick_scale:!1,category:"objects"},gem:{keywords:["blue","ruby","diamond","jewelry"],char:"💎",fitzpatrick_scale:!1,category:"objects"},balance_scale:{keywords:["law","fairness","weight"],char:"⚖",fitzpatrick_scale:!1,category:"objects"},toolbox:{keywords:["tools","diy","fix","maintainer","mechanic"],char:"🧰",fitzpatrick_scale:!1,category:"objects"},wrench:{keywords:["tools","diy","ikea","fix","maintainer"],char:"🔧",fitzpatrick_scale:!1,category:"objects"},hammer:{keywords:["tools","build","create"],char:"🔨",fitzpatrick_scale:!1,category:"objects"},hammer_and_pick:{keywords:["tools","build","create"],char:"⚒",fitzpatrick_scale:!1,category:"objects"},hammer_and_wrench:{keywords:["tools","build","create"],char:"🛠",fitzpatrick_scale:!1,category:"objects"},pick:{keywords:["tools","dig"],char:"⛏",fitzpatrick_scale:!1,category:"objects"},nut_and_bolt:{keywords:["handy","tools","fix"],char:"🔩",fitzpatrick_scale:!1,category:"objects"},gear:{keywords:["cog"],char:"⚙",fitzpatrick_scale:!1,category:"objects"},brick:{keywords:["bricks"],char:"🧱",fitzpatrick_scale:!1,category:"objects"},chains:{keywords:["lock","arrest"],char:"⛓",fitzpatrick_scale:!1,category:"objects"},magnet:{keywords:["attraction","magnetic"],char:"🧲",fitzpatrick_scale:!1,category:"objects"},gun:{keywords:["violence","weapon","pistol","revolver"],char:"🔫",fitzpatrick_scale:!1,category:"objects"},bomb:{keywords:["boom","explode","explosion","terrorism"],char:"💣",fitzpatrick_scale:!1,category:"objects"},firecracker:{keywords:["dynamite","boom","explode","explosion","explosive"],char:"🧨",fitzpatrick_scale:!1,category:"objects"},hocho:{keywords:["knife","blade","cutlery","kitchen","weapon"],char:"🔪",fitzpatrick_scale:!1,category:"objects"},dagger:{keywords:["weapon"],char:"🗡",fitzpatrick_scale:!1,category:"objects"},crossed_swords:{keywords:["weapon"],char:"⚔",fitzpatrick_scale:!1,category:"objects"},shield:{keywords:["protection","security"],char:"🛡",fitzpatrick_scale:!1,category:"objects"},smoking:{keywords:["kills","tobacco","cigarette","joint","smoke"],char:"🚬",fitzpatrick_scale:!1,category:"objects"},skull_and_crossbones:{keywords:["poison","danger","deadly","scary","death","pirate","evil"],char:"☠",fitzpatrick_scale:!1,category:"objects"},coffin:{keywords:["vampire","dead","die","death","rip","graveyard","cemetery","casket","funeral","box"],char:"⚰",fitzpatrick_scale:!1,category:"objects"},funeral_urn:{keywords:["dead","die","death","rip","ashes"],char:"⚱",fitzpatrick_scale:!1,category:"objects"},amphora:{keywords:["vase","jar"],char:"🏺",fitzpatrick_scale:!1,category:"objects"},crystal_ball:{keywords:["disco","party","magic","circus","fortune_teller"],char:"🔮",fitzpatrick_scale:!1,category:"objects"},prayer_beads:{keywords:["dhikr","religious"],char:"📿",fitzpatrick_scale:!1,category:"objects"},nazar_amulet:{keywords:["bead","charm"],char:"🧿",fitzpatrick_scale:!1,category:"objects"},barber:{keywords:["hair","salon","style"],char:"💈",fitzpatrick_scale:!1,category:"objects"},alembic:{keywords:["distilling","science","experiment","chemistry"],char:"⚗",fitzpatrick_scale:!1,category:"objects"},telescope:{keywords:["stars","space","zoom","science","astronomy"],char:"🔭",fitzpatrick_scale:!1,category:"objects"},microscope:{keywords:["laboratory","experiment","zoomin","science","study"],char:"🔬",fitzpatrick_scale:!1,category:"objects"},hole:{keywords:["embarrassing"],char:"🕳",fitzpatrick_scale:!1,category:"objects"},pill:{keywords:["health","medicine","doctor","pharmacy","drug"],char:"💊",fitzpatrick_scale:!1,category:"objects"},syringe:{keywords:["health","hospital","drugs","blood","medicine","needle","doctor","nurse"],char:"💉",fitzpatrick_scale:!1,category:"objects"},dna:{keywords:["biologist","genetics","life"],char:"🧬",fitzpatrick_scale:!1,category:"objects"},microbe:{keywords:["amoeba","bacteria","germs"],char:"🦠",fitzpatrick_scale:!1,category:"objects"},petri_dish:{keywords:["bacteria","biology","culture","lab"],char:"🧫",fitzpatrick_scale:!1,category:"objects"},test_tube:{keywords:["chemistry","experiment","lab","science"],char:"🧪",fitzpatrick_scale:!1,category:"objects"},thermometer:{keywords:["weather","temperature","hot","cold"],char:"🌡",fitzpatrick_scale:!1,category:"objects"},broom:{keywords:["cleaning","sweeping","witch"],char:"🧹",fitzpatrick_scale:!1,category:"objects"},basket:{keywords:["laundry"],char:"🧺",fitzpatrick_scale:!1,category:"objects"},toilet_paper:{keywords:["roll"],char:"🧻",fitzpatrick_scale:!1,category:"objects"},label:{keywords:["sale","tag"],char:"🏷",fitzpatrick_scale:!1,category:"objects"},bookmark:{keywords:["favorite","label","save"],char:"🔖",fitzpatrick_scale:!1,category:"objects"},toilet:{keywords:["restroom","wc","washroom","bathroom","potty"],char:"🚽",fitzpatrick_scale:!1,category:"objects"},shower:{keywords:["clean","water","bathroom"],char:"🚿",fitzpatrick_scale:!1,category:"objects"},bathtub:{keywords:["clean","shower","bathroom"],char:"🛁",fitzpatrick_scale:!1,category:"objects"},soap:{keywords:["bar","bathing","cleaning","lather"],char:"🧼",fitzpatrick_scale:!1,category:"objects"},sponge:{keywords:["absorbing","cleaning","porous"],char:"🧽",fitzpatrick_scale:!1,category:"objects"},lotion_bottle:{keywords:["moisturizer","sunscreen"],char:"🧴",fitzpatrick_scale:!1,category:"objects"},key:{keywords:["lock","door","password"],char:"🔑",fitzpatrick_scale:!1,category:"objects"},old_key:{keywords:["lock","door","password"],char:"🗝",fitzpatrick_scale:!1,category:"objects"},couch_and_lamp:{keywords:["read","chill"],char:"🛋",fitzpatrick_scale:!1,category:"objects"},sleeping_bed:{keywords:["bed","rest"],char:"🛌",fitzpatrick_scale:!0,category:"objects"},bed:{keywords:["sleep","rest"],char:"🛏",fitzpatrick_scale:!1,category:"objects"},door:{keywords:["house","entry","exit"],char:"🚪",fitzpatrick_scale:!1,category:"objects"},bellhop_bell:{keywords:["service"],char:"🛎",fitzpatrick_scale:!1,category:"objects"},teddy_bear:{keywords:["plush","stuffed"],char:"🧸",fitzpatrick_scale:!1,category:"objects"},framed_picture:{keywords:["photography"],char:"🖼",fitzpatrick_scale:!1,category:"objects"},world_map:{keywords:["location","direction"],char:"🗺",fitzpatrick_scale:!1,category:"objects"},parasol_on_ground:{keywords:["weather","summer"],char:"⛱",fitzpatrick_scale:!1,category:"objects"},moyai:{keywords:["rock","easter island","moai"],char:"🗿",fitzpatrick_scale:!1,category:"objects"},shopping:{keywords:["mall","buy","purchase"],char:"🛍",fitzpatrick_scale:!1,category:"objects"},shopping_cart:{keywords:["trolley"],char:"🛒",fitzpatrick_scale:!1,category:"objects"},balloon:{keywords:["party","celebration","birthday","circus"],char:"🎈",fitzpatrick_scale:!1,category:"objects"},flags:{keywords:["fish","japanese","koinobori","carp","banner"],char:"🎏",fitzpatrick_scale:!1,category:"objects"},ribbon:{keywords:["decoration","pink","girl","bowtie"],char:"🎀",fitzpatrick_scale:!1,category:"objects"},gift:{keywords:["present","birthday","christmas","xmas"],char:"🎁",fitzpatrick_scale:!1,category:"objects"},confetti_ball:{keywords:["festival","party","birthday","circus"],char:"🎊",fitzpatrick_scale:!1,category:"objects"},tada:{keywords:["party","congratulations","birthday","magic","circus","celebration"],char:"🎉",fitzpatrick_scale:!1,category:"objects"},dolls:{keywords:["japanese","toy","kimono"],char:"🎎",fitzpatrick_scale:!1,category:"objects"},wind_chime:{keywords:["nature","ding","spring","bell"],char:"🎐",fitzpatrick_scale:!1,category:"objects"},crossed_flags:{keywords:["japanese","nation","country","border"],char:"🎌",fitzpatrick_scale:!1,category:"objects"},izakaya_lantern:{keywords:["light","paper","halloween","spooky"],char:"🏮",fitzpatrick_scale:!1,category:"objects"},red_envelope:{keywords:["gift"],char:"🧧",fitzpatrick_scale:!1,category:"objects"},email:{keywords:["letter","postal","inbox","communication"],char:"✉️",fitzpatrick_scale:!1,category:"objects"},envelope_with_arrow:{keywords:["email","communication"],char:"📩",fitzpatrick_scale:!1,category:"objects"},incoming_envelope:{keywords:["email","inbox"],char:"📨",fitzpatrick_scale:!1,category:"objects"},"e-mail":{keywords:["communication","inbox"],char:"📧",fitzpatrick_scale:!1,category:"objects"},love_letter:{keywords:["email","like","affection","envelope","valentines"],char:"💌",fitzpatrick_scale:!1,category:"objects"},postbox:{keywords:["email","letter","envelope"],char:"📮",fitzpatrick_scale:!1,category:"objects"},mailbox_closed:{keywords:["email","communication","inbox"],char:"📪",fitzpatrick_scale:!1,category:"objects"},mailbox:{keywords:["email","inbox","communication"],char:"📫",fitzpatrick_scale:!1,category:"objects"},mailbox_with_mail:{keywords:["email","inbox","communication"],char:"📬",fitzpatrick_scale:!1,category:"objects"},mailbox_with_no_mail:{keywords:["email","inbox"],char:"📭",fitzpatrick_scale:!1,category:"objects"},package:{keywords:["mail","gift","cardboard","box","moving"],char:"📦",fitzpatrick_scale:!1,category:"objects"},postal_horn:{keywords:["instrument","music"],char:"📯",fitzpatrick_scale:!1,category:"objects"},inbox_tray:{keywords:["email","documents"],char:"📥",fitzpatrick_scale:!1,category:"objects"},outbox_tray:{keywords:["inbox","email"],char:"📤",fitzpatrick_scale:!1,category:"objects"},scroll:{keywords:["documents","ancient","history","paper"],char:"📜",fitzpatrick_scale:!1,category:"objects"},page_with_curl:{keywords:["documents","office","paper"],char:"📃",fitzpatrick_scale:!1,category:"objects"},bookmark_tabs:{keywords:["favorite","save","order","tidy"],char:"📑",fitzpatrick_scale:!1,category:"objects"},receipt:{keywords:["accounting","expenses"],char:"🧾",fitzpatrick_scale:!1,category:"objects"},bar_chart:{keywords:["graph","presentation","stats"],char:"📊",fitzpatrick_scale:!1,category:"objects"},chart_with_upwards_trend:{keywords:["graph","presentation","stats","recovery","business","economics","money","sales","good","success"],char:"📈",fitzpatrick_scale:!1,category:"objects"},chart_with_downwards_trend:{keywords:["graph","presentation","stats","recession","business","economics","money","sales","bad","failure"],char:"📉",fitzpatrick_scale:!1,category:"objects"},page_facing_up:{keywords:["documents","office","paper","information"],char:"📄",fitzpatrick_scale:!1,category:"objects"},date:{keywords:["calendar","schedule"],char:"📅",fitzpatrick_scale:!1,category:"objects"},calendar:{keywords:["schedule","date","planning"],char:"📆",fitzpatrick_scale:!1,category:"objects"},spiral_calendar:{keywords:["date","schedule","planning"],char:"🗓",fitzpatrick_scale:!1,category:"objects"},card_index:{keywords:["business","stationery"],char:"📇",fitzpatrick_scale:!1,category:"objects"},card_file_box:{keywords:["business","stationery"],char:"🗃",fitzpatrick_scale:!1,category:"objects"},ballot_box:{keywords:["election","vote"],char:"🗳",fitzpatrick_scale:!1,category:"objects"},file_cabinet:{keywords:["filing","organizing"],char:"🗄",fitzpatrick_scale:!1,category:"objects"},clipboard:{keywords:["stationery","documents"],char:"📋",fitzpatrick_scale:!1,category:"objects"},spiral_notepad:{keywords:["memo","stationery"],char:"🗒",fitzpatrick_scale:!1,category:"objects"},file_folder:{keywords:["documents","business","office"],char:"📁",fitzpatrick_scale:!1,category:"objects"},open_file_folder:{keywords:["documents","load"],char:"📂",fitzpatrick_scale:!1,category:"objects"},card_index_dividers:{keywords:["organizing","business","stationery"],char:"🗂",fitzpatrick_scale:!1,category:"objects"},newspaper_roll:{keywords:["press","headline"],char:"🗞",fitzpatrick_scale:!1,category:"objects"},newspaper:{keywords:["press","headline"],char:"📰",fitzpatrick_scale:!1,category:"objects"},notebook:{keywords:["stationery","record","notes","paper","study"],char:"📓",fitzpatrick_scale:!1,category:"objects"},closed_book:{keywords:["read","library","knowledge","textbook","learn"],char:"📕",fitzpatrick_scale:!1,category:"objects"},green_book:{keywords:["read","library","knowledge","study"],char:"📗",fitzpatrick_scale:!1,category:"objects"},blue_book:{keywords:["read","library","knowledge","learn","study"],char:"📘",fitzpatrick_scale:!1,category:"objects"},orange_book:{keywords:["read","library","knowledge","textbook","study"],char:"📙",fitzpatrick_scale:!1,category:"objects"},notebook_with_decorative_cover:{keywords:["classroom","notes","record","paper","study"],char:"📔",fitzpatrick_scale:!1,category:"objects"},ledger:{keywords:["notes","paper"],char:"📒",fitzpatrick_scale:!1,category:"objects"},books:{keywords:["literature","library","study"],char:"📚",fitzpatrick_scale:!1,category:"objects"},open_book:{keywords:["book","read","library","knowledge","literature","learn","study"],char:"📖",fitzpatrick_scale:!1,category:"objects"},safety_pin:{keywords:["diaper"],char:"🧷",fitzpatrick_scale:!1,category:"objects"},link:{keywords:["rings","url"],char:"🔗",fitzpatrick_scale:!1,category:"objects"},paperclip:{keywords:["documents","stationery"],char:"📎",fitzpatrick_scale:!1,category:"objects"},paperclips:{keywords:["documents","stationery"],char:"🖇",fitzpatrick_scale:!1,category:"objects"},scissors:{keywords:["stationery","cut"],char:"✂️",fitzpatrick_scale:!1,category:"objects"},triangular_ruler:{keywords:["stationery","math","architect","sketch"],char:"📐",fitzpatrick_scale:!1,category:"objects"},straight_ruler:{keywords:["stationery","calculate","length","math","school","drawing","architect","sketch"],char:"📏",fitzpatrick_scale:!1,category:"objects"},abacus:{keywords:["calculation"],char:"🧮",fitzpatrick_scale:!1,category:"objects"},pushpin:{keywords:["stationery","mark","here"],char:"📌",fitzpatrick_scale:!1,category:"objects"},round_pushpin:{keywords:["stationery","location","map","here"],char:"📍",fitzpatrick_scale:!1,category:"objects"},triangular_flag_on_post:{keywords:["mark","milestone","place"],char:"🚩",fitzpatrick_scale:!1,category:"objects"},white_flag:{keywords:["losing","loser","lost","surrender","give up","fail"],char:"🏳",fitzpatrick_scale:!1,category:"objects"},black_flag:{keywords:["pirate"],char:"🏴",fitzpatrick_scale:!1,category:"objects"},rainbow_flag:{keywords:["flag","rainbow","pride","gay","lgbt","glbt","queer","homosexual","lesbian","bisexual","transgender"],char:"🏳️‍🌈",fitzpatrick_scale:!1,category:"objects"},closed_lock_with_key:{keywords:["security","privacy"],char:"🔐",fitzpatrick_scale:!1,category:"objects"},lock:{keywords:["security","password","padlock"],char:"🔒",fitzpatrick_scale:!1,category:"objects"},unlock:{keywords:["privacy","security"],char:"🔓",fitzpatrick_scale:!1,category:"objects"},lock_with_ink_pen:{keywords:["security","secret"],char:"🔏",fitzpatrick_scale:!1,category:"objects"},pen:{keywords:["stationery","writing","write"],char:"🖊",fitzpatrick_scale:!1,category:"objects"},fountain_pen:{keywords:["stationery","writing","write"],char:"🖋",fitzpatrick_scale:!1,category:"objects"},black_nib:{keywords:["pen","stationery","writing","write"],char:"✒️",fitzpatrick_scale:!1,category:"objects"},memo:{keywords:["write","documents","stationery","pencil","paper","writing","legal","exam","quiz","test","study","compose"],char:"📝",fitzpatrick_scale:!1,category:"objects"},pencil2:{keywords:["stationery","write","paper","writing","school","study"],char:"✏️",fitzpatrick_scale:!1,category:"objects"},crayon:{keywords:["drawing","creativity"],char:"🖍",fitzpatrick_scale:!1,category:"objects"},paintbrush:{keywords:["drawing","creativity","art"],char:"🖌",fitzpatrick_scale:!1,category:"objects"},mag:{keywords:["search","zoom","find","detective"],char:"🔍",fitzpatrick_scale:!1,category:"objects"},mag_right:{keywords:["search","zoom","find","detective"],char:"🔎",fitzpatrick_scale:!1,category:"objects"},heart:{keywords:["love","like","valentines"],char:"❤️",fitzpatrick_scale:!1,category:"symbols"},orange_heart:{keywords:["love","like","affection","valentines"],char:"🧡",fitzpatrick_scale:!1,category:"symbols"},yellow_heart:{keywords:["love","like","affection","valentines"],char:"💛",fitzpatrick_scale:!1,category:"symbols"},green_heart:{keywords:["love","like","affection","valentines"],char:"💚",fitzpatrick_scale:!1,category:"symbols"},blue_heart:{keywords:["love","like","affection","valentines"],char:"💙",fitzpatrick_scale:!1,category:"symbols"},purple_heart:{keywords:["love","like","affection","valentines"],char:"💜",fitzpatrick_scale:!1,category:"symbols"},black_heart:{keywords:["evil"],char:"🖤",fitzpatrick_scale:!1,category:"symbols"},broken_heart:{keywords:["sad","sorry","break","heart","heartbreak"],char:"💔",fitzpatrick_scale:!1,category:"symbols"},heavy_heart_exclamation:{keywords:["decoration","love"],char:"❣",fitzpatrick_scale:!1,category:"symbols"},two_hearts:{keywords:["love","like","affection","valentines","heart"],char:"💕",fitzpatrick_scale:!1,category:"symbols"},revolving_hearts:{keywords:["love","like","affection","valentines"],char:"💞",fitzpatrick_scale:!1,category:"symbols"},heartbeat:{keywords:["love","like","affection","valentines","pink","heart"],char:"💓",fitzpatrick_scale:!1,category:"symbols"},heartpulse:{keywords:["like","love","affection","valentines","pink"],char:"💗",fitzpatrick_scale:!1,category:"symbols"},sparkling_heart:{keywords:["love","like","affection","valentines"],char:"💖",fitzpatrick_scale:!1,category:"symbols"},cupid:{keywords:["love","like","heart","affection","valentines"],char:"💘",fitzpatrick_scale:!1,category:"symbols"},gift_heart:{keywords:["love","valentines"],char:"💝",fitzpatrick_scale:!1,category:"symbols"},heart_decoration:{keywords:["purple-square","love","like"],char:"💟",fitzpatrick_scale:!1,category:"symbols"},peace_symbol:{keywords:["hippie"],char:"☮",fitzpatrick_scale:!1,category:"symbols"},latin_cross:{keywords:["christianity"],char:"✝",fitzpatrick_scale:!1,category:"symbols"},star_and_crescent:{keywords:["islam"],char:"☪",fitzpatrick_scale:!1,category:"symbols"},om:{keywords:["hinduism","buddhism","sikhism","jainism"],char:"🕉",fitzpatrick_scale:!1,category:"symbols"},wheel_of_dharma:{keywords:["hinduism","buddhism","sikhism","jainism"],char:"☸",fitzpatrick_scale:!1,category:"symbols"},star_of_david:{keywords:["judaism"],char:"✡",fitzpatrick_scale:!1,category:"symbols"},six_pointed_star:{keywords:["purple-square","religion","jewish","hexagram"],char:"🔯",fitzpatrick_scale:!1,category:"symbols"},menorah:{keywords:["hanukkah","candles","jewish"],char:"🕎",fitzpatrick_scale:!1,category:"symbols"},yin_yang:{keywords:["balance"],char:"☯",fitzpatrick_scale:!1,category:"symbols"},orthodox_cross:{keywords:["suppedaneum","religion"],char:"☦",fitzpatrick_scale:!1,category:"symbols"},place_of_worship:{keywords:["religion","church","temple","prayer"],char:"🛐",fitzpatrick_scale:!1,category:"symbols"},ophiuchus:{keywords:["sign","purple-square","constellation","astrology"],char:"⛎",fitzpatrick_scale:!1,category:"symbols"},aries:{keywords:["sign","purple-square","zodiac","astrology"],char:"♈",fitzpatrick_scale:!1,category:"symbols"},taurus:{keywords:["purple-square","sign","zodiac","astrology"],char:"♉",fitzpatrick_scale:!1,category:"symbols"},gemini:{keywords:["sign","zodiac","purple-square","astrology"],char:"♊",fitzpatrick_scale:!1,category:"symbols"},cancer:{keywords:["sign","zodiac","purple-square","astrology"],char:"♋",fitzpatrick_scale:!1,category:"symbols"},leo:{keywords:["sign","purple-square","zodiac","astrology"],char:"♌",fitzpatrick_scale:!1,category:"symbols"},virgo:{keywords:["sign","zodiac","purple-square","astrology"],char:"♍",fitzpatrick_scale:!1,category:"symbols"},libra:{keywords:["sign","purple-square","zodiac","astrology"],char:"♎",fitzpatrick_scale:!1,category:"symbols"},scorpius:{keywords:["sign","zodiac","purple-square","astrology","scorpio"],char:"♏",fitzpatrick_scale:!1,category:"symbols"},sagittarius:{keywords:["sign","zodiac","purple-square","astrology"],char:"♐",fitzpatrick_scale:!1,category:"symbols"},capricorn:{keywords:["sign","zodiac","purple-square","astrology"],char:"♑",fitzpatrick_scale:!1,category:"symbols"},aquarius:{keywords:["sign","purple-square","zodiac","astrology"],char:"♒",fitzpatrick_scale:!1,category:"symbols"},pisces:{keywords:["purple-square","sign","zodiac","astrology"],char:"♓",fitzpatrick_scale:!1,category:"symbols"},id:{keywords:["purple-square","words"],char:"🆔",fitzpatrick_scale:!1,category:"symbols"},atom_symbol:{keywords:["science","physics","chemistry"],char:"⚛",fitzpatrick_scale:!1,category:"symbols"},u7a7a:{keywords:["kanji","japanese","chinese","empty","sky","blue-square"],char:"🈳",fitzpatrick_scale:!1,category:"symbols"},u5272:{keywords:["cut","divide","chinese","kanji","pink-square"],char:"🈹",fitzpatrick_scale:!1,category:"symbols"},radioactive:{keywords:["nuclear","danger"],char:"☢",fitzpatrick_scale:!1,category:"symbols"},biohazard:{keywords:["danger"],char:"☣",fitzpatrick_scale:!1,category:"symbols"},mobile_phone_off:{keywords:["mute","orange-square","silence","quiet"],char:"📴",fitzpatrick_scale:!1,category:"symbols"},vibration_mode:{keywords:["orange-square","phone"],char:"📳",fitzpatrick_scale:!1,category:"symbols"},u6709:{keywords:["orange-square","chinese","have","kanji"],char:"🈶",fitzpatrick_scale:!1,category:"symbols"},u7121:{keywords:["nothing","chinese","kanji","japanese","orange-square"],char:"🈚",fitzpatrick_scale:!1,category:"symbols"},u7533:{keywords:["chinese","japanese","kanji","orange-square"],char:"🈸",fitzpatrick_scale:!1,category:"symbols"},u55b6:{keywords:["japanese","opening hours","orange-square"],char:"🈺",fitzpatrick_scale:!1,category:"symbols"},u6708:{keywords:["chinese","month","moon","japanese","orange-square","kanji"],char:"🈷️",fitzpatrick_scale:!1,category:"symbols"},eight_pointed_black_star:{keywords:["orange-square","shape","polygon"],char:"✴️",fitzpatrick_scale:!1,category:"symbols"},vs:{keywords:["words","orange-square"],char:"🆚",fitzpatrick_scale:!1,category:"symbols"},accept:{keywords:["ok","good","chinese","kanji","agree","yes","orange-circle"],char:"🉑",fitzpatrick_scale:!1,category:"symbols"},white_flower:{keywords:["japanese","spring"],char:"💮",fitzpatrick_scale:!1,category:"symbols"},ideograph_advantage:{keywords:["chinese","kanji","obtain","get","circle"],char:"🉐",fitzpatrick_scale:!1,category:"symbols"},secret:{keywords:["privacy","chinese","sshh","kanji","red-circle"],char:"㊙️",fitzpatrick_scale:!1,category:"symbols"},congratulations:{keywords:["chinese","kanji","japanese","red-circle"],char:"㊗️",fitzpatrick_scale:!1,category:"symbols"},u5408:{keywords:["japanese","chinese","join","kanji","red-square"],char:"🈴",fitzpatrick_scale:!1,category:"symbols"},u6e80:{keywords:["full","chinese","japanese","red-square","kanji"],char:"🈵",fitzpatrick_scale:!1,category:"symbols"},u7981:{keywords:["kanji","japanese","chinese","forbidden","limit","restricted","red-square"],char:"🈲",fitzpatrick_scale:!1,category:"symbols"},a:{keywords:["red-square","alphabet","letter"],char:"🅰️",fitzpatrick_scale:!1,category:"symbols"},b:{keywords:["red-square","alphabet","letter"],char:"🅱️",fitzpatrick_scale:!1,category:"symbols"},ab:{keywords:["red-square","alphabet"],char:"🆎",fitzpatrick_scale:!1,category:"symbols"},cl:{keywords:["alphabet","words","red-square"],char:"🆑",fitzpatrick_scale:!1,category:"symbols"},o2:{keywords:["alphabet","red-square","letter"],char:"🅾️",fitzpatrick_scale:!1,category:"symbols"},sos:{keywords:["help","red-square","words","emergency","911"],char:"🆘",fitzpatrick_scale:!1,category:"symbols"},no_entry:{keywords:["limit","security","privacy","bad","denied","stop","circle"],char:"⛔",fitzpatrick_scale:!1,category:"symbols"},name_badge:{keywords:["fire","forbid"],char:"📛",fitzpatrick_scale:!1,category:"symbols"},no_entry_sign:{keywords:["forbid","stop","limit","denied","disallow","circle"],char:"🚫",fitzpatrick_scale:!1,category:"symbols"},x:{keywords:["no","delete","remove","cancel","red"],char:"❌",fitzpatrick_scale:!1,category:"symbols"},o:{keywords:["circle","round"],char:"⭕",fitzpatrick_scale:!1,category:"symbols"},stop_sign:{keywords:["stop"],char:"🛑",fitzpatrick_scale:!1,category:"symbols"},anger:{keywords:["angry","mad"],char:"💢",fitzpatrick_scale:!1,category:"symbols"},hotsprings:{keywords:["bath","warm","relax"],char:"♨️",fitzpatrick_scale:!1,category:"symbols"},no_pedestrians:{keywords:["rules","crossing","walking","circle"],char:"🚷",fitzpatrick_scale:!1,category:"symbols"},do_not_litter:{keywords:["trash","bin","garbage","circle"],char:"🚯",fitzpatrick_scale:!1,category:"symbols"},no_bicycles:{keywords:["cyclist","prohibited","circle"],char:"🚳",fitzpatrick_scale:!1,category:"symbols"},"non-potable_water":{keywords:["drink","faucet","tap","circle"],char:"🚱",fitzpatrick_scale:!1,category:"symbols"},underage:{keywords:["18","drink","pub","night","minor","circle"],char:"🔞",fitzpatrick_scale:!1,category:"symbols"},no_mobile_phones:{keywords:["iphone","mute","circle"],char:"📵",fitzpatrick_scale:!1,category:"symbols"},exclamation:{keywords:["heavy_exclamation_mark","danger","surprise","punctuation","wow","warning"],char:"❗",fitzpatrick_scale:!1,category:"symbols"},grey_exclamation:{keywords:["surprise","punctuation","gray","wow","warning"],char:"❕",fitzpatrick_scale:!1,category:"symbols"},question:{keywords:["doubt","confused"],char:"❓",fitzpatrick_scale:!1,category:"symbols"},grey_question:{keywords:["doubts","gray","huh","confused"],char:"❔",fitzpatrick_scale:!1,category:"symbols"},bangbang:{keywords:["exclamation","surprise"],char:"‼️",fitzpatrick_scale:!1,category:"symbols"},interrobang:{keywords:["wat","punctuation","surprise"],char:"⁉️",fitzpatrick_scale:!1,category:"symbols"},low_brightness:{keywords:["sun","afternoon","warm","summer"],char:"🔅",fitzpatrick_scale:!1,category:"symbols"},high_brightness:{keywords:["sun","light"],char:"🔆",fitzpatrick_scale:!1,category:"symbols"},trident:{keywords:["weapon","spear"],char:"🔱",fitzpatrick_scale:!1,category:"symbols"},fleur_de_lis:{keywords:["decorative","scout"],char:"⚜",fitzpatrick_scale:!1,category:"symbols"},part_alternation_mark:{keywords:["graph","presentation","stats","business","economics","bad"],char:"〽️",fitzpatrick_scale:!1,category:"symbols"},warning:{keywords:["exclamation","wip","alert","error","problem","issue"],char:"⚠️",fitzpatrick_scale:!1,category:"symbols"},children_crossing:{keywords:["school","warning","danger","sign","driving","yellow-diamond"],char:"🚸",fitzpatrick_scale:!1,category:"symbols"},beginner:{keywords:["badge","shield"],char:"🔰",fitzpatrick_scale:!1,category:"symbols"},recycle:{keywords:["arrow","environment","garbage","trash"],char:"♻️",fitzpatrick_scale:!1,category:"symbols"},u6307:{keywords:["chinese","point","green-square","kanji"],char:"🈯",fitzpatrick_scale:!1,category:"symbols"},chart:{keywords:["green-square","graph","presentation","stats"],char:"💹",fitzpatrick_scale:!1,category:"symbols"},sparkle:{keywords:["stars","green-square","awesome","good","fireworks"],char:"❇️",fitzpatrick_scale:!1,category:"symbols"},eight_spoked_asterisk:{keywords:["star","sparkle","green-square"],char:"✳️",fitzpatrick_scale:!1,category:"symbols"},negative_squared_cross_mark:{keywords:["x","green-square","no","deny"],char:"❎",fitzpatrick_scale:!1,category:"symbols"},white_check_mark:{keywords:["green-square","ok","agree","vote","election","answer","tick"],char:"✅",fitzpatrick_scale:!1,category:"symbols"},diamond_shape_with_a_dot_inside:{keywords:["jewel","blue","gem","crystal","fancy"],char:"💠",fitzpatrick_scale:!1,category:"symbols"},cyclone:{keywords:["weather","swirl","blue","cloud","vortex","spiral","whirlpool","spin","tornado","hurricane","typhoon"],char:"🌀",fitzpatrick_scale:!1,category:"symbols"},loop:{keywords:["tape","cassette"],char:"➿",fitzpatrick_scale:!1,category:"symbols"},globe_with_meridians:{keywords:["earth","international","world","internet","interweb","i18n"],char:"🌐",fitzpatrick_scale:!1,category:"symbols"},m:{keywords:["alphabet","blue-circle","letter"],char:"Ⓜ️",fitzpatrick_scale:!1,category:"symbols"},atm:{keywords:["money","sales","cash","blue-square","payment","bank"],char:"🏧",fitzpatrick_scale:!1,category:"symbols"},sa:{keywords:["japanese","blue-square","katakana"],char:"🈂️",fitzpatrick_scale:!1,category:"symbols"},passport_control:{keywords:["custom","blue-square"],char:"🛂",fitzpatrick_scale:!1,category:"symbols"},customs:{keywords:["passport","border","blue-square"],char:"🛃",fitzpatrick_scale:!1,category:"symbols"},baggage_claim:{keywords:["blue-square","airport","transport"],char:"🛄",fitzpatrick_scale:!1,category:"symbols"},left_luggage:{keywords:["blue-square","travel"],char:"🛅",fitzpatrick_scale:!1,category:"symbols"},wheelchair:{keywords:["blue-square","disabled","a11y","accessibility"],char:"♿",fitzpatrick_scale:!1,category:"symbols"},no_smoking:{keywords:["cigarette","blue-square","smell","smoke"],char:"🚭",fitzpatrick_scale:!1,category:"symbols"},wc:{keywords:["toilet","restroom","blue-square"],char:"🚾",fitzpatrick_scale:!1,category:"symbols"},parking:{keywords:["cars","blue-square","alphabet","letter"],char:"🅿️",fitzpatrick_scale:!1,category:"symbols"},potable_water:{keywords:["blue-square","liquid","restroom","cleaning","faucet"],char:"🚰",fitzpatrick_scale:!1,category:"symbols"},mens:{keywords:["toilet","restroom","wc","blue-square","gender","male"],char:"🚹",fitzpatrick_scale:!1,category:"symbols"},womens:{keywords:["purple-square","woman","female","toilet","loo","restroom","gender"],char:"🚺",fitzpatrick_scale:!1,category:"symbols"},baby_symbol:{keywords:["orange-square","child"],char:"🚼",fitzpatrick_scale:!1,category:"symbols"},restroom:{keywords:["blue-square","toilet","refresh","wc","gender"],char:"🚻",fitzpatrick_scale:!1,category:"symbols"},put_litter_in_its_place:{keywords:["blue-square","sign","human","info"],char:"🚮",fitzpatrick_scale:!1,category:"symbols"},cinema:{keywords:["blue-square","record","film","movie","curtain","stage","theater"],char:"🎦",fitzpatrick_scale:!1,category:"symbols"},signal_strength:{keywords:["blue-square","reception","phone","internet","connection","wifi","bluetooth","bars"],char:"📶",fitzpatrick_scale:!1,category:"symbols"},koko:{keywords:["blue-square","here","katakana","japanese","destination"],char:"🈁",fitzpatrick_scale:!1,category:"symbols"},ng:{keywords:["blue-square","words","shape","icon"],char:"🆖",fitzpatrick_scale:!1,category:"symbols"},ok:{keywords:["good","agree","yes","blue-square"],char:"🆗",fitzpatrick_scale:!1,category:"symbols"},up:{keywords:["blue-square","above","high"],char:"🆙",fitzpatrick_scale:!1,category:"symbols"},cool:{keywords:["words","blue-square"],char:"🆒",fitzpatrick_scale:!1,category:"symbols"},new:{keywords:["blue-square","words","start"],char:"🆕",fitzpatrick_scale:!1,category:"symbols"},free:{keywords:["blue-square","words"],char:"🆓",fitzpatrick_scale:!1,category:"symbols"},zero:{keywords:["0","numbers","blue-square","null"],char:"0️⃣",fitzpatrick_scale:!1,category:"symbols"},one:{keywords:["blue-square","numbers","1"],char:"1️⃣",fitzpatrick_scale:!1,category:"symbols"},two:{keywords:["numbers","2","prime","blue-square"],char:"2️⃣",fitzpatrick_scale:!1,category:"symbols"},three:{keywords:["3","numbers","prime","blue-square"],char:"3️⃣",fitzpatrick_scale:!1,category:"symbols"},four:{keywords:["4","numbers","blue-square"],char:"4️⃣",fitzpatrick_scale:!1,category:"symbols"},five:{keywords:["5","numbers","blue-square","prime"],char:"5️⃣",fitzpatrick_scale:!1,category:"symbols"},six:{keywords:["6","numbers","blue-square"],char:"6️⃣",fitzpatrick_scale:!1,category:"symbols"},seven:{keywords:["7","numbers","blue-square","prime"],char:"7️⃣",fitzpatrick_scale:!1,category:"symbols"},eight:{keywords:["8","blue-square","numbers"],char:"8️⃣",fitzpatrick_scale:!1,category:"symbols"},nine:{keywords:["blue-square","numbers","9"],char:"9️⃣",fitzpatrick_scale:!1,category:"symbols"},keycap_ten:{keywords:["numbers","10","blue-square"],char:"🔟",fitzpatrick_scale:!1,category:"symbols"},asterisk:{keywords:["star","keycap"],char:"*⃣",fitzpatrick_scale:!1,category:"symbols"},eject_button:{keywords:["blue-square"],char:"⏏️",fitzpatrick_scale:!1,category:"symbols"},arrow_forward:{keywords:["blue-square","right","direction","play"],char:"▶️",fitzpatrick_scale:!1,category:"symbols"},pause_button:{keywords:["pause","blue-square"],char:"⏸",fitzpatrick_scale:!1,category:"symbols"},next_track_button:{keywords:["forward","next","blue-square"],char:"⏭",fitzpatrick_scale:!1,category:"symbols"},stop_button:{keywords:["blue-square"],char:"⏹",fitzpatrick_scale:!1,category:"symbols"},record_button:{keywords:["blue-square"],char:"⏺",fitzpatrick_scale:!1,category:"symbols"},play_or_pause_button:{keywords:["blue-square","play","pause"],char:"⏯",fitzpatrick_scale:!1,category:"symbols"},previous_track_button:{keywords:["backward"],char:"⏮",fitzpatrick_scale:!1,category:"symbols"},fast_forward:{keywords:["blue-square","play","speed","continue"],char:"⏩",fitzpatrick_scale:!1,category:"symbols"},rewind:{keywords:["play","blue-square"],char:"⏪",fitzpatrick_scale:!1,category:"symbols"},twisted_rightwards_arrows:{keywords:["blue-square","shuffle","music","random"],char:"🔀",fitzpatrick_scale:!1,category:"symbols"},repeat:{keywords:["loop","record"],char:"🔁",fitzpatrick_scale:!1,category:"symbols"},repeat_one:{keywords:["blue-square","loop"],char:"🔂",fitzpatrick_scale:!1,category:"symbols"},arrow_backward:{keywords:["blue-square","left","direction"],char:"◀️",fitzpatrick_scale:!1,category:"symbols"},arrow_up_small:{keywords:["blue-square","triangle","direction","point","forward","top"],char:"🔼",fitzpatrick_scale:!1,category:"symbols"},arrow_down_small:{keywords:["blue-square","direction","bottom"],char:"🔽",fitzpatrick_scale:!1,category:"symbols"},arrow_double_up:{keywords:["blue-square","direction","top"],char:"⏫",fitzpatrick_scale:!1,category:"symbols"},arrow_double_down:{keywords:["blue-square","direction","bottom"],char:"⏬",fitzpatrick_scale:!1,category:"symbols"},arrow_right:{keywords:["blue-square","next"],char:"➡️",fitzpatrick_scale:!1,category:"symbols"},arrow_left:{keywords:["blue-square","previous","back"],char:"⬅️",fitzpatrick_scale:!1,category:"symbols"},arrow_up:{keywords:["blue-square","continue","top","direction"],char:"⬆️",fitzpatrick_scale:!1,category:"symbols"},arrow_down:{keywords:["blue-square","direction","bottom"],char:"⬇️",fitzpatrick_scale:!1,category:"symbols"},arrow_upper_right:{keywords:["blue-square","point","direction","diagonal","northeast"],char:"↗️",fitzpatrick_scale:!1,category:"symbols"},arrow_lower_right:{keywords:["blue-square","direction","diagonal","southeast"],char:"↘️",fitzpatrick_scale:!1,category:"symbols"},arrow_lower_left:{keywords:["blue-square","direction","diagonal","southwest"],char:"↙️",fitzpatrick_scale:!1,category:"symbols"},arrow_upper_left:{keywords:["blue-square","point","direction","diagonal","northwest"],char:"↖️",fitzpatrick_scale:!1,category:"symbols"},arrow_up_down:{keywords:["blue-square","direction","way","vertical"],char:"↕️",fitzpatrick_scale:!1,category:"symbols"},left_right_arrow:{keywords:["shape","direction","horizontal","sideways"],char:"↔️",fitzpatrick_scale:!1,category:"symbols"},arrows_counterclockwise:{keywords:["blue-square","sync","cycle"],char:"🔄",fitzpatrick_scale:!1,category:"symbols"},arrow_right_hook:{keywords:["blue-square","return","rotate","direction"],char:"↪️",fitzpatrick_scale:!1,category:"symbols"},leftwards_arrow_with_hook:{keywords:["back","return","blue-square","undo","enter"],char:"↩️",fitzpatrick_scale:!1,category:"symbols"},arrow_heading_up:{keywords:["blue-square","direction","top"],char:"⤴️",fitzpatrick_scale:!1,category:"symbols"},arrow_heading_down:{keywords:["blue-square","direction","bottom"],char:"⤵️",fitzpatrick_scale:!1,category:"symbols"},hash:{keywords:["symbol","blue-square","twitter"],char:"#️⃣",fitzpatrick_scale:!1,category:"symbols"},information_source:{keywords:["blue-square","alphabet","letter"],char:"ℹ️",fitzpatrick_scale:!1,category:"symbols"},abc:{keywords:["blue-square","alphabet"],char:"🔤",fitzpatrick_scale:!1,category:"symbols"},abcd:{keywords:["blue-square","alphabet"],char:"🔡",fitzpatrick_scale:!1,category:"symbols"},capital_abcd:{keywords:["alphabet","words","blue-square"],char:"🔠",fitzpatrick_scale:!1,category:"symbols"},symbols:{keywords:["blue-square","music","note","ampersand","percent","glyphs","characters"],char:"🔣",fitzpatrick_scale:!1,category:"symbols"},musical_note:{keywords:["score","tone","sound"],char:"🎵",fitzpatrick_scale:!1,category:"symbols"},notes:{keywords:["music","score"],char:"🎶",fitzpatrick_scale:!1,category:"symbols"},wavy_dash:{keywords:["draw","line","moustache","mustache","squiggle","scribble"],char:"〰️",fitzpatrick_scale:!1,category:"symbols"},curly_loop:{keywords:["scribble","draw","shape","squiggle"],char:"➰",fitzpatrick_scale:!1,category:"symbols"},heavy_check_mark:{keywords:["ok","nike","answer","yes","tick"],char:"✔️",fitzpatrick_scale:!1,category:"symbols"},arrows_clockwise:{keywords:["sync","cycle","round","repeat"],char:"🔃",fitzpatrick_scale:!1,category:"symbols"},heavy_plus_sign:{keywords:["math","calculation","addition","more","increase"],char:"➕",fitzpatrick_scale:!1,category:"symbols"},heavy_minus_sign:{keywords:["math","calculation","subtract","less"],char:"➖",fitzpatrick_scale:!1,category:"symbols"},heavy_division_sign:{keywords:["divide","math","calculation"],char:"➗",fitzpatrick_scale:!1,category:"symbols"},heavy_multiplication_x:{keywords:["math","calculation"],char:"✖️",fitzpatrick_scale:!1,category:"symbols"},infinity:{keywords:["forever"],char:"♾",fitzpatrick_scale:!1,category:"symbols"},heavy_dollar_sign:{keywords:["money","sales","payment","currency","buck"],char:"💲",fitzpatrick_scale:!1,category:"symbols"},currency_exchange:{keywords:["money","sales","dollar","travel"],char:"💱",fitzpatrick_scale:!1,category:"symbols"},copyright:{keywords:["ip","license","circle","law","legal"],char:"©️",fitzpatrick_scale:!1,category:"symbols"},registered:{keywords:["alphabet","circle"],char:"®️",fitzpatrick_scale:!1,category:"symbols"},tm:{keywords:["trademark","brand","law","legal"],char:"™️",fitzpatrick_scale:!1,category:"symbols"},end:{keywords:["words","arrow"],char:"🔚",fitzpatrick_scale:!1,category:"symbols"},back:{keywords:["arrow","words","return"],char:"🔙",fitzpatrick_scale:!1,category:"symbols"},on:{keywords:["arrow","words"],char:"🔛",fitzpatrick_scale:!1,category:"symbols"},top:{keywords:["words","blue-square"],char:"🔝",fitzpatrick_scale:!1,category:"symbols"},soon:{keywords:["arrow","words"],char:"🔜",fitzpatrick_scale:!1,category:"symbols"},ballot_box_with_check:{keywords:["ok","agree","confirm","black-square","vote","election","yes","tick"],char:"☑️",fitzpatrick_scale:!1,category:"symbols"},radio_button:{keywords:["input","old","music","circle"],char:"🔘",fitzpatrick_scale:!1,category:"symbols"},white_circle:{keywords:["shape","round"],char:"⚪",fitzpatrick_scale:!1,category:"symbols"},black_circle:{keywords:["shape","button","round"],char:"⚫",fitzpatrick_scale:!1,category:"symbols"},red_circle:{keywords:["shape","error","danger"],char:"🔴",fitzpatrick_scale:!1,category:"symbols"},large_blue_circle:{keywords:["shape","icon","button"],char:"🔵",fitzpatrick_scale:!1,category:"symbols"},small_orange_diamond:{keywords:["shape","jewel","gem"],char:"🔸",fitzpatrick_scale:!1,category:"symbols"},small_blue_diamond:{keywords:["shape","jewel","gem"],char:"🔹",fitzpatrick_scale:!1,category:"symbols"},large_orange_diamond:{keywords:["shape","jewel","gem"],char:"🔶",fitzpatrick_scale:!1,category:"symbols"},large_blue_diamond:{keywords:["shape","jewel","gem"],char:"🔷",fitzpatrick_scale:!1,category:"symbols"},small_red_triangle:{keywords:["shape","direction","up","top"],char:"🔺",fitzpatrick_scale:!1,category:"symbols"},black_small_square:{keywords:["shape","icon"],char:"▪️",fitzpatrick_scale:!1,category:"symbols"},white_small_square:{keywords:["shape","icon"],char:"▫️",fitzpatrick_scale:!1,category:"symbols"},black_large_square:{keywords:["shape","icon","button"],char:"⬛",fitzpatrick_scale:!1,category:"symbols"},white_large_square:{keywords:["shape","icon","stone","button"],char:"⬜",fitzpatrick_scale:!1,category:"symbols"},small_red_triangle_down:{keywords:["shape","direction","bottom"],char:"🔻",fitzpatrick_scale:!1,category:"symbols"},black_medium_square:{keywords:["shape","button","icon"],char:"◼️",fitzpatrick_scale:!1,category:"symbols"},white_medium_square:{keywords:["shape","stone","icon"],char:"◻️",fitzpatrick_scale:!1,category:"symbols"},black_medium_small_square:{keywords:["icon","shape","button"],char:"◾",fitzpatrick_scale:!1,category:"symbols"},white_medium_small_square:{keywords:["shape","stone","icon","button"],char:"◽",fitzpatrick_scale:!1,category:"symbols"},black_square_button:{keywords:["shape","input","frame"],char:"🔲",fitzpatrick_scale:!1,category:"symbols"},white_square_button:{keywords:["shape","input"],char:"🔳",fitzpatrick_scale:!1,category:"symbols"},speaker:{keywords:["sound","volume","silence","broadcast"],char:"🔈",fitzpatrick_scale:!1,category:"symbols"},sound:{keywords:["volume","speaker","broadcast"],char:"🔉",fitzpatrick_scale:!1,category:"symbols"},loud_sound:{keywords:["volume","noise","noisy","speaker","broadcast"],char:"🔊",fitzpatrick_scale:!1,category:"symbols"},mute:{keywords:["sound","volume","silence","quiet"],char:"🔇",fitzpatrick_scale:!1,category:"symbols"},mega:{keywords:["sound","speaker","volume"],char:"📣",fitzpatrick_scale:!1,category:"symbols"},loudspeaker:{keywords:["volume","sound"],char:"📢",fitzpatrick_scale:!1,category:"symbols"},bell:{keywords:["sound","notification","christmas","xmas","chime"],char:"🔔",fitzpatrick_scale:!1,category:"symbols"},no_bell:{keywords:["sound","volume","mute","quiet","silent"],char:"🔕",fitzpatrick_scale:!1,category:"symbols"},black_joker:{keywords:["poker","cards","game","play","magic"],char:"🃏",fitzpatrick_scale:!1,category:"symbols"},mahjong:{keywords:["game","play","chinese","kanji"],char:"🀄",fitzpatrick_scale:!1,category:"symbols"},spades:{keywords:["poker","cards","suits","magic"],char:"♠️",fitzpatrick_scale:!1,category:"symbols"},clubs:{keywords:["poker","cards","magic","suits"],char:"♣️",fitzpatrick_scale:!1,category:"symbols"},hearts:{keywords:["poker","cards","magic","suits"],char:"♥️",fitzpatrick_scale:!1,category:"symbols"},diamonds:{keywords:["poker","cards","magic","suits"],char:"♦️",fitzpatrick_scale:!1,category:"symbols"},flower_playing_cards:{keywords:["game","sunset","red"],char:"🎴",fitzpatrick_scale:!1,category:"symbols"},thought_balloon:{keywords:["bubble","cloud","speech","thinking","dream"],char:"💭",fitzpatrick_scale:!1,category:"symbols"},right_anger_bubble:{keywords:["caption","speech","thinking","mad"],char:"🗯",fitzpatrick_scale:!1,category:"symbols"},speech_balloon:{keywords:["bubble","words","message","talk","chatting"],char:"💬",fitzpatrick_scale:!1,category:"symbols"},left_speech_bubble:{keywords:["words","message","talk","chatting"],char:"🗨",fitzpatrick_scale:!1,category:"symbols"},clock1:{keywords:["time","late","early","schedule"],char:"🕐",fitzpatrick_scale:!1,category:"symbols"},clock2:{keywords:["time","late","early","schedule"],char:"🕑",fitzpatrick_scale:!1,category:"symbols"},clock3:{keywords:["time","late","early","schedule"],char:"🕒",fitzpatrick_scale:!1,category:"symbols"},clock4:{keywords:["time","late","early","schedule"],char:"🕓",fitzpatrick_scale:!1,category:"symbols"},clock5:{keywords:["time","late","early","schedule"],char:"🕔",fitzpatrick_scale:!1,category:"symbols"},clock6:{keywords:["time","late","early","schedule","dawn","dusk"],char:"🕕",fitzpatrick_scale:!1,category:"symbols"},clock7:{keywords:["time","late","early","schedule"],char:"🕖",fitzpatrick_scale:!1,category:"symbols"},clock8:{keywords:["time","late","early","schedule"],char:"🕗",fitzpatrick_scale:!1,category:"symbols"},clock9:{keywords:["time","late","early","schedule"],char:"🕘",fitzpatrick_scale:!1,category:"symbols"},clock10:{keywords:["time","late","early","schedule"],char:"🕙",fitzpatrick_scale:!1,category:"symbols"},clock11:{keywords:["time","late","early","schedule"],char:"🕚",fitzpatrick_scale:!1,category:"symbols"},clock12:{keywords:["time","noon","midnight","midday","late","early","schedule"],char:"🕛",fitzpatrick_scale:!1,category:"symbols"},clock130:{keywords:["time","late","early","schedule"],char:"🕜",fitzpatrick_scale:!1,category:"symbols"},clock230:{keywords:["time","late","early","schedule"],char:"🕝",fitzpatrick_scale:!1,category:"symbols"},clock330:{keywords:["time","late","early","schedule"],char:"🕞",fitzpatrick_scale:!1,category:"symbols"},clock430:{keywords:["time","late","early","schedule"],char:"🕟",fitzpatrick_scale:!1,category:"symbols"},clock530:{keywords:["time","late","early","schedule"],char:"🕠",fitzpatrick_scale:!1,category:"symbols"},clock630:{keywords:["time","late","early","schedule"],char:"🕡",fitzpatrick_scale:!1,category:"symbols"},clock730:{keywords:["time","late","early","schedule"],char:"🕢",fitzpatrick_scale:!1,category:"symbols"},clock830:{keywords:["time","late","early","schedule"],char:"🕣",fitzpatrick_scale:!1,category:"symbols"},clock930:{keywords:["time","late","early","schedule"],char:"🕤",fitzpatrick_scale:!1,category:"symbols"},clock1030:{keywords:["time","late","early","schedule"],char:"🕥",fitzpatrick_scale:!1,category:"symbols"},clock1130:{keywords:["time","late","early","schedule"],char:"🕦",fitzpatrick_scale:!1,category:"symbols"},clock1230:{keywords:["time","late","early","schedule"],char:"🕧",fitzpatrick_scale:!1,category:"symbols"},afghanistan:{keywords:["af","flag","nation","country","banner"],char:"🇦🇫",fitzpatrick_scale:!1,category:"flags"},aland_islands:{keywords:["Åland","islands","flag","nation","country","banner"],char:"🇦🇽",fitzpatrick_scale:!1,category:"flags"},albania:{keywords:["al","flag","nation","country","banner"],char:"🇦🇱",fitzpatrick_scale:!1,category:"flags"},algeria:{keywords:["dz","flag","nation","country","banner"],char:"🇩🇿",fitzpatrick_scale:!1,category:"flags"},american_samoa:{keywords:["american","ws","flag","nation","country","banner"],char:"🇦🇸",fitzpatrick_scale:!1,category:"flags"},andorra:{keywords:["ad","flag","nation","country","banner"],char:"🇦🇩",fitzpatrick_scale:!1,category:"flags"},angola:{keywords:["ao","flag","nation","country","banner"],char:"🇦🇴",fitzpatrick_scale:!1,category:"flags"},anguilla:{keywords:["ai","flag","nation","country","banner"],char:"🇦🇮",fitzpatrick_scale:!1,category:"flags"},antarctica:{keywords:["aq","flag","nation","country","banner"],char:"🇦🇶",fitzpatrick_scale:!1,category:"flags"},antigua_barbuda:{keywords:["antigua","barbuda","flag","nation","country","banner"],char:"🇦🇬",fitzpatrick_scale:!1,category:"flags"},argentina:{keywords:["ar","flag","nation","country","banner"],char:"🇦🇷",fitzpatrick_scale:!1,category:"flags"},armenia:{keywords:["am","flag","nation","country","banner"],char:"🇦🇲",fitzpatrick_scale:!1,category:"flags"},aruba:{keywords:["aw","flag","nation","country","banner"],char:"🇦🇼",fitzpatrick_scale:!1,category:"flags"},australia:{keywords:["au","flag","nation","country","banner"],char:"🇦🇺",fitzpatrick_scale:!1,category:"flags"},austria:{keywords:["at","flag","nation","country","banner"],char:"🇦🇹",fitzpatrick_scale:!1,category:"flags"},azerbaijan:{keywords:["az","flag","nation","country","banner"],char:"🇦🇿",fitzpatrick_scale:!1,category:"flags"},bahamas:{keywords:["bs","flag","nation","country","banner"],char:"🇧🇸",fitzpatrick_scale:!1,category:"flags"},bahrain:{keywords:["bh","flag","nation","country","banner"],char:"🇧🇭",fitzpatrick_scale:!1,category:"flags"},bangladesh:{keywords:["bd","flag","nation","country","banner"],char:"🇧🇩",fitzpatrick_scale:!1,category:"flags"},barbados:{keywords:["bb","flag","nation","country","banner"],char:"🇧🇧",fitzpatrick_scale:!1,category:"flags"},belarus:{keywords:["by","flag","nation","country","banner"],char:"🇧🇾",fitzpatrick_scale:!1,category:"flags"},belgium:{keywords:["be","flag","nation","country","banner"],char:"🇧🇪",fitzpatrick_scale:!1,category:"flags"},belize:{keywords:["bz","flag","nation","country","banner"],char:"🇧🇿",fitzpatrick_scale:!1,category:"flags"},benin:{keywords:["bj","flag","nation","country","banner"],char:"🇧🇯",fitzpatrick_scale:!1,category:"flags"},bermuda:{keywords:["bm","flag","nation","country","banner"],char:"🇧🇲",fitzpatrick_scale:!1,category:"flags"},bhutan:{keywords:["bt","flag","nation","country","banner"],char:"🇧🇹",fitzpatrick_scale:!1,category:"flags"},bolivia:{keywords:["bo","flag","nation","country","banner"],char:"🇧🇴",fitzpatrick_scale:!1,category:"flags"},caribbean_netherlands:{keywords:["bonaire","flag","nation","country","banner"],char:"🇧🇶",fitzpatrick_scale:!1,category:"flags"},bosnia_herzegovina:{keywords:["bosnia","herzegovina","flag","nation","country","banner"],char:"🇧🇦",fitzpatrick_scale:!1,category:"flags"},botswana:{keywords:["bw","flag","nation","country","banner"],char:"🇧🇼",fitzpatrick_scale:!1,category:"flags"},brazil:{keywords:["br","flag","nation","country","banner"],char:"🇧🇷",fitzpatrick_scale:!1,category:"flags"},british_indian_ocean_territory:{keywords:["british","indian","ocean","territory","flag","nation","country","banner"],char:"🇮🇴",fitzpatrick_scale:!1,category:"flags"},british_virgin_islands:{keywords:["british","virgin","islands","bvi","flag","nation","country","banner"],char:"🇻🇬",fitzpatrick_scale:!1,category:"flags"},brunei:{keywords:["bn","darussalam","flag","nation","country","banner"],char:"🇧🇳",fitzpatrick_scale:!1,category:"flags"},bulgaria:{keywords:["bg","flag","nation","country","banner"],char:"🇧🇬",fitzpatrick_scale:!1,category:"flags"},burkina_faso:{keywords:["burkina","faso","flag","nation","country","banner"],char:"🇧🇫",fitzpatrick_scale:!1,category:"flags"},burundi:{keywords:["bi","flag","nation","country","banner"],char:"🇧🇮",fitzpatrick_scale:!1,category:"flags"},cape_verde:{keywords:["cabo","verde","flag","nation","country","banner"],char:"🇨🇻",fitzpatrick_scale:!1,category:"flags"},cambodia:{keywords:["kh","flag","nation","country","banner"],char:"🇰🇭",fitzpatrick_scale:!1,category:"flags"},cameroon:{keywords:["cm","flag","nation","country","banner"],char:"🇨🇲",fitzpatrick_scale:!1,category:"flags"},canada:{keywords:["ca","flag","nation","country","banner"],char:"🇨🇦",fitzpatrick_scale:!1,category:"flags"},canary_islands:{keywords:["canary","islands","flag","nation","country","banner"],char:"🇮🇨",fitzpatrick_scale:!1,category:"flags"},cayman_islands:{keywords:["cayman","islands","flag","nation","country","banner"],char:"🇰🇾",fitzpatrick_scale:!1,category:"flags"},central_african_republic:{keywords:["central","african","republic","flag","nation","country","banner"],char:"🇨🇫",fitzpatrick_scale:!1,category:"flags"},chad:{keywords:["td","flag","nation","country","banner"],char:"🇹🇩",fitzpatrick_scale:!1,category:"flags"},chile:{keywords:["flag","nation","country","banner"],char:"🇨🇱",fitzpatrick_scale:!1,category:"flags"},cn:{keywords:["china","chinese","prc","flag","country","nation","banner"],char:"🇨🇳",fitzpatrick_scale:!1,category:"flags"},christmas_island:{keywords:["christmas","island","flag","nation","country","banner"],char:"🇨🇽",fitzpatrick_scale:!1,category:"flags"},cocos_islands:{keywords:["cocos","keeling","islands","flag","nation","country","banner"],char:"🇨🇨",fitzpatrick_scale:!1,category:"flags"},colombia:{keywords:["co","flag","nation","country","banner"],char:"🇨🇴",fitzpatrick_scale:!1,category:"flags"},comoros:{keywords:["km","flag","nation","country","banner"],char:"🇰🇲",fitzpatrick_scale:!1,category:"flags"},congo_brazzaville:{keywords:["congo","flag","nation","country","banner"],char:"🇨🇬",fitzpatrick_scale:!1,category:"flags"},congo_kinshasa:{keywords:["congo","democratic","republic","flag","nation","country","banner"],char:"🇨🇩",fitzpatrick_scale:!1,category:"flags"},cook_islands:{keywords:["cook","islands","flag","nation","country","banner"],char:"🇨🇰",fitzpatrick_scale:!1,category:"flags"},costa_rica:{keywords:["costa","rica","flag","nation","country","banner"],char:"🇨🇷",fitzpatrick_scale:!1,category:"flags"},croatia:{keywords:["hr","flag","nation","country","banner"],char:"🇭🇷",fitzpatrick_scale:!1,category:"flags"},cuba:{keywords:["cu","flag","nation","country","banner"],char:"🇨🇺",fitzpatrick_scale:!1,category:"flags"},curacao:{keywords:["curaçao","flag","nation","country","banner"],char:"🇨🇼",fitzpatrick_scale:!1,category:"flags"},cyprus:{keywords:["cy","flag","nation","country","banner"],char:"🇨🇾",fitzpatrick_scale:!1,category:"flags"},czech_republic:{keywords:["cz","flag","nation","country","banner"],char:"🇨🇿",fitzpatrick_scale:!1,category:"flags"},denmark:{keywords:["dk","flag","nation","country","banner"],char:"🇩🇰",fitzpatrick_scale:!1,category:"flags"},djibouti:{keywords:["dj","flag","nation","country","banner"],char:"🇩🇯",fitzpatrick_scale:!1,category:"flags"},dominica:{keywords:["dm","flag","nation","country","banner"],char:"🇩🇲",fitzpatrick_scale:!1,category:"flags"},dominican_republic:{keywords:["dominican","republic","flag","nation","country","banner"],char:"🇩🇴",fitzpatrick_scale:!1,category:"flags"},ecuador:{keywords:["ec","flag","nation","country","banner"],char:"🇪🇨",fitzpatrick_scale:!1,category:"flags"},egypt:{keywords:["eg","flag","nation","country","banner"],char:"🇪🇬",fitzpatrick_scale:!1,category:"flags"},el_salvador:{keywords:["el","salvador","flag","nation","country","banner"],char:"🇸🇻",fitzpatrick_scale:!1,category:"flags"},equatorial_guinea:{keywords:["equatorial","gn","flag","nation","country","banner"],char:"🇬🇶",fitzpatrick_scale:!1,category:"flags"},eritrea:{keywords:["er","flag","nation","country","banner"],char:"🇪🇷",fitzpatrick_scale:!1,category:"flags"},estonia:{keywords:["ee","flag","nation","country","banner"],char:"🇪🇪",fitzpatrick_scale:!1,category:"flags"},ethiopia:{keywords:["et","flag","nation","country","banner"],char:"🇪🇹",fitzpatrick_scale:!1,category:"flags"},eu:{keywords:["european","union","flag","banner"],char:"🇪🇺",fitzpatrick_scale:!1,category:"flags"},falkland_islands:{keywords:["falkland","islands","malvinas","flag","nation","country","banner"],char:"🇫🇰",fitzpatrick_scale:!1,category:"flags"},faroe_islands:{keywords:["faroe","islands","flag","nation","country","banner"],char:"🇫🇴",fitzpatrick_scale:!1,category:"flags"},fiji:{keywords:["fj","flag","nation","country","banner"],char:"🇫🇯",fitzpatrick_scale:!1,category:"flags"},finland:{keywords:["fi","flag","nation","country","banner"],char:"🇫🇮",fitzpatrick_scale:!1,category:"flags"},fr:{keywords:["banner","flag","nation","france","french","country"],char:"🇫🇷",fitzpatrick_scale:!1,category:"flags"},french_guiana:{keywords:["french","guiana","flag","nation","country","banner"],char:"🇬🇫",fitzpatrick_scale:!1,category:"flags"},french_polynesia:{keywords:["french","polynesia","flag","nation","country","banner"],char:"🇵🇫",fitzpatrick_scale:!1,category:"flags"},french_southern_territories:{keywords:["french","southern","territories","flag","nation","country","banner"],char:"🇹🇫",fitzpatrick_scale:!1,category:"flags"},gabon:{keywords:["ga","flag","nation","country","banner"],char:"🇬🇦",fitzpatrick_scale:!1,category:"flags"},gambia:{keywords:["gm","flag","nation","country","banner"],char:"🇬🇲",fitzpatrick_scale:!1,category:"flags"},georgia:{keywords:["ge","flag","nation","country","banner"],char:"🇬🇪",fitzpatrick_scale:!1,category:"flags"},de:{keywords:["german","nation","flag","country","banner"],char:"🇩🇪",fitzpatrick_scale:!1,category:"flags"},ghana:{keywords:["gh","flag","nation","country","banner"],char:"🇬🇭",fitzpatrick_scale:!1,category:"flags"},gibraltar:{keywords:["gi","flag","nation","country","banner"],char:"🇬🇮",fitzpatrick_scale:!1,category:"flags"},greece:{keywords:["gr","flag","nation","country","banner"],char:"🇬🇷",fitzpatrick_scale:!1,category:"flags"},greenland:{keywords:["gl","flag","nation","country","banner"],char:"🇬🇱",fitzpatrick_scale:!1,category:"flags"},grenada:{keywords:["gd","flag","nation","country","banner"],char:"🇬🇩",fitzpatrick_scale:!1,category:"flags"},guadeloupe:{keywords:["gp","flag","nation","country","banner"],char:"🇬🇵",fitzpatrick_scale:!1,category:"flags"},guam:{keywords:["gu","flag","nation","country","banner"],char:"🇬🇺",fitzpatrick_scale:!1,category:"flags"},guatemala:{keywords:["gt","flag","nation","country","banner"],char:"🇬🇹",fitzpatrick_scale:!1,category:"flags"},guernsey:{keywords:["gg","flag","nation","country","banner"],char:"🇬🇬",fitzpatrick_scale:!1,category:"flags"},guinea:{keywords:["gn","flag","nation","country","banner"],char:"🇬🇳",fitzpatrick_scale:!1,category:"flags"},guinea_bissau:{keywords:["gw","bissau","flag","nation","country","banner"],char:"🇬🇼",fitzpatrick_scale:!1,category:"flags"},guyana:{keywords:["gy","flag","nation","country","banner"],char:"🇬🇾",fitzpatrick_scale:!1,category:"flags"},haiti:{keywords:["ht","flag","nation","country","banner"],char:"🇭🇹",fitzpatrick_scale:!1,category:"flags"},honduras:{keywords:["hn","flag","nation","country","banner"],char:"🇭🇳",fitzpatrick_scale:!1,category:"flags"},hong_kong:{keywords:["hong","kong","flag","nation","country","banner"],char:"🇭🇰",fitzpatrick_scale:!1,category:"flags"},hungary:{keywords:["hu","flag","nation","country","banner"],char:"🇭🇺",fitzpatrick_scale:!1,category:"flags"},iceland:{keywords:["is","flag","nation","country","banner"],char:"🇮🇸",fitzpatrick_scale:!1,category:"flags"},india:{keywords:["in","flag","nation","country","banner"],char:"🇮🇳",fitzpatrick_scale:!1,category:"flags"},indonesia:{keywords:["flag","nation","country","banner"],char:"🇮🇩",fitzpatrick_scale:!1,category:"flags"},iran:{keywords:["iran,","islamic","republic","flag","nation","country","banner"],char:"🇮🇷",fitzpatrick_scale:!1,category:"flags"},iraq:{keywords:["iq","flag","nation","country","banner"],char:"🇮🇶",fitzpatrick_scale:!1,category:"flags"},ireland:{keywords:["ie","flag","nation","country","banner"],char:"🇮🇪",fitzpatrick_scale:!1,category:"flags"},isle_of_man:{keywords:["isle","man","flag","nation","country","banner"],char:"🇮🇲",fitzpatrick_scale:!1,category:"flags"},israel:{keywords:["il","flag","nation","country","banner"],char:"🇮🇱",fitzpatrick_scale:!1,category:"flags"},it:{keywords:["italy","flag","nation","country","banner"],char:"🇮🇹",fitzpatrick_scale:!1,category:"flags"},cote_divoire:{keywords:["ivory","coast","flag","nation","country","banner"],char:"🇨🇮",fitzpatrick_scale:!1,category:"flags"},jamaica:{keywords:["jm","flag","nation","country","banner"],char:"🇯🇲",fitzpatrick_scale:!1,category:"flags"},jp:{keywords:["japanese","nation","flag","country","banner"],char:"🇯🇵",fitzpatrick_scale:!1,category:"flags"},jersey:{keywords:["je","flag","nation","country","banner"],char:"🇯🇪",fitzpatrick_scale:!1,category:"flags"},jordan:{keywords:["jo","flag","nation","country","banner"],char:"🇯🇴",fitzpatrick_scale:!1,category:"flags"},kazakhstan:{keywords:["kz","flag","nation","country","banner"],char:"🇰🇿",fitzpatrick_scale:!1,category:"flags"},kenya:{keywords:["ke","flag","nation","country","banner"],char:"🇰🇪",fitzpatrick_scale:!1,category:"flags"},kiribati:{keywords:["ki","flag","nation","country","banner"],char:"🇰🇮",fitzpatrick_scale:!1,category:"flags"},kosovo:{keywords:["xk","flag","nation","country","banner"],char:"🇽🇰",fitzpatrick_scale:!1,category:"flags"},kuwait:{keywords:["kw","flag","nation","country","banner"],char:"🇰🇼",fitzpatrick_scale:!1,category:"flags"},kyrgyzstan:{keywords:["kg","flag","nation","country","banner"],char:"🇰🇬",fitzpatrick_scale:!1,category:"flags"},laos:{keywords:["lao","democratic","republic","flag","nation","country","banner"],char:"🇱🇦",fitzpatrick_scale:!1,category:"flags"},latvia:{keywords:["lv","flag","nation","country","banner"],char:"🇱🇻",fitzpatrick_scale:!1,category:"flags"},lebanon:{keywords:["lb","flag","nation","country","banner"],char:"🇱🇧",fitzpatrick_scale:!1,category:"flags"},lesotho:{keywords:["ls","flag","nation","country","banner"],char:"🇱🇸",fitzpatrick_scale:!1,category:"flags"},liberia:{keywords:["lr","flag","nation","country","banner"],char:"🇱🇷",fitzpatrick_scale:!1,category:"flags"},libya:{keywords:["ly","flag","nation","country","banner"],char:"🇱🇾",fitzpatrick_scale:!1,category:"flags"},liechtenstein:{keywords:["li","flag","nation","country","banner"],char:"🇱🇮",fitzpatrick_scale:!1,category:"flags"},lithuania:{keywords:["lt","flag","nation","country","banner"],char:"🇱🇹",fitzpatrick_scale:!1,category:"flags"},luxembourg:{keywords:["lu","flag","nation","country","banner"],char:"🇱🇺",fitzpatrick_scale:!1,category:"flags"},macau:{keywords:["macao","flag","nation","country","banner"],char:"🇲🇴",fitzpatrick_scale:!1,category:"flags"},macedonia:{keywords:["macedonia,","flag","nation","country","banner"],char:"🇲🇰",fitzpatrick_scale:!1,category:"flags"},madagascar:{keywords:["mg","flag","nation","country","banner"],char:"🇲🇬",fitzpatrick_scale:!1,category:"flags"},malawi:{keywords:["mw","flag","nation","country","banner"],char:"🇲🇼",fitzpatrick_scale:!1,category:"flags"},malaysia:{keywords:["my","flag","nation","country","banner"],char:"🇲🇾",fitzpatrick_scale:!1,category:"flags"},maldives:{keywords:["mv","flag","nation","country","banner"],char:"🇲🇻",fitzpatrick_scale:!1,category:"flags"},mali:{keywords:["ml","flag","nation","country","banner"],char:"🇲🇱",fitzpatrick_scale:!1,category:"flags"},malta:{keywords:["mt","flag","nation","country","banner"],char:"🇲🇹",fitzpatrick_scale:!1,category:"flags"},marshall_islands:{keywords:["marshall","islands","flag","nation","country","banner"],char:"🇲🇭",fitzpatrick_scale:!1,category:"flags"},martinique:{keywords:["mq","flag","nation","country","banner"],char:"🇲🇶",fitzpatrick_scale:!1,category:"flags"},mauritania:{keywords:["mr","flag","nation","country","banner"],char:"🇲🇷",fitzpatrick_scale:!1,category:"flags"},mauritius:{keywords:["mu","flag","nation","country","banner"],char:"🇲🇺",fitzpatrick_scale:!1,category:"flags"},mayotte:{keywords:["yt","flag","nation","country","banner"],char:"🇾🇹",fitzpatrick_scale:!1,category:"flags"},mexico:{keywords:["mx","flag","nation","country","banner"],char:"🇲🇽",fitzpatrick_scale:!1,category:"flags"},micronesia:{keywords:["micronesia,","federated","states","flag","nation","country","banner"],char:"🇫🇲",fitzpatrick_scale:!1,category:"flags"},moldova:{keywords:["moldova,","republic","flag","nation","country","banner"],char:"🇲🇩",fitzpatrick_scale:!1,category:"flags"},monaco:{keywords:["mc","flag","nation","country","banner"],char:"🇲🇨",fitzpatrick_scale:!1,category:"flags"},mongolia:{keywords:["mn","flag","nation","country","banner"],char:"🇲🇳",fitzpatrick_scale:!1,category:"flags"},montenegro:{keywords:["me","flag","nation","country","banner"],char:"🇲🇪",fitzpatrick_scale:!1,category:"flags"},montserrat:{keywords:["ms","flag","nation","country","banner"],char:"🇲🇸",fitzpatrick_scale:!1,category:"flags"},morocco:{keywords:["ma","flag","nation","country","banner"],char:"🇲🇦",fitzpatrick_scale:!1,category:"flags"},mozambique:{keywords:["mz","flag","nation","country","banner"],char:"🇲🇿",fitzpatrick_scale:!1,category:"flags"},myanmar:{keywords:["mm","flag","nation","country","banner"],char:"🇲🇲",fitzpatrick_scale:!1,category:"flags"},namibia:{keywords:["na","flag","nation","country","banner"],char:"🇳🇦",fitzpatrick_scale:!1,category:"flags"},nauru:{keywords:["nr","flag","nation","country","banner"],char:"🇳🇷",fitzpatrick_scale:!1,category:"flags"},nepal:{keywords:["np","flag","nation","country","banner"],char:"🇳🇵",fitzpatrick_scale:!1,category:"flags"},netherlands:{keywords:["nl","flag","nation","country","banner"],char:"🇳🇱",fitzpatrick_scale:!1,category:"flags"},new_caledonia:{keywords:["new","caledonia","flag","nation","country","banner"],char:"🇳🇨",fitzpatrick_scale:!1,category:"flags"},new_zealand:{keywords:["new","zealand","flag","nation","country","banner"],char:"🇳🇿",fitzpatrick_scale:!1,category:"flags"},nicaragua:{keywords:["ni","flag","nation","country","banner"],char:"🇳🇮",fitzpatrick_scale:!1,category:"flags"},niger:{keywords:["ne","flag","nation","country","banner"],char:"🇳🇪",fitzpatrick_scale:!1,category:"flags"},nigeria:{keywords:["flag","nation","country","banner"],char:"🇳🇬",fitzpatrick_scale:!1,category:"flags"},niue:{keywords:["nu","flag","nation","country","banner"],char:"🇳🇺",fitzpatrick_scale:!1,category:"flags"},norfolk_island:{keywords:["norfolk","island","flag","nation","country","banner"],char:"🇳🇫",fitzpatrick_scale:!1,category:"flags"},northern_mariana_islands:{keywords:["northern","mariana","islands","flag","nation","country","banner"],char:"🇲🇵",fitzpatrick_scale:!1,category:"flags"},north_korea:{keywords:["north","korea","nation","flag","country","banner"],char:"🇰🇵",fitzpatrick_scale:!1,category:"flags"},norway:{keywords:["no","flag","nation","country","banner"],char:"🇳🇴",fitzpatrick_scale:!1,category:"flags"},oman:{keywords:["om_symbol","flag","nation","country","banner"],char:"🇴🇲",fitzpatrick_scale:!1,category:"flags"},pakistan:{keywords:["pk","flag","nation","country","banner"],char:"🇵🇰",fitzpatrick_scale:!1,category:"flags"},palau:{keywords:["pw","flag","nation","country","banner"],char:"🇵🇼",fitzpatrick_scale:!1,category:"flags"},palestinian_territories:{keywords:["palestine","palestinian","territories","flag","nation","country","banner"],char:"🇵🇸",fitzpatrick_scale:!1,category:"flags"},panama:{keywords:["pa","flag","nation","country","banner"],char:"🇵🇦",fitzpatrick_scale:!1,category:"flags"},papua_new_guinea:{keywords:["papua","new","guinea","flag","nation","country","banner"],char:"🇵🇬",fitzpatrick_scale:!1,category:"flags"},paraguay:{keywords:["py","flag","nation","country","banner"],char:"🇵🇾",fitzpatrick_scale:!1,category:"flags"},peru:{keywords:["pe","flag","nation","country","banner"],char:"🇵🇪",fitzpatrick_scale:!1,category:"flags"},philippines:{keywords:["ph","flag","nation","country","banner"],char:"🇵🇭",fitzpatrick_scale:!1,category:"flags"},pitcairn_islands:{keywords:["pitcairn","flag","nation","country","banner"],char:"🇵🇳",fitzpatrick_scale:!1,category:"flags"},poland:{keywords:["pl","flag","nation","country","banner"],char:"🇵🇱",fitzpatrick_scale:!1,category:"flags"},portugal:{keywords:["pt","flag","nation","country","banner"],char:"🇵🇹",fitzpatrick_scale:!1,category:"flags"},puerto_rico:{keywords:["puerto","rico","flag","nation","country","banner"],char:"🇵🇷",fitzpatrick_scale:!1,category:"flags"},qatar:{keywords:["qa","flag","nation","country","banner"],char:"🇶🇦",fitzpatrick_scale:!1,category:"flags"},reunion:{keywords:["réunion","flag","nation","country","banner"],char:"🇷🇪",fitzpatrick_scale:!1,category:"flags"},romania:{keywords:["ro","flag","nation","country","banner"],char:"🇷🇴",fitzpatrick_scale:!1,category:"flags"},ru:{keywords:["russian","federation","flag","nation","country","banner"],char:"🇷🇺",fitzpatrick_scale:!1,category:"flags"},rwanda:{keywords:["rw","flag","nation","country","banner"],char:"🇷🇼",fitzpatrick_scale:!1,category:"flags"},st_barthelemy:{keywords:["saint","barthélemy","flag","nation","country","banner"],char:"🇧🇱",fitzpatrick_scale:!1,category:"flags"},st_helena:{keywords:["saint","helena","ascension","tristan","cunha","flag","nation","country","banner"],char:"🇸🇭",fitzpatrick_scale:!1,category:"flags"},st_kitts_nevis:{keywords:["saint","kitts","nevis","flag","nation","country","banner"],char:"🇰🇳",fitzpatrick_scale:!1,category:"flags"},st_lucia:{keywords:["saint","lucia","flag","nation","country","banner"],char:"🇱🇨",fitzpatrick_scale:!1,category:"flags"},st_pierre_miquelon:{keywords:["saint","pierre","miquelon","flag","nation","country","banner"],char:"🇵🇲",fitzpatrick_scale:!1,category:"flags"},st_vincent_grenadines:{keywords:["saint","vincent","grenadines","flag","nation","country","banner"],char:"🇻🇨",fitzpatrick_scale:!1,category:"flags"},samoa:{keywords:["ws","flag","nation","country","banner"],char:"🇼🇸",fitzpatrick_scale:!1,category:"flags"},san_marino:{keywords:["san","marino","flag","nation","country","banner"],char:"🇸🇲",fitzpatrick_scale:!1,category:"flags"},sao_tome_principe:{keywords:["sao","tome","principe","flag","nation","country","banner"],char:"🇸🇹",fitzpatrick_scale:!1,category:"flags"},saudi_arabia:{keywords:["flag","nation","country","banner"],char:"🇸🇦",fitzpatrick_scale:!1,category:"flags"},senegal:{keywords:["sn","flag","nation","country","banner"],char:"🇸🇳",fitzpatrick_scale:!1,category:"flags"},serbia:{keywords:["rs","flag","nation","country","banner"],char:"🇷🇸",fitzpatrick_scale:!1,category:"flags"},seychelles:{keywords:["sc","flag","nation","country","banner"],char:"🇸🇨",fitzpatrick_scale:!1,category:"flags"},sierra_leone:{keywords:["sierra","leone","flag","nation","country","banner"],char:"🇸🇱",fitzpatrick_scale:!1,category:"flags"},singapore:{keywords:["sg","flag","nation","country","banner"],char:"🇸🇬",fitzpatrick_scale:!1,category:"flags"},sint_maarten:{keywords:["sint","maarten","dutch","flag","nation","country","banner"],char:"🇸🇽",fitzpatrick_scale:!1,category:"flags"},slovakia:{keywords:["sk","flag","nation","country","banner"],char:"🇸🇰",fitzpatrick_scale:!1,category:"flags"},slovenia:{keywords:["si","flag","nation","country","banner"],char:"🇸🇮",fitzpatrick_scale:!1,category:"flags"},solomon_islands:{keywords:["solomon","islands","flag","nation","country","banner"],char:"🇸🇧",fitzpatrick_scale:!1,category:"flags"},somalia:{keywords:["so","flag","nation","country","banner"],char:"🇸🇴",fitzpatrick_scale:!1,category:"flags"},south_africa:{keywords:["south","africa","flag","nation","country","banner"],char:"🇿🇦",fitzpatrick_scale:!1,category:"flags"},south_georgia_south_sandwich_islands:{keywords:["south","georgia","sandwich","islands","flag","nation","country","banner"],char:"🇬🇸",fitzpatrick_scale:!1,category:"flags"},kr:{keywords:["south","korea","nation","flag","country","banner"],char:"🇰🇷",fitzpatrick_scale:!1,category:"flags"},south_sudan:{keywords:["south","sd","flag","nation","country","banner"],char:"🇸🇸",fitzpatrick_scale:!1,category:"flags"},es:{keywords:["spain","flag","nation","country","banner"],char:"🇪🇸",fitzpatrick_scale:!1,category:"flags"},sri_lanka:{keywords:["sri","lanka","flag","nation","country","banner"],char:"🇱🇰",fitzpatrick_scale:!1,category:"flags"},sudan:{keywords:["sd","flag","nation","country","banner"],char:"🇸🇩",fitzpatrick_scale:!1,category:"flags"},suriname:{keywords:["sr","flag","nation","country","banner"],char:"🇸🇷",fitzpatrick_scale:!1,category:"flags"},swaziland:{keywords:["sz","flag","nation","country","banner"],char:"🇸🇿",fitzpatrick_scale:!1,category:"flags"},sweden:{keywords:["se","flag","nation","country","banner"],char:"🇸🇪",fitzpatrick_scale:!1,category:"flags"},switzerland:{keywords:["ch","flag","nation","country","banner"],char:"🇨🇭",fitzpatrick_scale:!1,category:"flags"},syria:{keywords:["syrian","arab","republic","flag","nation","country","banner"],char:"🇸🇾",fitzpatrick_scale:!1,category:"flags"},taiwan:{keywords:["tw","flag","nation","country","banner"],char:"🇹🇼",fitzpatrick_scale:!1,category:"flags"},tajikistan:{keywords:["tj","flag","nation","country","banner"],char:"🇹🇯",fitzpatrick_scale:!1,category:"flags"},tanzania:{keywords:["tanzania,","united","republic","flag","nation","country","banner"],char:"🇹🇿",fitzpatrick_scale:!1,category:"flags"},thailand:{keywords:["th","flag","nation","country","banner"],char:"🇹🇭",fitzpatrick_scale:!1,category:"flags"},timor_leste:{keywords:["timor","leste","flag","nation","country","banner"],char:"🇹🇱",fitzpatrick_scale:!1,category:"flags"},togo:{keywords:["tg","flag","nation","country","banner"],char:"🇹🇬",fitzpatrick_scale:!1,category:"flags"},tokelau:{keywords:["tk","flag","nation","country","banner"],char:"🇹🇰",fitzpatrick_scale:!1,category:"flags"},tonga:{keywords:["to","flag","nation","country","banner"],char:"🇹🇴",fitzpatrick_scale:!1,category:"flags"},trinidad_tobago:{keywords:["trinidad","tobago","flag","nation","country","banner"],char:"🇹🇹",fitzpatrick_scale:!1,category:"flags"},tunisia:{keywords:["tn","flag","nation","country","banner"],char:"🇹🇳",fitzpatrick_scale:!1,category:"flags"},tr:{keywords:["turkey","flag","nation","country","banner"],char:"🇹🇷",fitzpatrick_scale:!1,category:"flags"},turkmenistan:{keywords:["flag","nation","country","banner"],char:"🇹🇲",fitzpatrick_scale:!1,category:"flags"},turks_caicos_islands:{keywords:["turks","caicos","islands","flag","nation","country","banner"],char:"🇹🇨",fitzpatrick_scale:!1,category:"flags"},tuvalu:{keywords:["flag","nation","country","banner"],char:"🇹🇻",fitzpatrick_scale:!1,category:"flags"},uganda:{keywords:["ug","flag","nation","country","banner"],char:"🇺🇬",fitzpatrick_scale:!1,category:"flags"},ukraine:{keywords:["ua","flag","nation","country","banner"],char:"🇺🇦",fitzpatrick_scale:!1,category:"flags"},united_arab_emirates:{keywords:["united","arab","emirates","flag","nation","country","banner"],char:"🇦🇪",fitzpatrick_scale:!1,category:"flags"},uk:{keywords:["united","kingdom","great","britain","northern","ireland","flag","nation","country","banner","british","UK","english","england","union jack"],char:"🇬🇧",fitzpatrick_scale:!1,category:"flags"},england:{keywords:["flag","english"],char:"🏴󠁧󠁢󠁥󠁮󠁧󠁿",fitzpatrick_scale:!1,category:"flags"},scotland:{keywords:["flag","scottish"],char:"🏴󠁧󠁢󠁳󠁣󠁴󠁿",fitzpatrick_scale:!1,category:"flags"},wales:{keywords:["flag","welsh"],char:"🏴󠁧󠁢󠁷󠁬󠁳󠁿",fitzpatrick_scale:!1,category:"flags"},us:{keywords:["united","states","america","flag","nation","country","banner"],char:"🇺🇸",fitzpatrick_scale:!1,category:"flags"},us_virgin_islands:{keywords:["virgin","islands","us","flag","nation","country","banner"],char:"🇻🇮",fitzpatrick_scale:!1,category:"flags"},uruguay:{keywords:["uy","flag","nation","country","banner"],char:"🇺🇾",fitzpatrick_scale:!1,category:"flags"},uzbekistan:{keywords:["uz","flag","nation","country","banner"],char:"🇺🇿",fitzpatrick_scale:!1,category:"flags"},vanuatu:{keywords:["vu","flag","nation","country","banner"],char:"🇻🇺",fitzpatrick_scale:!1,category:"flags"},vatican_city:{keywords:["vatican","city","flag","nation","country","banner"],char:"🇻🇦",fitzpatrick_scale:!1,category:"flags"},venezuela:{keywords:["ve","bolivarian","republic","flag","nation","country","banner"],char:"🇻🇪",fitzpatrick_scale:!1,category:"flags"},vietnam:{keywords:["viet","nam","flag","nation","country","banner"],char:"🇻🇳",fitzpatrick_scale:!1,category:"flags"},wallis_futuna:{keywords:["wallis","futuna","flag","nation","country","banner"],char:"🇼🇫",fitzpatrick_scale:!1,category:"flags"},western_sahara:{keywords:["western","sahara","flag","nation","country","banner"],char:"🇪🇭",fitzpatrick_scale:!1,category:"flags"},yemen:{keywords:["ye","flag","nation","country","banner"],char:"🇾🇪",fitzpatrick_scale:!1,category:"flags"},zambia:{keywords:["zm","flag","nation","country","banner"],char:"🇿🇲",fitzpatrick_scale:!1,category:"flags"},zimbabwe:{keywords:["zw","flag","nation","country","banner"],char:"🇿🇼",fitzpatrick_scale:!1,category:"flags"},united_nations:{keywords:["un","flag","banner"],char:"🇺🇳",fitzpatrick_scale:!1,category:"flags"},pirate_flag:{keywords:["skull","crossbones","flag","banner"],char:"🏴‍☠️",fitzpatrick_scale:!1,category:"flags"}},ordered:["grinning","smiley","smile","grin","laughing","sweat_smile","joy","rofl","relaxed","blush","innocent","slightly_smiling_face","upside_down_face","wink","relieved","heart_eyes","smiling_face_with_three_hearts","kissing_heart","kissing","kissing_smiling_eyes","kissing_closed_eyes","yum","stuck_out_tongue","stuck_out_tongue_closed_eyes","stuck_out_tongue_winking_eye","zany","raised_eyebrow","monocle","nerd_face","sunglasses","star_struck","partying","smirk","unamused","disappointed","pensive","worried","confused","slightly_frowning_face","frowning_face","persevere","confounded","tired_face","weary","pleading","cry","sob","triumph","angry","rage","symbols_over_mouth","exploding_head","flushed","hot","cold","scream","fearful","cold_sweat","disappointed_relieved","sweat","hugs","thinking","hand_over_mouth","shushing","lying_face","no_mouth","neutral_face","expressionless","grimacing","roll_eyes","hushed","frowning","anguished","open_mouth","astonished","sleeping","drooling_face","sleepy","dizzy_face","zipper_mouth_face","woozy","nauseated_face","vomiting","sneezing_face","mask","face_with_thermometer","face_with_head_bandage","money_mouth_face","cowboy_hat_face","smiling_imp","imp","japanese_ogre","japanese_goblin","clown_face","poop","ghost","skull","skull_and_crossbones","alien","space_invader","robot","jack_o_lantern","smiley_cat","smile_cat","joy_cat","heart_eyes_cat","smirk_cat","kissing_cat","scream_cat","crying_cat_face","pouting_cat","palms_up","open_hands","raised_hands","clap","handshake","+1","-1","facepunch","fist","fist_left","fist_right","crossed_fingers","v","love_you","metal","ok_hand","point_left","point_right","point_up","point_down","point_up_2","raised_hand","raised_back_of_hand","raised_hand_with_fingers_splayed","vulcan_salute","wave","call_me_hand","muscle","fu","writing_hand","pray","foot","leg","ring","lipstick","kiss","lips","tooth","tongue","ear","nose","footprints","eye","eyes","brain","speaking_head","bust_in_silhouette","busts_in_silhouette","baby","girl","child","boy","woman","adult","man","blonde_woman","blonde_man","bearded_person","older_woman","older_adult","older_man","man_with_gua_pi_mao","woman_with_headscarf","woman_with_turban","man_with_turban","policewoman","policeman","construction_worker_woman","construction_worker_man","guardswoman","guardsman","female_detective","male_detective","woman_health_worker","man_health_worker","woman_farmer","man_farmer","woman_cook","man_cook","woman_student","man_student","woman_singer","man_singer","woman_teacher","man_teacher","woman_factory_worker","man_factory_worker","woman_technologist","man_technologist","woman_office_worker","man_office_worker","woman_mechanic","man_mechanic","woman_scientist","man_scientist","woman_artist","man_artist","woman_firefighter","man_firefighter","woman_pilot","man_pilot","woman_astronaut","man_astronaut","woman_judge","man_judge","bride_with_veil","man_in_tuxedo","princess","prince","woman_superhero","man_superhero","woman_supervillain","man_supervillain","mrs_claus","santa","sorceress","wizard","woman_elf","man_elf","woman_vampire","man_vampire","woman_zombie","man_zombie","woman_genie","man_genie","mermaid","merman","woman_fairy","man_fairy","angel","pregnant_woman","breastfeeding","bowing_woman","bowing_man","tipping_hand_woman","tipping_hand_man","no_good_woman","no_good_man","ok_woman","ok_man","raising_hand_woman","raising_hand_man","woman_facepalming","man_facepalming","woman_shrugging","man_shrugging","pouting_woman","pouting_man","frowning_woman","frowning_man","haircut_woman","haircut_man","massage_woman","massage_man","woman_in_steamy_room","man_in_steamy_room","nail_care","selfie","dancer","man_dancing","dancing_women","dancing_men","business_suit_levitating","walking_woman","walking_man","running_woman","running_man","couple","two_women_holding_hands","two_men_holding_hands","couple_with_heart_woman_man","couple_with_heart_woman_woman","couple_with_heart_man_man","couplekiss_man_woman","couplekiss_woman_woman","couplekiss_man_man","family_man_woman_boy","family_man_woman_girl","family_man_woman_girl_boy","family_man_woman_boy_boy","family_man_woman_girl_girl","family_woman_woman_boy","family_woman_woman_girl","family_woman_woman_girl_boy","family_woman_woman_boy_boy","family_woman_woman_girl_girl","family_man_man_boy","family_man_man_girl","family_man_man_girl_boy","family_man_man_boy_boy","family_man_man_girl_girl","family_woman_boy","family_woman_girl","family_woman_girl_boy","family_woman_boy_boy","family_woman_girl_girl","family_man_boy","family_man_girl","family_man_girl_boy","family_man_boy_boy","family_man_girl_girl","yarn","thread","coat","labcoat","womans_clothes","tshirt","jeans","necktie","dress","bikini","kimono","flat_shoe","high_heel","sandal","boot","mans_shoe","athletic_shoe","hiking_boot","socks","gloves","scarf","tophat","billed_hat","womans_hat","mortar_board","rescue_worker_helmet","crown","pouch","purse","handbag","briefcase","school_satchel","luggage","eyeglasses","dark_sunglasses","goggles","closed_umbrella","dog","cat","mouse","hamster","rabbit","fox_face","bear","panda_face","koala","tiger","lion","cow","pig","pig_nose","frog","monkey_face","see_no_evil","hear_no_evil","speak_no_evil","monkey","chicken","penguin","bird","baby_chick","hatching_chick","hatched_chick","duck","eagle","owl","bat","wolf","boar","horse","unicorn","honeybee","bug","butterfly","snail","shell","beetle","ant","mosquito","grasshopper","spider","spider_web","scorpion","turtle","snake","lizard","t-rex","sauropod","octopus","squid","shrimp","lobster","crab","blowfish","tropical_fish","fish","dolphin","whale","whale2","shark","crocodile","tiger2","leopard","zebra","gorilla","elephant","hippopotamus","rhinoceros","dromedary_camel","giraffe","kangaroo","camel","water_buffalo","ox","cow2","racehorse","pig2","ram","sheep","llama","goat","deer","dog2","poodle","cat2","rooster","turkey","peacock","parrot","swan","dove","rabbit2","raccoon","badger","rat","mouse2","chipmunk","hedgehog","paw_prints","dragon","dragon_face","cactus","christmas_tree","evergreen_tree","deciduous_tree","palm_tree","seedling","herb","shamrock","four_leaf_clover","bamboo","tanabata_tree","leaves","fallen_leaf","maple_leaf","ear_of_rice","hibiscus","sunflower","rose","wilted_flower","tulip","blossom","cherry_blossom","bouquet","mushroom","earth_americas","earth_africa","earth_asia","full_moon","waning_gibbous_moon","last_quarter_moon","waning_crescent_moon","new_moon","waxing_crescent_moon","first_quarter_moon","waxing_gibbous_moon","new_moon_with_face","full_moon_with_face","first_quarter_moon_with_face","last_quarter_moon_with_face","sun_with_face","crescent_moon","star","star2","dizzy","sparkles","comet","sunny","sun_behind_small_cloud","partly_sunny","sun_behind_large_cloud","sun_behind_rain_cloud","cloud","cloud_with_rain","cloud_with_lightning_and_rain","cloud_with_lightning","zap","fire","boom","snowflake","cloud_with_snow","snowman","snowman_with_snow","wind_face","dash","tornado","fog","open_umbrella","umbrella","droplet","sweat_drops","ocean","green_apple","apple","pear","tangerine","lemon","banana","watermelon","grapes","strawberry","melon","cherries","peach","mango","pineapple","coconut","kiwi_fruit","tomato","eggplant","avocado","broccoli","leafy_greens","cucumber","hot_pepper","corn","carrot","potato","sweet_potato","croissant","bagel","bread","baguette_bread","pretzel","cheese","egg","fried_egg","pancakes","bacon","steak","poultry_leg","meat_on_bone","bone","hotdog","hamburger","fries","pizza","sandwich","stuffed_flatbread","taco","burrito","green_salad","shallow_pan_of_food","canned_food","spaghetti","ramen","stew","curry","sushi","bento","fried_shrimp","rice_ball","rice","rice_cracker","fish_cake","fortune_cookie","moon_cake","oden","dango","shaved_ice","ice_cream","icecream","pie","cupcake","cake","birthday","custard","lollipop","candy","chocolate_bar","popcorn","doughnut","dumpling","cookie","chestnut","peanuts","honey_pot","milk_glass","baby_bottle","coffee","tea","cup_with_straw","sake","beer","beers","clinking_glasses","wine_glass","tumbler_glass","cocktail","tropical_drink","champagne","spoon","fork_and_knife","plate_with_cutlery","bowl_with_spoon","takeout_box","chopsticks","salt","soccer","basketball","football","baseball","softball","tennis","volleyball","rugby_football","flying_disc","8ball","golf","golfing_woman","golfing_man","ping_pong","badminton","goal_net","ice_hockey","field_hockey","lacrosse","cricket","ski","skier","snowboarder","person_fencing","women_wrestling","men_wrestling","woman_cartwheeling","man_cartwheeling","woman_playing_handball","man_playing_handball","ice_skate","curling_stone","skateboard","sled","bow_and_arrow","fishing_pole_and_fish","boxing_glove","martial_arts_uniform","rowing_woman","rowing_man","climbing_woman","climbing_man","swimming_woman","swimming_man","woman_playing_water_polo","man_playing_water_polo","woman_in_lotus_position","man_in_lotus_position","surfing_woman","surfing_man","basketball_woman","basketball_man","weight_lifting_woman","weight_lifting_man","biking_woman","biking_man","mountain_biking_woman","mountain_biking_man","horse_racing","trophy","running_shirt_with_sash","medal_sports","medal_military","1st_place_medal","2nd_place_medal","3rd_place_medal","reminder_ribbon","rosette","ticket","tickets","performing_arts","art","circus_tent","woman_juggling","man_juggling","microphone","headphones","musical_score","musical_keyboard","drum","saxophone","trumpet","guitar","violin","clapper","video_game","dart","game_die","chess_pawn","slot_machine","jigsaw","bowling","red_car","taxi","blue_car","bus","trolleybus","racing_car","police_car","ambulance","fire_engine","minibus","truck","articulated_lorry","tractor","kick_scooter","motorcycle","bike","motor_scooter","rotating_light","oncoming_police_car","oncoming_bus","oncoming_automobile","oncoming_taxi","aerial_tramway","mountain_cableway","suspension_railway","railway_car","train","monorail","bullettrain_side","bullettrain_front","light_rail","mountain_railway","steam_locomotive","train2","metro","tram","station","flying_saucer","helicopter","small_airplane","airplane","flight_departure","flight_arrival","sailboat","motor_boat","speedboat","ferry","passenger_ship","rocket","artificial_satellite","seat","canoe","anchor","construction","fuelpump","busstop","vertical_traffic_light","traffic_light","ship","ferris_wheel","roller_coaster","carousel_horse","building_construction","foggy","tokyo_tower","factory","fountain","rice_scene","mountain","mountain_snow","mount_fuji","volcano","japan","camping","tent","national_park","motorway","railway_track","sunrise","sunrise_over_mountains","desert","beach_umbrella","desert_island","city_sunrise","city_sunset","cityscape","night_with_stars","bridge_at_night","milky_way","stars","sparkler","fireworks","rainbow","houses","european_castle","japanese_castle","stadium","statue_of_liberty","house","house_with_garden","derelict_house","office","department_store","post_office","european_post_office","hospital","bank","hotel","convenience_store","school","love_hotel","wedding","classical_building","church","mosque","synagogue","kaaba","shinto_shrine","watch","iphone","calling","computer","keyboard","desktop_computer","printer","computer_mouse","trackball","joystick","clamp","minidisc","floppy_disk","cd","dvd","vhs","camera","camera_flash","video_camera","movie_camera","film_projector","film_strip","telephone_receiver","phone","pager","fax","tv","radio","studio_microphone","level_slider","control_knobs","compass","stopwatch","timer_clock","alarm_clock","mantelpiece_clock","hourglass_flowing_sand","hourglass","satellite","battery","electric_plug","bulb","flashlight","candle","fire_extinguisher","wastebasket","oil_drum","money_with_wings","dollar","yen","euro","pound","moneybag","credit_card","gem","balance_scale","toolbox","wrench","hammer","hammer_and_pick","hammer_and_wrench","pick","nut_and_bolt","gear","brick","chains","magnet","gun","bomb","firecracker","hocho","dagger","crossed_swords","shield","smoking","coffin","funeral_urn","amphora","crystal_ball","prayer_beads","nazar_amulet","barber","alembic","telescope","microscope","hole","pill","syringe","dna","microbe","petri_dish","test_tube","thermometer","broom","basket","toilet_paper","label","bookmark","toilet","shower","bathtub","bath","soap","sponge","lotion_bottle","key","old_key","couch_and_lamp","sleeping_bed","bed","door","bellhop_bell","teddy_bear","framed_picture","world_map","parasol_on_ground","moyai","shopping","shopping_cart","balloon","flags","ribbon","gift","confetti_ball","tada","dolls","wind_chime","crossed_flags","izakaya_lantern","red_envelope","email","envelope_with_arrow","incoming_envelope","e-mail","love_letter","postbox","mailbox_closed","mailbox","mailbox_with_mail","mailbox_with_no_mail","package","postal_horn","inbox_tray","outbox_tray","scroll","page_with_curl","bookmark_tabs","receipt","bar_chart","chart_with_upwards_trend","chart_with_downwards_trend","page_facing_up","date","calendar","spiral_calendar","card_index","card_file_box","ballot_box","file_cabinet","clipboard","spiral_notepad","file_folder","open_file_folder","card_index_dividers","newspaper_roll","newspaper","notebook","closed_book","green_book","blue_book","orange_book","notebook_with_decorative_cover","ledger","books","open_book","safety_pin","link","paperclip","paperclips","scissors","triangular_ruler","straight_ruler","abacus","pushpin","round_pushpin","closed_lock_with_key","lock","unlock","lock_with_ink_pen","pen","fountain_pen","black_nib","memo","pencil2","crayon","paintbrush","mag","mag_right","heart","orange_heart","yellow_heart","green_heart","blue_heart","purple_heart","black_heart","broken_heart","heavy_heart_exclamation","two_hearts","revolving_hearts","heartbeat","heartpulse","sparkling_heart","cupid","gift_heart","heart_decoration","peace_symbol","latin_cross","star_and_crescent","om","wheel_of_dharma","star_of_david","six_pointed_star","menorah","yin_yang","orthodox_cross","place_of_worship","ophiuchus","aries","taurus","gemini","cancer","leo","virgo","libra","scorpius","sagittarius","capricorn","aquarius","pisces","id","atom_symbol","u7a7a","u5272","radioactive","biohazard","mobile_phone_off","vibration_mode","u6709","u7121","u7533","u55b6","u6708","eight_pointed_black_star","vs","accept","white_flower","ideograph_advantage","secret","congratulations","u5408","u6e80","u7981","a","b","ab","cl","o2","sos","no_entry","name_badge","no_entry_sign","x","o","stop_sign","anger","hotsprings","no_pedestrians","do_not_litter","no_bicycles","non-potable_water","underage","no_mobile_phones","exclamation","grey_exclamation","question","grey_question","bangbang","interrobang","100","low_brightness","high_brightness","trident","fleur_de_lis","part_alternation_mark","warning","children_crossing","beginner","recycle","u6307","chart","sparkle","eight_spoked_asterisk","negative_squared_cross_mark","white_check_mark","diamond_shape_with_a_dot_inside","cyclone","loop","globe_with_meridians","m","atm","zzz","sa","passport_control","customs","baggage_claim","left_luggage","wheelchair","no_smoking","wc","parking","potable_water","mens","womens","baby_symbol","restroom","put_litter_in_its_place","cinema","signal_strength","koko","ng","ok","up","cool","new","free","zero","one","two","three","four","five","six","seven","eight","nine","keycap_ten","asterisk","1234","eject_button","arrow_forward","pause_button","next_track_button","stop_button","record_button","play_or_pause_button","previous_track_button","fast_forward","rewind","twisted_rightwards_arrows","repeat","repeat_one","arrow_backward","arrow_up_small","arrow_down_small","arrow_double_up","arrow_double_down","arrow_right","arrow_left","arrow_up","arrow_down","arrow_upper_right","arrow_lower_right","arrow_lower_left","arrow_upper_left","arrow_up_down","left_right_arrow","arrows_counterclockwise","arrow_right_hook","leftwards_arrow_with_hook","arrow_heading_up","arrow_heading_down","hash","information_source","abc","abcd","capital_abcd","symbols","musical_note","notes","wavy_dash","curly_loop","heavy_check_mark","arrows_clockwise","heavy_plus_sign","heavy_minus_sign","heavy_division_sign","heavy_multiplication_x","infinity","heavy_dollar_sign","currency_exchange","copyright","registered","tm","end","back","on","top","soon","ballot_box_with_check","radio_button","white_circle","black_circle","red_circle","large_blue_circle","small_orange_diamond","small_blue_diamond","large_orange_diamond","large_blue_diamond","small_red_triangle","black_small_square","white_small_square","black_large_square","white_large_square","small_red_triangle_down","black_medium_square","white_medium_square","black_medium_small_square","white_medium_small_square","black_square_button","white_square_button","speaker","sound","loud_sound","mute","mega","loudspeaker","bell","no_bell","black_joker","mahjong","spades","clubs","hearts","diamonds","flower_playing_cards","thought_balloon","right_anger_bubble","speech_balloon","left_speech_bubble","clock1","clock2","clock3","clock4","clock5","clock6","clock7","clock8","clock9","clock10","clock11","clock12","clock130","clock230","clock330","clock430","clock530","clock630","clock730","clock830","clock930","clock1030","clock1130","clock1230","white_flag","black_flag","pirate_flag","checkered_flag","triangular_flag_on_post","rainbow_flag","united_nations","afghanistan","aland_islands","albania","algeria","american_samoa","andorra","angola","anguilla","antarctica","antigua_barbuda","argentina","armenia","aruba","australia","austria","azerbaijan","bahamas","bahrain","bangladesh","barbados","belarus","belgium","belize","benin","bermuda","bhutan","bolivia","caribbean_netherlands","bosnia_herzegovina","botswana","brazil","british_indian_ocean_territory","british_virgin_islands","brunei","bulgaria","burkina_faso","burundi","cape_verde","cambodia","cameroon","canada","canary_islands","cayman_islands","central_african_republic","chad","chile","cn","christmas_island","cocos_islands","colombia","comoros","congo_brazzaville","congo_kinshasa","cook_islands","costa_rica","croatia","cuba","curacao","cyprus","czech_republic","denmark","djibouti","dominica","dominican_republic","ecuador","egypt","el_salvador","equatorial_guinea","eritrea","estonia","ethiopia","eu","falkland_islands","faroe_islands","fiji","finland","fr","french_guiana","french_polynesia","french_southern_territories","gabon","gambia","georgia","de","ghana","gibraltar","greece","greenland","grenada","guadeloupe","guam","guatemala","guernsey","guinea","guinea_bissau","guyana","haiti","honduras","hong_kong","hungary","iceland","india","indonesia","iran","iraq","ireland","isle_of_man","israel","it","cote_divoire","jamaica","jp","jersey","jordan","kazakhstan","kenya","kiribati","kosovo","kuwait","kyrgyzstan","laos","latvia","lebanon","lesotho","liberia","libya","liechtenstein","lithuania","luxembourg","macau","macedonia","madagascar","malawi","malaysia","maldives","mali","malta","marshall_islands","martinique","mauritania","mauritius","mayotte","mexico","micronesia","moldova","monaco","mongolia","montenegro","montserrat","morocco","mozambique","myanmar","namibia","nauru","nepal","netherlands","new_caledonia","new_zealand","nicaragua","niger","nigeria","niue","norfolk_island","northern_mariana_islands","north_korea","norway","oman","pakistan","palau","palestinian_territories","panama","papua_new_guinea","paraguay","peru","philippines","pitcairn_islands","poland","portugal","puerto_rico","qatar","reunion","romania","ru","rwanda","st_barthelemy","st_helena","st_kitts_nevis","st_lucia","st_pierre_miquelon","st_vincent_grenadines","samoa","san_marino","sao_tome_principe","saudi_arabia","senegal","serbia","seychelles","sierra_leone","singapore","sint_maarten","slovakia","slovenia","solomon_islands","somalia","south_africa","south_georgia_south_sandwich_islands","kr","south_sudan","es","sri_lanka","sudan","suriname","swaziland","sweden","switzerland","syria","taiwan","tajikistan","tanzania","thailand","timor_leste","togo","tokelau","tonga","trinidad_tobago","tunisia","tr","turkmenistan","turks_caicos_islands","tuvalu","uganda","ukraine","united_arab_emirates","uk","england","scotland","wales","us","us_virgin_islands","uruguay","uzbekistan","vanuatu","vatican_city","venezuela","vietnam","wallis_futuna","western_sahara","yemen","zambia","zimbabwe"],fitzpatrick_scale_modifiers:["🏻","🏼","🏽","🏾","🏿"]};const oB=It(sB);var lB=()=>{const e="\\ud800-\\udfff",s="\\u0300-\\u036f"+"\\ufe20-\\ufe2f"+"\\u20d0-\\u20ff"+"\\u1ab0-\\u1aff"+"\\u1dc0-\\u1dff",o="\\ufe0e\\ufe0f",l="\\uD83D\\uDC69\\uD83C\\uDFFB\\u200D\\uD83C\\uDF93",c=`[${e}]`,f=`[${s}]`,d="\\ud83c[\\udffb-\\udfff]",u=`(?:${f}|${d})`,p=`[^${e}]`,_="(?:\\uD83C[\\uDDE6-\\uDDFF]){2}",E="[\\ud800-\\udbff][\\udc00-\\udfff]",v="\\u200d",g="(?:\\ud83c\\udff4\\udb40\\udc67\\udb40\\udc62\\udb40(?:\\udc65|\\udc73|\\udc77)\\udb40(?:\\udc6e|\\udc63|\\udc6c)\\udb40(?:\\udc67|\\udc74|\\udc73)\\udb40\\udc7f)",k=`[${l}]`,y=`${u}?`,b=`[${o}]?`,w=`(?:${v}(?:${[p,_,E].join("|")})${b+y})*`,h=b+y+w,O=`(?:${[`${p}${f}?`,f,_,E,c,k].join("|")})`;return new RegExp(`${g}|${d}(?=${d})|${O+h}`,"g")};It(lB)();var cB="️",uB=new RegExp(cB,"g");function fB(e){return e.replace(uB,"")}function dB(e){return/:.+:/.test(e)?e.slice(1,-1):e}var $S=Object.entries(oB.lib).map(([e,{char:t}])=>[e,t]),hB=new Map($S);new Map($S.map(([e,t])=>[fB(t),e]));var pB=e=>(iB.assert.string(e),hB.get(dB(e)));const QS=[{description:"angry face",emoji:"😠",emoticons:[">:(",">:[",">:-(",">:-[",">=(",">=[",">=-(",">=-["],name:"angry",tags:["mad","annoyed"]},{description:"smiling face with smiling eyes",emoji:"😊",emoticons:[':")',':"]',':"D',':-")',':-"]',':-"D','=")','="]','="D','=-")','=-"]','=-"D'],name:"blush",tags:["proud"]},{description:"broken heart",emoji:"💔",emoticons:["<\\3","</3"],name:"broken_heart",tags:[]},{description:"confused face",emoji:"😕",emoticons:[":/",":\\",":-/",":-\\","=/","=\\","=-/","=-\\"],name:"confused",tags:[]},{description:"crying face",emoji:"😢",emoticons:[":,(",":,[",":,|",":,-(",":,-[",":,-|",":'(",":'[",":'|",":'-(",":'-[",":'-|","=,(","=,[","=,|","=,-(","=,-[","=,-|","='(","='[","='|","='-(","='-[","='-|","T-T"],name:"cry",tags:["sad","tear"]},{description:"frowning face with open mouth",emoji:"😦",emoticons:[":(",":[",":-(",":-[","=(","=[","=-(","=-["],name:"frowning",tags:[]},{description:"red heart",emoji:"❤️",emoticons:["<3"],name:"heart",tags:["love"]},{description:"angry face with horns",emoji:"👿",emoticons:["]:(","]:[","]:-(","]:-[","]=(","]=[","]=-(","]=-["],name:"imp",tags:["angry","devil","evil","horns"]},{description:"smiling face with halo",emoji:"😇",emoticons:["o:)","o:]","o:D","o:-)","o:-]","o:-D","o=)","o=]","o=D","o=-)","o=-]","o=-D","O:)","O:]","O:D","O:-)","O:-]","O:-D","O=)","O=]","O=D","O=-)","O=-]","O=-D","0:)","0:]","0:D","0:-)","0:-]","0:-D","0=)","0=]","0=D","0=-)","0=-]","0=-D"],name:"innocent",tags:["angel"]},{description:"face with tears of joy",emoji:"😂",emoticons:[":,)",":,]",":,D",":,-)",":,-]",":,-D",":')",":']",":'D",":'-)",":'-]",":'-D","=,)","=,]","=,D","=,-)","=,-]","=,-D","=')","=']","='D","='-)","='-]","='-D"],name:"joy",tags:["tears"]},{description:"kissing face",emoji:"😗",emoticons:[":*",":-*","=*","=-*"],name:"kissing",tags:[]},{description:"grinning squinting face",emoji:"😆",emoticons:["x)","x]","xD","x-)","x-]","x-D","X)","X]","X-)","X-]","X-D"],name:"laughing",tags:["happy","haha"]},{description:"man",emoji:"👨",emoticons:[":3",":-3","=3","=-3",";3",";-3","x3","x-3","X3","X-3"],name:"man",tags:["mustache","father","dad"]},{description:"neutral face",emoji:"😐",emoticons:[":|",":-|","=|","=-|"],name:"neutral_face",tags:["meh"]},{description:"face without mouth",emoji:"😶",emoticons:[":-"],name:"no_mouth",tags:["mute","silence"]},{description:"face with open mouth",emoji:"😮",emoticons:[":o",":O",":0",":-o",":-O",":-0","=o","=O","=0","=-o","=-O","=-0"],name:"open_mouth",tags:["surprise","impressed","wow"]},{description:"enraged face",emoji:"😡",emoticons:[":@",":-@","=@","=-@"],name:"rage",tags:["angry"]},{description:"grinning face with smiling eyes",emoji:"😄",emoticons:[":D",":-D","=D","=-D"],name:"smile",tags:["happy","joy","laugh","pleased"]},{description:"grinning face with big eyes",emoji:"😃",emoticons:[":)",":]",":-)",":-]","=)","=]","=-)","=-]"],name:"smiley",tags:["happy","joy","haha"]},{description:"smiling face with horns",emoji:"😈",emoticons:["]:)","]:]","]:D","]:-)","]:-]","]:-D","]=)","]=]","]=D","]=-)","]=-]","]=-D"],name:"smiling_imp",tags:["devil","evil","horns"]},{description:"loudly crying face",emoji:"😭",emoticons:[":,'(",":,'[",":,'-(",":,'-[",":',(",":',[",":',-(",":',-[","=,'(","=,'[","=,'-(","=,'-[","=',(","=',[","=',-(","=',-["],name:"sob",tags:["sad","cry","bawling"]},{description:"face with tongue",emoji:"😛",emoticons:[":p",":P",":d",":-p",":-P",":-d","=p","=P","=d","=-p","=-P","=-d"],name:"stuck_out_tongue",tags:[]},{description:"squinting face with tongue",emoji:"😝",emoticons:["xP","x-p","x-P","x-d","Xp","Xd","X-p","X-P","X-d"],name:"stuck_out_tongue_closed_eyes",tags:["prank"]},{description:"winking face with tongue",emoji:"😜",emoticons:[";p",";P",";d",";-p",";-P",";-d"],name:"stuck_out_tongue_winking_eye",tags:["prank","silly"]},{description:"smiling face with sunglasses",emoji:"😎",emoticons:["8)","8]","8D","8-)","8-]","8-D","B)","B]","B-)","B-]","B-D"],name:"sunglasses",tags:["cool"]},{description:"downcast face with sweat",emoji:"😓",emoticons:[",:(",",:[",",:-(",",:-[",",=(",",=[",",=-(",",=-[","':(","':[","':-(","':-[","'=(","'=[","'=-(","'=-["],name:"sweat",tags:[]},{description:"grinning face with sweat",emoji:"😅",emoticons:[",:)",",:]",",:D",",:-)",",:-]",",:-D",",=)",",=]",",=D",",=-)",",=-]",",=-D","':)","':]","':D","':-)","':-]","':-D","'=)","'=]","'=D","'=-)","'=-]","'=-D"],name:"sweat_smile",tags:["hot"]},{description:"unamused face",emoji:"😒",emoticons:[":$",":s",":z",":S",":Z",":-$",":-s",":-z",":-S",":-Z","=$","=s","=z","=S","=Z","=-$","=-s","=-z","=-S","=-Z"],name:"unamused",tags:["meh"]},{description:"winking face",emoji:"😉",emoticons:[";)",";]",";D",";-)",";-]",";-D"],name:"wink",tags:["flirt"]}];function mB(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function VS(e,t,a){const r=Bf((a||{}).ignore||[]),i=gB(t);let s=-1;for(;++s<i.length;)gv(e,"text",o);function o(c,f){let d=-1,u;for(;++d<f.length;){const p=f[d],_=u?u.children:void 0;if(r(p,_?_.indexOf(p):void 0,u))return;u=p}if(u)return l(c,f)}function l(c,f){const d=f[f.length-1],u=i[s][0],p=i[s][1];let _=0;const v=d.children.indexOf(c);let g=!1,k=[];u.lastIndex=0;let y=u.exec(c.value);for(;y;){const b=y.index,w={index:y.index,input:y.input,stack:[...f,c]};let h=p(...y,w);if(typeof h=="string"&&(h=h.length>0?{type:"text",value:h}:void 0),h===!1?u.lastIndex=b+1:(_!==b&&k.push({type:"text",value:c.value.slice(_,b)}),Array.isArray(h)?k.push(...h):h&&k.push(h),_=b+y[0].length,g=!0),!u.global)break;y=u.exec(c.value)}return g?(_<c.value.length&&k.push({type:"text",value:c.value.slice(_)}),d.children.splice(v,1,...k)):k=[c],v+k.length}}function gB(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const a=!e[0]||Array.isArray(e[0])?e:[e];let n=-1;for(;++n<a.length;){const r=a[n];t.push([yB(r[0]),_B(r[1])])}return t}function yB(e){return typeof e=="string"?new RegExp(mB(e),"g"):e}function _B(e){return typeof e=="function"?e:function(){return e}}const bB=/:\+1:|:-1:|:[\w-]+:/g,kB=/[$@|*'",;.=:\-)([\]\\/<>038BOopPsSdDxXzZ]{2,5}/g,wB=/(?:_|-(?!1))/g,EB={padSpaceAfter:!1,emoticon:!1,accessible:!1},TB=e=>{const t=Object.assign({},EB,e),a=!!t.padSpaceAfter,n=!!t.emoticon,r=!!t.accessible;function i(f,d){return{type:"text",value:f,data:{hName:"span",hProperties:{role:"img",ariaLabel:d},hChildren:[{type:"text",value:f}]}}}function s(f){const d=QS.find(g=>g.emoticons.includes(f)),u=QS.find(g=>g.emoticons.includes(f.slice(0,-1))),p=d||u;if(!p)return!1;const _=!d&&u?f.slice(-1):"",E=a?" ":"",v=p.emoji+E+_;return r?i(v,p.name+" emoticon"):v}function o(f){let d=pB(f);if(typeof d>"u")return!1;if(a&&(d=d+" "),r){const u=f.slice(1,-1).replace(wB," ")+" emoji";return i(d,u)}return d}const l=[[bB,o]];n&&l.push([kB,s]);function c(f){VS(f,l)}return c};function GS(e,t){const a=String(e);if(typeof t!="string")throw new TypeError("Expected character");let n=0,r=a.indexOf(t);for(;r!==-1;)n++,r=a.indexOf(t,r+t.length);return n}const xy="phrasing",zy=["autolink","link","image","label"];function vB(){return{transforms:[OB],enter:{literalAutolink:AB,literalAutolinkEmail:Ny,literalAutolinkHttp:Ny,literalAutolinkWww:Ny},exit:{literalAutolink:NB,literalAutolinkEmail:zB,literalAutolinkHttp:CB,literalAutolinkWww:xB}}}function SB(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:xy,notInConstruct:zy},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:xy,notInConstruct:zy},{character:":",before:"[ps]",after:"\\/",inConstruct:xy,notInConstruct:zy}]}}function AB(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Ny(e){this.config.enter.autolinkProtocol.call(this,e)}function CB(e){this.config.exit.autolinkProtocol.call(this,e)}function xB(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function zB(e){this.config.exit.autolinkEmail.call(this,e)}function NB(e){this.exit(e)}function OB(e){VS(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,DB],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),RB]],{ignore:["link","linkReference"]})}function DB(e,t,a,n,r){let i="";if(!XS(r)||(/^w/i.test(t)&&(a=t+a,t="",i="http://"),!LB(a)))return!1;const s=IB(a+n);if(!s[0])return!1;const o={type:"link",title:null,url:i+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[o,{type:"text",value:s[1]}]:o}function RB(e,t,a,n){return!XS(n,!0)||/[-\d_]$/.test(a)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+a,children:[{type:"text",value:t+"@"+a}]}}function LB(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function IB(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let a=t[0],n=a.indexOf(")");const r=GS(e,"(");let i=GS(e,")");for(;n!==-1&&r>i;)e+=a.slice(0,n+1),a=a.slice(n+1),n=a.indexOf(")"),i++;return[e,a]}function XS(e,t){const a=e.input.charCodeAt(e.index-1);return(e.index===0||gi(a)||Df(a))&&(!t||a!==47)}KS.peek=YB;function MB(){this.buffer()}function PB(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function UB(){this.buffer()}function BB(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function FB(e){const t=this.resume(),a=this.stack[this.stack.length-1];a.type,a.identifier=Ga(this.sliceSerialize(e)).toLowerCase(),a.label=t}function HB(e){this.exit(e)}function jB(e){const t=this.resume(),a=this.stack[this.stack.length-1];a.type,a.identifier=Ga(this.sliceSerialize(e)).toLowerCase(),a.label=t}function qB(e){this.exit(e)}function YB(){return"["}function KS(e,t,a,n){const r=a.createTracker(n);let i=r.move("[^");const s=a.enter("footnoteReference"),o=a.enter("reference");return i+=r.move(a.safe(a.associationId(e),{after:"]",before:i})),o(),s(),i+=r.move("]"),i}function $B(){return{enter:{gfmFootnoteCallString:MB,gfmFootnoteCall:PB,gfmFootnoteDefinitionLabelString:UB,gfmFootnoteDefinition:BB},exit:{gfmFootnoteCallString:FB,gfmFootnoteCall:HB,gfmFootnoteDefinitionLabelString:jB,gfmFootnoteDefinition:qB}}}function QB(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:a,footnoteReference:KS},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function a(n,r,i,s){const o=i.createTracker(s);let l=o.move("[^");const c=i.enter("footnoteDefinition"),f=i.enter("label");return l+=o.move(i.safe(i.associationId(n),{before:l,after:"]"})),f(),l+=o.move("]:"),n.children&&n.children.length>0&&(o.shift(4),l+=o.move((t?`
`:" ")+i.indentLines(i.containerFlow(n,o.current()),t?WS:VB))),c(),l}}function VB(e,t,a){return t===0?e:WS(e,t,a)}function WS(e,t,a){return(a?"":"    ")+e}const GB=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];ZS.peek=JB;function XB(){return{canContainEols:["delete"],enter:{strikethrough:WB},exit:{strikethrough:ZB}}}function KB(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:GB}],handlers:{delete:ZS}}}function WB(e){this.enter({type:"delete",children:[]},e)}function ZB(e){this.exit(e)}function ZS(e,t,a,n){const r=a.createTracker(n),i=a.enter("strikethrough");let s=r.move("~~");return s+=a.containerPhrasing(e,{...r.current(),before:s,after:"~"}),s+=r.move("~~"),i(),s}function JB(){return"~"}function eF(e){return e.length}function tF(e,t){const a=t||{},n=(a.align||[]).concat(),r=a.stringLength||eF,i=[],s=[],o=[],l=[];let c=0,f=-1;for(;++f<e.length;){const E=[],v=[];let g=-1;for(e[f].length>c&&(c=e[f].length);++g<e[f].length;){const k=aF(e[f][g]);if(a.alignDelimiters!==!1){const y=r(k);v[g]=y,(l[g]===void 0||y>l[g])&&(l[g]=y)}E.push(k)}s[f]=E,o[f]=v}let d=-1;if(typeof n=="object"&&"length"in n)for(;++d<c;)i[d]=JS(n[d]);else{const E=JS(n);for(;++d<c;)i[d]=E}d=-1;const u=[],p=[];for(;++d<c;){const E=i[d];let v="",g="";E===99?(v=":",g=":"):E===108?v=":":E===114&&(g=":");let k=a.alignDelimiters===!1?1:Math.max(1,l[d]-v.length-g.length);const y=v+"-".repeat(k)+g;a.alignDelimiters!==!1&&(k=v.length+k+g.length,k>l[d]&&(l[d]=k),p[d]=k),u[d]=y}s.splice(1,0,u),o.splice(1,0,p),f=-1;const _=[];for(;++f<s.length;){const E=s[f],v=o[f];d=-1;const g=[];for(;++d<c;){const k=E[d]||"";let y="",b="";if(a.alignDelimiters!==!1){const w=l[d]-(v[d]||0),h=i[d];h===114?y=" ".repeat(w):h===99?w%2?(y=" ".repeat(w/2+.5),b=" ".repeat(w/2-.5)):(y=" ".repeat(w/2),b=y):b=" ".repeat(w)}a.delimiterStart!==!1&&!d&&g.push("|"),a.padding!==!1&&!(a.alignDelimiters===!1&&k==="")&&(a.delimiterStart!==!1||d)&&g.push(" "),a.alignDelimiters!==!1&&g.push(y),g.push(k),a.alignDelimiters!==!1&&g.push(b),a.padding!==!1&&g.push(" "),(a.delimiterEnd!==!1||d!==c-1)&&g.push("|")}_.push(a.delimiterEnd===!1?g.join("").replace(/ +$/,""):g.join(""))}return _.join(`
`)}function aF(e){return e==null?"":String(e)}function JS(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function nF(e,t,a,n){const r=a.enter("blockquote"),i=a.createTracker(n);i.move("> "),i.shift(2);const s=a.indentLines(a.containerFlow(e,i.current()),rF);return r(),s}function rF(e,t,a){return">"+(a?"":" ")+e}function iF(e,t){return eA(e,t.inConstruct,!0)&&!eA(e,t.notInConstruct,!1)}function eA(e,t,a){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return a;let n=-1;for(;++n<t.length;)if(e.includes(t[n]))return!0;return!1}function tA(e,t,a,n){let r=-1;for(;++r<a.unsafe.length;)if(a.unsafe[r].character===`
`&&iF(a.stack,a.unsafe[r]))return/[ \t]/.test(n.before)?"":" ";return`\\
`}function sF(e,t){const a=String(e);let n=a.indexOf(t),r=n,i=0,s=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;n!==-1;)n===r?++i>s&&(s=i):i=1,r=n+t.length,n=a.indexOf(t,r);return s}function oF(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function lF(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function cF(e,t,a,n){const r=lF(a),i=e.value||"",s=r==="`"?"GraveAccent":"Tilde";if(oF(e,a)){const d=a.enter("codeIndented"),u=a.indentLines(i,uF);return d(),u}const o=a.createTracker(n),l=r.repeat(Math.max(sF(i,r)+1,3)),c=a.enter("codeFenced");let f=o.move(l);if(e.lang){const d=a.enter(`codeFencedLang${s}`);f+=o.move(a.safe(e.lang,{before:f,after:" ",encode:["`"],...o.current()})),d()}if(e.lang&&e.meta){const d=a.enter(`codeFencedMeta${s}`);f+=o.move(" "),f+=o.move(a.safe(e.meta,{before:f,after:`
`,encode:["`"],...o.current()})),d()}return f+=o.move(`
`),i&&(f+=o.move(i+`
`)),f+=o.move(l),c(),f}function uF(e,t,a){return(a?"":"    ")+e}function Oy(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function fF(e,t,a,n){const r=Oy(a),i=r==='"'?"Quote":"Apostrophe",s=a.enter("definition");let o=a.enter("label");const l=a.createTracker(n);let c=l.move("[");return c+=l.move(a.safe(a.associationId(e),{before:c,after:"]",...l.current()})),c+=l.move("]: "),o(),!e.url||/[\0- \u007F]/.test(e.url)?(o=a.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(a.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(o=a.enter("destinationRaw"),c+=l.move(a.safe(e.url,{before:c,after:e.title?" ":`
`,...l.current()}))),o(),e.title&&(o=a.enter(`title${i}`),c+=l.move(" "+r),c+=l.move(a.safe(e.title,{before:c,after:r,...l.current()})),c+=l.move(r),o()),s(),c}function dF(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function Wl(e){return"&#x"+e.toString(16).toUpperCase()+";"}function ed(e,t,a){const n=Us(e),r=Us(t);return n===void 0?r===void 0?a==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:r===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:n===1?r===void 0?{inside:!1,outside:!1}:r===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:r===void 0?{inside:!1,outside:!1}:r===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}aA.peek=hF;function aA(e,t,a,n){const r=dF(a),i=a.enter("emphasis"),s=a.createTracker(n),o=s.move(r);let l=s.move(a.containerPhrasing(e,{after:r,before:o,...s.current()}));const c=l.charCodeAt(0),f=ed(n.before.charCodeAt(n.before.length-1),c,r);f.inside&&(l=Wl(c)+l.slice(1));const d=l.charCodeAt(l.length-1),u=ed(n.after.charCodeAt(0),d,r);u.inside&&(l=l.slice(0,-1)+Wl(d));const p=s.move(r);return i(),a.attentionEncodeSurroundingInfo={after:u.outside,before:f.outside},o+l+p}function hF(e,t,a){return a.options.emphasis||"*"}function pF(e,t){let a=!1;return Hf(e,function(n){if("value"in n&&/\r?\n|\r/.test(n.value)||n.type==="break")return a=!0,Kg}),!!((!e.depth||e.depth<3)&&Bg(e)&&(t.options.setext||a))}function mF(e,t,a,n){const r=Math.max(Math.min(6,e.depth||1),1),i=a.createTracker(n);if(pF(e,a)){const f=a.enter("headingSetext"),d=a.enter("phrasing"),u=a.containerPhrasing(e,{...i.current(),before:`
`,after:`
`});return d(),f(),u+`
`+(r===1?"=":"-").repeat(u.length-(Math.max(u.lastIndexOf("\r"),u.lastIndexOf(`
`))+1))}const s="#".repeat(r),o=a.enter("headingAtx"),l=a.enter("phrasing");i.move(s+" ");let c=a.containerPhrasing(e,{before:"# ",after:`
`,...i.current()});return/^[\t ]/.test(c)&&(c=Wl(c.charCodeAt(0))+c.slice(1)),c=c?s+" "+c:s,a.options.closeAtx&&(c+=" "+s),l(),o(),c}nA.peek=gF;function nA(e){return e.value||""}function gF(){return"<"}rA.peek=yF;function rA(e,t,a,n){const r=Oy(a),i=r==='"'?"Quote":"Apostrophe",s=a.enter("image");let o=a.enter("label");const l=a.createTracker(n);let c=l.move("![");return c+=l.move(a.safe(e.alt,{before:c,after:"]",...l.current()})),c+=l.move("]("),o(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(o=a.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(a.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(o=a.enter("destinationRaw"),c+=l.move(a.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),o(),e.title&&(o=a.enter(`title${i}`),c+=l.move(" "+r),c+=l.move(a.safe(e.title,{before:c,after:r,...l.current()})),c+=l.move(r),o()),c+=l.move(")"),s(),c}function yF(){return"!"}iA.peek=_F;function iA(e,t,a,n){const r=e.referenceType,i=a.enter("imageReference");let s=a.enter("label");const o=a.createTracker(n);let l=o.move("![");const c=a.safe(e.alt,{before:l,after:"]",...o.current()});l+=o.move(c+"]["),s();const f=a.stack;a.stack=[],s=a.enter("reference");const d=a.safe(a.associationId(e),{before:l,after:"]",...o.current()});return s(),a.stack=f,i(),r==="full"||!c||c!==d?l+=o.move(d+"]"):r==="shortcut"?l=l.slice(0,-1):l+=o.move("]"),l}function _F(){return"!"}sA.peek=bF;function sA(e,t,a){let n=e.value||"",r="`",i=-1;for(;new RegExp("(^|[^`])"+r+"([^`]|$)").test(n);)r+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++i<a.unsafe.length;){const s=a.unsafe[i],o=a.compilePattern(s);let l;if(s.atBreak)for(;l=o.exec(n);){let c=l.index;n.charCodeAt(c)===10&&n.charCodeAt(c-1)===13&&c--,n=n.slice(0,c)+" "+n.slice(l.index+1)}}return r+n+r}function bF(){return"`"}function oA(e,t){const a=Bg(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(a===e.url||"mailto:"+a===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}lA.peek=kF;function lA(e,t,a,n){const r=Oy(a),i=r==='"'?"Quote":"Apostrophe",s=a.createTracker(n);let o,l;if(oA(e,a)){const f=a.stack;a.stack=[],o=a.enter("autolink");let d=s.move("<");return d+=s.move(a.containerPhrasing(e,{before:d,after:">",...s.current()})),d+=s.move(">"),o(),a.stack=f,d}o=a.enter("link"),l=a.enter("label");let c=s.move("[");return c+=s.move(a.containerPhrasing(e,{before:c,after:"](",...s.current()})),c+=s.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=a.enter("destinationLiteral"),c+=s.move("<"),c+=s.move(a.safe(e.url,{before:c,after:">",...s.current()})),c+=s.move(">")):(l=a.enter("destinationRaw"),c+=s.move(a.safe(e.url,{before:c,after:e.title?" ":")",...s.current()}))),l(),e.title&&(l=a.enter(`title${i}`),c+=s.move(" "+r),c+=s.move(a.safe(e.title,{before:c,after:r,...s.current()})),c+=s.move(r),l()),c+=s.move(")"),o(),c}function kF(e,t,a){return oA(e,a)?"<":"["}cA.peek=wF;function cA(e,t,a,n){const r=e.referenceType,i=a.enter("linkReference");let s=a.enter("label");const o=a.createTracker(n);let l=o.move("[");const c=a.containerPhrasing(e,{before:l,after:"]",...o.current()});l+=o.move(c+"]["),s();const f=a.stack;a.stack=[],s=a.enter("reference");const d=a.safe(a.associationId(e),{before:l,after:"]",...o.current()});return s(),a.stack=f,i(),r==="full"||!c||c!==d?l+=o.move(d+"]"):r==="shortcut"?l=l.slice(0,-1):l+=o.move("]"),l}function wF(){return"["}function Dy(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function EF(e){const t=Dy(e),a=e.options.bulletOther;if(!a)return t==="*"?"-":"*";if(a!=="*"&&a!=="+"&&a!=="-")throw new Error("Cannot serialize items with `"+a+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(a===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+a+"`) to be different");return a}function TF(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function uA(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function vF(e,t,a,n){const r=a.enter("list"),i=a.bulletCurrent;let s=e.ordered?TF(a):Dy(a);const o=e.ordered?s==="."?")":".":EF(a);let l=t&&a.bulletLastUsed?s===a.bulletLastUsed:!1;if(!e.ordered){const f=e.children?e.children[0]:void 0;if((s==="*"||s==="-")&&f&&(!f.children||!f.children[0])&&a.stack[a.stack.length-1]==="list"&&a.stack[a.stack.length-2]==="listItem"&&a.stack[a.stack.length-3]==="list"&&a.stack[a.stack.length-4]==="listItem"&&a.indexStack[a.indexStack.length-1]===0&&a.indexStack[a.indexStack.length-2]===0&&a.indexStack[a.indexStack.length-3]===0&&(l=!0),uA(a)===s&&f){let d=-1;for(;++d<e.children.length;){const u=e.children[d];if(u&&u.type==="listItem"&&u.children&&u.children[0]&&u.children[0].type==="thematicBreak"){l=!0;break}}}}l&&(s=o),a.bulletCurrent=s;const c=a.containerFlow(e,n);return a.bulletLastUsed=s,a.bulletCurrent=i,r(),c}function SF(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function AF(e,t,a,n){const r=SF(a);let i=a.bulletCurrent||Dy(a);t&&t.type==="list"&&t.ordered&&(i=(typeof t.start=="number"&&t.start>-1?t.start:1)+(a.options.incrementListMarker===!1?0:t.children.indexOf(e))+i);let s=i.length+1;(r==="tab"||r==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(s=Math.ceil(s/4)*4);const o=a.createTracker(n);o.move(i+" ".repeat(s-i.length)),o.shift(s);const l=a.enter("listItem"),c=a.indentLines(a.containerFlow(e,o.current()),f);return l(),c;function f(d,u,p){return u?(p?"":" ".repeat(s))+d:(p?i:i+" ".repeat(s-i.length))+d}}function CF(e,t,a,n){const r=a.enter("paragraph"),i=a.enter("phrasing"),s=a.containerPhrasing(e,n);return i(),r(),s}const xF=Bf(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function zF(e,t,a,n){return(e.children.some(function(s){return xF(s)})?a.containerPhrasing:a.containerFlow).call(a,e,n)}function NF(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}fA.peek=OF;function fA(e,t,a,n){const r=NF(a),i=a.enter("strong"),s=a.createTracker(n),o=s.move(r+r);let l=s.move(a.containerPhrasing(e,{after:r,before:o,...s.current()}));const c=l.charCodeAt(0),f=ed(n.before.charCodeAt(n.before.length-1),c,r);f.inside&&(l=Wl(c)+l.slice(1));const d=l.charCodeAt(l.length-1),u=ed(n.after.charCodeAt(0),d,r);u.inside&&(l=l.slice(0,-1)+Wl(d));const p=s.move(r+r);return i(),a.attentionEncodeSurroundingInfo={after:u.outside,before:f.outside},o+l+p}function OF(e,t,a){return a.options.strong||"*"}function DF(e,t,a,n){return a.safe(e.value,n)}function RF(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function LF(e,t,a){const n=(uA(a)+(a.options.ruleSpaces?" ":"")).repeat(RF(a));return a.options.ruleSpaces?n.slice(0,-1):n}const dA={blockquote:nF,break:tA,code:cF,definition:fF,emphasis:aA,hardBreak:tA,heading:mF,html:nA,image:rA,imageReference:iA,inlineCode:sA,link:lA,linkReference:cA,list:vF,listItem:AF,paragraph:CF,root:zF,strong:fA,text:DF,thematicBreak:LF};function IF(){return{enter:{table:MF,tableData:hA,tableHeader:hA,tableRow:UF},exit:{codeText:BF,table:PF,tableData:Ry,tableHeader:Ry,tableRow:Ry}}}function MF(e){const t=e._align;this.enter({type:"table",align:t.map(function(a){return a==="none"?null:a}),children:[]},e),this.data.inTable=!0}function PF(e){this.exit(e),this.data.inTable=void 0}function UF(e){this.enter({type:"tableRow",children:[]},e)}function Ry(e){this.exit(e)}function hA(e){this.enter({type:"tableCell",children:[]},e)}function BF(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,FF));const a=this.stack[this.stack.length-1];a.type,a.value=t,this.exit(e)}function FF(e,t){return t==="|"?t:e}function HF(e){const t=e||{},a=t.tableCellPadding,n=t.tablePipeAlign,r=t.stringLength,i=a?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[	 :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:u,table:s,tableCell:l,tableRow:o}};function s(p,_,E,v){return c(f(p,E,v),p.align)}function o(p,_,E,v){const g=d(p,E,v),k=c([g]);return k.slice(0,k.indexOf(`
`))}function l(p,_,E,v){const g=E.enter("tableCell"),k=E.enter("phrasing"),y=E.containerPhrasing(p,{...v,before:i,after:i});return k(),g(),y}function c(p,_){return tF(p,{align:_,alignDelimiters:n,padding:a,stringLength:r})}function f(p,_,E){const v=p.children;let g=-1;const k=[],y=_.enter("table");for(;++g<v.length;)k[g]=d(v[g],_,E);return y(),k}function d(p,_,E){const v=p.children;let g=-1;const k=[],y=_.enter("tableRow");for(;++g<v.length;)k[g]=l(v[g],p,_,E);return y(),k}function u(p,_,E){let v=dA.inlineCode(p,_,E);return E.stack.includes("tableCell")&&(v=v.replace(/\|/g,"\\$&")),v}}function jF(){return{exit:{taskListCheckValueChecked:pA,taskListCheckValueUnchecked:pA,paragraph:YF}}}function qF(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:$F}}}function pA(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function YF(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const a=this.stack[this.stack.length-1];a.type;const n=a.children[0];if(n&&n.type==="text"){const r=t.children;let i=-1,s;for(;++i<r.length;){const o=r[i];if(o.type==="paragraph"){s=o;break}}s===a&&(n.value=n.value.slice(1),n.value.length===0?a.children.shift():a.position&&n.position&&typeof n.position.start.offset=="number"&&(n.position.start.column++,n.position.start.offset++,a.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function $F(e,t,a,n){const r=e.children[0],i=typeof e.checked=="boolean"&&r&&r.type==="paragraph",s="["+(e.checked?"x":" ")+"] ",o=a.createTracker(n);i&&o.move(s);let l=dA.listItem(e,t,a,{...n,...o.current()});return i&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),l;function c(f){return f+s}}function QF(){return[vB(),$B(),XB(),IF(),jF()]}function VF(e){return{extensions:[SB(),QB(e),KB(),HF(e),qF()]}}const GF={tokenize:eH,partial:!0},mA={tokenize:tH,partial:!0},gA={tokenize:aH,partial:!0},yA={tokenize:nH,partial:!0},XF={tokenize:rH,partial:!0},_A={name:"wwwAutolink",tokenize:ZF,previous:kA},bA={name:"protocolAutolink",tokenize:JF,previous:wA},Hn={name:"emailAutolink",tokenize:WF,previous:EA},mn={};function KF(){return{text:mn}}let wi=48;for(;wi<123;)mn[wi]=Hn,wi++,wi===58?wi=65:wi===91&&(wi=97);mn[43]=Hn,mn[45]=Hn,mn[46]=Hn,mn[95]=Hn,mn[72]=[Hn,bA],mn[104]=[Hn,bA],mn[87]=[Hn,_A],mn[119]=[Hn,_A];function WF(e,t,a){const n=this;let r,i;return s;function s(d){return!Ly(d)||!EA.call(n,n.previous)||Iy(n.events)?a(d):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),o(d))}function o(d){return Ly(d)?(e.consume(d),o):d===64?(e.consume(d),l):a(d)}function l(d){return d===46?e.check(XF,f,c)(d):d===45||d===95||Bt(d)?(i=!0,e.consume(d),l):f(d)}function c(d){return e.consume(d),r=!0,l}function f(d){return i&&r&&Vt(n.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(d)):a(d)}}function ZF(e,t,a){const n=this;return r;function r(s){return s!==87&&s!==119||!kA.call(n,n.previous)||Iy(n.events)?a(s):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(GF,e.attempt(mA,e.attempt(gA,i),a),a)(s))}function i(s){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(s)}}function JF(e,t,a){const n=this;let r="",i=!1;return s;function s(d){return(d===72||d===104)&&wA.call(n,n.previous)&&!Iy(n.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),r+=String.fromCodePoint(d),e.consume(d),o):a(d)}function o(d){if(Vt(d)&&r.length<5)return r+=String.fromCodePoint(d),e.consume(d),o;if(d===58){const u=r.toLowerCase();if(u==="http"||u==="https")return e.consume(d),l}return a(d)}function l(d){return d===47?(e.consume(d),i?c:(i=!0,l)):a(d)}function c(d){return d===null||Of(d)||Fe(d)||gi(d)||Df(d)?a(d):e.attempt(mA,e.attempt(gA,f),a)(d)}function f(d){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(d)}}function eH(e,t,a){let n=0;return r;function r(s){return(s===87||s===119)&&n<3?(n++,e.consume(s),r):s===46&&n===3?(e.consume(s),i):a(s)}function i(s){return s===null?a(s):t(s)}}function tH(e,t,a){let n,r,i;return s;function s(c){return c===46||c===95?e.check(yA,l,o)(c):c===null||Fe(c)||gi(c)||c!==45&&Df(c)?l(c):(i=!0,e.consume(c),s)}function o(c){return c===95?n=!0:(r=n,n=void 0),e.consume(c),s}function l(c){return r||n||!i?a(c):t(c)}}function aH(e,t){let a=0,n=0;return r;function r(s){return s===40?(a++,e.consume(s),r):s===41&&n<a?i(s):s===33||s===34||s===38||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===60||s===63||s===93||s===95||s===126?e.check(yA,t,i)(s):s===null||Fe(s)||gi(s)?t(s):(e.consume(s),r)}function i(s){return s===41&&n++,e.consume(s),r}}function nH(e,t,a){return n;function n(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(e.consume(o),n):o===38?(e.consume(o),i):o===93?(e.consume(o),r):o===60||o===null||Fe(o)||gi(o)?t(o):a(o)}function r(o){return o===null||o===40||o===91||Fe(o)||gi(o)?t(o):n(o)}function i(o){return Vt(o)?s(o):a(o)}function s(o){return o===59?(e.consume(o),n):Vt(o)?(e.consume(o),s):a(o)}}function rH(e,t,a){return n;function n(i){return e.consume(i),r}function r(i){return Bt(i)?a(i):t(i)}}function kA(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Fe(e)}function wA(e){return!Vt(e)}function EA(e){return!(e===47||Ly(e))}function Ly(e){return e===43||e===45||e===46||e===95||Bt(e)}function Iy(e){let t=e.length,a=!1;for(;t--;){const n=e[t][1];if((n.type==="labelLink"||n.type==="labelImage")&&!n._balanced){a=!0;break}if(n._gfmAutolinkLiteralWalkedInto){a=!1;break}}return e.length>0&&!a&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),a}const iH={tokenize:hH,partial:!0};function sH(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:uH,continuation:{tokenize:fH},exit:dH}},text:{91:{name:"gfmFootnoteCall",tokenize:cH},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:oH,resolveTo:lH}}}}function oH(e,t,a){const n=this;let r=n.events.length;const i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let s;for(;r--;){const l=n.events[r][1];if(l.type==="labelImage"){s=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return o;function o(l){if(!s||!s._balanced)return a(l);const c=Ga(n.sliceSerialize({start:s.end,end:n.now()}));return c.codePointAt(0)!==94||!i.includes(c.slice(1))?a(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function lH(e,t){let a=e.length;for(;a--;)if(e[a][1].type==="labelImage"&&e[a][0]==="enter"){e[a][1];break}e[a+1][1].type="data",e[a+3][1].type="gfmFootnoteCallLabelMarker";const n={type:"gfmFootnoteCall",start:Object.assign({},e[a+3][1].start),end:Object.assign({},e[e.length-1][1].end)},r={type:"gfmFootnoteCallMarker",start:Object.assign({},e[a+3][1].end),end:Object.assign({},e[a+3][1].end)};r.end.column++,r.end.offset++,r.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},r.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},o=[e[a+1],e[a+2],["enter",n,t],e[a+3],e[a+4],["enter",r,t],["exit",r,t],["enter",i,t],["enter",s,t],["exit",s,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",n,t]];return e.splice(a,e.length-a+1,...o),e}function cH(e,t,a){const n=this,r=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let i=0,s;return o;function o(d){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),l}function l(d){return d!==94?a(d):(e.enter("gfmFootnoteCallMarker"),e.consume(d),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(d){if(i>999||d===93&&!s||d===null||d===91||Fe(d))return a(d);if(d===93){e.exit("chunkString");const u=e.exit("gfmFootnoteCallString");return r.includes(Ga(n.sliceSerialize(u)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):a(d)}return Fe(d)||(s=!0),i++,e.consume(d),d===92?f:c}function f(d){return d===91||d===92||d===93?(e.consume(d),i++,c):c(d)}}function uH(e,t,a){const n=this,r=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let i,s=0,o;return l;function l(_){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(_),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(_){return _===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(_),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",f):a(_)}function f(_){if(s>999||_===93&&!o||_===null||_===91||Fe(_))return a(_);if(_===93){e.exit("chunkString");const E=e.exit("gfmFootnoteDefinitionLabelString");return i=Ga(n.sliceSerialize(E)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(_),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),u}return Fe(_)||(o=!0),s++,e.consume(_),_===92?d:f}function d(_){return _===91||_===92||_===93?(e.consume(_),s++,f):f(_)}function u(_){return _===58?(e.enter("definitionMarker"),e.consume(_),e.exit("definitionMarker"),r.includes(i)||r.push(i),Ae(e,p,"gfmFootnoteDefinitionWhitespace")):a(_)}function p(_){return t(_)}}function fH(e,t,a){return e.check(Rl,t,e.attempt(iH,t,a))}function dH(e){e.exit("gfmFootnoteDefinition")}function hH(e,t,a){const n=this;return Ae(e,r,"gfmFootnoteDefinitionIndent",5);function r(i){const s=n.events[n.events.length-1];return s&&s[1].type==="gfmFootnoteDefinitionIndent"&&s[2].sliceSerialize(s[1],!0).length===4?t(i):a(i)}}function pH(e){let a=(e||{}).singleTilde;const n={name:"strikethrough",tokenize:i,resolveAll:r};return a==null&&(a=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function r(s,o){let l=-1;for(;++l<s.length;)if(s[l][0]==="enter"&&s[l][1].type==="strikethroughSequenceTemporary"&&s[l][1]._close){let c=l;for(;c--;)if(s[c][0]==="exit"&&s[c][1].type==="strikethroughSequenceTemporary"&&s[c][1]._open&&s[l][1].end.offset-s[l][1].start.offset===s[c][1].end.offset-s[c][1].start.offset){s[l][1].type="strikethroughSequence",s[c][1].type="strikethroughSequence";const f={type:"strikethrough",start:Object.assign({},s[c][1].start),end:Object.assign({},s[l][1].end)},d={type:"strikethroughText",start:Object.assign({},s[c][1].end),end:Object.assign({},s[l][1].start)},u=[["enter",f,o],["enter",s[c][1],o],["exit",s[c][1],o],["enter",d,o]],p=o.parser.constructs.insideSpan.null;p&&ka(u,u.length,0,Rf(p,s.slice(c+1,l),o)),ka(u,u.length,0,[["exit",d,o],["enter",s[l][1],o],["exit",s[l][1],o],["exit",f,o]]),ka(s,c-1,l-c+3,u),l=c+u.length-2;break}}for(l=-1;++l<s.length;)s[l][1].type==="strikethroughSequenceTemporary"&&(s[l][1].type="data");return s}function i(s,o,l){const c=this.previous,f=this.events;let d=0;return u;function u(_){return c===126&&f[f.length-1][1].type!=="characterEscape"?l(_):(s.enter("strikethroughSequenceTemporary"),p(_))}function p(_){const E=Us(c);if(_===126)return d>1?l(_):(s.consume(_),d++,p);if(d<2&&!a)return l(_);const v=s.exit("strikethroughSequenceTemporary"),g=Us(_);return v._open=!g||g===2&&!!E,v._close=!E||E===2&&!!g,o(_)}}}class mH{constructor(){this.map=[]}add(t,a,n){gH(this,t,a,n)}consume(t){if(this.map.sort(function(i,s){return i[0]-s[0]}),this.map.length===0)return;let a=this.map.length;const n=[];for(;a>0;)a-=1,n.push(t.slice(this.map[a][0]+this.map[a][1]),this.map[a][2]),t.length=this.map[a][0];n.push(t.slice()),t.length=0;let r=n.pop();for(;r;){for(const i of r)t.push(i);r=n.pop()}this.map.length=0}}function gH(e,t,a,n){let r=0;if(!(a===0&&n.length===0)){for(;r<e.map.length;){if(e.map[r][0]===t){e.map[r][1]+=a,e.map[r][2].push(...n);return}r+=1}e.map.push([t,a,n])}}function yH(e,t){let a=!1;const n=[];for(;t<e.length;){const r=e[t];if(a){if(r[0]==="enter")r[1].type==="tableContent"&&n.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(r[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const i=n.length-1;n[i]=n[i]==="left"?"center":"right"}}else if(r[1].type==="tableDelimiterRow")break}else r[0]==="enter"&&r[1].type==="tableDelimiterRow"&&(a=!0);t+=1}return n}function _H(){return{flow:{null:{name:"table",tokenize:bH,resolveAll:kH}}}}function bH(e,t,a){const n=this;let r=0,i=0,s;return o;function o(T){let z=n.events.length-1;for(;z>-1;){const U=n.events[z][1].type;if(U==="lineEnding"||U==="linePrefix")z--;else break}const L=z>-1?n.events[z][1].type:null,P=L==="tableHead"||L==="tableRow"?h:l;return P===h&&n.parser.lazy[n.now().line]?a(T):P(T)}function l(T){return e.enter("tableHead"),e.enter("tableRow"),c(T)}function c(T){return T===124||(s=!0,i+=1),f(T)}function f(T){return T===null?a(T):se(T)?i>1?(i=0,n.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(T),e.exit("lineEnding"),p):a(T):Ee(T)?Ae(e,f,"whitespace")(T):(i+=1,s&&(s=!1,r+=1),T===124?(e.enter("tableCellDivider"),e.consume(T),e.exit("tableCellDivider"),s=!0,f):(e.enter("data"),d(T)))}function d(T){return T===null||T===124||Fe(T)?(e.exit("data"),f(T)):(e.consume(T),T===92?u:d)}function u(T){return T===92||T===124?(e.consume(T),d):d(T)}function p(T){return n.interrupt=!1,n.parser.lazy[n.now().line]?a(T):(e.enter("tableDelimiterRow"),s=!1,Ee(T)?Ae(e,_,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(T):_(T))}function _(T){return T===45||T===58?v(T):T===124?(s=!0,e.enter("tableCellDivider"),e.consume(T),e.exit("tableCellDivider"),E):w(T)}function E(T){return Ee(T)?Ae(e,v,"whitespace")(T):v(T)}function v(T){return T===58?(i+=1,s=!0,e.enter("tableDelimiterMarker"),e.consume(T),e.exit("tableDelimiterMarker"),g):T===45?(i+=1,g(T)):T===null||se(T)?b(T):w(T)}function g(T){return T===45?(e.enter("tableDelimiterFiller"),k(T)):w(T)}function k(T){return T===45?(e.consume(T),k):T===58?(s=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(T),e.exit("tableDelimiterMarker"),y):(e.exit("tableDelimiterFiller"),y(T))}function y(T){return Ee(T)?Ae(e,b,"whitespace")(T):b(T)}function b(T){return T===124?_(T):T===null||se(T)?!s||r!==i?w(T):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(T)):w(T)}function w(T){return a(T)}function h(T){return e.enter("tableRow"),S(T)}function S(T){return T===124?(e.enter("tableCellDivider"),e.consume(T),e.exit("tableCellDivider"),S):T===null||se(T)?(e.exit("tableRow"),t(T)):Ee(T)?Ae(e,S,"whitespace")(T):(e.enter("data"),O(T))}function O(T){return T===null||T===124||Fe(T)?(e.exit("data"),S(T)):(e.consume(T),T===92?x:O)}function x(T){return T===92||T===124?(e.consume(T),O):O(T)}}function kH(e,t){let a=-1,n=!0,r=0,i=[0,0,0,0],s=[0,0,0,0],o=!1,l=0,c,f,d;const u=new mH;for(;++a<e.length;){const p=e[a],_=p[1];p[0]==="enter"?_.type==="tableHead"?(o=!1,l!==0&&(TA(u,t,l,c,f),f=void 0,l=0),c={type:"table",start:Object.assign({},_.start),end:Object.assign({},_.end)},u.add(a,0,[["enter",c,t]])):_.type==="tableRow"||_.type==="tableDelimiterRow"?(n=!0,d=void 0,i=[0,0,0,0],s=[0,a+1,0,0],o&&(o=!1,f={type:"tableBody",start:Object.assign({},_.start),end:Object.assign({},_.end)},u.add(a,0,[["enter",f,t]])),r=_.type==="tableDelimiterRow"?2:f?3:1):r&&(_.type==="data"||_.type==="tableDelimiterMarker"||_.type==="tableDelimiterFiller")?(n=!1,s[2]===0&&(i[1]!==0&&(s[0]=s[1],d=td(u,t,i,r,void 0,d),i=[0,0,0,0]),s[2]=a)):_.type==="tableCellDivider"&&(n?n=!1:(i[1]!==0&&(s[0]=s[1],d=td(u,t,i,r,void 0,d)),i=s,s=[i[1],a,0,0])):_.type==="tableHead"?(o=!0,l=a):_.type==="tableRow"||_.type==="tableDelimiterRow"?(l=a,i[1]!==0?(s[0]=s[1],d=td(u,t,i,r,a,d)):s[1]!==0&&(d=td(u,t,s,r,a,d)),r=0):r&&(_.type==="data"||_.type==="tableDelimiterMarker"||_.type==="tableDelimiterFiller")&&(s[3]=a)}for(l!==0&&TA(u,t,l,c,f),u.consume(t.events),a=-1;++a<t.events.length;){const p=t.events[a];p[0]==="enter"&&p[1].type==="table"&&(p[1]._align=yH(t.events,a))}return e}function td(e,t,a,n,r,i){const s=n===1?"tableHeader":n===2?"tableDelimiter":"tableData",o="tableContent";a[0]!==0&&(i.end=Object.assign({},Gs(t.events,a[0])),e.add(a[0],0,[["exit",i,t]]));const l=Gs(t.events,a[1]);if(i={type:s,start:Object.assign({},l),end:Object.assign({},l)},e.add(a[1],0,[["enter",i,t]]),a[2]!==0){const c=Gs(t.events,a[2]),f=Gs(t.events,a[3]),d={type:o,start:Object.assign({},c),end:Object.assign({},f)};if(e.add(a[2],0,[["enter",d,t]]),n!==2){const u=t.events[a[2]],p=t.events[a[3]];if(u[1].end=Object.assign({},p[1].end),u[1].type="chunkText",u[1].contentType="text",a[3]>a[2]+1){const _=a[2]+1,E=a[3]-a[2]-1;e.add(_,E,[])}}e.add(a[3]+1,0,[["exit",d,t]])}return r!==void 0&&(i.end=Object.assign({},Gs(t.events,r)),e.add(r,0,[["exit",i,t]]),i=void 0),i}function TA(e,t,a,n,r){const i=[],s=Gs(t.events,a);r&&(r.end=Object.assign({},s),i.push(["exit",r,t])),n.end=Object.assign({},s),i.push(["exit",n,t]),e.add(a+1,0,i)}function Gs(e,t){const a=e[t],n=a[0]==="enter"?"start":"end";return a[1][n]}const wH={name:"tasklistCheck",tokenize:TH};function EH(){return{text:{91:wH}}}function TH(e,t,a){const n=this;return r;function r(l){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?a(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),i)}function i(l){return Fe(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),s):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),s):a(l)}function s(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):a(l)}function o(l){return se(l)?t(l):Ee(l)?e.check({tokenize:vH},t,a)(l):a(l)}}function vH(e,t,a){return Ae(e,n,"whitespace");function n(r){return r===null?a(r):t(r)}}function SH(e){return P2([KF(),sH(),pH(e),_H(),EH()])}const AH={};function CH(e){const t=this,a=e||AH,n=t.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push(SH(a)),i.push(QF()),s.push(VF(a))}const xH=({children:e})=>{const{copyToClipboard:t}=Rv(),a=A.useRef(t);a.current=t;const n="",r=A.useMemo(()=>({...I9({className:n}),...M9({className:n}),...z9({className:n}),...N9({className:n}),...S9({copyToClipboardRef:a,fadeEffect:n}),...L9({fadeEffect:n})}),[n]);return C.jsx(m9,{components:r,remarkPlugins:[CH,TB],rehypePlugins:[rB],children:e})},vA=({message:e,type:t="error",children:a})=>{const n=A.useRef(null),r=ae("action-container");return A.useEffect(()=>{yC(n.current,{behavior:"auto",block:"start",inline:"nearest"})},[]),C.jsx(ph,{type:t,className:r,ref:n,children:C.jsxs(re,{direction:"column",gap:"small",children:[C.jsx(ye,{align:"left",children:e}),a&&C.jsx(re,{gap:"x-small",className:"action-container__buttons",children:a})]})})},zH=()=>{const{data:e,isLoading:t}=UN(),[a,{isLoading:n}]=BN(),r=t||n,i=async s=>{try{const o=await a({enabled:s});JT("powermode_changed",{enabled:o.data.enabled}),Zn.addNotification({type:"success",message:o.data.enabled?ee("Power Mode is enabled"):ee("Power Mode is disabled")})}catch{Zn.addNotification({type:"error",message:ee("Something went wrong. Please try again.")});return}};return{isPowerModeEnabled:e==null?void 0:e.enabled,isPowerModeLoading:r,handlePowerModeToggle:i}},NH=({messageId:e,isResolved:t=!1})=>{const a=Pt(),{isPowerModeLoading:n,handlePowerModeToggle:r}=zH(),{threadId:i}=Je(c=>c.messages),[s,o]=A.useState(t),l=A.useCallback(async()=>{await r(!0),JT("powermode_changed",{enabled:!0}),a(Ef({question:"The user has successfully enabled Power Mode. Retry the last command.",threadId:i||void 0,options:{hiddenQuestion:!0,trigger_action:{action_type:"retry",tool_calls:[]}}})),o(!0),a(N6({messageId:e}))},[r,i,e,a]);return s?C.jsx(vA,{type:"success",message:ee("Power Mode is on. Note: Power Mode may modify your site’s content or settings. Tap Learn more for details before proceeding."),children:C.jsx(Fa,{color:"secondary",action:"button",onClick:()=>window.open("https://www.siteground.com/kb/power-mode-ai-agent-wordpress","_blank"),children:ee("Learn more")})}):C.jsxs(vA,{type:"warning",message:ee("Enable Power Mode to continue. Note: Power Mode may modify your site’s content or settings. Tap Learn more for details before enabling."),children:[C.jsx(Fa,{color:"secondary",onClick:()=>window.open("https://www.siteground.com/kb/power-mode-ai-agent-wordpress","_blank"),children:ee("Learn more")}),C.jsx(Fa,{color:"primary",onClick:l,disabled:n,children:ee("Enable")})]})},OH=e=>{switch(e){case"insufficient_balance":return{noticeType:"warning",message:ee("Insufficient tokens. Please go to {{a}}SiteGround AI Studio{{/a}} to upgrade or add more tokens.",{components:{a:C.jsx(e0,{href:"https://my.siteground.com/ai-studio/add-tokens",target:"_blank"})}}),showRetry:!1};case"context_length_exceeded":return{noticeType:"error",message:ee("This conversation has grown too long. To continue, please start a new chat."),showRetry:!1};case"generic":default:return{noticeType:"error",message:ee("Couldn't process the request. Please try again."),showRetry:!0}}},DH=({errorType:e="generic"})=>{const t=Pt(),{lastFailedRequest:a,activeStreamingMessageId:n}=Je(d=>d.messages),[r,i]=A.useState(!1),s=OH(e),o=a!==null,l=n===null,c=A.useCallback(async()=>{!o||!l||(i(!0),await t(C5()),i(!1))},[t,o,l]),f=r||!o||!l;return C.jsx(ph,{type:s.noticeType,children:C.jsxs(re,{align:"center",justify:"space-between",wrap:"nowrap",children:[C.jsx(ye,{children:s.message}),s.showRetry&&C.jsx(Fa,{type:"ghost",onClick:c,disabled:f,children:ee("Retry")})]})})},RH=({isActive:e,children:t,...a})=>C.jsx(Fa,{...a,className:ae("custom-select-button",e&&"custom-select-button--active"),color:"tertiary",children:t}),LH=({title:e,actions:t,overlay:a=!1,onActionClick:n,onClose:r})=>{const{device:i}=A.useContext(jt),s=A.useRef(null);return A.useEffect(()=>{if(!a)return;const o=l=>{const c=s.current;c&&!l.composedPath().includes(c)&&r()};return document.addEventListener("mousedown",o),()=>{document.removeEventListener("mousedown",o)}},[a,r]),C.jsxs($0,{ref:s,className:ae("quick-actions__menu",a&&"quick-actions__menu--overlay"),children:[(i==null?void 0:i.isPhone)&&C.jsx(Lz,{groupTitle:e}),t.map((o,l)=>C.jsx(lh,{icon:"material/subdirectory_arrow_right",style:{animationDelay:`${l*100}ms`},className:"quick-actions__menu-item",onClick:()=>n(o),children:o},`${o}-${l}`))]})},IH=A.memo(LH),SA=({categories:e,actionsTitle:t,actions:a,variant:n="compact"})=>{const r=Pt(),{device:i}=A.useContext(jt),[s,o]=A.useState(i!=null&&i.isDevicePhone?null:m6),l=n==="fullscreen",c=(i==null?void 0:i.isDevicePhone)||!l,f=A.useCallback(_=>{r(Ef({question:_})),o(null)},[r]),d=A.useCallback(()=>o(null),[]),u=A.useCallback(_=>_.stopPropagation(),[]),p=s?a[s]:void 0;return C.jsxs(re,{direction:"column",className:"quick-actions",children:[C.jsx(re,{className:"quick-actions__outer",children:C.jsx(re,{align:"center",gap:"small",wrap:c?"wrap":"nowrap",className:ae("quick-actions__wrapper",c&&"quick-actions__wrapper--multiple-rows"),children:e==null?void 0:e.map(_=>{const E=()=>o(v=>v===_.type?null:_.type);return C.jsx(RH,{leadingIcon:_.icon,isActive:s===_.type,onMouseDown:u,onClick:E,children:_.title},_.type)})})}),s&&p&&p.length>0&&C.jsx(IH,{title:t,actions:p,overlay:l,onActionClick:f,onClose:d})]})};async function Zl(e){try{return{data:await e,error:null}}catch(t){return{data:null,error:t}}}const MH=async e=>{const t=await fetch(e);if(!t.ok)throw new Error("Failed to fetch image");return await t.blob()},My=e=>{const[t,a]=A.useState(null),[n,r]=A.useState(!1),[i,s]=A.useState(null),o=A.useCallback(async l=>{if(!l)return;r(!0),s(null);const c=await Zl(MH(l));if(c.error)s(c.error);else if(c.data){const f=URL.createObjectURL(c.data);a(f??null)}r(!1)},[]);return A.useEffect(()=>{o(e)},[o,e]),{image:t,isLoading:n,error:i}},AA=({imageUrl:e,alt:t,generatedBy:a,className:n})=>{const{image:r,isLoading:i}=My(e);return C.jsx(C.Fragment,{children:!i&&C.jsx("div",{className:"general-image-preview-container",children:r?C.jsxs(A.Fragment,{children:[C.jsx("img",{src:r,alt:t,className:n}),a&&C.jsx(ye,{children:ee("Generated by %(model)s",{args:{model:a}})})]}):C.jsx(go,{leadingIcon:"material/image",size:"medium",color:"secondary",className:"override-icon",disabled:!0,children:C.jsx(ye,{italic:!0,color:"typography-tertiary",className:"chip__text",children:ee("Image had been deleted")})})})})},PH=({toolResult:e})=>{var r,i,s;if(!_h(e))return null;const t=(r=e.response)==null?void 0:r.output_resources;if(!(t!=null&&t.length)||(i=e.response)!=null&&i.error)return null;const a=(s=e.response)==null?void 0:s.output,n=(a==null?void 0:a.generatedBy)||void 0;return C.jsx(re,{gap:"small",wrap:"wrap",children:t.map((o,l)=>C.jsx(AA,{className:ae("tool-message-image","image-background--transparent"),imageUrl:o.url,alt:(a==null?void 0:a.prompt)||"Generated image",generatedBy:n},`image-${l}`))},`tool-result-${e.id}`)},CA=()=>C.jsxs("div",{className:"ai-typing-box",children:[C.jsx("span",{className:"ai-typing-box__first-dot"}),C.jsx("span",{className:"ai-typing-box__second-dot"}),C.jsx("span",{className:"ai-typing-box__third-dot"})]}),xA="animated/ai-assistant-generating",UH={label:()=>ee("Working on your site"),icon:xA},Py={label:()=>ee("Creating image"),icon:"animated/creating-image"},BH={wordpress_request:UH,image_generation:Py,image_editing:Py,image_editing_multiple:Py,google_search:{label:()=>ee("Searching the web"),icon:"material/search"},webpage_reader:{label:()=>ee("Reading"),icon:"animated/reading"},calculator:{label:()=>ee("Calculating"),icon:"material/calculate"},thinking:{label:()=>ee("Thinking"),icon:"animated/thinking"}},FH={success:{icon:"material/check"}},zA=e=>e?BH[e]:void 0,NA=({name:e,reason:t,status:a="loading"})=>{const n=zA(e),r=t??(n?n.label():null),i=(r==null?void 0:r.replace(/[.…\s]+$/,""))??null;if(a==="loading"&&!i)return C.jsx(re,{justify:"flex-start",align:"center",className:"status-loader",children:C.jsx(CA,{})});const s=a==="success",o=s?FH.success.icon:(n==null?void 0:n.icon)??xA;return C.jsx(re,{justify:"flex-start",align:"center",className:"status-loader",children:C.jsx(go,{leadingIcon:o,className:"status-loader__chip",children:s?ee("Done: %(label)s",{args:{label:i??""}}):C.jsxs("span",{className:"status-loader__loading",children:[C.jsx("span",{className:"shining-text","data-text":i,children:i}),C.jsx("span",{className:"status-loader__dots",children:"..."})]})})})},HH=(e,t)=>{const[a,n]=A.useState(!1);return A.useEffect(()=>{if(!e){n(!1);return}const r=setTimeout(()=>n(!0),t);return()=>clearTimeout(r)},[e,t]),a},OA=e=>{const t=e==null?void 0:e.reason;return typeof t=="string"&&t.trim()?t:void 0},DA=e=>e.type!=="tool"?!1:!!(OA(e.args)||zA(e.name)),jH=(e,t)=>e.slice(t+1).some(a=>a.type==="text"&&a.content),qH=(e,t)=>{const a=[];return e.forEach((n,r)=>{if(n.type==="tool"){if(!t||!DA(n)||n.status==="error"||n.status==="success"&&jH(e,r))return;a.push(n);return}if(n.type==="text"){const i=a[a.length-1];if((i==null?void 0:i.type)==="text"){a[a.length-1]={type:"text",content:i.content+n.content};return}}a.push(n)}),a},YH=1e3,$H=({segments:e})=>{const t=((e==null?void 0:e.filter(DA))??[]).filter(r=>r.status!=="error"),a=t.some(r=>r.status==="loading"),n=HH(t.length>0&&!a,YH);return t.length===0?C.jsx(NA,{}):a?null:n?C.jsx(CA,{}):null},QH=({messageSegments:e,isTyping:t,errorOccured:a,errorType:n,showAvatar:r,actionRequest:i,messageId:s})=>{const o=A.useRef(null),{threadId:l}=Je(f=>f.messages),c=ae("wp-ai-studio-bot-message","wp-ai-studio-message-vertical-align-bot");return C.jsxs("div",{ref:o,className:c,children:[r&&C.jsxs(re,{align:"center",gap:"small",className:"wp-ai-studio-bot-message__header",children:[C.jsx(qe,{name:"ai-tools/illustration-wordpress-expert",size:"32",multicolor:!0}),C.jsx(ye,{weight:"bold",children:ee("WordPress Expert")})]}),qH(e,t).map((f,d)=>{var u,p,_,E;return f.type==="text"?C.jsx("div",{className:"sg-markdown-container",children:C.jsx(xH,{children:f.content})},`bot-message-${d}`):f.type==="image"?C.jsx(PH,{toolResult:f.content},`bot-message-${d}`):f.type==="tool"?C.jsx("div",{className:"status-loader__item status-loader__item--enter",children:C.jsx(NA,{name:f.name,reason:OA(f.args),status:f.status})},`bot-message-${d}`):f.type==="quick-actions"&&((u=f.content)!=null&&u.categories)&&!l?C.jsx(re,{padding:["medium","none","none"],children:C.jsx(SA,{categories:(p=f.content)==null?void 0:p.categories,actionsTitle:(_=f.content)==null?void 0:_.actionsTitle,actions:(E=f.content)==null?void 0:E.actions})},"bot-message-actions"):null}),t&&C.jsx($H,{segments:e}),a&&C.jsx(DH,{errorType:n}),i&&i.actionRequired==="super_power"&&s&&C.jsx(NH,{messageId:s,toolCall:i.toolCall,isResolved:i.isResolved})]})},VH=e=>{try{if(e.startsWith("[")&&e.includes('"type"')){const t=JSON.parse(e),a=t.filter(i=>i.type==="text"),n=t.filter(i=>i.type==="image_url"),r=t.filter(i=>i.type==="file_url");return{textItems:a,imageItems:n,fileItems:r}}return null}catch{return null}},RA=({mediaType:e})=>{const t=e==="image"?"material/image":"material/description",a=ee(e==="image"?"Image had been deleted":"File has been deleted");return C.jsx(go,{leadingIcon:t,size:"medium",color:"secondary",className:"override-icon",disabled:!0,children:C.jsx(ye,{italic:!0,color:"typography-tertiary",className:"chip__text",children:a})})},Jl=[{mimeType:"image/jpeg",extensions:["jpg","jpeg"],displayName:"JPG",category:"image"},{mimeType:"image/png",extensions:["png"],displayName:"PNG",category:"image"},{mimeType:"application/pdf",extensions:["pdf"],displayName:"PDF",category:"document"},{mimeType:"application/rtf",extensions:["rtf"],displayName:"RTF",category:"document"},{mimeType:"application/msword",extensions:["doc"],displayName:"DOC",category:"document"},{mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",extensions:["docx"],displayName:"DOCX",category:"document"},{mimeType:"application/vnd.ms-excel",extensions:["xls"],displayName:"XLS",category:"document"},{mimeType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",extensions:["xlsx"],displayName:"XLSX",category:"document"},{mimeType:"text/plain",extensions:["txt"],displayName:"TXT",category:"data"},{mimeType:"text/csv",extensions:["csv"],displayName:"CSV",category:"data"},{mimeType:"application/json",extensions:["json"],displayName:"JSON",category:"data"},{mimeType:"application/xml",extensions:["xml"],displayName:"XML",category:"data"},{mimeType:"text/javascript",extensions:["js"],displayName:"JS",category:"code"},{mimeType:"text/css",extensions:["css"],displayName:"CSS",category:"code"},{mimeType:"text/html",extensions:["html","htm"],displayName:"HTML",category:"code"}],GH=Jl.map(e=>e.mimeType),XH=Jl.reduce((e,t)=>(e[t.mimeType]=t.displayName,e),{});Jl.reduce((e,t)=>(t.extensions.forEach(a=>{e[a]=t.mimeType}),e),{});const KH=()=>Jl.map(e=>e.displayName).join(", "),WH=e=>{var r;const a=e.split("?")[0].split(".");return((r=a[a.length-1])==null?void 0:r.toLowerCase())||""},ZH=e=>e.startsWith("image/"),JH=(e,t)=>{const a=Jl.find(n=>n.mimeType===e);return a?a.displayName:t&&WH(t).toUpperCase()||"FILE"},LA=e=>(e/1048576).toFixed(2),ej=e=>e*1048576,IA=async e=>{if(!e||!e.type||!e.type.startsWith("image/"))return null;try{return new Promise((t,a)=>{const n=new FileReader;n.onload=r=>{var i;t((i=r.target)==null?void 0:i.result)},n.onerror=r=>{console.error("Error reading image file:",r),a(r)},n.readAsDataURL(e)})}catch(t){return console.error("Error generating image preview:",t),null}},MA=({fileUrl:e,fileName:t,mimeType:a,fileSize:n,renderDeleted:r=!1})=>{const{image:i,isLoading:s}=My(e);if(s)return null;if(!i)return r?C.jsx(RA,{mediaType:"file"}):null;if(r)return null;const o=JH(a,t),l=LA(n);return C.jsxs("div",{className:"file-item",children:[C.jsx(qe,{name:"material/description",size:"30",color:"primary"}),C.jsxs(re,{direction:"column",gap:"xx-small",className:"file-item__info",children:[C.jsx(ye,{size:"small",weight:"medium",color:"typography-primary",className:"file-item__name",children:t}),C.jsxs(ye,{size:"small",color:"typography-tertiary",className:"file-item__meta",children:[o," ",l,"MB"]})]})]})},tj=()=>C.jsx(RA,{mediaType:"image"}),PA=({imageUrl:e,alt:t,renderDeleted:a})=>{const{image:n,isLoading:r}=My(e);return r?null:n?a?null:C.jsx("div",{className:"user-message-image-container",children:C.jsx(AA,{className:"user-message-image",imageUrl:e,alt:t})}):a?C.jsx(tj,{}):null},aj=({message:e})=>{const t=ae("wp-ai-studio-client-message","wp-ai-studio-message-vertical-align-client"),a=ae("wp-ai-studio-client-message__content"),n=()=>{const r=VH(e);if(!r)return C.jsx(ye,{className:"text-pre-wrap",children:e});const{textItems:i,imageItems:s,fileItems:o}=r,l=s.length>0||o.length>0;return C.jsxs(C.Fragment,{children:[i.map((c,f)=>C.jsx(ye,{className:"text-pre-wrap",children:c.text},`text-${f}`)),l&&C.jsxs(C.Fragment,{children:[C.jsxs(re,{direction:"row",gap:"small",align:"flex-start",className:"user-message-media",children:[s.map((c,f)=>C.jsx(PA,{imageUrl:c.image_url.url,alt:ee("User uploaded image")},`image-${f}`)),o.map((c,f)=>C.jsx(MA,{fileUrl:c.file_url.url,fileName:c.file_url.file_name,mimeType:c.file_url.mime_type,fileSize:c.file_url.file_size},`file-${f}`))]}),C.jsxs(re,{direction:"column",gap:"small",alignSelf:"flex-end",className:"user-message-deleted-media",children:[s.map((c,f)=>C.jsx(PA,{imageUrl:c.image_url.url,alt:ee("User uploaded image"),renderDeleted:!0},`deleted-image-${f}`)),o.map((c,f)=>C.jsx(MA,{fileUrl:c.file_url.url,fileName:c.file_url.file_name,mimeType:c.file_url.mime_type,fileSize:c.file_url.file_size,renderDeleted:!0},`deleted-file-${f}`))]})]})]})};return C.jsx("div",{className:t,children:C.jsx("div",{className:a,children:C.jsx("div",{className:"wp-ai-studio-client-message__text",children:n()})})})},UA=A.createContext({isAtBottom:!0,showScrollButton:!1,scrollToBottom:()=>{},scrollToElement:()=>{},startContinuousScroll:()=>()=>{},stopContinuousScroll:()=>{},containerRef:{current:null},visibleHeight:0}),nj=()=>A.useContext(UA),rj=({messages:e,activeStreamingMessageId:t,showAvatar:a=!1})=>{const{visibleHeight:n,scrollToBottom:r}=nj(),[i,s]=A.useState(0),o=A.useRef(null),l=A.useMemo(()=>e.slice().reverse().find(p=>p.role==="user"),[e]);A.useLayoutEffect(()=>{if(o.current){const p=o.current.offsetHeight;s(p)}},[l==null?void 0:l.id]),A.useEffect(()=>{setTimeout(()=>{r("auto",!1)},0)},[r]);const c=i+40,f=A.useCallback(p=>{var _;return p===((_=e.at(-1))==null?void 0:_.id)},[e]),d=A.useCallback(p=>{var E;if(p===0)return!1;const _=e[p-1];return(_==null?void 0:_.role)==="assistant"&&((E=_.actionRequest)==null?void 0:E.isResolved)===!0},[e]),u=A.useCallback((p,_)=>{const E=f(p);return d(_)?{minHeight:"unset"}:{minHeight:E?`${n-c}px`:"unset"}},[n,c,f,d]);return C.jsx(dc,{children:e.map((p,_)=>{var E;return p.role==="action_request"?null:C.jsxs(re,{direction:"column",style:u(p.id,_),children:[p.role==="user"&&C.jsx("div",{ref:(l==null?void 0:l.id)===p.id?o:null,children:C.jsx(aj,{message:p.content},`user-message-${p.id}`)}),p.role==="assistant"&&C.jsx(QH,{messageSegments:[...(E=p.segments)!=null&&E.length?p.segments:[{type:"text",content:p.content}],{type:"quick-actions",content:p.quickActions}],isTyping:p.isStreaming&&p.id===t,errorOccured:p.errorOccurred,errorType:p.errorType,actionRequest:p.actionRequest,messageId:p.id,showAvatar:a},`bot-message-${p.id}`)]},`message-${p.id}`)})})},ij=({file:e})=>e?C.jsx("div",{className:"message-box__file-upload-wrapper",children:C.jsx(go,{onDelete:()=>alert("TODO"),children:e.name})}):null,sj=({file:e,previewUrl:t,loading:a,error:n,onRemove:r})=>{const[i,s]=A.useState(t||null),o=e.type&&e.type.startsWith("image/")&&!n;A.useEffect(()=>{t?s(t):o&&(async()=>{const u=await IA(e);s(u)})()},[e,t,o]);const l=()=>a?C.jsx(hh,{position:"relative",style:{background:"transparent"},delay:0}):n?C.jsx(ye,{size:"small",color:"error",children:n}):C.jsx("img",{className:"file__image",src:i||"",alt:e.name}),c=C.jsxs(re,{justify:"flex-start",align:"center",className:ae("file","text-item",n&&"text-item__error"),gap:"xx-small",children:[a?C.jsx(hh,{position:"relative",style:{background:"transparent"},delay:0}):C.jsx(qe,{name:"material/description",size:"30",color:"primary",className:ae(n&&"file__disable-icon")}),C.jsxs(re,{className:"file__data",direction:"column",children:[C.jsx(ye,{weight:"bold",size:"medium",truncate:!0,children:e.name}),n?C.jsx(ye,{size:"small",color:"error",children:n}):C.jsxs(ye,{size:"small",color:"typography-disabled",children:[XH[e.type]," ",`${LA(e==null?void 0:e.size)}MB`]})]}),C.jsx(ht,{className:"file__close-button",icon:"material/close",type:"contained",size:"small",onClick:r})]}),f=C.jsxs(re,{className:ae("file","image-item",n&&"image-item__error"),children:[l(),C.jsx(ht,{className:"file__close-button",icon:"material/close",type:"contained",size:"small",onClick:r})]});return o?f:c},oj=()=>{const e=Pt(),{files:t}=Je(a=>a.files);return C.jsx(re,{gap:"large",children:t.attached.map((a,n)=>{const r=a.status==="uploading";return C.jsx(sj,{file:a.file,previewUrl:a.preview,loading:r,error:a.error,onRemove:()=>{e(V6({id:a.id}))}},n)})})},lj=(e,t)=>{const[a,n]=A.useState(!1),r=A.useRef(0),i=A.useCallback(c=>{c.preventDefault(),c.stopPropagation(),r.current++,n(!0)},[]),s=A.useCallback(c=>{c.preventDefault(),c.stopPropagation(),r.current--,r.current===0&&n(!1)},[]),o=A.useCallback(c=>{c.preventDefault(),c.stopPropagation()},[]),l=A.useCallback(c=>{c.preventDefault(),c.stopPropagation(),r.current=0;const f=Array.from(c.dataTransfer.files);t(f),n(!1)},[t]);return{isDragging:a,dragProps:{onDragEnter:i,onDragLeave:s,onDragOver:o,onDrop:l}}},ec={UNSUPPORTED_TYPE:"Unsupported file type",UPLOAD_FAILED:"File upload failed",FILE_TOO_LARGE:"File size limit of 20MB"},ad=5,cj=20,uj=e=>e.size>ej(cj)?{valid:!1,error:ec.FILE_TOO_LARGE}:{valid:!0},fj=e=>GH.includes(e.type)?{valid:!0}:{valid:!1,error:ec.UNSUPPORTED_TYPE};async function BA(e,t={}){const{initialStatus:a="idle"}=t,n=[],r=[];for(const i of e){const s=uj(i);if(!s.valid){r.push({file:i,error:s.error});continue}const o=fj(i);if(!o.valid){r.push({file:i,error:o.error});continue}const l=await IA(i),c={id:GT(),file:i,status:a,preview:l||void 0};n.push(c)}for(const{file:i,error:s}of r)Zn.addNotification({type:"error",message:`${i.name}: ${s}`});return{validFiles:n,invalidFiles:r}}function dj(e,t){return e.validFiles.length===0?(t("No valid files to upload"),!1):!0}async function hj(e,t){try{t(To({id:e.id,status:"uploading"}));const a=await Zl(t(en.endpoints.getPresignedUrl.initiate({operation:"putObject",key:e.file.name,contentType:e.file.type,contentLength:e.file.size})).unwrap());if(a.error)throw new Error("Failed to get presigned URL");if((await Zl(t(en.endpoints.uploadToStorage.initiate({presignedUrl:a.data.presignedUrl,file:e.file})).unwrap())).error)throw new Error("Failed to upload to S3");return t(To({id:e.id,status:"success",publicUrl:a.data.publicUrl})),{success:!0,file:e}}catch{return t(To({id:e.id,status:"error",error:ec.UPLOAD_FAILED})),Zn.addNotification({type:"error",message:`${e.file.name}: ${ec.UPLOAD_FAILED}`}),{success:!1,file:e}}}async function pj(e,t){const a=e.map(n=>hj(n,t));return Promise.all(a)}function FA(e){return{successfulUploads:e.filter(a=>a.success).length,totalFiles:e.length,results:e}}async function mj(e,t){try{t(Q6({file:e}));const a=await Zl(t(en.endpoints.getPresignedUrl.initiate({operation:"putObject",key:e.file.name,contentType:e.file.type,contentLength:e.file.size})).unwrap());if(a.error)throw new Error("Failed to get presigned URL");if((await Zl(t(en.endpoints.uploadToStorage.initiate({presignedUrl:a.data.presignedUrl,file:e.file})).unwrap())).error)throw new Error("Failed to upload file");return t(To({id:e.id,status:"success",publicUrl:a.data.publicUrl})),{success:!0,file:e}}catch(a){return console.error(a),t(To({id:e.id,status:"error",error:ec.UPLOAD_FAILED})),{success:!1,file:e}}}async function gj(e,t){const a=e.map(n=>mj(n,t));return Promise.all(a)}const yj=Xn("files/uploadFiles",async(e,{dispatch:t,rejectWithValue:a})=>{const n=await BA(e,{initialStatus:"idle"});if(!dj(n,a))return a("No valid files to upload");t($6({files:n.validFiles}));const r=await pj(n.validFiles,t),i=FA(r);return{successfulUploads:i.successfulUploads,totalFiles:i.totalFiles}}),_j=Xn("fileManager/attachFilesFromSelector",async(e,{dispatch:t,getState:a,rejectWithValue:n})=>{if(a().files.files.attached.length+e.length>ad){const c=`Cannot attach more than ${ad} files`;return Zn.addNotification({type:"error",message:c}),n(c)}const s=await BA(e,{initialStatus:"uploading"}),o=await gj(s.validFiles,t),l=FA(o);if(l.successfulUploads>0){const c=l.successfulUploads===1?"File uploaded and attached successfully":`${l.successfulUploads} files uploaded and attached successfully`;Zn.addNotification({type:"success",message:c})}return{attachedFiles:l.results.map(c=>c.file)}}),bj=({title:e,upperSubtitle:t,lowerSubtitle:a,dndTextCta:n,subDndTextCta:r,isDragAndDropActive:i=!1,icon:s="material/upload",className:o})=>{const{openFileSelector:l}=jA(),c=ae("upload-card",o);return C.jsxs(re,{direction:"column",justify:"center",align:"center",gap:"medium",className:c,onClick:l,children:[C.jsxs(re,{direction:"column",gap:"large",align:"center",children:[C.jsx(qe,{size:"64",name:s,color:i?"primary":"typography-disabled"}),C.jsxs(re,{direction:"column",gap:"x-small",align:"center",children:[C.jsx(ye,{size:"large",children:n}),C.jsx(ye,{size:"large",children:r}),C.jsx(dt,{level:"5",tag:"span",color:"primary",transform:"uppercase",children:e})]})]}),C.jsxs(re,{direction:"column",gap:"xx-small",align:"center",className:"upload-card__subtitle-large",children:[C.jsx(ye,{size:"small",color:"typography-tertiary",children:t}),C.jsx(ye,{size:"small",color:"typography-tertiary",children:a})]})]})},kj=({className:e})=>{const t=KH();return C.jsx(dc,{align:"center",children:C.jsx(re,{direction:"column",align:"center",className:ae("md-drag-and-drop","md-drag-and-drop__content",e),children:C.jsx(bj,{dndTextCta:ee("Drop Your Files Here To Upload"),upperSubtitle:ee("File Size up to: 20MB"),lowerSubtitle:ee("Supported Formats: ").concat(t),icon:"material/place_item"})})})},HA=A.createContext({openFileSelector:()=>{}}),wj=({children:e,accept:t="*",multiple:a=!0,infiniteFileUploadCount:n=!0,mode:r="attach"})=>{const i=Pt(),s=A.useRef(null),{files:o}=Je(p=>p.files),l=A.useCallback(p=>{if(p.length){if(!n){const _=o.attached.length,E=ad-_;p.length>E&&console.error(`Maximum ${ad} files can be uploaded.`),p=Array.from(p).slice(0,E)}i(r==="attach"?_j(p):yj(p)),s.current&&(s.current.value="")}},[n,o,r,i]),{isDragging:c,dragProps:f}=lj([],l),u={openFileSelector:()=>{s.current&&s.current.click()}};return C.jsx(HA.Provider,{value:u,children:C.jsxs("div",{className:"md-drag-and-drop-wrapper",...f,children:[C.jsx(zs,{condition:c,children:C.jsx(re,{className:"md-drag-and-drop-overlay",children:C.jsx(kj,{})})}),C.jsx("input",{type:"file",ref:s,style:{display:"none"},onChange:p=>l(Array.from(p.target.files||[])),accept:t,multiple:a}),e]})})},jA=()=>{const e=A.useContext(HA);if(e===void 0)throw new Error("useDragAndDrop must be used within a DragAndDropProvider");return e},tc={WARNING:80,EXCEEDED:100},Or={ESSENTIAL:"essential",PLUS:"plus"},Uy={UPGRADE:"upgrade",ADD_TOKENS:"add-tokens"},qA=()=>{const{balance:e,budget:t}=Je(s=>s.usage),a=e!==null&&t!==null&&t>0?(t-e)/t*100:null,n=a!==null&&a>=tc.WARNING&&a<tc.EXCEEDED,r=a!==null&&a>=tc.EXCEEDED,i=r?tc.EXCEEDED:n?tc.WARNING:null;return{usagePercent:a,isWarning:n,isExceeded:r,usageLevel:i}},Ej=()=>{const e=Je(n=>n.acl.features);if(!e)return{isPremium:!1,planType:Or.ESSENTIAL};const t=!!e.allow_shortcuts,a=t?Or.PLUS:Or.ESSENTIAL;return{isPremium:t,planType:a}},YA="https://my.siteground.com";class Tj{handleUpgrade(){const t=YA+"/ai-studio/order/Plus";window.open(t,"_blank")}handleAddTokens(){const t=YA+"/ai-studio/add-tokens";window.open(t,"_blank")}executeActionForPlan(t){(t===Or.ESSENTIAL?Uy.UPGRADE:Uy.ADD_TOKENS)===Uy.UPGRADE?this.handleUpgrade():this.handleAddTokens()}}const vj=new Tj,Sj=()=>{const{planType:e}=Ej(),{isWarning:t,isExceeded:a}=qA();if(!t&&!a)return null;let n="",r="";return e===Or.ESSENTIAL&&t?(n=ee("You’re running low on tokens."),r=ee("Upgrade to Plus")):e===Or.ESSENTIAL&&a?(n=ee("You've run out of tokens."),r=ee("Upgrade to Plus")):e===Or.PLUS&&t?(n=ee("You're almost out of tokens."),r=ee("Add tokens")):e===Or.PLUS&&a&&(n=ee("You've run out of tokens."),r=ee("Add tokens")),C.jsxs(re,{justify:"space-between",align:"flex-start",className:"chat-input__upsell-prompt",children:[C.jsx(re,{justify:"flex-start",align:"center",gap:"x-small",className:"chat-input__upsell-prompt__wrapper",children:C.jsx(ye,{color:"primary",weight:"medium",children:n})}),C.jsx(Fa,{size:"small",color:"primary",onClick:()=>vj.executeActionForPlan(e),children:r})]})},Aj=5e3,Cj="sg-chat-textarea",xj=({hasLengthError:e,setHasLengthError:t})=>{const a=Pt(),{files:n}=Je(v=>v.files),{threadId:r,activeStreamingMessageId:i}=Je(v=>v.messages),{openFileSelector:s}=jA(),[o,l]=A.useState(""),c=i!==null,f=ae("message-box__textarea","message-box__textarea--file-upload-enabled"),d=e?"Max length 5000 characters":void 0,u=e?"error":void 0,p=()=>{a(wg())},_=()=>{const v=[];o.trim()&&v.push({type:"text",text:o.trim()}),n.attached.forEach(g=>{if(g&&g.status==="success"&&g.publicUrl){const k=g.file.type;ZH(k)?v.push({type:"image_url",image_url:{url:g.publicUrl}}):v.push({type:"file_url",file_url:{url:g.publicUrl,file_size:g.file.size,mime_type:k,file_name:g.file.name}})}}),v.length>0&&(a(Ef({question:v.length===1&&v[0].type==="text"?v[0].text:v,threadId:r})),l(""),t(!1),a(G6()))},E=!c&&o.trim()&&!e;return C.jsx(re,{style:{width:"100%"},padding:["none","medium",e?"xx-large":"medium","medium"],align:"center",justify:"center",gap:"x-small",wrap:"nowrap",grow:"1",className:"message-box__wrapper",children:C.jsxs("div",{className:"message-box",children:[C.jsx(ij,{}),C.jsxs("div",{className:"message-box__textarea-wrapper",children:[C.jsx(Sj,{}),C.jsx(a6,{id:Cj,className:f,autoFocus:!0,expandable:!0,rows:2,maxRows:6,value:o,placeholder:ee("Ask me anything WordPress related and I'll help."),state:u,validationMessage:d,onChange:v=>{const g=v.target.value||"",k=g.length>Aj;t(k),l(g)},onKeyPress:v=>{v.key===qt.ENTER&&!v.shiftKey&&(v.preventDefault(),E&&_())},toolbarTop:n.attached.length>0&&C.jsx(eb,{backgroundColor:"primary",align:"center",justify:"space-between",gap:"small",className:"toolbar-top",children:C.jsx(oj,{})}),toolbarBottom:C.jsxs(eb,{backgroundColor:"secondary",align:"center",justify:"space-between",gap:"small",className:"toolbar-bottom",children:[C.jsx(re,{align:"center",gap:"medium",children:C.jsx(ht,{color:"secondary",icon:"material/attach_file",onClick:s})}),C.jsx(re,{gap:"x-small",direction:"row",children:c?C.jsx(ht,{icon:"material/close",type:"contained",color:"primary",onClick:p}):C.jsx(ht,{icon:"material/arrow_upward",type:"contained",color:"primary",disabled:!E,onClick:_})})]})})]})]})})},$A=4,zj=300,Nj=({domRef:e,setIsDragging:t})=>{const a=Pt(),n=A.useRef(!1),r=A.useCallback(s=>{if(n.current=!1,!e)return;const o=s.pointerType!=="mouse",l={x:s.clientX,y:s.clientY},c=e.getBoundingClientRect(),f={x:l.x-c.left,y:l.y-c.top};let d=!o,u=null;const p=()=>{u&&clearTimeout(u),window.removeEventListener("pointermove",_),window.removeEventListener("pointerup",E),window.removeEventListener("pointercancel",E),document.body.style.userSelect="",t(!1)},_=v=>{const g=Math.hypot(v.clientX-l.x,v.clientY-l.y);if(!d){g>=$A&&p();return}if(!n.current&&g<$A)return;n.current||(n.current=!0,t(!0),document.body.style.userSelect="none"),v.preventDefault();const k=Math.min(Math.max(v.clientX-f.x,0),window.innerWidth-c.width),y=Math.min(Math.max(v.clientY-f.y,0),window.innerHeight-c.height);e.style.left=`${k}px`,e.style.top=`${y}px`},E=()=>{p(),n.current&&a(B6({left:parseInt(e.style.left)||0,top:parseInt(e.style.top)||0}))};o&&(u=setTimeout(()=>{d=!0},zj)),window.addEventListener("pointermove",_,{passive:!1}),window.addEventListener("pointerup",E),window.addEventListener("pointercancel",E)},[e,t,a]),i=A.useCallback(()=>{n.current||a(kh(!1))},[a]);return C.jsx("div",{className:"chat-close-state",onPointerDown:r,onClick:i,children:C.jsx(qe,{name:"ai-tools/illustration-siteground-ai-logo",color:"white",multicolor:!0,size:"48"})})},QA=()=>C.jsxs(C.Fragment,{children:[C.jsx("div",{className:"wp-ai-studio-chat__resizer wp-ai-studio-chat__resizer--left","data-resizer":"resize-left"}),C.jsx("div",{className:"wp-ai-studio-chat__resizer wp-ai-studio-chat__resizer--right","data-resizer":"resize-right"}),C.jsx("div",{className:"wp-ai-studio-chat__resizer wp-ai-studio-chat__resizer--bottom","data-resizer":"resize-bottom"}),C.jsx("div",{className:"wp-ai-studio-chat__resizer wp-ai-studio-chat__resizer--top","data-resizer":"resize-top"}),C.jsx("div",{className:"wp-ai-studio-chat__resizer wp-ai-studio-chat__resizer--top-left","data-resizer":"resize-top-left"}),C.jsx("div",{className:"wp-ai-studio-chat__resizer wp-ai-studio-chat__resizer--top-right","data-resizer":"resize-top-right"}),C.jsx("div",{className:"wp-ai-studio-chat__resizer wp-ai-studio-chat__resizer--bottom-left","data-resizer":"resize-bottom-left"}),C.jsx("div",{className:"wp-ai-studio-chat__resizer wp-ai-studio-chat__resizer--bottom-right","data-resizer":"resize-bottom-right"})]}),Oj=()=>{const e=Pt(),t=A.useCallback(a=>{a.preventDefault();const n=i=>{const s=nb(window.innerWidth-i.clientX);e(F6(s))},r=()=>{window.removeEventListener("mousemove",n),window.removeEventListener("mouseup",r),document.body.style.userSelect=""};document.body.style.userSelect="none",window.addEventListener("mousemove",n),window.addEventListener("mouseup",r)},[e]);return C.jsx("div",{className:"wp-ai-studio-chat__docked-resizer","data-none-draggable":!0,onMouseDown:t})},Dj=({children:e,value:t})=>C.jsx(UA.Provider,{value:t,children:e});function Rj(e,t){const[a,n]=A.useState(!0),[r,i]=A.useState(!1),[s,o]=A.useState(0),l=A.useRef({userHasScrolled:!1,isScrolling:!1,lastScrollHeight:0,scrollDetachTimeout:null,streamingInterval:null}),c=A.useRef(!1),f=A.useCallback(()=>{e.current&&o(e.current.clientHeight)},[e]),d=A.useCallback(()=>{if(!e.current||l.current.isScrolling)return;const{scrollTop:O,scrollHeight:x,clientHeight:T}=e.current,z=O+T>=x-5;z!==a&&(n(z),i(!z))},[e,a]),u=A.useCallback((O="smooth",x=!1)=>{e.current&&(l.current.isScrolling=!0,x&&(l.current.userHasScrolled=!1),e.current.scrollTo({top:e.current.scrollHeight,behavior:O}),setTimeout(()=>{l.current.isScrolling=!1,n(!0),i(!1)},O==="smooth"?300:0))},[e]),p=A.useCallback(()=>{if(!l.current.isScrolling){if(e.current){const{scrollTop:O,scrollHeight:x,clientHeight:T}=e.current;O+T>=x-20?t&&(t.isStreaming||t.chatPhase==="loading")&&(l.current.userHasScrolled=!1):l.current.userHasScrolled=!0}l.current.scrollDetachTimeout&&clearTimeout(l.current.scrollDetachTimeout),l.current.scrollDetachTimeout=setTimeout(()=>{d(),l.current.scrollDetachTimeout=null},50)}},[d,e,t]),_=A.useCallback(()=>t?t.isStreaming||t.chatPhase==="loading":!1,[t]),E=A.useCallback((O,x,T)=>{const z=O+T>=x-20;l.current.userHasScrolled&&!z||(z||!l.current.userHasScrolled)&&e.current&&(e.current.scrollTop=e.current.scrollHeight,z&&(l.current.userHasScrolled=!1))},[e]),v=A.useCallback((O,x,T,z)=>{const L=O+T>=x-5;(a&&!l.current.userHasScrolled&&z||L&&z)&&u("auto",!1)},[a,u]),g=A.useCallback(()=>{if(!e.current)return;const O=e.current.scrollHeight,x=Math.abs(O-l.current.lastScrollHeight)>2;l.current.lastScrollHeight=O;const{scrollTop:T,scrollHeight:z,clientHeight:L}=e.current;_()?E(T,z,L):v(T,z,L,x)},[e,_,E,v]),k=A.useCallback(()=>{l.current.streamingInterval&&(clearInterval(l.current.streamingInterval),l.current.streamingInterval=null)},[]),y=A.useCallback(()=>(l.current.streamingInterval&&clearInterval(l.current.streamingInterval),e.current&&!l.current.userHasScrolled&&(e.current.scrollTop=e.current.scrollHeight),l.current.streamingInterval=setInterval(()=>{if(!e.current)return;const{scrollTop:O,scrollHeight:x,clientHeight:T}=e.current,z=O+T>=x-20;l.current.userHasScrolled&&!z||(z||!l.current.userHasScrolled)&&(e.current.scrollTop=e.current.scrollHeight,z&&(l.current.userHasScrolled=!1))},50),k),[e,k]);A.useEffect(()=>{const O=t?t.isStreaming||t.chatPhase==="loading":!1,x=c.current;return O&&!x&&(l.current.userHasScrolled=!1),c.current=O,O&&!l.current.streamingInterval?y():!O&&l.current.streamingInterval&&k(),()=>{k()}},[e,y,k,t]);const b=A.useCallback(O=>{let x=null,T=0;const z=100,L=()=>{f(),a&&!l.current.userHasScrolled&&u("auto",!1)},P=new ResizeObserver(()=>{const U=Date.now();if(U-T<z){if(x)return;x=setTimeout(()=>{L(),T=Date.now(),x=null},z);return}L(),T=U});return P.observe(O),{observer:P,cleanup:()=>{x&&clearTimeout(x)}}},[f,a,u]),w=A.useCallback(O=>{let x=null,T=0;const z=50,L=new MutationObserver(()=>{const P=Date.now();if(P-T<z){if(x)return;x=setTimeout(()=>{g(),T=Date.now(),x=null},z);return}g(),T=P});return L.observe(O,{childList:!0,subtree:!0,characterData:!0}),{observer:L,cleanup:()=>{x&&clearTimeout(x)}}},[g]),h=A.useCallback(()=>{l.current.userHasScrolled||u("auto",!1),f()},[u,f]);A.useEffect(()=>{const O=e.current;if(!O)return;const x=l.current;h(),O.addEventListener("scroll",p,{passive:!0});const T=b(O),z=w(O);return()=>{O.removeEventListener("scroll",p),T.observer.disconnect(),z.observer.disconnect(),T.cleanup(),z.cleanup(),x.scrollDetachTimeout&&clearTimeout(x.scrollDetachTimeout),x.streamingInterval&&(clearInterval(x.streamingInterval),x.streamingInterval=null)}},[e,p,b,w,h]);const S=A.useCallback((O,x={})=>{if(!(!e.current||!O)){if(l.current.isScrolling=!0,x.topOffset!==void 0){const T=e.current.getBoundingClientRect(),z=O.getBoundingClientRect(),P=e.current.scrollTop+(z.top-T.top)-x.topOffset;e.current.scrollTo({top:Math.max(0,P),behavior:x.behavior||"smooth"})}else O.scrollIntoView({behavior:x.behavior||"smooth",block:x.block||"start"});setTimeout(()=>{l.current.isScrolling=!1,d()},x.behavior==="auto"?0:300)}},[e,d]);return{isAtBottom:a,showScrollButton:r,scrollToBottom:u,scrollToElement:S,startContinuousScroll:y,stopContinuousScroll:k,visibleHeight:s}}const Lj=({children:e,bottomContent:t,className:a="",dataComponent:n,onScrollPositionChange:r,showScrollButton:i=!0,showFadeOverlay:s=!0,style:o,scrollableAreaStyle:l,bottomContentStyle:c,scrollButtonPosition:f,fadeOverlayPosition:d,streamingState:u,header:p,headerStyle:_})=>{const E=A.useRef(null),v=A.useRef(null),[g,k]=pe.useState(0),{isAtBottom:y,showScrollButton:b,scrollToBottom:w,scrollToElement:h,startContinuousScroll:S,stopContinuousScroll:O,visibleHeight:x}=Rj(E,u),{isWarning:T,isExceeded:z}=qA(),L=T||z;A.useEffect(()=>{r&&r(y)},[y,r]),A.useEffect(()=>{const ne=v.current;if(!ne)return;const ie=new ResizeObserver(M=>{for(const te of M)k(te.target.clientHeight)});return ie.observe(ne),k(ne.clientHeight),()=>{ie.disconnect()}},[]);const P=ae("sg-scrollable-container",a),U=i&&b,j=s&&b,V={bottom:`${f!==void 0?f:g+16-(L?22:0)}px`},D=d!==void 0?{bottom:`${d}px`}:void 0;return C.jsx(Dj,{value:{isAtBottom:y,showScrollButton:b,scrollToBottom:w,scrollToElement:h,startContinuousScroll:S,stopContinuousScroll:O,containerRef:E,visibleHeight:x},children:C.jsxs("div",{className:P,style:o,children:[p&&C.jsx("div",{className:"sg-scrollable-container__header",style:_,children:p}),C.jsx("div",{className:"sg-scrollable-container__content",ref:E,"data-component":n,style:l,children:e}),i&&C.jsx(ht,{className:`sg-scrollable-container__scroll-button ${U?"visible":""}`,style:V,color:"contrast",type:"contained",icon:"material/arrow_downward",size:"large",onClick:()=>w("smooth",!0)}),s&&C.jsx("div",{className:`sg-scrollable-container__fade-overlay ${j?"visible":""}`,"aria-hidden":"true",style:D}),t&&C.jsx("div",{ref:v,style:c,children:t})]})})},Ij=({icon:e,label:t,selected:a=!1,description:n,onClickHandler:r,children:i})=>C.jsxs(dc,{onClick:r,className:ae("menu-item",a&&"menu-item__selected"),align:"center",gap:"none",padding:["small","x-small"],children:[C.jsxs(re,{justify:"space-between",align:"center",gap:"small",children:[C.jsx(qe,{name:e,size:"18"}),C.jsxs(re,{direction:"column",className:"menu-item__label",children:[C.jsx(ye,{truncate:!0,children:t}),C.jsx(ye,{color:"typography-tertiary",truncate:!0,children:n})]})]}),i]}),Mj=()=>C.jsxs(re,{align:"center",direction:"column",gap:"x-small",padding:["x-large","none"],children:[C.jsxs(re,{direction:"column",gap:"small",align:"center",children:[C.jsx(qe,{name:"material/search",size:"24"}),C.jsx(dt,{level:"5",children:ee("No results found.")})]}),C.jsx(ye,{align:"center",children:ee("Try different keywords, check spelling, or broaden your filters.")})]}),Pj=()=>{const e=Je(a=>a.app.config),t=Pt();return C.jsxs(re,{align:"center",direction:"column",gap:"x-small",padding:["x-large","none"],children:[C.jsxs(re,{direction:"column",gap:"small",align:"center",children:[C.jsx(qe,{name:"material/ai",size:"24",color:"typography-tertiary"}),C.jsx(dt,{level:"5",color:"typography-tertiary",children:ee("No conversations yet")})]}),C.jsx(ye,{align:"center",color:"typography-tertiary",children:ee("Start chatting to build your history!")}),C.jsx(re,{direction:"column",align:"center",padding:["small","none","none"],children:C.jsx(Fa,{size:"small",color:"primary",onClick:()=>{t(Ic({welcomeMsg:e.welcome_msg,quickActions:e.quickActions})),t(wo(!1))},children:ee("Start chat")})})]})},VA=[{id:"today",label:ee("Today"),key:"today"},{id:"week",label:ee("Last 7 Days"),key:"last_week"},{id:"month",label:ee("Last 30 Days"),key:"last_month"},{id:"older",label:ee("Older"),key:"older"}],Uj=A.forwardRef((e,t)=>{const[a,n]=A.useState(""),r=Je(u=>u.messages.threadId),i=Pt(),{data:s,isError:o}=oO();A.useImperativeHandle(t,()=>({setSearchTerm:u=>n(u)}));const l=A.useMemo(()=>{if(!s)return null;if(!a)return s;const u={today:[],last_week:[],last_month:[],older:[]};return VA.forEach(p=>{var E;const _=p.key;u[_]=(E=s[_])==null?void 0:E.filter(v=>v.title.toLowerCase().includes(a.toLowerCase()))}),u},[a,s]),c=!!Object.values(l||{}).every(u=>(u==null?void 0:u.length)===0),f=!!(s&&Object.values(s).every(u=>(u==null?void 0:u.length)===0)),d=!!(a&&!f&&c);return C.jsxs(re,{direction:"column",padding:["none","medium"],children:[(f||o)&&C.jsx(Pj,{}),d&&!o&&C.jsx(Mj,{}),!f&&!d&&l&&VA.map(u=>{var p;return C.jsx(re,{direction:"column",children:((p=l[u.key])==null?void 0:p.length)>0&&C.jsxs(C.Fragment,{children:[C.jsx(ye,{weight:"bold",padding:["xx-small","small"],color:"typography-tertiary",transform:"uppercase",children:u.label}),C.jsx(re,{direction:"column",padding:["xx-small","none","medium","none"],gap:"xx-small",className:"settings-items",children:l[u.key].map(_=>C.jsx(Ij,{icon:"material/smart_toy",label:_.title,selected:r===_.id,onClickHandler:()=>{i(XT(_.id)),i(wo(!1))}},_.id))})]})},u.id)})]})}),Bj=({value:e,onChange:t,placeholder:a=ee("Search..."),autoFocus:n=!0,className:r,size:i})=>C.jsx(Fz,{autoFocus:n,className:r,placeholder:a,value:e,onChange:s=>t(s.target.value),prefix:C.jsx(qe,{name:"material/search",size:"18",color:"light"}),suffix:e&&C.jsx(qe,{name:"material/close",size:"20",color:"typography-secondary",onClick:()=>t("")}),tabIndex:0,size:i}),Fj=({isHistoryDrawerOpen:e})=>{const t=A.useRef(null),a=A.useRef(null);return A.useEffect(()=>{var n,r;e&&((r=(n=a.current)==null?void 0:n.parentElement)==null||r.scrollTo({top:0}))},[e]),C.jsxs("div",{ref:a,children:[C.jsx("div",{className:"chat-history__search",children:C.jsx(Bj,{placeholder:"Search Chats",autoFocus:!0,size:"large",onChange:n=>{var r;(r=t.current)==null||r.setSearchTerm(n)}})}),C.jsx(Uj,{ref:t})]})},Hj=()=>[ee("Generate content & images"),ee("Install, update & audit plugins"),ee("Manage products and prices"),ee("Optimize for SEO"),ee("Do site maintenance"),ee("Run bulk actions with one prompt")],jj=({onDismiss:e})=>{const{dismiss:t}=vg(),a=Hj(),n=async()=>{await t(),e==null||e()};return C.jsx(re,{direction:"column",className:"wp-ai-studio-chat-onboarding-scroll",children:C.jsxs(re,{direction:"column",align:"center",gap:"xx-large",padding:"large",className:"wp-ai-studio-chat-onboarding",children:[C.jsxs(re,{align:"center",justify:"center",direction:"column",children:[C.jsx(dt,{align:"center",color:"typography-contrast",children:ee("One AI Agent.")}),C.jsx(dt,{align:"center",color:"typography-contrast",children:ee("Every WordPress task.")}),C.jsx(ye,{size:"large",color:"typography-contrast",className:"wp-ai-studio-chat-onboarding__desc",children:ee("Turn hours of admin work into minutes of conversation.")})]}),C.jsx(re,{direction:"column",gap:"large",padding:"large",className:"wp-ai-studio-chat-onboarding__bullets",children:a.map((r,i)=>C.jsxs(re,{gap:"small",align:"center",wrap:"nowrap",children:[C.jsx(qe,{name:"material/check",size:"24",color:"success"}),C.jsx(ye,{size:"large",color:"typography-contrast",children:r})]},i))}),C.jsx(Fa,{color:"tertiary",size:"large",onClick:n,children:ee("GET STARTED")})]})})},GA=()=>({sidebarWidth:a2(),adminBarHeight:n2()}),qj=e=>{const[t,a]=A.useState(GA);return A.useEffect(()=>{if(!e)return;const n=()=>a(GA());n(),window.addEventListener("resize",n);const r=document.getElementById("adminmenuback");let i=null;return r&&(i=new ResizeObserver(n),i.observe(r)),()=>{window.removeEventListener("resize",n),i==null||i.disconnect()}},[e]),t},XA="wpais-admin-layout-styles",Yj=()=>document.getElementById("wpwrap")?"#wpwrap":"body",$j=[".interface-interface-skeleton","#site-editor"],Qj=32,Vj=e=>`
  html.${Mi} {
    overflow: hidden;
  }

  html.${Mi} ${e} {
    box-sizing: border-box;
    width: calc(100vw - var(${ko}, ${Ri}px));
    height: calc(100vh - var(${Lc}, ${Qj}px));
    overflow: auto;
  }

  html.${Mi} #wpfooter {
    position: static;
    clear: both;
  }

  ${$j.map(t=>`
  html.${Mi} ${t} {
    right: var(${ko}, ${Ri}px);
    width: auto;
  }`).join(`
`)}

  html.${bo} {
    overflow: hidden;
  }

  html.${bo} #wpbody,
  html.${bo} #wpfooter {
    display: none;
  }
`,Gj=()=>{if(document.getElementById(XA))return;const e=document.createElement("style");e.id=XA,e.textContent=Vj(Yj()),document.head.appendChild(e)},Xj=(e,t,a,n)=>{Gj();const r=document.documentElement,i=e==="docked"&&!n,s=e==="full"&&!n;r.classList.toggle(Mi,i),r.classList.toggle(bo,s),i||s?r.style.setProperty(Lc,`${a}px`):r.style.removeProperty(Lc),i?r.style.setProperty(ko,`${t}px`):r.style.removeProperty(ko)},Kj=()=>{const e=document.documentElement;e.classList.remove(Mi,bo),e.style.removeProperty(ko),e.style.removeProperty(Lc)},Wj=e=>{const t=window.innerWidth-Ii-ab,a=window.innerHeight-Ii-ab;return{left:`${(e==null?void 0:e.left)??t}px`,top:`${(e==null?void 0:e.top)??a}px`,width:`${Ii}px`,height:`${Ii}px`,right:"auto",bottom:"auto"}},Zj=()=>({left:"0",top:"0",width:"100%",height:"100%",maxHeight:"100vh",right:"auto",bottom:"auto",border:0}),Jj=(e,t)=>({left:"auto",right:"0",top:`${t.adminBarHeight}px`,bottom:"0",width:`${e}px`,height:"auto",maxHeight:"none"}),eq=e=>({left:`${e.sidebarWidth}px`,right:"0",top:`${e.adminBarHeight}px`,bottom:"0",width:"auto",height:"auto",maxHeight:"none"}),tq=e=>({left:`${e.left}px`,top:`${e.top}px`,width:e.width>0?`${e.width}px`:void 0,height:e.height>0?`${e.height}px`:void 0}),aq=({minimized:e,isNarrowViewport:t,effectiveDisplayMode:a,position:n,minimizedPosition:r,dockedWidth:i,adminOffsets:s})=>e?Wj(r):t?Zj():a==="docked"?Jj(i,s):a==="full"?eq(s):tq(n),nq=({footer:e})=>{const t=Je(a=>a.app.config.quickActions);return C.jsx(re,{direction:"column",align:"center",justify:"center",className:"wp-ai-studio-chat-hero",children:C.jsxs(re,{direction:"column",align:"center",gap:"medium",className:"wp-ai-studio-chat-hero__inner",children:[C.jsx(qe,{name:"ai-tools/illustration-siteground-ai-logo",size:"64",multicolor:!0}),C.jsxs(re,{direction:"column",align:"center",gap:"x-small",children:[C.jsx(dt,{level:"2",align:"center",children:ee("How can I help you today?")}),C.jsx(ye,{align:"center",children:ee("Your WordPress AI Assistant. Ask about content, your store, speed, or security.")})]}),C.jsx("div",{className:"wp-ai-studio-chat-hero__composer",children:e}),t&&C.jsx("div",{className:"wp-ai-studio-chat-hero__suggestions",children:C.jsx(SA,{categories:t.categories,actionsTitle:t.actionsTitle,actions:t.actions,variant:"fullscreen"})})]})})},rq=()=>{const{device:e}=A.useContext(jt),{displayMode:t,isNarrowViewport:a,isPopover:n,isDocked:r,isFull:i}=Sg(),[s,o]=A.useState(null),[l,c]=A.useState(!1),[f,d]=A.useState(!1),{minimized:u,floating:p,docked:_}=Je(te=>te.chat),E=p.position,v=Je(te=>te.app.historyVisibility),g=Pt(),k=r2(),y=qj(!u&&(r||i));jN(),HN({},{pollingInterval:6e4,skipPollingIfUnfocused:!0,refetchOnFocus:!0,skip:u});const b=Je(te=>te.messages),w=A.useRef(!1),h=A.useRef(t),{shouldShow:S,isLoading:O}=vg(),x=ae("wp-ai-studio-chat",`wp-ai-studio-chat--${t}`,u?"wp-ai-studio-chat__minimized":"wp-ai-studio-chat__opened",l&&"wp-ai-studio-chat--dragging",!u&&S&&"wp-ai-studio-chat--onboarding"),T=ae("wp-ai-studio-chat__content","wp-ai-studio-chat__content__footer","wp-ai-studio-chat__content--expand"),z=ae("wp-ai-studio-chat__footer"),L={isStreaming:b.activeStreamingMessageId!==null,chatPhase:b.phase==="error"?"load-chat-error-occured":b.phase},P=A.useCallback(()=>{if(!s||u||a||!n)return;const te=getComputedStyle(s),J=parseInt(te.width)||0,le=parseInt(te.height)||0;if(J<Di)return;const ge=parseInt(te.left)||0,He=parseInt(te.top)||0;g(wh({left:Math.max(0,ge),top:Math.max(0,He),width:J,height:le}))},[s,u,a,n,g]),U=A.useCallback(()=>{s&&k(s)},[s,k]),j=A.useCallback(te=>{o(te)},[]),B=A.useCallback(()=>!(u||!n||a||e!=null&&e.isDevicePhone||e!=null&&e.isDeviceTablet),[e,u,a,n]),q=A.useRef(P);q.current=P,A.useEffect(()=>{s&&q.current()},[s]),A.useEffect(()=>{!s||u||a||O||!n||e&&(e.isDevicePhone||e.isDeviceTablet)||P5(s)},[s,u,a,O,S,e,n]),A.useEffect(()=>{w.current===!0&&a===!1&&!u&&n&&U(),w.current=a},[a,U,u,n]),A.useEffect(()=>{h.current!=="popover"&&n&&!a&&U(),h.current=t},[t,n,a,U]),A.useEffect(()=>{Xj(t,_.width,y.adminBarHeight,u)},[t,_.width,y.adminBarHeight,u]),A.useEffect(()=>()=>Kj(),[]);const V=`${Je(te=>te.app.config.assetsPath)}/images/bg-image.png`,D=aq({minimized:u,isNarrowViewport:a,effectiveDisplayMode:t,position:E,minimizedPosition:p.minimizedPosition,dockedWidth:_.width,adminOffsets:y}),ne=!!b.threadId,ie=i&&!ne&&!S,M=C.jsx("div",{className:z,children:C.jsx(xj,{hasLengthError:f,setHasLengthError:d})});return C.jsxs("div",{ref:j,id:h6,className:x,style:D,children:[C.jsx(zs,{condition:u,children:C.jsx(Nj,{domRef:s,setIsDragging:c})}),C.jsxs(zs,{condition:!u&&S,children:[C.jsxs(og,{isLoadingAPIs:[O],hideChildrenWhenLoading:!0,children:[C.jsx("img",{src:V,alt:"","aria-hidden":!0,className:"wp-ai-studio-chat__onboarding-bg"}),C.jsx(i2,{updateChatStyles:P,domRef:s,setIsDragging:c}),C.jsx(jj,{})]}),B()&&C.jsx(QA,{})]}),C.jsxs(zs,{condition:!u&&!S,children:[C.jsxs(og,{isLoadingAPIs:[O],hideChildrenWhenLoading:!0,children:[C.jsx(i2,{updateChatStyles:P,domRef:s,setIsDragging:c}),C.jsxs(wj,{children:[ie?C.jsx(nq,{footer:M}):C.jsx(Lj,{className:T,streamingState:L,dataComponent:"ai-chat-scrollable",bottomContent:M,showFadeOverlay:i,fadeOverlayPosition:148,children:C.jsx("div",{className:ae("wp-ai-studio-chat__messages-column",i&&"wp-ai-studio-chat__messages-column--centered"),children:C.jsx(rj,{messages:b.messages,activeStreamingMessageId:b.activeStreamingMessageId,showAvatar:i})})}),C.jsx(Yz,{isOpen:v,className:"sg-drawer-override",tabIndex:0,autoFocus:!0,offset:0,fullWidth:!i,width:i?g6:void 0,header:C.jsx("div",{children:C.jsxs(re,{justify:"space-between",align:"center",padding:["medium","medium"],children:[C.jsx(dt,{level:"5",children:"History"}),C.jsx(ht,{icon:"material/close",tooltip:"Close",type:"ghost",size:"small",color:"secondary",onClick:()=>{g(wo(!1))}})]})}),children:C.jsx(Fj,{isHistoryDrawerOpen:v})})]})]}),B()&&C.jsx(QA,{}),r&&!a&&C.jsx(Oj,{})]})]})},iq=()=>{const e=Je(l=>l.app.config),t=Je(l=>l.chat.activeThreadId),a=Je(l=>l.messages.threadId),n=Pt(),{data:r,refetch:i}=FN(void 0,{refetchOnMountOrArgChange:!0});A.useEffect(()=>()=>{n(wg())},[n]),A.useEffect(()=>{t&&!a&&n(XT(t))},[t,a,n]);const s=A.useCallback(()=>{Hb(e),i()},[i,e]);e2("connection_status_changed",s);const o=A.useMemo(()=>{if(!e.locale)return{"":{localeSlug:e.localeSlug||"en"}};const l=JSON.parse(e.locale);return l[""].localeSlug=e.localeSlug||"en",l},[e.locale,e.localeSlug]);return A.useEffect(()=>{ce.setLocale(o)},[o]),A.useEffect(()=>{(r==null?void 0:r.connected)===!1&&(jb(e)||KN(e))&&Hb(e)},[r==null?void 0:r.connected,e]),r!=null&&r.connected?C.jsx(rq,{}):null},sq=()=>{const e=Je(r=>r.app.config),[t,a]=A.useState(e.chatSource==="wp_frontend_chatbox"?!!e.chat_bubble_fe_hidden:!!e.chat_bubble_admin_hidden),n=A.useCallback(({source:r,hidden:i})=>{r===e.chatSource&&a(i)},[e.chatSource]);return e2("chat_bubble_visibility_changed",n),t?null:C.jsx(iq,{})};return{init:e=>{const t=qb(e.config);rO(e.config),ZN();const a=jb(e.config);t.dispatch(ib(e.config)),!a&&e.config.defaultDisplayMode&&t.dispatch(Eo(e.config.defaultDisplayMode)),e.config.minimizeOverride===!0&&t.dispatch(kh(!0)),KT.init({interceptPageNavigation:!0,interceptPageRefresh:!1}),R5(t);const n=e.config.assetsPath,r=n+"/images",i=n+"/fonts",s=n+"/data";tR(e,o=>C.jsx(wz,{store:t,children:C.jsx(Y3,{fontsInjectTarget:o,context:{config:{svgAssetsPath:r,fontsAssetsPath:i,dataAssetsPath:s}},children:C.jsxs(V_,{theme:"light",children:[C.jsx(sq,{}),C.jsx(EO,{}),C.jsx(z5,{})]})})}),"chat.css")}}});
