@lax-wp/editor 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +35 -129
- package/dist/index.umd.js +6 -62
- package/package.json +1 -2
package/dist/index.umd.js
CHANGED
|
@@ -1,21 +1,5 @@
|
|
|
1
1
|
import './editor.css';
|
|
2
|
-
(function(Ne,I){typeof exports=="object"&&typeof module<"u"?I(exports,require("react"),require("@tiptap/react"),require("@tiptap/extension-character-count"),require("prosemirror-transform"),require("prosemirror-commands"),require("prosemirror-state"),require("prosemirror-model"),require("prosemirror-schema-list"),require("prosemirror-view"),require("prosemirror-keymap"),require("@tiptap/extensions"),require("@tiptap/extension-typography"),require("@tiptap/extension-document"),require("@tiptap/extension-list"),require("@tiptap/extension-text-style"),require("@tiptap/extension-task-list"),require("@tiptap/extension-task-item"),require("@tiptap/extension-subscript"),require("@tiptap/extension-superscript"),require("@tiptap/extension-highlight"),require("@tiptap/extension-text-align"),require("@tiptap/extension-blockquote"),require("@tiptap/extension-heading"),require("@tiptap/extension-table"),require("antd"),require("react-dom"),require("@mui/icons-material"),require("framer-motion"),require("prosemirror-tables")):typeof define=="function"&&define.amd?define(["exports","react","@tiptap/react","@tiptap/extension-character-count","prosemirror-transform","prosemirror-commands","prosemirror-state","prosemirror-model","prosemirror-schema-list","prosemirror-view","prosemirror-keymap","@tiptap/extensions","@tiptap/extension-typography","@tiptap/extension-document","@tiptap/extension-list","@tiptap/extension-text-style","@tiptap/extension-task-list","@tiptap/extension-task-item","@tiptap/extension-subscript","@tiptap/extension-superscript","@tiptap/extension-highlight","@tiptap/extension-text-align","@tiptap/extension-blockquote","@tiptap/extension-heading","@tiptap/extension-table","antd","react-dom","@mui/icons-material","framer-motion","prosemirror-tables"],I):(Ne=typeof globalThis<"u"?globalThis:Ne||self,I(Ne.LaxEditor={},Ne.React,Ne.react,Ne.CharacterCount,Ne.prosemirrorTransform,Ne.prosemirrorCommands,Ne.prosemirrorState,Ne.PModel,Ne.prosemirrorSchemaList,Ne.prosemirrorView,Ne.prosemirrorKeymap,Ne.extensions,Ne.Typography,Ne.Document,Ne.extensionList,Ne.extensionTextStyle,Ne.TaskList,Ne.TaskItem,Ne.Subscript,Ne.Superscript,Ne.Highlight,Ne.TextAlign,Ne.Blockquote,Ne.Heading,Ne.extensionTable,Ne.antd,Ne.ReactDOM,Ne.iconsMaterial,Ne.FramerMotion,Ne.prosemirrorTables))})(this,(function(Ne,I,Xt,ih,Zt,ft,Z,Jt,ta,Mt,ah,$l,oh,sh,Wl,na,lh,ch,dh,uh,_h,ph,mh,gh,go,ce,fo,Oe,Vu,$u){"use strict";function Wu(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const It=Wu(I),Cr=Wu(Jt);if(typeof window<"u"){let e=function(){var t=document.body,n=document.getElementById("__svg__icons__dom__");n||(n=document.createElementNS("http://www.w3.org/2000/svg","svg"),n.style.position="absolute",n.style.width="0",n.style.height="0",n.id="__svg__icons__dom__",n.setAttribute("xmlns","http://www.w3.org/2000/svg"),n.setAttribute("xmlns:link","http://www.w3.org/1999/xlink")),n.innerHTML='<symbol fill="none" viewBox="0 0 16 16" id="icon-ai-autocompletion-exit"><path d="m11.705 9.085-2.53-1.104A2.65 2.65 0 0 1 7.81 6.615l-1.104-2.53a.245.245 0 0 0-.45 0l-1.103 2.53A2.65 2.65 0 0 1 3.785 7.98L1.251 9.087a.245.245 0 0 0 0 .45l2.578 1.138c.61.27 1.096.76 1.36 1.373l1.068 2.482a.245.245 0 0 0 .45 0l1.102-2.526a2.65 2.65 0 0 1 1.367-1.367l2.53-1.104a.245.245 0 0 0 0-.45v.002Z" fill="#475467" /><path d="m14.872 4.295-1.463-.638a1.525 1.525 0 0 1-.789-.79l-.638-1.461a.141.141 0 0 0-.26 0l-.637 1.462a1.525 1.525 0 0 1-.79.789l-1.463.638a.141.141 0 0 0 0 .26l1.49.659c.351.155.633.44.785.793l.618 1.434c.05.113.21.113.26 0l.637-1.46c.154-.353.437-.635.789-.788l1.462-.639a.141.141 0 0 0 0-.259h-.001Z" fill="#D0D5DD" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-ai-autocompletion"><path d="m11.705 9.085-2.53-1.104A2.65 2.65 0 0 1 7.81 6.615l-1.104-2.53a.245.245 0 0 0-.45 0l-1.103 2.53A2.65 2.65 0 0 1 3.785 7.98L1.251 9.087a.245.245 0 0 0 0 .45l2.577 1.138c.61.27 1.096.76 1.36 1.373l1.07 2.482a.245.245 0 0 0 .449 0l1.102-2.526a2.65 2.65 0 0 1 1.367-1.367l2.53-1.104a.245.245 0 0 0 0-.45v.002Z" fill="#016DCF" /><path d="m14.871 4.295-1.462-.638a1.525 1.525 0 0 1-.789-.79l-.638-1.461a.141.141 0 0 0-.26 0l-.638 1.462a1.525 1.525 0 0 1-.788.789l-1.464.638a.141.141 0 0 0 0 .26l1.49.659c.351.155.633.44.785.793l.617 1.434c.05.113.211.113.261 0l.637-1.46c.153-.353.437-.635.789-.788l1.462-.639a.141.141 0 0 0 0-.259h-.002Z" fill="#54A4EC" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-align-center"><path d="M1.75 2.25h12.504M4.754 8h6.496m-9.5 5.75h12.504" vector-effect="non-scaling-stroke" stroke="currentColor" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-align-distributed"><path d="M1.75 9.834h12.504M1.75 13.75h12.504m0-9.5-2-2m2 2-2 2m2-2H1.8m2-2-2 2m0 0 2 2" vector-effect="non-scaling-stroke" stroke="currentColor" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-align-justify"><path d="M1.75 2.25h12.504M1.75 8h12.504M1.75 13.75h12.504" vector-effect="non-scaling-stroke" stroke="currentColor" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-align-left"><path d="M1.75 2.25h12.504M1.75 8h6.496M1.75 13.75h12.504" vector-effect="non-scaling-stroke" stroke="currentColor" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-align-right"><path d="M1.75 2.25h12.504M7.754 8h6.496m-12.5 5.75h12.504" vector-effect="non-scaling-stroke" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-arrow-down"><path d="M36 18 24 30 12 18" stroke="currentColor" /></symbol><symbol viewBox="0 0 1024 1024" id="icon-assistant"><path d="M510.896 0c283.552 0 513.12 229.056 513.12 512 0 280.704-231.808 512-513.12 512-87.776 0-173.28-22.464-249.792-65.12h-2.24L78.8 994.816h-6.752c-11.264 0-20.256-4.48-27.008-11.232a41.376 41.376 0 0 1-11.264-35.936L69.808 772.48v-2.24C22.544 691.648.016 601.824.016 512-2.224 229.056 227.344 0 510.896 0zm-43.552 306.656H366.096l-4.16 4.224-135.04 396.448v8.448l4.288 4.224h80.096l4.224-4.224 33.728-97.056h139.2l33.728 92.832 8.448 8.448h75.936l4.224-4.224 4.16-4.224v-8.448L471.568 310.88l-4.224-4.224zm261.472-4.32h-67.52l-4.192 4.224h-4.288v4.16l-4.224 4.256V707.2l4.224 8.416 4.288 4.16h75.904l4.224-4.192v-4.224l4.192-4.224V319.2l-4.224-8.448-8.416-8.416zm-316.288 97.12 4.224 12.64 12.64 33.76 33.728 92.768h-97.024l21.12-63.232 25.28-75.936z" fill="#0054a1" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-audio"><rect x="16" y="4" width="16" height="28" rx="8" stroke="currentColor" /><path d="M10 21v3c0 7.732 6.268 14 14 14s14-6.268 14-14v-3M24 5v6m-8 5h5m6 0h5m-16 6h5m6 0h5M24 38v6M16 44h16" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-auto-width"><path d="M6 7h36M8 24h32M13.99 30 8 24.005 14 18m20.01 0L40 23.995 34 30M6 41h36" stroke="currentColor" /></symbol><symbol viewBox="0 0 24 24" id="icon-background-color"><g stroke="currentColor" fill="none" fill-rule="evenodd"><rect x=".5" y=".5" width="23" height="23" rx="3" /><path d="m12.167 5-7.5 14m3-4.384h9M12.167 5l7.5 14" /></g></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-barcode"><path d="M16 6H8a2 2 0 0 0-2 2v8m10 26H8a2 2 0 0 1-2-2v-8m26 10h8a2 2 0 0 0 2-2v-8M32 6h8a2 2 0 0 1 2 2v8m-18 0v16m8-16v16M16 16v16" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-block-add"><path d="m24.06 10-.036 28M10 24h28" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-block-menu"><path fill-rule="evenodd" clip-rule="evenodd" d="M19 10a4 4 0 1 1-8 0 4 4 0 0 1 8 0zm-4 18a4 4 0 1 0 0-8 4 4 0 0 0 0 8zm0 14a4 4 0 1 0 0-8 4 4 0 0 0 0 8zm22-32a4 4 0 1 1-8 0 4 4 0 0 1 8 0zm-4 18a4 4 0 1 0 0-8 4 4 0 0 0 0 8zm0 14a4 4 0 1 0 0-8 4 4 0 0 0 0 8z" fill="currentColor" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-bold"><path d="M3.25 7.75h5.5a3 3 0 1 0 0-6h-4a1.5 1.5 0 0 0-1.5 1.5v4.5zm0 0H9.5a3.25 3.25 0 0 1 0 6.5H4.75a1.5 1.5 0 0 1-1.5-1.5v-5z" vector-effect="non-scaling-stroke" stroke="currentColor" /></symbol><symbol viewBox="0 0 24 24" id="icon-bookmark"><path fill="none" d="M-1-1h6.528v6.528H-1z" /><g stroke="currentColor" fill="none"><path d="M5 2.957h15M8.347 5.582h7.856" /><path stroke-opacity="null" d="M5.429 2.613 5.366 22m14.15-19.387L19.453 22m-13.785-.636 6.773-4.076m7.258 4.498-7.567-4.63" /></g></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-border-none"><path d="M12 4H4v8h8V4zm32 32h-8v8h8v-8zm-32 0H4v8h8v-8zM44 4h-8v8h8V4z" stroke="currentColor" /><path d="M8 36V12m32 24V12M12 8h24M12 40h24" stroke="currentColor" stroke-dasharray="1 5" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-border"><path d="M12 4H4v8h8V4zm32 32h-8v8h8v-8zm-32 0H4v8h8v-8zM44 4h-8v8h8V4zM8 36V12m32 24V12M12 8h24M12 40h24" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-break-marks"><path d="M6 4v40M42 4v40M18 26l-4 4 4 4" stroke="currentColor" /><path d="M15 30h13a6 6 0 0 0 0-12H14" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-bullet-list-2"><path d="M9 42a4 4 0 1 0 0-8 4 4 0 0 0 0 8zm0-28a4 4 0 1 0 0-8 4 4 0 0 0 0 8zm0 14a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM21 24h22M21 38h22M21 10h22" stroke="currentColor" /></symbol><symbol viewBox="0 0 44 44" id="icon-bullet-list-circle"><path d="M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163" /><path d="M11 27a3 3 0 1 1 0 6 3 3 0 0 1 0-6zm0 1a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm0-10a3 3 0 1 1 0 6 3 3 0 0 1 0-6zm0 1a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm0-10a3 3 0 1 1 0 6 3 3 0 0 1 0-6zm0 1a2 2 0 1 0 0 4 2 2 0 0 0 0-4z" /></symbol><symbol viewBox="0 0 44 44" id="icon-bullet-list-disc"><path d="M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163" /><path d="M11 27a3 3 0 1 1 0 6 3 3 0 0 1 0-6zm0-9a3 3 0 1 1 0 6 3 3 0 0 1 0-6zm0-9a3 3 0 1 1 0 6 3 3 0 0 1 0-6z" /></symbol><symbol viewBox="0 0 44 44" id="icon-bullet-list-square"><path d="M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163" /><path d="M14 27v6H8v-6h6zm0-9v6H8v-6h6zm0-9v6H8V9h6z" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-bullet-list"><path d="M5.734 7.747h8.5m-8.5 5.5h8.5M5.734 2.25h8.5" vector-effect="non-scaling-stroke" stroke="currentColor" /><path d="M2.25 3.5a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5zM3.5 7.748a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0zm-1.25 6.748a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5z" fill="#0054a1" fill-rule="evenodd" clip-rule="evenodd" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-callout"><rect x="4" y="6" width="40" height="30" rx="2" stroke="currentColor" /><path d="M20 42h8m6 0h2M4 42h2m36 0h2m-32 0h2" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-check"><path d="M24 44a19.937 19.937 0 0 0 14.142-5.858A19.937 19.937 0 0 0 44 24a19.938 19.938 0 0 0-5.858-14.142A19.937 19.937 0 0 0 24 4 19.938 19.938 0 0 0 9.858 9.858 19.938 19.938 0 0 0 4 24a19.937 19.937 0 0 0 5.858 14.142A19.938 19.938 0 0 0 24 44z" stroke="currentColor" /><path d="m16 24 6 6 12-12" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-chinese-case"><path d="M38 10 10 38M6 6l6 8 6-8M5 14h14M5 20h14m-7-6v12m20.846 0H42v16H22v-5.85" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-clear-cache"><path d="M24 44c11.046 0 20-8.954 20-20S35.046 4 24 4 4 12.954 4 24s8.954 20 20 20z" stroke="currentColor" /><path d="M33.542 27c-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7v6m19.084-18v6c-1.274-4.057-5.064-7-9.542-7-4.477 0-8.268 2.943-9.542 7" stroke="currentColor" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-clear-format"><g stroke="currentColor"><path d="m13.83 6.061-3.37-3.37a1.5 1.5 0 0 0-2.121 0L2.223 8.807a1.5 1.5 0 0 0 0 2.122l3.322 3.322h2.218l6.068-6.068a1.5 1.5 0 0 0 0-2.122zm-9.908.569 6.081 6.081M6 14.25h8.25" vector-effect="non-scaling-stroke" /></g></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-clickable"><path d="M24 4v8" stroke="currentColor" /><path clip-rule="evenodd" d="m22 22 20 4-6 4 6 6-6 6-6-6-4 6-4-20z" stroke="currentColor" /><path d="m38.142 9.858-5.657 5.657M9.858 38.142l5.657-5.657M4 24h8M9.858 9.858l5.657 5.657" stroke="currentColor" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="icon-close"><path fill="currentColor" d="M7.05 5.64 12 10.59l4.95-4.95 1.41 1.41L13.41 12l4.95 4.95-1.41 1.41L12 13.41l-4.95 4.95-1.41-1.41L10.59 12 5.64 7.05l1.41-1.41z" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-code-block"><path d="M23 40H7a3 3 0 0 1-3-3V11a3 3 0 0 1 3-3h34a3 3 0 0 1 3 3v14.882" stroke="currentColor" /><path d="M4 11a3 3 0 0 1 3-3h34a3 3 0 0 1 3 3v9H4v-9zM34 33l-4 4 4 4m6-8 4 4-4 4" stroke="currentColor" /><circle r="2" transform="matrix(0 -1 -1 0 10 14)" fill="currentColor" /><circle r="2" transform="matrix(0 -1 -1 0 16 14)" fill="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-code-line-number"><path d="M9 4v9m3 0H6m6 14H6m0-7s3-3 5 0-5 7-5 7m0 7.5s2-3 5-1 0 4.5 0 4.5 3 2.5 0 4.5-5-1-5-1m5-3.5H9M9 4 6 6m15 18h22M21 38h22M21 10h22" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-code-word-wrap"><path d="M6 9h36M6 19h36M6 29h18M6 39h10m8 0h13a5 5 0 0 0 0-10h-5m-8 10 4-4m-4 4 4 4" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-code"><path d="M16 13 4 25.432 16 37m16-24 12 12.432L32 37M28 4l-7 40" stroke="currentColor" /></symbol><symbol viewBox="0 0 24 24" id="icon-color-fill"><path d="M20 14c-.092.064-2 2.083-2 3.5 0 1.494.949 2.448 2 2.5.906.044 2-.891 2-2.5 0-1.5-1.908-3.436-2-3.5zM9.586 20c.378.378.88.586 1.414.586s1.036-.208 1.414-.586l7-7-.707-.707L11 4.586 8.707 2.293 7.293 3.707 9.586 6 4 11.586c-.378.378-.586.88-.586 1.414s.208 1.036.586 1.414L9.586 20zM11 7.414 16.586 13H5.414L11 7.414z" /></symbol><symbol viewBox="0 0 24 24" id="icon-color"><g fill="none" fill-rule="evenodd"><path d="M0 0h24v24H0z" /><path stroke="currentColor" d="M12.5 2.5 4 21.5m3.4-6.045h10.2M12.5 2.5l8.5 19" /></g></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-columns"><path d="M39.3 6H8.7A2.7 2.7 0 0 0 6 8.7v30.6A2.7 2.7 0 0 0 8.7 42h30.6a2.7 2.7 0 0 0 2.7-2.7V8.7A2.7 2.7 0 0 0 39.3 6zM24 6v36" stroke="currentColor" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-comment"><path d="M1.75 3.25a1.5 1.5 0 0 1 1.5-1.5h9.5a1.5 1.5 0 0 1 1.5 1.5v7.513a1.5 1.5 0 0 1-1.5 1.5H8.782l-2.521 2.554a.3.3 0 0 1-.514-.21v-2.344H3.25a1.5 1.5 0 0 1-1.5-1.5V3.25zm4 3.75H8m0 0h2.25M8 7V4.75M8 7v2.25" vector-effect="non-scaling-stroke" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-copy"><path d="M13 38h28V16H30V4H13v34zM30 4l11 12" stroke="currentColor" /><path d="M7 20v24h21M19 20h4m-4 8h12" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-date"><path stroke="currentColor" d="M4 8h40v36H4z" /><path clip-rule="evenodd" d="M28 20v14h8V20h-8z" stroke="currentColor" /><path d="M17 4v8m14-8v8m-19 8h8v14h-8m8-7h-6" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-diagrams"><path d="M40.99 8.027H12.182C9.455 8.027 4 9.55 4 15.967 4 22.384 9.455 24 12.182 24h23.812C38.72 24 44 25.568 44 31.985c0 6.416-5.279 8.018-8.006 8.018H6.065" stroke="currentColor" /><path d="m8.046 35.993-3.979 4.066L8.046 44M38.043 3.954 42.02 8.02l-3.978 3.941" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-download"><path d="M24.008 33.9V6M36 22 24 34 12 22m24 20H12" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-echarts"><path clip-rule="evenodd" d="M4 42h40H4z" /><path d="M4 42h40M8 28h6v14H8zm13-10h6v24h-6zM34 6h6v36h-6z" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-edit"><path d="M5.325 43.5h8.485l31.113-31.113-8.486-8.485L5.325 35.015V43.5zM27.952 12.387l8.485 8.485" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-embed"><rect x="4" y="8" width="40" height="32" rx="3" stroke="currentColor" /><path d="M4 11a3 3 0 0 1 3-3h34a3 3 0 0 1 3 3v9H4v-9z" stroke="currentColor" /><circle r="2" transform="matrix(0 -1 -1 0 10 14)" fill="currentColor" /><circle r="2" transform="matrix(0 -1 -1 0 16 14)" fill="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-emoji"><path d="M24 44c11.046 0 20-8.954 20-20S35.046 4 24 4 4 12.954 4 24s8.954 20 20 20z" stroke="currentColor" /><path d="M31 18v1m-14-1v1m14 12s-2 4-7 4-7-4-7-4" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-equal-proportion"><path d="M42 7H6a2 2 0 0 0-2 2v30a2 2 0 0 0 2 2h36a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2z" stroke="currentColor" /><path d="M12 20.58 16 18v12m15-9.42L35 18v12M24 20v1m0 6v1" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-exit"><path d="M23.992 6H6v36h18m9-9 9-9-9-9m-17 8.992h26" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-expand-down"><path d="M6 9h36M6 19h36M6 26l18 14 18-14" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-file-view"><path d="M10 44h28a2 2 0 0 0 2-2V14H30V4H10a2 2 0 0 0-2 2v36a2 2 0 0 0 2 2zM30 4l10 10" stroke="currentColor" /><path d="M24 34c4.97 0 9-6 9-6s-4.03-6-9-6-9 6-9 6 4.03 6 9 6z" stroke="currentColor" /><path d="M24 30a2 2 0 1 0 0-4 2 2 0 0 0 0 4z" fill="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-file"><path d="M10 44h28a2 2 0 0 0 2-2V14H30V4H10a2 2 0 0 0-2 2v36a2 2 0 0 0 2 2ZM30 4l10 10M24 21v14M17 28h14" stroke="currentColor" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-font-size-decrease"><path d="m2 13.5 1.422-3.412m0 0 3.301-7.923a.3.3 0 0 1 .554 0l3.301 7.923m-7.156 0h7.156m0 0L12 13.5" vector-effect="non-scaling-stroke" stroke="currentColor" /><path d="M11.043 2.75h3.173" vector-effect="non-scaling-stroke" stroke="#0054a1" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-font-size-increase"><path d="m2 13.5 1.422-3.412m0 0 3.301-7.923a.3.3 0 0 1 .554 0l3.301 7.923m-7.156 0h7.156m0 0L12 13.5" vector-effect="non-scaling-stroke" stroke="currentColor" /><path d="M11 2.75h3.476M12.75 4.549V1" vector-effect="non-scaling-stroke" stroke="#0054a1" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-format-painter"><path d="M6.543 3.961s-1.03 1.203-2.494 1.892c-1.006.473-2.181.585-2.734.626-.2.015-.344.21-.277.398.293.82 1.112 2.801 2.658 4.347 2.126 2.126 3.659 2.968 4.142 3.202.1.048.215.03.299-.04.385-.326 1.5-1.278 2.21-1.987.891-.89 2.186-2.447 2.186-2.447m.48.055a.3.3 0 0 1-.425 0L6.325 3.743a.3.3 0 0 1 0-.424l.68-.68a1.5 1.5 0 0 1 2.121 0l1.357 1.356 1.604-2.02a1.629 1.629 0 1 1 2.279 2.295L12.34 5.853l1.353 1.352a1.5 1.5 0 0 1 0 2.121l-.68.68z" vector-effect="non-scaling-stroke" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-format"><path stroke="currentColor" d="M8 24h32v18H8zM4 13h14V6h12v7h14v11H4V13ZM16 32v10" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-full-screen-exit"><path d="M33 6v9h9M15 6v9H6M15 42v-9H6M33 42v-9h8.9" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-full-screen"><path d="M33 6h9v9M42 33v9h-9M15 42H6v-9M6 15V6h9" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-hard-break"><path d="M6 9h36M6 19h36M6 29h18M6 39h10m8 0h13a5 5 0 0 0 0-10h-5m-8 10 4-4m-4 4 4 4" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-heading"><path d="M12 5v38M36 5v38M12 24h24" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-help"><path d="M24 44a19.937 19.937 0 0 0 14.142-5.858A19.937 19.937 0 0 0 44 24a19.938 19.938 0 0 0-5.858-14.142A19.937 19.937 0 0 0 24 4 19.938 19.938 0 0 0 9.858 9.858 19.938 19.938 0 0 0 4 24a19.937 19.937 0 0 0 5.858 14.142A19.938 19.938 0 0 0 24 44z" stroke="currentColor" /><path d="M24 28.625v-4a6 6 0 1 0-6-6" stroke="currentColor" /><path fill-rule="evenodd" clip-rule="evenodd" d="M24 37.625a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5z" fill="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-hide-toolbar"><rect x="6" y="6" width="36" height="36" rx="3" stroke="currentColor" /><path d="M6 16h36M20 32l4-4 4 4M6 10v12M42 10v12" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-highlight"><path d="M6 44V25h6v-8h24v8h6v19H6zM17 17V8l14-4v13" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-home-page"><path clip-rule="evenodd" d="M24 44c11.046 0 20-8.954 20-20S35.046 4 24 4 4 12.954 4 24s8.954 20 20 20z" stroke="currentColor" /><path d="M4 24h40" stroke="currentColor" /><path clip-rule="evenodd" d="M24 44c4.418 0 8-8.954 8-20S28.418 4 24 4s-8 8.954-8 20 3.582 20 8 20z" stroke="currentColor" /><path d="M9.858 10.142A19.937 19.937 0 0 0 24 16a19.937 19.937 0 0 0 14.142-5.858m0 27.716A19.937 19.937 0 0 0 24 32a19.937 19.937 0 0 0-14.142 5.858" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-hr"><path d="M5 24h38M21 38h6m10 0h6M21 10h6M5 38h6M5 10h6m26 0h6" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-html5"><path d="M37.804 5H10.196a2 2 0 0 0-1.991 2.187l2.688 28.666a2 2 0 0 0 1.153 1.63l11.116 5.13a2 2 0 0 0 1.676 0l11.116-5.13a2 2 0 0 0 1.154-1.63l2.687-28.666A2 2 0 0 0 37.804 5z" stroke="currentColor" /><path d="M32 12H16l1 9h14l-1 11-6 3-6-3-.5-5" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-image-draggable"><path d="M9.583 27.182C7.867 28.354 7.009 30.293 7.009 33c0 4.06 4.991 11 9.492 11h11.515c4.405 0 7.08-3.85 7.08-6.94V24.6a3.253 3.253 0 0 0-3.243-3.253 3.235 3.235 0 0 0-3.245 3.226v.11" stroke="currentColor" /><path d="M10.981 29.445V7.662a3.217 3.217 0 0 1 6.435 0v15.986M17.416 24v-4.192a2.804 2.804 0 0 1 5.608 0v4.62" stroke="currentColor" /><path d="M23 24.658v-2.85a2.804 2.804 0 0 1 5.608 0v3.195M11 8h30M36 12.5l1.667-1.5L41 8l-3.333-3L36 3.5" stroke="currentColor" /></symbol><symbol viewBox="0 0 1024 1024" id="icon-image-failed"><path d="M480 164.571 580.571 376.87 461.824 512l158.5 193.06-79.25 154.369H73.143V164.57z" opacity=".12" /><path d="m566.857 164.571 99.109 212.444-118.547 134.948 159.16 193.354-79.58 154.112h323.858V164.57z" fill-opacity=".12" /><path d="M182.894 749.714v-85.357L315.209 525.75l157.312 132.206 56.759-63.744 90.917 110.884-22.803 44.617zm658.249 0H683.575l22.985-44.47-132.681-161.207 93.257-105.18 174.062 215.845z" fill-opacity=".12" /><path d="M256 347.429a73.143 73.143 0 1 0 146.286 0 73.143 73.143 0 1 0-146.286 0z" opacity=".12" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-image-flip"><path d="M24 6v36M4 34l12-22v22H4zm40 0H32V12l12 22z" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-image-preview"><path d="M16 40H6a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2h36a2 2 0 0 1 2 2v6" stroke="currentColor" /><path d="M42 24H26a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V26a2 2 0 0 0-2-2Z" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-image-remove-background"><path d="M44 23.994a2 2 0 0 0-4 0h4zm-20-16a2 2 0 1 0 0-4v4zm15 32H9v4h30v-4zm-31-1v-30H4v30h4zm32-15v15h4v-15h-4zm-31-16h15v-4H9v4zm0 32a1 1 0 0 1-1-1H4a5 5 0 0 0 5 5v-4zm30 4a5 5 0 0 0 5-5h-4a1 1 0 0 1-1 1v4zm-31-35a1 1 0 0 1 1-1v-4a5 5 0 0 0-5 5h4z" fill="currentColor" /><path d="m6 35 10.693-9.802a2 2 0 0 1 2.653-.044L32 36m-4-5 4.773-4.773a2 2 0 0 1 2.615-.186L42 31M33 7l8 8m0-8-8 8" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-image-reset"><path d="M11.272 36.728A17.943 17.943 0 0 0 24 42c9.941 0 18-8.059 18-18S33.941 6 24 6c-4.97 0-9.47 2.015-12.728 5.272C9.614 12.93 6 17 6 17" stroke="currentColor" /><path d="M6 9v8h8" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-image-rotate"><path d="M12 24h30v18H12V24zM6 8v9h9" stroke="currentColor" /><path d="M38.475 13.299C35.195 8.87 29.933 6 24 6c-5.821 0-10.997 2.763-14.287 7.05L6 17" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-image"><path clip-rule="evenodd" d="M5 10a2 2 0 0 1 2-2h34a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V10z" stroke="currentColor" /><path clip-rule="evenodd" d="M14.5 18a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z" stroke="currentColor" /><path d="m15 24 5 4 6-7 17 13v4a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-4l10-10z" stroke="currentColor" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-indent"><path d="M1.75 2.25h12.504M1.75 8h7.496M1.75 13.75h12.504" vector-effect="non-scaling-stroke" stroke="currentColor" /><path d="m12.25 6 1.993 1.993a.01.01 0 0 1 0 .014L12.25 10" vector-effect="non-scaling-stroke" stroke="#0054a1" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-italic"><path d="M7.75 1.75h5.5M10.5 2l-5 12m-2.75.25h5.5" vector-effect="non-scaling-stroke" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-json"><path d="M10 44h28a2 2 0 0 0 2-2V14H30V4H10a2 2 0 0 0-2 2v36a2 2 0 0 0 2 2zM30 4l10 10" stroke="currentColor" /><path d="M22 20c-2 0-3 1-3 3v2c0 1.5-1 2-2 2v2c1 0 2 .5 2 2v2c0 2 1 3 3 3M26 20c2 0 3 1 3 3v2c0 1.5 1 2 2 2v2c-1 0-2 .5-2 2v2c0 2-1 3-3 3" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-laser-pointer"><g clip-path="url(#icon-laser-pointer_a)"><rect x="35.193" y="5.322" width="12" height="38" rx="6" transform="rotate(45 35.193 5.322)" stroke="currentColor" /><path d="m18 23 8 8M6 43l6-6" stroke="currentColor" /><rect x="33.268" y="12.34" width="4" height="4" rx="2" transform="rotate(30 33.268 12.34)" fill="currentColor" /></g><defs><clipPath id="icon-laser-pointer_a"><path fill="currentColor" d="M0 0h48v48H0z" /></clipPath></defs></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-line-height"><path d="m1.75 3.806 2-2.056 2 2.056m-2 10.144-2-2.056m2 2.056 2-2.056m-2 2.056.012-12.187" vector-effect="non-scaling-stroke" stroke="currentColor" /><path d="M8.754 13.75h5.5m-5.5-4h5.5m-5.5-4h5.5m-5.504-4h5.504" vector-effect="non-scaling-stroke" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-line-number"><path d="M9 4v9m3 0H6m6 14H6m0-7s3-3 5 0-5 7-5 7m0 7.5s2-3 5-1 0 4.5 0 4.5 3 2.5 0 4.5-5-1-5-1m5-3.5H9M9 4 6 6m15 18h22M21 38h22M21 10h22" stroke="currentColor" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-link"><path d="M9.442 8.013a3.285 3.285 0 0 1-.62 3.752l-1.77 1.778a3.241 3.241 0 0 1-4.6 0 3.28 3.28 0 0 1 0-4.623l1.446-1.45m8.165 1.104 1.485-1.493a3.28 3.28 0 0 0 0-4.623 3.241 3.241 0 0 0-4.6 0L7.18 4.235a3.28 3.28 0 0 0-.134 4.48" vector-effect="non-scaling-stroke" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-loading"><path d="M4 24c0 11.046 8.954 20 20 20s20-8.954 20-20S35.046 4 24 4" stroke="currentColor" /></symbol><symbol viewBox="0 0 22 22" id="icon-margin"><g fill="none" fill-rule="evenodd"><path d="M2 3h18M2 20h18" stroke="currentColor" /><path d="M0 0h22v22H0z" /><path d="M11 6 6 17m2-3.5h6M11 6l5 11" stroke="currentColor" /></g></symbol><symbol viewBox="0 0 1024 1024" id="icon-markdown"><path stroke="currentColor" d="M896 192a64 64 0 0 1 64 64v512a64 64 0 0 1-64 64H128a64 64 0 0 1-64-64V256a64 64 0 0 1 64-64h768zm-768-64A128 128 0 0 0 0 256v512a128 128 0 0 0 128 128h768a128 128 0 0 0 128-128V256a128 128 0 0 0-128-128H128z" data-spm-anchor-id="a313x.search_index.0.i1.3d203a817x9KY2" /><path stroke="currentColor" d="M585.344 521.344a32 32 0 0 1 45.312 0L736 626.752l105.344-105.408a32.064 32.064 0 0 1 45.312 45.312l-128 128a31.872 31.872 0 0 1-45.312 0l-128-128a32 32 0 0 1 0-45.312z" /><path stroke="currentColor" d="M736 320a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V352a32 32 0 0 1 32-32zM227.84 704V448.64h3.584l91.392 207.296h49.536l90.88-207.36h3.584V704h68.672V320.064h-76.8L349.248 569.28h-2.496l-109.44-249.216H160V704h67.84z" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-math"><path d="m40 9-3-3H8l18 18L8 42h29l3-3" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-mention"><path d="M44 24c0-11.046-8.954-20-20-20S4 12.954 4 24s8.954 20 20 20c4.989 0 9.55-1.827 13.054-4.847" stroke="currentColor" /><path d="M24 32a8 8 0 1 0 0-16 8 8 0 0 0 0 16z" stroke="currentColor" /><path d="M32 24a6 6 0 0 0 12 0m-12 1v-9" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-menu"><path d="M7.95 11.95h32m-32 12h32m-32 12h32" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-mermaid"><path d="M41 14 24 4 7 14v20l17 10 17-10V14z" stroke="currentColor" /><path d="M16 18.998 23.993 24l8.002-5.002M24 24v9" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-message"><path d="M43 5 29.7 43l-7.6-17.1L5 18.3 43 5zM43 5 22.1 25.9" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-mind-map"><path d="M8 28a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM42 8a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm0 18a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm0 18a2 2 0 1 0 0-4 2 2 0 0 0 0 4zM32 6H20v36h12M12 24h20" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-minus"><path d="M10.5 24h28" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-new-window"><path d="M42 18v22a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V18M6 8a2 2 0 0 1 2-2h32a2 2 0 0 1 2 2v10H6V8z" stroke="currentColor" /><path fill-rule="evenodd" clip-rule="evenodd" d="M12 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm6 0a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm6 0a2 2 0 1 0 0-4 2 2 0 0 0 0 4z" fill="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-node-add"><path d="M16 6H8a2 2 0 0 0-2 2v8m10 26H8a2 2 0 0 1-2-2v-8m26 10h8a2 2 0 0 0 2-2v-8M32 6h8a2 2 0 0 1 2 2v8m-10 8H16m8 8V16" stroke="currentColor" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-node-clear-format"><g stroke="currentColor"><path d="m13.83 6.061-3.37-3.37a1.5 1.5 0 0 0-2.121 0L2.223 8.807a1.5 1.5 0 0 0 0 2.122l3.322 3.322h2.218l6.068-6.068a1.5 1.5 0 0 0 0-2.122zm-9.908.569 6.081 6.081M6 14.25h8.25" vector-effect="non-scaling-stroke" /></g></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-node-copy"><path d="M13 12.432v-4.62A2.813 2.813 0 0 1 15.813 5h24.374A2.813 2.813 0 0 1 43 7.813v24.375A2.813 2.813 0 0 1 40.187 35h-4.67" stroke="currentColor" /><path d="M32.188 13H7.811A2.813 2.813 0 0 0 5 15.813v24.374A2.813 2.813 0 0 0 7.813 43h24.375A2.813 2.813 0 0 0 35 40.187V15.814A2.813 2.813 0 0 0 32.187 13z" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-node-cut"><path fill="#fff" fill-opacity=".01" d="M0 0h48v48H0z" /><path d="M11 42a5 5 0 1 0 0-10 5 5 0 0 0 0 10zm26 0a5 5 0 1 0 0-10 5 5 0 0 0 0 10z" stroke="currentColor" /><path d="m15.377 39.413 2.123-3.597 17-29.445" stroke="currentColor" /><path d="m13.496 6.175 17 29.445 2.13 3.793" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-node-delete-2"><path d="M9 10v34h30V10H9zM20 20v13m8-13v13M4 10h40M16 10l3.289-6h9.488L32 10H16z" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-node-delete"><path d="M9 10v34h30V10H9zM20 20v13m8-13v13M4 10h40M16 10l3.289-6h9.488L32 10H16z" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-node-duplicate"><path d="M24 30v-6M6 30h36v12H6V30zm0-17.5v-1M6 18v-1M6 7V6m36 6.5v-1m0 6.5v-1m0-10V6m0 12h-1M7 18H6M7 6H6m8 0h-1m8 0h-1m1 12h-1m8-12h-1M14 18h-1m15 0h-1m8-12h-1m1 12h-1m8-12h-1" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-node-switch"><path d="M42 19H6M30 7l12 12M6.799 29h36m-36 0 12 12" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-ordered-list-2"><path d="M9 4v9m3 0H6m6 14H6m0-7s3-3 5 0-5 7-5 7m0 7.5s2-3 5-1 0 4.5 0 4.5 3 2.5 0 4.5-5-1-5-1m5-3.5H9M9 4 6 6m15 18h22M21 38h22M21 10h22" stroke="currentColor" /></symbol><symbol viewBox="0 0 44 44" id="icon-ordered-list-decimal-leading-zero"><path d="M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163" /><path d="M5.714 15.11c.624 0 1.11-.22 1.46-.66.421-.533.632-1.408.632-2.627 0-1.222-.21-2.096-.629-2.624-.351-.445-.839-.668-1.463-.668-.624 0-1.11.22-1.459.66-.422.533-.633 1.406-.633 2.619 0 1.236.192 2.095.576 2.577.384.482.89.723 1.516.723zm0-1.024a.614.614 0 0 1-.398-.14c-.115-.094-.211-.283-.287-.565-.077-.283-.115-.802-.115-1.558s.043-1.294.128-1.613c.064-.246.155-.417.272-.512a.617.617 0 0 1 .4-.143.61.61 0 0 1 .398.143c.116.095.211.284.288.567.076.283.114.802.114 1.558s-.043 1.292-.128 1.608c-.064.246-.155.417-.272.512a.617.617 0 0 1-.4.143zm6.078.914V8.531H10.79c-.14.393-.4.736-.778 1.03-.378.295-.728.495-1.05.6v1.121a4.257 4.257 0 0 0 1.595-.936V15h1.235zm3.344 0v-1.235h-1.235V15h1.235zm-9.422 9.11c.624 0 1.11-.22 1.46-.66.421-.533.632-1.408.632-2.627 0-1.222-.21-2.096-.629-2.624-.351-.445-.839-.668-1.463-.668-.624 0-1.11.22-1.459.66-.422.533-.633 1.406-.633 2.619 0 1.236.192 2.095.576 2.577.384.482.89.723 1.516.723zm0-1.024a.614.614 0 0 1-.398-.14c-.115-.094-.211-.283-.287-.565-.077-.283-.115-.802-.115-1.558s.043-1.294.128-1.613c.064-.246.155-.417.272-.512a.617.617 0 0 1 .4-.143.61.61 0 0 1 .398.143c.116.095.211.284.288.567.076.283.114.802.114 1.558s-.043 1.292-.128 1.608c-.064.246-.155.417-.272.512a.617.617 0 0 1-.4.143zm7.088.914v-1.147H10.35c.065-.111.149-.226.253-.343.104-.117.35-.354.74-.712.39-.357.66-.631.81-.821.225-.288.39-.562.493-.824.104-.263.156-.539.156-.829 0-.51-.181-.936-.544-1.279-.364-.342-.863-.514-1.499-.514-.58 0-1.063.148-1.45.444-.387.296-.617.784-.69 1.463l1.23.124c.024-.36.112-.619.264-.774.152-.155.357-.233.615-.233.261 0 .465.074.613.222.148.148.222.36.222.635 0 .25-.085.501-.255.756-.126.185-.467.536-1.024 1.055-.691.641-1.154 1.156-1.388 1.544-.235.389-.375.8-.422 1.233h4.328zm2.334 0v-1.235h-1.235V24h1.235zM5.714 34.11c.624 0 1.11-.22 1.46-.66.421-.533.632-1.408.632-2.627 0-1.222-.21-2.096-.629-2.624-.351-.445-.839-.668-1.463-.668-.624 0-1.11.22-1.459.66-.422.533-.633 1.406-.633 2.619 0 1.236.192 2.095.576 2.577.384.482.89.723 1.516.723zm0-1.024a.614.614 0 0 1-.398-.14c-.115-.094-.211-.283-.287-.565-.077-.283-.115-.802-.115-1.558s.043-1.294.128-1.613c.064-.246.155-.417.272-.512a.617.617 0 0 1 .4-.143.61.61 0 0 1 .398.143c.116.095.211.284.288.567.076.283.114.802.114 1.558s-.043 1.292-.128 1.608c-.064.246-.155.417-.272.512a.617.617 0 0 1-.4.143zm4.992 1.024c.616 0 1.13-.2 1.543-.598.413-.398.62-.88.62-1.446 0-.39-.111-.722-.332-.997a1.5 1.5 0 0 0-.886-.532c.618-.337.927-.788.927-1.353 0-.399-.15-.756-.452-1.073-.366-.386-.853-.58-1.46-.58a2.25 2.25 0 0 0-.96.2 1.617 1.617 0 0 0-.667.55c-.16.232-.28.544-.359.933l1.139.194c.032-.282.123-.495.272-.642.15-.146.33-.22.54-.22.214 0 .386.065.515.194s.193.302.193.518c0 .255-.088.46-.264.613-.175.154-.43.227-.764.218l-.136 1.006c.22-.061.408-.092.566-.092.24 0 .444.09.611.272.167.182.25.428.25.739 0 .328-.086.589-.26.782a.833.833 0 0 1-.644.29.841.841 0 0 1-.607-.242c-.167-.16-.27-.394-.308-.698l-1.195.145c.062.542.284.98.668 1.316.384.335.867.503 1.45.503zm4.43-.11v-1.235h-1.235V34h1.235z" /></symbol><symbol viewBox="0 0 44 44" id="icon-ordered-list-decimal"><path d="M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163" /><path d="M10.29 15V8.531H9.286c-.14.393-.4.736-.778 1.03-.378.295-.728.495-1.05.6v1.121a4.257 4.257 0 0 0 1.595-.936V15h1.235zm3.343 0v-1.235h-1.235V15h1.235zM11.3 24v-1.147H8.848c.064-.111.148-.226.252-.343.104-.117.351-.354.74-.712.39-.357.66-.631.81-.821.225-.288.39-.562.494-.824.104-.263.156-.539.156-.829 0-.51-.182-.936-.545-1.279-.363-.342-.863-.514-1.499-.514-.58 0-1.063.148-1.45.444-.387.296-.617.784-.69 1.463l1.23.124c.024-.36.112-.619.264-.774.153-.155.358-.233.616-.233.26 0 .465.074.613.222.148.148.222.36.222.635 0 .25-.085.501-.255.756-.126.185-.468.536-1.024 1.055-.692.641-1.155 1.156-1.389 1.544-.234.389-.375.8-.422 1.233H11.3zm2.333 0v-1.235h-1.235V24h1.235zM9.204 34.11c.615 0 1.129-.2 1.542-.598.413-.398.62-.88.62-1.446 0-.39-.11-.722-.332-.997a1.5 1.5 0 0 0-.886-.532c.619-.337.928-.788.928-1.353 0-.399-.151-.756-.453-1.073-.366-.386-.852-.58-1.459-.58a2.25 2.25 0 0 0-.96.2 1.617 1.617 0 0 0-.668.55c-.16.232-.28.544-.358.933l1.138.194c.032-.282.123-.495.272-.642.15-.146.33-.22.54-.22.215 0 .386.065.515.194s.193.302.193.518c0 .255-.087.46-.263.613-.176.154-.43.227-.765.218l-.136 1.006c.22-.061.409-.092.567-.092.24 0 .444.09.61.272.168.182.251.428.251.739 0 .328-.087.589-.261.782a.833.833 0 0 1-.644.29.841.841 0 0 1-.607-.242c-.167-.16-.27-.394-.307-.698l-1.196.145c.062.542.285.98.668 1.316.384.335.868.503 1.45.503zm4.43-.11v-1.235h-1.236V34h1.235z" /></symbol><symbol viewBox="0 0 44 44" id="icon-ordered-list-lower-latin"><path d="M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163" /><path d="M9.62 14.105c.272 0 .528-.05.768-.153s.466-.257.677-.462c.009.024.023.072.044.145.047.161.086.283.119.365h1.221a2.649 2.649 0 0 1-.222-.626c-.04-.195-.059-.498-.059-.908l.013-1.441c0-.536-.055-.905-.165-1.105-.11-.201-.3-.367-.569-.497-.27-.13-.68-.195-1.23-.195-.607 0-1.064.108-1.371.325-.308.217-.525.55-.65 1.002l1.12.202c.076-.217.176-.369.299-.455.123-.086.294-.13.514-.13.325 0 .546.05.663.152.118.101.176.27.176.508v.123c-.222.093-.622.194-1.2.303-.427.082-.755.178-.982.288-.227.11-.403.268-.53.474a1.327 1.327 0 0 0-.188.706c0 .398.138.728.415.988.277.261.656.391 1.136.391zm.368-.87a.675.675 0 0 1-.492-.189.606.606 0 0 1-.193-.448c0-.176.08-.32.241-.435.106-.07.33-.142.673-.215a7.19 7.19 0 0 0 .751-.19v.247c0 .296-.016.496-.048.602a.773.773 0 0 1-.295.409 1.07 1.07 0 0 1-.637.22zm4.645.765v-1.235h-1.235V14h1.235zM10.2 25.105c.542 0 1.003-.215 1.382-.646.38-.43.57-1.044.57-1.84 0-.771-.187-1.362-.559-1.774a1.82 1.82 0 0 0-1.41-.617c-.522 0-.973.216-1.354.65v-2.32H7.594V25h1.147v-.686a1.9 1.9 0 0 0 .67.592c.26.133.523.2.79.2zm-.299-.975c-.354 0-.638-.164-.852-.492-.153-.232-.229-.59-.229-1.073 0-.468.098-.818.295-1.048a.93.93 0 0 1 .738-.345c.302 0 .55.118.743.354.193.236.29.62.29 1.154 0 .5-.096.868-.288 1.1-.192.233-.424.35-.697.35zm4.478.87v-1.235h-1.234V25h1.234zm-4.017 9.105c.6 0 1.08-.142 1.437-.426.357-.284.599-.704.725-1.261l-1.213-.207c-.061.326-.167.555-.316.688a.832.832 0 0 1-.576.2.916.916 0 0 1-.75-.343c-.185-.228-.278-.62-.278-1.173 0-.498.091-.853.274-1.066.183-.212.429-.318.736-.318.232 0 .42.061.565.184.145.123.238.306.28.55l1.216-.22c-.146-.501-.387-.874-.722-1.119-.336-.244-.788-.366-1.356-.366-.695 0-1.245.214-1.653.643-.407.43-.61 1.03-.61 1.8 0 .762.202 1.358.608 1.788.406.431.95.646 1.633.646zM14.633 34v-1.235h-1.235V34h1.235z" /></symbol><symbol viewBox="0 0 44 44" id="icon-ordered-list-lower-roman"><path d="M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163" /><path d="M11.88 8.7V7.558h-1.234V8.7h1.234zm0 5.3V9.333h-1.234V14h1.234zm2.5 0v-1.235h-1.234V14h1.235zm-4.75 4.7v-1.142H8.395V18.7H9.63zm0 5.3v-4.667H8.395V24H9.63zm2.5-5.3v-1.142h-1.234V18.7h1.235zm0 5.3v-4.667h-1.234V24h1.235zm2.501 0v-1.235h-1.235V24h1.235zM7.38 28.7v-1.142H6.145V28.7H7.38zm0 5.3v-4.667H6.145V34H7.38zm2.5-5.3v-1.142H8.646V28.7H9.88zm0 5.3v-4.667H8.646V34H9.88zm2.5-5.3v-1.142h-1.234V28.7h1.235zm0 5.3v-4.667h-1.234V34h1.235zm2.501 0v-1.235h-1.235V34h1.235z" /></symbol><symbol viewBox="0 0 44 44" id="icon-ordered-list-simp-chinese-formal"><g fill="none" fill-rule="evenodd"><path d="M36 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H19a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H19a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H19a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163" fill="#000" fill-rule="nonzero" /><path d="M0 0h44v44H0z" /><path d="M9.648 11.728v.624h4.704v-.624H9.648zm-.136.968v1.712h.816l.216.512H8.432v.696h7.128v-.696h-2.136l.248-.512h.816v-1.712H9.512zm1.872 2.224-.216-.512h1.624l-.248.512h-1.16zm2.28-1.136h-3.328v-.48h3.328v.48zM8.696 8.816v.672H11.6v.328H9.2v.64h5.712v-.64H12.4v-.328h2.928v-.672H12.4v-.4h-.8v.4H8.696zm6.712 1.936H8.584v1.28h.768v-.624h5.288v.624h.768v-1.28zM8.36 18.16v.752h4.624c.032 1.232.128 2.312.272 3.232.264 1.728.712 2.608 1.344 2.64.48 0 .848-.624 1.112-1.856l-.696-.392c-.168.856-.304 1.288-.416 1.288-.128-.008-.288-.44-.48-1.288-.184-.912-.296-2.12-.336-3.624h1.808v-.752h-.44a4.676 4.676 0 0 0-.392-.776l-.72.264c.12.16.232.328.328.512h-.6c-.008-.248-.008-.504-.008-.776h-.8c0 .256 0 .512.008.776H8.36zm.72 1.032v.608h3.256v-.608H9.08zm-.448.888v.624h4.128v-.624H8.632zm3.936.936H8.832v2.424h.824v-1.784h2.088v1.72h.824v-2.36zm-1.264 2.336-.472.584c.64.288 1.16.608 1.576.96l.544-.656a9.288 9.288 0 0 0-1.648-.888zm-1.016-1.408v.464c-.032.456-.168.824-.424 1.112-.256.256-.744.48-1.48.656l.44.696c.784-.2 1.344-.488 1.696-.856.368-.4.568-.936.6-1.608v-.464h-.832zm-.128 8.736v.384h3.688v-.44a7.26 7.26 0 0 0 1.536.824l.352-.736c-.896-.28-1.576-.656-2.04-1.12h1.792v-.752h-3.576c.096-.176.176-.36.24-.552.592-.032 1.16-.056 1.712-.088.168.176.32.344.456.512l.688-.48c-.4-.448-.968-.968-1.704-1.576l-.632.4c.192.168.376.336.552.504-.824.04-1.664.072-2.528.104.432-.288.864-.624 1.288-1.008l-.8-.272c-.832.832-1.472 1.264-1.912 1.312l.136.68c.648-.016 1.272-.04 1.88-.056-.072.176-.16.352-.264.52H8.512v.752h1.872c-.52.464-1.232.84-2.128 1.12l.376.744a8.521 8.521 0 0 0 1.528-.776zm1.256-1.088H12.8c.192.264.424.512.696.752h-2.864c.296-.232.56-.48.784-.752zm-1.68 1.96v.728h4.52v-.728h-4.52zM8.848 32.8v.768h6.296V32.8H8.848z" fill="#000" fill-rule="nonzero" /></g></symbol><symbol viewBox="0 0 44 44" id="icon-ordered-list-trad-chinese-informal"><g fill="none" fill-rule="evenodd"><path d="M36 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H19a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H19a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H19a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163" fill="#000" fill-rule="nonzero" /><path d="M15.416 12.416H8.584v-.88h6.832zm-.296 6.992H8.864v-.888h6.256v.888zm.448 4.704H8.432v-.888h7.136v.888zm-.384 3.944h-6.4v-.848h6.4v.848zm.384 5.584H8.416v-.84h7.152v.84zm-.72-2.912H9.192v-.848h5.656v.848z" fill="#000" fill-rule="nonzero" /><path d="M0 0h44v44H0z" /></g></symbol><symbol viewBox="0 0 44 44" id="icon-ordered-list-upper-latin"><path d="M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163" /><path d="m7.88 15 .532-1.463h2.575L11.549 15h1.415l-2.58-6.442H9.01L6.5 15h1.38zm2.69-2.549H8.811l.87-2.39.887 2.39zM14.88 15v-1.235h-1.234V15h1.234zM9.352 25c.83-.006 1.352-.02 1.569-.044.346-.038.636-.14.872-.305.236-.166.422-.387.558-.664.137-.277.205-.562.205-.855 0-.372-.106-.695-.317-.97-.21-.276-.512-.471-.905-.585a1.51 1.51 0 0 0 .661-.567 1.5 1.5 0 0 0 .244-.83c0-.28-.066-.53-.197-.754a1.654 1.654 0 0 0-.495-.539 1.676 1.676 0 0 0-.672-.266c-.25-.042-.63-.063-1.14-.063H7.158V25h2.193zm.142-3.88H8.46v-1.49h.747c.612 0 .983.007 1.112.022.217.026.38.102.49.226.11.125.165.287.165.486a.68.68 0 0 1-.192.503.86.86 0 0 1-.525.23 11.47 11.47 0 0 1-.944.023h.18zm.17 2.795H8.46v-1.723h1.05c.592 0 .977.03 1.154.092.177.062.313.16.406.295a.84.84 0 0 1 .14.492c0 .228-.06.41-.181.547a.806.806 0 0 1-.473.257c-.126.026-.423.04-.892.04zM14.88 25v-1.235h-1.234V25h1.234zm-5.018 9.11c.691 0 1.262-.17 1.711-.512.45-.341.772-.864.965-1.567l-1.261-.4c-.109.472-.287.818-.536 1.037-.25.22-.547.33-.892.33-.47 0-.85-.173-1.143-.519-.293-.345-.44-.925-.44-1.74 0-.767.15-1.322.447-1.665.297-.343.684-.514 1.162-.514.346 0 .64.096.881.29.242.193.4.457.477.79l1.288-.307c-.147-.516-.367-.911-.66-1.187-.492-.465-1.132-.698-1.92-.698-.902 0-1.63.296-2.184.89-.554.593-.83 1.426-.83 2.498 0 1.014.275 1.813.825 2.397.551.585 1.254.877 2.11.877zM14.88 34v-1.235h-1.234V34h1.234z" /></symbol><symbol viewBox="0 0 44 44" id="icon-ordered-list-upper-roman"><path d="M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163" /><path d="M11.916 15V8.558h-1.301V15h1.3zm2.465 0v-1.235h-1.235V15h1.235zM9.665 25v-6.442h-1.3V25h1.3zm2.5 0v-6.442h-1.3V25h1.3zm2.466 0v-1.235h-1.235V25h1.235zm-7.216 9v-6.442h-1.3V34h1.3zm2.5 0v-6.442h-1.3V34h1.3zm2.501 0v-6.442h-1.3V34h1.3zm2.465 0v-1.235h-1.235V34h1.235z" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-ordered-list"><path d="M7.734 7.747h6.5m-6.5 5.5h6.5M7.734 2.25h6.5" vector-effect="non-scaling-stroke" stroke="currentColor" /><path d="M2.75 6.113V2.127l-.817.802a.546.546 0 0 1-.778-.011.56.56 0 0 1 .012-.786L2.407.914C2.948.384 3.85.77 3.85 1.53v4.583a.553.553 0 0 1-.55.556.553.553 0 0 1-.55-.556zm-.267 2.879c.409-.322.904-.322 1.312 0 .383.301.493.87.204 1.277a4.4 4.4 0 0 1-.23.29c-.197.23-.456.508-.744.803a56.575 56.575 0 0 1-1.709 1.66c-.557.521-.181 1.447.588 1.447H4.64c.304 0 .55-.242.55-.54a.545.545 0 0 0-.55-.542H2.517a49.34 49.34 0 0 0 1.3-1.275c.297-.303.575-.6.795-.858.109-.128.208-.252.289-.366.075-.105.157-.233.205-.363.318-.857.158-1.761-.623-2.377a2.125 2.125 0 0 0-2.688 0c-.594.469-.692 1.098-.706 1.484a.545.545 0 0 0 .53.56.546.546 0 0 0 .569-.521c.01-.26.068-.5.295-.68z" fill="#0054a1" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-outdent"><path d="M1.75 2.25h12.504M6.754 8h7.496m-12.5 5.75h12.504" vector-effect="non-scaling-stroke" stroke="currentColor" /><path d="M3.75 6 1.757 7.993a.01.01 0 0 0 0 .014L3.75 10" vector-effect="non-scaling-stroke" stroke="#0054a1" /></symbol><symbol viewBox="0 0 24 24" id="icon-page-background"><g fill="none" fill-rule="evenodd"><path d="M0 0h24v24H0z" /><rect stroke="currentColor" x="3.5" y="1.5" width="17" height="21" rx="1" /></g></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-page-break"><path d="M8 6v6h32V6M14 24h20M8 42v-6h32v6" stroke="currentColor" /></symbol><symbol viewBox="0 0 24 24" id="icon-page-footer"><g fill="none" fill-rule="evenodd"><path d="M0 0h24v24H0z" /><rect stroke="currentColor" x="3.5" y="1.5" width="17" height="21" rx="1" /><path stroke="currentColor" d="M3.5 18.5h17" /></g></symbol><symbol viewBox="0 0 24 24" id="icon-page-header"><g fill="none" fill-rule="evenodd"><path d="M0 0h24v24H0z" /><rect stroke="currentColor" x="3.5" y="1.5" width="17" height="21" rx="1" /><path stroke="currentColor" d="M3.5 5.5h17" /></g></symbol><symbol viewBox="0 0 24 24" id="icon-page-margin"><g fill="none" fill-rule="evenodd"><path d="M0 0h24v24H0z" /><rect stroke="currentColor" x="3.5" y="1.5" width="17" height="21" rx="1" /><path d="M3.5 4.5h17m-14 18v-21m11 21v-21m-14 18h17" stroke="currentColor" opacity=".3" /></g></symbol><symbol viewBox="0 0 24 24" id="icon-page-orientation"><g fill="none" fill-rule="evenodd"><path d="M0 0h24v24H0z" /><rect stroke="currentColor" x="1" y="2.5" width="13" height="18" rx="1" /><rect stroke="currentColor" transform="rotate(90 15.5 17.5)" x="10" y="10" width="11" height="15" rx="1" /></g></symbol><symbol viewBox="0 0 24 24" id="icon-page-size"><g fill="none" fill-rule="evenodd"><path d="M0 0h24v24H0z" /><path d="M4.5 2.5h11a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-11a1 1 0 0 1-1-1v-14a1 1 0 0 1 1-1zM15 20.5l1.5 1.5-1.5 1.5m-10-3L3.5 22 5 23.5M3.5 22h12m6-5L20 18.5 18.5 17m3-13L20 2.5 18.5 4M20 2.5V18" stroke="currentColor" /></g></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-page"><path d="M10 44h28a2 2 0 0 0 2-2V14H30V4H10a2 2 0 0 0-2 2v36a2 2 0 0 0 2 2zM30 4l10 10" stroke="currentColor" /></symbol><symbol viewBox="0 0 1024 1024" id="icon-palette-color"><path d="m612.437 747.52 77.227 133.632A407.893 407.893 0 0 1 511.957 921.6a407.979 407.979 0 0 1-177.664-40.448l77.142-133.675C442.283 760.704 476.288 768 511.957 768a255.147 255.147 0 0 0 100.48-20.48z" fill="#FA930C" /><path d="M103.51 542.72h154.282a255.787 255.787 0 0 0 100.48 174.037l-77.099 133.675A409.301 409.301 0 0 1 103.51 542.72z" fill="#F25450" /><path d="M742.912 850.347 665.685 716.8a255.787 255.787 0 0 0 100.523-174.08h154.325a409.301 409.301 0 0 1-177.621 307.627z" fill="#F3C408" /><path d="M920.49 481.28H766.209a255.787 255.787 0 0 0-100.48-174.08l77.184-133.547A409.301 409.301 0 0 1 920.491 481.28z" fill="#10B563" /><path d="m281.173 173.568 77.099 133.675a255.787 255.787 0 0 0-100.48 173.994H103.509a409.301 409.301 0 0 1 177.622-307.626z" fill="#D74ECB" /><path d="M512 102.4c63.659 0 123.947 14.507 177.707 40.448L612.48 276.48A255.147 255.147 0 0 0 511.915 256c-35.67 0-69.632 7.296-100.48 20.48l-77.142-133.632A407.979 407.979 0 0 1 511.957 102.4z" fill="#216ED8" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-paragraph"><path d="M8 10.933V6h32v4.933M24 6v36m-8 0h16" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-pdf"><path d="M10 4h20l10 10v28a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z" stroke="currentColor" /><path clip-rule="evenodd" d="M18 18h12v7.992L18.008 26 18 18z" stroke="currentColor" /><path d="M18 18v16" stroke="currentColor" /></symbol><symbol viewBox="0 0 24 24" fill="none" id="icon-person"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 4C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4Zm2 4c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2Zm4 10c-.2-.71-3.3-2-6-2-2.69 0-5.77 1.28-6 2h12ZM4 18c0-2.66 5.33-4 8-4s8 1.34 8 4v2H4v-2Z" fill="#000" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-plus"><path d="m24.06 10-.036 28M10 24h28" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-preview"><path d="M12 35.014H4V8.013a2 2 0 0 1 2-2h36a2 2 0 0 1 2 2v27h-8" stroke="currentColor" /><path d="M24 32 14 42h20L24 32Z" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-print"><path d="M37 32H11v12h26V32z" stroke="currentColor" /><path clip-rule="evenodd" d="M4 20h40v18h-6.983v-6H10.98v6H4V20z" stroke="currentColor" /><path d="M38 4H10v16h28V4z" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-qrcode"><path stroke="currentColor" d="M32 6h10v10H32zm0 26h10v10H32zM6 32h10v10H6zM6 6h10v10H6zm2 18h22m8 0h2M24 37v2m0-22v14m0-23v2" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-quote"><path fill-rule="evenodd" clip-rule="evenodd" d="M18.853 9.116C11.323 13.952 7.14 19.58 6.303 26.003 5 36 13.94 40.893 18.47 36.497 23 32.1 20.285 26.52 17.005 24.994c-3.28-1.525-5.286-.994-4.936-3.033.35-2.038 5.016-7.69 9.116-10.322a.749.749 0 0 0 .114-1.02L20.285 9.3c-.44-.572-.862-.55-1.432-.185zm19.826 0c-7.53 4.836-11.714 10.465-12.55 16.887-1.303 9.997 7.637 14.89 12.167 10.494 4.53-4.397 1.815-9.977-1.466-11.503-3.28-1.525-5.286-.994-4.936-3.033.35-2.038 5.017-7.69 9.117-10.322a.749.749 0 0 0 .113-1.02L40.11 9.3c-.44-.572-.862-.55-1.431-.185z" fill="currentColor" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-redo"><g stroke="currentColor"><path d="M14.113 4.75h-7.5a4.75 4.75 0 0 0 0 9.5h3.75" vector-effect="non-scaling-stroke" /><path d="m11.113 1.75 2.993 2.993a.01.01 0 0 1 0 .014L11.113 7.75" vector-effect="non-scaling-stroke" /></g></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-reload"><path d="M42 8v16M6 24v16m36-16c0-9.941-8.059-18-18-18a17.947 17.947 0 0 0-12.952 5.5M6 24c0 9.941 8.059 18 18 18a17.94 17.94 0 0 0 12.5-5.048" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-remove"><path d="M24 44c11.046 0 20-8.954 20-20S35.046 4 24 4 4 12.954 4 24s8.954 20 20 20zM16 24h16" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-reply"><path d="M33 38H22v-8h14v-8h8v16h-5l-3 3-3-3z" stroke="currentColor" /><path d="M4 6h32v24H17l-4 4-4-4H4V6zM12 22h6m-6-8h12" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-seal"><path d="M5 37a2 2 0 0 1 2-2h34a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-5Z" stroke="currentColor" /><path d="M5 31a2 2 0 0 1 2-2h34a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V31ZM18.763 15.664a1 1 0 0 1 .942-.664h8.59a1 1 0 0 1 .942.664L34 29H14l4.763-13.336Z" stroke="currentColor" /><rect x="15" y="4" width="18" height="10.8" rx="5.4" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-search-replace"><path d="M40 27V6a2 2 0 0 0-2-2H10a2 2 0 0 0-2 2v36a2 2 0 0 0 2 2h11m-4-32h14m-14 8h14m-14 8h6" stroke="currentColor" /><path d="M37 37c0 1.38-.56 2.63-1.465 3.535A5 5 0 1 1 37 37z" /><path d="m39 44-3.465-3.465m0 0a5 5 0 1 0-7.071-7.07 5 5 0 0 0 7.072 7.07z" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-select-all"><path d="M32 16h9a2 2 0 0 1 2 2v23a2 2 0 0 1-2 2H18a2 2 0 0 1-2-2v-9" stroke="currentColor" /><path d="M32 16V7a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v23a2 2 0 0 0 2 2h9m25-16L17 40M32 7 7 32m25-16L16 32m27-8L24 43m0-38L5 24m38 10-9 9M14 5l-9 9" stroke="currentColor" /></symbol><symbol viewBox="0 0 16 12" fill="none" id="icon-selected"><path d="m13.965 2.155-8.33 8.33L1.47 6.32" stroke="rgba(23, 26, 29, 0.4)" stroke-opacity=".6" data-spm-anchor-id="0.0.0.i9.c0427dcfkK7bCn" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-setting"><path d="M1.853 3.966a.01.01 0 0 0-.016.003 4.307 4.307 0 0 0 5.714 5.7l4.87 4.871a1.5 1.5 0 1 0 2.122-2.12L9.671 7.546a4.307 4.307 0 0 0-5.713-5.704.01.01 0 0 0-.003.016l2.6 2.6L4.45 6.563 1.853 3.966z" vector-effect="non-scaling-stroke" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-share"><path d="M35 16a5 5 0 1 0 0-10 5 5 0 0 0 0 10zM13 29a5 5 0 1 0 0-10 5 5 0 0 0 0 10zM30 13.575l-12.66 7.67m-.002 5.319 13.34 7.883M35 32a5 5 0 1 1 0 10 5 5 0 0 1 0-10z" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-shortcut"><path d="M42 7H6a2 2 0 0 0-2 2v28a2 2 0 0 0 2 2h36a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM12 19h2m7 0h2m6 0h7m-24 9h24" stroke="currentColor" /></symbol><symbol fill="none" viewBox="0 0 19 19" id="icon-signature"><mask id="icon-signature_a" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="20" height="20"><path fill="#D9D9D9" d="M0 0h20v20H0z" /></mask><g mask="url(#icon-signature_a)"><path d="M11.727 9.768c1.014-.75 1.805-1.573 2.375-2.469.569-.895.854-1.788.854-2.677 0-.444-.073-.77-.219-.979a.688.688 0 0 0-.594-.312c-.652 0-1.229.552-1.729 1.656-.5 1.104-.75 2.35-.75 3.74 0 .194.004.378.01.552.007.173.025.336.053.49Zm-9.23 7.73V15.83h1.667v1.666H2.497Zm3.334 0V15.83h1.666v1.666H5.831Zm3.333 0V15.83h1.667v1.666H9.164Zm3.333 0V15.83h1.667v1.666h-1.667Zm3.334 0V15.83h1.666v1.666h-1.666Zm-13-3.334-1.167-1.167 1.333-1.333-1.333-1.333 1.167-1.167 1.333 1.333 1.333-1.333 1.167 1.167-1.333 1.333 1.333 1.333-1.167 1.167-1.333-1.333-1.333 1.333Zm10.041-.833c-.416 0-.798-.08-1.145-.24-.348-.16-.646-.42-.896-.781-.348.194-.705.368-1.073.52-.368.153-.747.306-1.136.46l-.583-1.563a14.876 14.876 0 0 0 2.146-.959 7.981 7.981 0 0 1-.156-1c-.035-.36-.052-.75-.052-1.166 0-2 .395-3.657 1.187-4.97.792-1.312 1.785-1.968 2.98-1.968.722 0 1.312.267 1.77.802.458.535.688 1.281.688 2.24 0 1.194-.379 2.375-1.136 3.541-.757 1.167-1.809 2.216-3.156 3.146.097.098.198.17.302.219a.755.755 0 0 0 .323.073c.361 0 .781-.23 1.26-.688.48-.458.913-1.062 1.302-1.812l1.521.708c-.097.236-.173.521-.229.854-.056.334-.049.625.02.875.14-.069.303-.187.49-.354.188-.166.379-.375.573-.625l1.313 1.021c-.361.5-.778.903-1.25 1.208-.472.306-.91.459-1.313.459a1.26 1.26 0 0 1-.78-.26c-.23-.174-.421-.442-.574-.803a4.657 4.657 0 0 1-1.187.792c-.403.18-.806.27-1.209.27Z" fill="#1a1a1a" /></g></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-spellcheck"><path d="m34 10 8 8m0-8-8 8m10 12-7 8-4-4m-7-24H4v8h22v-8zm0 20H4v8h22v-8z" stroke="currentColor" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-strike"><path d="M1.5 8.25h13m-11.75 6 1.415-3.503m9.085 3.504-1.401-3.504M6.178 5.28l1.544-3.872a.3.3 0 0 1 .556 0L9.816 5.28" vector-effect="non-scaling-stroke" stroke="currentColor" /></symbol><symbol viewBox="0 0 24 24" id="icon-strikethrough"><path d="M13 15v5h3a1 1 0 0 1 0 2H8a1 1 0 0 1 0-2h3v-5a1 1 0 0 1 2 0ZM3 11a1 1 0 0 0 0 2h18a1 1 0 0 0 0-2h-8V4h7v1a1 1 0 0 0 2 0V3a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v2a1 1 0 0 0 2 0V4h7v7Z" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-subscript"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.266 10.905a.402.402 0 0 0 .399.446h.171c.236 0 .424-.208.464-.46v-.005c.03-.16.078-.305.142-.432a.841.841 0 0 1 .253-.316.633.633 0 0 1 .395-.124c.228 0 .414.08.558.24.15.155.224.374.224.657a.983.983 0 0 1-.112.473c-.07.139-.159.263-.268.374-.104.11-.221.213-.35.308-.13.088-.25.177-.365.265-.223.172-.437.341-.64.507a3.246 3.246 0 0 0-.521.549l-.037.048a2.273 2.273 0 0 0-.328.614c-.084.25-.108.951.699.951h2.581c.236 0 .428-.207.428-.461v-.091c0-.255-.192-.462-.428-.462h-2.037l.036-.056c.12-.187.258-.4.411-.535.169-.15.342-.288.521-.416.179-.132.355-.265.529-.398.178-.133.337-.28.476-.44.14-.167.25-.355.335-.566a2.03 2.03 0 0 0 .127-.756c0-.282-.05-.537-.149-.764a1.648 1.648 0 0 0-.96-.93A1.851 1.851 0 0 0 14.141 9c-.313 0-.59.06-.834.183a1.602 1.602 0 0 0-.595.498c-.16.21-.278.46-.358.748-.043.151-.072.31-.09.476z" fill="#0054a1" /><path d="m10.75 1.75-9 12.5m9 0-9-12.5" vector-effect="non-scaling-stroke" stroke="currentColor" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-superscript"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.665 3.351a.402.402 0 0 1-.4-.446c.018-.166.047-.325.09-.476.08-.288.199-.537.357-.748a1.61 1.61 0 0 1 .596-.498c.243-.122.521-.183.834-.183.238 0 .464.042.678.125a1.648 1.648 0 0 1 .96.93c.1.227.149.482.149.764 0 .294-.042.546-.127.756a2.08 2.08 0 0 1-.335.565c-.139.16-.298.308-.476.44-.174.134-.35.266-.529.4a6.289 6.289 0 0 0-.521.415c-.153.136-.29.348-.41.535l-.037.056h2.037c.236 0 .428.207.428.462v.09c0 .255-.192.462-.428.462H12.95c-.807 0-.783-.701-.7-.95.083-.229.196-.443.329-.615l.037-.049c.149-.199.322-.382.52-.548.204-.166.418-.335.641-.507a7.68 7.68 0 0 1 .365-.265c.129-.095.246-.197.35-.308.11-.11.198-.235.268-.374a.984.984 0 0 0 .112-.473c0-.283-.075-.501-.224-.657a.715.715 0 0 0-.558-.24.633.633 0 0 0-.395.124.842.842 0 0 0-.253.316 1.593 1.593 0 0 0-.141.432l-.001.006c-.04.251-.228.46-.464.46h-.171z" fill="#0054a1" /><path d="m10.75 1.75-9 12.5m9 0-9-12.5" vector-effect="non-scaling-stroke" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-symbol"><path d="M4 40.003h14.004C11.334 35.636 8 30.301 8 24c0-9.453 7.017-16 16.008-16C33 8 40 15 40 24c0 6-3.331 11.334-9.993 16.003H44" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-table-add-column-after"><path stroke="currentColor" d="M14.5 17h28v14h-28zM6.5 6v36" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-table-add-column-before"><path stroke="currentColor" d="M6 17h28v14H6zM42 6v36" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-table-add-row-after"><path stroke="currentColor" d="M17 6h14v28H17zM42 42H6" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-table-add-row-before"><path stroke="currentColor" d="M17 14.5h14v28H17zM42 6.5H6" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-table-cells-align"><rect x="6" y="6" width="36" height="36" rx="3" stroke="currentColor" /><path d="M22 30h4m-8-6h12m-10-6h8" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-table-cells-background"><path fill-rule="evenodd" clip-rule="evenodd" d="M37 37a4 4 0 0 0 4-4c0-1.473-1.333-3.473-4-6-2.667 2.527-4 4.527-4 6a4 4 0 0 0 4 4z" fill="currentColor" /><path d="m20.854 5.504 3.535 3.536M23.682 8.333 8.125 23.889 19.44 35.203l15.556-15.557L23.682 8.333zM12 20.073l16.961 5.577M4 43h40" stroke="currentColor" /></symbol><symbol viewBox="0 0 24 24" id="icon-table-delete-column"><g fill="none" fill-rule="evenodd"><path d="m10 17.5 4 4m-4 0 4-4m-4-4v-11h4v11h-4z" stroke="currentColor" /><path d="M0 0v24h24V0z" /><path stroke="currentColor" d="M3 21.5v-19m18 18.75v-19" /></g></symbol><symbol viewBox="0 0 24 24" id="icon-table-delete-row"><g fill="none" fill-rule="evenodd"><path d="m17.5 14 4-4m0 4-4-4m-4 4h-11v-4h11v4z" stroke="currentColor" /><path d="M0 24h24V0H0z" /><path stroke="currentColor" d="M21.5 21h-19M21.25 3h-19" /></g></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-table-delete"><path d="M14 11 4 24l10 13h30V11H14zm7 8 10 10m0-10L21 29" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-table-fix"><rect x="5" y="5" width="38" height="38" rx="2" stroke="currentColor" /><path d="M5 18h38M5 30h38M17 5v38M30 5v38" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-table-header-cell"><path d="M40 6H8a2 2 0 0 0-2 2v32a2 2 0 0 0 2 2h32a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2zM16.123 6 6 15m20.003-9L6 24M35 6 6 33m13-3L6 42m35-32L29.243 20.852M19 21v21m0-21h23" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-table-header-column"><path d="M40 6H8a2 2 0 0 0-2 2v32a2 2 0 0 0 2 2h32a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2zM16.123 6 6 15m13-3L6 24m13-3L6 33m13-3L6 42M19 6v36" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-table-header-row"><path d="M40 6H8a2 2 0 0 0-2 2v32a2 2 0 0 0 2 2h32a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2zM6 19.059h36M16.123 6 6 15m36-4.993L32 19M26.123 6l-14.2 12.624M36.123 6l-14.2 12.624" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-table-merge-cell"><path d="M20 14V5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v38a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-9m8 0v9a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H29a1 1 0 0 0-1 1v9m0 10h16M5 24h15" stroke="currentColor" /><path d="m32.748 28.818-1.59-1.59-3.182-3.183 3.181-3.182 1.591-1.59m-17.373 9.545 1.591-1.59 3.182-3.183-3.182-3.182-1.591-1.59" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-table-next-cell"><path d="M42 19V9a3 3 0 0 0-3-3H9a3 3 0 0 0-3 3v30a3 3 0 0 0 3 3h10" stroke="currentColor" /><path d="m34 24 8 8-8 8m-10-8h18" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-table-previous-cell"><path d="M42 19V9a3 3 0 0 0-3-3H9a3 3 0 0 0-3 3v30a3 3 0 0 0 3 3h10" stroke="currentColor" /><path d="m32 24-8 8 8 8m-8-8h18" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-table-split-cell"><path d="M4 14V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v38a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-9m40 0v9a1 1 0 0 1-1 1H29a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v9M28 24l16 .013m-40 0L20 24" stroke="currentColor" /><path d="m39.227 28.778 1.592-1.591L44 24.005l-3.181-3.182-1.592-1.591M8.755 28.786l-1.59-1.59-3.183-3.183 3.182-3.182 1.591-1.59" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-table"><path d="M42 6H6a2 2 0 0 0-2 2v32a2 2 0 0 0 2 2h36a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2z" stroke="currentColor" /><path d="M4 18h40m-26.5 0v24m13-24v24M4 30h40m0-22v32a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-tag"><path d="M42.17 29.245 29.262 42.151a3.6 3.6 0 0 1-5.094 0L8 26V8h18l16.17 16.17a3.6 3.6 0 0 1 0 5.075z" stroke="currentColor" /><path fill-rule="evenodd" clip-rule="evenodd" d="M18.5 21a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5z" fill="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-task-list-2"><g clip-path="url(#icon-task-list-2_a)" stroke="currentColor"><path d="M42 20v19a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3V9a3 3 0 0 1 3-3h21" /><path d="m16 20 10 8L41 7" /></g><defs><clipPath id="icon-task-list-2_a"><path fill="currentColor" d="M0 0h48v48H0z" /></clipPath></defs></symbol><symbol viewBox="0 0 14 14" id="icon-task-list"><g fill="none" fill-rule="evenodd"><path d="M0 0h14v14H0z" /><path d="M13 5.667V12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h7" stroke="currentColor" /><path stroke="#0054a1" d="m4.333 5.667 3.334 2.666 5-7" /></g></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-template"><path d="M23 4H4v22h19V4zm21 30H4v9h40v-9zm0-30H31v8h13V4zm0 14H31v8h13v-8z" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-text-box"><path d="M12 4H4v8h8V4zm32 32h-8v8h8v-8zm-32 0H4v8h8v-8zM44 4h-8v8h8V4zM8 36V12m32 24V12M12 8h24M12 40h24" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-text"><path d="M10 44h28a2 2 0 0 0 2-2V14H30V4H10a2 2 0 0 0-2 2v36a2 2 0 0 0 2 2zM30 4l10 10m-16 8v14m-6-14h12" stroke="currentColor" /></symbol><symbol viewBox="0 0 16 16" class="bi bi-three-dots-vertical" id="icon-three-dots-vertical"><path d="M9.5 13a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm0-5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm0-5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-time"><path d="M24 44c9.389 0 17-7.611 17-17s-7.611-17-17-17S7 17.611 7 27s7.611 17 17 17zM31 4H17m21 6-3 3m-11 5v9" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-toc"><rect x="8" y="4" width="32" height="40" rx="2" stroke="currentColor" /><path d="M21 14h12M21 24h12M21 34h12" stroke="currentColor" /><path fill-rule="evenodd" clip-rule="evenodd" d="M15 16a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm0 10a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm0 10a2 2 0 1 0 0-4 2 2 0 0 0 0 4z" fill="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-toolbar-classic"><rect x="6" y="6" width="36" height="36" rx="3" stroke="currentColor" /><path d="M6 16h36M6 13v6m36-6v6" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-toolbar-professional"><rect x="6" y="6" width="36" height="36" rx="3" stroke="currentColor" /><path d="M6 32h36M6 29v6m36-6v6" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-toolbar-source"><rect x="4" y="8" width="40" height="32" rx="2" stroke="currentColor" /><path d="M4 10a2 2 0 0 1 2-2h36a2 2 0 0 1 2 2v6H4v-6zM25 23l-2 11M31 23l6 5-6 6M17 23l-6 5 6 6" stroke="currentColor" /></symbol><symbol viewBox="0 0 32 32" id="icon-toolbar"><style>#icon-toolbar .st0{fill:none;stroke:#000;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10}</style><path class="st0" d="M3 11h26M7 8h0M10 8h0M13 8h0M6 27H3V5h26v22h-3M16 30V17M11 29v-4M21 29v-4" /><path class="st0" d="m12 21 4-4 4 4" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-underline"><path d="M12.25 1.75V7a4.25 4.25 0 0 1-8.5 0V1.75m-.5 12.5h9.5" vector-effect="non-scaling-stroke" stroke="currentColor" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-undo"><g stroke="currentColor"><path d="M2 4.75h7.5a4.75 4.75 0 1 1 0 9.5H5.75" vector-effect="non-scaling-stroke" /><path d="M4.886 1.75 1.894 4.743a.01.01 0 0 0 0 .014L4.886 7.75" vector-effect="non-scaling-stroke" /></g></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-video"><path d="M4 10a2 2 0 0 1 2-2h36a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V10zM36 8v32M12 8v32m26-22h6m-6 12h6M4 18h6m-6-2v4M9 8h6M9 40h6M33 8h6m-6 32h6M4 30h6m-6-2v4m40-4v4m0-16v4" stroke="currentColor" /><path d="m21 19 8 5-8 5V19z" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-view"><path d="M24 36c11.046 0 20-12 20-12s-8.954-12-20-12S4 24 4 24s8.954 12 20 12z" stroke="currentColor" /><path d="M24 29a5 5 0 1 0 0-10 5 5 0 0 0 0 10z" stroke="currentColor" /></symbol><symbol viewBox="0 0 24 24" id="icon-watermark"><g fill="none" fill-rule="evenodd"><path d="M0 0h24v24H0z" /><rect stroke="currentColor" x="3.5" y="1.5" width="17" height="21" rx="1" /><path d="m8.5 4.5-3 3m13 9L16 19M13.5 4.5l-8 8m13-7-13 13m13-7L11 19" opacity=".334" stroke="currentColor" /></g></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-web-page"><path d="M25 40H7a3 3 0 0 1-3-3V11a3 3 0 0 1 3-3h34a3 3 0 0 1 3 3v13.941" stroke="currentColor" /><path d="M4 11a3 3 0 0 1 3-3h34a3 3 0 0 1 3 3v9H4v-9zM32 35h12m-6-6v12" stroke="currentColor" /><circle r="2" transform="matrix(0 -1 -1 0 10 14)" fill="currentColor" /><circle r="2" transform="matrix(0 -1 -1 0 16 14)" fill="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-word"><path d="M10 4h20l10 10v28a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z" stroke="currentColor" /><path d="m16.008 20 3 14 5-10 5 10 3-14" stroke="currentColor" /></symbol>',t.insertBefore(n,t.lastChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",e):e()}var fh=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function qu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Eo={exports:{}},ra={};/**
|
|
3
|
-
* @license React
|
|
4
|
-
* react-jsx-runtime.production.min.js
|
|
5
|
-
*
|
|
6
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
7
|
-
*
|
|
8
|
-
* This source code is licensed under the MIT license found in the
|
|
9
|
-
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/var Ku;function Eh(){if(Ku)return ra;Ku=1;var e=I,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function o(s,l,c){var u,d={},_=null,m=null;c!==void 0&&(_=""+c),l.key!==void 0&&(_=""+l.key),l.ref!==void 0&&(m=l.ref);for(u in l)r.call(l,u)&&!a.hasOwnProperty(u)&&(d[u]=l[u]);if(s&&s.defaultProps)for(u in l=s.defaultProps,l)d[u]===void 0&&(d[u]=l[u]);return{$$typeof:t,type:s,key:_,ref:m,props:d,_owner:i.current}}return ra.Fragment=n,ra.jsx=o,ra.jsxs=o,ra}var ia={};/**
|
|
11
|
-
* @license React
|
|
12
|
-
* react-jsx-runtime.development.js
|
|
13
|
-
*
|
|
14
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
15
|
-
*
|
|
16
|
-
* This source code is licensed under the MIT license found in the
|
|
17
|
-
* LICENSE file in the root directory of this source tree.
|
|
18
|
-
*/var ju;function hh(){return ju||(ju=1,process.env.NODE_ENV!=="production"&&(function(){var e=I,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),f=Symbol.iterator,g="@@iterator";function E(N){if(N===null||typeof N!="object")return null;var $=f&&N[f]||N[g];return typeof $=="function"?$:null}var h=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function S(N){{for(var $=arguments.length,te=new Array($>1?$-1:0),fe=1;fe<$;fe++)te[fe-1]=arguments[fe];T("error",N,te)}}function T(N,$,te){{var fe=h.ReactDebugCurrentFrame,Ie=fe.getStackAddendum();Ie!==""&&($+="%s",te=te.concat([Ie]));var Fe=te.map(function(ve){return String(ve)});Fe.unshift("Warning: "+$),Function.prototype.apply.call(console[N],console,Fe)}}var y=!1,b=!1,v=!1,w=!1,P=!1,M;M=Symbol.for("react.module.reference");function k(N){return!!(typeof N=="string"||typeof N=="function"||N===r||N===a||P||N===i||N===c||N===u||w||N===m||y||b||v||typeof N=="object"&&N!==null&&(N.$$typeof===_||N.$$typeof===d||N.$$typeof===o||N.$$typeof===s||N.$$typeof===l||N.$$typeof===M||N.getModuleId!==void 0))}function G(N,$,te){var fe=N.displayName;if(fe)return fe;var Ie=$.displayName||$.name||"";return Ie!==""?te+"("+Ie+")":te}function C(N){return N.displayName||"Context"}function x(N){if(N==null)return null;if(typeof N.tag=="number"&&S("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof N=="function")return N.displayName||N.name||null;if(typeof N=="string")return N;switch(N){case r:return"Fragment";case n:return"Portal";case a:return"Profiler";case i:return"StrictMode";case c:return"Suspense";case u:return"SuspenseList"}if(typeof N=="object")switch(N.$$typeof){case s:var $=N;return C($)+".Consumer";case o:var te=N;return C(te._context)+".Provider";case l:return G(N,N.render,"ForwardRef");case d:var fe=N.displayName||null;return fe!==null?fe:x(N.type)||"Memo";case _:{var Ie=N,Fe=Ie._payload,ve=Ie._init;try{return x(ve(Fe))}catch{return null}}}return null}var O=Object.assign,R=0,L,B,V,D,U,z,X;function re(){}re.__reactDisabledLog=!0;function ie(){{if(R===0){L=console.log,B=console.info,V=console.warn,D=console.error,U=console.group,z=console.groupCollapsed,X=console.groupEnd;var N={configurable:!0,enumerable:!0,value:re,writable:!0};Object.defineProperties(console,{info:N,log:N,warn:N,error:N,group:N,groupCollapsed:N,groupEnd:N})}R++}}function ue(){{if(R--,R===0){var N={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:O({},N,{value:L}),info:O({},N,{value:B}),warn:O({},N,{value:V}),error:O({},N,{value:D}),group:O({},N,{value:U}),groupCollapsed:O({},N,{value:z}),groupEnd:O({},N,{value:X})})}R<0&&S("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ae=h.ReactCurrentDispatcher,le;function de(N,$,te){{if(le===void 0)try{throw Error()}catch(Ie){var fe=Ie.stack.trim().match(/\n( *(at )?)/);le=fe&&fe[1]||""}return`
|
|
2
|
+
(function(Ne,I){typeof exports=="object"&&typeof module<"u"?I(exports,require("react"),require("@tiptap/react"),require("@tiptap/extension-character-count"),require("prosemirror-transform"),require("prosemirror-commands"),require("prosemirror-state"),require("prosemirror-model"),require("prosemirror-schema-list"),require("prosemirror-view"),require("prosemirror-keymap"),require("@tiptap/extensions"),require("@tiptap/extension-typography"),require("@tiptap/extension-document"),require("@tiptap/extension-list"),require("@tiptap/extension-text-style"),require("@tiptap/extension-task-list"),require("@tiptap/extension-task-item"),require("@tiptap/extension-subscript"),require("@tiptap/extension-superscript"),require("@tiptap/extension-highlight"),require("@tiptap/extension-text-align"),require("@tiptap/extension-blockquote"),require("@tiptap/extension-heading"),require("@tiptap/extension-table"),require("antd"),require("react-dom"),require("@mui/icons-material"),require("framer-motion"),require("prosemirror-tables")):typeof define=="function"&&define.amd?define(["exports","react","@tiptap/react","@tiptap/extension-character-count","prosemirror-transform","prosemirror-commands","prosemirror-state","prosemirror-model","prosemirror-schema-list","prosemirror-view","prosemirror-keymap","@tiptap/extensions","@tiptap/extension-typography","@tiptap/extension-document","@tiptap/extension-list","@tiptap/extension-text-style","@tiptap/extension-task-list","@tiptap/extension-task-item","@tiptap/extension-subscript","@tiptap/extension-superscript","@tiptap/extension-highlight","@tiptap/extension-text-align","@tiptap/extension-blockquote","@tiptap/extension-heading","@tiptap/extension-table","antd","react-dom","@mui/icons-material","framer-motion","prosemirror-tables"],I):(Ne=typeof globalThis<"u"?globalThis:Ne||self,I(Ne.LaxEditor={},Ne.React,Ne.react,Ne.CharacterCount,Ne.prosemirrorTransform,Ne.prosemirrorCommands,Ne.prosemirrorState,Ne.PModel,Ne.prosemirrorSchemaList,Ne.prosemirrorView,Ne.prosemirrorKeymap,Ne.extensions,Ne.Typography,Ne.Document,Ne.extensionList,Ne.extensionTextStyle,Ne.TaskList,Ne.TaskItem,Ne.Subscript,Ne.Superscript,Ne.Highlight,Ne.TextAlign,Ne.Blockquote,Ne.Heading,Ne.extensionTable,Ne.antd,Ne.ReactDOM,Ne.iconsMaterial,Ne.FramerMotion,Ne.prosemirrorTables))})(this,(function(Ne,I,Xt,ih,Zt,ft,Z,Jt,ta,Mt,ah,$l,oh,sh,Wl,na,lh,ch,dh,uh,_h,ph,mh,gh,go,ce,fo,Oe,Vu,$u){"use strict";function Wu(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const It=Wu(I),Cr=Wu(Jt);if(typeof window<"u"){let e=function(){var t=document.body,n=document.getElementById("__svg__icons__dom__");n||(n=document.createElementNS("http://www.w3.org/2000/svg","svg"),n.style.position="absolute",n.style.width="0",n.style.height="0",n.id="__svg__icons__dom__",n.setAttribute("xmlns","http://www.w3.org/2000/svg"),n.setAttribute("xmlns:link","http://www.w3.org/1999/xlink")),n.innerHTML='<symbol fill="none" viewBox="0 0 16 16" id="icon-ai-autocompletion-exit"><path d="m11.705 9.085-2.53-1.104A2.65 2.65 0 0 1 7.81 6.615l-1.104-2.53a.245.245 0 0 0-.45 0l-1.103 2.53A2.65 2.65 0 0 1 3.785 7.98L1.251 9.087a.245.245 0 0 0 0 .45l2.578 1.138c.61.27 1.096.76 1.36 1.373l1.068 2.482a.245.245 0 0 0 .45 0l1.102-2.526a2.65 2.65 0 0 1 1.367-1.367l2.53-1.104a.245.245 0 0 0 0-.45v.002Z" fill="#475467" /><path d="m14.872 4.295-1.463-.638a1.525 1.525 0 0 1-.789-.79l-.638-1.461a.141.141 0 0 0-.26 0l-.637 1.462a1.525 1.525 0 0 1-.79.789l-1.463.638a.141.141 0 0 0 0 .26l1.49.659c.351.155.633.44.785.793l.618 1.434c.05.113.21.113.26 0l.637-1.46c.154-.353.437-.635.789-.788l1.462-.639a.141.141 0 0 0 0-.259h-.001Z" fill="#D0D5DD" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-ai-autocompletion"><path d="m11.705 9.085-2.53-1.104A2.65 2.65 0 0 1 7.81 6.615l-1.104-2.53a.245.245 0 0 0-.45 0l-1.103 2.53A2.65 2.65 0 0 1 3.785 7.98L1.251 9.087a.245.245 0 0 0 0 .45l2.577 1.138c.61.27 1.096.76 1.36 1.373l1.07 2.482a.245.245 0 0 0 .449 0l1.102-2.526a2.65 2.65 0 0 1 1.367-1.367l2.53-1.104a.245.245 0 0 0 0-.45v.002Z" fill="#016DCF" /><path d="m14.871 4.295-1.462-.638a1.525 1.525 0 0 1-.789-.79l-.638-1.461a.141.141 0 0 0-.26 0l-.638 1.462a1.525 1.525 0 0 1-.788.789l-1.464.638a.141.141 0 0 0 0 .26l1.49.659c.351.155.633.44.785.793l.617 1.434c.05.113.211.113.261 0l.637-1.46c.153-.353.437-.635.789-.788l1.462-.639a.141.141 0 0 0 0-.259h-.002Z" fill="#54A4EC" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-align-center"><path d="M1.75 2.25h12.504M4.754 8h6.496m-9.5 5.75h12.504" vector-effect="non-scaling-stroke" stroke="currentColor" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-align-distributed"><path d="M1.75 9.834h12.504M1.75 13.75h12.504m0-9.5-2-2m2 2-2 2m2-2H1.8m2-2-2 2m0 0 2 2" vector-effect="non-scaling-stroke" stroke="currentColor" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-align-justify"><path d="M1.75 2.25h12.504M1.75 8h12.504M1.75 13.75h12.504" vector-effect="non-scaling-stroke" stroke="currentColor" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-align-left"><path d="M1.75 2.25h12.504M1.75 8h6.496M1.75 13.75h12.504" vector-effect="non-scaling-stroke" stroke="currentColor" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-align-right"><path d="M1.75 2.25h12.504M7.754 8h6.496m-12.5 5.75h12.504" vector-effect="non-scaling-stroke" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-arrow-down"><path d="M36 18 24 30 12 18" stroke="currentColor" /></symbol><symbol viewBox="0 0 1024 1024" id="icon-assistant"><path d="M510.896 0c283.552 0 513.12 229.056 513.12 512 0 280.704-231.808 512-513.12 512-87.776 0-173.28-22.464-249.792-65.12h-2.24L78.8 994.816h-6.752c-11.264 0-20.256-4.48-27.008-11.232a41.376 41.376 0 0 1-11.264-35.936L69.808 772.48v-2.24C22.544 691.648.016 601.824.016 512-2.224 229.056 227.344 0 510.896 0zm-43.552 306.656H366.096l-4.16 4.224-135.04 396.448v8.448l4.288 4.224h80.096l4.224-4.224 33.728-97.056h139.2l33.728 92.832 8.448 8.448h75.936l4.224-4.224 4.16-4.224v-8.448L471.568 310.88l-4.224-4.224zm261.472-4.32h-67.52l-4.192 4.224h-4.288v4.16l-4.224 4.256V707.2l4.224 8.416 4.288 4.16h75.904l4.224-4.192v-4.224l4.192-4.224V319.2l-4.224-8.448-8.416-8.416zm-316.288 97.12 4.224 12.64 12.64 33.76 33.728 92.768h-97.024l21.12-63.232 25.28-75.936z" fill="#0054a1" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-audio"><rect x="16" y="4" width="16" height="28" rx="8" stroke="currentColor" /><path d="M10 21v3c0 7.732 6.268 14 14 14s14-6.268 14-14v-3M24 5v6m-8 5h5m6 0h5m-16 6h5m6 0h5M24 38v6M16 44h16" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-auto-width"><path d="M6 7h36M8 24h32M13.99 30 8 24.005 14 18m20.01 0L40 23.995 34 30M6 41h36" stroke="currentColor" /></symbol><symbol viewBox="0 0 24 24" id="icon-background-color"><g stroke="currentColor" fill="none" fill-rule="evenodd"><rect x=".5" y=".5" width="23" height="23" rx="3" /><path d="m12.167 5-7.5 14m3-4.384h9M12.167 5l7.5 14" /></g></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-barcode"><path d="M16 6H8a2 2 0 0 0-2 2v8m10 26H8a2 2 0 0 1-2-2v-8m26 10h8a2 2 0 0 0 2-2v-8M32 6h8a2 2 0 0 1 2 2v8m-18 0v16m8-16v16M16 16v16" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-block-add"><path d="m24.06 10-.036 28M10 24h28" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-block-menu"><path fill-rule="evenodd" clip-rule="evenodd" d="M19 10a4 4 0 1 1-8 0 4 4 0 0 1 8 0zm-4 18a4 4 0 1 0 0-8 4 4 0 0 0 0 8zm0 14a4 4 0 1 0 0-8 4 4 0 0 0 0 8zm22-32a4 4 0 1 1-8 0 4 4 0 0 1 8 0zm-4 18a4 4 0 1 0 0-8 4 4 0 0 0 0 8zm0 14a4 4 0 1 0 0-8 4 4 0 0 0 0 8z" fill="currentColor" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-bold"><path d="M3.25 7.75h5.5a3 3 0 1 0 0-6h-4a1.5 1.5 0 0 0-1.5 1.5v4.5zm0 0H9.5a3.25 3.25 0 0 1 0 6.5H4.75a1.5 1.5 0 0 1-1.5-1.5v-5z" vector-effect="non-scaling-stroke" stroke="currentColor" /></symbol><symbol viewBox="0 0 24 24" id="icon-bookmark"><path fill="none" d="M-1-1h6.528v6.528H-1z" /><g stroke="currentColor" fill="none"><path d="M5 2.957h15M8.347 5.582h7.856" /><path stroke-opacity="null" d="M5.429 2.613 5.366 22m14.15-19.387L19.453 22m-13.785-.636 6.773-4.076m7.258 4.498-7.567-4.63" /></g></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-border-none"><path d="M12 4H4v8h8V4zm32 32h-8v8h8v-8zm-32 0H4v8h8v-8zM44 4h-8v8h8V4z" stroke="currentColor" /><path d="M8 36V12m32 24V12M12 8h24M12 40h24" stroke="currentColor" stroke-dasharray="1 5" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-border"><path d="M12 4H4v8h8V4zm32 32h-8v8h8v-8zm-32 0H4v8h8v-8zM44 4h-8v8h8V4zM8 36V12m32 24V12M12 8h24M12 40h24" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-break-marks"><path d="M6 4v40M42 4v40M18 26l-4 4 4 4" stroke="currentColor" /><path d="M15 30h13a6 6 0 0 0 0-12H14" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-bullet-list-2"><path d="M9 42a4 4 0 1 0 0-8 4 4 0 0 0 0 8zm0-28a4 4 0 1 0 0-8 4 4 0 0 0 0 8zm0 14a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM21 24h22M21 38h22M21 10h22" stroke="currentColor" /></symbol><symbol viewBox="0 0 44 44" id="icon-bullet-list-circle"><path d="M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163" /><path d="M11 27a3 3 0 1 1 0 6 3 3 0 0 1 0-6zm0 1a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm0-10a3 3 0 1 1 0 6 3 3 0 0 1 0-6zm0 1a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm0-10a3 3 0 1 1 0 6 3 3 0 0 1 0-6zm0 1a2 2 0 1 0 0 4 2 2 0 0 0 0-4z" /></symbol><symbol viewBox="0 0 44 44" id="icon-bullet-list-disc"><path d="M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163" /><path d="M11 27a3 3 0 1 1 0 6 3 3 0 0 1 0-6zm0-9a3 3 0 1 1 0 6 3 3 0 0 1 0-6zm0-9a3 3 0 1 1 0 6 3 3 0 0 1 0-6z" /></symbol><symbol viewBox="0 0 44 44" id="icon-bullet-list-square"><path d="M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163" /><path d="M14 27v6H8v-6h6zm0-9v6H8v-6h6zm0-9v6H8V9h6z" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-bullet-list"><path d="M5.734 7.747h8.5m-8.5 5.5h8.5M5.734 2.25h8.5" vector-effect="non-scaling-stroke" stroke="currentColor" /><path d="M2.25 3.5a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5zM3.5 7.748a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0zm-1.25 6.748a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5z" fill="#0054a1" fill-rule="evenodd" clip-rule="evenodd" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-callout"><rect x="4" y="6" width="40" height="30" rx="2" stroke="currentColor" /><path d="M20 42h8m6 0h2M4 42h2m36 0h2m-32 0h2" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-check"><path d="M24 44a19.937 19.937 0 0 0 14.142-5.858A19.937 19.937 0 0 0 44 24a19.938 19.938 0 0 0-5.858-14.142A19.937 19.937 0 0 0 24 4 19.938 19.938 0 0 0 9.858 9.858 19.938 19.938 0 0 0 4 24a19.937 19.937 0 0 0 5.858 14.142A19.938 19.938 0 0 0 24 44z" stroke="currentColor" /><path d="m16 24 6 6 12-12" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-chinese-case"><path d="M38 10 10 38M6 6l6 8 6-8M5 14h14M5 20h14m-7-6v12m20.846 0H42v16H22v-5.85" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-clear-cache"><path d="M24 44c11.046 0 20-8.954 20-20S35.046 4 24 4 4 12.954 4 24s8.954 20 20 20z" stroke="currentColor" /><path d="M33.542 27c-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7v6m19.084-18v6c-1.274-4.057-5.064-7-9.542-7-4.477 0-8.268 2.943-9.542 7" stroke="currentColor" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-clear-format"><g stroke="currentColor"><path d="m13.83 6.061-3.37-3.37a1.5 1.5 0 0 0-2.121 0L2.223 8.807a1.5 1.5 0 0 0 0 2.122l3.322 3.322h2.218l6.068-6.068a1.5 1.5 0 0 0 0-2.122zm-9.908.569 6.081 6.081M6 14.25h8.25" vector-effect="non-scaling-stroke" /></g></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-clickable"><path d="M24 4v8" stroke="currentColor" /><path clip-rule="evenodd" d="m22 22 20 4-6 4 6 6-6 6-6-6-4 6-4-20z" stroke="currentColor" /><path d="m38.142 9.858-5.657 5.657M9.858 38.142l5.657-5.657M4 24h8M9.858 9.858l5.657 5.657" stroke="currentColor" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="icon-close"><path fill="currentColor" d="M7.05 5.64 12 10.59l4.95-4.95 1.41 1.41L13.41 12l4.95 4.95-1.41 1.41L12 13.41l-4.95 4.95-1.41-1.41L10.59 12 5.64 7.05l1.41-1.41z" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-code-block"><path d="M23 40H7a3 3 0 0 1-3-3V11a3 3 0 0 1 3-3h34a3 3 0 0 1 3 3v14.882" stroke="currentColor" /><path d="M4 11a3 3 0 0 1 3-3h34a3 3 0 0 1 3 3v9H4v-9zM34 33l-4 4 4 4m6-8 4 4-4 4" stroke="currentColor" /><circle r="2" transform="matrix(0 -1 -1 0 10 14)" fill="currentColor" /><circle r="2" transform="matrix(0 -1 -1 0 16 14)" fill="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-code-line-number"><path d="M9 4v9m3 0H6m6 14H6m0-7s3-3 5 0-5 7-5 7m0 7.5s2-3 5-1 0 4.5 0 4.5 3 2.5 0 4.5-5-1-5-1m5-3.5H9M9 4 6 6m15 18h22M21 38h22M21 10h22" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-code-word-wrap"><path d="M6 9h36M6 19h36M6 29h18M6 39h10m8 0h13a5 5 0 0 0 0-10h-5m-8 10 4-4m-4 4 4 4" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-code"><path d="M16 13 4 25.432 16 37m16-24 12 12.432L32 37M28 4l-7 40" stroke="currentColor" /></symbol><symbol viewBox="0 0 24 24" id="icon-color-fill"><path d="M20 14c-.092.064-2 2.083-2 3.5 0 1.494.949 2.448 2 2.5.906.044 2-.891 2-2.5 0-1.5-1.908-3.436-2-3.5zM9.586 20c.378.378.88.586 1.414.586s1.036-.208 1.414-.586l7-7-.707-.707L11 4.586 8.707 2.293 7.293 3.707 9.586 6 4 11.586c-.378.378-.586.88-.586 1.414s.208 1.036.586 1.414L9.586 20zM11 7.414 16.586 13H5.414L11 7.414z" /></symbol><symbol viewBox="0 0 24 24" id="icon-color"><g fill="none" fill-rule="evenodd"><path d="M0 0h24v24H0z" /><path stroke="currentColor" d="M12.5 2.5 4 21.5m3.4-6.045h10.2M12.5 2.5l8.5 19" /></g></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-columns"><path d="M39.3 6H8.7A2.7 2.7 0 0 0 6 8.7v30.6A2.7 2.7 0 0 0 8.7 42h30.6a2.7 2.7 0 0 0 2.7-2.7V8.7A2.7 2.7 0 0 0 39.3 6zM24 6v36" stroke="currentColor" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-comment"><path d="M1.75 3.25a1.5 1.5 0 0 1 1.5-1.5h9.5a1.5 1.5 0 0 1 1.5 1.5v7.513a1.5 1.5 0 0 1-1.5 1.5H8.782l-2.521 2.554a.3.3 0 0 1-.514-.21v-2.344H3.25a1.5 1.5 0 0 1-1.5-1.5V3.25zm4 3.75H8m0 0h2.25M8 7V4.75M8 7v2.25" vector-effect="non-scaling-stroke" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-copy"><path d="M13 38h28V16H30V4H13v34zM30 4l11 12" stroke="currentColor" /><path d="M7 20v24h21M19 20h4m-4 8h12" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-date"><path stroke="currentColor" d="M4 8h40v36H4z" /><path clip-rule="evenodd" d="M28 20v14h8V20h-8z" stroke="currentColor" /><path d="M17 4v8m14-8v8m-19 8h8v14h-8m8-7h-6" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-diagrams"><path d="M40.99 8.027H12.182C9.455 8.027 4 9.55 4 15.967 4 22.384 9.455 24 12.182 24h23.812C38.72 24 44 25.568 44 31.985c0 6.416-5.279 8.018-8.006 8.018H6.065" stroke="currentColor" /><path d="m8.046 35.993-3.979 4.066L8.046 44M38.043 3.954 42.02 8.02l-3.978 3.941" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-download"><path d="M24.008 33.9V6M36 22 24 34 12 22m24 20H12" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-echarts"><path clip-rule="evenodd" d="M4 42h40H4z" /><path d="M4 42h40M8 28h6v14H8zm13-10h6v24h-6zM34 6h6v36h-6z" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-edit"><path d="M5.325 43.5h8.485l31.113-31.113-8.486-8.485L5.325 35.015V43.5zM27.952 12.387l8.485 8.485" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-embed"><rect x="4" y="8" width="40" height="32" rx="3" stroke="currentColor" /><path d="M4 11a3 3 0 0 1 3-3h34a3 3 0 0 1 3 3v9H4v-9z" stroke="currentColor" /><circle r="2" transform="matrix(0 -1 -1 0 10 14)" fill="currentColor" /><circle r="2" transform="matrix(0 -1 -1 0 16 14)" fill="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-emoji"><path d="M24 44c11.046 0 20-8.954 20-20S35.046 4 24 4 4 12.954 4 24s8.954 20 20 20z" stroke="currentColor" /><path d="M31 18v1m-14-1v1m14 12s-2 4-7 4-7-4-7-4" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-equal-proportion"><path d="M42 7H6a2 2 0 0 0-2 2v30a2 2 0 0 0 2 2h36a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2z" stroke="currentColor" /><path d="M12 20.58 16 18v12m15-9.42L35 18v12M24 20v1m0 6v1" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-exit"><path d="M23.992 6H6v36h18m9-9 9-9-9-9m-17 8.992h26" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-expand-down"><path d="M6 9h36M6 19h36M6 26l18 14 18-14" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-file-view"><path d="M10 44h28a2 2 0 0 0 2-2V14H30V4H10a2 2 0 0 0-2 2v36a2 2 0 0 0 2 2zM30 4l10 10" stroke="currentColor" /><path d="M24 34c4.97 0 9-6 9-6s-4.03-6-9-6-9 6-9 6 4.03 6 9 6z" stroke="currentColor" /><path d="M24 30a2 2 0 1 0 0-4 2 2 0 0 0 0 4z" fill="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-file"><path d="M10 44h28a2 2 0 0 0 2-2V14H30V4H10a2 2 0 0 0-2 2v36a2 2 0 0 0 2 2ZM30 4l10 10M24 21v14M17 28h14" stroke="currentColor" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-font-size-decrease"><path d="m2 13.5 1.422-3.412m0 0 3.301-7.923a.3.3 0 0 1 .554 0l3.301 7.923m-7.156 0h7.156m0 0L12 13.5" vector-effect="non-scaling-stroke" stroke="currentColor" /><path d="M11.043 2.75h3.173" vector-effect="non-scaling-stroke" stroke="#0054a1" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-font-size-increase"><path d="m2 13.5 1.422-3.412m0 0 3.301-7.923a.3.3 0 0 1 .554 0l3.301 7.923m-7.156 0h7.156m0 0L12 13.5" vector-effect="non-scaling-stroke" stroke="currentColor" /><path d="M11 2.75h3.476M12.75 4.549V1" vector-effect="non-scaling-stroke" stroke="#0054a1" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-format-painter"><path d="M6.543 3.961s-1.03 1.203-2.494 1.892c-1.006.473-2.181.585-2.734.626-.2.015-.344.21-.277.398.293.82 1.112 2.801 2.658 4.347 2.126 2.126 3.659 2.968 4.142 3.202.1.048.215.03.299-.04.385-.326 1.5-1.278 2.21-1.987.891-.89 2.186-2.447 2.186-2.447m.48.055a.3.3 0 0 1-.425 0L6.325 3.743a.3.3 0 0 1 0-.424l.68-.68a1.5 1.5 0 0 1 2.121 0l1.357 1.356 1.604-2.02a1.629 1.629 0 1 1 2.279 2.295L12.34 5.853l1.353 1.352a1.5 1.5 0 0 1 0 2.121l-.68.68z" vector-effect="non-scaling-stroke" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-format"><path stroke="currentColor" d="M8 24h32v18H8zM4 13h14V6h12v7h14v11H4V13ZM16 32v10" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-full-screen-exit"><path d="M33 6v9h9M15 6v9H6M15 42v-9H6M33 42v-9h8.9" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-full-screen"><path d="M33 6h9v9M42 33v9h-9M15 42H6v-9M6 15V6h9" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-hard-break"><path d="M6 9h36M6 19h36M6 29h18M6 39h10m8 0h13a5 5 0 0 0 0-10h-5m-8 10 4-4m-4 4 4 4" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-heading"><path d="M12 5v38M36 5v38M12 24h24" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-help"><path d="M24 44a19.937 19.937 0 0 0 14.142-5.858A19.937 19.937 0 0 0 44 24a19.938 19.938 0 0 0-5.858-14.142A19.937 19.937 0 0 0 24 4 19.938 19.938 0 0 0 9.858 9.858 19.938 19.938 0 0 0 4 24a19.937 19.937 0 0 0 5.858 14.142A19.938 19.938 0 0 0 24 44z" stroke="currentColor" /><path d="M24 28.625v-4a6 6 0 1 0-6-6" stroke="currentColor" /><path fill-rule="evenodd" clip-rule="evenodd" d="M24 37.625a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5z" fill="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-hide-toolbar"><rect x="6" y="6" width="36" height="36" rx="3" stroke="currentColor" /><path d="M6 16h36M20 32l4-4 4 4M6 10v12M42 10v12" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-highlight"><path d="M6 44V25h6v-8h24v8h6v19H6zM17 17V8l14-4v13" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-home-page"><path clip-rule="evenodd" d="M24 44c11.046 0 20-8.954 20-20S35.046 4 24 4 4 12.954 4 24s8.954 20 20 20z" stroke="currentColor" /><path d="M4 24h40" stroke="currentColor" /><path clip-rule="evenodd" d="M24 44c4.418 0 8-8.954 8-20S28.418 4 24 4s-8 8.954-8 20 3.582 20 8 20z" stroke="currentColor" /><path d="M9.858 10.142A19.937 19.937 0 0 0 24 16a19.937 19.937 0 0 0 14.142-5.858m0 27.716A19.937 19.937 0 0 0 24 32a19.937 19.937 0 0 0-14.142 5.858" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-hr"><path d="M5 24h38M21 38h6m10 0h6M21 10h6M5 38h6M5 10h6m26 0h6" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-html5"><path d="M37.804 5H10.196a2 2 0 0 0-1.991 2.187l2.688 28.666a2 2 0 0 0 1.153 1.63l11.116 5.13a2 2 0 0 0 1.676 0l11.116-5.13a2 2 0 0 0 1.154-1.63l2.687-28.666A2 2 0 0 0 37.804 5z" stroke="currentColor" /><path d="M32 12H16l1 9h14l-1 11-6 3-6-3-.5-5" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-image-draggable"><path d="M9.583 27.182C7.867 28.354 7.009 30.293 7.009 33c0 4.06 4.991 11 9.492 11h11.515c4.405 0 7.08-3.85 7.08-6.94V24.6a3.253 3.253 0 0 0-3.243-3.253 3.235 3.235 0 0 0-3.245 3.226v.11" stroke="currentColor" /><path d="M10.981 29.445V7.662a3.217 3.217 0 0 1 6.435 0v15.986M17.416 24v-4.192a2.804 2.804 0 0 1 5.608 0v4.62" stroke="currentColor" /><path d="M23 24.658v-2.85a2.804 2.804 0 0 1 5.608 0v3.195M11 8h30M36 12.5l1.667-1.5L41 8l-3.333-3L36 3.5" stroke="currentColor" /></symbol><symbol viewBox="0 0 1024 1024" id="icon-image-failed"><path d="M480 164.571 580.571 376.87 461.824 512l158.5 193.06-79.25 154.369H73.143V164.57z" opacity=".12" /><path d="m566.857 164.571 99.109 212.444-118.547 134.948 159.16 193.354-79.58 154.112h323.858V164.57z" fill-opacity=".12" /><path d="M182.894 749.714v-85.357L315.209 525.75l157.312 132.206 56.759-63.744 90.917 110.884-22.803 44.617zm658.249 0H683.575l22.985-44.47-132.681-161.207 93.257-105.18 174.062 215.845z" fill-opacity=".12" /><path d="M256 347.429a73.143 73.143 0 1 0 146.286 0 73.143 73.143 0 1 0-146.286 0z" opacity=".12" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-image-flip"><path d="M24 6v36M4 34l12-22v22H4zm40 0H32V12l12 22z" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-image-preview"><path d="M16 40H6a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2h36a2 2 0 0 1 2 2v6" stroke="currentColor" /><path d="M42 24H26a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V26a2 2 0 0 0-2-2Z" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-image-remove-background"><path d="M44 23.994a2 2 0 0 0-4 0h4zm-20-16a2 2 0 1 0 0-4v4zm15 32H9v4h30v-4zm-31-1v-30H4v30h4zm32-15v15h4v-15h-4zm-31-16h15v-4H9v4zm0 32a1 1 0 0 1-1-1H4a5 5 0 0 0 5 5v-4zm30 4a5 5 0 0 0 5-5h-4a1 1 0 0 1-1 1v4zm-31-35a1 1 0 0 1 1-1v-4a5 5 0 0 0-5 5h4z" fill="currentColor" /><path d="m6 35 10.693-9.802a2 2 0 0 1 2.653-.044L32 36m-4-5 4.773-4.773a2 2 0 0 1 2.615-.186L42 31M33 7l8 8m0-8-8 8" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-image-reset"><path d="M11.272 36.728A17.943 17.943 0 0 0 24 42c9.941 0 18-8.059 18-18S33.941 6 24 6c-4.97 0-9.47 2.015-12.728 5.272C9.614 12.93 6 17 6 17" stroke="currentColor" /><path d="M6 9v8h8" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-image-rotate"><path d="M12 24h30v18H12V24zM6 8v9h9" stroke="currentColor" /><path d="M38.475 13.299C35.195 8.87 29.933 6 24 6c-5.821 0-10.997 2.763-14.287 7.05L6 17" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-image"><path clip-rule="evenodd" d="M5 10a2 2 0 0 1 2-2h34a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V10z" stroke="currentColor" /><path clip-rule="evenodd" d="M14.5 18a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z" stroke="currentColor" /><path d="m15 24 5 4 6-7 17 13v4a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-4l10-10z" stroke="currentColor" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-indent"><path d="M1.75 2.25h12.504M1.75 8h7.496M1.75 13.75h12.504" vector-effect="non-scaling-stroke" stroke="currentColor" /><path d="m12.25 6 1.993 1.993a.01.01 0 0 1 0 .014L12.25 10" vector-effect="non-scaling-stroke" stroke="#0054a1" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-italic"><path d="M7.75 1.75h5.5M10.5 2l-5 12m-2.75.25h5.5" vector-effect="non-scaling-stroke" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-json"><path d="M10 44h28a2 2 0 0 0 2-2V14H30V4H10a2 2 0 0 0-2 2v36a2 2 0 0 0 2 2zM30 4l10 10" stroke="currentColor" /><path d="M22 20c-2 0-3 1-3 3v2c0 1.5-1 2-2 2v2c1 0 2 .5 2 2v2c0 2 1 3 3 3M26 20c2 0 3 1 3 3v2c0 1.5 1 2 2 2v2c-1 0-2 .5-2 2v2c0 2-1 3-3 3" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-laser-pointer"><g clip-path="url(#icon-laser-pointer_a)"><rect x="35.193" y="5.322" width="12" height="38" rx="6" transform="rotate(45 35.193 5.322)" stroke="currentColor" /><path d="m18 23 8 8M6 43l6-6" stroke="currentColor" /><rect x="33.268" y="12.34" width="4" height="4" rx="2" transform="rotate(30 33.268 12.34)" fill="currentColor" /></g><defs><clipPath id="icon-laser-pointer_a"><path fill="currentColor" d="M0 0h48v48H0z" /></clipPath></defs></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-line-height"><path d="m1.75 3.806 2-2.056 2 2.056m-2 10.144-2-2.056m2 2.056 2-2.056m-2 2.056.012-12.187" vector-effect="non-scaling-stroke" stroke="currentColor" /><path d="M8.754 13.75h5.5m-5.5-4h5.5m-5.5-4h5.5m-5.504-4h5.504" vector-effect="non-scaling-stroke" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-line-number"><path d="M9 4v9m3 0H6m6 14H6m0-7s3-3 5 0-5 7-5 7m0 7.5s2-3 5-1 0 4.5 0 4.5 3 2.5 0 4.5-5-1-5-1m5-3.5H9M9 4 6 6m15 18h22M21 38h22M21 10h22" stroke="currentColor" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-link"><path d="M9.442 8.013a3.285 3.285 0 0 1-.62 3.752l-1.77 1.778a3.241 3.241 0 0 1-4.6 0 3.28 3.28 0 0 1 0-4.623l1.446-1.45m8.165 1.104 1.485-1.493a3.28 3.28 0 0 0 0-4.623 3.241 3.241 0 0 0-4.6 0L7.18 4.235a3.28 3.28 0 0 0-.134 4.48" vector-effect="non-scaling-stroke" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-loading"><path d="M4 24c0 11.046 8.954 20 20 20s20-8.954 20-20S35.046 4 24 4" stroke="currentColor" /></symbol><symbol viewBox="0 0 22 22" id="icon-margin"><g fill="none" fill-rule="evenodd"><path d="M2 3h18M2 20h18" stroke="currentColor" /><path d="M0 0h22v22H0z" /><path d="M11 6 6 17m2-3.5h6M11 6l5 11" stroke="currentColor" /></g></symbol><symbol viewBox="0 0 1024 1024" id="icon-markdown"><path stroke="currentColor" d="M896 192a64 64 0 0 1 64 64v512a64 64 0 0 1-64 64H128a64 64 0 0 1-64-64V256a64 64 0 0 1 64-64h768zm-768-64A128 128 0 0 0 0 256v512a128 128 0 0 0 128 128h768a128 128 0 0 0 128-128V256a128 128 0 0 0-128-128H128z" data-spm-anchor-id="a313x.search_index.0.i1.3d203a817x9KY2" /><path stroke="currentColor" d="M585.344 521.344a32 32 0 0 1 45.312 0L736 626.752l105.344-105.408a32.064 32.064 0 0 1 45.312 45.312l-128 128a31.872 31.872 0 0 1-45.312 0l-128-128a32 32 0 0 1 0-45.312z" /><path stroke="currentColor" d="M736 320a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V352a32 32 0 0 1 32-32zM227.84 704V448.64h3.584l91.392 207.296h49.536l90.88-207.36h3.584V704h68.672V320.064h-76.8L349.248 569.28h-2.496l-109.44-249.216H160V704h67.84z" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-math"><path d="m40 9-3-3H8l18 18L8 42h29l3-3" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-mention"><path d="M44 24c0-11.046-8.954-20-20-20S4 12.954 4 24s8.954 20 20 20c4.989 0 9.55-1.827 13.054-4.847" stroke="currentColor" /><path d="M24 32a8 8 0 1 0 0-16 8 8 0 0 0 0 16z" stroke="currentColor" /><path d="M32 24a6 6 0 0 0 12 0m-12 1v-9" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-menu"><path d="M7.95 11.95h32m-32 12h32m-32 12h32" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-mermaid"><path d="M41 14 24 4 7 14v20l17 10 17-10V14z" stroke="currentColor" /><path d="M16 18.998 23.993 24l8.002-5.002M24 24v9" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-message"><path d="M43 5 29.7 43l-7.6-17.1L5 18.3 43 5zM43 5 22.1 25.9" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-mind-map"><path d="M8 28a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM42 8a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm0 18a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm0 18a2 2 0 1 0 0-4 2 2 0 0 0 0 4zM32 6H20v36h12M12 24h20" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-minus"><path d="M10.5 24h28" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-new-window"><path d="M42 18v22a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V18M6 8a2 2 0 0 1 2-2h32a2 2 0 0 1 2 2v10H6V8z" stroke="currentColor" /><path fill-rule="evenodd" clip-rule="evenodd" d="M12 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm6 0a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm6 0a2 2 0 1 0 0-4 2 2 0 0 0 0 4z" fill="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-node-add"><path d="M16 6H8a2 2 0 0 0-2 2v8m10 26H8a2 2 0 0 1-2-2v-8m26 10h8a2 2 0 0 0 2-2v-8M32 6h8a2 2 0 0 1 2 2v8m-10 8H16m8 8V16" stroke="currentColor" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-node-clear-format"><g stroke="currentColor"><path d="m13.83 6.061-3.37-3.37a1.5 1.5 0 0 0-2.121 0L2.223 8.807a1.5 1.5 0 0 0 0 2.122l3.322 3.322h2.218l6.068-6.068a1.5 1.5 0 0 0 0-2.122zm-9.908.569 6.081 6.081M6 14.25h8.25" vector-effect="non-scaling-stroke" /></g></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-node-copy"><path d="M13 12.432v-4.62A2.813 2.813 0 0 1 15.813 5h24.374A2.813 2.813 0 0 1 43 7.813v24.375A2.813 2.813 0 0 1 40.187 35h-4.67" stroke="currentColor" /><path d="M32.188 13H7.811A2.813 2.813 0 0 0 5 15.813v24.374A2.813 2.813 0 0 0 7.813 43h24.375A2.813 2.813 0 0 0 35 40.187V15.814A2.813 2.813 0 0 0 32.187 13z" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-node-cut"><path fill="#fff" fill-opacity=".01" d="M0 0h48v48H0z" /><path d="M11 42a5 5 0 1 0 0-10 5 5 0 0 0 0 10zm26 0a5 5 0 1 0 0-10 5 5 0 0 0 0 10z" stroke="currentColor" /><path d="m15.377 39.413 2.123-3.597 17-29.445" stroke="currentColor" /><path d="m13.496 6.175 17 29.445 2.13 3.793" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-node-delete-2"><path d="M9 10v34h30V10H9zM20 20v13m8-13v13M4 10h40M16 10l3.289-6h9.488L32 10H16z" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-node-delete"><path d="M9 10v34h30V10H9zM20 20v13m8-13v13M4 10h40M16 10l3.289-6h9.488L32 10H16z" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-node-duplicate"><path d="M24 30v-6M6 30h36v12H6V30zm0-17.5v-1M6 18v-1M6 7V6m36 6.5v-1m0 6.5v-1m0-10V6m0 12h-1M7 18H6M7 6H6m8 0h-1m8 0h-1m1 12h-1m8-12h-1M14 18h-1m15 0h-1m8-12h-1m1 12h-1m8-12h-1" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-node-switch"><path d="M42 19H6M30 7l12 12M6.799 29h36m-36 0 12 12" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-ordered-list-2"><path d="M9 4v9m3 0H6m6 14H6m0-7s3-3 5 0-5 7-5 7m0 7.5s2-3 5-1 0 4.5 0 4.5 3 2.5 0 4.5-5-1-5-1m5-3.5H9M9 4 6 6m15 18h22M21 38h22M21 10h22" stroke="currentColor" /></symbol><symbol viewBox="0 0 44 44" id="icon-ordered-list-decimal-leading-zero"><path d="M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163" /><path d="M5.714 15.11c.624 0 1.11-.22 1.46-.66.421-.533.632-1.408.632-2.627 0-1.222-.21-2.096-.629-2.624-.351-.445-.839-.668-1.463-.668-.624 0-1.11.22-1.459.66-.422.533-.633 1.406-.633 2.619 0 1.236.192 2.095.576 2.577.384.482.89.723 1.516.723zm0-1.024a.614.614 0 0 1-.398-.14c-.115-.094-.211-.283-.287-.565-.077-.283-.115-.802-.115-1.558s.043-1.294.128-1.613c.064-.246.155-.417.272-.512a.617.617 0 0 1 .4-.143.61.61 0 0 1 .398.143c.116.095.211.284.288.567.076.283.114.802.114 1.558s-.043 1.292-.128 1.608c-.064.246-.155.417-.272.512a.617.617 0 0 1-.4.143zm6.078.914V8.531H10.79c-.14.393-.4.736-.778 1.03-.378.295-.728.495-1.05.6v1.121a4.257 4.257 0 0 0 1.595-.936V15h1.235zm3.344 0v-1.235h-1.235V15h1.235zm-9.422 9.11c.624 0 1.11-.22 1.46-.66.421-.533.632-1.408.632-2.627 0-1.222-.21-2.096-.629-2.624-.351-.445-.839-.668-1.463-.668-.624 0-1.11.22-1.459.66-.422.533-.633 1.406-.633 2.619 0 1.236.192 2.095.576 2.577.384.482.89.723 1.516.723zm0-1.024a.614.614 0 0 1-.398-.14c-.115-.094-.211-.283-.287-.565-.077-.283-.115-.802-.115-1.558s.043-1.294.128-1.613c.064-.246.155-.417.272-.512a.617.617 0 0 1 .4-.143.61.61 0 0 1 .398.143c.116.095.211.284.288.567.076.283.114.802.114 1.558s-.043 1.292-.128 1.608c-.064.246-.155.417-.272.512a.617.617 0 0 1-.4.143zm7.088.914v-1.147H10.35c.065-.111.149-.226.253-.343.104-.117.35-.354.74-.712.39-.357.66-.631.81-.821.225-.288.39-.562.493-.824.104-.263.156-.539.156-.829 0-.51-.181-.936-.544-1.279-.364-.342-.863-.514-1.499-.514-.58 0-1.063.148-1.45.444-.387.296-.617.784-.69 1.463l1.23.124c.024-.36.112-.619.264-.774.152-.155.357-.233.615-.233.261 0 .465.074.613.222.148.148.222.36.222.635 0 .25-.085.501-.255.756-.126.185-.467.536-1.024 1.055-.691.641-1.154 1.156-1.388 1.544-.235.389-.375.8-.422 1.233h4.328zm2.334 0v-1.235h-1.235V24h1.235zM5.714 34.11c.624 0 1.11-.22 1.46-.66.421-.533.632-1.408.632-2.627 0-1.222-.21-2.096-.629-2.624-.351-.445-.839-.668-1.463-.668-.624 0-1.11.22-1.459.66-.422.533-.633 1.406-.633 2.619 0 1.236.192 2.095.576 2.577.384.482.89.723 1.516.723zm0-1.024a.614.614 0 0 1-.398-.14c-.115-.094-.211-.283-.287-.565-.077-.283-.115-.802-.115-1.558s.043-1.294.128-1.613c.064-.246.155-.417.272-.512a.617.617 0 0 1 .4-.143.61.61 0 0 1 .398.143c.116.095.211.284.288.567.076.283.114.802.114 1.558s-.043 1.292-.128 1.608c-.064.246-.155.417-.272.512a.617.617 0 0 1-.4.143zm4.992 1.024c.616 0 1.13-.2 1.543-.598.413-.398.62-.88.62-1.446 0-.39-.111-.722-.332-.997a1.5 1.5 0 0 0-.886-.532c.618-.337.927-.788.927-1.353 0-.399-.15-.756-.452-1.073-.366-.386-.853-.58-1.46-.58a2.25 2.25 0 0 0-.96.2 1.617 1.617 0 0 0-.667.55c-.16.232-.28.544-.359.933l1.139.194c.032-.282.123-.495.272-.642.15-.146.33-.22.54-.22.214 0 .386.065.515.194s.193.302.193.518c0 .255-.088.46-.264.613-.175.154-.43.227-.764.218l-.136 1.006c.22-.061.408-.092.566-.092.24 0 .444.09.611.272.167.182.25.428.25.739 0 .328-.086.589-.26.782a.833.833 0 0 1-.644.29.841.841 0 0 1-.607-.242c-.167-.16-.27-.394-.308-.698l-1.195.145c.062.542.284.98.668 1.316.384.335.867.503 1.45.503zm4.43-.11v-1.235h-1.235V34h1.235z" /></symbol><symbol viewBox="0 0 44 44" id="icon-ordered-list-decimal"><path d="M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163" /><path d="M10.29 15V8.531H9.286c-.14.393-.4.736-.778 1.03-.378.295-.728.495-1.05.6v1.121a4.257 4.257 0 0 0 1.595-.936V15h1.235zm3.343 0v-1.235h-1.235V15h1.235zM11.3 24v-1.147H8.848c.064-.111.148-.226.252-.343.104-.117.351-.354.74-.712.39-.357.66-.631.81-.821.225-.288.39-.562.494-.824.104-.263.156-.539.156-.829 0-.51-.182-.936-.545-1.279-.363-.342-.863-.514-1.499-.514-.58 0-1.063.148-1.45.444-.387.296-.617.784-.69 1.463l1.23.124c.024-.36.112-.619.264-.774.153-.155.358-.233.616-.233.26 0 .465.074.613.222.148.148.222.36.222.635 0 .25-.085.501-.255.756-.126.185-.468.536-1.024 1.055-.692.641-1.155 1.156-1.389 1.544-.234.389-.375.8-.422 1.233H11.3zm2.333 0v-1.235h-1.235V24h1.235zM9.204 34.11c.615 0 1.129-.2 1.542-.598.413-.398.62-.88.62-1.446 0-.39-.11-.722-.332-.997a1.5 1.5 0 0 0-.886-.532c.619-.337.928-.788.928-1.353 0-.399-.151-.756-.453-1.073-.366-.386-.852-.58-1.459-.58a2.25 2.25 0 0 0-.96.2 1.617 1.617 0 0 0-.668.55c-.16.232-.28.544-.358.933l1.138.194c.032-.282.123-.495.272-.642.15-.146.33-.22.54-.22.215 0 .386.065.515.194s.193.302.193.518c0 .255-.087.46-.263.613-.176.154-.43.227-.765.218l-.136 1.006c.22-.061.409-.092.567-.092.24 0 .444.09.61.272.168.182.251.428.251.739 0 .328-.087.589-.261.782a.833.833 0 0 1-.644.29.841.841 0 0 1-.607-.242c-.167-.16-.27-.394-.307-.698l-1.196.145c.062.542.285.98.668 1.316.384.335.868.503 1.45.503zm4.43-.11v-1.235h-1.236V34h1.235z" /></symbol><symbol viewBox="0 0 44 44" id="icon-ordered-list-lower-latin"><path d="M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163" /><path d="M9.62 14.105c.272 0 .528-.05.768-.153s.466-.257.677-.462c.009.024.023.072.044.145.047.161.086.283.119.365h1.221a2.649 2.649 0 0 1-.222-.626c-.04-.195-.059-.498-.059-.908l.013-1.441c0-.536-.055-.905-.165-1.105-.11-.201-.3-.367-.569-.497-.27-.13-.68-.195-1.23-.195-.607 0-1.064.108-1.371.325-.308.217-.525.55-.65 1.002l1.12.202c.076-.217.176-.369.299-.455.123-.086.294-.13.514-.13.325 0 .546.05.663.152.118.101.176.27.176.508v.123c-.222.093-.622.194-1.2.303-.427.082-.755.178-.982.288-.227.11-.403.268-.53.474a1.327 1.327 0 0 0-.188.706c0 .398.138.728.415.988.277.261.656.391 1.136.391zm.368-.87a.675.675 0 0 1-.492-.189.606.606 0 0 1-.193-.448c0-.176.08-.32.241-.435.106-.07.33-.142.673-.215a7.19 7.19 0 0 0 .751-.19v.247c0 .296-.016.496-.048.602a.773.773 0 0 1-.295.409 1.07 1.07 0 0 1-.637.22zm4.645.765v-1.235h-1.235V14h1.235zM10.2 25.105c.542 0 1.003-.215 1.382-.646.38-.43.57-1.044.57-1.84 0-.771-.187-1.362-.559-1.774a1.82 1.82 0 0 0-1.41-.617c-.522 0-.973.216-1.354.65v-2.32H7.594V25h1.147v-.686a1.9 1.9 0 0 0 .67.592c.26.133.523.2.79.2zm-.299-.975c-.354 0-.638-.164-.852-.492-.153-.232-.229-.59-.229-1.073 0-.468.098-.818.295-1.048a.93.93 0 0 1 .738-.345c.302 0 .55.118.743.354.193.236.29.62.29 1.154 0 .5-.096.868-.288 1.1-.192.233-.424.35-.697.35zm4.478.87v-1.235h-1.234V25h1.234zm-4.017 9.105c.6 0 1.08-.142 1.437-.426.357-.284.599-.704.725-1.261l-1.213-.207c-.061.326-.167.555-.316.688a.832.832 0 0 1-.576.2.916.916 0 0 1-.75-.343c-.185-.228-.278-.62-.278-1.173 0-.498.091-.853.274-1.066.183-.212.429-.318.736-.318.232 0 .42.061.565.184.145.123.238.306.28.55l1.216-.22c-.146-.501-.387-.874-.722-1.119-.336-.244-.788-.366-1.356-.366-.695 0-1.245.214-1.653.643-.407.43-.61 1.03-.61 1.8 0 .762.202 1.358.608 1.788.406.431.95.646 1.633.646zM14.633 34v-1.235h-1.235V34h1.235z" /></symbol><symbol viewBox="0 0 44 44" id="icon-ordered-list-lower-roman"><path d="M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163" /><path d="M11.88 8.7V7.558h-1.234V8.7h1.234zm0 5.3V9.333h-1.234V14h1.234zm2.5 0v-1.235h-1.234V14h1.235zm-4.75 4.7v-1.142H8.395V18.7H9.63zm0 5.3v-4.667H8.395V24H9.63zm2.5-5.3v-1.142h-1.234V18.7h1.235zm0 5.3v-4.667h-1.234V24h1.235zm2.501 0v-1.235h-1.235V24h1.235zM7.38 28.7v-1.142H6.145V28.7H7.38zm0 5.3v-4.667H6.145V34H7.38zm2.5-5.3v-1.142H8.646V28.7H9.88zm0 5.3v-4.667H8.646V34H9.88zm2.5-5.3v-1.142h-1.234V28.7h1.235zm0 5.3v-4.667h-1.234V34h1.235zm2.501 0v-1.235h-1.235V34h1.235z" /></symbol><symbol viewBox="0 0 44 44" id="icon-ordered-list-simp-chinese-formal"><g fill="none" fill-rule="evenodd"><path d="M36 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H19a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H19a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H19a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163" fill="#000" fill-rule="nonzero" /><path d="M0 0h44v44H0z" /><path d="M9.648 11.728v.624h4.704v-.624H9.648zm-.136.968v1.712h.816l.216.512H8.432v.696h7.128v-.696h-2.136l.248-.512h.816v-1.712H9.512zm1.872 2.224-.216-.512h1.624l-.248.512h-1.16zm2.28-1.136h-3.328v-.48h3.328v.48zM8.696 8.816v.672H11.6v.328H9.2v.64h5.712v-.64H12.4v-.328h2.928v-.672H12.4v-.4h-.8v.4H8.696zm6.712 1.936H8.584v1.28h.768v-.624h5.288v.624h.768v-1.28zM8.36 18.16v.752h4.624c.032 1.232.128 2.312.272 3.232.264 1.728.712 2.608 1.344 2.64.48 0 .848-.624 1.112-1.856l-.696-.392c-.168.856-.304 1.288-.416 1.288-.128-.008-.288-.44-.48-1.288-.184-.912-.296-2.12-.336-3.624h1.808v-.752h-.44a4.676 4.676 0 0 0-.392-.776l-.72.264c.12.16.232.328.328.512h-.6c-.008-.248-.008-.504-.008-.776h-.8c0 .256 0 .512.008.776H8.36zm.72 1.032v.608h3.256v-.608H9.08zm-.448.888v.624h4.128v-.624H8.632zm3.936.936H8.832v2.424h.824v-1.784h2.088v1.72h.824v-2.36zm-1.264 2.336-.472.584c.64.288 1.16.608 1.576.96l.544-.656a9.288 9.288 0 0 0-1.648-.888zm-1.016-1.408v.464c-.032.456-.168.824-.424 1.112-.256.256-.744.48-1.48.656l.44.696c.784-.2 1.344-.488 1.696-.856.368-.4.568-.936.6-1.608v-.464h-.832zm-.128 8.736v.384h3.688v-.44a7.26 7.26 0 0 0 1.536.824l.352-.736c-.896-.28-1.576-.656-2.04-1.12h1.792v-.752h-3.576c.096-.176.176-.36.24-.552.592-.032 1.16-.056 1.712-.088.168.176.32.344.456.512l.688-.48c-.4-.448-.968-.968-1.704-1.576l-.632.4c.192.168.376.336.552.504-.824.04-1.664.072-2.528.104.432-.288.864-.624 1.288-1.008l-.8-.272c-.832.832-1.472 1.264-1.912 1.312l.136.68c.648-.016 1.272-.04 1.88-.056-.072.176-.16.352-.264.52H8.512v.752h1.872c-.52.464-1.232.84-2.128 1.12l.376.744a8.521 8.521 0 0 0 1.528-.776zm1.256-1.088H12.8c.192.264.424.512.696.752h-2.864c.296-.232.56-.48.784-.752zm-1.68 1.96v.728h4.52v-.728h-4.52zM8.848 32.8v.768h6.296V32.8H8.848z" fill="#000" fill-rule="nonzero" /></g></symbol><symbol viewBox="0 0 44 44" id="icon-ordered-list-trad-chinese-informal"><g fill="none" fill-rule="evenodd"><path d="M36 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H19a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H19a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H19a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163" fill="#000" fill-rule="nonzero" /><path d="M15.416 12.416H8.584v-.88h6.832zm-.296 6.992H8.864v-.888h6.256v.888zm.448 4.704H8.432v-.888h7.136v.888zm-.384 3.944h-6.4v-.848h6.4v.848zm.384 5.584H8.416v-.84h7.152v.84zm-.72-2.912H9.192v-.848h5.656v.848z" fill="#000" fill-rule="nonzero" /><path d="M0 0h44v44H0z" /></g></symbol><symbol viewBox="0 0 44 44" id="icon-ordered-list-upper-latin"><path d="M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163" /><path d="m7.88 15 .532-1.463h2.575L11.549 15h1.415l-2.58-6.442H9.01L6.5 15h1.38zm2.69-2.549H8.811l.87-2.39.887 2.39zM14.88 15v-1.235h-1.234V15h1.234zM9.352 25c.83-.006 1.352-.02 1.569-.044.346-.038.636-.14.872-.305.236-.166.422-.387.558-.664.137-.277.205-.562.205-.855 0-.372-.106-.695-.317-.97-.21-.276-.512-.471-.905-.585a1.51 1.51 0 0 0 .661-.567 1.5 1.5 0 0 0 .244-.83c0-.28-.066-.53-.197-.754a1.654 1.654 0 0 0-.495-.539 1.676 1.676 0 0 0-.672-.266c-.25-.042-.63-.063-1.14-.063H7.158V25h2.193zm.142-3.88H8.46v-1.49h.747c.612 0 .983.007 1.112.022.217.026.38.102.49.226.11.125.165.287.165.486a.68.68 0 0 1-.192.503.86.86 0 0 1-.525.23 11.47 11.47 0 0 1-.944.023h.18zm.17 2.795H8.46v-1.723h1.05c.592 0 .977.03 1.154.092.177.062.313.16.406.295a.84.84 0 0 1 .14.492c0 .228-.06.41-.181.547a.806.806 0 0 1-.473.257c-.126.026-.423.04-.892.04zM14.88 25v-1.235h-1.234V25h1.234zm-5.018 9.11c.691 0 1.262-.17 1.711-.512.45-.341.772-.864.965-1.567l-1.261-.4c-.109.472-.287.818-.536 1.037-.25.22-.547.33-.892.33-.47 0-.85-.173-1.143-.519-.293-.345-.44-.925-.44-1.74 0-.767.15-1.322.447-1.665.297-.343.684-.514 1.162-.514.346 0 .64.096.881.29.242.193.4.457.477.79l1.288-.307c-.147-.516-.367-.911-.66-1.187-.492-.465-1.132-.698-1.92-.698-.902 0-1.63.296-2.184.89-.554.593-.83 1.426-.83 2.498 0 1.014.275 1.813.825 2.397.551.585 1.254.877 2.11.877zM14.88 34v-1.235h-1.234V34h1.234z" /></symbol><symbol viewBox="0 0 44 44" id="icon-ordered-list-upper-roman"><path d="M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z" fill-opacity=".163" /><path d="M11.916 15V8.558h-1.301V15h1.3zm2.465 0v-1.235h-1.235V15h1.235zM9.665 25v-6.442h-1.3V25h1.3zm2.5 0v-6.442h-1.3V25h1.3zm2.466 0v-1.235h-1.235V25h1.235zm-7.216 9v-6.442h-1.3V34h1.3zm2.5 0v-6.442h-1.3V34h1.3zm2.501 0v-6.442h-1.3V34h1.3zm2.465 0v-1.235h-1.235V34h1.235z" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-ordered-list"><path d="M7.734 7.747h6.5m-6.5 5.5h6.5M7.734 2.25h6.5" vector-effect="non-scaling-stroke" stroke="currentColor" /><path d="M2.75 6.113V2.127l-.817.802a.546.546 0 0 1-.778-.011.56.56 0 0 1 .012-.786L2.407.914C2.948.384 3.85.77 3.85 1.53v4.583a.553.553 0 0 1-.55.556.553.553 0 0 1-.55-.556zm-.267 2.879c.409-.322.904-.322 1.312 0 .383.301.493.87.204 1.277a4.4 4.4 0 0 1-.23.29c-.197.23-.456.508-.744.803a56.575 56.575 0 0 1-1.709 1.66c-.557.521-.181 1.447.588 1.447H4.64c.304 0 .55-.242.55-.54a.545.545 0 0 0-.55-.542H2.517a49.34 49.34 0 0 0 1.3-1.275c.297-.303.575-.6.795-.858.109-.128.208-.252.289-.366.075-.105.157-.233.205-.363.318-.857.158-1.761-.623-2.377a2.125 2.125 0 0 0-2.688 0c-.594.469-.692 1.098-.706 1.484a.545.545 0 0 0 .53.56.546.546 0 0 0 .569-.521c.01-.26.068-.5.295-.68z" fill="#0054a1" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-outdent"><path d="M1.75 2.25h12.504M6.754 8h7.496m-12.5 5.75h12.504" vector-effect="non-scaling-stroke" stroke="currentColor" /><path d="M3.75 6 1.757 7.993a.01.01 0 0 0 0 .014L3.75 10" vector-effect="non-scaling-stroke" stroke="#0054a1" /></symbol><symbol viewBox="0 0 24 24" id="icon-page-background"><g fill="none" fill-rule="evenodd"><path d="M0 0h24v24H0z" /><rect stroke="currentColor" x="3.5" y="1.5" width="17" height="21" rx="1" /></g></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-page-break"><path d="M8 6v6h32V6M14 24h20M8 42v-6h32v6" stroke="currentColor" /></symbol><symbol viewBox="0 0 24 24" id="icon-page-footer"><g fill="none" fill-rule="evenodd"><path d="M0 0h24v24H0z" /><rect stroke="currentColor" x="3.5" y="1.5" width="17" height="21" rx="1" /><path stroke="currentColor" d="M3.5 18.5h17" /></g></symbol><symbol viewBox="0 0 24 24" id="icon-page-header"><g fill="none" fill-rule="evenodd"><path d="M0 0h24v24H0z" /><rect stroke="currentColor" x="3.5" y="1.5" width="17" height="21" rx="1" /><path stroke="currentColor" d="M3.5 5.5h17" /></g></symbol><symbol viewBox="0 0 24 24" id="icon-page-margin"><g fill="none" fill-rule="evenodd"><path d="M0 0h24v24H0z" /><rect stroke="currentColor" x="3.5" y="1.5" width="17" height="21" rx="1" /><path d="M3.5 4.5h17m-14 18v-21m11 21v-21m-14 18h17" stroke="currentColor" opacity=".3" /></g></symbol><symbol viewBox="0 0 24 24" id="icon-page-orientation"><g fill="none" fill-rule="evenodd"><path d="M0 0h24v24H0z" /><rect stroke="currentColor" x="1" y="2.5" width="13" height="18" rx="1" /><rect stroke="currentColor" transform="rotate(90 15.5 17.5)" x="10" y="10" width="11" height="15" rx="1" /></g></symbol><symbol viewBox="0 0 24 24" id="icon-page-size"><g fill="none" fill-rule="evenodd"><path d="M0 0h24v24H0z" /><path d="M4.5 2.5h11a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-11a1 1 0 0 1-1-1v-14a1 1 0 0 1 1-1zM15 20.5l1.5 1.5-1.5 1.5m-10-3L3.5 22 5 23.5M3.5 22h12m6-5L20 18.5 18.5 17m3-13L20 2.5 18.5 4M20 2.5V18" stroke="currentColor" /></g></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-page"><path d="M10 44h28a2 2 0 0 0 2-2V14H30V4H10a2 2 0 0 0-2 2v36a2 2 0 0 0 2 2zM30 4l10 10" stroke="currentColor" /></symbol><symbol viewBox="0 0 1024 1024" id="icon-palette-color"><path d="m612.437 747.52 77.227 133.632A407.893 407.893 0 0 1 511.957 921.6a407.979 407.979 0 0 1-177.664-40.448l77.142-133.675C442.283 760.704 476.288 768 511.957 768a255.147 255.147 0 0 0 100.48-20.48z" fill="#FA930C" /><path d="M103.51 542.72h154.282a255.787 255.787 0 0 0 100.48 174.037l-77.099 133.675A409.301 409.301 0 0 1 103.51 542.72z" fill="#F25450" /><path d="M742.912 850.347 665.685 716.8a255.787 255.787 0 0 0 100.523-174.08h154.325a409.301 409.301 0 0 1-177.621 307.627z" fill="#F3C408" /><path d="M920.49 481.28H766.209a255.787 255.787 0 0 0-100.48-174.08l77.184-133.547A409.301 409.301 0 0 1 920.491 481.28z" fill="#10B563" /><path d="m281.173 173.568 77.099 133.675a255.787 255.787 0 0 0-100.48 173.994H103.509a409.301 409.301 0 0 1 177.622-307.626z" fill="#D74ECB" /><path d="M512 102.4c63.659 0 123.947 14.507 177.707 40.448L612.48 276.48A255.147 255.147 0 0 0 511.915 256c-35.67 0-69.632 7.296-100.48 20.48l-77.142-133.632A407.979 407.979 0 0 1 511.957 102.4z" fill="#216ED8" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-paragraph"><path d="M8 10.933V6h32v4.933M24 6v36m-8 0h16" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-pdf"><path d="M10 4h20l10 10v28a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z" stroke="currentColor" /><path clip-rule="evenodd" d="M18 18h12v7.992L18.008 26 18 18z" stroke="currentColor" /><path d="M18 18v16" stroke="currentColor" /></symbol><symbol viewBox="0 0 24 24" fill="none" id="icon-person"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 4C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4Zm2 4c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2Zm4 10c-.2-.71-3.3-2-6-2-2.69 0-5.77 1.28-6 2h12ZM4 18c0-2.66 5.33-4 8-4s8 1.34 8 4v2H4v-2Z" fill="#000" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-plus"><path d="m24.06 10-.036 28M10 24h28" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-preview"><path d="M12 35.014H4V8.013a2 2 0 0 1 2-2h36a2 2 0 0 1 2 2v27h-8" stroke="currentColor" /><path d="M24 32 14 42h20L24 32Z" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-print"><path d="M37 32H11v12h26V32z" stroke="currentColor" /><path clip-rule="evenodd" d="M4 20h40v18h-6.983v-6H10.98v6H4V20z" stroke="currentColor" /><path d="M38 4H10v16h28V4z" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-qrcode"><path stroke="currentColor" d="M32 6h10v10H32zm0 26h10v10H32zM6 32h10v10H6zM6 6h10v10H6zm2 18h22m8 0h2M24 37v2m0-22v14m0-23v2" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-quote"><path fill-rule="evenodd" clip-rule="evenodd" d="M18.853 9.116C11.323 13.952 7.14 19.58 6.303 26.003 5 36 13.94 40.893 18.47 36.497 23 32.1 20.285 26.52 17.005 24.994c-3.28-1.525-5.286-.994-4.936-3.033.35-2.038 5.016-7.69 9.116-10.322a.749.749 0 0 0 .114-1.02L20.285 9.3c-.44-.572-.862-.55-1.432-.185zm19.826 0c-7.53 4.836-11.714 10.465-12.55 16.887-1.303 9.997 7.637 14.89 12.167 10.494 4.53-4.397 1.815-9.977-1.466-11.503-3.28-1.525-5.286-.994-4.936-3.033.35-2.038 5.017-7.69 9.117-10.322a.749.749 0 0 0 .113-1.02L40.11 9.3c-.44-.572-.862-.55-1.431-.185z" fill="currentColor" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-redo"><g stroke="currentColor"><path d="M14.113 4.75h-7.5a4.75 4.75 0 0 0 0 9.5h3.75" vector-effect="non-scaling-stroke" /><path d="m11.113 1.75 2.993 2.993a.01.01 0 0 1 0 .014L11.113 7.75" vector-effect="non-scaling-stroke" /></g></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-reload"><path d="M42 8v16M6 24v16m36-16c0-9.941-8.059-18-18-18a17.947 17.947 0 0 0-12.952 5.5M6 24c0 9.941 8.059 18 18 18a17.94 17.94 0 0 0 12.5-5.048" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-remove"><path d="M24 44c11.046 0 20-8.954 20-20S35.046 4 24 4 4 12.954 4 24s8.954 20 20 20zM16 24h16" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-reply"><path d="M33 38H22v-8h14v-8h8v16h-5l-3 3-3-3z" stroke="currentColor" /><path d="M4 6h32v24H17l-4 4-4-4H4V6zM12 22h6m-6-8h12" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-seal"><path d="M5 37a2 2 0 0 1 2-2h34a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-5Z" stroke="currentColor" /><path d="M5 31a2 2 0 0 1 2-2h34a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V31ZM18.763 15.664a1 1 0 0 1 .942-.664h8.59a1 1 0 0 1 .942.664L34 29H14l4.763-13.336Z" stroke="currentColor" /><rect x="15" y="4" width="18" height="10.8" rx="5.4" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-search-replace"><path d="M40 27V6a2 2 0 0 0-2-2H10a2 2 0 0 0-2 2v36a2 2 0 0 0 2 2h11m-4-32h14m-14 8h14m-14 8h6" stroke="currentColor" /><path d="M37 37c0 1.38-.56 2.63-1.465 3.535A5 5 0 1 1 37 37z" /><path d="m39 44-3.465-3.465m0 0a5 5 0 1 0-7.071-7.07 5 5 0 0 0 7.072 7.07z" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-select-all"><path d="M32 16h9a2 2 0 0 1 2 2v23a2 2 0 0 1-2 2H18a2 2 0 0 1-2-2v-9" stroke="currentColor" /><path d="M32 16V7a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v23a2 2 0 0 0 2 2h9m25-16L17 40M32 7 7 32m25-16L16 32m27-8L24 43m0-38L5 24m38 10-9 9M14 5l-9 9" stroke="currentColor" /></symbol><symbol viewBox="0 0 16 12" fill="none" id="icon-selected"><path d="m13.965 2.155-8.33 8.33L1.47 6.32" stroke="rgba(23, 26, 29, 0.4)" stroke-opacity=".6" data-spm-anchor-id="0.0.0.i9.c0427dcfkK7bCn" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-setting"><path d="M1.853 3.966a.01.01 0 0 0-.016.003 4.307 4.307 0 0 0 5.714 5.7l4.87 4.871a1.5 1.5 0 1 0 2.122-2.12L9.671 7.546a4.307 4.307 0 0 0-5.713-5.704.01.01 0 0 0-.003.016l2.6 2.6L4.45 6.563 1.853 3.966z" vector-effect="non-scaling-stroke" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-share"><path d="M35 16a5 5 0 1 0 0-10 5 5 0 0 0 0 10zM13 29a5 5 0 1 0 0-10 5 5 0 0 0 0 10zM30 13.575l-12.66 7.67m-.002 5.319 13.34 7.883M35 32a5 5 0 1 1 0 10 5 5 0 0 1 0-10z" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-shortcut"><path d="M42 7H6a2 2 0 0 0-2 2v28a2 2 0 0 0 2 2h36a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM12 19h2m7 0h2m6 0h7m-24 9h24" stroke="currentColor" /></symbol><symbol fill="none" viewBox="0 0 19 19" id="icon-signature"><mask id="icon-signature_a" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="20" height="20"><path fill="#D9D9D9" d="M0 0h20v20H0z" /></mask><g mask="url(#icon-signature_a)"><path d="M11.727 9.768c1.014-.75 1.805-1.573 2.375-2.469.569-.895.854-1.788.854-2.677 0-.444-.073-.77-.219-.979a.688.688 0 0 0-.594-.312c-.652 0-1.229.552-1.729 1.656-.5 1.104-.75 2.35-.75 3.74 0 .194.004.378.01.552.007.173.025.336.053.49Zm-9.23 7.73V15.83h1.667v1.666H2.497Zm3.334 0V15.83h1.666v1.666H5.831Zm3.333 0V15.83h1.667v1.666H9.164Zm3.333 0V15.83h1.667v1.666h-1.667Zm3.334 0V15.83h1.666v1.666h-1.666Zm-13-3.334-1.167-1.167 1.333-1.333-1.333-1.333 1.167-1.167 1.333 1.333 1.333-1.333 1.167 1.167-1.333 1.333 1.333 1.333-1.167 1.167-1.333-1.333-1.333 1.333Zm10.041-.833c-.416 0-.798-.08-1.145-.24-.348-.16-.646-.42-.896-.781-.348.194-.705.368-1.073.52-.368.153-.747.306-1.136.46l-.583-1.563a14.876 14.876 0 0 0 2.146-.959 7.981 7.981 0 0 1-.156-1c-.035-.36-.052-.75-.052-1.166 0-2 .395-3.657 1.187-4.97.792-1.312 1.785-1.968 2.98-1.968.722 0 1.312.267 1.77.802.458.535.688 1.281.688 2.24 0 1.194-.379 2.375-1.136 3.541-.757 1.167-1.809 2.216-3.156 3.146.097.098.198.17.302.219a.755.755 0 0 0 .323.073c.361 0 .781-.23 1.26-.688.48-.458.913-1.062 1.302-1.812l1.521.708c-.097.236-.173.521-.229.854-.056.334-.049.625.02.875.14-.069.303-.187.49-.354.188-.166.379-.375.573-.625l1.313 1.021c-.361.5-.778.903-1.25 1.208-.472.306-.91.459-1.313.459a1.26 1.26 0 0 1-.78-.26c-.23-.174-.421-.442-.574-.803a4.657 4.657 0 0 1-1.187.792c-.403.18-.806.27-1.209.27Z" fill="#1a1a1a" /></g></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-spellcheck"><path d="m34 10 8 8m0-8-8 8m10 12-7 8-4-4m-7-24H4v8h22v-8zm0 20H4v8h22v-8z" stroke="currentColor" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-strike"><path d="M1.5 8.25h13m-11.75 6 1.415-3.503m9.085 3.504-1.401-3.504M6.178 5.28l1.544-3.872a.3.3 0 0 1 .556 0L9.816 5.28" vector-effect="non-scaling-stroke" stroke="currentColor" /></symbol><symbol viewBox="0 0 24 24" id="icon-strikethrough"><path d="M13 15v5h3a1 1 0 0 1 0 2H8a1 1 0 0 1 0-2h3v-5a1 1 0 0 1 2 0ZM3 11a1 1 0 0 0 0 2h18a1 1 0 0 0 0-2h-8V4h7v1a1 1 0 0 0 2 0V3a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v2a1 1 0 0 0 2 0V4h7v7Z" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-subscript"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.266 10.905a.402.402 0 0 0 .399.446h.171c.236 0 .424-.208.464-.46v-.005c.03-.16.078-.305.142-.432a.841.841 0 0 1 .253-.316.633.633 0 0 1 .395-.124c.228 0 .414.08.558.24.15.155.224.374.224.657a.983.983 0 0 1-.112.473c-.07.139-.159.263-.268.374-.104.11-.221.213-.35.308-.13.088-.25.177-.365.265-.223.172-.437.341-.64.507a3.246 3.246 0 0 0-.521.549l-.037.048a2.273 2.273 0 0 0-.328.614c-.084.25-.108.951.699.951h2.581c.236 0 .428-.207.428-.461v-.091c0-.255-.192-.462-.428-.462h-2.037l.036-.056c.12-.187.258-.4.411-.535.169-.15.342-.288.521-.416.179-.132.355-.265.529-.398.178-.133.337-.28.476-.44.14-.167.25-.355.335-.566a2.03 2.03 0 0 0 .127-.756c0-.282-.05-.537-.149-.764a1.648 1.648 0 0 0-.96-.93A1.851 1.851 0 0 0 14.141 9c-.313 0-.59.06-.834.183a1.602 1.602 0 0 0-.595.498c-.16.21-.278.46-.358.748-.043.151-.072.31-.09.476z" fill="#0054a1" /><path d="m10.75 1.75-9 12.5m9 0-9-12.5" vector-effect="non-scaling-stroke" stroke="currentColor" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-superscript"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.665 3.351a.402.402 0 0 1-.4-.446c.018-.166.047-.325.09-.476.08-.288.199-.537.357-.748a1.61 1.61 0 0 1 .596-.498c.243-.122.521-.183.834-.183.238 0 .464.042.678.125a1.648 1.648 0 0 1 .96.93c.1.227.149.482.149.764 0 .294-.042.546-.127.756a2.08 2.08 0 0 1-.335.565c-.139.16-.298.308-.476.44-.174.134-.35.266-.529.4a6.289 6.289 0 0 0-.521.415c-.153.136-.29.348-.41.535l-.037.056h2.037c.236 0 .428.207.428.462v.09c0 .255-.192.462-.428.462H12.95c-.807 0-.783-.701-.7-.95.083-.229.196-.443.329-.615l.037-.049c.149-.199.322-.382.52-.548.204-.166.418-.335.641-.507a7.68 7.68 0 0 1 .365-.265c.129-.095.246-.197.35-.308.11-.11.198-.235.268-.374a.984.984 0 0 0 .112-.473c0-.283-.075-.501-.224-.657a.715.715 0 0 0-.558-.24.633.633 0 0 0-.395.124.842.842 0 0 0-.253.316 1.593 1.593 0 0 0-.141.432l-.001.006c-.04.251-.228.46-.464.46h-.171z" fill="#0054a1" /><path d="m10.75 1.75-9 12.5m9 0-9-12.5" vector-effect="non-scaling-stroke" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-symbol"><path d="M4 40.003h14.004C11.334 35.636 8 30.301 8 24c0-9.453 7.017-16 16.008-16C33 8 40 15 40 24c0 6-3.331 11.334-9.993 16.003H44" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-table-add-column-after"><path stroke="currentColor" d="M14.5 17h28v14h-28zM6.5 6v36" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-table-add-column-before"><path stroke="currentColor" d="M6 17h28v14H6zM42 6v36" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-table-add-row-after"><path stroke="currentColor" d="M17 6h14v28H17zM42 42H6" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-table-add-row-before"><path stroke="currentColor" d="M17 14.5h14v28H17zM42 6.5H6" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-table-cells-align"><rect x="6" y="6" width="36" height="36" rx="3" stroke="currentColor" /><path d="M22 30h4m-8-6h12m-10-6h8" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-table-cells-background"><path fill-rule="evenodd" clip-rule="evenodd" d="M37 37a4 4 0 0 0 4-4c0-1.473-1.333-3.473-4-6-2.667 2.527-4 4.527-4 6a4 4 0 0 0 4 4z" fill="currentColor" /><path d="m20.854 5.504 3.535 3.536M23.682 8.333 8.125 23.889 19.44 35.203l15.556-15.557L23.682 8.333zM12 20.073l16.961 5.577M4 43h40" stroke="currentColor" /></symbol><symbol viewBox="0 0 24 24" id="icon-table-delete-column"><g fill="none" fill-rule="evenodd"><path d="m10 17.5 4 4m-4 0 4-4m-4-4v-11h4v11h-4z" stroke="currentColor" /><path d="M0 0v24h24V0z" /><path stroke="currentColor" d="M3 21.5v-19m18 18.75v-19" /></g></symbol><symbol viewBox="0 0 24 24" id="icon-table-delete-row"><g fill="none" fill-rule="evenodd"><path d="m17.5 14 4-4m0 4-4-4m-4 4h-11v-4h11v4z" stroke="currentColor" /><path d="M0 24h24V0H0z" /><path stroke="currentColor" d="M21.5 21h-19M21.25 3h-19" /></g></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-table-delete"><path d="M14 11 4 24l10 13h30V11H14zm7 8 10 10m0-10L21 29" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-table-fix"><rect x="5" y="5" width="38" height="38" rx="2" stroke="currentColor" /><path d="M5 18h38M5 30h38M17 5v38M30 5v38" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-table-header-cell"><path d="M40 6H8a2 2 0 0 0-2 2v32a2 2 0 0 0 2 2h32a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2zM16.123 6 6 15m20.003-9L6 24M35 6 6 33m13-3L6 42m35-32L29.243 20.852M19 21v21m0-21h23" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-table-header-column"><path d="M40 6H8a2 2 0 0 0-2 2v32a2 2 0 0 0 2 2h32a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2zM16.123 6 6 15m13-3L6 24m13-3L6 33m13-3L6 42M19 6v36" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-table-header-row"><path d="M40 6H8a2 2 0 0 0-2 2v32a2 2 0 0 0 2 2h32a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2zM6 19.059h36M16.123 6 6 15m36-4.993L32 19M26.123 6l-14.2 12.624M36.123 6l-14.2 12.624" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-table-merge-cell"><path d="M20 14V5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v38a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-9m8 0v9a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H29a1 1 0 0 0-1 1v9m0 10h16M5 24h15" stroke="currentColor" /><path d="m32.748 28.818-1.59-1.59-3.182-3.183 3.181-3.182 1.591-1.59m-17.373 9.545 1.591-1.59 3.182-3.183-3.182-3.182-1.591-1.59" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-table-next-cell"><path d="M42 19V9a3 3 0 0 0-3-3H9a3 3 0 0 0-3 3v30a3 3 0 0 0 3 3h10" stroke="currentColor" /><path d="m34 24 8 8-8 8m-10-8h18" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-table-previous-cell"><path d="M42 19V9a3 3 0 0 0-3-3H9a3 3 0 0 0-3 3v30a3 3 0 0 0 3 3h10" stroke="currentColor" /><path d="m32 24-8 8 8 8m-8-8h18" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-table-split-cell"><path d="M4 14V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v38a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-9m40 0v9a1 1 0 0 1-1 1H29a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v9M28 24l16 .013m-40 0L20 24" stroke="currentColor" /><path d="m39.227 28.778 1.592-1.591L44 24.005l-3.181-3.182-1.592-1.591M8.755 28.786l-1.59-1.59-3.183-3.183 3.182-3.182 1.591-1.59" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-table"><path d="M42 6H6a2 2 0 0 0-2 2v32a2 2 0 0 0 2 2h36a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2z" stroke="currentColor" /><path d="M4 18h40m-26.5 0v24m13-24v24M4 30h40m0-22v32a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-tag"><path d="M42.17 29.245 29.262 42.151a3.6 3.6 0 0 1-5.094 0L8 26V8h18l16.17 16.17a3.6 3.6 0 0 1 0 5.075z" stroke="currentColor" /><path fill-rule="evenodd" clip-rule="evenodd" d="M18.5 21a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5z" fill="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-task-list-2"><g clip-path="url(#icon-task-list-2_a)" stroke="currentColor"><path d="M42 20v19a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3V9a3 3 0 0 1 3-3h21" /><path d="m16 20 10 8L41 7" /></g><defs><clipPath id="icon-task-list-2_a"><path fill="currentColor" d="M0 0h48v48H0z" /></clipPath></defs></symbol><symbol viewBox="0 0 14 14" id="icon-task-list"><g fill="none" fill-rule="evenodd"><path d="M0 0h14v14H0z" /><path d="M13 5.667V12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h7" stroke="currentColor" /><path stroke="#0054a1" d="m4.333 5.667 3.334 2.666 5-7" /></g></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-template"><path d="M23 4H4v22h19V4zm21 30H4v9h40v-9zm0-30H31v8h13V4zm0 14H31v8h13v-8z" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-text-box"><path d="M12 4H4v8h8V4zm32 32h-8v8h8v-8zm-32 0H4v8h8v-8zM44 4h-8v8h8V4zM8 36V12m32 24V12M12 8h24M12 40h24" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-text"><path d="M10 44h28a2 2 0 0 0 2-2V14H30V4H10a2 2 0 0 0-2 2v36a2 2 0 0 0 2 2zM30 4l10 10m-16 8v14m-6-14h12" stroke="currentColor" /></symbol><symbol viewBox="0 0 16 16" class="bi bi-three-dots-vertical" id="icon-three-dots-vertical"><path d="M9.5 13a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm0-5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm0-5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-time"><path d="M24 44c9.389 0 17-7.611 17-17s-7.611-17-17-17S7 17.611 7 27s7.611 17 17 17zM31 4H17m21 6-3 3m-11 5v9" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-toc"><rect x="8" y="4" width="32" height="40" rx="2" stroke="currentColor" /><path d="M21 14h12M21 24h12M21 34h12" stroke="currentColor" /><path fill-rule="evenodd" clip-rule="evenodd" d="M15 16a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm0 10a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm0 10a2 2 0 1 0 0-4 2 2 0 0 0 0 4z" fill="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-toolbar-classic"><rect x="6" y="6" width="36" height="36" rx="3" stroke="currentColor" /><path d="M6 16h36M6 13v6m36-6v6" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-toolbar-professional"><rect x="6" y="6" width="36" height="36" rx="3" stroke="currentColor" /><path d="M6 32h36M6 29v6m36-6v6" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-toolbar-source"><rect x="4" y="8" width="40" height="32" rx="2" stroke="currentColor" /><path d="M4 10a2 2 0 0 1 2-2h36a2 2 0 0 1 2 2v6H4v-6zM25 23l-2 11M31 23l6 5-6 6M17 23l-6 5 6 6" stroke="currentColor" /></symbol><symbol viewBox="0 0 32 32" id="icon-toolbar"><style>#icon-toolbar .st0{fill:none;stroke:#000;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10}</style><path class="st0" d="M3 11h26M7 8h0M10 8h0M13 8h0M6 27H3V5h26v22h-3M16 30V17M11 29v-4M21 29v-4" /><path class="st0" d="m12 21 4-4 4 4" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-underline"><path d="M12.25 1.75V7a4.25 4.25 0 0 1-8.5 0V1.75m-.5 12.5h9.5" vector-effect="non-scaling-stroke" stroke="currentColor" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="icon-undo"><g stroke="currentColor"><path d="M2 4.75h7.5a4.75 4.75 0 1 1 0 9.5H5.75" vector-effect="non-scaling-stroke" /><path d="M4.886 1.75 1.894 4.743a.01.01 0 0 0 0 .014L4.886 7.75" vector-effect="non-scaling-stroke" /></g></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-video"><path d="M4 10a2 2 0 0 1 2-2h36a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V10zM36 8v32M12 8v32m26-22h6m-6 12h6M4 18h6m-6-2v4M9 8h6M9 40h6M33 8h6m-6 32h6M4 30h6m-6-2v4m40-4v4m0-16v4" stroke="currentColor" /><path d="m21 19 8 5-8 5V19z" stroke="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-view"><path d="M24 36c11.046 0 20-12 20-12s-8.954-12-20-12S4 24 4 24s8.954 12 20 12z" stroke="currentColor" /><path d="M24 29a5 5 0 1 0 0-10 5 5 0 0 0 0 10z" stroke="currentColor" /></symbol><symbol viewBox="0 0 24 24" id="icon-watermark"><g fill="none" fill-rule="evenodd"><path d="M0 0h24v24H0z" /><rect stroke="currentColor" x="3.5" y="1.5" width="17" height="21" rx="1" /><path d="m8.5 4.5-3 3m13 9L16 19M13.5 4.5l-8 8m13-7-13 13m13-7L11 19" opacity=".334" stroke="currentColor" /></g></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-web-page"><path d="M25 40H7a3 3 0 0 1-3-3V11a3 3 0 0 1 3-3h34a3 3 0 0 1 3 3v13.941" stroke="currentColor" /><path d="M4 11a3 3 0 0 1 3-3h34a3 3 0 0 1 3 3v9H4v-9zM32 35h12m-6-6v12" stroke="currentColor" /><circle r="2" transform="matrix(0 -1 -1 0 10 14)" fill="currentColor" /><circle r="2" transform="matrix(0 -1 -1 0 16 14)" fill="currentColor" /></symbol><symbol viewBox="0 0 48 48" fill="none" id="icon-word"><path d="M10 4h20l10 10v28a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z" stroke="currentColor" /><path d="m16.008 20 3 14 5-10 5 10 3-14" stroke="currentColor" /></symbol>',t.insertBefore(n,t.lastChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",e):e()}var fh=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function qu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Eo={exports:{}},ra={};var Ku;function Eh(){if(Ku)return ra;Ku=1;var e=I,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function o(s,l,c){var u,d={},_=null,m=null;c!==void 0&&(_=""+c),l.key!==void 0&&(_=""+l.key),l.ref!==void 0&&(m=l.ref);for(u in l)r.call(l,u)&&!a.hasOwnProperty(u)&&(d[u]=l[u]);if(s&&s.defaultProps)for(u in l=s.defaultProps,l)d[u]===void 0&&(d[u]=l[u]);return{$$typeof:t,type:s,key:_,ref:m,props:d,_owner:i.current}}return ra.Fragment=n,ra.jsx=o,ra.jsxs=o,ra}var ia={};var ju;function hh(){return ju||(ju=1,process.env.NODE_ENV!=="production"&&(function(){var e=I,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),f=Symbol.iterator,g="@@iterator";function E(N){if(N===null||typeof N!="object")return null;var $=f&&N[f]||N[g];return typeof $=="function"?$:null}var h=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function S(N){{for(var $=arguments.length,te=new Array($>1?$-1:0),fe=1;fe<$;fe++)te[fe-1]=arguments[fe];T("error",N,te)}}function T(N,$,te){{var fe=h.ReactDebugCurrentFrame,Ie=fe.getStackAddendum();Ie!==""&&($+="%s",te=te.concat([Ie]));var Fe=te.map(function(ve){return String(ve)});Fe.unshift("Warning: "+$),Function.prototype.apply.call(console[N],console,Fe)}}var y=!1,b=!1,v=!1,w=!1,P=!1,M;M=Symbol.for("react.module.reference");function k(N){return!!(typeof N=="string"||typeof N=="function"||N===r||N===a||P||N===i||N===c||N===u||w||N===m||y||b||v||typeof N=="object"&&N!==null&&(N.$$typeof===_||N.$$typeof===d||N.$$typeof===o||N.$$typeof===s||N.$$typeof===l||N.$$typeof===M||N.getModuleId!==void 0))}function G(N,$,te){var fe=N.displayName;if(fe)return fe;var Ie=$.displayName||$.name||"";return Ie!==""?te+"("+Ie+")":te}function C(N){return N.displayName||"Context"}function x(N){if(N==null)return null;if(typeof N.tag=="number"&&S("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof N=="function")return N.displayName||N.name||null;if(typeof N=="string")return N;switch(N){case r:return"Fragment";case n:return"Portal";case a:return"Profiler";case i:return"StrictMode";case c:return"Suspense";case u:return"SuspenseList"}if(typeof N=="object")switch(N.$$typeof){case s:var $=N;return C($)+".Consumer";case o:var te=N;return C(te._context)+".Provider";case l:return G(N,N.render,"ForwardRef");case d:var fe=N.displayName||null;return fe!==null?fe:x(N.type)||"Memo";case _:{var Ie=N,Fe=Ie._payload,ve=Ie._init;try{return x(ve(Fe))}catch{return null}}}return null}var O=Object.assign,R=0,L,B,V,D,U,z,X;function re(){}re.__reactDisabledLog=!0;function ie(){{if(R===0){L=console.log,B=console.info,V=console.warn,D=console.error,U=console.group,z=console.groupCollapsed,X=console.groupEnd;var N={configurable:!0,enumerable:!0,value:re,writable:!0};Object.defineProperties(console,{info:N,log:N,warn:N,error:N,group:N,groupCollapsed:N,groupEnd:N})}R++}}function ue(){{if(R--,R===0){var N={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:O({},N,{value:L}),info:O({},N,{value:B}),warn:O({},N,{value:V}),error:O({},N,{value:D}),group:O({},N,{value:U}),groupCollapsed:O({},N,{value:z}),groupEnd:O({},N,{value:X})})}R<0&&S("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ae=h.ReactCurrentDispatcher,le;function de(N,$,te){{if(le===void 0)try{throw Error()}catch(Ie){var fe=Ie.stack.trim().match(/\n( *(at )?)/);le=fe&&fe[1]||""}return`
|
|
19
3
|
`+le+N}}var me=!1,pe;{var Ue=typeof WeakMap=="function"?WeakMap:Map;pe=new Ue}function Q(N,$){if(!N||me)return"";{var te=pe.get(N);if(te!==void 0)return te}var fe;me=!0;var Ie=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Fe;Fe=ae.current,ae.current=null,ie();try{if($){var ve=function(){throw Error()};if(Object.defineProperty(ve.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ve,[])}catch(Dt){fe=Dt}Reflect.construct(N,[],ve)}else{try{ve.call()}catch(Dt){fe=Dt}N.call(ve.prototype)}}else{try{throw Error()}catch(Dt){fe=Dt}N()}}catch(Dt){if(Dt&&fe&&typeof Dt.stack=="string"){for(var be=Dt.stack.split(`
|
|
20
4
|
`),At=fe.stack.split(`
|
|
21
5
|
`),tt=be.length-1,it=At.length-1;tt>=1&&it>=0&&be[tt]!==At[it];)it--;for(;tt>=1&&it>=0;tt--,it--)if(be[tt]!==At[it]){if(tt!==1||it!==1)do if(tt--,it--,it<0||be[tt]!==At[it]){var dt=`
|
|
@@ -44,8 +28,8 @@ ${E}
|
|
|
44
28
|
`);b.trim()&&(t.customNestedParser?S=t.customNestedParser(b):S=n.blockTokens(b))}const y=t.createToken(f,S);l.push(y)}if(l.length!==0)return{items:l,raw:c.trim()}}function kb(e,t,n,r){if(!e||!Array.isArray(e.content))return"";const i=typeof n=="function"?n(r):n,[a,...o]=e.content,s=t.renderChildren([a]),l=[`${i}${s}`];return o&&o.length>0&&o.forEach(c=>{const u=t.renderChildren([c]);if(u){const d=u.split(`
|
|
45
29
|
`).map(_=>_?t.indent(_):"").join(`
|
|
46
30
|
`);l.push(d)}}),l.join(`
|
|
47
|
-
`)}var Sn=class rh extends mc{constructor(){super(...arguments),this.type="node"}static create(t={}){const n=typeof t=="function"?t():t;return new rh(n)}configure(t){return super.configure(t)}extend(t){const n=typeof t=="function"?t():t;return super.extend(n)}};function fi(e){return new gb({find:e.find,handler:({state:t,range:n,match:r,pasteEvent:i})=>{const a=gi(e.getAttributes,void 0,r,i);if(a===!1||a===null)return null;const{tr:o}=t,s=r[r.length-1],l=r[0];let c=n.to;if(s){const u=l.search(/\S/),d=n.from+l.indexOf(s),_=d+s.length;if(dc(n.from,n.to,t.doc).filter(f=>f.mark.type.excluded.find(E=>E===e.type&&E!==f.mark.type)).filter(f=>f.to>d).length)return null;_<n.to&&o.delete(_,n.to),d>n.from&&o.delete(n.from+u,d),c=n.from+u+s.length,o.addMark(n.from+u,c,e.type.create(a||{})),o.removeStoredMark(e.type)}}})}const ln=()=>new Map,Ec=e=>{const t=ln();return e.forEach((n,r)=>{t.set(r,n)}),t},kn=(e,t,n)=>{let r=e.get(t);return r===void 0&&e.set(t,r=n()),r},Lb=(e,t)=>{const n=[];for(const[r,i]of e)n.push(t(i,r));return n},Pb=(e,t)=>{for(const[n,r]of e)if(t(r,n))return!0;return!1},Wr=()=>new Set,hc=e=>e[e.length-1],Ub=(e,t)=>{for(let n=0;n<t.length;n++)e.push(t[n])},qr=Array.from,Fb=(e,t)=>{for(let n=0;n<e.length;n++)if(t(e[n],n,e))return!0;return!1},Sc=Array.isArray;class I_{constructor(){this._observers=ln()}on(t,n){return kn(this._observers,t,Wr).add(n),n}once(t,n){const r=(...i)=>{this.off(t,r),n(...i)};this.on(t,r)}off(t,n){const r=this._observers.get(t);r!==void 0&&(r.delete(n),r.size===0&&this._observers.delete(t))}emit(t,n){return qr((this._observers.get(t)||ln()).values()).forEach(r=>r(...n))}destroy(){this._observers=ln()}}const ar=Math.floor,xo=Math.abs,or=(e,t)=>e<t?e:t,Ln=(e,t)=>e>t?e:t,x_=e=>e!==0?e<0:1/e<0,w_=1,D_=2,bc=4,Tc=8,_a=32,sr=64,Bt=128,Bb=1<<29,wo=31,Cc=63,Kr=127,Gb=2147483647,M_=Number.MAX_SAFE_INTEGER,Hb=Number.isInteger||(e=>typeof e=="number"&&isFinite(e)&&ar(e)===e),Yb=String.fromCharCode,zb=e=>e.toLowerCase(),Vb=/^\s*/g,$b=e=>e.replace(Vb,""),Wb=/([A-Z])/g,k_=(e,t)=>$b(e.replace(Wb,n=>`${t}${zb(n)}`)),qb=e=>{const t=unescape(encodeURIComponent(e)),n=t.length,r=new Uint8Array(n);for(let i=0;i<n;i++)r[i]=t.codePointAt(i);return r},pa=typeof TextEncoder<"u"?new TextEncoder:null,Kb=pa?e=>pa.encode(e):qb;let ma=typeof TextDecoder>"u"?null:new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0});ma&&ma.decode(new Uint8Array).length===1&&(ma=null);class ga{constructor(){this.cpos=0,this.cbuf=new Uint8Array(100),this.bufs=[]}}const fa=()=>new ga,jb=e=>{const t=fa();return e(t),bn(t)},Qb=e=>{let t=e.cpos;for(let n=0;n<e.bufs.length;n++)t+=e.bufs[n].length;return t},bn=e=>{const t=new Uint8Array(Qb(e));let n=0;for(let r=0;r<e.bufs.length;r++){const i=e.bufs[r];t.set(i,n),n+=i.length}return t.set(new Uint8Array(e.cbuf.buffer,0,e.cpos),n),t},Xb=(e,t)=>{const n=e.cbuf.length;n-e.cpos<t&&(e.bufs.push(new Uint8Array(e.cbuf.buffer,0,e.cpos)),e.cbuf=new Uint8Array(Ln(n,t)*2),e.cpos=0)},Rt=(e,t)=>{const n=e.cbuf.length;e.cpos===n&&(e.bufs.push(e.cbuf),e.cbuf=new Uint8Array(n*2),e.cpos=0),e.cbuf[e.cpos++]=t},yc=Rt,Ae=(e,t)=>{for(;t>Kr;)Rt(e,Bt|Kr&t),t=ar(t/128);Rt(e,Kr&t)},vc=(e,t)=>{const n=x_(t);for(n&&(t=-t),Rt(e,(t>Cc?Bt:0)|(n?sr:0)|Cc&t),t=ar(t/64);t>0;)Rt(e,(t>Kr?Bt:0)|Kr&t),t=ar(t/128)},Rc=new Uint8Array(3e4),Zb=Rc.length/3,Jb=(e,t)=>{if(t.length<Zb){const n=pa.encodeInto(t,Rc).written||0;Ae(e,n);for(let r=0;r<n;r++)Rt(e,Rc[r])}else en(e,Kb(t))},eT=(e,t)=>{const n=unescape(encodeURIComponent(t)),r=n.length;Ae(e,r);for(let i=0;i<r;i++)Rt(e,n.codePointAt(i))},Ei=pa&&pa.encodeInto?Jb:eT,Do=(e,t)=>{const n=e.cbuf.length,r=e.cpos,i=or(n-r,t.length),a=t.length-i;e.cbuf.set(t.subarray(0,i),r),e.cpos+=i,a>0&&(e.bufs.push(e.cbuf),e.cbuf=new Uint8Array(Ln(n*2,a)),e.cbuf.set(t.subarray(i)),e.cpos=a)},en=(e,t)=>{Ae(e,t.byteLength),Do(e,t)},Nc=(e,t)=>{Xb(e,t);const n=new DataView(e.cbuf.buffer,e.cpos,t);return e.cpos+=t,n},tT=(e,t)=>Nc(e,4).setFloat32(0,t,!1),nT=(e,t)=>Nc(e,8).setFloat64(0,t,!1),rT=(e,t)=>Nc(e,8).setBigInt64(0,t,!1),L_=new DataView(new ArrayBuffer(4)),iT=e=>(L_.setFloat32(0,e),L_.getFloat32(0)===e),hi=(e,t)=>{switch(typeof t){case"string":Rt(e,119),Ei(e,t);break;case"number":Hb(t)&&xo(t)<=Gb?(Rt(e,125),vc(e,t)):iT(t)?(Rt(e,124),tT(e,t)):(Rt(e,123),nT(e,t));break;case"bigint":Rt(e,122),rT(e,t);break;case"object":if(t===null)Rt(e,126);else if(Sc(t)){Rt(e,117),Ae(e,t.length);for(let n=0;n<t.length;n++)hi(e,t[n])}else if(t instanceof Uint8Array)Rt(e,116),en(e,t);else{Rt(e,118);const n=Object.keys(t);Ae(e,n.length);for(let r=0;r<n.length;r++){const i=n[r];Ei(e,i),hi(e,t[i])}}break;case"boolean":Rt(e,t?120:121);break;default:Rt(e,127)}};class P_ extends ga{constructor(t){super(),this.w=t,this.s=null,this.count=0}write(t){this.s===t?this.count++:(this.count>0&&Ae(this,this.count-1),this.count=1,this.w(this,t),this.s=t)}}const U_=e=>{e.count>0&&(vc(e.encoder,e.count===1?e.s:-e.s),e.count>1&&Ae(e.encoder,e.count-2))};class Mo{constructor(){this.encoder=new ga,this.s=0,this.count=0}write(t){this.s===t?this.count++:(U_(this),this.count=1,this.s=t)}toUint8Array(){return U_(this),bn(this.encoder)}}const F_=e=>{if(e.count>0){const t=e.diff*2+(e.count===1?0:1);vc(e.encoder,t),e.count>1&&Ae(e.encoder,e.count-2)}};class Oc{constructor(){this.encoder=new ga,this.s=0,this.count=0,this.diff=0}write(t){this.diff===t-this.s?(this.s=t,this.count++):(F_(this),this.count=1,this.diff=t-this.s,this.s=t)}toUint8Array(){return F_(this),bn(this.encoder)}}class aT{constructor(){this.sarr=[],this.s="",this.lensE=new Mo}write(t){this.s+=t,this.s.length>19&&(this.sarr.push(this.s),this.s=""),this.lensE.write(t.length)}toUint8Array(){const t=new ga;return this.sarr.push(this.s),this.s="",Ei(t,this.sarr.join("")),Do(t,this.lensE.toUint8Array()),bn(t)}}const Or=e=>new Error(e),Tn=()=>{throw Or("Method unimplemented")},zt=()=>{throw Or("Unexpected case")},B_=Or("Unexpected end of array"),G_=Or("Integer out of Range");class ko{constructor(t){this.arr=t,this.pos=0}}const Ac=e=>new ko(e),oT=e=>e.pos!==e.arr.length,sT=(e,t)=>{const n=new Uint8Array(e.arr.buffer,e.pos+e.arr.byteOffset,t);return e.pos+=t,n},cn=e=>sT(e,je(e)),Ea=e=>e.arr[e.pos++],je=e=>{let t=0,n=1;const r=e.arr.length;for(;e.pos<r;){const i=e.arr[e.pos++];if(t=t+(i&Kr)*n,n*=128,i<Bt)return t;if(t>M_)throw G_}throw B_},Ic=e=>{let t=e.arr[e.pos++],n=t&Cc,r=64;const i=(t&sr)>0?-1:1;if((t&Bt)===0)return i*n;const a=e.arr.length;for(;e.pos<a;){if(t=e.arr[e.pos++],n=n+(t&Kr)*r,r*=128,t<Bt)return i*n;if(n>M_)throw G_}throw B_},xc=ma?e=>ma.decode(cn(e)):e=>{let t=je(e);if(t===0)return"";{let n=String.fromCodePoint(Ea(e));if(--t<100)for(;t--;)n+=String.fromCodePoint(Ea(e));else for(;t>0;){const r=t<1e4?t:1e4,i=e.arr.subarray(e.pos,e.pos+r);e.pos+=r,n+=String.fromCodePoint.apply(null,i),t-=r}return decodeURIComponent(escape(n))}},wc=(e,t)=>{const n=new DataView(e.arr.buffer,e.arr.byteOffset+e.pos,t);return e.pos+=t,n},lT=[e=>{},e=>null,Ic,e=>wc(e,4).getFloat32(0,!1),e=>wc(e,8).getFloat64(0,!1),e=>wc(e,8).getBigInt64(0,!1),e=>!1,e=>!0,xc,e=>{const t=je(e),n={};for(let r=0;r<t;r++){const i=xc(e);n[i]=Lo(e)}return n},e=>{const t=je(e),n=[];for(let r=0;r<t;r++)n.push(Lo(e));return n},cn],Lo=e=>lT[127-Ea(e)](e);class H_ extends ko{constructor(t,n){super(t),this.reader=n,this.s=null,this.count=0}read(){return this.count===0&&(this.s=this.reader(this),oT(this)?this.count=je(this)+1:this.count=-1),this.count--,this.s}}class Po extends ko{constructor(t){super(t),this.s=0,this.count=0}read(){if(this.count===0){this.s=Ic(this);const t=x_(this.s);this.count=1,t&&(this.s=-this.s,this.count=je(this)+2)}return this.count--,this.s}}class Dc extends ko{constructor(t){super(t),this.s=0,this.count=0,this.diff=0}read(){if(this.count===0){const t=Ic(this),n=t&1;this.diff=ar(t/2),this.count=1,n&&(this.count=je(this)+2)}return this.s+=this.diff,this.count--,this.s}}class cT{constructor(t){this.decoder=new Po(t),this.str=xc(this.decoder),this.spos=0}read(){const t=this.spos+this.decoder.read(),n=this.str.slice(this.spos,t);return this.spos=t,n}}const dT=crypto.getRandomValues.bind(crypto),uT=Math.random,Y_=()=>dT(new Uint32Array(1))[0],_T=e=>e[ar(uT()*e.length)],pT="10000000-1000-4000-8000"+-1e11,mT=()=>pT.replace(/[018]/g,e=>(e^Y_()&15>>e/4).toString(16)),gT=Date.now,z_=e=>new Promise(e);Promise.all.bind(Promise);const V_=e=>e===void 0?null:e;class fT{constructor(){this.map=new Map}setItem(t,n){this.map.set(t,n)}getItem(t){return this.map.get(t)}}let $_=new fT,ET=!0;try{typeof localStorage<"u"&&localStorage&&($_=localStorage,ET=!1)}catch{}const hT=$_,ST=Object.assign,W_=Object.keys,bT=(e,t)=>{for(const n in e)t(e[n],n)},q_=e=>W_(e).length,TT=e=>{for(const t in e)return!1;return!0},K_=(e,t)=>{for(const n in e)if(!t(e[n],n))return!1;return!0},CT=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),yT=(e,t)=>e===t||q_(e)===q_(t)&&K_(e,(n,r)=>(n!==void 0||CT(t,r))&&t[r]===n),vT=Object.freeze,j_=e=>{for(const t in e){const n=e[t];(typeof n=="object"||typeof n=="function")&&j_(e[t])}return vT(e)},Mc=(e,t,n=0)=>{try{for(;n<e.length;n++)e[n](...t)}finally{n<e.length&&Mc(e,t,n+1)}},RT=(e,t)=>t.includes(e),Si=typeof process<"u"&&process.release&&/node|io\.js/.test(process.release.name)&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]",Q_=typeof window<"u"&&typeof document<"u"&&!Si;let Pn;const NT=()=>{if(Pn===void 0)if(Si){Pn=ln();const e=process.argv;let t=null;for(let n=0;n<e.length;n++){const r=e[n];r[0]==="-"?(t!==null&&Pn.set(t,""),t=r):t!==null&&(Pn.set(t,r),t=null)}t!==null&&Pn.set(t,"")}else typeof location=="object"?(Pn=ln(),(location.search||"?").slice(1).split("&").forEach(e=>{if(e.length!==0){const[t,n]=e.split("=");Pn.set(`--${k_(t,"-")}`,n),Pn.set(`-${k_(t,"-")}`,n)}})):Pn=ln();return Pn},kc=e=>NT().has(e),Uo=e=>V_(Si?process.env[e.toUpperCase().replaceAll("-","_")]:hT.getItem(e)),X_=e=>kc("--"+e)||Uo(e)!==null;X_("production");const OT=Si&&RT(process.env.FORCE_COLOR,["true","1","2"])||!kc("--no-colors")&&!X_("no-color")&&(!Si||process.stdout.isTTY)&&(!Si||kc("--color")||Uo("COLORTERM")!==null||(Uo("TERM")||"").includes("color")),AT=Q_?e=>{let t="";for(let n=0;n<e.byteLength;n++)t+=Yb(e[n]);return btoa(t)}:e=>Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString("base64"),IT=e=>jb(t=>hi(t,e));class xT{constructor(t,n){this.left=t,this.right=n}}const lr=(e,t)=>new xT(e,t),wT=typeof document<"u"?document:{};typeof DOMParser<"u"&&new DOMParser;const DT=e=>Lb(e,(t,n)=>`${n}:${t};`).join(""),MT=(e=>class{constructor(n){this._=n}destroy(){e(this._)}})(clearTimeout),Lc=(e,t)=>new MT(setTimeout(t,e)),cr=Symbol,Z_=cr(),J_=cr(),kT=cr(),LT=cr(),PT=cr(),ep=cr(),UT=cr(),Pc=cr(),FT=cr(),BT=e=>{e.length===1&&e[0]?.constructor===Function&&(e=e[0]());const t=[],n=[];let r=0;for(;r<e.length;r++){const i=e[r];if(i===void 0)break;if(i.constructor===String||i.constructor===Number)t.push(i);else if(i.constructor===Object)break}for(r>0&&n.push(t.join(""));r<e.length;r++){const i=e[r];i instanceof Symbol||n.push(i)}return n},GT={[Z_]:lr("font-weight","bold"),[J_]:lr("font-weight","normal"),[kT]:lr("color","blue"),[PT]:lr("color","green"),[LT]:lr("color","grey"),[ep]:lr("color","red"),[UT]:lr("color","purple"),[Pc]:lr("color","orange"),[FT]:lr("color","black")},tp=OT?e=>{e.length===1&&e[0]?.constructor===Function&&(e=e[0]());const t=[],n=[],r=ln();let i=[],a=0;for(;a<e.length;a++){const o=e[a],s=GT[o];if(s!==void 0)r.set(s.left,s.right);else{if(o===void 0)break;if(o.constructor===String||o.constructor===Number){const l=DT(r);a>0||l.length>0?(t.push("%c"+o),n.push(l)):t.push(o)}else break}}for(a>0&&(i=n,i.unshift(t.join("")));a<e.length;a++){const o=e[a];o instanceof Symbol||i.push(o)}return i}:BT,HT=(...e)=>{console.log(...tp(e)),rp.forEach(t=>t.print(e))},np=(...e)=>{console.warn(...tp(e)),e.unshift(Pc),rp.forEach(t=>t.print(e))},rp=Wr(),ip=e=>({[Symbol.iterator](){return this},next:e}),YT=(e,t)=>ip(()=>{let n;do n=e.next();while(!n.done&&!t(n.value));return n}),Uc=(e,t)=>ip(()=>{const{done:n,value:r}=e.next();return{done:n,value:n?void 0:t(r)}});class Fc{constructor(t,n){this.clock=t,this.len=n}}class bi{constructor(){this.clients=new Map}}const Ar=(e,t,n)=>t.clients.forEach((r,i)=>{const a=e.doc.store.clients.get(i);if(a!=null){const o=a[a.length-1],s=o.id.clock+o.length;for(let l=0,c=r[l];l<r.length&&c.clock<s;c=r[++l])hp(e,a,c.clock,c.len,n)}}),zT=(e,t)=>{let n=0,r=e.length-1;for(;n<=r;){const i=ar((n+r)/2),a=e[i],o=a.clock;if(o<=t){if(t<o+a.len)return i;n=i+1}else r=i-1}return null},Ti=(e,t)=>{const n=e.clients.get(t.client);return n!==void 0&&zT(n,t.clock)!==null},Bc=e=>{e.clients.forEach(t=>{t.sort((i,a)=>i.clock-a.clock);let n,r;for(n=1,r=1;n<t.length;n++){const i=t[r-1],a=t[n];i.clock+i.len>=a.clock?i.len=Ln(i.len,a.clock+a.len-i.clock):(r<n&&(t[r]=a),r++)}t.length=r})},Gc=e=>{const t=new bi;for(let n=0;n<e.length;n++)e[n].clients.forEach((r,i)=>{if(!t.clients.has(i)){const a=r.slice();for(let o=n+1;o<e.length;o++)Ub(a,e[o].clients.get(i)||[]);t.clients.set(i,a)}});return Bc(t),t},ha=(e,t,n,r)=>{kn(e.clients,t,()=>[]).push(new Fc(n,r))},ap=()=>new bi,VT=e=>{const t=ap();return e.clients.forEach((n,r)=>{const i=[];for(let a=0;a<n.length;a++){const o=n[a];if(o.deleted){const s=o.id.clock;let l=o.length;if(a+1<n.length)for(let c=n[a+1];a+1<n.length&&c.deleted;c=n[++a+1])l+=c.length;i.push(new Fc(s,l))}}i.length>0&&t.clients.set(r,i)}),t},Hc=(e,t)=>{Ae(e.restEncoder,t.clients.size),qr(t.clients.entries()).sort((n,r)=>r[0]-n[0]).forEach(([n,r])=>{e.resetDsCurVal(),Ae(e.restEncoder,n);const i=r.length;Ae(e.restEncoder,i);for(let a=0;a<i;a++){const o=r[a];e.writeDsClock(o.clock),e.writeDsLen(o.len)}})},$T=e=>{const t=new bi,n=je(e.restDecoder);for(let r=0;r<n;r++){e.resetDsCurVal();const i=je(e.restDecoder),a=je(e.restDecoder);if(a>0){const o=kn(t.clients,i,()=>[]);for(let s=0;s<a;s++)o.push(new Fc(e.readDsClock(),e.readDsLen()))}}return t},op=(e,t,n)=>{const r=new bi,i=je(e.restDecoder);for(let a=0;a<i;a++){e.resetDsCurVal();const o=je(e.restDecoder),s=je(e.restDecoder),l=n.clients.get(o)||[],c=_t(n,o);for(let u=0;u<s;u++){const d=e.readDsClock(),_=d+e.readDsLen();if(d<c){c<_&&ha(r,o,c,_-c);let m=Cn(l,d),f=l[m];for(!f.deleted&&f.id.clock<d&&(l.splice(m+1,0,Zo(t,f,d-f.id.clock)),m++);m<l.length&&(f=l[m++],f.id.clock<_);)f.deleted||(_<f.id.clock+f.length&&l.splice(m,0,Zo(t,f,_-f.id.clock)),f.delete(t))}else ha(r,o,d,_-d)}}if(r.clients.size>0){const a=new Bo;return Ae(a.restEncoder,0),Hc(a,r),a.toUint8Array()}return null},sp=Y_;class jr extends I_{constructor({guid:t=mT(),collectionid:n=null,gc:r=!0,gcFilter:i=()=>!0,meta:a=null,autoLoad:o=!1,shouldLoad:s=!0}={}){super(),this.gc=r,this.gcFilter=i,this.clientID=sp(),this.guid=t,this.collectionid=n,this.share=new Map,this.store=new gp,this._transaction=null,this._transactionCleanups=[],this.subdocs=new Set,this._item=null,this.shouldLoad=s,this.autoLoad=o,this.meta=a,this.isLoaded=!1,this.isSynced=!1,this.isDestroyed=!1,this.whenLoaded=z_(c=>{this.on("load",()=>{this.isLoaded=!0,c(this)})});const l=()=>z_(c=>{const u=d=>{(d===void 0||d===!0)&&(this.off("sync",u),c())};this.on("sync",u)});this.on("sync",c=>{c===!1&&this.isSynced&&(this.whenSynced=l()),this.isSynced=c===void 0||c===!0,this.isSynced&&!this.isLoaded&&this.emit("load",[this])}),this.whenSynced=l()}load(){const t=this._item;t!==null&&!this.shouldLoad&&We(t.parent.doc,n=>{n.subdocsLoaded.add(this)},null,!0),this.shouldLoad=!0}getSubdocs(){return this.subdocs}getSubdocGuids(){return new Set(qr(this.subdocs).map(t=>t.guid))}transact(t,n=null){return We(this,t,n)}get(t,n=Nt){const r=kn(this.share,t,()=>{const a=new n;return a._integrate(this,null),a}),i=r.constructor;if(n!==Nt&&i!==n)if(i===Nt){const a=new n;a._map=r._map,r._map.forEach(o=>{for(;o!==null;o=o.left)o.parent=a}),a._start=r._start;for(let o=a._start;o!==null;o=o.right)o.parent=a;return a._length=r._length,this.share.set(t,a),a._integrate(this,null),a}else throw new Error(`Type with the name ${t} has already been defined with a different constructor`);return r}getArray(t=""){return this.get(t,Ri)}getText(t=""){return this.get(t,xr)}getMap(t=""){return this.get(t,Ni)}getXmlElement(t=""){return this.get(t,Lt)}getXmlFragment(t=""){return this.get(t,Xr)}toJSON(){const t={};return this.share.forEach((n,r)=>{t[r]=n.toJSON()}),t}destroy(){this.isDestroyed=!0,qr(this.subdocs).forEach(n=>n.destroy());const t=this._item;if(t!==null){this._item=null;const n=t.content;n.doc=new jr({guid:this.guid,...n.opts,shouldLoad:!1}),n.doc._item=t,We(t.parent.doc,r=>{const i=n.doc;t.deleted||r.subdocsAdded.add(i),r.subdocsRemoved.add(this)},null,!0)}this.emit("destroyed",[!0]),this.emit("destroy",[this]),super.destroy()}}class WT{constructor(t){this.dsCurrVal=0,this.restDecoder=t}resetDsCurVal(){this.dsCurrVal=0}readDsClock(){return this.dsCurrVal+=je(this.restDecoder),this.dsCurrVal}readDsLen(){const t=je(this.restDecoder)+1;return this.dsCurrVal+=t,t}}class Fo extends WT{constructor(t){super(t),this.keys=[],je(t),this.keyClockDecoder=new Dc(cn(t)),this.clientDecoder=new Po(cn(t)),this.leftClockDecoder=new Dc(cn(t)),this.rightClockDecoder=new Dc(cn(t)),this.infoDecoder=new H_(cn(t),Ea),this.stringDecoder=new cT(cn(t)),this.parentInfoDecoder=new H_(cn(t),Ea),this.typeRefDecoder=new Po(cn(t)),this.lenDecoder=new Po(cn(t))}readLeftID(){return new Ci(this.clientDecoder.read(),this.leftClockDecoder.read())}readRightID(){return new Ci(this.clientDecoder.read(),this.rightClockDecoder.read())}readClient(){return this.clientDecoder.read()}readInfo(){return this.infoDecoder.read()}readString(){return this.stringDecoder.read()}readParentInfo(){return this.parentInfoDecoder.read()===1}readTypeRef(){return this.typeRefDecoder.read()}readLen(){return this.lenDecoder.read()}readAny(){return Lo(this.restDecoder)}readBuf(){return cn(this.restDecoder)}readJSON(){return Lo(this.restDecoder)}readKey(){const t=this.keyClockDecoder.read();if(t<this.keys.length)return this.keys[t];{const n=this.stringDecoder.read();return this.keys.push(n),n}}}class qT{constructor(){this.restEncoder=fa()}toUint8Array(){return bn(this.restEncoder)}resetDsCurVal(){}writeDsClock(t){Ae(this.restEncoder,t)}writeDsLen(t){Ae(this.restEncoder,t)}}class KT extends qT{writeLeftID(t){Ae(this.restEncoder,t.client),Ae(this.restEncoder,t.clock)}writeRightID(t){Ae(this.restEncoder,t.client),Ae(this.restEncoder,t.clock)}writeClient(t){Ae(this.restEncoder,t)}writeInfo(t){yc(this.restEncoder,t)}writeString(t){Ei(this.restEncoder,t)}writeParentInfo(t){Ae(this.restEncoder,t?1:0)}writeTypeRef(t){Ae(this.restEncoder,t)}writeLen(t){Ae(this.restEncoder,t)}writeAny(t){hi(this.restEncoder,t)}writeBuf(t){en(this.restEncoder,t)}writeJSON(t){Ei(this.restEncoder,JSON.stringify(t))}writeKey(t){Ei(this.restEncoder,t)}}class jT{constructor(){this.restEncoder=fa(),this.dsCurrVal=0}toUint8Array(){return bn(this.restEncoder)}resetDsCurVal(){this.dsCurrVal=0}writeDsClock(t){const n=t-this.dsCurrVal;this.dsCurrVal=t,Ae(this.restEncoder,n)}writeDsLen(t){t===0&&zt(),Ae(this.restEncoder,t-1),this.dsCurrVal+=t}}class Bo extends jT{constructor(){super(),this.keyMap=new Map,this.keyClock=0,this.keyClockEncoder=new Oc,this.clientEncoder=new Mo,this.leftClockEncoder=new Oc,this.rightClockEncoder=new Oc,this.infoEncoder=new P_(yc),this.stringEncoder=new aT,this.parentInfoEncoder=new P_(yc),this.typeRefEncoder=new Mo,this.lenEncoder=new Mo}toUint8Array(){const t=fa();return Ae(t,0),en(t,this.keyClockEncoder.toUint8Array()),en(t,this.clientEncoder.toUint8Array()),en(t,this.leftClockEncoder.toUint8Array()),en(t,this.rightClockEncoder.toUint8Array()),en(t,bn(this.infoEncoder)),en(t,this.stringEncoder.toUint8Array()),en(t,bn(this.parentInfoEncoder)),en(t,this.typeRefEncoder.toUint8Array()),en(t,this.lenEncoder.toUint8Array()),Do(t,bn(this.restEncoder)),bn(t)}writeLeftID(t){this.clientEncoder.write(t.client),this.leftClockEncoder.write(t.clock)}writeRightID(t){this.clientEncoder.write(t.client),this.rightClockEncoder.write(t.clock)}writeClient(t){this.clientEncoder.write(t)}writeInfo(t){this.infoEncoder.write(t)}writeString(t){this.stringEncoder.write(t)}writeParentInfo(t){this.parentInfoEncoder.write(t?1:0)}writeTypeRef(t){this.typeRefEncoder.write(t)}writeLen(t){this.lenEncoder.write(t)}writeAny(t){hi(this.restEncoder,t)}writeBuf(t){en(this.restEncoder,t)}writeJSON(t){hi(this.restEncoder,t)}writeKey(t){const n=this.keyMap.get(t);n===void 0?(this.keyClockEncoder.write(this.keyClock++),this.stringEncoder.write(t)):this.keyClockEncoder.write(n)}}const QT=(e,t,n,r)=>{r=Ln(r,t[0].id.clock);const i=Cn(t,r);Ae(e.restEncoder,t.length-i),e.writeClient(n),Ae(e.restEncoder,r);const a=t[i];a.write(e,r-a.id.clock);for(let o=i+1;o<t.length;o++)t[o].write(e,0)},lp=(e,t,n)=>{const r=new Map;n.forEach((i,a)=>{_t(t,a)>i&&r.set(a,i)}),Ho(t).forEach((i,a)=>{n.has(a)||r.set(a,0)}),Ae(e.restEncoder,r.size),qr(r.entries()).sort((i,a)=>a[0]-i[0]).forEach(([i,a])=>{QT(e,t.clients.get(i),i,a)})},XT=(e,t)=>{const n=ln(),r=je(e.restDecoder);for(let i=0;i<r;i++){const a=je(e.restDecoder),o=new Array(a),s=e.readClient();let l=je(e.restDecoder);n.set(s,{i:0,refs:o});for(let c=0;c<a;c++){const u=e.readInfo();switch(wo&u){case 0:{const d=e.readLen();o[c]=new dn(Ce(s,l),d),l+=d;break}case 10:{const d=je(e.restDecoder);o[c]=new Rn(Ce(s,l),d),l+=d;break}default:{const d=(u&(sr|Bt))===0,_=new Be(Ce(s,l),null,(u&Bt)===Bt?e.readLeftID():null,null,(u&sr)===sr?e.readRightID():null,d?e.readParentInfo()?t.get(e.readString()):e.readLeftID():null,d&&(u&_a)===_a?e.readString():null,Qp(e,u));o[c]=_,l+=_.length}}}}return n},ZT=(e,t,n)=>{const r=[];let i=qr(n.keys()).sort((m,f)=>m-f);if(i.length===0)return null;const a=()=>{if(i.length===0)return null;let m=n.get(i[i.length-1]);for(;m.refs.length===m.i;)if(i.pop(),i.length>0)m=n.get(i[i.length-1]);else return null;return m};let o=a();if(o===null)return null;const s=new gp,l=new Map,c=(m,f)=>{const g=l.get(m);(g==null||g>f)&&l.set(m,f)};let u=o.refs[o.i++];const d=new Map,_=()=>{for(const m of r){const f=m.id.client,g=n.get(f);g?(g.i--,s.clients.set(f,g.refs.slice(g.i)),n.delete(f),g.i=0,g.refs=[]):s.clients.set(f,[m]),i=i.filter(E=>E!==f)}r.length=0};for(;;){if(u.constructor!==Rn){const f=kn(d,u.id.client,()=>_t(t,u.id.client))-u.id.clock;if(f<0)r.push(u),c(u.id.client,u.id.clock-1),_();else{const g=u.getMissing(e,t);if(g!==null){r.push(u);const E=n.get(g)||{refs:[],i:0};if(E.refs.length===E.i)c(g,_t(t,g)),_();else{u=E.refs[E.i++];continue}}else(f===0||f<u.length)&&(u.integrate(e,f),d.set(u.id.client,u.id.clock+u.length))}}if(r.length>0)u=r.pop();else if(o!==null&&o.i<o.refs.length)u=o.refs[o.i++];else{if(o=a(),o===null)break;u=o.refs[o.i++]}}if(s.clients.size>0){const m=new Bo;return lp(m,s,new Map),Ae(m.restEncoder,0),{missing:l,update:m.toUint8Array()}}return null},JT=(e,t)=>lp(e,t.doc.store,t.beforeState),eC=(e,t,n,r=new Fo(e))=>We(t,i=>{i.local=!1;let a=!1;const o=i.doc,s=o.store,l=XT(r,o),c=ZT(i,s,l),u=s.pendingStructs;if(u){for(const[_,m]of u.missing)if(m<_t(s,_)){a=!0;break}if(c){for(const[_,m]of c.missing){const f=u.missing.get(_);(f==null||f>m)&&u.missing.set(_,m)}u.update=Rp([u.update,c.update])}}else s.pendingStructs=c;const d=op(r,i,s);if(s.pendingDs){const _=new Fo(Ac(s.pendingDs));je(_.restDecoder);const m=op(_,i,s);d&&m?s.pendingDs=Rp([d,m]):s.pendingDs=d||m}else s.pendingDs=d;if(a){const _=s.pendingStructs.update;s.pendingStructs=null,Yc(i.doc,_)}},n,!1),Yc=(e,t,n,r=Fo)=>{const i=Ac(t);eC(i,e,n,new r(i))};class tC{constructor(){this.l=[]}}const cp=()=>new tC,dp=(e,t)=>e.l.push(t),up=(e,t)=>{const n=e.l,r=n.length;e.l=n.filter(i=>t!==i),r===e.l.length&&console.error("[yjs] Tried to remove event handler that doesn't exist.")},_p=(e,t,n)=>Mc(e.l,[t,n]);class Ci{constructor(t,n){this.client=t,this.clock=n}}const yi=(e,t)=>e===t||e!==null&&t!==null&&e.client===t.client&&e.clock===t.clock,Ce=(e,t)=>new Ci(e,t),Sa=e=>{for(const[t,n]of e.doc.share.entries())if(n===e)return t;throw zt()},ba=(e,t)=>{for(;t!==null;){if(t.parent===e)return!0;t=t.parent._item}return!1};class Ta{constructor(t,n,r,i=0){this.type=t,this.tname=n,this.item=r,this.assoc=i}}const Ca=e=>new Ta(e.type==null?null:Ce(e.type.client,e.type.clock),e.tname??null,e.item==null?null:Ce(e.item.client,e.item.clock),e.assoc==null?0:e.assoc);class nC{constructor(t,n,r=0){this.type=t,this.index=n,this.assoc=r}}const rC=(e,t,n=0)=>new nC(e,t,n),Go=(e,t,n)=>{let r=null,i=null;return e._item===null?i=Sa(e):r=Ce(e._item.id.client,e._item.id.clock),new Ta(r,i,t,n)},zc=(e,t,n=0)=>{let r=e._start;if(n<0){if(t===0)return Go(e,null,n);t--}for(;r!==null;){if(!r.deleted&&r.countable){if(r.length>t)return Go(e,Ce(r.id.client,r.id.clock+t),n);t-=r.length}if(r.right===null&&n<0)return Go(e,r.lastId,n);r=r.right}return Go(e,null,n)},iC=(e,t)=>{const n=vi(e,t),r=t.clock-n.id.clock;return{item:n,diff:r}},aC=(e,t,n=!0)=>{const r=t.store,i=e.item,a=e.type,o=e.tname,s=e.assoc;let l=null,c=0;if(i!==null){if(_t(r,i.client)<=i.clock)return null;const u=n?td(r,i):iC(r,i),d=u.item;if(!(d instanceof Be))return null;if(l=d.parent,l._item===null||!l._item.deleted){c=d.deleted||!d.countable?0:u.diff+(s>=0?0:1);let _=d.left;for(;_!==null;)!_.deleted&&_.countable&&(c+=_.length),_=_.left}}else{if(o!==null)l=t.get(o);else if(a!==null){if(_t(r,a.client)<=a.clock)return null;const{item:u}=n?td(r,a):{item:vi(r,a)};if(u instanceof Be&&u.content instanceof vn)l=u.content.type;else return null}else throw zt();s>=0?c=l._length:c=0}return rC(l,c,e.assoc)},pp=(e,t)=>e===t||e!==null&&t!==null&&e.tname===t.tname&&yi(e.item,t.item)&&yi(e.type,t.type)&&e.assoc===t.assoc;class Vc{constructor(t,n){this.ds=t,this.sv=n}}const mp=(e,t)=>new Vc(e,t),$c=e=>mp(VT(e.store),Ho(e.store)),Qr=(e,t)=>t===void 0?!e.deleted:t.sv.has(e.id.client)&&(t.sv.get(e.id.client)||0)>e.id.clock&&!Ti(t.ds,e.id),Wc=(e,t)=>{const n=kn(e.meta,Wc,Wr),r=e.doc.store;n.has(t)||(t.sv.forEach((i,a)=>{i<_t(r,a)&&Vt(e,Ce(a,i))}),Ar(e,t.ds,i=>{}),n.add(t))};class gp{constructor(){this.clients=new Map,this.pendingStructs=null,this.pendingDs=null}}const Ho=e=>{const t=new Map;return e.clients.forEach((n,r)=>{const i=n[n.length-1];t.set(r,i.id.clock+i.length)}),t},_t=(e,t)=>{const n=e.clients.get(t);if(n===void 0)return 0;const r=n[n.length-1];return r.id.clock+r.length},fp=(e,t)=>{let n=e.clients.get(t.id.client);if(n===void 0)n=[],e.clients.set(t.id.client,n);else{const r=n[n.length-1];if(r.id.clock+r.length!==t.id.clock)throw zt()}n.push(t)},Cn=(e,t)=>{let n=0,r=e.length-1,i=e[r],a=i.id.clock;if(a===t)return r;let o=ar(t/(a+i.length-1)*r);for(;n<=r;){if(i=e[o],a=i.id.clock,a<=t){if(t<a+i.length)return o;n=o+1}else r=o-1;o=ar((n+r)/2)}throw zt()},vi=(e,t)=>{const n=e.clients.get(t.client);return n[Cn(n,t.clock)]},qc=(e,t,n)=>{const r=Cn(t,n),i=t[r];return i.id.clock<n&&i instanceof Be?(t.splice(r+1,0,Zo(e,i,n-i.id.clock)),r+1):r},Vt=(e,t)=>{const n=e.doc.store.clients.get(t.client);return n[qc(e,n,t.clock)]},Ep=(e,t,n)=>{const r=t.clients.get(n.client),i=Cn(r,n.clock),a=r[i];return n.clock!==a.id.clock+a.length-1&&a.constructor!==dn&&r.splice(i+1,0,Zo(e,a,n.clock-a.id.clock+1)),a},oC=(e,t,n)=>{const r=e.clients.get(t.id.client);r[Cn(r,t.id.clock)]=n},hp=(e,t,n,r,i)=>{if(r===0)return;const a=n+r;let o=qc(e,t,n),s;do s=t[o++],a<s.id.clock+s.length&&qc(e,t,a),i(s);while(o<t.length&&t[o].id.clock<a)};class sC{constructor(t,n,r){this.doc=t,this.deleteSet=new bi,this.beforeState=Ho(t.store),this.afterState=new Map,this.changed=new Map,this.changedParentTypes=new Map,this._mergeStructs=[],this.origin=n,this.meta=new Map,this.local=r,this.subdocsAdded=new Set,this.subdocsRemoved=new Set,this.subdocsLoaded=new Set,this._needFormattingCleanup=!1}}const Sp=(e,t)=>t.deleteSet.clients.size===0&&!Pb(t.afterState,(n,r)=>t.beforeState.get(r)!==n)?!1:(Bc(t.deleteSet),JT(e,t),Hc(e,t.deleteSet),!0),bp=(e,t,n)=>{const r=t._item;(r===null||r.id.clock<(e.beforeState.get(r.id.client)||0)&&!r.deleted)&&kn(e.changed,t,Wr).add(n)},Yo=(e,t)=>{let n=e[t],r=e[t-1],i=t;for(;i>0;n=r,r=e[--i-1]){if(r.deleted===n.deleted&&r.constructor===n.constructor&&r.mergeWith(n)){n instanceof Be&&n.parentSub!==null&&n.parent._map.get(n.parentSub)===n&&n.parent._map.set(n.parentSub,r);continue}break}const a=t-i;return a&&e.splice(t+1-a,a),a},lC=(e,t,n)=>{for(const[r,i]of e.clients.entries()){const a=t.clients.get(r);for(let o=i.length-1;o>=0;o--){const s=i[o],l=s.clock+s.len;for(let c=Cn(a,s.clock),u=a[c];c<a.length&&u.id.clock<l;u=a[++c]){const d=a[c];if(s.clock+s.len<=d.id.clock)break;d instanceof Be&&d.deleted&&!d.keep&&n(d)&&d.gc(t,!1)}}}},cC=(e,t)=>{e.clients.forEach((n,r)=>{const i=t.clients.get(r);for(let a=n.length-1;a>=0;a--){const o=n[a],s=or(i.length-1,1+Cn(i,o.clock+o.len-1));for(let l=s,c=i[l];l>0&&c.id.clock>=o.clock;c=i[l])l-=1+Yo(i,l)}})},Tp=(e,t)=>{if(t<e.length){const n=e[t],r=n.doc,i=r.store,a=n.deleteSet,o=n._mergeStructs;try{Bc(a),n.afterState=Ho(n.doc.store),r.emit("beforeObserverCalls",[n,r]);const s=[];n.changed.forEach((l,c)=>s.push(()=>{(c._item===null||!c._item.deleted)&&c._callObserver(n,l)})),s.push(()=>{n.changedParentTypes.forEach((l,c)=>{c._dEH.l.length>0&&(c._item===null||!c._item.deleted)&&(l=l.filter(u=>u.target._item===null||!u.target._item.deleted),l.forEach(u=>{u.currentTarget=c,u._path=null}),l.sort((u,d)=>u.path.length-d.path.length),_p(c._dEH,l,n))})}),s.push(()=>r.emit("afterTransaction",[n,r])),Mc(s,[]),n._needFormattingCleanup&&IC(n)}finally{r.gc&&lC(a,i,r.gcFilter),cC(a,i),n.afterState.forEach((u,d)=>{const _=n.beforeState.get(d)||0;if(_!==u){const m=i.clients.get(d),f=Ln(Cn(m,_),1);for(let g=m.length-1;g>=f;)g-=1+Yo(m,g)}});for(let u=o.length-1;u>=0;u--){const{client:d,clock:_}=o[u].id,m=i.clients.get(d),f=Cn(m,_);f+1<m.length&&Yo(m,f+1)>1||f>0&&Yo(m,f)}if(!n.local&&n.afterState.get(r.clientID)!==n.beforeState.get(r.clientID)&&(HT(Pc,Z_,"[yjs] ",J_,ep,"Changed the client-id because another client seems to be using it."),r.clientID=sp()),r.emit("afterTransactionCleanup",[n,r]),r._observers.has("update")){const u=new KT;Sp(u,n)&&r.emit("update",[u.toUint8Array(),n.origin,r,n])}if(r._observers.has("updateV2")){const u=new Bo;Sp(u,n)&&r.emit("updateV2",[u.toUint8Array(),n.origin,r,n])}const{subdocsAdded:s,subdocsLoaded:l,subdocsRemoved:c}=n;(s.size>0||c.size>0||l.size>0)&&(s.forEach(u=>{u.clientID=r.clientID,u.collectionid==null&&(u.collectionid=r.collectionid),r.subdocs.add(u)}),c.forEach(u=>r.subdocs.delete(u)),r.emit("subdocs",[{loaded:l,added:s,removed:c},r,n]),c.forEach(u=>u.destroy())),e.length<=t+1?(r._transactionCleanups=[],r.emit("afterAllTransactions",[r,e])):Tp(e,t+1)}}},We=(e,t,n=null,r=!0)=>{const i=e._transactionCleanups;let a=!1,o=null;e._transaction===null&&(a=!0,e._transaction=new sC(e,n,r),i.push(e._transaction),i.length===1&&e.emit("beforeAllTransactions",[e]),e.emit("beforeTransaction",[e._transaction,e]));try{o=t(e._transaction)}finally{if(a){const s=e._transaction===i[0];e._transaction=null,s&&Tp(i,0)}}return o};class dC{constructor(t,n){this.insertions=n,this.deletions=t,this.meta=new Map}}const Cp=(e,t,n)=>{Ar(e,n.deletions,r=>{r instanceof Be&&t.scope.some(i=>i===e.doc||ba(i,r))&&nd(r,!1)})},yp=(e,t,n)=>{let r=null;const i=e.doc,a=e.scope;We(i,s=>{for(;t.length>0&&e.currStackItem===null;){const l=i.store,c=t.pop(),u=new Set,d=[];let _=!1;Ar(s,c.insertions,m=>{if(m instanceof Be){if(m.redone!==null){let{item:f,diff:g}=td(l,m.id);g>0&&(f=Vt(s,Ce(f.id.client,f.id.clock+g))),m=f}!m.deleted&&a.some(f=>f===s.doc||ba(f,m))&&d.push(m)}}),Ar(s,c.deletions,m=>{m instanceof Be&&a.some(f=>f===s.doc||ba(f,m))&&!Ti(c.insertions,m.id)&&u.add(m)}),u.forEach(m=>{_=jp(s,m,u,c.insertions,e.ignoreRemoteMapChanges,e)!==null||_});for(let m=d.length-1;m>=0;m--){const f=d[m];e.deleteFilter(f)&&(f.delete(s),_=!0)}e.currStackItem=_?c:null}s.changed.forEach((l,c)=>{l.has(null)&&c._searchMarker&&(c._searchMarker.length=0)}),r=s},e);const o=e.currStackItem;if(o!=null){const s=r.changedParentTypes;e.emit("stack-item-popped",[{stackItem:o,type:n,changedParentTypes:s,origin:e},e]),e.currStackItem=null}return o};class vp extends I_{constructor(t,{captureTimeout:n=500,captureTransaction:r=l=>!0,deleteFilter:i=()=>!0,trackedOrigins:a=new Set([null]),ignoreRemoteMapChanges:o=!1,doc:s=Sc(t)?t[0].doc:t instanceof jr?t:t.doc}={}){super(),this.scope=[],this.doc=s,this.addToScope(t),this.deleteFilter=i,a.add(this),this.trackedOrigins=a,this.captureTransaction=r,this.undoStack=[],this.redoStack=[],this.undoing=!1,this.redoing=!1,this.currStackItem=null,this.lastChange=0,this.ignoreRemoteMapChanges=o,this.captureTimeout=n,this.afterTransactionHandler=l=>{if(!this.captureTransaction(l)||!this.scope.some(E=>l.changedParentTypes.has(E)||E===this.doc)||!this.trackedOrigins.has(l.origin)&&(!l.origin||!this.trackedOrigins.has(l.origin.constructor)))return;const c=this.undoing,u=this.redoing,d=c?this.redoStack:this.undoStack;c?this.stopCapturing():u||this.clear(!1,!0);const _=new bi;l.afterState.forEach((E,h)=>{const S=l.beforeState.get(h)||0,T=E-S;T>0&&ha(_,h,S,T)});const m=gT();let f=!1;if(this.lastChange>0&&m-this.lastChange<this.captureTimeout&&d.length>0&&!c&&!u){const E=d[d.length-1];E.deletions=Gc([E.deletions,l.deleteSet]),E.insertions=Gc([E.insertions,_])}else d.push(new dC(l.deleteSet,_)),f=!0;!c&&!u&&(this.lastChange=m),Ar(l,l.deleteSet,E=>{E instanceof Be&&this.scope.some(h=>h===l.doc||ba(h,E))&&nd(E,!0)});const g=[{stackItem:d[d.length-1],origin:l.origin,type:c?"redo":"undo",changedParentTypes:l.changedParentTypes},this];f?this.emit("stack-item-added",g):this.emit("stack-item-updated",g)},this.doc.on("afterTransaction",this.afterTransactionHandler),this.doc.on("destroy",()=>{this.destroy()})}addToScope(t){const n=new Set(this.scope);t=Sc(t)?t:[t],t.forEach(r=>{n.has(r)||(n.add(r),(r instanceof Nt?r.doc!==this.doc:r!==this.doc)&&np("[yjs#509] Not same Y.Doc"),this.scope.push(r))})}addTrackedOrigin(t){this.trackedOrigins.add(t)}removeTrackedOrigin(t){this.trackedOrigins.delete(t)}clear(t=!0,n=!0){(t&&this.canUndo()||n&&this.canRedo())&&this.doc.transact(r=>{t&&(this.undoStack.forEach(i=>Cp(r,this,i)),this.undoStack=[]),n&&(this.redoStack.forEach(i=>Cp(r,this,i)),this.redoStack=[]),this.emit("stack-cleared",[{undoStackCleared:t,redoStackCleared:n}])})}stopCapturing(){this.lastChange=0}undo(){this.undoing=!0;let t;try{t=yp(this,this.undoStack,"undo")}finally{this.undoing=!1}return t}redo(){this.redoing=!0;let t;try{t=yp(this,this.redoStack,"redo")}finally{this.redoing=!1}return t}canUndo(){return this.undoStack.length>0}canRedo(){return this.redoStack.length>0}destroy(){this.trackedOrigins.delete(this),this.doc.off("afterTransaction",this.afterTransactionHandler),super.destroy()}}function*uC(e){const t=je(e.restDecoder);for(let n=0;n<t;n++){const r=je(e.restDecoder),i=e.readClient();let a=je(e.restDecoder);for(let o=0;o<r;o++){const s=e.readInfo();if(s===10){const l=je(e.restDecoder);yield new Rn(Ce(i,a),l),a+=l}else if((wo&s)!==0){const l=(s&(sr|Bt))===0,c=new Be(Ce(i,a),null,(s&Bt)===Bt?e.readLeftID():null,null,(s&sr)===sr?e.readRightID():null,l?e.readParentInfo()?e.readString():e.readLeftID():null,l&&(s&_a)===_a?e.readString():null,Qp(e,s));yield c,a+=c.length}else{const l=e.readLen();yield new dn(Ce(i,a),l),a+=l}}}}class _C{constructor(t,n){this.gen=uC(t),this.curr=null,this.done=!1,this.filterSkips=n,this.next()}next(){do this.curr=this.gen.next().value||null;while(this.filterSkips&&this.curr!==null&&this.curr.constructor===Rn);return this.curr}}class pC{constructor(t){this.currClient=0,this.startClock=0,this.written=0,this.encoder=t,this.clientStructs=[]}}const mC=(e,t)=>{if(e.constructor===dn){const{client:n,clock:r}=e.id;return new dn(Ce(n,r+t),e.length-t)}else if(e.constructor===Rn){const{client:n,clock:r}=e.id;return new Rn(Ce(n,r+t),e.length-t)}else{const n=e,{client:r,clock:i}=n.id;return new Be(Ce(r,i+t),null,Ce(r,i+t-1),null,n.rightOrigin,n.parent,n.parentSub,n.content.splice(t))}},Rp=(e,t=Fo,n=Bo)=>{if(e.length===1)return e[0];const r=e.map(u=>new t(Ac(u)));let i=r.map(u=>new _C(u,!0)),a=null;const o=new n,s=new pC(o);for(;i=i.filter(_=>_.curr!==null),i.sort((_,m)=>{if(_.curr.id.client===m.curr.id.client){const f=_.curr.id.clock-m.curr.id.clock;return f===0?_.curr.constructor===m.curr.constructor?0:_.curr.constructor===Rn?1:-1:f}else return m.curr.id.client-_.curr.id.client}),i.length!==0;){const u=i[0],d=u.curr.id.client;if(a!==null){let _=u.curr,m=!1;for(;_!==null&&_.id.clock+_.length<=a.struct.id.clock+a.struct.length&&_.id.client>=a.struct.id.client;)_=u.next(),m=!0;if(_===null||_.id.client!==d||m&&_.id.clock>a.struct.id.clock+a.struct.length)continue;if(d!==a.struct.id.client)ya(s,a.struct,a.offset),a={struct:_,offset:0},u.next();else if(a.struct.id.clock+a.struct.length<_.id.clock)if(a.struct.constructor===Rn)a.struct.length=_.id.clock+_.length-a.struct.id.clock;else{ya(s,a.struct,a.offset);const f=_.id.clock-a.struct.id.clock-a.struct.length;a={struct:new Rn(Ce(d,a.struct.id.clock+a.struct.length),f),offset:0}}else{const f=a.struct.id.clock+a.struct.length-_.id.clock;f>0&&(a.struct.constructor===Rn?a.struct.length-=f:_=mC(_,f)),a.struct.mergeWith(_)||(ya(s,a.struct,a.offset),a={struct:_,offset:0},u.next())}}else a={struct:u.curr,offset:0},u.next();for(let _=u.curr;_!==null&&_.id.client===d&&_.id.clock===a.struct.id.clock+a.struct.length&&_.constructor!==Rn;_=u.next())ya(s,a.struct,a.offset),a={struct:_,offset:0}}a!==null&&(ya(s,a.struct,a.offset),a=null),gC(s);const l=r.map(u=>$T(u)),c=Gc(l);return Hc(o,c),o.toUint8Array()},Np=e=>{e.written>0&&(e.clientStructs.push({written:e.written,restEncoder:bn(e.encoder.restEncoder)}),e.encoder.restEncoder=fa(),e.written=0)},ya=(e,t,n)=>{e.written>0&&e.currClient!==t.id.client&&Np(e),e.written===0&&(e.currClient=t.id.client,e.encoder.writeClient(t.id.client),Ae(e.encoder.restEncoder,t.id.clock+n)),t.write(e.encoder,n),e.written++},gC=e=>{Np(e);const t=e.encoder.restEncoder;Ae(t,e.clientStructs.length);for(let n=0;n<e.clientStructs.length;n++){const r=e.clientStructs[n];Ae(t,r.written),Do(t,r.restEncoder)}},Op="You must not compute changes after the event-handler fired.";class zo{constructor(t,n){this.target=t,this.currentTarget=t,this.transaction=n,this._changes=null,this._keys=null,this._delta=null,this._path=null}get path(){return this._path||(this._path=fC(this.currentTarget,this.target))}deletes(t){return Ti(this.transaction.deleteSet,t.id)}get keys(){if(this._keys===null){if(this.transaction.doc._transactionCleanups.length===0)throw Or(Op);const t=new Map,n=this.target;this.transaction.changed.get(n).forEach(i=>{if(i!==null){const a=n._map.get(i);let o,s;if(this.adds(a)){let l=a.left;for(;l!==null&&this.adds(l);)l=l.left;if(this.deletes(a))if(l!==null&&this.deletes(l))o="delete",s=hc(l.content.getContent());else return;else l!==null&&this.deletes(l)?(o="update",s=hc(l.content.getContent())):(o="add",s=void 0)}else if(this.deletes(a))o="delete",s=hc(a.content.getContent());else return;t.set(i,{action:o,oldValue:s})}}),this._keys=t}return this._keys}get delta(){return this.changes.delta}adds(t){return t.id.clock>=(this.transaction.beforeState.get(t.id.client)||0)}get changes(){let t=this._changes;if(t===null){if(this.transaction.doc._transactionCleanups.length===0)throw Or(Op);const n=this.target,r=Wr(),i=Wr(),a=[];if(t={added:r,deleted:i,delta:a,keys:this.keys},this.transaction.changed.get(n).has(null)){let s=null;const l=()=>{s&&a.push(s)};for(let c=n._start;c!==null;c=c.right)c.deleted?this.deletes(c)&&!this.adds(c)&&((s===null||s.delete===void 0)&&(l(),s={delete:0}),s.delete+=c.length,i.add(c)):this.adds(c)?((s===null||s.insert===void 0)&&(l(),s={insert:[]}),s.insert=s.insert.concat(c.content.getContent()),r.add(c)):((s===null||s.retain===void 0)&&(l(),s={retain:0}),s.retain+=c.length);s!==null&&s.retain===void 0&&l()}this._changes=t}return t}}const fC=(e,t)=>{const n=[];for(;t._item!==null&&t!==e;){if(t._item.parentSub!==null)n.unshift(t._item.parentSub);else{let r=0,i=t._item.parent._start;for(;i!==t._item&&i!==null;)!i.deleted&&i.countable&&(r+=i.length),i=i.right;n.unshift(r)}t=t._item.parent}return n},kt=()=>{np("Invalid access: Add Yjs type to a document before reading data.")},Ap=80;let Kc=0;class EC{constructor(t,n){t.marker=!0,this.p=t,this.index=n,this.timestamp=Kc++}}const hC=e=>{e.timestamp=Kc++},Ip=(e,t,n)=>{e.p.marker=!1,e.p=t,t.marker=!0,e.index=n,e.timestamp=Kc++},SC=(e,t,n)=>{if(e.length>=Ap){const r=e.reduce((i,a)=>i.timestamp<a.timestamp?i:a);return Ip(r,t,n),r}else{const r=new EC(t,n);return e.push(r),r}},Vo=(e,t)=>{if(e._start===null||t===0||e._searchMarker===null)return null;const n=e._searchMarker.length===0?null:e._searchMarker.reduce((a,o)=>xo(t-a.index)<xo(t-o.index)?a:o);let r=e._start,i=0;for(n!==null&&(r=n.p,i=n.index,hC(n));r.right!==null&&i<t;){if(!r.deleted&&r.countable){if(t<i+r.length)break;i+=r.length}r=r.right}for(;r.left!==null&&i>t;)r=r.left,!r.deleted&&r.countable&&(i-=r.length);for(;r.left!==null&&r.left.id.client===r.id.client&&r.left.id.clock+r.left.length===r.id.clock;)r=r.left,!r.deleted&&r.countable&&(i-=r.length);return n!==null&&xo(n.index-i)<r.parent.length/Ap?(Ip(n,r,i),n):SC(e._searchMarker,r,i)},va=(e,t,n)=>{for(let r=e.length-1;r>=0;r--){const i=e[r];if(n>0){let a=i.p;for(a.marker=!1;a&&(a.deleted||!a.countable);)a=a.left,a&&!a.deleted&&a.countable&&(i.index-=a.length);if(a===null||a.marker===!0){e.splice(r,1);continue}i.p=a,a.marker=!0}(t<i.index||n>0&&t===i.index)&&(i.index=Ln(t,i.index+n))}},$o=(e,t,n)=>{const r=e,i=t.changedParentTypes;for(;kn(i,e,()=>[]).push(n),e._item!==null;)e=e._item.parent;_p(r._eH,n,t)};class Nt{constructor(){this._item=null,this._map=new Map,this._start=null,this.doc=null,this._length=0,this._eH=cp(),this._dEH=cp(),this._searchMarker=null}get parent(){return this._item?this._item.parent:null}_integrate(t,n){this.doc=t,this._item=n}_copy(){throw Tn()}clone(){throw Tn()}_write(t){}get _first(){let t=this._start;for(;t!==null&&t.deleted;)t=t.right;return t}_callObserver(t,n){!t.local&&this._searchMarker&&(this._searchMarker.length=0)}observe(t){dp(this._eH,t)}observeDeep(t){dp(this._dEH,t)}unobserve(t){up(this._eH,t)}unobserveDeep(t){up(this._dEH,t)}toJSON(){}}const xp=(e,t,n)=>{e.doc??kt(),t<0&&(t=e._length+t),n<0&&(n=e._length+n);let r=n-t;const i=[];let a=e._start;for(;a!==null&&r>0;){if(a.countable&&!a.deleted){const o=a.content.getContent();if(o.length<=t)t-=o.length;else{for(let s=t;s<o.length&&r>0;s++)i.push(o[s]),r--;t=0}}a=a.right}return i},wp=e=>{e.doc??kt();const t=[];let n=e._start;for(;n!==null;){if(n.countable&&!n.deleted){const r=n.content.getContent();for(let i=0;i<r.length;i++)t.push(r[i])}n=n.right}return t},Dp=(e,t)=>{const n=[];let r=e._start;for(;r!==null;){if(r.countable&&Qr(r,t)){const i=r.content.getContent();for(let a=0;a<i.length;a++)n.push(i[a])}r=r.right}return n},Ra=(e,t)=>{let n=0,r=e._start;for(e.doc??kt();r!==null;){if(r.countable&&!r.deleted){const i=r.content.getContent();for(let a=0;a<i.length;a++)t(i[a],n++,e)}r=r.right}},Mp=(e,t)=>{const n=[];return Ra(e,(r,i)=>{n.push(t(r,i,e))}),n},bC=e=>{let t=e._start,n=null,r=0;return{[Symbol.iterator](){return this},next:()=>{if(n===null){for(;t!==null&&t.deleted;)t=t.right;if(t===null)return{done:!0,value:void 0};n=t.content.getContent(),r=0,t=t.right}const i=n[r++];return n.length<=r&&(n=null),{done:!1,value:i}}}},kp=(e,t)=>{e.doc??kt();const n=Vo(e,t);let r=e._start;for(n!==null&&(r=n.p,t-=n.index);r!==null;r=r.right)if(!r.deleted&&r.countable){if(t<r.length)return r.content.getContent()[t];t-=r.length}},Wo=(e,t,n,r)=>{let i=n;const a=e.doc,o=a.clientID,s=a.store,l=n===null?t._start:n.right;let c=[];const u=()=>{c.length>0&&(i=new Be(Ce(o,_t(s,o)),i,i&&i.lastId,l,l&&l.id,t,null,new Jr(c)),i.integrate(e,0),c=[])};r.forEach(d=>{if(d===null)c.push(d);else switch(d.constructor){case Number:case Object:case Boolean:case Array:case String:c.push(d);break;default:switch(u(),d.constructor){case Uint8Array:case ArrayBuffer:i=new Be(Ce(o,_t(s,o)),i,i&&i.lastId,l,l&&l.id,t,null,new Na(new Uint8Array(d))),i.integrate(e,0);break;case jr:i=new Be(Ce(o,_t(s,o)),i,i&&i.lastId,l,l&&l.id,t,null,new Aa(d)),i.integrate(e,0);break;default:if(d instanceof Nt)i=new Be(Ce(o,_t(s,o)),i,i&&i.lastId,l,l&&l.id,t,null,new vn(d)),i.integrate(e,0);else throw new Error("Unexpected content type in insert operation")}}}),u()},Lp=()=>Or("Length exceeded!"),Pp=(e,t,n,r)=>{if(n>t._length)throw Lp();if(n===0)return t._searchMarker&&va(t._searchMarker,n,r.length),Wo(e,t,null,r);const i=n,a=Vo(t,n);let o=t._start;for(a!==null&&(o=a.p,n-=a.index,n===0&&(o=o.prev,n+=o&&o.countable&&!o.deleted?o.length:0));o!==null;o=o.right)if(!o.deleted&&o.countable){if(n<=o.length){n<o.length&&Vt(e,Ce(o.id.client,o.id.clock+n));break}n-=o.length}return t._searchMarker&&va(t._searchMarker,i,r.length),Wo(e,t,o,r)},TC=(e,t,n)=>{let i=(t._searchMarker||[]).reduce((a,o)=>o.index>a.index?o:a,{index:0,p:t._start}).p;if(i)for(;i.right;)i=i.right;return Wo(e,t,i,n)},Up=(e,t,n,r)=>{if(r===0)return;const i=n,a=r,o=Vo(t,n);let s=t._start;for(o!==null&&(s=o.p,n-=o.index);s!==null&&n>0;s=s.right)!s.deleted&&s.countable&&(n<s.length&&Vt(e,Ce(s.id.client,s.id.clock+n)),n-=s.length);for(;r>0&&s!==null;)s.deleted||(r<s.length&&Vt(e,Ce(s.id.client,s.id.clock+r)),s.delete(e),r-=s.length),s=s.right;if(r>0)throw Lp();t._searchMarker&&va(t._searchMarker,i,-a+r)},qo=(e,t,n)=>{const r=t._map.get(n);r!==void 0&&r.delete(e)},jc=(e,t,n,r)=>{const i=t._map.get(n)||null,a=e.doc,o=a.clientID;let s;if(r==null)s=new Jr([r]);else switch(r.constructor){case Number:case Object:case Boolean:case Array:case String:case Date:case BigInt:s=new Jr([r]);break;case Uint8Array:s=new Na(r);break;case jr:s=new Aa(r);break;default:if(r instanceof Nt)s=new vn(r);else throw new Error("Unexpected content type")}new Be(Ce(o,_t(a.store,o)),i,i&&i.lastId,null,null,t,n,s).integrate(e,0)},Qc=(e,t)=>{e.doc??kt();const n=e._map.get(t);return n!==void 0&&!n.deleted?n.content.getContent()[n.length-1]:void 0},Fp=e=>{const t={};return e.doc??kt(),e._map.forEach((n,r)=>{n.deleted||(t[r]=n.content.getContent()[n.length-1])}),t},Bp=(e,t)=>{e.doc??kt();const n=e._map.get(t);return n!==void 0&&!n.deleted},CC=(e,t)=>{const n={};return e._map.forEach((r,i)=>{let a=r;for(;a!==null&&(!t.sv.has(a.id.client)||a.id.clock>=(t.sv.get(a.id.client)||0));)a=a.left;a!==null&&Qr(a,t)&&(n[i]=a.content.getContent()[a.length-1])}),n},Ko=e=>(e.doc??kt(),YT(e._map.entries(),t=>!t[1].deleted));class yC extends zo{}class Ri extends Nt{constructor(){super(),this._prelimContent=[],this._searchMarker=[]}static from(t){const n=new Ri;return n.push(t),n}_integrate(t,n){super._integrate(t,n),this.insert(0,this._prelimContent),this._prelimContent=null}_copy(){return new Ri}clone(){const t=new Ri;return t.insert(0,this.toArray().map(n=>n instanceof Nt?n.clone():n)),t}get length(){return this.doc??kt(),this._length}_callObserver(t,n){super._callObserver(t,n),$o(this,t,new yC(this,t))}insert(t,n){this.doc!==null?We(this.doc,r=>{Pp(r,this,t,n)}):this._prelimContent.splice(t,0,...n)}push(t){this.doc!==null?We(this.doc,n=>{TC(n,this,t)}):this._prelimContent.push(...t)}unshift(t){this.insert(0,t)}delete(t,n=1){this.doc!==null?We(this.doc,r=>{Up(r,this,t,n)}):this._prelimContent.splice(t,n)}get(t){return kp(this,t)}toArray(){return wp(this)}slice(t=0,n=this.length){return xp(this,t,n)}toJSON(){return this.map(t=>t instanceof Nt?t.toJSON():t)}map(t){return Mp(this,t)}forEach(t){Ra(this,t)}[Symbol.iterator](){return bC(this)}_write(t){t.writeTypeRef(KC)}}const vC=e=>new Ri;class RC extends zo{constructor(t,n,r){super(t,n),this.keysChanged=r}}class Ni extends Nt{constructor(t){super(),this._prelimContent=null,t===void 0?this._prelimContent=new Map:this._prelimContent=new Map(t)}_integrate(t,n){super._integrate(t,n),this._prelimContent.forEach((r,i)=>{this.set(i,r)}),this._prelimContent=null}_copy(){return new Ni}clone(){const t=new Ni;return this.forEach((n,r)=>{t.set(r,n instanceof Nt?n.clone():n)}),t}_callObserver(t,n){$o(this,t,new RC(this,t,n))}toJSON(){this.doc??kt();const t={};return this._map.forEach((n,r)=>{if(!n.deleted){const i=n.content.getContent()[n.length-1];t[r]=i instanceof Nt?i.toJSON():i}}),t}get size(){return[...Ko(this)].length}keys(){return Uc(Ko(this),t=>t[0])}values(){return Uc(Ko(this),t=>t[1].content.getContent()[t[1].length-1])}entries(){return Uc(Ko(this),t=>[t[0],t[1].content.getContent()[t[1].length-1]])}forEach(t){this.doc??kt(),this._map.forEach((n,r)=>{n.deleted||t(n.content.getContent()[n.length-1],r,this)})}[Symbol.iterator](){return this.entries()}delete(t){this.doc!==null?We(this.doc,n=>{qo(n,this,t)}):this._prelimContent.delete(t)}set(t,n){return this.doc!==null?We(this.doc,r=>{jc(r,this,t,n)}):this._prelimContent.set(t,n),n}get(t){return Qc(this,t)}has(t){return Bp(this,t)}clear(){this.doc!==null?We(this.doc,t=>{this.forEach(function(n,r,i){qo(t,i,r)})}):this._prelimContent.clear()}_write(t){t.writeTypeRef(jC)}}const NC=e=>new Ni,Ir=(e,t)=>e===t||typeof e=="object"&&typeof t=="object"&&e&&t&&yT(e,t);class Xc{constructor(t,n,r,i){this.left=t,this.right=n,this.index=r,this.currentAttributes=i}forward(){switch(this.right===null&&zt(),this.right.content.constructor){case Et:this.right.deleted||Oi(this.currentAttributes,this.right.content);break;default:this.right.deleted||(this.index+=this.right.length);break}this.left=this.right,this.right=this.right.right}}const Gp=(e,t,n)=>{for(;t.right!==null&&n>0;){switch(t.right.content.constructor){case Et:t.right.deleted||Oi(t.currentAttributes,t.right.content);break;default:t.right.deleted||(n<t.right.length&&Vt(e,Ce(t.right.id.client,t.right.id.clock+n)),t.index+=t.right.length,n-=t.right.length);break}t.left=t.right,t.right=t.right.right}return t},jo=(e,t,n,r)=>{const i=new Map,a=r?Vo(t,n):null;if(a){const o=new Xc(a.p.left,a.p,a.index,i);return Gp(e,o,n-a.index)}else{const o=new Xc(null,t._start,0,i);return Gp(e,o,n)}},Hp=(e,t,n,r)=>{for(;n.right!==null&&(n.right.deleted===!0||n.right.content.constructor===Et&&Ir(r.get(n.right.content.key),n.right.content.value));)n.right.deleted||r.delete(n.right.content.key),n.forward();const i=e.doc,a=i.clientID;r.forEach((o,s)=>{const l=n.left,c=n.right,u=new Be(Ce(a,_t(i.store,a)),l,l&&l.lastId,c,c&&c.id,t,null,new Et(s,o));u.integrate(e,0),n.right=u,n.forward()})},Oi=(e,t)=>{const{key:n,value:r}=t;r===null?e.delete(n):e.set(n,r)},Yp=(e,t)=>{for(;e.right!==null;){if(!(e.right.deleted||e.right.content.constructor===Et&&Ir(t[e.right.content.key]??null,e.right.content.value)))break;e.forward()}},zp=(e,t,n,r)=>{const i=e.doc,a=i.clientID,o=new Map;for(const s in r){const l=r[s],c=n.currentAttributes.get(s)??null;if(!Ir(c,l)){o.set(s,c);const{left:u,right:d}=n;n.right=new Be(Ce(a,_t(i.store,a)),u,u&&u.lastId,d,d&&d.id,t,null,new Et(s,l)),n.right.integrate(e,0),n.forward()}}return o},Zc=(e,t,n,r,i)=>{n.currentAttributes.forEach((_,m)=>{i[m]===void 0&&(i[m]=null)});const a=e.doc,o=a.clientID;Yp(n,i);const s=zp(e,t,n,i),l=r.constructor===String?new yn(r):r instanceof Nt?new vn(r):new Zr(r);let{left:c,right:u,index:d}=n;t._searchMarker&&va(t._searchMarker,n.index,l.getLength()),u=new Be(Ce(o,_t(a.store,o)),c,c&&c.lastId,u,u&&u.id,t,null,l),u.integrate(e,0),n.right=u,n.index=d,n.forward(),Hp(e,t,n,s)},Vp=(e,t,n,r,i)=>{const a=e.doc,o=a.clientID;Yp(n,i);const s=zp(e,t,n,i);e:for(;n.right!==null&&(r>0||s.size>0&&(n.right.deleted||n.right.content.constructor===Et));){if(!n.right.deleted)switch(n.right.content.constructor){case Et:{const{key:l,value:c}=n.right.content,u=i[l];if(u!==void 0){if(Ir(u,c))s.delete(l);else{if(r===0)break e;s.set(l,c)}n.right.delete(e)}else n.currentAttributes.set(l,c);break}default:r<n.right.length&&Vt(e,Ce(n.right.id.client,n.right.id.clock+r)),r-=n.right.length;break}n.forward()}if(r>0){let l="";for(;r>0;r--)l+=`
|
|
48
|
-
`;n.right=new Be(Ce(o,_t(a.store,o)),n.left,n.left&&n.left.lastId,n.right,n.right&&n.right.id,t,null,new yn(l)),n.right.integrate(e,0),n.forward()}Hp(e,t,n,s)},$p=(e,t,n,r,i)=>{let a=t;const o=ln();for(;a&&(!a.countable||a.deleted);){if(!a.deleted&&a.content.constructor===Et){const c=a.content;o.set(c.key,c)}a=a.right}let s=0,l=!1;for(;t!==a;){if(n===t&&(l=!0),!t.deleted){const c=t.content;
|
|
31
|
+
`)}var Sn=class rh extends mc{constructor(){super(...arguments),this.type="node"}static create(t={}){const n=typeof t=="function"?t():t;return new rh(n)}configure(t){return super.configure(t)}extend(t){const n=typeof t=="function"?t():t;return super.extend(n)}};function fi(e){return new gb({find:e.find,handler:({state:t,range:n,match:r,pasteEvent:i})=>{const a=gi(e.getAttributes,void 0,r,i);if(a===!1||a===null)return null;const{tr:o}=t,s=r[r.length-1],l=r[0];let c=n.to;if(s){const u=l.search(/\S/),d=n.from+l.indexOf(s),_=d+s.length;if(dc(n.from,n.to,t.doc).filter(f=>f.mark.type.excluded.find(E=>E===e.type&&E!==f.mark.type)).filter(f=>f.to>d).length)return null;_<n.to&&o.delete(_,n.to),d>n.from&&o.delete(n.from+u,d),c=n.from+u+s.length,o.addMark(n.from+u,c,e.type.create(a||{})),o.removeStoredMark(e.type)}}})}const ln=()=>new Map,Ec=e=>{const t=ln();return e.forEach((n,r)=>{t.set(r,n)}),t},kn=(e,t,n)=>{let r=e.get(t);return r===void 0&&e.set(t,r=n()),r},Lb=(e,t)=>{const n=[];for(const[r,i]of e)n.push(t(i,r));return n},Pb=(e,t)=>{for(const[n,r]of e)if(t(r,n))return!0;return!1},Wr=()=>new Set,hc=e=>e[e.length-1],Ub=(e,t)=>{for(let n=0;n<t.length;n++)e.push(t[n])},qr=Array.from,Fb=(e,t)=>{for(let n=0;n<e.length;n++)if(t(e[n],n,e))return!0;return!1},Sc=Array.isArray;class I_{constructor(){this._observers=ln()}on(t,n){return kn(this._observers,t,Wr).add(n),n}once(t,n){const r=(...i)=>{this.off(t,r),n(...i)};this.on(t,r)}off(t,n){const r=this._observers.get(t);r!==void 0&&(r.delete(n),r.size===0&&this._observers.delete(t))}emit(t,n){return qr((this._observers.get(t)||ln()).values()).forEach(r=>r(...n))}destroy(){this._observers=ln()}}const ar=Math.floor,xo=Math.abs,or=(e,t)=>e<t?e:t,Ln=(e,t)=>e>t?e:t,x_=e=>e!==0?e<0:1/e<0,w_=1,D_=2,bc=4,Tc=8,_a=32,sr=64,Bt=128,Bb=1<<29,wo=31,Cc=63,Kr=127,Gb=2147483647,M_=Number.MAX_SAFE_INTEGER,Hb=Number.isInteger||(e=>typeof e=="number"&&isFinite(e)&&ar(e)===e),Yb=String.fromCharCode,zb=e=>e.toLowerCase(),Vb=/^\s*/g,$b=e=>e.replace(Vb,""),Wb=/([A-Z])/g,k_=(e,t)=>$b(e.replace(Wb,n=>`${t}${zb(n)}`)),qb=e=>{const t=unescape(encodeURIComponent(e)),n=t.length,r=new Uint8Array(n);for(let i=0;i<n;i++)r[i]=t.codePointAt(i);return r},pa=typeof TextEncoder<"u"?new TextEncoder:null,Kb=pa?e=>pa.encode(e):qb;let ma=typeof TextDecoder>"u"?null:new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0});ma&&ma.decode(new Uint8Array).length===1&&(ma=null);class ga{constructor(){this.cpos=0,this.cbuf=new Uint8Array(100),this.bufs=[]}}const fa=()=>new ga,jb=e=>{const t=fa();return e(t),bn(t)},Qb=e=>{let t=e.cpos;for(let n=0;n<e.bufs.length;n++)t+=e.bufs[n].length;return t},bn=e=>{const t=new Uint8Array(Qb(e));let n=0;for(let r=0;r<e.bufs.length;r++){const i=e.bufs[r];t.set(i,n),n+=i.length}return t.set(new Uint8Array(e.cbuf.buffer,0,e.cpos),n),t},Xb=(e,t)=>{const n=e.cbuf.length;n-e.cpos<t&&(e.bufs.push(new Uint8Array(e.cbuf.buffer,0,e.cpos)),e.cbuf=new Uint8Array(Ln(n,t)*2),e.cpos=0)},Rt=(e,t)=>{const n=e.cbuf.length;e.cpos===n&&(e.bufs.push(e.cbuf),e.cbuf=new Uint8Array(n*2),e.cpos=0),e.cbuf[e.cpos++]=t},yc=Rt,Ae=(e,t)=>{for(;t>Kr;)Rt(e,Bt|Kr&t),t=ar(t/128);Rt(e,Kr&t)},vc=(e,t)=>{const n=x_(t);for(n&&(t=-t),Rt(e,(t>Cc?Bt:0)|(n?sr:0)|Cc&t),t=ar(t/64);t>0;)Rt(e,(t>Kr?Bt:0)|Kr&t),t=ar(t/128)},Rc=new Uint8Array(3e4),Zb=Rc.length/3,Jb=(e,t)=>{if(t.length<Zb){const n=pa.encodeInto(t,Rc).written||0;Ae(e,n);for(let r=0;r<n;r++)Rt(e,Rc[r])}else en(e,Kb(t))},eT=(e,t)=>{const n=unescape(encodeURIComponent(t)),r=n.length;Ae(e,r);for(let i=0;i<r;i++)Rt(e,n.codePointAt(i))},Ei=pa&&pa.encodeInto?Jb:eT,Do=(e,t)=>{const n=e.cbuf.length,r=e.cpos,i=or(n-r,t.length),a=t.length-i;e.cbuf.set(t.subarray(0,i),r),e.cpos+=i,a>0&&(e.bufs.push(e.cbuf),e.cbuf=new Uint8Array(Ln(n*2,a)),e.cbuf.set(t.subarray(i)),e.cpos=a)},en=(e,t)=>{Ae(e,t.byteLength),Do(e,t)},Nc=(e,t)=>{Xb(e,t);const n=new DataView(e.cbuf.buffer,e.cpos,t);return e.cpos+=t,n},tT=(e,t)=>Nc(e,4).setFloat32(0,t,!1),nT=(e,t)=>Nc(e,8).setFloat64(0,t,!1),rT=(e,t)=>Nc(e,8).setBigInt64(0,t,!1),L_=new DataView(new ArrayBuffer(4)),iT=e=>(L_.setFloat32(0,e),L_.getFloat32(0)===e),hi=(e,t)=>{switch(typeof t){case"string":Rt(e,119),Ei(e,t);break;case"number":Hb(t)&&xo(t)<=Gb?(Rt(e,125),vc(e,t)):iT(t)?(Rt(e,124),tT(e,t)):(Rt(e,123),nT(e,t));break;case"bigint":Rt(e,122),rT(e,t);break;case"object":if(t===null)Rt(e,126);else if(Sc(t)){Rt(e,117),Ae(e,t.length);for(let n=0;n<t.length;n++)hi(e,t[n])}else if(t instanceof Uint8Array)Rt(e,116),en(e,t);else{Rt(e,118);const n=Object.keys(t);Ae(e,n.length);for(let r=0;r<n.length;r++){const i=n[r];Ei(e,i),hi(e,t[i])}}break;case"boolean":Rt(e,t?120:121);break;default:Rt(e,127)}};class P_ extends ga{constructor(t){super(),this.w=t,this.s=null,this.count=0}write(t){this.s===t?this.count++:(this.count>0&&Ae(this,this.count-1),this.count=1,this.w(this,t),this.s=t)}}const U_=e=>{e.count>0&&(vc(e.encoder,e.count===1?e.s:-e.s),e.count>1&&Ae(e.encoder,e.count-2))};class Mo{constructor(){this.encoder=new ga,this.s=0,this.count=0}write(t){this.s===t?this.count++:(U_(this),this.count=1,this.s=t)}toUint8Array(){return U_(this),bn(this.encoder)}}const F_=e=>{if(e.count>0){const t=e.diff*2+(e.count===1?0:1);vc(e.encoder,t),e.count>1&&Ae(e.encoder,e.count-2)}};class Oc{constructor(){this.encoder=new ga,this.s=0,this.count=0,this.diff=0}write(t){this.diff===t-this.s?(this.s=t,this.count++):(F_(this),this.count=1,this.diff=t-this.s,this.s=t)}toUint8Array(){return F_(this),bn(this.encoder)}}class aT{constructor(){this.sarr=[],this.s="",this.lensE=new Mo}write(t){this.s+=t,this.s.length>19&&(this.sarr.push(this.s),this.s=""),this.lensE.write(t.length)}toUint8Array(){const t=new ga;return this.sarr.push(this.s),this.s="",Ei(t,this.sarr.join("")),Do(t,this.lensE.toUint8Array()),bn(t)}}const Or=e=>new Error(e),Tn=()=>{throw Or("Method unimplemented")},zt=()=>{throw Or("Unexpected case")},B_=Or("Unexpected end of array"),G_=Or("Integer out of Range");class ko{constructor(t){this.arr=t,this.pos=0}}const Ac=e=>new ko(e),oT=e=>e.pos!==e.arr.length,sT=(e,t)=>{const n=new Uint8Array(e.arr.buffer,e.pos+e.arr.byteOffset,t);return e.pos+=t,n},cn=e=>sT(e,je(e)),Ea=e=>e.arr[e.pos++],je=e=>{let t=0,n=1;const r=e.arr.length;for(;e.pos<r;){const i=e.arr[e.pos++];if(t=t+(i&Kr)*n,n*=128,i<Bt)return t;if(t>M_)throw G_}throw B_},Ic=e=>{let t=e.arr[e.pos++],n=t&Cc,r=64;const i=(t&sr)>0?-1:1;if((t&Bt)===0)return i*n;const a=e.arr.length;for(;e.pos<a;){if(t=e.arr[e.pos++],n=n+(t&Kr)*r,r*=128,t<Bt)return i*n;if(n>M_)throw G_}throw B_},xc=ma?e=>ma.decode(cn(e)):e=>{let t=je(e);if(t===0)return"";{let n=String.fromCodePoint(Ea(e));if(--t<100)for(;t--;)n+=String.fromCodePoint(Ea(e));else for(;t>0;){const r=t<1e4?t:1e4,i=e.arr.subarray(e.pos,e.pos+r);e.pos+=r,n+=String.fromCodePoint.apply(null,i),t-=r}return decodeURIComponent(escape(n))}},wc=(e,t)=>{const n=new DataView(e.arr.buffer,e.arr.byteOffset+e.pos,t);return e.pos+=t,n},lT=[e=>{},e=>null,Ic,e=>wc(e,4).getFloat32(0,!1),e=>wc(e,8).getFloat64(0,!1),e=>wc(e,8).getBigInt64(0,!1),e=>!1,e=>!0,xc,e=>{const t=je(e),n={};for(let r=0;r<t;r++){const i=xc(e);n[i]=Lo(e)}return n},e=>{const t=je(e),n=[];for(let r=0;r<t;r++)n.push(Lo(e));return n},cn],Lo=e=>lT[127-Ea(e)](e);class H_ extends ko{constructor(t,n){super(t),this.reader=n,this.s=null,this.count=0}read(){return this.count===0&&(this.s=this.reader(this),oT(this)?this.count=je(this)+1:this.count=-1),this.count--,this.s}}class Po extends ko{constructor(t){super(t),this.s=0,this.count=0}read(){if(this.count===0){this.s=Ic(this);const t=x_(this.s);this.count=1,t&&(this.s=-this.s,this.count=je(this)+2)}return this.count--,this.s}}class Dc extends ko{constructor(t){super(t),this.s=0,this.count=0,this.diff=0}read(){if(this.count===0){const t=Ic(this),n=t&1;this.diff=ar(t/2),this.count=1,n&&(this.count=je(this)+2)}return this.s+=this.diff,this.count--,this.s}}class cT{constructor(t){this.decoder=new Po(t),this.str=xc(this.decoder),this.spos=0}read(){const t=this.spos+this.decoder.read(),n=this.str.slice(this.spos,t);return this.spos=t,n}}const dT=crypto.getRandomValues.bind(crypto),uT=Math.random,Y_=()=>dT(new Uint32Array(1))[0],_T=e=>e[ar(uT()*e.length)],pT="10000000-1000-4000-8000"+-1e11,mT=()=>pT.replace(/[018]/g,e=>(e^Y_()&15>>e/4).toString(16)),gT=Date.now,z_=e=>new Promise(e);Promise.all.bind(Promise);const V_=e=>e===void 0?null:e;class fT{constructor(){this.map=new Map}setItem(t,n){this.map.set(t,n)}getItem(t){return this.map.get(t)}}let $_=new fT,ET=!0;try{typeof localStorage<"u"&&localStorage&&($_=localStorage,ET=!1)}catch{}const hT=$_,ST=Object.assign,W_=Object.keys,bT=(e,t)=>{for(const n in e)t(e[n],n)},q_=e=>W_(e).length,TT=e=>{for(const t in e)return!1;return!0},K_=(e,t)=>{for(const n in e)if(!t(e[n],n))return!1;return!0},CT=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),yT=(e,t)=>e===t||q_(e)===q_(t)&&K_(e,(n,r)=>(n!==void 0||CT(t,r))&&t[r]===n),vT=Object.freeze,j_=e=>{for(const t in e){const n=e[t];(typeof n=="object"||typeof n=="function")&&j_(e[t])}return vT(e)},Mc=(e,t,n=0)=>{try{for(;n<e.length;n++)e[n](...t)}finally{n<e.length&&Mc(e,t,n+1)}},RT=(e,t)=>t.includes(e),Si=typeof process<"u"&&process.release&&/node|io\.js/.test(process.release.name)&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]",Q_=typeof window<"u"&&typeof document<"u"&&!Si;let Pn;const NT=()=>{if(Pn===void 0)if(Si){Pn=ln();const e=process.argv;let t=null;for(let n=0;n<e.length;n++){const r=e[n];r[0]==="-"?(t!==null&&Pn.set(t,""),t=r):t!==null&&(Pn.set(t,r),t=null)}t!==null&&Pn.set(t,"")}else typeof location=="object"?(Pn=ln(),(location.search||"?").slice(1).split("&").forEach(e=>{if(e.length!==0){const[t,n]=e.split("=");Pn.set(`--${k_(t,"-")}`,n),Pn.set(`-${k_(t,"-")}`,n)}})):Pn=ln();return Pn},kc=e=>NT().has(e),Uo=e=>V_(Si?process.env[e.toUpperCase().replaceAll("-","_")]:hT.getItem(e)),X_=e=>kc("--"+e)||Uo(e)!==null;X_("production");const OT=Si&&RT(process.env.FORCE_COLOR,["true","1","2"])||!kc("--no-colors")&&!X_("no-color")&&(!Si||process.stdout.isTTY)&&(!Si||kc("--color")||Uo("COLORTERM")!==null||(Uo("TERM")||"").includes("color")),AT=Q_?e=>{let t="";for(let n=0;n<e.byteLength;n++)t+=Yb(e[n]);return btoa(t)}:e=>Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString("base64"),IT=e=>jb(t=>hi(t,e));class xT{constructor(t,n){this.left=t,this.right=n}}const lr=(e,t)=>new xT(e,t),wT=typeof document<"u"?document:{};typeof DOMParser<"u"&&new DOMParser;const DT=e=>Lb(e,(t,n)=>`${n}:${t};`).join(""),MT=(e=>class{constructor(n){this._=n}destroy(){e(this._)}})(clearTimeout),Lc=(e,t)=>new MT(setTimeout(t,e)),cr=Symbol,Z_=cr(),J_=cr(),kT=cr(),LT=cr(),PT=cr(),ep=cr(),UT=cr(),Pc=cr(),FT=cr(),BT=e=>{e.length===1&&e[0]?.constructor===Function&&(e=e[0]());const t=[],n=[];let r=0;for(;r<e.length;r++){const i=e[r];if(i===void 0)break;if(i.constructor===String||i.constructor===Number)t.push(i);else if(i.constructor===Object)break}for(r>0&&n.push(t.join(""));r<e.length;r++){const i=e[r];i instanceof Symbol||n.push(i)}return n},GT={[Z_]:lr("font-weight","bold"),[J_]:lr("font-weight","normal"),[kT]:lr("color","blue"),[PT]:lr("color","green"),[LT]:lr("color","grey"),[ep]:lr("color","red"),[UT]:lr("color","purple"),[Pc]:lr("color","orange"),[FT]:lr("color","black")},tp=OT?e=>{e.length===1&&e[0]?.constructor===Function&&(e=e[0]());const t=[],n=[],r=ln();let i=[],a=0;for(;a<e.length;a++){const o=e[a],s=GT[o];if(s!==void 0)r.set(s.left,s.right);else{if(o===void 0)break;if(o.constructor===String||o.constructor===Number){const l=DT(r);a>0||l.length>0?(t.push("%c"+o),n.push(l)):t.push(o)}else break}}for(a>0&&(i=n,i.unshift(t.join("")));a<e.length;a++){const o=e[a];o instanceof Symbol||i.push(o)}return i}:BT,HT=(...e)=>{console.log(...tp(e)),rp.forEach(t=>t.print(e))},np=(...e)=>{console.warn(...tp(e)),e.unshift(Pc),rp.forEach(t=>t.print(e))},rp=Wr(),ip=e=>({[Symbol.iterator](){return this},next:e}),YT=(e,t)=>ip(()=>{let n;do n=e.next();while(!n.done&&!t(n.value));return n}),Uc=(e,t)=>ip(()=>{const{done:n,value:r}=e.next();return{done:n,value:n?void 0:t(r)}});class Fc{constructor(t,n){this.clock=t,this.len=n}}class bi{constructor(){this.clients=new Map}}const Ar=(e,t,n)=>t.clients.forEach((r,i)=>{const a=e.doc.store.clients.get(i);if(a!=null){const o=a[a.length-1],s=o.id.clock+o.length;for(let l=0,c=r[l];l<r.length&&c.clock<s;c=r[++l])hp(e,a,c.clock,c.len,n)}}),zT=(e,t)=>{let n=0,r=e.length-1;for(;n<=r;){const i=ar((n+r)/2),a=e[i],o=a.clock;if(o<=t){if(t<o+a.len)return i;n=i+1}else r=i-1}return null},Ti=(e,t)=>{const n=e.clients.get(t.client);return n!==void 0&&zT(n,t.clock)!==null},Bc=e=>{e.clients.forEach(t=>{t.sort((i,a)=>i.clock-a.clock);let n,r;for(n=1,r=1;n<t.length;n++){const i=t[r-1],a=t[n];i.clock+i.len>=a.clock?i.len=Ln(i.len,a.clock+a.len-i.clock):(r<n&&(t[r]=a),r++)}t.length=r})},Gc=e=>{const t=new bi;for(let n=0;n<e.length;n++)e[n].clients.forEach((r,i)=>{if(!t.clients.has(i)){const a=r.slice();for(let o=n+1;o<e.length;o++)Ub(a,e[o].clients.get(i)||[]);t.clients.set(i,a)}});return Bc(t),t},ha=(e,t,n,r)=>{kn(e.clients,t,()=>[]).push(new Fc(n,r))},ap=()=>new bi,VT=e=>{const t=ap();return e.clients.forEach((n,r)=>{const i=[];for(let a=0;a<n.length;a++){const o=n[a];if(o.deleted){const s=o.id.clock;let l=o.length;if(a+1<n.length)for(let c=n[a+1];a+1<n.length&&c.deleted;c=n[++a+1])l+=c.length;i.push(new Fc(s,l))}}i.length>0&&t.clients.set(r,i)}),t},Hc=(e,t)=>{Ae(e.restEncoder,t.clients.size),qr(t.clients.entries()).sort((n,r)=>r[0]-n[0]).forEach(([n,r])=>{e.resetDsCurVal(),Ae(e.restEncoder,n);const i=r.length;Ae(e.restEncoder,i);for(let a=0;a<i;a++){const o=r[a];e.writeDsClock(o.clock),e.writeDsLen(o.len)}})},$T=e=>{const t=new bi,n=je(e.restDecoder);for(let r=0;r<n;r++){e.resetDsCurVal();const i=je(e.restDecoder),a=je(e.restDecoder);if(a>0){const o=kn(t.clients,i,()=>[]);for(let s=0;s<a;s++)o.push(new Fc(e.readDsClock(),e.readDsLen()))}}return t},op=(e,t,n)=>{const r=new bi,i=je(e.restDecoder);for(let a=0;a<i;a++){e.resetDsCurVal();const o=je(e.restDecoder),s=je(e.restDecoder),l=n.clients.get(o)||[],c=_t(n,o);for(let u=0;u<s;u++){const d=e.readDsClock(),_=d+e.readDsLen();if(d<c){c<_&&ha(r,o,c,_-c);let m=Cn(l,d),f=l[m];for(!f.deleted&&f.id.clock<d&&(l.splice(m+1,0,Zo(t,f,d-f.id.clock)),m++);m<l.length&&(f=l[m++],f.id.clock<_);)f.deleted||(_<f.id.clock+f.length&&l.splice(m,0,Zo(t,f,_-f.id.clock)),f.delete(t))}else ha(r,o,d,_-d)}}if(r.clients.size>0){const a=new Bo;return Ae(a.restEncoder,0),Hc(a,r),a.toUint8Array()}return null},sp=Y_;class jr extends I_{constructor({guid:t=mT(),collectionid:n=null,gc:r=!0,gcFilter:i=()=>!0,meta:a=null,autoLoad:o=!1,shouldLoad:s=!0}={}){super(),this.gc=r,this.gcFilter=i,this.clientID=sp(),this.guid=t,this.collectionid=n,this.share=new Map,this.store=new gp,this._transaction=null,this._transactionCleanups=[],this.subdocs=new Set,this._item=null,this.shouldLoad=s,this.autoLoad=o,this.meta=a,this.isLoaded=!1,this.isSynced=!1,this.isDestroyed=!1,this.whenLoaded=z_(c=>{this.on("load",()=>{this.isLoaded=!0,c(this)})});const l=()=>z_(c=>{const u=d=>{(d===void 0||d===!0)&&(this.off("sync",u),c())};this.on("sync",u)});this.on("sync",c=>{c===!1&&this.isSynced&&(this.whenSynced=l()),this.isSynced=c===void 0||c===!0,this.isSynced&&!this.isLoaded&&this.emit("load",[this])}),this.whenSynced=l()}load(){const t=this._item;t!==null&&!this.shouldLoad&&We(t.parent.doc,n=>{n.subdocsLoaded.add(this)},null,!0),this.shouldLoad=!0}getSubdocs(){return this.subdocs}getSubdocGuids(){return new Set(qr(this.subdocs).map(t=>t.guid))}transact(t,n=null){return We(this,t,n)}get(t,n=Nt){const r=kn(this.share,t,()=>{const a=new n;return a._integrate(this,null),a}),i=r.constructor;if(n!==Nt&&i!==n)if(i===Nt){const a=new n;a._map=r._map,r._map.forEach(o=>{for(;o!==null;o=o.left)o.parent=a}),a._start=r._start;for(let o=a._start;o!==null;o=o.right)o.parent=a;return a._length=r._length,this.share.set(t,a),a._integrate(this,null),a}else throw new Error(`Type with the name ${t} has already been defined with a different constructor`);return r}getArray(t=""){return this.get(t,Ri)}getText(t=""){return this.get(t,xr)}getMap(t=""){return this.get(t,Ni)}getXmlElement(t=""){return this.get(t,Lt)}getXmlFragment(t=""){return this.get(t,Xr)}toJSON(){const t={};return this.share.forEach((n,r)=>{t[r]=n.toJSON()}),t}destroy(){this.isDestroyed=!0,qr(this.subdocs).forEach(n=>n.destroy());const t=this._item;if(t!==null){this._item=null;const n=t.content;n.doc=new jr({guid:this.guid,...n.opts,shouldLoad:!1}),n.doc._item=t,We(t.parent.doc,r=>{const i=n.doc;t.deleted||r.subdocsAdded.add(i),r.subdocsRemoved.add(this)},null,!0)}this.emit("destroyed",[!0]),this.emit("destroy",[this]),super.destroy()}}class WT{constructor(t){this.dsCurrVal=0,this.restDecoder=t}resetDsCurVal(){this.dsCurrVal=0}readDsClock(){return this.dsCurrVal+=je(this.restDecoder),this.dsCurrVal}readDsLen(){const t=je(this.restDecoder)+1;return this.dsCurrVal+=t,t}}class Fo extends WT{constructor(t){super(t),this.keys=[],je(t),this.keyClockDecoder=new Dc(cn(t)),this.clientDecoder=new Po(cn(t)),this.leftClockDecoder=new Dc(cn(t)),this.rightClockDecoder=new Dc(cn(t)),this.infoDecoder=new H_(cn(t),Ea),this.stringDecoder=new cT(cn(t)),this.parentInfoDecoder=new H_(cn(t),Ea),this.typeRefDecoder=new Po(cn(t)),this.lenDecoder=new Po(cn(t))}readLeftID(){return new Ci(this.clientDecoder.read(),this.leftClockDecoder.read())}readRightID(){return new Ci(this.clientDecoder.read(),this.rightClockDecoder.read())}readClient(){return this.clientDecoder.read()}readInfo(){return this.infoDecoder.read()}readString(){return this.stringDecoder.read()}readParentInfo(){return this.parentInfoDecoder.read()===1}readTypeRef(){return this.typeRefDecoder.read()}readLen(){return this.lenDecoder.read()}readAny(){return Lo(this.restDecoder)}readBuf(){return cn(this.restDecoder)}readJSON(){return Lo(this.restDecoder)}readKey(){const t=this.keyClockDecoder.read();if(t<this.keys.length)return this.keys[t];{const n=this.stringDecoder.read();return this.keys.push(n),n}}}class qT{constructor(){this.restEncoder=fa()}toUint8Array(){return bn(this.restEncoder)}resetDsCurVal(){}writeDsClock(t){Ae(this.restEncoder,t)}writeDsLen(t){Ae(this.restEncoder,t)}}class KT extends qT{writeLeftID(t){Ae(this.restEncoder,t.client),Ae(this.restEncoder,t.clock)}writeRightID(t){Ae(this.restEncoder,t.client),Ae(this.restEncoder,t.clock)}writeClient(t){Ae(this.restEncoder,t)}writeInfo(t){yc(this.restEncoder,t)}writeString(t){Ei(this.restEncoder,t)}writeParentInfo(t){Ae(this.restEncoder,t?1:0)}writeTypeRef(t){Ae(this.restEncoder,t)}writeLen(t){Ae(this.restEncoder,t)}writeAny(t){hi(this.restEncoder,t)}writeBuf(t){en(this.restEncoder,t)}writeJSON(t){Ei(this.restEncoder,JSON.stringify(t))}writeKey(t){Ei(this.restEncoder,t)}}class jT{constructor(){this.restEncoder=fa(),this.dsCurrVal=0}toUint8Array(){return bn(this.restEncoder)}resetDsCurVal(){this.dsCurrVal=0}writeDsClock(t){const n=t-this.dsCurrVal;this.dsCurrVal=t,Ae(this.restEncoder,n)}writeDsLen(t){t===0&&zt(),Ae(this.restEncoder,t-1),this.dsCurrVal+=t}}class Bo extends jT{constructor(){super(),this.keyMap=new Map,this.keyClock=0,this.keyClockEncoder=new Oc,this.clientEncoder=new Mo,this.leftClockEncoder=new Oc,this.rightClockEncoder=new Oc,this.infoEncoder=new P_(yc),this.stringEncoder=new aT,this.parentInfoEncoder=new P_(yc),this.typeRefEncoder=new Mo,this.lenEncoder=new Mo}toUint8Array(){const t=fa();return Ae(t,0),en(t,this.keyClockEncoder.toUint8Array()),en(t,this.clientEncoder.toUint8Array()),en(t,this.leftClockEncoder.toUint8Array()),en(t,this.rightClockEncoder.toUint8Array()),en(t,bn(this.infoEncoder)),en(t,this.stringEncoder.toUint8Array()),en(t,bn(this.parentInfoEncoder)),en(t,this.typeRefEncoder.toUint8Array()),en(t,this.lenEncoder.toUint8Array()),Do(t,bn(this.restEncoder)),bn(t)}writeLeftID(t){this.clientEncoder.write(t.client),this.leftClockEncoder.write(t.clock)}writeRightID(t){this.clientEncoder.write(t.client),this.rightClockEncoder.write(t.clock)}writeClient(t){this.clientEncoder.write(t)}writeInfo(t){this.infoEncoder.write(t)}writeString(t){this.stringEncoder.write(t)}writeParentInfo(t){this.parentInfoEncoder.write(t?1:0)}writeTypeRef(t){this.typeRefEncoder.write(t)}writeLen(t){this.lenEncoder.write(t)}writeAny(t){hi(this.restEncoder,t)}writeBuf(t){en(this.restEncoder,t)}writeJSON(t){hi(this.restEncoder,t)}writeKey(t){const n=this.keyMap.get(t);n===void 0?(this.keyClockEncoder.write(this.keyClock++),this.stringEncoder.write(t)):this.keyClockEncoder.write(n)}}const QT=(e,t,n,r)=>{r=Ln(r,t[0].id.clock);const i=Cn(t,r);Ae(e.restEncoder,t.length-i),e.writeClient(n),Ae(e.restEncoder,r);const a=t[i];a.write(e,r-a.id.clock);for(let o=i+1;o<t.length;o++)t[o].write(e,0)},lp=(e,t,n)=>{const r=new Map;n.forEach((i,a)=>{_t(t,a)>i&&r.set(a,i)}),Ho(t).forEach((i,a)=>{n.has(a)||r.set(a,0)}),Ae(e.restEncoder,r.size),qr(r.entries()).sort((i,a)=>a[0]-i[0]).forEach(([i,a])=>{QT(e,t.clients.get(i),i,a)})},XT=(e,t)=>{const n=ln(),r=je(e.restDecoder);for(let i=0;i<r;i++){const a=je(e.restDecoder),o=new Array(a),s=e.readClient();let l=je(e.restDecoder);n.set(s,{i:0,refs:o});for(let c=0;c<a;c++){const u=e.readInfo();switch(wo&u){case 0:{const d=e.readLen();o[c]=new dn(Ce(s,l),d),l+=d;break}case 10:{const d=je(e.restDecoder);o[c]=new Rn(Ce(s,l),d),l+=d;break}default:{const d=(u&(sr|Bt))===0,_=new Be(Ce(s,l),null,(u&Bt)===Bt?e.readLeftID():null,null,(u&sr)===sr?e.readRightID():null,d?e.readParentInfo()?t.get(e.readString()):e.readLeftID():null,d&&(u&_a)===_a?e.readString():null,Qp(e,u));o[c]=_,l+=_.length}}}}return n},ZT=(e,t,n)=>{const r=[];let i=qr(n.keys()).sort((m,f)=>m-f);if(i.length===0)return null;const a=()=>{if(i.length===0)return null;let m=n.get(i[i.length-1]);for(;m.refs.length===m.i;)if(i.pop(),i.length>0)m=n.get(i[i.length-1]);else return null;return m};let o=a();if(o===null)return null;const s=new gp,l=new Map,c=(m,f)=>{const g=l.get(m);(g==null||g>f)&&l.set(m,f)};let u=o.refs[o.i++];const d=new Map,_=()=>{for(const m of r){const f=m.id.client,g=n.get(f);g?(g.i--,s.clients.set(f,g.refs.slice(g.i)),n.delete(f),g.i=0,g.refs=[]):s.clients.set(f,[m]),i=i.filter(E=>E!==f)}r.length=0};for(;;){if(u.constructor!==Rn){const f=kn(d,u.id.client,()=>_t(t,u.id.client))-u.id.clock;if(f<0)r.push(u),c(u.id.client,u.id.clock-1),_();else{const g=u.getMissing(e,t);if(g!==null){r.push(u);const E=n.get(g)||{refs:[],i:0};if(E.refs.length===E.i)c(g,_t(t,g)),_();else{u=E.refs[E.i++];continue}}else(f===0||f<u.length)&&(u.integrate(e,f),d.set(u.id.client,u.id.clock+u.length))}}if(r.length>0)u=r.pop();else if(o!==null&&o.i<o.refs.length)u=o.refs[o.i++];else{if(o=a(),o===null)break;u=o.refs[o.i++]}}if(s.clients.size>0){const m=new Bo;return lp(m,s,new Map),Ae(m.restEncoder,0),{missing:l,update:m.toUint8Array()}}return null},JT=(e,t)=>lp(e,t.doc.store,t.beforeState),eC=(e,t,n,r=new Fo(e))=>We(t,i=>{i.local=!1;let a=!1;const o=i.doc,s=o.store,l=XT(r,o),c=ZT(i,s,l),u=s.pendingStructs;if(u){for(const[_,m]of u.missing)if(m<_t(s,_)){a=!0;break}if(c){for(const[_,m]of c.missing){const f=u.missing.get(_);(f==null||f>m)&&u.missing.set(_,m)}u.update=Rp([u.update,c.update])}}else s.pendingStructs=c;const d=op(r,i,s);if(s.pendingDs){const _=new Fo(Ac(s.pendingDs));je(_.restDecoder);const m=op(_,i,s);d&&m?s.pendingDs=Rp([d,m]):s.pendingDs=d||m}else s.pendingDs=d;if(a){const _=s.pendingStructs.update;s.pendingStructs=null,Yc(i.doc,_)}},n,!1),Yc=(e,t,n,r=Fo)=>{const i=Ac(t);eC(i,e,n,new r(i))};class tC{constructor(){this.l=[]}}const cp=()=>new tC,dp=(e,t)=>e.l.push(t),up=(e,t)=>{const n=e.l,r=n.length;e.l=n.filter(i=>t!==i),r===e.l.length&&console.error("[yjs] Tried to remove event handler that doesn't exist.")},_p=(e,t,n)=>Mc(e.l,[t,n]);class Ci{constructor(t,n){this.client=t,this.clock=n}}const yi=(e,t)=>e===t||e!==null&&t!==null&&e.client===t.client&&e.clock===t.clock,Ce=(e,t)=>new Ci(e,t),Sa=e=>{for(const[t,n]of e.doc.share.entries())if(n===e)return t;throw zt()},ba=(e,t)=>{for(;t!==null;){if(t.parent===e)return!0;t=t.parent._item}return!1};class Ta{constructor(t,n,r,i=0){this.type=t,this.tname=n,this.item=r,this.assoc=i}}const Ca=e=>new Ta(e.type==null?null:Ce(e.type.client,e.type.clock),e.tname??null,e.item==null?null:Ce(e.item.client,e.item.clock),e.assoc==null?0:e.assoc);class nC{constructor(t,n,r=0){this.type=t,this.index=n,this.assoc=r}}const rC=(e,t,n=0)=>new nC(e,t,n),Go=(e,t,n)=>{let r=null,i=null;return e._item===null?i=Sa(e):r=Ce(e._item.id.client,e._item.id.clock),new Ta(r,i,t,n)},zc=(e,t,n=0)=>{let r=e._start;if(n<0){if(t===0)return Go(e,null,n);t--}for(;r!==null;){if(!r.deleted&&r.countable){if(r.length>t)return Go(e,Ce(r.id.client,r.id.clock+t),n);t-=r.length}if(r.right===null&&n<0)return Go(e,r.lastId,n);r=r.right}return Go(e,null,n)},iC=(e,t)=>{const n=vi(e,t),r=t.clock-n.id.clock;return{item:n,diff:r}},aC=(e,t,n=!0)=>{const r=t.store,i=e.item,a=e.type,o=e.tname,s=e.assoc;let l=null,c=0;if(i!==null){if(_t(r,i.client)<=i.clock)return null;const u=n?td(r,i):iC(r,i),d=u.item;if(!(d instanceof Be))return null;if(l=d.parent,l._item===null||!l._item.deleted){c=d.deleted||!d.countable?0:u.diff+(s>=0?0:1);let _=d.left;for(;_!==null;)!_.deleted&&_.countable&&(c+=_.length),_=_.left}}else{if(o!==null)l=t.get(o);else if(a!==null){if(_t(r,a.client)<=a.clock)return null;const{item:u}=n?td(r,a):{item:vi(r,a)};if(u instanceof Be&&u.content instanceof vn)l=u.content.type;else return null}else throw zt();s>=0?c=l._length:c=0}return rC(l,c,e.assoc)},pp=(e,t)=>e===t||e!==null&&t!==null&&e.tname===t.tname&&yi(e.item,t.item)&&yi(e.type,t.type)&&e.assoc===t.assoc;class Vc{constructor(t,n){this.ds=t,this.sv=n}}const mp=(e,t)=>new Vc(e,t),$c=e=>mp(VT(e.store),Ho(e.store)),Qr=(e,t)=>t===void 0?!e.deleted:t.sv.has(e.id.client)&&(t.sv.get(e.id.client)||0)>e.id.clock&&!Ti(t.ds,e.id),Wc=(e,t)=>{const n=kn(e.meta,Wc,Wr),r=e.doc.store;n.has(t)||(t.sv.forEach((i,a)=>{i<_t(r,a)&&Vt(e,Ce(a,i))}),Ar(e,t.ds,i=>{}),n.add(t))};class gp{constructor(){this.clients=new Map,this.pendingStructs=null,this.pendingDs=null}}const Ho=e=>{const t=new Map;return e.clients.forEach((n,r)=>{const i=n[n.length-1];t.set(r,i.id.clock+i.length)}),t},_t=(e,t)=>{const n=e.clients.get(t);if(n===void 0)return 0;const r=n[n.length-1];return r.id.clock+r.length},fp=(e,t)=>{let n=e.clients.get(t.id.client);if(n===void 0)n=[],e.clients.set(t.id.client,n);else{const r=n[n.length-1];if(r.id.clock+r.length!==t.id.clock)throw zt()}n.push(t)},Cn=(e,t)=>{let n=0,r=e.length-1,i=e[r],a=i.id.clock;if(a===t)return r;let o=ar(t/(a+i.length-1)*r);for(;n<=r;){if(i=e[o],a=i.id.clock,a<=t){if(t<a+i.length)return o;n=o+1}else r=o-1;o=ar((n+r)/2)}throw zt()},vi=(e,t)=>{const n=e.clients.get(t.client);return n[Cn(n,t.clock)]},qc=(e,t,n)=>{const r=Cn(t,n),i=t[r];return i.id.clock<n&&i instanceof Be?(t.splice(r+1,0,Zo(e,i,n-i.id.clock)),r+1):r},Vt=(e,t)=>{const n=e.doc.store.clients.get(t.client);return n[qc(e,n,t.clock)]},Ep=(e,t,n)=>{const r=t.clients.get(n.client),i=Cn(r,n.clock),a=r[i];return n.clock!==a.id.clock+a.length-1&&a.constructor!==dn&&r.splice(i+1,0,Zo(e,a,n.clock-a.id.clock+1)),a},oC=(e,t,n)=>{const r=e.clients.get(t.id.client);r[Cn(r,t.id.clock)]=n},hp=(e,t,n,r,i)=>{if(r===0)return;const a=n+r;let o=qc(e,t,n),s;do s=t[o++],a<s.id.clock+s.length&&qc(e,t,a),i(s);while(o<t.length&&t[o].id.clock<a)};class sC{constructor(t,n,r){this.doc=t,this.deleteSet=new bi,this.beforeState=Ho(t.store),this.afterState=new Map,this.changed=new Map,this.changedParentTypes=new Map,this._mergeStructs=[],this.origin=n,this.meta=new Map,this.local=r,this.subdocsAdded=new Set,this.subdocsRemoved=new Set,this.subdocsLoaded=new Set,this._needFormattingCleanup=!1}}const Sp=(e,t)=>t.deleteSet.clients.size===0&&!Pb(t.afterState,(n,r)=>t.beforeState.get(r)!==n)?!1:(Bc(t.deleteSet),JT(e,t),Hc(e,t.deleteSet),!0),bp=(e,t,n)=>{const r=t._item;(r===null||r.id.clock<(e.beforeState.get(r.id.client)||0)&&!r.deleted)&&kn(e.changed,t,Wr).add(n)},Yo=(e,t)=>{let n=e[t],r=e[t-1],i=t;for(;i>0;n=r,r=e[--i-1]){if(r.deleted===n.deleted&&r.constructor===n.constructor&&r.mergeWith(n)){n instanceof Be&&n.parentSub!==null&&n.parent._map.get(n.parentSub)===n&&n.parent._map.set(n.parentSub,r);continue}break}const a=t-i;return a&&e.splice(t+1-a,a),a},lC=(e,t,n)=>{for(const[r,i]of e.clients.entries()){const a=t.clients.get(r);for(let o=i.length-1;o>=0;o--){const s=i[o],l=s.clock+s.len;for(let c=Cn(a,s.clock),u=a[c];c<a.length&&u.id.clock<l;u=a[++c]){const d=a[c];if(s.clock+s.len<=d.id.clock)break;d instanceof Be&&d.deleted&&!d.keep&&n(d)&&d.gc(t,!1)}}}},cC=(e,t)=>{e.clients.forEach((n,r)=>{const i=t.clients.get(r);for(let a=n.length-1;a>=0;a--){const o=n[a],s=or(i.length-1,1+Cn(i,o.clock+o.len-1));for(let l=s,c=i[l];l>0&&c.id.clock>=o.clock;c=i[l])l-=1+Yo(i,l)}})},Tp=(e,t)=>{if(t<e.length){const n=e[t],r=n.doc,i=r.store,a=n.deleteSet,o=n._mergeStructs;try{Bc(a),n.afterState=Ho(n.doc.store),r.emit("beforeObserverCalls",[n,r]);const s=[];n.changed.forEach((l,c)=>s.push(()=>{(c._item===null||!c._item.deleted)&&c._callObserver(n,l)})),s.push(()=>{n.changedParentTypes.forEach((l,c)=>{c._dEH.l.length>0&&(c._item===null||!c._item.deleted)&&(l=l.filter(u=>u.target._item===null||!u.target._item.deleted),l.forEach(u=>{u.currentTarget=c,u._path=null}),l.sort((u,d)=>u.path.length-d.path.length),_p(c._dEH,l,n))})}),s.push(()=>r.emit("afterTransaction",[n,r])),Mc(s,[]),n._needFormattingCleanup&&IC(n)}finally{r.gc&&lC(a,i,r.gcFilter),cC(a,i),n.afterState.forEach((u,d)=>{const _=n.beforeState.get(d)||0;if(_!==u){const m=i.clients.get(d),f=Ln(Cn(m,_),1);for(let g=m.length-1;g>=f;)g-=1+Yo(m,g)}});for(let u=o.length-1;u>=0;u--){const{client:d,clock:_}=o[u].id,m=i.clients.get(d),f=Cn(m,_);f+1<m.length&&Yo(m,f+1)>1||f>0&&Yo(m,f)}if(!n.local&&n.afterState.get(r.clientID)!==n.beforeState.get(r.clientID)&&(HT(Pc,Z_,"[yjs] ",J_,ep,"Changed the client-id because another client seems to be using it."),r.clientID=sp()),r.emit("afterTransactionCleanup",[n,r]),r._observers.has("update")){const u=new KT;Sp(u,n)&&r.emit("update",[u.toUint8Array(),n.origin,r,n])}if(r._observers.has("updateV2")){const u=new Bo;Sp(u,n)&&r.emit("updateV2",[u.toUint8Array(),n.origin,r,n])}const{subdocsAdded:s,subdocsLoaded:l,subdocsRemoved:c}=n;(s.size>0||c.size>0||l.size>0)&&(s.forEach(u=>{u.clientID=r.clientID,u.collectionid==null&&(u.collectionid=r.collectionid),r.subdocs.add(u)}),c.forEach(u=>r.subdocs.delete(u)),r.emit("subdocs",[{loaded:l,added:s,removed:c},r,n]),c.forEach(u=>u.destroy())),e.length<=t+1?(r._transactionCleanups=[],r.emit("afterAllTransactions",[r,e])):Tp(e,t+1)}}},We=(e,t,n=null,r=!0)=>{const i=e._transactionCleanups;let a=!1,o=null;e._transaction===null&&(a=!0,e._transaction=new sC(e,n,r),i.push(e._transaction),i.length===1&&e.emit("beforeAllTransactions",[e]),e.emit("beforeTransaction",[e._transaction,e]));try{o=t(e._transaction)}finally{if(a){const s=e._transaction===i[0];e._transaction=null,s&&Tp(i,0)}}return o};class dC{constructor(t,n){this.insertions=n,this.deletions=t,this.meta=new Map}}const Cp=(e,t,n)=>{Ar(e,n.deletions,r=>{r instanceof Be&&t.scope.some(i=>i===e.doc||ba(i,r))&&nd(r,!1)})},yp=(e,t,n)=>{let r=null;const i=e.doc,a=e.scope;We(i,s=>{for(;t.length>0&&e.currStackItem===null;){const l=i.store,c=t.pop(),u=new Set,d=[];let _=!1;Ar(s,c.insertions,m=>{if(m instanceof Be){if(m.redone!==null){let{item:f,diff:g}=td(l,m.id);g>0&&(f=Vt(s,Ce(f.id.client,f.id.clock+g))),m=f}!m.deleted&&a.some(f=>f===s.doc||ba(f,m))&&d.push(m)}}),Ar(s,c.deletions,m=>{m instanceof Be&&a.some(f=>f===s.doc||ba(f,m))&&!Ti(c.insertions,m.id)&&u.add(m)}),u.forEach(m=>{_=jp(s,m,u,c.insertions,e.ignoreRemoteMapChanges,e)!==null||_});for(let m=d.length-1;m>=0;m--){const f=d[m];e.deleteFilter(f)&&(f.delete(s),_=!0)}e.currStackItem=_?c:null}s.changed.forEach((l,c)=>{l.has(null)&&c._searchMarker&&(c._searchMarker.length=0)}),r=s},e);const o=e.currStackItem;if(o!=null){const s=r.changedParentTypes;e.emit("stack-item-popped",[{stackItem:o,type:n,changedParentTypes:s,origin:e},e]),e.currStackItem=null}return o};class vp extends I_{constructor(t,{captureTimeout:n=500,captureTransaction:r=l=>!0,deleteFilter:i=()=>!0,trackedOrigins:a=new Set([null]),ignoreRemoteMapChanges:o=!1,doc:s=Sc(t)?t[0].doc:t instanceof jr?t:t.doc}={}){super(),this.scope=[],this.doc=s,this.addToScope(t),this.deleteFilter=i,a.add(this),this.trackedOrigins=a,this.captureTransaction=r,this.undoStack=[],this.redoStack=[],this.undoing=!1,this.redoing=!1,this.currStackItem=null,this.lastChange=0,this.ignoreRemoteMapChanges=o,this.captureTimeout=n,this.afterTransactionHandler=l=>{if(!this.captureTransaction(l)||!this.scope.some(E=>l.changedParentTypes.has(E)||E===this.doc)||!this.trackedOrigins.has(l.origin)&&(!l.origin||!this.trackedOrigins.has(l.origin.constructor)))return;const c=this.undoing,u=this.redoing,d=c?this.redoStack:this.undoStack;c?this.stopCapturing():u||this.clear(!1,!0);const _=new bi;l.afterState.forEach((E,h)=>{const S=l.beforeState.get(h)||0,T=E-S;T>0&&ha(_,h,S,T)});const m=gT();let f=!1;if(this.lastChange>0&&m-this.lastChange<this.captureTimeout&&d.length>0&&!c&&!u){const E=d[d.length-1];E.deletions=Gc([E.deletions,l.deleteSet]),E.insertions=Gc([E.insertions,_])}else d.push(new dC(l.deleteSet,_)),f=!0;!c&&!u&&(this.lastChange=m),Ar(l,l.deleteSet,E=>{E instanceof Be&&this.scope.some(h=>h===l.doc||ba(h,E))&&nd(E,!0)});const g=[{stackItem:d[d.length-1],origin:l.origin,type:c?"redo":"undo",changedParentTypes:l.changedParentTypes},this];f?this.emit("stack-item-added",g):this.emit("stack-item-updated",g)},this.doc.on("afterTransaction",this.afterTransactionHandler),this.doc.on("destroy",()=>{this.destroy()})}addToScope(t){const n=new Set(this.scope);t=Sc(t)?t:[t],t.forEach(r=>{n.has(r)||(n.add(r),(r instanceof Nt?r.doc!==this.doc:r!==this.doc)&&np("[yjs#509] Not same Y.Doc"),this.scope.push(r))})}addTrackedOrigin(t){this.trackedOrigins.add(t)}removeTrackedOrigin(t){this.trackedOrigins.delete(t)}clear(t=!0,n=!0){(t&&this.canUndo()||n&&this.canRedo())&&this.doc.transact(r=>{t&&(this.undoStack.forEach(i=>Cp(r,this,i)),this.undoStack=[]),n&&(this.redoStack.forEach(i=>Cp(r,this,i)),this.redoStack=[]),this.emit("stack-cleared",[{undoStackCleared:t,redoStackCleared:n}])})}stopCapturing(){this.lastChange=0}undo(){this.undoing=!0;let t;try{t=yp(this,this.undoStack,"undo")}finally{this.undoing=!1}return t}redo(){this.redoing=!0;let t;try{t=yp(this,this.redoStack,"redo")}finally{this.redoing=!1}return t}canUndo(){return this.undoStack.length>0}canRedo(){return this.redoStack.length>0}destroy(){this.trackedOrigins.delete(this),this.doc.off("afterTransaction",this.afterTransactionHandler),super.destroy()}}function*uC(e){const t=je(e.restDecoder);for(let n=0;n<t;n++){const r=je(e.restDecoder),i=e.readClient();let a=je(e.restDecoder);for(let o=0;o<r;o++){const s=e.readInfo();if(s===10){const l=je(e.restDecoder);yield new Rn(Ce(i,a),l),a+=l}else if((wo&s)!==0){const l=(s&(sr|Bt))===0,c=new Be(Ce(i,a),null,(s&Bt)===Bt?e.readLeftID():null,null,(s&sr)===sr?e.readRightID():null,l?e.readParentInfo()?e.readString():e.readLeftID():null,l&&(s&_a)===_a?e.readString():null,Qp(e,s));yield c,a+=c.length}else{const l=e.readLen();yield new dn(Ce(i,a),l),a+=l}}}}class _C{constructor(t,n){this.gen=uC(t),this.curr=null,this.done=!1,this.filterSkips=n,this.next()}next(){do this.curr=this.gen.next().value||null;while(this.filterSkips&&this.curr!==null&&this.curr.constructor===Rn);return this.curr}}class pC{constructor(t){this.currClient=0,this.startClock=0,this.written=0,this.encoder=t,this.clientStructs=[]}}const mC=(e,t)=>{if(e.constructor===dn){const{client:n,clock:r}=e.id;return new dn(Ce(n,r+t),e.length-t)}else if(e.constructor===Rn){const{client:n,clock:r}=e.id;return new Rn(Ce(n,r+t),e.length-t)}else{const n=e,{client:r,clock:i}=n.id;return new Be(Ce(r,i+t),null,Ce(r,i+t-1),null,n.rightOrigin,n.parent,n.parentSub,n.content.splice(t))}},Rp=(e,t=Fo,n=Bo)=>{if(e.length===1)return e[0];const r=e.map(u=>new t(Ac(u)));let i=r.map(u=>new _C(u,!0)),a=null;const o=new n,s=new pC(o);for(;i=i.filter(_=>_.curr!==null),i.sort((_,m)=>{if(_.curr.id.client===m.curr.id.client){const f=_.curr.id.clock-m.curr.id.clock;return f===0?_.curr.constructor===m.curr.constructor?0:_.curr.constructor===Rn?1:-1:f}else return m.curr.id.client-_.curr.id.client}),i.length!==0;){const u=i[0],d=u.curr.id.client;if(a!==null){let _=u.curr,m=!1;for(;_!==null&&_.id.clock+_.length<=a.struct.id.clock+a.struct.length&&_.id.client>=a.struct.id.client;)_=u.next(),m=!0;if(_===null||_.id.client!==d||m&&_.id.clock>a.struct.id.clock+a.struct.length)continue;if(d!==a.struct.id.client)ya(s,a.struct,a.offset),a={struct:_,offset:0},u.next();else if(a.struct.id.clock+a.struct.length<_.id.clock)if(a.struct.constructor===Rn)a.struct.length=_.id.clock+_.length-a.struct.id.clock;else{ya(s,a.struct,a.offset);const f=_.id.clock-a.struct.id.clock-a.struct.length;a={struct:new Rn(Ce(d,a.struct.id.clock+a.struct.length),f),offset:0}}else{const f=a.struct.id.clock+a.struct.length-_.id.clock;f>0&&(a.struct.constructor===Rn?a.struct.length-=f:_=mC(_,f)),a.struct.mergeWith(_)||(ya(s,a.struct,a.offset),a={struct:_,offset:0},u.next())}}else a={struct:u.curr,offset:0},u.next();for(let _=u.curr;_!==null&&_.id.client===d&&_.id.clock===a.struct.id.clock+a.struct.length&&_.constructor!==Rn;_=u.next())ya(s,a.struct,a.offset),a={struct:_,offset:0}}a!==null&&(ya(s,a.struct,a.offset),a=null),gC(s);const l=r.map(u=>$T(u)),c=Gc(l);return Hc(o,c),o.toUint8Array()},Np=e=>{e.written>0&&(e.clientStructs.push({written:e.written,restEncoder:bn(e.encoder.restEncoder)}),e.encoder.restEncoder=fa(),e.written=0)},ya=(e,t,n)=>{e.written>0&&e.currClient!==t.id.client&&Np(e),e.written===0&&(e.currClient=t.id.client,e.encoder.writeClient(t.id.client),Ae(e.encoder.restEncoder,t.id.clock+n)),t.write(e.encoder,n),e.written++},gC=e=>{Np(e);const t=e.encoder.restEncoder;Ae(t,e.clientStructs.length);for(let n=0;n<e.clientStructs.length;n++){const r=e.clientStructs[n];Ae(t,r.written),Do(t,r.restEncoder)}},Op="You must not compute changes after the event-handler fired.";class zo{constructor(t,n){this.target=t,this.currentTarget=t,this.transaction=n,this._changes=null,this._keys=null,this._delta=null,this._path=null}get path(){return this._path||(this._path=fC(this.currentTarget,this.target))}deletes(t){return Ti(this.transaction.deleteSet,t.id)}get keys(){if(this._keys===null){if(this.transaction.doc._transactionCleanups.length===0)throw Or(Op);const t=new Map,n=this.target;this.transaction.changed.get(n).forEach(i=>{if(i!==null){const a=n._map.get(i);let o,s;if(this.adds(a)){let l=a.left;for(;l!==null&&this.adds(l);)l=l.left;if(this.deletes(a))if(l!==null&&this.deletes(l))o="delete",s=hc(l.content.getContent());else return;else l!==null&&this.deletes(l)?(o="update",s=hc(l.content.getContent())):(o="add",s=void 0)}else if(this.deletes(a))o="delete",s=hc(a.content.getContent());else return;t.set(i,{action:o,oldValue:s})}}),this._keys=t}return this._keys}get delta(){return this.changes.delta}adds(t){return t.id.clock>=(this.transaction.beforeState.get(t.id.client)||0)}get changes(){let t=this._changes;if(t===null){if(this.transaction.doc._transactionCleanups.length===0)throw Or(Op);const n=this.target,r=Wr(),i=Wr(),a=[];if(t={added:r,deleted:i,delta:a,keys:this.keys},this.transaction.changed.get(n).has(null)){let s=null;const l=()=>{s&&a.push(s)};for(let c=n._start;c!==null;c=c.right)c.deleted?this.deletes(c)&&!this.adds(c)&&((s===null||s.delete===void 0)&&(l(),s={delete:0}),s.delete+=c.length,i.add(c)):this.adds(c)?((s===null||s.insert===void 0)&&(l(),s={insert:[]}),s.insert=s.insert.concat(c.content.getContent()),r.add(c)):((s===null||s.retain===void 0)&&(l(),s={retain:0}),s.retain+=c.length);s!==null&&s.retain===void 0&&l()}this._changes=t}return t}}const fC=(e,t)=>{const n=[];for(;t._item!==null&&t!==e;){if(t._item.parentSub!==null)n.unshift(t._item.parentSub);else{let r=0,i=t._item.parent._start;for(;i!==t._item&&i!==null;)!i.deleted&&i.countable&&(r+=i.length),i=i.right;n.unshift(r)}t=t._item.parent}return n},kt=()=>{np("Invalid access: Add Yjs type to a document before reading data.")},Ap=80;let Kc=0;class EC{constructor(t,n){t.marker=!0,this.p=t,this.index=n,this.timestamp=Kc++}}const hC=e=>{e.timestamp=Kc++},Ip=(e,t,n)=>{e.p.marker=!1,e.p=t,t.marker=!0,e.index=n,e.timestamp=Kc++},SC=(e,t,n)=>{if(e.length>=Ap){const r=e.reduce((i,a)=>i.timestamp<a.timestamp?i:a);return Ip(r,t,n),r}else{const r=new EC(t,n);return e.push(r),r}},Vo=(e,t)=>{if(e._start===null||t===0||e._searchMarker===null)return null;const n=e._searchMarker.length===0?null:e._searchMarker.reduce((a,o)=>xo(t-a.index)<xo(t-o.index)?a:o);let r=e._start,i=0;for(n!==null&&(r=n.p,i=n.index,hC(n));r.right!==null&&i<t;){if(!r.deleted&&r.countable){if(t<i+r.length)break;i+=r.length}r=r.right}for(;r.left!==null&&i>t;)r=r.left,!r.deleted&&r.countable&&(i-=r.length);for(;r.left!==null&&r.left.id.client===r.id.client&&r.left.id.clock+r.left.length===r.id.clock;)r=r.left,!r.deleted&&r.countable&&(i-=r.length);return n!==null&&xo(n.index-i)<r.parent.length/Ap?(Ip(n,r,i),n):SC(e._searchMarker,r,i)},va=(e,t,n)=>{for(let r=e.length-1;r>=0;r--){const i=e[r];if(n>0){let a=i.p;for(a.marker=!1;a&&(a.deleted||!a.countable);)a=a.left,a&&!a.deleted&&a.countable&&(i.index-=a.length);if(a===null||a.marker===!0){e.splice(r,1);continue}i.p=a,a.marker=!0}(t<i.index||n>0&&t===i.index)&&(i.index=Ln(t,i.index+n))}},$o=(e,t,n)=>{const r=e,i=t.changedParentTypes;for(;kn(i,e,()=>[]).push(n),e._item!==null;)e=e._item.parent;_p(r._eH,n,t)};class Nt{constructor(){this._item=null,this._map=new Map,this._start=null,this.doc=null,this._length=0,this._eH=cp(),this._dEH=cp(),this._searchMarker=null}get parent(){return this._item?this._item.parent:null}_integrate(t,n){this.doc=t,this._item=n}_copy(){throw Tn()}clone(){throw Tn()}_write(t){}get _first(){let t=this._start;for(;t!==null&&t.deleted;)t=t.right;return t}_callObserver(t,n){!t.local&&this._searchMarker&&(this._searchMarker.length=0)}observe(t){dp(this._eH,t)}observeDeep(t){dp(this._dEH,t)}unobserve(t){up(this._eH,t)}unobserveDeep(t){up(this._dEH,t)}toJSON(){}}const xp=(e,t,n)=>{e.doc??kt(),t<0&&(t=e._length+t),n<0&&(n=e._length+n);let r=n-t;const i=[];let a=e._start;for(;a!==null&&r>0;){if(a.countable&&!a.deleted){const o=a.content.getContent();if(o.length<=t)t-=o.length;else{for(let s=t;s<o.length&&r>0;s++)i.push(o[s]),r--;t=0}}a=a.right}return i},wp=e=>{e.doc??kt();const t=[];let n=e._start;for(;n!==null;){if(n.countable&&!n.deleted){const r=n.content.getContent();for(let i=0;i<r.length;i++)t.push(r[i])}n=n.right}return t},Dp=(e,t)=>{const n=[];let r=e._start;for(;r!==null;){if(r.countable&&Qr(r,t)){const i=r.content.getContent();for(let a=0;a<i.length;a++)n.push(i[a])}r=r.right}return n},Ra=(e,t)=>{let n=0,r=e._start;for(e.doc??kt();r!==null;){if(r.countable&&!r.deleted){const i=r.content.getContent();for(let a=0;a<i.length;a++)t(i[a],n++,e)}r=r.right}},Mp=(e,t)=>{const n=[];return Ra(e,(r,i)=>{n.push(t(r,i,e))}),n},bC=e=>{let t=e._start,n=null,r=0;return{[Symbol.iterator](){return this},next:()=>{if(n===null){for(;t!==null&&t.deleted;)t=t.right;if(t===null)return{done:!0,value:void 0};n=t.content.getContent(),r=0,t=t.right}const i=n[r++];return n.length<=r&&(n=null),{done:!1,value:i}}}},kp=(e,t)=>{e.doc??kt();const n=Vo(e,t);let r=e._start;for(n!==null&&(r=n.p,t-=n.index);r!==null;r=r.right)if(!r.deleted&&r.countable){if(t<r.length)return r.content.getContent()[t];t-=r.length}},Wo=(e,t,n,r)=>{let i=n;const a=e.doc,o=a.clientID,s=a.store,l=n===null?t._start:n.right;let c=[];const u=()=>{c.length>0&&(i=new Be(Ce(o,_t(s,o)),i,i&&i.lastId,l,l&&l.id,t,null,new Jr(c)),i.integrate(e,0),c=[])};r.forEach(d=>{if(d===null)c.push(d);else switch(d.constructor){case Number:case Object:case Boolean:case Array:case String:c.push(d);break;default:switch(u(),d.constructor){case Uint8Array:case ArrayBuffer:i=new Be(Ce(o,_t(s,o)),i,i&&i.lastId,l,l&&l.id,t,null,new Na(new Uint8Array(d))),i.integrate(e,0);break;case jr:i=new Be(Ce(o,_t(s,o)),i,i&&i.lastId,l,l&&l.id,t,null,new Aa(d)),i.integrate(e,0);break;default:if(d instanceof Nt)i=new Be(Ce(o,_t(s,o)),i,i&&i.lastId,l,l&&l.id,t,null,new vn(d)),i.integrate(e,0);else throw new Error("Unexpected content type in insert operation")}}}),u()},Lp=()=>Or("Length exceeded!"),Pp=(e,t,n,r)=>{if(n>t._length)throw Lp();if(n===0)return t._searchMarker&&va(t._searchMarker,n,r.length),Wo(e,t,null,r);const i=n,a=Vo(t,n);let o=t._start;for(a!==null&&(o=a.p,n-=a.index,n===0&&(o=o.prev,n+=o&&o.countable&&!o.deleted?o.length:0));o!==null;o=o.right)if(!o.deleted&&o.countable){if(n<=o.length){n<o.length&&Vt(e,Ce(o.id.client,o.id.clock+n));break}n-=o.length}return t._searchMarker&&va(t._searchMarker,i,r.length),Wo(e,t,o,r)},TC=(e,t,n)=>{let i=(t._searchMarker||[]).reduce((a,o)=>o.index>a.index?o:a,{index:0,p:t._start}).p;if(i)for(;i.right;)i=i.right;return Wo(e,t,i,n)},Up=(e,t,n,r)=>{if(r===0)return;const i=n,a=r,o=Vo(t,n);let s=t._start;for(o!==null&&(s=o.p,n-=o.index);s!==null&&n>0;s=s.right)!s.deleted&&s.countable&&(n<s.length&&Vt(e,Ce(s.id.client,s.id.clock+n)),n-=s.length);for(;r>0&&s!==null;)s.deleted||(r<s.length&&Vt(e,Ce(s.id.client,s.id.clock+r)),s.delete(e),r-=s.length),s=s.right;if(r>0)throw Lp();t._searchMarker&&va(t._searchMarker,i,-a+r)},qo=(e,t,n)=>{const r=t._map.get(n);r!==void 0&&r.delete(e)},jc=(e,t,n,r)=>{const i=t._map.get(n)||null,a=e.doc,o=a.clientID;let s;if(r==null)s=new Jr([r]);else switch(r.constructor){case Number:case Object:case Boolean:case Array:case String:case Date:case BigInt:s=new Jr([r]);break;case Uint8Array:s=new Na(r);break;case jr:s=new Aa(r);break;default:if(r instanceof Nt)s=new vn(r);else throw new Error("Unexpected content type")}new Be(Ce(o,_t(a.store,o)),i,i&&i.lastId,null,null,t,n,s).integrate(e,0)},Qc=(e,t)=>{e.doc??kt();const n=e._map.get(t);return n!==void 0&&!n.deleted?n.content.getContent()[n.length-1]:void 0},Fp=e=>{const t={};return e.doc??kt(),e._map.forEach((n,r)=>{n.deleted||(t[r]=n.content.getContent()[n.length-1])}),t},Bp=(e,t)=>{e.doc??kt();const n=e._map.get(t);return n!==void 0&&!n.deleted},CC=(e,t)=>{const n={};return e._map.forEach((r,i)=>{let a=r;for(;a!==null&&(!t.sv.has(a.id.client)||a.id.clock>=(t.sv.get(a.id.client)||0));)a=a.left;a!==null&&Qr(a,t)&&(n[i]=a.content.getContent()[a.length-1])}),n},Ko=e=>(e.doc??kt(),YT(e._map.entries(),t=>!t[1].deleted));class yC extends zo{}class Ri extends Nt{constructor(){super(),this._prelimContent=[],this._searchMarker=[]}static from(t){const n=new Ri;return n.push(t),n}_integrate(t,n){super._integrate(t,n),this.insert(0,this._prelimContent),this._prelimContent=null}_copy(){return new Ri}clone(){const t=new Ri;return t.insert(0,this.toArray().map(n=>n instanceof Nt?n.clone():n)),t}get length(){return this.doc??kt(),this._length}_callObserver(t,n){super._callObserver(t,n),$o(this,t,new yC(this,t))}insert(t,n){this.doc!==null?We(this.doc,r=>{Pp(r,this,t,n)}):this._prelimContent.splice(t,0,...n)}push(t){this.doc!==null?We(this.doc,n=>{TC(n,this,t)}):this._prelimContent.push(...t)}unshift(t){this.insert(0,t)}delete(t,n=1){this.doc!==null?We(this.doc,r=>{Up(r,this,t,n)}):this._prelimContent.splice(t,n)}get(t){return kp(this,t)}toArray(){return wp(this)}slice(t=0,n=this.length){return xp(this,t,n)}toJSON(){return this.map(t=>t instanceof Nt?t.toJSON():t)}map(t){return Mp(this,t)}forEach(t){Ra(this,t)}[Symbol.iterator](){return bC(this)}_write(t){t.writeTypeRef(KC)}}const vC=e=>new Ri;class RC extends zo{constructor(t,n,r){super(t,n),this.keysChanged=r}}class Ni extends Nt{constructor(t){super(),this._prelimContent=null,t===void 0?this._prelimContent=new Map:this._prelimContent=new Map(t)}_integrate(t,n){super._integrate(t,n),this._prelimContent.forEach((r,i)=>{this.set(i,r)}),this._prelimContent=null}_copy(){return new Ni}clone(){const t=new Ni;return this.forEach((n,r)=>{t.set(r,n instanceof Nt?n.clone():n)}),t}_callObserver(t,n){$o(this,t,new RC(this,t,n))}toJSON(){this.doc??kt();const t={};return this._map.forEach((n,r)=>{if(!n.deleted){const i=n.content.getContent()[n.length-1];t[r]=i instanceof Nt?i.toJSON():i}}),t}get size(){return[...Ko(this)].length}keys(){return Uc(Ko(this),t=>t[0])}values(){return Uc(Ko(this),t=>t[1].content.getContent()[t[1].length-1])}entries(){return Uc(Ko(this),t=>[t[0],t[1].content.getContent()[t[1].length-1]])}forEach(t){this.doc??kt(),this._map.forEach((n,r)=>{n.deleted||t(n.content.getContent()[n.length-1],r,this)})}[Symbol.iterator](){return this.entries()}delete(t){this.doc!==null?We(this.doc,n=>{qo(n,this,t)}):this._prelimContent.delete(t)}set(t,n){return this.doc!==null?We(this.doc,r=>{jc(r,this,t,n)}):this._prelimContent.set(t,n),n}get(t){return Qc(this,t)}has(t){return Bp(this,t)}clear(){this.doc!==null?We(this.doc,t=>{this.forEach(function(n,r,i){qo(t,i,r)})}):this._prelimContent.clear()}_write(t){t.writeTypeRef(jC)}}const NC=e=>new Ni,Ir=(e,t)=>e===t||typeof e=="object"&&typeof t=="object"&&e&&t&&yT(e,t);class Xc{constructor(t,n,r,i){this.left=t,this.right=n,this.index=r,this.currentAttributes=i}forward(){this.right===null&&zt(),this.right.content.constructor===Et?this.right.deleted||Oi(this.currentAttributes,this.right.content):this.right.deleted||(this.index+=this.right.length),this.left=this.right,this.right=this.right.right}}const Gp=(e,t,n)=>{for(;t.right!==null&&n>0;)t.right.content.constructor===Et?t.right.deleted||Oi(t.currentAttributes,t.right.content):t.right.deleted||(n<t.right.length&&Vt(e,Ce(t.right.id.client,t.right.id.clock+n)),t.index+=t.right.length,n-=t.right.length),t.left=t.right,t.right=t.right.right;return t},jo=(e,t,n,r)=>{const i=new Map,a=r?Vo(t,n):null;if(a){const o=new Xc(a.p.left,a.p,a.index,i);return Gp(e,o,n-a.index)}else{const o=new Xc(null,t._start,0,i);return Gp(e,o,n)}},Hp=(e,t,n,r)=>{for(;n.right!==null&&(n.right.deleted===!0||n.right.content.constructor===Et&&Ir(r.get(n.right.content.key),n.right.content.value));)n.right.deleted||r.delete(n.right.content.key),n.forward();const i=e.doc,a=i.clientID;r.forEach((o,s)=>{const l=n.left,c=n.right,u=new Be(Ce(a,_t(i.store,a)),l,l&&l.lastId,c,c&&c.id,t,null,new Et(s,o));u.integrate(e,0),n.right=u,n.forward()})},Oi=(e,t)=>{const{key:n,value:r}=t;r===null?e.delete(n):e.set(n,r)},Yp=(e,t)=>{for(;e.right!==null;){if(!(e.right.deleted||e.right.content.constructor===Et&&Ir(t[e.right.content.key]??null,e.right.content.value)))break;e.forward()}},zp=(e,t,n,r)=>{const i=e.doc,a=i.clientID,o=new Map;for(const s in r){const l=r[s],c=n.currentAttributes.get(s)??null;if(!Ir(c,l)){o.set(s,c);const{left:u,right:d}=n;n.right=new Be(Ce(a,_t(i.store,a)),u,u&&u.lastId,d,d&&d.id,t,null,new Et(s,l)),n.right.integrate(e,0),n.forward()}}return o},Zc=(e,t,n,r,i)=>{n.currentAttributes.forEach((_,m)=>{i[m]===void 0&&(i[m]=null)});const a=e.doc,o=a.clientID;Yp(n,i);const s=zp(e,t,n,i),l=r.constructor===String?new yn(r):r instanceof Nt?new vn(r):new Zr(r);let{left:c,right:u,index:d}=n;t._searchMarker&&va(t._searchMarker,n.index,l.getLength()),u=new Be(Ce(o,_t(a.store,o)),c,c&&c.lastId,u,u&&u.id,t,null,l),u.integrate(e,0),n.right=u,n.index=d,n.forward(),Hp(e,t,n,s)},Vp=(e,t,n,r,i)=>{const a=e.doc,o=a.clientID;Yp(n,i);const s=zp(e,t,n,i);e:for(;n.right!==null&&(r>0||s.size>0&&(n.right.deleted||n.right.content.constructor===Et));){if(!n.right.deleted)switch(n.right.content.constructor){case Et:{const{key:l,value:c}=n.right.content,u=i[l];if(u!==void 0){if(Ir(u,c))s.delete(l);else{if(r===0)break e;s.set(l,c)}n.right.delete(e)}else n.currentAttributes.set(l,c);break}default:r<n.right.length&&Vt(e,Ce(n.right.id.client,n.right.id.clock+r)),r-=n.right.length;break}n.forward()}if(r>0){let l="";for(;r>0;r--)l+=`
|
|
32
|
+
`;n.right=new Be(Ce(o,_t(a.store,o)),n.left,n.left&&n.left.lastId,n.right,n.right&&n.right.id,t,null,new yn(l)),n.right.integrate(e,0),n.forward()}Hp(e,t,n,s)},$p=(e,t,n,r,i)=>{let a=t;const o=ln();for(;a&&(!a.countable||a.deleted);){if(!a.deleted&&a.content.constructor===Et){const c=a.content;o.set(c.key,c)}a=a.right}let s=0,l=!1;for(;t!==a;){if(n===t&&(l=!0),!t.deleted){const c=t.content;if(c.constructor===Et){const{key:u,value:d}=c,_=r.get(u)??null;(o.get(u)!==c||_===d)&&(t.delete(e),s++,!l&&(i.get(u)??null)===d&&_!==d&&(_===null?i.delete(u):i.set(u,_))),!l&&!t.deleted&&Oi(i,c)}}t=t.right}return s},OC=(e,t)=>{for(;t&&t.right&&(t.right.deleted||!t.right.countable);)t=t.right;const n=new Set;for(;t&&(t.deleted||!t.countable);){if(!t.deleted&&t.content.constructor===Et){const r=t.content.key;n.has(r)?t.delete(e):n.add(r)}t=t.left}},AC=e=>{let t=0;return We(e.doc,n=>{let r=e._start,i=e._start,a=ln();const o=Ec(a);for(;i;)i.deleted===!1&&(i.content.constructor===Et?Oi(o,i.content):(t+=$p(n,r,i,a,o),a=Ec(o),r=i)),i=i.right}),t},IC=e=>{const t=new Set,n=e.doc;for(const[r,i]of e.afterState.entries()){const a=e.beforeState.get(r)||0;i!==a&&hp(e,n.store.clients.get(r),a,i,o=>{!o.deleted&&o.content.constructor===Et&&o.constructor!==dn&&t.add(o.parent)})}We(n,r=>{Ar(e,e.deleteSet,i=>{if(i instanceof dn||!i.parent._hasFormatting||t.has(i.parent))return;const a=i.parent;i.content.constructor===Et?t.add(a):OC(r,i)});for(const i of t)AC(i)})},Wp=(e,t,n)=>{const r=n,i=Ec(t.currentAttributes),a=t.right;for(;n>0&&t.right!==null;){if(t.right.deleted===!1)switch(t.right.content.constructor){case vn:case Zr:case yn:n<t.right.length&&Vt(e,Ce(t.right.id.client,t.right.id.clock+n)),n-=t.right.length,t.right.delete(e);break}t.forward()}a&&$p(e,a,t.right,i,t.currentAttributes);const o=(t.left||t.right).parent;return o._searchMarker&&va(o._searchMarker,t.index,-r+n),t};class xC extends zo{constructor(t,n,r){super(t,n),this.childListChanged=!1,this.keysChanged=new Set,r.forEach(i=>{i===null?this.childListChanged=!0:this.keysChanged.add(i)})}get changes(){if(this._changes===null){const t={keys:this.keys,delta:this.delta,added:new Set,deleted:new Set};this._changes=t}return this._changes}get delta(){if(this._delta===null){const t=this.target.doc,n=[];We(t,r=>{const i=new Map,a=new Map;let o=this.target._start,s=null;const l={};let c="",u=0,d=0;const _=()=>{if(s!==null){let m=null;switch(s){case"delete":d>0&&(m={delete:d}),d=0;break;case"insert":(typeof c=="object"||c.length>0)&&(m={insert:c},i.size>0&&(m.attributes={},i.forEach((f,g)=>{f!==null&&(m.attributes[g]=f)}))),c="";break;case"retain":u>0&&(m={retain:u},TT(l)||(m.attributes=ST({},l))),u=0;break}m&&n.push(m),s=null}};for(;o!==null;){switch(o.content.constructor){case vn:case Zr:this.adds(o)?this.deletes(o)||(_(),s="insert",c=o.content.getContent()[0],_()):this.deletes(o)?(s!=="delete"&&(_(),s="delete"),d+=1):o.deleted||(s!=="retain"&&(_(),s="retain"),u+=1);break;case yn:this.adds(o)?this.deletes(o)||(s!=="insert"&&(_(),s="insert"),c+=o.content.str):this.deletes(o)?(s!=="delete"&&(_(),s="delete"),d+=o.length):o.deleted||(s!=="retain"&&(_(),s="retain"),u+=o.length);break;case Et:{const{key:m,value:f}=o.content;if(this.adds(o)){if(!this.deletes(o)){const g=i.get(m)??null;Ir(g,f)?f!==null&&o.delete(r):(s==="retain"&&_(),Ir(f,a.get(m)??null)?delete l[m]:l[m]=f)}}else if(this.deletes(o)){a.set(m,f);const g=i.get(m)??null;Ir(g,f)||(s==="retain"&&_(),l[m]=g)}else if(!o.deleted){a.set(m,f);const g=l[m];g!==void 0&&(Ir(g,f)?g!==null&&o.delete(r):(s==="retain"&&_(),f===null?delete l[m]:l[m]=f))}o.deleted||(s==="insert"&&_(),Oi(i,o.content));break}}o=o.right}for(_();n.length>0;){const m=n[n.length-1];if(m.retain!==void 0&&m.attributes===void 0)n.pop();else break}}),this._delta=n}return this._delta}}class xr extends Nt{constructor(t){super(),this._pending=t!==void 0?[()=>this.insert(0,t)]:[],this._searchMarker=[],this._hasFormatting=!1}get length(){return this.doc??kt(),this._length}_integrate(t,n){super._integrate(t,n);try{this._pending.forEach(r=>r())}catch(r){console.error(r)}this._pending=null}_copy(){return new xr}clone(){const t=new xr;return t.applyDelta(this.toDelta()),t}_callObserver(t,n){super._callObserver(t,n);const r=new xC(this,t,n);$o(this,t,r),!t.local&&this._hasFormatting&&(t._needFormattingCleanup=!0)}toString(){this.doc??kt();let t="",n=this._start;for(;n!==null;)!n.deleted&&n.countable&&n.content.constructor===yn&&(t+=n.content.str),n=n.right;return t}toJSON(){return this.toString()}applyDelta(t,{sanitize:n=!0}={}){this.doc!==null?We(this.doc,r=>{const i=new Xc(null,this._start,0,new Map);for(let a=0;a<t.length;a++){const o=t[a];if(o.insert!==void 0){const s=!n&&typeof o.insert=="string"&&a===t.length-1&&i.right===null&&o.insert.slice(-1)===`
|
|
49
33
|
`?o.insert.slice(0,-1):o.insert;(typeof s!="string"||s.length>0)&&Zc(r,this,i,s,o.attributes||{})}else o.retain!==void 0?Vp(r,this,i,o.retain,o.attributes||{}):o.delete!==void 0&&Wp(r,i,o.delete)}}):this._pending.push(()=>this.applyDelta(t))}toDelta(t,n,r){this.doc??kt();const i=[],a=new Map,o=this.doc;let s="",l=this._start;function c(){if(s.length>0){const d={};let _=!1;a.forEach((f,g)=>{_=!0,d[g]=f});const m={insert:s};_&&(m.attributes=d),i.push(m),s=""}}const u=()=>{for(;l!==null;){if(Qr(l,t)||n!==void 0&&Qr(l,n))switch(l.content.constructor){case yn:{const d=a.get("ychange");t!==void 0&&!Qr(l,t)?(d===void 0||d.user!==l.id.client||d.type!=="removed")&&(c(),a.set("ychange",r?r("removed",l.id):{type:"removed"})):n!==void 0&&!Qr(l,n)?(d===void 0||d.user!==l.id.client||d.type!=="added")&&(c(),a.set("ychange",r?r("added",l.id):{type:"added"})):d!==void 0&&(c(),a.delete("ychange")),s+=l.content.str;break}case vn:case Zr:{c();const d={insert:l.content.getContent()[0]};if(a.size>0){const _={};d.attributes=_,a.forEach((m,f)=>{_[f]=m})}i.push(d);break}case Et:Qr(l,t)&&(c(),Oi(a,l.content));break}l=l.right}c()};return t||n?We(o,d=>{t&&Wc(d,t),n&&Wc(d,n),u()},"cleanup"):u(),i}insert(t,n,r){if(n.length<=0)return;const i=this.doc;i!==null?We(i,a=>{const o=jo(a,this,t,!r);r||(r={},o.currentAttributes.forEach((s,l)=>{r[l]=s})),Zc(a,this,o,n,r)}):this._pending.push(()=>this.insert(t,n,r))}insertEmbed(t,n,r){const i=this.doc;i!==null?We(i,a=>{const o=jo(a,this,t,!r);Zc(a,this,o,n,r||{})}):this._pending.push(()=>this.insertEmbed(t,n,r||{}))}delete(t,n){if(n===0)return;const r=this.doc;r!==null?We(r,i=>{Wp(i,jo(i,this,t,!0),n)}):this._pending.push(()=>this.delete(t,n))}format(t,n,r){if(n===0)return;const i=this.doc;i!==null?We(i,a=>{const o=jo(a,this,t,!1);o.right!==null&&Vp(a,this,o,n,r)}):this._pending.push(()=>this.format(t,n,r))}removeAttribute(t){this.doc!==null?We(this.doc,n=>{qo(n,this,t)}):this._pending.push(()=>this.removeAttribute(t))}setAttribute(t,n){this.doc!==null?We(this.doc,r=>{jc(r,this,t,n)}):this._pending.push(()=>this.setAttribute(t,n))}getAttribute(t){return Qc(this,t)}getAttributes(){return Fp(this)}_write(t){t.writeTypeRef(QC)}}const wC=e=>new xr;class Jc{constructor(t,n=()=>!0){this._filter=n,this._root=t,this._currentNode=t._start,this._firstCall=!0,t.doc??kt()}[Symbol.iterator](){return this}next(){let t=this._currentNode,n=t&&t.content&&t.content.type;if(t!==null&&(!this._firstCall||t.deleted||!this._filter(n)))do if(n=t.content.type,!t.deleted&&(n.constructor===Lt||n.constructor===Xr)&&n._start!==null)t=n._start;else for(;t!==null;){const r=t.next;if(r!==null){t=r;break}else t.parent===this._root?t=null:t=t.parent._item}while(t!==null&&(t.deleted||!this._filter(t.content.type)));return this._firstCall=!1,t===null?{value:void 0,done:!0}:(this._currentNode=t,{value:t.content.type,done:!1})}}class Xr extends Nt{constructor(){super(),this._prelimContent=[]}get firstChild(){const t=this._first;return t?t.content.getContent()[0]:null}_integrate(t,n){super._integrate(t,n),this.insert(0,this._prelimContent),this._prelimContent=null}_copy(){return new Xr}clone(){const t=new Xr;return t.insert(0,this.toArray().map(n=>n instanceof Nt?n.clone():n)),t}get length(){return this.doc??kt(),this._prelimContent===null?this._length:this._prelimContent.length}createTreeWalker(t){return new Jc(this,t)}querySelector(t){t=t.toUpperCase();const r=new Jc(this,i=>i.nodeName&&i.nodeName.toUpperCase()===t).next();return r.done?null:r.value}querySelectorAll(t){return t=t.toUpperCase(),qr(new Jc(this,n=>n.nodeName&&n.nodeName.toUpperCase()===t))}_callObserver(t,n){$o(this,t,new kC(this,n,t))}toString(){return Mp(this,t=>t.toString()).join("")}toJSON(){return this.toString()}toDOM(t=document,n={},r){const i=t.createDocumentFragment();return r!==void 0&&r._createAssociation(i,this),Ra(this,a=>{i.insertBefore(a.toDOM(t,n,r),null)}),i}insert(t,n){this.doc!==null?We(this.doc,r=>{Pp(r,this,t,n)}):this._prelimContent.splice(t,0,...n)}insertAfter(t,n){if(this.doc!==null)We(this.doc,r=>{const i=t&&t instanceof Nt?t._item:t;Wo(r,this,i,n)});else{const r=this._prelimContent,i=t===null?0:r.findIndex(a=>a===t)+1;if(i===0&&t!==null)throw Or("Reference item not found");r.splice(i,0,...n)}}delete(t,n=1){this.doc!==null?We(this.doc,r=>{Up(r,this,t,n)}):this._prelimContent.splice(t,n)}toArray(){return wp(this)}push(t){this.insert(this.length,t)}unshift(t){this.insert(0,t)}get(t){return kp(this,t)}slice(t=0,n=this.length){return xp(this,t,n)}forEach(t){Ra(this,t)}_write(t){t.writeTypeRef(ZC)}}const DC=e=>new Xr;class Lt extends Xr{constructor(t="UNDEFINED"){super(),this.nodeName=t,this._prelimAttrs=new Map}get nextSibling(){const t=this._item?this._item.next:null;return t?t.content.type:null}get prevSibling(){const t=this._item?this._item.prev:null;return t?t.content.type:null}_integrate(t,n){super._integrate(t,n),this._prelimAttrs.forEach((r,i)=>{this.setAttribute(i,r)}),this._prelimAttrs=null}_copy(){return new Lt(this.nodeName)}clone(){const t=new Lt(this.nodeName),n=this.getAttributes();return bT(n,(r,i)=>{typeof r=="string"&&t.setAttribute(i,r)}),t.insert(0,this.toArray().map(r=>r instanceof Nt?r.clone():r)),t}toString(){const t=this.getAttributes(),n=[],r=[];for(const s in t)r.push(s);r.sort();const i=r.length;for(let s=0;s<i;s++){const l=r[s];n.push(l+'="'+t[l]+'"')}const a=this.nodeName.toLocaleLowerCase(),o=n.length>0?" "+n.join(" "):"";return`<${a}${o}>${super.toString()}</${a}>`}removeAttribute(t){this.doc!==null?We(this.doc,n=>{qo(n,this,t)}):this._prelimAttrs.delete(t)}setAttribute(t,n){this.doc!==null?We(this.doc,r=>{jc(r,this,t,n)}):this._prelimAttrs.set(t,n)}getAttribute(t){return Qc(this,t)}hasAttribute(t){return Bp(this,t)}getAttributes(t){return t?CC(this,t):Fp(this)}toDOM(t=document,n={},r){const i=t.createElement(this.nodeName),a=this.getAttributes();for(const o in a){const s=a[o];typeof s=="string"&&i.setAttribute(o,s)}return Ra(this,o=>{i.appendChild(o.toDOM(t,n,r))}),r!==void 0&&r._createAssociation(i,this),i}_write(t){t.writeTypeRef(XC),t.writeKey(this.nodeName)}}const MC=e=>new Lt(e.readKey());class kC extends zo{constructor(t,n,r){super(t,r),this.childListChanged=!1,this.attributesChanged=new Set,n.forEach(i=>{i===null?this.childListChanged=!0:this.attributesChanged.add(i)})}}class Qo extends Ni{constructor(t){super(),this.hookName=t}_copy(){return new Qo(this.hookName)}clone(){const t=new Qo(this.hookName);return this.forEach((n,r)=>{t.set(r,n)}),t}toDOM(t=document,n={},r){const i=n[this.hookName];let a;return i!==void 0?a=i.createDom(this):a=document.createElement(this.hookName),a.setAttribute("data-yjs-hook",this.hookName),r!==void 0&&r._createAssociation(a,this),a}_write(t){t.writeTypeRef(JC),t.writeKey(this.hookName)}}const LC=e=>new Qo(e.readKey());class $t extends xr{get nextSibling(){const t=this._item?this._item.next:null;return t?t.content.type:null}get prevSibling(){const t=this._item?this._item.prev:null;return t?t.content.type:null}_copy(){return new $t}clone(){const t=new $t;return t.applyDelta(this.toDelta()),t}toDOM(t=document,n,r){const i=t.createTextNode(this.toString());return r!==void 0&&r._createAssociation(i,this),i}toString(){return this.toDelta().map(t=>{const n=[];for(const i in t.attributes){const a=[];for(const o in t.attributes[i])a.push({key:o,value:t.attributes[i][o]});a.sort((o,s)=>o.key<s.key?-1:1),n.push({nodeName:i,attrs:a})}n.sort((i,a)=>i.nodeName<a.nodeName?-1:1);let r="";for(let i=0;i<n.length;i++){const a=n[i];r+=`<${a.nodeName}`;for(let o=0;o<a.attrs.length;o++){const s=a.attrs[o];r+=` ${s.key}="${s.value}"`}r+=">"}r+=t.insert;for(let i=n.length-1;i>=0;i--)r+=`</${n[i].nodeName}>`;return r}).join("")}toJSON(){return this.toString()}_write(t){t.writeTypeRef(ey)}}const PC=e=>new $t;class ed{constructor(t,n){this.id=t,this.length=n}get deleted(){throw Tn()}mergeWith(t){return!1}write(t,n,r){throw Tn()}integrate(t,n){throw Tn()}}const UC=0;class dn extends ed{get deleted(){return!0}delete(){}mergeWith(t){return this.constructor!==t.constructor?!1:(this.length+=t.length,!0)}integrate(t,n){n>0&&(this.id.clock+=n,this.length-=n),fp(t.doc.store,this)}write(t,n){t.writeInfo(UC),t.writeLen(this.length-n)}getMissing(t,n){return null}}class Na{constructor(t){this.content=t}getLength(){return 1}getContent(){return[this.content]}isCountable(){return!0}copy(){return new Na(this.content)}splice(t){throw Tn()}mergeWith(t){return!1}integrate(t,n){}delete(t){}gc(t){}write(t,n){t.writeBuf(this.content)}getRef(){return 3}}const FC=e=>new Na(e.readBuf());class Oa{constructor(t){this.len=t}getLength(){return this.len}getContent(){return[]}isCountable(){return!1}copy(){return new Oa(this.len)}splice(t){const n=new Oa(this.len-t);return this.len=t,n}mergeWith(t){return this.len+=t.len,!0}integrate(t,n){ha(t.deleteSet,n.id.client,n.id.clock,this.len),n.markDeleted()}delete(t){}gc(t){}write(t,n){t.writeLen(this.len-n)}getRef(){return 1}}const BC=e=>new Oa(e.readLen()),qp=(e,t)=>new jr({guid:e,...t,shouldLoad:t.shouldLoad||t.autoLoad||!1});class Aa{constructor(t){t._item&&console.error("This document was already integrated as a sub-document. You should create a second instance instead with the same guid."),this.doc=t;const n={};this.opts=n,t.gc||(n.gc=!1),t.autoLoad&&(n.autoLoad=!0),t.meta!==null&&(n.meta=t.meta)}getLength(){return 1}getContent(){return[this.doc]}isCountable(){return!0}copy(){return new Aa(qp(this.doc.guid,this.opts))}splice(t){throw Tn()}mergeWith(t){return!1}integrate(t,n){this.doc._item=n,t.subdocsAdded.add(this.doc),this.doc.shouldLoad&&t.subdocsLoaded.add(this.doc)}delete(t){t.subdocsAdded.has(this.doc)?t.subdocsAdded.delete(this.doc):t.subdocsRemoved.add(this.doc)}gc(t){}write(t,n){t.writeString(this.doc.guid),t.writeAny(this.opts)}getRef(){return 9}}const GC=e=>new Aa(qp(e.readString(),e.readAny()));class Zr{constructor(t){this.embed=t}getLength(){return 1}getContent(){return[this.embed]}isCountable(){return!0}copy(){return new Zr(this.embed)}splice(t){throw Tn()}mergeWith(t){return!1}integrate(t,n){}delete(t){}gc(t){}write(t,n){t.writeJSON(this.embed)}getRef(){return 5}}const HC=e=>new Zr(e.readJSON());class Et{constructor(t,n){this.key=t,this.value=n}getLength(){return 1}getContent(){return[]}isCountable(){return!1}copy(){return new Et(this.key,this.value)}splice(t){throw Tn()}mergeWith(t){return!1}integrate(t,n){const r=n.parent;r._searchMarker=null,r._hasFormatting=!0}delete(t){}gc(t){}write(t,n){t.writeKey(this.key),t.writeJSON(this.value)}getRef(){return 6}}const YC=e=>new Et(e.readKey(),e.readJSON());class Xo{constructor(t){this.arr=t}getLength(){return this.arr.length}getContent(){return this.arr}isCountable(){return!0}copy(){return new Xo(this.arr)}splice(t){const n=new Xo(this.arr.slice(t));return this.arr=this.arr.slice(0,t),n}mergeWith(t){return this.arr=this.arr.concat(t.arr),!0}integrate(t,n){}delete(t){}gc(t){}write(t,n){const r=this.arr.length;t.writeLen(r-n);for(let i=n;i<r;i++){const a=this.arr[i];t.writeString(a===void 0?"undefined":JSON.stringify(a))}}getRef(){return 2}}const zC=e=>{const t=e.readLen(),n=[];for(let r=0;r<t;r++){const i=e.readString();i==="undefined"?n.push(void 0):n.push(JSON.parse(i))}return new Xo(n)},VC=Uo("node_env")==="development";class Jr{constructor(t){this.arr=t,VC&&j_(t)}getLength(){return this.arr.length}getContent(){return this.arr}isCountable(){return!0}copy(){return new Jr(this.arr)}splice(t){const n=new Jr(this.arr.slice(t));return this.arr=this.arr.slice(0,t),n}mergeWith(t){return this.arr=this.arr.concat(t.arr),!0}integrate(t,n){}delete(t){}gc(t){}write(t,n){const r=this.arr.length;t.writeLen(r-n);for(let i=n;i<r;i++){const a=this.arr[i];t.writeAny(a)}}getRef(){return 8}}const $C=e=>{const t=e.readLen(),n=[];for(let r=0;r<t;r++)n.push(e.readAny());return new Jr(n)};class yn{constructor(t){this.str=t}getLength(){return this.str.length}getContent(){return this.str.split("")}isCountable(){return!0}copy(){return new yn(this.str)}splice(t){const n=new yn(this.str.slice(t));this.str=this.str.slice(0,t);const r=this.str.charCodeAt(t-1);return r>=55296&&r<=56319&&(this.str=this.str.slice(0,t-1)+"�",n.str="�"+n.str.slice(1)),n}mergeWith(t){return this.str+=t.str,!0}integrate(t,n){}delete(t){}gc(t){}write(t,n){t.writeString(n===0?this.str:this.str.slice(n))}getRef(){return 4}}const WC=e=>new yn(e.readString()),qC=[vC,NC,wC,MC,DC,LC,PC],KC=0,jC=1,QC=2,XC=3,ZC=4,JC=5,ey=6;class vn{constructor(t){this.type=t}getLength(){return 1}getContent(){return[this.type]}isCountable(){return!0}copy(){return new vn(this.type._copy())}splice(t){throw Tn()}mergeWith(t){return!1}integrate(t,n){this.type._integrate(t.doc,n)}delete(t){let n=this.type._start;for(;n!==null;)n.deleted?n.id.clock<(t.beforeState.get(n.id.client)||0)&&t._mergeStructs.push(n):n.delete(t),n=n.right;this.type._map.forEach(r=>{r.deleted?r.id.clock<(t.beforeState.get(r.id.client)||0)&&t._mergeStructs.push(r):r.delete(t)}),t.changed.delete(this.type)}gc(t){let n=this.type._start;for(;n!==null;)n.gc(t,!0),n=n.right;this.type._start=null,this.type._map.forEach(r=>{for(;r!==null;)r.gc(t,!0),r=r.left}),this.type._map=new Map}write(t,n){this.type._write(t)}getRef(){return 7}}const ty=e=>new vn(qC[e.readTypeRef()](e)),td=(e,t)=>{let n=t,r=0,i;do r>0&&(n=Ce(n.client,n.clock+r)),i=vi(e,n),r=n.clock-i.id.clock,n=i.redone;while(n!==null&&i instanceof Be);return{item:i,diff:r}},nd=(e,t)=>{for(;e!==null&&e.keep!==t;)e.keep=t,e=e.parent._item},Zo=(e,t,n)=>{const{client:r,clock:i}=t.id,a=new Be(Ce(r,i+n),t,Ce(r,i+n-1),t.right,t.rightOrigin,t.parent,t.parentSub,t.content.splice(n));return t.deleted&&a.markDeleted(),t.keep&&(a.keep=!0),t.redone!==null&&(a.redone=Ce(t.redone.client,t.redone.clock+n)),t.right=a,a.right!==null&&(a.right.left=a),e._mergeStructs.push(a),a.parentSub!==null&&a.right===null&&a.parent._map.set(a.parentSub,a),t.length=n,a},Kp=(e,t)=>Fb(e,n=>Ti(n.deletions,t)),jp=(e,t,n,r,i,a)=>{const o=e.doc,s=o.store,l=o.clientID,c=t.redone;if(c!==null)return Vt(e,c);let u=t.parent._item,d=null,_;if(u!==null&&u.deleted===!0){if(u.redone===null&&(!n.has(u)||jp(e,u,n,r,i,a)===null))return null;for(;u.redone!==null;)u=Vt(e,u.redone)}const m=u===null?t.parent:u.content.type;if(t.parentSub===null){for(d=t.left,_=t;d!==null;){let h=d;for(;h!==null&&h.parent._item!==u;)h=h.redone===null?null:Vt(e,h.redone);if(h!==null&&h.parent._item===u){d=h;break}d=d.left}for(;_!==null;){let h=_;for(;h!==null&&h.parent._item!==u;)h=h.redone===null?null:Vt(e,h.redone);if(h!==null&&h.parent._item===u){_=h;break}_=_.right}}else if(_=null,t.right&&!i){for(d=t;d!==null&&d.right!==null&&(d.right.redone||Ti(r,d.right.id)||Kp(a.undoStack,d.right.id)||Kp(a.redoStack,d.right.id));)for(d=d.right;d.redone;)d=Vt(e,d.redone);if(d&&d.right!==null)return null}else d=m._map.get(t.parentSub)||null;const f=_t(s,l),g=Ce(l,f),E=new Be(g,d,d&&d.lastId,_,_&&_.id,m,t.parentSub,t.content.copy());return t.redone=g,nd(E,!0),E.integrate(e,0),E};class Be extends ed{constructor(t,n,r,i,a,o,s,l){super(t,l.getLength()),this.origin=r,this.left=n,this.right=i,this.rightOrigin=a,this.parent=o,this.parentSub=s,this.redone=null,this.content=l,this.info=this.content.isCountable()?D_:0}set marker(t){(this.info&Tc)>0!==t&&(this.info^=Tc)}get marker(){return(this.info&Tc)>0}get keep(){return(this.info&w_)>0}set keep(t){this.keep!==t&&(this.info^=w_)}get countable(){return(this.info&D_)>0}get deleted(){return(this.info&bc)>0}set deleted(t){this.deleted!==t&&(this.info^=bc)}markDeleted(){this.info|=bc}getMissing(t,n){if(this.origin&&this.origin.client!==this.id.client&&this.origin.clock>=_t(n,this.origin.client))return this.origin.client;if(this.rightOrigin&&this.rightOrigin.client!==this.id.client&&this.rightOrigin.clock>=_t(n,this.rightOrigin.client))return this.rightOrigin.client;if(this.parent&&this.parent.constructor===Ci&&this.id.client!==this.parent.client&&this.parent.clock>=_t(n,this.parent.client))return this.parent.client;if(this.origin&&(this.left=Ep(t,n,this.origin),this.origin=this.left.lastId),this.rightOrigin&&(this.right=Vt(t,this.rightOrigin),this.rightOrigin=this.right.id),this.left&&this.left.constructor===dn||this.right&&this.right.constructor===dn)this.parent=null;else if(!this.parent)this.left&&this.left.constructor===Be?(this.parent=this.left.parent,this.parentSub=this.left.parentSub):this.right&&this.right.constructor===Be&&(this.parent=this.right.parent,this.parentSub=this.right.parentSub);else if(this.parent.constructor===Ci){const r=vi(n,this.parent);r.constructor===dn?this.parent=null:this.parent=r.content.type}return null}integrate(t,n){if(n>0&&(this.id.clock+=n,this.left=Ep(t,t.doc.store,Ce(this.id.client,this.id.clock-1)),this.origin=this.left.lastId,this.content=this.content.splice(n),this.length-=n),this.parent){if(!this.left&&(!this.right||this.right.left!==null)||this.left&&this.left.right!==this.right){let r=this.left,i;if(r!==null)i=r.right;else if(this.parentSub!==null)for(i=this.parent._map.get(this.parentSub)||null;i!==null&&i.left!==null;)i=i.left;else i=this.parent._start;const a=new Set,o=new Set;for(;i!==null&&i!==this.right;){if(o.add(i),a.add(i),yi(this.origin,i.origin)){if(i.id.client<this.id.client)r=i,a.clear();else if(yi(this.rightOrigin,i.rightOrigin))break}else if(i.origin!==null&&o.has(vi(t.doc.store,i.origin)))a.has(vi(t.doc.store,i.origin))||(r=i,a.clear());else break;i=i.right}this.left=r}if(this.left!==null){const r=this.left.right;this.right=r,this.left.right=this}else{let r;if(this.parentSub!==null)for(r=this.parent._map.get(this.parentSub)||null;r!==null&&r.left!==null;)r=r.left;else r=this.parent._start,this.parent._start=this;this.right=r}this.right!==null?this.right.left=this:this.parentSub!==null&&(this.parent._map.set(this.parentSub,this),this.left!==null&&this.left.delete(t)),this.parentSub===null&&this.countable&&!this.deleted&&(this.parent._length+=this.length),fp(t.doc.store,this),this.content.integrate(t,this),bp(t,this.parent,this.parentSub),(this.parent._item!==null&&this.parent._item.deleted||this.parentSub!==null&&this.right!==null)&&this.delete(t)}else new dn(this.id,this.length).integrate(t,0)}get next(){let t=this.right;for(;t!==null&&t.deleted;)t=t.right;return t}get prev(){let t=this.left;for(;t!==null&&t.deleted;)t=t.left;return t}get lastId(){return this.length===1?this.id:Ce(this.id.client,this.id.clock+this.length-1)}mergeWith(t){if(this.constructor===t.constructor&&yi(t.origin,this.lastId)&&this.right===t&&yi(this.rightOrigin,t.rightOrigin)&&this.id.client===t.id.client&&this.id.clock+this.length===t.id.clock&&this.deleted===t.deleted&&this.redone===null&&t.redone===null&&this.content.constructor===t.content.constructor&&this.content.mergeWith(t.content)){const n=this.parent._searchMarker;return n&&n.forEach(r=>{r.p===t&&(r.p=this,!this.deleted&&this.countable&&(r.index-=this.length))}),t.keep&&(this.keep=!0),this.right=t.right,this.right!==null&&(this.right.left=this),this.length+=t.length,!0}return!1}delete(t){if(!this.deleted){const n=this.parent;this.countable&&this.parentSub===null&&(n._length-=this.length),this.markDeleted(),ha(t.deleteSet,this.id.client,this.id.clock,this.length),bp(t,n,this.parentSub),this.content.delete(t)}}gc(t,n){if(!this.deleted)throw zt();this.content.gc(t),n?oC(t,this,new dn(this.id,this.length)):this.content=new Oa(this.length)}write(t,n){const r=n>0?Ce(this.id.client,this.id.clock+n-1):this.origin,i=this.rightOrigin,a=this.parentSub,o=this.content.getRef()&wo|(r===null?0:Bt)|(i===null?0:sr)|(a===null?0:_a);if(t.writeInfo(o),r!==null&&t.writeLeftID(r),i!==null&&t.writeRightID(i),r===null&&i===null){const s=this.parent;if(s._item!==void 0){const l=s._item;if(l===null){const c=Sa(s);t.writeParentInfo(!0),t.writeString(c)}else t.writeParentInfo(!1),t.writeLeftID(l.id)}else s.constructor===String?(t.writeParentInfo(!0),t.writeString(s)):s.constructor===Ci?(t.writeParentInfo(!1),t.writeLeftID(s)):zt();a!==null&&t.writeString(a)}this.content.write(t,n)}}const Qp=(e,t)=>ny[t&wo](e),ny=[()=>{zt()},BC,zC,FC,WC,HC,YC,ty,$C,GC,()=>{zt()}],ry=10;class Rn extends ed{get deleted(){return!0}delete(){}mergeWith(t){return this.constructor!==t.constructor?!1:(this.length+=t.length,!0)}integrate(t,n){zt()}write(t,n){t.writeInfo(ry),Ae(t.restEncoder,this.length-n)}getMissing(t,n){return null}}const Xp=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:{},Zp="__ $YJS$ __";Xp[Zp]===!0&&console.error("Yjs was already imported. This breaks constructor checks and will lead to issues! - https://github.com/yjs/yjs/issues/438"),Xp[Zp]=!0;const iy=()=>{let e=!0;return(t,n)=>{if(e){e=!1;try{t()}finally{e=!0}}else n!==void 0&&n()}},ay=/[\uD800-\uDBFF]/,oy=/[\uDC00-\uDFFF]/,sy=(e,t)=>{let n=0,r=0;for(;n<e.length&&n<t.length&&e[n]===t[n];)n++;for(n>0&&ay.test(e[n-1])&&n--;r+n<e.length&&r+n<t.length&&e[e.length-r-1]===t[t.length-r-1];)r++;return r>0&&oy.test(e[e.length-r])&&r--,{index:n,remove:e.length-n-r,insert:t.slice(n,t.length-r)}},Un=(e,t)=>e>>>t|e<<32-t,ly=e=>Un(e,2)^Un(e,13)^Un(e,22),cy=e=>Un(e,6)^Un(e,11)^Un(e,25),dy=e=>Un(e,7)^Un(e,18)^e>>>3,uy=e=>Un(e,17)^Un(e,19)^e>>>10,_y=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),py=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]);class my{constructor(){const t=new ArrayBuffer(320);this._H=new Uint32Array(t,0,8),this._H.set(py),this._W=new Uint32Array(t,64,64)}_updateHash(){const t=this._H,n=this._W;for(let d=16;d<64;d++)n[d]=uy(n[d-2])+n[d-7]+dy(n[d-15])+n[d-16];let r=t[0],i=t[1],a=t[2],o=t[3],s=t[4],l=t[5],c=t[6],u=t[7];for(let d=0,_,m;d<64;d++)_=u+cy(s)+(s&l^~s&c)+_y[d]+n[d]>>>0,m=ly(r)+(r&i^r&a^i&a)>>>0,u=c,c=l,l=s,s=o+_>>>0,o=a,a=i,i=r,r=_+m>>>0;t[0]+=r,t[1]+=i,t[2]+=a,t[3]+=o,t[4]+=s,t[5]+=l,t[6]+=c,t[7]+=u}digest(t){let n=0;for(;n+56<=t.length;){let o=0;for(;o<16&&n+3<t.length;o++)this._W[o]=t[n++]<<24|t[n++]<<16|t[n++]<<8|t[n++];if(n%64!==0){for(this._W.fill(0,o,16);n<t.length;)this._W[o]|=t[n]<<(3-n%4)*8,n++;this._W[o]|=Bt<<(3-n%4)*8}this._updateHash()}const r=n%64!==0;this._W.fill(0,0,16);let i=0;for(;n<t.length;i++)for(let o=3;o>=0&&n<t.length;o--)this._W[i]|=t[n++]<<o*8;r||(this._W[i-(n%4===0?0:1)]|=Bt<<(3-n%4)*8),this._W[14]=t.byteLength/Bb,this._W[15]=t.byteLength*8,this._updateHash();const a=new Uint8Array(32);for(let o=0;o<this._H.length;o++)for(let s=0;s<4;s++)a[o*4+s]=this._H[o]>>>(3-s)*8;return a}}const gy=e=>new my().digest(e),nt=new Z.PluginKey("y-sync"),dr=new Z.PluginKey("y-undo"),Jo=new Z.PluginKey("yjs-cursor"),fy=e=>{for(let n=6;n<e.length;n++)e[n%6]=e[n%6]^e[n];return e.slice(0,6)},Ey=e=>AT(fy(gy(IT(e)))),es=(e,t)=>t===void 0?!e.deleted:t.sv.has(e.id.client)&&t.sv.get(e.id.client)>e.id.clock&&!Ti(t.ds,e.id),hy=[{light:"#ecd44433",dark:"#ecd444"}],Sy=(e,t,n)=>{if(!e.has(n)){if(e.size<t.length){const r=Wr();e.forEach(i=>r.add(i)),t=t.filter(i=>!r.has(i))}e.set(n,_T(t))}return e.get(n)},by=(e,{colors:t=hy,colorMapping:n=new Map,permanentUserData:r=null,onFirstRender:i=()=>{},mapping:a}={})=>{let o=!1;const s=new yy(e,a),l=new Z.Plugin({props:{editable:c=>{const u=nt.getState(c);return u.snapshot==null&&u.prevSnapshot==null}},key:nt,state:{init:(c,u)=>({type:e,doc:e.doc,binding:s,snapshot:null,prevSnapshot:null,isChangeOrigin:!1,isUndoRedoOperation:!1,addToHistory:!0,colors:t,colorMapping:n,permanentUserData:r}),apply:(c,u)=>{const d=c.getMeta(nt);if(d!==void 0){u=Object.assign({},u);for(const _ in d)u[_]=d[_]}return u.addToHistory=c.getMeta("addToHistory")!==!1,u.isChangeOrigin=d!==void 0&&!!d.isChangeOrigin,u.isUndoRedoOperation=d!==void 0&&!!d.isChangeOrigin&&!!d.isUndoRedoOperation,s.prosemirrorView!==null&&d!==void 0&&(d.snapshot!=null||d.prevSnapshot!=null)&&Lc(0,()=>{s.prosemirrorView!=null&&(d.restore==null?s._renderSnapshot(d.snapshot,d.prevSnapshot,u):(s._renderSnapshot(d.snapshot,d.snapshot,u),delete u.restore,delete u.snapshot,delete u.prevSnapshot,s.mux(()=>{s._prosemirrorChanged(s.prosemirrorView.state.doc)})))}),u}},view:c=>(s.initView(c),a==null&&s._forceRerender(),i(),{update:()=>{const u=l.getState(c.state);if(u.snapshot==null&&u.prevSnapshot==null&&(o||c.state.doc.content.findDiffStart(c.state.doc.type.createAndFill().content)!==null)){if(o=!0,u.addToHistory===!1&&!u.isChangeOrigin){const d=dr.getState(c.state),_=d&&d.undoManager;_&&_.stopCapturing()}s.mux(()=>{u.doc.transact(d=>{d.meta.set("addToHistory",u.addToHistory),s._prosemirrorChanged(c.state.doc)},nt)})}},destroy:()=>{s.destroy()}})});return l},Ty=(e,t,n)=>{if(t!==null&&t.anchor!==null&&t.head!==null)if(t.type==="all")e.setSelection(new Z.AllSelection(e.doc));else if(t.type==="node"){const r=Ai(n.doc,n.type,t.anchor,n.mapping);e.setSelection(Cy(e,r))}else{const r=Ai(n.doc,n.type,t.anchor,n.mapping),i=Ai(n.doc,n.type,t.head,n.mapping);r!==null&&i!==null&&e.setSelection(Z.TextSelection.between(e.doc.resolve(r),e.doc.resolve(i)))}},Cy=(e,t)=>{const n=e.doc.resolve(t);return n.nodeAfter?Z.NodeSelection.create(e.doc,t):Z.TextSelection.near(n)},rd=(e,t)=>({type:t.selection.jsonID,anchor:is(t.selection.anchor,e.type,e.mapping),head:is(t.selection.head,e.type,e.mapping)});class yy{constructor(t,n=new Map){this.type=t,this.prosemirrorView=null,this.mux=iy(),this.mapping=n,this.isOMark=new Map,this._observeFunction=this._typeChanged.bind(this),this.doc=t.doc,this.beforeTransactionSelection=null,this.beforeAllTransactions=()=>{this.beforeTransactionSelection===null&&this.prosemirrorView!=null&&(this.beforeTransactionSelection=rd(this,this.prosemirrorView.state))},this.afterAllTransactions=()=>{this.beforeTransactionSelection=null},this._domSelectionInView=null}get _tr(){return this.prosemirrorView.state.tr.setMeta("addToHistory",!1)}_isLocalCursorInView(){return this.prosemirrorView.hasFocus()?(Q_&&this._domSelectionInView===null&&(Lc(0,()=>{this._domSelectionInView=null}),this._domSelectionInView=this._isDomSelectionInView()),this._domSelectionInView):!1}_isDomSelectionInView(){const t=this.prosemirrorView._root.getSelection();if(t==null||t.anchorNode==null)return!1;const n=this.prosemirrorView._root.createRange();n.setStart(t.anchorNode,t.anchorOffset),n.setEnd(t.focusNode,t.focusOffset),n.getClientRects().length===0&&n.startContainer&&n.collapsed&&n.selectNodeContents(n.startContainer);const i=n.getBoundingClientRect(),a=wT.documentElement;return i.bottom>=0&&i.right>=0&&i.left<=(window.innerWidth||a.clientWidth||0)&&i.top<=(window.innerHeight||a.clientHeight||0)}renderSnapshot(t,n){n||(n=mp(ap(),new Map)),this.prosemirrorView.dispatch(this._tr.setMeta(nt,{snapshot:t,prevSnapshot:n}))}unrenderSnapshot(){this.mapping.clear(),this.mux(()=>{const t=this.type.toArray().map(r=>ts(r,this.prosemirrorView.state.schema,this)).filter(r=>r!==null),n=this._tr.replace(0,this.prosemirrorView.state.doc.content.size,new Cr.Slice(Cr.Fragment.from(t),0,0));n.setMeta(nt,{snapshot:null,prevSnapshot:null}),this.prosemirrorView.dispatch(n)})}_forceRerender(){this.mapping.clear(),this.mux(()=>{const t=this.beforeTransactionSelection!==null?null:this.prosemirrorView.state.selection,n=this.type.toArray().map(i=>ts(i,this.prosemirrorView.state.schema,this)).filter(i=>i!==null),r=this._tr.replace(0,this.prosemirrorView.state.doc.content.size,new Cr.Slice(Cr.Fragment.from(n),0,0));if(t){const i=or(Ln(t.anchor,0),r.doc.content.size),a=or(Ln(t.head,0),r.doc.content.size);r.setSelection(Z.TextSelection.create(r.doc,i,a))}this.prosemirrorView.dispatch(r.setMeta(nt,{isChangeOrigin:!0,binding:this}))})}_renderSnapshot(t,n,r){let i=this.doc,a=this.type;if(t||(t=$c(this.doc)),t instanceof Uint8Array||n instanceof Uint8Array)if((!(t instanceof Uint8Array)||!(n instanceof Uint8Array))&&zt(),i=new jr({gc:!1}),Yc(i,n),n=$c(i),Yc(i,t),t=$c(i),a._item===null){const o=Array.from(this.doc.share.keys()).find(s=>this.doc.share.get(s)===this.type);a=i.getXmlFragment(o)}else{const o=i.store.clients.get(a._item.id.client)??[],s=Cn(o,a._item.id.clock);a=o[s].content.type}this.mapping.clear(),this.mux(()=>{i.transact(o=>{const s=r.permanentUserData;s&&s.dss.forEach(d=>{Ar(o,d,_=>{})});const l=(d,_)=>{const m=d==="added"?s.getUserByClientId(_.client):s.getUserByDeletedId(_);return{user:m,type:d,color:Sy(r.colorMapping,r.colors,m)}},c=Dp(a,new Vc(n.ds,t.sv)).map(d=>!d._item.deleted||es(d._item,t)||es(d._item,n)?ts(d,this.prosemirrorView.state.schema,{mapping:new Map,isOMark:new Map},t,n,l):null).filter(d=>d!==null),u=this._tr.replace(0,this.prosemirrorView.state.doc.content.size,new Cr.Slice(Cr.Fragment.from(c),0,0));this.prosemirrorView.dispatch(u.setMeta(nt,{isChangeOrigin:!0}))},nt)})}_typeChanged(t,n){if(this.prosemirrorView==null)return;const r=nt.getState(this.prosemirrorView.state);if(t.length===0||r.snapshot!=null||r.prevSnapshot!=null){this.renderSnapshot(r.snapshot,r.prevSnapshot);return}this.mux(()=>{const i=(s,l)=>this.mapping.delete(l);Ar(n,n.deleteSet,s=>{if(s.constructor===Be){const l=s.content.type;l&&this.mapping.delete(l)}}),n.changed.forEach(i),n.changedParentTypes.forEach(i);const a=this.type.toArray().map(s=>Jp(s,this.prosemirrorView.state.schema,this)).filter(s=>s!==null);let o=this._tr.replace(0,this.prosemirrorView.state.doc.content.size,new Cr.Slice(Cr.Fragment.from(a),0,0));Ty(o,this.beforeTransactionSelection,this),o=o.setMeta(nt,{isChangeOrigin:!0,isUndoRedoOperation:n.origin instanceof vp}),this.beforeTransactionSelection!==null&&this._isLocalCursorInView()&&o.scrollIntoView(),this.prosemirrorView.dispatch(o)})}_prosemirrorChanged(t){this.doc.transact(()=>{sd(this.doc,this.type,t,this),this.beforeTransactionSelection=rd(this,this.prosemirrorView.state)},nt)}initView(t){this.prosemirrorView!=null&&this.destroy(),this.prosemirrorView=t,this.doc.on("beforeAllTransactions",this.beforeAllTransactions),this.doc.on("afterAllTransactions",this.afterAllTransactions),this.type.observeDeep(this._observeFunction)}destroy(){this.prosemirrorView!=null&&(this.prosemirrorView=null,this.type.unobserveDeep(this._observeFunction),this.doc.off("beforeAllTransactions",this.beforeAllTransactions),this.doc.off("afterAllTransactions",this.afterAllTransactions))}}const Jp=(e,t,n,r,i,a)=>{const o=n.mapping.get(e);if(o===void 0){if(e instanceof Lt)return ts(e,t,n,r,i,a);throw Tn()}return o},ts=(e,t,n,r,i,a)=>{const o=[],s=l=>{if(l instanceof Lt){const c=Jp(l,t,n,r,i,a);c!==null&&o.push(c)}else{const c=l._item.right?.content?.type;c instanceof xr&&!c._item.deleted&&c._item.id.client===c.doc.clientID&&(l.applyDelta([{retain:l.length},...c.toDelta()]),c.doc.transact(d=>{c._item.delete(d)}));const u=vy(l,t,n,r,i,a);u!==null&&u.forEach(d=>{d!==null&&o.push(d)})}};r===void 0||i===void 0?e.toArray().forEach(s):Dp(e,new Vc(i.ds,r.sv)).forEach(s);try{const l=e.getAttributes(r);r!==void 0&&(es(e._item,r)?es(e._item,i)||(l.ychange=a?a("added",e._item.id):{type:"added"}):l.ychange=a?a("removed",e._item.id):{type:"removed"});const c=t.node(e.nodeName,l,o);return n.mapping.set(e,c),c}catch{return e.doc.transact(c=>{e._item.delete(c)},nt),n.mapping.delete(e),null}},vy=(e,t,n,r,i,a)=>{const o=[],s=e.toDelta(r,i,a);try{for(let l=0;l<s.length;l++){const c=s[l];o.push(t.text(c.insert,xy(c.attributes,t)))}}catch{return e.doc.transact(c=>{e._item.delete(c)},nt),null}return o},Ry=(e,t)=>{const n=new $t,r=e.map(i=>({insert:i.text,attributes:rm(i.marks,t)}));return n.applyDelta(r),t.mapping.set(n,e),n},Ny=(e,t)=>{const n=new Lt(e.type.name);for(const r in e.attrs){const i=e.attrs[r];i!==null&&r!=="ychange"&&n.setAttribute(r,i)}return n.insert(0,ns(e).map(r=>id(r,t))),t.mapping.set(n,e),n},id=(e,t)=>e instanceof Array?Ry(e,t):Ny(e,t),em=e=>typeof e=="object"&&e!==null,ad=(e,t)=>{const n=Object.keys(e).filter(i=>e[i]!==null);let r=n.length===Object.keys(t).filter(i=>t[i]!==null).length;for(let i=0;i<n.length&&r;i++){const a=n[i],o=e[a],s=t[a];r=a==="ychange"||o===s||em(o)&&em(s)&&ad(o,s)}return r},ns=e=>{const t=e.content.content,n=[];for(let r=0;r<t.length;r++){const i=t[r];if(i.isText){const a=[];for(let o=t[r];r<t.length&&o.isText;o=t[++r])a.push(o);r--,n.push(a)}else n.push(i)}return n},tm=(e,t)=>{const n=e.toDelta();return n.length===t.length&&n.every((r,i)=>r.insert===t[i].text&&W_(r.attributes||{}).length===t[i].marks.length&&K_(r.attributes,(a,o)=>{const s=od(o),l=t[i].marks;return l.find(u=>u.type.name===s)?ad(a,l.find(u=>u.type.name===s)?.attrs):!1}))},Ia=(e,t)=>{if(e instanceof Lt&&!(t instanceof Array)&&ld(e,t)){const n=ns(t);return e._length===n.length&&ad(e.getAttributes(),t.attrs)&&e.toArray().every((r,i)=>Ia(r,n[i]))}return e instanceof $t&&t instanceof Array&&tm(e,t)},rs=(e,t)=>e===t||e instanceof Array&&t instanceof Array&&e.length===t.length&&e.every((n,r)=>t[r]===n),nm=(e,t,n)=>{const r=e.toArray(),i=ns(t),a=i.length,o=r.length,s=or(o,a);let l=0,c=0,u=!1;for(;l<s;l++){const d=r[l],_=i[l];if(rs(n.mapping.get(d),_))u=!0;else if(!Ia(d,_))break}for(;l+c<s;c++){const d=r[o-c-1],_=i[a-c-1];if(rs(n.mapping.get(d),_))u=!0;else if(!Ia(d,_))break}return{equalityFactor:l+c,foundMappedChild:u}},Oy=e=>{let t="",n=e._start;const r={};for(;n!==null;)n.deleted||(n.countable&&n.content instanceof yn?t+=n.content.str:n.content instanceof Et&&(r[n.content.key]=null)),n=n.right;return{str:t,nAttrs:r}},Ay=(e,t,n)=>{n.mapping.set(e,t);const{nAttrs:r,str:i}=Oy(e),a=t.map(c=>({insert:c.text,attributes:Object.assign({},r,rm(c.marks,n))})),{insert:o,remove:s,index:l}=sy(i,a.map(c=>c.insert).join(""));e.delete(l,s),e.insert(l,o),e.applyDelta(a.map(c=>({retain:c.insert.length,attributes:c.attributes})))},Iy=/(.*)(--[a-zA-Z0-9+/=]{8})$/,od=e=>Iy.exec(e)?.[1]??e,xy=(e,t)=>{const n=[];for(const r in e)n.push(t.mark(od(r),e[r]));return n},rm=(e,t)=>{const n={};return e.forEach(r=>{if(r.type.name!=="ychange"){const i=kn(t.isOMark,r.type,()=>!r.type.excludes(r.type));n[i?`${r.type.name}--${Ey(r.toJSON())}`:r.type.name]=r.attrs}}),n},sd=(e,t,n,r)=>{if(t instanceof Lt&&t.nodeName!==n.type.name)throw new Error("node name mismatch!");if(r.mapping.set(t,n),t instanceof Lt){const d=t.getAttributes(),_=n.attrs;for(const m in _)_[m]!==null?d[m]!==_[m]&&m!=="ychange"&&t.setAttribute(m,_[m]):t.removeAttribute(m);for(const m in d)_[m]===void 0&&t.removeAttribute(m)}const i=ns(n),a=i.length,o=t.toArray(),s=o.length,l=or(a,s);let c=0,u=0;for(;c<l;c++){const d=o[c],_=i[c];if(!rs(r.mapping.get(d),_))if(Ia(d,_))r.mapping.set(d,_);else break}for(;u+c+1<l;u++){const d=o[s-u-1],_=i[a-u-1];if(!rs(r.mapping.get(d),_))if(Ia(d,_))r.mapping.set(d,_);else break}e.transact(()=>{for(;s-c-u>0&&a-c-u>0;){const _=o[c],m=i[c],f=o[s-u-1],g=i[a-u-1];if(_ instanceof $t&&m instanceof Array)tm(_,m)||Ay(_,m,r),c+=1;else{let E=_ instanceof Lt&&ld(_,m),h=f instanceof Lt&&ld(f,g);if(E&&h){const S=nm(_,m,r),T=nm(f,g,r);S.foundMappedChild&&!T.foundMappedChild?h=!1:!S.foundMappedChild&&T.foundMappedChild||S.equalityFactor<T.equalityFactor?E=!1:h=!1}E?(sd(e,_,m,r),c+=1):h?(sd(e,f,g,r),u+=1):(r.mapping.delete(t.get(c)),t.delete(c,1),t.insert(c,[id(m,r)]),c+=1)}}const d=s-c-u;if(s===1&&a===0&&o[0]instanceof $t?(r.mapping.delete(o[0]),o[0].delete(0,o[0].length)):d>0&&(t.slice(c,c+d).forEach(_=>r.mapping.delete(_)),t.delete(c,d)),c+u<a){const _=[];for(let m=c;m<a-u;m++)_.push(id(i[m],r));t.insert(c,_)}},nt)},ld=(e,t)=>!(t instanceof Array)&&e.nodeName===t.type.name;let xa=null;const wy=()=>{const e=xa;xa=null,e.forEach((t,n)=>{const r=n.state.tr,i=nt.getState(n.state);i&&i.binding&&!i.binding.isDestroyed&&(t.forEach((a,o)=>{r.setMeta(o,a)}),n.dispatch(r))})},Dy=(e,t,n)=>{xa||(xa=new Map,Lc(0,wy)),kn(xa,e,ln).set(t,n)},is=(e,t,n)=>{if(e===0)return zc(t,0,-1);let r=t._first===null?null:t._first.content.type;for(;r!==null&&t!==r;){if(r instanceof $t){if(r._length>=e)return zc(r,e,-1);if(e-=r._length,r._item!==null&&r._item.next!==null)r=r._item.next.content.type;else{do r=r._item===null?null:r._item.parent,e--;while(r!==t&&r!==null&&r._item!==null&&r._item.next===null);r!==null&&r!==t&&(r=r._item===null?null:r._item.next.content.type)}}else{const i=(n.get(r)||{nodeSize:0}).nodeSize;if(r._first!==null&&e<i)r=r._first.content.type,e--;else{if(e===1&&r._length===0&&i>1)return new Ta(r._item===null?null:r._item.id,r._item===null?Sa(r):null,null);if(e-=i,r._item!==null&&r._item.next!==null)r=r._item.next.content.type;else{if(e===0)return r=r._item===null?r:r._item.parent,new Ta(r._item===null?null:r._item.id,r._item===null?Sa(r):null,null);do r=r._item.parent,e--;while(r!==t&&r._item.next===null);r!==t&&(r=r._item.next.content.type)}}}if(r===null)throw zt();if(e===0&&r.constructor!==$t&&r!==t)return My(r._item.parent,r._item)}return zc(t,t._length,-1)},My=(e,t)=>{let n=null,r=null;return e._item===null?r=Sa(e):n=Ce(e._item.id.client,e._item.id.clock),new Ta(n,r,t.id)},Ai=(e,t,n,r)=>{const i=aC(n,e);if(i===null||i.type!==t&&!ba(t,i.type._item))return null;let a=i.type,o=0;if(a.constructor===$t)o=i.index;else if(a._item===null||!a._item.deleted){let s=a._first,l=0;for(;l<a._length&&l<i.index&&s!==null;){if(!s.deleted){const c=s.content.type;l++,c instanceof $t?o+=c._length:o+=r.get(c).nodeSize}s=s.right}o+=1}for(;a!==t&&a._item!==null;){const s=a._item.parent;if(s._item===null||!s._item.deleted){o+=1;let l=s._first;for(;l!==null;){const c=l.content.type;if(c===a)break;l.deleted||(c instanceof $t?o+=c._length:o+=r.get(c).nodeSize),l=l.right}}a=s}return o-1};function ky(e){const t=e.toArray(),n=r=>{let i;if(r instanceof $t)i=r.toDelta().map(o=>{const s={type:"text",text:o.insert};return o.attributes&&(s.marks=Object.keys(o.attributes).map(l=>{const c=o.attributes[l],d={type:od(l)};return Object.keys(c)&&(d.attrs=c),d})),s});else if(r instanceof Lt){i={type:r.nodeName};const a=r.getAttributes();Object.keys(a).length&&(i.attrs=a);const o=r.toArray();o.length&&(i.content=o.map(n).flat())}else zt();return i};return{type:"doc",content:t.map(n)}}const Ly=(e,t,n)=>e!==t,Py=e=>{const t=document.createElement("span");t.classList.add("ProseMirror-yjs-cursor"),t.setAttribute("style",`border-color: ${e.color}`);const n=document.createElement("div");n.setAttribute("style",`background-color: ${e.color}`),n.insertBefore(document.createTextNode(e.name),null);const r=document.createTextNode(""),i=document.createTextNode("");return t.insertBefore(r,null),t.insertBefore(n,null),t.insertBefore(i,null),t},im=e=>({style:`background-color: ${e.color}70`,class:"ProseMirror-yjs-selection"}),Uy=/^#[0-9a-fA-F]{6}$/,am=(e,t,n,r,i)=>{const a=nt.getState(e),o=a.doc,s=[];return a.snapshot!=null||a.prevSnapshot!=null||a.binding.mapping.size===0?Mt.DecorationSet.create(e.doc,[]):(t.getStates().forEach((l,c)=>{if(n(o.clientID,c,l)&&l.cursor!=null){const u=l.user||{};u.color==null?u.color="#ffa500":Uy.test(u.color)||console.warn("A user uses an unsupported color format",u),u.name==null&&(u.name=`User: ${c}`);let d=Ai(o,a.type,Ca(l.cursor.anchor),a.binding.mapping),_=Ai(o,a.type,Ca(l.cursor.head),a.binding.mapping);if(d!==null&&_!==null){const m=Ln(e.doc.content.size-1,0);d=or(d,m),_=or(_,m),s.push(Mt.Decoration.widget(_,()=>r(u,c),{key:c+"",side:10}));const f=or(d,_),g=Ln(d,_);s.push(Mt.Decoration.inline(f,g,i(u,c),{inclusiveEnd:!0,inclusiveStart:!1}))}}}),Mt.DecorationSet.create(e.doc,s))},Fy=(e,{awarenessStateFilter:t=Ly,cursorBuilder:n=Py,selectionBuilder:r=im,getSelection:i=o=>o.selection}={},a="cursor")=>new Z.Plugin({key:Jo,state:{init(o,s){return am(s,e,t,n,r)},apply(o,s,l,c){const u=nt.getState(c),d=o.getMeta(Jo);return u&&u.isChangeOrigin||d&&d.awarenessUpdated?am(c,e,t,n,r):s.map(o.mapping,o.doc)}},props:{decorations:o=>Jo.getState(o)},view:o=>{const s=()=>{o.docView&&Dy(o,Jo,{awarenessUpdated:!0})},l=()=>{const c=nt.getState(o.state),u=e.getLocalState()||{};if(o.hasFocus()){const d=i(o.state),_=is(d.anchor,c.type,c.binding.mapping),m=is(d.head,c.type,c.binding.mapping);(u.cursor==null||!pp(Ca(u.cursor.anchor),_)||!pp(Ca(u.cursor.head),m))&&e.setLocalStateField(a,{anchor:_,head:m})}else u.cursor!=null&&Ai(c.doc,c.type,Ca(u.cursor.anchor),c.binding.mapping)!==null&&e.setLocalStateField(a,null)};return e.on("change",s),o.dom.addEventListener("focusin",l),o.dom.addEventListener("focusout",l),{update:l,destroy:()=>{o.dom.removeEventListener("focusin",l),o.dom.removeEventListener("focusout",l),e.off("change",s),e.setLocalStateField(a,null)}}}}),By=e=>{const t=dr.getState(e).undoManager;if(t!=null)return t.undo(),!0},Gy=e=>{const t=dr.getState(e).undoManager;if(t!=null)return t.redo(),!0},Hy=new Set(["paragraph"]),Yy=(e,t)=>!(e instanceof Be)||!(e.content instanceof vn)||!(e.content.type instanceof xr||e.content.type instanceof Lt&&t.has(e.content.type.nodeName))||e.content.type._length===0,zy=({protectedNodes:e=Hy,trackedOrigins:t=[],undoManager:n=null}={})=>new Z.Plugin({key:dr,state:{init:(r,i)=>{const a=nt.getState(i),o=n||new vp(a.type,{trackedOrigins:new Set([nt].concat(t)),deleteFilter:s=>Yy(s,e),captureTransaction:s=>s.meta.get("addToHistory")!==!1});return{undoManager:o,prevSel:null,hasUndoOps:o.undoStack.length>0,hasRedoOps:o.redoStack.length>0}},apply:(r,i,a,o)=>{const s=nt.getState(o).binding,l=i.undoManager,c=l.undoStack.length>0,u=l.redoStack.length>0;return s?{undoManager:l,prevSel:rd(s,a),hasUndoOps:c,hasRedoOps:u}:c!==i.hasUndoOps||u!==i.hasRedoOps?Object.assign({},i,{hasUndoOps:l.undoStack.length>0,hasRedoOps:l.redoStack.length>0}):i}},view:r=>{const i=nt.getState(r.state),a=dr.getState(r.state).undoManager;return a.on("stack-item-added",({stackItem:o})=>{const s=i.binding;s&&o.meta.set(s,dr.getState(r.state).prevSel)}),a.on("stack-item-popped",({stackItem:o})=>{const s=i.binding;s&&(s.beforeTransactionSelection=o.meta.get(s)||s.beforeTransactionSelection)}),{destroy:()=>{a.destroy()}}}});var Vy=Ze.create({name:"collaboration",priority:1e3,addOptions(){return{document:null,field:"default",fragment:null,provider:null}},addStorage(){return{isDisabled:!1}},onCreate(){this.editor.extensionManager.extensions.find(e=>e.name==="undoRedo")&&console.warn('[tiptap warn]: "@tiptap/extension-collaboration" comes with its own history support and is not compatible with "@tiptap/extension-undo-redo".')},addCommands(){return{undo:()=>({tr:e,state:t,dispatch:n})=>(e.setMeta("preventDispatch",!0),dr.getState(t).undoManager.undoStack.length===0?!1:n?By(t):!0),redo:()=>({tr:e,state:t,dispatch:n})=>(e.setMeta("preventDispatch",!0),dr.getState(t).undoManager.redoStack.length===0?!1:n?Gy(t):!0)}},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Mod-y":()=>this.editor.commands.redo(),"Shift-Mod-z":()=>this.editor.commands.redo()}},addProseMirrorPlugins(){var e;const t=this.options.fragment?this.options.fragment:this.options.document.getXmlFragment(this.options.field),n=zy(this.options.yUndoOptions),r=n.spec.view;n.spec.view=o=>{const{undoManager:s}=dr.getState(o.state);s.restore&&(s.restore(),s.restore=()=>{});const l=r?r(o):void 0;return{destroy:()=>{const c=s.trackedOrigins.has(s),u=s._observers;s.restore=()=>{c&&s.trackedOrigins.add(s),s.doc.on("afterTransaction",s.afterTransactionHandler),s._observers=u},l?.destroy&&l.destroy()}}};const i={...this.options.ySyncOptions,onFirstRender:this.options.onFirstRender},a=by(t,i);return this.editor.options.enableContentCheck&&((e=t.doc)==null||e.on("beforeTransaction",()=>{try{const o=ky(t);if(o.content.length===0)return;this.editor.schema.nodeFromJSON(o).check()}catch(o){return this.editor.emit("contentError",{error:o,editor:this.editor,disableCollaboration:()=>{var s;(s=t.doc)==null||s.destroy(),this.storage.isDisabled=!0}}),!1}})),[a,n,this.editor.options.enableContentCheck&&new Z.Plugin({key:new Z.PluginKey("filterInvalidContent"),filterTransaction:()=>{var o;return this.storage.isDisabled!==!1&&((o=t.doc)==null||o.destroy()),!0}})].filter(Boolean)}}),$y=Vy,om=e=>Array.from(e.entries()).map(([t,n])=>({clientId:t,...n.user})),sm=()=>null,Wy=Ze.create({name:"collaborationCaret",priority:999,addOptions(){return{provider:null,user:{name:null,color:null},render:e=>{const t=document.createElement("span");t.classList.add("collaboration-carets__caret"),t.setAttribute("style",`border-color: ${e.color}`);const n=document.createElement("div");return n.classList.add("collaboration-carets__label"),n.setAttribute("style",`background-color: ${e.color}`),n.insertBefore(document.createTextNode(e.name),null),t.insertBefore(n,null),t},selectionRender:im,onUpdate:sm}},onCreate(){if(this.options.onUpdate!==sm&&console.warn('[tiptap warn]: DEPRECATED: The "onUpdate" option is deprecated. Please use `editor.storage.collaborationCaret.users` instead. Read more: https://tiptap.dev/api/extensions/collaboration-caret'),!this.options.provider)throw new Error('The "provider" option is required for the CollaborationCaret extension')},addStorage(){return{users:[]}},addCommands(){return{updateUser:e=>()=>(this.options.user=e,this.options.provider.awareness.setLocalStateField("user",this.options.user),!0),user:e=>({editor:t})=>(console.warn('[tiptap warn]: DEPRECATED: The "user" command is deprecated. Please use "updateUser" instead. Read more: https://tiptap.dev/api/extensions/collaboration-caret'),t.commands.updateUser(e))}},addProseMirrorPlugins(){return[Fy((this.options.provider.awareness.setLocalStateField("user",this.options.user),this.storage.users=om(this.options.provider.awareness.states),this.options.provider.awareness.on("update",()=>{this.storage.users=om(this.options.provider.awareness.states)}),this.options.provider.awareness),{cursorBuilder:this.options.render,selectionBuilder:this.options.selectionRender})]}}),qy=Wy,Ky=Sn.create({name:"text",group:"inline"}),jy=Ky,Qy=Wl.OrderedList;const Xy=Qy.extend({name:"orderedList",addAttributes(){return{listType:{default:So,parseHTML:e=>e.getAttribute(Kl)||So,renderHTML:e=>!e.listType||e.listType===So?{}:{[Kl]:e.listType}}}},parseHTML(){return[{tag:"ol",getAttrs:e=>typeof e=="string"?{}:{listType:e.getAttribute(Kl)||So}}]},renderHTML({HTMLAttributes:e}){return["ol",ut(this.options.HTMLAttributes,e),0]},addCommands(){return{setOrderedListType:e=>({commands:t})=>t.updateAttributes("orderedList",{listType:e})}}});var Zy=Wl.BulletList;const Jy=Zy.extend({name:"bulletList",addAttributes(){return{listType:{default:bo,parseHTML:e=>e.getAttribute(jl)||bo,renderHTML:e=>!e.listType||e.listType===bo?{}:{[jl]:e.listType}}}},parseHTML(){return[{tag:"ul",getAttrs:e=>typeof e=="string"?{}:{listType:e.getAttribute(jl)||bo}}]},renderHTML({HTMLAttributes:e}){return["ul",ut(this.options.HTMLAttributes,e),0]},addCommands(){return{setBulletListType:e=>({commands:t})=>t.updateAttributes("bulletList",{listType:e})}}}),ur=new Z.PluginKey("ai-autocompletion"),ev=Ze.create({name:"aiAutoCompletion",priority:1e3,addOptions(){return{minWordsToTriggerAutoCompletion:3,debounceTime:100,isEnabled:!1,fetchCompletion:void 0}},addStorage(){return{isEnabled:this.options.isEnabled}},addCommands(){return{acceptSuggestion:()=>({state:e,dispatch:t})=>{const n=ur.getState(e);if(!n?.suggestion)return!1;if(t){const{to:r,text:i}=n.suggestion,a=e.tr.insertText(i,r,r).setMeta(ur,{type:"clear"});t(a)}return!0},dismissSuggestion:()=>({state:e,dispatch:t})=>{if(t){const n=e.tr.setMeta(ur,{type:"clear"});t(n)}return!0},enableAutocompletion:()=>({editor:e})=>(this.options.isEnabled=!0,this.storage.isEnabled=!0,e.commands.dismissSuggestion(),!0),disableAutocompletion:()=>({editor:e})=>(this.options.isEnabled=!1,this.storage.isEnabled=!1,e.commands.dismissSuggestion(),!0),toggleAutocompletion:()=>({editor:e})=>this.storage.isEnabled?e.commands.disableAutocompletion():e.commands.enableAutocompletion()}},addKeyboardShortcuts(){return{Tab:({editor:e})=>ur.getState(e.state)?.suggestion?e.commands.acceptSuggestion():!1,Escape:({editor:e})=>ur.getState(e.state)?.suggestion?e.commands.dismissSuggestion():!1,"Mod-Shift-Space":({editor:e})=>e.commands.toggleAutocompletion()}},addProseMirrorPlugins(){const e=this;let t,n=null;return[new Z.Plugin({key:ur,state:{init(){return{decorationSet:Mt.DecorationSet.empty,suggestion:null}},apply(r,i){const a=r.getMeta(ur);if(a?.type==="clear")return{decorationSet:Mt.DecorationSet.empty,suggestion:null};if(a?.type==="setSuggestion"){const{to:s,text:l,styles:c}=a.suggestion,u=Mt.Decoration.widget(s,()=>{const d=document.createElement("span");return d.className="ai-suggestion",d.textContent=l,d.style.opacity="0.6",c.color&&(d.style.color=c.color),c.fontFamily&&(d.style.fontFamily=c.fontFamily),c.fontSize&&(d.style.fontSize=c.fontSize),c.fontWeight&&(d.style.fontWeight=c.fontWeight),c.fontStyle&&(d.style.fontStyle=c.fontStyle),c.textDecoration&&(d.style.textDecoration=c.textDecoration),c.backgroundColor&&(d.style.backgroundColor=c.backgroundColor),d});return{decorationSet:Mt.DecorationSet.create(r.doc,[u]),suggestion:a.suggestion}}const o=i.decorationSet.map(r.mapping,r.doc);return{decorationSet:r.docChanged?Mt.DecorationSet.empty:o,suggestion:r.docChanged?null:i.suggestion}}},props:{decorations(r){return this.getState(r)?.decorationSet}},view(r){const i=async(a,o)=>{if(e.storage.isEnabled){n?.abort(),n=new AbortController;try{if(!e.options.fetchCompletion)return;const s=await e.options.fetchCompletion(a),l=r.state.selection.$head.pos,c=r.state.doc.textBetween(Math.max(0,l-200),l,`
|
|
50
34
|
`);if(!r.state.selection.empty||Math.abs(l-o)>50||!c.includes(a.slice(-20)))return;const u=r.state.doc.resolve(l),d=r.state.storedMarks??u.marks(),_={};d.forEach(m=>{m.type.name==="textStyle"&&(m.attrs.color&&(_.color=m.attrs.color),m.attrs.fontFamily&&(_.fontFamily=m.attrs.fontFamily),m.attrs.fontSize&&(_.fontSize=m.attrs.fontSize),m.attrs.backgroundColor&&(_.backgroundColor=m.attrs.backgroundColor)),m.type.name==="bold"&&(_.fontWeight="bold"),m.type.name==="italic"&&(_.fontStyle="italic"),m.type.name==="underline"&&(_.textDecoration=_.textDecoration?`${_.textDecoration} underline`:"underline"),m.type.name==="strike"&&(_.textDecoration=_.textDecoration?`${_.textDecoration} line-through`:"line-through")}),s&&typeof s=="string"&&r.dispatch(r.state.tr.setMeta(ur,{type:"setSuggestion",suggestion:{from:l-a.length,to:l,text:s,styles:_}}))}catch(s){s instanceof Error&&s.name!=="AbortError"&&console.error("[AI Autocompletion Error]:",s)}finally{n?.signal===n.signal&&(n=null)}}};return{update(a,o){if(!e.storage.isEnabled||o.doc.eq(a.state.doc))return;const{selection:s}=a.state;if(!s.empty)return;const l=s.$head.pos,c=a.state.doc.textBetween(Math.max(0,l-200),l,`
|
|
51
35
|
`);if(c.trim().split(/\s+/).filter(Boolean).length<e.options.minWordsToTriggerAutoCompletion){n?.abort(),n=null,clearTimeout(t),a.dispatch(a.state.tr.setMeta(ur,{type:"clear"}));return}clearTimeout(t),t=setTimeout(()=>i(c,l),e.options.debounceTime)},destroy(){clearTimeout(t),n?.abort(),n=null}}}})]}}),wa="onBlurHighlight",as={BLUR:"blur",FOCUS:"focus"},tv=Ze.create({name:wa,addProseMirrorPlugins(){return[new Z.Plugin({key:new Z.PluginKey(wa),state:{init(){return Mt.DecorationSet.empty},apply(e,t){const n=e.getMeta(wa),{selection:r,doc:i}=e,a=r&&r.from!==r.to;if(!a||n?.action===as.FOCUS)return Mt.DecorationSet.empty;if(a&&n?.action===as.BLUR){const o=Mt.Decoration.inline(r.from,r.to,{class:"blur-highlight"});return Mt.DecorationSet.create(i,[o])}return t}},props:{decorations(e){return this.getState(e)},handleDOMEvents:{blur:e=>{const{tr:t}=e.state,n=t.setMeta(wa,{from:t.selection.from,to:t.selection.to,action:as.BLUR});return e.dispatch(n),!1},focus:e=>{const{tr:t}=e.state,n=t.setMeta(wa,{from:t.selection.from,to:t.selection.to,action:as.FOCUS});return e.dispatch(n),!1}}}})]}}),nv=Ze.create({name:"indent",addOptions(){return{types:["paragraph","heading","blockquote"],minLevel:0,maxLevel:12}},addGlobalAttributes(){return[{types:this.options.types,attributes:{indent:{default:0,parseHTML:e=>{const t=e.style.marginLeft;return t?t.includes("in")?parseFloat(t)/.5||0:parseInt(t)/48||0:0},renderHTML:e=>e.indent?{style:`margin-left: ${e.indent*.5}in`}:{}}}}]},addCommands(){return{indent:()=>({state:e,dispatch:t,tr:n})=>{const{selection:r}=e,{from:i,to:a}=r;return e.doc.nodesBetween(i,a,(o,s)=>{if(this.options.types.includes(o.type.name)){const l=o.attrs.indent||0;l<this.options.maxLevel&&n.setNodeMarkup(s,void 0,{...o.attrs,indent:l+1})}}),t&&t(n),!0},outdent:()=>({state:e,dispatch:t,tr:n})=>{const{selection:r}=e,{from:i,to:a}=r;return e.doc.nodesBetween(i,a,(o,s)=>{if(this.options.types.includes(o.type.name)){const l=o.attrs.indent||0;l>this.options.minLevel&&n.setNodeMarkup(s,void 0,{...o.attrs,indent:l-1})}}),t&&t(n),!0}}},addKeyboardShortcuts(){return{Tab:()=>{if(this.editor.can().sinkListItem("taskItem")||this.editor.can().sinkListItem("listItem")){if(this.editor.isActive("taskItem"))return this.editor.chain().focus().sinkListItem("taskItem").run();if(this.editor.isActive("listItem"))return this.editor.chain().focus().sinkListItem("listItem").run()}return this.editor.commands.indent()},"Shift-Tab":()=>{if(this.editor.can().liftListItem("taskItem")||this.editor.can().liftListItem("listItem")){if(this.editor.isActive("taskItem"))return this.editor.chain().focus().liftListItem("taskItem").run();if(this.editor.isActive("listItem"))return this.editor.chain().focus().liftListItem("listItem").run()}return this.editor.commands.outdent()}}}});var rv=Wl.ListItem;function iv(e,t){let n=0;return t.nodesBetween(0,t.content.size,(r,i)=>{i<e&&i+r.nodeSize>e&&(r.type.name==="orderedList"||r.type.name==="bulletList")&&n++}),n}const av=rv.extend({name:"listItem",addOptions(){return{maxDepth:9}},addCommands(){return{sinkListItem:e=>({state:t,dispatch:n})=>{const{$from:r}=t.selection,i=typeof e=="string"?t.schema.nodes[e]:e;if(!i)return!1;let a=-1;for(let l=r.depth;l>0;l--)if(r.node(l).type===i){a=r.before(l);break}if(a===-1)return!1;const o=iv(a,t.doc),s=Math.max(0,Math.min(9,this.options.maxDepth));return o>=s?!1:ta.sinkListItem(i)(t,n)},liftListItem:e=>({state:t,dispatch:n})=>{const r=typeof e=="string"?t.schema.nodes[e]:e;return ta.liftListItem(r)(t,n)}}}}),cd="__%__",ov=go.Table.extend({addCommands(){const e=(t,n,r,i)=>{let a=null;if(n.doc.descendants((_,m)=>{if(_.type.name==="tableCell"&&_.attrs[To]===r)return a=m,!1}),a===null)return!1;if(n.doc.nodeAt(a)?.firstChild?.textContent.trim()===i)return!0;const s=n.doc.nodeAt(a);if(!s||!s.firstChild)return!1;const l=a+1,c=s.firstChild,u=t.schema.text(i),d=t.schema.nodes.paragraph.create(null,u);return n.replaceWith(l,l+c.nodeSize,d),!0};return{...this.parent?.(),insertTableFromData:({tableType:t,data:n,columns:r,options:i={}})=>({state:a,tr:o})=>{if(!n||n.length===0)return!1;const{withHeaderRow:s=!0,tableName:l=null}=i,{schema:c}=a,u=c.nodes.table,d=c.nodes.tableRow,_=c.nodes.tableCell,m=c.nodes.tableHeader,f=c.nodes.paragraph;if(!u||!d||!_||!f)return!1;const g=[];if(s&&m){const S=r.map(T=>{const y=c.text(T),b=f.create(null,y);return m.create({[ec]:T},b)});g.push(d.create({[Jl]:`header${cd}row`},S))}n.forEach(S=>{const T=r.map(y=>{const b=String(S[y]??""),v=b?c.text(b):null,w=f.create(null,v);return _.create({[To]:`${S.__id}${cd}${y}`},w)});g.push(d.create({[Jl]:S.__id},T))});const E=u.create({isVariableTable:!0,[a_]:t,[o_]:l??""},g),{from:h}=a.selection;return o.insert(h,E),!0},updateTableValues:t=>({state:n,tr:r})=>(Object.values(t).forEach(i=>{i.forEach(a=>{Object.keys(a).forEach(s=>{const l=`${a.__id}${cd}${s}`;e(n,r,l,String(a[s]))})})}),!0)}},addProseMirrorPlugins(){const e=new Z.PluginKey("variableTableEditable");return[...(typeof this.parent=="function"?this.parent():[])||[],new Z.Plugin({key:e,props:{editable:n=>{const{selection:r}=n,{$from:i}=r;for(let a=i.depth;a>0;a--){const o=i.node(a);if(o.type.name==="tableCell"&&o.attrs[To]||o.type.name==="tableHeader"&&o.attrs[ec])return!1}return!0}}})]},addAttributes(){return{...this.parent?.(),isVariableTable:{default:!1},[a_]:{default:null},[o_]:{default:null},[tr]:{default:null,parseHTML:e=>e.getAttribute(tr),renderHTML:e=>e[tr]?{[tr]:e[tr]}:{}},[oa]:{default:null,parseHTML:e=>e.getAttribute(oa),renderHTML:e=>e[oa]?{[oa]:e[oa]}:{}},[sa]:{default:null,parseHTML:e=>e.getAttribute(sa),renderHTML:e=>e[sa]?{[sa]:e[sa]}:{}},[la]:{default:null,parseHTML:e=>{const t=e.getAttribute(la);return t?parseInt(t,10):null},renderHTML:e=>e[la]?{[la]:e[la]}:{}}}},renderHTML({HTMLAttributes:e}){const t={...e};return t.isVariableTable&&(t.class=(t.class||"")+" variable-table-readonly",t.style=(t.style||"")+"background-color: #f9fafb;"),t[tr]===Mh?(t.class=(t.class||"")+` ${l_}`,t.style=(t.style||"")+"outline: 2px solid #008000; outline-offset: 2px;"):t[tr]===kh?(t.class=(t.class||"")+` ${c_}`,t.style=(t.style||"")+"outline: 2px solid #ef4444; outline-offset: 2px; opacity: 0.7;"):t[tr]===Lh?(t.class=(t.class||"")+` ${l_}`,t.style=(t.style||"")+"outline: 2px solid #10b981; outline-offset: 2px;"):t[tr]===Ph&&(t.class=(t.class||"")+` ${c_}`,t.style=(t.style||"")+"outline: 2px solid #f59e0b; outline-offset: 2px; opacity: 0.7;"),["table",t,0]}}),sv=go.TableRow.extend({addAttributes(){return{...this.parent?.(),[Zl]:{default:null},[Jl]:{default:null}}},renderHTML({HTMLAttributes:e}){return["tr",e,0]}}),lv=go.TableHeader.extend({addAttributes(){return{...this.parent?this.parent():{},[Zl]:{default:null},[ec]:{default:null},[s_]:{default:null},colspan:{default:1},rowspan:{default:1},colwidth:{default:null},backgroundColor:{default:null,parseHTML:e=>e.style.backgroundColor,renderHTML:e=>{const t=e.backgroundColor;return t?{style:`background-color: ${t};`}:{}}}}},parseHTML(){return[{tag:"th",getAttrs:e=>{if(typeof e=="string")return{};const t=e;return{colspan:parseInt(t.getAttribute("colspan")||"1",10),rowspan:parseInt(t.getAttribute("rowspan")||"1",10),colwidth:t.getAttribute("colwidth")?t.getAttribute("colwidth")?.split(",").map(n=>parseInt(n,10)):null}}}]},renderHTML({HTMLAttributes:e}){const t={...e};return delete t.backgroundColor,["th",t,0]}}),cv=go.TableCell.extend({addAttributes(){return{...this.parent?this.parent():{},[Zl]:{default:null},[To]:{default:null},[s_]:{default:null},colspan:{default:1},rowspan:{default:1},colwidth:{default:null},backgroundColor:{default:null,parseHTML:e=>e.style.backgroundColor,renderHTML:e=>{const t=e.backgroundColor;return t?{style:`background-color: ${t};`}:{}}}}},parseHTML(){return[{tag:"td",getAttrs:e=>{if(typeof e=="string")return{};const t=e;return{colspan:parseInt(t.getAttribute("colspan")||"1",10),rowspan:parseInt(t.getAttribute("rowspan")||"1",10),colwidth:t.getAttribute("colwidth")?t.getAttribute("colwidth")?.split(",").map(n=>parseInt(n,10)):null}}}]},renderHTML({HTMLAttributes:e}){const t={...e};return delete t.backgroundColor,["td",t,0]}}),dv=/\{\{([a-zA-Z0-9_-]+)\}\}$/,uv=Sn.create({name:"variableText",group:"inline",inline:!0,atom:!0,selectable:!0,marks:"_",addOptions(){return{enabled:!1,variableValues:{}}},addStorage(){return{variableValues:this.options.variableValues}},addAttributes(){return{variableName:{default:"",parseHTML:e=>e.getAttribute($r),renderHTML:e=>({[$r]:e.variableName})},value:{default:"",parseHTML:e=>e.getAttribute(mi)||"",renderHTML:e=>({[mi]:e.value})}}},parseHTML(){return[{tag:`span[${$r}]`}]},renderHTML({node:e}){const{variableName:t,value:n}=e.attrs,r=n||`{{${t}}}`;return["span",{[$r]:t,[mi]:n,class:i_,contenteditable:"false"},r]},addNodeView(){return({node:e})=>{const{variableName:t,value:n}=e.attrs,r=document.createElement("span");r.className=i_,r.contentEditable="false",r.setAttribute($r,t),r.setAttribute(mi,n),r.textContent=n||`{{${t}}}`;const i=o=>{o.marks&&o.marks.length>0&&o.marks.forEach(s=>{if(s.type.name==="bold"&&(r.style.fontWeight="bold"),s.type.name==="italic"&&(r.style.fontStyle="italic"),s.type.name==="underline"){const l=r.style.textDecoration;r.style.textDecoration=l?`${l} underline`:"underline"}if(s.type.name==="strike"){const l=r.style.textDecoration;r.style.textDecoration=l?`${l} line-through`:"line-through"}s.type.name==="textStyle"&&(s.attrs.fontSize&&(r.style.fontSize=s.attrs.fontSize),s.attrs.color&&(r.style.color=s.attrs.color),s.attrs.fontFamily&&(r.style.fontFamily=s.attrs.fontFamily),s.attrs.backgroundColor&&(r.style.backgroundColor=s.attrs.backgroundColor))})};i(e);const a=()=>{const o=window.getSelection();o&&o.rangeCount>0&&o.getRangeAt(0).intersectsNode(r)?r.classList.add("variable-text-selected"):r.classList.remove("variable-text-selected")};return document.addEventListener("selectionchange",a),{dom:r,destroy:()=>{document.removeEventListener("selectionchange",a)},update:o=>{if(o.type.name!=="variableText")return!1;const{variableName:s,value:l}=o.attrs;return(r.getAttribute(mi)!==l||r.getAttribute($r)!==s)&&(r.setAttribute($r,s),r.setAttribute(mi,l),r.textContent=l||`{{${s}}}`),r.style.fontWeight="",r.style.fontStyle="",r.style.textDecoration="",r.style.fontSize="",r.style.color="",r.style.fontFamily="",r.style.backgroundColor="",i(o),!0}}}},addCommands(){return{insertVariable:(e,t)=>({commands:n})=>{const r=t||this.storage.variableValues[e]||"";return n.insertContent({type:this.name,attrs:{variableName:e,value:r}})},updateVariableValues:e=>({tr:t,state:n,dispatch:r})=>{if(!r)return!1;this.storage.variableValues={...this.storage.variableValues,...e};let i=t,a=!1;const o=[];return n.doc.descendants((s,l)=>{if(s.type.name==="variableText"){const{variableName:c,value:u}=s.attrs,d=e[c];d!==void 0&&d!==u&&o.unshift(l)}}),o.forEach(s=>{const l=n.doc.nodeAt(s);if(l){const{variableName:c}=l.attrs;i=i.setNodeMarkup(s,void 0,{...l.attrs,value:e[c]}),a=!0}}),a?(i=i.setMeta("addToHistory",!1),r(i),!0):!1}}},addInputRules(){return this.options.enabled?[new pc({find:dv,handler:({range:e,match:t,commands:n})=>{const r=t[1];r&&(n.deleteRange(e),n.insertVariable(r))}})]:[]},addKeyboardShortcuts(){return{Backspace:({editor:e})=>{const{selection:t}=e.state,{$from:n}=t,r=n.nodeBefore;return r&&r.type.name===this.name?e.commands.deleteRange({from:n.pos-r.nodeSize,to:n.pos}):!1}}}}),_v="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",pv="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",dd="numeric",ud="ascii",_d="alpha",Da="asciinumeric",Ma="alphanumeric",pd="domain",lm="emoji",mv="scheme",gv="slashscheme",md="whitespace";function fv(e,t){return e in t||(t[e]=[]),t[e]}function ei(e,t,n){t[dd]&&(t[Da]=!0,t[Ma]=!0),t[ud]&&(t[Da]=!0,t[_d]=!0),t[Da]&&(t[Ma]=!0),t[_d]&&(t[Ma]=!0),t[Ma]&&(t[pd]=!0),t[lm]&&(t[pd]=!0);for(const r in t){const i=fv(r,n);i.indexOf(e)<0&&i.push(e)}}function Ev(e,t){const n={};for(const r in t)t[r].indexOf(e)>=0&&(n[r]=!0);return n}function Wt(e=null){this.j={},this.jr=[],this.jd=null,this.t=e}Wt.groups={},Wt.prototype={accepts(){return!!this.t},go(e){const t=this,n=t.j[e];if(n)return n;for(let r=0;r<t.jr.length;r++){const i=t.jr[r][0],a=t.jr[r][1];if(a&&i.test(e))return a}return t.jd},has(e,t=!1){return t?e in this.j:!!this.go(e)},ta(e,t,n,r){for(let i=0;i<e.length;i++)this.tt(e[i],t,n,r)},tr(e,t,n,r){r=r||Wt.groups;let i;return t&&t.j?i=t:(i=new Wt(t),n&&r&&ei(t,n,r)),this.jr.push([e,i]),i},ts(e,t,n,r){let i=this;const a=e.length;if(!a)return i;for(let o=0;o<a-1;o++)i=i.tt(e[o]);return i.tt(e[a-1],t,n,r)},tt(e,t,n,r){r=r||Wt.groups;const i=this;if(t&&t.j)return i.j[e]=t,t;const a=t;let o,s=i.go(e);if(s?(o=new Wt,Object.assign(o.j,s.j),o.jr.push.apply(o.jr,s.jr),o.jd=s.jd,o.t=s.t):o=new Wt,a){if(r)if(o.t&&typeof o.t=="string"){const l=Object.assign(Ev(o.t,r),n);ei(a,l,r)}else n&&ei(a,n,r);o.t=a}return i.j[e]=o,o}};const ye=(e,t,n,r,i)=>e.ta(t,n,r,i),ot=(e,t,n,r,i)=>e.tr(t,n,r,i),cm=(e,t,n,r,i)=>e.ts(t,n,r,i),q=(e,t,n,r,i)=>e.tt(t,n,r,i),_r="WORD",gd="UWORD",dm="ASCIINUMERICAL",um="ALPHANUMERICAL",ka="LOCALHOST",fd="TLD",Ed="UTLD",os="SCHEME",Ii="SLASH_SCHEME",hd="NUM",Sd="WS",bd="NL",La="OPENBRACE",Pa="CLOSEBRACE",ss="OPENBRACKET",ls="CLOSEBRACKET",cs="OPENPAREN",ds="CLOSEPAREN",us="OPENANGLEBRACKET",_s="CLOSEANGLEBRACKET",ps="FULLWIDTHLEFTPAREN",ms="FULLWIDTHRIGHTPAREN",gs="LEFTCORNERBRACKET",fs="RIGHTCORNERBRACKET",Es="LEFTWHITECORNERBRACKET",hs="RIGHTWHITECORNERBRACKET",Ss="FULLWIDTHLESSTHAN",bs="FULLWIDTHGREATERTHAN",Ts="AMPERSAND",Cs="APOSTROPHE",ys="ASTERISK",wr="AT",vs="BACKSLASH",Rs="BACKTICK",Ns="CARET",Dr="COLON",Td="COMMA",Os="DOLLAR",Fn="DOT",As="EQUALS",Cd="EXCLAMATION",un="HYPHEN",Ua="PERCENT",Is="PIPE",xs="PLUS",ws="POUND",Fa="QUERY",yd="QUOTE",_m="FULLWIDTHMIDDLEDOT",vd="SEMI",Bn="SLASH",Ba="TILDE",Ds="UNDERSCORE",pm="EMOJI",Ms="SYM";var mm=Object.freeze({__proto__:null,ALPHANUMERICAL:um,AMPERSAND:Ts,APOSTROPHE:Cs,ASCIINUMERICAL:dm,ASTERISK:ys,AT:wr,BACKSLASH:vs,BACKTICK:Rs,CARET:Ns,CLOSEANGLEBRACKET:_s,CLOSEBRACE:Pa,CLOSEBRACKET:ls,CLOSEPAREN:ds,COLON:Dr,COMMA:Td,DOLLAR:Os,DOT:Fn,EMOJI:pm,EQUALS:As,EXCLAMATION:Cd,FULLWIDTHGREATERTHAN:bs,FULLWIDTHLEFTPAREN:ps,FULLWIDTHLESSTHAN:Ss,FULLWIDTHMIDDLEDOT:_m,FULLWIDTHRIGHTPAREN:ms,HYPHEN:un,LEFTCORNERBRACKET:gs,LEFTWHITECORNERBRACKET:Es,LOCALHOST:ka,NL:bd,NUM:hd,OPENANGLEBRACKET:us,OPENBRACE:La,OPENBRACKET:ss,OPENPAREN:cs,PERCENT:Ua,PIPE:Is,PLUS:xs,POUND:ws,QUERY:Fa,QUOTE:yd,RIGHTCORNERBRACKET:fs,RIGHTWHITECORNERBRACKET:hs,SCHEME:os,SEMI:vd,SLASH:Bn,SLASH_SCHEME:Ii,SYM:Ms,TILDE:Ba,TLD:fd,UNDERSCORE:Ds,UTLD:Ed,UWORD:gd,WORD:_r,WS:Sd});const pr=/[a-z]/,Ga=new RegExp("\\p{L}","u"),Rd=new RegExp("\\p{Emoji}","u"),mr=/\d/,Nd=/\s/,gm="\r",Od=`
|
|
@@ -61,52 +45,12 @@ ${E}
|
|
|
61
45
|
`},c]}}const xA=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),wA=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],DA=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],MA=[...wA,...DA],kA=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),wm=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),Dm=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),LA=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse(),PA=wm.concat(Dm).sort().reverse();function UA(e){const t=xA(e),n=PA,r="and or not only",i="[\\w-]+",a="("+i+"|@\\{"+i+"\\})",o=[],s=[],l=function(T){return{className:"string",begin:"~?"+T+".*?"+T}},c=function(T,y,b){return{className:T,begin:y,relevance:b}},u={$pattern:/[a-z-]+/,keyword:r,attribute:kA.join(" ")},d={begin:"\\(",end:"\\)",contains:s,keywords:u,relevance:0};s.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,l("'"),l('"'),t.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},t.HEXCOLOR,d,c("variable","@@?"+i,10),c("variable","@\\{"+i+"\\}"),c("built_in","~?`[^`]*?`"),{className:"attribute",begin:i+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},t.IMPORTANT,{beginKeywords:"and not"},t.FUNCTION_DISPATCH);const _=s.concat({begin:/\{/,end:/\}/,contains:o}),m={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(s)},f={begin:a+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+LA.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:s}}]},g={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:u,returnEnd:!0,contains:s,relevance:0}},E={className:"variable",variants:[{begin:"@"+i+"\\s*:",relevance:15},{begin:"@"+i}],starts:{end:"[;}]",returnEnd:!0,contains:_}},h={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:a,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,m,c("keyword","all\\b"),c("variable","@\\{"+i+"\\}"),{begin:"\\b("+MA.join("|")+")\\b",className:"selector-tag"},t.CSS_NUMBER_MODE,c("selector-tag",a,0),c("selector-id","#"+a),c("selector-class","\\."+a,0),c("selector-tag","&",0),t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+wm.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+Dm.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:_},{begin:"!important"},t.FUNCTION_DISPATCH]},S={begin:i+`:(:)?(${n.join("|")})`,returnBegin:!0,contains:[h]};return o.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,g,E,S,f,h,m,t.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:o}}function FA(e){const t="\\[=*\\[",n="\\]=*\\]",r={begin:t,end:n,contains:["self"]},i=[e.COMMENT("--(?!"+t+")","$"),e.COMMENT("--"+t,n,{contains:[r],relevance:10})];return{name:"Lua",aliases:["pluto"],keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:i.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:i}].concat(i)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:t,end:n,contains:[r],relevance:5}])}}function BA(e){const t={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},n={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t]},r={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[t,n]},i={begin:"^"+e.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},a={className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},o={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[t]};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[e.HASH_COMMENT_MODE,t,n,r,i,a,o]}}function GA(e){const t=e.regex,n={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},r={begin:"^[-\\*]{3,}",end:"$"},i={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},a={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},o={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},s=/[A-Za-z][A-Za-z0-9+.-]*/,l={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t.concat(/\[.+?\]\(/,s,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},c={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},u={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},d=e.inherit(c,{contains:[]}),_=e.inherit(u,{contains:[]});c.contains.push(_),u.contains.push(d);let m=[n,l];return[c,u,d,_].forEach(h=>{h.contains=h.contains.concat(m)}),m=m.concat(c,u),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:m},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:m}]}]},n,a,c,u,{className:"quote",begin:"^>\\s+",contains:m,end:"$"},i,r,l,o,{scope:"literal",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}function HA(e){const t={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},n=/[a-zA-Z@][a-zA-Z0-9_]*/,s={"variable.language":["this","super"],$pattern:n,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},l={$pattern:n,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:s,illegal:"</",contains:[t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+l.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:l,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}function YA(e){const t=e.regex,n=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","class","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","field","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","method","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],r=/[dualxmsipngr]{0,12}/,i={$pattern:/[\w.]+/,keyword:n.join(" ")},a={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:i},o={begin:/->\{/,end:/\}/},s={scope:"attr",match:/\s+:\s*\w+(\s*\(.*?\))?/},l={scope:"variable",variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[s]},c={className:"number",variants:[{match:/0?\.[0-9][0-9_]+\b/},{match:/\bv?(0|[1-9][0-9_]*(\.[0-9_]+)?|[1-9][0-9_]*)\b/},{match:/\b0[0-7][0-7_]*\b/},{match:/\b0x[0-9a-fA-F][0-9a-fA-F_]*\b/},{match:/\b0b[0-1][0-1_]*\b/}],relevance:0},u=[e.BACKSLASH_ESCAPE,a,l],d=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],_=(g,E,h="\\1")=>{const S=h==="\\1"?h:t.concat(h,E);return t.concat(t.concat("(?:",g,")"),E,/(?:\\.|[^\\\/])*?/,S,/(?:\\.|[^\\\/])*?/,h,r)},m=(g,E,h)=>t.concat(t.concat("(?:",g,")"),E,/(?:\\.|[^\\\/])*?/,h,r),f=[l,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),o,{className:"string",contains:u,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},c,{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:_("s|tr|y",t.either(...d,{capture:!0}))},{begin:_("s|tr|y","\\(","\\)")},{begin:_("s|tr|y","\\[","\\]")},{begin:_("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:m("(?:m|qr)?",/\//,/\//)},{begin:m("m|qr",t.either(...d,{capture:!0}),/\1/)},{begin:m("m|qr",/\(/,/\)/)},{begin:m("m|qr",/\[/,/\]/)},{begin:m("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub method",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,s]},{className:"class",beginKeywords:"class",end:"[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,s,c]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return a.contains=f,o.contains=f,{name:"Perl",aliases:["pl","pm"],keywords:i,contains:f}}function zA(e){const t=e.regex,n=/(?![A-Za-z0-9])(?![$])/,r=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),i=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),a=t.concat(/[A-Z]+/,n),o={scope:"variable",match:"\\$+"+r},s={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},l={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},c=e.inherit(e.APOS_STRING_MODE,{illegal:null}),u=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(l)}),d={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(l),"on:begin":(O,R)=>{R.data._beginMatch=O[1]||O[2]},"on:end":(O,R)=>{R.data._beginMatch!==O[1]&&R.ignoreMatch()}},_=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),m=`[
|
|
62
46
|
]`,f={scope:"string",variants:[u,c,d,_]},g={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},E=["false","null","true"],h=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],S=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],y={keyword:h,literal:(O=>{const R=[];return O.forEach(L=>{R.push(L),L.toLowerCase()===L?R.push(L.toUpperCase()):R.push(L.toLowerCase())}),R})(E),built_in:S},b=O=>O.map(R=>R.replace(/\|\d+$/,"")),v={variants:[{match:[/new/,t.concat(m,"+"),t.concat("(?!",b(S).join("\\b|"),"\\b)"),i],scope:{1:"keyword",4:"title.class"}}]},w=t.concat(r,"\\b(?!\\()"),P={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),w],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[i,t.concat(/::/,t.lookahead(/(?!class\b)/)),w],scope:{1:"title.class",3:"variable.constant"}},{match:[i,t.concat("::",t.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[i,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},M={scope:"attr",match:t.concat(r,t.lookahead(":"),t.lookahead(/(?!::)/))},k={relevance:0,begin:/\(/,end:/\)/,keywords:y,contains:[M,o,P,e.C_BLOCK_COMMENT_MODE,f,g,v]},G={relevance:0,match:[/\b/,t.concat("(?!fn\\b|function\\b|",b(h).join("\\b|"),"|",b(S).join("\\b|"),"\\b)"),r,t.concat(m,"*"),t.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[k]};k.contains.push(G);const C=[M,P,e.C_BLOCK_COMMENT_MODE,f,g,v],x={begin:t.concat(/#\[\s*\\?/,t.either(i,a)),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:E,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:E,keyword:["new","array"]},contains:["self",...C]},...C,{scope:"meta",variants:[{match:i},{match:a}]}]};return{case_insensitive:!1,keywords:y,contains:[x,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},s,{scope:"variable.language",match:/\$this\b/},o,G,P,{match:[/const/,/\s/,r],scope:{1:"keyword",3:"variable.constant"}},v,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:y,contains:["self",x,o,P,e.C_BLOCK_COMMENT_MODE,f,g]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},f,g]}}function VA(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}function $A(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}function WA(e){const t=e.regex,n=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),r=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],s={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:r,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},l={className:"meta",begin:/^(>>>|\.\.\.) /},c={className:"subst",begin:/\{/,end:/\}/,keywords:s,illegal:/#/},u={begin:/\{\{/,relevance:0},d={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,l],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,l],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,l,u,c]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,l,u,c]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,u,c]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,u,c]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},_="[0-9](_?[0-9])*",m=`(\\b(${_}))?\\.(${_})|\\b(${_})\\.`,f=`\\b|${r.join("|")}`,g={className:"number",relevance:0,variants:[{begin:`(\\b(${_})|(${m}))[eE][+-]?(${_})[jJ]?(?=${f})`},{begin:`(${m})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${f})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${f})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${f})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${f})`},{begin:`\\b(${_})[jJ](?=${f})`}]},E={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:s,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},h={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:["self",l,g,d,e.HASH_COMMENT_MODE]}]};return c.contains=[d,g,l],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:s,illegal:/(<\/|\?)|=>/,contains:[l,g,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},d,E,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[h]},{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[g,h,d]}]}}function qA(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}function KA(e){const t=e.regex,n=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,r=t.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),i=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,a=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:n,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:t.lookahead(t.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:n},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[i,r]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,r]},{scope:{1:"punctuation",2:"number"},match:[a,r]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,r]}]},{scope:{3:"operator"},match:[n,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:i},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:a},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}function jA(e){const t=e.regex,n="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",r=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),i=t.concat(r,/(::\w+)*/),o={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},s={className:"doctag",begin:"@[A-Za-z]+"},l={begin:"#<",end:">"},c=[e.COMMENT("#","$",{contains:[s]}),e.COMMENT("^=begin","^=end",{contains:[s],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],u={className:"subst",begin:/#\{/,end:/\}/,keywords:o},d={className:"string",contains:[e.BACKSLASH_ESCAPE,u],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,u]})]}]},_="[1-9](_?[0-9])*|0",m="[0-9](_?[0-9])*",f={className:"number",relevance:0,variants:[{begin:`\\b(${_})(\\.(${m}))?([eE][+-]?(${m})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},g={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:o}]},v=[d,{variants:[{match:[/class\s+/,i,/\s+<\s+/,i]},{match:[/\b(class|module)\s+/,i]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:o},{match:[/(include|extend)\s+/,i],scope:{2:"title.class"},keywords:o},{relevance:0,match:[i,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:r,scope:"title.class"},{match:[/def/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[g]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[d,{begin:n}],relevance:0},f,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|(?!=)/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:o},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,u],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(l,c),relevance:0}].concat(l,c);u.contains=v,g.contains=v;const k=[{begin:/^\s*=>/,starts:{end:"$",contains:v}},{className:"meta.prompt",begin:"^("+"[>?]>"+"|"+"[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]"+"|"+"(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>"+")(?=[ ])",starts:{end:"$",keywords:o,contains:v}}];return c.unshift(l),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:o,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(k).concat(c).concat(v)}}function QA(e){const t=e.regex,n=/(r#)?/,r=t.concat(n,e.UNDERSCORE_IDENT_RE),i=t.concat(n,e.IDENT_RE),a={className:"title.function.invoke",relevance:0,begin:t.concat(/\b/,/(?!let|for|while|if|else|match\b)/,i,t.lookahead(/\s*\(/))},o="([ui](8|16|32|64|128|size)|f(32|64))?",s=["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","union","unsafe","unsized","use","virtual","where","while","yield"],l=["true","false","Some","None","Ok","Err"],c=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","eprintln!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],u=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",type:u,keyword:s,literal:l,built_in:c},illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),e.inherit(e.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*(?!')/},{scope:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'/,end:/'/,contains:[{scope:"char.escape",match:/\\('|\w|x\w{2}|u\w{4}|U\w{8})/}]}]},{className:"number",variants:[{begin:"\\b0b([01_]+)"+o},{begin:"\\b0o([0-7_]+)"+o},{begin:"\\b0x([A-Fa-f0-9_]+)"+o},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+o}],relevance:0},{begin:[/fn/,/\s+/,r],className:{1:"keyword",3:"title.function"}},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,r],className:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,r,/\s+/,/in/],className:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,r],className:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,r],className:{1:"keyword",3:"title.class"}},{begin:e.IDENT_RE+"::",keywords:{keyword:"Self",built_in:c,type:u}},{className:"punctuation",begin:"->"},a]}}const XA=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),ZA=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],JA=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],eI=[...ZA,...JA],tI=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),nI=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),rI=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),iI=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function aI(e){const t=XA(e),n=rI,r=nI,i="@[a-z-]+",a="and or not only",s={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+eI.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+r.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+n.join("|")+")"},s,{begin:/\(/,end:/\)/,contains:[t.CSS_NUMBER_MODE]},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+iI.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[t.BLOCK_COMMENT,s,t.HEXCOLOR,t.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.IMPORTANT,t.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:i,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:a,attribute:tI.join(" ")},contains:[{begin:i,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},s,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,t.CSS_NUMBER_MODE]},t.FUNCTION_DISPATCH]}}function oI(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}function sI(e){const t=e.regex,n=e.COMMENT("--","$"),r={scope:"string",variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},i={begin:/"/,end:/"/,contains:[{match:/""/}]},a=["true","false","unknown"],o=["double precision","large object","with timezone","without timezone"],s=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],l=["add","asc","collation","desc","final","first","last","view"],c=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],u=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],d=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],_=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],m=u,f=[...c,...l].filter(b=>!u.includes(b)),g={scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},E={scope:"operator",match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},h={match:t.concat(/\b/,t.either(...m),/\s*\(/),relevance:0,keywords:{built_in:m}};function S(b){return t.concat(/\b/,t.either(...b.map(v=>v.replace(/\s+/,"\\s+"))),/\b/)}const T={scope:"keyword",match:S(_),relevance:0};function y(b,{exceptions:v,when:w}={}){const P=w;return v=v||[],b.map(M=>M.match(/\|\d+$/)||v.includes(M)?M:P(M)?`${M}|0`:M)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:y(f,{when:b=>b.length<3}),literal:a,type:s,built_in:d},contains:[{scope:"type",match:S(o)},T,h,g,r,i,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,E]}}function Mm(e){return e?typeof e=="string"?e:e.source:null}function za(e){return ze("(?=",e,")")}function ze(...e){return e.map(n=>Mm(n)).join("")}function lI(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function Gt(...e){return"("+(lI(e).capture?"":"?:")+e.map(r=>Mm(r)).join("|")+")"}const kd=e=>ze(/\b/,e,/\w$/.test(e)?/\b/:/\B/),cI=["Protocol","Type"].map(kd),km=["init","self"].map(kd),dI=["Any","Self"],Ld=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","package","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],Lm=["false","nil","true"],uI=["assignment","associativity","higherThan","left","lowerThan","none","right"],_I=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],Pm=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],Um=Gt(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),Fm=Gt(Um,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),Pd=ze(Um,Fm,"*"),Bm=Gt(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),Ys=Gt(Bm,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),Gn=ze(Bm,Ys,"*"),zs=ze(/[A-Z]/,Ys,"*"),pI=["attached","autoclosure",ze(/convention\(/,Gt("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",ze(/objc\(/,Gn,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],mI=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function gI(e){const t={match:/\s+/,relevance:0},n=e.COMMENT("/\\*","\\*/",{contains:["self"]}),r=[e.C_LINE_COMMENT_MODE,n],i={match:[/\./,Gt(...cI,...km)],className:{2:"keyword"}},a={match:ze(/\./,Gt(...Ld)),relevance:0},o=Ld.filter(W=>typeof W=="string").concat(["_|0"]),s=Ld.filter(W=>typeof W!="string").concat(dI).map(kd),l={variants:[{className:"keyword",match:Gt(...s,...km)}]},c={$pattern:Gt(/\b\w+/,/#\w+/),keyword:o.concat(_I),literal:Lm},u=[i,a,l],d={match:ze(/\./,Gt(...Pm)),relevance:0},_={className:"built_in",match:ze(/\b/,Gt(...Pm),/(?=\()/)},m=[d,_],f={match:/->/,relevance:0},g={className:"operator",relevance:0,variants:[{match:Pd},{match:`\\.(\\.|${Fm})+`}]},E=[f,g],h="([0-9]_*)+",S="([0-9a-fA-F]_*)+",T={className:"number",relevance:0,variants:[{match:`\\b(${h})(\\.(${h}))?([eE][+-]?(${h}))?\\b`},{match:`\\b0x(${S})(\\.(${S}))?([pP][+-]?(${h}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},y=(W="")=>({className:"subst",variants:[{match:ze(/\\/,W,/[0\\tnr"']/)},{match:ze(/\\/,W,/u\{[0-9a-fA-F]{1,8}\}/)}]}),b=(W="")=>({className:"subst",match:ze(/\\/,W,/[\t ]*(?:[\r\n]|\r\n)/)}),v=(W="")=>({className:"subst",label:"interpol",begin:ze(/\\/,W,/\(/),end:/\)/}),w=(W="")=>({begin:ze(W,/"""/),end:ze(/"""/,W),contains:[y(W),b(W),v(W)]}),P=(W="")=>({begin:ze(W,/"/),end:ze(/"/,W),contains:[y(W),v(W)]}),M={className:"string",variants:[w(),w("#"),w("##"),w("###"),P(),P("#"),P("##"),P("###")]},k=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],G={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:k},C=W=>{const ke=ze(W,/\//),bt=ze(/\//,W);return{begin:ke,end:bt,contains:[...k,{scope:"comment",begin:`#(?!.*${bt})`,end:/$/}]}},x={scope:"regexp",variants:[C("###"),C("##"),C("#"),G]},O={match:ze(/`/,Gn,/`/)},R={className:"variable",match:/\$\d+/},L={className:"variable",match:`\\$${Ys}+`},B=[O,R,L],V={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:mI,contains:[...E,T,M]}]}},D={scope:"keyword",match:ze(/@/,Gt(...pI),za(Gt(/\(/,/\s+/)))},U={scope:"meta",match:ze(/@/,Gn)},z=[V,D,U],X={match:za(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:ze(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,Ys,"+")},{className:"type",match:zs,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:ze(/\s+&\s+/,za(zs)),relevance:0}]},re={begin:/</,end:/>/,keywords:c,contains:[...r,...u,...z,f,X]};X.contains.push(re);const ie={match:ze(Gn,/\s*:/),keywords:"_|0",relevance:0},ue={begin:/\(/,end:/\)/,relevance:0,keywords:c,contains:["self",ie,...r,x,...u,...m,...E,T,M,...B,...z,X]},ae={begin:/</,end:/>/,keywords:"repeat each",contains:[...r,X]},le={begin:Gt(za(ze(Gn,/\s*:/)),za(ze(Gn,/\s+/,Gn,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:Gn}]},de={begin:/\(/,end:/\)/,keywords:c,contains:[le,...r,...u,...E,T,M,...z,X,ue],endsParent:!0,illegal:/["']/},me={match:[/(func|macro)/,/\s+/,Gt(O.match,Gn,Pd)],className:{1:"keyword",3:"title.function"},contains:[ae,de,t],illegal:[/\[/,/%/]},pe={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[ae,de,t],illegal:/\[|%/},Ue={match:[/operator/,/\s+/,Pd],className:{1:"keyword",3:"title"}},Q={begin:[/precedencegroup/,/\s+/,zs],className:{1:"keyword",3:"title"},contains:[X],keywords:[...uI,...Lm],end:/}/},Ke={match:[/class\b/,/\s+/,/func\b/,/\s+/,/\b[A-Za-z_][A-Za-z0-9_]*\b/],scope:{1:"keyword",3:"keyword",5:"title.function"}},Ot={match:[/class\b/,/\s+/,/var\b/],scope:{1:"keyword",3:"keyword"}},yt={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,Gn,/\s*/],beginScope:{1:"keyword",3:"title.class"},keywords:c,contains:[ae,...u,{begin:/:/,end:/\{/,keywords:c,contains:[{scope:"title.class.inherited",match:zs},...u],relevance:0}]};for(const W of M.variants){const ke=W.contains.find(mt=>mt.label==="interpol");ke.keywords=c;const bt=[...u,...m,...E,T,M,...B];ke.contains=[...bt,{begin:/\(/,end:/\)/,contains:["self",...bt]}]}return{name:"Swift",keywords:c,contains:[...r,me,pe,Ke,Ot,yt,Ue,Q,{beginKeywords:"import",end:/$/,contains:[...r],relevance:0},x,...u,...m,...E,T,M,...B,...z,X,ue]}}const Vs="[A-Za-z$_][0-9A-Za-z$_]*",Gm=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],Hm=["true","false","null","undefined","NaN","Infinity"],Ym=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],zm=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Vm=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],$m=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],Wm=[].concat(Vm,Ym,zm);function fI(e){const t=e.regex,n=(V,{after:D})=>{const U="</"+V[0].slice(1);return V.input.indexOf(U,D)!==-1},r=Vs,i={begin:"<>",end:"</>"},a=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(V,D)=>{const U=V[0].length+V.index,z=V.input[U];if(z==="<"||z===","){D.ignoreMatch();return}z===">"&&(n(V,{after:U})||D.ignoreMatch());let X;const re=V.input.substring(U);if(X=re.match(/^\s*=/)){D.ignoreMatch();return}if((X=re.match(/^\s+extends\s+/))&&X.index===0){D.ignoreMatch();return}}},s={$pattern:Vs,keyword:Gm,literal:Hm,built_in:Wm,"variable.language":$m},l="[0-9](_?[0-9])*",c=`\\.(${l})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",d={className:"number",variants:[{begin:`(\\b(${u})((${c})|\\.)?|(${c}))[eE][+-]?(${l})\\b`},{begin:`\\b(${u})\\b((${c})\\b|\\.)?|(${c})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},_={className:"subst",begin:"\\$\\{",end:"\\}",keywords:s,contains:[]},m={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,_],subLanguage:"xml"}},f={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,_],subLanguage:"css"}},g={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,_],subLanguage:"graphql"}},E={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,_]},S={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:r+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},T=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,m,f,g,E,{match:/\$\d+/},d];_.contains=T.concat({begin:/\{/,end:/\}/,keywords:s,contains:["self"].concat(T)});const y=[].concat(S,_.contains),b=y.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:["self"].concat(y)}]),v={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b},w={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,"(",t.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},P={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...Ym,...zm]}},M={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},k={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[v],illegal:/%/},G={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function C(V){return t.concat("(?!",V.join("|"),")")}const x={match:t.concat(/\b/,C([...Vm,"super","import"].map(V=>`${V}\\s*\\(`)),r,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},O={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},R={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},v]},L="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",B={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(L)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[v]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:s,exports:{PARAMS_CONTAINS:b,CLASS_REFERENCE:P},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),M,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,m,f,g,E,S,{match:/\$\d+/},d,P,{scope:"attr",match:r+t.lookahead(":"),relevance:0},B,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[S,e.REGEXP_MODE,{className:"function",begin:L,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:a},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:"xml",contains:[{begin:o.begin,end:o.end,skip:!0,contains:["self"]}]}]},k,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[v,e.inherit(e.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},O,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[v]},x,G,w,R,{match:/\$[(.]/}]}}function EI(e){const t=e.regex,n=fI(e),r=Vs,i=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],a={begin:[/namespace/,/\s+/,e.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},o={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:i},contains:[n.exports.CLASS_REFERENCE]},s={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},l=["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"],c={$pattern:Vs,keyword:Gm.concat(l),literal:Hm,built_in:Wm.concat(i),"variable.language":$m},u={className:"meta",begin:"@"+r},d=(g,E,h)=>{const S=g.contains.findIndex(T=>T.label===E);if(S===-1)throw new Error("can not find mode to replace");g.contains.splice(S,1,h)};Object.assign(n.keywords,c),n.exports.PARAMS_CONTAINS.push(u);const _=n.contains.find(g=>g.scope==="attr"),m=Object.assign({},_,{match:t.concat(r,t.lookahead(/\s*\?:/))});n.exports.PARAMS_CONTAINS.push([n.exports.CLASS_REFERENCE,_,m]),n.contains=n.contains.concat([u,a,o,m]),d(n,"shebang",e.SHEBANG()),d(n,"use_strict",s);const f=n.contains.find(g=>g.label==="func.def");return f.relevance=0,Object.assign(n,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),n}function hI(e){const t=e.regex,n={className:"string",begin:/"(""|[^/n])"C\b/},r={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},i=/\d{1,2}\/\d{1,2}\/\d{4}/,a=/\d{4}-\d{1,2}-\d{1,2}/,o=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,s=/\d{1,2}(:\d{1,2}){1,2}/,l={className:"literal",variants:[{begin:t.concat(/# */,t.either(a,i),/ *#/)},{begin:t.concat(/# */,s,/ *#/)},{begin:t.concat(/# */,o,/ *#/)},{begin:t.concat(/# */,t.either(a,i),/ +/,t.either(o,s),/ *#/)}]},c={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},u={className:"label",begin:/^\w+:/},d=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),_=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[n,r,l,c,u,d,_,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[_]}]}}function SI(e){e.regex;const t=e.COMMENT(/\(;/,/;\)/);t.contains.push("self");const n=e.COMMENT(/;;/,/$/),r=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],i={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},a={className:"variable",begin:/\$[\w_]+/},o={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},s={className:"number",relevance:0,match:/[+-]?\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/},l={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},c={className:"keyword",match:/\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|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:r},contains:[n,t,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},a,o,i,e.QUOTE_STRING_MODE,l,c,s]}}function bI(e){const t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r=/[\p{L}0-9._:-]+/u,i={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},a={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=e.inherit(a,{begin:/\(/,end:/\)/}),s=e.inherit(e.APOS_STRING_MODE,{className:"string"}),l=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),c={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:r,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[i]},{begin:/'/,end:/'/,contains:[i]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[a,l,s,o,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[a,o,l,s]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},i,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[l]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[c],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[c],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(/</,t.lookahead(t.concat(n,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:c}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}function TI(e){const t="true false yes no null",n="[\\w#;/?:@&=+$,.~*'()[\\]]+",r={className:"attr",variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},i={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},a={className:"string",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:"char.escape",relevance:0}]},o={className:"string",relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,i]},s=e.inherit(o,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),_={className:"number",begin:"\\b"+"[0-9]{4}(-[0-9][0-9]){0,2}"+"([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?"+"(\\.[0-9]*)?"+"([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?"+"\\b"},m={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},f={begin:/\{/,end:/\}/,contains:[m],illegal:"\\n",relevance:0},g={begin:"\\[",end:"\\]",contains:[m],illegal:"\\n",relevance:0},E=[r,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+n},{className:"type",begin:"!<"+n+">"},{className:"type",begin:"!"+n},{className:"type",begin:"!!"+n},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},_,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},f,g,a,o],h=[...E];return h.pop(),h.push(s),m.contains=h,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:E}}const qm={...{arduino:rA,bash:iA,c:aA,cpp:oA,csharp:sA,css:fA,diff:EA,go:hA,graphql:SA,ini:bA,java:TA,javascript:NA,json:OA,kotlin:IA,less:UA,lua:FA,makefile:BA,markdown:GA,objectivec:HA,perl:YA,php:zA,"php-template":VA,plaintext:$A,python:WA,"python-repl":qA,r:KA,ruby:jA,rust:QA,scss:aI,shell:oI,sql:sI,swift:gI,typescript:EI,vbnet:hI,wasm:SI,xml:bI,yaml:TI},"1c":Gv,abnf:Hv,accesslog:Yv,actionscript:zv,ada:Vv,angelscript:$v,apache:Wv,applescript:qv,arcade:Kv,armasm:jv,asciidoc:Qv,aspectj:Xv,autohotkey:Zv,autoit:Jv,avrasm:eR,awk:tR,axapta:nR,basic:rR,bnf:iR,brainfuck:aR,cal:oR,capnproto:sR,ceylon:lR,clean:cR,clojure:dR,"clojure-repl":uR,cmake:_R,coffeescript:SR,coq:bR,cos:TR,crmsh:CR,crystal:yR,csp:vR,d:RR,dart:NR,delphi:OR,django:AR,dns:IR,dockerfile:xR,dos:wR,dsconfig:DR,dts:MR,dust:kR,ebnf:LR,elixir:PR,elm:UR,erb:FR,erlang:BR,"erlang-repl":GR,excel:HR,fix:YR,flix:zR,fortran:VR,fsharp:qR,gams:KR,gauss:jR,gcode:QR,gherkin:XR,glsl:ZR,gml:JR,golo:eN,gradle:tN,groovy:nN,haml:rN,handlebars:iN,haskell:aN,haxe:oN,hsp:sN,http:lN,hy:cN,inform7:dN,irpf90:uN,isbl:_N,"jboss-cli":pN,julia:mN,"julia-repl":gN,lasso:fN,latex:EN,ldif:hN,leaf:SN,lisp:bN,livecodeserver:TN,livescript:AN,llvm:IN,lsl:xN,mathematica:DN,matlab:MN,maxima:kN,mel:LN,mercury:PN,mipsasm:UN,mizar:FN,mojolicious:BN,monkey:GN,moonscript:HN,n1ql:YN,nestedtext:zN,nginx:VN,nim:$N,nix:WN,"node-repl":qN,nsis:KN,ocaml:jN,openscad:QN,oxygene:XN,parser3:ZN,pf:JN,pgsql:eO,pony:tO,powershell:nO,processing:rO,profile:iO,prolog:aO,properties:oO,protobuf:sO,puppet:lO,purebasic:cO,q:dO,qml:uO,reasonml:_O,rib:pO,roboconf:mO,routeros:gO,rsl:fO,ruleslanguage:EO,sas:hO,scala:SO,scheme:bO,scilab:TO,smali:CO,smalltalk:yO,sml:vO,sqf:RO,stan:NO,stata:OO,step21:AO,stylus:UO,subunit:FO,taggerscript:BO,tap:GO,tcl:HO,thrift:YO,tp:zO,twig:VO,vala:$O,vbscript:WO,"vbscript-html":qO,verilog:KO,vhdl:jO,vim:QO,wren:XO,x86asm:ZO,xl:JO,xquery:eA,zephir:tA};var Ud,Km;function CI(){if(Km)return Ud;Km=1;function e(A){return A instanceof Map?A.clear=A.delete=A.set=function(){throw new Error("map is read-only")}:A instanceof Set&&(A.add=A.clear=A.delete=function(){throw new Error("set is read-only")}),Object.freeze(A),Object.getOwnPropertyNames(A).forEach(H=>{const J=A[H],Ee=typeof J;(Ee==="object"||Ee==="function")&&!Object.isFrozen(J)&&e(J)}),A}class t{constructor(H){H.data===void 0&&(H.data={}),this.data=H.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function n(A){return A.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function r(A,...H){const J=Object.create(null);for(const Ee in A)J[Ee]=A[Ee];return H.forEach(function(Ee){for(const Xe in Ee)J[Xe]=Ee[Xe]}),J}const i="</span>",a=A=>!!A.scope,o=(A,{prefix:H})=>{if(A.startsWith("language:"))return A.replace("language:","language-");if(A.includes(".")){const J=A.split(".");return[`${H}${J.shift()}`,...J.map((Ee,Xe)=>`${Ee}${"_".repeat(Xe+1)}`)].join(" ")}return`${H}${A}`};class s{constructor(H,J){this.buffer="",this.classPrefix=J.classPrefix,H.walk(this)}addText(H){this.buffer+=n(H)}openNode(H){if(!a(H))return;const J=o(H.scope,{prefix:this.classPrefix});this.span(J)}closeNode(H){a(H)&&(this.buffer+=i)}value(){return this.buffer}span(H){this.buffer+=`<span class="${H}">`}}const l=(A={})=>{const H={children:[]};return Object.assign(H,A),H};class c{constructor(){this.rootNode=l(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(H){this.top.children.push(H)}openNode(H){const J=l({scope:H});this.add(J),this.stack.push(J)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(H){return this.constructor._walk(H,this.rootNode)}static _walk(H,J){return typeof J=="string"?H.addText(J):J.children&&(H.openNode(J),J.children.forEach(Ee=>this._walk(H,Ee)),H.closeNode(J)),H}static _collapse(H){typeof H!="string"&&H.children&&(H.children.every(J=>typeof J=="string")?H.children=[H.children.join("")]:H.children.forEach(J=>{c._collapse(J)}))}}class u extends c{constructor(H){super(),this.options=H}addText(H){H!==""&&this.add(H)}startScope(H){this.openNode(H)}endScope(){this.closeNode()}__addSublanguage(H,J){const Ee=H.root;J&&(Ee.scope=`language:${J}`),this.add(Ee)}toHTML(){return new s(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function d(A){return A?typeof A=="string"?A:A.source:null}function _(A){return g("(?=",A,")")}function m(A){return g("(?:",A,")*")}function f(A){return g("(?:",A,")?")}function g(...A){return A.map(J=>d(J)).join("")}function E(A){const H=A[A.length-1];return typeof H=="object"&&H.constructor===Object?(A.splice(A.length-1,1),H):{}}function h(...A){return"("+(E(A).capture?"":"?:")+A.map(Ee=>d(Ee)).join("|")+")"}function S(A){return new RegExp(A.toString()+"|").exec("").length-1}function T(A,H){const J=A&&A.exec(H);return J&&J.index===0}const y=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function b(A,{joinWith:H}){let J=0;return A.map(Ee=>{J+=1;const Xe=J;let et=d(Ee),oe="";for(;et.length>0;){const ne=y.exec(et);if(!ne){oe+=et;break}oe+=et.substring(0,ne.index),et=et.substring(ne.index+ne[0].length),ne[0][0]==="\\"&&ne[1]?oe+="\\"+String(Number(ne[1])+Xe):(oe+=ne[0],ne[0]==="("&&J++)}return oe}).map(Ee=>`(${Ee})`).join(H)}const v=/\b\B/,w="[a-zA-Z]\\w*",P="[a-zA-Z_]\\w*",M="\\b\\d+(\\.\\d+)?",k="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",G="\\b(0b[01]+)",C="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",x=(A={})=>{const H=/^#![ ]*\//;return A.binary&&(A.begin=g(H,/.*\b/,A.binary,/\b.*/)),r({scope:"meta",begin:H,end:/$/,relevance:0,"on:begin":(J,Ee)=>{J.index!==0&&Ee.ignoreMatch()}},A)},O={begin:"\\\\[\\s\\S]",relevance:0},R={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[O]},L={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[O]},B={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},V=function(A,H,J={}){const Ee=r({scope:"comment",begin:A,end:H,contains:[]},J);Ee.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const Xe=h("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return Ee.contains.push({begin:g(/[ ]+/,"(",Xe,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),Ee},D=V("//","$"),U=V("/\\*","\\*/"),z=V("#","$"),X={scope:"number",begin:M,relevance:0},re={scope:"number",begin:k,relevance:0},ie={scope:"number",begin:G,relevance:0},ue={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[O,{begin:/\[/,end:/\]/,relevance:0,contains:[O]}]},ae={scope:"title",begin:w,relevance:0},le={scope:"title",begin:P,relevance:0},de={begin:"\\.\\s*"+P,relevance:0};var pe=Object.freeze({__proto__:null,APOS_STRING_MODE:R,BACKSLASH_ESCAPE:O,BINARY_NUMBER_MODE:ie,BINARY_NUMBER_RE:G,COMMENT:V,C_BLOCK_COMMENT_MODE:U,C_LINE_COMMENT_MODE:D,C_NUMBER_MODE:re,C_NUMBER_RE:k,END_SAME_AS_BEGIN:function(A){return Object.assign(A,{"on:begin":(H,J)=>{J.data._beginMatch=H[1]},"on:end":(H,J)=>{J.data._beginMatch!==H[1]&&J.ignoreMatch()}})},HASH_COMMENT_MODE:z,IDENT_RE:w,MATCH_NOTHING_RE:v,METHOD_GUARD:de,NUMBER_MODE:X,NUMBER_RE:M,PHRASAL_WORDS_MODE:B,QUOTE_STRING_MODE:L,REGEXP_MODE:ue,RE_STARTERS_RE:C,SHEBANG:x,TITLE_MODE:ae,UNDERSCORE_IDENT_RE:P,UNDERSCORE_TITLE_MODE:le});function Ue(A,H){A.input[A.index-1]==="."&&H.ignoreMatch()}function Q(A,H){A.className!==void 0&&(A.scope=A.className,delete A.className)}function Ke(A,H){H&&A.beginKeywords&&(A.begin="\\b("+A.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",A.__beforeBegin=Ue,A.keywords=A.keywords||A.beginKeywords,delete A.beginKeywords,A.relevance===void 0&&(A.relevance=0))}function Ot(A,H){Array.isArray(A.illegal)&&(A.illegal=h(...A.illegal))}function yt(A,H){if(A.match){if(A.begin||A.end)throw new Error("begin & end are not supported with match");A.begin=A.match,delete A.match}}function W(A,H){A.relevance===void 0&&(A.relevance=1)}const ke=(A,H)=>{if(!A.beforeMatch)return;if(A.starts)throw new Error("beforeMatch cannot be used with starts");const J=Object.assign({},A);Object.keys(A).forEach(Ee=>{delete A[Ee]}),A.keywords=J.keywords,A.begin=g(J.beforeMatch,_(J.begin)),A.starts={relevance:0,contains:[Object.assign(J,{endsParent:!0})]},A.relevance=0,delete J.beforeMatch},bt=["of","and","for","in","not","or","if","then","parent","list","value"],mt="keyword";function Se(A,H,J=mt){const Ee=Object.create(null);return typeof A=="string"?Xe(J,A.split(" ")):Array.isArray(A)?Xe(J,A):Object.keys(A).forEach(function(et){Object.assign(Ee,Se(A[et],H,et))}),Ee;function Xe(et,oe){H&&(oe=oe.map(ne=>ne.toLowerCase())),oe.forEach(function(ne){const ge=ne.split("|");Ee[ge[0]]=[et,Ki(ge[0],ge[1])]})}}function Ki(A,H){return H?Number(H):Hr(A)?0:1}function Hr(A){return bt.includes(A.toLowerCase())}const di={},Ut=A=>{console.error(A)},fn=(A,...H)=>{console.log(`WARN: ${A}`,...H)},Qn=(A,H)=>{di[`${A}/${H}`]||(console.log(`Deprecated as of ${A}. ${H}`),di[`${A}/${H}`]=!0)},Yr=new Error;function so(A,H,{key:J}){let Ee=0;const Xe=A[J],et={},oe={};for(let ne=1;ne<=H.length;ne++)oe[ne+Ee]=Xe[ne],et[ne+Ee]=!0,Ee+=S(H[ne-1]);A[J]=oe,A[J]._emit=et,A[J]._multi=!0}function lo(A){if(Array.isArray(A.begin)){if(A.skip||A.excludeBegin||A.returnBegin)throw Ut("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Yr;if(typeof A.beginScope!="object"||A.beginScope===null)throw Ut("beginScope must be object"),Yr;so(A,A.begin,{key:"beginScope"}),A.begin=b(A.begin,{joinWith:""})}}function co(A){if(Array.isArray(A.end)){if(A.skip||A.excludeEnd||A.returnEnd)throw Ut("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Yr;if(typeof A.endScope!="object"||A.endScope===null)throw Ut("endScope must be object"),Yr;so(A,A.end,{key:"endScope"}),A.end=b(A.end,{joinWith:""})}}function Pl(A){A.scope&&typeof A.scope=="object"&&A.scope!==null&&(A.beginScope=A.scope,delete A.scope)}function Ul(A){Pl(A),typeof A.beginScope=="string"&&(A.beginScope={_wrap:A.beginScope}),typeof A.endScope=="string"&&(A.endScope={_wrap:A.endScope}),lo(A),co(A)}function Fl(A){function H(oe,ne){return new RegExp(d(oe),"m"+(A.case_insensitive?"i":"")+(A.unicodeRegex?"u":"")+(ne?"g":""))}class J{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(ne,ge){ge.position=this.position++,this.matchIndexes[this.matchAt]=ge,this.regexes.push([ge,ne]),this.matchAt+=S(ne)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const ne=this.regexes.map(ge=>ge[1]);this.matcherRe=H(b(ne,{joinWith:"|"}),!0),this.lastIndex=0}exec(ne){this.matcherRe.lastIndex=this.lastIndex;const ge=this.matcherRe.exec(ne);if(!ge)return null;const gt=ge.findIndex((Vr,Xi)=>Xi>0&&Vr!==void 0),rt=this.matchIndexes[gt];return ge.splice(0,gt),Object.assign(ge,rt)}}class Ee{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(ne){if(this.multiRegexes[ne])return this.multiRegexes[ne];const ge=new J;return this.rules.slice(ne).forEach(([gt,rt])=>ge.addRule(gt,rt)),ge.compile(),this.multiRegexes[ne]=ge,ge}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(ne,ge){this.rules.push([ne,ge]),ge.type==="begin"&&this.count++}exec(ne){const ge=this.getMatcher(this.regexIndex);ge.lastIndex=this.lastIndex;let gt=ge.exec(ne);if(this.resumingScanAtSamePosition()&&!(gt&>.index===this.lastIndex)){const rt=this.getMatcher(0);rt.lastIndex=this.lastIndex+1,gt=rt.exec(ne)}return gt&&(this.regexIndex+=gt.position+1,this.regexIndex===this.count&&this.considerAll()),gt}}function Xe(oe){const ne=new Ee;return oe.contains.forEach(ge=>ne.addRule(ge.begin,{rule:ge,type:"begin"})),oe.terminatorEnd&&ne.addRule(oe.terminatorEnd,{type:"end"}),oe.illegal&&ne.addRule(oe.illegal,{type:"illegal"}),ne}function et(oe,ne){const ge=oe;if(oe.isCompiled)return ge;[Q,yt,Ul,ke].forEach(rt=>rt(oe,ne)),A.compilerExtensions.forEach(rt=>rt(oe,ne)),oe.__beforeBegin=null,[Ke,Ot,W].forEach(rt=>rt(oe,ne)),oe.isCompiled=!0;let gt=null;return typeof oe.keywords=="object"&&oe.keywords.$pattern&&(oe.keywords=Object.assign({},oe.keywords),gt=oe.keywords.$pattern,delete oe.keywords.$pattern),gt=gt||/\w+/,oe.keywords&&(oe.keywords=Se(oe.keywords,A.case_insensitive)),ge.keywordPatternRe=H(gt,!0),ne&&(oe.begin||(oe.begin=/\B|\b/),ge.beginRe=H(ge.begin),!oe.end&&!oe.endsWithParent&&(oe.end=/\B|\b/),oe.end&&(ge.endRe=H(ge.end)),ge.terminatorEnd=d(ge.end)||"",oe.endsWithParent&&ne.terminatorEnd&&(ge.terminatorEnd+=(oe.end?"|":"")+ne.terminatorEnd)),oe.illegal&&(ge.illegalRe=H(oe.illegal)),oe.contains||(oe.contains=[]),oe.contains=[].concat(...oe.contains.map(function(rt){return Bl(rt==="self"?oe:rt)})),oe.contains.forEach(function(rt){et(rt,ge)}),oe.starts&&et(oe.starts,ne),ge.matcher=Xe(ge),ge}if(A.compilerExtensions||(A.compilerExtensions=[]),A.contains&&A.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return A.classNameAliases=r(A.classNameAliases||{}),et(A)}function uo(A){return A?A.endsWithParent||uo(A.starts):!1}function Bl(A){return A.variants&&!A.cachedVariants&&(A.cachedVariants=A.variants.map(function(H){return r(A,{variants:null},H)})),A.cachedVariants?A.cachedVariants:uo(A)?r(A,{starts:A.starts?r(A.starts):null}):Object.isFrozen(A)?r(A):A}var Gl="11.11.1";class Hl extends Error{constructor(H,J){super(H),this.name="HTMLInjectionError",this.html=J}}const zr=n,ji=r,Xn=Symbol("nomatch"),Qi=7,ui=function(A){const H=Object.create(null),J=Object.create(null),Ee=[];let Xe=!0;const et="Could not find the language '{}', did you forget to load/include a language module?",oe={disableAutodetect:!0,name:"Plain text",contains:[]};let ne={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:u};function ge(K){return ne.noHighlightRe.test(K)}function gt(K){let _e=K.className+" ";_e+=K.parentNode?K.parentNode.className:"";const Re=ne.languageDetectRe.exec(_e);if(Re){const qe=dt(Re[1]);return qe||(fn(et.replace("{}",Re[1])),fn("Falling back to no-highlight mode for this block.",K)),qe?Re[1]:"no-highlight"}return _e.split(/\s+/).find(qe=>ge(qe)||dt(qe))}function rt(K,_e,Re){let qe="",Tt="";typeof _e=="object"?(qe=K,Re=_e.ignoreIllegals,Tt=_e.language):(Qn("10.7.0","highlight(lang, code, ...args) has been deprecated."),Qn("10.7.0",`Please use highlight(code, options) instead.
|
|
63
47
|
https://github.com/highlightjs/highlight.js/issues/2277`),Tt=K,qe=_e),Re===void 0&&(Re=!0);const En={code:qe,language:Tt};_i("before:highlight",En);const br=En.result?En.result:Vr(En.language,En.code,Re);return br.code=En.code,_i("after:highlight",br),br}function Vr(K,_e,Re,qe){const Tt=Object.create(null);function En(ee,se){return ee.keywords[se]}function br(){if(!he.keywords){Ct.addText(Ye);return}let ee=0;he.keywordPatternRe.lastIndex=0;let se=he.keywordPatternRe.exec(Ye),Te="";for(;se;){Te+=Ye.substring(ee,se.index);const we=hn.case_insensitive?se[0].toLowerCase():se[0],vt=En(he,we);if(vt){const[er,eh]=vt;if(Ct.addText(Te),Te="",Tt[we]=(Tt[we]||0)+1,Tt[we]<=Qi&&(pi+=eh),er.startsWith("_"))Te+=se[0];else{const Rk=hn.classNameAliases[er]||er;Dn(se[0],Rk)}}else Te+=se[0];ee=he.keywordPatternRe.lastIndex,se=he.keywordPatternRe.exec(Ye)}Te+=Ye.substring(ee),Ct.addText(Te)}function _o(){if(Ye==="")return;let ee=null;if(typeof he.subLanguage=="string"){if(!H[he.subLanguage]){Ct.addText(Ye);return}ee=Vr(he.subLanguage,Ye,!0,Vl[he.subLanguage]),Vl[he.subLanguage]=ee._top}else ee=N(Ye,he.subLanguage.length?he.subLanguage:null);he.relevance>0&&(pi+=ee.relevance),Ct.__addSublanguage(ee._emitter,ee.language)}function Qt(){he.subLanguage!=null?_o():br(),Ye=""}function Dn(ee,se){ee!==""&&(Ct.startScope(se),Ct.addText(ee),Ct.endScope())}function Gu(ee,se){let Te=1;const we=se.length-1;for(;Te<=we;){if(!ee._emit[Te]){Te++;continue}const vt=hn.classNameAliases[ee[Te]]||ee[Te],er=se[Te];vt?Dn(er,vt):(Ye=er,br(),Ye=""),Te++}}function Hu(ee,se){return ee.scope&&typeof ee.scope=="string"&&Ct.openNode(hn.classNameAliases[ee.scope]||ee.scope),ee.beginScope&&(ee.beginScope._wrap?(Dn(Ye,hn.classNameAliases[ee.beginScope._wrap]||ee.beginScope._wrap),Ye=""):ee.beginScope._multi&&(Gu(ee.beginScope,se),Ye="")),he=Object.create(ee,{parent:{value:he}}),he}function Yu(ee,se,Te){let we=T(ee.endRe,Te);if(we){if(ee["on:end"]){const vt=new t(ee);ee["on:end"](se,vt),vt.isMatchIgnored&&(we=!1)}if(we){for(;ee.endsParent&&ee.parent;)ee=ee.parent;return ee}}if(ee.endsWithParent)return Yu(ee.parent,se,Te)}function QE(ee){return he.matcher.regexIndex===0?(Ye+=ee[0],1):(ea=!0,0)}function XE(ee){const se=ee[0],Te=ee.rule,we=new t(Te),vt=[Te.__beforeBegin,Te["on:begin"]];for(const er of vt)if(er&&(er(ee,we),we.isMatchIgnored))return QE(se);return Te.skip?Ye+=se:(Te.excludeBegin&&(Ye+=se),Qt(),!Te.returnBegin&&!Te.excludeBegin&&(Ye=se)),Hu(Te,ee),Te.returnBegin?0:se.length}function ZE(ee){const se=ee[0],Te=_e.substring(ee.index),we=Yu(he,ee,Te);if(!we)return Xn;const vt=he;he.endScope&&he.endScope._wrap?(Qt(),Dn(se,he.endScope._wrap)):he.endScope&&he.endScope._multi?(Qt(),Gu(he.endScope,ee)):vt.skip?Ye+=se:(vt.returnEnd||vt.excludeEnd||(Ye+=se),Qt(),vt.excludeEnd&&(Ye=se));do he.scope&&Ct.closeNode(),!he.skip&&!he.subLanguage&&(pi+=he.relevance),he=he.parent;while(he!==we.parent);return we.starts&&Hu(we.starts,ee),vt.returnEnd?0:se.length}function JE(){const ee=[];for(let se=he;se!==hn;se=se.parent)se.scope&&ee.unshift(se.scope);ee.forEach(se=>Ct.openNode(se))}let Ji={};function zl(ee,se){const Te=se&&se[0];if(Ye+=ee,Te==null)return Qt(),0;if(Ji.type==="begin"&&se.type==="end"&&Ji.index===se.index&&Te===""){if(Ye+=_e.slice(se.index,se.index+1),!Xe){const we=new Error(`0 width match regex (${K})`);throw we.languageName=K,we.badRule=Ji.rule,we}return 1}if(Ji=se,se.type==="begin")return XE(se);if(se.type==="illegal"&&!Re){const we=new Error('Illegal lexeme "'+Te+'" for mode "'+(he.scope||"<unnamed>")+'"');throw we.mode=he,we}else if(se.type==="end"){const we=ZE(se);if(we!==Xn)return we}if(se.type==="illegal"&&Te==="")return Ye+=`
|
|
64
|
-
`,1;if(mo>1e5&&mo>se.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Ye+=Te,Te.length}const hn=dt(K);if(!hn)throw Ut(et.replace("{}",K)),new Error('Unknown language: "'+K+'"');const zu=Fl(hn);let po="",he=qe||zu;const Vl={},Ct=new ne.__emitter(ne);JE();let Ye="",pi=0,Tr=0,mo=0,ea=!1;try{if(hn.__emitTokens)hn.__emitTokens(_e,Ct);else{for(he.matcher.considerAll();;){mo++,ea?ea=!1:he.matcher.considerAll(),he.matcher.lastIndex=Tr;const ee=he.matcher.exec(_e);if(!ee)break;const se=_e.substring(Tr,ee.index),Te=zl(se,ee);Tr=ee.index+Te}zl(_e.substring(Tr))}return Ct.finalize(),po=Ct.toHTML(),{language:K,value:po,relevance:pi,illegal:!1,_emitter:Ct,_top:he}}catch(ee){if(ee.message&&ee.message.includes("Illegal"))return{language:K,value:zr(_e),illegal:!0,relevance:0,_illegalBy:{message:ee.message,index:Tr,context:_e.slice(Tr-100,Tr+100),mode:ee.mode,resultSoFar:po},_emitter:Ct};if(Xe)return{language:K,value:zr(_e),illegal:!1,relevance:0,errorRaised:ee,_emitter:Ct,_top:he};throw ee}}function Xi(K){const _e={value:zr(K),illegal:!1,relevance:0,_top:oe,_emitter:new ne.__emitter(ne)};return _e._emitter.addText(K),_e}function N(K,_e){_e=_e||ne.languages||Object.keys(H);const Re=Xi(K),qe=_e.filter(dt).filter(wn).map(Qt=>Vr(Qt,K,!1));qe.unshift(Re);const Tt=qe.sort((Qt,Dn)=>{if(Qt.relevance!==Dn.relevance)return Dn.relevance-Qt.relevance;if(Qt.language&&Dn.language){if(dt(Qt.language).supersetOf===Dn.language)return 1;if(dt(Dn.language).supersetOf===Qt.language)return-1}return 0}),[En,br]=Tt,_o=En;return _o.secondBest=br,_o}function $(K,_e,Re){const qe=_e&&J[_e]||Re;K.classList.add("hljs"),K.classList.add(`language-${qe}`)}function te(K){let _e=null;const Re=gt(K);if(ge(Re))return;if(_i("before:highlightElement",{el:K,language:Re}),K.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",K);return}if(K.children.length>0&&(ne.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(K)),ne.throwUnescapedHTML))throw new Hl("One of your code blocks includes unescaped HTML.",K.innerHTML);_e=K;const qe=_e.textContent,Tt=Re?rt(qe,{language:Re,ignoreIllegals:!0}):N(qe);K.innerHTML=Tt.value,K.dataset.highlighted="yes",$(K,Re,Tt.language),K.result={language:Tt.language,re:Tt.relevance,relevance:Tt.relevance},Tt.secondBest&&(K.secondBest={language:Tt.secondBest.language,relevance:Tt.secondBest.relevance}),_i("after:highlightElement",{el:K,result:Tt,text:qe})}function fe(K){ne=ji(ne,K)}const Ie=()=>{be(),Qn("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function Fe(){be(),Qn("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let ve=!1;function be(){function K(){be()}if(document.readyState==="loading"){ve||window.addEventListener("DOMContentLoaded",K,!1),ve=!0;return}document.querySelectorAll(ne.cssSelector).forEach(te)}function At(K,_e){let Re=null;try{Re=_e(A)}catch(qe){if(Ut("Language definition for '{}' could not be registered.".replace("{}",K)),Xe)Ut(qe);else throw qe;Re=oe}Re.name||(Re.name=K),H[K]=Re,Re.rawDefinition=_e.bind(null,A),Re.aliases&&Jn(Re.aliases,{languageName:K})}function tt(K){delete H[K];for(const _e of Object.keys(J))J[_e]===K&&delete J[_e]}function it(){return Object.keys(H)}function dt(K){return K=(K||"").toLowerCase(),H[K]||H[J[K]]}function Jn(K,{languageName:_e}){typeof K=="string"&&(K=[K]),K.forEach(Re=>{J[Re.toLowerCase()]=_e})}function wn(K){const _e=dt(K);return _e&&!_e.disableAutodetect}function Dt(K){K["before:highlightBlock"]&&!K["before:highlightElement"]&&(K["before:highlightElement"]=_e=>{K["before:highlightBlock"](Object.assign({block:_e.el},_e))}),K["after:highlightBlock"]&&!K["after:highlightElement"]&&(K["after:highlightElement"]=_e=>{K["after:highlightBlock"](Object.assign({block:_e.el},_e))})}function Zi(K){Dt(K),Ee.push(K)}function Yl(K){const _e=Ee.indexOf(K);_e!==-1&&Ee.splice(_e,1)}function _i(K,_e){const Re=K;Ee.forEach(function(qe){qe[Re]&&qe[Re](_e)})}function jE(K){return Qn("10.7.0","highlightBlock will be removed entirely in v12.0"),Qn("10.7.0","Please use highlightElement now."),te(K)}Object.assign(A,{highlight:rt,highlightAuto:N,highlightAll:be,highlightElement:te,highlightBlock:jE,configure:fe,initHighlighting:Ie,initHighlightingOnLoad:Fe,registerLanguage:At,unregisterLanguage:tt,listLanguages:it,getLanguage:dt,registerAliases:Jn,autoDetection:wn,inherit:ji,addPlugin:Zi,removePlugin:Yl}),A.debugMode=function(){Xe=!1},A.safeMode=function(){Xe=!0},A.versionString=Gl,A.regex={concat:g,lookahead:_,either:h,optional:f,anyNumberOfTimes:m};for(const K in pe)typeof pe[K]=="object"&&e(pe[K]);return Object.assign(A,pe),A},Zn=ui({});return Zn.newInstance=()=>ui({}),Ud=Zn,Zn.HighlightJS=Zn,Zn.default=Zn,Ud}var yI=CI();const vI=qu(yI),jm={},RI="hljs-";function Qm(e){const t=vI.newInstance();return e&&a(e),{highlight:n,highlightAuto:r,listLanguages:i,register:a,registerAlias:o,registered:s};function n(l,c,u){const d=u||jm,_=typeof d.prefix=="string"?d.prefix:RI;if(!t.getLanguage(l))throw new Error("Unknown language: `"+l+"` is not registered");t.configure({__emitter:NI,classPrefix:_});const m=t.highlight(c,{ignoreIllegals:!0,language:l});if(m.errorRaised)throw new Error("Could not highlight with `Highlight.js`",{cause:m.errorRaised});const f=m._emitter.root,g=f.data;return g.language=m.language,g.relevance=m.relevance,f}function r(l,c){const d=(c||jm).subset||i();let _=-1,m=0,f;for(;++_<d.length;){const g=d[_];if(!t.getLanguage(g))continue;const E=n(g,l,c);E.data&&E.data.relevance!==void 0&&E.data.relevance>m&&(m=E.data.relevance,f=E)}return f||{type:"root",children:[],data:{language:void 0,relevance:m}}}function i(){return t.listLanguages()}function a(l,c){if(typeof l=="string")t.registerLanguage(l,c);else{let u;for(u in l)Object.hasOwn(l,u)&&t.registerLanguage(u,l[u])}}function o(l,c){if(typeof l=="string")t.registerAliases(typeof c=="string"?c:[...c],{languageName:l});else{let u;for(u in l)if(Object.hasOwn(l,u)){const d=l[u];t.registerAliases(typeof d=="string"?d:[...d],{languageName:u})}}}function s(l){return!!t.getLanguage(l)}}class NI{constructor(t){this.options=t,this.root={type:"root",children:[],data:{language:void 0,relevance:0}},this.stack=[this.root]}addText(t){if(t==="")return;const n=this.stack[this.stack.length-1],r=n.children[n.children.length-1];r&&r.type==="text"?r.value+=t:n.children.push({type:"text",value:t})}startScope(t){this.openNode(String(t))}endScope(){this.closeNode()}__addSublanguage(t,n){const r=this.stack[this.stack.length-1],i=t.root.children;n?r.children.push({type:"element",tagName:"span",properties:{className:[n]},children:i}):r.children.push(...i)}openNode(t){const n=this,r=t.split(".").map(function(o,s){return s?o+"_".repeat(s):n.options.classPrefix+o}),i=this.stack[this.stack.length-1],a={type:"element",tagName:"span",properties:{className:r},children:[]};i.children.push(a),this.stack.push(a)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return""}}const Xm=e=>e,OI=(()=>{let e=Xm;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Xm}}})();function kr(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(r=>n.searchParams.append("args[]",r)),`Minified MUI error #${e}; visit ${n} for the full message.`}function ri(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":kr(7));return e.charAt(0).toUpperCase()+e.slice(1)}var $s={exports:{}},Ws={exports:{}},Le={};/** @license React v16.13.1
|
|
65
|
-
|
|
66
|
-
*
|
|
67
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
68
|
-
*
|
|
69
|
-
* This source code is licensed under the MIT license found in the
|
|
70
|
-
* LICENSE file in the root directory of this source tree.
|
|
71
|
-
*/var Zm;function AI(){if(Zm)return Le;Zm=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,_=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,f=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,h=e?Symbol.for("react.responder"):60118,S=e?Symbol.for("react.scope"):60119;function T(b){if(typeof b=="object"&&b!==null){var v=b.$$typeof;switch(v){case t:switch(b=b.type,b){case l:case c:case r:case a:case i:case d:return b;default:switch(b=b&&b.$$typeof,b){case s:case u:case f:case m:case o:return b;default:return v}}case n:return v}}}function y(b){return T(b)===c}return Le.AsyncMode=l,Le.ConcurrentMode=c,Le.ContextConsumer=s,Le.ContextProvider=o,Le.Element=t,Le.ForwardRef=u,Le.Fragment=r,Le.Lazy=f,Le.Memo=m,Le.Portal=n,Le.Profiler=a,Le.StrictMode=i,Le.Suspense=d,Le.isAsyncMode=function(b){return y(b)||T(b)===l},Le.isConcurrentMode=y,Le.isContextConsumer=function(b){return T(b)===s},Le.isContextProvider=function(b){return T(b)===o},Le.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===t},Le.isForwardRef=function(b){return T(b)===u},Le.isFragment=function(b){return T(b)===r},Le.isLazy=function(b){return T(b)===f},Le.isMemo=function(b){return T(b)===m},Le.isPortal=function(b){return T(b)===n},Le.isProfiler=function(b){return T(b)===a},Le.isStrictMode=function(b){return T(b)===i},Le.isSuspense=function(b){return T(b)===d},Le.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===r||b===c||b===a||b===i||b===d||b===_||typeof b=="object"&&b!==null&&(b.$$typeof===f||b.$$typeof===m||b.$$typeof===o||b.$$typeof===s||b.$$typeof===u||b.$$typeof===E||b.$$typeof===h||b.$$typeof===S||b.$$typeof===g)},Le.typeOf=T,Le}var Pe={};/** @license React v16.13.1
|
|
72
|
-
* react-is.development.js
|
|
73
|
-
*
|
|
74
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
75
|
-
*
|
|
76
|
-
* This source code is licensed under the MIT license found in the
|
|
77
|
-
* LICENSE file in the root directory of this source tree.
|
|
78
|
-
*/var Jm;function II(){return Jm||(Jm=1,process.env.NODE_ENV!=="production"&&(function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,_=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,f=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,h=e?Symbol.for("react.responder"):60118,S=e?Symbol.for("react.scope"):60119;function T(Q){return typeof Q=="string"||typeof Q=="function"||Q===r||Q===c||Q===a||Q===i||Q===d||Q===_||typeof Q=="object"&&Q!==null&&(Q.$$typeof===f||Q.$$typeof===m||Q.$$typeof===o||Q.$$typeof===s||Q.$$typeof===u||Q.$$typeof===E||Q.$$typeof===h||Q.$$typeof===S||Q.$$typeof===g)}function y(Q){if(typeof Q=="object"&&Q!==null){var Ke=Q.$$typeof;switch(Ke){case t:var Ot=Q.type;switch(Ot){case l:case c:case r:case a:case i:case d:return Ot;default:var yt=Ot&&Ot.$$typeof;switch(yt){case s:case u:case f:case m:case o:return yt;default:return Ke}}case n:return Ke}}}var b=l,v=c,w=s,P=o,M=t,k=u,G=r,C=f,x=m,O=n,R=a,L=i,B=d,V=!1;function D(Q){return V||(V=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),U(Q)||y(Q)===l}function U(Q){return y(Q)===c}function z(Q){return y(Q)===s}function X(Q){return y(Q)===o}function re(Q){return typeof Q=="object"&&Q!==null&&Q.$$typeof===t}function ie(Q){return y(Q)===u}function ue(Q){return y(Q)===r}function ae(Q){return y(Q)===f}function le(Q){return y(Q)===m}function de(Q){return y(Q)===n}function me(Q){return y(Q)===a}function pe(Q){return y(Q)===i}function Ue(Q){return y(Q)===d}Pe.AsyncMode=b,Pe.ConcurrentMode=v,Pe.ContextConsumer=w,Pe.ContextProvider=P,Pe.Element=M,Pe.ForwardRef=k,Pe.Fragment=G,Pe.Lazy=C,Pe.Memo=x,Pe.Portal=O,Pe.Profiler=R,Pe.StrictMode=L,Pe.Suspense=B,Pe.isAsyncMode=D,Pe.isConcurrentMode=U,Pe.isContextConsumer=z,Pe.isContextProvider=X,Pe.isElement=re,Pe.isForwardRef=ie,Pe.isFragment=ue,Pe.isLazy=ae,Pe.isMemo=le,Pe.isPortal=de,Pe.isProfiler=me,Pe.isStrictMode=pe,Pe.isSuspense=Ue,Pe.isValidElementType=T,Pe.typeOf=y})()),Pe}var eg;function tg(){return eg||(eg=1,process.env.NODE_ENV==="production"?Ws.exports=AI():Ws.exports=II()),Ws.exports}/*
|
|
79
|
-
object-assign
|
|
80
|
-
(c) Sindre Sorhus
|
|
81
|
-
@license MIT
|
|
82
|
-
*/var Fd,ng;function xI(){if(ng)return Fd;ng=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(a){if(a==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function i(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de",Object.getOwnPropertyNames(a)[0]==="5")return!1;for(var o={},s=0;s<10;s++)o["_"+String.fromCharCode(s)]=s;var l=Object.getOwnPropertyNames(o).map(function(u){return o[u]});if(l.join("")!=="0123456789")return!1;var c={};return"abcdefghijklmnopqrst".split("").forEach(function(u){c[u]=u}),Object.keys(Object.assign({},c)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Fd=i()?Object.assign:function(a,o){for(var s,l=r(a),c,u=1;u<arguments.length;u++){s=Object(arguments[u]);for(var d in s)t.call(s,d)&&(l[d]=s[d]);if(e){c=e(s);for(var _=0;_<c.length;_++)n.call(s,c[_])&&(l[c[_]]=s[c[_]])}}return l},Fd}var Bd,rg;function Gd(){if(rg)return Bd;rg=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Bd=e,Bd}var Hd,ig;function ag(){return ig||(ig=1,Hd=Function.call.bind(Object.prototype.hasOwnProperty)),Hd}var Yd,og;function wI(){if(og)return Yd;og=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Gd(),n={},r=ag();e=function(a){var o="Warning: "+a;typeof console<"u"&&console.error(o);try{throw new Error(o)}catch{}}}function i(a,o,s,l,c){if(process.env.NODE_ENV!=="production"){for(var u in a)if(r(a,u)){var d;try{if(typeof a[u]!="function"){var _=Error((l||"React class")+": "+s+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw _.name="Invariant Violation",_}d=a[u](o,u,l,s,null,t)}catch(f){d=f}if(d&&!(d instanceof Error)&&e((l||"React class")+": type specification of "+s+" `"+u+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof d+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),d instanceof Error&&!(d.message in n)){n[d.message]=!0;var m=c?c():"";e("Failed "+s+" type: "+d.message+(m??""))}}}}return i.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},Yd=i,Yd}var zd,sg;function DI(){if(sg)return zd;sg=1;var e=tg(),t=xI(),n=Gd(),r=ag(),i=wI(),a=function(){};process.env.NODE_ENV!=="production"&&(a=function(s){var l="Warning: "+s;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}});function o(){return null}return zd=function(s,l){var c=typeof Symbol=="function"&&Symbol.iterator,u="@@iterator";function d(U){var z=U&&(c&&U[c]||U[u]);if(typeof z=="function")return z}var _="<<anonymous>>",m={array:h("array"),bigint:h("bigint"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),string:h("string"),symbol:h("symbol"),any:S(),arrayOf:T,element:y(),elementType:b(),instanceOf:v,node:k(),objectOf:P,oneOf:w,oneOfType:M,shape:C,exact:x};function f(U,z){return U===z?U!==0||1/U===1/z:U!==U&&z!==z}function g(U,z){this.message=U,this.data=z&&typeof z=="object"?z:{},this.stack=""}g.prototype=Error.prototype;function E(U){if(process.env.NODE_ENV!=="production")var z={},X=0;function re(ue,ae,le,de,me,pe,Ue){if(de=de||_,pe=pe||le,Ue!==n){if(l){var Q=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw Q.name="Invariant Violation",Q}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Ke=de+":"+le;!z[Ke]&&X<3&&(a("You are manually calling a React.PropTypes validation function for the `"+pe+"` prop on `"+de+"`. 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."),z[Ke]=!0,X++)}}return ae[le]==null?ue?ae[le]===null?new g("The "+me+" `"+pe+"` is marked as required "+("in `"+de+"`, but its value is `null`.")):new g("The "+me+" `"+pe+"` is marked as required in "+("`"+de+"`, but its value is `undefined`.")):null:U(ae,le,de,me,pe)}var ie=re.bind(null,!1);return ie.isRequired=re.bind(null,!0),ie}function h(U){function z(X,re,ie,ue,ae,le){var de=X[re],me=L(de);if(me!==U){var pe=B(de);return new g("Invalid "+ue+" `"+ae+"` of type "+("`"+pe+"` supplied to `"+ie+"`, expected ")+("`"+U+"`."),{expectedType:U})}return null}return E(z)}function S(){return E(o)}function T(U){function z(X,re,ie,ue,ae){if(typeof U!="function")return new g("Property `"+ae+"` of component `"+ie+"` has invalid PropType notation inside arrayOf.");var le=X[re];if(!Array.isArray(le)){var de=L(le);return new g("Invalid "+ue+" `"+ae+"` of type "+("`"+de+"` supplied to `"+ie+"`, expected an array."))}for(var me=0;me<le.length;me++){var pe=U(le,me,ie,ue,ae+"["+me+"]",n);if(pe instanceof Error)return pe}return null}return E(z)}function y(){function U(z,X,re,ie,ue){var ae=z[X];if(!s(ae)){var le=L(ae);return new g("Invalid "+ie+" `"+ue+"` of type "+("`"+le+"` supplied to `"+re+"`, expected a single ReactElement."))}return null}return E(U)}function b(){function U(z,X,re,ie,ue){var ae=z[X];if(!e.isValidElementType(ae)){var le=L(ae);return new g("Invalid "+ie+" `"+ue+"` of type "+("`"+le+"` supplied to `"+re+"`, expected a single ReactElement type."))}return null}return E(U)}function v(U){function z(X,re,ie,ue,ae){if(!(X[re]instanceof U)){var le=U.name||_,de=D(X[re]);return new g("Invalid "+ue+" `"+ae+"` of type "+("`"+de+"` supplied to `"+ie+"`, expected ")+("instance of `"+le+"`."))}return null}return E(z)}function w(U){if(!Array.isArray(U))return process.env.NODE_ENV!=="production"&&(arguments.length>1?a("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):a("Invalid argument supplied to oneOf, expected an array.")),o;function z(X,re,ie,ue,ae){for(var le=X[re],de=0;de<U.length;de++)if(f(le,U[de]))return null;var me=JSON.stringify(U,function(Ue,Q){var Ke=B(Q);return Ke==="symbol"?String(Q):Q});return new g("Invalid "+ue+" `"+ae+"` of value `"+String(le)+"` "+("supplied to `"+ie+"`, expected one of "+me+"."))}return E(z)}function P(U){function z(X,re,ie,ue,ae){if(typeof U!="function")return new g("Property `"+ae+"` of component `"+ie+"` has invalid PropType notation inside objectOf.");var le=X[re],de=L(le);if(de!=="object")return new g("Invalid "+ue+" `"+ae+"` of type "+("`"+de+"` supplied to `"+ie+"`, expected an object."));for(var me in le)if(r(le,me)){var pe=U(le,me,ie,ue,ae+"."+me,n);if(pe instanceof Error)return pe}return null}return E(z)}function M(U){if(!Array.isArray(U))return process.env.NODE_ENV!=="production"&&a("Invalid argument supplied to oneOfType, expected an instance of array."),o;for(var z=0;z<U.length;z++){var X=U[z];if(typeof X!="function")return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+V(X)+" at index "+z+"."),o}function re(ie,ue,ae,le,de){for(var me=[],pe=0;pe<U.length;pe++){var Ue=U[pe],Q=Ue(ie,ue,ae,le,de,n);if(Q==null)return null;Q.data&&r(Q.data,"expectedType")&&me.push(Q.data.expectedType)}var Ke=me.length>0?", expected one of type ["+me.join(", ")+"]":"";return new g("Invalid "+le+" `"+de+"` supplied to "+("`"+ae+"`"+Ke+"."))}return E(re)}function k(){function U(z,X,re,ie,ue){return O(z[X])?null:new g("Invalid "+ie+" `"+ue+"` supplied to "+("`"+re+"`, expected a ReactNode."))}return E(U)}function G(U,z,X,re,ie){return new g((U||"React class")+": "+z+" type `"+X+"."+re+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+ie+"`.")}function C(U){function z(X,re,ie,ue,ae){var le=X[re],de=L(le);if(de!=="object")return new g("Invalid "+ue+" `"+ae+"` of type `"+de+"` "+("supplied to `"+ie+"`, expected `object`."));for(var me in U){var pe=U[me];if(typeof pe!="function")return G(ie,ue,ae,me,B(pe));var Ue=pe(le,me,ie,ue,ae+"."+me,n);if(Ue)return Ue}return null}return E(z)}function x(U){function z(X,re,ie,ue,ae){var le=X[re],de=L(le);if(de!=="object")return new g("Invalid "+ue+" `"+ae+"` of type `"+de+"` "+("supplied to `"+ie+"`, expected `object`."));var me=t({},X[re],U);for(var pe in me){var Ue=U[pe];if(r(U,pe)&&typeof Ue!="function")return G(ie,ue,ae,pe,B(Ue));if(!Ue)return new g("Invalid "+ue+" `"+ae+"` key `"+pe+"` supplied to `"+ie+"`.\nBad object: "+JSON.stringify(X[re],null," ")+`
|
|
83
|
-
Valid keys: `+JSON.stringify(Object.keys(U),null," "));var Q=Ue(le,pe,ie,ue,ae+"."+pe,n);if(Q)return Q}return null}return E(z)}function O(U){switch(typeof U){case"number":case"string":case"undefined":return!0;case"boolean":return!U;case"object":if(Array.isArray(U))return U.every(O);if(U===null||s(U))return!0;var z=d(U);if(z){var X=z.call(U),re;if(z!==U.entries){for(;!(re=X.next()).done;)if(!O(re.value))return!1}else for(;!(re=X.next()).done;){var ie=re.value;if(ie&&!O(ie[1]))return!1}}else return!1;return!0;default:return!1}}function R(U,z){return U==="symbol"?!0:z?z["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&z instanceof Symbol:!1}function L(U){var z=typeof U;return Array.isArray(U)?"array":U instanceof RegExp?"object":R(z,U)?"symbol":z}function B(U){if(typeof U>"u"||U===null)return""+U;var z=L(U);if(z==="object"){if(U instanceof Date)return"date";if(U instanceof RegExp)return"regexp"}return z}function V(U){var z=B(U);switch(z){case"array":case"object":return"an "+z;case"boolean":case"date":case"regexp":return"a "+z;default:return z}}function D(U){return!U.constructor||!U.constructor.name?_:U.constructor.name}return m.checkPropTypes=i,m.resetWarningCache=i.resetWarningCache,m.PropTypes=m,m},zd}var Vd,lg;function MI(){if(lg)return Vd;lg=1;var e=Gd();function t(){}function n(){}return n.resetWarningCache=t,Vd=function(){function r(o,s,l,c,u,d){if(d!==e){var _=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw _.name="Invariant Violation",_}}r.isRequired=r;function i(){return r}var a={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return a.PropTypes=a,a},Vd}var cg;function dg(){if(cg)return $s.exports;if(cg=1,process.env.NODE_ENV!=="production"){var e=tg(),t=!0;$s.exports=DI()(e.isElement,t)}else $s.exports=MI()();return $s.exports}var kI=dg();const xe=qu(kI);function ug(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=ug(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function _g(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=ug(e))&&(r&&(r+=" "),r+=t);return r}function LI(e,t,n=void 0){const r={};for(const i in e){const a=e[i];let o="",s=!0;for(let l=0;l<a.length;l+=1){const c=a[l];c&&(o+=(s===!0?"":" ")+t(c),s=!1,n&&n[c]&&(o+=" "+n[c]))}r[i]=o}return r}var qs={exports:{}},Ve={};/**
|
|
84
|
-
* @license React
|
|
85
|
-
* react-is.production.js
|
|
86
|
-
*
|
|
87
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
88
|
-
*
|
|
89
|
-
* This source code is licensed under the MIT license found in the
|
|
90
|
-
* LICENSE file in the root directory of this source tree.
|
|
91
|
-
*/var pg;function PI(){if(pg)return Ve;pg=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),o=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),_=Symbol.for("react.view_transition"),m=Symbol.for("react.client.reference");function f(g){if(typeof g=="object"&&g!==null){var E=g.$$typeof;switch(E){case e:switch(g=g.type,g){case n:case i:case r:case l:case c:case _:return g;default:switch(g=g&&g.$$typeof,g){case o:case s:case d:case u:return g;case a:return g;default:return E}}case t:return E}}}return Ve.ContextConsumer=a,Ve.ContextProvider=o,Ve.Element=e,Ve.ForwardRef=s,Ve.Fragment=n,Ve.Lazy=d,Ve.Memo=u,Ve.Portal=t,Ve.Profiler=i,Ve.StrictMode=r,Ve.Suspense=l,Ve.SuspenseList=c,Ve.isContextConsumer=function(g){return f(g)===a},Ve.isContextProvider=function(g){return f(g)===o},Ve.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===e},Ve.isForwardRef=function(g){return f(g)===s},Ve.isFragment=function(g){return f(g)===n},Ve.isLazy=function(g){return f(g)===d},Ve.isMemo=function(g){return f(g)===u},Ve.isPortal=function(g){return f(g)===t},Ve.isProfiler=function(g){return f(g)===i},Ve.isStrictMode=function(g){return f(g)===r},Ve.isSuspense=function(g){return f(g)===l},Ve.isSuspenseList=function(g){return f(g)===c},Ve.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===n||g===i||g===r||g===l||g===c||typeof g=="object"&&g!==null&&(g.$$typeof===d||g.$$typeof===u||g.$$typeof===o||g.$$typeof===a||g.$$typeof===s||g.$$typeof===m||g.getModuleId!==void 0)},Ve.typeOf=f,Ve}var $e={};/**
|
|
92
|
-
* @license React
|
|
93
|
-
* react-is.development.js
|
|
94
|
-
*
|
|
95
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
96
|
-
*
|
|
97
|
-
* This source code is licensed under the MIT license found in the
|
|
98
|
-
* LICENSE file in the root directory of this source tree.
|
|
99
|
-
*/var mg;function UI(){return mg||(mg=1,process.env.NODE_ENV!=="production"&&(function(){function e(g){if(typeof g=="object"&&g!==null){var E=g.$$typeof;switch(E){case t:switch(g=g.type,g){case r:case a:case i:case c:case u:case m:return g;default:switch(g=g&&g.$$typeof,g){case s:case l:case _:case d:return g;case o:return g;default:return E}}case n:return E}}}var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),m=Symbol.for("react.view_transition"),f=Symbol.for("react.client.reference");$e.ContextConsumer=o,$e.ContextProvider=s,$e.Element=t,$e.ForwardRef=l,$e.Fragment=r,$e.Lazy=_,$e.Memo=d,$e.Portal=n,$e.Profiler=a,$e.StrictMode=i,$e.Suspense=c,$e.SuspenseList=u,$e.isContextConsumer=function(g){return e(g)===o},$e.isContextProvider=function(g){return e(g)===s},$e.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===t},$e.isForwardRef=function(g){return e(g)===l},$e.isFragment=function(g){return e(g)===r},$e.isLazy=function(g){return e(g)===_},$e.isMemo=function(g){return e(g)===d},$e.isPortal=function(g){return e(g)===n},$e.isProfiler=function(g){return e(g)===a},$e.isStrictMode=function(g){return e(g)===i},$e.isSuspense=function(g){return e(g)===c},$e.isSuspenseList=function(g){return e(g)===u},$e.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===r||g===a||g===i||g===c||g===u||typeof g=="object"&&g!==null&&(g.$$typeof===_||g.$$typeof===d||g.$$typeof===s||g.$$typeof===o||g.$$typeof===l||g.$$typeof===f||g.getModuleId!==void 0)},$e.typeOf=e})()),$e}var gg;function FI(){return gg||(gg=1,process.env.NODE_ENV==="production"?qs.exports=PI():qs.exports=UI()),qs.exports}var Ks=FI();function gr(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function fg(e){if(It.isValidElement(e)||Ks.isValidElementType(e)||!gr(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=fg(e[n])}),t}function tn(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return gr(e)&&gr(t)&&Object.keys(t).forEach(i=>{It.isValidElement(t[i])||Ks.isValidElementType(t[i])?r[i]=t[i]:gr(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&gr(e[i])?r[i]=tn(e[i],t[i],n):n.clone?r[i]=gr(t[i])?fg(t[i]):t[i]:r[i]=t[i]}),r}function Va(e,t){return t?tn(e,t,{clone:!1}):e}const Lr=process.env.NODE_ENV!=="production"?xe.oneOfType([xe.number,xe.string,xe.object,xe.array]):{};function Eg(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter(r=>r.startsWith("@container")).sort((r,i)=>{const a=/min-width:\s*([0-9.]+)/;return+(r.match(a)?.[1]||0)-+(i.match(a)?.[1]||0)});return n.length?n.reduce((r,i)=>{const a=t[i];return delete r[i],r[i]=a,r},{...t}):t}function BI(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function GI(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n){if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
|
|
48
|
+
`,1;if(mo>1e5&&mo>se.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Ye+=Te,Te.length}const hn=dt(K);if(!hn)throw Ut(et.replace("{}",K)),new Error('Unknown language: "'+K+'"');const zu=Fl(hn);let po="",he=qe||zu;const Vl={},Ct=new ne.__emitter(ne);JE();let Ye="",pi=0,Tr=0,mo=0,ea=!1;try{if(hn.__emitTokens)hn.__emitTokens(_e,Ct);else{for(he.matcher.considerAll();;){mo++,ea?ea=!1:he.matcher.considerAll(),he.matcher.lastIndex=Tr;const ee=he.matcher.exec(_e);if(!ee)break;const se=_e.substring(Tr,ee.index),Te=zl(se,ee);Tr=ee.index+Te}zl(_e.substring(Tr))}return Ct.finalize(),po=Ct.toHTML(),{language:K,value:po,relevance:pi,illegal:!1,_emitter:Ct,_top:he}}catch(ee){if(ee.message&&ee.message.includes("Illegal"))return{language:K,value:zr(_e),illegal:!0,relevance:0,_illegalBy:{message:ee.message,index:Tr,context:_e.slice(Tr-100,Tr+100),mode:ee.mode,resultSoFar:po},_emitter:Ct};if(Xe)return{language:K,value:zr(_e),illegal:!1,relevance:0,errorRaised:ee,_emitter:Ct,_top:he};throw ee}}function Xi(K){const _e={value:zr(K),illegal:!1,relevance:0,_top:oe,_emitter:new ne.__emitter(ne)};return _e._emitter.addText(K),_e}function N(K,_e){_e=_e||ne.languages||Object.keys(H);const Re=Xi(K),qe=_e.filter(dt).filter(wn).map(Qt=>Vr(Qt,K,!1));qe.unshift(Re);const Tt=qe.sort((Qt,Dn)=>{if(Qt.relevance!==Dn.relevance)return Dn.relevance-Qt.relevance;if(Qt.language&&Dn.language){if(dt(Qt.language).supersetOf===Dn.language)return 1;if(dt(Dn.language).supersetOf===Qt.language)return-1}return 0}),[En,br]=Tt,_o=En;return _o.secondBest=br,_o}function $(K,_e,Re){const qe=_e&&J[_e]||Re;K.classList.add("hljs"),K.classList.add(`language-${qe}`)}function te(K){let _e=null;const Re=gt(K);if(ge(Re))return;if(_i("before:highlightElement",{el:K,language:Re}),K.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",K);return}if(K.children.length>0&&(ne.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(K)),ne.throwUnescapedHTML))throw new Hl("One of your code blocks includes unescaped HTML.",K.innerHTML);_e=K;const qe=_e.textContent,Tt=Re?rt(qe,{language:Re,ignoreIllegals:!0}):N(qe);K.innerHTML=Tt.value,K.dataset.highlighted="yes",$(K,Re,Tt.language),K.result={language:Tt.language,re:Tt.relevance,relevance:Tt.relevance},Tt.secondBest&&(K.secondBest={language:Tt.secondBest.language,relevance:Tt.secondBest.relevance}),_i("after:highlightElement",{el:K,result:Tt,text:qe})}function fe(K){ne=ji(ne,K)}const Ie=()=>{be(),Qn("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function Fe(){be(),Qn("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let ve=!1;function be(){function K(){be()}if(document.readyState==="loading"){ve||window.addEventListener("DOMContentLoaded",K,!1),ve=!0;return}document.querySelectorAll(ne.cssSelector).forEach(te)}function At(K,_e){let Re=null;try{Re=_e(A)}catch(qe){if(Ut("Language definition for '{}' could not be registered.".replace("{}",K)),Xe)Ut(qe);else throw qe;Re=oe}Re.name||(Re.name=K),H[K]=Re,Re.rawDefinition=_e.bind(null,A),Re.aliases&&Jn(Re.aliases,{languageName:K})}function tt(K){delete H[K];for(const _e of Object.keys(J))J[_e]===K&&delete J[_e]}function it(){return Object.keys(H)}function dt(K){return K=(K||"").toLowerCase(),H[K]||H[J[K]]}function Jn(K,{languageName:_e}){typeof K=="string"&&(K=[K]),K.forEach(Re=>{J[Re.toLowerCase()]=_e})}function wn(K){const _e=dt(K);return _e&&!_e.disableAutodetect}function Dt(K){K["before:highlightBlock"]&&!K["before:highlightElement"]&&(K["before:highlightElement"]=_e=>{K["before:highlightBlock"](Object.assign({block:_e.el},_e))}),K["after:highlightBlock"]&&!K["after:highlightElement"]&&(K["after:highlightElement"]=_e=>{K["after:highlightBlock"](Object.assign({block:_e.el},_e))})}function Zi(K){Dt(K),Ee.push(K)}function Yl(K){const _e=Ee.indexOf(K);_e!==-1&&Ee.splice(_e,1)}function _i(K,_e){const Re=K;Ee.forEach(function(qe){qe[Re]&&qe[Re](_e)})}function jE(K){return Qn("10.7.0","highlightBlock will be removed entirely in v12.0"),Qn("10.7.0","Please use highlightElement now."),te(K)}Object.assign(A,{highlight:rt,highlightAuto:N,highlightAll:be,highlightElement:te,highlightBlock:jE,configure:fe,initHighlighting:Ie,initHighlightingOnLoad:Fe,registerLanguage:At,unregisterLanguage:tt,listLanguages:it,getLanguage:dt,registerAliases:Jn,autoDetection:wn,inherit:ji,addPlugin:Zi,removePlugin:Yl}),A.debugMode=function(){Xe=!1},A.safeMode=function(){Xe=!0},A.versionString=Gl,A.regex={concat:g,lookahead:_,either:h,optional:f,anyNumberOfTimes:m};for(const K in pe)typeof pe[K]=="object"&&e(pe[K]);return Object.assign(A,pe),A},Zn=ui({});return Zn.newInstance=()=>ui({}),Ud=Zn,Zn.HighlightJS=Zn,Zn.default=Zn,Ud}var yI=CI();const vI=qu(yI),jm={},RI="hljs-";function Qm(e){const t=vI.newInstance();return e&&a(e),{highlight:n,highlightAuto:r,listLanguages:i,register:a,registerAlias:o,registered:s};function n(l,c,u){const d=u||jm,_=typeof d.prefix=="string"?d.prefix:RI;if(!t.getLanguage(l))throw new Error("Unknown language: `"+l+"` is not registered");t.configure({__emitter:NI,classPrefix:_});const m=t.highlight(c,{ignoreIllegals:!0,language:l});if(m.errorRaised)throw new Error("Could not highlight with `Highlight.js`",{cause:m.errorRaised});const f=m._emitter.root,g=f.data;return g.language=m.language,g.relevance=m.relevance,f}function r(l,c){const d=(c||jm).subset||i();let _=-1,m=0,f;for(;++_<d.length;){const g=d[_];if(!t.getLanguage(g))continue;const E=n(g,l,c);E.data&&E.data.relevance!==void 0&&E.data.relevance>m&&(m=E.data.relevance,f=E)}return f||{type:"root",children:[],data:{language:void 0,relevance:m}}}function i(){return t.listLanguages()}function a(l,c){if(typeof l=="string")t.registerLanguage(l,c);else{let u;for(u in l)Object.hasOwn(l,u)&&t.registerLanguage(u,l[u])}}function o(l,c){if(typeof l=="string")t.registerAliases(typeof c=="string"?c:[...c],{languageName:l});else{let u;for(u in l)if(Object.hasOwn(l,u)){const d=l[u];t.registerAliases(typeof d=="string"?d:[...d],{languageName:u})}}}function s(l){return!!t.getLanguage(l)}}class NI{constructor(t){this.options=t,this.root={type:"root",children:[],data:{language:void 0,relevance:0}},this.stack=[this.root]}addText(t){if(t==="")return;const n=this.stack[this.stack.length-1],r=n.children[n.children.length-1];r&&r.type==="text"?r.value+=t:n.children.push({type:"text",value:t})}startScope(t){this.openNode(String(t))}endScope(){this.closeNode()}__addSublanguage(t,n){const r=this.stack[this.stack.length-1],i=t.root.children;n?r.children.push({type:"element",tagName:"span",properties:{className:[n]},children:i}):r.children.push(...i)}openNode(t){const n=this,r=t.split(".").map(function(o,s){return s?o+"_".repeat(s):n.options.classPrefix+o}),i=this.stack[this.stack.length-1],a={type:"element",tagName:"span",properties:{className:r},children:[]};i.children.push(a),this.stack.push(a)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return""}}const Xm=e=>e,OI=(()=>{let e=Xm;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Xm}}})();function kr(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(r=>n.searchParams.append("args[]",r)),`Minified MUI error #${e}; visit ${n} for the full message.`}function ri(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":kr(7));return e.charAt(0).toUpperCase()+e.slice(1)}var $s={exports:{}},Ws={exports:{}},Le={};var Zm;function AI(){if(Zm)return Le;Zm=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,_=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,f=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,h=e?Symbol.for("react.responder"):60118,S=e?Symbol.for("react.scope"):60119;function T(b){if(typeof b=="object"&&b!==null){var v=b.$$typeof;switch(v){case t:switch(b=b.type,b){case l:case c:case r:case a:case i:case d:return b;default:switch(b=b&&b.$$typeof,b){case s:case u:case f:case m:case o:return b;default:return v}}case n:return v}}}function y(b){return T(b)===c}return Le.AsyncMode=l,Le.ConcurrentMode=c,Le.ContextConsumer=s,Le.ContextProvider=o,Le.Element=t,Le.ForwardRef=u,Le.Fragment=r,Le.Lazy=f,Le.Memo=m,Le.Portal=n,Le.Profiler=a,Le.StrictMode=i,Le.Suspense=d,Le.isAsyncMode=function(b){return y(b)||T(b)===l},Le.isConcurrentMode=y,Le.isContextConsumer=function(b){return T(b)===s},Le.isContextProvider=function(b){return T(b)===o},Le.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===t},Le.isForwardRef=function(b){return T(b)===u},Le.isFragment=function(b){return T(b)===r},Le.isLazy=function(b){return T(b)===f},Le.isMemo=function(b){return T(b)===m},Le.isPortal=function(b){return T(b)===n},Le.isProfiler=function(b){return T(b)===a},Le.isStrictMode=function(b){return T(b)===i},Le.isSuspense=function(b){return T(b)===d},Le.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===r||b===c||b===a||b===i||b===d||b===_||typeof b=="object"&&b!==null&&(b.$$typeof===f||b.$$typeof===m||b.$$typeof===o||b.$$typeof===s||b.$$typeof===u||b.$$typeof===E||b.$$typeof===h||b.$$typeof===S||b.$$typeof===g)},Le.typeOf=T,Le}var Pe={};var Jm;function II(){return Jm||(Jm=1,process.env.NODE_ENV!=="production"&&(function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,_=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,f=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,h=e?Symbol.for("react.responder"):60118,S=e?Symbol.for("react.scope"):60119;function T(Q){return typeof Q=="string"||typeof Q=="function"||Q===r||Q===c||Q===a||Q===i||Q===d||Q===_||typeof Q=="object"&&Q!==null&&(Q.$$typeof===f||Q.$$typeof===m||Q.$$typeof===o||Q.$$typeof===s||Q.$$typeof===u||Q.$$typeof===E||Q.$$typeof===h||Q.$$typeof===S||Q.$$typeof===g)}function y(Q){if(typeof Q=="object"&&Q!==null){var Ke=Q.$$typeof;switch(Ke){case t:var Ot=Q.type;switch(Ot){case l:case c:case r:case a:case i:case d:return Ot;default:var yt=Ot&&Ot.$$typeof;switch(yt){case s:case u:case f:case m:case o:return yt;default:return Ke}}case n:return Ke}}}var b=l,v=c,w=s,P=o,M=t,k=u,G=r,C=f,x=m,O=n,R=a,L=i,B=d,V=!1;function D(Q){return V||(V=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),U(Q)||y(Q)===l}function U(Q){return y(Q)===c}function z(Q){return y(Q)===s}function X(Q){return y(Q)===o}function re(Q){return typeof Q=="object"&&Q!==null&&Q.$$typeof===t}function ie(Q){return y(Q)===u}function ue(Q){return y(Q)===r}function ae(Q){return y(Q)===f}function le(Q){return y(Q)===m}function de(Q){return y(Q)===n}function me(Q){return y(Q)===a}function pe(Q){return y(Q)===i}function Ue(Q){return y(Q)===d}Pe.AsyncMode=b,Pe.ConcurrentMode=v,Pe.ContextConsumer=w,Pe.ContextProvider=P,Pe.Element=M,Pe.ForwardRef=k,Pe.Fragment=G,Pe.Lazy=C,Pe.Memo=x,Pe.Portal=O,Pe.Profiler=R,Pe.StrictMode=L,Pe.Suspense=B,Pe.isAsyncMode=D,Pe.isConcurrentMode=U,Pe.isContextConsumer=z,Pe.isContextProvider=X,Pe.isElement=re,Pe.isForwardRef=ie,Pe.isFragment=ue,Pe.isLazy=ae,Pe.isMemo=le,Pe.isPortal=de,Pe.isProfiler=me,Pe.isStrictMode=pe,Pe.isSuspense=Ue,Pe.isValidElementType=T,Pe.typeOf=y})()),Pe}var eg;function tg(){return eg||(eg=1,process.env.NODE_ENV==="production"?Ws.exports=AI():Ws.exports=II()),Ws.exports}var Fd,ng;function xI(){if(ng)return Fd;ng=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(a){if(a==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function i(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de",Object.getOwnPropertyNames(a)[0]==="5")return!1;for(var o={},s=0;s<10;s++)o["_"+String.fromCharCode(s)]=s;var l=Object.getOwnPropertyNames(o).map(function(u){return o[u]});if(l.join("")!=="0123456789")return!1;var c={};return"abcdefghijklmnopqrst".split("").forEach(function(u){c[u]=u}),Object.keys(Object.assign({},c)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Fd=i()?Object.assign:function(a,o){for(var s,l=r(a),c,u=1;u<arguments.length;u++){s=Object(arguments[u]);for(var d in s)t.call(s,d)&&(l[d]=s[d]);if(e){c=e(s);for(var _=0;_<c.length;_++)n.call(s,c[_])&&(l[c[_]]=s[c[_]])}}return l},Fd}var Bd,rg;function Gd(){if(rg)return Bd;rg=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Bd=e,Bd}var Hd,ig;function ag(){return ig||(ig=1,Hd=Function.call.bind(Object.prototype.hasOwnProperty)),Hd}var Yd,og;function wI(){if(og)return Yd;og=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Gd(),n={},r=ag();e=function(a){var o="Warning: "+a;typeof console<"u"&&console.error(o);try{throw new Error(o)}catch{}}}function i(a,o,s,l,c){if(process.env.NODE_ENV!=="production"){for(var u in a)if(r(a,u)){var d;try{if(typeof a[u]!="function"){var _=Error((l||"React class")+": "+s+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw _.name="Invariant Violation",_}d=a[u](o,u,l,s,null,t)}catch(f){d=f}if(d&&!(d instanceof Error)&&e((l||"React class")+": type specification of "+s+" `"+u+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof d+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),d instanceof Error&&!(d.message in n)){n[d.message]=!0;var m=c?c():"";e("Failed "+s+" type: "+d.message+(m??""))}}}}return i.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},Yd=i,Yd}var zd,sg;function DI(){if(sg)return zd;sg=1;var e=tg(),t=xI(),n=Gd(),r=ag(),i=wI(),a=function(){};process.env.NODE_ENV!=="production"&&(a=function(s){var l="Warning: "+s;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}});function o(){return null}return zd=function(s,l){var c=typeof Symbol=="function"&&Symbol.iterator,u="@@iterator";function d(U){var z=U&&(c&&U[c]||U[u]);if(typeof z=="function")return z}var _="<<anonymous>>",m={array:h("array"),bigint:h("bigint"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),string:h("string"),symbol:h("symbol"),any:S(),arrayOf:T,element:y(),elementType:b(),instanceOf:v,node:k(),objectOf:P,oneOf:w,oneOfType:M,shape:C,exact:x};function f(U,z){return U===z?U!==0||1/U===1/z:U!==U&&z!==z}function g(U,z){this.message=U,this.data=z&&typeof z=="object"?z:{},this.stack=""}g.prototype=Error.prototype;function E(U){if(process.env.NODE_ENV!=="production")var z={},X=0;function re(ue,ae,le,de,me,pe,Ue){if(de=de||_,pe=pe||le,Ue!==n){if(l){var Q=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw Q.name="Invariant Violation",Q}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Ke=de+":"+le;!z[Ke]&&X<3&&(a("You are manually calling a React.PropTypes validation function for the `"+pe+"` prop on `"+de+"`. 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."),z[Ke]=!0,X++)}}return ae[le]==null?ue?ae[le]===null?new g("The "+me+" `"+pe+"` is marked as required "+("in `"+de+"`, but its value is `null`.")):new g("The "+me+" `"+pe+"` is marked as required in "+("`"+de+"`, but its value is `undefined`.")):null:U(ae,le,de,me,pe)}var ie=re.bind(null,!1);return ie.isRequired=re.bind(null,!0),ie}function h(U){function z(X,re,ie,ue,ae,le){var de=X[re],me=L(de);if(me!==U){var pe=B(de);return new g("Invalid "+ue+" `"+ae+"` of type "+("`"+pe+"` supplied to `"+ie+"`, expected ")+("`"+U+"`."),{expectedType:U})}return null}return E(z)}function S(){return E(o)}function T(U){function z(X,re,ie,ue,ae){if(typeof U!="function")return new g("Property `"+ae+"` of component `"+ie+"` has invalid PropType notation inside arrayOf.");var le=X[re];if(!Array.isArray(le)){var de=L(le);return new g("Invalid "+ue+" `"+ae+"` of type "+("`"+de+"` supplied to `"+ie+"`, expected an array."))}for(var me=0;me<le.length;me++){var pe=U(le,me,ie,ue,ae+"["+me+"]",n);if(pe instanceof Error)return pe}return null}return E(z)}function y(){function U(z,X,re,ie,ue){var ae=z[X];if(!s(ae)){var le=L(ae);return new g("Invalid "+ie+" `"+ue+"` of type "+("`"+le+"` supplied to `"+re+"`, expected a single ReactElement."))}return null}return E(U)}function b(){function U(z,X,re,ie,ue){var ae=z[X];if(!e.isValidElementType(ae)){var le=L(ae);return new g("Invalid "+ie+" `"+ue+"` of type "+("`"+le+"` supplied to `"+re+"`, expected a single ReactElement type."))}return null}return E(U)}function v(U){function z(X,re,ie,ue,ae){if(!(X[re]instanceof U)){var le=U.name||_,de=D(X[re]);return new g("Invalid "+ue+" `"+ae+"` of type "+("`"+de+"` supplied to `"+ie+"`, expected ")+("instance of `"+le+"`."))}return null}return E(z)}function w(U){if(!Array.isArray(U))return process.env.NODE_ENV!=="production"&&(arguments.length>1?a("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):a("Invalid argument supplied to oneOf, expected an array.")),o;function z(X,re,ie,ue,ae){for(var le=X[re],de=0;de<U.length;de++)if(f(le,U[de]))return null;var me=JSON.stringify(U,function(Ue,Q){var Ke=B(Q);return Ke==="symbol"?String(Q):Q});return new g("Invalid "+ue+" `"+ae+"` of value `"+String(le)+"` "+("supplied to `"+ie+"`, expected one of "+me+"."))}return E(z)}function P(U){function z(X,re,ie,ue,ae){if(typeof U!="function")return new g("Property `"+ae+"` of component `"+ie+"` has invalid PropType notation inside objectOf.");var le=X[re],de=L(le);if(de!=="object")return new g("Invalid "+ue+" `"+ae+"` of type "+("`"+de+"` supplied to `"+ie+"`, expected an object."));for(var me in le)if(r(le,me)){var pe=U(le,me,ie,ue,ae+"."+me,n);if(pe instanceof Error)return pe}return null}return E(z)}function M(U){if(!Array.isArray(U))return process.env.NODE_ENV!=="production"&&a("Invalid argument supplied to oneOfType, expected an instance of array."),o;for(var z=0;z<U.length;z++){var X=U[z];if(typeof X!="function")return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+V(X)+" at index "+z+"."),o}function re(ie,ue,ae,le,de){for(var me=[],pe=0;pe<U.length;pe++){var Ue=U[pe],Q=Ue(ie,ue,ae,le,de,n);if(Q==null)return null;Q.data&&r(Q.data,"expectedType")&&me.push(Q.data.expectedType)}var Ke=me.length>0?", expected one of type ["+me.join(", ")+"]":"";return new g("Invalid "+le+" `"+de+"` supplied to "+("`"+ae+"`"+Ke+"."))}return E(re)}function k(){function U(z,X,re,ie,ue){return O(z[X])?null:new g("Invalid "+ie+" `"+ue+"` supplied to "+("`"+re+"`, expected a ReactNode."))}return E(U)}function G(U,z,X,re,ie){return new g((U||"React class")+": "+z+" type `"+X+"."+re+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+ie+"`.")}function C(U){function z(X,re,ie,ue,ae){var le=X[re],de=L(le);if(de!=="object")return new g("Invalid "+ue+" `"+ae+"` of type `"+de+"` "+("supplied to `"+ie+"`, expected `object`."));for(var me in U){var pe=U[me];if(typeof pe!="function")return G(ie,ue,ae,me,B(pe));var Ue=pe(le,me,ie,ue,ae+"."+me,n);if(Ue)return Ue}return null}return E(z)}function x(U){function z(X,re,ie,ue,ae){var le=X[re],de=L(le);if(de!=="object")return new g("Invalid "+ue+" `"+ae+"` of type `"+de+"` "+("supplied to `"+ie+"`, expected `object`."));var me=t({},X[re],U);for(var pe in me){var Ue=U[pe];if(r(U,pe)&&typeof Ue!="function")return G(ie,ue,ae,pe,B(Ue));if(!Ue)return new g("Invalid "+ue+" `"+ae+"` key `"+pe+"` supplied to `"+ie+"`.\nBad object: "+JSON.stringify(X[re],null," ")+`
|
|
49
|
+
Valid keys: `+JSON.stringify(Object.keys(U),null," "));var Q=Ue(le,pe,ie,ue,ae+"."+pe,n);if(Q)return Q}return null}return E(z)}function O(U){switch(typeof U){case"number":case"string":case"undefined":return!0;case"boolean":return!U;case"object":if(Array.isArray(U))return U.every(O);if(U===null||s(U))return!0;var z=d(U);if(z){var X=z.call(U),re;if(z!==U.entries){for(;!(re=X.next()).done;)if(!O(re.value))return!1}else for(;!(re=X.next()).done;){var ie=re.value;if(ie&&!O(ie[1]))return!1}}else return!1;return!0;default:return!1}}function R(U,z){return U==="symbol"?!0:z?z["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&z instanceof Symbol:!1}function L(U){var z=typeof U;return Array.isArray(U)?"array":U instanceof RegExp?"object":R(z,U)?"symbol":z}function B(U){if(typeof U>"u"||U===null)return""+U;var z=L(U);if(z==="object"){if(U instanceof Date)return"date";if(U instanceof RegExp)return"regexp"}return z}function V(U){var z=B(U);switch(z){case"array":case"object":return"an "+z;case"boolean":case"date":case"regexp":return"a "+z;default:return z}}function D(U){return!U.constructor||!U.constructor.name?_:U.constructor.name}return m.checkPropTypes=i,m.resetWarningCache=i.resetWarningCache,m.PropTypes=m,m},zd}var Vd,lg;function MI(){if(lg)return Vd;lg=1;var e=Gd();function t(){}function n(){}return n.resetWarningCache=t,Vd=function(){function r(o,s,l,c,u,d){if(d!==e){var _=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw _.name="Invariant Violation",_}}r.isRequired=r;function i(){return r}var a={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return a.PropTypes=a,a},Vd}var cg;function dg(){if(cg)return $s.exports;if(cg=1,process.env.NODE_ENV!=="production"){var e=tg(),t=!0;$s.exports=DI()(e.isElement,t)}else $s.exports=MI()();return $s.exports}var kI=dg();const xe=qu(kI);function ug(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=ug(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function _g(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=ug(e))&&(r&&(r+=" "),r+=t);return r}function LI(e,t,n=void 0){const r={};for(const i in e){const a=e[i];let o="",s=!0;for(let l=0;l<a.length;l+=1){const c=a[l];c&&(o+=(s===!0?"":" ")+t(c),s=!1,n&&n[c]&&(o+=" "+n[c]))}r[i]=o}return r}var qs={exports:{}},Ve={};var pg;function PI(){if(pg)return Ve;pg=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),o=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),_=Symbol.for("react.view_transition"),m=Symbol.for("react.client.reference");function f(g){if(typeof g=="object"&&g!==null){var E=g.$$typeof;switch(E){case e:switch(g=g.type,g){case n:case i:case r:case l:case c:case _:return g;default:switch(g=g&&g.$$typeof,g){case o:case s:case d:case u:return g;case a:return g;default:return E}}case t:return E}}}return Ve.ContextConsumer=a,Ve.ContextProvider=o,Ve.Element=e,Ve.ForwardRef=s,Ve.Fragment=n,Ve.Lazy=d,Ve.Memo=u,Ve.Portal=t,Ve.Profiler=i,Ve.StrictMode=r,Ve.Suspense=l,Ve.SuspenseList=c,Ve.isContextConsumer=function(g){return f(g)===a},Ve.isContextProvider=function(g){return f(g)===o},Ve.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===e},Ve.isForwardRef=function(g){return f(g)===s},Ve.isFragment=function(g){return f(g)===n},Ve.isLazy=function(g){return f(g)===d},Ve.isMemo=function(g){return f(g)===u},Ve.isPortal=function(g){return f(g)===t},Ve.isProfiler=function(g){return f(g)===i},Ve.isStrictMode=function(g){return f(g)===r},Ve.isSuspense=function(g){return f(g)===l},Ve.isSuspenseList=function(g){return f(g)===c},Ve.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===n||g===i||g===r||g===l||g===c||typeof g=="object"&&g!==null&&(g.$$typeof===d||g.$$typeof===u||g.$$typeof===o||g.$$typeof===a||g.$$typeof===s||g.$$typeof===m||g.getModuleId!==void 0)},Ve.typeOf=f,Ve}var $e={};var mg;function UI(){return mg||(mg=1,process.env.NODE_ENV!=="production"&&(function(){function e(g){if(typeof g=="object"&&g!==null){var E=g.$$typeof;switch(E){case t:switch(g=g.type,g){case r:case a:case i:case c:case u:case m:return g;default:switch(g=g&&g.$$typeof,g){case s:case l:case _:case d:return g;case o:return g;default:return E}}case n:return E}}}var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),m=Symbol.for("react.view_transition"),f=Symbol.for("react.client.reference");$e.ContextConsumer=o,$e.ContextProvider=s,$e.Element=t,$e.ForwardRef=l,$e.Fragment=r,$e.Lazy=_,$e.Memo=d,$e.Portal=n,$e.Profiler=a,$e.StrictMode=i,$e.Suspense=c,$e.SuspenseList=u,$e.isContextConsumer=function(g){return e(g)===o},$e.isContextProvider=function(g){return e(g)===s},$e.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===t},$e.isForwardRef=function(g){return e(g)===l},$e.isFragment=function(g){return e(g)===r},$e.isLazy=function(g){return e(g)===_},$e.isMemo=function(g){return e(g)===d},$e.isPortal=function(g){return e(g)===n},$e.isProfiler=function(g){return e(g)===a},$e.isStrictMode=function(g){return e(g)===i},$e.isSuspense=function(g){return e(g)===c},$e.isSuspenseList=function(g){return e(g)===u},$e.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===r||g===a||g===i||g===c||g===u||typeof g=="object"&&g!==null&&(g.$$typeof===_||g.$$typeof===d||g.$$typeof===s||g.$$typeof===o||g.$$typeof===l||g.$$typeof===f||g.getModuleId!==void 0)},$e.typeOf=e})()),$e}var gg;function FI(){return gg||(gg=1,process.env.NODE_ENV==="production"?qs.exports=PI():qs.exports=UI()),qs.exports}var Ks=FI();function gr(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function fg(e){if(It.isValidElement(e)||Ks.isValidElementType(e)||!gr(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=fg(e[n])}),t}function tn(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return gr(e)&&gr(t)&&Object.keys(t).forEach(i=>{It.isValidElement(t[i])||Ks.isValidElementType(t[i])?r[i]=t[i]:gr(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&gr(e[i])?r[i]=tn(e[i],t[i],n):n.clone?r[i]=gr(t[i])?fg(t[i]):t[i]:r[i]=t[i]}),r}function Va(e,t){return t?tn(e,t,{clone:!1}):e}const Lr=process.env.NODE_ENV!=="production"?xe.oneOfType([xe.number,xe.string,xe.object,xe.array]):{};function Eg(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter(r=>r.startsWith("@container")).sort((r,i)=>{const a=/min-width:\s*([0-9.]+)/;return+(r.match(a)?.[1]||0)-+(i.match(a)?.[1]||0)});return n.length?n.reduce((r,i)=>{const a=t[i];return delete r[i],r[i]=a,r},{...t}):t}function BI(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function GI(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n){if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
|
|
100
50
|
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:kr(18,`(${t})`));return null}const[,r,i]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(i).up(a)}function HI(e){const t=(a,o)=>a.replace("@media",o?`@container ${o}`:"@container");function n(a,o){a.up=(...s)=>t(e.breakpoints.up(...s),o),a.down=(...s)=>t(e.breakpoints.down(...s),o),a.between=(...s)=>t(e.breakpoints.between(...s),o),a.only=(...s)=>t(e.breakpoints.only(...s),o),a.not=(...s)=>{const l=t(e.breakpoints.not(...s),o);return l.includes("not all and")?l.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):l}}const r={},i=a=>(n(r,a),r);return n(i),{...e,containerQueries:i}}const js={xs:0,sm:600,md:900,lg:1200,xl:1536},hg={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${js[e]}px)`},YI={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:js[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function fr(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const a=r.breakpoints||hg;return t.reduce((o,s,l)=>(o[a.up(a.keys[l])]=n(t[l]),o),{})}if(typeof t=="object"){const a=r.breakpoints||hg;return Object.keys(t).reduce((o,s)=>{if(BI(a.keys,s)){const l=GI(r.containerQueries?r:YI,s);l&&(o[l]=n(t[s],s))}else if(Object.keys(a.values||js).includes(s)){const l=a.up(s);o[l]=n(t[s],s)}else{const l=s;o[l]=t[l]}return o},{})}return n(t)}function zI(e={}){return e.keys?.reduce((n,r)=>{const i=e.up(r);return n[i]={},n},{})||{}}function Sg(e,t){return e.reduce((n,r)=>{const i=n[r];return(!i||Object.keys(i).length===0)&&delete n[r],n},t)}function Qs(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((i,a)=>i&&i[a]?i[a]:null,e);if(r!=null)return r}return t.split(".").reduce((r,i)=>r&&r[i]!=null?r[i]:null,e)}function Xs(e,t,n,r=n){let i;return typeof e=="function"?i=e(n):Array.isArray(e)?i=e[n]||r:i=Qs(e,n)||r,t&&(i=t(i,r,e)),i}function pt(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,a=o=>{if(o[t]==null)return null;const s=o[t],l=o.theme,c=Qs(l,r)||{};return fr(o,s,d=>{let _=Xs(c,i,d);return d===_&&typeof d=="string"&&(_=Xs(c,i,`${t}${d==="default"?"":ri(d)}`,d)),n===!1?_:{[n]:_}})};return a.propTypes=process.env.NODE_ENV!=="production"?{[t]:Lr}:{},a.filterProps=[t],a}function VI(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const $I={m:"margin",p:"padding"},WI={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},bg={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},qI=VI(e=>{if(e.length>2)if(bg[e])e=bg[e];else return[e];const[t,n]=e.split(""),r=$I[t],i=WI[n]||"";return Array.isArray(i)?i.map(a=>r+a):[r+i]}),Zs=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Js=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],KI=[...Zs,...Js];function $a(e,t,n,r){const i=Qs(e,t,!0)??n;return typeof i=="number"||typeof i=="string"?a=>typeof a=="string"?a:(process.env.NODE_ENV!=="production"&&typeof a!="number"&&console.error(`MUI: Expected ${r} argument to be a number or a string, got ${a}.`),typeof i=="string"?i.startsWith("var(")&&a===0?0:i.startsWith("var(")&&a===1?i:`calc(${a} * ${i})`:i*a):Array.isArray(i)?a=>{if(typeof a=="string")return a;const o=Math.abs(a);process.env.NODE_ENV!=="production"&&(Number.isInteger(o)?o>i.length-1&&console.error([`MUI: The value provided (${o}) overflows.`,`The supported values are: ${JSON.stringify(i)}.`,`${o} > ${i.length-1}, you need to add the missing values.`].join(`
|
|
101
51
|
`)):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
|
|
102
52
|
`)));const s=i[o];return a>=0?s:typeof s=="number"?-s:typeof s=="string"&&s.startsWith("var(")?`calc(-1 * ${s})`:`-${s}`}:typeof i=="function"?i:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${i}) is invalid.`,"It should be a number, an array or a function."].join(`
|
|
103
|
-
`)),()=>{})}function $d(e){return $a(e,"spacing",8,"spacing")}function Wa(e,t){return typeof t=="string"||t==null?t:e(t)}function jI(e,t){return n=>e.reduce((r,i)=>(r[i]=Wa(t,n),r),{})}function QI(e,t,n,r){if(!t.includes(n))return null;const i=qI(n),a=jI(i,r),o=e[n];return fr(e,o,a)}function Tg(e,t){const n=$d(e.theme);return Object.keys(e).map(r=>QI(e,t,r,n)).reduce(Va,{})}function st(e){return Tg(e,Zs)}st.propTypes=process.env.NODE_ENV!=="production"?Zs.reduce((e,t)=>(e[t]=Lr,e),{}):{},st.filterProps=Zs;function lt(e){return Tg(e,Js)}lt.propTypes=process.env.NODE_ENV!=="production"?Js.reduce((e,t)=>(e[t]=Lr,e),{}):{},lt.filterProps=Js,process.env.NODE_ENV!=="production"&&KI.reduce((e,t)=>(e[t]=Lr,e),{});function el(...e){const t=e.reduce((r,i)=>(i.filterProps.forEach(a=>{r[a]=i}),r),{}),n=r=>Object.keys(r).reduce((i,a)=>t[a]?Va(i,t[a](r)):i,{});return n.propTypes=process.env.NODE_ENV!=="production"?e.reduce((r,i)=>Object.assign(r,i.propTypes),{}):{},n.filterProps=e.reduce((r,i)=>r.concat(i.filterProps),[]),n}function pn(e){return typeof e!="number"?e:`${e}px solid`}function mn(e,t){return pt({prop:e,themeKey:"borders",transform:t})}const XI=mn("border",pn),ZI=mn("borderTop",pn),JI=mn("borderRight",pn),e0=mn("borderBottom",pn),t0=mn("borderLeft",pn),n0=mn("borderColor"),r0=mn("borderTopColor"),i0=mn("borderRightColor"),a0=mn("borderBottomColor"),o0=mn("borderLeftColor"),s0=mn("outline",pn),l0=mn("outlineColor"),tl=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=$a(e.theme,"shape.borderRadius",4,"borderRadius"),n=r=>({borderRadius:Wa(t,r)});return fr(e,e.borderRadius,n)}return null};tl.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Lr}:{},tl.filterProps=["borderRadius"],el(XI,ZI,JI,e0,t0,n0,r0,i0,a0,o0,tl,s0,l0);const nl=e=>{if(e.gap!==void 0&&e.gap!==null){const t=$a(e.theme,"spacing",8,"gap"),n=r=>({gap:Wa(t,r)});return fr(e,e.gap,n)}return null};nl.propTypes=process.env.NODE_ENV!=="production"?{gap:Lr}:{},nl.filterProps=["gap"];const rl=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=$a(e.theme,"spacing",8,"columnGap"),n=r=>({columnGap:Wa(t,r)});return fr(e,e.columnGap,n)}return null};rl.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Lr}:{},rl.filterProps=["columnGap"];const il=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=$a(e.theme,"spacing",8,"rowGap"),n=r=>({rowGap:Wa(t,r)});return fr(e,e.rowGap,n)}return null};il.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Lr}:{},il.filterProps=["rowGap"];const c0=pt({prop:"gridColumn"}),d0=pt({prop:"gridRow"}),u0=pt({prop:"gridAutoFlow"}),_0=pt({prop:"gridAutoColumns"}),p0=pt({prop:"gridAutoRows"}),m0=pt({prop:"gridTemplateColumns"}),g0=pt({prop:"gridTemplateRows"}),f0=pt({prop:"gridTemplateAreas"}),E0=pt({prop:"gridArea"});el(nl,rl,il,c0,d0,u0,_0,p0,m0,g0,f0,E0);function Di(e,t){return t==="grey"?t:e}const h0=pt({prop:"color",themeKey:"palette",transform:Di}),S0=pt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Di}),b0=pt({prop:"backgroundColor",themeKey:"palette",transform:Di});el(h0,S0,b0);function nn(e){return e<=1&&e!==0?`${e*100}%`:e}const T0=pt({prop:"width",transform:nn}),Wd=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{const r=e.theme?.breakpoints?.values?.[n]||js[n];return r?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:nn(n)}};return fr(e,e.maxWidth,t)}return null};Wd.filterProps=["maxWidth"];const C0=pt({prop:"minWidth",transform:nn}),y0=pt({prop:"height",transform:nn}),v0=pt({prop:"maxHeight",transform:nn}),R0=pt({prop:"minHeight",transform:nn});pt({prop:"size",cssProperty:"width",transform:nn}),pt({prop:"size",cssProperty:"height",transform:nn});const N0=pt({prop:"boxSizing"});el(T0,Wd,C0,y0,v0,R0,N0);const al={border:{themeKey:"borders",transform:pn},borderTop:{themeKey:"borders",transform:pn},borderRight:{themeKey:"borders",transform:pn},borderBottom:{themeKey:"borders",transform:pn},borderLeft:{themeKey:"borders",transform:pn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:pn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:tl},color:{themeKey:"palette",transform:Di},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Di},backgroundColor:{themeKey:"palette",transform:Di},p:{style:lt},pt:{style:lt},pr:{style:lt},pb:{style:lt},pl:{style:lt},px:{style:lt},py:{style:lt},padding:{style:lt},paddingTop:{style:lt},paddingRight:{style:lt},paddingBottom:{style:lt},paddingLeft:{style:lt},paddingX:{style:lt},paddingY:{style:lt},paddingInline:{style:lt},paddingInlineStart:{style:lt},paddingInlineEnd:{style:lt},paddingBlock:{style:lt},paddingBlockStart:{style:lt},paddingBlockEnd:{style:lt},m:{style:st},mt:{style:st},mr:{style:st},mb:{style:st},ml:{style:st},mx:{style:st},my:{style:st},margin:{style:st},marginTop:{style:st},marginRight:{style:st},marginBottom:{style:st},marginLeft:{style:st},marginX:{style:st},marginY:{style:st},marginInline:{style:st},marginInlineStart:{style:st},marginInlineEnd:{style:st},marginBlock:{style:st},marginBlockStart:{style:st},marginBlockEnd:{style:st},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:nl},rowGap:{style:il},columnGap:{style:rl},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:nn},maxWidth:{style:Wd},minWidth:{transform:nn},height:{transform:nn},maxHeight:{transform:nn},minHeight:{transform:nn},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function O0(...e){const t=e.reduce((r,i)=>r.concat(Object.keys(i)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function A0(e,t){return typeof e=="function"?e(t):e}function I0(){function e(n,r,i,a){const o={[n]:r,theme:i},s=a[n];if(!s)return{[n]:r};const{cssProperty:l=n,themeKey:c,transform:u,style:d}=s;if(r==null)return null;if(c==="typography"&&r==="inherit")return{[n]:r};const _=Qs(i,c)||{};return d?d(o):fr(o,r,f=>{let g=Xs(_,u,f);return f===g&&typeof f=="string"&&(g=Xs(_,u,`${n}${f==="default"?"":ri(f)}`,f)),l===!1?g:{[l]:g}})}function t(n){const{sx:r,theme:i={},nested:a}=n||{};if(!r)return null;const o=i.unstable_sxConfig??al;function s(l){let c=l;if(typeof l=="function")c=l(i);else if(typeof l!="object")return l;if(!c)return null;const u=zI(i.breakpoints),d=Object.keys(u);let _=u;return Object.keys(c).forEach(m=>{const f=A0(c[m],i);if(f!=null)if(typeof f=="object")if(o[m])_=Va(_,e(m,f,i,o));else{const g=fr({theme:i},f,E=>({[m]:E}));O0(g,f)?_[m]=t({sx:f,theme:i,nested:!0}):_=Va(_,g)}else _=Va(_,e(m,f,i,o))}),!a&&i.modularCssLayers?{"@layer sx":Eg(i,Sg(d,_))}:Eg(i,Sg(d,_))}return Array.isArray(r)?r.map(s):s(r)}return t}const Mi=I0();Mi.filterProps=["sx"];function qd(){return qd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qd.apply(null,arguments)}function x0(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function w0(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var D0=(function(){function e(n){var r=this;this._insertTag=function(i){var a;r.tags.length===0?r.insertionPoint?a=r.insertionPoint.nextSibling:r.prepend?a=r.container.firstChild:a=r.before:a=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(i,a),r.tags.push(i)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(w0(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var a=x0(i);try{a.insertRule(r,a.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var i;return(i=r.parentNode)==null?void 0:i.removeChild(r)}),this.tags=[],this.ctr=0},e})(),Pt="-ms-",ol="-moz-",De="-webkit-",Cg="comm",Kd="rule",jd="decl",M0="@import",yg="@keyframes",k0="@layer",L0=Math.abs,sl=String.fromCharCode,P0=Object.assign;function U0(e,t){return wt(e,0)^45?(((t<<2^wt(e,0))<<2^wt(e,1))<<2^wt(e,2))<<2^wt(e,3):0}function vg(e){return e.trim()}function F0(e,t){return(e=t.exec(e))?e[0]:e}function Me(e,t,n){return e.replace(t,n)}function Qd(e,t){return e.indexOf(t)}function wt(e,t){return e.charCodeAt(t)|0}function qa(e,t,n){return e.slice(t,n)}function Hn(e){return e.length}function Xd(e){return e.length}function ll(e,t){return t.push(e),e}function B0(e,t){return e.map(t).join("")}var cl=1,ki=1,Rg=0,qt=0,ht=0,Li="";function dl(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:cl,column:ki,length:o,return:""}}function Ka(e,t){return P0(dl("",null,null,"",null,null,0),e,{length:-e.length},t)}function G0(){return ht}function H0(){return ht=qt>0?wt(Li,--qt):0,ki--,ht===10&&(ki=1,cl--),ht}function rn(){return ht=qt<Rg?wt(Li,qt++):0,ki++,ht===10&&(ki=1,cl++),ht}function Yn(){return wt(Li,qt)}function ul(){return qt}function ja(e,t){return qa(Li,e,t)}function Qa(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Ng(e){return cl=ki=1,Rg=Hn(Li=e),qt=0,[]}function Og(e){return Li="",e}function _l(e){return vg(ja(qt-1,Zd(e===91?e+2:e===40?e+1:e)))}function Y0(e){for(;(ht=Yn())&&ht<33;)rn();return Qa(e)>2||Qa(ht)>3?"":" "}function z0(e,t){for(;--t&&rn()&&!(ht<48||ht>102||ht>57&&ht<65||ht>70&&ht<97););return ja(e,ul()+(t<6&&Yn()==32&&rn()==32))}function Zd(e){for(;rn();)switch(ht){case e:return qt;case 34:case 39:e!==34&&e!==39&&Zd(ht);break;case 40:e===41&&Zd(e);break;case 92:rn();break}return qt}function V0(e,t){for(;rn()&&e+ht!==57;)if(e+ht===84&&Yn()===47)break;return"/*"+ja(t,qt-1)+"*"+sl(e===47?e:rn())}function $0(e){for(;!Qa(Yn());)rn();return ja(e,qt)}function W0(e){return Og(pl("",null,null,null,[""],e=Ng(e),0,[0],e))}function pl(e,t,n,r,i,a,o,s,l){for(var c=0,u=0,d=o,_=0,m=0,f=0,g=1,E=1,h=1,S=0,T="",y=i,b=a,v=r,w=T;E;)switch(f=S,S=rn()){case 40:if(f!=108&&wt(w,d-1)==58){Qd(w+=Me(_l(S),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:w+=_l(S);break;case 9:case 10:case 13:case 32:w+=Y0(f);break;case 92:w+=z0(ul()-1,7);continue;case 47:switch(Yn()){case 42:case 47:ll(q0(V0(rn(),ul()),t,n),l);break;default:w+="/"}break;case 123*g:s[c++]=Hn(w)*h;case 125*g:case 59:case 0:switch(S){case 0:case 125:E=0;case 59+u:h==-1&&(w=Me(w,/\f/g,"")),m>0&&Hn(w)-d&&ll(m>32?Ig(w+";",r,n,d-1):Ig(Me(w," ","")+";",r,n,d-2),l);break;case 59:w+=";";default:if(ll(v=Ag(w,t,n,c,u,i,s,T,y=[],b=[],d),a),S===123)if(u===0)pl(w,t,v,v,y,a,d,s,b);else switch(_===99&&wt(w,3)===110?100:_){case 100:case 108:case 109:case 115:pl(e,v,v,r&&ll(Ag(e,v,v,0,0,i,s,T,i,y=[],d),b),i,b,d,s,r?y:b);break;default:pl(w,v,v,v,[""],b,0,s,b)}}c=u=m=0,g=h=1,T=w="",d=o;break;case 58:d=1+Hn(w),m=f;default:if(g<1){if(S==123)--g;else if(S==125&&g++==0&&H0()==125)continue}switch(w+=sl(S),S*g){case 38:h=u>0?1:(w+="\f",-1);break;case 44:s[c++]=(Hn(w)-1)*h,h=1;break;case 64:Yn()===45&&(w+=_l(rn())),_=Yn(),u=d=Hn(T=w+=$0(ul())),S++;break;case 45:f===45&&Hn(w)==2&&(g=0)}}return a}function Ag(e,t,n,r,i,a,o,s,l,c,u){for(var d=i-1,_=i===0?a:[""],m=Xd(_),f=0,g=0,E=0;f<r;++f)for(var h=0,S=qa(e,d+1,d=L0(g=o[f])),T=e;h<m;++h)(T=vg(g>0?_[h]+" "+S:Me(S,/&\f/g,_[h])))&&(l[E++]=T);return dl(e,t,n,i===0?Kd:s,l,c,u)}function q0(e,t,n){return dl(e,t,n,Cg,sl(G0()),qa(e,2,-2),0)}function Ig(e,t,n,r){return dl(e,t,n,jd,qa(e,0,r),qa(e,r+1,-1),r)}function Pi(e,t){for(var n="",r=Xd(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function K0(e,t,n,r){switch(e.type){case k0:if(e.children.length)break;case M0:case jd:return e.return=e.return||e.value;case Cg:return"";case yg:return e.return=e.value+"{"+Pi(e.children,r)+"}";case Kd:e.value=e.props.join(",")}return Hn(n=Pi(e.children,r))?e.return=e.value+"{"+n+"}":""}function j0(e){var t=Xd(e);return function(n,r,i,a){for(var o="",s=0;s<t;s++)o+=e[s](n,r,i,a)||"";return o}}function Q0(e){return function(t){t.root||(t=t.return)&&e(t)}}function xg(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var X0=function(t,n,r){for(var i=0,a=0;i=a,a=Yn(),i===38&&a===12&&(n[r]=1),!Qa(a);)rn();return ja(t,qt)},Z0=function(t,n){var r=-1,i=44;do switch(Qa(i)){case 0:i===38&&Yn()===12&&(n[r]=1),t[r]+=X0(qt-1,n,r);break;case 2:t[r]+=_l(i);break;case 4:if(i===44){t[++r]=Yn()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=sl(i)}while(i=rn());return t},J0=function(t,n){return Og(Z0(Ng(t),n))},wg=new WeakMap,ex=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,i=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!wg.get(r))&&!i){wg.set(t,!0);for(var a=[],o=J0(n,a),s=r.props,l=0,c=0;l<o.length;l++)for(var u=0;u<s.length;u++,c++)t.props[c]=a[l]?o[l].replace(/&\f/g,s[u]):s[u]+" "+o[l]}}},tx=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function Dg(e,t){switch(U0(e,t)){case 5103:return De+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return De+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return De+e+ol+e+Pt+e+e;case 6828:case 4268:return De+e+Pt+e+e;case 6165:return De+e+Pt+"flex-"+e+e;case 5187:return De+e+Me(e,/(\w+).+(:[^]+)/,De+"box-$1$2"+Pt+"flex-$1$2")+e;case 5443:return De+e+Pt+"flex-item-"+Me(e,/flex-|-self/,"")+e;case 4675:return De+e+Pt+"flex-line-pack"+Me(e,/align-content|flex-|-self/,"")+e;case 5548:return De+e+Pt+Me(e,"shrink","negative")+e;case 5292:return De+e+Pt+Me(e,"basis","preferred-size")+e;case 6060:return De+"box-"+Me(e,"-grow","")+De+e+Pt+Me(e,"grow","positive")+e;case 4554:return De+Me(e,/([^-])(transform)/g,"$1"+De+"$2")+e;case 6187:return Me(Me(Me(e,/(zoom-|grab)/,De+"$1"),/(image-set)/,De+"$1"),e,"")+e;case 5495:case 3959:return Me(e,/(image-set\([^]*)/,De+"$1$`$1");case 4968:return Me(Me(e,/(.+:)(flex-)?(.*)/,De+"box-pack:$3"+Pt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+De+e+e;case 4095:case 3583:case 4068:case 2532:return Me(e,/(.+)-inline(.+)/,De+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Hn(e)-1-t>6)switch(wt(e,t+1)){case 109:if(wt(e,t+4)!==45)break;case 102:return Me(e,/(.+:)(.+)-([^]+)/,"$1"+De+"$2-$3$1"+ol+(wt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Qd(e,"stretch")?Dg(Me(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(wt(e,t+1)!==115)break;case 6444:switch(wt(e,Hn(e)-3-(~Qd(e,"!important")&&10))){case 107:return Me(e,":",":"+De)+e;case 101:return Me(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+De+(wt(e,14)===45?"inline-":"")+"box$3$1"+De+"$2$3$1"+Pt+"$2box$3")+e}break;case 5936:switch(wt(e,t+11)){case 114:return De+e+Pt+Me(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return De+e+Pt+Me(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return De+e+Pt+Me(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return De+e+Pt+e+e}return e}var nx=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case jd:t.return=Dg(t.value,t.length);break;case yg:return Pi([Ka(t,{value:Me(t.value,"@","@"+De)})],i);case Kd:if(t.length)return B0(t.props,function(a){switch(F0(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Pi([Ka(t,{props:[Me(a,/:(read-\w+)/,":"+ol+"$1")]})],i);case"::placeholder":return Pi([Ka(t,{props:[Me(a,/:(plac\w+)/,":"+De+"input-$1")]}),Ka(t,{props:[Me(a,/:(plac\w+)/,":"+ol+"$1")]}),Ka(t,{props:[Me(a,/:(plac\w+)/,Pt+"input-$1")]})],i)}return""})}},rx=[nx],ix=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(g){var E=g.getAttribute("data-emotion");E.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var i=t.stylisPlugins||rx,a={},o,s=[];o=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(g){for(var E=g.getAttribute("data-emotion").split(" "),h=1;h<E.length;h++)a[E[h]]=!0;s.push(g)});var l,c=[ex,tx];{var u,d=[K0,Q0(function(g){u.insert(g)})],_=j0(c.concat(i,d)),m=function(E){return Pi(W0(E),_)};l=function(E,h,S,T){u=S,m(E?E+"{"+h.styles+"}":h.styles),T&&(f.inserted[h.name]=!0)}}var f={key:n,sheet:new D0({key:n,container:o,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:a,registered:{},insert:l};return f.sheet.hydrate(s),f},ax=!0;function ox(e,t,n){var r="";return n.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):i&&(r+=i+" ")}),r}var Mg=function(t,n,r){var i=t.key+"-"+n.name;(r===!1||ax===!1)&&t.registered[i]===void 0&&(t.registered[i]=n.styles)},sx=function(t,n,r){Mg(t,n,r);var i=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var a=n;do t.insert(n===a?"."+i:"",a,t.sheet,!0),a=a.next;while(a!==void 0)}};function lx(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var cx={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},dx=/[A-Z]|^ms/g,ux=/_EMO_([^_]+?)_([^]*?)_EMO_/g,kg=function(t){return t.charCodeAt(1)===45},Lg=function(t){return t!=null&&typeof t!="boolean"},Jd=xg(function(e){return kg(e)?e:e.replace(dx,"-$&").toLowerCase()}),Pg=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(ux,function(r,i,a){return zn={name:i,styles:a,next:zn},i})}return cx[t]!==1&&!kg(t)&&typeof n=="number"&&n!==0?n+"px":n};function Xa(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var i=n;if(i.anim===1)return zn={name:i.name,styles:i.styles,next:zn},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)zn={name:o.name,styles:o.styles,next:zn},o=o.next;var s=a.styles+";";return s}return _x(e,t,n)}case"function":{if(e!==void 0){var l=zn,c=n(e);return zn=l,Xa(e,t,c)}break}}var u=n;if(t==null)return u;var d=t[u];return d!==void 0?d:u}function _x(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=Xa(e,t,n[i])+";";else for(var a in n){var o=n[a];if(typeof o!="object"){var s=o;t!=null&&t[s]!==void 0?r+=a+"{"+t[s]+"}":Lg(s)&&(r+=Jd(a)+":"+Pg(a,s)+";")}else if(Array.isArray(o)&&typeof o[0]=="string"&&(t==null||t[o[0]]===void 0))for(var l=0;l<o.length;l++)Lg(o[l])&&(r+=Jd(a)+":"+Pg(a,o[l])+";");else{var c=Xa(e,t,o);switch(a){case"animation":case"animationName":{r+=Jd(a)+":"+c+";";break}default:r+=a+"{"+c+"}"}}}return r}var Ug=/label:\s*([^\s;{]+)\s*(;|$)/g,zn;function Fg(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i="";zn=void 0;var a=e[0];if(a==null||a.raw===void 0)r=!1,i+=Xa(n,t,a);else{var o=a;i+=o[0]}for(var s=1;s<e.length;s++)if(i+=Xa(n,t,e[s]),r){var l=a;i+=l[s]}Ug.lastIndex=0;for(var c="",u;(u=Ug.exec(i))!==null;)c+="-"+u[1];var d=lx(i)+c;return{name:d,styles:i,next:zn}}var px=function(t){return t()},mx=It.useInsertionEffect?It.useInsertionEffect:!1,gx=mx||px,Bg=It.createContext(typeof HTMLElement<"u"?ix({key:"css"}):null);Bg.Provider;var fx=function(t){return I.forwardRef(function(n,r){var i=I.useContext(Bg);return t(n,i,r)})},Ex=It.createContext({}),hx=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Sx=xg(function(e){return hx.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),bx=Sx,Tx=function(t){return t!=="theme"},Gg=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?bx:Tx},Hg=function(t,n,r){var i;if(n){var a=n.shouldForwardProp;i=t.__emotion_forwardProp&&a?function(o){return t.__emotion_forwardProp(o)&&a(o)}:a}return typeof i!="function"&&r&&(i=t.__emotion_forwardProp),i},Cx=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return Mg(n,r,i),gx(function(){return sx(n,r,i)}),null},yx=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,a,o;n!==void 0&&(a=n.label,o=n.target);var s=Hg(t,n,r),l=s||Gg(i),c=!l("as");return function(){var u=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&d.push("label:"+a+";"),u[0]==null||u[0].raw===void 0)d.push.apply(d,u);else{var _=u[0];d.push(_[0]);for(var m=u.length,f=1;f<m;f++)d.push(u[f],_[f])}var g=fx(function(E,h,S){var T=c&&E.as||i,y="",b=[],v=E;if(E.theme==null){v={};for(var w in E)v[w]=E[w];v.theme=It.useContext(Ex)}typeof E.className=="string"?y=ox(h.registered,b,E.className):E.className!=null&&(y=E.className+" ");var P=Fg(d.concat(b),h.registered,v);y+=h.key+"-"+P.name,o!==void 0&&(y+=" "+o);var M=c&&s===void 0?Gg(T):l,k={};for(var G in E)c&&G==="as"||M(G)&&(k[G]=E[G]);return k.className=y,S&&(k.ref=S),It.createElement(It.Fragment,null,It.createElement(Cx,{cache:h,serialized:P,isStringTag:typeof T=="string"}),It.createElement(T,k))});return g.displayName=a!==void 0?a:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=i,g.__emotion_styles=d,g.__emotion_forwardProp=s,Object.defineProperty(g,"toString",{value:function(){return"."+o}}),g.withComponent=function(E,h){var S=e(E,qd({},n,h,{shouldForwardProp:Hg(g,h,!0)}));return S.apply(void 0,d)},g}},vx=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],eu=yx.bind(null);vx.forEach(function(e){eu[e]=eu(e)});/**
|
|
104
|
-
* @mui/styled-engine v7.3.3
|
|
105
|
-
*
|
|
106
|
-
* @license MIT
|
|
107
|
-
* This source code is licensed under the MIT license found in the
|
|
108
|
-
* LICENSE file in the root directory of this source tree.
|
|
109
|
-
*/function Rx(e,t){const n=eu(e,t);return process.env.NODE_ENV!=="production"?(...r)=>{const i=typeof e=="string"?`"${e}"`:"component";return r.length===0?console.error([`MUI: Seems like you called \`styled(${i})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
53
|
+
`)),()=>{})}function $d(e){return $a(e,"spacing",8,"spacing")}function Wa(e,t){return typeof t=="string"||t==null?t:e(t)}function jI(e,t){return n=>e.reduce((r,i)=>(r[i]=Wa(t,n),r),{})}function QI(e,t,n,r){if(!t.includes(n))return null;const i=qI(n),a=jI(i,r),o=e[n];return fr(e,o,a)}function Tg(e,t){const n=$d(e.theme);return Object.keys(e).map(r=>QI(e,t,r,n)).reduce(Va,{})}function st(e){return Tg(e,Zs)}st.propTypes=process.env.NODE_ENV!=="production"?Zs.reduce((e,t)=>(e[t]=Lr,e),{}):{},st.filterProps=Zs;function lt(e){return Tg(e,Js)}lt.propTypes=process.env.NODE_ENV!=="production"?Js.reduce((e,t)=>(e[t]=Lr,e),{}):{},lt.filterProps=Js,process.env.NODE_ENV!=="production"&&KI.reduce((e,t)=>(e[t]=Lr,e),{});function el(...e){const t=e.reduce((r,i)=>(i.filterProps.forEach(a=>{r[a]=i}),r),{}),n=r=>Object.keys(r).reduce((i,a)=>t[a]?Va(i,t[a](r)):i,{});return n.propTypes=process.env.NODE_ENV!=="production"?e.reduce((r,i)=>Object.assign(r,i.propTypes),{}):{},n.filterProps=e.reduce((r,i)=>r.concat(i.filterProps),[]),n}function pn(e){return typeof e!="number"?e:`${e}px solid`}function mn(e,t){return pt({prop:e,themeKey:"borders",transform:t})}const XI=mn("border",pn),ZI=mn("borderTop",pn),JI=mn("borderRight",pn),e0=mn("borderBottom",pn),t0=mn("borderLeft",pn),n0=mn("borderColor"),r0=mn("borderTopColor"),i0=mn("borderRightColor"),a0=mn("borderBottomColor"),o0=mn("borderLeftColor"),s0=mn("outline",pn),l0=mn("outlineColor"),tl=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=$a(e.theme,"shape.borderRadius",4,"borderRadius"),n=r=>({borderRadius:Wa(t,r)});return fr(e,e.borderRadius,n)}return null};tl.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Lr}:{},tl.filterProps=["borderRadius"],el(XI,ZI,JI,e0,t0,n0,r0,i0,a0,o0,tl,s0,l0);const nl=e=>{if(e.gap!==void 0&&e.gap!==null){const t=$a(e.theme,"spacing",8,"gap"),n=r=>({gap:Wa(t,r)});return fr(e,e.gap,n)}return null};nl.propTypes=process.env.NODE_ENV!=="production"?{gap:Lr}:{},nl.filterProps=["gap"];const rl=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=$a(e.theme,"spacing",8,"columnGap"),n=r=>({columnGap:Wa(t,r)});return fr(e,e.columnGap,n)}return null};rl.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Lr}:{},rl.filterProps=["columnGap"];const il=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=$a(e.theme,"spacing",8,"rowGap"),n=r=>({rowGap:Wa(t,r)});return fr(e,e.rowGap,n)}return null};il.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Lr}:{},il.filterProps=["rowGap"];const c0=pt({prop:"gridColumn"}),d0=pt({prop:"gridRow"}),u0=pt({prop:"gridAutoFlow"}),_0=pt({prop:"gridAutoColumns"}),p0=pt({prop:"gridAutoRows"}),m0=pt({prop:"gridTemplateColumns"}),g0=pt({prop:"gridTemplateRows"}),f0=pt({prop:"gridTemplateAreas"}),E0=pt({prop:"gridArea"});el(nl,rl,il,c0,d0,u0,_0,p0,m0,g0,f0,E0);function Di(e,t){return t==="grey"?t:e}const h0=pt({prop:"color",themeKey:"palette",transform:Di}),S0=pt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Di}),b0=pt({prop:"backgroundColor",themeKey:"palette",transform:Di});el(h0,S0,b0);function nn(e){return e<=1&&e!==0?`${e*100}%`:e}const T0=pt({prop:"width",transform:nn}),Wd=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{const r=e.theme?.breakpoints?.values?.[n]||js[n];return r?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:nn(n)}};return fr(e,e.maxWidth,t)}return null};Wd.filterProps=["maxWidth"];const C0=pt({prop:"minWidth",transform:nn}),y0=pt({prop:"height",transform:nn}),v0=pt({prop:"maxHeight",transform:nn}),R0=pt({prop:"minHeight",transform:nn});pt({prop:"size",cssProperty:"width",transform:nn}),pt({prop:"size",cssProperty:"height",transform:nn});const N0=pt({prop:"boxSizing"});el(T0,Wd,C0,y0,v0,R0,N0);const al={border:{themeKey:"borders",transform:pn},borderTop:{themeKey:"borders",transform:pn},borderRight:{themeKey:"borders",transform:pn},borderBottom:{themeKey:"borders",transform:pn},borderLeft:{themeKey:"borders",transform:pn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:pn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:tl},color:{themeKey:"palette",transform:Di},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Di},backgroundColor:{themeKey:"palette",transform:Di},p:{style:lt},pt:{style:lt},pr:{style:lt},pb:{style:lt},pl:{style:lt},px:{style:lt},py:{style:lt},padding:{style:lt},paddingTop:{style:lt},paddingRight:{style:lt},paddingBottom:{style:lt},paddingLeft:{style:lt},paddingX:{style:lt},paddingY:{style:lt},paddingInline:{style:lt},paddingInlineStart:{style:lt},paddingInlineEnd:{style:lt},paddingBlock:{style:lt},paddingBlockStart:{style:lt},paddingBlockEnd:{style:lt},m:{style:st},mt:{style:st},mr:{style:st},mb:{style:st},ml:{style:st},mx:{style:st},my:{style:st},margin:{style:st},marginTop:{style:st},marginRight:{style:st},marginBottom:{style:st},marginLeft:{style:st},marginX:{style:st},marginY:{style:st},marginInline:{style:st},marginInlineStart:{style:st},marginInlineEnd:{style:st},marginBlock:{style:st},marginBlockStart:{style:st},marginBlockEnd:{style:st},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:nl},rowGap:{style:il},columnGap:{style:rl},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:nn},maxWidth:{style:Wd},minWidth:{transform:nn},height:{transform:nn},maxHeight:{transform:nn},minHeight:{transform:nn},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function O0(...e){const t=e.reduce((r,i)=>r.concat(Object.keys(i)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function A0(e,t){return typeof e=="function"?e(t):e}function I0(){function e(n,r,i,a){const o={[n]:r,theme:i},s=a[n];if(!s)return{[n]:r};const{cssProperty:l=n,themeKey:c,transform:u,style:d}=s;if(r==null)return null;if(c==="typography"&&r==="inherit")return{[n]:r};const _=Qs(i,c)||{};return d?d(o):fr(o,r,f=>{let g=Xs(_,u,f);return f===g&&typeof f=="string"&&(g=Xs(_,u,`${n}${f==="default"?"":ri(f)}`,f)),l===!1?g:{[l]:g}})}function t(n){const{sx:r,theme:i={},nested:a}=n||{};if(!r)return null;const o=i.unstable_sxConfig??al;function s(l){let c=l;if(typeof l=="function")c=l(i);else if(typeof l!="object")return l;if(!c)return null;const u=zI(i.breakpoints),d=Object.keys(u);let _=u;return Object.keys(c).forEach(m=>{const f=A0(c[m],i);if(f!=null)if(typeof f=="object")if(o[m])_=Va(_,e(m,f,i,o));else{const g=fr({theme:i},f,E=>({[m]:E}));O0(g,f)?_[m]=t({sx:f,theme:i,nested:!0}):_=Va(_,g)}else _=Va(_,e(m,f,i,o))}),!a&&i.modularCssLayers?{"@layer sx":Eg(i,Sg(d,_))}:Eg(i,Sg(d,_))}return Array.isArray(r)?r.map(s):s(r)}return t}const Mi=I0();Mi.filterProps=["sx"];function qd(){return qd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qd.apply(null,arguments)}function x0(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function w0(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var D0=(function(){function e(n){var r=this;this._insertTag=function(i){var a;r.tags.length===0?r.insertionPoint?a=r.insertionPoint.nextSibling:r.prepend?a=r.container.firstChild:a=r.before:a=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(i,a),r.tags.push(i)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(w0(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var a=x0(i);try{a.insertRule(r,a.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var i;return(i=r.parentNode)==null?void 0:i.removeChild(r)}),this.tags=[],this.ctr=0},e})(),Pt="-ms-",ol="-moz-",De="-webkit-",Cg="comm",Kd="rule",jd="decl",M0="@import",yg="@keyframes",k0="@layer",L0=Math.abs,sl=String.fromCharCode,P0=Object.assign;function U0(e,t){return wt(e,0)^45?(((t<<2^wt(e,0))<<2^wt(e,1))<<2^wt(e,2))<<2^wt(e,3):0}function vg(e){return e.trim()}function F0(e,t){return(e=t.exec(e))?e[0]:e}function Me(e,t,n){return e.replace(t,n)}function Qd(e,t){return e.indexOf(t)}function wt(e,t){return e.charCodeAt(t)|0}function qa(e,t,n){return e.slice(t,n)}function Hn(e){return e.length}function Xd(e){return e.length}function ll(e,t){return t.push(e),e}function B0(e,t){return e.map(t).join("")}var cl=1,ki=1,Rg=0,qt=0,ht=0,Li="";function dl(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:cl,column:ki,length:o,return:""}}function Ka(e,t){return P0(dl("",null,null,"",null,null,0),e,{length:-e.length},t)}function G0(){return ht}function H0(){return ht=qt>0?wt(Li,--qt):0,ki--,ht===10&&(ki=1,cl--),ht}function rn(){return ht=qt<Rg?wt(Li,qt++):0,ki++,ht===10&&(ki=1,cl++),ht}function Yn(){return wt(Li,qt)}function ul(){return qt}function ja(e,t){return qa(Li,e,t)}function Qa(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Ng(e){return cl=ki=1,Rg=Hn(Li=e),qt=0,[]}function Og(e){return Li="",e}function _l(e){return vg(ja(qt-1,Zd(e===91?e+2:e===40?e+1:e)))}function Y0(e){for(;(ht=Yn())&&ht<33;)rn();return Qa(e)>2||Qa(ht)>3?"":" "}function z0(e,t){for(;--t&&rn()&&!(ht<48||ht>102||ht>57&&ht<65||ht>70&&ht<97););return ja(e,ul()+(t<6&&Yn()==32&&rn()==32))}function Zd(e){for(;rn();)switch(ht){case e:return qt;case 34:case 39:e!==34&&e!==39&&Zd(ht);break;case 40:e===41&&Zd(e);break;case 92:rn();break}return qt}function V0(e,t){for(;rn()&&e+ht!==57;)if(e+ht===84&&Yn()===47)break;return"/*"+ja(t,qt-1)+"*"+sl(e===47?e:rn())}function $0(e){for(;!Qa(Yn());)rn();return ja(e,qt)}function W0(e){return Og(pl("",null,null,null,[""],e=Ng(e),0,[0],e))}function pl(e,t,n,r,i,a,o,s,l){for(var c=0,u=0,d=o,_=0,m=0,f=0,g=1,E=1,h=1,S=0,T="",y=i,b=a,v=r,w=T;E;)switch(f=S,S=rn()){case 40:if(f!=108&&wt(w,d-1)==58){Qd(w+=Me(_l(S),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:w+=_l(S);break;case 9:case 10:case 13:case 32:w+=Y0(f);break;case 92:w+=z0(ul()-1,7);continue;case 47:switch(Yn()){case 42:case 47:ll(q0(V0(rn(),ul()),t,n),l);break;default:w+="/"}break;case 123*g:s[c++]=Hn(w)*h;case 125*g:case 59:case 0:switch(S){case 0:case 125:E=0;case 59+u:h==-1&&(w=Me(w,/\f/g,"")),m>0&&Hn(w)-d&&ll(m>32?Ig(w+";",r,n,d-1):Ig(Me(w," ","")+";",r,n,d-2),l);break;case 59:w+=";";default:if(ll(v=Ag(w,t,n,c,u,i,s,T,y=[],b=[],d),a),S===123)if(u===0)pl(w,t,v,v,y,a,d,s,b);else switch(_===99&&wt(w,3)===110?100:_){case 100:case 108:case 109:case 115:pl(e,v,v,r&&ll(Ag(e,v,v,0,0,i,s,T,i,y=[],d),b),i,b,d,s,r?y:b);break;default:pl(w,v,v,v,[""],b,0,s,b)}}c=u=m=0,g=h=1,T=w="",d=o;break;case 58:d=1+Hn(w),m=f;default:if(g<1){if(S==123)--g;else if(S==125&&g++==0&&H0()==125)continue}switch(w+=sl(S),S*g){case 38:h=u>0?1:(w+="\f",-1);break;case 44:s[c++]=(Hn(w)-1)*h,h=1;break;case 64:Yn()===45&&(w+=_l(rn())),_=Yn(),u=d=Hn(T=w+=$0(ul())),S++;break;case 45:f===45&&Hn(w)==2&&(g=0)}}return a}function Ag(e,t,n,r,i,a,o,s,l,c,u){for(var d=i-1,_=i===0?a:[""],m=Xd(_),f=0,g=0,E=0;f<r;++f)for(var h=0,S=qa(e,d+1,d=L0(g=o[f])),T=e;h<m;++h)(T=vg(g>0?_[h]+" "+S:Me(S,/&\f/g,_[h])))&&(l[E++]=T);return dl(e,t,n,i===0?Kd:s,l,c,u)}function q0(e,t,n){return dl(e,t,n,Cg,sl(G0()),qa(e,2,-2),0)}function Ig(e,t,n,r){return dl(e,t,n,jd,qa(e,0,r),qa(e,r+1,-1),r)}function Pi(e,t){for(var n="",r=Xd(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function K0(e,t,n,r){switch(e.type){case k0:if(e.children.length)break;case M0:case jd:return e.return=e.return||e.value;case Cg:return"";case yg:return e.return=e.value+"{"+Pi(e.children,r)+"}";case Kd:e.value=e.props.join(",")}return Hn(n=Pi(e.children,r))?e.return=e.value+"{"+n+"}":""}function j0(e){var t=Xd(e);return function(n,r,i,a){for(var o="",s=0;s<t;s++)o+=e[s](n,r,i,a)||"";return o}}function Q0(e){return function(t){t.root||(t=t.return)&&e(t)}}function xg(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var X0=function(t,n,r){for(var i=0,a=0;i=a,a=Yn(),i===38&&a===12&&(n[r]=1),!Qa(a);)rn();return ja(t,qt)},Z0=function(t,n){var r=-1,i=44;do switch(Qa(i)){case 0:i===38&&Yn()===12&&(n[r]=1),t[r]+=X0(qt-1,n,r);break;case 2:t[r]+=_l(i);break;case 4:if(i===44){t[++r]=Yn()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=sl(i)}while(i=rn());return t},J0=function(t,n){return Og(Z0(Ng(t),n))},wg=new WeakMap,ex=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,i=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!wg.get(r))&&!i){wg.set(t,!0);for(var a=[],o=J0(n,a),s=r.props,l=0,c=0;l<o.length;l++)for(var u=0;u<s.length;u++,c++)t.props[c]=a[l]?o[l].replace(/&\f/g,s[u]):s[u]+" "+o[l]}}},tx=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function Dg(e,t){switch(U0(e,t)){case 5103:return De+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return De+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return De+e+ol+e+Pt+e+e;case 6828:case 4268:return De+e+Pt+e+e;case 6165:return De+e+Pt+"flex-"+e+e;case 5187:return De+e+Me(e,/(\w+).+(:[^]+)/,De+"box-$1$2"+Pt+"flex-$1$2")+e;case 5443:return De+e+Pt+"flex-item-"+Me(e,/flex-|-self/,"")+e;case 4675:return De+e+Pt+"flex-line-pack"+Me(e,/align-content|flex-|-self/,"")+e;case 5548:return De+e+Pt+Me(e,"shrink","negative")+e;case 5292:return De+e+Pt+Me(e,"basis","preferred-size")+e;case 6060:return De+"box-"+Me(e,"-grow","")+De+e+Pt+Me(e,"grow","positive")+e;case 4554:return De+Me(e,/([^-])(transform)/g,"$1"+De+"$2")+e;case 6187:return Me(Me(Me(e,/(zoom-|grab)/,De+"$1"),/(image-set)/,De+"$1"),e,"")+e;case 5495:case 3959:return Me(e,/(image-set\([^]*)/,De+"$1$`$1");case 4968:return Me(Me(e,/(.+:)(flex-)?(.*)/,De+"box-pack:$3"+Pt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+De+e+e;case 4095:case 3583:case 4068:case 2532:return Me(e,/(.+)-inline(.+)/,De+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Hn(e)-1-t>6)switch(wt(e,t+1)){case 109:if(wt(e,t+4)!==45)break;case 102:return Me(e,/(.+:)(.+)-([^]+)/,"$1"+De+"$2-$3$1"+ol+(wt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Qd(e,"stretch")?Dg(Me(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(wt(e,t+1)!==115)break;case 6444:switch(wt(e,Hn(e)-3-(~Qd(e,"!important")&&10))){case 107:return Me(e,":",":"+De)+e;case 101:return Me(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+De+(wt(e,14)===45?"inline-":"")+"box$3$1"+De+"$2$3$1"+Pt+"$2box$3")+e}break;case 5936:switch(wt(e,t+11)){case 114:return De+e+Pt+Me(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return De+e+Pt+Me(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return De+e+Pt+Me(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return De+e+Pt+e+e}return e}var nx=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case jd:t.return=Dg(t.value,t.length);break;case yg:return Pi([Ka(t,{value:Me(t.value,"@","@"+De)})],i);case Kd:if(t.length)return B0(t.props,function(a){switch(F0(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Pi([Ka(t,{props:[Me(a,/:(read-\w+)/,":"+ol+"$1")]})],i);case"::placeholder":return Pi([Ka(t,{props:[Me(a,/:(plac\w+)/,":"+De+"input-$1")]}),Ka(t,{props:[Me(a,/:(plac\w+)/,":"+ol+"$1")]}),Ka(t,{props:[Me(a,/:(plac\w+)/,Pt+"input-$1")]})],i)}return""})}},rx=[nx],ix=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(g){var E=g.getAttribute("data-emotion");E.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var i=t.stylisPlugins||rx,a={},o,s=[];o=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(g){for(var E=g.getAttribute("data-emotion").split(" "),h=1;h<E.length;h++)a[E[h]]=!0;s.push(g)});var l,c=[ex,tx];{var u,d=[K0,Q0(function(g){u.insert(g)})],_=j0(c.concat(i,d)),m=function(E){return Pi(W0(E),_)};l=function(E,h,S,T){u=S,m(E?E+"{"+h.styles+"}":h.styles),T&&(f.inserted[h.name]=!0)}}var f={key:n,sheet:new D0({key:n,container:o,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:a,registered:{},insert:l};return f.sheet.hydrate(s),f},ax=!0;function ox(e,t,n){var r="";return n.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):i&&(r+=i+" ")}),r}var Mg=function(t,n,r){var i=t.key+"-"+n.name;(r===!1||ax===!1)&&t.registered[i]===void 0&&(t.registered[i]=n.styles)},sx=function(t,n,r){Mg(t,n,r);var i=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var a=n;do t.insert(n===a?"."+i:"",a,t.sheet,!0),a=a.next;while(a!==void 0)}};function lx(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var cx={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},dx=/[A-Z]|^ms/g,ux=/_EMO_([^_]+?)_([^]*?)_EMO_/g,kg=function(t){return t.charCodeAt(1)===45},Lg=function(t){return t!=null&&typeof t!="boolean"},Jd=xg(function(e){return kg(e)?e:e.replace(dx,"-$&").toLowerCase()}),Pg=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(ux,function(r,i,a){return zn={name:i,styles:a,next:zn},i})}return cx[t]!==1&&!kg(t)&&typeof n=="number"&&n!==0?n+"px":n};function Xa(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var i=n;if(i.anim===1)return zn={name:i.name,styles:i.styles,next:zn},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)zn={name:o.name,styles:o.styles,next:zn},o=o.next;var s=a.styles+";";return s}return _x(e,t,n)}case"function":{if(e!==void 0){var l=zn,c=n(e);return zn=l,Xa(e,t,c)}break}}var u=n;if(t==null)return u;var d=t[u];return d!==void 0?d:u}function _x(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=Xa(e,t,n[i])+";";else for(var a in n){var o=n[a];if(typeof o!="object"){var s=o;t!=null&&t[s]!==void 0?r+=a+"{"+t[s]+"}":Lg(s)&&(r+=Jd(a)+":"+Pg(a,s)+";")}else if(Array.isArray(o)&&typeof o[0]=="string"&&(t==null||t[o[0]]===void 0))for(var l=0;l<o.length;l++)Lg(o[l])&&(r+=Jd(a)+":"+Pg(a,o[l])+";");else{var c=Xa(e,t,o);switch(a){case"animation":case"animationName":{r+=Jd(a)+":"+c+";";break}default:r+=a+"{"+c+"}"}}}return r}var Ug=/label:\s*([^\s;{]+)\s*(;|$)/g,zn;function Fg(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i="";zn=void 0;var a=e[0];if(a==null||a.raw===void 0)r=!1,i+=Xa(n,t,a);else{var o=a;i+=o[0]}for(var s=1;s<e.length;s++)if(i+=Xa(n,t,e[s]),r){var l=a;i+=l[s]}Ug.lastIndex=0;for(var c="",u;(u=Ug.exec(i))!==null;)c+="-"+u[1];var d=lx(i)+c;return{name:d,styles:i,next:zn}}var px=function(t){return t()},mx=It.useInsertionEffect?It.useInsertionEffect:!1,gx=mx||px,Bg=It.createContext(typeof HTMLElement<"u"?ix({key:"css"}):null);Bg.Provider;var fx=function(t){return I.forwardRef(function(n,r){var i=I.useContext(Bg);return t(n,i,r)})},Ex=It.createContext({}),hx=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Sx=xg(function(e){return hx.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),bx=Sx,Tx=function(t){return t!=="theme"},Gg=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?bx:Tx},Hg=function(t,n,r){var i;if(n){var a=n.shouldForwardProp;i=t.__emotion_forwardProp&&a?function(o){return t.__emotion_forwardProp(o)&&a(o)}:a}return typeof i!="function"&&r&&(i=t.__emotion_forwardProp),i},Cx=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return Mg(n,r,i),gx(function(){return sx(n,r,i)}),null},yx=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,a,o;n!==void 0&&(a=n.label,o=n.target);var s=Hg(t,n,r),l=s||Gg(i),c=!l("as");return function(){var u=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&d.push("label:"+a+";"),u[0]==null||u[0].raw===void 0)d.push.apply(d,u);else{var _=u[0];d.push(_[0]);for(var m=u.length,f=1;f<m;f++)d.push(u[f],_[f])}var g=fx(function(E,h,S){var T=c&&E.as||i,y="",b=[],v=E;if(E.theme==null){v={};for(var w in E)v[w]=E[w];v.theme=It.useContext(Ex)}typeof E.className=="string"?y=ox(h.registered,b,E.className):E.className!=null&&(y=E.className+" ");var P=Fg(d.concat(b),h.registered,v);y+=h.key+"-"+P.name,o!==void 0&&(y+=" "+o);var M=c&&s===void 0?Gg(T):l,k={};for(var G in E)c&&G==="as"||M(G)&&(k[G]=E[G]);return k.className=y,S&&(k.ref=S),It.createElement(It.Fragment,null,It.createElement(Cx,{cache:h,serialized:P,isStringTag:typeof T=="string"}),It.createElement(T,k))});return g.displayName=a!==void 0?a:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=i,g.__emotion_styles=d,g.__emotion_forwardProp=s,Object.defineProperty(g,"toString",{value:function(){return"."+o}}),g.withComponent=function(E,h){var S=e(E,qd({},n,h,{shouldForwardProp:Hg(g,h,!0)}));return S.apply(void 0,d)},g}},vx=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],eu=yx.bind(null);vx.forEach(function(e){eu[e]=eu(e)});function Rx(e,t){const n=eu(e,t);return process.env.NODE_ENV!=="production"?(...r)=>{const i=typeof e=="string"?`"${e}"`:"component";return r.length===0?console.error([`MUI: Seems like you called \`styled(${i})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
110
54
|
`)):r.some(a=>a===void 0)&&console.error(`MUI: the styled(${i})(...args) API requires all its args to be defined.`),n(...r)}:n}function Nx(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const Yg=[];function ii(e){return Yg[0]=e,Fg(Yg)}const Ox=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>({...n,[r.key]:r.val}),{})};function Ax(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...i}=e,a=Ox(t),o=Object.keys(a);function s(_){return`@media (min-width:${typeof t[_]=="number"?t[_]:_}${n})`}function l(_){return`@media (max-width:${(typeof t[_]=="number"?t[_]:_)-r/100}${n})`}function c(_,m){const f=o.indexOf(m);return`@media (min-width:${typeof t[_]=="number"?t[_]:_}${n}) and (max-width:${(f!==-1&&typeof t[o[f]]=="number"?t[o[f]]:m)-r/100}${n})`}function u(_){return o.indexOf(_)+1<o.length?c(_,o[o.indexOf(_)+1]):s(_)}function d(_){const m=o.indexOf(_);return m===0?s(o[1]):m===o.length-1?l(o[m]):c(_,o[o.indexOf(_)+1]).replace("@media","@media not all and")}return{keys:o,values:a,up:s,down:l,between:c,only:u,not:d,unit:n,...i}}const Ix={borderRadius:4};function zg(e=8,t=$d({spacing:e})){if(e.mui)return e;const n=(...r)=>(process.env.NODE_ENV!=="production"&&(r.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${r.length}`)),(r.length===0?[1]:r).map(a=>{const o=t(a);return typeof o=="number"?`${o}px`:o}).join(" "));return n.mui=!0,n}function xx(e,t){const n=this;if(n.vars){if(!n.colorSchemes?.[e]||typeof n.getColorSchemeSelector!="function")return{};let r=n.getColorSchemeSelector(e);return r==="&"?t:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:t})}return n.palette.mode===e?t:{}}function Vg(e={},...t){const{breakpoints:n={},palette:r={},spacing:i,shape:a={},...o}=e,s=Ax(n),l=zg(i);let c=tn({breakpoints:s,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:l,shape:{...Ix,...a}},o);return c=HI(c),c.applyStyles=xx,c=t.reduce((u,d)=>tn(u,d),c),c.unstable_sxConfig={...al,...o?.unstable_sxConfig},c.unstable_sx=function(d){return Mi({sx:d,theme:this})},c}const wx={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function tu(e,t,n="Mui"){const r=wx[t];return r?`${n}-${r}`:`${OI.generate(e)}-${t}`}function Dx(e,t,n="Mui"){const r={};return t.forEach(i=>{r[i]=tu(e,i,n)}),r}function $g(e,t=""){return e.displayName||e.name||t}function Wg(e,t,n){const r=$g(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function Mx(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return $g(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Ks.ForwardRef:return Wg(e,e.render,"ForwardRef");case Ks.Memo:return Wg(e,e.type,"memo");default:return}}}function qg(e){const{variants:t,...n}=e,r={variants:t,style:ii(n),isProcessed:!0};return r.style===n||t&&t.forEach(i=>{typeof i.style!="function"&&(i.style=ii(i.style))}),r}const kx=Vg();function nu(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function ai(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Lx(e){return e?(t,n)=>n[e]:null}function Px(e,t,n){e.theme=Gx(e.theme)?n:e.theme[t]||e.theme}function ml(e,t,n){const r=typeof t=="function"?t(e):t;if(Array.isArray(r))return r.flatMap(i=>ml(e,i,n));if(Array.isArray(r?.variants)){let i;if(r.isProcessed)i=n?ai(r.style,n):r.style;else{const{variants:a,...o}=r;i=n?ai(ii(o),n):o}return Kg(e,r.variants,[i],n)}return r?.isProcessed?n?ai(ii(r.style),n):r.style:n?ai(ii(r),n):r}function Kg(e,t,n=[],r=void 0){let i;e:for(let a=0;a<t.length;a+=1){const o=t[a];if(typeof o.props=="function"){if(i??={...e,...e.ownerState,ownerState:e.ownerState},!o.props(i))continue}else for(const s in o.props)if(e[s]!==o.props[s]&&e.ownerState?.[s]!==o.props[s])continue e;typeof o.style=="function"?(i??={...e,...e.ownerState,ownerState:e.ownerState},n.push(r?ai(ii(o.style(i)),r):o.style(i))):n.push(r?ai(ii(o.style),r):o.style)}return n}function Ux(e={}){const{themeId:t,defaultTheme:n=kx,rootShouldForwardProp:r=nu,slotShouldForwardProp:i=nu}=e;function a(s){Px(s,t,n)}return(s,l={})=>{Nx(s,v=>v.filter(w=>w!==Mi));const{name:c,slot:u,skipVariantsResolver:d,skipSx:_,overridesResolver:m=Lx(jg(u)),...f}=l,g=c&&c.startsWith("Mui")||u?"components":"custom",E=d!==void 0?d:u&&u!=="Root"&&u!=="root"||!1,h=_||!1;let S=nu;u==="Root"||u==="root"?S=r:u?S=i:Hx(s)&&(S=void 0);const T=Rx(s,{shouldForwardProp:S,label:Bx(c,u),...f}),y=v=>{if(v.__emotion_real===v)return v;if(typeof v=="function")return function(P){return ml(P,v,P.theme.modularCssLayers?g:void 0)};if(gr(v)){const w=qg(v);return function(M){return w.variants?ml(M,w,M.theme.modularCssLayers?g:void 0):M.theme.modularCssLayers?ai(w.style,g):w.style}}return v},b=(...v)=>{const w=[],P=v.map(y),M=[];if(w.push(a),c&&m&&M.push(function(x){const R=x.theme.components?.[c]?.styleOverrides;if(!R)return null;const L={};for(const B in R)L[B]=ml(x,R[B],x.theme.modularCssLayers?"theme":void 0);return m(x,L)}),c&&!E&&M.push(function(x){const R=x.theme?.components?.[c]?.variants;return R?Kg(x,R,[],x.theme.modularCssLayers?"theme":void 0):null}),h||M.push(Mi),Array.isArray(P[0])){const C=P.shift(),x=new Array(w.length).fill(""),O=new Array(M.length).fill("");let R;R=[...x,...C,...O],R.raw=[...x,...C.raw,...O],w.unshift(R)}const k=[...w,...P,...M],G=T(...k);return s.muiName&&(G.muiName=s.muiName),process.env.NODE_ENV!=="production"&&(G.displayName=Fx(c,u,s)),G};return T.withConfig&&(b.withConfig=T.withConfig),b}}function Fx(e,t,n){return e?`${e}${ri(t||"")}`:`Styled(${Mx(n)})`}function Bx(e,t){let n;return process.env.NODE_ENV!=="production"&&e&&(n=`${e}-${jg(t||"Root")}`),n}function Gx(e){for(const t in e)return!1;return!0}function Hx(e){return typeof e=="string"&&e.charCodeAt(0)>96}function jg(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function ru(e,t,n=!1){const r={...t};for(const i in e)if(Object.prototype.hasOwnProperty.call(e,i)){const a=i;if(a==="components"||a==="slots")r[a]={...e[a],...r[a]};else if(a==="componentsProps"||a==="slotProps"){const o=e[a],s=t[a];if(!s)r[a]=o||{};else if(!o)r[a]=s;else{r[a]={...s};for(const l in o)if(Object.prototype.hasOwnProperty.call(o,l)){const c=l;r[a][c]=ru(o[c],s[c],n)}}}else a==="className"&&n&&t.className?r.className=_g(e?.className,t?.className):a==="style"&&n&&t.style?r.style={...e?.style,...t?.style}:r[a]===void 0&&(r[a]=e[a])}return r}function Yx(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function iu(e,t=0,n=1){return process.env.NODE_ENV!=="production"&&(e<t||e>n)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`),Yx(e,t,n)}function zx(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),process.env.NODE_ENV!=="production"&&e.length!==e.trim().length&&console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`),n?`rgb${n.length===4?"a":""}(${n.map((r,i)=>i<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function Pr(e){if(e.type)return e;if(e.charAt(0)==="#")return Pr(zx(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
111
55
|
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:kr(9,e));let r=e.substring(t+1,e.length-1),i;if(n==="color"){if(r=r.split(" "),i=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(i))throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${i}\` color space.
|
|
112
56
|
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:kr(10,i))}else r=r.split(",");return r=r.map(a=>parseFloat(a)),{type:n,values:r,colorSpace:i}}const Vx=e=>{const t=Pr(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},Za=(e,t)=>{try{return Vx(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function gl(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((i,a)=>a<3?parseInt(i,10):i):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.includes("color")?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function Qg(e){e=Pr(e);const{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,a=r*Math.min(i,1-i),o=(c,u=(c+n/30)%12)=>i-a*Math.max(Math.min(u-3,9-u,1),-1);let s="rgb";const l=[Math.round(o(0)*255),Math.round(o(8)*255),Math.round(o(4)*255)];return e.type==="hsla"&&(s+="a",l.push(t[3])),gl({type:s,values:l})}function au(e){e=Pr(e);let t=e.type==="hsl"||e.type==="hsla"?Pr(Qg(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Xg(e,t){const n=au(e),r=au(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Zg(e,t){return e=Pr(e),t=iu(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,gl(e)}function oi(e,t,n){try{return Zg(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function fl(e,t){if(e=Pr(e),t=iu(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return gl(e)}function Ge(e,t,n){try{return fl(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function El(e,t){if(e=Pr(e),t=iu(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return gl(e)}function He(e,t,n){try{return El(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function $x(e,t=.15){return au(e)>.5?fl(e,t):El(e,t)}function hl(e,t,n){try{return $x(e,t)}catch{return e}}const Wx=It.createContext(void 0);process.env.NODE_ENV!=="production"&&(xe.node,xe.object);function qx(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const i=t.components[n];return i.defaultProps?ru(i.defaultProps,r,t.components.mergeClassNameAndStyle):!i.styleOverrides&&!i.variants?ru(i,r,t.components.mergeClassNameAndStyle):r}function Kx({props:e,name:t}){const n=It.useContext(Wx);return qx({props:e,name:t,theme:{components:n}})}const Jg={theme:void 0};function jx(e){let t,n;return function(i){let a=t;return(a===void 0||i.theme!==n)&&(Jg.theme=i.theme,a=qg(e(Jg)),t=a,n=i.theme),a}}function Qx(e=""){function t(...r){if(!r.length)return"";const i=r[0];return typeof i=="string"&&!i.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${i}${t(...r.slice(1))})`:`, ${i}`}return(r,...i)=>`var(--${e?`${e}-`:""}${r}${t(...i)})`}const ef=(e,t,n,r=[])=>{let i=e;t.forEach((a,o)=>{o===t.length-1?Array.isArray(i)?i[Number(a)]=n:i&&typeof i=="object"&&(i[a]=n):i&&typeof i=="object"&&(i[a]||(i[a]=r.includes(a)?[]:{}),i=i[a])})},Xx=(e,t,n)=>{function r(i,a=[],o=[]){Object.entries(i).forEach(([s,l])=>{(!n||n&&!n([...a,s]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?r(l,[...a,s],Array.isArray(l)?[...o,s]:o):t([...a,s],l,o))})}r(e)},Zx=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>e.includes(r))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function ou(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},i={},a={},o={};return Xx(e,(s,l,c)=>{if((typeof l=="string"||typeof l=="number")&&(!r||!r(s,l))){const u=`--${n?`${n}-`:""}${s.join("-")}`,d=Zx(s,l);Object.assign(i,{[u]:d}),ef(a,s,`var(${u})`,c),ef(o,s,`var(${u}, ${d})`,c)}},s=>s[0]==="vars"),{css:i,vars:a,varsWithDefaults:o}}function Jx(e,t={}){const{getSelector:n=h,disableCssColorScheme:r,colorSchemeSelector:i,enableContrastVars:a}=t,{colorSchemes:o={},components:s,defaultColorScheme:l="light",...c}=e,{vars:u,css:d,varsWithDefaults:_}=ou(c,t);let m=_;const f={},{[l]:g,...E}=o;if(Object.entries(E||{}).forEach(([y,b])=>{const{vars:v,css:w,varsWithDefaults:P}=ou(b,t);m=tn(m,P),f[y]={css:w,vars:v}}),g){const{css:y,vars:b,varsWithDefaults:v}=ou(g,t);m=tn(m,v),f[l]={css:y,vars:b}}function h(y,b){let v=i;if(i==="class"&&(v=".%s"),i==="data"&&(v="[data-%s]"),i?.startsWith("data-")&&!i.includes("%s")&&(v=`[${i}="%s"]`),y){if(v==="media")return e.defaultColorScheme===y?":root":{[`@media (prefers-color-scheme: ${o[y]?.palette?.mode||y})`]:{":root":b}};if(v)return e.defaultColorScheme===y?`:root, ${v.replace("%s",String(y))}`:v.replace("%s",String(y))}return":root"}return{vars:m,generateThemeVars:()=>{let y={...u};return Object.entries(f).forEach(([,{vars:b}])=>{y=tn(y,b)}),y},generateStyleSheets:()=>{const y=[],b=e.defaultColorScheme||"light";function v(M,k){Object.keys(k).length&&y.push(typeof M=="string"?{[M]:{...k}}:M)}v(n(void 0,{...d}),d);const{[b]:w,...P}=f;if(w){const{css:M}=w,k=o[b]?.palette?.mode,G=!r&&k?{colorScheme:k,...M}:{...M};v(n(b,{...G}),G)}return Object.entries(P).forEach(([M,{css:k}])=>{const G=o[M]?.palette?.mode,C=!r&&G?{colorScheme:G,...k}:{...k};v(n(M,{...C}),C)}),a&&y.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),y}}}function ew(e){return function(n){return e==="media"?(process.env.NODE_ENV!=="production"&&n!=="light"&&n!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${n}'.`),`@media (prefers-color-scheme: ${n})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${n}"] &`:e==="class"?`.${n} &`:e==="data"?`[data-${n}] &`:`${e.replace("%s",n)} &`:"&"}}const Ja={black:"#000",white:"#fff"},tw={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Ui={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},Fi={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},eo={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},Bi={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},Gi={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Hi={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function tf(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Ja.white,default:Ja.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const nf=tf();function rf(){return{text:{primary:Ja.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Ja.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const su=rf();function af(e,t,n,r){const i=r.light||r,a=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=El(e.main,i):t==="dark"&&(e.dark=fl(e.main,a)))}function of(e,t,n,r,i){const a=i.light||i,o=i.dark||i*1.5;t[n]||(t.hasOwnProperty(r)?t[n]=t[r]:n==="light"?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(a*100).toFixed(0)}%)`:n==="dark"&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(o*100).toFixed(0)}%)`))}function nw(e="light"){return e==="dark"?{main:Bi[200],light:Bi[50],dark:Bi[400]}:{main:Bi[700],light:Bi[400],dark:Bi[800]}}function rw(e="light"){return e==="dark"?{main:Ui[200],light:Ui[50],dark:Ui[400]}:{main:Ui[500],light:Ui[300],dark:Ui[700]}}function iw(e="light"){return e==="dark"?{main:Fi[500],light:Fi[300],dark:Fi[700]}:{main:Fi[700],light:Fi[400],dark:Fi[800]}}function aw(e="light"){return e==="dark"?{main:Gi[400],light:Gi[300],dark:Gi[700]}:{main:Gi[700],light:Gi[500],dark:Gi[900]}}function ow(e="light"){return e==="dark"?{main:Hi[400],light:Hi[300],dark:Hi[700]}:{main:Hi[800],light:Hi[500],dark:Hi[900]}}function sw(e="light"){return e==="dark"?{main:eo[400],light:eo[300],dark:eo[700]}:{main:"#ed6c02",light:eo[500],dark:eo[900]}}function lw(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function lu(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,colorSpace:i,...a}=e,o=e.primary||nw(t),s=e.secondary||rw(t),l=e.error||iw(t),c=e.info||aw(t),u=e.success||ow(t),d=e.warning||sw(t);function _(E){if(i)return lw(E);const h=Xg(E,su.text.primary)>=n?su.text.primary:nf.text.primary;if(process.env.NODE_ENV!=="production"){const S=Xg(E,h);S<3&&console.error([`MUI: The contrast ratio of ${S}:1 for ${h} on ${E}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|