1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="103f5a2c-9a39-4f29-8f9d-9fc7db5972e3",e._sentryDebugIdIdentifier="sentry-dbid-103f5a2c-9a39-4f29-8f9d-9fc7db5972e3")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[58318],{30:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("Bold",[["path",{d:"M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8",key:"mg9rjx"}]])},173:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("List",[["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 18h.01",key:"1tta3j"}],["path",{d:"M3 6h.01",key:"1rqtza"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 18h13",key:"1lx6n3"}],["path",{d:"M8 6h13",key:"ik3vkj"}]])},1514:(e,t,r)=>{"use strict";r.d(t,{ft:()=>o});var n=r(583896),a=r(453641),i=r(587250);(0,a.Kt)({key:n.t.exitBreak,editOnly:!0}).extendTransforms(({editor:e})=>({insert:t=>e.tf.insertExitBreak(t),insertBefore:t=>e.tf.insertExitBreak({...t,reverse:!0})})),(0,a.qt)({key:n.t.normalizeTypes,options:{rules:[]}}).overrideEditor(({editor:e,getOptions:t,tf:{normalizeNode:r}})=>({transforms:{normalizeNode([n,a]){let{rules:o,onError:l}=t();if(!(0===a.length&&o.some(({path:t,strictType:r,type:n})=>{let a=i.lZ.get(e,t);if(a){if(r&&i.$7.isElement(a)&&a.type!==r){let{children:n,...a}=e.api.create.block({type:r});return e.tf.setNodes(a,{at:t}),!0}}else try{return e.tf.insertNodes(e.api.create.block({type:r??n}),{at:t}),!0}catch(e){l?.(e)}return!1})))return r([n,a])}}})),(0,a.Kt)({key:n.t.singleBlock,override:{enabled:{[n.t.trailingBlock]:!1}}}).overrideEditor(({editor:e,tf:{normalizeNode:t}})=>({transforms:{insertBreak(){e.tf.insertSoftBreak()},normalizeNode(r){let[n,a]=r;0===a.length&&e.children.length>1?e.tf.withoutNormalizing(()=>{for(;e.children.length>1;)e.tf.insertText("\n",{at:e.api.start([1])}),e.tf.mergeNodes({at:[1],match:(e,t)=>1===t.length})}):t(r)}}})),(0,a.Kt)({key:n.t.singleLine,override:{enabled:{[n.t.trailingBlock]:!1}}}).overrideEditor(({editor:e,tf:{normalizeNode:t}})=>({transforms:{insertBreak(){},insertSoftBreak(){},normalizeNode(r){let[n,a]=r;if(i.Qg.isText(n)){let t=n.text.replace(/[\r\n\u2028\u2029]/g,"");if(t!==n.text)return void e.tf.insertText(t,{at:a})}0===a.length&&e.children.length>1?e.tf.withoutNormalizing(()=>{for(;e.children.length>1;)e.tf.mergeNodes({at:[1],match:(e,t)=>1===t.length})}):t(r)}}}));let o=(0,a.qt)({key:n.t.trailingBlock,options:{level:0}}).overrideEditor(({editor:e,getOptions:t,tf:{normalizeNode:r}})=>({transforms:{normalizeNode([n,a]){let{level:o,type:l,...s}=t();if(0===a.length){let t=e.api.last([],{level:o}),r=t?.[0];if(!r||r.type!==l&&(0,i.Jb)(t,s)){let r=t?i.s2.next(t[1]):[0];e.tf.insertNodes(e.api.create.block({type:l},r),{at:r});return}}return r([n,a])}}})).extend(({editor:e})=>({options:{type:e.getType(n.t.p)}}))},2996:(e,t,r)=>{"use strict";r.d(t,{N:()=>ec});var n=r(481651),a=r(922665),i=r(70380),o=r(54748),l=r(904871),s=r(377894),u=r(842676),c=r(774850),d=r(52515),p=r(442418),f=r(490243);function h(e,t){let r=setTimeout(t,e);return()=>clearTimeout(r)}function g(...e){return e.join(", ").split(", ").reduce((e,t)=>{let r=t.endsWith("ms")?1:1e3,n=Number.parseFloat(t||"0s")*r;return n>e?n:e},0)}function m(e,t,r){return!r&&!1!==t&&(!e||!!t)}var v=(0,o.ab)(function(e){var{store:t,alwaysVisible:r}=e,n=(0,u.YG)(e,["store","alwaysVisible"]);let o=(0,i.vO)();t=t||o,(0,c.V1)(t,!1);let v=(0,d.useRef)(null),y=(0,s.Bi)(n.id),[b,E]=(0,d.useState)(null),S=t.useState("open"),_=t.useState("mounted"),w=t.useState("animated"),x=t.useState("contentElement"),k=(0,l.O$)(t.disclosure,"contentElement");(0,s.UQ)(()=>{v.current&&(null==t||t.setContentElement(v.current))},[t]),(0,s.UQ)(()=>{let e;return null==t||t.setState("animated",t=>(e=t,!0)),()=>{void 0!==e&&(null==t||t.setState("animated",e))}},[t]),(0,s.UQ)(()=>{if(w){var e;let t;return(null==x?void 0:x.isConnected)?(e=()=>{E(S?"enter":_?"leave":null)},t=requestAnimationFrame(()=>{t=requestAnimationFrame(e)}),()=>cancelAnimationFrame(t)):void E(null)}},[w,x,S,_]),(0,s.UQ)(()=>
1{if(!t||!w||!b||!x)return;let e=()=>null==t?void 0:t.setState("animating",!1),r=()=>(0,p.flushSync)(e);if("leave"===b&&S||"enter"===b&&!S)return;if("number"==typeof w)return h(w,r);let{transitionDuration:n,animationDuration:a,transitionDelay:i,animationDelay:o}=getComputedStyle(x),{transitionDuration:l="0",animationDuration:s="0",transitionDelay:u="0",animationDelay:c="0"}=k?getComputedStyle(k):{},d=g(i,o,u,c)+g(n,a,l,s);if(!d){"enter"===b&&t.setState("animated",!1),e();return}return h(Math.max(d-1e3/60,0),r)},[t,w,x,k,S,b]);let A=m(_,(n=(0,s.w7)(n,e=>(0,f.jsx)(a.XP,{value:t,children:e}),[t])).hidden,r),T=n.style,I=(0,d.useMemo)(()=>A?(0,u.ko)((0,u.IA)({},T),{display:"none"}):T,[A,T]);return n=(0,u.ko)((0,u.IA)({id:y,"data-open":S||void 0,"data-enter":"enter"===b||void 0,"data-leave":"leave"===b||void 0,hidden:A},n),{ref:(0,s.SV)(y?t.setContentElement:null,v,n.ref),style:I}),(0,c.HR)(n)}),y=(0,o.Rf)(function(e){let t=v(e);return(0,o.n)("div",t)});(0,o.Rf)(function(e){var{unmountOnHide:t}=e,r=(0,u.YG)(e,["unmountOnHide"]);let n=(0,i.vO)(),a=r.store||n;return!1===(0,l.O$)(a,e=>!t||(null==e?void 0:e.mounted))?null:(0,f.jsx)(y,(0,u.IA)({},r))});var b=(0,o.ab)(function(e){var{store:t,alwaysVisible:r}=e,a=(0,u.YG)(e,["store","alwaysVisible"]);let i=(0,n.UW)(!0),o=(0,n.Ay)(),l=!!(t=t||o)&&t===i;(0,c.V1)(t,!1);let p=(0,d.useRef)(null),h=(0,s.Bi)(a.id),g=t.useState("mounted"),v=m(g,a.hidden,r),y=v?(0,u.ko)((0,u.IA)({},a.style),{display:"none"}):a.style,b=t.useState(e=>Array.isArray(e.selectedValue)),E=(0,s.Cy)(p,"role",a.role),[S,_]=(0,d.useState)(!1),w=t.useState("contentElement");(0,s.UQ)(()=>{if(!g)return;let e=p.current;if(!e||w!==e)return;let t=()=>{_(!!e.querySelector("[role='listbox']"))},r=new MutationObserver(t);return r.observe(e,{subtree:!0,childList:!0,attributeFilter:["role"]}),t(),()=>r.disconnect()},[g,w]),S||(a=(0,u.IA)({role:"listbox","aria-multiselectable":("listbox"===E||"tree"===E||"grid"===E)&&b||void 0},a)),a=(0,s.w7)(a,e=>(0,f.jsx)(n.Ky,{value:t,children:(0,f.jsx)(n.Hf.Provider,{value:E,children:e})}),[t,E]);let x=!h||i&&l?null:t.setContentElement;return a=(0,u.ko)((0,u.IA)({id:h,hidden:v},a),{ref:(0,s.SV)(x,p,a.ref),style:y}),(0,c.HR)(a)});function E(e,...t){if(!e)return!1;let r=e.getAttribute("data-backdrop");return null!=r&&(""===r||"true"===r||!t.length||t.some(e=>r===e))}(0,o.Rf)(function(e){let t=b(e);return(0,o.n)("div",t)});var S=new WeakMap;function _(e,t,r){S.has(e)||S.set(e,new Map);let n=S.get(e),a=n.get(t);if(!a)return n.set(t,r()),()=>{var e;null==(e=n.get(t))||e(),n.delete(t)};let i=r(),o=()=>{i(),a(),n.delete(t)};return n.set(t,o),()=>{n.get(t)===o&&(i(),n.set(t,a))}}function w(e,t,r){return _(e,t,()=>{let n=e.getAttribute(t);return e.setAttribute(t,r),()=>{null==n?e.removeAttribute(t):e.setAttribute(t,n)}})}function x(e,t,r){return _(e,t,()=>{let n=t in e,a=e[t];return e[t]=r,()=>{n?e[t]=a:delete e[t]}})}function k(e,t){return e?_(e,"style",()=>{let r=e.style.cssText;return Object.assign(e.style,t),()=>{e.style.cssText=r}}):()=>{}}var A=r(164530),T=["SCRIPT","STYLE"];function I(e){return`__ariakit-dialog-snapshot-${e}`}function N(e,t,r,n){for(let a of t){if(!(null==a?void 0:a.isConnected))continue;let i=t.some(e=>!!e&&e!==a&&e.contains(a)),o=(0,A.YE)(a),l=a;for(;a.parentElement&&a!==o.body;){if(null==n||n(a.parentElement,l),!i)for(let n of a.parentElement.children)(function(e,t,r){return!T.includes(t.tagName)&&!!function(e,t){let r=(0,A.YE)(t),n=I(e);if(!r.body[n])return!0;for(;;){if(t===r.body)return!1;if(t[n])return!0;if(!t.parentElement)return!1;t=t.parentElement}}(e,t)&&!r.some(e=>e&&(0,A.gR)(t,e))})(e,n,t)&&r(n,l);a=a.parentElement}}}function C(e="",t=!1){return`__ariakit-dialog-${t?"ancestor":"outside"}${e?`-${e}`:""}`}function O(e,t=""){return(0,c.cy)(x(e,C("",!0),!0),x(e,C(t,!0),!0))}function R(e,t){if(e[C(t,!0)])return!0;let r=C(t);for(;;){if(e[r])return!0;if(!e.parentElement)return!1;e=e.parentElement}}function P(e,t){let r=[],n=t.map(e=>null==e?void 0:e.id);return N(e,t,t=>{E(t,...n)||r.unshift(function(e,t=""){return(0,c.cy)(x(e,C(),!0),x(e,C(t),!0))}(t,e))},(t,n)=>{n.hasAttribute("data-dialog")&&n.id!==e||r.unshift(O(t,e))}),()=>{for(let e of r)e()}}(0,o.ab)(function(e){return e});var L=(0,o.Rf)(function(e){return(0,o.n)("div",e)});Object.assign(L,["a","button","details","dialog","div","form","h1","h2","h3","h4","h5","h6","header","img","input","label","li","nav","ol","p","section","select","span","summary","textarea","ul","svg"].reduce((e,t)=>
1(e[t]=(0,o.Rf)(function(e){return(0,o.n)(t,e)}),e),{}));var D=r(592008);function M({store:e,backdrop:t,alwaysVisible:r,hidden:n}){let a=(0,d.useRef)(null),i=(0,D.E)({disclosure:e}),o=(0,l.O$)(e,"contentElement");(0,d.useEffect)(()=>{let e=a.current;!e||o&&(e.style.zIndex=getComputedStyle(o).zIndex)},[o]),(0,s.UQ)(()=>{let e=null==o?void 0:o.id;if(!e)return;let t=a.current;if(t)return O(t,e)},[o]);let c=v({ref:a,store:i,role:"presentation","data-backdrop":(null==o?void 0:o.id)||"",alwaysVisible:r,hidden:null!=n?n:void 0,style:{position:"fixed",top:0,right:0,bottom:0,left:0}});if(!t)return null;if((0,d.isValidElement)(t))return(0,f.jsx)(L,(0,u.ko)((0,u.IA)({},c),{render:t}));let p="boolean"!=typeof t?t:"div";return(0,f.jsx)(L,(0,u.ko)((0,u.IA)({},c),{render:(0,f.jsx)(p,{})}))}function F(){return"inert"in HTMLElement.prototype}var j=r(247375);function U(e,t){if(!("style"in e))return c.lQ;if(F())return x(e,"inert",!0);let r=(0,j.a9)(e,!0).map(e=>{if(null==t?void 0:t.some(t=>t&&(0,A.gR)(t,e)))return c.lQ;let r=_(e,"focus",()=>(e.focus=c.lQ,()=>{delete e.focus}));return(0,c.cy)(w(e,"tabindex","-1"),r)});return(0,c.cy)(...r,w(e,"aria-hidden","true"),k(e,{pointerEvents:"none",userSelect:"none",cursor:"default"}))}var z=r(302759),B=r(559595),$=(0,d.createContext)({}),H=r(451016),G=r(274735);function q({store:e,type:t,listener:r,capture:n,domReady:a}){let i=(0,s._q)(r),o=(0,l.O$)(e,"open"),u=(0,d.useRef)(!1);(0,s.UQ)(()=>{if(!o||!a)return;let{contentElement:t}=e.getState();if(!t)return;let r=()=>{u.current=!0};return t.addEventListener("focusin",r,!0),()=>t.removeEventListener("focusin",r,!0)},[e,o,a]),(0,d.useEffect)(()=>{if(o)return(0,H.dg)(t,t=>{let{contentElement:r,disclosureElement:n}=e.getState(),a=t.target;r&&a&&(!("HTML"===a.tagName||(0,A.gR)((0,A.YE)(a).body,a))||(0,A.gR)(r,a)||function(e,t){if(!e)return!1;if((0,A.gR)(e,t))return!0;let r=t.getAttribute("aria-activedescendant");if(r){let t=(0,A.YE)(e).getElementById(r);if(t)return(0,A.gR)(e,t)}return!1}(n,a)||a.hasAttribute("data-focus-trap")||function(e,t){if(!("clientY"in e))return!1;let r=t.getBoundingClientRect();return 0!==r.width&&0!==r.height&&r.top<=e.clientY&&e.clientY<=r.top+r.height&&r.left<=e.clientX&&e.clientX<=r.left+r.width}(t,r)||u.current&&!R(a,r.id)||(0,G.Am)(a)||i(t))},n)},[o,n])}function V(e,t){return"function"==typeof e?e(t):!!e}var K=r(708901),Y=(0,o.ab)(function(e){var{autoFocusOnShow:t=!0}=e,r=(0,u.YG)(e,["autoFocusOnShow"]);return(0,s.w7)(r,e=>(0,f.jsx)(K.g.Provider,{value:t,children:e}),[t])});(0,o.Rf)(function(e){let t=Y(e);return(0,o.n)("div",t)});var W=(0,d.createContext)(0);function Z({level:e,children:t}){let r=(0,d.useContext)(W),n=Math.max(Math.min(e||r+1,6),1);return(0,f.jsx)(W.Provider,{value:n,children:t})}var X=r(935456),Q=r(245860),J=(0,z.nr)();function ee(e,t=!1){if(!e)return null;let r="current"in e?e.current:e;return r?t?(0,j.tp)(r)?r:null:r:null}var et=(0,o.ab)(function(e){let t,r,n;var i,{store:o,open:h,onClose:g,focusable:y=!0,modal:b=!0,portal:S=!!b,backdrop:T=!!b,hideOnEscape:C=!0,hideOnInteractOutside:O=!0,getPersistentElements:L,preventBodyScroll:D=!!b,autoFocusOnShow:K=!0,autoFocusOnHide:W=!0,initialFocus:et,finalFocus:er,unmountOnHide:en,unstable_treeSnapshotKey:ea}=e,ei=(0,u.YG)(e,["store","open","onClose","focusable","modal","portal","backdrop","hideOnEscape","hideOnInteractOutside","getPersistentElements","preventBodyScroll","autoFocusOnShow","autoFocusOnHide","initialFocus","finalFocus","unmountOnHide","unstable_treeSnapshotKey"]);let eo=(0,a.cH)(),el=(0,d.useRef)(null),es=(0,Q.j)({store:o||eo,open:h,setOpen(e){if(e)return;let t=el.current;if(!t)return;let r=new Event("close",{bubbles:!1,cancelable:!0});g&&t.addEventListener("close",g,{once:!0}),t.dispatchEvent(r),r.defaultPrevented&&es.setOpen(!0)}}),{portalRef:eu,domReady:ec}=(0,s.TE)(S,ei.portalRef),ed=ei.preserveTabOrder,ep=(0,l.O$)(es,e=>ed&&!b&&e.mounted),ef=(0,s.Bi)(ei.id),eh=(0,l.O$)(es,"open"),eg=(0,l.O$)(es,"mounted"),em=(0,l.O$)(es,"contentElement"),ev=m(eg,ei.hidden,ei.alwaysVisible);t=function({attribute:e,contentId:t,contentElement:r,enabled:n}){let[a,i]=(0,s.CH)(),o=(0,d.useCallback)(()=>
1{if(!n||!r)return!1;let{body:a}=(0,A.YE)(r),i=a.getAttribute(e);return!i||i===t},[a,n,r,e,t]);return(0,d.useEffect)(()=>{if(!n||!t||!r)return;let{body:a}=(0,A.YE)(r);if(o())return a.setAttribute(e,t),()=>a.removeAttribute(e);let l=new MutationObserver(()=>(0,p.flushSync)(i));return l.observe(a,{attributeFilter:[e]}),()=>l.disconnect()},[a,n,t,r,o,e]),o}({attribute:"data-dialog-prevent-body-scroll",contentElement:em,contentId:ef,enabled:D&&!ev}),(0,d.useEffect)(()=>{var e,r;if(!t()||!em)return;let n=(0,A.YE)(em),a=(0,A.zk)(em),{documentElement:i,body:o}=n,l=i.style.getPropertyValue("--scrollbar-width"),s=l?Number.parseInt(l):a.innerWidth-i.clientWidth,u=Math.round(i.getBoundingClientRect().left)+i.scrollLeft?"paddingLeft":"paddingRight",d=(0,z.f8)()&&!(0,z.cX)();return(0,c.cy)((e="--scrollbar-width",r=`${s}px`,i?_(i,e,()=>{let t=i.style.getPropertyValue(e);return i.style.setProperty(e,r),()=>{t?i.style.setProperty(e,t):i.style.removeProperty(e)}}):()=>{}),d?(()=>{var e,t;let{scrollX:r,scrollY:n,visualViewport:i}=a,l=null!=(e=null==i?void 0:i.offsetLeft)?e:0,c=null!=(t=null==i?void 0:i.offsetTop)?t:0,d=k(o,{position:"fixed",overflow:"hidden",top:`${-(n-Math.floor(c))}px`,left:`${-(r-Math.floor(l))}px`,right:"0",[u]:`${s}px`});return()=>{d(),a.scrollTo({left:r,top:n,behavior:"instant"})}})():k(o,{overflow:"hidden",[u]:`${s}px`}))},[t,em]),i=(0,l.O$)(es,"open"),r=(0,d.useRef)(),(0,d.useEffect)(()=>{if(!i){r.current=null;return}return(0,H.dg)("mousedown",e=>{r.current=e.target},!0)},[i]),n={store:es,domReady:ec,capture:!0},q((0,u.ko)((0,u.IA)({},n),{type:"click",listener:e=>{let{contentElement:t}=es.getState(),n=r.current;n&&(0,A.zN)(n)&&R(n,null==t?void 0:t.id)&&V(O,e)&&es.hide()}})),q((0,u.ko)((0,u.IA)({},n),{type:"focusin",listener:e=>{let{contentElement:t}=es.getState();!t||e.target===(0,A.YE)(t)||V(O,e)&&es.hide()}})),q((0,u.ko)((0,u.IA)({},n),{type:"contextmenu",listener:e=>{V(O,e)&&es.hide()}}));let{wrapElement:ey,nestedDialogs:eb}=function(e){let t=(0,d.useContext)($),[r,n]=(0,d.useState)([]),a=(0,d.useCallback)(e=>{var r;return n(t=>[...t,e]),(0,c.cy)(null==(r=t.add)?void 0:r.call(t,e),()=>{n(t=>t.filter(t=>t!==e))})},[t]);(0,s.UQ)(()=>(0,B.OH)(e,["open","contentElement"],r=>{var n;if(r.open&&r.contentElement)return null==(n=t.add)?void 0:n.call(t,e)}),[e,t]);let i=(0,d.useMemo)(()=>({store:e,add:a}),[e,a]);return{wrapElement:(0,d.useCallback)(e=>(0,f.jsx)($.Provider,{value:i,children:e}),[i]),nestedDialogs:r}}(es);ei=(0,s.w7)(ei,ey,[ey]),(0,s.UQ)(()=>{if(!eh)return;let e=el.current,t=(0,A.bq)(e,!0);!t||"BODY"===t.tagName||e&&(0,A.gR)(e,t)||es.setDisclosureElement(t)},[es,eh]),J&&(0,d.useEffect)(()=>{if(!eg)return;let{disclosureElement:e}=es.getState();if(!e||!(0,A.Bm)(e))return;let t=()=>{let t=!1,r=()=>{t=!0};e.addEventListener("focusin",r,{capture:!0,once:!0}),(0,H.nz)(e,"mouseup",()=>{e.removeEventListener("focusin",r,!0),t||(0,j.do)(e)})};return e.addEventListener("mousedown",t),()=>{e.removeEventListener("mousedown",t)}},[es,eg]),(0,d.useEffect)(()=>{if(!eg||!ec)return;let e=el.current;if(!e)return;let t=(0,A.zk)(e),r=t.visualViewport||t,n=()=>{var r,n;let a=null!=(n=null==(r=t.visualViewport)?void 0:r.height)?n:t.innerHeight;e.style.setProperty("--dialog-viewport-height",`${a}px`)};return n(),r.addEventListener("resize",n),()=>{r.removeEventListener("resize",n)}},[eg,ec]),(0,d.useEffect)(()=>{if(!b||!eg||!ec)return;let e=el.current;if(e&&!e.querySelector("[data-dialog-dismiss]")){var t;let r;return t=es.hide,(r=(0,A.YE)(e).createElement("button")).type="button",r.tabIndex=-1,r.textContent="Dismiss popup",Object.assign(r.style,{border:"0px",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0px",position:"absolute",whiteSpace:"nowrap",width:"1px"}),r.addEventListener("click",t),e.prepend(r),()=>{r.removeEventListener("click",t),r.remove()}}},[es,b,eg,ec]),(0,s.UQ)(()=>{if(!F()||eh||!eg||!ec)return;let e=el.current;if(e)return U(e)},[eh,eg,ec]);let eE=eh&&ec;(0,s.UQ)(()=>{if(ef&&eE)return function(e,t){let{body:r}=(0,A.YE)(t[0]),n=[];return N(e,t,t=>{n.push(x(t,I(e),!0))}),(0,c.cy)(x(r,I(e),!0),()=>{for(let e of n)e()})}(ef,[el.current])}
1,[ef,eE,ea]);let eS=(0,s._q)(L);(0,s.UQ)(()=>{if(!ef||!eE)return;let{disclosureElement:e}=es.getState(),t=[el.current,...eS()||[],...eb.map(e=>e.getState().contentElement)];if(b){let e,r;return(0,c.cy)(P(ef,t),(e=[],r=t.map(e=>null==e?void 0:e.id),N(ef,t,n=>{E(n,...r)||!function(e,...t){if(!e)return!1;let r=e.getAttribute("data-focus-trap");return null!=r&&(!t.length||""!==r&&t.some(e=>r===e))}(n,...r)&&e.unshift(U(n,t))},r=>{!r.hasAttribute("role")||t.some(e=>e&&(0,A.gR)(e,r))||e.unshift(w(r,"role","none"))}),()=>{for(let t of e)t()}))}return P(ef,[e,...t])},[ef,es,eE,eS,eb,b,ea]);let e_=!!K,ew=(0,s.O4)(K),[ex,ek]=(0,d.useState)(!1);(0,d.useEffect)(()=>{if(!eh||!e_||!ec||!(null==em?void 0:em.isConnected))return;let e=ee(et,!0)||em.querySelector("[data-autofocus=true],[autofocus]")||(0,j.LC)(em,!0,S&&ep)||em;ew((0,j.tp)(e)?e:null)&&(ek(!0),queueMicrotask(()=>{e.focus(),J&&e.scrollIntoView({block:"nearest",inline:"nearest"})}))},[eh,e_,ec,em,et,S,ep,ew]);let eA=!!W,eT=(0,s.O4)(W),[eI,eN]=(0,d.useState)(!1);(0,d.useEffect)(()=>{if(eh)return eN(!0),()=>eN(!1)},[eh]);let eC=(0,d.useCallback)((e,t=!0)=>{let r,{disclosureElement:n}=es.getState();if(!(!(r=(0,A.bq)())||e&&(0,A.gR)(e,r))&&(0,j.tp)(r))return;let a=ee(er)||n;if(null==a?void 0:a.id){let e=(0,A.YE)(a),t=`[aria-activedescendant="${a.id}"]`,r=e.querySelector(t);r&&(a=r)}if(a&&!(0,j.tp)(a)){let e=a.closest("[data-dialog]");if(null==e?void 0:e.id){let t=(0,A.YE)(e),r=`[aria-controls~="${e.id}"]`,n=t.querySelector(r);n&&(a=n)}}let i=a&&(0,j.tp)(a);!i&&t?requestAnimationFrame(()=>eC(e,!1)):!eT(i?a:null)||i&&(null==a||a.focus())},[es,er,eT]),eO=(0,d.useRef)(!1);(0,s.UQ)(()=>{if(eh||!eI||!eA)return;let e=el.current;eO.current=!0,eC(e)},[eh,eI,ec,eA,eC]),(0,d.useEffect)(()=>{if(!eI||!eA)return;let e=el.current;return()=>{if(eO.current){eO.current=!1;return}eC(e)}},[eI,eA,eC]);let eR=(0,s.O4)(C);(0,d.useEffect)(()=>{if(ec&&eg)return(0,H.dg)("keydown",e=>{if("Escape"!==e.key||e.defaultPrevented)return;let t=el.current;if(!t||R(t))return;let r=e.target;if(!r)return;let{disclosureElement:n}=es.getState();!("BODY"===r.tagName||(0,A.gR)(t,r)||!n||(0,A.gR)(n,r))||eR(e)&&es.hide()},!0)},[es,ec,eg,eR]);let eP=(ei=(0,s.w7)(ei,e=>(0,f.jsx)(Z,{level:b?1:void 0,children:e}),[b])).hidden,eL=ei.alwaysVisible;ei=(0,s.w7)(ei,e=>T?(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(M,{store:es,backdrop:T,hidden:eP,alwaysVisible:eL}),e]}):e,[es,T,eP,eL]);let[eD,eM]=(0,d.useState)(),[eF,ej]=(0,d.useState)();return ei=(0,s.w7)(ei,e=>(0,f.jsx)(a.XP,{value:es,children:(0,f.jsx)(a.YH.Provider,{value:eM,children:(0,f.jsx)(a.oL.Provider,{value:ej,children:e})})}),[es]),ei=(0,u.ko)((0,u.IA)({id:ef,"data-dialog":"",role:"dialog",tabIndex:y?-1:void 0,"aria-labelledby":eD,"aria-describedby":eF},ei),{ref:(0,s.SV)(el,ei.ref)}),ei=Y((0,u.ko)((0,u.IA)({},ei),{autoFocusOnShow:ex})),ei=v((0,u.IA)({store:es},ei)),ei=(0,G.Wc)((0,u.ko)((0,u.IA)({},ei),{focusable:y})),ei=(0,X.W)((0,u.ko)((0,u.IA)({portal:S},ei),{portalRef:eu,preserveTabOrder:ep}))});function er(e,t=a.cH){return(0,o.Rf)(function(r){let n=t(),a=r.store||n;return(0,l.O$)(a,e=>!r.unmountOnHide||(null==e?void 0:e.mounted)||!!r.open)?(0,f.jsx)(e,(0,u.IA)({},r)):null})}er((0,o.Rf)(function(e){let t=et(e);return(0,o.n)("div",t)}),a.cH);var en=r(98455),ea=r(52664);function ei(e=0,t=0,r=0,n=0){if("function"==typeof DOMRect)return new DOMRect(e,t,r,n);let a={x:e,y:t,width:r,height:n,top:t,right:e+r,bottom:t+n,left:e};return(0,u.ko)((0,u.IA)({},a),{toJSON:()=>a})}function eo(e){return/^(?:top|bottom|left|right)(?:-(?:start|end))?$/.test(e)}function el(e){let t=window.devicePixelRatio||1;return Math.round(e*t)/t}var es=(0,o.ab)(function(e){var{store:t,modal:r=!1,portal:n=!!r,preserveTabOrder:a=!0,autoFocusOnShow:i=!0,wrapperProps:o,fixed:l=!1,flip:p=!0,shift:h=0,slide:g=!0,overlap:m=!1,sameWidth:v=!1,fitViewport:y=!1,gutter:b,arrowPadding:E=4,overflowPadding:S=8,getAnchorRect:_,updatePosition:w}=e,x=(0,u.YG)(e,["store","modal","portal","preserveTabOrder","autoFocusOnShow","wrapperProps","fixed","flip","shift","slide","overlap","sameWidth","fitViewport","gutter","arrowPadding","overflowPadding","getAnchorRect","updatePosition"]);let k=(0,en.zG)();t=t||k,(0,c.V1)(t,!1);
1let A=t.useState("arrowElement"),T=t.useState("anchorElement"),I=t.useState("disclosureElement"),N=t.useState("popoverElement"),C=t.useState("contentElement"),O=t.useState("placement"),R=t.useState("mounted"),P=t.useState("rendered"),L=(0,d.useRef)(null),[D,M]=(0,d.useState)(!1),{portalRef:F,domReady:j}=(0,s.TE)(n,x.portalRef),U=(0,s._q)(_),z=(0,s._q)(w),B=!!w;(0,s.UQ)(()=>{if(!(null==N?void 0:N.isConnected))return;N.style.setProperty("--popover-overflow-padding",`${S}px`);let e={contextElement:T||void 0,getBoundingClientRect:()=>{let e=null==U?void 0:U(T);return e||!T?function(e){if(!e)return ei();let{x:t,y:r,width:n,height:a}=e;return ei(t,r,n,a)}(e):T.getBoundingClientRect()}},r=async()=>{var r,n;if(!R)return;A||(L.current=L.current||document.createElement("div"));let a=A||L.current,i=[(r={gutter:b,shift:h},(0,ea.cY)(({placement:e})=>{var t;let n=((null==a?void 0:a.clientHeight)||0)/2,i="number"==typeof r.gutter?r.gutter+n:null!=(t=r.gutter)?t:n;return{crossAxis:e.split("-")[1]?void 0:r.shift,mainAxis:i,alignmentAxis:r.shift}})),function(e){if(!1===e.flip)return;let t="string"==typeof e.flip?e.flip.split(" "):void 0;return(0,c.V1)(!t||t.every(eo),!1),(0,ea.UU)({padding:e.overflowPadding,fallbackPlacements:t})}({flip:p,overflowPadding:S}),function(e){if(e.slide||e.overlap)return(0,ea.BN)({mainAxis:e.slide,crossAxis:e.overlap,padding:e.overflowPadding,limiter:(0,ea.ER)()})}({slide:g,shift:h,overlap:m,overflowPadding:S}),function(e,t){if(e)return(0,ea.UE)({element:e,padding:t.arrowPadding})}(a,{arrowPadding:E}),(n={sameWidth:v,fitViewport:y,overflowPadding:S},(0,ea.Ej)({padding:n.overflowPadding,apply({elements:e,availableWidth:t,availableHeight:r,rects:a}){let i=e.floating,o=Math.round(a.reference.width);t=Math.floor(t),r=Math.floor(r),i.style.setProperty("--popover-anchor-width",`${o}px`),i.style.setProperty("--popover-available-width",`${t}px`),i.style.setProperty("--popover-available-height",`${r}px`),n.sameWidth&&(i.style.width=`${o}px`),n.fitViewport&&(i.style.maxWidth=`${t}px`,i.style.maxHeight=`${r}px`)}}))],o=await (0,ea.rD)(e,N,{placement:O,strategy:l?"fixed":"absolute",middleware:i});null==t||t.setState("currentPlacement",o.placement),M(!0);let s=el(o.x),u=el(o.y);if(Object.assign(N.style,{top:"0",left:"0",transform:`translate3d(${s}px,${u}px,0)`}),a&&o.middlewareData.arrow){let{x:e,y:t}=o.middlewareData.arrow,r=o.placement.split("-")[0],n=a.clientWidth/2,i=a.clientHeight/2,l=null!=e?e+n:-n,s=null!=t?t+i:-i;N.style.setProperty("--popover-transform-origin",{top:`${l}px calc(100% + ${i}px)`,bottom:`${l}px ${-i}px`,left:`calc(100% + ${n}px) ${s}px`,right:`${-n}px ${s}px`}[r]),Object.assign(a.style,{left:null!=e?`${e}px`:"",top:null!=t?`${t}px`:"",[r]:"100%"})}},n=async()=>{B?(await z({updatePosition:r}),M(!0)):await r()},a=(0,ea.ll)(e,N,n,{elementResize:"function"==typeof ResizeObserver});return()=>{M(!1),a()}},[t,P,N,A,T,N,O,R,j,l,p,h,g,m,v,y,b,E,S,U,B,z]),(0,s.UQ)(()=>{if(!R||!j||!(null==N?void 0:N.isConnected)||!(null==C?void 0:C.isConnected))return;let e=()=>{N.style.zIndex=getComputedStyle(C).zIndex};e();let t=requestAnimationFrame(()=>{t=requestAnimationFrame(e)});return()=>cancelAnimationFrame(t)},[R,j,N,C]);let $=l?"fixed":"absolute";return x=(0,s.w7)(x,e=>(0,f.jsx)("div",(0,u.ko)((0,u.IA)({},o),{style:(0,u.IA)({position:$,top:0,left:0,width:"max-content"},null==o?void 0:o.style),ref:null==t?void 0:t.setPopoverElement,children:e})),[t,$,o]),x=(0,s.w7)(x,e=>(0,f.jsx)(en.s1,{value:t,children:e}),[t]),x=(0,u.ko)((0,u.IA)({"data-placing":!D||void 0},x),{style:(0,u.IA)({position:"relative"},x.style)}),x=et((0,u.ko)((0,u.IA)({store:t,modal:r,portal:n,preserveTabOrder:a,preserveTabOrderAnchor:I||T,autoFocusOnShow:D&&i},x),{portalRef:F}))});er((0,o.Rf)(function(e){let t=es(e);return(0,o.n)("div",t)}),en.zG);var eu=(0,o.ab)(function(e){var{store:t,modal:r,tabIndex:a,alwaysVisible:i,autoFocusOnHide:o=!0,hideOnInteractOutside:s=!0}=e,p=(0,u.YG)(e,["store","modal","tabIndex","alwaysVisible","autoFocusOnHide","hideOnInteractOutside"]);let f=(0,n.PV)();t=t||f,(0,c.V1)(t,!1);let h=t.useState("baseElement"),g=(0,d.useRef)(!1),m=(0,l.O$)(t.tag,e=>null==e?void 0:e.renderedItems.length);return p=b((0,u.IA)({store:t,alwaysVisible:i},p)),p=es((0,u.ko)((0,u.IA)({store:t,modal:r,alwaysVisible:i,backdrop:!1,autoFocusOnShow:!1,finalFocus:h,preserveTabOrderAnchor:null,unstable_treeSnapshotKey:m},p),{getPersistentElements(){var e;let n=(null==(e=p.getPersistentElements)?void 0:e.call(p))||[];if(!r||!t)return n;let{contentElement:a,baseElement:i}=t.getState();if(!i)return n;let o=(0,A.YE)(i),l=[];
1if((null==a?void 0:a.id)&&l.push(`[aria-controls~="${a.id}"]`),(null==i?void 0:i.id)&&l.push(`[aria-controls~="${i.id}"]`),!l.length)return[...n,i];let s=l.join(",");return[...n,...o.querySelectorAll(s)]},autoFocusOnHide:e=>!(0,c.zO)(o,e)&&(!g.current||(g.current=!1,!1)),hideOnInteractOutside(e){var r,n;let a=null==t?void 0:t.getState(),i=null==(r=null==a?void 0:a.contentElement)?void 0:r.id,o=null==(n=null==a?void 0:a.baseElement)?void 0:n.id;if(function(e,...t){if(!e)return!1;if("id"in e){let r=t.filter(Boolean).map(e=>`[aria-controls~="${e}"]`).join(", ");return!!r&&e.matches(r)}return!1}(e.target,i,o))return!1;let l="function"==typeof s?s(e):s;return l&&(g.current="click"===e.type),l}}))}),ec=er((0,o.Rf)(function(e){let t=eu(e);return(0,o.n)("div",t)}),n.PV)},3851:()=>{Prism.languages.scala=Prism.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|derives|do|else|enum|extends|extension|final|finally|for|forSome|given|if|implicit|import|infix|inline|lazy|match|new|null|object|opaque|open|override|package|private|protected|return|sealed|self|super|this|throw|trait|transparent|try|type|using|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),Prism.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:Prism.languages.scala}}},string:/[\s\S]+/}}}),delete Prism.languages.scala["class-name"],delete Prism.languages.scala.function,delete Prism.languages.scala.constant},4755:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("Table",[["path",{d:"M12 3v18",key:"108xh3"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}]])},16108:e=>{"use strict";e.exports=JSON.parse('{"search":"Search","search_no_results_1":"Oh no!","search_no_results_2":"That emoji couldnât be found","pick":"Pick an emojiâ¦","add_custom":"Add custom emoji","categories":{"activity":"Activity","custom":"Custom","flags":"Flags","foods":"Food & Drink","frequent":"Frequently used","nature":"Animals & Nature","objects":"Objects","people":"Smileys & People","places":"Travel & Places","search":"Search Results","symbols":"Symbols"},"skins":{"1":"Default","2":"Light","3":"Medium-Light","4":"Medium","5":"Medium-Dark","6":"Dark","choose":"Choose default skin tone"}}')},24911:(e,t,r)=>{e.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={exports:{},id:n,loaded:!1};return e[n].call(a.exports,a,a.exports,r),a.loaded=!0,a.exports}return r.m=e,r.c=t,r.p="",r(0)}([function(e,t,r){e.exports=r(1)},function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=((n=r(2))&&n.__esModule?n:{default:n}).default,e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function a(e){return e&&e.__esModule?e:{default:e}}t.default=u;var i=r(3),o=a(r(4)),l=r(14),s=a(r(15));function u(e){var t=e.activeClassName,r=void 0===t?"":t,a=e.activeIndex,o=void 0===a?-1:a,u=e.activeStyle,c=e.autoEscape,d=e.caseSensitive,p=void 0!==d&&d,f=e.className,h=e.findChunks,g=e.highlightClassName,m=void 0===g?"":g,v=e.highlightStyle,y=void 0===v?{}:v,b=e.highlightTag,E=e.sanitize,S=e.searchWords,_=e.textToHighlight,w=e.unhighlightTag,x=void 0===w?"span":w,k=e.unhighlightClassName,A=void 0===k?"":k,T=e.unhighlightStyle,I=function(e,t){var r={};for(var n in e)!(t.indexOf(n)>=0)&&Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["activeClassName","activeIndex","activeStyle","autoEscape","caseSensitive","className","findChunks","highlightClassName","highlightStyle","highlightTag","sanitize","searchWords","textToHighlight","unhighlightTag","unhighlightClassName","unhighlightStyle"]),N=(0,i.findAll)({autoEscape:c,caseSensitive:p,findChunks:
1h,sanitize:E,searchWords:S,textToHighlight:_}),C=void 0===b?"mark":b,O=-1,R="",P=void 0,L=(0,s.default)(function(e){var t={};for(var r in e)t[r.toLowerCase()]=e[r];return t});return(0,l.createElement)("span",n({className:f},I,{children:N.map(function(e,t){var n=_.substr(e.start,e.end-e.start);if(!e.highlight)return(0,l.createElement)(x,{children:n,className:A,key:t,style:T});O++;var a=void 0;a="object"==typeof m?p?m[n]:(m=L(m))[n.toLowerCase()]:m;var i=O===+o;R=a+" "+(i?r:""),P=!0===i&&null!=u?Object.assign({},y,u):y;var s={children:n,className:R,key:t,style:P};return"string"!=typeof C&&(s.highlightIndex=O),(0,l.createElement)(C,s)})}))}u.propTypes={activeClassName:o.default.string,activeIndex:o.default.number,activeStyle:o.default.object,autoEscape:o.default.bool,className:o.default.string,findChunks:o.default.func,highlightClassName:o.default.oneOfType([o.default.object,o.default.string]),highlightStyle:o.default.object,highlightTag:o.default.oneOfType([o.default.node,o.default.func,o.default.string]),sanitize:o.default.func,searchWords:o.default.arrayOf(o.default.oneOfType([o.default.string,o.default.instanceOf(RegExp)])).isRequired,textToHighlight:o.default.string.isRequired,unhighlightTag:o.default.oneOfType([o.default.node,o.default.func,o.default.string]),unhighlightClassName:o.default.string,unhighlightStyle:o.default.object},e.exports=t.default},function(e,t){e.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={exports:{},id:n,loaded:!1};return e[n].call(a.exports,a,a.exports,r),a.loaded=!0,a.exports}return r.m=e,r.c=t,r.p="",r(0)}([function(e,t,r){e.exports=r(1)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2);Object.defineProperty(t,"combineChunks",{enumerable:!0,get:function(){return n.combineChunks}}),Object.defineProperty(t,"fillInChunks",{enumerable:!0,get:function(){return n.fillInChunks}}),Object.defineProperty(t,"findAll",{enumerable:!0,get:function(){return n.findAll}}),Object.defineProperty(t,"findChunks",{enumerable:!0,get:function(){return n.findChunks}})},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=function(e){var t=e.autoEscape,i=e.caseSensitive,o=e.findChunks,l=void 0===o?n:o,s=e.sanitize,u=e.searchWords,c=e.textToHighlight;return a({chunksToHighlight:r({chunks:l({autoEscape:t,caseSensitive:void 0!==i&&i,sanitize:s,searchWords:u,textToHighlight:c})}),totalLength:c?c.length:0})};var r=t.combineChunks=function(e){var t=e.chunks;return t.sort(function(e,t){return e.start-t.start}).reduce(function(e,t){if(0===e.length)return[t];var r=e.pop();if(t.start<=r.end){var n=Math.max(r.end,t.end);e.push({start:r.start,end:n})}else e.push(r,t);return e},[])},n=function(e){var t=e.autoEscape,r=e.caseSensitive,n=e.sanitize,a=void 0===n?i:n,o=e.searchWords,l=e.textToHighlight;return l=a(l),o.filter(function(e){return e}
1).reduce(function(e,n){n=a(n),t&&(n=n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"));for(var i=new RegExp(n,r?"g":"gi"),o=void 0;o=i.exec(l);){var s=o.index,u=i.lastIndex;u>s&&e.push({start:s,end:u}),o.index==i.lastIndex&&i.lastIndex++}return e},[])};t.findChunks=n;var a=t.fillInChunks=function(e){var t=e.chunksToHighlight,r=e.totalLength,n=[],a=function(e,t,r){t-e>0&&n.push({start:e,end:t,highlight:r})};if(0===t.length)a(0,r,!1);else{var i=0;t.forEach(function(e){a(i,e.start,!1),a(e.start,e.end,!0),i=e.end}),a(i,r,!1)}return n};function i(e){return e}}])},function(e,t,r){(function(t){if("production"!==t.env.NODE_ENV){var n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=r(6)(function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},!0)}else e.exports=r(13)()}).call(t,r(5))},function(e,t){var r,n,a,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function l(){throw Error("clearTimeout has not been defined")}try{r="function"==typeof setTimeout?setTimeout:o}catch(e){r=o}try{n="function"==typeof clearTimeout?clearTimeout:l}catch(e){n=l}function s(e){if(r===setTimeout)return setTimeout(e,0);if((r===o||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}var u=[],c=!1,d=-1;function p(){c&&a&&(c=!1,a.length?u=a.concat(u):d=-1,u.length&&f())}function f(){if(!c){var e=s(p);c=!0;for(var t=u.length;t;){for(a=u,u=[];++d<t;)a&&a[d].run();d=-1,t=u.length}a=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===l||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function g(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new h(e,t)),1!==u.length||c||s(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,r){(function(t){"use strict";var n=r(7),a=r(8),i=r(9),o=r(10),l=r(11),s=r(12);e.exports=function(e,r){var u="function"==typeof Symbol&&Symbol.iterator,c="<<anonymous>>",d={array:h("array"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),string:h("string"),symbol:h("symbol"),any:f(n.thatReturnsNull),arrayOf:function(e){return f(function(t,r,n,a,i){if("function"!=typeof e)return new p("Property `"+i+"` of component `"+n+"` has invalid PropType notation inside arrayOf.");var o=t[r];if(!Array.isArray(o))return new p("Invalid "+a+" `"+i+"` of type "+("`"+g(o)+"` supplied to `")+n+"`, expected an array.");for(var s=0;s<o.length;s++){var u=e(o,s,n,a,i+"["+s+"]",l);if(u instanceof Error)return u}return null})},element:f(function(t,r,n,a,i){var o=t[r];return e(o)?null:new p("Invalid "+a+" `"+i+"` of type "+("`"+g(o)+"` supplied to `")+n+"`, expected a single ReactElement.")}),instanceOf:function(e){return f(function(t,r,n,a,i){if(!(t[r]instanceof e)){var o,l=e.name||c;return new p("Invalid "+a+" `"+i+"` of type "+("`"+((o=t[r]).constructor&&o.constructor.name?o.constructor.name:c)+"` supplied to `")+n+"`, expected instance of `"+l+"`.")}return null})},node:f(function(t,r,n,a,i){return!function t(r){switch(typeof r){case"number":case"string":case"undefined":return!0;case"boolean":return!r;case"object":if(Array.isArray(r))return r.every(t);if(null===r||e(r))return!0;var n=function(e){var t=e&&(u&&e[u]||e["@@iterator"]);if("function"==typeof t)return t}(r);if(!n)return!1;var a,i=n.call(r);if(n!==r.entries){for(;!(a=i.next()).done;)if(!t(a.value))return!1}else for(;!(a=i.next()).done;){var o=a.value;if(o&&!t(o[1]))return!1}return!0;default:return!1}}(t[r])?new p("Invalid "+a+" `"+i+"` supplied to `"+n+"`, expected a ReactNode."):null}),objectOf:function(e){return f(function(t,r,n,a,i){if("function"!=typeof e)return new p("Property `"+i+"` of component `"+n+"` has invali
1d PropType notation inside objectOf.");var o=t[r],s=g(o);if("object"!==s)return new p("Invalid "+a+" `"+i+"` of type "+("`"+s+"` supplied to `")+n+"`, expected an object.");for(var u in o)if(o.hasOwnProperty(u)){var c=e(o,u,n,a,i+"."+u,l);if(c instanceof Error)return c}return null})},oneOf:function(e){return Array.isArray(e)?f(function(t,r,n,a,i){for(var o,l=t[r],s=0;s<e.length;s++)if(l===(o=e[s])?0!==l||1/l==1/o:l!=l&&o!=o)return null;return new p("Invalid "+a+" `"+i+"` of value `"+l+"` "+("supplied to `"+n+"`, expected one of ")+JSON.stringify(e)+".")}):("production"!==t.env.NODE_ENV&&i(!1,"Invalid argument supplied to oneOf, expected an instance of array."),n.thatReturnsNull)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&i(!1,"Invalid argument supplied to oneOfType, expected an instance of array."),n.thatReturnsNull;for(var r=0;r<e.length;r++){var a=e[r];if("function"!=typeof a)return i(!1,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",function(e){var t=m(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}(a),r),n.thatReturnsNull}return f(function(t,r,n,a,i){for(var o=0;o<e.length;o++)if(null==(0,e[o])(t,r,n,a,i,l))return null;return new p("Invalid "+a+" `"+i+"` supplied to `"+n+"`.")})},shape:function(e){return f(function(t,r,n,a,i){var o=t[r],s=g(o);if("object"!==s)return new p("Invalid "+a+" `"+i+"` of type `"+s+"` supplied to `"+n+"`, expected `object`.");for(var u in e){var c=e[u];if(c){var d=c(o,u,n,a,i+"."+u,l);if(d)return d}}return null})},exact:function(e){return f(function(t,r,n,a,i){var s=t[r],u=g(s);if("object"!==u)return new p("Invalid "+a+" `"+i+"` of type `"+u+"` supplied to `"+n+"`, expected `object`.");var c=o({},t[r],e);for(var d in c){var f=e[d];if(!f)return new p("Invalid "+a+" `"+i+"` key `"+d+"` supplied to `"+n+"`.\nBad object: "+JSON.stringify(t[r],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var h=f(s,d,n,a,i+"."+d,l);if(h)return h}return null})}};function p(e){this.message=e,this.stack=""}function f(e){if("production"!==t.env.NODE_ENV)var n={},o=0;function s(s,u,d,f,h,g,m){if(f=f||c,g=g||d,m!==l){if(r)a(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else if("production"!==t.env.NODE_ENV&&"u">typeof console){var v=f+":"+d;!n[v]&&o<3&&(i(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",g,f),n[v]=!0,o++)}}return null!=u[d]?e(u,d,f,h,g):s?new p(null===u[d]?"The "+h+" `"+g+"` is marked as required in `"+f+"`, but its value is `null`.":"The "+h+" `"+g+"` is marked as required in `"+f+"`, but its value is `undefined`."):null}var u=s.bind(null,!1);return u.isRequired=s.bind(null,!0),u}function h(e){return f(function(t,r,n,a,i,o){var l=t[r];return g(l)!==e?new p("Invalid "+a+" `"+i+"` of type "+("`"+m(l)+"` supplied to `")+n+"`, expected `"+e+"`."):null})}function g(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":"symbol"===t||"Symbol"===e["@@toStringTag"]||"function"==typeof Symbol&&e instanceof Symbol?"symbol":t}function m(e){if(null==e)return""+e;var t=g(e);if("object"===t){if(e instanceof Date)return"date";else if(e instanceof RegExp)return"regexp"}return t}return p.prototype=Error.prototype,d.checkPropTypes=s,d.PropTypes=d,d}}).call(t,r(5))},function(e,t){"use strict";function r(e){return function(){return e}}var n=function(){};n.thatReturns=r,n.thatReturnsFalse=r(!1),n.thatReturnsTrue=r(!0),n.thatReturnsNull=r(null),n.thatReturnsThis=function(){return this},n.thatReturnsArgument=function(e){return e},e.exports=n},function(e,t,r){(function(t){"use strict";var r=function(e){};"production"!==t.env.NODE_ENV&&(r=function(e){if(void 0===e)throw Error("invariant requires an error message argument")}),e.exports=function(e,t,n,a,i,o,l,s){if(r(t),!e){var u;if(void 0===t)u=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,a,i,o,l,s],d=0;(u=Error(t.replace(/%s/g,function(){return c[d++]}))).name="Invariant Violation"}throw u.framesToPop=1,u}}}).call(t,r(5))},function(e,t,r){(function(t){"use strict";var n=r(7);if("production"!==t.env.NODE_ENV){var a=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var a=0,i="Warning: "+e.replace(/%s/g,function(){return r[a++]});"u">typeof console&&console.error(i);try{throw Error(i)}catch(e){}};n=function(e,t){if(void 0===t)throw Error("`warning(condition, format, ...args)` requires a warning message argument");
1if(0!==t.indexOf("Failed Composite propType: ")&&!e){for(var r=arguments.length,n=Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];a.apply(void 0,[t].concat(n))}}}e.exports=n}).call(t,r(5))},function(e,t){"use strict";var r=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=!function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==n.join(""))return!1;var a={};if("abcdefghijklmnopqrst".split("").forEach(function(e){a[e]=e}),"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},a)).join(""))return!1;return!0}catch(e){return!1}}()?function(e,t){for(var i,o,l=function(e){if(null==e)throw TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),s=1;s<arguments.length;s++){for(var u in i=Object(arguments[s]))n.call(i,u)&&(l[u]=i[u]);if(r){o=r(i);for(var c=0;c<o.length;c++)a.call(i,o[c])&&(l[o[c]]=i[o[c]])}}return l}:Object.assign},function(e,t){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,r){(function(t){"use strict";if("production"!==t.env.NODE_ENV)var n=r(8),a=r(9),i=r(11),o={};e.exports=function(e,r,l,s,u){if("production"!==t.env.NODE_ENV){for(var c in e)if(e.hasOwnProperty(c)){var d;try{n("function"==typeof e[c],"%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",s||"React class",l,c,typeof e[c]),d=e[c](r,c,s,l,null,i)}catch(e){d=e}if(a(!d||d instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",s||"React class",l,c,typeof d),d instanceof Error&&!(d.message in o)){o[d.message]=!0;var p=u?u():"";a(!1,"Failed %s type: %s%s",l,d.message,null!=p?p:"")}}}}}).call(t,r(5))},function(e,t,r){"use strict";var n=r(7),a=r(8),i=r(11);e.exports=function(){function e(e,t,r,n,o,l){l!==i&&a(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return r.checkPropTypes=n,r.PropTypes=r,r}},function(e,t){e.exports=r(52515)},function(e,t){"use strict";var r=function(e,t){return e===t};e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r,n=void 0,a=[],i=void 0,o=!1,l=function(e,r){return t(e,a[r])};return function(){for(var t=arguments.length,r=Array(t),s=0;s<t;s++)r[s]=arguments[s];return o&&n===this&&r.length===a.length&&r.every(l)?i:(o=!0,n=this,a=r,i=e.apply(this,r))}}}])},27785:()=>{Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECI
1MAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}},28646:(e,t,r)=>{"use strict";r.d(t,{E9:()=>i,cM:()=>l,po:()=>o});var n=r(810481),a=r(878609);let i=(0,a.HS)(n.r),o=(0,a.HS)(n.n),l=(0,a.HS)(n.t,{plugins:[o,i]})},54748:(e,t,r)=>{"use strict";r.d(t,{B0:()=>p,Rf:()=>s,ab:()=>d,n:()=>c,ph:()=>u});var n=r(377894),a=r(193681),i=r(842676),o=r(52515),l=r(490243);function s(e){let t=o.forwardRef((t,r)=>e((0,i.ko)((0,i.IA)({},t),{ref:r})));return t.displayName=e.displayName||e.name,t}function u(e,t){return o.memo(e,t)}function c(e,t){let r,{wrapElement:s,render:u}=t,c=(0,i.YG)(t,["wrapElement","render"]),d=(0,n.SV)(t.ref,(0,a.v1)(u));if(o.isValidElement(u)){let e=(0,i.ko)((0,i.IA)({},u.props),{ref:d});r=o.cloneElement(u,(0,a.v6)(c,e))}else r=u?u(c):(0,l.jsx)(e,(0,i.IA)({},c));return s?s(r):r}function d(e){let t=(t={})=>e(t);return t.displayName=e.name,t}function p(e=[],t=[]){let r=o.createContext(void 0),n=o.createContext(void 0),a=()=>o.useContext(r),s=t=>e.reduceRight((e,r)=>(0,l.jsx)(r,(0,i.ko)((0,i.IA)({},t),{children:e})),(0,l.jsx)(r.Provider,(0,i.IA)({},t)));return{context:r,scopedContext:n,useContext:a,useScopedContext:(e=!1)=>
1{let t=o.useContext(n),r=a();return e?t:t||r},useProviderContext:()=>{let e=o.useContext(n),t=a();if(!e||e!==t)return t},ContextProvider:s,ScopedContextProvider:e=>(0,l.jsx)(s,(0,i.ko)((0,i.IA)({},e),{children:t.reduceRight((t,r)=>(0,l.jsx)(r,(0,i.ko)((0,i.IA)({},e),{children:t})),(0,l.jsx)(n.Provider,(0,i.IA)({},e)))}))}}},56427:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("Quote",[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]])},70380:(e,t,r)=>{"use strict";r.d(t,{WT:()=>o,sI:()=>i,vO:()=>a});var n=(0,r(54748).B0)();n.useContext,n.useScopedContext;var a=n.useProviderContext,i=n.ContextProvider,o=n.ScopedContextProvider},72641:(e,t,r)=>{"use strict";var n=r(955375),a={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var r,i,o,l,s,u,c,d,p=!1;t||(t={}),o=t.debug||!1;try{if(s=n(),u=document.createRange(),c=document.getSelection(),(d=document.createElement("span")).textContent=e,d.ariaHidden="true",d.style.all="unset",d.style.position="fixed",d.style.top=0,d.style.clip="rect(0, 0, 0, 0)",d.style.whiteSpace="pre",d.style.webkitUserSelect="text",d.style.MozUserSelect="text",d.style.msUserSelect="text",d.style.userSelect="text",d.addEventListener("copy",function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),void 0===r.clipboardData){o&&console.warn("unable to use e.clipboardData"),o&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var n=a[t.format]||a.default;window.clipboardData.setData(n,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))}),document.body.appendChild(d),u.selectNodeContents(d),c.addRange(u),!document.execCommand("copy"))throw Error("copy command was unsuccessful");p=!0}catch(n){o&&console.error("unable to copy using execCommand: ",n),o&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),p=!0}catch(n){o&&console.error("unable to copy using clipboardData: ",n),o&&console.error("falling back to prompt"),r="message"in t?t.message:"Copy to clipboard: #{key}, Enter",i=(/mac os x/i.test(navigator.userAgent)?"â":"Ctrl")+"+C",l=r.replace(/#{\s*key\s*}/g,i),window.prompt(l,e)}}finally{c&&("function"==typeof c.removeRange?c.removeRange(u):c.removeAllRanges()),d&&document.body.removeChild(d),s()}return p}},73502:(e,t,r)=>{"use strict";r.d(t,{a:()=>i,t:()=>o});var n=r(453641),a=r(583896);let i=(e,{getNodesOptions:t,offset:r=1,setNodesProps:n,unsetNodesProps:a=[]})=>{let{nodeKey:i}=e.getInjectProps(o),l=Array.from(e.api.nodes({block:!0,mode:"lowest",...t}));e.tf.withoutNormalizing(()=>{l.forEach(([t,o])=>{let l=(t[i]??0)+r,s=n?.({indent:l})??{};l<=0?e.tf.unsetNodes([i,...a],{at:o}):e.tf.setNodes({[i]:l,...s},{at:o})})})},o=(0,n.qt)({key:a.t.indent,inject:{isBlock:!0,nodeProps:{nodeKey:"indent",styleKey:"marginLeft",transformNodeValue:({getOptions:e,nodeValue:t})=>{let{offset:r,unit:n}=e();return t*r+n}},targetPlugins:[a.t.p]},options:{offset:24,unit:"px"}}).overrideEditor(({editor:e,getOptions:t,plugin:r,tf:{normalizeNode:a,tab:o}})=>({transforms:{normalizeNode([i,o]){let{indentMax:l}=t(),{type:s}=i,u=(0,n.ht)(e,r);
1if(s){if(u(i,o)){if(l&&i.indent&&i.indent>l)return void e.tf.setNodes({indent:l},{at:o})}else if(i.indent)return void e.tf.unsetNodes("indent",{at:o})}return a([i,o])},tab:t=>!!(()=>{let a=(0,n.ht)(e,r),o=e.api.block();if(!o)return;let[l,s]=o;if(a(l,s)){var u,c;return t.reverse?i(e,{offset:-1,...u}):i(e,{offset:1,...c}),!0}})()||o(t)}}))},80687:()=>{Prism.languages.scss=Prism.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),Prism.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),Prism.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),Prism.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),Prism.languages.scss.atrule.inside.rest=Prism.languages.scss},81715:()=>{var e,t,r,n;(e=Prism).languages.ruby=e.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),t={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}},delete e.languages.ruby.function,r="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",n=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source,e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+r+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+n),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+n+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+r),greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}}
1,{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+r),greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),e.languages.rb=e.languages.ruby},87377:(e,t,r)=>{"use strict";function n(e){let t=[];for(let r of e)t.push(...r);return t}function a(e){return e.slice().reverse()}r.d(t,{M9:()=>n,q7:()=>a})},98455:(e,t,r)=>{"use strict";r.d(t,{s1:()=>l,wf:()=>o,zG:()=>i});var n=r(922665),a=(0,r(54748).B0)([n.Zg],[n.XP]);a.useContext,a.useScopedContext;var i=a.useProviderContext,o=a.ContextProvider,l=a.ScopedContextProvider},99313:()=>{var e,t,r,n,a,i,o,l;t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,r=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],n=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,a=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,i=/[{}\[\](),:;]/,(e=Prism).languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s*)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}}
1,{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:r,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:n,operator:a,punctuation:i},l=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:o={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php}}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:o}}],e.languages.insertBefore("php","variable",{string:l,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:l,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:r,number:n,operator:a,punctuation:i}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",function(t){/<\?/.test(t.code)&&e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")})},99591:e=>{e.exports={style:{fontFamily:"'Great Vibes', 'Great Vibes Fallback'",fontWeight:400,fontStyle:"normal"},className:"__className_bbd89e"}},102431:(e,t,r)=>{"use strict";r.d(t,{jH:()=>i});var n=r(52515);r(490243);var a=n.createContext(void 0);function i(e){let t=n.useContext(a);return e||t||"ltr"}},106962:(e,t,r)=>{"use strict";r.d(t,{F:()=>u,U:()=>c});var n=r(518583),a=r(52515),i=r(944682),o=r(102942),l=r(878609),s=r(815098);let u=e=>{let t,r,u,c,d,p,f,h,g,m,v=(0,n.c)(35),{autoFocus:y,cancelInputOnArrowLeftRight:b,cancelInputOnBackspace:E,cancelInputOnBlur:S,cancelInputOnDeselect:_,cancelInputOnEscape:w,cursorState:x,forwardUndoRedoToEditor:k,ref:A,onCancelInput:T}=e,I=void 0===y||y,N=void 0===b||b,C=void 0===E||E,O=void 0===S||S,R=void 0===_||_,P=void 0===w||w,L=void 0===k||k,D=(0,l.Q_)(),M=(0,l.iQ)(),F=(0,s.f7)(),j=x?.atStart??!1,U=x?.atEnd??!1;v[0]!==D.api||v[1]!==D.tf||v[2]!==M?(t=e=>{let t=D.api.findPath(M);t&&(D.tf.removeNodes({at:t}),void 0!==e&&e&&D.tf.focus())},v[0]=D.api,v[1]=D.tf,v[2]=M,v[3]=t):t=v[3];let z=t;v[4]!==T||v[5]!==z?(r=(e,t)=>{z(void 0!==t&&t),T?.(void 0===e?"manual":e)},v[4]=T,v[5]=z,v[6]=r):r=v[6];let B=r;v[7]!==I||v[8]!==A?(u=()=>{I&&A.current?.focus()},c=[I,A],v[7]=I,v[8]=A,v[9]=u,v[10]=c):(u=v[9],c=v[10]),(0,a.useEffect)(u,c);let $=(0,a.useRef)(F);return v[11]!==B||v[12]!==R||v[13]!==F?(d=()=>{$.current&&!F&&R&&B("deselect"),$.current=F},p=[F,R,B],v[11]=B,v[12]=R,v[13]=F,v[14]=d,v[15]=p):(d=v[14],p=v[15]),(0,a.useEffect)(d,p),v[16]!==B||v[17]!==O?(f=()=>{O&&B("blur")},v[16]=B,v[17]=O,v[18]=f):f=v[18],v[19]!==B||v[20]!==N||v[21]!==C||v[22]!==P||v[23]!==U||v[24]!==j||v[25]!==D||v[26]!==L?(h=e=>{P&&(0,i.v_)("escape",e)&&B("escape",!0),C&&j&&(0,i.v_)("backspace",e)&&B("backspace",!0),N&&j&&(0,i.v_)("arrowleft",e)&&B("arrowLeft",!0),N&&U&&(0,i.v_)("arrowright",e)&&B("arrowRight",!0);let t=o.t.isUndo(e)&&D.history.undos.length>0,r=o.t.isRedo(e)&&D.history.redos.length>0;L&&(t||r)&&(e.preventDefault(),D[t?"undo":"redo"](),D.tf.focus())},v[19]=B,v[20]=N,v[21]=C,v[22]=P,v[23]=U,v[24]=j,v[25]=D,v[26]=L,v[27]=h):h=v[27],v[28]!==f||v[29]!==h?(g={onBlur:f,onKeyDown:h},v[28]=f,v[29]=h,v[30]=g):g=v[30],v[31]!==B||v[32]!==z||v[33]!==g?(m={cancelInput:B,props:g,removeInput:z},v[31]=B,v[32]=z,v[33]=g,v[34]=m):m=v[34],m},c=e=>{let t,r,i,o,l=(0,n.c)(9),[s,u]=(0,a.useState)(!1),[c,d]=(0,a.useState)(!1);l[0]!==e?(t=()=>{setTimeout(()=>{if(!e.current)return;let{selectionEnd:t,selectionStart:r,value:n}=e.current;u(0===r),d(t===n.length)})},l[0]=e,l[1]=t):t=l[1];let p=t;return l[2]!==p||l[3]!==e?(r=()=>{p();let t=e.current;if(t)return t.addEventListener("input",p),t.addEventListener("selectionchange",p),t.addEventListener("keydown",p),t.addEventListener("pointerdown",p),t.addEventListener("pointerup",p),()=>{t.removeEventListener("input",p),t.removeEventListener("selectionchange",p),t.removeEventListener("keydown",p),t.removeEventListener("pointerdown",p),t.removeEventListener("pointerup",p)}},i=[p,e],l[2]=p,l[3]=e,l[4]=r,l[5]=i):(r=l[4],i=l[5]),(0,a.useEffect)(r,i),l[6]!==c||l[7]!==s?(o={atEnd:c,atStart:s},l[6]=c,l[7]=s,l[8]=o):o=l[8],o}},118116:()=>{var e,t,r;t=/#(?!\{).+/,r={pattern:/#\{[^}]+\}/,alias:"variable"},(e=Prism).languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0}
1,{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:r}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:r}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:r}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript},118342:()=>{Prism.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}},119360:e=>{e.exports={style:{fontFamily:"'Raleway', 'Raleway Fallback'",fontStyle:"normal"},className:"__className_fb2a0e"}},130049:(e,t,r)=>{"use strict";r.d(t,{H_:()=>e7,UC:()=>e2,YJ:()=>e5,q7:()=>e3,VF:()=>e9,JU:()=>e4,ZL:()=>e1,z6:()=>e8,hN:()=>e6,bL:()=>eJ,wv:()=>te,Pb:()=>tt,G5:()=>tn,ZP:()=>tr,l9:()=>e0});var n=r(52515),a=r(115298),i=r(203579),o=r(481136),l=r(1635),s=r(233332),u=r(776622),c=r(102431),d=r(946765),p=r(844666),f=r(889294),h=r(979827),g=r(790294),m=r(24928),v=r(595837),y=r(491014),b=r(595537),E=r(890907),S=r(731575),_=r(821753),w=r(490243),x=["Enter"," "],k=["ArrowUp","PageDown","End"],A=["ArrowDown","PageUp","Home",...k],T={ltr:[...x,"ArrowRight"],rtl:[...x,"ArrowLeft"]},I={ltr:["ArrowLeft"],rtl:["ArrowRight"]},N="Menu",[C,O,R]=(0,u.N)(N),[P,L]=(0,o.A)(N,[R,g.Bk,y.RG]),D=(0,g.Bk)(),M=(0,y.RG)(),[F,j]=P(N),[U,z]=P(N),B=e=>{let{__scopeMenu:t,open:r=!1,children:a,dir:i,onOpenChange:o,modal:l=!0}=e,s=D(t),[u,d]=n.useState(null),p=n.useRef(!1),f=(0,E.c)(o),h=(0,c.jH)(i);return n.useEffect(()=>{let e=()=>{p.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>p.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),(0,w.jsx)(g.bL,{...s,children:(0,w.jsx)(F,{scope:t,open:r,onOpenChange:f,content:u,onContentChange:d,children:(0,w.jsx)(U,{scope:t,onClose:n.useCallback(()=>f(!1),[f]),isUsingKeyboardRef:p,dir:h,modal:l,children:a})})})};B.displayName=N;var $=n.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e,a=D(r);return(0,w.jsx)(g.Mz,{...a,...n,ref:t})});$.displayName="MenuAnchor";var H="MenuPortal",[G,q]=P(H,{forceMount:void 0}),V=e=>{let{__scopeMenu:t,forceMount:r,children:n,container:a}=e,i=j(H,t);return(0,w.jsx)(G,{scope:t,forceMount:r,children:(0,w.jsx)(v.C,{present:r||i.open,children:(0,w.jsx)(m.Z,{asChild:!0,container:a,children:n})})})};V.displayName=H;var K="MenuContent",[Y,W]=P(K),Z=n.forwardRef((e,t)=>{let r=q(K,e.__scopeMenu),{forceMount:n=r.forceMount,...a}=e,i=j(K,e.__scopeMenu),o=z(K,e.__scopeMenu);return(0,w.jsx)(C.Provider,{scope:e.__scopeMenu,children:(0,w.jsx)(v.C,{present:n||i.open,children:(0,w.jsx)(C.Slot,{scope:e.__scopeMenu,children:o.modal?(0,w.jsx)(X,{...a,ref:t}):(0,w.jsx)(Q,{...a,ref:t})})})})}),X=n.forwardRef((e,t)=>
1{let r=j(K,e.__scopeMenu),o=n.useRef(null),l=(0,i.s)(t,o);return n.useEffect(()=>{let e=o.current;if(e)return(0,S.Eq)(e)},[]),(0,w.jsx)(J,{...e,ref:l,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:(0,a.m)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>r.onOpenChange(!1)})}),Q=n.forwardRef((e,t)=>{let r=j(K,e.__scopeMenu);return(0,w.jsx)(J,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>r.onOpenChange(!1)})}),J=n.forwardRef((e,t)=>{let{__scopeMenu:r,loop:o=!1,trapFocus:l,onOpenAutoFocus:s,onCloseAutoFocus:u,disableOutsidePointerEvents:c,onEntryFocus:h,onEscapeKeyDown:m,onPointerDownOutside:v,onFocusOutside:E,onInteractOutside:S,onDismiss:x,disableOutsideScroll:T,...I}=e,N=j(K,r),C=z(K,r),R=D(r),P=M(r),L=O(r),[F,U]=n.useState(null),B=n.useRef(null),$=(0,i.s)(t,B,N.onContentChange),H=n.useRef(0),G=n.useRef(""),q=n.useRef(0),V=n.useRef(null),W=n.useRef("right"),Z=n.useRef(0),X=T?_.A:n.Fragment,Q=T?{as:b.DX,allowPinchZoom:!0}:void 0;n.useEffect(()=>()=>window.clearTimeout(H.current),[]),(0,p.Oh)();let J=n.useCallback(e=>{var t,r;return W.current===V.current?.side&&(t=e,!!(r=V.current?.area)&&function(e,t){let{x:r,y:n}=e,a=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){let o=t[e].x,l=t[e].y,s=t[i].x,u=t[i].y;l>n!=u>n&&r<(s-o)*(n-l)/(u-l)+o&&(a=!a)}return a}({x:t.clientX,y:t.clientY},r))},[]);return(0,w.jsx)(Y,{scope:r,searchRef:G,onItemEnter:n.useCallback(e=>{J(e)&&e.preventDefault()},[J]),onItemLeave:n.useCallback(e=>{J(e)||(B.current?.focus(),U(null))},[J]),onTriggerLeave:n.useCallback(e=>{J(e)&&e.preventDefault()},[J]),pointerGraceTimerRef:q,onPointerGraceIntentChange:n.useCallback(e=>{V.current=e},[]),children:(0,w.jsx)(X,{...Q,children:(0,w.jsx)(f.n,{asChild:!0,trapped:l,onMountAutoFocus:(0,a.m)(s,e=>{e.preventDefault(),B.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:u,children:(0,w.jsx)(d.qW,{asChild:!0,disableOutsidePointerEvents:c,onEscapeKeyDown:m,onPointerDownOutside:v,onFocusOutside:E,onInteractOutside:S,onDismiss:x,children:(0,w.jsx)(y.bL,{asChild:!0,...P,dir:C.dir,orientation:"vertical",loop:o,currentTabStopId:F,onCurrentTabStopIdChange:U,onEntryFocus:(0,a.m)(h,e=>{C.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,w.jsx)(g.UC,{role:"menu","aria-orientation":"vertical","data-state":eT(N.open),"data-radix-menu-content":"",dir:C.dir,...R,...I,ref:$,style:{outline:"none",...I.style},onKeyDown:(0,a.m)(I.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,r=e.ctrlKey||e.altKey||e.metaKey,n=1===e.key.length;if(t){var a;let t,i,o,l,s,u;"Tab"===e.key&&e.preventDefault(),!r&&n&&(a=e.key,t=G.current+a,i=L().filter(e=>!e.disabled),o=document.activeElement,l=i.find(e=>e.ref.current===o)?.textValue,s=function(e,t,r){var n;let a=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=r?e.indexOf(r):-1,o=(n=Math.max(i,0),e.map((t,r)=>e[(n+r)%e.length]));1===a.length&&(o=o.filter(e=>e!==r));let l=o.find(e=>e.toLowerCase().startsWith(a.toLowerCase()));return l!==r?l:void 0}(i.map(e=>e.textValue),t,l),u=i.find(e=>e.textValue===s)?.ref.current,function e(t){G.current=t,window.clearTimeout(H.current),""!==t&&(H.current=window.setTimeout(()=>e(""),1e3))}(t),u&&setTimeout(()=>u.focus()))}let i=B.current;if(e.target!==i||!A.includes(e.key))return;e.preventDefault();let o=L().filter(e=>!e.disabled).map(e=>e.ref.current);k.includes(e.key)&&o.reverse(),function(e){let t=document.activeElement;for(let r of e)if(r===t||(r.focus(),document.activeElement!==t))return}(o)}),onBlur:(0,a.m)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(H.current),G.current="")}),onPointerMove:(0,a.m)(e.onPointerMove,eC(e=>{let t=e.target,r=Z.current!==e.clientX;e.currentTarget.contains(t)&&r&&(W.current=e.clientX>Z.current?"right":"left",Z.current=e.clientX)}))})})})})})})});Z.displayName=K;var ee=n.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return(0,w.jsx)(s.sG.div,{role:"group",...n,ref:t})});ee.displayName="MenuGroup";var et=n.forwardRef((e,t)=>
1{let{__scopeMenu:r,...n}=e;return(0,w.jsx)(s.sG.div,{...n,ref:t})});et.displayName="MenuLabel";var er="MenuItem",en="menu.itemSelect",ea=n.forwardRef((e,t)=>{let{disabled:r=!1,onSelect:o,...l}=e,u=n.useRef(null),c=z(er,e.__scopeMenu),d=W(er,e.__scopeMenu),p=(0,i.s)(t,u),f=n.useRef(!1);return(0,w.jsx)(ei,{...l,ref:p,disabled:r,onClick:(0,a.m)(e.onClick,()=>{let e=u.current;if(!r&&e){let t=new CustomEvent(en,{bubbles:!0,cancelable:!0});e.addEventListener(en,e=>o?.(e),{once:!0}),(0,s.hO)(e,t),t.defaultPrevented?f.current=!1:c.onClose()}}),onPointerDown:t=>{e.onPointerDown?.(t),f.current=!0},onPointerUp:(0,a.m)(e.onPointerUp,e=>{f.current||e.currentTarget?.click()}),onKeyDown:(0,a.m)(e.onKeyDown,e=>{let t=""!==d.searchRef.current;r||t&&" "===e.key||x.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});ea.displayName=er;var ei=n.forwardRef((e,t)=>{let{__scopeMenu:r,disabled:o=!1,textValue:l,...u}=e,c=W(er,r),d=M(r),p=n.useRef(null),f=(0,i.s)(t,p),[h,g]=n.useState(!1),[m,v]=n.useState("");return n.useEffect(()=>{let e=p.current;e&&v((e.textContent??"").trim())},[u.children]),(0,w.jsx)(C.ItemSlot,{scope:r,disabled:o,textValue:l??m,children:(0,w.jsx)(y.q7,{asChild:!0,...d,focusable:!o,children:(0,w.jsx)(s.sG.div,{role:"menuitem","data-highlighted":h?"":void 0,"aria-disabled":o||void 0,"data-disabled":o?"":void 0,...u,ref:f,onPointerMove:(0,a.m)(e.onPointerMove,eC(e=>{o?c.onItemLeave(e):(c.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:(0,a.m)(e.onPointerLeave,eC(e=>c.onItemLeave(e))),onFocus:(0,a.m)(e.onFocus,()=>g(!0)),onBlur:(0,a.m)(e.onBlur,()=>g(!1))})})})}),eo=n.forwardRef((e,t)=>{let{checked:r=!1,onCheckedChange:n,...i}=e;return(0,w.jsx)(eh,{scope:e.__scopeMenu,checked:r,children:(0,w.jsx)(ea,{role:"menuitemcheckbox","aria-checked":eI(r)?"mixed":r,...i,ref:t,"data-state":eN(r),onSelect:(0,a.m)(i.onSelect,()=>n?.(!!eI(r)||!r),{checkForDefaultPrevented:!1})})})});eo.displayName="MenuCheckboxItem";var el="MenuRadioGroup",[es,eu]=P(el,{value:void 0,onValueChange:()=>{}}),ec=n.forwardRef((e,t)=>{let{value:r,onValueChange:n,...a}=e,i=(0,E.c)(n);return(0,w.jsx)(es,{scope:e.__scopeMenu,value:r,onValueChange:i,children:(0,w.jsx)(ee,{...a,ref:t})})});ec.displayName=el;var ed="MenuRadioItem",ep=n.forwardRef((e,t)=>{let{value:r,...n}=e,i=eu(ed,e.__scopeMenu),o=r===i.value;return(0,w.jsx)(eh,{scope:e.__scopeMenu,checked:o,children:(0,w.jsx)(ea,{role:"menuitemradio","aria-checked":o,...n,ref:t,"data-state":eN(o),onSelect:(0,a.m)(n.onSelect,()=>i.onValueChange?.(r),{checkForDefaultPrevented:!1})})})});ep.displayName=ed;var ef="MenuItemIndicator",[eh,eg]=P(ef,{checked:!1}),em=n.forwardRef((e,t)=>{let{__scopeMenu:r,forceMount:n,...a}=e,i=eg(ef,r);return(0,w.jsx)(v.C,{present:n||eI(i.checked)||!0===i.checked,children:(0,w.jsx)(s.sG.span,{...a,ref:t,"data-state":eN(i.checked)})})});em.displayName=ef;var ev=n.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return(0,w.jsx)(s.sG.div,{role:"separator","aria-orientation":"horizontal",...n,ref:t})});ev.displayName="MenuSeparator";var ey=n.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e,a=D(r);return(0,w.jsx)(g.i3,{...a,...n,ref:t})});ey.displayName="MenuArrow";var eb="MenuSub",[eE,eS]=P(eb),e_=e=>{let{__scopeMenu:t,children:r,open:a=!1,onOpenChange:i}=e,o=j(eb,t),l=D(t),[s,u]=n.useState(null),[c,d]=n.useState(null),p=(0,E.c)(i);return n.useEffect(()=>(!1===o.open&&p(!1),()=>p(!1)),[o.open,p]),(0,w.jsx)(g.bL,{...l,children:(0,w.jsx)(F,{scope:t,open:a,onOpenChange:p,content:c,onContentChange:d,children:(0,w.jsx)(eE,{scope:t,contentId:(0,h.B)(),triggerId:(0,h.B)(),trigger:s,onTriggerChange:u,children:r})})})};e_.displayName=eb;var ew="MenuSubTrigger",ex=n.forwardRef((e,t)=>{let r=j(ew,e.__scopeMenu),o=z(ew,e.__scopeMenu),l=eS(ew,e.__scopeMenu),s=W(ew,e.__scopeMenu),u=n.useRef(null),{pointerGraceTimerRef:c,onPointerGraceIntentChange:d}=s,p={__scopeMenu:e.__scopeMenu},f=n.useCallback(()=>{u.current&&window.clearTimeout(u.current),u.current=null},[]);return n.useEffect(()=>f,[f]),n.useEffect(()=>{let e=c.current;return()=>{window.clearTimeout(e),d(null)}},[c,d]),(0,w.jsx)($,{asChild:!0,...p,children:(0,w.jsx)(ei,{id:l.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":l.contentId,"data-state":eT(r.open),...e,ref:(0,i.t)(t,l.onTriggerChange),onClick:t=>{e.onClick?.(t),e.disabled||t.defaultPrevented||(t.currentTarget.focu
1s(),r.open||r.onOpenChange(!0))},onPointerMove:(0,a.m)(e.onPointerMove,eC(t=>{s.onItemEnter(t),!t.defaultPrevented&&(e.disabled||r.open||u.current||(s.onPointerGraceIntentChange(null),u.current=window.setTimeout(()=>{r.onOpenChange(!0),f()},100)))})),onPointerLeave:(0,a.m)(e.onPointerLeave,eC(e=>{f();let t=r.content?.getBoundingClientRect();if(t){let n=r.content?.dataset.side,a="right"===n,i=t[a?"left":"right"],o=t[a?"right":"left"];s.onPointerGraceIntentChange({area:[{x:e.clientX+(a?-5:5),y:e.clientY},{x:i,y:t.top},{x:o,y:t.top},{x:o,y:t.bottom},{x:i,y:t.bottom}],side:n}),window.clearTimeout(c.current),c.current=window.setTimeout(()=>s.onPointerGraceIntentChange(null),300)}else{if(s.onTriggerLeave(e),e.defaultPrevented)return;s.onPointerGraceIntentChange(null)}})),onKeyDown:(0,a.m)(e.onKeyDown,t=>{let n=""!==s.searchRef.current;e.disabled||n&&" "===t.key||T[o.dir].includes(t.key)&&(r.onOpenChange(!0),r.content?.focus(),t.preventDefault())})})})});ex.displayName=ew;var ek="MenuSubContent",eA=n.forwardRef((e,t)=>{let r=q(K,e.__scopeMenu),{forceMount:o=r.forceMount,...l}=e,s=j(K,e.__scopeMenu),u=z(K,e.__scopeMenu),c=eS(ek,e.__scopeMenu),d=n.useRef(null),p=(0,i.s)(t,d);return(0,w.jsx)(C.Provider,{scope:e.__scopeMenu,children:(0,w.jsx)(v.C,{present:o||s.open,children:(0,w.jsx)(C.Slot,{scope:e.__scopeMenu,children:(0,w.jsx)(J,{id:c.contentId,"aria-labelledby":c.triggerId,...l,ref:p,align:"start",side:"rtl"===u.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{u.isUsingKeyboardRef.current&&d.current?.focus(),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,a.m)(e.onFocusOutside,e=>{e.target!==c.trigger&&s.onOpenChange(!1)}),onEscapeKeyDown:(0,a.m)(e.onEscapeKeyDown,e=>{u.onClose(),e.preventDefault()}),onKeyDown:(0,a.m)(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),r=I[u.dir].includes(e.key);t&&r&&(s.onOpenChange(!1),c.trigger?.focus(),e.preventDefault())})})})})})});function eT(e){return e?"open":"closed"}function eI(e){return"indeterminate"===e}function eN(e){return eI(e)?"indeterminate":e?"checked":"unchecked"}function eC(e){return t=>"mouse"===t.pointerType?e(t):void 0}eA.displayName=ek;var eO="DropdownMenu",[eR,eP]=(0,o.A)(eO,[L]),eL=L(),[eD,eM]=eR(eO),eF=e=>{let{__scopeDropdownMenu:t,children:r,dir:a,open:i,defaultOpen:o,onOpenChange:s,modal:u=!0}=e,c=eL(t),d=n.useRef(null),[p=!1,f]=(0,l.i)({prop:i,defaultProp:o,onChange:s});return(0,w.jsx)(eD,{scope:t,triggerId:(0,h.B)(),triggerRef:d,contentId:(0,h.B)(),open:p,onOpenChange:f,onOpenToggle:n.useCallback(()=>f(e=>!e),[f]),modal:u,children:(0,w.jsx)(B,{...c,open:p,onOpenChange:f,dir:a,modal:u,children:r})})};eF.displayName=eO;var ej="DropdownMenuTrigger",eU=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,disabled:n=!1,...o}=e,l=eM(ej,r),u=eL(r);return(0,w.jsx)($,{asChild:!0,...u,children:(0,w.jsx)(s.sG.button,{type:"button",id:l.triggerId,"aria-haspopup":"menu","aria-expanded":l.open,"aria-controls":l.open?l.contentId:void 0,"data-state":l.open?"open":"closed","data-disabled":n?"":void 0,disabled:n,...o,ref:(0,i.t)(t,l.triggerRef),onPointerDown:(0,a.m)(e.onPointerDown,e=>{!n&&0===e.button&&!1===e.ctrlKey&&(l.onOpenToggle(),l.open||e.preventDefault())}),onKeyDown:(0,a.m)(e.onKeyDown,e=>{!n&&(["Enter"," "].includes(e.key)&&l.onOpenToggle(),"ArrowDown"===e.key&&l.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});eU.displayName=ej;var ez=e=>{let{__scopeDropdownMenu:t,...r}=e,n=eL(t);return(0,w.jsx)(V,{...n,...r})};ez.displayName="DropdownMenuPortal";var eB="DropdownMenuContent",e$=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...i}=e,o=eM(eB,r),l=eL(r),s=n.useRef(!1);return(0,w.jsx)(Z,{id:o.contentId,"aria-labelledby":o.triggerId,...l,...i,ref:t,onCloseAutoFocus:(0,a.m)(e.onCloseAutoFocus,e=>{s.current||o.triggerRef.current?.focus(),s.current=!1,e.preventDefault()}),onInteractOutside:(0,a.m)(e.onInteractOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey,n=2===t.button||r;(!o.modal||n)&&(s.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});e$.displayName=eB;var eH=n.forwardRef((e,t)=>
1{let{__scopeDropdownMenu:r,...n}=e,a=eL(r);return(0,w.jsx)(ee,{...a,...n,ref:t})});eH.displayName="DropdownMenuGroup";var eG=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,a=eL(r);return(0,w.jsx)(et,{...a,...n,ref:t})});eG.displayName="DropdownMenuLabel";var eq=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,a=eL(r);return(0,w.jsx)(ea,{...a,...n,ref:t})});eq.displayName="DropdownMenuItem";var eV=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,a=eL(r);return(0,w.jsx)(eo,{...a,...n,ref:t})});eV.displayName="DropdownMenuCheckboxItem";var eK=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,a=eL(r);return(0,w.jsx)(ec,{...a,...n,ref:t})});eK.displayName="DropdownMenuRadioGroup";var eY=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,a=eL(r);return(0,w.jsx)(ep,{...a,...n,ref:t})});eY.displayName="DropdownMenuRadioItem";var eW=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,a=eL(r);return(0,w.jsx)(em,{...a,...n,ref:t})});eW.displayName="DropdownMenuItemIndicator";var eZ=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,a=eL(r);return(0,w.jsx)(ev,{...a,...n,ref:t})});eZ.displayName="DropdownMenuSeparator",n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,a=eL(r);return(0,w.jsx)(ey,{...a,...n,ref:t})}).displayName="DropdownMenuArrow";var eX=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,a=eL(r);return(0,w.jsx)(ex,{...a,...n,ref:t})});eX.displayName="DropdownMenuSubTrigger";var eQ=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,a=eL(r);return(0,w.jsx)(eA,{...a,...n,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});eQ.displayName="DropdownMenuSubContent";var eJ=eF,e0=eU,e1=ez,e2=e$,e5=eH,e4=eG,e3=eq,e7=eV,e8=eK,e6=eY,e9=eW,te=eZ,tt=e=>{let{__scopeDropdownMenu:t,children:r,open:n,onOpenChange:a,defaultOpen:i}=e,o=eL(t),[s=!1,u]=(0,l.i)({prop:n,defaultProp:i,onChange:a});return(0,w.jsx)(e_,{...o,open:s,onOpenChange:u,children:r})},tr=eX,tn=eQ},130488:e=>{e.exports={style:{fontFamily:"'Merriweather', 'Merriweather Fallback'",fontStyle:"normal"},className:"__className_eb6e52"}},131642:()=>{Prism.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_NAME|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|V
1ISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_G
1ENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}},137306:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("GripVertical",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]])},142097:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},158453:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("AlignRight",[["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M21 18H7",key:"1ygte8"}],["path",{d:"M21 6H3",key:"1jwq7v"}]])},164530:(e,t,r)=>{"use strict";r.d(t,{Bj:()=>f,Bm:()=>u,Mk:()=>h,Sw:()=>a,Tc:()=>m,YE:()=>i,Zy:()=>g,bq:()=>function e(t,r=!1){let{activeElement:n}=i(t);if(!(null==n?void 0:n.nodeName))return null;if(s(n)&&n.contentDocument)return e(n.contentDocument.body,r);if(r){let e=n.getAttribute("aria-activedescendant");if(e){let t=i(n).getElementById(e);if(t)return t}}return n},eG:()=>v,gH:()=>y,gR:()=>l,mB:()=>p,qj:()=>function e(t){if(!t)return null;let r=e=>"auto"===e||"scroll"===e;if(t.clientHeight&&t.scrollHeight>t.clientHeight){let{overflowY:e}=getComputedStyle(t);if(r(e))return t}else if(t.clientWidth&&t.scrollWidth>t.clientWidth){let{overflowX:e}=getComputedStyle(t);if(r(e))return t}return e(t.parentElement)||document.scrollingElement||document.body},qt:()=>s,zN:()=>d,zk:()=>o});var n,a="u">typeof window&&!!(null==(n=window.document)?void 0:n.createElement);function i(e){return e?"self"in e?e.document:e.ownerDocument||document:document}function o(e){return e?"self"in e?e.self:i(e).defaultView||window:self}function l(e,t){return e===t||e.contains(t)}function s(e){return"IFRAME"===e.tagName}function u(e){let t=e.tagName.toLowerCase();return"button"===t||"input"===t&&!!e.type&&-1!==c.indexOf(e.type)}var c=["button","color","file","image","reset","submit"];function d(e){return"function"==typeof e.checkVisibility?e.checkVisibility():e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0}function p(e){try{let t=e instanceof HTMLInputElement&&null!==e.selectionStart,r="TEXTAREA"===e.tagName;return t||r||!1}catch(e){return!1}}function f(e){return e.isContentEditable||p(e)}function h(e){if(p(e))return e.value;if(e.isContentEditable){let t=i(e).createRange();return t.selectNodeContents(e),t.toString()}return""}function g(e){let t=0,r=0;if(p(e))t=e.selectionStart||0,r=e.selectionEnd||0;else if(e.isContentEditable){let n=i(e).getSelection();if((null==n?void 0:n.rangeCount)&&n.anchorNode&&l(e,n.anchorNode)&&n.focusNode&&l(e,n.focusNode)){let a=n.getRangeAt(0),i=a.cloneRange();i.selectNodeContents(e),i.setEnd(a.startContainer,a.startOffset),t=i.toString().length,i.setEnd(a.endContainer,a.endOffset),r=i.toString().length}}return{start:t,end:r}}function m(e,t){let r=null==e?void 0:e.getAttribute("role");return r&&-1!==["dialog","menu","listbox","tree","grid"].indexOf(r)?r:t}function v(e,...t){/text|search|password|tel|url/i.test(e.type)&&e.setSelectionRange(...t)}function y(e,t){let r=e.map((e,t)=>[t,e]),n=!1;return(r.sort(([e,r],[a,i])=>{var o;let l=t(r),s=t(i);return l!==s&&l&&s?(o=l,s.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_PRECEDING)?(e>a&&(n=!0),-1):(e<a&&(n=!0),1):0}),n)?r.map(([e,t])=>t):e}},167088:e=>{e.exports={replies:"tweet-replies_replies__mL7eK",link:"tweet-replies_link__0Tfe5",text:"tweet-replies_text__kxK2Z"}},175855:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("RectangleVertical",[["rect",{width:"12",height:"20",x:"6",y:"2",rx:"2",key:"1oxtiu"}]])},177364:(e,t,r)=>{"use strict";var n=r(795243),a=r(148846),i=r(731504),o=r(974328);e.exports=a(function(e){return e.push(void 0,i),n(o,void 0,e)})},179366:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},181653:()=>{Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},Prism.languages.webmanifest=Prism.languages.json},182292:(e,t,r)=>{"use strict";r.d(t,{Qh:()=>c,WZ:()=>d,es:()=>o,hZ:()=>i,hk:()=>u,iT:()=>l,oi:()=>a});var n=r(164530);function a(e,t){return e.find(e=>t?!e.disabled&&e.id!==t:!e.disabled)}function i(e,t){return t&&e.item(t)||null}function o(e){let t=[];for(let r of e){let e=t.find(e=>{var t;return(null==(t=e[0])?void 0:t.rowId)===r.rowId});e?e.push(r):t.push([r])}return t}function l(e,t=!1){if((0,n.mB)(e))e.setSelectionRange(t?e.value.length:0,e.value.length);
1else if(e.isContentEditable){let r=(0,n.YE)(e).getSelection();null==r||r.selectAllChildren(e),t&&(null==r||r.collapseToEnd())}}var s=Symbol("FOCUS_SILENTLY");function u(e){e[s]=!0,e.focus({preventScroll:!0})}function c(e){let t=e[s];return delete e[s],t}function d(e,t,r){if(!t||t===r)return!1;let n=e.item(t.id);return!!n&&(!r||n.element!==r)}},185892:()=>{var e,t;t=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/,(e=Prism).languages.protobuf=e.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),e.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>
1(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:t}},builtin:t,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})},187454:()=>{Prism.languages.properties={comment:/^[ \t]*[#!].*$/m,value:{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0,alias:"attr-value"},key:{pattern:/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,alias:"attr-name"},punctuation:/[=:]/}},190077:()=>{},190607:()=>{Prism.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}},193681:(e,t,r)=>{"use strict";r.d(t,{cZ:()=>o,v1:()=>l,v6:()=>s});var n=r(842676),a=r(774850),i=r(52515);function o(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function l(e){return e&&(0,i.isValidElement)(e)&&("ref"in e.props||"ref"in e)?(0,n.IA)({},e.props).ref||e.ref:null}function s(e,t){let r=(0,n.IA)({},e);for(let i in t){if(!(0,a.mQ)(t,i))continue;if("className"===i){let n="className";r[n]=e[n]?`${e[n]} ${t[n]}`:t[n];continue}if("style"===i){let a="style";r[a]=e[a]?(0,n.IA)((0,n.IA)({},e[a]),t[a]):t[a];continue}let o=t[i];if("function"==typeof o&&i.startsWith("on")){let t=e[i];if("function"==typeof t){r[i]=(...e)=>{o(...e),t(...e)};continue}}r[i]=o}return r}},201078:()=>{!function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function r(e){return e=e.replace(/<inner>/g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var n=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return n}),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+i+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+i+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(n),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(n),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:r(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:r(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:r(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}}
1,"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:r(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(t){["url","bold","italic","strike","code-snippet"].forEach(function(r){t!==r&&(e.languages.markdown[t].inside.content.inside[r]=e.languages.markdown[r])})}),e.hooks.add("after-tokenize",function(e){("markdown"===e.language||"md"===e.language)&&function e(t){if(t&&"string"!=typeof t)for(var r=0,n=t.length;r<n;r++){var a=t[r];if("code"!==a.type){e(a.content);continue}var i=a.content[1],o=a.content[3];if(i&&o&&"code-language"===i.type&&"code-block"===o.type&&"string"==typeof i.content){var l=i.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),s="language-"+(l=(/[a-z][\w-]*/i.exec(l)||[""])[0].toLowerCase());o.alias?"string"==typeof o.alias?o.alias=[o.alias,s]:o.alias.push(s):o.alias=[s]}}}(e.tokens)}),e.hooks.add("wrap",function(t){if("code-block"===t.type){for(var r,n="",a=0,i=t.classes.length;a<i;a++){var u=t.classes[a],c=/language-(.+)/.exec(u);if(c){n=c[1];break}}var d=e.languages[n];if(d){t.content=e.highlight((r=t.content.replace(o,"")).replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(e,t){if("#"===(t=t.toLowerCase())[0])return s("x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)));var r=l[t];return r||e}),d,n)}else if(n&&"none"!==n&&e.plugins.autoloader){var p="md-"+new Date().valueOf()+"-"+Math.floor(1e16*Math.random());t.attributes.id=p,e.plugins.autoloader.loadLanguages(n,function(){var t=document.getElementById(p);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))})}}});var o=RegExp(e.languages.markup.tag.pattern.source,"gi"),l={amp:"&",lt:"<",gt:">",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(Prism)},204494:e=>{e.exports={style:{fontFamily:"'Pacifico', 'Pacifico Fallback'",fontWeight:400,fontStyle:"normal"},className:"__className_0a7f00"}},207650:()=>{var e,t,r,n;e=Prism,t=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],n={pattern:RegExp((r=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source)+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}},e.languages.dart=e.languages.extend("clike",{"class-name":[n,{pattern:RegExp(r+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:n.inside}],keyword:t,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),e.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.dart}}},string:/[\s\S]+/}},string:void 0}),e.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),e.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":n,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})},212022:(e,t,r)=>{"use strict";r.d(t,{$y:()=>m,K9:()=>h,Sd:()=>g,VX:()=>v,YI:()=>f,Zt:()=>y,c3:()=>b,d5:()=>S,gD:()=>k,hI:()=>E,nC:()=>x,oX:()=>_,vk:()=>w});var n=r(583896),a=r(587250),i=r(453641),o=r(657300);let l=({match:e,trigger:t})=>{let r,n;"object"==typeof e?(r=e.start,n=e.end):n=(r=e).split("").reverse().join("");let a=t?o(t):[n.slice(-1)];return{end:n=t?n:n.slice(0,-1),start:r,triggers:a}},s=(e,{allowSameTypeAbove:t=!1,format:r,match:i,matchByRegex:s=!1,preFormat:u,text:c,trigger:d,triggerAtBlockStart:p=!0,type:f=n.t.p})=>{for(let n of o(i)){let i,{end:o,triggers:h}=l({match:{end:n,start:""},trigger:d});if(!h.includes(c))continue;let g="";if(p){if(i=e.api.range("start",e.selection),e.api.some({at:i,match:t=>a.$7.isElement(t)&&e.api.isVoid(t)})||(g=e.api.string(i),!(s?!!g.match(o):o===g)))continue}else{if(!(i=e.api.range("before",e.selection,{before:{matchByRegex:s,matchString:o}})))continue;g=e.api.string(i)}if(!(!t&&e.api.some({match:{type:f}})))return n.length>1&&e.tf.delete({at:i}),u&&u(e),r?r(e,{matchString:g}):e.tf.setNodes({type:f},{match:t=>e.api.isBlock(t)}),!0}return!1},u=/\S+/,c=(e,{end:t,start:r})=>{let n,a,i=e.selection,o=i.anchor;if(!t||(o=e.api.before(i,{matchString:t}))){if(r&&(!(n=e.api.before(o,{afterMatch:!0,matchString:r,skipInvalid:!0}))||(a=e.api.before(o,{matchString:r,skipInvalid:!0}),!((e,t)=>{let r=e.api.range("before",t);if(r){let t=e.api.string(r);if(t)return!u.exec(t)}return!0})(e,a))))return;return{afterStartMatchPoint:n,beforeEndMatchPoint:o,beforeStartMatchPoint:a}}},d=(e,{ignoreTrim:t,match:r,text:n,trigger:a,type:i})=>{if(!i)return!1;let s=e.selection;for(let u of o(r)){let{end:r,start:d,triggers:p}=l({match:u,trigger:a});if(!p.includes(n))continue;let f=c(e,{end:r,start:d});if(!f)continue;let{afterStartMatchPoint:h,beforeEndMatchPoint:g,beforeStartMatchPoint:m}=f,v={anchor:h,focus:g};if(!t){let t=e.api.string(v);if(t.trim()!==t)continue}r&&e.tf.delete({at:{anchor:g,focus:s.anchor}});let y=o(i);
1return e.tf.select(v),y.forEach(t=>{e.tf.addMark(t,!0)}),e.tf.collapse({edge:"end"}),e.tf.removeMarks(y,{shouldChange:!1}),e.tf.delete({at:{anchor:m,focus:h}}),!0}return!1},p=(e,{format:t,match:r,text:n,trigger:a})=>{let i=e.selection;for(let s of o(r)){let{end:r,start:o,triggers:u}=l({match:Array.isArray(t)?s:{end:s,start:""},trigger:a});if(!u.includes(n))continue;let d=c(e,{end:r,start:o});if(!d)continue;let{afterStartMatchPoint:p,beforeEndMatchPoint:f,beforeStartMatchPoint:h}=d;if(r&&e.tf.delete({at:{anchor:f,focus:i.anchor}}),"function"==typeof t)t(e,d);else{let r=Array.isArray(t)?t[1]:t;if(e.tf.insertText(r),h){let r=Array.isArray(t)?t[0]:t;e.tf.delete({at:{anchor:h,focus:p}}),e.tf.insertText(r,{at:h})}}return!0}return!1},f=(0,i.qt)({key:n.t.autoformat,editOnly:!0,options:{rules:[]}}).overrideEditor(({editor:e,getOptions:t,tf:{deleteBackward:r,insertText:n}})=>({transforms:{deleteBackward(n="character"){(()=>{let{enableUndoOnDelete:i,rules:o}=t();if("character"!==n||!o||!i)return;let{selection:l}=e;if(!l||!e.api.isCollapsed())return;let[s,u]=a.Cb.edges(l),c=e.api.before(u,{distance:1,unit:"character"});if(!s||!c)return;let d={anchor:c,focus:s};if(!d)return;let p=e.api.string(d);if(!p)return;let f=[...o].filter(e=>!!e&&"text"===e.mode&&e.format===p);if(!f||0===f.length)return;r(n);let h=f[0];if(h&&"string"==typeof h.match)e.tf.insertText(h.match);else{let t=h.match;t&&t.length>0&&e.tf.insertText(t[0])}return!0})()||r(n)},insertText(r,a){if(!e.api.isCollapsed())return n(r,a);for(let a of t().rules){let{insertTrigger:t,mode:i="text",query:o}=a;if((!o||o(e,{...a,text:r}))&&({block:s,mark:d,text:p})[i]?.(e,{...a,text:r}))return t&&n(r)}n(r,a)}}})),h=[{format:"â",match:"->",mode:"text"},{format:"â",match:"<-",mode:"text"},{format:"â",match:"=>",mode:"text"},{format:"â",match:["<=","â¤="],mode:"text"}],g=[{format:"â¢",match:["(tm)","(TM)"],mode:"text"},{format:"\xae",match:["(r)","(R)"],mode:"text"},{format:"\xa9",match:["(c)","(C)"],mode:"text"}],m=[{format:"â¢",match:"™",mode:"text"},{format:"\xae",match:"®",mode:"text"},{format:"\xa9",match:"©",mode:"text"},{format:"\xa7",match:"§",mode:"text"}],v=[{format:"â",match:"--",mode:"text"},{format:"â¦",match:"...",mode:"text"},{format:"\xbb",match:">>",mode:"text"},{format:"\xab",match:"<<",mode:"text"}],y=[{format:["â","â"],match:'"',mode:"text"},{format:["â","â"],match:"'",mode:"text"}],b=[{format:"â¯",match:"!>",mode:"text"},{format:"â®",match:"!<",mode:"text"},{format:"â¥",match:">=",mode:"text"},{format:"â¤",match:"<=",mode:"text"},{format:"â±",match:"!>=",mode:"text"},{format:"â°",match:"!<=",mode:"text"}],E=[{format:"â ",match:"!=",mode:"text"},{format:"â¡",match:"==",mode:"text"},{format:"â¢",match:["!==","â ="],mode:"text"},{format:"â",match:"~=",mode:"text"},{format:"â",match:"!~=",mode:"text"}],S=[{format:"\xbd",match:"1/2",mode:"text"},{format:"â
",match:"1/3",mode:"text"},{format:"\xbc",match:"1/4",mode:"text"},{format:"â
",match:"1/5",mode:"text"},{format:"â
",match:"1/6",mode:"text"},{format:"â
",match:"1/7",mode:"text"},{format:"â
",match:"1/8",mode:"text"},{format:"â
",match:"1/9",mode:"text"},{format:"â
",match:"1/10",mode:"text"},{format:"â
",match:"2/3",mode:"text"},{format:"â
",match:"2/5",mode:"text"},{format:"\xbe",match:"3/4",mode:"text"},{format:"â
",match:"3/5",mode:"text"},{format:"â
",match:"3/8",mode:"text"},{format:"â
",match:"4/5",mode:"text"},{format:"â
",match:"5/6",mode:"text"},{format:"â
",match:"5/8",mode:"text"},{format:"â
",match:"7/8",mode:"text"}],_=[{format:"â",match:"~0",mode:"text"},{format:"â",match:"~1",mode:"text"},{format:"â",match:"~2",mode:"text"},{format:"â",match:"~3",mode:"text"},{format:"â",match:"~4",mode:"text"},{format:"â
",match:"~5",mode:"text"},{format:"â",match:"~6",mode:"text"},{format:"â",match:"~7",mode:"text"},{format:"â",match:"~8",mode:"text"},{format:"â",match:"~9",mode:"text"}],w=[{format:"â",match:"~+",mode:"text"},{format:"â",match:"~-",mode:"text"}],x=[{format:"â°",match:"^0",mode:"text"},{format:"\xb9",match:"^1",mode:"text"},{format:"\xb2",match:"^2",mode:"text"},{format:"\xb3",match:"^3",mode:"text"},{format:"â´",match:"^4",mode:"text"},{format:"âµ",match:"^5",mode:"text"},{format:"â¶",match:"^6",mode:"text"},{format:"â·",match:"^7",mode:"text"},{format:"â¸",match:"^8",mode:"text"},{format:"â¹",match:"^9",mode:"text"}],k=[{format:"\xb0",match:"^o",mode:"text"},{format:"âº",match:"^+",mode:"text"},{format:"â»",match:"^-",mode:"text"}];[...b,...E,...S,...k,...w,...x,..._]},218498:(e,t,r)=>{"use strict";r.d(t,{D:()=>g});var n=r(911325),a=r(54748),i=r(377894),o=r(842676),l=r(774850),s=r(52515),u=r(490243),c=(0,a.ab)(function(e){let[t,r]=(0,s.use
1State)();return e=(0,i.w7)(e,e=>(0,u.jsx)(n.L.Provider,{value:r,children:e}),[]),e=(0,o.IA)({role:"group","aria-labelledby":t},e),(0,l.HR)(e)});(0,a.Rf)(function(e){let t=c(e);return(0,a.n)("div",t)});var d=(0,a.ab)(function(e){var{store:t}=e,r=(0,o.YG)(e,["store"]);return c(r)});(0,a.Rf)(function(e){let t=d(e);return(0,a.n)("div",t)});var p=r(481651),f=r(164530),h=(0,a.ab)(function(e){var{store:t}=e,r=(0,o.YG)(e,["store"]);let n=(0,p.UW)();t=t||n,(0,l.V1)(t,!1);let a=t.useState("contentElement");return"grid"===(0,f.Tc)(a)&&(r=(0,o.IA)({role:"rowgroup"},r)),r=d((0,o.IA)({store:t},r))}),g=(0,a.Rf)(function(e){let t=h(e);return(0,a.n)("div",t)})},229224:()=>{Prism.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|begin|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}},233364:()=>{!function(e){var t=/[*&][^\s[\]{},]+/,r=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,n="(?:"+r.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+r.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),i=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function o(e,t){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return n}).replace(/<<value>>/g,function(){return e}),t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return n})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return n}).replace(/<<key>>/g,function(){return"(?:"+a+"|"+i+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:o(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:o(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:o(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:o(i),lookbehind:!0,greedy:!0},number:{pattern:o(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:r,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(Prism)},235168:e=>{e.exports={style:{fontFamily:"'Poppins', 'Poppins Fallback'",fontStyle:"normal"},className:"__className_f56b63"}},238346:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("Ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]])},241406:(e,t,r)=>{"use strict";r.d(t,{WO:()=>i});var n=r(73502),a=r(878609);r(518583);let i=(0,a.HS)(n.t)},243287:e=>{e.exports={root:"tweet-container_root__7YeAM",article:"tweet-container_article__borIR"}},245860:(e,t,r)=>{"use strict";r.d(t,{N:()=>o,j:()=>l});var n=r(592008),a=r(904871),i=r(385965);function o(e,t,r){return(0,n.W)(e,t,r)}function l(e={}){let[t,r]=(0,a.Pj)(i.Y,e);return o(t,r,e)}
1},247375:(e,t,r)=>{"use strict";r.d(t,{AJ:()=>h,LC:()=>c,QZ:()=>y,UK:()=>f,WA:()=>b,XJ:()=>p,a9:()=>u,do:()=>m,gw:()=>v,oW:()=>g,tp:()=>o,vF:()=>d});var n=r(164530),a=r(316949),i="input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], summary, iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false'])";function o(e){return!(!e.matches(i)||!(0,n.zN)(e)||e.closest("[inert]"))}function l(e){if(!o(e)||0>Number.parseInt(e.getAttribute("tabindex")||"0",10))return!1;if(!("form"in e)||!e.form||e.checked||"radio"!==e.type)return!0;let t=e.form.elements.namedItem(e.name);if(!t||!("length"in t))return!0;let r=(0,n.bq)(e);return!r||r===e||!("form"in r)||r.form!==e.form||r.name!==e.name}function s(e,t){let r=Array.from(e.querySelectorAll(i));t&&r.unshift(e);let a=r.filter(o);return a.forEach((e,t)=>{if((0,n.qt)(e)&&e.contentDocument){let r=e.contentDocument.body;a.splice(t,1,...s(r))}}),a}function u(e,t,r){let a=Array.from(e.querySelectorAll(i)),o=a.filter(l);return(t&&l(e)&&o.unshift(e),o.forEach((e,t)=>{if((0,n.qt)(e)&&e.contentDocument){let n=u(e.contentDocument.body,!1,r);o.splice(t,1,...n)}}),!o.length&&r)?a:o}function c(e,t,r){let[n]=u(e,t,r);return n||null}function d(e,t){var r;let a,i,o,u;return r=document.body,a=(0,n.bq)(r),o=(i=s(r,!1)).indexOf(a),(u=i.slice(o+1)).find(l)||(e?i.find(l):null)||(t?u[0]:null)||null}function p(e,t){var r;let a,i,o,u;return r=document.body,a=(0,n.bq)(r),o=(i=s(r,!1).reverse()).indexOf(a),(u=i.slice(o+1)).find(l)||(e?i.find(l):null)||(t?u[0]:null)||null}function f(e){for(;e&&!o(e);)e=e.closest(i);return e||null}function h(e){let t=(0,n.bq)(e);if(!t)return!1;if(t===e)return!0;let r=t.getAttribute("aria-activedescendant");return!!r&&r===e.id}function g(e){let t=(0,n.bq)(e);if(!t)return!1;if((0,n.gR)(e,t))return!0;let r=t.getAttribute("aria-activedescendant");return!!r&&"id"in e&&(r===e.id||!!e.querySelector(`#${CSS.escape(r)}`))}function m(e){!g(e)&&o(e)&&e.focus()}function v(e,t){for(let r of u(e,t))!function(e){var t;let r=null!=(t=e.getAttribute("tabindex"))?t:"";e.setAttribute("data-tabindex",r),e.setAttribute("tabindex","-1")}(r)}function y(e){let t=e.querySelectorAll("[data-tabindex]"),r=e=>{let t=e.getAttribute("data-tabindex");e.removeAttribute("data-tabindex"),t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")};for(let n of(e.hasAttribute("data-tabindex")&&r(e),t))r(n)}function b(e,t){"scrollIntoView"in e?(e.focus({preventScroll:!0}),e.scrollIntoView((0,a.IA)({block:"nearest",inline:"nearest"},t))):e.focus()}},254306:(e,t,r)=>{"use strict";r.d(t,{G:()=>k});var n=r(481651),a=r(98455),i=r(54748),o=r(377894),l=r(842676),s=(0,i.ab)(function(e){var{store:t}=e,r=(0,l.YG)(e,["store"]);let n=(0,a.zG)();return t=t||n,r=(0,l.ko)((0,l.IA)({},r),{ref:(0,o.SV)(null==t?void 0:t.setAnchorElement,r.ref)})});(0,i.Rf)(function(e){let t=s(e);return(0,i.n)("div",t)});var u=r(182292),c=r(453405),d=r(274735),p=r(87377),f=r(164530),h=r(451016),g=r(247375),m=r(774850),v=r(52515),y=r(490243);function b(e,t,r){return(0,o._q)(n=>{var a;let i;if(null==t||t(n),n.defaultPrevented||n.isPropagationStopped()||!(0,h.uh)(n)||"Shift"===n.key||"Control"===n.key||"Alt"===n.key||"Meta"===n.key||(!(i=n.target)||(0,f.mB)(i))&&1===n.key.length&&!n.ctrlKey&&!n.metaKey)return;let o=e.getState(),s=null==(a=(0,u.hZ)(e,o.activeId))?void 0:a.element;if(!s)return;let{view:c}=n,d=(0,l.YG)(n,["view"]);s!==(null==r?void 0:r.current)&&s.focus(),(0,h.sz)(s,n.type,d)||n.preventDefault(),n.currentTarget.contains(s)&&n.stopPropagation()})}var E=(0,i.ab)(function(e){var{store:t,composite:r=!0,focusOnMove:n=r,moveOnKeyPress:a=!0}=e,i=(0,l.YG)(e,["store","composite","focusOnMove","moveOnKeyPress"]);let s=(0,c.Lf)();t=t||s,(0,m.V1)(t,!1);let E=(0,v.useRef)(null),S=(0,v.useRef)(null),_=function(e){let[t,r]=(0,v.useState)(!1),n=(0,v.useCallback)(()=>r(!0),[]),a=e.useState(t=>(0,u.hZ)(e,t.activeId));return(0,v.useEffect)(()=>{let e=null==a?void 0:a.element;!t||e&&(r(!1),e.focus({preventScroll:!0}))},[a,t]),n}(t),w=t.useState("moves"),[,x]=(0,o.XB)(r?t.setBaseElement:null);(0,v.useEffect)(()=>{var e;if(!t||!w||!r||!n)return;let{activeId:a}=t.getState(),i=null==(e=(0,u.hZ)(t,a))?void 0:e.element;i&&(0,g.WA)(i)},[t,w,r,n]),(0,o.UQ)(()=>
1{if(!t||!w||!r)return;let{baseElement:e,activeId:n}=t.getState();if(null!==n||!e)return;let a=S.current;S.current=null,a&&(0,h.c$)(a,{relatedTarget:e}),(0,g.AJ)(e)||e.focus()},[t,w,r]);let k=t.useState("activeId"),A=t.useState("virtualFocus");(0,o.UQ)(()=>{var e;if(!t||!r||!A)return;let n=S.current;if(S.current=null,!n)return;let a=(null==(e=(0,u.hZ)(t,k))?void 0:e.element)||(0,f.bq)(n);a!==n&&(0,h.c$)(n,{relatedTarget:a})},[t,k,A,r]);let T=b(t,i.onKeyDownCapture,S),I=b(t,i.onKeyUpCapture,S),N=i.onFocusCapture,C=(0,o._q)(e=>{if(null==N||N(e),e.defaultPrevented||!t)return;let{virtualFocus:r}=t.getState();if(!r)return;let n=e.relatedTarget,a=(0,u.Qh)(e.currentTarget);(0,h.uh)(e)&&a&&(e.stopPropagation(),S.current=n)}),O=i.onFocus,R=(0,o._q)(e=>{if(null==O||O(e),e.defaultPrevented||!r||!t)return;let{relatedTarget:n}=e,{virtualFocus:a}=t.getState();a?(0,h.uh)(e)&&!(0,u.WZ)(t,n)&&queueMicrotask(_):(0,h.uh)(e)&&t.setActiveId(null)}),P=i.onBlurCapture,L=(0,o._q)(e=>{var r;if(null==P||P(e),e.defaultPrevented||!t)return;let{virtualFocus:n,activeId:a}=t.getState();if(!n)return;let i=null==(r=(0,u.hZ)(t,a))?void 0:r.element,o=e.relatedTarget,l=(0,u.WZ)(t,o),s=S.current;S.current=null,(0,h.uh)(e)&&l?(o===i?s&&s!==o&&(0,h.c$)(s,e):i?(0,h.c$)(i,e):s&&(0,h.c$)(s,e),e.stopPropagation()):!(0,u.WZ)(t,e.target)&&i&&(0,h.c$)(i,e)}),D=i.onKeyDown,M=(0,o.O4)(a),F=(0,o._q)(e=>{var r;if(null==D||D(e),e.defaultPrevented||!t||!(0,h.uh)(e))return;let{orientation:n,renderedItems:a,activeId:i}=t.getState(),o=(0,u.hZ)(t,i);if(null==(r=null==o?void 0:o.element)?void 0:r.isConnected)return;let l="horizontal"!==n,s="vertical"!==n,c=a.some(e=>!!e.rowId);if(("ArrowLeft"===e.key||"ArrowRight"===e.key||"Home"===e.key||"End"===e.key)&&(0,f.mB)(e.currentTarget))return;let d={ArrowUp:(c||l)&&(()=>{if(c){let e=(0,u.oi)((0,p.M9)((0,p.q7)((0,u.es)(a))));return null==e?void 0:e.id}return null==t?void 0:t.last()}),ArrowRight:(c||s)&&t.first,ArrowDown:(c||l)&&t.first,ArrowLeft:(c||s)&&t.last,Home:t.first,End:t.last,PageUp:t.first,PageDown:t.last}[e.key];if(d){let r=d();if(void 0!==r){if(!M(e))return;e.preventDefault(),t.move(r)}}});i=(0,o.w7)(i,e=>(0,y.jsx)(c.ws,{value:t,children:e}),[t]);let j=t.useState(e=>{var n;if(t&&r&&e.virtualFocus)return null==(n=(0,u.hZ)(t,e.activeId))?void 0:n.id});i=(0,l.ko)((0,l.IA)({"aria-activedescendant":j},i),{ref:(0,o.SV)(E,x,i.ref),onKeyDownCapture:T,onKeyUpCapture:I,onFocusCapture:C,onFocus:R,onBlurCapture:L,onKeyDown:F});let U=t.useState(e=>r&&(e.virtualFocus||null===e.activeId));return(0,d.Wc)((0,l.IA)({focusable:U},i))});(0,i.Rf)(function(e){let t=E(e);return(0,i.n)("div",t)});var S=r(559595);function _(e,t,r){if(!r)return!1;let n=e.find(e=>!e.disabled&&e.value);return(null==n?void 0:n.value)===t}function w(e,t){return!!t&&null!=e&&(e=(0,m.J2)(e),t.length>e.length&&0===t.toLowerCase().indexOf(e.toLowerCase()))}var x=(0,i.ab)(function(e){var{store:t,focusable:r=!0,autoSelect:a=!1,getAutoSelectId:i,setValueOnChange:u,showMinLength:c=0,showOnChange:d,showOnMouseDown:p,showOnClick:y=p,showOnKeyDown:b,showOnKeyPress:x=b,blurActiveItemOnClick:k,setValueOnClick:A=!0,moveOnKeyPress:T=!0,autoComplete:I="list"}=e,N=(0,l.YG)(e,["store","focusable","autoSelect","getAutoSelectId","setValueOnChange","showMinLength","showOnChange","showOnMouseDown","showOnClick","showOnKeyDown","showOnKeyPress","blurActiveItemOnClick","setValueOnClick","moveOnKeyPress","autoComplete"]);let C=(0,n.PV)();t=t||C,(0,m.V1)(t,!1);let O=(0,v.useRef)(null),[R,P]=(0,o.CH)(),L=(0,v.useRef)(!1),D=(0,v.useRef)(!1),M=t.useState(e=>e.virtualFocus&&a),F="inline"===I||"both"===I,[j,U]=(0,v.useState)(F);(0,o.Kp)(()=>{F&&U(!0)},[F]);let z=t.useState("value"),B=(0,v.useRef)();(0,v.useEffect)(()=>(0,S.OH)(t,["selectedValue","activeId"],(e,t)=>{B.current=t.selectedValue}),[]);let $=t.useState(e=>{var t;if(F&&j){if(e.activeValue&&Array.isArray(e.selectedValue)&&(e.selectedValue.includes(e.activeValue)||(null==(t=B.current)?void 0:t.includes(e.activeValue))))return;return e.activeValue}}),H=t.useState("renderedItems"),G=t.useState("open"),q=t.useState("contentElement"),V=(0,v.useMemo)(()=>
1{if(!F||!j)return z;if(_(H,$,M)){if(w(z,$)){let e=(null==$?void 0:$.slice(z.length))||"";return z+e}return z}return $||z},[F,j,H,$,M,z]);(0,v.useEffect)(()=>{let e=O.current;if(!e)return;let t=()=>U(!0);return e.addEventListener("combobox-item-move",t),()=>{e.removeEventListener("combobox-item-move",t)}},[]),(0,v.useEffect)(()=>{if(!F||!j||!$||!_(H,$,M)||!w(z,$))return;let e=m.lQ;return queueMicrotask(()=>{let t=O.current;if(!t)return;let{start:r,end:n}=(0,f.Zy)(t),a=z.length,i=$.length;(0,f.eG)(t,a,i),e=()=>{if(!(0,g.AJ)(t))return;let{start:e,end:o}=(0,f.Zy)(t);e!==a||o===i&&(0,f.eG)(t,r,n)}}),()=>e()},[R,F,j,$,H,M,z]);let K=(0,v.useRef)(null),Y=(0,o._q)(i),W=(0,v.useRef)(null);(0,v.useEffect)(()=>{if(!G||!q)return;let e=(0,f.qj)(q);if(!e)return;K.current=e;let r=()=>{L.current=!1},n=()=>{if(!t||!L.current)return;let{activeId:e}=t.getState();null===e||e!==W.current&&(L.current=!1)},a={passive:!0,capture:!0};return e.addEventListener("wheel",r,a),e.addEventListener("touchmove",r,a),e.addEventListener("scroll",n,a),()=>{e.removeEventListener("wheel",r,!0),e.removeEventListener("touchmove",r,!0),e.removeEventListener("scroll",n,!0)}},[G,q,t]),(0,o.UQ)(()=>{!z||D.current||(L.current=!0)},[z]),(0,o.UQ)(()=>{"always"!==M&&G||(L.current=G)},[M,G]);let Z=t.useState("resetValueOnSelect");(0,o.w5)(()=>{var e,r;let n=L.current;if(!t||!G||!n&&!Z)return;let{baseElement:a,contentElement:i,activeId:o}=t.getState();if(!a||(0,g.AJ)(a)){if(null==i?void 0:i.hasAttribute("data-placing")){let e=new MutationObserver(P);return e.observe(i,{attributeFilter:["data-placing"]}),()=>e.disconnect()}if(M&&n){let r,n=Y(H),a=void 0!==n?n:null!=(e=null==(r=H.find(e=>{var t;return!e.disabled&&(null==(t=e.element)?void 0:t.getAttribute("role"))!=="tab"}))?void 0:r.id)?e:t.first();W.current=a,t.move(null!=a?a:null)}else{let e=null==(r=t.item(o||t.first()))?void 0:r.element;e&&"scrollIntoView"in e&&e.scrollIntoView({block:"nearest",inline:"nearest"})}}},[t,G,R,z,M,Z,Y,H]),(0,v.useEffect)(()=>{if(!F)return;let e=O.current;if(!e)return;let r=[e,q].filter(e=>!!e),n=e=>{r.every(t=>(0,h.aG)(e,t))&&(null==t||t.setValue(V))};for(let e of r)e.addEventListener("focusout",n);return()=>{for(let e of r)e.removeEventListener("focusout",n)}},[F,q,t,V]);let X=e=>e.currentTarget.value.length>=c,Q=N.onChange,J=(0,o.O4)(null!=d?d:X),ee=(0,o.O4)(null!=u?u:!t.tag),et=(0,o._q)(e=>{if(null==Q||Q(e),e.defaultPrevented||!t)return;let r=e.currentTarget,{value:n,selectionStart:a,selectionEnd:i}=r,o=e.nativeEvent;if(L.current=!0,"input"===o.type&&(o.isComposing&&(L.current=!1,D.current=!0),F)){let e="insertText"===o.inputType||"insertCompositionText"===o.inputType,t=a===n.length;U(e&&t)}if(ee(e)){let e=n===t.getState().value;t.setValue(n),queueMicrotask(()=>{(0,f.eG)(r,a,i)}),F&&M&&e&&P()}J(e)&&t.show(),M&&L.current||t.setActiveId(null)}),er=N.onCompositionEnd,en=(0,o._q)(e=>{L.current=!0,D.current=!1,null==er||er(e),e.defaultPrevented||M&&P()}),ea=N.onMouseDown,ei=(0,o.O4)(null!=k?k:()=>!!(null==t?void 0:t.getState().includesBaseElement)),eo=(0,o.O4)(A),el=(0,o.O4)(null!=y?y:X),es=(0,o._q)(e=>{null==ea||ea(e),e.defaultPrevented||e.button||e.ctrlKey||t&&(ei(e)&&t.setActiveId(null),eo(e)&&t.setValue(V),el(e)&&(0,h.nz)(e.currentTarget,"mouseup",t.show))}),eu=N.onKeyDown,ec=(0,o.O4)(null!=x?x:X),ed=(0,o._q)(e=>{if(null==eu||eu(e),e.repeat||(L.current=!1),e.defaultPrevented||e.ctrlKey||e.altKey||e.shiftKey||e.metaKey||!t)return;let{open:r}=t.getState();!r&&("ArrowUp"===e.key||"ArrowDown"===e.key)&&ec(e)&&(e.preventDefault(),t.show())}),ep=N.onBlur,ef=(0,o._q)(e=>{if(L.current=!1,null==ep||ep(e),e.defaultPrevented)return}),eh=(0,o.Bi)(N.id),eg=t.useState(e=>null===e.activeId);return N=(0,l.ko)((0,l.IA)({id:eh,role:"combobox","aria-autocomplete":"inline"===I||"list"===I||"both"===I||"none"===I?I:void 0,"aria-haspopup":(0,f.Tc)(q,"listbox"),"aria-expanded":G,"aria-controls":null==q?void 0:q.id,"data-active-item":eg||void 0,value:V},N),{ref:(0,o.SV)(O,N.ref),onChange:et,onCompositionEnd:en,onMouseDown:es,onKeyDown:ed,onBlur:ef}),N=E((0,l.ko)((0,l.IA)({store:t,focusable:r},N),{moveOnKeyPress:e=>!(0,m.zO)(T,e)&&(F&&U(!0),!0)})),N=s((0,l.IA)({store:t},N)),(0,l.IA)({autoComplete:"off"},N)}),k=(0,i.Rf)(function(e){let t=x(e);return(0,i.n)("input",t)})},259325:()=>{var e,t,r;e=Prism,r={"equation-command":{pattern:t=/\\(?:[^a-z()[\]]|[a-z*]+)/i,alias:"regex"}},e.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:r,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:r,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:t,alias:"selector"},punctuation:/[[\]{}&]/},e.languages.tex=e.languages.latex,e.languages.context=e.languages.latex},261270:(e,t,r)=>{"use strict";r.d(t,{V_:()=>f,s_:()=>p});var n=r(518583),a=r(52515),i=r(585713),o=r(878609),l=r(815098),s=r(557073),u=r(52664),c=r(42556);let d=()=>
1({bottom:9999,height:0,left:-9999,right:9999,top:-9999,width:0,x:0,y:0}),p=e=>{let t,r,s,u,c,d,p,f=(0,n.c)(25),{editorId:m,floatingOptions:v,focusedEditorId:y,hideToolbar:b,showWhenReadOnly:E}=e,S=(0,o.Q_)();f[0]!==S.api?(t=()=>S.api.isExpanded(),f[0]=S.api,f[1]=t):t=f[1],f[2]===Symbol.for("react.memo_cache_sentinel")?(r=[],f[2]=r):r=f[2];let _=(0,o.QR)(t,r);f[3]!==S.api?(s=()=>S.api.string(),f[3]=S.api,f[4]=s):s=f[4],f[5]===Symbol.for("react.memo_cache_sentinel")?(u=[],f[5]=u):u=f[5];let w=(0,o.QR)(s,u),x=(0,o.fu)(),k=(0,l.zL)(),[A,T]=a.useState(!1),[I,N]=a.useState(!1),[C,O]=a.useState(!1);f[6]!==S?(c=()=>g(S),f[6]=S,f[7]=c):c=f[7],f[8]!==v||f[9]!==A||f[10]!==c?(d=(0,i.v6)({open:A,getBoundingClientRect:c,onOpenChange:T},v),f[8]=v,f[9]=A,f[10]=c,f[11]=d):d=f[11];let R=h(d);return f[12]!==m||f[13]!==R||f[14]!==k||f[15]!==y||f[16]!==b||f[17]!==C||f[18]!==A||f[19]!==x||f[20]!==_||f[21]!==w||f[22]!==E||f[23]!==I?(p={editorId:m,floating:R,focused:k,focusedEditorId:y,hideToolbar:b,mousedown:C,open:A,readOnly:x,selectionExpanded:_,selectionText:w,setMousedown:O,setOpen:T,setWaitForCollapsedSelection:N,showWhenReadOnly:E,waitForCollapsedSelection:I},f[12]=m,f[13]=R,f[14]=k,f[15]=y,f[16]=b,f[17]=C,f[18]=A,f[19]=x,f[20]=_,f[21]=w,f[22]=E,f[23]=I,f[24]=p):p=f[24],p},f=({editorId:e,floating:t,focusedEditorId:r,hideToolbar:n,mousedown:i,open:l,readOnly:u,selectionExpanded:c,selectionText:d,setMousedown:p,setOpen:f,setWaitForCollapsedSelection:h,showWhenReadOnly:g,waitForCollapsedSelection:m})=>{a.useEffect(()=>{e!==r&&h(!0),c||h(!1)},[e,r,c,h]),a.useEffect(()=>{let e=()=>p(!1),t=()=>p(!0);return document.addEventListener("mouseup",e),document.addEventListener("mousedown",t),()=>{document.removeEventListener("mouseup",e),document.removeEventListener("mousedown",t)}},[]),a.useEffect(()=>{f(e=>!!c&&!!d&&(!i||!!e)&&!n&&(!u||!!g)&&(!!d&&!!c&&(!m||!!u)||e))},[f,e,r,n,g,c,d,i,m,l,u]);let{update:v}=t;return(0,o.QR)(()=>{v?.()},[v]),{clickOutsideRef:(0,s.Wr)(()=>{f(!1)},{ignoreClass:"ignore-click-outside/toolbar"}),hidden:!l,props:{style:t.style},ref:t.refs.setFloating}},h=e=>{let t,r,i,o,l,p,f,h,g,m,v,y,b=(0,n.c)(26);b[0]!==e?({getBoundingClientRect:r,...t}=e,b[0]=e,b[1]=t,b[2]=r):(t=b[1],r=b[2]);let E=void 0===r?d:r;b[3]===Symbol.for("react.memo_cache_sentinel")?(i={getBoundingClientRect:d},b[3]=i):i=b[3];let S=a.useRef(i),[_,w]=a.useState(!0);b[4]!==t?(o={whileElementsMounted:u.ll,...t},b[4]=t,b[5]=o):o=b[5];let x=(0,c.we)(o),{middlewareData:k,refs:A,strategy:T,update:I,x:N,y:C}=x;b[6]!==E?(l=()=>{S.current.getBoundingClientRect=E},b[6]=E,b[7]=l):l=b[7],b[8]!==E||b[9]!==I?(p=[E,I],b[8]=E,b[9]=I,b[10]=p):p=b[10],(0,s.Es)(l,p),b[11]!==A?(f=()=>{A.setReference(S.current)},h=[A],b[11]=A,b[12]=f,b[13]=h):(f=b[12],h=b[13]),(0,s.Es)(f,h),b[14]!==k.hide?(g=()=>{if(!k?.hide)return;let{referenceHidden:e}=k.hide;w(!e)},m=[k.hide],b[14]=k.hide,b[15]=g,b[16]=m):(g=b[15],m=b[16]),(0,s.Es)(g,m);let O=!1===t.open?"none":void 0,R=N??0,P=C??0,L=_?void 0:"hidden";return b[17]!==T||b[18]!==O||b[19]!==R||b[20]!==P||b[21]!==L?(v={display:O,left:R,position:T,top:P,visibility:L},b[17]=T,b[18]=O,b[19]=R,b[20]=P,b[21]=L,b[22]=v):v=b[22],b[23]!==x||b[24]!==v?(y={...x,style:v,virtualElementRef:S},b[23]=x,b[24]=v,b[25]=y):y=b[25],y},g=e=>{if(e.api.isExpanded()){var t=e.selection;if(!t)return d();let r=e.api.toDOMRange(t);return r?r.getBoundingClientRect():d()}return d()}},262608:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("PaintBucket",[["path",{d:"m19 11-8-8-8.6 8.6a2 2 0 0 0 0 2.8l5.2 5.2c.8.8 2 .8 2.8 0L19 11Z",key:"irua1i"}],["path",{d:"m5 2 5 5",key:"1lls2c"}],["path",{d:"M2 13h15",key:"1hkzvu"}],["path",{d:"M22 20a2 2 0 1 1-4 0c0-1.6 1.7-2.4 2-4 .3 1.6 2 2.4 2 4Z",key:"xk76lq"}]])},264968:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]])},265118:(e,t,r)=>{"use strict";r.d(t,{A:()=>B});var n=r(784124),a=r(263239),i=r(411337),o=r(635417),l=r(770018),s=r(413407),u=r(1364),c=r.n(u);function d(){return{width:document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight}}var p=r(992225),f=r(52515),h=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],g=f.createContext(null),m=0;function v(e){var t=e.src,r=e.isCustomPlaceholder,n=e.fallback,a=(0,f.useState)(r?"loading":"normal"),i=(0,o.A)(a,2),l=i[0],s=i[1],u=(0,f.useRef)(!1),c="error"===l;(0,f.useEffect)(function(){var e=!0;return new Promise(function(e){var r=document.createElement("img");r.onerror=function(){return e(!1)},r.onload=function(){return e(!0)},r.src=t}).then(function(t){!t&&e&&s("error")}),function(){e=!1}},[t]),(0,f.useEffect)(function(){r&&!u.current?s("loading"):c&&s("normal")},[t]);var d=function(){s("normal")};return[function(e){u.current=!1,"loading"===l&&null!=e&&e.complete&&(e.naturalWi
1dth||e.naturalHeight)&&(u.current=!0,d())},c&&n?{src:n}:{onLoad:d,src:t},l]}var y=r(591716),b=r(442418);function E(e,t,r,n){var a=b.unstable_batchedUpdates?function(e){b.unstable_batchedUpdates(r,e)}:r;return null!=e&&e.addEventListener&&e.addEventListener(t,a,n),{remove:function(){null!=e&&e.removeEventListener&&e.removeEventListener(t,a,n)}}}var S=r(727755),_=r(973941);function w(e,t,r,n){var a=t+r,o=(r-n)/2;if(r>n){if(t>0)return(0,i.A)({},e,o);if(t<0&&a<n)return(0,i.A)({},e,-o)}else if(t<0||a>n)return(0,i.A)({},e,t<0?o:-o);return{}}var x=r(965867);let k=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=new Set;return function e(t,a){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=n.has(t);if((0,_.Ay)(!o,"Warning: There may be circular references"),o)return!1;if(t===a)return!0;if(r&&i>1)return!1;n.add(t);var l=i+1;if(Array.isArray(t)){if(!Array.isArray(a)||t.length!==a.length)return!1;for(var s=0;s<t.length;s++)if(!e(t[s],a[s],l))return!1;return!0}if(t&&a&&"object"===(0,x.A)(t)&&"object"===(0,x.A)(a)){var u=Object.keys(t);return u.length===Object.keys(a).length&&u.every(function(r){return e(t[r],a[r],l)})}return!1}(e,t)};var A=r(720624),T={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1},I=r(411568),N=r(211780);let C=function(e){var t=e.visible,r=e.maskTransitionName,n=e.getContainer,o=e.prefixCls,l=e.rootClassName,s=e.icons,u=e.countRender,d=e.showSwitch,p=e.showProgress,h=e.current,m=e.transform,v=e.count,y=e.scale,b=e.minScale,E=e.maxScale,_=e.closeIcon,w=e.onSwitchLeft,x=e.onSwitchRight,k=e.onClose,A=e.onZoomIn,T=e.onZoomOut,C=e.onRotateRight,O=e.onRotateLeft,R=e.onFlipX,P=e.onFlipY,L=e.toolbarRender,D=(0,f.useContext)(g),M=s.rotateLeft,F=s.rotateRight,j=s.zoomIn,U=s.zoomOut,z=s.close,B=s.left,$=s.right,H=s.flipX,G=s.flipY,q="".concat(o,"-operations-operation");f.useEffect(function(){var e=function(e){e.keyCode===S.A.ESC&&k()};return t&&window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}},[t]);var V=[{icon:G,onClick:P,type:"flipY"},{icon:H,onClick:R,type:"flipX"},{icon:M,onClick:O,type:"rotateLeft"},{icon:F,onClick:C,type:"rotateRight"},{icon:U,onClick:T,type:"zoomOut",disabled:y===b},{icon:j,onClick:A,type:"zoomIn",disabled:y===E}].map(function(e){var t,r=e.icon,n=e.onClick,a=e.type,l=e.disabled;return f.createElement("div",{className:c()(q,(t={},(0,i.A)(t,"".concat(o,"-operations-operation-").concat(a),!0),(0,i.A)(t,"".concat(o,"-operations-operation-disabled"),!!l),t)),onClick:n,key:a},r)}),K=f.createElement("div",{className:"".concat(o,"-operations")},V);return f.createElement(N.Ay,{visible:t,motionName:r},function(e){var t=e.className,r=e.style;return f.createElement(I.A,{open:!0,getContainer:null!=n?n:document.body},f.createElement("div",{className:c()("".concat(o,"-operations-wrapper"),t,l),style:r},null===_?null:f.createElement("button",{className:"".concat(o,"-close"),onClick:k},_||z),d&&f.createElement(f.Fragment,null,f.createElement("div",{className:c()("".concat(o,"-switch-left"),(0,i.A)({},"".concat(o,"-switch-left-disabled"),0===h)),onClick:w},B),f.createElement("div",{className:c()("".concat(o,"-switch-right"),(0,i.A)({},"".concat(o,"-switch-right-disabled"),h===v-1)),onClick:x},$)),f.createElement("div",{className:"".concat(o,"-footer")},p&&f.createElement("div",{className:"".concat(o,"-progress")},u?u(h+1,v):"".concat(h+1," / ").concat(v)),L?L(K,(0,a.A)({icons:{flipYIcon:V[0],flipXIcon:V[1],rotateLeftIcon:V[2],rotateRightIcon:V[3],zoomOutIcon:V[4],zoomInIcon:V[5]},actions:{onFlipY:P,onFlipX:R,onRotateLeft:O,onRotateRight:C,onZoomOut:T,onZoomIn:A},transform:m},D?{current:h,total:v}:{})):K)))})};var O=["fallback","src","imgRef"],R=["prefixCls","src","alt","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],P=function(e){var t=e.fallback,r=e.src,a=e.imgRef,i=(0,s.A)(e,O),l=v({src:r,fallback:t}),u=(0,o.A)(l,2),c=u[0],d=u[1];return f.createElement("img",(0,n.A)({ref:function(e){a.current=e,c(e)}},i,d))};let L=function(e){var t,r,l,u,p,h,m,v=e.prefixCls,b=e.src,x=e.alt,I=e.fallback,N=e.movable,O=void 0===N||N,L=e.onClose,D=e.visible,M=e.icons,F=e.rootClassName,j=e.closeIcon,U=e.getContainer,z=e.current,B=void 0===z?0:z,$=e.count,H=void 0===$?1:$,G=e.countRender,q=e.scaleStep,V=void 0===q?.5:q,K=e.minScale,Y=void 0===K?1:K,W=e.maxScale,Z=void 0===W?50:W,X=e.transitionName,Q=e.maskTransitionName,J=void 0===Q?"fade":Q,ee=e.imageRender,et=e.imgCommonProps,er=e.toolbarRender,en=e.onTransform,ea=e.onChange,ei=(0,s.A)(e,R),eo=(0,f.useRef)(),el=(0,f.useRef)({deltaX:0,deltaY:0,transformX:0,transformY:0}
1),es=(0,f.useState)(!1),eu=(0,o.A)(es,2),ec=eu[0],ed=eu[1],ep=(0,f.useContext)(g),ef=ep&&H>1,eh=ep&&H>=1,eg=(t=(0,f.useRef)(null),r=(0,f.useRef)([]),l=(0,f.useState)(T),p=(u=(0,o.A)(l,2))[0],h=u[1],m=function(e,n){null===t.current&&(r.current=[],t.current=(0,A.A)(function(){h(function(e){var i=e;return r.current.forEach(function(e){i=(0,a.A)((0,a.A)({},i),e)}),t.current=null,null==en||en({transform:i,action:n}),i})})),r.current.push((0,a.A)((0,a.A)({},p),e))},{transform:p,resetTransform:function(e){h(T),en&&!k(T,p)&&en({transform:T,action:e})},updateTransform:m,dispatchZoomChange:function(e,t,r,n){var a=eo.current,i=a.width,o=a.height,l=a.offsetWidth,s=a.offsetHeight,u=a.offsetLeft,c=a.offsetTop,f=e,h=p.scale*e;h>Z?(f=Z/p.scale,h=Z):h<Y&&(f=Y/p.scale,h=Y);var g=null!=n?n:innerHeight/2,v=f-1,y=v*((null!=r?r:innerWidth/2)-p.x-u),b=v*(g-p.y-c),E=p.x-(y-v*i*.5),S=p.y-(b-v*o*.5);if(e<1&&1===h){var _=l*h,w=s*h,x=d(),k=x.width,A=x.height;_<=k&&w<=A&&(E=0,S=0)}m({x:E,y:S,scale:h},t)}}),em=eg.transform,ev=eg.resetTransform,ey=eg.updateTransform,eb=eg.dispatchZoomChange,eE=(0,f.useState)(!0),eS=(0,o.A)(eE,2),e_=eS[0],ew=eS[1],ex=em.rotate,ek=em.scale,eA=em.x,eT=em.y,eI=c()((0,i.A)({},"".concat(v,"-moving"),ec));(0,f.useEffect)(function(){e_||ew(!0)},[e_]);var eN=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),B>0&&(ew(!1),ev("prev"),null==ea||ea(B-1,B))},eC=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),B<H-1&&(ew(!1),ev("next"),null==ea||ea(B+1,B))},eO=function(){if(D&&ec){ed(!1);var e=el.current,t=e.transformX,r=e.transformY;if(eA!==t&&eT!==r){var n,i,o,l,s,u,c=eo.current.offsetWidth*ek,p=eo.current.offsetHeight*ek,f=eo.current.getBoundingClientRect(),h=f.left,g=f.top,m=ex%180!=0,v=(n=m?p:c,i=m?c:p,l=(o=d()).width,s=o.height,u=null,n<=l&&i<=s?u={x:0,y:0}:(n>l||i>s)&&(u=(0,a.A)((0,a.A)({},w("x",h,n,l)),w("y",g,i,s))),u);v&&ey((0,a.A)({},v),"dragRebound")}}},eR=function(e){D&&ec&&ey({x:e.pageX-el.current.deltaX,y:e.pageY-el.current.deltaY},"move")},eP=function(e){D&&ef&&(e.keyCode===S.A.LEFT?eN():e.keyCode===S.A.RIGHT&&eC())};(0,f.useEffect)(function(){var e,t,r,n;if(O){r=E(window,"mouseup",eO,!1),n=E(window,"mousemove",eR,!1);try{window.top!==window.self&&(e=E(window.top,"mouseup",eO,!1),t=E(window.top,"mousemove",eR,!1))}catch(e){(0,_.$e)(!1,"[rc-image] ".concat(e))}}return function(){var a,i,o,l;null==(a=r)||a.remove(),null==(i=n)||i.remove(),null==(o=e)||o.remove(),null==(l=t)||l.remove()}},[D,ec,eA,eT,ex,O]),(0,f.useEffect)(function(){var e=E(window,"keydown",eP,!1);return function(){e.remove()}},[D,ef,B]);var eL=f.createElement(P,(0,n.A)({},et,{width:e.width,height:e.height,imgRef:eo,className:"".concat(v,"-img"),alt:x,style:{transform:"translate3d(".concat(em.x,"px, ").concat(em.y,"px, 0) scale3d(").concat(em.flipX?"-":"").concat(ek,", ").concat(em.flipY?"-":"").concat(ek,", 1) rotate(").concat(ex,"deg)"),transitionDuration:!e_&&"0s"},fallback:I,src:b,onWheel:function(e){if(D&&0!=e.deltaY){var t=1+Math.min(Math.abs(e.deltaY/100),1)*V;e.deltaY>0&&(t=1/t),eb(t,"wheel",e.clientX,e.clientY)}},onMouseDown:function(e){O&&0===e.button&&(e.preventDefault(),e.stopPropagation(),el.current={deltaX:e.pageX-em.x,deltaY:e.pageY-em.y,transformX:em.x,transformY:em.y},ed(!0))},onDoubleClick:function(e){D&&(1!==ek?ey({x:0,y:0,scale:1},"doubleClick"):eb(1+V,"doubleClick",e.clientX,e.clientY))}}));return f.createElement(f.Fragment,null,f.createElement(y.A,(0,n.A)({transitionName:void 0===X?"zoom":X,maskTransitionName:J,closable:!1,keyboard:!0,prefixCls:v,onClose:L,visible:D,classNames:{wrapper:eI},rootClassName:F,getContainer:U},ei,{afterClose:function(){ev("close")}}),f.createElement("div",{className:"".concat(v,"-img-wrapper")},ee?ee(eL,(0,a.A)({transform:em},ep?{current:B}:{})):eL)),f.createElement(C,{visible:D,transform:em,maskTransitionName:J,closeIcon:j,getContainer:U,prefixCls:v,rootClassName:F,icons:void 0===M?{}:M,countRender:G,showSwitch:ef,showProgress:eh,current:B,count:H,scale:ek,minScale:Y,maxScale:Z,toolbarRender:er,onSwitchLeft:eN,onSwitchRight:eC,onZoomIn:function(){eb(1+V,"zoomIn")},onZoomOut:function(){eb(1/(1+V),"zoomOut")},onRotateRight:function(){ey({rotate:ex+90},"rotateRight")},onRotateLeft:function(){ey({rotate:ex-90},"rotateLeft")},onFlipX:function(){ey({flipX:!em.flipX},"flipX")},onFlipY:function(){ey({flipY:!em.flipY},"flipY")},onClose:L}))};var D=r(802663),M=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],F=["src"],j=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],U=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","
1imageRender","toolbarRender"],z=function(e){var t,r,u,d,y=e.src,b=e.alt,E=e.onPreviewClose,S=e.prefixCls,_=void 0===S?"rc-image":S,w=e.previewPrefixCls,x=void 0===w?"".concat(_,"-preview"):w,k=e.placeholder,A=e.fallback,T=e.width,I=e.height,N=e.style,C=e.preview,O=void 0===C||C,R=e.className,P=e.onClick,D=e.onError,M=e.wrapperClassName,F=e.wrapperStyle,z=e.rootClassName,B=(0,s.A)(e,j),$="object"===(0,l.A)(O)?O:{},H=$.src,G=$.visible,q=void 0===G?void 0:G,V=$.onVisibleChange,K=$.getContainer,Y=$.mask,W=$.maskClassName,Z=$.movable,X=$.icons,Q=$.scaleStep,J=$.minScale,ee=$.maxScale,et=$.imageRender,er=$.toolbarRender,en=(0,s.A)($,U),ea=null!=H?H:y,ei=(0,p.A)(!!q,{value:q,onChange:void 0===V?E:V}),eo=(0,o.A)(ei,2),el=eo[0],es=eo[1],eu=v({src:y,isCustomPlaceholder:k&&!0!==k,fallback:A}),ec=(0,o.A)(eu,3),ed=ec[0],ep=ec[1],ef=ec[2],eh=(0,f.useState)(null),eg=(0,o.A)(eh,2),em=eg[0],ev=eg[1],ey=(0,f.useContext)(g),eb=!!O,eE=c()(_,M,z,(0,i.A)({},"".concat(_,"-error"),"error"===ef)),eS=(0,f.useMemo)(function(){var t={};return h.forEach(function(r){void 0!==e[r]&&(t[r]=e[r])}),t},h.map(function(t){return e[t]})),e_=(0,f.useMemo)(function(){return(0,a.A)((0,a.A)({},eS),{},{src:ea})},[ea,eS]),ew=(t=f.useState(function(){return String(m+=1)}),r=(0,o.A)(t,1)[0],u=f.useContext(g),d={data:e_,canPreview:eb},f.useEffect(function(){if(u)return u.register(r,d)},[]),f.useEffect(function(){u&&u.register(r,d)},[eb,e_]),r);return f.createElement(f.Fragment,null,f.createElement("div",(0,n.A)({},B,{className:eE,onClick:eb?function(e){var t,r,n=(t=e.target.getBoundingClientRect(),r=document.documentElement,{left:t.left+(window.pageXOffset||r.scrollLeft)-(r.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||r.scrollTop)-(r.clientTop||document.body.clientTop||0)}),a=n.left,i=n.top;ey?ey.onPreview(ew,a,i):(ev({x:a,y:i}),es(!0)),null==P||P(e)}:P,style:(0,a.A)({width:T,height:I},F)}),f.createElement("img",(0,n.A)({},eS,{className:c()("".concat(_,"-img"),(0,i.A)({},"".concat(_,"-img-placeholder"),!0===k),R),style:(0,a.A)({height:I},N),ref:ed},ep,{width:T,height:I,onError:D})),"loading"===ef&&f.createElement("div",{"aria-hidden":"true",className:"".concat(_,"-placeholder")},k),Y&&eb&&f.createElement("div",{className:c()("".concat(_,"-mask"),W),style:{display:(null==N?void 0:N.display)==="none"?"none":void 0}},Y)),!ey&&eb&&f.createElement(L,(0,n.A)({"aria-hidden":!el,visible:el,prefixCls:x,onClose:function(){es(!1),ev(null)},mousePosition:em,src:ea,alt:b,fallback:A,getContainer:void 0===K?void 0:K,icons:X,movable:Z,scaleStep:Q,minScale:J,maxScale:ee,rootClassName:z,imageRender:et,imgCommonProps:eS,toolbarRender:er},en)))};z.PreviewGroup=function(e){var t,r,u,c,d,m,v=e.previewPrefixCls,y=e.children,b=e.icons,E=e.items,S=e.preview,_=e.fallback,w="object"===(0,l.A)(S)?S:{},x=w.visible,k=w.onVisibleChange,A=w.getContainer,T=w.current,I=w.movable,N=w.minScale,C=w.maxScale,O=w.countRender,R=w.closeIcon,P=w.onChange,j=w.onTransform,U=w.toolbarRender,z=w.imageRender,B=(0,s.A)(w,M),$=(t=f.useState({}),u=(r=(0,o.A)(t,2))[0],c=r[1],d=f.useCallback(function(e,t){return c(function(r){return(0,a.A)((0,a.A)({},r),{},(0,i.A)({},e,t))}),function(){c(function(t){var r=(0,a.A)({},t);return delete r[e],r})}},[]),[f.useMemo(function(){return E?E.map(function(e){if("string"==typeof e)return{data:{src:e}};var t={};return Object.keys(e).forEach(function(r){["src"].concat((0,D.A)(h)).includes(r)&&(t[r]=e[r])}),{data:t}}):Object.keys(u).reduce(function(e,t){var r=u[t],n=r.canPreview,a=r.data;return n&&e.push({data:a,id:t}),e},[])},[E,u]),d]),H=(0,o.A)($,2),G=H[0],q=H[1],V=(0,p.A)(0,{value:T}),K=(0,o.A)(V,2),Y=K[0],W=K[1],Z=(0,f.useState)(!1),X=(0,o.A)(Z,2),Q=X[0],J=X[1],ee=(null==(m=G[Y])?void 0:m.data)||{},et=ee.src,er=(0,s.A)(ee,F),en=(0,p.A)(!!x,{value:x,onChange:function(e,t){null==k||k(e,t,Y)}}),ea=(0,o.A)(en,2),ei=ea[0],eo=ea[1],el=(0,f.useState)(null),es=(0,o.A)(el,2),eu=es[0],ec=es[1],ed=f.useCallback(function(e,t,r){var n=G.findIndex(function(t){return t.id===e});eo(!0),ec({x:t,y:r}),W(n<0?0:n),J(!0)},[G]);f.useEffect(function(){ei?Q||W(0):J(!1)},[ei]);var ep=f.useMemo(function(){return{register:q,onPreview:ed}},[q,ed]);return f.createElement(g.Provider,{value:ep},y,f.createElement(L,(0,n.A)({"aria-hidden":!ei,movable:I,visible:ei,prefixCls:void 0===v?"rc-image-preview":v,closeIcon:R,onClose:function(){eo(!1),ec(null)},mousePosition:eu,imgCommonProps:er,src:et,fallback:_,icons:void 0===b?{}:b,minScale:N,maxScale:C,getContainer:A,current:Y,count:G.length,countRender:O,onTransform:j,toolbarRender:U,imageRender:z,onChange:function(e,t){W(e),null==P||P(e,t)}},B)))},z.displayName="Image";let B=z},266852:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]])},274252:e=>{e.exports={style:{fontFamily:"'Roboto', 'Roboto Fallback'",fontStyle:"normal"},className:"__className_0725f5"}},274735:(e,t,r)=>{"use strict";r.d(t,{Am:()=>m,Wc:()=>_});var n=r(708901),a=r(54748),i=r(377894),o=r(842676),l=r(164530),s=r(451016),u=r(247375),c=r(774850),d=r(302759),p=r(52515),f=(0,d.nr)(),h=["text","search","url","tel","email","password","number","date","month","week","time","datetime","datetime-local"],g=Symbol("safariFocusAncestor");function m(e){return!!e&&!!e[g]}function v(e){return"input"===e.tagName.toLowerCase()&&!!e.type&&("radio"===e.type||"checkbox"===e.type)}function y(e,t){return(0,i._q)(r=>{null==e||e(r),!r.defaultPrevented&&t&&(r.stopPropagation(),r.preventDefault())})}var b=!0;function E(e){let t=e.target;t&&"hasAttribute"in t&&!t.hasAttribute("data-focus-visible")&&(b=!1)}function S(e){e.metaKey||e.ctrlKey||e.altKey||(b=!0)}var _=(0,a.ab)(function(e){var t,r,a,d,m,{focusable:_=!0,accessibleWhenDisabled:w,autoFocus:x,onFocusVisible:k}=e,A=(0,o.YG)(e,["focusable","accessibleWhenDisabled","autoFocus","onFocusVisible"]);let T=(0,p.useRef)(null);(0,p.useEffect)(()=>{_&&((0,s.dg)("mousedown",E,!0),(0,s.dg)("keydown",S,!0))},[_]),f&&(0,p.useEffect)(()=>
1{if(!_)return;let e=T.current;if(!e||!v(e))return;let t="labels"in e?e.labels:null;if(!t)return;let r=()=>queueMicrotask(()=>e.focus());for(let e of t)e.addEventListener("mouseup",r);return()=>{for(let e of t)e.removeEventListener("mouseup",r)}},[_]);let I=_&&(0,c.$f)(A),N=!!I&&!w,[C,O]=(0,p.useState)(!1);(0,p.useEffect)(()=>{_&&N&&C&&O(!1)},[_,N,C]),(0,p.useEffect)(()=>{if(!_||!C)return;let e=T.current;if(!e||"u"<typeof IntersectionObserver)return;let t=new IntersectionObserver(()=>{(0,u.tp)(e)||O(!1)});return t.observe(e),()=>t.disconnect()},[_,C]);let R=y(A.onKeyPressCapture,I),P=y(A.onMouseDownCapture,I),L=y(A.onClickCapture,I),D=A.onMouseDown,M=(0,i._q)(e=>{if(null==D||D(e),e.defaultPrevented||!_)return;let t=e.currentTarget;if(!f||(0,s.ho)(e)||!(0,l.Bm)(t)&&!v(t))return;let r=!1,n=()=>{r=!0};t.addEventListener("focusin",n,{capture:!0,once:!0});let a=(0,u.UK)(t.parentElement);a&&(a[g]=!0),(0,s.nz)(t,"mouseup",()=>{t.removeEventListener("focusin",n,!0),a&&(a[g]=!1),r||(0,u.do)(t)})}),F=(e,t)=>{if(t&&(e.currentTarget=t),!_)return;let r=e.currentTarget;r&&(0,u.AJ)(r)&&(null==k||k(e),e.defaultPrevented||(r.dataset.focusVisible="true",O(!0)))},j=A.onKeyDownCapture,U=(0,i._q)(e=>{if(null==j||j(e),e.defaultPrevented||!_||C||e.metaKey||e.altKey||e.ctrlKey||!(0,s.uh)(e))return;let t=e.currentTarget;(0,s.nz)(t,"focusout",()=>F(e,t))}),z=A.onFocusCapture,B=(0,i._q)(e=>{if(null==z||z(e),e.defaultPrevented||!_)return;if(!(0,s.uh)(e))return void O(!1);let t=e.currentTarget;b||function(e){let{tagName:t,readOnly:r,type:n}=e;return"TEXTAREA"===t&&!r||"SELECT"===t&&!r||("INPUT"!==t||r?!!e.isContentEditable||"combobox"===e.getAttribute("role")&&!!e.dataset.name:h.includes(n))}(e.target)?(0,s.nz)(e.target,"focusout",()=>F(e,t)):O(!1)}),$=A.onBlur,H=(0,i._q)(e=>{null==$||$(e),!_||(0,s.aG)(e)&&O(!1)}),G=(0,p.useContext)(n.g),q=(0,i._q)(e=>{_&&x&&e&&G&&queueMicrotask(()=>{(0,u.AJ)(e)||(0,u.tp)(e)&&e.focus()})}),V=(0,i.vO)(T),K=_&&(!V||"button"===V||"summary"===V||"input"===V||"select"===V||"textarea"===V||"a"===V),Y=_&&(!V||"button"===V||"input"===V||"select"===V||"textarea"===V),W=A.style,Z=(0,p.useMemo)(()=>N?(0,o.IA)({pointerEvents:"none"},W):W,[N,W]);return A=(0,o.ko)((0,o.IA)({"data-focus-visible":_&&C||void 0,"data-autofocus":x||void 0,"aria-disabled":I||void 0},A),{ref:(0,i.SV)(T,q,A.ref),style:Z,tabIndex:(t=_,r=N,a=K,d=Y,m=A.tabIndex,t?r?a&&!d?-1:void 0:a?m:m||0:m),disabled:!!Y&&!!N||void 0,contentEditable:I?void 0:A.contentEditable,onKeyPressCapture:R,onClickCapture:L,onMouseDownCapture:P,onMouseDown:M,onKeyDownCapture:U,onFocusCapture:B,onBlur:H}),(0,c.HR)(A)});(0,a.Rf)(function(e){let t=_(e);return(0,a.n)("div",t)})},283936:()=>{!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,function(e,r){return"(?:"+t[+r]+")"})}function r(e,r,n){return RegExp(t(e,r),n||"")}function n(e,t){for(var r=0;r<t;r++)e=e.replace(/<<self>>/g,function(){return"(?:"+e+")"});return e.replace(/<<self>>/g,"[^\\s\\S]")}var a="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",i="class enum interface record struct",o="add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",l="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function s(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var u=s(i),c=RegExp(s(a+" "+i+" "+o+" "+l)),d=s(i+" "+o+" "+l),p=s(a+" "+i+" "+l),f=n(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),h=n(/\((?:[^()]|<<self>>)*\)/.source,2),g=/@?\b[A-Za-z_]\w*\b/.source,m=t(/<<0>>(?:\s*<<1>>)?/.source,[g,f]),v=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[d,m]),y=/\[\s*(?:,\s*)*\]/.source,b=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[v,y]),E=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[f,h,y]),S=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[E]),_=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[S,v,y]),w={keyword:c,punctuation:/[<>()?,.:[\]]/},x=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,k=/"(?:\\.|[^\\"\r\n])*"/.source,A=/@"(?:""|\\[\s\S]|[^\\"])
vendor: 4,129 bytes, line 1
1*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:r(/(^|[^$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0},{pattern:r(/(^|[^@$\\])<<0>>/.source,[k]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:r(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[v]),lookbehind:!0,inside:w},{pattern:r(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[g,_]),lookbehind:!0,inside:w},{pattern:r(/(\busing\s+)<<0>>(?=\s*=)/.source,[g]),lookbehind:!0},{pattern:r(/(\b<<0>>\s+)<<1>>/.source,[u,m]),lookbehind:!0,inside:w},{pattern:r(/(\bcatch\s*\(\s*)<<0>>/.source,[v]),lookbehind:!0,inside:w},{pattern:r(/(\bwhere\s+)<<0>>/.source,[g]),lookbehind:!0},{pattern:r(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[b]),lookbehind:!0,inside:w},{pattern:r(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[_,p,g]),inside:w}],keyword:c,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:r(/([(,]\s*)<<0>>(?=\s*:)/.source,[g]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:r(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[g]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:r(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[h]),lookbehind:!0,alias:"class-name",inside:w},"return-type":{pattern:r(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[_,v]),inside:w,alias:"class-name"},"constructor-invocation":{pattern:r(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[_]),lookbehind:!0,inside:w,alias:"class-name"},"generic-method":{pattern:r(/<<0>>\s*<<1>>(?=\s*\()/.source,[g,f]),inside:{function:r(/^<<0>>/.source,[g]),generic:{pattern:RegExp(f),alias:"class-name",inside:w}}},"type-list":{pattern:r(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[u,m,g,_,c.source,h,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:r(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[m,h]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:c,"class-name":{pattern:RegExp(_),greedy:!0,inside:w},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var T=k+"|"+x,I=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[T]),N=n(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[I]),2),C=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,O=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[v,N]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:r(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[C,O]),lookbehind:!0,greedy:!0,inside:{target:{pattern:r(/^<<0>>(?=\s*:)/.source,[C]),alias:"keyword"},"attribute-arguments":{pattern:r(/\(<<0>>*\)/.source,[N]),inside:e.languages.csharp},"class-name":{pattern:RegExp(v),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var R=/:[^}\r\n]+/.source,P=n(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[I]),2),L=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[P,R]),D=n(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[T]),2),M=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[D,R]);function F(t,n){return{interpolation:{pattern:r(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:r(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[n,R]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}}
1,string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:r(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[L]),lookbehind:!0,greedy:!0,inside:F(L,P)},{pattern:r(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[M]),lookbehind:!0,greedy:!0,inside:F(M,D)}],char:{pattern:RegExp(x),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(Prism)},284334:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("Combine",[["path",{d:"M10 18H5a3 3 0 0 1-3-3v-1",key:"ru65g8"}],["path",{d:"M14 2a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2",key:"e30een"}],["path",{d:"M20 2a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2",key:"2ahx8o"}],["path",{d:"m7 21 3-3-3-3",key:"127cv2"}],["rect",{x:"14",y:"14",width:"8",height:"8",rx:"2",key:"1b0bso"}],["rect",{x:"2",y:"2",width:"8",height:"8",rx:"2",key:"1x09vl"}]])},284724:e=>{e.exports={root:"tweet-in-reply-to_root__iGP4e"}},290970:(e,t,r)=>{"use strict";r.d(t,{FL:()=>s,Q0:()=>o,im:()=>l});var n=r(778024),a=r(518583),i=r(878609);let o=(0,i.HS)(n.t),l=e=>{let t,r,o,l,s=(0,a.c)(8);s[0]!==e?(t=void 0===e?{}:e,s[0]=e,s[1]=t):t=s[1];let{nodeType:u}=t,c=void 0===u?n.M.Disc:u;s[2]!==c?(r=e=>(0,n.x)(e,c),o=[c],s[2]=c,s[3]=r,s[4]=o):(r=s[3],o=s[4]);let d=(0,i.QR)(r,o);return s[5]!==c||s[6]!==d?(l={nodeType:c,pressed:d},s[5]=c,s[6]=d,s[7]=l):l=s[7],l},s=e=>{let t,r,o=(0,a.c)(6),{nodeType:l,pressed:s}=e,c=(0,i.Q_)();return o[0]!==c||o[1]!==l?(t=()=>{(0,n.o)(c,{listStyleType:l})},o[0]=c,o[1]=l,o[2]=t):t=o[2],o[3]!==s||o[4]!==t?(r={props:{pressed:s,onClick:t,onMouseDown:u}},o[3]=s,o[4]=t,o[5]=r):r=o[5],r};function u(e){e.preventDefault()}},291007:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("MessageSquarePlus",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}],["path",{d:"M12 7v6",key:"lw1j43"}],["path",{d:"M9 10h6",key:"9gxzsh"}]])},295179:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("Superscript",[["path",{d:"m4 19 8-8",key:"hr47gm"}],["path",{d:"m12 19-8-8",key:"1dhhmo"}],["path",{d:"M20 12h-4c0-1.5.442-2 1.5-2.5S20 8.334 20 7.002c0-.472-.17-.93-.484-1.29a2.105 2.105 0 0 0-2.617-.436c-.42.239-.738.614-.899 1.06",key:"1dfcux"}]])},298807:(e,t,r)=>{var n,a,i=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,r=0,n={},a={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++r}),e.__id},clone:function e(t,r){var n,i;switch(r=r||{},a.util.type(t)){case"Object":if(r[i=a.util.objId(t)])return r[i];for(var o in n={},r[i]=n,t)t.hasOwnProperty(o)&&(n[o]=e(t[o],r));return n;case"Array":if(r[i=a.util.objId(t)])return r[i];return n=[],r[i]=n,t.forEach(function(t,a){n[a]=e(t,r)}),n;default:return t}},getLanguage:function(e){for(;e;){var r=t.exec(e.className);if(r)return r[1].toLowerCase();e=e.parentElement}return"none"},setLanguage:function(e,r){e.className=e.className.replace(RegExp(t,"gi"),""),e.classList.add("language-"+r)},currentScript:function(){if("u"<typeof document)return null;if(document.currentScript&&"SCRIPT"===document.currentScript.tagName&&1)return document.currentScript;try{throw Error()}catch(n){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(n.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var r in t)if(t[r].src==e)return t[r]}return null}},isActive:function(e,t,r){for(var n="no-"+t;e;){var a=e.classList;if(a.contains(t))return!0;if(a.contains(n))return!1;e=e.parentElement}return!!r}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(e,t){var r=a.util.clone(a.languages[e]);for(var n in t)r[n]=t[n];return r},insertBefore:function(e,t,r,n){var i=(n=n||a.languages)[e],o={};for(var l in i)if(i.hasOwnProperty(l)){if(l==t)for(var s in r)r.hasOwnProperty(s)&&(o[s]=r[s]);r.hasOwnProperty(l)||(o[l]=i[l])}var u=n[e];return n[e]=o,a.languages.DFS(a.languages,function(t,r){r===u&&t!=e&&(this[t]=o)}),o},DFS:function e(t,r,n,i){i=i||{};var o=a.util.objId;for(var l in t)if(t.hasOwnProperty(l)){r.call(t,l,t[l],n||l);var s=t[l],u=a.util.type(s);"Object"!==u||i[o(s)]?"Array"!==u||i[o(s)]||(i[o(s)]=!0,e(s,r,l,i)):(i[o(s)]=!0,e(s,r,null,i))}}},plugins:{},highlightAll:function(e,t){a.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,r){var n={callback:r,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};a.hooks.run("before-highlightall",n),n.elements=Array.prototype.slice.apply(n.container.querySelectorAll(n.selector)),a.hooks.run("before-all-elements-highlight",n);for(var i,o=0;i=n.elements[o++];)a.highlightElement(i,!0===t,n.callback)},highlightElement:function(t,r,n){var i=a.util.getLanguage(t),o=a.languages[i];a.util.setLanguage(t,i);var l=t.parentElement;
1l&&"pre"===l.nodeName.toLowerCase()&&a.util.setLanguage(l,i);var s=t.textContent,u={element:t,language:i,grammar:o,code:s};function c(e){u.highlightedCode=e,a.hooks.run("before-insert",u),u.element.innerHTML=u.highlightedCode,a.hooks.run("after-highlight",u),a.hooks.run("complete",u),n&&n.call(u.element)}if(a.hooks.run("before-sanity-check",u),(l=u.element.parentElement)&&"pre"===l.nodeName.toLowerCase()&&!l.hasAttribute("tabindex")&&l.setAttribute("tabindex","0"),!u.code){a.hooks.run("complete",u),n&&n.call(u.element);return}if(a.hooks.run("before-highlight",u),!u.grammar)return void c(a.util.encode(u.code));if(r&&e.Worker){var d=new Worker(a.filename);d.onmessage=function(e){c(e.data)},d.postMessage(JSON.stringify({language:u.language,code:u.code,immediateClose:!0}))}else c(a.highlight(u.code,u.grammar,u.language))},highlight:function(e,t,r){var n={code:e,grammar:t,language:r};if(a.hooks.run("before-tokenize",n),!n.grammar)throw Error('The language "'+n.language+'" has no grammar.');return n.tokens=a.tokenize(n.code,n.grammar),a.hooks.run("after-tokenize",n),i.stringify(a.util.encode(n.tokens),n.language)},tokenize:function(e,t){var r=t.rest;if(r){for(var n in r)t[n]=r[n];delete t.rest}var u=new l;return s(u,u.head,e),function e(t,r,n,l,u,c){for(var d in n)if(n.hasOwnProperty(d)&&n[d]){var p=n[d];p=Array.isArray(p)?p:[p];for(var f=0;f<p.length;++f){if(c&&c.cause==d+","+f)return;
1var h=p[f],g=h.inside,m=!!h.lookbehind,v=!!h.greedy,y=h.alias;if(v&&!h.pattern.global){var b=h.pattern.toString().match(/[imsuy]*$/)[0];h.pattern=RegExp(h.pattern.source,b+"g")}for(var E=h.pattern||h,S=l.next,_=u;S!==r.tail&&(!c||!(_>=c.reach));_+=S.value.length,S=S.next){var w,x=S.value;if(r.length>t.length)return;if(!(x instanceof i)){var k=1;if(v){if(!(w=o(E,_,t,m))||w.index>=t.length)break;var A=w.index,T=w.index+w[0].length,I=_;for(I+=S.value.length;A>=I;)I+=(S=S.next).value.length;if(I-=S.value.length,_=I,S.value instanceof i)continue;for(var N=S;N!==r.tail&&(I<T||"string"==typeof N.value);N=N.next)k++,I+=N.value.length;k--,x=t.slice(_,I),w.index-=_}else if(!(w=o(E,0,x,m)))continue;var A=w.index,C=w[0],O=x.slice(0,A),R=x.slice(A+C.length),P=_+x.length;c&&P>c.reach&&(c.reach=P);var L=S.prev;if(O&&(L=s(r,L,O),_+=O.length),function(e,t,r){for(var n=t.next,a=0;a<r&&n!==e.tail;a++)n=n.next;t.next=n,n.prev=t,e.length-=a}(r,L,k),S=s(r,L,new i(d,g?a.tokenize(C,g):C,y,C)),R&&s(r,S,R),k>1){var D={cause:d+","+f,reach:P};e(t,r,n,S.prev,_,D),c&&D.reach>c.reach&&(c.reach=D.reach)}}}}}}(e,u,t,u.head,0),function(e){for(var t=[],r=e.head.next;r!==e.tail;)t.push(r.value),r=r.next;return t}(u)},hooks:{all:{},add:function(e,t){var r=a.hooks.all;r[e]=r[e]||[],r[e].push(t)},run:function(e,t){var r=a.hooks.all[e];if(r&&r.length)for(var n,i=0;n=r[i++];)n(t)}},Token:i};function i(e,t,r,n){this.type=e,this.content=t,this.alias=r,this.length=0|(n||"").length}function o(e,t,r,n){e.lastIndex=t;var a=e.exec(r);if(a&&n&&a[1]){var i=a[1].length;a.index+=i,a[0]=a[0].slice(i)}return a}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function s(e,t,r){var n=t.next,a={value:r,prev:t,next:n};return t.next=a,n.prev=a,e.length++,a}if(e.Prism=a,i.stringify=function e(t,r){if("string"==typeof t)return t;if(Array.isArray(t)){var n="";return t.forEach(function(t){n+=e(t,r)}),n}var i={type:t.type,content:e(t.content,r),tag:"span",classes:["token",t.type],attributes:{},language:r},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(i.classes,o):i.classes.push(o)),a.hooks.run("wrap",i);var l="";for(var s in i.attributes)l+=" "+s+'="'+(i.attributes[s]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+l+">"+i.content+"</"+i.tag+">"},!e.document)return e.addEventListener&&(a.disableWorkerMessageHandler||e.addEventListener("message",function(t){var r=JSON.parse(t.data),n=r.language,i=r.code,o=r.immediateClose;e.postMessage(a.highlight(i,a.languages[n],n)),o&&e.close()},!1)),a;var u=a.util.currentScript();function c(){a.manual||a.highlightAll()}if(u&&(a.filename=u.src,u.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var d=document.readyState;"loading"===d||"interactive"===d&&u&&u.defer?document.addEventListener("DOMContentLoaded",c):window.requestAnimationFrame?window.requestAnimationFrame(c):window.setTimeout(c,16)}return a}("u">typeof window?window:"u">typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=i),void 0!==r.g&&(r.g.Prism=i),i.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},i.languages.markup.tag.inside["attr-value"].inside.entity=i.languages.markup.entity,i.languages.markup.doctype.inside["internal-subset"].inside=i.languages.markup,i.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(i.languages.markup.tag,"addInlined",{value:function(e,t){var r={};r["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:i.languages[t]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var n={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};n["language-"+t]={pattern:/[\s\S]+/,inside:i.languages[t]};var a={};a[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:n},i.languages.insertBefore("markup","cdata",a)}}),Object.defineProperty(i.languages.markup.tag,"addAttribute",{value:function(e,t){i.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\
1s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:i.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),i.languages.html=i.languages.markup,i.languages.mathml=i.languages.markup,i.languages.svg=i.languages.markup,i.languages.xml=i.languages.extend("markup",{}),i.languages.ssml=i.languages.xml,i.languages.atom=i.languages.xml,i.languages.rss=i.languages.xml,n=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,i.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+n.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+n.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+n.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+n.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:n,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},i.languages.css.atrule.inside.rest=i.languages.css,(a=i.languages.markup)&&(a.tag.addInlined("style","css"),a.tag.addAttribute("style","css")),i.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},i.languages.javascript=i.languages.extend("clike",{"class-name":[i.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source)+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),i.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,i.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}
1/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:i.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:i.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:i.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:i.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:i.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),i.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:i.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),i.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),i.languages.markup&&(i.languages.markup.tag.addInlined("script","javascript"),i.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),i.languages.js=i.languages.javascript,function(){if(void 0!==i&&"u">typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},t="data-src-status",r="loading",n="loaded",a="pre[data-src]:not(["+t+'="'+n+'"]):not(['+t+'="'+r+'"])';i.hooks.add("before-highlightall",function(e){e.selector+=", "+a}),i.hooks.add("before-sanity-check",function(o){var l=o.element;if(l.matches(a)){o.code="",l.setAttribute(t,r);var s,u,c,d,p=l.appendChild(document.createElement("CODE"));p.textContent="Loadingâ¦";var f=l.getAttribute("data-src"),h=o.language;if("none"===h){var g=(/\.(\w+)$/.exec(f)||[,"none"])[1];h=e[g]||g}i.util.setLanguage(p,h),i.util.setLanguage(l,h);var m=i.plugins.autoloader;m&&m.loadLanguages(h),s=f,u=function(e){l.setAttribute(t,n);var r=function(e){var t=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(e||"");if(t){var r=Number(t[1]),n=t[2],a=t[3];return n?a?[r,Number(a)]:[r,void 0]:[r,r]}}(l.getAttribute("data-range"));if(r){var a=e.split(/\r\n?|\n/g),o=r[0],s=null==r[1]?a.length:r[1];o<0&&(o+=a.length),o=Math.max(0,Math.min(o-1,a.length)),s<0&&(s+=a.length),s=Math.max(0,Math.min(s,a.length)),e=a.slice(o,s).join("\n"),l.hasAttribute("data-start")||l.setAttribute("data-start",String(o+1))}p.textContent=e,i.highlightElement(p)},c=function(e){l.setAttribute(t,"failed"),p.textContent=e},(d=new XMLHttpRequest).open("GET",s,!0),d.onreadystatechange=function(){var e;4==d.readyState&&(d.status<400&&d.responseText?u(d.responseText):d.status>=400?c((e=d.status,"â Error "+e+" while fetching file: "+d.statusText)):c("â Error: File does not exist or is empty"))},d.send(null)}}),i.plugins.fileHighlight={highlight:function(e){for(var t,r=(e||document).querySelectorAll(a),n=0;t=r[n++];)i.highlightElement(t)}};var o=!1;i.fileHighlight=function(){o||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),o=!0),i.plugins.fileHighlight.highlight.apply(this,arguments)}}}()},302759:(e,t,r)=>{"use strict";r.d(t,{CN:()=>a,cX:()=>s,f8:()=>i,gm:()=>l,nr:()=>
1o});var n=r(164530);function a(){return n.Sw&&!!navigator.maxTouchPoints}function i(){return!!n.Sw&&/mac|iphone|ipad|ipod/i.test(navigator.platform)}function o(){return n.Sw&&i()&&/apple/i.test(navigator.vendor)}function l(){return n.Sw&&/firefox\//i.test(navigator.userAgent)}function s(){return n.Sw&&navigator.platform.startsWith("Mac")&&!a()}},304611:(e,t,r)=>{"use strict";r.d(t,{a:()=>P,i:()=>F,k:()=>y,n:()=>M,o:()=>L,r:()=>D,t:()=>R,w:()=>S});var n=r(583896),a=r(587250),i=r(453641),o=r(585713);let l=(e,t)=>e.api.parent(t)?.[0]?.type===e.getType(n.t.li),s=e=>[e.getType(n.t.olClassic),e.getType(n.t.ulClassic),e.getType(n.t.taskList)],u=(e,{diffListPath:t,liPath:r})=>{let i=e.api.above({at:r,match:{type:s(e)}});if(!i)return;let[o,l]=i;if(!t||!a.s2.equals(l,t)){if(o.children.length<2){let r=e.api.above({at:l,match:{type:e.getType(n.t.li)}});if(r)return u(e,{diffListPath:t,liPath:r[1]})||l}return r}},c=(e,{at:t=e.selection}={})=>{let r,i=e.getType(n.t.li);if((r=a.Cb.isRange(t)&&!a.Cb.isCollapsed(t)?t.focus.path:a.Cb.isRange(t)?t.anchor.path:t)&&a.lZ.get(e,r)){let t=e.api.above({at:r,match:{type:i}});if(t)return{list:e.api.parent(t[1]),listItem:t}}},d=(e,t=e.selection)=>
1{if(!t)return;let r=e.api.above({at:t,match:{type:s(e)}});if(r){let[,t]=r;return d(e,t)??r}},p=(e,{inherit:t=!1,liNode:r})=>e.getType(n.t.li)===r.type&&"checked"in r?{checked:!!t&&r.checked}:void 0,f=(e,t,r={})=>e.getType(n.t.taskList)===t?{checked:!1,...r}:void 0,h=(e,t)=>t.children.some(t=>(0,a.YW)(t,[],{type:s(e)})),g=(e,t=e.selection)=>!(!t||a.Cb.isCollapsed(t))&&!!e.api.isAt({at:t,blocks:!0})&&e.api.some({at:t,match:{type:e.getType(n.t.li)}}),m=(e,t)=>a.$7.isElement(t)&&s(e).includes(t.type),v=(e,{deleteFromList:t=!0,fromList:r,fromListItem:n,fromStartIndex:i,to:o,toList:l,toListIndex:u=null})=>{let c,d=!1;return e.tf.withoutNormalizing(()=>{if(n){let t=e.api.descendant({at:n[1],match:{type:s(e)}});if(!t)return;c=t?.[1]}else{if(!r)return;c=r[1]}let p=null;if(o&&(p=o),l)if(null===u){let t=a.lZ.lastChild(e,l[1])?.[1];p=t?a.s2.next(t):l[1].concat([0])}else p=l[1].concat([u]);p&&(d=e.tf.moveNodes({at:c,children:!0,fromIndex:i,to:p}),t&&e.tf.delete({at:c}))}),d},y=(e,{at:t}={})=>{let r=()=>{if(e.api.above({at:t,match:{type:s(e)}}))return!0;if(!t&&e.selection){let t=a.lZ.common(e,e.selection.anchor.path,e.selection.focus.path);if(a.$7.isElement(t[0])&&s(e).includes(t[0].type))return!0}return!1};e.tf.withoutNormalizing(()=>{do e.tf.unwrapNodes({at:t,match:{type:e.getType(n.t.li)},split:!0}),e.tf.unwrapNodes({at:t,match:{type:s(e)},split:!0});while(r())})},b=(e,{list:t,listItem:r})=>{let i=!1;return e.tf.withoutNormalizing(()=>{i=(()=>{let[i,o]=t,[l,s]=r,u=e.api.above({at:o,match:{type:e.getType(n.t.li)}});if(!u){let n;try{n=a.s2.next(o)}catch(e){return}let u=h(e,l),c=!a.lZ.isLastChild(e,s);if((u||c)&&e.tf.insertNodes({children:[],type:i.type},{at:n}),u){let t=a.lZ.get(e,n);if(!t)return;v(e,{fromListItem:r,toList:[t,n]})}if(c){let r=a.lZ.get(e,n);if(!r)return;v(e,{deleteFromList:!1,fromList:t,fromStartIndex:s.at(-1)+1,toList:[r,n]})}return y(e,{at:s.concat(0)}),!0}let[,c]=u,d=s.concat([1]);if(!a.lZ.isLastChild(e,s)){h(e,l)||e.tf.insertNodes({children:[],type:i.type},{at:d});let t=a.lZ.get(e,d);if(!t)return;v(e,{deleteFromList:!1,fromListItem:u,fromStartIndex:s.at(-1)+1,toList:[t,d]})}let p=a.s2.next(c);return e.tf.moveNodes({at:s,to:p}),!0})()}),i},E=(e,{list:t,listItem:r})=>{let[,n]=t;return!l(e,n)&&(b(e,{list:t,listItem:r}),!0)},S=(0,i.Kt)({key:n.t.listTodoClassic,node:{isElement:!0},options:{inheritCheckStateOnLineEndBreak:!1,inheritCheckStateOnLineStartBreak:!1}}).overrideEditor(({editor:e,tf:{insertBreak:t}})=>({transforms:{insertBreak(){(()=>{if(e.selection&&((e,{at:t=e.selection}={})=>{let r,i=e.getType(n.t.listTodoClassic);if((r=a.Cb.isRange(t)&&!a.Cb.isCollapsed(t)?t.focus.path:a.Cb.isRange(t)?t.anchor.path:t)&&a.lZ.get(e,r)){let t=e.api.above({at:r,match:{type:i}});if(t)return{list:e.api.parent(t[1]),listItem:t}}})(e)&&_(e))return!0})()||t()}}})).extendTransforms(({editor:e,type:t})=>({toggle:()=>{e.tf.toggleBlock(t)}})),_=e=>{let{inheritCheckStateOnLineEndBreak:t,inheritCheckStateOnLineStartBreak:r}=e.getOptions(S),i=e.getType(n.t.listTodoClassic);if(!e.selection)return!1;let o=e.api.above({match:{type:i}});if(!o)return!1;let[l,s]=o,u=!1;return e.tf.withoutNormalizing(()=>{e.api.isCollapsed()||e.tf.delete();let n=e.api.isStart(e.selection.focus,s),o=e.api.isEmpty(e.selection,{after:!0}),c=a.s2.next(s);if(n){e.tf.insertNodes({checked:!!r&&l.checked,children:[{text:""}],type:i},{at:s}),u=!0;return}if(o){let r=e.api.marks()||{};e.tf.insertNodes({checked:!!t&&l.checked,children:[{text:"",...r}],type:i},{at:c}),e.tf.select(c)}else e.tf.withoutNormalizing(()=>{e.tf.splitNodes()});u=!0}),u},w=(e,{fromListItem:t,start:r,toListItem:n})=>{let[,i]=t,[,o]=n,l=!1;return e.tf.withoutNormalizing(()=>{let t,n=e.api.descendant({at:i,match:{type:s(e)}});if(!n)return;let[,u]=n,c=e.api.descendant({at:o,match:{type:s(e)}});if(c)if(r){let[,e]=c;t=e.concat([0])}else t=a.s2.next(a.lZ.lastChild(e,c[1])[1]);else{let r=e.api.parent(i);if(!r)return;let[n]=r,a=n.type,l=o.concat([1]);e.tf.insertNodes({children:[],type:a},{at:l}),t=l.concat([0])}l=e.tf.moveNodes({at:u,children:!0,to:t}),e.tf.delete({at:u})}),l},x=(e,{list:t,listItem:r,reverse:i=!0})=>{let[o,l]=r;if(e.api.isExpanded()||!h(e,o))return!1;let s=a.s2.previous(l),u=!1;return e.tf.withoutNormalizing(()=>{if(s){let t=e.api.node(s);if(!t)return;let o=a.s2.next(l);
1e.tf.insertNodes({children:[{children:[{text:""}],type:e.getType(n.t.lic)}],...p(e,{inherit:!0,liNode:t[0]}),type:e.getType(n.t.li)},{at:o});let c=e.api.node(o);if(!c)return;let d=e.api.pathRef(c[1]);w(e,{fromListItem:r,toListItem:c}),(0,a.ul)(e,{reverse:i}),o=d.unref(),w(e,{fromListItem:[c[0],o],toListItem:t}),e.tf.removeNodes({at:o}),u=!0;return}v(e,{fromListItem:r,toList:t,toListIndex:1})}),u},k=(e,{checked:t=!1,type:r})=>e.tf.withoutNormalizing(()=>{if(!e.selection)return;let{validLiChildrenTypes:i}=e.getOptions(F);if(e.api.isCollapsed()||!e.api.isAt({blocks:!0})){let o=c(e);if(o){let{list:t}=o;t[0].type===r?y(e):e.tf.setNodes({type:r},{at:e.selection,mode:"lowest",match:t=>a.$7.isElement(t)&&s(e).includes(t.type)})}else{e.tf.wrapNodes({children:[],type:r});let a=Array.from(e.api.nodes({match:{type:e.getType(n.t.p)}}));e.api.block({match:{type:i}})||e.tf.setNodes({type:e.getType(n.t.lic)});let o={children:[],...f(e,r,{checked:t}),type:e.getType(n.t.li)};for(let[,t]of a)e.tf.wrapNodes(o,{at:t})}}else{let[o,l]=a.Cb.edges(e.selection),u=a.lZ.common(e,o.path,l.path);if(s(e).includes(u[0].type)||u[0].type===e.getType(n.t.li))if(u[0].type===r)y(e);else{let t=e.api.node({at:a.Cb.start(e.selection),match:{type:s(e)},mode:"lowest"}),n=e.api.node({at:a.Cb.end(e.selection),match:{type:s(e)},mode:"lowest"}),i=Math.min(t[1].length,n[1].length);e.tf.setNodes({type:r},{at:e.selection,mode:"all",match:(t,r)=>a.$7.isElement(t)&&s(e).includes(t.type)&&r.length>=i})}else{let o=u[1].length;Array.from(e.api.nodes({mode:"all"})).filter(([,e])=>e.length===o+1).forEach(o=>{if(s(e).includes(o[0].type))e.tf.setNodes({type:r},{at:o[1],mode:"all",match:t=>a.$7.isElement(t)&&s(e).includes(t.type)});else{i?.includes(o[0].type)||e.tf.setNodes({type:e.getType(n.t.lic)},{at:o[1]});let a={children:[],...f(e,r,{checked:t}),type:e.getType(n.t.li)};e.tf.wrapNodes(a,{at:o[1]}),e.tf.wrapNodes({children:[],type:r},{at:o[1]})}})}}}),A=(e,{type:t})=>k(e,{type:t}),T=e=>A(e,{type:e.getType(n.t.ulClassic)}),I=(e,t=!1)=>k(e,{checked:t,type:e.getType(n.t.taskList)}),N=e=>A(e,{type:e.getType(n.t.olClassic)}),C=e=>{let t=e.api.start(e.selection);return e.api.above({at:t,match:{type:e.getType(n.t.li)}})},O=(e,{children:t})=>{let r=[];for(let n of t)e.api.isBlock(n[0])?r.push(...O(e,{children:Array.from(a.lZ.children(e,n[1]))})):r.push(n);return r},R=(0,i.Kt)({key:n.t.ulClassic,node:{isContainer:!0,isElement:!0},parsers:{html:{deserializer:{rules:[{validNodeName:"UL"}]}}},render:{as:"ul"}}).extendTransforms(({editor:e})=>({toggle:()=>{T(e)}})),P=(0,i.Kt)({key:n.t.olClassic,node:{isContainer:!0,isElement:!0},parsers:{html:{deserializer:{rules:[{validNodeName:"OL"}]}}},render:{as:"ol"}}).extendTransforms(({editor:e})=>({toggle:()=>{N(e)}})),L=(0,i.Kt)({key:n.t.taskList,node:{isContainer:!0,isElement:!0},options:{inheritCheckStateOnLineEndBreak:!1,inheritCheckStateOnLineStartBreak:!1},render:{as:"ul"}}).extendTransforms(({editor:e})=>({toggle:()=>{I(e)}})),D=(0,i.Kt)({key:n.t.li,inject:{plugins:{[n.t.html]:{parser:{preInsert:({editor:e,type:t})=>e.api.some({match:{type:t}})}}}},node:{isContainer:!0,isElement:!0,isStrictSiblings:!0},parsers:{html:{deserializer:{rules:[{validNodeName:"LI"}]}}},render:{as:"li"}}),M=(0,i.Kt)({key:n.t.lic,node:{isElement:!0}}),F=(0,i.qt)({key:n.t.listClassic,plugins:[R,P,L,D,M]}).overrideEditor(e=>{let{editor:t,getOptions:r,tf:{resetBlock:i,tab:o}}=e;return{transforms:{resetBlock:e=>t.api.block({at:e?.at,match:{type:t.getType(n.t.li)}})?void y(t):i(e),tab:e=>!!(()=>{let i=t.selection;if(t.selection){let{selection:o}=t;if(!t.api.isCollapsed()){let{anchor:e,focus:r}=a.Cb.isBackward(o)?{anchor:{...o.focus},focus:{...o.anchor}}:{anchor:{...o.anchor},focus:{...o.focus}},n=t.api.unhangRange({anchor:e,focus:r});n&&(i=n,t.tf.select(n))}let u=t.api.some({match:{type:t.getType(n.t.li)}});if(i&&u)return((e,{at:t=e.selection??void 0,enableResetOnShiftTab:r,increase:i=!0}={})=>{let o=Array.from(e.api.nodes({at:t,match:{type:e.getType(n.t.lic)}}));if(0===o.length)return;let u=[],c=[];o.forEach(t=>{let r=t[1],n=a.s2.parent(r);u.some(e=>{let t=a.s2.parent(e);return a.s2.isAncestor(t,n)})||(u.push(r),c.push(e.api.pathRef(r)))});let d=i?c:c.reverse();return e.tf.withoutNormalizing(()=>{let t=!1;return d.forEach(n=>{let o,u=n.unref();if(!u)return;let c=e.api.parent(u);if(!c)return;let d=e.api.parent(c[1]);d&&(i?o=((e,{list:t,listItem:r})=>{let n=!1,[i]=t,[,o]=r,l=a.s2.previous(o);if(!l)return;let u=e.api.node(l);if(u){let[t,r]=u,l=t.children.find(t=>(0,a.YW)(t,[],{type:s(e)})),c=r.concat(l?[1,l.children.length]:[1]);e.tf.withoutNormalizing(()=>{l||e.tf.wrapNodes({children:[],type:i.type},{at:o}),e.tf.moveNodes({at:o,to:c}),n=!0})}return n})(e,{list:d,listItem:c}):l(e,d[1])?o=b(e,{list:d,listItem:c}):r&&(o=E(e,{list:d,listItem:c})),t=o||t)}),t})})(t,{at:i,enableResetOnShiftTab:r().enableResetOnShiftTab,increase:!e.reverse}),!0}})()||o(e),...(({editor:e,getOptions:t,tf:{insertBreak:r}})=>({transforms:{insertBreak(){(()=>{let r;if(!e.selection)return;let i=c(e,{});if(i){let{list:t,listItem:n}=i;if(e.api.isEmpty(e.selection,{block:!0}
1)&&(r=b(e,{list:t,listItem:n})))return!0}let o=e.api.block({match:{type:e.getType(n.t.li)}});if(o&&e.api.isEmpty(e.selection,{block:!0})&&e.tf.resetBlock({at:o[1]})||!r&&((e,t={})=>{let r=e.getType(n.t.li),i=e.getType(n.t.lic);if(!e.selection)return!1;let o=e.api.above({match:{type:i}});if(!o)return!1;let[,l]=o,s=e.api.parent(l);if(!s)return!1;let[u,c]=s;if(u.type!==r)return!1;let d="checked"in u?{checked:!1}:void 0,p=!1;return e.tf.withoutNormalizing(()=>{e.api.isCollapsed()||e.tf.delete();let n=e.api.isStart(e.selection.focus,l),o=e.api.isEmpty(e.selection,{after:!0}),s=a.s2.next(l),f=a.s2.next(c);if(n){d&&t.inheritCheckStateOnLineStartBreak&&(d.checked=u.checked),e.tf.insertNodes({children:[{children:[{text:""}],type:i}],...d,type:r},{at:c}),p=!0;return}if(o){let n=e.api.marks()||{};d&&t.inheritCheckStateOnLineEndBreak&&(d.checked=u.checked),e.tf.insertNodes({children:[{children:[{text:"",...n}],type:i}],...d,type:r},{at:f}),e.tf.select(f)}else e.tf.withoutNormalizing(()=>{e.tf.splitNodes(),e.tf.wrapNodes({children:[],...d,type:r},{at:s}),e.tf.moveNodes({at:s,to:f}),e.tf.select(f),e.tf.collapse({edge:"start"})});u.children.length>1&&e.tf.moveNodes({at:s,to:f.concat(1)}),p=!0}),p})(e,t()))return!0})()||r()}}}))(e).transforms,...(({editor:e,tf:{deleteBackward:t}})=>({transforms:{deleteBackward(r){(()=>{let t=c(e,{}),i=!1;if(t){let{list:o,listItem:s}=t;e.api.isAt({start:!0,match:t=>t.type===e.getType(n.t.li)})&&e.tf.withoutNormalizing(()=>{let t;if((i=E(e,{list:o,listItem:s}))||(i=x(e,{list:o,listItem:s})))return!0;if(!a.s2.hasPrevious(s[1])&&!l(e,o[1])){e.tf.resetBlock({at:s[1]}),i=!0;return}let u=e.api.before(e.selection.focus),c=!1;if(u&&g(e,{anchor:e.selection.anchor,focus:u})){let r=e.getType(n.t.lic);c=(t=[...e.api.nodes({at:s[1],mode:"lowest",match:e=>e.type===r})][0])[0].children.length>1}if((0,a.ul)(e,{reverse:!0,unit:r}),i=!0,!t||!c)return;let d=e.api.node(a.s2.parent(t[1]));d&&0===d[0].children.length&&e.tf.removeNodes({at:d[1]})})}return i})()||t(r)}}}))(e).transforms,...(({editor:e,tf:{deleteForward:t}})=>({transforms:{deleteForward(r){let i;i=!1,e?.selection&&e.api.isAt({end:!0})&&e.tf.withoutNormalizing(()=>{let o=c(e,{});if(!o){i=(e=>{let t=e.api.after(e.selection.focus);if(t){let r=c(e,{at:t});if(r){let{listItem:t}=r,n=e.api.block({at:e.selection.anchor});if(!e.api.string(n[1]))return e.tf.removeNodes(),!0;h(e,t[0])&&b(e,c(e,{at:[...t[1],1,0,0]}))}}return!1})(e);return}i=((e,t,r,i="character")=>{let{listItem:o}=t;if(!h(e,o[0])){let t=e.getType(n.t.li),l=Array.from(e.api.nodes({at:o[1],mode:"lowest",match:(r,n)=>{if(0===n.length)return!1;let i=r.type===t,o=a.lZ.get(e,a.s2.next(n))?.type===t;return i&&o}}),e=>e[1])[0];if(!l){let t=e.api.after(o[1]);if(t){let r=c(e,{at:t});if(r){let t=d(e,o[1]);return v(e,{deleteFromList:!0,fromList:r.list,toList:t}),!0}}return!1}let s=e.api.node(a.s2.next(l));if(!s)return!1;let u=e.api.parent(s[1]);if(u&&x(e,{list:u,listItem:s,reverse:!1}))return!0;let p=e.api.after(e.selection.focus);if(!p||!g(e,{anchor:e.selection.anchor,focus:p}))return!1;let f=e.getType(n.t.lic),h=[...e.api.nodes({at:p.path,mode:"lowest",match:e=>e.type===f})][0];if(h[0].children.length<2)return!1;r(i);let m=e.api.node(a.s2.parent(h[1]));return m&&0===m[0].children.length&&e.tf.removeNodes({at:m[1]}),!0}let l=e.api.node(a.s2.next([...o[1],0]));if(!l)return!1;let s=Array.from(a.lZ.children(e,l[1]))[0];return!!(E(e,{list:l,listItem:s})||x(e,{list:l,listItem:s}))})(e,o,t,r)}),i||t(r)}}}))(e).transforms,...(({editor:e,tf:{deleteFragment:t}})=>({transforms:{deleteFragment(r){let i;i=!1,e.tf.withoutNormalizing(()=>{if(!g(e))return;let t=e.api.end(e.selection),r=e.api.above({at:t,match:{type:e.getType(n.t.li)}}),o=r&&!h(e,r[0])?e.api.pathRef(r[1]):void 0;if(!C(e)||!r){i=!1;return}(0,a.ul)(e);let l=C(e);if(o){let t=o.unref(),r=u(e,{diffListPath:(l&&e.api.parent(l[1]))?.[1],liPath:t});r&&e.tf.removeNodes({at:r}),i=!0}}),i||t(r)}}}))(e).transforms,...(({editor:e,tf:{insertFragment:t}})=>{let r=e.getType(n.t.li),i=e.getType(n.t.lic),o=t=>{if(!m(e,t))return[t];let n=Array.from(a.lZ.texts(t)),o=n.reduce((e,r)=>a.s2.isAncestor(e[1],r[1])?e:a.lZ.common(t,r[1],e[1]),((e,t,r)=>{let n=a.s2.parent(t[1]);for(;a.lZ.get(e,n).type!==r;)n=a.s2.parent(n);return[a.lZ.get(e,n),n]})(t,n[0],r)),[l,...s]=m(e,o[0])?o[0].children:[o[0]];return[...(t=>{let n=null,a=t;for(;m(e,a)||a.type===r&&a.children[0].type!==i;)n=a,[a]=a.children;return n?n.children:[a]})(l),...s]};return{transforms:{insertFragment(n){let l=e.api.node({match:{type:r},mode:"lowest"});if(!l||(t([{text:""}]),!(l=e.api.node({match:{type:r},mode:"lowest"}))))return t(m(e,n[0])?[{text:""},...n]:n);let s=e.api.node({match:{type:i},mode:"lowest"});if(!s)return t(m(e,n[0])?[{text:""},...n]:n);let{listItemNodes:u,textNode:c}=((t,n,l)=>{let s,u,[,c]=n,[d,f]=l,h=!a.lZ.string(d),[g,...v]=t.flatMap(o).map(t=>{let a;return a=p(e,{inherit:!0,liNode:n[0]}),t.type===r?t:{children:[t],...a,type:r}});if(m(e,t[0]))if(1===t.length&&m(e,t[0])&&1===[...a.lZ.nodes({children:t})].filter(e=>a.$7.isElement(e[0])).filter(([e])=>e.type===i).length)s=g,u=v;else if(h){let[,...t]=a.lZ.get(e,c).children,[r,...n]=g.children;
1if(e.tf.insertNodes(r,{at:a.s2.next(f),select:!0}),e.tf.removeNodes({at:f}),n?.length)if(t?.length){let t=[...c,1,0];e.tf.insertNodes(n[0].children,{at:t,select:!0})}else e.tf.insertNodes(n,{at:a.s2.next(f),select:!0});s={text:""},u=v}else s={text:""},u=[g,...v];else s=g,u=v;return{listItemNodes:u,textNode:s}})(n,l,s);t([c]);let[,d]=l;return e.tf.insertNodes(u,{at:a.s2.next(d),select:!0})}}}})(e).transforms,...(({editor:e,getOptions:t,tf:{normalizeNode:r}})=>({transforms:{normalizeNode([i,o]){let l=e.getType(n.t.li),u=e.getType(n.t.lic),c=e.getType(n.t.p);if(!a.$7.isElement(i))return r([i,o]);if(m(e,i)){let t=Array.from(a.lZ.children(e,o)).find(([e])=>e.type!==l);if(t)return e.tf.wrapNodes({children:[],type:l},{at:t[1]});if(i.type===e.getType(n.t.taskList)){let t=Array.from(a.lZ.children(e,o)).filter(([e])=>e.type===l&&!("checked"in e));if(t.length>0)return e.tf.withoutNormalizing(()=>t.forEach(([,t])=>{e.tf.setNodes({checked:!1},{at:t})}))}else{let t=Array.from(a.lZ.children(e,o)).filter(([e])=>e.type===l&&"checked"in e);if(t.length>0)return e.tf.withoutNormalizing(()=>t.forEach(([,t])=>{e.tf.unsetNodes("checked",{at:t})}))}}if((0,a.YW)(i,[],{type:s(e)})){if(0===i.children.length||!i.children.some(e=>e.type===l))return e.tf.removeNodes({at:o});let t=a.s2.next(o),r=a.lZ.get(e,t);r?.type===i.type&&v(e,{deleteFromList:!0,fromList:[r,t],toList:[i,o]});let n=a.s2.previous(o),u=a.lZ.get(e,n);if(u?.type===i.type)return void e.tf.normalizeNode([u,n]);if(((e,{nestedListItem:t})=>{let[,r]=t,n=e.api.parent(r);if(!(n&&(0,a.YW)(n[0],[],{type:s(e)})))return!1;let i=a.s2.previous(r);if(!i)return!1;let o=e.api.node(i);if(o){let[,t]=o,n=t.concat([1]);return e.tf.moveNodes({at:r,to:n}),!0}})(e,{nestedListItem:[i,o]}))return}if(!(i.type===e.getType(n.t.li)&&((e,{listItem:t,validLiChildrenTypes:r=[]})=>{let i=!1,o=new Set([e.getType(n.t.lic),e.getType(n.t.olClassic),e.getType(n.t.taskList),e.getType(n.t.ulClassic),...r]),[,l]=t,u=Array.from(a.lZ.children(e,t[1])),c=u.filter(([e])=>!o.has(e.type)).map(([,t])=>e.api.pathRef(t)),d=u[0],[p,f]=d??[];if(!d||!e.api.isBlock(p))return e.tf.insertNodes(e.api.create.block({type:e.getType(n.t.lic)}),{at:l.concat([0])}),!0;if(e.api.isBlock(p)&&!(0,a.YW)(p,[],{type:e.getType(n.t.lic)})){if((0,a.YW)(p,[],{type:s(e)})){let r=e.api.parent(t[1]);return Array.from(a.lZ.children(e,d[1])).reverse().forEach(t=>{b(e,{list:d,listItem:t})}),e.tf.removeNodes({at:[...r[1],0]}),!0}if(r.includes(p.type))return!0;e.tf.setNodes({type:e.getType(n.t.lic)},{at:f}),i=!0}let h=Array.from(a.lZ.children(e,d[1]));if(h.length>0){let t=[],r=[];for(let n of h){if(!e.api.isBlock(n[0]))break;t.push(e.api.pathRef(n[1])),r.push(...O(e,{children:Array.from(a.lZ.children(e,n[1]))}))}let n=a.s2.next(h.at(-1)[1]);r.reverse().forEach(([,t])=>{e.tf.moveNodes({at:t,to:n})}),t.forEach(t=>{let r=t.unref();r&&e.tf.removeNodes({at:r})}),t.length>0&&(i=!0)}return!!i||(c.reverse().forEach(t=>{let r=t.unref();r&&e.tf.moveNodes({at:r,to:f.concat([0])})}),c.length>0)})(e,{listItem:[i,o],validLiChildrenTypes:t().validLiChildrenTypes}))){if(i.type===u&&u!==c&&e.api.parent(o)?.[0].type!==l)return void e.tf.setNodes({type:c},{at:o});r([i,o])}}}}))(e).transforms}}}).extendEditorTransforms(({editor:e})=>({toggle:{bulletedList:(0,o.gv)(T,e),list:(0,o.gv)(A,e),numberedList:(0,o.gv)(N,e),taskList:(0,o.gv)(I,e)}}))},304951:e=>{e.exports={root:"quoted-tweet-container_root__kYrVu",article:"quoted-tweet-container_article__1Ndwh"}},314323:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("FileCode",[["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z",key:"1mlx9k"}]])},316370:()=>{Prism.languages.less=Prism.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),Prism.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})},316949:(e,t,r)=>{"use strict";r.d(t,{IA:()=>c,YG:()=>p,ko:()=>d});var n=Object.defineProperty,a=Object.defineProperties,i=Object.getOwnPropertyDescriptors,o=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(e,t,r)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,c=(e,t)=>{for(var r in t||(t={}))l.call(t,r)&&u(e,r,t[r]);if(o)for(var r of o(t))s.call(t,r)&&u(e,r,t[r]);return e},d=(e,t)=>a(e,i(t)),p=(e,t)=>{var r={};for(var n in e)l.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&o)for(var n of o(e))0>t.indexOf(n)&&s.call(e,n)&&(r[n]=e[n]);return r}},321861:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var n=r(940477),a=r(983505),i=r(572826),o=r(866361),l=function(){function e(e,t){this.xf=t,this.n=e}return e.prototype["@@transducer/init"]=o.A.init,e.prototype["@@transducer/result"]=o.A.result,e.prototype["@@transducer/step"]=function(e,t){return this.n>0?(this.n-=1,e):this.xf["@@transducer/step"](e,t)},e}(),s=r(529069),u=(0,n.A)((0,i.A)(["drop"],function(e){return function(t){return new l(e,t)}},function(e,t){return(0,s.A)(Math.max(0,e),1/0,t)})),c=(0,n.A)(function(e,t){return u(e>=0?t.length-e:0,t)});let d=(0,n.A)(function(e,t){return(0,a.A)(c(e.length,t),e)})},324652:e=>{e.exports={style:{fontFamily:"'Nunito', 'Nunito Fallback'",fontStyle:"normal"},className:"__className_16cb63"}},325515:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("Film",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 3v18",key:"bbkbws"}],["path",{d:"M3 7.5h4",key:"zfgn84"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 16.5h4",key:"1230mu"}],["path",{d:"M17 3v18",key:"in4fa5"}],["path",{d:"M17 7.5h4",key:"myr1c1"}],["path",{d:"M17 16.5h4",key:"go4c1d"}]])},326647:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("AlignJustify",[["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 18h18",key:"1h113x"}],["path",{d:"M3 6h18",key:"d0wm0j"}]])},329653:(e,t,r)=>{"use strict";r.d(t,{Jt:()=>l,OS:()=>i});var n,a=r(52515),i="u">typeof document?a.useLayoutEffect:function(){};let o={...n||(n=r.t(a,2))}.useInsertionEffect||(e=>e());function l(e){let t=a.useRef(()=>{});return o(()=>{t.current=e}),a.useCallback(function(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];return null==t.current?void 0:t.current(...r)},[])}},334188:e=>{e.exports={root:"tweet-body_root__4dHC_"}},334727:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},336840:e=>{e.exports={root:"tweet-not-found_root__iM5up"}},337344:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("AlignCenter",[["path",{d:"M17 12H7",key:"16if0g"}],["path",{d:"M19 18H5",key:"18s9l3"}],["path",{d:"M21 6H3",key:"1jwq7v"}]])},342058:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("Link2Off",[["path",{d:"M9 17H7A5 5 0 0 1 7 7",key:"10o201"}],["path",{d:"M15 7h2a5 5 0 0 1 4 8",key:"1d3206"}],["line",{x1:"8",x2:"12",y1:"12",y2:"12",key:"rvw6j4"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]])},348969:()=>{var e,t;t={pattern:/((?:^|[^\\$])(?:\\{2}
1)*)\$(?:\w+|\{[^{}]*\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},(e=Prism).languages.groovy=e.languages.extend("clike",{string:{pattern:/'''(?:[^\\]|\\[\s\S])*?'''|'(?:\\.|[^\\'\r\n])*'/,greedy:!0},keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),e.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment",greedy:!0},"interpolation-string":{pattern:/"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}}}),e.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),e.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),t.inside.expression.inside=e.languages.groovy},350204:(e,t,r)=>{"use strict";r.d(t,{$I:()=>a,LN:()=>i,zX:()=>o});var n=(0,r(54748).B0)(),a=n.useContext;n.useScopedContext,n.useProviderContext;var i=n.ContextProvider,o=n.ScopedContextProvider},351944:()=>{Prism.languages.c=Prism.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),Prism.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),Prism.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},Prism.languages.c.string],char:Prism.languages.c.char,comment:Prism.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:Prism.languages.c}}}}),Prism.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete Prism.languages.c.boolean},354372:(e,t,r)=>{"use strict";r.d(t,{KQ:()=>k});var n=r(453405),a=r(54748);r(52515);var i=(0,a.B0)([n.ws],[n.aN]),o=i.useContext;i.useScopedContext,i.useProviderContext,i.ContextProvider,i.ScopedContextProvider;var l=r(904871),s=r(377894),u=r(842676),c=r(245860),d=r(559595),p=r(774850),f=r(164530),h=r(316949),g=r(87377),m={id:null};function v(e,t){return e.find(e=>t?!e.disabled&&e.id!==t:!e.disabled)}function y(e,t){return e.filter(e=>e.rowId===t)}function b(e){let t=[];for(let r of e){let e=t.find(e=>{var t;return(null==(t=e[0])?void 0:t.rowId)===r.rowId});e?e.push(r):t.push([r])}return t}function E(e){let t=0;for(let{length:r}of e)r>t&&(t=r);return t}var S=r(385965),_=r(302759),w=(0,_.nr)()&&(0,_.CN)();function x(e={}){var{tag:t}=e,r=(0,h.YG)(e,["tag"]);let n=(0,d.od)(r.store,(0,d.Up)(t,["value","rtl"]));(0,d.UE)(r,n);let a=null==t?void 0:t.getState(),i=null==n?void 0:n.getState(),o=(0,p.Jh)(r.activeId,null==i?void 0:i.activeId,r.defaultActiveId,null),l=function(e={}){var t;let r=null==(t=e.store)?void 0:t.getState(),n=function(e={}){var t,r;(0,d.UE)(e,e.store);let n=null==(t=e.store)?void 0:t.getState(),a=(0,p.Jh)(e.items,null==n?void 0:n.items,e.defaultItems,[]),i=new Map(a.map(e=>[e.id,e])),o={items:a,renderedItems:(0,p.Jh)(null==n?void 0:n.renderedItems,[])},l=null==(r=e.store)?void 0:r.__unstablePrivateStore,s=(0,d.y$)({items:a,renderedItems:o.renderedItems},l),u=(0,d.y$)(o,e.store),c=e=>{let t=(0,f.gH)(e,e=>e.element);s.setState("renderedItems",t),u.setState("renderedItems",t)};(0,d.mj)(u,()=>(0,d.Ts)(s)),(0,d.mj)(s,()=>(0,d.vA)(s,["items"],e=>{u.setState("items",e.items)})),(0,d.mj)(s,()=>(0,d.vA)(s,["renderedItems"],e=>{let t=!0,r=requestAnimationFrame(()=>{let{renderedItems:t}=u.getState();e.renderedItems!==t&&c(e.renderedItems)});if("function"!=typeof IntersectionObserver)return()=>cancelAnimationFrame(r);let n=new IntersectionObserver(()=>{if(t){t=!1;return}cancelAnimationFrame(r),r=requestAnimationFrame(()=>c(e.renderedItems))},{root:function(e){var t;let r=e.find(e=>!!e.element),n=[...e].reverse().find(e=>!!e.element),a=null==(t=null==r?void 0:r.element)?void 0:t.parentElement;for(;a&&(null==n?void 0:n.element);){let e=a;if(n&&e.contains(n.element))return a;a=a.parentElement}return(0,f.YE)(a).body}(e.renderedItems)});for(let t of e.renderedItems)t.element&&n.observe(t.element);return()=>{cancelAnimationFrame(r),n.disconnect()}}));let g=(e,t,r=!1)=>{let n;return t(t=>{let r=t.findIndex(({id:t})=>t===e.id),a=t.slice();if(-1!==r){n=t[r];let o=(0,h.IA)((0,h.IA)({},n),e);a[r]=o,i.set(e.id,o)}else a.push(e),i.set(e.id,e);return a}),()=>{t(t=>{if(!n)return r&&i.delete(e.id),t.filter(({id:t})=>t!==e.id);let a=t.findIndex(({id:t})=>t===e.id);if(-1===a)return t;let o=t.slice();return o[a]=n,i.set(e.id,n),o})}},m=e=>g(e,e=>s.setState("items",e),!0);return(0,h.ko)((0,h.IA)({},u),{registerItem:m,renderItem:e=>(0,p.cy)(m(e),g(e,e=>s.setState("renderedItems",e))),item:e=>{if(!e)return null;let t=i.get(e);if(!t){let{items:r}=s.getState();(t=r.find(t=>
1t.id===e))&&i.set(e,t)}return t||null},__unstablePrivateStore:s})}(e),a=(0,p.Jh)(e.activeId,null==r?void 0:r.activeId,e.defaultActiveId),i=(0,h.ko)((0,h.IA)({},n.getState()),{id:(0,p.Jh)(e.id,null==r?void 0:r.id,`id-${Math.random().toString(36).slice(2,8)}`),activeId:a,baseElement:(0,p.Jh)(null==r?void 0:r.baseElement,null),includesBaseElement:(0,p.Jh)(e.includesBaseElement,null==r?void 0:r.includesBaseElement,null===a),moves:(0,p.Jh)(null==r?void 0:r.moves,0),orientation:(0,p.Jh)(e.orientation,null==r?void 0:r.orientation,"both"),rtl:(0,p.Jh)(e.rtl,null==r?void 0:r.rtl,!1),virtualFocus:(0,p.Jh)(e.virtualFocus,null==r?void 0:r.virtualFocus,!1),focusLoop:(0,p.Jh)(e.focusLoop,null==r?void 0:r.focusLoop,!1),focusWrap:(0,p.Jh)(e.focusWrap,null==r?void 0:r.focusWrap,!1),focusShift:(0,p.Jh)(e.focusShift,null==r?void 0:r.focusShift,!1)}),o=(0,d.y$)(i,n,e.store);(0,d.mj)(o,()=>(0,d.OH)(o,["renderedItems","activeId"],e=>{o.setState("activeId",t=>{var r;return void 0!==t?t:null==(r=v(e.renderedItems))?void 0:r.id})}));let l=(e="next",t={})=>{var r,n;let a=o.getState(),{skip:i=0,activeId:l=a.activeId,focusShift:s=a.focusShift,focusLoop:u=a.focusLoop,focusWrap:c=a.focusWrap,includesBaseElement:d=a.includesBaseElement,renderedItems:p=a.renderedItems,rtl:f=a.rtl}=t,S="up"===e||"down"===e,_="next"===e||"down"===e,w=S?(0,g.M9)(function(e,t,r){let n=E(e);for(let a of e)for(let e=0;e<n;e+=1){let n=a[e];if(!n||r&&n.disabled){let n=0===e&&r?v(a):a[e-1];a[e]=n&&t!==n.id&&r?n:{id:"__EMPTY_ITEM__",disabled:!0,rowId:null==n?void 0:n.rowId}}}return e}(b(p),l,s&&!i)):p;if(w=(_?f&&!S:!f||S)?(0,g.q7)(w):w,w=S?function(e){let t=b(e),r=E(t),n=[];for(let e=0;e<r;e+=1)for(let r of t){let t=r[e];t&&n.push((0,h.ko)((0,h.IA)({},t),{rowId:t.rowId?`${e}`:void 0}))}return n}(w):w,null==l)return null==(r=v(w))?void 0:r.id;let x=w.find(e=>e.id===l);if(!x)return null==(n=v(w))?void 0:n.id;let k=w.some(e=>e.rowId),A=w.indexOf(x),T=w.slice(A+1),I=y(T,x.rowId);if(i){let e=I.filter(e=>l?!e.disabled&&e.id!==l:!e.disabled),t=e.slice(i)[0]||e[e.length-1];return null==t?void 0:t.id}let N=u&&(S?"horizontal"!==u:"vertical"!==u),C=k&&c&&(S?"horizontal"!==c:"vertical"!==c),O=_?(!k||S)&&N&&d:!!S&&d;if(N){let e=v(function(e,t,r=!1){let n=e.findIndex(e=>e.id===t);return[...e.slice(n+1),...r?[m]:[],...e.slice(0,n)]}(C&&!O?w:y(w,x.rowId),l,O),l);return null==e?void 0:e.id}if(C){let e=v(O?I:T,l);return O?(null==e?void 0:e.id)||null:null==e?void 0:e.id}let R=v(I,l);return!R&&O?null:null==R?void 0:R.id};return(0,h.ko)((0,h.IA)((0,h.IA)({},n),o),{setBaseElement:e=>o.setState("baseElement",e),setActiveId:e=>o.setState("activeId",e),move:e=>{void 0!==e&&(o.setState("activeId",e),o.setState("moves",e=>e+1))},first:()=>{var e;return null==(e=v(o.getState().renderedItems))?void 0:e.id},last:()=>{var e;return null==(e=v((0,g.q7)(o.getState().renderedItems)))?void 0:e.id},next:e=>(void 0!==e&&"number"==typeof e&&(e={skip:e}),l("next",e)),previous:e=>(void 0!==e&&"number"==typeof e&&(e={skip:e}),l("previous",e)),down:e=>(void 0!==e&&"number"==typeof e&&(e={skip:e}),l("down",e)),up:e=>(void 0!==e&&"number"==typeof e&&(e={skip:e}),l("up",e))})}((0,h.ko)((0,h.IA)({},r),{activeId:o,includesBaseElement:(0,p.Jh)(r.includesBaseElement,null==i?void 0:i.includesBaseElement,!0),orientation:(0,p.Jh)(r.orientation,null==i?void 0:i.orientation,"vertical"),focusLoop:(0,p.Jh)(r.focusLoop,null==i?void 0:i.focusLoop,!0),focusWrap:(0,p.Jh)(r.focusWrap,null==i?void 0:i.focusWrap,!0),virtualFocus:(0,p.Jh)(r.virtualFocus,null==i?void 0:i.virtualFocus,!0)})),s=function(e={}){var{popover:t}=e,r=(0,h.YG)(e,["popover"]);let n=(0,d.od)(r.store,(0,d.cJ)(t,["arrowElement","anchorElement","contentElement","popoverElement","disclosureElement"]));(0,d.UE)(r,n);let a=null==n?void 0:n.getState(),i=(0,S.Y)((0,h.ko)((0,h.IA)({},r),{store:n})),o=(0,p.Jh)(r.placement,null==a?void 0:a.placement,"bottom"),l=(0,h.ko)((0,h.IA)({},i.getState()),{placement:o,currentPlacement:o,anchorElement:(0,p.Jh)(null==a?void 0:a.anchorElement,null),popoverElement:(0,p.Jh)(null==a?void 0:a.popoverElement,null),arrowElement:(0,p.Jh)(null==a?void 0:a.arrowElement,null),rendered:Symbol("rendered")}),s=(0,d.y$)(l,i,n);return(0,h.ko)((0,h.IA)((0,h.IA)({},i),s),{setAnchorElement:e=>
1s.setState("anchorElement",e),setPopoverElement:e=>s.setState("popoverElement",e),setArrowElement:e=>s.setState("arrowElement",e),render:()=>s.setState("rendered",Symbol("rendered"))})}((0,h.ko)((0,h.IA)({},r),{placement:(0,p.Jh)(r.placement,null==i?void 0:i.placement,"bottom-start")})),u=(0,p.Jh)(r.value,null==i?void 0:i.value,r.defaultValue,""),c=(0,p.Jh)(r.selectedValue,null==i?void 0:i.selectedValue,null==a?void 0:a.values,r.defaultSelectedValue,""),_=Array.isArray(c),k=(0,h.ko)((0,h.IA)((0,h.IA)({},l.getState()),s.getState()),{value:u,selectedValue:c,resetValueOnSelect:(0,p.Jh)(r.resetValueOnSelect,null==i?void 0:i.resetValueOnSelect,_),resetValueOnHide:(0,p.Jh)(r.resetValueOnHide,null==i?void 0:i.resetValueOnHide,_&&!t),activeValue:null==i?void 0:i.activeValue}),A=(0,d.y$)(k,l,s,n);return w&&(0,d.mj)(A,()=>(0,d.OH)(A,["virtualFocus"],()=>{A.setState("virtualFocus",!1)})),(0,d.mj)(A,()=>{if(t)return(0,p.cy)((0,d.OH)(A,["selectedValue"],e=>{Array.isArray(e.selectedValue)&&t.setValues(e.selectedValue)}),(0,d.OH)(t,["values"],e=>{A.setState("selectedValue",e.values)}))}),(0,d.mj)(A,()=>(0,d.OH)(A,["resetValueOnHide","mounted"],e=>{!e.resetValueOnHide||e.mounted||A.setState("value",u)})),(0,d.mj)(A,()=>(0,d.OH)(A,["open"],e=>{e.open||(A.setState("activeId",o),A.setState("moves",0))})),(0,d.mj)(A,()=>(0,d.OH)(A,["moves","activeId"],(e,t)=>{e.moves===t.moves&&A.setState("activeValue",void 0)})),(0,d.mj)(A,()=>(0,d.vA)(A,["moves","renderedItems"],(e,t)=>{if(e.moves===t.moves)return;let{activeId:r}=A.getState(),n=l.item(r);A.setState("activeValue",null==n?void 0:n.value)})),(0,h.ko)((0,h.IA)((0,h.IA)((0,h.IA)({},s),l),A),{tag:t,setValue:e=>A.setState("value",e),resetValue:()=>A.setState("value",k.value),setSelectedValue:e=>A.setState("selectedValue",e)})}function k(e={}){var t,r,n,a,i;let d,p;t=e,d=o(),r=t=(0,u.ko)((0,u.IA)({},t),{tag:void 0!==t.tag?t.tag:d}),p=(0,s.Bi)(r.id),e=(0,u.IA)({id:p},r);let[f,h]=(0,l.Pj)(x,e);return n=e,(0,s.w5)(h,[n.tag]),(0,l.Tz)(f,n,"value","setValue"),(0,l.Tz)(f,n,"selectedValue","setSelectedValue"),(0,l.Tz)(f,n,"resetValueOnHide"),(0,l.Tz)(f,n,"resetValueOnSelect"),Object.assign(((0,s.w5)(h,[n.popover]),(0,l.Tz)(f,n,"placement"),a=(0,c.N)(f,h,n),i=a,(0,s.w5)(h,[n.store]),(0,l.Tz)(i,n,"items","setItems"),a=i,(0,l.Tz)(a,n,"activeId","setActiveId"),(0,l.Tz)(a,n,"includesBaseElement"),(0,l.Tz)(a,n,"virtualFocus"),(0,l.Tz)(a,n,"orientation"),(0,l.Tz)(a,n,"rtl"),(0,l.Tz)(a,n,"focusLoop"),(0,l.Tz)(a,n,"focusWrap"),(0,l.Tz)(a,n,"focusShift"),a),{tag:n.tag})}},364085:e=>{e.exports={header:"quoted-tweet-header_header__jz8E_",avatar:"quoted-tweet-header_avatar___Pmgz",avatarSquare:"quoted-tweet-header_avatarSquare__h3_LM",author:"quoted-tweet-header_author__UgYMW",authorText:"quoted-tweet-header_authorText__HztWQ",username:"quoted-tweet-header_username__GWPUY"}},375045:e=>{e.exports={style:{fontFamily:"'Crimson Pro', 'Crimson Pro Fallback'",fontStyle:"normal"},className:"__className_f018a0"}},377894:(e,t,r)=>{"use strict";r.d(t,{Bi:()=>v,CH:()=>_,Cy:()=>b,Kp:()=>S,O4:()=>w,P$:()=>T,P1:()=>A,SV:()=>m,TE:()=>k,UQ:()=>p,XB:()=>g,_q:()=>h,hX:()=>f,vO:()=>y,w5:()=>E,w7:()=>x});var n,a=r(193681),i=r(842676),o=r(164530),l=r(451016),s=r(52515),u=(0,i.IA)({},n||(n=r.t(s,2))),c=u.useId;u.useDeferredValue;var d=u.useInsertionEffect,p=o.Sw?s.useLayoutEffect:s.useEffect;function f(e){let t=(0,s.useRef)(e);return p(()=>{t.current=e}),t}function h(e){let t=(0,s.useRef)(()=>{throw Error("Cannot call an event handler while rendering.")});return d?d(()=>{t.current=e}):t.current=e,(0,s.useCallback)((...e)=>{var r;return null==(r=t.current)?void 0:r.call(t,...e)},[])}function g(e){let[t,r]=(0,s.useState)(null);return p(()=>{if(null==t||!e)return;let r=null;return e(e=>(r=e,t)),()=>{e(r)}},[t,e]),[t,r]}function m(...e){return(0,s.useMemo)(()=>{if(e.some(Boolean))return t=>{for(let r of e)(0,a.cZ)(r,t)}},e)}function v(e){if(c){let t=c();return e||t}let[t,r]=(0,s.useState)(e);return p(()=>{if(e||t)return;let n=Math.random().toString(36).slice(2,8);r(`id-${n}`)},[e,t]),e||t}function y(e,t){let r=e=>{if("string"==typeof e)return e}
1,[n,a]=(0,s.useState)(()=>r(t));return p(()=>{let n=e&&"current"in e?e.current:e;a((null==n?void 0:n.tagName.toLowerCase())||r(t))},[e,t]),n}function b(e,t,r){let n=function(e){let[t]=(0,s.useState)(e);return t}(r),[a,i]=(0,s.useState)(n);return(0,s.useEffect)(()=>{let r=e&&"current"in e?e.current:e;if(!r)return;let a=()=>{let e=r.getAttribute(t);i(null==e?n:e)},o=new MutationObserver(a);return o.observe(r,{attributeFilter:[t]}),a(),()=>o.disconnect()},[e,t,n]),a}function E(e,t){let r=(0,s.useRef)(!1);(0,s.useEffect)(()=>{if(r.current)return e();r.current=!0},t),(0,s.useEffect)(()=>()=>{r.current=!1},[])}function S(e,t){let r=(0,s.useRef)(!1);p(()=>{if(r.current)return e();r.current=!0},t),p(()=>()=>{r.current=!1},[])}function _(){return(0,s.useReducer)(()=>[],[])}function w(e){return h("function"==typeof e?e:()=>e)}function x(e,t,r=[]){let n=(0,s.useCallback)(r=>(e.wrapElement&&(r=e.wrapElement(r)),t(r)),[...r,e.wrapElement]);return(0,i.ko)((0,i.IA)({},e),{wrapElement:n})}function k(e=!1,t){let[r,n]=(0,s.useState)(null);return{portalRef:m(n,t),portalNode:r,domReady:!e||r}}function A(e,t,r){let n=e.onLoadedMetadataCapture,a=(0,s.useMemo)(()=>Object.assign(()=>{},(0,i.ko)((0,i.IA)({},n),{[t]:r})),[n,t,r]);return[null==n?void 0:n[t],{onLoadedMetadataCapture:a}]}function T(){return(0,s.useEffect)(()=>{(0,l.dg)("mousemove",O,!0),(0,l.dg)("mousedown",R,!0),(0,l.dg)("mouseup",R,!0),(0,l.dg)("keydown",R,!0),(0,l.dg)("scroll",R,!0)},[]),h(()=>I)}var I=!1,N=0,C=0;function O(e){let t,r;t=e.movementX||e.screenX-N,r=e.movementY||e.screenY-C,N=e.screenX,C=e.screenY,(t||r||0)&&(I=!0)}function R(){I=!1}},377917:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("ListOrdered",[["path",{d:"M10 12h11",key:"6m4ad9"}],["path",{d:"M10 18h11",key:"11hvi2"}],["path",{d:"M10 6h11",key:"c7qv1k"}],["path",{d:"M4 10h2",key:"16xx2s"}],["path",{d:"M4 6h1v4",key:"cnovpq"}],["path",{d:"M6 18H4c0-1 2-2 2-3s-1-1.5-2-1",key:"m9a95d"}]])},380026:(e,t,r)=>{"use strict";r.d(t,{A:()=>S});var n=r(784124),a=r(411337),i=r(635417),o=r(413407),l=r(36745),s=r(1364),u=r.n(s),c=r(886155),d=r(52515),p=r(224260),f=r(539079),h=p.A.ESC,g=p.A.TAB,m=(0,d.forwardRef)(function(e,t){var r=e.overlay,n=e.arrow,a=e.prefixCls,i=(0,d.useMemo)(function(){return"function"==typeof r?r():r},[r]),o=(0,c.K4)(t,(0,c.A9)(i));return d.createElement(d.Fragment,null,n&&d.createElement("div",{className:"".concat(a,"-arrow")}),d.cloneElement(i,{ref:(0,c.f3)(i)?o:void 0}))}),v={adjustX:1,adjustY:1},y=[0,0];let b={topLeft:{points:["bl","tl"],overflow:v,offset:[0,-4],targetOffset:y},top:{points:["bc","tc"],overflow:v,offset:[0,-4],targetOffset:y},topRight:{points:["br","tr"],overflow:v,offset:[0,-4],targetOffset:y},bottomLeft:{points:["tl","bl"],overflow:v,offset:[0,4],targetOffset:y},bottom:{points:["tc","bc"],overflow:v,offset:[0,4],targetOffset:y},bottomRight:{points:["tr","br"],overflow:v,offset:[0,4],targetOffset:y}};var E=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];let S=d.forwardRef(function(e,t){var r,s,p,v,y,S,_,w,x,k,A,T,I,N,C=e.arrow,O=void 0!==C&&C,R=e.prefixCls,P=void 0===R?"rc-dropdown":R,L=e.transitionName,D=e.animation,M=e.align,F=e.placement,j=e.placements,U=e.getPopupContainer,z=e.showAction,B=e.hideAction,$=e.overlayClassName,H=e.overlayStyle,G=e.visible,q=e.trigger,V=void 0===q?["hover"]:q,K=e.autoFocus,Y=e.overlay,W=e.children,Z=e.onVisibleChange,X=(0,o.A)(e,E),Q=d.useState(),J=(0,i.A)(Q,2),ee=J[0],et=J[1],er="visible"in e?G:ee,en=d.useRef(null),ea=d.useRef(null),ei=d.useRef(null);d.useImperativeHandle(t,function(){return en.current});var eo=function(e){et(e),null==Z||Z(e)};s=(r={visible:er,triggerRef:ei,onVisibleChange:eo,autoFocus:K,overlayRef:ea}).visible,p=r.triggerRef,v=r.onVisibleChange,y=r.autoFocus,S=r.overlayRef,_=d.useRef(!1),w=function(){if(s){var e,t;null==(e=p.current)||null==(t=e.focus)||t.call(e),null==v||v(!1)}},x=function(){var e;return null!=(e=S.current)&&!!e.focus&&(S.current.focus(),_.current=!0,!0)},k=function(e){switch(e.keyCode){case h:w();break;case g:var t=!1;_.current||(t=x()),t?e.preventDefault():w()}},d.useEffect(function(){return s?(window.addEventListener("keydown",k),y&&(0,f.A)(x,3),function(){window.removeEventListener("keydown",k),_.current=!1}):function(){_.current=!1}},[s]);var el=function(){return d.createElement(m,{ref:ea,overlay:Y,prefixCls:P,arrow:O})},es=d.cloneElement(W,{className:u()(null==(N=W.props)?void 0:N.className,er&&(void 0!==(A=e.openClassName)?A:"".concat(P,"-open"))),ref:(0,c.f3)(W)?(0,c.K4)(ei,(0,c.A9)(W)):void 0}),eu=B;return eu||-1===V.indexOf("contextMenu")||(eu=["click"]),d.createElement(l.A,(0,n.A)({builtinPlacements:void 0===j?b:j},X,{prefixCls:P,ref:en,popupClassName:u()($,(0,a.A)({},"".concat(P,"-show-arrow"),O)),popupStyle:H,action:V,showAction:z,hideAction:eu,popupPlacement:void 0===F?"bottomLeft":F,popupAlign:M,popupTransitionName:L,popupAnimation:D,popupVisible:er,stretch:(T=e.minOverlayWidthMatchTrigger,I=e.alignPoint,"minOverlayWidthMatchTrigger"in e?T:!I)?"minWidth":"",popup:"function"==typeof Y?el:el(),onPopupVisibleChange:eo,onPopupClick:function(t){var r=e.onOverlayClick;et(!1),r&&r(t)},getPopupContainer:U}),es)})},385965:(e,t,r)=>{"use strict";r.d(t,{Y:()=>a});var n=r(394595);function a(e={}){return(0,n.h)(e)}},387439:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
1],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},390862:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("Text",[["path",{d:"M17 6.1H3",key:"wptmhv"}],["path",{d:"M21 12.1H3",key:"1j38uz"}],["path",{d:"M15.1 18H3",key:"1nb16a"}]])},394595:(e,t,r)=>{"use strict";r.d(t,{h:()=>o});var n=r(559595),a=r(774850),i=r(316949);function o(e={}){let t=(0,n.od)(e.store,(0,n.cJ)(e.disclosure,["contentElement","disclosureElement"]));(0,n.UE)(e,t);let r=null==t?void 0:t.getState(),l=(0,a.Jh)(e.open,null==r?void 0:r.open,e.defaultOpen,!1),s=(0,a.Jh)(e.animated,null==r?void 0:r.animated,!1),u={open:l,animated:s,animating:!!s&&l,mounted:l,contentElement:(0,a.Jh)(null==r?void 0:r.contentElement,null),disclosureElement:(0,a.Jh)(null==r?void 0:r.disclosureElement,null)},c=(0,n.y$)(u,t);return(0,n.mj)(c,()=>(0,n.OH)(c,["animated","animating"],e=>{e.animated||c.setState("animating",!1)})),(0,n.mj)(c,()=>(0,n.B1)(c,["open"],()=>{c.getState().animated&&c.setState("animating",!0)})),(0,n.mj)(c,()=>(0,n.OH)(c,["open","animating"],e=>{c.setState("mounted",e.open||e.animating)})),(0,i.ko)((0,i.IA)({},c),{disclosure:e.disclosure,setOpen:e=>c.setState("open",e),show:()=>c.setState("open",!0),hide:()=>c.setState("open",!1),toggle:()=>c.setState("open",e=>!e),stopAnimation:()=>c.setState("animating",!1),setContentElement:e=>c.setState("contentElement",e),setDisclosureElement:e=>c.setState("disclosureElement",e)})}},403985:()=>{var e,t,r;(e=Prism).languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule,t=/\$[-\w]+|#\{\$[-\w]+\}/,r=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:r}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:r,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})},408936:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("ChevronsUpDown",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]])},408980:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(72641),a=r.n(n),i=r(52515);let o=function(e){void 0===e&&(e={});var t=(0,i.useState)(e),r=t[0],n=t[1];return[r,(0,i.useCallback)(function(e){n(function(t){return Object.assign({},t,e instanceof Function?e(t):e)})},[n])]},l=function(){var e,t,r=(e=(0,i.useRef)(!1),t=(0,i.useCallback)(function(){return e.current},[]),(0,i.useEffect)(function(){return e.current=!0,function(){e.current=!1}}),t),n=o({value:void 0,error:void 0,noUserInteraction:!0}),l=n[0],s=n[1];return[l,(0,i.useCallback)(function(e){if(r())try{if("string"!=typeof e&&"number"!=typeof e){var t,n,i=Error("Cannot copy typeof "+typeof e+" to clipboard, must be a string");s({value:e,error:i,noUserInteraction:!0});return}if(""===e){var i=Error("Cannot copy empty string to clipboard.");s({value:e,error:i,noUserInteraction:!0});return}n=e.toString(),t=a()(n),s({value:n,error:void 0,noUserInteraction:t})}catch(e){s({value:n,error:e,noUserInteraction:t})}},[])]}},415706:e=>{e.exports={style:{fontFamily:"'Lora', 'Lora Fallback'",fontStyle:"normal"},className:"__className_0af87b"}},417412:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("Twitter",[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]])},424023:e=>{e.exports={skeleton:"skeleton_skeleton__9tktZ",loading:"skeleton_loading__OdLCD"}},426739:()=>{var e=Prism;function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(r,n,a,i){if(r.language===n){var o=r.tokenStack=[];r.code=r.code.replace(a,function(e){if("function"==typeof i&&!i(e))return e;for(var a,l=o.length;-1!==r.code.indexOf(a=t(n,l));)++l;return o[l]=e,a}
1),r.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(r,n){if(r.language===n&&r.tokenStack){r.grammar=e.languages[n];var a=0,i=Object.keys(r.tokenStack);!function o(l){for(var s=0;s<l.length&&!(a>=i.length);s++){var u=l[s];if("string"==typeof u||u.content&&"string"==typeof u.content){var c=i[a],d=r.tokenStack[c],p="string"==typeof u?u:u.content,f=t(n,c),h=p.indexOf(f);if(h>-1){++a;var g=p.substring(0,h),m=new e.Token(n,e.tokenize(d,r.grammar),"language-"+n,d),v=p.substring(h+f.length),y=[];g&&y.push.apply(y,o([g])),y.push(m),v&&y.push.apply(y,o([v])),"string"==typeof u?l.splice.apply(l,[s,1].concat(y)):u.content=y}}else u.content&&o(u.content)}return l}(r.tokens)}}}})},429217:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("Ungroup",[["rect",{width:"8",height:"6",x:"5",y:"4",rx:"1",key:"nzclkv"}],["rect",{width:"8",height:"6",x:"11",y:"14",rx:"1",key:"4tytwb"}]])},437392:e=>{e.exports={root:"tweet-link_root__d9JaT"}},451016:(e,t,r)=>{"use strict";r.d(t,{$b:()=>s,RN:()=>u,aG:()=>f,c$:()=>c,dg:()=>function e(t,r,n,a=window){let i=[];try{for(let o of(a.document.addEventListener(t,r,n),Array.from(a.frames)))i.push(e(t,r,n,o))}catch(e){}return()=>{try{a.document.removeEventListener(t,r,n)}catch(e){}for(let e of i)e()}},hY:()=>p,ho:()=>o,nz:()=>h,sz:()=>d,uh:()=>l});var n=r(302759),a=r(164530),i=r(316949);function o(e){return!!(e.currentTarget&&!(0,a.gR)(e.currentTarget,e.target))}function l(e){return e.target===e.currentTarget}function s(e){let t=e.currentTarget;if(!t)return!1;let r=(0,n.f8)();if(r&&!e.metaKey||!r&&!e.ctrlKey)return!1;let a=t.tagName.toLowerCase();return"a"===a||"button"===a&&"submit"===t.type||"input"===a&&"submit"===t.type}function u(e){let t=e.currentTarget;if(!t)return!1;let r=t.tagName.toLowerCase();return!!e.altKey&&("a"===r||"button"===r&&"submit"===t.type||"input"===r&&"submit"===t.type)}function c(e,t){let r=new FocusEvent("blur",t),n=e.dispatchEvent(r),a=(0,i.ko)((0,i.IA)({},t),{bubbles:!0});return e.dispatchEvent(new FocusEvent("focusout",a)),n}function d(e,t,r){let n=new KeyboardEvent(t,r);return e.dispatchEvent(n)}function p(e,t){let r=new MouseEvent("click",t);return e.dispatchEvent(r)}function f(e,t){let r=t||e.currentTarget,n=e.relatedTarget;return!n||!(0,a.gR)(r,n)}function h(e,t,r,n){let a=(e=>{if(n){let t=setTimeout(e,n);return()=>clearTimeout(t)}let t=requestAnimationFrame(e);return()=>cancelAnimationFrame(t)})(()=>{e.removeEventListener(t,i,!0),r()}),i=()=>{a(),r()};return e.addEventListener(t,i,{once:!0,capture:!0}),a}},453405:(e,t,r)=>{"use strict";r.d(t,{$o:()=>p,Lf:()=>s,U0:()=>d,aN:()=>c,k:()=>l,ws:()=>u});var n=r(350204),a=r(54748),i=r(52515),o=(0,a.B0)([n.LN],[n.zX]),l=o.useContext;o.useScopedContext;var s=o.useProviderContext,u=o.ContextProvider,c=o.ScopedContextProvider,d=(0,i.createContext)(void 0),p=(0,i.createContext)(void 0)},453651:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("Underline",[["path",{d:"M6 4v6a6 6 0 0 0 12 0V4",key:"9kb039"}],["line",{x1:"4",x2:"20",y1:"20",y2:"20",key:"nun2al"}]])},454986:(e,t,r)=>{"use strict";r.d(t,{r:()=>p});var n=r(911325),a=r(54748),i=r(377894),o=r(842676),l=r(774850),s=r(52515),u=(0,a.ab)(function(e){let t=(0,s.useContext)(n.L),r=(0,i.Bi)(e.id);return(0,i.UQ)(()=>(null==t||t(r),()=>null==t?void 0:t(void 0)),[t,r]),e=(0,o.IA)({id:r,"aria-hidden":!0},e),(0,l.HR)(e)});(0,a.Rf)(function(e){let t=u(e);return(0,a.n)("div",t)});var c=(0,a.ab)(function(e){var{store:t}=e,r=(0,o.YG)(e,["store"]);return u(r)});(0,a.Rf)(function(e){let t=c(e);return(0,a.n)("div",t)});var d=(0,a.ab)(function(e){return c(e)}),p=(0,a.Rf)(function(e){let t=d(e);return(0,a.n)("div",t)})},462786:(e,t,r)=>{"use strict";r.d(t,{XA:()=>g,bE:()=>y,cM:()=>S,u5:()=>E,vu:()=>m,ww:()=>c});var n=r(518583),a=r(52515),i=r(694965),o=r(815098),l=r(557073),s=r(878609);let u=(e,t)=>"string"==typeof e?t*Number.parseFloat(e)/100:e,c=(e,{max:t,min:r})=>{let n=e;return void 0!==r&&(n=Math.max(n,r)),void 0!==t&&(n=Math.min(n,t)),n},{ResizeHandleProvider:d,useResizeHandleSet:p,useResizeHandleStore:f,useResizeHandleValue:h}=(0,i.lm)({onResize:null},{name:"resizeHandle",suppressWarnings:!0}),g=(0,l.BI)("div")({propsHook:({isHorizontal:e,isResizing:t,readOnly:r,setInitialPosition:n,setInitialSize:a,setIsResizing:i,onHover:o,onHoverEnd:l,onMouseDown:s,onTouchStart:u})=>{let c=()=>{o?.()},d=()=>{t||l?.()};return{hidden:r,props:{onMouseDown:t=>{let{clientX:r,clientY:o}=t;n(e?r:o);let l=t.target.parentElement;a(e?l.offsetWidth:l.offsetHeight),i(!0),s?.(t)},onMouseOut:d,onMouseOver:c,onTouchEnd:d,onTouchMove:c,onTouchStart:t=>{let{touches:r}=t,{clientX:o,clientY:l}=r[0];n(e?o:l);let s=t.target.parentElement;a(e?s.offsetWidth:s.offsetHeight),i(!0),u?.(t)}}}},stateHook:e=>{let t,r,i,l=(0,n.c)(21),{direction:s,initialSize:u,onHover:c,onHoverEnd:d,onMouseDown:p,onResize:f,onTouchStart:g}=e,m=void 0===s?"left":s,v=(0,o.cQ)(),y=h("onResize"),b=f??y,[E,S]=a.useState(!1),[_,w]=a.useState(0),[x,k]=a.useState(0),A=u??x,T="left"
1===m||"right"===m;return l[0]!==m||l[1]!==_||l[2]!==A||l[3]!==T||l[4]!==E||l[5]!==d||l[6]!==b?(t=()=>{if(!E)return;let e=(e,t)=>{let{clientX:r,clientY:n}="touches"in e?e.touches[0]||e.changedTouches[0]:e;b({delta:(T?r:n)-_,direction:m,finished:t,initialSize:A})},t=t=>e(t,!1),r=t=>{S(!1),d?.(),e(t,!0)};return window.addEventListener("mousemove",t),window.addEventListener("mouseup",r),window.addEventListener("touchmove",t),window.addEventListener("touchend",r),()=>{window.removeEventListener("mousemove",t),window.removeEventListener("mouseup",r),window.removeEventListener("touchmove",t),window.removeEventListener("touchend",r)}},r=[E,_,A,b,T,d,m],l[0]=m,l[1]=_,l[2]=A,l[3]=T,l[4]=E,l[5]=d,l[6]=b,l[7]=t,l[8]=r):(t=l[7],r=l[8]),a.useEffect(t,r),l[9]!==m||l[10]!==_||l[11]!==A||l[12]!==T||l[13]!==E||l[14]!==c||l[15]!==d||l[16]!==p||l[17]!==b||l[18]!==g||l[19]!==v?(i={direction:m,initialPosition:_,initialSize:A,isHorizontal:T,isResizing:E,readOnly:v,setInitialPosition:w,setInitialSize:k,setIsResizing:S,onHover:c,onHoverEnd:d,onMouseDown:p,onResize:b,onTouchStart:g},l[9]=m,l[10]=_,l[11]=A,l[12]=T,l[13]=E,l[14]=c,l[15]=d,l[16]=p,l[17]=b,l[18]=g,l[19]=v,l[20]=i):i=l[20],i}}),{ResizableProvider:m,resizableStore:v,useResizableSet:y,useResizableStore:b,useResizableValue:E}=(0,i.lm)({width:0},{name:"resizable"}),S=a.forwardRef((e,t)=>{let r,i,o,l,p,f,h=(0,n.c)(16);h[0]!==e?({children:r,options:i,...o}=e,h[0]=e,h[1]=r,h[2]=i,h[3]=o):(r=h[1],i=h[2],o=h[3]);let{context:g,props:m,wrapperProps:v,wrapperRef:b}=(e=>{let t,r,i,o,l,s,d,p=(0,n.c)(19),{align:f,maxWidth:h,minWidth:g,setNodeWidth:m,setWidth:v,width:y}=e,b=a.useRef(null);p[0]!==f||p[1]!==h||p[2]!==g||p[3]!==m||p[4]!==v?(t=e=>{let{delta:t,direction:r,finished:n,initialSize:a}=e,i=((e,t,{max:r,min:n})=>{let a=c(u(e,t),{max:void 0===r?void 0:u(r,t),min:void 0===n?void 0:u(n,t)});switch(typeof e){case"number":return a;case"string":return"number"==typeof a?`${a/t*100}%`:a;default:throw Error("Invalid length type")}})(a+("center"===f?2:1)*("left"===r?-1:1)*t,b.current.offsetWidth,{max:h,min:g});n?m(i):v(i)},p[0]=f,p[1]=h,p[2]=g,p[3]=m,p[4]=v,p[5]=t):t=p[5];let E=t;p[6]!==E?(r={onResize:E},p[6]=E,p[7]=r):r=p[7],p[8]!==h||p[9]!==g||p[10]!==y?(i={maxWidth:h,minWidth:g,position:"relative",width:y},p[8]=h,p[9]=g,p[10]=y,p[11]=i):i=p[11];let S=i;return p[12]!==S?(o={style:S},p[12]=S,p[13]=o):o=p[13],p[14]===Symbol.for("react.memo_cache_sentinel")?(l={position:"relative"},p[14]=l):l=p[14],p[15]===Symbol.for("react.memo_cache_sentinel")?(s={style:l},p[15]=s):s=p[15],p[16]!==r||p[17]!==o?(d={context:r,props:o,wrapperProps:s,wrapperRef:b},p[16]=r,p[17]=o,p[18]=d):d=p[18],d})((e=>{let t,r,i,o,l,u=(0,n.c)(17);u[0]!==e?(t=void 0===e?{}:e,u[0]=e,u[1]=t):t=u[1];let{align:c,maxWidth:d,minWidth:p}=t,f=void 0===c?"center":c,h=void 0===d?"100%":d,g=void 0===p?92:p,m=(0,s.Q_)(),v=(0,s.iQ)(),b=(0,s.lT)(),S=v?.width??"100%",_=E("width"),w=y("width");u[2]!==m||u[3]!==S||u[4]!==b?(r=e=>{e===S?m.tf.select(b):m.tf.setNodes({width:e},{at:b})},u[2]=m,u[3]=S,u[4]=b,u[5]=r):r=u[5];let x=r;return u[6]!==S||u[7]!==w?(i=()=>{w(S)},o=[S,w],u[6]=S,u[7]=w,u[8]=i,u[9]=o):(i=u[8],o=u[9]),a.useEffect(i,o),u[10]!==f||u[11]!==h||u[12]!==g||u[13]!==x||u[14]!==w||u[15]!==_?(l={align:f,maxWidth:h,minWidth:g,setNodeWidth:x,setWidth:w,width:_},u[10]=f,u[11]=h,u[12]=g,u[13]=x,u[14]=w,u[15]=_,u[16]=l):l=u[16],l})(i));return h[4]!==r||h[5]!==g.onResize?(l=a.createElement(d,{onResize:g.onResize},r),h[4]=r,h[5]=g.onResize,h[6]=l):l=h[6],h[7]!==m||h[8]!==t||h[9]!==o||h[10]!==l?(p=a.createElement("div",{ref:t,...m,...o},l),h[7]=m,h[8]=t,h[9]=o,h[10]=l,h[11]=p):p=h[11],h[12]!==p||h[13]!==v||h[14]!==b?(f=a.createElement("div",{ref:b,...v},p),h[12]=p,h[13]=v,h[14]=b,h[15]=f):f=h[15],f});S.displayName="Resizable"},465634:()=>{Prism.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]
1*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*")+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},Prism.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=Prism.languages.swift})},470857:()=>{Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern://,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01
1])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python},473965:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("Pilcrow",[["path",{d:"M13 4v16",key:"8vvj80"}],["path",{d:"M17 4v16",key:"7dpous"}],["path",{d:"M19 4H9.5a4.5 4.5 0 0 0 0 9H13",key:"sh4n9v"}]])},474941:e=>{e.exports={root:"tweet-info-created-at_root__wu5Ow"}},476215:e=>{e.exports={style:{fontFamily:"'Lato', 'Lato Fallback'",fontStyle:"normal"},className:"__className_bad0dd"}},477716:(e,t,r)=>{"use strict";r.d(t,{AJ:()=>v,EP:()=>D,Kk:()=>P,Md:()=>g,NM:()=>j,OW:()=>O,RP:()=>E,bN:()=>M,kQ:()=>h,n3:()=>m,uz:()=>_});var n=r(902906),a=r(102942),i=r(583896),o=r(587250),l=r(878609),s=r(694965),u=r(739531),c=r(815098),d=r(518583),p=r(52515),f=r(462786);let h=(0,l.HS)(n.a),g=(0,l.HS)(n.r),m=(0,l.HS)(n.n),v=(0,l.HS)(n.i,{handlers:{onKeyDown:({editor:e,event:t})=>{if(t.defaultPrevented)return;if(229===t.which&&e.selection&&e.api.isExpanded()&&Array.from(e.api.nodes({at:e.selection,match:{type:(0,n.st)(e)}})).length>1)return void e.tf.collapse({edge:"end"});let r={"shift+down":a.t.isExtendDownward(t),"shift+left":a.t.isExtendBackward(t),"shift+right":a.t.isExtendForward(t),"shift+up":a.t.isExtendUpward(t)};Object.keys(r).forEach(a=>{r[a]&&(0,n.x)(e,{edge:n.t[a],reverse:"shift+up"===a})&&(t.preventDefault(),t.stopPropagation())})}},plugins:[h,g,m]});function y(e,t,r,a){let i=e.api.findPath(t);if(i)if("all"===r)(0,n.y)(e,a,{at:i,border:"all"});else for(let t of r)(0,n.y)(e,a,{at:i,border:t})}let b=(e,t)=>t?Math.round(e/t)*t:e,E=e=>{let t,r,a,i,o,s=(0,d.c)(18);s[0]!==e?(t=void 0===e?{}:e,s[0]=e,s[1]=t):t=s[1];let{element:u}=t,{editor:c}=(0,l.CF)(v),p=(0,l.iQ)()??u,f=(0,l.gO)(v,"selectedCells");s[2]!==f?(r=e=>(0,n.Z)(e,f),s[2]=f,s[3]=r):r=s[3],s[4]!==p||s[5]!==f?(a=[f,p],s[4]=p,s[5]=f,s[6]=a):a=s[6];let h=(0,l.QR)(r,a);if(s[7]!==c||s[8]!==f)i=e=>()=>{let t=f;if(!t||0===t.length){let e=c.api.block({match:{type:(0,n.st)(c)}});if(!e)return;t=[e[0]]}!function(e,{border:t,cells:r}){if(0===r.length)return;if("none"===t){let{none:t}=(0,n.Z)(e,r),a=+!!t;for(let t of r){let r=e.api.findPath(t);if(!r)continue;let{col:i,row:o}=(0,n.lt)(e,t),l=[];if(0===o&&l.push("top"),0===i&&l.push("left"),l.push("bottom","right"),o>0){let t=(0,n.tt)(e,{at:r});if(t){let[r]=t;y(e,r,["bottom"],a)}}if(i>0){let t=(0,n.ot)(e,{at:r});if(t){let[r]=t;y(e,r,["right"],a)}}l.length>0&&y(e,t,l,a)}return}if("outer"===t){let{outer:t}=(0,n.Z)(e,r),a=+!t,{maxCol:i,maxRow:o,minCol:l,minRow:s}=(0,n.nt)(e,r);for(let t of r){let{col:r,row:u}=(0,n.lt)(e,t),c=(0,n.dt)(t),d=(0,n.rt)(t);for(let n=u;n<u+d;n++)for(let u=r;u<r+c;u++){let r=[];n===s&&r.push("top"),n===o&&r.push("bottom"),u===l&&r.push("left"),u===i&&r.push("right"),r.length>0&&y(e,t,r,a)}}return}let a=+!(0,n.Q)(e,r,t),{maxCol:i,maxRow:o,minCol:l,minRow:s}=(0,n.nt)(e,r);for(let u of r){let{col:r,row:c}=(0,n.lt)(e,u),d=(0,n.dt)(u),p=(0,n.rt)(u),f=e.api.findPath(u);if(!f)continue;let h=[];if("top"===t&&c===s)if(0===c)h.push("top");else{let t=(0,n.tt)(e,{at:f});if(t){let[r]=t;y(e,r,["bottom"],a)}}if("bottom"===t&&c+p-1===o&&h.push("bottom"),"left"===t&&r===l)if(0===r)h.push("left");else{let t=(0,n.ot)(e,{at:f});if(t){let[r]=t;y(e,r,["right"],a)}}"right"===t&&r+d-1===i&&h.push("right"),h.length>0&&y(e,u,h,a)}}(c,{border:e,cells:t.map(e=>e)})},s[7]=c,s[8]=f,s[9]=i;else i=s[9];return s[10]!==h.bottom||s[11]!==h.left||s[12]!==h.none||s[13]!==h.outer||s[14]!==h.right||s[15]!==h.top||s[16]!==i?(o={getOnSelectTableBorder:i,hasBottomBorder:h.bottom,hasLeftBorder:h.left,hasNoBorders:h.none,hasOuterBorders:h.outer,hasRightBorder:h.right,hasTopBorder:h.top}
1,s[10]=h.bottom,s[11]=h.left,s[12]=h.none,s[13]=h.outer,s[14]=h.right,s[15]=h.top,s[16]=i,s[17]=o):o=s[17],o},S=()=>{let e,t=(0,d.c)(5),{editor:r}=(0,l.CF)(v),a=(0,l.iQ)(),i=(0,l.gO)(v,"cellIndices",a.id);e:{let o;if(!i){let i;t[0]!==r||t[1]!==a?(i=(0,n.ut)(r,{cellNode:a})??{col:0,row:0},t[0]=r,t[1]=a,t[2]=i):i=t[2],e=i;break e}t[3]!==i?(o=i??{col:0,row:0},t[3]=i,t[4]=o):o=t[4],e=o}return e},{TableProvider:_,tableStore:w,useTableSet:x,useTableState:k,useTableStore:A,useTableValue:T}=(0,s.lm)({colSizeOverrides:(0,u.eU)(new Map),marginLeftOverride:null,rowSizeOverrides:(0,u.eU)(new Map)},{name:"table"}),I=e=>{let t,r=(0,d.c)(2);return r[0]!==e?(t=(t,r)=>{e(e=>{let n=new Map(e);return null===r?n.delete(t):n.set(t,r),n})},r[0]=e,r[1]=t):t=r[1],t};function N(e){return e[0]}function C(e){return e[0]}let O=e=>{let t,r,a,o,s=(0,d.c)(8);s[0]!==e?(t=void 0===e?{}:e,s[0]=e,s[1]=t):t=s[1];let{disableOverrides:u,transformColSizes:c}=t,p=void 0!==u&&u,f=T("colSizeOverrides");return s[2]!==f||s[3]!==p||s[4]!==c?(r=e=>{let[t]=e,r=(0,n.B)(t,p?void 0:f);return c?c(r):r},a=[p,f,c],s[2]=f,s[3]=p,s[4]=c,s[5]=r,s[6]=a):(r=s[5],a=s[6]),s[7]===Symbol.for("react.memo_cache_sentinel")?(o={key:i.t.table,equalityFn:R},s[7]=o):o=s[7],(0,l.Lz)(r,a,o)};function R(e,t){return!!e&&!!t&&o.s2.equals(e,t)}let P=()=>{let e,t,r=(0,d.c)(7),{editor:a,getOptions:i}=(0,l.CF)(v),{disableMarginLeft:o}=i(),s=(0,l.iQ)(),u=(0,l.gO)(v,"selectedCells"),f=T("marginLeftOverride"),h=o?0:f??s.marginLeft??0;(()=>{let e,t,r,a,i=(0,d.c)(20),o=(0,c.cQ)(),s=(0,c.f7)(),u=(0,l.Q_)(),f=(0,l.Hz)(),{setOption:h}=(0,l.CF)(v),g=(0,l.gO)(v,"selectedCells");i[0]!==o||i[1]!==s||i[2]!==h?(e=()=>{(!s||o)&&(h("selectedCells",null),h("selectedTables",null))},i[0]=o,i[1]=s,i[2]=h,i[3]=e):e=i[3],i[4]!==u||i[5]!==o||i[6]!==s||i[7]!==h?(t=[s,u,o,h],i[4]=u,i[5]=o,i[6]=s,i[7]=h,i[8]=t):t=i[8],p.useEffect(e,t),i[9]!==u||i[10]!==o||i[11]!==g||i[12]!==h?(r=()=>{if(o)return;let e=(0,n.V)(u,{format:"table"}),t=(0,n.V)(u,{format:"cell"});if(t?.length>1){let r=t.map(N),n=e.map(C);JSON.stringify(r)!==JSON.stringify(g)&&(h("selectedCells",r),h("selectedTables",n))}else g&&(h("selectedCells",null),h("selectedTables",null))},i[9]=u,i[10]=o,i[11]=g,i[12]=h,i[13]=r):r=i[13],i[14]!==u||i[15]!==o||i[16]!==g||i[17]!==f||i[18]!==h?(a=[u,f,o,g,h],i[14]=u,i[15]=o,i[16]=g,i[17]=f,i[18]=h,i[19]=a):a=i[19],p.useEffect(r,a)})();let g=!!u;return r[0]!==a||r[1]!==u?(e={onMouseDown:()=>{u&&a.tf.collapse()}},r[0]=a,r[1]=u,r[2]=e):e=r[2],r[3]!==h||r[4]!==g||r[5]!==e?(t={isSelectingCell:g,marginLeft:h,props:e},r[3]=h,r[4]=g,r[5]=e,r[6]=t):t=r[6],t};function L(e){let[t]=e;return t.size}let D=()=>{let e,t,r,{api:a,setOption:o}=(0,l.CF)(v),s=(0,l.iQ)(),u=(t=(0,d.c)(3),r=(0,l.gO)(v,"selectedCells"),t[0]!==s||t[1]!==r?(e=r?.includes(s),t[0]=s,t[1]=r,t[2]=e):e=t[2],!!e),c=(0,l.gO)(v,"selectedCells");p.useEffect(()=>{c?.some(e=>e.id===s.id&&s!==e)&&o("selectedCells",c.map(e=>e.id===s.id?s:e))},[s]);let f=T("rowSizeOverrides"),{minHeight:h,width:g}=function(e){let t,r,n,a,o=(0,d.c)(10);o[0]!==e?(t=void 0===e?{}:e,o[0]=e,o[1]=t):t=o[1];let{element:s}=t,{api:u}=(0,l.CF)(v),c=(0,l.iQ)()??s,p=O(),f=S();o[2]===Symbol.for("react.memo_cache_sentinel")?(r=[],n={key:i.t.tr},o[2]=r,o[3]=n):(r=o[2],n=o[3]);let h=(0,l.Lz)(L,r,n);return o[4]!==u.table||o[5]!==f||o[6]!==p||o[7]!==c||o[8]!==h?(a=u.table.getCellSize({cellIndices:f,colSizes:p,element:c,rowSize:h}),o[4]=u.table,o[5]=f,o[6]=p,o[7]=c,o[8]=h,o[9]=a):a=o[9],a}({element:s}),m=function(e){let t,r,a=(0,d.c)(6);a[0]!==e?(t=void 0===e?{}:e,a[0]=e,a[1]=t):t=a[1];let{element:i}=t,{editor:o}=(0,l.CF)(v),s=(0,l.iQ)()??i,u=S();return a[2]!==u||a[3]!==o||a[4]!==s?(r=(0,n.Y)(o,{cellIndices:u,element:s}),a[2]=u,a[3]=o,a[4]=s,a[5]=r):r=a[5],r}({element:s}),{col:y,row:b}=S(),E=a.table.getColSpan(s),_=b+a.table.getRowSpan(s)-1;return{borders:m,colIndex:y+E-1,colSpan:E,isSelectingCell:!!c,minHeight:f.get?.(_)??h,rowIndex:_,selected:u,width:g}},M=e=>{let t,r,a,o,s,u,c,h,g,m,y,E,S,_,w,k,A,T,N,C=(0,d.c)(57),{colIndex:R,colSpan:P,rowIndex:L,step:D,stepX:M,stepY:j}=e,U=void 0===M?D:M,z=void 0===j?D:j,{editor:B,getOptions:$}=(0,l.CF)(v),H=(0,l.iQ)();C[0]!==$?(t=$(),C[0]=$,C[1]=t):t=C[1];let{disableMarginLeft:G,minColumnWidth:q}=t,V=void 0===q?0:q;C[2]!==R||C[3]!==P?(r=e=>{let[t]=e;return P>1?t.colSizes?.[R]:void 0},a=[P,R],C[2]=R,C[3]=P,C[4]=r,C[5]=a):(r=C[4],a=C[5]),C[6]===Symbol.for("react.memo_cache_sentinel")?(o={key:i.t.table},C[6]=o):o=C[6];let K=(0,l.Lz)(r,a,o);C[7]===Symbol.for("react.memo_cache_sentinel")?(s=[],u={key:i.t.table},C[7]=s,C[8]=u):(s=C[7],u=C[8]);let Y=(0,l.Lz)(F,s,u);C[9]===Symbol.for("react.memo_cache_sentinel")?(c={disableOverrides:!0},C[9]=c):c=C[9];let W=O(c),Z=p.useRef(W);C[10]!==W?(h=()=>{Z.current=W},g=[W],C[10]=W,C[11]=h,C[12]=g):(h=C[11],g=C[12]),p.useEffect(h,g);let X=I(x("colSizeOverrides")),Q=I(x("rowSizeOverrides")),J=x("marginLeftOverride");C[13]!==B||C[14]!==H||C[15]!==X?(m=(e,t)=>{(0,n.v)(B,{colIndex:e,width:t},{at:H}),setTimeout(()=>X(e,null),0)},C[13]=B,C[14]=H,C[15]=X,C[16]=m):m=C[16];let ee=m;C[17]!==B||C[18]!==H||C[19]!==Q?(y=(e,t)=>{(0,n.g)(B,{height:t,rowIndex:e},{at:H}),setTimeout(()=>Q(e,null),0)},C[17]=B,C[18]=H,C[19]=Q,C[20]=y):y=C[20];let et=y;C[21]!==B||C[22]!==H||C[23]!==J?(E=e=>{(0,n._)(B,{marginLeft:e},{at:H}),setTimeout(()=>J(null),0)},C[21]=B,C[22]=H,C[23]=J,C[24]=E):E=C[24];let er=E;C[25]!==R||C[26]!==V||C[27]!==X||C[28]!==ee||C[29]!==U?(S=e=>{let{delta:t,finished:r,initialSize:n}=e,a=Z.current[R+1],i=b((0,f.ww)(n+t,{max:a?n+a-V:void 0,min:V}),U),o=a?n+a-i:void 0,l=r?ee:X;l(R,i),o&&l(R+1,o)},C[25]=R,C[26]=V,C[27]=X,C[28]=ee,C[29]=U,C[30]=S):S=C[30];let en=S;C[31]!==Q||C[32]!==L||C[33]!==et||C[34]!==z?(_=e=>{let t=b(e.initialSize+e.delta,z);e.finished?et(L,t):Q(L,t)},C[31]=Q,C[32]=L,C[33]=et,C[34]=z,C[35]=_):_=C[35];let ea=_;C[36]!==R||C[37]!==Y||C[38]!==V||C[39]!==X||C[40]!==J||C[41]!==ee||C[42]!==er||C[43]!==U?(w=e=>{let t=Z.current[R],r=b((0,f.ww)(Y+e.delta,{max:t+Y-V,min:0}),U),n=t+Y-r;e.finished?(er(r),ee(R,n)):(J(r),X(R,n))},C[36]=R,C[37]=Y,C[38]=V,C[39]=X,C[40]=J,C[41]=ee,C[42]=er,C[43]=U,C[44]=w):w=C[44];let ei=w,eo=0===R&&!G;C[45]!==ea?(k={options:{direction:"bottom",onResize:ea}},C[45]=ea,C[46]=k):k=C[46];let el=k,es=!eo;C[47]!==ei?(A={options:{direction:"left",onResize:ei}},C[47]=ei,C[48]=A):A=C[48];let eu=A;
1C[49]!==en||C[50]!==K?(T={options:{direction:"right",initialSize:K,onResize:en}},C[49]=en,C[50]=K,C[51]=T):T=C[51];let ec=T;return C[52]!==el||C[53]!==es||C[54]!==eu||C[55]!==ec?(N={bottomProps:el,hiddenLeft:es,leftProps:eu,rightProps:ec},C[52]=el,C[53]=es,C[54]=eu,C[55]=ec,C[56]=N):N=C[56],N};function F(e){let[t]=e;return t.marginLeft??0}let j=()=>{let{api:e,getOptions:t}=(0,l.CF)(v),{disableMerge:r}=t();if(r)return{canMerge:!1,canSplit:!1};let a=(0,c.cQ)(),o=(0,l.QR)(e=>e.api.some({match:{type:i.t.table}}),[]),s=(0,l.QR)(e=>e.api.isExpanded(),[]),u=(0,l.gO)(v,"selectedTables")?.[0],d=(0,l.QR)(e=>(0,n.V)(e,{format:"cell"}),[]);return d?{canMerge:!a&&o&&s&&d.length>1&&(0,n.j)(u),canSplit:!a&&o&&!s&&1===d.length&&(e.table.getColSpan(d[0][0])>1||e.table.getRowSpan(d[0][0])>1)}:{canMerge:!1,canSplit:!1}}},478895:()=>{Prism.languages.objectivec=Prism.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete Prism.languages.objectivec["class-name"],Prism.languages.objc=Prism.languages.objectivec},481651:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>u,CE:()=>p,Hf:()=>l,Hh:()=>g,Ky:()=>f,L7:()=>h,PV:()=>d,UW:()=>c});var n=r(453405),a=r(98455),i=r(54748),o=r(52515),l=(0,o.createContext)(void 0),s=(0,i.B0)([a.wf,n.ws],[a.s1,n.aN]),u=s.useContext,c=s.useScopedContext,d=s.useProviderContext,p=s.ContextProvider,f=s.ScopedContextProvider,h=(0,o.createContext)(void 0),g=(0,o.createContext)(!1)},481843:()=>{!function(e){var t=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,r=/(?:[ \t]+(?![ \t])(?:<SP_BS>)?|<SP_BS>)/.source.replace(/<SP_BS>/g,function(){return t}),n=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,a=/--[\w-]+=(?:<STR>|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(/<STR>/g,function(){return n}),i={pattern:RegExp(n),greedy:!0},o={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function l(e,t){return RegExp(e=e.replace(/<OPT>/g,function(){return a}).replace(/<SP>/g,function(){return r}),t)}e.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:l(/(^(?:ONBUILD<SP>)?\w+<SP>)<OPT>(?:<SP><OPT>)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[i,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:l(/(^(?:ONBUILD<SP>)?HEALTHCHECK<SP>(?:<OPT><SP>)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:l(/(^(?:ONBUILD<SP>)?FROM<SP>(?:<OPT><SP>)*(?!--)[^ \t\\]+<SP>)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:l(/(^ONBUILD<SP>)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:o,string:i,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:o},e.languages.dockerfile=e.languages.docker}(Prism)},482691:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},486823:(e,t,r)=>{"use strict";r.d(t,{t2:()=>_});var n={};function a(e){let t=null;return()=>(null==t&&(t=e()),t)}r.r(n),r.d(n,{FILE:()=>l,HTML:()=>c,TEXT:()=>u,URL:()=>s});class i{enter(e){var t,r;let n,a,i,o=this.entered.length,l=t=>this.isNodeInDocument(t)&&(!t.contains||t.contains(e));return this.entered=(t=this.entered.filter(l),r=[e],n=new Set,a=e=>n.add(e),t.forEach(a),r.forEach(a),i=[],n.forEach(e=>i.push(e)),i),0===o&&this.entered.length>0}leave(e){var t;let r=this.entered.length;return this.entered=(t=this.entered.filter(this.isNodeInDocument),t.filter(t=>t!==e)),r>0&&0===this.entered.length}reset(){this.entered=[]}constructor(e){this.entered=[],this.isNodeInDocument=e}}class o{initializeExposedProperties(){Object.keys(this.config.exposeProperties).forEac
1h(e=>{Object.defineProperty(this.item,e,{configurable:!0,enumerable:!0,get:()=>(console.warn(`Browser doesn't allow reading "${e}" until the drop event.`),null)})})}loadDataTransfer(e){if(e){let t={};Object.keys(this.config.exposeProperties).forEach(r=>{let n=this.config.exposeProperties[r];null!=n&&(t[r]={value:n(e,this.config.matchesTypes),configurable:!0,enumerable:!0})}),Object.defineProperties(this.item,t)}}canDrag(){return!0}beginDrag(){return this.item}isDragging(e,t){return t===e.getSourceId()}endDrag(){}constructor(e){this.config=e,this.item={},this.initializeExposedProperties()}}let l="__NATIVE_FILE__",s="__NATIVE_URL__",u="__NATIVE_TEXT__",c="__NATIVE_HTML__";function d(e,t,r){let n=t.reduce((t,r)=>t||e.getData(r),"");return null!=n?n:r}let p={[l]:{exposeProperties:{files:e=>Array.prototype.slice.call(e.files),items:e=>e.items,dataTransfer:e=>e},matchesTypes:["Files"]},[c]:{exposeProperties:{html:(e,t)=>d(e,t,""),dataTransfer:e=>e},matchesTypes:["Html","text/html"]},[s]:{exposeProperties:{urls:(e,t)=>d(e,t,"").split("\n"),dataTransfer:e=>e}
1,matchesTypes:["Url","text/uri-list"]},[u]:{exposeProperties:{text:(e,t)=>d(e,t,""),dataTransfer:e=>e},matchesTypes:["Text","text/plain"]}};function f(e){if(!e)return null;let t=Array.prototype.slice.call(e.types||[]);return Object.keys(p).filter(e=>{let r=p[e];return!!(null==r?void 0:r.matchesTypes)&&r.matchesTypes.some(e=>t.indexOf(e)>-1)})[0]||null}let h=a(()=>/firefox/i.test(navigator.userAgent)),g=a(()=>!!window.safari);class m{interpolate(e){let t,{xs:r,ys:n,c1s:a,c2s:i,c3s:o}=this,l=r.length-1;if(e===r[l])return n[l];let s=0,u=o.length-1;for(;s<=u;){let a=r[t=Math.floor(.5*(s+u))];if(a<e)s=t+1;else{if(!(a>e))return n[t];u=t-1}}let c=e-r[l=Math.max(0,u)],d=c*c;return n[l]+a[l]*c+i[l]*d+o[l]*c*d}constructor(e,t){let r,n,a;const{length:i}=e,o=[];for(let e=0;e<i;e++)o.push(e);o.sort((t,r)=>e[t]<e[r]?-1:1);const l=[],s=[],u=[];for(let a=0;a<i-1;a++)r=e[a+1]-e[a],n=t[a+1]-t[a],s.push(r),l.push(n),u.push(n/r);const c=[u[0]];for(let e=0;e<s.length-1;e++){const t=u[e],n=u[e+1];if(t*n<=0)c.push(0);else{r=s[e];const a=s[e+1],i=r+a;c.push(3*i/((i+a)/t+(i+r)/n))}}c.push(u[u.length-1]);const d=[],p=[];for(let e=0;e<c.length-1;e++){a=u[e];const t=c[e],r=1/s[e],n=t+c[e+1]-a-a;d.push((a-t-n)*r),p.push(n*r*r)}this.xs=e,this.ys=t,this.c1s=c,this.c2s=d,this.c3s=p}}function v(e){let t=1===e.nodeType?e:e.parentElement;if(!t)return null;let{top:r,left:n}=t.getBoundingClientRect();return{x:n,y:r}}function y(e){return{x:e.clientX,y:e.clientY}}class b{get window(){return this.globalContext?this.globalContext:"u">typeof window?window:void 0}get document(){var e;return(null==(e=this.globalContext)?void 0:e.document)?this.globalContext.document:this.window?this.window.document:void 0}get rootElement(){var e;return(null==(e=this.optionsArgs)?void 0:e.rootElement)||this.window}constructor(e,t){this.ownerDocument=null,this.globalContext=e,this.optionsArgs=t}}function E(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}class S{profile(){var e,t;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:(null==(e=this.dragStartSourceIds)?void 0:e.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:(null==(t=this.dragOverTargetIds)?void 0:t.length)||0}}get window(){return this.options.window}get document(){return this.options.document}get rootElement(){return this.options.rootElement}setup(){let e=this.rootElement;if(void 0!==e){if(e.__isReactDndBackendSetUp)throw Error("Cannot have two HTML5 backends at the same time.");e.__isReactDndBackendSetUp=!0,this.addEventListeners(e)}}teardown(){let e=this.rootElement;if(void 0!==e&&(e.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.rootElement),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId)){var t;null==(t=this.window)||t.cancelAnimationFrame(this.asyncEndDragFrameId)}}connectDragPreview(e,t,r){return this.sourcePreviewNodeOptions.set(e,r),this.sourcePreviewNodes.set(e,t),()=>{this.sourcePreviewNodes.delete(e),this.sourcePreviewNodeOptions.delete(e)}}connectDragSource(e,t,r){this.sourceNodes.set(e,t),this.sourceNodeOptions.set(e,r);let n=t=>this.handleDragStart(t,e),a=e=>this.handleSelectStart(e);return t.setAttribute("draggable","true"),t.addEventListener("dragstart",n),t.addEventListener("selectstart",a),()=>{this.sourceNodes.delete(e),this.sourceNodeOptions.delete(e),t.removeEventListener("dragstart",n),t.removeEventListener("selectstart",a),t.setAttribute("draggable","false")}}connectDropTarget(e,t){let r=t=>this.handleDragEnter(t,e),n=t=>this.handleDragOver(t,e),a=t=>this.handleDrop(t,e);return t.addEventListener("dragenter",r),t.addEventListener("dragover",n
1),t.addEventListener("drop",a),()=>{t.removeEventListener("dragenter",r),t.removeEventListener("dragover",n),t.removeEventListener("drop",a)}}addEventListeners(e){e.addEventListener&&(e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0))}removeEventListeners(e){e.removeEventListener&&(e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0))}getCurrentSourceNodeOptions(){let e=this.monitor.getSourceId(),t=this.sourceNodeOptions.get(e);return E({dropEffect:this.altKeyPressed?"copy":"move"},t||{})}getCurrentDropEffect(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}getCurrentSourcePreviewNodeOptions(){let e=this.monitor.getSourceId();return E({anchorX:.5,anchorY:.5,captureDraggingState:!1},this.sourcePreviewNodeOptions.get(e)||{})}isDraggingNativeItem(){let e=this.monitor.getItemType();return Object.keys(n).some(t=>n[t]===e)}beginDragNativeItem(e,t){this.clearCurrentDragSourceNode(),this.currentNativeSource=function(e,t){let r=p[e];if(!r)throw Error(`native type ${e} has no configuration`);let n=new o(r);return n.loadDataTransfer(t),n}(e,t),this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}setCurrentDragSourceNode(e){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e,this.mouseMoveTimeoutTimer=setTimeout(()=>{var e;return null==(e=this.rootElement)?void 0:e.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)},1e3)}clearCurrentDragSourceNode(){if(this.currentDragSourceNode){if(this.currentDragSourceNode=null,this.rootElement){var e;null==(e=this.window)||e.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}return this.mouseMoveTimeoutTimer=null,!0}return!1}handleDragStart(e,t){e.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(t))}handleDragEnter(e,t){this.dragEnterTargetIds.unshift(t)}handleDragOver(e,t){null===this.dragOverTargetIds&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(t)}handleDrop(e,t){this.dropTargetIds.unshift(t)}constructor(e,t,r){this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.sourceNodes=new Map,this.sourceNodeOptions=new Map,this.dragStartSourceIds=null,this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.asyncEndDragFrameId=null,this.dragOverTargetIds=null,this.lastClientOffset=null,this.hoverRafId=null,this.getSourceClientOffset=e=>{let t=this.sourceNodes.get(e);return t&&v(t)||null},this.endDragNativeItem=()=>{this.isDraggingNativeItem()&&(this.actions.endDrag(),this.currentNativeHandle&&this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)},this.isNodeInDocument=e=>!!(e&&this.document&&this.document.body&&this.document.body.contains(e)),this.endDragIfSourceWasRemovedFromDOM=()=>{let e=this.currentDragSourceNode;null==e||this.isNodeInDocument(e)||(this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(
1),this.cancelHover())},this.scheduleHover=e=>{null===this.hoverRafId&&"u">typeof requestAnimationFrame&&(this.hoverRafId=requestAnimationFrame(()=>{this.monitor.isDragging()&&this.actions.hover(e||[],{clientOffset:this.lastClientOffset}),this.hoverRafId=null}))},this.cancelHover=()=>{null!==this.hoverRafId&&"u">typeof cancelAnimationFrame&&(cancelAnimationFrame(this.hoverRafId),this.hoverRafId=null)},this.handleTopDragStartCapture=()=>{this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]},this.handleTopDragStart=e=>{if(e.defaultPrevented)return;let{dragStartSourceIds:t}=this;this.dragStartSourceIds=null;let r=y(e);this.monitor.isDragging()&&(this.actions.endDrag(),this.cancelHover()),this.actions.beginDrag(t||[],{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:r});let{dataTransfer:n}=e,a=f(n);if(this.monitor.isDragging()){if(n&&"function"==typeof n.setDragImage){let e=this.monitor.getSourceId(),t=this.sourceNodes.get(e),a=this.sourcePreviewNodes.get(e)||t;if(a){let{anchorX:e,anchorY:i,offsetX:o,offsetY:l}=this.getCurrentSourcePreviewNodeOptions(),s=function(e,t,r,n,a){var i;let o,l,s,u="IMG"===t.nodeName&&(h()||!(null==(i=document.documentElement)?void 0:i.contains(t))),c=v(u?e:t),d={x:r.x-c.x,y:r.y-c.y},{offsetWidth:p,offsetHeight:f}=e,{anchorX:y,anchorY:b}=n,{dragPreviewWidth:E,dragPreviewHeight:S}=(o=u?t.width:p,l=u?t.height:f,g()&&u&&(l/=window.devicePixelRatio,o/=window.devicePixelRatio),{dragPreviewWidth:o,dragPreviewHeight:l}),{offsetX:_,offsetY:w}=a;return{x:0===_||_?_:new m([0,.5,1],[d.x,d.x/p*E,d.x+E-p]).interpolate(y),y:0===w||w?w:(s=new m([0,.5,1],[d.y,d.y/f*S,d.y+S-f]).interpolate(b),g()&&u&&(s+=(window.devicePixelRatio-1)*S),s)}}(t,a,r,{anchorX:e,anchorY:i},{offsetX:o,offsetY:l});n.setDragImage(a,s.x,s.y)}}try{null==n||n.setData("application/json",{})}catch(e){}this.setCurrentDragSourceNode(e.target);let{captureDraggingState:t}=this.getCurrentSourcePreviewNodeOptions();t?this.actions.publishDragSource():setTimeout(()=>this.actions.publishDragSource(),0)}else if(a)this.beginDragNativeItem(a);else{if(n&&!n.types&&(e.target&&!e.target.hasAttribute||!e.target.hasAttribute("draggable")))return;e.preventDefault()}},this.handleTopDragEndCapture=()=>{this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleTopDragEnterCapture=e=>{if(this.dragEnterTargetIds=[],this.isDraggingNativeItem()){var t;null==(t=this.currentNativeSource)||t.loadDataTransfer(e.dataTransfer)}if(!this.enterLeaveCounter.enter(e.target)||this.monitor.isDragging())return;let{dataTransfer:r}=e,n=f(r);n&&this.beginDragNativeItem(n,r)},this.handleTopDragEnter=e=>{let{dragEnterTargetIds:t}=this;this.dragEnterTargetIds=[],!this.monitor.isDragging()||(this.altKeyPressed=e.altKey,t.length>0&&this.actions.hover(t,{clientOffset:y(e)}),t.some(e=>this.monitor.canDropOnTarget(e))&&(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=this.getCurrentDropEffect())))},this.handleTopDragOverCapture=e=>{if(this.dragOverTargetIds=[],this.isDraggingNativeItem()){var t;null==(t=this.currentNativeSource)||t.loadDataTransfer(e.dataTransfer)}},this.handleTopDragOver=e=>{let{dragOverTargetIds:t}=this;if(this.dragOverTargetIds=[],!this.monitor.isDragging()){e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect="none");return}this.altKeyPressed=e.altKey,this.lastClientOffset=y(e),this.scheduleHover(t),(t||[]).some(e=>this.monitor.canDropOnTarget(e))?(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=this.getCurrentDropEffect())):this.isDraggingNativeItem()?e.preventDefault():(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect="none"))},this.handleTopDragLeaveCapture=e=>{this.isDraggingNativeItem()&&e.preventDefault(),this.enterLeaveCounter.leave(e.target)&&(this.isDraggingNativeItem()&&setTimeout(()=>this.endDragNativeItem(),0),this.cancelHover())},this.handleTopDropCapture=e=>{if(this.dropTargetIds=[],this.isDraggingNativeItem()){var t;e.preventDefault(),null==(t=this.currentNativeSource)||t.loadDataTransfer(e.dataTransfer)}else f(e.dataTransfer)&&e.preventDefault();this.enterLeaveCounter.reset()},this.handleTopDrop=e=>{let{dropTargetIds:t}=this;this.dropTargetIds=[],this.actions.hover(t,{clientOffset:y(e)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.monitor.isDragging()&&this.actions.endDrag(
1),this.cancelHover()},this.handleSelectStart=e=>{let t=e.target;"function"!=typeof t.dragDrop||"INPUT"===t.tagName||"SELECT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable||(e.preventDefault(),t.dragDrop())},this.options=new b(t,r),this.actions=e.getActions(),this.monitor=e.getMonitor(),this.registry=e.getRegistry(),this.enterLeaveCounter=new i(this.isNodeInDocument)}}let _=function(e,t,r){return new S(e,t,r)}},491014:(e,t,r)=>{"use strict";r.d(t,{RG:()=>S,bL:()=>C,q7:()=>O});var n=r(52515),a=r(115298),i=r(776622),o=r(203579),l=r(649899),s=r(979827),u=r(233332),c=r(890907),d=r(1635),p=r(102431),f=r(490243),h="rovingFocusGroup.onEntryFocus",g={bubbles:!1,cancelable:!0},m="RovingFocusGroup",[v,y,b]=(0,i.N)(m),[E,S]=(0,l.A)(m,[b]),[_,w]=E(m),x=n.forwardRef((e,t)=>(0,f.jsx)(v.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,f.jsx)(v.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,f.jsx)(k,{...e,ref:t})})}));x.displayName=m;var k=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:i,loop:l=!1,dir:s,currentTabStopId:m,defaultCurrentTabStopId:v,onCurrentTabStopIdChange:b,onEntryFocus:E,preventScrollOnEntryFocus:S=!1,...w}=e,x=n.useRef(null),k=(0,o.s)(t,x),A=(0,p.jH)(s),[T=null,I]=(0,d.i)({prop:m,defaultProp:v,onChange:b}),[C,O]=n.useState(!1),R=(0,c.c)(E),P=y(r),L=n.useRef(!1),[D,M]=n.useState(0);return n.useEffect(()=>{let e=x.current;if(e)return e.addEventListener(h,R),()=>e.removeEventListener(h,R)},[R]),(0,f.jsx)(_,{scope:r,orientation:i,dir:A,loop:l,currentTabStopId:T,onItemFocus:n.useCallback(e=>I(e),[I]),onItemShiftTab:n.useCallback(()=>O(!0),[]),onFocusableItemAdd:n.useCallback(()=>M(e=>e+1),[]),onFocusableItemRemove:n.useCallback(()=>M(e=>e-1),[]),children:(0,f.jsx)(u.sG.div,{tabIndex:C||0===D?-1:0,"data-orientation":i,...w,ref:k,style:{outline:"none",...e.style},onMouseDown:(0,a.m)(e.onMouseDown,()=>{L.current=!0}),onFocus:(0,a.m)(e.onFocus,e=>{let t=!L.current;if(e.target===e.currentTarget&&t&&!C){let t=new CustomEvent(h,g);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=P().filter(e=>e.focusable);N([e.find(e=>e.active),e.find(e=>e.id===T),...e].filter(Boolean).map(e=>e.ref.current),S)}}L.current=!1}),onBlur:(0,a.m)(e.onBlur,()=>O(!1))})})}),A="RovingFocusGroupItem",T=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:i=!0,active:o=!1,tabStopId:l,...c}=e,d=(0,s.B)(),p=l||d,h=w(A,r),g=h.currentTabStopId===p,m=y(r),{onFocusableItemAdd:b,onFocusableItemRemove:E}=h;return n.useEffect(()=>{if(i)return b(),()=>E()},[i,b,E]),(0,f.jsx)(v.ItemSlot,{scope:r,id:p,focusable:i,active:o,children:(0,f.jsx)(u.sG.span,{tabIndex:g?0:-1,"data-orientation":h.orientation,...c,ref:t,onMouseDown:(0,a.m)(e.onMouseDown,e=>{i?h.onItemFocus(p):e.preventDefault()}),onFocus:(0,a.m)(e.onFocus,()=>h.onItemFocus(p)),onKeyDown:(0,a.m)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void h.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let a=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(a))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(a)))return I[a]}(e,h.orientation,h.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let a=m().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)a.reverse();else if("prev"===t||"next"===t){var r,n;"prev"===t&&a.reverse();let i=a.indexOf(e.currentTarget);a=h.loop?(r=a,n=i+1,r.map((e,t)=>r[(n+t)%r.length])):a.slice(i+1)}setTimeout(()=>N(a))}})})})});T.displayName=A;var I={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function N(e,t=!1){let r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}var C=x,O=T},491794:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("Image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]])},492626:()=>{var e;(e=Prism.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}
1],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/}).string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:e},boolean:e.boolean,variable:e.variable}},495043:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("Smile",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 14s1.5 2 4 2 4-2 4-2",key:"1y1vjs"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]])},505855:()=>{Prism.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}},510092:e=>{e.exports={root:"quoted-tweet-body_root___HhxR"}},511163:e=>{e.exports={style:{fontFamily:"'Playfair Display', 'Playfair Display Fallback'",fontStyle:"normal"},className:"__className_b919c9"}},545734:(e,t,r)=>{"use strict";r.d(t,{x:()=>N});var n=r(453405),a=r(54748),i=r(377894),o=r(842676),l=r(164530),s=r(247375),u=r(774850),c=r(52515);function d(e){let t=e.relatedTarget;return(null==t?void 0:t.nodeType)===Node.ELEMENT_NODE?t:null}var p=Symbol("composite-hover"),f=(0,a.ab)(function(e){var{store:t,focusOnHover:r=!0,blurOnHoverEnd:a=!!r}=e,f=(0,o.YG)(e,["store","focusOnHover","blurOnHoverEnd"]);let h=(0,n.k)();t=t||h,(0,u.V1)(t,!1);let g=(0,i.P$)(),m=f.onMouseMove,v=(0,i.O4)(r),y=(0,i._q)(e=>{if((null==m||m(e),!e.defaultPrevented&&g())&&v(e)){if(!(0,s.oW)(e.currentTarget)){let e=null==t?void 0:t.getState().baseElement;e&&!(0,s.AJ)(e)&&e.focus()}null==t||t.setActiveId(e.currentTarget.id)}}),b=f.onMouseLeave,E=(0,i.O4)(a),S=(0,i._q)(e=>{var r;let n;null==b||b(e),!e.defaultPrevented&&g()&&((n=d(e))&&(0,l.gR)(e.currentTarget,n)||function(e){let t=d(e);if(!t)return!1;
1do{if((0,u.mQ)(t,p)&&t[p])return!0;t=t.parentElement}while(t);return!1}(e)||!v(e)||E(e)&&(null==t||t.setActiveId(null),null==(r=null==t?void 0:t.getState().baseElement)||r.focus()))}),_=(0,c.useCallback)(e=>{e&&(e[p]=!0)},[]);return f=(0,o.ko)((0,o.IA)({},f),{ref:(0,i.SV)(_,f.ref),onMouseMove:y,onMouseLeave:S}),(0,u.HR)(f)});(0,a.ph)((0,a.Rf)(function(e){let t=f(e);return(0,a.n)("div",t)}));var h=r(481651),g=r(350204),m=(0,a.ab)(function(e){var{store:t,shouldRegisterItem:r=!0,getItem:n=u.D_,element:a}=e,l=(0,o.YG)(e,["store","shouldRegisterItem","getItem","element"]);let s=(0,g.$I)();t=t||s;let d=(0,i.Bi)(l.id),p=(0,c.useRef)(a);return(0,c.useEffect)(()=>{let e=p.current;if(!d||!e||!r)return;let a=n({id:d,element:e});return null==t?void 0:t.renderItem(a)},[d,r,n,t]),l=(0,o.ko)((0,o.IA)({},l),{ref:(0,i.SV)(p,l.ref)}),(0,u.HR)(l)});(0,a.Rf)(function(e){let t=m(e);return(0,a.n)("div",t)});var v=r(274735),y=r(451016),b=r(302759);function E(e){if(!e.isTrusted)return!1;let t=e.currentTarget;return"Enter"===e.key?(0,l.Bm)(t)||"SUMMARY"===t.tagName||"A"===t.tagName:" "===e.key&&((0,l.Bm)(t)||"SUMMARY"===t.tagName||"INPUT"===t.tagName||"SELECT"===t.tagName)}var S=Symbol("command"),_=(0,a.ab)(function(e){var{clickOnEnter:t=!0,clickOnSpace:r=!0}=e,n=(0,o.YG)(e,["clickOnEnter","clickOnSpace"]);let a=(0,c.useRef)(null),[s,d]=(0,c.useState)(!1);(0,c.useEffect)(()=>{a.current&&d((0,l.Bm)(a.current))},[]);let[p,f]=(0,c.useState)(!1),h=(0,c.useRef)(!1),g=(0,u.$f)(n),[m,_]=(0,i.P1)(n,S,!0),w=n.onKeyDown,x=(0,i._q)(e=>{null==w||w(e);let n=e.currentTarget;if(e.defaultPrevented||m||g||!(0,y.uh)(e)||(0,l.mB)(n)||n.isContentEditable)return;let a=t&&"Enter"===e.key,i=r&&" "===e.key,s="Enter"===e.key&&!t,u=" "===e.key&&!r;if(s||u)return void e.preventDefault();if(a||i){let t=E(e);if(a){if(!t){e.preventDefault();let{view:t}=e,r=(0,o.YG)(e,["view"]),a=()=>(0,y.hY)(n,r);(0,b.gm)()?(0,y.nz)(n,"keyup",a):queueMicrotask(a)}}else i&&(h.current=!0,t||(e.preventDefault(),f(!0)))}}),k=n.onKeyUp,A=(0,i._q)(e=>{if(null==k||k(e),e.defaultPrevented||m||g||e.metaKey)return;let t=r&&" "===e.key;if(h.current&&t&&(h.current=!1,!E(e))){e.preventDefault(),f(!1);let t=e.currentTarget,{view:r}=e,n=(0,o.YG)(e,["view"]);queueMicrotask(()=>(0,y.hY)(t,n))}});return n=(0,o.ko)((0,o.IA)((0,o.IA)({"data-active":p||void 0,type:s?"button":void 0},_),n),{ref:(0,i.SV)(a,n.ref),onKeyDown:x,onKeyUp:A}),n=(0,v.Wc)(n)});(0,a.Rf)(function(e){let t=_(e);return(0,a.n)("button",t)});var w=r(182292),x=r(904871),k=r(490243);function A(e,t,r,n=!1){var a;let i,o;if(!t||!r)return;let{renderedItems:s}=t.getState(),u=(0,l.qj)(e);if(!u)return;let c=function(e,t=!1){let r=e.clientHeight,{top:n}=e.getBoundingClientRect(),a=1.5*Math.max(.875*r,r-40),i=t?r-a+n:a+n;return"HTML"===e.tagName?i+e.scrollTop:i}(u,n);for(let e=0;e<s.length;e+=1){let l=i;if(!(i=r(e)))break;if(i===l)continue;let s=null==(a=(0,w.hZ)(t,i))?void 0:a.element;if(!s)continue;let u=function(e,t=!1){let{top:r}=e.getBoundingClientRect();return t?r+e.clientHeight:r}(s,n)-c,d=Math.abs(u);if(n&&u<=0||!n&&u>=0){void 0!==o&&o<d&&(i=l);break}o=d}return i}var T=(0,a.ab)(function(e){var{store:t,rowId:r,preventScrollOnKeyDown:a=!1,moveOnKeyPress:s=!0,tabbable:d=!1,getItem:p,"aria-setsize":f,"aria-posinset":h}=e,g=(0,o.YG)(e,["store","rowId","preventScrollOnKeyDown","moveOnKeyPress","tabbable","getItem","aria-setsize","aria-posinset"]);let v=(0,n.k)();t=t||v;let E=(0,i.Bi)(g.id),S=(0,c.useRef)(null),T=(0,c.useContext)(n.$o),I=(0,u.$f)(g)&&!g.accessibleWhenDisabled,{rowId:N,baseElement:C,isActiveItem:O,ariaSetSize:R,ariaPosInSet:P,isTabbable:L}=(0,x.PX)(t,{rowId:e=>r||(e&&(null==T?void 0:T.baseElement)&&T.baseElement===e.baseElement?T.id:void 0),baseElement:e=>(null==e?void 0:e.baseElement)||void 0,isActiveItem:e=>!!e&&e.activeId===E,ariaSetSize:e=>null!=f?f:e&&(null==T?void 0:T.ariaSetSize)&&T.baseElement===e.baseElement?T.ariaSetSize:void 0,ariaPosInSet(e){if(null!=h)return h;if(!e||!(null==T?void 0:T.ariaPosInSet)||T.baseElement!==e.baseElement)return;let t=e.renderedItems.filter(e=>e.rowId===N);return T.ariaPosInSet+t.findIndex(e=>e.id===E)},isTabbable(e){if(!(null==e?void 0:e.renderedItems.length))return!0;
1if(e.virtualFocus)return!1;if(d)return!0;if(null===e.activeId)return!1;let r=null==t?void 0:t.item(e.activeId);return null!=r&&!!r.disabled||null==r||!r.element||e.activeId===E}}),D=(0,c.useCallback)(e=>{var t;let r=(0,o.ko)((0,o.IA)({},e),{id:E||e.id,rowId:N,disabled:!!I,children:null==(t=e.element)?void 0:t.textContent});return p?p(r):r},[E,N,I,p]),M=g.onFocus,F=(0,c.useRef)(!1),j=(0,i._q)(e=>{var r,n;if(null==M||M(e),e.defaultPrevented||(0,y.ho)(e)||!E||!t||(r=t,!(0,y.uh)(e)&&(0,w.WZ)(r,e.target)))return;let{virtualFocus:a,baseElement:i}=t.getState();t.setActiveId(E),(0,l.Bj)(e.currentTarget)&&(0,w.iT)(e.currentTarget),a&&(0,y.uh)(e)&&(n=e.currentTarget,!(0,l.Bj)(n)&&("INPUT"!==n.tagName||(0,l.Bm)(n))&&(null==i?void 0:i.isConnected)&&((0,b.nr)()&&e.currentTarget.hasAttribute("data-autofocus")&&e.currentTarget.scrollIntoView({block:"nearest",inline:"nearest"}),F.current=!0,e.relatedTarget===i||(0,w.WZ)(t,e.relatedTarget)?(0,w.hk)(i):i.focus()))}),U=g.onBlurCapture,z=(0,i._q)(e=>{if(null==U||U(e),e.defaultPrevented)return;let r=null==t?void 0:t.getState();(null==r?void 0:r.virtualFocus)&&F.current&&(F.current=!1,e.preventDefault(),e.stopPropagation())}),B=g.onKeyDown,$=(0,i.O4)(a),H=(0,i.O4)(s),G=(0,i._q)(e=>{if(null==B||B(e),e.defaultPrevented||!(0,y.uh)(e)||!t)return;let{currentTarget:r}=e,n=t.getState(),a=t.item(E),i=!!(null==a?void 0:a.rowId),o="horizontal"!==n.orientation,s="vertical"!==n.orientation,u=()=>!(!i&&!s&&n.baseElement&&(0,l.mB)(n.baseElement)),c={ArrowUp:(i||o)&&t.up,ArrowRight:(i||s)&&t.next,ArrowDown:(i||o)&&t.down,ArrowLeft:(i||s)&&t.previous,Home:()=>{if(u())return!i||e.ctrlKey?null==t?void 0:t.first():null==t?void 0:t.previous(-1)},End:()=>{if(u())return!i||e.ctrlKey?null==t?void 0:t.last():null==t?void 0:t.next(-1)},PageUp:()=>A(r,t,null==t?void 0:t.up,!0),PageDown:()=>A(r,t,null==t?void 0:t.down)}[e.key];if(c){if((0,l.Bj)(r)){let t=(0,l.Zy)(r),n=s&&"ArrowLeft"===e.key,a=s&&"ArrowRight"===e.key,i=o&&"ArrowUp"===e.key,u=o&&"ArrowDown"===e.key;if(a||u){let{length:e}=(0,l.Mk)(r);if(t.end!==e)return}else if((n||i)&&0!==t.start)return}let n=c();if($(e)||void 0!==n){if(!H(e))return;e.preventDefault(),t.move(n)}}}),q=(0,c.useMemo)(()=>({id:E,baseElement:C}),[E,C]);return g=(0,i.w7)(g,e=>(0,k.jsx)(n.U0.Provider,{value:q,children:e}),[q]),g=(0,o.ko)((0,o.IA)({id:E,"data-active-item":O||void 0},g),{ref:(0,i.SV)(S,g.ref),tabIndex:L?g.tabIndex:-1,onFocus:j,onBlurCapture:z,onKeyDown:G}),g=_(g),g=m((0,o.ko)((0,o.IA)({store:t},g),{getItem:D,shouldRegisterItem:!!E&&g.shouldRegisterItem})),(0,u.HR)((0,o.ko)((0,o.IA)({},g),{"aria-setsize":R,"aria-posinset":P}))});(0,a.ph)((0,a.Rf)(function(e){let t=T(e);return(0,a.n)("button",t)}));var I=(0,a.ab)(function(e){var t,r,{store:n,value:a,hideOnClick:d,setValueOnClick:p,selectValueOnClick:g=!0,resetValueOnSelect:m,focusOnHover:v=!1,moveOnKeyPress:b=!0,getItem:E}=e,S=(0,o.YG)(e,["store","value","hideOnClick","setValueOnClick","selectValueOnClick","resetValueOnSelect","focusOnHover","moveOnKeyPress","getItem"]);let _=(0,h.UW)();n=n||_,(0,u.V1)(n,!1);let{resetValueOnSelectState:w,multiSelectable:A,selected:I}=(0,x.PX)(n,{resetValueOnSelectState:"resetValueOnSelect",multiSelectable:e=>Array.isArray(e.selectedValue),selected:e=>(function(e,t){if(null!=t)return null!=e&&(Array.isArray(e)?e.includes(t):e===t)})(e.selectedValue,a)}),N=(0,c.useCallback)(e=>{let t=(0,o.ko)((0,o.IA)({},e),{value:a});return E?E(t):t},[a,E]);p=null!=p?p:!A,d=null!=d?d:null!=a&&!A;let C=S.onClick,O=(0,i.O4)(p),R=(0,i.O4)(g),P=(0,i.O4)(null!=(r=null!=m?m:w)?r:A),L=(0,i.O4)(d),D=(0,i._q)(e=>{null==C||C(e),e.defaultPrevented||(0,y.RN)(e)||!(0,y.$b)(e)&&(null!=a&&(R(e)&&(P(e)&&(null==n||n.resetValue()),null==n||n.setSelectedValue(e=>Array.isArray(e)?e.includes(a)?e.filter(e=>e!==a):[...e,a]:a)),O(e)&&(null==n||n.setValue(a))),L(e)&&(null==n||n.hide()))}),M=S.onKeyDown,F=(0,i._q)(e=>{if(null==M||M(e),e.defaultPrevented)return;let t=null==n?void 0:n.getState().baseElement;!t||(0,s.AJ)(t)||(1===e.key.length||"Backspace"===e.key||"Delete"===e.key)&&(queueMicrotask(()=>t.focus()),(0,l.mB)(t)&&(null==n||n.setValue(t.value)))});A&&null!=I&&(S=(0,o.IA)({"aria-selected":I},S)),S=(0,i.w7)(S,e=>(0,k.jsx)(h.L7.Provider,{value:a,children:(0,k.jsx)(h.Hh.Provider,{value:null!=I&&I,children:e})}),[a,I]);let j=(0,c.useContext)(h.Hf);S=(0,o.ko)((0,o.IA)({role:null!=(t=({menu:"menuitem",listbox:"option",tree:"treeitem"})[j])?t:"option",children:a},S),{onClick:D,onKeyDown:F});let U=(0,i.O4)(b);return S=T((0,o.ko)((0,o.IA)({store:n},S),{getItem:N,moveOnKeyPress:e=>{if(!U(e))return!1;let t=new Event("combobox-item-move"),r=null==n?void 0:n.getState().baseElement;return null==r||r.dispatchEvent(t),!0}})),S=f((0,o.IA)({store:n,focusOnHover:v},S))}),N=(0,a.ph)((0,a.Rf)(function(e){let t=I(e);return(0,a.n)("div",t)}))},546050:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(52515),a=r(30724);
1let i=function(e){var t=(0,n.useRef)(0),r=(0,n.useState)(e),i=r[0],o=r[1],l=(0,n.useCallback)(function(e){cancelAnimationFrame(t.current),t.current=requestAnimationFrame(function(){o(e)})},[]);return(0,a.A)(function(){cancelAnimationFrame(t.current)}),[i,l]};var o=r(158025);let l=function(e,t){void 0===e&&(e=1/0),void 0===t&&(t=1/0);var r=i({width:o.oc?window.innerWidth:e,height:o.oc?window.innerHeight:t}),a=r[0],l=r[1];return(0,n.useEffect)(function(){if(o.oc){var e=function(){l({width:window.innerWidth,height:window.innerHeight})};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}},[]),a}},552349:()=>{Prism.languages.go=Prism.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),Prism.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete Prism.languages.go["class-name"]},559595:(e,t,r)=>{"use strict";r.d(t,{B1:()=>u,OH:()=>c,Ts:()=>s,UE:()=>g,Up:()=>f,cJ:()=>p,mj:()=>l,od:()=>h,vA:()=>d,y$:()=>o});var n=r(774850),a=r(316949);function i(e,t){let r=e.__unstableInternals;return(0,n.V1)(r,"Invalid store"),r[t]}function o(e,...t){let r=e,i=r,l=Symbol(),u=n.lQ,d=new Set,p=new Set,f=new Set,h=new Set,g=new Set,m=new WeakMap,v=new WeakMap,y=(e,t,r=h)=>(r.add(t),v.set(t,e),()=>{var e;null==(e=m.get(t))||e(),m.delete(t),v.delete(t),r.delete(t)}),b=(e,o,s=!1)=>{var u;if(!(0,n.mQ)(r,e))return;let c=(0,n.Qh)(o,r[e]);if(c===r[e])return;if(!s)for(let r of t)null==(u=null==r?void 0:r.setState)||u.call(r,e,c);let d=r;r=(0,a.ko)((0,a.IA)({},r),{[e]:c});let f=Symbol();l=f,p.add(e);let y=(t,n,a)=>{var i;let o=v.get(t);(!o||o.some(t=>a?a.has(t):t===e))&&(null==(i=m.get(t))||i(),m.set(t,t(r,n)))};for(let e of h)y(e,d);queueMicrotask(()=>{if(l!==f)return;let e=r;for(let e of g)y(e,i,p);i=e,p.clear()})},E={getState:()=>r,setState:b,__unstableInternals:{setup:e=>(f.add(e),()=>f.delete(e)),init:()=>{let e=d.size,a=Symbol();d.add(a);let i=()=>{d.delete(a),d.size||u()};if(e)return i;let o=(0,n.xD)(r).map(e=>(0,n.cy)(...t.map(t=>{var r;let a=null==(r=null==t?void 0:t.getState)?void 0:r.call(t);if(a&&(0,n.mQ)(a,e))return c(t,[e],t=>{b(e,t[e],!0)})}))),l=[];for(let e of f)l.push(e());let p=t.map(s);return u=(0,n.cy)(...o,...l,...p),i},subscribe:(e,t)=>y(e,t),sync:(e,t)=>(m.set(t,t(r,r)),y(e,t)),batch:(e,t)=>(m.set(t,t(r,i)),y(e,t,g)),pick:e=>o((0,n.Up)(r,e),E),omit:e=>o((0,n.cJ)(r,e),E)}};return E}function l(e,...t){if(e)return i(e,"setup")(...t)}function s(e,...t){if(e)return i(e,"init")(...t)}function u(e,...t){if(e)return i(e,"subscribe")(...t)}function c(e,...t){if(e)return i(e,"sync")(...t)}function d(e,...t){if(e)return i(e,"batch")(...t)}function p(e,...t){if(e)return i(e,"omit")(...t)}function f(e,...t){if(e)return i(e,"pick")(...t)}function h(...e){let t=o(e.reduce((e,t)=>{var r;let n=null==(r=null==t?void 0:t.getState)?void 0:r.call(t);return n?Object.assign(e,n):e},{}),...e);return Object.assign({},...e,t)}function g(e,t){}},560875:(e,t,r)=>{"use strict";r.d(t,{nL:()=>C,jV:()=>U,VH:()=>z,LZ:()=>R,oL:()=>P,Vv:()=>L,Y8:()=>D,DP:()=>M,ae:()=>F,qT:()=>O,C4:()=>j,YU:()=>B,jQ:()=>V,xD:()=>$,xu:()=>H,jH:()=>G,yg:()=>q});var n=r(453641),a=r(583896),i=r(865678),o=r(585713);let l=(0,n.Kt)({key:a.t.blockquote,node:{isElement:!0},parsers:{html:{deserializer:{rules:[{validNodeName:"BLOCKQUOTE"}]}}},render:{as:"blockquote"},rules:{break:{default:"lineBreak",empty:"reset",emptyLineEnd:"deleteExit"},delete:{start:"reset"}}}).extendTransforms(({editor:e,type:t})=>({toggle:()=>{e.tf.toggleBlock(t)}})),s={isElement:!0},u={break:{splitReset:!0},merge:{removeEmpty:!0}},c=(0,n.qt)({key:"h1",node:s,parsers:{html:{deserializer:{rules:[{validNodeName:"H1"}]}}},render:{as:"h1"},rules:u}).extendTransforms(({editor:e,type:t})=>({toggle:()=>{e.tf.toggleBlock(t)}})),d=(0,n.qt)({key:"h2",node:s,parsers:{html:{deserializer:{rules:[{validNodeName:"H2"}]}}},render:{as:"h2"},rules:u}).extendTransforms(({editor:e,type:t})=>({toggle:()=>{e.tf.toggleBlock(t)}})),p=(0,n.qt)({key:"h3",node:s,parsers:{html:{deserializer:{rules:[{validNodeName:"H3"}]}}},render:{as:"h3"},rules:u}).extendTransforms(({editor:e,type:t})=>({toggle:()=>{e.tf.toggleBlock(t)}})),f=(0,n.qt)({key:"h4",node:s,parsers:{html:{deserializer:{rules:[{validNodeName:"H4"}]}}},render:{as:"h4"},rules:u}).extendTransforms(({editor:e,type:t})=>({toggle:()=>{e.tf.toggleBlock(t)}})),h=(0,n.qt)({key:"h5",node:s,parsers:{html:{deserializer:{rules:[{validNodeName:"H5"}]}}},render:{as:"h5"},rules:u}).extendTransforms(({editor:e,type:t})=>({toggle:()=>{e.tf.toggleBlock(t)}})),g=(0,n.qt)({key:"h6",node:s,parsers:{html:{deserializer:{rules:[{validNodeName:"H6"}]}}},render:{as:"h6"},rules:u}).extendTransforms(({editor:e,type:t})=>({toggle:()=>{e.tf.toggleBlock(t)}})),m=(0,n.qt)({key:"heading",options:{levels:[1,2,3,4,5,6]}}).extend(({plugin:e})=>{let{options:{levels:t}}=e,r={1:c,2:d,3:p,4:f,5:h,6:g};return{plugins:(Array.isArray(t)?t:Array.from({length:t||6},(e,t)=>t+1)).map(e=>r[e])}}),v=(0,n.Kt)({key:a.t.hr,node:{isElement:!0,isVoid:!0},parsers:{html:{deserializer:{rules:[{validNodeName:"HR"}]}}},render:{as:"hr"}}),y=(0,n.Kt)({key:a.t.bold,node:{isLeaf:!0},parsers:{html:{deserializer:{rules:[{validNodeName:["STRONG","B"]},{validStyle:{fontWeight:["600","700","bold"]}}],query:({element:e})=>!(0,i.sR)(e,e=>"normal"===e.style.fontWeight)}}},render:{as:"strong"}}).extendTransforms(({editor:e,type:t})=>({toggle:()=>{e.tf.toggleMark(t)}})),b=(0,n.Kt)({key:a.t.code,node:{isLeaf:!0},parsers:{html:{deserializer:{rules:[{validNodeName:["CODE"]},{validStyle:{fontFamily:"Consolas"}}],query:({element:e})=>(0,o.No)(e,"P")?.style.fontFamily!=="Consolas"&&!(0,o.No)(e,"PRE")}}},render:{as:"code"},rules:{selection:{affinity:"hard"}}}).extendTransforms(({editor:e,type:t})=>({toggle:()=>{e.tf.toggleMark(t)}})),E=(0,n.Kt)({key:a.t.italic,node:{isLeaf:!0},parsers:{html:{deserializer:{rules:[{validNodeName:["EM","I"]},{validStyle:{fontStyle:"italic"}}],query:({element:e})=>!(0,i.sR)(e,e=>"normal"===e.style.fontStyle)}}},render:{as:"em"}}).extendTransforms(({editor:e,type:t})=>({toggle:()=>{e.tf.toggleMark(t)}})),S=(0,n.Kt)({key:a.t.strikethrough,node:{isLeaf:!0},parsers:{html:{deserializer:{rules:[{validNodeName:["S","DEL","STRIKE"]},{validStyle:{textDecoration:"line-through"}}],query:({element:e})=>!(0,i.sR)(e,e=>"none"===e.style.textDecoration)}}},render:{as:"s"},rules:{selection:{affinity:"directional"}}}).extendTransforms(({editor:e,type:t})=>({toggle:()=>{e.tf.toggleMark(t)}})),_=(0,n.Kt)({key:a.t.sub,node:{isLeaf:!0},parsers:{html:{deserializer:{rules:[{validNodeName:["SUB"]},{validStyle:{verticalAlign:"sub"}}]}}},render:{as:"sub"},rules:{selection:{affinity:"directional"}}}).extendTransforms(({editor:e,type:t})=>({toggle:()=>{e.tf.toggleMark(t,{remove:e.getType(a.t.sup)})}})),w=(0,n.Kt)({key:a.t.sup,node:{isLeaf:!0},parsers:{html:{deserializer:{rules:[{validNodeName:["SUP"]},{validStyle:{verticalAlign:"super"}}]}}},render:{as:"sup"},rules:{selection:{affinity:"directional"}}}).extendTransforms(({editor:e,type:t})=>({toggle:()=>{e.tf.toggleMark(t,{remove:e.getType(a.t.sub)})}})),x=(0,n.Kt)({key:a.t.underline,node:{isLeaf:!0},parsers:{html:{deserializer:{rules:[{validNodeName:["U"]},{validStyle:{textDecoration:["underline"]}}],query:({element:e})=>!(0,i.sR)(e,e=>"none"===e.style.textDecoration)}}},render:{as:"u"}}).extendTransforms(({editor:e,type:t})=>({toggle:()=>{e.tf.toggleMark(t)}})),k=(0,n.Kt)({plugins:[y,b,E,S,_,w,x]}),A=(0,n.Kt)({key:a.t.highlight,node:{isLeaf:!0},parsers:{html:{deserializer:{rules:[{validNodeName:["MARK"]}]}}},render:{as:"mark"},rules:{selection:{affinity:"directional"}}}).extendTransforms(({editor:e,type:t})=>({toggle:()=>{e.tf.toggleMark(t)}})),T=(0,n.Kt)({key:a.t.kbd,node:{isLeaf:!0},parsers:{html:{deserializer:{rules:[{validNodeName:["KBD"]}]}}},render:{as:"kbd"},rules:{selection:{affinity:"hard"}}}).extendTransforms(({editor:e,type:t})=>({toggle:()=>{e.tf.toggleMark(t)}}));var I=r(878609),N=r(649944);let C=(0,I.HS)(l),O=(0,I.HS)(m),R=(0,I.HS)(c),P=(0,I.HS)(d),L=(0,I.HS)(p),D=(0,I.HS)(f),M=(0,I.HS)(h),F=(0,I.HS)(g),j=(0,I.HS)(v);(0,I.SU)({plugins:[C,O,j]});let U=(0,I.HS)(y,{shortcuts:{toggle:{keys:[[N.Uz.Mod,"b"]]}}}),z=(0,I.HS)(b),B=(0,I.HS)(E,{shortcuts:{toggle:{keys:[[N.Uz.Mod,"i"]]}}}),$=(0,I.HS)(S),H=(0,I.HS)(_),G=(0,I.HS)(w),q=(0,I.HS)(x,{shortcuts:{toggle:{keys:[[N.Uz.Mod,"u"]]}}});(0,I.HS)(k,{plugins:[U,z,B,$,H,G,q]}),(0,I.HS)(A);let V=(0,I.HS)(T)},567023:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("Heading5",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M17 13v-3h4",key:"1nvgqp"}
1],["path",{d:"M17 17.7c.4.2.8.3 1.3.3 1.5 0 2.7-1.1 2.7-2.5S19.8 13 18.3 13H17",key:"2nebdn"}]])},568565:e=>{e.exports={style:{fontFamily:"'Dancing Script', 'Dancing Script Fallback'",fontStyle:"normal"},className:"__className_87414f"}},568779:e=>{e.exports={verified:"icons_verified__lovuu"}},573420:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("AlignLeft",[["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M17 18H3",key:"1amg6g"}],["path",{d:"M21 6H3",key:"1jwq7v"}]])},576073:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("Trash",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}]])},580977:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("Heading3",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2",key:"68ncm8"}],["path",{d:"M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2",key:"1ejuhz"}]])},581082:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("IndentDecrease",[["path",{d:"M21 12H11",key:"wd7e0v"}],["path",{d:"M21 18H11",key:"4wu86t"}],["path",{d:"M21 6H11",key:"6dy1d6"}],["path",{d:"m7 8-4 4 4 4",key:"o5hrat"}]])},587300:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("Strikethrough",[["path",{d:"M16 4H9a3 3 0 0 0-2.83 4",key:"43sutm"}],["path",{d:"M14 12a4 4 0 0 1 0 8H6",key:"nlfj13"}],["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}]])},592008:(e,t,r)=>{"use strict";r.d(t,{E:()=>l,W:()=>o});var n=r(904871),a=r(377894),i=r(394595);function o(e,t,r){return(0,a.w5)(t,[r.store,r.disclosure]),(0,n.Tz)(e,r,"open","setOpen"),(0,n.Tz)(e,r,"mounted","setMounted"),(0,n.Tz)(e,r,"animated"),Object.assign(e,{disclosure:r.disclosure})}function l(e={}){let[t,r]=(0,n.Pj)(i.h,e);return o(t,r,e)}
1},600262:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])},601195:(e,t,r)=>{"use strict";r.d(t,{v:()=>o});var n=r(354372),a=r(481651),i=r(490243);function o(e={}){let t=(0,n.KQ)(e);return(0,i.jsx)(a.CE,{value:t,children:e.children})}},601513:(e,t,r)=>{"use strict";r.d(t,{Q:()=>Z});var n,a,i=r(490243),o=r(387686),l=r(537811);function s(e,t,...r){if(void 0!==l&&void 0===t)throw Error("invariant requires an error message argument");if(!e){let e;if(void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{let n=0;(e=Error(t.replace(/%s/g,function(){return r[n++]}))).name="Invariant Violation"}throw e.framesToPop=1,e}}function u(e){return"object"==typeof e}let c="dnd-core/INIT_COORDS",d="dnd-core/BEGIN_DRAG",p="dnd-core/PUBLISH_DRAG_SOURCE",f="dnd-core/HOVER",h="dnd-core/DROP",g="dnd-core/END_DRAG";function m(e,t){return{type:c,payload:{sourceClientOffset:t||null,clientOffset:e||null}}}let v={type:c,payload:{clientOffset:null,sourceClientOffset:null}};function y(e,t){return null===t?null===e:Array.isArray(e)?e.some(e=>e===t):e===t}class b{receiveBackend(e){this.backend=e}getMonitor(){return this.monitor}getBackend(){return this.backend}getRegistry(){return this.monitor.registry}getActions(){var e,t,r,n,a;let i=this,{dispatch:o}=this.store,l={beginDrag:(e=this,function(t=[],r={publishSource:!0}){var n,a,i;let{publishSource:o=!0,clientOffset:l,getSourceClientOffset:c}=r,p=e.getMonitor(),f=e.getRegistry();e.dispatch(m(l)),n=t,a=p,i=f,s(!a.isDragging(),"Cannot call beginDrag while dragging."),n.forEach(function(e){s(i.getSource(e),"Expected sourceIds to be registered.")});let h=function(e,t){let r=null;for(let n=e.length-1;n>=0;n--)if(t.canDragSource(e[n])){r=e[n];break}return r}(t,p);if(null==h)return void e.dispatch(v);let g=null;if(l){if(!c)throw Error("getSourceClientOffset must be defined");s("function"==typeof c,"When clientOffset is provided, getSourceClientOffset must be a function."),g=c(h)}e.dispatch(m(l,g));let y=f.getSource(h).beginDrag(p,h);if(null!=y)return s(u(y),"Item must be an object."),f.pinSource(h),{type:d,payload:{itemType:f.getSourceType(h),item:y,sourceId:h,clientOffset:l||null,sourceClientOffset:g||null,isSourcePublic:!!o}}}),publishDragSource:(t=this,function(){if(t.getMonitor().isDragging())return{type:p}}),hover:(r=this,function(e,{clientOffset:t}={}){var n,a,i;s(Array.isArray(e),"Expected targetIds to be an array.");let o=e.slice(0),l=r.getMonitor(),u=r.getRegistry();return function(e,t,r){for(let n=e.length-1;n>=0;n--){let a=e[n];y(t.getTargetType(a),r)||e.splice(n,1)}}(o,u,l.getItemType()),function(e,t,r){s(t.isDragging(),"Cannot call hover while not dragging."),s(!t.didDrop(),"Cannot call hover after drop.");for(let t=0;t<e.length;t++){let n=e[t];s(e.lastIndexOf(n)===t,"Expected targetIds to be unique in the passed array."),s(r.getTarget(n),"Expected targetIds to be registered.")}}(o,l,u),n=o,a=l,i=u,n.forEach(function(e){i.getTarget(e).hover(a,e)}),{type:f,payload:{targetIds:o,clientOffset:t||null}}}),drop:(n=this,function(e={}){var t,r;let a,i=n.getMonitor(),o=n.getRegistry();s((t=i).isDragging(),"Cannot call drop while not dragging."),s(!t.didDrop(),"Cannot call drop twice during one drag operation."),((a=(r=i).getTargetIds().filter(r.canDropOnTarget,r)).reverse(),a).forEach((t,r)=>{var a,l,c,d,p;let f,g,m={type:h,payload:{dropResult:function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},e,(a=t,l=r,c=o,d=i,s(void 0===(p=g=(f=c.getTarget(a))?f.drop(d,a):void 0)||u(p),"Drop result must either be an object or undefined."),void 0===g&&(g=0===l?{}:d.getDropResult()),g))}};n.dispatch(m)})}),endDrag:(a=this,function(){let e=a.getMonitor(),t=a.getRegistry();s(e.isDragging(),"Cannot call endDrag while not dragging.");let r=e.getSourceId();return null!=r&&(t.getSource(r,!0).endDrag(e,r),t.unpinSource()),{type:g}})};return Object.keys(l).reduce((e,t)=>
1{let r=l[t];return e[t]=(...e)=>{let t=r.apply(i,e);void 0!==t&&o(t)},e},{})}dispatch(e){this.store.dispatch(e)}constructor(e,t){this.isSetUp=!1,this.handleRefCountChange=()=>{let e=this.store.getState().refCount>0;this.backend&&(e&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!e&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1))},this.store=e,this.monitor=t,e.subscribe(this.handleRefCountChange)}}function E(e,t){return{x:e.x-t.x,y:e.y-t.y}}let S=[],_=[];S.__IS_NONE__=!0,_.__IS_ALL__=!0;class w{subscribeToStateChange(e,t={}){let{handlerIds:r}=t;s("function"==typeof e,"listener must be a function."),s(void 0===r||Array.isArray(r),"handlerIds, when specified, must be an array of strings.");let n=this.store.getState().stateId,a=()=>{let t=this.store.getState(),a=t.stateId;try{a===n||a===n+1&&!function(e,t){return e!==S&&(e===_||void 0===t||t.filter(t=>e.indexOf(t)>-1).length>0)}(t.dirtyHandlerIds,r)||e()}finally{n=a}};return this.store.subscribe(a)}subscribeToOffsetChange(e){s("function"==typeof e,"listener must be a function.");let t=this.store.getState().dragOffset,r=()=>{let r=this.store.getState().dragOffset;r!==t&&(t=r,e())};return this.store.subscribe(r)}canDragSource(e){if(!e)return!1;let t=this.registry.getSource(e);return s(t,`Expected to find a valid source. sourceId=${e}`),!this.isDragging()&&t.canDrag(this,e)}canDropOnTarget(e){if(!e)return!1;let t=this.registry.getTarget(e);return s(t,`Expected to find a valid target. targetId=${e}`),!(!this.isDragging()||this.didDrop())&&y(this.registry.getTargetType(e),this.getItemType())&&t.canDrop(this,e)}isDragging(){return!!this.getItemType()}isDraggingSource(e){if(!e)return!1;let t=this.registry.getSource(e,!0);return s(t,`Expected to find a valid source. sourceId=${e}`),!!this.isDragging()&&!!this.isSourcePublic()&&this.registry.getSourceType(e)===this.getItemType()&&t.isDragging(this,e)}isOverTarget(e,t={shallow:!1}){if(!e)return!1;let{shallow:r}=t;if(!this.isDragging())return!1;let n=this.registry.getTargetType(e),a=this.getItemType();if(a&&!y(n,a))return!1;let i=this.getTargetIds();if(!i.length)return!1;let o=i.indexOf(e);return r?o===i.length-1:o>-1}getItemType(){return this.store.getState().dragOperation.itemType}getItem(){return this.store.getState().dragOperation.item}getSourceId(){return this.store.getState().dragOperation.sourceId}getTargetIds(){return this.store.getState().dragOperation.targetIds}getDropResult(){return this.store.getState().dragOperation.dropResult}didDrop(){return this.store.getState().dragOperation.didDrop}isSourcePublic(){return!!this.store.getState().dragOperation.isSourcePublic}getInitialClientOffset(){return this.store.getState().dragOffset.initialClientOffset}getInitialSourceClientOffset(){return this.store.getState().dragOffset.initialSourceClientOffset}getClientOffset(){return this.store.getState().dragOffset.clientOffset}getSourceClientOffset(){return function(e){let{clientOffset:t,initialClientOffset:r,initialSourceClientOffset:n}=e;return t&&r&&n?E({x:t.x+n.x,y:t.y+n.y},r):null}(this.store.getState().dragOffset)}getDifferenceFromInitialOffset(){return function(e){let{clientOffset:t,initialClientOffset:r}=e;return t&&r?E(t,r):null}(this.store.getState().dragOffset)}constructor(e,t){this.store=e,this.registry=t}}let x="u">typeof global?global:self,k=x.MutationObserver||x.WebKitMutationObserver;function A(e){return function(){let t=setTimeout(n,0),r=setInterval(n,50);function n(){clearTimeout(t),clearInterval(r),e()}}}let T="function"==typeof k?function(e){let t=1,r=new k(e),n=document.createTextNode("");return r.observe(n,{characterData:!0}),function(){n.data=t=-t}}:A;class I{enqueueTask(e){let{queue:t,requestFlush:r}=this;t.length||(r(),this.flushing=!0),t[t.length]=e}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{let{queue:e}=this;for(;this.index<e.length;){let t=this.index;if(this.index++,e[t].call(),this.index>this.capacity){for(let t=0,r=e.length-this.index;t<r;t++)e[t]=e[t+this.index];e.length-=this.index,this.index=0}}e.length=0,this.index=0,this.flushing=!1},this.registerPendingError=e=>{this.pendingErrors.push(e),this.requestErrorThrow()},this.requestFlush=T(this.flush),this.requestErrorThrow=A(()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()})}}class N{call(){try{this.task&&this.task()}catch(e){this.onError(e)}finally{this.task=null,this.release(this)}}constructor(e,t){this.onError=e,this.release=t,this.task=null}}class C{create(e){let t=this.freeTasks,r=t.length?t.pop():new N(this.onError,e=>t[t.length]=e);return r.task=e,r}constructor(e){this.onError=e,this.freeTasks=[]}}let O=new I,R=new C(O.registerPendingError),P="dnd-core/ADD_SOURCE",L="dnd-core/ADD_TARGET",D="dnd-core/REMOVE_SOURCE",M="dnd-core/REMOVE_TARGET";
1function F(e,t){t&&Array.isArray(e)?e.forEach(e=>F(e,!1)):s("string"==typeof e||"symbol"==typeof e,t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}(n=a||(a={})).SOURCE="SOURCE",n.TARGET="TARGET";let j=0;function U(e){switch(e[0]){case"S":return a.SOURCE;case"T":return a.TARGET;default:throw Error(`Cannot parse handler ID: ${e}`)}}function z(e,t){let r=e.entries(),n=!1;do{let{done:e,value:[,a]}=r.next();if(a===t)return!0;n=!!e}while(!n);return!1}class B{addSource(e,t){F(e),s("function"==typeof t.canDrag,"Expected canDrag to be a function."),s("function"==typeof t.beginDrag,"Expected beginDrag to be a function."),s("function"==typeof t.endDrag,"Expected endDrag to be a function.");let r=this.addHandler(a.SOURCE,e,t);return this.store.dispatch({type:P,payload:{sourceId:r}}),r}addTarget(e,t){F(e,!0),s("function"==typeof t.canDrop,"Expected canDrop to be a function."),s("function"==typeof t.hover,"Expected hover to be a function."),s("function"==typeof t.drop,"Expected beginDrag to be a function.");let r=this.addHandler(a.TARGET,e,t);return this.store.dispatch({type:L,payload:{targetId:r}}),r}containsHandler(e){return z(this.dragSources,e)||z(this.dropTargets,e)}getSource(e,t=!1){return s(this.isSourceId(e),"Expected a valid source ID."),t&&e===this.pinnedSourceId?this.pinnedSource:this.dragSources.get(e)}getTarget(e){return s(this.isTargetId(e),"Expected a valid target ID."),this.dropTargets.get(e)}getSourceType(e){return s(this.isSourceId(e),"Expected a valid source ID."),this.types.get(e)}getTargetType(e){return s(this.isTargetId(e),"Expected a valid target ID."),this.types.get(e)}isSourceId(e){return U(e)===a.SOURCE}isTargetId(e){return U(e)===a.TARGET}removeSource(e){var t;s(this.getSource(e),"Expected an existing source."),this.store.dispatch({type:D,payload:{sourceId:e}}),t=()=>{this.dragSources.delete(e),this.types.delete(e)},O.enqueueTask(R.create(t))}removeTarget(e){s(this.getTarget(e),"Expected an existing target."),this.store.dispatch({type:M,payload:{targetId:e}}),this.dropTargets.delete(e),this.types.delete(e)}pinSource(e){let t=this.getSource(e);s(t,"Expected an existing source."),this.pinnedSourceId=e,this.pinnedSource=t}unpinSource(){s(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}addHandler(e,t,r){let n=function(e){let t=(j++).toString();switch(e){case a.SOURCE:return`S${t}`;case a.TARGET:return`T${t}`;default:throw Error(`Unknown Handler Role: ${e}`)}}(e);return this.types.set(n,t),e===a.SOURCE?this.dragSources.set(n,r):e===a.TARGET&&this.dropTargets.set(n,r),n}constructor(e){this.types=new Map,this.dragSources=new Map,this.dropTargets=new Map,this.pinnedSourceId=null,this.pinnedSource=null,this.store=e}}let $={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function H(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}let G={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function q(e={},t){var r;return{dirtyHandlerIds:function(e=S,t){let r,n,a;switch(t.type){case f:break;case P:case L:case M:case D:return S;default:return _}let{targetIds:i=[],prevTargetIds:o=[]}=t.payload,l=(r=new Map,n=e=>{r.set(e,r.has(e)?r.get(e)+1:1)},i.forEach(n),o.forEach(n),a=[],r.forEach((e,t)=>{1===e&&a.push(t)}),a);if(!(l.length>0||!function(e,t,r=(e,t)=>e===t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!r(e[n],t[n]))return!1;return!0}(i,o)))return S;let s=o[o.length-1],u=i[i.length-1];return s!==u&&(s&&l.push(s),u&&l.push(u)),l}(e.dirtyHandlerIds,{type:t.type,payload:function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}
1))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},t.payload,{prevTargetIds:(r=[],"dragOperation.targetIds".split(".").reduce((e,t)=>e&&e[t]?e[t]:r||null,e))})}),dragOffset:function(e=$,t){let{payload:r}=t;switch(t.type){case c:case d:return{initialSourceClientOffset:r.sourceClientOffset,initialClientOffset:r.clientOffset,clientOffset:r.clientOffset};case f:var n,a;if(n=e.clientOffset,a=r.clientOffset,!n&&!a||n&&a&&n.x===a.x&&n.y===a.y)return e;return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},e,{clientOffset:r.clientOffset});case g:case h:return $;default:return e}}(e.dragOffset,t),refCount:function(e=0,t){switch(t.type){case P:case L:return e+1;case D:case M:return e-1;default:return e}}(e.refCount,t),dragOperation:function(e=G,t){let{payload:r}=t;switch(t.type){case d:return H({},e,{itemType:r.itemType,item:r.item,sourceId:r.sourceId,isSourcePublic:r.isSourcePublic,dropResult:null,didDrop:!1});case p:return H({},e,{isSourcePublic:!0});case f:return H({},e,{targetIds:r.targetIds});case M:var n,a;if(-1===e.targetIds.indexOf(r.targetId))return e;return H({},e,{targetIds:(n=e.targetIds,a=r.targetId,n.filter(e=>e!==a))});case h:return H({},e,{dropResult:r.dropResult,didDrop:!0,targetIds:[]});case g:return H({},e,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}}(e.dragOperation,t),stateId:function(e=0){return e+1}(e.stateId)}}var V=r(52515);let K=(0,V.createContext)({dragDropManager:void 0}),Y=0,W=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");var Z=(0,V.memo)(function(e){var t,{children:r}=e;let[n,a]="manager"in(t=function(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}(e,["children"]))?[{dragDropManager:t.manager}
1,!1]:[function(e,t=X(),r,n){return t[W]||(t[W]={dragDropManager:function(e,t,r={},n=!1){var a;let i,l=(a=n,i="u">typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__,(0,o.createStore)(q,a&&i&&i({name:"dnd-core",instanceId:"dnd-core"}))),s=new w(l,new B(l)),u=new b(l,s),c=e(u,t,r);return u.receiveBackend(c),u}(e,t,r,n)}),t[W]}(t.backend,t.context,t.options,t.debugMode),!t.context];return(0,V.useEffect)(()=>{if(a){let e=X();return++Y,()=>{0==--Y&&(e[W]=null)}}},[]),(0,i.jsx)(K.Provider,{value:n,children:r})});function X(){return"u">typeof global?global:window}},603682:()=>{var e,t,r;t=(e=Prism).util.clone(e.languages.typescript),e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],(r=e.languages.tsx.tag).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+r.pattern.source+")",r.pattern.flags),r.lookbehind=!0},604883:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(470882),a=r(81074),i=r(828616),o=r(558883),l=r(104276);let s=(0,n.A)(function e(t,r,n){if(0===t.length)return r;var s=t[0];if(t.length>1){var u=!(0,l.A)(n)&&(0,a.A)(s,n)&&"object"==typeof n[s]?n[s]:(0,i.A)(t[1])?[]:{};r=e(Array.prototype.slice.call(t,1),r,u)}var c=r;if((0,i.A)(s)&&(0,o.A)(n)){var d=[].concat(n);return d[s]=c,d}var p={};for(var f in n)p[f]=n[f];return p[s]=c,p})},617944:()=>{var e,t;(e=Prism).languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"],t=e.languages.extend("typescript",{}),delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript},626610:()=>{Prism.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[<ox](?:==+|--+|-\.*-)[>ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}},628788:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(940477),a=r(367624),i=r(304330),o=r(702967);let l=(0,n.A)(function(e,t){for(var r=new i.A,n=0;n<e.length;n+=1)r.add(e[n]);return(0,o.A)((0,a.A)(r.has.bind(r),t))})},644662:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("Baseline",[["path",{d:"M4 20h16",key:"14thso"}],["path",{d:"m6 16 6-12 6 12",key:"1b4byz"}],["path",{d:"M8 12h8",key:"1wcyev"}]])},647997:(e,t,r)=>{"use strict";r.d(t,{uB:()=>C});var n=/[\\\/_+.#"@\[\(\{&]/,a=/[\\\/_+.#"@\[\(\{&]/g,i=/[\s-]/,o=/[\s-]/g;function l(e){return e.toLowerCase().replace(o," ")}
1var s=r(48384),u=r(52515),c=r(233332),d=r(979827),p=r(320074),f='[cmdk-group=""]',h='[cmdk-group-items=""]',g='[cmdk-item=""]',m=`${g}:not([aria-disabled="true"])`,v="cmdk-item-select",y="data-value",b=(e,t,r)=>{var s;return s=e,function e(t,r,l,s,u,c,d){if(c===r.length)return u===t.length?1:.99;var p=`${u},${c}`;if(void 0!==d[p])return d[p];for(var f,h,g,m,v=s.charAt(c),y=l.indexOf(v,u),b=0;y>=0;)(f=e(t,r,l,s,y+1,c+1,d))>b&&(y===u?f*=1:n.test(t.charAt(y-1))?(f*=.8,(g=t.slice(u,y-1).match(a))&&u>0&&(f*=Math.pow(.999,g.length))):i.test(t.charAt(y-1))?(f*=.9,(m=t.slice(u,y-1).match(o))&&u>0&&(f*=Math.pow(.999,m.length))):(f*=.17,u>0&&(f*=Math.pow(.999,y-u))),t.charAt(y)!==r.charAt(c)&&(f*=.9999)),(f<.1&&l.charAt(y-1)===s.charAt(c+1)||s.charAt(c+1)===s.charAt(c)&&l.charAt(y-1)!==s.charAt(c))&&.1*(h=e(t,r,l,s,y+1,c+2,d))>f&&(f=.1*h),f>b&&(b=f),y=l.indexOf(v,y+1);return d[p]=b,b}(s=r&&r.length>0?`${s+" "+r.join(" ")}`:s,t,l(s),l(t),0,0,{})},E=u.createContext(void 0),S=u.createContext(void 0),_=u.createContext(void 0),w=u.forwardRef((e,t)=>{let r=P(()=>{var t,r;return{search:"",value:null!=(r=null!=(t=e.value)?t:e.defaultValue)?r:"",filtered:{count:0,items:new Map,groups:new Set}}}),n=P(()=>new Set),a=P(()=>new Map),i=P(()=>new Map),o=P(()=>new Set),l=O(e),{label:s,children:p,value:_,onValueChange:w,filter:x,shouldFilter:k,loop:A,disablePointerSelection:T=!1,vimBindings:I=!0,...N}=e,C=(0,d.B)(),L=(0,d.B)(),D=(0,d.B)(),M=u.useRef(null),z=F();R(()=>{if(void 0!==_){let e=_.trim();r.current.value=e,B.emit()}},[_]),R(()=>{z(6,K)},[]);let B=u.useMemo(()=>({subscribe:e=>(o.current.add(e),()=>o.current.delete(e)),snapshot:()=>r.current,setState:(e,t,n)=>{var a,i,o;if(!Object.is(r.current[e],t)){if(r.current[e]=t,"search"===e)V(),G(),z(1,q);else if("value"===e&&(n||z(5,K),(null==(a=l.current)?void 0:a.value)!==void 0)){null==(o=(i=l.current).onValueChange)||o.call(i,null!=t?t:"");return}B.emit()}},emit:()=>{o.current.forEach(e=>e())}}),[]),$=u.useMemo(()=>({value:(e,t,n)=>{var a;t!==(null==(a=i.current.get(e))?void 0:a.value)&&(i.current.set(e,{value:t,keywords:n}),r.current.filtered.items.set(e,H(t,n)),z(2,()=>{G(),B.emit()}))},item:(e,t)=>(n.current.add(e),t&&(a.current.has(t)?a.current.get(t).add(e):a.current.set(t,new Set([e]))),z(3,()=>{V(),G(),r.current.value||q(),B.emit()}),()=>{i.current.delete(e),n.current.delete(e),r.current.filtered.items.delete(e);let t=Y();z(4,()=>{V(),(null==t?void 0:t.getAttribute("id"))===e&&q(),B.emit()})}),group:e=>(a.current.has(e)||a.current.set(e,new Set),()=>{i.current.delete(e),a.current.delete(e)}),filter:()=>l.current.shouldFilter,label:s||e["aria-label"],getDisablePointerSelection:()=>l.current.disablePointerSelection,listId:C,inputId:D,labelId:L,listInnerRef:M}),[]);function H(e,t){var n,a;let i=null!=(a=null==(n=l.current)?void 0:n.filter)?a:b;return e?i(e,r.current.search,t):0}function G(){if(!r.current.search||!1===l.current.shouldFilter)return;let e=r.current.filtered.items,t=[];r.current.filtered.groups.forEach(r=>{let n=a.current.get(r),i=0;n.forEach(t=>{i=Math.max(e.get(t),i)}),t.push([r,i])});let n=M.current;W().sort((t,r)=>{var n,a;let i=t.getAttribute("id"),o=r.getAttribute("id");return(null!=(n=e.get(o))?n:0)-(null!=(a=e.get(i))?a:0)}).forEach(e=>{let t=e.closest(h);t?t.appendChild(e.parentElement===t?e:e.closest(`${h} > *`)):n.appendChild(e.parentElement===n?e:e.closest(`${h} > *`))}),t.sort((e,t)=>t[1]-e[1]).forEach(e=>{var t;let r=null==(t=M.current)?void 0:t.querySelector(`${f}[${y}="${encodeURIComponent(e[0])}"]`);null==r||r.parentElement.appendChild(r)})}function q(){let e=W().find(e=>"true"!==e.getAttribute("aria-disabled")),t=null==e?void 0:e.getAttribute(y);B.setState("value",t||void 0)}function V(){var e,t,o,s;if(!r.current.search||!1===l.current.shouldFilter){r.current.filtered.count=n.current.size;return}r.current.filtered.groups=new Set;let u=0;for(let a of n.current){let n=H(null!=(t=null==(e=i.current.get(a))?void 0:e.value)?t:"",null!=(s=null==(o=i.current.get(a))?void 0:o.keywords)?s:[]);r.current.filtered.items.set(a,n),n>0&&u++}for(let[e,t]of a.current)for(let n of t)if(r.current.filtered.items.get(n)>0){r.current.filtered.groups.add(e);break}r.current.filtered.count=u}function K(){var e,t,r;let n=Y();n&&((null==(e=n.parentElement)?void 0:e.firstChild)===n&&(null==(r=null==(t=n.closest(f))?void 0:t.querySelector('[cmdk-group-heading=""]'))||r.scrollIntoView({block:"nearest"})),n.scrollIntoView({block:"nearest"}))}function Y(){var e;return null==(e=M.current)?void 0:e.querySelector(`${g}[aria-selected="true"]`)}function W(){var e;return Array.from((null==(e=M.current)?void 0:e.querySelectorAll(m))||[])}function Z(e){let t=W()[e];t&&B.setState("value",t.getAttribute(y))}function X(e){var t;let r=Y(),n=W(),a=n.findIndex(e=>e===r),i=n[a+e];null!=(t=l.current)&&t.loop&&(i=a+e<0?n[n.length-1]:a+e===n.length?n[0]:n[a+e]),i&&B.setState("value",i.getAttribute(y))}function Q(e){let t=Y(),r=null==t?void 0:t.closest(f),n;for(;r&&!n;)n=null==(r=e>0?function(e,t){let r=e.nextElementSibling;for(;r;){if(r.matches(t))return r;r=r.nextElementSibling}}(r,f):function(e,t){let r=e.previousElementSibling;for(;r;){if(r.matches(t))return r;r=r.previousElementSibling}}(r,f))?void 0:r.querySelector(m);n?B.setState("value",n.getAttribute(y)):X(e)}let J=()=>Z(W().length-1),ee=e=>
1{e.preventDefault(),e.metaKey?J():e.altKey?Q(1):X(1)},et=e=>{e.preventDefault(),e.metaKey?Z(0):e.altKey?Q(-1):X(-1)};return u.createElement(c.sG.div,{ref:t,tabIndex:-1,...N,"cmdk-root":"",onKeyDown:e=>{var t;if(null==(t=N.onKeyDown)||t.call(N,e),!e.defaultPrevented)switch(e.key){case"n":case"j":I&&e.ctrlKey&&ee(e);break;case"ArrowDown":ee(e);break;case"p":case"k":I&&e.ctrlKey&&et(e);break;case"ArrowUp":et(e);break;case"Home":e.preventDefault(),Z(0);break;case"End":e.preventDefault(),J();break;case"Enter":if(!e.nativeEvent.isComposing&&229!==e.keyCode){e.preventDefault();let t=Y();if(t){let e=new Event(v);t.dispatchEvent(e)}}}}},u.createElement("label",{"cmdk-label":"",htmlFor:$.inputId,id:$.labelId,style:U},s),j(e,e=>u.createElement(S.Provider,{value:B},u.createElement(E.Provider,{value:$},e))))}),x=u.forwardRef((e,t)=>{var r,n;let a=(0,d.B)(),i=u.useRef(null),o=u.useContext(_),l=u.useContext(E),s=O(e),p=null!=(n=null==(r=s.current)?void 0:r.forceMount)?n:null==o?void 0:o.forceMount;R(()=>{if(!p)return l.item(a,null==o?void 0:o.id)},[p]);let f=M(a,i,[e.value,e.children,i],e.keywords),h=u.useContext(S),g=D(e=>e.value&&e.value===f.current),m=D(e=>!!p||!1===l.filter()||!e.search||e.filtered.items.get(a)>0);function y(){var e,t;b(),null==(t=(e=s.current).onSelect)||t.call(e,f.current)}function b(){h.setState("value",f.current,!0)}if(u.useEffect(()=>{let t=i.current;if(!(!t||e.disabled))return t.addEventListener(v,y),()=>t.removeEventListener(v,y)},[m,e.onSelect,e.disabled]),!m)return null;let{disabled:w,value:x,onSelect:k,forceMount:A,keywords:T,...I}=e;return u.createElement(c.sG.div,{ref:L([i,t]),...I,id:a,"cmdk-item":"",role:"option","aria-disabled":!!w,"aria-selected":!!g,"data-disabled":!!w,"data-selected":!!g,onPointerMove:w||l.getDisablePointerSelection()?void 0:b,onClick:w?void 0:y},e.children)}),k=u.forwardRef((e,t)=>{let{heading:r,children:n,forceMount:a,...i}=e,o=(0,d.B)(),l=u.useRef(null),s=u.useRef(null),p=(0,d.B)(),f=u.useContext(E),h=D(e=>!!a||!1===f.filter()||!e.search||e.filtered.groups.has(o));R(()=>f.group(o),[]),M(o,l,[e.value,e.heading,s]);let g=u.useMemo(()=>({id:o,forceMount:a}),[a]);return u.createElement(c.sG.div,{ref:L([l,t]),...i,"cmdk-group":"",role:"presentation",hidden:!h||void 0},r&&u.createElement("div",{ref:s,"cmdk-group-heading":"","aria-hidden":!0,id:p},r),j(e,e=>u.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":r?p:void 0},u.createElement(_.Provider,{value:g},e))))}),A=u.forwardRef((e,t)=>{let{alwaysRender:r,...n}=e,a=u.useRef(null),i=D(e=>!e.search);return r||i?u.createElement(c.sG.div,{ref:L([a,t]),...n,"cmdk-separator":"",role:"separator"}):null}),T=u.forwardRef((e,t)=>{let{onValueChange:r,...n}=e,a=null!=e.value,i=u.useContext(S),o=D(e=>e.search),l=D(e=>e.value),s=u.useContext(E),d=u.useMemo(()=>{var e;let t=null==(e=s.listInnerRef.current)?void 0:e.querySelector(`${g}[${y}="${encodeURIComponent(l)}"]`);return null==t?void 0:t.getAttribute("id")},[]);return u.useEffect(()=>{null!=e.value&&i.setState("search",e.value)},[e.value]),u.createElement(c.sG.input,{ref:t,...n,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":s.listId,"aria-labelledby":s.labelId,"aria-activedescendant":d,id:s.inputId,type:"text",value:a?e.value:o,onChange:e=>{a||i.setState("search",e.target.value),null==r||r(e.target.value)}})}),I=u.forwardRef((e,t)=>{let{children:r,label:n="Suggestions",...a}=e,i=u.useRef(null),o=u.useRef(null),l=u.useContext(E);return u.useEffect(()=>{if(o.current&&i.current){let e=o.current,t=i.current,r,n=new ResizeObserver(()=>{r=requestAnimationFrame(()=>{let r=e.offsetHeight;t.style.setProperty("--cmdk-list-height",r.toFixed(1)+"px")})});return n.observe(e),()=>{cancelAnimationFrame(r),n.unobserve(e)}}},[]),u.createElement(c.sG.div,{ref:L([i,t]),...a,"cmdk-list":"",role:"listbox","aria-label":n,id:l.listId},j(e,e=>u.createElement("div",{ref:L([o,l.listInnerRef]),"cmdk-list-sizer":""},e)))}),N=u.forwardRef((e,t)=>{let{open:r,onOpenChange:n,overlayClassName:a,contentClassName:i,container:o,...l}=e;return u.createElement(s.bL,{open:r,onOpenChange:n},u.createElement(s.ZL,{container:o},u.createElement(s.hJ,{"cmdk-overlay":"",className:a}),u.createElement(s.UC,{"aria-label":e.label,"cmdk-dialog":"",className:i},u.createElement(w,{ref:t,...l}))))}),C=Object.assign(w,{List:I,Item:x,Input:T,Group:k,Separator:A,Dialog:N,Empty:u.forwardRef((e,t)=>
1D(e=>0===e.filtered.count)?u.createElement(c.sG.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null),Loading:u.forwardRef((e,t)=>{let{progress:r,children:n,label:a="Loading...",...i}=e;return u.createElement(c.sG.div,{ref:t,...i,"cmdk-loading":"",role:"progressbar","aria-valuenow":r,"aria-valuemin":0,"aria-valuemax":100,"aria-label":a},j(e,e=>u.createElement("div",{"aria-hidden":!0},e)))})});function O(e){let t=u.useRef(e);return R(()=>{t.current=e}),t}var R="u"<typeof window?u.useEffect:u.useLayoutEffect;function P(e){let t=u.useRef();return void 0===t.current&&(t.current=e()),t}function L(e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}}function D(e){let t=u.useContext(S),r=()=>e(t.snapshot());return(0,p.useSyncExternalStore)(t.subscribe,r,r)}function M(e,t,r,n=[]){let a=u.useRef(),i=u.useContext(E);return R(()=>{var o;let l=(()=>{var e;for(let t of r){if("string"==typeof t)return t.trim();if("object"==typeof t&&"current"in t)return t.current?null==(e=t.current.textContent)?void 0:e.trim():a.current}})(),s=n.map(e=>e.trim());i.value(e,l,s),null==(o=t.current)||o.setAttribute(y,l),a.current=l}),a}var F=()=>{let[e,t]=u.useState(),r=P(()=>new Map);return R(()=>{r.current.forEach(e=>e()),r.current=new Map},[e]),(e,n)=>{r.current.set(e,n),t({})}};function j({asChild:e,children:t},r){let n;return e&&u.isValidElement(t)?u.cloneElement("function"==typeof(n=t.type)?n(t.props):"render"in n?n.render(t.props):t,{ref:t.ref},r(t.props.children)):r(t)}var U={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"}},652092:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("Pen",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]])},689314:(e,t,r)=>{"use strict";r.d(t,{b:()=>u});var n=r(52515),a=r(233332),i=r(490243),o="horizontal",l=["horizontal","vertical"],s=n.forwardRef((e,t)=>{var r;let{decorative:n,orientation:s=o,...u}=e,c=(r=s,l.includes(r))?s:o;return(0,i.jsx)(a.sG.div,{"data-orientation":c,...n?{role:"none"}:{"aria-orientation":"vertical"===c?c:void 0,role:"separator"},...u,ref:t})});s.displayName="Separator";var u=s},704443:(e,t,r)=>{"use strict";r.d(t,{HL:()=>L,_p:()=>P,pJ:()=>j,gs:()=>M,To:()=>D});var n=r(944682),a=r(587250),i=r(453641),o=r(583896);let l=(0,i.qt)({key:o.t.caption,options:{focusEndPath:null,focusStartPath:null,query:{allow:[]},visibleId:null}}).extendSelectors(({getOptions:e})=>({isVisible:t=>e().visibleId===t})).overrideEditor(({editor:e,getOptions:t,tf:{apply:r,moveLine:o}})=>({transforms:{apply(o){let{query:s}=t();if("set_selection"===o.type){let t={...e.selection,...o.newProperties};if(e.dom.currentKeyboardEvent&&(0,n.v_)("up",e.dom.currentKeyboardEvent)&&t&&a.Cb.isCollapsed(t)){let r=(0,i.Ut)(e,s.allow),n=e.api.above({at:t,match:{type:r}});if(n){let[t]=n;t.caption&&a.lZ.string({children:t.caption}).length>0&&setTimeout(()=>{e.setOption(l,"focusEndPath",n[1])},0)}}}r(o)},moveLine:r=>!!(()=>{if(!r.reverse){let r=(0,i.Ut)(e,t().query.allow),n=e.api.block({match:{type:r}});if(n)return e.setOption(l,"focusEndPath",n[1]),!0}})()||o(r)}}));var s=r(878609),u=r(815098),c=r(557073),d=r(518583),p=r(52515),f=r(778587),h=r(744316),g=p.useLayoutEffect,m=function(e){var t=p.useRef(e);return g(function(){t.current=e}),t},v=function(e,t){"function"==typeof e?e(t):e.current=t};let y=function(e,t){var r=(0,p.useRef)();return(0,p.useCallback)(function(n){e.current=n,r.current&&v(r.current,null),r.current=t,t&&v(t,n)},[t])};var b={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0",display:"block"},E=function(e){Object.keys(b).forEach(function(t){e.style.setProperty(t,b[t],"important")})},S=null,_=function(e,t){var r=e.scrollHeight;return"border-box"===t.sizingStyle.boxSizing?r+t.borderSize:r-t.paddingSize},w=function(){},x=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak","wordSpacing","scrollbarGutter"],k=!!document.documentElement.currentStyle,A=function(e){var t=window.getComputedStyle(e);
1if(null===t)return null;var r=x.reduce(function(e,r){return e[r]=t[r],e},{}),n=r.boxSizing;if(""===n)return null;k&&"border-box"===n&&(r.width=parseFloat(r.width)+parseFloat(r.borderRightWidth)+parseFloat(r.borderLeftWidth)+parseFloat(r.paddingRight)+parseFloat(r.paddingLeft)+"px");var a=parseFloat(r.paddingBottom)+parseFloat(r.paddingTop),i=parseFloat(r.borderBottomWidth)+parseFloat(r.borderTopWidth);return{sizingStyle:r,paddingSize:a,borderSize:i}};function T(e,t,r){var n=m(r);p.useLayoutEffect(function(){var r=function(e){return n.current(e)};if(e)return e.addEventListener(t,r),function(){return e.removeEventListener(t,r)}},[])}var I=function(e,t){T(document.body,"reset",function(r){e.current.form===r.target&&t(r)})},N=function(e){T(window,"resize",e)},C=function(e){T(document.fonts,"loadingdone",e)},O=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],R=p.forwardRef(function(e,t){var r=e.cacheMeasurements,n=e.maxRows,a=e.minRows,i=e.onChange,o=void 0===i?w:i,l=e.onHeightChange,s=void 0===l?w:l,u=(0,h.A)(e,O),c=void 0!==u.value,d=p.useRef(null),g=y(d,t),m=p.useRef(0),v=p.useRef(),b=function(){var e=d.current,t=r&&v.current?v.current:A(e);if(t){v.current=t;var i,o,l,u,c,p,f,h,g,y,b,w=(i=e.value||e.placeholder||"x",void 0===(o=a)&&(o=1),void 0===(l=n)&&(l=1/0),S||((S=document.createElement("textarea")).setAttribute("tabindex","-1"),S.setAttribute("aria-hidden","true"),E(S)),null===S.parentNode&&document.body.appendChild(S),u=t.paddingSize,c=t.borderSize,f=(p=t.sizingStyle).boxSizing,Object.keys(p).forEach(function(e){S.style[e]=p[e]}),E(S),S.value=i,h=_(S,t),S.value=i,h=_(S,t),S.value="x",y=(g=S.scrollHeight-u)*o,"border-box"===f&&(y=y+u+c),h=Math.max(y,h),b=g*l,"border-box"===f&&(b=b+u+c),[h=Math.min(b,h),g]),x=w[0],k=w[1];m.current!==x&&(m.current=x,e.style.setProperty("height",x+"px","important"),s(x,{rowHeight:k}))}};return p.useLayoutEffect(b),I(d,function(){if(!c){var e=d.current.value;requestAnimationFrame(function(){var t=d.current;t&&e!==t.value&&b()})}}),N(b),C(b),p.createElement("textarea",(0,f.A)({},u,{onChange:function(e){c||b(),o(e)},ref:g}))});let P=(0,s.HS)(l),L=(0,c.BI)("figcaption")({propsHook:e=>({hidden:e.hidden}),stateHook:e=>{let t,r,n=(0,d.c)(7);n[0]!==e?(t=void 0===e?{}:e,n[0]=e,n[1]=t):t=n[1];let i=t,o=(0,s.iQ)(),l=(()=>{let e,t,r=(0,d.c)(4),{caption:n}=(0,s.iQ)();r[0]!==n?(e=void 0===n?[{children:[{text:""}]}]:n,r[0]=n,r[1]=e):e=r[1];let i=e;return r[2]!==i[0]?(t=a.lZ.string(i[0])||"",r[2]=i[0],r[3]=t):t=r[3],t})(),c=(0,s.gO)(P,"isVisible",o.id),p=(0,u.f7)(),f=(0,u.cQ)(),h=i.readOnly||f,g=!c&&0===l.length;return n[2]!==l||n[3]!==g||n[4]!==h||n[5]!==p?(r={captionString:l,hidden:g,readOnly:h,selected:p},n[2]=l,n[3]=g,n[4]=h,n[5]=p,n[6]=r):r=n[6],r}}),D=()=>{let e,t=(0,d.c)(3),r=(0,s.Q_)(),n=(0,s.iQ)();return t[0]!==r||t[1]!==n?(e={editor:r,element:n},t[0]=r,t[1]=n,t[2]=e):e=t[2],e},M=({editor:e,element:t})=>({props:{onClick:()=>{let r=e.api.findPath(t);e.setOption(l,"visibleId",t.id),setTimeout(()=>{r&&e.setOption(l,"focusEndPath",r)},0)}}}),F=p.forwardRef((e,t)=>{let r,n,a,i=(0,d.c)(6),[o,l]=p.useState(!1);return i[0]===Symbol.for("react.memo_cache_sentinel")?(r=()=>l(!0),n=[],i[0]=r,i[1]=n):(r=i[0],n=i[1]),(0,c.Es)(r,n),i[2]!==o||i[3]!==e||i[4]!==t?(a=o?p.createElement(R,{...e,ref:t}):null,i[2]=o,i[3]=e,i[4]=t,i[5]=a):a=i[5],a});F.displayName="TextareaAutosize";let j=(0,c.BI)(F)({propsHook:e=>{let t,r,a,i,o=(0,d.c)(16),{captionValue:l,element:u,readOnly:c,textareaRef:p,handleChange:f,handleCompositionEnd:h,handleCompositionStart:g}=e,m=(0,s.Q_)();o[0]!==m||o[1]!==u?(t=e=>{if((0,n.v_)("up",e)){let t=m.api.findPath(u);if(!t)return;e.preventDefault(),m.tf.focus({at:t})}if((0,n.v_)("down",e)){let t=m.api.findPath(u);if(!t)return;let r=m.api.after(t);if(!r)return;e.preventDefault(),m.tf.focus({at:r})}},o[0]=m,o[1]=u,o[2]=t):t=o[2];let v=t;o[3]!==m?(r=e=>{0===e.target.value.length&&m.setOption(P,"visibleId",null)},o[3]=m,o[4]=r):r=o[4];let y=r;return o[5]!==l||o[6]!==f||o[7]!==h||o[8]!==g||o[9]!==y||o[10]!==v||o[11]!==c?(a={readOnly:c,value:l,onBlur:y,onChange:f,onCompositionEnd:h,onCompositionStart:g,onKeyDown:v},o[5]=l,o[6]=f,o[7]=h,o[8]=g,o[9]=y,o[10]=v,o[11]=c,o[12]=a):a=o[12],o[13]!==a||o[14]!==p?(i={props:a,ref:p},o[13]=a,o[14]=p,o[15]=i):i=o[15],i},stateHook:()=>{let e,t,r,n,i,o,l,c,f,h,g,m,v=(0,d.c)(17),y=(0,s.iQ)(),b=(0,s.Q_)(),[E,S]=(0,p.useState)(!1);v[0]!==y.caption?(e=()=>{let e=y.caption??[{children:[{text:""}]}];return a.lZ.string(e[0])},v[0]=y.caption,v[1]=e):e=v[1];let[_,w]=(0,p.useState)(e);v[2]!==b||v[3]!==y?(t=e=>{b.tf.setNodes({caption:[{text:e}]},{at:y})},v[2]=b,v[3]=y,v[4]=t):t=v[4];let x=t;v[5]!==E||v[6]!==x?(r=e=>{let t=e.target.value;w(t),E||x(t)},v[5]=E,v[6]=x,v[7]=r):r=v[7];let k=r;v[8]===Symbol.for("react.memo_cache_sentinel")?(n=()=>{S(!0)},v[8]=n):n=v[8];let A=n;v[9]!==x?(i=e=>{S(!1);let t=e.currentTarget.value;w(t),x(t)},v[9]=x,v[10]=i):i=v[10];let T=i,I=(0,u.cQ)(),N=p.useRef(null);return f=(0,d.c)(6),h=(0,s.Q_)(),g=(0,s.iQ)(),m=(0,s.gO)(P,"focusEndPath"),f[0]!==h||f[1]!==g||f[2]!==m||f[3]!==N?(l=()=>{if(m&&N.current){let e=h.api.findPath(g);e&&a.s2.equals(e,m)&&(N.current.focus(),h.setOption(P,"focusEndPath",null))}},c=[h,g,m,N],f[0]=h,f[1]=g,f[2]=m,f[3]=N,f[4]=l,f[5]=c):(l=f[4],c=f[5]),p.useEffect(l,c),v[11]!==_||v[12]!==y||v[13]!==k||v[14]!==T||v[15]!==I?(o={captionValue:_,element:y,readOnly:I,textareaRef:N,handleChange:k,handleCompositionEnd:T,handleCompositionStart:A},v[11]=_,v[12]=y,v[13]=k,v[14]=T,v[15]=I,v[16]=o):o=v[16],o}})},708091:()=>{var e,t,r,n;e=Prism,t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;
1?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,r=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,n={pattern:RegExp(/(^|[^\w.])/.source+r+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}},e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[n,{pattern:RegExp(/(^|[^\w.])/.source+r+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:n.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+r+/[A-Z]\w*\b/.source),lookbehind:!0,inside:n.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":n,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+r+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:n.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+r+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:n.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0,inside:{punctuation:/\./}}})},708901:(e,t,r)=>{"use strict";r.d(t,{g:()=>n});var n=(0,r(52515).createContext)(!0)},710937:()=>{!function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_
1CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",r={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},n={bash:r,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:n},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:r}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:n},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:n.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:n.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>
1&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},r.inside=e.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=n.variable[1].inside,o=0;o<a.length;o++)i[a[o]]=e.languages.bash[a[o]];e.languages.sh=e.languages.bash,e.languages.shell=e.languages.bash}(Prism)},713404:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("Heading4",[["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M17 10v3a1 1 0 0 0 1 1h3",key:"tj5zdr"}],["path",{d:"M21 10v8",key:"1kdml4"}],["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}]])},716234:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("Heading6",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["circle",{cx:"19",cy:"16",r:"2",key:"15mx69"}],["path",{d:"M20 10c-2 2-3 3.5-3 6",key:"f35dl0"}]])},719461:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},722396:(e,t,r)=>{"use strict";r.d(t,{BI:()=>c,A0:()=>d,rF:()=>u,IS:()=>p});var n=r(518583),a=r(292693),i=r(52515);r(442418),"u">typeof navigator&&navigator.userAgent.includes("Mac OS X");let o=e=>{let t;return null!=(t=e)};var l=r(302356);let s=e=>i.forwardRef((t,r)=>{let o,l,s,u,c=(0,n.c)(8);c[0]!==t?({as:o,asChild:s,...l}=t,c[0]=t,c[1]=o,c[2]=l,c[3]=s):(o=c[1],l=c[2],s=c[3]);let d=void 0!==s&&s?a.DX:o||e;return c[4]!==d||c[5]!==l||c[6]!==r?(u=i.createElement(d,{ref:r,...l}),c[4]=d,c[5]=l,c[6]=r,c[7]=u):u=c[7],u});s("div"),i.memo(e=>{let t,r=(0,n.c)(2),{children:a}=e;return r[0]!==a?(t=i.createElement(i.Fragment,null,a),r[0]=a,r[1]=t):t=r[1],t}),s("span");let u=(...e)=>i.useCallback(((...e)=>t=>{let r=[];if(e.forEach(e=>{let n=((e,t)=>{if("function"==typeof e)return e(t);null!=e&&(e.current=t)})(e,t);"function"==typeof n&&r.push(n)}),r.length>0)return()=>{for(let e of r)e?.()}})(...e),e),c=e=>{let t=s(e);return({propsHook:e,stateHook:r}={})=>i.forwardRef((a,s)=>{let c,d=(0,n.c)(9),{asChild:p,className:f,getClassName:h,options:g,state:m,...v}=a,y=o(m)?m:r?r(g):void 0,{hidden:b,props:E,ref:S}=e?e(y):{hidden:!1,props:{},ref:null},_=u(s,S),w=o(E?.className)||o(f)?(0,l.$)(E?.className,f):void 0,x=E?.style||v.style?{...E?.style,...v.style}:void 0;if(!p&&b)return null;let k=v.setProps?.(E??{})??{};return d[0]!==t||d[1]!==_||d[2]!==p||d[3]!==w||d[4]!==E||d[5]!==v||d[6]!==x||d[7]!==k?(c=i.createElement(t,{asChild:p,ref:_,...E,className:w,style:x,...v,...k}),d[0]=t,d[1]=_,d[2]=p,d[3]=w,d[4]=E,d[5]=v,d[6]=x,d[7]=k,d[8]=c):c=d[8],c})};function d(e){return i.forwardRef(function(t,r){return i.createElement(e,{...t,ref:r})})}function p(e){return i.forwardRef(e)}"u">typeof window&&window.document?.createElement!==void 0?i.useLayoutEffect:i.useEffect},726512:()=>{Prism.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:Prism.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},Prism.hooks.add("after-tokenize",function(e){if("graphql"===e.language)for(var t=e.tokens.filter(function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type}),r=0;r<t.length;){var n=t[r++];if("keyword"===n.type&&"mutation"===n.content){var a=[];if(c(["definition-mutation","punctuation"])&&"("===t[r+1].content){r+=2;var i=d(/^\($/,/^\)$/);if(-1===i)continue;for(;r<i;r++){var o=t[r+0];"variable"===o.type&&(p(o,"variable-input"),a.push(o.content))}r=i+1}if(c(["punctuation","property-query"])&&"{"===t[r+0].content&&(p(t[++r+0],"property-mutation"),a.length>0)){var l=d(/^\{$/,/^\}$/);if(-1===l)continue;for(var s=r;s<l;s++){var u=t[s];"variable"===u.type&&a.indexOf(u.content)>=0&&p(u,"variable-input")}}}}function c(e,n){n=n||0;for(var a=0;a<e.length;a++){var i=t[r+(a+n)];if(!i||i.type!==e[a])return!1}return!0}function d(e,n){for(var a=1,i=r;i<t.length;i++){var o=t[i],l=o.content;if("punctuation"===o.type&&"string"==typeof l){if(e.test(l))a++;else if(n.test(l)&&0==--a)return i}}return -1}function p(e,t){var r=e.alias;r?Array.isArray(r)||(e.alias=r=[r]):e.alias=r=[],r.push(t)}})},728273:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("Italic",[["line",{x1:"19",x2:"10",y1:"4",y2:"4",key:"15jd3p"}],["line",{x1:"14",x2:"5",y1:"20",y2:"20",key:"bu0au3"}],["line",{x1:"15",x2:"9",y1:"4",y2:"20",key:"uljnxc"}]])},731451:()=>{Prism.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}
1,"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|<?-)?|[>=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}},731504:(e,t,r)=>{"use strict";var n=r(35052),a=r(499215);e.exports=function e(t,r,i,o,l,s){return a(t)&&a(r)&&(s.set(r,t),n(t,r,void 0,e,s),s.delete(r)),t}},739030:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("Heading2",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1",key:"9jr5yi"}]])},742646:(e,t,r)=>{"use strict";r.d(t,{P8:()=>i,jz:()=>u,m3:()=>l});var n=r(304611),a=r(878609);r(518583);let i=(0,a.HS)(n.t),o=(0,a.HS)(n.o),l=(0,a.HS)(n.a),s=(0,a.HS)(n.n),u=(0,a.HS)(n.r);(0,a.HS)(n.i,{plugins:[i,o,l,u,s]}),(0,a.HS)(n.w)},746059:e=>{e.exports={actions:"tweet-actions_actions__IRc2p",like:"tweet-actions_like___oRsC",reply:"tweet-actions_reply___F6dv",copy:"tweet-actions_copy__rtrrE",likeIconWrapper:"tweet-actions_likeIconWrapper__nlll9",likeCount:"tweet-actions_likeCount___bwFR",replyIconWrapper:"tweet-actions_replyIconWrapper__wATnX",copyIconWrapper:"tweet-actions_copyIconWrapper__OOTqE",likeIcon:"tweet-actions_likeIcon__4yJ0F",replyIcon:"tweet-actions_replyIcon__SbLzc",copyIcon:"tweet-actions_copyIcon__vYDMi",replyText:"tweet-actions_replyText__6VjdU",copyText:"tweet-actions_copyText__jQqg_"}},758132:(e,t,r)=>{"use strict";e.exports=r(822299)},758688:e=>{e.exports={style:{fontFamily:"'Montserrat', 'Montserrat Fallback'",fontStyle:"normal"},className:"__className_ac18d5"}},764651:(e,t,r)=>{"use strict";let n;r.d(t,{Y:()=>eZ});var a=r(490243),i=r(302356),o=r(243287);r(190077);let l=({className:e,children:t})=>(0,a.jsx)("div",{className:(0,i.A)("react-tweet-theme",o.root,e),children:(0,a.jsx)("article",{className:o.article,children:t})});var s=r(424023);let u=({style:e})=>(0,a.jsx)("span",{className:s.skeleton,style:e});var c=r(904935);let d=()=>(0,a.jsxs)(l,{className:c.root,children:[(0,a.jsx)(u,{style:{height:"3rem",marginBottom:"0.75rem"}}),(0,a.jsx)(u,{style:{height:"6rem",margin:"0.5rem 0"}}),(0,a.jsx)("div",{style:{borderTop:"var(--tweet-border)",margin:"0.5rem 0"}}),(0,a.jsx)(u,{style:{height:"2rem"}}),(0,a.jsx)(u,{style:{height:"2rem",borderRadius:"9999px",marginTop:"0.5rem"}})]});var p=r(336840);let f=e=>(0,a.jsx)(l,{children:(0,a.jsxs)("div",{className:p.root,children:[(0,a.jsx)("h3",{children:"Tweet not found"}),(0,a.jsx)("p",{children:"The embedded tweet could not be foundâ¦"})]})}),h=e=>(0,a.jsx)("img",{...e});var g=r(872213),m=r(568779);let v=()=>(0,a.jsx)("svg",{viewBox:"0 0 24 24","aria-label":"Verified account",role:"img",className:m.verified,children:(0,a.jsx)("g",{children:(0,a.jsx)("path",{d:"M22.25 12c0-1.43-.88-2.67-2.19-3.34.46-1.39.2-2.9-.81-3.91s-2.52-1.27-3.91-.81c-.66-1.31-1.91-2.19-3.34-2.19s-2.67.88-3.33 2.19c-1.4-.46-2.91-.2-3.92.81s-1.26 2.52-.8 3.91c-1.31.67-2.2 1.91-2.2 3.34s.89 2.67 2.2 3.34c-.46 1.39-.21 2.9.8 3.91s2.52 1.26 3.91.81c.67 1.31 1.91 2.19 3.34 2.19s2.68-.88 3.34-2.19c1.39.45 2.9.2 3.91-.81s1.27-2.52.81-3.91c1.31-.67 2.19-1.91 2.19-3.34zm-11.71 4.2L6.8 12.46l1.41-1.42 2.26 2.26 4.8-5.23 1.47 1.36-6.2 6.77z"})})}),y=()=>(0,a.jsx)("svg",{viewBox:"0 0 22 22","aria-label":"Verified account",role:"img",className:m.verified,children:(0,a.jsx)("g",{children:(0,a.jsx)("path",{clipRule:"evenodd",d:"M12.05 2.056c-.568-.608-1.532-.608-2.1 0l-1.393 1.49c-.284.303-.685.47-1.1.455L5.42 3.932c-.832-.028-1.514.654-1.486 1.486l.069 2.039c.014.415-.152.816-.456 1.1l-1.49 1.392c-.608.568-.608 1.533 0 2.101l1.49 1.393c.304.284.47.684.456 1.1l-.07 2.038c-.027.832.655 1.514 1.487 1.486l2.038-.069c.415-.014.816.152 1.1.455l1.392 1.49c.569.609 1.533.609 2.102 0l1.393-1.49c.283-.303.684-.47 1.099-.455l2.038.069c.832.028 1.515-.654 1.486-1.486L18 14.542c-.015-.415.152-.815.455-1.099l1.49-1.393c.608-.568.608-1.533 0-2.101l-1.49-1.393c-.303-.283-.47-.684-.455-1.1l.068-2.038c.029-.832-.654-1.514-1.486-1.486l-2.038.07c-.415.013-.816-.153-1.1-.456zm-5.817 9.367l3.429 3.428 5.683-6.206-1.347-1.247-4.4 4.795-2.072-2.072z",fillRule:"evenodd"})})}),b=()=>(0,a.jsx)("svg",{viewBox:"0 0 22 22","aria-label":"Verified account",role:"img",className:m.verified,children:(0,a.jsxs)("g",{children:[(0,a.jsxs)("linearGradient",{gradientUnits:"userSpaceOnUse",id:"0-a",x1:"4.411",x2:"18.083",y1:"2.495",y2:"21.508",children:[(0,a.jsx)("stop",{offset:"0",stopColor:"#f4e72a"}),(0,a.jsx)("stop",{offset:".539",stopColor:"#cd8105"}),(0,a.jsx)("stop",{offset:".68",stopColor:"#cb7b00"}),(0,a.jsx)("stop",{offset:"1",stopColor:"#f4ec26"}),(0,a.jsx)("stop",{offset:"1",stopColor:"#f4e72a"})]}),(0,a.jsxs)("linearGradient",{gradientUnits:"userSpaceOnUse",id:"0-b",x1:"5.355",x2:"16.361",y1:"3.395",y2:"19.133",children:[(0,a.jsx)("stop",{offset:"0",stopColor:"#f9e87f"}),(0,a.jsx)("stop",{offset:".406",stopColor:"#e2b719"}),(0,a.jsx)("stop",{offset:".989",stopColor:"#e2b719"})]}),(0,a.jsxs)("g",{clipRule:"evenodd",fillRule:"evenodd",children:[(0,a.jsx)("path",{d:"M13.324 3.848L11 1.6 8.676 3.848l-3.201-.453-.559 3.184L2.06 8.095 3.48 11l-1.42 2.904 2.856 1.516.559 3.184 3.201-.452L11 20.4l2.324-2.248 3.201.452.559-3.184 2.856-1.516L18.52 11l1.42-2.905-2.856-1.516-.559-3.184zm-7.09 7.575l3.428 3.428 5.683-6.206-1.347-1.247-4.4 4.795-2.072-2.072z",fill:"url(#0-a)"}),(0,a.jsx)("path",{d:"M13.101 4.533L11 2.5 8.899 4.533l-2.895-.41-.505 2.88-2.583 1.37L4.2 11l-1.284 2.627 2.583 1.37.505 2.88 2.895-.41L11 19.5l2.101-2.033 2.895.41.505-2.88 2.583-1.37L17.8 11l1.284-2.627-2.583-1.37-.505-2.88zm-6.868 6.89l3.429 3.428 5.683-6.206-1.347-1.247-4.4 4.795-2.072-2.072z",fill:"url(#0-b)"}),(0,a.jsx)("path",{d:"M6.233 11.423l3.429 3.428 5.65-6.17.038-.033-.005 1.398-5.683 6.206-3.429-3.429-.003-1.405.005.003z",fill:"#d18800"})]})]})});var E=r(868186);let S=({user:e,className:t})=>{let r=e.verified||e.is_blue_verified||e.verified_type,n=(0,a.jsx)(v,{}),o=E.verifiedBlue;if(r)switch(!e.is_blue_verified&&(o=E.verifiedOld),e.verified_type){case"Government":n=(0,a.jsx)(y,{}),o=E.verifiedGovernment;break;case"Business":n=(0,a.jsx)(b,{}),o=null}return r?(0,a.jsx)("div",{className:(0,i.A)(t,o),children:n}):null},_=({tweet:e,components:t})=>{var r;let n=null!=(r=null==t?void 0:t.AvatarImg)?r:h,{user:o}=e;return(0,a.jsxs)("div",{className:g.header,children:[(0,a.jsxs)("a",{href:e.url,className:g.avatar,target:"_blank",rel:"noopener noreferrer",children:[(0,a.jsx)("div",{className:(0,i.A)(g.avatarOverflow,"Square"===o.profile_image_shape&&g.avatarSquare),children:(0,a.jsx)(n,{src:o.profile_image_url_https,alt:o.name,width:48,height:48})}),(0,a.jsx)("div",{className:g.avatarOverflow,children:(0,a.jsx)("div",{className:g.avatarShadow})})]}),(0,a.jsxs)("div",{className:g.author,children:[(0,a.jsxs)("a",{href:e.url,className:g.authorLink,target:"_blank",rel:"noopener noreferrer",children:[(0,a.jsx)("div",{className:g.authorLinkText,children:(0,a.jsx)("span",{title:o.name,children:o.name})}),(0,a.jsx)(S,{user:o,className:g.authorVerified})]}),(0,a.jsxs)("div",{className:g.authorMeta,children:[(0,a.jsx)("a",{href:e.url,className:g.username,target:"_blank",rel:"noopener noreferrer",children:(0,a.jsxs)("span",{title:`@${o.screen_name}`,children:["@",o.screen_name]})}),(0,a.jsxs)("div",{className:g.authorFollow,children:[(0,a.jsx)("span",{className:g.separator,children:"\xb7"}),(0,a.jsx)("a",{href:o.follow_url,className:g.follow,target:"_blank",rel:"noopener noreferrer",children:"Follow"})]})]})]}),(0,a.jsx)("a",{href:e.url,className:g.brand,target:"_blank",rel:"noopener noreferrer","aria-label":"View on Twitter",children:(0,a.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:g.twitterIcon,children:(0,a.jsx)("g",{children:(0,a.jsx)("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})})})]})};var w=r(284724);let x=({tweet:e})=>(0,a.jsxs)("a",{href:e.in_reply_to_url,className:w.root,target:"_blank",rel:"noopener noreferrer",children:["Replying to @",e.in_reply_to_screen_name]});var k=r(437392);let A=({href:e,children:t})=>(0,a.jsx)("a",{href:e,className:k.root,target:"_blank",rel:"noopener noreferrer nofollow",children:t});var T=r(334188);let I=({tweet:e})=>(0,a.jsx)("p",{className:T.root,children:e.entities.map((e,t)=>{switch(e.type){case"hashtag":case"mention":case"url":case"symbol":return(0,a.jsx)(A,{href:e.href,children:e.text},t);case"media":return;default:return(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:e.text}},t)}})});var N=r(52515);let C=e=>`https://twitter.com/${e.user.screen_name}/status/${e.id_str}`,O=e=>`https://twitter.com/${"string"==typeof e?e:e.user.screen_name}`,R=(e,t)=>{let r=new URL(e.media_url_https),n=r.pathname.split(".").pop();return n?(r.pathname=r.pathname.replace(`.${n}`,""),r.searchParams.set("format",n),r.searchParams.set("name",t),r.toString()):e.media_url_https},P=e=>e>999999?`${(e/1e6).toFixed(1)}M`:e>999?`${(e/1e3).toFixed(1)}K`:e.toString();function L(e){var t,r;let n,a=Array.from(e.text),i=[{indices:e.display_text_range,type:"text"}];return D(i,"hashtag",e.entities.hashtags),D(i,"mention",e.entities.user_mentions),D(i,"url",e.entities.urls),D(i,"symbol",e.entities.symbols),e.entities.media&&D(i,"media",e.entities.media),t=e,r=i,t.entities.media&&t.entities.media[0].indices[
10]<t.display_text_range[1]&&(t.display_text_range[1]=t.entities.media[0].indices[0]),(n=r.at(-1))&&n.indices[1]>t.display_text_range[1]&&(n.indices[1]=t.display_text_range[1]),i.map(e=>{let t=a.slice(e.indices[0],e.indices[1]).join("");switch(e.type){case"hashtag":return Object.assign(e,{href:`https://twitter.com/hashtag/${e.text}`,text:t});case"mention":return Object.assign(e,{href:O(e.screen_name),text:t});case"url":case"media":return Object.assign(e,{href:e.expanded_url,text:e.display_url});case"symbol":return Object.assign(e,{href:`https://twitter.com/search?q=%24${e.text}`,text:t});default:return Object.assign(e,{text:t})}})}function D(e,t,r){for(let n of r)for(let[r,a]of e.entries()){if(a.indices[0]>n.indices[0]||a.indices[1]<n.indices[1])continue;let i=[{...n,type:t}];a.indices[0]<n.indices[0]&&i.unshift({indices:[a.indices[0],n.indices[0]],type:"text"}),a.indices[1]>n.indices[1]&&i.push({indices:[n.indices[1],a.indices[1]],type:"text"}),e.splice(r,1,...i);break}}var M=r(858868),F=r(778326);let j=({tweet:e,media:t})=>{let r,[n,o]=(0,N.useState)(!0),[l,s]=(0,N.useState)(!1),[u,c]=(0,N.useState)(!1),d=(r=(e=>{let{variants:t}=e.video_info;return t.filter(e=>"video/mp4"===e.content_type).sort((e,t)=>{var r,n;return(null!=(r=t.bitrate)?r:0)-(null!=(n=e.bitrate)?n:0)})})(t)).length>1?r[1]:r[0],p=0;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("video",{className:M.image,poster:R(t,"small"),controls:!n,muted:!0,preload:"none",tabIndex:n?-1:0,onPlay:()=>{p&&window.clearTimeout(p),l||s(!0),u&&c(!1)},onPause:()=>{p&&window.clearTimeout(p),p=window.setTimeout(()=>{l&&s(!1),p=0},100)},onEnded:()=>{c(!0)},children:(0,a.jsx)("source",{src:d.url,type:d.content_type})}),n&&(0,a.jsx)("button",{type:"button",className:F.videoButton,"aria-label":"View video on X",onClick:e=>{let t=e.currentTarget.previousSibling;e.preventDefault(),o(!1),s(!0),t.play(),t.focus()},children:(0,a.jsx)("svg",{viewBox:"0 0 24 24",className:F.videoButtonIcon,"aria-hidden":"true",children:(0,a.jsx)("g",{children:(0,a.jsx)("path",{d:"M21 12L4 2v20l17-10z"})})})}),!l&&!u&&(0,a.jsx)("div",{className:F.watchOnTwitter,children:(0,a.jsx)("a",{href:e.url,className:F.anchor,target:"_blank",rel:"noopener noreferrer",children:n?"Watch on X":"Continue watching on X"})}),u&&(0,a.jsx)("a",{href:e.url,className:(0,i.A)(F.anchor,F.viewReplies),target:"_blank",rel:"noopener noreferrer",children:"View replies"})]})},U=e=>(0,a.jsx)("img",{...e}),z=(e,t)=>{let r=56.25;return 1===t&&(r=100/e.original_info.width*e.original_info.height),2===t&&(r*=2),{width:"photo"===e.type?void 0:"unset",paddingBottom:`${r}%`}},B=({tweet:e,components:t,quoted:r})=>{var n,o,l,s;let u=null!=(l=null==(n=e.mediaDetails)?void 0:n.length)?l:0,c=null!=(s=null==t?void 0:t.MediaImg)?s:U;return(0,a.jsx)("div",{className:(0,i.A)(M.root,!r&&M.rounded),children:(0,a.jsx)("div",{className:(0,i.A)(M.mediaWrapper,u>1&&M.grid2Columns,3===u&&M.grid3,u>4&&M.grid2x2),children:null==(o=e.mediaDetails)?void 0:o.map(t=>(0,a.jsx)(N.Fragment,{children:"photo"===t.type?(0,a.jsxs)("a",{href:e.url,className:(0,i.A)(M.mediaContainer,M.mediaLink),target:"_blank",rel:"noopener noreferrer",children:[(0,a.jsx)("div",{className:M.skeleton,style:z(t,u)}),(0,a.jsx)(c,{src:R(t,"small"),alt:t.ext_alt_text||"Image",className:M.image,draggable:!0})]},t.media_url_https):(0,a.jsxs)("div",{className:M.mediaContainer,children:[(0,a.jsx)("div",{className:M.skeleton,style:z(t,u)}),(0,a.jsx)(j,{tweet:e,media:t})]},t.media_url_https)},t.media_url_https))})})},$=new Intl.DateTimeFormat("en-US",{hour:"numeric",minute:"2-digit",hour12:!0,weekday:"short",month:"short",day:"numeric",year:"numeric"});var H=r(474941);let G=({tweet:e})=>{let t,r,n,i=new Date(e.created_at),o=(t=(e=>{let t={};for(let r of e)t[r.type]=r.value;return t})($.formatToParts(i)),r=`${t.hour}:${t.minute} ${t.dayPeriod}`,n=`${t.month} ${t.day}, ${t.year}`,`${r} \xb7 ${n}`);return(0,a.jsx)("a",{className:H.root,href:e.url,target:"_blank",rel:"noopener noreferrer","aria-label":o,children:(0,a.jsx)("time",{dateTime:i.toISOString(),children:o})})};var q=r(920956);let V=({tweet:e})=>
1(0,a.jsxs)("div",{className:q.info,children:[(0,a.jsx)(G,{tweet:e}),(0,a.jsx)("a",{className:q.infoLink,href:"https://help.twitter.com/en/twitter-for-websites-ads-info-and-privacy",target:"_blank",rel:"noopener noreferrer","aria-label":"Twitter for Websites, Ads Information and Privacy",children:(0,a.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:q.infoIcon,children:(0,a.jsx)("g",{children:(0,a.jsx)("path",{d:"M13.5 8.5c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5S11.17 7 12 7s1.5.67 1.5 1.5zM13 17v-5h-2v5h2zm-1 5.25c5.66 0 10.25-4.59 10.25-10.25S17.66 1.75 12 1.75 1.75 6.34 1.75 12 6.34 22.25 12 22.25zM20.25 12c0 4.56-3.69 8.25-8.25 8.25S3.75 16.56 3.75 12 7.44 3.75 12 3.75s8.25 3.69 8.25 8.25z"})})})})]});var K=r(746059);let Y=({tweet:e})=>{let[t,r]=(0,N.useState)(!1),[n,i]=(0,N.useState)(!1);return(0,N.useEffect)(()=>{if(t){let e=setTimeout(()=>{r(!1),i(!0)},6e3);return()=>clearTimeout(e)}},[t]),(0,a.jsxs)("button",{type:"button",className:K.copy,"aria-label":"Copy link",onClick:()=>{navigator.clipboard.writeText(e.url),r(!0)},children:[(0,a.jsx)("div",{className:K.copyIconWrapper,children:t?(0,a.jsx)("svg",{viewBox:"0 0 24 24",className:K.copyIcon,"aria-hidden":"true",children:(0,a.jsx)("g",{children:(0,a.jsx)("path",{d:"M9.64 18.952l-5.55-4.861 1.317-1.504 3.951 3.459 8.459-10.948L19.4 6.32 9.64 18.952z"})})}):(0,a.jsx)("svg",{viewBox:"0 0 24 24",className:K.copyIcon,"aria-hidden":"true",children:(0,a.jsx)("g",{children:(0,a.jsx)("path",{d:"M18.36 5.64c-1.95-1.96-5.11-1.96-7.07 0L9.88 7.05 8.46 5.64l1.42-1.42c2.73-2.73 7.16-2.73 9.9 0 2.73 2.74 2.73 7.17 0 9.9l-1.42 1.42-1.41-1.42 1.41-1.41c1.96-1.96 1.96-5.12 0-7.07zm-2.12 3.53l-7.07 7.07-1.41-1.41 7.07-7.07 1.41 1.41zm-12.02.71l1.42-1.42 1.41 1.42-1.41 1.41c-1.96 1.96-1.96 5.12 0 7.07 1.95 1.96 5.11 1.96 7.07 0l1.41-1.41 1.42 1.41-1.42 1.42c-2.73 2.73-7.16 2.73-9.9 0-2.73-2.74-2.73-7.17 0-9.9z"})})})}),(0,a.jsx)("span",{className:K.copyText,children:t?"Copied!":n?"Copy link to Tweet":"Copy link"})]})},W=({tweet:e})=>{let t=P(e.favorite_count);return(0,a.jsxs)("div",{className:K.actions,children:[(0,a.jsxs)("a",{className:K.like,href:e.like_url,target:"_blank",rel:"noopener noreferrer","aria-label":`Like. This Tweet has ${t} likes`,children:[(0,a.jsx)("div",{className:K.likeIconWrapper,children:(0,a.jsx)("svg",{viewBox:"0 0 24 24",className:K.likeIcon,"aria-hidden":"true",children:(0,a.jsx)("g",{children:(0,a.jsx)("path",{d:"M20.884 13.19c-1.351 2.48-4.001 5.12-8.379 7.67l-.503.3-.504-.3c-4.379-2.55-7.029-5.19-8.382-7.67-1.36-2.5-1.41-4.86-.514-6.67.887-1.79 2.647-2.91 4.601-3.01 1.651-.09 3.368.56 4.798 2.01 1.429-1.45 3.146-2.1 4.796-2.01 1.954.1 3.714 1.22 4.601 3.01.896 1.81.846 4.17-.514 6.67z"})})})}),(0,a.jsx)("span",{className:K.likeCount,children:t})]}),(0,a.jsxs)("a",{className:K.reply,href:e.reply_url,target:"_blank",rel:"noopener noreferrer","aria-label":"Reply to this Tweet on Twitter",children:[(0,a.jsx)("div",{className:K.replyIconWrapper,children:(0,a.jsx)("svg",{viewBox:"0 0 24 24",className:K.replyIcon,"aria-hidden":"true",children:(0,a.jsx)("g",{children:(0,a.jsx)("path",{d:"M1.751 10c0-4.42 3.584-8 8.005-8h4.366c4.49 0 8.129 3.64 8.129 8.13 0 2.96-1.607 5.68-4.196 7.11l-8.054 4.46v-3.69h-.067c-4.49.1-8.183-3.51-8.183-8.01z"})})})}),(0,a.jsx)("span",{className:K.replyText,children:"Reply"})]}),(0,a.jsx)(Y,{tweet:e})]})};var Z=r(167088);let X=({tweet:e})=>(0,a.jsx)("div",{className:Z.replies,children:(0,a.jsx)("a",{className:Z.link,href:e.url,target:"_blank",rel:"noopener noreferrer",children:(0,a.jsx)("span",{className:Z.text,children:0===e.conversation_count?"Read more on X":1===e.conversation_count?`Read ${P(e.conversation_count)} reply`:`Read ${P(e.conversation_count)} replies`})})});var Q=r(304951);let J=({tweet:e,children:t})=>(0,a.jsx)("div",{className:Q.root,onClick:t=>{t.preventDefault(),window.open(e.url,"_blank")},children:(0,a.jsx)("article",{className:Q.article,children:t})});var ee=r(364085);let et=({tweet:e})=>{let{user:t}=e;return(0,a.jsxs)("div",{className:ee.header,children:[(0,a.jsx)("a",{href:e.url,className:ee.avatar,target:"_blank",rel:"noopener noreferrer",children:(0,a.jsx)("div",{className:(0,i.A)(ee.avatarOverflow,"Square"===t.profile_image_shape&&ee.avatarSquare),children:(0,a.jsx)(h,{src:t.profile_image_url_https,alt:t.name,width:20,height:20})})}),(0,a.jsxs)("div",{className:ee.author,children:[(0,a.jsx)("div",{className:ee.authorText,children:(0,a.jsx)("span",{title:t.name,children:t.name})}),(0,a.jsx)(S,{user:t}),(0,a.jsx)("div",{className:ee.username,children:(0,a.jsxs)("span",{title:`@${t.screen_name}`,children:["@",t.screen_name]})})]})]})};var er=r(510092);let en=({tweet:e})=>(0,a.jsx)("p",{className:er.root,children:e.entities.map((e,t)=>(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:e.text}},t))}),ea=({tweet:e})=>{var t;return(0,a.jsxs)(J,{tweet:e,children:[(0,a.jsx)(et,{tweet:e}),(0,a.jsx)(en,{tweet:e}),(null==(t=e.mediaDetails)?void 0:t.length)?(0,a.jsx)(B,{quoted:!0,tweet:e}):null]})},ei=({tweet:e,components:t})=>{var r;let n=(0,N.useMemo)(()=>({...e,url:C(e),user:{...e.user,url:O(e),follow_url:`https://twitter.com/intent/follow?screen_name=${e.user.screen_name}`},like_url:`https://twitter.com/intent/like?tweet_id=${e.id_str}`,reply_url:`https://twitter.com/intent/tweet?in_reply_to=${e.id_str}`,in_reply_to_url:e.in_reply_to_screen_name?`https://twitter.com/${e.in_reply_to_screen_name}/status/${e.in_reply_to_status_id_str}`:void 0,entities:L(e),quoted_tweet:e.quoted_tweet?{...e.quoted_tweet,url:C(e.quoted_tweet),entities:L(e.quoted_tweet)}:void 0}),[e]);return(0,a.jsxs)(l,{children:[(0,a.jsx)(_,{tweet:n,components:t}),n.in_reply_to_status_id_str&&(0,a.jsx)(x,{tweet:n}),(0,a.jsx)(I,{tweet:n}),(null==(r=n.mediaDetails)?void 0:r.length)?(0,a.jsx)(B,{tweet:n,components:t}):null,n.quoted_tweet&&(0,a.jsx)(ea,{tweet:n.quoted_tweet}),(0,a.jsx)(V,{tweet:n}),(0,a.jsx)(W,{tweet:n}),(0,a.jsx)(X,{tweet:n})]})};var eo=r(758132);let el=()=>{},es=el(),eu=Object,ec=e=>e===es,ed=(e,t)=>({...e,...t}),ep=new WeakMap,ef=0,eh=e=>{let t,r,n=typeof e,a=e&&e.constructor,i=a==Date;if(eu(e)!==e||i||a==RegExp)t=i?e.toJSON():"symbol"==n?e.toString():"string"==n?JSON.stringify(e):""+e;else{if(t=ep.get(e))return t;if(t=++ef+"~",ep.set(e,t),a==Array){for(r=0,t="@";r<e.length;r++)t+=eh(e[r])+",";ep.set(e,t)}if(a==eu){t="#";let n=eu.keys(e).sort();for(;!ec(r=n.pop());)ec(e[r])||(t+=r+":"+eh(e[r])+",");ep.set(e,t)}}return t},eg=new WeakMap,em={},ev={},ey="undefined",eb=typeof window!=ey,eE=typeof document!=ey,eS=(e,t)=>{let r=eg.get(e);return[()=>!ec(t)&&e.get(t)||em,n=>{if(!ec(t)){let a=e.get(t);t in ev||(ev[t]=a),r[5](t,ed(a,n),a||em)}},r[6],()=>!ec(t)&&t in ev?ev[t]:!ec(t)&&e.get(t)||em]},e_=!0,[ew,ex]=eb&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[el,el],ek={initFocus:e=>(eE&&document.addEventListener("visibilitychange",e),ew("focus",e),()=>{eE&&document.removeEventListener("visibilitychange",e),ex("focus",e)}),initReconnect:e=>{let t=()=>{e_=!0,e()},r=()=>{e_=!1};
1return ew("online",t),ew("offline",r),()=>{ex("online",t),ex("offline",r)}}},eA=!N.useId,eT=!eb||"Deno"in window,eI=eT?N.useEffect:N.useLayoutEffect,eN="u">typeof navigator&&navigator.connection,eC=!eT&&eN&&(["slow-2g","2g"].includes(eN.effectiveType)||eN.saveData),eO=e=>{if("function"==typeof e)try{e=e()}catch(t){e=""}let t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?eh(e):"",t]},eR=0,eP=()=>++eR;async function eL(...e){let[t,r,n,a]=e,i=ed({populateCache:!0,throwOnError:!0},"boolean"==typeof a?{revalidate:a}:a||{}),o=i.populateCache,l=i.rollbackOnError,s=i.optimisticData,u=i.throwOnError;if("function"==typeof r){let e=[];for(let n of t.keys())!/^\$(inf|sub)\$/.test(n)&&r(t.get(n)._k)&&e.push(n);return Promise.all(e.map(c))}return c(r);async function c(r){let a,[c]=eO(r);if(!c)return;let[d,p]=eS(t,c),[f,h,g,m]=eg.get(t),v=()=>{let e=f[c];return("function"==typeof i.revalidate?i.revalidate(d().data,r):!1!==i.revalidate)&&(delete g[c],delete m[c],e&&e[0])?e[0](2).then(()=>d().data):d().data};if(e.length<3)return v();let y=n,b=eP();h[c]=[b,0];let E=!ec(s),S=d(),_=S.data,w=S._c,x=ec(w)?_:w;if(E&&p({data:s="function"==typeof s?s(x,_):s,_c:x}),"function"==typeof y)try{y=y(x)}catch(e){a=e}if(y&&"function"==typeof y.then){let e;if(y=await y.catch(e=>{a=e}),b!==h[c][0]){if(a)throw a;return y}a&&E&&(e=a,"function"==typeof l?l(e):!1!==l)&&(o=!0,p({data:x,_c:es}))}if(o&&!a&&("function"==typeof o?p({data:o(y,x),error:es,_c:es}):p({data:y,error:es,_c:es})),h[c][1]=eP(),Promise.resolve(v()).then(()=>{p({_c:es})}),a){if(u)throw a;return}return y}}let eD=(e,t)=>{for(let r in e)e[r][0]&&e[r][0](t)},eM=(e,t)=>{if(!eg.has(e)){let r=ed(ek,t),n={},a=eL.bind(es,e),i=el,o={},l=(e,t)=>{let r=o[e]||[];return o[e]=r,r.push(t),()=>r.splice(r.indexOf(t),1)},s=(t,r,n)=>{e.set(t,r);let a=o[t];if(a)for(let e of a)e(r,n)},u=()=>{if(!eg.has(e)&&(eg.set(e,[n,{},{},{},a,s,l]),!eT)){let t=r.initFocus(setTimeout.bind(es,eD.bind(es,n,0))),a=r.initReconnect(setTimeout.bind(es,eD.bind(es,n,1)));i=()=>{t&&t(),a&&a(),eg.delete(e)}}};return u(),[e,a,u,i]}return[e,eg.get(e)[4]]},[eF,ej]=eM(new Map),eU=ed({onLoadingSlow:el,onSuccess:el,onError:el,onErrorRetry:(e,t,r,n,a)=>{let i=r.errorRetryCount,o=a.retryCount,l=~~((Math.random()+.5)*(1<<(o<8?o:8)))*r.errorRetryInterval;(ec(i)||!(o>i))&&setTimeout(n,l,a)},onDiscarded:el,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:eC?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:eC?5e3:3e3,compare:(e,t)=>eh(e)==eh(t),isPaused:()=>!1,cache:eF,mutate:ej,fallback:{}},{isOnline:()=>e_,isVisible:()=>{let e=eE&&document.visibilityState;return ec(e)||"hidden"!==e}}),ez=(e,t)=>{let r=ed(e,t);if(t){let{use:n,fallback:a}=e,{use:i,fallback:o}=t;n&&i&&(r.use=n.concat(i)),a&&o&&(r.fallback=ed(a,o))}return r},eB=(0,N.createContext)({}),e$=eb&&window.__SWR_DEVTOOLS_USE__,eH=(e$?window.__SWR_DEVTOOLS_USE__:[]).concat(e=>(t,r,n)=>{let a=r&&((...e)=>{let[n]=eO(t),[,,,a]=eg.get(eF);if(n.startsWith("$inf$"))return r(...e);let i=a[n];return ec(i)?r(...e):(delete a[n],i)});return e(t,a,n)});e$&&(window.__SWR_DEVTOOLS_REACT__=N);let eG=N.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}),eq={dedupe:!0};eu.defineProperty(e=>{let{value:t}=e,r=(0,N.useContext)(eB),n="function"==typeof t,a=(0,N.useMemo)(()=>n?t(r):t,[n,r,t]),i=(0,N.useMemo)(()=>n?a:ez(r,a),[n,r,a]),o=a&&a.provider,l=(0,N.useRef)(es);o&&!l.current&&(l.current=eM(o(i.cache||eF),a));let s=l.current;return s&&(i.cache=s[0],i.mutate=s[1]),eI(()=>{if(s)return s[2]&&s[2](),s[3]},[]),(0,N.createElement)(eB.Provider,ed(e,{value:i}))},"defaultValue",{value:eU});let eV=(n=(e,t,r)=>{let{cache:n,compare:a,suspense:i,fallbackData:o,revalidateOnMount:l,revalidateIfStale:s,refreshInterval:u,refreshWhenHidden:c,refreshWhenOffline:d,keepPreviousData:p}=r,[f,h,g,m]=eg.get(n),[v,y]=eO(e),b=(0,N.useRef)(!1),E=(0,N.useRef)(!1),S=(0,N.useRef)(v),_=(0,N.useRef)(t),w=(0,N.useRef)(r),x=()=>
1w.current.isVisible()&&w.current.isOnline(),[k,A,T,I]=eS(n,v),C=(0,N.useRef)({}).current,O=ec(o)?r.fallback[v]:o,R=(e,t)=>{for(let r in C)if("data"===r){if(!a(e[r],t[r])&&(!ec(e[r])||!a(B,t[r])))return!1}else if(t[r]!==e[r])return!1;return!0},P=(0,N.useMemo)(()=>{let e=!!v&&!!t&&(ec(l)?!w.current.isPaused()&&!i&&(!!ec(s)||s):l),r=t=>{let r=ed(t);return(delete r._k,e)?{isValidating:!0,isLoading:!0,...r}:r},n=k(),a=I(),o=r(n),u=n===a?o:r(a),c=o;return[()=>{let e=r(k());return R(e,c)?(c.data=e.data,c.isLoading=e.isLoading,c.isValidating=e.isValidating,c.error=e.error,c):(c=e,e)},()=>u]},[n,v]),L=(0,eo.useSyncExternalStore)((0,N.useCallback)(e=>T(v,(t,r)=>{R(r,t)||e()}),[n,v]),P[0],P[1]),D=!b.current,M=f[v]&&f[v].length>0,F=L.data,j=ec(F)?O:F,U=L.error,z=(0,N.useRef)(j),B=p?ec(F)?z.current:F:j,$=(!M||!!ec(U))&&(D&&!ec(l)?l:!w.current.isPaused()&&(i?!ec(j)&&s:ec(j)||s)),H=!!(v&&t&&D&&$),G=ec(L.isValidating)?H:L.isValidating,q=ec(L.isLoading)?H:L.isLoading,V=(0,N.useCallback)(async e=>{let t,n,i=_.current;if(!v||!i||E.current||w.current.isPaused())return!1;let o=!0,l=e||{},s=!g[v]||!l.dedupe,u=()=>eA?!E.current&&v===S.current&&b.current:v===S.current,c={isValidating:!1,isLoading:!1},d=()=>{A(c)},p=()=>{let e=g[v];e&&e[1]===n&&delete g[v]},m={isValidating:!0};ec(k().data)&&(m.isLoading=!0);try{if(s&&(A(m),r.loadingTimeout&&ec(k().data)&&setTimeout(()=>{o&&u()&&w.current.onLoadingSlow(v,r)},r.loadingTimeout),g[v]=[i(y),eP()]),[t,n]=g[v],t=await t,s&&setTimeout(p,r.dedupingInterval),!g[v]||g[v][1]!==n)return s&&u()&&w.current.onDiscarded(v),!1;c.error=es;let e=h[v];if(!ec(e)&&(n<=e[0]||n<=e[1]||0===e[1]))return d(),s&&u()&&w.current.onDiscarded(v),!1;let l=k().data;c.data=a(l,t)?l:t,s&&u()&&w.current.onSuccess(t,v,r)}catch(r){p();let e=w.current,{shouldRetryOnError:t}=e;!e.isPaused()&&(c.error=r,s&&u())&&(e.onError(r,v,e),(!0===t||"function"==typeof t&&t(r))&&(!w.current.revalidateOnFocus||!w.current.revalidateOnReconnect||x())&&e.onErrorRetry(r,v,e,e=>{let t=f[v];t&&t[0]&&t[0](3,e)},{retryCount:(l.retryCount||0)+1,dedupe:!0}))}return o=!1,d(),!0},[v,n]),K=(0,N.useCallback)((...e)=>eL(n,S.current,...e),[]);if(eI(()=>{_.current=t,w.current=r,ec(F)||(z.current=F)}),eI(()=>{var e;let t;if(!v)return;let r=V.bind(es,eq),n=0,a=(e=(e,t={})=>{if(0==e){let e=Date.now();w.current.revalidateOnFocus&&e>n&&x()&&(n=e+w.current.focusThrottleInterval,r())}else if(1==e)w.current.revalidateOnReconnect&&x()&&r();else if(2==e)return V();else if(3==e)return V(t)},(t=f[v]||(f[v]=[])).push(e),()=>{let r=t.indexOf(e);r>=0&&(t[r]=t[t.length-1],t.pop())});if(E.current=!1,S.current=v,b.current=!0,A({_k:y}),$)if(ec(j)||eT)r();else eb&&typeof window.requestAnimationFrame!=ey?window.requestAnimationFrame(r):setTimeout(r,1);return()=>{E.current=!0,a()}},[v]),eI(()=>{let e;function t(){let t="function"==typeof u?u(k().data):u;t&&-1!==e&&(e=setTimeout(r,t))}function r(){!k().error&&(c||w.current.isVisible())&&(d||w.current.isOnline())?V(eq).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[u,c,d,v]),(0,N.useDebugValue)(B),i&&ec(j)&&v){if(!eA&&eT)throw Error("Fallback data is required when using suspense in SSR.");_.current=t,w.current=r,E.current=!1;let e=m[v];if(ec(e)||eG(K(e)),ec(U)){let e=V(eq);ec(B)||(e.status="fulfilled",e.value=!0),eG(e)}else throw U}return{mutate:K,get data(){return C.data=!0,B},get error(){return C.error=!0,U},get isValidating(){return C.isValidating=!0,G},get isLoading(){return C.isLoading=!0,q}}},function(...e){let t=ed(eU,(0,N.useContext)(eB)),[r,a,i]="function"==typeof e[1]?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],o=ez(t,i),l=n,{use:s}=o,u=(s||[]).concat(eH);for(let e=u.length;e--;)l=u[e](l);return l(r,a||o.fetcher||null,o)});class eK extends Error{constructor({message:e,status:t,data:r}){super(e),this.name="TwitterApiError",this.status=t,this.data=r}}let eY=eV.default||eV;async function eW([e,t]){let r=await fetch(e,t),n=await r.json();if(r.ok)return n.data||null;throw new eK({message:`Failed to fetch tweet at "${e}" with "${r.status}".`,data:n,status:r.status})}let eZ=({id:e,apiUrl:t,fallback:r=(0,a.jsx)(d,{}),components:n,fetchOptions:i,onError:o})=>{let{data:l,error:s,isLoading:u}=((e,t,r)=>{let{isLoading:n,data:a,error:i}=eY(()=>t||e?[t||e&&`https://react-tweet.vercel.app/api/tweet/${e}`,r]:null,eW,{revalidateIfStale:!1,revalidateOnFocus:!1,shouldRetryOnError:!1});return{isLoading:!!(n||void 0===a&&!i),data:a,error:i}})(e,t,i);if(u)return r;if(s||!l){let e=(null==n?void 0:n.TweetNotFound)||f;return(0,a.jsx)(e,{error:o?o(s):s})}return(0,a.jsx)(ei,{tweet:l,components:n}
1)}},772728:()=>{Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source)+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?
1:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),Prism.languages.js=Prism.languages.javascript},774850:(e,t,r)=>{"use strict";r.d(t,{$f:()=>g,D_:()=>d,HR:()=>m,J2:()=>s,Jh:()=>v,Qh:()=>i,Up:()=>c,V1:()=>p,cJ:()=>u,cy:()=>l,lQ:()=>a,mQ:()=>o,xD:()=>f,zO:()=>h});var n=r(316949);function a(){}function i(e,t){return"function"==typeof e?e("function"==typeof t?t():t):e}function o(e,t){return"function"==typeof Object.hasOwn?Object.hasOwn(e,t):Object.prototype.hasOwnProperty.call(e,t)}function l(...e){return(...t)=>{for(let r of e)"function"==typeof r&&r(...t)}}function s(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function u(e,t){let r=(0,n.IA)({},e);for(let e of t)o(r,e)&&delete r[e];return r}function c(e,t){let r={};for(let n of t)o(e,n)&&(r[n]=e[n]);return r}function d(e){return e}function p(e,t){if(!e){if("string"!=typeof t)throw Error("Invariant failed");throw Error(t)}}function f(e){return Object.keys(e)}function h(e,...t){let r="function"==typeof e?e(...t):e;return null!=r&&!r}function g(e){return e.disabled||!0===e["aria-disabled"]||"true"===e["aria-disabled"]}function m(e){let t={};for(let r in e)void 0!==e[r]&&(t[r]=e[r]);return t}function v(...e){for(let t of e)if(void 0!==t)return t}},775388:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("CodeXml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]])},775829:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(52515);let a=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim();var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let o=(0,n.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:o,className:l="",children:s,iconNode:u,...c},d)=>(0,n.createElement)("svg",{ref:d,...i,width:t,height:t,stroke:e,strokeWidth:o?24*Number(r)/Number(t):r,className:a("lucide",l),...c},[...u.map(([e,t])=>(0,n.createElement)(e,t)),...Array.isArray(s)?s:[s]])),l=(e,t)=>
1{let r=(0,n.forwardRef)(({className:r,...i},l)=>(0,n.createElement)(o,{ref:l,iconNode:t,className:a(`lucide-${e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,r),...i}));return r.displayName=`${e}`,r}},776622:(e,t,r)=>{"use strict";r.d(t,{N:()=>s});var n=r(52515),a=r(649899),i=r(203579),o=r(595537),l=r(490243);function s(e){let t=e+"CollectionProvider",[r,s]=(0,a.A)(t),[u,c]=r(t,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:t,children:r}=e,a=n.useRef(null),i=n.useRef(new Map).current;return(0,l.jsx)(u,{scope:t,itemMap:i,collectionRef:a,children:r})};d.displayName=t;let p=e+"CollectionSlot",f=n.forwardRef((e,t)=>{let{scope:r,children:n}=e,a=c(p,r),s=(0,i.s)(t,a.collectionRef);return(0,l.jsx)(o.DX,{ref:s,children:n})});f.displayName=p;let h=e+"CollectionItemSlot",g="data-radix-collection-item",m=n.forwardRef((e,t)=>{let{scope:r,children:a,...s}=e,u=n.useRef(null),d=(0,i.s)(t,u),p=c(h,r);return n.useEffect(()=>(p.itemMap.set(u,{ref:u,...s}),()=>void p.itemMap.delete(u))),(0,l.jsx)(o.DX,{...{[g]:""},ref:d,children:a})});return m.displayName=h,[{Provider:d,Slot:f,ItemSlot:m},function(t){let r=c(e+"CollectionConsumer",t);return n.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${g}]`));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},s]}},778007:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},778024:(e,t,r)=>{"use strict";r.d(t,{M:()=>d,N:()=>p,o:()=>S,t:()=>_,x:()=>m});var n=r(518583),a=r(52515),i=r(583896),o=r(585713),l=r(587250),s=r(453641),u=r(865678),c=r(73502);let d={ArabicIndic:"arabic-indic",Armenian:"armenian",Bengali:"bengali",Cambodian:"cambodian",Circle:"circle",CjkDecimal:"cjk-decimal",CjkEarthlyBranch:"cjk-earthly-branch",CjkHeavenlyStem:"cjk-heavenly-stem",Decimal:"decimal",DecimalLeadingZero:"decimal-leading-zero",Devanagari:"devanagari",Disc:"disc",DisclosureClosed:"disclosure-closed",DisclosureOpen:"disclosure-open",EthiopicNumeric:"ethiopic-numeric",Georgian:"georgian",Gujarati:"gujarati",Gurmukhi:"gurmukhi",Hebrew:"hebrew",Hiragana:"hiragana",HiraganaIroha:"hiragana-iroha",Inherit:"inherit",Initial:"initial",JapaneseFormal:"japanese-formal",JapaneseInformal:"japanese-informal",Kannada:"kannada",Katakana:"katakana",KatakanaIroha:"katakana-iroha",Khmer:"khmer",KoreanHangulFormal:"korean-hangul-formal",KoreanHanjaFormal:"korean-hanja-formal",KoreanHanjaInformal:"korean-hanja-informal",Lao:"lao",LowerAlpha:"lower-alpha",LowerArmenian:"lower-armenian",LowerGreek:"lower-greek",LowerLatin:"lower-latin",LowerRoman:"lower-roman",Malayalam:"malayalam",Mongolian:"mongolian",Myanmar:"myanmar",None:"none",Oriya:"oriya",Persian:"persian",SimpChineseFormal:"simp-chinese-formal",SimpChineseInformal:"simp-chinese-informal",Square:"square",Tamil:"tamil",Telugu:"telugu",Thai:"thai",Tibetan:"tibetan",TradChineseFormal:"trad-chinese-formal",TradChineseInformal:"trad-chinese-informal",UpperAlpha:"upper-alpha",UpperArmenian:"upper-armenian",UpperLatin:"upper-latin",UpperRoman:"upper-roman"},p=[d.Disc,d.Circle,d.Square,d.DisclosureOpen,d.DisclosureClosed],f=(e,[t,r],{breakOnEqIndentNeqListStyleType:n=!0,breakOnListRestart:a=!1,breakOnLowerIndent:l=!0,breakQuery:s,eqIndent:u=!0,getNextEntry:c,getPreviousEntry:d,query:p})=>{if(!d&&!c)return;let f=c??d,h=f([t,r]);for(;;){if(!h)return;let[e,r]=h,g=t[i.t.indent],m=e[i.t.indent];if(s?.(e,t)||!(0,o.O9)(m)||a&&(d&&t[i.t.listRestart]||c&&e[i.t.listRestart])||l&&m<g||n&&m===g&&e[i.t.listType]!==t[i.t.listType])return;let v=!p||p(e,t);if(v&&(v=!u||m===g))return[e,r];h=f(h)}},h=(e,t,r)=>f(e,t,{getNextEntry:([,t])=>{let r=l.s2.next(t),n=l.lZ.get(e,r);if(n)return[n,r]},...r,getPreviousEntry:void 0}),g=(e,t,r)=>f(e,t,{getPreviousEntry:([,t])=>{let r=l.s2.previous(t);if(!r)return;let n=l.lZ.get(e,r);if(n)return[n,r]},...r,getNextEntry:void 0}),m=(e,t)=>!!e.selection&&e.api.some({match:e=>{if(Object.hasOwn(e,i.t.listChecked))return!1;let r=e[i.t.listType];return Array.isArray(t)?t.includes(r):r===t}}),v=(e,t,r)=>e.tf.withoutNormalizing(()=>{let[n,a]=t,l=n[i.t.listType],s=n[i.t.listStart];if(!l)return;let u=((e,t)=>{let[r]=e,[n]=t??[null],a=r[i.t.listRestart]??null,o=r[i.t.listRestartPolite]??null;return a||(o&&!n?o:n?(n[i.t.listStart]??1)+1:1)})(t,g(e,t,r));return(0,o.O9)(s)&&1===u?(e.tf.unsetNodes(i.t.listStart,{at:a}),!0):s!==u&&u>1&&(e.tf.setNodes({[i.t.listStart]:u},{at:a}),!0)}),y=(e,t={})=>{(0,c.a)(e,{offset:-1,unsetNodesProps:[i.t.listType,i.t.listChecked],...t})},b=(e,{at:t,indent:r=0,listStyleType:n=d.Disc})=>{e.tf.setNodes({[i.t.indent]:r||r+1,[i.t.listType]:n},{at:t})},E=(e,{at:t,indent:r=0,listStyleType:n=i.t.listTodo})=>{e.tf.setNodes({[i.t.indent]:r||r+1,[i.t.listChecked]:!1,[i.t.listType]:n},{at:t})},S=(e,t,r)=>{let{listRestart:n,listRestartPolite:a,listStyleType:l}=t,u=(()=>{let{getSiblingListOptions:n}=e.getOptions(_);if(e.api.isCollapsed()){let a=e.api.block();return a?!!((e,[t,r],{listStyleType:n=d.Disc,...a})=>{if(!Object.hasOwn(t,i.t.listChecked)&&!t[i.t.listType])return"todo"===n?((e,{listStyleType:t=d.Disc,...r}={})=>{(0,c.a)(e,{offset:1,setNodesProps:()=>({[i.t.listChecked]:!1,[i.t.listType]:t}),...r})})(e,{listStyleType:n,...a}):((e,{listStyleType:t=d.Disc,...r}={})=>{(0,c.a)(e,{offset:1,setNodesProps:()=>({[i.t.listType]:t}),...r})})(e,{listStyleType:n,...a}),!0})(e,a,t)||!((e,[t,r],{listStyleType:n=d.Disc})=>n===i.t.listTodo&&Object.hasOwn(t,i.t.listChecked)?(e.tf.unsetNodes(i.t.listChecked,{at:r}),y(e,{listStyleType:n}),!0):n===t[i.t.listType]?(e.tf.unsetNodes([i.t.listType],{at:r}),y(e,{listStyleType:n}),!0):void 0)(e,a,{listStyleType:l})&&(((e,t,{getSiblingListOptions:r,listStyleType:n=d.Disc})=>{e.tf.withoutNormalizing(()=>{((e,t,{current:r=!0,next:n=!0,previous:a=!0,...o}={})=>{let l=[],s=t[0];if(!s[i.t.listType]&&!Object.hasOwn(s,i.t.listChecked))return l;let u=t;if(a)for(;;){let t=g(e,u,o);if(!t)break;l.push(t),u=t}if(r&&l.push(t),n)for(u=t;;){let t=h(e,u,o);if(!t)break;l.push(t),u=t}return l})(e,t,r).forEach(([t,r])=>{n===i.t.listTodo?(e.tf.unsetNodes(i.t.listType,{at:r}),E(e,{at:r,indent:t[i.t.indent],listStyleType:n})):(e.tf.unsetNodes(i.t.listChecked,{at:r}),b(e,{at:r,indent:t[i.t.indent],listStyleType:n}))})})})(e,a,{getSiblingListOptions:{...n,...r},listStyleType:l}),!0):null}if(e.api.isExpanded()){let t=(0,s.ht)(e,e.getPlugin({key:i.t.list})),r=[...e.api.nodes({block:!0,match:t})];return((e,t,{listStyleType:r=d.Disc})=>{let n=!0;for(let e of t){let[t]=e;if(r===i.t.listTodo){if(!Object.hasOwn(t,i.t.listChecked)){n=!1;break}continue}if(!t[i.t.listType]||t[i.t.listType]!==r){n=!1;break}}return n})(0,r,{listStyleType:l})?(e.tf.withoutNormalizing(()=>{r.forEach(t=>{let[r,n]=t,a=r[i.t.indent];e.tf.unsetNodes(i.t.listType,{at:n}),a>1?e.tf.setNodes({[i.t.indent]:a-1},{at:n}):e.tf.unsetNodes([i.t.indent,i.t.listChecked],{at:n})})}),!1):(((e,t,{listStyleType:r=d.Disc})=>{e.tf.withoutNormalizing(()=>{t.forEach(t=>{let[n,a]=t,o=n[i.t.indent]??0;if(o=n[i.t.listType]||Object.hasOwn(n,i.t.listChecked)?o:o+1,"todo"===r){e.tf.unsetNodes(i.t.listType,{at:a}),E(e,{at:a,indent:o,listStyleType:r});return}e.tf.unsetNodes(i.t.listChecked,{at:a}),b(e,{at:a,indent:o,listStyleType:r})})})})(e,r,{listStyleType:l}),!0)}return null})(),p=n||a,f=!!n;
1if(u&&p){let t,r=(t={at:e.api.start(e.selection)},e.api.above({...t,match:e=>(0,o.O9)(e[i.t.listType])}));if(!r)return;let n=!g(e,r);if(!f&&(!n||p<=0)||f&&1===p&&n)return;let a=f?i.t.listRestart:i.t.listRestartPolite;e.tf.setNodes({[a]:p},{at:r[1]})}},_=(0,s.qt)({key:i.t.list,inject:{plugins:{[i.t.html]:{parser:{transformData:({data:e})=>{let{body:t}=new DOMParser().parseFromString(e,"text/html"),r=[];return(0,u.L4)(t,e=>{if("LI"===e.tagName){let t=[];Array.from(e.children).forEach(e=>{("UL"===e.tagName||"OL"===e.tagName)&&t.push(e)}),t.length>0&&r.push({li:e,nestedLists:t})}return!0}),r.forEach(({li:e,nestedLists:t})=>{t.forEach(t=>{t.remove(),e.parentNode&&e.parentNode.insertBefore(t,e.nextSibling)})}),(0,u.L4)(t,e=>{if("LI"===e.tagName){let{childNodes:r}=e,n=[];r.forEach(e=>{e.nodeType===Node.ELEMENT_NODE&&(0,s.G)(e)?n.push(...e.childNodes):n.push(e)}),e.replaceChildren(...n);let a=e.getAttribute("aria-level");if(a)e.dataset.indent=a;else{let r=0,n=e.parentElement;for(;n&&n!==t;)("UL"===n.tagName||"OL"===n.tagName)&&r++,n=n.parentElement;r>0&&(e.dataset.indent=String(r))}let i=e.style.listStyleType;if(i)e.dataset.listStyleType=i;else{let t=e.closest("ul, ol");if(t){let r=t.style.listStyleType;r?e.dataset.listStyleType=r:"UL"===t.tagName?e.dataset.listStyleType="disc":"OL"===t.tagName&&(e.dataset.listStyleType="decimal")}}return!1}return!0}),(0,u.Jm)(t.innerHTML)}}}},targetPlugins:[i.t.p]},options:{getListStyleType:e=>e.style.listStyleType},parsers:{html:{deserializer:{isElement:!0,rules:[{validNodeName:"LI"}],parse:({editor:e,element:t,getOptions:r})=>{let n=t.dataset.indent,a=t.getAttribute("aria-level");return{indent:(n?Number(n):Number(a))||void 0,listStyleType:t.dataset.listStyleType||r().getListStyleType?.(t)||void 0,type:e.getType(i.t.p)}}}}},render:{belowNodes:e=>{if(e.element.listStyleType)return e=>a.createElement(w,e)}},rules:{break:{empty:"reset",splitReset:!1},delete:{start:"reset"},merge:{removeEmpty:!1},match:({node:e})=>(0,o.O9)(e[i.t.listType])}}).overrideEditor(e=>{let{editor:t,getOptions:r,tf:{apply:n,resetBlock:a}}=e;return{transforms:{resetBlock:e=>t.api.block(e)?.[0]?.[i.t.listType]?void y(t):a(e),...(({editor:e,getOptions:t,tf:{normalizeNode:r}})=>({transforms:{normalizeNode([n,a]){if(!e.tf.withoutNormalizing(()=>{if(((e,[t,r])=>{if(!(0,o.O9)(t[i.t.indent])&&(t[i.t.listType]||t[i.t.listStart]))return e.tf.unsetNodes([i.t.listType,i.t.listStart],{at:r}),!0})(e,[n,a])||v(e,[n,a],t().getSiblingListOptions))return!0}))return r([n,a])}}}))(e).transforms,...(({editor:e,tf:{insertBreak:t}})=>({transforms:{insertBreak(){let r=e.api.above();if(!r)return t();let[n,a]=r;if(!(0,o.O9)(n[i.t.listType])||n[i.t.listType]!==i.t.listTodo||e.api.isExpanded()||!e.api.isEnd(e.selection?.focus,a))return t();e.tf.withoutNormalizing(()=>{t();let r=e.api.above();r&&e.tf.setNodes({checked:!1},{at:r[1]})})}}}))(e).transforms,apply(e){let{getSiblingListOptions:a}=r();if("insert_node"===e.type){let r=e.node[i.t.listType];if(r&&["lower-roman","upper-roman"].includes(r)){let n=g(t,[e.node,e.path],{breakOnEqIndentNeqListStyleType:!1,eqIndent:!1,...a});if(n){let t=n[0][i.t.listType];t===d.LowerAlpha&&r===d.LowerRoman?e.node[i.t.listType]=d.LowerAlpha:t===d.UpperAlpha&&r===d.UpperRoman&&(e.node[i.t.listType]=d.UpperAlpha)}}}"split_node"===e.type&&e.properties[i.t.listType]&&(delete e.properties[i.t.listRestart],delete e.properties[i.t.listRestartPolite]),n(e);let o=[];switch(e.type){case"insert_node":case"remove_node":case"set_node":o.push(e.path);break;case"merge_node":o.push(l.s2.previous(e.path));break;case"move_node":o.push(e.path,e.newPath);break;case"split_node":o.push(e.path,l.s2.next(e.path))}let s=e=>i.t.listType in e;o.forEach(e=>{let r=t.api.node(e);if(r)for(s(r[0])||(r=t.api.node(l.s2.next(e)));r&&s(r[0])&&!v(t,r,a);)r=h(t,r,{...a,breakOnEqIndentNeqListStyleType:!1,breakOnLowerIndent:!1,eqIndent:!1})})}}}});function w(e){var t;let r,i,o,l=(0,n.c)(9),{listStart:s,listStyleType:u}=e.element,c=(t=e.element).listStyleType&&!p.includes(t.listStyleType)?"ol":"ul";return l[0]!==u?(r={listStyleType:u,margin:0,padding:0,position:"relative"},l[0]=u,l[1]=r):r=l[1],l[2]!==e.children?(i=a.createElement("li",null,e.children),l[2]=e.children,l[3]=i):i=l[3],l[4]!==c||l[5]!==s||l[6]!==r||l[7]!==i?(o=a.createElement(c,{style:r,start:s},i),l[4]=c,l[5]=s,l[6]=r,l[7]=i,l[8]=o):o=l[8],o}},778326:e=>{e.exports={anchor:"tweet-media-video_anchor__A8zpC",videoButton:"tweet-media-video_videoButton__jARVJ",videoButtonIcon:"tweet-media-video_videoButtonIcon__5RjNB",watchOnTwitter:"tweet-media-video_watchOnTwitter__SmCOn",viewReplies:"tweet-media-video_viewReplies__SvPcG"}},792197:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});
1let n=(0,r(775829).A)("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]])},795381:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(52515),a=r(859225);function i(e){let t=(0,n.useRef)(null),r=(0,n.useRef)(null);return r.current&&r.current.update(e),(0,n.useEffect)(()=>(r.current=new(0,a.LC)({...e,ref:t}),()=>{r.current=null}),[]),n.createElement("div",{ref:t})}},796028:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},799774:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("Link2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]])},799871:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("SunMedium",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 3v1",key:"1asbbs"}],["path",{d:"M12 20v1",key:"1wcdkc"}],["path",{d:"M3 12h1",key:"lp3yf2"}],["path",{d:"M20 12h1",key:"1vloll"}],["path",{d:"m18.364 5.636-.707.707",key:"1hakh0"}],["path",{d:"m6.343 17.657-.707.707",key:"18m9nf"}],["path",{d:"m5.636 5.636.707.707",key:"1xv1c5"}],["path",{d:"m17.657 17.657.707.707",key:"vl76zb"}]])},810481:(e,t,r)=>{"use strict";r.d(t,{c:()=>g,f:()=>s,h:()=>u,n:()=>m,r:()=>v,t:()=>y});var n=r(583896),a=r(587250),i=r(453641);let o=(e,{at:t=e.selection}={})=>{if(t&&e.api.some({at:t,match:{type:e.getType(n.t.codeLine)}})){let r=e.api.parent(t);if(!r)return;let[,i]=r,o=e.api.above({at:t,match:{type:e.getType(n.t.codeLine)}})||e.api.parent(i);if(!o)return;let[l,s]=o;if(a.$7.isElement(l)&&l.type!==e.getType(n.t.codeLine))return;let u=e.api.parent(s);if(u)return{codeBlock:u,codeLine:o}}},l=/\S|$/,s=new WeakMap;function u(e,[t,r]){for(let[i,o]of(function(e,[t,r]){var i;let o,{defaultLanguage:l,...s}=e.getOptions(y),u=s.lowlight,c=t.children.map(e=>a.lZ.string(e)).join("\n"),d=t.lang||l;try{o=d&&"plaintext"!==d?"auto"===d?u.highlightAuto(c):u.highlight(d,c):{value:[]}}catch(r){let t=u.listLanguages();d&&t.includes(d)?e.api.debug.error(r,"CODE_HIGHLIGHT"):e.api.debug.warn(`Language "${d}" is not registered. Falling back to plaintext`),o={value:[]}}let p=function(e){let t=[[]],r=t[0];for(let n of e){let e=n.text.split("\n");for(let a=0;a<e.length;a++){let i=e[a];i&&r.push({classes:n.classes,content:i}),a<e.length-1&&(t.push([]),r=t.at(-1))}}return t}(function e(t,r=[]){return t.flatMap(t=>{let n=[...r,...t.properties?t.properties.className:[]];return t.children?e(t.children,n):{classes:n,text:t.value}})}((i=o).value||i.children||[])),f=t.children,h=new Map,g=Math.min(p.length,f.length);for(let e=0;e<g;e++){let t=p[e],a=f[e];h.has(a)||h.set(a,[]);let i=0;for(let o of t){let t=o.content.length;if(!t)continue;let l=i+t,s={anchor:{offset:i,path:[...r,e,0]},className:o.classes.join(" "),focus:{offset:l,path:[...r,e,0]},[n.t.codeSyntax]:!0};h.get(a).push(s),i=l}}return h})(e,[t,r]).entries())s.set(i,o)}let c=/\s/,d=(e,{codeLine:t})=>
1{let[,r]=t,n=e.api.start(r),a=n&&e.api.after(n),i=a&&e.api.range(n,a),o=e.api.string(i);return!!c.test(o)&&(e.tf.delete({at:i}),!0)},p=/\S/,f=(e,{codeLine:t,indentDepth:r=2})=>{let[,n]=t,a=e.api.start(n),i=" ".repeat(r);if(!e.api.isExpanded()){let t=e.selection?.anchor,r=e.api.range(a,t),n=e.api.string(r);if(p.test(n))return void e.tf.insertText(i,{at:e.selection})}e.tf.insertText(i,{at:a})},h=(e,{codeBlock:t,codeLine:r})=>{d(e,{codeBlock:t,codeLine:r})&&d(e,{codeBlock:t,codeLine:r})},g=e=>{if(!e.selection)return;let t=e.getType(n.t.codeBlock),r=e.getType(n.t.p);e.tf.withoutNormalizing(()=>{for(let n of Array.from(e.api.nodes({at:e.selection,match:{type:t}})).reverse()){for(let[,t]of a.lZ.children(e,n[1]))e.tf.setNodes({type:r},{at:t});e.tf.unwrapNodes({at:n[1],match:{type:t},split:!0})}})},m=(0,i.qt)({key:n.t.codeLine,node:{isElement:!0,isStrictSiblings:!0}}),v=(0,i.Kt)({key:n.t.codeSyntax,node:{isLeaf:!0}}),y=(0,i.qt)({key:n.t.codeBlock,inject:{plugins:{[n.t.html]:{parser:{query:({editor:e})=>!e.api.some({match:{type:e.getType(n.t.codeLine)}})}}}},node:{isElement:!0},options:{defaultLanguage:null,lowlight:null},parsers:{html:{deserializer:{rules:[{validNodeName:"PRE"},{validNodeName:"P",validStyle:{fontFamily:"Consolas"}}],parse:({element:e})=>{let t=[...e.childNodes].find(e=>"SELECT"===e.nodeName)?.textContent||"",r=e.textContent?.replace(t,"")||"",a=r.split("\n");return a?.length||(a=[r]),{children:a.map(e=>({children:[{text:e}],type:n.t.codeLine})),type:n.t.codeBlock}}}}},plugins:[m,v],render:{as:"pre"},rules:{delete:{empty:"reset"},match:({editor:e,rule:t})=>["break.empty","delete.empty"].includes(t)&&(e=>{let{codeBlock:t}=o(e)??{};if(!t)return!1;let r=Array.from(a.lZ.children(e,t[1]));if(0===r.length)return!0;if(r.length>1)return!1;let n=r[0][0];return!a.lZ.string(n)})(e)},decorate:({editor:e,entry:[t,r],getOptions:a,type:i})=>{if(!a().lowlight)return[];let o=e.getType(n.t.codeLine);return t.type!==i||s.get(t.children[0])||u(e,[t,r]),t.type===o&&s.get(t)||[]}}).overrideEditor(e=>{let{editor:t,getOptions:r,tf:{apply:i,insertBreak:c,resetBlock:d,selectAll:p,tab:m},type:v}=e;return{transforms:{apply(e){if(r().lowlight&&"set_node"===e.type){let r=t.api.node(e.path);r?.[0].type===v&&e.newProperties?.lang&&r[0].children.forEach(e=>{s.delete(e)})}i(e)},insertBreak(){(()=>{if(!t.selection)return;let e=o(t,{});if(!e)return;let{codeBlock:r,codeLine:n}=e,a=((e,{codeLine:t})=>{let[,r]=t;return e.api.string(r).search(l)})(t,{codeBlock:r,codeLine:n});return c(),f(t,{codeBlock:r,codeLine:n,indentDepth:a}),!0})()||c()},resetBlock:e=>t.api.block({at:e?.at,match:{type:v}})?void g(t):d(e),selectAll:()=>!!(()=>{let e=t.api.above({match:{type:v}});if(e&&!(t.api.isAt({end:!0})&&t.api.isAt({start:!0})))return t.tf.select(e[1]),!0})()||p(),tab:e=>!!(()=>{let r=Array.from(t.api.nodes({match:{type:v}}));if(r.length>0){let[,n]=r[0],a=t.api.parent(n);if(!a)return;return t.tf.withoutNormalizing(()=>{for(let n of r)e.reverse?h(t,{codeBlock:a,codeLine:n}):f(t,{codeBlock:a,codeLine:n})}),!0}})()||m(e),...(({editor:e,tf:{insertData:t},type:r})=>({transforms:{insertData(a){let i=a.getData("text/plain"),o=a.getData("vscode-editor-data"),l=e.getType(n.t.codeLine);if(o)try{let t=JSON.parse(o),n=i.split("\n"),[a]=e.api.block()??[];if(a&&[r,l].includes(a?.type)){if(n[0]&&e.tf.insertText(n[0]),n.length>1){let t=n.slice(1).map(e=>({children:[{text:e}],type:l}));e.tf.insertNodes(t)}}else{let a={children:n.map(e=>({children:[{text:e}],type:l})),lang:t?.mode,type:r};e.tf.insertNodes(a,{select:!0})}return}catch(e){}let[s]=e.api.block()??[];if(s&&[r,l].includes(s?.type)&&i?.includes("\n")){let t=i.split("\n");if(t[0]&&e.tf.insertText(t[0]),t.length>1){let r=t.slice(1).map(e=>({children:[{text:e}],type:l}));e.tf.insertNodes(r)}return}t(a)}}}))(e).transforms,...(({editor:e,tf:{insertFragment:t},type:r})=>({transforms:{insertFragment(i){let[o]=e.api.block()??[],l=e.getType(n.t.codeLine);return o&&[r,l].includes(o?.type)?t(i.flatMap(e=>e.type===r?e.children:{children:[{text:a.lZ.string(e)}],type:l})):t(i)}}}))(e).transforms,...(({editor:e,getOptions:t,tf:{normalizeNode:r},type:i})=>({transforms:{normalizeNode([o,l]){if(o.type===i&&t().lowlight&&u(e,[o,l]),r([o,l]),!a.$7.isElement(o))return;let s=e.getType(n.t.codeBlock),c=e.getType(n.t.codeLine);if(o.type===s){let t=Array.from(a.lZ.children(e,l)).find(([e])=>e.type!==c);t&&e.tf.setNodes({type:c},{at:t[1]})}}}}))(e).transforms}}}).extendTransforms(({editor:e})=>({toggle:()=>{e.tf.toggleBlock(e.getType(n.t.codeBlock))}}))},810802:()=>{var e;e=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source,Prism.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}
1],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,e].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,e].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,e+/\s*/.source+e].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}},822299:(e,t,r)=>{"use strict";var n=r(52515),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=n.useState,o=n.useEffect,l=n.useLayoutEffect,s=n.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!a(e,r)}catch(e){return!0}}var c="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=i({inst:{value:r,getSnapshot:t}}),a=n[0].inst,c=n[1];return l(function(){a.value=r,a.getSnapshot=t,u(a)&&c({inst:a})},[e,r,t]),o(function(){return u(a)&&c({inst:a}),e(function(){u(a)&&c({inst:a})})},[e]),s(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:c},829038:()=>{var e,t;(e=Prism).languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"],t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}},e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2}
1)*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin},839935:(e,t,r)=>{"use strict";function n(e){return"[object Number]"===Object.prototype.toString.call(e)}r.d(t,{A:()=>a});let a=(0,r(940477).A)(function(e,t){if(!(n(e)&&n(t)))throw TypeError("Both arguments to range must be numbers");for(var r=[],a=e;a<t;)r.push(a),a+=1;return r})},840906:()=>{Prism.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},Prism.languages.g4=Prism.languages.antlr4},842676:(e,t,r)=>{"use strict";r.d(t,{IA:()=>c,YG:()=>p,ko:()=>d});var n=Object.defineProperty,a=Object.defineProperties,i=Object.getOwnPropertyDescriptors,o=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(e,t,r)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,c=(e,t)=>{for(var r in t||(t={}))l.call(t,r)&&u(e,r,t[r]);if(o)for(var r of o(t))s.call(t,r)&&u(e,r,t[r]);return e},d=(e,t)=>a(e,i(t)),p=(e,t)=>{var r={};for(var n in e)l.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&o)for(var n of o(e))0>t.indexOf(n)&&s.call(e,n)&&(r[n]=e[n]);return r}},858868:e=>{e.exports={root:"tweet-media_root__f3sus",rounded:"tweet-media_rounded__AS_JJ",mediaWrapper:"tweet-media_mediaWrapper__YptUB",grid2Columns:"tweet-media_grid2Columns__LD6q2",grid3:"tweet-media_grid3__QS_ek",grid2x2:"tweet-media_grid2x2__sFo9I",mediaContainer:"tweet-media_mediaContainer__GpZUw",mediaLink:"tweet-media_mediaLink__wlb6x",skeleton:"tweet-media_skeleton__kaorv",image:"tweet-media_image__42tYw"}},859039:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]])},865678:(e,t,r)=>{"use strict";r.d(t,{Jm:()=>l,L4:()=>i,sR:()=>o});var n=r(453641);r(657300),r(69640),r(177364);let a=(e,t)=>{if(!t(e))return;let r=e.firstChild;for(;r;){let n=r,i=r.previousSibling;r=r.nextSibling,a(n,t),n.previousSibling||n.nextSibling||n.parentNode||!r||i===r.previousSibling||!r.parentNode?n.previousSibling||n.nextSibling||n.parentNode||!r||r.previousSibling||r.nextSibling||r.parentNode||(i?r=i.nextSibling?i.nextSibling.nextSibling:null:e.firstChild&&(r=e.firstChild.nextSibling)):r=i?i.nextSibling:e.firstChild}},i=(e,t)=>{a(e,e=>!(0,n.Y)(e)||t(e))},o=(e,t)=>{let r;return r=null,i(e,e=>!t(e)||(r=e,!1)),!!r},l=e=>`<body>${e.trim().replaceAll(RegExp("â","g"),"")}</body>`},868186:e=>{e.exports={verifiedOld:"verified-badge_verifiedOld__LMMPX",verifiedBlue:"verified-badge_verifiedBlue__2X2ts",verifiedGovernment:"verified-badge_verifiedGovernment__CNalh"}},868402:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("Subscript",[["path",{d:"m4 5 8 8",key:"1eunvl"}],["path",{d:"m12 5-8 8",key:"1ah0jp"}],["path",{d:"M20 19h-4c0-1.5.44-2 1.5-2.5S20 15.33 20 14c0-.47-.17-.93-.48-1.29a2.11 2.11 0 0 0-2.62-.44c-.42.24-.74.62-.9 1.07",key:"e8ta8j"}]])},872213:e=>{e.exports={header:"tweet-header_header__UY1Nv",avatar:"tweet-header_avatar__G40Mf",avatarOverflow:"tweet-header_avatarOverflow__3Ud1k",avatarSquare:"tweet-header_avatarSquare__m8Co_",avatarShadow:"tweet-header_avatarShadow__JjJzm",author:"tweet-header_author__0gyEt",authorLink:"tweet-header_authorLink__tkN4R",authorVerified:"tweet-header_authorVerified___bzb6",authorLinkText:"tweet-header_authorLinkText__lDLWh",authorMeta:"tweet-header_authorMeta__tHgED",authorFollow:"tweet-header_authorFollow__lQNmM",username:"tweet-header_username__1g0G0",follow:"tweet-header_follow__XYEiE",separator:"tweet-header_separator__kxVpv",brand:"tweet-header_brand__mJbC3",twitterIcon:"tweet-header_twitterIcon__sIBez"}},877560:()=>{var e,t,r;e=Prism,t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_
1cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,r=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return t.source}),e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return r})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])},883003:()=>{Prism.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}},890394:(e,t,r)=>{"use strict";r.d(t,{W6:()=>p,_K:()=>c,ao:()=>s,l4:()=>u});var n=r(583896),a=r(518583),i=r(878609),o=r(815098),l=r(52515);let s=e=>{if(!e)return{props:{}};let{preventDefaultOnEnterKeydown:t}=e;return{props:{onKeyDownCapture:t?e=>{("Enter"===e.key||13===e.keyCode)&&e.preventDefault()}:void 0}}},u=e=>{let t,r,n,o=(0,a.c)(7),{clear:l,nodeType:s}=e;o[0]!==s?(t=e=>e.api.hasMark(s),r=[s],o[0]=s,o[1]=t,o[2]=r):(t=o[1],r=o[2]);let u=(0,i.QR)(t,r);return o[3]!==l||o[4]!==s||o[5]!==u?(n={clear:l,nodeType:s,pressed:u},o[3]=l,o[4]=s,o[5]=u,o[6]=n):n=o[6],n},c=e=>{let t,r,n=(0,a.c)(7),o=(0,i.Q_)();return n[0]!==o||n[1]!==e.clear||n[2]!==e.nodeType?(t=()=>{o.tf.toggleMark(e.nodeType,{remove:e.clear}),o.tf.focus()},n[0]=o,n[1]=e.clear,n[2]=e.nodeType,n[3]=t):t=n[3],n[4]!==e.pressed||n[5]!==t?(r={props:{pressed:e.pressed,onClick:t,onMouseDown:d}},n[4]=e.pressed,n[5]=t,n[6]=r):r=n[6],r};function d(e){e.preventDefault()}let p=e=>{let t,r=(0,a.c)(3),{element:n}=e,o=(0,i.Q_)();return r[0]!==o||r[1]!==n?(t={props:{onClick:()=>{let e=o.api.findPath(n);o.tf.removeNodes({at:e})},onMouseDown:f}},r[0]=o,r[1]=n,r[2]=t):t=r[2],t};function f(e){e.preventDefault()}(0,i.e3)({key:n.t.blockPlaceholder,editOnly:!0,options:{_target:null,placeholders:{[n.t.p]:"Type something..."},query:({path:e})=>1===e.length},useHooks:e=>{let{editor:t,getOptions:r,setOption:n}=e,a=(0,o.zL)(),s=(0,i.fu)(),u=(0,i.iA)(),c=(0,i.QR)(()=>s||u||!a||!t.selection||t.api.isExpanded()?null:t.api.block(),[s,u,a]);l.useEffect(()=>{if(!c)return void n("_target",null);let{placeholders:a,query:i}=r(),[o,l]=c,s=Object.keys(a).find(e=>t.getType(e)===o.type);i({...e,node:o,path:l})&&s&&t.api.isEmpty(o)&&!t.api.isEmpty()?n("_target",{node:o,placeholder:a[s]}):n("_target",null)},[t,c,n,r])}}).extendSelectors(({getOption:e})=>({placeholder:t=>{let r=e("_target");if(r?.node===t)return r.placeholder}})).extend({inject:{isBlock:!0,nodeProps:{transformProps:e=>{let t=(0,i.gO)(e.plugin,"placeholder",e.element);if(t)return{className:e.getOption("className"),placeholder:t}}}}})},901719:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("WrapText",[["line",{x1:"3",x2:"21",y1:"6",y2:"6",key:"4m8b97"}],["path",{d:"M3 12h15a3 3 0 1 1 0 6h-4",key:"1cl7v7"}],["polyline",{points:"16 16 14 18 16 20",key:"1jznyi"}],["line",{x1:"3",x2:"10",y1:"18",y2:"18",key:"1h33wv"}]])},902906:(e,t,r)=>{"use strict";r.d(t,{A:()=>F,B:()=>C,Q:()=>_,V:()=>N,Y:()=>x,Z:()=>S,_:()=>Y,a:()=>X,dt:()=>p,g:()=>W,i:()=>ee,j:()=>M,k:()=>j,lt:()=>h,n:()=>J,nt:()=>b,ot:()=>v,r:()=>Q,rt:()=>y,st:()=>m,t:()=>et,tt:()=>E,ut:()=>f,v:()=>K,x:()=>q,y:()=>V});var n=r(583896),a=r(587250),i=r(453641),o=r(944682),l=r(585713),s=r(69640);let u=(e,{children:t,header:r,row:a}={})=>(r=r??(!!a&&a.children.every(t=>t.type===e.getType(n.t.th))),{children:t??[e.api.create.block()],type:r?e.getType(n.t.th):e.getType(n.t.td)}),c=(e,{colCount:t=1,...r}={})=>{let{api:a}=e.getPlugin({key:n.t.table});return{children:Array.from({length:t}).fill(t).map(()=>a.create.tableCell(r)),type:e.getType(n.t.tr)}},d=(e,{colCount:t,header:r,rowCount:a=0,...i}={})=>{let{api:o}=e.getPlugin({key:n.t.table});return{children:Array.from({length:a}).fill(a).map((e,n)=>o.create.tableRow({colCount:t,...i,header:r&&0===n})),type:e.getType(n.t.table)}},p=e=>e.colSpan||Number(e.attributes?.colspan)||1;function f(e,{all:t,cellNode:r,tableNode:a}){let o,{api:l,getOptions:s,setOption:u}=(0,i.Gt)(e,{key:n.t.table});if(!a&&(!r||!(a=e.api.above({at:r,match:{type:e.getType(n.t.table)}})?.[0])))return;let{_cellIndices:c}=s(),d={...c},p=!1,h=[];for(let e=0;e<a.children.length;e++){let n=a.children[e],i=0;for(let a of n.children){for(;h[e]?.[i];)i++;let n={col:i,row:e},s=c[a.id];if((s?.col!==n.col||s?.row!==n.row)&&(p=!0),d[a.id]=n,a.id===r?.id&&(o=n,!t))break;let u=l.table.getColSpan(a),f=l.table.getRowSpan(a);for(let t=0;t<f;t++){h[e+t]=h[e+t]||[];for(let r=0;r<u;r++)h[e+t][i+r]=!0}i+=u}}return p&&u("_cellIndices",d),o}let h=(e,t)=>{let{getOption:r}=(0,i.Gt)(e,{key:n.t.table}),a=r("cellIndices",t.id);return!a&&((a=f(e,{cellNode:t}))||e.api.debug.warn("No cell indices found for element. Make sure all table cells have an id.","TABLE_CELL_INDICES")),a??{col:0,row:0}},g=e=>{let t=e.at(-2);if(void 0===t)throw Error(`can not get rowIndex of path ${e}`);return t},m=e=>(0,i.Ut)(e,[n.t.td,n.t.th]),v=(e,{at:t}={})=>
1{if(!t&&!(t=e.api.node({match:{type:m(e)}})?.[1])||!t.at(-1))return;let r=a.s2.previous(t);return e.api.node(r)},y=e=>e.rowSpan||Number(e.attributes?.rowspan)||1;function b(e,t){let r=1/0,n=-1/0,a=1/0,i=-1/0;for(let o of t){let{col:t,row:l}=h(e,o),s=p(o),u=l+y(o)-1,c=t+s-1;l<r&&(r=l),u>n&&(n=u),t<a&&(a=t),c>i&&(i=c)}return{maxCol:i,maxRow:n,minCol:a,minRow:r}}let E=(e,{at:t}={})=>{if(!t&&!(t=e.api.node({match:{type:m(e)}})?.[1]))return;let r=t.at(-1),n=t.at(-2);if(0===n)return;let i=[...a.s2.parent(a.s2.parent(t)),n-1,r];return e.api.node(i)},S=(e,t,r={})=>{let{select:n={none:!0,outer:!0,side:!0}}=r,a=t;if(!a||0===a.length){let t=e.api.block({match:{type:m(e)}});if(!t)return{bottom:!0,left:!0,none:!1,outer:!0,right:!0,top:!0};a=[t[0]]}let i=a.map(e=>e),{maxCol:o,maxRow:l,minCol:s,minRow:u}=b(e,i),c=!1,d=!0,f={bottom:!1,left:!1,right:!1,top:!1};for(let t of i){let{col:r,row:a}=h(e,t),i=e.api.findPath(t),g=p(t),m=y(t),b=0===a,S=0===r;if(i){if(n.none&&!c&&(b&&(t.borders?.top?.size??1)>0&&(c=!0),S&&(t.borders?.left?.size??1)>0&&(c=!0),(t.borders?.bottom?.size??1)>0&&(c=!0),(t.borders?.right?.size??1)>0&&(c=!0),!c)){if(!b){let t=E(e,{at:i});t&&(t[0].borders?.bottom?.size??1)>0&&(c=!0)}if(!S){let t=v(e,{at:i});t&&(t[0].borders?.right?.size??1)>0&&(c=!0)}}if(n.side||n.outer)for(let c=a;c<a+m;c++)for(let a=r;a<r+g;a++){if(c===u)if(b)(t.borders?.top?.size??1)<1?(f.top=!1,n.outer&&(d=!1)):f.top||(f.top=!0);else{let t=E(e,{at:i});if(t){let[e]=t;(e.borders?.bottom?.size??1)<1?(f.top=!1,n.outer&&(d=!1)):f.top||(f.top=!0)}}if(c===l&&((t.borders?.bottom?.size??1)<1?(f.bottom=!1,n.outer&&(d=!1)):f.bottom||(f.bottom=!0)),a===s)if(S)(t.borders?.left?.size??1)<1?(f.left=!1,n.outer&&(d=!1)):f.left||(f.left=!0);else{let t=v(e,{at:i});if(t){let[e]=t;(e.borders?.right?.size??1)<1?(f.left=!1,n.outer&&(d=!1)):f.left||(f.left=!0)}}a===o&&((t.borders?.right?.size??1)<1?(f.right=!1,n.outer&&(d=!1)):f.right||(f.right=!0))}}}return{...n.side?f:{bottom:!0,left:!0,right:!0,top:!0},none:!!n.none&&!c,outer:!n.outer||d}};function _(e,t,r){let{maxCol:n,maxRow:a,minCol:i,minRow:o}=b(e,t);return t.every(t=>{let{col:l,row:s}=h(e,t),u=p(t),c=y(t),d=e.api.findPath(t);if(!d)return!0;for(let p=s;p<s+c;p++)for(let c=l;c<l+u;c++){if("top"===r&&p===o){if(0===s)return(t.borders?.top?.size??1)>=1;let r=E(e,{at:d});if(!r)return!0;let[n]=r;return(n.borders?.bottom?.size??1)>=1}if("bottom"===r&&p===a)return(t.borders?.bottom?.size??1)>=1;if("left"===r&&c===i){if(0===l)return(t.borders?.left?.size??1)>=1;let r=v(e,{at:d});if(!r)return!0;let[n]=r;return(n.borders?.right?.size??1)>=1}if("right"===r&&c===n)return(t.borders?.right?.size??1)>=1}return!0})}let w=(e,t)=>e.api.block({above:!0,match:{type:e.getType(n.t.table)},...t}),x=(e,{cellIndices:t,defaultBorder:r={size:1},element:n})=>{let a=e.api.findPath(n),[i,o]=e.api.parent(a)??[];if(!i||!o)return{bottom:r,right:r};let[l]=e.api.parent(o),{col:s}=t??h(e,n),u=l.children?.[0]===i,c=e=>{let t=n.borders?.[e];return{color:t?.color??r.color,size:t?.size??r.size,style:t?.style??r.style}};return{bottom:c("bottom"),left:0===s?c("left"):void 0,right:c("right"),top:u?c("top"):void 0}},k=(e,{cellIndices:t,colSizes:r,element:a,rowSize:o})=>{let{api:l}=(0,i.Gt)(e,{key:n.t.table}),s=e.api.findPath(a);if(!o){let[t]=e.api.parent(s)??[];if(!t)return{minHeight:0,width:0};o=t.size}if(!r){let[,t]=e.api.parent(s),[n]=e.api.parent(t);r=C(n)}let u=l.table.getColSpan(a),{col:c}=t??h(e,a);return{minHeight:o,width:(r??[]).slice(c,c+u).reduce((e,t)=>e+(t||0),0)}},A=e=>e.children?.[0]?.children?e.children[0].children.map(e=>e.colSpan||e?.attributes?.colspan||1).reduce((e,t)=>Number(e)+Number(t)):0,T=({col:e,row:t},r)=>({col:e+p(r)-1,row:t+y(r)-1}),I=(e,t,r,n)=>t.children.flatMap(e=>e.children).find(t=>{let a=h(e,t),{col:i,row:o}=a,{col:l,row:s}=T(a,t);return!!(n>=i)&&!!(n<=l)&&!!(r>=o)&&!!(r<=s)}),N=(e,{format:t="table",...r}={})=>{let{api:o}=e.getPlugin({key:n.t.table}),l=e.api.edgeBlocks({match:{type:m(e)},...r});if(l){let[r,s]=l;if(!a.s2.equals(r[1],s[1]))return((e,{at:t,format:r="table"})=>{let{api:o}=e.getPlugin({key:n.t.table}),{disableMerge:l}=e.getOptions(ee);if(!l)return((e,{at:t,format:r})=>{let{api:n,type:a}=(0,i.Gt)(e,ee),o=e.api.node({at:t.anchor.path,match:{type:m(e)}}),l=e.api.node({at:t.focus.path,match:{type:m(e)}}),s=o[0],u=l[0],c=t.anchor.path.slice(0,-2),d=e.api.node({at:c,match:{type:a}})[0],{col:p,row:f}=T(h(e,s),s),{col:g,row:v}=T(h(e,u),u),y=Math.min(f,v),b=Math.max(f,v),E=Math.min(p,g),S=Math.max(p,g),_=b-y,w=S-E,x=n.create.table({children:[],colCount:w+1,rowCount:_+1}),k=[],A=new WeakSet,N=y,C=E;for(;;){let t=I(e,d,N,C);if(!t)break;let r=h(e,t),{col:a,row:i}=T(r,t),{col:o,row:l}=r;if(l<y||i>b||o<E||a>S){A=new WeakSet,k=[],y=Math.min(y,l),b=Math.max(b,i),E=Math.min(E,o),S=Math.max(S,a),N=y,C=E;let e=b-y,t=S-E;x=n.create.table({children:[],colCount:t+1,rowCount:e+1});continue}if(!A.has(t)){A.add(t),x.children[N-y].children[C-E]=t;let r=e.api.findPath(t);k.push([t,r])}if(C+1<=S)C+=1;else if(N+1<=b)C=E,N+=1;else break}let O=r||"table";
1return"cell"===O?k:(x.children?.forEach(e=>{e.children=e.children?.filter(e=>n.table.getCellChildren(e).length>0)}),"table"===O)?[[x,c]]:{cellEntries:k,tableEntries:[[x,c]]}})(e,{at:t,format:r});let s=t.anchor.path,u=t.focus.path,c=s.at(-2),d=u.at(-2),p=s.at(-1),f=u.at(-1),g=Math.min(c,d),v=Math.max(c,d),y=Math.min(p,f),b=Math.max(p,f),E=s.slice(0,-2),S=o.create.table({children:[],colCount:b-y+1,rowCount:v-g+1}),_=g,w=y,x=[];for(;;){let t=E.concat([_,w]),r=a.lZ.get(e,t);if(!r)break;if(S.children[_-g].children[w-y]=r,x.push([r,t]),w+1<=b)w+=1;else if(_+1<=v)w=y,_+=1;else break}return"cell"===r?x:[[S,E]]})(e,{at:{anchor:{offset:0,path:r[1]},focus:{offset:0,path:s[1]}},format:t});if("table"===t){let e=o.create.table({rowCount:1});return e.children[0].children=[r[0]],[[e,r[1].slice(0,-2)]]}return[r]}return[]},C=(e,t)=>{let r=A(e);return(e.colSizes?[...e.colSizes]:Array.from({length:r}).fill(0)).map((e,r)=>t?.get?.(r)??e)},O=(e,t)=>{let[r,i]=a.Cb.edges(e.selection),o=a.lZ.child(t[0],0),l=a.lZ.child(t[0],t[0].children.length-1),s=e.api.above({at:r,match:e=>e.type===n.t.tr}),u=e.api.above({at:i,match:e=>e.type===n.t.tr});s&&u&&o.id===s[0].id&&u[0].id===l.id&&R(e)},R=e=>{let t=N(e,{format:"cell"}),r=[];t.forEach(([t,n])=>{r.push(e.api.pathRef(n))}),r.forEach(t=>{e.tf.removeNodes({at:t.unref()})})},P=(e,t,r,n)=>{let[a,i]=t,o=a.children[r].children.findIndex(t=>{let{col:r}=h(e,t);return r===n});return i.concat([r,o])},L=(e,[t,r])=>{let{api:n}=(0,i.Gt)(e,ee),a=D(t),o=N(e,{format:"cell"}),l=g(o[0][1]);if(null===l)return;let s=0,u=-1,c=0,d=0;if(o.forEach(([e,t])=>{t.at(-2)===l&&(s+=e.colSpan??1);let r=g(t);if(u!==r){if(0!==c)return void c--;let t=n.table.getRowSpan(e);c=t&&t>1?t-1:0,d+=t??1}u=r}),s===a){let t=[];for(let n=l;n<l+d;n++){let a=r.concat(n);t.push(e.api.pathRef(a))}t.forEach(t=>{e.tf.removeNodes({at:t.unref()})})}},D=e=>e.children?.[0]?.children?.reduce((e,t)=>e+(p(t)??1),0),M=e=>{let t=[];return e?.children?.forEach((e,r)=>{e.children?.forEach(e=>{Array.from({length:y(e)||1}).forEach((n,a)=>{t[r+a]||(t[r+a]=0),t[r+a]+=p(e)})})}),t.every(e=>e===t[0])},F=e=>{let{api:t}=(0,i.Gt)(e,ee),r=N(e,{format:"cell"});e.tf.withoutNormalizing(()=>{let a=0;for(let e of r){let[n,i]=e;i.at(-2)===r[0][1].at(-2)&&(a+=t.table.getColSpan(n))}let i=0,{col:o}=h(e,r[0][0]);r.forEach(r=>{let n=r[0],{col:a}=h(e,n);o===a&&(i+=t.table.getRowSpan(n))});let l=[];for(let n of r){let[r]=n,a=t.table.getCellChildren(r);1===a.length&&e.api.isEmpty(a[0])||l.push(...s(a))}let u={};r.forEach(([e,t])=>{let r=t.at(-2);u[r]?u[r].push(t):u[r]=[t]}),Object.values(u).forEach(t=>{t?.forEach(()=>{e.tf.removeNodes({at:t[0]})})});let c={...t.create.tableCell({children:l,header:r[0][0].type===e.getType(n.t.th)}),colSpan:a,rowSpan:i};e.tf.insertNodes(c,{at:r[0][1]})}),e.tf.select(e.api.end(r[0][1]))},j=e=>{let{api:t}=(0,i.Gt)(e,ee),r=e.getType(n.t.tr),[[a,o]]=N(e,{format:"cell"});e.tf.withoutNormalizing(()=>{let i=r=>({...t.create.tableCell({children:r,header:a.type===e.getType(n.t.th)}),colSpan:1,rowSpan:1}),l=o.slice(0,-2),[s,u]=o.slice(-2),c=t.table.getColSpan(a),d=t.table.getRowSpan(a),p=[];for(let e=0;e<c;e++)p.push(u+e);let{col:f}=h(e,a);e.tf.removeNodes({at:o});let g=(t,n)=>{let a=e.api.node({at:[...l,t],match:{type:r}});if(!a)return 0;let i=a[0],o=[],s=1/0,u=!1;if(i.children.forEach(t=>{let{col:r}=h(e,t),a=Math.abs(r-n);a<s&&(s=a,o=e.api.findPath(t),u=r<n)}),o.length>0){let e=o.at(-1);return u?e+1:e}return 1};for(let o=0;o<d;o++){let u=s+o,c=g(u,f),d=[],h=[...l,u],m=e.api.node({at:h,match:{type:r}});for(let r=0;r<p.length;r++){let n=t.table.getCellChildren(a),s=0===o&&0===r?i(n):i();if(m){let t=[...l,u,0===o?p[r]:c];e.tf.insertNodes(s,{at:t})}else d.push(s)}m||e.tf.insertNodes({children:d,type:e.getType(n.t.tr)},{at:h})}}),e.tf.select(e.api.end(o))},U=e=>{let{getOptions:t,type:r}=(0,i.Gt)(e,{key:n.t.table}),{disableMerge:a}=t(),o=e.api.above({match:{type:r}});o&&e.tf.withoutNormalizing(()=>{if(!a){let t,r;return void(t=e.getType(n.t.table),(r=e.api.above({match:{type:t}}))&&e.tf.withoutNormalizing(()=>{let{api:t}=(0,i.Gt)(e,ee);if(e.api.isExpanded())return O(e,r);let a=r[0],o=e.api.above({match:{type:m(e)}});if(!o)return;let l=o[0],{col:u}=h(e,l),c=t.table.getColSpan(l),d=u+c-1,p=a.children.length,f=new Set;for(let t of Array.from({length:p},(e,t)=>t))for(let r of Array.from({length:c},(e,t)=>t)){let n=I(e,a,t,u+r);n&&f.add(n)}let g=Array.from(f),{squizeColSpanCells:v}=g.reduce((r,n)=>{if(!n)return r;let{col:a}=h(e,n),i=t.table.getColSpan(n);return a<u&&i>1?r.squizeColSpanCells.push(n):i>1&&a+i-1>d&&r.squizeColSpanCells.push(n),r},{squizeColSpanCells:[]});v.forEach(n=>{let{col:a,row:i}=h(e,n),o=t.table.getColSpan(n),l=P(e,r,i,a),c=o-(Math.min(a+o-1,d)-u+1),p=s({...n,colSpan:c});p.attributes?.colspan&&(p.attributes.colspan=c.toString()),e.tf.setNodes(p,{at:l})});let y=e.api.above({match:{type:e.getType(n.t.tr)}});if(l&&y&&r&&y[0].children.length>1){let[t,n]=r,a=[];g.forEach(t=>{let{col:n,row:i}=h(e,t);if(!v.includes(t)&&n>=u&&n<=d){let t=P(e,r,i,n);a[i]||(a[i]=[]),a[i].push(t)}}),a.forEach(t=>{let r=t[0];t.forEach(()=>{e.tf.removeNodes({at:r})})});let{colSizes:i}=t;if(i){let t=[...i];t.splice(u,1),e.tf.setNodes({colSizes:t},{at:n})}}}))}if(e.api.isExpanded())return O(e,o);let t=e.api.above({match:{type:m(e)}}),r=e.api.above({match:{type:e.getType(n.t.tr)}});if(t&&r&&o&&r[0].children.length>1){let[r,n]=o,a=t[1],i=a.at(-1),l=a.slice(),s=l.length-2;
1r.children.forEach((t,r)=>{l[s]=r,1===t.children.length||i>t.children.length-1||e.tf.removeNodes({at:l})});let{colSizes:u}=r;if(u){let t=[...u];t.splice(i,1),e.tf.setNodes({colSizes:t},{at:n})}}})},z=e=>{let{getOptions:t,type:r}=(0,i.Gt)(e,{key:n.t.table}),{disableMerge:a}=t();if(!a)return(e=>{let{api:t,tf:r,type:a}=(0,i.Gt)(e,{key:n.t.table});if(e.api.some({match:{type:a}})){let n=e.api.above({match:{type:a}});if(!n)return;if(e.api.isExpanded())return L(e,n);let i=n[0],o=e.api.above({match:{type:m(e)}});if(!o)return;let l=o[0],{row:u}=h(e,l),c=t.table.getRowSpan(l),d=u+c-1,p=A(i),f=new Set;for(let t of Array.from({length:p},(e,t)=>t))for(let r of Array.from({length:c},(e,t)=>t)){let n=I(e,i,u+r,t);f.add(n)}let{moveToNextRowCells:g,squizeRowSpanCells:v}=Array.from(f).reduce((r,n)=>{if(!n)return r;let{row:a}=h(e,n),i=t.table.getRowSpan(n);return a<u&&i>1?r.squizeRowSpanCells.push(n):i>1&&a+i-1>d&&r.moveToNextRowCells.push(n),r},{moveToNextRowCells:[],squizeRowSpanCells:[]}),y=u+c,b=i.children[y];if(void 0===b&&0===u)return void r.remove.table();if(b)for(let r=0;r<g.length;r++){let n=g[r],{col:a,row:i}=h(e,n),o=t.table.getRowSpan(n),l=b.children.findIndex(t=>{let{col:r}=h(e,t);return r>=a});if(-1===l){let t=b.children.at(-1),a=e.api.findPath(t),l=[...a.slice(0,-2),y,a.at(-1)+r+1],u=o-(d-i+1),c=s({...n,rowSpan:u});c.attributes?.rowspan&&(c.attributes.rowspan=u.toString()),e.tf.insertNodes(c,{at:l});continue}let u=b.children[l],{col:c}=h(e,u),p=r;c<a&&(p+=1);let f=e.api.findPath(u),m=[...f.slice(0,-2),y,f.at(-1)+p],v=o-(d-i+1),E=s({...n,rowSpan:v});E.attributes?.rowspan&&(E.attributes.rowspan=v.toString()),e.tf.insertNodes(E,{at:m})}v.forEach(r=>{let{row:n}=h(e,r),a=t.table.getRowSpan(r),i=e.api.findPath(r),o=a-(Math.min(n+a-1,d)-u+1),l=s({...r,rowSpan:o});l.attributes?.rowspan&&(l.attributes.rowspan=o.toString()),e.tf.setNodes(l,{at:i})});let E=i.children[u],S=e.api.findPath(E);Array.from({length:c}).forEach(()=>{e.tf.removeNodes({at:S})})}})(e);if(e.api.some({match:{type:r}})){let t=e.api.above({match:{type:r}});if(!t)return;if(e.api.isExpanded())return L(e,t);let a=e.api.above({match:{type:e.getType(n.t.tr)}});a&&t&&t[0].children.length>1&&e.tf.removeNodes({at:a[1]})}},B=e=>{if(e.api.some({match:{type:e.getType(n.t.table)}})){let t=e.api.above({match:{type:e.getType(n.t.table)}});t&&e.tf.removeNodes({at:t[1]})}},$=(e,{colCount:t=2,header:r,rowCount:i=2}={},{select:o,...l}={})=>{let{api:s}=e.getPlugin({key:n.t.table}),u=e.getType(n.t.table);e.tf.withoutNormalizing(()=>{let n=s.create.table({colCount:t,header:r,rowCount:i});if(!l.at){let t=e.api.block({match:{type:u}});if(t){let[,r]=t,i=a.s2.next(r);e.tf.insertNodes(n,{at:i,...l}),e.selection&&e.tf.select(e.api.start(i));return}}if(e.tf.insertNodes(n,{nextBlock:!l.at,select:o,...l}),o){let t=e.api.node({at:l.at,match:{type:u}});if(!t)return;e.tf.select(e.api.start(t[1]))}})},H=(e,t={})=>{let r,o,{api:l,getOptions:u,type:c}=(0,i.Gt)(e,ee),{disableMerge:d,initialTableWidth:p,minColumnWidth:f}=u();if(!d)return((e,{at:t,before:r,fromCell:o,header:l,select:u}={})=>{let c,d,{api:p,getOptions:f,type:g}=(0,i.Gt)(e,ee),{initialTableWidth:v,minColumnWidth:y}=f();t&&!o&&a.lZ.get(e,t)?.type===e.getType(n.t.table)&&(o=a.lZ.lastChild(e,t.concat([0]))[1],t=void 0);let b=o?e.api.node({at:o,match:{type:m(e)}}):e.api.block({match:{type:m(e)}});if(!b)return;let[,E]=b,S=b[0],_=e.api.block({above:!0,at:E,match:{type:g}});if(!_)return;let[w,x]=_,{col:k}=h(e,S),A=p.table.getColSpan(S);a.s2.isPath(t)?(c=k,d=k-1):(c=r?k:k+A,d=r?k:k+A-1);let T=w.children.length,N=c<=0,C=+!r;N&&(d=0,C=0);let O=new Set;Array.from({length:T},(e,t)=>t).forEach(t=>{let r=I(e,w,t,d);r&&O.add(r)}),Array.from(O).forEach(t=>{let{col:n,row:a}=h(e,t),i=p.table.getRowSpan(t),o=p.table.getColSpan(t),d=P(e,_,a,n);if(!(n+o-1>=c)||N||r){let t=d.slice(0,-1),n=d.at(-1),a=[...t,r?n:n+C],o=e.api.parent(d)[0],s={...p.create.tableCell({header:l,row:o}),colSpan:1,rowSpan:i};e.tf.insertNodes(s,{at:a,select:u})}else{let r=o+1,n=s({...t,colSpan:r});n.attributes?.colspan&&(n.attributes.colspan=r.toString()),e.tf.setNodes(n,{at:d})}}),e.tf.withoutNormalizing(()=>{let{colSizes:t}=w;if(t){let r=[...t.slice(0,c),0,...t.slice(c)];if(v){r[c]=t[c]??t[c-1]??v/t.length;let e=t.reduce((e,t)=>
1e+t,0),n=r.reduce((e,t)=>e+t,0),a=Math.max(e,v);if(n>a){let e=a/n;r=r.map(t=>Math.max(y??0,Math.floor(t*e)))}}e.tf.setNodes({colSizes:r},{at:x})}})})(e,t);let{before:g,header:v,select:y}=t,{at:b,fromCell:E}=t;b&&!E&&a.lZ.get(e,b)?.type===e.getType(n.t.table)&&(E=a.lZ.lastChild(e,b.concat([0]))[1],b=void 0);let S=e.api.block({at:E,match:{type:m(e)}});if(!S)return;let[,_]=S,w=e.api.block({above:!0,at:_,match:{type:c}});if(!w)return;let[x,k]=w;a.s2.isPath(b)?(r=b,o=b.at(-1)):(r=g?_:a.s2.next(_),o=g?_.at(-1):_.at(-1)+1);let A=_.at(-2);e.tf.withoutNormalizing(()=>{x.children.forEach((t,i)=>{let o=[...r];a.s2.isPath(b)?o[b.length-2]=i:o[_.length-2]=i;let s=void 0===v?t.children.every(t=>t.type===e.getType(n.t.th)):v;e.tf.insertNodes(l.create.tableCell({header:s}),{at:o,select:y&&i===A})});let{colSizes:t}=x;if(t){let r=[...t.slice(0,o),0,...t.slice(o)];if(p){r[o]=t[o]??t[o-1]??p/t.length;let e=t.reduce((e,t)=>e+t,0),n=r.reduce((e,t)=>e+t,0),a=Math.max(e,p);if(n>a){let e=a/n;r=r.map(t=>Math.max(f??0,Math.floor(t*e)))}}e.tf.setNodes({colSizes:r},{at:k})}})},G=(e,t={})=>{let{api:r,getOptions:o,type:l}=(0,i.Gt)(e,ee),{disableMerge:u}=o();if(!u)return((e,{at:t,before:r,fromRow:o,header:l,select:u}={})=>{let c,d,p,{api:f,type:g}=(0,i.Gt)(e,ee);t&&!o&&a.lZ.get(e,t)?.type===e.getType(n.t.table)&&(o=a.lZ.lastChild(e,t)[1],t=void 0);let v=e.api.block({at:o,match:{type:e.getType(n.t.tr)}});if(!v)return;let[,y]=v,b=e.api.block({above:!0,at:y,match:{type:g}});if(!b)return;let E=b[0],S=e.api.node({at:o,match:{type:m(e)}});if(!S)return;let[_,w]=S,x=f.table.getRowSpan(_),{row:k}=h(e,_),T=w.at(-2),N=w.slice(0,-2);a.s2.isPath(t)?(c=t.at(-1),d=k-1,p=t):(c=r?k:k+x,d=r?k-1:k+x-1,p=[...N,r?T:T+x]);let C=0===c;C&&(d=0);let O=A(E),R=new Set;Array.from({length:O},(e,t)=>t).forEach(t=>{let r=I(e,E,d,t);r&&R.add(r)});let L=Array.from(R),D=[];L.forEach(t=>{if(!t)return;let{col:r,row:n}=h(e,t),a=f.table.getRowSpan(t),i=f.table.getColSpan(t),o=P(e,b,n,r);if(n+a-1>=c&&!C){let r=a+1,n=s({...t,rowSpan:r});n.attributes?.rowspan&&(n.attributes.rowspan=r.toString()),e.tf.setNodes(n,{at:o})}else{let t=e.api.parent(o)[0],r=f.create.tableCell({header:l,row:t});D.push({...r,colSpan:i,rowSpan:1})}}),e.tf.withoutNormalizing(()=>{if(e.tf.insertNodes({children:D,type:e.getType(n.t.tr)},{at:p,select:!1}),u){let t=e.api.node({at:p,match:{type:m(e)}});if(t){let[,r]=t;e.tf.select(r)}}})})(e,t);let{before:c,header:d,select:p}=t,{at:f,fromRow:g}=t;f&&!g&&a.lZ.get(e,f)?.type===e.getType(n.t.table)&&(g=a.lZ.lastChild(e,f)[1],f=void 0);let v=e.api.block({at:g,match:{type:e.getType(n.t.tr)}});if(!v)return;let[y,b]=v,E=e.api.block({above:!0,at:b,match:{type:l}});if(E&&(e.tf.withoutNormalizing(()=>{e.tf.insertNodes({children:y.children.map((t,a)=>{let i=1!==E[0].children.length&&E[0].children.every(t=>t.children[a].type===e.getType(n.t.th));return r.create.tableCell({header:d??i})}),type:e.getType(n.t.tr)},{at:a.s2.isPath(f)?f:c?b:a.s2.next(b)})}),p)){let t=e.api.block({match:{type:m(e)}});if(!t)return;let[,r]=t;a.s2.isPath(f)?r[r.length-2]=f.at(-2):r[r.length-2]=c?r.at(-2):r.at(-2)+1,e.tf.select(r)}},q=(e,{at:t,edge:r,fromOneCell:n,reverse:i}={})=>{if(r){let i=N(e,{at:t,format:"cell"});if(i.length>+!n){let[,t]=i[0],[,n]=i.at(-1),o=[...t],l=[...n];switch(r){case"bottom":l[l.length-2]+=1;break;case"left":o[o.length-1]-=1;break;case"right":l[l.length-1]+=1;break;case"top":o[o.length-2]-=1}return a.lZ.has(e,o)&&a.lZ.has(e,l)&&e.tf.select({anchor:e.api.start(o),focus:e.api.start(l)}),!0}return}let o=e.api.block({at:t,match:{type:m(e)}});if(o){let[,t]=o,r=[...t];if(r[r.length-2]+=i?-1:1,a.lZ.has(e,r))e.tf.select(e.api.start(r));else{let r=t.slice(0,-2);i?e.tf.withoutNormalizing(()=>{e.tf.select(e.api.start(r)),e.tf.move({reverse:!0})}):e.tf.withoutNormalizing(()=>{e.tf.select(e.api.end(r)),e.tf.move()})}return!0}},V=(e,t,{at:r,border:n="all"}={})=>{let i=e.api.node({at:r,match:{type:m(e)}});if(!i)return;let[o,l]=i,s=l.at(-1),u=l.at(-2),c={size:t},d={match:t=>a.$7.isElement(t)&&m(e).includes(t.type)};if("top"===n){if(0===u){let t={...o.borders,top:c};e.tf.setNodes({borders:t},{at:l,...d});return}let t=E(e,{at:l});if(!t)return;let[r,n]=t,a={...r.borders,bottom:c};e.tf.setNodes({borders:a},{at:n,...d})}else if("bottom"===n){let t={...o.borders,bottom:c};e.tf.setNodes({borders:t},{at:l,...d})}if("left"===n){if(0===s){let t={...o.borders,left:c};e.tf.setNodes({borders:t},{at:l,...d});return}let t=v(e,{at:l});if(!t)return;let[r,n]=t,a={...r.borders,right:c};e.tf.setNodes({borders:a},{at:n,...d})}else if("right"===n){let t={...o.borders,right:c};e.tf.setNodes({borders:t},{at:l,...d})}"all"===n&&e.tf.withoutNormalizing(()=>{V(e,t,{at:r,border:"top"}),V(e,t,{at:r,border:"bottom"}),V(e,t,{at:r,border:"left"}),V(e,t,{at:r,border:"right"})})},K=(e,{colIndex:t,width:r},a={})=>{let i=e.api.node({match:{type:n.t.table},...a});if(!i)return;let[o,l]=i,s=o.colSizes?[...o.colSizes]:Array.from({length:A(o)}).fill(0);s[t]=r,e.tf.setNodes({colSizes:s},{at:l})},Y=(e,{marginLeft:t},r={})=>{let a=e.api.node({match:{type:n.t.table},...r});if(!a)return;let[,i]=a;e.tf.setNodes({marginLeft:t},{at:i})},W=(e,{height:t,rowIndex:r},a={})=>{let i=e.api.node({match:{type:n.t.table},...a});if(!i)return;let[,o]=i,l=[...o,r];e.tf.setNodes({size:t},{at:l})},Z=({element:e,type:t})=>{let r=e.style.background||e.style.backgroundColor;return r?{background:r,type:t}:{type:t}},X=(0,i.Kt)({key:n.t.tr,node:{isContainer:!0,isElement:!0,isStrictSiblings:!0},parsers:{html:{deserializer:{rules:[{validNodeName:"TR"}]}}}}),Q=(0,i.Kt)({key:n.t.td,node:{dangerouslyAllowAttributes:["colspan","rowspan"],isContainer:!0,isElement:!0,isStrictSiblings:!0,props:({element:e})=>
1({colSpan:e?.attributes?.colspan,rowSpan:e?.attributes?.rowspan})},parsers:{html:{deserializer:{attributeNames:["rowspan","colspan"],parse:Z,rules:[{validNodeName:"TD"}]}}},rules:{merge:{removeEmpty:!1}}}),J=(0,i.Kt)({key:n.t.th,node:{dangerouslyAllowAttributes:["colspan","rowspan"],isContainer:!0,isElement:!0,isStrictSiblings:!0,props:({element:e})=>({colSpan:e?.attributes?.colspan,rowSpan:e?.attributes?.rowspan})},parsers:{html:{deserializer:{attributeNames:["rowspan","colspan"],parse:Z,rules:[{validNodeName:"TH"}]}}},rules:{merge:{removeEmpty:!1}}}),ee=(0,i.qt)({key:n.t.table,node:{isContainer:!0,isElement:!0},normalizeInitialValue:({editor:e,type:t})=>{for(let[r]of e.api.nodes({at:[],match:{type:t}}))f(e,{tableNode:r})},options:{_cellIndices:{},disableMerge:!1,minColumnWidth:48,selectedCells:null,selectedTables:null},parsers:{html:{deserializer:{rules:[{validNodeName:"TABLE"}]}}},plugins:[X,Q,J]}).extendSelectors(({getOptions:e})=>({cellIndices:t=>e()._cellIndices[t]})).extendEditorApi(({editor:e})=>({create:{table:(0,l.gv)(d,e),tableCell:(0,l.gv)(u,e),tableRow:(0,l.gv)(c,e)},table:{getCellBorders:(0,l.gv)(x,e),getCellSize:(0,l.gv)(k,e),getColSpan:p,getRowSpan:y,getCellChildren:e=>e.children}})).extendEditorTransforms(({editor:e})=>({insert:{table:(0,l.gv)($,e),tableColumn:(0,l.gv)(H,e),tableRow:(0,l.gv)(G,e)},remove:{table:(0,l.gv)(B,e),tableColumn:(0,l.gv)(U,e),tableRow:(0,l.gv)(z,e)},table:{merge:(0,l.gv)(F,e),split:(0,l.gv)(j,e)}})).overrideEditor(e=>{let{editor:t,tf:{selectAll:r,tab:i},type:l}=e,u=(({api:{marks:e},editor:t,tf:{addMark:r,removeMark:n,setNodes:i}})=>({api:{marks(){let r=(()=>{let{selection:e}=t;if(!e||t.api.isCollapsed())return;let r=N(t,{format:"cell"});if(r.length<=1)return;let n={},i={},o=0;return r.forEach(([e,r])=>{Array.from(t.api.nodes({at:r,match:e=>a.Qg.isText(e)}),e=>e[0]).forEach(e=>{o++;let t=Object.keys(e);1!==t.length&&(t.splice(t.indexOf("text"),1),t.forEach(t=>{n[t]=(n[t]||0)+1,i[t]=e[t]}))})}),Object.keys(n).forEach(e=>{n[e]!==o&&delete i[e]}),i})();return r||e()}},transforms:{addMark(e,n){if(!(()=>{let{selection:r}=t;if(!r||t.api.isCollapsed()||t.meta.isNormalizing)return;let i=N(t,{format:"cell"});if(!(i.length<=1))return i.forEach(([r,i])=>{t.tf.setNodes({[e]:n},{at:i,split:!0,voids:!0,match:e=>a.Qg.isText(e)})}),!0})())return r(e,n)},removeMark(e){if(!(()=>{let{selection:r}=t;if(!r||t.api.isCollapsed()||t.meta.isNormalizing)return;let n=N(t,{format:"cell"});if(!(n.length<=1))return n.forEach(([r,n])=>{t.tf.setNodes({[e]:null},{at:n,split:!0,voids:!0,match:e=>a.Qg.isText(e)})}),!0})())return n(e)},setNodes(e,r){if(!(()=>{let{selection:n}=t;if(!n||t.api.isCollapsed()||t.meta.isNormalizing)return;if(r?.at){let e=t.api.range(r.at);if(e&&!a.Cb.includes(n,e))return}let o=N(t,{format:"cell"});if(!(o.length<=1))return i(e,{...r,match:(0,a.f4)(t,(e,t)=>o.some(([e,r])=>a.s2.isCommon(r,t)),r)}),!0})())return i(e,r)}}}))(e);return{api:{...(({api:e,api:{getFragment:t},editor:r,type:n})=>({api:{getFragment(){let a=t(),i=[];return a.forEach(t=>{if(t.type===n){let n=t.children,a=n.length;if(!a)return;let o=n[0].children.length;if(a<=1&&o<=1){let t=n[0],r=e.table.getCellChildren(t);i.push(...r[0].children);return}let l=N(r);if(l.length>0)return void i.push(l[0][0])}i.push(t)}),i}}}))(e).api,...u.api},transforms:{selectAll:()=>!!(()=>{let e=t.api.above({match:{type:l}});if(!e)return;let[,r]=e;return t.tf.select(r),!0})()||r(),tab:e=>!!(()=>{if(t.selection&&t.api.isExpanded()&&Array.from(t.api.nodes({at:t.selection,match:{type:m(t)}})).length>1)return t.tf.collapse({edge:"end"}),!0;let r=((e,{at:t=e.selection}={})=>{if(!t)return;let r=e.api.node({at:t,match:{type:m(e)}});if(!r)return;let[,a]=r,i=e.api.above({at:a,match:{type:e.getType(n.t.tr)}});if(!i)return;let[,o]=i,l=e.api.above({at:o,match:{type:e.getType(n.t.table)}});if(l)return{cell:r,row:i,table:l}})(t);if(!r)return;let{cell:i,row:o}=r,[,l]=i;if(e.reverse){let e=((e,t,r,n)=>{let i=a.s2.previous(r);if(!i){let[,t]=n;return((e,t)=>{let r=a.s2.previous(t);if(!r)return;let n=e.api.node(r);if(!n)return;let[i,o]=n,l=i?.children?.[i.children.length-1],s=o.concat(i.children.length-1);if(l&&s)return e.api.node(s)})(e,t)}let o=e.api.node(i);if(o)return o}
1)(t,0,l,o);if(e){let[,r]=e;t.tf.select(r)}}else{let e=((e,t,r,n)=>{let i=e.api.node(a.s2.next(r));if(i)return i;let[,o]=n;return((e,t)=>{let r=e.api.node(a.s2.next(t));if(!r)return;let[n,i]=r,o=n?.children?.[0],l=i.concat(0);if(o&&l)return e.api.node(l)})(e,o)})(t,0,l,o);if(e){let[,r]=e;t.tf.select(r)}}return!0})()||i(e),...(({editor:e,getOption:t,getOptions:r,tf:{normalizeNode:i},type:o})=>({transforms:{normalizeNode([l,s]){let{enableUnsetSingleColSize:u,initialTableWidth:c}=r();if(a.$7.isElement(l)){if(l.type===o){if(!l.children.some(t=>a.$7.isElement(t)&&t.type===e.getType(n.t.tr)))return void e.tf.removeNodes({at:s});if(l.colSizes&&l.colSizes.length>0&&u&&2>A(l))return void e.tf.unsetNodes("colSizes",{at:s});if(e.api.block({above:!0,at:s,match:{type:o}}))return void e.tf.unwrapNodes({at:s});if(c){let t=l.children[0]?.children?.length;if(t){let r=[];if(l.colSizes)l.colSizes.some(e=>!e)&&l.colSizes.forEach(e=>{r.push(e||c/t)});else for(let e=0;e<t;e++)r.push(c/t);if(r.length>0)return void e.tf.setNodes({colSizes:r},{at:s})}}}if(l.type===e.getType(n.t.tr)&&e.api.parent(s)?.[0].type!==o)return void e.tf.unwrapNodes({at:s});if(m(e).includes(l.type)){let r=t("cellIndices",l.id);l.id&&!r&&f(e,{all:!0,cellNode:l});let{children:i}=l;if(e.api.parent(s)?.[0].type!==e.getType(n.t.tr))return void e.tf.unwrapNodes({at:s});if(a.Qg.isText(i[0]))return void e.tf.wrapNodes(e.api.create.block({},s),{at:s,children:!0})}}i([l,s])}}}))(e).transforms,...(({editor:e,tf:{deleteFragment:t},type:r})=>({transforms:{deleteFragment(n){if(e.api.isAt({block:!0,match:e=>e.type===r})){let t=N(e,{format:"cell"});if(t.length>1)return void e.tf.withoutNormalizing(()=>{t.forEach(([,t])=>{e.tf.replaceNodes(e.api.create.block(),{at:t,children:!0})}),e.tf.select({anchor:e.api.start(t[0][1]),focus:e.api.end(t.at(-1)[1])})})}t(n)}}}))(e).transforms,...(({api:e,editor:t,getOptions:r,tf:{insert:i,insertFragment:o},type:l})=>({transforms:{insertFragment(u){let c=u.find(e=>e.type===l);if(!c&&w(t,{at:t.selection?.anchor})){let e=N(t,{format:"cell"});if(e.length>1){e.forEach(e=>{if(e){let[,r]=e;t.tf.replaceNodes(s(u),{at:r,children:!0})}}),t.tf.select({anchor:t.api.start(e[0][1]),focus:t.api.end(e.at(-1)[1])});return}}if(c){if(w(t,{at:t.selection?.anchor})){let[n]=N(t,{at:t.selection?.anchor,format:"cell"});if(n)return void t.tf.withoutNormalizing(()=>{let[,o]=n,l=[...o],u=l.at(-1),d=null,p=!0;c.children.forEach(n=>{if(l[l.length-1]=u,!p){let e=l.slice(0,-1);if(l[l.length-2]+=1,!a.lZ.has(t,l)){if(r().disableExpandOnInsert)return;i.tableRow({fromRow:e})}}p=!1;let o=n.children,c=!0;o.forEach(n=>{if(!c){let e=[...l];if(l[l.length-1]+=1,!a.lZ.has(t,l)){if(r().disableExpandOnInsert)return;i.tableColumn({fromCell:e})}}c=!1;let o=e.table.getCellChildren(n);t.tf.replaceNodes(s(o),{at:l,children:!0}),d=[...l]})}),d&&t.tf.select({anchor:t.api.start(o),focus:t.api.end(d)})})}else if(1===u.length&&u[0].type===n.t.table)return void t.tf.insertNodes(u[0])}o(u)}}}))(e).transforms,...(({editor:e,tf:{insertText:t}})=>({transforms:{insertText(r,n){e.api.isExpanded()&&w(e,{at:e.selection?.anchor})&&N(e,{format:"cell"}).length>1&&e.tf.collapse({edge:"focus"}),t(r,n)}}}))(e).transforms,...(({api:e,editor:t,getOptions:r,tf:{apply:i},type:l})=>({transforms:{apply(e){let s;if("set_selection"===e.type&&e.newProperties){let r={...t.selection,...e.newProperties};if(a.Cb.isRange(r)&&t.api.isAt({at:r,blocks:!0,match:e=>e.type===l})){let n=t.api.block({at:r.anchor,match:e=>e.type===l});if(n){let[,i]=n;a.Cb.isBackward(r)?e.newProperties.focus=t.api.start(i):t.api.before(i)&&(e.newProperties.focus=t.api.end(i))}else{let n=t.api.block({at:r.focus,match:e=>e.type===l});if(n){let[,i]=n;if(a.Cb.isBackward(r)){let r=t.api.start(i),n=t.api.before(r);e.newProperties.focus=n??r}else e.newProperties.focus=t.api.end(i)}}}((e,t)=>{let r;if(!e.dom.currentKeyboardEvent||!["up","down","shift+up","shift+right","shift+down","shift+left"].some(t=>{let n=(0,o.v_)(t,e.dom.currentKeyboardEvent);return n&&(r=t),n})||!e.selection?.focus||!t?.focus||!e.api.isAt({at:{anchor:e.selection.focus,focus:t.focus},blocks:!0,match:{type:m(e)}})||!r)return;let n=et[r];if(n&&!e.api.isAt({block:!0,match:{type:m(e)}}))return;let a=e.selection,i=["shift+up","up"].includes(r);setTimeout(()=>{q(e,{at:a,edge:n,fromOneCell:!0,reverse:i}
1)},0)})(t,r)}let u="remove_node"===e.type?e.node.type:"move_node"===e.type?t.api.node(e.path)?.[0].type:void 0,c=("remove_node"===e.type||"move_node"===e.type)&&u&&[t.getType(n.t.tr),l,...m(t)].includes(u);if(c&&"remove_node"===e.type){let n=[...t.api.nodes({at:e.path,match:{type:m(t)}})],a=r()._cellIndices;n.forEach(([e])=>{delete a[e.id]})}i(e),c&&u!==l&&(s=t.api.node({at:"move_node"===e.type?e.newPath:e.path,match:{type:l}})?.[0])&&f(t,{tableNode:s})}}}))(e).transforms,...(({api:e,editor:t,plugin:r,tf:{setFragmentData:a}})=>({transforms:{setFragmentData(i,o){let l=N(t,{format:"table"})?.[0],s=N(t,{format:"cell"}),u=t.selection;if(!l||!u)return void a(i,o);let[c,d]=l,p=c.children;c.children=c.children.filter(e=>e.children.length>0);let f="",h="",g=document.createElement("div"),m=document.createElement("table");if(l&&u&&1===s.length&&("copy"===o||"cut"===o))return void a(i);t.tf.withoutNormalizing(()=>{p.forEach(r=>{let o=r.children,l=[],s=r.type===t.getType(n.t.th)?document.createElement("th"):document.createElement("tr");o.forEach(r=>{i.clearData();let n=t.api.findPath(r);t.tf.select({anchor:t.api.start(n),focus:t.api.end(n)}),a(i),l.push(i.getData("text/plain"));let o=document.createElement("td");o.colSpan=e.table.getColSpan(r),o.rowSpan=e.table.getRowSpan(r),o.innerHTML=i.getData("text/html"),s.append(o)}),m.append(s),f+=`${l.join(",")} 2`,h+=`${l.join(" ")} 3`});let o=t.api.node({at:d,match:{type:n.t.table}});if(null!=o&&o.length>0){let e=o[0];null!=e.attributes&&Object.entries(e.attributes).forEach(([e,t])=>{null!=t&&r.node.dangerouslyAllowAttributes?.includes(e)&&m.setAttribute(e,String(t))})}t.tf.select(u),g.append(m)}),i.setData("text/csv",f),i.setData("text/tsv",h),i.setData("text/plain",h),i.setData("text/html",g.innerHTML);let v=JSON.stringify([c]),y=window.btoa(encodeURIComponent(v));i.setData("application/x-slate-fragment",y)}}}))(e).transforms,...u.transforms}}}),et={"shift+down":"bottom","shift+left":"left","shift+right":"right","shift+up":"top"}},904871:(e,t,r)=>{"use strict";r.d(t,{O$:()=>c,PX:()=>d,Pj:()=>f,Tz:()=>p});var n=r(377894),a=r(842676),i=r(774850),o=r(559595),l=r(52515),{useSyncExternalStore:s}=r(758132),u=()=>()=>{};function c(e,t=i.D_){let r=l.useCallback(t=>e?(0,o.B1)(e,null,t):u(),[e]),n=()=>{let r="string"==typeof t?t:null,n="function"==typeof t?t:null,a=null==e?void 0:e.getState();return n?n(a):a&&r&&(0,i.mQ)(a,r)?a[r]:void 0};return s(r,n,n)}function d(e,t){let r=l.useRef({}),n=l.useCallback(t=>e?(0,o.B1)(e,null,t):u(),[e]),c=()=>{let n=null==e?void 0:e.getState(),o=!1,l=r.current;for(let e in t){let r=t[e];if("function"==typeof r){let t=r(n);t!==l[e]&&(l[e]=t,o=!0)}if("string"==typeof r){if(!n||!(0,i.mQ)(n,r))continue;let t=n[r];t!==l[e]&&(l[e]=t,o=!0)}}return o&&(r.current=(0,a.IA)({},l)),r.current};return s(n,c,c)}function p(e,t,r,a){let l=(0,i.mQ)(t,r)?t[r]:void 0,s=a?t[a]:void 0,u=(0,n.hX)({value:l,setValue:s});(0,n.UQ)(()=>(0,o.OH)(e,[r],(e,t)=>{let{value:n,setValue:a}=u.current;a&&e[r]!==t[r]&&e[r]!==n&&a(e[r])}),[e,r]),(0,n.UQ)(()=>{if(void 0!==l)return e.setState(r,l),(0,o.vA)(e,[r],()=>{void 0!==l&&e.setState(r,l)})})}function f(e,t){let[r,i]=l.useState(()=>e(t));(0,n.UQ)(()=>(0,o.Ts)(r),[r]);let s=l.useCallback(e=>c(r,e),[r]);return[l.useMemo(()=>(0,a.ko)((0,a.IA)({},r),{useState:s}),[r,s]),(0,n._q)(()=>{i(r=>e((0,a.IA)((0,a.IA)({},t),r.getState())))})]}},904935:e=>{e.exports={root:"tweet-skeleton_root__kXIeY"}},907899:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("Heading1",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"m17 12 3-2v8",key:"1hhhft"}]])},908372:()=>{!function(e){var t=e.util.clone(e.languages.javascript),r=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,n=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,a=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function i(e,t){return RegExp(e=e.replace(/<S>/g,function(){return r}).replace(/<BRACES>/g,function(){return n}).replace(/<SPREAD>/g,function(){return a}),t)}a=i(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:<S>
3+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:i(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var o=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(o).join(""):""},l=function(t){for(var r=[],n=0;n<t.length;n++){var a=t[n],i=!1;if("string"!=typeof a&&("tag"===a.type&&a.content[0]&&"tag"===a.content[0].type?"</"===a.content[0].content[0].content?r.length>0&&r[r.length-1].tagName===o(a.content[0].content[1])&&r.pop():"/>"===a.content[a.content.length-1].content||r.push({tagName:o(a.content[0].content[1]),openedBraces:0}):r.length>0&&"punctuation"===a.type&&"{"===a.content?r[r.length-1].openedBraces++:r.length>0&&r[r.length-1].openedBraces>0&&"punctuation"===a.type&&"}"===a.content?r[r.length-1].openedBraces--:i=!0),(i||"string"==typeof a)&&r.length>0&&0===r[r.length-1].openedBraces){var s=o(a);n<t.length-1&&("string"==typeof t[n+1]||"plain-text"===t[n+1].type)&&(s+=o(t[n+1]),t.splice(n+1,1)),n>0&&("string"==typeof t[n-1]||"plain-text"===t[n-1].type)&&(s=o(t[n-1])+s,t.splice(n-1,1),n--),t[n]=new e.Token("plain-text",s,null,s)}a.content&&"string"!=typeof a.content&&l(a.content)}};e.hooks.add("after-tokenize",function(e){("jsx"===e.language||"tsx"===e.language)&&l(e.tokens)})}(Prism)},908920:(e,t,r)=>{"use strict";r.d(t,{o7:()=>b,kN:()=>v,uL:()=>y,G6:()=>E});var n=r(453641),a=r(583896),i=r(585713);let o=(0,n.Kt)({key:a.t.backgroundColor,inject:{nodeProps:{nodeKey:"backgroundColor"}},parsers:{html:{deserializer:{isLeaf:!0,rules:[{validStyle:{backgroundColor:"*"}}],parse:({element:e,type:t})=>({[t]:e.style.backgroundColor})}}}}).extendTransforms(({editor:e})=>({addMark:t=>{e.tf.addMarks({[a.t.backgroundColor]:t})}})),l=(0,n.Kt)({key:a.t.color,inject:{nodeProps:{defaultNodeValue:"black",nodeKey:"color"}},parsers:{html:{deserializer:{isLeaf:!0,rules:[{validStyle:{color:"*"}}],parse({element:e,type:t}){if(e.style.color)return{[t]:e.style.color}}}}}}).extendTransforms(({editor:e})=>({addMark:t=>{e.tf.addMarks({[a.t.color]:t})}})),s=(0,n.Kt)({key:a.t.fontFamily,inject:{nodeProps:{nodeKey:"fontFamily"}},parsers:{html:{deserializer:{isLeaf:!0,rules:[{validStyle:{fontFamily:"*"}}],parse:({element:e,type:t})=>({[t]:e.style.fontFamily})}}}}).extendTransforms(({editor:e})=>({addMark:t=>{e.tf.addMarks({[a.t.fontFamily]:t})}})),u=(0,n.Kt)({key:a.t.fontSize,inject:{nodeProps:{nodeKey:"fontSize"}},parsers:{html:{deserializer:{isLeaf:!0,rules:[{validStyle:{fontSize:"*"}}],parse:({element:e,type:t})=>({[t]:e.style.fontSize})}}}}).extendTransforms(({editor:e})=>({addMark:t=>{e.tf.addMarks({[a.t.fontSize]:t})}})),c=(0,n.Kt)({key:a.t.fontWeight,inject:{nodeProps:{nodeKey:"fontWeight"}},parsers:{html:{deserializer:{isLeaf:!0,rules:[{validStyle:{fontWeight:"*"}}],parse:({element:e,type:t})=>({[t]:e.style.fontWeight})}}}}).extendTransforms(({editor:e})=>({addMark:t=>{e.tf.addMarks({[a.t.fontWeight]:t})}})),d=(0,n.Kt)({key:a.t.textAlign,inject:{isBlock:!0,nodeProps:{defaultNodeValue:"start",styleKey:"textAlign",validNodeValues:["start","left","center","right","end","justify"]},targetPlugins:[a.t.p],targetPluginToInject:({editor:e})=>({parsers:{html:{deserializer:{parse:({element:t,node:r})=>{t.style.textAlign&&(r[e.getType(a.t.textAlign)]=t.style.textAlign)}}}}})},node:{type:"align"}}).extendTransforms(({editor:e})=>({setNodes:(0,i.gv)(p,e)})),p=(e,t,r)=>{let{defaultNodeValue:i,nodeKey:o}=e.getInjectProps(d),l=(0,n.ht)(e,e.getPlugin({key:a.t.textAlign}));t===i?e.tf.unsetNodes(o,{match:l,...r}):e.tf.setNodes({[o]:t},{match:l,...r})},f=(e,t,r)=>{let{defaultNodeValue:i,nodeKey:o}=e.getInjectProps(h),l=(0,n.ht)(e,e.getPlugin({key:a.t.lineHeight}));t===i?e.tf.unsetNodes(o,{match:l,...r}):e.tf.setNodes({[o]:t},{match:l,...r})},h=(0,n.Kt)({key:a.t.lineHeight,inject:{isBlock:!0,nodeProps:{defaultNodeValue:1.5,nodeKey:"lineHeight"},targetPlugins:[a.t.p],targetPluginToInject:({editor:e,plugin:t})=>({parsers:{html:{deserializer:{parse:({element:r})=>{if(r.style.lineHeight)return{[e.getType(t.key)]:r.style.lineHeight}}}}}})}}).extendTransforms(({editor:e})=>({setNodes:(0,i.gv)(f,e)})),g=(0,n.qt)({key:a.t.textIndent,inject:{isBlock:!0,nodeProps:{nodeKey:"textIndent",styleKey:"textIndent",transformNodeValue({getOptions:e,nodeValue:t}){let{offset:r,unit:n}=e();return t*r+n}},targetPlugins:[a.t.p]},options:{offset:24,unit:"px"}});var m=r(878609);let v=(0,m.HS)(l),y=(0,m.HS)(u);(0,m.HS)(s);let b=(0,m.HS)(o);(0,m.HS)(c),(0,m.HS)(h);let E=(0,m.HS)(d);(0,m.HS)(g)},910852:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]])},911325:(e,t,r)=>{"use strict";r.d(t,{L:()=>n});var n=(0,r(52515).createContext)(void 0)},918082:()=>{var e,t,r;t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,(e=Prism).languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]
3*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,(r=e.languages.markup)&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css"))},919958:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("IndentIncrease",[["path",{d:"M21 12H11",key:"wd7e0v"}],["path",{d:"M21 18H11",key:"4wu86t"}],["path",{d:"M21 6H11",key:"6dy1d6"}],["path",{d:"m3 8 4 4-4 4",key:"1a3j6y"}]])},920956:e=>{e.exports={info:"tweet-info_info__Ywg8x",infoLink:"tweet-info_infoLink__k_EDE",infoIcon:"tweet-info_infoIcon__Mss0Q"}},922665:(e,t,r)=>{"use strict";r.d(t,{XP:()=>u,YH:()=>c,Zg:()=>s,cH:()=>l,oL:()=>d});var n=r(70380),a=r(54748),i=r(52515),o=(0,a.B0)([n.sI],[n.WT]);o.useContext,o.useScopedContext;var l=o.useProviderContext,s=o.ContextProvider,u=o.ScopedContextProvider,c=(0,i.createContext)(void 0),d=(0,i.createContext)(void 0)},929437:e=>{e.exports={style:{fontFamily:"'Roboto Slab', 'Roboto Slab Fallback'",fontStyle:"normal"},className:"__className_fa6c3b"}},935456:(e,t,r)=>{"use strict";r.d(t,{Z:()=>b,W:()=>y});var n=r(54748),a=r(842676),i=(0,n.ab)(function(e){return(0,a.ko)((0,a.IA)({},e),{style:(0,a.IA)({border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"},e.style)})});(0,n.Rf)(function(e){let t=i(e);return(0,n.n)("span",t)});var o=(0,n.ab)(function(e){return i(e=(0,a.ko)((0,a.IA)({"data-focus-trap":"",tabIndex:0,"aria-hidden":!0},e),{style:(0,a.IA)({position:"fixed",top:0,left:0},e.style)}))}),l=(0,n.Rf)(function(e){let t=o(e);return(0,n.n)("span",t)}),s=r(52515),u=(0,s.createContext)(null),c=r(377894),d=r(193681),p=r(164530),f=r(451016),h=r(247375),g=r(442418),m=r(490243);function v(e){queueMicrotask(()=>{null==e||e.focus()})}var y=(0,n.ab)(function(e){var{preserveTabOrder:t,preserveTabOrderAnchor:r,portalElement:n,portalRef:i,portal:o=!0}=e,y=(0,a.YG)(e,["preserveTabOrder","preserveTabOrderAnchor","portalElement","portalRef","portal"]);let b=(0,s.useRef)(null),E=(0,c.SV)(b,y.ref),S=(0,s.useContext)(u),[_,w]=(0,s.useState)(null),[x,k]=(0,s.useState)(null),A=(0,s.useRef)(null),T=(0,s.useRef)(null),I=(0,s.useRef)(null),N=(0,s.useRef)(null);return(0,c.UQ)(()=>{let e=b.current;if(!e||!o)return void w(null);let t=n?"function"==typeof n?n(e):n:(0,p.YE)(e).createElement("div");if(!t)return void w(null);let r=t.isConnected;if(r||(S||(0,p.YE)(e).body).appendChild(t),t.id||(t.id=e.id?`portal/${e.id}`:function(e="id"){return`${e?`${e}-`:""}${Math.random().toString(36).slice(2,8)}`}()),w(t),(0,d.cZ)(i,t),!r)return()=>{t.remove(),(0,d.cZ)(i,null)}},[o,n,S,i]),(0,c.UQ)(()=>{if(!o||!t||!r)return;let e=(0,p.YE)(r).createElement("span");return e.style.position="fixed",r.insertAdjacentElement("afterend",e),k(e),()=>{e.remove(),k(null)}},[o,t,r]),(0,s.useEffect)(()=>{if(!_||!t)return;let e=0,r=t=>{if(!(0,f.aG)(t))return;let r="focusin"===t.type;if(cancelAnimationFrame(e),r)return(0,h.QZ)(_);e=requestAnimationFrame(()=>{(0,h.gw)(_,!0)})};return _.addEventListener("focusin",r,!0),_.addEventListener("focusout",r,!0),()=>{cancelAnimationFrame(e),_.removeEventListener("focusin",r,!0),_.removeEventListener("focusout",r,!0)}},[_,t]),y=(0,c.w7)(y,e=>{if(e=(0,m.jsx)(u.Provider,{value:_||S,children:e}),!o)return e;if(!_)return(0,m.jsx)("span",{ref:E,id:y.id,style:{position:"fixed"},hidden:!0});e=(0,m.jsxs)(m.Fragment,{children:[t&&_&&(0,m.jsx)(l,{ref:T,"data-focus-trap":y.id,className:"__focus-trap-inner-before",onFocus:e=>{(0,f.aG)(e,_)?v((0,h.vF)()):v(A.current)}}),e,t&&_&&(0,m.jsx)(l,{ref:I,"data-focus-trap":y.id,className:"__focus-trap-inner-after",onFocus:e=>{(0,f.aG)(e,_)?v((0,h.XJ)()):v(N.current)}})]}),_&&(e=(0,g.createPortal)(e,_));let r=(0,m.jsxs)(m.Fragment,{children:[t&&_&&(0,m.jsx)(l,{ref:A,"data-focus-trap":y.id,className:"__focus-trap-outer-before",onFocus:e=>{e.relatedTarget!==N.current&&(0,f.aG)(e,_)?v(T.current):v((0,h.XJ)())}}),t&&(0,m.jsx)("span",{"aria-owns":null==_?void 0:_.id,style:{position:"fixed"}}),t&&_&&(0,m.jsx)(l,{ref:N,"data-focus-trap":y.id,className:"__focus-trap-outer-after",onFocus:e=>{if((0,f.aG)(e,_))v(I.current);else{let e=(0,h.vF)();if(e===T.current)return void requestAnimationFrame(()=>{var e;return null==(e=(0,h.vF)())?void 0:e.focus()});v(e)}}})]});return x&&t&&(r=(0,g.createPortal)(r,x)),(0,m.jsxs)(m.Fragment,{children:[r,e]})},[_,S,o,y.id,t,x]),y=(0,a.ko)((0,a.IA)({},y),{ref:E})}),b=(0,n.Rf)(function(e){let t=y(e);return(0,n.n)("div",t)})},938919:(e,t,r)=>{"use strict";r.d(t,{vO:()=>W,_W:()=>y,s8:()=>_});let n=e=>e.map(e=>
3e.dataset.blockId).filter(Boolean);var a=r(583896),i=r(587250),o=r(453641),l=r(944682),s=r(585713),u=r(878609),c=r(557073),d=r(52515),p=r(442418),f=r(518583),h=r(72641);let g=(0,u.e3)({key:a.t.blockMenu,editOnly:!0,options:{openId:null,position:{x:-1e4,y:-1e4}}}).extendApi(({setOption:e,setOptions:t})=>({hide:()=>{t({openId:null,position:{x:-1e4,y:-1e4}})},show:(r,n)=>{n?t({openId:r,position:n}):e("openId",r)}})).extendApi(({api:e,editor:t})=>({showContextMenu:(r,n)=>{t.getApi({key:a.t.blockSelection}).blockSelection?.set(r),e.blockMenu.show("context",n)}})).extend(({api:e})=>({handlers:{onMouseDown:({event:t,getOptions:r})=>{0===t.button&&r().openId&&(t.preventDefault(),e.blockMenu.hide()),2===t.button&&t.preventDefault()}}})),m=(e,t)=>{let r=e.getApi(W).blockSelection.getNodes(),n=e.api.node(t);if(!n)return;let[a,i]=n,o=(r.length>0?r:e.api.blocks({mode:"lowest",match:(e,t)=>t.length===i.length})).map(e=>e[0].id);e.getApi(W).blockSelection.set(o.includes(a.id)?o:[a.id])},v=(e,{disabledWhenFocused:t=!0,element:r,event:n})=>{let{enableContextMenu:a,selectedIds:o}=e.getOptions(W);if(!a)return;if(e.selection?.focus&&t){let t=e.api.above(),a=e.api.findPath(r);if(t&&a&&i.s2.isCommon(a,t[1])){let r=t[0].id,a=e.getOption(W,"isSelected",r),i=n.target.dataset?.plateOpenContextMenu==="true";if(!a&&!e.api.isVoid(t[0])&&!i)return n.stopPropagation()}}let l=r.id;l&&(n?.shiftKey?e.getApi(W).blockSelection.add(l):o?.has(l)||e.setOption(W,"selectedIds",new Set([l])))},y=e=>{let{id:t}=(0,u.iQ)();return(0,u.gO)(W,"isSelected",e??t)},b=e=>({api:t})=>{t.cursorOverlay.removeCursor(e)},E=(0,u.e3)({key:a.t.cursorOverlay,editOnly:{render:!1},options:{cursors:{}}}).extendApi(({editor:e,plugin:t})=>({addCursor:(r,n)=>{let a={...e.getOptions(t).cursors};a[r]={id:r,...n},e.setOption(t,"cursors",a)},removeCursor:r=>{let n={...e.getOptions(t).cursors};n[r]&&(delete n[r],e.setOption(t,"cursors",n))}})).overrideEditor(({api:e,editor:t,getOptions:r,tf:{setSelection:n}})=>({transforms:{setSelection(a){r().cursors?.selection&&setTimeout(()=>{e.cursorOverlay.addCursor("selection",{selection:t.selection})},0),n(a)}}})).extend(()=>({handlers:{onBlur:({api:e,editor:t,event:r})=>{t.selection&&r.relatedTarget?.dataset?.plateFocus==="true"&&e.cursorOverlay.addCursor("selection",{selection:t.selection})},onDragEnd:b("drag"),onDragLeave:b("drag"),onDragOver:({api:e,editor:t,event:r})=>{if(!t.plugins.dnd||t.getOptions({key:a.t.dnd}).isDragging||(r.dataTransfer?.types||[]).some(e=>e.startsWith("Files")))return;let n=t.api.findEventRange(r);n&&e.cursorOverlay.addCursor("drag",{selection:n})},onDrop:b("drag"),onFocus:b("selection")},useHooks:({api:e,setOption:t})=>{let r=(0,u.gO)(W,"isSelecting");(0,d.useEffect)(()=>{r&&setTimeout(()=>{e.cursorOverlay.removeCursor("selection")},0)},[r,t,e.cursorOverlay])}})),S=Object.freeze([]),_=e=>{let t,r,n,a,o,l,s,p,h=(0,f.c)(21);h[0]!==e?(t=void 0===e?{}:e,h[0]=e,h[1]=t):t=h[1];let{minSelectionWidth:g,refreshOnResize:m}=t,v=void 0===g?1:g,y=void 0===m||m,b=(0,u.Q_)(),_=(0,u.T3)(),w=(0,u.gO)(E,"cursors");h[2]===Symbol.for("react.memo_cache_sentinel")?(r=new WeakMap,h[2]=r):r=h[2];let x=d.useRef(r);h[3]===Symbol.for("react.memo_cache_sentinel")?(n={},h[3]=n):n=h[3];let[k,A]=d.useState(n);h[4]!==_||h[5]!==w||h[6]!==b||h[7]!==v||h[8]!==k?(a=()=>{if(!_?.current||!w)return;let e=0,t=0;if(_){let r=_.current.getBoundingClientRect();e=r.x,t=r.y-_.current.scrollTop}let r=Object.keys(k).length!==Object.keys(w).length,n=Object.fromEntries(Object.entries(w).map(n=>{let[a,o]=n;return[a,(n=>{let{cursor:a}=n,o=a.selection;if(!o)return S;let l=x.current.get(o);if(l)return l;let s=((e,{range:t,xOffset:r,yOffset:n})=>{let[a,o]=i.Cb.edges(t),l=e.api.toDOMRange(t);if(!l)return[];let s=[];for(let[u,c]of e.api.nodes({at:t,match:i.Qg.isText})){let t=e.api.toDOMNode(u);if(!t?.parentElement)return[];let d=i.s2.equals(c,a.path),p=i.s2.equals(c,o.path),f=null;if(d||p){let e=document.createRange();e.selectNode(t),d&&e.setStart(l.startContainer,l.startOffset),p&&e.setEnd(l.endContainer,l.endOffset),f=e.getClientRects()}else f=t.getClientRects();for(let e=0;e<f.length;e++){let t=f.item(e);t&&s.push({height:t.height,left:t.left-r,top:t.top-n,width:t.width})}}return s})(b,{range:o,xOffset:e,yOffset:t}).map(e=>e.width<v?{...e,left:e.left-(v-e.width)/2,width:v}:e);return r=!0,x.current.set(o,s),s}
3)({cursor:o})]}));r&&A(n)},h[4]=_,h[5]=w,h[6]=b,h[7]=v,h[8]=k,h[9]=a):a=h[9];let T=a;h[10]!==T?(o=()=>{T()},h[10]=T,h[11]=o):o=h[11],(0,c.Es)(o),h[12]!==w||h[13]!==k?(l=(({cursors:e,selectionRects:t})=>e?Object.entries(e).map(([e,r])=>{let n,a,o,l=r?.selection??null,s=t[e]??S,u=l?(n=l&&i.Cb.isCollapsed(l),(o=s[(a=l&&i.Cb.isBackward(l))?0:s.length-1])?{height:o.height,left:o.left+(a||n?0:o.width),top:o.top}:null):null;return{...r,caretPosition:u,selection:l,selectionRects:s}}):[])({cursors:w,selectionRects:k}),h[12]=w,h[13]=k,h[14]=l):l=h[14];let I=l;h[15]!==_||h[16]!==y?(s={containerRef:_,refreshOnResize:y,selectionRectCache:x},h[15]=_,h[16]=y,h[17]=s):s=h[17];let{refresh:N}=(({containerRef:e,refreshOnResize:t,selectionRectCache:r})=>{let n=(()=>{let[,e]=d.useState(0),t=d.useRef(null),r=d.useCallback((r=!1)=>{if(!t.current||r){if(!r){t.current=requestAnimationFrame(()=>{e(e=>e+1),t.current=null});return}t.current&&(cancelAnimationFrame(t.current),t.current=null),e(e=>e+1)}},[]);return d.useEffect(()=>{t.current&&(cancelAnimationFrame(t.current),t.current=null)}),d.useEffect(()=>()=>{t.current&&cancelAnimationFrame(t.current)},[]),r})(),a=d.useCallback((e=!1)=>{r.current=new WeakMap,n(e)},[n,r]);return d.useEffect(()=>{if(!t||!e?.current)return;let r=new ResizeObserver(()=>a());return r.observe(e.current),()=>r.disconnect()},[e,a,t]),{refresh:a}})(s);return h[18]!==I||h[19]!==N?(p={cursors:I,refresh:N},h[18]=I,h[19]=N,h[20]=p):p=h[20],p};var w=class{_listeners=new Map;emit=this.dispatchEvent;off=this.removeEventListener;on=this.addEventListener;addEventListener(e,t){let r=this._listeners.get(e)??new Set;return this._listeners.set(e,r),r.add(t),this}dispatchEvent(e,...t){let r=!0;for(let n of this._listeners.get(e)??[])r=!1!==n(...t)&&r;return r}removeEventListener(e,t){return this._listeners.get(e)?.delete(t),this}unbindAllListeners(){this._listeners.clear()}};let x=(e,t="px")=>"number"==typeof e?e+t:e;function k({style:e},t,r){if("object"==typeof t)for(let[r,n]of Object.entries(t))void 0!==n&&(e[r]=x(n));else void 0!==r&&(e[t]=x(r))}let A=e=>(t,r,n,a={})=>{let i,o;for(let l of(i=t instanceof HTMLCollection||t instanceof NodeList?Array.from(t):Array.isArray(t)?t:[t],o=Array.isArray(r)?r:[r],i))if(l)for(let t of o)l[e](t,n,{capture:!1,...a});return[i,o,n,a]},T=A("addEventListener"),I=A("removeEventListener"),N=e=>{let{clientX:t,clientY:r,target:n}=e.touches?.[0]??e;return{target:n,x:t,y:r}};function C(e,t=document){let r=Array.isArray(e)?e:[e],n=[];for(let e=0,a=r.length;e<a;e++){let a=r[e];"string"==typeof a?n=n.concat(Array.from(t.querySelectorAll(a))):a instanceof Element&&n.push(a)}return n}let{abs:O,ceil:R,max:P,min:L}=Math;var D=class extends w{_area;_areaClientLocation={x1:0,x2:0,y1:0,y2:0};_areaLocation={x1:0,x2:0,y1:0,y2:0};_areaRect=new DOMRect;_container;_containerRect;_frame;_initScrollDelta={x:0,y:0};_latestElement;_options;_scrollAvailable=!0;_scrollDelta={x:0,y:0};_scrollingActive=!1;_scrollSpeed={x:0,y:0};_selectables=[];_selection={changed:{added:[],removed:[]},selected:[],stored:[],touched:[]};_singleClick=!0;wheelTimer=null;disable=this._bindStartEvents.bind(this,!1);enable=this._bindStartEvents;constructor(e){for(const t of(super(),this._options={boundaries:["html"],container:"body",document:window.document,selectables:[],selectionAreaClass:"selection-area",startAreas:["html"],...e,behaviour:{intersect:"touch",overlap:"invert",triggers:[0],...e.behaviour,scrolling:{manualSpeed:750,speedDivider:.7,...e.behaviour?.scrolling,startScrollMargins:{x:20,y:40,...e.behaviour?.scrolling?.startScrollMargins}},startThreshold:e.behaviour?.startThreshold?"number"==typeof e.behaviour.startThreshold?e.behaviour.startThreshold:{x:4,y:4,...e.behaviour.startThreshold}:{x:4,y:4}},features:{range:!0,touch:!0,...e.features,singleTap:{allow:!0,intersect:"native",...e.features?.singleTap}}},Object.getOwnPropertyNames(Object.getPrototypeOf(this))))"function"==typeof this[t]&&(this[t]=this[t].bind(this));const{document:t,selectionAreaClass:r}=this._options;this._area=t.createElement("div"),this._area.classList.add(r),k(this._area,{left:0,position:"absolute",top:0,willChange:"top, left, bottom, right, width, height"}),this._frame=(e=>{let t,r=-1,n=!1;return{cancel(){cancelAnimationFrame(r),n=!1},next(...a){t=a,n||(n=!0,r=requestAnimationFrame(()=>{e(...t),n=!1}))}}})(e=>{this._recalculateSelectionAreaRect(),this._updateElementSelection(),this._emitEvent("move",e),this._redrawSelectionArea()}),this.enable()}_bindStartEvents(e=!0){let{document:t,features:r}=this._options,n=e?T:I;n(t,"mousedown",this._onTapStart),r.touch&&n(t,"touchstart",this._onTapStart,{passive:!1})}_delayedTapMove(e){let{behaviour:{startThreshold:t},document:r}=this._options,{x1:n,y1:a}=this._areaLocation,{x1:i,y1:o}=this._areaClientLocation,{x:l,y:s}=N(e);if("number"==typeof t&&O(l+s-(i+o))>=t||"object"==typeof t&&O(l-n)>=t.x||O(s-a)>=t.y){if(I(r,["mousemove","touchmove"],this._delayedTapMove,{passive:!1}),!1===this._emitEvent("beforedrag",e))return void I(r,["mouseup","touchcancel","touchend"],this._onTapStop);T(r,["mousemove","touchmove"],this._onTapMove,{passive:!1}),k(this._area,"display","block"),this._container.append(this._area),this.resolveSelectables(),this._singleClick=!1,T(this._container,"wheel",this._manualScroll,{passive:!0}),this._setupSelectionArea(),this._emitEvent("start",e),this._onTapMove(e)}this._handleMoveEvent(e)}
3_emitEvent(e,t){return this.emit(e,{event:t,selection:this,store:this._selection})}_handleMoveEvent(e){let{features:t}=this._options;(t.touch&&matchMedia("(hover: none), (pointer: coarse)").matches||this._scrollAvailable&&"safari"in window)&&e.preventDefault()}_keepSelection(){let{_options:e,_selection:t}=this,{changed:r,selected:n,stored:a,touched:i}=t,o=n.filter(e=>!a.includes(e));switch(e.behaviour.overlap){case"drop":t.stored=[...o,...a.filter(e=>!i.includes(e))];break;case"invert":t.stored=[...o,...a.filter(e=>!r.removed.includes(e))];break;case"keep":t.stored=[...a,...n.filter(e=>!a.includes(e))]}}_manualScroll(e){this.wheelTimer&&clearTimeout(this.wheelTimer);let{x:t,y:r}=N(e);this.wheelTimer=setTimeout(()=>{this._areaClientLocation.x2=t,this._areaClientLocation.y2=r;let e=r-this._containerRect.top,n=t-this._containerRect.left;this._areaLocation.x2=n+this._container.scrollLeft,this._areaLocation.y2=e+this._container.scrollTop,this._frame.next(null)},100)}_onScroll(e){let{document:t}=this._options;this.wheelTimer&&clearTimeout(this.wheelTimer);let{x:r,y:n}=N(e);this.wheelTimer=setTimeout(()=>{this._areaClientLocation.x2=r,this._areaClientLocation.y2=n;let e=n-this._containerRect.top+this._container.scrollTop+t.scrollingElement.scrollTop-this._initScrollDelta.y,a=r-this._containerRect.left+this._container.scrollLeft+t.scrollingElement.scrollLeft;this._scrollDelta.y=t.scrollingElement.scrollTop-this._initScrollDelta.y,this._scrollDelta.x=t.scrollingElement.scrollLeft-this._initScrollDelta.x,this._areaLocation.y2=e,this._areaLocation.x2=a,this._frame.next(null)},100)}_onSingleTap(e){let t,{range:r,singleTap:{intersect:n}}=this._options.features,a=N(e);if("native"===n)t=a.target;else if("touch"===n){this.resolveSelectables();let{x:e,y:r}=a;t=this._selectables.find(t=>{let{bottom:n,left:a,right:i,top:o}=t.getBoundingClientRect();return e<i&&e>a&&r<n&&r>o})}if(!t)return;for(this.resolveSelectables();!this._selectables.includes(t);){if(!t.parentElement)return;t=t.parentElement}let{stored:i}=this._selection;if(this._emitEvent("start",e),e.shiftKey&&r&&this._latestElement){let e=this._latestElement,[r,n]=4&e.compareDocumentPosition(t)?[t,e]:[e,t],a=[...this._selectables.filter(e=>4&e.compareDocumentPosition(r)&&2&e.compareDocumentPosition(n)),r,n];this.select(a),this._latestElement=e}else i.includes(t)&&(1===i.length||e.ctrlKey||i.every(e=>this._selection.stored.includes(e)))?this.deselect(t):(this.select(t),this._latestElement=t)}_onTapMove(e){let{x:t,y:r}=N(e),{_areaClientLocation:n,_areaLocation:a,_frame:i,_options:o,_scrollSpeed:l}=this,{speedDivider:s}=o.behaviour.scrolling,u=r-this._containerRect.top,c=t-this._containerRect.left;if(this._scrollAvailable&&!this._scrollingActive&&(l.y||l.x)){this._scrollingActive=!0;let t=()=>{if(!l.x&&!l.y){this._scrollingActive=!1;return}l.y&&(this._container.scrollTop+=R(l.y/s),a.y2=u),l.x&&(this._container.scrollLeft+=R(l.x/s),a.x2=c),i.next(e),requestAnimationFrame(t)};requestAnimationFrame(t)}else a.x2=c+this._container.scrollLeft+this._scrollDelta.x,a.y2=u+this._container.scrollTop+this._scrollDelta.y,n.x2=t,n.y2=r,i.next(e);this._handleMoveEvent(e)}_onTapStart(e,t=!1){let{container:r,document:n}=this._options,{target:a,x:i,y:o}=N(e);if(this._container=C(r,n)[0],!this._container||this._container.contains(a)&&"true"!==a.dataset.slateEditor&&"true"!==a.dataset.plateSelectable)return;this._containerRect=this._container.getBoundingClientRect();let l=i-this._containerRect.left+this._container.scrollLeft,s=o-this._containerRect.top+this._container.scrollTop,{_options:u}=this;if(e instanceof MouseEvent&&!function(e,t){for(let r of t){if("number"==typeof r)return e.button===r;if("object"==typeof r){let t=r.button===e.button,n=r.modifiers.every(t=>{switch(t){case"alt":return e.altKey;case"ctrl":return e.ctrlKey||e.metaKey;case"shift":return e.shiftKey;default:return!1}});return t&&n}}return!1}(e,u.behaviour.triggers))return;let c=C(u.startAreas,u.document),d=C(u.boundaries,u.document),p=e.composedPath();if(!this._container||!c.find(e=>p.includes(e))||!d.find(e=>p.includes(e))||!t&&!1===this._emitEvent("beforestart",e))return;this._areaLocation={x1:l,x2:0,y1:s,y2:0},this._areaClientLocation={x1:i,x2:0,y1:o,y2:0};let f=n.scrollingElement??n.body;this._initScrollDelta={x:f.scrollLeft,y:f.scrollTop},this._singleClick=!0,this.clearSelection(!1,!0),T(n,["touchmove","mousemove"],this._delayedTapMove,{passive:!1}),T(n,["mouseup","touchcancel","touchend"],this._onTapStop),T(n,"wheel",this._onScroll,{passive:!1})}_onTapStop(e,t){let{document:r,features:n}=this._options,{_singleClick:a}=this;I(r,["mousemove","touchmove"],this._delayedTapMove),I(r,["touchmove","mousemove"],this._onTapMove),I(r,["mouseup","touchcancel","touchend"],this._onTapStop),I(r,"wheel",this._onScroll),this._keepSelection(),e&&a&&n.singleTap.allow?this._onSingleTap(e):a||t||(this._updateElementSelection(),this._emitEvent("stop",e)),this._scrollSpeed.x=0,this._scrollSpeed.y=0,this._scrollDelta.x=0,this._scrollDelta.y=0,I(this._container,"wheel",this._manualScroll,{passive:!0}),this._area.remove(),this._frame?.cancel(),k(this._area,"display","none")}_recalculateSelectionAreaRect(){let{_areaClientLocation:e,_areaLocation:t,_areaRect:r,_container:n,_containerRect:a,_scrollSpeed:i}=this,{clientHeight:o,clientWidth:l,scrollHeight:s,scrollLeft:u,scrollTop:c,scrollWidth:d}=n,{x1:p,y1:f}=t,{x2:h,y2:g}=t,{behaviour:{scrolling:{startScrollMargins:m}}}=this._options;e.x2+this._scrollDelta.x<a.left+m.x?(i.x=u?-O(a.left-e.x2-this._scrollDelta.x):0,h=P(h,this._container.scrollLeft)):e.x2+this._scrollDelta.x>a.right-m.x?(i.x=d-u-l?O(a.left+this._container.clientWidth-e.x2-this._scrollDelta.x):0,h=l+u):i.x=0,e.y2+this._scrollDelta.y<a.top+m.y?(i.y=c?-O(a.top-e.y2-this._scrollDelta.y+m.y):0,g=P(g,this._container.scrollTop)):e.y2+this._scrollDelta.y>a.bottom-m.y?(i.y=s-c-o?O(e.y2+this._scrollDelta.y-(a.top+this._container.clientHeight-m.y)):0,g=o+c):i.y=0;let v=L(p,h),y=L(f,g),b=P(p,h),E=P(f,g);r.x=v,r.y=y,r.width=b-v,r.height=E-y}_redrawSelectionArea(){let{height:e,width:t,x:r,y:n}=this._areaRect,{style:a}=this._area;a.left=`${r}px`,a.top=`${n}px`,a.width=`${t}px`,a.height=`${e}px`}_setupSelectionArea(){}_updateElementSelection(){let{_areaRect:e,_options:t,_selectables:r,_selection:n}=this,{selected:a,stored:i,touched:o}=n,{intersect:l,overlap:s}=t.behaviour,u="invert"===s,c=[],d=[],p=[];for(let t=0;t<r.length;t++){let n=r[t];if(function(e,t,r){let n=r.getBoundingClientRect(),a=r.scrollLeft,i=r.scrollTop;return e.right>=t.left-n.left&&e.left+n.left<=t.right+a&&e.bottom-i>=t.top-n.top&&e.top<=t.bottom-n.top+i}(e,n.getBoundingClientRect(),this._container)){if(a.includes(n))i.includes(n)&&!o.includes(n)&&o.push(n);else{if(u&&i.includes(n)){p.push(n);continue}d.push(n)}c.push(n)}}u&&d.push(...i.filter(e=>!a.includes(e)));let f="keep"===s;for(let e=0;e<a.length;e++){let t=a[e];c.includes(t)||f&&i.includes(t)||p.push(t)}n.selected=c,n.changed={added:d,removed:p},this._latestElement=void 0}cancel(e=!1){this._onTapStop(null,!e)}clearSelection(e=!0,t=!1){let{changed:r,selected:n,stored:a}=this._selection;r.added=[],r.removed.push(...n,...e?a:[]),t||(this._emitEvent("move",null),this._emitEvent("stop",null)),this._selection={changed:{added:[],removed:[]},selected:[],stored:e?[]:a,touched:[]}}deselect(e,t=!1){let{changed:r,selected:n,stored:a}=this._selection,i=C(e,this._options.document).filter(e=>n.includes(e)||a.includes(e));0!==i.length&&(this._selection.stored=a.filter(e=>!i.includes(e)),this._selection.selected=n.filter(e=>!i.includes(e)),this._selection.changed.added=[],this._selection.changed.removed.push(...i.filter(e=>!r.removed.includes(e))),this._latestElement=void 0,t||(this._emitEvent("move",null),this._emitEvent("stop",null)))}destroy(){this.cancel(),this.disable(),super.unbindAllListeners()}getSelection(){return this._selection.stored}getSelectionArea(){return this._area}resolveSelectables(){this._selectables=C(this._options.selectables,this._options.document)}select(e,t=!1){let{changed:r,selected:n,stored:a}=this._selection,i=C(e,this._options.document).filter(e=>!n.includes(e)&&!a.includes(e));return a.push(...i),n.push(...i),r.added.push(...i),r.removed=[],this._latestElement=void 0,t||(this._emitEvent("move",null),this._emitEvent("stop",null)),i}trigger(e,t=!0){this._onTapStart(e,t)}};let M=e=>{let{selectedIds:t}=e.getOptions(W),r=e.getApi(W).blockSelection.getNodes({collapseTableRows:!0}),n=r.map(([e])=>e);h(" ",{onCopy:a=>{if(!a)return;let i="",o=document.createElement("div");e.tf.withoutNormalizing(()=>{r.forEach(([,t])=>{e.tf.select({anchor:e.api.start(t),focus:e.api.end(t)});let r=e.api.isEmpty(t);if(r){let r=e.api.after(e.selection);e.tf.select({anchor:e.api.start(t),focus:r})}r||e.tf.setFragmentData(a),r?i+="\n":i+=`${a.getData("text/plain")} 4`;let n=document.createElement("div");r?n.innerHTML="<p></p>":n.innerHTML=a.getData("text/html"),o.append(n)}),e.tf.deselect(),e.setOption(W,"selectedIds",t)}),a.setData("text/plain",i),a.setData("text/html",o.innerHTML);let l=JSON.stringify(n),s=window.btoa(encodeURIComponent(l));a.setData("application/x-slate-fragment",s)}})},F=e=>{let{setOption:t}=(0,o.Gt)(e,W),r=new Set;e.operations.forEach(t=>{"insert_node"===t.type&&t.node.id&&e.api.isBlock(t.node)&&r.add(t.node.id)}),t("selectedIds",r)},j=(e,t)=>{let{api:r,setOption:n}=(0,u.nB)(e,W),a=r.blockSelection.getNodes();if(0!==a.length)if("up"===t){let[,t]=a[0],i=e.api.previous({at:t,from:"parent",match:r.blockSelection.isSelectable});if(i){let[e]=i;n("anchorId",e.id),r.blockSelection.set(e.id)}else r.blockSelection.set(a[0][0].id)}else{let[,t]=a.at(-1),i=e.api.next({at:t,from:"child",match:r.blockSelection.isSelectable});if(i){let[e]=i;n("anchorId",e.id),r.blockSelection.set(e.id)}else r.blockSelection.set(a.at(-1)[0].id)}},U=(e,{added:t,ids:r,removed:i})=>{let{getOptions:l,setOption:s}=(0,o.Gt)(e,{key:a.t.blockSelection});if(r&&s("selectedIds",new Set(r)),t||i){let{selectedIds:e}=l(),r=new Set(e);if(t)for(let e of n(t))e&&r.add(e);if(i)for(let e of n(i))e&&r.delete(e);s("selectedIds",r)}s("isSelecting",!0)},z=(e,t,r={})=>{let{api:n,getOptions:i,setOption:l}=(0,o.Gt)(e,{key:a.t.blockSelection}),{clear:s=!0,delay:u}=r,c=document.querySelector(`.slate-selectable[data-block-id="${t}"]`);c&&(!i().selectedIds.has(t)&&s&&l("selectedIds",new Set),n.blockSelection.setSelectedIds({added:[c],removed:[]}),u&&setTimeout(()=>{n.blockSelection.setSelectedIds({added:[],removed:[c]})},u))},B=(e,t)=>{let{api:r,getOption:n,getOptions:a,setOption:o}=(0,u.nB)(e,W),l=r.blockSelection.getNodes();if(0===l.length)return;let[s,c]=l[0],[d,p]=l.at(-1),f=a().anchorId;f||o("anchorId",f="up"===t?d.id:s.id);let h=l.findIndex(([e])=>e.id===f);if(-1===h)return void o("anchorId",d.id);let g=h===l.length-1,m=new Set(n("selectedIds"));if("down"===t)if(0===h){let t=e.api.next({at:p,mode:"highest",match:(e,t)=>r.blockSelection.isSelectable(e,t)&&!i.s2.isAncestor(t,p)});if(!t)return;let[n]=t;m.add(n.id)}else s.id&&s.id!==f&&m.delete(s.id);else if(g){let t=e.api.previous({at:c,from:"parent",match:r.blockSelection.isSelectable});if(!t)return;let[n,a]=t;i.s2.isAncestor(a,c)&&m.forEach(t=>{let r=e.api.node({id:t,at:a});r&&i.s2.isDescendant(r[1],a)&&(m.delete(t),t===f&&o("anchorId",f=n.id))}),m.add(n.id)}else d.id&&d.id!==f&&m.delete(d.id);m.add(f),o("selectedIds",m)},$=e=>{let t=e.getApi(W).blockSelection.getNodes(),r=t.at(-1);if(!r)return;
4e.tf.duplicateNodes({nodes:t});let n=i.s2.next(r[1]),a=t.map((t,r)=>{let a=[n[0]+r];return e.api.node(a)?.[0].id}).filter(Boolean);setTimeout(()=>{e.setOption(W,"selectedIds",new Set(a))},0)},H=(e,t,{at:r,insertedCallback:n})=>{e.tf.insertNodes(t,{at:r}),n?.();let a=[i.lZ.get(e,r)],o=1;for(;o<t.length;){r=i.s2.next(r);let t=i.lZ.get(e,r);a.push(t),o++}setTimeout(()=>{e.setOption(W,"selectedIds",new Set(a.map(e=>e.id)))},0)},G=e=>{let t=e.getOption(W,"selectedIds");t&&e.tf.removeNodes({at:[],block:!0,match:e=>!!e.id&&t.has(e.id)})},q=e=>{e.tf.select(e.api.nodesRange(e.getApi(W).blockSelection.getNodes())),e.getApi(W).blockSelection.clear()},V=(e,t,r)=>{e.tf.withoutNormalizing(()=>{e.getApi(W).blockSelection.getNodes().forEach(([,n])=>{e.tf.setNodes(t,{...r,at:n})})})},K=(e,t,r)=>{let n=e.getApi(W);e.tf.withoutNormalizing(()=>{n.blockSelection.getNodes().forEach(([n,a])=>{let i=(n.indent??0)+t;e.tf.setNodes({indent:Math.max(i,0)},{...r,at:a})})})},Y=(e,t,r)=>{V(e,t,{mode:"lowest",...r})},W=(0,u.e3)({key:a.t.blockSelection,editOnly:!0,handlers:{onMouseDown:({api:e,editor:t,event:r,getOptions:n})=>{let a=r.target;a.dataset.platePreventUnselect||a.dataset.platePreventDeselect||0===r.button&&n().selectedIds.size>0&&!t.getOption(g,"openId")&&e.blockSelection.deselect()}},inject:{isBlock:!0,nodeProps:{transformProps:()=>(()=>{let e,t,r=(0,f.c)(6),n=(0,u.iQ)(),i=(0,u.lT)();r[0]===Symbol.for("react.memo_cache_sentinel")?(e={key:a.t.blockSelection},r[0]=e):e=r[0];let{api:o,editor:l}=(0,u.CF)(e);return r[1]!==o.blockSelection||r[2]!==l||r[3]!==n||r[4]!==i?(t={props:o.blockSelection?.isSelectable(n,i)?{className:"slate-selectable",onContextMenu:e=>v(l,{element:n,event:e})}:{}},r[1]=o.blockSelection,r[2]=l,r[3]=n,r[4]=i,r[5]=t):t=r[5],t})().props}},options:{anchorId:null,areaOptions:{features:{singleTap:{allow:!1}}},enableContextMenu:!1,disableSelectAll:!1,isSelecting:!1,isSelectionAreaVisible:!1,selectedIds:new Set,shadowInputRef:{current:null},isSelectable:()=>!0},plugins:[g],render:{afterEditable:()=>{let e=(0,u.Q_)(),{api:t,getOption:r,getOptions:s,setOption:c}=(0,u.CF)({key:a.t.blockSelection}),f=(0,u.gO)(W,"isSelectingSome"),h=(0,u.gO)(W,"selectedIds"),g=d.useCallback((r={})=>{let n=[...e.api.nodes({at:[],match:e=>!!e.id&&h?.has(e.id)})];if(0===n.length)return null;let a=n[0][1];return e.tf.withoutNormalizing(()=>{for(let[r,a]of[...n].reverse())e.tf.removeNodes({at:a}),t.blockSelection.delete(r.id);if(0===e.children.length)e.meta._forceFocus=!0,e.tf.focus(),e.meta._forceFocus=!1;else if(r.selectPrevious){let t=i.s2.previous(a);if(t){let r=e.api.block({at:t});r&&c("selectedIds",new Set([r[0].id]))}}}),a},[e,t.blockSelection,h,c]);(()=>{let{api:e,editor:t,getOption:r,getOptions:i,setOption:o}=(0,u.CF)(W),{areaOptions:l}=i(),s=d.useRef({ids:new Set}),c=d.useRef({ids:new Set}),p=()=>{t.api.isFocused()&&t.tf.blur(),t.selection&&t.tf.deselect(),o("isSelectionAreaVisible",!0)};d.useEffect(()=>{let u=new D({boundaries:`#${t.meta.uid}`,container:`#${t.meta.uid}`,document:window.document,selectables:`#${t.meta.uid} .slate-selectable`,selectionAreaClass:"slate-selection-area",...l}).on("beforestart",()=>{o("isSelecting",!1)}).on("start",({event:t})=>{p(),t?.shiftKey||(u.clearSelection(),e.blockSelection.clear())}).on("move",({store:{changed:e}})=>{let l,u,d;i().isSelectionAreaVisible||p(),(()=>{if(0===e.added.length&&0===e.removed.length)return;let r=new Set(i().selectedIds);n(e.removed).forEach(e=>{r.delete(e),s.current.ids.delete(e)}),new Set(n(e.added)).forEach(e=>{let n=t.api.block({at:[],match:t=>!!t.id&&t.id===e});if(n&&n[0].type!==a.t.table){if(1===n[1].length){r.add(e),s.current.ids.add(e);return}t.api.block({above:!0,at:n[1],match:e=>!!e.id&&s.current.ids.has(e.id)})||(r.add(e),s.current.ids.add(e))}}),o("selectedIds",r)})(),u=Array.from(l=new Set(r("selectedIds"))),d=e=>t.api.block({at:[],match:t=>!!t.id&&t.id===e}),u.every(e=>{let t,r=d(e);return!!r&&(!!(r[1].length>=3)||(t=r[0]).type===a.t.table||t.type===a.t.tr||t.type===a.t.th)})?u.some(e=>{let t=d(e);return!!t&&t[0].type===a.t.table&&(l.delete(e),c.current.ids.forEach(e=>{l.add(e)}),c.current.ids.clear(),!0)}):u.some(e=>{let r,n=d(e);if(!n||(r=n[0]).type!==a.t.tr&&r.type!==a.t.th)return!1;let i=t.api.block({above:!0,at:n[1]});if(!i)return!1;let o=i[0].children.map(e=>e.id);
4return l.add(i[0].id),o.forEach(e=>{l.has(e)&&(c.current.ids.add(e),l.delete(e))}),!0}),o("selectedIds",l)}).on("stop",()=>{s.current={ids:new Set},c.current={ids:new Set},o("isSelectionAreaVisible",!1)});return()=>u.destroy()},[])})();let m=d.useRef(null),[v,y]=d.useState(!1);d.useEffect(()=>(y(!0),c("shadowInputRef",m),()=>{y(!1)}),[c]),d.useEffect(()=>{f||c("anchorId",null)},[f,c]),d.useEffect(()=>{f&&m.current?m.current.focus({preventScroll:!0}):m.current&&m.current.blur()},[f]);let b=d.useCallback(n=>{let a=e.api.isReadOnly();if(s().onKeyDownSelecting?.(e,n.nativeEvent),r("isSelectingSome")){if((0,l.v_)("shift+up")(n)){n.preventDefault(),n.stopPropagation(),t.blockSelection.shiftSelection("up");return}if((0,l.v_)("shift+down")(n)){n.preventDefault(),n.stopPropagation(),t.blockSelection.shiftSelection("down");return}if((0,l.v_)("escape")(n))return void t.blockSelection.deselect();if((0,l.v_)("mod+z")(n)){e.undo(),F(e);return}if((0,l.v_)("mod+a")(n))return void t.blockSelection.selectAll();if((0,l.v_)("mod+shift+z")(n)){e.redo(),F(e);return}if((0,l.v_)("mod+d")(n)){n.preventDefault(),e.getTransforms(W).blockSelection.duplicate();return}if(r("isSelectingSome")){if((0,l.v_)("enter")(n)){let t=e.api.node({at:[],block:!0,match:e=>!!e.id&&h?.has(e.id)});if(t){let[,r]=t;e.meta._forceFocus=!0,e.tf.focus({at:r,edge:"end"}),e.meta._forceFocus=void 0,n.preventDefault()}return}if((0,l.v_)(["backspace","delete"])(n)&&!a){n.preventDefault(),g({selectPrevious:(0,l.v_)("backspace")(n)});return}if((0,l.v_)("up")(n)){n.preventDefault(),n.stopPropagation(),t.blockSelection.moveSelection("up");return}if((0,l.v_)("down")(n)){n.preventDefault(),n.stopPropagation(),t.blockSelection.moveSelection("down");return}if(!a&&1===n.key.length&&!n.ctrlKey&&!n.metaKey&&!n.altKey){n.preventDefault();let t=g();t&&(e.meta._forceFocus=!0,e.tf.insertNodes(e.api.create.block({children:[{text:n.key}]}),{at:t}),e.tf.select(t,{edge:"end"}),e.meta._forceFocus=!1,e.tf.focus());return}}}},[e,s,r,t.blockSelection,g,h]),E=d.useCallback(t=>{t.preventDefault(),r("isSelectingSome")&&M(e)},[e,r]),S=d.useCallback(t=>{t.preventDefault(),r("isSelectingSome")&&(M(e),e.api.isReadOnly()||g())},[e,r,g]),_=d.useCallback(t=>{t.preventDefault(),e.api.isReadOnly()||((e,t)=>{let{api:r}=(0,o.Gt)(e,W),n=r.blockSelection.getNodes();if(n.length>0){let[r,a]=n.at(-1);if(!e.api.isEmpty(r)){let t=i.s2.next(a);e.tf.insertNodes(e.api.create.block({},t),{at:t,select:!0})}e.tf.insertData(t.clipboardData),F(e)}})(e,t.nativeEvent)},[e]);return!v||"u"<typeof window?null:p.createPortal(d.createElement("input",{ref:m,className:"slate-shadow-input",style:{left:"-300px",opacity:0,position:"fixed",top:"-300px",zIndex:999},onCopy:E,onCut:S,onKeyDown:b,onPaste:_}),document.body)}}}).extendSelectors(({getOptions:e})=>({isSelected:t=>!!t&&e().selectedIds.has(t),isSelectingSome:()=>e().selectedIds.size>0})).extendApi(({editor:e,getOption:t,getOptions:r,setOption:n})=>({addOnContextMenu:(0,s.gv)(v,e),moveSelection:(0,s.gv)(j,e),setSelectedIds:(0,s.gv)(U,e),shiftSelection:(0,s.gv)(B,e),add:e=>{let t=new Set(r().selectedIds);if(Array.isArray(e))for(let r of e)t.add(r);else t.add(e);n("selectedIds",t)},clear:()=>{n("selectedIds",new Set)},delete:e=>{let t=new Set(r().selectedIds);if(Array.isArray(e))for(let r of e)t.delete(r);else t.delete(e);n("selectedIds",t)},deselect:()=>{n("selectedIds",new Set),n("isSelecting",!1)},first:()=>{let r=t("selectedIds");return r&&0!==r.size?e.api.node({at:[],match:e=>r.has(e.id)}):null},focus:()=>{let e=t("shadowInputRef");e?.current&&e.current.focus({preventScroll:!0})},getNodes:r=>{let n=t("selectedIds"),o=e.api.blocks({at:[],match:e=>!!e.id&&n?.has(e.id)});if(r?.sort&&o.sort(([,e],[,t])=>i.s2.compare(e,t)),r?.collapseTableRows){let t=[];return o.forEach(([r,n])=>{if(r.type===a.t.tr){let a=i.s2.parent(n),o=e.api.node(a),l=t.findIndex(([e])=>e.type===o[0].type&&e.id===o[0].id);if(-1===l){let e={...o[0],children:[r]};t.push([e,o[1]])}else t[l][0].children.push(r);return}t.push([r,n])}),t}return 0===o.length&&r?.selectionFallback?e.api.blocks({mode:"highest"}):o},has:e=>Array.isArray(e)?e.every(e=>r().selectedIds.has(e)):r().selectedIds.has(e),isSelectable:(t,n)=>!!t.id&&e.api.isBlock(t)&&r().isSelectable(t,n),resetSelectedIds:()=>{n("selectedIds",new Set)},set:e=>{n("selectedIds",new Set(Array.isArray(e)?e:[e]))},unselect:()=>{n("selectedIds",new Set),n("isSelecting",!1)}})).extendApi(({api:e,editor:t,setOption:r})=>({addSelectedRow:(0,s.gv)(z,t),selectAll:()=>{r("selectedIds",new Set(e.blocks({at:[],mode:"highest",match:(t,r)=>!!t.id&&e.blockSelection.isSelectable(t,r)}).map(e=>e[0].id))),e.blockSelection.focus()}})).extendTransforms(({editor:e})=>({duplicate:(0,s.gv)($,e),insertBlocksAndSelect:(0,s.gv)(H,e),removeNodes:(0,s.gv)(G,e),select:(0,s.gv)(q,e),selectBlocks:(0,s.gv)(m,e),setIndent:(0,s.gv)(K,e),setNodes:(0,s.gv)(V,e),setTexts:(0,s.gv)(Y,e)})).overrideEditor(e=>{let{api:t,api:{nodes:r},editor:n,getOption:a,getOptions:i,tf:{addMark:o,escape:l,focus:s,selectAll:u,setNodes:c,setSelection:d,toggleMark:p}}=e;return{api:{nodes:e=>!e?.at&&a("isSelectingSome")?t.blockSelection.getNodes():r(e)},transforms:{addMark(t,r){Z(e,()=>{o(t,r)})},escape:()=>!!(()=>{let e=n.api.block({highest:!0});if(!e)return;let r=e[0].id;if(r)return t.blockSelection.set(r),!0})()||l(),focus(){!n.meta._forceFocus&&a("isSelectingSome")||s()},selectAll:()=>i().disableSelectAll?u():!!(()=>{let e=n.api.block({highest:!0});if(!e)return;let[,r]=e;return n.api.isAt({block:!0,end:!0,start:!0})||!n.api.isAt({block:!0})?t.blockSelection.selectAll():n.tf.select(r),!0})()||u(),setNodes(t,r){Z(e,()=>{c(t,r)})},setSelection(e){i().selectedIds.size>0&&!n.getOption(g,"openId")&&t.blockSelection.deselect(),d(e)},toggleMark(t,r){Z(e,()=>{p(t,r)})}}}}),Z=({api:e,editor:t,getOption:r},n)=>{r("isSelectingSome")?t.tf.withoutNormalizing(()=>{let r=t.getApi(W).blockSelection.getNodes();t.tf.select(t.api.nodesRange(r)),n(),e.blockSelection.set(r.map(([e])=>e.id))}):n()}},955375:e=>{e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,r=[],n=0;n<e.rangeCount;n++)r.push(e.getRangeAt(n));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||r.forEach(function(t){e.addRange(t)}
4),t&&t.focus()}}},963578:(e,t,r)=>{"use strict";r.d(t,{$n:()=>q,N_:()=>V,bL:()=>H,wv:()=>G,sy:()=>K,hT:()=>B});var n=r(52515),a=r(115298),i=r(649899),o=r(491014),l=r(233332),s=r(689314),u=r(1635),c=r(490243),d=n.forwardRef((e,t)=>{let{pressed:r,defaultPressed:n=!1,onPressedChange:i,...o}=e,[s=!1,d]=(0,u.i)({prop:r,onChange:i,defaultProp:n});return(0,c.jsx)(l.sG.button,{type:"button","aria-pressed":s,"data-state":s?"on":"off","data-disabled":e.disabled?"":void 0,...o,ref:t,onClick:(0,a.m)(e.onClick,()=>{e.disabled||d(!s)})})});d.displayName="Toggle";var p=r(102431),f="ToggleGroup",[h,g]=(0,i.A)(f,[o.RG]),m=(0,o.RG)(),v=n.forwardRef((e,t)=>{let{type:r,...n}=e;if("single"===r)return(0,c.jsx)(E,{...n,ref:t});if("multiple"===r)return(0,c.jsx)(S,{...n,ref:t});throw Error(`Missing prop \`type\` expected on \`${f}\``)});v.displayName=f;var[y,b]=h(f),E=n.forwardRef((e,t)=>{let{value:r,defaultValue:a,onValueChange:i=()=>{},...o}=e,[l,s]=(0,u.i)({prop:r,defaultProp:a,onChange:i});return(0,c.jsx)(y,{scope:e.__scopeToggleGroup,type:"single",value:l?[l]:[],onItemActivate:s,onItemDeactivate:n.useCallback(()=>s(""),[s]),children:(0,c.jsx)(x,{...o,ref:t})})}),S=n.forwardRef((e,t)=>{let{value:r,defaultValue:a,onValueChange:i=()=>{},...o}=e,[l=[],s]=(0,u.i)({prop:r,defaultProp:a,onChange:i}),d=n.useCallback(e=>s((t=[])=>[...t,e]),[s]),p=n.useCallback(e=>s((t=[])=>t.filter(t=>t!==e)),[s]);return(0,c.jsx)(y,{scope:e.__scopeToggleGroup,type:"multiple",value:l,onItemActivate:d,onItemDeactivate:p,children:(0,c.jsx)(x,{...o,ref:t})})});v.displayName=f;var[_,w]=h(f),x=n.forwardRef((e,t)=>{let{__scopeToggleGroup:r,disabled:n=!1,rovingFocus:a=!0,orientation:i,dir:s,loop:u=!0,...d}=e,f=m(r),h=(0,p.jH)(s),g={role:"group",dir:h,...d};return(0,c.jsx)(_,{scope:r,rovingFocus:a,disabled:n,children:a?(0,c.jsx)(o.bL,{asChild:!0,...f,orientation:i,dir:h,loop:u,children:(0,c.jsx)(l.sG.div,{...g,ref:t})}):(0,c.jsx)(l.sG.div,{...g,ref:t})})}),k="ToggleGroupItem",A=n.forwardRef((e,t)=>{let r=b(k,e.__scopeToggleGroup),a=w(k,e.__scopeToggleGroup),i=m(e.__scopeToggleGroup),l=r.value.includes(e.value),s=a.disabled||e.disabled,u={...e,pressed:l,disabled:s},d=n.useRef(null);return a.rovingFocus?(0,c.jsx)(o.q7,{asChild:!0,...i,focusable:!s,active:l,ref:d,children:(0,c.jsx)(T,{...u,ref:t})}):(0,c.jsx)(T,{...u,ref:t})});A.displayName=k;var T=n.forwardRef((e,t)=>{let{__scopeToggleGroup:r,value:n,...a}=e,i=b(k,r),o={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},l="single"===i.type?o:void 0;return(0,c.jsx)(d,{...l,...a,ref:t,onPressedChange:e=>{e?i.onItemActivate(n):i.onItemDeactivate(n)}})}),I="Toolbar",[N,C]=(0,i.A)(I,[o.RG,g]),O=(0,o.RG)(),R=g(),[P,L]=N(I),D=n.forwardRef((e,t)=>{let{__scopeToolbar:r,orientation:n="horizontal",dir:a,loop:i=!0,...s}=e,u=O(r),d=(0,p.jH)(a);return(0,c.jsx)(P,{scope:r,orientation:n,dir:d,children:(0,c.jsx)(o.bL,{asChild:!0,...u,orientation:n,dir:d,loop:i,children:(0,c.jsx)(l.sG.div,{role:"toolbar","aria-orientation":n,dir:d,...s,ref:t})})})});D.displayName=I;var M="ToolbarSeparator",F=n.forwardRef((e,t)=>{let{__scopeToolbar:r,...n}=e,a=L(M,r);return(0,c.jsx)(s.b,{orientation:"horizontal"===a.orientation?"vertical":"horizontal",...n,ref:t})});F.displayName=M;var j=n.forwardRef((e,t)=>{let{__scopeToolbar:r,...n}=e,a=O(r);return(0,c.jsx)(o.q7,{asChild:!0,...a,focusable:!e.disabled,children:(0,c.jsx)(l.sG.button,{type:"button",...n,ref:t})})});j.displayName="ToolbarButton";var U=n.forwardRef((e,t)=>{let{__scopeToolbar:r,...n}=e,i=O(r);return(0,c.jsx)(o.q7,{asChild:!0,...i,focusable:!0,children:(0,c.jsx)(l.sG.a,{...n,ref:t,onKeyDown:(0,a.m)(e.onKeyDown,e=>{" "===e.key&&e.currentTarget.click()})})})});U.displayName="ToolbarLink";var z="ToolbarToggleGroup",B=n.forwardRef((e,t)=>{let{__scopeToolbar:r,...n}=e,a=L(z,r),i=R(r);return(0,c.jsx)(v,{"data-orientation":a.orientation,dir:a.dir,...i,...n,ref:t,rovingFocus:!1})});B.displayName=z;var $=n.forwardRef((e,t)=>{let{__scopeToolbar:r,...n}=e,a=R(r),i={__scopeToolbar:e.__scopeToolbar};return(0,c.jsx)(j,{asChild:!0,...i,children:(0,c.jsx)(A,{...a,...n,ref:t})})});$.displayName="ToolbarToggleItem";var H=D,G=F,q=j,V=U,K=$},969077:()=>{Prism.languages.git={comment:/^#.*/m,deleted:/^[-â].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}},973054:(e,t,r)=>{"use strict";r.d(t,{bl:()=>i,cc:()=>a});var n=r(583896);let a=(e,t={})=>{!e.selection||e.api.isExpanded()||e.api.some({match:e=>e.type===n.t.codeBlock||e.type===n.t.codeLine})||(e.api.isAt({start:!0})||e.tf.insertBreak(),e.tf.setNodes({children:[{text:""}],type:n.t.codeLine},t),e.tf.wrapNodes({children:[],type:n.t.codeBlock},t))},i=(e,{defaultType:t=e.getType(n.t.p),insertNodesOptions:r}={})=>{e.selection&&((e.api.isExpanded()||!e.api.isEmpty(e.selection,{block:!0}
4))&&e.tf.insertNodes(e.api.create.block({children:[{text:""}],type:t}),{nextBlock:!0,select:!0,...r}),a(e,r))}},975848:()=>{Prism.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(function(e){for(var t in e)e[t]=e[t].replace(/<[\w\s]+>/g,function(t){return"(?:"+e[t].trim()+")"});return e[t]}({"<ureal dec>":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"<real dec>":/[+-]?<ureal dec>|[+-](?:inf|nan)\.0/.source,"<imaginary dec>":/[+-](?:<ureal dec>|(?:inf|nan)\.0)?i/.source,"<complex dec>":/<real dec>(?:@<real dec>|<imaginary dec>)?|<imaginary dec>/.source,"<num dec>":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?<complex dec>/.source,"<ureal box>":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"<real box>":/[+-]?<ureal box>|[+-](?:inf|nan)\.0/.source,"<imaginary box>":/[+-](?:<ureal box>|(?:inf|nan)\.0)?i/.source,"<complex box>":/<real box>(?:@<real box>|<imaginary box>)?|<imaginary box>/.source,"<num box>":/#[box](?:#[ei])?|(?:#[ei])?#[box]<complex box>/.source,"<number>":/(^|[()\[\]\s])(?:<num dec>|<num box>)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/}},978816:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("Keyboard",[["path",{d:"M10 8h.01",key:"1r9ogq"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M14 8h.01",key:"1primd"}],["path",{d:"M16 12h.01",key:"1l6xoz"}],["path",{d:"M18 8h.01",key:"emo2bl"}],["path",{d:"M6 8h.01",key:"x9i8wu"}],["path",{d:"M7 16h10",key:"wp8him"}],["path",{d:"M8 12h.01",key:"czm47f"}],["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}]])},998233:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(775829).A)("RectangleHorizontal",[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}]])}}]); 5//#
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.