digi-mathchem-editor 1.0.25 → 1.0.26
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.
|
@@ -292,14 +292,14 @@
|
|
|
292
292
|
text-align: right;
|
|
293
293
|
padding-top: 0.1em;
|
|
294
294
|
}
|
|
295
|
-
`;function oe(l){const n=l==null?void 0:l.shadowRoot;if(!n)return;const
|
|
296
|
-
${
|
|
295
|
+
`;function oe(l){const n=l==null?void 0:l.shadowRoot;if(!n)return;const s=l.hasAttribute("read-only")||l.hasAttribute("readonly"),a=s?"readonly":"editable";let o=n.querySelector(`[${We}]`);o&&o.getAttribute("data-cache")===a||(o||(o=document.createElement("style"),o.setAttribute(We,"true"),n.appendChild(o)),o.setAttribute("data-cache",a),o.textContent=`
|
|
296
|
+
${s?`
|
|
297
297
|
:host, :host * { cursor: pointer !important; }
|
|
298
298
|
.ML__latex, .ML__content, .ML__container, .ML__virtual-keyboard-toggle { cursor: pointer !important; }
|
|
299
299
|
`:""}
|
|
300
300
|
${Ie}
|
|
301
|
-
`)}function Xe(){document.querySelectorAll("math-field").forEach(oe)}let ue=null;function _e(){ue||(Xe(),ue=new MutationObserver(l=>{var n,a,h;for(const o of l){if(o.type==="attributes"&&((n=o.target.tagName)==null?void 0:n.toLowerCase())==="math-field"){oe(o.target);continue}if(o.addedNodes)for(const m of o.addedNodes)m instanceof Element&&(((a=m.tagName)==null?void 0:a.toLowerCase())==="math-field"&&requestAnimationFrame(()=>oe(m)),(h=m.querySelectorAll)==null||h.call(m,"math-field").forEach(b=>requestAnimationFrame(()=>oe(b))))}}),ue.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["read-only","readonly"]}))}const Be=[{id:"All",name:"All"},{id:"Symbol",name:"Symbol",ranges:[[8704,8959],[9728,9983],[8592,8703],[9984,10175]]},{id:"Punctuation",name:"Punctuation",ranges:[[33,47],[58,64],[91,96],[123,126],[161,161],[171,171],[187,187],[191,191],[8208,8231],[8240,8286],[10088,10101],[10214,10223],[10627,10648],[11776,11903],[12288,12351],[65104,65135],[65281,65295],[65306,65312],[65339,65344],[65371,65381]]},{id:"Letter",name:"Letter",ranges:[[65,90],[97,122],[880,1023],[1024,1279]]},{id:"Mark",name:"Mark",ranges:[[169,169],[174,174],[8224,8231],[8240,8286],[8471,8471],[8482,8482],[9744,9746],[10003,10008],[10013,10017],[10018,10059],[10067,10074],[10081,10087],[10132,10174],[128500,128505]]},{id:"Number",name:"Number",ranges:[[48,57],[8304,8351],[8528,8591],[9312,9471],[10102,10131],[65296,65305],[120782,120831]]},{id:"Phonetic",name:"Phonetic",ranges:[[592,687],[688,767],[7424,7551],[7552,7615],[43824,43887]]},{id:"Other",name:"Other",ranges:[[8352,8399],[8448,8527],[8960,9215],[9472,9599],[9600,9631],[9632,9727],[10240,10495],[11008,11263]]}],Ke=(()=>{const l=[];return Be.slice(1).forEach(n=>{n.ranges.forEach(a=>{for(let h=a[0];h<=a[1];h++){if(h>=127&&h<=159)continue;const o=String.fromCodePoint(h);new RegExp("\\p{C}","u").test(o)||l.push({code:h.toString(16).toUpperCase().padStart(4,"0"),char:o,category:n.id})}})}),l})();function Ye({isOpen:l,onClose:n,onInsert:a,position:h}){const[o,m]=e.useState(""),[b,p]=e.useState("All");e.useEffect(()=>{l&&(m(""),p("All"))},[l]);const y=e.useMemo(()=>{let u=Ke;if(b!=="All"&&(u=u.filter(M=>M.category===b)),o.trim()){const M=o.trim().toUpperCase();u=u.filter(x=>x.code.includes(M))}return u},[b,o]),L=e.useMemo(()=>{if(b!=="All"&&!o.trim())return{[b]:y};const u={};return y.forEach(M=>{u[M.category]||(u[M.category]=[]),u[M.category].push(M)}),u},[y,b,o]),k=u=>{u.key==="Escape"&&n()};if(e.useEffect(()=>(l&&window.addEventListener("keydown",k),()=>window.removeEventListener("keydown",k)),[l]),!l)return null;let v={top:"50%",left:"50%",transform:"translate(-50%, -50%)"};if(h){let u=h.x-120,M=h.y;u<10&&(u=10),u+230>window.innerWidth&&(u=window.innerWidth-240),M+200>window.innerHeight&&(M=window.innerHeight-210),v={top:`${M}px`,left:`${u}px`}}return e.createElement("div",{className:"scm-overlay",onMouseDown:u=>{u.stopPropagation(),n()}},e.createElement("div",{className:"scm-modal",style:v,onMouseDown:u=>u.stopPropagation()},e.createElement("div",{className:"scm-toolbar"},e.createElement("input",{type:"text",placeholder:"Code",value:o,onChange:u=>m(u.target.value),className:"scm-code-input"}),e.createElement("select",{value:b,onChange:u=>p(u.target.value),className:"scm-category-select"},Be.map(u=>e.createElement("option",{key:u.id,value:u.id},u.name)))),e.createElement("div",{className:"scm-body"},e.createElement("div",{className:"scm-grid-container"},Object.entries(L).map(([u,M])=>e.createElement("div",{key:u,className:"scm-category-group"},e.createElement("div",{className:"scm-char-grid"},M.map(x=>e.createElement("button",{key:x.code,className:"scm-char-btn",onClick:()=>{a(x.char),n()},title:`U+${x.code}`},x.char))))),y.length===0&&e.createElement("div",{className:"scm-no-results"},"No characters found.")))))}const Ge={version:"1.0.25"};window.__cme_macros={...window.__cme_macros,cmeLeftRightAbove:{def:"\\class{cme-flip-v}{\\xtofrom[\\class{cme-flip-v}{#1}]{}}",args:1},cmeLeftRightBelow:{def:"\\class{cme-flip-v}{\\xtofrom{\\class{cme-flip-v}{#1}}}",args:1},cmeLeftRightBoth:{def:"\\class{cme-flip-v}{\\xtofrom[\\class{cme-flip-v}{#1}]{\\class{cme-flip-v}{#2}}}",args:2},cmeWideHat:{def:"\\class{cme-wide-hat-text}{#1}",args:1},notin:{def:"\\mathrel{\\char`∉}"},notni:{def:"\\mathrel{\\char`∌}"}},typeof window<"u"&&(window.MathfieldElement?window.MathfieldElement.fontsDirectory="https://cdn.jsdelivr.net/npm/mathlive/dist/fonts":Se.MathfieldElement&&(Se.MathfieldElement.fontsDirectory="https://cdn.jsdelivr.net/npm/mathlive/dist/fonts")),window.__ckMathWidgets=window.__ckMathWidgets||new Map,window.__ckMathWidgetClickHandler=null;function $e(l){var a,h,o,m,b;if(!l)return null;const n=typeof l.composedPath=="function"?l.composedPath():[l];for(const p of n)if(p instanceof HTMLElement&&((a=p.classList)!=null&&a.contains("ck-math-widget")||(h=p.dataset)!=null&&h.mathId||(o=p.classList)!=null&&o.contains("ck-widget")&&((m=p.querySelector)!=null&&m.call(p,".ck-math-widget-inner"))))return p;return l instanceof Element?(b=l.closest)==null?void 0:b.call(l,".ck-math-widget, [data-math-id]"):null}function we(l){if(!l)return"";let n="",a=0;for(;a<l.length;){let h=l.indexOf("\\placeholder",a);if(h===-1){n+=l.slice(a);break}if(n+=l.slice(a,h),a=h+12,l[a]==="["){let o=1;for(a++;a<l.length&&o>0;)l[a]==="["?o++:l[a]==="]"&&o--,a++}if(l[a]==="{"){let o=1,m=a+1;for(a++;a<l.length&&o>0;)l[a]==="{"?o++:l[a]==="}"&&o--,a++;let b=l.slice(m,a-1);b.trim()===""?n+="\\quad ":n+=b}}return n}function G(l){let n="",a=0;const h="\\text{";for(;a<l.length;){const o=l.indexOf(h,a);if(o===-1){n+=l.slice(a);break}n+=l.slice(a,o);let m=1,b=o+h.length;for(;b<l.length&&m>0;)l[b]==="{"?m++:l[b]==="}"&&m--,b++;const p=l.slice(o+h.length,b-1);/^['"/]+$/.test(p)||p.includes("\\textquotedbl")||p.includes("\\textquotesingle")?n+="\\text{"+p+"}":n+=p,a=b}return n}function De(l,n){let a=0,h=n-1;for(;h>=0&&l[h]==="\\";)a++,h--;return a%2===1}function Ne(l){if(!l||typeof l!="string")return l||"";let n=l;const a=["\\mathbfit{","\\boldsymbol{","\\mathbf{","\\mathit{","\\mathrm{","\\textbf{","\\textit{","\\textmd{","\\textnormal{","\\text{","\\mbox{","\\bm{","\\bold{","\\pmb{","\\mathsf{","\\mathtt{"];let h=!0,o=0;for(;h&&o<10;){h=!1,o++;for(const m of a){let b=0;for(;b<n.length;){const p=n.indexOf(m,b);if(p===-1)break;let y=1,L=p+m.length;for(;L<n.length&&y>0;)n[L]==="{"&&!De(n,L)?y++:n[L]==="}"&&!De(n,L)&&y--,L++;if(y===0){const k=n.slice(p+m.length,L-1);n=n.slice(0,p)+k+n.slice(L),h=!0,b=p}else b=p+m.length}}}return n}function Re(l){return!l||typeof l!="string"?!1:[/[\^_]/,/\\frac\b/,/\\tfrac\b/,/\\nicefrac\b/,/\\sqrt\b/,/\\ce\b/,/\\int\b/,/\\iint\b/,/\\iiint\b/,/\\oint\b/,/\\sum\b/,/\\prod\b/,/\\lim\b/,/\\begin\b/,/\\enclose\b/,/\\placeholder\b/,/\\over\b/,/\\vec\b/,/\\hat\b/,/\\tilde\b/,/\\bar\b/,/\\dot\b/,/\\ddot\b/,/\\underbrace\b/,/\\overbrace\b/,/\\overset\b/,/\\underset\b/,/\\raisebox\b/,/\\lowerbox\b/,/\\left\b/,/\\right\b/,/\\class\b/,/\\style\b/,/\\(LARGE|Large|large|scriptsize|tiny|small|huge|Huge|footnotesize|normalsize)\b/,/\\alpha\b|\\beta\b|\\gamma\b|\\delta\b|\\epsilon\b|\\zeta\b|\\eta\b|\\theta\b|\\iota\b|\\kappa\b|\\lambda\b|\\mu\b|\\nu\b|\\xi\b|\\pi\b|\\rho\b|\\sigma\b|\\tau\b|\\upsilon\b|\\phi\b|\\chi\b|\\psi\b|\\omega\b/,/\\Gamma\b|\\Delta\b|\\Theta\b|\\Lambda\b|\\Xi\b|\\Pi\b|\\Sigma\b|\\Upsilon\b|\\Phi\b|\\Psi\b|\\Omega\b/,/\\pm\b|\\times\b|\\div\b|\\leq\b|\\geq\b|\\neq\b|\\approx\b|\\infty\b|\\partial\b|\\to\b|\\rightarrow\b/].some(a=>a.test(l))}function et(l,n){return l?Re(l)?l:(n==null?void 0:n.fontFamily)==="sans-serif"?`\\mathsf{${l}}`:(n==null?void 0:n.fontFamily)==="monospace"?`\\mathtt{${l}}`:(n==null?void 0:n.fontFamily)==="roman"?`\\mathrm{${l}}`:l:""}function Oe(l,n,a,h){if(!l)return"";if(!n&&!a)return et(l,{fontFamily:h});const o=h==="sans-serif",m=h==="monospace",b=h==="roman";return n&&a?o?`\\boldsymbol{\\mathsf{${l}}}`:m?`\\boldsymbol{\\mathtt{${l}}}`:b?`\\mathbfit{\\mathrm{${l}}}`:`\\mathbfit{${l}}`:n?o?`\\boldsymbol{\\mathsf{${l}}}`:m?`\\boldsymbol{\\mathtt{${l}}}`:b?`\\mathbf{\\mathrm{${l}}}`:`\\mathbf{${l}}`:a?o?`\\mathsf{${l}}`:m?`\\mathtt{${l}}`:b?`\\mathit{\\mathrm{${l}}}`:`\\mathit{${l}}`:l}function ae(l,n,a,h){if(!l)return"";let o=l.trim();const m=o.match(/^\\displaylines\s*\{([\s\S]*)\}$/i);if(m&&(o=m[1].trim()),o.match(/^\\begin\{(array|matrix|pmatrix|bmatrix|vmatrix|Vmatrix|align|aligned|gather|cases)\}([\s\S]*)\\end\{\1\}$/i))return o;const p=o.match(/^\\begin\{(array|gather)\}(\{[\s\S]*?\})?([\s\S]*?)\\end\{\1\}$/i);if(p&&(o=p[3].trim()),/\\\\|\\cr|\\newline|\\par|\n/.test(o)){const y=/\\\\(?:\[[^\]]*\])?|\\cr|\\newline|\\par|\n/;return`\\displaylines{${o.split(y).map(v=>{const u=v.trim();return u?Oe(u,n,a,h):""}).filter(v=>v.length>0).join(" \\\\ ")}}`}return Oe(o,n,a,h)}function se(l){return l.replace(/\\enclose\{([^}]*)\}\[.*?\]/g,"\\enclose{$1}")}function xe(l=""){return typeof l!="string"?l:l.replace(/\\textasciitilde/g,"\\text{~}").replace(/\\textasciicircum/g,"\\text{^}").replace(/\\textasteriskcentered/g,"*").replace(/\\char96/g,"`")}function he(l){if(!l)return"";const n=l.getAttribute("data-latex");if(n)return n;const a=l.querySelector("math-field");return a?a.getValue?a.getValue("latex-expanded"):a.value||"":""}function Ve(l,n){if(!l||!n)return!1;try{return l.model.createPositionBefore(n),!0}catch{return!1}}function tt(l,n){var p;if(!l||!n)return null;const a=l.model.document.selection.getSelectedElement();if((a==null?void 0:a.name)==="mathInline")return a;const h=n.getAttribute("data-math-id");if(h){const y=window.__ckMathWidgets.get(h);if(Ve(l,y))return y}const o=l.editing.view.domConverter.mapDomToView(n);if(o){const y=l.editing.mapper.toModelElement(o);if((y==null?void 0:y.name)==="mathInline")return y}const m=he(n);if(!m)return null;const b=l.model.document.getRoot();for(const{item:y}of l.model.createRangeIn(b))if((p=y.is)!=null&&p.call(y,"element","mathInline")&&y.getAttribute("latex")===m)return y;return null}function He(l,n,a,h){if(!l||l._mathWidgetOpening)return;l._mathWidgetOpening=!0,queueMicrotask(()=>{l._mathWidgetOpening=!1});const o=Ve(l,n)?n:tt(l,h),m=(o==null?void 0:o.getAttribute("latex"))||a||he(h);if(!m)return;o&&l.model.change(p=>{p.setSelection(o,"on")});const b=l.mathWidgetClickHandler||window.__ckMathWidgetClickHandler;b&&b(o,m),window.dispatchEvent(new CustomEvent("editAneesWidget",{detail:{editor:l,modelElement:o,latex:m}}))}function lt(l,n){if(!n||n._ckMathClickBound)return;n._ckMathClickBound=!0;const a=h=>{var o;h.button===0&&(h.preventDefault(),h.stopPropagation(),(o=h.stopImmediatePropagation)==null||o.call(h),He(l,null,he(n),n))};n.addEventListener("mousedown",a,!0),n.addEventListener("click",a,!0)}const rt=[{label:"√(□)",fontSize:"9px",mathLabel:"\\sqrt{\\square} \\, \\frac{#0}{#?}",items:[{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"2",width:"18",height:"20",rx:"2"}),e.createElement("line",{x1:"6",y1:"32",x2:"50",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"18",y:"40",width:"18",height:"20",rx:"2"})),insert:"\\frac{#0}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M6 34 L14 34 L20 50 L30 10 L54 10",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"36",y:"18",width:"16",height:"20",rx:"2"})),insert:"\\sqrt{#0}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Square Root"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"5",y:"16",width:"18",height:"20",rx:"1"}),e.createElement("line",{x1:"26",y1:"50",x2:"40",y2:"18",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"38",y:"34",width:"18",height:"20",rx:"1"})),insert:"{\\large {}^{#?}/_{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Text Fraction"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M6 36 L14 36 L20 50 L30 10 L56 10",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"12",y:"16",width:"8",height:"12",rx:"2"}),e.createElement("rect",{x:"40",y:"22",width:"12",height:"22",rx:"2"})),insert:"\\sqrt[#?]{#0}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Nth Root Fraction"},{type:"sep",cols:1},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"10",y:"22",width:"12",height:"22",rx:"2"}),e.createElement("rect",{x:"28",y:"10",width:"12",height:"22",rx:"2",opacity:"0.45"})),insert:"#0^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Superscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"10",y:"10",width:"12",height:"22",rx:"2"}),e.createElement("rect",{x:"28",y:"28",width:"12",height:"22",rx:"2",opacity:"0.45"})),insert:"#0_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Subscript"},{type:"sep",cols:2},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 12 Q8 32 18 52",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M46 12 Q56 32 46 52",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left(#0\\right)",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Parentheses"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 12H12V52H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M46 12H52V52H46",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left[#0\\right]",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Square Brackets"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"16",y1:"12",x2:"16",y2:"52",stroke:"#222",strokeWidth:"4"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("line",{x1:"48",y1:"12",x2:"48",y2:"52",stroke:"#222",strokeWidth:"4"})),insert:"\\left|#0\\right|",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"vertical bars"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M20 12C16 12 16 18 18 22C19 24 19 26 16 29C19 32 19 34 18 36C16 40 16 46 20 52",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M44 12C48 12 48 18 46 22C45 24 45 26 48 29C45 32 45 34 46 36C48 40 48 46 44 52",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"})),insert:"\\left\\{#0\\right\\}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Curly Braces"},{type:"sep",cols:2,small:!0},{label:"+",insert:"+",title:"Plus"},{label:"/",insert:"/",title:"Divide"},{label:"×",insert:"\\times",title:"Multiply"},{label:"±",insert:"\\pm",title:"Plus-minus"},{label:"−",insert:"-",title:"Minus"},{label:"÷",insert:"\\div",title:"Divide sign"},{type:"sep",cols:2,small:!0},{label:"≥",insert:"\\geq",title:"Greater than or equal to"},{label:"≤",insert:"\\leq",title:"Less than or equal to"},{label:"∈",insert:"\\in",title:"Element of"},{label:"⊂",insert:"\\subset",title:"Subset"},{label:"∪",insert:"\\cup",title:"Union"},{label:"∩",insert:"\\cap",title:"Intersection"},{type:"sep",cols:1,small:!0},{label:"∅",insert:"\\emptyset",title:"Empty set"},{label:"∞",insert:"\\infty",title:"Infinity"},{label:"π",insert:"\\pi",title:"Pi"},{type:"sep",cols:2},{label:"↶",action:"UNDO",title:"Undo"},{label:"↷",action:"REDO",title:"Redo"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2"},e.createElement("circle",{cx:"6",cy:"6",r:"3"}),e.createElement("circle",{cx:"6",cy:"18",r:"3"}),e.createElement("line",{x1:"20",y1:"4",x2:"8.12",y2:"15.88"}),e.createElement("line",{x1:"14.47",y1:"14.48",x2:"20",y2:"20"}),e.createElement("line",{x1:"8.12",y1:"8.12",x2:"12",y2:"12"})),action:"CUT",title:"Cut"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2"},e.createElement("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),e.createElement("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})),action:"COPY",title:"Copy"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2"},e.createElement("path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"}),e.createElement("rect",{x:"8",y:"2",width:"8",height:"4",rx:"1",ry:"1"})),action:"PASTE",title:"Paste"},{type:"sep",cols:2},{label:e.createElement(ie.FontAwesomeIcon,{icon:ne.faBold}),action:"BOLD",cls:"template",title:"Bold"},{label:e.createElement(ie.FontAwesomeIcon,{icon:ne.faItalic}),action:"ITALIC",cls:"template",title:"Italic"},{label:e.createElement("img",{src:Le,alt:"Omega",width:"18",height:"18",style:{display:"block"}}),title:"Insert Special Character",action:"SPECIAL_CHARS"},{label:e.createElement("img",{src:Te,alt:"Palette",width:"18",height:"18",style:{display:"block"}}),action:"TEXT_COLOR",title:"Text Color"},{type:"sep",cols:1},{type:"dropdown",label:"Font..."},{type:"dropdown",label:"Size"}]},{label:"∈ ∞",items:[{type:"sep",cols:1,small:!0},{label:"⌿",insert:"\\cancel{#?}",isWidget:!0,title:"Cancel strike"},{type:"sep",cols:3,small:!0,moreItems:[{label:"∖",insert:"\\setminus",title:"Set minus"},{label:"\\",insert:"\\backslash",title:"Reverse solidus"},{label:"∓",insert:"\\mp",title:"Minus or plus"}]},{label:"+",insert:"+",title:"Plus"},{label:"×",insert:"\\times",title:"Multiply"},{label:"·",insert:"\\cdot",title:"Dot product"},{label:"−",insert:"-",title:"Minus"},{label:"÷",insert:"\\div",title:"Divide sign"},{label:"/",insert:"/",title:"Slash"},{label:"±",insert:"\\pm",title:"Plus-minus"},{label:"*",insert:"*",title:"Asterisk"},{label:"○",insert:"\\circ",title:"Circle"},{type:"sep",cols:3,small:!0,moreItems:[{label:"‴",insert:"\\prime\\prime\\prime",title:"Triple prime"},{label:"⁗",insert:"\\prime\\prime\\prime\\prime",title:"Quadruple prime"},{label:"‵",insert:"\\backprime",title:"Reversed prime"}]},{label:"π",insert:"\\pi",title:"Pi"},{label:"∂",insert:"∂",title:"Partial derivative"},{label:"°",insert:"^\\circ",title:"Degree"},{label:"∞",insert:"\\infty",title:"Infinity"},{label:"Δ",insert:"\\Delta",title:"Delta"},{label:"'",insert:"'",title:"Prime"},{label:"∅",insert:"\\emptyset",title:"Empty set"},{label:"∇",insert:"\\nabla",title:"Nabla / Gradient"},{label:"''",insert:"''",title:"Double prime"},{type:"sep",cols:2,moreCols:2,small:!0,moreItems:[{label:"≠",insert:"\\neq",title:"Not equal"},{label:"≉",insert:"\\napprox",title:"Not almost equal to"},{label:"≢",insert:"\\nequiv",title:"Not identical to"},{label:"≁",insert:"\\nsim",title:"Not similar"}]},{label:"=",insert:"=",title:"Equals"},{label:"≡",insert:"\\equiv",title:"Equivalent"},{label:"∼",insert:"\\sim",title:"Similar to"},{label:"≈",insert:"\\approx",title:"Approximately equal"},{label:"≃",insert:"\\simeq",title:"Asymptotically equal"},{label:"≅",insert:"\\cong",title:"Congruent"},{type:"sep",cols:2,small:!0,moreCols:3,moreItems:[{label:"≨",insert:"\\lneqq",title:"Less than but not equal to"},{label:"≫",insert:"\\gg",title:"Much greater than"},{label:"≻",insert:"\\succ",title:"Succeeds"},{label:"≩",insert:"\\gneqq",title:"Greater than but not equal to"},{label:"∝",insert:"\\propto",title:"Proportional to"},{label:"⊲",insert:"\\triangleleft",title:"Normal subgroup of"},{label:"≪",insert:"\\ll",title:"Much less than"},{label:"≺",insert:"\\prec",title:"Precedes"},{label:"⊳",insert:"\\triangleright",title:"Contains as normal subgroup"}]},{label:">",insert:">",title:"Greater than"},{label:"<",insert:"<",title:"Less than"},{label:"≥",insert:"\\geq",title:"Greater than or equal"},{label:"≤",insert:"\\leq",title:"Less than or equal"},{label:"⩾",insert:"\\geqslant",title:"Greater than or equal slant"},{label:"⩽",insert:"\\leqslant",title:"Less than or equal slant"},{type:"sep",cols:2,small:!0,moreCols:4,moreItems:[{label:"∉",insert:"\\notin",title:"Not an element of"},{label:"∌",insert:"\\notni",title:"Does not contain as member"},{label:"⊆",insert:"\\subseteq",title:"Subset of or equal to"},{label:"⊇",insert:"\\supseteq",title:"Superset of or equal to"},{label:"⊏",insert:"\\sqsubset",title:"Square image of"},{label:"⊐",insert:"\\sqsupset",title:"Square original of"},{label:"⊑",insert:"\\sqsubseteq",title:"Square image of or equal to"},{label:"⊒",insert:"\\sqsupseteq",title:"Square original of or equal to"},{label:"⊓",insert:"\\sqcap",title:"Square intersection"},{label:"⊔",insert:"\\sqcup",title:"Square union"}]},{label:"∈",insert:"\\in",title:"Element of"},{label:"∋",insert:"\\ni",title:"Contains as member"},{label:"∪",insert:"\\cup",title:"Union"},{label:"∩",insert:"\\cap",title:"Intersection"},{label:"⊂",insert:"\\subset",title:"Subset"},{label:"⊃",insert:"\\supset",title:"Superset"},{type:"sep",cols:2,small:!0,moreCols:1,moreItems:[{label:"∴",insert:"\\therefore",title:"Therefore"},{label:"∵",insert:"\\because",title:"Because"}]},{label:"∧",insert:"\\land",title:"Logical AND"},{label:"∨",insert:"\\lor",title:"Logical OR"},{label:"¬",insert:"\\neg",title:"Logical NOT"},{label:"∀",insert:"\\forall",title:"For all"},{label:"∃",insert:"\\exists",title:"Exists"},{label:"∄",insert:"\\nexists",title:"Does not exist"},{type:"sep",cols:1,small:!0,moreCols:2,moreItems:[{label:"∦",insert:"\\nparallel",title:"Not parallel to"},{label:"⋄",insert:"\\diamond",title:"Diamond"},{label:"∡",insert:"\\measuredangle",title:"Measured angle"},{label:"∢",insert:"\\sphericalangle",title:"Spherical angle"}]},{label:"∠",insert:"\\angle",title:"Angle"},{label:"∥",insert:"\\parallel",title:"Parallel"},{label:"⊥",insert:"\\perp",title:"Perpendicular"},{type:"sep",cols:1,small:!0,moreCols:1,moreItems:[{label:"▭",insert:"▭",title:"Rectangle"},{label:"▱",insert:"▱",title:"Parallelogram"}]},{label:"□",insert:"\\square",title:"Square"},{label:"△",insert:"\\triangle",title:"Triangle"},{label:"○",insert:"\\circ",title:"Circle"},{type:"sep",cols:1,small:!0,moreCols:2,moreItems:[{label:"⊝",insert:"⊝",title:"Circled dash"},{label:"•",insert:"\\bullet",title:"Bullet"},{label:"⊛",insert:"⊛",title:"Circled asterisk"},{label:"⨸",insert:"⨸",title:"Circled division"}]},{label:"⊕",insert:"\\oplus",title:"Direct sum / Circled plus"},{label:"⊗",insert:"\\otimes",title:"Tensor product / Circled times"},{label:"⊙",insert:"\\odot",title:"Circled dot operator"}]},{label:"→ ⋰",isTemplate:!0,items:[{type:"sep",cols:3,small:!0,cls:"cme-trig-subgroup",moreCols:11,moreItems:[{label:"↗",insert:"\\nearrow",title:"North east arrow"},{label:"↘",insert:"\\searrow",title:"South east arrow"},{label:"↖",insert:"\\nwarrow",title:"North west arrow"},{label:"↙",insert:"\\swarrow",title:"South west arrow"},{label:"⤡",insert:"\\nwsearrow",title:"North west and south east arrow"},{label:"⤢",insert:"\\neswarrow",title:"North east and south west arrow"},{label:"↩",insert:"\\hookleftarrow",title:"Leftwards arrow with hook"},{label:"↪",insert:"\\hookrightarrow",title:"Rightwards arrow with hook"},{label:"↼",insert:"\\leftharpoonup",title:"Leftwards harpoon with barb upwards"},{label:"⇀",insert:"\\rightharpoonup",title:"Rightwards harpoon with barb upwards"},{label:"↑",insert:"\\uparrow",title:"Upwards arrow"},{label:"↓",insert:"\\downarrow",title:"Downwards arrow"},{label:"⇑",insert:"\\Uparrow",title:"Upwards double arrow"},{label:"⇓",insert:"\\Downarrow",title:"Downwards double arrow"},{label:"⥪",insert:"⥪",title:"Leftwards harpoon over dash"},{label:"⥭",insert:"⥭",title:"Dash over rightwards harpoon"},{label:"⇋",insert:"\\leftrightharpoons",title:"Leftwards harpoon over rightwards harpoon"},{label:"⇌",insert:"\\rightleftharpoons",title:"Rightwards harpoon over leftwards harpoon"},{label:"↽",insert:"\\leftharpoondown",title:"Leftwards harpoon with barb downwards"},{label:"⇁",insert:"\\rightharpoondown",title:"Rightwards harpoon with barb downwards"},{label:"⇆",insert:"\\leftrightarrows",title:"Leftwards arrow over rightwards arrow"},{label:"⇄",insert:"\\rightleftarrows",title:"Rightwards arrow over leftwards arrow"},{label:"⇅",insert:"\\updownarrows",title:"Upwards arrow leftwards of downwards arrow"},{label:"⇵",insert:"\\downuparrows",title:"Downwards arrow leftwards of upwards arrow"},{label:"⥮",insert:"\\upharpoonleftdownharpoonright",title:"Up harpoon left down harpoon right"},{label:"⥯",insert:"\\downharpoonleftupharpoonright",title:"Down harpoon left up harpoon right"},{label:"⥂",insert:"⥂",title:"Rightwards arrow over short leftwards arrow"},{label:"⥄",insert:"⥄",title:"Short rightwards arrow over leftwards arrow"},{label:"↕",insert:"\\updownarrow",title:"Up-down arrow"},{label:"⇕",insert:"\\Updownarrow",title:"Up-down double arrow"},{label:"↵",insert:"\\hookleftarrow",title:"Downwards arrow with corner leftwards"}]},{label:"←",insert:"\\leftarrow",title:"Left arrow"},{label:"→",insert:"\\rightarrow",title:"Right arrow"},{label:"↔",insert:"\\leftrightarrow",title:"Left-right arrow"},{label:"⇐",insert:"\\Leftarrow",title:"Left double arrow"},{label:"⇒",insert:"\\Rightarrow",title:"Right double arrow"},{label:"⇔",insert:"\\Leftrightarrow",title:"Left-right double arrow"},{label:"↤",insert:"\\mapsfrom",title:"Leftwards arrow from bar"},{label:"↦",insert:"\\mapsto",title:"Rightwards arrow from bar"},{type:"sep",cols:2,small:!0,cls:"cme-trig-subgroup"},{label:"⋮",insert:"\\vdots",title:"Vertical ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋰",insert:"⋰",title:"Upright diagonal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"…",insert:"\\ldots",title:"Horizontal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋱",insert:"\\ddots",title:"Down-right diagonal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋯",insert:"\\cdots",title:"Middle line horizontal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{type:"sep",cols:1,small:!0,cls:"cme-trig-subgroup"},{label:"-",insert:"-",title:"Short dash (hyphen)"},{label:"–",insert:"–",title:"En dash"},{label:"—",insert:"—",title:"Em dash"},{type:"sep",cols:3,small:!0,cls:"cme-matrix-subgroup",moreCols:11,moreItems:[{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"38",x2:"52",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M18 30L6 38L18 46V40H26V36H18V30Z",fill:"#222",stroke:"none"}),e.createElement("path",{d:"M46 30L58 38L46 46V40H38V36H46V30Z",fill:"#222",stroke:"none"})),insert:"\\xleftrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrow with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"24",x2:"52",y2:"24",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M18 16L6 24L18 32V26H26V22H18V16Z",fill:"#222",stroke:"none"}),e.createElement("path",{d:"M46 16L58 24L46 32V26H38V22H46V16Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"38",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrow[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrow with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"32",x2:"52",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M18 24L6 32L18 40V34H26V30H18V24Z",fill:"#222",stroke:"none"}),e.createElement("path",{d:"M46 24L58 32L46 40V34H38V30H46V24Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"44",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrow[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrow with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"28",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"18",y1:"30",x2:"52",y2:"30",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 22L12 30L24 38V32H34V28H24V22Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"12",y1:"44",x2:"46",y2:"44",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 36L52 44L40 52V46H30V42H40V36Z",fill:"#222",stroke:"none"})),insert:"\\class{cme-flip-v}{\\xtofrom[\\class{cme-flip-v}{#?}]{}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrows with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"18",y1:"20",x2:"52",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 12L12 20L24 28V22H34V18H24V12Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"12",y1:"34",x2:"46",y2:"34",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 26L52 34L40 42V36H30V32H40V26Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\class{cme-flip-v}{\\xtofrom{\\class{cme-flip-v}{#?}}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrows with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"28",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"18",y1:"26",x2:"52",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 18L12 26L24 34V28H34V24H24V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"12",y1:"40",x2:"46",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 32L52 40L40 48V42H30V38H40V32Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\class{cme-flip-v}{\\xtofrom[\\class{cme-flip-v}{#?}]{\\class{cme-flip-v}{#?}}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrows with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"40",x2:"52",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 32L12 40L24 48V42H34V38H24V32Z",fill:"#222",stroke:"none"})),insert:"\\xleftrightarrows{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium Arrow with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"20",x2:"46",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 12L52 20L40 28V22H30V18H40V12Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"34",x2:"52",y2:"34",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 26L12 34L24 42V36H34V32H24V26Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrows[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium Arrow with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"40",x2:"52",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 32L12 40L24 48V42H34V38H24V32Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"28",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrows[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium Arrow with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"28",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"27",x2:"56",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 19L12 27L22 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"8",y1:"37",x2:"52",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 45L52 37L42 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),insert:"\\xleftrightharpoons{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Harpoons with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"27",x2:"56",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 19L12 27L22 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"8",y1:"37",x2:"52",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 45L52 37L42 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightharpoons[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Harpoons with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"27",x2:"56",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 19L12 27L22 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"8",y1:"37",x2:"52",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 45L52 37L42 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightharpoons[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Harpoons with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"8",y1:"27",x2:"52",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 19L52 27L42 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"12",y1:"37",x2:"56",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 45L12 37L22 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),insert:"\\xrightleftharpoons{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Harpoons with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"8",y1:"27",x2:"52",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 19L52 27L42 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"12",y1:"37",x2:"56",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 45L12 37L22 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xrightleftharpoons[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Harpoons with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"8",y1:"27",x2:"52",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 19L52 27L42 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"12",y1:"37",x2:"56",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 45L12 37L22 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"28",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xrightleftharpoons[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Harpoons with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"42",x2:"34",y2:"42",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 34L12 42L24 50V44H30V40H24V34Z",fill:"#222",stroke:"none"})),insert:"\\overset{#?}{\\underset{\\leftarrow}{\\rightarrow}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"42",x2:"34",y2:"42",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 34L12 42L24 50V44H30V40H24V34Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\underset{#?}{\\underset{\\leftarrow}{\\rightarrow}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"42",x2:"34",y2:"42",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 34L12 42L24 50V44H30V40H24V34Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\overset{#?}{\\underset{#?}{\\underset{\\leftarrow}{\\rightarrow}}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"24",y1:"28",x2:"42",y2:"28",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 20L48 28L36 36V30H30V26H36V20Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"44",x2:"42",y2:"44",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 36L12 44L24 52V46H30V42H24V36Z",fill:"#222",stroke:"none"})),insert:"\\overset{#?}{\\overset{\\rightarrow}{\\leftarrow}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"24",y1:"28",x2:"42",y2:"28",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 20L48 28L36 36V30H30V26H36V20Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"44",x2:"42",y2:"44",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 36L12 44L24 52V46H30V42H24V36Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\underset{#?}{\\overset{\\rightarrow}{\\leftarrow}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"24",y1:"28",x2:"42",y2:"28",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 20L48 28L36 36V30H30V26H36V20Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"44",x2:"42",y2:"44",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 36L12 44L24 52V46H30V42H24V36Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\overset{#?}{\\underset{#?}{\\overset{\\rightarrow}{\\leftarrow}}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Above and Below Labels"}]},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"38",x2:"42",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 30L48 38L36 46V40H28V36H36V30Z",fill:"#222",stroke:"none"})),insert:"\\xrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Arrow with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"20",x2:"42",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 12L48 20L36 28V22H28V18H36V12Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"34",width:"10",height:"16",rx:"2"})),insert:"\\xrightarrow[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Arrow with underscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"32",x2:"42",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 24L48 32L36 40V34H28V30H36V24Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"44",width:"10",height:"16",rx:"2"})),insert:"\\xrightarrow[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Arrow with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#222"}},e.createElement("line",{x1:"18",y1:"32",x2:"52",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 24L12 32L24 40V34H34V30H24V24Z",fill:"#222",stroke:"none"})),insert:"\\leftarrow",cls:"symbol",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Arrow"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"18",y1:"38",x2:"52",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 30L12 38L24 46V40H34V36H24V30Z",fill:"#222",stroke:"none"})),insert:"\\xleftarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Arrow with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"18",y1:"32",x2:"52",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 24L12 32L24 40V34H34V30H24V24Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"44",width:"10",height:"16",rx:"2"})),insert:"\\xleftarrow[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Arrow with Above and Below Labels"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"24",y1:"14",x2:"42",y2:"14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 6L48 14L36 14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"24",y:"24",width:"18",height:"20",rx:"2"})),insert:"\\overrightharpoon{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Top Right Harpoon"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"16",y1:"14",x2:"48",y2:"14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 6L10 14L22 22V16H28V12H22V6Z",fill:"#222",stroke:"none"}),e.createElement("path",{d:"M42 6L54 14L42 22V16H34V12H42V6Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"24",width:"18",height:"20",rx:"2"})),insert:"\\overleftrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Top Left Right Arrow"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"20",y1:"14",x2:"42",y2:"14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 6L48 14L36 22V16H30V12H36V6Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"24",width:"18",height:"20",rx:"2"})),insert:"\\overrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Top Right Arrow"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"20",y1:"14",x2:"44",y2:"14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"24",y:"24",width:"18",height:"20",rx:"2"})),insert:"\\overline{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Overline"}]},{label:"α Ω",isTemplate:!0,items:[{type:"sep",cols:10,small:!0,cls:"cme-dark-large",moreCols:8,moreItems:[{label:"Α",insert:"A",title:"Capital Alpha"},{label:"Β",insert:"B",title:"Capital Beta"},{label:"Γ",insert:"\\Gamma",title:"Capital Gamma"},{label:"Δ",insert:"\\Delta",title:"Capital Delta"},{label:"Ε",insert:"E",title:"Capital Epsilon"},{label:"Ζ",insert:"Z",title:"Capital Zeta"},{label:"Η",insert:"H",title:"Capital Eta"},{label:"Θ",insert:"\\Theta",title:"Capital Theta"},{label:"Ι",insert:"I",title:"Capital Iota"},{label:"Κ",insert:"K",title:"Capital Kappa"},{label:"Λ",insert:"\\Lambda",title:"Capital Lambda"},{label:"Μ",insert:"M",title:"Capital Mu"},{label:"Ν",insert:"N",title:"Capital Nu"},{label:"Ξ",insert:"\\Xi",title:"Capital Xi"},{label:"Ο",insert:"O",title:"Capital Omicron"},{label:"Π",insert:"\\Pi",title:"Capital Pi"},{label:"Ρ",insert:"P",title:"Capital Rho"},{label:"Σ",insert:"\\Sigma",title:"Capital Sigma"},{label:"Τ",insert:"T",title:"Capital Tau"},{label:"Υ",insert:"\\Upsilon",title:"Capital Upsilon"},{label:"Φ",insert:"\\Phi",title:"Capital Phi"},{label:"Χ",insert:"X",title:"Capital Chi"},{label:"Ψ",insert:"\\Psi",title:"Capital Psi"},{label:"Ω",insert:"\\Omega",title:"Capital Omega"}]},{label:"α",insert:"\\alpha",title:"Alpha"},{label:"β",insert:"\\beta",title:"Beta"},{label:"γ",insert:"\\gamma",title:"Gamma"},{label:"δ",insert:"\\delta",title:"Delta"},{label:"ε",insert:"\\epsilon",title:"Epsilon"},{label:"ζ",insert:"\\zeta",title:"Zeta"},{label:"η",insert:"\\eta",title:"Eta"},{label:"θ",insert:"\\theta",title:"Theta"},{label:"ϑ",insert:"\\vartheta",title:"Vartheta"},{label:"ι",insert:"\\iota",title:"Iota"},{label:"κ",insert:"\\kappa",title:"Kappa"},{label:"λ",insert:"\\lambda",title:"Lambda"},{label:"μ",insert:"\\mu",title:"Mu"},{label:"ν",insert:"\\nu",title:"Nu"},{label:"ξ",insert:"\\xi",title:"Xi"},{label:"ο",insert:"o",title:"Omicron"},{label:"π",insert:"\\pi",title:"Pi"},{label:"ϖ",insert:"\\varpi",title:"Varpi"},{label:"ρ",insert:"\\rho",title:"Rho"},{label:"ϱ",insert:"\\varrho",title:"Varrho"},{label:"ς",insert:"\\varsigma",title:"Varsigma"},{label:"σ",insert:"\\sigma",title:"Sigma"},{label:"τ",insert:"\\tau",title:"Tau"},{label:"υ",insert:"\\upsilon",title:"Upsilon"},{label:"φ",insert:"\\phi",title:"Phi"},{label:"χ",insert:"\\chi",title:"Chi"},{label:"ψ",insert:"\\psi",title:"Psi"},{label:"ω",insert:"\\omega",title:"Omega"},{type:"sep",cols:2,small:!0,cls:"cme-dark-large",moreCols:18,moreItems:[{label:"𝔸",insert:"\\mathbb{A}",title:"Mathbb A"},{label:"𝔻",insert:"\\mathbb{D}",title:"Mathbb D"},{label:"𝔾",insert:"\\mathbb{G}",title:"Mathbb G"},{label:"𝕁",insert:"\\mathbb{J}",title:"Mathbb J"},{label:"𝕄",insert:"\\mathbb{M}",title:"Mathbb M"},{label:"ℙ",insert:"\\mathbb{P}",title:"Mathbb P"},{label:"𝕊",insert:"\\mathbb{S}",title:"Mathbb S"},{label:"𝕍",insert:"\\mathbb{V}",title:"Mathbb V"},{label:"𝕐",insert:"\\mathbb{Y}",title:"Mathbb Y"},{label:"𝕒",insert:"𝕒",title:"Mathbb a"},{label:"𝕕",insert:"𝕕",title:"Mathbb d"},{label:"𝕘",insert:"𝕘",title:"Mathbb g"},{label:"𝕛",insert:"𝕛",title:"Mathbb j"},{label:"𝕞",insert:"𝕞",title:"Mathbb m"},{label:"𝕡",insert:"𝕡",title:"Mathbb p"},{label:"𝕤",insert:"𝕤",title:"Mathbb s"},{label:"𝕧",insert:"𝕧",title:"Mathbb v"},{label:"𝕪",insert:"𝕪",title:"Mathbb y"},{label:"𝔹",insert:"\\mathbb{B}",title:"Mathbb B"},{label:"𝔼",insert:"\\mathbb{E}",title:"Mathbb E"},{label:"ℍ",insert:"\\mathbb{H}",title:"Mathbb H"},{label:"𝕂",insert:"\\mathbb{K}",title:"Mathbb K"},{label:"ℕ",insert:"\\mathbb{N}",title:"Mathbb N"},{label:"ℚ",insert:"\\mathbb{Q}",title:"Mathbb Q"},{label:"𝕋",insert:"\\mathbb{T}",title:"Mathbb T"},{label:"𝕎",insert:"\\mathbb{W}",title:"Mathbb W"},{label:"ℤ",insert:"\\mathbb{Z}",title:"Mathbb Z"},{label:"𝕓",insert:"𝕓",title:"Mathbb b"},{label:"𝕖",insert:"𝕖",title:"Mathbb e"},{label:"𝕙",insert:"𝕙",title:"Mathbb h"},{label:"𝕜",insert:"𝕜",title:"Mathbb k"},{label:"𝕟",insert:"𝕟",title:"Mathbb n"},{label:"𝕢",insert:"𝕢",title:"Mathbb q"},{label:"𝕥",insert:"𝕥",title:"Mathbb t"},{label:"𝕨",insert:"𝕨",title:"Mathbb w"},{label:"𝕫",insert:"𝕫",title:"Mathbb z"},{label:"ℂ",insert:"\\mathbb{C}",title:"Mathbb C"},{label:"𝔽",insert:"\\mathbb{F}",title:"Mathbb F"},{label:"𝕀",insert:"\\mathbb{I}",title:"Mathbb I"},{label:"𝕃",insert:"\\mathbb{L}",title:"Mathbb L"},{label:"𝕆",insert:"\\mathbb{O}",title:"Mathbb O"},{label:"ℝ",insert:"\\mathbb{R}",title:"Mathbb R"},{label:"𝕌",insert:"\\mathbb{U}",title:"Mathbb U"},{label:"𝕏",insert:"\\mathbb{X}",title:"Mathbb X"},{label:" ",insert:"",cls:"cme-empty-btn",title:""},{label:"𝕔",insert:"𝕔",title:"Mathbb c"},{label:"𝕗",insert:"𝕗",title:"Mathbb f"},{label:"𝕚",insert:"𝕚",title:"Mathbb i"},{label:"𝕝",insert:"𝕝",title:"Mathbb l"},{label:"𝕠",insert:"𝕠",title:"Mathbb o"},{label:"𝕣",insert:"𝕣",title:"Mathbb r"},{label:"𝕦",insert:"𝕦",title:"Mathbb u"},{label:"𝕩",insert:"𝕩",title:"Mathbb x"},{label:" ",insert:"",cls:"cme-empty-btn",title:""}]},{label:"ℕ",insert:"ℕ",title:"Mathbb N"},{label:"ℤ",insert:"ℤ",title:"Mathbb Z"},{label:"ℚ",insert:"ℚ",title:"Mathbb Q"},{label:"ℂ",insert:"ℂ",title:"Mathbb C"},{label:"ℝ",insert:"ℝ",title:"Mathbb R"},{label:"ℙ",insert:"ℙ",title:"Mathbb P"},{type:"sep",cols:1,small:!0,cls:"cme-dark-large",moreCols:18,moreItems:[{label:"𝔄",insert:"\\mathfrak{A}",title:"Mathfrak A"},{label:"𝔇",insert:"\\mathfrak{D}",title:"Mathfrak D"},{label:"𝔊",insert:"\\mathfrak{G}",title:"Mathfrak G"},{label:"𝔍",insert:"\\mathfrak{J}",title:"Mathfrak J"},{label:"𝔐",insert:"\\mathfrak{M}",title:"Mathfrak M"},{label:"𝔓",insert:"\\mathfrak{P}",title:"Mathfrak P"},{label:"𝔖",insert:"\\mathfrak{S}",title:"Mathfrak S"},{label:"𝔙",insert:"\\mathfrak{V}",title:"Mathfrak V"},{label:"𝔜",insert:"\\mathfrak{Y}",title:"Mathfrak Y"},{label:"𝔞",insert:"\\mathfrak{a}",title:"Mathfrak a"},{label:"𝔡",insert:"\\mathfrak{d}",title:"Mathfrak d"},{label:"𝔤",insert:"\\mathfrak{g}",title:"Mathfrak g"},{label:"𝔧",insert:"\\mathfrak{j}",title:"Mathfrak j"},{label:"𝔪",insert:"\\mathfrak{m}",title:"Mathfrak m"},{label:"𝔭",insert:"\\mathfrak{p}",title:"Mathfrak p"},{label:"𝔰",insert:"\\mathfrak{s}",title:"Mathfrak s"},{label:"𝔳",insert:"\\mathfrak{v}",title:"Mathfrak v"},{label:"𝔶",insert:"\\mathfrak{y}",title:"Mathfrak y"},{label:"𝔅",insert:"\\mathfrak{B}",title:"Mathfrak B"},{label:"𝔈",insert:"\\mathfrak{E}",title:"Mathfrak E"},{label:"ℌ",insert:"\\mathfrak{H}",title:"Mathfrak H"},{label:"𝔎",insert:"\\mathfrak{K}",title:"Mathfrak K"},{label:"𝔑",insert:"\\mathfrak{N}",title:"Mathfrak N"},{label:"𝔔",insert:"\\mathfrak{Q}",title:"Mathfrak Q"},{label:"𝔗",insert:"\\mathfrak{T}",title:"Mathfrak T"},{label:"𝔚",insert:"\\mathfrak{W}",title:"Mathfrak W"},{label:"ℨ",insert:"\\mathfrak{Z}",title:"Mathfrak Z"},{label:"𝔟",insert:"\\mathfrak{b}",title:"Mathfrak b"},{label:"𝔢",insert:"\\mathfrak{e}",title:"Mathfrak e"},{label:"𝔥",insert:"\\mathfrak{h}",title:"Mathfrak h"},{label:"𝔨",insert:"\\mathfrak{k}",title:"Mathfrak k"},{label:"𝔫",insert:"\\mathfrak{n}",title:"Mathfrak n"},{label:"𝔮",insert:"\\mathfrak{q}",title:"Mathfrak q"},{label:"𝔱",insert:"\\mathfrak{t}",title:"Mathfrak t"},{label:"𝔴",insert:"\\mathfrak{w}",title:"Mathfrak w"},{label:"𝔷",insert:"\\mathfrak{z}",title:"Mathfrak z"},{label:"ℭ",insert:"\\mathfrak{C}",title:"Mathfrak C"},{label:"𝔉",insert:"\\mathfrak{F}",title:"Mathfrak F"},{label:"ℑ",insert:"\\mathfrak{I}",title:"Mathfrak I"},{label:"𝔏",insert:"\\mathfrak{L}",title:"Mathfrak L"},{label:"𝔒",insert:"\\mathfrak{O}",title:"Mathfrak O"},{label:"ℜ",insert:"\\mathfrak{R}",title:"Mathfrak R"},{label:"𝔘",insert:"\\mathfrak{U}",title:"Mathfrak U"},{label:"𝔛",insert:"\\mathfrak{X}",title:"Mathfrak X"},{label:" ",insert:"",cls:"cme-empty-btn",title:""},{label:"𝔠",insert:"\\mathfrak{c}",title:"Mathfrak c"},{label:"𝔣",insert:"\\mathfrak{f}",title:"Mathfrak f"},{label:"𝔦",insert:"\\mathfrak{i}",title:"Mathfrak i"},{label:"𝔩",insert:"\\mathfrak{l}",title:"Mathfrak l"},{label:"𝔬",insert:"\\mathfrak{o}",title:"Mathfrak o"},{label:"𝔯",insert:"\\mathfrak{r}",title:"Mathfrak r"},{label:"𝔲",insert:"\\mathfrak{u}",title:"Mathfrak u"},{label:"𝔵",insert:"\\mathfrak{x}",title:"Mathfrak x"},{label:" ",insert:"",cls:"cme-empty-btn",title:""}]},{label:"𝔄",insert:"\\mathfrak{A}",title:"Mathfrak A"},{label:"𝔅",insert:"\\mathfrak{B}",title:"Mathfrak B"},{label:"ℭ",insert:"\\mathfrak{C}",title:"Mathfrak C"},{type:"sep",cols:1,small:!0,cls:"cme-dark-large",moreCols:18,moreItems:[{label:"𝒜",insert:"\\mathcal{A}",title:"Mathcal A"},{label:"𝒟",insert:"\\mathcal{D}",title:"Mathcal D"},{label:"𝒢",insert:"\\mathcal{G}",title:"Mathcal G"},{label:"𝒥",insert:"\\mathcal{J}",title:"Mathcal J"},{label:"ℳ",insert:"\\mathcal{M}",title:"Mathcal M"},{label:"𝒫",insert:"\\mathcal{P}",title:"Mathcal P"},{label:"𝒮",insert:"\\mathcal{S}",title:"Mathcal S"},{label:"𝒱",insert:"\\mathcal{V}",title:"Mathcal V"},{label:"𝒴",insert:"\\mathcal{Y}",title:"Mathcal Y"},{label:"𝒶",insert:"𝒶",title:"Mathcal a"},{label:"𝒹",insert:"𝒹",title:"Mathcal d"},{label:"ℊ",insert:"ℊ",title:"Mathcal g"},{label:"𝒿",insert:"𝒿",title:"Mathcal j"},{label:"𝓂",insert:"𝓂",title:"Mathcal m"},{label:"𝓅",insert:"𝓅",title:"Mathcal p"},{label:"𝓈",insert:"𝓈",title:"Mathcal s"},{label:"𝓋",insert:"𝓋",title:"Mathcal v"},{label:"𝓎",insert:"𝓎",title:"Mathcal y"},{label:"ℬ",insert:"\\mathcal{B}",title:"Mathcal B"},{label:"ℰ",insert:"\\mathcal{E}",title:"Mathcal E"},{label:"ℋ",insert:"\\mathcal{H}",title:"Mathcal H"},{label:"𝒦",insert:"\\mathcal{K}",title:"Mathcal K"},{label:"𝒩",insert:"\\mathcal{N}",title:"Mathcal N"},{label:"𝒬",insert:"\\mathcal{Q}",title:"Mathcal Q"},{label:"𝒯",insert:"\\mathcal{T}",title:"Mathcal T"},{label:"𝒲",insert:"\\mathcal{W}",title:"Mathcal W"},{label:"𝒵",insert:"\\mathcal{Z}",title:"Mathcal Z"},{label:"𝒷",insert:"𝒷",title:"Mathcal b"},{label:"ℯ",insert:"ℯ",title:"Mathcal e"},{label:"𝒽",insert:"𝒽",title:"Mathcal h"},{label:"𝓀",insert:"𝓀",title:"Mathcal k"},{label:"𝓃",insert:"𝓃",title:"Mathcal n"},{label:"𝓆",insert:"𝓆",title:"Mathcal q"},{label:"𝓉",insert:"𝓉",title:"Mathcal t"},{label:"𝓌",insert:"𝓌",title:"Mathcal w"},{label:"𝓏",insert:"𝓏",title:"Mathcal z"},{label:"𝒞",insert:"\\mathcal{C}",title:"Mathcal C"},{label:"ℱ",insert:"\\mathcal{F}",title:"Mathcal F"},{label:"ℐ",insert:"\\mathcal{I}",title:"Mathcal I"},{label:"ℒ",insert:"\\mathcal{L}",title:"Mathcal L"},{label:"𝒪",insert:"\\mathcal{O}",title:"Mathcal O"},{label:"ℛ",insert:"\\mathcal{R}",title:"Mathcal R"},{label:"𝒰",insert:"\\mathcal{U}",title:"Mathcal U"},{label:"𝒳",insert:"\\mathcal{X}",title:"Mathcal X"},{label:" ",insert:"",cls:"cme-empty-btn",title:""},{label:"𝒸",insert:"𝒸",title:"Mathcal c"},{label:"𝒻",insert:"𝒻",title:"Mathcal f"},{label:"𝒾",insert:"𝒾",title:"Mathcal i"},{label:"𝓁",insert:"𝓁",title:"Mathcal l"},{label:"ℴ",insert:"ℴ",title:"Mathcal o"},{label:"𝓇",insert:"𝓇",title:"Mathcal r"},{label:"𝓊",insert:"𝓊",title:"Mathcal u"},{label:"𝓍",insert:"𝓍",title:"Mathcal x"},{label:" ",insert:"",cls:"cme-empty-btn",title:""}]},{label:"𝒜",insert:"\\mathcal{A}",title:"Mathcal A"},{label:"ℬ",insert:"\\mathcal{B}",title:"Mathcal B"},{label:"𝒞",insert:"\\mathcal{C}",title:"Mathcal C"},{type:"sep",cols:1,small:!0,cls:"cme-dark-large",moreCols:2,moreItems:[{label:"ℵ",insert:"\\aleph",title:"Aleph"},{label:"ℐ",insert:"\\mathcal{I}",title:"Mathcal I"},{label:"℘",insert:"\\wp",title:"Wp"},{label:"ℨ",insert:"\\mathfrak{Z}",title:"Mathfrak Z"},{label:"ℱ",insert:"\\mathcal{F}",title:"Mathcal F"}]},{label:"ℑ",insert:"\\Im",title:"Im"},{label:"ℜ",insert:"\\Re",title:"Re"},{label:"ℓ",insert:"\\ell",title:"Ell"},{type:"sep",cols:2,small:!0,cls:"cme-trig-subgroup",moreCols:18,moreItems:[{label:"H",insert:"\\mathrm{H}",title:"Mathrm H",cls:"pt-unknown"},...Array.from({length:16},()=>({label:"",cls:"pt-empty"})),{label:"He",insert:"\\mathrm{He}",title:"Mathrm He",cls:"pt-noble"},{label:"Li",insert:"\\mathrm{Li}",title:"Mathrm Li",cls:"pt-alkali"},{label:"Be",insert:"\\mathrm{Be}",title:"Mathrm Be",cls:"pt-alkaline"},...Array.from({length:10},()=>({label:"",cls:"pt-empty"})),{label:"B",insert:"\\mathrm{B}",title:"Mathrm B",cls:"pt-nonmetal"},{label:"C",insert:"\\mathrm{C}",title:"Mathrm C",cls:"pt-nonmetal"},{label:"N",insert:"\\mathrm{N}",title:"Mathrm N",cls:"pt-nonmetal"},{label:"O",insert:"\\mathrm{O}",title:"Mathrm O",cls:"pt-nonmetal"},{label:"F",insert:"\\mathrm{F}",title:"Mathrm F",cls:"pt-nonmetal"},{label:"Ne",insert:"\\mathrm{Ne}",title:"Mathrm Ne",cls:"pt-noble"},{label:"Na",insert:"\\mathrm{Na}",title:"Mathrm Na",cls:"pt-alkali"},{label:"Mg",insert:"\\mathrm{Mg}",title:"Mathrm Mg",cls:"pt-alkaline"},...Array.from({length:10},()=>({label:"",cls:"pt-empty"})),{label:"Al",insert:"\\mathrm{Al}",title:"Mathrm Al",cls:"pt-metalloid"},{label:"Si",insert:"\\mathrm{Si}",title:"Mathrm Si",cls:"pt-metalloid"},{label:"P",insert:"\\mathrm{P}",title:"Mathrm P",cls:"pt-nonmetal"},{label:"S",insert:"\\mathrm{S}",title:"Mathrm S",cls:"pt-nonmetal"},{label:"Cl",insert:"\\mathrm{Cl}",title:"Mathrm Cl",cls:"pt-nonmetal"},{label:"Ar",insert:"\\mathrm{Ar}",title:"Mathrm Ar",cls:"pt-noble"},{label:"K",insert:"\\mathrm{K}",title:"Mathrm K",cls:"pt-alkali"},{label:"Ca",insert:"\\mathrm{Ca}",title:"Mathrm Ca",cls:"pt-alkaline"},{label:"Sc",insert:"\\mathrm{Sc}",title:"Mathrm Sc",cls:"pt-transition"},{label:"Ti",insert:"\\mathrm{Ti}",title:"Mathrm Ti",cls:"pt-transition"},{label:"V",insert:"\\mathrm{V}",title:"Mathrm V",cls:"pt-transition"},{label:"Cr",insert:"\\mathrm{Cr}",title:"Mathrm Cr",cls:"pt-transition"},{label:"Mn",insert:"\\mathrm{Mn}",title:"Mathrm Mn",cls:"pt-transition"},{label:"Fe",insert:"\\mathrm{Fe}",title:"Mathrm Fe",cls:"pt-transition"},{label:"Co",insert:"\\mathrm{Co}",title:"Mathrm Co",cls:"pt-transition"},{label:"Ni",insert:"\\mathrm{Ni}",title:"Mathrm Ni",cls:"pt-transition"},{label:"Cu",insert:"\\mathrm{Cu}",title:"Mathrm Cu",cls:"pt-transition"},{label:"Zn",insert:"\\mathrm{Zn}",title:"Mathrm Zn",cls:"pt-transition"},{label:"Ga",insert:"\\mathrm{Ga}",title:"Mathrm Ga",cls:"pt-metalloid"},{label:"Ge",insert:"\\mathrm{Ge}",title:"Mathrm Ge",cls:"pt-metalloid"},{label:"As",insert:"\\mathrm{As}",title:"Mathrm As",cls:"pt-nonmetal"},{label:"Se",insert:"\\mathrm{Se}",title:"Mathrm Se",cls:"pt-nonmetal"},{label:"Br",insert:"\\mathrm{Br}",title:"Mathrm Br",cls:"pt-nonmetal"},{label:"Kr",insert:"\\mathrm{Kr}",title:"Mathrm Kr",cls:"pt-noble"},{label:"Rb",insert:"\\mathrm{Rb}",title:"Mathrm Rb",cls:"pt-alkali"},{label:"Sr",insert:"\\mathrm{Sr}",title:"Mathrm Sr",cls:"pt-alkaline"},{label:"Y",insert:"\\mathrm{Y}",title:"Mathrm Y",cls:"pt-transition"},{label:"Zr",insert:"\\mathrm{Zr}",title:"Mathrm Zr",cls:"pt-transition"},{label:"Nb",insert:"\\mathrm{Nb}",title:"Mathrm Nb",cls:"pt-transition"},{label:"Mo",insert:"\\mathrm{Mo}",title:"Mathrm Mo",cls:"pt-transition"},{label:"Tc",insert:"\\mathrm{Tc}",title:"Mathrm Tc",cls:"pt-transition"},{label:"Ru",insert:"\\mathrm{Ru}",title:"Mathrm Ru",cls:"pt-transition"},{label:"Rh",insert:"\\mathrm{Rh}",title:"Mathrm Rh",cls:"pt-transition"},{label:"Pd",insert:"\\mathrm{Pd}",title:"Mathrm Pd",cls:"pt-transition"},{label:"Ag",insert:"\\mathrm{Ag}",title:"Mathrm Ag",cls:"pt-transition"},{label:"Cd",insert:"\\mathrm{Cd}",title:"Mathrm Cd",cls:"pt-transition"},{label:"In",insert:"\\mathrm{In}",title:"Mathrm In",cls:"pt-metalloid"},{label:"Sn",insert:"\\mathrm{Sn}",title:"Mathrm Sn",cls:"pt-metalloid"},{label:"Sb",insert:"\\mathrm{Sb}",title:"Mathrm Sb",cls:"pt-metalloid"},{label:"Te",insert:"\\mathrm{Te}",title:"Mathrm Te",cls:"pt-nonmetal"},{label:"I",insert:"\\mathrm{I}",title:"Mathrm I",cls:"pt-nonmetal"},{label:"Xe",insert:"\\mathrm{Xe}",title:"Mathrm Xe",cls:"pt-noble"},{label:"Cs",insert:"\\mathrm{Cs}",title:"Mathrm Cs",cls:"pt-alkali"},{label:"Ba",insert:"\\mathrm{Ba}",title:"Mathrm Ba",cls:"pt-alkaline"},{label:"",insert:"",cls:"pt-transition"},{label:"Hf",insert:"\\mathrm{Hf}",title:"Mathrm Hf",cls:"pt-transition"},{label:"Ta",insert:"\\mathrm{Ta}",title:"Mathrm Ta",cls:"pt-transition"},{label:"W",insert:"\\mathrm{W}",title:"Mathrm W",cls:"pt-transition"},{label:"Re",insert:"\\mathrm{Re}",title:"Mathrm Re",cls:"pt-transition"},{label:"Os",insert:"\\mathrm{Os}",title:"Mathrm Os",cls:"pt-transition"},{label:"Ir",insert:"\\mathrm{Ir}",title:"Mathrm Ir",cls:"pt-transition"},{label:"Pt",insert:"\\mathrm{Pt}",title:"Mathrm Pt",cls:"pt-transition"},{label:"Au",insert:"\\mathrm{Au}",title:"Mathrm Au",cls:"pt-transition"},{label:"Hg",insert:"\\mathrm{Hg}",title:"Mathrm Hg",cls:"pt-transition"},{label:"Tl",insert:"\\mathrm{Tl}",title:"Mathrm Tl",cls:"pt-metalloid"},{label:"Pb",insert:"\\mathrm{Pb}",title:"Mathrm Pb",cls:"pt-metalloid"},{label:"Bi",insert:"\\mathrm{Bi}",title:"Mathrm Bi",cls:"pt-metalloid"},{label:"Po",insert:"\\mathrm{Po}",title:"Mathrm Po",cls:"pt-metalloid"},{label:"At",insert:"\\mathrm{At}",title:"Mathrm At",cls:"pt-nonmetal"},{label:"Rn",insert:"\\mathrm{Rn}",title:"Mathrm Rn",cls:"pt-noble"},{label:"Fr",insert:"\\mathrm{Fr}",title:"Mathrm Fr",cls:"pt-alkali"},{label:"Ra",insert:"\\mathrm{Ra}",title:"Mathrm Ra",cls:"pt-alkaline"},{label:"",insert:"",cls:"pt-transition"},{label:"Rf",insert:"\\mathrm{Rf}",title:"Mathrm Rf",cls:"pt-transition"},{label:"Db",insert:"\\mathrm{Db}",title:"Mathrm Db",cls:"pt-transition"},{label:"Sg",insert:"\\mathrm{Sg}",title:"Mathrm Sg",cls:"pt-transition"},{label:"Bh",insert:"\\mathrm{Bh}",title:"Mathrm Bh",cls:"pt-transition"},{label:"Hs",insert:"\\mathrm{Hs}",title:"Mathrm Hs",cls:"pt-transition"},{label:"Mt",insert:"\\mathrm{Mt}",title:"Mathrm Mt",cls:"pt-transition"},{label:"Ds",insert:"\\mathrm{Ds}",title:"Mathrm Ds",cls:"pt-transition"},{label:"Rg",insert:"\\mathrm{Rg}",title:"Mathrm Rg",cls:"pt-transition"},{label:"Cn",insert:"\\mathrm{Cn}",title:"Mathrm Cn",cls:"pt-transition"},{label:"Nh",insert:"\\mathrm{Nh}",title:"Mathrm Nh",cls:"pt-metalloid"},{label:"Fl",insert:"\\mathrm{Fl}",title:"Mathrm Fl",cls:"pt-metalloid"},{label:"Mc",insert:"\\mathrm{Mc}",title:"Mathrm Mc",cls:"pt-metalloid"},{label:"Lv",insert:"\\mathrm{Lv}",title:"Mathrm Lv",cls:"pt-metalloid"},{label:"Ts",insert:"\\mathrm{Ts}",title:"Mathrm Ts",cls:"pt-unknown"},{label:"Og",insert:"\\mathrm{Og}",title:"Mathrm Og",cls:"pt-unknown"},...Array.from({length:18},()=>({label:"",cls:"pt-empty"})),...Array.from({length:2},()=>({label:"",cls:"pt-empty"})),{label:"La",insert:"\\mathrm{La}",title:"Mathrm La",cls:"pt-transition"},{label:"Ce",insert:"\\mathrm{Ce}",title:"Mathrm Ce",cls:"pt-lanthanide"},{label:"Pr",insert:"\\mathrm{Pr}",title:"Mathrm Pr",cls:"pt-lanthanide"},{label:"Nd",insert:"\\mathrm{Nd}",title:"Mathrm Nd",cls:"pt-lanthanide"},{label:"Pm",insert:"\\mathrm{Pm}",title:"Mathrm Pm",cls:"pt-lanthanide"},{label:"Sm",insert:"\\mathrm{Sm}",title:"Mathrm Sm",cls:"pt-lanthanide"},{label:"Eu",insert:"\\mathrm{Eu}",title:"Mathrm Eu",cls:"pt-lanthanide"},{label:"Gd",insert:"\\mathrm{Gd}",title:"Mathrm Gd",cls:"pt-lanthanide"},{label:"Tb",insert:"\\mathrm{Tb}",title:"Mathrm Tb",cls:"pt-lanthanide"},{label:"Dy",insert:"\\mathrm{Dy}",title:"Mathrm Dy",cls:"pt-lanthanide"},{label:"Ho",insert:"\\mathrm{Ho}",title:"Mathrm Ho",cls:"pt-lanthanide"},{label:"Er",insert:"\\mathrm{Er}",title:"Mathrm Er",cls:"pt-lanthanide"},{label:"Tm",insert:"\\mathrm{Tm}",title:"Mathrm Tm",cls:"pt-lanthanide"},{label:"Yb",insert:"\\mathrm{Yb}",title:"Mathrm Yb",cls:"pt-lanthanide"},{label:"Lu",insert:"\\mathrm{Lu}",title:"Mathrm Lu",cls:"pt-lanthanide"},{label:"",cls:"pt-empty"},...Array.from({length:2},()=>({label:"",cls:"pt-empty"})),{label:"Ac",insert:"\\mathrm{Ac}",title:"Mathrm Ac",cls:"pt-actinide"},{label:"Th",insert:"\\mathrm{Th}",title:"Mathrm Th",cls:"pt-actinide"},{label:"Pa",insert:"\\mathrm{Pa}",title:"Mathrm Pa",cls:"pt-actinide"},{label:"U",insert:"\\mathrm{U}",title:"Mathrm U",cls:"pt-actinide"},{label:"Np",insert:"\\mathrm{Np}",title:"Mathrm Np",cls:"pt-actinide"},{label:"Pu",insert:"\\mathrm{Pu}",title:"Mathrm Pu",cls:"pt-actinide"},{label:"Am",insert:"\\mathrm{Am}",title:"Mathrm Am",cls:"pt-actinide"},{label:"Cm",insert:"\\mathrm{Cm}",title:"Mathrm Cm",cls:"pt-actinide"},{label:"Bk",insert:"\\mathrm{Bk}",title:"Mathrm Bk",cls:"pt-actinide"},{label:"Cf",insert:"\\mathrm{Cf}",title:"Mathrm Cf",cls:"pt-actinide"},{label:"Es",insert:"\\mathrm{Es}",title:"Mathrm Es",cls:"pt-actinide"},{label:"Fm",insert:"\\mathrm{Fm}",title:"Mathrm Fm",cls:"pt-actinide"},{label:"Md",insert:"\\mathrm{Md}",title:"Mathrm Md",cls:"pt-actinide"},{label:"No",insert:"\\mathrm{No}",title:"Mathrm No",cls:"pt-actinide"},{label:"Lr",insert:"\\mathrm{Lr}",title:"Mathrm Lr",cls:"pt-actinide"},{label:"",cls:"pt-empty"}]},{label:"H",insert:"\\mathrm{H}",title:"Mathrm H"},{label:"C",insert:"\\mathrm{C}",title:"Mathrm C"},{label:"N",insert:"\\mathrm{N}",title:"Mathrm N"},{label:"O",insert:"\\mathrm{O}",title:"Mathrm O"},{label:"F",insert:"\\mathrm{F}",title:"Mathrm F"},{label:"S",insert:"\\mathrm{S}",title:"Mathrm S"}]},{label:"bmatrix",fontSize:"5px",mathLabel:"\\textstyle \\begin{bmatrix}#? & #?\\\\ #? & #?\\end{bmatrix} \\, \\begin{cases} #? \\\\ #? \\end{cases}",isMatrix:!0,items:[{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"10",y:"6",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"6",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"46",y:"6",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"10",y:"25",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"25",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"46",y:"25",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"10",y:"44",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"44",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"46",y:"44",width:"8",height:"14",rx:"1"})),insert:"matrix",cls:"template",title:"3×3 Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"8",y1:"4",x2:"8",y2:"60",stroke:"#222",strokeWidth:"4"}),e.createElement("line",{x1:"56",y1:"4",x2:"56",y2:"60",stroke:"#222",strokeWidth:"4"}),e.createElement("rect",{x:"18",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"18",y:"38",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"38",width:"8",height:"14",rx:"1"})),insert:"vmatrix",cls:"template",title:"2×2 Determinant"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M14 6H8V58H14",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M50 6H56V58H50",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"18",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"18",y:"38",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"38",width:"8",height:"14",rx:"1"})),insert:"bmatrix",cls:"template",title:"2×2 Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 6C8 16 8 48 16 58",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M48 6C56 16 56 48 48 58",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"18",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"18",y:"38",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"38",width:"8",height:"14",rx:"1"})),insert:"pmatrix",cls:"template",title:"2×2 Parenthesis Matrix"},{type:"sep",cols:3,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"28",y:"6",width:"8",height:"10",rx:"1"}),e.createElement("rect",{x:"28",y:"27",width:"8",height:"10",rx:"1"}),e.createElement("rect",{x:"28",y:"48",width:"8",height:"10",rx:"1"})),insert:"\\begin{matrix} #? \\\\ #? \\\\ #? \\end{matrix}",cls:"symbol",directInsert:!0,action:"INSERT_CUSTOM",title:"Vertical Dots"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 6H12V58H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M46 6H52V58H46",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"28",y:"10",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"38",width:"8",height:"14",rx:"1"})),insert:"\\begin{bmatrix} #? \\\\ #? \\end{bmatrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"2×1 Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 6C10 16 10 48 18 58",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M46 6C54 16 54 48 46 58",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"28",y:"10",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"38",width:"8",height:"14",rx:"1"})),insert:"\\begin{pmatrix} #? \\\\ #? \\end{pmatrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"2×1 Parenthesis Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"8",y:"24",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"24",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"48",y:"24",width:"8",height:"14",rx:"1"})),insert:"\\begin{matrix} #? \\, #? \\, #? \\end{matrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"1×3 Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 18H12V46H16",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M50 18H54V46H50",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"22",y:"22",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"22",width:"8",height:"14",rx:"1"})),insert:"\\begin{bmatrix} #? \\, #? \\end{bmatrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"1×2 Square Bracket Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 18C12 23 12 41 16 46",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M50 18C54 23 54 41 50 46",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"22",y:"22",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"22",width:"8",height:"14",rx:"1"})),insert:"\\begin{pmatrix} #? \\, #? \\end{pmatrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"1×2 Parenthesis Matrix"},{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 8C12 8 12 12 12 18V26C12 30 10 32 8 32C10 32 12 34 12 38V46C12 52 12 56 16 56",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"10",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"26",y:"34",width:"10",height:"12",rx:"1"})),insert:"\\begin{cases} #? \\\\ #? \\end{cases}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"2×1 Piecewise Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 8C12 8 12 12 12 18V26C12 30 10 32 8 32C10 32 12 34 12 38V46C12 52 12 56 16 56",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"23",y:"10",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"39",y:"10",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"23",y:"34",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"39",y:"34",width:"10",height:"12",rx:"1"})),insert:"\\begin{cases} #? \\, #? \\\\ #? \\, #? \\end{cases}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"2×2 Piecewise Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"26",y:"10",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"26",y:"34",width:"10",height:"12",rx:"1"}),e.createElement("path",{d:"M48 8C52 8 52 12 52 18V26C52 30 54 32 56 32C54 32 52 34 52 38V46C52 52 52 56 48 56",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left.\\begin{matrix} #? \\\\ #? \\end{matrix}\\right\\}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Piecewise Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"8",y:"8",width:"12",height:"12",rx:"1"}),e.createElement("line",{x1:"26",y1:"12",x2:"38",y2:"12",stroke:"#222",strokeWidth:"3"}),e.createElement("line",{x1:"26",y1:"16",x2:"38",y2:"16",stroke:"#222",strokeWidth:"3"}),e.createElement("rect",{x:"44",y:"6",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"8",y:"40",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"24",y1:"46",x2:"36",y2:"46",stroke:"#222",strokeWidth:"3"}),e.createElement("line",{x1:"24",y1:"50",x2:"36",y2:"50",stroke:"#222",strokeWidth:"3"}),e.createElement("rect",{x:"42",y:"38",width:"12",height:"12",rx:"1"})),insert:"\\begin{aligned} #? &= #? \\\\ #? &= #? \\end{aligned}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"System of Equations"},{type:"sep",cols:2,cls:"cme-trig-subgroup"},{label:"⋮",insert:"\\vdots",title:"Vertical ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋰",insert:"⋰",title:"Upright diagonal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"…",insert:"\\ldots",title:"Horizontal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋱",insert:"\\ddots",title:"Down-right diagonal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{type:"sep",cols:1,fontSize:"8px",cls:"cme-matrix-subgroup",moreCols:3,moreItems:[{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 -6 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("rect",{x:"40",y:"-2",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"18",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"46",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"8",y1:"38",x2:"54",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"})),insert:"\\class{cme-col-op-wrapper}{\\class{cme-col-op-val1}{#?}\\class{cme-col-op-op}{\\,}\\class{cme-col-op-val2}{#?}\\class{cme-col-op-result}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction Template"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 -6 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("rect",{x:"40",y:"-2",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"18",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"46",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"8",y1:"38",x2:"54",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"10",y1:"26",x2:"26",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"})),insert:"\\class{cme-col-op-wrapper}{\\class{cme-col-op-val1}{#?}\\class{cme-col-op-op}{-}\\class{cme-col-op-val2}{#?}\\class{cme-col-op-result}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction with Subtraction"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 -6 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("rect",{x:"40",y:"-2",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"18",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"46",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"8",y1:"38",x2:"54",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"11",y1:"19",x2:"25",y2:"33",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"25",y1:"19",x2:"11",y2:"33",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"})),insert:"\\class{cme-col-op-wrapper}{\\class{cme-col-op-val1}{#?}\\class{cme-col-op-op}{×}\\class{cme-col-op-val2}{#?}\\class{cme-col-op-result}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction with Multiplication"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 0 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"4",y:"8",width:"10",height:"16",rx:"1"}),e.createElement("path",{d:"M30 4V30H56",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"40",y:"8",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"40",width:"10",height:"16",rx:"1"})),insert:"\\class{cme-lshape-wrapper}{\\class{cme-lshape-div1}{#?}\\class{cme-lshape-val1}{#?}\\class{cme-lshape-val2}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Long Division"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 0 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"4",y:"8",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"4",y:"44",width:"10",height:"16",rx:"1"}),e.createElement("path",{d:"M30 4V36H58",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"44",y:"8",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"44",y:"44",width:"10",height:"16",rx:"1"})),insert:"\\class{cme-lshape-wrapper}{\\class{cme-lshape-div1}{#?}\\class{cme-lshape-val1}{#?}\\class{cme-lshape-div2}{#?}\\class{cme-lshape-val2}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Long Division with Four Terms"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 0 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"40",y:"0",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"30",y1:"20",x2:"54",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M26 18C34 25 34 47 26 54",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"6",y:"28",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"28",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"52",width:"10",height:"16",rx:"1"})),insert:"\\class{cme-longdiv-wrapper}{\\class{cme-longdiv-divisor}{#?}\\class{cme-longdiv-quotient}{#?}\\class{cme-longdiv-dividend}{#?}\\class{cme-longdiv-remainder}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Root with Fraction and Subscript"}]},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 -6 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("rect",{x:"40",y:"-2",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"18",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"46",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"8",y1:"38",x2:"54",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"18",y1:"18",x2:"18",y2:"34",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"10",y1:"26",x2:"26",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"})),insert:"\\class{cme-col-op-wrapper}{\\class{cme-col-op-val1}{#?}\\class{cme-col-op-op}{+}\\class{cme-col-op-val2}{#?}\\class{cme-col-op-result}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction with Addition"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 0 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"40",y:"0",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"30",y1:"20",x2:"54",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M26 18C34 25 34 47 26 54",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"6",y:"28",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"28",width:"10",height:"16",rx:"1"})),insert:"\\class{cme-longdiv-wrapper}{\\class{cme-longdiv-divisor}{#?}\\class{cme-longdiv-quotient}{#?}\\class{cme-longdiv-dividend}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Root with Fraction"}]},{label:"□̅",fontSize:"9px",mathLabel:"{#?}^{#?} \\, \\overset{#?}{#?}",isTemplate:!0,items:[{type:"sep",cols:2,small:!0,cls:"cme-trig-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"2",width:"18",height:"20",rx:"2"}),e.createElement("line",{x1:"6",y1:"32",x2:"50",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"18",y:"40",width:"18",height:"20",rx:"2"})),insert:"\\frac{#0}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"22",y:"8",width:"12",height:"14",rx:"2"}),e.createElement("line",{x1:"6",y1:"32",x2:"50",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"22",y:"40",width:"12",height:"14",rx:"2"})),insert:"\\tfrac{#?}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"5",y:"16",width:"18",height:"20",rx:"1"}),e.createElement("line",{x1:"26",y1:"50",x2:"40",y2:"18",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"38",y:"34",width:"18",height:"20",rx:"1"})),insert:"{\\large {}^{#?}/_{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Text Fraction"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"14",y:"16",width:"12",height:"16",rx:"1"}),e.createElement("line",{x1:"26",y1:"50",x2:"40",y2:"18",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"38",y:"34",width:"12",height:"16",rx:"1"})),insert:"{\\scriptsize {}^{#?}/_{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Text Fraction"},{type:"sep",cols:1,small:!0,cls:"cme-trig-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M6 34 L14 34 L20 50 L30 10 L54 10",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"36",y:"18",width:"16",height:"20",rx:"2"})),insert:"\\sqrt{#0}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Square Root"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M6 36 L14 36 L20 50 L30 10 L56 10",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"12",y:"16",width:"8",height:"12",rx:"2"}),e.createElement("rect",{x:"40",y:"22",width:"12",height:"22",rx:"2"})),insert:"\\sqrt[#?]{#0}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Nth Root Fraction"},{type:"sep",cols:3,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"32",y:"10",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Raised Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"32",y:"10",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"32",y:"36",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"{#?}_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Raised Box with Subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"14",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"36",y:"28",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"{#?}_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Lowered Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"10",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"30",y:"22",width:"12",height:"20",rx:"1"})),insert:"{}^{#?}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Lowered Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"8",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"18",y:"36",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"30",y:"20",width:"12",height:"20",rx:"1"})),insert:"{}_{#?}^{#?}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Superscript and Subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"28",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"30",y:"10",width:"12",height:"20",rx:"1"})),insert:"{}_{#?}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Lower Left Box"},{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"23",y:"28",width:"12",height:"20",rx:"1"})),insert:"\\overset{\\raisebox{2px}{#?}}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Superscript Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 4 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"19",y:"28",width:"12",height:"18",rx:"1"}),e.createElement("rect",{x:"21",y:"52",width:"8",height:"12",rx:"1",opacity:"0.45"})),insert:"\\underset{\\raisebox{-5px}{#?}}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Subscript Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"8",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"22",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"24",y:"48",width:"8",height:"12",rx:"1",opacity:"0.45"})),insert:"\\overset{\\raisebox{2px}{#?}}{\\underset{\\raisebox{-5px}{#?}}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Superscript and Subscript"},{type:"sep",cols:1,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"26",y:"4",width:"12",height:"20",rx:"1"}),e.createElement("path",{d:"M10 34H24C28 34 30 36 32 40C34 36 36 34 40 34H54M10 34V28M54 34V28",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"46",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\underbrace{#?}_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Underbrace"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"27",y:"2",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("path",{d:"M10 36V30H24C28 30 30 28 32 24C34 28 36 30 40 30H54V36",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"40",width:"12",height:"20",rx:"1"})),insert:"\\overbrace{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Overbrace"},{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"19",y:"1",width:"10",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"16",y:"20",width:"16",height:"24",rx:"1",stroke:"#222"}),e.createElement("rect",{x:"19",y:"50",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\overset{\\raisebox{0.1em}{#?}}{\\underset{\\raisebox{-0.3em}{#?}}{\\Large #?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Large Box with Superscript and Subscript"},{label:e.createElement("svg",{viewBox:"0 0 24 24",width:"20",height:"20"},e.createElement("rect",{x:"1",y:"1",width:"14",height:"22",fill:"none",stroke:"currentColor",strokeWidth:"2"}),e.createElement("rect",{x:"17",y:"1",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"}),e.createElement("rect",{x:"17",y:"17",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"})),forceLabel:!0,insert:"{\\style{font-size:1.8em; transform: scale(0.9, 1.2); display: inline-block; padding: 0.2em 0;}{#?}}_{#?}^{\\raisebox{0.6em}{#?}}",isWidget:!0,title:"Subscript and superscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"16",y:"4",width:"16",height:"24",rx:"1",stroke:"#222"}),e.createElement("rect",{x:"19",y:"40",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\underset{\\raisebox{-0.3em}{#?}}{\\Large #?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Large Box with Subscript"},{label:e.createElement("svg",{viewBox:"0 0 24 24",width:"20",height:"20"},e.createElement("rect",{x:"1",y:"1",width:"14",height:"22",fill:"none",stroke:"currentColor",strokeWidth:"2"}),e.createElement("rect",{x:"17",y:"17",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"})),forceLabel:!0,insert:"{\\style{font-size:1.8em; transform: scale(0.9, 1.2); display: inline-block; padding: 0.2em 0;}{#?}}_{#?}",isWidget:!0,title:"Subscript"},{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"18",viewBox:"0 0 26 18",fill:"none",stroke:"currentColor",strokeWidth:"1.5",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"2",y:"2",width:"6",height:"12",rx:"1"}),e.createElement("rect",{x:"18",y:"2",width:"6",height:"12",rx:"1"})),insert:"\\enspace",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Horizontal Phantom Space"},{label:e.createElement("svg",{width:"20",height:"18",viewBox:"0 0 20 18",fill:"none",stroke:"currentColor",strokeWidth:"1.5",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",marginLeft:"13px"}},e.createElement("rect",{x:"2",y:"2",width:"6",height:"12",rx:"1"}),e.createElement("rect",{x:"10",y:"2",width:"6",height:"12",rx:"1"})),insert:"\\,",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Thin Space"},{label:e.createElement("svg",{width:"16",height:"18",viewBox:"0 0 16 18",fill:"none",stroke:"currentColor",strokeWidth:"1.5",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"2",y:"2",width:"6",height:"12",rx:"1"}),e.createElement("rect",{x:"8",y:"2",width:"6",height:"12",rx:"1"})),insert:"\\!",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Negative Thin Space"}]},{label:"( )",fontSize:"9px",isTemplate:!0,mathLabel:"\\left( #? \\right) \\, \\overparen{#?}",items:[{type:"sep",cols:3,small:!0,moreCols:2,cls:"cme-matrix-subgroup",moreItems:[{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M12 12V52H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M52 12V52H46",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left\\lfloor#0\\right\\rfloor",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Floor Brackets"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 18L2 29L10 40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"16",y:"18",width:"10",height:"20",rx:"1"}),e.createElement("line",{x1:"32",y1:"18",x2:"32",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"42",y:"18",width:"10",height:"20",rx:"1"}),e.createElement("path",{d:"M54 18L62 29L54 40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),insert:"\\left\\langle#?\\mid#?\\right\\rangle",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Angle Brackets with Vertical Bar"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M12 52V12H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M52 52V12H46",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left\\lceil#0\\right\\rceil",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Ceiling Brackets"}]},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 12 Q8 32 18 52",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M46 12 Q56 32 46 52",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left(#0\\right)",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Parentheses"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"16",y1:"12",x2:"16",y2:"52",stroke:"#222",strokeWidth:"4"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("line",{x1:"48",y1:"12",x2:"48",y2:"52",stroke:"#222",strokeWidth:"4"})),insert:"\\left|#0\\right|",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"vertical bars"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 14L6 32L18 50",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"26",y:"19",width:"12",height:"20",rx:"1"}),e.createElement("path",{d:"M46 14L58 32L46 50",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),insert:"\\left\\langle #? \\right\\rangle",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Angle Brackets"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 12H12V52H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M46 12H52V52H46",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left[#0\\right]",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Square Brackets"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"10",y1:"12",x2:"10",y2:"52",stroke:"#222",strokeWidth:"4"}),e.createElement("line",{x1:"16",y1:"12",x2:"16",y2:"52",stroke:"#222",strokeWidth:"4"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"20",rx:"1"}),e.createElement("line",{x1:"48",y1:"12",x2:"48",y2:"52",stroke:"#222",strokeWidth:"4"}),e.createElement("line",{x1:"54",y1:"12",x2:"54",y2:"52",stroke:"#222",strokeWidth:"4"})),insert:"\\left\\Vert#?\\right\\Vert",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Double Vertical Bars"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M20 12C16 12 16 18 18 22C19 24 19 26 16 29C19 32 19 34 18 36C16 40 16 46 20 52",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M44 12C48 12 48 18 46 22C45 24 45 26 48 29C45 32 45 34 46 36C48 40 48 46 44 52",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"})),insert:"\\left\\{#0\\right\\}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Curly Braces"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 26V20H24C28 20 30 18 32 14C34 18 36 20 40 20H54V26",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overbrace{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Overbrace"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 26C10 14 54 14 54 26",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overgroup{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Overgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 44H24C28 44 30 46 32 50C34 46 36 44 40 44H54M10 44V38M54 44V38",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"14",width:"12",height:"20",rx:"1"})),insert:"\\underbrace{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Underbrace"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 38C10 50 54 50 54 38",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"14",width:"12",height:"20",rx:"1"})),insert:"\\undergroup{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Undergroup"},{type:"sep",cols:3,small:!0,cls:"cme-symbol-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 20H48M40 12L48 20",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overrightharpoon{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right harpoon accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 20H48M40 12L48 20M40 28L48 20",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Arrow accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 20H48M40 12L48 20M40 28L48 20M24 12L16 20M24 28L16 20",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overleftrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left-right arrow accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 20H46",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overline{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Bar accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 24L32 12L46 24",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\class{cme-wide-hat-text}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Wide hat"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M22 20 Q27 16 32 20 T42 20",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\tilde{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Tilde accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M28 18v0M36 18v0",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\ddot{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Diaeresis accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M32 18v0",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\dot{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Dot accent"},{type:"sep",cols:3,small:!0,cls:"cme-matrix-subgroup",moreItems:[{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M4 2 H20 V22",stroke:"#666",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\class{cme-enclose-actuarial}{#?}",title:"Enclose actuarial"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"4",y:"2",width:"16",height:"20",rx:"8",ry:"8",stroke:"#666",strokeWidth:"2",fill:"none"}),e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\class{cme-enclose-roundedbox}{#?}",title:"Enclose rounded box"}]},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 20H46",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overline{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Bar accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"16",y1:"12",x2:"16",y2:"52",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"28",y:"18",width:"14",height:"28",rx:"2"})),insert:"\\left| #? \\right.",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Enclosed left"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"4",y:"2",width:"16",height:"20",stroke:"#666",strokeWidth:"2",fill:"none"}),e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\class{cme-enclose-box}{#?}",forceLabel:!0,title:"Enclosed box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"18",y1:"46",x2:"46",y2:"46",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"20",width:"12",height:"20",rx:"1"})),insert:"\\underline{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Enclosed bottom"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"48",y1:"12",x2:"48",y2:"52",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"22",y:"18",width:"14",height:"28",rx:"2"})),insert:"\\left. #? \\right|",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Enclosed right"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("ellipse",{cx:"12",cy:"12",rx:"9",ry:"11",stroke:"#666666",strokeWidth:"2",fill:"none"}),e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\class{cme-enclose-circle}{#?}",forceLabel:!0,title:"Enclose circle"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup",moreCols:2,moreItems:[{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"12",y1:"3",x2:"12",y2:"21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-vertical-strike}{#?}",title:"Vertical strike"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M3 22 Q11 12 3 2 H21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"11",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:") \\!\\! \\overline{\\vphantom{1}\\;\\;#?\\;}",directInsert:!0,title:"Long division"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"6",y1:"12",x2:"18",y2:"12",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"}),e.createElement("line",{x1:"12",y1:"3",x2:"12",y2:"21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-horizontal-vertical-strike}{#?}",title:"Horizontal and vertical strike"}]},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"9",y1:"21",x2:"15",y2:"3",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-cancel-strike}{#0}",forceLabel:!0,title:"Cancel strike"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"6",y1:"12",x2:"18",y2:"12",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-horizontal-strike}{#?}",forceLabel:!0,title:"Horizontal strike"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"9",y1:"3",x2:"15",y2:"21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-down-strike}{#0}",forceLabel:!0,title:"Down diagonal strike"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"9",y1:"21",x2:"15",y2:"3",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"}),e.createElement("line",{x1:"9",y1:"3",x2:"15",y2:"21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-cross-strike}{#?}",forceLabel:!0,title:"Cross strike"}]},{label:"∑ ⋃ ",fontSize:"8px",mathLabel:"\\sum \\, \\bigcup",isTemplate:!0,items:[{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M44 16 L22 16 L34 32 L22 48 L44 48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"27",y:"-3",width:"10",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"27",y:"56",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\sum_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Summation with limits"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M38 16 L16 16 L28 32 L16 48 L38 48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"42",y:"2",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"42",y:"39",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\sum\\nolimits_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Summation with side limits"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M44 16 L22 16 L34 32 L22 48 L44 48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"27",y:"54",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\sum_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Summation with subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M38 16 L16 16 L28 32 L16 48 L38 48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"42",y:"39",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\sum\\nolimits_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Summation with side subscript"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M18 16 H46 M22 16 V48 M42 16 V48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"27",y:"-2",width:"10",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"27",y:"50",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\prod_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Product with limits"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M12 16 H40 M16 16 V48 M36 16 V48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"44",y:"4",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"44",y:"44",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\prod\\nolimits_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Product with side limits"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M18 16 H46 M22 16 V48 M42 16 V48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"27",y:"50",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\prod_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Product with subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M12 16 H40 M16 16 V48 M36 16 V48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"44",y:"39",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\prod\\nolimits_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Product with side subscript"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"8",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"22",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"24",y:"48",width:"8",height:"12",rx:"1",opacity:"0.45"})),insert:"\\overset{#?}{\\underset{\\raisebox{-4px}{#?}}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Over and underscript"},{label:e.createElement("svg",{viewBox:"0 0 24 24",width:"20",height:"20"},e.createElement("rect",{x:"1",y:"1",width:"14",height:"22",fill:"none",stroke:"currentColor",strokeWidth:"2"}),e.createElement("rect",{x:"17",y:"1",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"}),e.createElement("rect",{x:"17",y:"17",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"})),forceLabel:!0,insert:"{\\style{font-size:1.8em; transform: scale(0.9, 1.2); display: inline-block; padding: 0.2em 0;}{#?}}_{#?}^{\\raisebox{0.6em}{#?}}",isWidget:!0,title:"Subscript and superscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 4 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"19",y:"28",width:"12",height:"18",rx:"1"}),e.createElement("rect",{x:"21",y:"52",width:"8",height:"12",rx:"1",opacity:"0.45"})),insert:"\\underset{\\raisebox{-4px}{#?}}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Underscript"},{label:e.createElement("svg",{viewBox:"0 0 24 24",width:"20",height:"20"},e.createElement("rect",{x:"1",y:"1",width:"14",height:"22",fill:"none",stroke:"currentColor",strokeWidth:"2"}),e.createElement("rect",{x:"17",y:"17",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"})),forceLabel:!0,insert:"{\\style{font-size:1.8em; transform: scale(0.9, 1.2); display: inline-block; padding: 0.2em 0;}{#?}}_{#?}",isWidget:!0,title:"Subscript"},{type:"sep",cols:1,small:!0,cls:"cme-matrix-subgroup",moreCols:3,moreItems:[{label:"⨅",insert:"⨅",title:"Big square cap"},{label:"∏",insert:"∏",title:"Product"},{label:"∑",insert:"∑",title:"Summation"},{label:"⨆",insert:"⨆",title:"Big square cup"},{label:"∐",insert:"∐",title:"Coproduct"}]},{label:"⋃",insert:"\\bigcup",title:"Big union"},{label:"⋂",insert:"\\bigcap",title:"Big intersection"}]},{label:"∫ lim",fontSize:"7px",mathLabel:"\\int_{#?}^{#?} \\, \\lim",isTemplate:!0,items:[{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"24",height:"26",viewBox:"0 0 44 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"4",y:"54",fontFamily:"serif",fontSize:"58",fontStyle:"italic",fill:"#222",stroke:"none",transform:"rotate(10, 14, 32)"},"∫"),e.createElement("rect",{x:"24",y:"10",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"}),e.createElement("rect",{x:"16",y:"46",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"})),insert:"\\int_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Int"},{label:e.createElement("svg",{width:"40",height:"26",viewBox:"0 0 96 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"4",y:"54",fontFamily:"serif",fontSize:"58",fontStyle:"italic",fill:"#222",stroke:"none",transform:"rotate(10, 14, 32)"},"∫"),e.createElement("rect",{x:"24",y:"10",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"}),e.createElement("rect",{x:"16",y:"46",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"}),e.createElement("rect",{x:"42",y:"24",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("text",{x:"62",y:"38",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",stroke:"none"},"d"),e.createElement("rect",{x:"76",y:"24",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\int_{#?}^{#?} #0 \\, d#?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Definite integral"},{label:e.createElement("svg",{width:"24",height:"26",viewBox:"0 0 44 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"4",y:"54",fontFamily:"serif",fontSize:"58",fontStyle:"italic",fill:"#222",stroke:"none",transform:"rotate(10, 14, 32)"},"∫"),e.createElement("rect",{x:"16",y:"46",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"})),insert:"\\int_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Integral with subscript"},{label:e.createElement("svg",{width:"40",height:"26",viewBox:"0 0 96 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"4",y:"54",fontFamily:"serif",fontSize:"58",fontStyle:"italic",fill:"#222",stroke:"none",transform:"rotate(10, 14, 32)"},"∫"),e.createElement("rect",{x:"16",y:"46",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"}),e.createElement("rect",{x:"42",y:"24",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("text",{x:"62",y:"38",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",stroke:"none"},"d"),e.createElement("rect",{x:"76",y:"24",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\int_{#?} #?\\,d#?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Integral with subscript and differential"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"32",y:"42",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"36",fill:"#222",textAnchor:"middle"},"d")),insert:"\\mathrm{d}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Mathrm d"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("line",{x1:"8",y1:"32",x2:"56",y2:"32",stroke:"#222",strokeWidth:"3"}),e.createElement("text",{x:"22",y:"24",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",textAnchor:"middle"},"d"),e.createElement("rect",{x:"32",y:"8",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("text",{x:"22",y:"54",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",textAnchor:"middle"},"d"),e.createElement("rect",{x:"32",y:"38",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\frac{d#?}{d#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Derivative"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"32",y:"44",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"36",fill:"#222",textAnchor:"middle"},"∂")),insert:"∂",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Partial differential"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("line",{x1:"8",y1:"32",x2:"56",y2:"32",stroke:"#222",strokeWidth:"3"}),e.createElement("text",{x:"22",y:"24",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",textAnchor:"middle"},"∂"),e.createElement("rect",{x:"32",y:"8",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("text",{x:"22",y:"54",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",textAnchor:"middle"},"∂"),e.createElement("rect",{x:"32",y:"38",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\frac{∂#?}{∂#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Partial derivative"},{type:"sep",cols:1,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("text",{x:"32",y:"32",fill:"#222",stroke:"none",fontSize:"24",fontFamily:"serif",textAnchor:"middle"},"lim"),e.createElement("rect",{x:"14",y:"40",width:"10",height:"14",rx:"1",opacity:"0.45"}),e.createElement("text",{x:"28",y:"52",fill:"#222",stroke:"none",fontSize:"16",fontFamily:"sans-serif"},"→"),e.createElement("text",{x:"44",y:"52",fill:"#222",stroke:"none",fontSize:"18",fontFamily:"serif"},"∞")),insert:"\\lim_{#?\\to\\infty}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Limit to infinity"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("text",{x:"32",y:"32",fill:"#222",stroke:"none",fontSize:"24",fontFamily:"serif",textAnchor:"middle"},"lim"),e.createElement("rect",{x:"24",y:"40",width:"16",height:"16",rx:"1",opacity:"0.45"})),insert:"\\lim_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Limit"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M12 24 L28 24 L20 40 Z",stroke:"#222",strokeWidth:"3",fill:"none",strokeLinejoin:"round"}),e.createElement("path",{d:"M34 26 L46 38 M46 26 L34 38",stroke:"#222",strokeWidth:"3",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"50",y:"22",width:"12",height:"20",rx:"1"})),insert:"\\nabla\\times #?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Curl"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M16 24 L36 24 L26 44 Z",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinejoin:"round"}),e.createElement("rect",{x:"44",y:"24",width:"16",height:"20",rx:"1"})),insert:"\\nabla #?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Gradient"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M12 24 L28 24 L20 40 Z",stroke:"#222",strokeWidth:"3",fill:"none",strokeLinejoin:"round"}),e.createElement("circle",{cx:"38",cy:"32",r:"3",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"46",y:"22",width:"12",height:"20",rx:"1"})),insert:"\\nabla\\cdot #?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Divergence"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M26 16 L12 44 L40 44 Z",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinejoin:"round"}),e.createElement("rect",{x:"46",y:"24",width:"16",height:"20",rx:"1"})),insert:"\\Delta #?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Laplacian"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup",moreItems:[{label:"∭",insert:"\\iiint",title:"Triple integral"},{label:"∰",insert:"\\mathop{{\\style{font-size:1em;}{\\iiint}}\\mkern-28mu\\class{wider-circle}{\\bigcirc}\\mkern18mu}",title:"Closed volume integral"}]},{label:e.createElement("svg",{width:"14",height:"26",viewBox:"0 0 32 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"22",y:"54",transform:"skewX(-15)",fontFamily:"serif",fontSize:"58",fontWeight:"normal",fill:"#222",stroke:"none",textAnchor:"middle"},"∫")),forceLabel:!0,insert:"\\int",title:"Integral"},{label:e.createElement("svg",{width:"14",height:"26",viewBox:"0 0 32 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"16",y:"54",fontFamily:"serif",fontSize:"58",fontWeight:"normal",fill:"#222",stroke:"none",textAnchor:"middle"},"∬")),forceLabel:!0,insert:"\\iint",title:"Double integral"},{label:e.createElement("svg",{width:"14",height:"26",viewBox:"0 0 32 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"16",y:"54",fontFamily:"serif",fontSize:"58",fontWeight:"normal",fill:"#222",stroke:"none",textAnchor:"middle"},"∮")),forceLabel:!0,insert:"\\oint",title:"Contour integral"},{label:e.createElement("svg",{width:"14",height:"26",viewBox:"0 0 32 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"16",y:"54",fontFamily:"serif",fontSize:"58",fontWeight:"normal",fill:"#222",stroke:"none",textAnchor:"middle"},"∯")),forceLabel:!0,insert:"\\mathop{{\\style{font-size:1em;}{\\iint}}\\mkern-23mu\\class{wide-circle}{\\bigcirc}\\mkern14mu}",title:"Custom surface integral"},{type:"sep",cols:3,cls:"cme-trig-subgroup",moreCols:"3",moreItems:[{label:"csc",insert:"\\csc\\left(#?\\right)",title:"Cosecant"},{label:"sec",insert:"\\sec\\left(#?\\right)",title:"Secant"},{label:"cot",insert:"\\cot\\left(#?\\right)",title:"Cotangent"},{label:"sin⁻¹",insert:"\\sin^{-1}",title:"Inverse sine"},{label:"cos⁻¹",insert:"\\cos^{-1}",title:"Inverse cosine"},{label:"tan⁻¹",insert:"\\tan^{-1}",title:"Inverse tangent"}]},{label:"sin",insert:"\\sin",title:"Sine"},{label:"cos",insert:"\\cos",title:"Cosine"},{label:"tan",insert:"\\tan",title:"Tangent"},{label:"log",insert:"\\log",title:"Logarithm"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"2",y:"42",fontFamily:"serif",fontSize:"28",fill:"#222",stroke:"none"},"log"),e.createElement("rect",{x:"42",y:"36",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"})),insert:"\\log_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Logarithm with base"},{label:"ln",insert:"\\ln",title:"Natural logarithm"}]}],it=[{label:"H₂O",isChem:!0,items:[{type:"sep",cols:2,small:!0,cls:"cme-trig-subgroup",moreCols:18,moreItems:[{label:"H",insert:"\\mathrm{H}",title:"Mathrm H",cls:"pt-unknown"},...Array.from({length:16},()=>({label:"",cls:"pt-empty"})),{label:"He",insert:"\\mathrm{He}",title:"Mathrm He",cls:"pt-noble"},{label:"Li",insert:"\\mathrm{Li}",title:"Mathrm Li",cls:"pt-alkali"},{label:"Be",insert:"\\mathrm{Be}",title:"Mathrm Be",cls:"pt-alkaline"},...Array.from({length:10},()=>({label:"",cls:"pt-empty"})),{label:"B",insert:"\\mathrm{B}",title:"Mathrm B",cls:"pt-nonmetal"},{label:"C",insert:"\\mathrm{C}",title:"Mathrm C",cls:"pt-nonmetal"},{label:"N",insert:"\\mathrm{N}",title:"Mathrm N",cls:"pt-nonmetal"},{label:"O",insert:"\\mathrm{O}",title:"Mathrm O",cls:"pt-nonmetal"},{label:"F",insert:"\\mathrm{F}",title:"Mathrm F",cls:"pt-nonmetal"},{label:"Ne",insert:"\\mathrm{Ne}",title:"Mathrm Ne",cls:"pt-noble"},{label:"Na",insert:"\\mathrm{Na}",title:"Mathrm Na",cls:"pt-alkali"},{label:"Mg",insert:"\\mathrm{Mg}",title:"Mathrm Mg",cls:"pt-alkaline"},...Array.from({length:10},()=>({label:"",cls:"pt-empty"})),{label:"Al",insert:"\\mathrm{Al}",title:"Mathrm Al",cls:"pt-metalloid"},{label:"Si",insert:"\\mathrm{Si}",title:"Mathrm Si",cls:"pt-metalloid"},{label:"P",insert:"\\mathrm{P}",title:"Mathrm P",cls:"pt-nonmetal"},{label:"S",insert:"\\mathrm{S}",title:"Mathrm S",cls:"pt-nonmetal"},{label:"Cl",insert:"\\mathrm{Cl}",title:"Mathrm Cl",cls:"pt-nonmetal"},{label:"Ar",insert:"\\mathrm{Ar}",title:"Mathrm Ar",cls:"pt-noble"},{label:"K",insert:"\\mathrm{K}",title:"Mathrm K",cls:"pt-alkali"},{label:"Ca",insert:"\\mathrm{Ca}",title:"Mathrm Ca",cls:"pt-alkaline"},{label:"Sc",insert:"\\mathrm{Sc}",title:"Mathrm Sc",cls:"pt-transition"},{label:"Ti",insert:"\\mathrm{Ti}",title:"Mathrm Ti",cls:"pt-transition"},{label:"V",insert:"\\mathrm{V}",title:"Mathrm V",cls:"pt-transition"},{label:"Cr",insert:"\\mathrm{Cr}",title:"Mathrm Cr",cls:"pt-transition"},{label:"Mn",insert:"\\mathrm{Mn}",title:"Mathrm Mn",cls:"pt-transition"},{label:"Fe",insert:"\\mathrm{Fe}",title:"Mathrm Fe",cls:"pt-transition"},{label:"Co",insert:"\\mathrm{Co}",title:"Mathrm Co",cls:"pt-transition"},{label:"Ni",insert:"\\mathrm{Ni}",title:"Mathrm Ni",cls:"pt-transition"},{label:"Cu",insert:"\\mathrm{Cu}",title:"Mathrm Cu",cls:"pt-transition"},{label:"Zn",insert:"\\mathrm{Zn}",title:"Mathrm Zn",cls:"pt-transition"},{label:"Ga",insert:"\\mathrm{Ga}",title:"Mathrm Ga",cls:"pt-metalloid"},{label:"Ge",insert:"\\mathrm{Ge}",title:"Mathrm Ge",cls:"pt-metalloid"},{label:"As",insert:"\\mathrm{As}",title:"Mathrm As",cls:"pt-nonmetal"},{label:"Se",insert:"\\mathrm{Se}",title:"Mathrm Se",cls:"pt-nonmetal"},{label:"Br",insert:"\\mathrm{Br}",title:"Mathrm Br",cls:"pt-nonmetal"},{label:"Kr",insert:"\\mathrm{Kr}",title:"Mathrm Kr",cls:"pt-noble"},{label:"Rb",insert:"\\mathrm{Rb}",title:"Mathrm Rb",cls:"pt-alkali"},{label:"Sr",insert:"\\mathrm{Sr}",title:"Mathrm Sr",cls:"pt-alkaline"},{label:"Y",insert:"\\mathrm{Y}",title:"Mathrm Y",cls:"pt-transition"},{label:"Zr",insert:"\\mathrm{Zr}",title:"Mathrm Zr",cls:"pt-transition"},{label:"Nb",insert:"\\mathrm{Nb}",title:"Mathrm Nb",cls:"pt-transition"},{label:"Mo",insert:"\\mathrm{Mo}",title:"Mathrm Mo",cls:"pt-transition"},{label:"Tc",insert:"\\mathrm{Tc}",title:"Mathrm Tc",cls:"pt-transition"},{label:"Ru",insert:"\\mathrm{Ru}",title:"Mathrm Ru",cls:"pt-transition"},{label:"Rh",insert:"\\mathrm{Rh}",title:"Mathrm Rh",cls:"pt-transition"},{label:"Pd",insert:"\\mathrm{Pd}",title:"Mathrm Pd",cls:"pt-transition"},{label:"Ag",insert:"\\mathrm{Ag}",title:"Mathrm Ag",cls:"pt-transition"},{label:"Cd",insert:"\\mathrm{Cd}",title:"Mathrm Cd",cls:"pt-transition"},{label:"In",insert:"\\mathrm{In}",title:"Mathrm In",cls:"pt-metalloid"},{label:"Sn",insert:"\\mathrm{Sn}",title:"Mathrm Sn",cls:"pt-metalloid"},{label:"Sb",insert:"\\mathrm{Sb}",title:"Mathrm Sb",cls:"pt-metalloid"},{label:"Te",insert:"\\mathrm{Te}",title:"Mathrm Te",cls:"pt-nonmetal"},{label:"I",insert:"\\mathrm{I}",title:"Mathrm I",cls:"pt-nonmetal"},{label:"Xe",insert:"\\mathrm{Xe}",title:"Mathrm Xe",cls:"pt-noble"},{label:"Cs",insert:"\\mathrm{Cs}",title:"Mathrm Cs",cls:"pt-alkali"},{label:"Ba",insert:"\\mathrm{Ba}",title:"Mathrm Ba",cls:"pt-alkaline"},{label:"",insert:"",cls:"pt-transition"},{label:"Hf",insert:"\\mathrm{Hf}",title:"Mathrm Hf",cls:"pt-transition"},{label:"Ta",insert:"\\mathrm{Ta}",title:"Mathrm Ta",cls:"pt-transition"},{label:"W",insert:"\\mathrm{W}",title:"Mathrm W",cls:"pt-transition"},{label:"Re",insert:"\\mathrm{Re}",title:"Mathrm Re",cls:"pt-transition"},{label:"Os",insert:"\\mathrm{Os}",title:"Mathrm Os",cls:"pt-transition"},{label:"Ir",insert:"\\mathrm{Ir}",title:"Mathrm Ir",cls:"pt-transition"},{label:"Pt",insert:"\\mathrm{Pt}",title:"Mathrm Pt",cls:"pt-transition"},{label:"Au",insert:"\\mathrm{Au}",title:"Mathrm Au",cls:"pt-transition"},{label:"Hg",insert:"\\mathrm{Hg}",title:"Mathrm Hg",cls:"pt-transition"},{label:"Tl",insert:"\\mathrm{Tl}",title:"Mathrm Tl",cls:"pt-metalloid"},{label:"Pb",insert:"\\mathrm{Pb}",title:"Mathrm Pb",cls:"pt-metalloid"},{label:"Bi",insert:"\\mathrm{Bi}",title:"Mathrm Bi",cls:"pt-metalloid"},{label:"Po",insert:"\\mathrm{Po}",title:"Mathrm Po",cls:"pt-metalloid"},{label:"At",insert:"\\mathrm{At}",title:"Mathrm At",cls:"pt-nonmetal"},{label:"Rn",insert:"\\mathrm{Rn}",title:"Mathrm Rn",cls:"pt-noble"},{label:"Fr",insert:"\\mathrm{Fr}",title:"Mathrm Fr",cls:"pt-alkali"},{label:"Ra",insert:"\\mathrm{Ra}",title:"Mathrm Ra",cls:"pt-alkaline"},{label:"",insert:"",cls:"pt-transition"},{label:"Rf",insert:"\\mathrm{Rf}",title:"Mathrm Rf",cls:"pt-transition"},{label:"Db",insert:"\\mathrm{Db}",title:"Mathrm Db",cls:"pt-transition"},{label:"Sg",insert:"\\mathrm{Sg}",title:"Mathrm Sg",cls:"pt-transition"},{label:"Bh",insert:"\\mathrm{Bh}",title:"Mathrm Bh",cls:"pt-transition"},{label:"Hs",insert:"\\mathrm{Hs}",title:"Mathrm Hs",cls:"pt-transition"},{label:"Mt",insert:"\\mathrm{Mt}",title:"Mathrm Mt",cls:"pt-transition"},{label:"Ds",insert:"\\mathrm{Ds}",title:"Mathrm Ds",cls:"pt-transition"},{label:"Rg",insert:"\\mathrm{Rg}",title:"Mathrm Rg",cls:"pt-transition"},{label:"Cn",insert:"\\mathrm{Cn}",title:"Mathrm Cn",cls:"pt-transition"},{label:"Nh",insert:"\\mathrm{Nh}",title:"Mathrm Nh",cls:"pt-metalloid"},{label:"Fl",insert:"\\mathrm{Fl}",title:"Mathrm Fl",cls:"pt-metalloid"},{label:"Mc",insert:"\\mathrm{Mc}",title:"Mathrm Mc",cls:"pt-metalloid"},{label:"Lv",insert:"\\mathrm{Lv}",title:"Mathrm Lv",cls:"pt-metalloid"},{label:"Ts",insert:"\\mathrm{Ts}",title:"Mathrm Ts",cls:"pt-unknown"},{label:"Og",insert:"\\mathrm{Og}",title:"Mathrm Og",cls:"pt-unknown"},...Array.from({length:18},()=>({label:"",cls:"pt-empty"})),...Array.from({length:2},()=>({label:"",cls:"pt-empty"})),{label:"La",insert:"\\mathrm{La}",title:"Mathrm La",cls:"pt-transition"},{label:"Ce",insert:"\\mathrm{Ce}",title:"Mathrm Ce",cls:"pt-lanthanide"},{label:"Pr",insert:"\\mathrm{Pr}",title:"Mathrm Pr",cls:"pt-lanthanide"},{label:"Nd",insert:"\\mathrm{Nd}",title:"Mathrm Nd",cls:"pt-lanthanide"},{label:"Pm",insert:"\\mathrm{Pm}",title:"Mathrm Pm",cls:"pt-lanthanide"},{label:"Sm",insert:"\\mathrm{Sm}",title:"Mathrm Sm",cls:"pt-lanthanide"},{label:"Eu",insert:"\\mathrm{Eu}",title:"Mathrm Eu",cls:"pt-lanthanide"},{label:"Gd",insert:"\\mathrm{Gd}",title:"Mathrm Gd",cls:"pt-lanthanide"},{label:"Tb",insert:"\\mathrm{Tb}",title:"Mathrm Tb",cls:"pt-lanthanide"},{label:"Dy",insert:"\\mathrm{Dy}",title:"Mathrm Dy",cls:"pt-lanthanide"},{label:"Ho",insert:"\\mathrm{Ho}",title:"Mathrm Ho",cls:"pt-lanthanide"},{label:"Er",insert:"\\mathrm{Er}",title:"Mathrm Er",cls:"pt-lanthanide"},{label:"Tm",insert:"\\mathrm{Tm}",title:"Mathrm Tm",cls:"pt-lanthanide"},{label:"Yb",insert:"\\mathrm{Yb}",title:"Mathrm Yb",cls:"pt-lanthanide"},{label:"Lu",insert:"\\mathrm{Lu}",title:"Mathrm Lu",cls:"pt-lanthanide"},{label:"",cls:"pt-empty"},...Array.from({length:2},()=>({label:"",cls:"pt-empty"})),{label:"Ac",insert:"\\mathrm{Ac}",title:"Mathrm Ac",cls:"pt-actinide"},{label:"Th",insert:"\\mathrm{Th}",title:"Mathrm Th",cls:"pt-actinide"},{label:"Pa",insert:"\\mathrm{Pa}",title:"Mathrm Pa",cls:"pt-actinide"},{label:"U",insert:"\\mathrm{U}",title:"Mathrm U",cls:"pt-actinide"},{label:"Np",insert:"\\mathrm{Np}",title:"Mathrm Np",cls:"pt-actinide"},{label:"Pu",insert:"\\mathrm{Pu}",title:"Mathrm Pu",cls:"pt-actinide"},{label:"Am",insert:"\\mathrm{Am}",title:"Mathrm Am",cls:"pt-actinide"},{label:"Cm",insert:"\\mathrm{Cm}",title:"Mathrm Cm",cls:"pt-actinide"},{label:"Bk",insert:"\\mathrm{Bk}",title:"Mathrm Bk",cls:"pt-actinide"},{label:"Cf",insert:"\\mathrm{Cf}",title:"Mathrm Cf",cls:"pt-actinide"},{label:"Es",insert:"\\mathrm{Es}",title:"Mathrm Es",cls:"pt-actinide"},{label:"Fm",insert:"\\mathrm{Fm}",title:"Mathrm Fm",cls:"pt-actinide"},{label:"Md",insert:"\\mathrm{Md}",title:"Mathrm Md",cls:"pt-actinide"},{label:"No",insert:"\\mathrm{No}",title:"Mathrm No",cls:"pt-actinide"},{label:"Lr",insert:"\\mathrm{Lr}",title:"Mathrm Lr",cls:"pt-actinide"},{label:"",cls:"pt-empty"}]},{label:"H",insert:"\\mathrm{H}",title:"Mathrm H"},{label:"C",insert:"\\mathrm{C}",title:"Mathrm C"},{label:"N",insert:"\\mathrm{N}",title:"Mathrm N"},{label:"O",insert:"\\mathrm{O}",title:"Mathrm O"},{label:"F",insert:"\\mathrm{F}",title:"Mathrm F"},{label:"S",insert:"\\mathrm{S}",title:"Mathrm S"},{type:"sep",cols:1,small:!0,cls:"cme-trig-subgroup"},{label:"°",insert:"^\\circ",title:"Degree"},{label:"Δ",insert:"\\Delta",title:"Increment / Delta"},{label:"mol",insert:"\\mathrm{mol}",title:"Mathrm mol"},{type:"sep",cols:1,small:!0,cls:"cme-trig-subgroup"},{label:"-",insert:"-",title:"Single bond"},{label:"=",insert:"=",title:"Double bond"},{label:"≡",insert:"\\equiv",title:"Triple bond"},{type:"sep",cols:3,small:!0,cls:"cme-trig-subgroup",moreCols:3,moreItems:[{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("path",{d:"M 8 32 L 56 32 M 44 20 L 56 32 L 44 44",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"24",y:"2",width:"16",height:"12",rx:"2",stroke:"#2E7D32",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"24",y:"50",width:"16",height:"12",rx:"2",stroke:"#2E7D32",strokeWidth:"4",fill:"none"})),insert:"\\xrightarrow[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right arrow with overscript and underscript"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("path",{d:"M 8 26 L 56 26 M 44 14 L 56 26 M 56 38 L 8 38 M 20 50 L 8 38",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"24",y:"2",width:"16",height:"12",rx:"2",stroke:"#2E7D32",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"24",y:"50",width:"16",height:"12",rx:"2",stroke:"#2E7D32",strokeWidth:"4",fill:"none"})),insert:"\\xrightleftharpoons[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium with overscript and underscript"},{label:e.createElement("svg",{width:"20",height:"20",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"40",x2:"52",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 32L12 40L24 48V42H34V38H24V32Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"28",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrows[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium Arrow with Above and Below Labels"}]},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("path",{d:"M 8 32 L 56 32 M 44 20 L 56 32 L 44 44",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"})),insert:"\\rightarrow",title:"Right arrow"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("path",{d:"M 8 44 L 56 44 M 44 32 L 56 44 L 44 56",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"24",y:"12",width:"16",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"4",fill:"none"})),insert:"\\xrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right arrow with overscript"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("path",{d:"M 8 20 L 56 20 M 44 8 L 56 20 L 44 32",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"24",y:"36",width:"16",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"4",fill:"none"})),insert:"\\xrightarrow[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right arrow with underscript"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("path",{d:"M 8 24 L 56 24 M 44 12 L 56 24 M 56 40 L 8 40 M 20 52 L 8 40",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"})),insert:"\\rightleftharpoons",title:"Equilibrium"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("path",{d:"M 8 32 L 56 32 M 44 20 L 56 32 M 56 48 L 8 48 M 20 60 L 8 48",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"24",y:"2",width:"16",height:"14",rx:"2",stroke:"#2E7D32",strokeWidth:"4",fill:"none"})),insert:"\\xrightleftharpoons{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium with overscript"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("path",{d:"M 8 16 L 56 16 M 44 4 L 56 16 M 56 32 L 8 32 M 20 44 L 8 32",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"24",y:"48",width:"16",height:"14",rx:"2",stroke:"#2E7D32",strokeWidth:"4",fill:"none"})),insert:"\\xrightleftharpoons[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium with underscript"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("path",{d:"M 8 22 L 56 22 M 46 12 L 56 22 L 46 32 M 56 42 L 8 42 M 18 32 L 8 42 L 18 52",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"})),insert:"\\rightleftarrows",title:"Right left arrows"},{label:e.createElement("svg",{width:"20",height:"20",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"40",x2:"52",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 32L12 40L24 48V42H34V38H24V32Z",fill:"#222",stroke:"none"})),insert:"\\xleftrightarrows{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium Arrow with Label Above"},{label:e.createElement("svg",{width:"20",height:"20",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"20",x2:"46",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 12L52 20L40 28V22H30V18H40V12Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"34",x2:"52",y2:"34",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 26L12 34L24 42V36H34V32H24V26Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrows[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium Arrow with Label Below"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"32",y:"10",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"32",y:"36",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"{#?}_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Raised Box with Subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"32",y:"10",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Raised Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"8",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"18",y:"36",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"30",y:"20",width:"12",height:"20",rx:"1"})),insert:"{}_{#?}^{#?}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Superscript and Subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"14",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"36",y:"28",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"{#?}_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Lowered Box"},{type:"sep",cols:1,small:!0},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 12 Q8 32 18 52",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M46 12 Q56 32 46 52",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left(#0\\right)",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Parentheses"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 12H12V52H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M46 12H52V52H46",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left[#0\\right]",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Square Brackets"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M20 12C16 12 16 18 18 22C19 24 19 26 16 29C19 32 19 34 18 36C16 40 16 46 20 52",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2",strokeWidth:"4"}),e.createElement("path",{d:"M44 12C48 12 48 18 46 22C45 24 45 26 48 29C45 32 45 34 46 36C48 40 48 46 44 52",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"})),insert:"\\left\\{ #? \\right\\}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Curly brackets"},{type:"sep",cols:2},{label:"↶",action:"UNDO",title:"Undo"},{label:"↷",action:"REDO",title:"Redo"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2"},e.createElement("circle",{cx:"6",cy:"6",r:"3"}),e.createElement("circle",{cx:"6",cy:"18",r:"3"}),e.createElement("line",{x1:"20",y1:"4",x2:"8.12",y2:"15.88"}),e.createElement("line",{x1:"14.47",y1:"14.48",x2:"20",y2:"20"}),e.createElement("line",{x1:"8.12",y1:"8.12",x2:"12",y2:"12"})),action:"CUT",title:"Cut"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2"},e.createElement("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),e.createElement("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})),action:"COPY",title:"Copy"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2"},e.createElement("path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"}),e.createElement("rect",{x:"8",y:"2",width:"8",height:"4",rx:"1",ry:"1"})),action:"PASTE",title:"Paste"},{type:"sep",cols:2},{label:e.createElement(ie.FontAwesomeIcon,{icon:ne.faBold}),action:"BOLD",cls:"template",title:"Bold"},{label:e.createElement(ie.FontAwesomeIcon,{icon:ne.faItalic}),action:"ITALIC",cls:"template",title:"Italic"},{label:e.createElement("img",{src:Le,alt:"Omega",width:"18",height:"18",style:{display:"block"}}),title:"Insert Special Character",action:"SPECIAL_CHARS"},{label:e.createElement("img",{src:Te,alt:"Palette",width:"18",height:"18",style:{display:"block"}}),action:"TEXT_COLOR",title:"Text Color"},{type:"sep",cols:1},{type:"dropdown",label:"Font..."},{type:"dropdown",label:"Size"}]},{label:"∈ ∞",items:[{type:"sep",cols:1,small:!0},{label:"⌿",insert:"\\cancel{#?}",isWidget:!0,title:"Cancel strike"},{type:"sep",cols:3,small:!0,moreItems:[{label:"∖",insert:"\\setminus",title:"Set minus"},{label:"\\",insert:"\\backslash",title:"Reverse solidus"},{label:"∓",insert:"\\mp",title:"Minus or plus"}]},{label:"+",insert:"+",title:"Plus"},{label:"×",insert:"\\times",title:"Multiply"},{label:"·",insert:"\\cdot",title:"Dot product"},{label:"−",insert:"-",title:"Minus"},{label:"÷",insert:"\\div",title:"Divide sign"},{label:"/",insert:"/",title:"Slash"},{label:"±",insert:"\\pm",title:"Plus-minus"},{label:"*",insert:"*",title:"Asterisk"},{label:"○",insert:"\\circ",title:"Circle"},{type:"sep",cols:3,small:!0,moreItems:[{label:"‴",insert:"\\prime\\prime\\prime",title:"Triple prime"},{label:"⁗",insert:"\\prime\\prime\\prime\\prime",title:"Quadruple prime"},{label:"‵",insert:"\\backprime",title:"Reversed prime"}]},{label:"π",insert:"\\pi",title:"Pi"},{label:"∂",insert:"∂",title:"Partial derivative"},{label:"°",insert:"^\\circ",title:"Degree"},{label:"∞",insert:"\\infty",title:"Infinity"},{label:"Δ",insert:"\\Delta",title:"Delta"},{label:"'",insert:"'",title:"Prime"},{label:"∅",insert:"\\emptyset",title:"Empty set"},{label:"∇",insert:"\\nabla",title:"Nabla / Gradient"},{label:"''",insert:"''",title:"Double prime"},{type:"sep",cols:2,moreCols:2,small:!0,moreItems:[{label:"≠",insert:"\\neq",title:"Not equal"},{label:"≉",insert:"\\not\\approx",title:"Not almost equal to"},{label:"≢",insert:"\\not\\equiv",title:"Not identical to"},{label:"≁",insert:"\\not\\sim",title:"Not similar"}]},{label:"=",insert:"=",title:"Equals"},{label:"≡",insert:"\\equiv",title:"Equivalent"},{label:"∼",insert:"\\sim",title:"Similar to"},{label:"≈",insert:"\\approx",title:"Approximately equal"},{label:"≃",insert:"\\simeq",title:"Asymptotically equal"},{label:"≅",insert:"\\cong",title:"Congruent"},{type:"sep",cols:2,small:!0,moreCols:3,moreItems:[{label:"≨",insert:"\\lneqq",title:"Less than but not equal to"},{label:"≫",insert:"\\gg",title:"Much greater than"},{label:"≻",insert:"\\succ",title:"Succeeds"},{label:"≩",insert:"\\gneqq",title:"Greater than but not equal to"},{label:"∝",insert:"\\propto",title:"Proportional to"},{label:"⊲",insert:"\\triangleleft",title:"Normal subgroup of"},{label:"≪",insert:"\\ll",title:"Much less than"},{label:"≺",insert:"\\prec",title:"Precedes"},{label:"⊳",insert:"\\triangleright",title:"Contains as normal subgroup"}]},{label:">",insert:">",title:"Greater than"},{label:"<",insert:"<",title:"Less than"},{label:"≥",insert:"\\geq",title:"Greater than or equal"},{label:"≤",insert:"\\leq",title:"Less than or equal"},{label:"⩾",insert:"\\geqslant",title:"Greater than or equal slant"},{label:"⩽",insert:"\\leqslant",title:"Less than or equal slant"},{type:"sep",cols:2,small:!0,moreCols:4,moreItems:[{label:"∉",insert:"\\notin",title:"Not an element of"},{label:"∌",insert:"\\not\\ni",title:"Does not contain as member"},{label:"⊆",insert:"\\subseteq",title:"Subset of or equal to"},{label:"⊇",insert:"\\supseteq",title:"Superset of or equal to"},{label:"⊏",insert:"\\sqsubset",title:"Square image of"},{label:"⊐",insert:"\\sqsupset",title:"Square original of"},{label:"⊑",insert:"\\sqsubseteq",title:"Square image of or equal to"},{label:"⊒",insert:"\\sqsupseteq",title:"Square original of or equal to"},{label:"⊓",insert:"\\sqcap",title:"Square intersection"},{label:"⊔",insert:"\\sqcup",title:"Square union"}]},{label:"∈",insert:"\\in",title:"Element of"},{label:"∋",insert:"\\ni",title:"Contains as member"},{label:"∪",insert:"\\cup",title:"Union"},{label:"∩",insert:"\\cap",title:"Intersection"},{label:"⊂",insert:"\\subset",title:"Subset"},{label:"⊃",insert:"\\supset",title:"Superset"},{type:"sep",cols:2,small:!0,moreCols:1,moreItems:[{label:"∴",insert:"\\therefore",title:"Therefore"},{label:"∵",insert:"\\because",title:"Because"}]},{label:"∧",insert:"\\land",title:"Logical AND"},{label:"∨",insert:"\\lor",title:"Logical OR"},{label:"¬",insert:"\\neg",title:"Logical NOT"},{label:"∀",insert:"\\forall",title:"For all"},{label:"∃",insert:"\\exists",title:"Exists"},{label:"∄",insert:"\\nexists",title:"Does not exist"},{type:"sep",cols:1,small:!0,moreCols:2,moreItems:[{label:"∦",insert:"\\nparallel",title:"Not parallel to"},{label:"⋄",insert:"\\diamond",title:"Diamond"},{label:"∡",insert:"\\measuredangle",title:"Measured angle"},{label:"∢",insert:"\\sphericalangle",title:"Spherical angle"}]},{label:"∠",insert:"\\angle",title:"Angle"},{label:"∥",insert:"\\parallel",title:"Parallel"},{label:"⊥",insert:"\\perp",title:"Perpendicular"},{type:"sep",cols:1,small:!0,moreCols:1,moreItems:[{label:"▭",insert:"▭",title:"Rectangle"},{label:"▱",insert:"▱",title:"Parallelogram"}]},{label:"□",insert:"\\square",title:"Square"},{label:"△",insert:"\\triangle",title:"Triangle"},{label:"○",insert:"\\circ",title:"Circle"},{type:"sep",cols:1,small:!0,moreCols:2,moreItems:[{label:"⊝",insert:"⊝",title:"Circled dash"},{label:"•",insert:"\\bullet",title:"Bullet"},{label:"⊛",insert:"⊛",title:"Circled asterisk"},{label:"⨸",insert:"⨸",title:"Circled division"}]},{label:"⊕",insert:"\\oplus",title:"Direct sum / Circled plus"},{label:"⊗",insert:"\\otimes",title:"Tensor product / Circled times"},{label:"⊙",insert:"\\odot",title:"Circled dot operator"}]},{label:"→ ⋰",isTemplate:!0,items:[{type:"sep",cols:3,small:!0,cls:"cme-trig-subgroup",moreCols:11,moreItems:[{label:"↗",insert:"\\nearrow",title:"North east arrow"},{label:"↘",insert:"\\searrow",title:"South east arrow"},{label:"↖",insert:"\\nwarrow",title:"North west arrow"},{label:"↙",insert:"\\swarrow",title:"South west arrow"},{label:"⤡",insert:"\\nwsearrow",title:"North west and south east arrow"},{label:"⤢",insert:"\\neswarrow",title:"North east and south west arrow"},{label:"↩",insert:"\\hookleftarrow",title:"Leftwards arrow with hook"},{label:"↪",insert:"\\hookrightarrow",title:"Rightwards arrow with hook"},{label:"↼",insert:"\\leftharpoonup",title:"Leftwards harpoon with barb upwards"},{label:"⇀",insert:"\\rightharpoonup",title:"Rightwards harpoon with barb upwards"},{label:"↑",insert:"\\uparrow",title:"Upwards arrow"},{label:"↓",insert:"\\downarrow",title:"Downwards arrow"},{label:"⇑",insert:"\\Uparrow",title:"Upwards double arrow"},{label:"⇓",insert:"\\Downarrow",title:"Downwards double arrow"},{label:"⥪",insert:"⥪",title:"Leftwards harpoon over dash"},{label:"⥭",insert:"⥭",title:"Dash over rightwards harpoon"},{label:"⇋",insert:"\\leftrightharpoons",title:"Leftwards harpoon over rightwards harpoon"},{label:"⇌",insert:"\\rightleftharpoons",title:"Rightwards harpoon over leftwards harpoon"},{label:"↽",insert:"\\leftharpoondown",title:"Leftwards harpoon with barb downwards"},{label:"⇁",insert:"\\rightharpoondown",title:"Rightwards harpoon with barb downwards"},{label:"⇆",insert:"\\leftrightarrows",title:"Leftwards arrow over rightwards arrow"},{label:"⇄",insert:"\\rightleftarrows",title:"Rightwards arrow over leftwards arrow"},{label:"⇅",insert:"\\updownarrows",title:"Upwards arrow leftwards of downwards arrow"},{label:"⇵",insert:"\\downuparrows",title:"Downwards arrow leftwards of upwards arrow"},{label:"⥮",insert:"\\upharpoonleftdownharpoonright",title:"Up harpoon left down harpoon right"},{label:"⥯",insert:"\\downharpoonleftupharpoonright",title:"Down harpoon left up harpoon right"},{label:"⥂",insert:"⥂",title:"Rightwards arrow over short leftwards arrow"},{label:"⥄",insert:"⥄",title:"Short rightwards arrow over leftwards arrow"},{label:"↕",insert:"\\updownarrow",title:"Up-down arrow"},{label:"⇕",insert:"\\Updownarrow",title:"Up-down double arrow"},{label:"↵",insert:"\\hookleftarrow",title:"Downwards arrow with corner leftwards"}]},{label:"←",insert:"\\leftarrow",title:"Left arrow"},{label:"→",insert:"\\rightarrow",title:"Right arrow"},{label:"↔",insert:"\\leftrightarrow",title:"Left-right arrow"},{label:"⇐",insert:"\\Leftarrow",title:"Left double arrow"},{label:"⇒",insert:"\\Rightarrow",title:"Right double arrow"},{label:"⇔",insert:"\\Leftrightarrow",title:"Left-right double arrow"},{label:"↤",insert:"\\mapsfrom",title:"Leftwards arrow from bar"},{label:"↦",insert:"\\mapsto",title:"Rightwards arrow from bar"},{type:"sep",cols:2,small:!0,cls:"cme-trig-subgroup"},{label:"⋮",insert:"\\vdots",title:"Vertical ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋰",insert:"⋰",title:"Upright diagonal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"…",insert:"\\ldots",title:"Horizontal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋱",insert:"\\ddots",title:"Down-right diagonal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋯",insert:"\\cdots",title:"Middle line horizontal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{type:"sep",cols:1,small:!0,cls:"cme-trig-subgroup"},{label:"-",insert:"-",title:"Short dash (hyphen)"},{label:"–",insert:"–",title:"En dash"},{label:"—",insert:"—",title:"Em dash"},{type:"sep",cols:3,small:!0,cls:"cme-matrix-subgroup",moreCols:11,moreItems:[{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"38",x2:"52",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M18 30L6 38L18 46V40H26V36H18V30Z",fill:"#222",stroke:"none"}),e.createElement("path",{d:"M46 30L58 38L46 46V40H38V36H46V30Z",fill:"#222",stroke:"none"})),insert:"\\xleftrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrow with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"24",x2:"52",y2:"24",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M18 16L6 24L18 32V26H26V22H18V16Z",fill:"#222",stroke:"none"}),e.createElement("path",{d:"M46 16L58 24L46 32V26H38V22H46V16Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"38",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrow[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrow with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"32",x2:"52",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M18 24L6 32L18 40V34H26V30H18V24Z",fill:"#222",stroke:"none"}),e.createElement("path",{d:"M46 24L58 32L46 40V34H38V30H46V24Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"44",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrow[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrow with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"28",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"18",y1:"30",x2:"52",y2:"30",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 22L12 30L24 38V32H34V28H24V22Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"12",y1:"44",x2:"46",y2:"44",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 36L52 44L40 52V46H30V42H40V36Z",fill:"#222",stroke:"none"})),insert:"\\class{cme-flip-v}{\\xtofrom[\\class{cme-flip-v}{#?}]{}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrows with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"18",y1:"20",x2:"52",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 12L12 20L24 28V22H34V18H24V12Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"12",y1:"34",x2:"46",y2:"34",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 26L52 34L40 42V36H30V32H40V26Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\class{cme-flip-v}{\\xtofrom{\\class{cme-flip-v}{#?}}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrows with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"28",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"18",y1:"26",x2:"52",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 18L12 26L24 34V28H34V24H24V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"12",y1:"40",x2:"46",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 32L52 40L40 48V42H30V38H40V32Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\class{cme-flip-v}{\\xtofrom[\\class{cme-flip-v}{#?}]{\\class{cme-flip-v}{#?}}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrows with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"40",x2:"52",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 32L12 40L24 48V42H34V38H24V32Z",fill:"#222",stroke:"none"})),insert:"\\xleftrightarrows{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium Arrow with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"20",x2:"46",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 12L52 20L40 28V22H30V18H40V12Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"34",x2:"52",y2:"34",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 26L12 34L24 42V36H34V32H24V26Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrows[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium Arrow with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"40",x2:"52",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 32L12 40L24 48V42H34V38H24V32Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"28",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrows[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium Arrow with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"28",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"27",x2:"56",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 19L12 27L22 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"8",y1:"37",x2:"52",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 45L52 37L42 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),insert:"\\xleftrightharpoons{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Harpoons with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"27",x2:"56",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 19L12 27L22 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"8",y1:"37",x2:"52",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 45L52 37L42 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightharpoons[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Harpoons with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"27",x2:"56",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 19L12 27L22 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"8",y1:"37",x2:"52",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 45L52 37L42 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightharpoons[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Harpoons with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"8",y1:"27",x2:"52",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 19L52 27L42 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"12",y1:"37",x2:"56",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 45L12 37L22 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),insert:"\\xrightleftharpoons{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Harpoons with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"8",y1:"27",x2:"52",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 19L52 27L42 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"12",y1:"37",x2:"56",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 45L12 37L22 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xrightleftharpoons[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Harpoons with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"8",y1:"27",x2:"52",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 19L52 27L42 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"12",y1:"37",x2:"56",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 45L12 37L22 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"28",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xrightleftharpoons[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Harpoons with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"42",x2:"34",y2:"42",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 34L12 42L24 50V44H30V40H24V34Z",fill:"#222",stroke:"none"})),insert:"\\overset{#?}{\\underset{\\leftarrow}{\\rightarrow}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"42",x2:"34",y2:"42",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 34L12 42L24 50V44H30V40H24V34Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\underset{#?}{\\underset{\\leftarrow}{\\rightarrow}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"42",x2:"34",y2:"42",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 34L12 42L24 50V44H30V40H24V34Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\overset{#?}{\\underset{#?}{\\underset{\\leftarrow}{\\rightarrow}}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"24",y1:"28",x2:"42",y2:"28",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 20L48 28L36 36V30H30V26H36V20Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"44",x2:"42",y2:"44",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 36L12 44L24 52V46H30V42H24V36Z",fill:"#222",stroke:"none"})),insert:"\\overset{#?}{\\overset{\\rightarrow}{\\leftarrow}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"24",y1:"28",x2:"42",y2:"28",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 20L48 28L36 36V30H30V26H36V20Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"44",x2:"42",y2:"44",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 36L12 44L24 52V46H30V42H24V36Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\underset{#?}{\\overset{\\rightarrow}{\\leftarrow}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"24",y1:"28",x2:"42",y2:"28",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 20L48 28L36 36V30H30V26H36V20Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"44",x2:"42",y2:"44",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 36L12 44L24 52V46H30V42H24V36Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\overset{#?}{\\underset{#?}{\\overset{\\rightarrow}{\\leftarrow}}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Above and Below Labels"}]},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"38",x2:"42",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 30L48 38L36 46V40H28V36H36V30Z",fill:"#222",stroke:"none"})),insert:"\\xrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Arrow with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"20",x2:"42",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 12L48 20L36 28V22H28V18H36V12Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"34",width:"10",height:"16",rx:"2"})),insert:"\\xrightarrow[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Arrow with underscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"32",x2:"42",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 24L48 32L36 40V34H28V30H36V24Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"44",width:"10",height:"16",rx:"2"})),insert:"\\xrightarrow[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Arrow with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#222"}},e.createElement("line",{x1:"18",y1:"32",x2:"52",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 24L12 32L24 40V34H34V30H24V24Z",fill:"#222",stroke:"none"})),insert:"\\leftarrow",cls:"symbol",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Arrow"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"18",y1:"38",x2:"52",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 30L12 38L24 46V40H34V36H24V30Z",fill:"#222",stroke:"none"})),insert:"\\xleftarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Arrow with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"18",y1:"32",x2:"52",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 24L12 32L24 40V34H34V30H24V24Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"44",width:"10",height:"16",rx:"2"})),insert:"\\xleftarrow[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Arrow with Above and Below Labels"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"24",y1:"14",x2:"42",y2:"14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 6L48 14L36 14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"24",y:"24",width:"18",height:"20",rx:"2"})),insert:"\\overrightharpoon{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Top Right Harpoon"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"16",y1:"14",x2:"48",y2:"14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 6L10 14L22 22V16H28V12H22V6Z",fill:"#222",stroke:"none"}),e.createElement("path",{d:"M42 6L54 14L42 22V16H34V12H42V6Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"24",width:"18",height:"20",rx:"2"})),insert:"\\overleftrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Top Left Right Arrow"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"20",y1:"14",x2:"42",y2:"14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 6L48 14L36 22V16H30V12H36V6Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"24",width:"18",height:"20",rx:"2"})),insert:"\\overrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Top Right Arrow"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"20",y1:"14",x2:"44",y2:"14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"24",y:"24",width:"18",height:"20",rx:"2"})),insert:"\\overline{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Overline"}]},{label:"α Ω",isTemplate:!0,items:[{type:"sep",cols:10,small:!0,cls:"cme-dark-large",moreCols:8,moreItems:[{label:"Α",insert:"A",title:"Capital Alpha"},{label:"Β",insert:"B",title:"Capital Beta"},{label:"Γ",insert:"\\Gamma",title:"Capital Gamma"},{label:"Δ",insert:"\\Delta",title:"Capital Delta"},{label:"Ε",insert:"E",title:"Capital Epsilon"},{label:"Ζ",insert:"Z",title:"Capital Zeta"},{label:"Η",insert:"H",title:"Capital Eta"},{label:"Θ",insert:"\\Theta",title:"Capital Theta"},{label:"Ι",insert:"I",title:"Capital Iota"},{label:"Κ",insert:"K",title:"Capital Kappa"},{label:"Λ",insert:"\\Lambda",title:"Capital Lambda"},{label:"Μ",insert:"M",title:"Capital Mu"},{label:"Ν",insert:"N",title:"Capital Nu"},{label:"Ξ",insert:"\\Xi",title:"Capital Xi"},{label:"Ο",insert:"O",title:"Capital Omicron"},{label:"Π",insert:"\\Pi",title:"Capital Pi"},{label:"Ρ",insert:"P",title:"Capital Rho"},{label:"Σ",insert:"\\Sigma",title:"Capital Sigma"},{label:"Τ",insert:"T",title:"Capital Tau"},{label:"Υ",insert:"\\Upsilon",title:"Capital Upsilon"},{label:"Φ",insert:"\\Phi",title:"Capital Phi"},{label:"Χ",insert:"X",title:"Capital Chi"},{label:"Ψ",insert:"\\Psi",title:"Capital Psi"},{label:"Ω",insert:"\\Omega",title:"Capital Omega"}]},{label:"α",insert:"\\alpha",title:"Alpha"},{label:"β",insert:"\\beta",title:"Beta"},{label:"γ",insert:"\\gamma",title:"Gamma"},{label:"δ",insert:"\\delta",title:"Delta"},{label:"ε",insert:"\\epsilon",title:"Epsilon"},{label:"ζ",insert:"\\zeta",title:"Zeta"},{label:"η",insert:"\\eta",title:"Eta"},{label:"θ",insert:"\\theta",title:"Theta"},{label:"ϑ",insert:"\\vartheta",title:"Vartheta"},{label:"ι",insert:"\\iota",title:"Iota"},{label:"κ",insert:"\\kappa",title:"Kappa"},{label:"λ",insert:"\\lambda",title:"Lambda"},{label:"μ",insert:"\\mu",title:"Mu"},{label:"ν",insert:"\\nu",title:"Nu"},{label:"ξ",insert:"\\xi",title:"Xi"},{label:"ο",insert:"o",title:"Omicron"},{label:"π",insert:"\\pi",title:"Pi"},{label:"ϖ",insert:"\\varpi",title:"Varpi"},{label:"ρ",insert:"\\rho",title:"Rho"},{label:"ϱ",insert:"\\varrho",title:"Varrho"},{label:"ς",insert:"\\varsigma",title:"Varsigma"},{label:"σ",insert:"\\sigma",title:"Sigma"},{label:"τ",insert:"\\tau",title:"Tau"},{label:"υ",insert:"\\upsilon",title:"Upsilon"},{label:"φ",insert:"\\phi",title:"Phi"},{label:"χ",insert:"\\chi",title:"Chi"},{label:"ψ",insert:"\\psi",title:"Psi"},{label:"ω",insert:"\\omega",title:"Omega"},{type:"sep",cols:2,small:!0,cls:"cme-dark-large",moreCols:18,moreItems:[{label:"𝔸",insert:"\\mathbb{A}",title:"Mathbb A"},{label:"𝔻",insert:"\\mathbb{D}",title:"Mathbb D"},{label:"𝔾",insert:"\\mathbb{G}",title:"Mathbb G"},{label:"𝕁",insert:"\\mathbb{J}",title:"Mathbb J"},{label:"𝕄",insert:"\\mathbb{M}",title:"Mathbb M"},{label:"ℙ",insert:"\\mathbb{P}",title:"Mathbb P"},{label:"𝕊",insert:"\\mathbb{S}",title:"Mathbb S"},{label:"𝕍",insert:"\\mathbb{V}",title:"Mathbb V"},{label:"𝕐",insert:"\\mathbb{Y}",title:"Mathbb Y"},{label:"𝕒",insert:"𝕒",title:"Mathbb a"},{label:"𝕕",insert:"𝕕",title:"Mathbb d"},{label:"𝕘",insert:"𝕘",title:"Mathbb g"},{label:"𝕛",insert:"𝕛",title:"Mathbb j"},{label:"𝕞",insert:"𝕞",title:"Mathbb m"},{label:"𝕡",insert:"𝕡",title:"Mathbb p"},{label:"𝕤",insert:"𝕤",title:"Mathbb s"},{label:"𝕧",insert:"𝕧",title:"Mathbb v"},{label:"𝕪",insert:"𝕪",title:"Mathbb y"},{label:"𝔹",insert:"\\mathbb{B}",title:"Mathbb B"},{label:"𝔼",insert:"\\mathbb{E}",title:"Mathbb E"},{label:"ℍ",insert:"\\mathbb{H}",title:"Mathbb H"},{label:"𝕂",insert:"\\mathbb{K}",title:"Mathbb K"},{label:"ℕ",insert:"\\mathbb{N}",title:"Mathbb N"},{label:"ℚ",insert:"\\mathbb{Q}",title:"Mathbb Q"},{label:"𝕋",insert:"\\mathbb{T}",title:"Mathbb T"},{label:"𝕎",insert:"\\mathbb{W}",title:"Mathbb W"},{label:"ℤ",insert:"\\mathbb{Z}",title:"Mathbb Z"},{label:"𝕓",insert:"𝕓",title:"Mathbb b"},{label:"𝕖",insert:"𝕖",title:"Mathbb e"},{label:"𝕙",insert:"𝕙",title:"Mathbb h"},{label:"𝕜",insert:"𝕜",title:"Mathbb k"},{label:"𝕟",insert:"𝕟",title:"Mathbb n"},{label:"𝕢",insert:"𝕢",title:"Mathbb q"},{label:"𝕥",insert:"𝕥",title:"Mathbb t"},{label:"𝕨",insert:"𝕨",title:"Mathbb w"},{label:"𝕫",insert:"𝕫",title:"Mathbb z"},{label:"ℂ",insert:"\\mathbb{C}",title:"Mathbb C"},{label:"𝔽",insert:"\\mathbb{F}",title:"Mathbb F"},{label:"𝕀",insert:"\\mathbb{I}",title:"Mathbb I"},{label:"𝕃",insert:"\\mathbb{L}",title:"Mathbb L"},{label:"𝕆",insert:"\\mathbb{O}",title:"Mathbb O"},{label:"ℝ",insert:"\\mathbb{R}",title:"Mathbb R"},{label:"𝕌",insert:"\\mathbb{U}",title:"Mathbb U"},{label:"𝕏",insert:"\\mathbb{X}",title:"Mathbb X"},{label:" ",insert:"",cls:"cme-empty-btn",title:""},{label:"𝕔",insert:"𝕔",title:"Mathbb c"},{label:"𝕗",insert:"𝕗",title:"Mathbb f"},{label:"𝕚",insert:"𝕚",title:"Mathbb i"},{label:"𝕝",insert:"𝕝",title:"Mathbb l"},{label:"𝕠",insert:"𝕠",title:"Mathbb o"},{label:"𝕣",insert:"𝕣",title:"Mathbb r"},{label:"𝕦",insert:"𝕦",title:"Mathbb u"},{label:"𝕩",insert:"𝕩",title:"Mathbb x"},{label:" ",insert:"",cls:"cme-empty-btn",title:""}]},{label:"ℕ",insert:"ℕ",title:"Mathbb N"},{label:"ℤ",insert:"ℤ",title:"Mathbb Z"},{label:"ℚ",insert:"ℚ",title:"Mathbb Q"},{label:"ℂ",insert:"ℂ",title:"Mathbb C"},{label:"ℝ",insert:"ℝ",title:"Mathbb R"},{label:"ℙ",insert:"ℙ",title:"Mathbb P"},{type:"sep",cols:1,small:!0,cls:"cme-dark-large",moreCols:18,moreItems:[{label:"𝔄",insert:"\\mathfrak{A}",title:"Mathfrak A"},{label:"𝔇",insert:"\\mathfrak{D}",title:"Mathfrak D"},{label:"𝔊",insert:"\\mathfrak{G}",title:"Mathfrak G"},{label:"𝔍",insert:"\\mathfrak{J}",title:"Mathfrak J"},{label:"𝔐",insert:"\\mathfrak{M}",title:"Mathfrak M"},{label:"𝔓",insert:"\\mathfrak{P}",title:"Mathfrak P"},{label:"𝔖",insert:"\\mathfrak{S}",title:"Mathfrak S"},{label:"𝔙",insert:"\\mathfrak{V}",title:"Mathfrak V"},{label:"𝔜",insert:"\\mathfrak{Y}",title:"Mathfrak Y"},{label:"𝔞",insert:"\\mathfrak{a}",title:"Mathfrak a"},{label:"𝔡",insert:"\\mathfrak{d}",title:"Mathfrak d"},{label:"𝔤",insert:"\\mathfrak{g}",title:"Mathfrak g"},{label:"𝔧",insert:"\\mathfrak{j}",title:"Mathfrak j"},{label:"𝔪",insert:"\\mathfrak{m}",title:"Mathfrak m"},{label:"𝔭",insert:"\\mathfrak{p}",title:"Mathfrak p"},{label:"𝔰",insert:"\\mathfrak{s}",title:"Mathfrak s"},{label:"𝔳",insert:"\\mathfrak{v}",title:"Mathfrak v"},{label:"𝔶",insert:"\\mathfrak{y}",title:"Mathfrak y"},{label:"𝔅",insert:"\\mathfrak{B}",title:"Mathfrak B"},{label:"𝔈",insert:"\\mathfrak{E}",title:"Mathfrak E"},{label:"ℌ",insert:"\\mathfrak{H}",title:"Mathfrak H"},{label:"𝔎",insert:"\\mathfrak{K}",title:"Mathfrak K"},{label:"𝔑",insert:"\\mathfrak{N}",title:"Mathfrak N"},{label:"𝔔",insert:"\\mathfrak{Q}",title:"Mathfrak Q"},{label:"𝔗",insert:"\\mathfrak{T}",title:"Mathfrak T"},{label:"𝔚",insert:"\\mathfrak{W}",title:"Mathfrak W"},{label:"ℨ",insert:"\\mathfrak{Z}",title:"Mathfrak Z"},{label:"𝔟",insert:"\\mathfrak{b}",title:"Mathfrak b"},{label:"𝔢",insert:"\\mathfrak{e}",title:"Mathfrak e"},{label:"𝔥",insert:"\\mathfrak{h}",title:"Mathfrak h"},{label:"𝔨",insert:"\\mathfrak{k}",title:"Mathfrak k"},{label:"𝔫",insert:"\\mathfrak{n}",title:"Mathfrak n"},{label:"𝔮",insert:"\\mathfrak{q}",title:"Mathfrak q"},{label:"𝔱",insert:"\\mathfrak{t}",title:"Mathfrak t"},{label:"𝔴",insert:"\\mathfrak{w}",title:"Mathfrak w"},{label:"𝔷",insert:"\\mathfrak{z}",title:"Mathfrak z"},{label:"ℭ",insert:"\\mathfrak{C}",title:"Mathfrak C"},{label:"𝔉",insert:"\\mathfrak{F}",title:"Mathfrak F"},{label:"ℑ",insert:"\\mathfrak{I}",title:"Mathfrak I"},{label:"𝔏",insert:"\\mathfrak{L}",title:"Mathfrak L"},{label:"𝔒",insert:"\\mathfrak{O}",title:"Mathfrak O"},{label:"ℜ",insert:"\\mathfrak{R}",title:"Mathfrak R"},{label:"𝔘",insert:"\\mathfrak{U}",title:"Mathfrak U"},{label:"𝔛",insert:"\\mathfrak{X}",title:"Mathfrak X"},{label:" ",insert:"",cls:"cme-empty-btn",title:""},{label:"𝔠",insert:"\\mathfrak{c}",title:"Mathfrak c"},{label:"𝔣",insert:"\\mathfrak{f}",title:"Mathfrak f"},{label:"𝔦",insert:"\\mathfrak{i}",title:"Mathfrak i"},{label:"𝔩",insert:"\\mathfrak{l}",title:"Mathfrak l"},{label:"𝔬",insert:"\\mathfrak{o}",title:"Mathfrak o"},{label:"𝔯",insert:"\\mathfrak{r}",title:"Mathfrak r"},{label:"𝔲",insert:"\\mathfrak{u}",title:"Mathfrak u"},{label:"𝔵",insert:"\\mathfrak{x}",title:"Mathfrak x"},{label:" ",insert:"",cls:"cme-empty-btn",title:""}]},{label:"𝔄",insert:"\\mathfrak{A}",title:"Mathfrak A"},{label:"𝔅",insert:"\\mathfrak{B}",title:"Mathfrak B"},{label:"ℭ",insert:"\\mathfrak{C}",title:"Mathfrak C"},{type:"sep",cols:1,small:!0,cls:"cme-dark-large",moreCols:18,moreItems:[{label:"𝒜",insert:"\\mathcal{A}",title:"Mathcal A"},{label:"𝒟",insert:"\\mathcal{D}",title:"Mathcal D"},{label:"𝒢",insert:"\\mathcal{G}",title:"Mathcal G"},{label:"𝒥",insert:"\\mathcal{J}",title:"Mathcal J"},{label:"ℳ",insert:"\\mathcal{M}",title:"Mathcal M"},{label:"𝒫",insert:"\\mathcal{P}",title:"Mathcal P"},{label:"𝒮",insert:"\\mathcal{S}",title:"Mathcal S"},{label:"𝒱",insert:"\\mathcal{V}",title:"Mathcal V"},{label:"𝒴",insert:"\\mathcal{Y}",title:"Mathcal Y"},{label:"𝒶",insert:"𝒶",title:"Mathcal a"},{label:"𝒹",insert:"𝒹",title:"Mathcal d"},{label:"ℊ",insert:"ℊ",title:"Mathcal g"},{label:"𝒿",insert:"𝒿",title:"Mathcal j"},{label:"𝓂",insert:"𝓂",title:"Mathcal m"},{label:"𝓅",insert:"𝓅",title:"Mathcal p"},{label:"𝓈",insert:"𝓈",title:"Mathcal s"},{label:"𝓋",insert:"𝓋",title:"Mathcal v"},{label:"𝓎",insert:"𝓎",title:"Mathcal y"},{label:"ℬ",insert:"\\mathcal{B}",title:"Mathcal B"},{label:"ℰ",insert:"\\mathcal{E}",title:"Mathcal E"},{label:"ℋ",insert:"\\mathcal{H}",title:"Mathcal H"},{label:"𝒦",insert:"\\mathcal{K}",title:"Mathcal K"},{label:"𝒩",insert:"\\mathcal{N}",title:"Mathcal N"},{label:"𝒬",insert:"\\mathcal{Q}",title:"Mathcal Q"},{label:"𝒯",insert:"\\mathcal{T}",title:"Mathcal T"},{label:"𝒲",insert:"\\mathcal{W}",title:"Mathcal W"},{label:"𝒵",insert:"\\mathcal{Z}",title:"Mathcal Z"},{label:"𝒷",insert:"𝒷",title:"Mathcal b"},{label:"ℯ",insert:"ℯ",title:"Mathcal e"},{label:"𝒽",insert:"𝒽",title:"Mathcal h"},{label:"𝓀",insert:"𝓀",title:"Mathcal k"},{label:"𝓃",insert:"𝓃",title:"Mathcal n"},{label:"𝓆",insert:"𝓆",title:"Mathcal q"},{label:"𝓉",insert:"𝓉",title:"Mathcal t"},{label:"𝓌",insert:"𝓌",title:"Mathcal w"},{label:"𝓏",insert:"𝓏",title:"Mathcal z"},{label:"𝒞",insert:"\\mathcal{C}",title:"Mathcal C"},{label:"ℱ",insert:"\\mathcal{F}",title:"Mathcal F"},{label:"ℐ",insert:"\\mathcal{I}",title:"Mathcal I"},{label:"ℒ",insert:"\\mathcal{L}",title:"Mathcal L"},{label:"𝒪",insert:"\\mathcal{O}",title:"Mathcal O"},{label:"ℛ",insert:"\\mathcal{R}",title:"Mathcal R"},{label:"𝒰",insert:"\\mathcal{U}",title:"Mathcal U"},{label:"𝒳",insert:"\\mathcal{X}",title:"Mathcal X"},{label:" ",insert:"",cls:"cme-empty-btn",title:""},{label:"𝒸",insert:"𝒸",title:"Mathcal c"},{label:"𝒻",insert:"𝒻",title:"Mathcal f"},{label:"𝒾",insert:"𝒾",title:"Mathcal i"},{label:"𝓁",insert:"𝓁",title:"Mathcal l"},{label:"ℴ",insert:"ℴ",title:"Mathcal o"},{label:"𝓇",insert:"𝓇",title:"Mathcal r"},{label:"𝓊",insert:"𝓊",title:"Mathcal u"},{label:"𝓍",insert:"𝓍",title:"Mathcal x"},{label:" ",insert:"",cls:"cme-empty-btn",title:""}]},{label:"𝒜",insert:"\\mathcal{A}",title:"Mathcal A"},{label:"ℬ",insert:"\\mathcal{B}",title:"Mathcal B"},{label:"𝒞",insert:"\\mathcal{C}",title:"Mathcal C"},{type:"sep",cols:1,small:!0,cls:"cme-dark-large",moreCols:2,moreItems:[{label:"ℵ",insert:"\\aleph",title:"Aleph"},{label:"ℐ",insert:"\\mathcal{I}",title:"Mathcal I"},{label:"℘",insert:"\\wp",title:"Wp"},{label:"ℨ",insert:"\\mathfrak{Z}",title:"Mathfrak Z"},{label:"ℱ",insert:"\\mathcal{F}",title:"Mathcal F"}]},{label:"ℑ",insert:"\\Im",title:"Im"},{label:"ℜ",insert:"\\Re",title:"Re"},{label:"ℓ",insert:"\\ell",title:"Ell"},{type:"sep",cols:2,small:!0,cls:"cme-trig-subgroup",moreCols:18,moreItems:[{label:"H",insert:"\\mathrm{H}",title:"Mathrm H",cls:"pt-unknown"},...Array.from({length:16},()=>({label:"",cls:"pt-empty"})),{label:"He",insert:"\\mathrm{He}",title:"Mathrm He",cls:"pt-noble"},{label:"Li",insert:"\\mathrm{Li}",title:"Mathrm Li",cls:"pt-alkali"},{label:"Be",insert:"\\mathrm{Be}",title:"Mathrm Be",cls:"pt-alkaline"},...Array.from({length:10},()=>({label:"",cls:"pt-empty"})),{label:"B",insert:"\\mathrm{B}",title:"Mathrm B",cls:"pt-nonmetal"},{label:"C",insert:"\\mathrm{C}",title:"Mathrm C",cls:"pt-nonmetal"},{label:"N",insert:"\\mathrm{N}",title:"Mathrm N",cls:"pt-nonmetal"},{label:"O",insert:"\\mathrm{O}",title:"Mathrm O",cls:"pt-nonmetal"},{label:"F",insert:"\\mathrm{F}",title:"Mathrm F",cls:"pt-nonmetal"},{label:"Ne",insert:"\\mathrm{Ne}",title:"Mathrm Ne",cls:"pt-noble"},{label:"Na",insert:"\\mathrm{Na}",title:"Mathrm Na",cls:"pt-alkali"},{label:"Mg",insert:"\\mathrm{Mg}",title:"Mathrm Mg",cls:"pt-alkaline"},...Array.from({length:10},()=>({label:"",cls:"pt-empty"})),{label:"Al",insert:"\\mathrm{Al}",title:"Mathrm Al",cls:"pt-metalloid"},{label:"Si",insert:"\\mathrm{Si}",title:"Mathrm Si",cls:"pt-metalloid"},{label:"P",insert:"\\mathrm{P}",title:"Mathrm P",cls:"pt-nonmetal"},{label:"S",insert:"\\mathrm{S}",title:"Mathrm S",cls:"pt-nonmetal"},{label:"Cl",insert:"\\mathrm{Cl}",title:"Mathrm Cl",cls:"pt-nonmetal"},{label:"Ar",insert:"\\mathrm{Ar}",title:"Mathrm Ar",cls:"pt-noble"},{label:"K",insert:"\\mathrm{K}",title:"Mathrm K",cls:"pt-alkali"},{label:"Ca",insert:"\\mathrm{Ca}",title:"Mathrm Ca",cls:"pt-alkaline"},{label:"Sc",insert:"\\mathrm{Sc}",title:"Mathrm Sc",cls:"pt-transition"},{label:"Ti",insert:"\\mathrm{Ti}",title:"Mathrm Ti",cls:"pt-transition"},{label:"V",insert:"\\mathrm{V}",title:"Mathrm V",cls:"pt-transition"},{label:"Cr",insert:"\\mathrm{Cr}",title:"Mathrm Cr",cls:"pt-transition"},{label:"Mn",insert:"\\mathrm{Mn}",title:"Mathrm Mn",cls:"pt-transition"},{label:"Fe",insert:"\\mathrm{Fe}",title:"Mathrm Fe",cls:"pt-transition"},{label:"Co",insert:"\\mathrm{Co}",title:"Mathrm Co",cls:"pt-transition"},{label:"Ni",insert:"\\mathrm{Ni}",title:"Mathrm Ni",cls:"pt-transition"},{label:"Cu",insert:"\\mathrm{Cu}",title:"Mathrm Cu",cls:"pt-transition"},{label:"Zn",insert:"\\mathrm{Zn}",title:"Mathrm Zn",cls:"pt-transition"},{label:"Ga",insert:"\\mathrm{Ga}",title:"Mathrm Ga",cls:"pt-metalloid"},{label:"Ge",insert:"\\mathrm{Ge}",title:"Mathrm Ge",cls:"pt-metalloid"},{label:"As",insert:"\\mathrm{As}",title:"Mathrm As",cls:"pt-nonmetal"},{label:"Se",insert:"\\mathrm{Se}",title:"Mathrm Se",cls:"pt-nonmetal"},{label:"Br",insert:"\\mathrm{Br}",title:"Mathrm Br",cls:"pt-nonmetal"},{label:"Kr",insert:"\\mathrm{Kr}",title:"Mathrm Kr",cls:"pt-noble"},{label:"Rb",insert:"\\mathrm{Rb}",title:"Mathrm Rb",cls:"pt-alkali"},{label:"Sr",insert:"\\mathrm{Sr}",title:"Mathrm Sr",cls:"pt-alkaline"},{label:"Y",insert:"\\mathrm{Y}",title:"Mathrm Y",cls:"pt-transition"},{label:"Zr",insert:"\\mathrm{Zr}",title:"Mathrm Zr",cls:"pt-transition"},{label:"Nb",insert:"\\mathrm{Nb}",title:"Mathrm Nb",cls:"pt-transition"},{label:"Mo",insert:"\\mathrm{Mo}",title:"Mathrm Mo",cls:"pt-transition"},{label:"Tc",insert:"\\mathrm{Tc}",title:"Mathrm Tc",cls:"pt-transition"},{label:"Ru",insert:"\\mathrm{Ru}",title:"Mathrm Ru",cls:"pt-transition"},{label:"Rh",insert:"\\mathrm{Rh}",title:"Mathrm Rh",cls:"pt-transition"},{label:"Pd",insert:"\\mathrm{Pd}",title:"Mathrm Pd",cls:"pt-transition"},{label:"Ag",insert:"\\mathrm{Ag}",title:"Mathrm Ag",cls:"pt-transition"},{label:"Cd",insert:"\\mathrm{Cd}",title:"Mathrm Cd",cls:"pt-transition"},{label:"In",insert:"\\mathrm{In}",title:"Mathrm In",cls:"pt-metalloid"},{label:"Sn",insert:"\\mathrm{Sn}",title:"Mathrm Sn",cls:"pt-metalloid"},{label:"Sb",insert:"\\mathrm{Sb}",title:"Mathrm Sb",cls:"pt-metalloid"},{label:"Te",insert:"\\mathrm{Te}",title:"Mathrm Te",cls:"pt-nonmetal"},{label:"I",insert:"\\mathrm{I}",title:"Mathrm I",cls:"pt-nonmetal"},{label:"Xe",insert:"\\mathrm{Xe}",title:"Mathrm Xe",cls:"pt-noble"},{label:"Cs",insert:"\\mathrm{Cs}",title:"Mathrm Cs",cls:"pt-alkali"},{label:"Ba",insert:"\\mathrm{Ba}",title:"Mathrm Ba",cls:"pt-alkaline"},{label:"",insert:"",cls:"pt-transition"},{label:"Hf",insert:"\\mathrm{Hf}",title:"Mathrm Hf",cls:"pt-transition"},{label:"Ta",insert:"\\mathrm{Ta}",title:"Mathrm Ta",cls:"pt-transition"},{label:"W",insert:"\\mathrm{W}",title:"Mathrm W",cls:"pt-transition"},{label:"Re",insert:"\\mathrm{Re}",title:"Mathrm Re",cls:"pt-transition"},{label:"Os",insert:"\\mathrm{Os}",title:"Mathrm Os",cls:"pt-transition"},{label:"Ir",insert:"\\mathrm{Ir}",title:"Mathrm Ir",cls:"pt-transition"},{label:"Pt",insert:"\\mathrm{Pt}",title:"Mathrm Pt",cls:"pt-transition"},{label:"Au",insert:"\\mathrm{Au}",title:"Mathrm Au",cls:"pt-transition"},{label:"Hg",insert:"\\mathrm{Hg}",title:"Mathrm Hg",cls:"pt-transition"},{label:"Tl",insert:"\\mathrm{Tl}",title:"Mathrm Tl",cls:"pt-metalloid"},{label:"Pb",insert:"\\mathrm{Pb}",title:"Mathrm Pb",cls:"pt-metalloid"},{label:"Bi",insert:"\\mathrm{Bi}",title:"Mathrm Bi",cls:"pt-metalloid"},{label:"Po",insert:"\\mathrm{Po}",title:"Mathrm Po",cls:"pt-metalloid"},{label:"At",insert:"\\mathrm{At}",title:"Mathrm At",cls:"pt-nonmetal"},{label:"Rn",insert:"\\mathrm{Rn}",title:"Mathrm Rn",cls:"pt-noble"},{label:"Fr",insert:"\\mathrm{Fr}",title:"Mathrm Fr",cls:"pt-alkali"},{label:"Ra",insert:"\\mathrm{Ra}",title:"Mathrm Ra",cls:"pt-alkaline"},{label:"",insert:"",cls:"pt-transition"},{label:"Rf",insert:"\\mathrm{Rf}",title:"Mathrm Rf",cls:"pt-transition"},{label:"Db",insert:"\\mathrm{Db}",title:"Mathrm Db",cls:"pt-transition"},{label:"Sg",insert:"\\mathrm{Sg}",title:"Mathrm Sg",cls:"pt-transition"},{label:"Bh",insert:"\\mathrm{Bh}",title:"Mathrm Bh",cls:"pt-transition"},{label:"Hs",insert:"\\mathrm{Hs}",title:"Mathrm Hs",cls:"pt-transition"},{label:"Mt",insert:"\\mathrm{Mt}",title:"Mathrm Mt",cls:"pt-transition"},{label:"Ds",insert:"\\mathrm{Ds}",title:"Mathrm Ds",cls:"pt-transition"},{label:"Rg",insert:"\\mathrm{Rg}",title:"Mathrm Rg",cls:"pt-transition"},{label:"Cn",insert:"\\mathrm{Cn}",title:"Mathrm Cn",cls:"pt-transition"},{label:"Nh",insert:"\\mathrm{Nh}",title:"Mathrm Nh",cls:"pt-metalloid"},{label:"Fl",insert:"\\mathrm{Fl}",title:"Mathrm Fl",cls:"pt-metalloid"},{label:"Mc",insert:"\\mathrm{Mc}",title:"Mathrm Mc",cls:"pt-metalloid"},{label:"Lv",insert:"\\mathrm{Lv}",title:"Mathrm Lv",cls:"pt-metalloid"},{label:"Ts",insert:"\\mathrm{Ts}",title:"Mathrm Ts",cls:"pt-unknown"},{label:"Og",insert:"\\mathrm{Og}",title:"Mathrm Og",cls:"pt-unknown"},...Array.from({length:18},()=>({label:"",cls:"pt-empty"})),...Array.from({length:2},()=>({label:"",cls:"pt-empty"})),{label:"La",insert:"\\mathrm{La}",title:"Mathrm La",cls:"pt-transition"},{label:"Ce",insert:"\\mathrm{Ce}",title:"Mathrm Ce",cls:"pt-lanthanide"},{label:"Pr",insert:"\\mathrm{Pr}",title:"Mathrm Pr",cls:"pt-lanthanide"},{label:"Nd",insert:"\\mathrm{Nd}",title:"Mathrm Nd",cls:"pt-lanthanide"},{label:"Pm",insert:"\\mathrm{Pm}",title:"Mathrm Pm",cls:"pt-lanthanide"},{label:"Sm",insert:"\\mathrm{Sm}",title:"Mathrm Sm",cls:"pt-lanthanide"},{label:"Eu",insert:"\\mathrm{Eu}",title:"Mathrm Eu",cls:"pt-lanthanide"},{label:"Gd",insert:"\\mathrm{Gd}",title:"Mathrm Gd",cls:"pt-lanthanide"},{label:"Tb",insert:"\\mathrm{Tb}",title:"Mathrm Tb",cls:"pt-lanthanide"},{label:"Dy",insert:"\\mathrm{Dy}",title:"Mathrm Dy",cls:"pt-lanthanide"},{label:"Ho",insert:"\\mathrm{Ho}",title:"Mathrm Ho",cls:"pt-lanthanide"},{label:"Er",insert:"\\mathrm{Er}",title:"Mathrm Er",cls:"pt-lanthanide"},{label:"Tm",insert:"\\mathrm{Tm}",title:"Mathrm Tm",cls:"pt-lanthanide"},{label:"Yb",insert:"\\mathrm{Yb}",title:"Mathrm Yb",cls:"pt-lanthanide"},{label:"Lu",insert:"\\mathrm{Lu}",title:"Mathrm Lu",cls:"pt-lanthanide"},{label:"",cls:"pt-empty"},...Array.from({length:2},()=>({label:"",cls:"pt-empty"})),{label:"Ac",insert:"\\mathrm{Ac}",title:"Mathrm Ac",cls:"pt-actinide"},{label:"Th",insert:"\\mathrm{Th}",title:"Mathrm Th",cls:"pt-actinide"},{label:"Pa",insert:"\\mathrm{Pa}",title:"Mathrm Pa",cls:"pt-actinide"},{label:"U",insert:"\\mathrm{U}",title:"Mathrm U",cls:"pt-actinide"},{label:"Np",insert:"\\mathrm{Np}",title:"Mathrm Np",cls:"pt-actinide"},{label:"Pu",insert:"\\mathrm{Pu}",title:"Mathrm Pu",cls:"pt-actinide"},{label:"Am",insert:"\\mathrm{Am}",title:"Mathrm Am",cls:"pt-actinide"},{label:"Cm",insert:"\\mathrm{Cm}",title:"Mathrm Cm",cls:"pt-actinide"},{label:"Bk",insert:"\\mathrm{Bk}",title:"Mathrm Bk",cls:"pt-actinide"},{label:"Cf",insert:"\\mathrm{Cf}",title:"Mathrm Cf",cls:"pt-actinide"},{label:"Es",insert:"\\mathrm{Es}",title:"Mathrm Es",cls:"pt-actinide"},{label:"Fm",insert:"\\mathrm{Fm}",title:"Mathrm Fm",cls:"pt-actinide"},{label:"Md",insert:"\\mathrm{Md}",title:"Mathrm Md",cls:"pt-actinide"},{label:"No",insert:"\\mathrm{No}",title:"Mathrm No",cls:"pt-actinide"},{label:"Lr",insert:"\\mathrm{Lr}",title:"Mathrm Lr",cls:"pt-actinide"},{label:"",cls:"pt-empty"}]},{label:"H",insert:"\\mathrm{H}",title:"Mathrm H",cls:"cme-small-btn"},{label:"C",insert:"\\mathrm{C}",title:"Mathrm C",cls:"cme-small-btn"},{label:"N",insert:"\\mathrm{N}",title:"Mathrm N",cls:"cme-small-btn"},{label:"O",insert:"\\mathrm{O}",title:"Mathrm O",cls:"cme-small-btn"},{label:"F",insert:"\\mathrm{F}",title:"Mathrm F",cls:"cme-small-btn"},{label:"S",insert:"\\mathrm{S}",title:"Mathrm S",cls:"cme-small-btn"}]},{label:"bmatrix",fontSize:"5px",mathLabel:"\\textstyle \\begin{bmatrix}#? & #?\\\\ #? & #?\\end{bmatrix} \\, \\begin{cases} #? \\\\ #? \\end{cases}",isMatrix:!0,items:[{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"10",y:"6",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"6",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"46",y:"6",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"10",y:"25",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"25",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"46",y:"25",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"10",y:"44",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"44",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"46",y:"44",width:"8",height:"14",rx:"1"})),insert:"matrix",cls:"template",title:"3×3 Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"8",y1:"4",x2:"8",y2:"60",stroke:"#222",strokeWidth:"4"}),e.createElement("line",{x1:"56",y1:"4",x2:"56",y2:"60",stroke:"#222",strokeWidth:"4"}),e.createElement("rect",{x:"18",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"18",y:"38",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"38",width:"8",height:"14",rx:"1"})),insert:"vmatrix",cls:"template",title:"2×2 Determinant"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M14 6H8V58H14",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M50 6H56V58H50",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"18",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"18",y:"38",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"38",width:"8",height:"14",rx:"1"})),insert:"bmatrix",cls:"template",title:"2×2 Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 6C8 16 8 48 16 58",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M48 6C56 16 56 48 48 58",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"18",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"18",y:"38",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"38",width:"8",height:"14",rx:"1"})),insert:"pmatrix",cls:"template",title:"2×2 Parenthesis Matrix"},{type:"sep",cols:3,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"28",y:"6",width:"8",height:"10",rx:"1"}),e.createElement("rect",{x:"28",y:"27",width:"8",height:"10",rx:"1"}),e.createElement("rect",{x:"28",y:"48",width:"8",height:"10",rx:"1"})),insert:"\\begin{matrix} #? \\\\ #? \\\\ #? \\end{matrix}",cls:"symbol",directInsert:!0,action:"INSERT_CUSTOM",title:"Vertical Dots"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 6H12V58H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M46 6H52V58H46",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"28",y:"10",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"38",width:"8",height:"14",rx:"1"})),insert:"\\begin{bmatrix} #? \\\\ #? \\end{bmatrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"2×1 Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 6C10 16 10 48 18 58",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M46 6C54 16 54 48 46 58",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"28",y:"10",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"38",width:"8",height:"14",rx:"1"})),insert:"\\begin{pmatrix} #? \\\\ #? \\end{pmatrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"2×1 Parenthesis Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"8",y:"24",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"24",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"48",y:"24",width:"8",height:"14",rx:"1"})),insert:"\\begin{matrix} #? \\, #? \\, #? \\end{matrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"1×3 Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 18H12V46H16",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M50 18H54V46H50",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"22",y:"22",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"22",width:"8",height:"14",rx:"1"})),insert:"\\begin{bmatrix} #? \\, #? \\end{bmatrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"1×2 Square Bracket Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 18C12 23 12 41 16 46",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M50 18C54 23 54 41 50 46",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"22",y:"22",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"22",width:"8",height:"14",rx:"1"})),insert:"\\begin{pmatrix} #? \\, #? \\end{pmatrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"1×2 Parenthesis Matrix"},{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 8C12 8 12 12 12 18V26C12 30 10 32 8 32C10 32 12 34 12 38V46C12 52 12 56 16 56",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"10",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"26",y:"34",width:"10",height:"12",rx:"1"})),insert:"\\begin{cases} #? \\\\ #? \\end{cases}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"2×1 Piecewise Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 8C12 8 12 12 12 18V26C12 30 10 32 8 32C10 32 12 34 12 38V46C12 52 12 56 16 56",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"23",y:"10",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"39",y:"10",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"23",y:"34",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"39",y:"34",width:"10",height:"12",rx:"1"})),insert:"\\begin{cases} #? \\, #? \\\\ #? \\, #? \\end{cases}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"2×2 Piecewise Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"26",y:"10",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"26",y:"34",width:"10",height:"12",rx:"1"}),e.createElement("path",{d:"M48 8C52 8 52 12 52 18V26C52 30 54 32 56 32C54 32 52 34 52 38V46C52 52 52 56 48 56",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left.\\begin{matrix} #? \\\\ #? \\end{matrix}\\right\\}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Piecewise Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"8",y:"8",width:"12",height:"12",rx:"1"}),e.createElement("line",{x1:"26",y1:"12",x2:"38",y2:"12",stroke:"#222",strokeWidth:"3"}),e.createElement("line",{x1:"26",y1:"16",x2:"38",y2:"16",stroke:"#222",strokeWidth:"3"}),e.createElement("rect",{x:"44",y:"6",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"8",y:"40",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"24",y1:"46",x2:"36",y2:"46",stroke:"#222",strokeWidth:"3"}),e.createElement("line",{x1:"24",y1:"50",x2:"36",y2:"50",stroke:"#222",strokeWidth:"3"}),e.createElement("rect",{x:"42",y:"38",width:"12",height:"12",rx:"1"})),insert:"\\begin{aligned} #? &= #? \\\\ #? &= #? \\end{aligned}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"System of Equations"},{type:"sep",cols:2,cls:"cme-trig-subgroup"},{label:"⋮",insert:"\\vdots",title:"Vertical ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋰",insert:"⋰",title:"Upright diagonal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"…",insert:"\\ldots",title:"Horizontal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋱",insert:"\\ddots",title:"Down-right diagonal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{type:"sep",cols:1,fontSize:"8px",cls:"cme-matrix-subgroup",moreCols:3,moreItems:[{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 -6 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("rect",{x:"40",y:"-2",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"18",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"46",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"8",y1:"38",x2:"54",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"})),insert:"\\class{cme-col-op-wrapper}{\\class{cme-col-op-val1}{#?}\\class{cme-col-op-op}{\\,}\\class{cme-col-op-val2}{#?}\\class{cme-col-op-result}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction Template"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 -6 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("rect",{x:"40",y:"-2",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"18",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"46",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"8",y1:"38",x2:"54",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"10",y1:"26",x2:"26",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"})),insert:"\\class{cme-col-op-wrapper}{\\class{cme-col-op-val1}{#?}\\class{cme-col-op-op}{-}\\class{cme-col-op-val2}{#?}\\class{cme-col-op-result}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction with Subtraction"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 -6 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("rect",{x:"40",y:"-2",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"18",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"46",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"8",y1:"38",x2:"54",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"11",y1:"19",x2:"25",y2:"33",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"25",y1:"19",x2:"11",y2:"33",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"})),insert:"\\class{cme-col-op-wrapper}{\\class{cme-col-op-val1}{#?}\\class{cme-col-op-op}{×}\\class{cme-col-op-val2}{#?}\\class{cme-col-op-result}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction with Multiplication"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 0 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"4",y:"8",width:"10",height:"16",rx:"1"}),e.createElement("path",{d:"M30 4V30H56",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"40",y:"8",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"40",width:"10",height:"16",rx:"1"})),insert:"\\class{cme-lshape-wrapper}{\\class{cme-lshape-div1}{#?}\\class{cme-lshape-val1}{#?}\\class{cme-lshape-val2}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Long Division"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 0 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"4",y:"8",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"4",y:"44",width:"10",height:"16",rx:"1"}),e.createElement("path",{d:"M30 4V36H58",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"44",y:"8",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"44",y:"44",width:"10",height:"16",rx:"1"})),insert:"\\class{cme-lshape-wrapper}{\\class{cme-lshape-div1}{#?}\\class{cme-lshape-val1}{#?}\\class{cme-lshape-div2}{#?}\\class{cme-lshape-val2}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Long Division with Four Terms"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 0 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"40",y:"0",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"30",y1:"20",x2:"54",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M26 18C34 25 34 47 26 54",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"6",y:"28",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"28",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"52",width:"10",height:"16",rx:"1"})),insert:"\\class{cme-longdiv-wrapper}{\\class{cme-longdiv-divisor}{#?}\\class{cme-longdiv-quotient}{#?}\\class{cme-longdiv-dividend}{#?}\\class{cme-longdiv-remainder}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Root with Fraction and Subscript"}]},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 -6 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("rect",{x:"40",y:"-2",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"18",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"46",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"8",y1:"38",x2:"54",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"18",y1:"18",x2:"18",y2:"34",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"10",y1:"26",x2:"26",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"})),insert:"\\class{cme-col-op-wrapper}{\\class{cme-col-op-val1}{#?}\\class{cme-col-op-op}{+}\\class{cme-col-op-val2}{#?}\\class{cme-col-op-result}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction with Addition"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 0 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"40",y:"0",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"30",y1:"20",x2:"54",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M26 18C34 25 34 47 26 54",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"6",y:"28",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"28",width:"10",height:"16",rx:"1"})),insert:"\\class{cme-longdiv-wrapper}{\\class{cme-longdiv-divisor}{#?}\\class{cme-longdiv-quotient}{#?}\\class{cme-longdiv-dividend}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Root with Fraction"}]},{label:"□̅",fontSize:"9px",mathLabel:"{#?}^{#?} \\, \\overset{#?}{#?}",isTemplate:!0,items:[{type:"sep",cols:2,small:!0,cls:"cme-trig-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"2",width:"18",height:"20",rx:"2"}),e.createElement("line",{x1:"6",y1:"32",x2:"50",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"18",y:"40",width:"18",height:"20",rx:"2"})),insert:"\\frac{#0}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"22",y:"8",width:"12",height:"14",rx:"2"}),e.createElement("line",{x1:"6",y1:"32",x2:"50",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"22",y:"40",width:"12",height:"14",rx:"2"})),insert:"\\tfrac{#?}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"5",y:"16",width:"18",height:"20",rx:"1"}),e.createElement("line",{x1:"26",y1:"50",x2:"40",y2:"18",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"38",y:"34",width:"18",height:"20",rx:"1"})),insert:"{\\large {}^{#?}/_{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Text Fraction"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"14",y:"16",width:"12",height:"16",rx:"1"}),e.createElement("line",{x1:"26",y1:"50",x2:"40",y2:"18",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"38",y:"34",width:"12",height:"16",rx:"1"})),insert:"{\\scriptsize {}^{#?}/_{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Text Fraction"},{type:"sep",cols:1,small:!0,cls:"cme-trig-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M6 34 L14 34 L20 50 L30 10 L54 10",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"36",y:"18",width:"16",height:"20",rx:"2"})),insert:"\\sqrt{#0}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Square Root"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M6 36 L14 36 L20 50 L30 10 L56 10",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"12",y:"16",width:"8",height:"12",rx:"2"}),e.createElement("rect",{x:"40",y:"22",width:"12",height:"22",rx:"2"})),insert:"\\sqrt[#?]{#0}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Nth Root Fraction"},{type:"sep",cols:3,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"32",y:"10",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Raised Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"32",y:"10",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"32",y:"36",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"{#?}_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Raised Box with Subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"14",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"36",y:"28",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"{#?}_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Lowered Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"10",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"30",y:"22",width:"12",height:"20",rx:"1"})),insert:"{}^{#?}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Lowered Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"8",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"18",y:"36",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"30",y:"20",width:"12",height:"20",rx:"1"})),insert:"{}_{#?}^{#?}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Superscript and Subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"28",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"30",y:"10",width:"12",height:"20",rx:"1"})),insert:"{}_{#?}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Lower Left Box"},{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"23",y:"28",width:"12",height:"20",rx:"1"})),insert:"\\overset{\\raisebox{2px}{#?}}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Superscript Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 4 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"19",y:"28",width:"12",height:"18",rx:"1"}),e.createElement("rect",{x:"21",y:"52",width:"8",height:"12",rx:"1",opacity:"0.45"})),insert:"\\underset{\\raisebox{-5px}{#?}}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Subscript Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"8",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"22",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"24",y:"48",width:"8",height:"12",rx:"1",opacity:"0.45"})),insert:"\\overset{\\raisebox{2px}{#?}}{\\underset{\\raisebox{-5px}{#?}}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Superscript and Subscript"},{type:"sep",cols:1,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"26",y:"4",width:"12",height:"20",rx:"1"}),e.createElement("path",{d:"M10 34H24C28 34 30 36 32 40C34 36 36 34 40 34H54M10 34V28M54 34V28",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"46",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\underbrace{#?}_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Underbrace"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"27",y:"2",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("path",{d:"M10 36V30H24C28 30 30 28 32 24C34 28 36 30 40 30H54V36",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"40",width:"12",height:"20",rx:"1"})),insert:"\\overbrace{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Overbrace"},{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"19",y:"1",width:"10",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"16",y:"20",width:"16",height:"24",rx:"1",stroke:"#222"}),e.createElement("rect",{x:"19",y:"50",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\overset{\\raisebox{0.1em}{#?}}{\\underset{\\raisebox{-0.3em}{#?}}{\\Large #?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Large Box with Superscript and Subscript"},{label:e.createElement("svg",{viewBox:"0 0 24 24",width:"20",height:"20"},e.createElement("rect",{x:"1",y:"1",width:"14",height:"22",fill:"none",stroke:"currentColor",strokeWidth:"2"}),e.createElement("rect",{x:"17",y:"1",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"}),e.createElement("rect",{x:"17",y:"17",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"})),forceLabel:!0,insert:"{\\style{font-size:1.8em; transform: scale(0.9, 1.2); display: inline-block; padding: 0.2em 0;}{#?}}_{#?}^{\\raisebox{0.6em}{#?}}",isWidget:!0,title:"Subscript and superscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"16",y:"4",width:"16",height:"24",rx:"1",stroke:"#222"}),e.createElement("rect",{x:"19",y:"40",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\underset{\\raisebox{-0.3em}{#?}}{\\Large #?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Large Box with Subscript"},{label:e.createElement("svg",{viewBox:"0 0 24 24",width:"20",height:"20"},e.createElement("rect",{x:"1",y:"1",width:"14",height:"22",fill:"none",stroke:"currentColor",strokeWidth:"2"}),e.createElement("rect",{x:"17",y:"17",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"})),forceLabel:!0,insert:"{\\style{font-size:1.8em; transform: scale(0.9, 1.2); display: inline-block; padding: 0.2em 0;}{#?}}_{#?}",isWidget:!0,title:"Subscript"},{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"18",viewBox:"0 0 26 18",fill:"none",stroke:"currentColor",strokeWidth:"1.5",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"2",y:"2",width:"6",height:"12",rx:"1"}),e.createElement("rect",{x:"18",y:"2",width:"6",height:"12",rx:"1"})),insert:"\\enspace",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Horizontal Phantom Space"},{label:e.createElement("svg",{width:"20",height:"18",viewBox:"0 0 20 18",fill:"none",stroke:"currentColor",strokeWidth:"1.5",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",marginLeft:"13px"}},e.createElement("rect",{x:"2",y:"2",width:"6",height:"12",rx:"1"}),e.createElement("rect",{x:"10",y:"2",width:"6",height:"12",rx:"1"})),insert:"\\,",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Thin Space"},{label:e.createElement("svg",{width:"16",height:"18",viewBox:"0 0 16 18",fill:"none",stroke:"currentColor",strokeWidth:"1.5",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"2",y:"2",width:"6",height:"12",rx:"1"}),e.createElement("rect",{x:"8",y:"2",width:"6",height:"12",rx:"1"})),insert:"\\!",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Negative Thin Space"}]},{label:"( )",fontSize:"9px",isTemplate:!0,mathLabel:"\\left( #? \\right) \\, \\overparen{#?}",items:[{type:"sep",cols:3,small:!0,moreCols:2,cls:"cme-matrix-subgroup",moreItems:[{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M12 12V52H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M52 12V52H46",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left\\lfloor#0\\right\\rfloor",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Floor Brackets"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 18L2 29L10 40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"16",y:"18",width:"10",height:"20",rx:"1"}),e.createElement("line",{x1:"32",y1:"18",x2:"32",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"42",y:"18",width:"10",height:"20",rx:"1"}),e.createElement("path",{d:"M54 18L62 29L54 40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),insert:"\\left\\langle#?\\mid#?\\right\\rangle",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Angle Brackets with Vertical Bar"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M12 52V12H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M52 52V12H46",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left\\lceil#0\\right\\rceil",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Ceiling Brackets"}]},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 12 Q8 32 18 52",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M46 12 Q56 32 46 52",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left(#0\\right)",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Parentheses"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"16",y1:"12",x2:"16",y2:"52",stroke:"#222",strokeWidth:"4"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("line",{x1:"48",y1:"12",x2:"48",y2:"52",stroke:"#222",strokeWidth:"4"})),insert:"\\left|#0\\right|",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"vertical bars"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 14L6 32L18 50",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"26",y:"19",width:"12",height:"20",rx:"1"}),e.createElement("path",{d:"M46 14L58 32L46 50",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),insert:"\\left\\langle #? \\right\\rangle",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Angle Brackets"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 12H12V52H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M46 12H52V52H46",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left[#0\\right]",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Square Brackets"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"10",y1:"12",x2:"10",y2:"52",stroke:"#222",strokeWidth:"4"}),e.createElement("line",{x1:"16",y1:"12",x2:"16",y2:"52",stroke:"#222",strokeWidth:"4"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"20",rx:"1"}),e.createElement("line",{x1:"48",y1:"12",x2:"48",y2:"52",stroke:"#222",strokeWidth:"4"}),e.createElement("line",{x1:"54",y1:"12",x2:"54",y2:"52",stroke:"#222",strokeWidth:"4"})),insert:"\\left\\Vert#?\\right\\Vert",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Double Vertical Bars"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M20 12C16 12 16 18 18 22C19 24 19 26 16 29C19 32 19 34 18 36C16 40 16 46 20 52",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M44 12C48 12 48 18 46 22C45 24 45 26 48 29C45 32 45 34 46 36C48 40 48 46 44 52",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"})),insert:"\\left\\{#0\\right\\}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Curly Braces"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 26V20H24C28 20 30 18 32 14C34 18 36 20 40 20H54V26",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overbrace{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Overbrace"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 26C10 14 54 14 54 26",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overgroup{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Overgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 44H24C28 44 30 46 32 50C34 46 36 44 40 44H54M10 44V38M54 44V38",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"14",width:"12",height:"20",rx:"1"})),insert:"\\underbrace{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Underbrace"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 38C10 50 54 50 54 38",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"14",width:"12",height:"20",rx:"1"})),insert:"\\undergroup{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Undergroup"},{type:"sep",cols:3,small:!0,cls:"cme-symbol-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 20H48M40 12L48 20",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overrightharpoon{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right harpoon accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 20H48M40 12L48 20M40 28L48 20",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Arrow accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 20H48M40 12L48 20M40 28L48 20M24 12L16 20M24 28L16 20",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overleftrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left-right arrow accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 20H46",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overline{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Bar accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 24L32 12L46 24",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\class{cme-wide-hat-text}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Wide hat"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M22 20 Q27 16 32 20 T42 20",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\tilde{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Tilde accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M28 18v0M36 18v0",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\ddot{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Diaeresis accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M32 18v0",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\dot{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Dot accent"},{type:"sep",cols:3,small:!0,cls:"cme-matrix-subgroup",moreItems:[{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M4 2 H20 V22",stroke:"#666",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\class{cme-enclose-actuarial}{#?}",title:"Enclose actuarial"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"4",y:"2",width:"16",height:"20",rx:"8",ry:"8",stroke:"#666",strokeWidth:"2",fill:"none"}),e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\class{cme-enclose-roundedbox}{#?}",title:"Enclose rounded box"}]},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 20H46",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overline{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Bar accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"16",y1:"12",x2:"16",y2:"52",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"28",y:"18",width:"14",height:"28",rx:"2"})),insert:"\\left| #? \\right.",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Enclosed left"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"4",y:"2",width:"16",height:"20",stroke:"#666",strokeWidth:"2",fill:"none"}),e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\class{cme-enclose-box}{#?}",forceLabel:!0,title:"Enclosed box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"18",y1:"46",x2:"46",y2:"46",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"20",width:"12",height:"20",rx:"1"})),insert:"\\underline{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Enclosed bottom"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"48",y1:"12",x2:"48",y2:"52",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"22",y:"18",width:"14",height:"28",rx:"2"})),insert:"\\left. #? \\right|",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Enclosed right"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("ellipse",{cx:"12",cy:"12",rx:"9",ry:"11",stroke:"#666666",strokeWidth:"2",fill:"none"}),e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\class{cme-enclose-circle}{#?}",forceLabel:!0,title:"Enclose circle"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup",moreCols:2,moreItems:[{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"12",y1:"3",x2:"12",y2:"21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-vertical-strike}{#?}",title:"Vertical strike"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M3 22 Q11 12 3 2 H21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"11",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:") \\!\\! \\overline{\\vphantom{1}\\;\\;#?\\;}",directInsert:!0,title:"Long division"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"6",y1:"12",x2:"18",y2:"12",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"}),e.createElement("line",{x1:"12",y1:"3",x2:"12",y2:"21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-horizontal-vertical-strike}{#?}",title:"Horizontal and vertical strike"}]},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"9",y1:"21",x2:"15",y2:"3",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-cancel-strike}{#0}",forceLabel:!0,title:"Cancel strike"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"6",y1:"12",x2:"18",y2:"12",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-horizontal-strike}{#?}",forceLabel:!0,title:"Horizontal strike"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"9",y1:"3",x2:"15",y2:"21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-down-strike}{#0}",forceLabel:!0,title:"Down diagonal strike"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"9",y1:"21",x2:"15",y2:"3",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"}),e.createElement("line",{x1:"9",y1:"3",x2:"15",y2:"21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-cross-strike}{#?}",forceLabel:!0,title:"Cross strike"}]},{label:"∑ ⋃ ",fontSize:"8px",mathLabel:"\\sum \\, \\bigcup",isTemplate:!0,items:[{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M44 16 L22 16 L34 32 L22 48 L44 48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"27",y:"-3",width:"10",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"27",y:"56",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\sum_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Summation with limits"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M38 16 L16 16 L28 32 L16 48 L38 48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"42",y:"2",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"42",y:"39",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\sum\\nolimits_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Summation with side limits"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M44 16 L22 16 L34 32 L22 48 L44 48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"27",y:"54",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\sum_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Summation with subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M38 16 L16 16 L28 32 L16 48 L38 48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"42",y:"39",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\sum\\nolimits_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Summation with side subscript"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M18 16 H46 M22 16 V48 M42 16 V48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"27",y:"-2",width:"10",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"27",y:"50",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\prod_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Product with limits"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M12 16 H40 M16 16 V48 M36 16 V48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"44",y:"4",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"44",y:"44",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\prod\\nolimits_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Product with side limits"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M18 16 H46 M22 16 V48 M42 16 V48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"27",y:"50",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\prod_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Product with subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M12 16 H40 M16 16 V48 M36 16 V48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"44",y:"39",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\prod\\nolimits_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Product with side subscript"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"8",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"22",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"24",y:"48",width:"8",height:"12",rx:"1",opacity:"0.45"})),insert:"\\overset{#?}{\\underset{\\raisebox{-4px}{#?}}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Over and underscript"},{label:e.createElement("svg",{viewBox:"0 0 24 24",width:"20",height:"20"},e.createElement("rect",{x:"1",y:"1",width:"14",height:"22",fill:"none",stroke:"currentColor",strokeWidth:"2"}),e.createElement("rect",{x:"17",y:"1",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"}),e.createElement("rect",{x:"17",y:"17",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"})),forceLabel:!0,insert:"{\\style{font-size:1.8em; transform: scale(0.9, 1.2); display: inline-block; padding: 0.2em 0;}{#?}}_{#?}^{\\raisebox{0.6em}{#?}}",isWidget:!0,title:"Subscript and superscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 4 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"19",y:"28",width:"12",height:"18",rx:"1"}),e.createElement("rect",{x:"21",y:"52",width:"8",height:"12",rx:"1",opacity:"0.45"})),insert:"\\underset{\\raisebox{-4px}{#?}}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Underscript"},{label:e.createElement("svg",{viewBox:"0 0 24 24",width:"20",height:"20"},e.createElement("rect",{x:"1",y:"1",width:"14",height:"22",fill:"none",stroke:"currentColor",strokeWidth:"2"}),e.createElement("rect",{x:"17",y:"17",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"})),forceLabel:!0,insert:"{\\style{font-size:1.8em; transform: scale(0.9, 1.2); display: inline-block; padding: 0.2em 0;}{#?}}_{#?}",isWidget:!0,title:"Subscript"},{type:"sep",cols:1,small:!0,cls:"cme-matrix-subgroup",moreCols:3,moreItems:[{label:"⨅",insert:"⨅",title:"Big square cap"},{label:"∏",insert:"∏",title:"Product"},{label:"∑",insert:"∑",title:"Summation"},{label:"⨆",insert:"⨆",title:"Big square cup"},{label:"∐",insert:"∐",title:"Coproduct"}]},{label:"⋃",insert:"\\bigcup",title:"Big union"},{label:"⋂",insert:"\\bigcap",title:"Big intersection"}]},{label:"∫ lim",fontSize:"7px",mathLabel:"\\int_{#?}^{#?} \\, \\lim",isTemplate:!0,items:[{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"24",height:"26",viewBox:"0 0 44 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"4",y:"54",fontFamily:"serif",fontSize:"58",fontStyle:"italic",fill:"#222",stroke:"none",transform:"rotate(10, 14, 32)"},"∫"),e.createElement("rect",{x:"24",y:"10",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"}),e.createElement("rect",{x:"16",y:"46",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"})),insert:"\\int_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Int"},{label:e.createElement("svg",{width:"40",height:"26",viewBox:"0 0 96 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"4",y:"54",fontFamily:"serif",fontSize:"58",fontStyle:"italic",fill:"#222",stroke:"none",transform:"rotate(10, 14, 32)"},"∫"),e.createElement("rect",{x:"24",y:"10",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"}),e.createElement("rect",{x:"16",y:"46",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"}),e.createElement("rect",{x:"42",y:"24",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("text",{x:"62",y:"38",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",stroke:"none"},"d"),e.createElement("rect",{x:"76",y:"24",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\int_{#?}^{#?} #0 \\, d#?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Definite integral"},{label:e.createElement("svg",{width:"24",height:"26",viewBox:"0 0 44 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"4",y:"54",fontFamily:"serif",fontSize:"58",fontStyle:"italic",fill:"#222",stroke:"none",transform:"rotate(10, 14, 32)"},"∫"),e.createElement("rect",{x:"16",y:"46",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"})),insert:"\\int_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Integral with subscript"},{label:e.createElement("svg",{width:"40",height:"26",viewBox:"0 0 96 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"4",y:"54",fontFamily:"serif",fontSize:"58",fontStyle:"italic",fill:"#222",stroke:"none",transform:"rotate(10, 14, 32)"},"∫"),e.createElement("rect",{x:"16",y:"46",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"}),e.createElement("rect",{x:"42",y:"24",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("text",{x:"62",y:"38",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",stroke:"none"},"d"),e.createElement("rect",{x:"76",y:"24",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\int_{#?} #?\\,d#?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Integral with subscript and differential"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"32",y:"42",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"36",fill:"#222",textAnchor:"middle"},"d")),insert:"\\mathrm{d}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Mathrm d"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("line",{x1:"8",y1:"32",x2:"56",y2:"32",stroke:"#222",strokeWidth:"3"}),e.createElement("text",{x:"22",y:"24",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",textAnchor:"middle"},"d"),e.createElement("rect",{x:"32",y:"8",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("text",{x:"22",y:"54",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",textAnchor:"middle"},"d"),e.createElement("rect",{x:"32",y:"38",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\frac{d#?}{d#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Derivative"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"32",y:"44",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"36",fill:"#222",textAnchor:"middle"},"∂")),insert:"∂",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Partial differential"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("line",{x1:"8",y1:"32",x2:"56",y2:"32",stroke:"#222",strokeWidth:"3"}),e.createElement("text",{x:"22",y:"24",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",textAnchor:"middle"},"∂"),e.createElement("rect",{x:"32",y:"8",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("text",{x:"22",y:"54",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",textAnchor:"middle"},"∂"),e.createElement("rect",{x:"32",y:"38",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\class{cme-partial-derivative}{\\frac{∂#?}{∂#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Partial derivative"},{type:"sep",cols:1,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("text",{x:"32",y:"32",fill:"#222",stroke:"none",fontSize:"24",fontFamily:"serif",textAnchor:"middle"},"lim"),e.createElement("rect",{x:"14",y:"40",width:"10",height:"14",rx:"1",opacity:"0.45"}),e.createElement("text",{x:"28",y:"52",fill:"#222",stroke:"none",fontSize:"16",fontFamily:"sans-serif"},"→"),e.createElement("text",{x:"44",y:"52",fill:"#222",stroke:"none",fontSize:"18",fontFamily:"serif"},"∞")),insert:"\\lim_{#?\\to\\infty}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Limit to infinity"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("text",{x:"32",y:"32",fill:"#222",stroke:"none",fontSize:"24",fontFamily:"serif",textAnchor:"middle"},"lim"),e.createElement("rect",{x:"24",y:"40",width:"16",height:"16",rx:"1",opacity:"0.45"})),insert:"\\lim_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Limit"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M12 24 L28 24 L20 40 Z",stroke:"#222",strokeWidth:"3",fill:"none",strokeLinejoin:"round"}),e.createElement("path",{d:"M34 26 L46 38 M46 26 L34 38",stroke:"#222",strokeWidth:"3",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"50",y:"22",width:"12",height:"20",rx:"1"})),insert:"\\nabla\\times #?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Curl"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M16 24 L36 24 L26 44 Z",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinejoin:"round"}),e.createElement("rect",{x:"44",y:"24",width:"16",height:"20",rx:"1"})),insert:"\\nabla #?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Gradient"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M12 24 L28 24 L20 40 Z",stroke:"#222",strokeWidth:"3",fill:"none",strokeLinejoin:"round"}),e.createElement("circle",{cx:"38",cy:"32",r:"3",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"46",y:"22",width:"12",height:"20",rx:"1"})),insert:"\\nabla\\cdot #?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Divergence"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M26 16 L12 44 L40 44 Z",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinejoin:"round"}),e.createElement("rect",{x:"46",y:"24",width:"16",height:"20",rx:"1"})),insert:"\\Delta #?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Laplacian"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup",moreItems:[{label:"∭",insert:"\\iiint",title:"Triple integral"},{label:"∰",insert:"\\mathop{{\\style{font-size:1em;}{\\iiint}}\\mkern-28mu\\class{wider-circle}{\\bigcirc}\\mkern18mu}",title:"Closed volume integral"}]},{label:e.createElement("svg",{width:"14",height:"26",viewBox:"0 0 32 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"22",y:"54",transform:"skewX(-15)",fontFamily:"serif",fontSize:"58",fontWeight:"normal",fill:"#222",stroke:"none",textAnchor:"middle"},"∫")),forceLabel:!0,insert:"\\int",title:"Integral"},{label:e.createElement("svg",{width:"14",height:"26",viewBox:"0 0 32 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"16",y:"54",fontFamily:"serif",fontSize:"58",fontWeight:"normal",fill:"#222",stroke:"none",textAnchor:"middle"},"∬")),forceLabel:!0,insert:"\\iint",title:"Double integral"},{label:e.createElement("svg",{width:"14",height:"26",viewBox:"0 0 32 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"16",y:"54",fontFamily:"serif",fontSize:"58",fontWeight:"normal",fill:"#222",stroke:"none",textAnchor:"middle"},"∮")),forceLabel:!0,insert:"\\oint",title:"Contour integral"},{label:e.createElement("svg",{width:"14",height:"26",viewBox:"0 0 32 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"16",y:"54",fontFamily:"serif",fontSize:"58",fontWeight:"normal",fill:"#222",stroke:"none",textAnchor:"middle"},"∯")),forceLabel:!0,insert:"\\mathop{{\\style{font-size:1em;}{\\iint}}\\mkern-23mu\\class{wide-circle}{\\bigcirc}\\mkern14mu}",title:"Custom surface integral"},{type:"sep",cols:3,cls:"cme-trig-subgroup",moreCols:"3",moreItems:[{label:"csc",insert:"\\csc\\left(#?\\right)",title:"Cosecant"},{label:"sec",insert:"\\sec\\left(#?\\right)",title:"Secant"},{label:"cot",insert:"\\cot\\left(#?\\right)",title:"Cotangent"},{label:"sin⁻¹",insert:"\\sin^{-1}",title:"Inverse sine"},{label:"cos⁻¹",insert:"\\cos^{-1}",title:"Inverse cosine"},{label:"tan⁻¹",insert:"\\tan^{-1}",title:"Inverse tangent"}]},{label:"sin",insert:"\\sin",title:"Sine"},{label:"cos",insert:"\\cos",title:"Cosine"},{label:"tan",insert:"\\tan",title:"Tangent"},{label:"log",insert:"\\log",title:"Logarithm"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"2",y:"42",fontFamily:"serif",fontSize:"28",fill:"#222",stroke:"none"},"log"),e.createElement("rect",{x:"42",y:"36",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"})),insert:"\\log_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Logarithm with base"},{label:"ln",insert:"\\ln",title:"Natural logarithm"}]}];function nt(l=""){if(String(l).match(/^\\ce\{([\s\S]*)\}$/)||l.includes("\\class{cme-"))return l;const a=l.replace(/\\text\{([^}]*)\}/g,"$1").replace(/\$/g,"").trim();return a?`\\ce{${a}}`:""}function ye(l){return l==="matrix"?"\\begin{matrix} \\placeholder{} & \\placeholder{} \\\\ \\placeholder{} & \\placeholder{} \\end{matrix}":l==="bmatrix"?"\\begin{bmatrix} \\placeholder{} & \\placeholder{} \\\\ \\placeholder{} & \\placeholder{} \\end{bmatrix}":l==="pmatrix"?"\\begin{pmatrix} \\placeholder{} & \\placeholder{} \\\\ \\placeholder{} & \\placeholder{} \\end{pmatrix}":l==="vmatrix"?"\\begin{vmatrix} \\placeholder{} & \\placeholder{} \\\\ \\placeholder{} & \\placeholder{} \\end{vmatrix}":l.replace(/#0|#\?/g,"\\placeholder{}")}class ot extends ke.Plugin{static get pluginName(){return"MathInlinePlugin"}static get requires(){return[ke.Widget]}init(){const n=this.editor;n.model.schema.register("mathInline",{isInline:!0,isObject:!0,allowWhere:"$text",allowAttributes:["latex"]}),n.model.schema.addChildCheck((h,o)=>{if(o.name==="mathInline")return!0}),n.conversion.for("editingDowncast").elementToElement({model:"mathInline",view:(h,{writer:o})=>{const m=h.getAttribute("latex")||"",b="math-"+Math.random().toString(36).substr(2,9);window.__ckMathWidgets.set(b,h);const p=o.createContainerElement("span",{class:"ck-math-widget ck-math-inline-word",contenteditable:"false","data-math-id":b,"data-latex":m}),y=o.createRawElement("span",{class:"ck-math-widget-inner",style:"display:inline-block;vertical-align:middle;margin:0;cursor:pointer;width:auto;max-width:100%;pointer-events:none;"},L=>{const k=document.createElement("math-field");k.setAttribute("math-virtual-keyboard-policy","manual"),k.setAttribute("tabindex","-1"),k.style.display="inline-block",k.style.width="auto",k.style.maxWidth="100%",k.style.verticalAlign="middle",k.style.border="none",k.style.background="transparent",k.style.outline="none",k.style.fontSize="inherit",k.style.minHeight="auto",k.style.padding="0",k.style.margin="0",k.style.pointerEvents="none";const v=()=>{if(!k.isConnected){requestAnimationFrame(v);return}window.__cme_macros&&(k.macros={...k.macros,...window.__cme_macros});let M=xe(se(G(we(m))));M.includes("\\enclose")&&/^\\ce\{[\s\S]*\}$/i.test(M.trim())&&(M=M.trim().replace(/^\\ce\{([\s\S]*)\}$/i,"$1"));try{k.setValue?k.setValue("",{silenceNotifications:!0}):k.value="",k.executeCommand(["insert",M,{insertionMode:"replaceAll"}])}catch(x){console.error("[CKMathWidget] executeCommand failed, falling back to setValue:",x);try{k.setValue?k.setValue(M,{silenceNotifications:!0}):k.value=M}catch(A){console.error("[CKMathWidget] setValue also failed:",A)}}k.setAttribute("read-only","")};customElements.get("math-field")?requestAnimationFrame(v):customElements.whenDefined("math-field").then(()=>requestAnimationFrame(v)),L.appendChild(k);const u=()=>{const M=L.parentElement;M&<(n,M)};u(),requestAnimationFrame(u)});return o.insert(o.createPositionAt(p,0),y),ke.toWidget(p,o,{label:"math formula"})}});const a=n.editing.view.document;this.listenTo(a,"mousedown",(h,o)=>{const m=$e(o.domTarget);m&&o.domEvent.button===0&&(h.stop(),o.preventDefault(),He(n,null,he(m),m))},{priority:"high"}),n.conversion.for("editingDowncast").add(h=>{h.on("attribute:latex:mathInline",(o,m,b)=>{if(!b.consumable.consume(m.item,o.name))return;const p=b.writer,y=b.mapper.toViewElement(m.item);if(y){p.setAttribute("data-latex",m.attributeNewValue,y);const L=n.editing.view.domConverter.mapViewToDom(y);if(L){const k=L.querySelector("math-field");if(k){let v=xe(se(G(we(m.attributeNewValue))));v.includes("\\enclose")&&/^\\ce\{[\s\S]*\}$/i.test(v.trim())&&(v=v.trim().replace(/^\\ce\{([\s\S]*)\}$/i,"$1")),k.removeAttribute("read-only");try{k.setValue?k.setValue("",{silenceNotifications:!0}):k.value="",k.executeCommand(["insert",v,{insertionMode:"replaceAll"}])}catch{k.setValue?k.setValue(v,{silenceNotifications:!0}):k.value=v}k.setAttribute("read-only","")}}else console.warn("[CKMathWidget] No domElement found for viewElement")}})}),n.conversion.for("dataDowncast").elementToElement({model:"mathInline",view:(h,{writer:o})=>{const m=h.getAttribute("latex")||"",b=o.createContainerElement("span",{class:"math-tex","data-latex":m,style:"display:inline;"});let p=se(G(we(m)));p.includes("\\enclose")&&/^\\ce\{[\s\S]*\}$/i.test(p.trim())&&(p=p.trim().replace(/^\\ce\{([\s\S]*)\}$/i,"$1"));let y=p.replace(/\\textasciitilde/g,"~").replace(/\\textasciicircum/g,"^").replace(/\\textasteriskcentered/g,"*").replace(/\\char96/g,"`").replace(/\\sim/g,"~").replace(/\\!/g,"!").replace(/\\@/g,"@").replace(/\\#/g,"#").replace(/\\$/g,"$").replace(/\\%/g,"%").replace(/\\&/g,"&").replace(/\\_/g,"_").replace(/\\\{/g,"{").replace(/\\\}/g,"}").replace(/\\ce\{([^}]*)\}/g,"$1").trim();return o.insert(o.createPositionAt(b,0),o.createText(y)),b}}),n.conversion.for("upcast").elementToElement({view:{name:"span",classes:"math-tex"},model:(h,{writer:o})=>{const m=h.getAttribute("data-latex")||"";return o.createElement("mathInline",{latex:m})}})}}function at({matrixType:l,x:n,y:a,onSelect:h,onMouseEnter:o,onMouseLeave:m}){const[b,p]=e.useState({r:2,c:2}),y=Math.max(10,parseInt(b.r,10)||0),L=Math.max(10,parseInt(b.c,10)||0),k=x=>{const A=x.target.value;if(A===""){p(S=>({...S,r:""}));return}const I=parseInt(A,10);isNaN(I)||p(S=>({...S,r:Math.max(1,Math.min(10,I))}))},v=()=>{(b.r===""||isNaN(parseInt(b.r,10)))&&p(x=>({...x,r:1}))},u=x=>{const A=x.target.value;if(A===""){p(S=>({...S,c:""}));return}const I=parseInt(A,10);isNaN(I)||p(S=>({...S,c:Math.max(1,Math.min(10,I))}))},M=()=>{(b.c===""||isNaN(parseInt(b.c,10)))&&p(x=>({...x,c:1}))};return e.useEffect(()=>{const x=A=>{if(A.key==="Enter"){A.preventDefault(),A.stopPropagation();const I=parseInt(b.r,10)||1,S=parseInt(b.c,10)||1;h(I,S)}};return window.addEventListener("keydown",x,!0),()=>window.removeEventListener("keydown",x,!0)},[b.r,b.c,h]),e.createElement("div",{className:"cme-matrix-hover-popover ck-only",style:{top:`${a}px`,left:`${n}px`},onPointerDown:x=>x.stopPropagation(),onMouseEnter:o,onMouseLeave:m},e.createElement("div",{className:"cme-matrix-hover-grid"},Array.from({length:y}).map((x,A)=>e.createElement("div",{key:A,className:"cme-matrix-hover-row"},Array.from({length:L}).map((I,S)=>{const _=parseInt(b.r,10)||0,V=parseInt(b.c,10)||0,R=A<_&&S<V;return e.createElement("div",{key:`${A}-${S}`,className:`cme-matrix-hover-cell${R?" selected":""}`,onMouseEnter:()=>p({r:A+1,c:S+1}),onClick:Z=>{Z.preventDefault(),Z.stopPropagation(),h(A+1,S+1)}})})))),e.createElement("div",{className:"cme-matrix-hover-footer"},e.createElement("div",{className:"cme-matrix-counter"},e.createElement("span",null,"R"),e.createElement("input",{type:"number",className:"cme-counter-val",value:b.r,onChange:k,onBlur:v,min:"1",max:"10"}),e.createElement("div",{className:"cme-counter-btns"},e.createElement("button",{type:"button",onClick:()=>p(x=>{const A=parseInt(x.r,10)||1;return{...x,r:Math.min(10,A+1)}})},"▲"),e.createElement("button",{type:"button",onClick:()=>p(x=>{const A=parseInt(x.r,10)||1;return{...x,r:Math.max(1,A-1)}})},"▼"))),e.createElement("div",{className:"cme-matrix-counter"},e.createElement("span",null,"C"),e.createElement("input",{type:"number",className:"cme-counter-val",value:b.c,onChange:u,onBlur:M,min:"1",max:"10"}),e.createElement("div",{className:"cme-counter-btns"},e.createElement("button",{type:"button",onClick:()=>p(x=>{const A=parseInt(x.c,10)||1;return{...x,c:Math.min(10,A+1)}})},"▲"),e.createElement("button",{type:"button",onClick:()=>p(x=>{const A=parseInt(x.c,10)||1;return{...x,c:Math.max(1,A-1)}})},"▼")))))}let X=!1,fe=null,$=null;function st({mode:l,onInsert:n,onClose:a,initialLatex:h,isEditing:o}){const m=e.useRef(null),b=e.useRef(null),[p,y]=e.useState(null),[L,k]=e.useState(0),[v,u]=e.useState(null),[M,x]=e.useState(null),[A,I]=e.useState(null),[S,_]=e.useState(null);e.useRef(null);const[V,R]=e.useState({x:0,y:0}),[Z,Pe]=e.useState(!1),Ee=e.useRef({x:0,y:0}),[ht,qe]=e.useState(!1),[ct,Fe]=e.useState(!1),[mt,ce]=e.useState(!1),ve=e.useRef(null);e.useEffect(()=>{const t=r=>{if(!Z)return;const s=r.touches&&r.touches.length>0?r.touches[0].clientX:r.clientX,c=r.touches&&r.touches.length>0?r.touches[0].clientY:r.clientY;let g=s-Ee.current.x,d=c-Ee.current.y;if(ve.current){const C=ve.current,E=-C.left,D=window.innerWidth-C.right,H=-C.top,N=window.innerHeight-C.bottom;g<E&&(g=E),g>D&&(g=D),d<H&&(d=H),d>N&&(d=N)}R({x:g,y:d})},i=()=>Pe(!1);return Z&&(window.addEventListener("mousemove",t,{passive:!1}),window.addEventListener("mouseup",i),window.addEventListener("touchmove",t,{passive:!1}),window.addEventListener("touchend",i)),()=>{window.removeEventListener("mousemove",t),window.removeEventListener("mouseup",i),window.removeEventListener("touchmove",t),window.removeEventListener("touchend",i)}},[Z]),e.useEffect(()=>{const t=b.current;if(!t)return;let i=0,r=0,s=0;const c=d=>{d.touches.length===1&&(i=d.touches[0].clientY,r=d.touches[0].clientX,s=t.scrollTop)},g=d=>{if(d.touches.length!==1)return;const C=i-d.touches[0].clientY,E=r-d.touches[0].clientX;if(Math.abs(C)<10||Math.abs(E)>Math.abs(C)||t.scrollHeight<=t.clientHeight)return;const D=s+C,H=t.scrollHeight-t.clientHeight;D>0&&D<H&&d.preventDefault(),t.scrollTop=Math.max(0,Math.min(D,H))};return t.addEventListener("touchstart",c,{passive:!0}),t.addEventListener("touchmove",g,{passive:!1}),()=>{t.removeEventListener("touchstart",c),t.removeEventListener("touchmove",g)}},[]);const Ze=t=>{if(t.target.closest(".cme-popup-controls"))return;Pe(!0);const i=t.touches&&t.touches.length>0?t.touches[0].clientX:t.clientX,r=t.touches&&t.touches.length>0?t.touches[0].clientY:t.clientY;Ee.current={x:i-V.x,y:r-V.y};const s=document.querySelector(".cme-editor-popup");if(s){const c=s.getBoundingClientRect();ve.current={left:c.left-V.x,top:c.top-V.y,right:c.right-V.x,bottom:c.bottom-V.y,width:c.width,height:c.height}}},me=l==="math"?rt:it,[f,Me]=e.useState({bold:!1,italic:!1,color:"none",fontFamily:"none",fontSize:"auto"});function P(t){const i=t==null?void 0:t.selection;return!i||!i.ranges||i.ranges.length===0?!1:i.ranges.some(([r,s])=>r!==s)}function Je(t){if(!t)return!1;try{const i=c=>["all","some",!0].includes(c);if(typeof t.queryStyle=="function"){const c=t.queryStyle({fontSeries:"b"}),g=t.queryStyle({variantStyle:"bold"});if(i(c)||i(g))return!0}let r="";try{P(t)&&(r=t.getValue(t.selection)||"")}catch{}const s=/\\mathbf\b|\\boldsymbol\b|\\mathbfit\b|\\textbf\b|\\bm\b|\\bold\b/;if(r&&s.test(r))return!0;try{if(P(t)){const c=t.getValue();if(s.test(c)){const g=E=>E.replace(/\\[a-zA-Z]+/g,"").replace(/[^a-zA-Z0-9]/g,""),d=g(r),C=g(c);if(d.length>0&&d===C)return!0}}}catch{}}catch{}return!1}function ze(t){if(!t)return!1;try{const i=c=>["all","some",!0].includes(c);if(typeof t.queryStyle=="function"){const c=t.queryStyle({shape:"it"}),g=t.queryStyle({variantStyle:"italic"});if(i(c)||i(g))return!0}let r="";try{P(t)&&(r=t.getValue(t.selection)||"")}catch{}const s=/\\mathit\b|\\mathbfit\b|\\textit\b/;if(r&&s.test(r))return!0;try{if(P(t)){const c=t.getValue();if(s.test(c)){const g=E=>E.replace(/\\[a-zA-Z]+/g,"").replace(/[^a-zA-Z0-9]/g,""),d=g(r),C=g(c);if(d.length>0&&d===C)return!0}}}catch{}if(window.__cmeManualItalic===!0)return!0}catch{}return!1}const q=e.useCallback(()=>{if(X||window.__cmeIgnoreStyleUpdate&&Date.now()<window.__cmeIgnoreStyleUpdate)return;const t=m.current;if(!(!t||typeof t.queryStyle!="function"))try{const i=P(t);let r=Je(t),s=ze(t),c="none",g="auto",d="none";const C=E=>["all","some",!0].includes(E);if(i){window.__cmeManualBold=void 0,window.__cmeManualItalic=void 0,window.__cmeManualFontFamily=void 0,window.__cmeManualFontSize=void 0;let E="";try{E=t.getValue(sel)||""}catch{}const D=["roman","sans-serif","monospace"].find(N=>C(t.queryStyle({fontFamily:N})))||"none";D!=="none"?c=D:/\\mathsf\b/.test(E)?c="sans-serif":/\\mathtt\b/.test(E)?c="monospace":/\\mathrm\b/.test(E)?c="roman":c="none";const H=[5,7,9].find(N=>C(t.queryStyle({fontSize:N})))||"auto";g=String(H),d=["black","dimgray","gray","darkgray","silver","white","red","orange","yellow","lime","cyan","blue","purple","magenta","pink","brown","maroon","olive","green","teal","navy","indigo","violet","gold"].find(N=>C(t.queryStyle({color:N})))||"none"}else window.__cmeManualBold!==void 0&&(r=window.__cmeManualBold),window.__cmeManualItalic!==void 0&&(s=window.__cmeManualItalic),console.log("CME: updateActiveStyles else-branch bold=",r,"manual=",window.__cmeManualBold),c=window.__cmeManualFontFamily!==void 0?window.__cmeManualFontFamily:["roman","sans-serif","monospace"].find(E=>C(t.queryStyle({fontFamily:E})))||"none",g=window.__cmeManualFontSize!==void 0?window.__cmeManualFontSize:[5,7,9].find(E=>C(t.queryStyle({fontSize:E})))||"auto",d=["black","dimgray","gray","darkgray","silver","white","red","orange","yellow","lime","cyan","blue","purple","magenta","pink","brown","maroon","olive","green","teal","navy","indigo","violet","gold"].find(E=>C(t.queryStyle({color:E})))||"none";Me({bold:r,italic:s,fontFamily:c,fontSize:String(g),color:d})}catch(i){console.warn("Failed to query active styles:",i)}},[]);e.useEffect(()=>{if(!v&&!A)return;const t=i=>{!i.target.closest(".cme-matrix-hover-popover")&&!i.target.closest(".cme-matrix-btn-wrapper")&&u(null),!i.target.closest(".cme-color-picker-popup")&&!i.target.closest('[title="Text Color"]')&&I(null)};return window.addEventListener("mousedown",t,!0),window.addEventListener("pointerdown",t,!0),()=>{window.removeEventListener("mousedown",t,!0),window.removeEventListener("pointerdown",t,!0)}},[v,A]),e.useEffect(()=>{if(!S)return;const t=i=>{!i.target.closest(".cme-more-popup")&&!i.target.closest(".cme-more-trigger-btn")&&_(null)};return window.addEventListener("mousedown",t,!0),window.addEventListener("pointerdown",t,!0),()=>{window.removeEventListener("mousedown",t,!0),window.removeEventListener("pointerdown",t,!0)}},[S]),e.useEffect(()=>{const t=setTimeout(()=>_e(),50);return()=>clearTimeout(t)},[L]),e.useEffect(()=>{if(X)return;const t=p;if(!t)return;t.macros={...t.macros,...window.__cme_macros||{}},t.defaultMode="math";const i=()=>{if(h){let r=xe(h);if(l==="chem"){const s=r.match(/^\\ce\{([\s\S]*)\}$/i);s&&(r=s[1])}r=G(r),r=se(r),t.setValue?t.setValue("",{silenceNotifications:!0}):t.value="",t.executeCommand(["insert",r,{insertionMode:"replaceAll"}])}requestAnimationFrame(()=>{document.querySelector(".cme-editor-popup.minimized")||t.focus()})};customElements.get("math-field")?requestAnimationFrame(i):customElements.whenDefined("math-field").then(()=>requestAnimationFrame(i))},[l,h,p]),e.useEffect(()=>{const t=p;if(!t)return;const i=r=>{if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown"].includes(r.key)?(X=!1,clearTimeout(fe),window.__cmeManualBold=void 0,window.__cmeManualItalic=void 0,window.__cmeManualFontFamily=void 0,window.__cmeManualFontSize=void 0):(r.key.length===1||r.key===" ")&&(X=!0,clearTimeout(fe),fe=setTimeout(()=>{X=!1},500)),["`","~","!","@","#","$","%","^","&","*","_",'"',"'","/","\\","|"].includes(r.key)&&!r.ctrlKey&&!r.metaKey&&!r.altKey){r.preventDefault(),r.stopPropagation();let s="";r.key==="`"?s="\\grave{\\ }":r.key==="~"?s="\\sim":r.key==="!"?s="!":r.key==="@"?s="@":r.key==="#"?s="\\#":r.key==="$"?s="\\$":r.key==="%"?s="\\%":r.key==="^"?s="\\wedge":r.key==="&"?s="\\&":r.key==="*"?s="\\ast":r.key==="_"?s="\\_":r.key==='"'?s='\\text{"}':r.key==="'"?s="\\text{'}":r.key==="/"?s="\\mathord{/}":r.key==="\\"?s="\\backslash":r.key==="|"&&(s="|"),t.executeCommand(["insert",s]);return}if(r.key.length===1&&!r.ctrlKey&&!r.metaKey&&!r.altKey&&/[a-zA-Z0-9]/.test(r.key)){if(r.preventDefault(),r.stopPropagation(),!f.bold||!f.italic)try{t.executeCommand("moveOutOfGroup")}catch{}let s=ae(r.key,f.bold,f.italic,f.fontFamily);const c=f.fontSize==="auto"?5:parseInt(f.fontSize,10);if(c!==5){const g={1:"\\tiny",2:"\\scriptsize",3:"\\footnotesize",4:"\\small",5:"\\normalsize",6:"\\large",7:"\\Large",8:"\\LARGE",9:"\\huge",10:"\\Huge"};g[c]&&(s=`{${g[c]} ${s}}`)}f.color!=="none"&&(s=`\\textcolor{${f.color}}{${s}}`),t.executeCommand(["insert",s]);return}r.key===" "?(r.preventDefault(),t.executeCommand(["insert","\\, "])):r.key==="Enter"&&(r.preventDefault(),r.stopImmediatePropagation(),t.executeCommand("addRowAfter"))};return t.addEventListener("keydown",i,!0),()=>t.removeEventListener("keydown",i,!0)},[l,f,q,p]),e.useEffect(()=>{const t=p;if(!t)return;const i=()=>{window.__cmeIgnoreStyleUpdate&&Date.now()<window.__cmeIgnoreStyleUpdate||(P(t)&&(window.__cmeManualBold=void 0,window.__cmeManualItalic=void 0,window.__cmeManualFontFamily=void 0,window.__cmeManualFontSize=void 0),setTimeout(()=>{const r=t.shadowRoot;if(!r)return;const s=r.querySelector(".ML__caret")||r.querySelector('[class*="caret"]');s&&s.scrollIntoView({behavior:"auto",block:"nearest",inline:"nearest"}),q()},0))};return t.addEventListener("selection-change",i),t.addEventListener("input",i),t.addEventListener("keydown",i),t.addEventListener("pointerup",i),t.addEventListener("click",i),setTimeout(q,50),()=>{t.removeEventListener("selection-change",i),t.removeEventListener("input",i),t.removeEventListener("keydown",i),t.removeEventListener("pointerup",i),t.removeEventListener("click",i)}},[q,p]),e.useEffect(()=>{const t=p;if(!t)return;const i=()=>{const r=t.shadowRoot;if(!r||r.querySelector("style[data-cme-sqrt-fix]"))return;const s=document.createElement("style");s.setAttribute("data-cme-sqrt-fix","1"),s.textContent=`
|
|
301
|
+
`)}function Xe(){document.querySelectorAll("math-field").forEach(oe)}let ue=null;function _e(){ue||(Xe(),ue=new MutationObserver(l=>{var n,s,a;for(const o of l){if(o.type==="attributes"&&((n=o.target.tagName)==null?void 0:n.toLowerCase())==="math-field"){oe(o.target);continue}if(o.addedNodes)for(const m of o.addedNodes)m instanceof Element&&(((s=m.tagName)==null?void 0:s.toLowerCase())==="math-field"&&requestAnimationFrame(()=>oe(m)),(a=m.querySelectorAll)==null||a.call(m,"math-field").forEach(b=>requestAnimationFrame(()=>oe(b))))}}),ue.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["read-only","readonly"]}))}const Be=[{id:"All",name:"All"},{id:"Symbol",name:"Symbol",ranges:[[8704,8959],[9728,9983],[8592,8703],[9984,10175]]},{id:"Punctuation",name:"Punctuation",ranges:[[33,47],[58,64],[91,96],[123,126],[161,161],[171,171],[187,187],[191,191],[8208,8231],[8240,8286],[10088,10101],[10214,10223],[10627,10648],[11776,11903],[12288,12351],[65104,65135],[65281,65295],[65306,65312],[65339,65344],[65371,65381]]},{id:"Letter",name:"Letter",ranges:[[65,90],[97,122],[880,1023],[1024,1279]]},{id:"Mark",name:"Mark",ranges:[[169,169],[174,174],[8224,8231],[8240,8286],[8471,8471],[8482,8482],[9744,9746],[10003,10008],[10013,10017],[10018,10059],[10067,10074],[10081,10087],[10132,10174],[128500,128505]]},{id:"Number",name:"Number",ranges:[[48,57],[8304,8351],[8528,8591],[9312,9471],[10102,10131],[65296,65305],[120782,120831]]},{id:"Phonetic",name:"Phonetic",ranges:[[592,687],[688,767],[7424,7551],[7552,7615],[43824,43887]]},{id:"Other",name:"Other",ranges:[[8352,8399],[8448,8527],[8960,9215],[9472,9599],[9600,9631],[9632,9727],[10240,10495],[11008,11263]]}],Ke=(()=>{const l=[];return Be.slice(1).forEach(n=>{n.ranges.forEach(s=>{for(let a=s[0];a<=s[1];a++){if(a>=127&&a<=159)continue;const o=String.fromCodePoint(a);new RegExp("\\p{C}","u").test(o)||l.push({code:a.toString(16).toUpperCase().padStart(4,"0"),char:o,category:n.id})}})}),l})();function Ye({isOpen:l,onClose:n,onInsert:s,position:a}){const[o,m]=e.useState(""),[b,d]=e.useState("All");e.useEffect(()=>{l&&(m(""),d("All"))},[l]);const E=e.useMemo(()=>{let u=Ke;if(b!=="All"&&(u=u.filter(y=>y.category===b)),o.trim()){const y=o.trim().toUpperCase();u=u.filter(f=>f.code.includes(y))}return u},[b,o]),L=e.useMemo(()=>{if(b!=="All"&&!o.trim())return{[b]:E};const u={};return E.forEach(y=>{u[y.category]||(u[y.category]=[]),u[y.category].push(y)}),u},[E,b,o]),k=u=>{u.key==="Escape"&&n()};if(e.useEffect(()=>(l&&window.addEventListener("keydown",k),()=>window.removeEventListener("keydown",k)),[l]),!l)return null;let x={top:"50%",left:"50%",transform:"translate(-50%, -50%)"};if(a){let u=a.x-120,y=a.y;u<10&&(u=10),u+230>window.innerWidth&&(u=window.innerWidth-240),y+200>window.innerHeight&&(y=window.innerHeight-210),x={top:`${y}px`,left:`${u}px`}}return e.createElement("div",{className:"scm-overlay",onMouseDown:u=>{u.stopPropagation(),n()}},e.createElement("div",{className:"scm-modal",style:x,onMouseDown:u=>u.stopPropagation()},e.createElement("div",{className:"scm-toolbar"},e.createElement("input",{type:"text",placeholder:"Code",value:o,onChange:u=>m(u.target.value),className:"scm-code-input"}),e.createElement("select",{value:b,onChange:u=>d(u.target.value),className:"scm-category-select"},Be.map(u=>e.createElement("option",{key:u.id,value:u.id},u.name)))),e.createElement("div",{className:"scm-body"},e.createElement("div",{className:"scm-grid-container"},Object.entries(L).map(([u,y])=>e.createElement("div",{key:u,className:"scm-category-group"},e.createElement("div",{className:"scm-char-grid"},y.map(f=>e.createElement("button",{key:f.code,className:"scm-char-btn",onClick:()=>{s(f.char),n()},title:`U+${f.code}`},f.char))))),E.length===0&&e.createElement("div",{className:"scm-no-results"},"No characters found.")))))}const Ge={version:"1.0.26"};window.__cme_macros={...window.__cme_macros,cmeLeftRightAbove:{def:"\\class{cme-flip-v}{\\xtofrom[\\class{cme-flip-v}{#1}]{}}",args:1},cmeLeftRightBelow:{def:"\\class{cme-flip-v}{\\xtofrom{\\class{cme-flip-v}{#1}}}",args:1},cmeLeftRightBoth:{def:"\\class{cme-flip-v}{\\xtofrom[\\class{cme-flip-v}{#1}]{\\class{cme-flip-v}{#2}}}",args:2},cmeWideHat:{def:"\\class{cme-wide-hat-text}{#1}",args:1},notin:{def:"\\mathrel{\\char`∉}"},notni:{def:"\\mathrel{\\char`∌}"}},typeof window<"u"&&(window.MathfieldElement?window.MathfieldElement.fontsDirectory="https://cdn.jsdelivr.net/npm/mathlive/dist/fonts":Se.MathfieldElement&&(Se.MathfieldElement.fontsDirectory="https://cdn.jsdelivr.net/npm/mathlive/dist/fonts")),window.__ckMathWidgets=window.__ckMathWidgets||new Map,window.__ckMathWidgetClickHandler=null;function $e(l){var s,a,o,m,b;if(!l)return null;const n=typeof l.composedPath=="function"?l.composedPath():[l];for(const d of n)if(d instanceof HTMLElement&&((s=d.classList)!=null&&s.contains("ck-math-widget")||(a=d.dataset)!=null&&a.mathId||(o=d.classList)!=null&&o.contains("ck-widget")&&((m=d.querySelector)!=null&&m.call(d,".ck-math-widget-inner"))))return d;return l instanceof Element?(b=l.closest)==null?void 0:b.call(l,".ck-math-widget, [data-math-id]"):null}function we(l){if(!l)return"";let n="",s=0;for(;s<l.length;){let a=l.indexOf("\\placeholder",s);if(a===-1){n+=l.slice(s);break}if(n+=l.slice(s,a),s=a+12,l[s]==="["){let o=1;for(s++;s<l.length&&o>0;)l[s]==="["?o++:l[s]==="]"&&o--,s++}if(l[s]==="{"){let o=1,m=s+1;for(s++;s<l.length&&o>0;)l[s]==="{"?o++:l[s]==="}"&&o--,s++;let b=l.slice(m,s-1);b.trim()===""?n+="\\quad ":n+=b}}return n}function G(l){let n="",s=0;const a="\\text{";for(;s<l.length;){const o=l.indexOf(a,s);if(o===-1){n+=l.slice(s);break}n+=l.slice(s,o);let m=1,b=o+a.length;for(;b<l.length&&m>0;)l[b]==="{"?m++:l[b]==="}"&&m--,b++;const d=l.slice(o+a.length,b-1);/^['"/]+$/.test(d)||d.includes("\\textquotedbl")||d.includes("\\textquotesingle")?n+="\\text{"+d+"}":n+=d,s=b}return n}function De(l,n){let s=0,a=n-1;for(;a>=0&&l[a]==="\\";)s++,a--;return s%2===1}function Ne(l){if(!l||typeof l!="string")return l||"";let n=l;const s=["\\mathbfit{","\\boldsymbol{","\\mathbf{","\\mathit{","\\mathrm{","\\textbf{","\\textit{","\\textmd{","\\textnormal{","\\text{","\\mbox{","\\bm{","\\bold{","\\pmb{","\\mathsf{","\\mathtt{"];let a=!0,o=0;for(;a&&o<10;){a=!1,o++;for(const m of s){let b=0;for(;b<n.length;){const d=n.indexOf(m,b);if(d===-1)break;let E=1,L=d+m.length;for(;L<n.length&&E>0;)n[L]==="{"&&!De(n,L)?E++:n[L]==="}"&&!De(n,L)&&E--,L++;if(E===0){const k=n.slice(d+m.length,L-1);n=n.slice(0,d)+k+n.slice(L),a=!0,b=d}else b=d+m.length}}}return n}function Re(l){return!l||typeof l!="string"?!1:[/[\^_]/,/\\frac\b/,/\\tfrac\b/,/\\nicefrac\b/,/\\sqrt\b/,/\\ce\b/,/\\int\b/,/\\iint\b/,/\\iiint\b/,/\\oint\b/,/\\sum\b/,/\\prod\b/,/\\lim\b/,/\\begin\b/,/\\enclose\b/,/\\placeholder\b/,/\\over\b/,/\\vec\b/,/\\hat\b/,/\\tilde\b/,/\\bar\b/,/\\dot\b/,/\\ddot\b/,/\\underbrace\b/,/\\overbrace\b/,/\\overset\b/,/\\underset\b/,/\\raisebox\b/,/\\lowerbox\b/,/\\left\b/,/\\right\b/,/\\class\b/,/\\style\b/,/\\(LARGE|Large|large|scriptsize|tiny|small|huge|Huge|footnotesize|normalsize)\b/,/\\alpha\b|\\beta\b|\\gamma\b|\\delta\b|\\epsilon\b|\\zeta\b|\\eta\b|\\theta\b|\\iota\b|\\kappa\b|\\lambda\b|\\mu\b|\\nu\b|\\xi\b|\\pi\b|\\rho\b|\\sigma\b|\\tau\b|\\upsilon\b|\\phi\b|\\chi\b|\\psi\b|\\omega\b/,/\\Gamma\b|\\Delta\b|\\Theta\b|\\Lambda\b|\\Xi\b|\\Pi\b|\\Sigma\b|\\Upsilon\b|\\Phi\b|\\Psi\b|\\Omega\b/,/\\pm\b|\\times\b|\\div\b|\\leq\b|\\geq\b|\\neq\b|\\approx\b|\\infty\b|\\partial\b|\\to\b|\\rightarrow\b/].some(s=>s.test(l))}function et(l,n){return l?Re(l)?l:(n==null?void 0:n.fontFamily)==="sans-serif"?`\\mathsf{${l}}`:(n==null?void 0:n.fontFamily)==="monospace"?`\\mathtt{${l}}`:(n==null?void 0:n.fontFamily)==="roman"?`\\mathrm{${l}}`:l:""}function Oe(l,n,s,a){if(!l)return"";if(!n&&!s)return et(l,{fontFamily:a});const o=a==="sans-serif",m=a==="monospace",b=a==="roman";return n&&s?o?`\\boldsymbol{\\mathsf{${l}}}`:m?`\\boldsymbol{\\mathtt{${l}}}`:b?`\\mathbfit{\\mathrm{${l}}}`:`\\mathbfit{${l}}`:n?o?`\\boldsymbol{\\mathsf{${l}}}`:m?`\\boldsymbol{\\mathtt{${l}}}`:b?`\\mathbf{\\mathrm{${l}}}`:`\\mathbf{${l}}`:s?o?`\\mathsf{${l}}`:m?`\\mathtt{${l}}`:b?`\\mathit{\\mathrm{${l}}}`:`\\mathit{${l}}`:l}function ae(l,n,s,a){if(!l)return"";let o=l.trim();const m=o.match(/^\\displaylines\s*\{([\s\S]*)\}$/i);if(m&&(o=m[1].trim()),o.match(/^\\begin\{(array|matrix|pmatrix|bmatrix|vmatrix|Vmatrix|align|aligned|gather|cases)\}([\s\S]*)\\end\{\1\}$/i))return o;const d=o.match(/^\\begin\{(array|gather)\}(\{[\s\S]*?\})?([\s\S]*?)\\end\{\1\}$/i);if(d&&(o=d[3].trim()),/\\\\|\\cr|\\newline|\\par|\n/.test(o)){const E=/\\\\(?:\[[^\]]*\])?|\\cr|\\newline|\\par|\n/;return`\\displaylines{${o.split(E).map(x=>{const u=x.trim();return u?Oe(u,n,s,a):""}).filter(x=>x.length>0).join(" \\\\ ")}}`}return Oe(o,n,s,a)}function se(l){return l.replace(/\\enclose\{([^}]*)\}\[.*?\]/g,"\\enclose{$1}")}function xe(l=""){if(typeof l!="string")return l;let n=l.replace(/\\textasciitilde/g,"\\text{~}").replace(/\\textasciicircum/g,"\\text{^}").replace(/\\textasteriskcentered/g,"*").replace(/\\char96/g,"`");return n.includes("\\ce{")&&(n=n.replace(/\\ce\{([\s\S]*?)\}/g,(s,a)=>a.includes("\\{")||a.includes("\\}")||a.includes("\\lbrace")||a.includes("\\rbrace")?a:`\\ce{${a.replace(/\\left\[/g,"[").replace(/\\right\]/g,"]").replace(/\\lbrack\b/g,"[").replace(/\\rbrack\b/g,"]").replace(/\\left\(/g,"(").replace(/\\right\)/g,")").replace(/\\left\|/g,"|").replace(/\\right\|/g,"|").replace(/\\left\./g,"").replace(/\\right\./g,"")}}`)),n}function he(l){if(!l)return"";const n=l.getAttribute("data-latex");if(n)return n;const s=l.querySelector("math-field");return s?s.getValue?s.getValue("latex-expanded"):s.value||"":""}function Ve(l,n){if(!l||!n)return!1;try{return l.model.createPositionBefore(n),!0}catch{return!1}}function tt(l,n){var d;if(!l||!n)return null;const s=l.model.document.selection.getSelectedElement();if((s==null?void 0:s.name)==="mathInline")return s;const a=n.getAttribute("data-math-id");if(a){const E=window.__ckMathWidgets.get(a);if(Ve(l,E))return E}const o=l.editing.view.domConverter.mapDomToView(n);if(o){const E=l.editing.mapper.toModelElement(o);if((E==null?void 0:E.name)==="mathInline")return E}const m=he(n);if(!m)return null;const b=l.model.document.getRoot();for(const{item:E}of l.model.createRangeIn(b))if((d=E.is)!=null&&d.call(E,"element","mathInline")&&E.getAttribute("latex")===m)return E;return null}function He(l,n,s,a){if(!l||l._mathWidgetOpening)return;l._mathWidgetOpening=!0,queueMicrotask(()=>{l._mathWidgetOpening=!1});const o=Ve(l,n)?n:tt(l,a),m=(o==null?void 0:o.getAttribute("latex"))||s||he(a);if(!m)return;o&&l.model.change(d=>{d.setSelection(o,"on")});const b=l.mathWidgetClickHandler||window.__ckMathWidgetClickHandler;b&&b(o,m),window.dispatchEvent(new CustomEvent("editAneesWidget",{detail:{editor:l,modelElement:o,latex:m}}))}function lt(l,n){if(!n||n._ckMathClickBound)return;n._ckMathClickBound=!0;const s=a=>{var o;a.button===0&&(a.preventDefault(),a.stopPropagation(),(o=a.stopImmediatePropagation)==null||o.call(a),He(l,null,he(n),n))};n.addEventListener("mousedown",s,!0),n.addEventListener("click",s,!0)}const rt=[{label:"√(□)",fontSize:"9px",mathLabel:"\\sqrt{\\square} \\, \\frac{#0}{#?}",items:[{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"2",width:"18",height:"20",rx:"2"}),e.createElement("line",{x1:"6",y1:"32",x2:"50",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"18",y:"40",width:"18",height:"20",rx:"2"})),insert:"\\frac{#0}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M6 34 L14 34 L20 50 L30 10 L54 10",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"36",y:"18",width:"16",height:"20",rx:"2"})),insert:"\\sqrt{#0}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Square Root"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"5",y:"16",width:"18",height:"20",rx:"1"}),e.createElement("line",{x1:"26",y1:"50",x2:"40",y2:"18",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"38",y:"34",width:"18",height:"20",rx:"1"})),insert:"{\\large {}^{#?}/_{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Text Fraction"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M6 36 L14 36 L20 50 L30 10 L56 10",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"12",y:"16",width:"8",height:"12",rx:"2"}),e.createElement("rect",{x:"40",y:"22",width:"12",height:"22",rx:"2"})),insert:"\\sqrt[#?]{#0}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Nth Root Fraction"},{type:"sep",cols:1},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"10",y:"22",width:"12",height:"22",rx:"2"}),e.createElement("rect",{x:"28",y:"10",width:"12",height:"22",rx:"2",opacity:"0.45"})),insert:"#0^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Superscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"10",y:"10",width:"12",height:"22",rx:"2"}),e.createElement("rect",{x:"28",y:"28",width:"12",height:"22",rx:"2",opacity:"0.45"})),insert:"#0_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Subscript"},{type:"sep",cols:2},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 12 Q8 32 18 52",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M46 12 Q56 32 46 52",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left(#0\\right)",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Parentheses"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 12H12V52H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M46 12H52V52H46",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left[#0\\right]",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Square Brackets"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"16",y1:"12",x2:"16",y2:"52",stroke:"#222",strokeWidth:"4"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("line",{x1:"48",y1:"12",x2:"48",y2:"52",stroke:"#222",strokeWidth:"4"})),insert:"\\left|#0\\right|",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"vertical bars"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M20 12C16 12 16 18 18 22C19 24 19 26 16 29C19 32 19 34 18 36C16 40 16 46 20 52",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M44 12C48 12 48 18 46 22C45 24 45 26 48 29C45 32 45 34 46 36C48 40 48 46 44 52",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"})),insert:"\\left\\{#0\\right\\}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Curly Braces"},{type:"sep",cols:2,small:!0},{label:"+",insert:"+",title:"Plus"},{label:"/",insert:"/",title:"Divide"},{label:"×",insert:"\\times",title:"Multiply"},{label:"±",insert:"\\pm",title:"Plus-minus"},{label:"−",insert:"-",title:"Minus"},{label:"÷",insert:"\\div",title:"Divide sign"},{type:"sep",cols:2,small:!0},{label:"≥",insert:"\\geq",title:"Greater than or equal to"},{label:"≤",insert:"\\leq",title:"Less than or equal to"},{label:"∈",insert:"\\in",title:"Element of"},{label:"⊂",insert:"\\subset",title:"Subset"},{label:"∪",insert:"\\cup",title:"Union"},{label:"∩",insert:"\\cap",title:"Intersection"},{type:"sep",cols:1,small:!0},{label:"∅",insert:"\\emptyset",title:"Empty set"},{label:"∞",insert:"\\infty",title:"Infinity"},{label:"π",insert:"\\pi",title:"Pi"},{type:"sep",cols:2},{label:"↶",action:"UNDO",title:"Undo"},{label:"↷",action:"REDO",title:"Redo"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2"},e.createElement("circle",{cx:"6",cy:"6",r:"3"}),e.createElement("circle",{cx:"6",cy:"18",r:"3"}),e.createElement("line",{x1:"20",y1:"4",x2:"8.12",y2:"15.88"}),e.createElement("line",{x1:"14.47",y1:"14.48",x2:"20",y2:"20"}),e.createElement("line",{x1:"8.12",y1:"8.12",x2:"12",y2:"12"})),action:"CUT",title:"Cut"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2"},e.createElement("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),e.createElement("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})),action:"COPY",title:"Copy"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2"},e.createElement("path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"}),e.createElement("rect",{x:"8",y:"2",width:"8",height:"4",rx:"1",ry:"1"})),action:"PASTE",title:"Paste"},{type:"sep",cols:2},{label:e.createElement(ie.FontAwesomeIcon,{icon:ne.faBold}),action:"BOLD",cls:"template",title:"Bold"},{label:e.createElement(ie.FontAwesomeIcon,{icon:ne.faItalic}),action:"ITALIC",cls:"template",title:"Italic"},{label:e.createElement("img",{src:Le,alt:"Omega",width:"18",height:"18",style:{display:"block"}}),title:"Insert Special Character",action:"SPECIAL_CHARS"},{label:e.createElement("img",{src:Te,alt:"Palette",width:"18",height:"18",style:{display:"block"}}),action:"TEXT_COLOR",title:"Text Color"},{type:"sep",cols:1},{type:"dropdown",label:"Font..."},{type:"dropdown",label:"Size"}]},{label:"∈ ∞",items:[{type:"sep",cols:1,small:!0},{label:"⌿",insert:"\\cancel{#?}",isWidget:!0,title:"Cancel strike"},{type:"sep",cols:3,small:!0,moreItems:[{label:"∖",insert:"\\setminus",title:"Set minus"},{label:"\\",insert:"\\backslash",title:"Reverse solidus"},{label:"∓",insert:"\\mp",title:"Minus or plus"}]},{label:"+",insert:"+",title:"Plus"},{label:"×",insert:"\\times",title:"Multiply"},{label:"·",insert:"\\cdot",title:"Dot product"},{label:"−",insert:"-",title:"Minus"},{label:"÷",insert:"\\div",title:"Divide sign"},{label:"/",insert:"/",title:"Slash"},{label:"±",insert:"\\pm",title:"Plus-minus"},{label:"*",insert:"*",title:"Asterisk"},{label:"○",insert:"\\circ",title:"Circle"},{type:"sep",cols:3,small:!0,moreItems:[{label:"‴",insert:"\\prime\\prime\\prime",title:"Triple prime"},{label:"⁗",insert:"\\prime\\prime\\prime\\prime",title:"Quadruple prime"},{label:"‵",insert:"\\backprime",title:"Reversed prime"}]},{label:"π",insert:"\\pi",title:"Pi"},{label:"∂",insert:"∂",title:"Partial derivative"},{label:"°",insert:"^\\circ",title:"Degree"},{label:"∞",insert:"\\infty",title:"Infinity"},{label:"Δ",insert:"\\Delta",title:"Delta"},{label:"'",insert:"'",title:"Prime"},{label:"∅",insert:"\\emptyset",title:"Empty set"},{label:"∇",insert:"\\nabla",title:"Nabla / Gradient"},{label:"''",insert:"''",title:"Double prime"},{type:"sep",cols:2,moreCols:2,small:!0,moreItems:[{label:"≠",insert:"\\neq",title:"Not equal"},{label:"≉",insert:"\\napprox",title:"Not almost equal to"},{label:"≢",insert:"\\nequiv",title:"Not identical to"},{label:"≁",insert:"\\nsim",title:"Not similar"}]},{label:"=",insert:"=",title:"Equals"},{label:"≡",insert:"\\equiv",title:"Equivalent"},{label:"∼",insert:"\\sim",title:"Similar to"},{label:"≈",insert:"\\approx",title:"Approximately equal"},{label:"≃",insert:"\\simeq",title:"Asymptotically equal"},{label:"≅",insert:"\\cong",title:"Congruent"},{type:"sep",cols:2,small:!0,moreCols:3,moreItems:[{label:"≨",insert:"\\lneqq",title:"Less than but not equal to"},{label:"≫",insert:"\\gg",title:"Much greater than"},{label:"≻",insert:"\\succ",title:"Succeeds"},{label:"≩",insert:"\\gneqq",title:"Greater than but not equal to"},{label:"∝",insert:"\\propto",title:"Proportional to"},{label:"⊲",insert:"\\triangleleft",title:"Normal subgroup of"},{label:"≪",insert:"\\ll",title:"Much less than"},{label:"≺",insert:"\\prec",title:"Precedes"},{label:"⊳",insert:"\\triangleright",title:"Contains as normal subgroup"}]},{label:">",insert:">",title:"Greater than"},{label:"<",insert:"<",title:"Less than"},{label:"≥",insert:"\\geq",title:"Greater than or equal"},{label:"≤",insert:"\\leq",title:"Less than or equal"},{label:"⩾",insert:"\\geqslant",title:"Greater than or equal slant"},{label:"⩽",insert:"\\leqslant",title:"Less than or equal slant"},{type:"sep",cols:2,small:!0,moreCols:4,moreItems:[{label:"∉",insert:"\\notin",title:"Not an element of"},{label:"∌",insert:"\\notni",title:"Does not contain as member"},{label:"⊆",insert:"\\subseteq",title:"Subset of or equal to"},{label:"⊇",insert:"\\supseteq",title:"Superset of or equal to"},{label:"⊏",insert:"\\sqsubset",title:"Square image of"},{label:"⊐",insert:"\\sqsupset",title:"Square original of"},{label:"⊑",insert:"\\sqsubseteq",title:"Square image of or equal to"},{label:"⊒",insert:"\\sqsupseteq",title:"Square original of or equal to"},{label:"⊓",insert:"\\sqcap",title:"Square intersection"},{label:"⊔",insert:"\\sqcup",title:"Square union"}]},{label:"∈",insert:"\\in",title:"Element of"},{label:"∋",insert:"\\ni",title:"Contains as member"},{label:"∪",insert:"\\cup",title:"Union"},{label:"∩",insert:"\\cap",title:"Intersection"},{label:"⊂",insert:"\\subset",title:"Subset"},{label:"⊃",insert:"\\supset",title:"Superset"},{type:"sep",cols:2,small:!0,moreCols:1,moreItems:[{label:"∴",insert:"\\therefore",title:"Therefore"},{label:"∵",insert:"\\because",title:"Because"}]},{label:"∧",insert:"\\land",title:"Logical AND"},{label:"∨",insert:"\\lor",title:"Logical OR"},{label:"¬",insert:"\\neg",title:"Logical NOT"},{label:"∀",insert:"\\forall",title:"For all"},{label:"∃",insert:"\\exists",title:"Exists"},{label:"∄",insert:"\\nexists",title:"Does not exist"},{type:"sep",cols:1,small:!0,moreCols:2,moreItems:[{label:"∦",insert:"\\nparallel",title:"Not parallel to"},{label:"⋄",insert:"\\diamond",title:"Diamond"},{label:"∡",insert:"\\measuredangle",title:"Measured angle"},{label:"∢",insert:"\\sphericalangle",title:"Spherical angle"}]},{label:"∠",insert:"\\angle",title:"Angle"},{label:"∥",insert:"\\parallel",title:"Parallel"},{label:"⊥",insert:"\\perp",title:"Perpendicular"},{type:"sep",cols:1,small:!0,moreCols:1,moreItems:[{label:"▭",insert:"▭",title:"Rectangle"},{label:"▱",insert:"▱",title:"Parallelogram"}]},{label:"□",insert:"\\square",title:"Square"},{label:"△",insert:"\\triangle",title:"Triangle"},{label:"○",insert:"\\circ",title:"Circle"},{type:"sep",cols:1,small:!0,moreCols:2,moreItems:[{label:"⊝",insert:"⊝",title:"Circled dash"},{label:"•",insert:"\\bullet",title:"Bullet"},{label:"⊛",insert:"⊛",title:"Circled asterisk"},{label:"⨸",insert:"⨸",title:"Circled division"}]},{label:"⊕",insert:"\\oplus",title:"Direct sum / Circled plus"},{label:"⊗",insert:"\\otimes",title:"Tensor product / Circled times"},{label:"⊙",insert:"\\odot",title:"Circled dot operator"}]},{label:"→ ⋰",isTemplate:!0,items:[{type:"sep",cols:3,small:!0,cls:"cme-trig-subgroup",moreCols:11,moreItems:[{label:"↗",insert:"\\nearrow",title:"North east arrow"},{label:"↘",insert:"\\searrow",title:"South east arrow"},{label:"↖",insert:"\\nwarrow",title:"North west arrow"},{label:"↙",insert:"\\swarrow",title:"South west arrow"},{label:"⤡",insert:"\\nwsearrow",title:"North west and south east arrow"},{label:"⤢",insert:"\\neswarrow",title:"North east and south west arrow"},{label:"↩",insert:"\\hookleftarrow",title:"Leftwards arrow with hook"},{label:"↪",insert:"\\hookrightarrow",title:"Rightwards arrow with hook"},{label:"↼",insert:"\\leftharpoonup",title:"Leftwards harpoon with barb upwards"},{label:"⇀",insert:"\\rightharpoonup",title:"Rightwards harpoon with barb upwards"},{label:"↑",insert:"\\uparrow",title:"Upwards arrow"},{label:"↓",insert:"\\downarrow",title:"Downwards arrow"},{label:"⇑",insert:"\\Uparrow",title:"Upwards double arrow"},{label:"⇓",insert:"\\Downarrow",title:"Downwards double arrow"},{label:"⥪",insert:"⥪",title:"Leftwards harpoon over dash"},{label:"⥭",insert:"⥭",title:"Dash over rightwards harpoon"},{label:"⇋",insert:"\\leftrightharpoons",title:"Leftwards harpoon over rightwards harpoon"},{label:"⇌",insert:"\\rightleftharpoons",title:"Rightwards harpoon over leftwards harpoon"},{label:"↽",insert:"\\leftharpoondown",title:"Leftwards harpoon with barb downwards"},{label:"⇁",insert:"\\rightharpoondown",title:"Rightwards harpoon with barb downwards"},{label:"⇆",insert:"\\leftrightarrows",title:"Leftwards arrow over rightwards arrow"},{label:"⇄",insert:"\\rightleftarrows",title:"Rightwards arrow over leftwards arrow"},{label:"⇅",insert:"\\updownarrows",title:"Upwards arrow leftwards of downwards arrow"},{label:"⇵",insert:"\\downuparrows",title:"Downwards arrow leftwards of upwards arrow"},{label:"⥮",insert:"\\upharpoonleftdownharpoonright",title:"Up harpoon left down harpoon right"},{label:"⥯",insert:"\\downharpoonleftupharpoonright",title:"Down harpoon left up harpoon right"},{label:"⥂",insert:"⥂",title:"Rightwards arrow over short leftwards arrow"},{label:"⥄",insert:"⥄",title:"Short rightwards arrow over leftwards arrow"},{label:"↕",insert:"\\updownarrow",title:"Up-down arrow"},{label:"⇕",insert:"\\Updownarrow",title:"Up-down double arrow"},{label:"↵",insert:"\\hookleftarrow",title:"Downwards arrow with corner leftwards"}]},{label:"←",insert:"\\leftarrow",title:"Left arrow"},{label:"→",insert:"\\rightarrow",title:"Right arrow"},{label:"↔",insert:"\\leftrightarrow",title:"Left-right arrow"},{label:"⇐",insert:"\\Leftarrow",title:"Left double arrow"},{label:"⇒",insert:"\\Rightarrow",title:"Right double arrow"},{label:"⇔",insert:"\\Leftrightarrow",title:"Left-right double arrow"},{label:"↤",insert:"\\mapsfrom",title:"Leftwards arrow from bar"},{label:"↦",insert:"\\mapsto",title:"Rightwards arrow from bar"},{type:"sep",cols:2,small:!0,cls:"cme-trig-subgroup"},{label:"⋮",insert:"\\vdots",title:"Vertical ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋰",insert:"⋰",title:"Upright diagonal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"…",insert:"\\ldots",title:"Horizontal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋱",insert:"\\ddots",title:"Down-right diagonal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋯",insert:"\\cdots",title:"Middle line horizontal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{type:"sep",cols:1,small:!0,cls:"cme-trig-subgroup"},{label:"-",insert:"-",title:"Short dash (hyphen)"},{label:"–",insert:"–",title:"En dash"},{label:"—",insert:"—",title:"Em dash"},{type:"sep",cols:3,small:!0,cls:"cme-matrix-subgroup",moreCols:11,moreItems:[{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"38",x2:"52",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M18 30L6 38L18 46V40H26V36H18V30Z",fill:"#222",stroke:"none"}),e.createElement("path",{d:"M46 30L58 38L46 46V40H38V36H46V30Z",fill:"#222",stroke:"none"})),insert:"\\xleftrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrow with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"24",x2:"52",y2:"24",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M18 16L6 24L18 32V26H26V22H18V16Z",fill:"#222",stroke:"none"}),e.createElement("path",{d:"M46 16L58 24L46 32V26H38V22H46V16Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"38",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrow[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrow with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"32",x2:"52",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M18 24L6 32L18 40V34H26V30H18V24Z",fill:"#222",stroke:"none"}),e.createElement("path",{d:"M46 24L58 32L46 40V34H38V30H46V24Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"44",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrow[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrow with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"28",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"18",y1:"30",x2:"52",y2:"30",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 22L12 30L24 38V32H34V28H24V22Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"12",y1:"44",x2:"46",y2:"44",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 36L52 44L40 52V46H30V42H40V36Z",fill:"#222",stroke:"none"})),insert:"\\class{cme-flip-v}{\\xtofrom[\\class{cme-flip-v}{#?}]{}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrows with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"18",y1:"20",x2:"52",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 12L12 20L24 28V22H34V18H24V12Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"12",y1:"34",x2:"46",y2:"34",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 26L52 34L40 42V36H30V32H40V26Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\class{cme-flip-v}{\\xtofrom{\\class{cme-flip-v}{#?}}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrows with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"28",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"18",y1:"26",x2:"52",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 18L12 26L24 34V28H34V24H24V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"12",y1:"40",x2:"46",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 32L52 40L40 48V42H30V38H40V32Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\class{cme-flip-v}{\\xtofrom[\\class{cme-flip-v}{#?}]{\\class{cme-flip-v}{#?}}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrows with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"40",x2:"52",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 32L12 40L24 48V42H34V38H24V32Z",fill:"#222",stroke:"none"})),insert:"\\xleftrightarrows{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium Arrow with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"20",x2:"46",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 12L52 20L40 28V22H30V18H40V12Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"34",x2:"52",y2:"34",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 26L12 34L24 42V36H34V32H24V26Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrows[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium Arrow with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"40",x2:"52",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 32L12 40L24 48V42H34V38H24V32Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"28",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrows[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium Arrow with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"28",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"27",x2:"56",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 19L12 27L22 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"8",y1:"37",x2:"52",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 45L52 37L42 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),insert:"\\xleftrightharpoons{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Harpoons with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"27",x2:"56",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 19L12 27L22 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"8",y1:"37",x2:"52",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 45L52 37L42 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightharpoons[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Harpoons with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"27",x2:"56",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 19L12 27L22 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"8",y1:"37",x2:"52",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 45L52 37L42 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightharpoons[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Harpoons with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"8",y1:"27",x2:"52",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 19L52 27L42 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"12",y1:"37",x2:"56",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 45L12 37L22 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),insert:"\\xrightleftharpoons{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Harpoons with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"8",y1:"27",x2:"52",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 19L52 27L42 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"12",y1:"37",x2:"56",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 45L12 37L22 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xrightleftharpoons[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Harpoons with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"8",y1:"27",x2:"52",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 19L52 27L42 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"12",y1:"37",x2:"56",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 45L12 37L22 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"28",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xrightleftharpoons[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Harpoons with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"42",x2:"34",y2:"42",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 34L12 42L24 50V44H30V40H24V34Z",fill:"#222",stroke:"none"})),insert:"\\overset{#?}{\\underset{\\leftarrow}{\\rightarrow}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"42",x2:"34",y2:"42",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 34L12 42L24 50V44H30V40H24V34Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\underset{#?}{\\underset{\\leftarrow}{\\rightarrow}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"42",x2:"34",y2:"42",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 34L12 42L24 50V44H30V40H24V34Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\overset{#?}{\\underset{#?}{\\underset{\\leftarrow}{\\rightarrow}}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"24",y1:"28",x2:"42",y2:"28",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 20L48 28L36 36V30H30V26H36V20Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"44",x2:"42",y2:"44",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 36L12 44L24 52V46H30V42H24V36Z",fill:"#222",stroke:"none"})),insert:"\\overset{#?}{\\overset{\\rightarrow}{\\leftarrow}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"24",y1:"28",x2:"42",y2:"28",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 20L48 28L36 36V30H30V26H36V20Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"44",x2:"42",y2:"44",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 36L12 44L24 52V46H30V42H24V36Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\underset{#?}{\\overset{\\rightarrow}{\\leftarrow}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"24",y1:"28",x2:"42",y2:"28",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 20L48 28L36 36V30H30V26H36V20Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"44",x2:"42",y2:"44",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 36L12 44L24 52V46H30V42H24V36Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\overset{#?}{\\underset{#?}{\\overset{\\rightarrow}{\\leftarrow}}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Above and Below Labels"}]},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"38",x2:"42",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 30L48 38L36 46V40H28V36H36V30Z",fill:"#222",stroke:"none"})),insert:"\\xrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Arrow with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"20",x2:"42",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 12L48 20L36 28V22H28V18H36V12Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"34",width:"10",height:"16",rx:"2"})),insert:"\\xrightarrow[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Arrow with underscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"32",x2:"42",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 24L48 32L36 40V34H28V30H36V24Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"44",width:"10",height:"16",rx:"2"})),insert:"\\xrightarrow[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Arrow with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#222"}},e.createElement("line",{x1:"18",y1:"32",x2:"52",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 24L12 32L24 40V34H34V30H24V24Z",fill:"#222",stroke:"none"})),insert:"\\leftarrow",cls:"symbol",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Arrow"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"18",y1:"38",x2:"52",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 30L12 38L24 46V40H34V36H24V30Z",fill:"#222",stroke:"none"})),insert:"\\xleftarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Arrow with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"18",y1:"32",x2:"52",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 24L12 32L24 40V34H34V30H24V24Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"44",width:"10",height:"16",rx:"2"})),insert:"\\xleftarrow[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Arrow with Above and Below Labels"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"24",y1:"14",x2:"42",y2:"14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 6L48 14L36 14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"24",y:"24",width:"18",height:"20",rx:"2"})),insert:"\\overrightharpoon{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Top Right Harpoon"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"16",y1:"14",x2:"48",y2:"14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 6L10 14L22 22V16H28V12H22V6Z",fill:"#222",stroke:"none"}),e.createElement("path",{d:"M42 6L54 14L42 22V16H34V12H42V6Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"24",width:"18",height:"20",rx:"2"})),insert:"\\overleftrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Top Left Right Arrow"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"20",y1:"14",x2:"42",y2:"14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 6L48 14L36 22V16H30V12H36V6Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"24",width:"18",height:"20",rx:"2"})),insert:"\\overrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Top Right Arrow"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"20",y1:"14",x2:"44",y2:"14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"24",y:"24",width:"18",height:"20",rx:"2"})),insert:"\\overline{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Overline"}]},{label:"α Ω",isTemplate:!0,items:[{type:"sep",cols:10,small:!0,cls:"cme-dark-large",moreCols:8,moreItems:[{label:"Α",insert:"A",title:"Capital Alpha"},{label:"Β",insert:"B",title:"Capital Beta"},{label:"Γ",insert:"\\Gamma",title:"Capital Gamma"},{label:"Δ",insert:"\\Delta",title:"Capital Delta"},{label:"Ε",insert:"E",title:"Capital Epsilon"},{label:"Ζ",insert:"Z",title:"Capital Zeta"},{label:"Η",insert:"H",title:"Capital Eta"},{label:"Θ",insert:"\\Theta",title:"Capital Theta"},{label:"Ι",insert:"I",title:"Capital Iota"},{label:"Κ",insert:"K",title:"Capital Kappa"},{label:"Λ",insert:"\\Lambda",title:"Capital Lambda"},{label:"Μ",insert:"M",title:"Capital Mu"},{label:"Ν",insert:"N",title:"Capital Nu"},{label:"Ξ",insert:"\\Xi",title:"Capital Xi"},{label:"Ο",insert:"O",title:"Capital Omicron"},{label:"Π",insert:"\\Pi",title:"Capital Pi"},{label:"Ρ",insert:"P",title:"Capital Rho"},{label:"Σ",insert:"\\Sigma",title:"Capital Sigma"},{label:"Τ",insert:"T",title:"Capital Tau"},{label:"Υ",insert:"\\Upsilon",title:"Capital Upsilon"},{label:"Φ",insert:"\\Phi",title:"Capital Phi"},{label:"Χ",insert:"X",title:"Capital Chi"},{label:"Ψ",insert:"\\Psi",title:"Capital Psi"},{label:"Ω",insert:"\\Omega",title:"Capital Omega"}]},{label:"α",insert:"\\alpha",title:"Alpha"},{label:"β",insert:"\\beta",title:"Beta"},{label:"γ",insert:"\\gamma",title:"Gamma"},{label:"δ",insert:"\\delta",title:"Delta"},{label:"ε",insert:"\\epsilon",title:"Epsilon"},{label:"ζ",insert:"\\zeta",title:"Zeta"},{label:"η",insert:"\\eta",title:"Eta"},{label:"θ",insert:"\\theta",title:"Theta"},{label:"ϑ",insert:"\\vartheta",title:"Vartheta"},{label:"ι",insert:"\\iota",title:"Iota"},{label:"κ",insert:"\\kappa",title:"Kappa"},{label:"λ",insert:"\\lambda",title:"Lambda"},{label:"μ",insert:"\\mu",title:"Mu"},{label:"ν",insert:"\\nu",title:"Nu"},{label:"ξ",insert:"\\xi",title:"Xi"},{label:"ο",insert:"o",title:"Omicron"},{label:"π",insert:"\\pi",title:"Pi"},{label:"ϖ",insert:"\\varpi",title:"Varpi"},{label:"ρ",insert:"\\rho",title:"Rho"},{label:"ϱ",insert:"\\varrho",title:"Varrho"},{label:"ς",insert:"\\varsigma",title:"Varsigma"},{label:"σ",insert:"\\sigma",title:"Sigma"},{label:"τ",insert:"\\tau",title:"Tau"},{label:"υ",insert:"\\upsilon",title:"Upsilon"},{label:"φ",insert:"\\phi",title:"Phi"},{label:"χ",insert:"\\chi",title:"Chi"},{label:"ψ",insert:"\\psi",title:"Psi"},{label:"ω",insert:"\\omega",title:"Omega"},{type:"sep",cols:2,small:!0,cls:"cme-dark-large",moreCols:18,moreItems:[{label:"𝔸",insert:"\\mathbb{A}",title:"Mathbb A"},{label:"𝔻",insert:"\\mathbb{D}",title:"Mathbb D"},{label:"𝔾",insert:"\\mathbb{G}",title:"Mathbb G"},{label:"𝕁",insert:"\\mathbb{J}",title:"Mathbb J"},{label:"𝕄",insert:"\\mathbb{M}",title:"Mathbb M"},{label:"ℙ",insert:"\\mathbb{P}",title:"Mathbb P"},{label:"𝕊",insert:"\\mathbb{S}",title:"Mathbb S"},{label:"𝕍",insert:"\\mathbb{V}",title:"Mathbb V"},{label:"𝕐",insert:"\\mathbb{Y}",title:"Mathbb Y"},{label:"𝕒",insert:"𝕒",title:"Mathbb a"},{label:"𝕕",insert:"𝕕",title:"Mathbb d"},{label:"𝕘",insert:"𝕘",title:"Mathbb g"},{label:"𝕛",insert:"𝕛",title:"Mathbb j"},{label:"𝕞",insert:"𝕞",title:"Mathbb m"},{label:"𝕡",insert:"𝕡",title:"Mathbb p"},{label:"𝕤",insert:"𝕤",title:"Mathbb s"},{label:"𝕧",insert:"𝕧",title:"Mathbb v"},{label:"𝕪",insert:"𝕪",title:"Mathbb y"},{label:"𝔹",insert:"\\mathbb{B}",title:"Mathbb B"},{label:"𝔼",insert:"\\mathbb{E}",title:"Mathbb E"},{label:"ℍ",insert:"\\mathbb{H}",title:"Mathbb H"},{label:"𝕂",insert:"\\mathbb{K}",title:"Mathbb K"},{label:"ℕ",insert:"\\mathbb{N}",title:"Mathbb N"},{label:"ℚ",insert:"\\mathbb{Q}",title:"Mathbb Q"},{label:"𝕋",insert:"\\mathbb{T}",title:"Mathbb T"},{label:"𝕎",insert:"\\mathbb{W}",title:"Mathbb W"},{label:"ℤ",insert:"\\mathbb{Z}",title:"Mathbb Z"},{label:"𝕓",insert:"𝕓",title:"Mathbb b"},{label:"𝕖",insert:"𝕖",title:"Mathbb e"},{label:"𝕙",insert:"𝕙",title:"Mathbb h"},{label:"𝕜",insert:"𝕜",title:"Mathbb k"},{label:"𝕟",insert:"𝕟",title:"Mathbb n"},{label:"𝕢",insert:"𝕢",title:"Mathbb q"},{label:"𝕥",insert:"𝕥",title:"Mathbb t"},{label:"𝕨",insert:"𝕨",title:"Mathbb w"},{label:"𝕫",insert:"𝕫",title:"Mathbb z"},{label:"ℂ",insert:"\\mathbb{C}",title:"Mathbb C"},{label:"𝔽",insert:"\\mathbb{F}",title:"Mathbb F"},{label:"𝕀",insert:"\\mathbb{I}",title:"Mathbb I"},{label:"𝕃",insert:"\\mathbb{L}",title:"Mathbb L"},{label:"𝕆",insert:"\\mathbb{O}",title:"Mathbb O"},{label:"ℝ",insert:"\\mathbb{R}",title:"Mathbb R"},{label:"𝕌",insert:"\\mathbb{U}",title:"Mathbb U"},{label:"𝕏",insert:"\\mathbb{X}",title:"Mathbb X"},{label:" ",insert:"",cls:"cme-empty-btn",title:""},{label:"𝕔",insert:"𝕔",title:"Mathbb c"},{label:"𝕗",insert:"𝕗",title:"Mathbb f"},{label:"𝕚",insert:"𝕚",title:"Mathbb i"},{label:"𝕝",insert:"𝕝",title:"Mathbb l"},{label:"𝕠",insert:"𝕠",title:"Mathbb o"},{label:"𝕣",insert:"𝕣",title:"Mathbb r"},{label:"𝕦",insert:"𝕦",title:"Mathbb u"},{label:"𝕩",insert:"𝕩",title:"Mathbb x"},{label:" ",insert:"",cls:"cme-empty-btn",title:""}]},{label:"ℕ",insert:"ℕ",title:"Mathbb N"},{label:"ℤ",insert:"ℤ",title:"Mathbb Z"},{label:"ℚ",insert:"ℚ",title:"Mathbb Q"},{label:"ℂ",insert:"ℂ",title:"Mathbb C"},{label:"ℝ",insert:"ℝ",title:"Mathbb R"},{label:"ℙ",insert:"ℙ",title:"Mathbb P"},{type:"sep",cols:1,small:!0,cls:"cme-dark-large",moreCols:18,moreItems:[{label:"𝔄",insert:"\\mathfrak{A}",title:"Mathfrak A"},{label:"𝔇",insert:"\\mathfrak{D}",title:"Mathfrak D"},{label:"𝔊",insert:"\\mathfrak{G}",title:"Mathfrak G"},{label:"𝔍",insert:"\\mathfrak{J}",title:"Mathfrak J"},{label:"𝔐",insert:"\\mathfrak{M}",title:"Mathfrak M"},{label:"𝔓",insert:"\\mathfrak{P}",title:"Mathfrak P"},{label:"𝔖",insert:"\\mathfrak{S}",title:"Mathfrak S"},{label:"𝔙",insert:"\\mathfrak{V}",title:"Mathfrak V"},{label:"𝔜",insert:"\\mathfrak{Y}",title:"Mathfrak Y"},{label:"𝔞",insert:"\\mathfrak{a}",title:"Mathfrak a"},{label:"𝔡",insert:"\\mathfrak{d}",title:"Mathfrak d"},{label:"𝔤",insert:"\\mathfrak{g}",title:"Mathfrak g"},{label:"𝔧",insert:"\\mathfrak{j}",title:"Mathfrak j"},{label:"𝔪",insert:"\\mathfrak{m}",title:"Mathfrak m"},{label:"𝔭",insert:"\\mathfrak{p}",title:"Mathfrak p"},{label:"𝔰",insert:"\\mathfrak{s}",title:"Mathfrak s"},{label:"𝔳",insert:"\\mathfrak{v}",title:"Mathfrak v"},{label:"𝔶",insert:"\\mathfrak{y}",title:"Mathfrak y"},{label:"𝔅",insert:"\\mathfrak{B}",title:"Mathfrak B"},{label:"𝔈",insert:"\\mathfrak{E}",title:"Mathfrak E"},{label:"ℌ",insert:"\\mathfrak{H}",title:"Mathfrak H"},{label:"𝔎",insert:"\\mathfrak{K}",title:"Mathfrak K"},{label:"𝔑",insert:"\\mathfrak{N}",title:"Mathfrak N"},{label:"𝔔",insert:"\\mathfrak{Q}",title:"Mathfrak Q"},{label:"𝔗",insert:"\\mathfrak{T}",title:"Mathfrak T"},{label:"𝔚",insert:"\\mathfrak{W}",title:"Mathfrak W"},{label:"ℨ",insert:"\\mathfrak{Z}",title:"Mathfrak Z"},{label:"𝔟",insert:"\\mathfrak{b}",title:"Mathfrak b"},{label:"𝔢",insert:"\\mathfrak{e}",title:"Mathfrak e"},{label:"𝔥",insert:"\\mathfrak{h}",title:"Mathfrak h"},{label:"𝔨",insert:"\\mathfrak{k}",title:"Mathfrak k"},{label:"𝔫",insert:"\\mathfrak{n}",title:"Mathfrak n"},{label:"𝔮",insert:"\\mathfrak{q}",title:"Mathfrak q"},{label:"𝔱",insert:"\\mathfrak{t}",title:"Mathfrak t"},{label:"𝔴",insert:"\\mathfrak{w}",title:"Mathfrak w"},{label:"𝔷",insert:"\\mathfrak{z}",title:"Mathfrak z"},{label:"ℭ",insert:"\\mathfrak{C}",title:"Mathfrak C"},{label:"𝔉",insert:"\\mathfrak{F}",title:"Mathfrak F"},{label:"ℑ",insert:"\\mathfrak{I}",title:"Mathfrak I"},{label:"𝔏",insert:"\\mathfrak{L}",title:"Mathfrak L"},{label:"𝔒",insert:"\\mathfrak{O}",title:"Mathfrak O"},{label:"ℜ",insert:"\\mathfrak{R}",title:"Mathfrak R"},{label:"𝔘",insert:"\\mathfrak{U}",title:"Mathfrak U"},{label:"𝔛",insert:"\\mathfrak{X}",title:"Mathfrak X"},{label:" ",insert:"",cls:"cme-empty-btn",title:""},{label:"𝔠",insert:"\\mathfrak{c}",title:"Mathfrak c"},{label:"𝔣",insert:"\\mathfrak{f}",title:"Mathfrak f"},{label:"𝔦",insert:"\\mathfrak{i}",title:"Mathfrak i"},{label:"𝔩",insert:"\\mathfrak{l}",title:"Mathfrak l"},{label:"𝔬",insert:"\\mathfrak{o}",title:"Mathfrak o"},{label:"𝔯",insert:"\\mathfrak{r}",title:"Mathfrak r"},{label:"𝔲",insert:"\\mathfrak{u}",title:"Mathfrak u"},{label:"𝔵",insert:"\\mathfrak{x}",title:"Mathfrak x"},{label:" ",insert:"",cls:"cme-empty-btn",title:""}]},{label:"𝔄",insert:"\\mathfrak{A}",title:"Mathfrak A"},{label:"𝔅",insert:"\\mathfrak{B}",title:"Mathfrak B"},{label:"ℭ",insert:"\\mathfrak{C}",title:"Mathfrak C"},{type:"sep",cols:1,small:!0,cls:"cme-dark-large",moreCols:18,moreItems:[{label:"𝒜",insert:"\\mathcal{A}",title:"Mathcal A"},{label:"𝒟",insert:"\\mathcal{D}",title:"Mathcal D"},{label:"𝒢",insert:"\\mathcal{G}",title:"Mathcal G"},{label:"𝒥",insert:"\\mathcal{J}",title:"Mathcal J"},{label:"ℳ",insert:"\\mathcal{M}",title:"Mathcal M"},{label:"𝒫",insert:"\\mathcal{P}",title:"Mathcal P"},{label:"𝒮",insert:"\\mathcal{S}",title:"Mathcal S"},{label:"𝒱",insert:"\\mathcal{V}",title:"Mathcal V"},{label:"𝒴",insert:"\\mathcal{Y}",title:"Mathcal Y"},{label:"𝒶",insert:"𝒶",title:"Mathcal a"},{label:"𝒹",insert:"𝒹",title:"Mathcal d"},{label:"ℊ",insert:"ℊ",title:"Mathcal g"},{label:"𝒿",insert:"𝒿",title:"Mathcal j"},{label:"𝓂",insert:"𝓂",title:"Mathcal m"},{label:"𝓅",insert:"𝓅",title:"Mathcal p"},{label:"𝓈",insert:"𝓈",title:"Mathcal s"},{label:"𝓋",insert:"𝓋",title:"Mathcal v"},{label:"𝓎",insert:"𝓎",title:"Mathcal y"},{label:"ℬ",insert:"\\mathcal{B}",title:"Mathcal B"},{label:"ℰ",insert:"\\mathcal{E}",title:"Mathcal E"},{label:"ℋ",insert:"\\mathcal{H}",title:"Mathcal H"},{label:"𝒦",insert:"\\mathcal{K}",title:"Mathcal K"},{label:"𝒩",insert:"\\mathcal{N}",title:"Mathcal N"},{label:"𝒬",insert:"\\mathcal{Q}",title:"Mathcal Q"},{label:"𝒯",insert:"\\mathcal{T}",title:"Mathcal T"},{label:"𝒲",insert:"\\mathcal{W}",title:"Mathcal W"},{label:"𝒵",insert:"\\mathcal{Z}",title:"Mathcal Z"},{label:"𝒷",insert:"𝒷",title:"Mathcal b"},{label:"ℯ",insert:"ℯ",title:"Mathcal e"},{label:"𝒽",insert:"𝒽",title:"Mathcal h"},{label:"𝓀",insert:"𝓀",title:"Mathcal k"},{label:"𝓃",insert:"𝓃",title:"Mathcal n"},{label:"𝓆",insert:"𝓆",title:"Mathcal q"},{label:"𝓉",insert:"𝓉",title:"Mathcal t"},{label:"𝓌",insert:"𝓌",title:"Mathcal w"},{label:"𝓏",insert:"𝓏",title:"Mathcal z"},{label:"𝒞",insert:"\\mathcal{C}",title:"Mathcal C"},{label:"ℱ",insert:"\\mathcal{F}",title:"Mathcal F"},{label:"ℐ",insert:"\\mathcal{I}",title:"Mathcal I"},{label:"ℒ",insert:"\\mathcal{L}",title:"Mathcal L"},{label:"𝒪",insert:"\\mathcal{O}",title:"Mathcal O"},{label:"ℛ",insert:"\\mathcal{R}",title:"Mathcal R"},{label:"𝒰",insert:"\\mathcal{U}",title:"Mathcal U"},{label:"𝒳",insert:"\\mathcal{X}",title:"Mathcal X"},{label:" ",insert:"",cls:"cme-empty-btn",title:""},{label:"𝒸",insert:"𝒸",title:"Mathcal c"},{label:"𝒻",insert:"𝒻",title:"Mathcal f"},{label:"𝒾",insert:"𝒾",title:"Mathcal i"},{label:"𝓁",insert:"𝓁",title:"Mathcal l"},{label:"ℴ",insert:"ℴ",title:"Mathcal o"},{label:"𝓇",insert:"𝓇",title:"Mathcal r"},{label:"𝓊",insert:"𝓊",title:"Mathcal u"},{label:"𝓍",insert:"𝓍",title:"Mathcal x"},{label:" ",insert:"",cls:"cme-empty-btn",title:""}]},{label:"𝒜",insert:"\\mathcal{A}",title:"Mathcal A"},{label:"ℬ",insert:"\\mathcal{B}",title:"Mathcal B"},{label:"𝒞",insert:"\\mathcal{C}",title:"Mathcal C"},{type:"sep",cols:1,small:!0,cls:"cme-dark-large",moreCols:2,moreItems:[{label:"ℵ",insert:"\\aleph",title:"Aleph"},{label:"ℐ",insert:"\\mathcal{I}",title:"Mathcal I"},{label:"℘",insert:"\\wp",title:"Wp"},{label:"ℨ",insert:"\\mathfrak{Z}",title:"Mathfrak Z"},{label:"ℱ",insert:"\\mathcal{F}",title:"Mathcal F"}]},{label:"ℑ",insert:"\\Im",title:"Im"},{label:"ℜ",insert:"\\Re",title:"Re"},{label:"ℓ",insert:"\\ell",title:"Ell"},{type:"sep",cols:2,small:!0,cls:"cme-trig-subgroup",moreCols:18,moreItems:[{label:"H",insert:"\\mathrm{H}",title:"Mathrm H",cls:"pt-unknown"},...Array.from({length:16},()=>({label:"",cls:"pt-empty"})),{label:"He",insert:"\\mathrm{He}",title:"Mathrm He",cls:"pt-noble"},{label:"Li",insert:"\\mathrm{Li}",title:"Mathrm Li",cls:"pt-alkali"},{label:"Be",insert:"\\mathrm{Be}",title:"Mathrm Be",cls:"pt-alkaline"},...Array.from({length:10},()=>({label:"",cls:"pt-empty"})),{label:"B",insert:"\\mathrm{B}",title:"Mathrm B",cls:"pt-nonmetal"},{label:"C",insert:"\\mathrm{C}",title:"Mathrm C",cls:"pt-nonmetal"},{label:"N",insert:"\\mathrm{N}",title:"Mathrm N",cls:"pt-nonmetal"},{label:"O",insert:"\\mathrm{O}",title:"Mathrm O",cls:"pt-nonmetal"},{label:"F",insert:"\\mathrm{F}",title:"Mathrm F",cls:"pt-nonmetal"},{label:"Ne",insert:"\\mathrm{Ne}",title:"Mathrm Ne",cls:"pt-noble"},{label:"Na",insert:"\\mathrm{Na}",title:"Mathrm Na",cls:"pt-alkali"},{label:"Mg",insert:"\\mathrm{Mg}",title:"Mathrm Mg",cls:"pt-alkaline"},...Array.from({length:10},()=>({label:"",cls:"pt-empty"})),{label:"Al",insert:"\\mathrm{Al}",title:"Mathrm Al",cls:"pt-metalloid"},{label:"Si",insert:"\\mathrm{Si}",title:"Mathrm Si",cls:"pt-metalloid"},{label:"P",insert:"\\mathrm{P}",title:"Mathrm P",cls:"pt-nonmetal"},{label:"S",insert:"\\mathrm{S}",title:"Mathrm S",cls:"pt-nonmetal"},{label:"Cl",insert:"\\mathrm{Cl}",title:"Mathrm Cl",cls:"pt-nonmetal"},{label:"Ar",insert:"\\mathrm{Ar}",title:"Mathrm Ar",cls:"pt-noble"},{label:"K",insert:"\\mathrm{K}",title:"Mathrm K",cls:"pt-alkali"},{label:"Ca",insert:"\\mathrm{Ca}",title:"Mathrm Ca",cls:"pt-alkaline"},{label:"Sc",insert:"\\mathrm{Sc}",title:"Mathrm Sc",cls:"pt-transition"},{label:"Ti",insert:"\\mathrm{Ti}",title:"Mathrm Ti",cls:"pt-transition"},{label:"V",insert:"\\mathrm{V}",title:"Mathrm V",cls:"pt-transition"},{label:"Cr",insert:"\\mathrm{Cr}",title:"Mathrm Cr",cls:"pt-transition"},{label:"Mn",insert:"\\mathrm{Mn}",title:"Mathrm Mn",cls:"pt-transition"},{label:"Fe",insert:"\\mathrm{Fe}",title:"Mathrm Fe",cls:"pt-transition"},{label:"Co",insert:"\\mathrm{Co}",title:"Mathrm Co",cls:"pt-transition"},{label:"Ni",insert:"\\mathrm{Ni}",title:"Mathrm Ni",cls:"pt-transition"},{label:"Cu",insert:"\\mathrm{Cu}",title:"Mathrm Cu",cls:"pt-transition"},{label:"Zn",insert:"\\mathrm{Zn}",title:"Mathrm Zn",cls:"pt-transition"},{label:"Ga",insert:"\\mathrm{Ga}",title:"Mathrm Ga",cls:"pt-metalloid"},{label:"Ge",insert:"\\mathrm{Ge}",title:"Mathrm Ge",cls:"pt-metalloid"},{label:"As",insert:"\\mathrm{As}",title:"Mathrm As",cls:"pt-nonmetal"},{label:"Se",insert:"\\mathrm{Se}",title:"Mathrm Se",cls:"pt-nonmetal"},{label:"Br",insert:"\\mathrm{Br}",title:"Mathrm Br",cls:"pt-nonmetal"},{label:"Kr",insert:"\\mathrm{Kr}",title:"Mathrm Kr",cls:"pt-noble"},{label:"Rb",insert:"\\mathrm{Rb}",title:"Mathrm Rb",cls:"pt-alkali"},{label:"Sr",insert:"\\mathrm{Sr}",title:"Mathrm Sr",cls:"pt-alkaline"},{label:"Y",insert:"\\mathrm{Y}",title:"Mathrm Y",cls:"pt-transition"},{label:"Zr",insert:"\\mathrm{Zr}",title:"Mathrm Zr",cls:"pt-transition"},{label:"Nb",insert:"\\mathrm{Nb}",title:"Mathrm Nb",cls:"pt-transition"},{label:"Mo",insert:"\\mathrm{Mo}",title:"Mathrm Mo",cls:"pt-transition"},{label:"Tc",insert:"\\mathrm{Tc}",title:"Mathrm Tc",cls:"pt-transition"},{label:"Ru",insert:"\\mathrm{Ru}",title:"Mathrm Ru",cls:"pt-transition"},{label:"Rh",insert:"\\mathrm{Rh}",title:"Mathrm Rh",cls:"pt-transition"},{label:"Pd",insert:"\\mathrm{Pd}",title:"Mathrm Pd",cls:"pt-transition"},{label:"Ag",insert:"\\mathrm{Ag}",title:"Mathrm Ag",cls:"pt-transition"},{label:"Cd",insert:"\\mathrm{Cd}",title:"Mathrm Cd",cls:"pt-transition"},{label:"In",insert:"\\mathrm{In}",title:"Mathrm In",cls:"pt-metalloid"},{label:"Sn",insert:"\\mathrm{Sn}",title:"Mathrm Sn",cls:"pt-metalloid"},{label:"Sb",insert:"\\mathrm{Sb}",title:"Mathrm Sb",cls:"pt-metalloid"},{label:"Te",insert:"\\mathrm{Te}",title:"Mathrm Te",cls:"pt-nonmetal"},{label:"I",insert:"\\mathrm{I}",title:"Mathrm I",cls:"pt-nonmetal"},{label:"Xe",insert:"\\mathrm{Xe}",title:"Mathrm Xe",cls:"pt-noble"},{label:"Cs",insert:"\\mathrm{Cs}",title:"Mathrm Cs",cls:"pt-alkali"},{label:"Ba",insert:"\\mathrm{Ba}",title:"Mathrm Ba",cls:"pt-alkaline"},{label:"",insert:"",cls:"pt-transition"},{label:"Hf",insert:"\\mathrm{Hf}",title:"Mathrm Hf",cls:"pt-transition"},{label:"Ta",insert:"\\mathrm{Ta}",title:"Mathrm Ta",cls:"pt-transition"},{label:"W",insert:"\\mathrm{W}",title:"Mathrm W",cls:"pt-transition"},{label:"Re",insert:"\\mathrm{Re}",title:"Mathrm Re",cls:"pt-transition"},{label:"Os",insert:"\\mathrm{Os}",title:"Mathrm Os",cls:"pt-transition"},{label:"Ir",insert:"\\mathrm{Ir}",title:"Mathrm Ir",cls:"pt-transition"},{label:"Pt",insert:"\\mathrm{Pt}",title:"Mathrm Pt",cls:"pt-transition"},{label:"Au",insert:"\\mathrm{Au}",title:"Mathrm Au",cls:"pt-transition"},{label:"Hg",insert:"\\mathrm{Hg}",title:"Mathrm Hg",cls:"pt-transition"},{label:"Tl",insert:"\\mathrm{Tl}",title:"Mathrm Tl",cls:"pt-metalloid"},{label:"Pb",insert:"\\mathrm{Pb}",title:"Mathrm Pb",cls:"pt-metalloid"},{label:"Bi",insert:"\\mathrm{Bi}",title:"Mathrm Bi",cls:"pt-metalloid"},{label:"Po",insert:"\\mathrm{Po}",title:"Mathrm Po",cls:"pt-metalloid"},{label:"At",insert:"\\mathrm{At}",title:"Mathrm At",cls:"pt-nonmetal"},{label:"Rn",insert:"\\mathrm{Rn}",title:"Mathrm Rn",cls:"pt-noble"},{label:"Fr",insert:"\\mathrm{Fr}",title:"Mathrm Fr",cls:"pt-alkali"},{label:"Ra",insert:"\\mathrm{Ra}",title:"Mathrm Ra",cls:"pt-alkaline"},{label:"",insert:"",cls:"pt-transition"},{label:"Rf",insert:"\\mathrm{Rf}",title:"Mathrm Rf",cls:"pt-transition"},{label:"Db",insert:"\\mathrm{Db}",title:"Mathrm Db",cls:"pt-transition"},{label:"Sg",insert:"\\mathrm{Sg}",title:"Mathrm Sg",cls:"pt-transition"},{label:"Bh",insert:"\\mathrm{Bh}",title:"Mathrm Bh",cls:"pt-transition"},{label:"Hs",insert:"\\mathrm{Hs}",title:"Mathrm Hs",cls:"pt-transition"},{label:"Mt",insert:"\\mathrm{Mt}",title:"Mathrm Mt",cls:"pt-transition"},{label:"Ds",insert:"\\mathrm{Ds}",title:"Mathrm Ds",cls:"pt-transition"},{label:"Rg",insert:"\\mathrm{Rg}",title:"Mathrm Rg",cls:"pt-transition"},{label:"Cn",insert:"\\mathrm{Cn}",title:"Mathrm Cn",cls:"pt-transition"},{label:"Nh",insert:"\\mathrm{Nh}",title:"Mathrm Nh",cls:"pt-metalloid"},{label:"Fl",insert:"\\mathrm{Fl}",title:"Mathrm Fl",cls:"pt-metalloid"},{label:"Mc",insert:"\\mathrm{Mc}",title:"Mathrm Mc",cls:"pt-metalloid"},{label:"Lv",insert:"\\mathrm{Lv}",title:"Mathrm Lv",cls:"pt-metalloid"},{label:"Ts",insert:"\\mathrm{Ts}",title:"Mathrm Ts",cls:"pt-unknown"},{label:"Og",insert:"\\mathrm{Og}",title:"Mathrm Og",cls:"pt-unknown"},...Array.from({length:18},()=>({label:"",cls:"pt-empty"})),...Array.from({length:2},()=>({label:"",cls:"pt-empty"})),{label:"La",insert:"\\mathrm{La}",title:"Mathrm La",cls:"pt-transition"},{label:"Ce",insert:"\\mathrm{Ce}",title:"Mathrm Ce",cls:"pt-lanthanide"},{label:"Pr",insert:"\\mathrm{Pr}",title:"Mathrm Pr",cls:"pt-lanthanide"},{label:"Nd",insert:"\\mathrm{Nd}",title:"Mathrm Nd",cls:"pt-lanthanide"},{label:"Pm",insert:"\\mathrm{Pm}",title:"Mathrm Pm",cls:"pt-lanthanide"},{label:"Sm",insert:"\\mathrm{Sm}",title:"Mathrm Sm",cls:"pt-lanthanide"},{label:"Eu",insert:"\\mathrm{Eu}",title:"Mathrm Eu",cls:"pt-lanthanide"},{label:"Gd",insert:"\\mathrm{Gd}",title:"Mathrm Gd",cls:"pt-lanthanide"},{label:"Tb",insert:"\\mathrm{Tb}",title:"Mathrm Tb",cls:"pt-lanthanide"},{label:"Dy",insert:"\\mathrm{Dy}",title:"Mathrm Dy",cls:"pt-lanthanide"},{label:"Ho",insert:"\\mathrm{Ho}",title:"Mathrm Ho",cls:"pt-lanthanide"},{label:"Er",insert:"\\mathrm{Er}",title:"Mathrm Er",cls:"pt-lanthanide"},{label:"Tm",insert:"\\mathrm{Tm}",title:"Mathrm Tm",cls:"pt-lanthanide"},{label:"Yb",insert:"\\mathrm{Yb}",title:"Mathrm Yb",cls:"pt-lanthanide"},{label:"Lu",insert:"\\mathrm{Lu}",title:"Mathrm Lu",cls:"pt-lanthanide"},{label:"",cls:"pt-empty"},...Array.from({length:2},()=>({label:"",cls:"pt-empty"})),{label:"Ac",insert:"\\mathrm{Ac}",title:"Mathrm Ac",cls:"pt-actinide"},{label:"Th",insert:"\\mathrm{Th}",title:"Mathrm Th",cls:"pt-actinide"},{label:"Pa",insert:"\\mathrm{Pa}",title:"Mathrm Pa",cls:"pt-actinide"},{label:"U",insert:"\\mathrm{U}",title:"Mathrm U",cls:"pt-actinide"},{label:"Np",insert:"\\mathrm{Np}",title:"Mathrm Np",cls:"pt-actinide"},{label:"Pu",insert:"\\mathrm{Pu}",title:"Mathrm Pu",cls:"pt-actinide"},{label:"Am",insert:"\\mathrm{Am}",title:"Mathrm Am",cls:"pt-actinide"},{label:"Cm",insert:"\\mathrm{Cm}",title:"Mathrm Cm",cls:"pt-actinide"},{label:"Bk",insert:"\\mathrm{Bk}",title:"Mathrm Bk",cls:"pt-actinide"},{label:"Cf",insert:"\\mathrm{Cf}",title:"Mathrm Cf",cls:"pt-actinide"},{label:"Es",insert:"\\mathrm{Es}",title:"Mathrm Es",cls:"pt-actinide"},{label:"Fm",insert:"\\mathrm{Fm}",title:"Mathrm Fm",cls:"pt-actinide"},{label:"Md",insert:"\\mathrm{Md}",title:"Mathrm Md",cls:"pt-actinide"},{label:"No",insert:"\\mathrm{No}",title:"Mathrm No",cls:"pt-actinide"},{label:"Lr",insert:"\\mathrm{Lr}",title:"Mathrm Lr",cls:"pt-actinide"},{label:"",cls:"pt-empty"}]},{label:"H",insert:"\\mathrm{H}",title:"Mathrm H"},{label:"C",insert:"\\mathrm{C}",title:"Mathrm C"},{label:"N",insert:"\\mathrm{N}",title:"Mathrm N"},{label:"O",insert:"\\mathrm{O}",title:"Mathrm O"},{label:"F",insert:"\\mathrm{F}",title:"Mathrm F"},{label:"S",insert:"\\mathrm{S}",title:"Mathrm S"}]},{label:"bmatrix",fontSize:"5px",mathLabel:"\\textstyle \\begin{bmatrix}#? & #?\\\\ #? & #?\\end{bmatrix} \\, \\begin{cases} #? \\\\ #? \\end{cases}",isMatrix:!0,items:[{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"10",y:"6",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"6",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"46",y:"6",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"10",y:"25",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"25",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"46",y:"25",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"10",y:"44",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"44",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"46",y:"44",width:"8",height:"14",rx:"1"})),insert:"matrix",cls:"template",title:"3×3 Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"8",y1:"4",x2:"8",y2:"60",stroke:"#222",strokeWidth:"4"}),e.createElement("line",{x1:"56",y1:"4",x2:"56",y2:"60",stroke:"#222",strokeWidth:"4"}),e.createElement("rect",{x:"18",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"18",y:"38",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"38",width:"8",height:"14",rx:"1"})),insert:"vmatrix",cls:"template",title:"2×2 Determinant"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M14 6H8V58H14",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M50 6H56V58H50",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"18",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"18",y:"38",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"38",width:"8",height:"14",rx:"1"})),insert:"bmatrix",cls:"template",title:"2×2 Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 6C8 16 8 48 16 58",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M48 6C56 16 56 48 48 58",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"18",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"18",y:"38",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"38",width:"8",height:"14",rx:"1"})),insert:"pmatrix",cls:"template",title:"2×2 Parenthesis Matrix"},{type:"sep",cols:3,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"28",y:"6",width:"8",height:"10",rx:"1"}),e.createElement("rect",{x:"28",y:"27",width:"8",height:"10",rx:"1"}),e.createElement("rect",{x:"28",y:"48",width:"8",height:"10",rx:"1"})),insert:"\\begin{matrix} #? \\\\ #? \\\\ #? \\end{matrix}",cls:"symbol",directInsert:!0,action:"INSERT_CUSTOM",title:"Vertical Dots"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 6H12V58H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M46 6H52V58H46",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"28",y:"10",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"38",width:"8",height:"14",rx:"1"})),insert:"\\begin{bmatrix} #? \\\\ #? \\end{bmatrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"2×1 Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 6C10 16 10 48 18 58",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M46 6C54 16 54 48 46 58",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"28",y:"10",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"38",width:"8",height:"14",rx:"1"})),insert:"\\begin{pmatrix} #? \\\\ #? \\end{pmatrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"2×1 Parenthesis Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"8",y:"24",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"24",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"48",y:"24",width:"8",height:"14",rx:"1"})),insert:"\\begin{matrix} #? \\, #? \\, #? \\end{matrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"1×3 Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 18H12V46H16",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M50 18H54V46H50",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"22",y:"22",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"22",width:"8",height:"14",rx:"1"})),insert:"\\begin{bmatrix} #? \\, #? \\end{bmatrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"1×2 Square Bracket Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 18C12 23 12 41 16 46",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M50 18C54 23 54 41 50 46",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"22",y:"22",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"22",width:"8",height:"14",rx:"1"})),insert:"\\begin{pmatrix} #? \\, #? \\end{pmatrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"1×2 Parenthesis Matrix"},{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 8C12 8 12 12 12 18V26C12 30 10 32 8 32C10 32 12 34 12 38V46C12 52 12 56 16 56",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"10",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"26",y:"34",width:"10",height:"12",rx:"1"})),insert:"\\begin{cases} #? \\\\ #? \\end{cases}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"2×1 Piecewise Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 8C12 8 12 12 12 18V26C12 30 10 32 8 32C10 32 12 34 12 38V46C12 52 12 56 16 56",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"23",y:"10",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"39",y:"10",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"23",y:"34",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"39",y:"34",width:"10",height:"12",rx:"1"})),insert:"\\begin{cases} #? \\, #? \\\\ #? \\, #? \\end{cases}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"2×2 Piecewise Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"26",y:"10",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"26",y:"34",width:"10",height:"12",rx:"1"}),e.createElement("path",{d:"M48 8C52 8 52 12 52 18V26C52 30 54 32 56 32C54 32 52 34 52 38V46C52 52 52 56 48 56",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left.\\begin{matrix} #? \\\\ #? \\end{matrix}\\right\\}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Piecewise Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"8",y:"8",width:"12",height:"12",rx:"1"}),e.createElement("line",{x1:"26",y1:"12",x2:"38",y2:"12",stroke:"#222",strokeWidth:"3"}),e.createElement("line",{x1:"26",y1:"16",x2:"38",y2:"16",stroke:"#222",strokeWidth:"3"}),e.createElement("rect",{x:"44",y:"6",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"8",y:"40",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"24",y1:"46",x2:"36",y2:"46",stroke:"#222",strokeWidth:"3"}),e.createElement("line",{x1:"24",y1:"50",x2:"36",y2:"50",stroke:"#222",strokeWidth:"3"}),e.createElement("rect",{x:"42",y:"38",width:"12",height:"12",rx:"1"})),insert:"\\begin{aligned} #? &= #? \\\\ #? &= #? \\end{aligned}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"System of Equations"},{type:"sep",cols:2,cls:"cme-trig-subgroup"},{label:"⋮",insert:"\\vdots",title:"Vertical ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋰",insert:"⋰",title:"Upright diagonal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"…",insert:"\\ldots",title:"Horizontal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋱",insert:"\\ddots",title:"Down-right diagonal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{type:"sep",cols:1,fontSize:"8px",cls:"cme-matrix-subgroup",moreCols:3,moreItems:[{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 -6 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("rect",{x:"40",y:"-2",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"18",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"46",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"8",y1:"38",x2:"54",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"})),insert:"\\class{cme-col-op-wrapper}{\\class{cme-col-op-val1}{#?}\\class{cme-col-op-op}{\\,}\\class{cme-col-op-val2}{#?}\\class{cme-col-op-result}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction Template"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 -6 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("rect",{x:"40",y:"-2",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"18",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"46",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"8",y1:"38",x2:"54",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"10",y1:"26",x2:"26",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"})),insert:"\\class{cme-col-op-wrapper}{\\class{cme-col-op-val1}{#?}\\class{cme-col-op-op}{-}\\class{cme-col-op-val2}{#?}\\class{cme-col-op-result}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction with Subtraction"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 -6 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("rect",{x:"40",y:"-2",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"18",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"46",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"8",y1:"38",x2:"54",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"11",y1:"19",x2:"25",y2:"33",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"25",y1:"19",x2:"11",y2:"33",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"})),insert:"\\class{cme-col-op-wrapper}{\\class{cme-col-op-val1}{#?}\\class{cme-col-op-op}{×}\\class{cme-col-op-val2}{#?}\\class{cme-col-op-result}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction with Multiplication"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 0 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"4",y:"8",width:"10",height:"16",rx:"1"}),e.createElement("path",{d:"M30 4V30H56",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"40",y:"8",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"40",width:"10",height:"16",rx:"1"})),insert:"\\class{cme-lshape-wrapper}{\\class{cme-lshape-div1}{#?}\\class{cme-lshape-val1}{#?}\\class{cme-lshape-val2}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Long Division"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 0 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"4",y:"8",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"4",y:"44",width:"10",height:"16",rx:"1"}),e.createElement("path",{d:"M30 4V36H58",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"44",y:"8",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"44",y:"44",width:"10",height:"16",rx:"1"})),insert:"\\class{cme-lshape-wrapper}{\\class{cme-lshape-div1}{#?}\\class{cme-lshape-val1}{#?}\\class{cme-lshape-div2}{#?}\\class{cme-lshape-val2}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Long Division with Four Terms"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 0 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"40",y:"0",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"30",y1:"20",x2:"54",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M26 18C34 25 34 47 26 54",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"6",y:"28",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"28",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"52",width:"10",height:"16",rx:"1"})),insert:"\\class{cme-longdiv-wrapper}{\\class{cme-longdiv-divisor}{#?}\\class{cme-longdiv-quotient}{#?}\\class{cme-longdiv-dividend}{#?}\\class{cme-longdiv-remainder}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Root with Fraction and Subscript"}]},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 -6 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("rect",{x:"40",y:"-2",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"18",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"46",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"8",y1:"38",x2:"54",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"18",y1:"18",x2:"18",y2:"34",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"10",y1:"26",x2:"26",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"})),insert:"\\class{cme-col-op-wrapper}{\\class{cme-col-op-val1}{#?}\\class{cme-col-op-op}{+}\\class{cme-col-op-val2}{#?}\\class{cme-col-op-result}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction with Addition"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 0 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"40",y:"0",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"30",y1:"20",x2:"54",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M26 18C34 25 34 47 26 54",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"6",y:"28",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"28",width:"10",height:"16",rx:"1"})),insert:"\\class{cme-longdiv-wrapper}{\\class{cme-longdiv-divisor}{#?}\\class{cme-longdiv-quotient}{#?}\\class{cme-longdiv-dividend}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Root with Fraction"}]},{label:"□̅",fontSize:"9px",mathLabel:"{#?}^{#?} \\, \\overset{#?}{#?}",isTemplate:!0,items:[{type:"sep",cols:2,small:!0,cls:"cme-trig-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"2",width:"18",height:"20",rx:"2"}),e.createElement("line",{x1:"6",y1:"32",x2:"50",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"18",y:"40",width:"18",height:"20",rx:"2"})),insert:"\\frac{#0}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"22",y:"8",width:"12",height:"14",rx:"2"}),e.createElement("line",{x1:"6",y1:"32",x2:"50",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"22",y:"40",width:"12",height:"14",rx:"2"})),insert:"\\tfrac{#?}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"5",y:"16",width:"18",height:"20",rx:"1"}),e.createElement("line",{x1:"26",y1:"50",x2:"40",y2:"18",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"38",y:"34",width:"18",height:"20",rx:"1"})),insert:"{\\large {}^{#?}/_{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Text Fraction"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"14",y:"16",width:"12",height:"16",rx:"1"}),e.createElement("line",{x1:"26",y1:"50",x2:"40",y2:"18",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"38",y:"34",width:"12",height:"16",rx:"1"})),insert:"{\\scriptsize {}^{#?}/_{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Text Fraction"},{type:"sep",cols:1,small:!0,cls:"cme-trig-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M6 34 L14 34 L20 50 L30 10 L54 10",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"36",y:"18",width:"16",height:"20",rx:"2"})),insert:"\\sqrt{#0}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Square Root"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M6 36 L14 36 L20 50 L30 10 L56 10",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"12",y:"16",width:"8",height:"12",rx:"2"}),e.createElement("rect",{x:"40",y:"22",width:"12",height:"22",rx:"2"})),insert:"\\sqrt[#?]{#0}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Nth Root Fraction"},{type:"sep",cols:3,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"32",y:"10",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Raised Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"32",y:"10",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"32",y:"36",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"{#?}_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Raised Box with Subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"14",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"36",y:"28",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"{#?}_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Lowered Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"10",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"30",y:"22",width:"12",height:"20",rx:"1"})),insert:"{}^{#?}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Lowered Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"8",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"18",y:"36",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"30",y:"20",width:"12",height:"20",rx:"1"})),insert:"{}_{#?}^{#?}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Superscript and Subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"28",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"30",y:"10",width:"12",height:"20",rx:"1"})),insert:"{}_{#?}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Lower Left Box"},{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"23",y:"28",width:"12",height:"20",rx:"1"})),insert:"\\overset{\\raisebox{2px}{#?}}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Superscript Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 4 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"19",y:"28",width:"12",height:"18",rx:"1"}),e.createElement("rect",{x:"21",y:"52",width:"8",height:"12",rx:"1",opacity:"0.45"})),insert:"\\underset{\\raisebox{-5px}{#?}}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Subscript Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"8",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"22",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"24",y:"48",width:"8",height:"12",rx:"1",opacity:"0.45"})),insert:"\\overset{\\raisebox{2px}{#?}}{\\underset{\\raisebox{-5px}{#?}}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Superscript and Subscript"},{type:"sep",cols:1,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"26",y:"4",width:"12",height:"20",rx:"1"}),e.createElement("path",{d:"M10 34H24C28 34 30 36 32 40C34 36 36 34 40 34H54M10 34V28M54 34V28",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"46",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\underbrace{#?}_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Underbrace"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"27",y:"2",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("path",{d:"M10 36V30H24C28 30 30 28 32 24C34 28 36 30 40 30H54V36",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"40",width:"12",height:"20",rx:"1"})),insert:"\\overbrace{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Overbrace"},{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"19",y:"1",width:"10",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"16",y:"20",width:"16",height:"24",rx:"1",stroke:"#222"}),e.createElement("rect",{x:"19",y:"50",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\overset{\\raisebox{0.1em}{#?}}{\\underset{\\raisebox{-0.3em}{#?}}{\\Large #?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Large Box with Superscript and Subscript"},{label:e.createElement("svg",{viewBox:"0 0 24 24",width:"20",height:"20"},e.createElement("rect",{x:"1",y:"1",width:"14",height:"22",fill:"none",stroke:"currentColor",strokeWidth:"2"}),e.createElement("rect",{x:"17",y:"1",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"}),e.createElement("rect",{x:"17",y:"17",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"})),forceLabel:!0,insert:"{\\style{font-size:1.8em; transform: scale(0.9, 1.2); display: inline-block; padding: 0.2em 0;}{#?}}_{#?}^{\\raisebox{0.6em}{#?}}",isWidget:!0,title:"Subscript and superscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"16",y:"4",width:"16",height:"24",rx:"1",stroke:"#222"}),e.createElement("rect",{x:"19",y:"40",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\underset{\\raisebox{-0.3em}{#?}}{\\Large #?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Large Box with Subscript"},{label:e.createElement("svg",{viewBox:"0 0 24 24",width:"20",height:"20"},e.createElement("rect",{x:"1",y:"1",width:"14",height:"22",fill:"none",stroke:"currentColor",strokeWidth:"2"}),e.createElement("rect",{x:"17",y:"17",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"})),forceLabel:!0,insert:"{\\style{font-size:1.8em; transform: scale(0.9, 1.2); display: inline-block; padding: 0.2em 0;}{#?}}_{#?}",isWidget:!0,title:"Subscript"},{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"18",viewBox:"0 0 26 18",fill:"none",stroke:"currentColor",strokeWidth:"1.5",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"2",y:"2",width:"6",height:"12",rx:"1"}),e.createElement("rect",{x:"18",y:"2",width:"6",height:"12",rx:"1"})),insert:"\\enspace",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Horizontal Phantom Space"},{label:e.createElement("svg",{width:"20",height:"18",viewBox:"0 0 20 18",fill:"none",stroke:"currentColor",strokeWidth:"1.5",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",marginLeft:"13px"}},e.createElement("rect",{x:"2",y:"2",width:"6",height:"12",rx:"1"}),e.createElement("rect",{x:"10",y:"2",width:"6",height:"12",rx:"1"})),insert:"\\,",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Thin Space"},{label:e.createElement("svg",{width:"16",height:"18",viewBox:"0 0 16 18",fill:"none",stroke:"currentColor",strokeWidth:"1.5",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"2",y:"2",width:"6",height:"12",rx:"1"}),e.createElement("rect",{x:"8",y:"2",width:"6",height:"12",rx:"1"})),insert:"\\!",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Negative Thin Space"}]},{label:"( )",fontSize:"9px",isTemplate:!0,mathLabel:"\\left( #? \\right) \\, \\overparen{#?}",items:[{type:"sep",cols:3,small:!0,moreCols:2,cls:"cme-matrix-subgroup",moreItems:[{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M12 12V52H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M52 12V52H46",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left\\lfloor#0\\right\\rfloor",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Floor Brackets"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 18L2 29L10 40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"16",y:"18",width:"10",height:"20",rx:"1"}),e.createElement("line",{x1:"32",y1:"18",x2:"32",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"42",y:"18",width:"10",height:"20",rx:"1"}),e.createElement("path",{d:"M54 18L62 29L54 40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),insert:"\\left\\langle#?\\mid#?\\right\\rangle",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Angle Brackets with Vertical Bar"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M12 52V12H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M52 52V12H46",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left\\lceil#0\\right\\rceil",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Ceiling Brackets"}]},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 12 Q8 32 18 52",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M46 12 Q56 32 46 52",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left(#0\\right)",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Parentheses"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"16",y1:"12",x2:"16",y2:"52",stroke:"#222",strokeWidth:"4"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("line",{x1:"48",y1:"12",x2:"48",y2:"52",stroke:"#222",strokeWidth:"4"})),insert:"\\left|#0\\right|",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"vertical bars"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 14L6 32L18 50",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"26",y:"19",width:"12",height:"20",rx:"1"}),e.createElement("path",{d:"M46 14L58 32L46 50",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),insert:"\\left\\langle #? \\right\\rangle",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Angle Brackets"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 12H12V52H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M46 12H52V52H46",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left[#0\\right]",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Square Brackets"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"10",y1:"12",x2:"10",y2:"52",stroke:"#222",strokeWidth:"4"}),e.createElement("line",{x1:"16",y1:"12",x2:"16",y2:"52",stroke:"#222",strokeWidth:"4"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"20",rx:"1"}),e.createElement("line",{x1:"48",y1:"12",x2:"48",y2:"52",stroke:"#222",strokeWidth:"4"}),e.createElement("line",{x1:"54",y1:"12",x2:"54",y2:"52",stroke:"#222",strokeWidth:"4"})),insert:"\\left\\Vert#?\\right\\Vert",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Double Vertical Bars"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M20 12C16 12 16 18 18 22C19 24 19 26 16 29C19 32 19 34 18 36C16 40 16 46 20 52",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M44 12C48 12 48 18 46 22C45 24 45 26 48 29C45 32 45 34 46 36C48 40 48 46 44 52",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"})),insert:"\\left\\{#0\\right\\}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Curly Braces"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 26V20H24C28 20 30 18 32 14C34 18 36 20 40 20H54V26",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overbrace{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Overbrace"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 26C10 14 54 14 54 26",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overgroup{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Overgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 44H24C28 44 30 46 32 50C34 46 36 44 40 44H54M10 44V38M54 44V38",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"14",width:"12",height:"20",rx:"1"})),insert:"\\underbrace{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Underbrace"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 38C10 50 54 50 54 38",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"14",width:"12",height:"20",rx:"1"})),insert:"\\undergroup{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Undergroup"},{type:"sep",cols:3,small:!0,cls:"cme-symbol-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 20H48M40 12L48 20",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overrightharpoon{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right harpoon accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 20H48M40 12L48 20M40 28L48 20",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Arrow accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 20H48M40 12L48 20M40 28L48 20M24 12L16 20M24 28L16 20",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overleftrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left-right arrow accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 20H46",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overline{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Bar accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 24L32 12L46 24",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\class{cme-wide-hat-text}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Wide hat"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M22 20 Q27 16 32 20 T42 20",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\tilde{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Tilde accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M28 18v0M36 18v0",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\ddot{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Diaeresis accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M32 18v0",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\dot{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Dot accent"},{type:"sep",cols:3,small:!0,cls:"cme-matrix-subgroup",moreItems:[{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M4 2 H20 V22",stroke:"#666",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\class{cme-enclose-actuarial}{#?}",title:"Enclose actuarial"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"4",y:"2",width:"16",height:"20",rx:"8",ry:"8",stroke:"#666",strokeWidth:"2",fill:"none"}),e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\class{cme-enclose-roundedbox}{#?}",title:"Enclose rounded box"}]},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 20H46",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overline{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Bar accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"16",y1:"12",x2:"16",y2:"52",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"28",y:"18",width:"14",height:"28",rx:"2"})),insert:"\\left| #? \\right.",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Enclosed left"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"4",y:"2",width:"16",height:"20",stroke:"#666",strokeWidth:"2",fill:"none"}),e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\class{cme-enclose-box}{#?}",forceLabel:!0,title:"Enclosed box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"18",y1:"46",x2:"46",y2:"46",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"20",width:"12",height:"20",rx:"1"})),insert:"\\underline{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Enclosed bottom"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"48",y1:"12",x2:"48",y2:"52",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"22",y:"18",width:"14",height:"28",rx:"2"})),insert:"\\left. #? \\right|",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Enclosed right"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("ellipse",{cx:"12",cy:"12",rx:"9",ry:"11",stroke:"#666666",strokeWidth:"2",fill:"none"}),e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\class{cme-enclose-circle}{#?}",forceLabel:!0,title:"Enclose circle"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup",moreCols:2,moreItems:[{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"12",y1:"3",x2:"12",y2:"21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-vertical-strike}{#?}",title:"Vertical strike"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M3 22 Q11 12 3 2 H21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"11",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:") \\!\\! \\overline{\\vphantom{1}\\;\\;#?\\;}",directInsert:!0,title:"Long division"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"6",y1:"12",x2:"18",y2:"12",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"}),e.createElement("line",{x1:"12",y1:"3",x2:"12",y2:"21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-horizontal-vertical-strike}{#?}",title:"Horizontal and vertical strike"}]},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"9",y1:"21",x2:"15",y2:"3",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-cancel-strike}{#0}",forceLabel:!0,title:"Cancel strike"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"6",y1:"12",x2:"18",y2:"12",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-horizontal-strike}{#?}",forceLabel:!0,title:"Horizontal strike"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"9",y1:"3",x2:"15",y2:"21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-down-strike}{#0}",forceLabel:!0,title:"Down diagonal strike"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"9",y1:"21",x2:"15",y2:"3",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"}),e.createElement("line",{x1:"9",y1:"3",x2:"15",y2:"21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-cross-strike}{#?}",forceLabel:!0,title:"Cross strike"}]},{label:"∑ ⋃ ",fontSize:"8px",mathLabel:"\\sum \\, \\bigcup",isTemplate:!0,items:[{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M44 16 L22 16 L34 32 L22 48 L44 48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"27",y:"-3",width:"10",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"27",y:"56",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\sum_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Summation with limits"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M38 16 L16 16 L28 32 L16 48 L38 48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"42",y:"2",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"42",y:"39",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\sum\\nolimits_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Summation with side limits"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M44 16 L22 16 L34 32 L22 48 L44 48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"27",y:"54",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\sum_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Summation with subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M38 16 L16 16 L28 32 L16 48 L38 48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"42",y:"39",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\sum\\nolimits_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Summation with side subscript"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M18 16 H46 M22 16 V48 M42 16 V48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"27",y:"-2",width:"10",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"27",y:"50",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\prod_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Product with limits"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M12 16 H40 M16 16 V48 M36 16 V48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"44",y:"4",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"44",y:"44",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\prod\\nolimits_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Product with side limits"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M18 16 H46 M22 16 V48 M42 16 V48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"27",y:"50",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\prod_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Product with subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M12 16 H40 M16 16 V48 M36 16 V48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"44",y:"39",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\prod\\nolimits_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Product with side subscript"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"8",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"22",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"24",y:"48",width:"8",height:"12",rx:"1",opacity:"0.45"})),insert:"\\overset{#?}{\\underset{\\raisebox{-4px}{#?}}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Over and underscript"},{label:e.createElement("svg",{viewBox:"0 0 24 24",width:"20",height:"20"},e.createElement("rect",{x:"1",y:"1",width:"14",height:"22",fill:"none",stroke:"currentColor",strokeWidth:"2"}),e.createElement("rect",{x:"17",y:"1",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"}),e.createElement("rect",{x:"17",y:"17",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"})),forceLabel:!0,insert:"{\\style{font-size:1.8em; transform: scale(0.9, 1.2); display: inline-block; padding: 0.2em 0;}{#?}}_{#?}^{\\raisebox{0.6em}{#?}}",isWidget:!0,title:"Subscript and superscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 4 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"19",y:"28",width:"12",height:"18",rx:"1"}),e.createElement("rect",{x:"21",y:"52",width:"8",height:"12",rx:"1",opacity:"0.45"})),insert:"\\underset{\\raisebox{-4px}{#?}}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Underscript"},{label:e.createElement("svg",{viewBox:"0 0 24 24",width:"20",height:"20"},e.createElement("rect",{x:"1",y:"1",width:"14",height:"22",fill:"none",stroke:"currentColor",strokeWidth:"2"}),e.createElement("rect",{x:"17",y:"17",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"})),forceLabel:!0,insert:"{\\style{font-size:1.8em; transform: scale(0.9, 1.2); display: inline-block; padding: 0.2em 0;}{#?}}_{#?}",isWidget:!0,title:"Subscript"},{type:"sep",cols:1,small:!0,cls:"cme-matrix-subgroup",moreCols:3,moreItems:[{label:"⨅",insert:"⨅",title:"Big square cap"},{label:"∏",insert:"∏",title:"Product"},{label:"∑",insert:"∑",title:"Summation"},{label:"⨆",insert:"⨆",title:"Big square cup"},{label:"∐",insert:"∐",title:"Coproduct"}]},{label:"⋃",insert:"\\bigcup",title:"Big union"},{label:"⋂",insert:"\\bigcap",title:"Big intersection"}]},{label:"∫ lim",fontSize:"7px",mathLabel:"\\int_{#?}^{#?} \\, \\lim",isTemplate:!0,items:[{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"24",height:"26",viewBox:"0 0 44 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"4",y:"54",fontFamily:"serif",fontSize:"58",fontStyle:"italic",fill:"#222",stroke:"none",transform:"rotate(10, 14, 32)"},"∫"),e.createElement("rect",{x:"24",y:"10",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"}),e.createElement("rect",{x:"16",y:"46",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"})),insert:"\\int_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Int"},{label:e.createElement("svg",{width:"40",height:"26",viewBox:"0 0 96 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"4",y:"54",fontFamily:"serif",fontSize:"58",fontStyle:"italic",fill:"#222",stroke:"none",transform:"rotate(10, 14, 32)"},"∫"),e.createElement("rect",{x:"24",y:"10",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"}),e.createElement("rect",{x:"16",y:"46",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"}),e.createElement("rect",{x:"42",y:"24",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("text",{x:"62",y:"38",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",stroke:"none"},"d"),e.createElement("rect",{x:"76",y:"24",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\int_{#?}^{#?} #0 \\, d#?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Definite integral"},{label:e.createElement("svg",{width:"24",height:"26",viewBox:"0 0 44 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"4",y:"54",fontFamily:"serif",fontSize:"58",fontStyle:"italic",fill:"#222",stroke:"none",transform:"rotate(10, 14, 32)"},"∫"),e.createElement("rect",{x:"16",y:"46",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"})),insert:"\\int_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Integral with subscript"},{label:e.createElement("svg",{width:"40",height:"26",viewBox:"0 0 96 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"4",y:"54",fontFamily:"serif",fontSize:"58",fontStyle:"italic",fill:"#222",stroke:"none",transform:"rotate(10, 14, 32)"},"∫"),e.createElement("rect",{x:"16",y:"46",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"}),e.createElement("rect",{x:"42",y:"24",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("text",{x:"62",y:"38",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",stroke:"none"},"d"),e.createElement("rect",{x:"76",y:"24",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\int_{#?} #?\\,d#?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Integral with subscript and differential"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"32",y:"42",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"36",fill:"#222",textAnchor:"middle"},"d")),insert:"\\mathrm{d}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Mathrm d"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("line",{x1:"8",y1:"32",x2:"56",y2:"32",stroke:"#222",strokeWidth:"3"}),e.createElement("text",{x:"22",y:"24",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",textAnchor:"middle"},"d"),e.createElement("rect",{x:"32",y:"8",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("text",{x:"22",y:"54",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",textAnchor:"middle"},"d"),e.createElement("rect",{x:"32",y:"38",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\frac{d#?}{d#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Derivative"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"32",y:"44",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"36",fill:"#222",textAnchor:"middle"},"∂")),insert:"∂",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Partial differential"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("line",{x1:"8",y1:"32",x2:"56",y2:"32",stroke:"#222",strokeWidth:"3"}),e.createElement("text",{x:"22",y:"24",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",textAnchor:"middle"},"∂"),e.createElement("rect",{x:"32",y:"8",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("text",{x:"22",y:"54",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",textAnchor:"middle"},"∂"),e.createElement("rect",{x:"32",y:"38",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\frac{∂#?}{∂#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Partial derivative"},{type:"sep",cols:1,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("text",{x:"32",y:"32",fill:"#222",stroke:"none",fontSize:"24",fontFamily:"serif",textAnchor:"middle"},"lim"),e.createElement("rect",{x:"14",y:"40",width:"10",height:"14",rx:"1",opacity:"0.45"}),e.createElement("text",{x:"28",y:"52",fill:"#222",stroke:"none",fontSize:"16",fontFamily:"sans-serif"},"→"),e.createElement("text",{x:"44",y:"52",fill:"#222",stroke:"none",fontSize:"18",fontFamily:"serif"},"∞")),insert:"\\lim_{#?\\to\\infty}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Limit to infinity"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("text",{x:"32",y:"32",fill:"#222",stroke:"none",fontSize:"24",fontFamily:"serif",textAnchor:"middle"},"lim"),e.createElement("rect",{x:"24",y:"40",width:"16",height:"16",rx:"1",opacity:"0.45"})),insert:"\\lim_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Limit"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M12 24 L28 24 L20 40 Z",stroke:"#222",strokeWidth:"3",fill:"none",strokeLinejoin:"round"}),e.createElement("path",{d:"M34 26 L46 38 M46 26 L34 38",stroke:"#222",strokeWidth:"3",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"50",y:"22",width:"12",height:"20",rx:"1"})),insert:"\\nabla\\times #?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Curl"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M16 24 L36 24 L26 44 Z",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinejoin:"round"}),e.createElement("rect",{x:"44",y:"24",width:"16",height:"20",rx:"1"})),insert:"\\nabla #?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Gradient"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M12 24 L28 24 L20 40 Z",stroke:"#222",strokeWidth:"3",fill:"none",strokeLinejoin:"round"}),e.createElement("circle",{cx:"38",cy:"32",r:"3",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"46",y:"22",width:"12",height:"20",rx:"1"})),insert:"\\nabla\\cdot #?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Divergence"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M26 16 L12 44 L40 44 Z",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinejoin:"round"}),e.createElement("rect",{x:"46",y:"24",width:"16",height:"20",rx:"1"})),insert:"\\Delta #?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Laplacian"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup",moreItems:[{label:"∭",insert:"\\iiint",title:"Triple integral"},{label:"∰",insert:"\\mathop{{\\style{font-size:1em;}{\\iiint}}\\mkern-28mu\\class{wider-circle}{\\bigcirc}\\mkern18mu}",title:"Closed volume integral"}]},{label:e.createElement("svg",{width:"14",height:"26",viewBox:"0 0 32 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"22",y:"54",transform:"skewX(-15)",fontFamily:"serif",fontSize:"58",fontWeight:"normal",fill:"#222",stroke:"none",textAnchor:"middle"},"∫")),forceLabel:!0,insert:"\\int",title:"Integral"},{label:e.createElement("svg",{width:"14",height:"26",viewBox:"0 0 32 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"16",y:"54",fontFamily:"serif",fontSize:"58",fontWeight:"normal",fill:"#222",stroke:"none",textAnchor:"middle"},"∬")),forceLabel:!0,insert:"\\iint",title:"Double integral"},{label:e.createElement("svg",{width:"14",height:"26",viewBox:"0 0 32 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"16",y:"54",fontFamily:"serif",fontSize:"58",fontWeight:"normal",fill:"#222",stroke:"none",textAnchor:"middle"},"∮")),forceLabel:!0,insert:"\\oint",title:"Contour integral"},{label:e.createElement("svg",{width:"14",height:"26",viewBox:"0 0 32 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"16",y:"54",fontFamily:"serif",fontSize:"58",fontWeight:"normal",fill:"#222",stroke:"none",textAnchor:"middle"},"∯")),forceLabel:!0,insert:"\\mathop{{\\style{font-size:1em;}{\\iint}}\\mkern-23mu\\class{wide-circle}{\\bigcirc}\\mkern14mu}",title:"Custom surface integral"},{type:"sep",cols:3,cls:"cme-trig-subgroup",moreCols:"3",moreItems:[{label:"csc",insert:"\\csc\\left(#?\\right)",title:"Cosecant"},{label:"sec",insert:"\\sec\\left(#?\\right)",title:"Secant"},{label:"cot",insert:"\\cot\\left(#?\\right)",title:"Cotangent"},{label:"sin⁻¹",insert:"\\sin^{-1}",title:"Inverse sine"},{label:"cos⁻¹",insert:"\\cos^{-1}",title:"Inverse cosine"},{label:"tan⁻¹",insert:"\\tan^{-1}",title:"Inverse tangent"}]},{label:"sin",insert:"\\sin",title:"Sine"},{label:"cos",insert:"\\cos",title:"Cosine"},{label:"tan",insert:"\\tan",title:"Tangent"},{label:"log",insert:"\\log",title:"Logarithm"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"2",y:"42",fontFamily:"serif",fontSize:"28",fill:"#222",stroke:"none"},"log"),e.createElement("rect",{x:"42",y:"36",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"})),insert:"\\log_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Logarithm with base"},{label:"ln",insert:"\\ln",title:"Natural logarithm"}]}],it=[{label:"H₂O",isChem:!0,items:[{type:"sep",cols:2,small:!0,cls:"cme-trig-subgroup",moreCols:18,moreItems:[{label:"H",insert:"\\mathrm{H}",title:"Mathrm H",cls:"pt-unknown"},...Array.from({length:16},()=>({label:"",cls:"pt-empty"})),{label:"He",insert:"\\mathrm{He}",title:"Mathrm He",cls:"pt-noble"},{label:"Li",insert:"\\mathrm{Li}",title:"Mathrm Li",cls:"pt-alkali"},{label:"Be",insert:"\\mathrm{Be}",title:"Mathrm Be",cls:"pt-alkaline"},...Array.from({length:10},()=>({label:"",cls:"pt-empty"})),{label:"B",insert:"\\mathrm{B}",title:"Mathrm B",cls:"pt-nonmetal"},{label:"C",insert:"\\mathrm{C}",title:"Mathrm C",cls:"pt-nonmetal"},{label:"N",insert:"\\mathrm{N}",title:"Mathrm N",cls:"pt-nonmetal"},{label:"O",insert:"\\mathrm{O}",title:"Mathrm O",cls:"pt-nonmetal"},{label:"F",insert:"\\mathrm{F}",title:"Mathrm F",cls:"pt-nonmetal"},{label:"Ne",insert:"\\mathrm{Ne}",title:"Mathrm Ne",cls:"pt-noble"},{label:"Na",insert:"\\mathrm{Na}",title:"Mathrm Na",cls:"pt-alkali"},{label:"Mg",insert:"\\mathrm{Mg}",title:"Mathrm Mg",cls:"pt-alkaline"},...Array.from({length:10},()=>({label:"",cls:"pt-empty"})),{label:"Al",insert:"\\mathrm{Al}",title:"Mathrm Al",cls:"pt-metalloid"},{label:"Si",insert:"\\mathrm{Si}",title:"Mathrm Si",cls:"pt-metalloid"},{label:"P",insert:"\\mathrm{P}",title:"Mathrm P",cls:"pt-nonmetal"},{label:"S",insert:"\\mathrm{S}",title:"Mathrm S",cls:"pt-nonmetal"},{label:"Cl",insert:"\\mathrm{Cl}",title:"Mathrm Cl",cls:"pt-nonmetal"},{label:"Ar",insert:"\\mathrm{Ar}",title:"Mathrm Ar",cls:"pt-noble"},{label:"K",insert:"\\mathrm{K}",title:"Mathrm K",cls:"pt-alkali"},{label:"Ca",insert:"\\mathrm{Ca}",title:"Mathrm Ca",cls:"pt-alkaline"},{label:"Sc",insert:"\\mathrm{Sc}",title:"Mathrm Sc",cls:"pt-transition"},{label:"Ti",insert:"\\mathrm{Ti}",title:"Mathrm Ti",cls:"pt-transition"},{label:"V",insert:"\\mathrm{V}",title:"Mathrm V",cls:"pt-transition"},{label:"Cr",insert:"\\mathrm{Cr}",title:"Mathrm Cr",cls:"pt-transition"},{label:"Mn",insert:"\\mathrm{Mn}",title:"Mathrm Mn",cls:"pt-transition"},{label:"Fe",insert:"\\mathrm{Fe}",title:"Mathrm Fe",cls:"pt-transition"},{label:"Co",insert:"\\mathrm{Co}",title:"Mathrm Co",cls:"pt-transition"},{label:"Ni",insert:"\\mathrm{Ni}",title:"Mathrm Ni",cls:"pt-transition"},{label:"Cu",insert:"\\mathrm{Cu}",title:"Mathrm Cu",cls:"pt-transition"},{label:"Zn",insert:"\\mathrm{Zn}",title:"Mathrm Zn",cls:"pt-transition"},{label:"Ga",insert:"\\mathrm{Ga}",title:"Mathrm Ga",cls:"pt-metalloid"},{label:"Ge",insert:"\\mathrm{Ge}",title:"Mathrm Ge",cls:"pt-metalloid"},{label:"As",insert:"\\mathrm{As}",title:"Mathrm As",cls:"pt-nonmetal"},{label:"Se",insert:"\\mathrm{Se}",title:"Mathrm Se",cls:"pt-nonmetal"},{label:"Br",insert:"\\mathrm{Br}",title:"Mathrm Br",cls:"pt-nonmetal"},{label:"Kr",insert:"\\mathrm{Kr}",title:"Mathrm Kr",cls:"pt-noble"},{label:"Rb",insert:"\\mathrm{Rb}",title:"Mathrm Rb",cls:"pt-alkali"},{label:"Sr",insert:"\\mathrm{Sr}",title:"Mathrm Sr",cls:"pt-alkaline"},{label:"Y",insert:"\\mathrm{Y}",title:"Mathrm Y",cls:"pt-transition"},{label:"Zr",insert:"\\mathrm{Zr}",title:"Mathrm Zr",cls:"pt-transition"},{label:"Nb",insert:"\\mathrm{Nb}",title:"Mathrm Nb",cls:"pt-transition"},{label:"Mo",insert:"\\mathrm{Mo}",title:"Mathrm Mo",cls:"pt-transition"},{label:"Tc",insert:"\\mathrm{Tc}",title:"Mathrm Tc",cls:"pt-transition"},{label:"Ru",insert:"\\mathrm{Ru}",title:"Mathrm Ru",cls:"pt-transition"},{label:"Rh",insert:"\\mathrm{Rh}",title:"Mathrm Rh",cls:"pt-transition"},{label:"Pd",insert:"\\mathrm{Pd}",title:"Mathrm Pd",cls:"pt-transition"},{label:"Ag",insert:"\\mathrm{Ag}",title:"Mathrm Ag",cls:"pt-transition"},{label:"Cd",insert:"\\mathrm{Cd}",title:"Mathrm Cd",cls:"pt-transition"},{label:"In",insert:"\\mathrm{In}",title:"Mathrm In",cls:"pt-metalloid"},{label:"Sn",insert:"\\mathrm{Sn}",title:"Mathrm Sn",cls:"pt-metalloid"},{label:"Sb",insert:"\\mathrm{Sb}",title:"Mathrm Sb",cls:"pt-metalloid"},{label:"Te",insert:"\\mathrm{Te}",title:"Mathrm Te",cls:"pt-nonmetal"},{label:"I",insert:"\\mathrm{I}",title:"Mathrm I",cls:"pt-nonmetal"},{label:"Xe",insert:"\\mathrm{Xe}",title:"Mathrm Xe",cls:"pt-noble"},{label:"Cs",insert:"\\mathrm{Cs}",title:"Mathrm Cs",cls:"pt-alkali"},{label:"Ba",insert:"\\mathrm{Ba}",title:"Mathrm Ba",cls:"pt-alkaline"},{label:"",insert:"",cls:"pt-transition"},{label:"Hf",insert:"\\mathrm{Hf}",title:"Mathrm Hf",cls:"pt-transition"},{label:"Ta",insert:"\\mathrm{Ta}",title:"Mathrm Ta",cls:"pt-transition"},{label:"W",insert:"\\mathrm{W}",title:"Mathrm W",cls:"pt-transition"},{label:"Re",insert:"\\mathrm{Re}",title:"Mathrm Re",cls:"pt-transition"},{label:"Os",insert:"\\mathrm{Os}",title:"Mathrm Os",cls:"pt-transition"},{label:"Ir",insert:"\\mathrm{Ir}",title:"Mathrm Ir",cls:"pt-transition"},{label:"Pt",insert:"\\mathrm{Pt}",title:"Mathrm Pt",cls:"pt-transition"},{label:"Au",insert:"\\mathrm{Au}",title:"Mathrm Au",cls:"pt-transition"},{label:"Hg",insert:"\\mathrm{Hg}",title:"Mathrm Hg",cls:"pt-transition"},{label:"Tl",insert:"\\mathrm{Tl}",title:"Mathrm Tl",cls:"pt-metalloid"},{label:"Pb",insert:"\\mathrm{Pb}",title:"Mathrm Pb",cls:"pt-metalloid"},{label:"Bi",insert:"\\mathrm{Bi}",title:"Mathrm Bi",cls:"pt-metalloid"},{label:"Po",insert:"\\mathrm{Po}",title:"Mathrm Po",cls:"pt-metalloid"},{label:"At",insert:"\\mathrm{At}",title:"Mathrm At",cls:"pt-nonmetal"},{label:"Rn",insert:"\\mathrm{Rn}",title:"Mathrm Rn",cls:"pt-noble"},{label:"Fr",insert:"\\mathrm{Fr}",title:"Mathrm Fr",cls:"pt-alkali"},{label:"Ra",insert:"\\mathrm{Ra}",title:"Mathrm Ra",cls:"pt-alkaline"},{label:"",insert:"",cls:"pt-transition"},{label:"Rf",insert:"\\mathrm{Rf}",title:"Mathrm Rf",cls:"pt-transition"},{label:"Db",insert:"\\mathrm{Db}",title:"Mathrm Db",cls:"pt-transition"},{label:"Sg",insert:"\\mathrm{Sg}",title:"Mathrm Sg",cls:"pt-transition"},{label:"Bh",insert:"\\mathrm{Bh}",title:"Mathrm Bh",cls:"pt-transition"},{label:"Hs",insert:"\\mathrm{Hs}",title:"Mathrm Hs",cls:"pt-transition"},{label:"Mt",insert:"\\mathrm{Mt}",title:"Mathrm Mt",cls:"pt-transition"},{label:"Ds",insert:"\\mathrm{Ds}",title:"Mathrm Ds",cls:"pt-transition"},{label:"Rg",insert:"\\mathrm{Rg}",title:"Mathrm Rg",cls:"pt-transition"},{label:"Cn",insert:"\\mathrm{Cn}",title:"Mathrm Cn",cls:"pt-transition"},{label:"Nh",insert:"\\mathrm{Nh}",title:"Mathrm Nh",cls:"pt-metalloid"},{label:"Fl",insert:"\\mathrm{Fl}",title:"Mathrm Fl",cls:"pt-metalloid"},{label:"Mc",insert:"\\mathrm{Mc}",title:"Mathrm Mc",cls:"pt-metalloid"},{label:"Lv",insert:"\\mathrm{Lv}",title:"Mathrm Lv",cls:"pt-metalloid"},{label:"Ts",insert:"\\mathrm{Ts}",title:"Mathrm Ts",cls:"pt-unknown"},{label:"Og",insert:"\\mathrm{Og}",title:"Mathrm Og",cls:"pt-unknown"},...Array.from({length:18},()=>({label:"",cls:"pt-empty"})),...Array.from({length:2},()=>({label:"",cls:"pt-empty"})),{label:"La",insert:"\\mathrm{La}",title:"Mathrm La",cls:"pt-transition"},{label:"Ce",insert:"\\mathrm{Ce}",title:"Mathrm Ce",cls:"pt-lanthanide"},{label:"Pr",insert:"\\mathrm{Pr}",title:"Mathrm Pr",cls:"pt-lanthanide"},{label:"Nd",insert:"\\mathrm{Nd}",title:"Mathrm Nd",cls:"pt-lanthanide"},{label:"Pm",insert:"\\mathrm{Pm}",title:"Mathrm Pm",cls:"pt-lanthanide"},{label:"Sm",insert:"\\mathrm{Sm}",title:"Mathrm Sm",cls:"pt-lanthanide"},{label:"Eu",insert:"\\mathrm{Eu}",title:"Mathrm Eu",cls:"pt-lanthanide"},{label:"Gd",insert:"\\mathrm{Gd}",title:"Mathrm Gd",cls:"pt-lanthanide"},{label:"Tb",insert:"\\mathrm{Tb}",title:"Mathrm Tb",cls:"pt-lanthanide"},{label:"Dy",insert:"\\mathrm{Dy}",title:"Mathrm Dy",cls:"pt-lanthanide"},{label:"Ho",insert:"\\mathrm{Ho}",title:"Mathrm Ho",cls:"pt-lanthanide"},{label:"Er",insert:"\\mathrm{Er}",title:"Mathrm Er",cls:"pt-lanthanide"},{label:"Tm",insert:"\\mathrm{Tm}",title:"Mathrm Tm",cls:"pt-lanthanide"},{label:"Yb",insert:"\\mathrm{Yb}",title:"Mathrm Yb",cls:"pt-lanthanide"},{label:"Lu",insert:"\\mathrm{Lu}",title:"Mathrm Lu",cls:"pt-lanthanide"},{label:"",cls:"pt-empty"},...Array.from({length:2},()=>({label:"",cls:"pt-empty"})),{label:"Ac",insert:"\\mathrm{Ac}",title:"Mathrm Ac",cls:"pt-actinide"},{label:"Th",insert:"\\mathrm{Th}",title:"Mathrm Th",cls:"pt-actinide"},{label:"Pa",insert:"\\mathrm{Pa}",title:"Mathrm Pa",cls:"pt-actinide"},{label:"U",insert:"\\mathrm{U}",title:"Mathrm U",cls:"pt-actinide"},{label:"Np",insert:"\\mathrm{Np}",title:"Mathrm Np",cls:"pt-actinide"},{label:"Pu",insert:"\\mathrm{Pu}",title:"Mathrm Pu",cls:"pt-actinide"},{label:"Am",insert:"\\mathrm{Am}",title:"Mathrm Am",cls:"pt-actinide"},{label:"Cm",insert:"\\mathrm{Cm}",title:"Mathrm Cm",cls:"pt-actinide"},{label:"Bk",insert:"\\mathrm{Bk}",title:"Mathrm Bk",cls:"pt-actinide"},{label:"Cf",insert:"\\mathrm{Cf}",title:"Mathrm Cf",cls:"pt-actinide"},{label:"Es",insert:"\\mathrm{Es}",title:"Mathrm Es",cls:"pt-actinide"},{label:"Fm",insert:"\\mathrm{Fm}",title:"Mathrm Fm",cls:"pt-actinide"},{label:"Md",insert:"\\mathrm{Md}",title:"Mathrm Md",cls:"pt-actinide"},{label:"No",insert:"\\mathrm{No}",title:"Mathrm No",cls:"pt-actinide"},{label:"Lr",insert:"\\mathrm{Lr}",title:"Mathrm Lr",cls:"pt-actinide"},{label:"",cls:"pt-empty"}]},{label:"H",insert:"\\mathrm{H}",title:"Mathrm H"},{label:"C",insert:"\\mathrm{C}",title:"Mathrm C"},{label:"N",insert:"\\mathrm{N}",title:"Mathrm N"},{label:"O",insert:"\\mathrm{O}",title:"Mathrm O"},{label:"F",insert:"\\mathrm{F}",title:"Mathrm F"},{label:"S",insert:"\\mathrm{S}",title:"Mathrm S"},{type:"sep",cols:1,small:!0,cls:"cme-trig-subgroup"},{label:"°",insert:"^\\circ",title:"Degree"},{label:"Δ",insert:"\\Delta",title:"Increment / Delta"},{label:"mol",insert:"\\mathrm{mol}",title:"Mathrm mol"},{type:"sep",cols:1,small:!0,cls:"cme-trig-subgroup"},{label:"-",insert:"-",title:"Single bond"},{label:"=",insert:"=",title:"Double bond"},{label:"≡",insert:"\\equiv",title:"Triple bond"},{type:"sep",cols:3,small:!0,cls:"cme-trig-subgroup",moreCols:3,moreItems:[{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("path",{d:"M 8 32 L 56 32 M 44 20 L 56 32 L 44 44",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"24",y:"2",width:"16",height:"12",rx:"2",stroke:"#2E7D32",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"24",y:"50",width:"16",height:"12",rx:"2",stroke:"#2E7D32",strokeWidth:"4",fill:"none"})),insert:"\\xrightarrow[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right arrow with overscript and underscript"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("path",{d:"M 8 26 L 56 26 M 44 14 L 56 26 M 56 38 L 8 38 M 20 50 L 8 38",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"24",y:"2",width:"16",height:"12",rx:"2",stroke:"#2E7D32",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"24",y:"50",width:"16",height:"12",rx:"2",stroke:"#2E7D32",strokeWidth:"4",fill:"none"})),insert:"\\xrightleftharpoons[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium with overscript and underscript"},{label:e.createElement("svg",{width:"20",height:"20",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"40",x2:"52",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 32L12 40L24 48V42H34V38H24V32Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"28",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrows[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium Arrow with Above and Below Labels"}]},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("path",{d:"M 8 32 L 56 32 M 44 20 L 56 32 L 44 44",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"})),insert:"\\rightarrow",title:"Right arrow"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("path",{d:"M 8 44 L 56 44 M 44 32 L 56 44 L 44 56",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"24",y:"12",width:"16",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"4",fill:"none"})),insert:"\\xrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right arrow with overscript"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("path",{d:"M 8 20 L 56 20 M 44 8 L 56 20 L 44 32",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"24",y:"36",width:"16",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"4",fill:"none"})),insert:"\\xrightarrow[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right arrow with underscript"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("path",{d:"M 8 24 L 56 24 M 44 12 L 56 24 M 56 40 L 8 40 M 20 52 L 8 40",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"})),insert:"\\rightleftharpoons",title:"Equilibrium"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("path",{d:"M 8 32 L 56 32 M 44 20 L 56 32 M 56 48 L 8 48 M 20 60 L 8 48",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"24",y:"2",width:"16",height:"14",rx:"2",stroke:"#2E7D32",strokeWidth:"4",fill:"none"})),insert:"\\xrightleftharpoons{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium with overscript"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("path",{d:"M 8 16 L 56 16 M 44 4 L 56 16 M 56 32 L 8 32 M 20 44 L 8 32",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"24",y:"48",width:"16",height:"14",rx:"2",stroke:"#2E7D32",strokeWidth:"4",fill:"none"})),insert:"\\xrightleftharpoons[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium with underscript"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("path",{d:"M 8 22 L 56 22 M 46 12 L 56 22 L 46 32 M 56 42 L 8 42 M 18 32 L 8 42 L 18 52",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"})),insert:"\\rightleftarrows",title:"Right left arrows"},{label:e.createElement("svg",{width:"20",height:"20",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"40",x2:"52",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 32L12 40L24 48V42H34V38H24V32Z",fill:"#222",stroke:"none"})),insert:"\\xleftrightarrows{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium Arrow with Label Above"},{label:e.createElement("svg",{width:"20",height:"20",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"20",x2:"46",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 12L52 20L40 28V22H30V18H40V12Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"34",x2:"52",y2:"34",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 26L12 34L24 42V36H34V32H24V26Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrows[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium Arrow with Label Below"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"32",y:"10",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"32",y:"36",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"{#?}_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Raised Box with Subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"32",y:"10",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Raised Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"8",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"18",y:"36",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"30",y:"20",width:"12",height:"20",rx:"1"})),insert:"{}_{#?}^{#?}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Superscript and Subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"14",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"36",y:"28",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"{#?}_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Lowered Box"},{type:"sep",cols:1,small:!0},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 12 Q8 32 18 52",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M46 12 Q56 32 46 52",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left(#0\\right)",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Parentheses"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 12H12V52H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M46 12H52V52H46",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left[#0\\right]",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Square Brackets"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M20 12C16 12 16 18 18 22C19 24 19 26 16 29C19 32 19 34 18 36C16 40 16 46 20 52",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2",strokeWidth:"4"}),e.createElement("path",{d:"M44 12C48 12 48 18 46 22C45 24 45 26 48 29C45 32 45 34 46 36C48 40 48 46 44 52",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"})),insert:"\\left\\{ #? \\right\\}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Curly brackets"},{type:"sep",cols:2},{label:"↶",action:"UNDO",title:"Undo"},{label:"↷",action:"REDO",title:"Redo"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2"},e.createElement("circle",{cx:"6",cy:"6",r:"3"}),e.createElement("circle",{cx:"6",cy:"18",r:"3"}),e.createElement("line",{x1:"20",y1:"4",x2:"8.12",y2:"15.88"}),e.createElement("line",{x1:"14.47",y1:"14.48",x2:"20",y2:"20"}),e.createElement("line",{x1:"8.12",y1:"8.12",x2:"12",y2:"12"})),action:"CUT",title:"Cut"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2"},e.createElement("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),e.createElement("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})),action:"COPY",title:"Copy"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2"},e.createElement("path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"}),e.createElement("rect",{x:"8",y:"2",width:"8",height:"4",rx:"1",ry:"1"})),action:"PASTE",title:"Paste"},{type:"sep",cols:2},{label:e.createElement(ie.FontAwesomeIcon,{icon:ne.faBold}),action:"BOLD",cls:"template",title:"Bold"},{label:e.createElement(ie.FontAwesomeIcon,{icon:ne.faItalic}),action:"ITALIC",cls:"template",title:"Italic"},{label:e.createElement("img",{src:Le,alt:"Omega",width:"18",height:"18",style:{display:"block"}}),title:"Insert Special Character",action:"SPECIAL_CHARS"},{label:e.createElement("img",{src:Te,alt:"Palette",width:"18",height:"18",style:{display:"block"}}),action:"TEXT_COLOR",title:"Text Color"},{type:"sep",cols:1},{type:"dropdown",label:"Font..."},{type:"dropdown",label:"Size"}]},{label:"∈ ∞",items:[{type:"sep",cols:1,small:!0},{label:"⌿",insert:"\\cancel{#?}",isWidget:!0,title:"Cancel strike"},{type:"sep",cols:3,small:!0,moreItems:[{label:"∖",insert:"\\setminus",title:"Set minus"},{label:"\\",insert:"\\backslash",title:"Reverse solidus"},{label:"∓",insert:"\\mp",title:"Minus or plus"}]},{label:"+",insert:"+",title:"Plus"},{label:"×",insert:"\\times",title:"Multiply"},{label:"·",insert:"\\cdot",title:"Dot product"},{label:"−",insert:"-",title:"Minus"},{label:"÷",insert:"\\div",title:"Divide sign"},{label:"/",insert:"/",title:"Slash"},{label:"±",insert:"\\pm",title:"Plus-minus"},{label:"*",insert:"*",title:"Asterisk"},{label:"○",insert:"\\circ",title:"Circle"},{type:"sep",cols:3,small:!0,moreItems:[{label:"‴",insert:"\\prime\\prime\\prime",title:"Triple prime"},{label:"⁗",insert:"\\prime\\prime\\prime\\prime",title:"Quadruple prime"},{label:"‵",insert:"\\backprime",title:"Reversed prime"}]},{label:"π",insert:"\\pi",title:"Pi"},{label:"∂",insert:"∂",title:"Partial derivative"},{label:"°",insert:"^\\circ",title:"Degree"},{label:"∞",insert:"\\infty",title:"Infinity"},{label:"Δ",insert:"\\Delta",title:"Delta"},{label:"'",insert:"'",title:"Prime"},{label:"∅",insert:"\\emptyset",title:"Empty set"},{label:"∇",insert:"\\nabla",title:"Nabla / Gradient"},{label:"''",insert:"''",title:"Double prime"},{type:"sep",cols:2,moreCols:2,small:!0,moreItems:[{label:"≠",insert:"\\neq",title:"Not equal"},{label:"≉",insert:"\\not\\approx",title:"Not almost equal to"},{label:"≢",insert:"\\not\\equiv",title:"Not identical to"},{label:"≁",insert:"\\not\\sim",title:"Not similar"}]},{label:"=",insert:"=",title:"Equals"},{label:"≡",insert:"\\equiv",title:"Equivalent"},{label:"∼",insert:"\\sim",title:"Similar to"},{label:"≈",insert:"\\approx",title:"Approximately equal"},{label:"≃",insert:"\\simeq",title:"Asymptotically equal"},{label:"≅",insert:"\\cong",title:"Congruent"},{type:"sep",cols:2,small:!0,moreCols:3,moreItems:[{label:"≨",insert:"\\lneqq",title:"Less than but not equal to"},{label:"≫",insert:"\\gg",title:"Much greater than"},{label:"≻",insert:"\\succ",title:"Succeeds"},{label:"≩",insert:"\\gneqq",title:"Greater than but not equal to"},{label:"∝",insert:"\\propto",title:"Proportional to"},{label:"⊲",insert:"\\triangleleft",title:"Normal subgroup of"},{label:"≪",insert:"\\ll",title:"Much less than"},{label:"≺",insert:"\\prec",title:"Precedes"},{label:"⊳",insert:"\\triangleright",title:"Contains as normal subgroup"}]},{label:">",insert:">",title:"Greater than"},{label:"<",insert:"<",title:"Less than"},{label:"≥",insert:"\\geq",title:"Greater than or equal"},{label:"≤",insert:"\\leq",title:"Less than or equal"},{label:"⩾",insert:"\\geqslant",title:"Greater than or equal slant"},{label:"⩽",insert:"\\leqslant",title:"Less than or equal slant"},{type:"sep",cols:2,small:!0,moreCols:4,moreItems:[{label:"∉",insert:"\\notin",title:"Not an element of"},{label:"∌",insert:"\\not\\ni",title:"Does not contain as member"},{label:"⊆",insert:"\\subseteq",title:"Subset of or equal to"},{label:"⊇",insert:"\\supseteq",title:"Superset of or equal to"},{label:"⊏",insert:"\\sqsubset",title:"Square image of"},{label:"⊐",insert:"\\sqsupset",title:"Square original of"},{label:"⊑",insert:"\\sqsubseteq",title:"Square image of or equal to"},{label:"⊒",insert:"\\sqsupseteq",title:"Square original of or equal to"},{label:"⊓",insert:"\\sqcap",title:"Square intersection"},{label:"⊔",insert:"\\sqcup",title:"Square union"}]},{label:"∈",insert:"\\in",title:"Element of"},{label:"∋",insert:"\\ni",title:"Contains as member"},{label:"∪",insert:"\\cup",title:"Union"},{label:"∩",insert:"\\cap",title:"Intersection"},{label:"⊂",insert:"\\subset",title:"Subset"},{label:"⊃",insert:"\\supset",title:"Superset"},{type:"sep",cols:2,small:!0,moreCols:1,moreItems:[{label:"∴",insert:"\\therefore",title:"Therefore"},{label:"∵",insert:"\\because",title:"Because"}]},{label:"∧",insert:"\\land",title:"Logical AND"},{label:"∨",insert:"\\lor",title:"Logical OR"},{label:"¬",insert:"\\neg",title:"Logical NOT"},{label:"∀",insert:"\\forall",title:"For all"},{label:"∃",insert:"\\exists",title:"Exists"},{label:"∄",insert:"\\nexists",title:"Does not exist"},{type:"sep",cols:1,small:!0,moreCols:2,moreItems:[{label:"∦",insert:"\\nparallel",title:"Not parallel to"},{label:"⋄",insert:"\\diamond",title:"Diamond"},{label:"∡",insert:"\\measuredangle",title:"Measured angle"},{label:"∢",insert:"\\sphericalangle",title:"Spherical angle"}]},{label:"∠",insert:"\\angle",title:"Angle"},{label:"∥",insert:"\\parallel",title:"Parallel"},{label:"⊥",insert:"\\perp",title:"Perpendicular"},{type:"sep",cols:1,small:!0,moreCols:1,moreItems:[{label:"▭",insert:"▭",title:"Rectangle"},{label:"▱",insert:"▱",title:"Parallelogram"}]},{label:"□",insert:"\\square",title:"Square"},{label:"△",insert:"\\triangle",title:"Triangle"},{label:"○",insert:"\\circ",title:"Circle"},{type:"sep",cols:1,small:!0,moreCols:2,moreItems:[{label:"⊝",insert:"⊝",title:"Circled dash"},{label:"•",insert:"\\bullet",title:"Bullet"},{label:"⊛",insert:"⊛",title:"Circled asterisk"},{label:"⨸",insert:"⨸",title:"Circled division"}]},{label:"⊕",insert:"\\oplus",title:"Direct sum / Circled plus"},{label:"⊗",insert:"\\otimes",title:"Tensor product / Circled times"},{label:"⊙",insert:"\\odot",title:"Circled dot operator"}]},{label:"→ ⋰",isTemplate:!0,items:[{type:"sep",cols:3,small:!0,cls:"cme-trig-subgroup",moreCols:11,moreItems:[{label:"↗",insert:"\\nearrow",title:"North east arrow"},{label:"↘",insert:"\\searrow",title:"South east arrow"},{label:"↖",insert:"\\nwarrow",title:"North west arrow"},{label:"↙",insert:"\\swarrow",title:"South west arrow"},{label:"⤡",insert:"\\nwsearrow",title:"North west and south east arrow"},{label:"⤢",insert:"\\neswarrow",title:"North east and south west arrow"},{label:"↩",insert:"\\hookleftarrow",title:"Leftwards arrow with hook"},{label:"↪",insert:"\\hookrightarrow",title:"Rightwards arrow with hook"},{label:"↼",insert:"\\leftharpoonup",title:"Leftwards harpoon with barb upwards"},{label:"⇀",insert:"\\rightharpoonup",title:"Rightwards harpoon with barb upwards"},{label:"↑",insert:"\\uparrow",title:"Upwards arrow"},{label:"↓",insert:"\\downarrow",title:"Downwards arrow"},{label:"⇑",insert:"\\Uparrow",title:"Upwards double arrow"},{label:"⇓",insert:"\\Downarrow",title:"Downwards double arrow"},{label:"⥪",insert:"⥪",title:"Leftwards harpoon over dash"},{label:"⥭",insert:"⥭",title:"Dash over rightwards harpoon"},{label:"⇋",insert:"\\leftrightharpoons",title:"Leftwards harpoon over rightwards harpoon"},{label:"⇌",insert:"\\rightleftharpoons",title:"Rightwards harpoon over leftwards harpoon"},{label:"↽",insert:"\\leftharpoondown",title:"Leftwards harpoon with barb downwards"},{label:"⇁",insert:"\\rightharpoondown",title:"Rightwards harpoon with barb downwards"},{label:"⇆",insert:"\\leftrightarrows",title:"Leftwards arrow over rightwards arrow"},{label:"⇄",insert:"\\rightleftarrows",title:"Rightwards arrow over leftwards arrow"},{label:"⇅",insert:"\\updownarrows",title:"Upwards arrow leftwards of downwards arrow"},{label:"⇵",insert:"\\downuparrows",title:"Downwards arrow leftwards of upwards arrow"},{label:"⥮",insert:"\\upharpoonleftdownharpoonright",title:"Up harpoon left down harpoon right"},{label:"⥯",insert:"\\downharpoonleftupharpoonright",title:"Down harpoon left up harpoon right"},{label:"⥂",insert:"⥂",title:"Rightwards arrow over short leftwards arrow"},{label:"⥄",insert:"⥄",title:"Short rightwards arrow over leftwards arrow"},{label:"↕",insert:"\\updownarrow",title:"Up-down arrow"},{label:"⇕",insert:"\\Updownarrow",title:"Up-down double arrow"},{label:"↵",insert:"\\hookleftarrow",title:"Downwards arrow with corner leftwards"}]},{label:"←",insert:"\\leftarrow",title:"Left arrow"},{label:"→",insert:"\\rightarrow",title:"Right arrow"},{label:"↔",insert:"\\leftrightarrow",title:"Left-right arrow"},{label:"⇐",insert:"\\Leftarrow",title:"Left double arrow"},{label:"⇒",insert:"\\Rightarrow",title:"Right double arrow"},{label:"⇔",insert:"\\Leftrightarrow",title:"Left-right double arrow"},{label:"↤",insert:"\\mapsfrom",title:"Leftwards arrow from bar"},{label:"↦",insert:"\\mapsto",title:"Rightwards arrow from bar"},{type:"sep",cols:2,small:!0,cls:"cme-trig-subgroup"},{label:"⋮",insert:"\\vdots",title:"Vertical ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋰",insert:"⋰",title:"Upright diagonal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"…",insert:"\\ldots",title:"Horizontal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋱",insert:"\\ddots",title:"Down-right diagonal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋯",insert:"\\cdots",title:"Middle line horizontal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{type:"sep",cols:1,small:!0,cls:"cme-trig-subgroup"},{label:"-",insert:"-",title:"Short dash (hyphen)"},{label:"–",insert:"–",title:"En dash"},{label:"—",insert:"—",title:"Em dash"},{type:"sep",cols:3,small:!0,cls:"cme-matrix-subgroup",moreCols:11,moreItems:[{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"38",x2:"52",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M18 30L6 38L18 46V40H26V36H18V30Z",fill:"#222",stroke:"none"}),e.createElement("path",{d:"M46 30L58 38L46 46V40H38V36H46V30Z",fill:"#222",stroke:"none"})),insert:"\\xleftrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrow with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"24",x2:"52",y2:"24",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M18 16L6 24L18 32V26H26V22H18V16Z",fill:"#222",stroke:"none"}),e.createElement("path",{d:"M46 16L58 24L46 32V26H38V22H46V16Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"38",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrow[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrow with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"32",x2:"52",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M18 24L6 32L18 40V34H26V30H18V24Z",fill:"#222",stroke:"none"}),e.createElement("path",{d:"M46 24L58 32L46 40V34H38V30H46V24Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"44",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrow[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrow with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"28",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"18",y1:"30",x2:"52",y2:"30",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 22L12 30L24 38V32H34V28H24V22Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"12",y1:"44",x2:"46",y2:"44",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 36L52 44L40 52V46H30V42H40V36Z",fill:"#222",stroke:"none"})),insert:"\\class{cme-flip-v}{\\xtofrom[\\class{cme-flip-v}{#?}]{}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrows with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"18",y1:"20",x2:"52",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 12L12 20L24 28V22H34V18H24V12Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"12",y1:"34",x2:"46",y2:"34",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 26L52 34L40 42V36H30V32H40V26Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\class{cme-flip-v}{\\xtofrom{\\class{cme-flip-v}{#?}}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrows with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"28",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"18",y1:"26",x2:"52",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 18L12 26L24 34V28H34V24H24V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"12",y1:"40",x2:"46",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 32L52 40L40 48V42H30V38H40V32Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\class{cme-flip-v}{\\xtofrom[\\class{cme-flip-v}{#?}]{\\class{cme-flip-v}{#?}}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrows with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"40",x2:"52",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 32L12 40L24 48V42H34V38H24V32Z",fill:"#222",stroke:"none"})),insert:"\\xleftrightarrows{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium Arrow with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"20",x2:"46",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 12L52 20L40 28V22H30V18H40V12Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"34",x2:"52",y2:"34",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 26L12 34L24 42V36H34V32H24V26Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrows[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium Arrow with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"40",x2:"52",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 32L12 40L24 48V42H34V38H24V32Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"28",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrows[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium Arrow with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"28",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"27",x2:"56",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 19L12 27L22 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"8",y1:"37",x2:"52",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 45L52 37L42 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),insert:"\\xleftrightharpoons{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Harpoons with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"27",x2:"56",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 19L12 27L22 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"8",y1:"37",x2:"52",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 45L52 37L42 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightharpoons[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Harpoons with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"27",x2:"56",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 19L12 27L22 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"8",y1:"37",x2:"52",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 45L52 37L42 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightharpoons[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Harpoons with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"8",y1:"27",x2:"52",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 19L52 27L42 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"12",y1:"37",x2:"56",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 45L12 37L22 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),insert:"\\xrightleftharpoons{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Harpoons with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"8",y1:"27",x2:"52",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 19L52 27L42 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"12",y1:"37",x2:"56",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 45L12 37L22 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xrightleftharpoons[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Harpoons with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"8",y1:"27",x2:"52",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 19L52 27L42 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"12",y1:"37",x2:"56",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 45L12 37L22 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"28",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xrightleftharpoons[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Harpoons with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"42",x2:"34",y2:"42",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 34L12 42L24 50V44H30V40H24V34Z",fill:"#222",stroke:"none"})),insert:"\\overset{#?}{\\underset{\\leftarrow}{\\rightarrow}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"42",x2:"34",y2:"42",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 34L12 42L24 50V44H30V40H24V34Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\underset{#?}{\\underset{\\leftarrow}{\\rightarrow}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"42",x2:"34",y2:"42",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 34L12 42L24 50V44H30V40H24V34Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\overset{#?}{\\underset{#?}{\\underset{\\leftarrow}{\\rightarrow}}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"24",y1:"28",x2:"42",y2:"28",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 20L48 28L36 36V30H30V26H36V20Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"44",x2:"42",y2:"44",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 36L12 44L24 52V46H30V42H24V36Z",fill:"#222",stroke:"none"})),insert:"\\overset{#?}{\\overset{\\rightarrow}{\\leftarrow}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"24",y1:"28",x2:"42",y2:"28",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 20L48 28L36 36V30H30V26H36V20Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"44",x2:"42",y2:"44",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 36L12 44L24 52V46H30V42H24V36Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\underset{#?}{\\overset{\\rightarrow}{\\leftarrow}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"24",y1:"28",x2:"42",y2:"28",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 20L48 28L36 36V30H30V26H36V20Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"44",x2:"42",y2:"44",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 36L12 44L24 52V46H30V42H24V36Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\overset{#?}{\\underset{#?}{\\overset{\\rightarrow}{\\leftarrow}}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Above and Below Labels"}]},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"38",x2:"42",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 30L48 38L36 46V40H28V36H36V30Z",fill:"#222",stroke:"none"})),insert:"\\xrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Arrow with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"20",x2:"42",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 12L48 20L36 28V22H28V18H36V12Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"34",width:"10",height:"16",rx:"2"})),insert:"\\xrightarrow[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Arrow with underscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"32",x2:"42",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 24L48 32L36 40V34H28V30H36V24Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"44",width:"10",height:"16",rx:"2"})),insert:"\\xrightarrow[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Arrow with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#222"}},e.createElement("line",{x1:"18",y1:"32",x2:"52",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 24L12 32L24 40V34H34V30H24V24Z",fill:"#222",stroke:"none"})),insert:"\\leftarrow",cls:"symbol",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Arrow"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"18",y1:"38",x2:"52",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 30L12 38L24 46V40H34V36H24V30Z",fill:"#222",stroke:"none"})),insert:"\\xleftarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Arrow with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"18",y1:"32",x2:"52",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 24L12 32L24 40V34H34V30H24V24Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"44",width:"10",height:"16",rx:"2"})),insert:"\\xleftarrow[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Arrow with Above and Below Labels"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"24",y1:"14",x2:"42",y2:"14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 6L48 14L36 14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"24",y:"24",width:"18",height:"20",rx:"2"})),insert:"\\overrightharpoon{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Top Right Harpoon"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"16",y1:"14",x2:"48",y2:"14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 6L10 14L22 22V16H28V12H22V6Z",fill:"#222",stroke:"none"}),e.createElement("path",{d:"M42 6L54 14L42 22V16H34V12H42V6Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"24",width:"18",height:"20",rx:"2"})),insert:"\\overleftrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Top Left Right Arrow"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"20",y1:"14",x2:"42",y2:"14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 6L48 14L36 22V16H30V12H36V6Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"24",width:"18",height:"20",rx:"2"})),insert:"\\overrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Top Right Arrow"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"20",y1:"14",x2:"44",y2:"14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"24",y:"24",width:"18",height:"20",rx:"2"})),insert:"\\overline{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Overline"}]},{label:"α Ω",isTemplate:!0,items:[{type:"sep",cols:10,small:!0,cls:"cme-dark-large",moreCols:8,moreItems:[{label:"Α",insert:"A",title:"Capital Alpha"},{label:"Β",insert:"B",title:"Capital Beta"},{label:"Γ",insert:"\\Gamma",title:"Capital Gamma"},{label:"Δ",insert:"\\Delta",title:"Capital Delta"},{label:"Ε",insert:"E",title:"Capital Epsilon"},{label:"Ζ",insert:"Z",title:"Capital Zeta"},{label:"Η",insert:"H",title:"Capital Eta"},{label:"Θ",insert:"\\Theta",title:"Capital Theta"},{label:"Ι",insert:"I",title:"Capital Iota"},{label:"Κ",insert:"K",title:"Capital Kappa"},{label:"Λ",insert:"\\Lambda",title:"Capital Lambda"},{label:"Μ",insert:"M",title:"Capital Mu"},{label:"Ν",insert:"N",title:"Capital Nu"},{label:"Ξ",insert:"\\Xi",title:"Capital Xi"},{label:"Ο",insert:"O",title:"Capital Omicron"},{label:"Π",insert:"\\Pi",title:"Capital Pi"},{label:"Ρ",insert:"P",title:"Capital Rho"},{label:"Σ",insert:"\\Sigma",title:"Capital Sigma"},{label:"Τ",insert:"T",title:"Capital Tau"},{label:"Υ",insert:"\\Upsilon",title:"Capital Upsilon"},{label:"Φ",insert:"\\Phi",title:"Capital Phi"},{label:"Χ",insert:"X",title:"Capital Chi"},{label:"Ψ",insert:"\\Psi",title:"Capital Psi"},{label:"Ω",insert:"\\Omega",title:"Capital Omega"}]},{label:"α",insert:"\\alpha",title:"Alpha"},{label:"β",insert:"\\beta",title:"Beta"},{label:"γ",insert:"\\gamma",title:"Gamma"},{label:"δ",insert:"\\delta",title:"Delta"},{label:"ε",insert:"\\epsilon",title:"Epsilon"},{label:"ζ",insert:"\\zeta",title:"Zeta"},{label:"η",insert:"\\eta",title:"Eta"},{label:"θ",insert:"\\theta",title:"Theta"},{label:"ϑ",insert:"\\vartheta",title:"Vartheta"},{label:"ι",insert:"\\iota",title:"Iota"},{label:"κ",insert:"\\kappa",title:"Kappa"},{label:"λ",insert:"\\lambda",title:"Lambda"},{label:"μ",insert:"\\mu",title:"Mu"},{label:"ν",insert:"\\nu",title:"Nu"},{label:"ξ",insert:"\\xi",title:"Xi"},{label:"ο",insert:"o",title:"Omicron"},{label:"π",insert:"\\pi",title:"Pi"},{label:"ϖ",insert:"\\varpi",title:"Varpi"},{label:"ρ",insert:"\\rho",title:"Rho"},{label:"ϱ",insert:"\\varrho",title:"Varrho"},{label:"ς",insert:"\\varsigma",title:"Varsigma"},{label:"σ",insert:"\\sigma",title:"Sigma"},{label:"τ",insert:"\\tau",title:"Tau"},{label:"υ",insert:"\\upsilon",title:"Upsilon"},{label:"φ",insert:"\\phi",title:"Phi"},{label:"χ",insert:"\\chi",title:"Chi"},{label:"ψ",insert:"\\psi",title:"Psi"},{label:"ω",insert:"\\omega",title:"Omega"},{type:"sep",cols:2,small:!0,cls:"cme-dark-large",moreCols:18,moreItems:[{label:"𝔸",insert:"\\mathbb{A}",title:"Mathbb A"},{label:"𝔻",insert:"\\mathbb{D}",title:"Mathbb D"},{label:"𝔾",insert:"\\mathbb{G}",title:"Mathbb G"},{label:"𝕁",insert:"\\mathbb{J}",title:"Mathbb J"},{label:"𝕄",insert:"\\mathbb{M}",title:"Mathbb M"},{label:"ℙ",insert:"\\mathbb{P}",title:"Mathbb P"},{label:"𝕊",insert:"\\mathbb{S}",title:"Mathbb S"},{label:"𝕍",insert:"\\mathbb{V}",title:"Mathbb V"},{label:"𝕐",insert:"\\mathbb{Y}",title:"Mathbb Y"},{label:"𝕒",insert:"𝕒",title:"Mathbb a"},{label:"𝕕",insert:"𝕕",title:"Mathbb d"},{label:"𝕘",insert:"𝕘",title:"Mathbb g"},{label:"𝕛",insert:"𝕛",title:"Mathbb j"},{label:"𝕞",insert:"𝕞",title:"Mathbb m"},{label:"𝕡",insert:"𝕡",title:"Mathbb p"},{label:"𝕤",insert:"𝕤",title:"Mathbb s"},{label:"𝕧",insert:"𝕧",title:"Mathbb v"},{label:"𝕪",insert:"𝕪",title:"Mathbb y"},{label:"𝔹",insert:"\\mathbb{B}",title:"Mathbb B"},{label:"𝔼",insert:"\\mathbb{E}",title:"Mathbb E"},{label:"ℍ",insert:"\\mathbb{H}",title:"Mathbb H"},{label:"𝕂",insert:"\\mathbb{K}",title:"Mathbb K"},{label:"ℕ",insert:"\\mathbb{N}",title:"Mathbb N"},{label:"ℚ",insert:"\\mathbb{Q}",title:"Mathbb Q"},{label:"𝕋",insert:"\\mathbb{T}",title:"Mathbb T"},{label:"𝕎",insert:"\\mathbb{W}",title:"Mathbb W"},{label:"ℤ",insert:"\\mathbb{Z}",title:"Mathbb Z"},{label:"𝕓",insert:"𝕓",title:"Mathbb b"},{label:"𝕖",insert:"𝕖",title:"Mathbb e"},{label:"𝕙",insert:"𝕙",title:"Mathbb h"},{label:"𝕜",insert:"𝕜",title:"Mathbb k"},{label:"𝕟",insert:"𝕟",title:"Mathbb n"},{label:"𝕢",insert:"𝕢",title:"Mathbb q"},{label:"𝕥",insert:"𝕥",title:"Mathbb t"},{label:"𝕨",insert:"𝕨",title:"Mathbb w"},{label:"𝕫",insert:"𝕫",title:"Mathbb z"},{label:"ℂ",insert:"\\mathbb{C}",title:"Mathbb C"},{label:"𝔽",insert:"\\mathbb{F}",title:"Mathbb F"},{label:"𝕀",insert:"\\mathbb{I}",title:"Mathbb I"},{label:"𝕃",insert:"\\mathbb{L}",title:"Mathbb L"},{label:"𝕆",insert:"\\mathbb{O}",title:"Mathbb O"},{label:"ℝ",insert:"\\mathbb{R}",title:"Mathbb R"},{label:"𝕌",insert:"\\mathbb{U}",title:"Mathbb U"},{label:"𝕏",insert:"\\mathbb{X}",title:"Mathbb X"},{label:" ",insert:"",cls:"cme-empty-btn",title:""},{label:"𝕔",insert:"𝕔",title:"Mathbb c"},{label:"𝕗",insert:"𝕗",title:"Mathbb f"},{label:"𝕚",insert:"𝕚",title:"Mathbb i"},{label:"𝕝",insert:"𝕝",title:"Mathbb l"},{label:"𝕠",insert:"𝕠",title:"Mathbb o"},{label:"𝕣",insert:"𝕣",title:"Mathbb r"},{label:"𝕦",insert:"𝕦",title:"Mathbb u"},{label:"𝕩",insert:"𝕩",title:"Mathbb x"},{label:" ",insert:"",cls:"cme-empty-btn",title:""}]},{label:"ℕ",insert:"ℕ",title:"Mathbb N"},{label:"ℤ",insert:"ℤ",title:"Mathbb Z"},{label:"ℚ",insert:"ℚ",title:"Mathbb Q"},{label:"ℂ",insert:"ℂ",title:"Mathbb C"},{label:"ℝ",insert:"ℝ",title:"Mathbb R"},{label:"ℙ",insert:"ℙ",title:"Mathbb P"},{type:"sep",cols:1,small:!0,cls:"cme-dark-large",moreCols:18,moreItems:[{label:"𝔄",insert:"\\mathfrak{A}",title:"Mathfrak A"},{label:"𝔇",insert:"\\mathfrak{D}",title:"Mathfrak D"},{label:"𝔊",insert:"\\mathfrak{G}",title:"Mathfrak G"},{label:"𝔍",insert:"\\mathfrak{J}",title:"Mathfrak J"},{label:"𝔐",insert:"\\mathfrak{M}",title:"Mathfrak M"},{label:"𝔓",insert:"\\mathfrak{P}",title:"Mathfrak P"},{label:"𝔖",insert:"\\mathfrak{S}",title:"Mathfrak S"},{label:"𝔙",insert:"\\mathfrak{V}",title:"Mathfrak V"},{label:"𝔜",insert:"\\mathfrak{Y}",title:"Mathfrak Y"},{label:"𝔞",insert:"\\mathfrak{a}",title:"Mathfrak a"},{label:"𝔡",insert:"\\mathfrak{d}",title:"Mathfrak d"},{label:"𝔤",insert:"\\mathfrak{g}",title:"Mathfrak g"},{label:"𝔧",insert:"\\mathfrak{j}",title:"Mathfrak j"},{label:"𝔪",insert:"\\mathfrak{m}",title:"Mathfrak m"},{label:"𝔭",insert:"\\mathfrak{p}",title:"Mathfrak p"},{label:"𝔰",insert:"\\mathfrak{s}",title:"Mathfrak s"},{label:"𝔳",insert:"\\mathfrak{v}",title:"Mathfrak v"},{label:"𝔶",insert:"\\mathfrak{y}",title:"Mathfrak y"},{label:"𝔅",insert:"\\mathfrak{B}",title:"Mathfrak B"},{label:"𝔈",insert:"\\mathfrak{E}",title:"Mathfrak E"},{label:"ℌ",insert:"\\mathfrak{H}",title:"Mathfrak H"},{label:"𝔎",insert:"\\mathfrak{K}",title:"Mathfrak K"},{label:"𝔑",insert:"\\mathfrak{N}",title:"Mathfrak N"},{label:"𝔔",insert:"\\mathfrak{Q}",title:"Mathfrak Q"},{label:"𝔗",insert:"\\mathfrak{T}",title:"Mathfrak T"},{label:"𝔚",insert:"\\mathfrak{W}",title:"Mathfrak W"},{label:"ℨ",insert:"\\mathfrak{Z}",title:"Mathfrak Z"},{label:"𝔟",insert:"\\mathfrak{b}",title:"Mathfrak b"},{label:"𝔢",insert:"\\mathfrak{e}",title:"Mathfrak e"},{label:"𝔥",insert:"\\mathfrak{h}",title:"Mathfrak h"},{label:"𝔨",insert:"\\mathfrak{k}",title:"Mathfrak k"},{label:"𝔫",insert:"\\mathfrak{n}",title:"Mathfrak n"},{label:"𝔮",insert:"\\mathfrak{q}",title:"Mathfrak q"},{label:"𝔱",insert:"\\mathfrak{t}",title:"Mathfrak t"},{label:"𝔴",insert:"\\mathfrak{w}",title:"Mathfrak w"},{label:"𝔷",insert:"\\mathfrak{z}",title:"Mathfrak z"},{label:"ℭ",insert:"\\mathfrak{C}",title:"Mathfrak C"},{label:"𝔉",insert:"\\mathfrak{F}",title:"Mathfrak F"},{label:"ℑ",insert:"\\mathfrak{I}",title:"Mathfrak I"},{label:"𝔏",insert:"\\mathfrak{L}",title:"Mathfrak L"},{label:"𝔒",insert:"\\mathfrak{O}",title:"Mathfrak O"},{label:"ℜ",insert:"\\mathfrak{R}",title:"Mathfrak R"},{label:"𝔘",insert:"\\mathfrak{U}",title:"Mathfrak U"},{label:"𝔛",insert:"\\mathfrak{X}",title:"Mathfrak X"},{label:" ",insert:"",cls:"cme-empty-btn",title:""},{label:"𝔠",insert:"\\mathfrak{c}",title:"Mathfrak c"},{label:"𝔣",insert:"\\mathfrak{f}",title:"Mathfrak f"},{label:"𝔦",insert:"\\mathfrak{i}",title:"Mathfrak i"},{label:"𝔩",insert:"\\mathfrak{l}",title:"Mathfrak l"},{label:"𝔬",insert:"\\mathfrak{o}",title:"Mathfrak o"},{label:"𝔯",insert:"\\mathfrak{r}",title:"Mathfrak r"},{label:"𝔲",insert:"\\mathfrak{u}",title:"Mathfrak u"},{label:"𝔵",insert:"\\mathfrak{x}",title:"Mathfrak x"},{label:" ",insert:"",cls:"cme-empty-btn",title:""}]},{label:"𝔄",insert:"\\mathfrak{A}",title:"Mathfrak A"},{label:"𝔅",insert:"\\mathfrak{B}",title:"Mathfrak B"},{label:"ℭ",insert:"\\mathfrak{C}",title:"Mathfrak C"},{type:"sep",cols:1,small:!0,cls:"cme-dark-large",moreCols:18,moreItems:[{label:"𝒜",insert:"\\mathcal{A}",title:"Mathcal A"},{label:"𝒟",insert:"\\mathcal{D}",title:"Mathcal D"},{label:"𝒢",insert:"\\mathcal{G}",title:"Mathcal G"},{label:"𝒥",insert:"\\mathcal{J}",title:"Mathcal J"},{label:"ℳ",insert:"\\mathcal{M}",title:"Mathcal M"},{label:"𝒫",insert:"\\mathcal{P}",title:"Mathcal P"},{label:"𝒮",insert:"\\mathcal{S}",title:"Mathcal S"},{label:"𝒱",insert:"\\mathcal{V}",title:"Mathcal V"},{label:"𝒴",insert:"\\mathcal{Y}",title:"Mathcal Y"},{label:"𝒶",insert:"𝒶",title:"Mathcal a"},{label:"𝒹",insert:"𝒹",title:"Mathcal d"},{label:"ℊ",insert:"ℊ",title:"Mathcal g"},{label:"𝒿",insert:"𝒿",title:"Mathcal j"},{label:"𝓂",insert:"𝓂",title:"Mathcal m"},{label:"𝓅",insert:"𝓅",title:"Mathcal p"},{label:"𝓈",insert:"𝓈",title:"Mathcal s"},{label:"𝓋",insert:"𝓋",title:"Mathcal v"},{label:"𝓎",insert:"𝓎",title:"Mathcal y"},{label:"ℬ",insert:"\\mathcal{B}",title:"Mathcal B"},{label:"ℰ",insert:"\\mathcal{E}",title:"Mathcal E"},{label:"ℋ",insert:"\\mathcal{H}",title:"Mathcal H"},{label:"𝒦",insert:"\\mathcal{K}",title:"Mathcal K"},{label:"𝒩",insert:"\\mathcal{N}",title:"Mathcal N"},{label:"𝒬",insert:"\\mathcal{Q}",title:"Mathcal Q"},{label:"𝒯",insert:"\\mathcal{T}",title:"Mathcal T"},{label:"𝒲",insert:"\\mathcal{W}",title:"Mathcal W"},{label:"𝒵",insert:"\\mathcal{Z}",title:"Mathcal Z"},{label:"𝒷",insert:"𝒷",title:"Mathcal b"},{label:"ℯ",insert:"ℯ",title:"Mathcal e"},{label:"𝒽",insert:"𝒽",title:"Mathcal h"},{label:"𝓀",insert:"𝓀",title:"Mathcal k"},{label:"𝓃",insert:"𝓃",title:"Mathcal n"},{label:"𝓆",insert:"𝓆",title:"Mathcal q"},{label:"𝓉",insert:"𝓉",title:"Mathcal t"},{label:"𝓌",insert:"𝓌",title:"Mathcal w"},{label:"𝓏",insert:"𝓏",title:"Mathcal z"},{label:"𝒞",insert:"\\mathcal{C}",title:"Mathcal C"},{label:"ℱ",insert:"\\mathcal{F}",title:"Mathcal F"},{label:"ℐ",insert:"\\mathcal{I}",title:"Mathcal I"},{label:"ℒ",insert:"\\mathcal{L}",title:"Mathcal L"},{label:"𝒪",insert:"\\mathcal{O}",title:"Mathcal O"},{label:"ℛ",insert:"\\mathcal{R}",title:"Mathcal R"},{label:"𝒰",insert:"\\mathcal{U}",title:"Mathcal U"},{label:"𝒳",insert:"\\mathcal{X}",title:"Mathcal X"},{label:" ",insert:"",cls:"cme-empty-btn",title:""},{label:"𝒸",insert:"𝒸",title:"Mathcal c"},{label:"𝒻",insert:"𝒻",title:"Mathcal f"},{label:"𝒾",insert:"𝒾",title:"Mathcal i"},{label:"𝓁",insert:"𝓁",title:"Mathcal l"},{label:"ℴ",insert:"ℴ",title:"Mathcal o"},{label:"𝓇",insert:"𝓇",title:"Mathcal r"},{label:"𝓊",insert:"𝓊",title:"Mathcal u"},{label:"𝓍",insert:"𝓍",title:"Mathcal x"},{label:" ",insert:"",cls:"cme-empty-btn",title:""}]},{label:"𝒜",insert:"\\mathcal{A}",title:"Mathcal A"},{label:"ℬ",insert:"\\mathcal{B}",title:"Mathcal B"},{label:"𝒞",insert:"\\mathcal{C}",title:"Mathcal C"},{type:"sep",cols:1,small:!0,cls:"cme-dark-large",moreCols:2,moreItems:[{label:"ℵ",insert:"\\aleph",title:"Aleph"},{label:"ℐ",insert:"\\mathcal{I}",title:"Mathcal I"},{label:"℘",insert:"\\wp",title:"Wp"},{label:"ℨ",insert:"\\mathfrak{Z}",title:"Mathfrak Z"},{label:"ℱ",insert:"\\mathcal{F}",title:"Mathcal F"}]},{label:"ℑ",insert:"\\Im",title:"Im"},{label:"ℜ",insert:"\\Re",title:"Re"},{label:"ℓ",insert:"\\ell",title:"Ell"},{type:"sep",cols:2,small:!0,cls:"cme-trig-subgroup",moreCols:18,moreItems:[{label:"H",insert:"\\mathrm{H}",title:"Mathrm H",cls:"pt-unknown"},...Array.from({length:16},()=>({label:"",cls:"pt-empty"})),{label:"He",insert:"\\mathrm{He}",title:"Mathrm He",cls:"pt-noble"},{label:"Li",insert:"\\mathrm{Li}",title:"Mathrm Li",cls:"pt-alkali"},{label:"Be",insert:"\\mathrm{Be}",title:"Mathrm Be",cls:"pt-alkaline"},...Array.from({length:10},()=>({label:"",cls:"pt-empty"})),{label:"B",insert:"\\mathrm{B}",title:"Mathrm B",cls:"pt-nonmetal"},{label:"C",insert:"\\mathrm{C}",title:"Mathrm C",cls:"pt-nonmetal"},{label:"N",insert:"\\mathrm{N}",title:"Mathrm N",cls:"pt-nonmetal"},{label:"O",insert:"\\mathrm{O}",title:"Mathrm O",cls:"pt-nonmetal"},{label:"F",insert:"\\mathrm{F}",title:"Mathrm F",cls:"pt-nonmetal"},{label:"Ne",insert:"\\mathrm{Ne}",title:"Mathrm Ne",cls:"pt-noble"},{label:"Na",insert:"\\mathrm{Na}",title:"Mathrm Na",cls:"pt-alkali"},{label:"Mg",insert:"\\mathrm{Mg}",title:"Mathrm Mg",cls:"pt-alkaline"},...Array.from({length:10},()=>({label:"",cls:"pt-empty"})),{label:"Al",insert:"\\mathrm{Al}",title:"Mathrm Al",cls:"pt-metalloid"},{label:"Si",insert:"\\mathrm{Si}",title:"Mathrm Si",cls:"pt-metalloid"},{label:"P",insert:"\\mathrm{P}",title:"Mathrm P",cls:"pt-nonmetal"},{label:"S",insert:"\\mathrm{S}",title:"Mathrm S",cls:"pt-nonmetal"},{label:"Cl",insert:"\\mathrm{Cl}",title:"Mathrm Cl",cls:"pt-nonmetal"},{label:"Ar",insert:"\\mathrm{Ar}",title:"Mathrm Ar",cls:"pt-noble"},{label:"K",insert:"\\mathrm{K}",title:"Mathrm K",cls:"pt-alkali"},{label:"Ca",insert:"\\mathrm{Ca}",title:"Mathrm Ca",cls:"pt-alkaline"},{label:"Sc",insert:"\\mathrm{Sc}",title:"Mathrm Sc",cls:"pt-transition"},{label:"Ti",insert:"\\mathrm{Ti}",title:"Mathrm Ti",cls:"pt-transition"},{label:"V",insert:"\\mathrm{V}",title:"Mathrm V",cls:"pt-transition"},{label:"Cr",insert:"\\mathrm{Cr}",title:"Mathrm Cr",cls:"pt-transition"},{label:"Mn",insert:"\\mathrm{Mn}",title:"Mathrm Mn",cls:"pt-transition"},{label:"Fe",insert:"\\mathrm{Fe}",title:"Mathrm Fe",cls:"pt-transition"},{label:"Co",insert:"\\mathrm{Co}",title:"Mathrm Co",cls:"pt-transition"},{label:"Ni",insert:"\\mathrm{Ni}",title:"Mathrm Ni",cls:"pt-transition"},{label:"Cu",insert:"\\mathrm{Cu}",title:"Mathrm Cu",cls:"pt-transition"},{label:"Zn",insert:"\\mathrm{Zn}",title:"Mathrm Zn",cls:"pt-transition"},{label:"Ga",insert:"\\mathrm{Ga}",title:"Mathrm Ga",cls:"pt-metalloid"},{label:"Ge",insert:"\\mathrm{Ge}",title:"Mathrm Ge",cls:"pt-metalloid"},{label:"As",insert:"\\mathrm{As}",title:"Mathrm As",cls:"pt-nonmetal"},{label:"Se",insert:"\\mathrm{Se}",title:"Mathrm Se",cls:"pt-nonmetal"},{label:"Br",insert:"\\mathrm{Br}",title:"Mathrm Br",cls:"pt-nonmetal"},{label:"Kr",insert:"\\mathrm{Kr}",title:"Mathrm Kr",cls:"pt-noble"},{label:"Rb",insert:"\\mathrm{Rb}",title:"Mathrm Rb",cls:"pt-alkali"},{label:"Sr",insert:"\\mathrm{Sr}",title:"Mathrm Sr",cls:"pt-alkaline"},{label:"Y",insert:"\\mathrm{Y}",title:"Mathrm Y",cls:"pt-transition"},{label:"Zr",insert:"\\mathrm{Zr}",title:"Mathrm Zr",cls:"pt-transition"},{label:"Nb",insert:"\\mathrm{Nb}",title:"Mathrm Nb",cls:"pt-transition"},{label:"Mo",insert:"\\mathrm{Mo}",title:"Mathrm Mo",cls:"pt-transition"},{label:"Tc",insert:"\\mathrm{Tc}",title:"Mathrm Tc",cls:"pt-transition"},{label:"Ru",insert:"\\mathrm{Ru}",title:"Mathrm Ru",cls:"pt-transition"},{label:"Rh",insert:"\\mathrm{Rh}",title:"Mathrm Rh",cls:"pt-transition"},{label:"Pd",insert:"\\mathrm{Pd}",title:"Mathrm Pd",cls:"pt-transition"},{label:"Ag",insert:"\\mathrm{Ag}",title:"Mathrm Ag",cls:"pt-transition"},{label:"Cd",insert:"\\mathrm{Cd}",title:"Mathrm Cd",cls:"pt-transition"},{label:"In",insert:"\\mathrm{In}",title:"Mathrm In",cls:"pt-metalloid"},{label:"Sn",insert:"\\mathrm{Sn}",title:"Mathrm Sn",cls:"pt-metalloid"},{label:"Sb",insert:"\\mathrm{Sb}",title:"Mathrm Sb",cls:"pt-metalloid"},{label:"Te",insert:"\\mathrm{Te}",title:"Mathrm Te",cls:"pt-nonmetal"},{label:"I",insert:"\\mathrm{I}",title:"Mathrm I",cls:"pt-nonmetal"},{label:"Xe",insert:"\\mathrm{Xe}",title:"Mathrm Xe",cls:"pt-noble"},{label:"Cs",insert:"\\mathrm{Cs}",title:"Mathrm Cs",cls:"pt-alkali"},{label:"Ba",insert:"\\mathrm{Ba}",title:"Mathrm Ba",cls:"pt-alkaline"},{label:"",insert:"",cls:"pt-transition"},{label:"Hf",insert:"\\mathrm{Hf}",title:"Mathrm Hf",cls:"pt-transition"},{label:"Ta",insert:"\\mathrm{Ta}",title:"Mathrm Ta",cls:"pt-transition"},{label:"W",insert:"\\mathrm{W}",title:"Mathrm W",cls:"pt-transition"},{label:"Re",insert:"\\mathrm{Re}",title:"Mathrm Re",cls:"pt-transition"},{label:"Os",insert:"\\mathrm{Os}",title:"Mathrm Os",cls:"pt-transition"},{label:"Ir",insert:"\\mathrm{Ir}",title:"Mathrm Ir",cls:"pt-transition"},{label:"Pt",insert:"\\mathrm{Pt}",title:"Mathrm Pt",cls:"pt-transition"},{label:"Au",insert:"\\mathrm{Au}",title:"Mathrm Au",cls:"pt-transition"},{label:"Hg",insert:"\\mathrm{Hg}",title:"Mathrm Hg",cls:"pt-transition"},{label:"Tl",insert:"\\mathrm{Tl}",title:"Mathrm Tl",cls:"pt-metalloid"},{label:"Pb",insert:"\\mathrm{Pb}",title:"Mathrm Pb",cls:"pt-metalloid"},{label:"Bi",insert:"\\mathrm{Bi}",title:"Mathrm Bi",cls:"pt-metalloid"},{label:"Po",insert:"\\mathrm{Po}",title:"Mathrm Po",cls:"pt-metalloid"},{label:"At",insert:"\\mathrm{At}",title:"Mathrm At",cls:"pt-nonmetal"},{label:"Rn",insert:"\\mathrm{Rn}",title:"Mathrm Rn",cls:"pt-noble"},{label:"Fr",insert:"\\mathrm{Fr}",title:"Mathrm Fr",cls:"pt-alkali"},{label:"Ra",insert:"\\mathrm{Ra}",title:"Mathrm Ra",cls:"pt-alkaline"},{label:"",insert:"",cls:"pt-transition"},{label:"Rf",insert:"\\mathrm{Rf}",title:"Mathrm Rf",cls:"pt-transition"},{label:"Db",insert:"\\mathrm{Db}",title:"Mathrm Db",cls:"pt-transition"},{label:"Sg",insert:"\\mathrm{Sg}",title:"Mathrm Sg",cls:"pt-transition"},{label:"Bh",insert:"\\mathrm{Bh}",title:"Mathrm Bh",cls:"pt-transition"},{label:"Hs",insert:"\\mathrm{Hs}",title:"Mathrm Hs",cls:"pt-transition"},{label:"Mt",insert:"\\mathrm{Mt}",title:"Mathrm Mt",cls:"pt-transition"},{label:"Ds",insert:"\\mathrm{Ds}",title:"Mathrm Ds",cls:"pt-transition"},{label:"Rg",insert:"\\mathrm{Rg}",title:"Mathrm Rg",cls:"pt-transition"},{label:"Cn",insert:"\\mathrm{Cn}",title:"Mathrm Cn",cls:"pt-transition"},{label:"Nh",insert:"\\mathrm{Nh}",title:"Mathrm Nh",cls:"pt-metalloid"},{label:"Fl",insert:"\\mathrm{Fl}",title:"Mathrm Fl",cls:"pt-metalloid"},{label:"Mc",insert:"\\mathrm{Mc}",title:"Mathrm Mc",cls:"pt-metalloid"},{label:"Lv",insert:"\\mathrm{Lv}",title:"Mathrm Lv",cls:"pt-metalloid"},{label:"Ts",insert:"\\mathrm{Ts}",title:"Mathrm Ts",cls:"pt-unknown"},{label:"Og",insert:"\\mathrm{Og}",title:"Mathrm Og",cls:"pt-unknown"},...Array.from({length:18},()=>({label:"",cls:"pt-empty"})),...Array.from({length:2},()=>({label:"",cls:"pt-empty"})),{label:"La",insert:"\\mathrm{La}",title:"Mathrm La",cls:"pt-transition"},{label:"Ce",insert:"\\mathrm{Ce}",title:"Mathrm Ce",cls:"pt-lanthanide"},{label:"Pr",insert:"\\mathrm{Pr}",title:"Mathrm Pr",cls:"pt-lanthanide"},{label:"Nd",insert:"\\mathrm{Nd}",title:"Mathrm Nd",cls:"pt-lanthanide"},{label:"Pm",insert:"\\mathrm{Pm}",title:"Mathrm Pm",cls:"pt-lanthanide"},{label:"Sm",insert:"\\mathrm{Sm}",title:"Mathrm Sm",cls:"pt-lanthanide"},{label:"Eu",insert:"\\mathrm{Eu}",title:"Mathrm Eu",cls:"pt-lanthanide"},{label:"Gd",insert:"\\mathrm{Gd}",title:"Mathrm Gd",cls:"pt-lanthanide"},{label:"Tb",insert:"\\mathrm{Tb}",title:"Mathrm Tb",cls:"pt-lanthanide"},{label:"Dy",insert:"\\mathrm{Dy}",title:"Mathrm Dy",cls:"pt-lanthanide"},{label:"Ho",insert:"\\mathrm{Ho}",title:"Mathrm Ho",cls:"pt-lanthanide"},{label:"Er",insert:"\\mathrm{Er}",title:"Mathrm Er",cls:"pt-lanthanide"},{label:"Tm",insert:"\\mathrm{Tm}",title:"Mathrm Tm",cls:"pt-lanthanide"},{label:"Yb",insert:"\\mathrm{Yb}",title:"Mathrm Yb",cls:"pt-lanthanide"},{label:"Lu",insert:"\\mathrm{Lu}",title:"Mathrm Lu",cls:"pt-lanthanide"},{label:"",cls:"pt-empty"},...Array.from({length:2},()=>({label:"",cls:"pt-empty"})),{label:"Ac",insert:"\\mathrm{Ac}",title:"Mathrm Ac",cls:"pt-actinide"},{label:"Th",insert:"\\mathrm{Th}",title:"Mathrm Th",cls:"pt-actinide"},{label:"Pa",insert:"\\mathrm{Pa}",title:"Mathrm Pa",cls:"pt-actinide"},{label:"U",insert:"\\mathrm{U}",title:"Mathrm U",cls:"pt-actinide"},{label:"Np",insert:"\\mathrm{Np}",title:"Mathrm Np",cls:"pt-actinide"},{label:"Pu",insert:"\\mathrm{Pu}",title:"Mathrm Pu",cls:"pt-actinide"},{label:"Am",insert:"\\mathrm{Am}",title:"Mathrm Am",cls:"pt-actinide"},{label:"Cm",insert:"\\mathrm{Cm}",title:"Mathrm Cm",cls:"pt-actinide"},{label:"Bk",insert:"\\mathrm{Bk}",title:"Mathrm Bk",cls:"pt-actinide"},{label:"Cf",insert:"\\mathrm{Cf}",title:"Mathrm Cf",cls:"pt-actinide"},{label:"Es",insert:"\\mathrm{Es}",title:"Mathrm Es",cls:"pt-actinide"},{label:"Fm",insert:"\\mathrm{Fm}",title:"Mathrm Fm",cls:"pt-actinide"},{label:"Md",insert:"\\mathrm{Md}",title:"Mathrm Md",cls:"pt-actinide"},{label:"No",insert:"\\mathrm{No}",title:"Mathrm No",cls:"pt-actinide"},{label:"Lr",insert:"\\mathrm{Lr}",title:"Mathrm Lr",cls:"pt-actinide"},{label:"",cls:"pt-empty"}]},{label:"H",insert:"\\mathrm{H}",title:"Mathrm H",cls:"cme-small-btn"},{label:"C",insert:"\\mathrm{C}",title:"Mathrm C",cls:"cme-small-btn"},{label:"N",insert:"\\mathrm{N}",title:"Mathrm N",cls:"cme-small-btn"},{label:"O",insert:"\\mathrm{O}",title:"Mathrm O",cls:"cme-small-btn"},{label:"F",insert:"\\mathrm{F}",title:"Mathrm F",cls:"cme-small-btn"},{label:"S",insert:"\\mathrm{S}",title:"Mathrm S",cls:"cme-small-btn"}]},{label:"bmatrix",fontSize:"5px",mathLabel:"\\textstyle \\begin{bmatrix}#? & #?\\\\ #? & #?\\end{bmatrix} \\, \\begin{cases} #? \\\\ #? \\end{cases}",isMatrix:!0,items:[{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"10",y:"6",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"6",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"46",y:"6",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"10",y:"25",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"25",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"46",y:"25",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"10",y:"44",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"44",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"46",y:"44",width:"8",height:"14",rx:"1"})),insert:"matrix",cls:"template",title:"3×3 Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"8",y1:"4",x2:"8",y2:"60",stroke:"#222",strokeWidth:"4"}),e.createElement("line",{x1:"56",y1:"4",x2:"56",y2:"60",stroke:"#222",strokeWidth:"4"}),e.createElement("rect",{x:"18",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"18",y:"38",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"38",width:"8",height:"14",rx:"1"})),insert:"vmatrix",cls:"template",title:"2×2 Determinant"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M14 6H8V58H14",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M50 6H56V58H50",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"18",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"18",y:"38",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"38",width:"8",height:"14",rx:"1"})),insert:"bmatrix",cls:"template",title:"2×2 Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 6C8 16 8 48 16 58",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M48 6C56 16 56 48 48 58",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"18",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"18",y:"38",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"38",width:"8",height:"14",rx:"1"})),insert:"pmatrix",cls:"template",title:"2×2 Parenthesis Matrix"},{type:"sep",cols:3,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"28",y:"6",width:"8",height:"10",rx:"1"}),e.createElement("rect",{x:"28",y:"27",width:"8",height:"10",rx:"1"}),e.createElement("rect",{x:"28",y:"48",width:"8",height:"10",rx:"1"})),insert:"\\begin{matrix} #? \\\\ #? \\\\ #? \\end{matrix}",cls:"symbol",directInsert:!0,action:"INSERT_CUSTOM",title:"Vertical Dots"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 6H12V58H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M46 6H52V58H46",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"28",y:"10",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"38",width:"8",height:"14",rx:"1"})),insert:"\\begin{bmatrix} #? \\\\ #? \\end{bmatrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"2×1 Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 6C10 16 10 48 18 58",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M46 6C54 16 54 48 46 58",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"28",y:"10",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"38",width:"8",height:"14",rx:"1"})),insert:"\\begin{pmatrix} #? \\\\ #? \\end{pmatrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"2×1 Parenthesis Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"8",y:"24",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"24",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"48",y:"24",width:"8",height:"14",rx:"1"})),insert:"\\begin{matrix} #? \\, #? \\, #? \\end{matrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"1×3 Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 18H12V46H16",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M50 18H54V46H50",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"22",y:"22",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"22",width:"8",height:"14",rx:"1"})),insert:"\\begin{bmatrix} #? \\, #? \\end{bmatrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"1×2 Square Bracket Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 18C12 23 12 41 16 46",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M50 18C54 23 54 41 50 46",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"22",y:"22",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"22",width:"8",height:"14",rx:"1"})),insert:"\\begin{pmatrix} #? \\, #? \\end{pmatrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"1×2 Parenthesis Matrix"},{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 8C12 8 12 12 12 18V26C12 30 10 32 8 32C10 32 12 34 12 38V46C12 52 12 56 16 56",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"10",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"26",y:"34",width:"10",height:"12",rx:"1"})),insert:"\\begin{cases} #? \\\\ #? \\end{cases}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"2×1 Piecewise Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 8C12 8 12 12 12 18V26C12 30 10 32 8 32C10 32 12 34 12 38V46C12 52 12 56 16 56",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"23",y:"10",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"39",y:"10",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"23",y:"34",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"39",y:"34",width:"10",height:"12",rx:"1"})),insert:"\\begin{cases} #? \\, #? \\\\ #? \\, #? \\end{cases}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"2×2 Piecewise Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"26",y:"10",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"26",y:"34",width:"10",height:"12",rx:"1"}),e.createElement("path",{d:"M48 8C52 8 52 12 52 18V26C52 30 54 32 56 32C54 32 52 34 52 38V46C52 52 52 56 48 56",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left.\\begin{matrix} #? \\\\ #? \\end{matrix}\\right\\}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Piecewise Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"8",y:"8",width:"12",height:"12",rx:"1"}),e.createElement("line",{x1:"26",y1:"12",x2:"38",y2:"12",stroke:"#222",strokeWidth:"3"}),e.createElement("line",{x1:"26",y1:"16",x2:"38",y2:"16",stroke:"#222",strokeWidth:"3"}),e.createElement("rect",{x:"44",y:"6",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"8",y:"40",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"24",y1:"46",x2:"36",y2:"46",stroke:"#222",strokeWidth:"3"}),e.createElement("line",{x1:"24",y1:"50",x2:"36",y2:"50",stroke:"#222",strokeWidth:"3"}),e.createElement("rect",{x:"42",y:"38",width:"12",height:"12",rx:"1"})),insert:"\\begin{aligned} #? &= #? \\\\ #? &= #? \\end{aligned}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"System of Equations"},{type:"sep",cols:2,cls:"cme-trig-subgroup"},{label:"⋮",insert:"\\vdots",title:"Vertical ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋰",insert:"⋰",title:"Upright diagonal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"…",insert:"\\ldots",title:"Horizontal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋱",insert:"\\ddots",title:"Down-right diagonal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{type:"sep",cols:1,fontSize:"8px",cls:"cme-matrix-subgroup",moreCols:3,moreItems:[{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 -6 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("rect",{x:"40",y:"-2",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"18",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"46",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"8",y1:"38",x2:"54",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"})),insert:"\\class{cme-col-op-wrapper}{\\class{cme-col-op-val1}{#?}\\class{cme-col-op-op}{\\,}\\class{cme-col-op-val2}{#?}\\class{cme-col-op-result}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction Template"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 -6 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("rect",{x:"40",y:"-2",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"18",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"46",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"8",y1:"38",x2:"54",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"10",y1:"26",x2:"26",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"})),insert:"\\class{cme-col-op-wrapper}{\\class{cme-col-op-val1}{#?}\\class{cme-col-op-op}{-}\\class{cme-col-op-val2}{#?}\\class{cme-col-op-result}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction with Subtraction"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 -6 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("rect",{x:"40",y:"-2",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"18",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"46",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"8",y1:"38",x2:"54",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"11",y1:"19",x2:"25",y2:"33",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"25",y1:"19",x2:"11",y2:"33",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"})),insert:"\\class{cme-col-op-wrapper}{\\class{cme-col-op-val1}{#?}\\class{cme-col-op-op}{×}\\class{cme-col-op-val2}{#?}\\class{cme-col-op-result}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction with Multiplication"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 0 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"4",y:"8",width:"10",height:"16",rx:"1"}),e.createElement("path",{d:"M30 4V30H56",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"40",y:"8",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"40",width:"10",height:"16",rx:"1"})),insert:"\\class{cme-lshape-wrapper}{\\class{cme-lshape-div1}{#?}\\class{cme-lshape-val1}{#?}\\class{cme-lshape-val2}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Long Division"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 0 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"4",y:"8",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"4",y:"44",width:"10",height:"16",rx:"1"}),e.createElement("path",{d:"M30 4V36H58",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"44",y:"8",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"44",y:"44",width:"10",height:"16",rx:"1"})),insert:"\\class{cme-lshape-wrapper}{\\class{cme-lshape-div1}{#?}\\class{cme-lshape-val1}{#?}\\class{cme-lshape-div2}{#?}\\class{cme-lshape-val2}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Long Division with Four Terms"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 0 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"40",y:"0",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"30",y1:"20",x2:"54",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M26 18C34 25 34 47 26 54",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"6",y:"28",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"28",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"52",width:"10",height:"16",rx:"1"})),insert:"\\class{cme-longdiv-wrapper}{\\class{cme-longdiv-divisor}{#?}\\class{cme-longdiv-quotient}{#?}\\class{cme-longdiv-dividend}{#?}\\class{cme-longdiv-remainder}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Root with Fraction and Subscript"}]},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 -6 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("rect",{x:"40",y:"-2",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"18",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"46",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"8",y1:"38",x2:"54",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"18",y1:"18",x2:"18",y2:"34",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"10",y1:"26",x2:"26",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"})),insert:"\\class{cme-col-op-wrapper}{\\class{cme-col-op-val1}{#?}\\class{cme-col-op-op}{+}\\class{cme-col-op-val2}{#?}\\class{cme-col-op-result}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction with Addition"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 0 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"40",y:"0",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"30",y1:"20",x2:"54",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M26 18C34 25 34 47 26 54",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"6",y:"28",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"28",width:"10",height:"16",rx:"1"})),insert:"\\class{cme-longdiv-wrapper}{\\class{cme-longdiv-divisor}{#?}\\class{cme-longdiv-quotient}{#?}\\class{cme-longdiv-dividend}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Root with Fraction"}]},{label:"□̅",fontSize:"9px",mathLabel:"{#?}^{#?} \\, \\overset{#?}{#?}",isTemplate:!0,items:[{type:"sep",cols:2,small:!0,cls:"cme-trig-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"2",width:"18",height:"20",rx:"2"}),e.createElement("line",{x1:"6",y1:"32",x2:"50",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"18",y:"40",width:"18",height:"20",rx:"2"})),insert:"\\frac{#0}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"22",y:"8",width:"12",height:"14",rx:"2"}),e.createElement("line",{x1:"6",y1:"32",x2:"50",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"22",y:"40",width:"12",height:"14",rx:"2"})),insert:"\\tfrac{#?}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"5",y:"16",width:"18",height:"20",rx:"1"}),e.createElement("line",{x1:"26",y1:"50",x2:"40",y2:"18",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"38",y:"34",width:"18",height:"20",rx:"1"})),insert:"{\\large {}^{#?}/_{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Text Fraction"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"14",y:"16",width:"12",height:"16",rx:"1"}),e.createElement("line",{x1:"26",y1:"50",x2:"40",y2:"18",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"38",y:"34",width:"12",height:"16",rx:"1"})),insert:"{\\scriptsize {}^{#?}/_{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Text Fraction"},{type:"sep",cols:1,small:!0,cls:"cme-trig-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M6 34 L14 34 L20 50 L30 10 L54 10",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"36",y:"18",width:"16",height:"20",rx:"2"})),insert:"\\sqrt{#0}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Square Root"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M6 36 L14 36 L20 50 L30 10 L56 10",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"12",y:"16",width:"8",height:"12",rx:"2"}),e.createElement("rect",{x:"40",y:"22",width:"12",height:"22",rx:"2"})),insert:"\\sqrt[#?]{#0}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Nth Root Fraction"},{type:"sep",cols:3,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"32",y:"10",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Raised Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"32",y:"10",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"32",y:"36",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"{#?}_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Raised Box with Subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"14",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"36",y:"28",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"{#?}_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Lowered Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"10",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"30",y:"22",width:"12",height:"20",rx:"1"})),insert:"{}^{#?}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Lowered Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"8",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"18",y:"36",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"30",y:"20",width:"12",height:"20",rx:"1"})),insert:"{}_{#?}^{#?}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Superscript and Subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"28",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"30",y:"10",width:"12",height:"20",rx:"1"})),insert:"{}_{#?}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Lower Left Box"},{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"23",y:"28",width:"12",height:"20",rx:"1"})),insert:"\\overset{\\raisebox{2px}{#?}}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Superscript Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 4 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"19",y:"28",width:"12",height:"18",rx:"1"}),e.createElement("rect",{x:"21",y:"52",width:"8",height:"12",rx:"1",opacity:"0.45"})),insert:"\\underset{\\raisebox{-5px}{#?}}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Subscript Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"8",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"22",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"24",y:"48",width:"8",height:"12",rx:"1",opacity:"0.45"})),insert:"\\overset{\\raisebox{2px}{#?}}{\\underset{\\raisebox{-5px}{#?}}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Superscript and Subscript"},{type:"sep",cols:1,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"26",y:"4",width:"12",height:"20",rx:"1"}),e.createElement("path",{d:"M10 34H24C28 34 30 36 32 40C34 36 36 34 40 34H54M10 34V28M54 34V28",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"46",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\underbrace{#?}_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Underbrace"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"27",y:"2",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("path",{d:"M10 36V30H24C28 30 30 28 32 24C34 28 36 30 40 30H54V36",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"40",width:"12",height:"20",rx:"1"})),insert:"\\overbrace{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Overbrace"},{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"19",y:"1",width:"10",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"16",y:"20",width:"16",height:"24",rx:"1",stroke:"#222"}),e.createElement("rect",{x:"19",y:"50",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\overset{\\raisebox{0.1em}{#?}}{\\underset{\\raisebox{-0.3em}{#?}}{\\Large #?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Large Box with Superscript and Subscript"},{label:e.createElement("svg",{viewBox:"0 0 24 24",width:"20",height:"20"},e.createElement("rect",{x:"1",y:"1",width:"14",height:"22",fill:"none",stroke:"currentColor",strokeWidth:"2"}),e.createElement("rect",{x:"17",y:"1",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"}),e.createElement("rect",{x:"17",y:"17",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"})),forceLabel:!0,insert:"{\\style{font-size:1.8em; transform: scale(0.9, 1.2); display: inline-block; padding: 0.2em 0;}{#?}}_{#?}^{\\raisebox{0.6em}{#?}}",isWidget:!0,title:"Subscript and superscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"16",y:"4",width:"16",height:"24",rx:"1",stroke:"#222"}),e.createElement("rect",{x:"19",y:"40",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\underset{\\raisebox{-0.3em}{#?}}{\\Large #?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Large Box with Subscript"},{label:e.createElement("svg",{viewBox:"0 0 24 24",width:"20",height:"20"},e.createElement("rect",{x:"1",y:"1",width:"14",height:"22",fill:"none",stroke:"currentColor",strokeWidth:"2"}),e.createElement("rect",{x:"17",y:"17",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"})),forceLabel:!0,insert:"{\\style{font-size:1.8em; transform: scale(0.9, 1.2); display: inline-block; padding: 0.2em 0;}{#?}}_{#?}",isWidget:!0,title:"Subscript"},{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"18",viewBox:"0 0 26 18",fill:"none",stroke:"currentColor",strokeWidth:"1.5",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"2",y:"2",width:"6",height:"12",rx:"1"}),e.createElement("rect",{x:"18",y:"2",width:"6",height:"12",rx:"1"})),insert:"\\enspace",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Horizontal Phantom Space"},{label:e.createElement("svg",{width:"20",height:"18",viewBox:"0 0 20 18",fill:"none",stroke:"currentColor",strokeWidth:"1.5",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",marginLeft:"13px"}},e.createElement("rect",{x:"2",y:"2",width:"6",height:"12",rx:"1"}),e.createElement("rect",{x:"10",y:"2",width:"6",height:"12",rx:"1"})),insert:"\\,",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Thin Space"},{label:e.createElement("svg",{width:"16",height:"18",viewBox:"0 0 16 18",fill:"none",stroke:"currentColor",strokeWidth:"1.5",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"2",y:"2",width:"6",height:"12",rx:"1"}),e.createElement("rect",{x:"8",y:"2",width:"6",height:"12",rx:"1"})),insert:"\\!",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Negative Thin Space"}]},{label:"( )",fontSize:"9px",isTemplate:!0,mathLabel:"\\left( #? \\right) \\, \\overparen{#?}",items:[{type:"sep",cols:3,small:!0,moreCols:2,cls:"cme-matrix-subgroup",moreItems:[{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M12 12V52H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M52 12V52H46",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left\\lfloor#0\\right\\rfloor",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Floor Brackets"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 18L2 29L10 40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"16",y:"18",width:"10",height:"20",rx:"1"}),e.createElement("line",{x1:"32",y1:"18",x2:"32",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"42",y:"18",width:"10",height:"20",rx:"1"}),e.createElement("path",{d:"M54 18L62 29L54 40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),insert:"\\left\\langle#?\\mid#?\\right\\rangle",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Angle Brackets with Vertical Bar"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M12 52V12H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M52 52V12H46",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left\\lceil#0\\right\\rceil",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Ceiling Brackets"}]},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 12 Q8 32 18 52",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M46 12 Q56 32 46 52",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left(#0\\right)",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Parentheses"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"16",y1:"12",x2:"16",y2:"52",stroke:"#222",strokeWidth:"4"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("line",{x1:"48",y1:"12",x2:"48",y2:"52",stroke:"#222",strokeWidth:"4"})),insert:"\\left|#0\\right|",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"vertical bars"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 14L6 32L18 50",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"26",y:"19",width:"12",height:"20",rx:"1"}),e.createElement("path",{d:"M46 14L58 32L46 50",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),insert:"\\left\\langle #? \\right\\rangle",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Angle Brackets"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 12H12V52H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M46 12H52V52H46",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left[#0\\right]",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Square Brackets"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"10",y1:"12",x2:"10",y2:"52",stroke:"#222",strokeWidth:"4"}),e.createElement("line",{x1:"16",y1:"12",x2:"16",y2:"52",stroke:"#222",strokeWidth:"4"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"20",rx:"1"}),e.createElement("line",{x1:"48",y1:"12",x2:"48",y2:"52",stroke:"#222",strokeWidth:"4"}),e.createElement("line",{x1:"54",y1:"12",x2:"54",y2:"52",stroke:"#222",strokeWidth:"4"})),insert:"\\left\\Vert#?\\right\\Vert",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Double Vertical Bars"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M20 12C16 12 16 18 18 22C19 24 19 26 16 29C19 32 19 34 18 36C16 40 16 46 20 52",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M44 12C48 12 48 18 46 22C45 24 45 26 48 29C45 32 45 34 46 36C48 40 48 46 44 52",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"})),insert:"\\left\\{#0\\right\\}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Curly Braces"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 26V20H24C28 20 30 18 32 14C34 18 36 20 40 20H54V26",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overbrace{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Overbrace"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 26C10 14 54 14 54 26",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overgroup{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Overgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 44H24C28 44 30 46 32 50C34 46 36 44 40 44H54M10 44V38M54 44V38",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"14",width:"12",height:"20",rx:"1"})),insert:"\\underbrace{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Underbrace"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 38C10 50 54 50 54 38",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"14",width:"12",height:"20",rx:"1"})),insert:"\\undergroup{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Undergroup"},{type:"sep",cols:3,small:!0,cls:"cme-symbol-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 20H48M40 12L48 20",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overrightharpoon{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right harpoon accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 20H48M40 12L48 20M40 28L48 20",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Arrow accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 20H48M40 12L48 20M40 28L48 20M24 12L16 20M24 28L16 20",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overleftrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left-right arrow accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 20H46",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overline{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Bar accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 24L32 12L46 24",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\class{cme-wide-hat-text}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Wide hat"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M22 20 Q27 16 32 20 T42 20",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\tilde{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Tilde accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M28 18v0M36 18v0",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\ddot{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Diaeresis accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M32 18v0",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\dot{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Dot accent"},{type:"sep",cols:3,small:!0,cls:"cme-matrix-subgroup",moreItems:[{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M4 2 H20 V22",stroke:"#666",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\class{cme-enclose-actuarial}{#?}",title:"Enclose actuarial"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"4",y:"2",width:"16",height:"20",rx:"8",ry:"8",stroke:"#666",strokeWidth:"2",fill:"none"}),e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\class{cme-enclose-roundedbox}{#?}",title:"Enclose rounded box"}]},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 20H46",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overline{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Bar accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"16",y1:"12",x2:"16",y2:"52",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"28",y:"18",width:"14",height:"28",rx:"2"})),insert:"\\left| #? \\right.",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Enclosed left"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"4",y:"2",width:"16",height:"20",stroke:"#666",strokeWidth:"2",fill:"none"}),e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\class{cme-enclose-box}{#?}",forceLabel:!0,title:"Enclosed box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"18",y1:"46",x2:"46",y2:"46",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"20",width:"12",height:"20",rx:"1"})),insert:"\\underline{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Enclosed bottom"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"48",y1:"12",x2:"48",y2:"52",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"22",y:"18",width:"14",height:"28",rx:"2"})),insert:"\\left. #? \\right|",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Enclosed right"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("ellipse",{cx:"12",cy:"12",rx:"9",ry:"11",stroke:"#666666",strokeWidth:"2",fill:"none"}),e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\class{cme-enclose-circle}{#?}",forceLabel:!0,title:"Enclose circle"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup",moreCols:2,moreItems:[{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"12",y1:"3",x2:"12",y2:"21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-vertical-strike}{#?}",title:"Vertical strike"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M3 22 Q11 12 3 2 H21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"11",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:") \\!\\! \\overline{\\vphantom{1}\\;\\;#?\\;}",directInsert:!0,title:"Long division"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"6",y1:"12",x2:"18",y2:"12",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"}),e.createElement("line",{x1:"12",y1:"3",x2:"12",y2:"21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-horizontal-vertical-strike}{#?}",title:"Horizontal and vertical strike"}]},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"9",y1:"21",x2:"15",y2:"3",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-cancel-strike}{#0}",forceLabel:!0,title:"Cancel strike"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"6",y1:"12",x2:"18",y2:"12",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-horizontal-strike}{#?}",forceLabel:!0,title:"Horizontal strike"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"9",y1:"3",x2:"15",y2:"21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-down-strike}{#0}",forceLabel:!0,title:"Down diagonal strike"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"9",y1:"21",x2:"15",y2:"3",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"}),e.createElement("line",{x1:"9",y1:"3",x2:"15",y2:"21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-cross-strike}{#?}",forceLabel:!0,title:"Cross strike"}]},{label:"∑ ⋃ ",fontSize:"8px",mathLabel:"\\sum \\, \\bigcup",isTemplate:!0,items:[{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M44 16 L22 16 L34 32 L22 48 L44 48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"27",y:"-3",width:"10",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"27",y:"56",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\sum_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Summation with limits"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M38 16 L16 16 L28 32 L16 48 L38 48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"42",y:"2",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"42",y:"39",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\sum\\nolimits_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Summation with side limits"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M44 16 L22 16 L34 32 L22 48 L44 48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"27",y:"54",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\sum_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Summation with subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M38 16 L16 16 L28 32 L16 48 L38 48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"42",y:"39",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\sum\\nolimits_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Summation with side subscript"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M18 16 H46 M22 16 V48 M42 16 V48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"27",y:"-2",width:"10",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"27",y:"50",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\prod_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Product with limits"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M12 16 H40 M16 16 V48 M36 16 V48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"44",y:"4",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"44",y:"44",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\prod\\nolimits_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Product with side limits"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M18 16 H46 M22 16 V48 M42 16 V48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"27",y:"50",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\prod_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Product with subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M12 16 H40 M16 16 V48 M36 16 V48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"44",y:"39",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\prod\\nolimits_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Product with side subscript"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"8",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"22",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"24",y:"48",width:"8",height:"12",rx:"1",opacity:"0.45"})),insert:"\\overset{#?}{\\underset{\\raisebox{-4px}{#?}}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Over and underscript"},{label:e.createElement("svg",{viewBox:"0 0 24 24",width:"20",height:"20"},e.createElement("rect",{x:"1",y:"1",width:"14",height:"22",fill:"none",stroke:"currentColor",strokeWidth:"2"}),e.createElement("rect",{x:"17",y:"1",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"}),e.createElement("rect",{x:"17",y:"17",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"})),forceLabel:!0,insert:"{\\style{font-size:1.8em; transform: scale(0.9, 1.2); display: inline-block; padding: 0.2em 0;}{#?}}_{#?}^{\\raisebox{0.6em}{#?}}",isWidget:!0,title:"Subscript and superscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 4 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"19",y:"28",width:"12",height:"18",rx:"1"}),e.createElement("rect",{x:"21",y:"52",width:"8",height:"12",rx:"1",opacity:"0.45"})),insert:"\\underset{\\raisebox{-4px}{#?}}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Underscript"},{label:e.createElement("svg",{viewBox:"0 0 24 24",width:"20",height:"20"},e.createElement("rect",{x:"1",y:"1",width:"14",height:"22",fill:"none",stroke:"currentColor",strokeWidth:"2"}),e.createElement("rect",{x:"17",y:"17",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"})),forceLabel:!0,insert:"{\\style{font-size:1.8em; transform: scale(0.9, 1.2); display: inline-block; padding: 0.2em 0;}{#?}}_{#?}",isWidget:!0,title:"Subscript"},{type:"sep",cols:1,small:!0,cls:"cme-matrix-subgroup",moreCols:3,moreItems:[{label:"⨅",insert:"⨅",title:"Big square cap"},{label:"∏",insert:"∏",title:"Product"},{label:"∑",insert:"∑",title:"Summation"},{label:"⨆",insert:"⨆",title:"Big square cup"},{label:"∐",insert:"∐",title:"Coproduct"}]},{label:"⋃",insert:"\\bigcup",title:"Big union"},{label:"⋂",insert:"\\bigcap",title:"Big intersection"}]},{label:"∫ lim",fontSize:"7px",mathLabel:"\\int_{#?}^{#?} \\, \\lim",isTemplate:!0,items:[{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"24",height:"26",viewBox:"0 0 44 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"4",y:"54",fontFamily:"serif",fontSize:"58",fontStyle:"italic",fill:"#222",stroke:"none",transform:"rotate(10, 14, 32)"},"∫"),e.createElement("rect",{x:"24",y:"10",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"}),e.createElement("rect",{x:"16",y:"46",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"})),insert:"\\int_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Int"},{label:e.createElement("svg",{width:"40",height:"26",viewBox:"0 0 96 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"4",y:"54",fontFamily:"serif",fontSize:"58",fontStyle:"italic",fill:"#222",stroke:"none",transform:"rotate(10, 14, 32)"},"∫"),e.createElement("rect",{x:"24",y:"10",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"}),e.createElement("rect",{x:"16",y:"46",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"}),e.createElement("rect",{x:"42",y:"24",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("text",{x:"62",y:"38",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",stroke:"none"},"d"),e.createElement("rect",{x:"76",y:"24",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\int_{#?}^{#?} #0 \\, d#?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Definite integral"},{label:e.createElement("svg",{width:"24",height:"26",viewBox:"0 0 44 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"4",y:"54",fontFamily:"serif",fontSize:"58",fontStyle:"italic",fill:"#222",stroke:"none",transform:"rotate(10, 14, 32)"},"∫"),e.createElement("rect",{x:"16",y:"46",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"})),insert:"\\int_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Integral with subscript"},{label:e.createElement("svg",{width:"40",height:"26",viewBox:"0 0 96 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"4",y:"54",fontFamily:"serif",fontSize:"58",fontStyle:"italic",fill:"#222",stroke:"none",transform:"rotate(10, 14, 32)"},"∫"),e.createElement("rect",{x:"16",y:"46",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"}),e.createElement("rect",{x:"42",y:"24",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("text",{x:"62",y:"38",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",stroke:"none"},"d"),e.createElement("rect",{x:"76",y:"24",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\int_{#?} #?\\,d#?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Integral with subscript and differential"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"32",y:"42",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"36",fill:"#222",textAnchor:"middle"},"d")),insert:"\\mathrm{d}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Mathrm d"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("line",{x1:"8",y1:"32",x2:"56",y2:"32",stroke:"#222",strokeWidth:"3"}),e.createElement("text",{x:"22",y:"24",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",textAnchor:"middle"},"d"),e.createElement("rect",{x:"32",y:"8",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("text",{x:"22",y:"54",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",textAnchor:"middle"},"d"),e.createElement("rect",{x:"32",y:"38",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\frac{d#?}{d#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Derivative"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"32",y:"44",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"36",fill:"#222",textAnchor:"middle"},"∂")),insert:"∂",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Partial differential"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("line",{x1:"8",y1:"32",x2:"56",y2:"32",stroke:"#222",strokeWidth:"3"}),e.createElement("text",{x:"22",y:"24",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",textAnchor:"middle"},"∂"),e.createElement("rect",{x:"32",y:"8",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("text",{x:"22",y:"54",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",textAnchor:"middle"},"∂"),e.createElement("rect",{x:"32",y:"38",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\class{cme-partial-derivative}{\\frac{∂#?}{∂#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Partial derivative"},{type:"sep",cols:1,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("text",{x:"32",y:"32",fill:"#222",stroke:"none",fontSize:"24",fontFamily:"serif",textAnchor:"middle"},"lim"),e.createElement("rect",{x:"14",y:"40",width:"10",height:"14",rx:"1",opacity:"0.45"}),e.createElement("text",{x:"28",y:"52",fill:"#222",stroke:"none",fontSize:"16",fontFamily:"sans-serif"},"→"),e.createElement("text",{x:"44",y:"52",fill:"#222",stroke:"none",fontSize:"18",fontFamily:"serif"},"∞")),insert:"\\lim_{#?\\to\\infty}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Limit to infinity"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("text",{x:"32",y:"32",fill:"#222",stroke:"none",fontSize:"24",fontFamily:"serif",textAnchor:"middle"},"lim"),e.createElement("rect",{x:"24",y:"40",width:"16",height:"16",rx:"1",opacity:"0.45"})),insert:"\\lim_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Limit"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M12 24 L28 24 L20 40 Z",stroke:"#222",strokeWidth:"3",fill:"none",strokeLinejoin:"round"}),e.createElement("path",{d:"M34 26 L46 38 M46 26 L34 38",stroke:"#222",strokeWidth:"3",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"50",y:"22",width:"12",height:"20",rx:"1"})),insert:"\\nabla\\times #?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Curl"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M16 24 L36 24 L26 44 Z",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinejoin:"round"}),e.createElement("rect",{x:"44",y:"24",width:"16",height:"20",rx:"1"})),insert:"\\nabla #?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Gradient"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M12 24 L28 24 L20 40 Z",stroke:"#222",strokeWidth:"3",fill:"none",strokeLinejoin:"round"}),e.createElement("circle",{cx:"38",cy:"32",r:"3",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"46",y:"22",width:"12",height:"20",rx:"1"})),insert:"\\nabla\\cdot #?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Divergence"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M26 16 L12 44 L40 44 Z",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinejoin:"round"}),e.createElement("rect",{x:"46",y:"24",width:"16",height:"20",rx:"1"})),insert:"\\Delta #?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Laplacian"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup",moreItems:[{label:"∭",insert:"\\iiint",title:"Triple integral"},{label:"∰",insert:"\\mathop{{\\style{font-size:1em;}{\\iiint}}\\mkern-28mu\\class{wider-circle}{\\bigcirc}\\mkern18mu}",title:"Closed volume integral"}]},{label:e.createElement("svg",{width:"14",height:"26",viewBox:"0 0 32 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"22",y:"54",transform:"skewX(-15)",fontFamily:"serif",fontSize:"58",fontWeight:"normal",fill:"#222",stroke:"none",textAnchor:"middle"},"∫")),forceLabel:!0,insert:"\\int",title:"Integral"},{label:e.createElement("svg",{width:"14",height:"26",viewBox:"0 0 32 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"16",y:"54",fontFamily:"serif",fontSize:"58",fontWeight:"normal",fill:"#222",stroke:"none",textAnchor:"middle"},"∬")),forceLabel:!0,insert:"\\iint",title:"Double integral"},{label:e.createElement("svg",{width:"14",height:"26",viewBox:"0 0 32 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"16",y:"54",fontFamily:"serif",fontSize:"58",fontWeight:"normal",fill:"#222",stroke:"none",textAnchor:"middle"},"∮")),forceLabel:!0,insert:"\\oint",title:"Contour integral"},{label:e.createElement("svg",{width:"14",height:"26",viewBox:"0 0 32 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"16",y:"54",fontFamily:"serif",fontSize:"58",fontWeight:"normal",fill:"#222",stroke:"none",textAnchor:"middle"},"∯")),forceLabel:!0,insert:"\\mathop{{\\style{font-size:1em;}{\\iint}}\\mkern-23mu\\class{wide-circle}{\\bigcirc}\\mkern14mu}",title:"Custom surface integral"},{type:"sep",cols:3,cls:"cme-trig-subgroup",moreCols:"3",moreItems:[{label:"csc",insert:"\\csc\\left(#?\\right)",title:"Cosecant"},{label:"sec",insert:"\\sec\\left(#?\\right)",title:"Secant"},{label:"cot",insert:"\\cot\\left(#?\\right)",title:"Cotangent"},{label:"sin⁻¹",insert:"\\sin^{-1}",title:"Inverse sine"},{label:"cos⁻¹",insert:"\\cos^{-1}",title:"Inverse cosine"},{label:"tan⁻¹",insert:"\\tan^{-1}",title:"Inverse tangent"}]},{label:"sin",insert:"\\sin",title:"Sine"},{label:"cos",insert:"\\cos",title:"Cosine"},{label:"tan",insert:"\\tan",title:"Tangent"},{label:"log",insert:"\\log",title:"Logarithm"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"2",y:"42",fontFamily:"serif",fontSize:"28",fill:"#222",stroke:"none"},"log"),e.createElement("rect",{x:"42",y:"36",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"})),insert:"\\log_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Logarithm with base"},{label:"ln",insert:"\\ln",title:"Natural logarithm"}]}];function nt(l=""){let n=String(l).trim();const s=n.match(/^\\ce\{([\s\S]*)\}$/);let a=s?s[1]:n;if(a.includes("\\class{cme-")||a.includes("\\xleftrightarrows")||a.includes("\\xleftrightharpoons")||a.includes("\\enclose")||a.includes("\\{")||a.includes("\\}")||a.includes("\\lbrace")||a.includes("\\rbrace"))return a;const o=a.replace(/\\left\[/g,"[").replace(/\\right\]/g,"]").replace(/\\lbrack\b/g,"[").replace(/\\rbrack\b/g,"]").replace(/\\left\(/g,"(").replace(/\\right\)/g,")").replace(/\\left\|/g,"|").replace(/\\right\|/g,"|").replace(/\\left\./g,"").replace(/\\right\./g,"").replace(/\\text\{([^}]*)\}/g,"$1").replace(/\$/g,"").trim();return o?`\\ce{${o}}`:""}function ye(l){return l==="matrix"?"\\begin{matrix} \\placeholder{} & \\placeholder{} \\\\ \\placeholder{} & \\placeholder{} \\end{matrix}":l==="bmatrix"?"\\begin{bmatrix} \\placeholder{} & \\placeholder{} \\\\ \\placeholder{} & \\placeholder{} \\end{bmatrix}":l==="pmatrix"?"\\begin{pmatrix} \\placeholder{} & \\placeholder{} \\\\ \\placeholder{} & \\placeholder{} \\end{pmatrix}":l==="vmatrix"?"\\begin{vmatrix} \\placeholder{} & \\placeholder{} \\\\ \\placeholder{} & \\placeholder{} \\end{vmatrix}":l.replace(/#0|#\?/g,"\\placeholder{}")}class ot extends ke.Plugin{static get pluginName(){return"MathInlinePlugin"}static get requires(){return[ke.Widget]}init(){const n=this.editor;n.model.schema.register("mathInline",{isInline:!0,isObject:!0,allowWhere:"$text",allowAttributes:["latex"]}),n.model.schema.addChildCheck((a,o)=>{if(o.name==="mathInline")return!0}),n.conversion.for("editingDowncast").elementToElement({model:"mathInline",view:(a,{writer:o})=>{const m=a.getAttribute("latex")||"",b="math-"+Math.random().toString(36).substr(2,9);window.__ckMathWidgets.set(b,a);const d=o.createContainerElement("span",{class:"ck-math-widget ck-math-inline-word",contenteditable:"false","data-math-id":b,"data-latex":m}),E=o.createRawElement("span",{class:"ck-math-widget-inner",style:"display:inline-block;vertical-align:middle;margin:0;cursor:pointer;width:auto;max-width:100%;pointer-events:none;"},L=>{const k=document.createElement("math-field");k.setAttribute("math-virtual-keyboard-policy","manual"),k.setAttribute("tabindex","-1"),k.style.display="inline-block",k.style.width="auto",k.style.maxWidth="100%",k.style.verticalAlign="middle",k.style.border="none",k.style.background="transparent",k.style.outline="none",k.style.fontSize="inherit",k.style.minHeight="auto",k.style.padding="0",k.style.margin="0",k.style.pointerEvents="none";const x=()=>{if(!k.isConnected){requestAnimationFrame(x);return}window.__cme_macros&&(k.macros={...k.macros,...window.__cme_macros});let y=xe(se(G(we(m))));(y.includes("\\enclose")||y.includes("\\xleftrightarrows")||y.includes("\\xleftrightharpoons")||y.includes("\\class{cme-")||y.includes("\\{")||y.includes("\\}")||y.includes("\\lbrace")||y.includes("\\rbrace"))&&/^\\ce\{[\s\S]*\}$/i.test(y.trim())&&(y=y.trim().replace(/^\\ce\{([\s\S]*)\}$/i,"$1"));try{k.setValue?k.setValue("",{silenceNotifications:!0}):k.value="",k.executeCommand(["insert",y,{insertionMode:"replaceAll"}])}catch(f){console.error("[CKMathWidget] executeCommand failed, falling back to setValue:",f);try{k.setValue?k.setValue(y,{silenceNotifications:!0}):k.value=y}catch(A){console.error("[CKMathWidget] setValue also failed:",A)}}k.setAttribute("read-only","")};customElements.get("math-field")?requestAnimationFrame(x):customElements.whenDefined("math-field").then(()=>requestAnimationFrame(x)),L.appendChild(k);const u=()=>{const y=L.parentElement;y&<(n,y)};u(),requestAnimationFrame(u)});return o.insert(o.createPositionAt(d,0),E),ke.toWidget(d,o,{label:"math formula"})}});const s=n.editing.view.document;this.listenTo(s,"mousedown",(a,o)=>{const m=$e(o.domTarget);m&&o.domEvent.button===0&&(a.stop(),o.preventDefault(),He(n,null,he(m),m))},{priority:"high"}),n.conversion.for("editingDowncast").add(a=>{a.on("attribute:latex:mathInline",(o,m,b)=>{if(!b.consumable.consume(m.item,o.name))return;const d=b.writer,E=b.mapper.toViewElement(m.item);if(E){d.setAttribute("data-latex",m.attributeNewValue,E);const L=n.editing.view.domConverter.mapViewToDom(E);if(L){const k=L.querySelector("math-field");if(k){let x=xe(se(G(we(m.attributeNewValue))));(x.includes("\\enclose")||x.includes("\\xleftrightarrows")||x.includes("\\xleftrightharpoons")||x.includes("\\class{cme-")||x.includes("\\{")||x.includes("\\}")||x.includes("\\lbrace")||x.includes("\\rbrace"))&&/^\\ce\{[\s\S]*\}$/i.test(x.trim())&&(x=x.trim().replace(/^\\ce\{([\s\S]*)\}$/i,"$1")),k.removeAttribute("read-only");try{k.setValue?k.setValue("",{silenceNotifications:!0}):k.value="",k.executeCommand(["insert",x,{insertionMode:"replaceAll"}])}catch{k.setValue?k.setValue(x,{silenceNotifications:!0}):k.value=x}k.setAttribute("read-only","")}}else console.warn("[CKMathWidget] No domElement found for viewElement")}})}),n.conversion.for("dataDowncast").elementToElement({model:"mathInline",view:(a,{writer:o})=>{const m=a.getAttribute("latex")||"",b=o.createContainerElement("span",{class:"math-tex","data-latex":m,style:"display:inline;"});let d=se(G(we(m)));(d.includes("\\enclose")||d.includes("\\xleftrightarrows")||d.includes("\\xleftrightharpoons")||d.includes("\\class{cme-")||d.includes("\\{")||d.includes("\\}")||d.includes("\\lbrace")||d.includes("\\rbrace"))&&/^\\ce\{[\s\S]*\}$/i.test(d.trim())&&(d=d.trim().replace(/^\\ce\{([\s\S]*)\}$/i,"$1"));let E=d.replace(/\\textasciitilde/g,"~").replace(/\\textasciicircum/g,"^").replace(/\\textasteriskcentered/g,"*").replace(/\\char96/g,"`").replace(/\\sim/g,"~").replace(/\\!/g,"!").replace(/\\@/g,"@").replace(/\\#/g,"#").replace(/\\$/g,"$").replace(/\\%/g,"%").replace(/\\&/g,"&").replace(/\\_/g,"_").replace(/\\\{/g,"{").replace(/\\\}/g,"}").replace(/\\ce\{([^}]*)\}/g,"$1").trim();return o.insert(o.createPositionAt(b,0),o.createText(E)),b}}),n.conversion.for("upcast").elementToElement({view:{name:"span",classes:"math-tex"},model:(a,{writer:o})=>{const m=a.getAttribute("data-latex")||"";return o.createElement("mathInline",{latex:m})}})}}function at({matrixType:l,x:n,y:s,onSelect:a,onMouseEnter:o,onMouseLeave:m}){const[b,d]=e.useState({r:2,c:2}),E=Math.max(10,parseInt(b.r,10)||0),L=Math.max(10,parseInt(b.c,10)||0),k=f=>{const A=f.target.value;if(A===""){d(S=>({...S,r:""}));return}const I=parseInt(A,10);isNaN(I)||d(S=>({...S,r:Math.max(1,Math.min(10,I))}))},x=()=>{(b.r===""||isNaN(parseInt(b.r,10)))&&d(f=>({...f,r:1}))},u=f=>{const A=f.target.value;if(A===""){d(S=>({...S,c:""}));return}const I=parseInt(A,10);isNaN(I)||d(S=>({...S,c:Math.max(1,Math.min(10,I))}))},y=()=>{(b.c===""||isNaN(parseInt(b.c,10)))&&d(f=>({...f,c:1}))};return e.useEffect(()=>{const f=A=>{if(A.key==="Enter"){A.preventDefault(),A.stopPropagation();const I=parseInt(b.r,10)||1,S=parseInt(b.c,10)||1;a(I,S)}};return window.addEventListener("keydown",f,!0),()=>window.removeEventListener("keydown",f,!0)},[b.r,b.c,a]),e.createElement("div",{className:"cme-matrix-hover-popover ck-only",style:{top:`${s}px`,left:`${n}px`},onPointerDown:f=>f.stopPropagation(),onMouseEnter:o,onMouseLeave:m},e.createElement("div",{className:"cme-matrix-hover-grid"},Array.from({length:E}).map((f,A)=>e.createElement("div",{key:A,className:"cme-matrix-hover-row"},Array.from({length:L}).map((I,S)=>{const _=parseInt(b.r,10)||0,V=parseInt(b.c,10)||0,R=A<_&&S<V;return e.createElement("div",{key:`${A}-${S}`,className:`cme-matrix-hover-cell${R?" selected":""}`,onMouseEnter:()=>d({r:A+1,c:S+1}),onClick:Z=>{Z.preventDefault(),Z.stopPropagation(),a(A+1,S+1)}})})))),e.createElement("div",{className:"cme-matrix-hover-footer"},e.createElement("div",{className:"cme-matrix-counter"},e.createElement("span",null,"R"),e.createElement("input",{type:"number",className:"cme-counter-val",value:b.r,onChange:k,onBlur:x,min:"1",max:"10"}),e.createElement("div",{className:"cme-counter-btns"},e.createElement("button",{type:"button",onClick:()=>d(f=>{const A=parseInt(f.r,10)||1;return{...f,r:Math.min(10,A+1)}})},"▲"),e.createElement("button",{type:"button",onClick:()=>d(f=>{const A=parseInt(f.r,10)||1;return{...f,r:Math.max(1,A-1)}})},"▼"))),e.createElement("div",{className:"cme-matrix-counter"},e.createElement("span",null,"C"),e.createElement("input",{type:"number",className:"cme-counter-val",value:b.c,onChange:u,onBlur:y,min:"1",max:"10"}),e.createElement("div",{className:"cme-counter-btns"},e.createElement("button",{type:"button",onClick:()=>d(f=>{const A=parseInt(f.c,10)||1;return{...f,c:Math.min(10,A+1)}})},"▲"),e.createElement("button",{type:"button",onClick:()=>d(f=>{const A=parseInt(f.c,10)||1;return{...f,c:Math.max(1,A-1)}})},"▼")))))}let X=!1,fe=null,$=null;function st({mode:l,onInsert:n,onClose:s,initialLatex:a,isEditing:o}){const m=e.useRef(null),b=e.useRef(null),[d,E]=e.useState(null),[L,k]=e.useState(0),[x,u]=e.useState(null),[y,f]=e.useState(null),[A,I]=e.useState(null),[S,_]=e.useState(null);e.useRef(null);const[V,R]=e.useState({x:0,y:0}),[Z,Pe]=e.useState(!1),Ee=e.useRef({x:0,y:0}),[ht,qe]=e.useState(!1),[ct,Fe]=e.useState(!1),[mt,ce]=e.useState(!1),ve=e.useRef(null);e.useEffect(()=>{const t=r=>{if(!Z)return;const h=r.touches&&r.touches.length>0?r.touches[0].clientX:r.clientX,c=r.touches&&r.touches.length>0?r.touches[0].clientY:r.clientY;let g=h-Ee.current.x,p=c-Ee.current.y;if(ve.current){const C=ve.current,M=-C.left,D=window.innerWidth-C.right,H=-C.top,N=window.innerHeight-C.bottom;g<M&&(g=M),g>D&&(g=D),p<H&&(p=H),p>N&&(p=N)}R({x:g,y:p})},i=()=>Pe(!1);return Z&&(window.addEventListener("mousemove",t,{passive:!1}),window.addEventListener("mouseup",i),window.addEventListener("touchmove",t,{passive:!1}),window.addEventListener("touchend",i)),()=>{window.removeEventListener("mousemove",t),window.removeEventListener("mouseup",i),window.removeEventListener("touchmove",t),window.removeEventListener("touchend",i)}},[Z]),e.useEffect(()=>{const t=b.current;if(!t)return;let i=0,r=0,h=0;const c=p=>{p.touches.length===1&&(i=p.touches[0].clientY,r=p.touches[0].clientX,h=t.scrollTop)},g=p=>{if(p.touches.length!==1)return;const C=i-p.touches[0].clientY,M=r-p.touches[0].clientX;if(Math.abs(C)<10||Math.abs(M)>Math.abs(C)||t.scrollHeight<=t.clientHeight)return;const D=h+C,H=t.scrollHeight-t.clientHeight;D>0&&D<H&&p.preventDefault(),t.scrollTop=Math.max(0,Math.min(D,H))};return t.addEventListener("touchstart",c,{passive:!0}),t.addEventListener("touchmove",g,{passive:!1}),()=>{t.removeEventListener("touchstart",c),t.removeEventListener("touchmove",g)}},[]);const Ze=t=>{if(t.target.closest(".cme-popup-controls"))return;Pe(!0);const i=t.touches&&t.touches.length>0?t.touches[0].clientX:t.clientX,r=t.touches&&t.touches.length>0?t.touches[0].clientY:t.clientY;Ee.current={x:i-V.x,y:r-V.y};const h=document.querySelector(".cme-editor-popup");if(h){const c=h.getBoundingClientRect();ve.current={left:c.left-V.x,top:c.top-V.y,right:c.right-V.x,bottom:c.bottom-V.y,width:c.width,height:c.height}}},me=l==="math"?rt:it,[v,Me]=e.useState({bold:!1,italic:!1,color:"none",fontFamily:"none",fontSize:"auto"});function P(t){const i=t==null?void 0:t.selection;return!i||!i.ranges||i.ranges.length===0?!1:i.ranges.some(([r,h])=>r!==h)}function Je(t){if(!t)return!1;try{const i=c=>["all","some",!0].includes(c);if(typeof t.queryStyle=="function"){const c=t.queryStyle({fontSeries:"b"}),g=t.queryStyle({variantStyle:"bold"});if(i(c)||i(g))return!0}let r="";try{P(t)&&(r=t.getValue(t.selection)||"")}catch{}const h=/\\mathbf\b|\\boldsymbol\b|\\mathbfit\b|\\textbf\b|\\bm\b|\\bold\b/;if(r&&h.test(r))return!0;try{if(P(t)){const c=t.getValue();if(h.test(c)){const g=M=>M.replace(/\\[a-zA-Z]+/g,"").replace(/[^a-zA-Z0-9]/g,""),p=g(r),C=g(c);if(p.length>0&&p===C)return!0}}}catch{}}catch{}return!1}function ze(t){if(!t)return!1;try{const i=c=>["all","some",!0].includes(c);if(typeof t.queryStyle=="function"){const c=t.queryStyle({shape:"it"}),g=t.queryStyle({variantStyle:"italic"});if(i(c)||i(g))return!0}let r="";try{P(t)&&(r=t.getValue(t.selection)||"")}catch{}const h=/\\mathit\b|\\mathbfit\b|\\textit\b/;if(r&&h.test(r))return!0;try{if(P(t)){const c=t.getValue();if(h.test(c)){const g=M=>M.replace(/\\[a-zA-Z]+/g,"").replace(/[^a-zA-Z0-9]/g,""),p=g(r),C=g(c);if(p.length>0&&p===C)return!0}}}catch{}if(window.__cmeManualItalic===!0)return!0}catch{}return!1}const q=e.useCallback(()=>{if(X||window.__cmeIgnoreStyleUpdate&&Date.now()<window.__cmeIgnoreStyleUpdate)return;const t=m.current;if(!(!t||typeof t.queryStyle!="function"))try{const i=P(t);let r=Je(t),h=ze(t),c="none",g="auto",p="none";const C=M=>["all","some",!0].includes(M);if(i){window.__cmeManualBold=void 0,window.__cmeManualItalic=void 0,window.__cmeManualFontFamily=void 0,window.__cmeManualFontSize=void 0;let M="";try{M=t.getValue(sel)||""}catch{}const D=["roman","sans-serif","monospace"].find(N=>C(t.queryStyle({fontFamily:N})))||"none";D!=="none"?c=D:/\\mathsf\b/.test(M)?c="sans-serif":/\\mathtt\b/.test(M)?c="monospace":/\\mathrm\b/.test(M)?c="roman":c="none";const H=[5,7,9].find(N=>C(t.queryStyle({fontSize:N})))||"auto";g=String(H),p=["black","dimgray","gray","darkgray","silver","white","red","orange","yellow","lime","cyan","blue","purple","magenta","pink","brown","maroon","olive","green","teal","navy","indigo","violet","gold"].find(N=>C(t.queryStyle({color:N})))||"none"}else window.__cmeManualBold!==void 0&&(r=window.__cmeManualBold),window.__cmeManualItalic!==void 0&&(h=window.__cmeManualItalic),console.log("CME: updateActiveStyles else-branch bold=",r,"manual=",window.__cmeManualBold),c=window.__cmeManualFontFamily!==void 0?window.__cmeManualFontFamily:["roman","sans-serif","monospace"].find(M=>C(t.queryStyle({fontFamily:M})))||"none",g=window.__cmeManualFontSize!==void 0?window.__cmeManualFontSize:[5,7,9].find(M=>C(t.queryStyle({fontSize:M})))||"auto",p=["black","dimgray","gray","darkgray","silver","white","red","orange","yellow","lime","cyan","blue","purple","magenta","pink","brown","maroon","olive","green","teal","navy","indigo","violet","gold"].find(M=>C(t.queryStyle({color:M})))||"none";Me({bold:r,italic:h,fontFamily:c,fontSize:String(g),color:p})}catch(i){console.warn("Failed to query active styles:",i)}},[]);e.useEffect(()=>{if(!x&&!A)return;const t=i=>{!i.target.closest(".cme-matrix-hover-popover")&&!i.target.closest(".cme-matrix-btn-wrapper")&&u(null),!i.target.closest(".cme-color-picker-popup")&&!i.target.closest('[title="Text Color"]')&&I(null)};return window.addEventListener("mousedown",t,!0),window.addEventListener("pointerdown",t,!0),()=>{window.removeEventListener("mousedown",t,!0),window.removeEventListener("pointerdown",t,!0)}},[x,A]),e.useEffect(()=>{if(!S)return;const t=i=>{!i.target.closest(".cme-more-popup")&&!i.target.closest(".cme-more-trigger-btn")&&_(null)};return window.addEventListener("mousedown",t,!0),window.addEventListener("pointerdown",t,!0),()=>{window.removeEventListener("mousedown",t,!0),window.removeEventListener("pointerdown",t,!0)}},[S]),e.useEffect(()=>{const t=setTimeout(()=>_e(),50);return()=>clearTimeout(t)},[L]),e.useEffect(()=>{if(X)return;const t=d;if(!t)return;t.macros={...t.macros,...window.__cme_macros||{}},t.defaultMode="math";const i=()=>{if(a){let r=xe(a);if(l==="chem"){const h=r.match(/^\\ce\{([\s\S]*)\}$/i);h&&(r=h[1])}r=G(r),r=se(r),t.setValue?t.setValue("",{silenceNotifications:!0}):t.value="",t.executeCommand(["insert",r,{insertionMode:"replaceAll"}])}requestAnimationFrame(()=>{document.querySelector(".cme-editor-popup.minimized")||t.focus()})};customElements.get("math-field")?requestAnimationFrame(i):customElements.whenDefined("math-field").then(()=>requestAnimationFrame(i))},[l,a,d]),e.useEffect(()=>{const t=d;if(!t)return;const i=r=>{if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown"].includes(r.key)?(X=!1,clearTimeout(fe),window.__cmeManualBold=void 0,window.__cmeManualItalic=void 0,window.__cmeManualFontFamily=void 0,window.__cmeManualFontSize=void 0):(r.key.length===1||r.key===" ")&&(X=!0,clearTimeout(fe),fe=setTimeout(()=>{X=!1},500)),["`","~","!","@","#","$","%","^","&","*","_",'"',"'","/","\\","|"].includes(r.key)&&!r.ctrlKey&&!r.metaKey&&!r.altKey){r.preventDefault(),r.stopPropagation();let h="";r.key==="`"?h="\\grave{\\ }":r.key==="~"?h="\\sim":r.key==="!"?h="!":r.key==="@"?h="@":r.key==="#"?h="\\#":r.key==="$"?h="\\$":r.key==="%"?h="\\%":r.key==="^"?h="\\wedge":r.key==="&"?h="\\&":r.key==="*"?h="\\ast":r.key==="_"?h="\\_":r.key==='"'?h='\\text{"}':r.key==="'"?h="\\text{'}":r.key==="/"?h="\\mathord{/}":r.key==="\\"?h="\\backslash":r.key==="|"&&(h="|"),t.executeCommand(["insert",h]);return}if(r.key.length===1&&!r.ctrlKey&&!r.metaKey&&!r.altKey&&/[a-zA-Z0-9]/.test(r.key)){if(r.preventDefault(),r.stopPropagation(),!v.bold||!v.italic)try{t.executeCommand("moveOutOfGroup")}catch{}let h=ae(r.key,v.bold,v.italic,v.fontFamily);const c=v.fontSize==="auto"?5:parseInt(v.fontSize,10);if(c!==5){const g={1:"\\tiny",2:"\\scriptsize",3:"\\footnotesize",4:"\\small",5:"\\normalsize",6:"\\large",7:"\\Large",8:"\\LARGE",9:"\\huge",10:"\\Huge"};g[c]&&(h=`{${g[c]} ${h}}`)}v.color!=="none"&&(h=`\\textcolor{${v.color}}{${h}}`),t.executeCommand(["insert",h]);return}r.key===" "?(r.preventDefault(),t.executeCommand(["insert","\\, "])):r.key==="Enter"&&(r.preventDefault(),r.stopImmediatePropagation(),t.executeCommand("addRowAfter"))};return t.addEventListener("keydown",i,!0),()=>t.removeEventListener("keydown",i,!0)},[l,v,q,d]),e.useEffect(()=>{const t=d;if(!t)return;const i=()=>{window.__cmeIgnoreStyleUpdate&&Date.now()<window.__cmeIgnoreStyleUpdate||(P(t)&&(window.__cmeManualBold=void 0,window.__cmeManualItalic=void 0,window.__cmeManualFontFamily=void 0,window.__cmeManualFontSize=void 0),setTimeout(()=>{const r=t.shadowRoot;if(!r)return;const h=r.querySelector(".ML__caret")||r.querySelector('[class*="caret"]');h&&h.scrollIntoView({behavior:"auto",block:"nearest",inline:"nearest"}),q()},0))};return t.addEventListener("selection-change",i),t.addEventListener("input",i),t.addEventListener("keydown",i),t.addEventListener("pointerup",i),t.addEventListener("click",i),setTimeout(q,50),()=>{t.removeEventListener("selection-change",i),t.removeEventListener("input",i),t.removeEventListener("keydown",i),t.removeEventListener("pointerup",i),t.removeEventListener("click",i)}},[q,d]),e.useEffect(()=>{const t=d;if(!t)return;const i=()=>{const r=t.shadowRoot;if(!r||r.querySelector("style[data-cme-sqrt-fix]"))return;const h=document.createElement("style");h.setAttribute("data-cme-sqrt-fix","1"),h.textContent=`
|
|
302
302
|
.ML__sqrt-line {
|
|
303
303
|
min-width: 0.6em !important;
|
|
304
304
|
}
|
|
305
|
-
`,r.appendChild(s)};if(t.shadowRoot)i();else{const r=new MutationObserver(()=>{t.shadowRoot&&(r.disconnect(),i())});return r.observe(t,{childList:!0,subtree:!1}),()=>r.disconnect()}},[p]);const ee=e.useCallback(t=>{const i=$;if(!i||!t)return;i.focus();const r=ae(t,f.bold,f.italic,f.fontFamily);i.executeCommand(["insert",r])},[f]),dt=e.useCallback((t,i,r)=>{let s=`\\begin{${t}} `;for(let c=0;c<i;c++){for(let g=0;g<r;g++)s+="#?",g<r-1&&(s+=" & ");c<i-1&&(s+=" \\\\ ")}s+=` \\end{${t}}`,ee(s)},[ee]),pt=t=>{t.stopPropagation(),qe(i=>!i),Fe(!1),R({x:0,y:0})},bt=t=>{t.stopPropagation(),Fe(i=>!i),qe(!1),R({x:0,y:0})},je=t=>{t&&t.stopPropagation();const i=$;if(!i){a&&a();return}const r=i.getValue?i.getValue("latex"):i.value,s=h||"";!r||r.trim()===""||r===s?a&&a():ce(!0)},gt=()=>{const t=$;if(!t)return;let i=t.getValue?t.getValue("latex"):t.value;if(!i||i.trim()===""){a&&a();return}l==="chem"&&(i=nt(i)),i=G(i);const r=i.match(/^\\(mathrm|mathit|mathbf|mathsf|text)\{\\displaylines\{([\s\S]*)\}\}$/);if(r){const s=r[1];i=`\\displaylines{${r[2].split("\\\\").map(C=>`\\${s}{${C.trim()}}`).join(" \\\\ ")}}`}i=i.replace(/[\r\n]+/g," "),n&&n(i),t.setValue?t.setValue(""):t.value="",a&&a()};return Y.createPortal(e.createElement("div",{className:`cme-editor-popup ${ht?"maximized":""} ${ct?"minimized":""}`,style:{transform:`translate(${V.x}px, ${V.y}px)`},onPointerDown:t=>t.stopPropagation()},e.createElement("div",{className:"cme-popup-topbar"},e.createElement("div",{className:"cme-popup-header",onPointerDown:Ze,onTouchStart:Ze,style:{cursor:Z?"grabbing":"grab",touchAction:"none"}},e.createElement("span",null,o?l==="math"?"Edit Math Formula":"Edit Chemistry Formula":l==="math"?"Math Editor":"Chemistry Editor")),e.createElement("div",{className:"cme-popup-controls"},e.createElement("button",{type:"button",className:"cme-popup-btn",onClick:bt,title:"Minimize"},"—"),e.createElement("button",{type:"button",className:"cme-popup-btn",onClick:pt,title:"Maximize"},"⤢"),e.createElement("button",{type:"button",className:"cme-popup-btn",onClick:je,title:"Close"},"✕"))),e.createElement("div",{className:"cme-toolbar",role:"toolbar","aria-label":"Symbol palette"},e.createElement("div",{className:"cme-toolbar-groups"},me.map((t,i)=>{const r=L===i;return e.createElement("button",{key:t.isMatrix?"matrix-tab":t.label,className:`cme-group-tab${r?" active":""}`,type:"button",onPointerDown:s=>{s.preventDefault(),k(i),u(null)}},t.mathLabel?e.createElement("math-field",{"read-only":!0,tabIndex:-1,style:{pointerEvents:"none",background:"transparent",border:"none",outline:"none",fontSize:t.fontSize||(t.isMatrix?"8px":"11px"),display:"inline-block",width:"auto",minHeight:"auto",padding:"0",margin:"0",boxShadow:"none",color:r?"#333333":"#ffffff"}},t.mathLabel):t.label)})),e.createElement("div",{className:"cme-toolbar-items"},(()=>{var s;const t=((s=me[L])==null?void 0:s.items)||[],i=t.some(c=>c.type==="sep"),r=[];if(i){let c={cols:2,small:!1,cls:"",items:[],moreItems:null};for(const g of t)g.type==="sep"?(c.items.length>0&&r.push(c),c={cols:g.cols||2,small:!!g.small,cls:g.cls||"",items:[],moreItems:g.moreItems||null,moreCols:g.moreCols||1}):c.items.push(g);c.items.length>0&&r.push(c)}else for(let g=0;g<t.length;g+=4)r.push({cols:2,small:!1,cls:"",items:t.slice(g,g+4)});return r.map((c,g)=>e.createElement("div",{key:g,className:`cme-symbol-subgroup${c.small?" cme-symbol-subgroup--small":""}${c.cls?` ${c.cls}`:""}${c.moreItems?" cme-subgroup-has-more":""}`,style:{gridTemplateColumns:`repeat(${c.cols}, auto)`,position:"relative"}},c.moreItems&&e.createElement("button",{type:"button",className:"cme-more-trigger-btn",title:"more",onPointerDown:d=>{d.preventDefault()},onClick:d=>{if(d.stopPropagation(),S&&S.items===c.moreItems)_(null);else{const C=d.currentTarget.getBoundingClientRect(),E=me[L]||{};_({cx:C.left+C.width/2,y:C.bottom,items:c.moreItems,cols:c.moreCols,isTemplate:E.isTemplate||E.label==="√(□)"||E.isMatrix})}}},"▶"),c.items.map((d,C)=>{const E=me[L];if(d.type==="dropdown"){const B=d.label==="Font...",w=d.label==="Size",de=B&&f.fontFamily!=="none",pe=w&&f.fontSize!=="auto"&&f.fontSize!=="5",be=B?f.fontFamily==="none"?"":f.fontFamily:w?f.fontSize==="auto"||f.fontSize==="5"?"":f.fontSize:"";return e.createElement("select",{key:C,className:`cme-btn template${de||pe?" active":""}`,value:be,style:{width:d.width||"60px",height:"18px",minHeight:"18px",maxHeight:"18px",lineHeight:"18px",boxSizing:"border-box",marginTop:"10px",fontSize:"10px",padding:"0",margin:"2px 0",gridColumn:c.cols===3||c.cols===1?"span 1":"span 2"},onChange:ge=>{const K=ge.target.value,F=$;!F||typeof F.applyStyle!="function"||(F.focus(),B?F.applyStyle({fontFamily:K||"none"}):w&&F.applyStyle({fontSize:K?parseInt(K,10):"auto"}),q())}},e.createElement("option",{value:""},d.label),B&&e.createElement(e.Fragment,null,e.createElement("option",{value:"roman"},"Times"),e.createElement("option",{value:"sans-serif"},"Helvetica"),e.createElement("option",{value:"monospace"},"Courier")),w&&e.createElement(e.Fragment,null,e.createElement("option",{value:"5"},"12px"),e.createElement("option",{value:"7"},"16px"),e.createElement("option",{value:"9"},"20px")))}if(E.isMatrix&&!d.directInsert)return e.createElement("div",{key:C,className:"cme-matrix-btn-wrapper"},e.createElement("button",{type:"button",className:`cme-btn template${d.cls?` ${d.cls}`:""}${E.isMatrix?" cme-matrix-btn-small":""}`,title:d.title||d.label||d.insert,onPointerDown:B=>{if(B.preventDefault(),B.stopPropagation(),(v==null?void 0:v.type)===d.insert)u(null);else{X||(window.__cmeManualBold=void 0,window.__cmeManualItalic=void 0,window.__cmeManualFontFamily=void 0,window.__cmeManualFontSize=void 0);const w=B.currentTarget.getBoundingClientRect();u({type:d.insert,x:w.left+w.width/2,y:w.bottom})}}},typeof d.label=="object"?d.label:e.createElement("math-field",{"read-only":!0,style:{pointerEvents:"none",background:"transparent",border:"none",outline:"none",fontSize:"12px",display:"inline-block",width:"auto",minHeight:"auto",padding:"0",margin:"0",boxShadow:"none",cursor:"pointer"}},ye(d.mathLabel!=null?d.mathLabel:d.insert))));const D=d.action==="BOLD",H=d.action==="ITALIC",N=d.action==="TEXT_COLOR",kt=D&&f.bold||H&&f.italic||N&&f.color!=="none"&&f.color!=="black";return e.createElement("button",{key:`${E.label}-${g*4+C}`,type:"button",className:`cme-btn${E.isTemplate?" template":""}${d.cls?` ${d.cls}`:""}${kt?" active":""}`,title:d.title||d.label||d.insert,onPointerDown:B=>{var de,pe,be,ge,K,F,Qe;B.preventDefault();const w=m.current;if(d.action==="SPECIAL_CHARS"){const W=B.currentTarget.getBoundingClientRect();x({x:W.left,y:W.bottom+4})}else if(d.action==="TEXT_COLOR"){const W=B.currentTarget.getBoundingClientRect();I({x:W.left,y:W.bottom+4})}else if(d.action==="BOLD"){if(w){w.focus();const W=P(w),U=!(W?Je(w):f.bold);if(window.__cmeManualBold=U,window.__cmeIgnoreStyleUpdate=Date.now()+50,W){const O=w.getValue(w.selection),te=w.getValue(),le=Ce=>Ce.replace(/\\[a-zA-Z]+/g,"").replace(/[^a-zA-Z0-9]/g,""),z=le(O),re=le(te),j=z.length>0&&z===re,Ae=Ne(j?te:O),Q=ae(Ae,U,f.italic,f.fontFamily);console.log("[CME-BOLD] selAlnum=",z,"fullAlnum=",re,"isFullSel=",j),console.log("[CME-BOLD] formatted=",JSON.stringify(Q)),j?(w.setValue(Q),console.log("[CME-BOLD] after setValue:",JSON.stringify(w.getValue()))):w.executeCommand(["insert",Q])}else if(typeof w.applyStyle=="function")if(U)w.applyStyle({fontSeries:"b"});else{try{w.executeCommand("moveOutOfGroup")}catch{}w.applyStyle({fontSeries:"auto"}),w.applyStyle({fontSeries:"m"})}Me(O=>({...O,bold:U})),setTimeout(()=>{q()},60)}}else if(d.action==="ITALIC"){if(w){w.focus();const W=P(w),U=!(W?ze(w):f.italic);if(window.__cmeManualItalic=U,window.__cmeIgnoreStyleUpdate=Date.now()+50,W){const O=w.getValue(w.selection),te=w.getValue(),le=Ce=>Ce.replace(/\\[a-zA-Z]+/g,"").replace(/[^a-zA-Z0-9]/g,""),z=le(O),re=le(te),j=z.length>0&&z===re,Ae=Ne(j?te:O),Q=ae(Ae,f.bold,U,f.fontFamily);console.log("[CME-ITALIC] selAlnum=",z,"fullAlnum=",re,"isFullSel=",j),console.log("[CME-ITALIC] formatted=",JSON.stringify(Q)),j?(w.setValue(Q),console.log("[CME-ITALIC] after setValue:",JSON.stringify(w.getValue()))):w.executeCommand(["insert",Q])}else if(typeof w.applyStyle=="function")if(U)w.applyStyle({shape:"it"});else{try{w.executeCommand("moveOutOfGroup")}catch{}w.applyStyle({shape:"auto"}),w.applyStyle({shape:"n"})}Me(O=>({...O,italic:U})),setTimeout(()=>{q()},60)}}else d.action==="UNDO"?(de=m.current)==null||de.executeCommand("undo"):d.action==="REDO"?(pe=m.current)==null||pe.executeCommand("redo"):d.action==="CUT"?((be=m.current)==null||be.focus(),(ge=m.current)==null||ge.executeCommand("cutToClipboard")):d.action==="COPY"?((K=m.current)==null||K.focus(),(F=m.current)==null||F.executeCommand("copyToClipboard")):d.action==="PASTE"?((Qe=m.current)==null||Qe.focus(),navigator.clipboard.readText().then(W=>{var J;(J=m.current)==null||J.executeCommand(["insert",W])}).catch(W=>{var J;(J=m.current)==null||J.executeCommand("pasteFromClipboard")})):ee(d.insert)}},(E.isTemplate||E.label==="√(□)"||E.isMatrix||d.isWidget)&&d.insert&&!d.action&&!d.forceLabel?e.createElement("math-field",{"read-only":!0,style:{pointerEvents:"none",background:"transparent",border:"none",outline:"none",fontSize:"12px",display:"inline-block",width:"auto",minHeight:"auto",padding:"0",margin:"0",boxShadow:"none",cursor:"pointer"}},ye(d.insert)):d.label)})))})())),S&&Y.createPortal(e.createElement("div",{ref:t=>{t&&requestAnimationFrame(()=>{const i=t.getBoundingClientRect(),r=document.querySelector(".cme-editor-popup");let s=S.cx-i.width/2,c=S.y;if(r){const g=r.getBoundingClientRect();s+i.width>g.right-4&&(s=g.right-i.width-4),s<g.left+4&&(s=g.left+4),c+i.height>g.bottom-4&&(c=g.bottom-i.height-4)}s+i.width>window.innerWidth-4&&(s=window.innerWidth-i.width-4),c+i.height>window.innerHeight-4&&(c=window.innerHeight-i.height-4),s<4&&(s=4),t.style.left=`${s}px`,t.style.top=`${c}px`,t.style.transform="none"})},className:"cme-more-popup",style:{position:"fixed",left:`${S.cx}px`,top:`${S.y}px`,transform:"translateX(-50%)",zIndex:2147483647,gridTemplateColumns:`repeat(${S.cols||1}, auto)`}},S.items.map((t,i)=>e.createElement("button",{key:i,type:"button",className:`cme-more-popup-btn ${t.cls||""}`,title:t.title||t.label||t.insert,onPointerDown:r=>{r.preventDefault(),ee(t.insert),_(null)}},t.insert&&!t.action&&(t.cls==="template"||t.isWidget)?e.createElement("math-field",{"read-only":!0,style:{pointerEvents:"none",background:"transparent",border:"none",outline:"none",fontSize:"12px",display:"inline-block",width:"auto",minHeight:"auto",padding:"0",margin:"0",boxShadow:"none",cursor:"pointer"}},ye(t.mathLabel!=null?t.mathLabel:t.insert)):t.label))),document.body),e.createElement("div",{ref:b,className:"cme-mathfield-container",onPointerDown:t=>{var i,r;m.current&&(t.target===m.current||m.current.contains(t.target))||(t.preventDefault(),(r=(i=m.current)==null?void 0:i.focus)==null||r.call(i))}},e.createElement("math-field",{ref:t=>{m.current=t,$=t,t&&p!==t&&(y(t),t.inlineShortcuts=Object.assign({},t.inlineShortcuts,{"*":"*"}),window.mathVirtualKeyboard&&(window.mathVirtualKeyboard.policy="manual"),t.menuItems&&(t.menuItems=t.menuItems.filter(i=>{const r=typeof i.label=="string"?i.label.toLowerCase():"",s=typeof i.id=="string"?i.id.toLowerCase():"";return!r.includes("matrix")&&!s.includes("matrix")})))},class:"cme-mathfield",tabIndex:0,"math-virtual-keyboard-policy":"manual",placeholder:""})),e.createElement("div",{className:"cme-popup-footer"},e.createElement("button",{type:"button",className:"cme-insert-btn",onClick:gt},o?"Update":"Insert"),e.createElement("button",{type:"button",className:"cme-cancel-btn",onClick:je},"Cancel"),e.createElement("span",{style:{marginLeft:"auto",fontSize:"11px",color:"#888",alignSelf:"center",marginRight:"10px"}},"v",Ge.version)),mt&&e.createElement("div",{className:"cme-confirm-overlay",onPointerDown:t=>{t.stopPropagation(),ce(!1)}},e.createElement("div",{className:"cme-confirm-modal",onPointerDown:t=>t.stopPropagation()},e.createElement("p",null,"Are you sure you want to leave? The changes you made will be lost."),e.createElement("div",{className:"cme-confirm-actions"},e.createElement("button",{type:"button",className:"cme-confirm-close-btn",onClick:t=>{t.stopPropagation(),ce(!1),a&&a()}},"Close"),e.createElement("button",{type:"button",className:"cme-confirm-cancel-btn",onClick:t=>{t.stopPropagation(),ce(!1)}},"Cancel")))),v&&Y.createPortal(e.createElement(at,{matrixType:v.type,x:v.x,y:v.y,onSelect:(t,i)=>{dt(v.type,t,i),u(null)},onMouseEnter:()=>{},onMouseLeave:()=>{}}),document.body),M&&Y.createPortal(e.createElement(Ye,{isOpen:!!M,position:M,onClose:()=>x(null),onInsert:t=>{ee(t),x(null)}}),document.body),A&&Y.createPortal(e.createElement("div",{className:"cme-color-picker-popup",style:{position:"fixed",left:Math.min(A.x,window.innerWidth-160)+"px",top:Math.min(A.y,window.innerHeight-100)+"px",zIndex:2147483647,background:"#fff",border:"1px solid #ccc",padding:"6px",display:"grid",gridTemplateColumns:"repeat(6, 1fr)",gap:"4px",borderRadius:"4px",boxShadow:"0 2px 5px rgba(0,0,0,0.2)"}},["black","dimgray","gray","darkgray","silver","white","red","orange","yellow","lime","cyan","blue","purple","magenta","pink","brown","maroon","olive","green","teal","navy","indigo","violet","gold"].map(t=>{const i=f.color===t||t==="black"&&(f.color==="none"||!f.color);return e.createElement("div",{key:t,title:t,style:{width:"16px",height:"16px",backgroundColor:t,cursor:"pointer",border:i?"2px solid #e6c229":"1px solid #000",boxSizing:"border-box"},onPointerDown:r=>{r.preventDefault(),r.stopPropagation();const s=m.current;s&&typeof s.applyStyle=="function"&&(s.focus(),s.applyStyle({color:t==="black"?"none":t}),q()),I(null)}})})),document.body)),document.body)}const Ue=({isOpen:l,mode:n,initialValue:a,onInsert:h,onClose:o})=>l?e.createElement(st,{mode:n,onInsert:h,onClose:o,initialLatex:a||"",isEditing:!!a}):null;T.CME_SHADOW_DOM_CSS=Ie,T.CustomMathEditor=Ue,T.MathInlinePlugin=ot,T.default=Ue,Object.defineProperties(T,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
305
|
+
`,r.appendChild(h)};if(t.shadowRoot)i();else{const r=new MutationObserver(()=>{t.shadowRoot&&(r.disconnect(),i())});return r.observe(t,{childList:!0,subtree:!1}),()=>r.disconnect()}},[d]);const ee=e.useCallback(t=>{const i=$;if(!i||!t)return;i.focus();const r=ae(t,v.bold,v.italic,v.fontFamily);i.executeCommand(["insert",r])},[v]),dt=e.useCallback((t,i,r)=>{let h=`\\begin{${t}} `;for(let c=0;c<i;c++){for(let g=0;g<r;g++)h+="#?",g<r-1&&(h+=" & ");c<i-1&&(h+=" \\\\ ")}h+=` \\end{${t}}`,ee(h)},[ee]),pt=t=>{t.stopPropagation(),qe(i=>!i),Fe(!1),R({x:0,y:0})},bt=t=>{t.stopPropagation(),Fe(i=>!i),qe(!1),R({x:0,y:0})},je=t=>{t&&t.stopPropagation();const i=$;if(!i){s&&s();return}const r=i.getValue?i.getValue("latex"):i.value,h=a||"";!r||r.trim()===""||r===h?s&&s():ce(!0)},gt=()=>{const t=$;if(!t)return;let i=t.getValue?t.getValue("latex"):t.value;if(!i||i.trim()===""){s&&s();return}l==="chem"&&(i=nt(i)),i=G(i);const r=i.match(/^\\(mathrm|mathit|mathbf|mathsf|text)\{\\displaylines\{([\s\S]*)\}\}$/);if(r){const h=r[1];i=`\\displaylines{${r[2].split("\\\\").map(C=>`\\${h}{${C.trim()}}`).join(" \\\\ ")}}`}i=i.replace(/[\r\n]+/g," "),n&&n(i),t.setValue?t.setValue(""):t.value="",s&&s()};return Y.createPortal(e.createElement("div",{className:`cme-editor-popup ${ht?"maximized":""} ${ct?"minimized":""}`,style:{transform:`translate(${V.x}px, ${V.y}px)`},onPointerDown:t=>t.stopPropagation()},e.createElement("div",{className:"cme-popup-topbar"},e.createElement("div",{className:"cme-popup-header",onPointerDown:Ze,onTouchStart:Ze,style:{cursor:Z?"grabbing":"grab",touchAction:"none"}},e.createElement("span",null,o?l==="math"?"Edit Math Formula":"Edit Chemistry Formula":l==="math"?"Math Editor":"Chemistry Editor")),e.createElement("div",{className:"cme-popup-controls"},e.createElement("button",{type:"button",className:"cme-popup-btn",onClick:bt,title:"Minimize"},"—"),e.createElement("button",{type:"button",className:"cme-popup-btn",onClick:pt,title:"Maximize"},"⤢"),e.createElement("button",{type:"button",className:"cme-popup-btn",onClick:je,title:"Close"},"✕"))),e.createElement("div",{className:"cme-toolbar",role:"toolbar","aria-label":"Symbol palette"},e.createElement("div",{className:"cme-toolbar-groups"},me.map((t,i)=>{const r=L===i;return e.createElement("button",{key:t.isMatrix?"matrix-tab":t.label,className:`cme-group-tab${r?" active":""}`,type:"button",onPointerDown:h=>{h.preventDefault(),k(i),u(null)}},t.mathLabel?e.createElement("math-field",{"read-only":!0,tabIndex:-1,style:{pointerEvents:"none",background:"transparent",border:"none",outline:"none",fontSize:t.fontSize||(t.isMatrix?"8px":"11px"),display:"inline-block",width:"auto",minHeight:"auto",padding:"0",margin:"0",boxShadow:"none",color:r?"#333333":"#ffffff"}},t.mathLabel):t.label)})),e.createElement("div",{className:"cme-toolbar-items"},(()=>{var h;const t=((h=me[L])==null?void 0:h.items)||[],i=t.some(c=>c.type==="sep"),r=[];if(i){let c={cols:2,small:!1,cls:"",items:[],moreItems:null};for(const g of t)g.type==="sep"?(c.items.length>0&&r.push(c),c={cols:g.cols||2,small:!!g.small,cls:g.cls||"",items:[],moreItems:g.moreItems||null,moreCols:g.moreCols||1}):c.items.push(g);c.items.length>0&&r.push(c)}else for(let g=0;g<t.length;g+=4)r.push({cols:2,small:!1,cls:"",items:t.slice(g,g+4)});return r.map((c,g)=>e.createElement("div",{key:g,className:`cme-symbol-subgroup${c.small?" cme-symbol-subgroup--small":""}${c.cls?` ${c.cls}`:""}${c.moreItems?" cme-subgroup-has-more":""}`,style:{gridTemplateColumns:`repeat(${c.cols}, auto)`,position:"relative"}},c.moreItems&&e.createElement("button",{type:"button",className:"cme-more-trigger-btn",title:"more",onPointerDown:p=>{p.preventDefault()},onClick:p=>{if(p.stopPropagation(),S&&S.items===c.moreItems)_(null);else{const C=p.currentTarget.getBoundingClientRect(),M=me[L]||{};_({cx:C.left+C.width/2,y:C.bottom,items:c.moreItems,cols:c.moreCols,isTemplate:M.isTemplate||M.label==="√(□)"||M.isMatrix})}}},"▶"),c.items.map((p,C)=>{const M=me[L];if(p.type==="dropdown"){const B=p.label==="Font...",w=p.label==="Size",de=B&&v.fontFamily!=="none",pe=w&&v.fontSize!=="auto"&&v.fontSize!=="5",be=B?v.fontFamily==="none"?"":v.fontFamily:w?v.fontSize==="auto"||v.fontSize==="5"?"":v.fontSize:"";return e.createElement("select",{key:C,className:`cme-btn template${de||pe?" active":""}`,value:be,style:{width:p.width||"60px",height:"18px",minHeight:"18px",maxHeight:"18px",lineHeight:"18px",boxSizing:"border-box",marginTop:"10px",fontSize:"10px",padding:"0",margin:"2px 0",gridColumn:c.cols===3||c.cols===1?"span 1":"span 2"},onChange:ge=>{const K=ge.target.value,F=$;!F||typeof F.applyStyle!="function"||(F.focus(),B?F.applyStyle({fontFamily:K||"none"}):w&&F.applyStyle({fontSize:K?parseInt(K,10):"auto"}),q())}},e.createElement("option",{value:""},p.label),B&&e.createElement(e.Fragment,null,e.createElement("option",{value:"roman"},"Times"),e.createElement("option",{value:"sans-serif"},"Helvetica"),e.createElement("option",{value:"monospace"},"Courier")),w&&e.createElement(e.Fragment,null,e.createElement("option",{value:"5"},"12px"),e.createElement("option",{value:"7"},"16px"),e.createElement("option",{value:"9"},"20px")))}if(M.isMatrix&&!p.directInsert)return e.createElement("div",{key:C,className:"cme-matrix-btn-wrapper"},e.createElement("button",{type:"button",className:`cme-btn template${p.cls?` ${p.cls}`:""}${M.isMatrix?" cme-matrix-btn-small":""}`,title:p.title||p.label||p.insert,onPointerDown:B=>{if(B.preventDefault(),B.stopPropagation(),(x==null?void 0:x.type)===p.insert)u(null);else{X||(window.__cmeManualBold=void 0,window.__cmeManualItalic=void 0,window.__cmeManualFontFamily=void 0,window.__cmeManualFontSize=void 0);const w=B.currentTarget.getBoundingClientRect();u({type:p.insert,x:w.left+w.width/2,y:w.bottom})}}},typeof p.label=="object"?p.label:e.createElement("math-field",{"read-only":!0,style:{pointerEvents:"none",background:"transparent",border:"none",outline:"none",fontSize:"12px",display:"inline-block",width:"auto",minHeight:"auto",padding:"0",margin:"0",boxShadow:"none",cursor:"pointer"}},ye(p.mathLabel!=null?p.mathLabel:p.insert))));const D=p.action==="BOLD",H=p.action==="ITALIC",N=p.action==="TEXT_COLOR",kt=D&&v.bold||H&&v.italic||N&&v.color!=="none"&&v.color!=="black";return e.createElement("button",{key:`${M.label}-${g*4+C}`,type:"button",className:`cme-btn${M.isTemplate?" template":""}${p.cls?` ${p.cls}`:""}${kt?" active":""}`,title:p.title||p.label||p.insert,onPointerDown:B=>{var de,pe,be,ge,K,F,Qe;B.preventDefault();const w=m.current;if(p.action==="SPECIAL_CHARS"){const W=B.currentTarget.getBoundingClientRect();f({x:W.left,y:W.bottom+4})}else if(p.action==="TEXT_COLOR"){const W=B.currentTarget.getBoundingClientRect();I({x:W.left,y:W.bottom+4})}else if(p.action==="BOLD"){if(w){w.focus();const W=P(w),U=!(W?Je(w):v.bold);if(window.__cmeManualBold=U,window.__cmeIgnoreStyleUpdate=Date.now()+50,W){const O=w.getValue(w.selection),te=w.getValue(),le=Ce=>Ce.replace(/\\[a-zA-Z]+/g,"").replace(/[^a-zA-Z0-9]/g,""),z=le(O),re=le(te),j=z.length>0&&z===re,Ae=Ne(j?te:O),Q=ae(Ae,U,v.italic,v.fontFamily);console.log("[CME-BOLD] selAlnum=",z,"fullAlnum=",re,"isFullSel=",j),console.log("[CME-BOLD] formatted=",JSON.stringify(Q)),j?(w.setValue(Q),console.log("[CME-BOLD] after setValue:",JSON.stringify(w.getValue()))):w.executeCommand(["insert",Q])}else if(typeof w.applyStyle=="function")if(U)w.applyStyle({fontSeries:"b"});else{try{w.executeCommand("moveOutOfGroup")}catch{}w.applyStyle({fontSeries:"auto"}),w.applyStyle({fontSeries:"m"})}Me(O=>({...O,bold:U})),setTimeout(()=>{q()},60)}}else if(p.action==="ITALIC"){if(w){w.focus();const W=P(w),U=!(W?ze(w):v.italic);if(window.__cmeManualItalic=U,window.__cmeIgnoreStyleUpdate=Date.now()+50,W){const O=w.getValue(w.selection),te=w.getValue(),le=Ce=>Ce.replace(/\\[a-zA-Z]+/g,"").replace(/[^a-zA-Z0-9]/g,""),z=le(O),re=le(te),j=z.length>0&&z===re,Ae=Ne(j?te:O),Q=ae(Ae,v.bold,U,v.fontFamily);console.log("[CME-ITALIC] selAlnum=",z,"fullAlnum=",re,"isFullSel=",j),console.log("[CME-ITALIC] formatted=",JSON.stringify(Q)),j?(w.setValue(Q),console.log("[CME-ITALIC] after setValue:",JSON.stringify(w.getValue()))):w.executeCommand(["insert",Q])}else if(typeof w.applyStyle=="function")if(U)w.applyStyle({shape:"it"});else{try{w.executeCommand("moveOutOfGroup")}catch{}w.applyStyle({shape:"auto"}),w.applyStyle({shape:"n"})}Me(O=>({...O,italic:U})),setTimeout(()=>{q()},60)}}else p.action==="UNDO"?(de=m.current)==null||de.executeCommand("undo"):p.action==="REDO"?(pe=m.current)==null||pe.executeCommand("redo"):p.action==="CUT"?((be=m.current)==null||be.focus(),(ge=m.current)==null||ge.executeCommand("cutToClipboard")):p.action==="COPY"?((K=m.current)==null||K.focus(),(F=m.current)==null||F.executeCommand("copyToClipboard")):p.action==="PASTE"?((Qe=m.current)==null||Qe.focus(),navigator.clipboard.readText().then(W=>{var J;(J=m.current)==null||J.executeCommand(["insert",W])}).catch(W=>{var J;(J=m.current)==null||J.executeCommand("pasteFromClipboard")})):ee(p.insert)}},(M.isTemplate||M.label==="√(□)"||M.isMatrix||p.isWidget)&&p.insert&&!p.action&&!p.forceLabel?e.createElement("math-field",{"read-only":!0,style:{pointerEvents:"none",background:"transparent",border:"none",outline:"none",fontSize:"12px",display:"inline-block",width:"auto",minHeight:"auto",padding:"0",margin:"0",boxShadow:"none",cursor:"pointer"}},ye(p.insert)):p.label)})))})())),S&&Y.createPortal(e.createElement("div",{ref:t=>{t&&requestAnimationFrame(()=>{const i=t.getBoundingClientRect(),r=document.querySelector(".cme-editor-popup");let h=S.cx-i.width/2,c=S.y;if(r){const g=r.getBoundingClientRect();h+i.width>g.right-4&&(h=g.right-i.width-4),h<g.left+4&&(h=g.left+4),c+i.height>g.bottom-4&&(c=g.bottom-i.height-4)}h+i.width>window.innerWidth-4&&(h=window.innerWidth-i.width-4),c+i.height>window.innerHeight-4&&(c=window.innerHeight-i.height-4),h<4&&(h=4),t.style.left=`${h}px`,t.style.top=`${c}px`,t.style.transform="none"})},className:"cme-more-popup",style:{position:"fixed",left:`${S.cx}px`,top:`${S.y}px`,transform:"translateX(-50%)",zIndex:2147483647,gridTemplateColumns:`repeat(${S.cols||1}, auto)`}},S.items.map((t,i)=>e.createElement("button",{key:i,type:"button",className:`cme-more-popup-btn ${t.cls||""}`,title:t.title||t.label||t.insert,onPointerDown:r=>{r.preventDefault(),ee(t.insert),_(null)}},t.insert&&!t.action&&(t.cls==="template"||t.isWidget)?e.createElement("math-field",{"read-only":!0,style:{pointerEvents:"none",background:"transparent",border:"none",outline:"none",fontSize:"12px",display:"inline-block",width:"auto",minHeight:"auto",padding:"0",margin:"0",boxShadow:"none",cursor:"pointer"}},ye(t.mathLabel!=null?t.mathLabel:t.insert)):t.label))),document.body),e.createElement("div",{ref:b,className:"cme-mathfield-container",onPointerDown:t=>{var i,r;m.current&&(t.target===m.current||m.current.contains(t.target))||(t.preventDefault(),(r=(i=m.current)==null?void 0:i.focus)==null||r.call(i))}},e.createElement("math-field",{ref:t=>{m.current=t,$=t,t&&d!==t&&(E(t),t.inlineShortcuts=Object.assign({},t.inlineShortcuts,{"*":"*"}),window.mathVirtualKeyboard&&(window.mathVirtualKeyboard.policy="manual"),t.menuItems&&(t.menuItems=t.menuItems.filter(i=>{const r=typeof i.label=="string"?i.label.toLowerCase():"",h=typeof i.id=="string"?i.id.toLowerCase():"";return!r.includes("matrix")&&!h.includes("matrix")})))},class:"cme-mathfield",tabIndex:0,"math-virtual-keyboard-policy":"manual",placeholder:""})),e.createElement("div",{className:"cme-popup-footer"},e.createElement("button",{type:"button",className:"cme-insert-btn",onClick:gt},o?"Update":"Insert"),e.createElement("button",{type:"button",className:"cme-cancel-btn",onClick:je},"Cancel"),e.createElement("span",{style:{marginLeft:"auto",fontSize:"11px",color:"#888",alignSelf:"center",marginRight:"10px"}},"v",Ge.version)),mt&&e.createElement("div",{className:"cme-confirm-overlay",onPointerDown:t=>{t.stopPropagation(),ce(!1)}},e.createElement("div",{className:"cme-confirm-modal",onPointerDown:t=>t.stopPropagation()},e.createElement("p",null,"Are you sure you want to leave? The changes you made will be lost."),e.createElement("div",{className:"cme-confirm-actions"},e.createElement("button",{type:"button",className:"cme-confirm-close-btn",onClick:t=>{t.stopPropagation(),ce(!1),s&&s()}},"Close"),e.createElement("button",{type:"button",className:"cme-confirm-cancel-btn",onClick:t=>{t.stopPropagation(),ce(!1)}},"Cancel")))),x&&Y.createPortal(e.createElement(at,{matrixType:x.type,x:x.x,y:x.y,onSelect:(t,i)=>{dt(x.type,t,i),u(null)},onMouseEnter:()=>{},onMouseLeave:()=>{}}),document.body),y&&Y.createPortal(e.createElement(Ye,{isOpen:!!y,position:y,onClose:()=>f(null),onInsert:t=>{ee(t),f(null)}}),document.body),A&&Y.createPortal(e.createElement("div",{className:"cme-color-picker-popup",style:{position:"fixed",left:Math.min(A.x,window.innerWidth-160)+"px",top:Math.min(A.y,window.innerHeight-100)+"px",zIndex:2147483647,background:"#fff",border:"1px solid #ccc",padding:"6px",display:"grid",gridTemplateColumns:"repeat(6, 1fr)",gap:"4px",borderRadius:"4px",boxShadow:"0 2px 5px rgba(0,0,0,0.2)"}},["black","dimgray","gray","darkgray","silver","white","red","orange","yellow","lime","cyan","blue","purple","magenta","pink","brown","maroon","olive","green","teal","navy","indigo","violet","gold"].map(t=>{const i=v.color===t||t==="black"&&(v.color==="none"||!v.color);return e.createElement("div",{key:t,title:t,style:{width:"16px",height:"16px",backgroundColor:t,cursor:"pointer",border:i?"2px solid #e6c229":"1px solid #000",boxSizing:"border-box"},onPointerDown:r=>{r.preventDefault(),r.stopPropagation();const h=m.current;h&&typeof h.applyStyle=="function"&&(h.focus(),h.applyStyle({color:t==="black"?"none":t}),q()),I(null)}})})),document.body)),document.body)}const Ue=({isOpen:l,mode:n,initialValue:s,onInsert:a,onClose:o})=>l?e.createElement(st,{mode:n,onInsert:a,onClose:o,initialLatex:s||"",isEditing:!!s}):null;T.CME_SHADOW_DOM_CSS=Ie,T.CustomMathEditor=Ue,T.MathInlinePlugin=ot,T.default=Ue,Object.defineProperties(T,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|