diff --git a/dist/index.cjs b/dist/index.cjs index 1824807..48973a7 100644 --- a/dist/index.cjs +++ b/dist/index.cjs @@ -1,16 +1,16 @@ -"use strict";var RE=Object.defineProperty;var Hu=t=>{throw TypeError(t)};var OE=(t,e,n)=>e in t?RE(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var L=(t,e,n)=>OE(t,typeof e!="symbol"?e+"":e,n),Gu=(t,e,n)=>e.has(t)||Hu("Cannot "+n);var Or=(t,e,n)=>(Gu(t,e,"read from private field"),n?n.call(t):e.get(t)),Vu=(t,e,n)=>e.has(t)?Hu("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),Yu=(t,e,n,r)=>(Gu(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function Ze(t){this.content=t}Ze.prototype={constructor:Ze,find:function(t){for(var e=0;e>1}};Ze.from=function(t){if(t instanceof Ze)return t;var e=[];if(t)for(var n in t)e.push(n,t[n]);return new Ze(e)};function rm(t,e,n){for(let r=0;;r++){if(r==t.childCount||r==e.childCount)return t.childCount==e.childCount?null:n;let i=t.child(r),o=e.child(r);if(i==o){n+=i.nodeSize;continue}if(!i.sameMarkup(o))return n;if(i.isText&&i.text!=o.text){for(let a=0;i.text[a]==o.text[a];a++)n++;return n}if(i.content.size||o.content.size){let a=rm(i.content,o.content,n+1);if(a!=null)return a}n+=i.nodeSize}}function im(t,e,n,r){for(let i=t.childCount,o=e.childCount;;){if(i==0||o==0)return i==o?null:{a:n,b:r};let a=t.child(--i),s=e.child(--o),l=a.nodeSize;if(a==s){n-=l,r-=l;continue}if(!a.sameMarkup(s))return{a:n,b:r};if(a.isText&&a.text!=s.text){let c=0,u=Math.min(a.text.length,s.text.length);for(;ce&&r(l,i+s,o||null,a)!==!1&&l.content.size){let u=s+1;l.nodesBetween(Math.max(0,e-u),Math.min(l.content.size,n-u),r,i+u)}s=c}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,n,r,i){let o="",a=!0;return this.nodesBetween(e,n,(s,l)=>{let c=s.isText?s.text.slice(Math.max(e,l)-l,n-l):s.isLeaf?i?typeof i=="function"?i(s):i:s.type.spec.leafText?s.type.spec.leafText(s):"":"";s.isBlock&&(s.isLeaf&&c||s.isTextblock)&&r&&(a?a=!1:o+=r),o+=c},0),o}append(e){if(!e.size)return this;if(!this.size)return e;let n=this.lastChild,r=e.firstChild,i=this.content.slice(),o=0;for(n.isText&&n.sameMarkup(r)&&(i[i.length-1]=n.withText(n.text+r.text),o=1);oe)for(let o=0,a=0;ae&&((an)&&(s.isText?s=s.cut(Math.max(0,e-a),Math.min(s.text.length,n-a)):s=s.cut(Math.max(0,e-a-1),Math.min(s.content.size,n-a-1))),r.push(s),i+=s.nodeSize),a=l}return new w(r,i)}cutByIndex(e,n){return e==n?w.empty:e==0&&n==this.content.length?this:new w(this.content.slice(e,n))}replaceChild(e,n){let r=this.content[e];if(r==n)return this;let i=this.content.slice(),o=this.size+n.nodeSize-r.nodeSize;return i[e]=n,new w(i,o)}addToStart(e){return new w([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new w(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let n=0;nthis.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let r=0,i=0;;r++){let o=this.child(r),a=i+o.nodeSize;if(a>=e)return a==e||n>0?Ro(r+1,a):Ro(r,i);i=a}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(e,n){if(!n)return w.empty;if(!Array.isArray(n))throw new RangeError("Invalid input for Fragment.fromJSON");return new w(n.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return w.empty;let n,r=0;for(let i=0;ithis.type.rank&&(n||(n=e.slice(0,i)),n.push(this),r=!0),n&&n.push(o)}}return n||(n=e.slice()),r||n.push(this),n}removeFromSet(e){for(let n=0;nr.type.rank-i.type.rank),n}};Re.none=[];class sa extends Error{}class H{constructor(e,n,r){this.content=e,this.openStart=n,this.openEnd=r}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,n){let r=am(this.content,e+this.openStart,n);return r&&new H(r,this.openStart,this.openEnd)}removeBetween(e,n){return new H(om(this.content,e+this.openStart,n+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(e,n){if(!n)return H.empty;let r=n.openStart||0,i=n.openEnd||0;if(typeof r!="number"||typeof i!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new H(w.fromJSON(e,n.content),r,i)}static maxOpen(e,n=!0){let r=0,i=0;for(let o=e.firstChild;o&&!o.isLeaf&&(n||!o.type.spec.isolating);o=o.firstChild)r++;for(let o=e.lastChild;o&&!o.isLeaf&&(n||!o.type.spec.isolating);o=o.lastChild)i++;return new H(e,r,i)}}H.empty=new H(w.empty,0,0);function om(t,e,n){let{index:r,offset:i}=t.findIndex(e),o=t.maybeChild(r),{index:a,offset:s}=t.findIndex(n);if(i==e||o.isText){if(s!=n&&!t.child(a).isText)throw new RangeError("Removing non-flat range");return t.cut(0,e).append(t.cut(n))}if(r!=a)throw new RangeError("Removing non-flat range");return t.replaceChild(r,o.copy(om(o.content,e-i-1,n-i-1)))}function am(t,e,n,r){let{index:i,offset:o}=t.findIndex(e),a=t.maybeChild(i);if(o==e||a.isText)return t.cut(0,e).append(n).append(t.cut(e));let s=am(a.content,e-o-1,n);return s&&t.replaceChild(i,a.copy(s))}function NE(t,e,n){if(n.openStart>t.depth)throw new sa("Inserted content deeper than insertion position");if(t.depth-n.openStart!=e.depth-n.openEnd)throw new sa("Inconsistent open depths");return sm(t,e,n,0)}function sm(t,e,n,r){let i=t.index(r),o=t.node(r);if(i==e.index(r)&&r=0&&t.isText&&t.sameMarkup(e[n])?e[n]=t.withText(e[n].text+t.text):e.push(t)}function xi(t,e,n,r){let i=(e||t).node(n),o=0,a=e?e.index(n):i.childCount;t&&(o=t.index(n),t.depth>n?o++:t.textOffset&&(ar(t.nodeAfter,r),o++));for(let s=o;si&&xl(t,e,i+1),a=r.depth>i&&xl(n,r,i+1),s=[];return xi(null,t,i,s),o&&a&&e.index(i)==n.index(i)?(lm(o,a),ar(sr(o,cm(t,e,n,r,i+1)),s)):(o&&ar(sr(o,la(t,e,i+1)),s),xi(e,n,i,s),a&&ar(sr(a,la(n,r,i+1)),s)),xi(r,null,i,s),new w(s)}function la(t,e,n){let r=[];if(xi(null,t,n,r),t.depth>n){let i=xl(t,e,n+1);ar(sr(i,la(t,e,n+1)),r)}return xi(e,null,n,r),new w(r)}function AE(t,e){let n=e.depth-t.openStart,i=e.node(n).copy(t.content);for(let o=n-1;o>=0;o--)i=e.node(o).copy(w.from(i));return{start:i.resolveNoCache(t.openStart+n),end:i.resolveNoCache(i.content.size-t.openEnd-n)}}class Vi{constructor(e,n,r){this.pos=e,this.path=n,this.parentOffset=r,this.depth=n.length/3-1}resolveDepth(e){return e==null?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[this.resolveDepth(e)*3]}index(e){return this.path[this.resolveDepth(e)*3+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e==this.depth&&!this.textOffset?0:1)}start(e){return e=this.resolveDepth(e),e==0?0:this.path[e*3-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]}after(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]+this.path[e*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,n=this.index(this.depth);if(n==e.childCount)return null;let r=this.pos-this.path[this.path.length-1],i=e.child(n);return r?e.child(n).cut(r):i}get nodeBefore(){let e=this.index(this.depth),n=this.pos-this.path[this.path.length-1];return n?this.parent.child(e).cut(0,n):e==0?null:this.parent.child(e-1)}posAtIndex(e,n){n=this.resolveDepth(n);let r=this.path[n*3],i=n==0?0:this.path[n*3-1]+1;for(let o=0;o0;n--)if(this.start(n)<=e&&this.end(n)>=e)return n;return 0}blockRange(e=this,n){if(e.pos=0;r--)if(e.pos<=this.end(r)&&(!n||n(this.node(r))))return new ca(this,e,r);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos=0&&n<=e.content.size))throw new RangeError("Position "+n+" out of range");let r=[],i=0,o=n;for(let a=e;;){let{index:s,offset:l}=a.content.findIndex(o),c=o-l;if(r.push(a,s,i+l),!c||(a=a.child(s),a.isText))break;o=c-1,i+=l+1}return new Vi(n,r,o)}static resolveCached(e,n){let r=zu.get(e);if(r)for(let o=0;oe&&this.nodesBetween(e,n,o=>(r.isInSet(o.marks)&&(i=!0),!i)),i}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),um(this.marks,e)}contentMatchAt(e){let n=this.type.contentMatch.matchFragment(this.content,0,e);if(!n)throw new Error("Called contentMatchAt on a node with invalid content");return n}canReplace(e,n,r=w.empty,i=0,o=r.childCount){let a=this.contentMatchAt(e).matchFragment(r,i,o),s=a&&a.matchFragment(this.content,n);if(!s||!s.validEnd)return!1;for(let l=i;ln.type.name)}`);this.content.forEach(n=>n.check())}toJSON(){let e={type:this.type.name};for(let n in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map(n=>n.toJSON())),e}static fromJSON(e,n){if(!n)throw new RangeError("Invalid input for Node.fromJSON");let r;if(n.marks){if(!Array.isArray(n.marks))throw new RangeError("Invalid mark data for Node.fromJSON");r=n.marks.map(e.markFromJSON)}if(n.type=="text"){if(typeof n.text!="string")throw new RangeError("Invalid text node in JSON");return e.text(n.text,r)}let i=w.fromJSON(e,n.content),o=e.nodeType(n.type).create(n.attrs,i,r);return o.type.checkAttrs(o.attrs),o}};Bn.prototype.text=void 0;class ua extends Bn{constructor(e,n,r,i){if(super(e,n,null,i),!r)throw new RangeError("Empty text nodes are not allowed");this.text=r}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):um(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,n){return this.text.slice(e,n)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new ua(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new ua(this.type,this.attrs,e,this.marks)}cut(e=0,n=this.text.length){return e==0&&n==this.text.length?this:this.withText(this.text.slice(e,n))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}}function um(t,e){for(let n=t.length-1;n>=0;n--)e=t[n].type.name+"("+e+")";return e}class mr{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,n){let r=new ME(e,n);if(r.next==null)return mr.empty;let i=dm(r);r.next&&r.err("Unexpected trailing text");let o=UE(BE(i));return HE(o,r),o}matchType(e){for(let n=0;nc.createAndFill()));for(let c=0;c=this.next.length)throw new RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];function n(r){e.push(r);for(let i=0;i{let o=i+(r.validEnd?"*":" ")+" ";for(let a=0;a"+e.indexOf(r.next[a].next);return o}).join(` -`)}}mr.empty=new mr(!0);class ME{constructor(e,n){this.string=e,this.nodeTypes=n,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==""&&this.tokens.pop(),this.tokens[0]==""&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw new SyntaxError(e+" (in content expression '"+this.string+"')")}}function dm(t){let e=[];do e.push(wE(t));while(t.eat("|"));return e.length==1?e[0]:{type:"choice",exprs:e}}function wE(t){let e=[];do e.push(LE(t));while(t.next&&t.next!=")"&&t.next!="|");return e.length==1?e[0]:{type:"seq",exprs:e}}function LE(t){let e=FE(t);for(;;)if(t.eat("+"))e={type:"plus",expr:e};else if(t.eat("*"))e={type:"star",expr:e};else if(t.eat("?"))e={type:"opt",expr:e};else if(t.eat("{"))e=kE(t,e);else break;return e}function $u(t){/\D/.test(t.next)&&t.err("Expected number, got '"+t.next+"'");let e=Number(t.next);return t.pos++,e}function kE(t,e){let n=$u(t),r=n;return t.eat(",")&&(t.next!="}"?r=$u(t):r=-1),t.eat("}")||t.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:e}}function PE(t,e){let n=t.nodeTypes,r=n[e];if(r)return[r];let i=[];for(let o in n){let a=n[o];a.isInGroup(e)&&i.push(a)}return i.length==0&&t.err("No node type or group '"+e+"' found"),i}function FE(t){if(t.eat("(")){let e=dm(t);return t.eat(")")||t.err("Missing closing paren"),e}else if(/\W/.test(t.next))t.err("Unexpected token '"+t.next+"'");else{let e=PE(t,t.next).map(n=>(t.inline==null?t.inline=n.isInline:t.inline!=n.isInline&&t.err("Mixing inline and block content"),{type:"name",value:n}));return t.pos++,e.length==1?e[0]:{type:"choice",exprs:e}}}function BE(t){let e=[[]];return i(o(t,0),n()),e;function n(){return e.push([])-1}function r(a,s,l){let c={term:l,to:s};return e[a].push(c),c}function i(a,s){a.forEach(l=>l.to=s)}function o(a,s){if(a.type=="choice")return a.exprs.reduce((l,c)=>l.concat(o(c,s)),[]);if(a.type=="seq")for(let l=0;;l++){let c=o(a.exprs[l],s);if(l==a.exprs.length-1)return c;i(c,s=n())}else if(a.type=="star"){let l=n();return r(s,l),i(o(a.expr,l),l),[r(l)]}else if(a.type=="plus"){let l=n();return i(o(a.expr,s),l),i(o(a.expr,l),l),[r(l)]}else{if(a.type=="opt")return[r(s)].concat(o(a.expr,s));if(a.type=="range"){let l=s;for(let c=0;c{t[a].forEach(({term:s,to:l})=>{if(!s)return;let c;for(let u=0;u{c||i.push([s,c=[]]),c.indexOf(u)==-1&&c.push(u)})})});let o=e[r.join(",")]=new mr(r.indexOf(t.length-1)>-1);for(let a=0;a-1}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}compatibleContent(e){return this==e||this.contentMatch.compatible(e.contentMatch)}computeAttrs(e){return!e&&this.defaultAttrs?this.defaultAttrs:mm(this.attrs,e)}create(e=null,n,r){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new Bn(this,this.computeAttrs(e),w.from(n),Re.setFrom(r))}createChecked(e=null,n,r){return n=w.from(n),this.checkContent(n),new Bn(this,this.computeAttrs(e),n,Re.setFrom(r))}createAndFill(e=null,n,r){if(e=this.computeAttrs(e),n=w.from(n),n.size){let a=this.contentMatch.fillBefore(n);if(!a)return null;n=a.append(n)}let i=this.contentMatch.matchFragment(n),o=i&&i.fillBefore(w.empty,!0);return o?new Bn(this,e,n.append(o),Re.setFrom(r)):null}validContent(e){let n=this.contentMatch.matchFragment(e);if(!n||!n.validEnd)return!1;for(let r=0;r-1}allowsMarks(e){if(this.markSet==null)return!0;for(let n=0;nr[o]=new hm(o,n,a));let i=n.spec.topNode||"doc";if(!r[i])throw new RangeError("Schema is missing its top node type ('"+i+"')");if(!r.text)throw new RangeError("Every schema needs a 'text' type");for(let o in r.text.attrs)throw new RangeError("The text node type should not have attributes");return r}};function GE(t,e,n){let r=n.split("|");return i=>{let o=i===null?"null":typeof i;if(r.indexOf(o)<0)throw new RangeError(`Expected value of type ${r} for attribute ${e} on type ${t}, got ${o}`)}}class VE{constructor(e,n,r){this.hasDefault=Object.prototype.hasOwnProperty.call(r,"default"),this.default=r.default,this.validate=typeof r.validate=="string"?GE(e,n,r.validate):r.validate}get isRequired(){return!this.hasDefault}}class es{constructor(e,n,r,i){this.name=e,this.rank=n,this.schema=r,this.spec=i,this.attrs=gm(e,i.attrs),this.excluded=null;let o=_m(this.attrs);this.instance=o?new Re(this,o):null}create(e=null){return!e&&this.instance?this.instance:new Re(this,mm(this.attrs,e))}static compile(e,n){let r=Object.create(null),i=0;return e.forEach((o,a)=>r[o]=new es(o,i++,n,a)),r}removeFromSet(e){for(var n=0;n-1}}class Em{constructor(e){this.linebreakReplacement=null,this.cached=Object.create(null);let n=this.spec={};for(let i in e)n[i]=e[i];n.nodes=Ze.from(e.nodes),n.marks=Ze.from(e.marks||{}),this.nodes=Wu.compile(this.spec.nodes,this),this.marks=es.compile(this.spec.marks,this);let r=Object.create(null);for(let i in this.nodes){if(i in this.marks)throw new RangeError(i+" can not be both a node and a mark");let o=this.nodes[i],a=o.spec.content||"",s=o.spec.marks;if(o.contentMatch=r[a]||(r[a]=mr.parse(a,this.nodes)),o.inlineContent=o.contentMatch.inlineContent,o.spec.linebreakReplacement){if(this.linebreakReplacement)throw new RangeError("Multiple linebreak nodes defined");if(!o.isInline||!o.isLeaf)throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=o}o.markSet=s=="_"?null:s?Ku(this,s.split(" ")):s==""||!o.inlineContent?[]:null}for(let i in this.marks){let o=this.marks[i],a=o.spec.excludes;o.excluded=a==null?[o]:a==""?[]:Ku(this,a.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,n=null,r,i){if(typeof e=="string")e=this.nodeType(e);else if(e instanceof Wu){if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}else throw new RangeError("Invalid node type: "+e);return e.createChecked(n,r,i)}text(e,n){let r=this.nodes.text;return new ua(r,r.defaultAttrs,e,Re.setFrom(n))}mark(e,n){return typeof e=="string"&&(e=this.marks[e]),e.create(n)}nodeFromJSON(e){return Bn.fromJSON(this,e)}markFromJSON(e){return Re.fromJSON(this,e)}nodeType(e){let n=this.nodes[e];if(!n)throw new RangeError("Unknown node type: "+e);return n}}function Ku(t,e){let n=[];for(let r=0;r-1)&&n.push(a=l)}if(!a)throw new SyntaxError("Unknown mark type: '"+e[r]+"'")}return n}function YE(t){return t.tag!=null}function zE(t){return t.style!=null}let Wr=class Ml{constructor(e,n){this.schema=e,this.rules=n,this.tags=[],this.styles=[];let r=this.matchedStyles=[];n.forEach(i=>{if(YE(i))this.tags.push(i);else if(zE(i)){let o=/[^=]*/.exec(i.style)[0];r.indexOf(o)<0&&r.push(o),this.styles.push(i)}}),this.normalizeLists=!this.tags.some(i=>{if(!/^(ul|ol)\b/.test(i.tag)||!i.node)return!1;let o=e.nodes[i.node];return o.contentMatch.matchType(o)})}parse(e,n={}){let r=new Zu(this,n,!1);return r.addAll(e,Re.none,n.from,n.to),r.finish()}parseSlice(e,n={}){let r=new Zu(this,n,!0);return r.addAll(e,Re.none,n.from,n.to),H.maxOpen(r.finish())}matchTag(e,n,r){for(let i=r?this.tags.indexOf(r)+1:0;ie.length&&(s.charCodeAt(e.length)!=61||s.slice(e.length+1)!=n))){if(a.getAttrs){let l=a.getAttrs(n);if(l===!1)continue;a.attrs=l||void 0}return a}}}static schemaRules(e){let n=[];function r(i){let o=i.priority==null?50:i.priority,a=0;for(;a{r(a=Xu(a)),a.mark||a.ignore||a.clearMark||(a.mark=i)})}for(let i in e.nodes){let o=e.nodes[i].spec.parseDOM;o&&o.forEach(a=>{r(a=Xu(a)),a.node||a.ignore||a.mark||(a.node=i)})}return n}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new Ml(e,Ml.schemaRules(e)))}};const Sm={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},$E={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},bm={ol:!0,ul:!0},da=1,pa=2,Di=4;function Qu(t,e,n){return e!=null?(e?da:0)|(e==="full"?pa:0):t&&t.whitespace=="pre"?da|pa:n&~Di}class Oo{constructor(e,n,r,i,o,a){this.type=e,this.attrs=n,this.marks=r,this.solid=i,this.options=a,this.content=[],this.activeMarks=Re.none,this.match=o||(a&Di?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let n=this.type.contentMatch.fillBefore(w.from(e));if(n)this.match=this.type.contentMatch.matchFragment(n);else{let r=this.type.contentMatch,i;return(i=r.findWrapping(e.type))?(this.match=r,i):null}}return this.match.findWrapping(e.type)}finish(e){if(!(this.options&da)){let r=this.content[this.content.length-1],i;if(r&&r.isText&&(i=/[ \t\r\n\u000c]+$/.exec(r.text))){let o=r;r.text.length==i[0].length?this.content.pop():this.content[this.content.length-1]=o.withText(o.text.slice(0,o.text.length-i[0].length))}}let n=w.from(this.content);return!e&&this.match&&(n=n.append(this.match.fillBefore(w.empty,!0))),this.type?this.type.create(this.attrs,n,this.marks):n}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!Sm.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}class Zu{constructor(e,n,r){this.parser=e,this.options=n,this.isOpen=r,this.open=0;let i=n.topNode,o,a=Qu(null,n.preserveWhitespace,0)|(r?Di:0);i?o=new Oo(i.type,i.attrs,Re.none,!0,n.topMatch||i.type.contentMatch,a):r?o=new Oo(null,null,Re.none,!0,null,a):o=new Oo(e.schema.topNodeType,null,Re.none,!0,null,a),this.nodes=[o],this.find=n.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e,n){e.nodeType==3?this.addTextNode(e,n):e.nodeType==1&&this.addElement(e,n)}addTextNode(e,n){let r=e.nodeValue,i=this.top;if(i.options&pa||i.inlineContext(e)||/[^ \t\r\n\u000c]/.test(r)){if(i.options&da)i.options&pa?r=r.replace(/\r\n?/g,` -`):r=r.replace(/\r?\n|\r/g," ");else if(r=r.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(r)&&this.open==this.nodes.length-1){let o=i.content[i.content.length-1],a=e.previousSibling;(!o||a&&a.nodeName=="BR"||o.isText&&/[ \t\r\n\u000c]$/.test(o.text))&&(r=r.slice(1))}r&&this.insertNode(this.parser.schema.text(r),n),this.findInText(e)}else this.findInside(e)}addElement(e,n,r){let i=e.nodeName.toLowerCase(),o;bm.hasOwnProperty(i)&&this.parser.normalizeLists&&qE(e);let a=this.options.ruleFromNode&&this.options.ruleFromNode(e)||(o=this.parser.matchTag(e,this,r));if(a?a.ignore:$E.hasOwnProperty(i))this.findInside(e),this.ignoreFallback(e,n);else if(!a||a.skip||a.closeParent){a&&a.closeParent?this.open=Math.max(0,this.open-1):a&&a.skip.nodeType&&(e=a.skip);let s,l=this.top,c=this.needsBlock;if(Sm.hasOwnProperty(i))l.content.length&&l.content[0].isInline&&this.open&&(this.open--,l=this.top),s=!0,l.type||(this.needsBlock=!0);else if(!e.firstChild){this.leafFallback(e,n);return}let u=a&&a.skip?n:this.readStyles(e,n);u&&this.addAll(e,u),s&&this.sync(l),this.needsBlock=c}else{let s=this.readStyles(e,n);s&&this.addElementByRule(e,a,s,a.consuming===!1?o:void 0)}}leafFallback(e,n){e.nodeName=="BR"&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(e.ownerDocument.createTextNode(` -`),n)}ignoreFallback(e,n){e.nodeName=="BR"&&(!this.top.type||!this.top.type.inlineContent)&&this.findPlace(this.parser.schema.text("-"),n)}readStyles(e,n){let r=e.style;if(r&&r.length)for(let i=0;i!l.clearMark(c)):n=n.concat(this.parser.schema.marks[l.mark].create(l.attrs)),l.consuming===!1)s=l;else break}}return n}addElementByRule(e,n,r,i){let o,a;if(n.node)if(a=this.parser.schema.nodes[n.node],a.isLeaf)this.insertNode(a.create(n.attrs),r)||this.leafFallback(e,r);else{let l=this.enter(a,n.attrs||null,r,n.preserveWhitespace);l&&(o=!0,r=l)}else{let l=this.parser.schema.marks[n.mark];r=r.concat(l.create(n.attrs))}let s=this.top;if(a&&a.isLeaf)this.findInside(e);else if(i)this.addElement(e,r,i);else if(n.getContent)this.findInside(e),n.getContent(e,this.parser.schema).forEach(l=>this.insertNode(l,r));else{let l=e;typeof n.contentElement=="string"?l=e.querySelector(n.contentElement):typeof n.contentElement=="function"?l=n.contentElement(e):n.contentElement&&(l=n.contentElement),this.findAround(e,l,!0),this.addAll(l,r),this.findAround(e,l,!1)}o&&this.sync(s)&&this.open--}addAll(e,n,r,i){let o=r||0;for(let a=r?e.childNodes[r]:e.firstChild,s=i==null?null:e.childNodes[i];a!=s;a=a.nextSibling,++o)this.findAtPoint(e,o),this.addDOM(a,n);this.findAtPoint(e,o)}findPlace(e,n){let r,i;for(let o=this.open;o>=0;o--){let a=this.nodes[o],s=a.findWrapping(e);if(s&&(!r||r.length>s.length)&&(r=s,i=a,!s.length)||a.solid)break}if(!r)return null;this.sync(i);for(let o=0;o(a.type?a.type.allowsMarkType(c.type):ju(c.type,e))?(l=c.addToSet(l),!1):!0),this.nodes.push(new Oo(e,n,l,i,null,s)),this.open++,r}closeExtra(e=!1){let n=this.nodes.length-1;if(n>this.open){for(;n>this.open;n--)this.nodes[n-1].content.push(this.nodes[n].finish(e));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(this.isOpen||this.options.topOpen)}sync(e){for(let n=this.open;n>=0;n--)if(this.nodes[n]==e)return this.open=n,!0;return!1}get currentPos(){this.closeExtra();let e=0;for(let n=this.open;n>=0;n--){let r=this.nodes[n].content;for(let i=r.length-1;i>=0;i--)e+=r[i].nodeSize;n&&e++}return e}findAtPoint(e,n){if(this.find)for(let r=0;r-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let n=e.split("/"),r=this.options.context,i=!this.isOpen&&(!r||r.parent.type==this.nodes[0].type),o=-(r?r.depth+1:0)+(i?0:1),a=(s,l)=>{for(;s>=0;s--){let c=n[s];if(c==""){if(s==n.length-1||s==0)continue;for(;l>=o;l--)if(a(s-1,l))return!0;return!1}else{let u=l>0||l==0&&i?this.nodes[l].type:r&&l>=o?r.node(l-o).type:null;if(!u||u.name!=c&&!u.isInGroup(c))return!1;l--}}return!0};return a(n.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let n=e.depth;n>=0;n--){let r=e.node(n).contentMatchAt(e.indexAfter(n)).defaultType;if(r&&r.isTextblock&&r.defaultAttrs)return r}for(let n in this.parser.schema.nodes){let r=this.parser.schema.nodes[n];if(r.isTextblock&&r.defaultAttrs)return r}}}function qE(t){for(let e=t.firstChild,n=null;e;e=e.nextSibling){let r=e.nodeType==1?e.nodeName.toLowerCase():null;r&&bm.hasOwnProperty(r)&&n?(n.appendChild(e),e=n):r=="li"?n=e:r&&(n=null)}}function WE(t,e){return(t.matches||t.msMatchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector).call(t,e)}function Xu(t){let e={};for(let n in t)e[n]=t[n];return e}function ju(t,e){let n=e.schema.nodes;for(let r in n){let i=n[r];if(!i.allowsMarkType(t))continue;let o=[],a=s=>{o.push(s);for(let l=0;l{if(o.length||a.marks.length){let s=0,l=0;for(;s=0;i--){let o=this.serializeMark(e.marks[i],e.isInline,n);o&&((o.contentDOM||o.dom).appendChild(r),r=o.dom)}return r}serializeMark(e,n,r={}){let i=this.marks[e.type.name];return i&&Xo(ws(r),i(e,n),null,e.attrs)}static renderSpec(e,n,r=null,i){return Xo(e,n,r,i)}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new Cr(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let n=Ju(e.nodes);return n.text||(n.text=r=>r.text),n}static marksFromSchema(e){return Ju(e.marks)}}function Ju(t){let e={};for(let n in t){let r=t[n].spec.toDOM;r&&(e[n]=r)}return e}function ws(t){return t.document||window.document}const ed=new WeakMap;function KE(t){let e=ed.get(t);return e===void 0&&ed.set(t,e=QE(t)),e}function QE(t){let e=null;function n(r){if(r&&typeof r=="object")if(Array.isArray(r))if(typeof r[0]=="string")e||(e=[]),e.push(r);else for(let i=0;i-1)throw new RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");let a=i.indexOf(" ");a>0&&(n=i.slice(0,a),i=i.slice(a+1));let s,l=n?t.createElementNS(n,i):t.createElement(i),c=e[1],u=1;if(c&&typeof c=="object"&&c.nodeType==null&&!Array.isArray(c)){u=2;for(let d in c)if(c[d]!=null){let p=d.indexOf(" ");p>0?l.setAttributeNS(d.slice(0,p),d.slice(p+1),c[d]):l.setAttribute(d,c[d])}}for(let d=u;du)throw new RangeError("Content hole must be the only child of its parent node");return{dom:l,contentDOM:l}}else{let{dom:_,contentDOM:m}=Xo(t,p,n,r);if(l.appendChild(_),m){if(s)throw new RangeError("Multiple content holes");s=m}}}return{dom:l,contentDOM:s}}const Tm=65535,Cm=Math.pow(2,16);function ZE(t,e){return t+e*Cm}function td(t){return t&Tm}function XE(t){return(t-(t&Tm))/Cm}const ym=1,vm=2,jo=4,Rm=8;class wl{constructor(e,n,r){this.pos=e,this.delInfo=n,this.recover=r}get deleted(){return(this.delInfo&Rm)>0}get deletedBefore(){return(this.delInfo&(ym|jo))>0}get deletedAfter(){return(this.delInfo&(vm|jo))>0}get deletedAcross(){return(this.delInfo&jo)>0}}class Ct{constructor(e,n=!1){if(this.ranges=e,this.inverted=n,!e.length&&Ct.empty)return Ct.empty}recover(e){let n=0,r=td(e);if(!this.inverted)for(let i=0;ie)break;let c=this.ranges[s+o],u=this.ranges[s+a],d=l+c;if(e<=d){let p=c?e==l?-1:e==d?1:n:n,_=l+i+(p<0?0:u);if(r)return _;let m=e==(n<0?l:d)?null:ZE(s/3,e-l),f=e==l?vm:e==d?ym:jo;return(n<0?e!=l:e!=d)&&(f|=Rm),new wl(_,f,m)}i+=u-c}return r?e+i:new wl(e+i,0,null)}touches(e,n){let r=0,i=td(n),o=this.inverted?2:1,a=this.inverted?1:2;for(let s=0;se)break;let c=this.ranges[s+o],u=l+c;if(e<=u&&s==i*3)return!0;r+=this.ranges[s+a]-c}return!1}forEach(e){let n=this.inverted?2:1,r=this.inverted?1:2;for(let i=0,o=0;i=0;n--){let i=e.getMirror(n);this.appendMap(e.maps[n].invert(),i!=null&&i>n?r-i-1:void 0)}}invert(){let e=new Kr;return e.appendMappingInverted(this),e}map(e,n=1){if(this.mirror)return this._map(e,n,!0);for(let r=this.from;ro&&l!a.isAtom||!s.type.allowsMarkType(this.mark.type)?a:a.mark(this.mark.addToSet(a.marks)),i),n.openStart,n.openEnd);return Fe.fromReplace(e,this.from,this.to,o)}invert(){return new Zt(this.from,this.to,this.mark)}map(e){let n=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new Dn(n.pos,r.pos,this.mark)}merge(e){return e instanceof Dn&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new Dn(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new Dn(n.from,n.to,e.markFromJSON(n.mark))}}ot.jsonID("addMark",Dn);class Zt extends ot{constructor(e,n,r){super(),this.from=e,this.to=n,this.mark=r}apply(e){let n=e.slice(this.from,this.to),r=new H(bc(n.content,i=>i.mark(this.mark.removeFromSet(i.marks)),e),n.openStart,n.openEnd);return Fe.fromReplace(e,this.from,this.to,r)}invert(){return new Dn(this.from,this.to,this.mark)}map(e){let n=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new Zt(n.pos,r.pos,this.mark)}merge(e){return e instanceof Zt&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new Zt(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new Zt(n.from,n.to,e.markFromJSON(n.mark))}}ot.jsonID("removeMark",Zt);class Mn extends ot{constructor(e,n){super(),this.pos=e,this.mark=n}apply(e){let n=e.nodeAt(this.pos);if(!n)return Fe.fail("No node at mark step's position");let r=n.type.create(n.attrs,null,this.mark.addToSet(n.marks));return Fe.fromReplace(e,this.pos,this.pos+1,new H(w.from(r),0,n.isLeaf?0:1))}invert(e){let n=e.nodeAt(this.pos);if(n){let r=this.mark.addToSet(n.marks);if(r.length==n.marks.length){for(let i=0;ir.pos?null:new ze(n.pos,r.pos,i,o,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number"||typeof n.gapFrom!="number"||typeof n.gapTo!="number"||typeof n.insert!="number")throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new ze(n.from,n.to,n.gapFrom,n.gapTo,H.fromJSON(e,n.slice),n.insert,!!n.structure)}}ot.jsonID("replaceAround",ze);function Ll(t,e,n){let r=t.resolve(e),i=n-e,o=r.depth;for(;i>0&&o>0&&r.indexAfter(o)==r.node(o).childCount;)o--,i--;if(i>0){let a=r.node(o).maybeChild(r.indexAfter(o));for(;i>0;){if(!a||a.isLeaf)return!0;a=a.firstChild,i--}}return!1}function jE(t,e,n,r){let i=[],o=[],a,s;t.doc.nodesBetween(e,n,(l,c,u)=>{if(!l.isInline)return;let d=l.marks;if(!r.isInSet(d)&&u.type.allowsMarkType(r.type)){let p=Math.max(c,e),_=Math.min(c+l.nodeSize,n),m=r.addToSet(d);for(let f=0;ft.step(l)),o.forEach(l=>t.step(l))}function JE(t,e,n,r){let i=[],o=0;t.doc.nodesBetween(e,n,(a,s)=>{if(!a.isInline)return;o++;let l=null;if(r instanceof es){let c=a.marks,u;for(;u=r.isInSet(c);)(l||(l=[])).push(u),c=u.removeFromSet(c)}else r?r.isInSet(a.marks)&&(l=[r]):l=a.marks;if(l&&l.length){let c=Math.min(s+a.nodeSize,n);for(let u=0;ut.step(new Zt(a.from,a.to,a.style)))}function Tc(t,e,n,r=n.contentMatch,i=!0){let o=t.doc.nodeAt(e),a=[],s=e+1;for(let l=0;l=0;l--)t.step(a[l])}function eS(t,e,n){return(e==0||t.canReplace(e,t.childCount))&&(n==t.childCount||t.canReplace(0,n))}function _i(t){let n=t.parent.content.cutByIndex(t.startIndex,t.endIndex);for(let r=t.depth;;--r){let i=t.$from.node(r),o=t.$from.index(r),a=t.$to.indexAfter(r);if(rn;m--)f||r.index(m)>0?(f=!0,u=w.from(r.node(m).copy(u)),d++):l--;let p=w.empty,_=0;for(let m=o,f=!1;m>n;m--)f||i.after(m+1)=0;a--){if(r.size){let s=n[a].type.contentMatch.matchFragment(r);if(!s||!s.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}r=w.from(n[a].type.create(n[a].attrs,r))}let i=e.start,o=e.end;t.step(new ze(i,o,i,o,new H(r,0,0),n.length,!0))}function oS(t,e,n,r,i){if(!r.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let o=t.steps.length;t.doc.nodesBetween(e,n,(a,s)=>{let l=typeof i=="function"?i(a):i;if(a.isTextblock&&!a.hasMarkup(r,l)&&aS(t.doc,t.mapping.slice(o).map(s),r)){let c=null;if(r.schema.linebreakReplacement){let _=r.whitespace=="pre",m=!!r.contentMatch.matchType(r.schema.linebreakReplacement);_&&!m?c=!1:!_&&m&&(c=!0)}c===!1&&Nm(t,a,s,o),Tc(t,t.mapping.slice(o).map(s,1),r,void 0,c===null);let u=t.mapping.slice(o),d=u.map(s,1),p=u.map(s+a.nodeSize,1);return t.step(new ze(d,p,d+1,p-1,new H(w.from(r.create(l,null,a.marks)),0,0),1,!0)),c===!0&&Om(t,a,s,o),!1}})}function Om(t,e,n,r){e.forEach((i,o)=>{if(i.isText){let a,s=/\r?\n|\r/g;for(;a=s.exec(i.text);){let l=t.mapping.slice(r).map(n+1+o+a.index);t.replaceWith(l,l+1,e.type.schema.linebreakReplacement.create())}}})}function Nm(t,e,n,r){e.forEach((i,o)=>{if(i.type==i.type.schema.linebreakReplacement){let a=t.mapping.slice(r).map(n+1+o);t.replaceWith(a,a+1,e.type.schema.text(` -`))}})}function aS(t,e,n){let r=t.resolve(e),i=r.index();return r.parent.canReplaceWith(i,i+1,n)}function sS(t,e,n,r,i){let o=t.doc.nodeAt(e);if(!o)throw new RangeError("No node at given position");n||(n=o.type);let a=n.create(r,null,i||o.marks);if(o.isLeaf)return t.replaceWith(e,e+o.nodeSize,a);if(!n.validContent(o.content))throw new RangeError("Invalid content for node type "+n.name);t.step(new ze(e,e+o.nodeSize,e+1,e+o.nodeSize-1,new H(w.from(a),0,0),1,!0))}function Qr(t,e,n=1,r){let i=t.resolve(e),o=i.depth-n,a=r&&r[r.length-1]||i.parent;if(o<0||i.parent.type.spec.isolating||!i.parent.canReplace(i.index(),i.parent.childCount)||!a.type.validContent(i.parent.content.cutByIndex(i.index(),i.parent.childCount)))return!1;for(let c=i.depth-1,u=n-2;c>o;c--,u--){let d=i.node(c),p=i.index(c);if(d.type.spec.isolating)return!1;let _=d.content.cutByIndex(p,d.childCount),m=r&&r[u+1];m&&(_=_.replaceChild(0,m.type.create(m.attrs)));let f=r&&r[u]||d;if(!d.canReplace(p+1,d.childCount)||!f.type.validContent(_))return!1}let s=i.indexAfter(o),l=r&&r[0];return i.node(o).canReplaceWith(s,s,l?l.type:i.node(o+1).type)}function lS(t,e,n=1,r){let i=t.doc.resolve(e),o=w.empty,a=w.empty;for(let s=i.depth,l=i.depth-n,c=n-1;s>l;s--,c--){o=w.from(i.node(s).copy(o));let u=r&&r[c];a=w.from(u?u.type.create(u.attrs,a):i.node(s).copy(a))}t.step(new Ue(e,e,new H(o.append(a),n,n),!0))}function $n(t,e){let n=t.resolve(e),r=n.index();return Am(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(r,r+1)}function cS(t,e){e.content.size||t.type.compatibleContent(e.type);let n=t.contentMatchAt(t.childCount),{linebreakReplacement:r}=t.type.schema;for(let i=0;i0?(o=r.node(i+1),s++,a=r.node(i).maybeChild(s)):(o=r.node(i).maybeChild(s-1),a=r.node(i+1)),o&&!o.isTextblock&&Am(o,a)&&r.node(i).canReplace(s,s+1))return e;if(i==0)break;e=n<0?r.before(i):r.after(i)}}function uS(t,e,n){let r=null,{linebreakReplacement:i}=t.doc.type.schema,o=t.doc.resolve(e-n),a=o.node().type;if(i&&a.inlineContent){let u=a.whitespace=="pre",d=!!a.contentMatch.matchType(i);u&&!d?r=!1:!u&&d&&(r=!0)}let s=t.steps.length;if(r===!1){let u=t.doc.resolve(e+n);Nm(t,u.node(),u.before(),s)}a.inlineContent&&Tc(t,e+n-1,a,o.node().contentMatchAt(o.index()),r==null);let l=t.mapping.slice(s),c=l.map(e-n);if(t.step(new Ue(c,l.map(e+n,-1),H.empty,!0)),r===!0){let u=t.doc.resolve(c);Om(t,u.node(),u.before(),t.steps.length)}return t}function dS(t,e,n){let r=t.resolve(e);if(r.parent.canReplaceWith(r.index(),r.index(),n))return e;if(r.parentOffset==0)for(let i=r.depth-1;i>=0;i--){let o=r.index(i);if(r.node(i).canReplaceWith(o,o,n))return r.before(i+1);if(o>0)return null}if(r.parentOffset==r.parent.content.size)for(let i=r.depth-1;i>=0;i--){let o=r.indexAfter(i);if(r.node(i).canReplaceWith(o,o,n))return r.after(i+1);if(o=0;a--){let s=a==r.depth?0:r.pos<=(r.start(a+1)+r.end(a+1))/2?-1:1,l=r.index(a)+(s>0?1:0),c=r.node(a),u=!1;if(o==1)u=c.canReplace(l,l,i);else{let d=c.contentMatchAt(l).findWrapping(i.firstChild.type);u=d&&c.canReplaceWith(l,l,d[0])}if(u)return s==0?r.pos:s<0?r.before(a+1):r.after(a+1)}return null}function ns(t,e,n=e,r=H.empty){if(e==n&&!r.size)return null;let i=t.resolve(e),o=t.resolve(n);return xm(i,o,r)?new Ue(e,n,r):new pS(i,o,r).fit()}function xm(t,e,n){return!n.openStart&&!n.openEnd&&t.start()==e.start()&&t.parent.canReplace(t.index(),e.index(),n.content)}class pS{constructor(e,n,r){this.$from=e,this.$to=n,this.unplaced=r,this.frontier=[],this.placed=w.empty;for(let i=0;i<=e.depth;i++){let o=e.node(i);this.frontier.push({type:o.type,match:o.contentMatchAt(e.indexAfter(i))})}for(let i=e.depth;i>0;i--)this.placed=w.from(e.node(i).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let c=this.findFittable();c?this.placeNodes(c):this.openMore()||this.dropNode()}let e=this.mustMoveInline(),n=this.placed.size-this.depth-this.$from.depth,r=this.$from,i=this.close(e<0?this.$to:r.doc.resolve(e));if(!i)return null;let o=this.placed,a=r.depth,s=i.depth;for(;a&&s&&o.childCount==1;)o=o.firstChild.content,a--,s--;let l=new H(o,a,s);return e>-1?new ze(r.pos,e,this.$to.pos,this.$to.end(),l,n):l.size||r.pos!=this.$to.pos?new Ue(r.pos,i.pos,l):null}findFittable(){let e=this.unplaced.openStart;for(let n=this.unplaced.content,r=0,i=this.unplaced.openEnd;r1&&(i=0),o.type.spec.isolating&&i<=r){e=r;break}n=o.content}for(let n=1;n<=2;n++)for(let r=n==1?e:this.unplaced.openStart;r>=0;r--){let i,o=null;r?(o=ks(this.unplaced.content,r-1).firstChild,i=o.content):i=this.unplaced.content;let a=i.firstChild;for(let s=this.depth;s>=0;s--){let{type:l,match:c}=this.frontier[s],u,d=null;if(n==1&&(a?c.matchType(a.type)||(d=c.fillBefore(w.from(a),!1)):o&&l.compatibleContent(o.type)))return{sliceDepth:r,frontierDepth:s,parent:o,inject:d};if(n==2&&a&&(u=c.findWrapping(a.type)))return{sliceDepth:r,frontierDepth:s,parent:o,wrap:u};if(o&&c.matchType(o.type))break}}}openMore(){let{content:e,openStart:n,openEnd:r}=this.unplaced,i=ks(e,n);return!i.childCount||i.firstChild.isLeaf?!1:(this.unplaced=new H(e,n+1,Math.max(r,i.size+n>=e.size-r?n+1:0)),!0)}dropNode(){let{content:e,openStart:n,openEnd:r}=this.unplaced,i=ks(e,n);if(i.childCount<=1&&n>0){let o=e.size-n<=n+i.size;this.unplaced=new H(Ni(e,n-1,1),n-1,o?n-1:r)}else this.unplaced=new H(Ni(e,n,1),n,r)}placeNodes({sliceDepth:e,frontierDepth:n,parent:r,inject:i,wrap:o}){for(;this.depth>n;)this.closeFrontierNode();if(o)for(let f=0;f1||l==0||f.content.size)&&(d=g,u.push(Dm(f.mark(p.allowedMarks(f.marks)),c==1?l:0,c==s.childCount?_:-1)))}let m=c==s.childCount;m||(_=-1),this.placed=Ai(this.placed,n,w.from(u)),this.frontier[n].match=d,m&&_<0&&r&&r.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let f=0,g=s;f<_;f++){let E=g.lastChild;this.frontier.push({type:E.type,match:E.contentMatchAt(E.childCount)}),g=E.content}this.unplaced=m?e==0?H.empty:new H(Ni(a.content,e-1,1),e-1,_<0?a.openEnd:e-1):new H(Ni(a.content,e,c),a.openStart,a.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return-1;let e=this.frontier[this.depth],n;if(!e.type.isTextblock||!Ps(this.$to,this.$to.depth,e.type,e.match,!1)||this.$to.depth==this.depth&&(n=this.findCloseLevel(this.$to))&&n.depth==this.depth)return-1;let{depth:r}=this.$to,i=this.$to.after(r);for(;r>1&&i==this.$to.end(--r);)++i;return i}findCloseLevel(e){e:for(let n=Math.min(this.depth,e.depth);n>=0;n--){let{match:r,type:i}=this.frontier[n],o=n=0;s--){let{match:l,type:c}=this.frontier[s],u=Ps(e,s,c,l,!0);if(!u||u.childCount)continue e}return{depth:n,fit:a,move:o?e.doc.resolve(e.after(n+1)):e}}}}close(e){let n=this.findCloseLevel(e);if(!n)return null;for(;this.depth>n.depth;)this.closeFrontierNode();n.fit.childCount&&(this.placed=Ai(this.placed,n.depth,n.fit)),e=n.move;for(let r=n.depth+1;r<=e.depth;r++){let i=e.node(r),o=i.type.contentMatch.fillBefore(i.content,!0,e.index(r));this.openFrontierNode(i.type,i.attrs,o)}return e}openFrontierNode(e,n=null,r){let i=this.frontier[this.depth];i.match=i.match.matchType(e),this.placed=Ai(this.placed,this.depth,w.from(e.create(n,r))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let n=this.frontier.pop().match.fillBefore(w.empty,!0);n.childCount&&(this.placed=Ai(this.placed,this.frontier.length,n))}}function Ni(t,e,n){return e==0?t.cutByIndex(n,t.childCount):t.replaceChild(0,t.firstChild.copy(Ni(t.firstChild.content,e-1,n)))}function Ai(t,e,n){return e==0?t.append(n):t.replaceChild(t.childCount-1,t.lastChild.copy(Ai(t.lastChild.content,e-1,n)))}function ks(t,e){for(let n=0;n1&&(r=r.replaceChild(0,Dm(r.firstChild,e-1,r.childCount==1?n-1:0))),e>0&&(r=t.type.contentMatch.fillBefore(r).append(r),n<=0&&(r=r.append(t.type.contentMatch.matchFragment(r).fillBefore(w.empty,!0)))),t.copy(r)}function Ps(t,e,n,r,i){let o=t.node(e),a=i?t.indexAfter(e):t.index(e);if(a==o.childCount&&!n.compatibleContent(o.type))return null;let s=r.fillBefore(o.content,!0,a);return s&&!_S(n,o.content,a)?s:null}function _S(t,e,n){for(let r=n;r0;p--,_--){let m=i.node(p).type.spec;if(m.defining||m.definingAsContext||m.isolating)break;a.indexOf(p)>-1?s=p:i.before(p)==_&&a.splice(1,0,-p)}let l=a.indexOf(s),c=[],u=r.openStart;for(let p=r.content,_=0;;_++){let m=p.firstChild;if(c.push(m),_==r.openStart)break;p=m.content}for(let p=u-1;p>=0;p--){let _=c[p],m=mS(_.type);if(m&&!_.sameMarkup(i.node(Math.abs(s)-1)))u=p;else if(m||!_.type.isTextblock)break}for(let p=r.openStart;p>=0;p--){let _=(p+u+1)%(r.openStart+1),m=c[_];if(m)for(let f=0;f=0&&(t.replace(e,n,r),!(t.steps.length>d));p--){let _=a[p];_<0||(e=i.before(_),n=o.after(_))}}function Mm(t,e,n,r,i){if(er){let o=i.contentMatchAt(0),a=o.fillBefore(t).append(t);t=a.append(o.matchFragment(a).fillBefore(w.empty,!0))}return t}function gS(t,e,n,r){if(!r.isInline&&e==n&&t.doc.resolve(e).parent.content.size){let i=dS(t.doc,e,r.type);i!=null&&(e=n=i)}t.replaceRange(e,n,new H(w.from(r),0,0))}function hS(t,e,n){let r=t.doc.resolve(e),i=t.doc.resolve(n),o=wm(r,i);for(let a=0;a0&&(l||r.node(s-1).canReplace(r.index(s-1),i.indexAfter(s-1))))return t.delete(r.before(s),i.after(s))}for(let a=1;a<=r.depth&&a<=i.depth;a++)if(e-r.start(a)==r.depth-a&&n>r.end(a)&&i.end(a)-n!=i.depth-a&&r.start(a-1)==i.start(a-1)&&r.node(a-1).canReplace(r.index(a-1),i.index(a-1)))return t.delete(r.before(a),n);t.delete(e,n)}function wm(t,e){let n=[],r=Math.min(t.depth,e.depth);for(let i=r;i>=0;i--){let o=t.start(i);if(oe.pos+(e.depth-i)||t.node(i).type.spec.isolating||e.node(i).type.spec.isolating)break;(o==e.start(i)||i==t.depth&&i==e.depth&&t.parent.inlineContent&&e.parent.inlineContent&&i&&e.start(i-1)==o-1)&&n.push(i)}return n}class Zr extends ot{constructor(e,n,r){super(),this.pos=e,this.attr=n,this.value=r}apply(e){let n=e.nodeAt(this.pos);if(!n)return Fe.fail("No node at attribute step's position");let r=Object.create(null);for(let o in n.attrs)r[o]=n.attrs[o];r[this.attr]=this.value;let i=n.type.create(r,null,n.marks);return Fe.fromReplace(e,this.pos,this.pos+1,new H(w.from(i),0,n.isLeaf?0:1))}getMap(){return Ct.empty}invert(e){return new Zr(this.pos,this.attr,e.nodeAt(this.pos).attrs[this.attr])}map(e){let n=e.mapResult(this.pos,1);return n.deletedAfter?null:new Zr(n.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(e,n){if(typeof n.pos!="number"||typeof n.attr!="string")throw new RangeError("Invalid input for AttrStep.fromJSON");return new Zr(n.pos,n.attr,n.value)}}ot.jsonID("attr",Zr);class Yi extends ot{constructor(e,n){super(),this.attr=e,this.value=n}apply(e){let n=Object.create(null);for(let i in e.attrs)n[i]=e.attrs[i];n[this.attr]=this.value;let r=e.type.create(n,e.content,e.marks);return Fe.ok(r)}getMap(){return Ct.empty}invert(e){return new Yi(this.attr,e.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(e,n){if(typeof n.attr!="string")throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new Yi(n.attr,n.value)}}ot.jsonID("docAttr",Yi);let ei=class extends Error{};ei=function t(e){let n=Error.call(this,e);return n.__proto__=t.prototype,n};ei.prototype=Object.create(Error.prototype);ei.prototype.constructor=ei;ei.prototype.name="TransformError";class yc{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new Kr}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let n=this.maybeStep(e);if(n.failed)throw new ei(n.failed);return this}maybeStep(e){let n=e.apply(this.doc);return n.failed||this.addStep(e,n.doc),n}get docChanged(){return this.steps.length>0}addStep(e,n){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=n}replace(e,n=e,r=H.empty){let i=ns(this.doc,e,n,r);return i&&this.step(i),this}replaceWith(e,n,r){return this.replace(e,n,new H(w.from(r),0,0))}delete(e,n){return this.replace(e,n,H.empty)}insert(e,n){return this.replaceWith(e,e,n)}replaceRange(e,n,r){return fS(this,e,n,r),this}replaceRangeWith(e,n,r){return gS(this,e,n,r),this}deleteRange(e,n){return hS(this,e,n),this}lift(e,n){return tS(this,e,n),this}join(e,n=1){return uS(this,e,n),this}wrap(e,n){return iS(this,e,n),this}setBlockType(e,n=e,r,i=null){return oS(this,e,n,r,i),this}setNodeMarkup(e,n,r=null,i){return sS(this,e,n,r,i),this}setNodeAttribute(e,n,r){return this.step(new Zr(e,n,r)),this}setDocAttribute(e,n){return this.step(new Yi(e,n)),this}addNodeMark(e,n){return this.step(new Mn(e,n)),this}removeNodeMark(e,n){if(!(n instanceof Re)){let r=this.doc.nodeAt(e);if(!r)throw new RangeError("No node at position "+e);if(n=n.isInSet(r.marks),!n)return this}return this.step(new Jr(e,n)),this}split(e,n=1,r){return lS(this,e,n,r),this}addMark(e,n,r){return jE(this,e,n,r),this}removeMark(e,n,r){return JE(this,e,n,r),this}clearIncompatible(e,n,r){return Tc(this,e,n,r),this}}const Fs=Object.create(null);class te{constructor(e,n,r){this.$anchor=e,this.$head=n,this.ranges=r||[new Lm(e.min(n),e.max(n))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let e=this.ranges;for(let n=0;n=0;o--){let a=n<0?Pr(e.node(0),e.node(o),e.before(o+1),e.index(o),n,r):Pr(e.node(0),e.node(o),e.after(o+1),e.index(o)+1,n,r);if(a)return a}return null}static near(e,n=1){return this.findFrom(e,n)||this.findFrom(e,-n)||new Dt(e.node(0))}static atStart(e){return Pr(e,e,0,0,1)||new Dt(e)}static atEnd(e){return Pr(e,e,e.content.size,e.childCount,-1)||new Dt(e)}static fromJSON(e,n){if(!n||!n.type)throw new RangeError("Invalid input for Selection.fromJSON");let r=Fs[n.type];if(!r)throw new RangeError(`No selection type ${n.type} defined`);return r.fromJSON(e,n)}static jsonID(e,n){if(e in Fs)throw new RangeError("Duplicate use of selection JSON ID "+e);return Fs[e]=n,n.prototype.jsonID=e,n}getBookmark(){return Z.between(this.$anchor,this.$head).getBookmark()}}te.prototype.visible=!0;class Lm{constructor(e,n){this.$from=e,this.$to=n}}let rd=!1;function id(t){!rd&&!t.parent.inlineContent&&(rd=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+t.parent.type.name+")"))}class Z extends te{constructor(e,n=e){id(e),id(n),super(e,n)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(e,n){let r=e.resolve(n.map(this.head));if(!r.parent.inlineContent)return te.near(r);let i=e.resolve(n.map(this.anchor));return new Z(i.parent.inlineContent?i:r,r)}replace(e,n=H.empty){if(super.replace(e,n),n==H.empty){let r=this.$from.marksAcross(this.$to);r&&e.ensureMarks(r)}}eq(e){return e instanceof Z&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new rs(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(e,n){if(typeof n.anchor!="number"||typeof n.head!="number")throw new RangeError("Invalid input for TextSelection.fromJSON");return new Z(e.resolve(n.anchor),e.resolve(n.head))}static create(e,n,r=n){let i=e.resolve(n);return new this(i,r==n?i:e.resolve(r))}static between(e,n,r){let i=e.pos-n.pos;if((!r||i)&&(r=i>=0?1:-1),!n.parent.inlineContent){let o=te.findFrom(n,r,!0)||te.findFrom(n,-r,!0);if(o)n=o.$head;else return te.near(n,r)}return e.parent.inlineContent||(i==0?e=n:(e=(te.findFrom(e,-r,!0)||te.findFrom(e,r,!0)).$anchor,e.pos0?0:1);i>0?a=0;a+=i){let s=e.child(a);if(s.isAtom){if(!o&&ee.isSelectable(s))return ee.create(t,n-(i<0?s.nodeSize:0))}else{let l=Pr(t,s,n+i,i<0?s.childCount:0,i,o);if(l)return l}n+=s.nodeSize*i}return null}function od(t,e,n){let r=t.steps.length-1;if(r{a==null&&(a=u)}),t.setSelection(te.near(t.doc.resolve(a),n))}const ad=1,No=2,sd=4;class SS extends yc{constructor(e){super(e.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=e.selection,this.storedMarks=e.storedMarks}get selection(){return this.curSelectionFor0}setStoredMarks(e){return this.storedMarks=e,this.updated|=No,this}ensureMarks(e){return Re.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(this.updated&No)>0}addStep(e,n){super.addStep(e,n),this.updated=this.updated&~No,this.storedMarks=null}setTime(e){return this.time=e,this}replaceSelection(e){return this.selection.replace(this,e),this}replaceSelectionWith(e,n=!0){let r=this.selection;return n&&(e=e.mark(this.storedMarks||(r.empty?r.$from.marks():r.$from.marksAcross(r.$to)||Re.none))),r.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,n,r){let i=this.doc.type.schema;if(n==null)return e?this.replaceSelectionWith(i.text(e),!0):this.deleteSelection();{if(r==null&&(r=n),r=r??n,!e)return this.deleteRange(n,r);let o=this.storedMarks;if(!o){let a=this.doc.resolve(n);o=r==n?a.marks():a.marksAcross(this.doc.resolve(r))}return this.replaceRangeWith(n,r,i.text(e,o)),this.selection.empty||this.setSelection(te.near(this.selection.$to)),this}}setMeta(e,n){return this.meta[typeof e=="string"?e:e.key]=n,this}getMeta(e){return this.meta[typeof e=="string"?e:e.key]}get isGeneric(){for(let e in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=sd,this}get scrolledIntoView(){return(this.updated&sd)>0}}function ld(t,e){return!e||!t?t:t.bind(e)}class Ii{constructor(e,n,r){this.name=e,this.init=ld(n.init,r),this.apply=ld(n.apply,r)}}const bS=[new Ii("doc",{init(t){return t.doc||t.schema.topNodeType.createAndFill()},apply(t){return t.doc}}),new Ii("selection",{init(t,e){return t.selection||te.atStart(e.doc)},apply(t){return t.selection}}),new Ii("storedMarks",{init(t){return t.storedMarks||null},apply(t,e,n,r){return r.selection.$cursor?t.storedMarks:null}}),new Ii("scrollToSelection",{init(){return 0},apply(t,e){return t.scrolledIntoView?e+1:e}})];class Bs{constructor(e,n){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=bS.slice(),n&&n.forEach(r=>{if(this.pluginsByKey[r.key])throw new RangeError("Adding different instances of a keyed plugin ("+r.key+")");this.plugins.push(r),this.pluginsByKey[r.key]=r,r.spec.state&&this.fields.push(new Ii(r.key,r.spec.state,r))})}}class Vr{constructor(e){this.config=e}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(e){return this.applyTransaction(e).state}filterTransaction(e,n=-1){for(let r=0;rr.toJSON())),e&&typeof e=="object")for(let r in e){if(r=="doc"||r=="selection")throw new RangeError("The JSON fields `doc` and `selection` are reserved");let i=e[r],o=i.spec.state;o&&o.toJSON&&(n[r]=o.toJSON.call(i,this[i.key]))}return n}static fromJSON(e,n,r){if(!n)throw new RangeError("Invalid input for EditorState.fromJSON");if(!e.schema)throw new RangeError("Required config field 'schema' missing");let i=new Bs(e.schema,e.plugins),o=new Vr(i);return i.fields.forEach(a=>{if(a.name=="doc")o.doc=Bn.fromJSON(e.schema,n.doc);else if(a.name=="selection")o.selection=te.fromJSON(o.doc,n.selection);else if(a.name=="storedMarks")n.storedMarks&&(o.storedMarks=n.storedMarks.map(e.schema.markFromJSON));else{if(r)for(let s in r){let l=r[s],c=l.spec.state;if(l.key==a.name&&c&&c.fromJSON&&Object.prototype.hasOwnProperty.call(n,s)){o[a.name]=c.fromJSON.call(l,e,n[s],o);return}}o[a.name]=a.init(e,o)}}),o}}function km(t,e,n){for(let r in t){let i=t[r];i instanceof Function?i=i.bind(e):r=="handleDOMEvents"&&(i=km(i,e,{})),n[r]=i}return n}class Se{constructor(e){this.spec=e,this.props={},e.props&&km(e.props,this,this.props),this.key=e.key?e.key.key:Pm("plugin")}getState(e){return e[this.key]}}const Us=Object.create(null);function Pm(t){return t in Us?t+"$"+ ++Us[t]:(Us[t]=0,t+"$")}class ve{constructor(e="key"){this.key=Pm(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}}const Xe=function(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e},zi=function(t){let e=t.assignedSlot||t.parentNode;return e&&e.nodeType==11?e.host:e};let kl=null;const pn=function(t,e,n){let r=kl||(kl=document.createRange());return r.setEnd(t,n??t.nodeValue.length),r.setStart(t,e||0),r},TS=function(){kl=null},fr=function(t,e,n,r){return n&&(cd(t,e,n,r,-1)||cd(t,e,n,r,1))},CS=/^(img|br|input|textarea|hr)$/i;function cd(t,e,n,r,i){for(;;){if(t==n&&e==r)return!0;if(e==(i<0?0:xt(t))){let o=t.parentNode;if(!o||o.nodeType!=1||po(t)||CS.test(t.nodeName)||t.contentEditable=="false")return!1;e=Xe(t)+(i<0?0:1),t=o}else if(t.nodeType==1){if(t=t.childNodes[e+(i<0?-1:0)],t.contentEditable=="false")return!1;e=i<0?xt(t):0}else return!1}}function xt(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function yS(t,e){for(;;){if(t.nodeType==3&&e)return t;if(t.nodeType==1&&e>0){if(t.contentEditable=="false")return null;t=t.childNodes[e-1],e=xt(t)}else if(t.parentNode&&!po(t))e=Xe(t),t=t.parentNode;else return null}}function vS(t,e){for(;;){if(t.nodeType==3&&e2),It=ti||(tn?/Mac/.test(tn.platform):!1),AS=tn?/Win/.test(tn.platform):!1,Ut=/Android \d/.test(qn),_o=!!ud&&"webkitFontSmoothing"in ud.documentElement.style,IS=_o?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function xS(t){let e=t.defaultView&&t.defaultView.visualViewport;return e?{left:0,right:e.width,top:0,bottom:e.height}:{left:0,right:t.documentElement.clientWidth,top:0,bottom:t.documentElement.clientHeight}}function ln(t,e){return typeof t=="number"?t:t[e]}function DS(t){let e=t.getBoundingClientRect(),n=e.width/t.offsetWidth||1,r=e.height/t.offsetHeight||1;return{left:e.left,right:e.left+t.clientWidth*n,top:e.top,bottom:e.top+t.clientHeight*r}}function dd(t,e,n){let r=t.someProp("scrollThreshold")||0,i=t.someProp("scrollMargin")||5,o=t.dom.ownerDocument;for(let a=n||t.dom;a;a=zi(a)){if(a.nodeType!=1)continue;let s=a,l=s==o.body,c=l?xS(o):DS(s),u=0,d=0;if(e.topc.bottom-ln(r,"bottom")&&(d=e.bottom-e.top>c.bottom-c.top?e.top+ln(i,"top")-c.top:e.bottom-c.bottom+ln(i,"bottom")),e.leftc.right-ln(r,"right")&&(u=e.right-c.right+ln(i,"right")),u||d)if(l)o.defaultView.scrollBy(u,d);else{let p=s.scrollLeft,_=s.scrollTop;d&&(s.scrollTop+=d),u&&(s.scrollLeft+=u);let m=s.scrollLeft-p,f=s.scrollTop-_;e={left:e.left-m,top:e.top-f,right:e.right-m,bottom:e.bottom-f}}if(l||/^(fixed|sticky)$/.test(getComputedStyle(a).position))break}}function MS(t){let e=t.dom.getBoundingClientRect(),n=Math.max(0,e.top),r,i;for(let o=(e.left+e.right)/2,a=n+1;a=n-20){r=s,i=l.top;break}}return{refDOM:r,refTop:i,stack:Um(t.dom)}}function Um(t){let e=[],n=t.ownerDocument;for(let r=t;r&&(e.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),t!=n);r=zi(r));return e}function wS({refDOM:t,refTop:e,stack:n}){let r=t?t.getBoundingClientRect().top:0;Hm(n,r==0?0:r-e)}function Hm(t,e){for(let n=0;n=s){a=Math.max(m.bottom,a),s=Math.min(m.top,s);let f=m.left>e.left?m.left-e.left:m.right=(m.left+m.right)/2?1:0));continue}}else m.top>e.top&&!l&&m.left<=e.left&&m.right>=e.left&&(l=u,c={left:Math.max(m.left,Math.min(m.right,e.left)),top:m.top});!n&&(e.left>=m.right&&e.top>=m.top||e.left>=m.left&&e.top>=m.bottom)&&(o=d+1)}}return!n&&l&&(n=l,i=c,r=0),n&&n.nodeType==3?kS(n,i):!n||r&&n.nodeType==1?{node:t,offset:o}:Gm(n,i)}function kS(t,e){let n=t.nodeValue.length,r=document.createRange();for(let i=0;i=(o.left+o.right)/2?1:0)}}return{node:t,offset:0}}function Rc(t,e){return t.left>=e.left-1&&t.left<=e.right+1&&t.top>=e.top-1&&t.top<=e.bottom+1}function PS(t,e){let n=t.parentNode;return n&&/^li$/i.test(n.nodeName)&&e.left(a.left+a.right)/2?1:-1}return t.docView.posFromDOM(r,i,o)}function BS(t,e,n,r){let i=-1;for(let o=e,a=!1;o!=t.dom;){let s=t.docView.nearestDesc(o,!0);if(!s)return null;if(s.dom.nodeType==1&&(s.node.isBlock&&s.parent||!s.contentDOM)){let l=s.dom.getBoundingClientRect();if(s.node.isBlock&&s.parent&&(!a&&l.left>r.left||l.top>r.top?i=s.posBefore:(!a&&l.right-1?i:t.docView.posFromDOM(e,n,-1)}function Vm(t,e,n){let r=t.childNodes.length;if(r&&n.tope.top&&i++}let c;_o&&i&&r.nodeType==1&&(c=r.childNodes[i-1]).nodeType==1&&c.contentEditable=="false"&&c.getBoundingClientRect().top>=e.top&&i--,r==t.dom&&i==r.childNodes.length-1&&r.lastChild.nodeType==1&&e.top>r.lastChild.getBoundingClientRect().bottom?s=t.state.doc.content.size:(i==0||r.nodeType!=1||r.childNodes[i-1].nodeName!="BR")&&(s=BS(t,r,i,e))}s==null&&(s=FS(t,a,e));let l=t.docView.nearestDesc(a,!0);return{pos:s,inside:l?l.posAtStart-l.border:-1}}function pd(t){return t.top=0&&i==r.nodeValue.length?(l--,u=1):n<0?l--:c++,Si(Cn(pn(r,l,c),u),u<0)}if(!t.state.doc.resolve(e-(o||0)).parent.inlineContent){if(o==null&&i&&(n<0||i==xt(r))){let l=r.childNodes[i-1];if(l.nodeType==1)return Hs(l.getBoundingClientRect(),!1)}if(o==null&&i=0)}if(o==null&&i&&(n<0||i==xt(r))){let l=r.childNodes[i-1],c=l.nodeType==3?pn(l,xt(l)-(a?0:1)):l.nodeType==1&&(l.nodeName!="BR"||!l.nextSibling)?l:null;if(c)return Si(Cn(c,1),!1)}if(o==null&&i=0)}function Si(t,e){if(t.width==0)return t;let n=e?t.left:t.right;return{top:t.top,bottom:t.bottom,left:n,right:n}}function Hs(t,e){if(t.height==0)return t;let n=e?t.top:t.bottom;return{top:n,bottom:n,left:t.left,right:t.right}}function zm(t,e,n){let r=t.state,i=t.root.activeElement;r!=e&&t.updateState(e),i!=t.dom&&t.focus();try{return n()}finally{r!=e&&t.updateState(r),i!=t.dom&&i&&i.focus()}}function GS(t,e,n){let r=e.selection,i=n=="up"?r.$from:r.$to;return zm(t,e,()=>{let{node:o}=t.docView.domFromPos(i.pos,n=="up"?-1:1);for(;;){let s=t.docView.nearestDesc(o,!0);if(!s)break;if(s.node.isBlock){o=s.contentDOM||s.dom;break}o=s.dom.parentNode}let a=Ym(t,i.pos,1);for(let s=o.firstChild;s;s=s.nextSibling){let l;if(s.nodeType==1)l=s.getClientRects();else if(s.nodeType==3)l=pn(s,0,s.nodeValue.length).getClientRects();else continue;for(let c=0;cu.top+1&&(n=="up"?a.top-u.top>(u.bottom-a.top)*2:u.bottom-a.bottom>(a.bottom-u.top)*2))return!1}}return!0})}const VS=/[\u0590-\u08ac]/;function YS(t,e,n){let{$head:r}=e.selection;if(!r.parent.isTextblock)return!1;let i=r.parentOffset,o=!i,a=i==r.parent.content.size,s=t.domSelection();return s?!VS.test(r.parent.textContent)||!s.modify?n=="left"||n=="backward"?o:a:zm(t,e,()=>{let{focusNode:l,focusOffset:c,anchorNode:u,anchorOffset:d}=t.domSelectionRange(),p=s.caretBidiLevel;s.modify("move",n,"character");let _=r.depth?t.docView.domAfterPos(r.before()):t.dom,{focusNode:m,focusOffset:f}=t.domSelectionRange(),g=m&&!_.contains(m.nodeType==1?m:m.parentNode)||l==m&&c==f;try{s.collapse(u,d),l&&(l!=u||c!=d)&&s.extend&&s.extend(l,c)}catch{}return p!=null&&(s.caretBidiLevel=p),g}):r.pos==r.start()||r.pos==r.end()}let _d=null,md=null,fd=!1;function zS(t,e,n){return _d==e&&md==n?fd:(_d=e,md=n,fd=n=="up"||n=="down"?GS(t,e,n):YS(t,e,n))}const Mt=0,gd=1,rr=2,nn=3;class mo{constructor(e,n,r,i){this.parent=e,this.children=n,this.dom=r,this.contentDOM=i,this.dirty=Mt,r.pmViewDesc=this}matchesWidget(e){return!1}matchesMark(e){return!1}matchesNode(e,n,r){return!1}matchesHack(e){return!1}parseRule(){return null}stopEvent(e){return!1}get size(){let e=0;for(let n=0;nXe(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))i=e.compareDocumentPosition(this.contentDOM)&2;else if(this.dom.firstChild){if(n==0)for(let o=e;;o=o.parentNode){if(o==this.dom){i=!1;break}if(o.previousSibling)break}if(i==null&&n==e.childNodes.length)for(let o=e;;o=o.parentNode){if(o==this.dom){i=!0;break}if(o.nextSibling)break}}return i??r>0?this.posAtEnd:this.posAtStart}nearestDesc(e,n=!1){for(let r=!0,i=e;i;i=i.parentNode){let o=this.getDesc(i),a;if(o&&(!n||o.node))if(r&&(a=o.nodeDOM)&&!(a.nodeType==1?a.contains(e.nodeType==1?e:e.parentNode):a==e))r=!1;else return o}}getDesc(e){let n=e.pmViewDesc;for(let r=n;r;r=r.parent)if(r==this)return n}posFromDOM(e,n,r){for(let i=e;i;i=i.parentNode){let o=this.getDesc(i);if(o)return o.localPosFromDOM(e,n,r)}return-1}descAt(e){for(let n=0,r=0;ne||a instanceof qm){i=e-o;break}o=s}if(i)return this.children[r].domFromPos(i-this.children[r].border,n);for(let o;r&&!(o=this.children[r-1]).size&&o instanceof $m&&o.side>=0;r--);if(n<=0){let o,a=!0;for(;o=r?this.children[r-1]:null,!(!o||o.dom.parentNode==this.contentDOM);r--,a=!1);return o&&n&&a&&!o.border&&!o.domAtom?o.domFromPos(o.size,n):{node:this.contentDOM,offset:o?Xe(o.dom)+1:0}}else{let o,a=!0;for(;o=r=u&&n<=c-l.border&&l.node&&l.contentDOM&&this.contentDOM.contains(l.contentDOM))return l.parseRange(e,n,u);e=a;for(let d=s;d>0;d--){let p=this.children[d-1];if(p.size&&p.dom.parentNode==this.contentDOM&&!p.emptyChildAt(1)){i=Xe(p.dom)+1;break}e-=p.size}i==-1&&(i=0)}if(i>-1&&(c>n||s==this.children.length-1)){n=c;for(let u=s+1;um&&an){let m=s;s=l,l=m}let _=document.createRange();_.setEnd(l.node,l.offset),_.setStart(s.node,s.offset),c.removeAllRanges(),c.addRange(_)}}ignoreMutation(e){return!this.contentDOM&&e.type!="selection"}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(e,n){for(let r=0,i=0;i=r:er){let s=r+o.border,l=a-o.border;if(e>=s&&n<=l){this.dirty=e==r||n==a?rr:gd,e==s&&n==l&&(o.contentLost||o.dom.parentNode!=this.contentDOM)?o.dirty=nn:o.markDirty(e-s,n-s);return}else o.dirty=o.dom==o.contentDOM&&o.dom.parentNode==this.contentDOM&&!o.children.length?rr:nn}r=a}this.dirty=rr}markParentsDirty(){let e=1;for(let n=this.parent;n;n=n.parent,e++){let r=e==1?rr:gd;n.dirty{if(!o)return i;if(o.parent)return o.parent.posBeforeChild(o)})),!n.type.spec.raw){if(a.nodeType!=1){let s=document.createElement("span");s.appendChild(a),a=s}a.contentEditable="false",a.classList.add("ProseMirror-widget")}super(e,[],a,null),this.widget=n,this.widget=n,o=this}matchesWidget(e){return this.dirty==Mt&&e.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(e){let n=this.widget.spec.stopEvent;return n?n(e):!1}ignoreMutation(e){return e.type!="selection"||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get side(){return this.widget.type.side}}class $S extends mo{constructor(e,n,r,i){super(e,[],n,null),this.textDOM=r,this.text=i}get size(){return this.text.length}localPosFromDOM(e,n){return e!=this.textDOM?this.posAtStart+(n?this.size:0):this.posAtStart+n}domFromPos(e){return{node:this.textDOM,offset:e}}ignoreMutation(e){return e.type==="characterData"&&e.target.nodeValue==e.oldValue}}class gr extends mo{constructor(e,n,r,i,o){super(e,[],r,i),this.mark=n,this.spec=o}static create(e,n,r,i){let o=i.nodeViews[n.type.name],a=o&&o(n,i,r);return(!a||!a.dom)&&(a=Cr.renderSpec(document,n.type.spec.toDOM(n,r),null,n.attrs)),new gr(e,n,a.dom,a.contentDOM||a.dom,a)}parseRule(){return this.dirty&nn||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return this.dirty!=nn&&this.mark.eq(e)}markDirty(e,n){if(super.markDirty(e,n),this.dirty!=Mt){let r=this.parent;for(;!r.node;)r=r.parent;r.dirty0&&(o=Hl(o,0,e,r));for(let s=0;s{if(!l)return a;if(l.parent)return l.parent.posBeforeChild(l)},r,i),u=c&&c.dom,d=c&&c.contentDOM;if(n.isText){if(!u)u=document.createTextNode(n.text);else if(u.nodeType!=3)throw new RangeError("Text must be rendered as a DOM text node")}else u||({dom:u,contentDOM:d}=Cr.renderSpec(document,n.type.spec.toDOM(n),null,n.attrs));!d&&!n.isText&&u.nodeName!="BR"&&(u.hasAttribute("contenteditable")||(u.contentEditable="false"),n.type.spec.draggable&&(u.draggable=!0));let p=u;return u=Qm(u,r,n),c?l=new qS(e,n,r,i,u,d||null,p,c,o,a+1):n.isText?new as(e,n,r,i,u,p,o):new Hn(e,n,r,i,u,d||null,p,o,a+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let e={node:this.node.type.name,attrs:this.node.attrs};if(this.node.type.whitespace=="pre"&&(e.preserveWhitespace="full"),!this.contentDOM)e.getContent=()=>this.node.content;else if(!this.contentLost)e.contentElement=this.contentDOM;else{for(let n=this.children.length-1;n>=0;n--){let r=this.children[n];if(this.dom.contains(r.dom.parentNode)){e.contentElement=r.dom.parentNode;break}}e.contentElement||(e.getContent=()=>w.empty)}return e}matchesNode(e,n,r){return this.dirty==Mt&&e.eq(this.node)&&_a(n,this.outerDeco)&&r.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(e,n){let r=this.node.inlineContent,i=n,o=e.composing?this.localCompositionInfo(e,n):null,a=o&&o.pos>-1?o:null,s=o&&o.pos<0,l=new KS(this,a&&a.node,e);XS(this.node,this.innerDeco,(c,u,d)=>{c.spec.marks?l.syncToMarks(c.spec.marks,r,e):c.type.side>=0&&!d&&l.syncToMarks(u==this.node.childCount?Re.none:this.node.child(u).marks,r,e),l.placeWidget(c,e,i)},(c,u,d,p)=>{l.syncToMarks(c.marks,r,e);let _;l.findNodeMatch(c,u,d,p)||s&&e.state.selection.from>i&&e.state.selection.to-1&&l.updateNodeAt(c,u,d,_,e)||l.updateNextNode(c,u,d,e,p,i)||l.addNode(c,u,d,e,i),i+=c.nodeSize}),l.syncToMarks([],r,e),this.node.isTextblock&&l.addTextblockHacks(),l.destroyRest(),(l.changed||this.dirty==rr)&&(a&&this.protectLocalComposition(e,a),Wm(this.contentDOM,this.children,e),ti&&jS(this.dom))}localCompositionInfo(e,n){let{from:r,to:i}=e.state.selection;if(!(e.state.selection instanceof Z)||rn+this.node.content.size)return null;let o=e.input.compositionNode;if(!o||!this.dom.contains(o.parentNode))return null;if(this.node.inlineContent){let a=o.nodeValue,s=JS(this.node.content,a,r-n,i-n);return s<0?null:{node:o,pos:s,text:a}}else return{node:o,pos:-1,text:""}}protectLocalComposition(e,{node:n,pos:r,text:i}){if(this.getDesc(n))return;let o=n;for(;o.parentNode!=this.contentDOM;o=o.parentNode){for(;o.previousSibling;)o.parentNode.removeChild(o.previousSibling);for(;o.nextSibling;)o.parentNode.removeChild(o.nextSibling);o.pmViewDesc&&(o.pmViewDesc=void 0)}let a=new $S(this,o,n,i);e.input.compositionNodes.push(a),this.children=Hl(this.children,r,r+i.length,e,a)}update(e,n,r,i){return this.dirty==nn||!e.sameMarkup(this.node)?!1:(this.updateInner(e,n,r,i),!0)}updateInner(e,n,r,i){this.updateOuterDeco(n),this.node=e,this.innerDeco=r,this.contentDOM&&this.updateChildren(i,this.posAtStart),this.dirty=Mt}updateOuterDeco(e){if(_a(e,this.outerDeco))return;let n=this.nodeDOM.nodeType!=1,r=this.dom;this.dom=Km(this.dom,this.nodeDOM,Ul(this.outerDeco,this.node,n),Ul(e,this.node,n)),this.dom!=r&&(r.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=e}selectNode(){this.nodeDOM.nodeType==1&&this.nodeDOM.classList.add("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&(this.dom.draggable=!0)}deselectNode(){this.nodeDOM.nodeType==1&&(this.nodeDOM.classList.remove("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&this.dom.removeAttribute("draggable"))}get domAtom(){return this.node.isAtom}}function hd(t,e,n,r,i){Qm(r,e,t);let o=new Hn(void 0,t,e,n,r,r,r,i,0);return o.contentDOM&&o.updateChildren(i,0),o}class as extends Hn{constructor(e,n,r,i,o,a,s){super(e,n,r,i,o,null,a,s,0)}parseRule(){let e=this.nodeDOM.parentNode;for(;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}}update(e,n,r,i){return this.dirty==nn||this.dirty!=Mt&&!this.inParent()||!e.sameMarkup(this.node)?!1:(this.updateOuterDeco(n),(this.dirty!=Mt||e.text!=this.node.text)&&e.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=e.text,i.trackWrites==this.nodeDOM&&(i.trackWrites=null)),this.node=e,this.dirty=Mt,!0)}inParent(){let e=this.parent.contentDOM;for(let n=this.nodeDOM;n;n=n.parentNode)if(n==e)return!0;return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,n,r){return e==this.nodeDOM?this.posAtStart+Math.min(n,this.node.text.length):super.localPosFromDOM(e,n,r)}ignoreMutation(e){return e.type!="characterData"&&e.type!="selection"}slice(e,n,r){let i=this.node.cut(e,n),o=document.createTextNode(i.text);return new as(this.parent,i,this.outerDeco,this.innerDeco,o,o,r)}markDirty(e,n){super.markDirty(e,n),this.dom!=this.nodeDOM&&(e==0||n==this.nodeDOM.nodeValue.length)&&(this.dirty=nn)}get domAtom(){return!1}isText(e){return this.node.text==e}}class qm extends mo{parseRule(){return{ignore:!0}}matchesHack(e){return this.dirty==Mt&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName=="IMG"}}class qS extends Hn{constructor(e,n,r,i,o,a,s,l,c,u){super(e,n,r,i,o,a,s,c,u),this.spec=l}update(e,n,r,i){if(this.dirty==nn)return!1;if(this.spec.update&&(this.node.type==e.type||this.spec.multiType)){let o=this.spec.update(e,n,r);return o&&this.updateInner(e,n,r,i),o}else return!this.contentDOM&&!e.isLeaf?!1:super.update(e,n,r,i)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,n,r,i){this.spec.setSelection?this.spec.setSelection(e,n,r.root):super.setSelection(e,n,r,i)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return this.spec.stopEvent?this.spec.stopEvent(e):!1}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}}function Wm(t,e,n){let r=t.firstChild,i=!1;for(let o=0;o>1,a=Math.min(o,e.length);for(;i-1)s>this.index&&(this.changed=!0,this.destroyBetween(this.index,s)),this.top=this.top.children[this.index];else{let l=gr.create(this.top,e[o],n,r);this.top.children.splice(this.index,0,l),this.top=l,this.changed=!0}this.index=0,o++}}findNodeMatch(e,n,r,i){let o=-1,a;if(i>=this.preMatch.index&&(a=this.preMatch.matches[i-this.preMatch.index]).parent==this.top&&a.matchesNode(e,n,r))o=this.top.children.indexOf(a,this.index);else for(let s=this.index,l=Math.min(this.top.children.length,s+5);s0;){let s;for(;;)if(r){let c=n.children[r-1];if(c instanceof gr)n=c,r=c.children.length;else{s=c,r--;break}}else{if(n==e)break e;r=n.parent.children.indexOf(n),n=n.parent}let l=s.node;if(l){if(l!=t.child(i-1))break;--i,o.set(s,i),a.push(s)}}return{index:i,matched:o,matches:a.reverse()}}function ZS(t,e){return t.type.side-e.type.side}function XS(t,e,n,r){let i=e.locals(t),o=0;if(i.length==0){for(let c=0;co;)s.push(i[a++]);let m=o+p.nodeSize;if(p.isText){let g=m;a!g.inline):s.slice();r(p,f,e.forChild(o,p),_),o=m}}function jS(t){if(t.nodeName=="UL"||t.nodeName=="OL"){let e=t.style.cssText;t.style.cssText=e+"; list-style: square !important",window.getComputedStyle(t).listStyle,t.style.cssText=e}}function JS(t,e,n,r){for(let i=0,o=0;i=n){if(o>=r&&l.slice(r-e.length-s,r-s)==e)return r-e.length;let c=s=0&&c+e.length+s>=n)return s+c;if(n==r&&l.length>=r+e.length-s&&l.slice(r-s,r-s+e.length)==e)return r}}return-1}function Hl(t,e,n,r,i){let o=[];for(let a=0,s=0;a=n||u<=e?o.push(l):(cn&&o.push(l.slice(n-c,l.size,r)))}return o}function Oc(t,e=null){let n=t.domSelectionRange(),r=t.state.doc;if(!n.focusNode)return null;let i=t.docView.nearestDesc(n.focusNode),o=i&&i.size==0,a=t.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(a<0)return null;let s=r.resolve(a),l,c;if(is(n)){for(l=a;i&&!i.node;)i=i.parent;let d=i.node;if(i&&d.isAtom&&ee.isSelectable(d)&&i.parent&&!(d.isInline&&RS(n.focusNode,n.focusOffset,i.dom))){let p=i.posBefore;c=new ee(a==p?s:r.resolve(p))}}else{if(n instanceof t.dom.ownerDocument.defaultView.Selection&&n.rangeCount>1){let d=a,p=a;for(let _=0;_{(n.anchorNode!=r||n.anchorOffset!=i)&&(e.removeEventListener("selectionchange",t.input.hideSelectionGuard),setTimeout(()=>{(!Zm(t)||t.state.selection.visible)&&t.dom.classList.remove("ProseMirror-hideselection")},20))})}function tb(t){let e=t.domSelection(),n=document.createRange();if(!e)return;let r=t.cursorWrapper.dom,i=r.nodeName=="IMG";i?n.setStart(r.parentNode,Xe(r)+1):n.setStart(r,0),n.collapse(!0),e.removeAllRanges(),e.addRange(n),!i&&!t.state.selection.visible&&pt&&Un<=11&&(r.disabled=!0,r.disabled=!1)}function Xm(t,e){if(e instanceof ee){let n=t.docView.descAt(e.from);n!=t.lastSelectedViewDesc&&(Cd(t),n&&n.selectNode(),t.lastSelectedViewDesc=n)}else Cd(t)}function Cd(t){t.lastSelectedViewDesc&&(t.lastSelectedViewDesc.parent&&t.lastSelectedViewDesc.deselectNode(),t.lastSelectedViewDesc=void 0)}function Nc(t,e,n,r){return t.someProp("createSelectionBetween",i=>i(t,e,n))||Z.between(e,n,r)}function yd(t){return t.editable&&!t.hasFocus()?!1:jm(t)}function jm(t){let e=t.domSelectionRange();if(!e.anchorNode)return!1;try{return t.dom.contains(e.anchorNode.nodeType==3?e.anchorNode.parentNode:e.anchorNode)&&(t.editable||t.dom.contains(e.focusNode.nodeType==3?e.focusNode.parentNode:e.focusNode))}catch{return!1}}function nb(t){let e=t.docView.domFromPos(t.state.selection.anchor,0),n=t.domSelectionRange();return fr(e.node,e.offset,n.anchorNode,n.anchorOffset)}function Gl(t,e){let{$anchor:n,$head:r}=t.selection,i=e>0?n.max(r):n.min(r),o=i.parent.inlineContent?i.depth?t.doc.resolve(e>0?i.after():i.before()):null:i;return o&&te.findFrom(o,e)}function yn(t,e){return t.dispatch(t.state.tr.setSelection(e).scrollIntoView()),!0}function vd(t,e,n){let r=t.state.selection;if(r instanceof Z)if(n.indexOf("s")>-1){let{$head:i}=r,o=i.textOffset?null:e<0?i.nodeBefore:i.nodeAfter;if(!o||o.isText||!o.isLeaf)return!1;let a=t.state.doc.resolve(i.pos+o.nodeSize*(e<0?-1:1));return yn(t,new Z(r.$anchor,a))}else if(r.empty){if(t.endOfTextblock(e>0?"forward":"backward")){let i=Gl(t.state,e);return i&&i instanceof ee?yn(t,i):!1}else if(!(It&&n.indexOf("m")>-1)){let i=r.$head,o=i.textOffset?null:e<0?i.nodeBefore:i.nodeAfter,a;if(!o||o.isText)return!1;let s=e<0?i.pos-o.nodeSize:i.pos;return o.isAtom||(a=t.docView.descAt(s))&&!a.contentDOM?ee.isSelectable(o)?yn(t,new ee(e<0?t.state.doc.resolve(i.pos-o.nodeSize):i)):_o?yn(t,new Z(t.state.doc.resolve(e<0?s:s+o.nodeSize))):!1:!1}}else return!1;else{if(r instanceof ee&&r.node.isInline)return yn(t,new Z(e>0?r.$to:r.$from));{let i=Gl(t.state,e);return i?yn(t,i):!1}}}function ma(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function wi(t,e){let n=t.pmViewDesc;return n&&n.size==0&&(e<0||t.nextSibling||t.nodeName!="BR")}function Ar(t,e){return e<0?rb(t):ib(t)}function rb(t){let e=t.domSelectionRange(),n=e.focusNode,r=e.focusOffset;if(!n)return;let i,o,a=!1;for(Gt&&n.nodeType==1&&r0){if(n.nodeType!=1)break;{let s=n.childNodes[r-1];if(wi(s,-1))i=n,o=--r;else if(s.nodeType==3)n=s,r=n.nodeValue.length;else break}}else{if(Jm(n))break;{let s=n.previousSibling;for(;s&&wi(s,-1);)i=n.parentNode,o=Xe(s),s=s.previousSibling;if(s)n=s,r=ma(n);else{if(n=n.parentNode,n==t.dom)break;r=0}}}a?Vl(t,n,r):i&&Vl(t,i,o)}function ib(t){let e=t.domSelectionRange(),n=e.focusNode,r=e.focusOffset;if(!n)return;let i=ma(n),o,a;for(;;)if(r{t.state==i&&gn(t)},50)}function Rd(t,e){let n=t.state.doc.resolve(e);if(!(rt||AS)&&n.parent.inlineContent){let i=t.coordsAtPos(e);if(e>n.start()){let o=t.coordsAtPos(e-1),a=(o.top+o.bottom)/2;if(a>i.top&&a1)return o.lefti.top&&a1)return o.left>i.left?"ltr":"rtl"}}return getComputedStyle(t.dom).direction=="rtl"?"rtl":"ltr"}function Od(t,e,n){let r=t.state.selection;if(r instanceof Z&&!r.empty||n.indexOf("s")>-1||It&&n.indexOf("m")>-1)return!1;let{$from:i,$to:o}=r;if(!i.parent.inlineContent||t.endOfTextblock(e<0?"up":"down")){let a=Gl(t.state,e);if(a&&a instanceof ee)return yn(t,a)}if(!i.parent.inlineContent){let a=e<0?i:o,s=r instanceof Dt?te.near(a,e):te.findFrom(a,e);return s?yn(t,s):!1}return!1}function Nd(t,e){if(!(t.state.selection instanceof Z))return!0;let{$head:n,$anchor:r,empty:i}=t.state.selection;if(!n.sameParent(r))return!0;if(!i)return!1;if(t.endOfTextblock(e>0?"forward":"backward"))return!0;let o=!n.textOffset&&(e<0?n.nodeBefore:n.nodeAfter);if(o&&!o.isText){let a=t.state.tr;return e<0?a.delete(n.pos-o.nodeSize,n.pos):a.delete(n.pos,n.pos+o.nodeSize),t.dispatch(a),!0}return!1}function Ad(t,e,n){t.domObserver.stop(),e.contentEditable=n,t.domObserver.start()}function sb(t){if(!st||t.state.selection.$head.parentOffset>0)return!1;let{focusNode:e,focusOffset:n}=t.domSelectionRange();if(e&&e.nodeType==1&&n==0&&e.firstChild&&e.firstChild.contentEditable=="false"){let r=e.firstChild;Ad(t,r,"true"),setTimeout(()=>Ad(t,r,"false"),20)}return!1}function lb(t){let e="";return t.ctrlKey&&(e+="c"),t.metaKey&&(e+="m"),t.altKey&&(e+="a"),t.shiftKey&&(e+="s"),e}function cb(t,e){let n=e.keyCode,r=lb(e);if(n==8||It&&n==72&&r=="c")return Nd(t,-1)||Ar(t,-1);if(n==46&&!e.shiftKey||It&&n==68&&r=="c")return Nd(t,1)||Ar(t,1);if(n==13||n==27)return!0;if(n==37||It&&n==66&&r=="c"){let i=n==37?Rd(t,t.state.selection.from)=="ltr"?-1:1:-1;return vd(t,i,r)||Ar(t,i)}else if(n==39||It&&n==70&&r=="c"){let i=n==39?Rd(t,t.state.selection.from)=="ltr"?1:-1:1;return vd(t,i,r)||Ar(t,i)}else{if(n==38||It&&n==80&&r=="c")return Od(t,-1,r)||Ar(t,-1);if(n==40||It&&n==78&&r=="c")return sb(t)||Od(t,1,r)||Ar(t,1);if(r==(It?"m":"c")&&(n==66||n==73||n==89||n==90))return!0}return!1}function ef(t,e){t.someProp("transformCopied",_=>{e=_(e,t)});let n=[],{content:r,openStart:i,openEnd:o}=e;for(;i>1&&o>1&&r.childCount==1&&r.firstChild.childCount==1;){i--,o--;let _=r.firstChild;n.push(_.type.name,_.attrs!=_.type.defaultAttrs?_.attrs:null),r=_.content}let a=t.someProp("clipboardSerializer")||Cr.fromSchema(t.state.schema),s=sf(),l=s.createElement("div");l.appendChild(a.serializeFragment(r,{document:s}));let c=l.firstChild,u,d=0;for(;c&&c.nodeType==1&&(u=af[c.nodeName.toLowerCase()]);){for(let _=u.length-1;_>=0;_--){let m=s.createElement(u[_]);for(;l.firstChild;)m.appendChild(l.firstChild);l.appendChild(m),d++}c=l.firstChild}c&&c.nodeType==1&&c.setAttribute("data-pm-slice",`${i} ${o}${d?` -${d}`:""} ${JSON.stringify(n)}`);let p=t.someProp("clipboardTextSerializer",_=>_(e,t))||e.content.textBetween(0,e.content.size,` - -`);return{dom:l,text:p,slice:e}}function tf(t,e,n,r,i){let o=i.parent.type.spec.code,a,s;if(!n&&!e)return null;let l=e&&(r||o||!n);if(l){if(t.someProp("transformPastedText",p=>{e=p(e,o||r,t)}),o)return e?new H(w.from(t.state.schema.text(e.replace(/\r\n?/g,` -`))),0,0):H.empty;let d=t.someProp("clipboardTextParser",p=>p(e,i,r,t));if(d)s=d;else{let p=i.marks(),{schema:_}=t.state,m=Cr.fromSchema(_);a=document.createElement("div"),e.split(/(?:\r\n?|\n)+/).forEach(f=>{let g=a.appendChild(document.createElement("p"));f&&g.appendChild(m.serializeNode(_.text(f,p)))})}}else t.someProp("transformPastedHTML",d=>{n=d(n,t)}),a=_b(n),_o&&mb(a);let c=a&&a.querySelector("[data-pm-slice]"),u=c&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(c.getAttribute("data-pm-slice")||"");if(u&&u[3])for(let d=+u[3];d>0;d--){let p=a.firstChild;for(;p&&p.nodeType!=1;)p=p.nextSibling;if(!p)break;a=p}if(s||(s=(t.someProp("clipboardParser")||t.someProp("domParser")||Wr.fromSchema(t.state.schema)).parseSlice(a,{preserveWhitespace:!!(l||u),context:i,ruleFromNode(p){return p.nodeName=="BR"&&!p.nextSibling&&p.parentNode&&!ub.test(p.parentNode.nodeName)?{ignore:!0}:null}})),u)s=fb(Id(s,+u[1],+u[2]),u[4]);else if(s=H.maxOpen(db(s.content,i),!0),s.openStart||s.openEnd){let d=0,p=0;for(let _=s.content.firstChild;d{s=d(s,t)}),s}const ub=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function db(t,e){if(t.childCount<2)return t;for(let n=e.depth;n>=0;n--){let i=e.node(n).contentMatchAt(e.index(n)),o,a=[];if(t.forEach(s=>{if(!a)return;let l=i.findWrapping(s.type),c;if(!l)return a=null;if(c=a.length&&o.length&&rf(l,o,s,a[a.length-1],0))a[a.length-1]=c;else{a.length&&(a[a.length-1]=of(a[a.length-1],o.length));let u=nf(s,l);a.push(u),i=i.matchType(u.type),o=l}}),a)return w.from(a)}return t}function nf(t,e,n=0){for(let r=e.length-1;r>=n;r--)t=e[r].create(null,w.from(t));return t}function rf(t,e,n,r,i){if(i1&&(o=0),i=n&&(s=e<0?a.contentMatchAt(0).fillBefore(s,o<=i).append(s):s.append(a.contentMatchAt(a.childCount).fillBefore(w.empty,!0))),t.replaceChild(e<0?0:t.childCount-1,a.copy(s))}function Id(t,e,n){return en})),Vs.createHTML(t)):t}function _b(t){let e=/^(\s*]*>)*/.exec(t);e&&(t=t.slice(e[0].length));let n=sf().createElement("div"),r=/<([a-z][^>\s]+)/i.exec(t),i;if((i=r&&af[r[1].toLowerCase()])&&(t=i.map(o=>"<"+o+">").join("")+t+i.map(o=>"").reverse().join("")),n.innerHTML=pb(t),i)for(let o=0;o=0;s-=2){let l=n.nodes[r[s]];if(!l||l.hasRequiredAttrs())break;i=w.from(l.create(r[s+1],i)),o++,a++}return new H(i,o,a)}const lt={},ct={},gb={touchstart:!0,touchmove:!0};class hb{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:""},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastAndroidDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function Eb(t){for(let e in lt){let n=lt[e];t.dom.addEventListener(e,t.input.eventHandlers[e]=r=>{bb(t,r)&&!Ac(t,r)&&(t.editable||!(r.type in ct))&&n(t,r)},gb[e]?{passive:!0}:void 0)}st&&t.dom.addEventListener("input",()=>null),zl(t)}function wn(t,e){t.input.lastSelectionOrigin=e,t.input.lastSelectionTime=Date.now()}function Sb(t){t.domObserver.stop();for(let e in t.input.eventHandlers)t.dom.removeEventListener(e,t.input.eventHandlers[e]);clearTimeout(t.input.composingTimeout),clearTimeout(t.input.lastIOSEnterFallbackTimeout)}function zl(t){t.someProp("handleDOMEvents",e=>{for(let n in e)t.input.eventHandlers[n]||t.dom.addEventListener(n,t.input.eventHandlers[n]=r=>Ac(t,r))})}function Ac(t,e){return t.someProp("handleDOMEvents",n=>{let r=n[e.type];return r?r(t,e)||e.defaultPrevented:!1})}function bb(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let n=e.target;n!=t.dom;n=n.parentNode)if(!n||n.nodeType==11||n.pmViewDesc&&n.pmViewDesc.stopEvent(e))return!1;return!0}function Tb(t,e){!Ac(t,e)&<[e.type]&&(t.editable||!(e.type in ct))&<[e.type](t,e)}ct.keydown=(t,e)=>{let n=e;if(t.input.shiftKey=n.keyCode==16||n.shiftKey,!cf(t,n)&&(t.input.lastKeyCode=n.keyCode,t.input.lastKeyCodeTime=Date.now(),!(Ut&&rt&&n.keyCode==13)))if(n.keyCode!=229&&t.domObserver.forceFlush(),ti&&n.keyCode==13&&!n.ctrlKey&&!n.altKey&&!n.metaKey){let r=Date.now();t.input.lastIOSEnter=r,t.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{t.input.lastIOSEnter==r&&(t.someProp("handleKeyDown",i=>i(t,Jn(13,"Enter"))),t.input.lastIOSEnter=0)},200)}else t.someProp("handleKeyDown",r=>r(t,n))||cb(t,n)?n.preventDefault():wn(t,"key")};ct.keyup=(t,e)=>{e.keyCode==16&&(t.input.shiftKey=!1)};ct.keypress=(t,e)=>{let n=e;if(cf(t,n)||!n.charCode||n.ctrlKey&&!n.altKey||It&&n.metaKey)return;if(t.someProp("handleKeyPress",i=>i(t,n))){n.preventDefault();return}let r=t.state.selection;if(!(r instanceof Z)||!r.$from.sameParent(r.$to)){let i=String.fromCharCode(n.charCode);!/[\r\n]/.test(i)&&!t.someProp("handleTextInput",o=>o(t,r.$from.pos,r.$to.pos,i))&&t.dispatch(t.state.tr.insertText(i).scrollIntoView()),n.preventDefault()}};function ss(t){return{left:t.clientX,top:t.clientY}}function Cb(t,e){let n=e.x-t.clientX,r=e.y-t.clientY;return n*n+r*r<100}function Ic(t,e,n,r,i){if(r==-1)return!1;let o=t.state.doc.resolve(r);for(let a=o.depth+1;a>0;a--)if(t.someProp(e,s=>a>o.depth?s(t,n,o.nodeAfter,o.before(a),i,!0):s(t,n,o.node(a),o.before(a),i,!1)))return!0;return!1}function Xr(t,e,n){if(t.focused||t.focus(),t.state.selection.eq(e))return;let r=t.state.tr.setSelection(e);r.setMeta("pointer",!0),t.dispatch(r)}function yb(t,e){if(e==-1)return!1;let n=t.state.doc.resolve(e),r=n.nodeAfter;return r&&r.isAtom&&ee.isSelectable(r)?(Xr(t,new ee(n)),!0):!1}function vb(t,e){if(e==-1)return!1;let n=t.state.selection,r,i;n instanceof ee&&(r=n.node);let o=t.state.doc.resolve(e);for(let a=o.depth+1;a>0;a--){let s=a>o.depth?o.nodeAfter:o.node(a);if(ee.isSelectable(s)){r&&n.$from.depth>0&&a>=n.$from.depth&&o.before(n.$from.depth+1)==n.$from.pos?i=o.before(n.$from.depth):i=o.before(a);break}}return i!=null?(Xr(t,ee.create(t.state.doc,i)),!0):!1}function Rb(t,e,n,r,i){return Ic(t,"handleClickOn",e,n,r)||t.someProp("handleClick",o=>o(t,e,r))||(i?vb(t,n):yb(t,n))}function Ob(t,e,n,r){return Ic(t,"handleDoubleClickOn",e,n,r)||t.someProp("handleDoubleClick",i=>i(t,e,r))}function Nb(t,e,n,r){return Ic(t,"handleTripleClickOn",e,n,r)||t.someProp("handleTripleClick",i=>i(t,e,r))||Ab(t,n,r)}function Ab(t,e,n){if(n.button!=0)return!1;let r=t.state.doc;if(e==-1)return r.inlineContent?(Xr(t,Z.create(r,0,r.content.size)),!0):!1;let i=r.resolve(e);for(let o=i.depth+1;o>0;o--){let a=o>i.depth?i.nodeAfter:i.node(o),s=i.before(o);if(a.inlineContent)Xr(t,Z.create(r,s+1,s+1+a.content.size));else if(ee.isSelectable(a))Xr(t,ee.create(r,s));else continue;return!0}}function xc(t){return fa(t)}const lf=It?"metaKey":"ctrlKey";lt.mousedown=(t,e)=>{let n=e;t.input.shiftKey=n.shiftKey;let r=xc(t),i=Date.now(),o="singleClick";i-t.input.lastClick.time<500&&Cb(n,t.input.lastClick)&&!n[lf]&&(t.input.lastClick.type=="singleClick"?o="doubleClick":t.input.lastClick.type=="doubleClick"&&(o="tripleClick")),t.input.lastClick={time:i,x:n.clientX,y:n.clientY,type:o};let a=t.posAtCoords(ss(n));a&&(o=="singleClick"?(t.input.mouseDown&&t.input.mouseDown.done(),t.input.mouseDown=new Ib(t,a,n,!!r)):(o=="doubleClick"?Ob:Nb)(t,a.pos,a.inside,n)?n.preventDefault():wn(t,"pointer"))};class Ib{constructor(e,n,r,i){this.view=e,this.pos=n,this.event=r,this.flushed=i,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=e.state.doc,this.selectNode=!!r[lf],this.allowDefault=r.shiftKey;let o,a;if(n.inside>-1)o=e.state.doc.nodeAt(n.inside),a=n.inside;else{let u=e.state.doc.resolve(n.pos);o=u.parent,a=u.depth?u.before():0}const s=i?null:r.target,l=s?e.docView.nearestDesc(s,!0):null;this.target=l&&l.dom.nodeType==1?l.dom:null;let{selection:c}=e.state;(r.button==0&&o.type.spec.draggable&&o.type.spec.selectable!==!1||c instanceof ee&&c.from<=a&&c.to>a)&&(this.mightDrag={node:o,pos:a,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&Gt&&!this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),e.root.addEventListener("mouseup",this.up=this.up.bind(this)),e.root.addEventListener("mousemove",this.move=this.move.bind(this)),wn(e,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>gn(this.view)),this.view.input.mouseDown=null}up(e){if(this.done(),!this.view.dom.contains(e.target))return;let n=this.pos;this.view.state.doc!=this.startDoc&&(n=this.view.posAtCoords(ss(e))),this.updateAllowDefault(e),this.allowDefault||!n?wn(this.view,"pointer"):Rb(this.view,n.pos,n.inside,e,this.selectNode)?e.preventDefault():e.button==0&&(this.flushed||st&&this.mightDrag&&!this.mightDrag.node.isAtom||rt&&!this.view.state.selection.visible&&Math.min(Math.abs(n.pos-this.view.state.selection.from),Math.abs(n.pos-this.view.state.selection.to))<=2)?(Xr(this.view,te.near(this.view.state.doc.resolve(n.pos))),e.preventDefault()):wn(this.view,"pointer")}move(e){this.updateAllowDefault(e),wn(this.view,"pointer"),e.buttons==0&&this.done()}updateAllowDefault(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}}lt.touchstart=t=>{t.input.lastTouch=Date.now(),xc(t),wn(t,"pointer")};lt.touchmove=t=>{t.input.lastTouch=Date.now(),wn(t,"pointer")};lt.contextmenu=t=>xc(t);function cf(t,e){return t.composing?!0:st&&Math.abs(e.timeStamp-t.input.compositionEndedAt)<500?(t.input.compositionEndedAt=-2e8,!0):!1}const xb=Ut?5e3:-1;ct.compositionstart=ct.compositionupdate=t=>{if(!t.composing){t.domObserver.flush();let{state:e}=t,n=e.selection.$to;if(e.selection instanceof Z&&(e.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some(r=>r.type.spec.inclusive===!1)))t.markCursor=t.state.storedMarks||n.marks(),fa(t,!0),t.markCursor=null;else if(fa(t,!e.selection.empty),Gt&&e.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let r=t.domSelectionRange();for(let i=r.focusNode,o=r.focusOffset;i&&i.nodeType==1&&o!=0;){let a=o<0?i.lastChild:i.childNodes[o-1];if(!a)break;if(a.nodeType==3){let s=t.domSelection();s&&s.collapse(a,a.nodeValue.length);break}else i=a,o=-1}}t.input.composing=!0}uf(t,xb)};ct.compositionend=(t,e)=>{t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=e.timeStamp,t.input.compositionPendingChanges=t.domObserver.pendingRecords().length?t.input.compositionID:0,t.input.compositionNode=null,t.input.compositionPendingChanges&&Promise.resolve().then(()=>t.domObserver.flush()),t.input.compositionID++,uf(t,20))};function uf(t,e){clearTimeout(t.input.composingTimeout),e>-1&&(t.input.composingTimeout=setTimeout(()=>fa(t),e))}function df(t){for(t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=Mb());t.input.compositionNodes.length>0;)t.input.compositionNodes.pop().markParentsDirty()}function Db(t){let e=t.domSelectionRange();if(!e.focusNode)return null;let n=yS(e.focusNode,e.focusOffset),r=vS(e.focusNode,e.focusOffset);if(n&&r&&n!=r){let i=r.pmViewDesc,o=t.domObserver.lastChangedTextNode;if(n==o||r==o)return o;if(!i||!i.isText(r.nodeValue))return r;if(t.input.compositionNode==r){let a=n.pmViewDesc;if(!(!a||!a.isText(n.nodeValue)))return r}}return n||r}function Mb(){let t=document.createEvent("Event");return t.initEvent("event",!0,!0),t.timeStamp}function fa(t,e=!1){if(!(Ut&&t.domObserver.flushingSoon>=0)){if(t.domObserver.forceFlush(),df(t),e||t.docView&&t.docView.dirty){let n=Oc(t);return n&&!n.eq(t.state.selection)?t.dispatch(t.state.tr.setSelection(n)):(t.markCursor||e)&&!t.state.selection.empty?t.dispatch(t.state.tr.deleteSelection()):t.updateState(t.state),!0}return!1}}function wb(t,e){if(!t.dom.parentNode)return;let n=t.dom.parentNode.appendChild(document.createElement("div"));n.appendChild(e),n.style.cssText="position: fixed; left: -10000px; top: 10px";let r=getSelection(),i=document.createRange();i.selectNodeContents(e),t.dom.blur(),r.removeAllRanges(),r.addRange(i),setTimeout(()=>{n.parentNode&&n.parentNode.removeChild(n),t.focus()},50)}const $i=pt&&Un<15||ti&&IS<604;lt.copy=ct.cut=(t,e)=>{let n=e,r=t.state.selection,i=n.type=="cut";if(r.empty)return;let o=$i?null:n.clipboardData,a=r.content(),{dom:s,text:l}=ef(t,a);o?(n.preventDefault(),o.clearData(),o.setData("text/html",s.innerHTML),o.setData("text/plain",l)):wb(t,s),i&&t.dispatch(t.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function Lb(t){return t.openStart==0&&t.openEnd==0&&t.content.childCount==1?t.content.firstChild:null}function kb(t,e){if(!t.dom.parentNode)return;let n=t.input.shiftKey||t.state.selection.$from.parent.type.spec.code,r=t.dom.parentNode.appendChild(document.createElement(n?"textarea":"div"));n||(r.contentEditable="true"),r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus();let i=t.input.shiftKey&&t.input.lastKeyCode!=45;setTimeout(()=>{t.focus(),r.parentNode&&r.parentNode.removeChild(r),n?qi(t,r.value,null,i,e):qi(t,r.textContent,r.innerHTML,i,e)},50)}function qi(t,e,n,r,i){let o=tf(t,e,n,r,t.state.selection.$from);if(t.someProp("handlePaste",l=>l(t,i,o||H.empty)))return!0;if(!o)return!1;let a=Lb(o),s=a?t.state.tr.replaceSelectionWith(a,r):t.state.tr.replaceSelection(o);return t.dispatch(s.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function pf(t){let e=t.getData("text/plain")||t.getData("Text");if(e)return e;let n=t.getData("text/uri-list");return n?n.replace(/\r?\n/g," "):""}ct.paste=(t,e)=>{let n=e;if(t.composing&&!Ut)return;let r=$i?null:n.clipboardData,i=t.input.shiftKey&&t.input.lastKeyCode!=45;r&&qi(t,pf(r),r.getData("text/html"),i,n)?n.preventDefault():kb(t,n)};class _f{constructor(e,n,r){this.slice=e,this.move=n,this.node=r}}const mf=It?"altKey":"ctrlKey";lt.dragstart=(t,e)=>{let n=e,r=t.input.mouseDown;if(r&&r.done(),!n.dataTransfer)return;let i=t.state.selection,o=i.empty?null:t.posAtCoords(ss(n)),a;if(!(o&&o.pos>=i.from&&o.pos<=(i instanceof ee?i.to-1:i.to))){if(r&&r.mightDrag)a=ee.create(t.state.doc,r.mightDrag.pos);else if(n.target&&n.target.nodeType==1){let d=t.docView.nearestDesc(n.target,!0);d&&d.node.type.spec.draggable&&d!=t.docView&&(a=ee.create(t.state.doc,d.posBefore))}}let s=(a||t.state.selection).content(),{dom:l,text:c,slice:u}=ef(t,s);(!n.dataTransfer.files.length||!rt||Bm>120)&&n.dataTransfer.clearData(),n.dataTransfer.setData($i?"Text":"text/html",l.innerHTML),n.dataTransfer.effectAllowed="copyMove",$i||n.dataTransfer.setData("text/plain",c),t.dragging=new _f(u,!n[mf],a)};lt.dragend=t=>{let e=t.dragging;window.setTimeout(()=>{t.dragging==e&&(t.dragging=null)},50)};ct.dragover=ct.dragenter=(t,e)=>e.preventDefault();ct.drop=(t,e)=>{let n=e,r=t.dragging;if(t.dragging=null,!n.dataTransfer)return;let i=t.posAtCoords(ss(n));if(!i)return;let o=t.state.doc.resolve(i.pos),a=r&&r.slice;a?t.someProp("transformPasted",m=>{a=m(a,t)}):a=tf(t,pf(n.dataTransfer),$i?null:n.dataTransfer.getData("text/html"),!1,o);let s=!!(r&&!n[mf]);if(t.someProp("handleDrop",m=>m(t,n,a||H.empty,s))){n.preventDefault();return}if(!a)return;n.preventDefault();let l=a?Im(t.state.doc,o.pos,a):o.pos;l==null&&(l=o.pos);let c=t.state.tr;if(s){let{node:m}=r;m?m.replace(c):c.deleteSelection()}let u=c.mapping.map(l),d=a.openStart==0&&a.openEnd==0&&a.content.childCount==1,p=c.doc;if(d?c.replaceRangeWith(u,u,a.content.firstChild):c.replaceRange(u,u,a),c.doc.eq(p))return;let _=c.doc.resolve(u);if(d&&ee.isSelectable(a.content.firstChild)&&_.nodeAfter&&_.nodeAfter.sameMarkup(a.content.firstChild))c.setSelection(new ee(_));else{let m=c.mapping.map(l);c.mapping.maps[c.mapping.maps.length-1].forEach((f,g,E,S)=>m=S),c.setSelection(Nc(t,_,c.doc.resolve(m)))}t.focus(),t.dispatch(c.setMeta("uiEvent","drop"))};lt.focus=t=>{t.input.lastFocus=Date.now(),t.focused||(t.domObserver.stop(),t.dom.classList.add("ProseMirror-focused"),t.domObserver.start(),t.focused=!0,setTimeout(()=>{t.docView&&t.hasFocus()&&!t.domObserver.currentSelection.eq(t.domSelectionRange())&&gn(t)},20))};lt.blur=(t,e)=>{let n=e;t.focused&&(t.domObserver.stop(),t.dom.classList.remove("ProseMirror-focused"),t.domObserver.start(),n.relatedTarget&&t.dom.contains(n.relatedTarget)&&t.domObserver.currentSelection.clear(),t.focused=!1)};lt.beforeinput=(t,e)=>{if(rt&&Ut&&e.inputType=="deleteContentBackward"){t.domObserver.flushSoon();let{domChangeCount:r}=t.input;setTimeout(()=>{if(t.input.domChangeCount!=r||(t.dom.blur(),t.focus(),t.someProp("handleKeyDown",o=>o(t,Jn(8,"Backspace")))))return;let{$cursor:i}=t.state.selection;i&&i.pos>0&&t.dispatch(t.state.tr.delete(i.pos-1,i.pos).scrollIntoView())},50)}};for(let t in ct)lt[t]=ct[t];function Wi(t,e){if(t==e)return!0;for(let n in t)if(t[n]!==e[n])return!1;for(let n in e)if(!(n in t))return!1;return!0}class ga{constructor(e,n){this.toDOM=e,this.spec=n||lr,this.side=this.spec.side||0}map(e,n,r,i){let{pos:o,deleted:a}=e.mapResult(n.from+i,this.side<0?-1:1);return a?null:new ke(o-r,o-r,this)}valid(){return!0}eq(e){return this==e||e instanceof ga&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&Wi(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}}class Gn{constructor(e,n){this.attrs=e,this.spec=n||lr}map(e,n,r,i){let o=e.map(n.from+i,this.spec.inclusiveStart?-1:1)-r,a=e.map(n.to+i,this.spec.inclusiveEnd?1:-1)-r;return o>=a?null:new ke(o,a,this)}valid(e,n){return n.from=e&&(!o||o(s.spec))&&r.push(s.copy(s.from+i,s.to+i))}for(let a=0;ae){let s=this.children[a]+1;this.children[a+2].findInner(e-s,n-s,r,i+s,o)}}map(e,n,r){return this==nt||e.maps.length==0?this:this.mapInner(e,n,0,0,r||lr)}mapInner(e,n,r,i,o){let a;for(let s=0;s{let c=l+r,u;if(u=gf(n,s,c)){for(i||(i=this.children.slice());os&&d.to=e){this.children[s]==e&&(r=this.children[s+2]);break}let o=e+1,a=o+n.content.size;for(let s=0;so&&l.type instanceof Gn){let c=Math.max(o,l.from)-o,u=Math.min(a,l.to)-o;ci.map(e,n,lr));return Nn.from(r)}forChild(e,n){if(n.isLeaf)return be.empty;let r=[];for(let i=0;in instanceof be)?e:e.reduce((n,r)=>n.concat(r instanceof be?r:r.members),[]))}}forEachSet(e){for(let n=0;n{let g=f-m-(_-p);for(let E=0;ES+u-d)continue;let b=s[E]+u-d;_>=b?s[E+1]=p<=b?-2:-1:p>=u&&g&&(s[E]+=g,s[E+1]+=g)}d+=g}),u=n.maps[c].map(u,-1)}let l=!1;for(let c=0;c=r.content.size){l=!0;continue}let p=n.map(t[c+1]+o,-1),_=p-i,{index:m,offset:f}=r.content.findIndex(d),g=r.maybeChild(m);if(g&&f==d&&f+g.nodeSize==_){let E=s[c+2].mapInner(n,g,u+1,t[c]+o+1,a);E!=nt?(s[c]=d,s[c+1]=_,s[c+2]=E):(s[c+1]=-2,l=!0)}else l=!0}if(l){let c=Fb(s,t,e,n,i,o,a),u=ha(c,r,0,a);e=u.local;for(let d=0;dn&&a.to{let c=gf(t,s,l+n);if(c){o=!0;let u=ha(c,s,n+l+1,r);u!=nt&&i.push(l,l+s.nodeSize,u)}});let a=ff(o?hf(t):t,-n).sort(cr);for(let s=0;s0;)e++;t.splice(e,0,n)}function Ys(t){let e=[];return t.someProp("decorations",n=>{let r=n(t.state);r&&r!=nt&&e.push(r)}),t.cursorWrapper&&e.push(be.create(t.state.doc,[t.cursorWrapper.deco])),Nn.from(e)}const Bb={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},Ub=pt&&Un<=11;class Hb{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}}class Gb{constructor(e,n){this.view=e,this.handleDOMChange=n,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new Hb,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.lastChangedTextNode=null,this.observer=window.MutationObserver&&new window.MutationObserver(r=>{for(let i=0;ii.type=="childList"&&i.removedNodes.length||i.type=="characterData"&&i.oldValue.length>i.target.nodeValue.length)?this.flushSoon():this.flush()}),Ub&&(this.onCharData=r=>{this.queue.push({target:r.target,type:"characterData",oldValue:r.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,Bb)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let e=this.observer.takeRecords();if(e.length){for(let n=0;nthis.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(yd(this.view)){if(this.suppressingSelectionUpdates)return gn(this.view);if(pt&&Un<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&fr(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(e){if(!e.focusNode)return!0;let n=new Set,r;for(let o=e.focusNode;o;o=zi(o))n.add(o);for(let o=e.anchorNode;o;o=zi(o))if(n.has(o)){r=o;break}let i=r&&this.view.docView.nearestDesc(r);if(i&&i.ignoreMutation({type:"selection",target:r.nodeType==3?r.parentNode:r}))return this.setCurSelection(),!0}pendingRecords(){if(this.observer)for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}flush(){let{view:e}=this;if(!e.docView||this.flushingSoon>-1)return;let n=this.pendingRecords();n.length&&(this.queue=[]);let r=e.domSelectionRange(),i=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(r)&&yd(e)&&!this.ignoreSelectionChange(r),o=-1,a=-1,s=!1,l=[];if(e.editable)for(let u=0;ud.nodeName=="BR");if(u.length==2){let[d,p]=u;d.parentNode&&d.parentNode.parentNode==p.parentNode?p.remove():d.remove()}else{let{focusNode:d}=this.currentSelection;for(let p of u){let _=p.parentNode;_&&_.nodeName=="LI"&&(!d||zb(e,d)!=_)&&p.remove()}}}let c=null;o<0&&i&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)-1||i)&&(o>-1&&(e.docView.markDirty(o,a),Vb(e)),this.handleDOMChange(o,a,s,l),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(r)||gn(e),this.currentSelection.set(r))}registerMutation(e,n){if(n.indexOf(e.target)>-1)return null;let r=this.view.docView.nearestDesc(e.target);if(e.type=="attributes"&&(r==this.view.docView||e.attributeName=="contenteditable"||e.attributeName=="style"&&!e.oldValue&&!e.target.getAttribute("style"))||!r||r.ignoreMutation(e))return null;if(e.type=="childList"){for(let u=0;ui;g--){let E=r.childNodes[g-1],S=E.pmViewDesc;if(E.nodeName=="BR"&&!S){o=g;break}if(!S||S.size)break}let d=t.state.doc,p=t.someProp("domParser")||Wr.fromSchema(t.state.schema),_=d.resolve(a),m=null,f=p.parse(r,{topNode:_.parent,topMatch:_.parent.contentMatchAt(_.index()),topOpen:!0,from:i,to:o,preserveWhitespace:_.parent.type.whitespace=="pre"?"full":!0,findPositions:c,ruleFromNode:qb,context:_});if(c&&c[0].pos!=null){let g=c[0].pos,E=c[1]&&c[1].pos;E==null&&(E=g),m={anchor:g+a,head:E+a}}return{doc:f,sel:m,from:a,to:s}}function qb(t){let e=t.pmViewDesc;if(e)return e.parseRule();if(t.nodeName=="BR"&&t.parentNode){if(st&&/^(ul|ol)$/i.test(t.parentNode.nodeName)){let n=document.createElement("div");return n.appendChild(document.createElement("li")),{skip:n}}else if(t.parentNode.lastChild==t||st&&/^(tr|table)$/i.test(t.parentNode.nodeName))return{ignore:!0}}else if(t.nodeName=="IMG"&&t.getAttribute("mark-placeholder"))return{ignore:!0};return null}const Wb=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function Kb(t,e,n,r,i){let o=t.input.compositionPendingChanges||(t.composing?t.input.compositionID:0);if(t.input.compositionPendingChanges=0,e<0){let O=t.input.lastSelectionTime>Date.now()-50?t.input.lastSelectionOrigin:null,M=Oc(t,O);if(M&&!t.state.selection.eq(M)){if(rt&&Ut&&t.input.lastKeyCode===13&&Date.now()-100Y(t,Jn(13,"Enter"))))return;let B=t.state.tr.setSelection(M);O=="pointer"?B.setMeta("pointer",!0):O=="key"&&B.scrollIntoView(),o&&B.setMeta("composition",o),t.dispatch(B)}return}let a=t.state.doc.resolve(e),s=a.sharedDepth(n);e=a.before(s+1),n=t.state.doc.resolve(n).after(s+1);let l=t.state.selection,c=$b(t,e,n),u=t.state.doc,d=u.slice(c.from,c.to),p,_;t.input.lastKeyCode===8&&Date.now()-100Date.now()-225||Ut)&&i.some(O=>O.nodeType==1&&!Wb.test(O.nodeName))&&(!m||m.endA>=m.endB)&&t.someProp("handleKeyDown",O=>O(t,Jn(13,"Enter")))){t.input.lastIOSEnter=0;return}if(!m)if(r&&l instanceof Z&&!l.empty&&l.$head.sameParent(l.$anchor)&&!t.composing&&!(c.sel&&c.sel.anchor!=c.sel.head))m={start:l.from,endA:l.to,endB:l.to};else{if(c.sel){let O=kd(t,t.state.doc,c.sel);if(O&&!O.eq(t.state.selection)){let M=t.state.tr.setSelection(O);o&&M.setMeta("composition",o),t.dispatch(M)}}return}t.state.selection.fromt.state.selection.from&&m.start<=t.state.selection.from+2&&t.state.selection.from>=c.from?m.start=t.state.selection.from:m.endA=t.state.selection.to-2&&t.state.selection.to<=c.to&&(m.endB+=t.state.selection.to-m.endA,m.endA=t.state.selection.to)),pt&&Un<=11&&m.endB==m.start+1&&m.endA==m.start&&m.start>c.from&&c.doc.textBetween(m.start-c.from-1,m.start-c.from+1)=="  "&&(m.start--,m.endA--,m.endB--);let f=c.doc.resolveNoCache(m.start-c.from),g=c.doc.resolveNoCache(m.endB-c.from),E=u.resolve(m.start),S=f.sameParent(g)&&f.parent.inlineContent&&E.end()>=m.endA,b;if((ti&&t.input.lastIOSEnter>Date.now()-225&&(!S||i.some(O=>O.nodeName=="DIV"||O.nodeName=="P"))||!S&&f.posO(t,Jn(13,"Enter")))){t.input.lastIOSEnter=0;return}if(t.state.selection.anchor>m.start&&Zb(u,m.start,m.endA,f,g)&&t.someProp("handleKeyDown",O=>O(t,Jn(8,"Backspace")))){Ut&&rt&&t.domObserver.suppressSelectionUpdates();return}rt&&Ut&&m.endB==m.start&&(t.input.lastAndroidDelete=Date.now()),Ut&&!S&&f.start()!=g.start()&&g.parentOffset==0&&f.depth==g.depth&&c.sel&&c.sel.anchor==c.sel.head&&c.sel.head==m.endA&&(m.endB-=2,g=c.doc.resolveNoCache(m.endB-c.from),setTimeout(()=>{t.someProp("handleKeyDown",function(O){return O(t,Jn(13,"Enter"))})},20));let h=m.start,C=m.endA,T,R,x;if(S){if(f.pos==g.pos)pt&&Un<=11&&f.parentOffset==0&&(t.domObserver.suppressSelectionUpdates(),setTimeout(()=>gn(t),20)),T=t.state.tr.delete(h,C),R=u.resolve(m.start).marksAcross(u.resolve(m.endA));else if(m.endA==m.endB&&(x=Qb(f.parent.content.cut(f.parentOffset,g.parentOffset),E.parent.content.cut(E.parentOffset,m.endA-E.start()))))T=t.state.tr,x.type=="add"?T.addMark(h,C,x.mark):T.removeMark(h,C,x.mark);else if(f.parent.child(f.index()).isText&&f.index()==g.index()-(g.textOffset?0:1)){let O=f.parent.textBetween(f.parentOffset,g.parentOffset);if(t.someProp("handleTextInput",M=>M(t,h,C,O)))return;T=t.state.tr.insertText(O,h,C)}}if(T||(T=t.state.tr.replace(h,C,c.doc.slice(m.start-c.from,m.endB-c.from))),c.sel){let O=kd(t,T.doc,c.sel);O&&!(rt&&Ut&&t.composing&&O.empty&&(m.start!=m.endB||t.input.lastAndroidDeletee.content.size?null:Nc(t,e.resolve(n.anchor),e.resolve(n.head))}function Qb(t,e){let n=t.firstChild.marks,r=e.firstChild.marks,i=n,o=r,a,s,l;for(let u=0;uu.mark(s.addToSet(u.marks));else if(i.length==0&&o.length==1)s=o[0],a="remove",l=u=>u.mark(s.removeFromSet(u.marks));else return null;let c=[];for(let u=0;un||zs(a,!0,!1)0&&(e||t.indexAfter(r)==t.node(r).childCount);)r--,i++,e=!1;if(n){let o=t.node(r).maybeChild(t.indexAfter(r));for(;o&&!o.isLeaf;)o=o.firstChild,i++}return i}function Xb(t,e,n,r,i){let o=t.findDiffStart(e,n);if(o==null)return null;let{a,b:s}=t.findDiffEnd(e,n+t.size,n+e.size);if(i=="end"){let l=Math.max(0,o-Math.min(a,s));r-=a+l-o}if(a=a?o-r:0;o-=l,o&&o=s?o-r:0;o-=l,o&&o=56320&&e<=57343&&n>=55296&&n<=56319}class jb{constructor(e,n){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new hb,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=n,this.state=n.state,this.directPlugins=n.plugins||[],this.directPlugins.forEach(Gd),this.dispatch=this.dispatch.bind(this),this.dom=e&&e.mount||document.createElement("div"),e&&(e.appendChild?e.appendChild(this.dom):typeof e=="function"?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=Ud(this),Bd(this),this.nodeViews=Hd(this),this.docView=hd(this.state.doc,Fd(this),Ys(this),this.dom,this),this.domObserver=new Gb(this,(r,i,o,a)=>Kb(this,r,i,o,a)),this.domObserver.start(),Eb(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let e=this._props;this._props={};for(let n in e)this._props[n]=e[n];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&zl(this);let n=this._props;this._props=e,e.plugins&&(e.plugins.forEach(Gd),this.directPlugins=e.plugins),this.updateStateInner(e.state,n)}setProps(e){let n={};for(let r in this._props)n[r]=this._props[r];n.state=this.state;for(let r in e)n[r]=e[r];this.update(n)}updateState(e){this.updateStateInner(e,this._props)}updateStateInner(e,n){var r;let i=this.state,o=!1,a=!1;e.storedMarks&&this.composing&&(df(this),a=!0),this.state=e;let s=i.plugins!=e.plugins||this._props.plugins!=n.plugins;if(s||this._props.plugins!=n.plugins||this._props.nodeViews!=n.nodeViews){let _=Hd(this);e0(_,this.nodeViews)&&(this.nodeViews=_,o=!0)}(s||n.handleDOMEvents!=this._props.handleDOMEvents)&&zl(this),this.editable=Ud(this),Bd(this);let l=Ys(this),c=Fd(this),u=i.plugins!=e.plugins&&!i.doc.eq(e.doc)?"reset":e.scrollToSelection>i.scrollToSelection?"to selection":"preserve",d=o||!this.docView.matchesNode(e.doc,c,l);(d||!e.selection.eq(i.selection))&&(a=!0);let p=u=="preserve"&&a&&this.dom.style.overflowAnchor==null&&MS(this);if(a){this.domObserver.stop();let _=d&&(pt||rt)&&!this.composing&&!i.selection.empty&&!e.selection.empty&&Jb(i.selection,e.selection);if(d){let m=rt?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=Db(this)),(o||!this.docView.update(e.doc,c,l,this))&&(this.docView.updateOuterDeco(c),this.docView.destroy(),this.docView=hd(e.doc,c,l,this.dom,this)),m&&!this.trackWrites&&(_=!0)}_||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&nb(this))?gn(this,_):(Xm(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(i),!((r=this.dragging)===null||r===void 0)&&r.node&&!i.doc.eq(e.doc)&&this.updateDraggedNode(this.dragging,i),u=="reset"?this.dom.scrollTop=0:u=="to selection"?this.scrollToSelection():p&&wS(p)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(!this.someProp("handleScrollToSelection",n=>n(this)))if(this.state.selection instanceof ee){let n=this.docView.domAfterPos(this.state.selection.from);n.nodeType==1&&dd(this,n.getBoundingClientRect(),e)}else dd(this,this.coordsAtPos(this.state.selection.head,1),e)}destroyPluginViews(){let e;for(;e=this.pluginViews.pop();)e.destroy&&e.destroy()}updatePluginViews(e){if(!e||e.plugins!=this.state.plugins||this.directPlugins!=this.prevDirectPlugins){this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let n=0;n0&&this.state.doc.nodeAt(o))==r.node&&(i=o)}this.dragging=new _f(e.slice,e.move,i<0?void 0:ee.create(this.state.doc,i))}someProp(e,n){let r=this._props&&this._props[e],i;if(r!=null&&(i=n?n(r):r))return i;for(let a=0;an.ownerDocument.getSelection()),this._root=n}return e||document}updateRoot(){this._root=null}posAtCoords(e){return US(this,e)}coordsAtPos(e,n=1){return Ym(this,e,n)}domAtPos(e,n=0){return this.docView.domFromPos(e,n)}nodeDOM(e){let n=this.docView.descAt(e);return n?n.nodeDOM:null}posAtDOM(e,n,r=-1){let i=this.docView.posFromDOM(e,n,r);if(i==null)throw new RangeError("DOM position not inside the editor");return i}endOfTextblock(e,n){return zS(this,n||this.state,e)}pasteHTML(e,n){return qi(this,"",e,!1,n||new ClipboardEvent("paste"))}pasteText(e,n){return qi(this,e,null,!0,n||new ClipboardEvent("paste"))}destroy(){this.docView&&(Sb(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],Ys(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,TS())}get isDestroyed(){return this.docView==null}dispatchEvent(e){return Tb(this,e)}dispatch(e){let n=this._props.dispatchTransaction;n?n.call(this,e):this.updateState(this.state.apply(e))}domSelectionRange(){let e=this.domSelection();return e?st&&this.root.nodeType===11&&OS(this.dom.ownerDocument)==this.dom&&Yb(this,e)||e:{focusNode:null,focusOffset:0,anchorNode:null,anchorOffset:0}}domSelection(){return this.root.getSelection()}}function Fd(t){let e=Object.create(null);return e.class="ProseMirror",e.contenteditable=String(t.editable),t.someProp("attributes",n=>{if(typeof n=="function"&&(n=n(t.state)),n)for(let r in n)r=="class"?e.class+=" "+n[r]:r=="style"?e.style=(e.style?e.style+";":"")+n[r]:!e[r]&&r!="contenteditable"&&r!="nodeName"&&(e[r]=String(n[r]))}),e.translate||(e.translate="no"),[ke.node(0,t.state.doc.content.size,e)]}function Bd(t){if(t.markCursor){let e=document.createElement("img");e.className="ProseMirror-separator",e.setAttribute("mark-placeholder","true"),e.setAttribute("alt",""),t.cursorWrapper={dom:e,deco:ke.widget(t.state.selection.from,e,{raw:!0,marks:t.markCursor})}}else t.cursorWrapper=null}function Ud(t){return!t.someProp("editable",e=>e(t.state)===!1)}function Jb(t,e){let n=Math.min(t.$anchor.sharedDepth(t.head),e.$anchor.sharedDepth(e.head));return t.$anchor.start(n)!=e.$anchor.start(n)}function Hd(t){let e=Object.create(null);function n(r){for(let i in r)Object.prototype.hasOwnProperty.call(e,i)||(e[i]=r[i])}return t.someProp("nodeViews",n),t.someProp("markViews",n),e}function e0(t,e){let n=0,r=0;for(let i in t){if(t[i]!=e[i])return!0;n++}for(let i in e)r++;return n!=r}function Gd(t){if(t.spec.state||t.spec.filterTransaction||t.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}var Vn={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},Ea={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},t0=typeof navigator<"u"&&/Mac/.test(navigator.platform),n0=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var je=0;je<10;je++)Vn[48+je]=Vn[96+je]=String(je);for(var je=1;je<=24;je++)Vn[je+111]="F"+je;for(var je=65;je<=90;je++)Vn[je]=String.fromCharCode(je+32),Ea[je]=String.fromCharCode(je);for(var $s in Vn)Ea.hasOwnProperty($s)||(Ea[$s]=Vn[$s]);function r0(t){var e=t0&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||n0&&t.shiftKey&&t.key&&t.key.length==1||t.key=="Unidentified",n=!e&&t.key||(t.shiftKey?Ea:Vn)[t.keyCode]||t.key||"Unidentified";return n=="Esc"&&(n="Escape"),n=="Del"&&(n="Delete"),n=="Left"&&(n="ArrowLeft"),n=="Up"&&(n="ArrowUp"),n=="Right"&&(n="ArrowRight"),n=="Down"&&(n="ArrowDown"),n}const i0=typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):!1;function o0(t){let e=t.split(/-(?!$)/),n=e[e.length-1];n=="Space"&&(n=" ");let r,i,o,a;for(let s=0;s127)&&(o=Vn[r.keyCode])&&o!=i){let s=e[qs(o,r)];if(s&&s(n.state,n.dispatch,n))return!0}}return!1}}const l0=(t,e)=>t.selection.empty?!1:(e&&e(t.tr.deleteSelection().scrollIntoView()),!0);function Ef(t,e){let{$cursor:n}=t.selection;return!n||(e?!e.endOfTextblock("backward",t):n.parentOffset>0)?null:n}const c0=(t,e,n)=>{let r=Ef(t,n);if(!r)return!1;let i=Lc(r);if(!i){let a=r.blockRange(),s=a&&_i(a);return s==null?!1:(e&&e(t.tr.lift(a,s).scrollIntoView()),!0)}let o=i.nodeBefore;if(Cf(t,i,e,-1))return!0;if(r.parent.content.size==0&&(ni(o,"end")||ee.isSelectable(o)))for(let a=r.depth;;a--){let s=ns(t.doc,r.before(a),r.after(a),H.empty);if(s&&s.slice.size1)break}return o.isAtom&&i.depth==r.depth-1?(e&&e(t.tr.delete(i.pos-o.nodeSize,i.pos).scrollIntoView()),!0):!1},u0=(t,e,n)=>{let r=Ef(t,n);if(!r)return!1;let i=Lc(r);return i?Sf(t,i,e):!1},d0=(t,e,n)=>{let r=bf(t,n);if(!r)return!1;let i=kc(r);return i?Sf(t,i,e):!1};function Sf(t,e,n){let r=e.nodeBefore,i=r,o=e.pos-1;for(;!i.isTextblock;o--){if(i.type.spec.isolating)return!1;let u=i.lastChild;if(!u)return!1;i=u}let a=e.nodeAfter,s=a,l=e.pos+1;for(;!s.isTextblock;l++){if(s.type.spec.isolating)return!1;let u=s.firstChild;if(!u)return!1;s=u}let c=ns(t.doc,o,l,H.empty);if(!c||c.from!=o||c instanceof Ue&&c.slice.size>=l-o)return!1;if(n){let u=t.tr.step(c);u.setSelection(Z.create(u.doc,o)),n(u.scrollIntoView())}return!0}function ni(t,e,n=!1){for(let r=t;r;r=e=="start"?r.firstChild:r.lastChild){if(r.isTextblock)return!0;if(n&&r.childCount!=1)return!1}return!1}const p0=(t,e,n)=>{let{$head:r,empty:i}=t.selection,o=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("backward",t):r.parentOffset>0)return!1;o=Lc(r)}let a=o&&o.nodeBefore;return!a||!ee.isSelectable(a)?!1:(e&&e(t.tr.setSelection(ee.create(t.doc,o.pos-a.nodeSize)).scrollIntoView()),!0)};function Lc(t){if(!t.parent.type.spec.isolating)for(let e=t.depth-1;e>=0;e--){if(t.index(e)>0)return t.doc.resolve(t.before(e+1));if(t.node(e).type.spec.isolating)break}return null}function bf(t,e){let{$cursor:n}=t.selection;return!n||(e?!e.endOfTextblock("forward",t):n.parentOffset{let r=bf(t,n);if(!r)return!1;let i=kc(r);if(!i)return!1;let o=i.nodeAfter;if(Cf(t,i,e,1))return!0;if(r.parent.content.size==0&&(ni(o,"start")||ee.isSelectable(o))){let a=ns(t.doc,r.before(),r.after(),H.empty);if(a&&a.slice.size{let{$head:r,empty:i}=t.selection,o=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("forward",t):r.parentOffset=0;e--){let n=t.node(e);if(t.index(e)+1{let n=t.selection,r=n instanceof ee,i;if(r){if(n.node.isTextblock||!$n(t.doc,n.from))return!1;i=n.from}else if(i=ts(t.doc,n.from,-1),i==null)return!1;if(e){let o=t.tr.join(i);r&&o.setSelection(ee.create(o.doc,i-t.doc.resolve(i).nodeBefore.nodeSize)),e(o.scrollIntoView())}return!0},g0=(t,e)=>{let n=t.selection,r;if(n instanceof ee){if(n.node.isTextblock||!$n(t.doc,n.to))return!1;r=n.to}else if(r=ts(t.doc,n.to,1),r==null)return!1;return e&&e(t.tr.join(r).scrollIntoView()),!0},h0=(t,e)=>{let{$from:n,$to:r}=t.selection,i=n.blockRange(r),o=i&&_i(i);return o==null?!1:(e&&e(t.tr.lift(i,o).scrollIntoView()),!0)},E0=(t,e)=>{let{$head:n,$anchor:r}=t.selection;return!n.parent.type.spec.code||!n.sameParent(r)?!1:(e&&e(t.tr.insertText(` -`).scrollIntoView()),!0)};function Tf(t){for(let e=0;e{let{$head:n,$anchor:r}=t.selection;if(!n.parent.type.spec.code||!n.sameParent(r))return!1;let i=n.node(-1),o=n.indexAfter(-1),a=Tf(i.contentMatchAt(o));if(!a||!i.canReplaceWith(o,o,a))return!1;if(e){let s=n.after(),l=t.tr.replaceWith(s,s,a.createAndFill());l.setSelection(te.near(l.doc.resolve(s),1)),e(l.scrollIntoView())}return!0},b0=(t,e)=>{let n=t.selection,{$from:r,$to:i}=n;if(n instanceof Dt||r.parent.inlineContent||i.parent.inlineContent)return!1;let o=Tf(i.parent.contentMatchAt(i.indexAfter()));if(!o||!o.isTextblock)return!1;if(e){let a=(!r.parentOffset&&i.index(){let{$cursor:n}=t.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let o=n.before();if(Qr(t.doc,o))return e&&e(t.tr.split(o).scrollIntoView()),!0}let r=n.blockRange(),i=r&&_i(r);return i==null?!1:(e&&e(t.tr.lift(r,i).scrollIntoView()),!0)},C0=(t,e)=>{let{$from:n,to:r}=t.selection,i,o=n.sharedDepth(r);return o==0?!1:(i=n.before(o),e&&e(t.tr.setSelection(ee.create(t.doc,i))),!0)};function y0(t,e,n){let r=e.nodeBefore,i=e.nodeAfter,o=e.index();return!r||!i||!r.type.compatibleContent(i.type)?!1:!r.content.size&&e.parent.canReplace(o-1,o)?(n&&n(t.tr.delete(e.pos-r.nodeSize,e.pos).scrollIntoView()),!0):!e.parent.canReplace(o,o+1)||!(i.isTextblock||$n(t.doc,e.pos))?!1:(n&&n(t.tr.join(e.pos).scrollIntoView()),!0)}function Cf(t,e,n,r){let i=e.nodeBefore,o=e.nodeAfter,a,s,l=i.type.spec.isolating||o.type.spec.isolating;if(!l&&y0(t,e,n))return!0;let c=!l&&e.parent.canReplace(e.index(),e.index()+1);if(c&&(a=(s=i.contentMatchAt(i.childCount)).findWrapping(o.type))&&s.matchType(a[0]||o.type).validEnd){if(n){let _=e.pos+o.nodeSize,m=w.empty;for(let E=a.length-1;E>=0;E--)m=w.from(a[E].create(null,m));m=w.from(i.copy(m));let f=t.tr.step(new ze(e.pos-1,_,e.pos,_,new H(m,1,0),a.length,!0)),g=f.doc.resolve(_+2*a.length);g.nodeAfter&&g.nodeAfter.type==i.type&&$n(f.doc,g.pos)&&f.join(g.pos),n(f.scrollIntoView())}return!0}let u=o.type.spec.isolating||r>0&&l?null:te.findFrom(e,1),d=u&&u.$from.blockRange(u.$to),p=d&&_i(d);if(p!=null&&p>=e.depth)return n&&n(t.tr.lift(d,p).scrollIntoView()),!0;if(c&&ni(o,"start",!0)&&ni(i,"end")){let _=i,m=[];for(;m.push(_),!_.isTextblock;)_=_.lastChild;let f=o,g=1;for(;!f.isTextblock;f=f.firstChild)g++;if(_.canReplace(_.childCount,_.childCount,f.content)){if(n){let E=w.empty;for(let b=m.length-1;b>=0;b--)E=w.from(m[b].copy(E));let S=t.tr.step(new ze(e.pos-m.length,e.pos+o.nodeSize,e.pos+g,e.pos+o.nodeSize-g,new H(E,m.length,0),0,!0));n(S.scrollIntoView())}return!0}}return!1}function yf(t){return function(e,n){let r=e.selection,i=t<0?r.$from:r.$to,o=i.depth;for(;i.node(o).isInline;){if(!o)return!1;o--}return i.node(o).isTextblock?(n&&n(e.tr.setSelection(Z.create(e.doc,t<0?i.start(o):i.end(o)))),!0):!1}}const v0=yf(-1),R0=yf(1);function O0(t,e=null){return function(n,r){let{$from:i,$to:o}=n.selection,a=i.blockRange(o),s=a&&Cc(a,t,e);return s?(r&&r(n.tr.wrap(a,s).scrollIntoView()),!0):!1}}function Vd(t,e=null){return function(n,r){let i=!1;for(let o=0;o{if(i)return!1;if(!(!l.isTextblock||l.hasMarkup(t,e)))if(l.type==t)i=!0;else{let u=n.doc.resolve(c),d=u.index();i=u.parent.canReplaceWith(d,d+1,t)}})}if(!i)return!1;if(r){let o=n.tr;for(let a=0;a=2&&i.node(a.depth-1).type.compatibleContent(t)&&a.startIndex==0){if(i.index(a.depth-1)==0)return!1;let u=n.doc.resolve(a.start-2);l=new ca(u,u,a.depth),a.endIndex=0;u--)o=w.from(n[u].type.create(n[u].attrs,o));t.step(new ze(e.start-(r?2:0),e.end,e.start,e.end,new H(o,0,0),n.length,!0));let a=0;for(let u=0;ua.childCount>0&&a.firstChild.type==t);return o?n?r.node(o.depth-1).type==t?x0(e,n,t,o):D0(e,n,o):!0:!1}}function x0(t,e,n,r){let i=t.tr,o=r.end,a=r.$to.end(r.depth);of;m--)_-=i.child(m).nodeSize,r.delete(_-1,_+1);let o=r.doc.resolve(n.start),a=o.nodeAfter;if(r.mapping.map(n.end)!=n.start+o.nodeAfter.nodeSize)return!1;let s=n.startIndex==0,l=n.endIndex==i.childCount,c=o.node(-1),u=o.index(-1);if(!c.canReplace(u+(s?0:1),u+1,a.content.append(l?w.empty:w.from(i))))return!1;let d=o.pos,p=d+a.nodeSize;return r.step(new ze(d-(s?1:0),p+(l?1:0),d+1,p-1,new H((s?w.empty:w.from(i.copy(w.empty))).append(l?w.empty:w.from(i.copy(w.empty))),s?0:1,l?0:1),s?0:1)),e(r.scrollIntoView()),!0}function M0(t){return function(e,n){let{$from:r,$to:i}=e.selection,o=r.blockRange(i,c=>c.childCount>0&&c.firstChild.type==t);if(!o)return!1;let a=o.startIndex;if(a==0)return!1;let s=o.parent,l=s.child(a-1);if(l.type!=t)return!1;if(n){let c=l.lastChild&&l.lastChild.type==s.type,u=w.from(c?t.create():null),d=new H(w.from(t.create(null,w.from(s.type.create(null,u)))),c?3:1,0),p=o.start,_=o.end;n(e.tr.step(new ze(p-(c?3:1),_,p,_,d,1,!0)).scrollIntoView())}return!0}}function ls(t){const{state:e,transaction:n}=t;let{selection:r}=n,{doc:i}=n,{storedMarks:o}=n;return{...e,apply:e.apply.bind(e),applyTransaction:e.applyTransaction.bind(e),plugins:e.plugins,schema:e.schema,reconfigure:e.reconfigure.bind(e),toJSON:e.toJSON.bind(e),get storedMarks(){return o},get selection(){return r},get doc(){return i},get tr(){return r=n.selection,i=n.doc,o=n.storedMarks,n}}}class cs{constructor(e){this.editor=e.editor,this.rawCommands=this.editor.extensionManager.commands,this.customState=e.state}get hasCustomState(){return!!this.customState}get state(){return this.customState||this.editor.state}get commands(){const{rawCommands:e,editor:n,state:r}=this,{view:i}=n,{tr:o}=r,a=this.buildProps(o);return Object.fromEntries(Object.entries(e).map(([s,l])=>[s,(...u)=>{const d=l(...u)(a);return!o.getMeta("preventDispatch")&&!this.hasCustomState&&i.dispatch(o),d}]))}get chain(){return()=>this.createChain()}get can(){return()=>this.createCan()}createChain(e,n=!0){const{rawCommands:r,editor:i,state:o}=this,{view:a}=i,s=[],l=!!e,c=e||o.tr,u=()=>(!l&&n&&!c.getMeta("preventDispatch")&&!this.hasCustomState&&a.dispatch(c),s.every(p=>p===!0)),d={...Object.fromEntries(Object.entries(r).map(([p,_])=>[p,(...f)=>{const g=this.buildProps(c,n),E=_(...f)(g);return s.push(E),d}])),run:u};return d}createCan(e){const{rawCommands:n,state:r}=this,i=!1,o=e||r.tr,a=this.buildProps(o,i);return{...Object.fromEntries(Object.entries(n).map(([l,c])=>[l,(...u)=>c(...u)({...a,dispatch:void 0})])),chain:()=>this.createChain(o,i)}}buildProps(e,n=!0){const{rawCommands:r,editor:i,state:o}=this,{view:a}=i,s={tr:e,editor:i,view:a,state:ls({state:o,transaction:e}),dispatch:n?()=>{}:void 0,chain:()=>this.createChain(e,n),can:()=>this.createCan(e),get commands(){return Object.fromEntries(Object.entries(r).map(([l,c])=>[l,(...u)=>c(...u)(s)]))}};return s}}let w0=class{constructor(){this.callbacks={}}on(e,n){return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(n),this}emit(e,...n){const r=this.callbacks[e];return r&&r.forEach(i=>i.apply(this,n)),this}off(e,n){const r=this.callbacks[e];return r&&(n?this.callbacks[e]=r.filter(i=>i!==n):delete this.callbacks[e]),this}once(e,n){const r=(...i)=>{this.off(e,r),n.apply(this,i)};return this.on(e,r)}removeAllListeners(){this.callbacks={}}};function W(t,e,n){return t.config[e]===void 0&&t.parent?W(t.parent,e,n):typeof t.config[e]=="function"?t.config[e].bind({...n,parent:t.parent?W(t.parent,e,n):null}):t.config[e]}function us(t){const e=t.filter(i=>i.type==="extension"),n=t.filter(i=>i.type==="node"),r=t.filter(i=>i.type==="mark");return{baseExtensions:e,nodeExtensions:n,markExtensions:r}}function vf(t){const e=[],{nodeExtensions:n,markExtensions:r}=us(t),i=[...n,...r],o={default:null,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,isRequired:!1};return t.forEach(a=>{const s={name:a.name,options:a.options,storage:a.storage,extensions:i},l=W(a,"addGlobalAttributes",s);if(!l)return;l().forEach(u=>{u.types.forEach(d=>{Object.entries(u.attributes).forEach(([p,_])=>{e.push({type:d,name:p,attribute:{...o,..._}})})})})}),i.forEach(a=>{const s={name:a.name,options:a.options,storage:a.storage},l=W(a,"addAttributes",s);if(!l)return;const c=l();Object.entries(c).forEach(([u,d])=>{const p={...o,...d};typeof(p==null?void 0:p.default)=="function"&&(p.default=p.default()),p!=null&&p.isRequired&&(p==null?void 0:p.default)===void 0&&delete p.default,e.push({type:a.name,name:u,attribute:p})})}),e}function qe(t,e){if(typeof t=="string"){if(!e.nodes[t])throw Error(`There is no node type named '${t}'. Maybe you forgot to add the extension?`);return e.nodes[t]}return t}function pe(...t){return t.filter(e=>!!e).reduce((e,n)=>{const r={...e};return Object.entries(n).forEach(([i,o])=>{if(!r[i]){r[i]=o;return}if(i==="class"){const s=o?o.split(" "):[],l=r[i]?r[i].split(" "):[],c=s.filter(u=>!l.includes(u));r[i]=[...l,...c].join(" ")}else if(i==="style"){const s=o?o.split(";").map(u=>u.trim()).filter(Boolean):[],l=r[i]?r[i].split(";").map(u=>u.trim()).filter(Boolean):[],c=new Map;l.forEach(u=>{const[d,p]=u.split(":").map(_=>_.trim());c.set(d,p)}),s.forEach(u=>{const[d,p]=u.split(":").map(_=>_.trim());c.set(d,p)}),r[i]=Array.from(c.entries()).map(([u,d])=>`${u}: ${d}`).join("; ")}else r[i]=o}),r},{})}function $l(t,e){return e.filter(n=>n.type===t.type.name).filter(n=>n.attribute.rendered).map(n=>n.attribute.renderHTML?n.attribute.renderHTML(t.attrs)||{}:{[n.name]:t.attrs[n.name]}).reduce((n,r)=>pe(n,r),{})}function Rf(t){return typeof t=="function"}function le(t,e=void 0,...n){return Rf(t)?e?t.bind(e)(...n):t(...n):t}function L0(t={}){return Object.keys(t).length===0&&t.constructor===Object}function k0(t){return typeof t!="string"?t:t.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(t):t==="true"?!0:t==="false"?!1:t}function Yd(t,e){return"style"in t?t:{...t,getAttrs:n=>{const r=t.getAttrs?t.getAttrs(n):t.attrs;if(r===!1)return!1;const i=e.reduce((o,a)=>{const s=a.attribute.parseHTML?a.attribute.parseHTML(n):k0(n.getAttribute(a.name));return s==null?o:{...o,[a.name]:s}},{});return{...r,...i}}}}function zd(t){return Object.fromEntries(Object.entries(t).filter(([e,n])=>e==="attrs"&&L0(n)?!1:n!=null))}function P0(t,e){var n;const r=vf(t),{nodeExtensions:i,markExtensions:o}=us(t),a=(n=i.find(c=>W(c,"topNode")))===null||n===void 0?void 0:n.name,s=Object.fromEntries(i.map(c=>{const u=r.filter(E=>E.type===c.name),d={name:c.name,options:c.options,storage:c.storage,editor:e},p=t.reduce((E,S)=>{const b=W(S,"extendNodeSchema",d);return{...E,...b?b(c):{}}},{}),_=zd({...p,content:le(W(c,"content",d)),marks:le(W(c,"marks",d)),group:le(W(c,"group",d)),inline:le(W(c,"inline",d)),atom:le(W(c,"atom",d)),selectable:le(W(c,"selectable",d)),draggable:le(W(c,"draggable",d)),code:le(W(c,"code",d)),whitespace:le(W(c,"whitespace",d)),linebreakReplacement:le(W(c,"linebreakReplacement",d)),defining:le(W(c,"defining",d)),isolating:le(W(c,"isolating",d)),attrs:Object.fromEntries(u.map(E=>{var S;return[E.name,{default:(S=E==null?void 0:E.attribute)===null||S===void 0?void 0:S.default}]}))}),m=le(W(c,"parseHTML",d));m&&(_.parseDOM=m.map(E=>Yd(E,u)));const f=W(c,"renderHTML",d);f&&(_.toDOM=E=>f({node:E,HTMLAttributes:$l(E,u)}));const g=W(c,"renderText",d);return g&&(_.toText=g),[c.name,_]})),l=Object.fromEntries(o.map(c=>{const u=r.filter(g=>g.type===c.name),d={name:c.name,options:c.options,storage:c.storage,editor:e},p=t.reduce((g,E)=>{const S=W(E,"extendMarkSchema",d);return{...g,...S?S(c):{}}},{}),_=zd({...p,inclusive:le(W(c,"inclusive",d)),excludes:le(W(c,"excludes",d)),group:le(W(c,"group",d)),spanning:le(W(c,"spanning",d)),code:le(W(c,"code",d)),attrs:Object.fromEntries(u.map(g=>{var E;return[g.name,{default:(E=g==null?void 0:g.attribute)===null||E===void 0?void 0:E.default}]}))}),m=le(W(c,"parseHTML",d));m&&(_.parseDOM=m.map(g=>Yd(g,u)));const f=W(c,"renderHTML",d);return f&&(_.toDOM=g=>f({mark:g,HTMLAttributes:$l(g,u)})),[c.name,_]}));return new Em({topNode:a,nodes:s,marks:l})}function Ws(t,e){return e.nodes[t]||e.marks[t]||null}function $d(t,e){return Array.isArray(e)?e.some(n=>(typeof n=="string"?n:n.name)===t.name):e}function Pc(t,e){const n=Cr.fromSchema(e).serializeFragment(t),i=document.implementation.createHTMLDocument().createElement("div");return i.appendChild(n),i.innerHTML}const F0=(t,e=500)=>{let n="";const r=t.parentOffset;return t.parent.nodesBetween(Math.max(0,r-e),r,(i,o,a,s)=>{var l,c;const u=((c=(l=i.type.spec).toText)===null||c===void 0?void 0:c.call(l,{node:i,pos:o,parent:a,index:s}))||i.textContent||"%leaf%";n+=i.isAtom&&!i.isText?u:u.slice(0,Math.max(0,r-o))}),n};function Fc(t){return Object.prototype.toString.call(t)==="[object RegExp]"}class fo{constructor(e){this.find=e.find,this.handler=e.handler}}const B0=(t,e)=>{if(Fc(e))return e.exec(t);const n=e(t);if(!n)return null;const r=[n.text];return r.index=n.index,r.input=t,r.data=n.data,n.replaceWith&&(n.text.includes(n.replaceWith)||console.warn('[tiptap warn]: "inputRuleMatch.replaceWith" must be part of "inputRuleMatch.text".'),r.push(n.replaceWith)),r};function Ao(t){var e;const{editor:n,from:r,to:i,text:o,rules:a,plugin:s}=t,{view:l}=n;if(l.composing)return!1;const c=l.state.doc.resolve(r);if(c.parent.type.spec.code||!((e=c.nodeBefore||c.nodeAfter)===null||e===void 0)&&e.marks.find(p=>p.type.spec.code))return!1;let u=!1;const d=F0(c)+o;return a.forEach(p=>{if(u)return;const _=B0(d,p.find);if(!_)return;const m=l.state.tr,f=ls({state:l.state,transaction:m}),g={from:r-(_[0].length-o.length),to:i},{commands:E,chain:S,can:b}=new cs({editor:n,state:f});p.handler({state:f,range:g,match:_,commands:E,chain:S,can:b})===null||!m.steps.length||(m.setMeta(s,{transform:m,from:r,to:i,text:o}),l.dispatch(m),u=!0)}),u}function U0(t){const{editor:e,rules:n}=t,r=new Se({state:{init(){return null},apply(i,o,a){const s=i.getMeta(r);if(s)return s;const l=i.getMeta("applyInputRules");return!!l&&setTimeout(()=>{let{text:u}=l;typeof u=="string"?u=u:u=Pc(w.from(u),a.schema);const{from:d}=l,p=d+u.length;Ao({editor:e,from:d,to:p,text:u,rules:n,plugin:r})}),i.selectionSet||i.docChanged?null:o}},props:{handleTextInput(i,o,a,s){return Ao({editor:e,from:o,to:a,text:s,rules:n,plugin:r})},handleDOMEvents:{compositionend:i=>(setTimeout(()=>{const{$cursor:o}=i.state.selection;o&&Ao({editor:e,from:o.pos,to:o.pos,text:"",rules:n,plugin:r})}),!1)},handleKeyDown(i,o){if(o.key!=="Enter")return!1;const{$cursor:a}=i.state.selection;return a?Ao({editor:e,from:a.pos,to:a.pos,text:` -`,rules:n,plugin:r}):!1}},isInputRules:!0});return r}function H0(t){return Object.prototype.toString.call(t).slice(8,-1)}function Io(t){return H0(t)!=="Object"?!1:t.constructor===Object&&Object.getPrototypeOf(t)===Object.prototype}function ds(t,e){const n={...t};return Io(t)&&Io(e)&&Object.keys(e).forEach(r=>{Io(e[r])&&Io(t[r])?n[r]=ds(t[r],e[r]):n[r]=e[r]}),n}class ft{constructor(e={}){this.type="mark",this.name="mark",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=le(W(this,"addOptions",{name:this.name}))),this.storage=le(W(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new ft(e)}configure(e={}){const n=this.extend({...this.config,addOptions:()=>ds(this.options,e)});return n.name=this.name,n.parent=this.parent,n}extend(e={}){const n=new ft(e);return n.parent=this,this.child=n,n.name=e.name?e.name:n.parent.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${n.name}".`),n.options=le(W(n,"addOptions",{name:n.name})),n.storage=le(W(n,"addStorage",{name:n.name,options:n.options})),n}static handleExit({editor:e,mark:n}){const{tr:r}=e.state,i=e.state.selection.$from;if(i.pos===i.end()){const a=i.marks();if(!!!a.find(c=>(c==null?void 0:c.type.name)===n.name))return!1;const l=a.find(c=>(c==null?void 0:c.type.name)===n.name);return l&&r.removeStoredMark(l),r.insertText(" ",i.pos),e.view.dispatch(r),!0}return!1}}function G0(t){return typeof t=="number"}class V0{constructor(e){this.find=e.find,this.handler=e.handler}}const Y0=(t,e,n)=>{if(Fc(e))return[...t.matchAll(e)];const r=e(t,n);return r?r.map(i=>{const o=[i.text];return o.index=i.index,o.input=t,o.data=i.data,i.replaceWith&&(i.text.includes(i.replaceWith)||console.warn('[tiptap warn]: "pasteRuleMatch.replaceWith" must be part of "pasteRuleMatch.text".'),o.push(i.replaceWith)),o}):[]};function z0(t){const{editor:e,state:n,from:r,to:i,rule:o,pasteEvent:a,dropEvent:s}=t,{commands:l,chain:c,can:u}=new cs({editor:e,state:n}),d=[];return n.doc.nodesBetween(r,i,(_,m)=>{if(!_.isTextblock||_.type.spec.code)return;const f=Math.max(r,m),g=Math.min(i,m+_.content.size),E=_.textBetween(f-m,g-m,void 0,"");Y0(E,o.find,a).forEach(b=>{if(b.index===void 0)return;const h=f+b.index+1,C=h+b[0].length,T={from:n.tr.mapping.map(h),to:n.tr.mapping.map(C)},R=o.handler({state:n,range:T,match:b,commands:l,chain:c,can:u,pasteEvent:a,dropEvent:s});d.push(R)})}),d.every(_=>_!==null)}const $0=t=>{var e;const n=new ClipboardEvent("paste",{clipboardData:new DataTransfer});return(e=n.clipboardData)===null||e===void 0||e.setData("text/html",t),n};function q0(t){const{editor:e,rules:n}=t;let r=null,i=!1,o=!1,a=typeof ClipboardEvent<"u"?new ClipboardEvent("paste"):null,s;try{s=typeof DragEvent<"u"?new DragEvent("drop"):null}catch{s=null}const l=({state:u,from:d,to:p,rule:_,pasteEvt:m})=>{const f=u.tr,g=ls({state:u,transaction:f});if(!(!z0({editor:e,state:g,from:Math.max(d-1,0),to:p.b-1,rule:_,pasteEvent:m,dropEvent:s})||!f.steps.length)){try{s=typeof DragEvent<"u"?new DragEvent("drop"):null}catch{s=null}return a=typeof ClipboardEvent<"u"?new ClipboardEvent("paste"):null,f}};return n.map(u=>new Se({view(d){const p=_=>{var m;r=!((m=d.dom.parentElement)===null||m===void 0)&&m.contains(_.target)?d.dom.parentElement:null};return window.addEventListener("dragstart",p),{destroy(){window.removeEventListener("dragstart",p)}}},props:{handleDOMEvents:{drop:(d,p)=>(o=r===d.dom.parentElement,s=p,!1),paste:(d,p)=>{var _;const m=(_=p.clipboardData)===null||_===void 0?void 0:_.getData("text/html");return a=p,i=!!(m!=null&&m.includes("data-pm-slice")),!1}}},appendTransaction:(d,p,_)=>{const m=d[0],f=m.getMeta("uiEvent")==="paste"&&!i,g=m.getMeta("uiEvent")==="drop"&&!o,E=m.getMeta("applyPasteRules"),S=!!E;if(!f&&!g&&!S)return;if(S){let{text:C}=E;typeof C=="string"?C=C:C=Pc(w.from(C),_.schema);const{from:T}=E,R=T+C.length,x=$0(C);return l({rule:u,state:_,from:T,to:{b:R},pasteEvt:x})}const b=p.doc.content.findDiffStart(_.doc.content),h=p.doc.content.findDiffEnd(_.doc.content);if(!(!G0(b)||!h||b===h.b))return l({rule:u,state:_,from:b,to:h,pasteEvt:a})}}))}function W0(t){const e=t.filter((n,r)=>t.indexOf(n)!==r);return Array.from(new Set(e))}class Yr{constructor(e,n){this.splittableMarks=[],this.editor=n,this.extensions=Yr.resolve(e),this.schema=P0(this.extensions,n),this.setupExtensions()}static resolve(e){const n=Yr.sort(Yr.flatten(e)),r=W0(n.map(i=>i.name));return r.length&&console.warn(`[tiptap warn]: Duplicate extension names found: [${r.map(i=>`'${i}'`).join(", ")}]. This can lead to issues.`),n}static flatten(e){return e.map(n=>{const r={name:n.name,options:n.options,storage:n.storage},i=W(n,"addExtensions",r);return i?[n,...this.flatten(i())]:n}).flat(10)}static sort(e){return e.sort((r,i)=>{const o=W(r,"priority")||100,a=W(i,"priority")||100;return o>a?-1:o{const r={name:n.name,options:n.options,storage:n.storage,editor:this.editor,type:Ws(n.name,this.schema)},i=W(n,"addCommands",r);return i?{...e,...i()}:e},{})}get plugins(){const{editor:e}=this,n=Yr.sort([...this.extensions].reverse()),r=[],i=[],o=n.map(a=>{const s={name:a.name,options:a.options,storage:a.storage,editor:e,type:Ws(a.name,this.schema)},l=[],c=W(a,"addKeyboardShortcuts",s);let u={};if(a.type==="mark"&&W(a,"exitable",s)&&(u.ArrowRight=()=>ft.handleExit({editor:e,mark:a})),c){const f=Object.fromEntries(Object.entries(c()).map(([g,E])=>[g,()=>E({editor:e})]));u={...u,...f}}const d=s0(u);l.push(d);const p=W(a,"addInputRules",s);$d(a,e.options.enableInputRules)&&p&&r.push(...p());const _=W(a,"addPasteRules",s);$d(a,e.options.enablePasteRules)&&_&&i.push(..._());const m=W(a,"addProseMirrorPlugins",s);if(m){const f=m();l.push(...f)}return l}).flat();return[U0({editor:e,rules:r}),...q0({editor:e,rules:i}),...o]}get attributes(){return vf(this.extensions)}get nodeViews(){const{editor:e}=this,{nodeExtensions:n}=us(this.extensions);return Object.fromEntries(n.filter(r=>!!W(r,"addNodeView")).map(r=>{const i=this.attributes.filter(l=>l.type===r.name),o={name:r.name,options:r.options,storage:r.storage,editor:e,type:qe(r.name,this.schema)},a=W(r,"addNodeView",o);if(!a)return[];const s=(l,c,u,d,p)=>{const _=$l(l,i);return a()({node:l,view:c,getPos:u,decorations:d,innerDecorations:p,editor:e,extension:r,HTMLAttributes:_})};return[r.name,s]}))}setupExtensions(){this.extensions.forEach(e=>{var n;this.editor.extensionStorage[e.name]=e.storage;const r={name:e.name,options:e.options,storage:e.storage,editor:this.editor,type:Ws(e.name,this.schema)};e.type==="mark"&&(!((n=le(W(e,"keepOnSplit",r)))!==null&&n!==void 0)||n)&&this.splittableMarks.push(e.name);const i=W(e,"onBeforeCreate",r),o=W(e,"onCreate",r),a=W(e,"onUpdate",r),s=W(e,"onSelectionUpdate",r),l=W(e,"onTransaction",r),c=W(e,"onFocus",r),u=W(e,"onBlur",r),d=W(e,"onDestroy",r);i&&this.editor.on("beforeCreate",i),o&&this.editor.on("create",o),a&&this.editor.on("update",a),s&&this.editor.on("selectionUpdate",s),l&&this.editor.on("transaction",l),c&&this.editor.on("focus",c),u&&this.editor.on("blur",u),d&&this.editor.on("destroy",d)})}}class ge{constructor(e={}){this.type="extension",this.name="extension",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=le(W(this,"addOptions",{name:this.name}))),this.storage=le(W(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new ge(e)}configure(e={}){const n=this.extend({...this.config,addOptions:()=>ds(this.options,e)});return n.name=this.name,n.parent=this.parent,n}extend(e={}){const n=new ge({...this.config,...e});return n.parent=this,this.child=n,n.name=e.name?e.name:n.parent.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${n.name}".`),n.options=le(W(n,"addOptions",{name:n.name})),n.storage=le(W(n,"addStorage",{name:n.name,options:n.options})),n}}function ps(t,e,n){const{from:r,to:i}=e,{blockSeparator:o=` - -`,textSerializers:a={}}=n||{};let s="";return t.nodesBetween(r,i,(l,c,u,d)=>{var p;l.isBlock&&c>r&&(s+=o);const _=a==null?void 0:a[l.type.name];if(_)return u&&(s+=_({node:l,pos:c,parent:u,index:d,range:e})),!1;l.isText&&(s+=(p=l==null?void 0:l.text)===null||p===void 0?void 0:p.slice(Math.max(r,c)-c,i-c))}),s}function Of(t){return Object.fromEntries(Object.entries(t.nodes).filter(([,e])=>e.spec.toText).map(([e,n])=>[e,n.spec.toText]))}const K0=ge.create({name:"clipboardTextSerializer",addOptions(){return{blockSeparator:void 0}},addProseMirrorPlugins(){return[new Se({key:new ve("clipboardTextSerializer"),props:{clipboardTextSerializer:()=>{const{editor:t}=this,{state:e,schema:n}=t,{doc:r,selection:i}=e,{ranges:o}=i,a=Math.min(...o.map(u=>u.$from.pos)),s=Math.max(...o.map(u=>u.$to.pos)),l=Of(n);return ps(r,{from:a,to:s},{...this.options.blockSeparator!==void 0?{blockSeparator:this.options.blockSeparator}:{},textSerializers:l})}}})]}}),Q0=()=>({editor:t,view:e})=>(requestAnimationFrame(()=>{var n;t.isDestroyed||(e.dom.blur(),(n=window==null?void 0:window.getSelection())===null||n===void 0||n.removeAllRanges())}),!0),Z0=(t=!1)=>({commands:e})=>e.setContent("",t),X0=()=>({state:t,tr:e,dispatch:n})=>{const{selection:r}=e,{ranges:i}=r;return n&&i.forEach(({$from:o,$to:a})=>{t.doc.nodesBetween(o.pos,a.pos,(s,l)=>{if(s.type.isText)return;const{doc:c,mapping:u}=e,d=c.resolve(u.map(l)),p=c.resolve(u.map(l+s.nodeSize)),_=d.blockRange(p);if(!_)return;const m=_i(_);if(s.type.isTextblock){const{defaultType:f}=d.parent.contentMatchAt(d.index());e.setNodeMarkup(_.start,f)}(m||m===0)&&e.lift(_,m)})}),!0},j0=t=>e=>t(e),J0=()=>({state:t,dispatch:e})=>b0(t,e),eT=(t,e)=>({editor:n,tr:r})=>{const{state:i}=n,o=i.doc.slice(t.from,t.to);r.deleteRange(t.from,t.to);const a=r.mapping.map(e);return r.insert(a,o.content),r.setSelection(new Z(r.doc.resolve(a-1))),!0},tT=()=>({tr:t,dispatch:e})=>{const{selection:n}=t,r=n.$anchor.node();if(r.content.size>0)return!1;const i=t.selection.$anchor;for(let o=i.depth;o>0;o-=1)if(i.node(o).type===r.type){if(e){const s=i.before(o),l=i.after(o);t.delete(s,l).scrollIntoView()}return!0}return!1},nT=t=>({tr:e,state:n,dispatch:r})=>{const i=qe(t,n.schema),o=e.selection.$anchor;for(let a=o.depth;a>0;a-=1)if(o.node(a).type===i){if(r){const l=o.before(a),c=o.after(a);e.delete(l,c).scrollIntoView()}return!0}return!1},rT=t=>({tr:e,dispatch:n})=>{const{from:r,to:i}=t;return n&&e.delete(r,i),!0},iT=()=>({state:t,dispatch:e})=>l0(t,e),oT=()=>({commands:t})=>t.keyboardShortcut("Enter"),aT=()=>({state:t,dispatch:e})=>S0(t,e);function ri(t,e,n={strict:!0}){const r=Object.keys(e);return r.length?r.every(i=>n.strict?e[i]===t[i]:Fc(e[i])?e[i].test(t[i]):e[i]===t[i]):!0}function Nf(t,e,n={}){return t.find(r=>r.type===e&&ri(Object.fromEntries(Object.keys(n).map(i=>[i,r.attrs[i]])),n))}function qd(t,e,n={}){return!!Nf(t,e,n)}function Bc(t,e,n){var r;if(!t||!e)return;let i=t.parent.childAfter(t.parentOffset);if((!i.node||!i.node.marks.some(u=>u.type===e))&&(i=t.parent.childBefore(t.parentOffset)),!i.node||!i.node.marks.some(u=>u.type===e)||(n=n||((r=i.node.marks[0])===null||r===void 0?void 0:r.attrs),!Nf([...i.node.marks],e,n)))return;let a=i.index,s=t.start()+i.offset,l=a+1,c=s+i.node.nodeSize;for(;a>0&&qd([...t.parent.child(a-1).marks],e,n);)a-=1,s-=t.parent.child(a).nodeSize;for(;l({tr:n,state:r,dispatch:i})=>{const o=Sn(t,r.schema),{doc:a,selection:s}=n,{$from:l,from:c,to:u}=s;if(i){const d=Bc(l,o,e);if(d&&d.from<=c&&d.to>=u){const p=Z.create(a,d.from,d.to);n.setSelection(p)}}return!0},lT=t=>e=>{const n=typeof t=="function"?t(e):t;for(let r=0;r({editor:n,view:r,tr:i,dispatch:o})=>{e={scrollIntoView:!0,...e};const a=()=>{Hc()&&r.dom.focus(),requestAnimationFrame(()=>{n.isDestroyed||(r.focus(),e!=null&&e.scrollIntoView&&n.commands.scrollIntoView())})};if(r.hasFocus()&&t===null||t===!1)return!0;if(o&&t===null&&!Uc(n.state.selection))return a(),!0;const s=Af(i.doc,t)||n.state.selection,l=n.state.selection.eq(s);return o&&(l||i.setSelection(s),l&&i.storedMarks&&i.setStoredMarks(i.storedMarks),a()),!0},uT=(t,e)=>n=>t.every((r,i)=>e(r,{...n,index:i})),dT=(t,e)=>({tr:n,commands:r})=>r.insertContentAt({from:n.selection.from,to:n.selection.to},t,e),If=t=>{const e=t.childNodes;for(let n=e.length-1;n>=0;n-=1){const r=e[n];r.nodeType===3&&r.nodeValue&&/^(\n\s\s|\n)$/.test(r.nodeValue)?t.removeChild(r):r.nodeType===1&&If(r)}return t};function xo(t){const e=`${t}`,n=new window.DOMParser().parseFromString(e,"text/html").body;return If(n)}function Sa(t,e,n){if(t instanceof Bn||t instanceof w)return t;n={slice:!0,parseOptions:{},...n};const r=typeof t=="object"&&t!==null,i=typeof t=="string";if(r)try{if(Array.isArray(t)&&t.length>0)return w.fromArray(t.map(s=>e.nodeFromJSON(s)));const a=e.nodeFromJSON(t);return n.errorOnInvalidContent&&a.check(),a}catch(o){if(n.errorOnInvalidContent)throw new Error("[tiptap error]: Invalid JSON content",{cause:o});return console.warn("[tiptap warn]: Invalid content.","Passed value:",t,"Error:",o),Sa("",e,n)}if(i){if(n.errorOnInvalidContent){let a=!1,s="";const l=new Em({topNode:e.spec.topNode,marks:e.spec.marks,nodes:e.spec.nodes.append({__tiptap__private__unknown__catch__all__node:{content:"inline*",group:"block",parseDOM:[{tag:"*",getAttrs:c=>(a=!0,s=typeof c=="string"?c:c.outerHTML,null)}]}})});if(n.slice?Wr.fromSchema(l).parseSlice(xo(t),n.parseOptions):Wr.fromSchema(l).parse(xo(t),n.parseOptions),n.errorOnInvalidContent&&a)throw new Error("[tiptap error]: Invalid HTML content",{cause:new Error(`Invalid element found: ${s}`)})}const o=Wr.fromSchema(e);return n.slice?o.parseSlice(xo(t),n.parseOptions).content:o.parse(xo(t),n.parseOptions)}return Sa("",e,n)}function pT(t,e,n){const r=t.steps.length-1;if(r{a===0&&(a=u)}),t.setSelection(te.near(t.doc.resolve(a),n))}const _T=t=>!("type"in t),mT=(t,e,n)=>({tr:r,dispatch:i,editor:o})=>{var a;if(i){n={parseOptions:o.options.parseOptions,updateSelection:!0,applyInputRules:!1,applyPasteRules:!1,...n};let s;try{s=Sa(e,o.schema,{parseOptions:{preserveWhitespace:"full",...n.parseOptions},errorOnInvalidContent:(a=n.errorOnInvalidContent)!==null&&a!==void 0?a:o.options.enableContentCheck})}catch(m){return o.emit("contentError",{editor:o,error:m,disableCollaboration:()=>{o.storage.collaboration&&(o.storage.collaboration.isDisabled=!0)}}),!1}let{from:l,to:c}=typeof t=="number"?{from:t,to:t}:{from:t.from,to:t.to},u=!0,d=!0;if((_T(s)?s:[s]).forEach(m=>{m.check(),u=u?m.isText&&m.marks.length===0:!1,d=d?m.isBlock:!1}),l===c&&d){const{parent:m}=r.doc.resolve(l);m.isTextblock&&!m.type.spec.code&&!m.childCount&&(l-=1,c+=1)}let _;if(u){if(Array.isArray(e))_=e.map(m=>m.text||"").join("");else if(e instanceof w){let m="";e.forEach(f=>{f.text&&(m+=f.text)}),_=m}else typeof e=="object"&&e&&e.text?_=e.text:_=e;r.insertText(_,l,c)}else _=s,r.replaceWith(l,c,_);n.updateSelection&&pT(r,r.steps.length-1,-1),n.applyInputRules&&r.setMeta("applyInputRules",{from:l,text:_}),n.applyPasteRules&&r.setMeta("applyPasteRules",{from:l,text:_})}return!0},fT=()=>({state:t,dispatch:e})=>f0(t,e),gT=()=>({state:t,dispatch:e})=>g0(t,e),hT=()=>({state:t,dispatch:e})=>c0(t,e),ET=()=>({state:t,dispatch:e})=>_0(t,e),ST=()=>({state:t,dispatch:e,tr:n})=>{try{const r=ts(t.doc,t.selection.$from.pos,-1);return r==null?!1:(n.join(r,2),e&&e(n),!0)}catch{return!1}},bT=()=>({state:t,dispatch:e,tr:n})=>{try{const r=ts(t.doc,t.selection.$from.pos,1);return r==null?!1:(n.join(r,2),e&&e(n),!0)}catch{return!1}},TT=()=>({state:t,dispatch:e})=>u0(t,e),CT=()=>({state:t,dispatch:e})=>d0(t,e);function xf(){return typeof navigator<"u"?/Mac/.test(navigator.platform):!1}function yT(t){const e=t.split(/-(?!$)/);let n=e[e.length-1];n==="Space"&&(n=" ");let r,i,o,a;for(let s=0;s({editor:e,view:n,tr:r,dispatch:i})=>{const o=yT(t).split(/-(?!$)/),a=o.find(c=>!["Alt","Ctrl","Meta","Shift"].includes(c)),s=new KeyboardEvent("keydown",{key:a==="Space"?" ":a,altKey:o.includes("Alt"),ctrlKey:o.includes("Ctrl"),metaKey:o.includes("Meta"),shiftKey:o.includes("Shift"),bubbles:!0,cancelable:!0}),l=e.captureTransaction(()=>{n.someProp("handleKeyDown",c=>c(n,s))});return l==null||l.steps.forEach(c=>{const u=c.map(r.mapping);u&&i&&r.maybeStep(u)}),!0};function hr(t,e,n={}){const{from:r,to:i,empty:o}=t.selection,a=e?qe(e,t.schema):null,s=[];t.doc.nodesBetween(r,i,(d,p)=>{if(d.isText)return;const _=Math.max(r,p),m=Math.min(i,p+d.nodeSize);s.push({node:d,from:_,to:m})});const l=i-r,c=s.filter(d=>a?a.name===d.node.type.name:!0).filter(d=>ri(d.node.attrs,n,{strict:!1}));return o?!!c.length:c.reduce((d,p)=>d+p.to-p.from,0)>=l}const RT=(t,e={})=>({state:n,dispatch:r})=>{const i=qe(t,n.schema);return hr(n,i,e)?h0(n,r):!1},OT=()=>({state:t,dispatch:e})=>T0(t,e),NT=t=>({state:e,dispatch:n})=>{const r=qe(t,e.schema);return I0(r)(e,n)},AT=()=>({state:t,dispatch:e})=>E0(t,e);function _s(t,e){return e.nodes[t]?"node":e.marks[t]?"mark":null}function Wd(t,e){const n=typeof e=="string"?[e]:e;return Object.keys(t).reduce((r,i)=>(n.includes(i)||(r[i]=t[i]),r),{})}const IT=(t,e)=>({tr:n,state:r,dispatch:i})=>{let o=null,a=null;const s=_s(typeof t=="string"?t:t.name,r.schema);return s?(s==="node"&&(o=qe(t,r.schema)),s==="mark"&&(a=Sn(t,r.schema)),i&&n.selection.ranges.forEach(l=>{r.doc.nodesBetween(l.$from.pos,l.$to.pos,(c,u)=>{o&&o===c.type&&n.setNodeMarkup(u,void 0,Wd(c.attrs,e)),a&&c.marks.length&&c.marks.forEach(d=>{a===d.type&&n.addMark(u,u+c.nodeSize,a.create(Wd(d.attrs,e)))})})}),!0):!1},xT=()=>({tr:t,dispatch:e})=>(e&&t.scrollIntoView(),!0),DT=()=>({tr:t,commands:e})=>e.setTextSelection({from:0,to:t.doc.content.size}),MT=()=>({state:t,dispatch:e})=>p0(t,e),wT=()=>({state:t,dispatch:e})=>m0(t,e),LT=()=>({state:t,dispatch:e})=>C0(t,e),kT=()=>({state:t,dispatch:e})=>R0(t,e),PT=()=>({state:t,dispatch:e})=>v0(t,e);function ql(t,e,n={},r={}){return Sa(t,e,{slice:!1,parseOptions:n,errorOnInvalidContent:r.errorOnInvalidContent})}const FT=(t,e=!1,n={},r={})=>({editor:i,tr:o,dispatch:a,commands:s})=>{var l,c;const{doc:u}=o;if(n.preserveWhitespace!=="full"){const d=ql(t,i.schema,n,{errorOnInvalidContent:(l=r.errorOnInvalidContent)!==null&&l!==void 0?l:i.options.enableContentCheck});return a&&o.replaceWith(0,u.content.size,d).setMeta("preventUpdate",!e),!0}return a&&o.setMeta("preventUpdate",!e),s.insertContentAt({from:0,to:u.content.size},t,{parseOptions:n,errorOnInvalidContent:(c=r.errorOnInvalidContent)!==null&&c!==void 0?c:i.options.enableContentCheck})};function Gc(t,e){const n=Sn(e,t.schema),{from:r,to:i,empty:o}=t.selection,a=[];o?(t.storedMarks&&a.push(...t.storedMarks),a.push(...t.selection.$head.marks())):t.doc.nodesBetween(r,i,l=>{a.push(...l.marks)});const s=a.find(l=>l.type.name===n.name);return s?{...s.attrs}:{}}function BT(t,e){const n=new yc(t);return e.forEach(r=>{r.steps.forEach(i=>{n.step(i)})}),n}function UT(t){for(let e=0;e{e(r)&&n.push({node:r,pos:i})}),n}function HT(t,e,n){const r=[];return t.nodesBetween(e.from,e.to,(i,o)=>{n(i)&&r.push({node:i,pos:o})}),r}function Df(t,e){for(let n=t.depth;n>0;n-=1){const r=t.node(n);if(e(r))return{pos:n>0?t.before(n):0,start:t.start(n),depth:n,node:r}}}function ms(t){return e=>Df(e.$from,t)}function GT(t,e){const n={from:0,to:t.content.size};return ps(t,n,e)}function VT(t,e){const n=qe(e,t.schema),{from:r,to:i}=t.selection,o=[];t.doc.nodesBetween(r,i,s=>{o.push(s)});const a=o.reverse().find(s=>s.type.name===n.name);return a?{...a.attrs}:{}}function Mf(t,e){const n=_s(typeof e=="string"?e:e.name,t.schema);return n==="node"?VT(t,e):n==="mark"?Gc(t,e):{}}function YT(t,e=JSON.stringify){const n={};return t.filter(r=>{const i=e(r);return Object.prototype.hasOwnProperty.call(n,i)?!1:n[i]=!0})}function zT(t){const e=YT(t);return e.length===1?e:e.filter((n,r)=>!e.filter((o,a)=>a!==r).some(o=>n.oldRange.from>=o.oldRange.from&&n.oldRange.to<=o.oldRange.to&&n.newRange.from>=o.newRange.from&&n.newRange.to<=o.newRange.to))}function $T(t){const{mapping:e,steps:n}=t,r=[];return e.maps.forEach((i,o)=>{const a=[];if(i.ranges.length)i.forEach((s,l)=>{a.push({from:s,to:l})});else{const{from:s,to:l}=n[o];if(s===void 0||l===void 0)return;a.push({from:s,to:l})}a.forEach(({from:s,to:l})=>{const c=e.slice(o).map(s,-1),u=e.slice(o).map(l),d=e.invert().map(c,-1),p=e.invert().map(u);r.push({oldRange:{from:d,to:p},newRange:{from:c,to:u}})})}),zT(r)}function Vc(t,e,n){const r=[];return t===e?n.resolve(t).marks().forEach(i=>{const o=n.resolve(t),a=Bc(o,i.type);a&&r.push({mark:i,...a})}):n.nodesBetween(t,e,(i,o)=>{!i||(i==null?void 0:i.nodeSize)===void 0||r.push(...i.marks.map(a=>({from:o,to:o+i.nodeSize,mark:a})))}),r}function Jo(t,e,n){return Object.fromEntries(Object.entries(n).filter(([r])=>{const i=t.find(o=>o.type===e&&o.name===r);return i?i.attribute.keepOnSplit:!1}))}function Kl(t,e,n={}){const{empty:r,ranges:i}=t.selection,o=e?Sn(e,t.schema):null;if(r)return!!(t.storedMarks||t.selection.$from.marks()).filter(d=>o?o.name===d.type.name:!0).find(d=>ri(d.attrs,n,{strict:!1}));let a=0;const s=[];if(i.forEach(({$from:d,$to:p})=>{const _=d.pos,m=p.pos;t.doc.nodesBetween(_,m,(f,g)=>{if(!f.isText&&!f.marks.length)return;const E=Math.max(_,g),S=Math.min(m,g+f.nodeSize),b=S-E;a+=b,s.push(...f.marks.map(h=>({mark:h,from:E,to:S})))})}),a===0)return!1;const l=s.filter(d=>o?o.name===d.mark.type.name:!0).filter(d=>ri(d.mark.attrs,n,{strict:!1})).reduce((d,p)=>d+p.to-p.from,0),c=s.filter(d=>o?d.mark.type!==o&&d.mark.type.excludes(o):!0).reduce((d,p)=>d+p.to-p.from,0);return(l>0?l+c:l)>=a}function qT(t,e,n={}){if(!e)return hr(t,null,n)||Kl(t,null,n);const r=_s(e,t.schema);return r==="node"?hr(t,e,n):r==="mark"?Kl(t,e,n):!1}function Kd(t,e){const{nodeExtensions:n}=us(e),r=n.find(a=>a.name===t);if(!r)return!1;const i={name:r.name,options:r.options,storage:r.storage},o=le(W(r,"group",i));return typeof o!="string"?!1:o.split(" ").includes("list")}function fs(t,{checkChildren:e=!0,ignoreWhitespace:n=!1}={}){var r;if(n){if(t.type.name==="hardBreak")return!0;if(t.isText)return/^\s*$/m.test((r=t.text)!==null&&r!==void 0?r:"")}if(t.isText)return!t.text;if(t.isAtom||t.isLeaf)return!1;if(t.content.childCount===0)return!0;if(e){let i=!0;return t.content.forEach(o=>{i!==!1&&(fs(o,{ignoreWhitespace:n,checkChildren:e})||(i=!1))}),i}return!1}function wf(t){return t instanceof ee}function Ki(t,e,n){const i=t.state.doc.content.size,o=fn(e,0,i),a=fn(n,0,i),s=t.coordsAtPos(o),l=t.coordsAtPos(a,-1),c=Math.min(s.top,l.top),u=Math.max(s.bottom,l.bottom),d=Math.min(s.left,l.left),p=Math.max(s.right,l.right),_=p-d,m=u-c,E={top:c,bottom:u,left:d,right:p,width:_,height:m,x:d,y:c};return{...E,toJSON:()=>E}}function WT(t,e,n){var r;const{selection:i}=e;let o=null;if(Uc(i)&&(o=i.$cursor),o){const s=(r=t.storedMarks)!==null&&r!==void 0?r:o.marks();return!!n.isInSet(s)||!s.some(l=>l.type.excludes(n))}const{ranges:a}=i;return a.some(({$from:s,$to:l})=>{let c=s.depth===0?t.doc.inlineContent&&t.doc.type.allowsMarkType(n):!1;return t.doc.nodesBetween(s.pos,l.pos,(u,d,p)=>{if(c)return!1;if(u.isInline){const _=!p||p.type.allowsMarkType(n),m=!!n.isInSet(u.marks)||!u.marks.some(f=>f.type.excludes(n));c=_&&m}return!c}),c})}const KT=(t,e={})=>({tr:n,state:r,dispatch:i})=>{const{selection:o}=n,{empty:a,ranges:s}=o,l=Sn(t,r.schema);if(i)if(a){const c=Gc(r,l);n.addStoredMark(l.create({...c,...e}))}else s.forEach(c=>{const u=c.$from.pos,d=c.$to.pos;r.doc.nodesBetween(u,d,(p,_)=>{const m=Math.max(_,u),f=Math.min(_+p.nodeSize,d);p.marks.find(E=>E.type===l)?p.marks.forEach(E=>{l===E.type&&n.addMark(m,f,l.create({...E.attrs,...e}))}):n.addMark(m,f,l.create(e))})});return WT(r,n,l)},QT=(t,e)=>({tr:n})=>(n.setMeta(t,e),!0),ZT=(t,e={})=>({state:n,dispatch:r,chain:i})=>{const o=qe(t,n.schema);let a;return n.selection.$anchor.sameParent(n.selection.$head)&&(a=n.selection.$anchor.parent.attrs),o.isTextblock?i().command(({commands:s})=>Vd(o,{...a,...e})(n)?!0:s.clearNodes()).command(({state:s})=>Vd(o,{...a,...e})(s,r)).run():(console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'),!1)},XT=t=>({tr:e,dispatch:n})=>{if(n){const{doc:r}=e,i=fn(t,0,r.content.size),o=ee.create(r,i);e.setSelection(o)}return!0},jT=t=>({tr:e,dispatch:n})=>{if(n){const{doc:r}=e,{from:i,to:o}=typeof t=="number"?{from:t,to:t}:t,a=Z.atStart(r).from,s=Z.atEnd(r).to,l=fn(i,a,s),c=fn(o,a,s),u=Z.create(r,l,c);e.setSelection(u)}return!0},JT=t=>({state:e,dispatch:n})=>{const r=qe(t,e.schema);return M0(r)(e,n)};function Qd(t,e){const n=t.storedMarks||t.selection.$to.parentOffset&&t.selection.$from.marks();if(n){const r=n.filter(i=>e==null?void 0:e.includes(i.type.name));t.tr.ensureMarks(r)}}const eC=({keepMarks:t=!0}={})=>({tr:e,state:n,dispatch:r,editor:i})=>{const{selection:o,doc:a}=e,{$from:s,$to:l}=o,c=i.extensionManager.attributes,u=Jo(c,s.node().type.name,s.node().attrs);if(o instanceof ee&&o.node.isBlock)return!s.parentOffset||!Qr(a,s.pos)?!1:(r&&(t&&Qd(n,i.extensionManager.splittableMarks),e.split(s.pos).scrollIntoView()),!0);if(!s.parent.isBlock)return!1;const d=l.parentOffset===l.parent.content.size,p=s.depth===0?void 0:UT(s.node(-1).contentMatchAt(s.indexAfter(-1)));let _=d&&p?[{type:p,attrs:u}]:void 0,m=Qr(e.doc,e.mapping.map(s.pos),1,_);if(!_&&!m&&Qr(e.doc,e.mapping.map(s.pos),1,p?[{type:p}]:void 0)&&(m=!0,_=p?[{type:p,attrs:u}]:void 0),r){if(m&&(o instanceof Z&&e.deleteSelection(),e.split(e.mapping.map(s.pos),1,_),p&&!d&&!s.parentOffset&&s.parent.type!==p)){const f=e.mapping.map(s.before()),g=e.doc.resolve(f);s.node(-1).canReplaceWith(g.index(),g.index()+1,p)&&e.setNodeMarkup(e.mapping.map(s.before()),p)}t&&Qd(n,i.extensionManager.splittableMarks),e.scrollIntoView()}return m},tC=(t,e={})=>({tr:n,state:r,dispatch:i,editor:o})=>{var a;const s=qe(t,r.schema),{$from:l,$to:c}=r.selection,u=r.selection.node;if(u&&u.isBlock||l.depth<2||!l.sameParent(c))return!1;const d=l.node(-1);if(d.type!==s)return!1;const p=o.extensionManager.attributes;if(l.parent.content.size===0&&l.node(-1).childCount===l.indexAfter(-1)){if(l.depth===2||l.node(-3).type!==s||l.index(-2)!==l.node(-2).childCount-1)return!1;if(i){let E=w.empty;const S=l.index(-1)?1:l.index(-2)?2:3;for(let x=l.depth-S;x>=l.depth-3;x-=1)E=w.from(l.node(x).copy(E));const b=l.indexAfter(-1){if(R>-1)return!1;x.isTextblock&&x.content.size===0&&(R=O+1)}),R>-1&&n.setSelection(Z.near(n.doc.resolve(R))),n.scrollIntoView()}return!0}const _=c.pos===l.end()?d.contentMatchAt(0).defaultType:null,m={...Jo(p,d.type.name,d.attrs),...e},f={...Jo(p,l.node().type.name,l.node().attrs),...e};n.delete(l.pos,c.pos);const g=_?[{type:s,attrs:m},{type:_,attrs:f}]:[{type:s,attrs:m}];if(!Qr(n.doc,l.pos,2))return!1;if(i){const{selection:E,storedMarks:S}=r,{splittableMarks:b}=o.extensionManager,h=S||E.$to.parentOffset&&E.$from.marks();if(n.split(l.pos,2,g).scrollIntoView(),!h||!i)return!0;const C=h.filter(T=>b.includes(T.type.name));n.ensureMarks(C)}return!0},Ks=(t,e)=>{const n=ms(a=>a.type===e)(t.selection);if(!n)return!0;const r=t.doc.resolve(Math.max(0,n.pos-1)).before(n.depth);if(r===void 0)return!0;const i=t.doc.nodeAt(r);return n.node.type===(i==null?void 0:i.type)&&$n(t.doc,n.pos)&&t.join(n.pos),!0},Qs=(t,e)=>{const n=ms(a=>a.type===e)(t.selection);if(!n)return!0;const r=t.doc.resolve(n.start).after(n.depth);if(r===void 0)return!0;const i=t.doc.nodeAt(r);return n.node.type===(i==null?void 0:i.type)&&$n(t.doc,r)&&t.join(r),!0},nC=(t,e,n,r={})=>({editor:i,tr:o,state:a,dispatch:s,chain:l,commands:c,can:u})=>{const{extensions:d,splittableMarks:p}=i.extensionManager,_=qe(t,a.schema),m=qe(e,a.schema),{selection:f,storedMarks:g}=a,{$from:E,$to:S}=f,b=E.blockRange(S),h=g||f.$to.parentOffset&&f.$from.marks();if(!b)return!1;const C=ms(T=>Kd(T.type.name,d))(f);if(b.depth>=1&&C&&b.depth-C.depth<=1){if(C.node.type===_)return c.liftListItem(m);if(Kd(C.node.type.name,d)&&_.validContent(C.node.content)&&s)return l().command(()=>(o.setNodeMarkup(C.pos,_),!0)).command(()=>Ks(o,_)).command(()=>Qs(o,_)).run()}return!n||!h||!s?l().command(()=>u().wrapInList(_,r)?!0:c.clearNodes()).wrapInList(_,r).command(()=>Ks(o,_)).command(()=>Qs(o,_)).run():l().command(()=>{const T=u().wrapInList(_,r),R=h.filter(x=>p.includes(x.type.name));return o.ensureMarks(R),T?!0:c.clearNodes()}).wrapInList(_,r).command(()=>Ks(o,_)).command(()=>Qs(o,_)).run()},rC=(t,e={},n={})=>({state:r,commands:i})=>{const{extendEmptyMarkRange:o=!1}=n,a=Sn(t,r.schema);return Kl(r,a,e)?i.unsetMark(a,{extendEmptyMarkRange:o}):i.setMark(a,e)},iC=(t,e,n={})=>({state:r,commands:i})=>{const o=qe(t,r.schema),a=qe(e,r.schema),s=hr(r,o,n);let l;return r.selection.$anchor.sameParent(r.selection.$head)&&(l=r.selection.$anchor.parent.attrs),s?i.setNode(a,l):i.setNode(o,{...l,...n})},oC=(t,e={})=>({state:n,commands:r})=>{const i=qe(t,n.schema);return hr(n,i,e)?r.lift(i):r.wrapIn(i,e)},aC=()=>({state:t,dispatch:e})=>{const n=t.plugins;for(let r=0;r=0;l-=1)a.step(s.steps[l].invert(s.docs[l]));if(o.text){const l=a.doc.resolve(o.from).marks();a.replaceWith(o.from,o.to,t.schema.text(o.text,l))}else a.delete(o.from,o.to)}return!0}}return!1},sC=()=>({tr:t,dispatch:e})=>{const{selection:n}=t,{empty:r,ranges:i}=n;return r||e&&i.forEach(o=>{t.removeMark(o.$from.pos,o.$to.pos)}),!0},lC=(t,e={})=>({tr:n,state:r,dispatch:i})=>{var o;const{extendEmptyMarkRange:a=!1}=e,{selection:s}=n,l=Sn(t,r.schema),{$from:c,empty:u,ranges:d}=s;if(!i)return!0;if(u&&a){let{from:p,to:_}=s;const m=(o=c.marks().find(g=>g.type===l))===null||o===void 0?void 0:o.attrs,f=Bc(c,l,m);f&&(p=f.from,_=f.to),n.removeMark(p,_,l)}else d.forEach(p=>{n.removeMark(p.$from.pos,p.$to.pos,l)});return n.removeStoredMark(l),!0},cC=(t,e={})=>({tr:n,state:r,dispatch:i})=>{let o=null,a=null;const s=_s(typeof t=="string"?t:t.name,r.schema);return s?(s==="node"&&(o=qe(t,r.schema)),s==="mark"&&(a=Sn(t,r.schema)),i&&n.selection.ranges.forEach(l=>{const c=l.$from.pos,u=l.$to.pos;let d,p,_,m;n.selection.empty?r.doc.nodesBetween(c,u,(f,g)=>{o&&o===f.type&&(_=Math.max(g,c),m=Math.min(g+f.nodeSize,u),d=g,p=f)}):r.doc.nodesBetween(c,u,(f,g)=>{g=c&&g<=u&&(o&&o===f.type&&n.setNodeMarkup(g,void 0,{...f.attrs,...e}),a&&f.marks.length&&f.marks.forEach(E=>{if(a===E.type){const S=Math.max(g,c),b=Math.min(g+f.nodeSize,u);n.addMark(S,b,a.create({...E.attrs,...e}))}}))}),p&&(d!==void 0&&n.setNodeMarkup(d,void 0,{...p.attrs,...e}),a&&p.marks.length&&p.marks.forEach(f=>{a===f.type&&n.addMark(_,m,a.create({...f.attrs,...e}))}))}),!0):!1},uC=(t,e={})=>({state:n,dispatch:r})=>{const i=qe(t,n.schema);return O0(i,e)(n,r)},dC=(t,e={})=>({state:n,dispatch:r})=>{const i=qe(t,n.schema);return N0(i,e)(n,r)};var pC=Object.freeze({__proto__:null,blur:Q0,clearContent:Z0,clearNodes:X0,command:j0,createParagraphNear:J0,cut:eT,deleteCurrentNode:tT,deleteNode:nT,deleteRange:rT,deleteSelection:iT,enter:oT,exitCode:aT,extendMarkRange:sT,first:lT,focus:cT,forEach:uT,insertContent:dT,insertContentAt:mT,joinBackward:hT,joinDown:gT,joinForward:ET,joinItemBackward:ST,joinItemForward:bT,joinTextblockBackward:TT,joinTextblockForward:CT,joinUp:fT,keyboardShortcut:vT,lift:RT,liftEmptyBlock:OT,liftListItem:NT,newlineInCode:AT,resetAttributes:IT,scrollIntoView:xT,selectAll:DT,selectNodeBackward:MT,selectNodeForward:wT,selectParentNode:LT,selectTextblockEnd:kT,selectTextblockStart:PT,setContent:FT,setMark:KT,setMeta:QT,setNode:ZT,setNodeSelection:XT,setTextSelection:jT,sinkListItem:JT,splitBlock:eC,splitListItem:tC,toggleList:nC,toggleMark:rC,toggleNode:iC,toggleWrap:oC,undoInputRule:aC,unsetAllMarks:sC,unsetMark:lC,updateAttributes:cC,wrapIn:uC,wrapInList:dC});const _C=ge.create({name:"commands",addCommands(){return{...pC}}}),mC=ge.create({name:"drop",addProseMirrorPlugins(){return[new Se({key:new ve("tiptapDrop"),props:{handleDrop:(t,e,n,r)=>{this.editor.emit("drop",{editor:this.editor,event:e,slice:n,moved:r})}}})]}}),fC=ge.create({name:"editable",addProseMirrorPlugins(){return[new Se({key:new ve("editable"),props:{editable:()=>this.editor.options.editable}})]}}),gC=ge.create({name:"focusEvents",addProseMirrorPlugins(){const{editor:t}=this;return[new Se({key:new ve("focusEvents"),props:{handleDOMEvents:{focus:(e,n)=>{t.isFocused=!0;const r=t.state.tr.setMeta("focus",{event:n}).setMeta("addToHistory",!1);return e.dispatch(r),!1},blur:(e,n)=>{t.isFocused=!1;const r=t.state.tr.setMeta("blur",{event:n}).setMeta("addToHistory",!1);return e.dispatch(r),!1}}}})]}}),hC=ge.create({name:"keymap",addKeyboardShortcuts(){const t=()=>this.editor.commands.first(({commands:a})=>[()=>a.undoInputRule(),()=>a.command(({tr:s})=>{const{selection:l,doc:c}=s,{empty:u,$anchor:d}=l,{pos:p,parent:_}=d,m=d.parent.isTextblock&&p>0?s.doc.resolve(p-1):d,f=m.parent.type.spec.isolating,g=d.pos-d.parentOffset,E=f&&m.parent.childCount===1?g===d.pos:te.atStart(c).from===p;return!u||!_.type.isTextblock||_.textContent.length||!E||E&&d.parent.type.name==="paragraph"?!1:a.clearNodes()}),()=>a.deleteSelection(),()=>a.joinBackward(),()=>a.selectNodeBackward()]),e=()=>this.editor.commands.first(({commands:a})=>[()=>a.deleteSelection(),()=>a.deleteCurrentNode(),()=>a.joinForward(),()=>a.selectNodeForward()]),r={Enter:()=>this.editor.commands.first(({commands:a})=>[()=>a.newlineInCode(),()=>a.createParagraphNear(),()=>a.liftEmptyBlock(),()=>a.splitBlock()]),"Mod-Enter":()=>this.editor.commands.exitCode(),Backspace:t,"Mod-Backspace":t,"Shift-Backspace":t,Delete:e,"Mod-Delete":e,"Mod-a":()=>this.editor.commands.selectAll()},i={...r},o={...r,"Ctrl-h":t,"Alt-Backspace":t,"Ctrl-d":e,"Ctrl-Alt-Backspace":e,"Alt-Delete":e,"Alt-d":e,"Ctrl-a":()=>this.editor.commands.selectTextblockStart(),"Ctrl-e":()=>this.editor.commands.selectTextblockEnd()};return Hc()||xf()?o:i},addProseMirrorPlugins(){return[new Se({key:new ve("clearDocument"),appendTransaction:(t,e,n)=>{const r=t.some(f=>f.docChanged)&&!e.doc.eq(n.doc),i=t.some(f=>f.getMeta("preventClearDocument"));if(!r||i)return;const{empty:o,from:a,to:s}=e.selection,l=te.atStart(e.doc).from,c=te.atEnd(e.doc).to;if(o||!(a===l&&s===c)||!fs(n.doc))return;const p=n.tr,_=ls({state:n,transaction:p}),{commands:m}=new cs({editor:this.editor,state:_});if(m.clearNodes(),!!p.steps.length)return p}})]}}),EC=ge.create({name:"paste",addProseMirrorPlugins(){return[new Se({key:new ve("tiptapPaste"),props:{handlePaste:(t,e,n)=>{this.editor.emit("paste",{editor:this.editor,event:e,slice:n})}}})]}}),SC=ge.create({name:"tabindex",addProseMirrorPlugins(){return[new Se({key:new ve("tabindex"),props:{attributes:()=>this.editor.isEditable?{tabindex:"0"}:{}}})]}});class er{get name(){return this.node.type.name}constructor(e,n,r=!1,i=null){this.currentNode=null,this.actualDepth=null,this.isBlock=r,this.resolvedPos=e,this.editor=n,this.currentNode=i}get node(){return this.currentNode||this.resolvedPos.node()}get element(){return this.editor.view.domAtPos(this.pos).node}get depth(){var e;return(e=this.actualDepth)!==null&&e!==void 0?e:this.resolvedPos.depth}get pos(){return this.resolvedPos.pos}get content(){return this.node.content}set content(e){let n=this.from,r=this.to;if(this.isBlock){if(this.content.size===0){console.error(`You can’t set content on a block node. Tried to set content on ${this.name} at ${this.pos}`);return}n=this.from+1,r=this.to-1}this.editor.commands.insertContentAt({from:n,to:r},e)}get attributes(){return this.node.attrs}get textContent(){return this.node.textContent}get size(){return this.node.nodeSize}get from(){return this.isBlock?this.pos:this.resolvedPos.start(this.resolvedPos.depth)}get range(){return{from:this.from,to:this.to}}get to(){return this.isBlock?this.pos+this.size:this.resolvedPos.end(this.resolvedPos.depth)+(this.node.isText?0:1)}get parent(){if(this.depth===0)return null;const e=this.resolvedPos.start(this.resolvedPos.depth-1),n=this.resolvedPos.doc.resolve(e);return new er(n,this.editor)}get before(){let e=this.resolvedPos.doc.resolve(this.from-(this.isBlock?1:2));return e.depth!==this.depth&&(e=this.resolvedPos.doc.resolve(this.from-3)),new er(e,this.editor)}get after(){let e=this.resolvedPos.doc.resolve(this.to+(this.isBlock?2:1));return e.depth!==this.depth&&(e=this.resolvedPos.doc.resolve(this.to+3)),new er(e,this.editor)}get children(){const e=[];return this.node.content.forEach((n,r)=>{const i=n.isBlock&&!n.isTextblock,o=n.isAtom&&!n.isText,a=this.pos+r+(o?0:1),s=this.resolvedPos.doc.resolve(a);if(!i&&s.depth<=this.depth)return;const l=new er(s,this.editor,i,i?n:null);i&&(l.actualDepth=this.depth+1),e.push(new er(s,this.editor,i,i?n:null))}),e}get firstChild(){return this.children[0]||null}get lastChild(){const e=this.children;return e[e.length-1]||null}closest(e,n={}){let r=null,i=this.parent;for(;i&&!r;){if(i.node.type.name===e)if(Object.keys(n).length>0){const o=i.node.attrs,a=Object.keys(n);for(let s=0;s{r&&i.length>0||(a.node.type.name===e&&o.every(l=>n[l]===a.node.attrs[l])&&i.push(a),!(r&&i.length>0)&&(i=i.concat(a.querySelectorAll(e,n,r))))}),i}setAttribute(e){const{tr:n}=this.editor.state;n.setNodeMarkup(this.from,void 0,{...this.node.attrs,...e}),this.editor.view.dispatch(n)}}const bC=`.ProseMirror { +"use strict";var wE=Object.defineProperty;var Yu=t=>{throw TypeError(t)};var LE=(t,e,n)=>e in t?wE(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var L=(t,e,n)=>LE(t,typeof e!="symbol"?e+"":e,n),zu=(t,e,n)=>e.has(t)||Yu("Cannot "+n);var Or=(t,e,n)=>(zu(t,e,"read from private field"),n?n.call(t):e.get(t)),$u=(t,e,n)=>e.has(t)?Yu("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),qu=(t,e,n,r)=>(zu(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function Ze(t){this.content=t}Ze.prototype={constructor:Ze,find:function(t){for(var e=0;e>1}};Ze.from=function(t){if(t instanceof Ze)return t;var e=[];if(t)for(var n in t)e.push(n,t[n]);return new Ze(e)};function sm(t,e,n){for(let r=0;;r++){if(r==t.childCount||r==e.childCount)return t.childCount==e.childCount?null:n;let i=t.child(r),o=e.child(r);if(i==o){n+=i.nodeSize;continue}if(!i.sameMarkup(o))return n;if(i.isText&&i.text!=o.text){for(let a=0;i.text[a]==o.text[a];a++)n++;return n}if(i.content.size||o.content.size){let a=sm(i.content,o.content,n+1);if(a!=null)return a}n+=i.nodeSize}}function lm(t,e,n,r){for(let i=t.childCount,o=e.childCount;;){if(i==0||o==0)return i==o?null:{a:n,b:r};let a=t.child(--i),s=e.child(--o),l=a.nodeSize;if(a==s){n-=l,r-=l;continue}if(!a.sameMarkup(s))return{a:n,b:r};if(a.isText&&a.text!=s.text){let c=0,u=Math.min(a.text.length,s.text.length);for(;ce&&r(l,i+s,o||null,a)!==!1&&l.content.size){let u=s+1;l.nodesBetween(Math.max(0,e-u),Math.min(l.content.size,n-u),r,i+u)}s=c}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,n,r,i){let o="",a=!0;return this.nodesBetween(e,n,(s,l)=>{let c=s.isText?s.text.slice(Math.max(e,l)-l,n-l):s.isLeaf?i?typeof i=="function"?i(s):i:s.type.spec.leafText?s.type.spec.leafText(s):"":"";s.isBlock&&(s.isLeaf&&c||s.isTextblock)&&r&&(a?a=!1:o+=r),o+=c},0),o}append(e){if(!e.size)return this;if(!this.size)return e;let n=this.lastChild,r=e.firstChild,i=this.content.slice(),o=0;for(n.isText&&n.sameMarkup(r)&&(i[i.length-1]=n.withText(n.text+r.text),o=1);oe)for(let o=0,a=0;ae&&((an)&&(s.isText?s=s.cut(Math.max(0,e-a),Math.min(s.text.length,n-a)):s=s.cut(Math.max(0,e-a-1),Math.min(s.content.size,n-a-1))),r.push(s),i+=s.nodeSize),a=l}return new w(r,i)}cutByIndex(e,n){return e==n?w.empty:e==0&&n==this.content.length?this:new w(this.content.slice(e,n))}replaceChild(e,n){let r=this.content[e];if(r==n)return this;let i=this.content.slice(),o=this.size+n.nodeSize-r.nodeSize;return i[e]=n,new w(i,o)}addToStart(e){return new w([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new w(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let n=0;nthis.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let r=0,i=0;;r++){let o=this.child(r),a=i+o.nodeSize;if(a>=e)return a==e||n>0?No(r+1,a):No(r,i);i=a}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(e,n){if(!n)return w.empty;if(!Array.isArray(n))throw new RangeError("Invalid input for Fragment.fromJSON");return new w(n.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return w.empty;let n,r=0;for(let i=0;ithis.type.rank&&(n||(n=e.slice(0,i)),n.push(this),r=!0),n&&n.push(o)}}return n||(n=e.slice()),r||n.push(this),n}removeFromSet(e){for(let n=0;nr.type.rank-i.type.rank),n}};Re.none=[];class ca extends Error{}class H{constructor(e,n,r){this.content=e,this.openStart=n,this.openEnd=r}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,n){let r=um(this.content,e+this.openStart,n);return r&&new H(r,this.openStart,this.openEnd)}removeBetween(e,n){return new H(cm(this.content,e+this.openStart,n+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(e,n){if(!n)return H.empty;let r=n.openStart||0,i=n.openEnd||0;if(typeof r!="number"||typeof i!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new H(w.fromJSON(e,n.content),r,i)}static maxOpen(e,n=!0){let r=0,i=0;for(let o=e.firstChild;o&&!o.isLeaf&&(n||!o.type.spec.isolating);o=o.firstChild)r++;for(let o=e.lastChild;o&&!o.isLeaf&&(n||!o.type.spec.isolating);o=o.lastChild)i++;return new H(e,r,i)}}H.empty=new H(w.empty,0,0);function cm(t,e,n){let{index:r,offset:i}=t.findIndex(e),o=t.maybeChild(r),{index:a,offset:s}=t.findIndex(n);if(i==e||o.isText){if(s!=n&&!t.child(a).isText)throw new RangeError("Removing non-flat range");return t.cut(0,e).append(t.cut(n))}if(r!=a)throw new RangeError("Removing non-flat range");return t.replaceChild(r,o.copy(cm(o.content,e-i-1,n-i-1)))}function um(t,e,n,r){let{index:i,offset:o}=t.findIndex(e),a=t.maybeChild(i);if(o==e||a.isText)return t.cut(0,e).append(n).append(t.cut(e));let s=um(a.content,e-o-1,n);return s&&t.replaceChild(i,a.copy(s))}function kE(t,e,n){if(n.openStart>t.depth)throw new ca("Inserted content deeper than insertion position");if(t.depth-n.openStart!=e.depth-n.openEnd)throw new ca("Inconsistent open depths");return dm(t,e,n,0)}function dm(t,e,n,r){let i=t.index(r),o=t.node(r);if(i==e.index(r)&&r=0&&t.isText&&t.sameMarkup(e[n])?e[n]=t.withText(e[n].text+t.text):e.push(t)}function Di(t,e,n,r){let i=(e||t).node(n),o=0,a=e?e.index(n):i.childCount;t&&(o=t.index(n),t.depth>n?o++:t.textOffset&&(ar(t.nodeAfter,r),o++));for(let s=o;si&&Ml(t,e,i+1),a=r.depth>i&&Ml(n,r,i+1),s=[];return Di(null,t,i,s),o&&a&&e.index(i)==n.index(i)?(pm(o,a),ar(sr(o,_m(t,e,n,r,i+1)),s)):(o&&ar(sr(o,ua(t,e,i+1)),s),Di(e,n,i,s),a&&ar(sr(a,ua(n,r,i+1)),s)),Di(r,null,i,s),new w(s)}function ua(t,e,n){let r=[];if(Di(null,t,n,r),t.depth>n){let i=Ml(t,e,n+1);ar(sr(i,ua(t,e,n+1)),r)}return Di(e,null,n,r),new w(r)}function PE(t,e){let n=e.depth-t.openStart,i=e.node(n).copy(t.content);for(let o=n-1;o>=0;o--)i=e.node(o).copy(w.from(i));return{start:i.resolveNoCache(t.openStart+n),end:i.resolveNoCache(i.content.size-t.openEnd-n)}}class Yi{constructor(e,n,r){this.pos=e,this.path=n,this.parentOffset=r,this.depth=n.length/3-1}resolveDepth(e){return e==null?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[this.resolveDepth(e)*3]}index(e){return this.path[this.resolveDepth(e)*3+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e==this.depth&&!this.textOffset?0:1)}start(e){return e=this.resolveDepth(e),e==0?0:this.path[e*3-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]}after(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]+this.path[e*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,n=this.index(this.depth);if(n==e.childCount)return null;let r=this.pos-this.path[this.path.length-1],i=e.child(n);return r?e.child(n).cut(r):i}get nodeBefore(){let e=this.index(this.depth),n=this.pos-this.path[this.path.length-1];return n?this.parent.child(e).cut(0,n):e==0?null:this.parent.child(e-1)}posAtIndex(e,n){n=this.resolveDepth(n);let r=this.path[n*3],i=n==0?0:this.path[n*3-1]+1;for(let o=0;o0;n--)if(this.start(n)<=e&&this.end(n)>=e)return n;return 0}blockRange(e=this,n){if(e.pos=0;r--)if(e.pos<=this.end(r)&&(!n||n(this.node(r))))return new da(this,e,r);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos=0&&n<=e.content.size))throw new RangeError("Position "+n+" out of range");let r=[],i=0,o=n;for(let a=e;;){let{index:s,offset:l}=a.content.findIndex(o),c=o-l;if(r.push(a,s,i+l),!c||(a=a.child(s),a.isText))break;o=c-1,i+=l+1}return new Yi(n,r,o)}static resolveCached(e,n){let r=Wu.get(e);if(r)for(let o=0;oe&&this.nodesBetween(e,n,o=>(r.isInSet(o.marks)&&(i=!0),!i)),i}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),mm(this.marks,e)}contentMatchAt(e){let n=this.type.contentMatch.matchFragment(this.content,0,e);if(!n)throw new Error("Called contentMatchAt on a node with invalid content");return n}canReplace(e,n,r=w.empty,i=0,o=r.childCount){let a=this.contentMatchAt(e).matchFragment(r,i,o),s=a&&a.matchFragment(this.content,n);if(!s||!s.validEnd)return!1;for(let l=i;ln.type.name)}`);this.content.forEach(n=>n.check())}toJSON(){let e={type:this.type.name};for(let n in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map(n=>n.toJSON())),e}static fromJSON(e,n){if(!n)throw new RangeError("Invalid input for Node.fromJSON");let r;if(n.marks){if(!Array.isArray(n.marks))throw new RangeError("Invalid mark data for Node.fromJSON");r=n.marks.map(e.markFromJSON)}if(n.type=="text"){if(typeof n.text!="string")throw new RangeError("Invalid text node in JSON");return e.text(n.text,r)}let i=w.fromJSON(e,n.content),o=e.nodeType(n.type).create(n.attrs,i,r);return o.type.checkAttrs(o.attrs),o}};Bn.prototype.text=void 0;class pa extends Bn{constructor(e,n,r,i){if(super(e,n,null,i),!r)throw new RangeError("Empty text nodes are not allowed");this.text=r}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):mm(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,n){return this.text.slice(e,n)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new pa(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new pa(this.type,this.attrs,e,this.marks)}cut(e=0,n=this.text.length){return e==0&&n==this.text.length?this:this.withText(this.text.slice(e,n))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}}function mm(t,e){for(let n=t.length-1;n>=0;n--)e=t[n].type.name+"("+e+")";return e}class mr{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,n){let r=new HE(e,n);if(r.next==null)return mr.empty;let i=fm(r);r.next&&r.err("Unexpected trailing text");let o=WE(qE(i));return KE(o,r),o}matchType(e){for(let n=0;nc.createAndFill()));for(let c=0;c=this.next.length)throw new RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];function n(r){e.push(r);for(let i=0;i{let o=i+(r.validEnd?"*":" ")+" ";for(let a=0;a"+e.indexOf(r.next[a].next);return o}).join(` +`)}}mr.empty=new mr(!0);class HE{constructor(e,n){this.string=e,this.nodeTypes=n,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==""&&this.tokens.pop(),this.tokens[0]==""&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw new SyntaxError(e+" (in content expression '"+this.string+"')")}}function fm(t){let e=[];do e.push(GE(t));while(t.eat("|"));return e.length==1?e[0]:{type:"choice",exprs:e}}function GE(t){let e=[];do e.push(VE(t));while(t.next&&t.next!=")"&&t.next!="|");return e.length==1?e[0]:{type:"seq",exprs:e}}function VE(t){let e=$E(t);for(;;)if(t.eat("+"))e={type:"plus",expr:e};else if(t.eat("*"))e={type:"star",expr:e};else if(t.eat("?"))e={type:"opt",expr:e};else if(t.eat("{"))e=YE(t,e);else break;return e}function Ku(t){/\D/.test(t.next)&&t.err("Expected number, got '"+t.next+"'");let e=Number(t.next);return t.pos++,e}function YE(t,e){let n=Ku(t),r=n;return t.eat(",")&&(t.next!="}"?r=Ku(t):r=-1),t.eat("}")||t.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:e}}function zE(t,e){let n=t.nodeTypes,r=n[e];if(r)return[r];let i=[];for(let o in n){let a=n[o];a.isInGroup(e)&&i.push(a)}return i.length==0&&t.err("No node type or group '"+e+"' found"),i}function $E(t){if(t.eat("(")){let e=fm(t);return t.eat(")")||t.err("Missing closing paren"),e}else if(/\W/.test(t.next))t.err("Unexpected token '"+t.next+"'");else{let e=zE(t,t.next).map(n=>(t.inline==null?t.inline=n.isInline:t.inline!=n.isInline&&t.err("Mixing inline and block content"),{type:"name",value:n}));return t.pos++,e.length==1?e[0]:{type:"choice",exprs:e}}}function qE(t){let e=[[]];return i(o(t,0),n()),e;function n(){return e.push([])-1}function r(a,s,l){let c={term:l,to:s};return e[a].push(c),c}function i(a,s){a.forEach(l=>l.to=s)}function o(a,s){if(a.type=="choice")return a.exprs.reduce((l,c)=>l.concat(o(c,s)),[]);if(a.type=="seq")for(let l=0;;l++){let c=o(a.exprs[l],s);if(l==a.exprs.length-1)return c;i(c,s=n())}else if(a.type=="star"){let l=n();return r(s,l),i(o(a.expr,l),l),[r(l)]}else if(a.type=="plus"){let l=n();return i(o(a.expr,s),l),i(o(a.expr,l),l),[r(l)]}else{if(a.type=="opt")return[r(s)].concat(o(a.expr,s));if(a.type=="range"){let l=s;for(let c=0;c{t[a].forEach(({term:s,to:l})=>{if(!s)return;let c;for(let u=0;u{c||i.push([s,c=[]]),c.indexOf(u)==-1&&c.push(u)})})});let o=e[r.join(",")]=new mr(r.indexOf(t.length-1)>-1);for(let a=0;a-1}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}compatibleContent(e){return this==e||this.contentMatch.compatible(e.contentMatch)}computeAttrs(e){return!e&&this.defaultAttrs?this.defaultAttrs:Em(this.attrs,e)}create(e=null,n,r){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new Bn(this,this.computeAttrs(e),w.from(n),Re.setFrom(r))}createChecked(e=null,n,r){return n=w.from(n),this.checkContent(n),new Bn(this,this.computeAttrs(e),n,Re.setFrom(r))}createAndFill(e=null,n,r){if(e=this.computeAttrs(e),n=w.from(n),n.size){let a=this.contentMatch.fillBefore(n);if(!a)return null;n=a.append(n)}let i=this.contentMatch.matchFragment(n),o=i&&i.fillBefore(w.empty,!0);return o?new Bn(this,e,n.append(o),Re.setFrom(r)):null}validContent(e){let n=this.contentMatch.matchFragment(e);if(!n||!n.validEnd)return!1;for(let r=0;r-1}allowsMarks(e){if(this.markSet==null)return!0;for(let n=0;nr[o]=new Tm(o,n,a));let i=n.spec.topNode||"doc";if(!r[i])throw new RangeError("Schema is missing its top node type ('"+i+"')");if(!r.text)throw new RangeError("Every schema needs a 'text' type");for(let o in r.text.attrs)throw new RangeError("The text node type should not have attributes");return r}};function QE(t,e,n){let r=n.split("|");return i=>{let o=i===null?"null":typeof i;if(r.indexOf(o)<0)throw new RangeError(`Expected value of type ${r} for attribute ${e} on type ${t}, got ${o}`)}}class ZE{constructor(e,n,r){this.hasDefault=Object.prototype.hasOwnProperty.call(r,"default"),this.default=r.default,this.validate=typeof r.validate=="string"?QE(e,n,r.validate):r.validate}get isRequired(){return!this.hasDefault}}class ns{constructor(e,n,r,i){this.name=e,this.rank=n,this.schema=r,this.spec=i,this.attrs=bm(e,i.attrs),this.excluded=null;let o=gm(this.attrs);this.instance=o?new Re(this,o):null}create(e=null){return!e&&this.instance?this.instance:new Re(this,Em(this.attrs,e))}static compile(e,n){let r=Object.create(null),i=0;return e.forEach((o,a)=>r[o]=new ns(o,i++,n,a)),r}removeFromSet(e){for(var n=0;n-1}}class Cm{constructor(e){this.linebreakReplacement=null,this.cached=Object.create(null);let n=this.spec={};for(let i in e)n[i]=e[i];n.nodes=Ze.from(e.nodes),n.marks=Ze.from(e.marks||{}),this.nodes=Zu.compile(this.spec.nodes,this),this.marks=ns.compile(this.spec.marks,this);let r=Object.create(null);for(let i in this.nodes){if(i in this.marks)throw new RangeError(i+" can not be both a node and a mark");let o=this.nodes[i],a=o.spec.content||"",s=o.spec.marks;if(o.contentMatch=r[a]||(r[a]=mr.parse(a,this.nodes)),o.inlineContent=o.contentMatch.inlineContent,o.spec.linebreakReplacement){if(this.linebreakReplacement)throw new RangeError("Multiple linebreak nodes defined");if(!o.isInline||!o.isLeaf)throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=o}o.markSet=s=="_"?null:s?Xu(this,s.split(" ")):s==""||!o.inlineContent?[]:null}for(let i in this.marks){let o=this.marks[i],a=o.spec.excludes;o.excluded=a==null?[o]:a==""?[]:Xu(this,a.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,n=null,r,i){if(typeof e=="string")e=this.nodeType(e);else if(e instanceof Zu){if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}else throw new RangeError("Invalid node type: "+e);return e.createChecked(n,r,i)}text(e,n){let r=this.nodes.text;return new pa(r,r.defaultAttrs,e,Re.setFrom(n))}mark(e,n){return typeof e=="string"&&(e=this.marks[e]),e.create(n)}nodeFromJSON(e){return Bn.fromJSON(this,e)}markFromJSON(e){return Re.fromJSON(this,e)}nodeType(e){let n=this.nodes[e];if(!n)throw new RangeError("Unknown node type: "+e);return n}}function Xu(t,e){let n=[];for(let r=0;r-1)&&n.push(a=l)}if(!a)throw new SyntaxError("Unknown mark type: '"+e[r]+"'")}return n}function XE(t){return t.tag!=null}function jE(t){return t.style!=null}let Wr=class Ll{constructor(e,n){this.schema=e,this.rules=n,this.tags=[],this.styles=[];let r=this.matchedStyles=[];n.forEach(i=>{if(XE(i))this.tags.push(i);else if(jE(i)){let o=/[^=]*/.exec(i.style)[0];r.indexOf(o)<0&&r.push(o),this.styles.push(i)}}),this.normalizeLists=!this.tags.some(i=>{if(!/^(ul|ol)\b/.test(i.tag)||!i.node)return!1;let o=e.nodes[i.node];return o.contentMatch.matchType(o)})}parse(e,n={}){let r=new Ju(this,n,!1);return r.addAll(e,Re.none,n.from,n.to),r.finish()}parseSlice(e,n={}){let r=new Ju(this,n,!0);return r.addAll(e,Re.none,n.from,n.to),H.maxOpen(r.finish())}matchTag(e,n,r){for(let i=r?this.tags.indexOf(r)+1:0;ie.length&&(s.charCodeAt(e.length)!=61||s.slice(e.length+1)!=n))){if(a.getAttrs){let l=a.getAttrs(n);if(l===!1)continue;a.attrs=l||void 0}return a}}}static schemaRules(e){let n=[];function r(i){let o=i.priority==null?50:i.priority,a=0;for(;a{r(a=ed(a)),a.mark||a.ignore||a.clearMark||(a.mark=i)})}for(let i in e.nodes){let o=e.nodes[i].spec.parseDOM;o&&o.forEach(a=>{r(a=ed(a)),a.node||a.ignore||a.mark||(a.node=i)})}return n}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new Ll(e,Ll.schemaRules(e)))}};const ym={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},JE={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},vm={ol:!0,ul:!0},_a=1,ma=2,Mi=4;function ju(t,e,n){return e!=null?(e?_a:0)|(e==="full"?ma:0):t&&t.whitespace=="pre"?_a|ma:n&~Mi}class Ao{constructor(e,n,r,i,o,a){this.type=e,this.attrs=n,this.marks=r,this.solid=i,this.options=a,this.content=[],this.activeMarks=Re.none,this.match=o||(a&Mi?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let n=this.type.contentMatch.fillBefore(w.from(e));if(n)this.match=this.type.contentMatch.matchFragment(n);else{let r=this.type.contentMatch,i;return(i=r.findWrapping(e.type))?(this.match=r,i):null}}return this.match.findWrapping(e.type)}finish(e){if(!(this.options&_a)){let r=this.content[this.content.length-1],i;if(r&&r.isText&&(i=/[ \t\r\n\u000c]+$/.exec(r.text))){let o=r;r.text.length==i[0].length?this.content.pop():this.content[this.content.length-1]=o.withText(o.text.slice(0,o.text.length-i[0].length))}}let n=w.from(this.content);return!e&&this.match&&(n=n.append(this.match.fillBefore(w.empty,!0))),this.type?this.type.create(this.attrs,n,this.marks):n}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!ym.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}class Ju{constructor(e,n,r){this.parser=e,this.options=n,this.isOpen=r,this.open=0;let i=n.topNode,o,a=ju(null,n.preserveWhitespace,0)|(r?Mi:0);i?o=new Ao(i.type,i.attrs,Re.none,!0,n.topMatch||i.type.contentMatch,a):r?o=new Ao(null,null,Re.none,!0,null,a):o=new Ao(e.schema.topNodeType,null,Re.none,!0,null,a),this.nodes=[o],this.find=n.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e,n){e.nodeType==3?this.addTextNode(e,n):e.nodeType==1&&this.addElement(e,n)}addTextNode(e,n){let r=e.nodeValue,i=this.top;if(i.options&ma||i.inlineContext(e)||/[^ \t\r\n\u000c]/.test(r)){if(i.options&_a)i.options&ma?r=r.replace(/\r\n?/g,` +`):r=r.replace(/\r?\n|\r/g," ");else if(r=r.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(r)&&this.open==this.nodes.length-1){let o=i.content[i.content.length-1],a=e.previousSibling;(!o||a&&a.nodeName=="BR"||o.isText&&/[ \t\r\n\u000c]$/.test(o.text))&&(r=r.slice(1))}r&&this.insertNode(this.parser.schema.text(r),n),this.findInText(e)}else this.findInside(e)}addElement(e,n,r){let i=e.nodeName.toLowerCase(),o;vm.hasOwnProperty(i)&&this.parser.normalizeLists&&eS(e);let a=this.options.ruleFromNode&&this.options.ruleFromNode(e)||(o=this.parser.matchTag(e,this,r));if(a?a.ignore:JE.hasOwnProperty(i))this.findInside(e),this.ignoreFallback(e,n);else if(!a||a.skip||a.closeParent){a&&a.closeParent?this.open=Math.max(0,this.open-1):a&&a.skip.nodeType&&(e=a.skip);let s,l=this.top,c=this.needsBlock;if(ym.hasOwnProperty(i))l.content.length&&l.content[0].isInline&&this.open&&(this.open--,l=this.top),s=!0,l.type||(this.needsBlock=!0);else if(!e.firstChild){this.leafFallback(e,n);return}let u=a&&a.skip?n:this.readStyles(e,n);u&&this.addAll(e,u),s&&this.sync(l),this.needsBlock=c}else{let s=this.readStyles(e,n);s&&this.addElementByRule(e,a,s,a.consuming===!1?o:void 0)}}leafFallback(e,n){e.nodeName=="BR"&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(e.ownerDocument.createTextNode(` +`),n)}ignoreFallback(e,n){e.nodeName=="BR"&&(!this.top.type||!this.top.type.inlineContent)&&this.findPlace(this.parser.schema.text("-"),n)}readStyles(e,n){let r=e.style;if(r&&r.length)for(let i=0;i!l.clearMark(c)):n=n.concat(this.parser.schema.marks[l.mark].create(l.attrs)),l.consuming===!1)s=l;else break}}return n}addElementByRule(e,n,r,i){let o,a;if(n.node)if(a=this.parser.schema.nodes[n.node],a.isLeaf)this.insertNode(a.create(n.attrs),r)||this.leafFallback(e,r);else{let l=this.enter(a,n.attrs||null,r,n.preserveWhitespace);l&&(o=!0,r=l)}else{let l=this.parser.schema.marks[n.mark];r=r.concat(l.create(n.attrs))}let s=this.top;if(a&&a.isLeaf)this.findInside(e);else if(i)this.addElement(e,r,i);else if(n.getContent)this.findInside(e),n.getContent(e,this.parser.schema).forEach(l=>this.insertNode(l,r));else{let l=e;typeof n.contentElement=="string"?l=e.querySelector(n.contentElement):typeof n.contentElement=="function"?l=n.contentElement(e):n.contentElement&&(l=n.contentElement),this.findAround(e,l,!0),this.addAll(l,r),this.findAround(e,l,!1)}o&&this.sync(s)&&this.open--}addAll(e,n,r,i){let o=r||0;for(let a=r?e.childNodes[r]:e.firstChild,s=i==null?null:e.childNodes[i];a!=s;a=a.nextSibling,++o)this.findAtPoint(e,o),this.addDOM(a,n);this.findAtPoint(e,o)}findPlace(e,n){let r,i;for(let o=this.open;o>=0;o--){let a=this.nodes[o],s=a.findWrapping(e);if(s&&(!r||r.length>s.length)&&(r=s,i=a,!s.length)||a.solid)break}if(!r)return null;this.sync(i);for(let o=0;o(a.type?a.type.allowsMarkType(c.type):td(c.type,e))?(l=c.addToSet(l),!1):!0),this.nodes.push(new Ao(e,n,l,i,null,s)),this.open++,r}closeExtra(e=!1){let n=this.nodes.length-1;if(n>this.open){for(;n>this.open;n--)this.nodes[n-1].content.push(this.nodes[n].finish(e));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(this.isOpen||this.options.topOpen)}sync(e){for(let n=this.open;n>=0;n--)if(this.nodes[n]==e)return this.open=n,!0;return!1}get currentPos(){this.closeExtra();let e=0;for(let n=this.open;n>=0;n--){let r=this.nodes[n].content;for(let i=r.length-1;i>=0;i--)e+=r[i].nodeSize;n&&e++}return e}findAtPoint(e,n){if(this.find)for(let r=0;r-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let n=e.split("/"),r=this.options.context,i=!this.isOpen&&(!r||r.parent.type==this.nodes[0].type),o=-(r?r.depth+1:0)+(i?0:1),a=(s,l)=>{for(;s>=0;s--){let c=n[s];if(c==""){if(s==n.length-1||s==0)continue;for(;l>=o;l--)if(a(s-1,l))return!0;return!1}else{let u=l>0||l==0&&i?this.nodes[l].type:r&&l>=o?r.node(l-o).type:null;if(!u||u.name!=c&&!u.isInGroup(c))return!1;l--}}return!0};return a(n.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let n=e.depth;n>=0;n--){let r=e.node(n).contentMatchAt(e.indexAfter(n)).defaultType;if(r&&r.isTextblock&&r.defaultAttrs)return r}for(let n in this.parser.schema.nodes){let r=this.parser.schema.nodes[n];if(r.isTextblock&&r.defaultAttrs)return r}}}function eS(t){for(let e=t.firstChild,n=null;e;e=e.nextSibling){let r=e.nodeType==1?e.nodeName.toLowerCase():null;r&&vm.hasOwnProperty(r)&&n?(n.appendChild(e),e=n):r=="li"?n=e:r&&(n=null)}}function tS(t,e){return(t.matches||t.msMatchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector).call(t,e)}function ed(t){let e={};for(let n in t)e[n]=t[n];return e}function td(t,e){let n=e.schema.nodes;for(let r in n){let i=n[r];if(!i.allowsMarkType(t))continue;let o=[],a=s=>{o.push(s);for(let l=0;l{if(o.length||a.marks.length){let s=0,l=0;for(;s=0;i--){let o=this.serializeMark(e.marks[i],e.isInline,n);o&&((o.contentDOM||o.dom).appendChild(r),r=o.dom)}return r}serializeMark(e,n,r={}){let i=this.marks[e.type.name];return i&&Jo(ks(r),i(e,n),null,e.attrs)}static renderSpec(e,n,r=null,i){return Jo(e,n,r,i)}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new Cr(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let n=nd(e.nodes);return n.text||(n.text=r=>r.text),n}static marksFromSchema(e){return nd(e.marks)}}function nd(t){let e={};for(let n in t){let r=t[n].spec.toDOM;r&&(e[n]=r)}return e}function ks(t){return t.document||window.document}const rd=new WeakMap;function nS(t){let e=rd.get(t);return e===void 0&&rd.set(t,e=rS(t)),e}function rS(t){let e=null;function n(r){if(r&&typeof r=="object")if(Array.isArray(r))if(typeof r[0]=="string")e||(e=[]),e.push(r);else for(let i=0;i-1)throw new RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");let a=i.indexOf(" ");a>0&&(n=i.slice(0,a),i=i.slice(a+1));let s,l=n?t.createElementNS(n,i):t.createElement(i),c=e[1],u=1;if(c&&typeof c=="object"&&c.nodeType==null&&!Array.isArray(c)){u=2;for(let d in c)if(c[d]!=null){let p=d.indexOf(" ");p>0?l.setAttributeNS(d.slice(0,p),d.slice(p+1),c[d]):l.setAttribute(d,c[d])}}for(let d=u;du)throw new RangeError("Content hole must be the only child of its parent node");return{dom:l,contentDOM:l}}else{let{dom:_,contentDOM:m}=Jo(t,p,n,r);if(l.appendChild(_),m){if(s)throw new RangeError("Multiple content holes");s=m}}}return{dom:l,contentDOM:s}}const Rm=65535,Om=Math.pow(2,16);function iS(t,e){return t+e*Om}function id(t){return t&Rm}function oS(t){return(t-(t&Rm))/Om}const Nm=1,Am=2,ea=4,Im=8;class kl{constructor(e,n,r){this.pos=e,this.delInfo=n,this.recover=r}get deleted(){return(this.delInfo&Im)>0}get deletedBefore(){return(this.delInfo&(Nm|ea))>0}get deletedAfter(){return(this.delInfo&(Am|ea))>0}get deletedAcross(){return(this.delInfo&ea)>0}}class Ct{constructor(e,n=!1){if(this.ranges=e,this.inverted=n,!e.length&&Ct.empty)return Ct.empty}recover(e){let n=0,r=id(e);if(!this.inverted)for(let i=0;ie)break;let c=this.ranges[s+o],u=this.ranges[s+a],d=l+c;if(e<=d){let p=c?e==l?-1:e==d?1:n:n,_=l+i+(p<0?0:u);if(r)return _;let m=e==(n<0?l:d)?null:iS(s/3,e-l),f=e==l?Am:e==d?Nm:ea;return(n<0?e!=l:e!=d)&&(f|=Im),new kl(_,f,m)}i+=u-c}return r?e+i:new kl(e+i,0,null)}touches(e,n){let r=0,i=id(n),o=this.inverted?2:1,a=this.inverted?1:2;for(let s=0;se)break;let c=this.ranges[s+o],u=l+c;if(e<=u&&s==i*3)return!0;r+=this.ranges[s+a]-c}return!1}forEach(e){let n=this.inverted?2:1,r=this.inverted?1:2;for(let i=0,o=0;i=0;n--){let i=e.getMirror(n);this.appendMap(e.maps[n].invert(),i!=null&&i>n?r-i-1:void 0)}}invert(){let e=new Kr;return e.appendMappingInverted(this),e}map(e,n=1){if(this.mirror)return this._map(e,n,!0);for(let r=this.from;ro&&l!a.isAtom||!s.type.allowsMarkType(this.mark.type)?a:a.mark(this.mark.addToSet(a.marks)),i),n.openStart,n.openEnd);return Fe.fromReplace(e,this.from,this.to,o)}invert(){return new Zt(this.from,this.to,this.mark)}map(e){let n=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new Dn(n.pos,r.pos,this.mark)}merge(e){return e instanceof Dn&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new Dn(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new Dn(n.from,n.to,e.markFromJSON(n.mark))}}ot.jsonID("addMark",Dn);class Zt extends ot{constructor(e,n,r){super(),this.from=e,this.to=n,this.mark=r}apply(e){let n=e.slice(this.from,this.to),r=new H(yc(n.content,i=>i.mark(this.mark.removeFromSet(i.marks)),e),n.openStart,n.openEnd);return Fe.fromReplace(e,this.from,this.to,r)}invert(){return new Dn(this.from,this.to,this.mark)}map(e){let n=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new Zt(n.pos,r.pos,this.mark)}merge(e){return e instanceof Zt&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new Zt(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new Zt(n.from,n.to,e.markFromJSON(n.mark))}}ot.jsonID("removeMark",Zt);class Mn extends ot{constructor(e,n){super(),this.pos=e,this.mark=n}apply(e){let n=e.nodeAt(this.pos);if(!n)return Fe.fail("No node at mark step's position");let r=n.type.create(n.attrs,null,this.mark.addToSet(n.marks));return Fe.fromReplace(e,this.pos,this.pos+1,new H(w.from(r),0,n.isLeaf?0:1))}invert(e){let n=e.nodeAt(this.pos);if(n){let r=this.mark.addToSet(n.marks);if(r.length==n.marks.length){for(let i=0;ir.pos?null:new ze(n.pos,r.pos,i,o,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number"||typeof n.gapFrom!="number"||typeof n.gapTo!="number"||typeof n.insert!="number")throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new ze(n.from,n.to,n.gapFrom,n.gapTo,H.fromJSON(e,n.slice),n.insert,!!n.structure)}}ot.jsonID("replaceAround",ze);function Pl(t,e,n){let r=t.resolve(e),i=n-e,o=r.depth;for(;i>0&&o>0&&r.indexAfter(o)==r.node(o).childCount;)o--,i--;if(i>0){let a=r.node(o).maybeChild(r.indexAfter(o));for(;i>0;){if(!a||a.isLeaf)return!0;a=a.firstChild,i--}}return!1}function aS(t,e,n,r){let i=[],o=[],a,s;t.doc.nodesBetween(e,n,(l,c,u)=>{if(!l.isInline)return;let d=l.marks;if(!r.isInSet(d)&&u.type.allowsMarkType(r.type)){let p=Math.max(c,e),_=Math.min(c+l.nodeSize,n),m=r.addToSet(d);for(let f=0;ft.step(l)),o.forEach(l=>t.step(l))}function sS(t,e,n,r){let i=[],o=0;t.doc.nodesBetween(e,n,(a,s)=>{if(!a.isInline)return;o++;let l=null;if(r instanceof ns){let c=a.marks,u;for(;u=r.isInSet(c);)(l||(l=[])).push(u),c=u.removeFromSet(c)}else r?r.isInSet(a.marks)&&(l=[r]):l=a.marks;if(l&&l.length){let c=Math.min(s+a.nodeSize,n);for(let u=0;ut.step(new Zt(a.from,a.to,a.style)))}function vc(t,e,n,r=n.contentMatch,i=!0){let o=t.doc.nodeAt(e),a=[],s=e+1;for(let l=0;l=0;l--)t.step(a[l])}function lS(t,e,n){return(e==0||t.canReplace(e,t.childCount))&&(n==t.childCount||t.canReplace(0,n))}function mi(t){let n=t.parent.content.cutByIndex(t.startIndex,t.endIndex);for(let r=t.depth;;--r){let i=t.$from.node(r),o=t.$from.index(r),a=t.$to.indexAfter(r);if(rn;m--)f||r.index(m)>0?(f=!0,u=w.from(r.node(m).copy(u)),d++):l--;let p=w.empty,_=0;for(let m=o,f=!1;m>n;m--)f||i.after(m+1)=0;a--){if(r.size){let s=n[a].type.contentMatch.matchFragment(r);if(!s||!s.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}r=w.from(n[a].type.create(n[a].attrs,r))}let i=e.start,o=e.end;t.step(new ze(i,o,i,o,new H(r,0,0),n.length,!0))}function _S(t,e,n,r,i){if(!r.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let o=t.steps.length;t.doc.nodesBetween(e,n,(a,s)=>{let l=typeof i=="function"?i(a):i;if(a.isTextblock&&!a.hasMarkup(r,l)&&mS(t.doc,t.mapping.slice(o).map(s),r)){let c=null;if(r.schema.linebreakReplacement){let _=r.whitespace=="pre",m=!!r.contentMatch.matchType(r.schema.linebreakReplacement);_&&!m?c=!1:!_&&m&&(c=!0)}c===!1&&Dm(t,a,s,o),vc(t,t.mapping.slice(o).map(s,1),r,void 0,c===null);let u=t.mapping.slice(o),d=u.map(s,1),p=u.map(s+a.nodeSize,1);return t.step(new ze(d,p,d+1,p-1,new H(w.from(r.create(l,null,a.marks)),0,0),1,!0)),c===!0&&xm(t,a,s,o),!1}})}function xm(t,e,n,r){e.forEach((i,o)=>{if(i.isText){let a,s=/\r?\n|\r/g;for(;a=s.exec(i.text);){let l=t.mapping.slice(r).map(n+1+o+a.index);t.replaceWith(l,l+1,e.type.schema.linebreakReplacement.create())}}})}function Dm(t,e,n,r){e.forEach((i,o)=>{if(i.type==i.type.schema.linebreakReplacement){let a=t.mapping.slice(r).map(n+1+o);t.replaceWith(a,a+1,e.type.schema.text(` +`))}})}function mS(t,e,n){let r=t.resolve(e),i=r.index();return r.parent.canReplaceWith(i,i+1,n)}function fS(t,e,n,r,i){let o=t.doc.nodeAt(e);if(!o)throw new RangeError("No node at given position");n||(n=o.type);let a=n.create(r,null,i||o.marks);if(o.isLeaf)return t.replaceWith(e,e+o.nodeSize,a);if(!n.validContent(o.content))throw new RangeError("Invalid content for node type "+n.name);t.step(new ze(e,e+o.nodeSize,e+1,e+o.nodeSize-1,new H(w.from(a),0,0),1,!0))}function Qr(t,e,n=1,r){let i=t.resolve(e),o=i.depth-n,a=r&&r[r.length-1]||i.parent;if(o<0||i.parent.type.spec.isolating||!i.parent.canReplace(i.index(),i.parent.childCount)||!a.type.validContent(i.parent.content.cutByIndex(i.index(),i.parent.childCount)))return!1;for(let c=i.depth-1,u=n-2;c>o;c--,u--){let d=i.node(c),p=i.index(c);if(d.type.spec.isolating)return!1;let _=d.content.cutByIndex(p,d.childCount),m=r&&r[u+1];m&&(_=_.replaceChild(0,m.type.create(m.attrs)));let f=r&&r[u]||d;if(!d.canReplace(p+1,d.childCount)||!f.type.validContent(_))return!1}let s=i.indexAfter(o),l=r&&r[0];return i.node(o).canReplaceWith(s,s,l?l.type:i.node(o+1).type)}function hS(t,e,n=1,r){let i=t.doc.resolve(e),o=w.empty,a=w.empty;for(let s=i.depth,l=i.depth-n,c=n-1;s>l;s--,c--){o=w.from(i.node(s).copy(o));let u=r&&r[c];a=w.from(u?u.type.create(u.attrs,a):i.node(s).copy(a))}t.step(new Ue(e,e,new H(o.append(a),n,n),!0))}function $n(t,e){let n=t.resolve(e),r=n.index();return Mm(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(r,r+1)}function gS(t,e){e.content.size||t.type.compatibleContent(e.type);let n=t.contentMatchAt(t.childCount),{linebreakReplacement:r}=t.type.schema;for(let i=0;i0?(o=r.node(i+1),s++,a=r.node(i).maybeChild(s)):(o=r.node(i).maybeChild(s-1),a=r.node(i+1)),o&&!o.isTextblock&&Mm(o,a)&&r.node(i).canReplace(s,s+1))return e;if(i==0)break;e=n<0?r.before(i):r.after(i)}}function ES(t,e,n){let r=null,{linebreakReplacement:i}=t.doc.type.schema,o=t.doc.resolve(e-n),a=o.node().type;if(i&&a.inlineContent){let u=a.whitespace=="pre",d=!!a.contentMatch.matchType(i);u&&!d?r=!1:!u&&d&&(r=!0)}let s=t.steps.length;if(r===!1){let u=t.doc.resolve(e+n);Dm(t,u.node(),u.before(),s)}a.inlineContent&&vc(t,e+n-1,a,o.node().contentMatchAt(o.index()),r==null);let l=t.mapping.slice(s),c=l.map(e-n);if(t.step(new Ue(c,l.map(e+n,-1),H.empty,!0)),r===!0){let u=t.doc.resolve(c);xm(t,u.node(),u.before(),t.steps.length)}return t}function SS(t,e,n){let r=t.resolve(e);if(r.parent.canReplaceWith(r.index(),r.index(),n))return e;if(r.parentOffset==0)for(let i=r.depth-1;i>=0;i--){let o=r.index(i);if(r.node(i).canReplaceWith(o,o,n))return r.before(i+1);if(o>0)return null}if(r.parentOffset==r.parent.content.size)for(let i=r.depth-1;i>=0;i--){let o=r.indexAfter(i);if(r.node(i).canReplaceWith(o,o,n))return r.after(i+1);if(o=0;a--){let s=a==r.depth?0:r.pos<=(r.start(a+1)+r.end(a+1))/2?-1:1,l=r.index(a)+(s>0?1:0),c=r.node(a),u=!1;if(o==1)u=c.canReplace(l,l,i);else{let d=c.contentMatchAt(l).findWrapping(i.firstChild.type);u=d&&c.canReplaceWith(l,l,d[0])}if(u)return s==0?r.pos:s<0?r.before(a+1):r.after(a+1)}return null}function is(t,e,n=e,r=H.empty){if(e==n&&!r.size)return null;let i=t.resolve(e),o=t.resolve(n);return Lm(i,o,r)?new Ue(e,n,r):new bS(i,o,r).fit()}function Lm(t,e,n){return!n.openStart&&!n.openEnd&&t.start()==e.start()&&t.parent.canReplace(t.index(),e.index(),n.content)}class bS{constructor(e,n,r){this.$from=e,this.$to=n,this.unplaced=r,this.frontier=[],this.placed=w.empty;for(let i=0;i<=e.depth;i++){let o=e.node(i);this.frontier.push({type:o.type,match:o.contentMatchAt(e.indexAfter(i))})}for(let i=e.depth;i>0;i--)this.placed=w.from(e.node(i).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let c=this.findFittable();c?this.placeNodes(c):this.openMore()||this.dropNode()}let e=this.mustMoveInline(),n=this.placed.size-this.depth-this.$from.depth,r=this.$from,i=this.close(e<0?this.$to:r.doc.resolve(e));if(!i)return null;let o=this.placed,a=r.depth,s=i.depth;for(;a&&s&&o.childCount==1;)o=o.firstChild.content,a--,s--;let l=new H(o,a,s);return e>-1?new ze(r.pos,e,this.$to.pos,this.$to.end(),l,n):l.size||r.pos!=this.$to.pos?new Ue(r.pos,i.pos,l):null}findFittable(){let e=this.unplaced.openStart;for(let n=this.unplaced.content,r=0,i=this.unplaced.openEnd;r1&&(i=0),o.type.spec.isolating&&i<=r){e=r;break}n=o.content}for(let n=1;n<=2;n++)for(let r=n==1?e:this.unplaced.openStart;r>=0;r--){let i,o=null;r?(o=Fs(this.unplaced.content,r-1).firstChild,i=o.content):i=this.unplaced.content;let a=i.firstChild;for(let s=this.depth;s>=0;s--){let{type:l,match:c}=this.frontier[s],u,d=null;if(n==1&&(a?c.matchType(a.type)||(d=c.fillBefore(w.from(a),!1)):o&&l.compatibleContent(o.type)))return{sliceDepth:r,frontierDepth:s,parent:o,inject:d};if(n==2&&a&&(u=c.findWrapping(a.type)))return{sliceDepth:r,frontierDepth:s,parent:o,wrap:u};if(o&&c.matchType(o.type))break}}}openMore(){let{content:e,openStart:n,openEnd:r}=this.unplaced,i=Fs(e,n);return!i.childCount||i.firstChild.isLeaf?!1:(this.unplaced=new H(e,n+1,Math.max(r,i.size+n>=e.size-r?n+1:0)),!0)}dropNode(){let{content:e,openStart:n,openEnd:r}=this.unplaced,i=Fs(e,n);if(i.childCount<=1&&n>0){let o=e.size-n<=n+i.size;this.unplaced=new H(Ai(e,n-1,1),n-1,o?n-1:r)}else this.unplaced=new H(Ai(e,n,1),n,r)}placeNodes({sliceDepth:e,frontierDepth:n,parent:r,inject:i,wrap:o}){for(;this.depth>n;)this.closeFrontierNode();if(o)for(let f=0;f1||l==0||f.content.size)&&(d=h,u.push(km(f.mark(p.allowedMarks(f.marks)),c==1?l:0,c==s.childCount?_:-1)))}let m=c==s.childCount;m||(_=-1),this.placed=Ii(this.placed,n,w.from(u)),this.frontier[n].match=d,m&&_<0&&r&&r.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let f=0,h=s;f<_;f++){let E=h.lastChild;this.frontier.push({type:E.type,match:E.contentMatchAt(E.childCount)}),h=E.content}this.unplaced=m?e==0?H.empty:new H(Ai(a.content,e-1,1),e-1,_<0?a.openEnd:e-1):new H(Ai(a.content,e,c),a.openStart,a.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return-1;let e=this.frontier[this.depth],n;if(!e.type.isTextblock||!Bs(this.$to,this.$to.depth,e.type,e.match,!1)||this.$to.depth==this.depth&&(n=this.findCloseLevel(this.$to))&&n.depth==this.depth)return-1;let{depth:r}=this.$to,i=this.$to.after(r);for(;r>1&&i==this.$to.end(--r);)++i;return i}findCloseLevel(e){e:for(let n=Math.min(this.depth,e.depth);n>=0;n--){let{match:r,type:i}=this.frontier[n],o=n=0;s--){let{match:l,type:c}=this.frontier[s],u=Bs(e,s,c,l,!0);if(!u||u.childCount)continue e}return{depth:n,fit:a,move:o?e.doc.resolve(e.after(n+1)):e}}}}close(e){let n=this.findCloseLevel(e);if(!n)return null;for(;this.depth>n.depth;)this.closeFrontierNode();n.fit.childCount&&(this.placed=Ii(this.placed,n.depth,n.fit)),e=n.move;for(let r=n.depth+1;r<=e.depth;r++){let i=e.node(r),o=i.type.contentMatch.fillBefore(i.content,!0,e.index(r));this.openFrontierNode(i.type,i.attrs,o)}return e}openFrontierNode(e,n=null,r){let i=this.frontier[this.depth];i.match=i.match.matchType(e),this.placed=Ii(this.placed,this.depth,w.from(e.create(n,r))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let n=this.frontier.pop().match.fillBefore(w.empty,!0);n.childCount&&(this.placed=Ii(this.placed,this.frontier.length,n))}}function Ai(t,e,n){return e==0?t.cutByIndex(n,t.childCount):t.replaceChild(0,t.firstChild.copy(Ai(t.firstChild.content,e-1,n)))}function Ii(t,e,n){return e==0?t.append(n):t.replaceChild(t.childCount-1,t.lastChild.copy(Ii(t.lastChild.content,e-1,n)))}function Fs(t,e){for(let n=0;n1&&(r=r.replaceChild(0,km(r.firstChild,e-1,r.childCount==1?n-1:0))),e>0&&(r=t.type.contentMatch.fillBefore(r).append(r),n<=0&&(r=r.append(t.type.contentMatch.matchFragment(r).fillBefore(w.empty,!0)))),t.copy(r)}function Bs(t,e,n,r,i){let o=t.node(e),a=i?t.indexAfter(e):t.index(e);if(a==o.childCount&&!n.compatibleContent(o.type))return null;let s=r.fillBefore(o.content,!0,a);return s&&!TS(n,o.content,a)?s:null}function TS(t,e,n){for(let r=n;r0;p--,_--){let m=i.node(p).type.spec;if(m.defining||m.definingAsContext||m.isolating)break;a.indexOf(p)>-1?s=p:i.before(p)==_&&a.splice(1,0,-p)}let l=a.indexOf(s),c=[],u=r.openStart;for(let p=r.content,_=0;;_++){let m=p.firstChild;if(c.push(m),_==r.openStart)break;p=m.content}for(let p=u-1;p>=0;p--){let _=c[p],m=CS(_.type);if(m&&!_.sameMarkup(i.node(Math.abs(s)-1)))u=p;else if(m||!_.type.isTextblock)break}for(let p=r.openStart;p>=0;p--){let _=(p+u+1)%(r.openStart+1),m=c[_];if(m)for(let f=0;f=0&&(t.replace(e,n,r),!(t.steps.length>d));p--){let _=a[p];_<0||(e=i.before(_),n=o.after(_))}}function Pm(t,e,n,r,i){if(er){let o=i.contentMatchAt(0),a=o.fillBefore(t).append(t);t=a.append(o.matchFragment(a).fillBefore(w.empty,!0))}return t}function vS(t,e,n,r){if(!r.isInline&&e==n&&t.doc.resolve(e).parent.content.size){let i=SS(t.doc,e,r.type);i!=null&&(e=n=i)}t.replaceRange(e,n,new H(w.from(r),0,0))}function RS(t,e,n){let r=t.doc.resolve(e),i=t.doc.resolve(n),o=Fm(r,i);for(let a=0;a0&&(l||r.node(s-1).canReplace(r.index(s-1),i.indexAfter(s-1))))return t.delete(r.before(s),i.after(s))}for(let a=1;a<=r.depth&&a<=i.depth;a++)if(e-r.start(a)==r.depth-a&&n>r.end(a)&&i.end(a)-n!=i.depth-a&&r.start(a-1)==i.start(a-1)&&r.node(a-1).canReplace(r.index(a-1),i.index(a-1)))return t.delete(r.before(a),n);t.delete(e,n)}function Fm(t,e){let n=[],r=Math.min(t.depth,e.depth);for(let i=r;i>=0;i--){let o=t.start(i);if(oe.pos+(e.depth-i)||t.node(i).type.spec.isolating||e.node(i).type.spec.isolating)break;(o==e.start(i)||i==t.depth&&i==e.depth&&t.parent.inlineContent&&e.parent.inlineContent&&i&&e.start(i-1)==o-1)&&n.push(i)}return n}class Zr extends ot{constructor(e,n,r){super(),this.pos=e,this.attr=n,this.value=r}apply(e){let n=e.nodeAt(this.pos);if(!n)return Fe.fail("No node at attribute step's position");let r=Object.create(null);for(let o in n.attrs)r[o]=n.attrs[o];r[this.attr]=this.value;let i=n.type.create(r,null,n.marks);return Fe.fromReplace(e,this.pos,this.pos+1,new H(w.from(i),0,n.isLeaf?0:1))}getMap(){return Ct.empty}invert(e){return new Zr(this.pos,this.attr,e.nodeAt(this.pos).attrs[this.attr])}map(e){let n=e.mapResult(this.pos,1);return n.deletedAfter?null:new Zr(n.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(e,n){if(typeof n.pos!="number"||typeof n.attr!="string")throw new RangeError("Invalid input for AttrStep.fromJSON");return new Zr(n.pos,n.attr,n.value)}}ot.jsonID("attr",Zr);class zi extends ot{constructor(e,n){super(),this.attr=e,this.value=n}apply(e){let n=Object.create(null);for(let i in e.attrs)n[i]=e.attrs[i];n[this.attr]=this.value;let r=e.type.create(n,e.content,e.marks);return Fe.ok(r)}getMap(){return Ct.empty}invert(e){return new zi(this.attr,e.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(e,n){if(typeof n.attr!="string")throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new zi(n.attr,n.value)}}ot.jsonID("docAttr",zi);let ei=class extends Error{};ei=function t(e){let n=Error.call(this,e);return n.__proto__=t.prototype,n};ei.prototype=Object.create(Error.prototype);ei.prototype.constructor=ei;ei.prototype.name="TransformError";class Oc{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new Kr}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let n=this.maybeStep(e);if(n.failed)throw new ei(n.failed);return this}maybeStep(e){let n=e.apply(this.doc);return n.failed||this.addStep(e,n.doc),n}get docChanged(){return this.steps.length>0}addStep(e,n){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=n}replace(e,n=e,r=H.empty){let i=is(this.doc,e,n,r);return i&&this.step(i),this}replaceWith(e,n,r){return this.replace(e,n,new H(w.from(r),0,0))}delete(e,n){return this.replace(e,n,H.empty)}insert(e,n){return this.replaceWith(e,e,n)}replaceRange(e,n,r){return yS(this,e,n,r),this}replaceRangeWith(e,n,r){return vS(this,e,n,r),this}deleteRange(e,n){return RS(this,e,n),this}lift(e,n){return cS(this,e,n),this}join(e,n=1){return ES(this,e,n),this}wrap(e,n){return pS(this,e,n),this}setBlockType(e,n=e,r,i=null){return _S(this,e,n,r,i),this}setNodeMarkup(e,n,r=null,i){return fS(this,e,n,r,i),this}setNodeAttribute(e,n,r){return this.step(new Zr(e,n,r)),this}setDocAttribute(e,n){return this.step(new zi(e,n)),this}addNodeMark(e,n){return this.step(new Mn(e,n)),this}removeNodeMark(e,n){if(!(n instanceof Re)){let r=this.doc.nodeAt(e);if(!r)throw new RangeError("No node at position "+e);if(n=n.isInSet(r.marks),!n)return this}return this.step(new Jr(e,n)),this}split(e,n=1,r){return hS(this,e,n,r),this}addMark(e,n,r){return aS(this,e,n,r),this}removeMark(e,n,r){return sS(this,e,n,r),this}clearIncompatible(e,n,r){return vc(this,e,n,r),this}}const Us=Object.create(null);class te{constructor(e,n,r){this.$anchor=e,this.$head=n,this.ranges=r||[new Bm(e.min(n),e.max(n))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let e=this.ranges;for(let n=0;n=0;o--){let a=n<0?Pr(e.node(0),e.node(o),e.before(o+1),e.index(o),n,r):Pr(e.node(0),e.node(o),e.after(o+1),e.index(o)+1,n,r);if(a)return a}return null}static near(e,n=1){return this.findFrom(e,n)||this.findFrom(e,-n)||new Dt(e.node(0))}static atStart(e){return Pr(e,e,0,0,1)||new Dt(e)}static atEnd(e){return Pr(e,e,e.content.size,e.childCount,-1)||new Dt(e)}static fromJSON(e,n){if(!n||!n.type)throw new RangeError("Invalid input for Selection.fromJSON");let r=Us[n.type];if(!r)throw new RangeError(`No selection type ${n.type} defined`);return r.fromJSON(e,n)}static jsonID(e,n){if(e in Us)throw new RangeError("Duplicate use of selection JSON ID "+e);return Us[e]=n,n.prototype.jsonID=e,n}getBookmark(){return Z.between(this.$anchor,this.$head).getBookmark()}}te.prototype.visible=!0;class Bm{constructor(e,n){this.$from=e,this.$to=n}}let ad=!1;function sd(t){!ad&&!t.parent.inlineContent&&(ad=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+t.parent.type.name+")"))}class Z extends te{constructor(e,n=e){sd(e),sd(n),super(e,n)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(e,n){let r=e.resolve(n.map(this.head));if(!r.parent.inlineContent)return te.near(r);let i=e.resolve(n.map(this.anchor));return new Z(i.parent.inlineContent?i:r,r)}replace(e,n=H.empty){if(super.replace(e,n),n==H.empty){let r=this.$from.marksAcross(this.$to);r&&e.ensureMarks(r)}}eq(e){return e instanceof Z&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new as(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(e,n){if(typeof n.anchor!="number"||typeof n.head!="number")throw new RangeError("Invalid input for TextSelection.fromJSON");return new Z(e.resolve(n.anchor),e.resolve(n.head))}static create(e,n,r=n){let i=e.resolve(n);return new this(i,r==n?i:e.resolve(r))}static between(e,n,r){let i=e.pos-n.pos;if((!r||i)&&(r=i>=0?1:-1),!n.parent.inlineContent){let o=te.findFrom(n,r,!0)||te.findFrom(n,-r,!0);if(o)n=o.$head;else return te.near(n,r)}return e.parent.inlineContent||(i==0?e=n:(e=(te.findFrom(e,-r,!0)||te.findFrom(e,r,!0)).$anchor,e.pos0?0:1);i>0?a=0;a+=i){let s=e.child(a);if(s.isAtom){if(!o&&ee.isSelectable(s))return ee.create(t,n-(i<0?s.nodeSize:0))}else{let l=Pr(t,s,n+i,i<0?s.childCount:0,i,o);if(l)return l}n+=s.nodeSize*i}return null}function ld(t,e,n){let r=t.steps.length-1;if(r{a==null&&(a=u)}),t.setSelection(te.near(t.doc.resolve(a),n))}const cd=1,Io=2,ud=4;class NS extends Oc{constructor(e){super(e.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=e.selection,this.storedMarks=e.storedMarks}get selection(){return this.curSelectionFor0}setStoredMarks(e){return this.storedMarks=e,this.updated|=Io,this}ensureMarks(e){return Re.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(this.updated&Io)>0}addStep(e,n){super.addStep(e,n),this.updated=this.updated&~Io,this.storedMarks=null}setTime(e){return this.time=e,this}replaceSelection(e){return this.selection.replace(this,e),this}replaceSelectionWith(e,n=!0){let r=this.selection;return n&&(e=e.mark(this.storedMarks||(r.empty?r.$from.marks():r.$from.marksAcross(r.$to)||Re.none))),r.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,n,r){let i=this.doc.type.schema;if(n==null)return e?this.replaceSelectionWith(i.text(e),!0):this.deleteSelection();{if(r==null&&(r=n),r=r??n,!e)return this.deleteRange(n,r);let o=this.storedMarks;if(!o){let a=this.doc.resolve(n);o=r==n?a.marks():a.marksAcross(this.doc.resolve(r))}return this.replaceRangeWith(n,r,i.text(e,o)),this.selection.empty||this.setSelection(te.near(this.selection.$to)),this}}setMeta(e,n){return this.meta[typeof e=="string"?e:e.key]=n,this}getMeta(e){return this.meta[typeof e=="string"?e:e.key]}get isGeneric(){for(let e in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=ud,this}get scrolledIntoView(){return(this.updated&ud)>0}}function dd(t,e){return!e||!t?t:t.bind(e)}class xi{constructor(e,n,r){this.name=e,this.init=dd(n.init,r),this.apply=dd(n.apply,r)}}const AS=[new xi("doc",{init(t){return t.doc||t.schema.topNodeType.createAndFill()},apply(t){return t.doc}}),new xi("selection",{init(t,e){return t.selection||te.atStart(e.doc)},apply(t){return t.selection}}),new xi("storedMarks",{init(t){return t.storedMarks||null},apply(t,e,n,r){return r.selection.$cursor?t.storedMarks:null}}),new xi("scrollToSelection",{init(){return 0},apply(t,e){return t.scrolledIntoView?e+1:e}})];class Hs{constructor(e,n){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=AS.slice(),n&&n.forEach(r=>{if(this.pluginsByKey[r.key])throw new RangeError("Adding different instances of a keyed plugin ("+r.key+")");this.plugins.push(r),this.pluginsByKey[r.key]=r,r.spec.state&&this.fields.push(new xi(r.key,r.spec.state,r))})}}class Vr{constructor(e){this.config=e}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(e){return this.applyTransaction(e).state}filterTransaction(e,n=-1){for(let r=0;rr.toJSON())),e&&typeof e=="object")for(let r in e){if(r=="doc"||r=="selection")throw new RangeError("The JSON fields `doc` and `selection` are reserved");let i=e[r],o=i.spec.state;o&&o.toJSON&&(n[r]=o.toJSON.call(i,this[i.key]))}return n}static fromJSON(e,n,r){if(!n)throw new RangeError("Invalid input for EditorState.fromJSON");if(!e.schema)throw new RangeError("Required config field 'schema' missing");let i=new Hs(e.schema,e.plugins),o=new Vr(i);return i.fields.forEach(a=>{if(a.name=="doc")o.doc=Bn.fromJSON(e.schema,n.doc);else if(a.name=="selection")o.selection=te.fromJSON(o.doc,n.selection);else if(a.name=="storedMarks")n.storedMarks&&(o.storedMarks=n.storedMarks.map(e.schema.markFromJSON));else{if(r)for(let s in r){let l=r[s],c=l.spec.state;if(l.key==a.name&&c&&c.fromJSON&&Object.prototype.hasOwnProperty.call(n,s)){o[a.name]=c.fromJSON.call(l,e,n[s],o);return}}o[a.name]=a.init(e,o)}}),o}}function Um(t,e,n){for(let r in t){let i=t[r];i instanceof Function?i=i.bind(e):r=="handleDOMEvents"&&(i=Um(i,e,{})),n[r]=i}return n}class Se{constructor(e){this.spec=e,this.props={},e.props&&Um(e.props,this,this.props),this.key=e.key?e.key.key:Hm("plugin")}getState(e){return e[this.key]}}const Gs=Object.create(null);function Hm(t){return t in Gs?t+"$"+ ++Gs[t]:(Gs[t]=0,t+"$")}class ve{constructor(e="key"){this.key=Hm(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}}const Xe=function(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e},$i=function(t){let e=t.assignedSlot||t.parentNode;return e&&e.nodeType==11?e.host:e};let Fl=null;const pn=function(t,e,n){let r=Fl||(Fl=document.createRange());return r.setEnd(t,n??t.nodeValue.length),r.setStart(t,e||0),r},IS=function(){Fl=null},fr=function(t,e,n,r){return n&&(pd(t,e,n,r,-1)||pd(t,e,n,r,1))},xS=/^(img|br|input|textarea|hr)$/i;function pd(t,e,n,r,i){for(;;){if(t==n&&e==r)return!0;if(e==(i<0?0:xt(t))){let o=t.parentNode;if(!o||o.nodeType!=1||_o(t)||xS.test(t.nodeName)||t.contentEditable=="false")return!1;e=Xe(t)+(i<0?0:1),t=o}else if(t.nodeType==1){if(t=t.childNodes[e+(i<0?-1:0)],t.contentEditable=="false")return!1;e=i<0?xt(t):0}else return!1}}function xt(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function DS(t,e){for(;;){if(t.nodeType==3&&e)return t;if(t.nodeType==1&&e>0){if(t.contentEditable=="false")return null;t=t.childNodes[e-1],e=xt(t)}else if(t.parentNode&&!_o(t))e=Xe(t),t=t.parentNode;else return null}}function MS(t,e){for(;;){if(t.nodeType==3&&e2),It=ti||(tn?/Mac/.test(tn.platform):!1),PS=tn?/Win/.test(tn.platform):!1,Ut=/Android \d/.test(qn),mo=!!_d&&"webkitFontSmoothing"in _d.documentElement.style,FS=mo?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function BS(t){let e=t.defaultView&&t.defaultView.visualViewport;return e?{left:0,right:e.width,top:0,bottom:e.height}:{left:0,right:t.documentElement.clientWidth,top:0,bottom:t.documentElement.clientHeight}}function ln(t,e){return typeof t=="number"?t:t[e]}function US(t){let e=t.getBoundingClientRect(),n=e.width/t.offsetWidth||1,r=e.height/t.offsetHeight||1;return{left:e.left,right:e.left+t.clientWidth*n,top:e.top,bottom:e.top+t.clientHeight*r}}function md(t,e,n){let r=t.someProp("scrollThreshold")||0,i=t.someProp("scrollMargin")||5,o=t.dom.ownerDocument;for(let a=n||t.dom;a;a=$i(a)){if(a.nodeType!=1)continue;let s=a,l=s==o.body,c=l?BS(o):US(s),u=0,d=0;if(e.topc.bottom-ln(r,"bottom")&&(d=e.bottom-e.top>c.bottom-c.top?e.top+ln(i,"top")-c.top:e.bottom-c.bottom+ln(i,"bottom")),e.leftc.right-ln(r,"right")&&(u=e.right-c.right+ln(i,"right")),u||d)if(l)o.defaultView.scrollBy(u,d);else{let p=s.scrollLeft,_=s.scrollTop;d&&(s.scrollTop+=d),u&&(s.scrollLeft+=u);let m=s.scrollLeft-p,f=s.scrollTop-_;e={left:e.left-m,top:e.top-f,right:e.right-m,bottom:e.bottom-f}}if(l||/^(fixed|sticky)$/.test(getComputedStyle(a).position))break}}function HS(t){let e=t.dom.getBoundingClientRect(),n=Math.max(0,e.top),r,i;for(let o=(e.left+e.right)/2,a=n+1;a=n-20){r=s,i=l.top;break}}return{refDOM:r,refTop:i,stack:Ym(t.dom)}}function Ym(t){let e=[],n=t.ownerDocument;for(let r=t;r&&(e.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),t!=n);r=$i(r));return e}function GS({refDOM:t,refTop:e,stack:n}){let r=t?t.getBoundingClientRect().top:0;zm(n,r==0?0:r-e)}function zm(t,e){for(let n=0;n=s){a=Math.max(m.bottom,a),s=Math.min(m.top,s);let f=m.left>e.left?m.left-e.left:m.right=(m.left+m.right)/2?1:0));continue}}else m.top>e.top&&!l&&m.left<=e.left&&m.right>=e.left&&(l=u,c={left:Math.max(m.left,Math.min(m.right,e.left)),top:m.top});!n&&(e.left>=m.right&&e.top>=m.top||e.left>=m.left&&e.top>=m.bottom)&&(o=d+1)}}return!n&&l&&(n=l,i=c,r=0),n&&n.nodeType==3?YS(n,i):!n||r&&n.nodeType==1?{node:t,offset:o}:$m(n,i)}function YS(t,e){let n=t.nodeValue.length,r=document.createRange();for(let i=0;i=(o.left+o.right)/2?1:0)}}return{node:t,offset:0}}function Ac(t,e){return t.left>=e.left-1&&t.left<=e.right+1&&t.top>=e.top-1&&t.top<=e.bottom+1}function zS(t,e){let n=t.parentNode;return n&&/^li$/i.test(n.nodeName)&&e.left(a.left+a.right)/2?1:-1}return t.docView.posFromDOM(r,i,o)}function qS(t,e,n,r){let i=-1;for(let o=e,a=!1;o!=t.dom;){let s=t.docView.nearestDesc(o,!0);if(!s)return null;if(s.dom.nodeType==1&&(s.node.isBlock&&s.parent||!s.contentDOM)){let l=s.dom.getBoundingClientRect();if(s.node.isBlock&&s.parent&&(!a&&l.left>r.left||l.top>r.top?i=s.posBefore:(!a&&l.right-1?i:t.docView.posFromDOM(e,n,-1)}function qm(t,e,n){let r=t.childNodes.length;if(r&&n.tope.top&&i++}let c;mo&&i&&r.nodeType==1&&(c=r.childNodes[i-1]).nodeType==1&&c.contentEditable=="false"&&c.getBoundingClientRect().top>=e.top&&i--,r==t.dom&&i==r.childNodes.length-1&&r.lastChild.nodeType==1&&e.top>r.lastChild.getBoundingClientRect().bottom?s=t.state.doc.content.size:(i==0||r.nodeType!=1||r.childNodes[i-1].nodeName!="BR")&&(s=qS(t,r,i,e))}s==null&&(s=$S(t,a,e));let l=t.docView.nearestDesc(a,!0);return{pos:s,inside:l?l.posAtStart-l.border:-1}}function fd(t){return t.top=0&&i==r.nodeValue.length?(l--,u=1):n<0?l--:c++,bi(Cn(pn(r,l,c),u),u<0)}if(!t.state.doc.resolve(e-(o||0)).parent.inlineContent){if(o==null&&i&&(n<0||i==xt(r))){let l=r.childNodes[i-1];if(l.nodeType==1)return Vs(l.getBoundingClientRect(),!1)}if(o==null&&i=0)}if(o==null&&i&&(n<0||i==xt(r))){let l=r.childNodes[i-1],c=l.nodeType==3?pn(l,xt(l)-(a?0:1)):l.nodeType==1&&(l.nodeName!="BR"||!l.nextSibling)?l:null;if(c)return bi(Cn(c,1),!1)}if(o==null&&i=0)}function bi(t,e){if(t.width==0)return t;let n=e?t.left:t.right;return{top:t.top,bottom:t.bottom,left:n,right:n}}function Vs(t,e){if(t.height==0)return t;let n=e?t.top:t.bottom;return{top:n,bottom:n,left:t.left,right:t.right}}function Km(t,e,n){let r=t.state,i=t.root.activeElement;r!=e&&t.updateState(e),i!=t.dom&&t.focus();try{return n()}finally{r!=e&&t.updateState(r),i!=t.dom&&i&&i.focus()}}function QS(t,e,n){let r=e.selection,i=n=="up"?r.$from:r.$to;return Km(t,e,()=>{let{node:o}=t.docView.domFromPos(i.pos,n=="up"?-1:1);for(;;){let s=t.docView.nearestDesc(o,!0);if(!s)break;if(s.node.isBlock){o=s.contentDOM||s.dom;break}o=s.dom.parentNode}let a=Wm(t,i.pos,1);for(let s=o.firstChild;s;s=s.nextSibling){let l;if(s.nodeType==1)l=s.getClientRects();else if(s.nodeType==3)l=pn(s,0,s.nodeValue.length).getClientRects();else continue;for(let c=0;cu.top+1&&(n=="up"?a.top-u.top>(u.bottom-a.top)*2:u.bottom-a.bottom>(a.bottom-u.top)*2))return!1}}return!0})}const ZS=/[\u0590-\u08ac]/;function XS(t,e,n){let{$head:r}=e.selection;if(!r.parent.isTextblock)return!1;let i=r.parentOffset,o=!i,a=i==r.parent.content.size,s=t.domSelection();return s?!ZS.test(r.parent.textContent)||!s.modify?n=="left"||n=="backward"?o:a:Km(t,e,()=>{let{focusNode:l,focusOffset:c,anchorNode:u,anchorOffset:d}=t.domSelectionRange(),p=s.caretBidiLevel;s.modify("move",n,"character");let _=r.depth?t.docView.domAfterPos(r.before()):t.dom,{focusNode:m,focusOffset:f}=t.domSelectionRange(),h=m&&!_.contains(m.nodeType==1?m:m.parentNode)||l==m&&c==f;try{s.collapse(u,d),l&&(l!=u||c!=d)&&s.extend&&s.extend(l,c)}catch{}return p!=null&&(s.caretBidiLevel=p),h}):r.pos==r.start()||r.pos==r.end()}let hd=null,gd=null,Ed=!1;function jS(t,e,n){return hd==e&&gd==n?Ed:(hd=e,gd=n,Ed=n=="up"||n=="down"?QS(t,e,n):XS(t,e,n))}const Mt=0,Sd=1,rr=2,nn=3;class fo{constructor(e,n,r,i){this.parent=e,this.children=n,this.dom=r,this.contentDOM=i,this.dirty=Mt,r.pmViewDesc=this}matchesWidget(e){return!1}matchesMark(e){return!1}matchesNode(e,n,r){return!1}matchesHack(e){return!1}parseRule(){return null}stopEvent(e){return!1}get size(){let e=0;for(let n=0;nXe(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))i=e.compareDocumentPosition(this.contentDOM)&2;else if(this.dom.firstChild){if(n==0)for(let o=e;;o=o.parentNode){if(o==this.dom){i=!1;break}if(o.previousSibling)break}if(i==null&&n==e.childNodes.length)for(let o=e;;o=o.parentNode){if(o==this.dom){i=!0;break}if(o.nextSibling)break}}return i??r>0?this.posAtEnd:this.posAtStart}nearestDesc(e,n=!1){for(let r=!0,i=e;i;i=i.parentNode){let o=this.getDesc(i),a;if(o&&(!n||o.node))if(r&&(a=o.nodeDOM)&&!(a.nodeType==1?a.contains(e.nodeType==1?e:e.parentNode):a==e))r=!1;else return o}}getDesc(e){let n=e.pmViewDesc;for(let r=n;r;r=r.parent)if(r==this)return n}posFromDOM(e,n,r){for(let i=e;i;i=i.parentNode){let o=this.getDesc(i);if(o)return o.localPosFromDOM(e,n,r)}return-1}descAt(e){for(let n=0,r=0;ne||a instanceof Zm){i=e-o;break}o=s}if(i)return this.children[r].domFromPos(i-this.children[r].border,n);for(let o;r&&!(o=this.children[r-1]).size&&o instanceof Qm&&o.side>=0;r--);if(n<=0){let o,a=!0;for(;o=r?this.children[r-1]:null,!(!o||o.dom.parentNode==this.contentDOM);r--,a=!1);return o&&n&&a&&!o.border&&!o.domAtom?o.domFromPos(o.size,n):{node:this.contentDOM,offset:o?Xe(o.dom)+1:0}}else{let o,a=!0;for(;o=r=u&&n<=c-l.border&&l.node&&l.contentDOM&&this.contentDOM.contains(l.contentDOM))return l.parseRange(e,n,u);e=a;for(let d=s;d>0;d--){let p=this.children[d-1];if(p.size&&p.dom.parentNode==this.contentDOM&&!p.emptyChildAt(1)){i=Xe(p.dom)+1;break}e-=p.size}i==-1&&(i=0)}if(i>-1&&(c>n||s==this.children.length-1)){n=c;for(let u=s+1;um&&an){let m=s;s=l,l=m}let _=document.createRange();_.setEnd(l.node,l.offset),_.setStart(s.node,s.offset),c.removeAllRanges(),c.addRange(_)}}ignoreMutation(e){return!this.contentDOM&&e.type!="selection"}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(e,n){for(let r=0,i=0;i=r:er){let s=r+o.border,l=a-o.border;if(e>=s&&n<=l){this.dirty=e==r||n==a?rr:Sd,e==s&&n==l&&(o.contentLost||o.dom.parentNode!=this.contentDOM)?o.dirty=nn:o.markDirty(e-s,n-s);return}else o.dirty=o.dom==o.contentDOM&&o.dom.parentNode==this.contentDOM&&!o.children.length?rr:nn}r=a}this.dirty=rr}markParentsDirty(){let e=1;for(let n=this.parent;n;n=n.parent,e++){let r=e==1?rr:Sd;n.dirty{if(!o)return i;if(o.parent)return o.parent.posBeforeChild(o)})),!n.type.spec.raw){if(a.nodeType!=1){let s=document.createElement("span");s.appendChild(a),a=s}a.contentEditable="false",a.classList.add("ProseMirror-widget")}super(e,[],a,null),this.widget=n,this.widget=n,o=this}matchesWidget(e){return this.dirty==Mt&&e.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(e){let n=this.widget.spec.stopEvent;return n?n(e):!1}ignoreMutation(e){return e.type!="selection"||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get side(){return this.widget.type.side}}class JS extends fo{constructor(e,n,r,i){super(e,[],n,null),this.textDOM=r,this.text=i}get size(){return this.text.length}localPosFromDOM(e,n){return e!=this.textDOM?this.posAtStart+(n?this.size:0):this.posAtStart+n}domFromPos(e){return{node:this.textDOM,offset:e}}ignoreMutation(e){return e.type==="characterData"&&e.target.nodeValue==e.oldValue}}class hr extends fo{constructor(e,n,r,i,o){super(e,[],r,i),this.mark=n,this.spec=o}static create(e,n,r,i){let o=i.nodeViews[n.type.name],a=o&&o(n,i,r);return(!a||!a.dom)&&(a=Cr.renderSpec(document,n.type.spec.toDOM(n,r),null,n.attrs)),new hr(e,n,a.dom,a.contentDOM||a.dom,a)}parseRule(){return this.dirty&nn||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return this.dirty!=nn&&this.mark.eq(e)}markDirty(e,n){if(super.markDirty(e,n),this.dirty!=Mt){let r=this.parent;for(;!r.node;)r=r.parent;r.dirty0&&(o=Vl(o,0,e,r));for(let s=0;s{if(!l)return a;if(l.parent)return l.parent.posBeforeChild(l)},r,i),u=c&&c.dom,d=c&&c.contentDOM;if(n.isText){if(!u)u=document.createTextNode(n.text);else if(u.nodeType!=3)throw new RangeError("Text must be rendered as a DOM text node")}else u||({dom:u,contentDOM:d}=Cr.renderSpec(document,n.type.spec.toDOM(n),null,n.attrs));!d&&!n.isText&&u.nodeName!="BR"&&(u.hasAttribute("contenteditable")||(u.contentEditable="false"),n.type.spec.draggable&&(u.draggable=!0));let p=u;return u=Jm(u,r,n),c?l=new eb(e,n,r,i,u,d||null,p,c,o,a+1):n.isText?new ls(e,n,r,i,u,p,o):new Hn(e,n,r,i,u,d||null,p,o,a+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let e={node:this.node.type.name,attrs:this.node.attrs};if(this.node.type.whitespace=="pre"&&(e.preserveWhitespace="full"),!this.contentDOM)e.getContent=()=>this.node.content;else if(!this.contentLost)e.contentElement=this.contentDOM;else{for(let n=this.children.length-1;n>=0;n--){let r=this.children[n];if(this.dom.contains(r.dom.parentNode)){e.contentElement=r.dom.parentNode;break}}e.contentElement||(e.getContent=()=>w.empty)}return e}matchesNode(e,n,r){return this.dirty==Mt&&e.eq(this.node)&&fa(n,this.outerDeco)&&r.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(e,n){let r=this.node.inlineContent,i=n,o=e.composing?this.localCompositionInfo(e,n):null,a=o&&o.pos>-1?o:null,s=o&&o.pos<0,l=new nb(this,a&&a.node,e);ob(this.node,this.innerDeco,(c,u,d)=>{c.spec.marks?l.syncToMarks(c.spec.marks,r,e):c.type.side>=0&&!d&&l.syncToMarks(u==this.node.childCount?Re.none:this.node.child(u).marks,r,e),l.placeWidget(c,e,i)},(c,u,d,p)=>{l.syncToMarks(c.marks,r,e);let _;l.findNodeMatch(c,u,d,p)||s&&e.state.selection.from>i&&e.state.selection.to-1&&l.updateNodeAt(c,u,d,_,e)||l.updateNextNode(c,u,d,e,p,i)||l.addNode(c,u,d,e,i),i+=c.nodeSize}),l.syncToMarks([],r,e),this.node.isTextblock&&l.addTextblockHacks(),l.destroyRest(),(l.changed||this.dirty==rr)&&(a&&this.protectLocalComposition(e,a),Xm(this.contentDOM,this.children,e),ti&&ab(this.dom))}localCompositionInfo(e,n){let{from:r,to:i}=e.state.selection;if(!(e.state.selection instanceof Z)||rn+this.node.content.size)return null;let o=e.input.compositionNode;if(!o||!this.dom.contains(o.parentNode))return null;if(this.node.inlineContent){let a=o.nodeValue,s=sb(this.node.content,a,r-n,i-n);return s<0?null:{node:o,pos:s,text:a}}else return{node:o,pos:-1,text:""}}protectLocalComposition(e,{node:n,pos:r,text:i}){if(this.getDesc(n))return;let o=n;for(;o.parentNode!=this.contentDOM;o=o.parentNode){for(;o.previousSibling;)o.parentNode.removeChild(o.previousSibling);for(;o.nextSibling;)o.parentNode.removeChild(o.nextSibling);o.pmViewDesc&&(o.pmViewDesc=void 0)}let a=new JS(this,o,n,i);e.input.compositionNodes.push(a),this.children=Vl(this.children,r,r+i.length,e,a)}update(e,n,r,i){return this.dirty==nn||!e.sameMarkup(this.node)?!1:(this.updateInner(e,n,r,i),!0)}updateInner(e,n,r,i){this.updateOuterDeco(n),this.node=e,this.innerDeco=r,this.contentDOM&&this.updateChildren(i,this.posAtStart),this.dirty=Mt}updateOuterDeco(e){if(fa(e,this.outerDeco))return;let n=this.nodeDOM.nodeType!=1,r=this.dom;this.dom=jm(this.dom,this.nodeDOM,Gl(this.outerDeco,this.node,n),Gl(e,this.node,n)),this.dom!=r&&(r.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=e}selectNode(){this.nodeDOM.nodeType==1&&this.nodeDOM.classList.add("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&(this.dom.draggable=!0)}deselectNode(){this.nodeDOM.nodeType==1&&(this.nodeDOM.classList.remove("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&this.dom.removeAttribute("draggable"))}get domAtom(){return this.node.isAtom}}function bd(t,e,n,r,i){Jm(r,e,t);let o=new Hn(void 0,t,e,n,r,r,r,i,0);return o.contentDOM&&o.updateChildren(i,0),o}class ls extends Hn{constructor(e,n,r,i,o,a,s){super(e,n,r,i,o,null,a,s,0)}parseRule(){let e=this.nodeDOM.parentNode;for(;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}}update(e,n,r,i){return this.dirty==nn||this.dirty!=Mt&&!this.inParent()||!e.sameMarkup(this.node)?!1:(this.updateOuterDeco(n),(this.dirty!=Mt||e.text!=this.node.text)&&e.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=e.text,i.trackWrites==this.nodeDOM&&(i.trackWrites=null)),this.node=e,this.dirty=Mt,!0)}inParent(){let e=this.parent.contentDOM;for(let n=this.nodeDOM;n;n=n.parentNode)if(n==e)return!0;return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,n,r){return e==this.nodeDOM?this.posAtStart+Math.min(n,this.node.text.length):super.localPosFromDOM(e,n,r)}ignoreMutation(e){return e.type!="characterData"&&e.type!="selection"}slice(e,n,r){let i=this.node.cut(e,n),o=document.createTextNode(i.text);return new ls(this.parent,i,this.outerDeco,this.innerDeco,o,o,r)}markDirty(e,n){super.markDirty(e,n),this.dom!=this.nodeDOM&&(e==0||n==this.nodeDOM.nodeValue.length)&&(this.dirty=nn)}get domAtom(){return!1}isText(e){return this.node.text==e}}class Zm extends fo{parseRule(){return{ignore:!0}}matchesHack(e){return this.dirty==Mt&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName=="IMG"}}class eb extends Hn{constructor(e,n,r,i,o,a,s,l,c,u){super(e,n,r,i,o,a,s,c,u),this.spec=l}update(e,n,r,i){if(this.dirty==nn)return!1;if(this.spec.update&&(this.node.type==e.type||this.spec.multiType)){let o=this.spec.update(e,n,r);return o&&this.updateInner(e,n,r,i),o}else return!this.contentDOM&&!e.isLeaf?!1:super.update(e,n,r,i)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,n,r,i){this.spec.setSelection?this.spec.setSelection(e,n,r.root):super.setSelection(e,n,r,i)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return this.spec.stopEvent?this.spec.stopEvent(e):!1}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}}function Xm(t,e,n){let r=t.firstChild,i=!1;for(let o=0;o>1,a=Math.min(o,e.length);for(;i-1)s>this.index&&(this.changed=!0,this.destroyBetween(this.index,s)),this.top=this.top.children[this.index];else{let l=hr.create(this.top,e[o],n,r);this.top.children.splice(this.index,0,l),this.top=l,this.changed=!0}this.index=0,o++}}findNodeMatch(e,n,r,i){let o=-1,a;if(i>=this.preMatch.index&&(a=this.preMatch.matches[i-this.preMatch.index]).parent==this.top&&a.matchesNode(e,n,r))o=this.top.children.indexOf(a,this.index);else for(let s=this.index,l=Math.min(this.top.children.length,s+5);s0;){let s;for(;;)if(r){let c=n.children[r-1];if(c instanceof hr)n=c,r=c.children.length;else{s=c,r--;break}}else{if(n==e)break e;r=n.parent.children.indexOf(n),n=n.parent}let l=s.node;if(l){if(l!=t.child(i-1))break;--i,o.set(s,i),a.push(s)}}return{index:i,matched:o,matches:a.reverse()}}function ib(t,e){return t.type.side-e.type.side}function ob(t,e,n,r){let i=e.locals(t),o=0;if(i.length==0){for(let c=0;co;)s.push(i[a++]);let m=o+p.nodeSize;if(p.isText){let h=m;a!h.inline):s.slice();r(p,f,e.forChild(o,p),_),o=m}}function ab(t){if(t.nodeName=="UL"||t.nodeName=="OL"){let e=t.style.cssText;t.style.cssText=e+"; list-style: square !important",window.getComputedStyle(t).listStyle,t.style.cssText=e}}function sb(t,e,n,r){for(let i=0,o=0;i=n){if(o>=r&&l.slice(r-e.length-s,r-s)==e)return r-e.length;let c=s=0&&c+e.length+s>=n)return s+c;if(n==r&&l.length>=r+e.length-s&&l.slice(r-s,r-s+e.length)==e)return r}}return-1}function Vl(t,e,n,r,i){let o=[];for(let a=0,s=0;a=n||u<=e?o.push(l):(cn&&o.push(l.slice(n-c,l.size,r)))}return o}function Ic(t,e=null){let n=t.domSelectionRange(),r=t.state.doc;if(!n.focusNode)return null;let i=t.docView.nearestDesc(n.focusNode),o=i&&i.size==0,a=t.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(a<0)return null;let s=r.resolve(a),l,c;if(ss(n)){for(l=a;i&&!i.node;)i=i.parent;let d=i.node;if(i&&d.isAtom&&ee.isSelectable(d)&&i.parent&&!(d.isInline&&wS(n.focusNode,n.focusOffset,i.dom))){let p=i.posBefore;c=new ee(a==p?s:r.resolve(p))}}else{if(n instanceof t.dom.ownerDocument.defaultView.Selection&&n.rangeCount>1){let d=a,p=a;for(let _=0;_{(n.anchorNode!=r||n.anchorOffset!=i)&&(e.removeEventListener("selectionchange",t.input.hideSelectionGuard),setTimeout(()=>{(!ef(t)||t.state.selection.visible)&&t.dom.classList.remove("ProseMirror-hideselection")},20))})}function cb(t){let e=t.domSelection(),n=document.createRange();if(!e)return;let r=t.cursorWrapper.dom,i=r.nodeName=="IMG";i?n.setStart(r.parentNode,Xe(r)+1):n.setStart(r,0),n.collapse(!0),e.removeAllRanges(),e.addRange(n),!i&&!t.state.selection.visible&&pt&&Un<=11&&(r.disabled=!0,r.disabled=!1)}function tf(t,e){if(e instanceof ee){let n=t.docView.descAt(e.from);n!=t.lastSelectedViewDesc&&(Rd(t),n&&n.selectNode(),t.lastSelectedViewDesc=n)}else Rd(t)}function Rd(t){t.lastSelectedViewDesc&&(t.lastSelectedViewDesc.parent&&t.lastSelectedViewDesc.deselectNode(),t.lastSelectedViewDesc=void 0)}function xc(t,e,n,r){return t.someProp("createSelectionBetween",i=>i(t,e,n))||Z.between(e,n,r)}function Od(t){return t.editable&&!t.hasFocus()?!1:nf(t)}function nf(t){let e=t.domSelectionRange();if(!e.anchorNode)return!1;try{return t.dom.contains(e.anchorNode.nodeType==3?e.anchorNode.parentNode:e.anchorNode)&&(t.editable||t.dom.contains(e.focusNode.nodeType==3?e.focusNode.parentNode:e.focusNode))}catch{return!1}}function ub(t){let e=t.docView.domFromPos(t.state.selection.anchor,0),n=t.domSelectionRange();return fr(e.node,e.offset,n.anchorNode,n.anchorOffset)}function Yl(t,e){let{$anchor:n,$head:r}=t.selection,i=e>0?n.max(r):n.min(r),o=i.parent.inlineContent?i.depth?t.doc.resolve(e>0?i.after():i.before()):null:i;return o&&te.findFrom(o,e)}function yn(t,e){return t.dispatch(t.state.tr.setSelection(e).scrollIntoView()),!0}function Nd(t,e,n){let r=t.state.selection;if(r instanceof Z)if(n.indexOf("s")>-1){let{$head:i}=r,o=i.textOffset?null:e<0?i.nodeBefore:i.nodeAfter;if(!o||o.isText||!o.isLeaf)return!1;let a=t.state.doc.resolve(i.pos+o.nodeSize*(e<0?-1:1));return yn(t,new Z(r.$anchor,a))}else if(r.empty){if(t.endOfTextblock(e>0?"forward":"backward")){let i=Yl(t.state,e);return i&&i instanceof ee?yn(t,i):!1}else if(!(It&&n.indexOf("m")>-1)){let i=r.$head,o=i.textOffset?null:e<0?i.nodeBefore:i.nodeAfter,a;if(!o||o.isText)return!1;let s=e<0?i.pos-o.nodeSize:i.pos;return o.isAtom||(a=t.docView.descAt(s))&&!a.contentDOM?ee.isSelectable(o)?yn(t,new ee(e<0?t.state.doc.resolve(i.pos-o.nodeSize):i)):mo?yn(t,new Z(t.state.doc.resolve(e<0?s:s+o.nodeSize))):!1:!1}}else return!1;else{if(r instanceof ee&&r.node.isInline)return yn(t,new Z(e>0?r.$to:r.$from));{let i=Yl(t.state,e);return i?yn(t,i):!1}}}function ha(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function Li(t,e){let n=t.pmViewDesc;return n&&n.size==0&&(e<0||t.nextSibling||t.nodeName!="BR")}function Ar(t,e){return e<0?db(t):pb(t)}function db(t){let e=t.domSelectionRange(),n=e.focusNode,r=e.focusOffset;if(!n)return;let i,o,a=!1;for(Gt&&n.nodeType==1&&r0){if(n.nodeType!=1)break;{let s=n.childNodes[r-1];if(Li(s,-1))i=n,o=--r;else if(s.nodeType==3)n=s,r=n.nodeValue.length;else break}}else{if(rf(n))break;{let s=n.previousSibling;for(;s&&Li(s,-1);)i=n.parentNode,o=Xe(s),s=s.previousSibling;if(s)n=s,r=ha(n);else{if(n=n.parentNode,n==t.dom)break;r=0}}}a?zl(t,n,r):i&&zl(t,i,o)}function pb(t){let e=t.domSelectionRange(),n=e.focusNode,r=e.focusOffset;if(!n)return;let i=ha(n),o,a;for(;;)if(r{t.state==i&&hn(t)},50)}function Ad(t,e){let n=t.state.doc.resolve(e);if(!(rt||PS)&&n.parent.inlineContent){let i=t.coordsAtPos(e);if(e>n.start()){let o=t.coordsAtPos(e-1),a=(o.top+o.bottom)/2;if(a>i.top&&a1)return o.lefti.top&&a1)return o.left>i.left?"ltr":"rtl"}}return getComputedStyle(t.dom).direction=="rtl"?"rtl":"ltr"}function Id(t,e,n){let r=t.state.selection;if(r instanceof Z&&!r.empty||n.indexOf("s")>-1||It&&n.indexOf("m")>-1)return!1;let{$from:i,$to:o}=r;if(!i.parent.inlineContent||t.endOfTextblock(e<0?"up":"down")){let a=Yl(t.state,e);if(a&&a instanceof ee)return yn(t,a)}if(!i.parent.inlineContent){let a=e<0?i:o,s=r instanceof Dt?te.near(a,e):te.findFrom(a,e);return s?yn(t,s):!1}return!1}function xd(t,e){if(!(t.state.selection instanceof Z))return!0;let{$head:n,$anchor:r,empty:i}=t.state.selection;if(!n.sameParent(r))return!0;if(!i)return!1;if(t.endOfTextblock(e>0?"forward":"backward"))return!0;let o=!n.textOffset&&(e<0?n.nodeBefore:n.nodeAfter);if(o&&!o.isText){let a=t.state.tr;return e<0?a.delete(n.pos-o.nodeSize,n.pos):a.delete(n.pos,n.pos+o.nodeSize),t.dispatch(a),!0}return!1}function Dd(t,e,n){t.domObserver.stop(),e.contentEditable=n,t.domObserver.start()}function fb(t){if(!st||t.state.selection.$head.parentOffset>0)return!1;let{focusNode:e,focusOffset:n}=t.domSelectionRange();if(e&&e.nodeType==1&&n==0&&e.firstChild&&e.firstChild.contentEditable=="false"){let r=e.firstChild;Dd(t,r,"true"),setTimeout(()=>Dd(t,r,"false"),20)}return!1}function hb(t){let e="";return t.ctrlKey&&(e+="c"),t.metaKey&&(e+="m"),t.altKey&&(e+="a"),t.shiftKey&&(e+="s"),e}function gb(t,e){let n=e.keyCode,r=hb(e);if(n==8||It&&n==72&&r=="c")return xd(t,-1)||Ar(t,-1);if(n==46&&!e.shiftKey||It&&n==68&&r=="c")return xd(t,1)||Ar(t,1);if(n==13||n==27)return!0;if(n==37||It&&n==66&&r=="c"){let i=n==37?Ad(t,t.state.selection.from)=="ltr"?-1:1:-1;return Nd(t,i,r)||Ar(t,i)}else if(n==39||It&&n==70&&r=="c"){let i=n==39?Ad(t,t.state.selection.from)=="ltr"?1:-1:1;return Nd(t,i,r)||Ar(t,i)}else{if(n==38||It&&n==80&&r=="c")return Id(t,-1,r)||Ar(t,-1);if(n==40||It&&n==78&&r=="c")return fb(t)||Id(t,1,r)||Ar(t,1);if(r==(It?"m":"c")&&(n==66||n==73||n==89||n==90))return!0}return!1}function of(t,e){t.someProp("transformCopied",_=>{e=_(e,t)});let n=[],{content:r,openStart:i,openEnd:o}=e;for(;i>1&&o>1&&r.childCount==1&&r.firstChild.childCount==1;){i--,o--;let _=r.firstChild;n.push(_.type.name,_.attrs!=_.type.defaultAttrs?_.attrs:null),r=_.content}let a=t.someProp("clipboardSerializer")||Cr.fromSchema(t.state.schema),s=df(),l=s.createElement("div");l.appendChild(a.serializeFragment(r,{document:s}));let c=l.firstChild,u,d=0;for(;c&&c.nodeType==1&&(u=uf[c.nodeName.toLowerCase()]);){for(let _=u.length-1;_>=0;_--){let m=s.createElement(u[_]);for(;l.firstChild;)m.appendChild(l.firstChild);l.appendChild(m),d++}c=l.firstChild}c&&c.nodeType==1&&c.setAttribute("data-pm-slice",`${i} ${o}${d?` -${d}`:""} ${JSON.stringify(n)}`);let p=t.someProp("clipboardTextSerializer",_=>_(e,t))||e.content.textBetween(0,e.content.size,` + +`);return{dom:l,text:p,slice:e}}function af(t,e,n,r,i){let o=i.parent.type.spec.code,a,s;if(!n&&!e)return null;let l=e&&(r||o||!n);if(l){if(t.someProp("transformPastedText",p=>{e=p(e,o||r,t)}),o)return e?new H(w.from(t.state.schema.text(e.replace(/\r\n?/g,` +`))),0,0):H.empty;let d=t.someProp("clipboardTextParser",p=>p(e,i,r,t));if(d)s=d;else{let p=i.marks(),{schema:_}=t.state,m=Cr.fromSchema(_);a=document.createElement("div"),e.split(/(?:\r\n?|\n)+/).forEach(f=>{let h=a.appendChild(document.createElement("p"));f&&h.appendChild(m.serializeNode(_.text(f,p)))})}}else t.someProp("transformPastedHTML",d=>{n=d(n,t)}),a=Tb(n),mo&&Cb(a);let c=a&&a.querySelector("[data-pm-slice]"),u=c&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(c.getAttribute("data-pm-slice")||"");if(u&&u[3])for(let d=+u[3];d>0;d--){let p=a.firstChild;for(;p&&p.nodeType!=1;)p=p.nextSibling;if(!p)break;a=p}if(s||(s=(t.someProp("clipboardParser")||t.someProp("domParser")||Wr.fromSchema(t.state.schema)).parseSlice(a,{preserveWhitespace:!!(l||u),context:i,ruleFromNode(p){return p.nodeName=="BR"&&!p.nextSibling&&p.parentNode&&!Eb.test(p.parentNode.nodeName)?{ignore:!0}:null}})),u)s=yb(Md(s,+u[1],+u[2]),u[4]);else if(s=H.maxOpen(Sb(s.content,i),!0),s.openStart||s.openEnd){let d=0,p=0;for(let _=s.content.firstChild;d{s=d(s,t)}),s}const Eb=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function Sb(t,e){if(t.childCount<2)return t;for(let n=e.depth;n>=0;n--){let i=e.node(n).contentMatchAt(e.index(n)),o,a=[];if(t.forEach(s=>{if(!a)return;let l=i.findWrapping(s.type),c;if(!l)return a=null;if(c=a.length&&o.length&&lf(l,o,s,a[a.length-1],0))a[a.length-1]=c;else{a.length&&(a[a.length-1]=cf(a[a.length-1],o.length));let u=sf(s,l);a.push(u),i=i.matchType(u.type),o=l}}),a)return w.from(a)}return t}function sf(t,e,n=0){for(let r=e.length-1;r>=n;r--)t=e[r].create(null,w.from(t));return t}function lf(t,e,n,r,i){if(i1&&(o=0),i=n&&(s=e<0?a.contentMatchAt(0).fillBefore(s,o<=i).append(s):s.append(a.contentMatchAt(a.childCount).fillBefore(w.empty,!0))),t.replaceChild(e<0?0:t.childCount-1,a.copy(s))}function Md(t,e,n){return en})),zs.createHTML(t)):t}function Tb(t){let e=/^(\s*]*>)*/.exec(t);e&&(t=t.slice(e[0].length));let n=df().createElement("div"),r=/<([a-z][^>\s]+)/i.exec(t),i;if((i=r&&uf[r[1].toLowerCase()])&&(t=i.map(o=>"<"+o+">").join("")+t+i.map(o=>"").reverse().join("")),n.innerHTML=bb(t),i)for(let o=0;o=0;s-=2){let l=n.nodes[r[s]];if(!l||l.hasRequiredAttrs())break;i=w.from(l.create(r[s+1],i)),o++,a++}return new H(i,o,a)}const lt={},ct={},vb={touchstart:!0,touchmove:!0};class Rb{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:""},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastAndroidDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function Ob(t){for(let e in lt){let n=lt[e];t.dom.addEventListener(e,t.input.eventHandlers[e]=r=>{Ab(t,r)&&!Dc(t,r)&&(t.editable||!(r.type in ct))&&n(t,r)},vb[e]?{passive:!0}:void 0)}st&&t.dom.addEventListener("input",()=>null),ql(t)}function wn(t,e){t.input.lastSelectionOrigin=e,t.input.lastSelectionTime=Date.now()}function Nb(t){t.domObserver.stop();for(let e in t.input.eventHandlers)t.dom.removeEventListener(e,t.input.eventHandlers[e]);clearTimeout(t.input.composingTimeout),clearTimeout(t.input.lastIOSEnterFallbackTimeout)}function ql(t){t.someProp("handleDOMEvents",e=>{for(let n in e)t.input.eventHandlers[n]||t.dom.addEventListener(n,t.input.eventHandlers[n]=r=>Dc(t,r))})}function Dc(t,e){return t.someProp("handleDOMEvents",n=>{let r=n[e.type];return r?r(t,e)||e.defaultPrevented:!1})}function Ab(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let n=e.target;n!=t.dom;n=n.parentNode)if(!n||n.nodeType==11||n.pmViewDesc&&n.pmViewDesc.stopEvent(e))return!1;return!0}function Ib(t,e){!Dc(t,e)&<[e.type]&&(t.editable||!(e.type in ct))&<[e.type](t,e)}ct.keydown=(t,e)=>{let n=e;if(t.input.shiftKey=n.keyCode==16||n.shiftKey,!_f(t,n)&&(t.input.lastKeyCode=n.keyCode,t.input.lastKeyCodeTime=Date.now(),!(Ut&&rt&&n.keyCode==13)))if(n.keyCode!=229&&t.domObserver.forceFlush(),ti&&n.keyCode==13&&!n.ctrlKey&&!n.altKey&&!n.metaKey){let r=Date.now();t.input.lastIOSEnter=r,t.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{t.input.lastIOSEnter==r&&(t.someProp("handleKeyDown",i=>i(t,Jn(13,"Enter"))),t.input.lastIOSEnter=0)},200)}else t.someProp("handleKeyDown",r=>r(t,n))||gb(t,n)?n.preventDefault():wn(t,"key")};ct.keyup=(t,e)=>{e.keyCode==16&&(t.input.shiftKey=!1)};ct.keypress=(t,e)=>{let n=e;if(_f(t,n)||!n.charCode||n.ctrlKey&&!n.altKey||It&&n.metaKey)return;if(t.someProp("handleKeyPress",i=>i(t,n))){n.preventDefault();return}let r=t.state.selection;if(!(r instanceof Z)||!r.$from.sameParent(r.$to)){let i=String.fromCharCode(n.charCode);!/[\r\n]/.test(i)&&!t.someProp("handleTextInput",o=>o(t,r.$from.pos,r.$to.pos,i))&&t.dispatch(t.state.tr.insertText(i).scrollIntoView()),n.preventDefault()}};function cs(t){return{left:t.clientX,top:t.clientY}}function xb(t,e){let n=e.x-t.clientX,r=e.y-t.clientY;return n*n+r*r<100}function Mc(t,e,n,r,i){if(r==-1)return!1;let o=t.state.doc.resolve(r);for(let a=o.depth+1;a>0;a--)if(t.someProp(e,s=>a>o.depth?s(t,n,o.nodeAfter,o.before(a),i,!0):s(t,n,o.node(a),o.before(a),i,!1)))return!0;return!1}function Xr(t,e,n){if(t.focused||t.focus(),t.state.selection.eq(e))return;let r=t.state.tr.setSelection(e);r.setMeta("pointer",!0),t.dispatch(r)}function Db(t,e){if(e==-1)return!1;let n=t.state.doc.resolve(e),r=n.nodeAfter;return r&&r.isAtom&&ee.isSelectable(r)?(Xr(t,new ee(n)),!0):!1}function Mb(t,e){if(e==-1)return!1;let n=t.state.selection,r,i;n instanceof ee&&(r=n.node);let o=t.state.doc.resolve(e);for(let a=o.depth+1;a>0;a--){let s=a>o.depth?o.nodeAfter:o.node(a);if(ee.isSelectable(s)){r&&n.$from.depth>0&&a>=n.$from.depth&&o.before(n.$from.depth+1)==n.$from.pos?i=o.before(n.$from.depth):i=o.before(a);break}}return i!=null?(Xr(t,ee.create(t.state.doc,i)),!0):!1}function wb(t,e,n,r,i){return Mc(t,"handleClickOn",e,n,r)||t.someProp("handleClick",o=>o(t,e,r))||(i?Mb(t,n):Db(t,n))}function Lb(t,e,n,r){return Mc(t,"handleDoubleClickOn",e,n,r)||t.someProp("handleDoubleClick",i=>i(t,e,r))}function kb(t,e,n,r){return Mc(t,"handleTripleClickOn",e,n,r)||t.someProp("handleTripleClick",i=>i(t,e,r))||Pb(t,n,r)}function Pb(t,e,n){if(n.button!=0)return!1;let r=t.state.doc;if(e==-1)return r.inlineContent?(Xr(t,Z.create(r,0,r.content.size)),!0):!1;let i=r.resolve(e);for(let o=i.depth+1;o>0;o--){let a=o>i.depth?i.nodeAfter:i.node(o),s=i.before(o);if(a.inlineContent)Xr(t,Z.create(r,s+1,s+1+a.content.size));else if(ee.isSelectable(a))Xr(t,ee.create(r,s));else continue;return!0}}function wc(t){return ga(t)}const pf=It?"metaKey":"ctrlKey";lt.mousedown=(t,e)=>{let n=e;t.input.shiftKey=n.shiftKey;let r=wc(t),i=Date.now(),o="singleClick";i-t.input.lastClick.time<500&&xb(n,t.input.lastClick)&&!n[pf]&&(t.input.lastClick.type=="singleClick"?o="doubleClick":t.input.lastClick.type=="doubleClick"&&(o="tripleClick")),t.input.lastClick={time:i,x:n.clientX,y:n.clientY,type:o};let a=t.posAtCoords(cs(n));a&&(o=="singleClick"?(t.input.mouseDown&&t.input.mouseDown.done(),t.input.mouseDown=new Fb(t,a,n,!!r)):(o=="doubleClick"?Lb:kb)(t,a.pos,a.inside,n)?n.preventDefault():wn(t,"pointer"))};class Fb{constructor(e,n,r,i){this.view=e,this.pos=n,this.event=r,this.flushed=i,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=e.state.doc,this.selectNode=!!r[pf],this.allowDefault=r.shiftKey;let o,a;if(n.inside>-1)o=e.state.doc.nodeAt(n.inside),a=n.inside;else{let u=e.state.doc.resolve(n.pos);o=u.parent,a=u.depth?u.before():0}const s=i?null:r.target,l=s?e.docView.nearestDesc(s,!0):null;this.target=l&&l.dom.nodeType==1?l.dom:null;let{selection:c}=e.state;(r.button==0&&o.type.spec.draggable&&o.type.spec.selectable!==!1||c instanceof ee&&c.from<=a&&c.to>a)&&(this.mightDrag={node:o,pos:a,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&Gt&&!this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),e.root.addEventListener("mouseup",this.up=this.up.bind(this)),e.root.addEventListener("mousemove",this.move=this.move.bind(this)),wn(e,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>hn(this.view)),this.view.input.mouseDown=null}up(e){if(this.done(),!this.view.dom.contains(e.target))return;let n=this.pos;this.view.state.doc!=this.startDoc&&(n=this.view.posAtCoords(cs(e))),this.updateAllowDefault(e),this.allowDefault||!n?wn(this.view,"pointer"):wb(this.view,n.pos,n.inside,e,this.selectNode)?e.preventDefault():e.button==0&&(this.flushed||st&&this.mightDrag&&!this.mightDrag.node.isAtom||rt&&!this.view.state.selection.visible&&Math.min(Math.abs(n.pos-this.view.state.selection.from),Math.abs(n.pos-this.view.state.selection.to))<=2)?(Xr(this.view,te.near(this.view.state.doc.resolve(n.pos))),e.preventDefault()):wn(this.view,"pointer")}move(e){this.updateAllowDefault(e),wn(this.view,"pointer"),e.buttons==0&&this.done()}updateAllowDefault(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}}lt.touchstart=t=>{t.input.lastTouch=Date.now(),wc(t),wn(t,"pointer")};lt.touchmove=t=>{t.input.lastTouch=Date.now(),wn(t,"pointer")};lt.contextmenu=t=>wc(t);function _f(t,e){return t.composing?!0:st&&Math.abs(e.timeStamp-t.input.compositionEndedAt)<500?(t.input.compositionEndedAt=-2e8,!0):!1}const Bb=Ut?5e3:-1;ct.compositionstart=ct.compositionupdate=t=>{if(!t.composing){t.domObserver.flush();let{state:e}=t,n=e.selection.$to;if(e.selection instanceof Z&&(e.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some(r=>r.type.spec.inclusive===!1)))t.markCursor=t.state.storedMarks||n.marks(),ga(t,!0),t.markCursor=null;else if(ga(t,!e.selection.empty),Gt&&e.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let r=t.domSelectionRange();for(let i=r.focusNode,o=r.focusOffset;i&&i.nodeType==1&&o!=0;){let a=o<0?i.lastChild:i.childNodes[o-1];if(!a)break;if(a.nodeType==3){let s=t.domSelection();s&&s.collapse(a,a.nodeValue.length);break}else i=a,o=-1}}t.input.composing=!0}mf(t,Bb)};ct.compositionend=(t,e)=>{t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=e.timeStamp,t.input.compositionPendingChanges=t.domObserver.pendingRecords().length?t.input.compositionID:0,t.input.compositionNode=null,t.input.compositionPendingChanges&&Promise.resolve().then(()=>t.domObserver.flush()),t.input.compositionID++,mf(t,20))};function mf(t,e){clearTimeout(t.input.composingTimeout),e>-1&&(t.input.composingTimeout=setTimeout(()=>ga(t),e))}function ff(t){for(t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=Hb());t.input.compositionNodes.length>0;)t.input.compositionNodes.pop().markParentsDirty()}function Ub(t){let e=t.domSelectionRange();if(!e.focusNode)return null;let n=DS(e.focusNode,e.focusOffset),r=MS(e.focusNode,e.focusOffset);if(n&&r&&n!=r){let i=r.pmViewDesc,o=t.domObserver.lastChangedTextNode;if(n==o||r==o)return o;if(!i||!i.isText(r.nodeValue))return r;if(t.input.compositionNode==r){let a=n.pmViewDesc;if(!(!a||!a.isText(n.nodeValue)))return r}}return n||r}function Hb(){let t=document.createEvent("Event");return t.initEvent("event",!0,!0),t.timeStamp}function ga(t,e=!1){if(!(Ut&&t.domObserver.flushingSoon>=0)){if(t.domObserver.forceFlush(),ff(t),e||t.docView&&t.docView.dirty){let n=Ic(t);return n&&!n.eq(t.state.selection)?t.dispatch(t.state.tr.setSelection(n)):(t.markCursor||e)&&!t.state.selection.empty?t.dispatch(t.state.tr.deleteSelection()):t.updateState(t.state),!0}return!1}}function Gb(t,e){if(!t.dom.parentNode)return;let n=t.dom.parentNode.appendChild(document.createElement("div"));n.appendChild(e),n.style.cssText="position: fixed; left: -10000px; top: 10px";let r=getSelection(),i=document.createRange();i.selectNodeContents(e),t.dom.blur(),r.removeAllRanges(),r.addRange(i),setTimeout(()=>{n.parentNode&&n.parentNode.removeChild(n),t.focus()},50)}const qi=pt&&Un<15||ti&&FS<604;lt.copy=ct.cut=(t,e)=>{let n=e,r=t.state.selection,i=n.type=="cut";if(r.empty)return;let o=qi?null:n.clipboardData,a=r.content(),{dom:s,text:l}=of(t,a);o?(n.preventDefault(),o.clearData(),o.setData("text/html",s.innerHTML),o.setData("text/plain",l)):Gb(t,s),i&&t.dispatch(t.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function Vb(t){return t.openStart==0&&t.openEnd==0&&t.content.childCount==1?t.content.firstChild:null}function Yb(t,e){if(!t.dom.parentNode)return;let n=t.input.shiftKey||t.state.selection.$from.parent.type.spec.code,r=t.dom.parentNode.appendChild(document.createElement(n?"textarea":"div"));n||(r.contentEditable="true"),r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus();let i=t.input.shiftKey&&t.input.lastKeyCode!=45;setTimeout(()=>{t.focus(),r.parentNode&&r.parentNode.removeChild(r),n?Wi(t,r.value,null,i,e):Wi(t,r.textContent,r.innerHTML,i,e)},50)}function Wi(t,e,n,r,i){let o=af(t,e,n,r,t.state.selection.$from);if(t.someProp("handlePaste",l=>l(t,i,o||H.empty)))return!0;if(!o)return!1;let a=Vb(o),s=a?t.state.tr.replaceSelectionWith(a,r):t.state.tr.replaceSelection(o);return t.dispatch(s.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function hf(t){let e=t.getData("text/plain")||t.getData("Text");if(e)return e;let n=t.getData("text/uri-list");return n?n.replace(/\r?\n/g," "):""}ct.paste=(t,e)=>{let n=e;if(t.composing&&!Ut)return;let r=qi?null:n.clipboardData,i=t.input.shiftKey&&t.input.lastKeyCode!=45;r&&Wi(t,hf(r),r.getData("text/html"),i,n)?n.preventDefault():Yb(t,n)};class gf{constructor(e,n,r){this.slice=e,this.move=n,this.node=r}}const Ef=It?"altKey":"ctrlKey";lt.dragstart=(t,e)=>{let n=e,r=t.input.mouseDown;if(r&&r.done(),!n.dataTransfer)return;let i=t.state.selection,o=i.empty?null:t.posAtCoords(cs(n)),a;if(!(o&&o.pos>=i.from&&o.pos<=(i instanceof ee?i.to-1:i.to))){if(r&&r.mightDrag)a=ee.create(t.state.doc,r.mightDrag.pos);else if(n.target&&n.target.nodeType==1){let d=t.docView.nearestDesc(n.target,!0);d&&d.node.type.spec.draggable&&d!=t.docView&&(a=ee.create(t.state.doc,d.posBefore))}}let s=(a||t.state.selection).content(),{dom:l,text:c,slice:u}=of(t,s);(!n.dataTransfer.files.length||!rt||Vm>120)&&n.dataTransfer.clearData(),n.dataTransfer.setData(qi?"Text":"text/html",l.innerHTML),n.dataTransfer.effectAllowed="copyMove",qi||n.dataTransfer.setData("text/plain",c),t.dragging=new gf(u,!n[Ef],a)};lt.dragend=t=>{let e=t.dragging;window.setTimeout(()=>{t.dragging==e&&(t.dragging=null)},50)};ct.dragover=ct.dragenter=(t,e)=>e.preventDefault();ct.drop=(t,e)=>{let n=e,r=t.dragging;if(t.dragging=null,!n.dataTransfer)return;let i=t.posAtCoords(cs(n));if(!i)return;let o=t.state.doc.resolve(i.pos),a=r&&r.slice;a?t.someProp("transformPasted",m=>{a=m(a,t)}):a=af(t,hf(n.dataTransfer),qi?null:n.dataTransfer.getData("text/html"),!1,o);let s=!!(r&&!n[Ef]);if(t.someProp("handleDrop",m=>m(t,n,a||H.empty,s))){n.preventDefault();return}if(!a)return;n.preventDefault();let l=a?wm(t.state.doc,o.pos,a):o.pos;l==null&&(l=o.pos);let c=t.state.tr;if(s){let{node:m}=r;m?m.replace(c):c.deleteSelection()}let u=c.mapping.map(l),d=a.openStart==0&&a.openEnd==0&&a.content.childCount==1,p=c.doc;if(d?c.replaceRangeWith(u,u,a.content.firstChild):c.replaceRange(u,u,a),c.doc.eq(p))return;let _=c.doc.resolve(u);if(d&&ee.isSelectable(a.content.firstChild)&&_.nodeAfter&&_.nodeAfter.sameMarkup(a.content.firstChild))c.setSelection(new ee(_));else{let m=c.mapping.map(l);c.mapping.maps[c.mapping.maps.length-1].forEach((f,h,E,S)=>m=S),c.setSelection(xc(t,_,c.doc.resolve(m)))}t.focus(),t.dispatch(c.setMeta("uiEvent","drop"))};lt.focus=t=>{t.input.lastFocus=Date.now(),t.focused||(t.domObserver.stop(),t.dom.classList.add("ProseMirror-focused"),t.domObserver.start(),t.focused=!0,setTimeout(()=>{t.docView&&t.hasFocus()&&!t.domObserver.currentSelection.eq(t.domSelectionRange())&&hn(t)},20))};lt.blur=(t,e)=>{let n=e;t.focused&&(t.domObserver.stop(),t.dom.classList.remove("ProseMirror-focused"),t.domObserver.start(),n.relatedTarget&&t.dom.contains(n.relatedTarget)&&t.domObserver.currentSelection.clear(),t.focused=!1)};lt.beforeinput=(t,e)=>{if(rt&&Ut&&e.inputType=="deleteContentBackward"){t.domObserver.flushSoon();let{domChangeCount:r}=t.input;setTimeout(()=>{if(t.input.domChangeCount!=r||(t.dom.blur(),t.focus(),t.someProp("handleKeyDown",o=>o(t,Jn(8,"Backspace")))))return;let{$cursor:i}=t.state.selection;i&&i.pos>0&&t.dispatch(t.state.tr.delete(i.pos-1,i.pos).scrollIntoView())},50)}};for(let t in ct)lt[t]=ct[t];function Ki(t,e){if(t==e)return!0;for(let n in t)if(t[n]!==e[n])return!1;for(let n in e)if(!(n in t))return!1;return!0}class Ea{constructor(e,n){this.toDOM=e,this.spec=n||lr,this.side=this.spec.side||0}map(e,n,r,i){let{pos:o,deleted:a}=e.mapResult(n.from+i,this.side<0?-1:1);return a?null:new ke(o-r,o-r,this)}valid(){return!0}eq(e){return this==e||e instanceof Ea&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&Ki(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}}class Gn{constructor(e,n){this.attrs=e,this.spec=n||lr}map(e,n,r,i){let o=e.map(n.from+i,this.spec.inclusiveStart?-1:1)-r,a=e.map(n.to+i,this.spec.inclusiveEnd?1:-1)-r;return o>=a?null:new ke(o,a,this)}valid(e,n){return n.from=e&&(!o||o(s.spec))&&r.push(s.copy(s.from+i,s.to+i))}for(let a=0;ae){let s=this.children[a]+1;this.children[a+2].findInner(e-s,n-s,r,i+s,o)}}map(e,n,r){return this==nt||e.maps.length==0?this:this.mapInner(e,n,0,0,r||lr)}mapInner(e,n,r,i,o){let a;for(let s=0;s{let c=l+r,u;if(u=bf(n,s,c)){for(i||(i=this.children.slice());os&&d.to=e){this.children[s]==e&&(r=this.children[s+2]);break}let o=e+1,a=o+n.content.size;for(let s=0;so&&l.type instanceof Gn){let c=Math.max(o,l.from)-o,u=Math.min(a,l.to)-o;ci.map(e,n,lr));return Nn.from(r)}forChild(e,n){if(n.isLeaf)return be.empty;let r=[];for(let i=0;in instanceof be)?e:e.reduce((n,r)=>n.concat(r instanceof be?r:r.members),[]))}}forEachSet(e){for(let n=0;n{let h=f-m-(_-p);for(let E=0;ES+u-d)continue;let b=s[E]+u-d;_>=b?s[E+1]=p<=b?-2:-1:p>=u&&h&&(s[E]+=h,s[E+1]+=h)}d+=h}),u=n.maps[c].map(u,-1)}let l=!1;for(let c=0;c=r.content.size){l=!0;continue}let p=n.map(t[c+1]+o,-1),_=p-i,{index:m,offset:f}=r.content.findIndex(d),h=r.maybeChild(m);if(h&&f==d&&f+h.nodeSize==_){let E=s[c+2].mapInner(n,h,u+1,t[c]+o+1,a);E!=nt?(s[c]=d,s[c+1]=_,s[c+2]=E):(s[c+1]=-2,l=!0)}else l=!0}if(l){let c=$b(s,t,e,n,i,o,a),u=Sa(c,r,0,a);e=u.local;for(let d=0;dn&&a.to{let c=bf(t,s,l+n);if(c){o=!0;let u=Sa(c,s,n+l+1,r);u!=nt&&i.push(l,l+s.nodeSize,u)}});let a=Sf(o?Tf(t):t,-n).sort(cr);for(let s=0;s0;)e++;t.splice(e,0,n)}function $s(t){let e=[];return t.someProp("decorations",n=>{let r=n(t.state);r&&r!=nt&&e.push(r)}),t.cursorWrapper&&e.push(be.create(t.state.doc,[t.cursorWrapper.deco])),Nn.from(e)}const qb={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},Wb=pt&&Un<=11;class Kb{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}}class Qb{constructor(e,n){this.view=e,this.handleDOMChange=n,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new Kb,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.lastChangedTextNode=null,this.observer=window.MutationObserver&&new window.MutationObserver(r=>{for(let i=0;ii.type=="childList"&&i.removedNodes.length||i.type=="characterData"&&i.oldValue.length>i.target.nodeValue.length)?this.flushSoon():this.flush()}),Wb&&(this.onCharData=r=>{this.queue.push({target:r.target,type:"characterData",oldValue:r.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,qb)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let e=this.observer.takeRecords();if(e.length){for(let n=0;nthis.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(Od(this.view)){if(this.suppressingSelectionUpdates)return hn(this.view);if(pt&&Un<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&fr(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(e){if(!e.focusNode)return!0;let n=new Set,r;for(let o=e.focusNode;o;o=$i(o))n.add(o);for(let o=e.anchorNode;o;o=$i(o))if(n.has(o)){r=o;break}let i=r&&this.view.docView.nearestDesc(r);if(i&&i.ignoreMutation({type:"selection",target:r.nodeType==3?r.parentNode:r}))return this.setCurSelection(),!0}pendingRecords(){if(this.observer)for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}flush(){let{view:e}=this;if(!e.docView||this.flushingSoon>-1)return;let n=this.pendingRecords();n.length&&(this.queue=[]);let r=e.domSelectionRange(),i=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(r)&&Od(e)&&!this.ignoreSelectionChange(r),o=-1,a=-1,s=!1,l=[];if(e.editable)for(let u=0;ud.nodeName=="BR");if(u.length==2){let[d,p]=u;d.parentNode&&d.parentNode.parentNode==p.parentNode?p.remove():d.remove()}else{let{focusNode:d}=this.currentSelection;for(let p of u){let _=p.parentNode;_&&_.nodeName=="LI"&&(!d||jb(e,d)!=_)&&p.remove()}}}let c=null;o<0&&i&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)-1||i)&&(o>-1&&(e.docView.markDirty(o,a),Zb(e)),this.handleDOMChange(o,a,s,l),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(r)||hn(e),this.currentSelection.set(r))}registerMutation(e,n){if(n.indexOf(e.target)>-1)return null;let r=this.view.docView.nearestDesc(e.target);if(e.type=="attributes"&&(r==this.view.docView||e.attributeName=="contenteditable"||e.attributeName=="style"&&!e.oldValue&&!e.target.getAttribute("style"))||!r||r.ignoreMutation(e))return null;if(e.type=="childList"){for(let u=0;ui;h--){let E=r.childNodes[h-1],S=E.pmViewDesc;if(E.nodeName=="BR"&&!S){o=h;break}if(!S||S.size)break}let d=t.state.doc,p=t.someProp("domParser")||Wr.fromSchema(t.state.schema),_=d.resolve(a),m=null,f=p.parse(r,{topNode:_.parent,topMatch:_.parent.contentMatchAt(_.index()),topOpen:!0,from:i,to:o,preserveWhitespace:_.parent.type.whitespace=="pre"?"full":!0,findPositions:c,ruleFromNode:e0,context:_});if(c&&c[0].pos!=null){let h=c[0].pos,E=c[1]&&c[1].pos;E==null&&(E=h),m={anchor:h+a,head:E+a}}return{doc:f,sel:m,from:a,to:s}}function e0(t){let e=t.pmViewDesc;if(e)return e.parseRule();if(t.nodeName=="BR"&&t.parentNode){if(st&&/^(ul|ol)$/i.test(t.parentNode.nodeName)){let n=document.createElement("div");return n.appendChild(document.createElement("li")),{skip:n}}else if(t.parentNode.lastChild==t||st&&/^(tr|table)$/i.test(t.parentNode.nodeName))return{ignore:!0}}else if(t.nodeName=="IMG"&&t.getAttribute("mark-placeholder"))return{ignore:!0};return null}const t0=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function n0(t,e,n,r,i){let o=t.input.compositionPendingChanges||(t.composing?t.input.compositionID:0);if(t.input.compositionPendingChanges=0,e<0){let O=t.input.lastSelectionTime>Date.now()-50?t.input.lastSelectionOrigin:null,M=Ic(t,O);if(M&&!t.state.selection.eq(M)){if(rt&&Ut&&t.input.lastKeyCode===13&&Date.now()-100Y(t,Jn(13,"Enter"))))return;let B=t.state.tr.setSelection(M);O=="pointer"?B.setMeta("pointer",!0):O=="key"&&B.scrollIntoView(),o&&B.setMeta("composition",o),t.dispatch(B)}return}let a=t.state.doc.resolve(e),s=a.sharedDepth(n);e=a.before(s+1),n=t.state.doc.resolve(n).after(s+1);let l=t.state.selection,c=Jb(t,e,n),u=t.state.doc,d=u.slice(c.from,c.to),p,_;t.input.lastKeyCode===8&&Date.now()-100Date.now()-225||Ut)&&i.some(O=>O.nodeType==1&&!t0.test(O.nodeName))&&(!m||m.endA>=m.endB)&&t.someProp("handleKeyDown",O=>O(t,Jn(13,"Enter")))){t.input.lastIOSEnter=0;return}if(!m)if(r&&l instanceof Z&&!l.empty&&l.$head.sameParent(l.$anchor)&&!t.composing&&!(c.sel&&c.sel.anchor!=c.sel.head))m={start:l.from,endA:l.to,endB:l.to};else{if(c.sel){let O=Bd(t,t.state.doc,c.sel);if(O&&!O.eq(t.state.selection)){let M=t.state.tr.setSelection(O);o&&M.setMeta("composition",o),t.dispatch(M)}}return}t.state.selection.fromt.state.selection.from&&m.start<=t.state.selection.from+2&&t.state.selection.from>=c.from?m.start=t.state.selection.from:m.endA=t.state.selection.to-2&&t.state.selection.to<=c.to&&(m.endB+=t.state.selection.to-m.endA,m.endA=t.state.selection.to)),pt&&Un<=11&&m.endB==m.start+1&&m.endA==m.start&&m.start>c.from&&c.doc.textBetween(m.start-c.from-1,m.start-c.from+1)=="  "&&(m.start--,m.endA--,m.endB--);let f=c.doc.resolveNoCache(m.start-c.from),h=c.doc.resolveNoCache(m.endB-c.from),E=u.resolve(m.start),S=f.sameParent(h)&&f.parent.inlineContent&&E.end()>=m.endA,b;if((ti&&t.input.lastIOSEnter>Date.now()-225&&(!S||i.some(O=>O.nodeName=="DIV"||O.nodeName=="P"))||!S&&f.posO(t,Jn(13,"Enter")))){t.input.lastIOSEnter=0;return}if(t.state.selection.anchor>m.start&&i0(u,m.start,m.endA,f,h)&&t.someProp("handleKeyDown",O=>O(t,Jn(8,"Backspace")))){Ut&&rt&&t.domObserver.suppressSelectionUpdates();return}rt&&Ut&&m.endB==m.start&&(t.input.lastAndroidDelete=Date.now()),Ut&&!S&&f.start()!=h.start()&&h.parentOffset==0&&f.depth==h.depth&&c.sel&&c.sel.anchor==c.sel.head&&c.sel.head==m.endA&&(m.endB-=2,h=c.doc.resolveNoCache(m.endB-c.from),setTimeout(()=>{t.someProp("handleKeyDown",function(O){return O(t,Jn(13,"Enter"))})},20));let g=m.start,C=m.endA,T,R,x;if(S){if(f.pos==h.pos)pt&&Un<=11&&f.parentOffset==0&&(t.domObserver.suppressSelectionUpdates(),setTimeout(()=>hn(t),20)),T=t.state.tr.delete(g,C),R=u.resolve(m.start).marksAcross(u.resolve(m.endA));else if(m.endA==m.endB&&(x=r0(f.parent.content.cut(f.parentOffset,h.parentOffset),E.parent.content.cut(E.parentOffset,m.endA-E.start()))))T=t.state.tr,x.type=="add"?T.addMark(g,C,x.mark):T.removeMark(g,C,x.mark);else if(f.parent.child(f.index()).isText&&f.index()==h.index()-(h.textOffset?0:1)){let O=f.parent.textBetween(f.parentOffset,h.parentOffset);if(t.someProp("handleTextInput",M=>M(t,g,C,O)))return;T=t.state.tr.insertText(O,g,C)}}if(T||(T=t.state.tr.replace(g,C,c.doc.slice(m.start-c.from,m.endB-c.from))),c.sel){let O=Bd(t,T.doc,c.sel);O&&!(rt&&Ut&&t.composing&&O.empty&&(m.start!=m.endB||t.input.lastAndroidDeletee.content.size?null:xc(t,e.resolve(n.anchor),e.resolve(n.head))}function r0(t,e){let n=t.firstChild.marks,r=e.firstChild.marks,i=n,o=r,a,s,l;for(let u=0;uu.mark(s.addToSet(u.marks));else if(i.length==0&&o.length==1)s=o[0],a="remove",l=u=>u.mark(s.removeFromSet(u.marks));else return null;let c=[];for(let u=0;un||qs(a,!0,!1)0&&(e||t.indexAfter(r)==t.node(r).childCount);)r--,i++,e=!1;if(n){let o=t.node(r).maybeChild(t.indexAfter(r));for(;o&&!o.isLeaf;)o=o.firstChild,i++}return i}function o0(t,e,n,r,i){let o=t.findDiffStart(e,n);if(o==null)return null;let{a,b:s}=t.findDiffEnd(e,n+t.size,n+e.size);if(i=="end"){let l=Math.max(0,o-Math.min(a,s));r-=a+l-o}if(a=a?o-r:0;o-=l,o&&o=s?o-r:0;o-=l,o&&o=56320&&e<=57343&&n>=55296&&n<=56319}class a0{constructor(e,n){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new Rb,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=n,this.state=n.state,this.directPlugins=n.plugins||[],this.directPlugins.forEach(zd),this.dispatch=this.dispatch.bind(this),this.dom=e&&e.mount||document.createElement("div"),e&&(e.appendChild?e.appendChild(this.dom):typeof e=="function"?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=Vd(this),Gd(this),this.nodeViews=Yd(this),this.docView=bd(this.state.doc,Hd(this),$s(this),this.dom,this),this.domObserver=new Qb(this,(r,i,o,a)=>n0(this,r,i,o,a)),this.domObserver.start(),Ob(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let e=this._props;this._props={};for(let n in e)this._props[n]=e[n];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&ql(this);let n=this._props;this._props=e,e.plugins&&(e.plugins.forEach(zd),this.directPlugins=e.plugins),this.updateStateInner(e.state,n)}setProps(e){let n={};for(let r in this._props)n[r]=this._props[r];n.state=this.state;for(let r in e)n[r]=e[r];this.update(n)}updateState(e){this.updateStateInner(e,this._props)}updateStateInner(e,n){var r;let i=this.state,o=!1,a=!1;e.storedMarks&&this.composing&&(ff(this),a=!0),this.state=e;let s=i.plugins!=e.plugins||this._props.plugins!=n.plugins;if(s||this._props.plugins!=n.plugins||this._props.nodeViews!=n.nodeViews){let _=Yd(this);l0(_,this.nodeViews)&&(this.nodeViews=_,o=!0)}(s||n.handleDOMEvents!=this._props.handleDOMEvents)&&ql(this),this.editable=Vd(this),Gd(this);let l=$s(this),c=Hd(this),u=i.plugins!=e.plugins&&!i.doc.eq(e.doc)?"reset":e.scrollToSelection>i.scrollToSelection?"to selection":"preserve",d=o||!this.docView.matchesNode(e.doc,c,l);(d||!e.selection.eq(i.selection))&&(a=!0);let p=u=="preserve"&&a&&this.dom.style.overflowAnchor==null&&HS(this);if(a){this.domObserver.stop();let _=d&&(pt||rt)&&!this.composing&&!i.selection.empty&&!e.selection.empty&&s0(i.selection,e.selection);if(d){let m=rt?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=Ub(this)),(o||!this.docView.update(e.doc,c,l,this))&&(this.docView.updateOuterDeco(c),this.docView.destroy(),this.docView=bd(e.doc,c,l,this.dom,this)),m&&!this.trackWrites&&(_=!0)}_||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&ub(this))?hn(this,_):(tf(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(i),!((r=this.dragging)===null||r===void 0)&&r.node&&!i.doc.eq(e.doc)&&this.updateDraggedNode(this.dragging,i),u=="reset"?this.dom.scrollTop=0:u=="to selection"?this.scrollToSelection():p&&GS(p)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(!this.someProp("handleScrollToSelection",n=>n(this)))if(this.state.selection instanceof ee){let n=this.docView.domAfterPos(this.state.selection.from);n.nodeType==1&&md(this,n.getBoundingClientRect(),e)}else md(this,this.coordsAtPos(this.state.selection.head,1),e)}destroyPluginViews(){let e;for(;e=this.pluginViews.pop();)e.destroy&&e.destroy()}updatePluginViews(e){if(!e||e.plugins!=this.state.plugins||this.directPlugins!=this.prevDirectPlugins){this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let n=0;n0&&this.state.doc.nodeAt(o))==r.node&&(i=o)}this.dragging=new gf(e.slice,e.move,i<0?void 0:ee.create(this.state.doc,i))}someProp(e,n){let r=this._props&&this._props[e],i;if(r!=null&&(i=n?n(r):r))return i;for(let a=0;an.ownerDocument.getSelection()),this._root=n}return e||document}updateRoot(){this._root=null}posAtCoords(e){return WS(this,e)}coordsAtPos(e,n=1){return Wm(this,e,n)}domAtPos(e,n=0){return this.docView.domFromPos(e,n)}nodeDOM(e){let n=this.docView.descAt(e);return n?n.nodeDOM:null}posAtDOM(e,n,r=-1){let i=this.docView.posFromDOM(e,n,r);if(i==null)throw new RangeError("DOM position not inside the editor");return i}endOfTextblock(e,n){return jS(this,n||this.state,e)}pasteHTML(e,n){return Wi(this,"",e,!1,n||new ClipboardEvent("paste"))}pasteText(e,n){return Wi(this,e,null,!0,n||new ClipboardEvent("paste"))}destroy(){this.docView&&(Nb(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],$s(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,IS())}get isDestroyed(){return this.docView==null}dispatchEvent(e){return Ib(this,e)}dispatch(e){let n=this._props.dispatchTransaction;n?n.call(this,e):this.updateState(this.state.apply(e))}domSelectionRange(){let e=this.domSelection();return e?st&&this.root.nodeType===11&&LS(this.dom.ownerDocument)==this.dom&&Xb(this,e)||e:{focusNode:null,focusOffset:0,anchorNode:null,anchorOffset:0}}domSelection(){return this.root.getSelection()}}function Hd(t){let e=Object.create(null);return e.class="ProseMirror",e.contenteditable=String(t.editable),t.someProp("attributes",n=>{if(typeof n=="function"&&(n=n(t.state)),n)for(let r in n)r=="class"?e.class+=" "+n[r]:r=="style"?e.style=(e.style?e.style+";":"")+n[r]:!e[r]&&r!="contenteditable"&&r!="nodeName"&&(e[r]=String(n[r]))}),e.translate||(e.translate="no"),[ke.node(0,t.state.doc.content.size,e)]}function Gd(t){if(t.markCursor){let e=document.createElement("img");e.className="ProseMirror-separator",e.setAttribute("mark-placeholder","true"),e.setAttribute("alt",""),t.cursorWrapper={dom:e,deco:ke.widget(t.state.selection.from,e,{raw:!0,marks:t.markCursor})}}else t.cursorWrapper=null}function Vd(t){return!t.someProp("editable",e=>e(t.state)===!1)}function s0(t,e){let n=Math.min(t.$anchor.sharedDepth(t.head),e.$anchor.sharedDepth(e.head));return t.$anchor.start(n)!=e.$anchor.start(n)}function Yd(t){let e=Object.create(null);function n(r){for(let i in r)Object.prototype.hasOwnProperty.call(e,i)||(e[i]=r[i])}return t.someProp("nodeViews",n),t.someProp("markViews",n),e}function l0(t,e){let n=0,r=0;for(let i in t){if(t[i]!=e[i])return!0;n++}for(let i in e)r++;return n!=r}function zd(t){if(t.spec.state||t.spec.filterTransaction||t.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}var Vn={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},ba={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},c0=typeof navigator<"u"&&/Mac/.test(navigator.platform),u0=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var je=0;je<10;je++)Vn[48+je]=Vn[96+je]=String(je);for(var je=1;je<=24;je++)Vn[je+111]="F"+je;for(var je=65;je<=90;je++)Vn[je]=String.fromCharCode(je+32),ba[je]=String.fromCharCode(je);for(var Ws in Vn)ba.hasOwnProperty(Ws)||(ba[Ws]=Vn[Ws]);function d0(t){var e=c0&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||u0&&t.shiftKey&&t.key&&t.key.length==1||t.key=="Unidentified",n=!e&&t.key||(t.shiftKey?ba:Vn)[t.keyCode]||t.key||"Unidentified";return n=="Esc"&&(n="Escape"),n=="Del"&&(n="Delete"),n=="Left"&&(n="ArrowLeft"),n=="Up"&&(n="ArrowUp"),n=="Right"&&(n="ArrowRight"),n=="Down"&&(n="ArrowDown"),n}const p0=typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):!1;function _0(t){let e=t.split(/-(?!$)/),n=e[e.length-1];n=="Space"&&(n=" ");let r,i,o,a;for(let s=0;s127)&&(o=Vn[r.keyCode])&&o!=i){let s=e[Ks(o,r)];if(s&&s(n.state,n.dispatch,n))return!0}}return!1}}const h0=(t,e)=>t.selection.empty?!1:(e&&e(t.tr.deleteSelection().scrollIntoView()),!0);function Cf(t,e){let{$cursor:n}=t.selection;return!n||(e?!e.endOfTextblock("backward",t):n.parentOffset>0)?null:n}const g0=(t,e,n)=>{let r=Cf(t,n);if(!r)return!1;let i=Fc(r);if(!i){let a=r.blockRange(),s=a&&mi(a);return s==null?!1:(e&&e(t.tr.lift(a,s).scrollIntoView()),!0)}let o=i.nodeBefore;if(Of(t,i,e,-1))return!0;if(r.parent.content.size==0&&(ni(o,"end")||ee.isSelectable(o)))for(let a=r.depth;;a--){let s=is(t.doc,r.before(a),r.after(a),H.empty);if(s&&s.slice.size1)break}return o.isAtom&&i.depth==r.depth-1?(e&&e(t.tr.delete(i.pos-o.nodeSize,i.pos).scrollIntoView()),!0):!1},E0=(t,e,n)=>{let r=Cf(t,n);if(!r)return!1;let i=Fc(r);return i?yf(t,i,e):!1},S0=(t,e,n)=>{let r=vf(t,n);if(!r)return!1;let i=Bc(r);return i?yf(t,i,e):!1};function yf(t,e,n){let r=e.nodeBefore,i=r,o=e.pos-1;for(;!i.isTextblock;o--){if(i.type.spec.isolating)return!1;let u=i.lastChild;if(!u)return!1;i=u}let a=e.nodeAfter,s=a,l=e.pos+1;for(;!s.isTextblock;l++){if(s.type.spec.isolating)return!1;let u=s.firstChild;if(!u)return!1;s=u}let c=is(t.doc,o,l,H.empty);if(!c||c.from!=o||c instanceof Ue&&c.slice.size>=l-o)return!1;if(n){let u=t.tr.step(c);u.setSelection(Z.create(u.doc,o)),n(u.scrollIntoView())}return!0}function ni(t,e,n=!1){for(let r=t;r;r=e=="start"?r.firstChild:r.lastChild){if(r.isTextblock)return!0;if(n&&r.childCount!=1)return!1}return!1}const b0=(t,e,n)=>{let{$head:r,empty:i}=t.selection,o=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("backward",t):r.parentOffset>0)return!1;o=Fc(r)}let a=o&&o.nodeBefore;return!a||!ee.isSelectable(a)?!1:(e&&e(t.tr.setSelection(ee.create(t.doc,o.pos-a.nodeSize)).scrollIntoView()),!0)};function Fc(t){if(!t.parent.type.spec.isolating)for(let e=t.depth-1;e>=0;e--){if(t.index(e)>0)return t.doc.resolve(t.before(e+1));if(t.node(e).type.spec.isolating)break}return null}function vf(t,e){let{$cursor:n}=t.selection;return!n||(e?!e.endOfTextblock("forward",t):n.parentOffset{let r=vf(t,n);if(!r)return!1;let i=Bc(r);if(!i)return!1;let o=i.nodeAfter;if(Of(t,i,e,1))return!0;if(r.parent.content.size==0&&(ni(o,"start")||ee.isSelectable(o))){let a=is(t.doc,r.before(),r.after(),H.empty);if(a&&a.slice.size{let{$head:r,empty:i}=t.selection,o=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("forward",t):r.parentOffset=0;e--){let n=t.node(e);if(t.index(e)+1{let n=t.selection,r=n instanceof ee,i;if(r){if(n.node.isTextblock||!$n(t.doc,n.from))return!1;i=n.from}else if(i=rs(t.doc,n.from,-1),i==null)return!1;if(e){let o=t.tr.join(i);r&&o.setSelection(ee.create(o.doc,i-t.doc.resolve(i).nodeBefore.nodeSize)),e(o.scrollIntoView())}return!0},v0=(t,e)=>{let n=t.selection,r;if(n instanceof ee){if(n.node.isTextblock||!$n(t.doc,n.to))return!1;r=n.to}else if(r=rs(t.doc,n.to,1),r==null)return!1;return e&&e(t.tr.join(r).scrollIntoView()),!0},R0=(t,e)=>{let{$from:n,$to:r}=t.selection,i=n.blockRange(r),o=i&&mi(i);return o==null?!1:(e&&e(t.tr.lift(i,o).scrollIntoView()),!0)},O0=(t,e)=>{let{$head:n,$anchor:r}=t.selection;return!n.parent.type.spec.code||!n.sameParent(r)?!1:(e&&e(t.tr.insertText(` +`).scrollIntoView()),!0)};function Rf(t){for(let e=0;e{let{$head:n,$anchor:r}=t.selection;if(!n.parent.type.spec.code||!n.sameParent(r))return!1;let i=n.node(-1),o=n.indexAfter(-1),a=Rf(i.contentMatchAt(o));if(!a||!i.canReplaceWith(o,o,a))return!1;if(e){let s=n.after(),l=t.tr.replaceWith(s,s,a.createAndFill());l.setSelection(te.near(l.doc.resolve(s),1)),e(l.scrollIntoView())}return!0},A0=(t,e)=>{let n=t.selection,{$from:r,$to:i}=n;if(n instanceof Dt||r.parent.inlineContent||i.parent.inlineContent)return!1;let o=Rf(i.parent.contentMatchAt(i.indexAfter()));if(!o||!o.isTextblock)return!1;if(e){let a=(!r.parentOffset&&i.index(){let{$cursor:n}=t.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let o=n.before();if(Qr(t.doc,o))return e&&e(t.tr.split(o).scrollIntoView()),!0}let r=n.blockRange(),i=r&&mi(r);return i==null?!1:(e&&e(t.tr.lift(r,i).scrollIntoView()),!0)},x0=(t,e)=>{let{$from:n,to:r}=t.selection,i,o=n.sharedDepth(r);return o==0?!1:(i=n.before(o),e&&e(t.tr.setSelection(ee.create(t.doc,i))),!0)};function D0(t,e,n){let r=e.nodeBefore,i=e.nodeAfter,o=e.index();return!r||!i||!r.type.compatibleContent(i.type)?!1:!r.content.size&&e.parent.canReplace(o-1,o)?(n&&n(t.tr.delete(e.pos-r.nodeSize,e.pos).scrollIntoView()),!0):!e.parent.canReplace(o,o+1)||!(i.isTextblock||$n(t.doc,e.pos))?!1:(n&&n(t.tr.join(e.pos).scrollIntoView()),!0)}function Of(t,e,n,r){let i=e.nodeBefore,o=e.nodeAfter,a,s,l=i.type.spec.isolating||o.type.spec.isolating;if(!l&&D0(t,e,n))return!0;let c=!l&&e.parent.canReplace(e.index(),e.index()+1);if(c&&(a=(s=i.contentMatchAt(i.childCount)).findWrapping(o.type))&&s.matchType(a[0]||o.type).validEnd){if(n){let _=e.pos+o.nodeSize,m=w.empty;for(let E=a.length-1;E>=0;E--)m=w.from(a[E].create(null,m));m=w.from(i.copy(m));let f=t.tr.step(new ze(e.pos-1,_,e.pos,_,new H(m,1,0),a.length,!0)),h=f.doc.resolve(_+2*a.length);h.nodeAfter&&h.nodeAfter.type==i.type&&$n(f.doc,h.pos)&&f.join(h.pos),n(f.scrollIntoView())}return!0}let u=o.type.spec.isolating||r>0&&l?null:te.findFrom(e,1),d=u&&u.$from.blockRange(u.$to),p=d&&mi(d);if(p!=null&&p>=e.depth)return n&&n(t.tr.lift(d,p).scrollIntoView()),!0;if(c&&ni(o,"start",!0)&&ni(i,"end")){let _=i,m=[];for(;m.push(_),!_.isTextblock;)_=_.lastChild;let f=o,h=1;for(;!f.isTextblock;f=f.firstChild)h++;if(_.canReplace(_.childCount,_.childCount,f.content)){if(n){let E=w.empty;for(let b=m.length-1;b>=0;b--)E=w.from(m[b].copy(E));let S=t.tr.step(new ze(e.pos-m.length,e.pos+o.nodeSize,e.pos+h,e.pos+o.nodeSize-h,new H(E,m.length,0),0,!0));n(S.scrollIntoView())}return!0}}return!1}function Nf(t){return function(e,n){let r=e.selection,i=t<0?r.$from:r.$to,o=i.depth;for(;i.node(o).isInline;){if(!o)return!1;o--}return i.node(o).isTextblock?(n&&n(e.tr.setSelection(Z.create(e.doc,t<0?i.start(o):i.end(o)))),!0):!1}}const M0=Nf(-1),w0=Nf(1);function L0(t,e=null){return function(n,r){let{$from:i,$to:o}=n.selection,a=i.blockRange(o),s=a&&Rc(a,t,e);return s?(r&&r(n.tr.wrap(a,s).scrollIntoView()),!0):!1}}function $d(t,e=null){return function(n,r){let i=!1;for(let o=0;o{if(i)return!1;if(!(!l.isTextblock||l.hasMarkup(t,e)))if(l.type==t)i=!0;else{let u=n.doc.resolve(c),d=u.index();i=u.parent.canReplaceWith(d,d+1,t)}})}if(!i)return!1;if(r){let o=n.tr;for(let a=0;a=2&&i.node(a.depth-1).type.compatibleContent(t)&&a.startIndex==0){if(i.index(a.depth-1)==0)return!1;let u=n.doc.resolve(a.start-2);l=new da(u,u,a.depth),a.endIndex=0;u--)o=w.from(n[u].type.create(n[u].attrs,o));t.step(new ze(e.start-(r?2:0),e.end,e.start,e.end,new H(o,0,0),n.length,!0));let a=0;for(let u=0;ua.childCount>0&&a.firstChild.type==t);return o?n?r.node(o.depth-1).type==t?B0(e,n,t,o):U0(e,n,o):!0:!1}}function B0(t,e,n,r){let i=t.tr,o=r.end,a=r.$to.end(r.depth);of;m--)_-=i.child(m).nodeSize,r.delete(_-1,_+1);let o=r.doc.resolve(n.start),a=o.nodeAfter;if(r.mapping.map(n.end)!=n.start+o.nodeAfter.nodeSize)return!1;let s=n.startIndex==0,l=n.endIndex==i.childCount,c=o.node(-1),u=o.index(-1);if(!c.canReplace(u+(s?0:1),u+1,a.content.append(l?w.empty:w.from(i))))return!1;let d=o.pos,p=d+a.nodeSize;return r.step(new ze(d-(s?1:0),p+(l?1:0),d+1,p-1,new H((s?w.empty:w.from(i.copy(w.empty))).append(l?w.empty:w.from(i.copy(w.empty))),s?0:1,l?0:1),s?0:1)),e(r.scrollIntoView()),!0}function H0(t){return function(e,n){let{$from:r,$to:i}=e.selection,o=r.blockRange(i,c=>c.childCount>0&&c.firstChild.type==t);if(!o)return!1;let a=o.startIndex;if(a==0)return!1;let s=o.parent,l=s.child(a-1);if(l.type!=t)return!1;if(n){let c=l.lastChild&&l.lastChild.type==s.type,u=w.from(c?t.create():null),d=new H(w.from(t.create(null,w.from(s.type.create(null,u)))),c?3:1,0),p=o.start,_=o.end;n(e.tr.step(new ze(p-(c?3:1),_,p,_,d,1,!0)).scrollIntoView())}return!0}}function us(t){const{state:e,transaction:n}=t;let{selection:r}=n,{doc:i}=n,{storedMarks:o}=n;return{...e,apply:e.apply.bind(e),applyTransaction:e.applyTransaction.bind(e),plugins:e.plugins,schema:e.schema,reconfigure:e.reconfigure.bind(e),toJSON:e.toJSON.bind(e),get storedMarks(){return o},get selection(){return r},get doc(){return i},get tr(){return r=n.selection,i=n.doc,o=n.storedMarks,n}}}class ds{constructor(e){this.editor=e.editor,this.rawCommands=this.editor.extensionManager.commands,this.customState=e.state}get hasCustomState(){return!!this.customState}get state(){return this.customState||this.editor.state}get commands(){const{rawCommands:e,editor:n,state:r}=this,{view:i}=n,{tr:o}=r,a=this.buildProps(o);return Object.fromEntries(Object.entries(e).map(([s,l])=>[s,(...u)=>{const d=l(...u)(a);return!o.getMeta("preventDispatch")&&!this.hasCustomState&&i.dispatch(o),d}]))}get chain(){return()=>this.createChain()}get can(){return()=>this.createCan()}createChain(e,n=!0){const{rawCommands:r,editor:i,state:o}=this,{view:a}=i,s=[],l=!!e,c=e||o.tr,u=()=>(!l&&n&&!c.getMeta("preventDispatch")&&!this.hasCustomState&&a.dispatch(c),s.every(p=>p===!0)),d={...Object.fromEntries(Object.entries(r).map(([p,_])=>[p,(...f)=>{const h=this.buildProps(c,n),E=_(...f)(h);return s.push(E),d}])),run:u};return d}createCan(e){const{rawCommands:n,state:r}=this,i=!1,o=e||r.tr,a=this.buildProps(o,i);return{...Object.fromEntries(Object.entries(n).map(([l,c])=>[l,(...u)=>c(...u)({...a,dispatch:void 0})])),chain:()=>this.createChain(o,i)}}buildProps(e,n=!0){const{rawCommands:r,editor:i,state:o}=this,{view:a}=i,s={tr:e,editor:i,view:a,state:us({state:o,transaction:e}),dispatch:n?()=>{}:void 0,chain:()=>this.createChain(e,n),can:()=>this.createCan(e),get commands(){return Object.fromEntries(Object.entries(r).map(([l,c])=>[l,(...u)=>c(...u)(s)]))}};return s}}let G0=class{constructor(){this.callbacks={}}on(e,n){return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(n),this}emit(e,...n){const r=this.callbacks[e];return r&&r.forEach(i=>i.apply(this,n)),this}off(e,n){const r=this.callbacks[e];return r&&(n?this.callbacks[e]=r.filter(i=>i!==n):delete this.callbacks[e]),this}once(e,n){const r=(...i)=>{this.off(e,r),n.apply(this,i)};return this.on(e,r)}removeAllListeners(){this.callbacks={}}};function W(t,e,n){return t.config[e]===void 0&&t.parent?W(t.parent,e,n):typeof t.config[e]=="function"?t.config[e].bind({...n,parent:t.parent?W(t.parent,e,n):null}):t.config[e]}function ps(t){const e=t.filter(i=>i.type==="extension"),n=t.filter(i=>i.type==="node"),r=t.filter(i=>i.type==="mark");return{baseExtensions:e,nodeExtensions:n,markExtensions:r}}function Af(t){const e=[],{nodeExtensions:n,markExtensions:r}=ps(t),i=[...n,...r],o={default:null,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,isRequired:!1};return t.forEach(a=>{const s={name:a.name,options:a.options,storage:a.storage,extensions:i},l=W(a,"addGlobalAttributes",s);if(!l)return;l().forEach(u=>{u.types.forEach(d=>{Object.entries(u.attributes).forEach(([p,_])=>{e.push({type:d,name:p,attribute:{...o,..._}})})})})}),i.forEach(a=>{const s={name:a.name,options:a.options,storage:a.storage},l=W(a,"addAttributes",s);if(!l)return;const c=l();Object.entries(c).forEach(([u,d])=>{const p={...o,...d};typeof(p==null?void 0:p.default)=="function"&&(p.default=p.default()),p!=null&&p.isRequired&&(p==null?void 0:p.default)===void 0&&delete p.default,e.push({type:a.name,name:u,attribute:p})})}),e}function qe(t,e){if(typeof t=="string"){if(!e.nodes[t])throw Error(`There is no node type named '${t}'. Maybe you forgot to add the extension?`);return e.nodes[t]}return t}function pe(...t){return t.filter(e=>!!e).reduce((e,n)=>{const r={...e};return Object.entries(n).forEach(([i,o])=>{if(!r[i]){r[i]=o;return}if(i==="class"){const s=o?o.split(" "):[],l=r[i]?r[i].split(" "):[],c=s.filter(u=>!l.includes(u));r[i]=[...l,...c].join(" ")}else if(i==="style"){const s=o?o.split(";").map(u=>u.trim()).filter(Boolean):[],l=r[i]?r[i].split(";").map(u=>u.trim()).filter(Boolean):[],c=new Map;l.forEach(u=>{const[d,p]=u.split(":").map(_=>_.trim());c.set(d,p)}),s.forEach(u=>{const[d,p]=u.split(":").map(_=>_.trim());c.set(d,p)}),r[i]=Array.from(c.entries()).map(([u,d])=>`${u}: ${d}`).join("; ")}else r[i]=o}),r},{})}function Wl(t,e){return e.filter(n=>n.type===t.type.name).filter(n=>n.attribute.rendered).map(n=>n.attribute.renderHTML?n.attribute.renderHTML(t.attrs)||{}:{[n.name]:t.attrs[n.name]}).reduce((n,r)=>pe(n,r),{})}function If(t){return typeof t=="function"}function le(t,e=void 0,...n){return If(t)?e?t.bind(e)(...n):t(...n):t}function V0(t={}){return Object.keys(t).length===0&&t.constructor===Object}function Y0(t){return typeof t!="string"?t:t.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(t):t==="true"?!0:t==="false"?!1:t}function qd(t,e){return"style"in t?t:{...t,getAttrs:n=>{const r=t.getAttrs?t.getAttrs(n):t.attrs;if(r===!1)return!1;const i=e.reduce((o,a)=>{const s=a.attribute.parseHTML?a.attribute.parseHTML(n):Y0(n.getAttribute(a.name));return s==null?o:{...o,[a.name]:s}},{});return{...r,...i}}}}function Wd(t){return Object.fromEntries(Object.entries(t).filter(([e,n])=>e==="attrs"&&V0(n)?!1:n!=null))}function z0(t,e){var n;const r=Af(t),{nodeExtensions:i,markExtensions:o}=ps(t),a=(n=i.find(c=>W(c,"topNode")))===null||n===void 0?void 0:n.name,s=Object.fromEntries(i.map(c=>{const u=r.filter(E=>E.type===c.name),d={name:c.name,options:c.options,storage:c.storage,editor:e},p=t.reduce((E,S)=>{const b=W(S,"extendNodeSchema",d);return{...E,...b?b(c):{}}},{}),_=Wd({...p,content:le(W(c,"content",d)),marks:le(W(c,"marks",d)),group:le(W(c,"group",d)),inline:le(W(c,"inline",d)),atom:le(W(c,"atom",d)),selectable:le(W(c,"selectable",d)),draggable:le(W(c,"draggable",d)),code:le(W(c,"code",d)),whitespace:le(W(c,"whitespace",d)),linebreakReplacement:le(W(c,"linebreakReplacement",d)),defining:le(W(c,"defining",d)),isolating:le(W(c,"isolating",d)),attrs:Object.fromEntries(u.map(E=>{var S;return[E.name,{default:(S=E==null?void 0:E.attribute)===null||S===void 0?void 0:S.default}]}))}),m=le(W(c,"parseHTML",d));m&&(_.parseDOM=m.map(E=>qd(E,u)));const f=W(c,"renderHTML",d);f&&(_.toDOM=E=>f({node:E,HTMLAttributes:Wl(E,u)}));const h=W(c,"renderText",d);return h&&(_.toText=h),[c.name,_]})),l=Object.fromEntries(o.map(c=>{const u=r.filter(h=>h.type===c.name),d={name:c.name,options:c.options,storage:c.storage,editor:e},p=t.reduce((h,E)=>{const S=W(E,"extendMarkSchema",d);return{...h,...S?S(c):{}}},{}),_=Wd({...p,inclusive:le(W(c,"inclusive",d)),excludes:le(W(c,"excludes",d)),group:le(W(c,"group",d)),spanning:le(W(c,"spanning",d)),code:le(W(c,"code",d)),attrs:Object.fromEntries(u.map(h=>{var E;return[h.name,{default:(E=h==null?void 0:h.attribute)===null||E===void 0?void 0:E.default}]}))}),m=le(W(c,"parseHTML",d));m&&(_.parseDOM=m.map(h=>qd(h,u)));const f=W(c,"renderHTML",d);return f&&(_.toDOM=h=>f({mark:h,HTMLAttributes:Wl(h,u)})),[c.name,_]}));return new Cm({topNode:a,nodes:s,marks:l})}function Qs(t,e){return e.nodes[t]||e.marks[t]||null}function Kd(t,e){return Array.isArray(e)?e.some(n=>(typeof n=="string"?n:n.name)===t.name):e}function Uc(t,e){const n=Cr.fromSchema(e).serializeFragment(t),i=document.implementation.createHTMLDocument().createElement("div");return i.appendChild(n),i.innerHTML}const $0=(t,e=500)=>{let n="";const r=t.parentOffset;return t.parent.nodesBetween(Math.max(0,r-e),r,(i,o,a,s)=>{var l,c;const u=((c=(l=i.type.spec).toText)===null||c===void 0?void 0:c.call(l,{node:i,pos:o,parent:a,index:s}))||i.textContent||"%leaf%";n+=i.isAtom&&!i.isText?u:u.slice(0,Math.max(0,r-o))}),n};function Hc(t){return Object.prototype.toString.call(t)==="[object RegExp]"}class ho{constructor(e){this.find=e.find,this.handler=e.handler}}const q0=(t,e)=>{if(Hc(e))return e.exec(t);const n=e(t);if(!n)return null;const r=[n.text];return r.index=n.index,r.input=t,r.data=n.data,n.replaceWith&&(n.text.includes(n.replaceWith)||console.warn('[tiptap warn]: "inputRuleMatch.replaceWith" must be part of "inputRuleMatch.text".'),r.push(n.replaceWith)),r};function xo(t){var e;const{editor:n,from:r,to:i,text:o,rules:a,plugin:s}=t,{view:l}=n;if(l.composing)return!1;const c=l.state.doc.resolve(r);if(c.parent.type.spec.code||!((e=c.nodeBefore||c.nodeAfter)===null||e===void 0)&&e.marks.find(p=>p.type.spec.code))return!1;let u=!1;const d=$0(c)+o;return a.forEach(p=>{if(u)return;const _=q0(d,p.find);if(!_)return;const m=l.state.tr,f=us({state:l.state,transaction:m}),h={from:r-(_[0].length-o.length),to:i},{commands:E,chain:S,can:b}=new ds({editor:n,state:f});p.handler({state:f,range:h,match:_,commands:E,chain:S,can:b})===null||!m.steps.length||(m.setMeta(s,{transform:m,from:r,to:i,text:o}),l.dispatch(m),u=!0)}),u}function W0(t){const{editor:e,rules:n}=t,r=new Se({state:{init(){return null},apply(i,o,a){const s=i.getMeta(r);if(s)return s;const l=i.getMeta("applyInputRules");return!!l&&setTimeout(()=>{let{text:u}=l;typeof u=="string"?u=u:u=Uc(w.from(u),a.schema);const{from:d}=l,p=d+u.length;xo({editor:e,from:d,to:p,text:u,rules:n,plugin:r})}),i.selectionSet||i.docChanged?null:o}},props:{handleTextInput(i,o,a,s){return xo({editor:e,from:o,to:a,text:s,rules:n,plugin:r})},handleDOMEvents:{compositionend:i=>(setTimeout(()=>{const{$cursor:o}=i.state.selection;o&&xo({editor:e,from:o.pos,to:o.pos,text:"",rules:n,plugin:r})}),!1)},handleKeyDown(i,o){if(o.key!=="Enter")return!1;const{$cursor:a}=i.state.selection;return a?xo({editor:e,from:a.pos,to:a.pos,text:` +`,rules:n,plugin:r}):!1}},isInputRules:!0});return r}function K0(t){return Object.prototype.toString.call(t).slice(8,-1)}function Do(t){return K0(t)!=="Object"?!1:t.constructor===Object&&Object.getPrototypeOf(t)===Object.prototype}function _s(t,e){const n={...t};return Do(t)&&Do(e)&&Object.keys(e).forEach(r=>{Do(e[r])&&Do(t[r])?n[r]=_s(t[r],e[r]):n[r]=e[r]}),n}class ft{constructor(e={}){this.type="mark",this.name="mark",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=le(W(this,"addOptions",{name:this.name}))),this.storage=le(W(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new ft(e)}configure(e={}){const n=this.extend({...this.config,addOptions:()=>_s(this.options,e)});return n.name=this.name,n.parent=this.parent,n}extend(e={}){const n=new ft(e);return n.parent=this,this.child=n,n.name=e.name?e.name:n.parent.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${n.name}".`),n.options=le(W(n,"addOptions",{name:n.name})),n.storage=le(W(n,"addStorage",{name:n.name,options:n.options})),n}static handleExit({editor:e,mark:n}){const{tr:r}=e.state,i=e.state.selection.$from;if(i.pos===i.end()){const a=i.marks();if(!!!a.find(c=>(c==null?void 0:c.type.name)===n.name))return!1;const l=a.find(c=>(c==null?void 0:c.type.name)===n.name);return l&&r.removeStoredMark(l),r.insertText(" ",i.pos),e.view.dispatch(r),!0}return!1}}function Q0(t){return typeof t=="number"}class Z0{constructor(e){this.find=e.find,this.handler=e.handler}}const X0=(t,e,n)=>{if(Hc(e))return[...t.matchAll(e)];const r=e(t,n);return r?r.map(i=>{const o=[i.text];return o.index=i.index,o.input=t,o.data=i.data,i.replaceWith&&(i.text.includes(i.replaceWith)||console.warn('[tiptap warn]: "pasteRuleMatch.replaceWith" must be part of "pasteRuleMatch.text".'),o.push(i.replaceWith)),o}):[]};function j0(t){const{editor:e,state:n,from:r,to:i,rule:o,pasteEvent:a,dropEvent:s}=t,{commands:l,chain:c,can:u}=new ds({editor:e,state:n}),d=[];return n.doc.nodesBetween(r,i,(_,m)=>{if(!_.isTextblock||_.type.spec.code)return;const f=Math.max(r,m),h=Math.min(i,m+_.content.size),E=_.textBetween(f-m,h-m,void 0,"");X0(E,o.find,a).forEach(b=>{if(b.index===void 0)return;const g=f+b.index+1,C=g+b[0].length,T={from:n.tr.mapping.map(g),to:n.tr.mapping.map(C)},R=o.handler({state:n,range:T,match:b,commands:l,chain:c,can:u,pasteEvent:a,dropEvent:s});d.push(R)})}),d.every(_=>_!==null)}const J0=t=>{var e;const n=new ClipboardEvent("paste",{clipboardData:new DataTransfer});return(e=n.clipboardData)===null||e===void 0||e.setData("text/html",t),n};function eT(t){const{editor:e,rules:n}=t;let r=null,i=!1,o=!1,a=typeof ClipboardEvent<"u"?new ClipboardEvent("paste"):null,s;try{s=typeof DragEvent<"u"?new DragEvent("drop"):null}catch{s=null}const l=({state:u,from:d,to:p,rule:_,pasteEvt:m})=>{const f=u.tr,h=us({state:u,transaction:f});if(!(!j0({editor:e,state:h,from:Math.max(d-1,0),to:p.b-1,rule:_,pasteEvent:m,dropEvent:s})||!f.steps.length)){try{s=typeof DragEvent<"u"?new DragEvent("drop"):null}catch{s=null}return a=typeof ClipboardEvent<"u"?new ClipboardEvent("paste"):null,f}};return n.map(u=>new Se({view(d){const p=_=>{var m;r=!((m=d.dom.parentElement)===null||m===void 0)&&m.contains(_.target)?d.dom.parentElement:null};return window.addEventListener("dragstart",p),{destroy(){window.removeEventListener("dragstart",p)}}},props:{handleDOMEvents:{drop:(d,p)=>(o=r===d.dom.parentElement,s=p,!1),paste:(d,p)=>{var _;const m=(_=p.clipboardData)===null||_===void 0?void 0:_.getData("text/html");return a=p,i=!!(m!=null&&m.includes("data-pm-slice")),!1}}},appendTransaction:(d,p,_)=>{const m=d[0],f=m.getMeta("uiEvent")==="paste"&&!i,h=m.getMeta("uiEvent")==="drop"&&!o,E=m.getMeta("applyPasteRules"),S=!!E;if(!f&&!h&&!S)return;if(S){let{text:C}=E;typeof C=="string"?C=C:C=Uc(w.from(C),_.schema);const{from:T}=E,R=T+C.length,x=J0(C);return l({rule:u,state:_,from:T,to:{b:R},pasteEvt:x})}const b=p.doc.content.findDiffStart(_.doc.content),g=p.doc.content.findDiffEnd(_.doc.content);if(!(!Q0(b)||!g||b===g.b))return l({rule:u,state:_,from:b,to:g,pasteEvt:a})}}))}function tT(t){const e=t.filter((n,r)=>t.indexOf(n)!==r);return Array.from(new Set(e))}class Yr{constructor(e,n){this.splittableMarks=[],this.editor=n,this.extensions=Yr.resolve(e),this.schema=z0(this.extensions,n),this.setupExtensions()}static resolve(e){const n=Yr.sort(Yr.flatten(e)),r=tT(n.map(i=>i.name));return r.length&&console.warn(`[tiptap warn]: Duplicate extension names found: [${r.map(i=>`'${i}'`).join(", ")}]. This can lead to issues.`),n}static flatten(e){return e.map(n=>{const r={name:n.name,options:n.options,storage:n.storage},i=W(n,"addExtensions",r);return i?[n,...this.flatten(i())]:n}).flat(10)}static sort(e){return e.sort((r,i)=>{const o=W(r,"priority")||100,a=W(i,"priority")||100;return o>a?-1:o{const r={name:n.name,options:n.options,storage:n.storage,editor:this.editor,type:Qs(n.name,this.schema)},i=W(n,"addCommands",r);return i?{...e,...i()}:e},{})}get plugins(){const{editor:e}=this,n=Yr.sort([...this.extensions].reverse()),r=[],i=[],o=n.map(a=>{const s={name:a.name,options:a.options,storage:a.storage,editor:e,type:Qs(a.name,this.schema)},l=[],c=W(a,"addKeyboardShortcuts",s);let u={};if(a.type==="mark"&&W(a,"exitable",s)&&(u.ArrowRight=()=>ft.handleExit({editor:e,mark:a})),c){const f=Object.fromEntries(Object.entries(c()).map(([h,E])=>[h,()=>E({editor:e})]));u={...u,...f}}const d=f0(u);l.push(d);const p=W(a,"addInputRules",s);Kd(a,e.options.enableInputRules)&&p&&r.push(...p());const _=W(a,"addPasteRules",s);Kd(a,e.options.enablePasteRules)&&_&&i.push(..._());const m=W(a,"addProseMirrorPlugins",s);if(m){const f=m();l.push(...f)}return l}).flat();return[W0({editor:e,rules:r}),...eT({editor:e,rules:i}),...o]}get attributes(){return Af(this.extensions)}get nodeViews(){const{editor:e}=this,{nodeExtensions:n}=ps(this.extensions);return Object.fromEntries(n.filter(r=>!!W(r,"addNodeView")).map(r=>{const i=this.attributes.filter(l=>l.type===r.name),o={name:r.name,options:r.options,storage:r.storage,editor:e,type:qe(r.name,this.schema)},a=W(r,"addNodeView",o);if(!a)return[];const s=(l,c,u,d,p)=>{const _=Wl(l,i);return a()({node:l,view:c,getPos:u,decorations:d,innerDecorations:p,editor:e,extension:r,HTMLAttributes:_})};return[r.name,s]}))}setupExtensions(){this.extensions.forEach(e=>{var n;this.editor.extensionStorage[e.name]=e.storage;const r={name:e.name,options:e.options,storage:e.storage,editor:this.editor,type:Qs(e.name,this.schema)};e.type==="mark"&&(!((n=le(W(e,"keepOnSplit",r)))!==null&&n!==void 0)||n)&&this.splittableMarks.push(e.name);const i=W(e,"onBeforeCreate",r),o=W(e,"onCreate",r),a=W(e,"onUpdate",r),s=W(e,"onSelectionUpdate",r),l=W(e,"onTransaction",r),c=W(e,"onFocus",r),u=W(e,"onBlur",r),d=W(e,"onDestroy",r);i&&this.editor.on("beforeCreate",i),o&&this.editor.on("create",o),a&&this.editor.on("update",a),s&&this.editor.on("selectionUpdate",s),l&&this.editor.on("transaction",l),c&&this.editor.on("focus",c),u&&this.editor.on("blur",u),d&&this.editor.on("destroy",d)})}}class he{constructor(e={}){this.type="extension",this.name="extension",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=le(W(this,"addOptions",{name:this.name}))),this.storage=le(W(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new he(e)}configure(e={}){const n=this.extend({...this.config,addOptions:()=>_s(this.options,e)});return n.name=this.name,n.parent=this.parent,n}extend(e={}){const n=new he({...this.config,...e});return n.parent=this,this.child=n,n.name=e.name?e.name:n.parent.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${n.name}".`),n.options=le(W(n,"addOptions",{name:n.name})),n.storage=le(W(n,"addStorage",{name:n.name,options:n.options})),n}}function ms(t,e,n){const{from:r,to:i}=e,{blockSeparator:o=` + +`,textSerializers:a={}}=n||{};let s="";return t.nodesBetween(r,i,(l,c,u,d)=>{var p;l.isBlock&&c>r&&(s+=o);const _=a==null?void 0:a[l.type.name];if(_)return u&&(s+=_({node:l,pos:c,parent:u,index:d,range:e})),!1;l.isText&&(s+=(p=l==null?void 0:l.text)===null||p===void 0?void 0:p.slice(Math.max(r,c)-c,i-c))}),s}function xf(t){return Object.fromEntries(Object.entries(t.nodes).filter(([,e])=>e.spec.toText).map(([e,n])=>[e,n.spec.toText]))}const nT=he.create({name:"clipboardTextSerializer",addOptions(){return{blockSeparator:void 0}},addProseMirrorPlugins(){return[new Se({key:new ve("clipboardTextSerializer"),props:{clipboardTextSerializer:()=>{const{editor:t}=this,{state:e,schema:n}=t,{doc:r,selection:i}=e,{ranges:o}=i,a=Math.min(...o.map(u=>u.$from.pos)),s=Math.max(...o.map(u=>u.$to.pos)),l=xf(n);return ms(r,{from:a,to:s},{...this.options.blockSeparator!==void 0?{blockSeparator:this.options.blockSeparator}:{},textSerializers:l})}}})]}}),rT=()=>({editor:t,view:e})=>(requestAnimationFrame(()=>{var n;t.isDestroyed||(e.dom.blur(),(n=window==null?void 0:window.getSelection())===null||n===void 0||n.removeAllRanges())}),!0),iT=(t=!1)=>({commands:e})=>e.setContent("",t),oT=()=>({state:t,tr:e,dispatch:n})=>{const{selection:r}=e,{ranges:i}=r;return n&&i.forEach(({$from:o,$to:a})=>{t.doc.nodesBetween(o.pos,a.pos,(s,l)=>{if(s.type.isText)return;const{doc:c,mapping:u}=e,d=c.resolve(u.map(l)),p=c.resolve(u.map(l+s.nodeSize)),_=d.blockRange(p);if(!_)return;const m=mi(_);if(s.type.isTextblock){const{defaultType:f}=d.parent.contentMatchAt(d.index());e.setNodeMarkup(_.start,f)}(m||m===0)&&e.lift(_,m)})}),!0},aT=t=>e=>t(e),sT=()=>({state:t,dispatch:e})=>A0(t,e),lT=(t,e)=>({editor:n,tr:r})=>{const{state:i}=n,o=i.doc.slice(t.from,t.to);r.deleteRange(t.from,t.to);const a=r.mapping.map(e);return r.insert(a,o.content),r.setSelection(new Z(r.doc.resolve(a-1))),!0},cT=()=>({tr:t,dispatch:e})=>{const{selection:n}=t,r=n.$anchor.node();if(r.content.size>0)return!1;const i=t.selection.$anchor;for(let o=i.depth;o>0;o-=1)if(i.node(o).type===r.type){if(e){const s=i.before(o),l=i.after(o);t.delete(s,l).scrollIntoView()}return!0}return!1},uT=t=>({tr:e,state:n,dispatch:r})=>{const i=qe(t,n.schema),o=e.selection.$anchor;for(let a=o.depth;a>0;a-=1)if(o.node(a).type===i){if(r){const l=o.before(a),c=o.after(a);e.delete(l,c).scrollIntoView()}return!0}return!1},dT=t=>({tr:e,dispatch:n})=>{const{from:r,to:i}=t;return n&&e.delete(r,i),!0},pT=()=>({state:t,dispatch:e})=>h0(t,e),_T=()=>({commands:t})=>t.keyboardShortcut("Enter"),mT=()=>({state:t,dispatch:e})=>N0(t,e);function ri(t,e,n={strict:!0}){const r=Object.keys(e);return r.length?r.every(i=>n.strict?e[i]===t[i]:Hc(e[i])?e[i].test(t[i]):e[i]===t[i]):!0}function Df(t,e,n={}){return t.find(r=>r.type===e&&ri(Object.fromEntries(Object.keys(n).map(i=>[i,r.attrs[i]])),n))}function Qd(t,e,n={}){return!!Df(t,e,n)}function Gc(t,e,n){var r;if(!t||!e)return;let i=t.parent.childAfter(t.parentOffset);if((!i.node||!i.node.marks.some(u=>u.type===e))&&(i=t.parent.childBefore(t.parentOffset)),!i.node||!i.node.marks.some(u=>u.type===e)||(n=n||((r=i.node.marks[0])===null||r===void 0?void 0:r.attrs),!Df([...i.node.marks],e,n)))return;let a=i.index,s=t.start()+i.offset,l=a+1,c=s+i.node.nodeSize;for(;a>0&&Qd([...t.parent.child(a-1).marks],e,n);)a-=1,s-=t.parent.child(a).nodeSize;for(;l({tr:n,state:r,dispatch:i})=>{const o=Sn(t,r.schema),{doc:a,selection:s}=n,{$from:l,from:c,to:u}=s;if(i){const d=Gc(l,o,e);if(d&&d.from<=c&&d.to>=u){const p=Z.create(a,d.from,d.to);n.setSelection(p)}}return!0},hT=t=>e=>{const n=typeof t=="function"?t(e):t;for(let r=0;r({editor:n,view:r,tr:i,dispatch:o})=>{e={scrollIntoView:!0,...e};const a=()=>{Yc()&&r.dom.focus(),requestAnimationFrame(()=>{n.isDestroyed||(r.focus(),e!=null&&e.scrollIntoView&&n.commands.scrollIntoView())})};if(r.hasFocus()&&t===null||t===!1)return!0;if(o&&t===null&&!Vc(n.state.selection))return a(),!0;const s=Mf(i.doc,t)||n.state.selection,l=n.state.selection.eq(s);return o&&(l||i.setSelection(s),l&&i.storedMarks&&i.setStoredMarks(i.storedMarks),a()),!0},ET=(t,e)=>n=>t.every((r,i)=>e(r,{...n,index:i})),ST=(t,e)=>({tr:n,commands:r})=>r.insertContentAt({from:n.selection.from,to:n.selection.to},t,e),wf=t=>{const e=t.childNodes;for(let n=e.length-1;n>=0;n-=1){const r=e[n];r.nodeType===3&&r.nodeValue&&/^(\n\s\s|\n)$/.test(r.nodeValue)?t.removeChild(r):r.nodeType===1&&wf(r)}return t};function Mo(t){const e=`${t}`,n=new window.DOMParser().parseFromString(e,"text/html").body;return wf(n)}function Ta(t,e,n){if(t instanceof Bn||t instanceof w)return t;n={slice:!0,parseOptions:{},...n};const r=typeof t=="object"&&t!==null,i=typeof t=="string";if(r)try{if(Array.isArray(t)&&t.length>0)return w.fromArray(t.map(s=>e.nodeFromJSON(s)));const a=e.nodeFromJSON(t);return n.errorOnInvalidContent&&a.check(),a}catch(o){if(n.errorOnInvalidContent)throw new Error("[tiptap error]: Invalid JSON content",{cause:o});return console.warn("[tiptap warn]: Invalid content.","Passed value:",t,"Error:",o),Ta("",e,n)}if(i){if(n.errorOnInvalidContent){let a=!1,s="";const l=new Cm({topNode:e.spec.topNode,marks:e.spec.marks,nodes:e.spec.nodes.append({__tiptap__private__unknown__catch__all__node:{content:"inline*",group:"block",parseDOM:[{tag:"*",getAttrs:c=>(a=!0,s=typeof c=="string"?c:c.outerHTML,null)}]}})});if(n.slice?Wr.fromSchema(l).parseSlice(Mo(t),n.parseOptions):Wr.fromSchema(l).parse(Mo(t),n.parseOptions),n.errorOnInvalidContent&&a)throw new Error("[tiptap error]: Invalid HTML content",{cause:new Error(`Invalid element found: ${s}`)})}const o=Wr.fromSchema(e);return n.slice?o.parseSlice(Mo(t),n.parseOptions).content:o.parse(Mo(t),n.parseOptions)}return Ta("",e,n)}function bT(t,e,n){const r=t.steps.length-1;if(r{a===0&&(a=u)}),t.setSelection(te.near(t.doc.resolve(a),n))}const TT=t=>!("type"in t),CT=(t,e,n)=>({tr:r,dispatch:i,editor:o})=>{var a;if(i){n={parseOptions:o.options.parseOptions,updateSelection:!0,applyInputRules:!1,applyPasteRules:!1,...n};let s;try{s=Ta(e,o.schema,{parseOptions:{preserveWhitespace:"full",...n.parseOptions},errorOnInvalidContent:(a=n.errorOnInvalidContent)!==null&&a!==void 0?a:o.options.enableContentCheck})}catch(m){return o.emit("contentError",{editor:o,error:m,disableCollaboration:()=>{o.storage.collaboration&&(o.storage.collaboration.isDisabled=!0)}}),!1}let{from:l,to:c}=typeof t=="number"?{from:t,to:t}:{from:t.from,to:t.to},u=!0,d=!0;if((TT(s)?s:[s]).forEach(m=>{m.check(),u=u?m.isText&&m.marks.length===0:!1,d=d?m.isBlock:!1}),l===c&&d){const{parent:m}=r.doc.resolve(l);m.isTextblock&&!m.type.spec.code&&!m.childCount&&(l-=1,c+=1)}let _;if(u){if(Array.isArray(e))_=e.map(m=>m.text||"").join("");else if(e instanceof w){let m="";e.forEach(f=>{f.text&&(m+=f.text)}),_=m}else typeof e=="object"&&e&&e.text?_=e.text:_=e;r.insertText(_,l,c)}else _=s,r.replaceWith(l,c,_);n.updateSelection&&bT(r,r.steps.length-1,-1),n.applyInputRules&&r.setMeta("applyInputRules",{from:l,text:_}),n.applyPasteRules&&r.setMeta("applyPasteRules",{from:l,text:_})}return!0},yT=()=>({state:t,dispatch:e})=>y0(t,e),vT=()=>({state:t,dispatch:e})=>v0(t,e),RT=()=>({state:t,dispatch:e})=>g0(t,e),OT=()=>({state:t,dispatch:e})=>T0(t,e),NT=()=>({state:t,dispatch:e,tr:n})=>{try{const r=rs(t.doc,t.selection.$from.pos,-1);return r==null?!1:(n.join(r,2),e&&e(n),!0)}catch{return!1}},AT=()=>({state:t,dispatch:e,tr:n})=>{try{const r=rs(t.doc,t.selection.$from.pos,1);return r==null?!1:(n.join(r,2),e&&e(n),!0)}catch{return!1}},IT=()=>({state:t,dispatch:e})=>E0(t,e),xT=()=>({state:t,dispatch:e})=>S0(t,e);function Lf(){return typeof navigator<"u"?/Mac/.test(navigator.platform):!1}function DT(t){const e=t.split(/-(?!$)/);let n=e[e.length-1];n==="Space"&&(n=" ");let r,i,o,a;for(let s=0;s({editor:e,view:n,tr:r,dispatch:i})=>{const o=DT(t).split(/-(?!$)/),a=o.find(c=>!["Alt","Ctrl","Meta","Shift"].includes(c)),s=new KeyboardEvent("keydown",{key:a==="Space"?" ":a,altKey:o.includes("Alt"),ctrlKey:o.includes("Ctrl"),metaKey:o.includes("Meta"),shiftKey:o.includes("Shift"),bubbles:!0,cancelable:!0}),l=e.captureTransaction(()=>{n.someProp("handleKeyDown",c=>c(n,s))});return l==null||l.steps.forEach(c=>{const u=c.map(r.mapping);u&&i&&r.maybeStep(u)}),!0};function gr(t,e,n={}){const{from:r,to:i,empty:o}=t.selection,a=e?qe(e,t.schema):null,s=[];t.doc.nodesBetween(r,i,(d,p)=>{if(d.isText)return;const _=Math.max(r,p),m=Math.min(i,p+d.nodeSize);s.push({node:d,from:_,to:m})});const l=i-r,c=s.filter(d=>a?a.name===d.node.type.name:!0).filter(d=>ri(d.node.attrs,n,{strict:!1}));return o?!!c.length:c.reduce((d,p)=>d+p.to-p.from,0)>=l}const wT=(t,e={})=>({state:n,dispatch:r})=>{const i=qe(t,n.schema);return gr(n,i,e)?R0(n,r):!1},LT=()=>({state:t,dispatch:e})=>I0(t,e),kT=t=>({state:e,dispatch:n})=>{const r=qe(t,e.schema);return F0(r)(e,n)},PT=()=>({state:t,dispatch:e})=>O0(t,e);function fs(t,e){return e.nodes[t]?"node":e.marks[t]?"mark":null}function Zd(t,e){const n=typeof e=="string"?[e]:e;return Object.keys(t).reduce((r,i)=>(n.includes(i)||(r[i]=t[i]),r),{})}const FT=(t,e)=>({tr:n,state:r,dispatch:i})=>{let o=null,a=null;const s=fs(typeof t=="string"?t:t.name,r.schema);return s?(s==="node"&&(o=qe(t,r.schema)),s==="mark"&&(a=Sn(t,r.schema)),i&&n.selection.ranges.forEach(l=>{r.doc.nodesBetween(l.$from.pos,l.$to.pos,(c,u)=>{o&&o===c.type&&n.setNodeMarkup(u,void 0,Zd(c.attrs,e)),a&&c.marks.length&&c.marks.forEach(d=>{a===d.type&&n.addMark(u,u+c.nodeSize,a.create(Zd(d.attrs,e)))})})}),!0):!1},BT=()=>({tr:t,dispatch:e})=>(e&&t.scrollIntoView(),!0),UT=()=>({tr:t,commands:e})=>e.setTextSelection({from:0,to:t.doc.content.size}),HT=()=>({state:t,dispatch:e})=>b0(t,e),GT=()=>({state:t,dispatch:e})=>C0(t,e),VT=()=>({state:t,dispatch:e})=>x0(t,e),YT=()=>({state:t,dispatch:e})=>w0(t,e),zT=()=>({state:t,dispatch:e})=>M0(t,e);function Kl(t,e,n={},r={}){return Ta(t,e,{slice:!1,parseOptions:n,errorOnInvalidContent:r.errorOnInvalidContent})}const $T=(t,e=!1,n={},r={})=>({editor:i,tr:o,dispatch:a,commands:s})=>{var l,c;const{doc:u}=o;if(n.preserveWhitespace!=="full"){const d=Kl(t,i.schema,n,{errorOnInvalidContent:(l=r.errorOnInvalidContent)!==null&&l!==void 0?l:i.options.enableContentCheck});return a&&o.replaceWith(0,u.content.size,d).setMeta("preventUpdate",!e),!0}return a&&o.setMeta("preventUpdate",!e),s.insertContentAt({from:0,to:u.content.size},t,{parseOptions:n,errorOnInvalidContent:(c=r.errorOnInvalidContent)!==null&&c!==void 0?c:i.options.enableContentCheck})};function zc(t,e){const n=Sn(e,t.schema),{from:r,to:i,empty:o}=t.selection,a=[];o?(t.storedMarks&&a.push(...t.storedMarks),a.push(...t.selection.$head.marks())):t.doc.nodesBetween(r,i,l=>{a.push(...l.marks)});const s=a.find(l=>l.type.name===n.name);return s?{...s.attrs}:{}}function qT(t,e){const n=new Oc(t);return e.forEach(r=>{r.steps.forEach(i=>{n.step(i)})}),n}function WT(t){for(let e=0;e{e(r)&&n.push({node:r,pos:i})}),n}function KT(t,e,n){const r=[];return t.nodesBetween(e.from,e.to,(i,o)=>{n(i)&&r.push({node:i,pos:o})}),r}function kf(t,e){for(let n=t.depth;n>0;n-=1){const r=t.node(n);if(e(r))return{pos:n>0?t.before(n):0,start:t.start(n),depth:n,node:r}}}function hs(t){return e=>kf(e.$from,t)}function QT(t,e){const n={from:0,to:t.content.size};return ms(t,n,e)}function ZT(t,e){const n=qe(e,t.schema),{from:r,to:i}=t.selection,o=[];t.doc.nodesBetween(r,i,s=>{o.push(s)});const a=o.reverse().find(s=>s.type.name===n.name);return a?{...a.attrs}:{}}function Pf(t,e){const n=fs(typeof e=="string"?e:e.name,t.schema);return n==="node"?ZT(t,e):n==="mark"?zc(t,e):{}}function XT(t,e=JSON.stringify){const n={};return t.filter(r=>{const i=e(r);return Object.prototype.hasOwnProperty.call(n,i)?!1:n[i]=!0})}function jT(t){const e=XT(t);return e.length===1?e:e.filter((n,r)=>!e.filter((o,a)=>a!==r).some(o=>n.oldRange.from>=o.oldRange.from&&n.oldRange.to<=o.oldRange.to&&n.newRange.from>=o.newRange.from&&n.newRange.to<=o.newRange.to))}function JT(t){const{mapping:e,steps:n}=t,r=[];return e.maps.forEach((i,o)=>{const a=[];if(i.ranges.length)i.forEach((s,l)=>{a.push({from:s,to:l})});else{const{from:s,to:l}=n[o];if(s===void 0||l===void 0)return;a.push({from:s,to:l})}a.forEach(({from:s,to:l})=>{const c=e.slice(o).map(s,-1),u=e.slice(o).map(l),d=e.invert().map(c,-1),p=e.invert().map(u);r.push({oldRange:{from:d,to:p},newRange:{from:c,to:u}})})}),jT(r)}function $c(t,e,n){const r=[];return t===e?n.resolve(t).marks().forEach(i=>{const o=n.resolve(t),a=Gc(o,i.type);a&&r.push({mark:i,...a})}):n.nodesBetween(t,e,(i,o)=>{!i||(i==null?void 0:i.nodeSize)===void 0||r.push(...i.marks.map(a=>({from:o,to:o+i.nodeSize,mark:a})))}),r}function ta(t,e,n){return Object.fromEntries(Object.entries(n).filter(([r])=>{const i=t.find(o=>o.type===e&&o.name===r);return i?i.attribute.keepOnSplit:!1}))}function Zl(t,e,n={}){const{empty:r,ranges:i}=t.selection,o=e?Sn(e,t.schema):null;if(r)return!!(t.storedMarks||t.selection.$from.marks()).filter(d=>o?o.name===d.type.name:!0).find(d=>ri(d.attrs,n,{strict:!1}));let a=0;const s=[];if(i.forEach(({$from:d,$to:p})=>{const _=d.pos,m=p.pos;t.doc.nodesBetween(_,m,(f,h)=>{if(!f.isText&&!f.marks.length)return;const E=Math.max(_,h),S=Math.min(m,h+f.nodeSize),b=S-E;a+=b,s.push(...f.marks.map(g=>({mark:g,from:E,to:S})))})}),a===0)return!1;const l=s.filter(d=>o?o.name===d.mark.type.name:!0).filter(d=>ri(d.mark.attrs,n,{strict:!1})).reduce((d,p)=>d+p.to-p.from,0),c=s.filter(d=>o?d.mark.type!==o&&d.mark.type.excludes(o):!0).reduce((d,p)=>d+p.to-p.from,0);return(l>0?l+c:l)>=a}function eC(t,e,n={}){if(!e)return gr(t,null,n)||Zl(t,null,n);const r=fs(e,t.schema);return r==="node"?gr(t,e,n):r==="mark"?Zl(t,e,n):!1}function Xd(t,e){const{nodeExtensions:n}=ps(e),r=n.find(a=>a.name===t);if(!r)return!1;const i={name:r.name,options:r.options,storage:r.storage},o=le(W(r,"group",i));return typeof o!="string"?!1:o.split(" ").includes("list")}function gs(t,{checkChildren:e=!0,ignoreWhitespace:n=!1}={}){var r;if(n){if(t.type.name==="hardBreak")return!0;if(t.isText)return/^\s*$/m.test((r=t.text)!==null&&r!==void 0?r:"")}if(t.isText)return!t.text;if(t.isAtom||t.isLeaf)return!1;if(t.content.childCount===0)return!0;if(e){let i=!0;return t.content.forEach(o=>{i!==!1&&(gs(o,{ignoreWhitespace:n,checkChildren:e})||(i=!1))}),i}return!1}function Ff(t){return t instanceof ee}function Qi(t,e,n){const i=t.state.doc.content.size,o=fn(e,0,i),a=fn(n,0,i),s=t.coordsAtPos(o),l=t.coordsAtPos(a,-1),c=Math.min(s.top,l.top),u=Math.max(s.bottom,l.bottom),d=Math.min(s.left,l.left),p=Math.max(s.right,l.right),_=p-d,m=u-c,E={top:c,bottom:u,left:d,right:p,width:_,height:m,x:d,y:c};return{...E,toJSON:()=>E}}function tC(t,e,n){var r;const{selection:i}=e;let o=null;if(Vc(i)&&(o=i.$cursor),o){const s=(r=t.storedMarks)!==null&&r!==void 0?r:o.marks();return!!n.isInSet(s)||!s.some(l=>l.type.excludes(n))}const{ranges:a}=i;return a.some(({$from:s,$to:l})=>{let c=s.depth===0?t.doc.inlineContent&&t.doc.type.allowsMarkType(n):!1;return t.doc.nodesBetween(s.pos,l.pos,(u,d,p)=>{if(c)return!1;if(u.isInline){const _=!p||p.type.allowsMarkType(n),m=!!n.isInSet(u.marks)||!u.marks.some(f=>f.type.excludes(n));c=_&&m}return!c}),c})}const nC=(t,e={})=>({tr:n,state:r,dispatch:i})=>{const{selection:o}=n,{empty:a,ranges:s}=o,l=Sn(t,r.schema);if(i)if(a){const c=zc(r,l);n.addStoredMark(l.create({...c,...e}))}else s.forEach(c=>{const u=c.$from.pos,d=c.$to.pos;r.doc.nodesBetween(u,d,(p,_)=>{const m=Math.max(_,u),f=Math.min(_+p.nodeSize,d);p.marks.find(E=>E.type===l)?p.marks.forEach(E=>{l===E.type&&n.addMark(m,f,l.create({...E.attrs,...e}))}):n.addMark(m,f,l.create(e))})});return tC(r,n,l)},rC=(t,e)=>({tr:n})=>(n.setMeta(t,e),!0),iC=(t,e={})=>({state:n,dispatch:r,chain:i})=>{const o=qe(t,n.schema);let a;return n.selection.$anchor.sameParent(n.selection.$head)&&(a=n.selection.$anchor.parent.attrs),o.isTextblock?i().command(({commands:s})=>$d(o,{...a,...e})(n)?!0:s.clearNodes()).command(({state:s})=>$d(o,{...a,...e})(s,r)).run():(console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'),!1)},oC=t=>({tr:e,dispatch:n})=>{if(n){const{doc:r}=e,i=fn(t,0,r.content.size),o=ee.create(r,i);e.setSelection(o)}return!0},aC=t=>({tr:e,dispatch:n})=>{if(n){const{doc:r}=e,{from:i,to:o}=typeof t=="number"?{from:t,to:t}:t,a=Z.atStart(r).from,s=Z.atEnd(r).to,l=fn(i,a,s),c=fn(o,a,s),u=Z.create(r,l,c);e.setSelection(u)}return!0},sC=t=>({state:e,dispatch:n})=>{const r=qe(t,e.schema);return H0(r)(e,n)};function jd(t,e){const n=t.storedMarks||t.selection.$to.parentOffset&&t.selection.$from.marks();if(n){const r=n.filter(i=>e==null?void 0:e.includes(i.type.name));t.tr.ensureMarks(r)}}const lC=({keepMarks:t=!0}={})=>({tr:e,state:n,dispatch:r,editor:i})=>{const{selection:o,doc:a}=e,{$from:s,$to:l}=o,c=i.extensionManager.attributes,u=ta(c,s.node().type.name,s.node().attrs);if(o instanceof ee&&o.node.isBlock)return!s.parentOffset||!Qr(a,s.pos)?!1:(r&&(t&&jd(n,i.extensionManager.splittableMarks),e.split(s.pos).scrollIntoView()),!0);if(!s.parent.isBlock)return!1;const d=l.parentOffset===l.parent.content.size,p=s.depth===0?void 0:WT(s.node(-1).contentMatchAt(s.indexAfter(-1)));let _=d&&p?[{type:p,attrs:u}]:void 0,m=Qr(e.doc,e.mapping.map(s.pos),1,_);if(!_&&!m&&Qr(e.doc,e.mapping.map(s.pos),1,p?[{type:p}]:void 0)&&(m=!0,_=p?[{type:p,attrs:u}]:void 0),r){if(m&&(o instanceof Z&&e.deleteSelection(),e.split(e.mapping.map(s.pos),1,_),p&&!d&&!s.parentOffset&&s.parent.type!==p)){const f=e.mapping.map(s.before()),h=e.doc.resolve(f);s.node(-1).canReplaceWith(h.index(),h.index()+1,p)&&e.setNodeMarkup(e.mapping.map(s.before()),p)}t&&jd(n,i.extensionManager.splittableMarks),e.scrollIntoView()}return m},cC=(t,e={})=>({tr:n,state:r,dispatch:i,editor:o})=>{var a;const s=qe(t,r.schema),{$from:l,$to:c}=r.selection,u=r.selection.node;if(u&&u.isBlock||l.depth<2||!l.sameParent(c))return!1;const d=l.node(-1);if(d.type!==s)return!1;const p=o.extensionManager.attributes;if(l.parent.content.size===0&&l.node(-1).childCount===l.indexAfter(-1)){if(l.depth===2||l.node(-3).type!==s||l.index(-2)!==l.node(-2).childCount-1)return!1;if(i){let E=w.empty;const S=l.index(-1)?1:l.index(-2)?2:3;for(let x=l.depth-S;x>=l.depth-3;x-=1)E=w.from(l.node(x).copy(E));const b=l.indexAfter(-1){if(R>-1)return!1;x.isTextblock&&x.content.size===0&&(R=O+1)}),R>-1&&n.setSelection(Z.near(n.doc.resolve(R))),n.scrollIntoView()}return!0}const _=c.pos===l.end()?d.contentMatchAt(0).defaultType:null,m={...ta(p,d.type.name,d.attrs),...e},f={...ta(p,l.node().type.name,l.node().attrs),...e};n.delete(l.pos,c.pos);const h=_?[{type:s,attrs:m},{type:_,attrs:f}]:[{type:s,attrs:m}];if(!Qr(n.doc,l.pos,2))return!1;if(i){const{selection:E,storedMarks:S}=r,{splittableMarks:b}=o.extensionManager,g=S||E.$to.parentOffset&&E.$from.marks();if(n.split(l.pos,2,h).scrollIntoView(),!g||!i)return!0;const C=g.filter(T=>b.includes(T.type.name));n.ensureMarks(C)}return!0},Zs=(t,e)=>{const n=hs(a=>a.type===e)(t.selection);if(!n)return!0;const r=t.doc.resolve(Math.max(0,n.pos-1)).before(n.depth);if(r===void 0)return!0;const i=t.doc.nodeAt(r);return n.node.type===(i==null?void 0:i.type)&&$n(t.doc,n.pos)&&t.join(n.pos),!0},Xs=(t,e)=>{const n=hs(a=>a.type===e)(t.selection);if(!n)return!0;const r=t.doc.resolve(n.start).after(n.depth);if(r===void 0)return!0;const i=t.doc.nodeAt(r);return n.node.type===(i==null?void 0:i.type)&&$n(t.doc,r)&&t.join(r),!0},uC=(t,e,n,r={})=>({editor:i,tr:o,state:a,dispatch:s,chain:l,commands:c,can:u})=>{const{extensions:d,splittableMarks:p}=i.extensionManager,_=qe(t,a.schema),m=qe(e,a.schema),{selection:f,storedMarks:h}=a,{$from:E,$to:S}=f,b=E.blockRange(S),g=h||f.$to.parentOffset&&f.$from.marks();if(!b)return!1;const C=hs(T=>Xd(T.type.name,d))(f);if(b.depth>=1&&C&&b.depth-C.depth<=1){if(C.node.type===_)return c.liftListItem(m);if(Xd(C.node.type.name,d)&&_.validContent(C.node.content)&&s)return l().command(()=>(o.setNodeMarkup(C.pos,_),!0)).command(()=>Zs(o,_)).command(()=>Xs(o,_)).run()}return!n||!g||!s?l().command(()=>u().wrapInList(_,r)?!0:c.clearNodes()).wrapInList(_,r).command(()=>Zs(o,_)).command(()=>Xs(o,_)).run():l().command(()=>{const T=u().wrapInList(_,r),R=g.filter(x=>p.includes(x.type.name));return o.ensureMarks(R),T?!0:c.clearNodes()}).wrapInList(_,r).command(()=>Zs(o,_)).command(()=>Xs(o,_)).run()},dC=(t,e={},n={})=>({state:r,commands:i})=>{const{extendEmptyMarkRange:o=!1}=n,a=Sn(t,r.schema);return Zl(r,a,e)?i.unsetMark(a,{extendEmptyMarkRange:o}):i.setMark(a,e)},pC=(t,e,n={})=>({state:r,commands:i})=>{const o=qe(t,r.schema),a=qe(e,r.schema),s=gr(r,o,n);let l;return r.selection.$anchor.sameParent(r.selection.$head)&&(l=r.selection.$anchor.parent.attrs),s?i.setNode(a,l):i.setNode(o,{...l,...n})},_C=(t,e={})=>({state:n,commands:r})=>{const i=qe(t,n.schema);return gr(n,i,e)?r.lift(i):r.wrapIn(i,e)},mC=()=>({state:t,dispatch:e})=>{const n=t.plugins;for(let r=0;r=0;l-=1)a.step(s.steps[l].invert(s.docs[l]));if(o.text){const l=a.doc.resolve(o.from).marks();a.replaceWith(o.from,o.to,t.schema.text(o.text,l))}else a.delete(o.from,o.to)}return!0}}return!1},fC=()=>({tr:t,dispatch:e})=>{const{selection:n}=t,{empty:r,ranges:i}=n;return r||e&&i.forEach(o=>{t.removeMark(o.$from.pos,o.$to.pos)}),!0},hC=(t,e={})=>({tr:n,state:r,dispatch:i})=>{var o;const{extendEmptyMarkRange:a=!1}=e,{selection:s}=n,l=Sn(t,r.schema),{$from:c,empty:u,ranges:d}=s;if(!i)return!0;if(u&&a){let{from:p,to:_}=s;const m=(o=c.marks().find(h=>h.type===l))===null||o===void 0?void 0:o.attrs,f=Gc(c,l,m);f&&(p=f.from,_=f.to),n.removeMark(p,_,l)}else d.forEach(p=>{n.removeMark(p.$from.pos,p.$to.pos,l)});return n.removeStoredMark(l),!0},gC=(t,e={})=>({tr:n,state:r,dispatch:i})=>{let o=null,a=null;const s=fs(typeof t=="string"?t:t.name,r.schema);return s?(s==="node"&&(o=qe(t,r.schema)),s==="mark"&&(a=Sn(t,r.schema)),i&&n.selection.ranges.forEach(l=>{const c=l.$from.pos,u=l.$to.pos;let d,p,_,m;n.selection.empty?r.doc.nodesBetween(c,u,(f,h)=>{o&&o===f.type&&(_=Math.max(h,c),m=Math.min(h+f.nodeSize,u),d=h,p=f)}):r.doc.nodesBetween(c,u,(f,h)=>{h=c&&h<=u&&(o&&o===f.type&&n.setNodeMarkup(h,void 0,{...f.attrs,...e}),a&&f.marks.length&&f.marks.forEach(E=>{if(a===E.type){const S=Math.max(h,c),b=Math.min(h+f.nodeSize,u);n.addMark(S,b,a.create({...E.attrs,...e}))}}))}),p&&(d!==void 0&&n.setNodeMarkup(d,void 0,{...p.attrs,...e}),a&&p.marks.length&&p.marks.forEach(f=>{a===f.type&&n.addMark(_,m,a.create({...f.attrs,...e}))}))}),!0):!1},EC=(t,e={})=>({state:n,dispatch:r})=>{const i=qe(t,n.schema);return L0(i,e)(n,r)},SC=(t,e={})=>({state:n,dispatch:r})=>{const i=qe(t,n.schema);return k0(i,e)(n,r)};var bC=Object.freeze({__proto__:null,blur:rT,clearContent:iT,clearNodes:oT,command:aT,createParagraphNear:sT,cut:lT,deleteCurrentNode:cT,deleteNode:uT,deleteRange:dT,deleteSelection:pT,enter:_T,exitCode:mT,extendMarkRange:fT,first:hT,focus:gT,forEach:ET,insertContent:ST,insertContentAt:CT,joinBackward:RT,joinDown:vT,joinForward:OT,joinItemBackward:NT,joinItemForward:AT,joinTextblockBackward:IT,joinTextblockForward:xT,joinUp:yT,keyboardShortcut:MT,lift:wT,liftEmptyBlock:LT,liftListItem:kT,newlineInCode:PT,resetAttributes:FT,scrollIntoView:BT,selectAll:UT,selectNodeBackward:HT,selectNodeForward:GT,selectParentNode:VT,selectTextblockEnd:YT,selectTextblockStart:zT,setContent:$T,setMark:nC,setMeta:rC,setNode:iC,setNodeSelection:oC,setTextSelection:aC,sinkListItem:sC,splitBlock:lC,splitListItem:cC,toggleList:uC,toggleMark:dC,toggleNode:pC,toggleWrap:_C,undoInputRule:mC,unsetAllMarks:fC,unsetMark:hC,updateAttributes:gC,wrapIn:EC,wrapInList:SC});const TC=he.create({name:"commands",addCommands(){return{...bC}}}),CC=he.create({name:"drop",addProseMirrorPlugins(){return[new Se({key:new ve("tiptapDrop"),props:{handleDrop:(t,e,n,r)=>{this.editor.emit("drop",{editor:this.editor,event:e,slice:n,moved:r})}}})]}}),yC=he.create({name:"editable",addProseMirrorPlugins(){return[new Se({key:new ve("editable"),props:{editable:()=>this.editor.options.editable}})]}}),vC=he.create({name:"focusEvents",addProseMirrorPlugins(){const{editor:t}=this;return[new Se({key:new ve("focusEvents"),props:{handleDOMEvents:{focus:(e,n)=>{t.isFocused=!0;const r=t.state.tr.setMeta("focus",{event:n}).setMeta("addToHistory",!1);return e.dispatch(r),!1},blur:(e,n)=>{t.isFocused=!1;const r=t.state.tr.setMeta("blur",{event:n}).setMeta("addToHistory",!1);return e.dispatch(r),!1}}}})]}}),RC=he.create({name:"keymap",addKeyboardShortcuts(){const t=()=>this.editor.commands.first(({commands:a})=>[()=>a.undoInputRule(),()=>a.command(({tr:s})=>{const{selection:l,doc:c}=s,{empty:u,$anchor:d}=l,{pos:p,parent:_}=d,m=d.parent.isTextblock&&p>0?s.doc.resolve(p-1):d,f=m.parent.type.spec.isolating,h=d.pos-d.parentOffset,E=f&&m.parent.childCount===1?h===d.pos:te.atStart(c).from===p;return!u||!_.type.isTextblock||_.textContent.length||!E||E&&d.parent.type.name==="paragraph"?!1:a.clearNodes()}),()=>a.deleteSelection(),()=>a.joinBackward(),()=>a.selectNodeBackward()]),e=()=>this.editor.commands.first(({commands:a})=>[()=>a.deleteSelection(),()=>a.deleteCurrentNode(),()=>a.joinForward(),()=>a.selectNodeForward()]),r={Enter:()=>this.editor.commands.first(({commands:a})=>[()=>a.newlineInCode(),()=>a.createParagraphNear(),()=>a.liftEmptyBlock(),()=>a.splitBlock()]),"Mod-Enter":()=>this.editor.commands.exitCode(),Backspace:t,"Mod-Backspace":t,"Shift-Backspace":t,Delete:e,"Mod-Delete":e,"Mod-a":()=>this.editor.commands.selectAll()},i={...r},o={...r,"Ctrl-h":t,"Alt-Backspace":t,"Ctrl-d":e,"Ctrl-Alt-Backspace":e,"Alt-Delete":e,"Alt-d":e,"Ctrl-a":()=>this.editor.commands.selectTextblockStart(),"Ctrl-e":()=>this.editor.commands.selectTextblockEnd()};return Yc()||Lf()?o:i},addProseMirrorPlugins(){return[new Se({key:new ve("clearDocument"),appendTransaction:(t,e,n)=>{const r=t.some(f=>f.docChanged)&&!e.doc.eq(n.doc),i=t.some(f=>f.getMeta("preventClearDocument"));if(!r||i)return;const{empty:o,from:a,to:s}=e.selection,l=te.atStart(e.doc).from,c=te.atEnd(e.doc).to;if(o||!(a===l&&s===c)||!gs(n.doc))return;const p=n.tr,_=us({state:n,transaction:p}),{commands:m}=new ds({editor:this.editor,state:_});if(m.clearNodes(),!!p.steps.length)return p}})]}}),OC=he.create({name:"paste",addProseMirrorPlugins(){return[new Se({key:new ve("tiptapPaste"),props:{handlePaste:(t,e,n)=>{this.editor.emit("paste",{editor:this.editor,event:e,slice:n})}}})]}}),NC=he.create({name:"tabindex",addProseMirrorPlugins(){return[new Se({key:new ve("tabindex"),props:{attributes:()=>this.editor.isEditable?{tabindex:"0"}:{}}})]}});class er{get name(){return this.node.type.name}constructor(e,n,r=!1,i=null){this.currentNode=null,this.actualDepth=null,this.isBlock=r,this.resolvedPos=e,this.editor=n,this.currentNode=i}get node(){return this.currentNode||this.resolvedPos.node()}get element(){return this.editor.view.domAtPos(this.pos).node}get depth(){var e;return(e=this.actualDepth)!==null&&e!==void 0?e:this.resolvedPos.depth}get pos(){return this.resolvedPos.pos}get content(){return this.node.content}set content(e){let n=this.from,r=this.to;if(this.isBlock){if(this.content.size===0){console.error(`You can’t set content on a block node. Tried to set content on ${this.name} at ${this.pos}`);return}n=this.from+1,r=this.to-1}this.editor.commands.insertContentAt({from:n,to:r},e)}get attributes(){return this.node.attrs}get textContent(){return this.node.textContent}get size(){return this.node.nodeSize}get from(){return this.isBlock?this.pos:this.resolvedPos.start(this.resolvedPos.depth)}get range(){return{from:this.from,to:this.to}}get to(){return this.isBlock?this.pos+this.size:this.resolvedPos.end(this.resolvedPos.depth)+(this.node.isText?0:1)}get parent(){if(this.depth===0)return null;const e=this.resolvedPos.start(this.resolvedPos.depth-1),n=this.resolvedPos.doc.resolve(e);return new er(n,this.editor)}get before(){let e=this.resolvedPos.doc.resolve(this.from-(this.isBlock?1:2));return e.depth!==this.depth&&(e=this.resolvedPos.doc.resolve(this.from-3)),new er(e,this.editor)}get after(){let e=this.resolvedPos.doc.resolve(this.to+(this.isBlock?2:1));return e.depth!==this.depth&&(e=this.resolvedPos.doc.resolve(this.to+3)),new er(e,this.editor)}get children(){const e=[];return this.node.content.forEach((n,r)=>{const i=n.isBlock&&!n.isTextblock,o=n.isAtom&&!n.isText,a=this.pos+r+(o?0:1),s=this.resolvedPos.doc.resolve(a);if(!i&&s.depth<=this.depth)return;const l=new er(s,this.editor,i,i?n:null);i&&(l.actualDepth=this.depth+1),e.push(new er(s,this.editor,i,i?n:null))}),e}get firstChild(){return this.children[0]||null}get lastChild(){const e=this.children;return e[e.length-1]||null}closest(e,n={}){let r=null,i=this.parent;for(;i&&!r;){if(i.node.type.name===e)if(Object.keys(n).length>0){const o=i.node.attrs,a=Object.keys(n);for(let s=0;s{r&&i.length>0||(a.node.type.name===e&&o.every(l=>n[l]===a.node.attrs[l])&&i.push(a),!(r&&i.length>0)&&(i=i.concat(a.querySelectorAll(e,n,r))))}),i}setAttribute(e){const{tr:n}=this.editor.state;n.setNodeMarkup(this.from,void 0,{...this.node.attrs,...e}),this.editor.view.dispatch(n)}}const AC=`.ProseMirror { position: relative; } @@ -84,37 +84,37 @@ img.ProseMirror-separator { .tippy-box[data-animation=fade][data-state=hidden] { opacity: 0 -}`;function TC(t,e,n){const r=document.querySelector("style[data-tiptap-style]");if(r!==null)return r;const i=document.createElement("style");return e&&i.setAttribute("nonce",e),i.setAttribute("data-tiptap-style",""),i.innerHTML=t,document.getElementsByTagName("head")[0].appendChild(i),i}class CC extends w0{constructor(e={}){super(),this.isFocused=!1,this.isInitialized=!1,this.extensionStorage={},this.options={element:document.createElement("div"),content:"",injectCSS:!0,injectNonce:void 0,extensions:[],autofocus:!1,editable:!0,editorProps:{},parseOptions:{},coreExtensionOptions:{},enableInputRules:!0,enablePasteRules:!0,enableCoreExtensions:!0,enableContentCheck:!1,onBeforeCreate:()=>null,onCreate:()=>null,onUpdate:()=>null,onSelectionUpdate:()=>null,onTransaction:()=>null,onFocus:()=>null,onBlur:()=>null,onDestroy:()=>null,onContentError:({error:n})=>{throw n},onPaste:()=>null,onDrop:()=>null},this.isCapturingTransaction=!1,this.capturedTransaction=null,this.setOptions(e),this.createExtensionManager(),this.createCommandManager(),this.createSchema(),this.on("beforeCreate",this.options.onBeforeCreate),this.emit("beforeCreate",{editor:this}),this.on("contentError",this.options.onContentError),this.createView(),this.injectCSS(),this.on("create",this.options.onCreate),this.on("update",this.options.onUpdate),this.on("selectionUpdate",this.options.onSelectionUpdate),this.on("transaction",this.options.onTransaction),this.on("focus",this.options.onFocus),this.on("blur",this.options.onBlur),this.on("destroy",this.options.onDestroy),this.on("drop",({event:n,slice:r,moved:i})=>this.options.onDrop(n,r,i)),this.on("paste",({event:n,slice:r})=>this.options.onPaste(n,r)),window.setTimeout(()=>{this.isDestroyed||(this.commands.focus(this.options.autofocus),this.emit("create",{editor:this}),this.isInitialized=!0)},0)}get storage(){return this.extensionStorage}get commands(){return this.commandManager.commands}chain(){return this.commandManager.chain()}can(){return this.commandManager.can()}injectCSS(){this.options.injectCSS&&document&&(this.css=TC(bC,this.options.injectNonce))}setOptions(e={}){this.options={...this.options,...e},!(!this.view||!this.state||this.isDestroyed)&&(this.options.editorProps&&this.view.setProps(this.options.editorProps),this.view.updateState(this.state))}setEditable(e,n=!0){this.setOptions({editable:e}),n&&this.emit("update",{editor:this,transaction:this.state.tr})}get isEditable(){return this.options.editable&&this.view&&this.view.editable}get state(){return this.view.state}registerPlugin(e,n){const r=Rf(n)?n(e,[...this.state.plugins]):[...this.state.plugins,e],i=this.state.reconfigure({plugins:r});return this.view.updateState(i),i}unregisterPlugin(e){if(this.isDestroyed)return;const n=this.state.plugins;let r=n;if([].concat(e).forEach(o=>{const a=typeof o=="string"?`${o}$`:o.key;r=n.filter(s=>!s.key.startsWith(a))}),n.length===r.length)return;const i=this.state.reconfigure({plugins:r});return this.view.updateState(i),i}createExtensionManager(){var e,n;const i=[...this.options.enableCoreExtensions?[fC,K0.configure({blockSeparator:(n=(e=this.options.coreExtensionOptions)===null||e===void 0?void 0:e.clipboardTextSerializer)===null||n===void 0?void 0:n.blockSeparator}),_C,gC,hC,SC,mC,EC].filter(o=>typeof this.options.enableCoreExtensions=="object"?this.options.enableCoreExtensions[o.name]!==!1:!0):[],...this.options.extensions].filter(o=>["extension","node","mark"].includes(o==null?void 0:o.type));this.extensionManager=new Yr(i,this)}createCommandManager(){this.commandManager=new cs({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createView(){var e;let n;try{n=ql(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:this.options.enableContentCheck})}catch(a){if(!(a instanceof Error)||!["[tiptap error]: Invalid JSON content","[tiptap error]: Invalid HTML content"].includes(a.message))throw a;this.emit("contentError",{editor:this,error:a,disableCollaboration:()=>{this.storage.collaboration&&(this.storage.collaboration.isDisabled=!0),this.options.extensions=this.options.extensions.filter(s=>s.name!=="collaboration"),this.createExtensionManager()}}),n=ql(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:!1})}const r=Af(n,this.options.autofocus);this.view=new jb(this.options.element,{...this.options.editorProps,attributes:{role:"textbox",...(e=this.options.editorProps)===null||e===void 0?void 0:e.attributes},dispatchTransaction:this.dispatchTransaction.bind(this),state:Vr.create({doc:n,selection:r||void 0})});const i=this.state.reconfigure({plugins:this.extensionManager.plugins});this.view.updateState(i),this.createNodeViews(),this.prependClass();const o=this.view.dom;o.editor=this}createNodeViews(){this.view.isDestroyed||this.view.setProps({nodeViews:this.extensionManager.nodeViews})}prependClass(){this.view.dom.className=`tiptap ${this.view.dom.className}`}captureTransaction(e){this.isCapturingTransaction=!0,e(),this.isCapturingTransaction=!1;const n=this.capturedTransaction;return this.capturedTransaction=null,n}dispatchTransaction(e){if(this.view.isDestroyed)return;if(this.isCapturingTransaction){if(!this.capturedTransaction){this.capturedTransaction=e;return}e.steps.forEach(a=>{var s;return(s=this.capturedTransaction)===null||s===void 0?void 0:s.step(a)});return}const n=this.state.apply(e),r=!this.state.selection.eq(n.selection);this.emit("beforeTransaction",{editor:this,transaction:e,nextState:n}),this.view.updateState(n),this.emit("transaction",{editor:this,transaction:e}),r&&this.emit("selectionUpdate",{editor:this,transaction:e});const i=e.getMeta("focus"),o=e.getMeta("blur");i&&this.emit("focus",{editor:this,event:i.event,transaction:e}),o&&this.emit("blur",{editor:this,event:o.event,transaction:e}),!(!e.docChanged||e.getMeta("preventUpdate"))&&this.emit("update",{editor:this,transaction:e})}getAttributes(e){return Mf(this.state,e)}isActive(e,n){const r=typeof e=="string"?e:null,i=typeof e=="string"?n:e;return qT(this.state,r,i)}getJSON(){return this.state.doc.toJSON()}getHTML(){return Pc(this.state.doc.content,this.schema)}getText(e){const{blockSeparator:n=` +}`;function IC(t,e,n){const r=document.querySelector("style[data-tiptap-style]");if(r!==null)return r;const i=document.createElement("style");return e&&i.setAttribute("nonce",e),i.setAttribute("data-tiptap-style",""),i.innerHTML=t,document.getElementsByTagName("head")[0].appendChild(i),i}class xC extends G0{constructor(e={}){super(),this.isFocused=!1,this.isInitialized=!1,this.extensionStorage={},this.options={element:document.createElement("div"),content:"",injectCSS:!0,injectNonce:void 0,extensions:[],autofocus:!1,editable:!0,editorProps:{},parseOptions:{},coreExtensionOptions:{},enableInputRules:!0,enablePasteRules:!0,enableCoreExtensions:!0,enableContentCheck:!1,onBeforeCreate:()=>null,onCreate:()=>null,onUpdate:()=>null,onSelectionUpdate:()=>null,onTransaction:()=>null,onFocus:()=>null,onBlur:()=>null,onDestroy:()=>null,onContentError:({error:n})=>{throw n},onPaste:()=>null,onDrop:()=>null},this.isCapturingTransaction=!1,this.capturedTransaction=null,this.setOptions(e),this.createExtensionManager(),this.createCommandManager(),this.createSchema(),this.on("beforeCreate",this.options.onBeforeCreate),this.emit("beforeCreate",{editor:this}),this.on("contentError",this.options.onContentError),this.createView(),this.injectCSS(),this.on("create",this.options.onCreate),this.on("update",this.options.onUpdate),this.on("selectionUpdate",this.options.onSelectionUpdate),this.on("transaction",this.options.onTransaction),this.on("focus",this.options.onFocus),this.on("blur",this.options.onBlur),this.on("destroy",this.options.onDestroy),this.on("drop",({event:n,slice:r,moved:i})=>this.options.onDrop(n,r,i)),this.on("paste",({event:n,slice:r})=>this.options.onPaste(n,r)),window.setTimeout(()=>{this.isDestroyed||(this.commands.focus(this.options.autofocus),this.emit("create",{editor:this}),this.isInitialized=!0)},0)}get storage(){return this.extensionStorage}get commands(){return this.commandManager.commands}chain(){return this.commandManager.chain()}can(){return this.commandManager.can()}injectCSS(){this.options.injectCSS&&document&&(this.css=IC(AC,this.options.injectNonce))}setOptions(e={}){this.options={...this.options,...e},!(!this.view||!this.state||this.isDestroyed)&&(this.options.editorProps&&this.view.setProps(this.options.editorProps),this.view.updateState(this.state))}setEditable(e,n=!0){this.setOptions({editable:e}),n&&this.emit("update",{editor:this,transaction:this.state.tr})}get isEditable(){return this.options.editable&&this.view&&this.view.editable}get state(){return this.view.state}registerPlugin(e,n){const r=If(n)?n(e,[...this.state.plugins]):[...this.state.plugins,e],i=this.state.reconfigure({plugins:r});return this.view.updateState(i),i}unregisterPlugin(e){if(this.isDestroyed)return;const n=this.state.plugins;let r=n;if([].concat(e).forEach(o=>{const a=typeof o=="string"?`${o}$`:o.key;r=n.filter(s=>!s.key.startsWith(a))}),n.length===r.length)return;const i=this.state.reconfigure({plugins:r});return this.view.updateState(i),i}createExtensionManager(){var e,n;const i=[...this.options.enableCoreExtensions?[yC,nT.configure({blockSeparator:(n=(e=this.options.coreExtensionOptions)===null||e===void 0?void 0:e.clipboardTextSerializer)===null||n===void 0?void 0:n.blockSeparator}),TC,vC,RC,NC,CC,OC].filter(o=>typeof this.options.enableCoreExtensions=="object"?this.options.enableCoreExtensions[o.name]!==!1:!0):[],...this.options.extensions].filter(o=>["extension","node","mark"].includes(o==null?void 0:o.type));this.extensionManager=new Yr(i,this)}createCommandManager(){this.commandManager=new ds({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createView(){var e;let n;try{n=Kl(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:this.options.enableContentCheck})}catch(a){if(!(a instanceof Error)||!["[tiptap error]: Invalid JSON content","[tiptap error]: Invalid HTML content"].includes(a.message))throw a;this.emit("contentError",{editor:this,error:a,disableCollaboration:()=>{this.storage.collaboration&&(this.storage.collaboration.isDisabled=!0),this.options.extensions=this.options.extensions.filter(s=>s.name!=="collaboration"),this.createExtensionManager()}}),n=Kl(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:!1})}const r=Mf(n,this.options.autofocus);this.view=new a0(this.options.element,{...this.options.editorProps,attributes:{role:"textbox",...(e=this.options.editorProps)===null||e===void 0?void 0:e.attributes},dispatchTransaction:this.dispatchTransaction.bind(this),state:Vr.create({doc:n,selection:r||void 0})});const i=this.state.reconfigure({plugins:this.extensionManager.plugins});this.view.updateState(i),this.createNodeViews(),this.prependClass();const o=this.view.dom;o.editor=this}createNodeViews(){this.view.isDestroyed||this.view.setProps({nodeViews:this.extensionManager.nodeViews})}prependClass(){this.view.dom.className=`tiptap ${this.view.dom.className}`}captureTransaction(e){this.isCapturingTransaction=!0,e(),this.isCapturingTransaction=!1;const n=this.capturedTransaction;return this.capturedTransaction=null,n}dispatchTransaction(e){if(this.view.isDestroyed)return;if(this.isCapturingTransaction){if(!this.capturedTransaction){this.capturedTransaction=e;return}e.steps.forEach(a=>{var s;return(s=this.capturedTransaction)===null||s===void 0?void 0:s.step(a)});return}const n=this.state.apply(e),r=!this.state.selection.eq(n.selection);this.emit("beforeTransaction",{editor:this,transaction:e,nextState:n}),this.view.updateState(n),this.emit("transaction",{editor:this,transaction:e}),r&&this.emit("selectionUpdate",{editor:this,transaction:e});const i=e.getMeta("focus"),o=e.getMeta("blur");i&&this.emit("focus",{editor:this,event:i.event,transaction:e}),o&&this.emit("blur",{editor:this,event:o.event,transaction:e}),!(!e.docChanged||e.getMeta("preventUpdate"))&&this.emit("update",{editor:this,transaction:e})}getAttributes(e){return Pf(this.state,e)}isActive(e,n){const r=typeof e=="string"?e:null,i=typeof e=="string"?n:e;return eC(this.state,r,i)}getJSON(){return this.state.doc.toJSON()}getHTML(){return Uc(this.state.doc.content,this.schema)}getText(e){const{blockSeparator:n=` -`,textSerializers:r={}}=e||{};return GT(this.state.doc,{blockSeparator:n,textSerializers:{...Of(this.schema),...r}})}get isEmpty(){return fs(this.state.doc)}getCharacterCount(){return console.warn('[tiptap warn]: "editor.getCharacterCount()" is deprecated. Please use "editor.storage.characterCount.characters()" instead.'),this.state.doc.content.size-2}destroy(){if(this.emit("destroy"),this.view){const e=this.view.dom;e&&e.editor&&delete e.editor,this.view.destroy()}this.removeAllListeners()}get isDestroyed(){var e;return!(!((e=this.view)===null||e===void 0)&&e.docView)}$node(e,n){var r;return((r=this.$doc)===null||r===void 0?void 0:r.querySelector(e,n))||null}$nodes(e,n){var r;return((r=this.$doc)===null||r===void 0?void 0:r.querySelectorAll(e,n))||null}$pos(e){const n=this.state.doc.resolve(e);return new er(n,this)}get $doc(){return this.$pos(0)}}function Er(t){return new fo({find:t.find,handler:({state:e,range:n,match:r})=>{const i=le(t.getAttributes,void 0,r);if(i===!1||i===null)return null;const{tr:o}=e,a=r[r.length-1],s=r[0];if(a){const l=s.search(/\S/),c=n.from+s.indexOf(a),u=c+a.length;if(Vc(n.from,n.to,e.doc).filter(_=>_.mark.type.excluded.find(f=>f===t.type&&f!==_.mark.type)).filter(_=>_.to>c).length)return null;un.from&&o.delete(n.from+l,c);const p=n.from+l+a.length;o.addMark(n.from+l,p,t.type.create(i||{})),o.removeStoredMark(t.type)}}})}function Yc(t){return new fo({find:t.find,handler:({state:e,range:n,match:r})=>{const i=le(t.getAttributes,void 0,r)||{},{tr:o}=e,a=n.from;let s=n.to;const l=t.type.create(i);if(r[1]){const c=r[0].lastIndexOf(r[1]);let u=a+c;u>s?u=s:s=u+r[1].length;const d=r[0][r[0].length-1];o.insertText(d,a+r[0].length-1),o.replaceWith(u,s,l)}else if(r[0]){const c=t.type.isInline?a:a-1;o.insert(c,t.type.create(i)).delete(o.mapping.map(a),o.mapping.map(s))}o.scrollIntoView()}})}function Ql(t){return new fo({find:t.find,handler:({state:e,range:n,match:r})=>{const i=e.doc.resolve(n.from),o=le(t.getAttributes,void 0,r)||{};if(!i.node(-1).canReplaceWith(i.index(-1),i.indexAfter(-1),t.type))return null;e.tr.delete(n.from,n.to).setBlockType(n.from,n.from,t.type,o)}})}function Sr(t){return new fo({find:t.find,handler:({state:e,range:n,match:r,chain:i})=>{const o=le(t.getAttributes,void 0,r)||{},a=e.tr.delete(n.from,n.to),l=a.doc.resolve(n.from).blockRange(),c=l&&Cc(l,t.type,o);if(!c)return null;if(a.wrap(l,c),t.keepMarks&&t.editor){const{selection:d,storedMarks:p}=e,{splittableMarks:_}=t.editor.extensionManager,m=p||d.$to.parentOffset&&d.$from.marks();if(m){const f=m.filter(g=>_.includes(g.type.name));a.ensureMarks(f)}}if(t.keepAttributes){const d=t.type.name==="bulletList"||t.type.name==="orderedList"?"listItem":"taskList";i().updateAttributes(d,o).run()}const u=a.doc.resolve(n.from-1).nodeBefore;u&&u.type===t.type&&$n(a.doc,n.from-1)&&(!t.joinPredicate||t.joinPredicate(r,u))&&a.join(n.from-1)}})}let Ne=class Zl{constructor(e={}){this.type="node",this.name="node",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=le(W(this,"addOptions",{name:this.name}))),this.storage=le(W(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new Zl(e)}configure(e={}){const n=this.extend({...this.config,addOptions:()=>ds(this.options,e)});return n.name=this.name,n.parent=this.parent,n}extend(e={}){const n=new Zl(e);return n.parent=this,this.child=n,n.name=e.name?e.name:n.parent.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${n.name}".`),n.options=le(W(n,"addOptions",{name:n.name})),n.storage=le(W(n,"addStorage",{name:n.name,options:n.options})),n}};function Yn(t){return new V0({find:t.find,handler:({state:e,range:n,match:r,pasteEvent:i})=>{const o=le(t.getAttributes,void 0,r,i);if(o===!1||o===null)return null;const{tr:a}=e,s=r[r.length-1],l=r[0];let c=n.to;if(s){const u=l.search(/\S/),d=n.from+l.indexOf(s),p=d+s.length;if(Vc(n.from,n.to,e.doc).filter(m=>m.mark.type.excluded.find(g=>g===t.type&&g!==m.mark.type)).filter(m=>m.to>d).length)return null;pn.from&&a.delete(n.from+u,d),c=n.from+u+s.length,a.addMark(n.from+u,c,t.type.create(o||{})),a.removeStoredMark(t.type)}}})}function yC(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}class me extends HTMLElement{constructor(){super();L(this,"template","");L(this,"editor");L(this,"options")}registerClickListener(){this.addEventListener("click",()=>{var r;const n=(r=this.editor)==null?void 0:r.chain();this.onClick(n),n==null||n.run()})}connectedCallback(){this.innerHTML=this.template}onClick(n){}onCreate(n,r){this.editor=n.editor,this.options=r}onTransaction(n){const r=this.querySelector("div");r&&(this.onActive(n.editor)?r.classList.add("active"):r.classList.remove("active"))}onActive(n){return!1}onEditableChange(n){n?(this.style.pointerEvents="",this.style.opacity=""):(this.style.pointerEvents="none",this.style.opacity="0.5")}}class Lf extends me{constructor(){super(),this.template=` +`,textSerializers:r={}}=e||{};return QT(this.state.doc,{blockSeparator:n,textSerializers:{...xf(this.schema),...r}})}get isEmpty(){return gs(this.state.doc)}getCharacterCount(){return console.warn('[tiptap warn]: "editor.getCharacterCount()" is deprecated. Please use "editor.storage.characterCount.characters()" instead.'),this.state.doc.content.size-2}destroy(){if(this.emit("destroy"),this.view){const e=this.view.dom;e&&e.editor&&delete e.editor,this.view.destroy()}this.removeAllListeners()}get isDestroyed(){var e;return!(!((e=this.view)===null||e===void 0)&&e.docView)}$node(e,n){var r;return((r=this.$doc)===null||r===void 0?void 0:r.querySelector(e,n))||null}$nodes(e,n){var r;return((r=this.$doc)===null||r===void 0?void 0:r.querySelectorAll(e,n))||null}$pos(e){const n=this.state.doc.resolve(e);return new er(n,this)}get $doc(){return this.$pos(0)}}function Er(t){return new ho({find:t.find,handler:({state:e,range:n,match:r})=>{const i=le(t.getAttributes,void 0,r);if(i===!1||i===null)return null;const{tr:o}=e,a=r[r.length-1],s=r[0];if(a){const l=s.search(/\S/),c=n.from+s.indexOf(a),u=c+a.length;if($c(n.from,n.to,e.doc).filter(_=>_.mark.type.excluded.find(f=>f===t.type&&f!==_.mark.type)).filter(_=>_.to>c).length)return null;un.from&&o.delete(n.from+l,c);const p=n.from+l+a.length;o.addMark(n.from+l,p,t.type.create(i||{})),o.removeStoredMark(t.type)}}})}function qc(t){return new ho({find:t.find,handler:({state:e,range:n,match:r})=>{const i=le(t.getAttributes,void 0,r)||{},{tr:o}=e,a=n.from;let s=n.to;const l=t.type.create(i);if(r[1]){const c=r[0].lastIndexOf(r[1]);let u=a+c;u>s?u=s:s=u+r[1].length;const d=r[0][r[0].length-1];o.insertText(d,a+r[0].length-1),o.replaceWith(u,s,l)}else if(r[0]){const c=t.type.isInline?a:a-1;o.insert(c,t.type.create(i)).delete(o.mapping.map(a),o.mapping.map(s))}o.scrollIntoView()}})}function Xl(t){return new ho({find:t.find,handler:({state:e,range:n,match:r})=>{const i=e.doc.resolve(n.from),o=le(t.getAttributes,void 0,r)||{};if(!i.node(-1).canReplaceWith(i.index(-1),i.indexAfter(-1),t.type))return null;e.tr.delete(n.from,n.to).setBlockType(n.from,n.from,t.type,o)}})}function Sr(t){return new ho({find:t.find,handler:({state:e,range:n,match:r,chain:i})=>{const o=le(t.getAttributes,void 0,r)||{},a=e.tr.delete(n.from,n.to),l=a.doc.resolve(n.from).blockRange(),c=l&&Rc(l,t.type,o);if(!c)return null;if(a.wrap(l,c),t.keepMarks&&t.editor){const{selection:d,storedMarks:p}=e,{splittableMarks:_}=t.editor.extensionManager,m=p||d.$to.parentOffset&&d.$from.marks();if(m){const f=m.filter(h=>_.includes(h.type.name));a.ensureMarks(f)}}if(t.keepAttributes){const d=t.type.name==="bulletList"||t.type.name==="orderedList"?"listItem":"taskList";i().updateAttributes(d,o).run()}const u=a.doc.resolve(n.from-1).nodeBefore;u&&u.type===t.type&&$n(a.doc,n.from-1)&&(!t.joinPredicate||t.joinPredicate(r,u))&&a.join(n.from-1)}})}let Ne=class jl{constructor(e={}){this.type="node",this.name="node",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=le(W(this,"addOptions",{name:this.name}))),this.storage=le(W(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new jl(e)}configure(e={}){const n=this.extend({...this.config,addOptions:()=>_s(this.options,e)});return n.name=this.name,n.parent=this.parent,n}extend(e={}){const n=new jl(e);return n.parent=this,this.child=n,n.name=e.name?e.name:n.parent.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${n.name}".`),n.options=le(W(n,"addOptions",{name:n.name})),n.storage=le(W(n,"addStorage",{name:n.name,options:n.options})),n}};function Yn(t){return new Z0({find:t.find,handler:({state:e,range:n,match:r,pasteEvent:i})=>{const o=le(t.getAttributes,void 0,r,i);if(o===!1||o===null)return null;const{tr:a}=e,s=r[r.length-1],l=r[0];let c=n.to;if(s){const u=l.search(/\S/),d=n.from+l.indexOf(s),p=d+s.length;if($c(n.from,n.to,e.doc).filter(m=>m.mark.type.excluded.find(h=>h===t.type&&h!==m.mark.type)).filter(m=>m.to>d).length)return null;pn.from&&a.delete(n.from+u,d),c=n.from+u+s.length,a.addMark(n.from+u,c,t.type.create(o||{})),a.removeStoredMark(t.type)}}})}function DC(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}class me extends HTMLElement{constructor(){super();L(this,"template","");L(this,"editor");L(this,"options")}registerClickListener(){this.addEventListener("click",()=>{var r;const n=(r=this.editor)==null?void 0:r.chain();this.onClick(n),n==null||n.run()})}connectedCallback(){this.innerHTML=this.template}onClick(n){}onCreate(n,r){this.editor=n.editor,this.options=r}onTransaction(n){const r=this.querySelector("div");r&&(this.onActive(n.editor)?r.classList.add("active"):r.classList.remove("active"))}onActive(n){return!1}onEditableChange(n){n?(this.style.pointerEvents="",this.style.opacity=""):(this.style.pointerEvents="none",this.style.opacity="0.5")}}class Bf extends me{constructor(){super(),this.template=`
- `,this.registerClickListener()}onClick(e){e.undo()}}class vC extends me{constructor(){super(),this.template=` + `,this.registerClickListener()}onClick(e){e.undo()}}class MC extends me{constructor(){super(),this.template=`
- `,this.registerClickListener()}onClick(e){e.redo()}}var _t="top",Lt="bottom",kt="right",mt="left",zc="auto",go=[_t,Lt,kt,mt],ii="start",Qi="end",RC="clippingParents",kf="viewport",bi="popper",OC="reference",Zd=go.reduce(function(t,e){return t.concat([e+"-"+ii,e+"-"+Qi])},[]),Pf=[].concat(go,[zc]).reduce(function(t,e){return t.concat([e,e+"-"+ii,e+"-"+Qi])},[]),NC="beforeRead",AC="read",IC="afterRead",xC="beforeMain",DC="main",MC="afterMain",wC="beforeWrite",LC="write",kC="afterWrite",PC=[NC,AC,IC,xC,DC,MC,wC,LC,kC];function rn(t){return t?(t.nodeName||"").toLowerCase():null}function Rt(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function br(t){var e=Rt(t).Element;return t instanceof e||t instanceof Element}function wt(t){var e=Rt(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function $c(t){if(typeof ShadowRoot>"u")return!1;var e=Rt(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function FC(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var r=e.styles[n]||{},i=e.attributes[n]||{},o=e.elements[n];!wt(o)||!rn(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(a){var s=i[a];s===!1?o.removeAttribute(a):o.setAttribute(a,s===!0?"":s)}))})}function BC(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(r){var i=e.elements[r],o=e.attributes[r]||{},a=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:n[r]),s=a.reduce(function(l,c){return l[c]="",l},{});!wt(i)||!rn(i)||(Object.assign(i.style,s),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const Ff={name:"applyStyles",enabled:!0,phase:"write",fn:FC,effect:BC,requires:["computeStyles"]};function en(t){return t.split("-")[0]}var ur=Math.max,ba=Math.min,oi=Math.round;function Xl(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Bf(){return!/^((?!chrome|android).)*safari/i.test(Xl())}function ai(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var r=t.getBoundingClientRect(),i=1,o=1;e&&wt(t)&&(i=t.offsetWidth>0&&oi(r.width)/t.offsetWidth||1,o=t.offsetHeight>0&&oi(r.height)/t.offsetHeight||1);var a=br(t)?Rt(t):window,s=a.visualViewport,l=!Bf()&&n,c=(r.left+(l&&s?s.offsetLeft:0))/i,u=(r.top+(l&&s?s.offsetTop:0))/o,d=r.width/i,p=r.height/o;return{width:d,height:p,top:u,right:c+d,bottom:u+p,left:c,x:c,y:u}}function qc(t){var e=ai(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function Uf(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&$c(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function hn(t){return Rt(t).getComputedStyle(t)}function UC(t){return["table","td","th"].indexOf(rn(t))>=0}function Wn(t){return((br(t)?t.ownerDocument:t.document)||window.document).documentElement}function gs(t){return rn(t)==="html"?t:t.assignedSlot||t.parentNode||($c(t)?t.host:null)||Wn(t)}function Xd(t){return!wt(t)||hn(t).position==="fixed"?null:t.offsetParent}function HC(t){var e=/firefox/i.test(Xl()),n=/Trident/i.test(Xl());if(n&&wt(t)){var r=hn(t);if(r.position==="fixed")return null}var i=gs(t);for($c(i)&&(i=i.host);wt(i)&&["html","body"].indexOf(rn(i))<0;){var o=hn(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||e&&o.willChange==="filter"||e&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function ho(t){for(var e=Rt(t),n=Xd(t);n&&UC(n)&&hn(n).position==="static";)n=Xd(n);return n&&(rn(n)==="html"||rn(n)==="body"&&hn(n).position==="static")?e:n||HC(t)||e}function Wc(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Li(t,e,n){return ur(t,ba(e,n))}function GC(t,e,n){var r=Li(t,e,n);return r>n?n:r}function Hf(){return{top:0,right:0,bottom:0,left:0}}function Gf(t){return Object.assign({},Hf(),t)}function Vf(t,e){return e.reduce(function(n,r){return n[r]=t,n},{})}var VC=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,Gf(typeof e!="number"?e:Vf(e,go))};function YC(t){var e,n=t.state,r=t.name,i=t.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=en(n.placement),l=Wc(s),c=[mt,kt].indexOf(s)>=0,u=c?"height":"width";if(!(!o||!a)){var d=VC(i.padding,n),p=qc(o),_=l==="y"?_t:mt,m=l==="y"?Lt:kt,f=n.rects.reference[u]+n.rects.reference[l]-a[l]-n.rects.popper[u],g=a[l]-n.rects.reference[l],E=ho(o),S=E?l==="y"?E.clientHeight||0:E.clientWidth||0:0,b=f/2-g/2,h=d[_],C=S-p[u]-d[m],T=S/2-p[u]/2+b,R=Li(h,T,C),x=l;n.modifiersData[r]=(e={},e[x]=R,e.centerOffset=R-T,e)}}function zC(t){var e=t.state,n=t.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=e.elements.popper.querySelector(i),!i)||Uf(e.elements.popper,i)&&(e.elements.arrow=i))}const $C={name:"arrow",enabled:!0,phase:"main",fn:YC,effect:zC,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function si(t){return t.split("-")[1]}var qC={top:"auto",right:"auto",bottom:"auto",left:"auto"};function WC(t,e){var n=t.x,r=t.y,i=e.devicePixelRatio||1;return{x:oi(n*i)/i||0,y:oi(r*i)/i||0}}function jd(t){var e,n=t.popper,r=t.popperRect,i=t.placement,o=t.variation,a=t.offsets,s=t.position,l=t.gpuAcceleration,c=t.adaptive,u=t.roundOffsets,d=t.isFixed,p=a.x,_=p===void 0?0:p,m=a.y,f=m===void 0?0:m,g=typeof u=="function"?u({x:_,y:f}):{x:_,y:f};_=g.x,f=g.y;var E=a.hasOwnProperty("x"),S=a.hasOwnProperty("y"),b=mt,h=_t,C=window;if(c){var T=ho(n),R="clientHeight",x="clientWidth";if(T===Rt(n)&&(T=Wn(n),hn(T).position!=="static"&&s==="absolute"&&(R="scrollHeight",x="scrollWidth")),T=T,i===_t||(i===mt||i===kt)&&o===Qi){h=Lt;var O=d&&T===C&&C.visualViewport?C.visualViewport.height:T[R];f-=O-r.height,f*=l?1:-1}if(i===mt||(i===_t||i===Lt)&&o===Qi){b=kt;var M=d&&T===C&&C.visualViewport?C.visualViewport.width:T[x];_-=M-r.width,_*=l?1:-1}}var B=Object.assign({position:s},c&&qC),Y=u===!0?WC({x:_,y:f},Rt(n)):{x:_,y:f};if(_=Y.x,f=Y.y,l){var $;return Object.assign({},B,($={},$[h]=S?"0":"",$[b]=E?"0":"",$.transform=(C.devicePixelRatio||1)<=1?"translate("+_+"px, "+f+"px)":"translate3d("+_+"px, "+f+"px, 0)",$))}return Object.assign({},B,(e={},e[h]=S?f+"px":"",e[b]=E?_+"px":"",e.transform="",e))}function KC(t){var e=t.state,n=t.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,a=o===void 0?!0:o,s=n.roundOffsets,l=s===void 0?!0:s,c={placement:en(e.placement),variation:si(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,jd(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,jd(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const QC={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:KC,data:{}};var Do={passive:!0};function ZC(t){var e=t.state,n=t.instance,r=t.options,i=r.scroll,o=i===void 0?!0:i,a=r.resize,s=a===void 0?!0:a,l=Rt(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach(function(u){u.addEventListener("scroll",n.update,Do)}),s&&l.addEventListener("resize",n.update,Do),function(){o&&c.forEach(function(u){u.removeEventListener("scroll",n.update,Do)}),s&&l.removeEventListener("resize",n.update,Do)}}const XC={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:ZC,data:{}};var jC={left:"right",right:"left",bottom:"top",top:"bottom"};function ea(t){return t.replace(/left|right|bottom|top/g,function(e){return jC[e]})}var JC={start:"end",end:"start"};function Jd(t){return t.replace(/start|end/g,function(e){return JC[e]})}function Kc(t){var e=Rt(t),n=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Qc(t){return ai(Wn(t)).left+Kc(t).scrollLeft}function e1(t,e){var n=Rt(t),r=Wn(t),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;var c=Bf();(c||!c&&e==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s+Qc(t),y:l}}function t1(t){var e,n=Wn(t),r=Kc(t),i=(e=t.ownerDocument)==null?void 0:e.body,o=ur(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=ur(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+Qc(t),l=-r.scrollTop;return hn(i||n).direction==="rtl"&&(s+=ur(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}function Zc(t){var e=hn(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Yf(t){return["html","body","#document"].indexOf(rn(t))>=0?t.ownerDocument.body:wt(t)&&Zc(t)?t:Yf(gs(t))}function ki(t,e){var n;e===void 0&&(e=[]);var r=Yf(t),i=r===((n=t.ownerDocument)==null?void 0:n.body),o=Rt(r),a=i?[o].concat(o.visualViewport||[],Zc(r)?r:[]):r,s=e.concat(a);return i?s:s.concat(ki(gs(a)))}function jl(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function n1(t,e){var n=ai(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function ep(t,e,n){return e===kf?jl(e1(t,n)):br(e)?n1(e,n):jl(t1(Wn(t)))}function r1(t){var e=ki(gs(t)),n=["absolute","fixed"].indexOf(hn(t).position)>=0,r=n&&wt(t)?ho(t):t;return br(r)?e.filter(function(i){return br(i)&&Uf(i,r)&&rn(i)!=="body"}):[]}function i1(t,e,n,r){var i=e==="clippingParents"?r1(t):[].concat(e),o=[].concat(i,[n]),a=o[0],s=o.reduce(function(l,c){var u=ep(t,c,r);return l.top=ur(u.top,l.top),l.right=ba(u.right,l.right),l.bottom=ba(u.bottom,l.bottom),l.left=ur(u.left,l.left),l},ep(t,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function zf(t){var e=t.reference,n=t.element,r=t.placement,i=r?en(r):null,o=r?si(r):null,a=e.x+e.width/2-n.width/2,s=e.y+e.height/2-n.height/2,l;switch(i){case _t:l={x:a,y:e.y-n.height};break;case Lt:l={x:a,y:e.y+e.height};break;case kt:l={x:e.x+e.width,y:s};break;case mt:l={x:e.x-n.width,y:s};break;default:l={x:e.x,y:e.y}}var c=i?Wc(i):null;if(c!=null){var u=c==="y"?"height":"width";switch(o){case ii:l[c]=l[c]-(e[u]/2-n[u]/2);break;case Qi:l[c]=l[c]+(e[u]/2-n[u]/2);break}}return l}function Zi(t,e){e===void 0&&(e={});var n=e,r=n.placement,i=r===void 0?t.placement:r,o=n.strategy,a=o===void 0?t.strategy:o,s=n.boundary,l=s===void 0?RC:s,c=n.rootBoundary,u=c===void 0?kf:c,d=n.elementContext,p=d===void 0?bi:d,_=n.altBoundary,m=_===void 0?!1:_,f=n.padding,g=f===void 0?0:f,E=Gf(typeof g!="number"?g:Vf(g,go)),S=p===bi?OC:bi,b=t.rects.popper,h=t.elements[m?S:p],C=i1(br(h)?h:h.contextElement||Wn(t.elements.popper),l,u,a),T=ai(t.elements.reference),R=zf({reference:T,element:b,strategy:"absolute",placement:i}),x=jl(Object.assign({},b,R)),O=p===bi?x:T,M={top:C.top-O.top+E.top,bottom:O.bottom-C.bottom+E.bottom,left:C.left-O.left+E.left,right:O.right-C.right+E.right},B=t.modifiersData.offset;if(p===bi&&B){var Y=B[i];Object.keys(M).forEach(function($){var q=[kt,Lt].indexOf($)>=0?1:-1,V=[_t,Lt].indexOf($)>=0?"y":"x";M[$]+=Y[V]*q})}return M}function o1(t,e){e===void 0&&(e={});var n=e,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?Pf:l,u=si(r),d=u?s?Zd:Zd.filter(function(m){return si(m)===u}):go,p=d.filter(function(m){return c.indexOf(m)>=0});p.length===0&&(p=d);var _=p.reduce(function(m,f){return m[f]=Zi(t,{placement:f,boundary:i,rootBoundary:o,padding:a})[en(f)],m},{});return Object.keys(_).sort(function(m,f){return _[m]-_[f]})}function a1(t){if(en(t)===zc)return[];var e=ea(t);return[Jd(t),e,Jd(e)]}function s1(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!0:a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,_=n.flipVariations,m=_===void 0?!0:_,f=n.allowedAutoPlacements,g=e.options.placement,E=en(g),S=E===g,b=l||(S||!m?[ea(g)]:a1(g)),h=[g].concat(b).reduce(function(Ce,ie){return Ce.concat(en(ie)===zc?o1(e,{placement:ie,boundary:u,rootBoundary:d,padding:c,flipVariations:m,allowedAutoPlacements:f}):ie)},[]),C=e.rects.reference,T=e.rects.popper,R=new Map,x=!0,O=h[0],M=0;M=0,V=q?"width":"height",J=Zi(e,{placement:B,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),y=q?$?kt:mt:$?Lt:_t;C[V]>T[V]&&(y=ea(y));var v=ea(y),A=[];if(o&&A.push(J[Y]<=0),s&&A.push(J[y]<=0,J[v]<=0),A.every(function(Ce){return Ce})){O=B,x=!1;break}R.set(B,A)}if(x)for(var k=m?3:1,G=function(ie){var ue=h.find(function(Be){var Le=R.get(Be);if(Le)return Le.slice(0,ie).every(function(We){return We})});if(ue)return O=ue,"break"},z=k;z>0;z--){var ae=G(z);if(ae==="break")break}e.placement!==O&&(e.modifiersData[r]._skip=!0,e.placement=O,e.reset=!0)}}const l1={name:"flip",enabled:!0,phase:"main",fn:s1,requiresIfExists:["offset"],data:{_skip:!1}};function tp(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function np(t){return[_t,kt,Lt,mt].some(function(e){return t[e]>=0})}function c1(t){var e=t.state,n=t.name,r=e.rects.reference,i=e.rects.popper,o=e.modifiersData.preventOverflow,a=Zi(e,{elementContext:"reference"}),s=Zi(e,{altBoundary:!0}),l=tp(a,r),c=tp(s,i,o),u=np(l),d=np(c);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}const u1={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:c1};function d1(t,e,n){var r=en(t),i=[mt,_t].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[mt,kt].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function p1(t){var e=t.state,n=t.options,r=t.name,i=n.offset,o=i===void 0?[0,0]:i,a=Pf.reduce(function(u,d){return u[d]=d1(d,e.rects,o),u},{}),s=a[e.placement],l=s.x,c=s.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[r]=a}const _1={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:p1};function m1(t){var e=t.state,n=t.name;e.modifiersData[n]=zf({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const f1={name:"popperOffsets",enabled:!0,phase:"read",fn:m1,data:{}};function g1(t){return t==="x"?"y":"x"}function h1(t){var e=t.state,n=t.options,r=t.name,i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!1:a,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,p=n.tether,_=p===void 0?!0:p,m=n.tetherOffset,f=m===void 0?0:m,g=Zi(e,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),E=en(e.placement),S=si(e.placement),b=!S,h=Wc(E),C=g1(h),T=e.modifiersData.popperOffsets,R=e.rects.reference,x=e.rects.popper,O=typeof f=="function"?f(Object.assign({},e.rects,{placement:e.placement})):f,M=typeof O=="number"?{mainAxis:O,altAxis:O}:Object.assign({mainAxis:0,altAxis:0},O),B=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,Y={x:0,y:0};if(T){if(o){var $,q=h==="y"?_t:mt,V=h==="y"?Lt:kt,J=h==="y"?"height":"width",y=T[h],v=y+g[q],A=y-g[V],k=_?-x[J]/2:0,G=S===ii?R[J]:x[J],z=S===ii?-x[J]:-R[J],ae=e.elements.arrow,Ce=_&&ae?qc(ae):{width:0,height:0},ie=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Hf(),ue=ie[q],Be=ie[V],Le=Li(0,R[J],Ce[J]),We=b?R[J]/2-k-Le-ue-M.mainAxis:G-Le-ue-M.mainAxis,Ke=b?-R[J]/2+k+Le+Be+M.mainAxis:z+Le+Be+M.mainAxis,ht=e.elements.arrow&&ho(e.elements.arrow),Ft=ht?h==="y"?ht.clientTop||0:ht.clientLeft||0:0,de=($=B==null?void 0:B[h])!=null?$:0,Pe=y+We-de-Ft,Qe=y+Ke-de,he=Li(_?ba(v,Pe):v,y,_?ur(A,Qe):A);T[h]=he,Y[h]=he-y}if(s){var zt,Et=h==="x"?_t:mt,P=h==="x"?Lt:kt,et=T[C],oe=C==="y"?"height":"width",X=et+g[Et],He=et-g[P],xe=[_t,mt].indexOf(E)!==-1,St=(zt=B==null?void 0:B[C])!=null?zt:0,bt=xe?X:et-R[oe]-x[oe]-St+M.altAxis,N=xe?et+R[oe]+x[oe]-St-M.altAxis:He,D=_&&xe?GC(bt,et,N):Li(_?bt:X,et,_?N:He);T[C]=D,Y[C]=D-et}e.modifiersData[r]=Y}}const E1={name:"preventOverflow",enabled:!0,phase:"main",fn:h1,requiresIfExists:["offset"]};function S1(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function b1(t){return t===Rt(t)||!wt(t)?Kc(t):S1(t)}function T1(t){var e=t.getBoundingClientRect(),n=oi(e.width)/t.offsetWidth||1,r=oi(e.height)/t.offsetHeight||1;return n!==1||r!==1}function C1(t,e,n){n===void 0&&(n=!1);var r=wt(e),i=wt(e)&&T1(e),o=Wn(e),a=ai(t,i,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((rn(e)!=="body"||Zc(o))&&(s=b1(e)),wt(e)?(l=ai(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):o&&(l.x=Qc(o))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function y1(t){var e=new Map,n=new Set,r=[];t.forEach(function(o){e.set(o.name,o)});function i(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var l=e.get(s);l&&i(l)}}),r.push(o)}return t.forEach(function(o){n.has(o.name)||i(o)}),r}function v1(t){var e=y1(t);return PC.reduce(function(n,r){return n.concat(e.filter(function(i){return i.phase===r}))},[])}function R1(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function O1(t){var e=t.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(e).map(function(n){return e[n]})}var rp={placement:"bottom",modifiers:[],strategy:"absolute"};function ip(){for(var t=arguments.length,e=new Array(t),n=0;n-1}function Qf(t,e){return typeof t=="function"?t.apply(void 0,e):t}function op(t,e){if(e===0)return t;var n;return function(r){clearTimeout(n),n=setTimeout(function(){t(r)},e)}}function w1(t,e){var n=Object.assign({},t);return e.forEach(function(r){delete n[r]}),n}function L1(t){return t.split(/\s+/).filter(Boolean)}function Br(t){return[].concat(t)}function ap(t,e){t.indexOf(e)===-1&&t.push(e)}function k1(t){return t.filter(function(e,n){return t.indexOf(e)===n})}function P1(t){return t.split("-")[0]}function Ta(t){return[].slice.call(t)}function sp(t){return Object.keys(t).reduce(function(e,n){return t[n]!==void 0&&(e[n]=t[n]),e},{})}function Pi(){return document.createElement("div")}function Xi(t){return["Element","Fragment"].some(function(e){return Xc(t,e)})}function F1(t){return Xc(t,"NodeList")}function B1(t){return Xc(t,"MouseEvent")}function U1(t){return!!(t&&t._tippy&&t._tippy.reference===t)}function H1(t){return Xi(t)?[t]:F1(t)?Ta(t):Array.isArray(t)?t:Ta(document.querySelectorAll(t))}function Xs(t,e){t.forEach(function(n){n&&(n.style.transitionDuration=e+"ms")})}function lp(t,e){t.forEach(function(n){n&&n.setAttribute("data-state",e)})}function G1(t){var e,n=Br(t),r=n[0];return r!=null&&(e=r.ownerDocument)!=null&&e.body?r.ownerDocument:document}function V1(t,e){var n=e.clientX,r=e.clientY;return t.every(function(i){var o=i.popperRect,a=i.popperState,s=i.props,l=s.interactiveBorder,c=P1(a.placement),u=a.modifiersData.offset;if(!u)return!0;var d=c==="bottom"?u.top.y:0,p=c==="top"?u.bottom.y:0,_=c==="right"?u.left.x:0,m=c==="left"?u.right.x:0,f=o.top-r+d>l,g=r-o.bottom-p>l,E=o.left-n+_>l,S=n-o.right-m>l;return f||g||E||S})}function js(t,e,n){var r=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(i){t[r](i,n)})}function cp(t,e){for(var n=e;n;){var r;if(t.contains(n))return!0;n=n.getRootNode==null||(r=n.getRootNode())==null?void 0:r.host}return!1}var Qt={isTouch:!1},up=0;function Y1(){Qt.isTouch||(Qt.isTouch=!0,window.performance&&document.addEventListener("mousemove",Zf))}function Zf(){var t=performance.now();t-up<20&&(Qt.isTouch=!1,document.removeEventListener("mousemove",Zf)),up=t}function z1(){var t=document.activeElement;if(U1(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}function $1(){document.addEventListener("touchstart",Y1,jn),window.addEventListener("blur",z1)}var q1=typeof window<"u"&&typeof document<"u",W1=q1?!!window.msCrypto:!1;function Ir(t){var e=t==="destroy"?"n already-":" ";return[t+"() was called on a"+e+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function dp(t){var e=/[ \t]{2,}/g,n=/^[ \t]*/gm;return t.replace(e," ").replace(n,"").trim()}function K1(t){return dp(` + `,this.registerClickListener()}onClick(e){e.redo()}}var _t="top",Lt="bottom",kt="right",mt="left",Wc="auto",go=[_t,Lt,kt,mt],ii="start",Zi="end",wC="clippingParents",Uf="viewport",Ti="popper",LC="reference",Jd=go.reduce(function(t,e){return t.concat([e+"-"+ii,e+"-"+Zi])},[]),Hf=[].concat(go,[Wc]).reduce(function(t,e){return t.concat([e,e+"-"+ii,e+"-"+Zi])},[]),kC="beforeRead",PC="read",FC="afterRead",BC="beforeMain",UC="main",HC="afterMain",GC="beforeWrite",VC="write",YC="afterWrite",zC=[kC,PC,FC,BC,UC,HC,GC,VC,YC];function rn(t){return t?(t.nodeName||"").toLowerCase():null}function Rt(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function br(t){var e=Rt(t).Element;return t instanceof e||t instanceof Element}function wt(t){var e=Rt(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function Kc(t){if(typeof ShadowRoot>"u")return!1;var e=Rt(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function $C(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var r=e.styles[n]||{},i=e.attributes[n]||{},o=e.elements[n];!wt(o)||!rn(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(a){var s=i[a];s===!1?o.removeAttribute(a):o.setAttribute(a,s===!0?"":s)}))})}function qC(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(r){var i=e.elements[r],o=e.attributes[r]||{},a=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:n[r]),s=a.reduce(function(l,c){return l[c]="",l},{});!wt(i)||!rn(i)||(Object.assign(i.style,s),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const Gf={name:"applyStyles",enabled:!0,phase:"write",fn:$C,effect:qC,requires:["computeStyles"]};function en(t){return t.split("-")[0]}var ur=Math.max,Ca=Math.min,oi=Math.round;function Jl(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Vf(){return!/^((?!chrome|android).)*safari/i.test(Jl())}function ai(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var r=t.getBoundingClientRect(),i=1,o=1;e&&wt(t)&&(i=t.offsetWidth>0&&oi(r.width)/t.offsetWidth||1,o=t.offsetHeight>0&&oi(r.height)/t.offsetHeight||1);var a=br(t)?Rt(t):window,s=a.visualViewport,l=!Vf()&&n,c=(r.left+(l&&s?s.offsetLeft:0))/i,u=(r.top+(l&&s?s.offsetTop:0))/o,d=r.width/i,p=r.height/o;return{width:d,height:p,top:u,right:c+d,bottom:u+p,left:c,x:c,y:u}}function Qc(t){var e=ai(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function Yf(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&Kc(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function gn(t){return Rt(t).getComputedStyle(t)}function WC(t){return["table","td","th"].indexOf(rn(t))>=0}function Wn(t){return((br(t)?t.ownerDocument:t.document)||window.document).documentElement}function Es(t){return rn(t)==="html"?t:t.assignedSlot||t.parentNode||(Kc(t)?t.host:null)||Wn(t)}function ep(t){return!wt(t)||gn(t).position==="fixed"?null:t.offsetParent}function KC(t){var e=/firefox/i.test(Jl()),n=/Trident/i.test(Jl());if(n&&wt(t)){var r=gn(t);if(r.position==="fixed")return null}var i=Es(t);for(Kc(i)&&(i=i.host);wt(i)&&["html","body"].indexOf(rn(i))<0;){var o=gn(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||e&&o.willChange==="filter"||e&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function Eo(t){for(var e=Rt(t),n=ep(t);n&&WC(n)&&gn(n).position==="static";)n=ep(n);return n&&(rn(n)==="html"||rn(n)==="body"&&gn(n).position==="static")?e:n||KC(t)||e}function Zc(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function ki(t,e,n){return ur(t,Ca(e,n))}function QC(t,e,n){var r=ki(t,e,n);return r>n?n:r}function zf(){return{top:0,right:0,bottom:0,left:0}}function $f(t){return Object.assign({},zf(),t)}function qf(t,e){return e.reduce(function(n,r){return n[r]=t,n},{})}var ZC=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,$f(typeof e!="number"?e:qf(e,go))};function XC(t){var e,n=t.state,r=t.name,i=t.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=en(n.placement),l=Zc(s),c=[mt,kt].indexOf(s)>=0,u=c?"height":"width";if(!(!o||!a)){var d=ZC(i.padding,n),p=Qc(o),_=l==="y"?_t:mt,m=l==="y"?Lt:kt,f=n.rects.reference[u]+n.rects.reference[l]-a[l]-n.rects.popper[u],h=a[l]-n.rects.reference[l],E=Eo(o),S=E?l==="y"?E.clientHeight||0:E.clientWidth||0:0,b=f/2-h/2,g=d[_],C=S-p[u]-d[m],T=S/2-p[u]/2+b,R=ki(g,T,C),x=l;n.modifiersData[r]=(e={},e[x]=R,e.centerOffset=R-T,e)}}function jC(t){var e=t.state,n=t.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=e.elements.popper.querySelector(i),!i)||Yf(e.elements.popper,i)&&(e.elements.arrow=i))}const JC={name:"arrow",enabled:!0,phase:"main",fn:XC,effect:jC,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function si(t){return t.split("-")[1]}var e1={top:"auto",right:"auto",bottom:"auto",left:"auto"};function t1(t,e){var n=t.x,r=t.y,i=e.devicePixelRatio||1;return{x:oi(n*i)/i||0,y:oi(r*i)/i||0}}function tp(t){var e,n=t.popper,r=t.popperRect,i=t.placement,o=t.variation,a=t.offsets,s=t.position,l=t.gpuAcceleration,c=t.adaptive,u=t.roundOffsets,d=t.isFixed,p=a.x,_=p===void 0?0:p,m=a.y,f=m===void 0?0:m,h=typeof u=="function"?u({x:_,y:f}):{x:_,y:f};_=h.x,f=h.y;var E=a.hasOwnProperty("x"),S=a.hasOwnProperty("y"),b=mt,g=_t,C=window;if(c){var T=Eo(n),R="clientHeight",x="clientWidth";if(T===Rt(n)&&(T=Wn(n),gn(T).position!=="static"&&s==="absolute"&&(R="scrollHeight",x="scrollWidth")),T=T,i===_t||(i===mt||i===kt)&&o===Zi){g=Lt;var O=d&&T===C&&C.visualViewport?C.visualViewport.height:T[R];f-=O-r.height,f*=l?1:-1}if(i===mt||(i===_t||i===Lt)&&o===Zi){b=kt;var M=d&&T===C&&C.visualViewport?C.visualViewport.width:T[x];_-=M-r.width,_*=l?1:-1}}var B=Object.assign({position:s},c&&e1),Y=u===!0?t1({x:_,y:f},Rt(n)):{x:_,y:f};if(_=Y.x,f=Y.y,l){var $;return Object.assign({},B,($={},$[g]=S?"0":"",$[b]=E?"0":"",$.transform=(C.devicePixelRatio||1)<=1?"translate("+_+"px, "+f+"px)":"translate3d("+_+"px, "+f+"px, 0)",$))}return Object.assign({},B,(e={},e[g]=S?f+"px":"",e[b]=E?_+"px":"",e.transform="",e))}function n1(t){var e=t.state,n=t.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,a=o===void 0?!0:o,s=n.roundOffsets,l=s===void 0?!0:s,c={placement:en(e.placement),variation:si(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,tp(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,tp(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const r1={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:n1,data:{}};var wo={passive:!0};function i1(t){var e=t.state,n=t.instance,r=t.options,i=r.scroll,o=i===void 0?!0:i,a=r.resize,s=a===void 0?!0:a,l=Rt(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach(function(u){u.addEventListener("scroll",n.update,wo)}),s&&l.addEventListener("resize",n.update,wo),function(){o&&c.forEach(function(u){u.removeEventListener("scroll",n.update,wo)}),s&&l.removeEventListener("resize",n.update,wo)}}const o1={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:i1,data:{}};var a1={left:"right",right:"left",bottom:"top",top:"bottom"};function na(t){return t.replace(/left|right|bottom|top/g,function(e){return a1[e]})}var s1={start:"end",end:"start"};function np(t){return t.replace(/start|end/g,function(e){return s1[e]})}function Xc(t){var e=Rt(t),n=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:n,scrollTop:r}}function jc(t){return ai(Wn(t)).left+Xc(t).scrollLeft}function l1(t,e){var n=Rt(t),r=Wn(t),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;var c=Vf();(c||!c&&e==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s+jc(t),y:l}}function c1(t){var e,n=Wn(t),r=Xc(t),i=(e=t.ownerDocument)==null?void 0:e.body,o=ur(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=ur(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+jc(t),l=-r.scrollTop;return gn(i||n).direction==="rtl"&&(s+=ur(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}function Jc(t){var e=gn(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Wf(t){return["html","body","#document"].indexOf(rn(t))>=0?t.ownerDocument.body:wt(t)&&Jc(t)?t:Wf(Es(t))}function Pi(t,e){var n;e===void 0&&(e=[]);var r=Wf(t),i=r===((n=t.ownerDocument)==null?void 0:n.body),o=Rt(r),a=i?[o].concat(o.visualViewport||[],Jc(r)?r:[]):r,s=e.concat(a);return i?s:s.concat(Pi(Es(a)))}function ec(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function u1(t,e){var n=ai(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function rp(t,e,n){return e===Uf?ec(l1(t,n)):br(e)?u1(e,n):ec(c1(Wn(t)))}function d1(t){var e=Pi(Es(t)),n=["absolute","fixed"].indexOf(gn(t).position)>=0,r=n&&wt(t)?Eo(t):t;return br(r)?e.filter(function(i){return br(i)&&Yf(i,r)&&rn(i)!=="body"}):[]}function p1(t,e,n,r){var i=e==="clippingParents"?d1(t):[].concat(e),o=[].concat(i,[n]),a=o[0],s=o.reduce(function(l,c){var u=rp(t,c,r);return l.top=ur(u.top,l.top),l.right=Ca(u.right,l.right),l.bottom=Ca(u.bottom,l.bottom),l.left=ur(u.left,l.left),l},rp(t,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Kf(t){var e=t.reference,n=t.element,r=t.placement,i=r?en(r):null,o=r?si(r):null,a=e.x+e.width/2-n.width/2,s=e.y+e.height/2-n.height/2,l;switch(i){case _t:l={x:a,y:e.y-n.height};break;case Lt:l={x:a,y:e.y+e.height};break;case kt:l={x:e.x+e.width,y:s};break;case mt:l={x:e.x-n.width,y:s};break;default:l={x:e.x,y:e.y}}var c=i?Zc(i):null;if(c!=null){var u=c==="y"?"height":"width";switch(o){case ii:l[c]=l[c]-(e[u]/2-n[u]/2);break;case Zi:l[c]=l[c]+(e[u]/2-n[u]/2);break}}return l}function Xi(t,e){e===void 0&&(e={});var n=e,r=n.placement,i=r===void 0?t.placement:r,o=n.strategy,a=o===void 0?t.strategy:o,s=n.boundary,l=s===void 0?wC:s,c=n.rootBoundary,u=c===void 0?Uf:c,d=n.elementContext,p=d===void 0?Ti:d,_=n.altBoundary,m=_===void 0?!1:_,f=n.padding,h=f===void 0?0:f,E=$f(typeof h!="number"?h:qf(h,go)),S=p===Ti?LC:Ti,b=t.rects.popper,g=t.elements[m?S:p],C=p1(br(g)?g:g.contextElement||Wn(t.elements.popper),l,u,a),T=ai(t.elements.reference),R=Kf({reference:T,element:b,strategy:"absolute",placement:i}),x=ec(Object.assign({},b,R)),O=p===Ti?x:T,M={top:C.top-O.top+E.top,bottom:O.bottom-C.bottom+E.bottom,left:C.left-O.left+E.left,right:O.right-C.right+E.right},B=t.modifiersData.offset;if(p===Ti&&B){var Y=B[i];Object.keys(M).forEach(function($){var q=[kt,Lt].indexOf($)>=0?1:-1,V=[_t,Lt].indexOf($)>=0?"y":"x";M[$]+=Y[V]*q})}return M}function _1(t,e){e===void 0&&(e={});var n=e,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?Hf:l,u=si(r),d=u?s?Jd:Jd.filter(function(m){return si(m)===u}):go,p=d.filter(function(m){return c.indexOf(m)>=0});p.length===0&&(p=d);var _=p.reduce(function(m,f){return m[f]=Xi(t,{placement:f,boundary:i,rootBoundary:o,padding:a})[en(f)],m},{});return Object.keys(_).sort(function(m,f){return _[m]-_[f]})}function m1(t){if(en(t)===Wc)return[];var e=na(t);return[np(t),e,np(e)]}function f1(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!0:a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,_=n.flipVariations,m=_===void 0?!0:_,f=n.allowedAutoPlacements,h=e.options.placement,E=en(h),S=E===h,b=l||(S||!m?[na(h)]:m1(h)),g=[h].concat(b).reduce(function(Ce,ie){return Ce.concat(en(ie)===Wc?_1(e,{placement:ie,boundary:u,rootBoundary:d,padding:c,flipVariations:m,allowedAutoPlacements:f}):ie)},[]),C=e.rects.reference,T=e.rects.popper,R=new Map,x=!0,O=g[0],M=0;M=0,V=q?"width":"height",J=Xi(e,{placement:B,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),y=q?$?kt:mt:$?Lt:_t;C[V]>T[V]&&(y=na(y));var v=na(y),A=[];if(o&&A.push(J[Y]<=0),s&&A.push(J[y]<=0,J[v]<=0),A.every(function(Ce){return Ce})){O=B,x=!1;break}R.set(B,A)}if(x)for(var k=m?3:1,G=function(ie){var ue=g.find(function(Be){var Le=R.get(Be);if(Le)return Le.slice(0,ie).every(function(We){return We})});if(ue)return O=ue,"break"},z=k;z>0;z--){var ae=G(z);if(ae==="break")break}e.placement!==O&&(e.modifiersData[r]._skip=!0,e.placement=O,e.reset=!0)}}const h1={name:"flip",enabled:!0,phase:"main",fn:f1,requiresIfExists:["offset"],data:{_skip:!1}};function ip(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function op(t){return[_t,kt,Lt,mt].some(function(e){return t[e]>=0})}function g1(t){var e=t.state,n=t.name,r=e.rects.reference,i=e.rects.popper,o=e.modifiersData.preventOverflow,a=Xi(e,{elementContext:"reference"}),s=Xi(e,{altBoundary:!0}),l=ip(a,r),c=ip(s,i,o),u=op(l),d=op(c);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}const E1={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:g1};function S1(t,e,n){var r=en(t),i=[mt,_t].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[mt,kt].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function b1(t){var e=t.state,n=t.options,r=t.name,i=n.offset,o=i===void 0?[0,0]:i,a=Hf.reduce(function(u,d){return u[d]=S1(d,e.rects,o),u},{}),s=a[e.placement],l=s.x,c=s.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[r]=a}const T1={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:b1};function C1(t){var e=t.state,n=t.name;e.modifiersData[n]=Kf({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const y1={name:"popperOffsets",enabled:!0,phase:"read",fn:C1,data:{}};function v1(t){return t==="x"?"y":"x"}function R1(t){var e=t.state,n=t.options,r=t.name,i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!1:a,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,p=n.tether,_=p===void 0?!0:p,m=n.tetherOffset,f=m===void 0?0:m,h=Xi(e,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),E=en(e.placement),S=si(e.placement),b=!S,g=Zc(E),C=v1(g),T=e.modifiersData.popperOffsets,R=e.rects.reference,x=e.rects.popper,O=typeof f=="function"?f(Object.assign({},e.rects,{placement:e.placement})):f,M=typeof O=="number"?{mainAxis:O,altAxis:O}:Object.assign({mainAxis:0,altAxis:0},O),B=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,Y={x:0,y:0};if(T){if(o){var $,q=g==="y"?_t:mt,V=g==="y"?Lt:kt,J=g==="y"?"height":"width",y=T[g],v=y+h[q],A=y-h[V],k=_?-x[J]/2:0,G=S===ii?R[J]:x[J],z=S===ii?-x[J]:-R[J],ae=e.elements.arrow,Ce=_&&ae?Qc(ae):{width:0,height:0},ie=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:zf(),ue=ie[q],Be=ie[V],Le=ki(0,R[J],Ce[J]),We=b?R[J]/2-k-Le-ue-M.mainAxis:G-Le-ue-M.mainAxis,Ke=b?-R[J]/2+k+Le+Be+M.mainAxis:z+Le+Be+M.mainAxis,gt=e.elements.arrow&&Eo(e.elements.arrow),Ft=gt?g==="y"?gt.clientTop||0:gt.clientLeft||0:0,de=($=B==null?void 0:B[g])!=null?$:0,Pe=y+We-de-Ft,Qe=y+Ke-de,ge=ki(_?Ca(v,Pe):v,y,_?ur(A,Qe):A);T[g]=ge,Y[g]=ge-y}if(s){var zt,Et=g==="x"?_t:mt,P=g==="x"?Lt:kt,et=T[C],oe=C==="y"?"height":"width",X=et+h[Et],He=et-h[P],xe=[_t,mt].indexOf(E)!==-1,St=(zt=B==null?void 0:B[C])!=null?zt:0,bt=xe?X:et-R[oe]-x[oe]-St+M.altAxis,N=xe?et+R[oe]+x[oe]-St-M.altAxis:He,D=_&&xe?QC(bt,et,N):ki(_?bt:X,et,_?N:He);T[C]=D,Y[C]=D-et}e.modifiersData[r]=Y}}const O1={name:"preventOverflow",enabled:!0,phase:"main",fn:R1,requiresIfExists:["offset"]};function N1(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function A1(t){return t===Rt(t)||!wt(t)?Xc(t):N1(t)}function I1(t){var e=t.getBoundingClientRect(),n=oi(e.width)/t.offsetWidth||1,r=oi(e.height)/t.offsetHeight||1;return n!==1||r!==1}function x1(t,e,n){n===void 0&&(n=!1);var r=wt(e),i=wt(e)&&I1(e),o=Wn(e),a=ai(t,i,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((rn(e)!=="body"||Jc(o))&&(s=A1(e)),wt(e)?(l=ai(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):o&&(l.x=jc(o))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function D1(t){var e=new Map,n=new Set,r=[];t.forEach(function(o){e.set(o.name,o)});function i(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var l=e.get(s);l&&i(l)}}),r.push(o)}return t.forEach(function(o){n.has(o.name)||i(o)}),r}function M1(t){var e=D1(t);return zC.reduce(function(n,r){return n.concat(e.filter(function(i){return i.phase===r}))},[])}function w1(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function L1(t){var e=t.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(e).map(function(n){return e[n]})}var ap={placement:"bottom",modifiers:[],strategy:"absolute"};function sp(){for(var t=arguments.length,e=new Array(t),n=0;n-1}function Jf(t,e){return typeof t=="function"?t.apply(void 0,e):t}function lp(t,e){if(e===0)return t;var n;return function(r){clearTimeout(n),n=setTimeout(function(){t(r)},e)}}function G1(t,e){var n=Object.assign({},t);return e.forEach(function(r){delete n[r]}),n}function V1(t){return t.split(/\s+/).filter(Boolean)}function Br(t){return[].concat(t)}function cp(t,e){t.indexOf(e)===-1&&t.push(e)}function Y1(t){return t.filter(function(e,n){return t.indexOf(e)===n})}function z1(t){return t.split("-")[0]}function ya(t){return[].slice.call(t)}function up(t){return Object.keys(t).reduce(function(e,n){return t[n]!==void 0&&(e[n]=t[n]),e},{})}function Fi(){return document.createElement("div")}function ji(t){return["Element","Fragment"].some(function(e){return eu(t,e)})}function $1(t){return eu(t,"NodeList")}function q1(t){return eu(t,"MouseEvent")}function W1(t){return!!(t&&t._tippy&&t._tippy.reference===t)}function K1(t){return ji(t)?[t]:$1(t)?ya(t):Array.isArray(t)?t:ya(document.querySelectorAll(t))}function Js(t,e){t.forEach(function(n){n&&(n.style.transitionDuration=e+"ms")})}function dp(t,e){t.forEach(function(n){n&&n.setAttribute("data-state",e)})}function Q1(t){var e,n=Br(t),r=n[0];return r!=null&&(e=r.ownerDocument)!=null&&e.body?r.ownerDocument:document}function Z1(t,e){var n=e.clientX,r=e.clientY;return t.every(function(i){var o=i.popperRect,a=i.popperState,s=i.props,l=s.interactiveBorder,c=z1(a.placement),u=a.modifiersData.offset;if(!u)return!0;var d=c==="bottom"?u.top.y:0,p=c==="top"?u.bottom.y:0,_=c==="right"?u.left.x:0,m=c==="left"?u.right.x:0,f=o.top-r+d>l,h=r-o.bottom-p>l,E=o.left-n+_>l,S=n-o.right-m>l;return f||h||E||S})}function el(t,e,n){var r=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(i){t[r](i,n)})}function pp(t,e){for(var n=e;n;){var r;if(t.contains(n))return!0;n=n.getRootNode==null||(r=n.getRootNode())==null?void 0:r.host}return!1}var Qt={isTouch:!1},_p=0;function X1(){Qt.isTouch||(Qt.isTouch=!0,window.performance&&document.addEventListener("mousemove",eh))}function eh(){var t=performance.now();t-_p<20&&(Qt.isTouch=!1,document.removeEventListener("mousemove",eh)),_p=t}function j1(){var t=document.activeElement;if(W1(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}function J1(){document.addEventListener("touchstart",X1,jn),window.addEventListener("blur",j1)}var ey=typeof window<"u"&&typeof document<"u",ty=ey?!!window.msCrypto:!1;function Ir(t){var e=t==="destroy"?"n already-":" ";return[t+"() was called on a"+e+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function mp(t){var e=/[ \t]{2,}/g,n=/^[ \t]*/gm;return t.replace(e," ").replace(n,"").trim()}function ny(t){return mp(` %ctippy.js - %c`+dp(t)+` + %c`+mp(t)+` %c👷‍ This is a development-only message. It will be removed in production. - `)}function Xf(t){return[K1(t),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}var ji;At.NODE_ENV!=="production"&&Q1();function Q1(){ji=new Set}function _n(t,e){if(t&&!ji.has(e)){var n;ji.add(e),(n=console).warn.apply(n,Xf(e))}}function Jl(t,e){if(t&&!ji.has(e)){var n;ji.add(e),(n=console).error.apply(n,Xf(e))}}function Z1(t){var e=!t,n=Object.prototype.toString.call(t)==="[object Object]"&&!t.addEventListener;Jl(e,["tippy() was passed","`"+String(t)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),Jl(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}var jf={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},X1={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},yt=Object.assign({appendTo:Kf,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},jf,X1),j1=Object.keys(yt),J1=function(e){At.NODE_ENV!=="production"&&eg(e,[]);var n=Object.keys(e);n.forEach(function(r){yt[r]=e[r]})};function Jf(t){var e=t.plugins||[],n=e.reduce(function(r,i){var o=i.name,a=i.defaultValue;if(o){var s;r[o]=t[o]!==void 0?t[o]:(s=yt[o])!=null?s:a}return r},{});return Object.assign({},t,n)}function ey(t,e){var n=e?Object.keys(Jf(Object.assign({},yt,{plugins:e}))):j1,r=n.reduce(function(i,o){var a=(t.getAttribute("data-tippy-"+o)||"").trim();if(!a)return i;if(o==="content")i[o]=a;else try{i[o]=JSON.parse(a)}catch{i[o]=a}return i},{});return r}function pp(t,e){var n=Object.assign({},e,{content:Qf(e.content,[t])},e.ignoreAttributes?{}:ey(t,e.plugins));return n.aria=Object.assign({},yt.aria,n.aria),n.aria={expanded:n.aria.expanded==="auto"?e.interactive:n.aria.expanded,content:n.aria.content==="auto"?e.interactive?null:"describedby":n.aria.content},n}function eg(t,e){t===void 0&&(t={}),e===void 0&&(e=[]);var n=Object.keys(t);n.forEach(function(r){var i=w1(yt,Object.keys(jf)),o=!M1(i,r);o&&(o=e.filter(function(a){return a.name===r}).length===0),_n(o,["`"+r+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.",` + `)}function th(t){return[ny(t),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}var Ji;At.NODE_ENV!=="production"&&ry();function ry(){Ji=new Set}function _n(t,e){if(t&&!Ji.has(e)){var n;Ji.add(e),(n=console).warn.apply(n,th(e))}}function tc(t,e){if(t&&!Ji.has(e)){var n;Ji.add(e),(n=console).error.apply(n,th(e))}}function iy(t){var e=!t,n=Object.prototype.toString.call(t)==="[object Object]"&&!t.addEventListener;tc(e,["tippy() was passed","`"+String(t)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),tc(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}var nh={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},oy={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},yt=Object.assign({appendTo:jf,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},nh,oy),ay=Object.keys(yt),sy=function(e){At.NODE_ENV!=="production"&&ih(e,[]);var n=Object.keys(e);n.forEach(function(r){yt[r]=e[r]})};function rh(t){var e=t.plugins||[],n=e.reduce(function(r,i){var o=i.name,a=i.defaultValue;if(o){var s;r[o]=t[o]!==void 0?t[o]:(s=yt[o])!=null?s:a}return r},{});return Object.assign({},t,n)}function ly(t,e){var n=e?Object.keys(rh(Object.assign({},yt,{plugins:e}))):ay,r=n.reduce(function(i,o){var a=(t.getAttribute("data-tippy-"+o)||"").trim();if(!a)return i;if(o==="content")i[o]=a;else try{i[o]=JSON.parse(a)}catch{i[o]=a}return i},{});return r}function fp(t,e){var n=Object.assign({},e,{content:Jf(e.content,[t])},e.ignoreAttributes?{}:ly(t,e.plugins));return n.aria=Object.assign({},yt.aria,n.aria),n.aria={expanded:n.aria.expanded==="auto"?e.interactive:n.aria.expanded,content:n.aria.content==="auto"?e.interactive?null:"describedby":n.aria.content},n}function ih(t,e){t===void 0&&(t={}),e===void 0&&(e=[]);var n=Object.keys(t);n.forEach(function(r){var i=G1(yt,Object.keys(nh)),o=!H1(i,r);o&&(o=e.filter(function(a){return a.name===r}).length===0),_n(o,["`"+r+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.",` `,`All props: https://atomiks.github.io/tippyjs/v6/all-props/ -`,"Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}var ty=function(){return"innerHTML"};function ec(t,e){t[ty()]=e}function _p(t){var e=Pi();return t===!0?e.className=qf:(e.className=Wf,Xi(t)?e.appendChild(t):ec(e,t)),e}function mp(t,e){Xi(e.content)?(ec(t,""),t.appendChild(e.content)):typeof e.content!="function"&&(e.allowHTML?ec(t,e.content):t.textContent=e.content)}function tc(t){var e=t.firstElementChild,n=Ta(e.children);return{box:e,content:n.find(function(r){return r.classList.contains($f)}),arrow:n.find(function(r){return r.classList.contains(qf)||r.classList.contains(Wf)}),backdrop:n.find(function(r){return r.classList.contains(D1)})}}function tg(t){var e=Pi(),n=Pi();n.className=x1,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Pi();r.className=$f,r.setAttribute("data-state","hidden"),mp(r,t.props),e.appendChild(n),n.appendChild(r),i(t.props,t.props);function i(o,a){var s=tc(e),l=s.box,c=s.content,u=s.arrow;a.theme?l.setAttribute("data-theme",a.theme):l.removeAttribute("data-theme"),typeof a.animation=="string"?l.setAttribute("data-animation",a.animation):l.removeAttribute("data-animation"),a.inertia?l.setAttribute("data-inertia",""):l.removeAttribute("data-inertia"),l.style.maxWidth=typeof a.maxWidth=="number"?a.maxWidth+"px":a.maxWidth,a.role?l.setAttribute("role",a.role):l.removeAttribute("role"),(o.content!==a.content||o.allowHTML!==a.allowHTML)&&mp(c,t.props),a.arrow?u?o.arrow!==a.arrow&&(l.removeChild(u),l.appendChild(_p(a.arrow))):l.appendChild(_p(a.arrow)):u&&l.removeChild(u)}return{popper:e,onUpdate:i}}tg.$$tippy=!0;var ny=1,Mo=[],Js=[];function ry(t,e){var n=pp(t,Object.assign({},yt,Jf(sp(e)))),r,i,o,a=!1,s=!1,l=!1,c=!1,u,d,p,_=[],m=op(Pe,n.interactiveDebounce),f,g=ny++,E=null,S=k1(n.plugins),b={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},h={id:g,reference:t,popper:Pi(),popperInstance:E,props:n,state:b,plugins:S,clearDelayTimeouts:bt,setProps:N,setContent:D,show:U,hide:K,hideWithInteractivity:_e,enable:xe,disable:St,unmount:De,destroy:Rr};if(!n.render)return At.NODE_ENV!=="production"&&Jl(!0,"render() function has not been supplied."),h;var C=n.render(h),T=C.popper,R=C.onUpdate;T.setAttribute("data-tippy-root",""),T.id="tippy-"+h.id,h.popper=T,t._tippy=h,T._tippy=h;var x=S.map(function(I){return I.fn(h)}),O=t.hasAttribute("aria-expanded");return ht(),k(),y(),v("onCreate",[h]),n.showOnCreate&&X(),T.addEventListener("mouseenter",function(){h.props.interactive&&h.state.isVisible&&h.clearDelayTimeouts()}),T.addEventListener("mouseleave",function(){h.props.interactive&&h.props.trigger.indexOf("mouseenter")>=0&&q().addEventListener("mousemove",m)}),h;function M(){var I=h.props.touch;return Array.isArray(I)?I:[I,0]}function B(){return M()[0]==="hold"}function Y(){var I;return!!((I=h.props.render)!=null&&I.$$tippy)}function $(){return f||t}function q(){var I=$().parentNode;return I?G1(I):document}function V(){return tc(T)}function J(I){return h.state.isMounted&&!h.state.isVisible||Qt.isTouch||u&&u.type==="focus"?0:Zs(h.props.delay,I?0:1,yt.delay)}function y(I){I===void 0&&(I=!1),T.style.pointerEvents=h.props.interactive&&!I?"":"none",T.style.zIndex=""+h.props.zIndex}function v(I,Q,ne){if(ne===void 0&&(ne=!0),x.forEach(function(fe){fe[I]&&fe[I].apply(fe,Q)}),ne){var Ee;(Ee=h.props)[I].apply(Ee,Q)}}function A(){var I=h.props.aria;if(I.content){var Q="aria-"+I.content,ne=T.id,Ee=Br(h.props.triggerTarget||t);Ee.forEach(function(fe){var tt=fe.getAttribute(Q);if(h.state.isVisible)fe.setAttribute(Q,tt?tt+" "+ne:ne);else{var Tt=tt&&tt.replace(ne,"").trim();Tt?fe.setAttribute(Q,Tt):fe.removeAttribute(Q)}})}}function k(){if(!(O||!h.props.aria.expanded)){var I=Br(h.props.triggerTarget||t);I.forEach(function(Q){h.props.interactive?Q.setAttribute("aria-expanded",h.state.isVisible&&Q===$()?"true":"false"):Q.removeAttribute("aria-expanded")})}}function G(){q().removeEventListener("mousemove",m),Mo=Mo.filter(function(I){return I!==m})}function z(I){if(!(Qt.isTouch&&(l||I.type==="mousedown"))){var Q=I.composedPath&&I.composedPath()[0]||I.target;if(!(h.props.interactive&&cp(T,Q))){if(Br(h.props.triggerTarget||t).some(function(ne){return cp(ne,Q)})){if(Qt.isTouch||h.state.isVisible&&h.props.trigger.indexOf("click")>=0)return}else v("onClickOutside",[h,I]);h.props.hideOnClick===!0&&(h.clearDelayTimeouts(),h.hide(),s=!0,setTimeout(function(){s=!1}),h.state.isMounted||ue())}}}function ae(){l=!0}function Ce(){l=!1}function ie(){var I=q();I.addEventListener("mousedown",z,!0),I.addEventListener("touchend",z,jn),I.addEventListener("touchstart",Ce,jn),I.addEventListener("touchmove",ae,jn)}function ue(){var I=q();I.removeEventListener("mousedown",z,!0),I.removeEventListener("touchend",z,jn),I.removeEventListener("touchstart",Ce,jn),I.removeEventListener("touchmove",ae,jn)}function Be(I,Q){We(I,function(){!h.state.isVisible&&T.parentNode&&T.parentNode.contains(T)&&Q()})}function Le(I,Q){We(I,Q)}function We(I,Q){var ne=V().box;function Ee(fe){fe.target===ne&&(js(ne,"remove",Ee),Q())}if(I===0)return Q();js(ne,"remove",d),js(ne,"add",Ee),d=Ee}function Ke(I,Q,ne){ne===void 0&&(ne=!1);var Ee=Br(h.props.triggerTarget||t);Ee.forEach(function(fe){fe.addEventListener(I,Q,ne),_.push({node:fe,eventType:I,handler:Q,options:ne})})}function ht(){B()&&(Ke("touchstart",de,{passive:!0}),Ke("touchend",Qe,{passive:!0})),L1(h.props.trigger).forEach(function(I){if(I!=="manual")switch(Ke(I,de),I){case"mouseenter":Ke("mouseleave",Qe);break;case"focus":Ke(W1?"focusout":"blur",he);break;case"focusin":Ke("focusout",he);break}})}function Ft(){_.forEach(function(I){var Q=I.node,ne=I.eventType,Ee=I.handler,fe=I.options;Q.removeEventListener(ne,Ee,fe)}),_=[]}function de(I){var Q,ne=!1;if(!(!h.state.isEnabled||zt(I)||s)){var Ee=((Q=u)==null?void 0:Q.type)==="focus";u=I,f=I.currentTarget,k(),!h.state.isVisible&&B1(I)&&Mo.forEach(function(fe){return fe(I)}),I.type==="click"&&(h.props.trigger.indexOf("mouseenter")<0||a)&&h.props.hideOnClick!==!1&&h.state.isVisible?ne=!0:X(I),I.type==="click"&&(a=!ne),ne&&!Ee&&He(I)}}function Pe(I){var Q=I.target,ne=$().contains(Q)||T.contains(Q);if(!(I.type==="mousemove"&&ne)){var Ee=oe().concat(T).map(function(fe){var tt,Tt=fe._tippy,Kn=(tt=Tt.popperInstance)==null?void 0:tt.state;return Kn?{popperRect:fe.getBoundingClientRect(),popperState:Kn,props:n}:null}).filter(Boolean);V1(Ee,I)&&(G(),He(I))}}function Qe(I){var Q=zt(I)||h.props.trigger.indexOf("click")>=0&&a;if(!Q){if(h.props.interactive){h.hideWithInteractivity(I);return}He(I)}}function he(I){h.props.trigger.indexOf("focusin")<0&&I.target!==$()||h.props.interactive&&I.relatedTarget&&T.contains(I.relatedTarget)||He(I)}function zt(I){return Qt.isTouch?B()!==I.type.indexOf("touch")>=0:!1}function Et(){P();var I=h.props,Q=I.popperOptions,ne=I.placement,Ee=I.offset,fe=I.getReferenceClientRect,tt=I.moveTransition,Tt=Y()?tc(T).arrow:null,Kn=fe?{getBoundingClientRect:fe,contextElement:fe.contextElement||$()}:t,xs={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(hi){var Qn=hi.state;if(Y()){var Mu=V(),yo=Mu.box;["placement","reference-hidden","escaped"].forEach(function(Ei){Ei==="placement"?yo.setAttribute("data-placement",Qn.placement):Qn.attributes.popper["data-popper-"+Ei]?yo.setAttribute("data-"+Ei,""):yo.removeAttribute("data-"+Ei)}),Qn.attributes.popper={}}}},bn=[{name:"offset",options:{offset:Ee}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!tt}},xs];Y()&&Tt&&bn.push({name:"arrow",options:{element:Tt,padding:3}}),bn.push.apply(bn,(Q==null?void 0:Q.modifiers)||[]),h.popperInstance=I1(Kn,T,Object.assign({},Q,{placement:ne,onFirstUpdate:p,modifiers:bn}))}function P(){h.popperInstance&&(h.popperInstance.destroy(),h.popperInstance=null)}function et(){var I=h.props.appendTo,Q,ne=$();h.props.interactive&&I===Kf||I==="parent"?Q=ne.parentNode:Q=Qf(I,[ne]),Q.contains(T)||Q.appendChild(T),h.state.isMounted=!0,Et(),At.NODE_ENV!=="production"&&_n(h.props.interactive&&I===yt.appendTo&&ne.nextElementSibling!==T,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.",` +`,"Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}var cy=function(){return"innerHTML"};function nc(t,e){t[cy()]=e}function hp(t){var e=Fi();return t===!0?e.className=Zf:(e.className=Xf,ji(t)?e.appendChild(t):nc(e,t)),e}function gp(t,e){ji(e.content)?(nc(t,""),t.appendChild(e.content)):typeof e.content!="function"&&(e.allowHTML?nc(t,e.content):t.textContent=e.content)}function rc(t){var e=t.firstElementChild,n=ya(e.children);return{box:e,content:n.find(function(r){return r.classList.contains(Qf)}),arrow:n.find(function(r){return r.classList.contains(Zf)||r.classList.contains(Xf)}),backdrop:n.find(function(r){return r.classList.contains(U1)})}}function oh(t){var e=Fi(),n=Fi();n.className=B1,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Fi();r.className=Qf,r.setAttribute("data-state","hidden"),gp(r,t.props),e.appendChild(n),n.appendChild(r),i(t.props,t.props);function i(o,a){var s=rc(e),l=s.box,c=s.content,u=s.arrow;a.theme?l.setAttribute("data-theme",a.theme):l.removeAttribute("data-theme"),typeof a.animation=="string"?l.setAttribute("data-animation",a.animation):l.removeAttribute("data-animation"),a.inertia?l.setAttribute("data-inertia",""):l.removeAttribute("data-inertia"),l.style.maxWidth=typeof a.maxWidth=="number"?a.maxWidth+"px":a.maxWidth,a.role?l.setAttribute("role",a.role):l.removeAttribute("role"),(o.content!==a.content||o.allowHTML!==a.allowHTML)&&gp(c,t.props),a.arrow?u?o.arrow!==a.arrow&&(l.removeChild(u),l.appendChild(hp(a.arrow))):l.appendChild(hp(a.arrow)):u&&l.removeChild(u)}return{popper:e,onUpdate:i}}oh.$$tippy=!0;var uy=1,Lo=[],tl=[];function dy(t,e){var n=fp(t,Object.assign({},yt,rh(up(e)))),r,i,o,a=!1,s=!1,l=!1,c=!1,u,d,p,_=[],m=lp(Pe,n.interactiveDebounce),f,h=uy++,E=null,S=Y1(n.plugins),b={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},g={id:h,reference:t,popper:Fi(),popperInstance:E,props:n,state:b,plugins:S,clearDelayTimeouts:bt,setProps:N,setContent:D,show:U,hide:K,hideWithInteractivity:_e,enable:xe,disable:St,unmount:De,destroy:Rr};if(!n.render)return At.NODE_ENV!=="production"&&tc(!0,"render() function has not been supplied."),g;var C=n.render(g),T=C.popper,R=C.onUpdate;T.setAttribute("data-tippy-root",""),T.id="tippy-"+g.id,g.popper=T,t._tippy=g,T._tippy=g;var x=S.map(function(I){return I.fn(g)}),O=t.hasAttribute("aria-expanded");return gt(),k(),y(),v("onCreate",[g]),n.showOnCreate&&X(),T.addEventListener("mouseenter",function(){g.props.interactive&&g.state.isVisible&&g.clearDelayTimeouts()}),T.addEventListener("mouseleave",function(){g.props.interactive&&g.props.trigger.indexOf("mouseenter")>=0&&q().addEventListener("mousemove",m)}),g;function M(){var I=g.props.touch;return Array.isArray(I)?I:[I,0]}function B(){return M()[0]==="hold"}function Y(){var I;return!!((I=g.props.render)!=null&&I.$$tippy)}function $(){return f||t}function q(){var I=$().parentNode;return I?Q1(I):document}function V(){return rc(T)}function J(I){return g.state.isMounted&&!g.state.isVisible||Qt.isTouch||u&&u.type==="focus"?0:js(g.props.delay,I?0:1,yt.delay)}function y(I){I===void 0&&(I=!1),T.style.pointerEvents=g.props.interactive&&!I?"":"none",T.style.zIndex=""+g.props.zIndex}function v(I,Q,ne){if(ne===void 0&&(ne=!0),x.forEach(function(fe){fe[I]&&fe[I].apply(fe,Q)}),ne){var Ee;(Ee=g.props)[I].apply(Ee,Q)}}function A(){var I=g.props.aria;if(I.content){var Q="aria-"+I.content,ne=T.id,Ee=Br(g.props.triggerTarget||t);Ee.forEach(function(fe){var tt=fe.getAttribute(Q);if(g.state.isVisible)fe.setAttribute(Q,tt?tt+" "+ne:ne);else{var Tt=tt&&tt.replace(ne,"").trim();Tt?fe.setAttribute(Q,Tt):fe.removeAttribute(Q)}})}}function k(){if(!(O||!g.props.aria.expanded)){var I=Br(g.props.triggerTarget||t);I.forEach(function(Q){g.props.interactive?Q.setAttribute("aria-expanded",g.state.isVisible&&Q===$()?"true":"false"):Q.removeAttribute("aria-expanded")})}}function G(){q().removeEventListener("mousemove",m),Lo=Lo.filter(function(I){return I!==m})}function z(I){if(!(Qt.isTouch&&(l||I.type==="mousedown"))){var Q=I.composedPath&&I.composedPath()[0]||I.target;if(!(g.props.interactive&&pp(T,Q))){if(Br(g.props.triggerTarget||t).some(function(ne){return pp(ne,Q)})){if(Qt.isTouch||g.state.isVisible&&g.props.trigger.indexOf("click")>=0)return}else v("onClickOutside",[g,I]);g.props.hideOnClick===!0&&(g.clearDelayTimeouts(),g.hide(),s=!0,setTimeout(function(){s=!1}),g.state.isMounted||ue())}}}function ae(){l=!0}function Ce(){l=!1}function ie(){var I=q();I.addEventListener("mousedown",z,!0),I.addEventListener("touchend",z,jn),I.addEventListener("touchstart",Ce,jn),I.addEventListener("touchmove",ae,jn)}function ue(){var I=q();I.removeEventListener("mousedown",z,!0),I.removeEventListener("touchend",z,jn),I.removeEventListener("touchstart",Ce,jn),I.removeEventListener("touchmove",ae,jn)}function Be(I,Q){We(I,function(){!g.state.isVisible&&T.parentNode&&T.parentNode.contains(T)&&Q()})}function Le(I,Q){We(I,Q)}function We(I,Q){var ne=V().box;function Ee(fe){fe.target===ne&&(el(ne,"remove",Ee),Q())}if(I===0)return Q();el(ne,"remove",d),el(ne,"add",Ee),d=Ee}function Ke(I,Q,ne){ne===void 0&&(ne=!1);var Ee=Br(g.props.triggerTarget||t);Ee.forEach(function(fe){fe.addEventListener(I,Q,ne),_.push({node:fe,eventType:I,handler:Q,options:ne})})}function gt(){B()&&(Ke("touchstart",de,{passive:!0}),Ke("touchend",Qe,{passive:!0})),V1(g.props.trigger).forEach(function(I){if(I!=="manual")switch(Ke(I,de),I){case"mouseenter":Ke("mouseleave",Qe);break;case"focus":Ke(ty?"focusout":"blur",ge);break;case"focusin":Ke("focusout",ge);break}})}function Ft(){_.forEach(function(I){var Q=I.node,ne=I.eventType,Ee=I.handler,fe=I.options;Q.removeEventListener(ne,Ee,fe)}),_=[]}function de(I){var Q,ne=!1;if(!(!g.state.isEnabled||zt(I)||s)){var Ee=((Q=u)==null?void 0:Q.type)==="focus";u=I,f=I.currentTarget,k(),!g.state.isVisible&&q1(I)&&Lo.forEach(function(fe){return fe(I)}),I.type==="click"&&(g.props.trigger.indexOf("mouseenter")<0||a)&&g.props.hideOnClick!==!1&&g.state.isVisible?ne=!0:X(I),I.type==="click"&&(a=!ne),ne&&!Ee&&He(I)}}function Pe(I){var Q=I.target,ne=$().contains(Q)||T.contains(Q);if(!(I.type==="mousemove"&&ne)){var Ee=oe().concat(T).map(function(fe){var tt,Tt=fe._tippy,Kn=(tt=Tt.popperInstance)==null?void 0:tt.state;return Kn?{popperRect:fe.getBoundingClientRect(),popperState:Kn,props:n}:null}).filter(Boolean);Z1(Ee,I)&&(G(),He(I))}}function Qe(I){var Q=zt(I)||g.props.trigger.indexOf("click")>=0&&a;if(!Q){if(g.props.interactive){g.hideWithInteractivity(I);return}He(I)}}function ge(I){g.props.trigger.indexOf("focusin")<0&&I.target!==$()||g.props.interactive&&I.relatedTarget&&T.contains(I.relatedTarget)||He(I)}function zt(I){return Qt.isTouch?B()!==I.type.indexOf("touch")>=0:!1}function Et(){P();var I=g.props,Q=I.popperOptions,ne=I.placement,Ee=I.offset,fe=I.getReferenceClientRect,tt=I.moveTransition,Tt=Y()?rc(T).arrow:null,Kn=fe?{getBoundingClientRect:fe,contextElement:fe.contextElement||$()}:t,Ms={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(Ei){var Qn=Ei.state;if(Y()){var ku=V(),Ro=ku.box;["placement","reference-hidden","escaped"].forEach(function(Si){Si==="placement"?Ro.setAttribute("data-placement",Qn.placement):Qn.attributes.popper["data-popper-"+Si]?Ro.setAttribute("data-"+Si,""):Ro.removeAttribute("data-"+Si)}),Qn.attributes.popper={}}}},bn=[{name:"offset",options:{offset:Ee}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!tt}},Ms];Y()&&Tt&&bn.push({name:"arrow",options:{element:Tt,padding:3}}),bn.push.apply(bn,(Q==null?void 0:Q.modifiers)||[]),g.popperInstance=F1(Kn,T,Object.assign({},Q,{placement:ne,onFirstUpdate:p,modifiers:bn}))}function P(){g.popperInstance&&(g.popperInstance.destroy(),g.popperInstance=null)}function et(){var I=g.props.appendTo,Q,ne=$();g.props.interactive&&I===jf||I==="parent"?Q=ne.parentNode:Q=Jf(I,[ne]),Q.contains(T)||Q.appendChild(T),g.state.isMounted=!0,Et(),At.NODE_ENV!=="production"&&_n(g.props.interactive&&I===yt.appendTo&&ne.nextElementSibling!==T,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.",` `,"Using a wrapper
or tag around the reference element","solves this by creating a new parentNode context.",` `,"Specifying `appendTo: document.body` silences this warning, but it","assumes you are using a focus management solution to handle","keyboard navigation.",` -`,"See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}function oe(){return Ta(T.querySelectorAll("[data-tippy-root]"))}function X(I){h.clearDelayTimeouts(),I&&v("onTrigger",[h,I]),ie();var Q=J(!0),ne=M(),Ee=ne[0],fe=ne[1];Qt.isTouch&&Ee==="hold"&&fe&&(Q=fe),Q?r=setTimeout(function(){h.show()},Q):h.show()}function He(I){if(h.clearDelayTimeouts(),v("onUntrigger",[h,I]),!h.state.isVisible){ue();return}if(!(h.props.trigger.indexOf("mouseenter")>=0&&h.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(I.type)>=0&&a)){var Q=J(!1);Q?i=setTimeout(function(){h.state.isVisible&&h.hide()},Q):o=requestAnimationFrame(function(){h.hide()})}}function xe(){h.state.isEnabled=!0}function St(){h.hide(),h.state.isEnabled=!1}function bt(){clearTimeout(r),clearTimeout(i),cancelAnimationFrame(o)}function N(I){if(At.NODE_ENV!=="production"&&_n(h.state.isDestroyed,Ir("setProps")),!h.state.isDestroyed){v("onBeforeUpdate",[h,I]),Ft();var Q=h.props,ne=pp(t,Object.assign({},Q,sp(I),{ignoreAttributes:!0}));h.props=ne,ht(),Q.interactiveDebounce!==ne.interactiveDebounce&&(G(),m=op(Pe,ne.interactiveDebounce)),Q.triggerTarget&&!ne.triggerTarget?Br(Q.triggerTarget).forEach(function(Ee){Ee.removeAttribute("aria-expanded")}):ne.triggerTarget&&t.removeAttribute("aria-expanded"),k(),y(),R&&R(Q,ne),h.popperInstance&&(Et(),oe().forEach(function(Ee){requestAnimationFrame(Ee._tippy.popperInstance.forceUpdate)})),v("onAfterUpdate",[h,I])}}function D(I){h.setProps({content:I})}function U(){At.NODE_ENV!=="production"&&_n(h.state.isDestroyed,Ir("show"));var I=h.state.isVisible,Q=h.state.isDestroyed,ne=!h.state.isEnabled,Ee=Qt.isTouch&&!h.props.touch,fe=Zs(h.props.duration,0,yt.duration);if(!(I||Q||ne||Ee)&&!$().hasAttribute("disabled")&&(v("onShow",[h],!1),h.props.onShow(h)!==!1)){if(h.state.isVisible=!0,Y()&&(T.style.visibility="visible"),y(),ie(),h.state.isMounted||(T.style.transition="none"),Y()){var tt=V(),Tt=tt.box,Kn=tt.content;Xs([Tt,Kn],0)}p=function(){var bn;if(!(!h.state.isVisible||c)){if(c=!0,T.offsetHeight,T.style.transition=h.props.moveTransition,Y()&&h.props.animation){var Co=V(),hi=Co.box,Qn=Co.content;Xs([hi,Qn],fe),lp([hi,Qn],"visible")}A(),k(),ap(Js,h),(bn=h.popperInstance)==null||bn.forceUpdate(),v("onMount",[h]),h.props.animation&&Y()&&Le(fe,function(){h.state.isShown=!0,v("onShown",[h])})}},et()}}function K(){At.NODE_ENV!=="production"&&_n(h.state.isDestroyed,Ir("hide"));var I=!h.state.isVisible,Q=h.state.isDestroyed,ne=!h.state.isEnabled,Ee=Zs(h.props.duration,1,yt.duration);if(!(I||Q||ne)&&(v("onHide",[h],!1),h.props.onHide(h)!==!1)){if(h.state.isVisible=!1,h.state.isShown=!1,c=!1,a=!1,Y()&&(T.style.visibility="hidden"),G(),ue(),y(!0),Y()){var fe=V(),tt=fe.box,Tt=fe.content;h.props.animation&&(Xs([tt,Tt],Ee),lp([tt,Tt],"hidden"))}A(),k(),h.props.animation?Y()&&Be(Ee,h.unmount):h.unmount()}}function _e(I){At.NODE_ENV!=="production"&&_n(h.state.isDestroyed,Ir("hideWithInteractivity")),q().addEventListener("mousemove",m),ap(Mo,m),m(I)}function De(){At.NODE_ENV!=="production"&&_n(h.state.isDestroyed,Ir("unmount")),h.state.isVisible&&h.hide(),h.state.isMounted&&(P(),oe().forEach(function(I){I._tippy.unmount()}),T.parentNode&&T.parentNode.removeChild(T),Js=Js.filter(function(I){return I!==h}),h.state.isMounted=!1,v("onHidden",[h]))}function Rr(){At.NODE_ENV!=="production"&&_n(h.state.isDestroyed,Ir("destroy")),!h.state.isDestroyed&&(h.clearDelayTimeouts(),h.unmount(),Ft(),delete t._tippy,h.state.isDestroyed=!0,v("onDestroy",[h]))}}function we(t,e){e===void 0&&(e={});var n=yt.plugins.concat(e.plugins||[]);At.NODE_ENV!=="production"&&(Z1(t),eg(e,n)),$1();var r=Object.assign({},e,{plugins:n}),i=H1(t);if(At.NODE_ENV!=="production"){var o=Xi(r.content),a=i.length>1;_n(o&&a,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.",` +`,"See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}function oe(){return ya(T.querySelectorAll("[data-tippy-root]"))}function X(I){g.clearDelayTimeouts(),I&&v("onTrigger",[g,I]),ie();var Q=J(!0),ne=M(),Ee=ne[0],fe=ne[1];Qt.isTouch&&Ee==="hold"&&fe&&(Q=fe),Q?r=setTimeout(function(){g.show()},Q):g.show()}function He(I){if(g.clearDelayTimeouts(),v("onUntrigger",[g,I]),!g.state.isVisible){ue();return}if(!(g.props.trigger.indexOf("mouseenter")>=0&&g.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(I.type)>=0&&a)){var Q=J(!1);Q?i=setTimeout(function(){g.state.isVisible&&g.hide()},Q):o=requestAnimationFrame(function(){g.hide()})}}function xe(){g.state.isEnabled=!0}function St(){g.hide(),g.state.isEnabled=!1}function bt(){clearTimeout(r),clearTimeout(i),cancelAnimationFrame(o)}function N(I){if(At.NODE_ENV!=="production"&&_n(g.state.isDestroyed,Ir("setProps")),!g.state.isDestroyed){v("onBeforeUpdate",[g,I]),Ft();var Q=g.props,ne=fp(t,Object.assign({},Q,up(I),{ignoreAttributes:!0}));g.props=ne,gt(),Q.interactiveDebounce!==ne.interactiveDebounce&&(G(),m=lp(Pe,ne.interactiveDebounce)),Q.triggerTarget&&!ne.triggerTarget?Br(Q.triggerTarget).forEach(function(Ee){Ee.removeAttribute("aria-expanded")}):ne.triggerTarget&&t.removeAttribute("aria-expanded"),k(),y(),R&&R(Q,ne),g.popperInstance&&(Et(),oe().forEach(function(Ee){requestAnimationFrame(Ee._tippy.popperInstance.forceUpdate)})),v("onAfterUpdate",[g,I])}}function D(I){g.setProps({content:I})}function U(){At.NODE_ENV!=="production"&&_n(g.state.isDestroyed,Ir("show"));var I=g.state.isVisible,Q=g.state.isDestroyed,ne=!g.state.isEnabled,Ee=Qt.isTouch&&!g.props.touch,fe=js(g.props.duration,0,yt.duration);if(!(I||Q||ne||Ee)&&!$().hasAttribute("disabled")&&(v("onShow",[g],!1),g.props.onShow(g)!==!1)){if(g.state.isVisible=!0,Y()&&(T.style.visibility="visible"),y(),ie(),g.state.isMounted||(T.style.transition="none"),Y()){var tt=V(),Tt=tt.box,Kn=tt.content;Js([Tt,Kn],0)}p=function(){var bn;if(!(!g.state.isVisible||c)){if(c=!0,T.offsetHeight,T.style.transition=g.props.moveTransition,Y()&&g.props.animation){var vo=V(),Ei=vo.box,Qn=vo.content;Js([Ei,Qn],fe),dp([Ei,Qn],"visible")}A(),k(),cp(tl,g),(bn=g.popperInstance)==null||bn.forceUpdate(),v("onMount",[g]),g.props.animation&&Y()&&Le(fe,function(){g.state.isShown=!0,v("onShown",[g])})}},et()}}function K(){At.NODE_ENV!=="production"&&_n(g.state.isDestroyed,Ir("hide"));var I=!g.state.isVisible,Q=g.state.isDestroyed,ne=!g.state.isEnabled,Ee=js(g.props.duration,1,yt.duration);if(!(I||Q||ne)&&(v("onHide",[g],!1),g.props.onHide(g)!==!1)){if(g.state.isVisible=!1,g.state.isShown=!1,c=!1,a=!1,Y()&&(T.style.visibility="hidden"),G(),ue(),y(!0),Y()){var fe=V(),tt=fe.box,Tt=fe.content;g.props.animation&&(Js([tt,Tt],Ee),dp([tt,Tt],"hidden"))}A(),k(),g.props.animation?Y()&&Be(Ee,g.unmount):g.unmount()}}function _e(I){At.NODE_ENV!=="production"&&_n(g.state.isDestroyed,Ir("hideWithInteractivity")),q().addEventListener("mousemove",m),cp(Lo,m),m(I)}function De(){At.NODE_ENV!=="production"&&_n(g.state.isDestroyed,Ir("unmount")),g.state.isVisible&&g.hide(),g.state.isMounted&&(P(),oe().forEach(function(I){I._tippy.unmount()}),T.parentNode&&T.parentNode.removeChild(T),tl=tl.filter(function(I){return I!==g}),g.state.isMounted=!1,v("onHidden",[g]))}function Rr(){At.NODE_ENV!=="production"&&_n(g.state.isDestroyed,Ir("destroy")),!g.state.isDestroyed&&(g.clearDelayTimeouts(),g.unmount(),Ft(),delete t._tippy,g.state.isDestroyed=!0,v("onDestroy",[g]))}}function we(t,e){e===void 0&&(e={});var n=yt.plugins.concat(e.plugins||[]);At.NODE_ENV!=="production"&&(iy(t),ih(e,n)),J1();var r=Object.assign({},e,{plugins:n}),i=K1(t);if(At.NODE_ENV!=="production"){var o=ji(r.content),a=i.length>1;_n(o&&a,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.",` `,"Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.",` `,`1) content: element.innerHTML -`,"2) content: () => element.cloneNode(true)"].join(" "))}var s=i.reduce(function(l,c){var u=c&&ry(c,r);return u&&l.push(u),l},[]);return Xi(t)?s[0]:s}we.defaultProps=yt;we.setDefaultProps=J1;we.currentInput=Qt;Object.assign({},Ff,{effect:function(e){var n=e.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow)}});we.setDefaultProps({render:tg});class mi extends me{constructor(){super(...arguments);L(this,"tippyInstance");L(this,"tippyEl");L(this,"textEl");L(this,"menuData",[]);L(this,"menuTextWidth","fit-content");L(this,"defaultMenuIndex",0);L(this,"refreshMenuText",!0);L(this,"width","fit-content");L(this,"dropDivWith","fit-content");L(this,"dropDivHeight","fit-content");L(this,"showItemsTip",!1)}renderTemplate(){this.template=` +`,"2) content: () => element.cloneNode(true)"].join(" "))}var s=i.reduce(function(l,c){var u=c&&dy(c,r);return u&&l.push(u),l},[]);return ji(t)?s[0]:s}we.defaultProps=yt;we.setDefaultProps=sy;we.currentInput=Qt;Object.assign({},Gf,{effect:function(e){var n=e.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow)}});we.setDefaultProps({render:oh});class fi extends me{constructor(){super(...arguments);L(this,"tippyInstance");L(this,"tippyEl");L(this,"textEl");L(this,"menuData",[]);L(this,"menuTextWidth","fit-content");L(this,"defaultMenuIndex",0);L(this,"refreshMenuText",!0);L(this,"width","fit-content");L(this,"dropDivWith","fit-content");L(this,"dropDivHeight","fit-content");L(this,"showItemsTip",!1)}renderTemplate(){this.template=`
@@ -132,31 +132,31 @@ img.ProseMirror-separator {
${this.onDropdownItemRender(r)}
- `,i.addEventListener("click",o=>{const a=this.menuData[r];a.onClick?a.onClick(o)&&this.tippyInstance.hide():(this.onDropdownItemClick(r),this.tippyInstance.hide())}),this.showItemsTip){const o=this.menuData[r];we(i,{appendTo:()=>this.closest(".aie-container"),content:o.tip||o.title,theme:"aietip",arrow:!0,placement:"right"})}n.appendChild(i)}return this.tippyEl=n,n}onTransaction(n){var o,a;const r=(o=this.tippyEl)==null?void 0:o.querySelector(".red-dot");r&&r.classList.remove("red-dot");let i=this.defaultMenuIndex;for(let s=0;stypeof t=="string",Ti=()=>{let t,e;const n=new Promise((r,i)=>{t=r,e=i});return n.resolve=t,n.reject=e,n},fp=t=>t==null?"":""+t,iy=(t,e,n)=>{t.forEach(r=>{e[r]&&(n[r]=e[r])})},oy=/###/g,gp=t=>t&&t.indexOf("###")>-1?t.replace(oy,"."):t,hp=t=>!t||se(t),Fi=(t,e,n)=>{const r=se(e)?e.split("."):e;let i=0;for(;i{const{obj:r,k:i}=Fi(t,e,Object);if(r!==void 0||e.length===1){r[i]=n;return}let o=e[e.length-1],a=e.slice(0,e.length-1),s=Fi(t,a,Object);for(;s.obj===void 0&&a.length;)o=`${a[a.length-1]}.${o}`,a=a.slice(0,a.length-1),s=Fi(t,a,Object),s&&s.obj&&typeof s.obj[`${s.k}.${o}`]<"u"&&(s.obj=void 0);s.obj[`${s.k}.${o}`]=n},ay=(t,e,n,r)=>{const{obj:i,k:o}=Fi(t,e,Object);i[o]=i[o]||[],i[o].push(n)},Ca=(t,e)=>{const{obj:n,k:r}=Fi(t,e);if(n)return n[r]},sy=(t,e,n)=>{const r=Ca(t,n);return r!==void 0?r:Ca(e,n)},ng=(t,e,n)=>{for(const r in e)r!=="__proto__"&&r!=="constructor"&&(r in t?se(t[r])||t[r]instanceof String||se(e[r])||e[r]instanceof String?n&&(t[r]=e[r]):ng(t[r],e[r],n):t[r]=e[r]);return t},xr=t=>t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var ly={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const cy=t=>se(t)?t.replace(/[&<>"'\/]/g,e=>ly[e]):t;class uy{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const n=this.regExpMap.get(e);if(n!==void 0)return n;const r=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,r),this.regExpQueue.push(e),r}}const dy=[" ",",","?","!",";"],py=new uy(20),_y=(t,e,n)=>{e=e||"",n=n||"";const r=dy.filter(a=>e.indexOf(a)<0&&n.indexOf(a)<0);if(r.length===0)return!0;const i=py.getRegExp(`(${r.map(a=>a==="?"?"\\?":a).join("|")})`);let o=!i.test(t);if(!o){const a=t.indexOf(n);a>0&&!i.test(t.substring(0,a))&&(o=!0)}return o},nc=function(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!t)return;if(t[e])return t[e];const r=e.split(n);let i=t;for(let o=0;o-1&&lt&&t.replace("_","-"),my={type:"logger",log(t){this.output("log",t)},warn(t){this.output("warn",t)},error(t){this.output("error",t)},output(t,e){console&&console[t]&&console[t].apply(console,e)}};class va{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(e,n)}init(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=e||my,this.options=n,this.debug=n.debug}log(){for(var e=arguments.length,n=new Array(e),r=0;r{this.observers[r]||(this.observers[r]=new Map);const i=this.observers[r].get(n)||0;this.observers[r].set(n,i+1)}),this}off(e,n){if(this.observers[e]){if(!n){delete this.observers[e];return}this.observers[e].delete(n)}}emit(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i{let[s,l]=a;for(let c=0;c{let[s,l]=a;for(let c=0;c1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const n=this.options.ns.indexOf(e);n>-1&&this.options.ns.splice(n,1)}getResource(e,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,a=i.ignoreJSONStructure!==void 0?i.ignoreJSONStructure:this.options.ignoreJSONStructure;let s;e.indexOf(".")>-1?s=e.split("."):(s=[e,n],r&&(Array.isArray(r)?s.push(...r):se(r)&&o?s.push(...r.split(o)):s.push(r)));const l=Ca(this.data,s);return!l&&!n&&!r&&e.indexOf(".")>-1&&(e=s[0],n=s[1],r=s.slice(2).join(".")),l||!a||!se(r)?l:nc(this.data&&this.data[e]&&this.data[e][n],r,o)}addResource(e,n,r,i){let o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const a=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator;let s=[e,n];r&&(s=s.concat(a?r.split(a):r)),e.indexOf(".")>-1&&(s=e.split("."),i=n,n=s[1]),this.addNamespaces(n),Ep(this.data,s,i),o.silent||this.emit("added",e,n,r,i)}addResources(e,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const o in r)(se(r[o])||Array.isArray(r[o]))&&this.addResource(e,n,o,r[o],{silent:!0});i.silent||this.emit("added",e,n,r)}addResourceBundle(e,n,r,i,o){let a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},s=[e,n];e.indexOf(".")>-1&&(s=e.split("."),i=r,r=n,n=s[1]),this.addNamespaces(n);let l=Ca(this.data,s)||{};a.skipCopy||(r=JSON.parse(JSON.stringify(r))),i?ng(l,r,o):l={...l,...r},Ep(this.data,s,l),a.silent||this.emit("added",e,n,r)}removeResourceBundle(e,n){this.hasResourceBundle(e,n)&&delete this.data[e][n],this.removeNamespaces(n),this.emit("removed",e,n)}hasResourceBundle(e,n){return this.getResource(e,n)!==void 0}getResourceBundle(e,n){return n||(n=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(e,n)}:this.getResource(e,n)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const n=this.getDataByLanguage(e);return!!(n&&Object.keys(n)||[]).find(i=>n[i]&&Object.keys(n[i]).length>0)}toJSON(){return this.data}}var rg={processors:{},addPostProcessor(t){this.processors[t.name]=t},handle(t,e,n,r,i){return t.forEach(o=>{this.processors[o]&&(e=this.processors[o].process(e,n,r,i))}),e}};const bp={};class Ra extends hs{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),iy(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Xt.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(e==null)return!1;const r=this.resolve(e,n);return r&&r.res!==void 0}extractFromKey(e,n){let r=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const i=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let o=n.ns||this.options.defaultNS||[];const a=r&&e.indexOf(r)>-1,s=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!_y(e,r,i);if(a&&!s){const l=e.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:e,namespaces:o};const c=e.split(r);(r!==i||r===i&&this.options.ns.indexOf(c[0])>-1)&&(o=c.shift()),e=c.join(i)}return se(o)&&(o=[o]),{key:e,namespaces:o}}translate(e,n,r){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),e==null)return"";Array.isArray(e)||(e=[String(e)]);const i=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,o=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:a,namespaces:s}=this.extractFromKey(e[e.length-1],n),l=s[s.length-1],c=n.lng||this.language,u=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c&&c.toLowerCase()==="cimode"){if(u){const h=n.nsSeparator||this.options.nsSeparator;return i?{res:`${l}${h}${a}`,usedKey:a,exactUsedKey:a,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(n)}:`${l}${h}${a}`}return i?{res:a,usedKey:a,exactUsedKey:a,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(n)}:a}const d=this.resolve(e,n);let p=d&&d.res;const _=d&&d.usedKey||a,m=d&&d.exactUsedKey||a,f=Object.prototype.toString.apply(p),g=["[object Number]","[object Function]","[object RegExp]"],E=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,S=!this.i18nFormat||this.i18nFormat.handleAsObject,b=!se(p)&&typeof p!="boolean"&&typeof p!="number";if(S&&p&&b&&g.indexOf(f)<0&&!(se(E)&&Array.isArray(p))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const h=this.options.returnedObjectHandler?this.options.returnedObjectHandler(_,p,{...n,ns:s}):`key '${a} (${this.language})' returned an object instead of string.`;return i?(d.res=h,d.usedParams=this.getUsedParamsDetails(n),d):h}if(o){const h=Array.isArray(p),C=h?[]:{},T=h?m:_;for(const R in p)if(Object.prototype.hasOwnProperty.call(p,R)){const x=`${T}${o}${R}`;C[R]=this.translate(x,{...n,joinArrays:!1,ns:s}),C[R]===x&&(C[R]=p[R])}p=C}}else if(S&&se(E)&&Array.isArray(p))p=p.join(E),p&&(p=this.extendTranslation(p,e,n,r));else{let h=!1,C=!1;const T=n.count!==void 0&&!se(n.count),R=Ra.hasDefaultValue(n),x=T?this.pluralResolver.getSuffix(c,n.count,n):"",O=n.ordinal&&T?this.pluralResolver.getSuffix(c,n.count,{ordinal:!1}):"",M=T&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),B=M&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${x}`]||n[`defaultValue${O}`]||n.defaultValue;!this.isValidLookup(p)&&R&&(h=!0,p=B),this.isValidLookup(p)||(C=!0,p=a);const $=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&C?void 0:p,q=R&&B!==p&&this.options.updateMissing;if(C||h||q){if(this.logger.log(q?"updateKey":"missingKey",c,l,a,q?B:p),o){const v=this.resolve(a,{...n,keySeparator:!1});v&&v.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let V=[];const J=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&J&&J[0])for(let v=0;v{const G=R&&k!==p?k:$;this.options.missingKeyHandler?this.options.missingKeyHandler(v,l,A,G,q,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(v,l,A,G,q,n),this.emit("missingKey",v,l,A,p)};this.options.saveMissing&&(this.options.saveMissingPlurals&&T?V.forEach(v=>{const A=this.pluralResolver.getSuffixes(v,n);M&&n[`defaultValue${this.options.pluralSeparator}zero`]&&A.indexOf(`${this.options.pluralSeparator}zero`)<0&&A.push(`${this.options.pluralSeparator}zero`),A.forEach(k=>{y([v],a+k,n[`defaultValue${k}`]||B)})}):y(V,a,B))}p=this.extendTranslation(p,e,n,d,r),C&&p===a&&this.options.appendNamespaceToMissingKey&&(p=`${l}:${a}`),(C||h)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?p=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}:${a}`:a,h?p:void 0):p=this.options.parseMissingKeyHandler(p))}return i?(d.res=p,d.usedParams=this.getUsedParamsDetails(n),d):p}extendTranslation(e,n,r,i,o){var a=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const c=se(e)&&(r&&r.interpolation&&r.interpolation.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let u;if(c){const p=e.match(this.interpolator.nestingRegexp);u=p&&p.length}let d=r.replace&&!se(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(d={...this.options.interpolation.defaultVariables,...d}),e=this.interpolator.interpolate(e,d,r.lng||this.language||i.usedLng,r),c){const p=e.match(this.interpolator.nestingRegexp),_=p&&p.length;u<_&&(r.nest=!1)}!r.lng&&this.options.compatibilityAPI!=="v1"&&i&&i.res&&(r.lng=this.language||i.usedLng),r.nest!==!1&&(e=this.interpolator.nest(e,function(){for(var p=arguments.length,_=new Array(p),m=0;m1&&arguments[1]!==void 0?arguments[1]:{},r,i,o,a,s;return se(e)&&(e=[e]),e.forEach(l=>{if(this.isValidLookup(r))return;const c=this.extractFromKey(l,n),u=c.key;i=u;let d=c.namespaces;this.options.fallbackNS&&(d=d.concat(this.options.fallbackNS));const p=n.count!==void 0&&!se(n.count),_=p&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),m=n.context!==void 0&&(se(n.context)||typeof n.context=="number")&&n.context!=="",f=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);d.forEach(g=>{this.isValidLookup(r)||(s=g,!bp[`${f[0]}-${g}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(s)&&(bp[`${f[0]}-${g}`]=!0,this.logger.warn(`key "${i}" for languages "${f.join(", ")}" won't get resolved as namespace "${s}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),f.forEach(E=>{if(this.isValidLookup(r))return;a=E;const S=[u];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(S,u,E,g,n);else{let h;p&&(h=this.pluralResolver.getSuffix(E,n.count,n));const C=`${this.options.pluralSeparator}zero`,T=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(p&&(S.push(u+h),n.ordinal&&h.indexOf(T)===0&&S.push(u+h.replace(T,this.options.pluralSeparator)),_&&S.push(u+C)),m){const R=`${u}${this.options.contextSeparator}${n.context}`;S.push(R),p&&(S.push(R+h),n.ordinal&&h.indexOf(T)===0&&S.push(R+h.replace(T,this.options.pluralSeparator)),_&&S.push(R+C))}}let b;for(;b=S.pop();)this.isValidLookup(r)||(o=b,r=this.getResource(E,g,b,n))}))})}),{res:r,usedKey:i,exactUsedKey:o,usedLng:a,usedNS:s}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}getResource(e,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,n,r,i):this.resourceStore.getResource(e,n,r,i)}getUsedParamsDetails(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=e.replace&&!se(e.replace);let i=r?e.replace:e;if(r&&typeof e.count<"u"&&(i.count=e.count),this.options.interpolation.defaultVariables&&(i={...this.options.interpolation.defaultVariables,...i}),!r){i={...i};for(const o of n)delete i[o]}return i}static hasDefaultValue(e){const n="defaultValue";for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&n===r.substring(0,n.length)&&e[r]!==void 0)return!0;return!1}}const el=t=>t.charAt(0).toUpperCase()+t.slice(1);class Tp{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Xt.create("languageUtils")}getScriptPartFromCode(e){if(e=ya(e),!e||e.indexOf("-")<0)return null;const n=e.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(e){if(e=ya(e),!e||e.indexOf("-")<0)return e;const n=e.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(e){if(se(e)&&e.indexOf("-")>-1){if(typeof Intl<"u"&&typeof Intl.getCanonicalLocales<"u")try{let i=Intl.getCanonicalLocales(e)[0];if(i&&this.options.lowerCaseLng&&(i=i.toLowerCase()),i)return i}catch{}const n=["hans","hant","latn","cyrl","cans","mong","arab"];let r=e.split("-");return this.options.lowerCaseLng?r=r.map(i=>i.toLowerCase()):r.length===2?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=el(r[1].toLowerCase()))):r.length===3&&(r[0]=r[0].toLowerCase(),r[1].length===2&&(r[1]=r[1].toUpperCase()),r[0]!=="sgn"&&r[2].length===2&&(r[2]=r[2].toUpperCase()),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=el(r[1].toLowerCase())),n.indexOf(r[2].toLowerCase())>-1&&(r[2]=el(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let n;return e.forEach(r=>{if(n)return;const i=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(i))&&(n=i)}),!n&&this.options.supportedLngs&&e.forEach(r=>{if(n)return;const i=this.getLanguagePartFromCode(r);if(this.isSupportedCode(i))return n=i;n=this.options.supportedLngs.find(o=>{if(o===i)return o;if(!(o.indexOf("-")<0&&i.indexOf("-")<0)&&(o.indexOf("-")>0&&i.indexOf("-")<0&&o.substring(0,o.indexOf("-"))===i||o.indexOf(i)===0&&i.length>1))return o})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(e,n){if(!e)return[];if(typeof e=="function"&&(e=e(n)),se(e)&&(e=[e]),Array.isArray(e))return e;if(!n)return e.default||[];let r=e[n];return r||(r=e[this.getScriptPartFromCode(n)]),r||(r=e[this.formatLanguageCode(n)]),r||(r=e[this.getLanguagePartFromCode(n)]),r||(r=e.default),r||[]}toResolveHierarchy(e,n){const r=this.getFallbackCodes(n||this.options.fallbackLng||[],e),i=[],o=a=>{a&&(this.isSupportedCode(a)?i.push(a):this.logger.warn(`rejecting language code not found in supportedLngs: ${a}`))};return se(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&o(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&o(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&o(this.getLanguagePartFromCode(e))):se(e)&&o(this.formatLanguageCode(e)),r.forEach(a=>{i.indexOf(a)<0&&o(this.formatLanguageCode(a))}),i}}let fy=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],gy={1:t=>+(t>1),2:t=>+(t!=1),3:t=>0,4:t=>t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2,5:t=>t==0?0:t==1?1:t==2?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5,6:t=>t==1?0:t>=2&&t<=4?1:2,7:t=>t==1?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2,8:t=>t==1?0:t==2?1:t!=8&&t!=11?2:3,9:t=>+(t>=2),10:t=>t==1?0:t==2?1:t<7?2:t<11?3:4,11:t=>t==1||t==11?0:t==2||t==12?1:t>2&&t<20?2:3,12:t=>+(t%10!=1||t%100==11),13:t=>+(t!==0),14:t=>t==1?0:t==2?1:t==3?2:3,15:t=>t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2,16:t=>t%10==1&&t%100!=11?0:t!==0?1:2,17:t=>t==1||t%10==1&&t%100!=11?0:1,18:t=>t==0?0:t==1?1:2,19:t=>t==1?0:t==0||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3,20:t=>t==1?0:t==0||t%100>0&&t%100<20?1:2,21:t=>t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0,22:t=>t==1?0:t==2?1:(t<0||t>10)&&t%10==0?2:3};const hy=["v1","v2","v3"],Ey=["v4"],Cp={zero:0,one:1,two:2,few:3,many:4,other:5},Sy=()=>{const t={};return fy.forEach(e=>{e.lngs.forEach(n=>{t[n]={numbers:e.nr,plurals:gy[e.fc]}})}),t};class by{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=e,this.options=n,this.logger=Xt.create("pluralResolver"),(!this.options.compatibilityJSON||Ey.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=Sy(),this.pluralRulesCache={}}addRule(e,n){this.rules[e]=n}clearCache(){this.pluralRulesCache={}}getRule(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{const r=ya(e==="dev"?"en":e),i=n.ordinal?"ordinal":"cardinal",o=JSON.stringify({cleanedCode:r,type:i});if(o in this.pluralRulesCache)return this.pluralRulesCache[o];const a=new Intl.PluralRules(r,{type:i});return this.pluralRulesCache[o]=a,a}catch{return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(e,n);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.length>1}getPluralFormsOfKey(e,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(e,r).map(i=>`${n}${i}`)}getSuffixes(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(e,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((i,o)=>Cp[i]-Cp[o]).map(i=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${i}`):r.numbers.map(i=>this.getSuffix(e,i,n)):[]}getSuffix(e,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const i=this.getRule(e,r);return i?this.shouldUseIntlApi()?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${i.select(n)}`:this.getSuffixRetroCompatible(i,n):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,n){const r=e.noAbs?e.plurals(n):e.plurals(Math.abs(n));let i=e.numbers[r];this.options.simplifyPluralSuffix&&e.numbers.length===2&&e.numbers[0]===1&&(i===2?i="plural":i===1&&(i=""));const o=()=>this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString();return this.options.compatibilityJSON==="v1"?i===1?"":typeof i=="number"?`_plural_${i.toString()}`:o():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&e.numbers.length===2&&e.numbers[0]===1?o():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}shouldUseIntlApi(){return!hy.includes(this.options.compatibilityJSON)}}const yp=function(t,e,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,o=sy(t,e,n);return!o&&i&&se(n)&&(o=nc(t,n,r),o===void 0&&(o=nc(e,n,r))),o},tl=t=>t.replace(/\$/g,"$$$$");class Ty{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Xt.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(n=>n),this.init(e)}init(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const{escape:n,escapeValue:r,useRawValueToEscape:i,prefix:o,prefixEscaped:a,suffix:s,suffixEscaped:l,formatSeparator:c,unescapeSuffix:u,unescapePrefix:d,nestingPrefix:p,nestingPrefixEscaped:_,nestingSuffix:m,nestingSuffixEscaped:f,nestingOptionsSeparator:g,maxReplaces:E,alwaysFormat:S}=e.interpolation;this.escape=n!==void 0?n:cy,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=i!==void 0?i:!1,this.prefix=o?xr(o):a||"{{",this.suffix=s?xr(s):l||"}}",this.formatSeparator=c||",",this.unescapePrefix=u?"":d||"-",this.unescapeSuffix=this.unescapePrefix?"":u||"",this.nestingPrefix=p?xr(p):_||xr("$t("),this.nestingSuffix=m?xr(m):f||xr(")"),this.nestingOptionsSeparator=g||",",this.maxReplaces=E||1e3,this.alwaysFormat=S!==void 0?S:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(n,r)=>n&&n.source===r?(n.lastIndex=0,n):new RegExp(r,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,n,r,i){let o,a,s;const l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=_=>{if(_.indexOf(this.formatSeparator)<0){const E=yp(n,l,_,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(E,void 0,r,{...i,...n,interpolationkey:_}):E}const m=_.split(this.formatSeparator),f=m.shift().trim(),g=m.join(this.formatSeparator).trim();return this.format(yp(n,l,f,this.options.keySeparator,this.options.ignoreJSONStructure),g,r,{...i,...n,interpolationkey:f})};this.resetRegExp();const u=i&&i.missingInterpolationHandler||this.options.missingInterpolationHandler,d=i&&i.interpolation&&i.interpolation.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:_=>tl(_)},{regex:this.regexp,safeValue:_=>this.escapeValue?tl(this.escape(_)):tl(_)}].forEach(_=>{for(s=0;o=_.regex.exec(e);){const m=o[1].trim();if(a=c(m),a===void 0)if(typeof u=="function"){const g=u(e,o,i);a=se(g)?g:""}else if(i&&Object.prototype.hasOwnProperty.call(i,m))a="";else if(d){a=o[0];continue}else this.logger.warn(`missed to pass in variable ${m} for interpolating ${e}`),a="";else!se(a)&&!this.useRawValueToEscape&&(a=fp(a));const f=_.safeValue(a);if(e=e.replace(o[0],f),d?(_.regex.lastIndex+=a.length,_.regex.lastIndex-=o[0].length):_.regex.lastIndex=0,s++,s>=this.maxReplaces)break}}),e}nest(e,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i,o,a;const s=(l,c)=>{const u=this.nestingOptionsSeparator;if(l.indexOf(u)<0)return l;const d=l.split(new RegExp(`${u}[ ]*{`));let p=`{${d[1]}`;l=d[0],p=this.interpolate(p,a);const _=p.match(/'/g),m=p.match(/"/g);(_&&_.length%2===0&&!m||m.length%2!==0)&&(p=p.replace(/'/g,'"'));try{a=JSON.parse(p),c&&(a={...c,...a})}catch(f){return this.logger.warn(`failed parsing options string in nesting for key ${l}`,f),`${l}${u}${p}`}return a.defaultValue&&a.defaultValue.indexOf(this.prefix)>-1&&delete a.defaultValue,l};for(;i=this.nestingRegexp.exec(e);){let l=[];a={...r},a=a.replace&&!se(a.replace)?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let c=!1;if(i[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(i[1])){const u=i[1].split(this.formatSeparator).map(d=>d.trim());i[1]=u.shift(),l=u,c=!0}if(o=n(s.call(this,i[1].trim(),a),a),o&&i[0]===e&&!se(o))return o;se(o)||(o=fp(o)),o||(this.logger.warn(`missed to resolve ${i[1]} for nesting ${e}`),o=""),c&&(o=l.reduce((u,d)=>this.format(u,d,r.lng,{...r,interpolationkey:i[1].trim()}),o.trim())),e=e.replace(i[0],o),this.regexp.lastIndex=0}return e}}const Cy=t=>{let e=t.toLowerCase().trim();const n={};if(t.indexOf("(")>-1){const r=t.split("(");e=r[0].toLowerCase().trim();const i=r[1].substring(0,r[1].length-1);e==="currency"&&i.indexOf(":")<0?n.currency||(n.currency=i.trim()):e==="relativetime"&&i.indexOf(":")<0?n.range||(n.range=i.trim()):i.split(";").forEach(a=>{if(a){const[s,...l]=a.split(":"),c=l.join(":").trim().replace(/^'+|'+$/g,""),u=s.trim();n[u]||(n[u]=c),c==="false"&&(n[u]=!1),c==="true"&&(n[u]=!0),isNaN(c)||(n[u]=parseInt(c,10))}})}return{formatName:e,formatOptions:n}},Dr=t=>{const e={};return(n,r,i)=>{let o=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(o={...o,[i.interpolationkey]:void 0});const a=r+JSON.stringify(o);let s=e[a];return s||(s=t(ya(r),i),e[a]=s),s(n)}};class yy{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Xt.create("formatter"),this.options=e,this.formats={number:Dr((n,r)=>i=>new Intl.NumberFormat(n,{...r}).format(i)),currency:Dr((n,r)=>i=>new Intl.NumberFormat(n,{...r,style:"currency"}).format(i)),datetime:Dr((n,r)=>i=>new Intl.DateTimeFormat(n,{...r}).format(i)),relativetime:Dr((n,r)=>i=>new Intl.RelativeTimeFormat(n,{...r}).format(i,r.range||"day")),list:Dr((n,r)=>i=>new Intl.ListFormat(n,{...r}).format(i))},this.init(e)}init(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=n.interpolation.formatSeparator||","}add(e,n){this.formats[e.toLowerCase().trim()]=n}addCached(e,n){this.formats[e.toLowerCase().trim()]=Dr(n)}format(e,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=n.split(this.formatSeparator);if(o.length>1&&o[0].indexOf("(")>1&&o[0].indexOf(")")<0&&o.find(s=>s.indexOf(")")>-1)){const s=o.findIndex(l=>l.indexOf(")")>-1);o[0]=[o[0],...o.splice(1,s)].join(this.formatSeparator)}return o.reduce((s,l)=>{const{formatName:c,formatOptions:u}=Cy(l);if(this.formats[c]){let d=s;try{const p=i&&i.formatParams&&i.formatParams[i.interpolationkey]||{},_=p.locale||p.lng||i.locale||i.lng||r;d=this.formats[c](s,_,{...u,...i,...p})}catch(p){this.logger.warn(p)}return d}else this.logger.warn(`there was no format function for ${c}`);return s},e)}}const vy=(t,e)=>{t.pending[e]!==void 0&&(delete t.pending[e],t.pendingCount--)};class Ry extends hs{constructor(e,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=e,this.store=n,this.services=r,this.languageUtils=r.languageUtils,this.options=i,this.logger=Xt.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=i.maxParallelReads||10,this.readingCalls=0,this.maxRetries=i.maxRetries>=0?i.maxRetries:5,this.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(r,i.backend,i)}queueLoad(e,n,r,i){const o={},a={},s={},l={};return e.forEach(c=>{let u=!0;n.forEach(d=>{const p=`${c}|${d}`;!r.reload&&this.store.hasResourceBundle(c,d)?this.state[p]=2:this.state[p]<0||(this.state[p]===1?a[p]===void 0&&(a[p]=!0):(this.state[p]=1,u=!1,a[p]===void 0&&(a[p]=!0),o[p]===void 0&&(o[p]=!0),l[d]===void 0&&(l[d]=!0)))}),u||(s[c]=!0)}),(Object.keys(o).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(o),pending:Object.keys(a),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(l)}}loaded(e,n,r){const i=e.split("|"),o=i[0],a=i[1];n&&this.emit("failedLoading",o,a,n),!n&&r&&this.store.addResourceBundle(o,a,r,void 0,void 0,{skipCopy:!0}),this.state[e]=n?-1:2,n&&r&&(this.state[e]=0);const s={};this.queue.forEach(l=>{ay(l.loaded,[o],a),vy(l,e),n&&l.errors.push(n),l.pendingCount===0&&!l.done&&(Object.keys(l.loaded).forEach(c=>{s[c]||(s[c]={});const u=l.loaded[c];u.length&&u.forEach(d=>{s[c][d]===void 0&&(s[c][d]=!0)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",s),this.queue=this.queue.filter(l=>!l.done)}read(e,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:n,fcName:r,tried:i,wait:o,callback:a});return}this.readingCalls++;const s=(c,u)=>{if(this.readingCalls--,this.waitingReads.length>0){const d=this.waitingReads.shift();this.read(d.lng,d.ns,d.fcName,d.tried,d.wait,d.callback)}if(c&&u&&i{this.read.call(this,e,n,r,i+1,o*2,a)},o);return}a(c,u)},l=this.backend[r].bind(this.backend);if(l.length===2){try{const c=l(e,n);c&&typeof c.then=="function"?c.then(u=>s(null,u)).catch(s):s(null,c)}catch(c){s(c)}return}return l(e,n,s)}prepareLoading(e,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();se(e)&&(e=this.languageUtils.toResolveHierarchy(e)),se(n)&&(n=[n]);const o=this.queueLoad(e,n,r,i);if(!o.toLoad.length)return o.pending.length||i(),null;o.toLoad.forEach(a=>{this.loadOne(a)})}load(e,n,r){this.prepareLoading(e,n,{},r)}reload(e,n,r){this.prepareLoading(e,n,{reload:!0},r)}loadOne(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const r=e.split("|"),i=r[0],o=r[1];this.read(i,o,"read",void 0,void 0,(a,s)=>{a&&this.logger.warn(`${n}loading namespace ${o} for language ${i} failed`,a),!a&&s&&this.logger.log(`${n}loaded namespace ${o} for language ${i}`,s),this.loaded(e,a,s)})}saveMissing(e,n,r,i,o){let a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${r}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(r==null||r==="")){if(this.backend&&this.backend.create){const l={...a,isUpdate:o},c=this.backend.create.bind(this.backend);if(c.length<6)try{let u;c.length===5?u=c(e,n,r,i,l):u=c(e,n,r,i),u&&typeof u.then=="function"?u.then(d=>s(null,d)).catch(s):s(null,u)}catch(u){s(u)}else c(e,n,r,i,s,l)}!e||!e[0]||this.store.addResource(e[0],n,r,i)}}}const vp=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:t=>{let e={};if(typeof t[1]=="object"&&(e=t[1]),se(t[1])&&(e.defaultValue=t[1]),se(t[2])&&(e.tDescription=t[2]),typeof t[2]=="object"||typeof t[3]=="object"){const n=t[3]||t[2];Object.keys(n).forEach(r=>{e[r]=n[r]})}return e},interpolation:{escapeValue:!0,format:t=>t,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),Rp=t=>(se(t.ns)&&(t.ns=[t.ns]),se(t.fallbackLng)&&(t.fallbackLng=[t.fallbackLng]),se(t.fallbackNS)&&(t.fallbackNS=[t.fallbackNS]),t.supportedLngs&&t.supportedLngs.indexOf("cimode")<0&&(t.supportedLngs=t.supportedLngs.concat(["cimode"])),t),wo=()=>{},Oy=t=>{Object.getOwnPropertyNames(Object.getPrototypeOf(t)).forEach(n=>{typeof t[n]=="function"&&(t[n]=t[n].bind(t))})};class Ji extends hs{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=Rp(e),this.services={},this.logger=Xt,this.modules={external:[]},Oy(this),n&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,n),this;setTimeout(()=>{this.init(e,n)},0)}}init(){var e=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof n=="function"&&(r=n,n={}),!n.defaultNS&&n.defaultNS!==!1&&n.ns&&(se(n.ns)?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const i=vp();this.options={...i,...this.options,...Rp(n)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...i.interpolation,...this.options.interpolation}),n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);const o=u=>u?typeof u=="function"?new u:u:null;if(!this.options.isClone){this.modules.logger?Xt.init(o(this.modules.logger),this.options):Xt.init(null,this.options);let u;this.modules.formatter?u=this.modules.formatter:typeof Intl<"u"&&(u=yy);const d=new Tp(this.options);this.store=new Sp(this.options.resources,this.options);const p=this.services;p.logger=Xt,p.resourceStore=this.store,p.languageUtils=d,p.pluralResolver=new by(d,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),u&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(p.formatter=o(u),p.formatter.init(p,this.options),this.options.interpolation.format=p.formatter.format.bind(p.formatter)),p.interpolator=new Ty(this.options),p.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},p.backendConnector=new Ry(o(this.modules.backend),p.resourceStore,p,this.options),p.backendConnector.on("*",function(_){for(var m=arguments.length,f=new Array(m>1?m-1:0),g=1;g1?m-1:0),g=1;g{_.init&&_.init(this)})}if(this.format=this.options.interpolation.format,r||(r=wo),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const u=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);u.length>0&&u[0]!=="dev"&&(this.options.lng=u[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(u=>{this[u]=function(){return e.store[u](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(u=>{this[u]=function(){return e.store[u](...arguments),e}});const l=Ti(),c=()=>{const u=(d,p)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),l.resolve(p),r(d,p)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return u(null,this.t.bind(this));this.changeLanguage(this.options.lng,u)};return this.options.resources||!this.options.initImmediate?c():setTimeout(c,0),l}loadResources(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:wo;const i=se(e)?e:this.language;if(typeof e=="function"&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(i&&i.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const o=[],a=s=>{if(!s||s==="cimode")return;this.services.languageUtils.toResolveHierarchy(s).forEach(c=>{c!=="cimode"&&o.indexOf(c)<0&&o.push(c)})};i?a(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(l=>a(l)),this.options.preload&&this.options.preload.forEach(s=>a(s)),this.services.backendConnector.load(o,this.options.ns,s=>{!s&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(s)})}else r(null)}reloadResources(e,n,r){const i=Ti();return typeof e=="function"&&(r=e,e=void 0),typeof n=="function"&&(r=n,n=void 0),e||(e=this.languages),n||(n=this.options.ns),r||(r=wo),this.services.backendConnector.reload(e,n,o=>{i.resolve(),r(o)}),i}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return e.type==="backend"&&(this.modules.backend=e),(e.type==="logger"||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type==="languageDetector"&&(this.modules.languageDetector=e),e.type==="i18nFormat"&&(this.modules.i18nFormat=e),e.type==="postProcessor"&&rg.addPostProcessor(e),e.type==="formatter"&&(this.modules.formatter=e),e.type==="3rdParty"&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&!(["cimode","dev"].indexOf(e)>-1))for(let n=0;n-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}changeLanguage(e,n){var r=this;this.isLanguageChangingTo=e;const i=Ti();this.emit("languageChanging",e);const o=l=>{this.language=l,this.languages=this.services.languageUtils.toResolveHierarchy(l),this.resolvedLanguage=void 0,this.setResolvedLanguage(l)},a=(l,c)=>{c?(o(c),this.translator.changeLanguage(c),this.isLanguageChangingTo=void 0,this.emit("languageChanged",c),this.logger.log("languageChanged",c)):this.isLanguageChangingTo=void 0,i.resolve(function(){return r.t(...arguments)}),n&&n(l,function(){return r.t(...arguments)})},s=l=>{!e&&!l&&this.services.languageDetector&&(l=[]);const c=se(l)?l:this.services.languageUtils.getBestMatchFromCodes(l);c&&(this.language||o(c),this.translator.language||this.translator.changeLanguage(c),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(c)),this.loadResources(c,u=>{a(u,c)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?s(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(s):this.services.languageDetector.detect(s):s(e),i}getFixedT(e,n,r){var i=this;const o=function(a,s){let l;if(typeof s!="object"){for(var c=arguments.length,u=new Array(c>2?c-2:0),d=2;d`${l.keyPrefix}${p}${m}`):_=l.keyPrefix?`${l.keyPrefix}${p}${a}`:a,i.t(_,l)};return se(e)?o.lng=e:o.lngs=e,o.ns=n,o.keyPrefix=r,o}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=n.lng||this.resolvedLanguage||this.languages[0],i=this.options?this.options.fallbackLng:!1,o=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const a=(s,l)=>{const c=this.services.backendConnector.state[`${s}|${l}`];return c===-1||c===0||c===2};if(n.precheck){const s=n.precheck(this,a);if(s!==void 0)return s}return!!(this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(r,e)&&(!i||a(o,e)))}loadNamespaces(e,n){const r=Ti();return this.options.ns?(se(e)&&(e=[e]),e.forEach(i=>{this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}),this.loadResources(i=>{r.resolve(),n&&n(i)}),r):(n&&n(),Promise.resolve())}loadLanguages(e,n){const r=Ti();se(e)&&(e=[e]);const i=this.options.preload||[],o=e.filter(a=>i.indexOf(a)<0&&this.services.languageUtils.isSupportedCode(a));return o.length?(this.options.preload=i.concat(o),this.loadResources(a=>{r.resolve(),n&&n(a)}),r):(n&&n(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],r=this.services&&this.services.languageUtils||new Tp(vp());return n.indexOf(r.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new Ji(e,n)}cloneInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:wo;const r=e.forkResourceStore;r&&delete e.forkResourceStore;const i={...this.options,...e,isClone:!0},o=new Ji(i);return(e.debug!==void 0||e.prefix!==void 0)&&(o.logger=o.logger.clone(e)),["store","services","language"].forEach(s=>{o[s]=this[s]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},r&&(o.store=new Sp(this.store.data,i),o.services.resourceStore=o.store),o.translator=new Ra(o.services,i),o.translator.on("*",function(s){for(var l=arguments.length,c=new Array(l>1?l-1:0),u=1;uce(e)),this.dropDivHeight="265px",this.dropDivWith="fit-content"}onDropdownActive(e,n){return n==0?e.isActive("paragraph"):e.isActive("heading",{level:n})}onDropdownItemClick(e){e==0?this.editor.chain().setParagraph().run():this.editor.chain().setHeading({level:e}).run()}onDropdownItemRender(e){return e==0?this.menuData[e]:`${this.menuData[e]}`}onMenuTextRender(e){return this.menuData[e].replace(" ","")}};const Iy=[{name:"宋体",value:"SimSun"},{name:"仿宋",value:"FangSong"},{name:"黑体",value:"SimHei"},{name:"楷体",value:"KaiTi"},{name:"微软雅黑",value:"Microsoft YaHei"},{name:"方正仿宋简体_GBK",value:"FangSong_GB2312"},{name:"Arial",value:"Arial"}];let xy=class extends mi{constructor(){super(),this.width="72px",this.menuTextWidth="60px",this.dropDivWith="150px"}onCreate(e,n){var r;super.onCreate(e,n),this.menuData=((r=n.fontFamily)==null?void 0:r.values)||Iy,this.menuData=[{name:ce("default-font-family"),value:""}].concat(this.menuData)}onDropdownActive(e,n){return e.isActive("textStyle",{fontFamily:this.menuData[n].value})}onDropdownItemClick(e){const n=this.menuData[e].value;n?this.editor.chain().setFontFamily(n).run():this.editor.chain().unsetFontFamily().run()}onDropdownItemRender(e){return this.menuData[e].name}onMenuTextRender(e){return this.menuData[e].name}};const Dy=[{name:"9",value:9},{name:"10",value:10},{name:"11",value:11},{name:"12",value:12},{name:"14",value:14},{name:"18",value:18},{name:"20",value:20},{name:"22",value:22},{name:"24",value:24},{name:"26",value:26},{name:"28",value:28},{name:"30",value:30},{name:"36",value:36},{name:"42",value:42},{name:"48",value:48},{name:"56",value:56},{name:"72",value:72}];class My extends mi{constructor(){super();L(this,"defaultValue",14)}onCreate(n,r){var i,o;super.onCreate(n,r),this.menuData=((i=r.fontSize)==null?void 0:i.values)||Dy,this.defaultValue=((o=r.fontSize)==null?void 0:o.defaultValue)||this.defaultValue;for(let a=0;a{const a=this.menuData[r];a.onClick?a.onClick(o)&&this.tippyInstance.hide():(this.onDropdownItemClick(r),this.tippyInstance.hide())}),this.showItemsTip){const o=this.menuData[r];we(i,{appendTo:()=>this.closest(".aie-container"),content:o.tip||o.title,theme:"aietip",arrow:!0,placement:"right"})}n.appendChild(i)}return this.tippyEl=n,n}onTransaction(n){var o,a;const r=(o=this.tippyEl)==null?void 0:o.querySelector(".red-dot");r&&r.classList.remove("red-dot");let i=this.defaultMenuIndex;for(let s=0;stypeof t=="string",Ci=()=>{let t,e;const n=new Promise((r,i)=>{t=r,e=i});return n.resolve=t,n.reject=e,n},Ep=t=>t==null?"":""+t,py=(t,e,n)=>{t.forEach(r=>{e[r]&&(n[r]=e[r])})},_y=/###/g,Sp=t=>t&&t.indexOf("###")>-1?t.replace(_y,"."):t,bp=t=>!t||se(t),Bi=(t,e,n)=>{const r=se(e)?e.split("."):e;let i=0;for(;i{const{obj:r,k:i}=Bi(t,e,Object);if(r!==void 0||e.length===1){r[i]=n;return}let o=e[e.length-1],a=e.slice(0,e.length-1),s=Bi(t,a,Object);for(;s.obj===void 0&&a.length;)o=`${a[a.length-1]}.${o}`,a=a.slice(0,a.length-1),s=Bi(t,a,Object),s&&s.obj&&typeof s.obj[`${s.k}.${o}`]<"u"&&(s.obj=void 0);s.obj[`${s.k}.${o}`]=n},my=(t,e,n,r)=>{const{obj:i,k:o}=Bi(t,e,Object);i[o]=i[o]||[],i[o].push(n)},va=(t,e)=>{const{obj:n,k:r}=Bi(t,e);if(n)return n[r]},fy=(t,e,n)=>{const r=va(t,n);return r!==void 0?r:va(e,n)},ah=(t,e,n)=>{for(const r in e)r!=="__proto__"&&r!=="constructor"&&(r in t?se(t[r])||t[r]instanceof String||se(e[r])||e[r]instanceof String?n&&(t[r]=e[r]):ah(t[r],e[r],n):t[r]=e[r]);return t},xr=t=>t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var hy={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const gy=t=>se(t)?t.replace(/[&<>"'\/]/g,e=>hy[e]):t;class Ey{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const n=this.regExpMap.get(e);if(n!==void 0)return n;const r=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,r),this.regExpQueue.push(e),r}}const Sy=[" ",",","?","!",";"],by=new Ey(20),Ty=(t,e,n)=>{e=e||"",n=n||"";const r=Sy.filter(a=>e.indexOf(a)<0&&n.indexOf(a)<0);if(r.length===0)return!0;const i=by.getRegExp(`(${r.map(a=>a==="?"?"\\?":a).join("|")})`);let o=!i.test(t);if(!o){const a=t.indexOf(n);a>0&&!i.test(t.substring(0,a))&&(o=!0)}return o},ic=function(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!t)return;if(t[e])return t[e];const r=e.split(n);let i=t;for(let o=0;o-1&&lt&&t.replace("_","-"),Cy={type:"logger",log(t){this.output("log",t)},warn(t){this.output("warn",t)},error(t){this.output("error",t)},output(t,e){console&&console[t]&&console[t].apply(console,e)}};class Oa{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(e,n)}init(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=e||Cy,this.options=n,this.debug=n.debug}log(){for(var e=arguments.length,n=new Array(e),r=0;r{this.observers[r]||(this.observers[r]=new Map);const i=this.observers[r].get(n)||0;this.observers[r].set(n,i+1)}),this}off(e,n){if(this.observers[e]){if(!n){delete this.observers[e];return}this.observers[e].delete(n)}}emit(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i{let[s,l]=a;for(let c=0;c{let[s,l]=a;for(let c=0;c1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const n=this.options.ns.indexOf(e);n>-1&&this.options.ns.splice(n,1)}getResource(e,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,a=i.ignoreJSONStructure!==void 0?i.ignoreJSONStructure:this.options.ignoreJSONStructure;let s;e.indexOf(".")>-1?s=e.split("."):(s=[e,n],r&&(Array.isArray(r)?s.push(...r):se(r)&&o?s.push(...r.split(o)):s.push(r)));const l=va(this.data,s);return!l&&!n&&!r&&e.indexOf(".")>-1&&(e=s[0],n=s[1],r=s.slice(2).join(".")),l||!a||!se(r)?l:ic(this.data&&this.data[e]&&this.data[e][n],r,o)}addResource(e,n,r,i){let o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const a=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator;let s=[e,n];r&&(s=s.concat(a?r.split(a):r)),e.indexOf(".")>-1&&(s=e.split("."),i=n,n=s[1]),this.addNamespaces(n),Tp(this.data,s,i),o.silent||this.emit("added",e,n,r,i)}addResources(e,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const o in r)(se(r[o])||Array.isArray(r[o]))&&this.addResource(e,n,o,r[o],{silent:!0});i.silent||this.emit("added",e,n,r)}addResourceBundle(e,n,r,i,o){let a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},s=[e,n];e.indexOf(".")>-1&&(s=e.split("."),i=r,r=n,n=s[1]),this.addNamespaces(n);let l=va(this.data,s)||{};a.skipCopy||(r=JSON.parse(JSON.stringify(r))),i?ah(l,r,o):l={...l,...r},Tp(this.data,s,l),a.silent||this.emit("added",e,n,r)}removeResourceBundle(e,n){this.hasResourceBundle(e,n)&&delete this.data[e][n],this.removeNamespaces(n),this.emit("removed",e,n)}hasResourceBundle(e,n){return this.getResource(e,n)!==void 0}getResourceBundle(e,n){return n||(n=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(e,n)}:this.getResource(e,n)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const n=this.getDataByLanguage(e);return!!(n&&Object.keys(n)||[]).find(i=>n[i]&&Object.keys(n[i]).length>0)}toJSON(){return this.data}}var sh={processors:{},addPostProcessor(t){this.processors[t.name]=t},handle(t,e,n,r,i){return t.forEach(o=>{this.processors[o]&&(e=this.processors[o].process(e,n,r,i))}),e}};const yp={};class Na extends Ss{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),py(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Xt.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(e==null)return!1;const r=this.resolve(e,n);return r&&r.res!==void 0}extractFromKey(e,n){let r=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const i=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let o=n.ns||this.options.defaultNS||[];const a=r&&e.indexOf(r)>-1,s=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!Ty(e,r,i);if(a&&!s){const l=e.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:e,namespaces:o};const c=e.split(r);(r!==i||r===i&&this.options.ns.indexOf(c[0])>-1)&&(o=c.shift()),e=c.join(i)}return se(o)&&(o=[o]),{key:e,namespaces:o}}translate(e,n,r){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),e==null)return"";Array.isArray(e)||(e=[String(e)]);const i=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,o=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:a,namespaces:s}=this.extractFromKey(e[e.length-1],n),l=s[s.length-1],c=n.lng||this.language,u=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c&&c.toLowerCase()==="cimode"){if(u){const g=n.nsSeparator||this.options.nsSeparator;return i?{res:`${l}${g}${a}`,usedKey:a,exactUsedKey:a,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(n)}:`${l}${g}${a}`}return i?{res:a,usedKey:a,exactUsedKey:a,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(n)}:a}const d=this.resolve(e,n);let p=d&&d.res;const _=d&&d.usedKey||a,m=d&&d.exactUsedKey||a,f=Object.prototype.toString.apply(p),h=["[object Number]","[object Function]","[object RegExp]"],E=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,S=!this.i18nFormat||this.i18nFormat.handleAsObject,b=!se(p)&&typeof p!="boolean"&&typeof p!="number";if(S&&p&&b&&h.indexOf(f)<0&&!(se(E)&&Array.isArray(p))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const g=this.options.returnedObjectHandler?this.options.returnedObjectHandler(_,p,{...n,ns:s}):`key '${a} (${this.language})' returned an object instead of string.`;return i?(d.res=g,d.usedParams=this.getUsedParamsDetails(n),d):g}if(o){const g=Array.isArray(p),C=g?[]:{},T=g?m:_;for(const R in p)if(Object.prototype.hasOwnProperty.call(p,R)){const x=`${T}${o}${R}`;C[R]=this.translate(x,{...n,joinArrays:!1,ns:s}),C[R]===x&&(C[R]=p[R])}p=C}}else if(S&&se(E)&&Array.isArray(p))p=p.join(E),p&&(p=this.extendTranslation(p,e,n,r));else{let g=!1,C=!1;const T=n.count!==void 0&&!se(n.count),R=Na.hasDefaultValue(n),x=T?this.pluralResolver.getSuffix(c,n.count,n):"",O=n.ordinal&&T?this.pluralResolver.getSuffix(c,n.count,{ordinal:!1}):"",M=T&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),B=M&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${x}`]||n[`defaultValue${O}`]||n.defaultValue;!this.isValidLookup(p)&&R&&(g=!0,p=B),this.isValidLookup(p)||(C=!0,p=a);const $=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&C?void 0:p,q=R&&B!==p&&this.options.updateMissing;if(C||g||q){if(this.logger.log(q?"updateKey":"missingKey",c,l,a,q?B:p),o){const v=this.resolve(a,{...n,keySeparator:!1});v&&v.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let V=[];const J=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&J&&J[0])for(let v=0;v{const G=R&&k!==p?k:$;this.options.missingKeyHandler?this.options.missingKeyHandler(v,l,A,G,q,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(v,l,A,G,q,n),this.emit("missingKey",v,l,A,p)};this.options.saveMissing&&(this.options.saveMissingPlurals&&T?V.forEach(v=>{const A=this.pluralResolver.getSuffixes(v,n);M&&n[`defaultValue${this.options.pluralSeparator}zero`]&&A.indexOf(`${this.options.pluralSeparator}zero`)<0&&A.push(`${this.options.pluralSeparator}zero`),A.forEach(k=>{y([v],a+k,n[`defaultValue${k}`]||B)})}):y(V,a,B))}p=this.extendTranslation(p,e,n,d,r),C&&p===a&&this.options.appendNamespaceToMissingKey&&(p=`${l}:${a}`),(C||g)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?p=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}:${a}`:a,g?p:void 0):p=this.options.parseMissingKeyHandler(p))}return i?(d.res=p,d.usedParams=this.getUsedParamsDetails(n),d):p}extendTranslation(e,n,r,i,o){var a=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const c=se(e)&&(r&&r.interpolation&&r.interpolation.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let u;if(c){const p=e.match(this.interpolator.nestingRegexp);u=p&&p.length}let d=r.replace&&!se(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(d={...this.options.interpolation.defaultVariables,...d}),e=this.interpolator.interpolate(e,d,r.lng||this.language||i.usedLng,r),c){const p=e.match(this.interpolator.nestingRegexp),_=p&&p.length;u<_&&(r.nest=!1)}!r.lng&&this.options.compatibilityAPI!=="v1"&&i&&i.res&&(r.lng=this.language||i.usedLng),r.nest!==!1&&(e=this.interpolator.nest(e,function(){for(var p=arguments.length,_=new Array(p),m=0;m1&&arguments[1]!==void 0?arguments[1]:{},r,i,o,a,s;return se(e)&&(e=[e]),e.forEach(l=>{if(this.isValidLookup(r))return;const c=this.extractFromKey(l,n),u=c.key;i=u;let d=c.namespaces;this.options.fallbackNS&&(d=d.concat(this.options.fallbackNS));const p=n.count!==void 0&&!se(n.count),_=p&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),m=n.context!==void 0&&(se(n.context)||typeof n.context=="number")&&n.context!=="",f=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);d.forEach(h=>{this.isValidLookup(r)||(s=h,!yp[`${f[0]}-${h}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(s)&&(yp[`${f[0]}-${h}`]=!0,this.logger.warn(`key "${i}" for languages "${f.join(", ")}" won't get resolved as namespace "${s}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),f.forEach(E=>{if(this.isValidLookup(r))return;a=E;const S=[u];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(S,u,E,h,n);else{let g;p&&(g=this.pluralResolver.getSuffix(E,n.count,n));const C=`${this.options.pluralSeparator}zero`,T=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(p&&(S.push(u+g),n.ordinal&&g.indexOf(T)===0&&S.push(u+g.replace(T,this.options.pluralSeparator)),_&&S.push(u+C)),m){const R=`${u}${this.options.contextSeparator}${n.context}`;S.push(R),p&&(S.push(R+g),n.ordinal&&g.indexOf(T)===0&&S.push(R+g.replace(T,this.options.pluralSeparator)),_&&S.push(R+C))}}let b;for(;b=S.pop();)this.isValidLookup(r)||(o=b,r=this.getResource(E,h,b,n))}))})}),{res:r,usedKey:i,exactUsedKey:o,usedLng:a,usedNS:s}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}getResource(e,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,n,r,i):this.resourceStore.getResource(e,n,r,i)}getUsedParamsDetails(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=e.replace&&!se(e.replace);let i=r?e.replace:e;if(r&&typeof e.count<"u"&&(i.count=e.count),this.options.interpolation.defaultVariables&&(i={...this.options.interpolation.defaultVariables,...i}),!r){i={...i};for(const o of n)delete i[o]}return i}static hasDefaultValue(e){const n="defaultValue";for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&n===r.substring(0,n.length)&&e[r]!==void 0)return!0;return!1}}const nl=t=>t.charAt(0).toUpperCase()+t.slice(1);class vp{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Xt.create("languageUtils")}getScriptPartFromCode(e){if(e=Ra(e),!e||e.indexOf("-")<0)return null;const n=e.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(e){if(e=Ra(e),!e||e.indexOf("-")<0)return e;const n=e.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(e){if(se(e)&&e.indexOf("-")>-1){if(typeof Intl<"u"&&typeof Intl.getCanonicalLocales<"u")try{let i=Intl.getCanonicalLocales(e)[0];if(i&&this.options.lowerCaseLng&&(i=i.toLowerCase()),i)return i}catch{}const n=["hans","hant","latn","cyrl","cans","mong","arab"];let r=e.split("-");return this.options.lowerCaseLng?r=r.map(i=>i.toLowerCase()):r.length===2?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=nl(r[1].toLowerCase()))):r.length===3&&(r[0]=r[0].toLowerCase(),r[1].length===2&&(r[1]=r[1].toUpperCase()),r[0]!=="sgn"&&r[2].length===2&&(r[2]=r[2].toUpperCase()),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=nl(r[1].toLowerCase())),n.indexOf(r[2].toLowerCase())>-1&&(r[2]=nl(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let n;return e.forEach(r=>{if(n)return;const i=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(i))&&(n=i)}),!n&&this.options.supportedLngs&&e.forEach(r=>{if(n)return;const i=this.getLanguagePartFromCode(r);if(this.isSupportedCode(i))return n=i;n=this.options.supportedLngs.find(o=>{if(o===i)return o;if(!(o.indexOf("-")<0&&i.indexOf("-")<0)&&(o.indexOf("-")>0&&i.indexOf("-")<0&&o.substring(0,o.indexOf("-"))===i||o.indexOf(i)===0&&i.length>1))return o})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(e,n){if(!e)return[];if(typeof e=="function"&&(e=e(n)),se(e)&&(e=[e]),Array.isArray(e))return e;if(!n)return e.default||[];let r=e[n];return r||(r=e[this.getScriptPartFromCode(n)]),r||(r=e[this.formatLanguageCode(n)]),r||(r=e[this.getLanguagePartFromCode(n)]),r||(r=e.default),r||[]}toResolveHierarchy(e,n){const r=this.getFallbackCodes(n||this.options.fallbackLng||[],e),i=[],o=a=>{a&&(this.isSupportedCode(a)?i.push(a):this.logger.warn(`rejecting language code not found in supportedLngs: ${a}`))};return se(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&o(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&o(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&o(this.getLanguagePartFromCode(e))):se(e)&&o(this.formatLanguageCode(e)),r.forEach(a=>{i.indexOf(a)<0&&o(this.formatLanguageCode(a))}),i}}let yy=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],vy={1:t=>+(t>1),2:t=>+(t!=1),3:t=>0,4:t=>t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2,5:t=>t==0?0:t==1?1:t==2?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5,6:t=>t==1?0:t>=2&&t<=4?1:2,7:t=>t==1?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2,8:t=>t==1?0:t==2?1:t!=8&&t!=11?2:3,9:t=>+(t>=2),10:t=>t==1?0:t==2?1:t<7?2:t<11?3:4,11:t=>t==1||t==11?0:t==2||t==12?1:t>2&&t<20?2:3,12:t=>+(t%10!=1||t%100==11),13:t=>+(t!==0),14:t=>t==1?0:t==2?1:t==3?2:3,15:t=>t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2,16:t=>t%10==1&&t%100!=11?0:t!==0?1:2,17:t=>t==1||t%10==1&&t%100!=11?0:1,18:t=>t==0?0:t==1?1:2,19:t=>t==1?0:t==0||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3,20:t=>t==1?0:t==0||t%100>0&&t%100<20?1:2,21:t=>t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0,22:t=>t==1?0:t==2?1:(t<0||t>10)&&t%10==0?2:3};const Ry=["v1","v2","v3"],Oy=["v4"],Rp={zero:0,one:1,two:2,few:3,many:4,other:5},Ny=()=>{const t={};return yy.forEach(e=>{e.lngs.forEach(n=>{t[n]={numbers:e.nr,plurals:vy[e.fc]}})}),t};class Ay{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=e,this.options=n,this.logger=Xt.create("pluralResolver"),(!this.options.compatibilityJSON||Oy.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=Ny(),this.pluralRulesCache={}}addRule(e,n){this.rules[e]=n}clearCache(){this.pluralRulesCache={}}getRule(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{const r=Ra(e==="dev"?"en":e),i=n.ordinal?"ordinal":"cardinal",o=JSON.stringify({cleanedCode:r,type:i});if(o in this.pluralRulesCache)return this.pluralRulesCache[o];const a=new Intl.PluralRules(r,{type:i});return this.pluralRulesCache[o]=a,a}catch{return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(e,n);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.length>1}getPluralFormsOfKey(e,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(e,r).map(i=>`${n}${i}`)}getSuffixes(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(e,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((i,o)=>Rp[i]-Rp[o]).map(i=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${i}`):r.numbers.map(i=>this.getSuffix(e,i,n)):[]}getSuffix(e,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const i=this.getRule(e,r);return i?this.shouldUseIntlApi()?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${i.select(n)}`:this.getSuffixRetroCompatible(i,n):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,n){const r=e.noAbs?e.plurals(n):e.plurals(Math.abs(n));let i=e.numbers[r];this.options.simplifyPluralSuffix&&e.numbers.length===2&&e.numbers[0]===1&&(i===2?i="plural":i===1&&(i=""));const o=()=>this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString();return this.options.compatibilityJSON==="v1"?i===1?"":typeof i=="number"?`_plural_${i.toString()}`:o():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&e.numbers.length===2&&e.numbers[0]===1?o():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}shouldUseIntlApi(){return!Ry.includes(this.options.compatibilityJSON)}}const Op=function(t,e,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,o=fy(t,e,n);return!o&&i&&se(n)&&(o=ic(t,n,r),o===void 0&&(o=ic(e,n,r))),o},rl=t=>t.replace(/\$/g,"$$$$");class Iy{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Xt.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(n=>n),this.init(e)}init(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const{escape:n,escapeValue:r,useRawValueToEscape:i,prefix:o,prefixEscaped:a,suffix:s,suffixEscaped:l,formatSeparator:c,unescapeSuffix:u,unescapePrefix:d,nestingPrefix:p,nestingPrefixEscaped:_,nestingSuffix:m,nestingSuffixEscaped:f,nestingOptionsSeparator:h,maxReplaces:E,alwaysFormat:S}=e.interpolation;this.escape=n!==void 0?n:gy,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=i!==void 0?i:!1,this.prefix=o?xr(o):a||"{{",this.suffix=s?xr(s):l||"}}",this.formatSeparator=c||",",this.unescapePrefix=u?"":d||"-",this.unescapeSuffix=this.unescapePrefix?"":u||"",this.nestingPrefix=p?xr(p):_||xr("$t("),this.nestingSuffix=m?xr(m):f||xr(")"),this.nestingOptionsSeparator=h||",",this.maxReplaces=E||1e3,this.alwaysFormat=S!==void 0?S:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(n,r)=>n&&n.source===r?(n.lastIndex=0,n):new RegExp(r,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,n,r,i){let o,a,s;const l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=_=>{if(_.indexOf(this.formatSeparator)<0){const E=Op(n,l,_,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(E,void 0,r,{...i,...n,interpolationkey:_}):E}const m=_.split(this.formatSeparator),f=m.shift().trim(),h=m.join(this.formatSeparator).trim();return this.format(Op(n,l,f,this.options.keySeparator,this.options.ignoreJSONStructure),h,r,{...i,...n,interpolationkey:f})};this.resetRegExp();const u=i&&i.missingInterpolationHandler||this.options.missingInterpolationHandler,d=i&&i.interpolation&&i.interpolation.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:_=>rl(_)},{regex:this.regexp,safeValue:_=>this.escapeValue?rl(this.escape(_)):rl(_)}].forEach(_=>{for(s=0;o=_.regex.exec(e);){const m=o[1].trim();if(a=c(m),a===void 0)if(typeof u=="function"){const h=u(e,o,i);a=se(h)?h:""}else if(i&&Object.prototype.hasOwnProperty.call(i,m))a="";else if(d){a=o[0];continue}else this.logger.warn(`missed to pass in variable ${m} for interpolating ${e}`),a="";else!se(a)&&!this.useRawValueToEscape&&(a=Ep(a));const f=_.safeValue(a);if(e=e.replace(o[0],f),d?(_.regex.lastIndex+=a.length,_.regex.lastIndex-=o[0].length):_.regex.lastIndex=0,s++,s>=this.maxReplaces)break}}),e}nest(e,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i,o,a;const s=(l,c)=>{const u=this.nestingOptionsSeparator;if(l.indexOf(u)<0)return l;const d=l.split(new RegExp(`${u}[ ]*{`));let p=`{${d[1]}`;l=d[0],p=this.interpolate(p,a);const _=p.match(/'/g),m=p.match(/"/g);(_&&_.length%2===0&&!m||m.length%2!==0)&&(p=p.replace(/'/g,'"'));try{a=JSON.parse(p),c&&(a={...c,...a})}catch(f){return this.logger.warn(`failed parsing options string in nesting for key ${l}`,f),`${l}${u}${p}`}return a.defaultValue&&a.defaultValue.indexOf(this.prefix)>-1&&delete a.defaultValue,l};for(;i=this.nestingRegexp.exec(e);){let l=[];a={...r},a=a.replace&&!se(a.replace)?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let c=!1;if(i[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(i[1])){const u=i[1].split(this.formatSeparator).map(d=>d.trim());i[1]=u.shift(),l=u,c=!0}if(o=n(s.call(this,i[1].trim(),a),a),o&&i[0]===e&&!se(o))return o;se(o)||(o=Ep(o)),o||(this.logger.warn(`missed to resolve ${i[1]} for nesting ${e}`),o=""),c&&(o=l.reduce((u,d)=>this.format(u,d,r.lng,{...r,interpolationkey:i[1].trim()}),o.trim())),e=e.replace(i[0],o),this.regexp.lastIndex=0}return e}}const xy=t=>{let e=t.toLowerCase().trim();const n={};if(t.indexOf("(")>-1){const r=t.split("(");e=r[0].toLowerCase().trim();const i=r[1].substring(0,r[1].length-1);e==="currency"&&i.indexOf(":")<0?n.currency||(n.currency=i.trim()):e==="relativetime"&&i.indexOf(":")<0?n.range||(n.range=i.trim()):i.split(";").forEach(a=>{if(a){const[s,...l]=a.split(":"),c=l.join(":").trim().replace(/^'+|'+$/g,""),u=s.trim();n[u]||(n[u]=c),c==="false"&&(n[u]=!1),c==="true"&&(n[u]=!0),isNaN(c)||(n[u]=parseInt(c,10))}})}return{formatName:e,formatOptions:n}},Dr=t=>{const e={};return(n,r,i)=>{let o=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(o={...o,[i.interpolationkey]:void 0});const a=r+JSON.stringify(o);let s=e[a];return s||(s=t(Ra(r),i),e[a]=s),s(n)}};class Dy{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Xt.create("formatter"),this.options=e,this.formats={number:Dr((n,r)=>i=>new Intl.NumberFormat(n,{...r}).format(i)),currency:Dr((n,r)=>i=>new Intl.NumberFormat(n,{...r,style:"currency"}).format(i)),datetime:Dr((n,r)=>i=>new Intl.DateTimeFormat(n,{...r}).format(i)),relativetime:Dr((n,r)=>i=>new Intl.RelativeTimeFormat(n,{...r}).format(i,r.range||"day")),list:Dr((n,r)=>i=>new Intl.ListFormat(n,{...r}).format(i))},this.init(e)}init(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=n.interpolation.formatSeparator||","}add(e,n){this.formats[e.toLowerCase().trim()]=n}addCached(e,n){this.formats[e.toLowerCase().trim()]=Dr(n)}format(e,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=n.split(this.formatSeparator);if(o.length>1&&o[0].indexOf("(")>1&&o[0].indexOf(")")<0&&o.find(s=>s.indexOf(")")>-1)){const s=o.findIndex(l=>l.indexOf(")")>-1);o[0]=[o[0],...o.splice(1,s)].join(this.formatSeparator)}return o.reduce((s,l)=>{const{formatName:c,formatOptions:u}=xy(l);if(this.formats[c]){let d=s;try{const p=i&&i.formatParams&&i.formatParams[i.interpolationkey]||{},_=p.locale||p.lng||i.locale||i.lng||r;d=this.formats[c](s,_,{...u,...i,...p})}catch(p){this.logger.warn(p)}return d}else this.logger.warn(`there was no format function for ${c}`);return s},e)}}const My=(t,e)=>{t.pending[e]!==void 0&&(delete t.pending[e],t.pendingCount--)};class wy extends Ss{constructor(e,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=e,this.store=n,this.services=r,this.languageUtils=r.languageUtils,this.options=i,this.logger=Xt.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=i.maxParallelReads||10,this.readingCalls=0,this.maxRetries=i.maxRetries>=0?i.maxRetries:5,this.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(r,i.backend,i)}queueLoad(e,n,r,i){const o={},a={},s={},l={};return e.forEach(c=>{let u=!0;n.forEach(d=>{const p=`${c}|${d}`;!r.reload&&this.store.hasResourceBundle(c,d)?this.state[p]=2:this.state[p]<0||(this.state[p]===1?a[p]===void 0&&(a[p]=!0):(this.state[p]=1,u=!1,a[p]===void 0&&(a[p]=!0),o[p]===void 0&&(o[p]=!0),l[d]===void 0&&(l[d]=!0)))}),u||(s[c]=!0)}),(Object.keys(o).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(o),pending:Object.keys(a),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(l)}}loaded(e,n,r){const i=e.split("|"),o=i[0],a=i[1];n&&this.emit("failedLoading",o,a,n),!n&&r&&this.store.addResourceBundle(o,a,r,void 0,void 0,{skipCopy:!0}),this.state[e]=n?-1:2,n&&r&&(this.state[e]=0);const s={};this.queue.forEach(l=>{my(l.loaded,[o],a),My(l,e),n&&l.errors.push(n),l.pendingCount===0&&!l.done&&(Object.keys(l.loaded).forEach(c=>{s[c]||(s[c]={});const u=l.loaded[c];u.length&&u.forEach(d=>{s[c][d]===void 0&&(s[c][d]=!0)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",s),this.queue=this.queue.filter(l=>!l.done)}read(e,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:n,fcName:r,tried:i,wait:o,callback:a});return}this.readingCalls++;const s=(c,u)=>{if(this.readingCalls--,this.waitingReads.length>0){const d=this.waitingReads.shift();this.read(d.lng,d.ns,d.fcName,d.tried,d.wait,d.callback)}if(c&&u&&i{this.read.call(this,e,n,r,i+1,o*2,a)},o);return}a(c,u)},l=this.backend[r].bind(this.backend);if(l.length===2){try{const c=l(e,n);c&&typeof c.then=="function"?c.then(u=>s(null,u)).catch(s):s(null,c)}catch(c){s(c)}return}return l(e,n,s)}prepareLoading(e,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();se(e)&&(e=this.languageUtils.toResolveHierarchy(e)),se(n)&&(n=[n]);const o=this.queueLoad(e,n,r,i);if(!o.toLoad.length)return o.pending.length||i(),null;o.toLoad.forEach(a=>{this.loadOne(a)})}load(e,n,r){this.prepareLoading(e,n,{},r)}reload(e,n,r){this.prepareLoading(e,n,{reload:!0},r)}loadOne(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const r=e.split("|"),i=r[0],o=r[1];this.read(i,o,"read",void 0,void 0,(a,s)=>{a&&this.logger.warn(`${n}loading namespace ${o} for language ${i} failed`,a),!a&&s&&this.logger.log(`${n}loaded namespace ${o} for language ${i}`,s),this.loaded(e,a,s)})}saveMissing(e,n,r,i,o){let a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${r}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(r==null||r==="")){if(this.backend&&this.backend.create){const l={...a,isUpdate:o},c=this.backend.create.bind(this.backend);if(c.length<6)try{let u;c.length===5?u=c(e,n,r,i,l):u=c(e,n,r,i),u&&typeof u.then=="function"?u.then(d=>s(null,d)).catch(s):s(null,u)}catch(u){s(u)}else c(e,n,r,i,s,l)}!e||!e[0]||this.store.addResource(e[0],n,r,i)}}}const Np=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:t=>{let e={};if(typeof t[1]=="object"&&(e=t[1]),se(t[1])&&(e.defaultValue=t[1]),se(t[2])&&(e.tDescription=t[2]),typeof t[2]=="object"||typeof t[3]=="object"){const n=t[3]||t[2];Object.keys(n).forEach(r=>{e[r]=n[r]})}return e},interpolation:{escapeValue:!0,format:t=>t,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),Ap=t=>(se(t.ns)&&(t.ns=[t.ns]),se(t.fallbackLng)&&(t.fallbackLng=[t.fallbackLng]),se(t.fallbackNS)&&(t.fallbackNS=[t.fallbackNS]),t.supportedLngs&&t.supportedLngs.indexOf("cimode")<0&&(t.supportedLngs=t.supportedLngs.concat(["cimode"])),t),ko=()=>{},Ly=t=>{Object.getOwnPropertyNames(Object.getPrototypeOf(t)).forEach(n=>{typeof t[n]=="function"&&(t[n]=t[n].bind(t))})};class eo extends Ss{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=Ap(e),this.services={},this.logger=Xt,this.modules={external:[]},Ly(this),n&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,n),this;setTimeout(()=>{this.init(e,n)},0)}}init(){var e=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof n=="function"&&(r=n,n={}),!n.defaultNS&&n.defaultNS!==!1&&n.ns&&(se(n.ns)?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const i=Np();this.options={...i,...this.options,...Ap(n)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...i.interpolation,...this.options.interpolation}),n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);const o=u=>u?typeof u=="function"?new u:u:null;if(!this.options.isClone){this.modules.logger?Xt.init(o(this.modules.logger),this.options):Xt.init(null,this.options);let u;this.modules.formatter?u=this.modules.formatter:typeof Intl<"u"&&(u=Dy);const d=new vp(this.options);this.store=new Cp(this.options.resources,this.options);const p=this.services;p.logger=Xt,p.resourceStore=this.store,p.languageUtils=d,p.pluralResolver=new Ay(d,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),u&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(p.formatter=o(u),p.formatter.init(p,this.options),this.options.interpolation.format=p.formatter.format.bind(p.formatter)),p.interpolator=new Iy(this.options),p.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},p.backendConnector=new wy(o(this.modules.backend),p.resourceStore,p,this.options),p.backendConnector.on("*",function(_){for(var m=arguments.length,f=new Array(m>1?m-1:0),h=1;h1?m-1:0),h=1;h{_.init&&_.init(this)})}if(this.format=this.options.interpolation.format,r||(r=ko),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const u=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);u.length>0&&u[0]!=="dev"&&(this.options.lng=u[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(u=>{this[u]=function(){return e.store[u](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(u=>{this[u]=function(){return e.store[u](...arguments),e}});const l=Ci(),c=()=>{const u=(d,p)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),l.resolve(p),r(d,p)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return u(null,this.t.bind(this));this.changeLanguage(this.options.lng,u)};return this.options.resources||!this.options.initImmediate?c():setTimeout(c,0),l}loadResources(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ko;const i=se(e)?e:this.language;if(typeof e=="function"&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(i&&i.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const o=[],a=s=>{if(!s||s==="cimode")return;this.services.languageUtils.toResolveHierarchy(s).forEach(c=>{c!=="cimode"&&o.indexOf(c)<0&&o.push(c)})};i?a(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(l=>a(l)),this.options.preload&&this.options.preload.forEach(s=>a(s)),this.services.backendConnector.load(o,this.options.ns,s=>{!s&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(s)})}else r(null)}reloadResources(e,n,r){const i=Ci();return typeof e=="function"&&(r=e,e=void 0),typeof n=="function"&&(r=n,n=void 0),e||(e=this.languages),n||(n=this.options.ns),r||(r=ko),this.services.backendConnector.reload(e,n,o=>{i.resolve(),r(o)}),i}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return e.type==="backend"&&(this.modules.backend=e),(e.type==="logger"||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type==="languageDetector"&&(this.modules.languageDetector=e),e.type==="i18nFormat"&&(this.modules.i18nFormat=e),e.type==="postProcessor"&&sh.addPostProcessor(e),e.type==="formatter"&&(this.modules.formatter=e),e.type==="3rdParty"&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&!(["cimode","dev"].indexOf(e)>-1))for(let n=0;n-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}changeLanguage(e,n){var r=this;this.isLanguageChangingTo=e;const i=Ci();this.emit("languageChanging",e);const o=l=>{this.language=l,this.languages=this.services.languageUtils.toResolveHierarchy(l),this.resolvedLanguage=void 0,this.setResolvedLanguage(l)},a=(l,c)=>{c?(o(c),this.translator.changeLanguage(c),this.isLanguageChangingTo=void 0,this.emit("languageChanged",c),this.logger.log("languageChanged",c)):this.isLanguageChangingTo=void 0,i.resolve(function(){return r.t(...arguments)}),n&&n(l,function(){return r.t(...arguments)})},s=l=>{!e&&!l&&this.services.languageDetector&&(l=[]);const c=se(l)?l:this.services.languageUtils.getBestMatchFromCodes(l);c&&(this.language||o(c),this.translator.language||this.translator.changeLanguage(c),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(c)),this.loadResources(c,u=>{a(u,c)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?s(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(s):this.services.languageDetector.detect(s):s(e),i}getFixedT(e,n,r){var i=this;const o=function(a,s){let l;if(typeof s!="object"){for(var c=arguments.length,u=new Array(c>2?c-2:0),d=2;d`${l.keyPrefix}${p}${m}`):_=l.keyPrefix?`${l.keyPrefix}${p}${a}`:a,i.t(_,l)};return se(e)?o.lng=e:o.lngs=e,o.ns=n,o.keyPrefix=r,o}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=n.lng||this.resolvedLanguage||this.languages[0],i=this.options?this.options.fallbackLng:!1,o=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const a=(s,l)=>{const c=this.services.backendConnector.state[`${s}|${l}`];return c===-1||c===0||c===2};if(n.precheck){const s=n.precheck(this,a);if(s!==void 0)return s}return!!(this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(r,e)&&(!i||a(o,e)))}loadNamespaces(e,n){const r=Ci();return this.options.ns?(se(e)&&(e=[e]),e.forEach(i=>{this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}),this.loadResources(i=>{r.resolve(),n&&n(i)}),r):(n&&n(),Promise.resolve())}loadLanguages(e,n){const r=Ci();se(e)&&(e=[e]);const i=this.options.preload||[],o=e.filter(a=>i.indexOf(a)<0&&this.services.languageUtils.isSupportedCode(a));return o.length?(this.options.preload=i.concat(o),this.loadResources(a=>{r.resolve(),n&&n(a)}),r):(n&&n(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],r=this.services&&this.services.languageUtils||new vp(Np());return n.indexOf(r.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new eo(e,n)}cloneInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ko;const r=e.forkResourceStore;r&&delete e.forkResourceStore;const i={...this.options,...e,isClone:!0},o=new eo(i);return(e.debug!==void 0||e.prefix!==void 0)&&(o.logger=o.logger.clone(e)),["store","services","language"].forEach(s=>{o[s]=this[s]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},r&&(o.store=new Cp(this.store.data,i),o.services.resourceStore=o.store),o.translator=new Na(o.services,i),o.translator.on("*",function(s){for(var l=arguments.length,c=new Array(l>1?l-1:0),u=1;uce(e)),this.dropDivHeight="265px",this.dropDivWith="fit-content"}onDropdownActive(e,n){return n==0?e.isActive("paragraph"):e.isActive("heading",{level:n})}onDropdownItemClick(e){e==0?this.editor.chain().setParagraph().run():this.editor.chain().setHeading({level:e}).run()}onDropdownItemRender(e){return e==0?this.menuData[e]:`${this.menuData[e]}`}onMenuTextRender(e){return this.menuData[e].replace(" ","")}};const Fy=[{name:"宋体",value:"SimSun"},{name:"仿宋",value:"FangSong"},{name:"黑体",value:"SimHei"},{name:"楷体",value:"KaiTi"},{name:"微软雅黑",value:"Microsoft YaHei"},{name:"方正仿宋简体_GBK",value:"FangSong_GB2312"},{name:"Arial",value:"Arial"}];let By=class extends fi{constructor(){super(),this.width="72px",this.menuTextWidth="60px",this.dropDivWith="150px"}onCreate(e,n){var r;super.onCreate(e,n),this.menuData=((r=n.fontFamily)==null?void 0:r.values)||Fy,this.menuData=[{name:ce("default-font-family"),value:""}].concat(this.menuData)}onDropdownActive(e,n){return e.isActive("textStyle",{fontFamily:this.menuData[n].value})}onDropdownItemClick(e){const n=this.menuData[e].value;n?this.editor.chain().setFontFamily(n).run():this.editor.chain().unsetFontFamily().run()}onDropdownItemRender(e){return this.menuData[e].name}onMenuTextRender(e){return this.menuData[e].name}};const Uy=[{name:"9",value:9},{name:"10",value:10},{name:"11",value:11},{name:"12",value:12},{name:"14",value:14},{name:"18",value:18},{name:"20",value:20},{name:"22",value:22},{name:"24",value:24},{name:"26",value:26},{name:"28",value:28},{name:"30",value:30},{name:"36",value:36},{name:"42",value:42},{name:"48",value:48},{name:"56",value:56},{name:"72",value:72}];class Hy extends fi{constructor(){super();L(this,"defaultValue",14)}onCreate(n,r){var i,o;super.onCreate(n,r),this.menuData=((i=r.fontSize)==null?void 0:i.values)||Uy,this.defaultValue=((o=r.fontSize)==null?void 0:o.defaultValue)||this.defaultValue;for(let a=0;a
- `,this.registerClickListener()}onClick(e){e.toggleBold()}onActive(e){return e.isActive("bold")}},Ly=class extends me{constructor(){super(),this.template=` + `,this.registerClickListener()}onClick(e){e.toggleBold()}onActive(e){return e.isActive("bold")}},Vy=class extends me{constructor(){super(),this.template=`
- `,this.registerClickListener()}onClick(e){e.toggleItalic()}onActive(e){return e.isActive("italic")}},ky=class extends me{constructor(){super(),this.template=` + `,this.registerClickListener()}onClick(e){e.toggleItalic()}onActive(e){return e.isActive("italic")}},Yy=class extends me{constructor(){super(),this.template=`
- `,this.registerClickListener()}onClick(e){e.toggleUnderline()}onActive(e){return e.isActive("underline")}},Py=class extends me{constructor(){super(),this.template=` + `,this.registerClickListener()}onClick(e){e.toggleUnderline()}onActive(e){return e.isActive("underline")}},zy=class extends me{constructor(){super(),this.template=`
- `,this.registerClickListener()}onClick(e){e.toggleStrike()}onActive(e){return e.isActive("strike")}},Fy=class extends me{constructor(){super(),this.template=` + `,this.registerClickListener()}onClick(e){e.toggleStrike()}onActive(e){return e.isActive("strike")}},$y=class extends me{constructor(){super(),this.template=`
- `,this.registerClickListener()}onClick(e){e.toggleSubscript()}onActive(e){return e.isActive("subscript")}},By=class extends me{constructor(){super(),this.template=` + `,this.registerClickListener()}onClick(e){e.toggleSubscript()}onActive(e){return e.isActive("subscript")}},qy=class extends me{constructor(){super(),this.template=`
- `,this.registerClickListener()}onClick(e){e.toggleSuperscript()}onActive(e){return e.isActive("superscript")}};const Uy=["ffffff","000000","e9d989","2972f4","609eec","de3c36","a1d533","7334c5","27b5d9","ff8926","f2f2f2","7f7f7f","ddd9c3","c6d9f0","dbe5f1","f2dcdb","ebf1dd","e5e0ec","dbeef3","fdeada","d8d8d8","595959","c4bd97","8db3e2","b8cce4","e5b9b7","d7e3bc","ccc1d9","b7dde8","fbd5b5","bfbfbf","3f3f3f","938953","548dd4","95b3d7","d99694","c3d69b","b2a2c7","92cddc","fac08f","a5a5a5","262626","494429","17365d","366092","953734","76923c","5f497a","31859b","e36c09","6e6e6e","0c0c0c","1d1b10","0f243e","244061","632423","4f6128","3f3151","205867","974806"],Hy=["c00000","ff0000","ffc000","ffff00","92d050","00b050","00b0f0","0070c0","002060","7030a0"];class ig extends me{constructor(){super();L(this,"historyColorsKey","historyColors");L(this,"historyColors",[]);L(this,"iconSvg");L(this,"menuColorEL");L(this,"onColorItemClick");L(this,"onDefaultColorClick")}connectedCallback(){this.template=` + `,this.registerClickListener()}onClick(e){e.toggleSuperscript()}onActive(e){return e.isActive("superscript")}};const Wy=["ffffff","000000","e9d989","2972f4","609eec","de3c36","a1d533","7334c5","27b5d9","ff8926","f2f2f2","7f7f7f","ddd9c3","c6d9f0","dbe5f1","f2dcdb","ebf1dd","e5e0ec","dbeef3","fdeada","d8d8d8","595959","c4bd97","8db3e2","b8cce4","e5b9b7","d7e3bc","ccc1d9","b7dde8","fbd5b5","bfbfbf","3f3f3f","938953","548dd4","95b3d7","d99694","c3d69b","b2a2c7","92cddc","fac08f","a5a5a5","262626","494429","17365d","366092","953734","76923c","5f497a","31859b","e36c09","6e6e6e","0c0c0c","1d1b10","0f243e","244061","632423","4f6128","3f3151","205867","974806"],Ky=["c00000","ff0000","ffc000","ffff00","92d050","00b050","00b0f0","0070c0","002060","7030a0"];class lh extends me{constructor(){super();L(this,"historyColorsKey","historyColors");L(this,"historyColors",[]);L(this,"iconSvg");L(this,"menuColorEL");L(this,"onColorItemClick");L(this,"onDefaultColorClick")}connectedCallback(){this.template=`
${this.iconSvg}
@@ -170,11 +170,11 @@ img.ProseMirror-separator {
${ce("default")}
- ${Uy.map((r,i)=>`
`).join(" ")} + ${Wy.map((r,i)=>`
`).join(" ")}
${ce("standardColors")}
- ${Hy.map(r=>`
`).join(" ")} + ${Ky.map(r=>`
`).join(" ")}
${ce("historyColors")}
@@ -183,23 +183,23 @@ img.ProseMirror-separator {
`,n.querySelector("#defaultColor").addEventListener("click",()=>{this.onDefaultColorClick()}),n.querySelectorAll(".color-item").forEach(r=>{r.addEventListener("click",()=>{this.invokeColorItemClick(n,r)}),r.addEventListener("mouseover",()=>{r.style.border="solid 1px #999"}),r.addEventListener("mouseout",()=>{let i=r.getAttribute("data-color");i==="#ffffff"&&(i="#efefef"),r.style.border=`solid 1px ${i}`})}),n.querySelector("#history-colors").addEventListener("click",r=>{const i=r.target.closest(".history-color-item");i&&this.invokeColorItemClick(n,i)}),n}invokeColorItemClick(n,r){const i=r.getAttribute("data-color");this.historyColors=this.historyColors.filter(o=>o!==i),this.historyColors.unshift(i),this.historyColors.length>7&&(this.historyColors=this.historyColors.slice(0,7)),n.querySelector("#history-colors").innerHTML=` ${this.historyColors.map(o=>`
`).join(" ")} - `,localStorage.setItem(this.historyColorsKey,JSON.stringify(this.historyColors)),this.menuColorEL.style.background=i,this.onColorItemClick(i)}}let Gy=class extends ig{constructor(){super(),this.historyColorsKey="highlightHistoryColors",this.iconSvg='',this.onDefaultColorClick=()=>{var e;(e=this.editor)==null||e.chain().focus().unsetHighlight().run()},this.onColorItemClick=e=>{var n;(n=this.editor)==null||n.chain().focus().setHighlight({color:e}).run()}}onActive(e){return e.isActive("highlight")}};class Vy extends ig{constructor(){super(),this.historyColorsKey="fontHistoryColors",this.iconSvg='',this.onDefaultColorClick=()=>{var e;(e=this.editor)==null||e.chain().focus().unsetColor().run()},this.onColorItemClick=e=>{var n;(n=this.editor)==null||n.chain().focus().setColor(e).run()}}onActive(e){return e.isActive("textStyle")}}class Yy extends me{constructor(){super(),this.template='
'}}let zy=class extends me{constructor(){super(),this.template=` + `,localStorage.setItem(this.historyColorsKey,JSON.stringify(this.historyColors)),this.menuColorEL.style.background=i,this.onColorItemClick(i)}}let Qy=class extends lh{constructor(){super(),this.historyColorsKey="highlightHistoryColors",this.iconSvg='',this.onDefaultColorClick=()=>{var e;(e=this.editor)==null||e.chain().focus().unsetHighlight().run()},this.onColorItemClick=e=>{var n;(n=this.editor)==null||n.chain().focus().setHighlight({color:e}).run()}}onActive(e){return e.isActive("highlight")}};class Zy extends lh{constructor(){super(),this.historyColorsKey="fontHistoryColors",this.iconSvg='',this.onDefaultColorClick=()=>{var e;(e=this.editor)==null||e.chain().focus().unsetColor().run()},this.onColorItemClick=e=>{var n;(n=this.editor)==null||n.chain().focus().setColor(e).run()}}onActive(e){return e.isActive("textStyle")}}class Xy extends me{constructor(){super(),this.template='
'}}let jy=class extends me{constructor(){super(),this.template=`
- `,this.registerClickListener()}onClick(e){e.toggleBulletList()}onActive(e){return e.isActive("bulletList")}},$y=class extends me{constructor(){super(),this.template=` + `,this.registerClickListener()}onClick(e){e.toggleBulletList()}onActive(e){return e.isActive("bulletList")}},Jy=class extends me{constructor(){super(),this.template=`
- `,this.registerClickListener()}onClick(e){e.toggleOrderedList()}onActive(e){return e.isActive("orderedList")}};class qy extends me{constructor(){super(),this.template=` + `,this.registerClickListener()}onClick(e){e.toggleOrderedList()}onActive(e){return e.isActive("orderedList")}};class ev extends me{constructor(){super(),this.template=`
- `,this.registerClickListener()}onClick(e){e.outdent()}}class Wy extends me{constructor(){super(),this.template=` + `,this.registerClickListener()}onClick(e){e.outdent()}}class tv extends me{constructor(){super(),this.template=`
- `,this.registerClickListener()}onClick(e){e.indent()}}const Ky=[{icon:'',title:"align-left",value:"left"},{icon:'',title:"align-center",value:"center"},{icon:'',title:"align-right",value:"right"},{icon:'',title:"align-justify",value:"justify"}];class Qy extends mi{constructor(){super(),this.menuData=Ky.map(e=>({...e,title:ce(e.title)})),this.showItemsTip=!0}onDropdownActive(e,n){return e.isActive({textAlign:this.menuData[n].value})}onDropdownItemClick(e){this.editor.chain().focus().setTextAlign(this.menuData[e].value).run()}onDropdownItemRender(e){return this.menuData[e].icon}onMenuTextRender(e){return this.menuData[e].icon}}class jc{constructor(){L(this,"tippyInstance");L(this,"content");L(this,"onConfirmClickFunc");L(this,"onShowFunc")}setContent(e){this.content=e}onConfirmClick(e){this.onConfirmClickFunc=e}onShow(e){this.onShowFunc=e}setTrigger(e,n="bottom",r="click"){this.tippyInstance=we(e,{content:this.createContentElement(),appendTo:e.closest(".aie-container"),placement:n,trigger:r,interactive:!0,arrow:!1,onShow:i=>{this.onShowFunc&&this.onShowFunc(i)}})}show(){var e;(e=this.tippyInstance)==null||e.show()}hide(){var e;(e=this.tippyInstance)==null||e.hide()}createContentElement(){const e=` + `,this.registerClickListener()}onClick(e){e.indent()}}const nv=[{icon:'',title:"align-left",value:"left"},{icon:'',title:"align-center",value:"center"},{icon:'',title:"align-right",value:"right"},{icon:'',title:"align-justify",value:"justify"}];class rv extends fi{constructor(){super(),this.menuData=nv.map(e=>({...e,title:ce(e.title)})),this.showItemsTip=!0}onDropdownActive(e,n){return e.isActive({textAlign:this.menuData[n].value})}onDropdownItemClick(e){this.editor.chain().focus().setTextAlign(this.menuData[e].value).run()}onDropdownItemRender(e){return this.menuData[e].icon}onMenuTextRender(e){return this.menuData[e].icon}}class tu{constructor(){L(this,"tippyInstance");L(this,"content");L(this,"onConfirmClickFunc");L(this,"onShowFunc")}setContent(e){this.content=e}onConfirmClick(e){this.onConfirmClickFunc=e}onShow(e){this.onShowFunc=e}setTrigger(e,n="bottom",r="click"){this.tippyInstance=we(e,{content:this.createContentElement(),appendTo:e.closest(".aie-container"),placement:n,trigger:r,interactive:!0,arrow:!1,onShow:i=>{this.onShowFunc&&this.onShowFunc(i)}})}show(){var e;(e=this.tippyInstance)==null||e.show()}hide(){var e;(e=this.tippyInstance)==null||e.hide()}createContentElement(){const e=`
@@ -209,11 +209,11 @@ img.ProseMirror-separator {
- `,n=document.createElement("div");return n.innerHTML=e,n.querySelector(".aie-popover-header-close").addEventListener("click",()=>{this.tippyInstance.hide()}),n.querySelector(".aie-popover-footer-confirm").addEventListener("click",()=>{this.onConfirmClickFunc&&this.onConfirmClickFunc(this.tippyInstance),this.tippyInstance.hide()}),n}}let Zy=class extends me{constructor(){super(),this.template=` + `,n=document.createElement("div");return n.innerHTML=e,n.querySelector(".aie-popover-header-close").addEventListener("click",()=>{this.tippyInstance.hide()}),n.querySelector(".aie-popover-footer-confirm").addEventListener("click",()=>{this.onConfirmClickFunc&&this.onConfirmClickFunc(this.tippyInstance),this.tippyInstance.hide()}),n}}let iv=class extends me{constructor(){super(),this.template=`
- `}connectedCallback(){super.connectedCallback();const e=new jc;e.setContent(` + `}connectedCallback(){super.connectedCallback();const e=new tu;e.setContent(`
${ce("link-address")}
@@ -226,53 +226,53 @@ img.ProseMirror-separator {
- `),e.onConfirmClick(n=>{var o,a;const r=n.popper.querySelector("#href").value;if(r.trim()===""){(o=this.editor)==null||o.chain().focus().extendMarkRange("link").unsetLink().run();return}let i=n.popper.querySelector("#target").value;i.trim()===""&&(i=null),(a=this.editor)==null||a.chain().focus().extendMarkRange("link").setLink({href:r,target:i,rel:null}).run()}),e.onShow(n=>{var i;const r=(i=this.editor)==null?void 0:i.getAttributes("link");r&&r.href?n.popper.querySelector("#href").value=r.href:n.popper.querySelector("#href").value="",r&&r.target?n.popper.querySelector("#target").value=r.target:n.popper.querySelector("#target").value=""}),e.setTrigger(this.querySelector("div"),"bottom")}onActive(e){return e.isActive("link")}};class Xy extends me{constructor(){super(),this.template=` + `),e.onConfirmClick(n=>{var o,a;const r=n.popper.querySelector("#href").value;if(r.trim()===""){(o=this.editor)==null||o.chain().focus().extendMarkRange("link").unsetLink().run();return}let i=n.popper.querySelector("#target").value;i.trim()===""&&(i=null),(a=this.editor)==null||a.chain().focus().extendMarkRange("link").setLink({href:r,target:i,rel:null}).run()}),e.onShow(n=>{var i;const r=(i=this.editor)==null?void 0:i.getAttributes("link");r&&r.href?n.popper.querySelector("#href").value=r.href:n.popper.querySelector("#href").value="",r&&r.target?n.popper.querySelector("#target").value=r.target:n.popper.querySelector("#target").value=""}),e.setTrigger(this.querySelector("div"),"bottom")}onActive(e){return e.isActive("link")}};class ov extends me{constructor(){super(),this.template=`
- `}connectedCallback(){super.connectedCallback();const e=new jc;e.setContent(` + `}connectedCallback(){super.connectedCallback();const e=new tu;e.setContent(`
- `),e.onConfirmClick(n=>{var i;const r=n.popper.querySelector("#source-code");(i=this.editor)==null||i.commands.setContent(r.value)}),e.onShow(n=>{var r;n.popper.querySelector("#source-code").value=((r=this.editor)==null?void 0:r.getHTML())||""}),e.setTrigger(this.querySelector("div"),"bottom")}}class jy extends me{constructor(){super(),this.template=` + `),e.onConfirmClick(n=>{var i;const r=n.popper.querySelector("#source-code");(i=this.editor)==null||i.commands.setContent(r.value)}),e.onShow(n=>{var r;n.popper.querySelector("#source-code").value=((r=this.editor)==null?void 0:r.getHTML())||""}),e.setTrigger(this.querySelector("div"),"bottom")}}class av extends me{constructor(){super(),this.template=`
- `,this.registerClickListener()}onClick(e){e.toggleTaskList()}onActive(e){return e.isActive("taskList")}}const Jy=["1.0","1.25","1.5","2.0","2.5","3.0"];class ev extends mi{constructor(){super(),this.refreshMenuText=!1,this.dropDivWith="70px",this.width="36px",this.menuTextWidth="20px"}onCreate(e,n){var r;super.onCreate(e,n),this.menuData=((r=n.lineHeight)==null?void 0:r.values)||Jy}onDropdownActive(e,n){let r=null;return e.isActive("paragraph")?r=e.getAttributes("paragraph").lineHeight:e.isActive("heading")&&(r=e.getAttributes("heading").lineHeight),!!(r&&r===`${(Number(this.menuData[n])*100).toFixed(0)}%`)}onDropdownItemClick(e){const n=`${(Number(this.menuData[e])*100).toFixed(0)}%`;this.editor.chain().setLineHeight(n).run()}onDropdownItemRender(e){return this.menuData[e]}onMenuTextRender(e){return` + `,this.registerClickListener()}onClick(e){e.toggleTaskList()}onActive(e){return e.isActive("taskList")}}const sv=["1.0","1.25","1.5","2.0","2.5","3.0"];class lv extends fi{constructor(){super(),this.refreshMenuText=!1,this.dropDivWith="70px",this.width="36px",this.menuTextWidth="20px"}onCreate(e,n){var r;super.onCreate(e,n),this.menuData=((r=n.lineHeight)==null?void 0:r.values)||sv}onDropdownActive(e,n){let r=null;return e.isActive("paragraph")?r=e.getAttributes("paragraph").lineHeight:e.isActive("heading")&&(r=e.getAttributes("heading").lineHeight),!!(r&&r===`${(Number(this.menuData[n])*100).toFixed(0)}%`)}onDropdownItemClick(e){const n=`${(Number(this.menuData[e])*100).toFixed(0)}%`;this.editor.chain().setLineHeight(n).run()}onDropdownItemRender(e){return this.menuData[e]}onMenuTextRender(e){return`
- `}}class tv extends me{constructor(){super(),this.template=` + `}}class cv extends me{constructor(){super(),this.template=`
- `,this.registerClickListener()}onClick(e){e.toggleBlockquote()}onActive(e){return e.isActive("blockquote")}}let nv=class extends me{constructor(){super();L(this,"fileInput");this.template=` + `,this.registerClickListener()}onClick(e){e.toggleBlockquote()}onActive(e){return e.isActive("blockquote")}}let uv=class extends me{constructor(){super();L(this,"fileInput");this.template=`
- `,this.registerClickListener()}connectedCallback(){var n,r;super.connectedCallback(),(r=(n=this.options)==null?void 0:n.image)!=null&&r.customMenuInvoke?this.querySelector("input").remove():(this.fileInput=this.querySelector("input"),this.fileInput.addEventListener("change",()=>{var o,a;const i=(o=this.fileInput)==null?void 0:o.files;if(i&&i.length>0)for(let s of i)(a=this.editor)==null||a.commands.uploadImage(s);this.fileInput.value=""}))}onClick(n){var r,i,o;(i=(r=this.options)==null?void 0:r.image)!=null&&i.customMenuInvoke?this.options.image.customMenuInvoke(this.editor.aiEditor):(o=this.fileInput)==null||o.click()}};class rv extends me{constructor(){super();L(this,"fileInput");this.template=` + `,this.registerClickListener()}connectedCallback(){var n,r;super.connectedCallback(),(r=(n=this.options)==null?void 0:n.image)!=null&&r.customMenuInvoke?this.querySelector("input").remove():(this.fileInput=this.querySelector("input"),this.fileInput.addEventListener("change",()=>{var o,a;const i=(o=this.fileInput)==null?void 0:o.files;if(i&&i.length>0)for(let s of i)(a=this.editor)==null||a.commands.uploadImage(s);this.fileInput.value=""}))}onClick(n){var r,i,o;(i=(r=this.options)==null?void 0:r.image)!=null&&i.customMenuInvoke?this.options.image.customMenuInvoke(this.editor.aiEditor):(o=this.fileInput)==null||o.click()}};class dv extends me{constructor(){super();L(this,"fileInput");this.template=`
- `,this.registerClickListener()}connectedCallback(){var n,r;super.connectedCallback(),(r=(n=this.options)==null?void 0:n.video)!=null&&r.customMenuInvoke?this.querySelector("input").remove():(this.fileInput=this.querySelector("input"),this.fileInput.addEventListener("change",()=>{var o,a;const i=(o=this.fileInput)==null?void 0:o.files;if(i&&i.length>0)for(let s of i)(a=this.editor)==null||a.commands.uploadVideo(s);this.fileInput.value=""}))}onClick(n){var r,i,o;(i=(r=this.options)==null?void 0:r.video)!=null&&i.customMenuInvoke?this.options.video.customMenuInvoke(this.editor.aiEditor):(o=this.fileInput)==null||o.click()}}let iv=class extends me{constructor(){super(),this.template=` + `,this.registerClickListener()}connectedCallback(){var n,r;super.connectedCallback(),(r=(n=this.options)==null?void 0:n.video)!=null&&r.customMenuInvoke?this.querySelector("input").remove():(this.fileInput=this.querySelector("input"),this.fileInput.addEventListener("change",()=>{var o,a;const i=(o=this.fileInput)==null?void 0:o.files;if(i&&i.length>0)for(let s of i)(a=this.editor)==null||a.commands.uploadVideo(s);this.fileInput.value=""}))}onClick(n){var r,i,o;(i=(r=this.options)==null?void 0:r.video)!=null&&i.customMenuInvoke?this.options.video.customMenuInvoke(this.editor.aiEditor):(o=this.fileInput)==null||o.click()}}let pv=class extends me{constructor(){super(),this.template=`
- `,this.registerClickListener()}onClick(e){e.toggleCode()}onActive(e){return e.isActive("code")}},ov=class extends me{constructor(){super(),this.template=` + `,this.registerClickListener()}onClick(e){e.toggleCode()}onActive(e){return e.isActive("code")}},_v=class extends me{constructor(){super(),this.template=`
- `,this.registerClickListener()}onClick(e){e.toggleCodeBlock()}onActive(e){return e.isActive("codeBlock")}};class av extends me{constructor(){super(),this.template=` + `,this.registerClickListener()}onClick(e){e.toggleCodeBlock()}onActive(e){return e.isActive("codeBlock")}};class mv extends me{constructor(){super(),this.template=`
- `,this.registerClickListener()}onClick(e){e.unsetAllMarks()}}class sv extends me{constructor(){super(),this.template=` + `,this.registerClickListener()}onClick(e){e.unsetAllMarks()}}class fv extends me{constructor(){super(),this.template=`
- `,this.registerClickListener()}onClick(e){e.setHorizontalRule()}}let lv=class extends me{constructor(){super();L(this,"instance");this.template=` + `,this.registerClickListener()}onClick(e){e.setHorizontalRule()}}let hv=class extends me{constructor(){super();L(this,"instance");this.template=`
@@ -283,43 +283,43 @@ img.ProseMirror-separator { ${[...Array(8).keys()].map((i,o)=>[...Array(10).keys()].map((a,s)=>`
`).join("")).join("")}
- `;const r=n.querySelector("#table-cells");return r.addEventListener("click",i=>{var a,s;const o=i.target.closest(".table-cell");if(o){let l=o.getAttribute("data-i"),c=o.getAttribute("data-j");(a=this.editor)==null||a.commands.insertTable({rows:Number(l)+1,cols:Number(c)+1,withHeaderRow:!0}),(s=this.instance)==null||s.hide()}}),r.addEventListener("mouseover",i=>{const o=i.target.closest(".table-cell");if(o){let a=Number(o.getAttribute("data-i")),s=Number(o.getAttribute("data-j"));const l=r.querySelectorAll("div"),c=n.querySelector("#columnRows");c.textContent=`${a+1} ${ce("row")} x ${s+1} ${ce("column")}`,l.forEach(u=>{let d=Number(u.getAttribute("data-i")),p=Number(u.getAttribute("data-j"));d<=a&&p<=s?u.classList.add("active"):u.classList.remove("active")})}}),r.addEventListener("mouseleave",()=>{r.querySelectorAll("div").forEach(a=>{a.classList.remove("active")});const o=n.querySelector("#columnRows");o.textContent=""}),n}};class cv extends me{constructor(){super(),this.template=` + `;const r=n.querySelector("#table-cells");return r.addEventListener("click",i=>{var a,s;const o=i.target.closest(".table-cell");if(o){let l=o.getAttribute("data-i"),c=o.getAttribute("data-j");(a=this.editor)==null||a.commands.insertTable({rows:Number(l)+1,cols:Number(c)+1,withHeaderRow:!0}),(s=this.instance)==null||s.hide()}}),r.addEventListener("mouseover",i=>{const o=i.target.closest(".table-cell");if(o){let a=Number(o.getAttribute("data-i")),s=Number(o.getAttribute("data-j"));const l=r.querySelectorAll("div"),c=n.querySelector("#columnRows");c.textContent=`${a+1} ${ce("row")} x ${s+1} ${ce("column")}`,l.forEach(u=>{let d=Number(u.getAttribute("data-i")),p=Number(u.getAttribute("data-j"));d<=a&&p<=s?u.classList.add("active"):u.classList.remove("active")})}}),r.addEventListener("mouseleave",()=>{r.querySelectorAll("div").forEach(a=>{a.classList.remove("active")});const o=n.querySelector("#columnRows");o.textContent=""}),n}};class gv extends me{constructor(){super(),this.template=`
- `,this.registerClickListener()}onClick(e){e.setHardBreak()}}class uv extends me{constructor(){super();L(this,"fileInput");this.template=` + `,this.registerClickListener()}onClick(e){e.setHardBreak()}}class Ev extends me{constructor(){super();L(this,"fileInput");this.template=`
- `,this.registerClickListener()}connectedCallback(){var n,r;super.connectedCallback(),(r=(n=this.options)==null?void 0:n.attachment)!=null&&r.customMenuInvoke?this.querySelector("input").remove():(this.fileInput=this.querySelector("input"),this.fileInput.addEventListener("change",()=>{var o,a;const i=(o=this.fileInput)==null?void 0:o.files;if(i&&i.length>0)for(let s of i)(a=this.editor)==null||a.commands.uploadAttachment(s);this.fileInput.value=""}))}onClick(n){var r,i,o;(i=(r=this.options)==null?void 0:r.attachment)!=null&&i.customMenuInvoke?this.options.attachment.customMenuInvoke(this.editor.aiEditor):(o=this.fileInput)==null||o.click()}}class dv extends me{constructor(){super();L(this,"fullscreenSvg",'');L(this,"fullscreenExitSvg",'');L(this,"isFullscreen",!1);this.template=` + `,this.registerClickListener()}connectedCallback(){var n,r;super.connectedCallback(),(r=(n=this.options)==null?void 0:n.attachment)!=null&&r.customMenuInvoke?this.querySelector("input").remove():(this.fileInput=this.querySelector("input"),this.fileInput.addEventListener("change",()=>{var o,a;const i=(o=this.fileInput)==null?void 0:o.files;if(i&&i.length>0)for(let s of i)(a=this.editor)==null||a.commands.uploadAttachment(s);this.fileInput.value=""}))}onClick(n){var r,i,o;(i=(r=this.options)==null?void 0:r.attachment)!=null&&i.customMenuInvoke?this.options.attachment.customMenuInvoke(this.editor.aiEditor):(o=this.fileInput)==null||o.click()}}class Sv extends me{constructor(){super();L(this,"fullscreenSvg",'');L(this,"fullscreenExitSvg",'');L(this,"isFullscreen",!1);this.template=`
${this.fullscreenSvg}
- `,this.registerClickListener()}onClick(n){const r=this.closest(".aie-container");this.isFullscreen?(r.style.height="100%",r.style.width="",r.style.background="",r.style.position="",r.style.top="",r.style.left="",r.style.zIndex=""):(r.style.height="calc(100vh - 2px)",r.style.width="calc(100% - 2px)",r.style.position="fixed",r.style.top="0",r.style.left="0",r.style.zIndex="9999"),this.isFullscreen=!this.isFullscreen,this.querySelector("div").innerHTML=this.isFullscreen?this.fullscreenExitSvg:this.fullscreenSvg}}class pv extends me{constructor(){super(),this.template=` + `,this.registerClickListener()}onClick(n){const r=this.closest(".aie-container");this.isFullscreen?(r.style.height="100%",r.style.width="",r.style.background="",r.style.position="",r.style.top="",r.style.left="",r.style.zIndex=""):(r.style.height="calc(100vh - 2px)",r.style.width="calc(100% - 2px)",r.style.position="fixed",r.style.top="0",r.style.left="0",r.style.zIndex="9999"),this.isFullscreen=!this.isFullscreen,this.querySelector("div").innerHTML=this.isFullscreen?this.fullscreenExitSvg:this.fullscreenSvg}}class bv extends me{constructor(){super(),this.template=`
- `,this.registerClickListener()}onClick(e){let n=this.closest(".aie-container").querySelector(".aie-content").innerHTML;n=`
${n}
`;const i=Array.from(document.querySelectorAll("style, link")).map(l=>l.outerHTML).join("")+n,o=document.createElement("iframe");o.id="aie-print-iframe",o.setAttribute("style","position: absolute; width: 0; height: 0; top: -10px; left: -10px;"),document.body.appendChild(o);const a=o.contentWindow,s=o.contentDocument||o.contentWindow&&o.contentWindow.document;s&&(s.open(),s.write(i),s.close()),a&&(o.onload=function(){try{setTimeout(()=>{a.focus();try{a.document.execCommand("print",!1)||a.print()}catch{a.print()}a.close()},10)}catch(l){console.error(l)}setTimeout(function(){document.body.removeChild(o)},100)})}}const Op=["😀","😃","😄","😁","😆","😅","🤣","😂","🙂","🙃","😉","😊","😇","🥰","😍","🤩","😘","😗","😚","😙","🥲","😋","😛","😜","🤪","😝","🤑","🤗","🤭","🤫","🤔","🤐","🤨","😐","😑","😶","😶‍🌫","😏","😒","🙄","😬","😮‍💨","🤥","😌","😔","😪","🤤","😴","😷","🤒","🤕","🤢","🤮","🤧","🥵","🥶","🥴","😵","😵‍💫","🤯","🤠","🥳","🥸","😎","🤓","🧐","😕","😟","🙁","😮","😲","😳","🥺","😦","😧","😨","😰","😥","😢","😭","😱","😖","😣","😞","😓","😩","😫","🥱","😤","😡","😠","🤬","😈","👿","💀","☠️","💩","🤡","👹","👺","👻","👽","👾","🤖","😺","😸","😹","😻","😼","😽","🙀","😿","😾","👍","👎","🙏","🙈","🙉","🙊","💌","💘","💝","💖","💗","💓","💞","💕","💟","❣️","💔","💋","💯","💢","💥","💫","💦","💨","💤"];class _v extends me{constructor(){super();L(this,"emojis",Op);L(this,"tippy");this.template=` + `,this.registerClickListener()}onClick(e){let n=this.closest(".aie-container").querySelector(".aie-content").innerHTML;n=`
${n}
`;const i=Array.from(document.querySelectorAll("style, link")).map(l=>l.outerHTML).join("")+n,o=document.createElement("iframe");o.id="aie-print-iframe",o.setAttribute("style","position: absolute; width: 0; height: 0; top: -10px; left: -10px;"),document.body.appendChild(o);const a=o.contentWindow,s=o.contentDocument||o.contentWindow&&o.contentWindow.document;s&&(s.open(),s.write(i),s.close()),a&&(o.onload=function(){try{setTimeout(()=>{a.focus();try{a.document.execCommand("print",!1)||a.print()}catch{a.print()}a.close()},10)}catch(l){console.error(l)}setTimeout(function(){document.body.removeChild(o)},100)})}}const Ip=["😀","😃","😄","😁","😆","😅","🤣","😂","🙂","🙃","😉","😊","😇","🥰","😍","🤩","😘","😗","😚","😙","🥲","😋","😛","😜","🤪","😝","🤑","🤗","🤭","🤫","🤔","🤐","🤨","😐","😑","😶","😶‍🌫","😏","😒","🙄","😬","😮‍💨","🤥","😌","😔","😪","🤤","😴","😷","🤒","🤕","🤢","🤮","🤧","🥵","🥶","🥴","😵","😵‍💫","🤯","🤠","🥳","🥸","😎","🤓","🧐","😕","😟","🙁","😮","😲","😳","🥺","😦","😧","😨","😰","😥","😢","😭","😱","😖","😣","😞","😓","😩","😫","🥱","😤","😡","😠","🤬","😈","👿","💀","☠️","💩","🤡","👹","👺","👻","👽","👾","🤖","😺","😸","😹","😻","😼","😽","🙀","😿","😾","👍","👎","🙏","🙈","🙉","🙊","💌","💘","💝","💖","💗","💓","💞","💕","💟","❣️","💔","💋","💯","💢","💥","💫","💦","💨","💤"];class Tv extends me{constructor(){super();L(this,"emojis",Ip);L(this,"tippy");this.template=`
- `}onCreate(n,r){var i;super.onCreate(n,r),this.emojis=((i=r.emoji)==null?void 0:i.values)||Op}connectedCallback(){super.connectedCallback(),this.tippy=we(this.querySelector("svg"),{content:this.createMenuElement(),appendTo:this.closest(".aie-container"),placement:"bottom",trigger:"click",interactive:!0,arrow:!1})}createMenuElement(){const n=document.createElement("div");return n.style.maxWidth="450px",n.style.overflow="hidden",n.style.display="flex",n.style.justifyContent="center",n.classList.add("aie-dropdown-container"),n.innerHTML=` + `}onCreate(n,r){var i;super.onCreate(n,r),this.emojis=((i=r.emoji)==null?void 0:i.values)||Ip}connectedCallback(){super.connectedCallback(),this.tippy=we(this.querySelector("svg"),{content:this.createMenuElement(),appendTo:this.closest(".aie-container"),placement:"bottom",trigger:"click",interactive:!0,arrow:!1})}createMenuElement(){const n=document.createElement("div");n.style.maxWidth="450px",n.style.overflow="hidden",n.style.display="flex",n.style.justifyContent="center";const r=this.getSize();return n.classList.add("aie-dropdown-container"),n.innerHTML=`
- ${this.emojis.map(r=>`
${r}
`).join("")} + ${this.emojis.map(i=>`
${i}
`).join("")}
- `,n.querySelector(".emoji-cells").addEventListener("click",r=>{var o,a;const i=r.target.closest(".emoji-cell");i&&((o=this.editor)==null||o.commands.insertContent(i.querySelector("span").innerHTML),(a=this.tippy)==null||a.hide())}),n}}class mv extends me{constructor(){super(),this.template='
',this.registerClickListener()}onClick(e){var n;e.setPainter((n=this.editor)==null?void 0:n.state.selection.$head.marks())}}class Eo{constructor(e,n,r){L(this,"editor");L(this,"globalConfig");L(this,"aiModelName");L(this,"aiModelConfig");this.editor=e,this.globalConfig=n,this.aiModelName=r,this.aiModelConfig=n.models[r]}chatWithPayload(e,n){const r=o=>{this.createAiClient(o,n).start(typeof e=="string"?e:JSON.stringify(e))},i=()=>{n==null||n.onStop()};this.globalConfig.onCreateClientUrl?this.globalConfig.onCreateClientUrl(this.aiModelName,this.aiModelConfig,r,i):r(this.createAiClientUrl())}chat(e,n,r){const i=a=>{const s=this.createAiClient(a,r),l=n.includes("{content}")?n.split("{content}").join(e):`${e?e+` -`:""}${n}`,c=this.wrapPayload(l);s.start(typeof c=="string"?c:JSON.stringify(c))},o=()=>{r==null||r.onStop()};this.globalConfig.onCreateClientUrl?this.globalConfig.onCreateClientUrl(this.aiModelName,this.aiModelConfig,i,o):i(this.createAiClientUrl())}}class og{constructor(e,n){L(this,"isStop",!1);L(this,"url");L(this,"webSocket");L(this,"isOpen",!1);L(this,"payload");L(this,"listener");this.url=e,this.listener=n}start(e){this.listener.onStart(this),this.payload=e,this.webSocket=new WebSocket(this.url),this.webSocket.onopen=n=>this.onOpen(n),this.webSocket.onmessage=n=>this.onMessage(n),this.webSocket.onclose=n=>this.onClose(n),this.webSocket.onerror=n=>this.onError(n)}stop(){this.webSocket&&(this.webSocket.close(),this.webSocket=void 0,this.isStop||(this.listener.onStop(),this.isStop=!0))}send(e){this.webSocket&&this.isOpen&&this.webSocket.send(e)}onOpen(e){this.isOpen=!0,this.send(this.payload)}onMessage(e){this.listener.onMessage(e.data)}onClose(e){this.isOpen=!1,this.isStop||(this.listener.onStop(),this.isStop=!0)}onError(e){this.isOpen=!1,this.isStop||(this.listener.onStop(),this.isStop=!0)}}var Ln=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Jc(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function fv(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var i=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return t[r]}})}),n}var ag={exports:{}};function gv(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var nl={exports:{}};const hv={},Ev=Object.freeze(Object.defineProperty({__proto__:null,default:hv},Symbol.toStringTag,{value:"Module"})),Sv=fv(Ev);var Np;function Es(){return Np||(Np=1,function(t,e){(function(n,r){t.exports=r()})(Ln,function(){var n=n||function(r,i){var o;if(typeof window<"u"&&window.crypto&&(o=window.crypto),typeof self<"u"&&self.crypto&&(o=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(o=globalThis.crypto),!o&&typeof window<"u"&&window.msCrypto&&(o=window.msCrypto),!o&&typeof Ln<"u"&&Ln.crypto&&(o=Ln.crypto),!o&&typeof gv=="function")try{o=Sv}catch{}var a=function(){if(o){if(typeof o.getRandomValues=="function")try{return o.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof o.randomBytes=="function")try{return o.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function S(){}return function(b){var h;return S.prototype=b,h=new S,S.prototype=null,h}}(),l={},c=l.lib={},u=c.Base=function(){return{extend:function(S){var b=s(this);return S&&b.mixIn(S),(!b.hasOwnProperty("init")||this.init===b.init)&&(b.init=function(){b.$super.init.apply(this,arguments)}),b.init.prototype=b,b.$super=this,b},create:function(){var S=this.extend();return S.init.apply(S,arguments),S},init:function(){},mixIn:function(S){for(var b in S)S.hasOwnProperty(b)&&(this[b]=S[b]);S.hasOwnProperty("toString")&&(this.toString=S.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),d=c.WordArray=u.extend({init:function(S,b){S=this.words=S||[],b!=i?this.sigBytes=b:this.sigBytes=S.length*4},toString:function(S){return(S||_).stringify(this)},concat:function(S){var b=this.words,h=S.words,C=this.sigBytes,T=S.sigBytes;if(this.clamp(),C%4)for(var R=0;R>>2]>>>24-R%4*8&255;b[C+R>>>2]|=x<<24-(C+R)%4*8}else for(var O=0;O>>2]=h[O>>>2];return this.sigBytes+=T,this},clamp:function(){var S=this.words,b=this.sigBytes;S[b>>>2]&=4294967295<<32-b%4*8,S.length=r.ceil(b/4)},clone:function(){var S=u.clone.call(this);return S.words=this.words.slice(0),S},random:function(S){for(var b=[],h=0;h>>2]>>>24-T%4*8&255;C.push((R>>>4).toString(16)),C.push((R&15).toString(16))}return C.join("")},parse:function(S){for(var b=S.length,h=[],C=0;C>>3]|=parseInt(S.substr(C,2),16)<<24-C%8*4;return new d.init(h,b/2)}},m=p.Latin1={stringify:function(S){for(var b=S.words,h=S.sigBytes,C=[],T=0;T>>2]>>>24-T%4*8&255;C.push(String.fromCharCode(R))}return C.join("")},parse:function(S){for(var b=S.length,h=[],C=0;C>>2]|=(S.charCodeAt(C)&255)<<24-C%4*8;return new d.init(h,b)}},f=p.Utf8={stringify:function(S){try{return decodeURIComponent(escape(m.stringify(S)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(S){return m.parse(unescape(encodeURIComponent(S)))}},g=c.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new d.init,this._nDataBytes=0},_append:function(S){typeof S=="string"&&(S=f.parse(S)),this._data.concat(S),this._nDataBytes+=S.sigBytes},_process:function(S){var b,h=this._data,C=h.words,T=h.sigBytes,R=this.blockSize,x=R*4,O=T/x;S?O=r.ceil(O):O=r.max((O|0)-this._minBufferSize,0);var M=O*R,B=r.min(M*4,T);if(M){for(var Y=0;Y>>7)^(O<<14|O>>>18)^O>>>3,B=d[x-2],Y=(B<<15|B>>>17)^(B<<13|B>>>19)^B>>>10;d[x]=M+d[x-7]+Y+d[x-16]}var $=h&C^~h&T,q=g&E^g&S^E&S,V=(g<<30|g>>>2)^(g<<19|g>>>13)^(g<<10|g>>>22),J=(h<<26|h>>>6)^(h<<21|h>>>11)^(h<<7|h>>>25),y=R+J+$+u[x]+d[x],v=V+q;R=T,T=C,C=h,h=b+y|0,b=S,S=E,E=g,g=y+v|0}f[0]=f[0]+g|0,f[1]=f[1]+E|0,f[2]=f[2]+S|0,f[3]=f[3]+b|0,f[4]=f[4]+h|0,f[5]=f[5]+C|0,f[6]=f[6]+T|0,f[7]=f[7]+R|0},_doFinalize:function(){var _=this._data,m=_.words,f=this._nDataBytes*8,g=_.sigBytes*8;return m[g>>>5]|=128<<24-g%32,m[(g+64>>>9<<4)+14]=r.floor(f/4294967296),m[(g+64>>>9<<4)+15]=f,_.sigBytes=m.length*4,this._process(),this._hash},clone:function(){var _=s.clone.call(this);return _._hash=this._hash.clone(),_}});i.SHA256=s._createHelper(p),i.HmacSHA256=s._createHmacHelper(p)}(Math),n.SHA256})}(rl)),rl.exports}var il={exports:{}},Ip;function Tv(){return Ip||(Ip=1,function(t,e){(function(n,r){t.exports=r(Es())})(Ln,function(n){(function(){var r=n,i=r.lib,o=i.Base,a=r.enc,s=a.Utf8,l=r.algo;l.HMAC=o.extend({init:function(c,u){c=this._hasher=new c.init,typeof u=="string"&&(u=s.parse(u));var d=c.blockSize,p=d*4;u.sigBytes>p&&(u=c.finalize(u)),u.clamp();for(var _=this._oKey=u.clone(),m=this._iKey=u.clone(),f=_.words,g=m.words,E=0;E>>2]>>>24-_%4*8&255,f=c[_+1>>>2]>>>24-(_+1)%4*8&255,g=c[_+2>>>2]>>>24-(_+2)%4*8&255,E=m<<16|f<<8|g,S=0;S<4&&_+S*.75>>6*(3-S)&63));var b=d.charAt(64);if(b)for(;p.length%4;)p.push(b);return p.join("")},parse:function(l){var c=l.length,u=this._map,d=this._reverseMap;if(!d){d=this._reverseMap=[];for(var p=0;p>>6-_%4*2,g=m|f;d[p>>>2]|=g<<24-p%4*8,p++}return o.create(d,p)}}(),n.enc.Base64})})(sg);var vv=sg.exports;const Rv=Jc(vv),Ss=()=>"10000000-1000-4000-8000-100000000000".replace(/[018]/g,t=>(t^crypto.getRandomValues(new Uint8Array(1))[0]&15>>t/4).toString(16));class lg extends Eo{constructor(e,n){super(e,n,"spark"),this.aiModelConfig={version:"v3.5",protocol:"wss",...n.models.spark}}createAiClient(e,n){return new og(e,{onStart:n.onStart,onStop:n.onStop,onMessage:r=>{var o,a,s,l,c;const i=JSON.parse(r);i.payload&&((a=(o=i.payload.usage)==null?void 0:o.text)!=null&&a.total_tokens&&this.globalConfig.onTokenConsume&&this.globalConfig.onTokenConsume(this.aiModelName,this.aiModelConfig,(l=(s=i.payload.usage)==null?void 0:s.text)==null?void 0:l.total_tokens),(c=i.payload.choices)!=null&&c.text&&i.payload.choices.text[0]&&n.onMessage({...i.payload.choices.text[0],status:i.payload.choices.status}))}})}wrapPayload(e){const n=this.aiModelConfig,r={header:{app_id:n.appId,uid:Ss().replace(/-/g,"")},parameter:{chat:{domain:this.getDomain(n),temperature:n.temperature||.5,max_tokens:n.maxTokens||2048}},payload:{message:{text:[{role:"user",content:e}]}}};return JSON.stringify(r)}getDomain(e){switch(e.version){case"v4.0":return"4.0Ultra";case"v3.5":return"generalv3.5";case"v3.1":return"generalv3";case"v2.1":return"generalv2";case"v1.1":return"lite";default:return"general"}}createAiClientUrl(){const e=this.aiModelConfig,n=new Date().toUTCString().replace("GMT","+0000");let r=`host: spark-api.xf-yun.com + `,n.querySelector(".emoji-cells").addEventListener("click",i=>{var a,s;const o=i.target.closest(".emoji-cell");o&&((a=this.editor)==null||a.commands.insertContent(o.querySelector("span").innerHTML),(s=this.tippy)==null||s.hide())}),n}getSize(){const n=this.editor.aiEditor.options;return n.toolbarSize==="large"?30:n.toolbarSize==="medium"?25:20}}class Cv extends me{constructor(){super(),this.template='
',this.registerClickListener()}onClick(e){var n;e.setPainter((n=this.editor)==null?void 0:n.state.selection.$head.marks())}}class So{constructor(e,n,r){L(this,"editor");L(this,"globalConfig");L(this,"aiModelName");L(this,"aiModelConfig");this.editor=e,this.globalConfig=n,this.aiModelName=r,this.aiModelConfig=n.models[r]}chatWithPayload(e,n){const r=o=>{this.createAiClient(o,n).start(typeof e=="string"?e:JSON.stringify(e))},i=()=>{n==null||n.onStop()};this.globalConfig.onCreateClientUrl?this.globalConfig.onCreateClientUrl(this.aiModelName,this.aiModelConfig,r,i):r(this.createAiClientUrl())}chat(e,n,r){const i=a=>{const s=this.createAiClient(a,r),l=n.includes("{content}")?n.split("{content}").join(e):`${e?e+` +`:""}${n}`,c=this.wrapPayload(l);s.start(typeof c=="string"?c:JSON.stringify(c))},o=()=>{r==null||r.onStop()};this.globalConfig.onCreateClientUrl?this.globalConfig.onCreateClientUrl(this.aiModelName,this.aiModelConfig,i,o):i(this.createAiClientUrl())}}class ch{constructor(e,n){L(this,"isStop",!1);L(this,"url");L(this,"webSocket");L(this,"isOpen",!1);L(this,"payload");L(this,"listener");this.url=e,this.listener=n}start(e){this.listener.onStart(this),this.payload=e,this.webSocket=new WebSocket(this.url),this.webSocket.onopen=n=>this.onOpen(n),this.webSocket.onmessage=n=>this.onMessage(n),this.webSocket.onclose=n=>this.onClose(n),this.webSocket.onerror=n=>this.onError(n)}stop(){this.webSocket&&(this.webSocket.close(),this.webSocket=void 0,this.isStop||(this.listener.onStop(),this.isStop=!0))}send(e){this.webSocket&&this.isOpen&&this.webSocket.send(e)}onOpen(e){this.isOpen=!0,this.send(this.payload)}onMessage(e){this.listener.onMessage(e.data)}onClose(e){this.isOpen=!1,this.isStop||(this.listener.onStop(),this.isStop=!0)}onError(e){this.isOpen=!1,this.isStop||(this.listener.onStop(),this.isStop=!0)}}var Ln=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function nu(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function yv(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var i=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return t[r]}})}),n}var uh={exports:{}};function vv(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var il={exports:{}};const Rv={},Ov=Object.freeze(Object.defineProperty({__proto__:null,default:Rv},Symbol.toStringTag,{value:"Module"})),Nv=yv(Ov);var xp;function bs(){return xp||(xp=1,function(t,e){(function(n,r){t.exports=r()})(Ln,function(){var n=n||function(r,i){var o;if(typeof window<"u"&&window.crypto&&(o=window.crypto),typeof self<"u"&&self.crypto&&(o=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(o=globalThis.crypto),!o&&typeof window<"u"&&window.msCrypto&&(o=window.msCrypto),!o&&typeof Ln<"u"&&Ln.crypto&&(o=Ln.crypto),!o&&typeof vv=="function")try{o=Nv}catch{}var a=function(){if(o){if(typeof o.getRandomValues=="function")try{return o.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof o.randomBytes=="function")try{return o.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function S(){}return function(b){var g;return S.prototype=b,g=new S,S.prototype=null,g}}(),l={},c=l.lib={},u=c.Base=function(){return{extend:function(S){var b=s(this);return S&&b.mixIn(S),(!b.hasOwnProperty("init")||this.init===b.init)&&(b.init=function(){b.$super.init.apply(this,arguments)}),b.init.prototype=b,b.$super=this,b},create:function(){var S=this.extend();return S.init.apply(S,arguments),S},init:function(){},mixIn:function(S){for(var b in S)S.hasOwnProperty(b)&&(this[b]=S[b]);S.hasOwnProperty("toString")&&(this.toString=S.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),d=c.WordArray=u.extend({init:function(S,b){S=this.words=S||[],b!=i?this.sigBytes=b:this.sigBytes=S.length*4},toString:function(S){return(S||_).stringify(this)},concat:function(S){var b=this.words,g=S.words,C=this.sigBytes,T=S.sigBytes;if(this.clamp(),C%4)for(var R=0;R>>2]>>>24-R%4*8&255;b[C+R>>>2]|=x<<24-(C+R)%4*8}else for(var O=0;O>>2]=g[O>>>2];return this.sigBytes+=T,this},clamp:function(){var S=this.words,b=this.sigBytes;S[b>>>2]&=4294967295<<32-b%4*8,S.length=r.ceil(b/4)},clone:function(){var S=u.clone.call(this);return S.words=this.words.slice(0),S},random:function(S){for(var b=[],g=0;g>>2]>>>24-T%4*8&255;C.push((R>>>4).toString(16)),C.push((R&15).toString(16))}return C.join("")},parse:function(S){for(var b=S.length,g=[],C=0;C>>3]|=parseInt(S.substr(C,2),16)<<24-C%8*4;return new d.init(g,b/2)}},m=p.Latin1={stringify:function(S){for(var b=S.words,g=S.sigBytes,C=[],T=0;T>>2]>>>24-T%4*8&255;C.push(String.fromCharCode(R))}return C.join("")},parse:function(S){for(var b=S.length,g=[],C=0;C>>2]|=(S.charCodeAt(C)&255)<<24-C%4*8;return new d.init(g,b)}},f=p.Utf8={stringify:function(S){try{return decodeURIComponent(escape(m.stringify(S)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(S){return m.parse(unescape(encodeURIComponent(S)))}},h=c.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new d.init,this._nDataBytes=0},_append:function(S){typeof S=="string"&&(S=f.parse(S)),this._data.concat(S),this._nDataBytes+=S.sigBytes},_process:function(S){var b,g=this._data,C=g.words,T=g.sigBytes,R=this.blockSize,x=R*4,O=T/x;S?O=r.ceil(O):O=r.max((O|0)-this._minBufferSize,0);var M=O*R,B=r.min(M*4,T);if(M){for(var Y=0;Y>>7)^(O<<14|O>>>18)^O>>>3,B=d[x-2],Y=(B<<15|B>>>17)^(B<<13|B>>>19)^B>>>10;d[x]=M+d[x-7]+Y+d[x-16]}var $=g&C^~g&T,q=h&E^h&S^E&S,V=(h<<30|h>>>2)^(h<<19|h>>>13)^(h<<10|h>>>22),J=(g<<26|g>>>6)^(g<<21|g>>>11)^(g<<7|g>>>25),y=R+J+$+u[x]+d[x],v=V+q;R=T,T=C,C=g,g=b+y|0,b=S,S=E,E=h,h=y+v|0}f[0]=f[0]+h|0,f[1]=f[1]+E|0,f[2]=f[2]+S|0,f[3]=f[3]+b|0,f[4]=f[4]+g|0,f[5]=f[5]+C|0,f[6]=f[6]+T|0,f[7]=f[7]+R|0},_doFinalize:function(){var _=this._data,m=_.words,f=this._nDataBytes*8,h=_.sigBytes*8;return m[h>>>5]|=128<<24-h%32,m[(h+64>>>9<<4)+14]=r.floor(f/4294967296),m[(h+64>>>9<<4)+15]=f,_.sigBytes=m.length*4,this._process(),this._hash},clone:function(){var _=s.clone.call(this);return _._hash=this._hash.clone(),_}});i.SHA256=s._createHelper(p),i.HmacSHA256=s._createHmacHelper(p)}(Math),n.SHA256})}(ol)),ol.exports}var al={exports:{}},Mp;function Iv(){return Mp||(Mp=1,function(t,e){(function(n,r){t.exports=r(bs())})(Ln,function(n){(function(){var r=n,i=r.lib,o=i.Base,a=r.enc,s=a.Utf8,l=r.algo;l.HMAC=o.extend({init:function(c,u){c=this._hasher=new c.init,typeof u=="string"&&(u=s.parse(u));var d=c.blockSize,p=d*4;u.sigBytes>p&&(u=c.finalize(u)),u.clamp();for(var _=this._oKey=u.clone(),m=this._iKey=u.clone(),f=_.words,h=m.words,E=0;E>>2]>>>24-_%4*8&255,f=c[_+1>>>2]>>>24-(_+1)%4*8&255,h=c[_+2>>>2]>>>24-(_+2)%4*8&255,E=m<<16|f<<8|h,S=0;S<4&&_+S*.75>>6*(3-S)&63));var b=d.charAt(64);if(b)for(;p.length%4;)p.push(b);return p.join("")},parse:function(l){var c=l.length,u=this._map,d=this._reverseMap;if(!d){d=this._reverseMap=[];for(var p=0;p>>6-_%4*2,h=m|f;d[p>>>2]|=h<<24-p%4*8,p++}return o.create(d,p)}}(),n.enc.Base64})})(dh);var Mv=dh.exports;const wv=nu(Mv),Ts=()=>"10000000-1000-4000-8000-100000000000".replace(/[018]/g,t=>(t^crypto.getRandomValues(new Uint8Array(1))[0]&15>>t/4).toString(16));class ph extends So{constructor(e,n){super(e,n,"spark"),this.aiModelConfig={version:"v3.5",protocol:"wss",...n.models.spark}}createAiClient(e,n){return new ch(e,{onStart:n.onStart,onStop:n.onStop,onMessage:r=>{var o,a,s,l,c;const i=JSON.parse(r);i.payload&&((a=(o=i.payload.usage)==null?void 0:o.text)!=null&&a.total_tokens&&this.globalConfig.onTokenConsume&&this.globalConfig.onTokenConsume(this.aiModelName,this.aiModelConfig,(l=(s=i.payload.usage)==null?void 0:s.text)==null?void 0:l.total_tokens),(c=i.payload.choices)!=null&&c.text&&i.payload.choices.text[0]&&n.onMessage({...i.payload.choices.text[0],status:i.payload.choices.status}))}})}wrapPayload(e){const n=this.aiModelConfig,r={header:{app_id:n.appId,uid:Ts().replace(/-/g,"")},parameter:{chat:{domain:this.getDomain(n),temperature:n.temperature||.5,max_tokens:n.maxTokens||2048}},payload:{message:{text:[{role:"user",content:e}]}}};return JSON.stringify(r)}getDomain(e){switch(e.version){case"v4.0":return"4.0Ultra";case"v3.5":return"generalv3.5";case"v3.1":return"generalv3";case"v2.1":return"generalv2";case"v1.1":return"lite";default:return"general"}}createAiClientUrl(){const e=this.aiModelConfig,n=new Date().toUTCString().replace("GMT","+0000");let r=`host: spark-api.xf-yun.com `;r+="date: "+n+` -`,r+=`GET /${e.version}/chat HTTP/1.1`;const i=yv(r,e.apiSecret),o=Rv.stringify(i),a=`api_key="${e.apiKey}", algorithm="hmac-sha256", headers="host date request-line", signature="${o}"`,s=btoa(a);return`${e.protocol}://spark-api.xf-yun.com/${e.version}/chat?authorization=${s}&date=${encodeURIComponent(n)}&host=spark-api.xf-yun.com`}}class cg{constructor(e,n){L(this,"isStop",!1);L(this,"config");L(this,"fetch");L(this,"isOpen",!1);L(this,"payload");L(this,"listener");this.config=e,this.listener=n}start(e){this.payload=e,this.onOpen(),this.listener.onStart(this)}stop(){this.fetch&&(this.fetch=void 0,this.isStop||(this.listener.onStop(),this.isStop=!0))}async send(e){if(this.isOpen)try{this.fetch=await fetch(this.config.url,{method:this.config.method,headers:this.config.headers,body:e});const n=this.fetch;if(!n.body)throw new Error("response.body is none");const r=({done:a,value:s})=>{if(a){this.onClose();return}return this.onMessage(o.decode(s)),i.read().then(({done:l,value:c})=>r({done:l,value:c}))},i=n.body.getReader(),o=new TextDecoder("utf-8");i.read().then(({done:a,value:s})=>r({done:a,value:s}))}catch{this.onError()}}onOpen(){this.isOpen=!0,this.send(this.payload)}onMessage(e){this.listener.onMessage(e)}onClose(){this.isOpen=!1,this.isStop||(this.listener.onStop(),this.isStop=!0)}onError(){this.isOpen=!1,this.isStop||(this.listener.onStop(),this.isStop=!0)}}class ug extends Eo{constructor(e,n){super(e,n,"wenxin"),this.aiModelConfig={...n.models.wenxin}}createAiClient(e,n){return new cg({url:e,method:"POST"},{onStart:n.onStart,onStop:n.onStop,onMessage:r=>{const i=r.match(/data:([\s\S]*)$/);if(!i)return;const o=JSON.parse(i[1]);n.onMessage({status:o.is_end?2:1,role:"assistant",content:o.result||"",index:o.sentence_id})}})}wrapPayload(e){const n={messages:[{role:"user",content:e}],stream:!0,max_tokens:this.aiModelConfig.maxTokens||null,temperature:this.aiModelConfig.temperature||null};return JSON.stringify(n)}createAiClientUrl(){return`https://aip.baidubce.com/rpc/2.0/ai_custom/v1/wenxinworkshop/chat/completions_pro?access_token=${this.aiModelConfig.access_token}`}}var mn;class Ov extends TransformStream{constructor(n={allowCR:!1}){super({transform:(r,i)=>{for(r=Or(this,mn)+r;;){const o=r.indexOf(` -`),a=n.allowCR?r.indexOf("\r"):-1;if(a!==-1&&a!==r.length-1&&(o===-1||o-1>a)){i.enqueue(r.slice(0,a)),r=r.slice(a+1);continue}if(o===-1)break;const s=r[o-1]==="\r"?o-1:o;i.enqueue(r.slice(0,s)),r=r.slice(o+1)}Yu(this,mn,r)},flush:r=>{if(Or(this,mn)==="")return;const i=n.allowCR&&Or(this,mn).endsWith("\r")?Or(this,mn).slice(0,-1):Or(this,mn);r.enqueue(i)}});Vu(this,mn,"")}}mn=new WeakMap;function Nv(t){let e=new TextDecoderStream,n=new Ov({allowCR:!0});return t.pipeThrough(e).pipeThrough(n)}function Av(t){let n=/[:]\s*/.exec(t),r=n&&n.index;if(r)return[t.substring(0,r),t.substring(r+n[0].length)]}async function*Iv(t,e){if(!t.body)return;let n=Nv(t.body),r,i=n.getReader(),o;for(;;){if(e&&e.aborted)return i.cancel();if(r=await i.read(),r.done)return;if(!r.value){o&&(yield o),o=void 0;continue}let[a,s]=Av(r.value)||[];a&&(a==="data"?(o||(o={}),o[a]=o[a]?o[a]+` -`+s:s):a==="event"?(o||(o={}),o[a]=s):a==="id"?(o||(o={}),o[a]=+s||s):a==="retry"&&(o||(o={}),o[a]=+s||void 0))}}class eu{constructor(e,n){L(this,"isStop",!1);L(this,"config");L(this,"fetch");L(this,"isOpen",!1);L(this,"payload");L(this,"listener");L(this,"ctrl",new AbortController);this.config=e,this.listener=n}start(e){this.payload=e,this.onOpen(),this.listener.onStart(this)}stop(){this.fetch&&(this.ctrl.abort(),this.isStop||(this.listener.onStop(),this.isStop=!0))}async send(e){let n=await fetch(this.config.url,{method:this.config.method,signal:this.ctrl.signal,headers:this.config.headers,body:e});if(!n.ok){this.onError();return}try{let r=Iv(n,this.ctrl.signal);for await(let i of r)i.data&&i.data.trim()!=="[DONE]"&&this.onMessage(i.data)}catch(r){console.error("error",r),this.onError()}finally{this.onClose()}}onOpen(){this.isOpen=!0,this.send(this.payload)}onMessage(e){this.listener.onMessage(e)}onClose(){this.isOpen=!1,this.isStop||(this.listener.onStop(),this.isStop=!0)}onError(){this.isOpen=!1,this.isStop||(this.listener.onStop(),this.isStop=!0)}}class dg extends Eo{constructor(e,n){super(e,n,"custom"),this.aiModelConfig={protocol:"sse",...n.models.custom}}createAiClient(e,n){var a;const r=this.aiModelConfig,i={onStart:n.onStart,onStop:n.onStop,onMessage:s=>{var u;const l=this.aiModelConfig,c=(u=l.parseMessage)==null?void 0:u.call(l,s);c&&n.onMessage(c)}},o={url:e,method:r.method||"post",headers:(a=r.headers)==null?void 0:a.call(r)};return r.protocol==="sse"?new eu(o,i):r.protocol==="http"?new cg(o,i):new og(e,i)}wrapPayload(e){var r;const n=this.aiModelConfig;return(r=n.wrapPayload)==null?void 0:r.call(n,e)}createAiClientUrl(){var n;const e=this.aiModelConfig;return typeof e.url=="string"?e.url:(n=e.url)==null?void 0:n.call(e)}}class pg extends Eo{constructor(e,n){super(e,n,"openai"),this.aiModelConfig={endpoint:"https://api.openai.com",...n.models.openai}}createAiClient(e,n){const r=this.aiModelConfig,i={"Content-Type":"application/json"};return r.apiKey&&(i.Authorization=`Bearer ${r.apiKey}`),new eu({url:e,method:"post",headers:i},{onStart:n.onStart,onStop:n.onStop,onMessage:o=>{var s,l;let a=null;try{a=JSON.parse(o)}catch(c){console.error("error",c,o);return}!a.choices||a.choices.length===0||(n.onMessage({status:a.choices[0].finish_reason==="stop"?2:1,role:"assistant",content:((s=a.choices[0].delta)==null?void 0:s.content)||"",index:a.choices[0].index}),this.globalConfig.onTokenConsume&&((l=a.choices[0].usage)!=null&&l.total_tokens)&&this.globalConfig.onTokenConsume(this.aiModelName,this.aiModelConfig,a.choices[0].usage.total_tokens))}})}wrapPayload(e){const n=this.aiModelConfig,r={messages:[{role:"user",content:e}],max_tokens:n.maxTokens||null,temperature:n.temperature||null,stream:!0};return n.model&&(r.model=n.model),JSON.stringify(r)}createAiClientUrl(){const e=this.aiModelConfig;if(e.customUrl){if(typeof e.customUrl=="string")return e.customUrl;if(typeof e.customUrl=="function")return e.customUrl()}return`${e.endpoint}/v1/chat/completions`}}class xv extends Eo{constructor(e,n){super(e,n,"gitee"),this.aiModelConfig={top_p:.7,top_k:50,...n.models.gitee}}createAiClient(e,n){const r=this.aiModelConfig;return new eu({url:e,method:"post",headers:{"Content-Type":"application/json",Authorization:`Bearer ${r.apiKey}`}},{onStart:n.onStart,onStop:n.onStop,onMessage:i=>{var a,s;let o=null;try{o=JSON.parse(i)}catch(l){console.error("error",l,i);return}n.onMessage({status:o.choices[0].finish_reason==="stop"?2:1,role:"assistant",content:((a=o.choices[0].delta)==null?void 0:a.content)||"",index:o.choices[0].index}),this.globalConfig.onTokenConsume&&((s=o.usage)!=null&&s.total_tokens)&&this.globalConfig.onTokenConsume(this.aiModelName,this.aiModelConfig,o.usage.total_tokens)}})}wrapPayload(e){const n=this.aiModelConfig,r={messages:[{role:"user",content:e}],stream:!0,max_tokens:n.maxTokens||null,temperature:n.temperature||null,top_p:n.top_p,top_k:n.top_k};return JSON.stringify(r)}createAiClientUrl(){const{endpoint:e}=this.aiModelConfig;return e}}class En{static init(e,n){var r;if(n&&n.models)for(let i of Object.keys(n.models))switch(i){case"spark":this.set(i,new lg(e,n));break;case"wenxin":this.set(i,new ug(e,n));break;case"openai":this.set(i,new pg(e,n));break;case"gitee":this.set(i,new xv(e,n));break;case"custom":this.set(i,new dg(e,n));break;default:const o=(r=n.modelFactory)==null?void 0:r.create(i,e,n);o&&this.set(i,o)}}static get(e){return(!e||e==="auto")&&(e=Object.keys(this.models)[0]),this.models[e]}static set(e,n){this.models[e]=n}}L(En,"models",{});const Dv=t=>{let e="";return t.descendants(n=>{n.text&&(e+=n.text)}),e};class Oa{constructor(e,n){L(this,"editor");L(this,"from");L(this,"options");this.editor=e,this.from=e.view.state.selection.from,this.options=n||{markdownParseEnable:!0}}onStart(){}onStop(){}onMessage(e){const{state:{tr:n},view:r}=this.editor;if(r.dispatch(n.insertText(e.content)),e.status==2&&this.options.markdownParseEnable){const i=this.editor.state.selection.to,o=this.editor.state.doc.textBetween(this.from,i),{state:{tr:a},view:s}=this.editor,l=this.editor.parseMarkdown(o);if(this.options.useMarkdownTextOnly){const c=Dv(l),u=this.editor.schema.text(c);s.dispatch(a.replaceWith(this.from,i,u).scrollIntoView())}else s.dispatch(a.replaceWith(this.from,i,l).scrollIntoView())}this.editor.commands.scrollIntoView()}}const Mv=[{icon:'',name:"ai-continuation",prompt:`{content} +`,r+=`GET /${e.version}/chat HTTP/1.1`;const i=Dv(r,e.apiSecret),o=wv.stringify(i),a=`api_key="${e.apiKey}", algorithm="hmac-sha256", headers="host date request-line", signature="${o}"`,s=btoa(a);return`${e.protocol}://spark-api.xf-yun.com/${e.version}/chat?authorization=${s}&date=${encodeURIComponent(n)}&host=spark-api.xf-yun.com`}}class _h{constructor(e,n){L(this,"isStop",!1);L(this,"config");L(this,"fetch");L(this,"isOpen",!1);L(this,"payload");L(this,"listener");this.config=e,this.listener=n}start(e){this.payload=e,this.onOpen(),this.listener.onStart(this)}stop(){this.fetch&&(this.fetch=void 0,this.isStop||(this.listener.onStop(),this.isStop=!0))}async send(e){if(this.isOpen)try{this.fetch=await fetch(this.config.url,{method:this.config.method,headers:this.config.headers,body:e});const n=this.fetch;if(!n.body)throw new Error("response.body is none");const r=({done:a,value:s})=>{if(a){this.onClose();return}return this.onMessage(o.decode(s)),i.read().then(({done:l,value:c})=>r({done:l,value:c}))},i=n.body.getReader(),o=new TextDecoder("utf-8");i.read().then(({done:a,value:s})=>r({done:a,value:s}))}catch{this.onError()}}onOpen(){this.isOpen=!0,this.send(this.payload)}onMessage(e){this.listener.onMessage(e)}onClose(){this.isOpen=!1,this.isStop||(this.listener.onStop(),this.isStop=!0)}onError(){this.isOpen=!1,this.isStop||(this.listener.onStop(),this.isStop=!0)}}class mh extends So{constructor(e,n){super(e,n,"wenxin"),this.aiModelConfig={...n.models.wenxin}}createAiClient(e,n){return new _h({url:e,method:"POST"},{onStart:n.onStart,onStop:n.onStop,onMessage:r=>{const i=r.match(/data:([\s\S]*)$/);if(!i)return;const o=JSON.parse(i[1]);n.onMessage({status:o.is_end?2:1,role:"assistant",content:o.result||"",index:o.sentence_id})}})}wrapPayload(e){const n={messages:[{role:"user",content:e}],stream:!0,max_tokens:this.aiModelConfig.maxTokens||null,temperature:this.aiModelConfig.temperature||null};return JSON.stringify(n)}createAiClientUrl(){return`https://aip.baidubce.com/rpc/2.0/ai_custom/v1/wenxinworkshop/chat/completions_pro?access_token=${this.aiModelConfig.access_token}`}}var mn;class Lv extends TransformStream{constructor(n={allowCR:!1}){super({transform:(r,i)=>{for(r=Or(this,mn)+r;;){const o=r.indexOf(` +`),a=n.allowCR?r.indexOf("\r"):-1;if(a!==-1&&a!==r.length-1&&(o===-1||o-1>a)){i.enqueue(r.slice(0,a)),r=r.slice(a+1);continue}if(o===-1)break;const s=r[o-1]==="\r"?o-1:o;i.enqueue(r.slice(0,s)),r=r.slice(o+1)}qu(this,mn,r)},flush:r=>{if(Or(this,mn)==="")return;const i=n.allowCR&&Or(this,mn).endsWith("\r")?Or(this,mn).slice(0,-1):Or(this,mn);r.enqueue(i)}});$u(this,mn,"")}}mn=new WeakMap;function kv(t){let e=new TextDecoderStream,n=new Lv({allowCR:!0});return t.pipeThrough(e).pipeThrough(n)}function Pv(t){let n=/[:]\s*/.exec(t),r=n&&n.index;if(r)return[t.substring(0,r),t.substring(r+n[0].length)]}async function*Fv(t,e){if(!t.body)return;let n=kv(t.body),r,i=n.getReader(),o;for(;;){if(e&&e.aborted)return i.cancel();if(r=await i.read(),r.done)return;if(!r.value){o&&(yield o),o=void 0;continue}let[a,s]=Pv(r.value)||[];a&&(a==="data"?(o||(o={}),o[a]=o[a]?o[a]+` +`+s:s):a==="event"?(o||(o={}),o[a]=s):a==="id"?(o||(o={}),o[a]=+s||s):a==="retry"&&(o||(o={}),o[a]=+s||void 0))}}class ru{constructor(e,n){L(this,"isStop",!1);L(this,"config");L(this,"fetch");L(this,"isOpen",!1);L(this,"payload");L(this,"listener");L(this,"ctrl",new AbortController);this.config=e,this.listener=n}start(e){this.payload=e,this.onOpen(),this.listener.onStart(this)}stop(){this.fetch&&(this.ctrl.abort(),this.isStop||(this.listener.onStop(),this.isStop=!0))}async send(e){let n=await fetch(this.config.url,{method:this.config.method,signal:this.ctrl.signal,headers:this.config.headers,body:e});if(!n.ok){this.onError();return}try{let r=Fv(n,this.ctrl.signal);for await(let i of r)i.data&&i.data.trim()!=="[DONE]"&&this.onMessage(i.data)}catch(r){console.error("error",r),this.onError()}finally{this.onClose()}}onOpen(){this.isOpen=!0,this.send(this.payload)}onMessage(e){this.listener.onMessage(e)}onClose(){this.isOpen=!1,this.isStop||(this.listener.onStop(),this.isStop=!0)}onError(){this.isOpen=!1,this.isStop||(this.listener.onStop(),this.isStop=!0)}}class fh extends So{constructor(e,n){super(e,n,"custom"),this.aiModelConfig={protocol:"sse",...n.models.custom}}createAiClient(e,n){var a;const r=this.aiModelConfig,i={onStart:n.onStart,onStop:n.onStop,onMessage:s=>{var u;const l=this.aiModelConfig,c=(u=l.parseMessage)==null?void 0:u.call(l,s);c&&n.onMessage(c)}},o={url:e,method:r.method||"post",headers:(a=r.headers)==null?void 0:a.call(r)};return r.protocol==="sse"?new ru(o,i):r.protocol==="http"?new _h(o,i):new ch(e,i)}wrapPayload(e){var r;const n=this.aiModelConfig;return(r=n.wrapPayload)==null?void 0:r.call(n,e)}createAiClientUrl(){var n;const e=this.aiModelConfig;return typeof e.url=="string"?e.url:(n=e.url)==null?void 0:n.call(e)}}class hh extends So{constructor(e,n){super(e,n,"openai"),this.aiModelConfig={endpoint:"https://api.openai.com",...n.models.openai}}createAiClient(e,n){const r=this.aiModelConfig,i={"Content-Type":"application/json"};return r.apiKey&&(i.Authorization=`Bearer ${r.apiKey}`),new ru({url:e,method:"post",headers:i},{onStart:n.onStart,onStop:n.onStop,onMessage:o=>{var s,l;let a=null;try{a=JSON.parse(o)}catch(c){console.error("error",c,o);return}!a.choices||a.choices.length===0||(n.onMessage({status:a.choices[0].finish_reason==="stop"?2:1,role:"assistant",content:((s=a.choices[0].delta)==null?void 0:s.content)||"",index:a.choices[0].index}),this.globalConfig.onTokenConsume&&((l=a.choices[0].usage)!=null&&l.total_tokens)&&this.globalConfig.onTokenConsume(this.aiModelName,this.aiModelConfig,a.choices[0].usage.total_tokens))}})}wrapPayload(e){const n=this.aiModelConfig,r={messages:[{role:"user",content:e}],max_tokens:n.maxTokens||null,temperature:n.temperature||null,stream:!0};return n.model&&(r.model=n.model),JSON.stringify(r)}createAiClientUrl(){const e=this.aiModelConfig;if(e.customUrl){if(typeof e.customUrl=="string")return e.customUrl;if(typeof e.customUrl=="function")return e.customUrl()}return`${e.endpoint}/v1/chat/completions`}}class Bv extends So{constructor(e,n){super(e,n,"gitee"),this.aiModelConfig={top_p:.7,top_k:50,...n.models.gitee}}createAiClient(e,n){const r=this.aiModelConfig;return new ru({url:e,method:"post",headers:{"Content-Type":"application/json",Authorization:`Bearer ${r.apiKey}`}},{onStart:n.onStart,onStop:n.onStop,onMessage:i=>{var a,s;let o=null;try{o=JSON.parse(i)}catch(l){console.error("error",l,i);return}n.onMessage({status:o.choices[0].finish_reason==="stop"?2:1,role:"assistant",content:((a=o.choices[0].delta)==null?void 0:a.content)||"",index:o.choices[0].index}),this.globalConfig.onTokenConsume&&((s=o.usage)!=null&&s.total_tokens)&&this.globalConfig.onTokenConsume(this.aiModelName,this.aiModelConfig,o.usage.total_tokens)}})}wrapPayload(e){const n=this.aiModelConfig,r={messages:[{role:"user",content:e}],stream:!0,max_tokens:n.maxTokens||null,temperature:n.temperature||null,top_p:n.top_p,top_k:n.top_k};return JSON.stringify(r)}createAiClientUrl(){const{endpoint:e}=this.aiModelConfig;return e}}class En{static init(e,n){var r;if(n&&n.models)for(let i of Object.keys(n.models))switch(i){case"spark":this.set(i,new ph(e,n));break;case"wenxin":this.set(i,new mh(e,n));break;case"openai":this.set(i,new hh(e,n));break;case"gitee":this.set(i,new Bv(e,n));break;case"custom":this.set(i,new fh(e,n));break;default:const o=(r=n.modelFactory)==null?void 0:r.create(i,e,n);o&&this.set(i,o)}}static get(e){return(!e||e==="auto")&&(e=Object.keys(this.models)[0]),this.models[e]}static set(e,n){this.models[e]=n}}L(En,"models",{});const Uv=t=>{let e="";return t.descendants(n=>{n.text&&(e+=n.text)}),e};class Aa{constructor(e,n){L(this,"editor");L(this,"from");L(this,"options");this.editor=e,this.from=e.view.state.selection.from,this.options=n||{markdownParseEnable:!0}}onStart(){}onStop(){}onMessage(e){const{state:{tr:n},view:r}=this.editor;if(r.dispatch(n.insertText(e.content)),e.status==2&&this.options.markdownParseEnable){const i=this.editor.state.selection.to,o=this.editor.state.doc.textBetween(this.from,i),{state:{tr:a},view:s}=this.editor,l=this.editor.parseMarkdown(o);if(this.options.useMarkdownTextOnly){const c=Uv(l),u=this.editor.schema.text(c);s.dispatch(a.replaceWith(this.from,i,u).scrollIntoView())}else s.dispatch(a.replaceWith(this.from,i,l).scrollIntoView())}this.editor.commands.scrollIntoView()}}const Hv=[{icon:'',name:"ai-continuation",prompt:`{content} 请帮我继续扩展一些这段话的内容。 注意:你应该先判断一下这句话是中文还是英文,如果是中文,请给我返回中文的内容,如果是英文,请给我返回英文内容,只需要返回内容即可,不需要告知我是中文还是英文。`,text:"focusBefore",model:"auto"},{icon:'',name:"ai-optimization",prompt:`{content} 请帮我优化一下这段文字的内容,并返回结果 注意:你应该先判断一下这句话是中文还是英文,如果是中文,请给我返回中文的内容,如果是英文,请给我返回英文内容,只需要返回内容即可,不需要告知我是中文还是英文。`,text:"selected",model:"auto"},{icon:'',name:"ai-proofreading",prompt:`{content} 请帮我找出这段话的错别字,把错别字修改后,并返回结果,不要解释或其他多余的内容 -注意:你应该先判断一下这句话是中文还是英文,如果是中文,请给我返回中文的内容,如果是英文,请给我返回英文内容,只需要返回内容即可,不需要告知我是中文还是英文。`,text:"selected",model:"auto"},{icon:'',name:"ai-translation",prompt:"请帮我翻译以上内容,在翻译之前,想先判断一下这个内容是不是中文,如果是中文,则翻译问英文,如果是其他语言,则需要翻译为中文,注意,你只需要返回翻译的结果,不需要对此进行任何解释,不需要除了翻译结果以外的其他任何内容。",text:"selected",model:"auto"}];class wv extends mi{constructor(){super();L(this,"aiMenus",Mv.map(n=>({...n,name:`${ce(n.name)}`})));this.dropDivHeight="auto",this.dropDivWith="fit-content",this.width="36px",this.menuTextWidth="20px"}onCreate(n,r){var i;super.onCreate(n,r),this.menuData=((i=r.ai)==null?void 0:i.menus)||this.aiMenus}renderTemplate(){this.template=` +注意:你应该先判断一下这句话是中文还是英文,如果是中文,请给我返回中文的内容,如果是英文,请给我返回英文内容,只需要返回内容即可,不需要告知我是中文还是英文。`,text:"selected",model:"auto"},{icon:'',name:"ai-translation",prompt:"请帮我翻译以上内容,在翻译之前,想先判断一下这个内容是不是中文,如果是中文,则翻译问英文,如果是其他语言,则需要翻译为中文,注意,你只需要返回翻译的结果,不需要对此进行任何解释,不需要除了翻译结果以外的其他任何内容。",text:"selected",model:"auto"}];class Gv extends fi{constructor(){super();L(this,"aiMenus",Hv.map(n=>({...n,name:`${ce(n.name)}`})));this.dropDivHeight="auto",this.dropDivWith="fit-content",this.width="36px",this.menuTextWidth="20px"}onCreate(n,r){var i;super.onCreate(n,r),this.menuData=((i=r.ai)==null?void 0:i.menus)||this.aiMenus}renderTemplate(){this.template=`
`}createMenuElement(){const n=document.createElement("div");n.style.height=this.dropDivHeight,n.style.width=this.dropDivWith,n.classList.add("aie-dropdown-container");for(let r=0;r${this.onDropdownItemRender(r)}
- `,i.addEventListener("click",o=>{const a=this.menuData[r];a.onClick?a.onClick(o)&&this.tippyInstance.hide():(this.onDropdownItemClick(r),this.tippyInstance.hide())}),n.appendChild(i)}return this.tippyEl=n,n}onTransaction(n){}onDropdownActive(n,r){return!1}getSelectedText(n){if(n==="selected"){const{selection:r,doc:i}=this.editor.state;return i.textBetween(r.from,r.to)}else return this.editor.state.selection.$head.parent.textContent}onDropdownItemClick(n){const r=this.menuData[n],i=this.getSelectedText(r.text);if(i){const o=En.get(r.model);o?o==null||o.chat(i,r.prompt,new Oa(this.editor)):console.error("Ai model config error.")}else console.error("Can not get selected text.")}onDropdownItemRender(n){return`
${this.menuData[n].icon}
${this.menuData[n].name}
`}onMenuTextRender(n){return this.menuData[n].icon}}class Lv extends me{constructor(){super(),this.template=` + `,i.addEventListener("click",o=>{const a=this.menuData[r];a.onClick?a.onClick(o)&&this.tippyInstance.hide():(this.onDropdownItemClick(r),this.tippyInstance.hide())}),n.appendChild(i)}return this.tippyEl=n,n}onTransaction(n){}onDropdownActive(n,r){return!1}getSelectedText(n){if(n==="selected"){const{selection:r,doc:i}=this.editor.state;return i.textBetween(r.from,r.to)}else return this.editor.state.selection.$head.parent.textContent}onDropdownItemClick(n){const r=this.menuData[n],i=this.getSelectedText(r.text);if(i){const o=En.get(r.model);o?o==null||o.chat(i,r.prompt,new Aa(this.editor)):console.error("Ai model config error.")}else console.error("Can not get selected text.")}onDropdownItemRender(n){return`
${this.menuData[n].icon}
${this.menuData[n].name}
`}onMenuTextRender(n){return this.menuData[n].icon}}class Vv extends me{constructor(){super(),this.template=`
- `,this.registerClickListener()}onClick(e){var n;(n=this.editor)!=null&&n.isActive("container")?e.unsetContainer():e.setContainer("warning"),e.focus()}onActive(e){return e.isActive("container")}}class kv extends me{constructor(){super();L(this,"config")}onConfig(n){this.config=n,n.html?this.template=n.html:n.icon&&(this.template=`
${n.icon}
`),this.addEventListener("click",r=>{this.config&&this.config.onClick&&this.config.onClick(r,this.editor.aiEditor)})}}const re=(t,e)=>{window.customElements.get(t)||window.customElements.define(t,e)},_g=(t,e,n,r)=>{for(let i of r)if(i)try{if(typeof i=="string"){i=i.trim(),i==="|"&&(i="divider");const o=document.createElement("aie-"+i);if(o.classList.add("aie-menu-item"),e.editable===!1&&(o.style.pointerEvents="none",o.style.opacity="0.5"),o.onCreate(t,e),i!=="divider"){const a=ce(i);o.setAttribute("data-title",a),o.setAttribute("data-size",e.toolbarSize),a&&we(o,{appendTo:()=>t.editor.view.dom.closest(".aie-container"),content:a,theme:"aietip",arrow:!0})}n.push(o)}else if(i.toolbarKeys){const o=i,a=document.createElement("aie-group");if(a.classList.add("aie-menu-item"),e.editable===!1&&(a.style.pointerEvents="none",a.style.opacity="0.5"),a.onCreate(t,e),a.init(t,e,o),o.title){const s=ce(o.title);s&&we(a,{appendTo:()=>t.editor.view.dom.closest(".aie-container"),content:s,theme:"aietip",arrow:!0})}n.push(a)}else{const o=i,a=document.createElement("aie-custom");if(a.classList.add("aie-menu-item"),e.editable===!1&&(a.style.pointerEvents="none",a.style.opacity="0.5"),o.id&&a.setAttribute("id",o.id),o.className&&a.classList.add(o.className),a.onCreate(t,e),a.onConfig(o),o.tip){const s=ce(o.tip);s&&we(a,{appendTo:()=>t.editor.view.dom.closest(".aie-container"),content:s,theme:"aietip",arrow:!0})}o.onCreate&&o.onCreate(a,t.editor.aiEditor),n.push(a)}}catch(o){console.error(o,"Can not create toolbar by key: "+i)}};class Pv extends me{constructor(){super();L(this,"menuButtons",[]);L(this,"tippyInstance");L(this,"tippyEl");L(this,"iconSvg",'')}onCreate(n,r){super.onCreate(n,r)}init(n,r,i){_g(n,r,this.menuButtons,i.toolbarKeys),this.iconSvg=i.icon||this.iconSvg}renderTemplate(){this.template=`
${this.iconSvg}
`}onTransaction(n){for(let r of this.menuButtons)r.onTransaction(n)}connectedCallback(){this.renderTemplate(),super.connectedCallback(),this.tippyInstance=we(this.querySelector("#tippy"),{content:this.createMenuElement(),appendTo:this.closest(".aie-container"),placement:"bottom",trigger:"click",interactive:!0,arrow:!1})}createMenuElement(){const n=document.createElement("div");n.classList.add("aie-dropdown-container");for(let r=0;r{if(s.target.closest(".aie-menu-item"))return;const c=o.querySelector("#tippy");if(c){c.click();return}const u=o.querySelector("#dropdown");if(u){u.click();return}i.click()}),n.appendChild(o)}return this.tippyEl=n,n}}const Fv=["undo","redo","brush","eraser","divider","heading","font-family","font-size","divider","bold","italic","underline","strike","link","code","subscript","superscript","hr","todo","emoji","divider","highlight","font-color","divider","align","line-height","divider","bullet-list","ordered-list","indent-decrease","indent-increase","break","divider","image","video","attachment","quote","container","code-block","table","divider","source-code","printer","fullscreen","ai"];re("aie-undo",Lf);re("aie-undo",Lf);re("aie-redo",vC);re("aie-brush",mv);re("aie-container",Lv);re("aie-custom",kv);re("aie-eraser",av);re("aie-heading",Ay);re("aie-font-family",xy);re("aie-font-size",My);re("aie-bold",wy);re("aie-italic",Ly);re("aie-underline",ky);re("aie-strike",Py);re("aie-link",Zy);re("aie-source-code",Xy);re("aie-code",iv);re("aie-subscript",Fy);re("aie-superscript",By);re("aie-highlight",Gy);re("aie-font-color",Vy);re("aie-divider",Yy);re("aie-bullet-list",zy);re("aie-ordered-list",$y);re("aie-indent-decrease",qy);re("aie-indent-increase",Wy);re("aie-align",Qy);re("aie-todo",jy);re("aie-line-height",ev);re("aie-break",cv);re("aie-quote",tv);re("aie-image",nv);re("aie-video",rv);re("aie-code-block",ov);re("aie-hr",sv);re("aie-table",lv);re("aie-attachment",uv);re("aie-fullscreen",dv);re("aie-printer",pv);re("aie-emoji",_v);re("aie-ai",wv);re("aie-group",Pv);class mg extends HTMLElement{constructor(){super();L(this,"menuButtons",[])}connectedCallback(){if(this.children&&this.children.length>0)return;const n=document.createElement("div");for(let r of this.menuButtons)n.appendChild(r);n.style.display="flex",n.style.flexWrap="wrap",this.appendChild(n)}onCreate(n,r){let i=r.toolbarKeys||Fv;i=i.filter(o=>{var a;return typeof o=="string"?!((a=r.toolbarExcludeKeys)!=null&&a.includes(o)):!0}).filter((o,a,s)=>{const l=s[a-1];if(typeof o=="string"&&(typeof l=="string"||typeof l>"u")){const c=["divider","|",void 0];return c.includes(o)?!c.includes(l):!0}return!0}),_g(n,r,this.menuButtons,i)}onTransaction(n){for(let r of this.menuButtons)r.onTransaction(n)}onEditableChange(n){for(let r of this.menuButtons)r.onEditableChange(n)}}class fg extends HTMLElement{constructor(){super();L(this,"count",0);L(this,"draggable",!0)}initDraggable(n){if(this.draggable=!!n,!this.draggable)return;let r,i,o=300,a=300,s,l,c;const u=p=>{p.preventDefault(),document.removeEventListener("mouseup",u),document.removeEventListener("mousemove",d)},d=p=>{const _=p.clientX-r,m=p.clientY-i;if(_==0&&m==0)return;let f=s+_,g=l+m;f{var m;p.target.closest("svg")&&(p.preventDefault(),document.addEventListener("mouseup",u),document.addEventListener("mousemove",d),c=(m=p.target.closest(".aie-container"))==null?void 0:m.parentElement,s=c.clientWidth,l=c.clientHeight,r=p.clientX,i=p.clientY)}),this.addEventListener("mouseup",u)}updateCharacters(){this.draggable?this.innerHTML=`
+ `,this.registerClickListener()}onClick(e){var n;(n=this.editor)!=null&&n.isActive("container")?e.unsetContainer():e.setContainer("warning"),e.focus()}onActive(e){return e.isActive("container")}}class Yv extends me{constructor(){super();L(this,"config")}onConfig(n){this.config=n,n.html?this.template=n.html:n.icon&&(this.template=`
${n.icon}
`),this.addEventListener("click",r=>{this.config&&this.config.onClick&&this.config.onClick(r,this.editor.aiEditor)})}}const re=(t,e)=>{window.customElements.get(t)||window.customElements.define(t,e)},gh=(t,e,n,r)=>{for(let i of r)if(i)try{if(typeof i=="string"){i=i.trim(),i==="|"&&(i="divider");const o=document.createElement("aie-"+i);if(o.classList.add("aie-menu-item"),e.editable===!1&&(o.style.pointerEvents="none",o.style.opacity="0.5"),o.onCreate(t,e),i!=="divider"){const a=ce(i);o.setAttribute("data-title",a),o.setAttribute("data-size",e.toolbarSize),a&&we(o,{appendTo:()=>t.editor.view.dom.closest(".aie-container"),content:a,theme:"aietip",arrow:!0})}n.push(o)}else if(i.toolbarKeys){const o=i,a=document.createElement("aie-group");if(a.classList.add("aie-menu-item"),e.editable===!1&&(a.style.pointerEvents="none",a.style.opacity="0.5"),a.onCreate(t,e),a.init(t,e,o),o.title){const s=ce(o.title);s&&we(a,{appendTo:()=>t.editor.view.dom.closest(".aie-container"),content:s,theme:"aietip",arrow:!0})}n.push(a)}else{const o=i,a=document.createElement("aie-custom");if(a.classList.add("aie-menu-item"),e.editable===!1&&(a.style.pointerEvents="none",a.style.opacity="0.5"),o.id&&a.setAttribute("id",o.id),o.className&&a.classList.add(o.className),a.onCreate(t,e),a.onConfig(o),o.tip){const s=ce(o.tip);s&&we(a,{appendTo:()=>t.editor.view.dom.closest(".aie-container"),content:s,theme:"aietip",arrow:!0})}o.onCreate&&o.onCreate(a,t.editor.aiEditor),n.push(a)}}catch(o){console.error(o,"Can not create toolbar by key: "+i)}};class zv extends me{constructor(){super();L(this,"menuButtons",[]);L(this,"tippyInstance");L(this,"tippyEl");L(this,"iconSvg",'')}onCreate(n,r){super.onCreate(n,r)}init(n,r,i){gh(n,r,this.menuButtons,i.toolbarKeys),this.iconSvg=i.icon||this.iconSvg}renderTemplate(){this.template=`
${this.iconSvg}
`}onTransaction(n){for(let r of this.menuButtons)r.onTransaction(n)}connectedCallback(){this.renderTemplate(),super.connectedCallback(),this.tippyInstance=we(this.querySelector("#tippy"),{content:this.createMenuElement(),appendTo:this.closest(".aie-container"),placement:"bottom",trigger:"click",interactive:!0,arrow:!1})}createMenuElement(){const n=document.createElement("div");n.classList.add("aie-dropdown-container");for(let r=0;r{if(s.target.closest(".aie-menu-item"))return;const c=o.querySelector("#tippy");if(c){c.click();return}const u=o.querySelector("#dropdown");if(u){u.click();return}i.click()}),n.appendChild(o)}return this.tippyEl=n,n}}const $v=["undo","redo","brush","eraser","divider","heading","font-family","font-size","divider","bold","italic","underline","strike","link","code","subscript","superscript","hr","todo","emoji","divider","highlight","font-color","divider","align","line-height","divider","bullet-list","ordered-list","indent-decrease","indent-increase","break","divider","image","video","attachment","quote","container","code-block","table","divider","source-code","printer","fullscreen","ai"];re("aie-undo",Bf);re("aie-undo",Bf);re("aie-redo",MC);re("aie-brush",Cv);re("aie-container",Vv);re("aie-custom",Yv);re("aie-eraser",mv);re("aie-heading",Py);re("aie-font-family",By);re("aie-font-size",Hy);re("aie-bold",Gy);re("aie-italic",Vy);re("aie-underline",Yy);re("aie-strike",zy);re("aie-link",iv);re("aie-source-code",ov);re("aie-code",pv);re("aie-subscript",$y);re("aie-superscript",qy);re("aie-highlight",Qy);re("aie-font-color",Zy);re("aie-divider",Xy);re("aie-bullet-list",jy);re("aie-ordered-list",Jy);re("aie-indent-decrease",ev);re("aie-indent-increase",tv);re("aie-align",rv);re("aie-todo",av);re("aie-line-height",lv);re("aie-break",gv);re("aie-quote",cv);re("aie-image",uv);re("aie-video",dv);re("aie-code-block",_v);re("aie-hr",fv);re("aie-table",hv);re("aie-attachment",Ev);re("aie-fullscreen",Sv);re("aie-printer",bv);re("aie-emoji",Tv);re("aie-ai",Gv);re("aie-group",zv);class Eh extends HTMLElement{constructor(){super();L(this,"menuButtons",[])}connectedCallback(){if(this.children&&this.children.length>0)return;const n=document.createElement("div");for(let r of this.menuButtons)n.appendChild(r);n.style.display="flex",n.style.flexWrap="wrap",this.appendChild(n)}onCreate(n,r){let i=r.toolbarKeys||$v;i=i.filter(o=>{var a;return typeof o=="string"?!((a=r.toolbarExcludeKeys)!=null&&a.includes(o)):!0}).filter((o,a,s)=>{const l=s[a-1];if(typeof o=="string"&&(typeof l=="string"||typeof l>"u")){const c=["divider","|",void 0];return c.includes(o)?!c.includes(l):!0}return!0}),gh(n,r,this.menuButtons,i)}onTransaction(n){for(let r of this.menuButtons)r.onTransaction(n)}onEditableChange(n){for(let r of this.menuButtons)r.onEditableChange(n)}}class Sh extends HTMLElement{constructor(){super();L(this,"count",0);L(this,"draggable",!0)}initDraggable(n){if(this.draggable=!!n,!this.draggable)return;let r,i,o=300,a=300,s,l,c;const u=p=>{p.preventDefault(),document.removeEventListener("mouseup",u),document.removeEventListener("mousemove",d)},d=p=>{const _=p.clientX-r,m=p.clientY-i;if(_==0&&m==0)return;let f=s+_,h=l+m;f{var m;p.target.closest("svg")&&(p.preventDefault(),document.addEventListener("mouseup",u),document.addEventListener("mousemove",d),c=(m=p.target.closest(".aie-container"))==null?void 0:m.parentElement,s=c.clientWidth,l=c.clientHeight,r=p.clientX,i=p.clientY)}),this.addEventListener("mouseup",u)}updateCharacters(){this.draggable?this.innerHTML=`
Powered by AiEditor, Characters: ${this.count}
@@ -343,16 +343,16 @@ img.ProseMirror-separator { `:this.innerHTML=`
Powered by AiEditor, Characters: ${this.count}
- `}onCreate(n,r){this.count=n.editor.storage.characterCount.characters(),this.updateCharacters()}onTransaction(n){const r=n.editor.storage.characterCount.characters();r!=this.count&&(this.count=r,this.updateCharacters())}onEditableChange(n){}}const Bv=/^\s*>\s$/,Uv=Ne.create({name:"blockquote",addOptions(){return{HTMLAttributes:{}}},content:"block+",group:"block",defining:!0,parseHTML(){return[{tag:"blockquote"}]},renderHTML({HTMLAttributes:t}){return["blockquote",pe(this.options.HTMLAttributes,t),0]},addCommands(){return{setBlockquote:()=>({commands:t})=>t.wrapIn(this.name),toggleBlockquote:()=>({commands:t})=>t.toggleWrap(this.name),unsetBlockquote:()=>({commands:t})=>t.lift(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-b":()=>this.editor.commands.toggleBlockquote()}},addInputRules(){return[Sr({find:Bv,type:this.type})]}}),Hv=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/,Gv=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g,Vv=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/,Yv=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g,zv=ft.create({name:"bold",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"strong"},{tag:"b",getAttrs:t=>t.style.fontWeight!=="normal"&&null},{style:"font-weight=400",clearMark:t=>t.type.name===this.name},{style:"font-weight",getAttrs:t=>/^(bold(er)?|[5-9]\d{2,})$/.test(t)&&null}]},renderHTML({HTMLAttributes:t}){return["strong",pe(this.options.HTMLAttributes,t),0]},addCommands(){return{setBold:()=>({commands:t})=>t.setMark(this.name),toggleBold:()=>({commands:t})=>t.toggleMark(this.name),unsetBold:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[Er({find:Hv,type:this.type}),Er({find:Vv,type:this.type})]},addPasteRules(){return[Yn({find:Gv,type:this.type}),Yn({find:Yv,type:this.type})]}}),$v="listItem",xp="textStyle",Dp=/^\s*([-+*])\s$/,qv=Ne.create({name:"bulletList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:"ul"}]},renderHTML({HTMLAttributes:t}){return["ul",pe(this.options.HTMLAttributes,t),0]},addCommands(){return{toggleBulletList:()=>({commands:t,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes($v,this.editor.getAttributes(xp)).run():t.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let t=Sr({find:Dp,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(t=Sr({find:Dp,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(xp),editor:this.editor})),[t]}}),Wv=new RegExp("(?({commands:t})=>t.setMark(this.name),toggleCode:()=>({commands:t})=>t.toggleMark(this.name),unsetCode:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-e":()=>this.editor.commands.toggleCode()}},addInputRules(){return[Er({find:Wv,type:this.type})]},addPasteRules(){return[Yn({find:Kv,type:this.type})]}}),Zv=/^```([a-z]+)?[\s\n]$/,Xv=/^~~~([a-z]+)?[\s\n]$/,gg=Ne.create({name:"codeBlock",addOptions(){return{languageClassPrefix:"language-",exitOnTripleEnter:!0,exitOnArrowDown:!0,defaultLanguage:null,HTMLAttributes:{}}},content:"text*",marks:"",group:"block",code:!0,defining:!0,addAttributes(){return{language:{default:this.options.defaultLanguage,parseHTML:t=>{var e;const{languageClassPrefix:n}=this.options,o=[...((e=t.firstElementChild)===null||e===void 0?void 0:e.classList)||[]].filter(a=>a.startsWith(n)).map(a=>a.replace(n,""))[0];return o||null},rendered:!1}}},parseHTML(){return[{tag:"pre",preserveWhitespace:"full"}]},renderHTML({node:t,HTMLAttributes:e}){return["pre",pe(this.options.HTMLAttributes,e),["code",{class:t.attrs.language?this.options.languageClassPrefix+t.attrs.language:null},0]]},addCommands(){return{setCodeBlock:t=>({commands:e})=>e.setNode(this.name,t),toggleCodeBlock:t=>({commands:e})=>e.toggleNode(this.name,"paragraph",t)}},addKeyboardShortcuts(){return{"Mod-Alt-c":()=>this.editor.commands.toggleCodeBlock(),Backspace:()=>{const{empty:t,$anchor:e}=this.editor.state.selection,n=e.pos===1;return!t||e.parent.type.name!==this.name?!1:n||!e.parent.textContent.length?this.editor.commands.clearNodes():!1},Enter:({editor:t})=>{if(!this.options.exitOnTripleEnter)return!1;const{state:e}=t,{selection:n}=e,{$from:r,empty:i}=n;if(!i||r.parent.type!==this.type)return!1;const o=r.parentOffset===r.parent.nodeSize-2,a=r.parent.textContent.endsWith(` + `}onCreate(n,r){this.count=n.editor.storage.characterCount.characters(),this.updateCharacters()}onTransaction(n){const r=n.editor.storage.characterCount.characters();r!=this.count&&(this.count=r,this.updateCharacters())}onEditableChange(n){}}const qv=/^\s*>\s$/,Wv=Ne.create({name:"blockquote",addOptions(){return{HTMLAttributes:{}}},content:"block+",group:"block",defining:!0,parseHTML(){return[{tag:"blockquote"}]},renderHTML({HTMLAttributes:t}){return["blockquote",pe(this.options.HTMLAttributes,t),0]},addCommands(){return{setBlockquote:()=>({commands:t})=>t.wrapIn(this.name),toggleBlockquote:()=>({commands:t})=>t.toggleWrap(this.name),unsetBlockquote:()=>({commands:t})=>t.lift(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-b":()=>this.editor.commands.toggleBlockquote()}},addInputRules(){return[Sr({find:qv,type:this.type})]}}),Kv=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/,Qv=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g,Zv=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/,Xv=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g,jv=ft.create({name:"bold",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"strong"},{tag:"b",getAttrs:t=>t.style.fontWeight!=="normal"&&null},{style:"font-weight=400",clearMark:t=>t.type.name===this.name},{style:"font-weight",getAttrs:t=>/^(bold(er)?|[5-9]\d{2,})$/.test(t)&&null}]},renderHTML({HTMLAttributes:t}){return["strong",pe(this.options.HTMLAttributes,t),0]},addCommands(){return{setBold:()=>({commands:t})=>t.setMark(this.name),toggleBold:()=>({commands:t})=>t.toggleMark(this.name),unsetBold:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[Er({find:Kv,type:this.type}),Er({find:Zv,type:this.type})]},addPasteRules(){return[Yn({find:Qv,type:this.type}),Yn({find:Xv,type:this.type})]}}),Jv="listItem",wp="textStyle",Lp=/^\s*([-+*])\s$/,eR=Ne.create({name:"bulletList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:"ul"}]},renderHTML({HTMLAttributes:t}){return["ul",pe(this.options.HTMLAttributes,t),0]},addCommands(){return{toggleBulletList:()=>({commands:t,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(Jv,this.editor.getAttributes(wp)).run():t.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let t=Sr({find:Lp,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(t=Sr({find:Lp,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(wp),editor:this.editor})),[t]}}),tR=new RegExp("(?({commands:t})=>t.setMark(this.name),toggleCode:()=>({commands:t})=>t.toggleMark(this.name),unsetCode:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-e":()=>this.editor.commands.toggleCode()}},addInputRules(){return[Er({find:tR,type:this.type})]},addPasteRules(){return[Yn({find:nR,type:this.type})]}}),iR=/^```([a-z]+)?[\s\n]$/,oR=/^~~~([a-z]+)?[\s\n]$/,bh=Ne.create({name:"codeBlock",addOptions(){return{languageClassPrefix:"language-",exitOnTripleEnter:!0,exitOnArrowDown:!0,defaultLanguage:null,HTMLAttributes:{}}},content:"text*",marks:"",group:"block",code:!0,defining:!0,addAttributes(){return{language:{default:this.options.defaultLanguage,parseHTML:t=>{var e;const{languageClassPrefix:n}=this.options,o=[...((e=t.firstElementChild)===null||e===void 0?void 0:e.classList)||[]].filter(a=>a.startsWith(n)).map(a=>a.replace(n,""))[0];return o||null},rendered:!1}}},parseHTML(){return[{tag:"pre",preserveWhitespace:"full"}]},renderHTML({node:t,HTMLAttributes:e}){return["pre",pe(this.options.HTMLAttributes,e),["code",{class:t.attrs.language?this.options.languageClassPrefix+t.attrs.language:null},0]]},addCommands(){return{setCodeBlock:t=>({commands:e})=>e.setNode(this.name,t),toggleCodeBlock:t=>({commands:e})=>e.toggleNode(this.name,"paragraph",t)}},addKeyboardShortcuts(){return{"Mod-Alt-c":()=>this.editor.commands.toggleCodeBlock(),Backspace:()=>{const{empty:t,$anchor:e}=this.editor.state.selection,n=e.pos===1;return!t||e.parent.type.name!==this.name?!1:n||!e.parent.textContent.length?this.editor.commands.clearNodes():!1},Enter:({editor:t})=>{if(!this.options.exitOnTripleEnter)return!1;const{state:e}=t,{selection:n}=e,{$from:r,empty:i}=n;if(!i||r.parent.type!==this.type)return!1;const o=r.parentOffset===r.parent.nodeSize-2,a=r.parent.textContent.endsWith(` -`);return!o||!a?!1:t.chain().command(({tr:s})=>(s.delete(r.pos-2,r.pos),!0)).exitCode().run()},ArrowDown:({editor:t})=>{if(!this.options.exitOnArrowDown)return!1;const{state:e}=t,{selection:n,doc:r}=e,{$from:i,empty:o}=n;if(!o||i.parent.type!==this.type||!(i.parentOffset===i.parent.nodeSize-2))return!1;const s=i.after();return s===void 0?!1:r.nodeAt(s)?t.commands.command(({tr:c})=>(c.setSelection(te.near(r.resolve(s))),!0)):t.commands.exitCode()}}},addInputRules(){return[Ql({find:Zv,type:this.type,getAttributes:t=>({language:t[1]})}),Ql({find:Xv,type:this.type,getAttributes:t=>({language:t[1]})})]},addProseMirrorPlugins(){return[new Se({key:new ve("codeBlockVSCodeHandler"),props:{handlePaste:(t,e)=>{if(!e.clipboardData||this.editor.isActive(this.type.name))return!1;const n=e.clipboardData.getData("text/plain"),r=e.clipboardData.getData("vscode-editor-data"),i=r?JSON.parse(r):void 0,o=i==null?void 0:i.mode;if(!n||!o)return!1;const{tr:a,schema:s}=t.state,l=s.text(n.replace(/\r\n?/g,` -`));return a.replaceSelectionWith(this.type.create({language:o},l)),a.selection.$from.parent.type!==this.type&&a.setSelection(Z.near(a.doc.resolve(Math.max(0,a.selection.from-2)))),a.setMeta("paste",!0),t.dispatch(a),!0}}})]}}),jv=Ne.create({name:"doc",topNode:!0,content:"block+"});function Jv(t={}){return new Se({view(e){return new eR(e,t)}})}class eR{constructor(e,n){var r;this.editorView=e,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=(r=n.width)!==null&&r!==void 0?r:1,this.color=n.color===!1?void 0:n.color||"black",this.class=n.class,this.handlers=["dragover","dragend","drop","dragleave"].map(i=>{let o=a=>{this[i](a)};return e.dom.addEventListener(i,o),{name:i,handler:o}})}destroy(){this.handlers.forEach(({name:e,handler:n})=>this.editorView.dom.removeEventListener(e,n))}update(e,n){this.cursorPos!=null&&n.doc!=e.state.doc&&(this.cursorPos>e.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(e){e!=this.cursorPos&&(this.cursorPos=e,e==null?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let e=this.editorView.state.doc.resolve(this.cursorPos),n=!e.parent.inlineContent,r;if(n){let s=e.nodeBefore,l=e.nodeAfter;if(s||l){let c=this.editorView.nodeDOM(this.cursorPos-(s?s.nodeSize:0));if(c){let u=c.getBoundingClientRect(),d=s?u.bottom:u.top;s&&l&&(d=(d+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2),r={left:u.left,right:u.right,top:d-this.width/2,bottom:d+this.width/2}}}}if(!r){let s=this.editorView.coordsAtPos(this.cursorPos);r={left:s.left-this.width/2,right:s.left+this.width/2,top:s.top,bottom:s.bottom}}let i=this.editorView.dom.offsetParent;this.element||(this.element=i.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",n),this.element.classList.toggle("prosemirror-dropcursor-inline",!n);let o,a;if(!i||i==document.body&&getComputedStyle(i).position=="static")o=-pageXOffset,a=-pageYOffset;else{let s=i.getBoundingClientRect();o=s.left-i.scrollLeft,a=s.top-i.scrollTop}this.element.style.left=r.left-o+"px",this.element.style.top=r.top-a+"px",this.element.style.width=r.right-r.left+"px",this.element.style.height=r.bottom-r.top+"px"}scheduleRemoval(e){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),e)}dragover(e){if(!this.editorView.editable)return;let n=this.editorView.posAtCoords({left:e.clientX,top:e.clientY}),r=n&&n.inside>=0&&this.editorView.state.doc.nodeAt(n.inside),i=r&&r.type.spec.disableDropCursor,o=typeof i=="function"?i(this.editorView,n,e):i;if(n&&!o){let a=n.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let s=Im(this.editorView.state.doc,a,this.editorView.dragging.slice);s!=null&&(a=s)}this.setCursor(a),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(e){(e.target==this.editorView.dom||!this.editorView.dom.contains(e.relatedTarget))&&this.setCursor(null)}}const tR=ge.create({name:"dropCursor",addOptions(){return{color:"currentColor",width:1,class:void 0}},addProseMirrorPlugins(){return[Jv(this.options)]}});class Me extends te{constructor(e){super(e,e)}map(e,n){let r=e.resolve(n.map(this.head));return Me.valid(r)?new Me(r):te.near(r)}content(){return H.empty}eq(e){return e instanceof Me&&e.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(e,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for GapCursor.fromJSON");return new Me(e.resolve(n.pos))}getBookmark(){return new tu(this.anchor)}static valid(e){let n=e.parent;if(n.isTextblock||!nR(e)||!rR(e))return!1;let r=n.type.spec.allowGapCursor;if(r!=null)return r;let i=n.contentMatchAt(e.index()).defaultType;return i&&i.isTextblock}static findGapCursorFrom(e,n,r=!1){e:for(;;){if(!r&&Me.valid(e))return e;let i=e.pos,o=null;for(let a=e.depth;;a--){let s=e.node(a);if(n>0?e.indexAfter(a)0){o=s.child(n>0?e.indexAfter(a):e.index(a)-1);break}else if(a==0)return null;i+=n;let l=e.doc.resolve(i);if(Me.valid(l))return l}for(;;){let a=n>0?o.firstChild:o.lastChild;if(!a){if(o.isAtom&&!o.isText&&!ee.isSelectable(o)){e=e.doc.resolve(i+o.nodeSize*n),r=!1;continue e}break}o=a,i+=n;let s=e.doc.resolve(i);if(Me.valid(s))return s}return null}}}Me.prototype.visible=!1;Me.findFrom=Me.findGapCursorFrom;te.jsonID("gapcursor",Me);class tu{constructor(e){this.pos=e}map(e){return new tu(e.map(this.pos))}resolve(e){let n=e.resolve(this.pos);return Me.valid(n)?new Me(n):te.near(n)}}function nR(t){for(let e=t.depth;e>=0;e--){let n=t.index(e),r=t.node(e);if(n==0){if(r.type.spec.isolating)return!0;continue}for(let i=r.child(n-1);;i=i.lastChild){if(i.childCount==0&&!i.inlineContent||i.isAtom||i.type.spec.isolating)return!0;if(i.inlineContent)return!1}}return!0}function rR(t){for(let e=t.depth;e>=0;e--){let n=t.indexAfter(e),r=t.node(e);if(n==r.childCount){if(r.type.spec.isolating)return!0;continue}for(let i=r.child(n);;i=i.firstChild){if(i.childCount==0&&!i.inlineContent||i.isAtom||i.type.spec.isolating)return!0;if(i.inlineContent)return!1}}return!0}function iR(){return new Se({props:{decorations:lR,createSelectionBetween(t,e,n){return e.pos==n.pos&&Me.valid(n)?new Me(n):null},handleClick:aR,handleKeyDown:oR,handleDOMEvents:{beforeinput:sR}}})}const oR=wc({ArrowLeft:Lo("horiz",-1),ArrowRight:Lo("horiz",1),ArrowUp:Lo("vert",-1),ArrowDown:Lo("vert",1)});function Lo(t,e){const n=t=="vert"?e>0?"down":"up":e>0?"right":"left";return function(r,i,o){let a=r.selection,s=e>0?a.$to:a.$from,l=a.empty;if(a instanceof Z){if(!o.endOfTextblock(n)||s.depth==0)return!1;l=!1,s=r.doc.resolve(e>0?s.after():s.before())}let c=Me.findGapCursorFrom(s,e,l);return c?(i&&i(r.tr.setSelection(new Me(c))),!0):!1}}function aR(t,e,n){if(!t||!t.editable)return!1;let r=t.state.doc.resolve(e);if(!Me.valid(r))return!1;let i=t.posAtCoords({left:n.clientX,top:n.clientY});return i&&i.inside>-1&&ee.isSelectable(t.state.doc.nodeAt(i.inside))?!1:(t.dispatch(t.state.tr.setSelection(new Me(r))),!0)}function sR(t,e){if(e.inputType!="insertCompositionText"||!(t.state.selection instanceof Me))return!1;let{$from:n}=t.state.selection,r=n.parent.contentMatchAt(n.index()).findWrapping(t.state.schema.nodes.text);if(!r)return!1;let i=w.empty;for(let a=r.length-1;a>=0;a--)i=w.from(r[a].createAndFill(null,i));let o=t.state.tr.replace(n.pos,n.pos,new H(i,0,0));return o.setSelection(Z.near(o.doc.resolve(n.pos+1))),t.dispatch(o),!1}function lR(t){if(!(t.selection instanceof Me))return null;let e=document.createElement("div");return e.className="ProseMirror-gapcursor",be.create(t.doc,[ke.widget(t.selection.head,e,{key:"gapcursor"})])}const cR=ge.create({name:"gapCursor",addProseMirrorPlugins(){return[iR()]},extendNodeSchema(t){var e;const n={name:t.name,options:t.options,storage:t.storage};return{allowGapCursor:(e=le(W(t,"allowGapCursor",n)))!==null&&e!==void 0?e:null}}}),uR=Ne.create({name:"hardBreak",addOptions(){return{keepMarks:!0,HTMLAttributes:{}}},inline:!0,group:"inline",selectable:!1,linebreakReplacement:!0,parseHTML(){return[{tag:"br"}]},renderHTML({HTMLAttributes:t}){return["br",pe(this.options.HTMLAttributes,t)]},renderText(){return` -`},addCommands(){return{setHardBreak:()=>({commands:t,chain:e,state:n,editor:r})=>t.first([()=>t.exitCode(),()=>t.command(()=>{const{selection:i,storedMarks:o}=n;if(i.$from.parent.type.spec.isolating)return!1;const{keepMarks:a}=this.options,{splittableMarks:s}=r.extensionManager,l=o||i.$to.parentOffset&&i.$from.marks();return e().insertContent({type:this.name}).command(({tr:c,dispatch:u})=>{if(u&&l&&a){const d=l.filter(p=>s.includes(p.type.name));c.ensureMarks(d)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),hg=Ne.create({name:"heading",addOptions(){return{levels:[1,2,3,4,5,6],HTMLAttributes:{}}},content:"inline*",group:"block",defining:!0,addAttributes(){return{level:{default:1,rendered:!1}}},parseHTML(){return this.options.levels.map(t=>({tag:`h${t}`,attrs:{level:t}}))},renderHTML({node:t,HTMLAttributes:e}){return[`h${this.options.levels.includes(t.attrs.level)?t.attrs.level:this.options.levels[0]}`,pe(this.options.HTMLAttributes,e),0]},addCommands(){return{setHeading:t=>({commands:e})=>this.options.levels.includes(t.level)?e.setNode(this.name,t):!1,toggleHeading:t=>({commands:e})=>this.options.levels.includes(t.level)?e.toggleNode(this.name,"paragraph",t):!1}},addKeyboardShortcuts(){return this.options.levels.reduce((t,e)=>({...t,[`Mod-Alt-${e}`]:()=>this.editor.commands.toggleHeading({level:e})}),{})},addInputRules(){return this.options.levels.map(t=>Ql({find:new RegExp(`^(#{1,${t}})\\s$`),type:this.type,getAttributes:{level:t}}))}});var Na=200,$e=function(){};$e.prototype.append=function(e){return e.length?(e=$e.from(e),!this.length&&e||e.length=n?$e.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,n))};$e.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)};$e.prototype.forEach=function(e,n,r){n===void 0&&(n=0),r===void 0&&(r=this.length),n<=r?this.forEachInner(e,n,r,0):this.forEachInvertedInner(e,n,r,0)};$e.prototype.map=function(e,n,r){n===void 0&&(n=0),r===void 0&&(r=this.length);var i=[];return this.forEach(function(o,a){return i.push(e(o,a))},n,r),i};$e.from=function(e){return e instanceof $e?e:e&&e.length?new Eg(e):$e.empty};var Eg=function(t){function e(r){t.call(this),this.values=r}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={length:{configurable:!0},depth:{configurable:!0}};return e.prototype.flatten=function(){return this.values},e.prototype.sliceInner=function(i,o){return i==0&&o==this.length?this:new e(this.values.slice(i,o))},e.prototype.getInner=function(i){return this.values[i]},e.prototype.forEachInner=function(i,o,a,s){for(var l=o;l=a;l--)if(i(this.values[l],s+l)===!1)return!1},e.prototype.leafAppend=function(i){if(this.length+i.length<=Na)return new e(this.values.concat(i.flatten()))},e.prototype.leafPrepend=function(i){if(this.length+i.length<=Na)return new e(i.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(e.prototype,n),e}($e);$e.empty=new Eg([]);var dR=function(t){function e(n,r){t.call(this),this.left=n,this.right=r,this.length=n.length+r.length,this.depth=Math.max(n.depth,r.depth)+1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},e.prototype.getInner=function(r){return rs&&this.right.forEachInner(r,Math.max(i-s,0),Math.min(this.length,o)-s,a+s)===!1)return!1},e.prototype.forEachInvertedInner=function(r,i,o,a){var s=this.left.length;if(i>s&&this.right.forEachInvertedInner(r,i-s,Math.max(o,s)-s,a+s)===!1||o=o?this.right.slice(r-o,i-o):this.left.slice(r,o).append(this.right.slice(0,i-o))},e.prototype.leafAppend=function(r){var i=this.right.leafAppend(r);if(i)return new e(this.left,i)},e.prototype.leafPrepend=function(r){var i=this.left.leafPrepend(r);if(i)return new e(i,this.right)},e.prototype.appendInner=function(r){return this.left.depth>=Math.max(this.right.depth,r.depth)+1?new e(this.left,new e(this.right,r)):new e(this,r)},e}($e);const pR=500;class Ht{constructor(e,n){this.items=e,this.eventCount=n}popEvent(e,n){if(this.eventCount==0)return null;let r=this.items.length;for(;;r--)if(this.items.get(r-1).selection){--r;break}let i,o;n&&(i=this.remapping(r,this.items.length),o=i.maps.length);let a=e.tr,s,l,c=[],u=[];return this.items.forEach((d,p)=>{if(!d.step){i||(i=this.remapping(r,p+1),o=i.maps.length),o--,u.push(d);return}if(i){u.push(new $t(d.map));let _=d.step.map(i.slice(o)),m;_&&a.maybeStep(_).doc&&(m=a.mapping.maps[a.mapping.maps.length-1],c.push(new $t(m,void 0,void 0,c.length+u.length))),o--,m&&i.appendMap(m,o)}else a.maybeStep(d.step);if(d.selection)return s=i?d.selection.map(i.slice(o)):d.selection,l=new Ht(this.items.slice(0,r).append(u.reverse().concat(c)),this.eventCount-1),!1},this.items.length,0),{remaining:l,transform:a,selection:s}}addTransform(e,n,r,i){let o=[],a=this.eventCount,s=this.items,l=!i&&s.length?s.get(s.length-1):null;for(let u=0;umR&&(s=_R(s,c),a-=c),new Ht(s.append(o),a)}remapping(e,n){let r=new Kr;return this.items.forEach((i,o)=>{let a=i.mirrorOffset!=null&&o-i.mirrorOffset>=e?r.maps.length-i.mirrorOffset:void 0;r.appendMap(i.map,a)},e,n),r}addMaps(e){return this.eventCount==0?this:new Ht(this.items.append(e.map(n=>new $t(n))),this.eventCount)}rebased(e,n){if(!this.eventCount)return this;let r=[],i=Math.max(0,this.items.length-n),o=e.mapping,a=e.steps.length,s=this.eventCount;this.items.forEach(p=>{p.selection&&s--},i);let l=n;this.items.forEach(p=>{let _=o.getMirror(--l);if(_==null)return;a=Math.min(a,_);let m=o.maps[_];if(p.step){let f=e.steps[_].invert(e.docs[_]),g=p.selection&&p.selection.map(o.slice(l+1,_));g&&s++,r.push(new $t(m,f,g))}else r.push(new $t(m))},i);let c=[];for(let p=n;ppR&&(d=d.compress(this.items.length-r.length)),d}emptyItemCount(){let e=0;return this.items.forEach(n=>{n.step||e++}),e}compress(e=this.items.length){let n=this.remapping(0,e),r=n.maps.length,i=[],o=0;return this.items.forEach((a,s)=>{if(s>=e)i.push(a),a.selection&&o++;else if(a.step){let l=a.step.map(n.slice(r)),c=l&&l.getMap();if(r--,c&&n.appendMap(c,r),l){let u=a.selection&&a.selection.map(n.slice(r));u&&o++;let d=new $t(c.invert(),l,u),p,_=i.length-1;(p=i.length&&i[_].merge(d))?i[_]=p:i.push(d)}}else a.map&&r--},this.items.length,0),new Ht($e.from(i.reverse()),o)}}Ht.empty=new Ht($e.empty,0);function _R(t,e){let n;return t.forEach((r,i)=>{if(r.selection&&e--==0)return n=i,!1}),t.slice(n)}class $t{constructor(e,n,r,i){this.map=e,this.step=n,this.selection=r,this.mirrorOffset=i}merge(e){if(this.step&&e.step&&!e.selection){let n=e.step.merge(this.step);if(n)return new $t(n.getMap().invert(),n,this.selection)}}}class vn{constructor(e,n,r,i,o){this.done=e,this.undone=n,this.prevRanges=r,this.prevTime=i,this.prevComposition=o}}const mR=20;function fR(t,e,n,r){let i=n.getMeta(dr),o;if(i)return i.historyState;n.getMeta(ER)&&(t=new vn(t.done,t.undone,null,0,-1));let a=n.getMeta("appendedTransaction");if(n.steps.length==0)return t;if(a&&a.getMeta(dr))return a.getMeta(dr).redo?new vn(t.done.addTransform(n,void 0,r,ta(e)),t.undone,Mp(n.mapping.maps),t.prevTime,t.prevComposition):new vn(t.done,t.undone.addTransform(n,void 0,r,ta(e)),null,t.prevTime,t.prevComposition);if(n.getMeta("addToHistory")!==!1&&!(a&&a.getMeta("addToHistory")===!1)){let s=n.getMeta("composition"),l=t.prevTime==0||!a&&t.prevComposition!=s&&(t.prevTime<(n.time||0)-r.newGroupDelay||!gR(n,t.prevRanges)),c=a?ol(t.prevRanges,n.mapping):Mp(n.mapping.maps);return new vn(t.done.addTransform(n,l?e.selection.getBookmark():void 0,r,ta(e)),Ht.empty,c,n.time,s??t.prevComposition)}else return(o=n.getMeta("rebased"))?new vn(t.done.rebased(n,o),t.undone.rebased(n,o),ol(t.prevRanges,n.mapping),t.prevTime,t.prevComposition):new vn(t.done.addMaps(n.mapping.maps),t.undone.addMaps(n.mapping.maps),ol(t.prevRanges,n.mapping),t.prevTime,t.prevComposition)}function gR(t,e){if(!e)return!1;if(!t.docChanged)return!0;let n=!1;return t.mapping.maps[0].forEach((r,i)=>{for(let o=0;o=e[o]&&(n=!0)}),n}function Mp(t){let e=[];for(let n=t.length-1;n>=0&&e.length==0;n--)t[n].forEach((r,i,o,a)=>e.push(o,a));return e}function ol(t,e){if(!t)return null;let n=[];for(let r=0;r{let i=dr.getState(n);if(!i||(t?i.undone:i.done).eventCount==0)return!1;if(r){let o=hR(i,n,t);o&&r(e?o.scrollIntoView():o)}return!0}}const bg=Sg(!1,!0),Tg=Sg(!0,!0),bR=ge.create({name:"history",addOptions(){return{depth:100,newGroupDelay:500}},addCommands(){return{undo:()=>({state:t,dispatch:e})=>bg(t,e),redo:()=>({state:t,dispatch:e})=>Tg(t,e)}},addProseMirrorPlugins(){return[SR(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Mod-y":()=>this.editor.commands.redo(),"Mod-я":()=>this.editor.commands.undo(),"Shift-Mod-я":()=>this.editor.commands.redo()}}}),TR=Ne.create({name:"horizontalRule",addOptions(){return{HTMLAttributes:{}}},group:"block",parseHTML(){return[{tag:"hr"}]},renderHTML({HTMLAttributes:t}){return["hr",pe(this.options.HTMLAttributes,t)]},addCommands(){return{setHorizontalRule:()=>({chain:t,state:e})=>{const{selection:n}=e,{$from:r,$to:i}=n,o=t();return r.parentOffset===0?o.insertContentAt({from:Math.max(r.pos-1,0),to:i.pos},{type:this.name}):wf(n)?o.insertContentAt(i.pos,{type:this.name}):o.insertContent({type:this.name}),o.command(({tr:a,dispatch:s})=>{var l;if(s){const{$to:c}=a.selection,u=c.end();if(c.nodeAfter)c.nodeAfter.isTextblock?a.setSelection(Z.create(a.doc,c.pos+1)):c.nodeAfter.isBlock?a.setSelection(ee.create(a.doc,c.pos)):a.setSelection(Z.create(a.doc,c.pos));else{const d=(l=c.parent.type.contentMatch.defaultType)===null||l===void 0?void 0:l.create();d&&(a.insert(u,d),a.setSelection(Z.create(a.doc,u+1)))}a.scrollIntoView()}return!0}).run()}}},addInputRules(){return[Yc({find:/^(?:---|—-|___\s|\*\*\*\s)$/,type:this.type})]}}),CR=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/,yR=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g,vR=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/,RR=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g,OR=ft.create({name:"italic",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"em"},{tag:"i",getAttrs:t=>t.style.fontStyle!=="normal"&&null},{style:"font-style=normal",clearMark:t=>t.type.name===this.name},{style:"font-style=italic"}]},renderHTML({HTMLAttributes:t}){return["em",pe(this.options.HTMLAttributes,t),0]},addCommands(){return{setItalic:()=>({commands:t})=>t.setMark(this.name),toggleItalic:()=>({commands:t})=>t.toggleMark(this.name),unsetItalic:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[Er({find:CR,type:this.type}),Er({find:vR,type:this.type})]},addPasteRules(){return[Yn({find:yR,type:this.type}),Yn({find:RR,type:this.type})]}}),NR=Ne.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:t}){return["li",pe(this.options.HTMLAttributes,t),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),AR="listItem",Lp="textStyle",kp=/^(\d+)\.\s$/,IR=Ne.create({name:"orderedList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes(){return{start:{default:1,parseHTML:t=>t.hasAttribute("start")?parseInt(t.getAttribute("start")||"",10):1},type:{default:void 0,parseHTML:t=>t.getAttribute("type")}}},parseHTML(){return[{tag:"ol"}]},renderHTML({HTMLAttributes:t}){const{start:e,...n}=t;return e===1?["ol",pe(this.options.HTMLAttributes,n),0]:["ol",pe(this.options.HTMLAttributes,t),0]},addCommands(){return{toggleOrderedList:()=>({commands:t,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(AR,this.editor.getAttributes(Lp)).run():t.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let t=Sr({find:kp,type:this.type,getAttributes:e=>({start:+e[1]}),joinPredicate:(e,n)=>n.childCount+n.attrs.start===+e[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(t=Sr({find:kp,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes(Lp)}),joinPredicate:(e,n)=>n.childCount+n.attrs.start===+e[1],editor:this.editor})),[t]}}),xR=Ne.create({name:"paragraph",priority:1e3,addOptions(){return{HTMLAttributes:{}}},group:"block",content:"inline*",parseHTML(){return[{tag:"p"}]},renderHTML({HTMLAttributes:t}){return["p",pe(this.options.HTMLAttributes,t),0]},addCommands(){return{setParagraph:()=>({commands:t})=>t.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),DR=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/,MR=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g,wR=ft.create({name:"strike",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"s"},{tag:"del"},{tag:"strike"},{style:"text-decoration",consuming:!1,getAttrs:t=>t.includes("line-through")?{}:!1}]},renderHTML({HTMLAttributes:t}){return["s",pe(this.options.HTMLAttributes,t),0]},addCommands(){return{setStrike:()=>({commands:t})=>t.setMark(this.name),toggleStrike:()=>({commands:t})=>t.toggleMark(this.name),unsetStrike:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-s":()=>this.editor.commands.toggleStrike()}},addInputRules(){return[Er({find:DR,type:this.type})]},addPasteRules(){return[Yn({find:MR,type:this.type})]}}),LR=Ne.create({name:"text",group:"inline"}),kR=ge.create({name:"starterKit",addExtensions(){var t,e,n,r,i,o,a,s,l,c,u,d,p,_,m,f,g,E;const S=[];return this.options.bold!==!1&&S.push(zv.configure((t=this.options)===null||t===void 0?void 0:t.bold)),this.options.blockquote!==!1&&S.push(Uv.configure((e=this.options)===null||e===void 0?void 0:e.blockquote)),this.options.bulletList!==!1&&S.push(qv.configure((n=this.options)===null||n===void 0?void 0:n.bulletList)),this.options.code!==!1&&S.push(Qv.configure((r=this.options)===null||r===void 0?void 0:r.code)),this.options.codeBlock!==!1&&S.push(gg.configure((i=this.options)===null||i===void 0?void 0:i.codeBlock)),this.options.document!==!1&&S.push(jv.configure((o=this.options)===null||o===void 0?void 0:o.document)),this.options.dropcursor!==!1&&S.push(tR.configure((a=this.options)===null||a===void 0?void 0:a.dropcursor)),this.options.gapcursor!==!1&&S.push(cR.configure((s=this.options)===null||s===void 0?void 0:s.gapcursor)),this.options.hardBreak!==!1&&S.push(uR.configure((l=this.options)===null||l===void 0?void 0:l.hardBreak)),this.options.heading!==!1&&S.push(hg.configure((c=this.options)===null||c===void 0?void 0:c.heading)),this.options.history!==!1&&S.push(bR.configure((u=this.options)===null||u===void 0?void 0:u.history)),this.options.horizontalRule!==!1&&S.push(TR.configure((d=this.options)===null||d===void 0?void 0:d.horizontalRule)),this.options.italic!==!1&&S.push(OR.configure((p=this.options)===null||p===void 0?void 0:p.italic)),this.options.listItem!==!1&&S.push(NR.configure((_=this.options)===null||_===void 0?void 0:_.listItem)),this.options.orderedList!==!1&&S.push(IR.configure((m=this.options)===null||m===void 0?void 0:m.orderedList)),this.options.paragraph!==!1&&S.push(xR.configure((f=this.options)===null||f===void 0?void 0:f.paragraph)),this.options.strike!==!1&&S.push(wR.configure((g=this.options)===null||g===void 0?void 0:g.strike)),this.options.text!==!1&&S.push(LR.configure((E=this.options)===null||E===void 0?void 0:E.text)),S}}),PR=ft.create({name:"underline",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"u"},{style:"text-decoration",consuming:!1,getAttrs:t=>t.includes("underline")?{}:!1}]},renderHTML({HTMLAttributes:t}){return["u",pe(this.options.HTMLAttributes,t),0]},addCommands(){return{setUnderline:()=>({commands:t})=>t.setMark(this.name),toggleUnderline:()=>({commands:t})=>t.toggleMark(this.name),unsetUnderline:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-u":()=>this.editor.commands.toggleUnderline(),"Mod-U":()=>this.editor.commands.toggleUnderline()}}}),FR=ft.create({name:"textStyle",priority:101,addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"span",getAttrs:t=>t.hasAttribute("style")?{}:!1}]},renderHTML({HTMLAttributes:t}){return["span",pe(this.options.HTMLAttributes,t),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:t,commands:e})=>{const n=Gc(t,this.type);return Object.entries(n).some(([,i])=>!!i)?!0:e.unsetMark(this.name)}}}}),BR=ge.create({name:"fontFamily",addOptions(){return{types:["textStyle"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{fontFamily:{default:null,parseHTML:t=>t.style.fontFamily,renderHTML:t=>t.fontFamily?{style:`font-family: ${t.fontFamily}`}:{}}}}]},addCommands(){return{setFontFamily:t=>({chain:e})=>e().setMark("textStyle",{fontFamily:t}).run(),unsetFontFamily:()=>({chain:t})=>t().setMark("textStyle",{fontFamily:null}).removeEmptyTextStyle().run()}}}),Cg=t=>{const e=document.createElement("div");return e.classList.add("aie-loader-placeholder"),e.innerHTML=` +`);return!o||!a?!1:t.chain().command(({tr:s})=>(s.delete(r.pos-2,r.pos),!0)).exitCode().run()},ArrowDown:({editor:t})=>{if(!this.options.exitOnArrowDown)return!1;const{state:e}=t,{selection:n,doc:r}=e,{$from:i,empty:o}=n;if(!o||i.parent.type!==this.type||!(i.parentOffset===i.parent.nodeSize-2))return!1;const s=i.after();return s===void 0?!1:r.nodeAt(s)?t.commands.command(({tr:c})=>(c.setSelection(te.near(r.resolve(s))),!0)):t.commands.exitCode()}}},addInputRules(){return[Xl({find:iR,type:this.type,getAttributes:t=>({language:t[1]})}),Xl({find:oR,type:this.type,getAttributes:t=>({language:t[1]})})]},addProseMirrorPlugins(){return[new Se({key:new ve("codeBlockVSCodeHandler"),props:{handlePaste:(t,e)=>{if(!e.clipboardData||this.editor.isActive(this.type.name))return!1;const n=e.clipboardData.getData("text/plain"),r=e.clipboardData.getData("vscode-editor-data"),i=r?JSON.parse(r):void 0,o=i==null?void 0:i.mode;if(!n||!o)return!1;const{tr:a,schema:s}=t.state,l=s.text(n.replace(/\r\n?/g,` +`));return a.replaceSelectionWith(this.type.create({language:o},l)),a.selection.$from.parent.type!==this.type&&a.setSelection(Z.near(a.doc.resolve(Math.max(0,a.selection.from-2)))),a.setMeta("paste",!0),t.dispatch(a),!0}}})]}}),aR=Ne.create({name:"doc",topNode:!0,content:"block+"});function sR(t={}){return new Se({view(e){return new lR(e,t)}})}class lR{constructor(e,n){var r;this.editorView=e,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=(r=n.width)!==null&&r!==void 0?r:1,this.color=n.color===!1?void 0:n.color||"black",this.class=n.class,this.handlers=["dragover","dragend","drop","dragleave"].map(i=>{let o=a=>{this[i](a)};return e.dom.addEventListener(i,o),{name:i,handler:o}})}destroy(){this.handlers.forEach(({name:e,handler:n})=>this.editorView.dom.removeEventListener(e,n))}update(e,n){this.cursorPos!=null&&n.doc!=e.state.doc&&(this.cursorPos>e.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(e){e!=this.cursorPos&&(this.cursorPos=e,e==null?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let e=this.editorView.state.doc.resolve(this.cursorPos),n=!e.parent.inlineContent,r;if(n){let s=e.nodeBefore,l=e.nodeAfter;if(s||l){let c=this.editorView.nodeDOM(this.cursorPos-(s?s.nodeSize:0));if(c){let u=c.getBoundingClientRect(),d=s?u.bottom:u.top;s&&l&&(d=(d+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2),r={left:u.left,right:u.right,top:d-this.width/2,bottom:d+this.width/2}}}}if(!r){let s=this.editorView.coordsAtPos(this.cursorPos);r={left:s.left-this.width/2,right:s.left+this.width/2,top:s.top,bottom:s.bottom}}let i=this.editorView.dom.offsetParent;this.element||(this.element=i.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",n),this.element.classList.toggle("prosemirror-dropcursor-inline",!n);let o,a;if(!i||i==document.body&&getComputedStyle(i).position=="static")o=-pageXOffset,a=-pageYOffset;else{let s=i.getBoundingClientRect();o=s.left-i.scrollLeft,a=s.top-i.scrollTop}this.element.style.left=r.left-o+"px",this.element.style.top=r.top-a+"px",this.element.style.width=r.right-r.left+"px",this.element.style.height=r.bottom-r.top+"px"}scheduleRemoval(e){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),e)}dragover(e){if(!this.editorView.editable)return;let n=this.editorView.posAtCoords({left:e.clientX,top:e.clientY}),r=n&&n.inside>=0&&this.editorView.state.doc.nodeAt(n.inside),i=r&&r.type.spec.disableDropCursor,o=typeof i=="function"?i(this.editorView,n,e):i;if(n&&!o){let a=n.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let s=wm(this.editorView.state.doc,a,this.editorView.dragging.slice);s!=null&&(a=s)}this.setCursor(a),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(e){(e.target==this.editorView.dom||!this.editorView.dom.contains(e.relatedTarget))&&this.setCursor(null)}}const cR=he.create({name:"dropCursor",addOptions(){return{color:"currentColor",width:1,class:void 0}},addProseMirrorPlugins(){return[sR(this.options)]}});class Me extends te{constructor(e){super(e,e)}map(e,n){let r=e.resolve(n.map(this.head));return Me.valid(r)?new Me(r):te.near(r)}content(){return H.empty}eq(e){return e instanceof Me&&e.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(e,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for GapCursor.fromJSON");return new Me(e.resolve(n.pos))}getBookmark(){return new iu(this.anchor)}static valid(e){let n=e.parent;if(n.isTextblock||!uR(e)||!dR(e))return!1;let r=n.type.spec.allowGapCursor;if(r!=null)return r;let i=n.contentMatchAt(e.index()).defaultType;return i&&i.isTextblock}static findGapCursorFrom(e,n,r=!1){e:for(;;){if(!r&&Me.valid(e))return e;let i=e.pos,o=null;for(let a=e.depth;;a--){let s=e.node(a);if(n>0?e.indexAfter(a)0){o=s.child(n>0?e.indexAfter(a):e.index(a)-1);break}else if(a==0)return null;i+=n;let l=e.doc.resolve(i);if(Me.valid(l))return l}for(;;){let a=n>0?o.firstChild:o.lastChild;if(!a){if(o.isAtom&&!o.isText&&!ee.isSelectable(o)){e=e.doc.resolve(i+o.nodeSize*n),r=!1;continue e}break}o=a,i+=n;let s=e.doc.resolve(i);if(Me.valid(s))return s}return null}}}Me.prototype.visible=!1;Me.findFrom=Me.findGapCursorFrom;te.jsonID("gapcursor",Me);class iu{constructor(e){this.pos=e}map(e){return new iu(e.map(this.pos))}resolve(e){let n=e.resolve(this.pos);return Me.valid(n)?new Me(n):te.near(n)}}function uR(t){for(let e=t.depth;e>=0;e--){let n=t.index(e),r=t.node(e);if(n==0){if(r.type.spec.isolating)return!0;continue}for(let i=r.child(n-1);;i=i.lastChild){if(i.childCount==0&&!i.inlineContent||i.isAtom||i.type.spec.isolating)return!0;if(i.inlineContent)return!1}}return!0}function dR(t){for(let e=t.depth;e>=0;e--){let n=t.indexAfter(e),r=t.node(e);if(n==r.childCount){if(r.type.spec.isolating)return!0;continue}for(let i=r.child(n);;i=i.firstChild){if(i.childCount==0&&!i.inlineContent||i.isAtom||i.type.spec.isolating)return!0;if(i.inlineContent)return!1}}return!0}function pR(){return new Se({props:{decorations:hR,createSelectionBetween(t,e,n){return e.pos==n.pos&&Me.valid(n)?new Me(n):null},handleClick:mR,handleKeyDown:_R,handleDOMEvents:{beforeinput:fR}}})}const _R=Pc({ArrowLeft:Po("horiz",-1),ArrowRight:Po("horiz",1),ArrowUp:Po("vert",-1),ArrowDown:Po("vert",1)});function Po(t,e){const n=t=="vert"?e>0?"down":"up":e>0?"right":"left";return function(r,i,o){let a=r.selection,s=e>0?a.$to:a.$from,l=a.empty;if(a instanceof Z){if(!o.endOfTextblock(n)||s.depth==0)return!1;l=!1,s=r.doc.resolve(e>0?s.after():s.before())}let c=Me.findGapCursorFrom(s,e,l);return c?(i&&i(r.tr.setSelection(new Me(c))),!0):!1}}function mR(t,e,n){if(!t||!t.editable)return!1;let r=t.state.doc.resolve(e);if(!Me.valid(r))return!1;let i=t.posAtCoords({left:n.clientX,top:n.clientY});return i&&i.inside>-1&&ee.isSelectable(t.state.doc.nodeAt(i.inside))?!1:(t.dispatch(t.state.tr.setSelection(new Me(r))),!0)}function fR(t,e){if(e.inputType!="insertCompositionText"||!(t.state.selection instanceof Me))return!1;let{$from:n}=t.state.selection,r=n.parent.contentMatchAt(n.index()).findWrapping(t.state.schema.nodes.text);if(!r)return!1;let i=w.empty;for(let a=r.length-1;a>=0;a--)i=w.from(r[a].createAndFill(null,i));let o=t.state.tr.replace(n.pos,n.pos,new H(i,0,0));return o.setSelection(Z.near(o.doc.resolve(n.pos+1))),t.dispatch(o),!1}function hR(t){if(!(t.selection instanceof Me))return null;let e=document.createElement("div");return e.className="ProseMirror-gapcursor",be.create(t.doc,[ke.widget(t.selection.head,e,{key:"gapcursor"})])}const gR=he.create({name:"gapCursor",addProseMirrorPlugins(){return[pR()]},extendNodeSchema(t){var e;const n={name:t.name,options:t.options,storage:t.storage};return{allowGapCursor:(e=le(W(t,"allowGapCursor",n)))!==null&&e!==void 0?e:null}}}),ER=Ne.create({name:"hardBreak",addOptions(){return{keepMarks:!0,HTMLAttributes:{}}},inline:!0,group:"inline",selectable:!1,linebreakReplacement:!0,parseHTML(){return[{tag:"br"}]},renderHTML({HTMLAttributes:t}){return["br",pe(this.options.HTMLAttributes,t)]},renderText(){return` +`},addCommands(){return{setHardBreak:()=>({commands:t,chain:e,state:n,editor:r})=>t.first([()=>t.exitCode(),()=>t.command(()=>{const{selection:i,storedMarks:o}=n;if(i.$from.parent.type.spec.isolating)return!1;const{keepMarks:a}=this.options,{splittableMarks:s}=r.extensionManager,l=o||i.$to.parentOffset&&i.$from.marks();return e().insertContent({type:this.name}).command(({tr:c,dispatch:u})=>{if(u&&l&&a){const d=l.filter(p=>s.includes(p.type.name));c.ensureMarks(d)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),Th=Ne.create({name:"heading",addOptions(){return{levels:[1,2,3,4,5,6],HTMLAttributes:{}}},content:"inline*",group:"block",defining:!0,addAttributes(){return{level:{default:1,rendered:!1}}},parseHTML(){return this.options.levels.map(t=>({tag:`h${t}`,attrs:{level:t}}))},renderHTML({node:t,HTMLAttributes:e}){return[`h${this.options.levels.includes(t.attrs.level)?t.attrs.level:this.options.levels[0]}`,pe(this.options.HTMLAttributes,e),0]},addCommands(){return{setHeading:t=>({commands:e})=>this.options.levels.includes(t.level)?e.setNode(this.name,t):!1,toggleHeading:t=>({commands:e})=>this.options.levels.includes(t.level)?e.toggleNode(this.name,"paragraph",t):!1}},addKeyboardShortcuts(){return this.options.levels.reduce((t,e)=>({...t,[`Mod-Alt-${e}`]:()=>this.editor.commands.toggleHeading({level:e})}),{})},addInputRules(){return this.options.levels.map(t=>Xl({find:new RegExp(`^(#{1,${t}})\\s$`),type:this.type,getAttributes:{level:t}}))}});var Ia=200,$e=function(){};$e.prototype.append=function(e){return e.length?(e=$e.from(e),!this.length&&e||e.length=n?$e.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,n))};$e.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)};$e.prototype.forEach=function(e,n,r){n===void 0&&(n=0),r===void 0&&(r=this.length),n<=r?this.forEachInner(e,n,r,0):this.forEachInvertedInner(e,n,r,0)};$e.prototype.map=function(e,n,r){n===void 0&&(n=0),r===void 0&&(r=this.length);var i=[];return this.forEach(function(o,a){return i.push(e(o,a))},n,r),i};$e.from=function(e){return e instanceof $e?e:e&&e.length?new Ch(e):$e.empty};var Ch=function(t){function e(r){t.call(this),this.values=r}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={length:{configurable:!0},depth:{configurable:!0}};return e.prototype.flatten=function(){return this.values},e.prototype.sliceInner=function(i,o){return i==0&&o==this.length?this:new e(this.values.slice(i,o))},e.prototype.getInner=function(i){return this.values[i]},e.prototype.forEachInner=function(i,o,a,s){for(var l=o;l=a;l--)if(i(this.values[l],s+l)===!1)return!1},e.prototype.leafAppend=function(i){if(this.length+i.length<=Ia)return new e(this.values.concat(i.flatten()))},e.prototype.leafPrepend=function(i){if(this.length+i.length<=Ia)return new e(i.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(e.prototype,n),e}($e);$e.empty=new Ch([]);var SR=function(t){function e(n,r){t.call(this),this.left=n,this.right=r,this.length=n.length+r.length,this.depth=Math.max(n.depth,r.depth)+1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},e.prototype.getInner=function(r){return rs&&this.right.forEachInner(r,Math.max(i-s,0),Math.min(this.length,o)-s,a+s)===!1)return!1},e.prototype.forEachInvertedInner=function(r,i,o,a){var s=this.left.length;if(i>s&&this.right.forEachInvertedInner(r,i-s,Math.max(o,s)-s,a+s)===!1||o=o?this.right.slice(r-o,i-o):this.left.slice(r,o).append(this.right.slice(0,i-o))},e.prototype.leafAppend=function(r){var i=this.right.leafAppend(r);if(i)return new e(this.left,i)},e.prototype.leafPrepend=function(r){var i=this.left.leafPrepend(r);if(i)return new e(i,this.right)},e.prototype.appendInner=function(r){return this.left.depth>=Math.max(this.right.depth,r.depth)+1?new e(this.left,new e(this.right,r)):new e(this,r)},e}($e);const bR=500;class Ht{constructor(e,n){this.items=e,this.eventCount=n}popEvent(e,n){if(this.eventCount==0)return null;let r=this.items.length;for(;;r--)if(this.items.get(r-1).selection){--r;break}let i,o;n&&(i=this.remapping(r,this.items.length),o=i.maps.length);let a=e.tr,s,l,c=[],u=[];return this.items.forEach((d,p)=>{if(!d.step){i||(i=this.remapping(r,p+1),o=i.maps.length),o--,u.push(d);return}if(i){u.push(new $t(d.map));let _=d.step.map(i.slice(o)),m;_&&a.maybeStep(_).doc&&(m=a.mapping.maps[a.mapping.maps.length-1],c.push(new $t(m,void 0,void 0,c.length+u.length))),o--,m&&i.appendMap(m,o)}else a.maybeStep(d.step);if(d.selection)return s=i?d.selection.map(i.slice(o)):d.selection,l=new Ht(this.items.slice(0,r).append(u.reverse().concat(c)),this.eventCount-1),!1},this.items.length,0),{remaining:l,transform:a,selection:s}}addTransform(e,n,r,i){let o=[],a=this.eventCount,s=this.items,l=!i&&s.length?s.get(s.length-1):null;for(let u=0;uCR&&(s=TR(s,c),a-=c),new Ht(s.append(o),a)}remapping(e,n){let r=new Kr;return this.items.forEach((i,o)=>{let a=i.mirrorOffset!=null&&o-i.mirrorOffset>=e?r.maps.length-i.mirrorOffset:void 0;r.appendMap(i.map,a)},e,n),r}addMaps(e){return this.eventCount==0?this:new Ht(this.items.append(e.map(n=>new $t(n))),this.eventCount)}rebased(e,n){if(!this.eventCount)return this;let r=[],i=Math.max(0,this.items.length-n),o=e.mapping,a=e.steps.length,s=this.eventCount;this.items.forEach(p=>{p.selection&&s--},i);let l=n;this.items.forEach(p=>{let _=o.getMirror(--l);if(_==null)return;a=Math.min(a,_);let m=o.maps[_];if(p.step){let f=e.steps[_].invert(e.docs[_]),h=p.selection&&p.selection.map(o.slice(l+1,_));h&&s++,r.push(new $t(m,f,h))}else r.push(new $t(m))},i);let c=[];for(let p=n;pbR&&(d=d.compress(this.items.length-r.length)),d}emptyItemCount(){let e=0;return this.items.forEach(n=>{n.step||e++}),e}compress(e=this.items.length){let n=this.remapping(0,e),r=n.maps.length,i=[],o=0;return this.items.forEach((a,s)=>{if(s>=e)i.push(a),a.selection&&o++;else if(a.step){let l=a.step.map(n.slice(r)),c=l&&l.getMap();if(r--,c&&n.appendMap(c,r),l){let u=a.selection&&a.selection.map(n.slice(r));u&&o++;let d=new $t(c.invert(),l,u),p,_=i.length-1;(p=i.length&&i[_].merge(d))?i[_]=p:i.push(d)}}else a.map&&r--},this.items.length,0),new Ht($e.from(i.reverse()),o)}}Ht.empty=new Ht($e.empty,0);function TR(t,e){let n;return t.forEach((r,i)=>{if(r.selection&&e--==0)return n=i,!1}),t.slice(n)}class $t{constructor(e,n,r,i){this.map=e,this.step=n,this.selection=r,this.mirrorOffset=i}merge(e){if(this.step&&e.step&&!e.selection){let n=e.step.merge(this.step);if(n)return new $t(n.getMap().invert(),n,this.selection)}}}class vn{constructor(e,n,r,i,o){this.done=e,this.undone=n,this.prevRanges=r,this.prevTime=i,this.prevComposition=o}}const CR=20;function yR(t,e,n,r){let i=n.getMeta(dr),o;if(i)return i.historyState;n.getMeta(OR)&&(t=new vn(t.done,t.undone,null,0,-1));let a=n.getMeta("appendedTransaction");if(n.steps.length==0)return t;if(a&&a.getMeta(dr))return a.getMeta(dr).redo?new vn(t.done.addTransform(n,void 0,r,ra(e)),t.undone,kp(n.mapping.maps),t.prevTime,t.prevComposition):new vn(t.done,t.undone.addTransform(n,void 0,r,ra(e)),null,t.prevTime,t.prevComposition);if(n.getMeta("addToHistory")!==!1&&!(a&&a.getMeta("addToHistory")===!1)){let s=n.getMeta("composition"),l=t.prevTime==0||!a&&t.prevComposition!=s&&(t.prevTime<(n.time||0)-r.newGroupDelay||!vR(n,t.prevRanges)),c=a?sl(t.prevRanges,n.mapping):kp(n.mapping.maps);return new vn(t.done.addTransform(n,l?e.selection.getBookmark():void 0,r,ra(e)),Ht.empty,c,n.time,s??t.prevComposition)}else return(o=n.getMeta("rebased"))?new vn(t.done.rebased(n,o),t.undone.rebased(n,o),sl(t.prevRanges,n.mapping),t.prevTime,t.prevComposition):new vn(t.done.addMaps(n.mapping.maps),t.undone.addMaps(n.mapping.maps),sl(t.prevRanges,n.mapping),t.prevTime,t.prevComposition)}function vR(t,e){if(!e)return!1;if(!t.docChanged)return!0;let n=!1;return t.mapping.maps[0].forEach((r,i)=>{for(let o=0;o=e[o]&&(n=!0)}),n}function kp(t){let e=[];for(let n=t.length-1;n>=0&&e.length==0;n--)t[n].forEach((r,i,o,a)=>e.push(o,a));return e}function sl(t,e){if(!t)return null;let n=[];for(let r=0;r{let i=dr.getState(n);if(!i||(t?i.undone:i.done).eventCount==0)return!1;if(r){let o=RR(i,n,t);o&&r(e?o.scrollIntoView():o)}return!0}}const vh=yh(!1,!0),Rh=yh(!0,!0),AR=he.create({name:"history",addOptions(){return{depth:100,newGroupDelay:500}},addCommands(){return{undo:()=>({state:t,dispatch:e})=>vh(t,e),redo:()=>({state:t,dispatch:e})=>Rh(t,e)}},addProseMirrorPlugins(){return[NR(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Mod-y":()=>this.editor.commands.redo(),"Mod-я":()=>this.editor.commands.undo(),"Shift-Mod-я":()=>this.editor.commands.redo()}}}),IR=Ne.create({name:"horizontalRule",addOptions(){return{HTMLAttributes:{}}},group:"block",parseHTML(){return[{tag:"hr"}]},renderHTML({HTMLAttributes:t}){return["hr",pe(this.options.HTMLAttributes,t)]},addCommands(){return{setHorizontalRule:()=>({chain:t,state:e})=>{const{selection:n}=e,{$from:r,$to:i}=n,o=t();return r.parentOffset===0?o.insertContentAt({from:Math.max(r.pos-1,0),to:i.pos},{type:this.name}):Ff(n)?o.insertContentAt(i.pos,{type:this.name}):o.insertContent({type:this.name}),o.command(({tr:a,dispatch:s})=>{var l;if(s){const{$to:c}=a.selection,u=c.end();if(c.nodeAfter)c.nodeAfter.isTextblock?a.setSelection(Z.create(a.doc,c.pos+1)):c.nodeAfter.isBlock?a.setSelection(ee.create(a.doc,c.pos)):a.setSelection(Z.create(a.doc,c.pos));else{const d=(l=c.parent.type.contentMatch.defaultType)===null||l===void 0?void 0:l.create();d&&(a.insert(u,d),a.setSelection(Z.create(a.doc,u+1)))}a.scrollIntoView()}return!0}).run()}}},addInputRules(){return[qc({find:/^(?:---|—-|___\s|\*\*\*\s)$/,type:this.type})]}}),xR=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/,DR=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g,MR=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/,wR=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g,LR=ft.create({name:"italic",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"em"},{tag:"i",getAttrs:t=>t.style.fontStyle!=="normal"&&null},{style:"font-style=normal",clearMark:t=>t.type.name===this.name},{style:"font-style=italic"}]},renderHTML({HTMLAttributes:t}){return["em",pe(this.options.HTMLAttributes,t),0]},addCommands(){return{setItalic:()=>({commands:t})=>t.setMark(this.name),toggleItalic:()=>({commands:t})=>t.toggleMark(this.name),unsetItalic:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[Er({find:xR,type:this.type}),Er({find:MR,type:this.type})]},addPasteRules(){return[Yn({find:DR,type:this.type}),Yn({find:wR,type:this.type})]}}),kR=Ne.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:t}){return["li",pe(this.options.HTMLAttributes,t),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),PR="listItem",Fp="textStyle",Bp=/^(\d+)\.\s$/,FR=Ne.create({name:"orderedList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes(){return{start:{default:1,parseHTML:t=>t.hasAttribute("start")?parseInt(t.getAttribute("start")||"",10):1},type:{default:void 0,parseHTML:t=>t.getAttribute("type")}}},parseHTML(){return[{tag:"ol"}]},renderHTML({HTMLAttributes:t}){const{start:e,...n}=t;return e===1?["ol",pe(this.options.HTMLAttributes,n),0]:["ol",pe(this.options.HTMLAttributes,t),0]},addCommands(){return{toggleOrderedList:()=>({commands:t,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(PR,this.editor.getAttributes(Fp)).run():t.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let t=Sr({find:Bp,type:this.type,getAttributes:e=>({start:+e[1]}),joinPredicate:(e,n)=>n.childCount+n.attrs.start===+e[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(t=Sr({find:Bp,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes(Fp)}),joinPredicate:(e,n)=>n.childCount+n.attrs.start===+e[1],editor:this.editor})),[t]}}),BR=Ne.create({name:"paragraph",priority:1e3,addOptions(){return{HTMLAttributes:{}}},group:"block",content:"inline*",parseHTML(){return[{tag:"p"}]},renderHTML({HTMLAttributes:t}){return["p",pe(this.options.HTMLAttributes,t),0]},addCommands(){return{setParagraph:()=>({commands:t})=>t.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),UR=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/,HR=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g,GR=ft.create({name:"strike",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"s"},{tag:"del"},{tag:"strike"},{style:"text-decoration",consuming:!1,getAttrs:t=>t.includes("line-through")?{}:!1}]},renderHTML({HTMLAttributes:t}){return["s",pe(this.options.HTMLAttributes,t),0]},addCommands(){return{setStrike:()=>({commands:t})=>t.setMark(this.name),toggleStrike:()=>({commands:t})=>t.toggleMark(this.name),unsetStrike:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-s":()=>this.editor.commands.toggleStrike()}},addInputRules(){return[Er({find:UR,type:this.type})]},addPasteRules(){return[Yn({find:HR,type:this.type})]}}),VR=Ne.create({name:"text",group:"inline"}),YR=he.create({name:"starterKit",addExtensions(){var t,e,n,r,i,o,a,s,l,c,u,d,p,_,m,f,h,E;const S=[];return this.options.bold!==!1&&S.push(jv.configure((t=this.options)===null||t===void 0?void 0:t.bold)),this.options.blockquote!==!1&&S.push(Wv.configure((e=this.options)===null||e===void 0?void 0:e.blockquote)),this.options.bulletList!==!1&&S.push(eR.configure((n=this.options)===null||n===void 0?void 0:n.bulletList)),this.options.code!==!1&&S.push(rR.configure((r=this.options)===null||r===void 0?void 0:r.code)),this.options.codeBlock!==!1&&S.push(bh.configure((i=this.options)===null||i===void 0?void 0:i.codeBlock)),this.options.document!==!1&&S.push(aR.configure((o=this.options)===null||o===void 0?void 0:o.document)),this.options.dropcursor!==!1&&S.push(cR.configure((a=this.options)===null||a===void 0?void 0:a.dropcursor)),this.options.gapcursor!==!1&&S.push(gR.configure((s=this.options)===null||s===void 0?void 0:s.gapcursor)),this.options.hardBreak!==!1&&S.push(ER.configure((l=this.options)===null||l===void 0?void 0:l.hardBreak)),this.options.heading!==!1&&S.push(Th.configure((c=this.options)===null||c===void 0?void 0:c.heading)),this.options.history!==!1&&S.push(AR.configure((u=this.options)===null||u===void 0?void 0:u.history)),this.options.horizontalRule!==!1&&S.push(IR.configure((d=this.options)===null||d===void 0?void 0:d.horizontalRule)),this.options.italic!==!1&&S.push(LR.configure((p=this.options)===null||p===void 0?void 0:p.italic)),this.options.listItem!==!1&&S.push(kR.configure((_=this.options)===null||_===void 0?void 0:_.listItem)),this.options.orderedList!==!1&&S.push(FR.configure((m=this.options)===null||m===void 0?void 0:m.orderedList)),this.options.paragraph!==!1&&S.push(BR.configure((f=this.options)===null||f===void 0?void 0:f.paragraph)),this.options.strike!==!1&&S.push(GR.configure((h=this.options)===null||h===void 0?void 0:h.strike)),this.options.text!==!1&&S.push(VR.configure((E=this.options)===null||E===void 0?void 0:E.text)),S}}),zR=ft.create({name:"underline",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"u"},{style:"text-decoration",consuming:!1,getAttrs:t=>t.includes("underline")?{}:!1}]},renderHTML({HTMLAttributes:t}){return["u",pe(this.options.HTMLAttributes,t),0]},addCommands(){return{setUnderline:()=>({commands:t})=>t.setMark(this.name),toggleUnderline:()=>({commands:t})=>t.toggleMark(this.name),unsetUnderline:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-u":()=>this.editor.commands.toggleUnderline(),"Mod-U":()=>this.editor.commands.toggleUnderline()}}}),$R=ft.create({name:"textStyle",priority:101,addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"span",getAttrs:t=>t.hasAttribute("style")?{}:!1}]},renderHTML({HTMLAttributes:t}){return["span",pe(this.options.HTMLAttributes,t),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:t,commands:e})=>{const n=zc(t,this.type);return Object.entries(n).some(([,i])=>!!i)?!0:e.unsetMark(this.name)}}}}),qR=he.create({name:"fontFamily",addOptions(){return{types:["textStyle"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{fontFamily:{default:null,parseHTML:t=>t.style.fontFamily,renderHTML:t=>t.fontFamily?{style:`font-family: ${t.fontFamily}`}:{}}}}]},addCommands(){return{setFontFamily:t=>({chain:e})=>e().setMark("textStyle",{fontFamily:t}).run(),unsetFontFamily:()=>({chain:t})=>t().setMark("textStyle",{fontFamily:null}).removeEmptyTextStyle().run()}}}),Oh=t=>{const e=document.createElement("div");return e.classList.add("aie-loader-placeholder"),e.innerHTML=` - `,ke.widget(t.pos,e,{id:t.id})},UR=t=>{const e=document.createElement("div");return e.classList.add("aie-loader-placeholder"),e.style.height="20px",e.style.display="inline-block",e.innerHTML=` + `,ke.widget(t.pos,e,{id:t.id})},WR=t=>{const e=document.createElement("div");return e.classList.add("aie-loader-placeholder"),e.style.height="20px",e.style.display="inline-block",e.innerHTML=` ${t.text} - `,ke.widget(t.pos,e,{id:t.id})},HR=(t,e,n,r)=>{const i=new FormData;return i.append(r,t),new Promise((o,a)=>{fetch(e,{method:"post",headers:{Accept:"application/json",...n},body:i}).then(s=>s.json()).then(s=>{o(s)}).catch(s=>{a(s)})})},GR=(t,e,n,r)=>{let i=new FileReader;return new Promise((o,a)=>{i.onload=()=>o({errorCode:0,data:{src:i.result,href:t.name}}),i.onerror=()=>a(i.error),setTimeout(()=>i.readAsDataURL(t),5e3*Math.random())})},nu=t=>t?HR:GR,Pp=new ve("aie-attachment-plugin"),Ci="attachment_action",VR=ge.create({name:"attachment",addOptions(){return{uploadUrl:"",uploadHeaders:{},HTMLAttributes:{}}},addCommands(){return{uploadAttachment:t=>()=>{const e=typeof this.options.uploadHeaders=="object"?this.options.uploadHeaders:typeof this.options.uploadHeaders=="function"?this.options.uploadHeaders():{};if(this.options.uploaderEvent&&this.options.uploaderEvent.onUploadBefore&&this.options.uploaderEvent.onUploadBefore(t,this.options.uploadUrl,e)===!1)return!1;const n=Ss(),{state:{tr:r},view:i,schema:o}=this.editor;r.selection.empty||r.deleteSelection(),i.dispatch(r.setMeta(Ci,{type:"add",id:n,pos:r.selection.from,text:t.name}));const a=this.options.uploader||nu(this.options.uploadUrl),s=this.options.uploadFormName||"attachment";return a(t,this.options.uploadUrl,e,s).then(l=>{var c;if((c=this.options.uploaderEvent)!=null&&c.onSuccess){const u=this.options.uploaderEvent.onSuccess(t,l);if(typeof u=="boolean"&&!u)return;typeof u=="object"&&(l=u)}if(l.errorCode===0&&l.data&&l.data.href){let d=Pp.getState(this.editor.state).find(void 0,void 0,_=>_.id==n);const p=l.data.fileName||t.name;i.dispatch(i.state.tr.insertText(` ${p} `,d[0].from).addMark(d[0].from+1,p.length+d[0].from+1,o.marks.link.create({href:l.data.href,target:"_blank"})).setMeta(Ci,{type:"remove",id:n}))}else i.dispatch(r.setMeta(Ci,{type:"remove",id:n})),this.options.uploaderEvent&&this.options.uploaderEvent.onFailed&&this.options.uploaderEvent.onFailed(t,l)}).catch(l=>{const{state:{tr:c},view:u}=this.editor;u.dispatch(c.setMeta(Ci,{type:"remove",id:n})),this.options.uploaderEvent&&this.options.uploaderEvent.onError&&this.options.uploaderEvent.onError(t,l)}),!0}}},addProseMirrorPlugins(){const t=this.editor;return[new Se({key:Pp,state:{init:()=>be.empty,apply:(e,n)=>{const r=e.getMeta(Ci);return n=n.map(e.mapping,e.doc),r&&r.type==="add"?n=n.add(e.doc,[UR(r)]):r&&r.type==="remove"&&(n=n.remove(n.find(void 0,void 0,i=>i.id==r.id))),n}},props:{decorations(e){return this.getState(e)},handleDOMEvents:{drop(e,n){if(!(n.dataTransfer&&n.dataTransfer.files&&n.dataTransfer.files.length))return!1;const i=Array.from(n.dataTransfer.files).filter(o=>!/video/i.test(o.type)&&!/image/i.test(o.type));return n.preventDefault(),i.forEach(o=>{t.commands.uploadAttachment(o)}),!0}}}})]}}),YR=ge.create({name:"painter",addCommands(){return{setPainter:t=>({view:{dispatch:e,state:{tr:n},dom:r}})=>(r.style.cursor="context-menu",e(n.setMeta("painterAction",{type:"start",marks:t})),!0)}},addProseMirrorPlugins(){return[new Se({key:new ve("aie-painter"),state:{init:()=>[],apply:(t,e)=>{const n=t.getMeta("painterAction");return n&&n.type==="start"?e=n.marks:n&&n.type==="end"&&(e=[]),e}},props:{handleDOMEvents:{mousedown(t,e){const n=this.getState(t.state);if(!n||n.length==0)return!1;const r=()=>{document.removeEventListener("mouseup",r);let{dispatch:i,state:{tr:o,selection:a},dom:s}=t;s.style.cursor="",o=o.removeMark(a.from,a.to);for(let l of n)l.type.name!="link"&&(o=o.addMark(a.from,a.to,l));i(o.setMeta("painterAction",{type:"end"}))};return document.addEventListener("mouseup",r),!0}}}})]}}),zR=/(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))$/,$R=/(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))/g,qR=ft.create({name:"highlight",addOptions(){return{multicolor:!1,HTMLAttributes:{}}},addAttributes(){return this.options.multicolor?{color:{default:null,parseHTML:t=>t.getAttribute("data-color")||t.style.backgroundColor,renderHTML:t=>t.color?{"data-color":t.color,style:`background-color: ${t.color}; color: inherit`}:{}}}:{}},parseHTML(){return[{tag:"mark"}]},renderHTML({HTMLAttributes:t}){return["mark",pe(this.options.HTMLAttributes,t),0]},addCommands(){return{setHighlight:t=>({commands:e})=>e.setMark(this.name,t),toggleHighlight:t=>({commands:e})=>e.toggleMark(this.name,t),unsetHighlight:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-h":()=>this.editor.commands.toggleHighlight()}},addInputRules(){return[Er({find:zR,type:this.type})]},addPasteRules(){return[Yn({find:$R,type:this.type})]}}),WR=ge.create({name:"color",addOptions(){return{types:["textStyle"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{color:{default:null,parseHTML:t=>{var e;return(e=t.style.color)===null||e===void 0?void 0:e.replace(/['"]+/g,"")},renderHTML:t=>t.color?{style:`color: ${t.color}`}:{}}}}]},addCommands(){return{setColor:t=>({chain:e})=>e().setMark("textStyle",{color:t}).run(),unsetColor:()=>({chain:t})=>t().setMark("textStyle",{color:null}).removeEmptyTextStyle().run()}}}),KR=ge.create({name:"fontSize",addOptions(){return{types:["textStyle"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{fontSize:{default:null,parseHTML:t=>{var e;return(e=t.style.fontSize)==null?void 0:e.replace(/['"]+/g,"")},renderHTML:t=>t.fontSize?{style:`font-size: ${t.fontSize}`}:{}}}}]},addCommands(){return{setFontSize:t=>({chain:e})=>e().setMark("textStyle",{fontSize:t}).run(),unsetFontSize:()=>({chain:t})=>t().setMark("textStyle",{fontSize:null}).removeEmptyTextStyle().run()}}}),QR=ge.create({name:"lineHeight",addOptions(){return{types:["heading","paragraph"],defaultHeight:"100%"}},addGlobalAttributes(){return[{types:this.options.types,attributes:{lineHeight:{default:this.options.defaultHeight,parseHTML:t=>t.style.lineHeight||this.options.defaultHeight,renderHTML:t=>t.lineHeight===this.options.defaultHeight?{}:{style:`line-height: ${t.lineHeight}`}}}}]},addCommands(){return{setLineHeight:t=>({commands:e})=>this.options.types.every(n=>e.updateAttributes(n,{lineHeight:t})),unsetLineHeight:()=>({commands:t})=>this.options.types.every(e=>t.resetAttributes(e,"lineHeight"))}}}),ZR=ge.create({name:"textAlign",addOptions(){return{types:[],alignments:["left","center","right","justify"],defaultAlignment:"left"}},addGlobalAttributes(){return[{types:this.options.types,attributes:{textAlign:{default:this.options.defaultAlignment,parseHTML:t=>{const e=t.style.textAlign||this.options.defaultAlignment;return this.options.alignments.includes(e)?e:this.options.defaultAlignment},renderHTML:t=>t.textAlign===this.options.defaultAlignment?{}:{style:`text-align: ${t.textAlign}`}}}}]},addCommands(){return{setTextAlign:t=>({commands:e})=>this.options.alignments.includes(t)?this.options.types.map(n=>e.updateAttributes(n,{textAlign:t})).every(n=>n):!1,unsetTextAlign:()=>({commands:t})=>this.options.types.map(e=>t.resetAttributes(e,"textAlign")).every(e=>e)}},addKeyboardShortcuts(){return{"Mod-Shift-l":()=>this.editor.commands.setTextAlign("left"),"Mod-Shift-e":()=>this.editor.commands.setTextAlign("center"),"Mod-Shift-r":()=>this.editor.commands.setTextAlign("right"),"Mod-Shift-j":()=>this.editor.commands.setTextAlign("justify")}}}),XR=ge.create({name:"indent",priority:99,addOptions(){return{types:["listItem","paragraph"],minLevel:0,maxLevel:8}},addGlobalAttributes(){return[{types:this.options.types,attributes:{indent:{default:0,parseHTML:t=>{const e=Number(t.getAttribute("data-indent"));return e&&e>this.options.minLevel?e:null},renderHTML:t=>t.indent?{style:`text-indent: ${(t==null?void 0:t.indent)*2}em`,"data-indent":t==null?void 0:t.indent}:{}}}}]},addCommands(){const t=(r,i,o)=>{var s;const a=(s=r==null?void 0:r.doc)==null?void 0:s.nodeAt(i);if(a){const l=(a.attrs.indent||0)+o,{minLevel:c,maxLevel:u}=this.options,d=lu?u:l;if(d!==a.attrs.indent){const{indent:p,..._}=a.attrs,m=d>c?{..._,indent:d}:_;return r.setNodeMarkup(i,a.type,m,a.marks)}}return r},e=(r,i)=>{const{doc:o,selection:a}=r;if(o&&a&&(a instanceof Z||a instanceof Dt)){const{from:s,to:l}=a;o.nodesBetween(s,l,(c,u)=>this.options.types.includes(c.type.name)?(r=t(r,u,i),!1):!0)}return r},n=r=>()=>({tr:i,state:o,dispatch:a})=>{const{selection:s}=o;return i=i.setSelection(s),i=e(i,r),i.docChanged?(a==null||a(i),!0):!1};return{indent:n(1),outdent:n(-1)}},addKeyboardShortcuts(){return{Tab:()=>this.editor.commands.indent(),"Shift-Tab":()=>this.editor.commands.outdent()}}}),jR=/(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/,JR=Ne.create({name:"image",addOptions(){return{inline:!1,allowBase64:!1,HTMLAttributes:{}}},inline(){return this.options.inline},group(){return this.options.inline?"inline":"block"},draggable:!0,addAttributes(){return{src:{default:null},alt:{default:null},title:{default:null}}},parseHTML(){return[{tag:this.options.allowBase64?"img[src]":'img[src]:not([src^="data:"])'}]},renderHTML({HTMLAttributes:t}){return["img",pe(this.options.HTMLAttributes,t)]},addCommands(){return{setImage:t=>({commands:e})=>e.insertContent({type:this.name,attrs:t})}},addInputRules(){return[Yc({find:jR,type:this.type,getAttributes:t=>{const[,,e,n,r]=t;return{src:n,alt:e,title:r}}})]}}),yg=(t,e,n)=>{const r=t.querySelector(".resize-obj"),i=10;let o,a,s,l;const c=p=>{p.preventDefault(),e.addEventListener("mousemove",u),e.addEventListener("mouseup",d),e.addEventListener("mouseleave",d),o=p.clientX,a=Number(r.getAttribute("data-with"))||r.clientWidth,s=p.target.getAttribute("data-position"),l=e.clientWidth-100},u=p=>{const _=p.clientX-o;if(_==0)return;const m=s==="right"?_>0:_<0;let f=a+Math.abs(_)*(m?1:-1);f>=l&&(f=l),f{e.removeEventListener("mousemove",u),e.removeEventListener("mouseup",d),e.removeEventListener("mouseleave",d);const p={width:Number(r.getAttribute("data-width"))};n(p)};for(let p of t.querySelector(".aie-resize").children)p.addEventListener("mousedown",c)},eO=t=>typeof t=="number"||!isNaN(+t)?`${t}px`:t,Fp=new ve("aie-image-plugin"),yi="image_action",tO=JR.extend({name:"image",draggable:!0,selectable:!0,addOptions(){var t;return{...(t=this.parent)==null?void 0:t.call(this),uploadUrl:"",uploadHeaders:{},uploader:void 0,defaultSize:350}},allowGapCursor(){return!this.options.inline},addAttributes(){return{src:{default:"",parseHTML:t=>`${t.getAttribute("src")??""}`},alt:{default:"",parseHTML:t=>`${t.getAttribute("alt")??""}`,renderHTML:({alt:t})=>t?{alt:t}:{}},title:{default:"",parseHTML:t=>`${t.getAttribute("title")??""}`,renderHTML:({title:t})=>t?{title:t}:{}},width:{default:this.options.defaultSize,parseHTML:t=>`${t.getAttribute("width")??""}`,renderHTML:({width:t})=>t?{width:t}:{}},height:{default:"auto",parseHTML:t=>`${t.getAttribute("height")??""}`,renderHTML:({height:t})=>t?{height:t}:{}},align:{default:"left",parseHTML:t=>t.getAttribute("data-align")||t.getAttribute("align"),renderHTML:({align:t})=>t?{"data-align":t}:{}},"data-src":{default:null,parseHTML:t=>`${t.getAttribute("data-src")??""}`,renderHTML:t=>t["data-src"]?{"data-src":t["data-src"]}:{}},loading:{default:null,parseHTML:t=>`${t.getAttribute("loading")??""}`,renderHTML:({loading:t})=>t?{loading:t}:{}}}},parseHTML(){return[{tag:this.options.allowBase64?"img[src]":'img[src]:not([src^="data:"])'}]},renderHTML({HTMLAttributes:t}){const e=pe(this.options.HTMLAttributes,t);return["div",{style:`text-align:${e["data-align"]||"left"}`},["img",e]]},addCommands(){var t;return{...(t=this.parent)==null?void 0:t.call(this),uploadImage:e=>()=>{const n=typeof this.options.uploadHeaders=="object"?this.options.uploadHeaders:typeof this.options.uploadHeaders=="function"?this.options.uploadHeaders():{};if(this.options.uploaderEvent&&this.options.uploaderEvent.onUploadBefore&&this.options.uploaderEvent.onUploadBefore(e,this.options.uploadUrl,n)===!1)return!1;const r=Ss(),{state:{tr:i},view:o,schema:a}=this.editor;i.selection.empty||i.deleteSelection(),o.dispatch(i.setMeta(yi,{type:"add",id:r,pos:i.selection.from}));const s=this.options.uploader||nu(this.options.uploadUrl),l=this.options.uploadFormName||"image";return s(e,this.options.uploadUrl,n,l).then(c=>{var u;if((u=this.options.uploaderEvent)!=null&&u.onSuccess){const d=this.options.uploaderEvent.onSuccess(e,c);if(typeof d=="boolean"&&!d)return;typeof d=="object"&&(c=d)}if(c.errorCode===0&&c.data&&c.data.src){let p=Fp.getState(this.editor.state).find(void 0,void 0,_=>_.id==r);o.dispatch(o.state.tr.insert(p[0].from,a.nodes.image.create({src:c.data.src,alt:c.data.alt,align:c.data.align||"left",width:c.data.width||this.options.defaultSize,height:c.data.height||"auto","data-src":c.data["data-src"],loading:c.data.loading,class:c.data.class})).setMeta(yi,{type:"remove",id:r}))}else o.dispatch(i.setMeta(yi,{type:"remove",id:r})),this.options.uploaderEvent&&this.options.uploaderEvent.onFailed&&this.options.uploaderEvent.onFailed(e,c)}).catch(c=>{const{state:{tr:u},view:d}=this.editor;d.dispatch(u.setMeta(yi,{type:"remove",id:r})),this.options.uploaderEvent&&this.options.uploaderEvent.onError&&this.options.uploaderEvent.onError(e,c)}),!0}}},addNodeView(){return t=>{const e=document.createElement("div"),{src:n,width:r,height:i,align:o,alt:a}=t.node.attrs,s=eO(r||350),l=s.indexOf("%")>0?`style="width: ${s};"`:"",c=s.indexOf("%")>0?"calc(100% - 2px)":s;return e.classList.add(`align-${o}`),this.editor.isEditable?(e.innerHTML=` + `,ke.widget(t.pos,e,{id:t.id})},KR=(t,e,n,r)=>{const i=new FormData;return i.append(r,t),new Promise((o,a)=>{fetch(e,{method:"post",headers:{Accept:"application/json",...n},body:i}).then(s=>s.json()).then(s=>{o(s)}).catch(s=>{a(s)})})},QR=(t,e,n,r)=>{let i=new FileReader;return new Promise((o,a)=>{i.onload=()=>o({errorCode:0,data:{src:i.result,href:t.name}}),i.onerror=()=>a(i.error),setTimeout(()=>i.readAsDataURL(t),5e3*Math.random())})},ou=t=>t?KR:QR,Up=new ve("aie-attachment-plugin"),yi="attachment_action",ZR=he.create({name:"attachment",addOptions(){return{uploadUrl:"",uploadHeaders:{},HTMLAttributes:{}}},addCommands(){return{uploadAttachment:t=>()=>{const e=typeof this.options.uploadHeaders=="object"?this.options.uploadHeaders:typeof this.options.uploadHeaders=="function"?this.options.uploadHeaders():{};if(this.options.uploaderEvent&&this.options.uploaderEvent.onUploadBefore&&this.options.uploaderEvent.onUploadBefore(t,this.options.uploadUrl,e)===!1)return!1;const n=Ts(),{state:{tr:r},view:i,schema:o}=this.editor;r.selection.empty||r.deleteSelection(),i.dispatch(r.setMeta(yi,{type:"add",id:n,pos:r.selection.from,text:t.name}));const a=this.options.uploader||ou(this.options.uploadUrl),s=this.options.uploadFormName||"attachment";return a(t,this.options.uploadUrl,e,s).then(l=>{var c;if((c=this.options.uploaderEvent)!=null&&c.onSuccess){const u=this.options.uploaderEvent.onSuccess(t,l);if(typeof u=="boolean"&&!u)return;typeof u=="object"&&(l=u)}if(l.errorCode===0&&l.data&&l.data.href){let d=Up.getState(this.editor.state).find(void 0,void 0,_=>_.id==n);const p=l.data.fileName||t.name;i.dispatch(i.state.tr.insertText(` ${p} `,d[0].from).addMark(d[0].from+1,p.length+d[0].from+1,o.marks.link.create({href:l.data.href,target:"_blank"})).setMeta(yi,{type:"remove",id:n}))}else i.dispatch(r.setMeta(yi,{type:"remove",id:n})),this.options.uploaderEvent&&this.options.uploaderEvent.onFailed&&this.options.uploaderEvent.onFailed(t,l)}).catch(l=>{const{state:{tr:c},view:u}=this.editor;u.dispatch(c.setMeta(yi,{type:"remove",id:n})),this.options.uploaderEvent&&this.options.uploaderEvent.onError&&this.options.uploaderEvent.onError(t,l)}),!0}}},addProseMirrorPlugins(){const t=this.editor;return[new Se({key:Up,state:{init:()=>be.empty,apply:(e,n)=>{const r=e.getMeta(yi);return n=n.map(e.mapping,e.doc),r&&r.type==="add"?n=n.add(e.doc,[WR(r)]):r&&r.type==="remove"&&(n=n.remove(n.find(void 0,void 0,i=>i.id==r.id))),n}},props:{decorations(e){return this.getState(e)},handleDOMEvents:{drop(e,n){if(!(n.dataTransfer&&n.dataTransfer.files&&n.dataTransfer.files.length))return!1;const i=Array.from(n.dataTransfer.files).filter(o=>!/video/i.test(o.type)&&!/image/i.test(o.type));return n.preventDefault(),i.forEach(o=>{t.commands.uploadAttachment(o)}),!0}}}})]}}),XR=he.create({name:"painter",addCommands(){return{setPainter:t=>({view:{dispatch:e,state:{tr:n},dom:r}})=>(r.style.cursor="context-menu",e(n.setMeta("painterAction",{type:"start",marks:t})),!0)}},addProseMirrorPlugins(){return[new Se({key:new ve("aie-painter"),state:{init:()=>[],apply:(t,e)=>{const n=t.getMeta("painterAction");return n&&n.type==="start"?e=n.marks:n&&n.type==="end"&&(e=[]),e}},props:{handleDOMEvents:{mousedown(t,e){const n=this.getState(t.state);if(!n||n.length==0)return!1;const r=()=>{document.removeEventListener("mouseup",r);let{dispatch:i,state:{tr:o,selection:a},dom:s}=t;s.style.cursor="",o=o.removeMark(a.from,a.to);for(let l of n)l.type.name!="link"&&(o=o.addMark(a.from,a.to,l));i(o.setMeta("painterAction",{type:"end"}))};return document.addEventListener("mouseup",r),!0}}}})]}}),jR=/(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))$/,JR=/(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))/g,eO=ft.create({name:"highlight",addOptions(){return{multicolor:!1,HTMLAttributes:{}}},addAttributes(){return this.options.multicolor?{color:{default:null,parseHTML:t=>t.getAttribute("data-color")||t.style.backgroundColor,renderHTML:t=>t.color?{"data-color":t.color,style:`background-color: ${t.color}; color: inherit`}:{}}}:{}},parseHTML(){return[{tag:"mark"}]},renderHTML({HTMLAttributes:t}){return["mark",pe(this.options.HTMLAttributes,t),0]},addCommands(){return{setHighlight:t=>({commands:e})=>e.setMark(this.name,t),toggleHighlight:t=>({commands:e})=>e.toggleMark(this.name,t),unsetHighlight:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-h":()=>this.editor.commands.toggleHighlight()}},addInputRules(){return[Er({find:jR,type:this.type})]},addPasteRules(){return[Yn({find:JR,type:this.type})]}}),tO=he.create({name:"color",addOptions(){return{types:["textStyle"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{color:{default:null,parseHTML:t=>{var e;return(e=t.style.color)===null||e===void 0?void 0:e.replace(/['"]+/g,"")},renderHTML:t=>t.color?{style:`color: ${t.color}`}:{}}}}]},addCommands(){return{setColor:t=>({chain:e})=>e().setMark("textStyle",{color:t}).run(),unsetColor:()=>({chain:t})=>t().setMark("textStyle",{color:null}).removeEmptyTextStyle().run()}}}),nO=he.create({name:"fontSize",addOptions(){return{types:["textStyle"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{fontSize:{default:null,parseHTML:t=>{var e;return(e=t.style.fontSize)==null?void 0:e.replace(/['"]+/g,"")},renderHTML:t=>t.fontSize?{style:`font-size: ${t.fontSize}`}:{}}}}]},addCommands(){return{setFontSize:t=>({chain:e})=>e().setMark("textStyle",{fontSize:t}).run(),unsetFontSize:()=>({chain:t})=>t().setMark("textStyle",{fontSize:null}).removeEmptyTextStyle().run()}}}),rO=he.create({name:"lineHeight",addOptions(){return{types:["heading","paragraph"],defaultHeight:"100%"}},addGlobalAttributes(){return[{types:this.options.types,attributes:{lineHeight:{default:this.options.defaultHeight,parseHTML:t=>t.style.lineHeight||this.options.defaultHeight,renderHTML:t=>t.lineHeight===this.options.defaultHeight?{}:{style:`line-height: ${t.lineHeight}`}}}}]},addCommands(){return{setLineHeight:t=>({commands:e})=>this.options.types.every(n=>e.updateAttributes(n,{lineHeight:t})),unsetLineHeight:()=>({commands:t})=>this.options.types.every(e=>t.resetAttributes(e,"lineHeight"))}}}),iO=he.create({name:"textAlign",addOptions(){return{types:[],alignments:["left","center","right","justify"],defaultAlignment:"left"}},addGlobalAttributes(){return[{types:this.options.types,attributes:{textAlign:{default:this.options.defaultAlignment,parseHTML:t=>{const e=t.style.textAlign||this.options.defaultAlignment;return this.options.alignments.includes(e)?e:this.options.defaultAlignment},renderHTML:t=>t.textAlign===this.options.defaultAlignment?{}:{style:`text-align: ${t.textAlign}`}}}}]},addCommands(){return{setTextAlign:t=>({commands:e})=>this.options.alignments.includes(t)?this.options.types.map(n=>e.updateAttributes(n,{textAlign:t})).every(n=>n):!1,unsetTextAlign:()=>({commands:t})=>this.options.types.map(e=>t.resetAttributes(e,"textAlign")).every(e=>e)}},addKeyboardShortcuts(){return{"Mod-Shift-l":()=>this.editor.commands.setTextAlign("left"),"Mod-Shift-e":()=>this.editor.commands.setTextAlign("center"),"Mod-Shift-r":()=>this.editor.commands.setTextAlign("right"),"Mod-Shift-j":()=>this.editor.commands.setTextAlign("justify")}}}),oO=he.create({name:"indent",priority:99,addOptions(){return{types:["listItem","paragraph"],minLevel:0,maxLevel:8}},addGlobalAttributes(){return[{types:this.options.types,attributes:{indent:{default:0,parseHTML:t=>{const e=Number(t.getAttribute("data-indent"));return e&&e>this.options.minLevel?e:null},renderHTML:t=>t.indent?{style:`text-indent: ${(t==null?void 0:t.indent)*2}em`,"data-indent":t==null?void 0:t.indent}:{}}}}]},addCommands(){const t=(r,i,o)=>{var s;const a=(s=r==null?void 0:r.doc)==null?void 0:s.nodeAt(i);if(a){const l=(a.attrs.indent||0)+o,{minLevel:c,maxLevel:u}=this.options,d=lu?u:l;if(d!==a.attrs.indent){const{indent:p,..._}=a.attrs,m=d>c?{..._,indent:d}:_;return r.setNodeMarkup(i,a.type,m,a.marks)}}return r},e=(r,i)=>{const{doc:o,selection:a}=r;if(o&&a&&(a instanceof Z||a instanceof Dt)){const{from:s,to:l}=a;o.nodesBetween(s,l,(c,u)=>this.options.types.includes(c.type.name)?(r=t(r,u,i),!1):!0)}return r},n=r=>()=>({tr:i,state:o,dispatch:a})=>{const{selection:s}=o;return i=i.setSelection(s),i=e(i,r),i.docChanged?(a==null||a(i),!0):!1};return{indent:n(1),outdent:n(-1)}},addKeyboardShortcuts(){return{Tab:()=>this.editor.commands.indent(),"Shift-Tab":()=>this.editor.commands.outdent()}}}),aO=/(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/,sO=Ne.create({name:"image",addOptions(){return{inline:!1,allowBase64:!1,HTMLAttributes:{}}},inline(){return this.options.inline},group(){return this.options.inline?"inline":"block"},draggable:!0,addAttributes(){return{src:{default:null},alt:{default:null},title:{default:null}}},parseHTML(){return[{tag:this.options.allowBase64?"img[src]":'img[src]:not([src^="data:"])'}]},renderHTML({HTMLAttributes:t}){return["img",pe(this.options.HTMLAttributes,t)]},addCommands(){return{setImage:t=>({commands:e})=>e.insertContent({type:this.name,attrs:t})}},addInputRules(){return[qc({find:aO,type:this.type,getAttributes:t=>{const[,,e,n,r]=t;return{src:n,alt:e,title:r}}})]}}),Nh=(t,e,n)=>{const r=t.querySelector(".resize-obj"),i=10;let o,a,s,l;const c=p=>{p.preventDefault(),e.addEventListener("mousemove",u),e.addEventListener("mouseup",d),e.addEventListener("mouseleave",d),o=p.clientX,a=Number(r.getAttribute("data-with"))||r.clientWidth,s=p.target.getAttribute("data-position"),l=e.clientWidth-100},u=p=>{const _=p.clientX-o;if(_==0)return;const m=s==="right"?_>0:_<0;let f=a+Math.abs(_)*(m?1:-1);f>=l&&(f=l),f{e.removeEventListener("mousemove",u),e.removeEventListener("mouseup",d),e.removeEventListener("mouseleave",d);const p={width:Number(r.getAttribute("data-width"))};n(p)};for(let p of t.querySelector(".aie-resize").children)p.addEventListener("mousedown",c)},lO=t=>typeof t=="number"||!isNaN(+t)?`${t}px`:t,Hp=new ve("aie-image-plugin"),vi="image_action",cO=sO.extend({name:"image",draggable:!0,selectable:!0,addOptions(){var t;return{...(t=this.parent)==null?void 0:t.call(this),uploadUrl:"",uploadHeaders:{},uploader:void 0,defaultSize:350}},allowGapCursor(){return!this.options.inline},addAttributes(){return{src:{default:"",parseHTML:t=>`${t.getAttribute("src")??""}`},alt:{default:"",parseHTML:t=>`${t.getAttribute("alt")??""}`,renderHTML:({alt:t})=>t?{alt:t}:{}},title:{default:"",parseHTML:t=>`${t.getAttribute("title")??""}`,renderHTML:({title:t})=>t?{title:t}:{}},width:{default:this.options.defaultSize,parseHTML:t=>`${t.getAttribute("width")??""}`,renderHTML:({width:t})=>t?{width:t}:{}},height:{default:"auto",parseHTML:t=>`${t.getAttribute("height")??""}`,renderHTML:({height:t})=>t?{height:t}:{}},align:{default:"left",parseHTML:t=>t.getAttribute("data-align")||t.getAttribute("align"),renderHTML:({align:t})=>t?{"data-align":t}:{}},"data-src":{default:null,parseHTML:t=>`${t.getAttribute("data-src")??""}`,renderHTML:t=>t["data-src"]?{"data-src":t["data-src"]}:{}},loading:{default:null,parseHTML:t=>`${t.getAttribute("loading")??""}`,renderHTML:({loading:t})=>t?{loading:t}:{}}}},parseHTML(){return[{tag:this.options.allowBase64?"img[src]":'img[src]:not([src^="data:"])'}]},renderHTML({HTMLAttributes:t}){const e=pe(this.options.HTMLAttributes,t);return["div",{style:`text-align:${e["data-align"]||"left"}`},["img",e]]},addCommands(){var t;return{...(t=this.parent)==null?void 0:t.call(this),uploadImage:e=>()=>{const n=typeof this.options.uploadHeaders=="object"?this.options.uploadHeaders:typeof this.options.uploadHeaders=="function"?this.options.uploadHeaders():{};if(this.options.uploaderEvent&&this.options.uploaderEvent.onUploadBefore&&this.options.uploaderEvent.onUploadBefore(e,this.options.uploadUrl,n)===!1)return!1;const r=Ts(),{state:{tr:i},view:o,schema:a}=this.editor;i.selection.empty||i.deleteSelection(),o.dispatch(i.setMeta(vi,{type:"add",id:r,pos:i.selection.from}));const s=this.options.uploader||ou(this.options.uploadUrl),l=this.options.uploadFormName||"image";return s(e,this.options.uploadUrl,n,l).then(c=>{var u;if((u=this.options.uploaderEvent)!=null&&u.onSuccess){const d=this.options.uploaderEvent.onSuccess(e,c);if(typeof d=="boolean"&&!d)return;typeof d=="object"&&(c=d)}if(c.errorCode===0&&c.data&&c.data.src){let p=Hp.getState(this.editor.state).find(void 0,void 0,_=>_.id==r);o.dispatch(o.state.tr.insert(p[0].from,a.nodes.image.create({src:c.data.src,alt:c.data.alt,align:c.data.align||"left",width:c.data.width||this.options.defaultSize,height:c.data.height||"auto","data-src":c.data["data-src"],loading:c.data.loading,class:c.data.class})).setMeta(vi,{type:"remove",id:r}))}else o.dispatch(i.setMeta(vi,{type:"remove",id:r})),this.options.uploaderEvent&&this.options.uploaderEvent.onFailed&&this.options.uploaderEvent.onFailed(e,c)}).catch(c=>{const{state:{tr:u},view:d}=this.editor;d.dispatch(u.setMeta(vi,{type:"remove",id:r})),this.options.uploaderEvent&&this.options.uploaderEvent.onError&&this.options.uploaderEvent.onError(e,c)}),!0}}},addNodeView(){return t=>{const e=document.createElement("div"),{src:n,width:r,height:i,align:o,alt:a}=t.node.attrs,s=lO(r||350),l=s.indexOf("%")>0?`style="width: ${s};"`:"",c=s.indexOf("%")>0?"calc(100% - 2px)":s;return e.classList.add(`align-${o}`),this.editor.isEditable?(e.innerHTML=`
@@ -362,20 +362,20 @@ img.ProseMirror-separator {
${a}
- `,yg(e,this.editor.view.dom,u=>this.editor.commands.updateAttributes("image",u)),{dom:e}):(e.innerHTML=`
+ `,Nh(e,this.editor.view.dom,u=>this.editor.commands.updateAttributes("image",u)),{dom:e}):(e.innerHTML=`
${a} -
`,{dom:e})}},addProseMirrorPlugins(){const t=this.editor;return[new Se({key:Fp,state:{init:()=>be.empty,apply:(e,n)=>{const r=e.getMeta(yi);if(r){let i=!1;const o=n.map(e.mapping,e.doc,{onRemove:a=>{i=!0}});i||(n=o),r.type==="add"?n=n.add(e.doc,[Cg(r)]):r.type==="remove"&&(n=n.remove(n.find(void 0,void 0,a=>a.id==r.id)))}return n}},props:{decorations(e){return this.getState(e)},handlePaste:(e,n)=>{var o;const r=Array.from(((o=n.clipboardData)==null?void 0:o.items)||[]);let i=!1;for(const a of r)if(a.type.indexOf("image")===0){const s=a.getAsFile();s&&(n.preventDefault(),i=!0,this.editor.commands.uploadImage(s))}return i},handleDOMEvents:{drop(e,n){if(!(n.dataTransfer&&n.dataTransfer.files&&n.dataTransfer.files.length))return!1;const i=Array.from(n.dataTransfer.files).filter(c=>/image/i.test(c.type));if(i.length===0)return!1;n.preventDefault();const{state:{tr:o,doc:a},dispatch:s}=e,l=e.posAtCoords({left:n.clientX,top:n.clientY});return s(o.setSelection(Z.create(a,l.pos)).scrollIntoView()),i.forEach(c=>{t.commands.uploadImage(c)}),!0}},transformPastedHTML(e){const r=new DOMParser().parseFromString(e,"text/html"),i=r.documentElement.querySelector("body");if(i!=null&&i.children){const o=r.documentElement.querySelectorAll("p > img");for(const a of o){const s=a.parentNode,l=Array.prototype.indexOf.call(i.children,s);a.parentElement.prepend(a),i.insertBefore(a,i.children[l])}return i.innerHTML}return e}}})]}});var rc,ic;if(typeof WeakMap<"u"){let t=new WeakMap;rc=e=>t.get(e),ic=(e,n)=>(t.set(e,n),n)}else{const t=[];let n=0;rc=r=>{for(let i=0;i(n==10&&(n=0),t[n++]=r,t[n++]=i)}var Ie=class{constructor(t,e,n,r){this.width=t,this.height=e,this.map=n,this.problems=r}findCell(t){for(let e=0;e=n){(o||(o=[])).push({type:"overlong_rowspan",pos:u,n:E-b});break}const h=i+b*e;for(let C=0;Cr&&(o+=c.attrs.colspan)}}for(let a=0;a1&&(n=!0)}e==-1?e=o:e!=o&&(e=Math.max(e,o))}return e}function iO(t,e,n){t.problems||(t.problems=[]);const r={};for(let i=0;i0;e--)if(t.node(e).type.spec.tableRole=="row")return t.node(0).resolve(t.before(e+1));return null}function aO(t){for(let e=t.depth;e>0;e--){const n=t.node(e).type.spec.tableRole;if(n==="cell"||n==="header_cell")return t.node(e)}return null}function Vt(t){const e=t.selection.$head;for(let n=e.depth;n>0;n--)if(e.node(n).type.spec.tableRole=="row")return!0;return!1}function bs(t){const e=t.selection;if("$anchorCell"in e&&e.$anchorCell)return e.$anchorCell.pos>e.$headCell.pos?e.$anchorCell:e.$headCell;if("node"in e&&e.node&&e.node.type.spec.tableRole=="cell")return e.$anchor;const n=fi(e.$head)||sO(e.$head);if(n)return n;throw new RangeError(`No cell found around position ${e.head}`)}function sO(t){for(let e=t.nodeAfter,n=t.pos;e;e=e.firstChild,n++){const r=e.type.spec.tableRole;if(r=="cell"||r=="header_cell")return t.doc.resolve(n)}for(let e=t.nodeBefore,n=t.pos;e;e=e.lastChild,n--){const r=e.type.spec.tableRole;if(r=="cell"||r=="header_cell")return t.doc.resolve(n-e.nodeSize)}}function oc(t){return t.parent.type.spec.tableRole=="row"&&!!t.nodeAfter}function lO(t){return t.node(0).resolve(t.pos+t.nodeAfter.nodeSize)}function ru(t,e){return t.depth==e.depth&&t.pos>=e.start(-1)&&t.pos<=e.end(-1)}function vg(t,e,n){const r=t.node(-1),i=Ie.get(r),o=t.start(-1),a=i.nextCell(t.pos-o,e,n);return a==null?null:t.node(0).resolve(o+a)}function Tr(t,e,n=1){const r={...t,colspan:t.colspan-n};return r.colwidth&&(r.colwidth=r.colwidth.slice(),r.colwidth.splice(e,n),r.colwidth.some(i=>i>0)||(r.colwidth=null)),r}function Rg(t,e,n=1){const r={...t,colspan:t.colspan+n};if(r.colwidth){r.colwidth=r.colwidth.slice();for(let i=0;iu!=n.pos-o);l.unshift(n.pos-o);const c=l.map(u=>{const d=r.nodeAt(u);if(!d)throw RangeError(`No cell with offset ${u} found`);const p=o+u+1;return new Lm(s.resolve(p),s.resolve(p+d.content.size))});super(c[0].$from,c[0].$to,c),this.$anchorCell=e,this.$headCell=n}map(e,n){const r=e.resolve(n.map(this.$anchorCell.pos)),i=e.resolve(n.map(this.$headCell.pos));if(oc(r)&&oc(i)&&ru(r,i)){const o=this.$anchorCell.node(-1)!=r.node(-1);return o&&this.isRowSelection()?cn.rowSelection(r,i):o&&this.isColSelection()?cn.colSelection(r,i):new cn(r,i)}return Z.between(r,i)}content(){const e=this.$anchorCell.node(-1),n=Ie.get(e),r=this.$anchorCell.start(-1),i=n.rectBetween(this.$anchorCell.pos-r,this.$headCell.pos-r),o={},a=[];for(let l=i.top;l0||g>0){let E=m.attrs;if(f>0&&(E=Tr(E,0,f)),g>0&&(E=Tr(E,E.colspan-g,g)),_.lefti.bottom){const E={...m.attrs,rowspan:Math.min(_.bottom,i.bottom)-Math.max(_.top,i.top)};_.top0)return!1;const r=e+this.$anchorCell.nodeAfter.attrs.rowspan,i=n+this.$headCell.nodeAfter.attrs.rowspan;return Math.max(r,i)==this.$headCell.node(-1).childCount}static colSelection(e,n=e){const r=e.node(-1),i=Ie.get(r),o=e.start(-1),a=i.findCell(e.pos-o),s=i.findCell(n.pos-o),l=e.node(0);return a.top<=s.top?(a.top>0&&(e=l.resolve(o+i.map[a.left])),s.bottom0&&(n=l.resolve(o+i.map[s.left])),a.bottom0)return!1;const a=i+this.$anchorCell.nodeAfter.attrs.colspan,s=o+this.$headCell.nodeAfter.attrs.colspan;return Math.max(a,s)==n.width}eq(e){return e instanceof cn&&e.$anchorCell.pos==this.$anchorCell.pos&&e.$headCell.pos==this.$headCell.pos}static rowSelection(e,n=e){const r=e.node(-1),i=Ie.get(r),o=e.start(-1),a=i.findCell(e.pos-o),s=i.findCell(n.pos-o),l=e.node(0);return a.left<=s.left?(a.left>0&&(e=l.resolve(o+i.map[a.top*i.width])),s.right0&&(n=l.resolve(o+i.map[s.top*i.width])),a.right{e.push(ke.node(r,r+n.nodeSize,{class:"selectedCell"}))}),be.create(t.doc,e)}function pO({$from:t,$to:e}){if(t.pos==e.pos||t.pos=0&&!(t.after(i+1)=0&&!(e.before(o+1)>e.start(o));o--,r--);return n==r&&/row|table/.test(t.node(i).type.spec.tableRole)}function _O({$from:t,$to:e}){let n,r;for(let i=t.depth;i>0;i--){const o=t.node(i);if(o.type.spec.tableRole==="cell"||o.type.spec.tableRole==="header_cell"){n=o;break}}for(let i=e.depth;i>0;i--){const o=e.node(i);if(o.type.spec.tableRole==="cell"||o.type.spec.tableRole==="header_cell"){r=o;break}}return n!==r&&e.parentOffset===0}function mO(t,e,n){const r=(e||t).selection,i=(e||t).doc;let o,a;if(r instanceof ee&&(a=r.node.type.spec.tableRole)){if(a=="cell"||a=="header_cell")o=Te.create(i,r.from);else if(a=="row"){const s=i.resolve(r.from+1);o=Te.rowSelection(s,s)}else if(!n){const s=Ie.get(r.node),l=r.from+1,c=l+s.map[s.width*s.height-1];o=Te.create(i,l+1,c)}}else r instanceof Z&&pO(r)?o=Z.create(i,r.from):r instanceof Z&&_O(r)&&(o=Z.create(i,r.$from.start(),r.$from.end()));return o&&(e||(e=t.tr)).setSelection(o),e}var fO=new ve("fix-tables");function Ng(t,e,n,r){const i=t.childCount,o=e.childCount;e:for(let a=0,s=0;a{i.type.spec.tableRole=="table"&&(n=gO(t,i,o,n))};return e?e.doc!=t.doc&&Ng(e.doc,t.doc,0,r):t.doc.descendants(r),n}function gO(t,e,n,r){const i=Ie.get(e);if(!i.problems)return r;r||(r=t.tr);const o=[];for(let l=0;l0){let _="cell";u.firstChild&&(_=u.firstChild.type.spec.tableRole);const m=[];for(let g=0;g0?-1:0;cO(e,r,i+o)&&(o=i==0||i==e.width?null:0);for(let a=0;a0&&i0&&e.map[s-1]==l||i0?-1:0;TO(e,r,i+l)&&(l=i==0||i==e.height?null:0);for(let c=0,u=e.width*i;c0&&i0&&d==e.map[u-e.width]){const p=n.nodeAt(d).attrs;t.setNodeMarkup(t.mapping.slice(s).map(d+r),null,{...p,rowspan:p.rowspan-1}),c+=p.colspan-1}else if(i0&&n[o]==n[o-1]||r.right0&&n[i]==n[i-t]||r.bottomn[r.type.spec.tableRole])(t,e)}function NO(t){return(e,n)=>{var r;const i=e.selection;let o,a;if(i instanceof Te){if(i.$anchorCell.pos!=i.$headCell.pos)return!1;o=i.$anchorCell.nodeAfter,a=i.$anchorCell.pos}else{if(o=aO(i.$from),!o)return!1;a=(r=fi(i.$from))==null?void 0:r.pos}if(o==null||a==null||o.attrs.colspan==1&&o.attrs.rowspan==1)return!1;if(n){let s=o.attrs;const l=[],c=s.colwidth;s.rowspan>1&&(s={...s,rowspan:1}),s.colspan>1&&(s={...s,colspan:1});const u=on(e),d=e.tr;for(let _=0;_{a.attrs[t]!==e&&o.setNodeMarkup(s,null,{...a.attrs,[t]:e})}):o.setNodeMarkup(i.pos,null,{...i.nodeAfter.attrs,[t]:e}),r(o)}return!0}}function IO(t){return function(e,n){if(!Vt(e))return!1;if(n){const r=it(e.schema),i=on(e),o=e.tr,a=i.map.cellsInRect(t=="column"?{left:i.left,top:0,right:i.right,bottom:i.map.height}:t=="row"?{left:0,top:i.top,right:i.map.width,bottom:i.bottom}:i),s=a.map(l=>i.table.nodeAt(l));for(let l=0;l{const m=_+o.tableStart,f=a.doc.nodeAt(m);f&&a.setNodeMarkup(m,p,f.attrs)}),r(a)}return!0}}eo("row",{useDeprecatedLogic:!0});eo("column",{useDeprecatedLogic:!0});var xO=eo("cell",{useDeprecatedLogic:!0});function DO(t,e){if(e<0){const n=t.nodeBefore;if(n)return t.pos-n.nodeSize;for(let r=t.index(-1)-1,i=t.before();r>=0;r--){const o=t.node(-1).child(r),a=o.lastChild;if(a)return i-1-a.nodeSize;i-=o.nodeSize}}else{if(t.index()0;r--)if(n.node(r).type.spec.tableRole=="table")return e&&e(t.tr.delete(n.before(r),n.after(r)).scrollIntoView()),!0;return!1}function ko(t,e){const n=t.selection;if(!(n instanceof Te))return!1;if(e){const r=t.tr,i=it(t.schema).cell.createAndFill().content;n.forEachCell((o,a)=>{o.content.eq(i)||r.replace(r.mapping.map(a+1),r.mapping.map(a+o.nodeSize-1),new H(i,0,0))}),r.docChanged&&e(r)}return!0}function wO(t){if(!t.size)return null;let{content:e,openStart:n,openEnd:r}=t;for(;e.childCount==1&&(n>0&&r>0||e.child(0).type.spec.tableRole=="table");)n--,r--,e=e.child(0).content;const i=e.child(0),o=i.type.spec.tableRole,a=i.type.schema,s=[];if(o=="row")for(let l=0;l=0;a--){const{rowspan:s,colspan:l}=o.child(a).attrs;for(let c=i;c=e.length&&e.push(w.empty),n[i]r&&(p=p.type.createChecked(Tr(p.attrs,p.attrs.colspan,u+p.attrs.colspan-r),p.content)),c.push(p),u+=p.attrs.colspan;for(let _=1;_i&&(d=d.type.create({...d.attrs,rowspan:Math.max(1,i-d.attrs.rowspan)},d.content)),l.push(d)}o.push(w.from(l))}n=o,e=i}return{width:t,height:e,rows:n}}function PO(t,e,n,r,i,o,a){const s=t.doc.type.schema,l=it(s);let c,u;if(i>e.width)for(let d=0,p=0;de.height){const d=[];for(let m=0,f=(e.height-1)*e.width;m=e.width?!1:n.nodeAt(e.map[f+m]).type==l.header_cell;d.push(g?u||(u=l.header_cell.createAndFill()):c||(c=l.cell.createAndFill()))}const p=l.row.create(null,w.from(d)),_=[];for(let m=e.height;m{if(!i)return!1;const o=n.selection;if(o instanceof Te)return na(n,r,te.near(o.$headCell,e));if(t!="horiz"&&!o.empty)return!1;const a=Dg(i,t,e);if(a==null)return!1;if(t=="horiz")return na(n,r,te.near(n.doc.resolve(o.head+e),e));{const s=n.doc.resolve(a),l=vg(s,t,e);let c;return l?c=te.near(l,1):e<0?c=te.near(n.doc.resolve(s.before(-1)),-1):c=te.near(n.doc.resolve(s.after(-1)),1),na(n,r,c)}}}function Fo(t,e){return(n,r,i)=>{if(!i)return!1;const o=n.selection;let a;if(o instanceof Te)a=o;else{const l=Dg(i,t,e);if(l==null)return!1;a=new Te(n.doc.resolve(l))}const s=vg(a.$headCell,t,e);return s?na(n,r,new Te(a.$anchorCell,s)):!1}}function BO(t,e){const n=t.state.doc,r=fi(n.resolve(e));return r?(t.dispatch(t.state.tr.setSelection(new Te(r))),!0):!1}function UO(t,e,n){if(!Vt(t.state))return!1;let r=wO(n);const i=t.state.selection;if(i instanceof Te){r||(r={width:1,height:1,rows:[w.from(ac(it(t.state.schema).cell,n))]});const o=i.$anchorCell.node(-1),a=i.$anchorCell.start(-1),s=Ie.get(o).rectBetween(i.$anchorCell.pos-a,i.$headCell.pos-a);return r=kO(r,s.right-s.left,s.bottom-s.top),$p(t.state,t.dispatch,a,s,r),!0}else if(r){const o=bs(t.state),a=o.start(-1);return $p(t.state,t.dispatch,a,Ie.get(o.node(-1)).findCell(o.pos-a),r),!0}else return!1}function HO(t,e){var n;if(e.ctrlKey||e.metaKey)return;const r=qp(t,e.target);let i;if(e.shiftKey&&t.state.selection instanceof Te)o(t.state.selection.$anchorCell,e),e.preventDefault();else if(e.shiftKey&&r&&(i=fi(t.state.selection.$anchor))!=null&&((n=sl(t,e))==null?void 0:n.pos)!=i.pos)o(i,e),e.preventDefault();else if(!r)return;function o(l,c){let u=sl(t,c);const d=An.getState(t.state)==null;if(!u||!ru(l,u))if(d)u=l;else return;const p=new Te(l,u);if(d||!t.state.selection.eq(p)){const _=t.state.tr.setSelection(p);d&&_.setMeta(An,l.pos),t.dispatch(_)}}function a(){t.root.removeEventListener("mouseup",a),t.root.removeEventListener("dragstart",a),t.root.removeEventListener("mousemove",s),An.getState(t.state)!=null&&t.dispatch(t.state.tr.setMeta(An,-1))}function s(l){const c=l,u=An.getState(t.state);let d;if(u!=null)d=t.state.doc.resolve(u);else if(qp(t,c.target)!=r&&(d=sl(t,e),!d))return a();d&&o(d,c)}t.root.addEventListener("mouseup",a),t.root.addEventListener("dragstart",a),t.root.addEventListener("mousemove",s)}function Dg(t,e,n){if(!(t.state.selection instanceof Z))return null;const{$head:r}=t.state.selection;for(let i=r.depth-1;i>=0;i--){const o=r.node(i);if((n<0?r.index(i):r.indexAfter(i))!=(n<0?0:o.childCount))return null;if(o.type.spec.tableRole=="cell"||o.type.spec.tableRole=="header_cell"){const s=r.before(i),l=e=="vert"?n>0?"down":"up":n>0?"right":"left";return t.endOfTextblock(l)?s:null}}return null}function qp(t,e){for(;e&&e!=t.dom;e=e.parentNode)if(e.nodeName=="TD"||e.nodeName=="TH")return e;return null}function sl(t,e){const n=t.posAtCoords({left:e.clientX,top:e.clientY});return n&&n?fi(t.state.doc.resolve(n.pos)):null}var GO=class{constructor(e,n){this.node=e,this.defaultCellMinWidth=n,this.dom=document.createElement("div"),this.dom.className="tableWrapper",this.table=this.dom.appendChild(document.createElement("table")),this.table.style.setProperty("--default-cell-min-width",`${n}px`),this.colgroup=this.table.appendChild(document.createElement("colgroup")),sc(e,this.colgroup,this.table,n),this.contentDOM=this.table.appendChild(document.createElement("tbody"))}update(e){return e.type!=this.node.type?!1:(this.node=e,sc(e,this.colgroup,this.table,this.defaultCellMinWidth),!0)}ignoreMutation(e){return e.type=="attributes"&&(e.target==this.table||this.colgroup.contains(e.target))}};function sc(t,e,n,r,i,o){var a;let s=0,l=!0,c=e.firstChild;const u=t.firstChild;if(u){for(let d=0,p=0;dnew r(p,n,_)),new YO(-1,!1)},apply(a,s){return s.apply(a)}},props:{attributes:a=>{const s=vt.getState(a);return s&&s.activeHandle>-1?{class:"resize-cursor"}:{}},handleDOMEvents:{mousemove:(a,s)=>{zO(a,s,t,i)},mouseleave:a=>{$O(a)},mousedown:(a,s)=>{qO(a,s,e,n)}},decorations:a=>{const s=vt.getState(a);if(s&&s.activeHandle>-1)return XO(a,s.activeHandle)},nodeViews:{}}});return o}var YO=class ra{constructor(e,n){this.activeHandle=e,this.dragging=n}apply(e){const n=this,r=e.getMeta(vt);if(r&&r.setHandle!=null)return new ra(r.setHandle,!1);if(r&&r.setDragging!==void 0)return new ra(n.activeHandle,r.setDragging);if(n.activeHandle>-1&&e.docChanged){let i=e.mapping.map(n.activeHandle,-1);return oc(e.doc.resolve(i))||(i=-1),new ra(i,n.dragging)}return n}};function zO(t,e,n,r){const i=vt.getState(t.state);if(i&&!i.dragging){const o=KO(e.target);let a=-1;if(o){const{left:s,right:l}=o.getBoundingClientRect();e.clientX-s<=n?a=Wp(t,e,"left",n):l-e.clientX<=n&&(a=Wp(t,e,"right",n))}if(a!=i.activeHandle){if(!r&&a!==-1){const s=t.state.doc.resolve(a),l=s.node(-1),c=Ie.get(l),u=s.start(-1);if(c.colCount(s.pos-u)+s.nodeAfter.attrs.colspan-1==c.width-1)return}Mg(t,a)}}}function $O(t){const e=vt.getState(t.state);e&&e.activeHandle>-1&&!e.dragging&&Mg(t,-1)}function qO(t,e,n,r){var i;const o=(i=t.dom.ownerDocument.defaultView)!=null?i:window,a=vt.getState(t.state);if(!a||a.activeHandle==-1||a.dragging)return!1;const s=t.state.doc.nodeAt(a.activeHandle),l=WO(t,a.activeHandle,s.attrs);t.dispatch(t.state.tr.setMeta(vt,{setDragging:{startX:e.clientX,startWidth:l}}));function c(d){o.removeEventListener("mouseup",c),o.removeEventListener("mousemove",u);const p=vt.getState(t.state);p!=null&&p.dragging&&(QO(t,p.activeHandle,Kp(p.dragging,d,n)),t.dispatch(t.state.tr.setMeta(vt,{setDragging:null})))}function u(d){if(!d.which)return c(d);const p=vt.getState(t.state);if(p&&p.dragging){const _=Kp(p.dragging,d,n);Qp(t,p.activeHandle,_,r)}}return Qp(t,a.activeHandle,l,r),o.addEventListener("mouseup",c),o.addEventListener("mousemove",u),e.preventDefault(),!0}function WO(t,e,{colspan:n,colwidth:r}){const i=r&&r[r.length-1];if(i)return i;const o=t.domAtPos(e);let s=o.node.childNodes[o.offset].offsetWidth,l=n;if(r)for(let c=0;c{const r=t.nodes[n];r.spec.tableRole&&(e[r.spec.tableRole]=r)}),t.cached.tableNodeTypes=e,e}function nN(t,e,n,r,i){const o=tN(t),a=[],s=[];for(let c=0;c{const{selection:e}=t.state;if(!rN(e))return!1;let n=0;const r=Df(e.ranges[0].$from,o=>o.type.name==="table");return r==null||r.node.descendants(o=>{if(o.type.name==="table")return!1;["tableCell","tableHeader"].includes(o.type.name)&&(n+=1)}),n===e.ranges.length?(t.commands.deleteTable(),!0):!1},iN=Ne.create({name:"table",addOptions(){return{HTMLAttributes:{},resizable:!1,handleWidth:5,cellMinWidth:25,View:JO,lastColumnResizable:!0,allowTableNodeSelection:!1}},content:"tableRow+",tableRole:"table",isolating:!0,group:"block",parseHTML(){return[{tag:"table"}]},renderHTML({node:t,HTMLAttributes:e}){const{colgroup:n,tableWidth:r,tableMinWidth:i}=eN(t,this.options.cellMinWidth);return["table",pe(this.options.HTMLAttributes,e,{style:r?`width: ${r}`:`min-width: ${i}`}),n,["tbody",0]]},addCommands(){return{insertTable:({rows:t=3,cols:e=3,withHeaderRow:n=!0}={})=>({tr:r,dispatch:i,editor:o})=>{const a=nN(o.schema,t,e,n);if(i){const s=r.selection.from+1;r.replaceSelectionWith(a).scrollIntoView().setSelection(Z.near(r.doc.resolve(s)))}return!0},addColumnBefore:()=>({state:t,dispatch:e})=>hO(t,e),addColumnAfter:()=>({state:t,dispatch:e})=>EO(t,e),deleteColumn:()=>({state:t,dispatch:e})=>bO(t,e),addRowBefore:()=>({state:t,dispatch:e})=>CO(t,e),addRowAfter:()=>({state:t,dispatch:e})=>yO(t,e),deleteRow:()=>({state:t,dispatch:e})=>RO(t,e),deleteTable:()=>({state:t,dispatch:e})=>MO(t,e),mergeCells:()=>({state:t,dispatch:e})=>Up(t,e),splitCell:()=>({state:t,dispatch:e})=>Hp(t,e),toggleHeaderColumn:()=>({state:t,dispatch:e})=>eo("column")(t,e),toggleHeaderRow:()=>({state:t,dispatch:e})=>eo("row")(t,e),toggleHeaderCell:()=>({state:t,dispatch:e})=>xO(t,e),mergeOrSplit:()=>({state:t,dispatch:e})=>Up(t,e)?!0:Hp(t,e),setCellAttribute:(t,e)=>({state:n,dispatch:r})=>AO(t,e)(n,r),goToNextCell:()=>({state:t,dispatch:e})=>Vp(1)(t,e),goToPreviousCell:()=>({state:t,dispatch:e})=>Vp(-1)(t,e),fixTables:()=>({state:t,dispatch:e})=>(e&&Ag(t),!0),setCellSelection:t=>({tr:e,dispatch:n})=>{if(n){const r=Te.create(e.doc,t.anchorCell,t.headCell);e.setSelection(r)}return!0}}},addKeyboardShortcuts(){return{Tab:()=>this.editor.commands.goToNextCell()?!0:this.editor.can().addRowAfter()?this.editor.chain().addRowAfter().goToNextCell().run():!1,"Shift-Tab":()=>this.editor.commands.goToPreviousCell(),Backspace:Bo,"Mod-Backspace":Bo,Delete:Bo,"Mod-Delete":Bo}},addProseMirrorPlugins(){return[...this.options.resizable&&this.editor.isEditable?[VO({handleWidth:this.options.handleWidth,cellMinWidth:this.options.cellMinWidth,defaultCellMinWidth:this.options.cellMinWidth,View:this.options.View,lastColumnResizable:this.options.lastColumnResizable})]:[],jO({allowTableNodeSelection:this.options.allowTableNodeSelection})]},extendNodeSchema(t){const e={name:t.name,options:t.options,storage:t.storage};return{tableRole:le(W(t,"tableRole",e))}}}),oN=Ne.create({name:"tableRow",addOptions(){return{HTMLAttributes:{}}},content:"(tableCell | tableHeader)*",tableRole:"row",parseHTML(){return[{tag:"tr"}]},renderHTML({HTMLAttributes:t}){return["tr",pe(this.options.HTMLAttributes,t),0]}}),aN=Ne.create({name:"tableHeader",addOptions(){return{HTMLAttributes:{}}},content:"block+",addAttributes(){return{colspan:{default:1},rowspan:{default:1},colwidth:{default:null,parseHTML:t=>{const e=t.getAttribute("colwidth");return e?e.split(",").map(r=>parseInt(r,10)):null}}}},tableRole:"header_cell",isolating:!0,parseHTML(){return[{tag:"th"}]},renderHTML({HTMLAttributes:t}){return["th",pe(this.options.HTMLAttributes,t),0]}}),sN=Ne.create({name:"tableCell",addOptions(){return{HTMLAttributes:{}}},content:"block+",addAttributes(){return{colspan:{default:1},rowspan:{default:1},colwidth:{default:null,parseHTML:t=>{const e=t.getAttribute("colwidth");return e?e.split(",").map(r=>parseInt(r,10)):null}}}},tableRole:"cell",isolating:!0,parseHTML(){return[{tag:"td"}]},renderHTML({HTMLAttributes:t}){return["td",pe(this.options.HTMLAttributes,t),0]}}),jp=ge.create({name:"characterCount",addOptions(){return{limit:null,mode:"textSize",textCounter:t=>t.length,wordCounter:t=>t.split(" ").filter(e=>e!=="").length}},addStorage(){return{characters:()=>0,words:()=>0}},onBeforeCreate(){this.storage.characters=t=>{const e=(t==null?void 0:t.node)||this.editor.state.doc;if(((t==null?void 0:t.mode)||this.options.mode)==="textSize"){const r=e.textBetween(0,e.content.size,void 0," ");return this.options.textCounter(r)}return e.nodeSize},this.storage.words=t=>{const e=(t==null?void 0:t.node)||this.editor.state.doc,n=e.textBetween(0,e.content.size," "," ");return this.options.wordCounter(n)}},addProseMirrorPlugins(){let t=!1;return[new Se({key:new ve("characterCount"),appendTransaction:(e,n,r)=>{if(t)return;const i=this.options.limit;if(i==null||i===0){t=!0;return}const o=this.storage.characters({node:r.doc});if(o>i){const a=o-i,s=0,l=a;console.warn(`[CharacterCount] Initial content exceeded limit of ${i} characters. Content was automatically trimmed.`);const c=r.tr.deleteRange(s,l);return t=!0,c}t=!0},filterTransaction:(e,n)=>{const r=this.options.limit;if(!e.docChanged||r===0||r===null||r===void 0)return!0;const i=this.storage.characters({node:n.doc}),o=this.storage.characters({node:e.doc});if(o<=r||i>r&&o>r&&o<=i)return!0;if(i>r&&o>r&&o>i||!e.getMeta("paste"))return!1;const s=e.selection.$head.pos,l=o-r,c=s-l,u=s;return e.deleteRange(c,u),!(this.storage.characters({node:e.doc})>r)}})]}}),lN="aaa1rp3barth4b0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0faromeo7ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re2s2c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y0eats7k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking0channel11l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t0isalat7u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0at2delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d0network8tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntdoor4ier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5gtv3iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0eles2s3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1nder2le4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster5ia3d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4de2k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0cys3drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7serati6ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic3tual5v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rthwesternmutual14on4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3ssagens7y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cher3ks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w0time7i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ffany5ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0channel7ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lkswagen7vo3te1ing3o2yage5u0elos6wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",cN="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5تصالات6رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",li=(t,e)=>{for(const n in e)t[n]=e[n];return t},cc="numeric",uc="ascii",dc="alpha",ia="asciinumeric",Uo="alphanumeric",pc="domain",wg="emoji",uN="scheme",dN="slashscheme",Jp="whitespace";function pN(t,e){return t in e||(e[t]=[]),e[t]}function or(t,e,n){e[cc]&&(e[ia]=!0,e[Uo]=!0),e[uc]&&(e[ia]=!0,e[dc]=!0),e[ia]&&(e[Uo]=!0),e[dc]&&(e[Uo]=!0),e[Uo]&&(e[pc]=!0),e[wg]&&(e[pc]=!0);for(const r in e){const i=pN(r,n);i.indexOf(t)<0&&i.push(t)}}function _N(t,e){const n={};for(const r in e)e[r].indexOf(t)>=0&&(n[r]=!0);return n}function dt(t){t===void 0&&(t=null),this.j={},this.jr=[],this.jd=null,this.t=t}dt.groups={};dt.prototype={accepts(){return!!this.t},go(t){const e=this,n=e.j[t];if(n)return n;for(let r=0;rt.ta(e,n,r,i),Nt=(t,e,n,r,i)=>t.tr(e,n,r,i),e_=(t,e,n,r,i)=>t.ts(e,n,r,i),F=(t,e,n,r,i)=>t.tt(e,n,r,i),un="WORD",_c="UWORD",to="LOCALHOST",mc="TLD",fc="UTLD",oa="SCHEME",Ur="SLASH_SCHEME",iu="NUM",Lg="WS",ou="NL",zr="OPENBRACE",Bi="OPENBRACKET",Ui="OPENANGLEBRACKET",Hi="OPENPAREN",tr="CLOSEBRACE",$r="CLOSEBRACKET",qr="CLOSEANGLEBRACKET",nr="CLOSEPAREN",Aa="AMPERSAND",Ia="APOSTROPHE",xa="ASTERISK",Rn="AT",Da="BACKSLASH",Ma="BACKTICK",wa="CARET",In="COLON",au="COMMA",La="DOLLAR",qt="DOT",ka="EQUALS",su="EXCLAMATION",Wt="HYPHEN",Pa="PERCENT",Fa="PIPE",Ba="PLUS",Ua="POUND",Ha="QUERY",lu="QUOTE",cu="SEMI",Kt="SLASH",Gi="TILDE",Ga="UNDERSCORE",kg="EMOJI",Va="SYM";var Pg=Object.freeze({__proto__:null,WORD:un,UWORD:_c,LOCALHOST:to,TLD:mc,UTLD:fc,SCHEME:oa,SLASH_SCHEME:Ur,NUM:iu,WS:Lg,NL:ou,OPENBRACE:zr,OPENBRACKET:Bi,OPENANGLEBRACKET:Ui,OPENPAREN:Hi,CLOSEBRACE:tr,CLOSEBRACKET:$r,CLOSEANGLEBRACKET:qr,CLOSEPAREN:nr,AMPERSAND:Aa,APOSTROPHE:Ia,ASTERISK:xa,AT:Rn,BACKSLASH:Da,BACKTICK:Ma,CARET:wa,COLON:In,COMMA:au,DOLLAR:La,DOT:qt,EQUALS:ka,EXCLAMATION:su,HYPHEN:Wt,PERCENT:Pa,PIPE:Fa,PLUS:Ba,POUND:Ua,QUERY:Ha,QUOTE:lu,SEMI:cu,SLASH:Kt,TILDE:Gi,UNDERSCORE:Ga,EMOJI:kg,SYM:Va});const Mr=/[a-z]/,ll=new RegExp("\\p{L}","u"),cl=new RegExp("\\p{Emoji}","u"),ul=/\d/,t_=/\s/,n_=` -`,mN="️",fN="‍";let Ho=null,Go=null;function gN(t){t===void 0&&(t=[]);const e={};dt.groups=e;const n=new dt;Ho==null&&(Ho=r_(lN)),Go==null&&(Go=r_(cN)),F(n,"'",Ia),F(n,"{",zr),F(n,"[",Bi),F(n,"<",Ui),F(n,"(",Hi),F(n,"}",tr),F(n,"]",$r),F(n,">",qr),F(n,")",nr),F(n,"&",Aa),F(n,"*",xa),F(n,"@",Rn),F(n,"`",Ma),F(n,"^",wa),F(n,":",In),F(n,",",au),F(n,"$",La),F(n,".",qt),F(n,"=",ka),F(n,"!",su),F(n,"-",Wt),F(n,"%",Pa),F(n,"|",Fa),F(n,"+",Ba),F(n,"#",Ua),F(n,"?",Ha),F(n,'"',lu),F(n,"/",Kt),F(n,";",cu),F(n,"~",Gi),F(n,"_",Ga),F(n,"\\",Da);const r=Nt(n,ul,iu,{[cc]:!0});Nt(r,ul,r);const i=Nt(n,Mr,un,{[uc]:!0});Nt(i,Mr,i);const o=Nt(n,ll,_c,{[dc]:!0});Nt(o,Mr),Nt(o,ll,o);const a=Nt(n,t_,Lg,{[Jp]:!0});F(n,n_,ou,{[Jp]:!0}),F(a,n_),Nt(a,t_,a);const s=Nt(n,cl,kg,{[wg]:!0});Nt(s,cl,s),F(s,mN,s);const l=F(s,fN);Nt(l,cl,s);const c=[[Mr,i]],u=[[Mr,null],[ll,o]];for(let d=0;dd[0]>p[0]?1:-1);for(let d=0;d=0?m[pc]=!0:Mr.test(p)?ul.test(p)?m[ia]=!0:m[uc]=!0:m[cc]=!0,e_(n,p,p,m)}return e_(n,"localhost",to,{ascii:!0}),n.jd=new dt(Va),{start:n,tokens:li({groups:e},Pg)}}function hN(t,e){const n=EN(e.replace(/[A-Z]/g,s=>s.toLowerCase())),r=n.length,i=[];let o=0,a=0;for(;a=0&&(d+=n[a].length,p++),c+=n[a].length,o+=n[a].length,a++;o-=d,a-=p,c-=d,i.push({t:u.t,v:e.slice(o-c,o),s:o-c,e:o})}return i}function EN(t){const e=[],n=t.length;let r=0;for(;r56319||r+1===n||(o=t.charCodeAt(r+1))<56320||o>57343?t[r]:t.slice(r,r+2);e.push(a),r+=a.length}return e}function Tn(t,e,n,r,i){let o;const a=e.length;for(let s=0;s=0;)o++;if(o>0){e.push(n.join(""));for(let a=parseInt(t.substring(r,r+o),10);a>0;a--)n.pop();r+=o}else n.push(t[r]),r++}return e}const no={defaultProtocol:"http",events:null,format:i_,formatHref:i_,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function uu(t,e){e===void 0&&(e=null);let n=li({},no);t&&(n=li(n,t instanceof uu?t.o:t));const r=n.ignoreTags,i=[];for(let o=0;on?r.substring(0,n)+"…":r},toFormattedHref(t){return t.get("formatHref",this.toHref(t.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(t){return t===void 0&&(t=no.defaultProtocol),{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(t),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(t){return{type:this.t,value:this.toFormattedString(t),isLink:this.isLink,href:this.toFormattedHref(t),start:this.startIndex(),end:this.endIndex()}},validate(t){return t.get("validate",this.toString(),this)},render(t){const e=this,n=this.toHref(t.get("defaultProtocol")),r=t.get("formatHref",n,this),i=t.get("tagName",n,e),o=this.toFormattedString(t),a={},s=t.get("className",n,e),l=t.get("target",n,e),c=t.get("rel",n,e),u=t.getObj("attributes",n,e),d=t.getObj("events",n,e);return a.href=r,s&&(a.class=s),l&&(a.target=l),c&&(a.rel=c),u&&li(a,u),{tagName:i,attributes:a,content:o,eventListeners:d}}};function Ts(t,e){class n extends Fg{constructor(i,o){super(i,o),this.t=t}}for(const r in e)n.prototype[r]=e[r];return n.t=t,n}const o_=Ts("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),a_=Ts("text"),SN=Ts("nl"),Zn=Ts("url",{isLink:!0,toHref(t){return t===void 0&&(t=no.defaultProtocol),this.hasProtocol()?this.v:`${t}://${this.v}`},hasProtocol(){const t=this.tk;return t.length>=2&&t[0].t!==to&&t[1].t===In}}),Ge=t=>new dt(t);function bN(t){let{groups:e}=t;const n=e.domain.concat([Aa,xa,Rn,Da,Ma,wa,La,ka,Wt,iu,Pa,Fa,Ba,Ua,Kt,Va,Gi,Ga]),r=[Ia,qr,tr,$r,nr,In,au,qt,su,Ui,zr,Bi,Hi,Ha,lu,cu],i=[Aa,Ia,xa,Da,Ma,wa,tr,La,ka,Wt,zr,Pa,Fa,Ba,Ua,Ha,Kt,Va,Gi,Ga],o=Ge(),a=F(o,Gi);j(a,i,a),j(a,e.domain,a);const s=Ge(),l=Ge(),c=Ge();j(o,e.domain,s),j(o,e.scheme,l),j(o,e.slashscheme,c),j(s,i,a),j(s,e.domain,s);const u=F(s,Rn);F(a,Rn,u),F(l,Rn,u),F(c,Rn,u);const d=F(a,qt);j(d,i,a),j(d,e.domain,a);const p=Ge();j(u,e.domain,p),j(p,e.domain,p);const _=F(p,qt);j(_,e.domain,p);const m=Ge(o_);j(_,e.tld,m),j(_,e.utld,m),F(u,to,m);const f=F(p,Wt);j(f,e.domain,p),j(m,e.domain,p),F(m,qt,_),F(m,Wt,f);const g=F(m,In);j(g,e.numeric,o_);const E=F(s,Wt),S=F(s,qt);j(E,e.domain,s),j(S,i,a),j(S,e.domain,s);const b=Ge(Zn);j(S,e.tld,b),j(S,e.utld,b),j(b,e.domain,s),j(b,i,a),F(b,qt,S),F(b,Wt,E),F(b,Rn,u);const h=F(b,In),C=Ge(Zn);j(h,e.numeric,C);const T=Ge(Zn),R=Ge();j(T,n,T),j(T,r,R),j(R,n,T),j(R,r,R),F(b,Kt,T),F(C,Kt,T);const x=F(l,In),O=F(c,In),M=F(O,Kt),B=F(M,Kt);j(l,e.domain,s),F(l,qt,S),F(l,Wt,E),j(c,e.domain,s),F(c,qt,S),F(c,Wt,E),j(x,e.domain,T),F(x,Kt,T),j(B,e.domain,T),j(B,n,T),F(B,Kt,T);const Y=F(T,zr),$=F(T,Bi),q=F(T,Ui),V=F(T,Hi);F(R,zr,Y),F(R,Bi,$),F(R,Ui,q),F(R,Hi,V),F(Y,tr,T),F($,$r,T),F(q,qr,T),F(V,nr,T),F(Y,tr,T);const J=Ge(Zn),y=Ge(Zn),v=Ge(Zn),A=Ge(Zn);j(Y,n,J),j($,n,y),j(q,n,v),j(V,n,A);const k=Ge(),G=Ge(),z=Ge(),ae=Ge();return j(Y,r),j($,r),j(q,r),j(V,r),j(J,n,J),j(y,n,y),j(v,n,v),j(A,n,A),j(J,r,J),j(y,r,y),j(v,r,v),j(A,r,A),j(k,n,k),j(G,n,y),j(z,n,v),j(ae,n,A),j(k,r,k),j(G,r,G),j(z,r,z),j(ae,r,ae),F(y,$r,T),F(v,qr,T),F(A,nr,T),F(J,tr,T),F(G,$r,T),F(z,qr,T),F(ae,nr,T),F(k,nr,T),F(o,to,b),F(o,ou,SN),{start:o,tokens:Pg}}function TN(t,e,n){let r=n.length,i=0,o=[],a=[];for(;i=0&&p++,i++,u++;if(p<0)i-=u,i0&&(o.push(dl(a_,e,a)),a=[]),i-=p,u-=p;const _=d.t,m=n.slice(i-u,i);o.push(dl(_,e,m))}}return a.length>0&&o.push(dl(a_,e,a)),o}function dl(t,e,n){const r=n[0].s,i=n[n.length-1].e,o=e.slice(r,i);return new t(o,n)}const CN=typeof console<"u"&&console&&console.warn||(()=>{}),yN="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",Ae={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function vN(){dt.groups={},Ae.scanner=null,Ae.parser=null,Ae.tokenQueue=[],Ae.pluginQueue=[],Ae.customSchemes=[],Ae.initialized=!1}function s_(t,e){if(e===void 0&&(e=!1),Ae.initialized&&CN(`linkifyjs: already initialized - will not register custom scheme "${t}" ${yN}`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(t))throw new Error(`linkifyjs: incorrect scheme format. +
`,{dom:e})}},addProseMirrorPlugins(){const t=this.editor;return[new Se({key:Hp,state:{init:()=>be.empty,apply:(e,n)=>{const r=e.getMeta(vi);if(r){let i=!1;const o=n.map(e.mapping,e.doc,{onRemove:a=>{i=!0}});i||(n=o),r.type==="add"?n=n.add(e.doc,[Oh(r)]):r.type==="remove"&&(n=n.remove(n.find(void 0,void 0,a=>a.id==r.id)))}return n}},props:{decorations(e){return this.getState(e)},handlePaste:(e,n)=>{var o;const r=Array.from(((o=n.clipboardData)==null?void 0:o.items)||[]);let i=!1;for(const a of r)if(a.type.indexOf("image")===0){const s=a.getAsFile();s&&(n.preventDefault(),i=!0,this.editor.commands.uploadImage(s))}return i},handleDOMEvents:{drop(e,n){if(!(n.dataTransfer&&n.dataTransfer.files&&n.dataTransfer.files.length))return!1;const i=Array.from(n.dataTransfer.files).filter(c=>/image/i.test(c.type));if(i.length===0)return!1;n.preventDefault();const{state:{tr:o,doc:a},dispatch:s}=e,l=e.posAtCoords({left:n.clientX,top:n.clientY});return s(o.setSelection(Z.create(a,l.pos)).scrollIntoView()),i.forEach(c=>{t.commands.uploadImage(c)}),!0}},transformPastedHTML(e){const r=new DOMParser().parseFromString(e,"text/html"),i=r.documentElement.querySelector("body");if(i!=null&&i.children){const o=r.documentElement.querySelectorAll("p > img");for(const a of o){const s=a.parentNode,l=Array.prototype.indexOf.call(i.children,s);a.parentElement.prepend(a),i.insertBefore(a,i.children[l])}return i.innerHTML}return e}}})]}});var oc,ac;if(typeof WeakMap<"u"){let t=new WeakMap;oc=e=>t.get(e),ac=(e,n)=>(t.set(e,n),n)}else{const t=[];let n=0;oc=r=>{for(let i=0;i(n==10&&(n=0),t[n++]=r,t[n++]=i)}var Ie=class{constructor(t,e,n,r){this.width=t,this.height=e,this.map=n,this.problems=r}findCell(t){for(let e=0;e=n){(o||(o=[])).push({type:"overlong_rowspan",pos:u,n:E-b});break}const g=i+b*e;for(let C=0;Cr&&(o+=c.attrs.colspan)}}for(let a=0;a1&&(n=!0)}e==-1?e=o:e!=o&&(e=Math.max(e,o))}return e}function pO(t,e,n){t.problems||(t.problems=[]);const r={};for(let i=0;i0;e--)if(t.node(e).type.spec.tableRole=="row")return t.node(0).resolve(t.before(e+1));return null}function mO(t){for(let e=t.depth;e>0;e--){const n=t.node(e).type.spec.tableRole;if(n==="cell"||n==="header_cell")return t.node(e)}return null}function Vt(t){const e=t.selection.$head;for(let n=e.depth;n>0;n--)if(e.node(n).type.spec.tableRole=="row")return!0;return!1}function Cs(t){const e=t.selection;if("$anchorCell"in e&&e.$anchorCell)return e.$anchorCell.pos>e.$headCell.pos?e.$anchorCell:e.$headCell;if("node"in e&&e.node&&e.node.type.spec.tableRole=="cell")return e.$anchor;const n=hi(e.$head)||fO(e.$head);if(n)return n;throw new RangeError(`No cell found around position ${e.head}`)}function fO(t){for(let e=t.nodeAfter,n=t.pos;e;e=e.firstChild,n++){const r=e.type.spec.tableRole;if(r=="cell"||r=="header_cell")return t.doc.resolve(n)}for(let e=t.nodeBefore,n=t.pos;e;e=e.lastChild,n--){const r=e.type.spec.tableRole;if(r=="cell"||r=="header_cell")return t.doc.resolve(n-e.nodeSize)}}function sc(t){return t.parent.type.spec.tableRole=="row"&&!!t.nodeAfter}function hO(t){return t.node(0).resolve(t.pos+t.nodeAfter.nodeSize)}function au(t,e){return t.depth==e.depth&&t.pos>=e.start(-1)&&t.pos<=e.end(-1)}function Ah(t,e,n){const r=t.node(-1),i=Ie.get(r),o=t.start(-1),a=i.nextCell(t.pos-o,e,n);return a==null?null:t.node(0).resolve(o+a)}function Tr(t,e,n=1){const r={...t,colspan:t.colspan-n};return r.colwidth&&(r.colwidth=r.colwidth.slice(),r.colwidth.splice(e,n),r.colwidth.some(i=>i>0)||(r.colwidth=null)),r}function Ih(t,e,n=1){const r={...t,colspan:t.colspan+n};if(r.colwidth){r.colwidth=r.colwidth.slice();for(let i=0;iu!=n.pos-o);l.unshift(n.pos-o);const c=l.map(u=>{const d=r.nodeAt(u);if(!d)throw RangeError(`No cell with offset ${u} found`);const p=o+u+1;return new Bm(s.resolve(p),s.resolve(p+d.content.size))});super(c[0].$from,c[0].$to,c),this.$anchorCell=e,this.$headCell=n}map(e,n){const r=e.resolve(n.map(this.$anchorCell.pos)),i=e.resolve(n.map(this.$headCell.pos));if(sc(r)&&sc(i)&&au(r,i)){const o=this.$anchorCell.node(-1)!=r.node(-1);return o&&this.isRowSelection()?cn.rowSelection(r,i):o&&this.isColSelection()?cn.colSelection(r,i):new cn(r,i)}return Z.between(r,i)}content(){const e=this.$anchorCell.node(-1),n=Ie.get(e),r=this.$anchorCell.start(-1),i=n.rectBetween(this.$anchorCell.pos-r,this.$headCell.pos-r),o={},a=[];for(let l=i.top;l0||h>0){let E=m.attrs;if(f>0&&(E=Tr(E,0,f)),h>0&&(E=Tr(E,E.colspan-h,h)),_.lefti.bottom){const E={...m.attrs,rowspan:Math.min(_.bottom,i.bottom)-Math.max(_.top,i.top)};_.top0)return!1;const r=e+this.$anchorCell.nodeAfter.attrs.rowspan,i=n+this.$headCell.nodeAfter.attrs.rowspan;return Math.max(r,i)==this.$headCell.node(-1).childCount}static colSelection(e,n=e){const r=e.node(-1),i=Ie.get(r),o=e.start(-1),a=i.findCell(e.pos-o),s=i.findCell(n.pos-o),l=e.node(0);return a.top<=s.top?(a.top>0&&(e=l.resolve(o+i.map[a.left])),s.bottom0&&(n=l.resolve(o+i.map[s.left])),a.bottom0)return!1;const a=i+this.$anchorCell.nodeAfter.attrs.colspan,s=o+this.$headCell.nodeAfter.attrs.colspan;return Math.max(a,s)==n.width}eq(e){return e instanceof cn&&e.$anchorCell.pos==this.$anchorCell.pos&&e.$headCell.pos==this.$headCell.pos}static rowSelection(e,n=e){const r=e.node(-1),i=Ie.get(r),o=e.start(-1),a=i.findCell(e.pos-o),s=i.findCell(n.pos-o),l=e.node(0);return a.left<=s.left?(a.left>0&&(e=l.resolve(o+i.map[a.top*i.width])),s.right0&&(n=l.resolve(o+i.map[s.top*i.width])),a.right{e.push(ke.node(r,r+n.nodeSize,{class:"selectedCell"}))}),be.create(t.doc,e)}function bO({$from:t,$to:e}){if(t.pos==e.pos||t.pos=0&&!(t.after(i+1)=0&&!(e.before(o+1)>e.start(o));o--,r--);return n==r&&/row|table/.test(t.node(i).type.spec.tableRole)}function TO({$from:t,$to:e}){let n,r;for(let i=t.depth;i>0;i--){const o=t.node(i);if(o.type.spec.tableRole==="cell"||o.type.spec.tableRole==="header_cell"){n=o;break}}for(let i=e.depth;i>0;i--){const o=e.node(i);if(o.type.spec.tableRole==="cell"||o.type.spec.tableRole==="header_cell"){r=o;break}}return n!==r&&e.parentOffset===0}function CO(t,e,n){const r=(e||t).selection,i=(e||t).doc;let o,a;if(r instanceof ee&&(a=r.node.type.spec.tableRole)){if(a=="cell"||a=="header_cell")o=Te.create(i,r.from);else if(a=="row"){const s=i.resolve(r.from+1);o=Te.rowSelection(s,s)}else if(!n){const s=Ie.get(r.node),l=r.from+1,c=l+s.map[s.width*s.height-1];o=Te.create(i,l+1,c)}}else r instanceof Z&&bO(r)?o=Z.create(i,r.from):r instanceof Z&&TO(r)&&(o=Z.create(i,r.$from.start(),r.$from.end()));return o&&(e||(e=t.tr)).setSelection(o),e}var yO=new ve("fix-tables");function Dh(t,e,n,r){const i=t.childCount,o=e.childCount;e:for(let a=0,s=0;a{i.type.spec.tableRole=="table"&&(n=vO(t,i,o,n))};return e?e.doc!=t.doc&&Dh(e.doc,t.doc,0,r):t.doc.descendants(r),n}function vO(t,e,n,r){const i=Ie.get(e);if(!i.problems)return r;r||(r=t.tr);const o=[];for(let l=0;l0){let _="cell";u.firstChild&&(_=u.firstChild.type.spec.tableRole);const m=[];for(let h=0;h0?-1:0;gO(e,r,i+o)&&(o=i==0||i==e.width?null:0);for(let a=0;a0&&i0&&e.map[s-1]==l||i0?-1:0;IO(e,r,i+l)&&(l=i==0||i==e.height?null:0);for(let c=0,u=e.width*i;c0&&i0&&d==e.map[u-e.width]){const p=n.nodeAt(d).attrs;t.setNodeMarkup(t.mapping.slice(s).map(d+r),null,{...p,rowspan:p.rowspan-1}),c+=p.colspan-1}else if(i0&&n[o]==n[o-1]||r.right0&&n[i]==n[i-t]||r.bottomn[r.type.spec.tableRole])(t,e)}function kO(t){return(e,n)=>{var r;const i=e.selection;let o,a;if(i instanceof Te){if(i.$anchorCell.pos!=i.$headCell.pos)return!1;o=i.$anchorCell.nodeAfter,a=i.$anchorCell.pos}else{if(o=mO(i.$from),!o)return!1;a=(r=hi(i.$from))==null?void 0:r.pos}if(o==null||a==null||o.attrs.colspan==1&&o.attrs.rowspan==1)return!1;if(n){let s=o.attrs;const l=[],c=s.colwidth;s.rowspan>1&&(s={...s,rowspan:1}),s.colspan>1&&(s={...s,colspan:1});const u=on(e),d=e.tr;for(let _=0;_{a.attrs[t]!==e&&o.setNodeMarkup(s,null,{...a.attrs,[t]:e})}):o.setNodeMarkup(i.pos,null,{...i.nodeAfter.attrs,[t]:e}),r(o)}return!0}}function FO(t){return function(e,n){if(!Vt(e))return!1;if(n){const r=it(e.schema),i=on(e),o=e.tr,a=i.map.cellsInRect(t=="column"?{left:i.left,top:0,right:i.right,bottom:i.map.height}:t=="row"?{left:0,top:i.top,right:i.map.width,bottom:i.bottom}:i),s=a.map(l=>i.table.nodeAt(l));for(let l=0;l{const m=_+o.tableStart,f=a.doc.nodeAt(m);f&&a.setNodeMarkup(m,p,f.attrs)}),r(a)}return!0}}to("row",{useDeprecatedLogic:!0});to("column",{useDeprecatedLogic:!0});var BO=to("cell",{useDeprecatedLogic:!0});function UO(t,e){if(e<0){const n=t.nodeBefore;if(n)return t.pos-n.nodeSize;for(let r=t.index(-1)-1,i=t.before();r>=0;r--){const o=t.node(-1).child(r),a=o.lastChild;if(a)return i-1-a.nodeSize;i-=o.nodeSize}}else{if(t.index()0;r--)if(n.node(r).type.spec.tableRole=="table")return e&&e(t.tr.delete(n.before(r),n.after(r)).scrollIntoView()),!0;return!1}function Fo(t,e){const n=t.selection;if(!(n instanceof Te))return!1;if(e){const r=t.tr,i=it(t.schema).cell.createAndFill().content;n.forEachCell((o,a)=>{o.content.eq(i)||r.replace(r.mapping.map(a+1),r.mapping.map(a+o.nodeSize-1),new H(i,0,0))}),r.docChanged&&e(r)}return!0}function GO(t){if(!t.size)return null;let{content:e,openStart:n,openEnd:r}=t;for(;e.childCount==1&&(n>0&&r>0||e.child(0).type.spec.tableRole=="table");)n--,r--,e=e.child(0).content;const i=e.child(0),o=i.type.spec.tableRole,a=i.type.schema,s=[];if(o=="row")for(let l=0;l=0;a--){const{rowspan:s,colspan:l}=o.child(a).attrs;for(let c=i;c=e.length&&e.push(w.empty),n[i]r&&(p=p.type.createChecked(Tr(p.attrs,p.attrs.colspan,u+p.attrs.colspan-r),p.content)),c.push(p),u+=p.attrs.colspan;for(let _=1;_i&&(d=d.type.create({...d.attrs,rowspan:Math.max(1,i-d.attrs.rowspan)},d.content)),l.push(d)}o.push(w.from(l))}n=o,e=i}return{width:t,height:e,rows:n}}function zO(t,e,n,r,i,o,a){const s=t.doc.type.schema,l=it(s);let c,u;if(i>e.width)for(let d=0,p=0;de.height){const d=[];for(let m=0,f=(e.height-1)*e.width;m=e.width?!1:n.nodeAt(e.map[f+m]).type==l.header_cell;d.push(h?u||(u=l.header_cell.createAndFill()):c||(c=l.cell.createAndFill()))}const p=l.row.create(null,w.from(d)),_=[];for(let m=e.height;m{if(!i)return!1;const o=n.selection;if(o instanceof Te)return ia(n,r,te.near(o.$headCell,e));if(t!="horiz"&&!o.empty)return!1;const a=kh(i,t,e);if(a==null)return!1;if(t=="horiz")return ia(n,r,te.near(n.doc.resolve(o.head+e),e));{const s=n.doc.resolve(a),l=Ah(s,t,e);let c;return l?c=te.near(l,1):e<0?c=te.near(n.doc.resolve(s.before(-1)),-1):c=te.near(n.doc.resolve(s.after(-1)),1),ia(n,r,c)}}}function Uo(t,e){return(n,r,i)=>{if(!i)return!1;const o=n.selection;let a;if(o instanceof Te)a=o;else{const l=kh(i,t,e);if(l==null)return!1;a=new Te(n.doc.resolve(l))}const s=Ah(a.$headCell,t,e);return s?ia(n,r,new Te(a.$anchorCell,s)):!1}}function qO(t,e){const n=t.state.doc,r=hi(n.resolve(e));return r?(t.dispatch(t.state.tr.setSelection(new Te(r))),!0):!1}function WO(t,e,n){if(!Vt(t.state))return!1;let r=GO(n);const i=t.state.selection;if(i instanceof Te){r||(r={width:1,height:1,rows:[w.from(lc(it(t.state.schema).cell,n))]});const o=i.$anchorCell.node(-1),a=i.$anchorCell.start(-1),s=Ie.get(o).rectBetween(i.$anchorCell.pos-a,i.$headCell.pos-a);return r=YO(r,s.right-s.left,s.bottom-s.top),Kp(t.state,t.dispatch,a,s,r),!0}else if(r){const o=Cs(t.state),a=o.start(-1);return Kp(t.state,t.dispatch,a,Ie.get(o.node(-1)).findCell(o.pos-a),r),!0}else return!1}function KO(t,e){var n;if(e.ctrlKey||e.metaKey)return;const r=Qp(t,e.target);let i;if(e.shiftKey&&t.state.selection instanceof Te)o(t.state.selection.$anchorCell,e),e.preventDefault();else if(e.shiftKey&&r&&(i=hi(t.state.selection.$anchor))!=null&&((n=cl(t,e))==null?void 0:n.pos)!=i.pos)o(i,e),e.preventDefault();else if(!r)return;function o(l,c){let u=cl(t,c);const d=An.getState(t.state)==null;if(!u||!au(l,u))if(d)u=l;else return;const p=new Te(l,u);if(d||!t.state.selection.eq(p)){const _=t.state.tr.setSelection(p);d&&_.setMeta(An,l.pos),t.dispatch(_)}}function a(){t.root.removeEventListener("mouseup",a),t.root.removeEventListener("dragstart",a),t.root.removeEventListener("mousemove",s),An.getState(t.state)!=null&&t.dispatch(t.state.tr.setMeta(An,-1))}function s(l){const c=l,u=An.getState(t.state);let d;if(u!=null)d=t.state.doc.resolve(u);else if(Qp(t,c.target)!=r&&(d=cl(t,e),!d))return a();d&&o(d,c)}t.root.addEventListener("mouseup",a),t.root.addEventListener("dragstart",a),t.root.addEventListener("mousemove",s)}function kh(t,e,n){if(!(t.state.selection instanceof Z))return null;const{$head:r}=t.state.selection;for(let i=r.depth-1;i>=0;i--){const o=r.node(i);if((n<0?r.index(i):r.indexAfter(i))!=(n<0?0:o.childCount))return null;if(o.type.spec.tableRole=="cell"||o.type.spec.tableRole=="header_cell"){const s=r.before(i),l=e=="vert"?n>0?"down":"up":n>0?"right":"left";return t.endOfTextblock(l)?s:null}}return null}function Qp(t,e){for(;e&&e!=t.dom;e=e.parentNode)if(e.nodeName=="TD"||e.nodeName=="TH")return e;return null}function cl(t,e){const n=t.posAtCoords({left:e.clientX,top:e.clientY});return n&&n?hi(t.state.doc.resolve(n.pos)):null}var QO=class{constructor(e,n){this.node=e,this.defaultCellMinWidth=n,this.dom=document.createElement("div"),this.dom.className="tableWrapper",this.table=this.dom.appendChild(document.createElement("table")),this.table.style.setProperty("--default-cell-min-width",`${n}px`),this.colgroup=this.table.appendChild(document.createElement("colgroup")),cc(e,this.colgroup,this.table,n),this.contentDOM=this.table.appendChild(document.createElement("tbody"))}update(e){return e.type!=this.node.type?!1:(this.node=e,cc(e,this.colgroup,this.table,this.defaultCellMinWidth),!0)}ignoreMutation(e){return e.type=="attributes"&&(e.target==this.table||this.colgroup.contains(e.target))}};function cc(t,e,n,r,i,o){var a;let s=0,l=!0,c=e.firstChild;const u=t.firstChild;if(u){for(let d=0,p=0;dnew r(p,n,_)),new XO(-1,!1)},apply(a,s){return s.apply(a)}},props:{attributes:a=>{const s=vt.getState(a);return s&&s.activeHandle>-1?{class:"resize-cursor"}:{}},handleDOMEvents:{mousemove:(a,s)=>{jO(a,s,t,i)},mouseleave:a=>{JO(a)},mousedown:(a,s)=>{eN(a,s,e,n)}},decorations:a=>{const s=vt.getState(a);if(s&&s.activeHandle>-1)return oN(a,s.activeHandle)},nodeViews:{}}});return o}var XO=class oa{constructor(e,n){this.activeHandle=e,this.dragging=n}apply(e){const n=this,r=e.getMeta(vt);if(r&&r.setHandle!=null)return new oa(r.setHandle,!1);if(r&&r.setDragging!==void 0)return new oa(n.activeHandle,r.setDragging);if(n.activeHandle>-1&&e.docChanged){let i=e.mapping.map(n.activeHandle,-1);return sc(e.doc.resolve(i))||(i=-1),new oa(i,n.dragging)}return n}};function jO(t,e,n,r){const i=vt.getState(t.state);if(i&&!i.dragging){const o=nN(e.target);let a=-1;if(o){const{left:s,right:l}=o.getBoundingClientRect();e.clientX-s<=n?a=Zp(t,e,"left",n):l-e.clientX<=n&&(a=Zp(t,e,"right",n))}if(a!=i.activeHandle){if(!r&&a!==-1){const s=t.state.doc.resolve(a),l=s.node(-1),c=Ie.get(l),u=s.start(-1);if(c.colCount(s.pos-u)+s.nodeAfter.attrs.colspan-1==c.width-1)return}Ph(t,a)}}}function JO(t){const e=vt.getState(t.state);e&&e.activeHandle>-1&&!e.dragging&&Ph(t,-1)}function eN(t,e,n,r){var i;const o=(i=t.dom.ownerDocument.defaultView)!=null?i:window,a=vt.getState(t.state);if(!a||a.activeHandle==-1||a.dragging)return!1;const s=t.state.doc.nodeAt(a.activeHandle),l=tN(t,a.activeHandle,s.attrs);t.dispatch(t.state.tr.setMeta(vt,{setDragging:{startX:e.clientX,startWidth:l}}));function c(d){o.removeEventListener("mouseup",c),o.removeEventListener("mousemove",u);const p=vt.getState(t.state);p!=null&&p.dragging&&(rN(t,p.activeHandle,Xp(p.dragging,d,n)),t.dispatch(t.state.tr.setMeta(vt,{setDragging:null})))}function u(d){if(!d.which)return c(d);const p=vt.getState(t.state);if(p&&p.dragging){const _=Xp(p.dragging,d,n);jp(t,p.activeHandle,_,r)}}return jp(t,a.activeHandle,l,r),o.addEventListener("mouseup",c),o.addEventListener("mousemove",u),e.preventDefault(),!0}function tN(t,e,{colspan:n,colwidth:r}){const i=r&&r[r.length-1];if(i)return i;const o=t.domAtPos(e);let s=o.node.childNodes[o.offset].offsetWidth,l=n;if(r)for(let c=0;c{const r=t.nodes[n];r.spec.tableRole&&(e[r.spec.tableRole]=r)}),t.cached.tableNodeTypes=e,e}function uN(t,e,n,r,i){const o=cN(t),a=[],s=[];for(let c=0;c{const{selection:e}=t.state;if(!dN(e))return!1;let n=0;const r=kf(e.ranges[0].$from,o=>o.type.name==="table");return r==null||r.node.descendants(o=>{if(o.type.name==="table")return!1;["tableCell","tableHeader"].includes(o.type.name)&&(n+=1)}),n===e.ranges.length?(t.commands.deleteTable(),!0):!1},pN=Ne.create({name:"table",addOptions(){return{HTMLAttributes:{},resizable:!1,handleWidth:5,cellMinWidth:25,View:sN,lastColumnResizable:!0,allowTableNodeSelection:!1}},content:"tableRow+",tableRole:"table",isolating:!0,group:"block",parseHTML(){return[{tag:"table"}]},renderHTML({node:t,HTMLAttributes:e}){const{colgroup:n,tableWidth:r,tableMinWidth:i}=lN(t,this.options.cellMinWidth);return["table",pe(this.options.HTMLAttributes,e,{style:r?`width: ${r}`:`min-width: ${i}`}),n,["tbody",0]]},addCommands(){return{insertTable:({rows:t=3,cols:e=3,withHeaderRow:n=!0}={})=>({tr:r,dispatch:i,editor:o})=>{const a=uN(o.schema,t,e,n);if(i){const s=r.selection.from+1;r.replaceSelectionWith(a).scrollIntoView().setSelection(Z.near(r.doc.resolve(s)))}return!0},addColumnBefore:()=>({state:t,dispatch:e})=>RO(t,e),addColumnAfter:()=>({state:t,dispatch:e})=>OO(t,e),deleteColumn:()=>({state:t,dispatch:e})=>AO(t,e),addRowBefore:()=>({state:t,dispatch:e})=>xO(t,e),addRowAfter:()=>({state:t,dispatch:e})=>DO(t,e),deleteRow:()=>({state:t,dispatch:e})=>wO(t,e),deleteTable:()=>({state:t,dispatch:e})=>HO(t,e),mergeCells:()=>({state:t,dispatch:e})=>Vp(t,e),splitCell:()=>({state:t,dispatch:e})=>Yp(t,e),toggleHeaderColumn:()=>({state:t,dispatch:e})=>to("column")(t,e),toggleHeaderRow:()=>({state:t,dispatch:e})=>to("row")(t,e),toggleHeaderCell:()=>({state:t,dispatch:e})=>BO(t,e),mergeOrSplit:()=>({state:t,dispatch:e})=>Vp(t,e)?!0:Yp(t,e),setCellAttribute:(t,e)=>({state:n,dispatch:r})=>PO(t,e)(n,r),goToNextCell:()=>({state:t,dispatch:e})=>$p(1)(t,e),goToPreviousCell:()=>({state:t,dispatch:e})=>$p(-1)(t,e),fixTables:()=>({state:t,dispatch:e})=>(e&&Mh(t),!0),setCellSelection:t=>({tr:e,dispatch:n})=>{if(n){const r=Te.create(e.doc,t.anchorCell,t.headCell);e.setSelection(r)}return!0}}},addKeyboardShortcuts(){return{Tab:()=>this.editor.commands.goToNextCell()?!0:this.editor.can().addRowAfter()?this.editor.chain().addRowAfter().goToNextCell().run():!1,"Shift-Tab":()=>this.editor.commands.goToPreviousCell(),Backspace:Ho,"Mod-Backspace":Ho,Delete:Ho,"Mod-Delete":Ho}},addProseMirrorPlugins(){return[...this.options.resizable&&this.editor.isEditable?[ZO({handleWidth:this.options.handleWidth,cellMinWidth:this.options.cellMinWidth,defaultCellMinWidth:this.options.cellMinWidth,View:this.options.View,lastColumnResizable:this.options.lastColumnResizable})]:[],aN({allowTableNodeSelection:this.options.allowTableNodeSelection})]},extendNodeSchema(t){const e={name:t.name,options:t.options,storage:t.storage};return{tableRole:le(W(t,"tableRole",e))}}}),_N=Ne.create({name:"tableRow",addOptions(){return{HTMLAttributes:{}}},content:"(tableCell | tableHeader)*",tableRole:"row",parseHTML(){return[{tag:"tr"}]},renderHTML({HTMLAttributes:t}){return["tr",pe(this.options.HTMLAttributes,t),0]}}),mN=Ne.create({name:"tableHeader",addOptions(){return{HTMLAttributes:{}}},content:"block+",addAttributes(){return{colspan:{default:1},rowspan:{default:1},colwidth:{default:null,parseHTML:t=>{const e=t.getAttribute("colwidth");return e?e.split(",").map(r=>parseInt(r,10)):null}}}},tableRole:"header_cell",isolating:!0,parseHTML(){return[{tag:"th"}]},renderHTML({HTMLAttributes:t}){return["th",pe(this.options.HTMLAttributes,t),0]}}),fN=Ne.create({name:"tableCell",addOptions(){return{HTMLAttributes:{}}},content:"block+",addAttributes(){return{colspan:{default:1},rowspan:{default:1},colwidth:{default:null,parseHTML:t=>{const e=t.getAttribute("colwidth");return e?e.split(",").map(r=>parseInt(r,10)):null}}}},tableRole:"cell",isolating:!0,parseHTML(){return[{tag:"td"}]},renderHTML({HTMLAttributes:t}){return["td",pe(this.options.HTMLAttributes,t),0]}}),t_=he.create({name:"characterCount",addOptions(){return{limit:null,mode:"textSize",textCounter:t=>t.length,wordCounter:t=>t.split(" ").filter(e=>e!=="").length}},addStorage(){return{characters:()=>0,words:()=>0}},onBeforeCreate(){this.storage.characters=t=>{const e=(t==null?void 0:t.node)||this.editor.state.doc;if(((t==null?void 0:t.mode)||this.options.mode)==="textSize"){const r=e.textBetween(0,e.content.size,void 0," ");return this.options.textCounter(r)}return e.nodeSize},this.storage.words=t=>{const e=(t==null?void 0:t.node)||this.editor.state.doc,n=e.textBetween(0,e.content.size," "," ");return this.options.wordCounter(n)}},addProseMirrorPlugins(){let t=!1;return[new Se({key:new ve("characterCount"),appendTransaction:(e,n,r)=>{if(t)return;const i=this.options.limit;if(i==null||i===0){t=!0;return}const o=this.storage.characters({node:r.doc});if(o>i){const a=o-i,s=0,l=a;console.warn(`[CharacterCount] Initial content exceeded limit of ${i} characters. Content was automatically trimmed.`);const c=r.tr.deleteRange(s,l);return t=!0,c}t=!0},filterTransaction:(e,n)=>{const r=this.options.limit;if(!e.docChanged||r===0||r===null||r===void 0)return!0;const i=this.storage.characters({node:n.doc}),o=this.storage.characters({node:e.doc});if(o<=r||i>r&&o>r&&o<=i)return!0;if(i>r&&o>r&&o>i||!e.getMeta("paste"))return!1;const s=e.selection.$head.pos,l=o-r,c=s-l,u=s;return e.deleteRange(c,u),!(this.storage.characters({node:e.doc})>r)}})]}}),hN="aaa1rp3barth4b0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0faromeo7ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re2s2c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y0eats7k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking0channel11l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t0isalat7u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0at2delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d0network8tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntdoor4ier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5gtv3iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0eles2s3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1nder2le4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster5ia3d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4de2k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0cys3drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7serati6ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic3tual5v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rthwesternmutual14on4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3ssagens7y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cher3ks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w0time7i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ffany5ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0channel7ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lkswagen7vo3te1ing3o2yage5u0elos6wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",gN="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5تصالات6رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",li=(t,e)=>{for(const n in e)t[n]=e[n];return t},dc="numeric",pc="ascii",_c="alpha",aa="asciinumeric",Go="alphanumeric",mc="domain",Fh="emoji",EN="scheme",SN="slashscheme",n_="whitespace";function bN(t,e){return t in e||(e[t]=[]),e[t]}function or(t,e,n){e[dc]&&(e[aa]=!0,e[Go]=!0),e[pc]&&(e[aa]=!0,e[_c]=!0),e[aa]&&(e[Go]=!0),e[_c]&&(e[Go]=!0),e[Go]&&(e[mc]=!0),e[Fh]&&(e[mc]=!0);for(const r in e){const i=bN(r,n);i.indexOf(t)<0&&i.push(t)}}function TN(t,e){const n={};for(const r in e)e[r].indexOf(t)>=0&&(n[r]=!0);return n}function dt(t){t===void 0&&(t=null),this.j={},this.jr=[],this.jd=null,this.t=t}dt.groups={};dt.prototype={accepts(){return!!this.t},go(t){const e=this,n=e.j[t];if(n)return n;for(let r=0;rt.ta(e,n,r,i),Nt=(t,e,n,r,i)=>t.tr(e,n,r,i),r_=(t,e,n,r,i)=>t.ts(e,n,r,i),F=(t,e,n,r,i)=>t.tt(e,n,r,i),un="WORD",fc="UWORD",no="LOCALHOST",hc="TLD",gc="UTLD",sa="SCHEME",Ur="SLASH_SCHEME",su="NUM",Bh="WS",lu="NL",zr="OPENBRACE",Ui="OPENBRACKET",Hi="OPENANGLEBRACKET",Gi="OPENPAREN",tr="CLOSEBRACE",$r="CLOSEBRACKET",qr="CLOSEANGLEBRACKET",nr="CLOSEPAREN",xa="AMPERSAND",Da="APOSTROPHE",Ma="ASTERISK",Rn="AT",wa="BACKSLASH",La="BACKTICK",ka="CARET",In="COLON",cu="COMMA",Pa="DOLLAR",qt="DOT",Fa="EQUALS",uu="EXCLAMATION",Wt="HYPHEN",Ba="PERCENT",Ua="PIPE",Ha="PLUS",Ga="POUND",Va="QUERY",du="QUOTE",pu="SEMI",Kt="SLASH",Vi="TILDE",Ya="UNDERSCORE",Uh="EMOJI",za="SYM";var Hh=Object.freeze({__proto__:null,WORD:un,UWORD:fc,LOCALHOST:no,TLD:hc,UTLD:gc,SCHEME:sa,SLASH_SCHEME:Ur,NUM:su,WS:Bh,NL:lu,OPENBRACE:zr,OPENBRACKET:Ui,OPENANGLEBRACKET:Hi,OPENPAREN:Gi,CLOSEBRACE:tr,CLOSEBRACKET:$r,CLOSEANGLEBRACKET:qr,CLOSEPAREN:nr,AMPERSAND:xa,APOSTROPHE:Da,ASTERISK:Ma,AT:Rn,BACKSLASH:wa,BACKTICK:La,CARET:ka,COLON:In,COMMA:cu,DOLLAR:Pa,DOT:qt,EQUALS:Fa,EXCLAMATION:uu,HYPHEN:Wt,PERCENT:Ba,PIPE:Ua,PLUS:Ha,POUND:Ga,QUERY:Va,QUOTE:du,SEMI:pu,SLASH:Kt,TILDE:Vi,UNDERSCORE:Ya,EMOJI:Uh,SYM:za});const Mr=/[a-z]/,ul=new RegExp("\\p{L}","u"),dl=new RegExp("\\p{Emoji}","u"),pl=/\d/,i_=/\s/,o_=` +`,CN="️",yN="‍";let Vo=null,Yo=null;function vN(t){t===void 0&&(t=[]);const e={};dt.groups=e;const n=new dt;Vo==null&&(Vo=a_(hN)),Yo==null&&(Yo=a_(gN)),F(n,"'",Da),F(n,"{",zr),F(n,"[",Ui),F(n,"<",Hi),F(n,"(",Gi),F(n,"}",tr),F(n,"]",$r),F(n,">",qr),F(n,")",nr),F(n,"&",xa),F(n,"*",Ma),F(n,"@",Rn),F(n,"`",La),F(n,"^",ka),F(n,":",In),F(n,",",cu),F(n,"$",Pa),F(n,".",qt),F(n,"=",Fa),F(n,"!",uu),F(n,"-",Wt),F(n,"%",Ba),F(n,"|",Ua),F(n,"+",Ha),F(n,"#",Ga),F(n,"?",Va),F(n,'"',du),F(n,"/",Kt),F(n,";",pu),F(n,"~",Vi),F(n,"_",Ya),F(n,"\\",wa);const r=Nt(n,pl,su,{[dc]:!0});Nt(r,pl,r);const i=Nt(n,Mr,un,{[pc]:!0});Nt(i,Mr,i);const o=Nt(n,ul,fc,{[_c]:!0});Nt(o,Mr),Nt(o,ul,o);const a=Nt(n,i_,Bh,{[n_]:!0});F(n,o_,lu,{[n_]:!0}),F(a,o_),Nt(a,i_,a);const s=Nt(n,dl,Uh,{[Fh]:!0});Nt(s,dl,s),F(s,CN,s);const l=F(s,yN);Nt(l,dl,s);const c=[[Mr,i]],u=[[Mr,null],[ul,o]];for(let d=0;dd[0]>p[0]?1:-1);for(let d=0;d=0?m[mc]=!0:Mr.test(p)?pl.test(p)?m[aa]=!0:m[pc]=!0:m[dc]=!0,r_(n,p,p,m)}return r_(n,"localhost",no,{ascii:!0}),n.jd=new dt(za),{start:n,tokens:li({groups:e},Hh)}}function RN(t,e){const n=ON(e.replace(/[A-Z]/g,s=>s.toLowerCase())),r=n.length,i=[];let o=0,a=0;for(;a=0&&(d+=n[a].length,p++),c+=n[a].length,o+=n[a].length,a++;o-=d,a-=p,c-=d,i.push({t:u.t,v:e.slice(o-c,o),s:o-c,e:o})}return i}function ON(t){const e=[],n=t.length;let r=0;for(;r56319||r+1===n||(o=t.charCodeAt(r+1))<56320||o>57343?t[r]:t.slice(r,r+2);e.push(a),r+=a.length}return e}function Tn(t,e,n,r,i){let o;const a=e.length;for(let s=0;s=0;)o++;if(o>0){e.push(n.join(""));for(let a=parseInt(t.substring(r,r+o),10);a>0;a--)n.pop();r+=o}else n.push(t[r]),r++}return e}const ro={defaultProtocol:"http",events:null,format:s_,formatHref:s_,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function _u(t,e){e===void 0&&(e=null);let n=li({},ro);t&&(n=li(n,t instanceof _u?t.o:t));const r=n.ignoreTags,i=[];for(let o=0;on?r.substring(0,n)+"…":r},toFormattedHref(t){return t.get("formatHref",this.toHref(t.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(t){return t===void 0&&(t=ro.defaultProtocol),{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(t),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(t){return{type:this.t,value:this.toFormattedString(t),isLink:this.isLink,href:this.toFormattedHref(t),start:this.startIndex(),end:this.endIndex()}},validate(t){return t.get("validate",this.toString(),this)},render(t){const e=this,n=this.toHref(t.get("defaultProtocol")),r=t.get("formatHref",n,this),i=t.get("tagName",n,e),o=this.toFormattedString(t),a={},s=t.get("className",n,e),l=t.get("target",n,e),c=t.get("rel",n,e),u=t.getObj("attributes",n,e),d=t.getObj("events",n,e);return a.href=r,s&&(a.class=s),l&&(a.target=l),c&&(a.rel=c),u&&li(a,u),{tagName:i,attributes:a,content:o,eventListeners:d}}};function ys(t,e){class n extends Gh{constructor(i,o){super(i,o),this.t=t}}for(const r in e)n.prototype[r]=e[r];return n.t=t,n}const l_=ys("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),c_=ys("text"),NN=ys("nl"),Zn=ys("url",{isLink:!0,toHref(t){return t===void 0&&(t=ro.defaultProtocol),this.hasProtocol()?this.v:`${t}://${this.v}`},hasProtocol(){const t=this.tk;return t.length>=2&&t[0].t!==no&&t[1].t===In}}),Ge=t=>new dt(t);function AN(t){let{groups:e}=t;const n=e.domain.concat([xa,Ma,Rn,wa,La,ka,Pa,Fa,Wt,su,Ba,Ua,Ha,Ga,Kt,za,Vi,Ya]),r=[Da,qr,tr,$r,nr,In,cu,qt,uu,Hi,zr,Ui,Gi,Va,du,pu],i=[xa,Da,Ma,wa,La,ka,tr,Pa,Fa,Wt,zr,Ba,Ua,Ha,Ga,Va,Kt,za,Vi,Ya],o=Ge(),a=F(o,Vi);j(a,i,a),j(a,e.domain,a);const s=Ge(),l=Ge(),c=Ge();j(o,e.domain,s),j(o,e.scheme,l),j(o,e.slashscheme,c),j(s,i,a),j(s,e.domain,s);const u=F(s,Rn);F(a,Rn,u),F(l,Rn,u),F(c,Rn,u);const d=F(a,qt);j(d,i,a),j(d,e.domain,a);const p=Ge();j(u,e.domain,p),j(p,e.domain,p);const _=F(p,qt);j(_,e.domain,p);const m=Ge(l_);j(_,e.tld,m),j(_,e.utld,m),F(u,no,m);const f=F(p,Wt);j(f,e.domain,p),j(m,e.domain,p),F(m,qt,_),F(m,Wt,f);const h=F(m,In);j(h,e.numeric,l_);const E=F(s,Wt),S=F(s,qt);j(E,e.domain,s),j(S,i,a),j(S,e.domain,s);const b=Ge(Zn);j(S,e.tld,b),j(S,e.utld,b),j(b,e.domain,s),j(b,i,a),F(b,qt,S),F(b,Wt,E),F(b,Rn,u);const g=F(b,In),C=Ge(Zn);j(g,e.numeric,C);const T=Ge(Zn),R=Ge();j(T,n,T),j(T,r,R),j(R,n,T),j(R,r,R),F(b,Kt,T),F(C,Kt,T);const x=F(l,In),O=F(c,In),M=F(O,Kt),B=F(M,Kt);j(l,e.domain,s),F(l,qt,S),F(l,Wt,E),j(c,e.domain,s),F(c,qt,S),F(c,Wt,E),j(x,e.domain,T),F(x,Kt,T),j(B,e.domain,T),j(B,n,T),F(B,Kt,T);const Y=F(T,zr),$=F(T,Ui),q=F(T,Hi),V=F(T,Gi);F(R,zr,Y),F(R,Ui,$),F(R,Hi,q),F(R,Gi,V),F(Y,tr,T),F($,$r,T),F(q,qr,T),F(V,nr,T),F(Y,tr,T);const J=Ge(Zn),y=Ge(Zn),v=Ge(Zn),A=Ge(Zn);j(Y,n,J),j($,n,y),j(q,n,v),j(V,n,A);const k=Ge(),G=Ge(),z=Ge(),ae=Ge();return j(Y,r),j($,r),j(q,r),j(V,r),j(J,n,J),j(y,n,y),j(v,n,v),j(A,n,A),j(J,r,J),j(y,r,y),j(v,r,v),j(A,r,A),j(k,n,k),j(G,n,y),j(z,n,v),j(ae,n,A),j(k,r,k),j(G,r,G),j(z,r,z),j(ae,r,ae),F(y,$r,T),F(v,qr,T),F(A,nr,T),F(J,tr,T),F(G,$r,T),F(z,qr,T),F(ae,nr,T),F(k,nr,T),F(o,no,b),F(o,lu,NN),{start:o,tokens:Hh}}function IN(t,e,n){let r=n.length,i=0,o=[],a=[];for(;i=0&&p++,i++,u++;if(p<0)i-=u,i0&&(o.push(_l(c_,e,a)),a=[]),i-=p,u-=p;const _=d.t,m=n.slice(i-u,i);o.push(_l(_,e,m))}}return a.length>0&&o.push(_l(c_,e,a)),o}function _l(t,e,n){const r=n[0].s,i=n[n.length-1].e,o=e.slice(r,i);return new t(o,n)}const xN=typeof console<"u"&&console&&console.warn||(()=>{}),DN="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",Ae={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function MN(){dt.groups={},Ae.scanner=null,Ae.parser=null,Ae.tokenQueue=[],Ae.pluginQueue=[],Ae.customSchemes=[],Ae.initialized=!1}function u_(t,e){if(e===void 0&&(e=!1),Ae.initialized&&xN(`linkifyjs: already initialized - will not register custom scheme "${t}" ${DN}`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(t))throw new Error(`linkifyjs: incorrect scheme format. 1. Must only contain digits, lowercase ASCII letters or "-" 2. Cannot start or end with "-" -3. "-" cannot repeat`);Ae.customSchemes.push([t,e])}function RN(){Ae.scanner=gN(Ae.customSchemes);for(let t=0;t{const i=e.some(c=>c.docChanged)&&!n.doc.eq(r.doc),o=e.some(c=>c.getMeta("preventAutolink"));if(!i||o)return;const{tr:a}=r,s=BT(n.doc,[...e]);if($T(s).forEach(({newRange:c})=>{const u=HT(r.doc,c,_=>_.isTextblock);let d,p;if(u.length>1?(d=u[0],p=r.doc.textBetween(d.pos,d.pos+d.node.nodeSize,void 0," ")):u.length&&r.doc.textBetween(c.from,c.to," "," ").endsWith(" ")&&(d=u[0],p=r.doc.textBetween(d.pos,c.to,void 0," ")),d&&p){const _=p.split(" ").filter(E=>E!=="");if(_.length<=0)return!1;const m=_[_.length-1],f=d.pos+p.lastIndexOf(m);if(!m)return!1;const g=Bg(m).map(E=>E.toObject(t.defaultProtocol));if(!ON(g))return!1;g.filter(E=>E.isLink).map(E=>({...E,from:f+E.start+1,to:f+E.end+1})).filter(E=>r.schema.marks.code?!r.doc.rangeHasMark(E.from,E.to,r.schema.marks.code):!0).filter(E=>t.validate(E.value)).filter(E=>t.shouldAutoLink(E.value)).forEach(E=>{Vc(E.from,E.to,r.doc).some(S=>S.mark.type===t.type)||a.addMark(E.from,E.to,t.type.create({href:E.href}))})}}),!!a.steps.length)return a}})}function AN(t){return new Se({key:new ve("handleClickLink"),props:{handleClick:(e,n,r)=>{var i,o;if(r.button!==0||!e.editable)return!1;let a=r.target;const s=[];for(;a.nodeName!=="DIV";)s.push(a),a=a.parentNode;if(!s.find(p=>p.nodeName==="A"))return!1;const l=Mf(e.state,t.type.name),c=r.target,u=(i=c==null?void 0:c.href)!==null&&i!==void 0?i:l.href,d=(o=c==null?void 0:c.target)!==null&&o!==void 0?o:l.target;return c&&u?(window.open(u,d),!0):!1}}})}function IN(t){return new Se({key:new ve("handlePasteLink"),props:{handlePaste:(e,n,r)=>{const{state:i}=e,{selection:o}=i,{empty:a}=o;if(a)return!1;let s="";r.content.forEach(c=>{s+=c.textContent});const l=Ug(s,{defaultProtocol:t.defaultProtocol}).find(c=>c.isLink&&c.value===s);return!s||!l?!1:(t.editor.commands.setMark(t.type,{href:l.href}),!0)}}})}const xN=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g;function vi(t,e){const n=["http","https","ftp","ftps","mailto","tel","callto","sms","cid","xmpp"];return e&&e.forEach(r=>{const i=typeof r=="string"?r:r.scheme;i&&n.push(i)}),!t||t.replace(xN,"").match(new RegExp(`^(?:(?:${n.join("|")}):|[^a-z]|[a-z+.-]+(?:[^a-z+.-:]|$))`,"i"))}const DN=ft.create({name:"link",priority:1e3,keepOnSplit:!1,exitable:!0,onCreate(){this.options.validate&&!this.options.shouldAutoLink&&(this.options.shouldAutoLink=this.options.validate,console.warn("The `validate` option is deprecated. Rename to the `shouldAutoLink` option instead.")),this.options.protocols.forEach(t=>{if(typeof t=="string"){s_(t);return}s_(t.scheme,t.optionalSlashes)})},onDestroy(){vN()},inclusive(){return this.options.autolink},addOptions(){return{openOnClick:!0,linkOnPaste:!0,autolink:!0,protocols:[],defaultProtocol:"http",HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},isAllowedUri:(t,e)=>!!vi(t,e.protocols),validate:t=>!!t,shouldAutoLink:t=>!!t}},addAttributes(){return{href:{default:null,parseHTML(t){return t.getAttribute("href")}},target:{default:this.options.HTMLAttributes.target},rel:{default:this.options.HTMLAttributes.rel},class:{default:this.options.HTMLAttributes.class}}},parseHTML(){return[{tag:"a[href]",getAttrs:t=>{const e=t.getAttribute("href");return!e||!this.options.isAllowedUri(e,{defaultValidate:n=>!!vi(n,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?!1:null}}]},renderHTML({HTMLAttributes:t}){return this.options.isAllowedUri(t.href,{defaultValidate:e=>!!vi(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?["a",pe(this.options.HTMLAttributes,t),0]:["a",pe(this.options.HTMLAttributes,{...t,href:""}),0]},addCommands(){return{setLink:t=>({chain:e})=>e().setMark(this.name,t).setMeta("preventAutolink",!0).run(),toggleLink:t=>({chain:e})=>e().toggleMark(this.name,t,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run(),unsetLink:()=>({chain:t})=>t().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[Yn({find:t=>{const e=[];if(t){const{protocols:n,defaultProtocol:r}=this.options,i=Ug(t).filter(o=>o.isLink&&this.options.isAllowedUri(o.value,{defaultValidate:a=>!!vi(a,n),protocols:n,defaultProtocol:r}));i.length&&i.forEach(o=>e.push({text:o.value,data:{href:o.href},index:o.start}))}return e},type:this.type,getAttributes:t=>{var e;return{href:(e=t.data)===null||e===void 0?void 0:e.href}}})]},addProseMirrorPlugins(){const t=[],{protocols:e,defaultProtocol:n}=this.options;return this.options.autolink&&t.push(NN({type:this.type,defaultProtocol:this.options.defaultProtocol,validate:r=>this.options.isAllowedUri(r,{defaultValidate:i=>!!vi(i,e),protocols:e,defaultProtocol:n}),shouldAutoLink:this.options.shouldAutoLink})),this.options.openOnClick===!0&&t.push(AN({type:this.type})),this.options.linkOnPaste&&t.push(IN({editor:this.editor,defaultProtocol:this.options.defaultProtocol,type:this.type})),t}}),MN=ft.create({name:"superscript",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"sup"},{style:"vertical-align",getAttrs(t){return t!=="super"?!1:null}}]},renderHTML({HTMLAttributes:t}){return["sup",pe(this.options.HTMLAttributes,t),0]},addCommands(){return{setSuperscript:()=>({commands:t})=>t.setMark(this.name),toggleSuperscript:()=>({commands:t})=>t.toggleMark(this.name),unsetSuperscript:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-.":()=>this.editor.commands.toggleSuperscript()}}}),wN=ft.create({name:"subscript",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"sub"},{style:"vertical-align",getAttrs(t){return t!=="sub"?!1:null}}]},renderHTML({HTMLAttributes:t}){return["sub",pe(this.options.HTMLAttributes,t),0]},addCommands(){return{setSubscript:()=>({commands:t})=>t.setMark(this.name),toggleSubscript:()=>({commands:t})=>t.toggleMark(this.name),unsetSubscript:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-,":()=>this.editor.commands.toggleSubscript()}}}),LN=Ne.create({name:"taskList",addOptions(){return{itemTypeName:"taskItem",HTMLAttributes:{}}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:`ul[data-type="${this.name}"]`,priority:51}]},renderHTML({HTMLAttributes:t}){return["ul",pe(this.options.HTMLAttributes,t,{"data-type":this.name}),0]},addCommands(){return{toggleTaskList:()=>({commands:t})=>t.toggleList(this.name,this.options.itemTypeName)}},addKeyboardShortcuts(){return{"Mod-Shift-9":()=>this.editor.commands.toggleTaskList()}}}),kN=/^\s*(\[([( |x])?\])\s$/,PN=Ne.create({name:"taskItem",addOptions(){return{nested:!1,HTMLAttributes:{},taskListTypeName:"taskList"}},content(){return this.options.nested?"paragraph block*":"paragraph+"},defining:!0,addAttributes(){return{checked:{default:!1,keepOnSplit:!1,parseHTML:t=>{const e=t.getAttribute("data-checked");return e===""||e==="true"},renderHTML:t=>({"data-checked":t.checked})}}},parseHTML(){return[{tag:`li[data-type="${this.name}"]`,priority:51}]},renderHTML({node:t,HTMLAttributes:e}){return["li",pe(this.options.HTMLAttributes,e,{"data-type":this.name}),["label",["input",{type:"checkbox",checked:t.attrs.checked?"checked":null}],["span"]],["div",0]]},addKeyboardShortcuts(){const t={Enter:()=>this.editor.commands.splitListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)};return this.options.nested?{...t,Tab:()=>this.editor.commands.sinkListItem(this.name)}:t},addNodeView(){return({node:t,HTMLAttributes:e,getPos:n,editor:r})=>{const i=document.createElement("li"),o=document.createElement("label"),a=document.createElement("span"),s=document.createElement("input"),l=document.createElement("div");return o.contentEditable="false",s.type="checkbox",s.addEventListener("mousedown",c=>c.preventDefault()),s.addEventListener("change",c=>{if(!r.isEditable&&!this.options.onReadOnlyChecked){s.checked=!s.checked;return}const{checked:u}=c.target;r.isEditable&&typeof n=="function"&&r.chain().focus(void 0,{scrollIntoView:!1}).command(({tr:d})=>{const p=n();if(typeof p!="number")return!1;const _=d.doc.nodeAt(p);return d.setNodeMarkup(p,void 0,{..._==null?void 0:_.attrs,checked:u}),!0}).run(),!r.isEditable&&this.options.onReadOnlyChecked&&(this.options.onReadOnlyChecked(t,u)||(s.checked=!s.checked))}),Object.entries(this.options.HTMLAttributes).forEach(([c,u])=>{i.setAttribute(c,u)}),i.dataset.checked=t.attrs.checked,t.attrs.checked&&s.setAttribute("checked","checked"),o.append(s,a),i.append(o,l),Object.entries(e).forEach(([c,u])=>{i.setAttribute(c,u)}),{dom:i,contentDOM:l,update:c=>c.type!==this.type?!1:(i.dataset.checked=c.attrs.checked,c.attrs.checked?s.setAttribute("checked","checked"):s.removeAttribute("checked"),!0)}}},addInputRules(){return[Sr({find:kN,type:this.type,getAttributes:t=>({checked:t[t.length-1]==="x"})})]}});function FN(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Hg(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw new Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw new Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach(e=>{const n=t[e],r=typeof n;(r==="object"||r==="function")&&!Object.isFrozen(n)&&Hg(n)}),t}let l_=class{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function Gg(t){return t.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function kn(t,...e){const n=Object.create(null);for(const r in t)n[r]=t[r];return e.forEach(function(r){for(const i in r)n[i]=r[i]}),n}const BN="",c_=t=>!!t.scope,UN=(t,{prefix:e})=>{if(t.startsWith("language:"))return t.replace("language:","language-");if(t.includes(".")){const n=t.split(".");return[`${e}${n.shift()}`,...n.map((r,i)=>`${r}${"_".repeat(i+1)}`)].join(" ")}return`${e}${t}`};let HN=class{constructor(e,n){this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){this.buffer+=Gg(e)}openNode(e){if(!c_(e))return;const n=UN(e.scope,{prefix:this.classPrefix});this.span(n)}closeNode(e){c_(e)&&(this.buffer+=BN)}value(){return this.buffer}span(e){this.buffer+=``}};const u_=(t={})=>{const e={children:[]};return Object.assign(e,t),e};let GN=class Vg{constructor(){this.rootNode=u_(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const n=u_({scope:e});this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,n){return typeof n=="string"?e.addText(n):n.children&&(e.openNode(n),n.children.forEach(r=>this._walk(e,r)),e.closeNode(n)),e}static _collapse(e){typeof e!="string"&&e.children&&(e.children.every(n=>typeof n=="string")?e.children=[e.children.join("")]:e.children.forEach(n=>{Vg._collapse(n)}))}},VN=class extends GN{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,n){const r=e.root;n&&(r.scope=`language:${n}`),this.add(r)}toHTML(){return new HN(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}};function ro(t){return t?typeof t=="string"?t:t.source:null}function Yg(t){return yr("(?=",t,")")}function YN(t){return yr("(?:",t,")*")}function zN(t){return yr("(?:",t,")?")}function yr(...t){return t.map(n=>ro(n)).join("")}function $N(t){const e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function du(...t){return"("+($N(t).capture?"":"?:")+t.map(r=>ro(r)).join("|")+")"}function zg(t){return new RegExp(t.toString()+"|").exec("").length-1}function qN(t,e){const n=t&&t.exec(e);return n&&n.index===0}const WN=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function pu(t,{joinWith:e}){let n=0;return t.map(r=>{n+=1;const i=n;let o=ro(r),a="";for(;o.length>0;){const s=WN.exec(o);if(!s){a+=o;break}a+=o.substring(0,s.index),o=o.substring(s.index+s[0].length),s[0][0]==="\\"&&s[1]?a+="\\"+String(Number(s[1])+i):(a+=s[0],s[0]==="("&&n++)}return a}).map(r=>`(${r})`).join(e)}const KN=/\b\B/,$g="[a-zA-Z]\\w*",_u="[a-zA-Z_]\\w*",qg="\\b\\d+(\\.\\d+)?",Wg="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Kg="\\b(0b[01]+)",QN="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",ZN=(t={})=>{const e=/^#![ ]*\//;return t.binary&&(t.begin=yr(e,/.*\b/,t.binary,/\b.*/)),kn({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(n,r)=>{n.index!==0&&r.ignoreMatch()}},t)},io={begin:"\\\\[\\s\\S]",relevance:0},XN={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[io]},jN={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[io]},JN={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},Cs=function(t,e,n={}){const r=kn({scope:"comment",begin:t,end:e,contains:[]},n);r.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const i=du("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:yr(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},eA=Cs("//","$"),tA=Cs("/\\*","\\*/"),nA=Cs("#","$"),rA={scope:"number",begin:qg,relevance:0},iA={scope:"number",begin:Wg,relevance:0},oA={scope:"number",begin:Kg,relevance:0},aA={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[io,{begin:/\[/,end:/\]/,relevance:0,contains:[io]}]},sA={scope:"title",begin:$g,relevance:0},lA={scope:"title",begin:_u,relevance:0},cA={begin:"\\.\\s*"+_u,relevance:0},uA=function(t){return Object.assign(t,{"on:begin":(e,n)=>{n.data._beginMatch=e[1]},"on:end":(e,n)=>{n.data._beginMatch!==e[1]&&n.ignoreMatch()}})};var Vo=Object.freeze({__proto__:null,APOS_STRING_MODE:XN,BACKSLASH_ESCAPE:io,BINARY_NUMBER_MODE:oA,BINARY_NUMBER_RE:Kg,COMMENT:Cs,C_BLOCK_COMMENT_MODE:tA,C_LINE_COMMENT_MODE:eA,C_NUMBER_MODE:iA,C_NUMBER_RE:Wg,END_SAME_AS_BEGIN:uA,HASH_COMMENT_MODE:nA,IDENT_RE:$g,MATCH_NOTHING_RE:KN,METHOD_GUARD:cA,NUMBER_MODE:rA,NUMBER_RE:qg,PHRASAL_WORDS_MODE:JN,QUOTE_STRING_MODE:jN,REGEXP_MODE:aA,RE_STARTERS_RE:QN,SHEBANG:ZN,TITLE_MODE:sA,UNDERSCORE_IDENT_RE:_u,UNDERSCORE_TITLE_MODE:lA});function dA(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function pA(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function _A(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=dA,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function mA(t,e){Array.isArray(t.illegal)&&(t.illegal=du(...t.illegal))}function fA(t,e){if(t.match){if(t.begin||t.end)throw new Error("begin & end are not supported with match");t.begin=t.match,delete t.match}}function gA(t,e){t.relevance===void 0&&(t.relevance=1)}const hA=(t,e)=>{if(!t.beforeMatch)return;if(t.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},t);Object.keys(t).forEach(r=>{delete t[r]}),t.keywords=n.keywords,t.begin=yr(n.beforeMatch,Yg(n.begin)),t.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},t.relevance=0,delete n.beforeMatch},EA=["of","and","for","in","not","or","if","then","parent","list","value"],SA="keyword";function Qg(t,e,n=SA){const r=Object.create(null);return typeof t=="string"?i(n,t.split(" ")):Array.isArray(t)?i(n,t):Object.keys(t).forEach(function(o){Object.assign(r,Qg(t[o],e,o))}),r;function i(o,a){e&&(a=a.map(s=>s.toLowerCase())),a.forEach(function(s){const l=s.split("|");r[l[0]]=[o,bA(l[0],l[1])]})}}function bA(t,e){return e?Number(e):TA(t)?0:1}function TA(t){return EA.includes(t.toLowerCase())}const d_={},pr=t=>{console.error(t)},p_=(t,...e)=>{console.log(`WARN: ${t}`,...e)},wr=(t,e)=>{d_[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),d_[`${t}/${e}`]=!0)},Ya=new Error;function Zg(t,e,{key:n}){let r=0;const i=t[n],o={},a={};for(let s=1;s<=e.length;s++)a[s+r]=i[s],o[s+r]=!0,r+=zg(e[s-1]);t[n]=a,t[n]._emit=o,t[n]._multi=!0}function CA(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw pr("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Ya;if(typeof t.beginScope!="object"||t.beginScope===null)throw pr("beginScope must be object"),Ya;Zg(t,t.begin,{key:"beginScope"}),t.begin=pu(t.begin,{joinWith:""})}}function yA(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw pr("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Ya;if(typeof t.endScope!="object"||t.endScope===null)throw pr("endScope must be object"),Ya;Zg(t,t.end,{key:"endScope"}),t.end=pu(t.end,{joinWith:""})}}function vA(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function RA(t){vA(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),CA(t),yA(t)}function OA(t){function e(a,s){return new RegExp(ro(a),"m"+(t.case_insensitive?"i":"")+(t.unicodeRegex?"u":"")+(s?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(s,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,s]),this.matchAt+=zg(s)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const s=this.regexes.map(l=>l[1]);this.matcherRe=e(pu(s,{joinWith:"|"}),!0),this.lastIndex=0}exec(s){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(s);if(!l)return null;const c=l.findIndex((d,p)=>p>0&&d!==void 0),u=this.matchIndexes[c];return l.splice(0,c),Object.assign(l,u)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(s){if(this.multiRegexes[s])return this.multiRegexes[s];const l=new n;return this.rules.slice(s).forEach(([c,u])=>l.addRule(c,u)),l.compile(),this.multiRegexes[s]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(s,l){this.rules.push([s,l]),l.type==="begin"&&this.count++}exec(s){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let c=l.exec(s);if(this.resumingScanAtSamePosition()&&!(c&&c.index===this.lastIndex)){const u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,c=u.exec(s)}return c&&(this.regexIndex+=c.position+1,this.regexIndex===this.count&&this.considerAll()),c}}function i(a){const s=new r;return a.contains.forEach(l=>s.addRule(l.begin,{rule:l,type:"begin"})),a.terminatorEnd&&s.addRule(a.terminatorEnd,{type:"end"}),a.illegal&&s.addRule(a.illegal,{type:"illegal"}),s}function o(a,s){const l=a;if(a.isCompiled)return l;[pA,fA,RA,hA].forEach(u=>u(a,s)),t.compilerExtensions.forEach(u=>u(a,s)),a.__beforeBegin=null,[_A,mA,gA].forEach(u=>u(a,s)),a.isCompiled=!0;let c=null;return typeof a.keywords=="object"&&a.keywords.$pattern&&(a.keywords=Object.assign({},a.keywords),c=a.keywords.$pattern,delete a.keywords.$pattern),c=c||/\w+/,a.keywords&&(a.keywords=Qg(a.keywords,t.case_insensitive)),l.keywordPatternRe=e(c,!0),s&&(a.begin||(a.begin=/\B|\b/),l.beginRe=e(l.begin),!a.end&&!a.endsWithParent&&(a.end=/\B|\b/),a.end&&(l.endRe=e(l.end)),l.terminatorEnd=ro(l.end)||"",a.endsWithParent&&s.terminatorEnd&&(l.terminatorEnd+=(a.end?"|":"")+s.terminatorEnd)),a.illegal&&(l.illegalRe=e(a.illegal)),a.contains||(a.contains=[]),a.contains=[].concat(...a.contains.map(function(u){return NA(u==="self"?a:u)})),a.contains.forEach(function(u){o(u,l)}),a.starts&&o(a.starts,s),l.matcher=i(l),l}if(t.compilerExtensions||(t.compilerExtensions=[]),t.contains&&t.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return t.classNameAliases=kn(t.classNameAliases||{}),o(t)}function Xg(t){return t?t.endsWithParent||Xg(t.starts):!1}function NA(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return kn(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:Xg(t)?kn(t,{starts:t.starts?kn(t.starts):null}):Object.isFrozen(t)?kn(t):t}var AA="11.10.0";let IA=class extends Error{constructor(e,n){super(e),this.name="HTMLInjectionError",this.html=n}};const pl=Gg,__=kn,m_=Symbol("nomatch"),xA=7,jg=function(t){const e=Object.create(null),n=Object.create(null),r=[];let i=!0;const o="Could not find the language '{}', did you forget to load/include a language module?",a={disableAutodetect:!0,name:"Plain text",contains:[]};let s={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:VN};function l(y){return s.noHighlightRe.test(y)}function c(y){let v=y.className+" ";v+=y.parentNode?y.parentNode.className:"";const A=s.languageDetectRe.exec(v);if(A){const k=O(A[1]);return k||(p_(o.replace("{}",A[1])),p_("Falling back to no-highlight mode for this block.",y)),k?A[1]:"no-highlight"}return v.split(/\s+/).find(k=>l(k)||O(k))}function u(y,v,A){let k="",G="";typeof v=="object"?(k=y,A=v.ignoreIllegals,G=v.language):(wr("10.7.0","highlight(lang, code, ...args) has been deprecated."),wr("10.7.0",`Please use highlight(code, options) instead. -https://github.com/highlightjs/highlight.js/issues/2277`),G=y,k=v),A===void 0&&(A=!0);const z={code:k,language:G};V("before:highlight",z);const ae=z.result?z.result:d(z.language,z.code,A);return ae.code=z.code,V("after:highlight",ae),ae}function d(y,v,A,k){const G=Object.create(null);function z(N,D){return N.keywords[D]}function ae(){if(!P.keywords){oe.addText(X);return}let N=0;P.keywordPatternRe.lastIndex=0;let D=P.keywordPatternRe.exec(X),U="";for(;D;){U+=X.substring(N,D.index);const K=he.case_insensitive?D[0].toLowerCase():D[0],_e=z(P,K);if(_e){const[De,Rr]=_e;if(oe.addText(U),U="",G[K]=(G[K]||0)+1,G[K]<=xA&&(He+=Rr),De.startsWith("_"))U+=D[0];else{const I=he.classNameAliases[De]||De;ue(D[0],I)}}else U+=D[0];N=P.keywordPatternRe.lastIndex,D=P.keywordPatternRe.exec(X)}U+=X.substring(N),oe.addText(U)}function Ce(){if(X==="")return;let N=null;if(typeof P.subLanguage=="string"){if(!e[P.subLanguage]){oe.addText(X);return}N=d(P.subLanguage,X,!0,et[P.subLanguage]),et[P.subLanguage]=N._top}else N=_(X,P.subLanguage.length?P.subLanguage:null);P.relevance>0&&(He+=N.relevance),oe.__addSublanguage(N._emitter,N.language)}function ie(){P.subLanguage!=null?Ce():ae(),X=""}function ue(N,D){N!==""&&(oe.startScope(D),oe.addText(N),oe.endScope())}function Be(N,D){let U=1;const K=D.length-1;for(;U<=K;){if(!N._emit[U]){U++;continue}const _e=he.classNameAliases[N[U]]||N[U],De=D[U];_e?ue(De,_e):(X=De,ae(),X=""),U++}}function Le(N,D){return N.scope&&typeof N.scope=="string"&&oe.openNode(he.classNameAliases[N.scope]||N.scope),N.beginScope&&(N.beginScope._wrap?(ue(X,he.classNameAliases[N.beginScope._wrap]||N.beginScope._wrap),X=""):N.beginScope._multi&&(Be(N.beginScope,D),X="")),P=Object.create(N,{parent:{value:P}}),P}function We(N,D,U){let K=qN(N.endRe,U);if(K){if(N["on:end"]){const _e=new l_(N);N["on:end"](D,_e),_e.isMatchIgnored&&(K=!1)}if(K){for(;N.endsParent&&N.parent;)N=N.parent;return N}}if(N.endsWithParent)return We(N.parent,D,U)}function Ke(N){return P.matcher.regexIndex===0?(X+=N[0],1):(bt=!0,0)}function ht(N){const D=N[0],U=N.rule,K=new l_(U),_e=[U.__beforeBegin,U["on:begin"]];for(const De of _e)if(De&&(De(N,K),K.isMatchIgnored))return Ke(D);return U.skip?X+=D:(U.excludeBegin&&(X+=D),ie(),!U.returnBegin&&!U.excludeBegin&&(X=D)),Le(U,N),U.returnBegin?0:D.length}function Ft(N){const D=N[0],U=v.substring(N.index),K=We(P,N,U);if(!K)return m_;const _e=P;P.endScope&&P.endScope._wrap?(ie(),ue(D,P.endScope._wrap)):P.endScope&&P.endScope._multi?(ie(),Be(P.endScope,N)):_e.skip?X+=D:(_e.returnEnd||_e.excludeEnd||(X+=D),ie(),_e.excludeEnd&&(X=D));do P.scope&&oe.closeNode(),!P.skip&&!P.subLanguage&&(He+=P.relevance),P=P.parent;while(P!==K.parent);return K.starts&&Le(K.starts,N),_e.returnEnd?0:D.length}function de(){const N=[];for(let D=P;D!==he;D=D.parent)D.scope&&N.unshift(D.scope);N.forEach(D=>oe.openNode(D))}let Pe={};function Qe(N,D){const U=D&&D[0];if(X+=N,U==null)return ie(),0;if(Pe.type==="begin"&&D.type==="end"&&Pe.index===D.index&&U===""){if(X+=v.slice(D.index,D.index+1),!i){const K=new Error(`0 width match regex (${y})`);throw K.languageName=y,K.badRule=Pe.rule,K}return 1}if(Pe=D,D.type==="begin")return ht(D);if(D.type==="illegal"&&!A){const K=new Error('Illegal lexeme "'+U+'" for mode "'+(P.scope||"")+'"');throw K.mode=P,K}else if(D.type==="end"){const K=Ft(D);if(K!==m_)return K}if(D.type==="illegal"&&U==="")return 1;if(St>1e5&&St>D.index*3)throw new Error("potential infinite loop, way more iterations than matches");return X+=U,U.length}const he=O(y);if(!he)throw pr(o.replace("{}",y)),new Error('Unknown language: "'+y+'"');const zt=OA(he);let Et="",P=k||zt;const et={},oe=new s.__emitter(s);de();let X="",He=0,xe=0,St=0,bt=!1;try{if(he.__emitTokens)he.__emitTokens(v,oe);else{for(P.matcher.considerAll();;){St++,bt?bt=!1:P.matcher.considerAll(),P.matcher.lastIndex=xe;const N=P.matcher.exec(v);if(!N)break;const D=v.substring(xe,N.index),U=Qe(D,N);xe=N.index+U}Qe(v.substring(xe))}return oe.finalize(),Et=oe.toHTML(),{language:y,value:Et,relevance:He,illegal:!1,_emitter:oe,_top:P}}catch(N){if(N.message&&N.message.includes("Illegal"))return{language:y,value:pl(v),illegal:!0,relevance:0,_illegalBy:{message:N.message,index:xe,context:v.slice(xe-100,xe+100),mode:N.mode,resultSoFar:Et},_emitter:oe};if(i)return{language:y,value:pl(v),illegal:!1,relevance:0,errorRaised:N,_emitter:oe,_top:P};throw N}}function p(y){const v={value:pl(y),illegal:!1,relevance:0,_top:a,_emitter:new s.__emitter(s)};return v._emitter.addText(y),v}function _(y,v){v=v||s.languages||Object.keys(e);const A=p(y),k=v.filter(O).filter(B).map(ie=>d(ie,y,!1));k.unshift(A);const G=k.sort((ie,ue)=>{if(ie.relevance!==ue.relevance)return ue.relevance-ie.relevance;if(ie.language&&ue.language){if(O(ie.language).supersetOf===ue.language)return 1;if(O(ue.language).supersetOf===ie.language)return-1}return 0}),[z,ae]=G,Ce=z;return Ce.secondBest=ae,Ce}function m(y,v,A){const k=v&&n[v]||A;y.classList.add("hljs"),y.classList.add(`language-${k}`)}function f(y){let v=null;const A=c(y);if(l(A))return;if(V("before:highlightElement",{el:y,language:A}),y.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",y);return}if(y.children.length>0&&(s.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(y)),s.throwUnescapedHTML))throw new IA("One of your code blocks includes unescaped HTML.",y.innerHTML);v=y;const k=v.textContent,G=A?u(k,{language:A,ignoreIllegals:!0}):_(k);y.innerHTML=G.value,y.dataset.highlighted="yes",m(y,A,G.language),y.result={language:G.language,re:G.relevance,relevance:G.relevance},G.secondBest&&(y.secondBest={language:G.secondBest.language,relevance:G.secondBest.relevance}),V("after:highlightElement",{el:y,result:G,text:k})}function g(y){s=__(s,y)}const E=()=>{h(),wr("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function S(){h(),wr("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let b=!1;function h(){if(document.readyState==="loading"){b=!0;return}document.querySelectorAll(s.cssSelector).forEach(f)}function C(){b&&h()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",C,!1);function T(y,v){let A=null;try{A=v(t)}catch(k){if(pr("Language definition for '{}' could not be registered.".replace("{}",y)),i)pr(k);else throw k;A=a}A.name||(A.name=y),e[y]=A,A.rawDefinition=v.bind(null,t),A.aliases&&M(A.aliases,{languageName:y})}function R(y){delete e[y];for(const v of Object.keys(n))n[v]===y&&delete n[v]}function x(){return Object.keys(e)}function O(y){return y=(y||"").toLowerCase(),e[y]||e[n[y]]}function M(y,{languageName:v}){typeof y=="string"&&(y=[y]),y.forEach(A=>{n[A.toLowerCase()]=v})}function B(y){const v=O(y);return v&&!v.disableAutodetect}function Y(y){y["before:highlightBlock"]&&!y["before:highlightElement"]&&(y["before:highlightElement"]=v=>{y["before:highlightBlock"](Object.assign({block:v.el},v))}),y["after:highlightBlock"]&&!y["after:highlightElement"]&&(y["after:highlightElement"]=v=>{y["after:highlightBlock"](Object.assign({block:v.el},v))})}function $(y){Y(y),r.push(y)}function q(y){const v=r.indexOf(y);v!==-1&&r.splice(v,1)}function V(y,v){const A=y;r.forEach(function(k){k[A]&&k[A](v)})}function J(y){return wr("10.7.0","highlightBlock will be removed entirely in v12.0"),wr("10.7.0","Please use highlightElement now."),f(y)}Object.assign(t,{highlight:u,highlightAuto:_,highlightAll:h,highlightElement:f,highlightBlock:J,configure:g,initHighlighting:E,initHighlightingOnLoad:S,registerLanguage:T,unregisterLanguage:R,listLanguages:x,getLanguage:O,registerAliases:M,autoDetection:B,inherit:__,addPlugin:$,removePlugin:q}),t.debugMode=function(){i=!1},t.safeMode=function(){i=!0},t.versionString=AA,t.regex={concat:yr,lookahead:Yg,either:du,optional:zN,anyNumberOfTimes:YN};for(const y in Vo)typeof Vo[y]=="object"&&Hg(Vo[y]);return Object.assign(t,Vo),t},ci=jg({});ci.newInstance=()=>jg({});var DA=ci;ci.HighlightJS=ci;ci.default=ci;var MA=FN(DA);function Jg(t,e=[]){return t.map(n=>{const r=[...e,...n.properties?n.properties.className:[]];return n.children?Jg(n.children,r):{text:n.value,classes:r}}).flat()}function f_(t){return t.value||t.children||[]}function wA(t){return!!MA.getLanguage(t)}function g_({doc:t,name:e,lowlight:n,defaultLanguage:r}){const i=[];return Wl(t,o=>o.type.name===e).forEach(o=>{var a;let s=o.pos+1;const l=o.node.attrs.language||r,c=n.listLanguages(),u=l&&(c.includes(l)||wA(l)||!((a=n.registered)===null||a===void 0)&&a.call(n,l))?f_(n.highlight(l,o.node.textContent)):f_(n.highlightAuto(o.node.textContent));Jg(u).forEach(d=>{const p=s+d.text.length;if(d.classes.length){const _=ke.inline(s,p,{class:d.classes.join(" ")});i.push(_)}s=p})}),be.create(t,i)}function LA(t){return typeof t=="function"}function kA({name:t,lowlight:e,defaultLanguage:n}){if(!["highlight","highlightAuto","listLanguages"].every(i=>LA(e[i])))throw Error("You should provide an instance of lowlight to use the code-block-lowlight extension");const r=new Se({key:new ve("lowlight"),state:{init:(i,{doc:o})=>g_({doc:o,name:t,lowlight:e,defaultLanguage:n}),apply:(i,o,a,s)=>{const l=a.selection.$head.parent.type.name,c=s.selection.$head.parent.type.name,u=Wl(a.doc,p=>p.type.name===t),d=Wl(s.doc,p=>p.type.name===t);return i.docChanged&&([l,c].includes(t)||d.length!==u.length||i.steps.some(p=>p.from!==void 0&&p.to!==void 0&&u.some(_=>_.pos>=p.from&&_.pos+_.node.nodeSize<=p.to)))?g_({doc:i.doc,name:t,lowlight:e,defaultLanguage:n}):o.map(i.mapping,i.doc)}},props:{decorations(i){return r.getState(i)}}});return r}const PA=gg.extend({addOptions(){var t;return{...(t=this.parent)===null||t===void 0?void 0:t.call(this),lowlight:{},languageClassPrefix:"language-",exitOnTripleEnter:!0,exitOnArrowDown:!0,defaultLanguage:null,HTMLAttributes:{}}},addProseMirrorPlugins(){var t;return[...((t=this.parent)===null||t===void 0?void 0:t.call(this))||[],kA({name:this.name,lowlight:this.options.lowlight,defaultLanguage:this.options.defaultLanguage})]}});function h_(t,e,n={}){const{empty:r,ranges:i,from:o,to:a}=t.selection,s=e?Sn(e,t.schema):null;if(r)return!!(t.storedMarks||t.selection.$from.marks()).filter(f=>s?s.name===f.type.name:!0).find(f=>ri(f.attrs,n,{strict:!1}));let l=o,c=a;const u=[];i.forEach(({$from:f,$to:g})=>{const E=f.pos,S=g.pos;l=Math.min(l,E),c=Math.max(l,S),t.doc.nodesBetween(E,S,(b,h)=>{if(!b.isText&&!b.marks.length)return;const C=Math.max(E,h),T=Math.min(S,h+b.nodeSize);u.push(...b.marks.map(R=>({mark:R,from:C,to:T})))})});const d=c-l;if(d===0)return!1;const p=u.filter(f=>s?s.name===f.mark.type.name:!0).filter(f=>ri(f.mark.attrs,n,{strict:!1})).reduce((f,g)=>f+g.to-g.from,0),_=u.filter(f=>s?f.mark.type!==s&&f.mark.type.excludes(s):!0).reduce((f,g)=>f+g.to-g.from,0);return(p>0?p+_:p)>=d}function E_(t){var e;return!!((e=t.spec.group)!=null&&e.split(" ").includes("list"))}function _l(t,e,n={}){if(!e)return hr(t,null,n)||h_(t,null,n);const r=t.schema.nodes[e];if(r){if(E_(r)){const o=ms(a=>E_(a.type))(t.selection);return!!(o&&o.node.type.name===e)}return hr(t,e,n)}return t.schema.marks[e]?h_(t,e,n):!1}function S_(t){return new fo({find:t.find,handler:({state:e,range:n,match:r,commands:i})=>{const o=e.doc.resolve(n.from),a=le(t.getAttributes,void 0,r)||{};if(!o.node(-1).canReplaceWith(o.index(-1),o.indexAfter(-1),t.type))return null;e.tr.delete(n.from,n.to).setBlockType(n.from,n.from,t.type,a),setTimeout(()=>i.focus(!0),0)}})}const eh=[{name:"Auto",value:"auto"},{name:"Plain Text",value:"plaintext",alias:["text","txt"]},{name:"Bash",value:"bash",alias:["sh"]},{name:"BASIC",value:"basic",alias:[]},{name:"C",value:"c",alias:["h"]},{name:"Clojure",value:"clojure",alias:["clj","edn"]},{name:"CMake",value:"cmake",alias:["cmake.in"]},{name:"CoffeeScript",value:"coffeescript",alias:["coffee","cson","iced"]},{name:"C++",value:"cpp",alias:["cc","c++","h++","hpp","hh","hxx","cxx"]},{name:"C#",value:"csharp",alias:["cs","c#"]},{name:"CSS",value:"css",alias:[]},{name:"Dart",value:"dart",alias:[]},{name:"Delphi",value:"delphi",alias:["dpr","dfm","pas","pascal"]},{name:"Dockerfile",value:"dockerfile",alias:["docker"]},{name:"Erlang",value:"erlang",alias:["erl"]},{name:"Go",value:"go",alias:["golang"]},{name:"GraphQL",value:"graphql",alias:["gql"]},{name:"Groovy",value:"groovy",alias:[]},{name:"Java",value:"java",alias:["jsp"]},{name:"JavaScript",value:"javascript",alias:["js","jsx","mjs","cjs"]},{name:"JSON",value:"json",alias:[]},{name:"Kotlin",value:"kotlin",alias:["kt","kts"]},{name:"Lua",value:"lua",alias:[]},{name:"Makefile",value:"makefile",alias:["mk","mak","make"]},{name:"Markdown",value:"markdown",alias:["md","mkdown","mkd"]},{name:"Matlab",value:"matlab",alias:[]},{name:"Objective-C",value:"objectivec",alias:["mm","objc","obj-c","obj-c++","objective-c++"]},{name:"PHP",value:"php",alias:[]},{name:"Properties",value:"properties",alias:[]},{name:"Python",value:"python",alias:["py","gyp","ipython"]},{name:"Ruby",value:"ruby",alias:["rb","gemspec","podspec","thor","irb"]},{name:"Rust",value:"rust",alias:["rs"]},{name:"Scala",value:"scala",alias:[]},{name:"SCSS",value:"scss",alias:[]},{name:"Shell",value:"shell",alias:["console","shellsession"]},{name:"SQL",value:"sql",alias:[]},{name:"Swift",value:"swift",alias:[]},{name:"TypeScript",value:"typescript",alias:["ts","tsx"]},{name:"WebAssembly",value:"wasm",alias:[]},{name:"HTML, XML",value:"xml",alias:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"]},{name:"YAML",value:"yaml",alias:["yml"]}],b_=t=>{if(!t)return null;const e=t.toLocaleLowerCase();return eh.find(r=>r.value===e||r.alias&&r.alias.includes(e))};function T_(t,e){const{$from:n,from:r,to:i}=t,s=(e.textContent||"").split(` -`).reduce((_,m,f)=>(_[f]=(_[f-1]||0)+m.length+(f===0?0:1),_),{}),l=n.parentOffset,c=n.parentOffset+i-r,u=Object.keys(s),d=u.find(_=>s[_]>=l),p=u.find(_=>s[_]>=c);return{start:d,end:p}}const FA=/^[`·]{3}([a-z]+)?[\s\n]$/,BA=/^[~~]{3}([a-z]+)?[\s\n]$/,UA=PA.extend({addOptions(){var t;return{...(t=this.parent)==null?void 0:t.call(this),lowlight:{},defaultLanguage:null,languages:[]}},addCommands(){var t;return{...(t=this.parent)==null?void 0:t.call(this),addCodeComments:(e,n)=>({editor:r})=>{const{view:{dispatch:i},state:{tr:o}}=r;return i(o.setSelection(ee.create(r.state.doc,n)).deleteSelection()),En.get(this.options.codeCommentsAi.model).chat(e.textContent,this.options.codeCommentsAi.prompt,new Oa(r,{markdownParseEnable:!0,useMarkdownTextOnly:!0})),!0},addCodeExplain:(e,n)=>({editor:r})=>{const{view:{dispatch:i},state:{tr:o}}=r,a=r.state.doc.nodeSize;a<=n+e.nodeSize+2?(r.commands.insertContentAt(n+e.nodeSize+1,"

"),i(o.setSelection(Z.create(r.state.doc,a-2)))):i(o.setSelection(Z.create(r.state.doc,n+e.nodeSize+1)));const s=En.get(this.options.codeExplainAi.model);return s==null||s.chat(e.textContent,this.options.codeExplainAi.prompt,new Oa(r)),!0},toggleCodeBlock:e=>({commands:n,editor:r,chain:i})=>{const{state:o}=r,{from:a,to:s}=o.selection;if(!_l(o,this.name)&&!o.selection.empty){let l=!0;const c=[];if(o.doc.nodesBetween(a,s,(u,d)=>{if(u.isInline)return!1;if(u.type.name!=="paragraph")return d+1<=a&&d+u.nodeSize-1>=s?void 0:(l=!1,!1);{const p=(u.textContent||"").slice(d+1>a?0:a-d-1,d+u.nodeSize-11)return i().command(({state:u,tr:d})=>(d.replaceRangeWith(a,s,this.type.create(e,u.schema.text(c.join(` -`)))),!0)).setTextSelection({from:a+2,to:a+2}).run()}return n.toggleNode(this.name,"paragraph",e)}}},addKeyboardShortcuts(){var t;return{...(t=this.parent)==null?void 0:t.call(this),Tab:({editor:e})=>{const{state:n,view:r}=e;if(!_l(n,this.name))return!1;const{selection:i,tr:o}=n,a=" ";if(i.empty)r.dispatch(o.insertText(a));else{const{$from:s,from:l,to:c}=i,u=s.node();if(u.type!==this.type)return!1;const{start:d,end:p}=T_(i,u);if(d===void 0||p===void 0)return r.dispatch(o.replaceSelectionWith(n.schema.text(a))),!0;const f=(u.textContent||"").split(` -`).map((S,b)=>b>=d&&b<=p&&S?a+S:S),g=s.node(1),E=s.start(1);o.replaceWith(E,E+g.nodeSize-2,n.schema.text(f.join(` -`))),o.setSelection(Z.between(o.doc.resolve(l+a.length),o.doc.resolve(c+(p-d+1)*a.length))),r.dispatch(o)}return!0},"Shift-Tab":({editor:e})=>{const{state:n,view:r}=e;if(!_l(n,this.name))return!1;const{selection:i,tr:o}=n,{$from:a,from:s,to:l}=i,c=a.node();if(c.type!==this.type)return!1;const{start:u,end:d}=T_(i,c);if(u===void 0||d===void 0)return!1;const _=(c.textContent||"").split(` -`);let m=s,f=l;const g=_.map((b,h)=>{if(h>=u&&h<=d&&b)for(let C=0;C<2;C++)b.startsWith(" ")&&(b=b.slice(1),h==u&&m--,f--);return b}),E=a.node(1),S=a.start(1);return o.replaceWith(S,S+E.nodeSize-2,n.schema.text(g.join(` -`))),o.setSelection(Z.between(o.doc.resolve(m),o.doc.resolve(f))),r.dispatch(o),!0}}},addInputRules(){return[S_({find:FA,type:this.type,getAttributes:t=>{var e;return{language:((e=b_(t[1]))==null?void 0:e.value)||this.options.defaultLanguage}}}),S_({find:BA,type:this.type,getAttributes:t=>{var e;return{language:((e=b_(t[1]))==null?void 0:e.value)||this.options.defaultLanguage}}})]},addNodeView(){return t=>{var o,a;const e=document.createElement("div");e.classList.add("aie-codeblock-wrapper");const{language:n}=t.node.attrs;if(!this.editor.isEditable)return e.innerHTML=` +3. "-" cannot repeat`);Ae.customSchemes.push([t,e])}function wN(){Ae.scanner=vN(Ae.customSchemes);for(let t=0;t{const i=e.some(c=>c.docChanged)&&!n.doc.eq(r.doc),o=e.some(c=>c.getMeta("preventAutolink"));if(!i||o)return;const{tr:a}=r,s=qT(n.doc,[...e]);if(JT(s).forEach(({newRange:c})=>{const u=KT(r.doc,c,_=>_.isTextblock);let d,p;if(u.length>1?(d=u[0],p=r.doc.textBetween(d.pos,d.pos+d.node.nodeSize,void 0," ")):u.length&&r.doc.textBetween(c.from,c.to," "," ").endsWith(" ")&&(d=u[0],p=r.doc.textBetween(d.pos,c.to,void 0," ")),d&&p){const _=p.split(" ").filter(E=>E!=="");if(_.length<=0)return!1;const m=_[_.length-1],f=d.pos+p.lastIndexOf(m);if(!m)return!1;const h=Vh(m).map(E=>E.toObject(t.defaultProtocol));if(!LN(h))return!1;h.filter(E=>E.isLink).map(E=>({...E,from:f+E.start+1,to:f+E.end+1})).filter(E=>r.schema.marks.code?!r.doc.rangeHasMark(E.from,E.to,r.schema.marks.code):!0).filter(E=>t.validate(E.value)).filter(E=>t.shouldAutoLink(E.value)).forEach(E=>{$c(E.from,E.to,r.doc).some(S=>S.mark.type===t.type)||a.addMark(E.from,E.to,t.type.create({href:E.href}))})}}),!!a.steps.length)return a}})}function PN(t){return new Se({key:new ve("handleClickLink"),props:{handleClick:(e,n,r)=>{var i,o;if(r.button!==0||!e.editable)return!1;let a=r.target;const s=[];for(;a.nodeName!=="DIV";)s.push(a),a=a.parentNode;if(!s.find(p=>p.nodeName==="A"))return!1;const l=Pf(e.state,t.type.name),c=r.target,u=(i=c==null?void 0:c.href)!==null&&i!==void 0?i:l.href,d=(o=c==null?void 0:c.target)!==null&&o!==void 0?o:l.target;return c&&u?(window.open(u,d),!0):!1}}})}function FN(t){return new Se({key:new ve("handlePasteLink"),props:{handlePaste:(e,n,r)=>{const{state:i}=e,{selection:o}=i,{empty:a}=o;if(a)return!1;let s="";r.content.forEach(c=>{s+=c.textContent});const l=Yh(s,{defaultProtocol:t.defaultProtocol}).find(c=>c.isLink&&c.value===s);return!s||!l?!1:(t.editor.commands.setMark(t.type,{href:l.href}),!0)}}})}const BN=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g;function Ri(t,e){const n=["http","https","ftp","ftps","mailto","tel","callto","sms","cid","xmpp"];return e&&e.forEach(r=>{const i=typeof r=="string"?r:r.scheme;i&&n.push(i)}),!t||t.replace(BN,"").match(new RegExp(`^(?:(?:${n.join("|")}):|[^a-z]|[a-z+.-]+(?:[^a-z+.-:]|$))`,"i"))}const UN=ft.create({name:"link",priority:1e3,keepOnSplit:!1,exitable:!0,onCreate(){this.options.validate&&!this.options.shouldAutoLink&&(this.options.shouldAutoLink=this.options.validate,console.warn("The `validate` option is deprecated. Rename to the `shouldAutoLink` option instead.")),this.options.protocols.forEach(t=>{if(typeof t=="string"){u_(t);return}u_(t.scheme,t.optionalSlashes)})},onDestroy(){MN()},inclusive(){return this.options.autolink},addOptions(){return{openOnClick:!0,linkOnPaste:!0,autolink:!0,protocols:[],defaultProtocol:"http",HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},isAllowedUri:(t,e)=>!!Ri(t,e.protocols),validate:t=>!!t,shouldAutoLink:t=>!!t}},addAttributes(){return{href:{default:null,parseHTML(t){return t.getAttribute("href")}},target:{default:this.options.HTMLAttributes.target},rel:{default:this.options.HTMLAttributes.rel},class:{default:this.options.HTMLAttributes.class}}},parseHTML(){return[{tag:"a[href]",getAttrs:t=>{const e=t.getAttribute("href");return!e||!this.options.isAllowedUri(e,{defaultValidate:n=>!!Ri(n,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?!1:null}}]},renderHTML({HTMLAttributes:t}){return this.options.isAllowedUri(t.href,{defaultValidate:e=>!!Ri(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?["a",pe(this.options.HTMLAttributes,t),0]:["a",pe(this.options.HTMLAttributes,{...t,href:""}),0]},addCommands(){return{setLink:t=>({chain:e})=>e().setMark(this.name,t).setMeta("preventAutolink",!0).run(),toggleLink:t=>({chain:e})=>e().toggleMark(this.name,t,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run(),unsetLink:()=>({chain:t})=>t().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[Yn({find:t=>{const e=[];if(t){const{protocols:n,defaultProtocol:r}=this.options,i=Yh(t).filter(o=>o.isLink&&this.options.isAllowedUri(o.value,{defaultValidate:a=>!!Ri(a,n),protocols:n,defaultProtocol:r}));i.length&&i.forEach(o=>e.push({text:o.value,data:{href:o.href},index:o.start}))}return e},type:this.type,getAttributes:t=>{var e;return{href:(e=t.data)===null||e===void 0?void 0:e.href}}})]},addProseMirrorPlugins(){const t=[],{protocols:e,defaultProtocol:n}=this.options;return this.options.autolink&&t.push(kN({type:this.type,defaultProtocol:this.options.defaultProtocol,validate:r=>this.options.isAllowedUri(r,{defaultValidate:i=>!!Ri(i,e),protocols:e,defaultProtocol:n}),shouldAutoLink:this.options.shouldAutoLink})),this.options.openOnClick===!0&&t.push(PN({type:this.type})),this.options.linkOnPaste&&t.push(FN({editor:this.editor,defaultProtocol:this.options.defaultProtocol,type:this.type})),t}}),HN=ft.create({name:"superscript",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"sup"},{style:"vertical-align",getAttrs(t){return t!=="super"?!1:null}}]},renderHTML({HTMLAttributes:t}){return["sup",pe(this.options.HTMLAttributes,t),0]},addCommands(){return{setSuperscript:()=>({commands:t})=>t.setMark(this.name),toggleSuperscript:()=>({commands:t})=>t.toggleMark(this.name),unsetSuperscript:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-.":()=>this.editor.commands.toggleSuperscript()}}}),GN=ft.create({name:"subscript",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"sub"},{style:"vertical-align",getAttrs(t){return t!=="sub"?!1:null}}]},renderHTML({HTMLAttributes:t}){return["sub",pe(this.options.HTMLAttributes,t),0]},addCommands(){return{setSubscript:()=>({commands:t})=>t.setMark(this.name),toggleSubscript:()=>({commands:t})=>t.toggleMark(this.name),unsetSubscript:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-,":()=>this.editor.commands.toggleSubscript()}}}),VN=Ne.create({name:"taskList",addOptions(){return{itemTypeName:"taskItem",HTMLAttributes:{}}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:`ul[data-type="${this.name}"]`,priority:51}]},renderHTML({HTMLAttributes:t}){return["ul",pe(this.options.HTMLAttributes,t,{"data-type":this.name}),0]},addCommands(){return{toggleTaskList:()=>({commands:t})=>t.toggleList(this.name,this.options.itemTypeName)}},addKeyboardShortcuts(){return{"Mod-Shift-9":()=>this.editor.commands.toggleTaskList()}}}),YN=/^\s*(\[([( |x])?\])\s$/,zN=Ne.create({name:"taskItem",addOptions(){return{nested:!1,HTMLAttributes:{},taskListTypeName:"taskList"}},content(){return this.options.nested?"paragraph block*":"paragraph+"},defining:!0,addAttributes(){return{checked:{default:!1,keepOnSplit:!1,parseHTML:t=>{const e=t.getAttribute("data-checked");return e===""||e==="true"},renderHTML:t=>({"data-checked":t.checked})}}},parseHTML(){return[{tag:`li[data-type="${this.name}"]`,priority:51}]},renderHTML({node:t,HTMLAttributes:e}){return["li",pe(this.options.HTMLAttributes,e,{"data-type":this.name}),["label",["input",{type:"checkbox",checked:t.attrs.checked?"checked":null}],["span"]],["div",0]]},addKeyboardShortcuts(){const t={Enter:()=>this.editor.commands.splitListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)};return this.options.nested?{...t,Tab:()=>this.editor.commands.sinkListItem(this.name)}:t},addNodeView(){return({node:t,HTMLAttributes:e,getPos:n,editor:r})=>{const i=document.createElement("li"),o=document.createElement("label"),a=document.createElement("span"),s=document.createElement("input"),l=document.createElement("div");return o.contentEditable="false",s.type="checkbox",s.addEventListener("mousedown",c=>c.preventDefault()),s.addEventListener("change",c=>{if(!r.isEditable&&!this.options.onReadOnlyChecked){s.checked=!s.checked;return}const{checked:u}=c.target;r.isEditable&&typeof n=="function"&&r.chain().focus(void 0,{scrollIntoView:!1}).command(({tr:d})=>{const p=n();if(typeof p!="number")return!1;const _=d.doc.nodeAt(p);return d.setNodeMarkup(p,void 0,{..._==null?void 0:_.attrs,checked:u}),!0}).run(),!r.isEditable&&this.options.onReadOnlyChecked&&(this.options.onReadOnlyChecked(t,u)||(s.checked=!s.checked))}),Object.entries(this.options.HTMLAttributes).forEach(([c,u])=>{i.setAttribute(c,u)}),i.dataset.checked=t.attrs.checked,t.attrs.checked&&s.setAttribute("checked","checked"),o.append(s,a),i.append(o,l),Object.entries(e).forEach(([c,u])=>{i.setAttribute(c,u)}),{dom:i,contentDOM:l,update:c=>c.type!==this.type?!1:(i.dataset.checked=c.attrs.checked,c.attrs.checked?s.setAttribute("checked","checked"):s.removeAttribute("checked"),!0)}}},addInputRules(){return[Sr({find:YN,type:this.type,getAttributes:t=>({checked:t[t.length-1]==="x"})})]}});function $N(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function zh(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw new Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw new Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach(e=>{const n=t[e],r=typeof n;(r==="object"||r==="function")&&!Object.isFrozen(n)&&zh(n)}),t}let d_=class{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function $h(t){return t.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function kn(t,...e){const n=Object.create(null);for(const r in t)n[r]=t[r];return e.forEach(function(r){for(const i in r)n[i]=r[i]}),n}const qN="
",p_=t=>!!t.scope,WN=(t,{prefix:e})=>{if(t.startsWith("language:"))return t.replace("language:","language-");if(t.includes(".")){const n=t.split(".");return[`${e}${n.shift()}`,...n.map((r,i)=>`${r}${"_".repeat(i+1)}`)].join(" ")}return`${e}${t}`};let KN=class{constructor(e,n){this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){this.buffer+=$h(e)}openNode(e){if(!p_(e))return;const n=WN(e.scope,{prefix:this.classPrefix});this.span(n)}closeNode(e){p_(e)&&(this.buffer+=qN)}value(){return this.buffer}span(e){this.buffer+=``}};const __=(t={})=>{const e={children:[]};return Object.assign(e,t),e};let QN=class qh{constructor(){this.rootNode=__(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const n=__({scope:e});this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,n){return typeof n=="string"?e.addText(n):n.children&&(e.openNode(n),n.children.forEach(r=>this._walk(e,r)),e.closeNode(n)),e}static _collapse(e){typeof e!="string"&&e.children&&(e.children.every(n=>typeof n=="string")?e.children=[e.children.join("")]:e.children.forEach(n=>{qh._collapse(n)}))}},ZN=class extends QN{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,n){const r=e.root;n&&(r.scope=`language:${n}`),this.add(r)}toHTML(){return new KN(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}};function io(t){return t?typeof t=="string"?t:t.source:null}function Wh(t){return yr("(?=",t,")")}function XN(t){return yr("(?:",t,")*")}function jN(t){return yr("(?:",t,")?")}function yr(...t){return t.map(n=>io(n)).join("")}function JN(t){const e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function mu(...t){return"("+(JN(t).capture?"":"?:")+t.map(r=>io(r)).join("|")+")"}function Kh(t){return new RegExp(t.toString()+"|").exec("").length-1}function eA(t,e){const n=t&&t.exec(e);return n&&n.index===0}const tA=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function fu(t,{joinWith:e}){let n=0;return t.map(r=>{n+=1;const i=n;let o=io(r),a="";for(;o.length>0;){const s=tA.exec(o);if(!s){a+=o;break}a+=o.substring(0,s.index),o=o.substring(s.index+s[0].length),s[0][0]==="\\"&&s[1]?a+="\\"+String(Number(s[1])+i):(a+=s[0],s[0]==="("&&n++)}return a}).map(r=>`(${r})`).join(e)}const nA=/\b\B/,Qh="[a-zA-Z]\\w*",hu="[a-zA-Z_]\\w*",Zh="\\b\\d+(\\.\\d+)?",Xh="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",jh="\\b(0b[01]+)",rA="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",iA=(t={})=>{const e=/^#![ ]*\//;return t.binary&&(t.begin=yr(e,/.*\b/,t.binary,/\b.*/)),kn({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(n,r)=>{n.index!==0&&r.ignoreMatch()}},t)},oo={begin:"\\\\[\\s\\S]",relevance:0},oA={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[oo]},aA={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[oo]},sA={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},vs=function(t,e,n={}){const r=kn({scope:"comment",begin:t,end:e,contains:[]},n);r.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const i=mu("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:yr(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},lA=vs("//","$"),cA=vs("/\\*","\\*/"),uA=vs("#","$"),dA={scope:"number",begin:Zh,relevance:0},pA={scope:"number",begin:Xh,relevance:0},_A={scope:"number",begin:jh,relevance:0},mA={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[oo,{begin:/\[/,end:/\]/,relevance:0,contains:[oo]}]},fA={scope:"title",begin:Qh,relevance:0},hA={scope:"title",begin:hu,relevance:0},gA={begin:"\\.\\s*"+hu,relevance:0},EA=function(t){return Object.assign(t,{"on:begin":(e,n)=>{n.data._beginMatch=e[1]},"on:end":(e,n)=>{n.data._beginMatch!==e[1]&&n.ignoreMatch()}})};var zo=Object.freeze({__proto__:null,APOS_STRING_MODE:oA,BACKSLASH_ESCAPE:oo,BINARY_NUMBER_MODE:_A,BINARY_NUMBER_RE:jh,COMMENT:vs,C_BLOCK_COMMENT_MODE:cA,C_LINE_COMMENT_MODE:lA,C_NUMBER_MODE:pA,C_NUMBER_RE:Xh,END_SAME_AS_BEGIN:EA,HASH_COMMENT_MODE:uA,IDENT_RE:Qh,MATCH_NOTHING_RE:nA,METHOD_GUARD:gA,NUMBER_MODE:dA,NUMBER_RE:Zh,PHRASAL_WORDS_MODE:sA,QUOTE_STRING_MODE:aA,REGEXP_MODE:mA,RE_STARTERS_RE:rA,SHEBANG:iA,TITLE_MODE:fA,UNDERSCORE_IDENT_RE:hu,UNDERSCORE_TITLE_MODE:hA});function SA(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function bA(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function TA(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=SA,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function CA(t,e){Array.isArray(t.illegal)&&(t.illegal=mu(...t.illegal))}function yA(t,e){if(t.match){if(t.begin||t.end)throw new Error("begin & end are not supported with match");t.begin=t.match,delete t.match}}function vA(t,e){t.relevance===void 0&&(t.relevance=1)}const RA=(t,e)=>{if(!t.beforeMatch)return;if(t.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},t);Object.keys(t).forEach(r=>{delete t[r]}),t.keywords=n.keywords,t.begin=yr(n.beforeMatch,Wh(n.begin)),t.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},t.relevance=0,delete n.beforeMatch},OA=["of","and","for","in","not","or","if","then","parent","list","value"],NA="keyword";function Jh(t,e,n=NA){const r=Object.create(null);return typeof t=="string"?i(n,t.split(" ")):Array.isArray(t)?i(n,t):Object.keys(t).forEach(function(o){Object.assign(r,Jh(t[o],e,o))}),r;function i(o,a){e&&(a=a.map(s=>s.toLowerCase())),a.forEach(function(s){const l=s.split("|");r[l[0]]=[o,AA(l[0],l[1])]})}}function AA(t,e){return e?Number(e):IA(t)?0:1}function IA(t){return OA.includes(t.toLowerCase())}const m_={},pr=t=>{console.error(t)},f_=(t,...e)=>{console.log(`WARN: ${t}`,...e)},wr=(t,e)=>{m_[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),m_[`${t}/${e}`]=!0)},$a=new Error;function eg(t,e,{key:n}){let r=0;const i=t[n],o={},a={};for(let s=1;s<=e.length;s++)a[s+r]=i[s],o[s+r]=!0,r+=Kh(e[s-1]);t[n]=a,t[n]._emit=o,t[n]._multi=!0}function xA(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw pr("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),$a;if(typeof t.beginScope!="object"||t.beginScope===null)throw pr("beginScope must be object"),$a;eg(t,t.begin,{key:"beginScope"}),t.begin=fu(t.begin,{joinWith:""})}}function DA(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw pr("skip, excludeEnd, returnEnd not compatible with endScope: {}"),$a;if(typeof t.endScope!="object"||t.endScope===null)throw pr("endScope must be object"),$a;eg(t,t.end,{key:"endScope"}),t.end=fu(t.end,{joinWith:""})}}function MA(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function wA(t){MA(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),xA(t),DA(t)}function LA(t){function e(a,s){return new RegExp(io(a),"m"+(t.case_insensitive?"i":"")+(t.unicodeRegex?"u":"")+(s?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(s,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,s]),this.matchAt+=Kh(s)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const s=this.regexes.map(l=>l[1]);this.matcherRe=e(fu(s,{joinWith:"|"}),!0),this.lastIndex=0}exec(s){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(s);if(!l)return null;const c=l.findIndex((d,p)=>p>0&&d!==void 0),u=this.matchIndexes[c];return l.splice(0,c),Object.assign(l,u)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(s){if(this.multiRegexes[s])return this.multiRegexes[s];const l=new n;return this.rules.slice(s).forEach(([c,u])=>l.addRule(c,u)),l.compile(),this.multiRegexes[s]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(s,l){this.rules.push([s,l]),l.type==="begin"&&this.count++}exec(s){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let c=l.exec(s);if(this.resumingScanAtSamePosition()&&!(c&&c.index===this.lastIndex)){const u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,c=u.exec(s)}return c&&(this.regexIndex+=c.position+1,this.regexIndex===this.count&&this.considerAll()),c}}function i(a){const s=new r;return a.contains.forEach(l=>s.addRule(l.begin,{rule:l,type:"begin"})),a.terminatorEnd&&s.addRule(a.terminatorEnd,{type:"end"}),a.illegal&&s.addRule(a.illegal,{type:"illegal"}),s}function o(a,s){const l=a;if(a.isCompiled)return l;[bA,yA,wA,RA].forEach(u=>u(a,s)),t.compilerExtensions.forEach(u=>u(a,s)),a.__beforeBegin=null,[TA,CA,vA].forEach(u=>u(a,s)),a.isCompiled=!0;let c=null;return typeof a.keywords=="object"&&a.keywords.$pattern&&(a.keywords=Object.assign({},a.keywords),c=a.keywords.$pattern,delete a.keywords.$pattern),c=c||/\w+/,a.keywords&&(a.keywords=Jh(a.keywords,t.case_insensitive)),l.keywordPatternRe=e(c,!0),s&&(a.begin||(a.begin=/\B|\b/),l.beginRe=e(l.begin),!a.end&&!a.endsWithParent&&(a.end=/\B|\b/),a.end&&(l.endRe=e(l.end)),l.terminatorEnd=io(l.end)||"",a.endsWithParent&&s.terminatorEnd&&(l.terminatorEnd+=(a.end?"|":"")+s.terminatorEnd)),a.illegal&&(l.illegalRe=e(a.illegal)),a.contains||(a.contains=[]),a.contains=[].concat(...a.contains.map(function(u){return kA(u==="self"?a:u)})),a.contains.forEach(function(u){o(u,l)}),a.starts&&o(a.starts,s),l.matcher=i(l),l}if(t.compilerExtensions||(t.compilerExtensions=[]),t.contains&&t.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return t.classNameAliases=kn(t.classNameAliases||{}),o(t)}function tg(t){return t?t.endsWithParent||tg(t.starts):!1}function kA(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return kn(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:tg(t)?kn(t,{starts:t.starts?kn(t.starts):null}):Object.isFrozen(t)?kn(t):t}var PA="11.10.0";let FA=class extends Error{constructor(e,n){super(e),this.name="HTMLInjectionError",this.html=n}};const ml=$h,h_=kn,g_=Symbol("nomatch"),BA=7,ng=function(t){const e=Object.create(null),n=Object.create(null),r=[];let i=!0;const o="Could not find the language '{}', did you forget to load/include a language module?",a={disableAutodetect:!0,name:"Plain text",contains:[]};let s={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:ZN};function l(y){return s.noHighlightRe.test(y)}function c(y){let v=y.className+" ";v+=y.parentNode?y.parentNode.className:"";const A=s.languageDetectRe.exec(v);if(A){const k=O(A[1]);return k||(f_(o.replace("{}",A[1])),f_("Falling back to no-highlight mode for this block.",y)),k?A[1]:"no-highlight"}return v.split(/\s+/).find(k=>l(k)||O(k))}function u(y,v,A){let k="",G="";typeof v=="object"?(k=y,A=v.ignoreIllegals,G=v.language):(wr("10.7.0","highlight(lang, code, ...args) has been deprecated."),wr("10.7.0",`Please use highlight(code, options) instead. +https://github.com/highlightjs/highlight.js/issues/2277`),G=y,k=v),A===void 0&&(A=!0);const z={code:k,language:G};V("before:highlight",z);const ae=z.result?z.result:d(z.language,z.code,A);return ae.code=z.code,V("after:highlight",ae),ae}function d(y,v,A,k){const G=Object.create(null);function z(N,D){return N.keywords[D]}function ae(){if(!P.keywords){oe.addText(X);return}let N=0;P.keywordPatternRe.lastIndex=0;let D=P.keywordPatternRe.exec(X),U="";for(;D;){U+=X.substring(N,D.index);const K=ge.case_insensitive?D[0].toLowerCase():D[0],_e=z(P,K);if(_e){const[De,Rr]=_e;if(oe.addText(U),U="",G[K]=(G[K]||0)+1,G[K]<=BA&&(He+=Rr),De.startsWith("_"))U+=D[0];else{const I=ge.classNameAliases[De]||De;ue(D[0],I)}}else U+=D[0];N=P.keywordPatternRe.lastIndex,D=P.keywordPatternRe.exec(X)}U+=X.substring(N),oe.addText(U)}function Ce(){if(X==="")return;let N=null;if(typeof P.subLanguage=="string"){if(!e[P.subLanguage]){oe.addText(X);return}N=d(P.subLanguage,X,!0,et[P.subLanguage]),et[P.subLanguage]=N._top}else N=_(X,P.subLanguage.length?P.subLanguage:null);P.relevance>0&&(He+=N.relevance),oe.__addSublanguage(N._emitter,N.language)}function ie(){P.subLanguage!=null?Ce():ae(),X=""}function ue(N,D){N!==""&&(oe.startScope(D),oe.addText(N),oe.endScope())}function Be(N,D){let U=1;const K=D.length-1;for(;U<=K;){if(!N._emit[U]){U++;continue}const _e=ge.classNameAliases[N[U]]||N[U],De=D[U];_e?ue(De,_e):(X=De,ae(),X=""),U++}}function Le(N,D){return N.scope&&typeof N.scope=="string"&&oe.openNode(ge.classNameAliases[N.scope]||N.scope),N.beginScope&&(N.beginScope._wrap?(ue(X,ge.classNameAliases[N.beginScope._wrap]||N.beginScope._wrap),X=""):N.beginScope._multi&&(Be(N.beginScope,D),X="")),P=Object.create(N,{parent:{value:P}}),P}function We(N,D,U){let K=eA(N.endRe,U);if(K){if(N["on:end"]){const _e=new d_(N);N["on:end"](D,_e),_e.isMatchIgnored&&(K=!1)}if(K){for(;N.endsParent&&N.parent;)N=N.parent;return N}}if(N.endsWithParent)return We(N.parent,D,U)}function Ke(N){return P.matcher.regexIndex===0?(X+=N[0],1):(bt=!0,0)}function gt(N){const D=N[0],U=N.rule,K=new d_(U),_e=[U.__beforeBegin,U["on:begin"]];for(const De of _e)if(De&&(De(N,K),K.isMatchIgnored))return Ke(D);return U.skip?X+=D:(U.excludeBegin&&(X+=D),ie(),!U.returnBegin&&!U.excludeBegin&&(X=D)),Le(U,N),U.returnBegin?0:D.length}function Ft(N){const D=N[0],U=v.substring(N.index),K=We(P,N,U);if(!K)return g_;const _e=P;P.endScope&&P.endScope._wrap?(ie(),ue(D,P.endScope._wrap)):P.endScope&&P.endScope._multi?(ie(),Be(P.endScope,N)):_e.skip?X+=D:(_e.returnEnd||_e.excludeEnd||(X+=D),ie(),_e.excludeEnd&&(X=D));do P.scope&&oe.closeNode(),!P.skip&&!P.subLanguage&&(He+=P.relevance),P=P.parent;while(P!==K.parent);return K.starts&&Le(K.starts,N),_e.returnEnd?0:D.length}function de(){const N=[];for(let D=P;D!==ge;D=D.parent)D.scope&&N.unshift(D.scope);N.forEach(D=>oe.openNode(D))}let Pe={};function Qe(N,D){const U=D&&D[0];if(X+=N,U==null)return ie(),0;if(Pe.type==="begin"&&D.type==="end"&&Pe.index===D.index&&U===""){if(X+=v.slice(D.index,D.index+1),!i){const K=new Error(`0 width match regex (${y})`);throw K.languageName=y,K.badRule=Pe.rule,K}return 1}if(Pe=D,D.type==="begin")return gt(D);if(D.type==="illegal"&&!A){const K=new Error('Illegal lexeme "'+U+'" for mode "'+(P.scope||"")+'"');throw K.mode=P,K}else if(D.type==="end"){const K=Ft(D);if(K!==g_)return K}if(D.type==="illegal"&&U==="")return 1;if(St>1e5&&St>D.index*3)throw new Error("potential infinite loop, way more iterations than matches");return X+=U,U.length}const ge=O(y);if(!ge)throw pr(o.replace("{}",y)),new Error('Unknown language: "'+y+'"');const zt=LA(ge);let Et="",P=k||zt;const et={},oe=new s.__emitter(s);de();let X="",He=0,xe=0,St=0,bt=!1;try{if(ge.__emitTokens)ge.__emitTokens(v,oe);else{for(P.matcher.considerAll();;){St++,bt?bt=!1:P.matcher.considerAll(),P.matcher.lastIndex=xe;const N=P.matcher.exec(v);if(!N)break;const D=v.substring(xe,N.index),U=Qe(D,N);xe=N.index+U}Qe(v.substring(xe))}return oe.finalize(),Et=oe.toHTML(),{language:y,value:Et,relevance:He,illegal:!1,_emitter:oe,_top:P}}catch(N){if(N.message&&N.message.includes("Illegal"))return{language:y,value:ml(v),illegal:!0,relevance:0,_illegalBy:{message:N.message,index:xe,context:v.slice(xe-100,xe+100),mode:N.mode,resultSoFar:Et},_emitter:oe};if(i)return{language:y,value:ml(v),illegal:!1,relevance:0,errorRaised:N,_emitter:oe,_top:P};throw N}}function p(y){const v={value:ml(y),illegal:!1,relevance:0,_top:a,_emitter:new s.__emitter(s)};return v._emitter.addText(y),v}function _(y,v){v=v||s.languages||Object.keys(e);const A=p(y),k=v.filter(O).filter(B).map(ie=>d(ie,y,!1));k.unshift(A);const G=k.sort((ie,ue)=>{if(ie.relevance!==ue.relevance)return ue.relevance-ie.relevance;if(ie.language&&ue.language){if(O(ie.language).supersetOf===ue.language)return 1;if(O(ue.language).supersetOf===ie.language)return-1}return 0}),[z,ae]=G,Ce=z;return Ce.secondBest=ae,Ce}function m(y,v,A){const k=v&&n[v]||A;y.classList.add("hljs"),y.classList.add(`language-${k}`)}function f(y){let v=null;const A=c(y);if(l(A))return;if(V("before:highlightElement",{el:y,language:A}),y.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",y);return}if(y.children.length>0&&(s.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(y)),s.throwUnescapedHTML))throw new FA("One of your code blocks includes unescaped HTML.",y.innerHTML);v=y;const k=v.textContent,G=A?u(k,{language:A,ignoreIllegals:!0}):_(k);y.innerHTML=G.value,y.dataset.highlighted="yes",m(y,A,G.language),y.result={language:G.language,re:G.relevance,relevance:G.relevance},G.secondBest&&(y.secondBest={language:G.secondBest.language,relevance:G.secondBest.relevance}),V("after:highlightElement",{el:y,result:G,text:k})}function h(y){s=h_(s,y)}const E=()=>{g(),wr("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function S(){g(),wr("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let b=!1;function g(){if(document.readyState==="loading"){b=!0;return}document.querySelectorAll(s.cssSelector).forEach(f)}function C(){b&&g()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",C,!1);function T(y,v){let A=null;try{A=v(t)}catch(k){if(pr("Language definition for '{}' could not be registered.".replace("{}",y)),i)pr(k);else throw k;A=a}A.name||(A.name=y),e[y]=A,A.rawDefinition=v.bind(null,t),A.aliases&&M(A.aliases,{languageName:y})}function R(y){delete e[y];for(const v of Object.keys(n))n[v]===y&&delete n[v]}function x(){return Object.keys(e)}function O(y){return y=(y||"").toLowerCase(),e[y]||e[n[y]]}function M(y,{languageName:v}){typeof y=="string"&&(y=[y]),y.forEach(A=>{n[A.toLowerCase()]=v})}function B(y){const v=O(y);return v&&!v.disableAutodetect}function Y(y){y["before:highlightBlock"]&&!y["before:highlightElement"]&&(y["before:highlightElement"]=v=>{y["before:highlightBlock"](Object.assign({block:v.el},v))}),y["after:highlightBlock"]&&!y["after:highlightElement"]&&(y["after:highlightElement"]=v=>{y["after:highlightBlock"](Object.assign({block:v.el},v))})}function $(y){Y(y),r.push(y)}function q(y){const v=r.indexOf(y);v!==-1&&r.splice(v,1)}function V(y,v){const A=y;r.forEach(function(k){k[A]&&k[A](v)})}function J(y){return wr("10.7.0","highlightBlock will be removed entirely in v12.0"),wr("10.7.0","Please use highlightElement now."),f(y)}Object.assign(t,{highlight:u,highlightAuto:_,highlightAll:g,highlightElement:f,highlightBlock:J,configure:h,initHighlighting:E,initHighlightingOnLoad:S,registerLanguage:T,unregisterLanguage:R,listLanguages:x,getLanguage:O,registerAliases:M,autoDetection:B,inherit:h_,addPlugin:$,removePlugin:q}),t.debugMode=function(){i=!1},t.safeMode=function(){i=!0},t.versionString=PA,t.regex={concat:yr,lookahead:Wh,either:mu,optional:jN,anyNumberOfTimes:XN};for(const y in zo)typeof zo[y]=="object"&&zh(zo[y]);return Object.assign(t,zo),t},ci=ng({});ci.newInstance=()=>ng({});var UA=ci;ci.HighlightJS=ci;ci.default=ci;var HA=$N(UA);function rg(t,e=[]){return t.map(n=>{const r=[...e,...n.properties?n.properties.className:[]];return n.children?rg(n.children,r):{text:n.value,classes:r}}).flat()}function E_(t){return t.value||t.children||[]}function GA(t){return!!HA.getLanguage(t)}function S_({doc:t,name:e,lowlight:n,defaultLanguage:r}){const i=[];return Ql(t,o=>o.type.name===e).forEach(o=>{var a;let s=o.pos+1;const l=o.node.attrs.language||r,c=n.listLanguages(),u=l&&(c.includes(l)||GA(l)||!((a=n.registered)===null||a===void 0)&&a.call(n,l))?E_(n.highlight(l,o.node.textContent)):E_(n.highlightAuto(o.node.textContent));rg(u).forEach(d=>{const p=s+d.text.length;if(d.classes.length){const _=ke.inline(s,p,{class:d.classes.join(" ")});i.push(_)}s=p})}),be.create(t,i)}function VA(t){return typeof t=="function"}function YA({name:t,lowlight:e,defaultLanguage:n}){if(!["highlight","highlightAuto","listLanguages"].every(i=>VA(e[i])))throw Error("You should provide an instance of lowlight to use the code-block-lowlight extension");const r=new Se({key:new ve("lowlight"),state:{init:(i,{doc:o})=>S_({doc:o,name:t,lowlight:e,defaultLanguage:n}),apply:(i,o,a,s)=>{const l=a.selection.$head.parent.type.name,c=s.selection.$head.parent.type.name,u=Ql(a.doc,p=>p.type.name===t),d=Ql(s.doc,p=>p.type.name===t);return i.docChanged&&([l,c].includes(t)||d.length!==u.length||i.steps.some(p=>p.from!==void 0&&p.to!==void 0&&u.some(_=>_.pos>=p.from&&_.pos+_.node.nodeSize<=p.to)))?S_({doc:i.doc,name:t,lowlight:e,defaultLanguage:n}):o.map(i.mapping,i.doc)}},props:{decorations(i){return r.getState(i)}}});return r}const zA=bh.extend({addOptions(){var t;return{...(t=this.parent)===null||t===void 0?void 0:t.call(this),lowlight:{},languageClassPrefix:"language-",exitOnTripleEnter:!0,exitOnArrowDown:!0,defaultLanguage:null,HTMLAttributes:{}}},addProseMirrorPlugins(){var t;return[...((t=this.parent)===null||t===void 0?void 0:t.call(this))||[],YA({name:this.name,lowlight:this.options.lowlight,defaultLanguage:this.options.defaultLanguage})]}});function b_(t,e,n={}){const{empty:r,ranges:i,from:o,to:a}=t.selection,s=e?Sn(e,t.schema):null;if(r)return!!(t.storedMarks||t.selection.$from.marks()).filter(f=>s?s.name===f.type.name:!0).find(f=>ri(f.attrs,n,{strict:!1}));let l=o,c=a;const u=[];i.forEach(({$from:f,$to:h})=>{const E=f.pos,S=h.pos;l=Math.min(l,E),c=Math.max(l,S),t.doc.nodesBetween(E,S,(b,g)=>{if(!b.isText&&!b.marks.length)return;const C=Math.max(E,g),T=Math.min(S,g+b.nodeSize);u.push(...b.marks.map(R=>({mark:R,from:C,to:T})))})});const d=c-l;if(d===0)return!1;const p=u.filter(f=>s?s.name===f.mark.type.name:!0).filter(f=>ri(f.mark.attrs,n,{strict:!1})).reduce((f,h)=>f+h.to-h.from,0),_=u.filter(f=>s?f.mark.type!==s&&f.mark.type.excludes(s):!0).reduce((f,h)=>f+h.to-h.from,0);return(p>0?p+_:p)>=d}function T_(t){var e;return!!((e=t.spec.group)!=null&&e.split(" ").includes("list"))}function fl(t,e,n={}){if(!e)return gr(t,null,n)||b_(t,null,n);const r=t.schema.nodes[e];if(r){if(T_(r)){const o=hs(a=>T_(a.type))(t.selection);return!!(o&&o.node.type.name===e)}return gr(t,e,n)}return t.schema.marks[e]?b_(t,e,n):!1}function C_(t){return new ho({find:t.find,handler:({state:e,range:n,match:r,commands:i})=>{const o=e.doc.resolve(n.from),a=le(t.getAttributes,void 0,r)||{};if(!o.node(-1).canReplaceWith(o.index(-1),o.indexAfter(-1),t.type))return null;e.tr.delete(n.from,n.to).setBlockType(n.from,n.from,t.type,a),setTimeout(()=>i.focus(!0),0)}})}const ig=[{name:"Auto",value:"auto"},{name:"Plain Text",value:"plaintext",alias:["text","txt"]},{name:"Bash",value:"bash",alias:["sh"]},{name:"BASIC",value:"basic",alias:[]},{name:"C",value:"c",alias:["h"]},{name:"Clojure",value:"clojure",alias:["clj","edn"]},{name:"CMake",value:"cmake",alias:["cmake.in"]},{name:"CoffeeScript",value:"coffeescript",alias:["coffee","cson","iced"]},{name:"C++",value:"cpp",alias:["cc","c++","h++","hpp","hh","hxx","cxx"]},{name:"C#",value:"csharp",alias:["cs","c#"]},{name:"CSS",value:"css",alias:[]},{name:"Dart",value:"dart",alias:[]},{name:"Delphi",value:"delphi",alias:["dpr","dfm","pas","pascal"]},{name:"Dockerfile",value:"dockerfile",alias:["docker"]},{name:"Erlang",value:"erlang",alias:["erl"]},{name:"Go",value:"go",alias:["golang"]},{name:"GraphQL",value:"graphql",alias:["gql"]},{name:"Groovy",value:"groovy",alias:[]},{name:"Java",value:"java",alias:["jsp"]},{name:"JavaScript",value:"javascript",alias:["js","jsx","mjs","cjs"]},{name:"JSON",value:"json",alias:[]},{name:"Kotlin",value:"kotlin",alias:["kt","kts"]},{name:"Lua",value:"lua",alias:[]},{name:"Makefile",value:"makefile",alias:["mk","mak","make"]},{name:"Markdown",value:"markdown",alias:["md","mkdown","mkd"]},{name:"Matlab",value:"matlab",alias:[]},{name:"Objective-C",value:"objectivec",alias:["mm","objc","obj-c","obj-c++","objective-c++"]},{name:"PHP",value:"php",alias:[]},{name:"Properties",value:"properties",alias:[]},{name:"Python",value:"python",alias:["py","gyp","ipython"]},{name:"Ruby",value:"ruby",alias:["rb","gemspec","podspec","thor","irb"]},{name:"Rust",value:"rust",alias:["rs"]},{name:"Scala",value:"scala",alias:[]},{name:"SCSS",value:"scss",alias:[]},{name:"Shell",value:"shell",alias:["console","shellsession"]},{name:"SQL",value:"sql",alias:[]},{name:"Swift",value:"swift",alias:[]},{name:"TypeScript",value:"typescript",alias:["ts","tsx"]},{name:"WebAssembly",value:"wasm",alias:[]},{name:"HTML, XML",value:"xml",alias:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"]},{name:"YAML",value:"yaml",alias:["yml"]}],y_=t=>{if(!t)return null;const e=t.toLocaleLowerCase();return ig.find(r=>r.value===e||r.alias&&r.alias.includes(e))};function v_(t,e){const{$from:n,from:r,to:i}=t,s=(e.textContent||"").split(` +`).reduce((_,m,f)=>(_[f]=(_[f-1]||0)+m.length+(f===0?0:1),_),{}),l=n.parentOffset,c=n.parentOffset+i-r,u=Object.keys(s),d=u.find(_=>s[_]>=l),p=u.find(_=>s[_]>=c);return{start:d,end:p}}const $A=/^[`·]{3}([a-z]+)?[\s\n]$/,qA=/^[~~]{3}([a-z]+)?[\s\n]$/,WA=zA.extend({addOptions(){var t;return{...(t=this.parent)==null?void 0:t.call(this),lowlight:{},defaultLanguage:null,languages:[]}},addCommands(){var t;return{...(t=this.parent)==null?void 0:t.call(this),addCodeComments:(e,n)=>({editor:r})=>{const{view:{dispatch:i},state:{tr:o}}=r;return i(o.setSelection(ee.create(r.state.doc,n)).deleteSelection()),En.get(this.options.codeCommentsAi.model).chat(e.textContent,this.options.codeCommentsAi.prompt,new Aa(r,{markdownParseEnable:!0,useMarkdownTextOnly:!0})),!0},addCodeExplain:(e,n)=>({editor:r})=>{const{view:{dispatch:i},state:{tr:o}}=r,a=r.state.doc.nodeSize;a<=n+e.nodeSize+2?(r.commands.insertContentAt(n+e.nodeSize+1,"

"),i(o.setSelection(Z.create(r.state.doc,a-2)))):i(o.setSelection(Z.create(r.state.doc,n+e.nodeSize+1)));const s=En.get(this.options.codeExplainAi.model);return s==null||s.chat(e.textContent,this.options.codeExplainAi.prompt,new Aa(r)),!0},toggleCodeBlock:e=>({commands:n,editor:r,chain:i})=>{const{state:o}=r,{from:a,to:s}=o.selection;if(!fl(o,this.name)&&!o.selection.empty){let l=!0;const c=[];if(o.doc.nodesBetween(a,s,(u,d)=>{if(u.isInline)return!1;if(u.type.name!=="paragraph")return d+1<=a&&d+u.nodeSize-1>=s?void 0:(l=!1,!1);{const p=(u.textContent||"").slice(d+1>a?0:a-d-1,d+u.nodeSize-11)return i().command(({state:u,tr:d})=>(d.replaceRangeWith(a,s,this.type.create(e,u.schema.text(c.join(` +`)))),!0)).setTextSelection({from:a+2,to:a+2}).run()}return n.toggleNode(this.name,"paragraph",e)}}},addKeyboardShortcuts(){var t;return{...(t=this.parent)==null?void 0:t.call(this),Tab:({editor:e})=>{const{state:n,view:r}=e;if(!fl(n,this.name))return!1;const{selection:i,tr:o}=n,a=" ";if(i.empty)r.dispatch(o.insertText(a));else{const{$from:s,from:l,to:c}=i,u=s.node();if(u.type!==this.type)return!1;const{start:d,end:p}=v_(i,u);if(d===void 0||p===void 0)return r.dispatch(o.replaceSelectionWith(n.schema.text(a))),!0;const f=(u.textContent||"").split(` +`).map((S,b)=>b>=d&&b<=p&&S?a+S:S),h=s.node(1),E=s.start(1);o.replaceWith(E,E+h.nodeSize-2,n.schema.text(f.join(` +`))),o.setSelection(Z.between(o.doc.resolve(l+a.length),o.doc.resolve(c+(p-d+1)*a.length))),r.dispatch(o)}return!0},"Shift-Tab":({editor:e})=>{const{state:n,view:r}=e;if(!fl(n,this.name))return!1;const{selection:i,tr:o}=n,{$from:a,from:s,to:l}=i,c=a.node();if(c.type!==this.type)return!1;const{start:u,end:d}=v_(i,c);if(u===void 0||d===void 0)return!1;const _=(c.textContent||"").split(` +`);let m=s,f=l;const h=_.map((b,g)=>{if(g>=u&&g<=d&&b)for(let C=0;C<2;C++)b.startsWith(" ")&&(b=b.slice(1),g==u&&m--,f--);return b}),E=a.node(1),S=a.start(1);return o.replaceWith(S,S+E.nodeSize-2,n.schema.text(h.join(` +`))),o.setSelection(Z.between(o.doc.resolve(m),o.doc.resolve(f))),r.dispatch(o),!0}}},addInputRules(){return[C_({find:$A,type:this.type,getAttributes:t=>{var e;return{language:((e=y_(t[1]))==null?void 0:e.value)||this.options.defaultLanguage}}}),C_({find:qA,type:this.type,getAttributes:t=>{var e;return{language:((e=y_(t[1]))==null?void 0:e.value)||this.options.defaultLanguage}}})]},addNodeView(){return t=>{var o,a;const e=document.createElement("div");e.classList.add("aie-codeblock-wrapper");const{language:n}=t.node.attrs;if(!this.editor.isEditable)return e.innerHTML=`
${n||this.options.defaultLanguage}
@@ -388,15 +388,15 @@ https://github.com/highlightjs/highlight.js/issues/2277`),G=y,k=v),A===void 0&&(
`;const r=()=>{var l;const s=document.createElement("div");return s.classList.add("aie-codeblock-langs"),s.innerHTML=` - ${(l=this.options.languages)==null?void 0:l.map(c=>`
${c.name}
`).join("")}`,s.addEventListener("click",c=>{const u=c.target.closest(".aie-codeblock-langs-item");if(u){const d=u.getAttribute("data-item");t.editor.chain().setCodeBlock({language:d}).run()}}),s},i=we(e.querySelector(".aie-codeblock-tools-lang"),{content:r(),appendTo:t.editor.options.element,placement:"bottom-end",trigger:"click",interactive:!0,arrow:!1,aria:{content:null,expanded:!1}});return(o=e.querySelector(".aie-codeblock-tools-comments"))==null||o.addEventListener("click",s=>{const l=t.editor.view.posAtCoords({left:s.clientX,top:s.clientY}),c=t.editor.state.doc.resolve(l.pos).parent;t.editor.chain().addCodeComments(c,l.pos)}),(a=e.querySelector(".aie-codeblock-tools-explain"))==null||a.addEventListener("click",s=>{const l=t.editor.view.posAtCoords({left:s.clientX,top:s.clientY}),c=t.editor.state.doc.resolve(l.pos).parent;t.editor.chain().addCodeExplain(c,l.pos)}),{dom:e,contentDOM:e.querySelector("code"),destroy:()=>{i.destroy()}}}}});function HA(t){const e="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+",i="далее "+"возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ",s="загрузитьизфайла "+"вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент ",p="разделительстраниц разделительстрок символтабуляции "+"ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов датагод датамесяц датачисло заголовоксистемы значениевстроку значениеизстроки каталогиб каталогпользователя кодсимв конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца коннедели лог лог10 максимальноеколичествосубконто названиеинтерфейса названиенабораправ назначитьвид назначитьсчет найтиссылки началопериодаби началостандартногоинтервала начгода начквартала начмесяца начнедели номерднягода номерднянедели номернеделигода обработкаожидания основнойжурналрасчетов основнойплансчетов основнойязык очиститьокносообщений периодстр получитьвремята получитьдатута получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта префиксавтонумерации пропись пустоезначение разм разобратьпозициюдокумента рассчитатьрегистрына рассчитатьрегистрыпо симв создатьобъект статусвозврата стрколичествострок сформироватьпозициюдокумента счетпокоду текущеевремя типзначения типзначениястр установитьтана установитьтапо фиксшаблон шаблон "+"acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока xmlтип xmlтипзнч активноеокно безопасныйрежим безопасныйрежимразделенияданных булево ввестидату ввестизначение ввестистроку ввестичисло возможностьчтенияxml вопрос восстановитьзначение врег выгрузитьжурналрегистрации выполнитьобработкуоповещения выполнитьпроверкуправдоступа вычислить год данныеформывзначение дата день деньгода деньнедели добавитьмесяц заблокироватьданныедляредактирования заблокироватьработупользователя завершитьработусистемы загрузитьвнешнююкомпоненту закрытьсправку записатьjson записатьxml записатьдатуjson записьжурналарегистрации заполнитьзначениясвойств запроситьразрешениепользователя запуститьприложение запуститьсистему зафиксироватьтранзакцию значениевданныеформы значениевстрокувнутр значениевфайл значениезаполнено значениеизстрокивнутр значениеизфайла изxmlтипа импортмоделиxdto имякомпьютера имяпользователя инициализироватьпредопределенныеданные информацияобошибке каталогбиблиотекимобильногоустройства каталогвременныхфайлов каталогдокументов каталогпрограммы кодироватьстроку кодлокализацииинформационнойбазы кодсимвола командасистемы конецгода конецдня конецквартала конецмесяца конецминуты конецнедели конецчаса конфигурациябазыданныхизмененадинамически конфигурацияизменена копироватьданныеформы копироватьфайл краткоепредставлениеошибки лев макс местноевремя месяц мин минута монопольныйрежим найти найтинедопустимыесимволыxml найтиокнопонавигационнойссылке найтипомеченныенаудаление найтипоссылкам найтифайлы началогода началодня началоквартала началомесяца началоминуты началонедели началочаса начатьзапросразрешенияпользователя начатьзапускприложения начатькопированиефайла начатьперемещениефайла начатьподключениевнешнейкомпоненты начатьподключениерасширенияработыскриптографией начатьподключениерасширенияработысфайлами начатьпоискфайлов начатьполучениекаталогавременныхфайлов начатьполучениекаталогадокументов начатьполучениерабочегокаталогаданныхпользователя начатьполучениефайлов начатьпомещениефайла начатьпомещениефайлов начатьсозданиедвоичныхданныхизфайла начатьсозданиекаталога начатьтранзакцию начатьудалениефайлов начатьустановкувнешнейкомпоненты начатьустановкурасширенияработыскриптографией начатьустановкурасширенияработысфайлами неделягода необходимостьзавершениясоединения номерсеансаинформационнойбазы номерсоединенияинформационнойбазы нрег нстр обновитьинтерфейс обновитьнумерациюобъектов обновитьповторноиспользуемыезначения обработкапрерыванияпользователя объединитьфайлы окр описаниеошибки оповестить оповеститьобизменении отключитьобработчикзапросанастроекклиенталицензирования отключитьобработчикожидания отключитьобработчикоповещения открытьзначение открытьиндекссправки открытьсодержаниесправки открытьсправку открытьформу открытьформумодально отменитьтранзакцию очиститьжурналрегистрации очиститьнастройкипользователя очиститьсообщения параметрыдоступа перейтипонавигационнойссылке переместитьфайл подключитьвнешнююкомпоненту подключитьобработчикзапросанастроекклиенталицензирования подключитьобработчикожидания подключитьобработчикоповещения подключитьрасширениеработыскриптографией подключитьрасширениеработысфайлами подробноепредставлениеошибки показатьвводдаты показатьвводзначения показатьвводстроки показатьвводчисла показатьвопрос показатьзначение показатьинформациюобошибке показатьнакарте показатьоповещениепользователя показатьпредупреждение полноеимяпользователя получитьcomобъект получитьxmlтип получитьадреспоместоположению получитьблокировкусеансов получитьвремязавершенияспящегосеанса получитьвремязасыпанияпассивногосеанса получитьвремяожиданияблокировкиданных получитьданныевыбора получитьдополнительныйпараметрклиенталицензирования получитьдопустимыекодылокализации получитьдопустимыечасовыепояса получитьзаголовокклиентскогоприложения получитьзаголовоксистемы получитьзначенияотборажурналарегистрации получитьидентификаторконфигурации получитьизвременногохранилища получитьимявременногофайла получитьимяклиенталицензирования получитьинформациюэкрановклиента получитьиспользованиежурналарегистрации получитьиспользованиесобытияжурналарегистрации получитькраткийзаголовокприложения получитьмакетоформления получитьмаскувсефайлы получитьмаскувсефайлыклиента получитьмаскувсефайлысервера получитьместоположениепоадресу получитьминимальнуюдлинупаролейпользователей получитьнавигационнуюссылку получитьнавигационнуюссылкуинформационнойбазы получитьобновлениеконфигурациибазыданных получитьобновлениепредопределенныхданныхинформационнойбазы получитьобщиймакет получитьобщуюформу получитьокна получитьоперативнуюотметкувремени получитьотключениебезопасногорежима получитьпараметрыфункциональныхопцийинтерфейса получитьполноеимяпредопределенногозначения получитьпредставлениянавигационныхссылок получитьпроверкусложностипаролейпользователей получитьразделительпути получитьразделительпутиклиента получитьразделительпутисервера получитьсеансыинформационнойбазы получитьскоростьклиентскогосоединения получитьсоединенияинформационнойбазы получитьсообщенияпользователю получитьсоответствиеобъектаиформы получитьсоставстандартногоинтерфейсаodata получитьструктурухранениябазыданных получитьтекущийсеансинформационнойбазы получитьфайл получитьфайлы получитьформу получитьфункциональнуюопцию получитьфункциональнуюопциюинтерфейса получитьчасовойпоясинформационнойбазы пользователиос поместитьвовременноехранилище поместитьфайл поместитьфайлы прав праводоступа предопределенноезначение представлениекодалокализации представлениепериода представлениеправа представлениеприложения представлениесобытияжурналарегистрации представлениечасовогопояса предупреждение прекратитьработусистемы привилегированныйрежим продолжитьвызов прочитатьjson прочитатьxml прочитатьдатуjson пустаястрока рабочийкаталогданныхпользователя разблокироватьданныедляредактирования разделитьфайл разорватьсоединениесвнешнимисточникомданных раскодироватьстроку рольдоступна секунда сигнал символ скопироватьжурналрегистрации смещениелетнеговремени смещениестандартноговремени соединитьбуферыдвоичныхданных создатькаталог создатьфабрикуxdto сокрл сокрлп сокрп сообщить состояние сохранитьзначение сохранитьнастройкипользователя сред стрдлина стрзаканчиваетсяна стрзаменить стрнайти стрначинаетсяс строка строкасоединенияинформационнойбазы стрполучитьстроку стрразделить стрсоединить стрсравнить стрчисловхождений стрчислострок стршаблон текущаядата текущаядатасеанса текущаяуниверсальнаядата текущаяуниверсальнаядатавмиллисекундах текущийвариантинтерфейсаклиентскогоприложения текущийвариантосновногошрифтаклиентскогоприложения текущийкодлокализации текущийрежимзапуска текущийязык текущийязыксистемы тип типзнч транзакцияактивна трег удалитьданныеинформационнойбазы удалитьизвременногохранилища удалитьобъекты удалитьфайлы универсальноевремя установитьбезопасныйрежим установитьбезопасныйрежимразделенияданных установитьблокировкусеансов установитьвнешнююкомпоненту установитьвремязавершенияспящегосеанса установитьвремязасыпанияпассивногосеанса установитьвремяожиданияблокировкиданных установитьзаголовокклиентскогоприложения установитьзаголовоксистемы установитьиспользованиежурналарегистрации установитьиспользованиесобытияжурналарегистрации установитькраткийзаголовокприложения установитьминимальнуюдлинупаролейпользователей установитьмонопольныйрежим установитьнастройкиклиенталицензирования установитьобновлениепредопределенныхданныхинформационнойбазы установитьотключениебезопасногорежима установитьпараметрыфункциональныхопцийинтерфейса установитьпривилегированныйрежим установитьпроверкусложностипаролейпользователей установитьрасширениеработыскриптографией установитьрасширениеработысфайлами установитьсоединениесвнешнимисточникомданных установитьсоответствиеобъектаиформы установитьсоставстандартногоинтерфейсаodata установитьчасовойпоясинформационнойбазы установитьчасовойпояссеанса формат цел час часовойпояс часовойпояссеанса число числопрописью этоадресвременногохранилища "+"wsссылки библиотекакартинок библиотекамакетовоформлениякомпоновкиданных библиотекастилей бизнеспроцессы внешниеисточникиданных внешниеобработки внешниеотчеты встроенныепокупки главныйинтерфейс главныйстиль документы доставляемыеуведомления журналыдокументов задачи информацияобинтернетсоединении использованиерабочейдаты историяработыпользователя константы критерииотбора метаданные обработки отображениерекламы отправкадоставляемыхуведомлений отчеты панельзадачос параметрзапуска параметрысеанса перечисления планывидоврасчета планывидовхарактеристик планыобмена планысчетов полнотекстовыйпоиск пользователиинформационнойбазы последовательности проверкавстроенныхпокупок рабочаядата расширенияконфигурации регистрыбухгалтерии регистрынакопления регистрырасчета регистрысведений регламентныезадания сериализаторxdto справочники средствагеопозиционирования средствакриптографии средствамультимедиа средстваотображениярекламы средствапочты средствателефонии фабрикаxdto файловыепотоки фоновыезадания хранилищанастроек хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ",A="webцвета windowsцвета windowsшрифты библиотекакартинок рамкистиля символы цветастиля шрифтыстиля "+"автоматическоесохранениеданныхформывнастройках автонумерациявформе автораздвижениесерий анимациядиаграммы вариантвыравниванияэлементовизаголовков вариантуправлениявысотойтаблицы вертикальнаяпрокруткаформы вертикальноеположение вертикальноеположениеэлемента видгруппыформы виддекорацииформы виддополненияэлементаформы видизмененияданных видкнопкиформы видпереключателя видподписейкдиаграмме видполяформы видфлажка влияниеразмеранапузырекдиаграммы горизонтальноеположение горизонтальноеположениеэлемента группировкаколонок группировкаподчиненныхэлементовформы группыиэлементы действиеперетаскивания дополнительныйрежимотображения допустимыедействияперетаскивания интервалмеждуэлементамиформы использованиевывода использованиеполосыпрокрутки используемоезначениеточкибиржевойдиаграммы историявыборапривводе источникзначенийоситочекдиаграммы источникзначенияразмерапузырькадиаграммы категориягруппыкоманд максимумсерий начальноеотображениедерева начальноеотображениесписка обновлениетекстаредактирования ориентациядендрограммы ориентациядиаграммы ориентацияметокдиаграммы ориентацияметоксводнойдиаграммы ориентацияэлементаформы отображениевдиаграмме отображениевлегендедиаграммы отображениегруппыкнопок отображениезаголовкашкалыдиаграммы отображениезначенийсводнойдиаграммы отображениезначенияизмерительнойдиаграммы отображениеинтерваладиаграммыганта отображениекнопки отображениекнопкивыбора отображениеобсужденийформы отображениеобычнойгруппы отображениеотрицательныхзначенийпузырьковойдиаграммы отображениепанелипоиска отображениеподсказки отображениепредупрежденияприредактировании отображениеразметкиполосырегулирования отображениестраницформы отображениетаблицы отображениетекстазначениядиаграммыганта отображениеуправленияобычнойгруппы отображениефигурыкнопки палитрацветовдиаграммы поведениеобычнойгруппы поддержкамасштабадендрограммы поддержкамасштабадиаграммыганта поддержкамасштабасводнойдиаграммы поисквтаблицепривводе положениезаголовкаэлементаформы положениекартинкикнопкиформы положениекартинкиэлементаграфическойсхемы положениекоманднойпанелиформы положениекоманднойпанелиэлементаформы положениеопорнойточкиотрисовки положениеподписейкдиаграмме положениеподписейшкалызначенийизмерительнойдиаграммы положениесостоянияпросмотра положениестрокипоиска положениетекстасоединительнойлинии положениеуправленияпоиском положениешкалывремени порядокотображенияточекгоризонтальнойгистограммы порядоксерийвлегендедиаграммы размеркартинки расположениезаголовкашкалыдиаграммы растягиваниеповертикалидиаграммыганта режимавтоотображениясостояния режимвводастроктаблицы режимвыборанезаполненного режимвыделениядаты режимвыделениястрокитаблицы режимвыделениятаблицы режимизмененияразмера режимизменениясвязанногозначения режимиспользованиядиалогапечати режимиспользованияпараметракоманды режиммасштабированияпросмотра режимосновногоокнаклиентскогоприложения режимоткрытияокнаформы режимотображениявыделения режимотображениягеографическойсхемы режимотображениязначенийсерии режимотрисовкисеткиграфическойсхемы режимполупрозрачностидиаграммы режимпробеловдиаграммы режимразмещениянастранице режимредактированияколонки режимсглаживаниядиаграммы режимсглаживанияиндикатора режимсписказадач сквозноевыравнивание сохранениеданныхформывнастройках способзаполнениятекстазаголовкашкалыдиаграммы способопределенияограничивающегозначениядиаграммы стандартнаягруппакоманд стандартноеоформление статусоповещенияпользователя стильстрелки типаппроксимациилиниитрендадиаграммы типдиаграммы типединицышкалывремени типимпортасерийслоягеографическойсхемы типлиниигеографическойсхемы типлиниидиаграммы типмаркерагеографическойсхемы типмаркерадиаграммы типобластиоформления типорганизацииисточникаданныхгеографическойсхемы типотображениясериислоягеографическойсхемы типотображенияточечногообъектагеографическойсхемы типотображенияшкалыэлементалегендыгеографическойсхемы типпоискаобъектовгеографическойсхемы типпроекциигеографическойсхемы типразмещенияизмерений типразмещенияреквизитовизмерений типрамкиэлементауправления типсводнойдиаграммы типсвязидиаграммыганта типсоединениязначенийпосериямдиаграммы типсоединенияточекдиаграммы типсоединительнойлинии типстороныэлементаграфическойсхемы типформыотчета типшкалырадарнойдиаграммы факторлиниитрендадиаграммы фигуракнопки фигурыграфическойсхемы фиксациявтаблице форматдняшкалывремени форматкартинки ширинаподчиненныхэлементовформы "+"виддвижениябухгалтерии виддвижениянакопления видпериодарегистрарасчета видсчета видточкимаршрутабизнеспроцесса использованиеагрегатарегистранакопления использованиегруппиэлементов использованиережимапроведения использованиесреза периодичностьагрегатарегистранакопления режимавтовремя режимзаписидокумента режимпроведениядокумента "+"авторегистрацияизменений допустимыйномерсообщения отправкаэлементаданных получениеэлементаданных "+"использованиерасшифровкитабличногодокумента ориентациястраницы положениеитоговколоноксводнойтаблицы положениеитоговстроксводнойтаблицы положениетекстаотносительнокартинки расположениезаголовкагруппировкитабличногодокумента способчтениязначенийтабличногодокумента типдвустороннейпечати типзаполненияобластитабличногодокумента типкурсоровтабличногодокумента типлиниирисункатабличногодокумента типлинииячейкитабличногодокумента типнаправленияпереходатабличногодокумента типотображениявыделениятабличногодокумента типотображениялинийсводнойтаблицы типразмещениятекстатабличногодокумента типрисункатабличногодокумента типсмещениятабличногодокумента типузоратабличногодокумента типфайлатабличногодокумента точностьпечати чередованиерасположениястраниц "+"отображениевремениэлементовпланировщика "+"типфайлаформатированногодокумента "+"обходрезультатазапроса типзаписизапроса "+"видзаполнениярасшифровкипостроителяотчета типдобавленияпредставлений типизмеренияпостроителяотчета типразмещенияитогов "+"доступкфайлу режимдиалогавыборафайла режимоткрытияфайла "+"типизмеренияпостроителязапроса "+"видданныханализа методкластеризации типединицыинтервалавременианализаданных типзаполнениятаблицырезультатаанализаданных типиспользованиячисловыхзначенийанализаданных типисточникаданныхпоискаассоциаций типколонкианализаданныхдереворешений типколонкианализаданныхкластеризация типколонкианализаданныхобщаястатистика типколонкианализаданныхпоискассоциаций типколонкианализаданныхпоискпоследовательностей типколонкимоделипрогноза типмерырасстоянияанализаданных типотсеченияправилассоциации типполяанализаданных типстандартизациианализаданных типупорядочиванияправилассоциациианализаданных типупорядочиванияшаблоновпоследовательностейанализаданных типупрощениядереварешений "+"wsнаправлениепараметра вариантxpathxs вариантзаписидатыjson вариантпростоготипаxs видгруппымоделиxs видфасетаxdto действиепостроителяdom завершенностьпростоготипаxs завершенностьсоставноготипаxs завершенностьсхемыxs запрещенныеподстановкиxs исключениягруппподстановкиxs категорияиспользованияатрибутаxs категорияограниченияидентичностиxs категорияограниченияпространствименxs методнаследованияxs модельсодержимогоxs назначениетипаxml недопустимыеподстановкиxs обработкапробельныхсимволовxs обработкасодержимогоxs ограничениезначенияxs параметрыотбораузловdom переносстрокjson позициявдокументеdom пробельныесимволыxml типатрибутаxml типзначенияjson типканоническогоxml типкомпонентыxs типпроверкиxml типрезультатаdomxpath типузлаdom типузлаxml формаxml формапредставленияxs форматдатыjson экранированиесимволовjson "+"видсравнениякомпоновкиданных действиеобработкирасшифровкикомпоновкиданных направлениесортировкикомпоновкиданных расположениевложенныхэлементоврезультатакомпоновкиданных расположениеитоговкомпоновкиданных расположениегруппировкикомпоновкиданных расположениеполейгруппировкикомпоновкиданных расположениеполякомпоновкиданных расположениереквизитовкомпоновкиданных расположениересурсовкомпоновкиданных типбухгалтерскогоостаткакомпоновкиданных типвыводатекстакомпоновкиданных типгруппировкикомпоновкиданных типгруппыэлементовотборакомпоновкиданных типдополненияпериодакомпоновкиданных типзаголовкаполейкомпоновкиданных типмакетагруппировкикомпоновкиданных типмакетаобластикомпоновкиданных типостаткакомпоновкиданных типпериодакомпоновкиданных типразмещениятекстакомпоновкиданных типсвязинаборовданныхкомпоновкиданных типэлементарезультатакомпоновкиданных расположениелегендыдиаграммыкомпоновкиданных типпримененияотборакомпоновкиданных режимотображенияэлементанастройкикомпоновкиданных режимотображениянастроеккомпоновкиданных состояниеэлементанастройкикомпоновкиданных способвосстановлениянастроеккомпоновкиданных режимкомпоновкирезультата использованиепараметракомпоновкиданных автопозицияресурсовкомпоновкиданных вариантиспользованиягруппировкикомпоновкиданных расположениересурсоввдиаграммекомпоновкиданных фиксациякомпоновкиданных использованиеусловногооформлениякомпоновкиданных "+"важностьинтернетпочтовогосообщения обработкатекстаинтернетпочтовогосообщения способкодированияинтернетпочтовоговложения способкодированиянеasciiсимволовинтернетпочтовогосообщения типтекстапочтовогосообщения протоколинтернетпочты статусразборапочтовогосообщения "+"режимтранзакциизаписижурналарегистрации статустранзакциизаписижурналарегистрации уровеньжурналарегистрации "+"расположениехранилищасертификатовкриптографии режимвключениясертификатовкриптографии режимпроверкисертификатакриптографии типхранилищасертификатовкриптографии "+"кодировкаименфайловвzipфайле методсжатияzip методшифрованияzip режимвосстановленияпутейфайловzip режимобработкиподкаталоговzip режимсохраненияпутейzip уровеньсжатияzip "+"звуковоеоповещение направлениепереходакстроке позициявпотоке порядокбайтов режимблокировкиданных режимуправленияблокировкойданных сервисвстроенныхпокупок состояниефоновогозадания типподписчикадоставляемыхуведомлений уровеньиспользованиязащищенногосоединенияftp "+"направлениепорядкасхемызапроса типдополненияпериодамисхемызапроса типконтрольнойточкисхемызапроса типобъединениясхемызапроса типпараметрадоступнойтаблицысхемызапроса типсоединениясхемызапроса "+"httpметод автоиспользованиеобщегореквизита автопрефиксномеразадачи вариантвстроенногоязыка видиерархии видрегистранакопления видтаблицывнешнегоисточникаданных записьдвиженийприпроведении заполнениепоследовательностей индексирование использованиебазыпланавидоврасчета использованиебыстроговыбора использованиеобщегореквизита использованиеподчинения использованиеполнотекстовогопоиска использованиеразделяемыхданныхобщегореквизита использованиереквизита назначениеиспользованияприложения назначениерасширенияконфигурации направлениепередачи обновлениепредопределенныхданных оперативноепроведение основноепредставлениевидарасчета основноепредставлениевидахарактеристики основноепредставлениезадачи основноепредставлениепланаобмена основноепредставлениесправочника основноепредставлениесчета перемещениеграницыприпроведении периодичностьномерабизнеспроцесса периодичностьномерадокумента периодичностьрегистрарасчета периодичностьрегистрасведений повторноеиспользованиевозвращаемыхзначений полнотекстовыйпоискпривводепостроке принадлежностьобъекта проведение разделениеаутентификацииобщегореквизита разделениеданныхобщегореквизита разделениерасширенийконфигурацииобщегореквизита режимавтонумерацииобъектов режимзаписирегистра режимиспользованиямодальности режимиспользованиясинхронныхвызововрасширенийплатформыивнешнихкомпонент режимповторногоиспользованиясеансов режимполученияданныхвыборапривводепостроке режимсовместимости режимсовместимостиинтерфейса режимуправленияблокировкойданныхпоумолчанию сериикодовпланавидовхарактеристик сериикодовпланасчетов сериикодовсправочника созданиепривводе способвыбора способпоискастрокипривводепостроке способредактирования типданныхтаблицывнешнегоисточникаданных типкодапланавидоврасчета типкодасправочника типмакета типномерабизнеспроцесса типномерадокумента типномеразадачи типформы удалениедвижений "+"важностьпроблемыприменениярасширенияконфигурации вариантинтерфейсаклиентскогоприложения вариантмасштабаформклиентскогоприложения вариантосновногошрифтаклиентскогоприложения вариантстандартногопериода вариантстандартнойдатыначала видграницы видкартинки видотображенияполнотекстовогопоиска видрамки видсравнения видцвета видчисловогозначения видшрифта допустимаядлина допустимыйзнак использованиеbyteordermark использованиеметаданныхполнотекстовогопоиска источникрасширенийконфигурации клавиша кодвозвратадиалога кодировкаxbase кодировкатекста направлениепоиска направлениесортировки обновлениепредопределенныхданных обновлениеприизмененииданных отображениепанелиразделов проверказаполнения режимдиалогавопрос режимзапускаклиентскогоприложения режимокругления режимоткрытияформприложения режимполнотекстовогопоиска скоростьклиентскогосоединения состояниевнешнегоисточникаданных состояниеобновленияконфигурациибазыданных способвыборасертификатаwindows способкодированиястроки статуссообщения типвнешнейкомпоненты типплатформы типповеденияклавишиenter типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты",z="comобъект ftpсоединение httpзапрос httpсервисответ httpсоединение wsопределения wsпрокси xbase анализданных аннотацияxs блокировкаданных буфердвоичныхданных включениеxs выражениекомпоновкиданных генераторслучайныхчисел географическаясхема географическиекоординаты графическаясхема группамоделиxs данныерасшифровкикомпоновкиданных двоичныеданные дендрограмма диаграмма диаграммаганта диалогвыборафайла диалогвыборацвета диалогвыборашрифта диалограсписаниярегламентногозадания диалогредактированиястандартногопериода диапазон документdom документhtml документацияxs доставляемоеуведомление записьdom записьfastinfoset записьhtml записьjson записьxml записьzipфайла записьданных записьтекста записьузловdom запрос защищенноесоединениеopenssl значенияполейрасшифровкикомпоновкиданных извлечениетекста импортxs интернетпочта интернетпочтовоесообщение интернетпочтовыйпрофиль интернетпрокси интернетсоединение информациядляприложенияxs использованиеатрибутаxs использованиесобытияжурналарегистрации источникдоступныхнастроеккомпоновкиданных итераторузловdom картинка квалификаторыдаты квалификаторыдвоичныхданных квалификаторыстроки квалификаторычисла компоновщикмакетакомпоновкиданных компоновщикнастроеккомпоновкиданных конструктормакетаоформлениякомпоновкиданных конструкторнастроеккомпоновкиданных конструкторформатнойстроки линия макеткомпоновкиданных макетобластикомпоновкиданных макетоформлениякомпоновкиданных маскаxs менеджеркриптографии наборсхемxml настройкикомпоновкиданных настройкисериализацииjson обработкакартинок обработкарасшифровкикомпоновкиданных обходдереваdom объявлениеатрибутаxs объявлениенотацииxs объявлениеэлементаxs описаниеиспользованиясобытиядоступжурналарегистрации описаниеиспользованиясобытияотказвдоступежурналарегистрации описаниеобработкирасшифровкикомпоновкиданных описаниепередаваемогофайла описаниетипов определениегруппыатрибутовxs определениегруппымоделиxs определениеограниченияидентичностиxs определениепростоготипаxs определениесоставноготипаxs определениетипадокументаdom определенияxpathxs отборкомпоновкиданных пакетотображаемыхдокументов параметрвыбора параметркомпоновкиданных параметрызаписиjson параметрызаписиxml параметрычтенияxml переопределениеxs планировщик полеанализаданных полекомпоновкиданных построительdom построительзапроса построительотчета построительотчетаанализаданных построительсхемxml поток потоквпамяти почта почтовоесообщение преобразованиеxsl преобразованиекканоническомуxml процессорвыводарезультатакомпоновкиданныхвколлекциюзначений процессорвыводарезультатакомпоновкиданныхвтабличныйдокумент процессоркомпоновкиданных разыменовательпространствименdom рамка расписаниерегламентногозадания расширенноеимяxml результатчтенияданных своднаядиаграмма связьпараметравыбора связьпотипу связьпотипукомпоновкиданных сериализаторxdto сертификатклиентаwindows сертификатклиентафайл сертификаткриптографии сертификатыудостоверяющихцентровwindows сертификатыудостоверяющихцентровфайл сжатиеданных системнаяинформация сообщениепользователю сочетаниеклавиш сравнениезначений стандартнаядатаначала стандартныйпериод схемаxml схемакомпоновкиданных табличныйдокумент текстовыйдокумент тестируемоеприложение типданныхxml уникальныйидентификатор фабрикаxdto файл файловыйпоток фасетдлиныxs фасетколичестваразрядовдробнойчастиxs фасетмаксимальноговключающегозначенияxs фасетмаксимальногоисключающегозначенияxs фасетмаксимальнойдлиныxs фасетминимальноговключающегозначенияxs фасетминимальногоисключающегозначенияxs фасетминимальнойдлиныxs фасетобразцаxs фасетобщегоколичестваразрядовxs фасетперечисленияxs фасетпробельныхсимволовxs фильтрузловdom форматированнаястрока форматированныйдокумент фрагментxs хешированиеданных хранилищезначения цвет чтениеfastinfoset чтениеhtml чтениеjson чтениеxml чтениеzipфайла чтениеданных чтениетекста чтениеузловdom шрифт элементрезультатакомпоновкиданных "+"comsafearray деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура фиксированноесоответствие фиксированныймассив ",ae="null истина ложь неопределено",Ce=t.inherit(t.NUMBER_MODE),ie={className:"string",begin:'"|\\|',end:'"|$',contains:[{begin:'""'}]},ue={begin:"'",end:"'",excludeBegin:!0,excludeEnd:!0,contains:[{className:"number",begin:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]},Be=t.inherit(t.C_LINE_COMMENT_MODE),Le={className:"meta",begin:"#|&",end:"$",keywords:{$pattern:e,keyword:i+s},contains:[Be]},We={className:"symbol",begin:"~",end:";|:",excludeEnd:!0},Ke={className:"function",variants:[{begin:"процедура|функция",end:"\\)",keywords:"процедура функция"},{begin:"конецпроцедуры|конецфункции",keywords:"конецпроцедуры конецфункции"}],contains:[{begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"params",begin:e,end:",",excludeEnd:!0,endsWithParent:!0,keywords:{$pattern:e,keyword:"знач",literal:ae},contains:[Ce,ie,ue]},Be]},t.inherit(t.TITLE_MODE,{begin:e})]};return{name:"1C:Enterprise",case_insensitive:!0,keywords:{$pattern:e,keyword:i,built_in:p,class:A,type:z,literal:ae},contains:[Le,Ke,Be,We,Ce,ie,ue]}}function GA(t){const e=t.regex,n=/^[a-zA-Z][a-zA-Z0-9-]*/,r=["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],i=t.COMMENT(/;/,/$/),o={scope:"symbol",match:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+)?/},a={scope:"symbol",match:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+)?/},s={scope:"symbol",match:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+)?/},l={scope:"symbol",match:/%[si](?=".*")/},c={scope:"attribute",match:e.concat(n,/(?=\s*=)/)};return{name:"Augmented Backus-Naur Form",illegal:/[!@#$^&',?+~`|:]/,keywords:r,contains:[{scope:"operator",match:/=\/?/},c,i,o,a,s,l,t.QUOTE_STRING_MODE,t.NUMBER_MODE]}}function VA(t){const e=t.regex,n=["GET","POST","HEAD","PUT","DELETE","CONNECT","OPTIONS","PATCH","TRACE"];return{name:"Apache Access Log",contains:[{className:"number",begin:/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,relevance:5},{className:"number",begin:/\b\d+\b/,relevance:0},{className:"string",begin:e.concat(/"/,e.either(...n)),end:/"/,keywords:n,illegal:/\n/,relevance:5,contains:[{begin:/HTTP\/[12]\.\d'/,relevance:5}]},{className:"string",begin:/\[\d[^\]\n]{8,}\]/,illegal:/\n/,relevance:1},{className:"string",begin:/\[/,end:/\]/,illegal:/\n/,relevance:0},{className:"string",begin:/"Mozilla\/\d\.\d \(/,end:/"/,illegal:/\n/,relevance:3},{className:"string",begin:/"/,end:/"/,illegal:/\n/,relevance:0}]}}function YA(t){const e=t.regex,n=/[a-zA-Z_$][a-zA-Z0-9_$]*/,r=e.concat(n,e.concat("(\\.",n,")*")),i=/([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/,o={className:"rest_arg",begin:/[.]{3}/,end:n,relevance:10};return{name:"ActionScript",aliases:["as"],keywords:{keyword:["as","break","case","catch","class","const","continue","default","delete","do","dynamic","each","else","extends","final","finally","for","function","get","if","implements","import","in","include","instanceof","interface","internal","is","namespace","native","new","override","package","private","protected","public","return","set","static","super","switch","this","throw","try","typeof","use","var","void","while","with"],literal:["true","false","null","undefined"]},contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.C_NUMBER_MODE,{match:[/\bpackage/,/\s+/,r],className:{1:"keyword",3:"title.class"}},{match:[/\b(?:class|interface|extends|implements)/,/\s+/,n],className:{1:"keyword",3:"title.class"}},{className:"meta",beginKeywords:"import include",end:/;/,keywords:{keyword:"import include"}},{beginKeywords:"function",end:/[{;]/,excludeEnd:!0,illegal:/\S/,contains:[t.inherit(t.TITLE_MODE,{className:"title.function"}),{className:"params",begin:/\(/,end:/\)/,contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,o]},{begin:e.concat(/:\s*/,i)}]},t.METHOD_GUARD],illegal:/#/}}function zA(t){const e="\\d(_|\\d)*",n="[eE][-+]?"+e,r=e+"(\\."+e+")?("+n+")?",i="\\w+",a="\\b("+(e+"#"+i+"(\\."+i+")?#("+n+")?")+"|"+r+")",s="[A-Za-z](_?[A-Za-z0-9.])*",l=`[]\\{\\}%#'"`,c=t.COMMENT("--","$"),u={begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)",illegal:l,contains:[{beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:s,endsParent:!0,relevance:0}]};return{name:"Ada",case_insensitive:!0,keywords:{keyword:["abort","else","new","return","abs","elsif","not","reverse","abstract","end","accept","entry","select","access","exception","of","separate","aliased","exit","or","some","all","others","subtype","and","for","out","synchronized","array","function","overriding","at","tagged","generic","package","task","begin","goto","pragma","terminate","body","private","then","if","procedure","type","case","in","protected","constant","interface","is","raise","use","declare","range","delay","limited","record","when","delta","loop","rem","while","digits","renames","with","do","mod","requeue","xor"],literal:["True","False"]},contains:[c,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:a,relevance:0},{className:"symbol",begin:"'"+s},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:l},{begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return",returnBegin:!0,contains:[c,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:l},u,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0,endsParent:!0,illegal:l}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:l},u]}}function $A(t){const e={className:"built_in",begin:"\\b(void|bool|int8|int16|int32|int64|int|uint8|uint16|uint32|uint64|uint|string|ref|array|double|float|auto|dictionary)"},n={className:"symbol",begin:"[a-zA-Z0-9_]+@"},r={className:"keyword",begin:"<",end:">",contains:[e,n]};return e.contains=[r],n.contains=[r],{name:"AngelScript",aliases:["asc"],keywords:["for","in|0","break","continue","while","do|0","return","if","else","case","switch","namespace","is","cast","or","and","xor","not","get|0","in","inout|10","out","override","set|0","private","public","const","default|0","final","shared","external","mixin|10","enum","typedef","funcdef","this","super","import","from","interface","abstract|0","try","catch","protected","explicit","property"],illegal:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",contains:[{className:"string",begin:"'",end:"'",illegal:"\\n",contains:[t.BACKSLASH_ESCAPE],relevance:0},{className:"string",begin:'"""',end:'"""'},{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE],relevance:0},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"string",begin:"^\\s*\\[",end:"\\]"},{beginKeywords:"interface namespace",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]},{beginKeywords:"class",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+",contains:[{begin:"[:,]\\s*",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]}]}]},e,n,{className:"literal",begin:"\\b(null|true|false)"},{className:"number",relevance:0,begin:"(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"}]}}function qA(t){const e={className:"number",begin:/[$%]\d+/},n={className:"number",begin:/\b\d+/},r={className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/},i={className:"number",begin:/:\d{1,5}/};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[t.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/,contains:[r,i,t.inherit(t.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0,keywords:{_:["order","deny","allow","setenv","rewriterule","rewriteengine","rewritecond","documentroot","sethandler","errordocument","loadmodule","options","header","listen","serverroot","servername"]},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable",begin:/[\$%]\{/,end:/\}/,contains:["self",e]},r,n,t.QUOTE_STRING_MODE]}}],illegal:/\S/}}function WA(t){const e=t.regex,n=t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),r={className:"params",begin:/\(/,end:/\)/,contains:["self",t.C_NUMBER_MODE,n]},i=t.COMMENT(/--/,/$/),o=t.COMMENT(/\(\*/,/\*\)/,{contains:["self",i]}),a=[i,o,t.HASH_COMMENT_MODE],s=[/apart from/,/aside from/,/instead of/,/out of/,/greater than/,/isn't|(doesn't|does not) (equal|come before|come after|contain)/,/(greater|less) than( or equal)?/,/(starts?|ends|begins?) with/,/contained by/,/comes (before|after)/,/a (ref|reference)/,/POSIX (file|path)/,/(date|time) string/,/quoted form/],l=[/clipboard info/,/the clipboard/,/info for/,/list (disks|folder)/,/mount volume/,/path to/,/(close|open for) access/,/(get|set) eof/,/current date/,/do shell script/,/get volume settings/,/random number/,/set volume/,/system attribute/,/system info/,/time to GMT/,/(load|run|store) script/,/scripting components/,/ASCII (character|number)/,/localized string/,/choose (application|color|file|file name|folder|from list|remote application|URL)/,/display (alert|dialog)/];return{name:"AppleScript",aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name|0 paragraph paragraphs rest reverse running time version weekday word words year"},contains:[n,t.C_NUMBER_MODE,{className:"built_in",begin:e.concat(/\b/,e.either(...l),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:e.concat(/\b/,e.either(...s),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[t.UNDERSCORE_TITLE_MODE,r]},...a],illegal:/\/\/|->|=>|\[\[/}}function KA(t){const e="[A-Za-z_][0-9A-Za-z_]*",n={keyword:["if","for","while","var","new","function","do","return","void","else","break"],literal:["BackSlash","DoubleQuote","false","ForwardSlash","Infinity","NaN","NewLine","null","PI","SingleQuote","Tab","TextFormatting","true","undefined"],built_in:["Abs","Acos","All","Angle","Any","Area","AreaGeodetic","Array","Asin","Atan","Atan2","Attachments","Average","Back","Bearing","Boolean","Buffer","BufferGeodetic","Ceil","Centroid","Clip","Concatenate","Console","Constrain","Contains","ConvertDirection","Cos","Count","Crosses","Cut","Date","DateAdd","DateDiff","Day","Decode","DefaultValue","Densify","DensifyGeodetic","Dictionary","Difference","Disjoint","Distance","DistanceGeodetic","Distinct","Domain","DomainCode","DomainName","EnvelopeIntersects","Equals","Erase","Exp","Expects","Extent","Feature","FeatureSet","FeatureSetByAssociation","FeatureSetById","FeatureSetByName","FeatureSetByPortalItem","FeatureSetByRelationshipName","Filter","Find","First","Floor","FromCharCode","FromCodePoint","FromJSON","GdbVersion","Generalize","Geometry","GetFeatureSet","GetUser","GroupBy","Guid","Hash","HasKey","Hour","IIf","Includes","IndexOf","Insert","Intersection","Intersects","IsEmpty","IsNan","ISOMonth","ISOWeek","ISOWeekday","ISOYear","IsSelfIntersecting","IsSimple","Left|0","Length","Length3D","LengthGeodetic","Log","Lower","Map","Max","Mean","Mid","Millisecond","Min","Minute","Month","MultiPartToSinglePart","Multipoint","NextSequenceValue","None","Now","Number","Offset|0","OrderBy","Overlaps","Point","Polygon","Polyline","Pop","Portal","Pow","Proper","Push","Random","Reduce","Relate","Replace","Resize","Reverse","Right|0","RingIsClockwise","Rotate","Round","Schema","Second","SetGeometry","Simplify","Sin","Slice","Sort","Splice","Split","Sqrt","Stdev","SubtypeCode","SubtypeName","Subtypes","Sum","SymmetricDifference","Tan","Text","Timestamp","ToCharCode","ToCodePoint","Today","ToHex","ToLocal","Top|0","Touches","ToUTC","TrackAccelerationAt","TrackAccelerationWindow","TrackCurrentAcceleration","TrackCurrentDistance","TrackCurrentSpeed","TrackCurrentTime","TrackDistanceAt","TrackDistanceWindow","TrackDuration","TrackFieldWindow","TrackGeometryWindow","TrackIndex","TrackSpeedAt","TrackSpeedWindow","TrackStartTime","TrackWindow","Trim","TypeOf","Union","Upper","UrlEncode","Variance","Week","Weekday","When","Within","Year"]},r={className:"symbol",begin:"\\$[datastore|feature|layer|map|measure|sourcefeature|sourcelayer|targetfeature|targetlayer|value|view]+"},i={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:t.C_NUMBER_RE}],relevance:0},o={className:"subst",begin:"\\$\\{",end:"\\}",keywords:n,contains:[]},a={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,o]};o.contains=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,a,i,t.REGEXP_MODE];const s=o.contains.concat([t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]);return{name:"ArcGIS Arcade",case_insensitive:!0,keywords:n,contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,a,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,r,i,{begin:/[{,]\s*/,relevance:0,contains:[{begin:e+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:e,relevance:0}]}]},{begin:"("+t.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+e+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:n,contains:s}]}]}],relevance:0},{beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[t.inherit(t.TITLE_MODE,{className:"title.function",begin:e}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:s}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}}function QA(t){const e={variants:[t.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),t.COMMENT("[;@]","$",{relevance:0}),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+t.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 w0 w1 w2 w3 w4 w5 w6 w7 w8 w9 w10 w11 w12 w13 w14 w15 w16 w17 w18 w19 w20 w21 w22 w23 w24 w25 w26 w27 w28 w29 w30 x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 x15 x16 x17 x18 x19 x20 x21 x22 x23 x24 x25 x26 x27 x28 x29 x30 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},e,t.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"[=#]\\w+"}],relevance:0}]}}function ZA(t){const e=t.regex,n={begin:"^'{3,}[ \\t]*$",relevance:10},r=[{begin:/\\[*_`]/},{begin:/\\\\\*{2}[^\n]*?\*{2}/},{begin:/\\\\_{2}[^\n]*_{2}/},{begin:/\\\\`{2}[^\n]*`{2}/},{begin:/[:;}][*_`](?![*_`])/}],i=[{className:"strong",begin:/\*{2}([^\n]+?)\*{2}/},{className:"strong",begin:e.concat(/\*\*/,/((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,/(\*(?!\*)|\\[^\n]|[^*\n\\])*/,/\*\*/),relevance:0},{className:"strong",begin:/\B\*(\S|\S[^\n]*?\S)\*(?!\w)/},{className:"strong",begin:/\*[^\s]([^\n]+\n)+([^\n]+)\*/}],o=[{className:"emphasis",begin:/_{2}([^\n]+?)_{2}/},{className:"emphasis",begin:e.concat(/__/,/((_(?!_)|\\[^\n]|[^_\n\\])+\n)+/,/(_(?!_)|\\[^\n]|[^_\n\\])*/,/__/),relevance:0},{className:"emphasis",begin:/\b_(\S|\S[^\n]*?\S)_(?!\w)/},{className:"emphasis",begin:/_[^\s]([^\n]+\n)+([^\n]+)_/},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0}],a={className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},s={className:"bullet",begin:"^(\\*+|-+|\\.+|[^\\n]+?::)\\s+"};return{name:"AsciiDoc",aliases:["adoc"],contains:[t.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),t.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"section",relevance:10,variants:[{begin:"^(={1,6})[ ].+?([ ]\\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"meta",begin:"^\\[.+?\\]$",relevance:0},{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},s,a,...r,...i,...o,{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:/`{2}/,end:/(\n{2}|`{2})/},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},n,{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}]}}function XA(t){const e=t.regex,n=["false","synchronized","int","abstract","float","private","char","boolean","static","null","if","const","for","true","while","long","throw","strictfp","finally","protected","import","native","final","return","void","enum","else","extends","implements","break","transient","new","catch","instanceof","byte","super","volatile","case","assert","short","package","default","double","public","try","this","switch","continue","throws","privileged","aspectOf","adviceexecution","proceed","cflowbelow","cflow","initialization","preinitialization","staticinitialization","withincode","target","within","execution","getWithinTypeName","handler","thisJoinPoint","thisJoinPointStaticPart","thisEnclosingJoinPointStaticPart","declare","parents","warning","error","soft","precedence","thisAspectInstance"],r=["get","set","args","call"];return{name:"AspectJ",keywords:n,illegal:/<\/|#/,contains:[t.COMMENT(/\/\*\*/,/\*\//,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:/@[A-Za-z]+/}]}),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{className:"class",beginKeywords:"aspect",end:/[{;=]/,excludeEnd:!0,illegal:/[:;"\[\]]/,contains:[{beginKeywords:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},t.UNDERSCORE_TITLE_MODE,{begin:/\([^\)]*/,end:/[)]+/,keywords:n.concat(r),excludeEnd:!1}]},{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,relevance:0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},t.UNDERSCORE_TITLE_MODE]},{beginKeywords:"pointcut after before around throwing returning",end:/[)]/,excludeEnd:!1,illegal:/["\[\]]/,contains:[{begin:e.concat(t.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,contains:[t.UNDERSCORE_TITLE_MODE]}]},{begin:/[:]/,returnBegin:!0,end:/[{;]/,relevance:0,excludeEnd:!1,keywords:n,illegal:/["\[\]]/,contains:[{begin:e.concat(t.UNDERSCORE_IDENT_RE,/\s*\(/),keywords:n.concat(r),relevance:0},t.QUOTE_STRING_MODE]},{beginKeywords:"new throw",relevance:0},{className:"function",begin:/\w+ +\w+(\.\w+)?\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,returnBegin:!0,end:/[{;=]/,keywords:n,excludeEnd:!0,contains:[{begin:e.concat(t.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,relevance:0,contains:[t.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,relevance:0,keywords:n,contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},t.C_NUMBER_MODE,{className:"meta",begin:/@[A-Za-z]+/}]}}function jA(t){const e={begin:"`[\\s\\S]"};return{name:"AutoHotkey",case_insensitive:!0,aliases:["ahk"],keywords:{keyword:"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",literal:"true false NOT AND OR",built_in:"ComSpec Clipboard ClipboardAll ErrorLevel"},contains:[e,t.inherit(t.QUOTE_STRING_MODE,{contains:[e]}),t.COMMENT(";","$",{relevance:0}),t.C_BLOCK_COMMENT_MODE,{className:"number",begin:t.NUMBER_RE,relevance:0},{className:"variable",begin:"%[a-zA-Z0-9#_$@]+%"},{className:"built_in",begin:"^\\s*\\w+\\s*(,|%)"},{className:"title",variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)',relevance:0}]},{className:"meta",begin:"^\\s*#\\w+",end:"$",relevance:0},{className:"built_in",begin:"A_[a-zA-Z0-9]+"},{begin:",\\s*,"}]}}function JA(t){const e="ByRef Case Const ContinueCase ContinueLoop Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",n=["EndRegion","forcedef","forceref","ignorefunc","include","include-once","NoTrayIcon","OnAutoItStartRegister","pragma","Region","RequireAdmin","Tidy_Off","Tidy_On","Tidy_Parameters"],r="True False And Null Not Or Default",i="Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive WinWaitClose WinWaitNotActive",o={variants:[t.COMMENT(";","$",{relevance:0}),t.COMMENT("#cs","#ce"),t.COMMENT("#comments-start","#comments-end")]},a={begin:"\\$[A-z0-9_]+"},s={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},l={variants:[t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE]},c={className:"meta",begin:"#",end:"$",keywords:{keyword:n},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",keywords:{keyword:"include"},end:"$",contains:[s,{className:"string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},s,o]},u={className:"symbol",begin:"@[A-z0-9_]+"},d={beginKeywords:"Func",end:"$",illegal:"\\$|\\[|%",contains:[t.inherit(t.UNDERSCORE_TITLE_MODE,{className:"title.function"}),{className:"params",begin:"\\(",end:"\\)",contains:[a,s,l]}]};return{name:"AutoIt",case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:e,built_in:i,literal:r},contains:[o,a,s,l,c,u,d]}}function eI(t){return{name:"AVR Assembly",case_insensitive:!0,keywords:{$pattern:"\\.?"+t.IDENT_RE,keyword:"adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf",meta:".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"},contains:[t.C_BLOCK_COMMENT_MODE,t.COMMENT(";","$",{relevance:0}),t.C_NUMBER_MODE,t.BINARY_NUMBER_MODE,{className:"number",begin:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},t.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"},{className:"symbol",begin:"^[A-Za-z0-9_.$]+:"},{className:"meta",begin:"#",end:"$"},{className:"subst",begin:"@[0-9]+"}]}}function tI(t){const e={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},n="BEGIN END if else while do for in break continue delete next nextfile function func exit|10",r={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,relevance:10},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]};return{name:"Awk",keywords:{keyword:n},contains:[e,r,t.REGEXP_MODE,t.HASH_COMMENT_MODE,t.NUMBER_MODE]}}function nI(t){const e=t.UNDERSCORE_IDENT_RE,o={keyword:["abstract","as","asc","avg","break","breakpoint","by","byref","case","catch","changecompany","class","client","client","common","const","continue","count","crosscompany","delegate","delete_from","desc","display","div","do","edit","else","eventhandler","exists","extends","final","finally","firstfast","firstonly","firstonly1","firstonly10","firstonly100","firstonly1000","flush","for","forceliterals","forcenestedloop","forceplaceholders","forceselectorder","forupdate","from","generateonly","group","hint","if","implements","in","index","insert_recordset","interface","internal","is","join","like","maxof","minof","mod","namespace","new","next","nofetch","notexists","optimisticlock","order","outer","pessimisticlock","print","private","protected","public","readonly","repeatableread","retry","return","reverse","select","server","setting","static","sum","super","switch","this","throw","try","ttsabort","ttsbegin","ttscommit","unchecked","update_recordset","using","validtimestate","void","where","while"],built_in:["anytype","boolean","byte","char","container","date","double","enum","guid","int","int64","long","real","short","str","utcdatetime","var"],literal:["default","false","null","true"]},a={variants:[{match:[/(class|interface)\s+/,e,/\s+(extends|implements)\s+/,e]},{match:[/class\s+/,e]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:o};return{name:"X++",aliases:["x++"],keywords:o,contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},a]}}function rI(t){return{name:"BASIC",case_insensitive:!0,illegal:"^.",keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_$%!#]*",keyword:["ABS","ASC","AND","ATN","AUTO|0","BEEP","BLOAD|10","BSAVE|10","CALL","CALLS","CDBL","CHAIN","CHDIR","CHR$|10","CINT","CIRCLE","CLEAR","CLOSE","CLS","COLOR","COM","COMMON","CONT","COS","CSNG","CSRLIN","CVD","CVI","CVS","DATA","DATE$","DEFDBL","DEFINT","DEFSNG","DEFSTR","DEF|0","SEG","USR","DELETE","DIM","DRAW","EDIT","END","ENVIRON","ENVIRON$","EOF","EQV","ERASE","ERDEV","ERDEV$","ERL","ERR","ERROR","EXP","FIELD","FILES","FIX","FOR|0","FRE","GET","GOSUB|10","GOTO","HEX$","IF","THEN","ELSE|0","INKEY$","INP","INPUT","INPUT#","INPUT$","INSTR","IMP","INT","IOCTL","IOCTL$","KEY","ON","OFF","LIST","KILL","LEFT$","LEN","LET","LINE","LLIST","LOAD","LOC","LOCATE","LOF","LOG","LPRINT","USING","LSET","MERGE","MID$","MKDIR","MKD$","MKI$","MKS$","MOD","NAME","NEW","NEXT","NOISE","NOT","OCT$","ON","OR","PEN","PLAY","STRIG","OPEN","OPTION","BASE","OUT","PAINT","PALETTE","PCOPY","PEEK","PMAP","POINT","POKE","POS","PRINT","PRINT]","PSET","PRESET","PUT","RANDOMIZE","READ","REM","RENUM","RESET|0","RESTORE","RESUME","RETURN|0","RIGHT$","RMDIR","RND","RSET","RUN","SAVE","SCREEN","SGN","SHELL","SIN","SOUND","SPACE$","SPC","SQR","STEP","STICK","STOP","STR$","STRING$","SWAP","SYSTEM","TAB","TAN","TIME$","TIMER","TROFF","TRON","TO","USR","VAL","VARPTR","VARPTR$","VIEW","WAIT","WHILE","WEND","WIDTH","WINDOW","WRITE","XOR"]},contains:[t.QUOTE_STRING_MODE,t.COMMENT("REM","$",{relevance:10}),t.COMMENT("'","$",{relevance:0}),{className:"symbol",begin:"^[0-9]+ ",relevance:10},{className:"number",begin:"\\b\\d+(\\.\\d+)?([edED]\\d+)?[#!]?",relevance:0},{className:"number",begin:"(&[hH][0-9a-fA-F]{1,4})"},{className:"number",begin:"(&[oO][0-7]{1,6})"}]}}function iI(t){return{name:"Backus–Naur Form",contains:[{className:"attribute",begin://},{begin:/::=/,end:/$/,contains:[{begin://},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]}]}}function oI(t){const e={className:"literal",begin:/[+-]+/,relevance:0};return{name:"Brainfuck",aliases:["bf"],contains:[t.COMMENT(/[^\[\]\.,\+\-<> \r\n]/,/[\[\]\.,\+\-<> \r\n]/,{contains:[{match:/[ ]+[^\[\]\.,\+\-<> \r\n]/,relevance:0}],returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/(?=\+\+|--)/,contains:[e]},e]}}function aI(t){const e=t.regex,n=["div","mod","in","and","or","not","xor","asserterror","begin","case","do","downto","else","end","exit","for","local","if","of","repeat","then","to","until","while","with","var"],r="false true",i=[t.C_LINE_COMMENT_MODE,t.COMMENT(/\{/,/\}/,{relevance:0}),t.COMMENT(/\(\*/,/\*\)/,{relevance:10})],o={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},a={className:"string",begin:/(#\d+)+/},s={className:"number",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},l={className:"string",begin:'"',end:'"'},c={match:[/procedure/,/\s+/,/[a-zA-Z_][\w@]*/,/\s*/],scope:{1:"keyword",3:"title.function"},contains:[{className:"params",begin:/\(/,end:/\)/,keywords:n,contains:[o,a,t.NUMBER_MODE]},...i]},u=["Table","Form","Report","Dataport","Codeunit","XMLport","MenuSuite","Page","Query"],d={match:[/OBJECT/,/\s+/,e.either(...u),/\s+/,/\d+/,/\s+(?=[^\s])/,/.*/,/$/],relevance:3,scope:{1:"keyword",3:"type",5:"number",7:"title"}};return{name:"C/AL",case_insensitive:!0,keywords:{keyword:n,literal:r},illegal:/\/\*/,contains:[{match:/[\w]+(?=\=)/,scope:"attribute",relevance:0},o,a,s,l,t.NUMBER_MODE,d,c]}}function sI(t){const e=["struct","enum","interface","union","group","import","using","const","annotation","extends","in","of","on","as","with","from","fixed"],n=["Void","Bool","Int8","Int16","Int32","Int64","UInt8","UInt16","UInt32","UInt64","Float32","Float64","Text","Data","AnyPointer","AnyStruct","Capability","List"],r=["true","false"],i={variants:[{match:[/(struct|enum|interface)/,/\s+/,t.IDENT_RE]},{match:[/extends/,/\s*\(/,t.IDENT_RE,/\s*\)/]}],scope:{1:"keyword",3:"title.class"}};return{name:"Cap’n Proto",aliases:["capnp"],keywords:{keyword:e,type:n,literal:r},contains:[t.QUOTE_STRING_MODE,t.NUMBER_MODE,t.HASH_COMMENT_MODE,{className:"meta",begin:/@0x[\w\d]{16};/,illegal:/\n/},{className:"symbol",begin:/@\d+\b/},i]}}function lI(t){const e=["assembly","module","package","import","alias","class","interface","object","given","value","assign","void","function","new","of","extends","satisfies","abstracts","in","out","return","break","continue","throw","assert","dynamic","if","else","switch","case","for","while","try","catch","finally","then","let","this","outer","super","is","exists","nonempty"],n=["shared","abstract","formal","default","actual","variable","late","native","deprecated","final","sealed","annotation","suppressWarnings","small"],r=["doc","by","license","see","throws","tagged"],i={className:"subst",excludeBegin:!0,excludeEnd:!0,begin:/``/,end:/``/,keywords:e,relevance:10},o=[{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[i]},{className:"string",begin:"'",end:"'"},{className:"number",begin:"#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",relevance:0}];return i.contains=o,{name:"Ceylon",keywords:{keyword:e.concat(n),meta:r},illegal:"\\$[^01]|#[^0-9a-fA-F]",contains:[t.C_LINE_COMMENT_MODE,t.COMMENT("/\\*","\\*/",{contains:["self"]}),{className:"meta",begin:'@[a-z]\\w*(?::"[^"]*")?'}].concat(o)}}function cI(t){return{name:"Clean",aliases:["icl","dcl"],keywords:{keyword:["if","let","in","with","where","case","of","class","instance","otherwise","implementation","definition","system","module","from","import","qualified","as","special","code","inline","foreign","export","ccall","stdcall","generic","derive","infix","infixl","infixr"],built_in:"Int Real Char Bool",literal:"True False"},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,{begin:"->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>"}]}}function uI(t){const e="a-zA-Z_\\-!.?+*=<>&'",n="[#]?["+e+"]["+e+"0-9/;:$#]*",r="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",i={$pattern:n,built_in:r+" cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},o={begin:n,relevance:0},a={scope:"number",relevance:0,variants:[{match:/[-+]?0[xX][0-9a-fA-F]+N?/},{match:/[-+]?0[0-7]+N?/},{match:/[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/},{match:/[-+]?[0-9]+\/[0-9]+N?/},{match:/[-+]?[0-9]+((\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/},{match:/[-+]?([1-9][0-9]*|0)N?/}]},s={scope:"character",variants:[{match:/\\o[0-3]?[0-7]{1,2}/},{match:/\\u[0-9a-fA-F]{4}/},{match:/\\(newline|space|tab|formfeed|backspace|return)/},{match:/\\\S/,relevance:0}]},l={scope:"regex",begin:/#"/,end:/"/,contains:[t.BACKSLASH_ESCAPE]},c=t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),u={scope:"punctuation",match:/,/,relevance:0},d=t.COMMENT(";","$",{relevance:0}),p={className:"literal",begin:/\b(true|false|nil)\b/},_={begin:"\\[|(#::?"+n+")?\\{",end:"[\\]\\}]",relevance:0},m={className:"symbol",begin:"[:]{1,2}"+n},f={begin:"\\(",end:"\\)"},g={endsWithParent:!0,relevance:0},E={keywords:i,className:"name",begin:n,relevance:0,starts:g},S=[u,f,s,l,c,d,m,_,a,p,o],b={beginKeywords:r,keywords:{$pattern:n,keyword:r},end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:n,relevance:0,excludeEnd:!0,endsParent:!0}].concat(S)};return f.contains=[b,E,g],g.contains=S,_.contains=S,{name:"Clojure",aliases:["clj","edn"],illegal:/\S/,contains:[u,f,s,l,c,d,m,_,a,p]}}function dI(t){return{name:"Clojure REPL",contains:[{className:"meta.prompt",begin:/^([\w.-]+|\s*#_)?=>/,starts:{end:/$/,subLanguage:"clojure"}}]}}function pI(t){return{name:"CMake",aliases:["cmake.in"],case_insensitive:!0,keywords:{keyword:"break cmake_host_system_information cmake_minimum_required cmake_parse_arguments cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro endwhile execute_process file find_file find_library find_package find_path find_program foreach function get_cmake_property get_directory_property get_filename_component get_property if include include_guard list macro mark_as_advanced math message option return separate_arguments set_directory_properties set_property set site_name string unset variable_watch while add_compile_definitions add_compile_options add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_link_options add_subdirectory add_test aux_source_directory build_command create_test_sourcelist define_property enable_language enable_testing export fltk_wrap_ui get_source_file_property get_target_property get_test_property include_directories include_external_msproject include_regular_expression install link_directories link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions set_source_files_properties set_target_properties set_tests_properties source_group target_compile_definitions target_compile_features target_compile_options target_include_directories target_link_directories target_link_libraries target_link_options target_sources try_compile try_run ctest_build ctest_configure ctest_coverage ctest_empty_binary_directory ctest_memcheck ctest_read_custom_files ctest_run_script ctest_sleep ctest_start ctest_submit ctest_test ctest_update ctest_upload build_name exec_program export_library_dependencies install_files install_programs install_targets load_command make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or not command policy target test exists is_newer_than is_directory is_symlink is_absolute matches less greater equal less_equal greater_equal strless strgreater strequal strless_equal strgreater_equal version_less version_greater version_equal version_less_equal version_greater_equal in_list defined"},contains:[{className:"variable",begin:/\$\{/,end:/\}/},t.COMMENT(/#\[\[/,/]]/),t.HASH_COMMENT_MODE,t.QUOTE_STRING_MODE,t.NUMBER_MODE]}}const _I=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],mI=["true","false","null","undefined","NaN","Infinity"],fI=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],gI=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],hI=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],EI=[].concat(hI,fI,gI);function SI(t){const e=["npm","print"],n=["yes","no","on","off"],r=["then","unless","until","loop","by","when","and","or","is","isnt","not"],i=["var","const","let","function","static"],o=m=>f=>!m.includes(f),a={keyword:_I.concat(r).filter(o(i)),literal:mI.concat(n),built_in:EI.concat(e)},s="[A-Za-z$_][0-9A-Za-z$_]*",l={className:"subst",begin:/#\{/,end:/\}/,keywords:a},c=[t.BINARY_NUMBER_MODE,t.inherit(t.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[t.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,l]},{begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,l]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[l,t.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+s},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];l.contains=c;const u=t.inherit(t.TITLE_MODE,{begin:s}),d="(\\(.*\\)\\s*)?\\B[-=]>",p={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:a,contains:["self"].concat(c)}]},_={variants:[{match:[/class\s+/,s,/\s+extends\s+/,s]},{match:[/class\s+/,s]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:a};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:a,illegal:/\/\*/,contains:[...c,t.COMMENT("###","###"),t.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+s+"\\s*=\\s*"+d,end:"[-=]>",returnBegin:!0,contains:[u,p]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:d,end:"[-=]>",returnBegin:!0,contains:[p]}]},_,{begin:s+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}]}}function bI(t){return{name:"Coq",keywords:{keyword:["_|0","as","at","cofix","else","end","exists","exists2","fix","for","forall","fun","if","IF","in","let","match","mod","Prop","return","Set","then","Type","using","where","with","Abort","About","Add","Admit","Admitted","All","Arguments","Assumptions","Axiom","Back","BackTo","Backtrack","Bind","Blacklist","Canonical","Cd","Check","Class","Classes","Close","Coercion","Coercions","CoFixpoint","CoInductive","Collection","Combined","Compute","Conjecture","Conjectures","Constant","constr","Constraint","Constructors","Context","Corollary","CreateHintDb","Cut","Declare","Defined","Definition","Delimit","Dependencies","Dependent","Derive","Drop","eauto","End","Equality","Eval","Example","Existential","Existentials","Existing","Export","exporting","Extern","Extract","Extraction","Fact","Field","Fields","File","Fixpoint","Focus","for","From","Function","Functional","Generalizable","Global","Goal","Grab","Grammar","Graph","Guarded","Heap","Hint","HintDb","Hints","Hypotheses","Hypothesis","ident","Identity","If","Immediate","Implicit","Import","Include","Inductive","Infix","Info","Initial","Inline","Inspect","Instance","Instances","Intro","Intros","Inversion","Inversion_clear","Language","Left","Lemma","Let","Libraries","Library","Load","LoadPath","Local","Locate","Ltac","ML","Mode","Module","Modules","Monomorphic","Morphism","Next","NoInline","Notation","Obligation","Obligations","Opaque","Open","Optimize","Options","Parameter","Parameters","Parametric","Path","Paths","pattern","Polymorphic","Preterm","Print","Printing","Program","Projections","Proof","Proposition","Pwd","Qed","Quit","Rec","Record","Recursive","Redirect","Relation","Remark","Remove","Require","Reserved","Reset","Resolve","Restart","Rewrite","Right","Ring","Rings","Save","Scheme","Scope","Scopes","Script","Search","SearchAbout","SearchHead","SearchPattern","SearchRewrite","Section","Separate","Set","Setoid","Show","Solve","Sorted","Step","Strategies","Strategy","Structure","SubClass","Table","Tables","Tactic","Term","Test","Theorem","Time","Timeout","Transparent","Type","Typeclasses","Types","Undelimit","Undo","Unfocus","Unfocused","Unfold","Universe","Universes","Unset","Unshelve","using","Variable","Variables","Variant","Verbose","Visibility","where","with"],built_in:["abstract","absurd","admit","after","apply","as","assert","assumption","at","auto","autorewrite","autounfold","before","bottom","btauto","by","case","case_eq","cbn","cbv","change","classical_left","classical_right","clear","clearbody","cofix","compare","compute","congruence","constr_eq","constructor","contradict","contradiction","cut","cutrewrite","cycle","decide","decompose","dependent","destruct","destruction","dintuition","discriminate","discrR","do","double","dtauto","eapply","eassumption","eauto","ecase","econstructor","edestruct","ediscriminate","eelim","eexact","eexists","einduction","einjection","eleft","elim","elimtype","enough","equality","erewrite","eright","esimplify_eq","esplit","evar","exact","exactly_once","exfalso","exists","f_equal","fail","field","field_simplify","field_simplify_eq","first","firstorder","fix","fold","fourier","functional","generalize","generalizing","gfail","give_up","has_evar","hnf","idtac","in","induction","injection","instantiate","intro","intro_pattern","intros","intuition","inversion","inversion_clear","is_evar","is_var","lapply","lazy","left","lia","lra","move","native_compute","nia","nsatz","omega","once","pattern","pose","progress","proof","psatz","quote","record","red","refine","reflexivity","remember","rename","repeat","replace","revert","revgoals","rewrite","rewrite_strat","right","ring","ring_simplify","rtauto","set","setoid_reflexivity","setoid_replace","setoid_rewrite","setoid_symmetry","setoid_transitivity","shelve","shelve_unifiable","simpl","simple","simplify_eq","solve","specialize","split","split_Rabs","split_Rmult","stepl","stepr","subst","sum","swap","symmetry","tactic","tauto","time","timeout","top","transitivity","trivial","try","tryif","unfold","unify","until","using","vm_compute","with"]},contains:[t.QUOTE_STRING_MODE,t.COMMENT("\\(\\*","\\*\\)"),t.C_NUMBER_MODE,{className:"type",excludeBegin:!0,begin:"\\|\\s*",end:"\\w+"},{begin:/[-=]>/}]}}function TI(t){return{name:"Caché Object Script",case_insensitive:!0,aliases:["cls"],keywords:"property parameter class classmethod clientmethod extends as break catch close continue do d|0 else elseif for goto halt hang h|0 if job j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 tcommit throw trollback try tstart use view while write w|0 xecute x|0 zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit zsync ascii",contains:[{className:"number",begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)",relevance:0},{className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]}]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"comment",begin:/;/,end:"$",relevance:0},{className:"built_in",begin:/(?:\$\$?|\.\.)\^?[a-zA-Z]+/},{className:"built_in",begin:/\$\$\$[a-zA-Z]+/},{className:"built_in",begin:/%[a-z]+(?:\.[a-z]+)*/},{className:"symbol",begin:/\^%?[a-zA-Z][\w]*/},{className:"keyword",begin:/##class|##super|#define|#dim/},{begin:/&sql\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"sql"},{begin:/&(js|jscript|javascript)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"},{begin:/&html<\s*\s*>/,subLanguage:"xml"}]}}function CI(t){const e="primitive rsc_template",n="group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml";return{name:"crmsh",aliases:["crm","pcmk"],case_insensitive:!0,keywords:{keyword:"params meta operations op rule attributes utilization"+" "+"read write deny defined not_defined in_range date spec in ref reference attribute type xpath version and or lt gt tag lte gte eq ne \\"+" "+"number string",literal:"Master Started Slave Stopped start promote demote stop monitor true false"},contains:[t.HASH_COMMENT_MODE,{beginKeywords:"node",starts:{end:"\\s*([\\w_-]+:)?",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*"}}},{beginKeywords:e,starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*",starts:{end:"\\s*@?[\\w_][\\w_\\.:-]*"}}},{begin:"\\b("+n.split(" ").join("|")+")\\s+",keywords:n,starts:{className:"title",end:"[\\$\\w_][\\w_-]*"}},{beginKeywords:"property rsc_defaults op_defaults",starts:{className:"title",end:"\\s*([\\w_-]+:)?"}},t.QUOTE_STRING_MODE,{className:"meta",begin:"(ocf|systemd|service|lsb):[\\w_:-]+",relevance:0},{className:"number",begin:"\\b\\d+(\\.\\d+)?(ms|s|h|m)?",relevance:0},{className:"literal",begin:"[-]?(infinity|inf)",relevance:0},{className:"attr",begin:/([A-Za-z$_#][\w_-]+)=/,relevance:0},{className:"tag",begin:"",relevance:0}]}}function yI(t){const e="(_?[ui](8|16|32|64|128))?",n="(_?f(32|64))?",r="[a-zA-Z_]\\w*[!?=]?",i="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?",o="[A-Za-z_]\\w*(::\\w+)*(\\?|!)?",a={$pattern:r,keyword:"abstract alias annotation as as? asm begin break case class def do else elsif end ensure enum extend for fun if include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? return require select self sizeof struct super then type typeof union uninitialized unless until verbatim when while with yield __DIR__ __END_LINE__ __FILE__ __LINE__",literal:"false nil true"},s={className:"subst",begin:/#\{/,end:/\}/,keywords:a},l={className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},c={className:"template-variable",variants:[{begin:"\\{\\{",end:"\\}\\}"},{begin:"\\{%",end:"%\\}"}],keywords:a};function u(E,S){const b=[{begin:E,end:S}];return b[0].contains=b,b}const d={className:"string",contains:[t.BACKSLASH_ESCAPE,s],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[Qwi]?\\(",end:"\\)",contains:u("\\(","\\)")},{begin:"%[Qwi]?\\[",end:"\\]",contains:u("\\[","\\]")},{begin:"%[Qwi]?\\{",end:/\}/,contains:u(/\{/,/\}/)},{begin:"%[Qwi]?<",end:">",contains:u("<",">")},{begin:"%[Qwi]?\\|",end:"\\|"},{begin:/<<-\w+$/,end:/^\s*\w+$/}],relevance:0},p={className:"string",variants:[{begin:"%q\\(",end:"\\)",contains:u("\\(","\\)")},{begin:"%q\\[",end:"\\]",contains:u("\\[","\\]")},{begin:"%q\\{",end:/\}/,contains:u(/\{/,/\}/)},{begin:"%q<",end:">",contains:u("<",">")},{begin:"%q\\|",end:"\\|"},{begin:/<<-'\w+'$/,end:/^\s*\w+$/}],relevance:0},_={begin:"(?!%\\})("+t.RE_STARTERS_RE+"|\\n|\\b(case|if|select|unless|until|when|while)\\b)\\s*",keywords:"case if select unless until when while",contains:[{className:"regexp",contains:[t.BACKSLASH_ESCAPE,s],variants:[{begin:"//[a-z]*",relevance:0},{begin:"/(?!\\/)",end:"/[a-z]*"}]}],relevance:0},m={className:"regexp",contains:[t.BACKSLASH_ESCAPE,s],variants:[{begin:"%r\\(",end:"\\)",contains:u("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:u("\\[","\\]")},{begin:"%r\\{",end:/\}/,contains:u(/\{/,/\}/)},{begin:"%r<",end:">",contains:u("<",">")},{begin:"%r\\|",end:"\\|"}],relevance:0},f={className:"meta",begin:"@\\[",end:"\\]",contains:[t.inherit(t.QUOTE_STRING_MODE,{className:"string"})]},g=[c,d,p,m,_,f,l,t.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[t.HASH_COMMENT_MODE,t.inherit(t.TITLE_MODE,{begin:o}),{begin:"<"}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[t.HASH_COMMENT_MODE,t.inherit(t.TITLE_MODE,{begin:o})]},{beginKeywords:"annotation",end:"$|;",illegal:/=/,contains:[t.HASH_COMMENT_MODE,t.inherit(t.TITLE_MODE,{begin:o})],relevance:2},{className:"function",beginKeywords:"def",end:/\B\b/,contains:[t.inherit(t.TITLE_MODE,{begin:i,endsParent:!0})]},{className:"function",beginKeywords:"fun macro",end:/\B\b/,contains:[t.inherit(t.TITLE_MODE,{begin:i,endsParent:!0})],relevance:2},{className:"symbol",begin:t.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[d,{begin:i}],relevance:0},{className:"number",variants:[{begin:"\\b0b([01_]+)"+e},{begin:"\\b0o([0-7_]+)"+e},{begin:"\\b0x([A-Fa-f0-9_]+)"+e},{begin:"\\b([1-9][0-9_]*[0-9]|[0-9])(\\.[0-9][0-9_]*)?([eE]_?[-+]?[0-9_]*)?"+n+"(?!_)"},{begin:"\\b([1-9][0-9_]*|0)"+e}],relevance:0}];return s.contains=g,c.contains=g.slice(1),{name:"Crystal",aliases:["cr"],keywords:a,contains:g}}function vI(t){return{name:"CSP",case_insensitive:!1,keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_-]*",keyword:["base-uri","child-src","connect-src","default-src","font-src","form-action","frame-ancestors","frame-src","img-src","manifest-src","media-src","object-src","plugin-types","report-uri","sandbox","script-src","style-src","trusted-types","unsafe-hashes","worker-src"]},contains:[{className:"string",begin:"'",end:"'"},{className:"attribute",begin:"^Content",end:":",excludeEnd:!0}]}}function RI(t){const e={$pattern:t.UNDERSCORE_IDENT_RE,keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},n="(0|[1-9][\\d_]*)",r="(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)",i="0[bB][01_]+",o="([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)",a="0[xX]"+o,s="([eE][+-]?"+r+")",l="("+r+"(\\.\\d*|"+s+")|\\d+\\."+r+"|\\."+n+s+"?)",c="(0[xX]("+o+"\\."+o+"|\\.?"+o+")[pP][+-]?"+r+")",u="("+n+"|"+i+"|"+a+")",d="("+c+"|"+l+")",p=`\\\\(['"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};`,_={className:"number",begin:"\\b"+u+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},m={className:"number",begin:"\\b("+d+"([fF]|L|i|[fF]i|Li)?|"+u+"(i|[fF]i|Li))",relevance:0},f={className:"string",begin:"'("+p+"|.)",end:"'",illegal:"."},E={className:"string",begin:'"',contains:[{begin:p,relevance:0}],end:'"[cwd]?'},S={className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},b={className:"string",begin:"`",end:"`[cwd]?"},h={className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},C={className:"string",begin:'q"\\{',end:'\\}"'},T={className:"meta",begin:"^#!",end:"$",relevance:5},R={className:"meta",begin:"#(line)",end:"$",relevance:5},x={className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"},O=t.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{name:"D",keywords:e,contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,O,h,E,S,b,C,m,_,f,T,R,x]}}function OI(t){const e={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},n={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},r={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[t.BACKSLASH_ESCAPE,e,n]},{begin:'"""',end:'"""',contains:[t.BACKSLASH_ESCAPE,e,n]},{begin:"'",end:"'",illegal:"\\n",contains:[t.BACKSLASH_ESCAPE,e,n]},{begin:'"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE,e,n]}]};n.contains=[t.C_NUMBER_MODE,r];const i=["Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num","Element","ElementList"],o=i.map(l=>`${l}?`);return{name:"Dart",keywords:{keyword:["abstract","as","assert","async","await","base","break","case","catch","class","const","continue","covariant","default","deferred","do","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","interface","is","late","library","mixin","new","null","on","operator","part","required","rethrow","return","sealed","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","when","while","with","yield"],built_in:i.concat(o).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[r,t.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),t.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},t.UNDERSCORE_TITLE_MODE]},t.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}function NI(t){const e=["exports","register","file","shl","array","record","property","for","mod","while","set","ally","label","uses","raise","not","stored","class","safecall","var","interface","or","private","static","exit","index","inherited","to","else","stdcall","override","shr","asm","far","resourcestring","finalization","packed","virtual","out","and","protected","library","do","xorwrite","goto","near","function","end","div","overload","object","unit","begin","string","on","inline","repeat","until","destructor","write","message","program","with","read","initialization","except","default","nil","if","case","cdecl","in","downto","threadvar","of","try","pascal","const","external","constructor","type","public","then","implementation","finally","published","procedure","absolute","reintroduce","operator","as","is","abstract","alias","assembler","bitpacked","break","continue","cppdecl","cvar","enumerator","experimental","platform","deprecated","unimplemented","dynamic","export","far16","forward","generic","helper","implements","interrupt","iochecks","local","name","nodefault","noreturn","nostackframe","oldfpccall","otherwise","saveregisters","softfloat","specialize","strict","unaligned","varargs"],n=[t.C_LINE_COMMENT_MODE,t.COMMENT(/\{/,/\}/,{relevance:0}),t.COMMENT(/\(\*/,/\*\)/,{relevance:10})],r={className:"meta",variants:[{begin:/\{\$/,end:/\}/},{begin:/\(\*\$/,end:/\*\)/}]},i={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},o={className:"number",relevance:0,variants:[{begin:"\\$[0-9A-Fa-f]+"},{begin:"&[0-7]+"},{begin:"%[01]+"}]},a={className:"string",begin:/(#\d+)+/},s={begin:t.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:!0,contains:[t.TITLE_MODE]},l={className:"function",beginKeywords:"function constructor destructor procedure",end:/[:;]/,keywords:"function constructor|10 destructor|10 procedure|10",contains:[t.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:e,contains:[i,a,r].concat(n)},r].concat(n)};return{name:"Delphi",aliases:["dpr","dfm","pas","pascal"],case_insensitive:!0,keywords:e,illegal:/"|\$[G-Zg-z]|\/\*|<\/|\|/,contains:[i,a,t.NUMBER_MODE,o,s,l,r].concat(n)}}function AI(t){const e={begin:/\|[A-Za-z]+:?/,keywords:{name:"truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone"},contains:[t.QUOTE_STRING_MODE,t.APOS_STRING_MODE]};return{name:"Django",aliases:["jinja"],case_insensitive:!0,subLanguage:"xml",contains:[t.COMMENT(/\{%\s*comment\s*%\}/,/\{%\s*endcomment\s*%\}/),t.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:{name:"comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim"},starts:{endsWithParent:!0,keywords:"in by as",contains:[e],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[e]}]}}function II(t){return{name:"DNS Zone",aliases:["bind","zone"],keywords:["IN","A","AAAA","AFSDB","APL","CAA","CDNSKEY","CDS","CERT","CNAME","DHCID","DLV","DNAME","DNSKEY","DS","HIP","IPSECKEY","KEY","KX","LOC","MX","NAPTR","NS","NSEC","NSEC3","NSEC3PARAM","PTR","RRSIG","RP","SIG","SOA","SRV","SSHFP","TA","TKEY","TLSA","TSIG","TXT"],contains:[t.COMMENT(";","$",{relevance:0}),{className:"meta",begin:/^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/},{className:"number",begin:"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b"},{className:"number",begin:"((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b"},t.inherit(t.NUMBER_MODE,{begin:/\b\d+[dhwm]?/})]}}function xI(t){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:["from","maintainer","expose","env","arg","user","onbuild","stopsignal"],contains:[t.HASH_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"",illegal:"\\n"}]},e,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},i={className:"variable",begin:/&[a-z\d_]*\b/},o={className:"keyword",begin:"/[a-z][a-z\\d-]*/"},a={className:"symbol",begin:"^\\s*[a-zA-Z_][a-zA-Z\\d_]*:"},s={className:"params",relevance:0,begin:"<",end:">",contains:[n,i]},l={className:"title.class",begin:/[a-zA-Z_][a-zA-Z\d_@-]*(?=\s\{)/,relevance:.2},c={className:"title.class",begin:/^\/(?=\s*\{)/,relevance:10},u={match:/[a-z][a-z-,]+(?=;)/,relevance:0,scope:"attr"},d={relevance:0,match:[/[a-z][a-z-,]+/,/\s*/,/=/],scope:{1:"attr",3:"operator"}},p={scope:"punctuation",relevance:0,match:/\};|[;{}]/};return{name:"Device Tree",contains:[c,i,o,a,l,d,u,s,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,n,e,r,p,{begin:t.IDENT_RE+"::",keywords:""}]}}function LI(t){return{name:"Dust",aliases:["dst"],case_insensitive:!0,subLanguage:"xml",contains:[{className:"template-tag",begin:/\{[#\/]/,end:/\}/,illegal:/;/,contains:[{className:"name",begin:/[a-zA-Z\.-]+/,starts:{endsWithParent:!0,relevance:0,contains:[t.QUOTE_STRING_MODE]}}]},{className:"template-variable",begin:/\{/,end:/\}/,illegal:/;/,keywords:"if eq ne lt lte gt gte select default math sep"}]}}function kI(t){const e=t.COMMENT(/\(\*/,/\*\)/),n={className:"attribute",begin:/^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/},i={begin:/=/,end:/[.;]/,contains:[e,{className:"meta",begin:/\?.*\?/},{className:"string",variants:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{begin:"`",end:"`"}]}]};return{name:"Extended Backus-Naur Form",illegal:/\S/,contains:[e,n,i]}}function PI(t){const e=t.regex,n="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",r="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",a={$pattern:n,keyword:["after","alias","and","case","catch","cond","defstruct","defguard","do","else","end","fn","for","if","import","in","not","or","quote","raise","receive","require","reraise","rescue","try","unless","unquote","unquote_splicing","use","when","with|0"],literal:["false","nil","true"]},s={className:"subst",begin:/#\{/,end:/\}/,keywords:a},l={className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},u={match:/\\[\s\S]/,scope:"char.escape",relevance:0},d=`[/|([{<"']`,p=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin://}],_=C=>({scope:"char.escape",begin:e.concat(/\\/,C),relevance:0}),m={className:"string",begin:"~[a-z](?="+d+")",contains:p.map(C=>t.inherit(C,{contains:[_(C.end),u,s]}))},f={className:"string",begin:"~[A-Z](?="+d+")",contains:p.map(C=>t.inherit(C,{contains:[_(C.end)]}))},g={className:"regex",variants:[{begin:"~r(?="+d+")",contains:p.map(C=>t.inherit(C,{end:e.concat(C.end,/[uismxfU]{0,7}/),contains:[_(C.end),u,s]}))},{begin:"~R(?="+d+")",contains:p.map(C=>t.inherit(C,{end:e.concat(C.end,/[uismxfU]{0,7}/),contains:[_(C.end)]}))}]},E={className:"string",contains:[t.BACKSLASH_ESCAPE,s],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},S={className:"function",beginKeywords:"def defp defmacro defmacrop",end:/\B\b/,contains:[t.inherit(t.TITLE_MODE,{begin:n,endsParent:!0})]},b=t.inherit(S,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),h=[E,g,f,m,t.HASH_COMMENT_MODE,b,S,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[E,{begin:r}],relevance:0},{className:"symbol",begin:n+":(?!:)",relevance:0},{className:"title.class",begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},l,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"}];return s.contains=h,{name:"Elixir",aliases:["ex","exs"],keywords:a,contains:h}}function FI(t){const e={variants:[t.COMMENT("--","$"),t.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},n={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},r={begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e]},i={begin:/\{/,end:/\}/,contains:r.contains},o={className:"string",begin:"'\\\\?.",end:"'",illegal:"."};return{name:"Elm",keywords:["let","in","if","then","else","case","of","where","module","import","exposing","type","alias","as","infix","infixl","infixr","port","effect","command","subscription"],contains:[{beginKeywords:"port effect module",end:"exposing",keywords:"port effect module where command subscription exposing",contains:[r,e],illegal:"\\W\\.|;"},{begin:"import",end:"$",keywords:"import as exposing",contains:[r,e],illegal:"\\W\\.|;"},{begin:"type",end:"$",keywords:"type alias",contains:[n,r,i,e]},{beginKeywords:"infix infixl infixr",end:"$",contains:[t.C_NUMBER_MODE,e]},{begin:"port",end:"$",keywords:"port",contains:[e]},o,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,n,t.inherit(t.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),e,{begin:"->|<-"}],illegal:/;/}}function BI(t){return{name:"ERB",subLanguage:"xml",contains:[t.COMMENT("<%#","%>"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}function UI(t){const e="[a-z'][a-zA-Z0-9_']*",n="("+e+":"+e+"|"+e+")",r={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor",literal:"false true"},i=t.COMMENT("%","$"),o={className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},a={begin:"fun\\s+"+e+"/\\d+"},s={begin:n+"\\(",end:"\\)",returnBegin:!0,relevance:0,contains:[{begin:n,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:!0,returnEnd:!0,relevance:0}]},l={begin:/\{/,end:/\}/,relevance:0},c={begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0},u={begin:"[A-Z][a-zA-Z0-9_]*",relevance:0},d={begin:"#"+t.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:!0,contains:[{begin:"#"+t.UNDERSCORE_IDENT_RE,relevance:0},{begin:/\{/,end:/\}/,relevance:0}]},p={beginKeywords:"fun receive if try case",end:"end",keywords:r};p.contains=[i,a,t.inherit(t.APOS_STRING_MODE,{className:""}),p,s,t.QUOTE_STRING_MODE,o,l,c,u,d];const _=[i,a,p,s,t.QUOTE_STRING_MODE,o,l,c,u,d];s.contains[1].contains=_,l.contains=_,d.contains[1].contains=_;const m=["-module","-record","-undef","-export","-ifdef","-ifndef","-author","-copyright","-doc","-vsn","-import","-include","-include_lib","-compile","-define","-else","-endif","-file","-behaviour","-behavior","-spec"],f={className:"params",begin:"\\(",end:"\\)",contains:_};return{name:"Erlang",aliases:["erl"],keywords:r,illegal:"(",returnBegin:!0,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[f,t.inherit(t.TITLE_MODE,{begin:e})],starts:{end:";|\\.",keywords:r,contains:_}},i,{begin:"^-",end:"\\.",relevance:0,excludeEnd:!0,returnBegin:!0,keywords:{$pattern:"-"+t.IDENT_RE,keyword:m.map(g=>`${g}|1.5`).join(" ")},contains:[f]},o,t.QUOTE_STRING_MODE,d,c,u,l,{begin:/\.$/}]}}function HI(t){const e=t.regex;return{name:"Erlang REPL",keywords:{built_in:"spawn spawn_link self",keyword:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},contains:[{className:"meta.prompt",begin:"^[0-9]+> ",relevance:10},t.COMMENT("%","$"),{className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{begin:e.concat(/\?(::)?/,/([A-Z]\w*)/,/((::)[A-Z]\w*)*/)},{begin:"->"},{begin:"ok"},{begin:"!"},{begin:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",relevance:0},{begin:"[A-Z][a-zA-Z0-9_']*",relevance:0}]}}function GI(t){return{name:"Excel formulae",aliases:["xlsx","xls"],case_insensitive:!0,keywords:{$pattern:/[a-zA-Z][\w\.]*/,built_in:["ABS","ACCRINT","ACCRINTM","ACOS","ACOSH","ACOT","ACOTH","AGGREGATE","ADDRESS","AMORDEGRC","AMORLINC","AND","ARABIC","AREAS","ASC","ASIN","ASINH","ATAN","ATAN2","ATANH","AVEDEV","AVERAGE","AVERAGEA","AVERAGEIF","AVERAGEIFS","BAHTTEXT","BASE","BESSELI","BESSELJ","BESSELK","BESSELY","BETADIST","BETA.DIST","BETAINV","BETA.INV","BIN2DEC","BIN2HEX","BIN2OCT","BINOMDIST","BINOM.DIST","BINOM.DIST.RANGE","BINOM.INV","BITAND","BITLSHIFT","BITOR","BITRSHIFT","BITXOR","CALL","CEILING","CEILING.MATH","CEILING.PRECISE","CELL","CHAR","CHIDIST","CHIINV","CHITEST","CHISQ.DIST","CHISQ.DIST.RT","CHISQ.INV","CHISQ.INV.RT","CHISQ.TEST","CHOOSE","CLEAN","CODE","COLUMN","COLUMNS","COMBIN","COMBINA","COMPLEX","CONCAT","CONCATENATE","CONFIDENCE","CONFIDENCE.NORM","CONFIDENCE.T","CONVERT","CORREL","COS","COSH","COT","COTH","COUNT","COUNTA","COUNTBLANK","COUNTIF","COUNTIFS","COUPDAYBS","COUPDAYS","COUPDAYSNC","COUPNCD","COUPNUM","COUPPCD","COVAR","COVARIANCE.P","COVARIANCE.S","CRITBINOM","CSC","CSCH","CUBEKPIMEMBER","CUBEMEMBER","CUBEMEMBERPROPERTY","CUBERANKEDMEMBER","CUBESET","CUBESETCOUNT","CUBEVALUE","CUMIPMT","CUMPRINC","DATE","DATEDIF","DATEVALUE","DAVERAGE","DAY","DAYS","DAYS360","DB","DBCS","DCOUNT","DCOUNTA","DDB","DEC2BIN","DEC2HEX","DEC2OCT","DECIMAL","DEGREES","DELTA","DEVSQ","DGET","DISC","DMAX","DMIN","DOLLAR","DOLLARDE","DOLLARFR","DPRODUCT","DSTDEV","DSTDEVP","DSUM","DURATION","DVAR","DVARP","EDATE","EFFECT","ENCODEURL","EOMONTH","ERF","ERF.PRECISE","ERFC","ERFC.PRECISE","ERROR.TYPE","EUROCONVERT","EVEN","EXACT","EXP","EXPON.DIST","EXPONDIST","FACT","FACTDOUBLE","FALSE|0","F.DIST","FDIST","F.DIST.RT","FILTERXML","FIND","FINDB","F.INV","F.INV.RT","FINV","FISHER","FISHERINV","FIXED","FLOOR","FLOOR.MATH","FLOOR.PRECISE","FORECAST","FORECAST.ETS","FORECAST.ETS.CONFINT","FORECAST.ETS.SEASONALITY","FORECAST.ETS.STAT","FORECAST.LINEAR","FORMULATEXT","FREQUENCY","F.TEST","FTEST","FV","FVSCHEDULE","GAMMA","GAMMA.DIST","GAMMADIST","GAMMA.INV","GAMMAINV","GAMMALN","GAMMALN.PRECISE","GAUSS","GCD","GEOMEAN","GESTEP","GETPIVOTDATA","GROWTH","HARMEAN","HEX2BIN","HEX2DEC","HEX2OCT","HLOOKUP","HOUR","HYPERLINK","HYPGEOM.DIST","HYPGEOMDIST","IF","IFERROR","IFNA","IFS","IMABS","IMAGINARY","IMARGUMENT","IMCONJUGATE","IMCOS","IMCOSH","IMCOT","IMCSC","IMCSCH","IMDIV","IMEXP","IMLN","IMLOG10","IMLOG2","IMPOWER","IMPRODUCT","IMREAL","IMSEC","IMSECH","IMSIN","IMSINH","IMSQRT","IMSUB","IMSUM","IMTAN","INDEX","INDIRECT","INFO","INT","INTERCEPT","INTRATE","IPMT","IRR","ISBLANK","ISERR","ISERROR","ISEVEN","ISFORMULA","ISLOGICAL","ISNA","ISNONTEXT","ISNUMBER","ISODD","ISREF","ISTEXT","ISO.CEILING","ISOWEEKNUM","ISPMT","JIS","KURT","LARGE","LCM","LEFT","LEFTB","LEN","LENB","LINEST","LN","LOG","LOG10","LOGEST","LOGINV","LOGNORM.DIST","LOGNORMDIST","LOGNORM.INV","LOOKUP","LOWER","MATCH","MAX","MAXA","MAXIFS","MDETERM","MDURATION","MEDIAN","MID","MIDBs","MIN","MINIFS","MINA","MINUTE","MINVERSE","MIRR","MMULT","MOD","MODE","MODE.MULT","MODE.SNGL","MONTH","MROUND","MULTINOMIAL","MUNIT","N","NA","NEGBINOM.DIST","NEGBINOMDIST","NETWORKDAYS","NETWORKDAYS.INTL","NOMINAL","NORM.DIST","NORMDIST","NORMINV","NORM.INV","NORM.S.DIST","NORMSDIST","NORM.S.INV","NORMSINV","NOT","NOW","NPER","NPV","NUMBERVALUE","OCT2BIN","OCT2DEC","OCT2HEX","ODD","ODDFPRICE","ODDFYIELD","ODDLPRICE","ODDLYIELD","OFFSET","OR","PDURATION","PEARSON","PERCENTILE.EXC","PERCENTILE.INC","PERCENTILE","PERCENTRANK.EXC","PERCENTRANK.INC","PERCENTRANK","PERMUT","PERMUTATIONA","PHI","PHONETIC","PI","PMT","POISSON.DIST","POISSON","POWER","PPMT","PRICE","PRICEDISC","PRICEMAT","PROB","PRODUCT","PROPER","PV","QUARTILE","QUARTILE.EXC","QUARTILE.INC","QUOTIENT","RADIANS","RAND","RANDBETWEEN","RANK.AVG","RANK.EQ","RANK","RATE","RECEIVED","REGISTER.ID","REPLACE","REPLACEB","REPT","RIGHT","RIGHTB","ROMAN","ROUND","ROUNDDOWN","ROUNDUP","ROW","ROWS","RRI","RSQ","RTD","SEARCH","SEARCHB","SEC","SECH","SECOND","SERIESSUM","SHEET","SHEETS","SIGN","SIN","SINH","SKEW","SKEW.P","SLN","SLOPE","SMALL","SQL.REQUEST","SQRT","SQRTPI","STANDARDIZE","STDEV","STDEV.P","STDEV.S","STDEVA","STDEVP","STDEVPA","STEYX","SUBSTITUTE","SUBTOTAL","SUM","SUMIF","SUMIFS","SUMPRODUCT","SUMSQ","SUMX2MY2","SUMX2PY2","SUMXMY2","SWITCH","SYD","T","TAN","TANH","TBILLEQ","TBILLPRICE","TBILLYIELD","T.DIST","T.DIST.2T","T.DIST.RT","TDIST","TEXT","TEXTJOIN","TIME","TIMEVALUE","T.INV","T.INV.2T","TINV","TODAY","TRANSPOSE","TREND","TRIM","TRIMMEAN","TRUE|0","TRUNC","T.TEST","TTEST","TYPE","UNICHAR","UNICODE","UPPER","VALUE","VAR","VAR.P","VAR.S","VARA","VARP","VARPA","VDB","VLOOKUP","WEBSERVICE","WEEKDAY","WEEKNUM","WEIBULL","WEIBULL.DIST","WORKDAY","WORKDAY.INTL","XIRR","XNPV","XOR","YEAR","YEARFRAC","YIELD","YIELDDISC","YIELDMAT","Z.TEST","ZTEST"]},contains:[{begin:/^=/,end:/[^=]/,returnEnd:!0,illegal:/=/,relevance:10},{className:"symbol",begin:/\b[A-Z]{1,2}\d+\b/,end:/[^\d]/,excludeEnd:!0,relevance:0},{className:"symbol",begin:/[A-Z]{0,2}\d*:[A-Z]{0,2}\d*/,relevance:0},t.BACKSLASH_ESCAPE,t.QUOTE_STRING_MODE,{className:"number",begin:t.NUMBER_RE+"(%)?",relevance:0},t.COMMENT(/\bN\(/,/\)/,{excludeBegin:!0,excludeEnd:!0,illegal:/\n/})]}}function VI(t){return{name:"FIX",contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:!0,returnBegin:!0,returnEnd:!1,contains:[{begin:/([^\u2401\u0001=]+)/,end:/=([^\u2401\u0001=]+)/,returnEnd:!0,returnBegin:!1,className:"attr"},{begin:/=/,end:/([\u2401\u0001])/,excludeEnd:!0,excludeBegin:!0,className:"string"}]}],case_insensitive:!0}}function YI(t){const e={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},n={className:"string",variants:[{begin:'"',end:'"'}]},i={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[{className:"title",relevance:0,begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/}]};return{name:"Flix",keywords:{keyword:["case","class","def","else","enum","if","impl","import","in","lat","rel","index","let","match","namespace","switch","type","yield","with"],literal:["true","false"]},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,e,n,i,t.C_NUMBER_MODE]}}function zI(t){const e=t.regex,n={className:"params",begin:"\\(",end:"\\)"},r={variants:[t.COMMENT("!","$",{relevance:0}),t.COMMENT("^C[ ]","$",{relevance:0}),t.COMMENT("^C$","$",{relevance:0})]},i=/(_[a-z_\d]+)?/,o=/([de][+-]?\d+)?/,a={className:"number",variants:[{begin:e.concat(/\b\d+/,/\.(\d*)/,o,i)},{begin:e.concat(/\b\d+/,o,i)},{begin:e.concat(/\.\d+/,o,i)}],relevance:0},s={className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[t.UNDERSCORE_TITLE_MODE,n]},l={className:"string",relevance:0,variants:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]};return{name:"Fortran",case_insensitive:!0,aliases:["f90","f95"],keywords:{keyword:["kind","do","concurrent","local","shared","while","private","call","intrinsic","where","elsewhere","type","endtype","endmodule","endselect","endinterface","end","enddo","endif","if","forall","endforall","only","contains","default","return","stop","then","block","endblock","endassociate","public","subroutine|10","function","program",".and.",".or.",".not.",".le.",".eq.",".ge.",".gt.",".lt.","goto","save","else","use","module","select","case","access","blank","direct","exist","file","fmt","form","formatted","iostat","name","named","nextrec","number","opened","rec","recl","sequential","status","unformatted","unit","continue","format","pause","cycle","exit","c_null_char","c_alert","c_backspace","c_form_feed","flush","wait","decimal","round","iomsg","synchronous","nopass","non_overridable","pass","protected","volatile","abstract","extends","import","non_intrinsic","value","deferred","generic","final","enumerator","class","associate","bind","enum","c_int","c_short","c_long","c_long_long","c_signed_char","c_size_t","c_int8_t","c_int16_t","c_int32_t","c_int64_t","c_int_least8_t","c_int_least16_t","c_int_least32_t","c_int_least64_t","c_int_fast8_t","c_int_fast16_t","c_int_fast32_t","c_int_fast64_t","c_intmax_t","C_intptr_t","c_float","c_double","c_long_double","c_float_complex","c_double_complex","c_long_double_complex","c_bool","c_char","c_null_ptr","c_null_funptr","c_new_line","c_carriage_return","c_horizontal_tab","c_vertical_tab","iso_c_binding","c_loc","c_funloc","c_associated","c_f_pointer","c_ptr","c_funptr","iso_fortran_env","character_storage_size","error_unit","file_storage_size","input_unit","iostat_end","iostat_eor","numeric_storage_size","output_unit","c_f_procpointer","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","newunit","contiguous","recursive","pad","position","action","delim","readwrite","eor","advance","nml","interface","procedure","namelist","include","sequence","elemental","pure","impure","integer","real","character","complex","logical","codimension","dimension","allocatable|10","parameter","external","implicit|10","none","double","precision","assign","intent","optional","pointer","target","in","out","common","equivalence","data"],literal:[".False.",".True."],built_in:["alog","alog10","amax0","amax1","amin0","amin1","amod","cabs","ccos","cexp","clog","csin","csqrt","dabs","dacos","dasin","datan","datan2","dcos","dcosh","ddim","dexp","dint","dlog","dlog10","dmax1","dmin1","dmod","dnint","dsign","dsin","dsinh","dsqrt","dtan","dtanh","float","iabs","idim","idint","idnint","ifix","isign","max0","max1","min0","min1","sngl","algama","cdabs","cdcos","cdexp","cdlog","cdsin","cdsqrt","cqabs","cqcos","cqexp","cqlog","cqsin","cqsqrt","dcmplx","dconjg","derf","derfc","dfloat","dgamma","dimag","dlgama","iqint","qabs","qacos","qasin","qatan","qatan2","qcmplx","qconjg","qcos","qcosh","qdim","qerf","qerfc","qexp","qgamma","qimag","qlgama","qlog","qlog10","qmax1","qmin1","qmod","qnint","qsign","qsin","qsinh","qsqrt","qtan","qtanh","abs","acos","aimag","aint","anint","asin","atan","atan2","char","cmplx","conjg","cos","cosh","exp","ichar","index","int","log","log10","max","min","nint","sign","sin","sinh","sqrt","tan","tanh","print","write","dim","lge","lgt","lle","llt","mod","nullify","allocate","deallocate","adjustl","adjustr","all","allocated","any","associated","bit_size","btest","ceiling","count","cshift","date_and_time","digits","dot_product","eoshift","epsilon","exponent","floor","fraction","huge","iand","ibclr","ibits","ibset","ieor","ior","ishft","ishftc","lbound","len_trim","matmul","maxexponent","maxloc","maxval","merge","minexponent","minloc","minval","modulo","mvbits","nearest","pack","present","product","radix","random_number","random_seed","range","repeat","reshape","rrspacing","scale","scan","selected_int_kind","selected_real_kind","set_exponent","shape","size","spacing","spread","sum","system_clock","tiny","transpose","trim","ubound","unpack","verify","achar","iachar","transfer","dble","entry","dprod","cpu_time","command_argument_count","get_command","get_command_argument","get_environment_variable","is_iostat_end","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","is_iostat_eor","move_alloc","new_line","selected_char_kind","same_type_as","extends_type_of","acosh","asinh","atanh","bessel_j0","bessel_j1","bessel_jn","bessel_y0","bessel_y1","bessel_yn","erf","erfc","erfc_scaled","gamma","log_gamma","hypot","norm2","atomic_define","atomic_ref","execute_command_line","leadz","trailz","storage_size","merge_bits","bge","bgt","ble","blt","dshiftl","dshiftr","findloc","iall","iany","iparity","image_index","lcobound","ucobound","maskl","maskr","num_images","parity","popcnt","poppar","shifta","shiftl","shiftr","this_image","sync","change","team","co_broadcast","co_max","co_min","co_sum","co_reduce"]},illegal:/\/\*/,contains:[l,s,{begin:/^C\s*=(?!=)/,relevance:0},r,a]}}function $I(t){return new RegExp(t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function th(t){return t?typeof t=="string"?t:t.source:null}function Ri(t){return Bt("(?=",t,")")}function Bt(...t){return t.map(n=>th(n)).join("")}function qI(t){const e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function Xn(...t){return"("+(qI(t).capture?"":"?:")+t.map(r=>th(r)).join("|")+")"}function WI(t){const e=["abstract","and","as","assert","base","begin","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","extern","finally","fixed","for","fun","function","global","if","in","inherit","inline","interface","internal","lazy","let","match","member","module","mutable","namespace","new","of","open","or","override","private","public","rec","return","static","struct","then","to","try","type","upcast","use","val","void","when","while","with","yield"],n={scope:"keyword",match:/\b(yield|return|let|do|match|use)!/},r=["if","else","endif","line","nowarn","light","r","i","I","load","time","help","quit"],i=["true","false","null","Some","None","Ok","Error","infinity","infinityf","nan","nanf"],o=["__LINE__","__SOURCE_DIRECTORY__","__SOURCE_FILE__"],a=["bool","byte","sbyte","int8","int16","int32","uint8","uint16","uint32","int","uint","int64","uint64","nativeint","unativeint","decimal","float","double","float32","single","char","string","unit","bigint","option","voption","list","array","seq","byref","exn","inref","nativeptr","obj","outref","voidptr","Result"],l={keyword:e,literal:i,built_in:["not","ref","raise","reraise","dict","readOnlyDict","set","get","enum","sizeof","typeof","typedefof","nameof","nullArg","invalidArg","invalidOp","id","fst","snd","ignore","lock","using","box","unbox","tryUnbox","printf","printfn","sprintf","eprintf","eprintfn","fprintf","fprintfn","failwith","failwithf"],"variable.constant":o},u={variants:[t.COMMENT(/\(\*(?!\))/,/\*\)/,{contains:["self"]}),t.C_LINE_COMMENT_MODE]},d=/[a-zA-Z_](\w|')*/,p={scope:"variable",begin:/``/,end:/``/},_=/\B('|\^)/,m={scope:"symbol",variants:[{match:Bt(_,/``.*?``/)},{match:Bt(_,t.UNDERSCORE_IDENT_RE)}],relevance:0},f=function({includeEqual:v}){let A;v?A="!%&*+-/<=>@^|~?":A="!%&*+-/<>@^|~?";const k=Array.from(A),G=Bt("[",...k.map($I),"]"),z=Xn(G,/\./),ae=Bt(z,Ri(z)),Ce=Xn(Bt(ae,z,"*"),Bt(G,"+"));return{scope:"operator",match:Xn(Ce,/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},g=f({includeEqual:!0}),E=f({includeEqual:!1}),S=function(v,A){return{begin:Bt(v,Ri(Bt(/\s*/,Xn(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:A,end:Ri(Xn(/\n/,/=/)),relevance:0,keywords:t.inherit(l,{type:a}),contains:[u,m,t.inherit(p,{scope:null}),E]}},b=S(/:/,"operator"),h=S(/\bof\b/,"keyword"),C={begin:[/(^|\s+)/,/type/,/\s+/,d],beginScope:{2:"keyword",4:"title.class"},end:Ri(/\(|=|$/),keywords:l,contains:[u,t.inherit(p,{scope:null}),m,{scope:"operator",match:/<|>/},b]},T={scope:"computation-expression",match:/\b[_a-z]\w*(?=\s*\{)/},R={begin:[/^\s*/,Bt(/#/,Xn(...r)),/\b/],beginScope:{2:"meta"},end:Ri(/\s|$/)},x={variants:[t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE]},O={scope:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE]},M={scope:"string",begin:/@"/,end:/"/,contains:[{match:/""/},t.BACKSLASH_ESCAPE]},B={scope:"string",begin:/"""/,end:/"""/,relevance:2},Y={scope:"subst",begin:/\{/,end:/\}/,keywords:l},$={scope:"string",begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},t.BACKSLASH_ESCAPE,Y]},q={scope:"string",begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},t.BACKSLASH_ESCAPE,Y]},V={scope:"string",begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},Y],relevance:2},J={scope:"string",match:Bt(/'/,Xn(/[^\\']/,/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/),/'/)};return Y.contains=[q,$,M,O,J,n,u,p,b,T,R,x,m,g],{name:"F#",aliases:["fs","f#"],keywords:l,illegal:/\/\*/,classNameAliases:{"computation-expression":"keyword"},contains:[n,{variants:[V,q,$,B,M,O,J]},u,p,C,{scope:"meta",begin:/\[\]/,relevance:2,contains:[p,B,M,O,J,x]},h,b,T,R,x,m,g]}}function KI(t){const e=t.regex,n={keyword:"abort acronym acronyms alias all and assign binary card diag display else eq file files for free ge gt if integer le loop lt maximizing minimizing model models ne negative no not option options or ord positive prod put putpage puttl repeat sameas semicont semiint smax smin solve sos1 sos2 sum system table then until using while xor yes",literal:"eps inf na",built_in:"abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power randBinomial randLinear randTriangle round rPower sigmoid sign signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion handleCollect handleDelete handleStatus handleSubmit heapFree heapLimit heapSize jobHandle jobKill jobStatus jobTerminate licenseLevel licenseStatus maxExecError sleep timeClose timeComp timeElapsed timeExec timeStart"},r={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},i={className:"symbol",variants:[{begin:/=[lgenxc]=/},{begin:/\$/}]},o={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},a={begin:"/",end:"/",keywords:n,contains:[o,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,t.C_NUMBER_MODE]},s=/[a-z0-9&#*=?@\\><:,()$[\]_.{}!+%^-]+/,l={begin:/[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,excludeBegin:!0,end:"$",endsWithParent:!0,contains:[o,a,{className:"comment",begin:e.concat(s,e.anyNumberOfTimes(e.concat(/[ ]+/,s))),relevance:0}]};return{name:"GAMS",aliases:["gms"],case_insensitive:!0,keywords:n,contains:[t.COMMENT(/^\$ontext/,/^\$offtext/),{className:"meta",begin:"^\\$[a-z0-9]+",end:"$",returnBegin:!0,contains:[{className:"keyword",begin:"^\\$[a-z0-9]+"}]},t.COMMENT("^\\*","$"),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,{beginKeywords:"set sets parameter parameters variable variables scalar scalars equation equations",end:";",contains:[t.COMMENT("^\\*","$"),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,a,l]},{beginKeywords:"table",end:";",returnBegin:!0,contains:[{beginKeywords:"table",end:"$",contains:[l]},t.COMMENT("^\\*","$"),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,t.C_NUMBER_MODE]},{className:"function",begin:/^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,returnBegin:!0,contains:[{className:"title",begin:/^[a-z0-9_]+/},r,i]},t.C_NUMBER_MODE,i]}}function QI(t){const e={keyword:"bool break call callexe checkinterrupt clear clearg closeall cls comlog compile continue create debug declare delete disable dlibrary dllcall do dos ed edit else elseif enable end endfor endif endp endo errorlog errorlogat expr external fn for format goto gosub graph if keyword let lib library line load loadarray loadexe loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow matrix msym ndpclex new open output outwidth plot plotsym pop prcsn print printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen scroll setarray show sparse stop string struct system trace trap threadfor threadendfor threadbegin threadjoin threadstat threadend until use while winprint ne ge le gt lt and xor or not eq eqv",built_in:"abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin sylvester strtrim",literal:"DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES DB_TRANSACTIONS DB_UNICODE DB_VIEWS __STDIN __STDOUT __STDERR __FILE_DIR"},n=t.COMMENT("@","@"),r={className:"meta",begin:"#",end:"$",keywords:{keyword:"define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{keyword:"include"},contains:[{className:"string",begin:'"',end:'"',illegal:"\\n"}]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,n]},i={begin:/\bstruct\s+/,end:/\s/,keywords:"struct",contains:[{className:"type",begin:t.UNDERSCORE_IDENT_RE,relevance:0}]},o=[{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,endsWithParent:!0,relevance:0,contains:[{className:"literal",begin:/\.\.\./},t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,n,i]}],a={className:"title",begin:t.UNDERSCORE_IDENT_RE,relevance:0},s=function(p,_,m){const f=t.inherit({className:"function",beginKeywords:p,end:_,excludeEnd:!0,contains:[].concat(o)},{});return f.contains.push(a),f.contains.push(t.C_NUMBER_MODE),f.contains.push(t.C_BLOCK_COMMENT_MODE),f.contains.push(n),f},l={className:"built_in",begin:"\\b("+e.built_in.split(" ").join("|")+")\\b"},c={className:"string",begin:'"',end:'"',contains:[t.BACKSLASH_ESCAPE],relevance:0},u={begin:t.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,keywords:e,relevance:0,contains:[{beginKeywords:e.keyword},l,{className:"built_in",begin:t.UNDERSCORE_IDENT_RE,relevance:0}]},d={begin:/\(/,end:/\)/,relevance:0,keywords:{built_in:e.built_in,literal:e.literal},contains:[t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,n,l,u,c,"self"]};return u.contains.push(d),{name:"GAUSS",aliases:["gss"],case_insensitive:!0,keywords:e,illegal:/(\{[%#]|[%#]\}| <- )/,contains:[t.C_NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,n,c,r,{className:"keyword",begin:/\bexternal (matrix|string|array|sparse matrix|struct|proc|keyword|fn)/},s("proc keyword",";"),s("fn","="),{beginKeywords:"for threadfor",end:/;/,relevance:0,contains:[t.C_BLOCK_COMMENT_MODE,n,d]},{variants:[{begin:t.UNDERSCORE_IDENT_RE+"\\."+t.UNDERSCORE_IDENT_RE},{begin:t.UNDERSCORE_IDENT_RE+"\\s*="}],relevance:0},u,i]}}function ZI(t){const e="[A-Z_][A-Z0-9_.]*",n="%",r={$pattern:e,keyword:"IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT EQ LT GT NE GE LE OR XOR"},i={className:"meta",begin:"([O])([0-9]+)"},o=t.inherit(t.C_NUMBER_MODE,{begin:"([-+]?((\\.\\d+)|(\\d+)(\\.\\d*)?))|"+t.C_NUMBER_RE}),a=[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.COMMENT(/\(/,/\)/),o,t.inherit(t.APOS_STRING_MODE,{illegal:null}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{className:"name",begin:"([G])([0-9]+\\.?[0-9]?)"},{className:"name",begin:"([M])([0-9]+\\.?[0-9]?)"},{className:"attr",begin:"(VC|VS|#)",end:"(\\d+)"},{className:"attr",begin:"(VZOFX|VZOFY|VZOFZ)"},{className:"built_in",begin:"(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN)(\\[)",contains:[o],end:"\\]"},{className:"symbol",variants:[{begin:"N",end:"\\d+",illegal:"\\W"}]}];return{name:"G-code (ISO 6983)",aliases:["nc"],case_insensitive:!0,keywords:r,contains:[{className:"meta",begin:n},i].concat(a)}}function XI(t){return{name:"Gherkin",aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},t.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},t.QUOTE_STRING_MODE]}}function jI(t){return{name:"GLSL",keywords:{keyword:"break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly",type:"atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",built_in:"gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow",literal:"true false"},illegal:'"',contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"}]}}function JI(t){return{name:"GML",case_insensitive:!1,keywords:{keyword:["#endregion","#macro","#region","and","begin","break","case","constructor","continue","default","delete","div","do","else","end","enum","exit","for","function","globalvar","if","mod","not","or","repeat","return","switch","then","until","var","while","with","xor"],built_in:["abs","achievement_available","achievement_event","achievement_get_challenges","achievement_get_info","achievement_get_pic","achievement_increment","achievement_load_friends","achievement_load_leaderboard","achievement_load_progress","achievement_login","achievement_login_status","achievement_logout","achievement_post","achievement_post_score","achievement_reset","achievement_send_challenge","achievement_show","achievement_show_achievements","achievement_show_challenge_notifications","achievement_show_leaderboards","action_inherited","action_kill_object","ads_disable","ads_enable","ads_engagement_active","ads_engagement_available","ads_engagement_launch","ads_event","ads_event_preload","ads_get_display_height","ads_get_display_width","ads_interstitial_available","ads_interstitial_display","ads_move","ads_set_reward_callback","ads_setup","alarm_get","alarm_set","analytics_event","analytics_event_ext","angle_difference","ansi_char","application_get_position","application_surface_draw_enable","application_surface_enable","application_surface_is_enabled","arccos","arcsin","arctan","arctan2","array_copy","array_create","array_delete","array_equals","array_height_2d","array_insert","array_length","array_length_1d","array_length_2d","array_pop","array_push","array_resize","array_sort","asset_get_index","asset_get_type","audio_channel_num","audio_create_buffer_sound","audio_create_play_queue","audio_create_stream","audio_create_sync_group","audio_debug","audio_destroy_stream","audio_destroy_sync_group","audio_emitter_create","audio_emitter_exists","audio_emitter_falloff","audio_emitter_free","audio_emitter_gain","audio_emitter_get_gain","audio_emitter_get_listener_mask","audio_emitter_get_pitch","audio_emitter_get_vx","audio_emitter_get_vy","audio_emitter_get_vz","audio_emitter_get_x","audio_emitter_get_y","audio_emitter_get_z","audio_emitter_pitch","audio_emitter_position","audio_emitter_set_listener_mask","audio_emitter_velocity","audio_exists","audio_falloff_set_model","audio_free_buffer_sound","audio_free_play_queue","audio_get_listener_count","audio_get_listener_info","audio_get_listener_mask","audio_get_master_gain","audio_get_name","audio_get_recorder_count","audio_get_recorder_info","audio_get_type","audio_group_is_loaded","audio_group_load","audio_group_load_progress","audio_group_name","audio_group_set_gain","audio_group_stop_all","audio_group_unload","audio_is_paused","audio_is_playing","audio_listener_get_data","audio_listener_orientation","audio_listener_position","audio_listener_set_orientation","audio_listener_set_position","audio_listener_set_velocity","audio_listener_velocity","audio_master_gain","audio_music_gain","audio_music_is_playing","audio_pause_all","audio_pause_music","audio_pause_sound","audio_pause_sync_group","audio_play_in_sync_group","audio_play_music","audio_play_sound","audio_play_sound_at","audio_play_sound_on","audio_queue_sound","audio_resume_all","audio_resume_music","audio_resume_sound","audio_resume_sync_group","audio_set_listener_mask","audio_set_master_gain","audio_sound_gain","audio_sound_get_gain","audio_sound_get_listener_mask","audio_sound_get_pitch","audio_sound_get_track_position","audio_sound_length","audio_sound_pitch","audio_sound_set_listener_mask","audio_sound_set_track_position","audio_start_recording","audio_start_sync_group","audio_stop_all","audio_stop_music","audio_stop_recording","audio_stop_sound","audio_stop_sync_group","audio_sync_group_debug","audio_sync_group_get_track_pos","audio_sync_group_is_playing","audio_system","background_get_height","background_get_width","base64_decode","base64_encode","browser_input_capture","buffer_async_group_begin","buffer_async_group_end","buffer_async_group_option","buffer_base64_decode","buffer_base64_decode_ext","buffer_base64_encode","buffer_copy","buffer_copy_from_vertex_buffer","buffer_create","buffer_create_from_vertex_buffer","buffer_create_from_vertex_buffer_ext","buffer_delete","buffer_exists","buffer_fill","buffer_get_address","buffer_get_alignment","buffer_get_size","buffer_get_surface","buffer_get_type","buffer_load","buffer_load_async","buffer_load_ext","buffer_load_partial","buffer_md5","buffer_peek","buffer_poke","buffer_read","buffer_resize","buffer_save","buffer_save_async","buffer_save_ext","buffer_seek","buffer_set_surface","buffer_sha1","buffer_sizeof","buffer_tell","buffer_write","camera_apply","camera_create","camera_create_view","camera_destroy","camera_get_active","camera_get_begin_script","camera_get_default","camera_get_end_script","camera_get_proj_mat","camera_get_update_script","camera_get_view_angle","camera_get_view_border_x","camera_get_view_border_y","camera_get_view_height","camera_get_view_mat","camera_get_view_speed_x","camera_get_view_speed_y","camera_get_view_target","camera_get_view_width","camera_get_view_x","camera_get_view_y","camera_set_begin_script","camera_set_default","camera_set_end_script","camera_set_proj_mat","camera_set_update_script","camera_set_view_angle","camera_set_view_border","camera_set_view_mat","camera_set_view_pos","camera_set_view_size","camera_set_view_speed","camera_set_view_target","ceil","choose","chr","clamp","clickable_add","clickable_add_ext","clickable_change","clickable_change_ext","clickable_delete","clickable_exists","clickable_set_style","clipboard_get_text","clipboard_has_text","clipboard_set_text","cloud_file_save","cloud_string_save","cloud_synchronise","code_is_compiled","collision_circle","collision_circle_list","collision_ellipse","collision_ellipse_list","collision_line","collision_line_list","collision_point","collision_point_list","collision_rectangle","collision_rectangle_list","color_get_blue","color_get_green","color_get_hue","color_get_red","color_get_saturation","color_get_value","colour_get_blue","colour_get_green","colour_get_hue","colour_get_red","colour_get_saturation","colour_get_value","cos","darccos","darcsin","darctan","darctan2","date_compare_date","date_compare_datetime","date_compare_time","date_create_datetime","date_current_datetime","date_date_of","date_date_string","date_datetime_string","date_day_span","date_days_in_month","date_days_in_year","date_get_day","date_get_day_of_year","date_get_hour","date_get_hour_of_year","date_get_minute","date_get_minute_of_year","date_get_month","date_get_second","date_get_second_of_year","date_get_timezone","date_get_week","date_get_weekday","date_get_year","date_hour_span","date_inc_day","date_inc_hour","date_inc_minute","date_inc_month","date_inc_second","date_inc_week","date_inc_year","date_is_today","date_leap_year","date_minute_span","date_month_span","date_second_span","date_set_timezone","date_time_of","date_time_string","date_valid_datetime","date_week_span","date_year_span","dcos","debug_event","debug_get_callstack","degtorad","device_get_tilt_x","device_get_tilt_y","device_get_tilt_z","device_is_keypad_open","device_mouse_check_button","device_mouse_check_button_pressed","device_mouse_check_button_released","device_mouse_dbclick_enable","device_mouse_raw_x","device_mouse_raw_y","device_mouse_x","device_mouse_x_to_gui","device_mouse_y","device_mouse_y_to_gui","directory_create","directory_destroy","directory_exists","display_get_dpi_x","display_get_dpi_y","display_get_gui_height","display_get_gui_width","display_get_height","display_get_orientation","display_get_sleep_margin","display_get_timing_method","display_get_width","display_mouse_get_x","display_mouse_get_y","display_mouse_set","display_reset","display_set_gui_maximise","display_set_gui_maximize","display_set_gui_size","display_set_sleep_margin","display_set_timing_method","display_set_ui_visibility","distance_to_object","distance_to_point","dot_product","dot_product_3d","dot_product_3d_normalised","dot_product_3d_normalized","dot_product_normalised","dot_product_normalized","draw_arrow","draw_background","draw_background_ext","draw_background_part_ext","draw_background_tiled","draw_button","draw_circle","draw_circle_color","draw_circle_colour","draw_clear","draw_clear_alpha","draw_ellipse","draw_ellipse_color","draw_ellipse_colour","draw_enable_alphablend","draw_enable_drawevent","draw_enable_swf_aa","draw_flush","draw_get_alpha","draw_get_color","draw_get_colour","draw_get_lighting","draw_get_swf_aa_level","draw_getpixel","draw_getpixel_ext","draw_healthbar","draw_highscore","draw_light_define_ambient","draw_light_define_direction","draw_light_define_point","draw_light_enable","draw_light_get","draw_light_get_ambient","draw_line","draw_line_color","draw_line_colour","draw_line_width","draw_line_width_color","draw_line_width_colour","draw_path","draw_point","draw_point_color","draw_point_colour","draw_primitive_begin","draw_primitive_begin_texture","draw_primitive_end","draw_rectangle","draw_rectangle_color","draw_rectangle_colour","draw_roundrect","draw_roundrect_color","draw_roundrect_color_ext","draw_roundrect_colour","draw_roundrect_colour_ext","draw_roundrect_ext","draw_self","draw_set_alpha","draw_set_alpha_test","draw_set_alpha_test_ref_value","draw_set_blend_mode","draw_set_blend_mode_ext","draw_set_circle_precision","draw_set_color","draw_set_color_write_enable","draw_set_colour","draw_set_font","draw_set_halign","draw_set_lighting","draw_set_swf_aa_level","draw_set_valign","draw_skeleton","draw_skeleton_collision","draw_skeleton_instance","draw_skeleton_time","draw_sprite","draw_sprite_ext","draw_sprite_general","draw_sprite_part","draw_sprite_part_ext","draw_sprite_pos","draw_sprite_stretched","draw_sprite_stretched_ext","draw_sprite_tiled","draw_sprite_tiled_ext","draw_surface","draw_surface_ext","draw_surface_general","draw_surface_part","draw_surface_part_ext","draw_surface_stretched","draw_surface_stretched_ext","draw_surface_tiled","draw_surface_tiled_ext","draw_text","draw_text_color","draw_text_colour","draw_text_ext","draw_text_ext_color","draw_text_ext_colour","draw_text_ext_transformed","draw_text_ext_transformed_color","draw_text_ext_transformed_colour","draw_text_transformed","draw_text_transformed_color","draw_text_transformed_colour","draw_texture_flush","draw_tile","draw_tilemap","draw_triangle","draw_triangle_color","draw_triangle_colour","draw_vertex","draw_vertex_color","draw_vertex_colour","draw_vertex_texture","draw_vertex_texture_color","draw_vertex_texture_colour","ds_exists","ds_grid_add","ds_grid_add_disk","ds_grid_add_grid_region","ds_grid_add_region","ds_grid_clear","ds_grid_copy","ds_grid_create","ds_grid_destroy","ds_grid_get","ds_grid_get_disk_max","ds_grid_get_disk_mean","ds_grid_get_disk_min","ds_grid_get_disk_sum","ds_grid_get_max","ds_grid_get_mean","ds_grid_get_min","ds_grid_get_sum","ds_grid_height","ds_grid_multiply","ds_grid_multiply_disk","ds_grid_multiply_grid_region","ds_grid_multiply_region","ds_grid_read","ds_grid_resize","ds_grid_set","ds_grid_set_disk","ds_grid_set_grid_region","ds_grid_set_region","ds_grid_shuffle","ds_grid_sort","ds_grid_value_disk_exists","ds_grid_value_disk_x","ds_grid_value_disk_y","ds_grid_value_exists","ds_grid_value_x","ds_grid_value_y","ds_grid_width","ds_grid_write","ds_list_add","ds_list_clear","ds_list_copy","ds_list_create","ds_list_delete","ds_list_destroy","ds_list_empty","ds_list_find_index","ds_list_find_value","ds_list_insert","ds_list_mark_as_list","ds_list_mark_as_map","ds_list_read","ds_list_replace","ds_list_set","ds_list_shuffle","ds_list_size","ds_list_sort","ds_list_write","ds_map_add","ds_map_add_list","ds_map_add_map","ds_map_clear","ds_map_copy","ds_map_create","ds_map_delete","ds_map_destroy","ds_map_empty","ds_map_exists","ds_map_find_first","ds_map_find_last","ds_map_find_next","ds_map_find_previous","ds_map_find_value","ds_map_read","ds_map_replace","ds_map_replace_list","ds_map_replace_map","ds_map_secure_load","ds_map_secure_load_buffer","ds_map_secure_save","ds_map_secure_save_buffer","ds_map_set","ds_map_size","ds_map_write","ds_priority_add","ds_priority_change_priority","ds_priority_clear","ds_priority_copy","ds_priority_create","ds_priority_delete_max","ds_priority_delete_min","ds_priority_delete_value","ds_priority_destroy","ds_priority_empty","ds_priority_find_max","ds_priority_find_min","ds_priority_find_priority","ds_priority_read","ds_priority_size","ds_priority_write","ds_queue_clear","ds_queue_copy","ds_queue_create","ds_queue_dequeue","ds_queue_destroy","ds_queue_empty","ds_queue_enqueue","ds_queue_head","ds_queue_read","ds_queue_size","ds_queue_tail","ds_queue_write","ds_set_precision","ds_stack_clear","ds_stack_copy","ds_stack_create","ds_stack_destroy","ds_stack_empty","ds_stack_pop","ds_stack_push","ds_stack_read","ds_stack_size","ds_stack_top","ds_stack_write","dsin","dtan","effect_clear","effect_create_above","effect_create_below","environment_get_variable","event_inherited","event_perform","event_perform_object","event_user","exp","external_call","external_define","external_free","facebook_accesstoken","facebook_check_permission","facebook_dialog","facebook_graph_request","facebook_init","facebook_launch_offerwall","facebook_login","facebook_logout","facebook_post_message","facebook_request_publish_permissions","facebook_request_read_permissions","facebook_send_invite","facebook_status","facebook_user_id","file_attributes","file_bin_close","file_bin_open","file_bin_position","file_bin_read_byte","file_bin_rewrite","file_bin_seek","file_bin_size","file_bin_write_byte","file_copy","file_delete","file_exists","file_find_close","file_find_first","file_find_next","file_rename","file_text_close","file_text_eof","file_text_eoln","file_text_open_append","file_text_open_from_string","file_text_open_read","file_text_open_write","file_text_read_real","file_text_read_string","file_text_readln","file_text_write_real","file_text_write_string","file_text_writeln","filename_change_ext","filename_dir","filename_drive","filename_ext","filename_name","filename_path","floor","font_add","font_add_enable_aa","font_add_get_enable_aa","font_add_sprite","font_add_sprite_ext","font_delete","font_exists","font_get_bold","font_get_first","font_get_fontname","font_get_italic","font_get_last","font_get_name","font_get_size","font_get_texture","font_get_uvs","font_replace","font_replace_sprite","font_replace_sprite_ext","font_set_cache_size","font_texture_page_size","frac","game_end","game_get_speed","game_load","game_load_buffer","game_restart","game_save","game_save_buffer","game_set_speed","gamepad_axis_count","gamepad_axis_value","gamepad_button_check","gamepad_button_check_pressed","gamepad_button_check_released","gamepad_button_count","gamepad_button_value","gamepad_get_axis_deadzone","gamepad_get_button_threshold","gamepad_get_description","gamepad_get_device_count","gamepad_is_connected","gamepad_is_supported","gamepad_set_axis_deadzone","gamepad_set_button_threshold","gamepad_set_color","gamepad_set_colour","gamepad_set_vibration","gesture_double_tap_distance","gesture_double_tap_time","gesture_drag_distance","gesture_drag_time","gesture_flick_speed","gesture_get_double_tap_distance","gesture_get_double_tap_time","gesture_get_drag_distance","gesture_get_drag_time","gesture_get_flick_speed","gesture_get_pinch_angle_away","gesture_get_pinch_angle_towards","gesture_get_pinch_distance","gesture_get_rotate_angle","gesture_get_rotate_time","gesture_get_tap_count","gesture_pinch_angle_away","gesture_pinch_angle_towards","gesture_pinch_distance","gesture_rotate_angle","gesture_rotate_time","gesture_tap_count","get_integer","get_integer_async","get_login_async","get_open_filename","get_open_filename_ext","get_save_filename","get_save_filename_ext","get_string","get_string_async","get_timer","gml_pragma","gml_release_mode","gpu_get_alphatestenable","gpu_get_alphatestfunc","gpu_get_alphatestref","gpu_get_blendenable","gpu_get_blendmode","gpu_get_blendmode_dest","gpu_get_blendmode_destalpha","gpu_get_blendmode_ext","gpu_get_blendmode_ext_sepalpha","gpu_get_blendmode_src","gpu_get_blendmode_srcalpha","gpu_get_colorwriteenable","gpu_get_colourwriteenable","gpu_get_cullmode","gpu_get_fog","gpu_get_lightingenable","gpu_get_state","gpu_get_tex_filter","gpu_get_tex_filter_ext","gpu_get_tex_max_aniso","gpu_get_tex_max_aniso_ext","gpu_get_tex_max_mip","gpu_get_tex_max_mip_ext","gpu_get_tex_min_mip","gpu_get_tex_min_mip_ext","gpu_get_tex_mip_bias","gpu_get_tex_mip_bias_ext","gpu_get_tex_mip_enable","gpu_get_tex_mip_enable_ext","gpu_get_tex_mip_filter","gpu_get_tex_mip_filter_ext","gpu_get_tex_repeat","gpu_get_tex_repeat_ext","gpu_get_texfilter","gpu_get_texfilter_ext","gpu_get_texrepeat","gpu_get_texrepeat_ext","gpu_get_zfunc","gpu_get_ztestenable","gpu_get_zwriteenable","gpu_pop_state","gpu_push_state","gpu_set_alphatestenable","gpu_set_alphatestfunc","gpu_set_alphatestref","gpu_set_blendenable","gpu_set_blendmode","gpu_set_blendmode_ext","gpu_set_blendmode_ext_sepalpha","gpu_set_colorwriteenable","gpu_set_colourwriteenable","gpu_set_cullmode","gpu_set_fog","gpu_set_lightingenable","gpu_set_state","gpu_set_tex_filter","gpu_set_tex_filter_ext","gpu_set_tex_max_aniso","gpu_set_tex_max_aniso_ext","gpu_set_tex_max_mip","gpu_set_tex_max_mip_ext","gpu_set_tex_min_mip","gpu_set_tex_min_mip_ext","gpu_set_tex_mip_bias","gpu_set_tex_mip_bias_ext","gpu_set_tex_mip_enable","gpu_set_tex_mip_enable_ext","gpu_set_tex_mip_filter","gpu_set_tex_mip_filter_ext","gpu_set_tex_repeat","gpu_set_tex_repeat_ext","gpu_set_texfilter","gpu_set_texfilter_ext","gpu_set_texrepeat","gpu_set_texrepeat_ext","gpu_set_zfunc","gpu_set_ztestenable","gpu_set_zwriteenable","highscore_add","highscore_clear","highscore_name","highscore_value","http_get","http_get_file","http_post_string","http_request","iap_acquire","iap_activate","iap_consume","iap_enumerate_products","iap_product_details","iap_purchase_details","iap_restore_all","iap_status","ini_close","ini_key_delete","ini_key_exists","ini_open","ini_open_from_string","ini_read_real","ini_read_string","ini_section_delete","ini_section_exists","ini_write_real","ini_write_string","instance_activate_all","instance_activate_layer","instance_activate_object","instance_activate_region","instance_change","instance_copy","instance_create","instance_create_depth","instance_create_layer","instance_deactivate_all","instance_deactivate_layer","instance_deactivate_object","instance_deactivate_region","instance_destroy","instance_exists","instance_find","instance_furthest","instance_id_get","instance_nearest","instance_number","instance_place","instance_place_list","instance_position","instance_position_list","int64","io_clear","irandom","irandom_range","is_array","is_bool","is_infinity","is_int32","is_int64","is_matrix","is_method","is_nan","is_numeric","is_ptr","is_real","is_string","is_struct","is_undefined","is_vec3","is_vec4","json_decode","json_encode","keyboard_check","keyboard_check_direct","keyboard_check_pressed","keyboard_check_released","keyboard_clear","keyboard_get_map","keyboard_get_numlock","keyboard_key_press","keyboard_key_release","keyboard_set_map","keyboard_set_numlock","keyboard_unset_map","keyboard_virtual_height","keyboard_virtual_hide","keyboard_virtual_show","keyboard_virtual_status","layer_add_instance","layer_background_alpha","layer_background_blend","layer_background_change","layer_background_create","layer_background_destroy","layer_background_exists","layer_background_get_alpha","layer_background_get_blend","layer_background_get_htiled","layer_background_get_id","layer_background_get_index","layer_background_get_speed","layer_background_get_sprite","layer_background_get_stretch","layer_background_get_visible","layer_background_get_vtiled","layer_background_get_xscale","layer_background_get_yscale","layer_background_htiled","layer_background_index","layer_background_speed","layer_background_sprite","layer_background_stretch","layer_background_visible","layer_background_vtiled","layer_background_xscale","layer_background_yscale","layer_create","layer_depth","layer_destroy","layer_destroy_instances","layer_element_move","layer_exists","layer_force_draw_depth","layer_get_all","layer_get_all_elements","layer_get_depth","layer_get_element_layer","layer_get_element_type","layer_get_forced_depth","layer_get_hspeed","layer_get_id","layer_get_id_at_depth","layer_get_name","layer_get_script_begin","layer_get_script_end","layer_get_shader","layer_get_target_room","layer_get_visible","layer_get_vspeed","layer_get_x","layer_get_y","layer_has_instance","layer_hspeed","layer_instance_get_instance","layer_is_draw_depth_forced","layer_reset_target_room","layer_script_begin","layer_script_end","layer_set_target_room","layer_set_visible","layer_shader","layer_sprite_alpha","layer_sprite_angle","layer_sprite_blend","layer_sprite_change","layer_sprite_create","layer_sprite_destroy","layer_sprite_exists","layer_sprite_get_alpha","layer_sprite_get_angle","layer_sprite_get_blend","layer_sprite_get_id","layer_sprite_get_index","layer_sprite_get_speed","layer_sprite_get_sprite","layer_sprite_get_x","layer_sprite_get_xscale","layer_sprite_get_y","layer_sprite_get_yscale","layer_sprite_index","layer_sprite_speed","layer_sprite_x","layer_sprite_xscale","layer_sprite_y","layer_sprite_yscale","layer_tile_alpha","layer_tile_blend","layer_tile_change","layer_tile_create","layer_tile_destroy","layer_tile_exists","layer_tile_get_alpha","layer_tile_get_blend","layer_tile_get_region","layer_tile_get_sprite","layer_tile_get_visible","layer_tile_get_x","layer_tile_get_xscale","layer_tile_get_y","layer_tile_get_yscale","layer_tile_region","layer_tile_visible","layer_tile_x","layer_tile_xscale","layer_tile_y","layer_tile_yscale","layer_tilemap_create","layer_tilemap_destroy","layer_tilemap_exists","layer_tilemap_get_id","layer_vspeed","layer_x","layer_y","lengthdir_x","lengthdir_y","lerp","ln","load_csv","log10","log2","logn","make_color_hsv","make_color_rgb","make_colour_hsv","make_colour_rgb","math_get_epsilon","math_set_epsilon","matrix_build","matrix_build_identity","matrix_build_lookat","matrix_build_projection_ortho","matrix_build_projection_perspective","matrix_build_projection_perspective_fov","matrix_get","matrix_multiply","matrix_set","matrix_stack_clear","matrix_stack_is_empty","matrix_stack_multiply","matrix_stack_pop","matrix_stack_push","matrix_stack_set","matrix_stack_top","matrix_transform_vertex","max","md5_file","md5_string_unicode","md5_string_utf8","mean","median","merge_color","merge_colour","min","motion_add","motion_set","mouse_check_button","mouse_check_button_pressed","mouse_check_button_released","mouse_clear","mouse_wheel_down","mouse_wheel_up","move_bounce_all","move_bounce_solid","move_contact_all","move_contact_solid","move_outside_all","move_outside_solid","move_random","move_snap","move_towards_point","move_wrap","mp_grid_add_cell","mp_grid_add_instances","mp_grid_add_rectangle","mp_grid_clear_all","mp_grid_clear_cell","mp_grid_clear_rectangle","mp_grid_create","mp_grid_destroy","mp_grid_draw","mp_grid_get_cell","mp_grid_path","mp_grid_to_ds_grid","mp_linear_path","mp_linear_path_object","mp_linear_step","mp_linear_step_object","mp_potential_path","mp_potential_path_object","mp_potential_settings","mp_potential_step","mp_potential_step_object","network_connect","network_connect_raw","network_create_server","network_create_server_raw","network_create_socket","network_create_socket_ext","network_destroy","network_resolve","network_send_broadcast","network_send_packet","network_send_raw","network_send_udp","network_send_udp_raw","network_set_config","network_set_timeout","object_exists","object_get_depth","object_get_mask","object_get_name","object_get_parent","object_get_persistent","object_get_physics","object_get_solid","object_get_sprite","object_get_visible","object_is_ancestor","object_set_mask","object_set_persistent","object_set_solid","object_set_sprite","object_set_visible","ord","os_get_config","os_get_info","os_get_language","os_get_region","os_is_network_connected","os_is_paused","os_lock_orientation","os_powersave_enable","parameter_count","parameter_string","part_emitter_burst","part_emitter_clear","part_emitter_create","part_emitter_destroy","part_emitter_destroy_all","part_emitter_exists","part_emitter_region","part_emitter_stream","part_particles_clear","part_particles_count","part_particles_create","part_particles_create_color","part_particles_create_colour","part_system_automatic_draw","part_system_automatic_update","part_system_clear","part_system_create","part_system_create_layer","part_system_depth","part_system_destroy","part_system_draw_order","part_system_drawit","part_system_exists","part_system_get_layer","part_system_layer","part_system_position","part_system_update","part_type_alpha1","part_type_alpha2","part_type_alpha3","part_type_blend","part_type_clear","part_type_color1","part_type_color2","part_type_color3","part_type_color_hsv","part_type_color_mix","part_type_color_rgb","part_type_colour1","part_type_colour2","part_type_colour3","part_type_colour_hsv","part_type_colour_mix","part_type_colour_rgb","part_type_create","part_type_death","part_type_destroy","part_type_direction","part_type_exists","part_type_gravity","part_type_life","part_type_orientation","part_type_scale","part_type_shape","part_type_size","part_type_speed","part_type_sprite","part_type_step","path_add","path_add_point","path_append","path_assign","path_change_point","path_clear_points","path_delete","path_delete_point","path_duplicate","path_end","path_exists","path_flip","path_get_closed","path_get_kind","path_get_length","path_get_name","path_get_number","path_get_point_speed","path_get_point_x","path_get_point_y","path_get_precision","path_get_speed","path_get_time","path_get_x","path_get_y","path_insert_point","path_mirror","path_rescale","path_reverse","path_rotate","path_set_closed","path_set_kind","path_set_precision","path_shift","path_start","physics_apply_angular_impulse","physics_apply_force","physics_apply_impulse","physics_apply_local_force","physics_apply_local_impulse","physics_apply_torque","physics_draw_debug","physics_fixture_add_point","physics_fixture_bind","physics_fixture_bind_ext","physics_fixture_create","physics_fixture_delete","physics_fixture_set_angular_damping","physics_fixture_set_awake","physics_fixture_set_box_shape","physics_fixture_set_chain_shape","physics_fixture_set_circle_shape","physics_fixture_set_collision_group","physics_fixture_set_density","physics_fixture_set_edge_shape","physics_fixture_set_friction","physics_fixture_set_kinematic","physics_fixture_set_linear_damping","physics_fixture_set_polygon_shape","physics_fixture_set_restitution","physics_fixture_set_sensor","physics_get_density","physics_get_friction","physics_get_restitution","physics_joint_delete","physics_joint_distance_create","physics_joint_enable_motor","physics_joint_friction_create","physics_joint_gear_create","physics_joint_get_value","physics_joint_prismatic_create","physics_joint_pulley_create","physics_joint_revolute_create","physics_joint_rope_create","physics_joint_set_value","physics_joint_weld_create","physics_joint_wheel_create","physics_mass_properties","physics_particle_count","physics_particle_create","physics_particle_delete","physics_particle_delete_region_box","physics_particle_delete_region_circle","physics_particle_delete_region_poly","physics_particle_draw","physics_particle_draw_ext","physics_particle_get_damping","physics_particle_get_data","physics_particle_get_data_particle","physics_particle_get_density","physics_particle_get_gravity_scale","physics_particle_get_group_flags","physics_particle_get_max_count","physics_particle_get_radius","physics_particle_group_add_point","physics_particle_group_begin","physics_particle_group_box","physics_particle_group_circle","physics_particle_group_count","physics_particle_group_delete","physics_particle_group_end","physics_particle_group_get_ang_vel","physics_particle_group_get_angle","physics_particle_group_get_centre_x","physics_particle_group_get_centre_y","physics_particle_group_get_data","physics_particle_group_get_inertia","physics_particle_group_get_mass","physics_particle_group_get_vel_x","physics_particle_group_get_vel_y","physics_particle_group_get_x","physics_particle_group_get_y","physics_particle_group_join","physics_particle_group_polygon","physics_particle_set_category_flags","physics_particle_set_damping","physics_particle_set_density","physics_particle_set_flags","physics_particle_set_gravity_scale","physics_particle_set_group_flags","physics_particle_set_max_count","physics_particle_set_radius","physics_pause_enable","physics_remove_fixture","physics_set_density","physics_set_friction","physics_set_restitution","physics_test_overlap","physics_world_create","physics_world_draw_debug","physics_world_gravity","physics_world_update_iterations","physics_world_update_speed","place_empty","place_free","place_meeting","place_snapped","point_direction","point_distance","point_distance_3d","point_in_circle","point_in_rectangle","point_in_triangle","position_change","position_destroy","position_empty","position_meeting","power","ptr","push_cancel_local_notification","push_get_first_local_notification","push_get_next_local_notification","push_local_notification","radtodeg","random","random_get_seed","random_range","random_set_seed","randomise","randomize","real","rectangle_in_circle","rectangle_in_rectangle","rectangle_in_triangle","room_add","room_assign","room_duplicate","room_exists","room_get_camera","room_get_name","room_get_viewport","room_goto","room_goto_next","room_goto_previous","room_instance_add","room_instance_clear","room_next","room_previous","room_restart","room_set_background_color","room_set_background_colour","room_set_camera","room_set_height","room_set_persistent","room_set_view","room_set_view_enabled","room_set_viewport","room_set_width","round","screen_save","screen_save_part","script_execute","script_exists","script_get_name","sha1_file","sha1_string_unicode","sha1_string_utf8","shader_current","shader_enable_corner_id","shader_get_name","shader_get_sampler_index","shader_get_uniform","shader_is_compiled","shader_reset","shader_set","shader_set_uniform_f","shader_set_uniform_f_array","shader_set_uniform_i","shader_set_uniform_i_array","shader_set_uniform_matrix","shader_set_uniform_matrix_array","shaders_are_supported","shop_leave_rating","show_debug_message","show_debug_overlay","show_error","show_message","show_message_async","show_question","show_question_async","sign","sin","skeleton_animation_clear","skeleton_animation_get","skeleton_animation_get_duration","skeleton_animation_get_ext","skeleton_animation_get_frame","skeleton_animation_get_frames","skeleton_animation_list","skeleton_animation_mix","skeleton_animation_set","skeleton_animation_set_ext","skeleton_animation_set_frame","skeleton_attachment_create","skeleton_attachment_get","skeleton_attachment_set","skeleton_bone_data_get","skeleton_bone_data_set","skeleton_bone_state_get","skeleton_bone_state_set","skeleton_collision_draw_set","skeleton_get_bounds","skeleton_get_minmax","skeleton_get_num_bounds","skeleton_skin_get","skeleton_skin_list","skeleton_skin_set","skeleton_slot_data","sprite_add","sprite_add_from_surface","sprite_assign","sprite_collision_mask","sprite_create_from_surface","sprite_delete","sprite_duplicate","sprite_exists","sprite_flush","sprite_flush_multi","sprite_get_bbox_bottom","sprite_get_bbox_left","sprite_get_bbox_right","sprite_get_bbox_top","sprite_get_height","sprite_get_name","sprite_get_number","sprite_get_speed","sprite_get_speed_type","sprite_get_texture","sprite_get_tpe","sprite_get_uvs","sprite_get_width","sprite_get_xoffset","sprite_get_yoffset","sprite_merge","sprite_prefetch","sprite_prefetch_multi","sprite_replace","sprite_save","sprite_save_strip","sprite_set_alpha_from_sprite","sprite_set_cache_size","sprite_set_cache_size_ext","sprite_set_offset","sprite_set_speed","sqr","sqrt","steam_activate_overlay","steam_activate_overlay_browser","steam_activate_overlay_store","steam_activate_overlay_user","steam_available_languages","steam_clear_achievement","steam_create_leaderboard","steam_current_game_language","steam_download_friends_scores","steam_download_scores","steam_download_scores_around_user","steam_file_delete","steam_file_exists","steam_file_persisted","steam_file_read","steam_file_share","steam_file_size","steam_file_write","steam_file_write_file","steam_get_achievement","steam_get_app_id","steam_get_persona_name","steam_get_quota_free","steam_get_quota_total","steam_get_stat_avg_rate","steam_get_stat_float","steam_get_stat_int","steam_get_user_account_id","steam_get_user_persona_name","steam_get_user_steam_id","steam_initialised","steam_is_cloud_enabled_for_account","steam_is_cloud_enabled_for_app","steam_is_overlay_activated","steam_is_overlay_enabled","steam_is_screenshot_requested","steam_is_user_logged_on","steam_reset_all_stats","steam_reset_all_stats_achievements","steam_send_screenshot","steam_set_achievement","steam_set_stat_avg_rate","steam_set_stat_float","steam_set_stat_int","steam_stats_ready","steam_ugc_create_item","steam_ugc_create_query_all","steam_ugc_create_query_all_ex","steam_ugc_create_query_user","steam_ugc_create_query_user_ex","steam_ugc_download","steam_ugc_get_item_install_info","steam_ugc_get_item_update_info","steam_ugc_get_item_update_progress","steam_ugc_get_subscribed_items","steam_ugc_num_subscribed_items","steam_ugc_query_add_excluded_tag","steam_ugc_query_add_required_tag","steam_ugc_query_set_allow_cached_response","steam_ugc_query_set_cloud_filename_filter","steam_ugc_query_set_match_any_tag","steam_ugc_query_set_ranked_by_trend_days","steam_ugc_query_set_return_long_description","steam_ugc_query_set_return_total_only","steam_ugc_query_set_search_text","steam_ugc_request_item_details","steam_ugc_send_query","steam_ugc_set_item_content","steam_ugc_set_item_description","steam_ugc_set_item_preview","steam_ugc_set_item_tags","steam_ugc_set_item_title","steam_ugc_set_item_visibility","steam_ugc_start_item_update","steam_ugc_submit_item_update","steam_ugc_subscribe_item","steam_ugc_unsubscribe_item","steam_upload_score","steam_upload_score_buffer","steam_upload_score_buffer_ext","steam_upload_score_ext","steam_user_installed_dlc","steam_user_owns_dlc","string","string_byte_at","string_byte_length","string_char_at","string_copy","string_count","string_delete","string_digits","string_format","string_hash_to_newline","string_height","string_height_ext","string_insert","string_length","string_letters","string_lettersdigits","string_lower","string_ord_at","string_pos","string_repeat","string_replace","string_replace_all","string_set_byte_at","string_upper","string_width","string_width_ext","surface_copy","surface_copy_part","surface_create","surface_create_ext","surface_depth_disable","surface_exists","surface_free","surface_get_depth_disable","surface_get_height","surface_get_texture","surface_get_width","surface_getpixel","surface_getpixel_ext","surface_reset_target","surface_resize","surface_save","surface_save_part","surface_set_target","surface_set_target_ext","tan","texture_get_height","texture_get_texel_height","texture_get_texel_width","texture_get_uvs","texture_get_width","texture_global_scale","texture_set_stage","tile_get_empty","tile_get_flip","tile_get_index","tile_get_mirror","tile_get_rotate","tile_set_empty","tile_set_flip","tile_set_index","tile_set_mirror","tile_set_rotate","tilemap_clear","tilemap_get","tilemap_get_at_pixel","tilemap_get_cell_x_at_pixel","tilemap_get_cell_y_at_pixel","tilemap_get_frame","tilemap_get_global_mask","tilemap_get_height","tilemap_get_mask","tilemap_get_tile_height","tilemap_get_tile_width","tilemap_get_tileset","tilemap_get_width","tilemap_get_x","tilemap_get_y","tilemap_set","tilemap_set_at_pixel","tilemap_set_global_mask","tilemap_set_mask","tilemap_tileset","tilemap_x","tilemap_y","timeline_add","timeline_clear","timeline_delete","timeline_exists","timeline_get_name","timeline_max_moment","timeline_moment_add_script","timeline_moment_clear","timeline_size","typeof","url_get_domain","url_open","url_open_ext","url_open_full","variable_global_exists","variable_global_get","variable_global_set","variable_instance_exists","variable_instance_get","variable_instance_get_names","variable_instance_set","variable_struct_exists","variable_struct_get","variable_struct_get_names","variable_struct_names_count","variable_struct_remove","variable_struct_set","vertex_argb","vertex_begin","vertex_color","vertex_colour","vertex_create_buffer","vertex_create_buffer_ext","vertex_create_buffer_from_buffer","vertex_create_buffer_from_buffer_ext","vertex_delete_buffer","vertex_end","vertex_float1","vertex_float2","vertex_float3","vertex_float4","vertex_format_add_color","vertex_format_add_colour","vertex_format_add_custom","vertex_format_add_normal","vertex_format_add_position","vertex_format_add_position_3d","vertex_format_add_texcoord","vertex_format_add_textcoord","vertex_format_begin","vertex_format_delete","vertex_format_end","vertex_freeze","vertex_get_buffer_size","vertex_get_number","vertex_normal","vertex_position","vertex_position_3d","vertex_submit","vertex_texcoord","vertex_ubyte4","view_get_camera","view_get_hport","view_get_surface_id","view_get_visible","view_get_wport","view_get_xport","view_get_yport","view_set_camera","view_set_hport","view_set_surface_id","view_set_visible","view_set_wport","view_set_xport","view_set_yport","virtual_key_add","virtual_key_delete","virtual_key_hide","virtual_key_show","win8_appbar_add_element","win8_appbar_enable","win8_appbar_remove_element","win8_device_touchscreen_available","win8_license_initialize_sandbox","win8_license_trial_version","win8_livetile_badge_clear","win8_livetile_badge_notification","win8_livetile_notification_begin","win8_livetile_notification_end","win8_livetile_notification_expiry","win8_livetile_notification_image_add","win8_livetile_notification_secondary_begin","win8_livetile_notification_tag","win8_livetile_notification_text_add","win8_livetile_queue_enable","win8_livetile_tile_clear","win8_livetile_tile_notification","win8_search_add_suggestions","win8_search_disable","win8_search_enable","win8_secondarytile_badge_notification","win8_secondarytile_delete","win8_secondarytile_pin","win8_settingscharm_add_entry","win8_settingscharm_add_html_entry","win8_settingscharm_add_xaml_entry","win8_settingscharm_get_xaml_property","win8_settingscharm_remove_entry","win8_settingscharm_set_xaml_property","win8_share_file","win8_share_image","win8_share_screenshot","win8_share_text","win8_share_url","window_center","window_device","window_get_caption","window_get_color","window_get_colour","window_get_cursor","window_get_fullscreen","window_get_height","window_get_visible_rects","window_get_width","window_get_x","window_get_y","window_handle","window_has_focus","window_mouse_get_x","window_mouse_get_y","window_mouse_set","window_set_caption","window_set_color","window_set_colour","window_set_cursor","window_set_fullscreen","window_set_max_height","window_set_max_width","window_set_min_height","window_set_min_width","window_set_position","window_set_rectangle","window_set_size","window_view_mouse_get_x","window_view_mouse_get_y","window_views_mouse_get_x","window_views_mouse_get_y","winphone_license_trial_version","winphone_tile_back_content","winphone_tile_back_content_wide","winphone_tile_back_image","winphone_tile_back_image_wide","winphone_tile_back_title","winphone_tile_background_color","winphone_tile_background_colour","winphone_tile_count","winphone_tile_cycle_images","winphone_tile_front_image","winphone_tile_front_image_small","winphone_tile_front_image_wide","winphone_tile_icon_image","winphone_tile_small_background_image","winphone_tile_small_icon_image","winphone_tile_title","winphone_tile_wide_content","zip_unzip"],literal:["all","false","noone","pointer_invalid","pointer_null","true","undefined"],symbol:["ANSI_CHARSET","ARABIC_CHARSET","BALTIC_CHARSET","CHINESEBIG5_CHARSET","DEFAULT_CHARSET","EASTEUROPE_CHARSET","GB2312_CHARSET","GM_build_date","GM_runtime_version","GM_version","GREEK_CHARSET","HANGEUL_CHARSET","HEBREW_CHARSET","JOHAB_CHARSET","MAC_CHARSET","OEM_CHARSET","RUSSIAN_CHARSET","SHIFTJIS_CHARSET","SYMBOL_CHARSET","THAI_CHARSET","TURKISH_CHARSET","VIETNAMESE_CHARSET","achievement_achievement_info","achievement_filter_all_players","achievement_filter_favorites_only","achievement_filter_friends_only","achievement_friends_info","achievement_leaderboard_info","achievement_our_info","achievement_pic_loaded","achievement_show_achievement","achievement_show_bank","achievement_show_friend_picker","achievement_show_leaderboard","achievement_show_profile","achievement_show_purchase_prompt","achievement_show_ui","achievement_type_achievement_challenge","achievement_type_score_challenge","asset_font","asset_object","asset_path","asset_room","asset_script","asset_shader","asset_sound","asset_sprite","asset_tiles","asset_timeline","asset_unknown","audio_3d","audio_falloff_exponent_distance","audio_falloff_exponent_distance_clamped","audio_falloff_inverse_distance","audio_falloff_inverse_distance_clamped","audio_falloff_linear_distance","audio_falloff_linear_distance_clamped","audio_falloff_none","audio_mono","audio_new_system","audio_old_system","audio_stereo","bm_add","bm_complex","bm_dest_alpha","bm_dest_color","bm_dest_colour","bm_inv_dest_alpha","bm_inv_dest_color","bm_inv_dest_colour","bm_inv_src_alpha","bm_inv_src_color","bm_inv_src_colour","bm_max","bm_normal","bm_one","bm_src_alpha","bm_src_alpha_sat","bm_src_color","bm_src_colour","bm_subtract","bm_zero","browser_chrome","browser_edge","browser_firefox","browser_ie","browser_ie_mobile","browser_not_a_browser","browser_opera","browser_safari","browser_safari_mobile","browser_tizen","browser_unknown","browser_windows_store","buffer_bool","buffer_f16","buffer_f32","buffer_f64","buffer_fast","buffer_fixed","buffer_generalerror","buffer_grow","buffer_invalidtype","buffer_network","buffer_outofbounds","buffer_outofspace","buffer_s16","buffer_s32","buffer_s8","buffer_seek_end","buffer_seek_relative","buffer_seek_start","buffer_string","buffer_surface_copy","buffer_text","buffer_u16","buffer_u32","buffer_u64","buffer_u8","buffer_vbuffer","buffer_wrap","button_type","c_aqua","c_black","c_blue","c_dkgray","c_fuchsia","c_gray","c_green","c_lime","c_ltgray","c_maroon","c_navy","c_olive","c_orange","c_purple","c_red","c_silver","c_teal","c_white","c_yellow","cmpfunc_always","cmpfunc_equal","cmpfunc_greater","cmpfunc_greaterequal","cmpfunc_less","cmpfunc_lessequal","cmpfunc_never","cmpfunc_notequal","cr_appstart","cr_arrow","cr_beam","cr_cross","cr_default","cr_drag","cr_handpoint","cr_hourglass","cr_none","cr_size_all","cr_size_nesw","cr_size_ns","cr_size_nwse","cr_size_we","cr_uparrow","cull_clockwise","cull_counterclockwise","cull_noculling","device_emulator","device_ios_ipad","device_ios_ipad_retina","device_ios_iphone","device_ios_iphone5","device_ios_iphone6","device_ios_iphone6plus","device_ios_iphone_retina","device_ios_unknown","device_tablet","display_landscape","display_landscape_flipped","display_portrait","display_portrait_flipped","dll_cdecl","dll_stdcall","ds_type_grid","ds_type_list","ds_type_map","ds_type_priority","ds_type_queue","ds_type_stack","ef_cloud","ef_ellipse","ef_explosion","ef_firework","ef_flare","ef_rain","ef_ring","ef_smoke","ef_smokeup","ef_snow","ef_spark","ef_star","ev_alarm","ev_animation_end","ev_boundary","ev_cleanup","ev_close_button","ev_collision","ev_create","ev_destroy","ev_draw","ev_draw_begin","ev_draw_end","ev_draw_post","ev_draw_pre","ev_end_of_path","ev_game_end","ev_game_start","ev_gesture","ev_gesture_double_tap","ev_gesture_drag_end","ev_gesture_drag_start","ev_gesture_dragging","ev_gesture_flick","ev_gesture_pinch_end","ev_gesture_pinch_in","ev_gesture_pinch_out","ev_gesture_pinch_start","ev_gesture_rotate_end","ev_gesture_rotate_start","ev_gesture_rotating","ev_gesture_tap","ev_global_gesture_double_tap","ev_global_gesture_drag_end","ev_global_gesture_drag_start","ev_global_gesture_dragging","ev_global_gesture_flick","ev_global_gesture_pinch_end","ev_global_gesture_pinch_in","ev_global_gesture_pinch_out","ev_global_gesture_pinch_start","ev_global_gesture_rotate_end","ev_global_gesture_rotate_start","ev_global_gesture_rotating","ev_global_gesture_tap","ev_global_left_button","ev_global_left_press","ev_global_left_release","ev_global_middle_button","ev_global_middle_press","ev_global_middle_release","ev_global_right_button","ev_global_right_press","ev_global_right_release","ev_gui","ev_gui_begin","ev_gui_end","ev_joystick1_button1","ev_joystick1_button2","ev_joystick1_button3","ev_joystick1_button4","ev_joystick1_button5","ev_joystick1_button6","ev_joystick1_button7","ev_joystick1_button8","ev_joystick1_down","ev_joystick1_left","ev_joystick1_right","ev_joystick1_up","ev_joystick2_button1","ev_joystick2_button2","ev_joystick2_button3","ev_joystick2_button4","ev_joystick2_button5","ev_joystick2_button6","ev_joystick2_button7","ev_joystick2_button8","ev_joystick2_down","ev_joystick2_left","ev_joystick2_right","ev_joystick2_up","ev_keyboard","ev_keypress","ev_keyrelease","ev_left_button","ev_left_press","ev_left_release","ev_middle_button","ev_middle_press","ev_middle_release","ev_mouse","ev_mouse_enter","ev_mouse_leave","ev_mouse_wheel_down","ev_mouse_wheel_up","ev_no_button","ev_no_more_health","ev_no_more_lives","ev_other","ev_outside","ev_right_button","ev_right_press","ev_right_release","ev_room_end","ev_room_start","ev_step","ev_step_begin","ev_step_end","ev_step_normal","ev_trigger","ev_user0","ev_user1","ev_user2","ev_user3","ev_user4","ev_user5","ev_user6","ev_user7","ev_user8","ev_user9","ev_user10","ev_user11","ev_user12","ev_user13","ev_user14","ev_user15","fa_archive","fa_bottom","fa_center","fa_directory","fa_hidden","fa_left","fa_middle","fa_readonly","fa_right","fa_sysfile","fa_top","fa_volumeid","fb_login_default","fb_login_fallback_to_webview","fb_login_forcing_safari","fb_login_forcing_webview","fb_login_no_fallback_to_webview","fb_login_use_system_account","gamespeed_fps","gamespeed_microseconds","ge_lose","global","gp_axislh","gp_axislv","gp_axisrh","gp_axisrv","gp_face1","gp_face2","gp_face3","gp_face4","gp_padd","gp_padl","gp_padr","gp_padu","gp_select","gp_shoulderl","gp_shoulderlb","gp_shoulderr","gp_shoulderrb","gp_start","gp_stickl","gp_stickr","iap_available","iap_canceled","iap_ev_consume","iap_ev_product","iap_ev_purchase","iap_ev_restore","iap_ev_storeload","iap_failed","iap_purchased","iap_refunded","iap_status_available","iap_status_loading","iap_status_processing","iap_status_restoring","iap_status_unavailable","iap_status_uninitialised","iap_storeload_failed","iap_storeload_ok","iap_unavailable","input_type","kbv_autocapitalize_characters","kbv_autocapitalize_none","kbv_autocapitalize_sentences","kbv_autocapitalize_words","kbv_returnkey_continue","kbv_returnkey_default","kbv_returnkey_done","kbv_returnkey_emergency","kbv_returnkey_go","kbv_returnkey_google","kbv_returnkey_join","kbv_returnkey_next","kbv_returnkey_route","kbv_returnkey_search","kbv_returnkey_send","kbv_returnkey_yahoo","kbv_type_ascii","kbv_type_default","kbv_type_email","kbv_type_numbers","kbv_type_phone","kbv_type_phone_name","kbv_type_url","layerelementtype_background","layerelementtype_instance","layerelementtype_oldtilemap","layerelementtype_particlesystem","layerelementtype_sprite","layerelementtype_tile","layerelementtype_tilemap","layerelementtype_undefined","lb_disp_none","lb_disp_numeric","lb_disp_time_ms","lb_disp_time_sec","lb_sort_ascending","lb_sort_descending","lb_sort_none","leaderboard_type_number","leaderboard_type_time_mins_secs","lighttype_dir","lighttype_point","local","matrix_projection","matrix_view","matrix_world","mb_any","mb_left","mb_middle","mb_none","mb_right","mip_markedonly","mip_off","mip_on","network_config_connect_timeout","network_config_disable_reliable_udp","network_config_enable_reliable_udp","network_config_use_non_blocking_socket","network_socket_bluetooth","network_socket_tcp","network_socket_udp","network_type_connect","network_type_data","network_type_disconnect","network_type_non_blocking_connect","of_challen","of_challenge_tie","of_challenge_win","os_3ds","os_android","os_bb10","os_ios","os_linux","os_macosx","os_ps3","os_ps4","os_psvita","os_switch","os_symbian","os_tizen","os_tvos","os_unknown","os_uwp","os_wiiu","os_win32","os_win8native","os_windows","os_winphone","os_xbox360","os_xboxone","other","ov_achievements","ov_community","ov_friends","ov_gamegroup","ov_players","ov_settings","path_action_continue","path_action_restart","path_action_reverse","path_action_stop","phy_debug_render_aabb","phy_debug_render_collision_pairs","phy_debug_render_coms","phy_debug_render_core_shapes","phy_debug_render_joints","phy_debug_render_obb","phy_debug_render_shapes","phy_joint_anchor_1_x","phy_joint_anchor_1_y","phy_joint_anchor_2_x","phy_joint_anchor_2_y","phy_joint_angle","phy_joint_angle_limits","phy_joint_damping_ratio","phy_joint_frequency","phy_joint_length_1","phy_joint_length_2","phy_joint_lower_angle_limit","phy_joint_max_force","phy_joint_max_length","phy_joint_max_motor_force","phy_joint_max_motor_torque","phy_joint_max_torque","phy_joint_motor_force","phy_joint_motor_speed","phy_joint_motor_torque","phy_joint_reaction_force_x","phy_joint_reaction_force_y","phy_joint_reaction_torque","phy_joint_speed","phy_joint_translation","phy_joint_upper_angle_limit","phy_particle_data_flag_category","phy_particle_data_flag_color","phy_particle_data_flag_colour","phy_particle_data_flag_position","phy_particle_data_flag_typeflags","phy_particle_data_flag_velocity","phy_particle_flag_colormixing","phy_particle_flag_colourmixing","phy_particle_flag_elastic","phy_particle_flag_powder","phy_particle_flag_spring","phy_particle_flag_tensile","phy_particle_flag_viscous","phy_particle_flag_wall","phy_particle_flag_water","phy_particle_flag_zombie","phy_particle_group_flag_rigid","phy_particle_group_flag_solid","pi","pr_linelist","pr_linestrip","pr_pointlist","pr_trianglefan","pr_trianglelist","pr_trianglestrip","ps_distr_gaussian","ps_distr_invgaussian","ps_distr_linear","ps_shape_diamond","ps_shape_ellipse","ps_shape_line","ps_shape_rectangle","pt_shape_circle","pt_shape_cloud","pt_shape_disk","pt_shape_explosion","pt_shape_flare","pt_shape_line","pt_shape_pixel","pt_shape_ring","pt_shape_smoke","pt_shape_snow","pt_shape_spark","pt_shape_sphere","pt_shape_square","pt_shape_star","spritespeed_framespergameframe","spritespeed_framespersecond","text_type","tf_anisotropic","tf_linear","tf_point","tile_flip","tile_index_mask","tile_mirror","tile_rotate","timezone_local","timezone_utc","tm_countvsyncs","tm_sleep","ty_real","ty_string","ugc_filetype_community","ugc_filetype_microtrans","ugc_list_Favorited","ugc_list_Followed","ugc_list_Published","ugc_list_Subscribed","ugc_list_UsedOrPlayed","ugc_list_VotedDown","ugc_list_VotedOn","ugc_list_VotedUp","ugc_list_WillVoteLater","ugc_match_AllGuides","ugc_match_Artwork","ugc_match_Collections","ugc_match_ControllerBindings","ugc_match_IntegratedGuides","ugc_match_Items","ugc_match_Items_Mtx","ugc_match_Items_ReadyToUse","ugc_match_Screenshots","ugc_match_UsableInGame","ugc_match_Videos","ugc_match_WebGuides","ugc_query_AcceptedForGameRankedByAcceptanceDate","ugc_query_CreatedByFollowedUsersRankedByPublicationDate","ugc_query_CreatedByFriendsRankedByPublicationDate","ugc_query_FavoritedByFriendsRankedByPublicationDate","ugc_query_NotYetRated","ugc_query_RankedByNumTimesReported","ugc_query_RankedByPublicationDate","ugc_query_RankedByTextSearch","ugc_query_RankedByTotalVotesAsc","ugc_query_RankedByTrend","ugc_query_RankedByVote","ugc_query_RankedByVotesUp","ugc_result_success","ugc_sortorder_CreationOrderAsc","ugc_sortorder_CreationOrderDesc","ugc_sortorder_ForModeration","ugc_sortorder_LastUpdatedDesc","ugc_sortorder_SubscriptionDateDesc","ugc_sortorder_TitleAsc","ugc_sortorder_VoteScoreDesc","ugc_visibility_friends_only","ugc_visibility_private","ugc_visibility_public","vertex_type_color","vertex_type_colour","vertex_type_float1","vertex_type_float2","vertex_type_float3","vertex_type_float4","vertex_type_ubyte4","vertex_usage_binormal","vertex_usage_blendindices","vertex_usage_blendweight","vertex_usage_color","vertex_usage_colour","vertex_usage_depth","vertex_usage_fog","vertex_usage_normal","vertex_usage_position","vertex_usage_psize","vertex_usage_sample","vertex_usage_tangent","vertex_usage_texcoord","vertex_usage_textcoord","vk_add","vk_alt","vk_anykey","vk_backspace","vk_control","vk_decimal","vk_delete","vk_divide","vk_down","vk_end","vk_enter","vk_escape","vk_f1","vk_f2","vk_f3","vk_f4","vk_f5","vk_f6","vk_f7","vk_f8","vk_f9","vk_f10","vk_f11","vk_f12","vk_home","vk_insert","vk_lalt","vk_lcontrol","vk_left","vk_lshift","vk_multiply","vk_nokey","vk_numpad0","vk_numpad1","vk_numpad2","vk_numpad3","vk_numpad4","vk_numpad5","vk_numpad6","vk_numpad7","vk_numpad8","vk_numpad9","vk_pagedown","vk_pageup","vk_pause","vk_printscreen","vk_ralt","vk_rcontrol","vk_return","vk_right","vk_rshift","vk_shift","vk_space","vk_subtract","vk_tab","vk_up"],"variable.language":["alarm","application_surface","argument","argument0","argument1","argument2","argument3","argument4","argument5","argument6","argument7","argument8","argument9","argument10","argument11","argument12","argument13","argument14","argument15","argument_count","argument_relative","async_load","background_color","background_colour","background_showcolor","background_showcolour","bbox_bottom","bbox_left","bbox_right","bbox_top","browser_height","browser_width","caption_health","caption_lives","caption_score","current_day","current_hour","current_minute","current_month","current_second","current_time","current_weekday","current_year","cursor_sprite","debug_mode","delta_time","depth","direction","display_aa","error_last","error_occurred","event_action","event_data","event_number","event_object","event_type","fps","fps_real","friction","game_display_name","game_id","game_project_name","game_save_id","gamemaker_pro","gamemaker_registered","gamemaker_version","gravity","gravity_direction","health","hspeed","iap_data","id|0","image_alpha","image_angle","image_blend","image_index","image_number","image_speed","image_xscale","image_yscale","instance_count","instance_id","keyboard_key","keyboard_lastchar","keyboard_lastkey","keyboard_string","layer","lives","mask_index","mouse_button","mouse_lastbutton","mouse_x","mouse_y","object_index","os_browser","os_device","os_type","os_version","path_endaction","path_index","path_orientation","path_position","path_positionprevious","path_scale","path_speed","persistent","phy_active","phy_angular_damping","phy_angular_velocity","phy_bullet","phy_col_normal_x","phy_col_normal_y","phy_collision_points","phy_collision_x","phy_collision_y","phy_com_x","phy_com_y","phy_dynamic","phy_fixed_rotation","phy_inertia","phy_kinematic","phy_linear_damping","phy_linear_velocity_x","phy_linear_velocity_y","phy_mass","phy_position_x","phy_position_xprevious","phy_position_y","phy_position_yprevious","phy_rotation","phy_sleeping","phy_speed","phy_speed_x","phy_speed_y","program_directory","room","room_caption","room_first","room_height","room_last","room_persistent","room_speed","room_width","score","self","show_health","show_lives","show_score","solid","speed","sprite_height","sprite_index","sprite_width","sprite_xoffset","sprite_yoffset","temp_directory","timeline_index","timeline_loop","timeline_position","timeline_running","timeline_speed","view_angle","view_camera","view_current","view_enabled","view_hborder","view_hport","view_hspeed","view_hview","view_object","view_surface_id","view_vborder","view_visible","view_vspeed","view_wport","view_wview","view_xport","view_xview","view_yport","view_yview","visible","vspeed","webgl_enabled","working_directory","xprevious","xstart","x|0","yprevious","ystart","y|0"]},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE]}}function ex(t){return{name:"Golo",keywords:{keyword:["println","readln","print","import","module","function","local","return","let","var","while","for","foreach","times","in","case","when","match","with","break","continue","augment","augmentation","each","find","filter","reduce","if","then","else","otherwise","try","catch","finally","raise","throw","orIfNull","DynamicObject|10","DynamicVariable","struct","Observable","map","set","vector","list","array"],literal:["true","false","null"]},contains:[t.HASH_COMMENT_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"}]}}function tx(t){return{name:"Gradle",case_insensitive:!0,keywords:["task","project","allprojects","subprojects","artifacts","buildscript","configurations","dependencies","repositories","sourceSets","description","delete","from","into","include","exclude","source","classpath","destinationDir","includes","options","sourceCompatibility","targetCompatibility","group","flatDir","doLast","doFirst","flatten","todir","fromdir","ant","def","abstract","break","case","catch","continue","default","do","else","extends","final","finally","for","if","implements","instanceof","native","new","private","protected","public","return","static","switch","synchronized","throw","throws","transient","try","volatile","while","strictfp","package","import","false","null","super","this","true","antlrtask","checkstyle","codenarc","copy","boolean","byte","char","class","double","float","int","interface","long","short","void","compile","runTime","file","fileTree","abs","any","append","asList","asWritable","call","collect","compareTo","count","div","dump","each","eachByte","eachFile","eachLine","every","find","findAll","flatten","getAt","getErr","getIn","getOut","getText","grep","immutable","inject","inspect","intersect","invokeMethods","isCase","join","leftShift","minus","multiply","newInputStream","newOutputStream","newPrintWriter","newReader","newWriter","next","plus","pop","power","previous","print","println","push","putAt","read","readBytes","readLines","reverse","reverseEach","round","size","sort","splitEachLine","step","subMap","times","toInteger","toList","tokenize","upto","waitForOrKill","withPrintWriter","withReader","withStream","withWriter","withWriterAppend","write","writeLine"],contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.NUMBER_MODE,t.REGEXP_MODE]}}function ml(t,e={}){return e.variants=t,e}function nx(t){const e=t.regex,n="[A-Za-z0-9_$]+",r=ml([t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]})]),i={className:"regexp",begin:/~?\/[^\/\n]+\//,contains:[t.BACKSLASH_ESCAPE]},o=ml([t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE]),a=ml([{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:"\\$/",end:"/\\$",relevance:10},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE],{className:"string"}),s={match:[/(class|interface|trait|enum|record|extends|implements)/,/\s+/,t.UNDERSCORE_IDENT_RE],scope:{1:"keyword",3:"title.class"}};return{name:"Groovy",keywords:{"variable.language":"this super",literal:"true false null",type:["byte","short","char","int","long","boolean","float","double","void"],keyword:["def","as","in","assert","trait","abstract","static","volatile","transient","public","private","protected","synchronized","final","class","interface","enum","if","else","for","while","switch","case","break","default","continue","throw","throws","try","catch","finally","implements","extends","new","import","package","return","instanceof","var"]},contains:[t.SHEBANG({binary:"groovy",relevance:10}),r,a,i,o,s,{className:"meta",begin:"@[A-Za-z]+",relevance:0},{className:"attr",begin:n+"[ ]*:",relevance:0},{begin:/\?/,end:/:/,relevance:0,contains:[r,a,i,o,"self"]},{className:"symbol",begin:"^[ ]*"+e.lookahead(n+":"),excludeBegin:!0,end:n+":",relevance:0}],illegal:/#|<\//}}function rx(t){return{name:"HAML",case_insensitive:!0,contains:[{className:"meta",begin:"^!!!( (5|1\\.1|Strict|Frameset|Basic|Mobile|RDFa|XML\\b.*))?$",relevance:10},t.COMMENT("^\\s*(!=#|=#|-#|/).*$",null,{relevance:0}),{begin:"^\\s*(-|=|!=)(?!#)",end:/$/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0},{className:"tag",begin:"^\\s*%",contains:[{className:"selector-tag",begin:"\\w+"},{className:"selector-id",begin:"#[\\w-]+"},{className:"selector-class",begin:"\\.[\\w-]+"},{begin:/\{\s*/,end:/\s*\}/,contains:[{begin:":\\w+\\s*=>",end:",\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:":\\w+"},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]},{begin:"\\(\\s*",end:"\\s*\\)",excludeEnd:!0,contains:[{begin:"\\w+\\s*=",end:"\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:"\\w+",relevance:0},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]}]},{begin:"^\\s*[=~]\\s*"},{begin:/#\{/,end:/\}/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}function ix(t){const e=t.regex,n={$pattern:/[\w.\/]+/,built_in:["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},r={$pattern:/[\w.\/]+/,literal:["true","false","undefined","null"]},i=/""|"[^"]+"/,o=/''|'[^']+'/,a=/\[\]|\[[^\]]+\]/,s=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,l=/(\.|\/)/,c=e.either(i,o,a,s),u=e.concat(e.optional(/\.|\.\/|\//),c,e.anyNumberOfTimes(e.concat(l,c))),d=e.concat("(",a,"|",s,")(?==)"),p={begin:u},_=t.inherit(p,{keywords:r}),m={begin:/\(/,end:/\)/},f={className:"attr",begin:d,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[t.NUMBER_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,_,m]}}},g={begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},E={contains:[t.NUMBER_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,g,f,_,m],returnEnd:!0},S=t.inherit(p,{className:"name",keywords:n,starts:t.inherit(E,{end:/\)/})});m.contains=[S];const b=t.inherit(p,{keywords:n,className:"name",starts:t.inherit(E,{end:/\}\}/})}),h=t.inherit(p,{keywords:n,className:"name"}),C=t.inherit(p,{className:"name",keywords:n,starts:t.inherit(E,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},t.COMMENT(/\{\{!--/,/--\}\}/),t.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[b],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[h]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[b]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[h]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[C]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[C]}]}}function ox(t){const e="([0-9]_*)+",n="([0-9a-fA-F]_*)+",r="([01]_*)+",i="([0-7]_*)+",l="([!#$%&*+.\\/<=>?@\\\\^~-]|(?!([(),;\\[\\]`|{}]|[_:\"']))(\\p{S}|\\p{P}))",c={variants:[t.COMMENT("--+","$"),t.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},u={className:"meta",begin:/\{-#/,end:/#-\}/},d={className:"meta",begin:"^#",end:"$"},p={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},_={begin:"\\(",end:"\\)",illegal:'"',contains:[u,d,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},t.inherit(t.TITLE_MODE,{begin:"[_a-z][\\w']*"}),c]},m={begin:/\{/,end:/\}/,contains:_.contains},f={className:"number",relevance:0,variants:[{match:`\\b(${e})(\\.(${e}))?([eE][+-]?(${e}))?\\b`},{match:`\\b0[xX]_*(${n})(\\.(${n}))?([pP][+-]?(${e}))?\\b`},{match:`\\b0[oO](${i})\\b`},{match:`\\b0[bB](${r})\\b`}]};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",unicodeRegex:!0,contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[_,c],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[_,c],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[p,_,c]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[u,p,_,m,c]},{beginKeywords:"default",end:"$",contains:[p,_,c]},{beginKeywords:"infix infixl infixr",end:"$",contains:[t.C_NUMBER_MODE,c]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[p,t.QUOTE_STRING_MODE,c]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},u,d,{scope:"string",begin:/'(?=\\?.')/,end:/'/,contains:[{scope:"char.escape",match:/\\./}]},t.QUOTE_STRING_MODE,f,p,t.inherit(t.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),{begin:`(?!-)${l}--+|--+(?!-)${l}`},c,{begin:"->|<-"}]}}function ax(t){const e="[a-zA-Z_$][a-zA-Z0-9_$]*",n=/(-?)(\b0[xX][a-fA-F0-9_]+|(\b\d+(\.[\d_]*)?|\.[\d_]+)(([eE][-+]?\d+)|i32|u32|i64|f64)?)/;return{name:"Haxe",aliases:["hx"],keywords:{keyword:"abstract break case cast catch continue default do dynamic else enum extern final for function here if import in inline is macro never new override package private get set public return static super switch this throw trace try typedef untyped using var while "+"Int Float String Bool Dynamic Void Array ",built_in:"trace this",literal:"true false null _"},contains:[{className:"string",begin:"'",end:"'",contains:[t.BACKSLASH_ESCAPE,{className:"subst",begin:/\$\{/,end:/\}/},{className:"subst",begin:/\$/,end:/\W\}/}]},t.QUOTE_STRING_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"number",begin:n,relevance:0},{className:"variable",begin:"\\$"+e},{className:"meta",begin:/@:?/,end:/\(|$/,excludeEnd:!0},{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elseif end error"}},{className:"type",begin:/:[ \t]*/,end:/[^A-Za-z0-9_ \t\->]/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/:[ \t]*/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/new */,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"title.class",beginKeywords:"enum",end:/\{/,contains:[t.TITLE_MODE]},{className:"title.class",begin:"\\babstract\\b(?=\\s*"+t.IDENT_RE+"\\s*\\()",end:/[\{$]/,contains:[{className:"type",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/from +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/to +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},t.TITLE_MODE],keywords:{keyword:"abstract from to"}},{className:"title.class",begin:/\b(class|interface) +/,end:/[\{$]/,excludeEnd:!0,keywords:"class interface",contains:[{className:"keyword",begin:/\b(extends|implements) +/,keywords:"extends implements",contains:[{className:"type",begin:t.IDENT_RE,relevance:0}]},t.TITLE_MODE]},{className:"title.function",beginKeywords:"function",end:/\(/,excludeEnd:!0,illegal:/\S/,contains:[t.TITLE_MODE]}],illegal:/<\//}}function sx(t){return{name:"HSP",case_insensitive:!0,keywords:{$pattern:/[\w._]+/,keyword:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop"},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,{className:"string",begin:/\{"/,end:/"\}/,contains:[t.BACKSLASH_ESCAPE]},t.COMMENT(";","$",{relevance:0}),{className:"meta",begin:"#",end:"$",keywords:{keyword:"addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib"},contains:[t.inherit(t.QUOTE_STRING_MODE,{className:"string"}),t.NUMBER_MODE,t.C_NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"symbol",begin:"^\\*(\\w+|@)"},t.NUMBER_MODE,t.C_NUMBER_MODE]}}function lx(t){const e=t.regex,n="HTTP/([32]|1\\.[01])",r=/[A-Za-z][A-Za-z0-9-]*/,i={className:"attribute",begin:e.concat("^",r,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},o=[i,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+n+" \\d{3})",end:/$/,contains:[{className:"meta",begin:n},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:o}},{begin:"(?=^[A-Z]+ (.*?) "+n+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:n},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:o}},t.inherit(i,{relevance:0})]}}function cx(t){const e="a-zA-Z_\\-!.?+*=<>&#'",n="["+e+"]["+e+"0-9/;:]*",r={$pattern:n,built_in:"!= % %= & &= * ** **= *= *map + += , --build-class-- --import-- -= . / // //= /= < << <<= <= = > >= >> >>= @ @= ^ ^= abs accumulate all and any ap-compose ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast callable calling-module-name car case cdr chain chr coll? combinations compile compress cond cons cons? continue count curry cut cycle dec def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first flatten float? fn fnc fnr for for* format fraction genexpr gensym get getattr global globals group-by hasattr hash hex id identity if if* if-not if-python2 import in inc input instance? integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass iter iterable? iterate iterator? keyword keyword? lambda last len let lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all map max merge-with method-decorator min multi-decorator multicombinations name neg? next none? nonlocal not not-in not? nth numeric? oct odd? open or ord partition permutations pos? post-route postwalk pow prewalk print product profile/calls profile/cpu put-route quasiquote quote raise range read read-str recursive-replace reduce remove repeat repeatedly repr require rest round route route-with-methods rwm second seq set-comp setattr setv some sorted string string? sum switch symbol? take take-nth take-while tee try unless unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms xi xor yield yield-from zero? zip zip-longest | |= ~"},i="[-+]?\\d+(\\.\\d+)?",o={begin:n,relevance:0},a={className:"number",begin:i,relevance:0},s=t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),l=t.COMMENT(";","$",{relevance:0}),c={className:"literal",begin:/\b([Tt]rue|[Ff]alse|nil|None)\b/},u={begin:"[\\[\\{]",end:"[\\]\\}]",relevance:0},d={className:"comment",begin:"\\^"+n},p=t.COMMENT("\\^\\{","\\}"),_={className:"symbol",begin:"[:]{1,2}"+n},m={begin:"\\(",end:"\\)"},f={endsWithParent:!0,relevance:0},g={className:"name",relevance:0,keywords:r,begin:n,starts:f},E=[m,s,d,p,l,_,u,a,c,o];return m.contains=[t.COMMENT("comment",""),g,f],f.contains=E,u.contains=E,{name:"Hy",aliases:["hylang"],illegal:/\S/,contains:[t.SHEBANG(),m,s,d,p,l,_,u,a,c]}}function ux(t){const e="\\[",n="\\]";return{name:"Inform 7",aliases:["i7"],case_insensitive:!0,keywords:{keyword:"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},contains:[{className:"string",begin:'"',end:'"',relevance:0,contains:[{className:"subst",begin:e,end:n}]},{className:"section",begin:/^(Volume|Book|Part|Chapter|Section|Table)\b/,end:"$"},{begin:/^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,end:":",contains:[{begin:"\\(This",end:"\\)"}]},{className:"comment",begin:e,end:n,contains:["self"]}]}}function dx(t){const e=t.regex,n={className:"params",begin:"\\(",end:"\\)"},r=/(_[a-z_\d]+)?/,i=/([de][+-]?\d+)?/,o={className:"number",variants:[{begin:e.concat(/\b\d+/,/\.(\d*)/,i,r)},{begin:e.concat(/\b\d+/,i,r)},{begin:e.concat(/\.\d+/,i,r)}],relevance:0};return{name:"IRPF90",case_insensitive:!0,keywords:{literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"},illegal:/\/\*/,contains:[t.inherit(t.APOS_STRING_MODE,{className:"string",relevance:0}),t.inherit(t.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[t.UNDERSCORE_TITLE_MODE,n]},t.COMMENT("!","$",{relevance:0}),t.COMMENT("begin_doc","end_doc",{relevance:10}),o]}}function px(t){const e="[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*",n="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*",r="and и else иначе endexcept endfinally endforeach конецвсе endif конецесли endwhile конецпока except exitfor finally foreach все if если in в not не or или try while пока ",Ce="SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT SYSRES_CONST_ACCES_RIGHT_TYPE_FULL SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE SYSRES_CONST_ACCESS_NO_ACCESS_VIEW SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_TYPE_CHANGE SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE SYSRES_CONST_ACCESS_TYPE_EXISTS SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE SYSRES_CONST_ACCESS_TYPE_FULL SYSRES_CONST_ACCESS_TYPE_FULL_CODE SYSRES_CONST_ACCESS_TYPE_VIEW SYSRES_CONST_ACCESS_TYPE_VIEW_CODE SYSRES_CONST_ACTION_TYPE_ABORT SYSRES_CONST_ACTION_TYPE_ACCEPT SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT SYSRES_CONST_ACTION_TYPE_CHANGE_CARD SYSRES_CONST_ACTION_TYPE_CHANGE_KIND SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE SYSRES_CONST_ACTION_TYPE_CONTINUE SYSRES_CONST_ACTION_TYPE_COPY SYSRES_CONST_ACTION_TYPE_CREATE SYSRES_CONST_ACTION_TYPE_CREATE_VERSION SYSRES_CONST_ACTION_TYPE_DELETE SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT SYSRES_CONST_ACTION_TYPE_DELETE_VERSION SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE SYSRES_CONST_ACTION_TYPE_LOCK SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY SYSRES_CONST_ACTION_TYPE_MARK_AS_READED SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED SYSRES_CONST_ACTION_TYPE_MODIFY SYSRES_CONST_ACTION_TYPE_MODIFY_CARD SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE SYSRES_CONST_ACTION_TYPE_PERFORM SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY SYSRES_CONST_ACTION_TYPE_RESTART SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE SYSRES_CONST_ACTION_TYPE_REVISION SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL SYSRES_CONST_ACTION_TYPE_SIGN SYSRES_CONST_ACTION_TYPE_START SYSRES_CONST_ACTION_TYPE_UNLOCK SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER SYSRES_CONST_ACTION_TYPE_VERSION_STATE SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY SYSRES_CONST_ACTION_TYPE_VIEW SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE SYSRES_CONST_ADD_REFERENCE_MODE_NAME SYSRES_CONST_ADDITION_REQUISITE_CODE SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS SYSRES_CONST_ALL_USERS_GROUP SYSRES_CONST_ALL_USERS_GROUP_NAME SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE SYSRES_CONST_APPROVING_SIGNATURE_NAME SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN SYSRES_CONST_ATTACH_TYPE_DOC SYSRES_CONST_ATTACH_TYPE_EDOC SYSRES_CONST_ATTACH_TYPE_FOLDER SYSRES_CONST_ATTACH_TYPE_JOB SYSRES_CONST_ATTACH_TYPE_REFERENCE SYSRES_CONST_ATTACH_TYPE_TASK SYSRES_CONST_AUTH_ENCODED_PASSWORD SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE SYSRES_CONST_AUTH_NOVELL SYSRES_CONST_AUTH_PASSWORD SYSRES_CONST_AUTH_PASSWORD_CODE SYSRES_CONST_AUTH_WINDOWS SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_AUTO_ENUM_METHOD_FLAG SYSRES_CONST_AUTO_NUMERATION_CODE SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_USAGE_ALL SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE SYSRES_CONST_AUTOTEXT_USAGE_SIGN SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE SYSRES_CONST_AUTOTEXT_USAGE_WORK SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BTN_PART SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT SYSRES_CONST_CARD_PART SYSRES_CONST_CARD_REFERENCE_MODE_NAME SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT SYSRES_CONST_CODE_COMPONENT_TYPE_URL SYSRES_CONST_CODE_REQUISITE_ACCESS SYSRES_CONST_CODE_REQUISITE_CODE SYSRES_CONST_CODE_REQUISITE_COMPONENT SYSRES_CONST_CODE_REQUISITE_DESCRIPTION SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT SYSRES_CONST_CODE_REQUISITE_RECORD SYSRES_CONST_COMMENT_REQ_CODE SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE SYSRES_CONST_COMP_CODE_GRD SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DOCS SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_COMPONENT_TYPE_EDOCS SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_COMPONENT_TYPE_OTHER SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES SYSRES_CONST_COMPONENT_TYPE_REFERENCES SYSRES_CONST_COMPONENT_TYPE_REPORTS SYSRES_CONST_COMPONENT_TYPE_SCRIPTS SYSRES_CONST_COMPONENT_TYPE_URL SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION SYSRES_CONST_CONST_FIRM_STATUS_COMMON SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL SYSRES_CONST_CONST_NEGATIVE_VALUE SYSRES_CONST_CONST_POSITIVE_VALUE SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE SYSRES_CONST_CONTENTS_REQUISITE_CODE SYSRES_CONST_DATA_TYPE_BOOLEAN SYSRES_CONST_DATA_TYPE_DATE SYSRES_CONST_DATA_TYPE_FLOAT SYSRES_CONST_DATA_TYPE_INTEGER SYSRES_CONST_DATA_TYPE_PICK SYSRES_CONST_DATA_TYPE_REFERENCE SYSRES_CONST_DATA_TYPE_STRING SYSRES_CONST_DATA_TYPE_TEXT SYSRES_CONST_DATA_TYPE_VARIANT SYSRES_CONST_DATE_CLOSE_REQ_CODE SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR SYSRES_CONST_DATE_OPEN_REQ_CODE SYSRES_CONST_DATE_REQUISITE SYSRES_CONST_DATE_REQUISITE_CODE SYSRES_CONST_DATE_REQUISITE_NAME SYSRES_CONST_DATE_REQUISITE_TYPE SYSRES_CONST_DATE_TYPE_CHAR SYSRES_CONST_DATETIME_FORMAT_VALUE SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_DET1_PART SYSRES_CONST_DET2_PART SYSRES_CONST_DET3_PART SYSRES_CONST_DET4_PART SYSRES_CONST_DET5_PART SYSRES_CONST_DET6_PART SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE SYSRES_CONST_DETAIL_REQ_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME SYSRES_CONST_DOCUMENT_STORAGES_CODE SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME SYSRES_CONST_DOUBLE_REQUISITE_CODE SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE SYSRES_CONST_EDITORS_REFERENCE_CODE SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE SYSRES_CONST_EDOC_DATE_REQUISITE_CODE SYSRES_CONST_EDOC_KIND_REFERENCE_CODE SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE SYSRES_CONST_EDOC_NONE_ENCODE_CODE SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_READONLY_ACCESS_CODE SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE SYSRES_CONST_EDOC_WRITE_ACCES_CODE SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_END_DATE_REQUISITE_CODE SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE SYSRES_CONST_EXIST_CONST SYSRES_CONST_EXIST_VALUE SYSRES_CONST_EXPORT_LOCK_TYPE_ASK SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK SYSRES_CONST_EXPORT_VERSION_TYPE_ASK SYSRES_CONST_EXPORT_VERSION_TYPE_LAST SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE SYSRES_CONST_EXTENSION_REQUISITE_CODE SYSRES_CONST_FILTER_NAME_REQUISITE_CODE SYSRES_CONST_FILTER_REQUISITE_CODE SYSRES_CONST_FILTER_TYPE_COMMON_CODE SYSRES_CONST_FILTER_TYPE_COMMON_NAME SYSRES_CONST_FILTER_TYPE_USER_CODE SYSRES_CONST_FILTER_TYPE_USER_NAME SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR SYSRES_CONST_FLOAT_REQUISITE_TYPE SYSRES_CONST_FOLDER_AUTHOR_VALUE SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS SYSRES_CONST_FOLDER_KIND_COMPONENTS SYSRES_CONST_FOLDER_KIND_EDOCS SYSRES_CONST_FOLDER_KIND_JOBS SYSRES_CONST_FOLDER_KIND_TASKS SYSRES_CONST_FOLDER_TYPE_COMMON SYSRES_CONST_FOLDER_TYPE_COMPONENT SYSRES_CONST_FOLDER_TYPE_FAVORITES SYSRES_CONST_FOLDER_TYPE_INBOX SYSRES_CONST_FOLDER_TYPE_OUTBOX SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH SYSRES_CONST_FOLDER_TYPE_SEARCH SYSRES_CONST_FOLDER_TYPE_SHORTCUTS SYSRES_CONST_FOLDER_TYPE_USER SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG SYSRES_CONST_FULL_SUBSTITUTE_TYPE SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE SYSRES_CONST_FUNCTION_CANCEL_RESULT SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM SYSRES_CONST_FUNCTION_CATEGORY_USER SYSRES_CONST_FUNCTION_FAILURE_RESULT SYSRES_CONST_FUNCTION_SAVE_RESULT SYSRES_CONST_GENERATED_REQUISITE SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_USER_REQUISITE_CODE SYSRES_CONST_GROUPS_REFERENCE_CODE SYSRES_CONST_GROUPS_REQUISITE_CODE SYSRES_CONST_HIDDEN_MODE_NAME SYSRES_CONST_HIGH_LVL_REQUISITE_CODE SYSRES_CONST_HISTORY_ACTION_CREATE_CODE SYSRES_CONST_HISTORY_ACTION_DELETE_CODE SYSRES_CONST_HISTORY_ACTION_EDIT_CODE SYSRES_CONST_HOUR_CHAR SYSRES_CONST_ID_REQUISITE_CODE SYSRES_CONST_IDSPS_REQUISITE_CODE SYSRES_CONST_IMAGE_MODE_COLOR SYSRES_CONST_IMAGE_MODE_GREYSCALE SYSRES_CONST_IMAGE_MODE_MONOCHROME SYSRES_CONST_IMPORTANCE_HIGH SYSRES_CONST_IMPORTANCE_LOW SYSRES_CONST_IMPORTANCE_NORMAL SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE SYSRES_CONST_INT_REQUISITE SYSRES_CONST_INT_REQUISITE_TYPE SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR SYSRES_CONST_INTEGER_TYPE_CHAR SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_JOB_BLOCK_DESCRIPTION SYSRES_CONST_JOB_KIND_CONTROL_JOB SYSRES_CONST_JOB_KIND_JOB SYSRES_CONST_JOB_KIND_NOTICE SYSRES_CONST_JOB_STATE_ABORTED SYSRES_CONST_JOB_STATE_COMPLETE SYSRES_CONST_JOB_STATE_WORKING SYSRES_CONST_KIND_REQUISITE_CODE SYSRES_CONST_KIND_REQUISITE_NAME SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE SYSRES_CONST_KOD_INPUT_TYPE SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT SYSRES_CONST_LINK_OBJECT_KIND_EDOC SYSRES_CONST_LINK_OBJECT_KIND_FOLDER SYSRES_CONST_LINK_OBJECT_KIND_JOB SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE SYSRES_CONST_LINK_OBJECT_KIND_TASK SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE SYSRES_CONST_LIST_REFERENCE_MODE_NAME SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE SYSRES_CONST_MAIN_VIEW_CODE SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE SYSRES_CONST_MAXIMIZED_MODE_NAME SYSRES_CONST_ME_VALUE SYSRES_CONST_MESSAGE_ATTENTION_CAPTION SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION SYSRES_CONST_MESSAGE_ERROR_CAPTION SYSRES_CONST_MESSAGE_INFORMATION_CAPTION SYSRES_CONST_MINIMIZED_MODE_NAME SYSRES_CONST_MINUTE_CHAR SYSRES_CONST_MODULE_REQUISITE_CODE SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION SYSRES_CONST_MONTH_FORMAT_VALUE SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_NAME_REQUISITE_CODE SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE SYSRES_CONST_NAMEAN_INPUT_TYPE SYSRES_CONST_NEGATIVE_PICK_VALUE SYSRES_CONST_NEGATIVE_VALUE SYSRES_CONST_NO SYSRES_CONST_NO_PICK_VALUE SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE SYSRES_CONST_NO_VALUE SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_NORMAL_MODE_NAME SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_NOTE_REQUISITE_CODE SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION SYSRES_CONST_NUM_REQUISITE SYSRES_CONST_NUM_STR_REQUISITE_CODE SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG SYSRES_CONST_NUMERATION_AUTO_STRONG SYSRES_CONST_NUMERATION_FROM_DICTONARY SYSRES_CONST_NUMERATION_MANUAL SYSRES_CONST_NUMERIC_TYPE_CHAR SYSRES_CONST_NUMREQ_REQUISITE_CODE SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_ORIGINALREF_REQUISITE_CODE SYSRES_CONST_OURFIRM_REF_CODE SYSRES_CONST_OURFIRM_REQUISITE_CODE SYSRES_CONST_OURFIRM_VAR SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE SYSRES_CONST_PICK_NEGATIVE_RESULT SYSRES_CONST_PICK_POSITIVE_RESULT SYSRES_CONST_PICK_REQUISITE SYSRES_CONST_PICK_REQUISITE_TYPE SYSRES_CONST_PICK_TYPE_CHAR SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE SYSRES_CONST_PLATFORM_VERSION_COMMENT SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_POSITIVE_PICK_VALUE SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE SYSRES_CONST_PRIORITY_REQUISITE_CODE SYSRES_CONST_QUALIFIED_TASK_TYPE SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE SYSRES_CONST_RECSTAT_REQUISITE_CODE SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_REF_REQUISITE SYSRES_CONST_REF_REQUISITE_TYPE SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE SYSRES_CONST_REFERENCE_TYPE_CHAR SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_MODE_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_EDIT_CODE SYSRES_CONST_REQ_MODE_HIDDEN_CODE SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_VIEW_CODE SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE SYSRES_CONST_REQ_SECTION_VALUE SYSRES_CONST_REQ_TYPE_VALUE SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME SYSRES_CONST_REQUISITE_FORMAT_LEFT SYSRES_CONST_REQUISITE_FORMAT_RIGHT SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_REQUISITE_SECTION_ACTIONS SYSRES_CONST_REQUISITE_SECTION_BUTTON SYSRES_CONST_REQUISITE_SECTION_BUTTONS SYSRES_CONST_REQUISITE_SECTION_CARD SYSRES_CONST_REQUISITE_SECTION_TABLE SYSRES_CONST_REQUISITE_SECTION_TABLE10 SYSRES_CONST_REQUISITE_SECTION_TABLE11 SYSRES_CONST_REQUISITE_SECTION_TABLE12 SYSRES_CONST_REQUISITE_SECTION_TABLE13 SYSRES_CONST_REQUISITE_SECTION_TABLE14 SYSRES_CONST_REQUISITE_SECTION_TABLE15 SYSRES_CONST_REQUISITE_SECTION_TABLE16 SYSRES_CONST_REQUISITE_SECTION_TABLE17 SYSRES_CONST_REQUISITE_SECTION_TABLE18 SYSRES_CONST_REQUISITE_SECTION_TABLE19 SYSRES_CONST_REQUISITE_SECTION_TABLE2 SYSRES_CONST_REQUISITE_SECTION_TABLE20 SYSRES_CONST_REQUISITE_SECTION_TABLE21 SYSRES_CONST_REQUISITE_SECTION_TABLE22 SYSRES_CONST_REQUISITE_SECTION_TABLE23 SYSRES_CONST_REQUISITE_SECTION_TABLE24 SYSRES_CONST_REQUISITE_SECTION_TABLE3 SYSRES_CONST_REQUISITE_SECTION_TABLE4 SYSRES_CONST_REQUISITE_SECTION_TABLE5 SYSRES_CONST_REQUISITE_SECTION_TABLE6 SYSRES_CONST_REQUISITE_SECTION_TABLE7 SYSRES_CONST_REQUISITE_SECTION_TABLE8 SYSRES_CONST_REQUISITE_SECTION_TABLE9 SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_RIGHT_ALIGNMENT_CODE SYSRES_CONST_ROLES_REFERENCE_CODE SYSRES_CONST_ROUTE_STEP_AFTER_RUS SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS SYSRES_CONST_ROUTE_TYPE_COMPLEX SYSRES_CONST_ROUTE_TYPE_PARALLEL SYSRES_CONST_ROUTE_TYPE_SERIAL SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE SYSRES_CONST_SEARCHES_COMPONENT_CONTENT SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME SYSRES_CONST_SEARCHES_EDOC_CONTENT SYSRES_CONST_SEARCHES_FOLDER_CONTENT SYSRES_CONST_SEARCHES_JOB_CONTENT SYSRES_CONST_SEARCHES_REFERENCE_CODE SYSRES_CONST_SEARCHES_TASK_CONTENT SYSRES_CONST_SECOND_CHAR SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE SYSRES_CONST_SECTION_REQUISITE_CODE SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE SYSRES_CONST_SELECT_REFERENCE_MODE_NAME SYSRES_CONST_SELECT_TYPE_SELECTABLE SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD SYSRES_CONST_SELECT_TYPE_UNSLECTABLE SYSRES_CONST_SERVER_TYPE_MAIN SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE SYSRES_CONST_STATE_REQ_NAME SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE SYSRES_CONST_STATE_REQUISITE_CODE SYSRES_CONST_STATIC_ROLE_TYPE_CODE SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE SYSRES_CONST_STATUS_VALUE_AUTOCLEANING SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE SYSRES_CONST_STATUS_VALUE_COMPLETE SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE SYSRES_CONST_STATUS_VALUE_RED_SQUARE SYSRES_CONST_STATUS_VALUE_SUSPEND SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE SYSRES_CONST_STORAGE_TYPE_FILE SYSRES_CONST_STORAGE_TYPE_SQL_SERVER SYSRES_CONST_STR_REQUISITE SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR SYSRES_CONST_STRING_REQUISITE_CODE SYSRES_CONST_STRING_REQUISITE_TYPE SYSRES_CONST_STRING_TYPE_CHAR SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE SYSRES_CONST_SYSTEM_VERSION_COMMENT SYSRES_CONST_TASK_ACCESS_TYPE_ALL SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD SYSRES_CONST_TASK_ENCODE_TYPE_NONE SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD SYSRES_CONST_TASK_ROUTE_ALL_CONDITION SYSRES_CONST_TASK_ROUTE_AND_CONDITION SYSRES_CONST_TASK_ROUTE_OR_CONDITION SYSRES_CONST_TASK_STATE_ABORTED SYSRES_CONST_TASK_STATE_COMPLETE SYSRES_CONST_TASK_STATE_CONTINUED SYSRES_CONST_TASK_STATE_CONTROL SYSRES_CONST_TASK_STATE_INIT SYSRES_CONST_TASK_STATE_WORKING SYSRES_CONST_TASK_TITLE SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE SYSRES_CONST_TASK_TYPES_REFERENCE_CODE SYSRES_CONST_TEMPLATES_REFERENCE_CODE SYSRES_CONST_TEST_DATE_REQUISITE_NAME SYSRES_CONST_TEST_DEV_DATABASE_NAME SYSRES_CONST_TEST_DEV_SYSTEM_CODE SYSRES_CONST_TEST_EDMS_DATABASE_NAME SYSRES_CONST_TEST_EDMS_MAIN_CODE SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME SYSRES_CONST_TEST_EDMS_SECOND_CODE SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME SYSRES_CONST_TEST_EDMS_SYSTEM_CODE SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME SYSRES_CONST_TEXT_REQUISITE SYSRES_CONST_TEXT_REQUISITE_CODE SYSRES_CONST_TEXT_REQUISITE_TYPE SYSRES_CONST_TEXT_TYPE_CHAR SYSRES_CONST_TYPE_CODE_REQUISITE_CODE SYSRES_CONST_TYPE_REQUISITE_CODE SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME SYSRES_CONST_USE_ACCESS_TYPE_CODE SYSRES_CONST_USE_ACCESS_TYPE_NAME SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE SYSRES_CONST_USER_CATEGORY_NORMAL SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE SYSRES_CONST_USER_COMMON_CATEGORY SYSRES_CONST_USER_COMMON_CATEGORY_CODE SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_USER_LOGIN_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_USER_SERVICE_CATEGORY SYSRES_CONST_USER_SERVICE_CATEGORY_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME SYSRES_CONST_USER_STATUS_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_DEVELOPER_NAME SYSRES_CONST_USER_STATUS_DISABLED_CODE SYSRES_CONST_USER_STATUS_DISABLED_NAME SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_USER_CODE SYSRES_CONST_USER_STATUS_USER_NAME SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER SYSRES_CONST_USER_TYPE_REQUISITE_CODE SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE SYSRES_CONST_USERS_REFERENCE_CODE SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME SYSRES_CONST_USERS_REQUISITE_CODE SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME SYSRES_CONST_VIEW_DEFAULT_CODE SYSRES_CONST_VIEW_DEFAULT_NAME SYSRES_CONST_VIEWER_REQUISITE_CODE SYSRES_CONST_WAITING_BLOCK_DESCRIPTION SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT SYSRES_CONST_XML_ENCODING SYSRES_CONST_XREC_STAT_REQUISITE_CODE SYSRES_CONST_XRECID_FIELD_NAME SYSRES_CONST_YES SYSRES_CONST_YES_NO_2_REQUISITE_CODE SYSRES_CONST_YES_NO_REQUISITE_CODE SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_YES_PICK_VALUE SYSRES_CONST_YES_VALUE "+"CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE "+"ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME "+"DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY "+"ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION "+"JOB_BLOCK_ABORT_DEADLINE_PROPERTY JOB_BLOCK_AFTER_FINISH_EVENT JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT JOB_BLOCK_ATTACHMENT_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT JOB_BLOCK_BEFORE_START_EVENT JOB_BLOCK_CREATED_JOBS_PROPERTY JOB_BLOCK_DEADLINE_PROPERTY JOB_BLOCK_EXECUTION_RESULTS_PROPERTY JOB_BLOCK_IS_PARALLEL_PROPERTY JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY JOB_BLOCK_JOB_TEXT_PROPERTY JOB_BLOCK_NAME_PROPERTY JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY JOB_BLOCK_PERFORMER_PROPERTY JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY JOB_BLOCK_SUBJECT_PROPERTY "+"ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE "+"smHidden smMaximized smMinimized smNormal wmNo wmYes "+"COMPONENT_TOKEN_LINK_KIND DOCUMENT_LINK_KIND EDOCUMENT_LINK_KIND FOLDER_LINK_KIND JOB_LINK_KIND REFERENCE_LINK_KIND TASK_LINK_KIND "+"COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE "+"MONITOR_BLOCK_AFTER_FINISH_EVENT MONITOR_BLOCK_BEFORE_START_EVENT MONITOR_BLOCK_DEADLINE_PROPERTY MONITOR_BLOCK_INTERVAL_PROPERTY MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY MONITOR_BLOCK_NAME_PROPERTY MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY "+"NOTICE_BLOCK_AFTER_FINISH_EVENT NOTICE_BLOCK_ATTACHMENT_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY NOTICE_BLOCK_BEFORE_START_EVENT NOTICE_BLOCK_CREATED_NOTICES_PROPERTY NOTICE_BLOCK_DEADLINE_PROPERTY NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY NOTICE_BLOCK_NAME_PROPERTY NOTICE_BLOCK_NOTICE_TEXT_PROPERTY NOTICE_BLOCK_PERFORMER_PROPERTY NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY NOTICE_BLOCK_SUBJECT_PROPERTY "+"dseAfterCancel dseAfterClose dseAfterDelete dseAfterDeleteOutOfTransaction dseAfterInsert dseAfterOpen dseAfterScroll dseAfterUpdate dseAfterUpdateOutOfTransaction dseBeforeCancel dseBeforeClose dseBeforeDelete dseBeforeDetailUpdate dseBeforeInsert dseBeforeOpen dseBeforeUpdate dseOnAnyRequisiteChange dseOnCloseRecord dseOnDeleteError dseOnOpenRecord dseOnPrepareUpdate dseOnUpdateError dseOnUpdateRatifiedRecord dseOnValidDelete dseOnValidUpdate reOnChange reOnChangeValues SELECTION_BEGIN_ROUTE_EVENT SELECTION_END_ROUTE_EVENT "+"CURRENT_PERIOD_IS_REQUIRED PREVIOUS_CARD_TYPE_NAME SHOW_RECORD_PROPERTIES_FORM "+"ACCESS_RIGHTS_SETTING_DIALOG_CODE ADMINISTRATOR_USER_CODE ANALYTIC_REPORT_TYPE asrtHideLocal asrtHideRemote CALCULATED_ROLE_TYPE_CODE COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE DCTS_TEST_PROTOCOLS_FOLDER_PATH E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER E_EDOC_VERSION_ALREDY_SIGNED E_EDOC_VERSION_ALREDY_SIGNED_BY_USER EDOC_TYPES_CODE_REQUISITE_FIELD_NAME EDOCUMENTS_ALIAS_NAME FILES_FOLDER_PATH FILTER_OPERANDS_DELIMITER FILTER_OPERATIONS_DELIMITER FORMCARD_NAME FORMLIST_NAME GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE INTEGRATED_REPORT_TYPE IS_BUILDER_APPLICATION_ROLE IS_BUILDER_APPLICATION_ROLE2 IS_BUILDER_USERS ISBSYSDEV LOG_FOLDER_PATH mbCancel mbNo mbNoToAll mbOK mbYes mbYesToAll MEMORY_DATASET_DESRIPTIONS_FILENAME mrNo mrNoToAll mrYes mrYesToAll MULTIPLE_SELECT_DIALOG_CODE NONOPERATING_RECORD_FLAG_FEMININE NONOPERATING_RECORD_FLAG_MASCULINE OPERATING_RECORD_FLAG_FEMININE OPERATING_RECORD_FLAG_MASCULINE PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE PROGRAM_INITIATED_LOOKUP_ACTION ratDelete ratEdit ratInsert REPORT_TYPE REQUIRED_PICK_VALUES_VARIABLE rmCard rmList SBRTE_PROGID_DEV SBRTE_PROGID_RELEASE STATIC_ROLE_TYPE_CODE SUPPRESS_EMPTY_TEMPLATE_CREATION SYSTEM_USER_CODE UPDATE_DIALOG_DATASET USED_IN_OBJECT_HINT_PARAM USER_INITIATED_LOOKUP_ACTION USER_NAME_FORMAT USER_SELECTION_RESTRICTIONS WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH ELS_SUBTYPE_CONTROL_NAME ELS_FOLDER_KIND_CONTROL_NAME REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME "+"PRIVILEGE_COMPONENT_FULL_ACCESS PRIVILEGE_DEVELOPMENT_EXPORT PRIVILEGE_DEVELOPMENT_IMPORT PRIVILEGE_DOCUMENT_DELETE PRIVILEGE_ESD PRIVILEGE_FOLDER_DELETE PRIVILEGE_MANAGE_ACCESS_RIGHTS PRIVILEGE_MANAGE_REPLICATION PRIVILEGE_MANAGE_SESSION_SERVER PRIVILEGE_OBJECT_FULL_ACCESS PRIVILEGE_OBJECT_VIEW PRIVILEGE_RESERVE_LICENSE PRIVILEGE_SYSTEM_CUSTOMIZE PRIVILEGE_SYSTEM_DEVELOP PRIVILEGE_SYSTEM_INSTALL PRIVILEGE_TASK_DELETE PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE PRIVILEGES_PSEUDOREFERENCE_CODE "+"ACCESS_TYPES_PSEUDOREFERENCE_CODE ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE COMPONENTS_PSEUDOREFERENCE_CODE FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE GROUPS_PSEUDOREFERENCE_CODE RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE REFTYPES_PSEUDOREFERENCE_CODE REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE SEND_PROTOCOL_PSEUDOREFERENCE_CODE SUBSTITUTES_PSEUDOREFERENCE_CODE SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE UNITS_PSEUDOREFERENCE_CODE USERS_PSEUDOREFERENCE_CODE VIEWERS_PSEUDOREFERENCE_CODE "+"CERTIFICATE_TYPE_ENCRYPT CERTIFICATE_TYPE_SIGN CERTIFICATE_TYPE_SIGN_AND_ENCRYPT "+"STORAGE_TYPE_FILE STORAGE_TYPE_NAS_CIFS STORAGE_TYPE_SAPERION STORAGE_TYPE_SQL_SERVER "+"COMPTYPE2_REQUISITE_DOCUMENTS_VALUE COMPTYPE2_REQUISITE_TASKS_VALUE COMPTYPE2_REQUISITE_FOLDERS_VALUE COMPTYPE2_REQUISITE_REFERENCES_VALUE "+"SYSREQ_CODE SYSREQ_COMPTYPE2 SYSREQ_CONST_AVAILABLE_FOR_WEB SYSREQ_CONST_COMMON_CODE SYSREQ_CONST_COMMON_VALUE SYSREQ_CONST_FIRM_CODE SYSREQ_CONST_FIRM_STATUS SYSREQ_CONST_FIRM_VALUE SYSREQ_CONST_SERVER_STATUS SYSREQ_CONTENTS SYSREQ_DATE_OPEN SYSREQ_DATE_CLOSE SYSREQ_DESCRIPTION SYSREQ_DESCRIPTION_LOCALIZE_ID SYSREQ_DOUBLE SYSREQ_EDOC_ACCESS_TYPE SYSREQ_EDOC_AUTHOR SYSREQ_EDOC_CREATED SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE SYSREQ_EDOC_EDITOR SYSREQ_EDOC_ENCODE_TYPE SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_EXPORT_DATE SYSREQ_EDOC_EXPORTER SYSREQ_EDOC_KIND SYSREQ_EDOC_LIFE_STAGE_NAME SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE SYSREQ_EDOC_MODIFIED SYSREQ_EDOC_NAME SYSREQ_EDOC_NOTE SYSREQ_EDOC_QUALIFIED_ID SYSREQ_EDOC_SESSION_KEY SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_SIGNATURE_TYPE SYSREQ_EDOC_SIGNED SYSREQ_EDOC_STORAGE SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE SYSREQ_EDOC_STORAGES_CHECK_RIGHTS SYSREQ_EDOC_STORAGES_COMPUTER_NAME SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE SYSREQ_EDOC_STORAGES_FUNCTION SYSREQ_EDOC_STORAGES_INITIALIZED SYSREQ_EDOC_STORAGES_LOCAL_PATH SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT SYSREQ_EDOC_STORAGES_SERVER_NAME SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME SYSREQ_EDOC_STORAGES_TYPE SYSREQ_EDOC_TEXT_MODIFIED SYSREQ_EDOC_TYPE_ACT_CODE SYSREQ_EDOC_TYPE_ACT_DESCRIPTION SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_EDOC_TYPE_ACT_SECTION SYSREQ_EDOC_TYPE_ADD_PARAMS SYSREQ_EDOC_TYPE_COMMENT SYSREQ_EDOC_TYPE_EVENT_TEXT SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID SYSREQ_EDOC_TYPE_NUMERATION_METHOD SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE SYSREQ_EDOC_TYPE_REQ_CODE SYSREQ_EDOC_TYPE_REQ_DESCRIPTION SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_REQ_IS_LEADING SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED SYSREQ_EDOC_TYPE_REQ_NUMBER SYSREQ_EDOC_TYPE_REQ_ON_CHANGE SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_EDOC_TYPE_REQ_ON_SELECT SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND SYSREQ_EDOC_TYPE_REQ_SECTION SYSREQ_EDOC_TYPE_VIEW_CARD SYSREQ_EDOC_TYPE_VIEW_CODE SYSREQ_EDOC_TYPE_VIEW_COMMENT SYSREQ_EDOC_TYPE_VIEW_IS_MAIN SYSREQ_EDOC_TYPE_VIEW_NAME SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_EDOC_VERSION_AUTHOR SYSREQ_EDOC_VERSION_CRC SYSREQ_EDOC_VERSION_DATA SYSREQ_EDOC_VERSION_EDITOR SYSREQ_EDOC_VERSION_EXPORT_DATE SYSREQ_EDOC_VERSION_EXPORTER SYSREQ_EDOC_VERSION_HIDDEN SYSREQ_EDOC_VERSION_LIFE_STAGE SYSREQ_EDOC_VERSION_MODIFIED SYSREQ_EDOC_VERSION_NOTE SYSREQ_EDOC_VERSION_SIGNATURE_TYPE SYSREQ_EDOC_VERSION_SIGNED SYSREQ_EDOC_VERSION_SIZE SYSREQ_EDOC_VERSION_SOURCE SYSREQ_EDOC_VERSION_TEXT_MODIFIED SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE SYSREQ_FOLDER_KIND SYSREQ_FUNC_CATEGORY SYSREQ_FUNC_COMMENT SYSREQ_FUNC_GROUP SYSREQ_FUNC_GROUP_COMMENT SYSREQ_FUNC_GROUP_NUMBER SYSREQ_FUNC_HELP SYSREQ_FUNC_PARAM_DEF_VALUE SYSREQ_FUNC_PARAM_IDENT SYSREQ_FUNC_PARAM_NUMBER SYSREQ_FUNC_PARAM_TYPE SYSREQ_FUNC_TEXT SYSREQ_GROUP_CATEGORY SYSREQ_ID SYSREQ_LAST_UPDATE SYSREQ_LEADER_REFERENCE SYSREQ_LINE_NUMBER SYSREQ_MAIN_RECORD_ID SYSREQ_NAME SYSREQ_NAME_LOCALIZE_ID SYSREQ_NOTE SYSREQ_ORIGINAL_RECORD SYSREQ_OUR_FIRM SYSREQ_PROFILING_SETTINGS_BATCH_LOGING SYSREQ_PROFILING_SETTINGS_BATCH_SIZE SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_START_LOGGED SYSREQ_RECORD_STATUS SYSREQ_REF_REQ_FIELD_NAME SYSREQ_REF_REQ_FORMAT SYSREQ_REF_REQ_GENERATED SYSREQ_REF_REQ_LENGTH SYSREQ_REF_REQ_PRECISION SYSREQ_REF_REQ_REFERENCE SYSREQ_REF_REQ_SECTION SYSREQ_REF_REQ_STORED SYSREQ_REF_REQ_TOKENS SYSREQ_REF_REQ_TYPE SYSREQ_REF_REQ_VIEW SYSREQ_REF_TYPE_ACT_CODE SYSREQ_REF_TYPE_ACT_DESCRIPTION SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_ACT_ON_EXECUTE SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_REF_TYPE_ACT_SECTION SYSREQ_REF_TYPE_ADD_PARAMS SYSREQ_REF_TYPE_COMMENT SYSREQ_REF_TYPE_COMMON_SETTINGS SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME SYSREQ_REF_TYPE_EVENT_TEXT SYSREQ_REF_TYPE_MAIN_LEADING_REF SYSREQ_REF_TYPE_NAME_IN_SINGULAR SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_REF_TYPE_NAME_LOCALIZE_ID SYSREQ_REF_TYPE_NUMERATION_METHOD SYSREQ_REF_TYPE_REQ_CODE SYSREQ_REF_TYPE_REQ_DESCRIPTION SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_REQ_IS_CONTROL SYSREQ_REF_TYPE_REQ_IS_FILTER SYSREQ_REF_TYPE_REQ_IS_LEADING SYSREQ_REF_TYPE_REQ_IS_REQUIRED SYSREQ_REF_TYPE_REQ_NUMBER SYSREQ_REF_TYPE_REQ_ON_CHANGE SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_REF_TYPE_REQ_ON_SELECT SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND SYSREQ_REF_TYPE_REQ_SECTION SYSREQ_REF_TYPE_VIEW_CARD SYSREQ_REF_TYPE_VIEW_CODE SYSREQ_REF_TYPE_VIEW_COMMENT SYSREQ_REF_TYPE_VIEW_IS_MAIN SYSREQ_REF_TYPE_VIEW_NAME SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_REFERENCE_TYPE_ID SYSREQ_STATE SYSREQ_STATЕ SYSREQ_SYSTEM_SETTINGS_VALUE SYSREQ_TYPE SYSREQ_UNIT SYSREQ_UNIT_ID SYSREQ_USER_GROUPS_GROUP_FULL_NAME SYSREQ_USER_GROUPS_GROUP_NAME SYSREQ_USER_GROUPS_GROUP_SERVER_NAME SYSREQ_USERS_ACCESS_RIGHTS SYSREQ_USERS_AUTHENTICATION SYSREQ_USERS_CATEGORY SYSREQ_USERS_COMPONENT SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC SYSREQ_USERS_DOMAIN SYSREQ_USERS_FULL_USER_NAME SYSREQ_USERS_GROUP SYSREQ_USERS_IS_MAIN_SERVER SYSREQ_USERS_LOGIN SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC SYSREQ_USERS_STATUS SYSREQ_USERS_USER_CERTIFICATE SYSREQ_USERS_USER_CERTIFICATE_INFO SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION SYSREQ_USERS_USER_CERTIFICATE_STATE SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT SYSREQ_USERS_USER_DEFAULT_CERTIFICATE SYSREQ_USERS_USER_DESCRIPTION SYSREQ_USERS_USER_GLOBAL_NAME SYSREQ_USERS_USER_LOGIN SYSREQ_USERS_USER_MAIN_SERVER SYSREQ_USERS_USER_TYPE SYSREQ_WORK_RULES_FOLDER_ID "+"RESULT_VAR_NAME RESULT_VAR_NAME_ENG "+"AUTO_NUMERATION_RULE_ID CANT_CHANGE_ID_REQUISITE_RULE_ID CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID CHECK_CODE_REQUISITE_RULE_ID CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID CHECK_FILTRATER_CHANGES_RULE_ID CHECK_RECORD_INTERVAL_RULE_ID CHECK_REFERENCE_INTERVAL_RULE_ID CHECK_REQUIRED_DATA_FULLNESS_RULE_ID CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID MAKE_RECORD_UNRATIFIED_RULE_ID RESTORE_AUTO_NUMERATION_RULE_ID SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID SET_IDSPS_VALUE_RULE_ID SET_NEXT_CODE_VALUE_RULE_ID SET_OURFIRM_BOUNDS_RULE_ID SET_OURFIRM_REQUISITE_RULE_ID "+"SCRIPT_BLOCK_AFTER_FINISH_EVENT SCRIPT_BLOCK_BEFORE_START_EVENT SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY SCRIPT_BLOCK_NAME_PROPERTY SCRIPT_BLOCK_SCRIPT_PROPERTY "+"SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_AFTER_FINISH_EVENT SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT SUBTASK_BLOCK_ATTACHMENTS_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY SUBTASK_BLOCK_BEFORE_START_EVENT SUBTASK_BLOCK_CREATED_TASK_PROPERTY SUBTASK_BLOCK_CREATION_EVENT SUBTASK_BLOCK_DEADLINE_PROPERTY SUBTASK_BLOCK_IMPORTANCE_PROPERTY SUBTASK_BLOCK_INITIATOR_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY SUBTASK_BLOCK_JOBS_TYPE_PROPERTY SUBTASK_BLOCK_NAME_PROPERTY SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY SUBTASK_BLOCK_PERFORMERS_PROPERTY SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_START_EVENT SUBTASK_BLOCK_STEP_CONTROL_PROPERTY SUBTASK_BLOCK_SUBJECT_PROPERTY SUBTASK_BLOCK_TASK_CONTROL_PROPERTY SUBTASK_BLOCK_TEXT_PROPERTY SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY "+"SYSCOMP_CONTROL_JOBS SYSCOMP_FOLDERS SYSCOMP_JOBS SYSCOMP_NOTICES SYSCOMP_TASKS "+"SYSDLG_CREATE_EDOCUMENT SYSDLG_CREATE_EDOCUMENT_VERSION SYSDLG_CURRENT_PERIOD SYSDLG_EDIT_FUNCTION_HELP SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS SYSDLG_EXPORT_SINGLE_EDOCUMENT SYSDLG_IMPORT_EDOCUMENT SYSDLG_MULTIPLE_SELECT SYSDLG_SETUP_ACCESS_RIGHTS SYSDLG_SETUP_DEFAULT_RIGHTS SYSDLG_SETUP_FILTER_CONDITION SYSDLG_SETUP_SIGN_RIGHTS SYSDLG_SETUP_TASK_OBSERVERS SYSDLG_SETUP_TASK_ROUTE SYSDLG_SETUP_USERS_LIST SYSDLG_SIGN_EDOCUMENT SYSDLG_SIGN_MULTIPLE_EDOCUMENTS "+"SYSREF_ACCESS_RIGHTS_TYPES SYSREF_ADMINISTRATION_HISTORY SYSREF_ALL_AVAILABLE_COMPONENTS SYSREF_ALL_AVAILABLE_PRIVILEGES SYSREF_ALL_REPLICATING_COMPONENTS SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS SYSREF_CALENDAR_EVENTS SYSREF_COMPONENT_TOKEN_HISTORY SYSREF_COMPONENT_TOKENS SYSREF_COMPONENTS SYSREF_CONSTANTS SYSREF_DATA_RECEIVE_PROTOCOL SYSREF_DATA_SEND_PROTOCOL SYSREF_DIALOGS SYSREF_DIALOGS_REQUISITES SYSREF_EDITORS SYSREF_EDOC_CARDS SYSREF_EDOC_TYPES SYSREF_EDOCUMENT_CARD_REQUISITES SYSREF_EDOCUMENT_CARD_TYPES SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE SYSREF_EDOCUMENT_CARDS SYSREF_EDOCUMENT_HISTORY SYSREF_EDOCUMENT_KINDS SYSREF_EDOCUMENT_REQUISITES SYSREF_EDOCUMENT_SIGNATURES SYSREF_EDOCUMENT_TEMPLATES SYSREF_EDOCUMENT_TEXT_STORAGES SYSREF_EDOCUMENT_VIEWS SYSREF_FILTERER_SETUP_CONFLICTS SYSREF_FILTRATER_SETTING_CONFLICTS SYSREF_FOLDER_HISTORY SYSREF_FOLDERS SYSREF_FUNCTION_GROUPS SYSREF_FUNCTION_PARAMS SYSREF_FUNCTIONS SYSREF_JOB_HISTORY SYSREF_LINKS SYSREF_LOCALIZATION_DICTIONARY SYSREF_LOCALIZATION_LANGUAGES SYSREF_MODULES SYSREF_PRIVILEGES SYSREF_RECORD_HISTORY SYSREF_REFERENCE_REQUISITES SYSREF_REFERENCE_TYPE_VIEWS SYSREF_REFERENCE_TYPES SYSREF_REFERENCES SYSREF_REFERENCES_REQUISITES SYSREF_REMOTE_SERVERS SYSREF_REPLICATION_SESSIONS_LOG SYSREF_REPLICATION_SESSIONS_PROTOCOL SYSREF_REPORTS SYSREF_ROLES SYSREF_ROUTE_BLOCK_GROUPS SYSREF_ROUTE_BLOCKS SYSREF_SCRIPTS SYSREF_SEARCHES SYSREF_SERVER_EVENTS SYSREF_SERVER_EVENTS_HISTORY SYSREF_STANDARD_ROUTE_GROUPS SYSREF_STANDARD_ROUTES SYSREF_STATUSES SYSREF_SYSTEM_SETTINGS SYSREF_TASK_HISTORY SYSREF_TASK_KIND_GROUPS SYSREF_TASK_KINDS SYSREF_TASK_RIGHTS SYSREF_TASK_SIGNATURES SYSREF_TASKS SYSREF_UNITS SYSREF_USER_GROUPS SYSREF_USER_GROUPS_REFERENCE SYSREF_USER_SUBSTITUTION SYSREF_USERS SYSREF_USERS_REFERENCE SYSREF_VIEWERS SYSREF_WORKING_TIME_CALENDARS "+"ACCESS_RIGHTS_TABLE_NAME EDMS_ACCESS_TABLE_NAME EDOC_TYPES_TABLE_NAME "+"TEST_DEV_DB_NAME TEST_DEV_SYSTEM_CODE TEST_EDMS_DB_NAME TEST_EDMS_MAIN_CODE TEST_EDMS_MAIN_DB_NAME TEST_EDMS_SECOND_CODE TEST_EDMS_SECOND_DB_NAME TEST_EDMS_SYSTEM_CODE TEST_ISB5_MAIN_CODE TEST_ISB5_SECOND_CODE TEST_SQL_SERVER_2005_NAME TEST_SQL_SERVER_NAME "+"ATTENTION_CAPTION cbsCommandLinks cbsDefault CONFIRMATION_CAPTION ERROR_CAPTION INFORMATION_CAPTION mrCancel mrOk "+"EDOC_VERSION_ACTIVE_STAGE_CODE EDOC_VERSION_DESIGN_STAGE_CODE EDOC_VERSION_OBSOLETE_STAGE_CODE "+"cpDataEnciphermentEnabled cpDigitalSignatureEnabled cpID cpIssuer cpPluginVersion cpSerial cpSubjectName cpSubjSimpleName cpValidFromDate cpValidToDate "+"ISBL_SYNTAX NO_SYNTAX XML_SYNTAX "+"WAIT_BLOCK_AFTER_FINISH_EVENT WAIT_BLOCK_BEFORE_START_EVENT WAIT_BLOCK_DEADLINE_PROPERTY WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY WAIT_BLOCK_NAME_PROPERTY WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY "+"SYSRES_COMMON SYSRES_CONST SYSRES_MBFUNC SYSRES_SBDATA SYSRES_SBGUI SYSRES_SBINTF SYSRES_SBREFDSC SYSRES_SQLERRORS SYSRES_SYSCOMP ",gE="atUser atGroup atRole "+"aemEnabledAlways aemDisabledAlways aemEnabledOnBrowse aemEnabledOnEdit aemDisabledOnBrowseEmpty "+"apBegin apEnd "+"alLeft alRight "+"asmNever asmNoButCustomize asmAsLastTime asmYesButCustomize asmAlways "+"cirCommon cirRevoked "+"ctSignature ctEncode ctSignatureEncode "+"clbUnchecked clbChecked clbGrayed "+"ceISB ceAlways ceNever "+"ctDocument ctReference ctScript ctUnknown ctReport ctDialog ctFunction ctFolder ctEDocument ctTask ctJob ctNotice ctControlJob "+"cfInternal cfDisplay "+"ciUnspecified ciWrite ciRead "+"ckFolder ckEDocument ckTask ckJob ckComponentToken ckAny ckReference ckScript ckReport ckDialog "+"ctISBLEditor ctBevel ctButton ctCheckListBox ctComboBox ctComboEdit ctGrid ctDBCheckBox ctDBComboBox ctDBEdit ctDBEllipsis ctDBMemo ctDBNavigator ctDBRadioGroup ctDBStatusLabel ctEdit ctGroupBox ctInplaceHint ctMemo ctPanel ctListBox ctRadioButton ctRichEdit ctTabSheet ctWebBrowser ctImage ctHyperLink ctLabel ctDBMultiEllipsis ctRibbon ctRichView ctInnerPanel ctPanelGroup ctBitButton "+"cctDate cctInteger cctNumeric cctPick cctReference cctString cctText "+"cltInternal cltPrimary cltGUI "+"dseBeforeOpen dseAfterOpen dseBeforeClose dseAfterClose dseOnValidDelete dseBeforeDelete dseAfterDelete dseAfterDeleteOutOfTransaction dseOnDeleteError dseBeforeInsert dseAfterInsert dseOnValidUpdate dseBeforeUpdate dseOnUpdateRatifiedRecord dseAfterUpdate dseAfterUpdateOutOfTransaction dseOnUpdateError dseAfterScroll dseOnOpenRecord dseOnCloseRecord dseBeforeCancel dseAfterCancel dseOnUpdateDeadlockError dseBeforeDetailUpdate dseOnPrepareUpdate dseOnAnyRequisiteChange "+"dssEdit dssInsert dssBrowse dssInActive "+"dftDate dftShortDate dftDateTime dftTimeStamp "+"dotDays dotHours dotMinutes dotSeconds "+"dtkndLocal dtkndUTC "+"arNone arView arEdit arFull "+"ddaView ddaEdit "+"emLock emEdit emSign emExportWithLock emImportWithUnlock emChangeVersionNote emOpenForModify emChangeLifeStage emDelete emCreateVersion emImport emUnlockExportedWithLock emStart emAbort emReInit emMarkAsReaded emMarkAsUnreaded emPerform emAccept emResume emChangeRights emEditRoute emEditObserver emRecoveryFromLocalCopy emChangeWorkAccessType emChangeEncodeTypeToCertificate emChangeEncodeTypeToPassword emChangeEncodeTypeToNone emChangeEncodeTypeToCertificatePassword emChangeStandardRoute emGetText emOpenForView emMoveToStorage emCreateObject emChangeVersionHidden emDeleteVersion emChangeLifeCycleStage emApprovingSign emExport emContinue emLockFromEdit emUnLockForEdit emLockForServer emUnlockFromServer emDelegateAccessRights emReEncode "+"ecotFile ecotProcess "+"eaGet eaCopy eaCreate eaCreateStandardRoute "+"edltAll edltNothing edltQuery "+"essmText essmCard "+"esvtLast esvtLastActive esvtSpecified "+"edsfExecutive edsfArchive "+"edstSQLServer edstFile "+"edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile "+"vsDefault vsDesign vsActive vsObsolete "+"etNone etCertificate etPassword etCertificatePassword "+"ecException ecWarning ecInformation "+"estAll estApprovingOnly "+"evtLast evtLastActive evtQuery "+"fdtString fdtNumeric fdtInteger fdtDate fdtText fdtUnknown fdtWideString fdtLargeInteger "+"ftInbox ftOutbox ftFavorites ftCommonFolder ftUserFolder ftComponents ftQuickLaunch ftShortcuts ftSearch "+"grhAuto grhX1 grhX2 grhX3 "+"hltText hltRTF hltHTML "+"iffBMP iffJPEG iffMultiPageTIFF iffSinglePageTIFF iffTIFF iffPNG "+"im8bGrayscale im24bRGB im1bMonochrome "+"itBMP itJPEG itWMF itPNG "+"ikhInformation ikhWarning ikhError ikhNoIcon "+"icUnknown icScript icFunction icIntegratedReport icAnalyticReport icDataSetEventHandler icActionHandler icFormEventHandler icLookUpEventHandler icRequisiteChangeEventHandler icBeforeSearchEventHandler icRoleCalculation icSelectRouteEventHandler icBlockPropertyCalculation icBlockQueryParamsEventHandler icChangeSearchResultEventHandler icBlockEventHandler icSubTaskInitEventHandler icEDocDataSetEventHandler icEDocLookUpEventHandler icEDocActionHandler icEDocFormEventHandler icEDocRequisiteChangeEventHandler icStructuredConversionRule icStructuredConversionEventBefore icStructuredConversionEventAfter icWizardEventHandler icWizardFinishEventHandler icWizardStepEventHandler icWizardStepFinishEventHandler icWizardActionEnableEventHandler icWizardActionExecuteEventHandler icCreateJobsHandler icCreateNoticesHandler icBeforeLookUpEventHandler icAfterLookUpEventHandler icTaskAbortEventHandler icWorkflowBlockActionHandler icDialogDataSetEventHandler icDialogActionHandler icDialogLookUpEventHandler icDialogRequisiteChangeEventHandler icDialogFormEventHandler icDialogValidCloseEventHandler icBlockFormEventHandler icTaskFormEventHandler icReferenceMethod icEDocMethod icDialogMethod icProcessMessageHandler "+"isShow isHide isByUserSettings "+"jkJob jkNotice jkControlJob "+"jtInner jtLeft jtRight jtFull jtCross "+"lbpAbove lbpBelow lbpLeft lbpRight "+"eltPerConnection eltPerUser "+"sfcUndefined sfcBlack sfcGreen sfcRed sfcBlue sfcOrange sfcLilac "+"sfsItalic sfsStrikeout sfsNormal "+"ldctStandardRoute ldctWizard ldctScript ldctFunction ldctRouteBlock ldctIntegratedReport ldctAnalyticReport ldctReferenceType ldctEDocumentType ldctDialog ldctServerEvents "+"mrcrtNone mrcrtUser mrcrtMaximal mrcrtCustom "+"vtEqual vtGreaterOrEqual vtLessOrEqual vtRange "+"rdYesterday rdToday rdTomorrow rdThisWeek rdThisMonth rdThisYear rdNextMonth rdNextWeek rdLastWeek rdLastMonth "+"rdWindow rdFile rdPrinter "+"rdtString rdtNumeric rdtInteger rdtDate rdtReference rdtAccount rdtText rdtPick rdtUnknown rdtLargeInteger rdtDocument "+"reOnChange reOnChangeValues "+"ttGlobal ttLocal ttUser ttSystem "+"ssmBrowse ssmSelect ssmMultiSelect ssmBrowseModal "+"smSelect smLike smCard "+"stNone stAuthenticating stApproving "+"sctString sctStream "+"sstAnsiSort sstNaturalSort "+"svtEqual svtContain "+"soatString soatNumeric soatInteger soatDatetime soatReferenceRecord soatText soatPick soatBoolean soatEDocument soatAccount soatIntegerCollection soatNumericCollection soatStringCollection soatPickCollection soatDatetimeCollection soatBooleanCollection soatReferenceRecordCollection soatEDocumentCollection soatAccountCollection soatContents soatUnknown "+"tarAbortByUser tarAbortByWorkflowException "+"tvtAllWords tvtExactPhrase tvtAnyWord "+"usNone usCompleted usRedSquare usBlueSquare usYellowSquare usGreenSquare usOrangeSquare usPurpleSquare usFollowUp "+"utUnknown utUser utDeveloper utAdministrator utSystemDeveloper utDisconnected "+"btAnd btDetailAnd btOr btNotOr btOnly "+"vmView vmSelect vmNavigation "+"vsmSingle vsmMultiple vsmMultipleCheck vsmNoSelection "+"wfatPrevious wfatNext wfatCancel wfatFinish "+"wfepUndefined wfepText3 wfepText6 wfepText9 wfepSpinEdit wfepDropDown wfepRadioGroup wfepFlag wfepText12 wfepText15 wfepText18 wfepText21 wfepText24 wfepText27 wfepText30 wfepRadioGroupColumn1 wfepRadioGroupColumn2 wfepRadioGroupColumn3 "+"wfetQueryParameter wfetText wfetDelimiter wfetLabel "+"wptString wptInteger wptNumeric wptBoolean wptDateTime wptPick wptText wptUser wptUserList wptEDocumentInfo wptEDocumentInfoList wptReferenceRecordInfo wptReferenceRecordInfoList wptFolderInfo wptTaskInfo wptContents wptFileName wptDate "+"wsrComplete wsrGoNext wsrGoPrevious wsrCustom wsrCancel wsrGoFinal "+"wstForm wstEDocument wstTaskCard wstReferenceRecordCard wstFinal "+"waAll waPerformers waManual "+"wsbStart wsbFinish wsbNotice wsbStep wsbDecision wsbWait wsbMonitor wsbScript wsbConnector wsbSubTask wsbLifeCycleStage wsbPause "+"wdtInteger wdtFloat wdtString wdtPick wdtDateTime wdtBoolean wdtTask wdtJob wdtFolder wdtEDocument wdtReferenceRecord wdtUser wdtGroup wdtRole wdtIntegerCollection wdtFloatCollection wdtStringCollection wdtPickCollection wdtDateTimeCollection wdtBooleanCollection wdtTaskCollection wdtJobCollection wdtFolderCollection wdtEDocumentCollection wdtReferenceRecordCollection wdtUserCollection wdtGroupCollection wdtRoleCollection wdtContents wdtUserList wdtSearchDescription wdtDeadLine wdtPickSet wdtAccountCollection "+"wiLow wiNormal wiHigh "+"wrtSoft wrtHard "+"wsInit wsRunning wsDone wsControlled wsAborted wsContinued "+"wtmFull wtmFromCurrent wtmOnlyCurrent ",hE="AddSubString AdjustLineBreaks AmountInWords Analysis ArrayDimCount ArrayHighBound ArrayLowBound ArrayOf ArrayReDim Assert Assigned BeginOfMonth BeginOfPeriod BuildProfilingOperationAnalysis CallProcedure CanReadFile CArrayElement CDataSetRequisite ChangeDate ChangeReferenceDataset Char CharPos CheckParam CheckParamValue CompareStrings ConstantExists ControlState ConvertDateStr Copy CopyFile CreateArray CreateCachedReference CreateConnection CreateDialog CreateDualListDialog CreateEditor CreateException CreateFile CreateFolderDialog CreateInputDialog CreateLinkFile CreateList CreateLock CreateMemoryDataSet CreateObject CreateOpenDialog CreateProgress CreateQuery CreateReference CreateReport CreateSaveDialog CreateScript CreateSQLPivotFunction CreateStringList CreateTreeListSelectDialog CSelectSQL CSQL CSubString CurrentUserID CurrentUserName CurrentVersion DataSetLocateEx DateDiff DateTimeDiff DateToStr DayOfWeek DeleteFile DirectoryExists DisableCheckAccessRights DisableCheckFullShowingRestriction DisableMassTaskSendingRestrictions DropTable DupeString EditText EnableCheckAccessRights EnableCheckFullShowingRestriction EnableMassTaskSendingRestrictions EndOfMonth EndOfPeriod ExceptionExists ExceptionsOff ExceptionsOn Execute ExecuteProcess Exit ExpandEnvironmentVariables ExtractFileDrive ExtractFileExt ExtractFileName ExtractFilePath ExtractParams FileExists FileSize FindFile FindSubString FirmContext ForceDirectories Format FormatDate FormatNumeric FormatSQLDate FormatString FreeException GetComponent GetComponentLaunchParam GetConstant GetLastException GetReferenceRecord GetRefTypeByRefID GetTableID GetTempFolder IfThen In IndexOf InputDialog InputDialogEx InteractiveMode IsFileLocked IsGraphicFile IsNumeric Length LoadString LoadStringFmt LocalTimeToUTC LowerCase Max MessageBox MessageBoxEx MimeDecodeBinary MimeDecodeString MimeEncodeBinary MimeEncodeString Min MoneyInWords MoveFile NewID Now OpenFile Ord Precision Raise ReadCertificateFromFile ReadFile ReferenceCodeByID ReferenceNumber ReferenceRequisiteMode ReferenceRequisiteValue RegionDateSettings RegionNumberSettings RegionTimeSettings RegRead RegWrite RenameFile Replace Round SelectServerCode SelectSQL ServerDateTime SetConstant SetManagedFolderFieldsState ShowConstantsInputDialog ShowMessage Sleep Split SQL SQL2XLSTAB SQLProfilingSendReport StrToDate SubString SubStringCount SystemSetting Time TimeDiff Today Transliterate Trim UpperCase UserStatus UTCToLocalTime ValidateXML VarIsClear VarIsEmpty VarIsNull WorkTimeDiff WriteFile WriteFileEx WriteObjectHistory Анализ БазаДанных БлокЕсть БлокЕстьРасш БлокИнфо БлокСнять БлокСнятьРасш БлокУстановить Ввод ВводМеню ВедС ВедСпр ВерхняяГраницаМассива ВнешПрогр Восст ВременнаяПапка Время ВыборSQL ВыбратьЗапись ВыделитьСтр Вызвать Выполнить ВыпПрогр ГрафическийФайл ГруппаДополнительно ДатаВремяСерв ДеньНедели ДиалогДаНет ДлинаСтр ДобПодстр ЕПусто ЕслиТо ЕЧисло ЗамПодстр ЗаписьСправочника ЗначПоляСпр ИДТипСпр ИзвлечьДиск ИзвлечьИмяФайла ИзвлечьПуть ИзвлечьРасширение ИзмДат ИзменитьРазмерМассива ИзмеренийМассива ИмяОрг ИмяПоляСпр Индекс ИндикаторЗакрыть ИндикаторОткрыть ИндикаторШаг ИнтерактивныйРежим ИтогТблСпр КодВидВедСпр КодВидСпрПоИД КодПоAnalit КодСимвола КодСпр КолПодстр КолПроп КонМес Конст КонстЕсть КонстЗнач КонТран КопироватьФайл КопияСтр КПериод КСтрТблСпр Макс МаксСтрТблСпр Массив Меню МенюРасш Мин НаборДанныхНайтиРасш НаимВидСпр НаимПоAnalit НаимСпр НастроитьПереводыСтрок НачМес НачТран НижняяГраницаМассива НомерСпр НПериод Окно Окр Окружение ОтлИнфДобавить ОтлИнфУдалить Отчет ОтчетАнал ОтчетИнт ПапкаСуществует Пауза ПВыборSQL ПереименоватьФайл Переменные ПереместитьФайл Подстр ПоискПодстр ПоискСтр ПолучитьИДТаблицы ПользовательДополнительно ПользовательИД ПользовательИмя ПользовательСтатус Прервать ПроверитьПараметр ПроверитьПараметрЗнач ПроверитьУсловие РазбСтр РазнВремя РазнДат РазнДатаВремя РазнРабВремя РегУстВрем РегУстДат РегУстЧсл РедТекст РеестрЗапись РеестрСписокИменПарам РеестрЧтение РеквСпр РеквСпрПр Сегодня Сейчас Сервер СерверПроцессИД СертификатФайлСчитать СжПроб Символ СистемаДиректумКод СистемаИнформация СистемаКод Содержит СоединениеЗакрыть СоединениеОткрыть СоздатьДиалог СоздатьДиалогВыбораИзДвухСписков СоздатьДиалогВыбораПапки СоздатьДиалогОткрытияФайла СоздатьДиалогСохраненияФайла СоздатьЗапрос СоздатьИндикатор СоздатьИсключение СоздатьКэшированныйСправочник СоздатьМассив СоздатьНаборДанных СоздатьОбъект СоздатьОтчет СоздатьПапку СоздатьРедактор СоздатьСоединение СоздатьСписок СоздатьСписокСтрок СоздатьСправочник СоздатьСценарий СоздСпр СостСпр Сохр СохрСпр СписокСистем Спр Справочник СпрБлокЕсть СпрБлокСнять СпрБлокСнятьРасш СпрБлокУстановить СпрИзмНабДан СпрКод СпрНомер СпрОбновить СпрОткрыть СпрОтменить СпрПарам СпрПолеЗнач СпрПолеИмя СпрРекв СпрРеквВведЗн СпрРеквНовые СпрРеквПр СпрРеквПредЗн СпрРеквРежим СпрРеквТипТекст СпрСоздать СпрСост СпрСохранить СпрТблИтог СпрТблСтр СпрТблСтрКол СпрТблСтрМакс СпрТблСтрМин СпрТблСтрПред СпрТблСтрСлед СпрТблСтрСозд СпрТблСтрУд СпрТекПредст СпрУдалить СравнитьСтр СтрВерхРегистр СтрНижнРегистр СтрТблСпр СумПроп Сценарий СценарийПарам ТекВерсия ТекОрг Точн Тран Транслитерация УдалитьТаблицу УдалитьФайл УдСпр УдСтрТблСпр Уст УстановкиКонстант ФайлАтрибутСчитать ФайлАтрибутУстановить ФайлВремя ФайлВремяУстановить ФайлВыбрать ФайлЗанят ФайлЗаписать ФайлИскать ФайлКопировать ФайлМожноЧитать ФайлОткрыть ФайлПереименовать ФайлПерекодировать ФайлПереместить ФайлПросмотреть ФайлРазмер ФайлСоздать ФайлСсылкаСоздать ФайлСуществует ФайлСчитать ФайлУдалить ФмтSQLДат ФмтДат ФмтСтр ФмтЧсл Формат ЦМассивЭлемент ЦНаборДанныхРеквизит ЦПодстр ",EE="AltState Application CallType ComponentTokens CreatedJobs CreatedNotices ControlState DialogResult Dialogs EDocuments EDocumentVersionSource Folders GlobalIDs Job Jobs InputValue LookUpReference LookUpRequisiteNames LookUpSearch Object ParentComponent Processes References Requisite ReportName Reports Result Scripts Searches SelectedAttachments SelectedItems SelectMode Sender ServerEvents ServiceFactory ShiftState SubTask SystemDialogs Tasks Wizard Wizards Work ВызовСпособ ИмяОтчета РеквЗнач ",SE="IApplication IAccessRights IAccountRepository IAccountSelectionRestrictions IAction IActionList IAdministrationHistoryDescription IAnchors IApplication IArchiveInfo IAttachment IAttachmentList ICheckListBox ICheckPointedList IColumn IComponent IComponentDescription IComponentToken IComponentTokenFactory IComponentTokenInfo ICompRecordInfo IConnection IContents IControl IControlJob IControlJobInfo IControlList ICrypto ICrypto2 ICustomJob ICustomJobInfo ICustomListBox ICustomObjectWizardStep ICustomWork ICustomWorkInfo IDataSet IDataSetAccessInfo IDataSigner IDateCriterion IDateRequisite IDateRequisiteDescription IDateValue IDeaAccessRights IDeaObjectInfo IDevelopmentComponentLock IDialog IDialogFactory IDialogPickRequisiteItems IDialogsFactory IDICSFactory IDocRequisite IDocumentInfo IDualListDialog IECertificate IECertificateInfo IECertificates IEditControl IEditorForm IEdmsExplorer IEdmsObject IEdmsObjectDescription IEdmsObjectFactory IEdmsObjectInfo IEDocument IEDocumentAccessRights IEDocumentDescription IEDocumentEditor IEDocumentFactory IEDocumentInfo IEDocumentStorage IEDocumentVersion IEDocumentVersionListDialog IEDocumentVersionSource IEDocumentWizardStep IEDocVerSignature IEDocVersionState IEnabledMode IEncodeProvider IEncrypter IEvent IEventList IException IExternalEvents IExternalHandler IFactory IField IFileDialog IFolder IFolderDescription IFolderDialog IFolderFactory IFolderInfo IForEach IForm IFormTitle IFormWizardStep IGlobalIDFactory IGlobalIDInfo IGrid IHasher IHistoryDescription IHyperLinkControl IImageButton IImageControl IInnerPanel IInplaceHint IIntegerCriterion IIntegerList IIntegerRequisite IIntegerValue IISBLEditorForm IJob IJobDescription IJobFactory IJobForm IJobInfo ILabelControl ILargeIntegerCriterion ILargeIntegerRequisite ILargeIntegerValue ILicenseInfo ILifeCycleStage IList IListBox ILocalIDInfo ILocalization ILock IMemoryDataSet IMessagingFactory IMetadataRepository INotice INoticeInfo INumericCriterion INumericRequisite INumericValue IObject IObjectDescription IObjectImporter IObjectInfo IObserver IPanelGroup IPickCriterion IPickProperty IPickRequisite IPickRequisiteDescription IPickRequisiteItem IPickRequisiteItems IPickValue IPrivilege IPrivilegeList IProcess IProcessFactory IProcessMessage IProgress IProperty IPropertyChangeEvent IQuery IReference IReferenceCriterion IReferenceEnabledMode IReferenceFactory IReferenceHistoryDescription IReferenceInfo IReferenceRecordCardWizardStep IReferenceRequisiteDescription IReferencesFactory IReferenceValue IRefRequisite IReport IReportFactory IRequisite IRequisiteDescription IRequisiteDescriptionList IRequisiteFactory IRichEdit IRouteStep IRule IRuleList ISchemeBlock IScript IScriptFactory ISearchCriteria ISearchCriterion ISearchDescription ISearchFactory ISearchFolderInfo ISearchForObjectDescription ISearchResultRestrictions ISecuredContext ISelectDialog IServerEvent IServerEventFactory IServiceDialog IServiceFactory ISignature ISignProvider ISignProvider2 ISignProvider3 ISimpleCriterion IStringCriterion IStringList IStringRequisite IStringRequisiteDescription IStringValue ISystemDialogsFactory ISystemInfo ITabSheet ITask ITaskAbortReasonInfo ITaskCardWizardStep ITaskDescription ITaskFactory ITaskInfo ITaskRoute ITextCriterion ITextRequisite ITextValue ITreeListSelectDialog IUser IUserList IValue IView IWebBrowserControl IWizard IWizardAction IWizardFactory IWizardFormElement IWizardParam IWizardPickParam IWizardReferenceParam IWizardStep IWorkAccessRights IWorkDescription IWorkflowAskableParam IWorkflowAskableParams IWorkflowBlock IWorkflowBlockResult IWorkflowEnabledMode IWorkflowParam IWorkflowPickParam IWorkflowReferenceParam IWorkState IWorkTreeCustomNode IWorkTreeJobNode IWorkTreeTaskNode IXMLEditorForm SBCrypto ",bE=Ce+gE,TE=EE,CE="null true false nil ",wu={className:"number",begin:t.NUMBER_RE,relevance:0},Lu={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]},ku={className:"doctag",begin:"\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b",relevance:0},yE={className:"comment",begin:"//",end:"$",relevance:0,contains:[t.PHRASAL_WORDS_MODE,ku]},vE={className:"comment",begin:"/\\*",end:"\\*/",relevance:0,contains:[t.PHRASAL_WORDS_MODE,ku]},Pu={variants:[yE,vE]},vo={$pattern:e,keyword:r,built_in:bE,class:TE,literal:CE},Ds={begin:"\\.\\s*"+t.UNDERSCORE_IDENT_RE,keywords:vo,relevance:0},Fu={className:"type",begin:":[ \\t]*("+SE.trim().replace(/\s/g,"|")+")",end:"[ \\t]*=",excludeEnd:!0},Bu={className:"variable",keywords:vo,begin:e,relevance:0,contains:[Fu,Ds]},Uu=n+"\\(";return{name:"ISBL",case_insensitive:!0,keywords:vo,illegal:"\\$|\\?|%|,|;$|~|#|@|/,relevance:10,starts:{end:/^(?![ ]{6})/,subLanguage:"julia"}}],aliases:["jldoctest"]}}function gx(t){const e="[a-zA-Z_][\\w.]*",n="<\\?(lasso(script)?|=)",r="\\]|\\?>",i={$pattern:e+"|&[lg]t;",literal:"true false none minimal full all void and or not bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",built_in:"array date decimal duration integer map pair string tag xml null boolean bytes keyword list locale queue set stack staticarray local var variable global data self inherited currentcapture givenblock",keyword:"cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else fail_if fail_ifnot fail if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"},o=t.COMMENT("",{relevance:0}),a={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[o]}},s={className:"meta",begin:"\\[/noprocess|"+n},l={className:"symbol",begin:"'"+e+"'"},c=[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.inherit(t.C_NUMBER_MODE,{begin:t.C_NUMBER_RE+"|(-?infinity|NaN)\\b"}),t.inherit(t.APOS_STRING_MODE,{illegal:null}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"`",end:"`"},{variants:[{begin:"[#$]"+e},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:e,illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)"+e,relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[l]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[t.inherit(t.TITLE_MODE,{begin:e+"(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:i,contains:[{className:"meta",begin:r,relevance:0,starts:{end:"\\[|"+n,returnEnd:!0,relevance:0,contains:[o]}},a,s,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",keywords:i,contains:[{className:"meta",begin:r,relevance:0,starts:{end:"\\[noprocess\\]|"+n,returnEnd:!0,contains:[o]}},a,s].concat(c)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(c)}}function hx(t){const n=t.regex.either(...["(?:NeedsTeXFormat|RequirePackage|GetIdInfo)","Provides(?:Expl)?(?:Package|Class|File)","(?:DeclareOption|ProcessOptions)","(?:documentclass|usepackage|input|include)","makeat(?:letter|other)","ExplSyntax(?:On|Off)","(?:new|renew|provide)?command","(?:re)newenvironment","(?:New|Renew|Provide|Declare)(?:Expandable)?DocumentCommand","(?:New|Renew|Provide|Declare)DocumentEnvironment","(?:(?:e|g|x)?def|let)","(?:begin|end)","(?:part|chapter|(?:sub){0,2}section|(?:sub)?paragraph)","caption","(?:label|(?:eq|page|name)?ref|(?:paren|foot|super)?cite)","(?:alpha|beta|[Gg]amma|[Dd]elta|(?:var)?epsilon|zeta|eta|[Tt]heta|vartheta)","(?:iota|(?:var)?kappa|[Ll]ambda|mu|nu|[Xx]i|[Pp]i|varpi|(?:var)rho)","(?:[Ss]igma|varsigma|tau|[Uu]psilon|[Pp]hi|varphi|chi|[Pp]si|[Oo]mega)","(?:frac|sum|prod|lim|infty|times|sqrt|leq|geq|left|right|middle|[bB]igg?)","(?:[lr]angle|q?quad|[lcvdi]?dots|d?dot|hat|tilde|bar)"].map(M=>M+"(?![a-zA-Z@:_])")),r=new RegExp(["(?:__)?[a-zA-Z]{2,}_[a-zA-Z](?:_?[a-zA-Z])+:[a-zA-Z]*","[lgc]__?[a-zA-Z](?:_?[a-zA-Z])*_[a-zA-Z]{2,}","[qs]__?[a-zA-Z](?:_?[a-zA-Z])+","use(?:_i)?:[a-zA-Z]*","(?:else|fi|or):","(?:if|cs|exp):w","(?:hbox|vbox):n","::[a-zA-Z]_unbraced","::[a-zA-Z:]"].map(M=>M+"(?![a-zA-Z:_])").join("|")),i=[{begin:/[a-zA-Z@]+/},{begin:/[^a-zA-Z@]?/}],o=[{begin:/\^{6}[0-9a-f]{6}/},{begin:/\^{5}[0-9a-f]{5}/},{begin:/\^{4}[0-9a-f]{4}/},{begin:/\^{3}[0-9a-f]{3}/},{begin:/\^{2}[0-9a-f]{2}/},{begin:/\^{2}[\u0000-\u007f]/}],a={className:"keyword",begin:/\\/,relevance:0,contains:[{endsParent:!0,begin:n},{endsParent:!0,begin:r},{endsParent:!0,variants:o},{endsParent:!0,relevance:0,variants:i}]},s={className:"params",relevance:0,begin:/#+\d?/},l={variants:o},c={className:"built_in",relevance:0,begin:/[$&^_]/},u={className:"meta",begin:/% ?!(T[eE]X|tex|BIB|bib)/,end:"$",relevance:10},d=t.COMMENT("%","$",{relevance:0}),p=[a,s,l,c,u,d],_={begin:/\{/,end:/\}/,relevance:0,contains:["self",...p]},m=t.inherit(_,{relevance:0,endsParent:!0,contains:[_,...p]}),f={begin:/\[/,end:/\]/,endsParent:!0,relevance:0,contains:[_,...p]},g={begin:/\s+/,relevance:0},E=[m],S=[f],b=function(M,B){return{contains:[g],starts:{relevance:0,contains:M,starts:B}}},h=function(M,B){return{begin:"\\\\"+M+"(?![a-zA-Z@:_])",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\"+M},relevance:0,contains:[g],starts:B}},C=function(M,B){return t.inherit({begin:"\\\\begin(?=[ ]*(\\r?\\n[ ]*)?\\{"+M+"\\})",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\begin"},relevance:0},b(E,B))},T=(M="string")=>t.END_SAME_AS_BEGIN({className:M,begin:/(.|\r?\n)/,end:/(.|\r?\n)/,excludeBegin:!0,excludeEnd:!0,endsParent:!0}),R=function(M){return{className:"string",end:"(?=\\\\end\\{"+M+"\\})"}},x=(M="string")=>({relevance:0,begin:/\{/,starts:{endsParent:!0,contains:[{className:M,end:/(?=\})/,endsParent:!0,contains:[{begin:/\{/,end:/\}/,relevance:0,contains:["self"]}]}]}}),O=[...["verb","lstinline"].map(M=>h(M,{contains:[T()]})),h("mint",b(E,{contains:[T()]})),h("mintinline",b(E,{contains:[x(),T()]})),h("url",{contains:[x("link"),x("link")]}),h("hyperref",{contains:[x("link")]}),h("href",b(S,{contains:[x("link")]})),...[].concat(...["","\\*"].map(M=>[C("verbatim"+M,R("verbatim"+M)),C("filecontents"+M,b(E,R("filecontents"+M))),...["","B","L"].map(B=>C(B+"Verbatim"+M,b(S,R(B+"Verbatim"+M))))])),C("minted",b(S,b(E,R("minted"))))];return{name:"LaTeX",aliases:["tex"],contains:[...O,...p]}}function Ex(t){return{name:"LDIF",contains:[{className:"attribute",match:"^dn(?=:)",relevance:10},{className:"attribute",match:"^\\w+(?=:)"},{className:"literal",match:"^-"},t.HASH_COMMENT_MODE]}}function Sx(t){const e=/([A-Za-z_][A-Za-z_0-9]*)?/,r={scope:"params",begin:/\(/,end:/\)(?=\:?)/,endsParent:!0,relevance:7,contains:[{scope:"string",begin:'"',end:'"'},{scope:"keyword",match:["true","false","in"].join("|")},{scope:"variable",match:/[A-Za-z_][A-Za-z_0-9]*/},{scope:"operator",match:/\+|\-|\*|\/|\%|\=\=|\=|\!|\>|\<|\&\&|\|\|/}]},i={match:[e,/(?=\()/],scope:{1:"keyword"},contains:[r]};return r.contains.unshift(i),{name:"Leaf",contains:[{match:[/#+/,e,/(?=\()/],scope:{1:"punctuation",2:"keyword"},starts:{contains:[{match:/\:/,scope:"punctuation"}]},contains:[r]},{match:[/#+/,e,/:?/],scope:{1:"punctuation",2:"keyword",3:"punctuation"}}]}}function bx(t){const e="[a-zA-Z_\\-+\\*\\/<=>&#][a-zA-Z0-9_\\-+*\\/<=>&#!]*",n="\\|[^]*?\\|",r="(-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|-)?\\d+)?",i={className:"literal",begin:"\\b(t{1}|nil)\\b"},o={className:"number",variants:[{begin:r,relevance:0},{begin:"#(b|B)[0-1]+(/[0-1]+)?"},{begin:"#(o|O)[0-7]+(/[0-7]+)?"},{begin:"#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"},{begin:"#(c|C)\\("+r+" +"+r,end:"\\)"}]},a=t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),s=t.COMMENT(";","$",{relevance:0}),l={begin:"\\*",end:"\\*"},c={className:"symbol",begin:"[:&]"+e},u={begin:e,relevance:0},d={begin:n},_={contains:[o,a,l,c,{begin:"\\(",end:"\\)",contains:["self",i,a,o,u]},u],variants:[{begin:"['`]\\(",end:"\\)"},{begin:"\\(quote ",end:"\\)",keywords:{name:"quote"}},{begin:"'"+n}]},m={variants:[{begin:"'"+e},{begin:"#'"+e+"(::"+e+")*"}]},f={begin:"\\(\\s*",end:"\\)"},g={endsWithParent:!0,relevance:0};return f.contains=[{className:"name",variants:[{begin:e,relevance:0},{begin:n}]},g],g.contains=[_,m,f,i,o,a,s,l,c,d,u],{name:"Lisp",illegal:/\S/,contains:[o,t.SHEBANG(),i,a,s,_,m,f,u]}}function Tx(t){const e={className:"variable",variants:[{begin:"\\b([gtps][A-Z]{1}[a-zA-Z0-9]*)(\\[.+\\])?(?:\\s*?)"},{begin:"\\$_[A-Z]+"}],relevance:0},n=[t.C_BLOCK_COMMENT_MODE,t.HASH_COMMENT_MODE,t.COMMENT("--","$"),t.COMMENT("[^:]//","$")],r=t.inherit(t.TITLE_MODE,{variants:[{begin:"\\b_*rig[A-Z][A-Za-z0-9_\\-]*"},{begin:"\\b_[a-z0-9\\-]+"}]}),i=t.inherit(t.TITLE_MODE,{begin:"\\b([A-Za-z0-9_\\-]+)\\b"});return{name:"LiveCode",case_insensitive:!1,keywords:{keyword:"$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph after byte bytes english the until http forever descending using line real8 with seventh for stdout finally element word words fourth before black ninth sixth characters chars stderr uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat end repeat URL in try into switch to words https token binfile each tenth as ticks tick system real4 by dateItems without char character ascending eighth whole dateTime numeric short first ftp integer abbreviated abbr abbrev private case while if div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within contains ends with begins the keys of keys",literal:"SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five quote empty one true return cr linefeed right backslash null seven tab three two RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK",built_in:"put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress constantNames cos date dateFormat decompress difference directories diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge messageAuthenticationCode messageDigest millisec millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process combine constant convert create new alias folder directory decrypt delete variable word line folder directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetDriver libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime libURLSetStatusCallback load extension loadedExtensions multiply socket prepare process post seek rel relative read from process rename replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop subtract symmetric union unload vectorDotProduct wait write"},contains:[e,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[e,i,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE,r]},{className:"function",begin:"\\bend\\s+",end:"$",keywords:"end",contains:[i,r],relevance:0},{beginKeywords:"command on",end:"$",contains:[e,i,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE,r]},{className:"meta",variants:[{begin:"<\\?(rev|lc|livecode)",relevance:10},{begin:"<\\?"},{begin:"\\?>"}]},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE,r].concat(n),illegal:";$|^\\[|^=|&|\\{"}}const Cx=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],yx=["true","false","null","undefined","NaN","Infinity"],vx=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Rx=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Ox=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Nx=[].concat(Ox,vx,Rx);function Ax(t){const e=["npm","print"],n=["yes","no","on","off","it","that","void"],r=["then","unless","until","loop","of","by","when","and","or","is","isnt","not","it","that","otherwise","from","to","til","fallthrough","case","enum","native","list","map","__hasProp","__extends","__slice","__bind","__indexOf"],i={keyword:Cx.concat(r),literal:yx.concat(n),built_in:Nx.concat(e)},o="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",a=t.inherit(t.TITLE_MODE,{begin:o}),s={className:"subst",begin:/#\{/,end:/\}/,keywords:i},l={className:"subst",begin:/#[A-Za-z$_]/,end:/(?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,keywords:i},c=[t.BINARY_NUMBER_MODE,{className:"number",begin:"(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",relevance:0,starts:{end:"(\\s*/)?",relevance:0}},{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[t.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,s,l]},{begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,s,l]},{begin:/\\/,end:/(\s|$)/,excludeEnd:!0}]},{className:"regexp",variants:[{begin:"//",end:"//[gim]*",contains:[s,t.HASH_COMMENT_MODE]},{begin:/\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/}]},{begin:"@"+o},{begin:"``",end:"``",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];s.contains=c;const u={className:"params",begin:"\\(",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:i,contains:["self"].concat(c)}]},d={begin:"(#=>|=>|\\|>>|-?->|!->)"},p={variants:[{match:[/class\s+/,o,/\s+extends\s+/,o]},{match:[/class\s+/,o]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:i};return{name:"LiveScript",aliases:["ls"],keywords:i,illegal:/\/\*/,contains:c.concat([t.COMMENT("\\/\\*","\\*\\/"),t.HASH_COMMENT_MODE,d,{className:"function",contains:[a,u],returnBegin:!0,variants:[{begin:"("+o+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B->\\*?",end:"->\\*?"},{begin:"("+o+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\)\\s*)?\\B[-~]{1,2}>\\*?",end:"[-~]{1,2}>\\*?"},{begin:"("+o+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B!?[-~]{1,2}>\\*?",end:"!?[-~]{1,2}>\\*?"}]},p,{begin:o+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}function Ix(t){const e=t.regex,n=/([-a-zA-Z$._][\w$.-]*)/,r={className:"type",begin:/\bi\d+(?=\s|\b)/},i={className:"operator",relevance:0,begin:/=/},o={className:"punctuation",relevance:0,begin:/,/},a={className:"number",variants:[{begin:/[su]?0[xX][KMLHR]?[a-fA-F0-9]+/},{begin:/[-+]?\d+(?:[.]\d+)?(?:[eE][-+]?\d+(?:[.]\d+)?)?/}],relevance:0},s={className:"symbol",variants:[{begin:/^\s*[a-z]+:/}],relevance:0},l={className:"variable",variants:[{begin:e.concat(/%/,n)},{begin:/%\d+/},{begin:/#\d+/}]},c={className:"title",variants:[{begin:e.concat(/@/,n)},{begin:/@\d+/},{begin:e.concat(/!/,n)},{begin:e.concat(/!\d+/,n)},{begin:/!\d+/}]};return{name:"LLVM IR",keywords:"begin end true false declare define global constant private linker_private internal available_externally linkonce linkonce_odr weak weak_odr appending dllimport dllexport common default hidden protected extern_weak external thread_local zeroinitializer undef null to tail target triple datalayout volatile nuw nsw nnan ninf nsz arcp fast exact inbounds align addrspace section alias module asm sideeffect gc dbg linker_private_weak attributes blockaddress initialexec localdynamic localexec prefix unnamed_addr ccc fastcc coldcc x86_stdcallcc x86_fastcallcc arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device ptx_kernel intel_ocl_bicc msp430_intrcc spir_func spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc cc c signext zeroext inreg sret nounwind noreturn noalias nocapture byval nest readnone readonly inlinehint noinline alwaysinline optsize ssp sspreq noredzone noimplicitfloat naked builtin cold nobuiltin noduplicate nonlazybind optnone returns_twice sanitize_address sanitize_memory sanitize_thread sspstrong uwtable returned type opaque eq ne slt sgt sle sge ult ugt ule uge oeq one olt ogt ole oge ord uno ueq une x acq_rel acquire alignstack atomic catch cleanup filter inteldialect max min monotonic nand personality release seq_cst singlethread umax umin unordered xchg add fadd sub fsub mul fmul udiv sdiv fdiv urem srem frem shl lshr ashr and or xor icmp fcmp phi call trunc zext sext fptrunc fpext uitofp sitofp fptoui fptosi inttoptr ptrtoint bitcast addrspacecast select va_arg ret br switch invoke unwind unreachable indirectbr landingpad resume malloc alloca free load store getelementptr extractelement insertelement shufflevector getresult extractvalue insertvalue atomicrmw cmpxchg fence argmemonly double",contains:[r,t.COMMENT(/;\s*$/,null,{relevance:0}),t.COMMENT(/;/,/$/),{className:"string",begin:/"/,end:/"/,contains:[{className:"char.escape",match:/\\\d\d/}]},c,o,i,l,s,a]}}function xx(t){const n={className:"string",begin:'"',end:'"',contains:[{className:"subst",begin:/\\[tn"\\]/}]},r={className:"number",relevance:0,begin:t.C_NUMBER_RE},i={className:"literal",variants:[{begin:"\\b(PI|TWO_PI|PI_BY_TWO|DEG_TO_RAD|RAD_TO_DEG|SQRT2)\\b"},{begin:"\\b(XP_ERROR_(EXPERIENCES_DISABLED|EXPERIENCE_(DISABLED|SUSPENDED)|INVALID_(EXPERIENCE|PARAMETERS)|KEY_NOT_FOUND|MATURITY_EXCEEDED|NONE|NOT_(FOUND|PERMITTED(_LAND)?)|NO_EXPERIENCE|QUOTA_EXCEEDED|RETRY_UPDATE|STORAGE_EXCEPTION|STORE_DISABLED|THROTTLED|UNKNOWN_ERROR)|JSON_APPEND|STATUS_(PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(_OBJECT)?|(DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(_(BY_(LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(PARCEL(_OWNER)?|REGION)))?|CAMERA_(PITCH|DISTANCE|BEHINDNESS_(ANGLE|LAG)|(FOCUS|POSITION)(_(THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(ROOT|SET|ALL_(OTHERS|CHILDREN)|THIS)|ACTIVE|PASS(IVE|_(ALWAYS|IF_NOT_HANDLED|NEVER))|SCRIPTED|CONTROL_(FWD|BACK|(ROT_)?(LEFT|RIGHT)|UP|DOWN|(ML_)?LBUTTON)|PERMISSION_(RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(_START)?|TELEPORT|MEDIA)|OBJECT_(CLICK_ACTION|HOVER_HEIGHT|LAST_OWNER_ID|(PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_(ATTACHED|ON_REZ)|NAME|DESC|POS|PRIM_(COUNT|EQUIVALENCE)|RETURN_(PARCEL(_OWNER)?|REGION)|REZZER_KEY|ROO?T|VELOCITY|OMEGA|OWNER|GROUP(_TAG)?|CREATOR|ATTACHED_(POINT|SLOTS_AVAILABLE)|RENDER_WEIGHT|(BODY_SHAPE|PATHFINDING)_TYPE|(RUNNING|TOTAL)_SCRIPT_COUNT|TOTAL_INVENTORY_COUNT|SCRIPT_(MEMORY|TIME))|TYPE_(INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(DEBUG|PUBLIC)_CHANNEL|ATTACH_(AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](SHOULDER|HAND|FOOT|EAR|EYE|[UL](ARM|LEG)|HIP)|(LEFT|RIGHT)_PEC|HUD_(CENTER_[12]|TOP_(RIGHT|CENTER|LEFT)|BOTTOM(_(RIGHT|LEFT))?)|[LR]HAND_RING1|TAIL_(BASE|TIP)|[LR]WING|FACE_(JAW|[LR]EAR|[LR]EYE|TOUNGE)|GROIN|HIND_[LR]FOOT)|LAND_(LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(ONLINE|NAME|BORN|SIM_(POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(ON_FILE|USED)|REMOTE_DATA_(CHANNEL|REQUEST|REPLY)|PSYS_(PART_(BF_(ZERO|ONE(_MINUS_(DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(START|END)_(COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(RIBBON|WIND|INTERP_(COLOR|SCALE)|BOUNCE|FOLLOW_(SRC|VELOCITY)|TARGET_(POS|LINEAR)|EMISSIVE)_MASK)|SRC_(MAX_AGE|PATTERN|ANGLE_(BEGIN|END)|BURST_(RATE|PART_COUNT|RADIUS|SPEED_(MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(DROP|EXPLODE|ANGLE(_CONE(_EMPTY)?)?)))|VEHICLE_(REFERENCE_FRAME|TYPE_(NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(LINEAR|ANGULAR)_(FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(LINEAR|ANGULAR)_(DEFLECTION_(EFFICIENCY|TIMESCALE)|MOTOR_(DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(EFFICIENCY|TIMESCALE)|BANKING_(EFFICIENCY|MIX|TIMESCALE)|FLAG_(NO_DEFLECTION_UP|LIMIT_(ROLL_ONLY|MOTOR_UP)|HOVER_((WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(ALLOW_UNSIT|ALPHA_MODE(_(BLEND|EMISSIVE|MASK|NONE))?|NORMAL|SPECULAR|TYPE(_(BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(_(STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(NONE|LOW|MEDIUM|HIGH)|BUMP_(NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(DEFAULT|PLANAR)|SCRIPTED_SIT_ONLY|SCULPT_(TYPE_(SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(MIRROR|INVERT))|PHYSICS(_(SHAPE_(CONVEX|NONE|PRIM|TYPE)))?|(POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIT_TARGET|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(ALT_IMAGE_ENABLE|CONTROLS|(CURRENT|HOME)_URL|AUTO_(LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(WIDTH|HEIGHT)_PIXELS|WHITELIST(_ENABLE)?|PERMS_(INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(STANDARD|MINI)|PERM_(NONE|OWNER|GROUP|ANYONE)|MAX_(URL_LENGTH|WHITELIST_(SIZE|COUNT)|(WIDTH|HEIGHT)_PIXELS)))|MASK_(BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(MEDIA_COMMAND_(STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(ALLOW_(FLY|(GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(GROUP_)?OBJECTS)|USE_(ACCESS_(GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(GROUP|ALL)_OBJECT_ENTRY)|COUNT_(TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(HIDE|DEFAULT)|REGION_FLAG_(ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(METHOD|MIMETYPE|BODY_(MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|SIT_(INVALID_(AGENT|LINK_OBJECT)|NO(T_EXPERIENCE|_(ACCESS|EXPERIENCE_PERMISSION|SIT_TARGET)))|STRING_(TRIM(_(HEAD|TAIL))?)|CLICK_ACTION_(NONE|TOUCH|SIT|BUY|PAY|OPEN(_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(NONE|SCRIPT_MEMORY)|RC_(DATA_FLAGS|DETECT_PHANTOM|GET_(LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(TYPES|AGENTS|(NON)?PHYSICAL|LAND))|RCERR_(CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(ALLOWED_(AGENT|GROUP)_(ADD|REMOVE)|BANNED_AGENT_(ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(COMMAND|CMD_(PLAY|STOP|PAUSE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(CMD_((SMOOTH_)?STOP|JUMP)|DESIRED_(TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(_([ABCD]|NONE))?|MAX_(DECEL|TURN_RADIUS|(ACCEL|SPEED)))|PURSUIT_(OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(EVADE_(HIDDEN|SPOTTED)|FAILURE_(DYNAMIC_PATHFINDING_DISABLED|INVALID_(GOAL|START)|NO_(NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(PARCEL_)?UNREACHABLE)|(GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(_(FAST|NONE|SLOW))?|CONTENT_TYPE_(ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(RADIUS|STATIC)|(PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\\b"},{begin:"\\b(FALSE|TRUE)\\b"},{begin:"\\b(ZERO_ROTATION)\\b"},{begin:"\\b(EOF|JSON_(ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(GRANTED|DENIED))\\b"},{begin:"\\b(ZERO_VECTOR|TOUCH_INVALID_(TEXCOORD|VECTOR))\\b"}]},o={className:"built_in",begin:"\\b(ll(AgentInExperience|(Create|DataSize|Delete|KeyCount|Keys|Read|Update)KeyValue|GetExperience(Details|ErrorMessage)|ReturnObjectsBy(ID|Owner)|Json(2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(Mag|Norm|Dist)|Rot(Between|2(Euler|Fwd|Left|Up))|(Euler|Axes)2Rot|Whisper|(Region|Owner)?Say|Shout|Listen(Control|Remove)?|Sensor(Repeat|Remove)?|Detected(Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|([GS]et)(AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(Scale|Offset|Rotate)Texture|(Rot)?Target(Remove)?|(Stop)?MoveToTarget|Apply(Rotational)?Impulse|Set(KeyframedMotion|ContentType|RegionPos|(Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(Queueing|Radius)|Vehicle(Type|(Float|Vector|Rotation)Param)|(Touch|Sit)?Text|Camera(Eye|At)Offset|PrimitiveParams|ClickAction|Link(Alpha|Color|PrimitiveParams(Fast)?|Texture(Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get((Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(PrimitiveParams|Number(OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(Details|PermMask|PrimCount)|Parcel(MaxPrims|Details|Prim(Count|Owners))|Attached(List)?|(SPMax|Free|Used)Memory|Region(Name|TimeDilation|FPS|Corner|AgentCount)|Root(Position|Rotation)|UnixTime|(Parcel|Region)Flags|(Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(Prims|NotecardLines|Sides)|Animation(List)?|(Camera|Local)(Pos|Rot)|Vel|Accel|Omega|Time(stamp|OfDay)|(Object|CenterOf)?Mass|MassMKS|Energy|Owner|(Owner)?Key|SunDirection|Texture(Offset|Scale|Rot)|Inventory(Number|Name|Key|Type|Creator|PermMask)|Permissions(Key)?|StartParameter|List(Length|EntryType)|Date|Agent(Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(Name|State))|(Get|Reset|GetAndReset)Time|PlaySound(Slave)?|LoopSound(Master|Slave)?|(Trigger|Stop|Preload)Sound|((Get|Delete)Sub|Insert)String|To(Upper|Lower)|Give(InventoryList|Money)|RezObject|(Stop)?LookAt|Sleep|CollisionFilter|(Take|Release)Controls|DetachFromAvatar|AttachToAvatar(Temp)?|InstantMessage|(GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(Length|Trim)|(Start|Stop)Animation|TargetOmega|Request(Experience)?Permissions|(Create|Break)Link|BreakAllLinks|(Give|Remove)Inventory|Water|PassTouches|Request(Agent|Inventory)Data|TeleportAgent(Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(Axis|Angle)|A(cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(CSV|Integer|Json|Float|String|Key|Vector|Rot|List(Strided)?)|DeleteSubList|List(Statistics|Sort|Randomize|(Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(Slope|Normal|Contour)|GroundRepel|(Set|Remove)VehicleFlags|SitOnLink|(AvatarOn)?(Link)?SitTarget|Script(Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(Integer|String)ToBase64|XorBase64|Log(10)?|Base64To(String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(Load|Release|(E|Une)scape)URL|ParcelMedia(CommandList|Query)|ModPow|MapDestination|(RemoveFrom|AddTo|Reset)Land(Pass|Ban)List|(Set|Clear)CameraParams|HTTP(Request|Response)|TextBox|DetectedTouch(UV|Face|Pos|(N|Bin)ormal|ST)|(MD5|SHA1|DumpList2)String|Request(Secure)?URL|Clear(Prim|Link)Media|(Link)?ParticleSystem|(Get|Request)(Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\\b"};return{name:"LSL (Linden Scripting Language)",illegal:":",contains:[n,{className:"comment",variants:[t.COMMENT("//","$"),t.COMMENT("/\\*","\\*/")],relevance:0},r,{className:"section",variants:[{begin:"\\b(state|default)\\b"},{begin:"\\b(state_(entry|exit)|touch(_(start|end))?|(land_)?collision(_(start|end))?|timer|listen|(no_)?sensor|control|(not_)?at_(rot_)?target|money|email|experience_permissions(_denied)?|run_time_permissions|changed|attach|dataserver|moving_(start|end)|link_message|(on|object)_rez|remote_data|http_re(sponse|quest)|path_update|transaction_result)\\b"}]},o,i,{className:"type",begin:"\\b(integer|float|string|key|vector|quaternion|rotation|list)\\b"}]}}const Dx=["AASTriangle","AbelianGroup","Abort","AbortKernels","AbortProtect","AbortScheduledTask","Above","Abs","AbsArg","AbsArgPlot","Absolute","AbsoluteCorrelation","AbsoluteCorrelationFunction","AbsoluteCurrentValue","AbsoluteDashing","AbsoluteFileName","AbsoluteOptions","AbsolutePointSize","AbsoluteThickness","AbsoluteTime","AbsoluteTiming","AcceptanceThreshold","AccountingForm","Accumulate","Accuracy","AccuracyGoal","AcousticAbsorbingValue","AcousticImpedanceValue","AcousticNormalVelocityValue","AcousticPDEComponent","AcousticPressureCondition","AcousticRadiationValue","AcousticSoundHardValue","AcousticSoundSoftCondition","ActionDelay","ActionMenu","ActionMenuBox","ActionMenuBoxOptions","Activate","Active","ActiveClassification","ActiveClassificationObject","ActiveItem","ActivePrediction","ActivePredictionObject","ActiveStyle","AcyclicGraphQ","AddOnHelpPath","AddSides","AddTo","AddToSearchIndex","AddUsers","AdjacencyGraph","AdjacencyList","AdjacencyMatrix","AdjacentMeshCells","Adjugate","AdjustmentBox","AdjustmentBoxOptions","AdjustTimeSeriesForecast","AdministrativeDivisionData","AffineHalfSpace","AffineSpace","AffineStateSpaceModel","AffineTransform","After","AggregatedEntityClass","AggregationLayer","AircraftData","AirportData","AirPressureData","AirSoundAttenuation","AirTemperatureData","AiryAi","AiryAiPrime","AiryAiZero","AiryBi","AiryBiPrime","AiryBiZero","AlgebraicIntegerQ","AlgebraicNumber","AlgebraicNumberDenominator","AlgebraicNumberNorm","AlgebraicNumberPolynomial","AlgebraicNumberTrace","AlgebraicRules","AlgebraicRulesData","Algebraics","AlgebraicUnitQ","Alignment","AlignmentMarker","AlignmentPoint","All","AllowAdultContent","AllowChatServices","AllowedCloudExtraParameters","AllowedCloudParameterExtensions","AllowedDimensions","AllowedFrequencyRange","AllowedHeads","AllowGroupClose","AllowIncomplete","AllowInlineCells","AllowKernelInitialization","AllowLooseGrammar","AllowReverseGroupClose","AllowScriptLevelChange","AllowVersionUpdate","AllTrue","Alphabet","AlphabeticOrder","AlphabeticSort","AlphaChannel","AlternateImage","AlternatingFactorial","AlternatingGroup","AlternativeHypothesis","Alternatives","AltitudeMethod","AmbientLight","AmbiguityFunction","AmbiguityList","Analytic","AnatomyData","AnatomyForm","AnatomyPlot3D","AnatomySkinStyle","AnatomyStyling","AnchoredSearch","And","AndersonDarlingTest","AngerJ","AngleBisector","AngleBracket","AnglePath","AnglePath3D","AngleVector","AngularGauge","Animate","AnimatedImage","AnimationCycleOffset","AnimationCycleRepetitions","AnimationDirection","AnimationDisplayTime","AnimationRate","AnimationRepetitions","AnimationRunning","AnimationRunTime","AnimationTimeIndex","AnimationVideo","Animator","AnimatorBox","AnimatorBoxOptions","AnimatorElements","Annotate","Annotation","AnnotationDelete","AnnotationKeys","AnnotationRules","AnnotationValue","Annuity","AnnuityDue","Annulus","AnomalyDetection","AnomalyDetector","AnomalyDetectorFunction","Anonymous","Antialiasing","Antihermitian","AntihermitianMatrixQ","Antisymmetric","AntisymmetricMatrixQ","Antonyms","AnyOrder","AnySubset","AnyTrue","Apart","ApartSquareFree","APIFunction","Appearance","AppearanceElements","AppearanceRules","AppellF1","Append","AppendCheck","AppendLayer","AppendTo","Application","Apply","ApplyReaction","ApplySides","ApplyTo","ArcCos","ArcCosh","ArcCot","ArcCoth","ArcCsc","ArcCsch","ArcCurvature","ARCHProcess","ArcLength","ArcSec","ArcSech","ArcSin","ArcSinDistribution","ArcSinh","ArcTan","ArcTanh","Area","Arg","ArgMax","ArgMin","ArgumentCountQ","ArgumentsOptions","ARIMAProcess","ArithmeticGeometricMean","ARMAProcess","Around","AroundReplace","ARProcess","Array","ArrayComponents","ArrayDepth","ArrayFilter","ArrayFlatten","ArrayMesh","ArrayPad","ArrayPlot","ArrayPlot3D","ArrayQ","ArrayReduce","ArrayResample","ArrayReshape","ArrayRules","Arrays","Arrow","Arrow3DBox","ArrowBox","Arrowheads","ASATriangle","Ask","AskAppend","AskConfirm","AskDisplay","AskedQ","AskedValue","AskFunction","AskState","AskTemplateDisplay","AspectRatio","AspectRatioFixed","Assert","AssessmentFunction","AssessmentResultObject","AssociateTo","Association","AssociationFormat","AssociationMap","AssociationQ","AssociationThread","AssumeDeterministic","Assuming","Assumptions","AstroAngularSeparation","AstroBackground","AstroCenter","AstroDistance","AstroGraphics","AstroGridLines","AstroGridLinesStyle","AstronomicalData","AstroPosition","AstroProjection","AstroRange","AstroRangePadding","AstroReferenceFrame","AstroStyling","AstroZoomLevel","Asymptotic","AsymptoticDSolveValue","AsymptoticEqual","AsymptoticEquivalent","AsymptoticExpectation","AsymptoticGreater","AsymptoticGreaterEqual","AsymptoticIntegrate","AsymptoticLess","AsymptoticLessEqual","AsymptoticOutputTracker","AsymptoticProbability","AsymptoticProduct","AsymptoticRSolveValue","AsymptoticSolve","AsymptoticSum","Asynchronous","AsynchronousTaskObject","AsynchronousTasks","Atom","AtomCoordinates","AtomCount","AtomDiagramCoordinates","AtomLabels","AtomLabelStyle","AtomList","AtomQ","AttachCell","AttachedCell","AttentionLayer","Attributes","Audio","AudioAmplify","AudioAnnotate","AudioAnnotationLookup","AudioBlockMap","AudioCapture","AudioChannelAssignment","AudioChannelCombine","AudioChannelMix","AudioChannels","AudioChannelSeparate","AudioData","AudioDelay","AudioDelete","AudioDevice","AudioDistance","AudioEncoding","AudioFade","AudioFrequencyShift","AudioGenerator","AudioIdentify","AudioInputDevice","AudioInsert","AudioInstanceQ","AudioIntervals","AudioJoin","AudioLabel","AudioLength","AudioLocalMeasurements","AudioLooping","AudioLoudness","AudioMeasurements","AudioNormalize","AudioOutputDevice","AudioOverlay","AudioPad","AudioPan","AudioPartition","AudioPause","AudioPitchShift","AudioPlay","AudioPlot","AudioQ","AudioRecord","AudioReplace","AudioResample","AudioReverb","AudioReverse","AudioSampleRate","AudioSpectralMap","AudioSpectralTransformation","AudioSplit","AudioStop","AudioStream","AudioStreams","AudioTimeStretch","AudioTrackApply","AudioTrackSelection","AudioTrim","AudioType","AugmentedPolyhedron","AugmentedSymmetricPolynomial","Authenticate","Authentication","AuthenticationDialog","AutoAction","Autocomplete","AutocompletionFunction","AutoCopy","AutocorrelationTest","AutoDelete","AutoEvaluateEvents","AutoGeneratedPackage","AutoIndent","AutoIndentSpacings","AutoItalicWords","AutoloadPath","AutoMatch","Automatic","AutomaticImageSize","AutoMultiplicationSymbol","AutoNumberFormatting","AutoOpenNotebooks","AutoOpenPalettes","AutoOperatorRenderings","AutoQuoteCharacters","AutoRefreshed","AutoRemove","AutorunSequencing","AutoScaling","AutoScroll","AutoSpacing","AutoStyleOptions","AutoStyleWords","AutoSubmitting","Axes","AxesEdge","AxesLabel","AxesOrigin","AxesStyle","AxiomaticTheory","Axis","Axis3DBox","Axis3DBoxOptions","AxisBox","AxisBoxOptions","AxisLabel","AxisObject","AxisStyle","BabyMonsterGroupB","Back","BackFaceColor","BackFaceGlowColor","BackFaceOpacity","BackFaceSpecularColor","BackFaceSpecularExponent","BackFaceSurfaceAppearance","BackFaceTexture","Background","BackgroundAppearance","BackgroundTasksSettings","Backslash","Backsubstitution","Backward","Ball","Band","BandpassFilter","BandstopFilter","BarabasiAlbertGraphDistribution","BarChart","BarChart3D","BarcodeImage","BarcodeRecognize","BaringhausHenzeTest","BarLegend","BarlowProschanImportance","BarnesG","BarOrigin","BarSpacing","BartlettHannWindow","BartlettWindow","BaseDecode","BaseEncode","BaseForm","Baseline","BaselinePosition","BaseStyle","BasicRecurrentLayer","BatchNormalizationLayer","BatchSize","BatesDistribution","BattleLemarieWavelet","BayesianMaximization","BayesianMaximizationObject","BayesianMinimization","BayesianMinimizationObject","Because","BeckmannDistribution","Beep","Before","Begin","BeginDialogPacket","BeginPackage","BellB","BellY","Below","BenfordDistribution","BeniniDistribution","BenktanderGibratDistribution","BenktanderWeibullDistribution","BernoulliB","BernoulliDistribution","BernoulliGraphDistribution","BernoulliProcess","BernsteinBasis","BesagL","BesselFilterModel","BesselI","BesselJ","BesselJZero","BesselK","BesselY","BesselYZero","Beta","BetaBinomialDistribution","BetaDistribution","BetaNegativeBinomialDistribution","BetaPrimeDistribution","BetaRegularized","Between","BetweennessCentrality","Beveled","BeveledPolyhedron","BezierCurve","BezierCurve3DBox","BezierCurve3DBoxOptions","BezierCurveBox","BezierCurveBoxOptions","BezierFunction","BilateralFilter","BilateralLaplaceTransform","BilateralZTransform","Binarize","BinaryDeserialize","BinaryDistance","BinaryFormat","BinaryImageQ","BinaryRead","BinaryReadList","BinarySerialize","BinaryWrite","BinCounts","BinLists","BinnedVariogramList","Binomial","BinomialDistribution","BinomialPointProcess","BinomialProcess","BinormalDistribution","BiorthogonalSplineWavelet","BioSequence","BioSequenceBackTranslateList","BioSequenceComplement","BioSequenceInstances","BioSequenceModify","BioSequencePlot","BioSequenceQ","BioSequenceReverseComplement","BioSequenceTranscribe","BioSequenceTranslate","BipartiteGraphQ","BiquadraticFilterModel","BirnbaumImportance","BirnbaumSaundersDistribution","BitAnd","BitClear","BitGet","BitLength","BitNot","BitOr","BitRate","BitSet","BitShiftLeft","BitShiftRight","BitXor","BiweightLocation","BiweightMidvariance","Black","BlackmanHarrisWindow","BlackmanNuttallWindow","BlackmanWindow","Blank","BlankForm","BlankNullSequence","BlankSequence","Blend","Block","BlockchainAddressData","BlockchainBase","BlockchainBlockData","BlockchainContractValue","BlockchainData","BlockchainGet","BlockchainKeyEncode","BlockchainPut","BlockchainTokenData","BlockchainTransaction","BlockchainTransactionData","BlockchainTransactionSign","BlockchainTransactionSubmit","BlockDiagonalMatrix","BlockLowerTriangularMatrix","BlockMap","BlockRandom","BlockUpperTriangularMatrix","BlomqvistBeta","BlomqvistBetaTest","Blue","Blur","Blurring","BodePlot","BohmanWindow","Bold","Bond","BondCount","BondLabels","BondLabelStyle","BondList","BondQ","Bookmarks","Boole","BooleanConsecutiveFunction","BooleanConvert","BooleanCountingFunction","BooleanFunction","BooleanGraph","BooleanMaxterms","BooleanMinimize","BooleanMinterms","BooleanQ","BooleanRegion","Booleans","BooleanStrings","BooleanTable","BooleanVariables","BorderDimensions","BorelTannerDistribution","Bottom","BottomHatTransform","BoundaryDiscretizeGraphics","BoundaryDiscretizeRegion","BoundaryMesh","BoundaryMeshRegion","BoundaryMeshRegionQ","BoundaryStyle","BoundedRegionQ","BoundingRegion","Bounds","Box","BoxBaselineShift","BoxData","BoxDimensions","Boxed","Boxes","BoxForm","BoxFormFormatTypes","BoxFrame","BoxID","BoxMargins","BoxMatrix","BoxObject","BoxRatios","BoxRotation","BoxRotationPoint","BoxStyle","BoxWhiskerChart","Bra","BracketingBar","BraKet","BrayCurtisDistance","BreadthFirstScan","Break","BridgeData","BrightnessEqualize","BroadcastStationData","Brown","BrownForsytheTest","BrownianBridgeProcess","BrowserCategory","BSplineBasis","BSplineCurve","BSplineCurve3DBox","BSplineCurve3DBoxOptions","BSplineCurveBox","BSplineCurveBoxOptions","BSplineFunction","BSplineSurface","BSplineSurface3DBox","BSplineSurface3DBoxOptions","BubbleChart","BubbleChart3D","BubbleScale","BubbleSizes","BuckyballGraph","BuildCompiledComponent","BuildingData","BulletGauge","BusinessDayQ","ButterflyGraph","ButterworthFilterModel","Button","ButtonBar","ButtonBox","ButtonBoxOptions","ButtonCell","ButtonContents","ButtonData","ButtonEvaluator","ButtonExpandable","ButtonFrame","ButtonFunction","ButtonMargins","ButtonMinHeight","ButtonNote","ButtonNotebook","ButtonSource","ButtonStyle","ButtonStyleMenuListing","Byte","ByteArray","ByteArrayFormat","ByteArrayFormatQ","ByteArrayQ","ByteArrayToString","ByteCount","ByteOrdering","C","CachedValue","CacheGraphics","CachePersistence","CalendarConvert","CalendarData","CalendarType","Callout","CalloutMarker","CalloutStyle","CallPacket","CanberraDistance","Cancel","CancelButton","CandlestickChart","CanonicalGraph","CanonicalizePolygon","CanonicalizePolyhedron","CanonicalizeRegion","CanonicalName","CanonicalWarpingCorrespondence","CanonicalWarpingDistance","CantorMesh","CantorStaircase","Canvas","Cap","CapForm","CapitalDifferentialD","Capitalize","CapsuleShape","CaptureRunning","CaputoD","CardinalBSplineBasis","CarlemanLinearize","CarlsonRC","CarlsonRD","CarlsonRE","CarlsonRF","CarlsonRG","CarlsonRJ","CarlsonRK","CarlsonRM","CarmichaelLambda","CaseOrdering","Cases","CaseSensitive","Cashflow","Casoratian","Cast","Catalan","CatalanNumber","Catch","CategoricalDistribution","Catenate","CatenateLayer","CauchyDistribution","CauchyMatrix","CauchyPointProcess","CauchyWindow","CayleyGraph","CDF","CDFDeploy","CDFInformation","CDFWavelet","Ceiling","CelestialSystem","Cell","CellAutoOverwrite","CellBaseline","CellBoundingBox","CellBracketOptions","CellChangeTimes","CellContents","CellContext","CellDingbat","CellDingbatMargin","CellDynamicExpression","CellEditDuplicate","CellElementsBoundingBox","CellElementSpacings","CellEpilog","CellEvaluationDuplicate","CellEvaluationFunction","CellEvaluationLanguage","CellEventActions","CellFrame","CellFrameColor","CellFrameLabelMargins","CellFrameLabels","CellFrameMargins","CellFrameStyle","CellGroup","CellGroupData","CellGrouping","CellGroupingRules","CellHorizontalScrolling","CellID","CellInsertionPointCell","CellLabel","CellLabelAutoDelete","CellLabelMargins","CellLabelPositioning","CellLabelStyle","CellLabelTemplate","CellMargins","CellObject","CellOpen","CellPrint","CellProlog","Cells","CellSize","CellStyle","CellTags","CellTrayPosition","CellTrayWidgets","CellularAutomaton","CensoredDistribution","Censoring","Center","CenterArray","CenterDot","CenteredInterval","CentralFeature","CentralMoment","CentralMomentGeneratingFunction","Cepstrogram","CepstrogramArray","CepstrumArray","CForm","ChampernowneNumber","ChangeOptions","ChannelBase","ChannelBrokerAction","ChannelDatabin","ChannelHistoryLength","ChannelListen","ChannelListener","ChannelListeners","ChannelListenerWait","ChannelObject","ChannelPreSendFunction","ChannelReceiverFunction","ChannelSend","ChannelSubscribers","ChanVeseBinarize","Character","CharacterCounts","CharacterEncoding","CharacterEncodingsPath","CharacteristicFunction","CharacteristicPolynomial","CharacterName","CharacterNormalize","CharacterRange","Characters","ChartBaseStyle","ChartElementData","ChartElementDataFunction","ChartElementFunction","ChartElements","ChartLabels","ChartLayout","ChartLegends","ChartStyle","Chebyshev1FilterModel","Chebyshev2FilterModel","ChebyshevDistance","ChebyshevT","ChebyshevU","Check","CheckAbort","CheckAll","CheckArguments","Checkbox","CheckboxBar","CheckboxBox","CheckboxBoxOptions","ChemicalConvert","ChemicalData","ChemicalFormula","ChemicalInstance","ChemicalReaction","ChessboardDistance","ChiDistribution","ChineseRemainder","ChiSquareDistribution","ChoiceButtons","ChoiceDialog","CholeskyDecomposition","Chop","ChromaticityPlot","ChromaticityPlot3D","ChromaticPolynomial","Circle","CircleBox","CircleDot","CircleMinus","CirclePlus","CirclePoints","CircleThrough","CircleTimes","CirculantGraph","CircularArcThrough","CircularOrthogonalMatrixDistribution","CircularQuaternionMatrixDistribution","CircularRealMatrixDistribution","CircularSymplecticMatrixDistribution","CircularUnitaryMatrixDistribution","Circumsphere","CityData","ClassifierFunction","ClassifierInformation","ClassifierMeasurements","ClassifierMeasurementsObject","Classify","ClassPriors","Clear","ClearAll","ClearAttributes","ClearCookies","ClearPermissions","ClearSystemCache","ClebschGordan","ClickPane","ClickToCopy","ClickToCopyEnabled","Clip","ClipboardNotebook","ClipFill","ClippingStyle","ClipPlanes","ClipPlanesStyle","ClipRange","Clock","ClockGauge","ClockwiseContourIntegral","Close","Closed","CloseKernels","ClosenessCentrality","Closing","ClosingAutoSave","ClosingEvent","CloudAccountData","CloudBase","CloudConnect","CloudConnections","CloudDeploy","CloudDirectory","CloudDisconnect","CloudEvaluate","CloudExport","CloudExpression","CloudExpressions","CloudFunction","CloudGet","CloudImport","CloudLoggingData","CloudObject","CloudObjectInformation","CloudObjectInformationData","CloudObjectNameFormat","CloudObjects","CloudObjectURLType","CloudPublish","CloudPut","CloudRenderingMethod","CloudSave","CloudShare","CloudSubmit","CloudSymbol","CloudUnshare","CloudUserID","ClusterClassify","ClusterDissimilarityFunction","ClusteringComponents","ClusteringMeasurements","ClusteringTree","CMYKColor","Coarse","CodeAssistOptions","Coefficient","CoefficientArrays","CoefficientDomain","CoefficientList","CoefficientRules","CoifletWavelet","Collect","CollinearPoints","Colon","ColonForm","ColorBalance","ColorCombine","ColorConvert","ColorCoverage","ColorData","ColorDataFunction","ColorDetect","ColorDistance","ColorFunction","ColorFunctionBinning","ColorFunctionScaling","Colorize","ColorNegate","ColorOutput","ColorProfileData","ColorQ","ColorQuantize","ColorReplace","ColorRules","ColorSelectorSettings","ColorSeparate","ColorSetter","ColorSetterBox","ColorSetterBoxOptions","ColorSlider","ColorsNear","ColorSpace","ColorToneMapping","Column","ColumnAlignments","ColumnBackgrounds","ColumnForm","ColumnLines","ColumnsEqual","ColumnSpacings","ColumnWidths","CombinatorB","CombinatorC","CombinatorI","CombinatorK","CombinatorS","CombinatorW","CombinatorY","CombinedEntityClass","CombinerFunction","CometData","CommonDefaultFormatTypes","Commonest","CommonestFilter","CommonName","CommonUnits","CommunityBoundaryStyle","CommunityGraphPlot","CommunityLabels","CommunityRegionStyle","CompanyData","CompatibleUnitQ","CompilationOptions","CompilationTarget","Compile","Compiled","CompiledCodeFunction","CompiledComponent","CompiledExpressionDeclaration","CompiledFunction","CompiledLayer","CompilerCallback","CompilerEnvironment","CompilerEnvironmentAppend","CompilerEnvironmentAppendTo","CompilerEnvironmentObject","CompilerOptions","Complement","ComplementedEntityClass","CompleteGraph","CompleteGraphQ","CompleteIntegral","CompleteKaryTree","CompletionsListPacket","Complex","ComplexArrayPlot","ComplexContourPlot","Complexes","ComplexExpand","ComplexInfinity","ComplexityFunction","ComplexListPlot","ComplexPlot","ComplexPlot3D","ComplexRegionPlot","ComplexStreamPlot","ComplexVectorPlot","ComponentMeasurements","ComponentwiseContextMenu","Compose","ComposeList","ComposeSeries","CompositeQ","Composition","CompoundElement","CompoundExpression","CompoundPoissonDistribution","CompoundPoissonProcess","CompoundRenewalProcess","Compress","CompressedData","CompressionLevel","ComputeUncertainty","ConcaveHullMesh","Condition","ConditionalExpression","Conditioned","Cone","ConeBox","ConfidenceLevel","ConfidenceRange","ConfidenceTransform","ConfigurationPath","Confirm","ConfirmAssert","ConfirmBy","ConfirmMatch","ConfirmQuiet","ConformationMethod","ConformAudio","ConformImages","Congruent","ConicGradientFilling","ConicHullRegion","ConicHullRegion3DBox","ConicHullRegion3DBoxOptions","ConicHullRegionBox","ConicHullRegionBoxOptions","ConicOptimization","Conjugate","ConjugateTranspose","Conjunction","Connect","ConnectedComponents","ConnectedGraphComponents","ConnectedGraphQ","ConnectedMeshComponents","ConnectedMoleculeComponents","ConnectedMoleculeQ","ConnectionSettings","ConnectLibraryCallbackFunction","ConnectSystemModelComponents","ConnectSystemModelController","ConnesWindow","ConoverTest","ConservativeConvectionPDETerm","ConsoleMessage","Constant","ConstantArray","ConstantArrayLayer","ConstantImage","ConstantPlusLayer","ConstantRegionQ","Constants","ConstantTimesLayer","ConstellationData","ConstrainedMax","ConstrainedMin","Construct","Containing","ContainsAll","ContainsAny","ContainsExactly","ContainsNone","ContainsOnly","ContentDetectorFunction","ContentFieldOptions","ContentLocationFunction","ContentObject","ContentPadding","ContentsBoundingBox","ContentSelectable","ContentSize","Context","ContextMenu","Contexts","ContextToFileName","Continuation","Continue","ContinuedFraction","ContinuedFractionK","ContinuousAction","ContinuousMarkovProcess","ContinuousTask","ContinuousTimeModelQ","ContinuousWaveletData","ContinuousWaveletTransform","ContourDetect","ContourGraphics","ContourIntegral","ContourLabels","ContourLines","ContourPlot","ContourPlot3D","Contours","ContourShading","ContourSmoothing","ContourStyle","ContraharmonicMean","ContrastiveLossLayer","Control","ControlActive","ControlAlignment","ControlGroupContentsBox","ControllabilityGramian","ControllabilityMatrix","ControllableDecomposition","ControllableModelQ","ControllerDuration","ControllerInformation","ControllerInformationData","ControllerLinking","ControllerManipulate","ControllerMethod","ControllerPath","ControllerState","ControlPlacement","ControlsRendering","ControlType","ConvectionPDETerm","Convergents","ConversionOptions","ConversionRules","ConvertToPostScript","ConvertToPostScriptPacket","ConvexHullMesh","ConvexHullRegion","ConvexOptimization","ConvexPolygonQ","ConvexPolyhedronQ","ConvexRegionQ","ConvolutionLayer","Convolve","ConwayGroupCo1","ConwayGroupCo2","ConwayGroupCo3","CookieFunction","Cookies","CoordinateBoundingBox","CoordinateBoundingBoxArray","CoordinateBounds","CoordinateBoundsArray","CoordinateChartData","CoordinatesToolOptions","CoordinateTransform","CoordinateTransformData","CoplanarPoints","CoprimeQ","Coproduct","CopulaDistribution","Copyable","CopyDatabin","CopyDirectory","CopyFile","CopyFunction","CopyTag","CopyToClipboard","CoreNilpotentDecomposition","CornerFilter","CornerNeighbors","Correlation","CorrelationDistance","CorrelationFunction","CorrelationTest","Cos","Cosh","CoshIntegral","CosineDistance","CosineWindow","CosIntegral","Cot","Coth","CoulombF","CoulombG","CoulombH1","CoulombH2","Count","CountDistinct","CountDistinctBy","CounterAssignments","CounterBox","CounterBoxOptions","CounterClockwiseContourIntegral","CounterEvaluator","CounterFunction","CounterIncrements","CounterStyle","CounterStyleMenuListing","CountRoots","CountryData","Counts","CountsBy","Covariance","CovarianceEstimatorFunction","CovarianceFunction","CoxianDistribution","CoxIngersollRossProcess","CoxModel","CoxModelFit","CramerVonMisesTest","CreateArchive","CreateCellID","CreateChannel","CreateCloudExpression","CreateCompilerEnvironment","CreateDatabin","CreateDataStructure","CreateDataSystemModel","CreateDialog","CreateDirectory","CreateDocument","CreateFile","CreateIntermediateDirectories","CreateLicenseEntitlement","CreateManagedLibraryExpression","CreateNotebook","CreatePacletArchive","CreatePalette","CreatePermissionsGroup","CreateScheduledTask","CreateSearchIndex","CreateSystemModel","CreateTemporary","CreateTypeInstance","CreateUUID","CreateWindow","CriterionFunction","CriticalityFailureImportance","CriticalitySuccessImportance","CriticalSection","Cross","CrossEntropyLossLayer","CrossingCount","CrossingDetect","CrossingPolygon","CrossMatrix","Csc","Csch","CSGRegion","CSGRegionQ","CSGRegionTree","CTCLossLayer","Cube","CubeRoot","Cubics","Cuboid","CuboidBox","CuboidBoxOptions","Cumulant","CumulantGeneratingFunction","CumulativeFeatureImpactPlot","Cup","CupCap","Curl","CurlyDoubleQuote","CurlyQuote","CurrencyConvert","CurrentDate","CurrentImage","CurrentNotebookImage","CurrentScreenImage","CurrentValue","Curry","CurryApplied","CurvatureFlowFilter","CurveClosed","Cyan","CycleGraph","CycleIndexPolynomial","Cycles","CyclicGroup","Cyclotomic","Cylinder","CylinderBox","CylinderBoxOptions","CylindricalDecomposition","CylindricalDecompositionFunction","D","DagumDistribution","DamData","DamerauLevenshteinDistance","DampingFactor","Darker","Dashed","Dashing","DatabaseConnect","DatabaseDisconnect","DatabaseReference","Databin","DatabinAdd","DatabinRemove","Databins","DatabinSubmit","DatabinUpload","DataCompression","DataDistribution","DataRange","DataReversed","Dataset","DatasetDisplayPanel","DatasetTheme","DataStructure","DataStructureQ","Date","DateBounds","Dated","DateDelimiters","DateDifference","DatedUnit","DateFormat","DateFunction","DateGranularity","DateHistogram","DateInterval","DateList","DateListLogPlot","DateListPlot","DateListStepPlot","DateObject","DateObjectQ","DateOverlapsQ","DatePattern","DatePlus","DateRange","DateReduction","DateScale","DateSelect","DateString","DateTicksFormat","DateValue","DateWithinQ","DaubechiesWavelet","DavisDistribution","DawsonF","DayCount","DayCountConvention","DayHemisphere","DaylightQ","DayMatchQ","DayName","DayNightTerminator","DayPlus","DayRange","DayRound","DeBruijnGraph","DeBruijnSequence","Debug","DebugTag","Decapitalize","Decimal","DecimalForm","DeclareCompiledComponent","DeclareKnownSymbols","DeclarePackage","Decompose","DeconvolutionLayer","Decrement","Decrypt","DecryptFile","DedekindEta","DeepSpaceProbeData","Default","Default2DTool","Default3DTool","DefaultAttachedCellStyle","DefaultAxesStyle","DefaultBaseStyle","DefaultBoxStyle","DefaultButton","DefaultColor","DefaultControlPlacement","DefaultDockedCellStyle","DefaultDuplicateCellStyle","DefaultDuration","DefaultElement","DefaultFaceGridsStyle","DefaultFieldHintStyle","DefaultFont","DefaultFontProperties","DefaultFormatType","DefaultFrameStyle","DefaultFrameTicksStyle","DefaultGridLinesStyle","DefaultInlineFormatType","DefaultInputFormatType","DefaultLabelStyle","DefaultMenuStyle","DefaultNaturalLanguage","DefaultNewCellStyle","DefaultNewInlineCellStyle","DefaultNotebook","DefaultOptions","DefaultOutputFormatType","DefaultPrintPrecision","DefaultStyle","DefaultStyleDefinitions","DefaultTextFormatType","DefaultTextInlineFormatType","DefaultTicksStyle","DefaultTooltipStyle","DefaultValue","DefaultValues","Defer","DefineExternal","DefineInputStreamMethod","DefineOutputStreamMethod","DefineResourceFunction","Definition","Degree","DegreeCentrality","DegreeGraphDistribution","DegreeLexicographic","DegreeReverseLexicographic","DEigensystem","DEigenvalues","Deinitialization","Del","DelaunayMesh","Delayed","Deletable","Delete","DeleteAdjacentDuplicates","DeleteAnomalies","DeleteBorderComponents","DeleteCases","DeleteChannel","DeleteCloudExpression","DeleteContents","DeleteDirectory","DeleteDuplicates","DeleteDuplicatesBy","DeleteElements","DeleteFile","DeleteMissing","DeleteObject","DeletePermissionsKey","DeleteSearchIndex","DeleteSmallComponents","DeleteStopwords","DeleteWithContents","DeletionWarning","DelimitedArray","DelimitedSequence","Delimiter","DelimiterAutoMatching","DelimiterFlashTime","DelimiterMatching","Delimiters","DeliveryFunction","Dendrogram","Denominator","DensityGraphics","DensityHistogram","DensityPlot","DensityPlot3D","DependentVariables","Deploy","Deployed","Depth","DepthFirstScan","Derivative","DerivativeFilter","DerivativePDETerm","DerivedKey","DescriptorStateSpace","DesignMatrix","DestroyAfterEvaluation","Det","DeviceClose","DeviceConfigure","DeviceExecute","DeviceExecuteAsynchronous","DeviceObject","DeviceOpen","DeviceOpenQ","DeviceRead","DeviceReadBuffer","DeviceReadLatest","DeviceReadList","DeviceReadTimeSeries","Devices","DeviceStreams","DeviceWrite","DeviceWriteBuffer","DGaussianWavelet","DiacriticalPositioning","Diagonal","DiagonalizableMatrixQ","DiagonalMatrix","DiagonalMatrixQ","Dialog","DialogIndent","DialogInput","DialogLevel","DialogNotebook","DialogProlog","DialogReturn","DialogSymbols","Diamond","DiamondMatrix","DiceDissimilarity","DictionaryLookup","DictionaryWordQ","DifferenceDelta","DifferenceOrder","DifferenceQuotient","DifferenceRoot","DifferenceRootReduce","Differences","DifferentialD","DifferentialRoot","DifferentialRootReduce","DifferentiatorFilter","DiffusionPDETerm","DiggleGatesPointProcess","DiggleGrattonPointProcess","DigitalSignature","DigitBlock","DigitBlockMinimum","DigitCharacter","DigitCount","DigitQ","DihedralAngle","DihedralGroup","Dilation","DimensionalCombinations","DimensionalMeshComponents","DimensionReduce","DimensionReducerFunction","DimensionReduction","Dimensions","DiracComb","DiracDelta","DirectedEdge","DirectedEdges","DirectedGraph","DirectedGraphQ","DirectedInfinity","Direction","DirectionalLight","Directive","Directory","DirectoryName","DirectoryQ","DirectoryStack","DirichletBeta","DirichletCharacter","DirichletCondition","DirichletConvolve","DirichletDistribution","DirichletEta","DirichletL","DirichletLambda","DirichletTransform","DirichletWindow","DisableConsolePrintPacket","DisableFormatting","DiscreteAsymptotic","DiscreteChirpZTransform","DiscreteConvolve","DiscreteDelta","DiscreteHadamardTransform","DiscreteIndicator","DiscreteInputOutputModel","DiscreteLimit","DiscreteLQEstimatorGains","DiscreteLQRegulatorGains","DiscreteLyapunovSolve","DiscreteMarkovProcess","DiscreteMaxLimit","DiscreteMinLimit","DiscretePlot","DiscretePlot3D","DiscreteRatio","DiscreteRiccatiSolve","DiscreteShift","DiscreteTimeModelQ","DiscreteUniformDistribution","DiscreteVariables","DiscreteWaveletData","DiscreteWaveletPacketTransform","DiscreteWaveletTransform","DiscretizeGraphics","DiscretizeRegion","Discriminant","DisjointQ","Disjunction","Disk","DiskBox","DiskBoxOptions","DiskMatrix","DiskSegment","Dispatch","DispatchQ","DispersionEstimatorFunction","Display","DisplayAllSteps","DisplayEndPacket","DisplayForm","DisplayFunction","DisplayPacket","DisplayRules","DisplayString","DisplayTemporary","DisplayWith","DisplayWithRef","DisplayWithVariable","DistanceFunction","DistanceMatrix","DistanceTransform","Distribute","Distributed","DistributedContexts","DistributeDefinitions","DistributionChart","DistributionDomain","DistributionFitTest","DistributionParameterAssumptions","DistributionParameterQ","Dithering","Div","Divergence","Divide","DivideBy","Dividers","DivideSides","Divisible","Divisors","DivisorSigma","DivisorSum","DMSList","DMSString","Do","DockedCell","DockedCells","DocumentGenerator","DocumentGeneratorInformation","DocumentGeneratorInformationData","DocumentGenerators","DocumentNotebook","DocumentWeightingRules","Dodecahedron","DomainRegistrationInformation","DominantColors","DominatorTreeGraph","DominatorVertexList","DOSTextFormat","Dot","DotDashed","DotEqual","DotLayer","DotPlusLayer","Dotted","DoubleBracketingBar","DoubleContourIntegral","DoubleDownArrow","DoubleLeftArrow","DoubleLeftRightArrow","DoubleLeftTee","DoubleLongLeftArrow","DoubleLongLeftRightArrow","DoubleLongRightArrow","DoubleRightArrow","DoubleRightTee","DoubleUpArrow","DoubleUpDownArrow","DoubleVerticalBar","DoublyInfinite","Down","DownArrow","DownArrowBar","DownArrowUpArrow","DownLeftRightVector","DownLeftTeeVector","DownLeftVector","DownLeftVectorBar","DownRightTeeVector","DownRightVector","DownRightVectorBar","Downsample","DownTee","DownTeeArrow","DownValues","DownValuesFunction","DragAndDrop","DrawBackFaces","DrawEdges","DrawFrontFaces","DrawHighlighted","DrazinInverse","Drop","DropoutLayer","DropShadowing","DSolve","DSolveChangeVariables","DSolveValue","Dt","DualLinearProgramming","DualPlanarGraph","DualPolyhedron","DualSystemsModel","DumpGet","DumpSave","DuplicateFreeQ","Duration","Dynamic","DynamicBox","DynamicBoxOptions","DynamicEvaluationTimeout","DynamicGeoGraphics","DynamicImage","DynamicLocation","DynamicModule","DynamicModuleBox","DynamicModuleBoxOptions","DynamicModuleParent","DynamicModuleValues","DynamicName","DynamicNamespace","DynamicReference","DynamicSetting","DynamicUpdating","DynamicWrapper","DynamicWrapperBox","DynamicWrapperBoxOptions","E","EarthImpactData","EarthquakeData","EccentricityCentrality","Echo","EchoEvaluation","EchoFunction","EchoLabel","EchoTiming","EclipseType","EdgeAdd","EdgeBetweennessCentrality","EdgeCapacity","EdgeCapForm","EdgeChromaticNumber","EdgeColor","EdgeConnectivity","EdgeContract","EdgeCost","EdgeCount","EdgeCoverQ","EdgeCycleMatrix","EdgeDashing","EdgeDelete","EdgeDetect","EdgeForm","EdgeIndex","EdgeJoinForm","EdgeLabeling","EdgeLabels","EdgeLabelStyle","EdgeList","EdgeOpacity","EdgeQ","EdgeRenderingFunction","EdgeRules","EdgeShapeFunction","EdgeStyle","EdgeTaggedGraph","EdgeTaggedGraphQ","EdgeTags","EdgeThickness","EdgeTransitiveGraphQ","EdgeValueRange","EdgeValueSizes","EdgeWeight","EdgeWeightedGraphQ","Editable","EditButtonSettings","EditCellTagsSettings","EditDistance","EffectiveInterest","Eigensystem","Eigenvalues","EigenvectorCentrality","Eigenvectors","Element","ElementData","ElementwiseLayer","ElidedForms","Eliminate","EliminationOrder","Ellipsoid","EllipticE","EllipticExp","EllipticExpPrime","EllipticF","EllipticFilterModel","EllipticK","EllipticLog","EllipticNomeQ","EllipticPi","EllipticReducedHalfPeriods","EllipticTheta","EllipticThetaPrime","EmbedCode","EmbeddedHTML","EmbeddedService","EmbeddedSQLEntityClass","EmbeddedSQLExpression","EmbeddingLayer","EmbeddingObject","EmitSound","EmphasizeSyntaxErrors","EmpiricalDistribution","Empty","EmptyGraphQ","EmptyRegion","EmptySpaceF","EnableConsolePrintPacket","Enabled","Enclose","Encode","Encrypt","EncryptedObject","EncryptFile","End","EndAdd","EndDialogPacket","EndOfBuffer","EndOfFile","EndOfLine","EndOfString","EndPackage","EngineEnvironment","EngineeringForm","Enter","EnterExpressionPacket","EnterTextPacket","Entity","EntityClass","EntityClassList","EntityCopies","EntityFunction","EntityGroup","EntityInstance","EntityList","EntityPrefetch","EntityProperties","EntityProperty","EntityPropertyClass","EntityRegister","EntityStore","EntityStores","EntityTypeName","EntityUnregister","EntityValue","Entropy","EntropyFilter","Environment","Epilog","EpilogFunction","Equal","EqualColumns","EqualRows","EqualTilde","EqualTo","EquatedTo","Equilibrium","EquirippleFilterKernel","Equivalent","Erf","Erfc","Erfi","ErlangB","ErlangC","ErlangDistribution","Erosion","ErrorBox","ErrorBoxOptions","ErrorNorm","ErrorPacket","ErrorsDialogSettings","EscapeRadius","EstimatedBackground","EstimatedDistribution","EstimatedPointNormals","EstimatedPointProcess","EstimatedProcess","EstimatedVariogramModel","EstimatorGains","EstimatorRegulator","EuclideanDistance","EulerAngles","EulerCharacteristic","EulerE","EulerGamma","EulerianGraphQ","EulerMatrix","EulerPhi","Evaluatable","Evaluate","Evaluated","EvaluatePacket","EvaluateScheduledTask","EvaluationBox","EvaluationCell","EvaluationCompletionAction","EvaluationData","EvaluationElements","EvaluationEnvironment","EvaluationMode","EvaluationMonitor","EvaluationNotebook","EvaluationObject","EvaluationOrder","EvaluationPrivileges","EvaluationRateLimit","Evaluator","EvaluatorNames","EvenQ","EventData","EventEvaluator","EventHandler","EventHandlerTag","EventLabels","EventSeries","ExactBlackmanWindow","ExactNumberQ","ExactRootIsolation","ExampleData","Except","ExcludedContexts","ExcludedForms","ExcludedLines","ExcludedPhysicalQuantities","ExcludePods","Exclusions","ExclusionsStyle","Exists","Exit","ExitDialog","ExoplanetData","Exp","Expand","ExpandAll","ExpandDenominator","ExpandFileName","ExpandNumerator","Expectation","ExpectationE","ExpectedValue","ExpGammaDistribution","ExpIntegralE","ExpIntegralEi","ExpirationDate","Exponent","ExponentFunction","ExponentialDistribution","ExponentialFamily","ExponentialGeneratingFunction","ExponentialMovingAverage","ExponentialPowerDistribution","ExponentPosition","ExponentStep","Export","ExportAutoReplacements","ExportByteArray","ExportForm","ExportPacket","ExportString","Expression","ExpressionCell","ExpressionGraph","ExpressionPacket","ExpressionTree","ExpressionUUID","ExpToTrig","ExtendedEntityClass","ExtendedGCD","Extension","ExtentElementFunction","ExtentMarkers","ExtentSize","ExternalBundle","ExternalCall","ExternalDataCharacterEncoding","ExternalEvaluate","ExternalFunction","ExternalFunctionName","ExternalIdentifier","ExternalObject","ExternalOptions","ExternalSessionObject","ExternalSessions","ExternalStorageBase","ExternalStorageDownload","ExternalStorageGet","ExternalStorageObject","ExternalStoragePut","ExternalStorageUpload","ExternalTypeSignature","ExternalValue","Extract","ExtractArchive","ExtractLayer","ExtractPacletArchive","ExtremeValueDistribution","FaceAlign","FaceForm","FaceGrids","FaceGridsStyle","FaceRecognize","FacialFeatures","Factor","FactorComplete","Factorial","Factorial2","FactorialMoment","FactorialMomentGeneratingFunction","FactorialPower","FactorInteger","FactorList","FactorSquareFree","FactorSquareFreeList","FactorTerms","FactorTermsList","Fail","Failure","FailureAction","FailureDistribution","FailureQ","False","FareySequence","FARIMAProcess","FeatureDistance","FeatureExtract","FeatureExtraction","FeatureExtractor","FeatureExtractorFunction","FeatureImpactPlot","FeatureNames","FeatureNearest","FeatureSpacePlot","FeatureSpacePlot3D","FeatureTypes","FeatureValueDependencyPlot","FeatureValueImpactPlot","FEDisableConsolePrintPacket","FeedbackLinearize","FeedbackSector","FeedbackSectorStyle","FeedbackType","FEEnableConsolePrintPacket","FetalGrowthData","Fibonacci","Fibonorial","FieldCompletionFunction","FieldHint","FieldHintStyle","FieldMasked","FieldSize","File","FileBaseName","FileByteCount","FileConvert","FileDate","FileExistsQ","FileExtension","FileFormat","FileFormatProperties","FileFormatQ","FileHandler","FileHash","FileInformation","FileName","FileNameDepth","FileNameDialogSettings","FileNameDrop","FileNameForms","FileNameJoin","FileNames","FileNameSetter","FileNameSplit","FileNameTake","FileNameToFormatList","FilePrint","FileSize","FileSystemMap","FileSystemScan","FileSystemTree","FileTemplate","FileTemplateApply","FileType","FilledCurve","FilledCurveBox","FilledCurveBoxOptions","FilledTorus","FillForm","Filling","FillingStyle","FillingTransform","FilteredEntityClass","FilterRules","FinancialBond","FinancialData","FinancialDerivative","FinancialIndicator","Find","FindAnomalies","FindArgMax","FindArgMin","FindChannels","FindClique","FindClusters","FindCookies","FindCurvePath","FindCycle","FindDevices","FindDistribution","FindDistributionParameters","FindDivisions","FindEdgeColoring","FindEdgeCover","FindEdgeCut","FindEdgeIndependentPaths","FindEquationalProof","FindEulerianCycle","FindExternalEvaluators","FindFaces","FindFile","FindFit","FindFormula","FindFundamentalCycles","FindGeneratingFunction","FindGeoLocation","FindGeometricConjectures","FindGeometricTransform","FindGraphCommunities","FindGraphIsomorphism","FindGraphPartition","FindHamiltonianCycle","FindHamiltonianPath","FindHiddenMarkovStates","FindImageText","FindIndependentEdgeSet","FindIndependentVertexSet","FindInstance","FindIntegerNullVector","FindIsomers","FindIsomorphicSubgraph","FindKClan","FindKClique","FindKClub","FindKPlex","FindLibrary","FindLinearRecurrence","FindList","FindMatchingColor","FindMaximum","FindMaximumCut","FindMaximumFlow","FindMaxValue","FindMeshDefects","FindMinimum","FindMinimumCostFlow","FindMinimumCut","FindMinValue","FindMoleculeSubstructure","FindPath","FindPeaks","FindPermutation","FindPlanarColoring","FindPointProcessParameters","FindPostmanTour","FindProcessParameters","FindRegionTransform","FindRepeat","FindRoot","FindSequenceFunction","FindSettings","FindShortestPath","FindShortestTour","FindSpanningTree","FindSubgraphIsomorphism","FindSystemModelEquilibrium","FindTextualAnswer","FindThreshold","FindTransientRepeat","FindVertexColoring","FindVertexCover","FindVertexCut","FindVertexIndependentPaths","Fine","FinishDynamic","FiniteAbelianGroupCount","FiniteGroupCount","FiniteGroupData","First","FirstCase","FirstPassageTimeDistribution","FirstPosition","FischerGroupFi22","FischerGroupFi23","FischerGroupFi24Prime","FisherHypergeometricDistribution","FisherRatioTest","FisherZDistribution","Fit","FitAll","FitRegularization","FittedModel","FixedOrder","FixedPoint","FixedPointList","FlashSelection","Flat","FlatShading","Flatten","FlattenAt","FlattenLayer","FlatTopWindow","FlightData","FlipView","Floor","FlowPolynomial","Fold","FoldList","FoldPair","FoldPairList","FoldWhile","FoldWhileList","FollowRedirects","Font","FontColor","FontFamily","FontForm","FontName","FontOpacity","FontPostScriptName","FontProperties","FontReencoding","FontSize","FontSlant","FontSubstitutions","FontTracking","FontVariations","FontWeight","For","ForAll","ForAllType","ForceVersionInstall","Format","FormatRules","FormatType","FormatTypeAutoConvert","FormatValues","FormBox","FormBoxOptions","FormControl","FormFunction","FormLayoutFunction","FormObject","FormPage","FormProtectionMethod","FormTheme","FormulaData","FormulaLookup","FortranForm","Forward","ForwardBackward","ForwardCloudCredentials","Fourier","FourierCoefficient","FourierCosCoefficient","FourierCosSeries","FourierCosTransform","FourierDCT","FourierDCTFilter","FourierDCTMatrix","FourierDST","FourierDSTMatrix","FourierMatrix","FourierParameters","FourierSequenceTransform","FourierSeries","FourierSinCoefficient","FourierSinSeries","FourierSinTransform","FourierTransform","FourierTrigSeries","FoxH","FoxHReduce","FractionalBrownianMotionProcess","FractionalD","FractionalGaussianNoiseProcess","FractionalPart","FractionBox","FractionBoxOptions","FractionLine","Frame","FrameBox","FrameBoxOptions","Framed","FrameInset","FrameLabel","Frameless","FrameListVideo","FrameMargins","FrameRate","FrameStyle","FrameTicks","FrameTicksStyle","FRatioDistribution","FrechetDistribution","FreeQ","FrenetSerretSystem","FrequencySamplingFilterKernel","FresnelC","FresnelF","FresnelG","FresnelS","Friday","FrobeniusNumber","FrobeniusSolve","FromAbsoluteTime","FromCharacterCode","FromCoefficientRules","FromContinuedFraction","FromDate","FromDateString","FromDigits","FromDMS","FromEntity","FromJulianDate","FromLetterNumber","FromPolarCoordinates","FromRawPointer","FromRomanNumeral","FromSphericalCoordinates","FromUnixTime","Front","FrontEndDynamicExpression","FrontEndEventActions","FrontEndExecute","FrontEndObject","FrontEndResource","FrontEndResourceString","FrontEndStackSize","FrontEndToken","FrontEndTokenExecute","FrontEndValueCache","FrontEndVersion","FrontFaceColor","FrontFaceGlowColor","FrontFaceOpacity","FrontFaceSpecularColor","FrontFaceSpecularExponent","FrontFaceSurfaceAppearance","FrontFaceTexture","Full","FullAxes","FullDefinition","FullForm","FullGraphics","FullInformationOutputRegulator","FullOptions","FullRegion","FullSimplify","Function","FunctionAnalytic","FunctionBijective","FunctionCompile","FunctionCompileExport","FunctionCompileExportByteArray","FunctionCompileExportLibrary","FunctionCompileExportString","FunctionContinuous","FunctionConvexity","FunctionDeclaration","FunctionDiscontinuities","FunctionDomain","FunctionExpand","FunctionInjective","FunctionInterpolation","FunctionLayer","FunctionMeromorphic","FunctionMonotonicity","FunctionPeriod","FunctionPoles","FunctionRange","FunctionSign","FunctionSingularities","FunctionSpace","FunctionSurjective","FussellVeselyImportance","GaborFilter","GaborMatrix","GaborWavelet","GainMargins","GainPhaseMargins","GalaxyData","GalleryView","Gamma","GammaDistribution","GammaRegularized","GapPenalty","GARCHProcess","GatedRecurrentLayer","Gather","GatherBy","GaugeFaceElementFunction","GaugeFaceStyle","GaugeFrameElementFunction","GaugeFrameSize","GaugeFrameStyle","GaugeLabels","GaugeMarkers","GaugeStyle","GaussianFilter","GaussianIntegers","GaussianMatrix","GaussianOrthogonalMatrixDistribution","GaussianSymplecticMatrixDistribution","GaussianUnitaryMatrixDistribution","GaussianWindow","GCD","GegenbauerC","General","GeneralizedLinearModelFit","GenerateAsymmetricKeyPair","GenerateConditions","GeneratedAssetFormat","GeneratedAssetLocation","GeneratedCell","GeneratedCellStyles","GeneratedDocumentBinding","GenerateDerivedKey","GenerateDigitalSignature","GenerateDocument","GeneratedParameters","GeneratedQuantityMagnitudes","GenerateFileSignature","GenerateHTTPResponse","GenerateSecuredAuthenticationKey","GenerateSymmetricKey","GeneratingFunction","GeneratorDescription","GeneratorHistoryLength","GeneratorOutputType","Generic","GenericCylindricalDecomposition","GenomeData","GenomeLookup","GeoAntipode","GeoArea","GeoArraySize","GeoBackground","GeoBoundary","GeoBoundingBox","GeoBounds","GeoBoundsRegion","GeoBoundsRegionBoundary","GeoBubbleChart","GeoCenter","GeoCircle","GeoContourPlot","GeoDensityPlot","GeodesicClosing","GeodesicDilation","GeodesicErosion","GeodesicOpening","GeodesicPolyhedron","GeoDestination","GeodesyData","GeoDirection","GeoDisk","GeoDisplacement","GeoDistance","GeoDistanceList","GeoElevationData","GeoEntities","GeoGraphics","GeoGraphPlot","GeoGraphValuePlot","GeogravityModelData","GeoGridDirectionDifference","GeoGridLines","GeoGridLinesStyle","GeoGridPosition","GeoGridRange","GeoGridRangePadding","GeoGridUnitArea","GeoGridUnitDistance","GeoGridVector","GeoGroup","GeoHemisphere","GeoHemisphereBoundary","GeoHistogram","GeoIdentify","GeoImage","GeoLabels","GeoLength","GeoListPlot","GeoLocation","GeologicalPeriodData","GeomagneticModelData","GeoMarker","GeometricAssertion","GeometricBrownianMotionProcess","GeometricDistribution","GeometricMean","GeometricMeanFilter","GeometricOptimization","GeometricScene","GeometricStep","GeometricStylingRules","GeometricTest","GeometricTransformation","GeometricTransformation3DBox","GeometricTransformation3DBoxOptions","GeometricTransformationBox","GeometricTransformationBoxOptions","GeoModel","GeoNearest","GeoOrientationData","GeoPath","GeoPolygon","GeoPosition","GeoPositionENU","GeoPositionXYZ","GeoProjection","GeoProjectionData","GeoRange","GeoRangePadding","GeoRegionValuePlot","GeoResolution","GeoScaleBar","GeoServer","GeoSmoothHistogram","GeoStreamPlot","GeoStyling","GeoStylingImageFunction","GeoVariant","GeoVector","GeoVectorENU","GeoVectorPlot","GeoVectorXYZ","GeoVisibleRegion","GeoVisibleRegionBoundary","GeoWithinQ","GeoZoomLevel","GestureHandler","GestureHandlerTag","Get","GetContext","GetEnvironment","GetFileName","GetLinebreakInformationPacket","GibbsPointProcess","Glaisher","GlobalClusteringCoefficient","GlobalPreferences","GlobalSession","Glow","GoldenAngle","GoldenRatio","GompertzMakehamDistribution","GoochShading","GoodmanKruskalGamma","GoodmanKruskalGammaTest","Goto","GouraudShading","Grad","Gradient","GradientFilter","GradientFittedMesh","GradientOrientationFilter","GrammarApply","GrammarRules","GrammarToken","Graph","Graph3D","GraphAssortativity","GraphAutomorphismGroup","GraphCenter","GraphComplement","GraphData","GraphDensity","GraphDiameter","GraphDifference","GraphDisjointUnion","GraphDistance","GraphDistanceMatrix","GraphEmbedding","GraphHighlight","GraphHighlightStyle","GraphHub","Graphics","Graphics3D","Graphics3DBox","Graphics3DBoxOptions","GraphicsArray","GraphicsBaseline","GraphicsBox","GraphicsBoxOptions","GraphicsColor","GraphicsColumn","GraphicsComplex","GraphicsComplex3DBox","GraphicsComplex3DBoxOptions","GraphicsComplexBox","GraphicsComplexBoxOptions","GraphicsContents","GraphicsData","GraphicsGrid","GraphicsGridBox","GraphicsGroup","GraphicsGroup3DBox","GraphicsGroup3DBoxOptions","GraphicsGroupBox","GraphicsGroupBoxOptions","GraphicsGrouping","GraphicsHighlightColor","GraphicsRow","GraphicsSpacing","GraphicsStyle","GraphIntersection","GraphJoin","GraphLayerLabels","GraphLayers","GraphLayerStyle","GraphLayout","GraphLinkEfficiency","GraphPeriphery","GraphPlot","GraphPlot3D","GraphPower","GraphProduct","GraphPropertyDistribution","GraphQ","GraphRadius","GraphReciprocity","GraphRoot","GraphStyle","GraphSum","GraphTree","GraphUnion","Gray","GrayLevel","Greater","GreaterEqual","GreaterEqualLess","GreaterEqualThan","GreaterFullEqual","GreaterGreater","GreaterLess","GreaterSlantEqual","GreaterThan","GreaterTilde","GreekStyle","Green","GreenFunction","Grid","GridBaseline","GridBox","GridBoxAlignment","GridBoxBackground","GridBoxDividers","GridBoxFrame","GridBoxItemSize","GridBoxItemStyle","GridBoxOptions","GridBoxSpacings","GridCreationSettings","GridDefaultElement","GridElementStyleOptions","GridFrame","GridFrameMargins","GridGraph","GridLines","GridLinesStyle","GridVideo","GroebnerBasis","GroupActionBase","GroupBy","GroupCentralizer","GroupElementFromWord","GroupElementPosition","GroupElementQ","GroupElements","GroupElementToWord","GroupGenerators","Groupings","GroupMultiplicationTable","GroupOpenerColor","GroupOpenerInsideFrame","GroupOrbits","GroupOrder","GroupPageBreakWithin","GroupSetwiseStabilizer","GroupStabilizer","GroupStabilizerChain","GroupTogetherGrouping","GroupTogetherNestedGrouping","GrowCutComponents","Gudermannian","GuidedFilter","GumbelDistribution","HaarWavelet","HadamardMatrix","HalfLine","HalfNormalDistribution","HalfPlane","HalfSpace","HalftoneShading","HamiltonianGraphQ","HammingDistance","HammingWindow","HandlerFunctions","HandlerFunctionsKeys","HankelH1","HankelH2","HankelMatrix","HankelTransform","HannPoissonWindow","HannWindow","HaradaNortonGroupHN","HararyGraph","HardcorePointProcess","HarmonicMean","HarmonicMeanFilter","HarmonicNumber","Hash","HatchFilling","HatchShading","Haversine","HazardFunction","Head","HeadCompose","HeaderAlignment","HeaderBackground","HeaderDisplayFunction","HeaderLines","Headers","HeaderSize","HeaderStyle","Heads","HeatFluxValue","HeatInsulationValue","HeatOutflowValue","HeatRadiationValue","HeatSymmetryValue","HeatTemperatureCondition","HeatTransferPDEComponent","HeatTransferValue","HeavisideLambda","HeavisidePi","HeavisideTheta","HeldGroupHe","HeldPart","HelmholtzPDEComponent","HelpBrowserLookup","HelpBrowserNotebook","HelpBrowserSettings","HelpViewerSettings","Here","HermiteDecomposition","HermiteH","Hermitian","HermitianMatrixQ","HessenbergDecomposition","Hessian","HeunB","HeunBPrime","HeunC","HeunCPrime","HeunD","HeunDPrime","HeunG","HeunGPrime","HeunT","HeunTPrime","HexadecimalCharacter","Hexahedron","HexahedronBox","HexahedronBoxOptions","HiddenItems","HiddenMarkovProcess","HiddenSurface","Highlighted","HighlightGraph","HighlightImage","HighlightMesh","HighlightString","HighpassFilter","HigmanSimsGroupHS","HilbertCurve","HilbertFilter","HilbertMatrix","Histogram","Histogram3D","HistogramDistribution","HistogramList","HistogramPointDensity","HistogramTransform","HistogramTransformInterpolation","HistoricalPeriodData","HitMissTransform","HITSCentrality","HjorthDistribution","HodgeDual","HoeffdingD","HoeffdingDTest","Hold","HoldAll","HoldAllComplete","HoldComplete","HoldFirst","HoldForm","HoldPattern","HoldRest","HolidayCalendar","HomeDirectory","HomePage","Horizontal","HorizontalForm","HorizontalGauge","HorizontalScrollPosition","HornerForm","HostLookup","HotellingTSquareDistribution","HoytDistribution","HTMLSave","HTTPErrorResponse","HTTPRedirect","HTTPRequest","HTTPRequestData","HTTPResponse","Hue","HumanGrowthData","HumpDownHump","HumpEqual","HurwitzLerchPhi","HurwitzZeta","HyperbolicDistribution","HypercubeGraph","HyperexponentialDistribution","Hyperfactorial","Hypergeometric0F1","Hypergeometric0F1Regularized","Hypergeometric1F1","Hypergeometric1F1Regularized","Hypergeometric2F1","Hypergeometric2F1Regularized","HypergeometricDistribution","HypergeometricPFQ","HypergeometricPFQRegularized","HypergeometricU","Hyperlink","HyperlinkAction","HyperlinkCreationSettings","Hyperplane","Hyphenation","HyphenationOptions","HypoexponentialDistribution","HypothesisTestData","I","IconData","Iconize","IconizedObject","IconRules","Icosahedron","Identity","IdentityMatrix","If","IfCompiled","IgnoreCase","IgnoreDiacritics","IgnoreIsotopes","IgnorePunctuation","IgnoreSpellCheck","IgnoreStereochemistry","IgnoringInactive","Im","Image","Image3D","Image3DProjection","Image3DSlices","ImageAccumulate","ImageAdd","ImageAdjust","ImageAlign","ImageApply","ImageApplyIndexed","ImageAspectRatio","ImageAssemble","ImageAugmentationLayer","ImageBoundingBoxes","ImageCache","ImageCacheValid","ImageCapture","ImageCaptureFunction","ImageCases","ImageChannels","ImageClip","ImageCollage","ImageColorSpace","ImageCompose","ImageContainsQ","ImageContents","ImageConvolve","ImageCooccurrence","ImageCorners","ImageCorrelate","ImageCorrespondingPoints","ImageCrop","ImageData","ImageDeconvolve","ImageDemosaic","ImageDifference","ImageDimensions","ImageDisplacements","ImageDistance","ImageEditMode","ImageEffect","ImageExposureCombine","ImageFeatureTrack","ImageFileApply","ImageFileFilter","ImageFileScan","ImageFilter","ImageFocusCombine","ImageForestingComponents","ImageFormattingWidth","ImageForwardTransformation","ImageGraphics","ImageHistogram","ImageIdentify","ImageInstanceQ","ImageKeypoints","ImageLabels","ImageLegends","ImageLevels","ImageLines","ImageMargins","ImageMarker","ImageMarkers","ImageMeasurements","ImageMesh","ImageMultiply","ImageOffset","ImagePad","ImagePadding","ImagePartition","ImagePeriodogram","ImagePerspectiveTransformation","ImagePosition","ImagePreviewFunction","ImagePyramid","ImagePyramidApply","ImageQ","ImageRangeCache","ImageRecolor","ImageReflect","ImageRegion","ImageResize","ImageResolution","ImageRestyle","ImageRotate","ImageRotated","ImageSaliencyFilter","ImageScaled","ImageScan","ImageSize","ImageSizeAction","ImageSizeCache","ImageSizeMultipliers","ImageSizeRaw","ImageStitch","ImageSubtract","ImageTake","ImageTransformation","ImageTrim","ImageType","ImageValue","ImageValuePositions","ImageVectorscopePlot","ImageWaveformPlot","ImagingDevice","ImplicitD","ImplicitRegion","Implies","Import","ImportAutoReplacements","ImportByteArray","ImportedObject","ImportOptions","ImportString","ImprovementImportance","In","Inactivate","Inactive","InactiveStyle","IncidenceGraph","IncidenceList","IncidenceMatrix","IncludeAromaticBonds","IncludeConstantBasis","IncludedContexts","IncludeDefinitions","IncludeDirectories","IncludeFileExtension","IncludeGeneratorTasks","IncludeHydrogens","IncludeInflections","IncludeMetaInformation","IncludePods","IncludeQuantities","IncludeRelatedTables","IncludeSingularSolutions","IncludeSingularTerm","IncludeWindowTimes","Increment","IndefiniteMatrixQ","Indent","IndentingNewlineSpacings","IndentMaxFraction","IndependenceTest","IndependentEdgeSetQ","IndependentPhysicalQuantity","IndependentUnit","IndependentUnitDimension","IndependentVertexSetQ","Indeterminate","IndeterminateThreshold","IndexCreationOptions","Indexed","IndexEdgeTaggedGraph","IndexGraph","IndexTag","Inequality","InertEvaluate","InertExpression","InexactNumberQ","InexactNumbers","InfiniteFuture","InfiniteLine","InfiniteLineThrough","InfinitePast","InfinitePlane","Infinity","Infix","InflationAdjust","InflationMethod","Information","InformationData","InformationDataGrid","Inherited","InheritScope","InhomogeneousPoissonPointProcess","InhomogeneousPoissonProcess","InitialEvaluationHistory","Initialization","InitializationCell","InitializationCellEvaluation","InitializationCellWarning","InitializationObject","InitializationObjects","InitializationValue","Initialize","InitialSeeding","InlineCounterAssignments","InlineCounterIncrements","InlineRules","Inner","InnerPolygon","InnerPolyhedron","Inpaint","Input","InputAliases","InputAssumptions","InputAutoReplacements","InputField","InputFieldBox","InputFieldBoxOptions","InputForm","InputGrouping","InputNamePacket","InputNotebook","InputPacket","InputPorts","InputSettings","InputStream","InputString","InputStringPacket","InputToBoxFormPacket","Insert","InsertionFunction","InsertionPointObject","InsertLinebreaks","InsertResults","Inset","Inset3DBox","Inset3DBoxOptions","InsetBox","InsetBoxOptions","Insphere","Install","InstallService","InstanceNormalizationLayer","InString","Integer","IntegerDigits","IntegerExponent","IntegerLength","IntegerName","IntegerPart","IntegerPartitions","IntegerQ","IntegerReverse","Integers","IntegerString","Integral","Integrate","IntegrateChangeVariables","Interactive","InteractiveTradingChart","InterfaceSwitched","Interlaced","Interleaving","InternallyBalancedDecomposition","InterpolatingFunction","InterpolatingPolynomial","Interpolation","InterpolationOrder","InterpolationPoints","InterpolationPrecision","Interpretation","InterpretationBox","InterpretationBoxOptions","InterpretationFunction","Interpreter","InterpretTemplate","InterquartileRange","Interrupt","InterruptSettings","IntersectedEntityClass","IntersectingQ","Intersection","Interval","IntervalIntersection","IntervalMarkers","IntervalMarkersStyle","IntervalMemberQ","IntervalSlider","IntervalUnion","Into","Inverse","InverseBetaRegularized","InverseBilateralLaplaceTransform","InverseBilateralZTransform","InverseCDF","InverseChiSquareDistribution","InverseContinuousWaveletTransform","InverseDistanceTransform","InverseEllipticNomeQ","InverseErf","InverseErfc","InverseFourier","InverseFourierCosTransform","InverseFourierSequenceTransform","InverseFourierSinTransform","InverseFourierTransform","InverseFunction","InverseFunctions","InverseGammaDistribution","InverseGammaRegularized","InverseGaussianDistribution","InverseGudermannian","InverseHankelTransform","InverseHaversine","InverseImagePyramid","InverseJacobiCD","InverseJacobiCN","InverseJacobiCS","InverseJacobiDC","InverseJacobiDN","InverseJacobiDS","InverseJacobiNC","InverseJacobiND","InverseJacobiNS","InverseJacobiSC","InverseJacobiSD","InverseJacobiSN","InverseLaplaceTransform","InverseMellinTransform","InversePermutation","InverseRadon","InverseRadonTransform","InverseSeries","InverseShortTimeFourier","InverseSpectrogram","InverseSurvivalFunction","InverseTransformedRegion","InverseWaveletTransform","InverseWeierstrassP","InverseWishartMatrixDistribution","InverseZTransform","Invisible","InvisibleApplication","InvisibleTimes","IPAddress","IrreduciblePolynomialQ","IslandData","IsolatingInterval","IsomorphicGraphQ","IsomorphicSubgraphQ","IsotopeData","Italic","Item","ItemAspectRatio","ItemBox","ItemBoxOptions","ItemDisplayFunction","ItemSize","ItemStyle","ItoProcess","JaccardDissimilarity","JacobiAmplitude","Jacobian","JacobiCD","JacobiCN","JacobiCS","JacobiDC","JacobiDN","JacobiDS","JacobiEpsilon","JacobiNC","JacobiND","JacobiNS","JacobiP","JacobiSC","JacobiSD","JacobiSN","JacobiSymbol","JacobiZeta","JacobiZN","JankoGroupJ1","JankoGroupJ2","JankoGroupJ3","JankoGroupJ4","JarqueBeraALMTest","JohnsonDistribution","Join","JoinAcross","Joined","JoinedCurve","JoinedCurveBox","JoinedCurveBoxOptions","JoinForm","JordanDecomposition","JordanModelDecomposition","JulianDate","JuliaSetBoettcher","JuliaSetIterationCount","JuliaSetPlot","JuliaSetPoints","K","KagiChart","KaiserBesselWindow","KaiserWindow","KalmanEstimator","KalmanFilter","KarhunenLoeveDecomposition","KaryTree","KatzCentrality","KCoreComponents","KDistribution","KEdgeConnectedComponents","KEdgeConnectedGraphQ","KeepExistingVersion","KelvinBei","KelvinBer","KelvinKei","KelvinKer","KendallTau","KendallTauTest","KernelConfiguration","KernelExecute","KernelFunction","KernelMixtureDistribution","KernelObject","Kernels","Ket","Key","KeyCollisionFunction","KeyComplement","KeyDrop","KeyDropFrom","KeyExistsQ","KeyFreeQ","KeyIntersection","KeyMap","KeyMemberQ","KeypointStrength","Keys","KeySelect","KeySort","KeySortBy","KeyTake","KeyUnion","KeyValueMap","KeyValuePattern","Khinchin","KillProcess","KirchhoffGraph","KirchhoffMatrix","KleinInvariantJ","KnapsackSolve","KnightTourGraph","KnotData","KnownUnitQ","KochCurve","KolmogorovSmirnovTest","KroneckerDelta","KroneckerModelDecomposition","KroneckerProduct","KroneckerSymbol","KuiperTest","KumaraswamyDistribution","Kurtosis","KuwaharaFilter","KVertexConnectedComponents","KVertexConnectedGraphQ","LABColor","Label","Labeled","LabeledSlider","LabelingFunction","LabelingSize","LabelStyle","LabelVisibility","LaguerreL","LakeData","LambdaComponents","LambertW","LameC","LameCPrime","LameEigenvalueA","LameEigenvalueB","LameS","LameSPrime","LaminaData","LanczosWindow","LandauDistribution","Language","LanguageCategory","LanguageData","LanguageIdentify","LanguageOptions","LaplaceDistribution","LaplaceTransform","Laplacian","LaplacianFilter","LaplacianGaussianFilter","LaplacianPDETerm","Large","Larger","Last","Latitude","LatitudeLongitude","LatticeData","LatticeReduce","Launch","LaunchKernels","LayeredGraphPlot","LayeredGraphPlot3D","LayerSizeFunction","LayoutInformation","LCHColor","LCM","LeaderSize","LeafCount","LeapVariant","LeapYearQ","LearnDistribution","LearnedDistribution","LearningRate","LearningRateMultipliers","LeastSquares","LeastSquaresFilterKernel","Left","LeftArrow","LeftArrowBar","LeftArrowRightArrow","LeftDownTeeVector","LeftDownVector","LeftDownVectorBar","LeftRightArrow","LeftRightVector","LeftTee","LeftTeeArrow","LeftTeeVector","LeftTriangle","LeftTriangleBar","LeftTriangleEqual","LeftUpDownVector","LeftUpTeeVector","LeftUpVector","LeftUpVectorBar","LeftVector","LeftVectorBar","LegendAppearance","Legended","LegendFunction","LegendLabel","LegendLayout","LegendMargins","LegendMarkers","LegendMarkerSize","LegendreP","LegendreQ","LegendreType","Length","LengthWhile","LerchPhi","Less","LessEqual","LessEqualGreater","LessEqualThan","LessFullEqual","LessGreater","LessLess","LessSlantEqual","LessThan","LessTilde","LetterCharacter","LetterCounts","LetterNumber","LetterQ","Level","LeveneTest","LeviCivitaTensor","LevyDistribution","Lexicographic","LexicographicOrder","LexicographicSort","LibraryDataType","LibraryFunction","LibraryFunctionDeclaration","LibraryFunctionError","LibraryFunctionInformation","LibraryFunctionLoad","LibraryFunctionUnload","LibraryLoad","LibraryUnload","LicenseEntitlementObject","LicenseEntitlements","LicenseID","LicensingSettings","LiftingFilterData","LiftingWaveletTransform","LightBlue","LightBrown","LightCyan","Lighter","LightGray","LightGreen","Lighting","LightingAngle","LightMagenta","LightOrange","LightPink","LightPurple","LightRed","LightSources","LightYellow","Likelihood","Limit","LimitsPositioning","LimitsPositioningTokens","LindleyDistribution","Line","Line3DBox","Line3DBoxOptions","LinearFilter","LinearFractionalOptimization","LinearFractionalTransform","LinearGradientFilling","LinearGradientImage","LinearizingTransformationData","LinearLayer","LinearModelFit","LinearOffsetFunction","LinearOptimization","LinearProgramming","LinearRecurrence","LinearSolve","LinearSolveFunction","LineBox","LineBoxOptions","LineBreak","LinebreakAdjustments","LineBreakChart","LinebreakSemicolonWeighting","LineBreakWithin","LineColor","LineGraph","LineIndent","LineIndentMaxFraction","LineIntegralConvolutionPlot","LineIntegralConvolutionScale","LineLegend","LineOpacity","LineSpacing","LineWrapParts","LinkActivate","LinkClose","LinkConnect","LinkConnectedQ","LinkCreate","LinkError","LinkFlush","LinkFunction","LinkHost","LinkInterrupt","LinkLaunch","LinkMode","LinkObject","LinkOpen","LinkOptions","LinkPatterns","LinkProtocol","LinkRankCentrality","LinkRead","LinkReadHeld","LinkReadyQ","Links","LinkService","LinkWrite","LinkWriteHeld","LiouvilleLambda","List","Listable","ListAnimate","ListContourPlot","ListContourPlot3D","ListConvolve","ListCorrelate","ListCurvePathPlot","ListDeconvolve","ListDensityPlot","ListDensityPlot3D","Listen","ListFormat","ListFourierSequenceTransform","ListInterpolation","ListLineIntegralConvolutionPlot","ListLinePlot","ListLinePlot3D","ListLogLinearPlot","ListLogLogPlot","ListLogPlot","ListPicker","ListPickerBox","ListPickerBoxBackground","ListPickerBoxOptions","ListPlay","ListPlot","ListPlot3D","ListPointPlot3D","ListPolarPlot","ListQ","ListSliceContourPlot3D","ListSliceDensityPlot3D","ListSliceVectorPlot3D","ListStepPlot","ListStreamDensityPlot","ListStreamPlot","ListStreamPlot3D","ListSurfacePlot3D","ListVectorDensityPlot","ListVectorDisplacementPlot","ListVectorDisplacementPlot3D","ListVectorPlot","ListVectorPlot3D","ListZTransform","Literal","LiteralSearch","LiteralType","LoadCompiledComponent","LocalAdaptiveBinarize","LocalCache","LocalClusteringCoefficient","LocalEvaluate","LocalizeDefinitions","LocalizeVariables","LocalObject","LocalObjects","LocalResponseNormalizationLayer","LocalSubmit","LocalSymbol","LocalTime","LocalTimeZone","LocationEquivalenceTest","LocationTest","Locator","LocatorAutoCreate","LocatorBox","LocatorBoxOptions","LocatorCentering","LocatorPane","LocatorPaneBox","LocatorPaneBoxOptions","LocatorRegion","Locked","Log","Log10","Log2","LogBarnesG","LogGamma","LogGammaDistribution","LogicalExpand","LogIntegral","LogisticDistribution","LogisticSigmoid","LogitModelFit","LogLikelihood","LogLinearPlot","LogLogisticDistribution","LogLogPlot","LogMultinormalDistribution","LogNormalDistribution","LogPlot","LogRankTest","LogSeriesDistribution","LongEqual","Longest","LongestCommonSequence","LongestCommonSequencePositions","LongestCommonSubsequence","LongestCommonSubsequencePositions","LongestMatch","LongestOrderedSequence","LongForm","Longitude","LongLeftArrow","LongLeftRightArrow","LongRightArrow","LongShortTermMemoryLayer","Lookup","Loopback","LoopFreeGraphQ","Looping","LossFunction","LowerCaseQ","LowerLeftArrow","LowerRightArrow","LowerTriangularize","LowerTriangularMatrix","LowerTriangularMatrixQ","LowpassFilter","LQEstimatorGains","LQGRegulator","LQOutputRegulatorGains","LQRegulatorGains","LUBackSubstitution","LucasL","LuccioSamiComponents","LUDecomposition","LunarEclipse","LUVColor","LyapunovSolve","LyonsGroupLy","MachineID","MachineName","MachineNumberQ","MachinePrecision","MacintoshSystemPageSetup","Magenta","Magnification","Magnify","MailAddressValidation","MailExecute","MailFolder","MailItem","MailReceiverFunction","MailResponseFunction","MailSearch","MailServerConnect","MailServerConnection","MailSettings","MainSolve","MaintainDynamicCaches","Majority","MakeBoxes","MakeExpression","MakeRules","ManagedLibraryExpressionID","ManagedLibraryExpressionQ","MandelbrotSetBoettcher","MandelbrotSetDistance","MandelbrotSetIterationCount","MandelbrotSetMemberQ","MandelbrotSetPlot","MangoldtLambda","ManhattanDistance","Manipulate","Manipulator","MannedSpaceMissionData","MannWhitneyTest","MantissaExponent","Manual","Map","MapAll","MapApply","MapAt","MapIndexed","MAProcess","MapThread","MarchenkoPasturDistribution","MarcumQ","MardiaCombinedTest","MardiaKurtosisTest","MardiaSkewnessTest","MarginalDistribution","MarkovProcessProperties","Masking","MassConcentrationCondition","MassFluxValue","MassImpermeableBoundaryValue","MassOutflowValue","MassSymmetryValue","MassTransferValue","MassTransportPDEComponent","MatchingDissimilarity","MatchLocalNameQ","MatchLocalNames","MatchQ","Material","MaterialShading","MaternPointProcess","MathematicalFunctionData","MathematicaNotation","MathieuC","MathieuCharacteristicA","MathieuCharacteristicB","MathieuCharacteristicExponent","MathieuCPrime","MathieuGroupM11","MathieuGroupM12","MathieuGroupM22","MathieuGroupM23","MathieuGroupM24","MathieuS","MathieuSPrime","MathMLForm","MathMLText","Matrices","MatrixExp","MatrixForm","MatrixFunction","MatrixLog","MatrixNormalDistribution","MatrixPlot","MatrixPower","MatrixPropertyDistribution","MatrixQ","MatrixRank","MatrixTDistribution","Max","MaxBend","MaxCellMeasure","MaxColorDistance","MaxDate","MaxDetect","MaxDisplayedChildren","MaxDuration","MaxExtraBandwidths","MaxExtraConditions","MaxFeatureDisplacement","MaxFeatures","MaxFilter","MaximalBy","Maximize","MaxItems","MaxIterations","MaxLimit","MaxMemoryUsed","MaxMixtureKernels","MaxOverlapFraction","MaxPlotPoints","MaxPoints","MaxRecursion","MaxStableDistribution","MaxStepFraction","MaxSteps","MaxStepSize","MaxTrainingRounds","MaxValue","MaxwellDistribution","MaxWordGap","McLaughlinGroupMcL","Mean","MeanAbsoluteLossLayer","MeanAround","MeanClusteringCoefficient","MeanDegreeConnectivity","MeanDeviation","MeanFilter","MeanGraphDistance","MeanNeighborDegree","MeanPointDensity","MeanShift","MeanShiftFilter","MeanSquaredLossLayer","Median","MedianDeviation","MedianFilter","MedicalTestData","Medium","MeijerG","MeijerGReduce","MeixnerDistribution","MellinConvolve","MellinTransform","MemberQ","MemoryAvailable","MemoryConstrained","MemoryConstraint","MemoryInUse","MengerMesh","Menu","MenuAppearance","MenuCommandKey","MenuEvaluator","MenuItem","MenuList","MenuPacket","MenuSortingValue","MenuStyle","MenuView","Merge","MergeDifferences","MergingFunction","MersennePrimeExponent","MersennePrimeExponentQ","Mesh","MeshCellCentroid","MeshCellCount","MeshCellHighlight","MeshCellIndex","MeshCellLabel","MeshCellMarker","MeshCellMeasure","MeshCellQuality","MeshCells","MeshCellShapeFunction","MeshCellStyle","MeshConnectivityGraph","MeshCoordinates","MeshFunctions","MeshPrimitives","MeshQualityGoal","MeshRange","MeshRefinementFunction","MeshRegion","MeshRegionQ","MeshShading","MeshStyle","Message","MessageDialog","MessageList","MessageName","MessageObject","MessageOptions","MessagePacket","Messages","MessagesNotebook","MetaCharacters","MetaInformation","MeteorShowerData","Method","MethodOptions","MexicanHatWavelet","MeyerWavelet","Midpoint","MIMETypeToFormatList","Min","MinColorDistance","MinDate","MinDetect","MineralData","MinFilter","MinimalBy","MinimalPolynomial","MinimalStateSpaceModel","Minimize","MinimumTimeIncrement","MinIntervalSize","MinkowskiQuestionMark","MinLimit","MinMax","MinorPlanetData","Minors","MinPointSeparation","MinRecursion","MinSize","MinStableDistribution","Minus","MinusPlus","MinValue","Missing","MissingBehavior","MissingDataMethod","MissingDataRules","MissingQ","MissingString","MissingStyle","MissingValuePattern","MissingValueSynthesis","MittagLefflerE","MixedFractionParts","MixedGraphQ","MixedMagnitude","MixedRadix","MixedRadixQuantity","MixedUnit","MixtureDistribution","Mod","Modal","Mode","ModelPredictiveController","Modular","ModularInverse","ModularLambda","Module","Modulus","MoebiusMu","Molecule","MoleculeAlign","MoleculeContainsQ","MoleculeDraw","MoleculeEquivalentQ","MoleculeFreeQ","MoleculeGraph","MoleculeMatchQ","MoleculeMaximumCommonSubstructure","MoleculeModify","MoleculeName","MoleculePattern","MoleculePlot","MoleculePlot3D","MoleculeProperty","MoleculeQ","MoleculeRecognize","MoleculeSubstructureCount","MoleculeValue","Moment","MomentConvert","MomentEvaluate","MomentGeneratingFunction","MomentOfInertia","Monday","Monitor","MonomialList","MonomialOrder","MonsterGroupM","MoonPhase","MoonPosition","MorletWavelet","MorphologicalBinarize","MorphologicalBranchPoints","MorphologicalComponents","MorphologicalEulerNumber","MorphologicalGraph","MorphologicalPerimeter","MorphologicalTransform","MortalityData","Most","MountainData","MouseAnnotation","MouseAppearance","MouseAppearanceTag","MouseButtons","Mouseover","MousePointerNote","MousePosition","MovieData","MovingAverage","MovingMap","MovingMedian","MoyalDistribution","MultiaxisArrangement","Multicolumn","MultiedgeStyle","MultigraphQ","MultilaunchWarning","MultiLetterItalics","MultiLetterStyle","MultilineFunction","Multinomial","MultinomialDistribution","MultinormalDistribution","MultiplicativeOrder","Multiplicity","MultiplySides","MultiscriptBoxOptions","Multiselection","MultivariateHypergeometricDistribution","MultivariatePoissonDistribution","MultivariateTDistribution","N","NakagamiDistribution","NameQ","Names","NamespaceBox","NamespaceBoxOptions","Nand","NArgMax","NArgMin","NBernoulliB","NBodySimulation","NBodySimulationData","NCache","NCaputoD","NDEigensystem","NDEigenvalues","NDSolve","NDSolveValue","Nearest","NearestFunction","NearestMeshCells","NearestNeighborG","NearestNeighborGraph","NearestTo","NebulaData","NeedlemanWunschSimilarity","Needs","Negative","NegativeBinomialDistribution","NegativeDefiniteMatrixQ","NegativeIntegers","NegativelyOrientedPoints","NegativeMultinomialDistribution","NegativeRationals","NegativeReals","NegativeSemidefiniteMatrixQ","NeighborhoodData","NeighborhoodGraph","Nest","NestedGreaterGreater","NestedLessLess","NestedScriptRules","NestGraph","NestList","NestTree","NestWhile","NestWhileList","NetAppend","NetArray","NetArrayLayer","NetBidirectionalOperator","NetChain","NetDecoder","NetDelete","NetDrop","NetEncoder","NetEvaluationMode","NetExternalObject","NetExtract","NetFlatten","NetFoldOperator","NetGANOperator","NetGraph","NetInformation","NetInitialize","NetInsert","NetInsertSharedArrays","NetJoin","NetMapOperator","NetMapThreadOperator","NetMeasurements","NetModel","NetNestOperator","NetPairEmbeddingOperator","NetPort","NetPortGradient","NetPrepend","NetRename","NetReplace","NetReplacePart","NetSharedArray","NetStateObject","NetTake","NetTrain","NetTrainResultsObject","NetUnfold","NetworkPacketCapture","NetworkPacketRecording","NetworkPacketRecordingDuring","NetworkPacketTrace","NeumannValue","NevilleThetaC","NevilleThetaD","NevilleThetaN","NevilleThetaS","NewPrimitiveStyle","NExpectation","Next","NextCell","NextDate","NextPrime","NextScheduledTaskTime","NeymanScottPointProcess","NFractionalD","NHoldAll","NHoldFirst","NHoldRest","NicholsGridLines","NicholsPlot","NightHemisphere","NIntegrate","NMaximize","NMaxValue","NMinimize","NMinValue","NominalScale","NominalVariables","NonAssociative","NoncentralBetaDistribution","NoncentralChiSquareDistribution","NoncentralFRatioDistribution","NoncentralStudentTDistribution","NonCommutativeMultiply","NonConstants","NondimensionalizationTransform","None","NoneTrue","NonlinearModelFit","NonlinearStateSpaceModel","NonlocalMeansFilter","NonNegative","NonNegativeIntegers","NonNegativeRationals","NonNegativeReals","NonPositive","NonPositiveIntegers","NonPositiveRationals","NonPositiveReals","Nor","NorlundB","Norm","Normal","NormalDistribution","NormalGrouping","NormalizationLayer","Normalize","Normalized","NormalizedSquaredEuclideanDistance","NormalMatrixQ","NormalsFunction","NormFunction","Not","NotCongruent","NotCupCap","NotDoubleVerticalBar","Notebook","NotebookApply","NotebookAutoSave","NotebookBrowseDirectory","NotebookClose","NotebookConvertSettings","NotebookCreate","NotebookDefault","NotebookDelete","NotebookDirectory","NotebookDynamicExpression","NotebookEvaluate","NotebookEventActions","NotebookFileName","NotebookFind","NotebookGet","NotebookImport","NotebookInformation","NotebookInterfaceObject","NotebookLocate","NotebookObject","NotebookOpen","NotebookPath","NotebookPrint","NotebookPut","NotebookRead","Notebooks","NotebookSave","NotebookSelection","NotebooksMenu","NotebookTemplate","NotebookWrite","NotElement","NotEqualTilde","NotExists","NotGreater","NotGreaterEqual","NotGreaterFullEqual","NotGreaterGreater","NotGreaterLess","NotGreaterSlantEqual","NotGreaterTilde","Nothing","NotHumpDownHump","NotHumpEqual","NotificationFunction","NotLeftTriangle","NotLeftTriangleBar","NotLeftTriangleEqual","NotLess","NotLessEqual","NotLessFullEqual","NotLessGreater","NotLessLess","NotLessSlantEqual","NotLessTilde","NotNestedGreaterGreater","NotNestedLessLess","NotPrecedes","NotPrecedesEqual","NotPrecedesSlantEqual","NotPrecedesTilde","NotReverseElement","NotRightTriangle","NotRightTriangleBar","NotRightTriangleEqual","NotSquareSubset","NotSquareSubsetEqual","NotSquareSuperset","NotSquareSupersetEqual","NotSubset","NotSubsetEqual","NotSucceeds","NotSucceedsEqual","NotSucceedsSlantEqual","NotSucceedsTilde","NotSuperset","NotSupersetEqual","NotTilde","NotTildeEqual","NotTildeFullEqual","NotTildeTilde","NotVerticalBar","Now","NoWhitespace","NProbability","NProduct","NProductFactors","NRoots","NSolve","NSolveValues","NSum","NSumTerms","NuclearExplosionData","NuclearReactorData","Null","NullRecords","NullSpace","NullWords","Number","NumberCompose","NumberDecompose","NumberDigit","NumberExpand","NumberFieldClassNumber","NumberFieldDiscriminant","NumberFieldFundamentalUnits","NumberFieldIntegralBasis","NumberFieldNormRepresentatives","NumberFieldRegulator","NumberFieldRootsOfUnity","NumberFieldSignature","NumberForm","NumberFormat","NumberLinePlot","NumberMarks","NumberMultiplier","NumberPadding","NumberPoint","NumberQ","NumberSeparator","NumberSigns","NumberString","Numerator","NumeratorDenominator","NumericalOrder","NumericalSort","NumericArray","NumericArrayQ","NumericArrayType","NumericFunction","NumericQ","NuttallWindow","NValues","NyquistGridLines","NyquistPlot","O","ObjectExistsQ","ObservabilityGramian","ObservabilityMatrix","ObservableDecomposition","ObservableModelQ","OceanData","Octahedron","OddQ","Off","Offset","OLEData","On","ONanGroupON","Once","OneIdentity","Opacity","OpacityFunction","OpacityFunctionScaling","Open","OpenAppend","Opener","OpenerBox","OpenerBoxOptions","OpenerView","OpenFunctionInspectorPacket","Opening","OpenRead","OpenSpecialOptions","OpenTemporary","OpenWrite","Operate","OperatingSystem","OperatorApplied","OptimumFlowData","Optional","OptionalElement","OptionInspectorSettings","OptionQ","Options","OptionsPacket","OptionsPattern","OptionValue","OptionValueBox","OptionValueBoxOptions","Or","Orange","Order","OrderDistribution","OrderedQ","Ordering","OrderingBy","OrderingLayer","Orderless","OrderlessPatternSequence","OrdinalScale","OrnsteinUhlenbeckProcess","Orthogonalize","OrthogonalMatrixQ","Out","Outer","OuterPolygon","OuterPolyhedron","OutputAutoOverwrite","OutputControllabilityMatrix","OutputControllableModelQ","OutputForm","OutputFormData","OutputGrouping","OutputMathEditExpression","OutputNamePacket","OutputPorts","OutputResponse","OutputSizeLimit","OutputStream","Over","OverBar","OverDot","Overflow","OverHat","Overlaps","Overlay","OverlayBox","OverlayBoxOptions","OverlayVideo","Overscript","OverscriptBox","OverscriptBoxOptions","OverTilde","OverVector","OverwriteTarget","OwenT","OwnValues","Package","PackingMethod","PackPaclet","PacletDataRebuild","PacletDirectoryAdd","PacletDirectoryLoad","PacletDirectoryRemove","PacletDirectoryUnload","PacletDisable","PacletEnable","PacletFind","PacletFindRemote","PacletInformation","PacletInstall","PacletInstallSubmit","PacletNewerQ","PacletObject","PacletObjectQ","PacletSite","PacletSiteObject","PacletSiteRegister","PacletSites","PacletSiteUnregister","PacletSiteUpdate","PacletSymbol","PacletUninstall","PacletUpdate","PaddedForm","Padding","PaddingLayer","PaddingSize","PadeApproximant","PadLeft","PadRight","PageBreakAbove","PageBreakBelow","PageBreakWithin","PageFooterLines","PageFooters","PageHeaderLines","PageHeaders","PageHeight","PageRankCentrality","PageTheme","PageWidth","Pagination","PairCorrelationG","PairedBarChart","PairedHistogram","PairedSmoothHistogram","PairedTTest","PairedZTest","PaletteNotebook","PalettePath","PalettesMenuSettings","PalindromeQ","Pane","PaneBox","PaneBoxOptions","Panel","PanelBox","PanelBoxOptions","Paneled","PaneSelector","PaneSelectorBox","PaneSelectorBoxOptions","PaperWidth","ParabolicCylinderD","ParagraphIndent","ParagraphSpacing","ParallelArray","ParallelAxisPlot","ParallelCombine","ParallelDo","Parallelepiped","ParallelEvaluate","Parallelization","Parallelize","ParallelKernels","ParallelMap","ParallelNeeds","Parallelogram","ParallelProduct","ParallelSubmit","ParallelSum","ParallelTable","ParallelTry","Parameter","ParameterEstimator","ParameterMixtureDistribution","ParameterVariables","ParametricConvexOptimization","ParametricFunction","ParametricNDSolve","ParametricNDSolveValue","ParametricPlot","ParametricPlot3D","ParametricRampLayer","ParametricRegion","ParentBox","ParentCell","ParentConnect","ParentDirectory","ParentEdgeLabel","ParentEdgeLabelFunction","ParentEdgeLabelStyle","ParentEdgeShapeFunction","ParentEdgeStyle","ParentEdgeStyleFunction","ParentForm","Parenthesize","ParentList","ParentNotebook","ParetoDistribution","ParetoPickandsDistribution","ParkData","Part","PartBehavior","PartialCorrelationFunction","PartialD","ParticleAcceleratorData","ParticleData","Partition","PartitionGranularity","PartitionsP","PartitionsQ","PartLayer","PartOfSpeech","PartProtection","ParzenWindow","PascalDistribution","PassEventsDown","PassEventsUp","Paste","PasteAutoQuoteCharacters","PasteBoxFormInlineCells","PasteButton","Path","PathGraph","PathGraphQ","Pattern","PatternFilling","PatternReaction","PatternSequence","PatternTest","PauliMatrix","PaulWavelet","Pause","PausedTime","PDF","PeakDetect","PeanoCurve","PearsonChiSquareTest","PearsonCorrelationTest","PearsonDistribution","PenttinenPointProcess","PercentForm","PerfectNumber","PerfectNumberQ","PerformanceGoal","Perimeter","PeriodicBoundaryCondition","PeriodicInterpolation","Periodogram","PeriodogramArray","Permanent","Permissions","PermissionsGroup","PermissionsGroupMemberQ","PermissionsGroups","PermissionsKey","PermissionsKeys","PermutationCycles","PermutationCyclesQ","PermutationGroup","PermutationLength","PermutationList","PermutationListQ","PermutationMatrix","PermutationMax","PermutationMin","PermutationOrder","PermutationPower","PermutationProduct","PermutationReplace","Permutations","PermutationSupport","Permute","PeronaMalikFilter","Perpendicular","PerpendicularBisector","PersistenceLocation","PersistenceTime","PersistentObject","PersistentObjects","PersistentSymbol","PersistentValue","PersonData","PERTDistribution","PetersenGraph","PhaseMargins","PhaseRange","PhongShading","PhysicalSystemData","Pi","Pick","PickedElements","PickMode","PIDData","PIDDerivativeFilter","PIDFeedforward","PIDTune","Piecewise","PiecewiseExpand","PieChart","PieChart3D","PillaiTrace","PillaiTraceTest","PingTime","Pink","PitchRecognize","Pivoting","PixelConstrained","PixelValue","PixelValuePositions","Placed","Placeholder","PlaceholderLayer","PlaceholderReplace","Plain","PlanarAngle","PlanarFaceList","PlanarGraph","PlanarGraphQ","PlanckRadiationLaw","PlaneCurveData","PlanetaryMoonData","PlanetData","PlantData","Play","PlaybackSettings","PlayRange","Plot","Plot3D","Plot3Matrix","PlotDivision","PlotJoined","PlotLabel","PlotLabels","PlotLayout","PlotLegends","PlotMarkers","PlotPoints","PlotRange","PlotRangeClipping","PlotRangeClipPlanesStyle","PlotRangePadding","PlotRegion","PlotStyle","PlotTheme","Pluralize","Plus","PlusMinus","Pochhammer","PodStates","PodWidth","Point","Point3DBox","Point3DBoxOptions","PointBox","PointBoxOptions","PointCountDistribution","PointDensity","PointDensityFunction","PointFigureChart","PointLegend","PointLight","PointProcessEstimator","PointProcessFitTest","PointProcessParameterAssumptions","PointProcessParameterQ","PointSize","PointStatisticFunction","PointValuePlot","PoissonConsulDistribution","PoissonDistribution","PoissonPDEComponent","PoissonPointProcess","PoissonProcess","PoissonWindow","PolarAxes","PolarAxesOrigin","PolarGridLines","PolarPlot","PolarTicks","PoleZeroMarkers","PolyaAeppliDistribution","PolyGamma","Polygon","Polygon3DBox","Polygon3DBoxOptions","PolygonalNumber","PolygonAngle","PolygonBox","PolygonBoxOptions","PolygonCoordinates","PolygonDecomposition","PolygonHoleScale","PolygonIntersections","PolygonScale","Polyhedron","PolyhedronAngle","PolyhedronBox","PolyhedronBoxOptions","PolyhedronCoordinates","PolyhedronData","PolyhedronDecomposition","PolyhedronGenus","PolyLog","PolynomialExpressionQ","PolynomialExtendedGCD","PolynomialForm","PolynomialGCD","PolynomialLCM","PolynomialMod","PolynomialQ","PolynomialQuotient","PolynomialQuotientRemainder","PolynomialReduce","PolynomialRemainder","Polynomials","PolynomialSumOfSquaresList","PoolingLayer","PopupMenu","PopupMenuBox","PopupMenuBoxOptions","PopupView","PopupWindow","Position","PositionIndex","PositionLargest","PositionSmallest","Positive","PositiveDefiniteMatrixQ","PositiveIntegers","PositivelyOrientedPoints","PositiveRationals","PositiveReals","PositiveSemidefiniteMatrixQ","PossibleZeroQ","Postfix","PostScript","Power","PowerDistribution","PowerExpand","PowerMod","PowerModList","PowerRange","PowerSpectralDensity","PowersRepresentations","PowerSymmetricPolynomial","Precedence","PrecedenceForm","Precedes","PrecedesEqual","PrecedesSlantEqual","PrecedesTilde","Precision","PrecisionGoal","PreDecrement","Predict","PredictionRoot","PredictorFunction","PredictorInformation","PredictorMeasurements","PredictorMeasurementsObject","PreemptProtect","PreferencesPath","PreferencesSettings","Prefix","PreIncrement","Prepend","PrependLayer","PrependTo","PreprocessingRules","PreserveColor","PreserveImageOptions","Previous","PreviousCell","PreviousDate","PriceGraphDistribution","PrimaryPlaceholder","Prime","PrimeNu","PrimeOmega","PrimePi","PrimePowerQ","PrimeQ","Primes","PrimeZetaP","PrimitivePolynomialQ","PrimitiveRoot","PrimitiveRootList","PrincipalComponents","PrincipalValue","Print","PrintableASCIIQ","PrintAction","PrintForm","PrintingCopies","PrintingOptions","PrintingPageRange","PrintingStartingPageNumber","PrintingStyleEnvironment","Printout3D","Printout3DPreviewer","PrintPrecision","PrintTemporary","Prism","PrismBox","PrismBoxOptions","PrivateCellOptions","PrivateEvaluationOptions","PrivateFontOptions","PrivateFrontEndOptions","PrivateKey","PrivateNotebookOptions","PrivatePaths","Probability","ProbabilityDistribution","ProbabilityPlot","ProbabilityPr","ProbabilityScalePlot","ProbitModelFit","ProcessConnection","ProcessDirectory","ProcessEnvironment","Processes","ProcessEstimator","ProcessInformation","ProcessObject","ProcessParameterAssumptions","ProcessParameterQ","ProcessStateDomain","ProcessStatus","ProcessTimeDomain","Product","ProductDistribution","ProductLog","ProgressIndicator","ProgressIndicatorBox","ProgressIndicatorBoxOptions","ProgressReporting","Projection","Prolog","PromptForm","ProofObject","PropagateAborts","Properties","Property","PropertyList","PropertyValue","Proportion","Proportional","Protect","Protected","ProteinData","Pruning","PseudoInverse","PsychrometricPropertyData","PublicKey","PublisherID","PulsarData","PunctuationCharacter","Purple","Put","PutAppend","Pyramid","PyramidBox","PyramidBoxOptions","QBinomial","QFactorial","QGamma","QHypergeometricPFQ","QnDispersion","QPochhammer","QPolyGamma","QRDecomposition","QuadraticIrrationalQ","QuadraticOptimization","Quantile","QuantilePlot","Quantity","QuantityArray","QuantityDistribution","QuantityForm","QuantityMagnitude","QuantityQ","QuantityUnit","QuantityVariable","QuantityVariableCanonicalUnit","QuantityVariableDimensions","QuantityVariableIdentifier","QuantityVariablePhysicalQuantity","Quartics","QuartileDeviation","Quartiles","QuartileSkewness","Query","QuestionGenerator","QuestionInterface","QuestionObject","QuestionSelector","QueueingNetworkProcess","QueueingProcess","QueueProperties","Quiet","QuietEcho","Quit","Quotient","QuotientRemainder","RadialAxisPlot","RadialGradientFilling","RadialGradientImage","RadialityCentrality","RadicalBox","RadicalBoxOptions","RadioButton","RadioButtonBar","RadioButtonBox","RadioButtonBoxOptions","Radon","RadonTransform","RamanujanTau","RamanujanTauL","RamanujanTauTheta","RamanujanTauZ","Ramp","Random","RandomArrayLayer","RandomChoice","RandomColor","RandomComplex","RandomDate","RandomEntity","RandomFunction","RandomGeneratorState","RandomGeoPosition","RandomGraph","RandomImage","RandomInstance","RandomInteger","RandomPermutation","RandomPoint","RandomPointConfiguration","RandomPolygon","RandomPolyhedron","RandomPrime","RandomReal","RandomSample","RandomSeed","RandomSeeding","RandomTime","RandomTree","RandomVariate","RandomWalkProcess","RandomWord","Range","RangeFilter","RangeSpecification","RankedMax","RankedMin","RarerProbability","Raster","Raster3D","Raster3DBox","Raster3DBoxOptions","RasterArray","RasterBox","RasterBoxOptions","Rasterize","RasterSize","Rational","RationalExpressionQ","RationalFunctions","Rationalize","Rationals","Ratios","RawArray","RawBoxes","RawData","RawMedium","RayleighDistribution","Re","ReactionBalance","ReactionBalancedQ","ReactionPDETerm","Read","ReadByteArray","ReadLine","ReadList","ReadProtected","ReadString","Real","RealAbs","RealBlockDiagonalForm","RealDigits","RealExponent","Reals","RealSign","Reap","RebuildPacletData","RecalibrationFunction","RecognitionPrior","RecognitionThreshold","ReconstructionMesh","Record","RecordLists","RecordSeparators","Rectangle","RectangleBox","RectangleBoxOptions","RectangleChart","RectangleChart3D","RectangularRepeatingElement","RecurrenceFilter","RecurrenceTable","RecurringDigitsForm","Red","Reduce","RefBox","ReferenceLineStyle","ReferenceMarkers","ReferenceMarkerStyle","Refine","ReflectionMatrix","ReflectionTransform","Refresh","RefreshRate","Region","RegionBinarize","RegionBoundary","RegionBoundaryStyle","RegionBounds","RegionCentroid","RegionCongruent","RegionConvert","RegionDifference","RegionDilation","RegionDimension","RegionDisjoint","RegionDistance","RegionDistanceFunction","RegionEmbeddingDimension","RegionEqual","RegionErosion","RegionFillingStyle","RegionFit","RegionFunction","RegionImage","RegionIntersection","RegionMeasure","RegionMember","RegionMemberFunction","RegionMoment","RegionNearest","RegionNearestFunction","RegionPlot","RegionPlot3D","RegionProduct","RegionQ","RegionResize","RegionSimilar","RegionSize","RegionSymmetricDifference","RegionUnion","RegionWithin","RegisterExternalEvaluator","RegularExpression","Regularization","RegularlySampledQ","RegularPolygon","ReIm","ReImLabels","ReImPlot","ReImStyle","Reinstall","RelationalDatabase","RelationGraph","Release","ReleaseHold","ReliabilityDistribution","ReliefImage","ReliefPlot","RemoteAuthorizationCaching","RemoteBatchJobAbort","RemoteBatchJobObject","RemoteBatchJobs","RemoteBatchMapSubmit","RemoteBatchSubmissionEnvironment","RemoteBatchSubmit","RemoteConnect","RemoteConnectionObject","RemoteEvaluate","RemoteFile","RemoteInputFiles","RemoteKernelObject","RemoteProviderSettings","RemoteRun","RemoteRunProcess","RemovalConditions","Remove","RemoveAlphaChannel","RemoveAsynchronousTask","RemoveAudioStream","RemoveBackground","RemoveChannelListener","RemoveChannelSubscribers","Removed","RemoveDiacritics","RemoveInputStreamMethod","RemoveOutputStreamMethod","RemoveProperty","RemoveScheduledTask","RemoveUsers","RemoveVideoStream","RenameDirectory","RenameFile","RenderAll","RenderingOptions","RenewalProcess","RenkoChart","RepairMesh","Repeated","RepeatedNull","RepeatedString","RepeatedTiming","RepeatingElement","Replace","ReplaceAll","ReplaceAt","ReplaceHeldPart","ReplaceImageValue","ReplaceList","ReplacePart","ReplacePixelValue","ReplaceRepeated","ReplicateLayer","RequiredPhysicalQuantities","Resampling","ResamplingAlgorithmData","ResamplingMethod","Rescale","RescalingTransform","ResetDirectory","ResetScheduledTask","ReshapeLayer","Residue","ResidueSum","ResizeLayer","Resolve","ResolveContextAliases","ResourceAcquire","ResourceData","ResourceFunction","ResourceObject","ResourceRegister","ResourceRemove","ResourceSearch","ResourceSubmissionObject","ResourceSubmit","ResourceSystemBase","ResourceSystemPath","ResourceUpdate","ResourceVersion","ResponseForm","Rest","RestartInterval","Restricted","Resultant","ResumePacket","Return","ReturnCreatesNewCell","ReturnEntersInput","ReturnExpressionPacket","ReturnInputFormPacket","ReturnPacket","ReturnReceiptFunction","ReturnTextPacket","Reverse","ReverseApplied","ReverseBiorthogonalSplineWavelet","ReverseElement","ReverseEquilibrium","ReverseGraph","ReverseSort","ReverseSortBy","ReverseUpEquilibrium","RevolutionAxis","RevolutionPlot3D","RGBColor","RiccatiSolve","RiceDistribution","RidgeFilter","RiemannR","RiemannSiegelTheta","RiemannSiegelZ","RiemannXi","Riffle","Right","RightArrow","RightArrowBar","RightArrowLeftArrow","RightComposition","RightCosetRepresentative","RightDownTeeVector","RightDownVector","RightDownVectorBar","RightTee","RightTeeArrow","RightTeeVector","RightTriangle","RightTriangleBar","RightTriangleEqual","RightUpDownVector","RightUpTeeVector","RightUpVector","RightUpVectorBar","RightVector","RightVectorBar","RipleyK","RipleyRassonRegion","RiskAchievementImportance","RiskReductionImportance","RobustConvexOptimization","RogersTanimotoDissimilarity","RollPitchYawAngles","RollPitchYawMatrix","RomanNumeral","Root","RootApproximant","RootIntervals","RootLocusPlot","RootMeanSquare","RootOfUnityQ","RootReduce","Roots","RootSum","RootTree","Rotate","RotateLabel","RotateLeft","RotateRight","RotationAction","RotationBox","RotationBoxOptions","RotationMatrix","RotationTransform","Round","RoundImplies","RoundingRadius","Row","RowAlignments","RowBackgrounds","RowBox","RowHeights","RowLines","RowMinHeight","RowReduce","RowsEqual","RowSpacings","RSolve","RSolveValue","RudinShapiro","RudvalisGroupRu","Rule","RuleCondition","RuleDelayed","RuleForm","RulePlot","RulerUnits","RulesTree","Run","RunProcess","RunScheduledTask","RunThrough","RuntimeAttributes","RuntimeOptions","RussellRaoDissimilarity","SameAs","SameQ","SameTest","SameTestProperties","SampledEntityClass","SampleDepth","SampledSoundFunction","SampledSoundList","SampleRate","SamplingPeriod","SARIMAProcess","SARMAProcess","SASTriangle","SatelliteData","SatisfiabilityCount","SatisfiabilityInstances","SatisfiableQ","Saturday","Save","Saveable","SaveAutoDelete","SaveConnection","SaveDefinitions","SavitzkyGolayMatrix","SawtoothWave","Scale","Scaled","ScaleDivisions","ScaledMousePosition","ScaleOrigin","ScalePadding","ScaleRanges","ScaleRangeStyle","ScalingFunctions","ScalingMatrix","ScalingTransform","Scan","ScheduledTask","ScheduledTaskActiveQ","ScheduledTaskInformation","ScheduledTaskInformationData","ScheduledTaskObject","ScheduledTasks","SchurDecomposition","ScientificForm","ScientificNotationThreshold","ScorerGi","ScorerGiPrime","ScorerHi","ScorerHiPrime","ScreenRectangle","ScreenStyleEnvironment","ScriptBaselineShifts","ScriptForm","ScriptLevel","ScriptMinSize","ScriptRules","ScriptSizeMultipliers","Scrollbars","ScrollingOptions","ScrollPosition","SearchAdjustment","SearchIndexObject","SearchIndices","SearchQueryString","SearchResultObject","Sec","Sech","SechDistribution","SecondOrderConeOptimization","SectionGrouping","SectorChart","SectorChart3D","SectorOrigin","SectorSpacing","SecuredAuthenticationKey","SecuredAuthenticationKeys","SecurityCertificate","SeedRandom","Select","Selectable","SelectComponents","SelectedCells","SelectedNotebook","SelectFirst","Selection","SelectionAnimate","SelectionCell","SelectionCellCreateCell","SelectionCellDefaultStyle","SelectionCellParentStyle","SelectionCreateCell","SelectionDebuggerTag","SelectionEvaluate","SelectionEvaluateCreateCell","SelectionMove","SelectionPlaceholder","SelectWithContents","SelfLoops","SelfLoopStyle","SemanticImport","SemanticImportString","SemanticInterpretation","SemialgebraicComponentInstances","SemidefiniteOptimization","SendMail","SendMessage","Sequence","SequenceAlignment","SequenceAttentionLayer","SequenceCases","SequenceCount","SequenceFold","SequenceFoldList","SequenceForm","SequenceHold","SequenceIndicesLayer","SequenceLastLayer","SequenceMostLayer","SequencePosition","SequencePredict","SequencePredictorFunction","SequenceReplace","SequenceRestLayer","SequenceReverseLayer","SequenceSplit","Series","SeriesCoefficient","SeriesData","SeriesTermGoal","ServiceConnect","ServiceDisconnect","ServiceExecute","ServiceObject","ServiceRequest","ServiceResponse","ServiceSubmit","SessionSubmit","SessionTime","Set","SetAccuracy","SetAlphaChannel","SetAttributes","Setbacks","SetCloudDirectory","SetCookies","SetDelayed","SetDirectory","SetEnvironment","SetFileDate","SetFileFormatProperties","SetOptions","SetOptionsPacket","SetPermissions","SetPrecision","SetProperty","SetSecuredAuthenticationKey","SetSelectedNotebook","SetSharedFunction","SetSharedVariable","SetStreamPosition","SetSystemModel","SetSystemOptions","Setter","SetterBar","SetterBox","SetterBoxOptions","Setting","SetUsers","Shading","Shallow","ShannonWavelet","ShapiroWilkTest","Share","SharingList","Sharpen","ShearingMatrix","ShearingTransform","ShellRegion","ShenCastanMatrix","ShiftedGompertzDistribution","ShiftRegisterSequence","Short","ShortDownArrow","Shortest","ShortestMatch","ShortestPathFunction","ShortLeftArrow","ShortRightArrow","ShortTimeFourier","ShortTimeFourierData","ShortUpArrow","Show","ShowAutoConvert","ShowAutoSpellCheck","ShowAutoStyles","ShowCellBracket","ShowCellLabel","ShowCellTags","ShowClosedCellArea","ShowCodeAssist","ShowContents","ShowControls","ShowCursorTracker","ShowGroupOpenCloseIcon","ShowGroupOpener","ShowInvisibleCharacters","ShowPageBreaks","ShowPredictiveInterface","ShowSelection","ShowShortBoxForm","ShowSpecialCharacters","ShowStringCharacters","ShowSyntaxStyles","ShrinkingDelay","ShrinkWrapBoundingBox","SiderealTime","SiegelTheta","SiegelTukeyTest","SierpinskiCurve","SierpinskiMesh","Sign","Signature","SignedRankTest","SignedRegionDistance","SignificanceLevel","SignPadding","SignTest","SimilarityRules","SimpleGraph","SimpleGraphQ","SimplePolygonQ","SimplePolyhedronQ","Simplex","Simplify","Sin","Sinc","SinghMaddalaDistribution","SingleEvaluation","SingleLetterItalics","SingleLetterStyle","SingularValueDecomposition","SingularValueList","SingularValuePlot","SingularValues","Sinh","SinhIntegral","SinIntegral","SixJSymbol","Skeleton","SkeletonTransform","SkellamDistribution","Skewness","SkewNormalDistribution","SkinStyle","Skip","SliceContourPlot3D","SliceDensityPlot3D","SliceDistribution","SliceVectorPlot3D","Slider","Slider2D","Slider2DBox","Slider2DBoxOptions","SliderBox","SliderBoxOptions","SlideShowVideo","SlideView","Slot","SlotSequence","Small","SmallCircle","Smaller","SmithDecomposition","SmithDelayCompensator","SmithWatermanSimilarity","SmoothDensityHistogram","SmoothHistogram","SmoothHistogram3D","SmoothKernelDistribution","SmoothPointDensity","SnDispersion","Snippet","SnippetsVideo","SnubPolyhedron","SocialMediaData","Socket","SocketConnect","SocketListen","SocketListener","SocketObject","SocketOpen","SocketReadMessage","SocketReadyQ","Sockets","SocketWaitAll","SocketWaitNext","SoftmaxLayer","SokalSneathDissimilarity","SolarEclipse","SolarSystemFeatureData","SolarTime","SolidAngle","SolidBoundaryLoadValue","SolidData","SolidDisplacementCondition","SolidFixedCondition","SolidMechanicsPDEComponent","SolidMechanicsStrain","SolidMechanicsStress","SolidRegionQ","Solve","SolveAlways","SolveDelayed","SolveValues","Sort","SortBy","SortedBy","SortedEntityClass","Sound","SoundAndGraphics","SoundNote","SoundVolume","SourceLink","SourcePDETerm","Sow","Space","SpaceCurveData","SpaceForm","Spacer","Spacings","Span","SpanAdjustments","SpanCharacterRounding","SpanFromAbove","SpanFromBoth","SpanFromLeft","SpanLineThickness","SpanMaxSize","SpanMinSize","SpanningCharacters","SpanSymmetric","SparseArray","SparseArrayQ","SpatialBinnedPointData","SpatialBoundaryCorrection","SpatialEstimate","SpatialEstimatorFunction","SpatialGraphDistribution","SpatialJ","SpatialMedian","SpatialNoiseLevel","SpatialObservationRegionQ","SpatialPointData","SpatialPointSelect","SpatialRandomnessTest","SpatialTransformationLayer","SpatialTrendFunction","Speak","SpeakerMatchQ","SpearmanRankTest","SpearmanRho","SpeciesData","SpecificityGoal","SpectralLineData","Spectrogram","SpectrogramArray","Specularity","SpeechCases","SpeechInterpreter","SpeechRecognize","SpeechSynthesize","SpellingCorrection","SpellingCorrectionList","SpellingDictionaries","SpellingDictionariesPath","SpellingOptions","Sphere","SphereBox","SphereBoxOptions","SpherePoints","SphericalBesselJ","SphericalBesselY","SphericalHankelH1","SphericalHankelH2","SphericalHarmonicY","SphericalPlot3D","SphericalRegion","SphericalShell","SpheroidalEigenvalue","SpheroidalJoiningFactor","SpheroidalPS","SpheroidalPSPrime","SpheroidalQS","SpheroidalQSPrime","SpheroidalRadialFactor","SpheroidalS1","SpheroidalS1Prime","SpheroidalS2","SpheroidalS2Prime","Splice","SplicedDistribution","SplineClosed","SplineDegree","SplineKnots","SplineWeights","Split","SplitBy","SpokenString","SpotLight","Sqrt","SqrtBox","SqrtBoxOptions","Square","SquaredEuclideanDistance","SquareFreeQ","SquareIntersection","SquareMatrixQ","SquareRepeatingElement","SquaresR","SquareSubset","SquareSubsetEqual","SquareSuperset","SquareSupersetEqual","SquareUnion","SquareWave","SSSTriangle","StabilityMargins","StabilityMarginsStyle","StableDistribution","Stack","StackBegin","StackComplete","StackedDateListPlot","StackedListPlot","StackInhibit","StadiumShape","StandardAtmosphereData","StandardDeviation","StandardDeviationFilter","StandardForm","Standardize","Standardized","StandardOceanData","StandbyDistribution","Star","StarClusterData","StarData","StarGraph","StartAsynchronousTask","StartExternalSession","StartingStepSize","StartOfLine","StartOfString","StartProcess","StartScheduledTask","StartupSound","StartWebSession","StateDimensions","StateFeedbackGains","StateOutputEstimator","StateResponse","StateSpaceModel","StateSpaceRealization","StateSpaceTransform","StateTransformationLinearize","StationaryDistribution","StationaryWaveletPacketTransform","StationaryWaveletTransform","StatusArea","StatusCentrality","StepMonitor","StereochemistryElements","StieltjesGamma","StippleShading","StirlingS1","StirlingS2","StopAsynchronousTask","StoppingPowerData","StopScheduledTask","StrataVariables","StratonovichProcess","StraussHardcorePointProcess","StraussPointProcess","StreamColorFunction","StreamColorFunctionScaling","StreamDensityPlot","StreamMarkers","StreamPlot","StreamPlot3D","StreamPoints","StreamPosition","Streams","StreamScale","StreamStyle","StrictInequalities","String","StringBreak","StringByteCount","StringCases","StringContainsQ","StringCount","StringDelete","StringDrop","StringEndsQ","StringExpression","StringExtract","StringForm","StringFormat","StringFormatQ","StringFreeQ","StringInsert","StringJoin","StringLength","StringMatchQ","StringPadLeft","StringPadRight","StringPart","StringPartition","StringPosition","StringQ","StringRepeat","StringReplace","StringReplaceList","StringReplacePart","StringReverse","StringRiffle","StringRotateLeft","StringRotateRight","StringSkeleton","StringSplit","StringStartsQ","StringTake","StringTakeDrop","StringTemplate","StringToByteArray","StringToStream","StringTrim","StripBoxes","StripOnInput","StripStyleOnPaste","StripWrapperBoxes","StrokeForm","Struckthrough","StructuralImportance","StructuredArray","StructuredArrayHeadQ","StructuredSelection","StruveH","StruveL","Stub","StudentTDistribution","Style","StyleBox","StyleBoxAutoDelete","StyleData","StyleDefinitions","StyleForm","StyleHints","StyleKeyMapping","StyleMenuListing","StyleNameDialogSettings","StyleNames","StylePrint","StyleSheetPath","Subdivide","Subfactorial","Subgraph","SubMinus","SubPlus","SubresultantPolynomialRemainders","SubresultantPolynomials","Subresultants","Subscript","SubscriptBox","SubscriptBoxOptions","Subscripted","Subsequences","Subset","SubsetCases","SubsetCount","SubsetEqual","SubsetMap","SubsetPosition","SubsetQ","SubsetReplace","Subsets","SubStar","SubstitutionSystem","Subsuperscript","SubsuperscriptBox","SubsuperscriptBoxOptions","SubtitleEncoding","SubtitleTrackSelection","Subtract","SubtractFrom","SubtractSides","SubValues","Succeeds","SucceedsEqual","SucceedsSlantEqual","SucceedsTilde","Success","SuchThat","Sum","SumConvergence","SummationLayer","Sunday","SunPosition","Sunrise","Sunset","SuperDagger","SuperMinus","SupernovaData","SuperPlus","Superscript","SuperscriptBox","SuperscriptBoxOptions","Superset","SupersetEqual","SuperStar","Surd","SurdForm","SurfaceAppearance","SurfaceArea","SurfaceColor","SurfaceData","SurfaceGraphics","SurvivalDistribution","SurvivalFunction","SurvivalModel","SurvivalModelFit","SuspendPacket","SuzukiDistribution","SuzukiGroupSuz","SwatchLegend","Switch","Symbol","SymbolName","SymletWavelet","Symmetric","SymmetricDifference","SymmetricGroup","SymmetricKey","SymmetricMatrixQ","SymmetricPolynomial","SymmetricReduction","Symmetrize","SymmetrizedArray","SymmetrizedArrayRules","SymmetrizedDependentComponents","SymmetrizedIndependentComponents","SymmetrizedReplacePart","SynchronousInitialization","SynchronousUpdating","Synonyms","Syntax","SyntaxForm","SyntaxInformation","SyntaxLength","SyntaxPacket","SyntaxQ","SynthesizeMissingValues","SystemCredential","SystemCredentialData","SystemCredentialKey","SystemCredentialKeys","SystemCredentialStoreObject","SystemDialogInput","SystemException","SystemGet","SystemHelpPath","SystemInformation","SystemInformationData","SystemInstall","SystemModel","SystemModeler","SystemModelExamples","SystemModelLinearize","SystemModelMeasurements","SystemModelParametricSimulate","SystemModelPlot","SystemModelProgressReporting","SystemModelReliability","SystemModels","SystemModelSimulate","SystemModelSimulateSensitivity","SystemModelSimulationData","SystemOpen","SystemOptions","SystemProcessData","SystemProcesses","SystemsConnectionsModel","SystemsModelControllerData","SystemsModelDelay","SystemsModelDelayApproximate","SystemsModelDelete","SystemsModelDimensions","SystemsModelExtract","SystemsModelFeedbackConnect","SystemsModelLabels","SystemsModelLinearity","SystemsModelMerge","SystemsModelOrder","SystemsModelParallelConnect","SystemsModelSeriesConnect","SystemsModelStateFeedbackConnect","SystemsModelVectorRelativeOrders","SystemStub","SystemTest","Tab","TabFilling","Table","TableAlignments","TableDepth","TableDirections","TableForm","TableHeadings","TableSpacing","TableView","TableViewBox","TableViewBoxAlignment","TableViewBoxBackground","TableViewBoxHeaders","TableViewBoxItemSize","TableViewBoxItemStyle","TableViewBoxOptions","TabSpacings","TabView","TabViewBox","TabViewBoxOptions","TagBox","TagBoxNote","TagBoxOptions","TaggingRules","TagSet","TagSetDelayed","TagStyle","TagUnset","Take","TakeDrop","TakeLargest","TakeLargestBy","TakeList","TakeSmallest","TakeSmallestBy","TakeWhile","Tally","Tan","Tanh","TargetDevice","TargetFunctions","TargetSystem","TargetUnits","TaskAbort","TaskExecute","TaskObject","TaskRemove","TaskResume","Tasks","TaskSuspend","TaskWait","TautologyQ","TelegraphProcess","TemplateApply","TemplateArgBox","TemplateBox","TemplateBoxOptions","TemplateEvaluate","TemplateExpression","TemplateIf","TemplateObject","TemplateSequence","TemplateSlot","TemplateSlotSequence","TemplateUnevaluated","TemplateVerbatim","TemplateWith","TemporalData","TemporalRegularity","Temporary","TemporaryVariable","TensorContract","TensorDimensions","TensorExpand","TensorProduct","TensorQ","TensorRank","TensorReduce","TensorSymmetry","TensorTranspose","TensorWedge","TerminatedEvaluation","TernaryListPlot","TernaryPlotCorners","TestID","TestReport","TestReportObject","TestResultObject","Tetrahedron","TetrahedronBox","TetrahedronBoxOptions","TeXForm","TeXSave","Text","Text3DBox","Text3DBoxOptions","TextAlignment","TextBand","TextBoundingBox","TextBox","TextCases","TextCell","TextClipboardType","TextContents","TextData","TextElement","TextForm","TextGrid","TextJustification","TextLine","TextPacket","TextParagraph","TextPosition","TextRecognize","TextSearch","TextSearchReport","TextSentences","TextString","TextStructure","TextStyle","TextTranslation","Texture","TextureCoordinateFunction","TextureCoordinateScaling","TextWords","Therefore","ThermodynamicData","ThermometerGauge","Thick","Thickness","Thin","Thinning","ThisLink","ThomasPointProcess","ThompsonGroupTh","Thread","Threaded","ThreadingLayer","ThreeJSymbol","Threshold","Through","Throw","ThueMorse","Thumbnail","Thursday","TickDirection","TickLabelOrientation","TickLabelPositioning","TickLabels","TickLengths","TickPositions","Ticks","TicksStyle","TideData","Tilde","TildeEqual","TildeFullEqual","TildeTilde","TimeConstrained","TimeConstraint","TimeDirection","TimeFormat","TimeGoal","TimelinePlot","TimeObject","TimeObjectQ","TimeRemaining","Times","TimesBy","TimeSeries","TimeSeriesAggregate","TimeSeriesForecast","TimeSeriesInsert","TimeSeriesInvertibility","TimeSeriesMap","TimeSeriesMapThread","TimeSeriesModel","TimeSeriesModelFit","TimeSeriesResample","TimeSeriesRescale","TimeSeriesShift","TimeSeriesThread","TimeSeriesWindow","TimeSystem","TimeSystemConvert","TimeUsed","TimeValue","TimeWarpingCorrespondence","TimeWarpingDistance","TimeZone","TimeZoneConvert","TimeZoneOffset","Timing","Tiny","TitleGrouping","TitsGroupT","ToBoxes","ToCharacterCode","ToColor","ToContinuousTimeModel","ToDate","Today","ToDiscreteTimeModel","ToEntity","ToeplitzMatrix","ToExpression","ToFileName","Together","Toggle","ToggleFalse","Toggler","TogglerBar","TogglerBox","TogglerBoxOptions","ToHeldExpression","ToInvertibleTimeSeries","TokenWords","Tolerance","ToLowerCase","Tomorrow","ToNumberField","TooBig","Tooltip","TooltipBox","TooltipBoxOptions","TooltipDelay","TooltipStyle","ToonShading","Top","TopHatTransform","ToPolarCoordinates","TopologicalSort","ToRadicals","ToRawPointer","ToRules","Torus","TorusGraph","ToSphericalCoordinates","ToString","Total","TotalHeight","TotalLayer","TotalVariationFilter","TotalWidth","TouchPosition","TouchscreenAutoZoom","TouchscreenControlPlacement","ToUpperCase","TourVideo","Tr","Trace","TraceAbove","TraceAction","TraceBackward","TraceDepth","TraceDialog","TraceForward","TraceInternal","TraceLevel","TraceOff","TraceOn","TraceOriginal","TracePrint","TraceScan","TrackCellChangeTimes","TrackedSymbols","TrackingFunction","TracyWidomDistribution","TradingChart","TraditionalForm","TraditionalFunctionNotation","TraditionalNotation","TraditionalOrder","TrainImageContentDetector","TrainingProgressCheckpointing","TrainingProgressFunction","TrainingProgressMeasurements","TrainingProgressReporting","TrainingStoppingCriterion","TrainingUpdateSchedule","TrainTextContentDetector","TransferFunctionCancel","TransferFunctionExpand","TransferFunctionFactor","TransferFunctionModel","TransferFunctionPoles","TransferFunctionTransform","TransferFunctionZeros","TransformationClass","TransformationFunction","TransformationFunctions","TransformationMatrix","TransformedDistribution","TransformedField","TransformedProcess","TransformedRegion","TransitionDirection","TransitionDuration","TransitionEffect","TransitiveClosureGraph","TransitiveReductionGraph","Translate","TranslationOptions","TranslationTransform","Transliterate","Transparent","TransparentColor","Transpose","TransposeLayer","TrapEnterKey","TrapSelection","TravelDirections","TravelDirectionsData","TravelDistance","TravelDistanceList","TravelMethod","TravelTime","Tree","TreeCases","TreeChildren","TreeCount","TreeData","TreeDelete","TreeDepth","TreeElementCoordinates","TreeElementLabel","TreeElementLabelFunction","TreeElementLabelStyle","TreeElementShape","TreeElementShapeFunction","TreeElementSize","TreeElementSizeFunction","TreeElementStyle","TreeElementStyleFunction","TreeExpression","TreeExtract","TreeFold","TreeForm","TreeGraph","TreeGraphQ","TreeInsert","TreeLayout","TreeLeafCount","TreeLeafQ","TreeLeaves","TreeLevel","TreeMap","TreeMapAt","TreeOutline","TreePlot","TreePosition","TreeQ","TreeReplacePart","TreeRules","TreeScan","TreeSelect","TreeSize","TreeTraversalOrder","TrendStyle","Triangle","TriangleCenter","TriangleConstruct","TriangleMeasurement","TriangleWave","TriangularDistribution","TriangulateMesh","Trig","TrigExpand","TrigFactor","TrigFactorList","Trigger","TrigReduce","TrigToExp","TrimmedMean","TrimmedVariance","TropicalStormData","True","TrueQ","TruncatedDistribution","TruncatedPolyhedron","TsallisQExponentialDistribution","TsallisQGaussianDistribution","TTest","Tube","TubeBezierCurveBox","TubeBezierCurveBoxOptions","TubeBox","TubeBoxOptions","TubeBSplineCurveBox","TubeBSplineCurveBoxOptions","Tuesday","TukeyLambdaDistribution","TukeyWindow","TunnelData","Tuples","TuranGraph","TuringMachine","TuttePolynomial","TwoWayRule","Typed","TypeDeclaration","TypeEvaluate","TypeHint","TypeOf","TypeSpecifier","UnateQ","Uncompress","UnconstrainedParameters","Undefined","UnderBar","Underflow","Underlined","Underoverscript","UnderoverscriptBox","UnderoverscriptBoxOptions","Underscript","UnderscriptBox","UnderscriptBoxOptions","UnderseaFeatureData","UndirectedEdge","UndirectedGraph","UndirectedGraphQ","UndoOptions","UndoTrackedVariables","Unequal","UnequalTo","Unevaluated","UniformDistribution","UniformGraphDistribution","UniformPolyhedron","UniformSumDistribution","Uninstall","Union","UnionedEntityClass","UnionPlus","Unique","UniqueElements","UnitaryMatrixQ","UnitBox","UnitConvert","UnitDimensions","Unitize","UnitRootTest","UnitSimplify","UnitStep","UnitSystem","UnitTriangle","UnitVector","UnitVectorLayer","UnityDimensions","UniverseModelData","UniversityData","UnixTime","UnlabeledTree","UnmanageObject","Unprotect","UnregisterExternalEvaluator","UnsameQ","UnsavedVariables","Unset","UnsetShared","Until","UntrackedVariables","Up","UpArrow","UpArrowBar","UpArrowDownArrow","Update","UpdateDynamicObjects","UpdateDynamicObjectsSynchronous","UpdateInterval","UpdatePacletSites","UpdateSearchIndex","UpDownArrow","UpEquilibrium","UpperCaseQ","UpperLeftArrow","UpperRightArrow","UpperTriangularize","UpperTriangularMatrix","UpperTriangularMatrixQ","Upsample","UpSet","UpSetDelayed","UpTee","UpTeeArrow","UpTo","UpValues","URL","URLBuild","URLDecode","URLDispatcher","URLDownload","URLDownloadSubmit","URLEncode","URLExecute","URLExpand","URLFetch","URLFetchAsynchronous","URLParse","URLQueryDecode","URLQueryEncode","URLRead","URLResponseTime","URLSave","URLSaveAsynchronous","URLShorten","URLSubmit","UseEmbeddedLibrary","UseGraphicsRange","UserDefinedWavelet","Using","UsingFrontEnd","UtilityFunction","V2Get","ValenceErrorHandling","ValenceFilling","ValidationLength","ValidationSet","ValueBox","ValueBoxOptions","ValueDimensions","ValueForm","ValuePreprocessingFunction","ValueQ","Values","ValuesData","VandermondeMatrix","Variables","Variance","VarianceEquivalenceTest","VarianceEstimatorFunction","VarianceGammaDistribution","VarianceGammaPointProcess","VarianceTest","VariogramFunction","VariogramModel","VectorAngle","VectorAround","VectorAspectRatio","VectorColorFunction","VectorColorFunctionScaling","VectorDensityPlot","VectorDisplacementPlot","VectorDisplacementPlot3D","VectorGlyphData","VectorGreater","VectorGreaterEqual","VectorLess","VectorLessEqual","VectorMarkers","VectorPlot","VectorPlot3D","VectorPoints","VectorQ","VectorRange","Vectors","VectorScale","VectorScaling","VectorSizes","VectorStyle","Vee","Verbatim","Verbose","VerificationTest","VerifyConvergence","VerifyDerivedKey","VerifyDigitalSignature","VerifyFileSignature","VerifyInterpretation","VerifySecurityCertificates","VerifySolutions","VerifyTestAssumptions","VersionedPreferences","VertexAdd","VertexCapacity","VertexChromaticNumber","VertexColors","VertexComponent","VertexConnectivity","VertexContract","VertexCoordinateRules","VertexCoordinates","VertexCorrelationSimilarity","VertexCosineSimilarity","VertexCount","VertexCoverQ","VertexDataCoordinates","VertexDegree","VertexDelete","VertexDiceSimilarity","VertexEccentricity","VertexInComponent","VertexInComponentGraph","VertexInDegree","VertexIndex","VertexJaccardSimilarity","VertexLabeling","VertexLabels","VertexLabelStyle","VertexList","VertexNormals","VertexOutComponent","VertexOutComponentGraph","VertexOutDegree","VertexQ","VertexRenderingFunction","VertexReplace","VertexShape","VertexShapeFunction","VertexSize","VertexStyle","VertexTextureCoordinates","VertexTransitiveGraphQ","VertexWeight","VertexWeightedGraphQ","Vertical","VerticalBar","VerticalForm","VerticalGauge","VerticalSeparator","VerticalSlider","VerticalTilde","Video","VideoCapture","VideoCombine","VideoDelete","VideoEncoding","VideoExtractFrames","VideoFrameList","VideoFrameMap","VideoGenerator","VideoInsert","VideoIntervals","VideoJoin","VideoMap","VideoMapList","VideoMapTimeSeries","VideoPadding","VideoPause","VideoPlay","VideoQ","VideoRecord","VideoReplace","VideoScreenCapture","VideoSplit","VideoStop","VideoStream","VideoStreams","VideoTimeStretch","VideoTrackSelection","VideoTranscode","VideoTransparency","VideoTrim","ViewAngle","ViewCenter","ViewMatrix","ViewPoint","ViewPointSelectorSettings","ViewPort","ViewProjection","ViewRange","ViewVector","ViewVertical","VirtualGroupData","Visible","VisibleCell","VoiceStyleData","VoigtDistribution","VolcanoData","Volume","VonMisesDistribution","VoronoiMesh","WaitAll","WaitAsynchronousTask","WaitNext","WaitUntil","WakebyDistribution","WalleniusHypergeometricDistribution","WaringYuleDistribution","WarpingCorrespondence","WarpingDistance","WatershedComponents","WatsonUSquareTest","WattsStrogatzGraphDistribution","WaveletBestBasis","WaveletFilterCoefficients","WaveletImagePlot","WaveletListPlot","WaveletMapIndexed","WaveletMatrixPlot","WaveletPhi","WaveletPsi","WaveletScale","WaveletScalogram","WaveletThreshold","WavePDEComponent","WeaklyConnectedComponents","WeaklyConnectedGraphComponents","WeaklyConnectedGraphQ","WeakStationarity","WeatherData","WeatherForecastData","WebAudioSearch","WebColumn","WebElementObject","WeberE","WebExecute","WebImage","WebImageSearch","WebItem","WebPageMetaInformation","WebRow","WebSearch","WebSessionObject","WebSessions","WebWindowObject","Wedge","Wednesday","WeibullDistribution","WeierstrassE1","WeierstrassE2","WeierstrassE3","WeierstrassEta1","WeierstrassEta2","WeierstrassEta3","WeierstrassHalfPeriods","WeierstrassHalfPeriodW1","WeierstrassHalfPeriodW2","WeierstrassHalfPeriodW3","WeierstrassInvariantG2","WeierstrassInvariantG3","WeierstrassInvariants","WeierstrassP","WeierstrassPPrime","WeierstrassSigma","WeierstrassZeta","WeightedAdjacencyGraph","WeightedAdjacencyMatrix","WeightedData","WeightedGraphQ","Weights","WelchWindow","WheelGraph","WhenEvent","Which","While","White","WhiteNoiseProcess","WhitePoint","Whitespace","WhitespaceCharacter","WhittakerM","WhittakerW","WholeCellGroupOpener","WienerFilter","WienerProcess","WignerD","WignerSemicircleDistribution","WikidataData","WikidataSearch","WikipediaData","WikipediaSearch","WilksW","WilksWTest","WindDirectionData","WindingCount","WindingPolygon","WindowClickSelect","WindowElements","WindowFloating","WindowFrame","WindowFrameElements","WindowMargins","WindowMovable","WindowOpacity","WindowPersistentStyles","WindowSelected","WindowSize","WindowStatusArea","WindowTitle","WindowToolbars","WindowWidth","WindSpeedData","WindVectorData","WinsorizedMean","WinsorizedVariance","WishartMatrixDistribution","With","WithCleanup","WithLock","WolframAlpha","WolframAlphaDate","WolframAlphaQuantity","WolframAlphaResult","WolframCloudSettings","WolframLanguageData","Word","WordBoundary","WordCharacter","WordCloud","WordCount","WordCounts","WordData","WordDefinition","WordFrequency","WordFrequencyData","WordList","WordOrientation","WordSearch","WordSelectionFunction","WordSeparators","WordSpacings","WordStem","WordTranslation","WorkingPrecision","WrapAround","Write","WriteLine","WriteString","Wronskian","XMLElement","XMLObject","XMLTemplate","Xnor","Xor","XYZColor","Yellow","Yesterday","YuleDissimilarity","ZernikeR","ZeroSymmetric","ZeroTest","ZeroWidthTimes","Zeta","ZetaZero","ZIPCodeData","ZipfDistribution","ZoomCenter","ZoomFactor","ZTest","ZTransform","$Aborted","$ActivationGroupID","$ActivationKey","$ActivationUserRegistered","$AddOnsDirectory","$AllowDataUpdates","$AllowExternalChannelFunctions","$AllowInternet","$AssertFunction","$Assumptions","$AsynchronousTask","$AudioDecoders","$AudioEncoders","$AudioInputDevices","$AudioOutputDevices","$BaseDirectory","$BasePacletsDirectory","$BatchInput","$BatchOutput","$BlockchainBase","$BoxForms","$ByteOrdering","$CacheBaseDirectory","$Canceled","$ChannelBase","$CharacterEncoding","$CharacterEncodings","$CloudAccountName","$CloudBase","$CloudConnected","$CloudConnection","$CloudCreditsAvailable","$CloudEvaluation","$CloudExpressionBase","$CloudObjectNameFormat","$CloudObjectURLType","$CloudRootDirectory","$CloudSymbolBase","$CloudUserID","$CloudUserUUID","$CloudVersion","$CloudVersionNumber","$CloudWolframEngineVersionNumber","$CommandLine","$CompilationTarget","$CompilerEnvironment","$ConditionHold","$ConfiguredKernels","$Context","$ContextAliases","$ContextPath","$ControlActiveSetting","$Cookies","$CookieStore","$CreationDate","$CryptographicEllipticCurveNames","$CurrentLink","$CurrentTask","$CurrentWebSession","$DataStructures","$DateStringFormat","$DefaultAudioInputDevice","$DefaultAudioOutputDevice","$DefaultFont","$DefaultFrontEnd","$DefaultImagingDevice","$DefaultKernels","$DefaultLocalBase","$DefaultLocalKernel","$DefaultMailbox","$DefaultNetworkInterface","$DefaultPath","$DefaultProxyRules","$DefaultRemoteBatchSubmissionEnvironment","$DefaultRemoteKernel","$DefaultSystemCredentialStore","$Display","$DisplayFunction","$DistributedContexts","$DynamicEvaluation","$Echo","$EmbedCodeEnvironments","$EmbeddableServices","$EntityStores","$Epilog","$EvaluationCloudBase","$EvaluationCloudObject","$EvaluationEnvironment","$ExportFormats","$ExternalIdentifierTypes","$ExternalStorageBase","$Failed","$FinancialDataSource","$FontFamilies","$FormatType","$FrontEnd","$FrontEndSession","$GeneratedAssetLocation","$GeoEntityTypes","$GeoLocation","$GeoLocationCity","$GeoLocationCountry","$GeoLocationPrecision","$GeoLocationSource","$HistoryLength","$HomeDirectory","$HTMLExportRules","$HTTPCookies","$HTTPRequest","$IgnoreEOF","$ImageFormattingWidth","$ImageResolution","$ImagingDevice","$ImagingDevices","$ImportFormats","$IncomingMailSettings","$InitialDirectory","$Initialization","$InitializationContexts","$Input","$InputFileName","$InputStreamMethods","$Inspector","$InstallationDate","$InstallationDirectory","$InterfaceEnvironment","$InterpreterTypes","$IterationLimit","$KernelCount","$KernelID","$Language","$LaunchDirectory","$LibraryPath","$LicenseExpirationDate","$LicenseID","$LicenseProcesses","$LicenseServer","$LicenseSubprocesses","$LicenseType","$Line","$Linked","$LinkSupported","$LoadedFiles","$LocalBase","$LocalSymbolBase","$MachineAddresses","$MachineDomain","$MachineDomains","$MachineEpsilon","$MachineID","$MachineName","$MachinePrecision","$MachineType","$MaxDisplayedChildren","$MaxExtraPrecision","$MaxLicenseProcesses","$MaxLicenseSubprocesses","$MaxMachineNumber","$MaxNumber","$MaxPiecewiseCases","$MaxPrecision","$MaxRootDegree","$MessageGroups","$MessageList","$MessagePrePrint","$Messages","$MinMachineNumber","$MinNumber","$MinorReleaseNumber","$MinPrecision","$MobilePhone","$ModuleNumber","$NetworkConnected","$NetworkInterfaces","$NetworkLicense","$NewMessage","$NewSymbol","$NotebookInlineStorageLimit","$Notebooks","$NoValue","$NumberMarks","$Off","$OperatingSystem","$Output","$OutputForms","$OutputSizeLimit","$OutputStreamMethods","$Packages","$ParentLink","$ParentProcessID","$PasswordFile","$PatchLevelID","$Path","$PathnameSeparator","$PerformanceGoal","$Permissions","$PermissionsGroupBase","$PersistenceBase","$PersistencePath","$PipeSupported","$PlotTheme","$Post","$Pre","$PreferencesDirectory","$PreInitialization","$PrePrint","$PreRead","$PrintForms","$PrintLiteral","$Printout3DPreviewer","$ProcessID","$ProcessorCount","$ProcessorType","$ProductInformation","$ProgramName","$ProgressReporting","$PublisherID","$RandomGeneratorState","$RandomState","$RecursionLimit","$RegisteredDeviceClasses","$RegisteredUserName","$ReleaseNumber","$RequesterAddress","$RequesterCloudUserID","$RequesterCloudUserUUID","$RequesterWolframID","$RequesterWolframUUID","$ResourceSystemBase","$ResourceSystemPath","$RootDirectory","$ScheduledTask","$ScriptCommandLine","$ScriptInputString","$SecuredAuthenticationKeyTokens","$ServiceCreditsAvailable","$Services","$SessionID","$SetParentLink","$SharedFunctions","$SharedVariables","$SoundDisplay","$SoundDisplayFunction","$SourceLink","$SSHAuthentication","$SubtitleDecoders","$SubtitleEncoders","$SummaryBoxDataSizeLimit","$SuppressInputFormHeads","$SynchronousEvaluation","$SyntaxHandler","$System","$SystemCharacterEncoding","$SystemCredentialStore","$SystemID","$SystemMemory","$SystemShell","$SystemTimeZone","$SystemWordLength","$TargetSystems","$TemplatePath","$TemporaryDirectory","$TemporaryPrefix","$TestFileName","$TextStyle","$TimedOut","$TimeUnit","$TimeZone","$TimeZoneEntity","$TopDirectory","$TraceOff","$TraceOn","$TracePattern","$TracePostAction","$TracePreAction","$UnitSystem","$Urgent","$UserAddOnsDirectory","$UserAgentLanguages","$UserAgentMachine","$UserAgentName","$UserAgentOperatingSystem","$UserAgentString","$UserAgentVersion","$UserBaseDirectory","$UserBasePacletsDirectory","$UserDocumentsDirectory","$Username","$UserName","$UserURLBase","$Version","$VersionNumber","$VideoDecoders","$VideoEncoders","$VoiceStyles","$WolframDocumentsDirectory","$WolframID","$WolframUUID"];function Mx(t){const e=t.regex,n=/([2-9]|[1-2]\d|[3][0-5])\^\^/,r=/(\w*\.\w+|\w+\.\w*|\w+)/,i=/(\d*\.\d+|\d+\.\d*|\d+)/,o=e.either(e.concat(n,r),i),a=/``[+-]?(\d*\.\d+|\d+\.\d*|\d+)/,s=/`([+-]?(\d*\.\d+|\d+\.\d*|\d+))?/,l=e.either(a,s),c=/\*\^[+-]?\d+/,d={className:"number",relevance:0,begin:e.concat(o,e.optional(l),e.optional(c))},p=/[a-zA-Z$][a-zA-Z0-9$]*/,_=new Set(Dx),m={variants:[{className:"builtin-symbol",begin:p,"on:begin":(C,T)=>{_.has(C[0])||T.ignoreMatch()}},{className:"symbol",relevance:0,begin:p}]},f={className:"named-character",begin:/\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/},g={className:"operator",relevance:0,begin:/[+\-*/,;.:@~=><&|_`'^?!%]+/},E={className:"pattern",relevance:0,begin:/([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/},S={className:"slot",relevance:0,begin:/#[a-zA-Z$][a-zA-Z0-9$]*|#+[0-9]?/},b={className:"brace",relevance:0,begin:/[[\](){}]/},h={className:"message-name",relevance:0,begin:e.concat("::",p)};return{name:"Mathematica",aliases:["mma","wl"],classNameAliases:{brace:"punctuation",pattern:"type",slot:"type",symbol:"variable","named-character":"variable","builtin-symbol":"built_in","message-name":"string"},contains:[t.COMMENT(/\(\*/,/\*\)/,{contains:["self"]}),E,S,h,m,f,t.QUOTE_STRING_MODE,d,g,b]}}function wx(t){const e="('|\\.')+",n={relevance:0,contains:[{begin:e}]};return{name:"Matlab",keywords:{keyword:"arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[t.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{className:"built_in",begin:/true|false/,relevance:0,starts:n},{begin:"[a-zA-Z][a-zA-Z_0-9]*"+e,relevance:0},{className:"number",begin:t.C_NUMBER_RE,relevance:0,starts:n},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:n},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}],starts:n},t.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),t.COMMENT("%","$")]}}function Lx(t){return{name:"Maxima",keywords:{$pattern:"[A-Za-z_%][0-9A-Za-z_%]*",keyword:"if then else elseif for thru do while unless step in and or not",literal:"true false unknown inf minf ind und %e %i %pi %phi %gamma",built_in:" abasep abs absint absolute_real_time acos acosh acot acoth acsc acsch activate addcol add_edge add_edges addmatrices addrow add_vertex add_vertices adjacency_matrix adjoin adjoint af agd airy airy_ai airy_bi airy_dai airy_dbi algsys alg_type alias allroots alphacharp alphanumericp amortization %and annuity_fv annuity_pv antid antidiff AntiDifference append appendfile apply apply1 apply2 applyb1 apropos args arit_amortization arithmetic arithsum array arrayapply arrayinfo arraymake arraysetapply ascii asec asech asin asinh askinteger asksign assoc assoc_legendre_p assoc_legendre_q assume assume_external_byte_order asympa at atan atan2 atanh atensimp atom atvalue augcoefmatrix augmented_lagrangian_method av average_degree backtrace bars barsplot barsplot_description base64 base64_decode bashindices batch batchload bc2 bdvac belln benefit_cost bern bernpoly bernstein_approx bernstein_expand bernstein_poly bessel bessel_i bessel_j bessel_k bessel_simplify bessel_y beta beta_incomplete beta_incomplete_generalized beta_incomplete_regularized bezout bfallroots bffac bf_find_root bf_fmin_cobyla bfhzeta bfloat bfloatp bfpsi bfpsi0 bfzeta biconnected_components bimetric binomial bipartition block blockmatrixp bode_gain bode_phase bothcoef box boxplot boxplot_description break bug_report build_info|10 buildq build_sample burn cabs canform canten cardinality carg cartan cartesian_product catch cauchy_matrix cbffac cdf_bernoulli cdf_beta cdf_binomial cdf_cauchy cdf_chi2 cdf_continuous_uniform cdf_discrete_uniform cdf_exp cdf_f cdf_gamma cdf_general_finite_discrete cdf_geometric cdf_gumbel cdf_hypergeometric cdf_laplace cdf_logistic cdf_lognormal cdf_negative_binomial cdf_noncentral_chi2 cdf_noncentral_student_t cdf_normal cdf_pareto cdf_poisson cdf_rank_sum cdf_rayleigh cdf_signed_rank cdf_student_t cdf_weibull cdisplay ceiling central_moment cequal cequalignore cf cfdisrep cfexpand cgeodesic cgreaterp cgreaterpignore changename changevar chaosgame charat charfun charfun2 charlist charp charpoly chdir chebyshev_t chebyshev_u checkdiv check_overlaps chinese cholesky christof chromatic_index chromatic_number cint circulant_graph clear_edge_weight clear_rules clear_vertex_label clebsch_gordan clebsch_graph clessp clesspignore close closefile cmetric coeff coefmatrix cograd col collapse collectterms columnop columnspace columnswap columnvector combination combine comp2pui compare compfile compile compile_file complement_graph complete_bipartite_graph complete_graph complex_number_p components compose_functions concan concat conjugate conmetderiv connected_components connect_vertices cons constant constantp constituent constvalue cont2part content continuous_freq contortion contour_plot contract contract_edge contragrad contrib_ode convert coord copy copy_file copy_graph copylist copymatrix cor cos cosh cot coth cov cov1 covdiff covect covers crc24sum create_graph create_list csc csch csetup cspline ctaylor ct_coordsys ctransform ctranspose cube_graph cuboctahedron_graph cunlisp cv cycle_digraph cycle_graph cylindrical days360 dblint deactivate declare declare_constvalue declare_dimensions declare_fundamental_dimensions declare_fundamental_units declare_qty declare_translated declare_unit_conversion declare_units declare_weights decsym defcon define define_alt_display define_variable defint defmatch defrule defstruct deftaylor degree_sequence del delete deleten delta demo demoivre denom depends derivdegree derivlist describe desolve determinant dfloat dgauss_a dgauss_b dgeev dgemm dgeqrf dgesv dgesvd diag diagmatrix diag_matrix diagmatrixp diameter diff digitcharp dimacs_export dimacs_import dimension dimensionless dimensions dimensions_as_list direct directory discrete_freq disjoin disjointp disolate disp dispcon dispform dispfun dispJordan display disprule dispterms distrib divide divisors divsum dkummer_m dkummer_u dlange dodecahedron_graph dotproduct dotsimp dpart draw draw2d draw3d drawdf draw_file draw_graph dscalar echelon edge_coloring edge_connectivity edges eigens_by_jacobi eigenvalues eigenvectors eighth einstein eivals eivects elapsed_real_time elapsed_run_time ele2comp ele2polynome ele2pui elem elementp elevation_grid elim elim_allbut eliminate eliminate_using ellipse elliptic_e elliptic_ec elliptic_eu elliptic_f elliptic_kc elliptic_pi ematrix empty_graph emptyp endcons entermatrix entertensor entier equal equalp equiv_classes erf erfc erf_generalized erfi errcatch error errormsg errors euler ev eval_string evenp every evolution evolution2d evundiff example exp expand expandwrt expandwrt_factored expint expintegral_chi expintegral_ci expintegral_e expintegral_e1 expintegral_ei expintegral_e_simplify expintegral_li expintegral_shi expintegral_si explicit explose exponentialize express expt exsec extdiff extract_linear_equations extremal_subset ezgcd %f f90 facsum factcomb factor factorfacsum factorial factorout factorsum facts fast_central_elements fast_linsolve fasttimes featurep fernfale fft fib fibtophi fifth filename_merge file_search file_type fillarray findde find_root find_root_abs find_root_error find_root_rel first fix flatten flength float floatnump floor flower_snark flush flush1deriv flushd flushnd flush_output fmin_cobyla forget fortran fourcos fourexpand fourier fourier_elim fourint fourintcos fourintsin foursimp foursin fourth fposition frame_bracket freeof freshline fresnel_c fresnel_s from_adjacency_matrix frucht_graph full_listify fullmap fullmapl fullratsimp fullratsubst fullsetify funcsolve fundamental_dimensions fundamental_units fundef funmake funp fv g0 g1 gamma gamma_greek gamma_incomplete gamma_incomplete_generalized gamma_incomplete_regularized gauss gauss_a gauss_b gaussprob gcd gcdex gcdivide gcfac gcfactor gd generalized_lambert_w genfact gen_laguerre genmatrix gensym geo_amortization geo_annuity_fv geo_annuity_pv geomap geometric geometric_mean geosum get getcurrentdirectory get_edge_weight getenv get_lu_factors get_output_stream_string get_pixel get_plot_option get_tex_environment get_tex_environment_default get_vertex_label gfactor gfactorsum ggf girth global_variances gn gnuplot_close gnuplot_replot gnuplot_reset gnuplot_restart gnuplot_start go Gosper GosperSum gr2d gr3d gradef gramschmidt graph6_decode graph6_encode graph6_export graph6_import graph_center graph_charpoly graph_eigenvalues graph_flow graph_order graph_periphery graph_product graph_size graph_union great_rhombicosidodecahedron_graph great_rhombicuboctahedron_graph grid_graph grind grobner_basis grotzch_graph hamilton_cycle hamilton_path hankel hankel_1 hankel_2 harmonic harmonic_mean hav heawood_graph hermite hessian hgfred hilbertmap hilbert_matrix hipow histogram histogram_description hodge horner hypergeometric i0 i1 %ibes ic1 ic2 ic_convert ichr1 ichr2 icosahedron_graph icosidodecahedron_graph icurvature ident identfor identity idiff idim idummy ieqn %if ifactors iframes ifs igcdex igeodesic_coords ilt image imagpart imetric implicit implicit_derivative implicit_plot indexed_tensor indices induced_subgraph inferencep inference_result infix info_display init_atensor init_ctensor in_neighbors innerproduct inpart inprod inrt integerp integer_partitions integrate intersect intersection intervalp intopois intosum invariant1 invariant2 inverse_fft inverse_jacobi_cd inverse_jacobi_cn inverse_jacobi_cs inverse_jacobi_dc inverse_jacobi_dn inverse_jacobi_ds inverse_jacobi_nc inverse_jacobi_nd inverse_jacobi_ns inverse_jacobi_sc inverse_jacobi_sd inverse_jacobi_sn invert invert_by_adjoint invert_by_lu inv_mod irr is is_biconnected is_bipartite is_connected is_digraph is_edge_in_graph is_graph is_graph_or_digraph ishow is_isomorphic isolate isomorphism is_planar isqrt isreal_p is_sconnected is_tree is_vertex_in_graph items_inference %j j0 j1 jacobi jacobian jacobi_cd jacobi_cn jacobi_cs jacobi_dc jacobi_dn jacobi_ds jacobi_nc jacobi_nd jacobi_ns jacobi_p jacobi_sc jacobi_sd jacobi_sn JF jn join jordan julia julia_set julia_sin %k kdels kdelta kill killcontext kostka kron_delta kronecker_product kummer_m kummer_u kurtosis kurtosis_bernoulli kurtosis_beta kurtosis_binomial kurtosis_chi2 kurtosis_continuous_uniform kurtosis_discrete_uniform kurtosis_exp kurtosis_f kurtosis_gamma kurtosis_general_finite_discrete kurtosis_geometric kurtosis_gumbel kurtosis_hypergeometric kurtosis_laplace kurtosis_logistic kurtosis_lognormal kurtosis_negative_binomial kurtosis_noncentral_chi2 kurtosis_noncentral_student_t kurtosis_normal kurtosis_pareto kurtosis_poisson kurtosis_rayleigh kurtosis_student_t kurtosis_weibull label labels lagrange laguerre lambda lambert_w laplace laplacian_matrix last lbfgs lc2kdt lcharp lc_l lcm lc_u ldefint ldisp ldisplay legendre_p legendre_q leinstein length let letrules letsimp levi_civita lfreeof lgtreillis lhs li liediff limit Lindstedt linear linearinterpol linear_program linear_regression line_graph linsolve listarray list_correlations listify list_matrix_entries list_nc_monomials listoftens listofvars listp lmax lmin load loadfile local locate_matrix_entry log logcontract log_gamma lopow lorentz_gauge lowercasep lpart lratsubst lreduce lriemann lsquares_estimates lsquares_estimates_approximate lsquares_estimates_exact lsquares_mse lsquares_residual_mse lsquares_residuals lsum ltreillis lu_backsub lucas lu_factor %m macroexpand macroexpand1 make_array makebox makefact makegamma make_graph make_level_picture makelist makeOrders make_poly_continent make_poly_country make_polygon make_random_state make_rgb_picture makeset make_string_input_stream make_string_output_stream make_transform mandelbrot mandelbrot_set map mapatom maplist matchdeclare matchfix mat_cond mat_fullunblocker mat_function mathml_display mat_norm matrix matrixmap matrixp matrix_size mattrace mat_trace mat_unblocker max max_clique max_degree max_flow maximize_lp max_independent_set max_matching maybe md5sum mean mean_bernoulli mean_beta mean_binomial mean_chi2 mean_continuous_uniform mean_deviation mean_discrete_uniform mean_exp mean_f mean_gamma mean_general_finite_discrete mean_geometric mean_gumbel mean_hypergeometric mean_laplace mean_logistic mean_lognormal mean_negative_binomial mean_noncentral_chi2 mean_noncentral_student_t mean_normal mean_pareto mean_poisson mean_rayleigh mean_student_t mean_weibull median median_deviation member mesh metricexpandall mgf1_sha1 min min_degree min_edge_cut minfactorial minimalPoly minimize_lp minimum_spanning_tree minor minpack_lsquares minpack_solve min_vertex_cover min_vertex_cut mkdir mnewton mod mode_declare mode_identity ModeMatrix moebius mon2schur mono monomial_dimensions multibernstein_poly multi_display_for_texinfo multi_elem multinomial multinomial_coeff multi_orbit multiplot_mode multi_pui multsym multthru mycielski_graph nary natural_unit nc_degree ncexpt ncharpoly negative_picture neighbors new newcontext newdet new_graph newline newton new_variable next_prime nicedummies niceindices ninth nofix nonarray noncentral_moment nonmetricity nonnegintegerp nonscalarp nonzeroandfreeof notequal nounify nptetrad npv nroots nterms ntermst nthroot nullity nullspace num numbered_boundaries numberp number_to_octets num_distinct_partitions numerval numfactor num_partitions nusum nzeta nzetai nzetar octets_to_number octets_to_oid odd_girth oddp ode2 ode_check odelin oid_to_octets op opena opena_binary openr openr_binary openw openw_binary operatorp opsubst optimize %or orbit orbits ordergreat ordergreatp orderless orderlessp orthogonal_complement orthopoly_recur orthopoly_weight outermap out_neighbors outofpois pade parabolic_cylinder_d parametric parametric_surface parg parGosper parse_string parse_timedate part part2cont partfrac partition partition_set partpol path_digraph path_graph pathname_directory pathname_name pathname_type pdf_bernoulli pdf_beta pdf_binomial pdf_cauchy pdf_chi2 pdf_continuous_uniform pdf_discrete_uniform pdf_exp pdf_f pdf_gamma pdf_general_finite_discrete pdf_geometric pdf_gumbel pdf_hypergeometric pdf_laplace pdf_logistic pdf_lognormal pdf_negative_binomial pdf_noncentral_chi2 pdf_noncentral_student_t pdf_normal pdf_pareto pdf_poisson pdf_rank_sum pdf_rayleigh pdf_signed_rank pdf_student_t pdf_weibull pearson_skewness permanent permut permutation permutations petersen_graph petrov pickapart picture_equalp picturep piechart piechart_description planar_embedding playback plog plot2d plot3d plotdf ploteq plsquares pochhammer points poisdiff poisexpt poisint poismap poisplus poissimp poissubst poistimes poistrim polar polarform polartorect polar_to_xy poly_add poly_buchberger poly_buchberger_criterion poly_colon_ideal poly_content polydecomp poly_depends_p poly_elimination_ideal poly_exact_divide poly_expand poly_expt poly_gcd polygon poly_grobner poly_grobner_equal poly_grobner_member poly_grobner_subsetp poly_ideal_intersection poly_ideal_polysaturation poly_ideal_polysaturation1 poly_ideal_saturation poly_ideal_saturation1 poly_lcm poly_minimization polymod poly_multiply polynome2ele polynomialp poly_normal_form poly_normalize poly_normalize_list poly_polysaturation_extension poly_primitive_part poly_pseudo_divide poly_reduced_grobner poly_reduction poly_saturation_extension poly_s_polynomial poly_subtract polytocompanion pop postfix potential power_mod powerseries powerset prefix prev_prime primep primes principal_components print printf printfile print_graph printpois printprops prodrac product properties propvars psi psubst ptriangularize pui pui2comp pui2ele pui2polynome pui_direct puireduc push put pv qput qrange qty quad_control quad_qag quad_qagi quad_qagp quad_qags quad_qawc quad_qawf quad_qawo quad_qaws quadrilateral quantile quantile_bernoulli quantile_beta quantile_binomial quantile_cauchy quantile_chi2 quantile_continuous_uniform quantile_discrete_uniform quantile_exp quantile_f quantile_gamma quantile_general_finite_discrete quantile_geometric quantile_gumbel quantile_hypergeometric quantile_laplace quantile_logistic quantile_lognormal quantile_negative_binomial quantile_noncentral_chi2 quantile_noncentral_student_t quantile_normal quantile_pareto quantile_poisson quantile_rayleigh quantile_student_t quantile_weibull quartile_skewness quit qunit quotient racah_v racah_w radcan radius random random_bernoulli random_beta random_binomial random_bipartite_graph random_cauchy random_chi2 random_continuous_uniform random_digraph random_discrete_uniform random_exp random_f random_gamma random_general_finite_discrete random_geometric random_graph random_graph1 random_gumbel random_hypergeometric random_laplace random_logistic random_lognormal random_negative_binomial random_network random_noncentral_chi2 random_noncentral_student_t random_normal random_pareto random_permutation random_poisson random_rayleigh random_regular_graph random_student_t random_tournament random_tree random_weibull range rank rat ratcoef ratdenom ratdiff ratdisrep ratexpand ratinterpol rational rationalize ratnumer ratnump ratp ratsimp ratsubst ratvars ratweight read read_array read_binary_array read_binary_list read_binary_matrix readbyte readchar read_hashed_array readline read_list read_matrix read_nested_list readonly read_xpm real_imagpart_to_conjugate realpart realroots rearray rectangle rectform rectform_log_if_constant recttopolar rediff reduce_consts reduce_order region region_boundaries region_boundaries_plus rem remainder remarray rembox remcomps remcon remcoord remfun remfunction remlet remove remove_constvalue remove_dimensions remove_edge remove_fundamental_dimensions remove_fundamental_units remove_plot_option remove_vertex rempart remrule remsym remvalue rename rename_file reset reset_displays residue resolvante resolvante_alternee1 resolvante_bipartite resolvante_diedrale resolvante_klein resolvante_klein3 resolvante_produit_sym resolvante_unitaire resolvante_vierer rest resultant return reveal reverse revert revert2 rgb2level rhs ricci riemann rinvariant risch rk rmdir rncombine romberg room rootscontract round row rowop rowswap rreduce run_testsuite %s save saving scalarp scaled_bessel_i scaled_bessel_i0 scaled_bessel_i1 scalefactors scanmap scatterplot scatterplot_description scene schur2comp sconcat scopy scsimp scurvature sdowncase sec sech second sequal sequalignore set_alt_display setdifference set_draw_defaults set_edge_weight setelmx setequalp setify setp set_partitions set_plot_option set_prompt set_random_state set_tex_environment set_tex_environment_default setunits setup_autoload set_up_dot_simplifications set_vertex_label seventh sexplode sf sha1sum sha256sum shortest_path shortest_weighted_path show showcomps showratvars sierpinskiale sierpinskimap sign signum similaritytransform simp_inequality simplify_sum simplode simpmetderiv simtran sin sinh sinsert sinvertcase sixth skewness skewness_bernoulli skewness_beta skewness_binomial skewness_chi2 skewness_continuous_uniform skewness_discrete_uniform skewness_exp skewness_f skewness_gamma skewness_general_finite_discrete skewness_geometric skewness_gumbel skewness_hypergeometric skewness_laplace skewness_logistic skewness_lognormal skewness_negative_binomial skewness_noncentral_chi2 skewness_noncentral_student_t skewness_normal skewness_pareto skewness_poisson skewness_rayleigh skewness_student_t skewness_weibull slength smake small_rhombicosidodecahedron_graph small_rhombicuboctahedron_graph smax smin smismatch snowmap snub_cube_graph snub_dodecahedron_graph solve solve_rec solve_rec_rat some somrac sort sparse6_decode sparse6_encode sparse6_export sparse6_import specint spherical spherical_bessel_j spherical_bessel_y spherical_hankel1 spherical_hankel2 spherical_harmonic spherical_to_xyz splice split sposition sprint sqfr sqrt sqrtdenest sremove sremovefirst sreverse ssearch ssort sstatus ssubst ssubstfirst staircase standardize standardize_inverse_trig starplot starplot_description status std std1 std_bernoulli std_beta std_binomial std_chi2 std_continuous_uniform std_discrete_uniform std_exp std_f std_gamma std_general_finite_discrete std_geometric std_gumbel std_hypergeometric std_laplace std_logistic std_lognormal std_negative_binomial std_noncentral_chi2 std_noncentral_student_t std_normal std_pareto std_poisson std_rayleigh std_student_t std_weibull stemplot stirling stirling1 stirling2 strim striml strimr string stringout stringp strong_components struve_h struve_l sublis sublist sublist_indices submatrix subsample subset subsetp subst substinpart subst_parallel substpart substring subvar subvarp sum sumcontract summand_to_rec supcase supcontext symbolp symmdifference symmetricp system take_channel take_inference tan tanh taylor taylorinfo taylorp taylor_simplifier taytorat tcl_output tcontract tellrat tellsimp tellsimpafter tentex tenth test_mean test_means_difference test_normality test_proportion test_proportions_difference test_rank_sum test_sign test_signed_rank test_variance test_variance_ratio tex tex1 tex_display texput %th third throw time timedate timer timer_info tldefint tlimit todd_coxeter toeplitz tokens to_lisp topological_sort to_poly to_poly_solve totaldisrep totalfourier totient tpartpol trace tracematrix trace_options transform_sample translate translate_file transpose treefale tree_reduce treillis treinat triangle triangularize trigexpand trigrat trigreduce trigsimp trunc truncate truncated_cube_graph truncated_dodecahedron_graph truncated_icosahedron_graph truncated_tetrahedron_graph tr_warnings_get tube tutte_graph ueivects uforget ultraspherical underlying_graph undiff union unique uniteigenvectors unitp units unit_step unitvector unorder unsum untellrat untimer untrace uppercasep uricci uriemann uvect vandermonde_matrix var var1 var_bernoulli var_beta var_binomial var_chi2 var_continuous_uniform var_discrete_uniform var_exp var_f var_gamma var_general_finite_discrete var_geometric var_gumbel var_hypergeometric var_laplace var_logistic var_lognormal var_negative_binomial var_noncentral_chi2 var_noncentral_student_t var_normal var_pareto var_poisson var_rayleigh var_student_t var_weibull vector vectorpotential vectorsimp verbify vers vertex_coloring vertex_connectivity vertex_degree vertex_distance vertex_eccentricity vertex_in_degree vertex_out_degree vertices vertices_to_cycle vertices_to_path %w weyl wheel_graph wiener_index wigner_3j wigner_6j wigner_9j with_stdout write_binary_data writebyte write_data writefile wronskian xreduce xthru %y Zeilberger zeroequiv zerofor zeromatrix zeromatrixp zeta zgeev zheev zlange zn_add_table zn_carmichael_lambda zn_characteristic_factors zn_determinant zn_factor_generators zn_invert_by_lu zn_log zn_mult_table absboxchar activecontexts adapt_depth additive adim aform algebraic algepsilon algexact aliases allbut all_dotsimp_denoms allocation allsym alphabetic animation antisymmetric arrays askexp assume_pos assume_pos_pred assumescalar asymbol atomgrad atrig1 axes axis_3d axis_bottom axis_left axis_right axis_top azimuth background background_color backsubst berlefact bernstein_explicit besselexpand beta_args_sum_to_integer beta_expand bftorat bftrunc bindtest border boundaries_array box boxchar breakup %c capping cauchysum cbrange cbtics center cflength cframe_flag cnonmet_flag color color_bar color_bar_tics colorbox columns commutative complex cone context contexts contour contour_levels cosnpiflag ctaypov ctaypt ctayswitch ctayvar ct_coords ctorsion_flag ctrgsimp cube current_let_rule_package cylinder data_file_name debugmode decreasing default_let_rule_package delay dependencies derivabbrev derivsubst detout diagmetric diff dim dimensions dispflag display2d|10 display_format_internal distribute_over doallmxops domain domxexpt domxmxops domxnctimes dontfactor doscmxops doscmxplus dot0nscsimp dot0simp dot1simp dotassoc dotconstrules dotdistrib dotexptsimp dotident dotscrules draw_graph_program draw_realpart edge_color edge_coloring edge_partition edge_type edge_width %edispflag elevation %emode endphi endtheta engineering_format_floats enhanced3d %enumer epsilon_lp erfflag erf_representation errormsg error_size error_syms error_type %e_to_numlog eval even evenfun evflag evfun ev_point expandwrt_denom expintexpand expintrep expon expop exptdispflag exptisolate exptsubst facexpand facsum_combine factlim factorflag factorial_expand factors_only fb feature features file_name file_output_append file_search_demo file_search_lisp file_search_maxima|10 file_search_tests file_search_usage file_type_lisp file_type_maxima|10 fill_color fill_density filled_func fixed_vertices flipflag float2bf font font_size fortindent fortspaces fpprec fpprintprec functions gamma_expand gammalim gdet genindex gensumnum GGFCFMAX GGFINFINITY globalsolve gnuplot_command gnuplot_curve_styles gnuplot_curve_titles gnuplot_default_term_command gnuplot_dumb_term_command gnuplot_file_args gnuplot_file_name gnuplot_out_file gnuplot_pdf_term_command gnuplot_pm3d gnuplot_png_term_command gnuplot_postamble gnuplot_preamble gnuplot_ps_term_command gnuplot_svg_term_command gnuplot_term gnuplot_view_args Gosper_in_Zeilberger gradefs grid grid2d grind halfangles head_angle head_both head_length head_type height hypergeometric_representation %iargs ibase icc1 icc2 icounter idummyx ieqnprint ifb ifc1 ifc2 ifg ifgi ifr iframe_bracket_form ifri igeowedge_flag ikt1 ikt2 imaginary inchar increasing infeval infinity inflag infolists inm inmc1 inmc2 intanalysis integer integervalued integrate_use_rootsof integration_constant integration_constant_counter interpolate_color intfaclim ip_grid ip_grid_in irrational isolate_wrt_times iterations itr julia_parameter %k1 %k2 keepfloat key key_pos kinvariant kt label label_alignment label_orientation labels lassociative lbfgs_ncorrections lbfgs_nfeval_max leftjust legend letrat let_rule_packages lfg lg lhospitallim limsubst linear linear_solver linechar linel|10 linenum line_type linewidth line_width linsolve_params linsolvewarn lispdisp listarith listconstvars listdummyvars lmxchar load_pathname loadprint logabs logarc logcb logconcoeffp logexpand lognegint logsimp logx logx_secondary logy logy_secondary logz lriem m1pbranch macroexpansion macros mainvar manual_demo maperror mapprint matrix_element_add matrix_element_mult matrix_element_transpose maxapplydepth maxapplyheight maxima_tempdir|10 maxima_userdir|10 maxnegex MAX_ORD maxposex maxpsifracdenom maxpsifracnum maxpsinegint maxpsiposint maxtayorder mesh_lines_color method mod_big_prime mode_check_errorp mode_checkp mode_check_warnp mod_test mod_threshold modular_linear_solver modulus multiplicative multiplicities myoptions nary negdistrib negsumdispflag newline newtonepsilon newtonmaxiter nextlayerfactor niceindicespref nm nmc noeval nolabels nonegative_lp noninteger nonscalar noun noundisp nouns np npi nticks ntrig numer numer_pbranch obase odd oddfun opacity opproperties opsubst optimprefix optionset orientation origin orthopoly_returns_intervals outative outchar packagefile palette partswitch pdf_file pfeformat phiresolution %piargs piece pivot_count_sx pivot_max_sx plot_format plot_options plot_realpart png_file pochhammer_max_index points pointsize point_size points_joined point_type poislim poisson poly_coefficient_ring poly_elimination_order polyfactor poly_grobner_algorithm poly_grobner_debug poly_monomial_order poly_primary_elimination_order poly_return_term_list poly_secondary_elimination_order poly_top_reduction_only posfun position powerdisp pred prederror primep_number_of_tests product_use_gamma program programmode promote_float_to_bigfloat prompt proportional_axes props psexpand ps_file radexpand radius radsubstflag rassociative ratalgdenom ratchristof ratdenomdivide rateinstein ratepsilon ratfac rational ratmx ratprint ratriemann ratsimpexpons ratvarswitch ratweights ratweyl ratwtlvl real realonly redraw refcheck resolution restart resultant ric riem rmxchar %rnum_list rombergabs rombergit rombergmin rombergtol rootsconmode rootsepsilon run_viewer same_xy same_xyz savedef savefactors scalar scalarmatrixp scale scale_lp setcheck setcheckbreak setval show_edge_color show_edges show_edge_type show_edge_width show_id show_label showtime show_vertex_color show_vertex_size show_vertex_type show_vertices show_weight simp simplified_output simplify_products simpproduct simpsum sinnpiflag solvedecomposes solveexplicit solvefactors solvenullwarn solveradcan solvetrigwarn space sparse sphere spring_embedding_depth sqrtdispflag stardisp startphi starttheta stats_numer stringdisp structures style sublis_apply_lambda subnumsimp sumexpand sumsplitfact surface surface_hide svg_file symmetric tab taylordepth taylor_logexpand taylor_order_coefficients taylor_truncate_polynomials tensorkill terminal testsuite_files thetaresolution timer_devalue title tlimswitch tr track transcompile transform transform_xy translate_fast_arrays transparent transrun tr_array_as_ref tr_bound_function_applyp tr_file_tty_messagesp tr_float_can_branch_complex tr_function_call_default trigexpandplus trigexpandtimes triginverses trigsign trivial_solutions tr_numer tr_optimize_max_loop tr_semicompile tr_state_vars tr_warn_bad_function_calls tr_warn_fexpr tr_warn_meval tr_warn_mode tr_warn_undeclared tr_warn_undefined_variable tstep ttyoff tube_extremes ufg ug %unitexpand unit_vectors uric uriem use_fast_arrays user_preamble usersetunits values vect_cross verbose vertex_color vertex_coloring vertex_partition vertex_size vertex_type view warnings weyl width windowname windowtitle wired_surface wireframe xaxis xaxis_color xaxis_secondary xaxis_type xaxis_width xlabel xlabel_secondary xlength xrange xrange_secondary xtics xtics_axis xtics_rotate xtics_rotate_secondary xtics_secondary xtics_secondary_axis xu_grid x_voxel xy_file xyplane xy_scale yaxis yaxis_color yaxis_secondary yaxis_type yaxis_width ylabel ylabel_secondary ylength yrange yrange_secondary ytics ytics_axis ytics_rotate ytics_rotate_secondary ytics_secondary ytics_secondary_axis yv_grid y_voxel yx_ratio zaxis zaxis_color zaxis_type zaxis_width zeroa zerob zerobern zeta%pi zlabel zlabel_rotate zlength zmin zn_primroot_limit zn_primroot_pretest",symbol:"_ __ %|0 %%|0"},contains:[{className:"comment",begin:"/\\*",end:"\\*/",contains:["self"]},t.QUOTE_STRING_MODE,{className:"number",relevance:0,variants:[{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Ee][-+]?\\d+\\b"},{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Bb][-+]?\\d+\\b",relevance:10},{begin:"\\b(\\.\\d+|\\d+\\.\\d+)\\b"},{begin:"\\b(\\d+|0[0-9A-Za-z]+)\\.?\\b"}]}],illegal:/@/}}function kx(t){return{name:"MEL",keywords:"int float string vector matrix if else switch case default while do for in break continue global proc return about abs addAttr addAttributeEditorNodeHelp addDynamic addNewShelfTab addPP addPanelCategory addPrefixToName advanceToNextDrivenKey affectedNet affects aimConstraint air alias aliasAttr align alignCtx alignCurve alignSurface allViewFit ambientLight angle angleBetween animCone animCurveEditor animDisplay animView annotate appendStringArray applicationName applyAttrPreset applyTake arcLenDimContext arcLengthDimension arclen arrayMapper art3dPaintCtx artAttrCtx artAttrPaintVertexCtx artAttrSkinPaintCtx artAttrTool artBuildPaintMenu artFluidAttrCtx artPuttyCtx artSelectCtx artSetPaintCtx artUserPaintCtx assignCommand assignInputDevice assignViewportFactories attachCurve attachDeviceAttr attachSurface attrColorSliderGrp attrCompatibility attrControlGrp attrEnumOptionMenu attrEnumOptionMenuGrp attrFieldGrp attrFieldSliderGrp attrNavigationControlGrp attrPresetEditWin attributeExists attributeInfo attributeMenu attributeQuery autoKeyframe autoPlace bakeClip bakeFluidShading bakePartialHistory bakeResults bakeSimulation basename basenameEx batchRender bessel bevel bevelPlus binMembership bindSkin blend2 blendShape blendShapeEditor blendShapePanel blendTwoAttr blindDataType boneLattice boundary boxDollyCtx boxZoomCtx bufferCurve buildBookmarkMenu buildKeyframeMenu button buttonManip CBG cacheFile cacheFileCombine cacheFileMerge cacheFileTrack camera cameraView canCreateManip canvas capitalizeString catch catchQuiet ceil changeSubdivComponentDisplayLevel changeSubdivRegion channelBox character characterMap characterOutlineEditor characterize chdir checkBox checkBoxGrp checkDefaultRenderGlobals choice circle circularFillet clamp clear clearCache clip clipEditor clipEditorCurrentTimeCtx clipSchedule clipSchedulerOutliner clipTrimBefore closeCurve closeSurface cluster cmdFileOutput cmdScrollFieldExecuter cmdScrollFieldReporter cmdShell coarsenSubdivSelectionList collision color colorAtPoint colorEditor colorIndex colorIndexSliderGrp colorSliderButtonGrp colorSliderGrp columnLayout commandEcho commandLine commandPort compactHairSystem componentEditor compositingInterop computePolysetVolume condition cone confirmDialog connectAttr connectControl connectDynamic connectJoint connectionInfo constrain constrainValue constructionHistory container containsMultibyte contextInfo control convertFromOldLayers convertIffToPsd convertLightmap convertSolidTx convertTessellation convertUnit copyArray copyFlexor copyKey copySkinWeights cos cpButton cpCache cpClothSet cpCollision cpConstraint cpConvClothToMesh cpForces cpGetSolverAttr cpPanel cpProperty cpRigidCollisionFilter cpSeam cpSetEdit cpSetSolverAttr cpSolver cpSolverTypes cpTool cpUpdateClothUVs createDisplayLayer createDrawCtx createEditor createLayeredPsdFile createMotionField createNewShelf createNode createRenderLayer createSubdivRegion cross crossProduct ctxAbort ctxCompletion ctxEditMode ctxTraverse currentCtx currentTime currentTimeCtx currentUnit curve curveAddPtCtx curveCVCtx curveEPCtx curveEditorCtx curveIntersect curveMoveEPCtx curveOnSurface curveSketchCtx cutKey cycleCheck cylinder dagPose date defaultLightListCheckBox defaultNavigation defineDataServer defineVirtualDevice deformer deg_to_rad delete deleteAttr deleteShadingGroupsAndMaterials deleteShelfTab deleteUI deleteUnusedBrushes delrandstr detachCurve detachDeviceAttr detachSurface deviceEditor devicePanel dgInfo dgdirty dgeval dgtimer dimWhen directKeyCtx directionalLight dirmap dirname disable disconnectAttr disconnectJoint diskCache displacementToPoly displayAffected displayColor displayCull displayLevelOfDetail displayPref displayRGBColor displaySmoothness displayStats displayString displaySurface distanceDimContext distanceDimension doBlur dolly dollyCtx dopeSheetEditor dot dotProduct doubleProfileBirailSurface drag dragAttrContext draggerContext dropoffLocator duplicate duplicateCurve duplicateSurface dynCache dynControl dynExport dynExpression dynGlobals dynPaintEditor dynParticleCtx dynPref dynRelEdPanel dynRelEditor dynamicLoad editAttrLimits editDisplayLayerGlobals editDisplayLayerMembers editRenderLayerAdjustment editRenderLayerGlobals editRenderLayerMembers editor editorTemplate effector emit emitter enableDevice encodeString endString endsWith env equivalent equivalentTol erf error eval evalDeferred evalEcho event exactWorldBoundingBox exclusiveLightCheckBox exec executeForEachObject exists exp expression expressionEditorListen extendCurve extendSurface extrude fcheck fclose feof fflush fgetline fgetword file fileBrowserDialog fileDialog fileExtension fileInfo filetest filletCurve filter filterCurve filterExpand filterStudioImport findAllIntersections findAnimCurves findKeyframe findMenuItem findRelatedSkinCluster finder firstParentOf fitBspline flexor floatEq floatField floatFieldGrp floatScrollBar floatSlider floatSlider2 floatSliderButtonGrp floatSliderGrp floor flow fluidCacheInfo fluidEmitter fluidVoxelInfo flushUndo fmod fontDialog fopen formLayout format fprint frameLayout fread freeFormFillet frewind fromNativePath fwrite gamma gauss geometryConstraint getApplicationVersionAsFloat getAttr getClassification getDefaultBrush getFileList getFluidAttr getInputDeviceRange getMayaPanelTypes getModifiers getPanel getParticleAttr getPluginResource getenv getpid glRender glRenderEditor globalStitch gmatch goal gotoBindPose grabColor gradientControl gradientControlNoAttr graphDollyCtx graphSelectContext graphTrackCtx gravity grid gridLayout group groupObjectsByName HfAddAttractorToAS HfAssignAS HfBuildEqualMap HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached HfSelectAttractors HfUnAssignAS hardenPointCurve hardware hardwareRenderPanel headsUpDisplay headsUpMessage help helpLine hermite hide hilite hitTest hotBox hotkey hotkeyCheck hsv_to_rgb hudButton hudSlider hudSliderButton hwReflectionMap hwRender hwRenderLoad hyperGraph hyperPanel hyperShade hypot iconTextButton iconTextCheckBox iconTextRadioButton iconTextRadioCollection iconTextScrollList iconTextStaticLabel ikHandle ikHandleCtx ikHandleDisplayScale ikSolver ikSplineHandleCtx ikSystem ikSystemInfo ikfkDisplayMethod illustratorCurves image imfPlugins inheritTransform insertJoint insertJointCtx insertKeyCtx insertKnotCurve insertKnotSurface instance instanceable instancer intField intFieldGrp intScrollBar intSlider intSliderGrp interToUI internalVar intersect iprEngine isAnimCurve isConnected isDirty isParentOf isSameObject isTrue isValidObjectName isValidString isValidUiName isolateSelect itemFilter itemFilterAttr itemFilterRender itemFilterType joint jointCluster jointCtx jointDisplayScale jointLattice keyTangent keyframe keyframeOutliner keyframeRegionCurrentTimeCtx keyframeRegionDirectKeyCtx keyframeRegionDollyCtx keyframeRegionInsertKeyCtx keyframeRegionMoveKeyCtx keyframeRegionScaleKeyCtx keyframeRegionSelectKeyCtx keyframeRegionSetKeyCtx keyframeRegionTrackCtx keyframeStats lassoContext lattice latticeDeformKeyCtx launch launchImageEditor layerButton layeredShaderPort layeredTexturePort layout layoutDialog lightList lightListEditor lightListPanel lightlink lineIntersection linearPrecision linstep listAnimatable listAttr listCameras listConnections listDeviceAttachments listHistory listInputDeviceAxes listInputDeviceButtons listInputDevices listMenuAnnotation listNodeTypes listPanelCategories listRelatives listSets listTransforms listUnselected listerEditor loadFluid loadNewShelf loadPlugin loadPluginLanguageResources loadPrefObjects localizedPanelLabel lockNode loft log longNameOf lookThru ls lsThroughFilter lsType lsUI Mayatomr mag makeIdentity makeLive makePaintable makeRoll makeSingleSurface makeTubeOn makebot manipMoveContext manipMoveLimitsCtx manipOptions manipRotateContext manipRotateLimitsCtx manipScaleContext manipScaleLimitsCtx marker match max memory menu menuBarLayout menuEditor menuItem menuItemToShelf menuSet menuSetPref messageLine min minimizeApp mirrorJoint modelCurrentTimeCtx modelEditor modelPanel mouse movIn movOut move moveIKtoFK moveKeyCtx moveVertexAlongDirection multiProfileBirailSurface mute nParticle nameCommand nameField namespace namespaceInfo newPanelItems newton nodeCast nodeIconButton nodeOutliner nodePreset nodeType noise nonLinear normalConstraint normalize nurbsBoolean nurbsCopyUVSet nurbsCube nurbsEditUV nurbsPlane nurbsSelect nurbsSquare nurbsToPoly nurbsToPolygonsPref nurbsToSubdiv nurbsToSubdivPref nurbsUVSet nurbsViewDirectionVector objExists objectCenter objectLayer objectType objectTypeUI obsoleteProc oceanNurbsPreviewPlane offsetCurve offsetCurveOnSurface offsetSurface openGLExtension openMayaPref optionMenu optionMenuGrp optionVar orbit orbitCtx orientConstraint outlinerEditor outlinerPanel overrideModifier paintEffectsDisplay pairBlend palettePort paneLayout panel panelConfiguration panelHistory paramDimContext paramDimension paramLocator parent parentConstraint particle particleExists particleInstancer particleRenderInfo partition pasteKey pathAnimation pause pclose percent performanceOptions pfxstrokes pickWalk picture pixelMove planarSrf plane play playbackOptions playblast plugAttr plugNode pluginInfo pluginResourceUtil pointConstraint pointCurveConstraint pointLight pointMatrixMult pointOnCurve pointOnSurface pointPosition poleVectorConstraint polyAppend polyAppendFacetCtx polyAppendVertex polyAutoProjection polyAverageNormal polyAverageVertex polyBevel polyBlendColor polyBlindData polyBoolOp polyBridgeEdge polyCacheMonitor polyCheck polyChipOff polyClipboard polyCloseBorder polyCollapseEdge polyCollapseFacet polyColorBlindData polyColorDel polyColorPerVertex polyColorSet polyCompare polyCone polyCopyUV polyCrease polyCreaseCtx polyCreateFacet polyCreateFacetCtx polyCube polyCut polyCutCtx polyCylinder polyCylindricalProjection polyDelEdge polyDelFacet polyDelVertex polyDuplicateAndConnect polyDuplicateEdge polyEditUV polyEditUVShell polyEvaluate polyExtrudeEdge polyExtrudeFacet polyExtrudeVertex polyFlipEdge polyFlipUV polyForceUV polyGeoSampler polyHelix polyInfo polyInstallAction polyLayoutUV polyListComponentConversion polyMapCut polyMapDel polyMapSew polyMapSewMove polyMergeEdge polyMergeEdgeCtx polyMergeFacet polyMergeFacetCtx polyMergeUV polyMergeVertex polyMirrorFace polyMoveEdge polyMoveFacet polyMoveFacetUV polyMoveUV polyMoveVertex polyNormal polyNormalPerVertex polyNormalizeUV polyOptUvs polyOptions polyOutput polyPipe polyPlanarProjection polyPlane polyPlatonicSolid polyPoke polyPrimitive polyPrism polyProjection polyPyramid polyQuad polyQueryBlindData polyReduce polySelect polySelectConstraint polySelectConstraintMonitor polySelectCtx polySelectEditCtx polySeparate polySetToFaceNormal polySewEdge polyShortestPathCtx polySmooth polySoftEdge polySphere polySphericalProjection polySplit polySplitCtx polySplitEdge polySplitRing polySplitVertex polyStraightenUVBorder polySubdivideEdge polySubdivideFacet polyToSubdiv polyTorus polyTransfer polyTriangulate polyUVSet polyUnite polyWedgeFace popen popupMenu pose pow preloadRefEd print progressBar progressWindow projFileViewer projectCurve projectTangent projectionContext projectionManip promptDialog propModCtx propMove psdChannelOutliner psdEditTextureFile psdExport psdTextureFile putenv pwd python querySubdiv quit rad_to_deg radial radioButton radioButtonGrp radioCollection radioMenuItemCollection rampColorPort rand randomizeFollicles randstate rangeControl readTake rebuildCurve rebuildSurface recordAttr recordDevice redo reference referenceEdit referenceQuery refineSubdivSelectionList refresh refreshAE registerPluginResource rehash reloadImage removeJoint removeMultiInstance removePanelCategory rename renameAttr renameSelectionList renameUI render renderGlobalsNode renderInfo renderLayerButton renderLayerParent renderLayerPostProcess renderLayerUnparent renderManip renderPartition renderQualityNode renderSettings renderThumbnailUpdate renderWindowEditor renderWindowSelectContext renderer reorder reorderDeformers requires reroot resampleFluid resetAE resetPfxToPolyCamera resetTool resolutionNode retarget reverseCurve reverseSurface revolve rgb_to_hsv rigidBody rigidSolver roll rollCtx rootOf rot rotate rotationInterpolation roundConstantRadius rowColumnLayout rowLayout runTimeCommand runup sampleImage saveAllShelves saveAttrPreset saveFluid saveImage saveInitialState saveMenu savePrefObjects savePrefs saveShelf saveToolSettings scale scaleBrushBrightness scaleComponents scaleConstraint scaleKey scaleKeyCtx sceneEditor sceneUIReplacement scmh scriptCtx scriptEditorInfo scriptJob scriptNode scriptTable scriptToShelf scriptedPanel scriptedPanelType scrollField scrollLayout sculpt searchPathArray seed selLoadSettings select selectContext selectCurveCV selectKey selectKeyCtx selectKeyframeRegionCtx selectMode selectPref selectPriority selectType selectedNodes selectionConnection separator setAttr setAttrEnumResource setAttrMapping setAttrNiceNameResource setConstraintRestPosition setDefaultShadingGroup setDrivenKeyframe setDynamic setEditCtx setEditor setFluidAttr setFocus setInfinity setInputDeviceMapping setKeyCtx setKeyPath setKeyframe setKeyframeBlendshapeTargetWts setMenuMode setNodeNiceNameResource setNodeTypeFlag setParent setParticleAttr setPfxToPolyCamera setPluginResource setProject setStampDensity setStartupMessage setState setToolTo setUITemplate setXformManip sets shadingConnection shadingGeometryRelCtx shadingLightRelCtx shadingNetworkCompare shadingNode shapeCompare shelfButton shelfLayout shelfTabLayout shellField shortNameOf showHelp showHidden showManipCtx showSelectionInTitle showShadingGroupAttrEditor showWindow sign simplify sin singleProfileBirailSurface size sizeBytes skinCluster skinPercent smoothCurve smoothTangentSurface smoothstep snap2to2 snapKey snapMode snapTogetherCtx snapshot soft softMod softModCtx sort sound soundControl source spaceLocator sphere sphrand spotLight spotLightPreviewPort spreadSheetEditor spring sqrt squareSurface srtContext stackTrace startString startsWith stitchAndExplodeShell stitchSurface stitchSurfacePoints strcmp stringArrayCatenate stringArrayContains stringArrayCount stringArrayInsertAtIndex stringArrayIntersector stringArrayRemove stringArrayRemoveAtIndex stringArrayRemoveDuplicates stringArrayRemoveExact stringArrayToString stringToStringArray strip stripPrefixFromName stroke subdAutoProjection subdCleanTopology subdCollapse subdDuplicateAndConnect subdEditUV subdListComponentConversion subdMapCut subdMapSewMove subdMatchTopology subdMirror subdToBlind subdToPoly subdTransferUVsToCache subdiv subdivCrease subdivDisplaySmoothness substitute substituteAllString substituteGeometry substring surface surfaceSampler surfaceShaderList swatchDisplayPort switchTable symbolButton symbolCheckBox sysFile system tabLayout tan tangentConstraint texLatticeDeformContext texManipContext texMoveContext texMoveUVShellContext texRotateContext texScaleContext texSelectContext texSelectShortestPathCtx texSmudgeUVContext texWinToolCtx text textCurves textField textFieldButtonGrp textFieldGrp textManip textScrollList textToShelf textureDisplacePlane textureHairColor texturePlacementContext textureWindow threadCount threePointArcCtx timeControl timePort timerX toNativePath toggle toggleAxis toggleWindowVisibility tokenize tokenizeList tolerance tolower toolButton toolCollection toolDropped toolHasOptions toolPropertyWindow torus toupper trace track trackCtx transferAttributes transformCompare transformLimits translator trim trunc truncateFluidCache truncateHairCache tumble tumbleCtx turbulence twoPointArcCtx uiRes uiTemplate unassignInputDevice undo undoInfo ungroup uniform unit unloadPlugin untangleUV untitledFileName untrim upAxis updateAE userCtx uvLink uvSnapshot validateShelfName vectorize view2dToolCtx viewCamera viewClipPlane viewFit viewHeadOn viewLookAt viewManip viewPlace viewSet visor volumeAxis vortex waitCursor warning webBrowser webBrowserPrefs whatIs window windowPref wire wireContext workspace wrinkle wrinkleContext writeTake xbmLangPathList xform",illegal:""},{begin:"<=",relevance:0},{begin:"=>",relevance:0},{begin:"/\\\\"},{begin:"\\\\/"}]},{className:"built_in",variants:[{begin:":-\\|-->"},{begin:"=",relevance:0}]},n,t.C_BLOCK_COMMENT_MODE,r,t.NUMBER_MODE,i,o,{begin:/:-/},{begin:/\.$/}]}}function Fx(t){return{name:"MIPS Assembly",case_insensitive:!0,aliases:["mips"],keywords:{$pattern:"\\.?"+t.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .ltorg ",built_in:"$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31 zero at v0 v1 a0 a1 a2 a3 a4 a5 a6 a7 t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 s0 s1 s2 s3 s4 s5 s6 s7 s8 k0 k1 gp sp fp ra $f0 $f1 $f2 $f2 $f4 $f5 $f6 $f7 $f8 $f9 $f10 $f11 $f12 $f13 $f14 $f15 $f16 $f17 $f18 $f19 $f20 $f21 $f22 $f23 $f24 $f25 $f26 $f27 $f28 $f29 $f30 $f31 Context Random EntryLo0 EntryLo1 Context PageMask Wired EntryHi HWREna BadVAddr Count Compare SR IntCtl SRSCtl SRSMap Cause EPC PRId EBase Config Config1 Config2 Config3 LLAddr Debug DEPC DESAVE CacheErr ECC ErrorEPC TagLo DataLo TagHi DataHi WatchLo WatchHi PerfCtl PerfCnt "},contains:[{className:"keyword",begin:"\\b(addi?u?|andi?|b(al)?|beql?|bgez(al)?l?|bgtzl?|blezl?|bltz(al)?l?|bnel?|cl[oz]|divu?|ext|ins|j(al)?|jalr(\\.hb)?|jr(\\.hb)?|lbu?|lhu?|ll|lui|lw[lr]?|maddu?|mfhi|mflo|movn|movz|move|msubu?|mthi|mtlo|mul|multu?|nop|nor|ori?|rotrv?|sb|sc|se[bh]|sh|sllv?|slti?u?|srav?|srlv?|subu?|sw[lr]?|xori?|wsbh|abs\\.[sd]|add\\.[sd]|alnv.ps|bc1[ft]l?|c\\.(s?f|un|u?eq|[ou]lt|[ou]le|ngle?|seq|l[et]|ng[et])\\.[sd]|(ceil|floor|round|trunc)\\.[lw]\\.[sd]|cfc1|cvt\\.d\\.[lsw]|cvt\\.l\\.[dsw]|cvt\\.ps\\.s|cvt\\.s\\.[dlw]|cvt\\.s\\.p[lu]|cvt\\.w\\.[dls]|div\\.[ds]|ldx?c1|luxc1|lwx?c1|madd\\.[sd]|mfc1|mov[fntz]?\\.[ds]|msub\\.[sd]|mth?c1|mul\\.[ds]|neg\\.[ds]|nmadd\\.[ds]|nmsub\\.[ds]|p[lu][lu]\\.ps|recip\\.fmt|r?sqrt\\.[ds]|sdx?c1|sub\\.[ds]|suxc1|swx?c1|break|cache|d?eret|[de]i|ehb|mfc0|mtc0|pause|prefx?|rdhwr|rdpgpr|sdbbp|ssnop|synci?|syscall|teqi?|tgei?u?|tlb(p|r|w[ir])|tlti?u?|tnei?|wait|wrpgpr)",end:"\\s"},t.COMMENT("[;#](?!\\s*$)","$"),t.C_BLOCK_COMMENT_MODE,t.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"0x[0-9a-f]+"},{begin:"\\b-?\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^\\s*[0-9]+:"},{begin:"[0-9]+[bf]"}],relevance:0}],illegal:/\//}}function Bx(t){return{name:"Mizar",keywords:"environ vocabularies notations constructors definitions registrations theorems schemes requirements begin end definition registration cluster existence pred func defpred deffunc theorem proof let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from be being by means equals implies iff redefine define now not or attr is mode suppose per cases set thesis contradiction scheme reserve struct correctness compatibility coherence symmetry assymetry reflexivity irreflexivity connectedness uniqueness commutativity idempotence involutiveness projectivity",contains:[t.COMMENT("::","$")]}}function Ux(t){return{name:"Mojolicious",subLanguage:"xml",contains:[{className:"meta",begin:"^__(END|DATA)__$"},{begin:"^\\s*%{1,2}={0,2}",end:"$",subLanguage:"perl"},{begin:"<%{1,2}={0,2}",end:"={0,1}%>",subLanguage:"perl",excludeBegin:!0,excludeEnd:!0}]}}function Hx(t){const e={className:"number",relevance:0,variants:[{begin:"[$][a-fA-F0-9]+"},t.NUMBER_MODE]},n={variants:[{match:[/(function|method)/,/\s+/,t.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.function"}},r={variants:[{match:[/(class|interface|extends|implements)/,/\s+/,t.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.class"}};return{name:"Monkey",case_insensitive:!0,keywords:{keyword:["public","private","property","continue","exit","extern","new","try","catch","eachin","not","abstract","final","select","case","default","const","local","global","field","end","if","then","else","elseif","endif","while","wend","repeat","until","forever","for","to","step","next","return","module","inline","throw","import","and","or","shl","shr","mod"],built_in:["DebugLog","DebugStop","Error","Print","ACos","ACosr","ASin","ASinr","ATan","ATan2","ATan2r","ATanr","Abs","Abs","Ceil","Clamp","Clamp","Cos","Cosr","Exp","Floor","Log","Max","Max","Min","Min","Pow","Sgn","Sgn","Sin","Sinr","Sqrt","Tan","Tanr","Seed","PI","HALFPI","TWOPI"],literal:["true","false","null"]},illegal:/\/\*/,contains:[t.COMMENT("#rem","#end"),t.COMMENT("'","$",{relevance:0}),n,r,{className:"variable.language",begin:/\b(self|super)\b/},{className:"meta",begin:/\s*#/,end:"$",keywords:{keyword:"if else elseif endif end then"}},{match:[/^\s*/,/strict\b/],scope:{2:"meta"}},{beginKeywords:"alias",end:"=",contains:[t.UNDERSCORE_TITLE_MODE]},t.QUOTE_STRING_MODE,e]}}function Gx(t){const e={keyword:"if then not for in while do return else elseif break continue switch and or unless when class extends super local import export from using",literal:"true false nil",built_in:"_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug io math os package string table"},n="[A-Za-z$_][0-9A-Za-z$_]*",r={className:"subst",begin:/#\{/,end:/\}/,keywords:e},i=[t.inherit(t.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'/,end:/'/,contains:[t.BACKSLASH_ESCAPE]},{begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,r]}]},{className:"built_in",begin:"@__"+t.IDENT_RE},{begin:"@"+t.IDENT_RE},{begin:t.IDENT_RE+"\\\\"+t.IDENT_RE}];r.contains=i;const o=t.inherit(t.TITLE_MODE,{begin:n}),a="(\\(.*\\)\\s*)?\\B[-=]>",s={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:e,contains:["self"].concat(i)}]};return{name:"MoonScript",aliases:["moon"],keywords:e,illegal:/\/\*/,contains:i.concat([t.COMMENT("--","$"),{className:"function",begin:"^\\s*"+n+"\\s*=\\s*"+a,end:"[-=]>",returnBegin:!0,contains:[o,s]},{begin:/[\(,:=]\s*/,relevance:0,contains:[{className:"function",begin:a,end:"[-=]>",returnBegin:!0,contains:[s]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[o]},o]},{className:"name",begin:n+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}function Vx(t){return{name:"N1QL",case_insensitive:!0,contains:[{beginKeywords:"build create index delete drop explain infer|10 insert merge prepare select update upsert|10",end:/;/,keywords:{keyword:["all","alter","analyze","and","any","array","as","asc","begin","between","binary","boolean","break","bucket","build","by","call","case","cast","cluster","collate","collection","commit","connect","continue","correlate","cover","create","database","dataset","datastore","declare","decrement","delete","derived","desc","describe","distinct","do","drop","each","element","else","end","every","except","exclude","execute","exists","explain","fetch","first","flatten","for","force","from","function","grant","group","gsi","having","if","ignore","ilike","in","include","increment","index","infer","inline","inner","insert","intersect","into","is","join","key","keys","keyspace","known","last","left","let","letting","like","limit","lsm","map","mapping","matched","materialized","merge","minus","namespace","nest","not","number","object","offset","on","option","or","order","outer","over","parse","partition","password","path","pool","prepare","primary","private","privilege","procedure","public","raw","realm","reduce","rename","return","returning","revoke","right","role","rollback","satisfies","schema","select","self","semi","set","show","some","start","statistics","string","system","then","to","transaction","trigger","truncate","under","union","unique","unknown","unnest","unset","update","upsert","use","user","using","validate","value","valued","values","via","view","when","where","while","with","within","work","xor"],literal:["true","false","null","missing|5"],built_in:["array_agg","array_append","array_concat","array_contains","array_count","array_distinct","array_ifnull","array_length","array_max","array_min","array_position","array_prepend","array_put","array_range","array_remove","array_repeat","array_replace","array_reverse","array_sort","array_sum","avg","count","max","min","sum","greatest","least","ifmissing","ifmissingornull","ifnull","missingif","nullif","ifinf","ifnan","ifnanorinf","naninf","neginfif","posinfif","clock_millis","clock_str","date_add_millis","date_add_str","date_diff_millis","date_diff_str","date_part_millis","date_part_str","date_trunc_millis","date_trunc_str","duration_to_str","millis","str_to_millis","millis_to_str","millis_to_utc","millis_to_zone_name","now_millis","now_str","str_to_duration","str_to_utc","str_to_zone_name","decode_json","encode_json","encoded_size","poly_length","base64","base64_encode","base64_decode","meta","uuid","abs","acos","asin","atan","atan2","ceil","cos","degrees","e","exp","ln","log","floor","pi","power","radians","random","round","sign","sin","sqrt","tan","trunc","object_length","object_names","object_pairs","object_inner_pairs","object_values","object_inner_values","object_add","object_put","object_remove","object_unwrap","regexp_contains","regexp_like","regexp_position","regexp_replace","contains","initcap","length","lower","ltrim","position","repeat","replace","rtrim","split","substr","title","trim","upper","isarray","isatom","isboolean","isnumber","isobject","isstring","type","toarray","toatom","toboolean","tonumber","toobject","tostring"]},contains:[{className:"string",begin:"'",end:"'",contains:[t.BACKSLASH_ESCAPE]},{className:"string",begin:'"',end:'"',contains:[t.BACKSLASH_ESCAPE]},{className:"symbol",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE]},t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE]},t.C_BLOCK_COMMENT_MODE]}}function Yx(t){const e={match:[/^\s*(?=\S)/,/[^:]+/,/:\s*/,/$/],className:{2:"attribute",3:"punctuation"}},n={match:[/^\s*(?=\S)/,/[^:]*[^: ]/,/[ ]*:/,/[ ]/,/.*$/],className:{2:"attribute",3:"punctuation",5:"string"}},r={match:[/^\s*/,/>/,/[ ]/,/.*$/],className:{2:"punctuation",4:"string"}},i={variants:[{match:[/^\s*/,/-/,/[ ]/,/.*$/]},{match:[/^\s*/,/-$/]}],className:{2:"bullet",4:"string"}};return{name:"Nested Text",aliases:["nt"],contains:[t.inherit(t.HASH_COMMENT_MODE,{begin:/^\s*(?=#)/,excludeBegin:!0}),i,r,e,n]}}function zx(t){const e=t.regex,n={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{\w+\}/},{begin:e.concat(/[$@]/,t.UNDERSCORE_IDENT_RE)}]},i={endsWithParent:!0,keywords:{$pattern:/[a-z_]{2,}|\/dev\/poll/,literal:["on","off","yes","no","true","false","none","blocked","debug","info","notice","warn","error","crit","select","break","last","permanent","redirect","kqueue","rtsig","epoll","poll","/dev/poll"]},relevance:0,illegal:"=>",contains:[t.HASH_COMMENT_MODE,{className:"string",contains:[t.BACKSLASH_ESCAPE,n],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[n]},{className:"regexp",contains:[t.BACKSLASH_ESCAPE,n],variants:[{begin:"\\s\\^",end:"\\s|\\{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|\\{|;",returnEnd:!0},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]?\\b",relevance:0},n]};return{name:"Nginx config",aliases:["nginxconf"],contains:[t.HASH_COMMENT_MODE,{beginKeywords:"upstream location",end:/;|\{/,contains:i.contains,keywords:{section:"upstream location"}},{className:"section",begin:e.concat(t.UNDERSCORE_IDENT_RE+e.lookahead(/\s+\{/)),relevance:0},{begin:e.lookahead(t.UNDERSCORE_IDENT_RE+"\\s"),end:";|\\{",contains:[{className:"attribute",begin:t.UNDERSCORE_IDENT_RE,starts:i}],relevance:0}],illegal:"[^\\s\\}\\{]"}}function $x(t){return{name:"Nim",keywords:{keyword:["addr","and","as","asm","bind","block","break","case","cast","const","continue","converter","discard","distinct","div","do","elif","else","end","enum","except","export","finally","for","from","func","generic","guarded","if","import","in","include","interface","is","isnot","iterator","let","macro","method","mixin","mod","nil","not","notin","object","of","or","out","proc","ptr","raise","ref","return","shared","shl","shr","static","template","try","tuple","type","using","var","when","while","with","without","xor","yield"],literal:["true","false"],type:["int","int8","int16","int32","int64","uint","uint8","uint16","uint32","uint64","float","float32","float64","bool","char","string","cstring","pointer","expr","stmt","void","auto","any","range","array","openarray","varargs","seq","set","clong","culong","cchar","cschar","cshort","cint","csize","clonglong","cfloat","cdouble","clongdouble","cuchar","cushort","cuint","culonglong","cstringarray","semistatic"],built_in:["stdin","stdout","stderr","result"]},contains:[{className:"meta",begin:/\{\./,end:/\.\}/,relevance:10},{className:"string",begin:/[a-zA-Z]\w*"/,end:/"/,contains:[{begin:/""/}]},{className:"string",begin:/([a-zA-Z]\w*)?"""/,end:/"""/},t.QUOTE_STRING_MODE,{className:"type",begin:/\b[A-Z]\w+\b/,relevance:0},{className:"number",relevance:0,variants:[{begin:/\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/},{begin:/\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/}]},t.HASH_COMMENT_MODE]}}function qx(t){const e={keyword:["rec","with","let","in","inherit","assert","if","else","then"],literal:["true","false","or","and","null"],built_in:["import","abort","baseNameOf","dirOf","isNull","builtins","map","removeAttrs","throw","toString","derivation"]},n={className:"subst",begin:/\$\{/,end:/\}/,keywords:e},r={className:"char.escape",begin:/''\$/},i={begin:/[a-zA-Z0-9-_]+(\s*=)/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/\S+/,relevance:.2}]},o={className:"string",contains:[r,n],variants:[{begin:"''",end:"''"},{begin:'"',end:'"'}]},a=[t.NUMBER_MODE,t.HASH_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,o,i];return n.contains=a,{name:"Nix",aliases:["nixos"],keywords:e,contains:a}}function Wx(t){return{name:"Node REPL",contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"javascript"}},variants:[{begin:/^>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}function Kx(t){const e=t.regex,n=["ADMINTOOLS","APPDATA","CDBURN_AREA","CMDLINE","COMMONFILES32","COMMONFILES64","COMMONFILES","COOKIES","DESKTOP","DOCUMENTS","EXEDIR","EXEFILE","EXEPATH","FAVORITES","FONTS","HISTORY","HWNDPARENT","INSTDIR","INTERNET_CACHE","LANGUAGE","LOCALAPPDATA","MUSIC","NETHOOD","OUTDIR","PICTURES","PLUGINSDIR","PRINTHOOD","PROFILE","PROGRAMFILES32","PROGRAMFILES64","PROGRAMFILES","QUICKLAUNCH","RECENT","RESOURCES_LOCALIZED","RESOURCES","SENDTO","SMPROGRAMS","SMSTARTUP","STARTMENU","SYSDIR","TEMP","TEMPLATES","VIDEOS","WINDIR"],r=["ARCHIVE","FILE_ATTRIBUTE_ARCHIVE","FILE_ATTRIBUTE_NORMAL","FILE_ATTRIBUTE_OFFLINE","FILE_ATTRIBUTE_READONLY","FILE_ATTRIBUTE_SYSTEM","FILE_ATTRIBUTE_TEMPORARY","HKCR","HKCU","HKDD","HKEY_CLASSES_ROOT","HKEY_CURRENT_CONFIG","HKEY_CURRENT_USER","HKEY_DYN_DATA","HKEY_LOCAL_MACHINE","HKEY_PERFORMANCE_DATA","HKEY_USERS","HKLM","HKPD","HKU","IDABORT","IDCANCEL","IDIGNORE","IDNO","IDOK","IDRETRY","IDYES","MB_ABORTRETRYIGNORE","MB_DEFBUTTON1","MB_DEFBUTTON2","MB_DEFBUTTON3","MB_DEFBUTTON4","MB_ICONEXCLAMATION","MB_ICONINFORMATION","MB_ICONQUESTION","MB_ICONSTOP","MB_OK","MB_OKCANCEL","MB_RETRYCANCEL","MB_RIGHT","MB_RTLREADING","MB_SETFOREGROUND","MB_TOPMOST","MB_USERICON","MB_YESNO","NORMAL","OFFLINE","READONLY","SHCTX","SHELL_CONTEXT","SYSTEM|TEMPORARY"],i=["addincludedir","addplugindir","appendfile","assert","cd","define","delfile","echo","else","endif","error","execute","finalize","getdllversion","gettlbversion","if","ifdef","ifmacrodef","ifmacrondef","ifndef","include","insertmacro","macro","macroend","makensis","packhdr","searchparse","searchreplace","system","tempfile","undef","uninstfinalize","verbose","warning"],o={className:"variable.constant",begin:e.concat(/\$/,e.either(...n))},a={className:"variable",begin:/\$+\{[\!\w.:-]+\}/},s={className:"variable",begin:/\$+\w[\w\.]*/,illegal:/\(\)\{\}/},l={className:"variable",begin:/\$+\([\w^.:!-]+\)/},c={className:"params",begin:e.either(...r)},u={className:"keyword",begin:e.concat(/!/,e.either(...i))},d={className:"char.escape",begin:/\$(\\[nrt]|\$)/},p={className:"title.function",begin:/\w+::\w+/},_={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"},{begin:"`",end:"`"}],illegal:/\n/,contains:[d,o,a,s,l]},m=["Abort","AddBrandingImage","AddSize","AllowRootDirInstall","AllowSkipFiles","AutoCloseWindow","BGFont","BGGradient","BrandingText","BringToFront","Call","CallInstDLL","Caption","ChangeUI","CheckBitmap","ClearErrors","CompletedText","ComponentText","CopyFiles","CRCCheck","CreateDirectory","CreateFont","CreateShortCut","Delete","DeleteINISec","DeleteINIStr","DeleteRegKey","DeleteRegValue","DetailPrint","DetailsButtonText","DirText","DirVar","DirVerify","EnableWindow","EnumRegKey","EnumRegValue","Exch","Exec","ExecShell","ExecShellWait","ExecWait","ExpandEnvStrings","File","FileBufSize","FileClose","FileErrorText","FileOpen","FileRead","FileReadByte","FileReadUTF16LE","FileReadWord","FileWriteUTF16LE","FileSeek","FileWrite","FileWriteByte","FileWriteWord","FindClose","FindFirst","FindNext","FindWindow","FlushINI","GetCurInstType","GetCurrentAddress","GetDlgItem","GetDLLVersion","GetDLLVersionLocal","GetErrorLevel","GetFileTime","GetFileTimeLocal","GetFullPathName","GetFunctionAddress","GetInstDirError","GetKnownFolderPath","GetLabelAddress","GetTempFileName","GetWinVer","Goto","HideWindow","Icon","IfAbort","IfErrors","IfFileExists","IfRebootFlag","IfRtlLanguage","IfShellVarContextAll","IfSilent","InitPluginsDir","InstallButtonText","InstallColors","InstallDir","InstallDirRegKey","InstProgressFlags","InstType","InstTypeGetText","InstTypeSetText","Int64Cmp","Int64CmpU","Int64Fmt","IntCmp","IntCmpU","IntFmt","IntOp","IntPtrCmp","IntPtrCmpU","IntPtrOp","IsWindow","LangString","LicenseBkColor","LicenseData","LicenseForceSelection","LicenseLangString","LicenseText","LoadAndSetImage","LoadLanguageFile","LockWindow","LogSet","LogText","ManifestDPIAware","ManifestLongPathAware","ManifestMaxVersionTested","ManifestSupportedOS","MessageBox","MiscButtonText","Name|0","Nop","OutFile","Page","PageCallbacks","PEAddResource","PEDllCharacteristics","PERemoveResource","PESubsysVer","Pop","Push","Quit","ReadEnvStr","ReadINIStr","ReadRegDWORD","ReadRegStr","Reboot","RegDLL","Rename","RequestExecutionLevel","ReserveFile","Return","RMDir","SearchPath","SectionGetFlags","SectionGetInstTypes","SectionGetSize","SectionGetText","SectionIn","SectionSetFlags","SectionSetInstTypes","SectionSetSize","SectionSetText","SendMessage","SetAutoClose","SetBrandingImage","SetCompress","SetCompressor","SetCompressorDictSize","SetCtlColors","SetCurInstType","SetDatablockOptimize","SetDateSave","SetDetailsPrint","SetDetailsView","SetErrorLevel","SetErrors","SetFileAttributes","SetFont","SetOutPath","SetOverwrite","SetRebootFlag","SetRegView","SetShellVarContext","SetSilent","ShowInstDetails","ShowUninstDetails","ShowWindow","SilentInstall","SilentUnInstall","Sleep","SpaceTexts","StrCmp","StrCmpS","StrCpy","StrLen","SubCaption","Unicode","UninstallButtonText","UninstallCaption","UninstallIcon","UninstallSubCaption","UninstallText","UninstPage","UnRegDLL","Var","VIAddVersionKey","VIFileVersion","VIProductVersion","WindowIcon","WriteINIStr","WriteRegBin","WriteRegDWORD","WriteRegExpandStr","WriteRegMultiStr","WriteRegNone","WriteRegStr","WriteUninstaller","XPStyle"],f=["admin","all","auto","both","bottom","bzip2","colored","components","current","custom","directory","false","force","hide","highest","ifdiff","ifnewer","instfiles","lastused","leave","left","license","listonly","lzma","nevershow","none","normal","notset","off","on","open","print","right","show","silent","silentlog","smooth","textonly","top","true","try","un.components","un.custom","un.directory","un.instfiles","un.license","uninstConfirm","user","Win10","Win7","Win8","WinVista","zlib"],g={match:[/Function/,/\s+/,e.concat(/(\.)?/,t.IDENT_RE)],scope:{1:"keyword",3:"title.function"}},S={match:[/Var/,/\s+/,/(?:\/GLOBAL\s+)?/,/[A-Za-z][\w.]*/],scope:{1:"keyword",3:"params",4:"variable"}};return{name:"NSIS",case_insensitive:!0,keywords:{keyword:m,literal:f},contains:[t.HASH_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.COMMENT(";","$",{relevance:0}),S,g,{beginKeywords:"Function PageEx Section SectionGroup FunctionEnd SectionEnd"},_,u,a,s,l,c,p,t.NUMBER_MODE]}}function Qx(t){return{name:"OCaml",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:"\\[(\\|\\|)?\\]|\\(\\)",relevance:0},t.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*",relevance:0},t.inherit(t.APOS_STRING_MODE,{className:"string",relevance:0}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/->/}]}}function Zx(t){const e={className:"keyword",begin:"\\$(f[asn]|t|vp[rtd]|children)"},n={className:"literal",begin:"false|true|PI|undef"},r={className:"number",begin:"\\b\\d+(\\.\\d+)?(e-?\\d+)?",relevance:0},i=t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),o={className:"meta",keywords:{keyword:"include use"},begin:"include|use <",end:">"},a={className:"params",begin:"\\(",end:"\\)",contains:["self",r,i,e,n]},s={begin:"[*!#%]",relevance:0},l={className:"function",beginKeywords:"module function",end:/=|\{/,contains:[a,t.UNDERSCORE_TITLE_MODE]};return{name:"OpenSCAD",aliases:["scad"],keywords:{keyword:"function module include use for intersection_for if else \\%",literal:"false true PI undef",built_in:"circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign"},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,r,o,i,e,s,l]}}function Xx(t){const e={$pattern:/\.?\w+/,keyword:"abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained"},n=t.COMMENT(/\{/,/\}/,{relevance:0}),r=t.COMMENT("\\(\\*","\\*\\)",{relevance:10}),i={className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},o={className:"string",begin:"(#\\d+)+"},a={beginKeywords:"function constructor destructor procedure method",end:"[:;]",keywords:"function constructor|10 destructor|10 procedure|10 method|10",contains:[t.inherit(t.TITLE_MODE,{scope:"title.function"}),{className:"params",begin:"\\(",end:"\\)",keywords:e,contains:[i,o]},n,r]},s={scope:"punctuation",match:/;/,relevance:0};return{name:"Oxygene",case_insensitive:!0,keywords:e,illegal:'("|\\$[G-Zg-z]|\\/\\*||->)',contains:[n,r,t.C_LINE_COMMENT_MODE,i,o,t.NUMBER_MODE,a,s]}}function jx(t){const e=t.COMMENT(/\{/,/\}/,{contains:["self"]});return{name:"Parser3",subLanguage:"xml",relevance:0,contains:[t.COMMENT("^#","$"),t.COMMENT(/\^rem\{/,/\}/,{relevance:10,contains:[e]}),{className:"meta",begin:"^@(?:BASE|USE|CLASS|OPTIONS)$",relevance:10},{className:"title",begin:"@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"},{className:"variable",begin:/\$\{?[\w\-.:]+\}?/},{className:"keyword",begin:/\^[\w\-.:]+/},{className:"number",begin:"\\^#[0-9a-fA-F]+"},t.C_NUMBER_MODE]}}function Jx(t){const e={className:"variable",begin:/\$[\w\d#@][\w\d_]*/,relevance:0},n={className:"variable",begin:/<(?!\/)/,end:/>/};return{name:"Packet Filter config",aliases:["pf.conf"],keywords:{$pattern:/[a-z0-9_<>-]+/,built_in:"block match pass load anchor|5 antispoof|10 set table",keyword:"in out log quick on rdomain inet inet6 proto from port os to route allow-opts divert-packet divert-reply divert-to flags group icmp-type icmp6-type label once probability recieved-on rtable prio queue tos tag tagged user keep fragment for os drop af-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robin source-hash static-port dup-to reply-to route-to parent bandwidth default min max qlimit block-policy debug fingerprints hostid limit loginterface optimization reassemble ruleset-optimization basic none profile skip state-defaults state-policy timeout const counters persist no modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppy source-track global rule max-src-nodes max-src-states max-src-conn max-src-conn-rate overload flush scrub|5 max-mss min-ttl no-df|10 random-id",literal:"all any no-route self urpf-failed egress|5 unknown"},contains:[t.HASH_COMMENT_MODE,t.NUMBER_MODE,t.QUOTE_STRING_MODE,e,n]}}function eD(t){const e=t.COMMENT("--","$"),n="[a-zA-Z_][a-zA-Z_0-9$]*",r="\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$",i="<<\\s*"+n+"\\s*>>",o="ABORT ALTER ANALYZE BEGIN CALL CHECKPOINT|10 CLOSE CLUSTER COMMENT COMMIT COPY CREATE DEALLOCATE DECLARE DELETE DISCARD DO DROP END EXECUTE EXPLAIN FETCH GRANT IMPORT INSERT LISTEN LOAD LOCK MOVE NOTIFY PREPARE REASSIGN|10 REFRESH REINDEX RELEASE RESET REVOKE ROLLBACK SAVEPOINT SECURITY SELECT SET SHOW START TRUNCATE UNLISTEN|10 UPDATE VACUUM|10 VALUES AGGREGATE COLLATION CONVERSION|10 DATABASE DEFAULT PRIVILEGES DOMAIN TRIGGER EXTENSION FOREIGN WRAPPER|10 TABLE FUNCTION GROUP LANGUAGE LARGE OBJECT MATERIALIZED VIEW OPERATOR CLASS FAMILY POLICY PUBLICATION|10 ROLE RULE SCHEMA SEQUENCE SERVER STATISTICS SUBSCRIPTION SYSTEM TABLESPACE CONFIGURATION DICTIONARY PARSER TEMPLATE TYPE USER MAPPING PREPARED ACCESS METHOD CAST AS TRANSFORM TRANSACTION OWNED TO INTO SESSION AUTHORIZATION INDEX PROCEDURE ASSERTION ALL ANALYSE AND ANY ARRAY ASC ASYMMETRIC|10 BOTH CASE CHECK COLLATE COLUMN CONCURRENTLY|10 CONSTRAINT CROSS DEFERRABLE RANGE DESC DISTINCT ELSE EXCEPT FOR FREEZE|10 FROM FULL HAVING ILIKE IN INITIALLY INNER INTERSECT IS ISNULL JOIN LATERAL LEADING LIKE LIMIT NATURAL NOT NOTNULL NULL OFFSET ON ONLY OR ORDER OUTER OVERLAPS PLACING PRIMARY REFERENCES RETURNING SIMILAR SOME SYMMETRIC TABLESAMPLE THEN TRAILING UNION UNIQUE USING VARIADIC|10 VERBOSE WHEN WHERE WINDOW WITH BY RETURNS INOUT OUT SETOF|10 IF STRICT CURRENT CONTINUE OWNER LOCATION OVER PARTITION WITHIN BETWEEN ESCAPE EXTERNAL INVOKER DEFINER WORK RENAME VERSION CONNECTION CONNECT TABLES TEMP TEMPORARY FUNCTIONS SEQUENCES TYPES SCHEMAS OPTION CASCADE RESTRICT ADD ADMIN EXISTS VALID VALIDATE ENABLE DISABLE REPLICA|10 ALWAYS PASSING COLUMNS PATH REF VALUE OVERRIDING IMMUTABLE STABLE VOLATILE BEFORE AFTER EACH ROW PROCEDURAL ROUTINE NO HANDLER VALIDATOR OPTIONS STORAGE OIDS|10 WITHOUT INHERIT DEPENDS CALLED INPUT LEAKPROOF|10 COST ROWS NOWAIT SEARCH UNTIL ENCRYPTED|10 PASSWORD CONFLICT|10 INSTEAD INHERITS CHARACTERISTICS WRITE CURSOR ALSO STATEMENT SHARE EXCLUSIVE INLINE ISOLATION REPEATABLE READ COMMITTED SERIALIZABLE UNCOMMITTED LOCAL GLOBAL SQL PROCEDURES RECURSIVE SNAPSHOT ROLLUP CUBE TRUSTED|10 INCLUDE FOLLOWING PRECEDING UNBOUNDED RANGE GROUPS UNENCRYPTED|10 SYSID FORMAT DELIMITER HEADER QUOTE ENCODING FILTER OFF FORCE_QUOTE FORCE_NOT_NULL FORCE_NULL COSTS BUFFERS TIMING SUMMARY DISABLE_PAGE_SKIPPING RESTART CYCLE GENERATED IDENTITY DEFERRED IMMEDIATE LEVEL LOGGED UNLOGGED OF NOTHING NONE EXCLUDE ATTRIBUTE USAGE ROUTINES TRUE FALSE NAN INFINITY ",a="SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS ",s="ALIAS BEGIN CONSTANT DECLARE END EXCEPTION RETURN PERFORM|10 RAISE GET DIAGNOSTICS STACKED|10 FOREACH LOOP ELSIF EXIT WHILE REVERSE SLICE DEBUG LOG INFO NOTICE WARNING ASSERT OPEN ",l="BIGINT INT8 BIGSERIAL SERIAL8 BIT VARYING VARBIT BOOLEAN BOOL BOX BYTEA CHARACTER CHAR VARCHAR CIDR CIRCLE DATE DOUBLE PRECISION FLOAT8 FLOAT INET INTEGER INT INT4 INTERVAL JSON JSONB LINE LSEG|10 MACADDR MACADDR8 MONEY NUMERIC DEC DECIMAL PATH POINT POLYGON REAL FLOAT4 SMALLINT INT2 SMALLSERIAL|10 SERIAL2|10 SERIAL|10 SERIAL4|10 TEXT TIME ZONE TIMETZ|10 TIMESTAMP TIMESTAMPTZ|10 TSQUERY|10 TSVECTOR|10 TXID_SNAPSHOT|10 UUID XML NATIONAL NCHAR INT4RANGE|10 INT8RANGE|10 NUMRANGE|10 TSRANGE|10 TSTZRANGE|10 DATERANGE|10 ANYELEMENT ANYARRAY ANYNONARRAY ANYENUM ANYRANGE CSTRING INTERNAL RECORD PG_DDL_COMMAND VOID UNKNOWN OPAQUE REFCURSOR NAME OID REGPROC|10 REGPROCEDURE|10 REGOPER|10 REGOPERATOR|10 REGCLASS|10 REGTYPE|10 REGROLE|10 REGNAMESPACE|10 REGCONFIG|10 REGDICTIONARY|10 ",c=l.trim().split(" ").map(function(f){return f.split("|")[0]}).join("|"),u="CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC ",d="FOUND NEW OLD TG_NAME|10 TG_WHEN|10 TG_LEVEL|10 TG_OP|10 TG_RELID|10 TG_RELNAME|10 TG_TABLE_NAME|10 TG_TABLE_SCHEMA|10 TG_NARGS|10 TG_ARGV|10 TG_EVENT|10 TG_TAG|10 ROW_COUNT RESULT_OID|10 PG_CONTEXT|10 RETURNED_SQLSTATE COLUMN_NAME CONSTRAINT_NAME PG_DATATYPE_NAME|10 MESSAGE_TEXT TABLE_NAME SCHEMA_NAME PG_EXCEPTION_DETAIL|10 PG_EXCEPTION_HINT|10 PG_EXCEPTION_CONTEXT|10 ",p="SQLSTATE SQLERRM|10 SUCCESSFUL_COMPLETION WARNING DYNAMIC_RESULT_SETS_RETURNED IMPLICIT_ZERO_BIT_PADDING NULL_VALUE_ELIMINATED_IN_SET_FUNCTION PRIVILEGE_NOT_GRANTED PRIVILEGE_NOT_REVOKED STRING_DATA_RIGHT_TRUNCATION DEPRECATED_FEATURE NO_DATA NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED SQL_STATEMENT_NOT_YET_COMPLETE CONNECTION_EXCEPTION CONNECTION_DOES_NOT_EXIST CONNECTION_FAILURE SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION TRANSACTION_RESOLUTION_UNKNOWN PROTOCOL_VIOLATION TRIGGERED_ACTION_EXCEPTION FEATURE_NOT_SUPPORTED INVALID_TRANSACTION_INITIATION LOCATOR_EXCEPTION INVALID_LOCATOR_SPECIFICATION INVALID_GRANTOR INVALID_GRANT_OPERATION INVALID_ROLE_SPECIFICATION DIAGNOSTICS_EXCEPTION STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER CASE_NOT_FOUND CARDINALITY_VIOLATION DATA_EXCEPTION ARRAY_SUBSCRIPT_ERROR CHARACTER_NOT_IN_REPERTOIRE DATETIME_FIELD_OVERFLOW DIVISION_BY_ZERO ERROR_IN_ASSIGNMENT ESCAPE_CHARACTER_CONFLICT INDICATOR_OVERFLOW INTERVAL_FIELD_OVERFLOW INVALID_ARGUMENT_FOR_LOGARITHM INVALID_ARGUMENT_FOR_NTILE_FUNCTION INVALID_ARGUMENT_FOR_NTH_VALUE_FUNCTION INVALID_ARGUMENT_FOR_POWER_FUNCTION INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION INVALID_CHARACTER_VALUE_FOR_CAST INVALID_DATETIME_FORMAT INVALID_ESCAPE_CHARACTER INVALID_ESCAPE_OCTET INVALID_ESCAPE_SEQUENCE NONSTANDARD_USE_OF_ESCAPE_CHARACTER INVALID_INDICATOR_PARAMETER_VALUE INVALID_PARAMETER_VALUE INVALID_REGULAR_EXPRESSION INVALID_ROW_COUNT_IN_LIMIT_CLAUSE INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE INVALID_TABLESAMPLE_ARGUMENT INVALID_TABLESAMPLE_REPEAT INVALID_TIME_ZONE_DISPLACEMENT_VALUE INVALID_USE_OF_ESCAPE_CHARACTER MOST_SPECIFIC_TYPE_MISMATCH NULL_VALUE_NOT_ALLOWED NULL_VALUE_NO_INDICATOR_PARAMETER NUMERIC_VALUE_OUT_OF_RANGE SEQUENCE_GENERATOR_LIMIT_EXCEEDED STRING_DATA_LENGTH_MISMATCH STRING_DATA_RIGHT_TRUNCATION SUBSTRING_ERROR TRIM_ERROR UNTERMINATED_C_STRING ZERO_LENGTH_CHARACTER_STRING FLOATING_POINT_EXCEPTION INVALID_TEXT_REPRESENTATION INVALID_BINARY_REPRESENTATION BAD_COPY_FILE_FORMAT UNTRANSLATABLE_CHARACTER NOT_AN_XML_DOCUMENT INVALID_XML_DOCUMENT INVALID_XML_CONTENT INVALID_XML_COMMENT INVALID_XML_PROCESSING_INSTRUCTION INTEGRITY_CONSTRAINT_VIOLATION RESTRICT_VIOLATION NOT_NULL_VIOLATION FOREIGN_KEY_VIOLATION UNIQUE_VIOLATION CHECK_VIOLATION EXCLUSION_VIOLATION INVALID_CURSOR_STATE INVALID_TRANSACTION_STATE ACTIVE_SQL_TRANSACTION BRANCH_TRANSACTION_ALREADY_ACTIVE HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION READ_ONLY_SQL_TRANSACTION SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED NO_ACTIVE_SQL_TRANSACTION IN_FAILED_SQL_TRANSACTION IDLE_IN_TRANSACTION_SESSION_TIMEOUT INVALID_SQL_STATEMENT_NAME TRIGGERED_DATA_CHANGE_VIOLATION INVALID_AUTHORIZATION_SPECIFICATION INVALID_PASSWORD DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST DEPENDENT_OBJECTS_STILL_EXIST INVALID_TRANSACTION_TERMINATION SQL_ROUTINE_EXCEPTION FUNCTION_EXECUTED_NO_RETURN_STATEMENT MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED INVALID_CURSOR_NAME EXTERNAL_ROUTINE_EXCEPTION CONTAINING_SQL_NOT_PERMITTED MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED EXTERNAL_ROUTINE_INVOCATION_EXCEPTION INVALID_SQLSTATE_RETURNED NULL_VALUE_NOT_ALLOWED TRIGGER_PROTOCOL_VIOLATED SRF_PROTOCOL_VIOLATED EVENT_TRIGGER_PROTOCOL_VIOLATED SAVEPOINT_EXCEPTION INVALID_SAVEPOINT_SPECIFICATION INVALID_CATALOG_NAME INVALID_SCHEMA_NAME TRANSACTION_ROLLBACK TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION SERIALIZATION_FAILURE STATEMENT_COMPLETION_UNKNOWN DEADLOCK_DETECTED SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION SYNTAX_ERROR INSUFFICIENT_PRIVILEGE CANNOT_COERCE GROUPING_ERROR WINDOWING_ERROR INVALID_RECURSION INVALID_FOREIGN_KEY INVALID_NAME NAME_TOO_LONG RESERVED_NAME DATATYPE_MISMATCH INDETERMINATE_DATATYPE COLLATION_MISMATCH INDETERMINATE_COLLATION WRONG_OBJECT_TYPE GENERATED_ALWAYS UNDEFINED_COLUMN UNDEFINED_FUNCTION UNDEFINED_TABLE UNDEFINED_PARAMETER UNDEFINED_OBJECT DUPLICATE_COLUMN DUPLICATE_CURSOR DUPLICATE_DATABASE DUPLICATE_FUNCTION DUPLICATE_PREPARED_STATEMENT DUPLICATE_SCHEMA DUPLICATE_TABLE DUPLICATE_ALIAS DUPLICATE_OBJECT AMBIGUOUS_COLUMN AMBIGUOUS_FUNCTION AMBIGUOUS_PARAMETER AMBIGUOUS_ALIAS INVALID_COLUMN_REFERENCE INVALID_COLUMN_DEFINITION INVALID_CURSOR_DEFINITION INVALID_DATABASE_DEFINITION INVALID_FUNCTION_DEFINITION INVALID_PREPARED_STATEMENT_DEFINITION INVALID_SCHEMA_DEFINITION INVALID_TABLE_DEFINITION INVALID_OBJECT_DEFINITION WITH_CHECK_OPTION_VIOLATION INSUFFICIENT_RESOURCES DISK_FULL OUT_OF_MEMORY TOO_MANY_CONNECTIONS CONFIGURATION_LIMIT_EXCEEDED PROGRAM_LIMIT_EXCEEDED STATEMENT_TOO_COMPLEX TOO_MANY_COLUMNS TOO_MANY_ARGUMENTS OBJECT_NOT_IN_PREREQUISITE_STATE OBJECT_IN_USE CANT_CHANGE_RUNTIME_PARAM LOCK_NOT_AVAILABLE OPERATOR_INTERVENTION QUERY_CANCELED ADMIN_SHUTDOWN CRASH_SHUTDOWN CANNOT_CONNECT_NOW DATABASE_DROPPED SYSTEM_ERROR IO_ERROR UNDEFINED_FILE DUPLICATE_FILE SNAPSHOT_TOO_OLD CONFIG_FILE_ERROR LOCK_FILE_EXISTS FDW_ERROR FDW_COLUMN_NAME_NOT_FOUND FDW_DYNAMIC_PARAMETER_VALUE_NEEDED FDW_FUNCTION_SEQUENCE_ERROR FDW_INCONSISTENT_DESCRIPTOR_INFORMATION FDW_INVALID_ATTRIBUTE_VALUE FDW_INVALID_COLUMN_NAME FDW_INVALID_COLUMN_NUMBER FDW_INVALID_DATA_TYPE FDW_INVALID_DATA_TYPE_DESCRIPTORS FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER FDW_INVALID_HANDLE FDW_INVALID_OPTION_INDEX FDW_INVALID_OPTION_NAME FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH FDW_INVALID_STRING_FORMAT FDW_INVALID_USE_OF_NULL_POINTER FDW_TOO_MANY_HANDLES FDW_OUT_OF_MEMORY FDW_NO_SCHEMAS FDW_OPTION_NAME_NOT_FOUND FDW_REPLY_HANDLE FDW_SCHEMA_NOT_FOUND FDW_TABLE_NOT_FOUND FDW_UNABLE_TO_CREATE_EXECUTION FDW_UNABLE_TO_CREATE_REPLY FDW_UNABLE_TO_ESTABLISH_CONNECTION PLPGSQL_ERROR RAISE_EXCEPTION NO_DATA_FOUND TOO_MANY_ROWS ASSERT_FAILURE INTERNAL_ERROR DATA_CORRUPTED INDEX_CORRUPTED ",m="ARRAY_AGG AVG BIT_AND BIT_OR BOOL_AND BOOL_OR COUNT EVERY JSON_AGG JSONB_AGG JSON_OBJECT_AGG JSONB_OBJECT_AGG MAX MIN MODE STRING_AGG SUM XMLAGG CORR COVAR_POP COVAR_SAMP REGR_AVGX REGR_AVGY REGR_COUNT REGR_INTERCEPT REGR_R2 REGR_SLOPE REGR_SXX REGR_SXY REGR_SYY STDDEV STDDEV_POP STDDEV_SAMP VARIANCE VAR_POP VAR_SAMP PERCENTILE_CONT PERCENTILE_DISC ROW_NUMBER RANK DENSE_RANK PERCENT_RANK CUME_DIST NTILE LAG LEAD FIRST_VALUE LAST_VALUE NTH_VALUE NUM_NONNULLS NUM_NULLS ABS CBRT CEIL CEILING DEGREES DIV EXP FLOOR LN LOG MOD PI POWER RADIANS ROUND SCALE SIGN SQRT TRUNC WIDTH_BUCKET RANDOM SETSEED ACOS ACOSD ASIN ASIND ATAN ATAND ATAN2 ATAN2D COS COSD COT COTD SIN SIND TAN TAND BIT_LENGTH CHAR_LENGTH CHARACTER_LENGTH LOWER OCTET_LENGTH OVERLAY POSITION SUBSTRING TREAT TRIM UPPER ASCII BTRIM CHR CONCAT CONCAT_WS CONVERT CONVERT_FROM CONVERT_TO DECODE ENCODE INITCAP LEFT LENGTH LPAD LTRIM MD5 PARSE_IDENT PG_CLIENT_ENCODING QUOTE_IDENT|10 QUOTE_LITERAL|10 QUOTE_NULLABLE|10 REGEXP_MATCH REGEXP_MATCHES REGEXP_REPLACE REGEXP_SPLIT_TO_ARRAY REGEXP_SPLIT_TO_TABLE REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPLIT_PART STRPOS SUBSTR TO_ASCII TO_HEX TRANSLATE OCTET_LENGTH GET_BIT GET_BYTE SET_BIT SET_BYTE TO_CHAR TO_DATE TO_NUMBER TO_TIMESTAMP AGE CLOCK_TIMESTAMP|10 DATE_PART DATE_TRUNC ISFINITE JUSTIFY_DAYS JUSTIFY_HOURS JUSTIFY_INTERVAL MAKE_DATE MAKE_INTERVAL|10 MAKE_TIME MAKE_TIMESTAMP|10 MAKE_TIMESTAMPTZ|10 NOW STATEMENT_TIMESTAMP|10 TIMEOFDAY TRANSACTION_TIMESTAMP|10 ENUM_FIRST ENUM_LAST ENUM_RANGE AREA CENTER DIAMETER HEIGHT ISCLOSED ISOPEN NPOINTS PCLOSE POPEN RADIUS WIDTH BOX BOUND_BOX CIRCLE LINE LSEG PATH POLYGON ABBREV BROADCAST HOST HOSTMASK MASKLEN NETMASK NETWORK SET_MASKLEN TEXT INET_SAME_FAMILY INET_MERGE MACADDR8_SET7BIT ARRAY_TO_TSVECTOR GET_CURRENT_TS_CONFIG NUMNODE PLAINTO_TSQUERY PHRASETO_TSQUERY WEBSEARCH_TO_TSQUERY QUERYTREE SETWEIGHT STRIP TO_TSQUERY TO_TSVECTOR JSON_TO_TSVECTOR JSONB_TO_TSVECTOR TS_DELETE TS_FILTER TS_HEADLINE TS_RANK TS_RANK_CD TS_REWRITE TSQUERY_PHRASE TSVECTOR_TO_ARRAY TSVECTOR_UPDATE_TRIGGER TSVECTOR_UPDATE_TRIGGER_COLUMN XMLCOMMENT XMLCONCAT XMLELEMENT XMLFOREST XMLPI XMLROOT XMLEXISTS XML_IS_WELL_FORMED XML_IS_WELL_FORMED_DOCUMENT XML_IS_WELL_FORMED_CONTENT XPATH XPATH_EXISTS XMLTABLE XMLNAMESPACES TABLE_TO_XML TABLE_TO_XMLSCHEMA TABLE_TO_XML_AND_XMLSCHEMA QUERY_TO_XML QUERY_TO_XMLSCHEMA QUERY_TO_XML_AND_XMLSCHEMA CURSOR_TO_XML CURSOR_TO_XMLSCHEMA SCHEMA_TO_XML SCHEMA_TO_XMLSCHEMA SCHEMA_TO_XML_AND_XMLSCHEMA DATABASE_TO_XML DATABASE_TO_XMLSCHEMA DATABASE_TO_XML_AND_XMLSCHEMA XMLATTRIBUTES TO_JSON TO_JSONB ARRAY_TO_JSON ROW_TO_JSON JSON_BUILD_ARRAY JSONB_BUILD_ARRAY JSON_BUILD_OBJECT JSONB_BUILD_OBJECT JSON_OBJECT JSONB_OBJECT JSON_ARRAY_LENGTH JSONB_ARRAY_LENGTH JSON_EACH JSONB_EACH JSON_EACH_TEXT JSONB_EACH_TEXT JSON_EXTRACT_PATH JSONB_EXTRACT_PATH JSON_OBJECT_KEYS JSONB_OBJECT_KEYS JSON_POPULATE_RECORD JSONB_POPULATE_RECORD JSON_POPULATE_RECORDSET JSONB_POPULATE_RECORDSET JSON_ARRAY_ELEMENTS JSONB_ARRAY_ELEMENTS JSON_ARRAY_ELEMENTS_TEXT JSONB_ARRAY_ELEMENTS_TEXT JSON_TYPEOF JSONB_TYPEOF JSON_TO_RECORD JSONB_TO_RECORD JSON_TO_RECORDSET JSONB_TO_RECORDSET JSON_STRIP_NULLS JSONB_STRIP_NULLS JSONB_SET JSONB_INSERT JSONB_PRETTY CURRVAL LASTVAL NEXTVAL SETVAL COALESCE NULLIF GREATEST LEAST ARRAY_APPEND ARRAY_CAT ARRAY_NDIMS ARRAY_DIMS ARRAY_FILL ARRAY_LENGTH ARRAY_LOWER ARRAY_POSITION ARRAY_POSITIONS ARRAY_PREPEND ARRAY_REMOVE ARRAY_REPLACE ARRAY_TO_STRING ARRAY_UPPER CARDINALITY STRING_TO_ARRAY UNNEST ISEMPTY LOWER_INC UPPER_INC LOWER_INF UPPER_INF RANGE_MERGE GENERATE_SERIES GENERATE_SUBSCRIPTS CURRENT_DATABASE CURRENT_QUERY CURRENT_SCHEMA|10 CURRENT_SCHEMAS|10 INET_CLIENT_ADDR INET_CLIENT_PORT INET_SERVER_ADDR INET_SERVER_PORT ROW_SECURITY_ACTIVE FORMAT_TYPE TO_REGCLASS TO_REGPROC TO_REGPROCEDURE TO_REGOPER TO_REGOPERATOR TO_REGTYPE TO_REGNAMESPACE TO_REGROLE COL_DESCRIPTION OBJ_DESCRIPTION SHOBJ_DESCRIPTION TXID_CURRENT TXID_CURRENT_IF_ASSIGNED TXID_CURRENT_SNAPSHOT TXID_SNAPSHOT_XIP TXID_SNAPSHOT_XMAX TXID_SNAPSHOT_XMIN TXID_VISIBLE_IN_SNAPSHOT TXID_STATUS CURRENT_SETTING SET_CONFIG BRIN_SUMMARIZE_NEW_VALUES BRIN_SUMMARIZE_RANGE BRIN_DESUMMARIZE_RANGE GIN_CLEAN_PENDING_LIST SUPPRESS_REDUNDANT_UPDATES_TRIGGER LO_FROM_BYTEA LO_PUT LO_GET LO_CREAT LO_CREATE LO_UNLINK LO_IMPORT LO_EXPORT LOREAD LOWRITE GROUPING CAST ".trim().split(" ").map(function(f){return f.split("|")[0]}).join("|");return{name:"PostgreSQL",aliases:["postgres","postgresql"],supersetOf:"sql",case_insensitive:!0,keywords:{keyword:o+s+a,built_in:u+d+p},illegal:/:==|\W\s*\(\*|(^|\s)\$[a-z]|\{\{|[a-z]:\s*$|\.\.\.|TO:|DO:/,contains:[{className:"keyword",variants:[{begin:/\bTEXT\s*SEARCH\b/},{begin:/\b(PRIMARY|FOREIGN|FOR(\s+NO)?)\s+KEY\b/},{begin:/\bPARALLEL\s+(UNSAFE|RESTRICTED|SAFE)\b/},{begin:/\bSTORAGE\s+(PLAIN|EXTERNAL|EXTENDED|MAIN)\b/},{begin:/\bMATCH\s+(FULL|PARTIAL|SIMPLE)\b/},{begin:/\bNULLS\s+(FIRST|LAST)\b/},{begin:/\bEVENT\s+TRIGGER\b/},{begin:/\b(MAPPING|OR)\s+REPLACE\b/},{begin:/\b(FROM|TO)\s+(PROGRAM|STDIN|STDOUT)\b/},{begin:/\b(SHARE|EXCLUSIVE)\s+MODE\b/},{begin:/\b(LEFT|RIGHT)\s+(OUTER\s+)?JOIN\b/},{begin:/\b(FETCH|MOVE)\s+(NEXT|PRIOR|FIRST|LAST|ABSOLUTE|RELATIVE|FORWARD|BACKWARD)\b/},{begin:/\bPRESERVE\s+ROWS\b/},{begin:/\bDISCARD\s+PLANS\b/},{begin:/\bREFERENCING\s+(OLD|NEW)\b/},{begin:/\bSKIP\s+LOCKED\b/},{begin:/\bGROUPING\s+SETS\b/},{begin:/\b(BINARY|INSENSITIVE|SCROLL|NO\s+SCROLL)\s+(CURSOR|FOR)\b/},{begin:/\b(WITH|WITHOUT)\s+HOLD\b/},{begin:/\bWITH\s+(CASCADED|LOCAL)\s+CHECK\s+OPTION\b/},{begin:/\bEXCLUDE\s+(TIES|NO\s+OTHERS)\b/},{begin:/\bFORMAT\s+(TEXT|XML|JSON|YAML)\b/},{begin:/\bSET\s+((SESSION|LOCAL)\s+)?NAMES\b/},{begin:/\bIS\s+(NOT\s+)?UNKNOWN\b/},{begin:/\bSECURITY\s+LABEL\b/},{begin:/\bSTANDALONE\s+(YES|NO|NO\s+VALUE)\b/},{begin:/\bWITH\s+(NO\s+)?DATA\b/},{begin:/\b(FOREIGN|SET)\s+DATA\b/},{begin:/\bSET\s+(CATALOG|CONSTRAINTS)\b/},{begin:/\b(WITH|FOR)\s+ORDINALITY\b/},{begin:/\bIS\s+(NOT\s+)?DOCUMENT\b/},{begin:/\bXML\s+OPTION\s+(DOCUMENT|CONTENT)\b/},{begin:/\b(STRIP|PRESERVE)\s+WHITESPACE\b/},{begin:/\bNO\s+(ACTION|MAXVALUE|MINVALUE)\b/},{begin:/\bPARTITION\s+BY\s+(RANGE|LIST|HASH)\b/},{begin:/\bAT\s+TIME\s+ZONE\b/},{begin:/\bGRANTED\s+BY\b/},{begin:/\bRETURN\s+(QUERY|NEXT)\b/},{begin:/\b(ATTACH|DETACH)\s+PARTITION\b/},{begin:/\bFORCE\s+ROW\s+LEVEL\s+SECURITY\b/},{begin:/\b(INCLUDING|EXCLUDING)\s+(COMMENTS|CONSTRAINTS|DEFAULTS|IDENTITY|INDEXES|STATISTICS|STORAGE|ALL)\b/},{begin:/\bAS\s+(ASSIGNMENT|IMPLICIT|PERMISSIVE|RESTRICTIVE|ENUM|RANGE)\b/}]},{begin:/\b(FORMAT|FAMILY|VERSION)\s*\(/},{begin:/\bINCLUDE\s*\(/,keywords:"INCLUDE"},{begin:/\bRANGE(?!\s*(BETWEEN|UNBOUNDED|CURRENT|[-0-9]+))/},{begin:/\b(VERSION|OWNER|TEMPLATE|TABLESPACE|CONNECTION\s+LIMIT|PROCEDURE|RESTRICT|JOIN|PARSER|COPY|START|END|COLLATION|INPUT|ANALYZE|STORAGE|LIKE|DEFAULT|DELIMITER|ENCODING|COLUMN|CONSTRAINT|TABLE|SCHEMA)\s*=/},{begin:/\b(PG_\w+?|HAS_[A-Z_]+_PRIVILEGE)\b/,relevance:10},{begin:/\bEXTRACT\s*\(/,end:/\bFROM\b/,returnEnd:!0,keywords:{type:"CENTURY DAY DECADE DOW DOY EPOCH HOUR ISODOW ISOYEAR MICROSECONDS MILLENNIUM MILLISECONDS MINUTE MONTH QUARTER SECOND TIMEZONE TIMEZONE_HOUR TIMEZONE_MINUTE WEEK YEAR"}},{begin:/\b(XMLELEMENT|XMLPI)\s*\(\s*NAME/,keywords:{keyword:"NAME"}},{begin:/\b(XMLPARSE|XMLSERIALIZE)\s*\(\s*(DOCUMENT|CONTENT)/,keywords:{keyword:"DOCUMENT CONTENT"}},{beginKeywords:"CACHE INCREMENT MAXVALUE MINVALUE",end:t.C_NUMBER_RE,returnEnd:!0,keywords:"BY CACHE INCREMENT MAXVALUE MINVALUE"},{className:"type",begin:/\b(WITH|WITHOUT)\s+TIME\s+ZONE\b/},{className:"type",begin:/\bINTERVAL\s+(YEAR|MONTH|DAY|HOUR|MINUTE|SECOND)(\s+TO\s+(MONTH|HOUR|MINUTE|SECOND))?\b/},{begin:/\bRETURNS\s+(LANGUAGE_HANDLER|TRIGGER|EVENT_TRIGGER|FDW_HANDLER|INDEX_AM_HANDLER|TSM_HANDLER)\b/,keywords:{keyword:"RETURNS",type:"LANGUAGE_HANDLER TRIGGER EVENT_TRIGGER FDW_HANDLER INDEX_AM_HANDLER TSM_HANDLER"}},{begin:"\\b("+m+")\\s*\\("},{begin:"\\.("+c+")\\b"},{begin:"\\b("+c+")\\s+PATH\\b",keywords:{keyword:"PATH",type:l.replace("PATH ","")}},{className:"type",begin:"\\b("+c+")\\b"},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:"(e|E|u&|U&)'",end:"'",contains:[{begin:"\\\\."}],relevance:10},t.END_SAME_AS_BEGIN({begin:r,end:r,contains:[{subLanguage:["pgsql","perl","python","tcl","r","lua","java","php","ruby","bash","scheme","xml","json"],endsWithParent:!0}]}),{begin:'"',end:'"',contains:[{begin:'""'}]},t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,e,{className:"meta",variants:[{begin:"%(ROW)?TYPE",relevance:10},{begin:"\\$\\d+"},{begin:"^#\\w",end:"$"}]},{className:"symbol",begin:i,relevance:10}]}}function tD(t){const e={keyword:"actor addressof and as be break class compile_error compile_intrinsic consume continue delegate digestof do else elseif embed end error for fun if ifdef in interface is isnt lambda let match new not object or primitive recover repeat return struct then trait try type until use var where while with xor",meta:"iso val tag trn box ref",literal:"this false true"},n={className:"string",begin:'"""',end:'"""',relevance:10},r={className:"string",begin:'"',end:'"',contains:[t.BACKSLASH_ESCAPE]},i={className:"string",begin:"'",end:"'",contains:[t.BACKSLASH_ESCAPE],relevance:0},o={className:"type",begin:"\\b_?[A-Z][\\w]*",relevance:0},a={begin:t.IDENT_RE+"'",relevance:0};return{name:"Pony",keywords:e,contains:[o,n,r,i,a,{className:"number",begin:"(-?)(\\b0[xX][a-fA-F0-9]+|\\b0[bB][01]+|(\\b\\d+(_\\d+)?(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",relevance:0},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]}}function nD(t){const e=["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"],n="Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",r="-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",i={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},o=/\w[\w\d]*((-)[\w\d]+)*/,a={begin:"`[\\s\\S]",relevance:0},s={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},l={className:"literal",begin:/\$(null|true|false)\b/},c={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[a,s,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},u={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},d={className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]},p=t.inherit(t.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[d]}),_={className:"built_in",variants:[{begin:"(".concat(n,")+(-)[\\w\\d]+")}]},m={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[t.TITLE_MODE]},f={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:o,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[s]}]},g={begin:/using\s/,end:/$/,returnBegin:!0,contains:[c,u,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},E={variants:[{className:"operator",begin:"(".concat(r,")\\b")},{className:"literal",begin:/(-){1,2}[\w\d-]+/,relevance:0}]},S={className:"selector-tag",begin:/@\B/,relevance:0},b={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(i.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},t.inherit(t.TITLE_MODE,{endsParent:!0})]},h=[b,p,a,t.NUMBER_MODE,c,u,_,s,l,S],C={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",h,{begin:"("+e.join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return b.contains.unshift(C),{name:"PowerShell",aliases:["pwsh","ps","ps1"],case_insensitive:!0,keywords:i,contains:h.concat(m,f,g,E,C)}}function rD(t){const e=t.regex,n=["displayHeight","displayWidth","mouseY","mouseX","mousePressed","pmouseX","pmouseY","key","keyCode","pixels","focused","frameCount","frameRate","height","width","size","createGraphics","beginDraw","createShape","loadShape","PShape","arc","ellipse","line","point","quad","rect","triangle","bezier","bezierDetail","bezierPoint","bezierTangent","curve","curveDetail","curvePoint","curveTangent","curveTightness","shape","shapeMode","beginContour","beginShape","bezierVertex","curveVertex","endContour","endShape","quadraticVertex","vertex","ellipseMode","noSmooth","rectMode","smooth","strokeCap","strokeJoin","strokeWeight","mouseClicked","mouseDragged","mouseMoved","mousePressed","mouseReleased","mouseWheel","keyPressed","keyPressedkeyReleased","keyTyped","print","println","save","saveFrame","day","hour","millis","minute","month","second","year","background","clear","colorMode","fill","noFill","noStroke","stroke","alpha","blue","brightness","color","green","hue","lerpColor","red","saturation","modelX","modelY","modelZ","screenX","screenY","screenZ","ambient","emissive","shininess","specular","add","createImage","beginCamera","camera","endCamera","frustum","ortho","perspective","printCamera","printProjection","cursor","frameRate","noCursor","exit","loop","noLoop","popStyle","pushStyle","redraw","binary","boolean","byte","char","float","hex","int","str","unbinary","unhex","join","match","matchAll","nf","nfc","nfp","nfs","split","splitTokens","trim","append","arrayCopy","concat","expand","reverse","shorten","sort","splice","subset","box","sphere","sphereDetail","createInput","createReader","loadBytes","loadJSONArray","loadJSONObject","loadStrings","loadTable","loadXML","open","parseXML","saveTable","selectFolder","selectInput","beginRaw","beginRecord","createOutput","createWriter","endRaw","endRecord","PrintWritersaveBytes","saveJSONArray","saveJSONObject","saveStream","saveStrings","saveXML","selectOutput","popMatrix","printMatrix","pushMatrix","resetMatrix","rotate","rotateX","rotateY","rotateZ","scale","shearX","shearY","translate","ambientLight","directionalLight","lightFalloff","lights","lightSpecular","noLights","normal","pointLight","spotLight","image","imageMode","loadImage","noTint","requestImage","tint","texture","textureMode","textureWrap","blend","copy","filter","get","loadPixels","set","updatePixels","blendMode","loadShader","PShaderresetShader","shader","createFont","loadFont","text","textFont","textAlign","textLeading","textMode","textSize","textWidth","textAscent","textDescent","abs","ceil","constrain","dist","exp","floor","lerp","log","mag","map","max","min","norm","pow","round","sq","sqrt","acos","asin","atan","atan2","cos","degrees","radians","sin","tan","noise","noiseDetail","noiseSeed","random","randomGaussian","randomSeed"],r=t.IDENT_RE,i={variants:[{match:e.concat(e.either(...n),e.lookahead(/\s*\(/)),className:"built_in"},{relevance:0,match:e.concat(/\b(?!for|if|while)/,r,e.lookahead(/\s*\(/)),className:"title.function"}]},o={match:[/new\s+/,r],className:{1:"keyword",2:"class.title"}},a={relevance:0,match:[/\./,r],className:{2:"property"}},s={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,r]},{match:[/class/,/\s+/,r]}],className:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},l=["boolean","byte","char","color","double","float","int","long","short"],c=["BufferedReader","PVector","PFont","PImage","PGraphics","HashMap","String","Array","FloatDict","ArrayList","FloatList","IntDict","IntList","JSONArray","JSONObject","Object","StringDict","StringList","Table","TableRow","XML"];return{name:"Processing",aliases:["pde"],keywords:{keyword:[...["abstract","assert","break","case","catch","const","continue","default","else","enum","final","finally","for","if","import","instanceof","long","native","new","package","private","private","protected","protected","public","public","return","static","strictfp","switch","synchronized","throw","throws","transient","try","void","volatile","while"]],literal:"P2D P3D HALF_PI PI QUARTER_PI TAU TWO_PI null true false",title:"setup draw",variable:"super this",built_in:[...n,...c],type:l},contains:[s,o,i,a,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE]}}function iD(t){return{name:"Python profiler",contains:[t.C_NUMBER_MODE,{begin:"[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}",end:":",excludeEnd:!0},{begin:"(ncalls|tottime|cumtime)",end:"$",keywords:"ncalls tottime|10 cumtime|10 filename",relevance:10},{begin:"function calls",end:"$",contains:[t.C_NUMBER_MODE],relevance:10},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{className:"string",begin:"\\(",end:"\\)$",excludeBegin:!0,excludeEnd:!0,relevance:0}]}}function oD(t){const e={begin:/[a-z][A-Za-z0-9_]*/,relevance:0},n={className:"symbol",variants:[{begin:/[A-Z][a-zA-Z0-9_]*/},{begin:/_[A-Za-z0-9_]*/}],relevance:0},r={begin:/\(/,end:/\)/,relevance:0},i={begin:/\[/,end:/\]/},o={className:"comment",begin:/%/,end:/$/,contains:[t.PHRASAL_WORDS_MODE]},a={className:"string",begin:/`/,end:/`/,contains:[t.BACKSLASH_ESCAPE]},s={className:"string",begin:/0'(\\'|.)/},l={className:"string",begin:/0'\\s/},u=[e,n,r,{begin:/:-/},i,o,t.C_BLOCK_COMMENT_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,a,s,l,t.C_NUMBER_MODE];return r.contains=u,i.contains=u,{name:"Prolog",contains:u.concat([{begin:/\.$/}])}}function aD(t){const e="[ \\t\\f]*",n="[ \\t\\f]+",r=e+"[:=]"+e,i=n,o="("+r+"|"+i+")",a="([^\\\\:= \\t\\f\\n]|\\\\.)+",s={end:o,relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}};return{name:".properties",disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,contains:[t.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:a+r},{begin:a+i}],contains:[{className:"attr",begin:a,endsParent:!0}],starts:s},{className:"attr",begin:a+e+"$"}]}}function sD(t){const e=["package","import","option","optional","required","repeated","group","oneof"],n=["double","float","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","bool","string","bytes"],r={match:[/(message|enum|service)\s+/,t.IDENT_RE],scope:{1:"keyword",2:"title.class"}};return{name:"Protocol Buffers",aliases:["proto"],keywords:{keyword:e,type:n,literal:["true","false"]},contains:[t.QUOTE_STRING_MODE,t.NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,r,{className:"function",beginKeywords:"rpc",end:/[{;]/,excludeEnd:!0,keywords:"rpc returns"},{begin:/^\s*[A-Z_]+(?=\s*=[^\n]+;$)/}]}}function lD(t){const e={keyword:"and case default else elsif false if in import enherits node or true undef unless main settings $string ",literal:"alias audit before loglevel noop require subscribe tag owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check en_address ip_address realname command environment hour monute month monthday special target weekday creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey sslverify mounted",built_in:"architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version"},n=t.COMMENT("#","$"),r="([A-Za-z_]|::)(\\w|::)*",i=t.inherit(t.TITLE_MODE,{begin:r}),o={className:"variable",begin:"\\$"+r},a={className:"string",contains:[t.BACKSLASH_ESCAPE,o],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};return{name:"Puppet",aliases:["pp"],contains:[n,o,a,{beginKeywords:"class",end:"\\{|;",illegal:/=/,contains:[i,n]},{beginKeywords:"define",end:/\{/,contains:[{className:"section",begin:t.IDENT_RE,endsParent:!0}]},{begin:t.IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\S/,contains:[{className:"keyword",begin:t.IDENT_RE,relevance:.2},{begin:/\{/,end:/\}/,keywords:e,relevance:0,contains:[a,n,{begin:"[a-zA-Z_]+\\s*=>",returnBegin:!0,end:"=>",contains:[{className:"attr",begin:t.IDENT_RE}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},o]}],relevance:0}]}}function cD(t){const e={className:"string",begin:'(~)?"',end:'"',illegal:"\\n"},n={className:"symbol",begin:"#[a-zA-Z_]\\w*\\$?"};return{name:"PureBASIC",aliases:["pb","pbi"],keywords:"Align And Array As Break CallDebugger Case CompilerCase CompilerDefault CompilerElse CompilerElseIf CompilerEndIf CompilerEndSelect CompilerError CompilerIf CompilerSelect CompilerWarning Continue Data DataSection Debug DebugLevel Declare DeclareC DeclareCDLL DeclareDLL DeclareModule Default Define Dim DisableASM DisableDebugger DisableExplicit Else ElseIf EnableASM EnableDebugger EnableExplicit End EndDataSection EndDeclareModule EndEnumeration EndIf EndImport EndInterface EndMacro EndModule EndProcedure EndSelect EndStructure EndStructureUnion EndWith Enumeration EnumerationBinary Extends FakeReturn For ForEach ForEver Global Gosub Goto If Import ImportC IncludeBinary IncludeFile IncludePath Interface List Macro MacroExpandedCount Map Module NewList NewMap Next Not Or Procedure ProcedureC ProcedureCDLL ProcedureDLL ProcedureReturn Protected Prototype PrototypeC ReDim Read Repeat Restore Return Runtime Select Shared Static Step Structure StructureUnion Swap Threaded To UndefineMacro Until Until UnuseModule UseModule Wend While With XIncludeFile XOr",contains:[t.COMMENT(";","$",{relevance:0}),{className:"function",begin:"\\b(Procedure|Declare)(C|CDLL|DLL)?\\b",end:"\\(",excludeEnd:!0,returnBegin:!0,contains:[{className:"keyword",begin:"(Procedure|Declare)(C|CDLL|DLL)?",excludeEnd:!0},{className:"type",begin:"\\.\\w*"},t.UNDERSCORE_TITLE_MODE]},e,n]}}function uD(t){return{name:"Q",aliases:["k","kdb"],keywords:{$pattern:/(`?)[A-Za-z0-9_]+\b/,keyword:"do while select delete by update from",literal:"0b 1b",built_in:"neg not null string reciprocal floor ceiling signum mod xbar xlog and or each scan over prior mmu lsq inv md5 ltime gtime count first var dev med cov cor all any rand sums prds mins maxs fills deltas ratios avgs differ prev next rank reverse iasc idesc asc desc msum mcount mavg mdev xrank mmin mmax xprev rotate distinct group where flip type key til get value attr cut set upsert raze union inter except cross sv vs sublist enlist read0 read1 hopen hclose hdel hsym hcount peach system ltrim rtrim trim lower upper ssr view tables views cols xcols keys xkey xcol xasc xdesc fkeys meta lj aj aj0 ij pj asof uj ww wj wj1 fby xgroup ungroup ej save load rsave rload show csv parse eval min max avg wavg wsum sin cos tan sum",type:"`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid"},contains:[t.C_LINE_COMMENT_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE]}}function dD(t){const e=t.regex,n={keyword:"in of on if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await import",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Behavior bool color coordinate date double enumeration font geocircle georectangle geoshape int list matrix4x4 parent point quaternion real rect size string url variant vector2d vector3d vector4d Promise"},r="[a-zA-Z_][a-zA-Z0-9\\._]*",i={className:"keyword",begin:"\\bproperty\\b",starts:{className:"string",end:"(:|=|;|,|//|/\\*|$)",returnEnd:!0}},o={className:"keyword",begin:"\\bsignal\\b",starts:{className:"string",end:"(\\(|:|=|;|,|//|/\\*|$)",returnEnd:!0}},a={className:"attribute",begin:"\\bid\\s*:",starts:{className:"string",end:r,returnEnd:!1}},s={begin:r+"\\s*:",returnBegin:!0,contains:[{className:"attribute",begin:r,end:"\\s*:",excludeEnd:!0,relevance:0}],relevance:0},l={begin:e.concat(r,/\s*\{/),end:/\{/,returnBegin:!0,relevance:0,contains:[t.inherit(t.TITLE_MODE,{begin:r})]};return{name:"QML",aliases:["qt"],case_insensitive:!1,keywords:n,contains:[{className:"meta",begin:/^\s*['"]use (strict|asm)['"]/},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:t.C_NUMBER_RE}],relevance:0},{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.REGEXP_MODE,{begin:/\s*[);\]]/,relevance:0,subLanguage:"xml"}],relevance:0},o,i,{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[t.inherit(t.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]}],illegal:/\[|%/},{begin:"\\."+t.IDENT_RE,relevance:0},a,s,l],illegal:/#/}}function pD(t){return{name:"ReasonML",aliases:["re"],keywords:{$pattern:/[a-z_]\w*!?/,keyword:["and","as","asr","assert","begin","class","constraint","do","done","downto","else","end","esfun","exception","external","for","fun","function","functor","if","in","include","inherit","initializer","land","lazy","let","lor","lsl","lsr","lxor","mod","module","mutable","new","nonrec","object","of","open","or","pri","pub","rec","sig","struct","switch","then","to","try","type","val","virtual","when","while","with"],built_in:["array","bool","bytes","char","exn|5","float","int","int32","int64","list","lazy_t|5","nativeint|5","ref","string","unit"],literal:["true","false"]},illegal:/(:-|:=|\$\{|\+=)/,contains:[{scope:"literal",match:/\[(\|\|)?\]|\(\)/,relevance:0},t.C_LINE_COMMENT_MODE,t.COMMENT(/\/\*/,/\*\//,{illegal:/^(#,\/\/)/}),{scope:"symbol",match:/\'[A-Za-z_](?!\')[\w\']*/},{scope:"type",match:/`[A-Z][\w\']*/},{scope:"type",match:/\b[A-Z][\w\']*/,relevance:0},{match:/[a-z_]\w*\'[\w\']*/,relevance:0},{scope:"operator",match:/\s+(\|\||\+[\+\.]?|\*[\*\/\.]?|\/[\.]?|\.\.\.|\|>|&&|===?)\s+/,relevance:0},t.inherit(t.APOS_STRING_MODE,{scope:"string",relevance:0}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{scope:"number",variants:[{match:/\b0[xX][a-fA-F0-9_]+[Lln]?/},{match:/\b0[oO][0-7_]+[Lln]?/},{match:/\b0[bB][01_]+[Lln]?/},{match:/\b[0-9][0-9_]*([Lln]|(\.[0-9_]*)?([eE][-+]?[0-9_]+)?)/}],relevance:0}]}}function _D(t){return{name:"RenderMan RIB",keywords:"ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry Hider Hyperboloid Identity Illuminate Imager Interior LightSource MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd TransformPoints Translate TrimCurve WorldBegin WorldEnd",illegal:"/}],illegal:/./},t.COMMENT("^#","$"),s,l,a,{begin:/[\w-]+=([^\s{}[\]()>]+)/,relevance:0,returnBegin:!0,contains:[{className:"attribute",begin:/[^=]+/},{begin:/=/,endsWithParent:!0,relevance:0,contains:[s,l,a,{className:"literal",begin:"\\b("+i.split(" ").join("|")+")\\b"},{begin:/("[^"]*"|[^\s{}[\]]+)/}]}]},{className:"number",begin:/\*[0-9a-fA-F]+/},{begin:"\\b("+r.split(" ").join("|")+")([\\s[(\\]|])",returnBegin:!0,contains:[{className:"built_in",begin:/\w+/}]},{className:"built_in",variants:[{begin:"(\\.\\./|/|\\s)(("+o.split(" ").join("|")+");?\\s)+"},{begin:/\.\./,relevance:0}]}]}}function gD(t){const e=["abs","acos","ambient","area","asin","atan","atmosphere","attribute","calculatenormal","ceil","cellnoise","clamp","comp","concat","cos","degrees","depth","Deriv","diffuse","distance","Du","Dv","environment","exp","faceforward","filterstep","floor","format","fresnel","incident","length","lightsource","log","match","max","min","mod","noise","normalize","ntransform","opposite","option","phong","pnoise","pow","printf","ptlined","radians","random","reflect","refract","renderinfo","round","setcomp","setxcomp","setycomp","setzcomp","shadow","sign","sin","smoothstep","specular","specularbrdf","spline","sqrt","step","tan","texture","textureinfo","trace","transform","vtransform","xcomp","ycomp","zcomp"],n=["matrix","float","color","point","normal","vector"],r=["while","for","if","do","return","else","break","extern","continue"],i={match:[/(surface|displacement|light|volume|imager)/,/\s+/,t.IDENT_RE],scope:{1:"keyword",3:"title.class"}};return{name:"RenderMan RSL",keywords:{keyword:r,built_in:e,type:n},illegal:"",/\s+/,/using/,/\s+/,/\S+/],beginScope:{1:"comment",3:"keyword",5:"type"},end:/$/,contains:[{className:"string",begin:/\S+/}]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,i,o,l,s,t.C_NUMBER_MODE,c,u,...d,p,n]}}function bD(t){const e="[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",n="(-|\\+)?\\d+([./]\\d+)?",r=n+"[+\\-]"+n+"i",i={$pattern:e,built_in:"case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"},o={className:"literal",begin:"(#t|#f|#\\\\"+e+"|#\\\\.)"},a={className:"number",variants:[{begin:n,relevance:0},{begin:r,relevance:0},{begin:"#b[0-1]+(/[0-1]+)?"},{begin:"#o[0-7]+(/[0-7]+)?"},{begin:"#x[0-9a-f]+(/[0-9a-f]+)?"}]},s=t.QUOTE_STRING_MODE,l=[t.COMMENT(";","$",{relevance:0}),t.COMMENT("#\\|","\\|#")],c={begin:e,relevance:0},u={className:"symbol",begin:"'"+e},d={endsWithParent:!0,relevance:0},p={variants:[{begin:/'/},{begin:"`"}],contains:[{begin:"\\(",end:"\\)",contains:["self",o,s,a,c,u]}]},_={className:"name",relevance:0,begin:e,keywords:i},f={variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}],contains:[{begin:/lambda/,endsWithParent:!0,returnBegin:!0,contains:[_,{endsParent:!0,variants:[{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/}],contains:[c]}]},_,d]};return d.contains=[o,a,s,c,u,p,f].concat(l),{name:"Scheme",aliases:["scm"],illegal:/\S/,contains:[t.SHEBANG(),a,s,u,p,f].concat(l)}}function TD(t){const e=[t.C_NUMBER_MODE,{className:"string",begin:`'|"`,end:`'|"`,contains:[t.BACKSLASH_ESCAPE,{begin:"''"}]}];return{name:"Scilab",aliases:["sci"],keywords:{$pattern:/%?\w+/,keyword:"abort break case clear catch continue do elseif else endfunction end for function global if pause return resume select try then while",literal:"%f %F %t %T %pi %eps %inf %nan %e %i %z %s",built_in:"abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp error exec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isempty isinfisnan isvector lasterror length load linspace list listfiles log10 log2 log max min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand real round sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tan type typename warning zeros matrix"},illegal:'("|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[t.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{begin:"[a-zA-Z_][a-zA-Z_0-9]*[\\.']+",relevance:0},{begin:"\\[",end:"\\][\\.']*",relevance:0,contains:e},t.COMMENT("//","$")].concat(e)}}function CD(t){const e=["add","and","cmp","cmpg","cmpl","const","div","double","float","goto","if","int","long","move","mul","neg","new","nop","not","or","rem","return","shl","shr","sput","sub","throw","ushr","xor"],n=["aget","aput","array","check","execute","fill","filled","goto/16","goto/32","iget","instance","invoke","iput","monitor","packed","sget","sparse"],r=["transient","constructor","abstract","final","synthetic","public","private","protected","static","bridge","system"];return{name:"Smali",contains:[{className:"string",begin:'"',end:'"',relevance:0},t.COMMENT("#","$",{relevance:0}),{className:"keyword",variants:[{begin:"\\s*\\.end\\s[a-zA-Z0-9]*"},{begin:"^[ ]*\\.[a-zA-Z]*",relevance:0},{begin:"\\s:[a-zA-Z_0-9]*",relevance:0},{begin:"\\s("+r.join("|")+")"}]},{className:"built_in",variants:[{begin:"\\s("+e.join("|")+")\\s"},{begin:"\\s("+e.join("|")+")((-|/)[a-zA-Z0-9]+)+\\s",relevance:10},{begin:"\\s("+n.join("|")+")((-|/)[a-zA-Z0-9]+)*\\s",relevance:10}]},{className:"class",begin:`L[^(;: -]*;`,relevance:0},{begin:"[vp][0-9]+"}]}}function yD(t){const e="[a-z][a-zA-Z0-9_]*",n={className:"string",begin:"\\$.{1}"},r={className:"symbol",begin:"#"+t.UNDERSCORE_IDENT_RE};return{name:"Smalltalk",aliases:["st"],keywords:["self","super","nil","true","false","thisContext"],contains:[t.COMMENT('"','"'),t.APOS_STRING_MODE,{className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},{begin:e+":",relevance:0},t.C_NUMBER_MODE,r,n,{begin:"\\|[ ]*"+e+"([ ]+"+e+")*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?"+e}]},{begin:"#\\(",end:"\\)",contains:[t.APOS_STRING_MODE,n,t.C_NUMBER_MODE,r]}]}}function vD(t){return{name:"SML (Standard ML)",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"abstype and andalso as case datatype do else end eqtype exception fn fun functor handle if in include infix infixr let local nonfix of op open orelse raise rec sharing sig signature struct structure then type val with withtype where while",built_in:"array bool char exn int list option order real ref string substring vector unit word",literal:"true false NONE SOME LESS EQUAL GREATER nil"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:/\[(\|\|)?\]|\(\)/,relevance:0},t.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*"},t.inherit(t.APOS_STRING_MODE,{className:"string",relevance:0}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/[-=]>/}]}}function RD(t){const e={className:"variable",begin:/\b_+[a-zA-Z]\w*/},n={className:"title",begin:/[a-zA-Z][a-zA-Z_0-9]*_fnc_[a-zA-Z_0-9]+/},r={className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]},{begin:"'",end:"'",contains:[{begin:"''",relevance:0}]}]},i=["break","breakWith","breakOut","breakTo","case","catch","continue","continueWith","default","do","else","exit","exitWith","for","forEach","from","if","local","private","switch","step","then","throw","to","try","waitUntil","while","with"],o=["blufor","civilian","configNull","controlNull","displayNull","diaryRecordNull","east","endl","false","grpNull","independent","lineBreak","locationNull","nil","objNull","opfor","pi","resistance","scriptNull","sideAmbientLife","sideEmpty","sideEnemy","sideFriendly","sideLogic","sideUnknown","taskNull","teamMemberNull","true","west"],a=["abs","accTime","acos","action","actionIDs","actionKeys","actionKeysEx","actionKeysImages","actionKeysNames","actionKeysNamesArray","actionName","actionParams","activateAddons","activatedAddons","activateKey","activeTitleEffectParams","add3DENConnection","add3DENEventHandler","add3DENLayer","addAction","addBackpack","addBackpackCargo","addBackpackCargoGlobal","addBackpackGlobal","addBinocularItem","addCamShake","addCuratorAddons","addCuratorCameraArea","addCuratorEditableObjects","addCuratorEditingArea","addCuratorPoints","addEditorObject","addEventHandler","addForce","addForceGeneratorRTD","addGoggles","addGroupIcon","addHandgunItem","addHeadgear","addItem","addItemCargo","addItemCargoGlobal","addItemPool","addItemToBackpack","addItemToUniform","addItemToVest","addLiveStats","addMagazine","addMagazineAmmoCargo","addMagazineCargo","addMagazineCargoGlobal","addMagazineGlobal","addMagazinePool","addMagazines","addMagazineTurret","addMenu","addMenuItem","addMissionEventHandler","addMPEventHandler","addMusicEventHandler","addonFiles","addOwnedMine","addPlayerScores","addPrimaryWeaponItem","addPublicVariableEventHandler","addRating","addResources","addScore","addScoreSide","addSecondaryWeaponItem","addSwitchableUnit","addTeamMember","addToRemainsCollector","addTorque","addUniform","addUserActionEventHandler","addVehicle","addVest","addWaypoint","addWeapon","addWeaponCargo","addWeaponCargoGlobal","addWeaponGlobal","addWeaponItem","addWeaponPool","addWeaponTurret","addWeaponWithAttachmentsCargo","addWeaponWithAttachmentsCargoGlobal","admin","agent","agents","AGLToASL","aimedAtTarget","aimPos","airDensityCurveRTD","airDensityRTD","airplaneThrottle","airportSide","AISFinishHeal","alive","all3DENEntities","allActiveTitleEffects","allAddonsInfo","allAirports","allControls","allCurators","allCutLayers","allDead","allDeadMen","allDiaryRecords","allDiarySubjects","allDisplays","allEnv3DSoundSources","allGroups","allLODs","allMapMarkers","allMines","allMissionObjects","allObjects","allow3DMode","allowCrewInImmobile","allowCuratorLogicIgnoreAreas","allowDamage","allowDammage","allowedService","allowFileOperations","allowFleeing","allowGetIn","allowService","allowSprint","allPlayers","allSimpleObjects","allSites","allTurrets","allUnits","allUnitsUAV","allUsers","allVariables","ambientTemperature","ammo","ammoOnPylon","and","animate","animateBay","animateDoor","animatePylon","animateSource","animationNames","animationPhase","animationSourcePhase","animationState","apertureParams","append","apply","armoryPoints","arrayIntersect","asin","ASLToAGL","ASLToATL","assert","assignAsCargo","assignAsCargoIndex","assignAsCommander","assignAsDriver","assignAsGunner","assignAsTurret","assignCurator","assignedCargo","assignedCommander","assignedDriver","assignedGroup","assignedGunner","assignedItems","assignedTarget","assignedTeam","assignedVehicle","assignedVehicleRole","assignedVehicles","assignItem","assignTeam","assignToAirport","atan","atan2","atg","ATLToASL","attachedObject","attachedObjects","attachedTo","attachObject","attachTo","attackEnabled","awake","backpack","backpackCargo","backpackContainer","backpackItems","backpackMagazines","backpackSpaceFor","behaviour","benchmark","bezierInterpolation","binocular","binocularItems","binocularMagazine","boundingBox","boundingBoxReal","boundingCenter","brakesDisabled","briefingName","buildingExit","buildingPos","buldozer_EnableRoadDiag","buldozer_IsEnabledRoadDiag","buldozer_LoadNewRoads","buldozer_reloadOperMap","buttonAction","buttonSetAction","cadetMode","calculatePath","calculatePlayerVisibilityByFriendly","call","callExtension","camCommand","camCommit","camCommitPrepared","camCommitted","camConstuctionSetParams","camCreate","camDestroy","cameraEffect","cameraEffectEnableHUD","cameraInterest","cameraOn","cameraView","campaignConfigFile","camPreload","camPreloaded","camPrepareBank","camPrepareDir","camPrepareDive","camPrepareFocus","camPrepareFov","camPrepareFovRange","camPreparePos","camPrepareRelPos","camPrepareTarget","camSetBank","camSetDir","camSetDive","camSetFocus","camSetFov","camSetFovRange","camSetPos","camSetRelPos","camSetTarget","camTarget","camUseNVG","canAdd","canAddItemToBackpack","canAddItemToUniform","canAddItemToVest","cancelSimpleTaskDestination","canDeployWeapon","canFire","canMove","canSlingLoad","canStand","canSuspend","canTriggerDynamicSimulation","canUnloadInCombat","canVehicleCargo","captive","captiveNum","cbChecked","cbSetChecked","ceil","channelEnabled","cheatsEnabled","checkAIFeature","checkVisibility","className","clear3DENAttribute","clear3DENInventory","clearAllItemsFromBackpack","clearBackpackCargo","clearBackpackCargoGlobal","clearForcesRTD","clearGroupIcons","clearItemCargo","clearItemCargoGlobal","clearItemPool","clearMagazineCargo","clearMagazineCargoGlobal","clearMagazinePool","clearOverlay","clearRadio","clearWeaponCargo","clearWeaponCargoGlobal","clearWeaponPool","clientOwner","closeDialog","closeDisplay","closeOverlay","collapseObjectTree","collect3DENHistory","collectiveRTD","collisionDisabledWith","combatBehaviour","combatMode","commandArtilleryFire","commandChat","commander","commandFire","commandFollow","commandFSM","commandGetOut","commandingMenu","commandMove","commandRadio","commandStop","commandSuppressiveFire","commandTarget","commandWatch","comment","commitOverlay","compatibleItems","compatibleMagazines","compile","compileFinal","compileScript","completedFSM","composeText","configClasses","configFile","configHierarchy","configName","configOf","configProperties","configSourceAddonList","configSourceMod","configSourceModList","confirmSensorTarget","connectTerminalToUAV","connectToServer","controlsGroupCtrl","conversationDisabled","copyFromClipboard","copyToClipboard","copyWaypoints","cos","count","countEnemy","countFriendly","countSide","countType","countUnknown","create3DENComposition","create3DENEntity","createAgent","createCenter","createDialog","createDiaryLink","createDiaryRecord","createDiarySubject","createDisplay","createGearDialog","createGroup","createGuardedPoint","createHashMap","createHashMapFromArray","createLocation","createMarker","createMarkerLocal","createMenu","createMine","createMissionDisplay","createMPCampaignDisplay","createSimpleObject","createSimpleTask","createSite","createSoundSource","createTask","createTeam","createTrigger","createUnit","createVehicle","createVehicleCrew","createVehicleLocal","crew","ctAddHeader","ctAddRow","ctClear","ctCurSel","ctData","ctFindHeaderRows","ctFindRowHeader","ctHeaderControls","ctHeaderCount","ctRemoveHeaders","ctRemoveRows","ctrlActivate","ctrlAddEventHandler","ctrlAngle","ctrlAnimateModel","ctrlAnimationPhaseModel","ctrlAt","ctrlAutoScrollDelay","ctrlAutoScrollRewind","ctrlAutoScrollSpeed","ctrlBackgroundColor","ctrlChecked","ctrlClassName","ctrlCommit","ctrlCommitted","ctrlCreate","ctrlDelete","ctrlEnable","ctrlEnabled","ctrlFade","ctrlFontHeight","ctrlForegroundColor","ctrlHTMLLoaded","ctrlIDC","ctrlIDD","ctrlMapAnimAdd","ctrlMapAnimClear","ctrlMapAnimCommit","ctrlMapAnimDone","ctrlMapCursor","ctrlMapMouseOver","ctrlMapPosition","ctrlMapScale","ctrlMapScreenToWorld","ctrlMapSetPosition","ctrlMapWorldToScreen","ctrlModel","ctrlModelDirAndUp","ctrlModelScale","ctrlMousePosition","ctrlParent","ctrlParentControlsGroup","ctrlPosition","ctrlRemoveAllEventHandlers","ctrlRemoveEventHandler","ctrlScale","ctrlScrollValues","ctrlSetActiveColor","ctrlSetAngle","ctrlSetAutoScrollDelay","ctrlSetAutoScrollRewind","ctrlSetAutoScrollSpeed","ctrlSetBackgroundColor","ctrlSetChecked","ctrlSetDisabledColor","ctrlSetEventHandler","ctrlSetFade","ctrlSetFocus","ctrlSetFont","ctrlSetFontH1","ctrlSetFontH1B","ctrlSetFontH2","ctrlSetFontH2B","ctrlSetFontH3","ctrlSetFontH3B","ctrlSetFontH4","ctrlSetFontH4B","ctrlSetFontH5","ctrlSetFontH5B","ctrlSetFontH6","ctrlSetFontH6B","ctrlSetFontHeight","ctrlSetFontHeightH1","ctrlSetFontHeightH2","ctrlSetFontHeightH3","ctrlSetFontHeightH4","ctrlSetFontHeightH5","ctrlSetFontHeightH6","ctrlSetFontHeightSecondary","ctrlSetFontP","ctrlSetFontPB","ctrlSetFontSecondary","ctrlSetForegroundColor","ctrlSetModel","ctrlSetModelDirAndUp","ctrlSetModelScale","ctrlSetMousePosition","ctrlSetPixelPrecision","ctrlSetPosition","ctrlSetPositionH","ctrlSetPositionW","ctrlSetPositionX","ctrlSetPositionY","ctrlSetScale","ctrlSetScrollValues","ctrlSetShadow","ctrlSetStructuredText","ctrlSetText","ctrlSetTextColor","ctrlSetTextColorSecondary","ctrlSetTextSecondary","ctrlSetTextSelection","ctrlSetTooltip","ctrlSetTooltipColorBox","ctrlSetTooltipColorShade","ctrlSetTooltipColorText","ctrlSetTooltipMaxWidth","ctrlSetURL","ctrlSetURLOverlayMode","ctrlShadow","ctrlShow","ctrlShown","ctrlStyle","ctrlText","ctrlTextColor","ctrlTextHeight","ctrlTextSecondary","ctrlTextSelection","ctrlTextWidth","ctrlTooltip","ctrlType","ctrlURL","ctrlURLOverlayMode","ctrlVisible","ctRowControls","ctRowCount","ctSetCurSel","ctSetData","ctSetHeaderTemplate","ctSetRowTemplate","ctSetValue","ctValue","curatorAddons","curatorCamera","curatorCameraArea","curatorCameraAreaCeiling","curatorCoef","curatorEditableObjects","curatorEditingArea","curatorEditingAreaType","curatorMouseOver","curatorPoints","curatorRegisteredObjects","curatorSelected","curatorWaypointCost","current3DENOperation","currentChannel","currentCommand","currentMagazine","currentMagazineDetail","currentMagazineDetailTurret","currentMagazineTurret","currentMuzzle","currentNamespace","currentPilot","currentTask","currentTasks","currentThrowable","currentVisionMode","currentWaypoint","currentWeapon","currentWeaponMode","currentWeaponTurret","currentZeroing","cursorObject","cursorTarget","customChat","customRadio","customWaypointPosition","cutFadeOut","cutObj","cutRsc","cutText","damage","date","dateToNumber","dayTime","deActivateKey","debriefingText","debugFSM","debugLog","decayGraphValues","deg","delete3DENEntities","deleteAt","deleteCenter","deleteCollection","deleteEditorObject","deleteGroup","deleteGroupWhenEmpty","deleteIdentity","deleteLocation","deleteMarker","deleteMarkerLocal","deleteRange","deleteResources","deleteSite","deleteStatus","deleteTeam","deleteVehicle","deleteVehicleCrew","deleteWaypoint","detach","detectedMines","diag_activeMissionFSMs","diag_activeScripts","diag_activeSQFScripts","diag_activeSQSScripts","diag_allMissionEventHandlers","diag_captureFrame","diag_captureFrameToFile","diag_captureSlowFrame","diag_codePerformance","diag_deltaTime","diag_drawmode","diag_dumpCalltraceToLog","diag_dumpScriptAssembly","diag_dumpTerrainSynth","diag_dynamicSimulationEnd","diag_enable","diag_enabled","diag_exportConfig","diag_exportTerrainSVG","diag_fps","diag_fpsmin","diag_frameno","diag_getTerrainSegmentOffset","diag_lightNewLoad","diag_list","diag_localized","diag_log","diag_logSlowFrame","diag_mergeConfigFile","diag_recordTurretLimits","diag_resetFSM","diag_resetshapes","diag_scope","diag_setLightNew","diag_stacktrace","diag_tickTime","diag_toggle","dialog","diarySubjectExists","didJIP","didJIPOwner","difficulty","difficultyEnabled","difficultyEnabledRTD","difficultyOption","direction","directionStabilizationEnabled","directSay","disableAI","disableBrakes","disableCollisionWith","disableConversation","disableDebriefingStats","disableMapIndicators","disableNVGEquipment","disableRemoteSensors","disableSerialization","disableTIEquipment","disableUAVConnectability","disableUserInput","displayAddEventHandler","displayChild","displayCtrl","displayParent","displayRemoveAllEventHandlers","displayRemoveEventHandler","displaySetEventHandler","displayUniqueName","displayUpdate","dissolveTeam","distance","distance2D","distanceSqr","distributionRegion","do3DENAction","doArtilleryFire","doFire","doFollow","doFSM","doGetOut","doMove","doorPhase","doStop","doSuppressiveFire","doTarget","doWatch","drawArrow","drawEllipse","drawIcon","drawIcon3D","drawLaser","drawLine","drawLine3D","drawLink","drawLocation","drawPolygon","drawRectangle","drawTriangle","driver","drop","dynamicSimulationDistance","dynamicSimulationDistanceCoef","dynamicSimulationEnabled","dynamicSimulationSystemEnabled","echo","edit3DENMissionAttributes","editObject","editorSetEventHandler","effectiveCommander","elevatePeriscope","emptyPositions","enableAI","enableAIFeature","enableAimPrecision","enableAttack","enableAudioFeature","enableAutoStartUpRTD","enableAutoTrimRTD","enableCamShake","enableCaustics","enableChannel","enableCollisionWith","enableCopilot","enableDebriefingStats","enableDiagLegend","enableDirectionStabilization","enableDynamicSimulation","enableDynamicSimulationSystem","enableEndDialog","enableEngineArtillery","enableEnvironment","enableFatigue","enableGunLights","enableInfoPanelComponent","enableIRLasers","enableMimics","enablePersonTurret","enableRadio","enableReload","enableRopeAttach","enableSatNormalOnDetail","enableSaving","enableSentences","enableSimulation","enableSimulationGlobal","enableStamina","enableStressDamage","enableTeamSwitch","enableTraffic","enableUAVConnectability","enableUAVWaypoints","enableVehicleCargo","enableVehicleSensor","enableWeaponDisassembly","endLoadingScreen","endMission","engineOn","enginesIsOnRTD","enginesPowerRTD","enginesRpmRTD","enginesTorqueRTD","entities","environmentEnabled","environmentVolume","equipmentDisabled","estimatedEndServerTime","estimatedTimeLeft","evalObjectArgument","everyBackpack","everyContainer","exec","execEditorScript","execFSM","execVM","exp","expectedDestination","exportJIPMessages","eyeDirection","eyePos","face","faction","fadeEnvironment","fadeMusic","fadeRadio","fadeSound","fadeSpeech","failMission","fileExists","fillWeaponsFromPool","find","findAny","findCover","findDisplay","findEditorObject","findEmptyPosition","findEmptyPositionReady","findIf","findNearestEnemy","finishMissionInit","finite","fire","fireAtTarget","firstBackpack","flag","flagAnimationPhase","flagOwner","flagSide","flagTexture","flatten","fleeing","floor","flyInHeight","flyInHeightASL","focusedCtrl","fog","fogForecast","fogParams","forceAddUniform","forceAtPositionRTD","forceCadetDifficulty","forcedMap","forceEnd","forceFlagTexture","forceFollowRoad","forceGeneratorRTD","forceMap","forceRespawn","forceSpeed","forceUnicode","forceWalk","forceWeaponFire","forceWeatherChange","forEachMember","forEachMemberAgent","forEachMemberTeam","forgetTarget","format","formation","formationDirection","formationLeader","formationMembers","formationPosition","formationTask","formatText","formLeader","freeExtension","freeLook","fromEditor","fuel","fullCrew","gearIDCAmmoCount","gearSlotAmmoCount","gearSlotData","gestureState","get","get3DENActionState","get3DENAttribute","get3DENCamera","get3DENConnections","get3DENEntity","get3DENEntityID","get3DENGrid","get3DENIconsVisible","get3DENLayerEntities","get3DENLinesVisible","get3DENMissionAttribute","get3DENMouseOver","get3DENSelected","getAimingCoef","getAllEnv3DSoundControllers","getAllEnvSoundControllers","getAllHitPointsDamage","getAllOwnedMines","getAllPylonsInfo","getAllSoundControllers","getAllUnitTraits","getAmmoCargo","getAnimAimPrecision","getAnimSpeedCoef","getArray","getArtilleryAmmo","getArtilleryComputerSettings","getArtilleryETA","getAssetDLCInfo","getAssignedCuratorLogic","getAssignedCuratorUnit","getAttackTarget","getAudioOptionVolumes","getBackpackCargo","getBleedingRemaining","getBurningValue","getCalculatePlayerVisibilityByFriendly","getCameraViewDirection","getCargoIndex","getCenterOfMass","getClientState","getClientStateNumber","getCompatiblePylonMagazines","getConnectedUAV","getConnectedUAVUnit","getContainerMaxLoad","getCorpse","getCruiseControl","getCursorObjectParams","getCustomAimCoef","getCustomSoundController","getCustomSoundControllerCount","getDammage","getDebriefingText","getDescription","getDir","getDirVisual","getDiverState","getDLCAssetsUsage","getDLCAssetsUsageByName","getDLCs","getDLCUsageTime","getEditorCamera","getEditorMode","getEditorObjectScope","getElevationOffset","getEngineTargetRPMRTD","getEnv3DSoundController","getEnvSoundController","getEventHandlerInfo","getFatigue","getFieldManualStartPage","getForcedFlagTexture","getForcedSpeed","getFriend","getFSMVariable","getFuelCargo","getGraphValues","getGroupIcon","getGroupIconParams","getGroupIcons","getHideFrom","getHit","getHitIndex","getHitPointDamage","getItemCargo","getLighting","getLightingAt","getLoadedModsInfo","getMagazineCargo","getMarkerColor","getMarkerPos","getMarkerSize","getMarkerType","getMass","getMissionConfig","getMissionConfigValue","getMissionDLCs","getMissionLayerEntities","getMissionLayers","getMissionPath","getModelInfo","getMousePosition","getMusicPlayedTime","getNumber","getObjectArgument","getObjectChildren","getObjectDLC","getObjectFOV","getObjectID","getObjectMaterials","getObjectProxy","getObjectScale","getObjectTextures","getObjectType","getObjectViewDistance","getOpticsMode","getOrDefault","getOrDefaultCall","getOxygenRemaining","getPersonUsedDLCs","getPilotCameraDirection","getPilotCameraPosition","getPilotCameraRotation","getPilotCameraTarget","getPiPViewDistance","getPlateNumber","getPlayerChannel","getPlayerID","getPlayerScores","getPlayerUID","getPlayerVoNVolume","getPos","getPosASL","getPosASLVisual","getPosASLW","getPosATL","getPosATLVisual","getPosVisual","getPosWorld","getPosWorldVisual","getPylonMagazines","getRelDir","getRelPos","getRemoteSensorsDisabled","getRepairCargo","getResolution","getRoadInfo","getRotorBrakeRTD","getSensorTargets","getSensorThreats","getShadowDistance","getShotParents","getSlingLoad","getSoundController","getSoundControllerResult","getSpeed","getStamina","getStatValue","getSteamFriendsServers","getSubtitleOptions","getSuppression","getTerrainGrid","getTerrainHeight","getTerrainHeightASL","getTerrainInfo","getText","getTextRaw","getTextureInfo","getTextWidth","getTiParameters","getTotalDLCUsageTime","getTrimOffsetRTD","getTurretLimits","getTurretOpticsMode","getUnitFreefallInfo","getUnitLoadout","getUnitTrait","getUnloadInCombat","getUserInfo","getUserMFDText","getUserMFDValue","getVariable","getVehicleCargo","getVehicleTiPars","getWeaponCargo","getWeaponSway","getWingsOrientationRTD","getWingsPositionRTD","getWPPos","glanceAt","globalChat","globalRadio","goggles","goto","group","groupChat","groupFromNetId","groupIconSelectable","groupIconsVisible","groupID","groupOwner","groupRadio","groups","groupSelectedUnits","groupSelectUnit","gunner","gusts","halt","handgunItems","handgunMagazine","handgunWeapon","handsHit","hashValue","hasInterface","hasPilotCamera","hasWeapon","hcAllGroups","hcGroupParams","hcLeader","hcRemoveAllGroups","hcRemoveGroup","hcSelected","hcSelectGroup","hcSetGroup","hcShowBar","hcShownBar","headgear","hideBody","hideObject","hideObjectGlobal","hideSelection","hint","hintC","hintCadet","hintSilent","hmd","hostMission","htmlLoad","HUDMovementLevels","humidity","image","importAllGroups","importance","in","inArea","inAreaArray","incapacitatedState","inflame","inflamed","infoPanel","infoPanelComponentEnabled","infoPanelComponents","infoPanels","inGameUISetEventHandler","inheritsFrom","initAmbientLife","inPolygon","inputAction","inputController","inputMouse","inRangeOfArtillery","insert","insertEditorObject","intersect","is3DEN","is3DENMultiplayer","is3DENPreview","isAbleToBreathe","isActionMenuVisible","isAgent","isAimPrecisionEnabled","isAllowedCrewInImmobile","isArray","isAutoHoverOn","isAutonomous","isAutoStartUpEnabledRTD","isAutotest","isAutoTrimOnRTD","isAwake","isBleeding","isBurning","isClass","isCollisionLightOn","isCopilotEnabled","isDamageAllowed","isDedicated","isDLCAvailable","isEngineOn","isEqualRef","isEqualTo","isEqualType","isEqualTypeAll","isEqualTypeAny","isEqualTypeArray","isEqualTypeParams","isFilePatchingEnabled","isFinal","isFlashlightOn","isFlatEmpty","isForcedWalk","isFormationLeader","isGameFocused","isGamePaused","isGroupDeletedWhenEmpty","isHidden","isInRemainsCollector","isInstructorFigureEnabled","isIRLaserOn","isKeyActive","isKindOf","isLaserOn","isLightOn","isLocalized","isManualFire","isMarkedForCollection","isMissionProfileNamespaceLoaded","isMultiplayer","isMultiplayerSolo","isNil","isNotEqualRef","isNotEqualTo","isNull","isNumber","isObjectHidden","isObjectRTD","isOnRoad","isPiPEnabled","isPlayer","isRealTime","isRemoteExecuted","isRemoteExecutedJIP","isSaving","isSensorTargetConfirmed","isServer","isShowing3DIcons","isSimpleObject","isSprintAllowed","isStaminaEnabled","isSteamMission","isSteamOverlayEnabled","isStreamFriendlyUIEnabled","isStressDamageEnabled","isText","isTouchingGround","isTurnedOut","isTutHintsEnabled","isUAVConnectable","isUAVConnected","isUIContext","isUniformAllowed","isVehicleCargo","isVehicleRadarOn","isVehicleSensorEnabled","isWalking","isWeaponDeployed","isWeaponRested","itemCargo","items","itemsWithMagazines","join","joinAs","joinAsSilent","joinSilent","joinString","kbAddDatabase","kbAddDatabaseTargets","kbAddTopic","kbHasTopic","kbReact","kbRemoveTopic","kbTell","kbWasSaid","keyImage","keyName","keys","knowsAbout","land","landAt","landResult","language","laserTarget","lbAdd","lbClear","lbColor","lbColorRight","lbCurSel","lbData","lbDelete","lbIsSelected","lbPicture","lbPictureRight","lbSelection","lbSetColor","lbSetColorRight","lbSetCurSel","lbSetData","lbSetPicture","lbSetPictureColor","lbSetPictureColorDisabled","lbSetPictureColorSelected","lbSetPictureRight","lbSetPictureRightColor","lbSetPictureRightColorDisabled","lbSetPictureRightColorSelected","lbSetSelectColor","lbSetSelectColorRight","lbSetSelected","lbSetText","lbSetTextRight","lbSetTooltip","lbSetValue","lbSize","lbSort","lbSortBy","lbSortByValue","lbText","lbTextRight","lbTooltip","lbValue","leader","leaderboardDeInit","leaderboardGetRows","leaderboardInit","leaderboardRequestRowsFriends","leaderboardRequestRowsGlobal","leaderboardRequestRowsGlobalAroundUser","leaderboardsRequestUploadScore","leaderboardsRequestUploadScoreKeepBest","leaderboardState","leaveVehicle","libraryCredits","libraryDisclaimers","lifeState","lightAttachObject","lightDetachObject","lightIsOn","lightnings","limitSpeed","linearConversion","lineIntersects","lineIntersectsObjs","lineIntersectsSurfaces","lineIntersectsWith","linkItem","list","listObjects","listRemoteTargets","listVehicleSensors","ln","lnbAddArray","lnbAddColumn","lnbAddRow","lnbClear","lnbColor","lnbColorRight","lnbCurSelRow","lnbData","lnbDeleteColumn","lnbDeleteRow","lnbGetColumnsPosition","lnbPicture","lnbPictureRight","lnbSetColor","lnbSetColorRight","lnbSetColumnsPos","lnbSetCurSelRow","lnbSetData","lnbSetPicture","lnbSetPictureColor","lnbSetPictureColorRight","lnbSetPictureColorSelected","lnbSetPictureColorSelectedRight","lnbSetPictureRight","lnbSetText","lnbSetTextRight","lnbSetTooltip","lnbSetValue","lnbSize","lnbSort","lnbSortBy","lnbSortByValue","lnbText","lnbTextRight","lnbValue","load","loadAbs","loadBackpack","loadConfig","loadFile","loadGame","loadIdentity","loadMagazine","loadOverlay","loadStatus","loadUniform","loadVest","localize","localNamespace","locationPosition","lock","lockCameraTo","lockCargo","lockDriver","locked","lockedCameraTo","lockedCargo","lockedDriver","lockedInventory","lockedTurret","lockIdentity","lockInventory","lockTurret","lockWp","log","logEntities","logNetwork","logNetworkTerminate","lookAt","lookAtPos","magazineCargo","magazines","magazinesAllTurrets","magazinesAmmo","magazinesAmmoCargo","magazinesAmmoFull","magazinesDetail","magazinesDetailBackpack","magazinesDetailUniform","magazinesDetailVest","magazinesTurret","magazineTurretAmmo","mapAnimAdd","mapAnimClear","mapAnimCommit","mapAnimDone","mapCenterOnCamera","mapGridPosition","markAsFinishedOnSteam","markerAlpha","markerBrush","markerChannel","markerColor","markerDir","markerPolyline","markerPos","markerShadow","markerShape","markerSize","markerText","markerType","matrixMultiply","matrixTranspose","max","maxLoad","members","menuAction","menuAdd","menuChecked","menuClear","menuCollapse","menuData","menuDelete","menuEnable","menuEnabled","menuExpand","menuHover","menuPicture","menuSetAction","menuSetCheck","menuSetData","menuSetPicture","menuSetShortcut","menuSetText","menuSetURL","menuSetValue","menuShortcut","menuShortcutText","menuSize","menuSort","menuText","menuURL","menuValue","merge","min","mineActive","mineDetectedBy","missileTarget","missileTargetPos","missionConfigFile","missionDifficulty","missionEnd","missionName","missionNameSource","missionNamespace","missionProfileNamespace","missionStart","missionVersion","mod","modelToWorld","modelToWorldVisual","modelToWorldVisualWorld","modelToWorldWorld","modParams","moonIntensity","moonPhase","morale","move","move3DENCamera","moveInAny","moveInCargo","moveInCommander","moveInDriver","moveInGunner","moveInTurret","moveObjectToEnd","moveOut","moveTime","moveTo","moveToCompleted","moveToFailed","musicVolume","name","namedProperties","nameSound","nearEntities","nearestBuilding","nearestLocation","nearestLocations","nearestLocationWithDubbing","nearestMines","nearestObject","nearestObjects","nearestTerrainObjects","nearObjects","nearObjectsReady","nearRoads","nearSupplies","nearTargets","needReload","needService","netId","netObjNull","newOverlay","nextMenuItemIndex","nextWeatherChange","nMenuItems","not","numberOfEnginesRTD","numberToDate","objectCurators","objectFromNetId","objectParent","objStatus","onBriefingGroup","onBriefingNotes","onBriefingPlan","onBriefingTeamSwitch","onCommandModeChanged","onDoubleClick","onEachFrame","onGroupIconClick","onGroupIconOverEnter","onGroupIconOverLeave","onHCGroupSelectionChanged","onMapSingleClick","onPlayerConnected","onPlayerDisconnected","onPreloadFinished","onPreloadStarted","onShowNewObject","onTeamSwitch","openCuratorInterface","openDLCPage","openGPS","openMap","openSteamApp","openYoutubeVideo","or","orderGetIn","overcast","overcastForecast","owner","param","params","parseNumber","parseSimpleArray","parseText","parsingNamespace","particlesQuality","periscopeElevation","pickWeaponPool","pitch","pixelGrid","pixelGridBase","pixelGridNoUIScale","pixelH","pixelW","playableSlotsNumber","playableUnits","playAction","playActionNow","player","playerRespawnTime","playerSide","playersNumber","playGesture","playMission","playMove","playMoveNow","playMusic","playScriptedMission","playSound","playSound3D","playSoundUI","pose","position","positionCameraToWorld","posScreenToWorld","posWorldToScreen","ppEffectAdjust","ppEffectCommit","ppEffectCommitted","ppEffectCreate","ppEffectDestroy","ppEffectEnable","ppEffectEnabled","ppEffectForceInNVG","precision","preloadCamera","preloadObject","preloadSound","preloadTitleObj","preloadTitleRsc","preprocessFile","preprocessFileLineNumbers","primaryWeapon","primaryWeaponItems","primaryWeaponMagazine","priority","processDiaryLink","productVersion","profileName","profileNamespace","profileNameSteam","progressLoadingScreen","progressPosition","progressSetPosition","publicVariable","publicVariableClient","publicVariableServer","pushBack","pushBackUnique","putWeaponPool","queryItemsPool","queryMagazinePool","queryWeaponPool","rad","radioChannelAdd","radioChannelCreate","radioChannelInfo","radioChannelRemove","radioChannelSetCallSign","radioChannelSetLabel","radioEnabled","radioVolume","rain","rainbow","rainParams","random","rank","rankId","rating","rectangular","regexFind","regexMatch","regexReplace","registeredTasks","registerTask","reload","reloadEnabled","remoteControl","remoteExec","remoteExecCall","remoteExecutedOwner","remove3DENConnection","remove3DENEventHandler","remove3DENLayer","removeAction","removeAll3DENEventHandlers","removeAllActions","removeAllAssignedItems","removeAllBinocularItems","removeAllContainers","removeAllCuratorAddons","removeAllCuratorCameraAreas","removeAllCuratorEditingAreas","removeAllEventHandlers","removeAllHandgunItems","removeAllItems","removeAllItemsWithMagazines","removeAllMissionEventHandlers","removeAllMPEventHandlers","removeAllMusicEventHandlers","removeAllOwnedMines","removeAllPrimaryWeaponItems","removeAllSecondaryWeaponItems","removeAllUserActionEventHandlers","removeAllWeapons","removeBackpack","removeBackpackGlobal","removeBinocularItem","removeCuratorAddons","removeCuratorCameraArea","removeCuratorEditableObjects","removeCuratorEditingArea","removeDiaryRecord","removeDiarySubject","removeDrawIcon","removeDrawLinks","removeEventHandler","removeFromRemainsCollector","removeGoggles","removeGroupIcon","removeHandgunItem","removeHeadgear","removeItem","removeItemFromBackpack","removeItemFromUniform","removeItemFromVest","removeItems","removeMagazine","removeMagazineGlobal","removeMagazines","removeMagazinesTurret","removeMagazineTurret","removeMenuItem","removeMissionEventHandler","removeMPEventHandler","removeMusicEventHandler","removeOwnedMine","removePrimaryWeaponItem","removeSecondaryWeaponItem","removeSimpleTask","removeSwitchableUnit","removeTeamMember","removeUniform","removeUserActionEventHandler","removeVest","removeWeapon","removeWeaponAttachmentCargo","removeWeaponCargo","removeWeaponGlobal","removeWeaponTurret","reportRemoteTarget","requiredVersion","resetCamShake","resetSubgroupDirection","resize","resources","respawnVehicle","restartEditorCamera","reveal","revealMine","reverse","reversedMouseY","roadAt","roadsConnectedTo","roleDescription","ropeAttachedObjects","ropeAttachedTo","ropeAttachEnabled","ropeAttachTo","ropeCreate","ropeCut","ropeDestroy","ropeDetach","ropeEndPosition","ropeLength","ropes","ropesAttachedTo","ropeSegments","ropeUnwind","ropeUnwound","rotorsForcesRTD","rotorsRpmRTD","round","runInitScript","safeZoneH","safeZoneW","safeZoneWAbs","safeZoneX","safeZoneXAbs","safeZoneY","save3DENInventory","saveGame","saveIdentity","saveJoysticks","saveMissionProfileNamespace","saveOverlay","saveProfileNamespace","saveStatus","saveVar","savingEnabled","say","say2D","say3D","scopeName","score","scoreSide","screenshot","screenToWorld","scriptDone","scriptName","scudState","secondaryWeapon","secondaryWeaponItems","secondaryWeaponMagazine","select","selectBestPlaces","selectDiarySubject","selectedEditorObjects","selectEditorObject","selectionNames","selectionPosition","selectionVectorDirAndUp","selectLeader","selectMax","selectMin","selectNoPlayer","selectPlayer","selectRandom","selectRandomWeighted","selectWeapon","selectWeaponTurret","sendAUMessage","sendSimpleCommand","sendTask","sendTaskResult","sendUDPMessage","sentencesEnabled","serverCommand","serverCommandAvailable","serverCommandExecutable","serverName","serverNamespace","serverTime","set","set3DENAttribute","set3DENAttributes","set3DENGrid","set3DENIconsVisible","set3DENLayer","set3DENLinesVisible","set3DENLogicType","set3DENMissionAttribute","set3DENMissionAttributes","set3DENModelsVisible","set3DENObjectType","set3DENSelected","setAccTime","setActualCollectiveRTD","setAirplaneThrottle","setAirportSide","setAmmo","setAmmoCargo","setAmmoOnPylon","setAnimSpeedCoef","setAperture","setApertureNew","setArmoryPoints","setAttributes","setAutonomous","setBehaviour","setBehaviourStrong","setBleedingRemaining","setBrakesRTD","setCameraInterest","setCamShakeDefParams","setCamShakeParams","setCamUseTi","setCaptive","setCenterOfMass","setCollisionLight","setCombatBehaviour","setCombatMode","setCompassOscillation","setConvoySeparation","setCruiseControl","setCuratorCameraAreaCeiling","setCuratorCoef","setCuratorEditingAreaType","setCuratorWaypointCost","setCurrentChannel","setCurrentTask","setCurrentWaypoint","setCustomAimCoef","SetCustomMissionData","setCustomSoundController","setCustomWeightRTD","setDamage","setDammage","setDate","setDebriefingText","setDefaultCamera","setDestination","setDetailMapBlendPars","setDiaryRecordText","setDiarySubjectPicture","setDir","setDirection","setDrawIcon","setDriveOnPath","setDropInterval","setDynamicSimulationDistance","setDynamicSimulationDistanceCoef","setEditorMode","setEditorObjectScope","setEffectCondition","setEffectiveCommander","setEngineRpmRTD","setFace","setFaceanimation","setFatigue","setFeatureType","setFlagAnimationPhase","setFlagOwner","setFlagSide","setFlagTexture","setFog","setForceGeneratorRTD","setFormation","setFormationTask","setFormDir","setFriend","setFromEditor","setFSMVariable","setFuel","setFuelCargo","setGroupIcon","setGroupIconParams","setGroupIconsSelectable","setGroupIconsVisible","setGroupid","setGroupIdGlobal","setGroupOwner","setGusts","setHideBehind","setHit","setHitIndex","setHitPointDamage","setHorizonParallaxCoef","setHUDMovementLevels","setHumidity","setIdentity","setImportance","setInfoPanel","setLeader","setLightAmbient","setLightAttenuation","setLightBrightness","setLightColor","setLightConePars","setLightDayLight","setLightFlareMaxDistance","setLightFlareSize","setLightIntensity","setLightIR","setLightnings","setLightUseFlare","setLightVolumeShape","setLocalWindParams","setMagazineTurretAmmo","setMarkerAlpha","setMarkerAlphaLocal","setMarkerBrush","setMarkerBrushLocal","setMarkerColor","setMarkerColorLocal","setMarkerDir","setMarkerDirLocal","setMarkerPolyline","setMarkerPolylineLocal","setMarkerPos","setMarkerPosLocal","setMarkerShadow","setMarkerShadowLocal","setMarkerShape","setMarkerShapeLocal","setMarkerSize","setMarkerSizeLocal","setMarkerText","setMarkerTextLocal","setMarkerType","setMarkerTypeLocal","setMass","setMaxLoad","setMimic","setMissileTarget","setMissileTargetPos","setMousePosition","setMusicEffect","setMusicEventHandler","setName","setNameSound","setObjectArguments","setObjectMaterial","setObjectMaterialGlobal","setObjectProxy","setObjectScale","setObjectTexture","setObjectTextureGlobal","setObjectViewDistance","setOpticsMode","setOvercast","setOwner","setOxygenRemaining","setParticleCircle","setParticleClass","setParticleFire","setParticleParams","setParticleRandom","setPilotCameraDirection","setPilotCameraRotation","setPilotCameraTarget","setPilotLight","setPiPEffect","setPiPViewDistance","setPitch","setPlateNumber","setPlayable","setPlayerRespawnTime","setPlayerVoNVolume","setPos","setPosASL","setPosASL2","setPosASLW","setPosATL","setPosition","setPosWorld","setPylonLoadout","setPylonsPriority","setRadioMsg","setRain","setRainbow","setRandomLip","setRank","setRectangular","setRepairCargo","setRotorBrakeRTD","setShadowDistance","setShotParents","setSide","setSimpleTaskAlwaysVisible","setSimpleTaskCustomData","setSimpleTaskDescription","setSimpleTaskDestination","setSimpleTaskTarget","setSimpleTaskType","setSimulWeatherLayers","setSize","setSkill","setSlingLoad","setSoundEffect","setSpeaker","setSpeech","setSpeedMode","setStamina","setStaminaScheme","setStatValue","setSuppression","setSystemOfUnits","setTargetAge","setTaskMarkerOffset","setTaskResult","setTaskState","setTerrainGrid","setTerrainHeight","setText","setTimeMultiplier","setTiParameter","setTitleEffect","setTowParent","setTrafficDensity","setTrafficDistance","setTrafficGap","setTrafficSpeed","setTriggerActivation","setTriggerArea","setTriggerInterval","setTriggerStatements","setTriggerText","setTriggerTimeout","setTriggerType","setTurretLimits","setTurretOpticsMode","setType","setUnconscious","setUnitAbility","setUnitCombatMode","setUnitFreefallHeight","setUnitLoadout","setUnitPos","setUnitPosWeak","setUnitRank","setUnitRecoilCoefficient","setUnitTrait","setUnloadInCombat","setUserActionText","setUserMFDText","setUserMFDValue","setVariable","setVectorDir","setVectorDirAndUp","setVectorUp","setVehicleAmmo","setVehicleAmmoDef","setVehicleArmor","setVehicleCargo","setVehicleId","setVehicleLock","setVehiclePosition","setVehicleRadar","setVehicleReceiveRemoteTargets","setVehicleReportOwnPosition","setVehicleReportRemoteTargets","setVehicleTiPars","setVehicleVarName","setVelocity","setVelocityModelSpace","setVelocityTransformation","setViewDistance","setVisibleIfTreeCollapsed","setWantedRPMRTD","setWaves","setWaypointBehaviour","setWaypointCombatMode","setWaypointCompletionRadius","setWaypointDescription","setWaypointForceBehaviour","setWaypointFormation","setWaypointHousePosition","setWaypointLoiterAltitude","setWaypointLoiterRadius","setWaypointLoiterType","setWaypointName","setWaypointPosition","setWaypointScript","setWaypointSpeed","setWaypointStatements","setWaypointTimeout","setWaypointType","setWaypointVisible","setWeaponReloadingTime","setWeaponZeroing","setWind","setWindDir","setWindForce","setWindStr","setWingForceScaleRTD","setWPPos","show3DIcons","showChat","showCinemaBorder","showCommandingMenu","showCompass","showCuratorCompass","showGps","showHUD","showLegend","showMap","shownArtilleryComputer","shownChat","shownCompass","shownCuratorCompass","showNewEditorObject","shownGps","shownHUD","shownMap","shownPad","shownRadio","shownScoretable","shownSubtitles","shownUAVFeed","shownWarrant","shownWatch","showPad","showRadio","showScoretable","showSubtitles","showUAVFeed","showWarrant","showWatch","showWaypoint","showWaypoints","side","sideChat","sideRadio","simpleTasks","simulationEnabled","simulCloudDensity","simulCloudOcclusion","simulInClouds","simulWeatherSync","sin","size","sizeOf","skill","skillFinal","skipTime","sleep","sliderPosition","sliderRange","sliderSetPosition","sliderSetRange","sliderSetSpeed","sliderSpeed","slingLoadAssistantShown","soldierMagazines","someAmmo","sort","soundVolume","spawn","speaker","speechVolume","speed","speedMode","splitString","sqrt","squadParams","stance","startLoadingScreen","stop","stopEngineRTD","stopped","str","sunOrMoon","supportInfo","suppressFor","surfaceIsWater","surfaceNormal","surfaceTexture","surfaceType","swimInDepth","switchableUnits","switchAction","switchCamera","switchGesture","switchLight","switchMove","synchronizedObjects","synchronizedTriggers","synchronizedWaypoints","synchronizeObjectsAdd","synchronizeObjectsRemove","synchronizeTrigger","synchronizeWaypoint","systemChat","systemOfUnits","systemTime","systemTimeUTC","tan","targetKnowledge","targets","targetsAggregate","targetsQuery","taskAlwaysVisible","taskChildren","taskCompleted","taskCustomData","taskDescription","taskDestination","taskHint","taskMarkerOffset","taskName","taskParent","taskResult","taskState","taskType","teamMember","teamName","teams","teamSwitch","teamSwitchEnabled","teamType","terminate","terrainIntersect","terrainIntersectASL","terrainIntersectAtASL","text","textLog","textLogFormat","tg","time","timeMultiplier","titleCut","titleFadeOut","titleObj","titleRsc","titleText","toArray","toFixed","toLower","toLowerANSI","toString","toUpper","toUpperANSI","triggerActivated","triggerActivation","triggerAmmo","triggerArea","triggerAttachedVehicle","triggerAttachObject","triggerAttachVehicle","triggerDynamicSimulation","triggerInterval","triggerStatements","triggerText","triggerTimeout","triggerTimeoutCurrent","triggerType","trim","turretLocal","turretOwner","turretUnit","tvAdd","tvClear","tvCollapse","tvCollapseAll","tvCount","tvCurSel","tvData","tvDelete","tvExpand","tvExpandAll","tvIsSelected","tvPicture","tvPictureRight","tvSelection","tvSetColor","tvSetCurSel","tvSetData","tvSetPicture","tvSetPictureColor","tvSetPictureColorDisabled","tvSetPictureColorSelected","tvSetPictureRight","tvSetPictureRightColor","tvSetPictureRightColorDisabled","tvSetPictureRightColorSelected","tvSetSelectColor","tvSetSelected","tvSetText","tvSetTooltip","tvSetValue","tvSort","tvSortAll","tvSortByValue","tvSortByValueAll","tvText","tvTooltip","tvValue","type","typeName","typeOf","UAVControl","uiNamespace","uiSleep","unassignCurator","unassignItem","unassignTeam","unassignVehicle","underwater","uniform","uniformContainer","uniformItems","uniformMagazines","uniqueUnitItems","unitAddons","unitAimPosition","unitAimPositionVisual","unitBackpack","unitCombatMode","unitIsUAV","unitPos","unitReady","unitRecoilCoefficient","units","unitsBelowHeight","unitTurret","unlinkItem","unlockAchievement","unregisterTask","updateDrawIcon","updateMenuItem","updateObjectTree","useAIOperMapObstructionTest","useAISteeringComponent","useAudioTimeForMoves","userInputDisabled","values","vectorAdd","vectorCos","vectorCrossProduct","vectorDiff","vectorDir","vectorDirVisual","vectorDistance","vectorDistanceSqr","vectorDotProduct","vectorFromTo","vectorLinearConversion","vectorMagnitude","vectorMagnitudeSqr","vectorModelToWorld","vectorModelToWorldVisual","vectorMultiply","vectorNormalized","vectorUp","vectorUpVisual","vectorWorldToModel","vectorWorldToModelVisual","vehicle","vehicleCargoEnabled","vehicleChat","vehicleMoveInfo","vehicleRadio","vehicleReceiveRemoteTargets","vehicleReportOwnPosition","vehicleReportRemoteTargets","vehicles","vehicleVarName","velocity","velocityModelSpace","verifySignature","vest","vestContainer","vestItems","vestMagazines","viewDistance","visibleCompass","visibleGps","visibleMap","visiblePosition","visiblePositionASL","visibleScoretable","visibleWatch","waves","waypointAttachedObject","waypointAttachedVehicle","waypointAttachObject","waypointAttachVehicle","waypointBehaviour","waypointCombatMode","waypointCompletionRadius","waypointDescription","waypointForceBehaviour","waypointFormation","waypointHousePosition","waypointLoiterAltitude","waypointLoiterRadius","waypointLoiterType","waypointName","waypointPosition","waypoints","waypointScript","waypointsEnabledUAV","waypointShow","waypointSpeed","waypointStatements","waypointTimeout","waypointTimeoutCurrent","waypointType","waypointVisible","weaponAccessories","weaponAccessoriesCargo","weaponCargo","weaponDirection","weaponInertia","weaponLowered","weaponReloadingTime","weapons","weaponsInfo","weaponsItems","weaponsItemsCargo","weaponState","weaponsTurret","weightRTD","WFSideText","wind","windDir","windRTD","windStr","wingsForcesRTD","worldName","worldSize","worldToModel","worldToModelVisual","worldToScreen"],s={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:"define undef ifdef ifndef else endif include if",contains:[{begin:/\\\n/,relevance:0},t.inherit(r,{className:"string"}),{begin:/<[^\n>]*>/,end:/$/,illegal:"\\n"},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]};return{name:"SQF",case_insensitive:!0,keywords:{keyword:i,built_in:a,literal:o},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.NUMBER_MODE,e,n,r,s],illegal:[/\$[^a-fA-F0-9]/,/\w\$/,/\?/,/@/,/ \| /,/[a-zA-Z_]\./,/\:\=/,/\[\:/]}}function OD(t){const e=t.regex,n=["functions","model","data","parameters","quantities","transformed","generated"],r=["for","in","if","else","while","break","continue","return"],i=["array","tuple","complex","int","real","vector","complex_vector","ordered","positive_ordered","simplex","unit_vector","row_vector","complex_row_vector","matrix","complex_matrix","cholesky_factor_corr|10","cholesky_factor_cov|10","corr_matrix|10","cov_matrix|10","void"],o=["abs","acos","acosh","add_diag","algebra_solver","algebra_solver_newton","append_array","append_col","append_row","asin","asinh","atan","atan2","atanh","bessel_first_kind","bessel_second_kind","binary_log_loss","block","cbrt","ceil","chol2inv","cholesky_decompose","choose","col","cols","columns_dot_product","columns_dot_self","complex_schur_decompose","complex_schur_decompose_t","complex_schur_decompose_u","conj","cos","cosh","cov_exp_quad","crossprod","csr_extract","csr_extract_u","csr_extract_v","csr_extract_w","csr_matrix_times_vector","csr_to_dense_matrix","cumulative_sum","dae","dae_tol","determinant","diag_matrix","diagonal","diag_post_multiply","diag_pre_multiply","digamma","dims","distance","dot_product","dot_self","eigendecompose","eigendecompose_sym","eigenvalues","eigenvalues_sym","eigenvectors","eigenvectors_sym","erf","erfc","exp","exp2","expm1","falling_factorial","fdim","fft","fft2","floor","fma","fmax","fmin","fmod","gamma_p","gamma_q","generalized_inverse","get_imag","get_real","head","hmm_hidden_state_prob","hmm_marginal","hypot","identity_matrix","inc_beta","integrate_1d","integrate_ode","integrate_ode_adams","integrate_ode_bdf","integrate_ode_rk45","int_step","inv","inv_cloglog","inv_erfc","inverse","inverse_spd","inv_fft","inv_fft2","inv_inc_beta","inv_logit","inv_Phi","inv_sqrt","inv_square","is_inf","is_nan","lambert_w0","lambert_wm1","lbeta","lchoose","ldexp","lgamma","linspaced_array","linspaced_int_array","linspaced_row_vector","linspaced_vector","lmgamma","lmultiply","log","log1m","log1m_exp","log1m_inv_logit","log1p","log1p_exp","log_determinant","log_diff_exp","log_falling_factorial","log_inv_logit","log_inv_logit_diff","logit","log_mix","log_modified_bessel_first_kind","log_rising_factorial","log_softmax","log_sum_exp","machine_precision","map_rect","matrix_exp","matrix_exp_multiply","matrix_power","max","mdivide_left_spd","mdivide_left_tri_low","mdivide_right_spd","mdivide_right_tri_low","mean","min","modified_bessel_first_kind","modified_bessel_second_kind","multiply_lower_tri_self_transpose","negative_infinity","norm","norm1","norm2","not_a_number","num_elements","ode_adams","ode_adams_tol","ode_adjoint_tol_ctl","ode_bdf","ode_bdf_tol","ode_ckrk","ode_ckrk_tol","ode_rk45","ode_rk45_tol","one_hot_array","one_hot_int_array","one_hot_row_vector","one_hot_vector","ones_array","ones_int_array","ones_row_vector","ones_vector","owens_t","Phi","Phi_approx","polar","positive_infinity","pow","print","prod","proj","qr","qr_Q","qr_R","qr_thin","qr_thin_Q","qr_thin_R","quad_form","quad_form_diag","quad_form_sym","quantile","rank","reduce_sum","reject","rep_array","rep_matrix","rep_row_vector","rep_vector","reverse","rising_factorial","round","row","rows","rows_dot_product","rows_dot_self","scale_matrix_exp_multiply","sd","segment","sin","singular_values","sinh","size","softmax","sort_asc","sort_desc","sort_indices_asc","sort_indices_desc","sqrt","square","squared_distance","step","sub_col","sub_row","sum","svd","svd_U","svd_V","symmetrize_from_lower_tri","tail","tan","tanh","target","tcrossprod","tgamma","to_array_1d","to_array_2d","to_complex","to_int","to_matrix","to_row_vector","to_vector","trace","trace_gen_quad_form","trace_quad_form","trigamma","trunc","uniform_simplex","variance","zeros_array","zeros_int_array","zeros_row_vector"],a=["bernoulli","bernoulli_logit","bernoulli_logit_glm","beta","beta_binomial","beta_proportion","binomial","binomial_logit","categorical","categorical_logit","categorical_logit_glm","cauchy","chi_square","dirichlet","discrete_range","double_exponential","exp_mod_normal","exponential","frechet","gamma","gaussian_dlm_obs","gumbel","hmm_latent","hypergeometric","inv_chi_square","inv_gamma","inv_wishart","inv_wishart_cholesky","lkj_corr","lkj_corr_cholesky","logistic","loglogistic","lognormal","multi_gp","multi_gp_cholesky","multinomial","multinomial_logit","multi_normal","multi_normal_cholesky","multi_normal_prec","multi_student_cholesky_t","multi_student_t","multi_student_t_cholesky","neg_binomial","neg_binomial_2","neg_binomial_2_log","neg_binomial_2_log_glm","normal","normal_id_glm","ordered_logistic","ordered_logistic_glm","ordered_probit","pareto","pareto_type_2","poisson","poisson_log","poisson_log_glm","rayleigh","scaled_inv_chi_square","skew_double_exponential","skew_normal","std_normal","std_normal_log","student_t","uniform","von_mises","weibull","wiener","wishart","wishart_cholesky"],s=t.COMMENT(/\/\*/,/\*\//,{relevance:0,contains:[{scope:"doctag",match:/@(return|param)/}]}),l={scope:"meta",begin:/#include\b/,end:/$/,contains:[{match:/[a-z][a-z-._]+/,scope:"string"},t.C_LINE_COMMENT_MODE]},c=["lower","upper","offset","multiplier"];return{name:"Stan",aliases:["stanfuncs"],keywords:{$pattern:t.IDENT_RE,title:n,type:i,keyword:r,built_in:o},contains:[t.C_LINE_COMMENT_MODE,l,t.HASH_COMMENT_MODE,s,{scope:"built_in",match:/\s(pi|e|sqrt2|log2|log10)(?=\()/,relevance:0},{match:e.concat(/[<,]\s*/,e.either(...c),/\s*=/),keywords:c},{scope:"keyword",match:/\btarget(?=\s*\+=)/},{match:[/~\s*/,e.either(...a),/(?:\(\))/,/\s*T(?=\s*\[)/],scope:{2:"built_in",4:"keyword"}},{scope:"built_in",keywords:a,begin:e.concat(/\w*/,e.either(...a),/(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/)},{begin:[/~/,/\s*/,e.concat(e.either(...a),/(?=\s*[\(.*\)])/)],scope:{3:"built_in"}},{begin:[/~/,/\s*\w+(?=\s*[\(.*\)])/,"(?!.*/\b("+e.either(...a)+")\b)"],scope:{2:"title.function"}},{scope:"title.function",begin:/\w*(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/},{scope:"number",match:e.concat(/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)/,/(?:[eE][+-]?\d+(?:_\d+)*)?i?(?!\w)/),relevance:0},{scope:"string",begin:/"/,end:/"/}]}}function ND(t){return{name:"Stata",aliases:["do","ado"],case_insensitive:!0,keywords:"if else in foreach for forv forva forval forvalu forvalue forvalues by bys bysort xi quietly qui capture about ac ac_7 acprplot acprplot_7 adjust ado adopath adoupdate alpha ameans an ano anov anova anova_estat anova_terms anovadef aorder ap app appe appen append arch arch_dr arch_estat arch_p archlm areg areg_p args arima arima_dr arima_estat arima_p as asmprobit asmprobit_estat asmprobit_lf asmprobit_mfx__dlg asmprobit_p ass asse asser assert avplot avplot_7 avplots avplots_7 bcskew0 bgodfrey bias binreg bip0_lf biplot bipp_lf bipr_lf bipr_p biprobit bitest bitesti bitowt blogit bmemsize boot bootsamp bootstrap bootstrap_8 boxco_l boxco_p boxcox boxcox_6 boxcox_p bprobit br break brier bro brow brows browse brr brrstat bs bs_7 bsampl_w bsample bsample_7 bsqreg bstat bstat_7 bstat_8 bstrap bstrap_7 bubble bubbleplot ca ca_estat ca_p cabiplot camat canon canon_8 canon_8_p canon_estat canon_p cap caprojection capt captu captur capture cat cc cchart cchart_7 cci cd censobs_table centile cf char chdir checkdlgfiles checkestimationsample checkhlpfiles checksum chelp ci cii cl class classutil clear cli clis clist clo clog clog_lf clog_p clogi clogi_sw clogit clogit_lf clogit_p clogitp clogl_sw cloglog clonevar clslistarray cluster cluster_measures cluster_stop cluster_tree cluster_tree_8 clustermat cmdlog cnr cnre cnreg cnreg_p cnreg_sw cnsreg codebook collaps4 collapse colormult_nb colormult_nw compare compress conf confi confir confirm conren cons const constr constra constrai constrain constraint continue contract copy copyright copysource cor corc corr corr2data corr_anti corr_kmo corr_smc corre correl correla correlat correlate corrgram cou coun count cox cox_p cox_sw coxbase coxhaz coxvar cprplot cprplot_7 crc cret cretu cretur creturn cross cs cscript cscript_log csi ct ct_is ctset ctst_5 ctst_st cttost cumsp cumsp_7 cumul cusum cusum_7 cutil d|0 datasig datasign datasigna datasignat datasignatu datasignatur datasignature datetof db dbeta de dec deco decod decode deff des desc descr descri describ describe destring dfbeta dfgls dfuller di di_g dir dirstats dis discard disp disp_res disp_s displ displa display distinct do doe doed doedi doedit dotplot dotplot_7 dprobit drawnorm drop ds ds_util dstdize duplicates durbina dwstat dydx e|0 ed edi edit egen eivreg emdef en enc enco encod encode eq erase ereg ereg_lf ereg_p ereg_sw ereghet ereghet_glf ereghet_glf_sh ereghet_gp ereghet_ilf ereghet_ilf_sh ereghet_ip eret eretu eretur ereturn err erro error esize est est_cfexist est_cfname est_clickable est_expand est_hold est_table est_unhold est_unholdok estat estat_default estat_summ estat_vce_only esti estimates etodow etof etomdy ex exi exit expand expandcl fac fact facto factor factor_estat factor_p factor_pca_rotated factor_rotate factormat fcast fcast_compute fcast_graph fdades fdadesc fdadescr fdadescri fdadescrib fdadescribe fdasav fdasave fdause fh_st file open file read file close file filefilter fillin find_hlp_file findfile findit findit_7 fit fl fli flis flist for5_0 forest forestplot form forma format fpredict frac_154 frac_adj frac_chk frac_cox frac_ddp frac_dis frac_dv frac_in frac_mun frac_pp frac_pq frac_pv frac_wgt frac_xo fracgen fracplot fracplot_7 fracpoly fracpred fron_ex fron_hn fron_p fron_tn fron_tn2 frontier ftodate ftoe ftomdy ftowdate funnel funnelplot g|0 gamhet_glf gamhet_gp gamhet_ilf gamhet_ip gamma gamma_d2 gamma_p gamma_sw gammahet gdi_hexagon gdi_spokes ge gen gene gener genera generat generate genrank genstd genvmean gettoken gl gladder gladder_7 glim_l01 glim_l02 glim_l03 glim_l04 glim_l05 glim_l06 glim_l07 glim_l08 glim_l09 glim_l10 glim_l11 glim_l12 glim_lf glim_mu glim_nw1 glim_nw2 glim_nw3 glim_p glim_v1 glim_v2 glim_v3 glim_v4 glim_v5 glim_v6 glim_v7 glm glm_6 glm_p glm_sw glmpred glo glob globa global glogit glogit_8 glogit_p gmeans gnbre_lf gnbreg gnbreg_5 gnbreg_p gomp_lf gompe_sw gomper_p gompertz gompertzhet gomphet_glf gomphet_glf_sh gomphet_gp gomphet_ilf gomphet_ilf_sh gomphet_ip gphdot gphpen gphprint gprefs gprobi_p gprobit gprobit_8 gr gr7 gr_copy gr_current gr_db gr_describe gr_dir gr_draw gr_draw_replay gr_drop gr_edit gr_editviewopts gr_example gr_example2 gr_export gr_print gr_qscheme gr_query gr_read gr_rename gr_replay gr_save gr_set gr_setscheme gr_table gr_undo gr_use graph graph7 grebar greigen greigen_7 greigen_8 grmeanby grmeanby_7 gs_fileinfo gs_filetype gs_graphinfo gs_stat gsort gwood h|0 hadimvo hareg hausman haver he heck_d2 heckma_p heckman heckp_lf heckpr_p heckprob hel help hereg hetpr_lf hetpr_p hetprob hettest hexdump hilite hist hist_7 histogram hlogit hlu hmeans hotel hotelling hprobit hreg hsearch icd9 icd9_ff icd9p iis impute imtest inbase include inf infi infil infile infix inp inpu input ins insheet insp inspe inspec inspect integ inten intreg intreg_7 intreg_p intrg2_ll intrg_ll intrg_ll2 ipolate iqreg ir irf irf_create irfm iri is_svy is_svysum isid istdize ivprob_1_lf ivprob_lf ivprobit ivprobit_p ivreg ivreg_footnote ivtob_1_lf ivtob_lf ivtobit ivtobit_p jackknife jacknife jknife jknife_6 jknife_8 jkstat joinby kalarma1 kap kap_3 kapmeier kappa kapwgt kdensity kdensity_7 keep ksm ksmirnov ktau kwallis l|0 la lab labbe labbeplot labe label labelbook ladder levels levelsof leverage lfit lfit_p li lincom line linktest lis list lloghet_glf lloghet_glf_sh lloghet_gp lloghet_ilf lloghet_ilf_sh lloghet_ip llogi_sw llogis_p llogist llogistic llogistichet lnorm_lf lnorm_sw lnorma_p lnormal lnormalhet lnormhet_glf lnormhet_glf_sh lnormhet_gp lnormhet_ilf lnormhet_ilf_sh lnormhet_ip lnskew0 loadingplot loc loca local log logi logis_lf logistic logistic_p logit logit_estat logit_p loglogs logrank loneway lookfor lookup lowess lowess_7 lpredict lrecomp lroc lroc_7 lrtest ls lsens lsens_7 lsens_x lstat ltable ltable_7 ltriang lv lvr2plot lvr2plot_7 m|0 ma mac macr macro makecns man manova manova_estat manova_p manovatest mantel mark markin markout marksample mat mat_capp mat_order mat_put_rr mat_rapp mata mata_clear mata_describe mata_drop mata_matdescribe mata_matsave mata_matuse mata_memory mata_mlib mata_mosave mata_rename mata_which matalabel matcproc matlist matname matr matri matrix matrix_input__dlg matstrik mcc mcci md0_ md1_ md1debug_ md2_ md2debug_ mds mds_estat mds_p mdsconfig mdslong mdsmat mdsshepard mdytoe mdytof me_derd mean means median memory memsize menl meqparse mer merg merge meta mfp mfx mhelp mhodds minbound mixed_ll mixed_ll_reparm mkassert mkdir mkmat mkspline ml ml_5 ml_adjs ml_bhhhs ml_c_d ml_check ml_clear ml_cnt ml_debug ml_defd ml_e0 ml_e0_bfgs ml_e0_cycle ml_e0_dfp ml_e0i ml_e1 ml_e1_bfgs ml_e1_bhhh ml_e1_cycle ml_e1_dfp ml_e2 ml_e2_cycle ml_ebfg0 ml_ebfr0 ml_ebfr1 ml_ebh0q ml_ebhh0 ml_ebhr0 ml_ebr0i ml_ecr0i ml_edfp0 ml_edfr0 ml_edfr1 ml_edr0i ml_eds ml_eer0i ml_egr0i ml_elf ml_elf_bfgs ml_elf_bhhh ml_elf_cycle ml_elf_dfp ml_elfi ml_elfs ml_enr0i ml_enrr0 ml_erdu0 ml_erdu0_bfgs ml_erdu0_bhhh ml_erdu0_bhhhq ml_erdu0_cycle ml_erdu0_dfp ml_erdu0_nrbfgs ml_exde ml_footnote ml_geqnr ml_grad0 ml_graph ml_hbhhh ml_hd0 ml_hold ml_init ml_inv ml_log ml_max ml_mlout ml_mlout_8 ml_model ml_nb0 ml_opt ml_p ml_plot ml_query ml_rdgrd ml_repor ml_s_e ml_score ml_searc ml_technique ml_unhold mleval mlf_ mlmatbysum mlmatsum mlog mlogi mlogit mlogit_footnote mlogit_p mlopts mlsum mlvecsum mnl0_ mor more mov move mprobit mprobit_lf mprobit_p mrdu0_ mrdu1_ mvdecode mvencode mvreg mvreg_estat n|0 nbreg nbreg_al nbreg_lf nbreg_p nbreg_sw nestreg net newey newey_7 newey_p news nl nl_7 nl_9 nl_9_p nl_p nl_p_7 nlcom nlcom_p nlexp2 nlexp2_7 nlexp2a nlexp2a_7 nlexp3 nlexp3_7 nlgom3 nlgom3_7 nlgom4 nlgom4_7 nlinit nllog3 nllog3_7 nllog4 nllog4_7 nlog_rd nlogit nlogit_p nlogitgen nlogittree nlpred no nobreak noi nois noisi noisil noisily note notes notes_dlg nptrend numlabel numlist odbc old_ver olo olog ologi ologi_sw ologit ologit_p ologitp on one onew onewa oneway op_colnm op_comp op_diff op_inv op_str opr opro oprob oprob_sw oprobi oprobi_p oprobit oprobitp opts_exclusive order orthog orthpoly ou out outf outfi outfil outfile outs outsh outshe outshee outsheet ovtest pac pac_7 palette parse parse_dissim pause pca pca_8 pca_display pca_estat pca_p pca_rotate pcamat pchart pchart_7 pchi pchi_7 pcorr pctile pentium pergram pergram_7 permute permute_8 personal peto_st pkcollapse pkcross pkequiv pkexamine pkexamine_7 pkshape pksumm pksumm_7 pl plo plot plugin pnorm pnorm_7 poisgof poiss_lf poiss_sw poisso_p poisson poisson_estat post postclose postfile postutil pperron pr prais prais_e prais_e2 prais_p predict predictnl preserve print pro prob probi probit probit_estat probit_p proc_time procoverlay procrustes procrustes_estat procrustes_p profiler prog progr progra program prop proportion prtest prtesti pwcorr pwd q\\s qby qbys qchi qchi_7 qladder qladder_7 qnorm qnorm_7 qqplot qqplot_7 qreg qreg_c qreg_p qreg_sw qu quadchk quantile quantile_7 que quer query range ranksum ratio rchart rchart_7 rcof recast reclink recode reg reg3 reg3_p regdw regr regre regre_p2 regres regres_p regress regress_estat regriv_p remap ren rena renam rename renpfix repeat replace report reshape restore ret retu retur return rm rmdir robvar roccomp roccomp_7 roccomp_8 rocf_lf rocfit rocfit_8 rocgold rocplot rocplot_7 roctab roctab_7 rolling rologit rologit_p rot rota rotat rotate rotatemat rreg rreg_p ru run runtest rvfplot rvfplot_7 rvpplot rvpplot_7 sa safesum sample sampsi sav save savedresults saveold sc sca scal scala scalar scatter scm_mine sco scob_lf scob_p scobi_sw scobit scor score scoreplot scoreplot_help scree screeplot screeplot_help sdtest sdtesti se search separate seperate serrbar serrbar_7 serset set set_defaults sfrancia sh she shel shell shewhart shewhart_7 signestimationsample signrank signtest simul simul_7 simulate simulate_8 sktest sleep slogit slogit_d2 slogit_p smooth snapspan so sor sort spearman spikeplot spikeplot_7 spikeplt spline_x split sqreg sqreg_p sret sretu sretur sreturn ssc st st_ct st_hc st_hcd st_hcd_sh st_is st_issys st_note st_promo st_set st_show st_smpl st_subid stack statsby statsby_8 stbase stci stci_7 stcox stcox_estat stcox_fr stcox_fr_ll stcox_p stcox_sw stcoxkm stcoxkm_7 stcstat stcurv stcurve stcurve_7 stdes stem stepwise stereg stfill stgen stir stjoin stmc stmh stphplot stphplot_7 stphtest stphtest_7 stptime strate strate_7 streg streg_sw streset sts sts_7 stset stsplit stsum sttocc sttoct stvary stweib su suest suest_8 sum summ summa summar summari summariz summarize sunflower sureg survcurv survsum svar svar_p svmat svy svy_disp svy_dreg svy_est svy_est_7 svy_estat svy_get svy_gnbreg_p svy_head svy_header svy_heckman_p svy_heckprob_p svy_intreg_p svy_ivreg_p svy_logistic_p svy_logit_p svy_mlogit_p svy_nbreg_p svy_ologit_p svy_oprobit_p svy_poisson_p svy_probit_p svy_regress_p svy_sub svy_sub_7 svy_x svy_x_7 svy_x_p svydes svydes_8 svygen svygnbreg svyheckman svyheckprob svyintreg svyintreg_7 svyintrg svyivreg svylc svylog_p svylogit svymarkout svymarkout_8 svymean svymlog svymlogit svynbreg svyolog svyologit svyoprob svyoprobit svyopts svypois svypois_7 svypoisson svyprobit svyprobt svyprop svyprop_7 svyratio svyreg svyreg_p svyregress svyset svyset_7 svyset_8 svytab svytab_7 svytest svytotal sw sw_8 swcnreg swcox swereg swilk swlogis swlogit swologit swoprbt swpois swprobit swqreg swtobit swweib symmetry symmi symplot symplot_7 syntax sysdescribe sysdir sysuse szroeter ta tab tab1 tab2 tab_or tabd tabdi tabdis tabdisp tabi table tabodds tabodds_7 tabstat tabu tabul tabula tabulat tabulate te tempfile tempname tempvar tes test testnl testparm teststd tetrachoric time_it timer tis tob tobi tobit tobit_p tobit_sw token tokeni tokeniz tokenize tostring total translate translator transmap treat_ll treatr_p treatreg trim trimfill trnb_cons trnb_mean trpoiss_d2 trunc_ll truncr_p truncreg tsappend tset tsfill tsline tsline_ex tsreport tsrevar tsrline tsset tssmooth tsunab ttest ttesti tut_chk tut_wait tutorial tw tware_st two twoway twoway__fpfit_serset twoway__function_gen twoway__histogram_gen twoway__ipoint_serset twoway__ipoints_serset twoway__kdensity_gen twoway__lfit_serset twoway__normgen_gen twoway__pci_serset twoway__qfit_serset twoway__scatteri_serset twoway__sunflower_gen twoway_ksm_serset ty typ type typeof u|0 unab unabbrev unabcmd update us use uselabel var var_mkcompanion var_p varbasic varfcast vargranger varirf varirf_add varirf_cgraph varirf_create varirf_ctable varirf_describe varirf_dir varirf_drop varirf_erase varirf_graph varirf_ograph varirf_rename varirf_set varirf_table varlist varlmar varnorm varsoc varstable varstable_w varstable_w2 varwle vce vec vec_fevd vec_mkphi vec_p vec_p_w vecirf_create veclmar veclmar_w vecnorm vecnorm_w vecrank vecstable verinst vers versi versio version view viewsource vif vwls wdatetof webdescribe webseek webuse weib1_lf weib2_lf weib_lf weib_lf0 weibhet_glf weibhet_glf_sh weibhet_glfa weibhet_glfa_sh weibhet_gp weibhet_ilf weibhet_ilf_sh weibhet_ilfa weibhet_ilfa_sh weibhet_ip weibu_sw weibul_p weibull weibull_c weibull_s weibullhet wh whelp whi which whil while wilc_st wilcoxon win wind windo window winexec wntestb wntestb_7 wntestq xchart xchart_7 xcorr xcorr_7 xi xi_6 xmlsav xmlsave xmluse xpose xsh xshe xshel xshell xt_iis xt_tis xtab_p xtabond xtbin_p xtclog xtcloglog xtcloglog_8 xtcloglog_d2 xtcloglog_pa_p xtcloglog_re_p xtcnt_p xtcorr xtdata xtdes xtfront_p xtfrontier xtgee xtgee_elink xtgee_estat xtgee_makeivar xtgee_p xtgee_plink xtgls xtgls_p xthaus xthausman xtht_p xthtaylor xtile xtint_p xtintreg xtintreg_8 xtintreg_d2 xtintreg_p xtivp_1 xtivp_2 xtivreg xtline xtline_ex xtlogit xtlogit_8 xtlogit_d2 xtlogit_fe_p xtlogit_pa_p xtlogit_re_p xtmixed xtmixed_estat xtmixed_p xtnb_fe xtnb_lf xtnbreg xtnbreg_pa_p xtnbreg_refe_p xtpcse xtpcse_p xtpois xtpoisson xtpoisson_d2 xtpoisson_pa_p xtpoisson_refe_p xtpred xtprobit xtprobit_8 xtprobit_d2 xtprobit_re_p xtps_fe xtps_lf xtps_ren xtps_ren_8 xtrar_p xtrc xtrc_p xtrchh xtrefe_p xtreg xtreg_be xtreg_fe xtreg_ml xtreg_pa_p xtreg_re xtregar xtrere_p xtset xtsf_ll xtsf_llti xtsum xttab xttest0 xttobit xttobit_8 xttobit_p xttrans yx yxview__barlike_draw yxview_area_draw yxview_bar_draw yxview_dot_draw yxview_dropline_draw yxview_function_draw yxview_iarrow_draw yxview_ilabels_draw yxview_normal_draw yxview_pcarrow_draw yxview_pcbarrow_draw yxview_pccapsym_draw yxview_pcscatter_draw yxview_pcspike_draw yxview_rarea_draw yxview_rbar_draw yxview_rbarm_draw yxview_rcap_draw yxview_rcapsym_draw yxview_rconnected_draw yxview_rline_draw yxview_rscatter_draw yxview_rspike_draw yxview_spike_draw yxview_sunflower_draw zap_s zinb zinb_llf zinb_plf zip zip_llf zip_p zip_plf zt_ct_5 zt_hc_5 zt_hcd_5 zt_is_5 zt_iss_5 zt_sho_5 zt_smp_5 ztbase_5 ztcox_5 ztdes_5 ztereg_5 ztfill_5 ztgen_5 ztir_5 ztjoin_5 ztnb ztnb_p ztp ztp_p zts_5 ztset_5 ztspli_5 ztsum_5 zttoct_5 ztvary_5 ztweib_5",contains:[{className:"symbol",begin:/`[a-zA-Z0-9_]+'/},{className:"variable",begin:/\$\{?[a-zA-Z0-9_]+\}?/,relevance:0},{className:"string",variants:[{begin:`\`"[^\r + ${(l=this.options.languages)==null?void 0:l.map(c=>`
${c.name}
`).join("")}`,s.addEventListener("click",c=>{const u=c.target.closest(".aie-codeblock-langs-item");if(u){const d=u.getAttribute("data-item");t.editor.chain().setCodeBlock({language:d}).run()}}),s},i=we(e.querySelector(".aie-codeblock-tools-lang"),{content:r(),appendTo:t.editor.options.element,placement:"bottom-end",trigger:"click",interactive:!0,arrow:!1,aria:{content:null,expanded:!1}});return(o=e.querySelector(".aie-codeblock-tools-comments"))==null||o.addEventListener("click",s=>{const l=t.editor.view.posAtCoords({left:s.clientX,top:s.clientY}),c=t.editor.state.doc.resolve(l.pos).parent;t.editor.chain().addCodeComments(c,l.pos)}),(a=e.querySelector(".aie-codeblock-tools-explain"))==null||a.addEventListener("click",s=>{const l=t.editor.view.posAtCoords({left:s.clientX,top:s.clientY}),c=t.editor.state.doc.resolve(l.pos).parent;t.editor.chain().addCodeExplain(c,l.pos)}),{dom:e,contentDOM:e.querySelector("code"),destroy:()=>{i.destroy()}}}}});function KA(t){const e="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+",i="далее "+"возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ",s="загрузитьизфайла "+"вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент ",p="разделительстраниц разделительстрок символтабуляции "+"ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов датагод датамесяц датачисло заголовоксистемы значениевстроку значениеизстроки каталогиб каталогпользователя кодсимв конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца коннедели лог лог10 максимальноеколичествосубконто названиеинтерфейса названиенабораправ назначитьвид назначитьсчет найтиссылки началопериодаби началостандартногоинтервала начгода начквартала начмесяца начнедели номерднягода номерднянедели номернеделигода обработкаожидания основнойжурналрасчетов основнойплансчетов основнойязык очиститьокносообщений периодстр получитьвремята получитьдатута получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта префиксавтонумерации пропись пустоезначение разм разобратьпозициюдокумента рассчитатьрегистрына рассчитатьрегистрыпо симв создатьобъект статусвозврата стрколичествострок сформироватьпозициюдокумента счетпокоду текущеевремя типзначения типзначениястр установитьтана установитьтапо фиксшаблон шаблон "+"acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока xmlтип xmlтипзнч активноеокно безопасныйрежим безопасныйрежимразделенияданных булево ввестидату ввестизначение ввестистроку ввестичисло возможностьчтенияxml вопрос восстановитьзначение врег выгрузитьжурналрегистрации выполнитьобработкуоповещения выполнитьпроверкуправдоступа вычислить год данныеформывзначение дата день деньгода деньнедели добавитьмесяц заблокироватьданныедляредактирования заблокироватьработупользователя завершитьработусистемы загрузитьвнешнююкомпоненту закрытьсправку записатьjson записатьxml записатьдатуjson записьжурналарегистрации заполнитьзначениясвойств запроситьразрешениепользователя запуститьприложение запуститьсистему зафиксироватьтранзакцию значениевданныеформы значениевстрокувнутр значениевфайл значениезаполнено значениеизстрокивнутр значениеизфайла изxmlтипа импортмоделиxdto имякомпьютера имяпользователя инициализироватьпредопределенныеданные информацияобошибке каталогбиблиотекимобильногоустройства каталогвременныхфайлов каталогдокументов каталогпрограммы кодироватьстроку кодлокализацииинформационнойбазы кодсимвола командасистемы конецгода конецдня конецквартала конецмесяца конецминуты конецнедели конецчаса конфигурациябазыданныхизмененадинамически конфигурацияизменена копироватьданныеформы копироватьфайл краткоепредставлениеошибки лев макс местноевремя месяц мин минута монопольныйрежим найти найтинедопустимыесимволыxml найтиокнопонавигационнойссылке найтипомеченныенаудаление найтипоссылкам найтифайлы началогода началодня началоквартала началомесяца началоминуты началонедели началочаса начатьзапросразрешенияпользователя начатьзапускприложения начатькопированиефайла начатьперемещениефайла начатьподключениевнешнейкомпоненты начатьподключениерасширенияработыскриптографией начатьподключениерасширенияработысфайлами начатьпоискфайлов начатьполучениекаталогавременныхфайлов начатьполучениекаталогадокументов начатьполучениерабочегокаталогаданныхпользователя начатьполучениефайлов начатьпомещениефайла начатьпомещениефайлов начатьсозданиедвоичныхданныхизфайла начатьсозданиекаталога начатьтранзакцию начатьудалениефайлов начатьустановкувнешнейкомпоненты начатьустановкурасширенияработыскриптографией начатьустановкурасширенияработысфайлами неделягода необходимостьзавершениясоединения номерсеансаинформационнойбазы номерсоединенияинформационнойбазы нрег нстр обновитьинтерфейс обновитьнумерациюобъектов обновитьповторноиспользуемыезначения обработкапрерыванияпользователя объединитьфайлы окр описаниеошибки оповестить оповеститьобизменении отключитьобработчикзапросанастроекклиенталицензирования отключитьобработчикожидания отключитьобработчикоповещения открытьзначение открытьиндекссправки открытьсодержаниесправки открытьсправку открытьформу открытьформумодально отменитьтранзакцию очиститьжурналрегистрации очиститьнастройкипользователя очиститьсообщения параметрыдоступа перейтипонавигационнойссылке переместитьфайл подключитьвнешнююкомпоненту подключитьобработчикзапросанастроекклиенталицензирования подключитьобработчикожидания подключитьобработчикоповещения подключитьрасширениеработыскриптографией подключитьрасширениеработысфайлами подробноепредставлениеошибки показатьвводдаты показатьвводзначения показатьвводстроки показатьвводчисла показатьвопрос показатьзначение показатьинформациюобошибке показатьнакарте показатьоповещениепользователя показатьпредупреждение полноеимяпользователя получитьcomобъект получитьxmlтип получитьадреспоместоположению получитьблокировкусеансов получитьвремязавершенияспящегосеанса получитьвремязасыпанияпассивногосеанса получитьвремяожиданияблокировкиданных получитьданныевыбора получитьдополнительныйпараметрклиенталицензирования получитьдопустимыекодылокализации получитьдопустимыечасовыепояса получитьзаголовокклиентскогоприложения получитьзаголовоксистемы получитьзначенияотборажурналарегистрации получитьидентификаторконфигурации получитьизвременногохранилища получитьимявременногофайла получитьимяклиенталицензирования получитьинформациюэкрановклиента получитьиспользованиежурналарегистрации получитьиспользованиесобытияжурналарегистрации получитькраткийзаголовокприложения получитьмакетоформления получитьмаскувсефайлы получитьмаскувсефайлыклиента получитьмаскувсефайлысервера получитьместоположениепоадресу получитьминимальнуюдлинупаролейпользователей получитьнавигационнуюссылку получитьнавигационнуюссылкуинформационнойбазы получитьобновлениеконфигурациибазыданных получитьобновлениепредопределенныхданныхинформационнойбазы получитьобщиймакет получитьобщуюформу получитьокна получитьоперативнуюотметкувремени получитьотключениебезопасногорежима получитьпараметрыфункциональныхопцийинтерфейса получитьполноеимяпредопределенногозначения получитьпредставлениянавигационныхссылок получитьпроверкусложностипаролейпользователей получитьразделительпути получитьразделительпутиклиента получитьразделительпутисервера получитьсеансыинформационнойбазы получитьскоростьклиентскогосоединения получитьсоединенияинформационнойбазы получитьсообщенияпользователю получитьсоответствиеобъектаиформы получитьсоставстандартногоинтерфейсаodata получитьструктурухранениябазыданных получитьтекущийсеансинформационнойбазы получитьфайл получитьфайлы получитьформу получитьфункциональнуюопцию получитьфункциональнуюопциюинтерфейса получитьчасовойпоясинформационнойбазы пользователиос поместитьвовременноехранилище поместитьфайл поместитьфайлы прав праводоступа предопределенноезначение представлениекодалокализации представлениепериода представлениеправа представлениеприложения представлениесобытияжурналарегистрации представлениечасовогопояса предупреждение прекратитьработусистемы привилегированныйрежим продолжитьвызов прочитатьjson прочитатьxml прочитатьдатуjson пустаястрока рабочийкаталогданныхпользователя разблокироватьданныедляредактирования разделитьфайл разорватьсоединениесвнешнимисточникомданных раскодироватьстроку рольдоступна секунда сигнал символ скопироватьжурналрегистрации смещениелетнеговремени смещениестандартноговремени соединитьбуферыдвоичныхданных создатькаталог создатьфабрикуxdto сокрл сокрлп сокрп сообщить состояние сохранитьзначение сохранитьнастройкипользователя сред стрдлина стрзаканчиваетсяна стрзаменить стрнайти стрначинаетсяс строка строкасоединенияинформационнойбазы стрполучитьстроку стрразделить стрсоединить стрсравнить стрчисловхождений стрчислострок стршаблон текущаядата текущаядатасеанса текущаяуниверсальнаядата текущаяуниверсальнаядатавмиллисекундах текущийвариантинтерфейсаклиентскогоприложения текущийвариантосновногошрифтаклиентскогоприложения текущийкодлокализации текущийрежимзапуска текущийязык текущийязыксистемы тип типзнч транзакцияактивна трег удалитьданныеинформационнойбазы удалитьизвременногохранилища удалитьобъекты удалитьфайлы универсальноевремя установитьбезопасныйрежим установитьбезопасныйрежимразделенияданных установитьблокировкусеансов установитьвнешнююкомпоненту установитьвремязавершенияспящегосеанса установитьвремязасыпанияпассивногосеанса установитьвремяожиданияблокировкиданных установитьзаголовокклиентскогоприложения установитьзаголовоксистемы установитьиспользованиежурналарегистрации установитьиспользованиесобытияжурналарегистрации установитькраткийзаголовокприложения установитьминимальнуюдлинупаролейпользователей установитьмонопольныйрежим установитьнастройкиклиенталицензирования установитьобновлениепредопределенныхданныхинформационнойбазы установитьотключениебезопасногорежима установитьпараметрыфункциональныхопцийинтерфейса установитьпривилегированныйрежим установитьпроверкусложностипаролейпользователей установитьрасширениеработыскриптографией установитьрасширениеработысфайлами установитьсоединениесвнешнимисточникомданных установитьсоответствиеобъектаиформы установитьсоставстандартногоинтерфейсаodata установитьчасовойпоясинформационнойбазы установитьчасовойпояссеанса формат цел час часовойпояс часовойпояссеанса число числопрописью этоадресвременногохранилища "+"wsссылки библиотекакартинок библиотекамакетовоформлениякомпоновкиданных библиотекастилей бизнеспроцессы внешниеисточникиданных внешниеобработки внешниеотчеты встроенныепокупки главныйинтерфейс главныйстиль документы доставляемыеуведомления журналыдокументов задачи информацияобинтернетсоединении использованиерабочейдаты историяработыпользователя константы критерииотбора метаданные обработки отображениерекламы отправкадоставляемыхуведомлений отчеты панельзадачос параметрзапуска параметрысеанса перечисления планывидоврасчета планывидовхарактеристик планыобмена планысчетов полнотекстовыйпоиск пользователиинформационнойбазы последовательности проверкавстроенныхпокупок рабочаядата расширенияконфигурации регистрыбухгалтерии регистрынакопления регистрырасчета регистрысведений регламентныезадания сериализаторxdto справочники средствагеопозиционирования средствакриптографии средствамультимедиа средстваотображениярекламы средствапочты средствателефонии фабрикаxdto файловыепотоки фоновыезадания хранилищанастроек хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ",A="webцвета windowsцвета windowsшрифты библиотекакартинок рамкистиля символы цветастиля шрифтыстиля "+"автоматическоесохранениеданныхформывнастройках автонумерациявформе автораздвижениесерий анимациядиаграммы вариантвыравниванияэлементовизаголовков вариантуправлениявысотойтаблицы вертикальнаяпрокруткаформы вертикальноеположение вертикальноеположениеэлемента видгруппыформы виддекорацииформы виддополненияэлементаформы видизмененияданных видкнопкиформы видпереключателя видподписейкдиаграмме видполяформы видфлажка влияниеразмеранапузырекдиаграммы горизонтальноеположение горизонтальноеположениеэлемента группировкаколонок группировкаподчиненныхэлементовформы группыиэлементы действиеперетаскивания дополнительныйрежимотображения допустимыедействияперетаскивания интервалмеждуэлементамиформы использованиевывода использованиеполосыпрокрутки используемоезначениеточкибиржевойдиаграммы историявыборапривводе источникзначенийоситочекдиаграммы источникзначенияразмерапузырькадиаграммы категориягруппыкоманд максимумсерий начальноеотображениедерева начальноеотображениесписка обновлениетекстаредактирования ориентациядендрограммы ориентациядиаграммы ориентацияметокдиаграммы ориентацияметоксводнойдиаграммы ориентацияэлементаформы отображениевдиаграмме отображениевлегендедиаграммы отображениегруппыкнопок отображениезаголовкашкалыдиаграммы отображениезначенийсводнойдиаграммы отображениезначенияизмерительнойдиаграммы отображениеинтерваладиаграммыганта отображениекнопки отображениекнопкивыбора отображениеобсужденийформы отображениеобычнойгруппы отображениеотрицательныхзначенийпузырьковойдиаграммы отображениепанелипоиска отображениеподсказки отображениепредупрежденияприредактировании отображениеразметкиполосырегулирования отображениестраницформы отображениетаблицы отображениетекстазначениядиаграммыганта отображениеуправленияобычнойгруппы отображениефигурыкнопки палитрацветовдиаграммы поведениеобычнойгруппы поддержкамасштабадендрограммы поддержкамасштабадиаграммыганта поддержкамасштабасводнойдиаграммы поисквтаблицепривводе положениезаголовкаэлементаформы положениекартинкикнопкиформы положениекартинкиэлементаграфическойсхемы положениекоманднойпанелиформы положениекоманднойпанелиэлементаформы положениеопорнойточкиотрисовки положениеподписейкдиаграмме положениеподписейшкалызначенийизмерительнойдиаграммы положениесостоянияпросмотра положениестрокипоиска положениетекстасоединительнойлинии положениеуправленияпоиском положениешкалывремени порядокотображенияточекгоризонтальнойгистограммы порядоксерийвлегендедиаграммы размеркартинки расположениезаголовкашкалыдиаграммы растягиваниеповертикалидиаграммыганта режимавтоотображениясостояния режимвводастроктаблицы режимвыборанезаполненного режимвыделениядаты режимвыделениястрокитаблицы режимвыделениятаблицы режимизмененияразмера режимизменениясвязанногозначения режимиспользованиядиалогапечати режимиспользованияпараметракоманды режиммасштабированияпросмотра режимосновногоокнаклиентскогоприложения режимоткрытияокнаформы режимотображениявыделения режимотображениягеографическойсхемы режимотображениязначенийсерии режимотрисовкисеткиграфическойсхемы режимполупрозрачностидиаграммы режимпробеловдиаграммы режимразмещениянастранице режимредактированияколонки режимсглаживаниядиаграммы режимсглаживанияиндикатора режимсписказадач сквозноевыравнивание сохранениеданныхформывнастройках способзаполнениятекстазаголовкашкалыдиаграммы способопределенияограничивающегозначениядиаграммы стандартнаягруппакоманд стандартноеоформление статусоповещенияпользователя стильстрелки типаппроксимациилиниитрендадиаграммы типдиаграммы типединицышкалывремени типимпортасерийслоягеографическойсхемы типлиниигеографическойсхемы типлиниидиаграммы типмаркерагеографическойсхемы типмаркерадиаграммы типобластиоформления типорганизацииисточникаданныхгеографическойсхемы типотображениясериислоягеографическойсхемы типотображенияточечногообъектагеографическойсхемы типотображенияшкалыэлементалегендыгеографическойсхемы типпоискаобъектовгеографическойсхемы типпроекциигеографическойсхемы типразмещенияизмерений типразмещенияреквизитовизмерений типрамкиэлементауправления типсводнойдиаграммы типсвязидиаграммыганта типсоединениязначенийпосериямдиаграммы типсоединенияточекдиаграммы типсоединительнойлинии типстороныэлементаграфическойсхемы типформыотчета типшкалырадарнойдиаграммы факторлиниитрендадиаграммы фигуракнопки фигурыграфическойсхемы фиксациявтаблице форматдняшкалывремени форматкартинки ширинаподчиненныхэлементовформы "+"виддвижениябухгалтерии виддвижениянакопления видпериодарегистрарасчета видсчета видточкимаршрутабизнеспроцесса использованиеагрегатарегистранакопления использованиегруппиэлементов использованиережимапроведения использованиесреза периодичностьагрегатарегистранакопления режимавтовремя режимзаписидокумента режимпроведениядокумента "+"авторегистрацияизменений допустимыйномерсообщения отправкаэлементаданных получениеэлементаданных "+"использованиерасшифровкитабличногодокумента ориентациястраницы положениеитоговколоноксводнойтаблицы положениеитоговстроксводнойтаблицы положениетекстаотносительнокартинки расположениезаголовкагруппировкитабличногодокумента способчтениязначенийтабличногодокумента типдвустороннейпечати типзаполненияобластитабличногодокумента типкурсоровтабличногодокумента типлиниирисункатабличногодокумента типлинииячейкитабличногодокумента типнаправленияпереходатабличногодокумента типотображениявыделениятабличногодокумента типотображениялинийсводнойтаблицы типразмещениятекстатабличногодокумента типрисункатабличногодокумента типсмещениятабличногодокумента типузоратабличногодокумента типфайлатабличногодокумента точностьпечати чередованиерасположениястраниц "+"отображениевремениэлементовпланировщика "+"типфайлаформатированногодокумента "+"обходрезультатазапроса типзаписизапроса "+"видзаполнениярасшифровкипостроителяотчета типдобавленияпредставлений типизмеренияпостроителяотчета типразмещенияитогов "+"доступкфайлу режимдиалогавыборафайла режимоткрытияфайла "+"типизмеренияпостроителязапроса "+"видданныханализа методкластеризации типединицыинтервалавременианализаданных типзаполнениятаблицырезультатаанализаданных типиспользованиячисловыхзначенийанализаданных типисточникаданныхпоискаассоциаций типколонкианализаданныхдереворешений типколонкианализаданныхкластеризация типколонкианализаданныхобщаястатистика типколонкианализаданныхпоискассоциаций типколонкианализаданныхпоискпоследовательностей типколонкимоделипрогноза типмерырасстоянияанализаданных типотсеченияправилассоциации типполяанализаданных типстандартизациианализаданных типупорядочиванияправилассоциациианализаданных типупорядочиванияшаблоновпоследовательностейанализаданных типупрощениядереварешений "+"wsнаправлениепараметра вариантxpathxs вариантзаписидатыjson вариантпростоготипаxs видгруппымоделиxs видфасетаxdto действиепостроителяdom завершенностьпростоготипаxs завершенностьсоставноготипаxs завершенностьсхемыxs запрещенныеподстановкиxs исключениягруппподстановкиxs категорияиспользованияатрибутаxs категорияограниченияидентичностиxs категорияограниченияпространствименxs методнаследованияxs модельсодержимогоxs назначениетипаxml недопустимыеподстановкиxs обработкапробельныхсимволовxs обработкасодержимогоxs ограничениезначенияxs параметрыотбораузловdom переносстрокjson позициявдокументеdom пробельныесимволыxml типатрибутаxml типзначенияjson типканоническогоxml типкомпонентыxs типпроверкиxml типрезультатаdomxpath типузлаdom типузлаxml формаxml формапредставленияxs форматдатыjson экранированиесимволовjson "+"видсравнениякомпоновкиданных действиеобработкирасшифровкикомпоновкиданных направлениесортировкикомпоновкиданных расположениевложенныхэлементоврезультатакомпоновкиданных расположениеитоговкомпоновкиданных расположениегруппировкикомпоновкиданных расположениеполейгруппировкикомпоновкиданных расположениеполякомпоновкиданных расположениереквизитовкомпоновкиданных расположениересурсовкомпоновкиданных типбухгалтерскогоостаткакомпоновкиданных типвыводатекстакомпоновкиданных типгруппировкикомпоновкиданных типгруппыэлементовотборакомпоновкиданных типдополненияпериодакомпоновкиданных типзаголовкаполейкомпоновкиданных типмакетагруппировкикомпоновкиданных типмакетаобластикомпоновкиданных типостаткакомпоновкиданных типпериодакомпоновкиданных типразмещениятекстакомпоновкиданных типсвязинаборовданныхкомпоновкиданных типэлементарезультатакомпоновкиданных расположениелегендыдиаграммыкомпоновкиданных типпримененияотборакомпоновкиданных режимотображенияэлементанастройкикомпоновкиданных режимотображениянастроеккомпоновкиданных состояниеэлементанастройкикомпоновкиданных способвосстановлениянастроеккомпоновкиданных режимкомпоновкирезультата использованиепараметракомпоновкиданных автопозицияресурсовкомпоновкиданных вариантиспользованиягруппировкикомпоновкиданных расположениересурсоввдиаграммекомпоновкиданных фиксациякомпоновкиданных использованиеусловногооформлениякомпоновкиданных "+"важностьинтернетпочтовогосообщения обработкатекстаинтернетпочтовогосообщения способкодированияинтернетпочтовоговложения способкодированиянеasciiсимволовинтернетпочтовогосообщения типтекстапочтовогосообщения протоколинтернетпочты статусразборапочтовогосообщения "+"режимтранзакциизаписижурналарегистрации статустранзакциизаписижурналарегистрации уровеньжурналарегистрации "+"расположениехранилищасертификатовкриптографии режимвключениясертификатовкриптографии режимпроверкисертификатакриптографии типхранилищасертификатовкриптографии "+"кодировкаименфайловвzipфайле методсжатияzip методшифрованияzip режимвосстановленияпутейфайловzip режимобработкиподкаталоговzip режимсохраненияпутейzip уровеньсжатияzip "+"звуковоеоповещение направлениепереходакстроке позициявпотоке порядокбайтов режимблокировкиданных режимуправленияблокировкойданных сервисвстроенныхпокупок состояниефоновогозадания типподписчикадоставляемыхуведомлений уровеньиспользованиязащищенногосоединенияftp "+"направлениепорядкасхемызапроса типдополненияпериодамисхемызапроса типконтрольнойточкисхемызапроса типобъединениясхемызапроса типпараметрадоступнойтаблицысхемызапроса типсоединениясхемызапроса "+"httpметод автоиспользованиеобщегореквизита автопрефиксномеразадачи вариантвстроенногоязыка видиерархии видрегистранакопления видтаблицывнешнегоисточникаданных записьдвиженийприпроведении заполнениепоследовательностей индексирование использованиебазыпланавидоврасчета использованиебыстроговыбора использованиеобщегореквизита использованиеподчинения использованиеполнотекстовогопоиска использованиеразделяемыхданныхобщегореквизита использованиереквизита назначениеиспользованияприложения назначениерасширенияконфигурации направлениепередачи обновлениепредопределенныхданных оперативноепроведение основноепредставлениевидарасчета основноепредставлениевидахарактеристики основноепредставлениезадачи основноепредставлениепланаобмена основноепредставлениесправочника основноепредставлениесчета перемещениеграницыприпроведении периодичностьномерабизнеспроцесса периодичностьномерадокумента периодичностьрегистрарасчета периодичностьрегистрасведений повторноеиспользованиевозвращаемыхзначений полнотекстовыйпоискпривводепостроке принадлежностьобъекта проведение разделениеаутентификацииобщегореквизита разделениеданныхобщегореквизита разделениерасширенийконфигурацииобщегореквизита режимавтонумерацииобъектов режимзаписирегистра режимиспользованиямодальности режимиспользованиясинхронныхвызововрасширенийплатформыивнешнихкомпонент режимповторногоиспользованиясеансов режимполученияданныхвыборапривводепостроке режимсовместимости режимсовместимостиинтерфейса режимуправленияблокировкойданныхпоумолчанию сериикодовпланавидовхарактеристик сериикодовпланасчетов сериикодовсправочника созданиепривводе способвыбора способпоискастрокипривводепостроке способредактирования типданныхтаблицывнешнегоисточникаданных типкодапланавидоврасчета типкодасправочника типмакета типномерабизнеспроцесса типномерадокумента типномеразадачи типформы удалениедвижений "+"важностьпроблемыприменениярасширенияконфигурации вариантинтерфейсаклиентскогоприложения вариантмасштабаформклиентскогоприложения вариантосновногошрифтаклиентскогоприложения вариантстандартногопериода вариантстандартнойдатыначала видграницы видкартинки видотображенияполнотекстовогопоиска видрамки видсравнения видцвета видчисловогозначения видшрифта допустимаядлина допустимыйзнак использованиеbyteordermark использованиеметаданныхполнотекстовогопоиска источникрасширенийконфигурации клавиша кодвозвратадиалога кодировкаxbase кодировкатекста направлениепоиска направлениесортировки обновлениепредопределенныхданных обновлениеприизмененииданных отображениепанелиразделов проверказаполнения режимдиалогавопрос режимзапускаклиентскогоприложения режимокругления режимоткрытияформприложения режимполнотекстовогопоиска скоростьклиентскогосоединения состояниевнешнегоисточникаданных состояниеобновленияконфигурациибазыданных способвыборасертификатаwindows способкодированиястроки статуссообщения типвнешнейкомпоненты типплатформы типповеденияклавишиenter типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты",z="comобъект ftpсоединение httpзапрос httpсервисответ httpсоединение wsопределения wsпрокси xbase анализданных аннотацияxs блокировкаданных буфердвоичныхданных включениеxs выражениекомпоновкиданных генераторслучайныхчисел географическаясхема географическиекоординаты графическаясхема группамоделиxs данныерасшифровкикомпоновкиданных двоичныеданные дендрограмма диаграмма диаграммаганта диалогвыборафайла диалогвыборацвета диалогвыборашрифта диалограсписаниярегламентногозадания диалогредактированиястандартногопериода диапазон документdom документhtml документацияxs доставляемоеуведомление записьdom записьfastinfoset записьhtml записьjson записьxml записьzipфайла записьданных записьтекста записьузловdom запрос защищенноесоединениеopenssl значенияполейрасшифровкикомпоновкиданных извлечениетекста импортxs интернетпочта интернетпочтовоесообщение интернетпочтовыйпрофиль интернетпрокси интернетсоединение информациядляприложенияxs использованиеатрибутаxs использованиесобытияжурналарегистрации источникдоступныхнастроеккомпоновкиданных итераторузловdom картинка квалификаторыдаты квалификаторыдвоичныхданных квалификаторыстроки квалификаторычисла компоновщикмакетакомпоновкиданных компоновщикнастроеккомпоновкиданных конструктормакетаоформлениякомпоновкиданных конструкторнастроеккомпоновкиданных конструкторформатнойстроки линия макеткомпоновкиданных макетобластикомпоновкиданных макетоформлениякомпоновкиданных маскаxs менеджеркриптографии наборсхемxml настройкикомпоновкиданных настройкисериализацииjson обработкакартинок обработкарасшифровкикомпоновкиданных обходдереваdom объявлениеатрибутаxs объявлениенотацииxs объявлениеэлементаxs описаниеиспользованиясобытиядоступжурналарегистрации описаниеиспользованиясобытияотказвдоступежурналарегистрации описаниеобработкирасшифровкикомпоновкиданных описаниепередаваемогофайла описаниетипов определениегруппыатрибутовxs определениегруппымоделиxs определениеограниченияидентичностиxs определениепростоготипаxs определениесоставноготипаxs определениетипадокументаdom определенияxpathxs отборкомпоновкиданных пакетотображаемыхдокументов параметрвыбора параметркомпоновкиданных параметрызаписиjson параметрызаписиxml параметрычтенияxml переопределениеxs планировщик полеанализаданных полекомпоновкиданных построительdom построительзапроса построительотчета построительотчетаанализаданных построительсхемxml поток потоквпамяти почта почтовоесообщение преобразованиеxsl преобразованиекканоническомуxml процессорвыводарезультатакомпоновкиданныхвколлекциюзначений процессорвыводарезультатакомпоновкиданныхвтабличныйдокумент процессоркомпоновкиданных разыменовательпространствименdom рамка расписаниерегламентногозадания расширенноеимяxml результатчтенияданных своднаядиаграмма связьпараметравыбора связьпотипу связьпотипукомпоновкиданных сериализаторxdto сертификатклиентаwindows сертификатклиентафайл сертификаткриптографии сертификатыудостоверяющихцентровwindows сертификатыудостоверяющихцентровфайл сжатиеданных системнаяинформация сообщениепользователю сочетаниеклавиш сравнениезначений стандартнаядатаначала стандартныйпериод схемаxml схемакомпоновкиданных табличныйдокумент текстовыйдокумент тестируемоеприложение типданныхxml уникальныйидентификатор фабрикаxdto файл файловыйпоток фасетдлиныxs фасетколичестваразрядовдробнойчастиxs фасетмаксимальноговключающегозначенияxs фасетмаксимальногоисключающегозначенияxs фасетмаксимальнойдлиныxs фасетминимальноговключающегозначенияxs фасетминимальногоисключающегозначенияxs фасетминимальнойдлиныxs фасетобразцаxs фасетобщегоколичестваразрядовxs фасетперечисленияxs фасетпробельныхсимволовxs фильтрузловdom форматированнаястрока форматированныйдокумент фрагментxs хешированиеданных хранилищезначения цвет чтениеfastinfoset чтениеhtml чтениеjson чтениеxml чтениеzipфайла чтениеданных чтениетекста чтениеузловdom шрифт элементрезультатакомпоновкиданных "+"comsafearray деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура фиксированноесоответствие фиксированныймассив ",ae="null истина ложь неопределено",Ce=t.inherit(t.NUMBER_MODE),ie={className:"string",begin:'"|\\|',end:'"|$',contains:[{begin:'""'}]},ue={begin:"'",end:"'",excludeBegin:!0,excludeEnd:!0,contains:[{className:"number",begin:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]},Be=t.inherit(t.C_LINE_COMMENT_MODE),Le={className:"meta",begin:"#|&",end:"$",keywords:{$pattern:e,keyword:i+s},contains:[Be]},We={className:"symbol",begin:"~",end:";|:",excludeEnd:!0},Ke={className:"function",variants:[{begin:"процедура|функция",end:"\\)",keywords:"процедура функция"},{begin:"конецпроцедуры|конецфункции",keywords:"конецпроцедуры конецфункции"}],contains:[{begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"params",begin:e,end:",",excludeEnd:!0,endsWithParent:!0,keywords:{$pattern:e,keyword:"знач",literal:ae},contains:[Ce,ie,ue]},Be]},t.inherit(t.TITLE_MODE,{begin:e})]};return{name:"1C:Enterprise",case_insensitive:!0,keywords:{$pattern:e,keyword:i,built_in:p,class:A,type:z,literal:ae},contains:[Le,Ke,Be,We,Ce,ie,ue]}}function QA(t){const e=t.regex,n=/^[a-zA-Z][a-zA-Z0-9-]*/,r=["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],i=t.COMMENT(/;/,/$/),o={scope:"symbol",match:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+)?/},a={scope:"symbol",match:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+)?/},s={scope:"symbol",match:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+)?/},l={scope:"symbol",match:/%[si](?=".*")/},c={scope:"attribute",match:e.concat(n,/(?=\s*=)/)};return{name:"Augmented Backus-Naur Form",illegal:/[!@#$^&',?+~`|:]/,keywords:r,contains:[{scope:"operator",match:/=\/?/},c,i,o,a,s,l,t.QUOTE_STRING_MODE,t.NUMBER_MODE]}}function ZA(t){const e=t.regex,n=["GET","POST","HEAD","PUT","DELETE","CONNECT","OPTIONS","PATCH","TRACE"];return{name:"Apache Access Log",contains:[{className:"number",begin:/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,relevance:5},{className:"number",begin:/\b\d+\b/,relevance:0},{className:"string",begin:e.concat(/"/,e.either(...n)),end:/"/,keywords:n,illegal:/\n/,relevance:5,contains:[{begin:/HTTP\/[12]\.\d'/,relevance:5}]},{className:"string",begin:/\[\d[^\]\n]{8,}\]/,illegal:/\n/,relevance:1},{className:"string",begin:/\[/,end:/\]/,illegal:/\n/,relevance:0},{className:"string",begin:/"Mozilla\/\d\.\d \(/,end:/"/,illegal:/\n/,relevance:3},{className:"string",begin:/"/,end:/"/,illegal:/\n/,relevance:0}]}}function XA(t){const e=t.regex,n=/[a-zA-Z_$][a-zA-Z0-9_$]*/,r=e.concat(n,e.concat("(\\.",n,")*")),i=/([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/,o={className:"rest_arg",begin:/[.]{3}/,end:n,relevance:10};return{name:"ActionScript",aliases:["as"],keywords:{keyword:["as","break","case","catch","class","const","continue","default","delete","do","dynamic","each","else","extends","final","finally","for","function","get","if","implements","import","in","include","instanceof","interface","internal","is","namespace","native","new","override","package","private","protected","public","return","set","static","super","switch","this","throw","try","typeof","use","var","void","while","with"],literal:["true","false","null","undefined"]},contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.C_NUMBER_MODE,{match:[/\bpackage/,/\s+/,r],className:{1:"keyword",3:"title.class"}},{match:[/\b(?:class|interface|extends|implements)/,/\s+/,n],className:{1:"keyword",3:"title.class"}},{className:"meta",beginKeywords:"import include",end:/;/,keywords:{keyword:"import include"}},{beginKeywords:"function",end:/[{;]/,excludeEnd:!0,illegal:/\S/,contains:[t.inherit(t.TITLE_MODE,{className:"title.function"}),{className:"params",begin:/\(/,end:/\)/,contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,o]},{begin:e.concat(/:\s*/,i)}]},t.METHOD_GUARD],illegal:/#/}}function jA(t){const e="\\d(_|\\d)*",n="[eE][-+]?"+e,r=e+"(\\."+e+")?("+n+")?",i="\\w+",a="\\b("+(e+"#"+i+"(\\."+i+")?#("+n+")?")+"|"+r+")",s="[A-Za-z](_?[A-Za-z0-9.])*",l=`[]\\{\\}%#'"`,c=t.COMMENT("--","$"),u={begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)",illegal:l,contains:[{beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:s,endsParent:!0,relevance:0}]};return{name:"Ada",case_insensitive:!0,keywords:{keyword:["abort","else","new","return","abs","elsif","not","reverse","abstract","end","accept","entry","select","access","exception","of","separate","aliased","exit","or","some","all","others","subtype","and","for","out","synchronized","array","function","overriding","at","tagged","generic","package","task","begin","goto","pragma","terminate","body","private","then","if","procedure","type","case","in","protected","constant","interface","is","raise","use","declare","range","delay","limited","record","when","delta","loop","rem","while","digits","renames","with","do","mod","requeue","xor"],literal:["True","False"]},contains:[c,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:a,relevance:0},{className:"symbol",begin:"'"+s},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:l},{begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return",returnBegin:!0,contains:[c,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:l},u,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0,endsParent:!0,illegal:l}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:l},u]}}function JA(t){const e={className:"built_in",begin:"\\b(void|bool|int8|int16|int32|int64|int|uint8|uint16|uint32|uint64|uint|string|ref|array|double|float|auto|dictionary)"},n={className:"symbol",begin:"[a-zA-Z0-9_]+@"},r={className:"keyword",begin:"<",end:">",contains:[e,n]};return e.contains=[r],n.contains=[r],{name:"AngelScript",aliases:["asc"],keywords:["for","in|0","break","continue","while","do|0","return","if","else","case","switch","namespace","is","cast","or","and","xor","not","get|0","in","inout|10","out","override","set|0","private","public","const","default|0","final","shared","external","mixin|10","enum","typedef","funcdef","this","super","import","from","interface","abstract|0","try","catch","protected","explicit","property"],illegal:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",contains:[{className:"string",begin:"'",end:"'",illegal:"\\n",contains:[t.BACKSLASH_ESCAPE],relevance:0},{className:"string",begin:'"""',end:'"""'},{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE],relevance:0},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"string",begin:"^\\s*\\[",end:"\\]"},{beginKeywords:"interface namespace",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]},{beginKeywords:"class",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+",contains:[{begin:"[:,]\\s*",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]}]}]},e,n,{className:"literal",begin:"\\b(null|true|false)"},{className:"number",relevance:0,begin:"(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"}]}}function eI(t){const e={className:"number",begin:/[$%]\d+/},n={className:"number",begin:/\b\d+/},r={className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/},i={className:"number",begin:/:\d{1,5}/};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[t.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/,contains:[r,i,t.inherit(t.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0,keywords:{_:["order","deny","allow","setenv","rewriterule","rewriteengine","rewritecond","documentroot","sethandler","errordocument","loadmodule","options","header","listen","serverroot","servername"]},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable",begin:/[\$%]\{/,end:/\}/,contains:["self",e]},r,n,t.QUOTE_STRING_MODE]}}],illegal:/\S/}}function tI(t){const e=t.regex,n=t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),r={className:"params",begin:/\(/,end:/\)/,contains:["self",t.C_NUMBER_MODE,n]},i=t.COMMENT(/--/,/$/),o=t.COMMENT(/\(\*/,/\*\)/,{contains:["self",i]}),a=[i,o,t.HASH_COMMENT_MODE],s=[/apart from/,/aside from/,/instead of/,/out of/,/greater than/,/isn't|(doesn't|does not) (equal|come before|come after|contain)/,/(greater|less) than( or equal)?/,/(starts?|ends|begins?) with/,/contained by/,/comes (before|after)/,/a (ref|reference)/,/POSIX (file|path)/,/(date|time) string/,/quoted form/],l=[/clipboard info/,/the clipboard/,/info for/,/list (disks|folder)/,/mount volume/,/path to/,/(close|open for) access/,/(get|set) eof/,/current date/,/do shell script/,/get volume settings/,/random number/,/set volume/,/system attribute/,/system info/,/time to GMT/,/(load|run|store) script/,/scripting components/,/ASCII (character|number)/,/localized string/,/choose (application|color|file|file name|folder|from list|remote application|URL)/,/display (alert|dialog)/];return{name:"AppleScript",aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name|0 paragraph paragraphs rest reverse running time version weekday word words year"},contains:[n,t.C_NUMBER_MODE,{className:"built_in",begin:e.concat(/\b/,e.either(...l),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:e.concat(/\b/,e.either(...s),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[t.UNDERSCORE_TITLE_MODE,r]},...a],illegal:/\/\/|->|=>|\[\[/}}function nI(t){const e="[A-Za-z_][0-9A-Za-z_]*",n={keyword:["if","for","while","var","new","function","do","return","void","else","break"],literal:["BackSlash","DoubleQuote","false","ForwardSlash","Infinity","NaN","NewLine","null","PI","SingleQuote","Tab","TextFormatting","true","undefined"],built_in:["Abs","Acos","All","Angle","Any","Area","AreaGeodetic","Array","Asin","Atan","Atan2","Attachments","Average","Back","Bearing","Boolean","Buffer","BufferGeodetic","Ceil","Centroid","Clip","Concatenate","Console","Constrain","Contains","ConvertDirection","Cos","Count","Crosses","Cut","Date","DateAdd","DateDiff","Day","Decode","DefaultValue","Densify","DensifyGeodetic","Dictionary","Difference","Disjoint","Distance","DistanceGeodetic","Distinct","Domain","DomainCode","DomainName","EnvelopeIntersects","Equals","Erase","Exp","Expects","Extent","Feature","FeatureSet","FeatureSetByAssociation","FeatureSetById","FeatureSetByName","FeatureSetByPortalItem","FeatureSetByRelationshipName","Filter","Find","First","Floor","FromCharCode","FromCodePoint","FromJSON","GdbVersion","Generalize","Geometry","GetFeatureSet","GetUser","GroupBy","Guid","Hash","HasKey","Hour","IIf","Includes","IndexOf","Insert","Intersection","Intersects","IsEmpty","IsNan","ISOMonth","ISOWeek","ISOWeekday","ISOYear","IsSelfIntersecting","IsSimple","Left|0","Length","Length3D","LengthGeodetic","Log","Lower","Map","Max","Mean","Mid","Millisecond","Min","Minute","Month","MultiPartToSinglePart","Multipoint","NextSequenceValue","None","Now","Number","Offset|0","OrderBy","Overlaps","Point","Polygon","Polyline","Pop","Portal","Pow","Proper","Push","Random","Reduce","Relate","Replace","Resize","Reverse","Right|0","RingIsClockwise","Rotate","Round","Schema","Second","SetGeometry","Simplify","Sin","Slice","Sort","Splice","Split","Sqrt","Stdev","SubtypeCode","SubtypeName","Subtypes","Sum","SymmetricDifference","Tan","Text","Timestamp","ToCharCode","ToCodePoint","Today","ToHex","ToLocal","Top|0","Touches","ToUTC","TrackAccelerationAt","TrackAccelerationWindow","TrackCurrentAcceleration","TrackCurrentDistance","TrackCurrentSpeed","TrackCurrentTime","TrackDistanceAt","TrackDistanceWindow","TrackDuration","TrackFieldWindow","TrackGeometryWindow","TrackIndex","TrackSpeedAt","TrackSpeedWindow","TrackStartTime","TrackWindow","Trim","TypeOf","Union","Upper","UrlEncode","Variance","Week","Weekday","When","Within","Year"]},r={className:"symbol",begin:"\\$[datastore|feature|layer|map|measure|sourcefeature|sourcelayer|targetfeature|targetlayer|value|view]+"},i={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:t.C_NUMBER_RE}],relevance:0},o={className:"subst",begin:"\\$\\{",end:"\\}",keywords:n,contains:[]},a={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,o]};o.contains=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,a,i,t.REGEXP_MODE];const s=o.contains.concat([t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]);return{name:"ArcGIS Arcade",case_insensitive:!0,keywords:n,contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,a,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,r,i,{begin:/[{,]\s*/,relevance:0,contains:[{begin:e+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:e,relevance:0}]}]},{begin:"("+t.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+e+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:n,contains:s}]}]}],relevance:0},{beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[t.inherit(t.TITLE_MODE,{className:"title.function",begin:e}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:s}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}}function rI(t){const e={variants:[t.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),t.COMMENT("[;@]","$",{relevance:0}),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+t.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 w0 w1 w2 w3 w4 w5 w6 w7 w8 w9 w10 w11 w12 w13 w14 w15 w16 w17 w18 w19 w20 w21 w22 w23 w24 w25 w26 w27 w28 w29 w30 x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 x15 x16 x17 x18 x19 x20 x21 x22 x23 x24 x25 x26 x27 x28 x29 x30 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},e,t.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"[=#]\\w+"}],relevance:0}]}}function iI(t){const e=t.regex,n={begin:"^'{3,}[ \\t]*$",relevance:10},r=[{begin:/\\[*_`]/},{begin:/\\\\\*{2}[^\n]*?\*{2}/},{begin:/\\\\_{2}[^\n]*_{2}/},{begin:/\\\\`{2}[^\n]*`{2}/},{begin:/[:;}][*_`](?![*_`])/}],i=[{className:"strong",begin:/\*{2}([^\n]+?)\*{2}/},{className:"strong",begin:e.concat(/\*\*/,/((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,/(\*(?!\*)|\\[^\n]|[^*\n\\])*/,/\*\*/),relevance:0},{className:"strong",begin:/\B\*(\S|\S[^\n]*?\S)\*(?!\w)/},{className:"strong",begin:/\*[^\s]([^\n]+\n)+([^\n]+)\*/}],o=[{className:"emphasis",begin:/_{2}([^\n]+?)_{2}/},{className:"emphasis",begin:e.concat(/__/,/((_(?!_)|\\[^\n]|[^_\n\\])+\n)+/,/(_(?!_)|\\[^\n]|[^_\n\\])*/,/__/),relevance:0},{className:"emphasis",begin:/\b_(\S|\S[^\n]*?\S)_(?!\w)/},{className:"emphasis",begin:/_[^\s]([^\n]+\n)+([^\n]+)_/},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0}],a={className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},s={className:"bullet",begin:"^(\\*+|-+|\\.+|[^\\n]+?::)\\s+"};return{name:"AsciiDoc",aliases:["adoc"],contains:[t.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),t.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"section",relevance:10,variants:[{begin:"^(={1,6})[ ].+?([ ]\\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"meta",begin:"^\\[.+?\\]$",relevance:0},{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},s,a,...r,...i,...o,{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:/`{2}/,end:/(\n{2}|`{2})/},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},n,{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}]}}function oI(t){const e=t.regex,n=["false","synchronized","int","abstract","float","private","char","boolean","static","null","if","const","for","true","while","long","throw","strictfp","finally","protected","import","native","final","return","void","enum","else","extends","implements","break","transient","new","catch","instanceof","byte","super","volatile","case","assert","short","package","default","double","public","try","this","switch","continue","throws","privileged","aspectOf","adviceexecution","proceed","cflowbelow","cflow","initialization","preinitialization","staticinitialization","withincode","target","within","execution","getWithinTypeName","handler","thisJoinPoint","thisJoinPointStaticPart","thisEnclosingJoinPointStaticPart","declare","parents","warning","error","soft","precedence","thisAspectInstance"],r=["get","set","args","call"];return{name:"AspectJ",keywords:n,illegal:/<\/|#/,contains:[t.COMMENT(/\/\*\*/,/\*\//,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:/@[A-Za-z]+/}]}),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{className:"class",beginKeywords:"aspect",end:/[{;=]/,excludeEnd:!0,illegal:/[:;"\[\]]/,contains:[{beginKeywords:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},t.UNDERSCORE_TITLE_MODE,{begin:/\([^\)]*/,end:/[)]+/,keywords:n.concat(r),excludeEnd:!1}]},{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,relevance:0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},t.UNDERSCORE_TITLE_MODE]},{beginKeywords:"pointcut after before around throwing returning",end:/[)]/,excludeEnd:!1,illegal:/["\[\]]/,contains:[{begin:e.concat(t.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,contains:[t.UNDERSCORE_TITLE_MODE]}]},{begin:/[:]/,returnBegin:!0,end:/[{;]/,relevance:0,excludeEnd:!1,keywords:n,illegal:/["\[\]]/,contains:[{begin:e.concat(t.UNDERSCORE_IDENT_RE,/\s*\(/),keywords:n.concat(r),relevance:0},t.QUOTE_STRING_MODE]},{beginKeywords:"new throw",relevance:0},{className:"function",begin:/\w+ +\w+(\.\w+)?\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,returnBegin:!0,end:/[{;=]/,keywords:n,excludeEnd:!0,contains:[{begin:e.concat(t.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,relevance:0,contains:[t.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,relevance:0,keywords:n,contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},t.C_NUMBER_MODE,{className:"meta",begin:/@[A-Za-z]+/}]}}function aI(t){const e={begin:"`[\\s\\S]"};return{name:"AutoHotkey",case_insensitive:!0,aliases:["ahk"],keywords:{keyword:"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",literal:"true false NOT AND OR",built_in:"ComSpec Clipboard ClipboardAll ErrorLevel"},contains:[e,t.inherit(t.QUOTE_STRING_MODE,{contains:[e]}),t.COMMENT(";","$",{relevance:0}),t.C_BLOCK_COMMENT_MODE,{className:"number",begin:t.NUMBER_RE,relevance:0},{className:"variable",begin:"%[a-zA-Z0-9#_$@]+%"},{className:"built_in",begin:"^\\s*\\w+\\s*(,|%)"},{className:"title",variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)',relevance:0}]},{className:"meta",begin:"^\\s*#\\w+",end:"$",relevance:0},{className:"built_in",begin:"A_[a-zA-Z0-9]+"},{begin:",\\s*,"}]}}function sI(t){const e="ByRef Case Const ContinueCase ContinueLoop Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",n=["EndRegion","forcedef","forceref","ignorefunc","include","include-once","NoTrayIcon","OnAutoItStartRegister","pragma","Region","RequireAdmin","Tidy_Off","Tidy_On","Tidy_Parameters"],r="True False And Null Not Or Default",i="Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive WinWaitClose WinWaitNotActive",o={variants:[t.COMMENT(";","$",{relevance:0}),t.COMMENT("#cs","#ce"),t.COMMENT("#comments-start","#comments-end")]},a={begin:"\\$[A-z0-9_]+"},s={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},l={variants:[t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE]},c={className:"meta",begin:"#",end:"$",keywords:{keyword:n},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",keywords:{keyword:"include"},end:"$",contains:[s,{className:"string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},s,o]},u={className:"symbol",begin:"@[A-z0-9_]+"},d={beginKeywords:"Func",end:"$",illegal:"\\$|\\[|%",contains:[t.inherit(t.UNDERSCORE_TITLE_MODE,{className:"title.function"}),{className:"params",begin:"\\(",end:"\\)",contains:[a,s,l]}]};return{name:"AutoIt",case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:e,built_in:i,literal:r},contains:[o,a,s,l,c,u,d]}}function lI(t){return{name:"AVR Assembly",case_insensitive:!0,keywords:{$pattern:"\\.?"+t.IDENT_RE,keyword:"adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf",meta:".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"},contains:[t.C_BLOCK_COMMENT_MODE,t.COMMENT(";","$",{relevance:0}),t.C_NUMBER_MODE,t.BINARY_NUMBER_MODE,{className:"number",begin:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},t.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"},{className:"symbol",begin:"^[A-Za-z0-9_.$]+:"},{className:"meta",begin:"#",end:"$"},{className:"subst",begin:"@[0-9]+"}]}}function cI(t){const e={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},n="BEGIN END if else while do for in break continue delete next nextfile function func exit|10",r={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,relevance:10},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]};return{name:"Awk",keywords:{keyword:n},contains:[e,r,t.REGEXP_MODE,t.HASH_COMMENT_MODE,t.NUMBER_MODE]}}function uI(t){const e=t.UNDERSCORE_IDENT_RE,o={keyword:["abstract","as","asc","avg","break","breakpoint","by","byref","case","catch","changecompany","class","client","client","common","const","continue","count","crosscompany","delegate","delete_from","desc","display","div","do","edit","else","eventhandler","exists","extends","final","finally","firstfast","firstonly","firstonly1","firstonly10","firstonly100","firstonly1000","flush","for","forceliterals","forcenestedloop","forceplaceholders","forceselectorder","forupdate","from","generateonly","group","hint","if","implements","in","index","insert_recordset","interface","internal","is","join","like","maxof","minof","mod","namespace","new","next","nofetch","notexists","optimisticlock","order","outer","pessimisticlock","print","private","protected","public","readonly","repeatableread","retry","return","reverse","select","server","setting","static","sum","super","switch","this","throw","try","ttsabort","ttsbegin","ttscommit","unchecked","update_recordset","using","validtimestate","void","where","while"],built_in:["anytype","boolean","byte","char","container","date","double","enum","guid","int","int64","long","real","short","str","utcdatetime","var"],literal:["default","false","null","true"]},a={variants:[{match:[/(class|interface)\s+/,e,/\s+(extends|implements)\s+/,e]},{match:[/class\s+/,e]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:o};return{name:"X++",aliases:["x++"],keywords:o,contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},a]}}function dI(t){return{name:"BASIC",case_insensitive:!0,illegal:"^.",keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_$%!#]*",keyword:["ABS","ASC","AND","ATN","AUTO|0","BEEP","BLOAD|10","BSAVE|10","CALL","CALLS","CDBL","CHAIN","CHDIR","CHR$|10","CINT","CIRCLE","CLEAR","CLOSE","CLS","COLOR","COM","COMMON","CONT","COS","CSNG","CSRLIN","CVD","CVI","CVS","DATA","DATE$","DEFDBL","DEFINT","DEFSNG","DEFSTR","DEF|0","SEG","USR","DELETE","DIM","DRAW","EDIT","END","ENVIRON","ENVIRON$","EOF","EQV","ERASE","ERDEV","ERDEV$","ERL","ERR","ERROR","EXP","FIELD","FILES","FIX","FOR|0","FRE","GET","GOSUB|10","GOTO","HEX$","IF","THEN","ELSE|0","INKEY$","INP","INPUT","INPUT#","INPUT$","INSTR","IMP","INT","IOCTL","IOCTL$","KEY","ON","OFF","LIST","KILL","LEFT$","LEN","LET","LINE","LLIST","LOAD","LOC","LOCATE","LOF","LOG","LPRINT","USING","LSET","MERGE","MID$","MKDIR","MKD$","MKI$","MKS$","MOD","NAME","NEW","NEXT","NOISE","NOT","OCT$","ON","OR","PEN","PLAY","STRIG","OPEN","OPTION","BASE","OUT","PAINT","PALETTE","PCOPY","PEEK","PMAP","POINT","POKE","POS","PRINT","PRINT]","PSET","PRESET","PUT","RANDOMIZE","READ","REM","RENUM","RESET|0","RESTORE","RESUME","RETURN|0","RIGHT$","RMDIR","RND","RSET","RUN","SAVE","SCREEN","SGN","SHELL","SIN","SOUND","SPACE$","SPC","SQR","STEP","STICK","STOP","STR$","STRING$","SWAP","SYSTEM","TAB","TAN","TIME$","TIMER","TROFF","TRON","TO","USR","VAL","VARPTR","VARPTR$","VIEW","WAIT","WHILE","WEND","WIDTH","WINDOW","WRITE","XOR"]},contains:[t.QUOTE_STRING_MODE,t.COMMENT("REM","$",{relevance:10}),t.COMMENT("'","$",{relevance:0}),{className:"symbol",begin:"^[0-9]+ ",relevance:10},{className:"number",begin:"\\b\\d+(\\.\\d+)?([edED]\\d+)?[#!]?",relevance:0},{className:"number",begin:"(&[hH][0-9a-fA-F]{1,4})"},{className:"number",begin:"(&[oO][0-7]{1,6})"}]}}function pI(t){return{name:"Backus–Naur Form",contains:[{className:"attribute",begin://},{begin:/::=/,end:/$/,contains:[{begin://},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]}]}}function _I(t){const e={className:"literal",begin:/[+-]+/,relevance:0};return{name:"Brainfuck",aliases:["bf"],contains:[t.COMMENT(/[^\[\]\.,\+\-<> \r\n]/,/[\[\]\.,\+\-<> \r\n]/,{contains:[{match:/[ ]+[^\[\]\.,\+\-<> \r\n]/,relevance:0}],returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/(?=\+\+|--)/,contains:[e]},e]}}function mI(t){const e=t.regex,n=["div","mod","in","and","or","not","xor","asserterror","begin","case","do","downto","else","end","exit","for","local","if","of","repeat","then","to","until","while","with","var"],r="false true",i=[t.C_LINE_COMMENT_MODE,t.COMMENT(/\{/,/\}/,{relevance:0}),t.COMMENT(/\(\*/,/\*\)/,{relevance:10})],o={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},a={className:"string",begin:/(#\d+)+/},s={className:"number",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},l={className:"string",begin:'"',end:'"'},c={match:[/procedure/,/\s+/,/[a-zA-Z_][\w@]*/,/\s*/],scope:{1:"keyword",3:"title.function"},contains:[{className:"params",begin:/\(/,end:/\)/,keywords:n,contains:[o,a,t.NUMBER_MODE]},...i]},u=["Table","Form","Report","Dataport","Codeunit","XMLport","MenuSuite","Page","Query"],d={match:[/OBJECT/,/\s+/,e.either(...u),/\s+/,/\d+/,/\s+(?=[^\s])/,/.*/,/$/],relevance:3,scope:{1:"keyword",3:"type",5:"number",7:"title"}};return{name:"C/AL",case_insensitive:!0,keywords:{keyword:n,literal:r},illegal:/\/\*/,contains:[{match:/[\w]+(?=\=)/,scope:"attribute",relevance:0},o,a,s,l,t.NUMBER_MODE,d,c]}}function fI(t){const e=["struct","enum","interface","union","group","import","using","const","annotation","extends","in","of","on","as","with","from","fixed"],n=["Void","Bool","Int8","Int16","Int32","Int64","UInt8","UInt16","UInt32","UInt64","Float32","Float64","Text","Data","AnyPointer","AnyStruct","Capability","List"],r=["true","false"],i={variants:[{match:[/(struct|enum|interface)/,/\s+/,t.IDENT_RE]},{match:[/extends/,/\s*\(/,t.IDENT_RE,/\s*\)/]}],scope:{1:"keyword",3:"title.class"}};return{name:"Cap’n Proto",aliases:["capnp"],keywords:{keyword:e,type:n,literal:r},contains:[t.QUOTE_STRING_MODE,t.NUMBER_MODE,t.HASH_COMMENT_MODE,{className:"meta",begin:/@0x[\w\d]{16};/,illegal:/\n/},{className:"symbol",begin:/@\d+\b/},i]}}function hI(t){const e=["assembly","module","package","import","alias","class","interface","object","given","value","assign","void","function","new","of","extends","satisfies","abstracts","in","out","return","break","continue","throw","assert","dynamic","if","else","switch","case","for","while","try","catch","finally","then","let","this","outer","super","is","exists","nonempty"],n=["shared","abstract","formal","default","actual","variable","late","native","deprecated","final","sealed","annotation","suppressWarnings","small"],r=["doc","by","license","see","throws","tagged"],i={className:"subst",excludeBegin:!0,excludeEnd:!0,begin:/``/,end:/``/,keywords:e,relevance:10},o=[{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[i]},{className:"string",begin:"'",end:"'"},{className:"number",begin:"#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",relevance:0}];return i.contains=o,{name:"Ceylon",keywords:{keyword:e.concat(n),meta:r},illegal:"\\$[^01]|#[^0-9a-fA-F]",contains:[t.C_LINE_COMMENT_MODE,t.COMMENT("/\\*","\\*/",{contains:["self"]}),{className:"meta",begin:'@[a-z]\\w*(?::"[^"]*")?'}].concat(o)}}function gI(t){return{name:"Clean",aliases:["icl","dcl"],keywords:{keyword:["if","let","in","with","where","case","of","class","instance","otherwise","implementation","definition","system","module","from","import","qualified","as","special","code","inline","foreign","export","ccall","stdcall","generic","derive","infix","infixl","infixr"],built_in:"Int Real Char Bool",literal:"True False"},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,{begin:"->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>"}]}}function EI(t){const e="a-zA-Z_\\-!.?+*=<>&'",n="[#]?["+e+"]["+e+"0-9/;:$#]*",r="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",i={$pattern:n,built_in:r+" cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},o={begin:n,relevance:0},a={scope:"number",relevance:0,variants:[{match:/[-+]?0[xX][0-9a-fA-F]+N?/},{match:/[-+]?0[0-7]+N?/},{match:/[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/},{match:/[-+]?[0-9]+\/[0-9]+N?/},{match:/[-+]?[0-9]+((\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/},{match:/[-+]?([1-9][0-9]*|0)N?/}]},s={scope:"character",variants:[{match:/\\o[0-3]?[0-7]{1,2}/},{match:/\\u[0-9a-fA-F]{4}/},{match:/\\(newline|space|tab|formfeed|backspace|return)/},{match:/\\\S/,relevance:0}]},l={scope:"regex",begin:/#"/,end:/"/,contains:[t.BACKSLASH_ESCAPE]},c=t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),u={scope:"punctuation",match:/,/,relevance:0},d=t.COMMENT(";","$",{relevance:0}),p={className:"literal",begin:/\b(true|false|nil)\b/},_={begin:"\\[|(#::?"+n+")?\\{",end:"[\\]\\}]",relevance:0},m={className:"symbol",begin:"[:]{1,2}"+n},f={begin:"\\(",end:"\\)"},h={endsWithParent:!0,relevance:0},E={keywords:i,className:"name",begin:n,relevance:0,starts:h},S=[u,f,s,l,c,d,m,_,a,p,o],b={beginKeywords:r,keywords:{$pattern:n,keyword:r},end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:n,relevance:0,excludeEnd:!0,endsParent:!0}].concat(S)};return f.contains=[b,E,h],h.contains=S,_.contains=S,{name:"Clojure",aliases:["clj","edn"],illegal:/\S/,contains:[u,f,s,l,c,d,m,_,a,p]}}function SI(t){return{name:"Clojure REPL",contains:[{className:"meta.prompt",begin:/^([\w.-]+|\s*#_)?=>/,starts:{end:/$/,subLanguage:"clojure"}}]}}function bI(t){return{name:"CMake",aliases:["cmake.in"],case_insensitive:!0,keywords:{keyword:"break cmake_host_system_information cmake_minimum_required cmake_parse_arguments cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro endwhile execute_process file find_file find_library find_package find_path find_program foreach function get_cmake_property get_directory_property get_filename_component get_property if include include_guard list macro mark_as_advanced math message option return separate_arguments set_directory_properties set_property set site_name string unset variable_watch while add_compile_definitions add_compile_options add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_link_options add_subdirectory add_test aux_source_directory build_command create_test_sourcelist define_property enable_language enable_testing export fltk_wrap_ui get_source_file_property get_target_property get_test_property include_directories include_external_msproject include_regular_expression install link_directories link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions set_source_files_properties set_target_properties set_tests_properties source_group target_compile_definitions target_compile_features target_compile_options target_include_directories target_link_directories target_link_libraries target_link_options target_sources try_compile try_run ctest_build ctest_configure ctest_coverage ctest_empty_binary_directory ctest_memcheck ctest_read_custom_files ctest_run_script ctest_sleep ctest_start ctest_submit ctest_test ctest_update ctest_upload build_name exec_program export_library_dependencies install_files install_programs install_targets load_command make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or not command policy target test exists is_newer_than is_directory is_symlink is_absolute matches less greater equal less_equal greater_equal strless strgreater strequal strless_equal strgreater_equal version_less version_greater version_equal version_less_equal version_greater_equal in_list defined"},contains:[{className:"variable",begin:/\$\{/,end:/\}/},t.COMMENT(/#\[\[/,/]]/),t.HASH_COMMENT_MODE,t.QUOTE_STRING_MODE,t.NUMBER_MODE]}}const TI=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],CI=["true","false","null","undefined","NaN","Infinity"],yI=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],vI=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],RI=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],OI=[].concat(RI,yI,vI);function NI(t){const e=["npm","print"],n=["yes","no","on","off"],r=["then","unless","until","loop","by","when","and","or","is","isnt","not"],i=["var","const","let","function","static"],o=m=>f=>!m.includes(f),a={keyword:TI.concat(r).filter(o(i)),literal:CI.concat(n),built_in:OI.concat(e)},s="[A-Za-z$_][0-9A-Za-z$_]*",l={className:"subst",begin:/#\{/,end:/\}/,keywords:a},c=[t.BINARY_NUMBER_MODE,t.inherit(t.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[t.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,l]},{begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,l]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[l,t.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+s},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];l.contains=c;const u=t.inherit(t.TITLE_MODE,{begin:s}),d="(\\(.*\\)\\s*)?\\B[-=]>",p={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:a,contains:["self"].concat(c)}]},_={variants:[{match:[/class\s+/,s,/\s+extends\s+/,s]},{match:[/class\s+/,s]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:a};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:a,illegal:/\/\*/,contains:[...c,t.COMMENT("###","###"),t.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+s+"\\s*=\\s*"+d,end:"[-=]>",returnBegin:!0,contains:[u,p]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:d,end:"[-=]>",returnBegin:!0,contains:[p]}]},_,{begin:s+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}]}}function AI(t){return{name:"Coq",keywords:{keyword:["_|0","as","at","cofix","else","end","exists","exists2","fix","for","forall","fun","if","IF","in","let","match","mod","Prop","return","Set","then","Type","using","where","with","Abort","About","Add","Admit","Admitted","All","Arguments","Assumptions","Axiom","Back","BackTo","Backtrack","Bind","Blacklist","Canonical","Cd","Check","Class","Classes","Close","Coercion","Coercions","CoFixpoint","CoInductive","Collection","Combined","Compute","Conjecture","Conjectures","Constant","constr","Constraint","Constructors","Context","Corollary","CreateHintDb","Cut","Declare","Defined","Definition","Delimit","Dependencies","Dependent","Derive","Drop","eauto","End","Equality","Eval","Example","Existential","Existentials","Existing","Export","exporting","Extern","Extract","Extraction","Fact","Field","Fields","File","Fixpoint","Focus","for","From","Function","Functional","Generalizable","Global","Goal","Grab","Grammar","Graph","Guarded","Heap","Hint","HintDb","Hints","Hypotheses","Hypothesis","ident","Identity","If","Immediate","Implicit","Import","Include","Inductive","Infix","Info","Initial","Inline","Inspect","Instance","Instances","Intro","Intros","Inversion","Inversion_clear","Language","Left","Lemma","Let","Libraries","Library","Load","LoadPath","Local","Locate","Ltac","ML","Mode","Module","Modules","Monomorphic","Morphism","Next","NoInline","Notation","Obligation","Obligations","Opaque","Open","Optimize","Options","Parameter","Parameters","Parametric","Path","Paths","pattern","Polymorphic","Preterm","Print","Printing","Program","Projections","Proof","Proposition","Pwd","Qed","Quit","Rec","Record","Recursive","Redirect","Relation","Remark","Remove","Require","Reserved","Reset","Resolve","Restart","Rewrite","Right","Ring","Rings","Save","Scheme","Scope","Scopes","Script","Search","SearchAbout","SearchHead","SearchPattern","SearchRewrite","Section","Separate","Set","Setoid","Show","Solve","Sorted","Step","Strategies","Strategy","Structure","SubClass","Table","Tables","Tactic","Term","Test","Theorem","Time","Timeout","Transparent","Type","Typeclasses","Types","Undelimit","Undo","Unfocus","Unfocused","Unfold","Universe","Universes","Unset","Unshelve","using","Variable","Variables","Variant","Verbose","Visibility","where","with"],built_in:["abstract","absurd","admit","after","apply","as","assert","assumption","at","auto","autorewrite","autounfold","before","bottom","btauto","by","case","case_eq","cbn","cbv","change","classical_left","classical_right","clear","clearbody","cofix","compare","compute","congruence","constr_eq","constructor","contradict","contradiction","cut","cutrewrite","cycle","decide","decompose","dependent","destruct","destruction","dintuition","discriminate","discrR","do","double","dtauto","eapply","eassumption","eauto","ecase","econstructor","edestruct","ediscriminate","eelim","eexact","eexists","einduction","einjection","eleft","elim","elimtype","enough","equality","erewrite","eright","esimplify_eq","esplit","evar","exact","exactly_once","exfalso","exists","f_equal","fail","field","field_simplify","field_simplify_eq","first","firstorder","fix","fold","fourier","functional","generalize","generalizing","gfail","give_up","has_evar","hnf","idtac","in","induction","injection","instantiate","intro","intro_pattern","intros","intuition","inversion","inversion_clear","is_evar","is_var","lapply","lazy","left","lia","lra","move","native_compute","nia","nsatz","omega","once","pattern","pose","progress","proof","psatz","quote","record","red","refine","reflexivity","remember","rename","repeat","replace","revert","revgoals","rewrite","rewrite_strat","right","ring","ring_simplify","rtauto","set","setoid_reflexivity","setoid_replace","setoid_rewrite","setoid_symmetry","setoid_transitivity","shelve","shelve_unifiable","simpl","simple","simplify_eq","solve","specialize","split","split_Rabs","split_Rmult","stepl","stepr","subst","sum","swap","symmetry","tactic","tauto","time","timeout","top","transitivity","trivial","try","tryif","unfold","unify","until","using","vm_compute","with"]},contains:[t.QUOTE_STRING_MODE,t.COMMENT("\\(\\*","\\*\\)"),t.C_NUMBER_MODE,{className:"type",excludeBegin:!0,begin:"\\|\\s*",end:"\\w+"},{begin:/[-=]>/}]}}function II(t){return{name:"Caché Object Script",case_insensitive:!0,aliases:["cls"],keywords:"property parameter class classmethod clientmethod extends as break catch close continue do d|0 else elseif for goto halt hang h|0 if job j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 tcommit throw trollback try tstart use view while write w|0 xecute x|0 zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit zsync ascii",contains:[{className:"number",begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)",relevance:0},{className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]}]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"comment",begin:/;/,end:"$",relevance:0},{className:"built_in",begin:/(?:\$\$?|\.\.)\^?[a-zA-Z]+/},{className:"built_in",begin:/\$\$\$[a-zA-Z]+/},{className:"built_in",begin:/%[a-z]+(?:\.[a-z]+)*/},{className:"symbol",begin:/\^%?[a-zA-Z][\w]*/},{className:"keyword",begin:/##class|##super|#define|#dim/},{begin:/&sql\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"sql"},{begin:/&(js|jscript|javascript)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"},{begin:/&html<\s*\s*>/,subLanguage:"xml"}]}}function xI(t){const e="primitive rsc_template",n="group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml";return{name:"crmsh",aliases:["crm","pcmk"],case_insensitive:!0,keywords:{keyword:"params meta operations op rule attributes utilization"+" "+"read write deny defined not_defined in_range date spec in ref reference attribute type xpath version and or lt gt tag lte gte eq ne \\"+" "+"number string",literal:"Master Started Slave Stopped start promote demote stop monitor true false"},contains:[t.HASH_COMMENT_MODE,{beginKeywords:"node",starts:{end:"\\s*([\\w_-]+:)?",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*"}}},{beginKeywords:e,starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*",starts:{end:"\\s*@?[\\w_][\\w_\\.:-]*"}}},{begin:"\\b("+n.split(" ").join("|")+")\\s+",keywords:n,starts:{className:"title",end:"[\\$\\w_][\\w_-]*"}},{beginKeywords:"property rsc_defaults op_defaults",starts:{className:"title",end:"\\s*([\\w_-]+:)?"}},t.QUOTE_STRING_MODE,{className:"meta",begin:"(ocf|systemd|service|lsb):[\\w_:-]+",relevance:0},{className:"number",begin:"\\b\\d+(\\.\\d+)?(ms|s|h|m)?",relevance:0},{className:"literal",begin:"[-]?(infinity|inf)",relevance:0},{className:"attr",begin:/([A-Za-z$_#][\w_-]+)=/,relevance:0},{className:"tag",begin:"",relevance:0}]}}function DI(t){const e="(_?[ui](8|16|32|64|128))?",n="(_?f(32|64))?",r="[a-zA-Z_]\\w*[!?=]?",i="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?",o="[A-Za-z_]\\w*(::\\w+)*(\\?|!)?",a={$pattern:r,keyword:"abstract alias annotation as as? asm begin break case class def do else elsif end ensure enum extend for fun if include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? return require select self sizeof struct super then type typeof union uninitialized unless until verbatim when while with yield __DIR__ __END_LINE__ __FILE__ __LINE__",literal:"false nil true"},s={className:"subst",begin:/#\{/,end:/\}/,keywords:a},l={className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},c={className:"template-variable",variants:[{begin:"\\{\\{",end:"\\}\\}"},{begin:"\\{%",end:"%\\}"}],keywords:a};function u(E,S){const b=[{begin:E,end:S}];return b[0].contains=b,b}const d={className:"string",contains:[t.BACKSLASH_ESCAPE,s],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[Qwi]?\\(",end:"\\)",contains:u("\\(","\\)")},{begin:"%[Qwi]?\\[",end:"\\]",contains:u("\\[","\\]")},{begin:"%[Qwi]?\\{",end:/\}/,contains:u(/\{/,/\}/)},{begin:"%[Qwi]?<",end:">",contains:u("<",">")},{begin:"%[Qwi]?\\|",end:"\\|"},{begin:/<<-\w+$/,end:/^\s*\w+$/}],relevance:0},p={className:"string",variants:[{begin:"%q\\(",end:"\\)",contains:u("\\(","\\)")},{begin:"%q\\[",end:"\\]",contains:u("\\[","\\]")},{begin:"%q\\{",end:/\}/,contains:u(/\{/,/\}/)},{begin:"%q<",end:">",contains:u("<",">")},{begin:"%q\\|",end:"\\|"},{begin:/<<-'\w+'$/,end:/^\s*\w+$/}],relevance:0},_={begin:"(?!%\\})("+t.RE_STARTERS_RE+"|\\n|\\b(case|if|select|unless|until|when|while)\\b)\\s*",keywords:"case if select unless until when while",contains:[{className:"regexp",contains:[t.BACKSLASH_ESCAPE,s],variants:[{begin:"//[a-z]*",relevance:0},{begin:"/(?!\\/)",end:"/[a-z]*"}]}],relevance:0},m={className:"regexp",contains:[t.BACKSLASH_ESCAPE,s],variants:[{begin:"%r\\(",end:"\\)",contains:u("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:u("\\[","\\]")},{begin:"%r\\{",end:/\}/,contains:u(/\{/,/\}/)},{begin:"%r<",end:">",contains:u("<",">")},{begin:"%r\\|",end:"\\|"}],relevance:0},f={className:"meta",begin:"@\\[",end:"\\]",contains:[t.inherit(t.QUOTE_STRING_MODE,{className:"string"})]},h=[c,d,p,m,_,f,l,t.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[t.HASH_COMMENT_MODE,t.inherit(t.TITLE_MODE,{begin:o}),{begin:"<"}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[t.HASH_COMMENT_MODE,t.inherit(t.TITLE_MODE,{begin:o})]},{beginKeywords:"annotation",end:"$|;",illegal:/=/,contains:[t.HASH_COMMENT_MODE,t.inherit(t.TITLE_MODE,{begin:o})],relevance:2},{className:"function",beginKeywords:"def",end:/\B\b/,contains:[t.inherit(t.TITLE_MODE,{begin:i,endsParent:!0})]},{className:"function",beginKeywords:"fun macro",end:/\B\b/,contains:[t.inherit(t.TITLE_MODE,{begin:i,endsParent:!0})],relevance:2},{className:"symbol",begin:t.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[d,{begin:i}],relevance:0},{className:"number",variants:[{begin:"\\b0b([01_]+)"+e},{begin:"\\b0o([0-7_]+)"+e},{begin:"\\b0x([A-Fa-f0-9_]+)"+e},{begin:"\\b([1-9][0-9_]*[0-9]|[0-9])(\\.[0-9][0-9_]*)?([eE]_?[-+]?[0-9_]*)?"+n+"(?!_)"},{begin:"\\b([1-9][0-9_]*|0)"+e}],relevance:0}];return s.contains=h,c.contains=h.slice(1),{name:"Crystal",aliases:["cr"],keywords:a,contains:h}}function MI(t){return{name:"CSP",case_insensitive:!1,keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_-]*",keyword:["base-uri","child-src","connect-src","default-src","font-src","form-action","frame-ancestors","frame-src","img-src","manifest-src","media-src","object-src","plugin-types","report-uri","sandbox","script-src","style-src","trusted-types","unsafe-hashes","worker-src"]},contains:[{className:"string",begin:"'",end:"'"},{className:"attribute",begin:"^Content",end:":",excludeEnd:!0}]}}function wI(t){const e={$pattern:t.UNDERSCORE_IDENT_RE,keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},n="(0|[1-9][\\d_]*)",r="(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)",i="0[bB][01_]+",o="([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)",a="0[xX]"+o,s="([eE][+-]?"+r+")",l="("+r+"(\\.\\d*|"+s+")|\\d+\\."+r+"|\\."+n+s+"?)",c="(0[xX]("+o+"\\."+o+"|\\.?"+o+")[pP][+-]?"+r+")",u="("+n+"|"+i+"|"+a+")",d="("+c+"|"+l+")",p=`\\\\(['"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};`,_={className:"number",begin:"\\b"+u+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},m={className:"number",begin:"\\b("+d+"([fF]|L|i|[fF]i|Li)?|"+u+"(i|[fF]i|Li))",relevance:0},f={className:"string",begin:"'("+p+"|.)",end:"'",illegal:"."},E={className:"string",begin:'"',contains:[{begin:p,relevance:0}],end:'"[cwd]?'},S={className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},b={className:"string",begin:"`",end:"`[cwd]?"},g={className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},C={className:"string",begin:'q"\\{',end:'\\}"'},T={className:"meta",begin:"^#!",end:"$",relevance:5},R={className:"meta",begin:"#(line)",end:"$",relevance:5},x={className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"},O=t.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{name:"D",keywords:e,contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,O,g,E,S,b,C,m,_,f,T,R,x]}}function LI(t){const e={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},n={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},r={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[t.BACKSLASH_ESCAPE,e,n]},{begin:'"""',end:'"""',contains:[t.BACKSLASH_ESCAPE,e,n]},{begin:"'",end:"'",illegal:"\\n",contains:[t.BACKSLASH_ESCAPE,e,n]},{begin:'"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE,e,n]}]};n.contains=[t.C_NUMBER_MODE,r];const i=["Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num","Element","ElementList"],o=i.map(l=>`${l}?`);return{name:"Dart",keywords:{keyword:["abstract","as","assert","async","await","base","break","case","catch","class","const","continue","covariant","default","deferred","do","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","interface","is","late","library","mixin","new","null","on","operator","part","required","rethrow","return","sealed","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","when","while","with","yield"],built_in:i.concat(o).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[r,t.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),t.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},t.UNDERSCORE_TITLE_MODE]},t.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}function kI(t){const e=["exports","register","file","shl","array","record","property","for","mod","while","set","ally","label","uses","raise","not","stored","class","safecall","var","interface","or","private","static","exit","index","inherited","to","else","stdcall","override","shr","asm","far","resourcestring","finalization","packed","virtual","out","and","protected","library","do","xorwrite","goto","near","function","end","div","overload","object","unit","begin","string","on","inline","repeat","until","destructor","write","message","program","with","read","initialization","except","default","nil","if","case","cdecl","in","downto","threadvar","of","try","pascal","const","external","constructor","type","public","then","implementation","finally","published","procedure","absolute","reintroduce","operator","as","is","abstract","alias","assembler","bitpacked","break","continue","cppdecl","cvar","enumerator","experimental","platform","deprecated","unimplemented","dynamic","export","far16","forward","generic","helper","implements","interrupt","iochecks","local","name","nodefault","noreturn","nostackframe","oldfpccall","otherwise","saveregisters","softfloat","specialize","strict","unaligned","varargs"],n=[t.C_LINE_COMMENT_MODE,t.COMMENT(/\{/,/\}/,{relevance:0}),t.COMMENT(/\(\*/,/\*\)/,{relevance:10})],r={className:"meta",variants:[{begin:/\{\$/,end:/\}/},{begin:/\(\*\$/,end:/\*\)/}]},i={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},o={className:"number",relevance:0,variants:[{begin:"\\$[0-9A-Fa-f]+"},{begin:"&[0-7]+"},{begin:"%[01]+"}]},a={className:"string",begin:/(#\d+)+/},s={begin:t.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:!0,contains:[t.TITLE_MODE]},l={className:"function",beginKeywords:"function constructor destructor procedure",end:/[:;]/,keywords:"function constructor|10 destructor|10 procedure|10",contains:[t.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:e,contains:[i,a,r].concat(n)},r].concat(n)};return{name:"Delphi",aliases:["dpr","dfm","pas","pascal"],case_insensitive:!0,keywords:e,illegal:/"|\$[G-Zg-z]|\/\*|<\/|\|/,contains:[i,a,t.NUMBER_MODE,o,s,l,r].concat(n)}}function PI(t){const e={begin:/\|[A-Za-z]+:?/,keywords:{name:"truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone"},contains:[t.QUOTE_STRING_MODE,t.APOS_STRING_MODE]};return{name:"Django",aliases:["jinja"],case_insensitive:!0,subLanguage:"xml",contains:[t.COMMENT(/\{%\s*comment\s*%\}/,/\{%\s*endcomment\s*%\}/),t.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:{name:"comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim"},starts:{endsWithParent:!0,keywords:"in by as",contains:[e],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[e]}]}}function FI(t){return{name:"DNS Zone",aliases:["bind","zone"],keywords:["IN","A","AAAA","AFSDB","APL","CAA","CDNSKEY","CDS","CERT","CNAME","DHCID","DLV","DNAME","DNSKEY","DS","HIP","IPSECKEY","KEY","KX","LOC","MX","NAPTR","NS","NSEC","NSEC3","NSEC3PARAM","PTR","RRSIG","RP","SIG","SOA","SRV","SSHFP","TA","TKEY","TLSA","TSIG","TXT"],contains:[t.COMMENT(";","$",{relevance:0}),{className:"meta",begin:/^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/},{className:"number",begin:"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b"},{className:"number",begin:"((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b"},t.inherit(t.NUMBER_MODE,{begin:/\b\d+[dhwm]?/})]}}function BI(t){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:["from","maintainer","expose","env","arg","user","onbuild","stopsignal"],contains:[t.HASH_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"",illegal:"\\n"}]},e,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},i={className:"variable",begin:/&[a-z\d_]*\b/},o={className:"keyword",begin:"/[a-z][a-z\\d-]*/"},a={className:"symbol",begin:"^\\s*[a-zA-Z_][a-zA-Z\\d_]*:"},s={className:"params",relevance:0,begin:"<",end:">",contains:[n,i]},l={className:"title.class",begin:/[a-zA-Z_][a-zA-Z\d_@-]*(?=\s\{)/,relevance:.2},c={className:"title.class",begin:/^\/(?=\s*\{)/,relevance:10},u={match:/[a-z][a-z-,]+(?=;)/,relevance:0,scope:"attr"},d={relevance:0,match:[/[a-z][a-z-,]+/,/\s*/,/=/],scope:{1:"attr",3:"operator"}},p={scope:"punctuation",relevance:0,match:/\};|[;{}]/};return{name:"Device Tree",contains:[c,i,o,a,l,d,u,s,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,n,e,r,p,{begin:t.IDENT_RE+"::",keywords:""}]}}function VI(t){return{name:"Dust",aliases:["dst"],case_insensitive:!0,subLanguage:"xml",contains:[{className:"template-tag",begin:/\{[#\/]/,end:/\}/,illegal:/;/,contains:[{className:"name",begin:/[a-zA-Z\.-]+/,starts:{endsWithParent:!0,relevance:0,contains:[t.QUOTE_STRING_MODE]}}]},{className:"template-variable",begin:/\{/,end:/\}/,illegal:/;/,keywords:"if eq ne lt lte gt gte select default math sep"}]}}function YI(t){const e=t.COMMENT(/\(\*/,/\*\)/),n={className:"attribute",begin:/^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/},i={begin:/=/,end:/[.;]/,contains:[e,{className:"meta",begin:/\?.*\?/},{className:"string",variants:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{begin:"`",end:"`"}]}]};return{name:"Extended Backus-Naur Form",illegal:/\S/,contains:[e,n,i]}}function zI(t){const e=t.regex,n="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",r="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",a={$pattern:n,keyword:["after","alias","and","case","catch","cond","defstruct","defguard","do","else","end","fn","for","if","import","in","not","or","quote","raise","receive","require","reraise","rescue","try","unless","unquote","unquote_splicing","use","when","with|0"],literal:["false","nil","true"]},s={className:"subst",begin:/#\{/,end:/\}/,keywords:a},l={className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},u={match:/\\[\s\S]/,scope:"char.escape",relevance:0},d=`[/|([{<"']`,p=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin://}],_=C=>({scope:"char.escape",begin:e.concat(/\\/,C),relevance:0}),m={className:"string",begin:"~[a-z](?="+d+")",contains:p.map(C=>t.inherit(C,{contains:[_(C.end),u,s]}))},f={className:"string",begin:"~[A-Z](?="+d+")",contains:p.map(C=>t.inherit(C,{contains:[_(C.end)]}))},h={className:"regex",variants:[{begin:"~r(?="+d+")",contains:p.map(C=>t.inherit(C,{end:e.concat(C.end,/[uismxfU]{0,7}/),contains:[_(C.end),u,s]}))},{begin:"~R(?="+d+")",contains:p.map(C=>t.inherit(C,{end:e.concat(C.end,/[uismxfU]{0,7}/),contains:[_(C.end)]}))}]},E={className:"string",contains:[t.BACKSLASH_ESCAPE,s],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},S={className:"function",beginKeywords:"def defp defmacro defmacrop",end:/\B\b/,contains:[t.inherit(t.TITLE_MODE,{begin:n,endsParent:!0})]},b=t.inherit(S,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),g=[E,h,f,m,t.HASH_COMMENT_MODE,b,S,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[E,{begin:r}],relevance:0},{className:"symbol",begin:n+":(?!:)",relevance:0},{className:"title.class",begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},l,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"}];return s.contains=g,{name:"Elixir",aliases:["ex","exs"],keywords:a,contains:g}}function $I(t){const e={variants:[t.COMMENT("--","$"),t.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},n={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},r={begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e]},i={begin:/\{/,end:/\}/,contains:r.contains},o={className:"string",begin:"'\\\\?.",end:"'",illegal:"."};return{name:"Elm",keywords:["let","in","if","then","else","case","of","where","module","import","exposing","type","alias","as","infix","infixl","infixr","port","effect","command","subscription"],contains:[{beginKeywords:"port effect module",end:"exposing",keywords:"port effect module where command subscription exposing",contains:[r,e],illegal:"\\W\\.|;"},{begin:"import",end:"$",keywords:"import as exposing",contains:[r,e],illegal:"\\W\\.|;"},{begin:"type",end:"$",keywords:"type alias",contains:[n,r,i,e]},{beginKeywords:"infix infixl infixr",end:"$",contains:[t.C_NUMBER_MODE,e]},{begin:"port",end:"$",keywords:"port",contains:[e]},o,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,n,t.inherit(t.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),e,{begin:"->|<-"}],illegal:/;/}}function qI(t){return{name:"ERB",subLanguage:"xml",contains:[t.COMMENT("<%#","%>"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}function WI(t){const e="[a-z'][a-zA-Z0-9_']*",n="("+e+":"+e+"|"+e+")",r={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor",literal:"false true"},i=t.COMMENT("%","$"),o={className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},a={begin:"fun\\s+"+e+"/\\d+"},s={begin:n+"\\(",end:"\\)",returnBegin:!0,relevance:0,contains:[{begin:n,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:!0,returnEnd:!0,relevance:0}]},l={begin:/\{/,end:/\}/,relevance:0},c={begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0},u={begin:"[A-Z][a-zA-Z0-9_]*",relevance:0},d={begin:"#"+t.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:!0,contains:[{begin:"#"+t.UNDERSCORE_IDENT_RE,relevance:0},{begin:/\{/,end:/\}/,relevance:0}]},p={beginKeywords:"fun receive if try case",end:"end",keywords:r};p.contains=[i,a,t.inherit(t.APOS_STRING_MODE,{className:""}),p,s,t.QUOTE_STRING_MODE,o,l,c,u,d];const _=[i,a,p,s,t.QUOTE_STRING_MODE,o,l,c,u,d];s.contains[1].contains=_,l.contains=_,d.contains[1].contains=_;const m=["-module","-record","-undef","-export","-ifdef","-ifndef","-author","-copyright","-doc","-vsn","-import","-include","-include_lib","-compile","-define","-else","-endif","-file","-behaviour","-behavior","-spec"],f={className:"params",begin:"\\(",end:"\\)",contains:_};return{name:"Erlang",aliases:["erl"],keywords:r,illegal:"(",returnBegin:!0,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[f,t.inherit(t.TITLE_MODE,{begin:e})],starts:{end:";|\\.",keywords:r,contains:_}},i,{begin:"^-",end:"\\.",relevance:0,excludeEnd:!0,returnBegin:!0,keywords:{$pattern:"-"+t.IDENT_RE,keyword:m.map(h=>`${h}|1.5`).join(" ")},contains:[f]},o,t.QUOTE_STRING_MODE,d,c,u,l,{begin:/\.$/}]}}function KI(t){const e=t.regex;return{name:"Erlang REPL",keywords:{built_in:"spawn spawn_link self",keyword:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},contains:[{className:"meta.prompt",begin:"^[0-9]+> ",relevance:10},t.COMMENT("%","$"),{className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{begin:e.concat(/\?(::)?/,/([A-Z]\w*)/,/((::)[A-Z]\w*)*/)},{begin:"->"},{begin:"ok"},{begin:"!"},{begin:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",relevance:0},{begin:"[A-Z][a-zA-Z0-9_']*",relevance:0}]}}function QI(t){return{name:"Excel formulae",aliases:["xlsx","xls"],case_insensitive:!0,keywords:{$pattern:/[a-zA-Z][\w\.]*/,built_in:["ABS","ACCRINT","ACCRINTM","ACOS","ACOSH","ACOT","ACOTH","AGGREGATE","ADDRESS","AMORDEGRC","AMORLINC","AND","ARABIC","AREAS","ASC","ASIN","ASINH","ATAN","ATAN2","ATANH","AVEDEV","AVERAGE","AVERAGEA","AVERAGEIF","AVERAGEIFS","BAHTTEXT","BASE","BESSELI","BESSELJ","BESSELK","BESSELY","BETADIST","BETA.DIST","BETAINV","BETA.INV","BIN2DEC","BIN2HEX","BIN2OCT","BINOMDIST","BINOM.DIST","BINOM.DIST.RANGE","BINOM.INV","BITAND","BITLSHIFT","BITOR","BITRSHIFT","BITXOR","CALL","CEILING","CEILING.MATH","CEILING.PRECISE","CELL","CHAR","CHIDIST","CHIINV","CHITEST","CHISQ.DIST","CHISQ.DIST.RT","CHISQ.INV","CHISQ.INV.RT","CHISQ.TEST","CHOOSE","CLEAN","CODE","COLUMN","COLUMNS","COMBIN","COMBINA","COMPLEX","CONCAT","CONCATENATE","CONFIDENCE","CONFIDENCE.NORM","CONFIDENCE.T","CONVERT","CORREL","COS","COSH","COT","COTH","COUNT","COUNTA","COUNTBLANK","COUNTIF","COUNTIFS","COUPDAYBS","COUPDAYS","COUPDAYSNC","COUPNCD","COUPNUM","COUPPCD","COVAR","COVARIANCE.P","COVARIANCE.S","CRITBINOM","CSC","CSCH","CUBEKPIMEMBER","CUBEMEMBER","CUBEMEMBERPROPERTY","CUBERANKEDMEMBER","CUBESET","CUBESETCOUNT","CUBEVALUE","CUMIPMT","CUMPRINC","DATE","DATEDIF","DATEVALUE","DAVERAGE","DAY","DAYS","DAYS360","DB","DBCS","DCOUNT","DCOUNTA","DDB","DEC2BIN","DEC2HEX","DEC2OCT","DECIMAL","DEGREES","DELTA","DEVSQ","DGET","DISC","DMAX","DMIN","DOLLAR","DOLLARDE","DOLLARFR","DPRODUCT","DSTDEV","DSTDEVP","DSUM","DURATION","DVAR","DVARP","EDATE","EFFECT","ENCODEURL","EOMONTH","ERF","ERF.PRECISE","ERFC","ERFC.PRECISE","ERROR.TYPE","EUROCONVERT","EVEN","EXACT","EXP","EXPON.DIST","EXPONDIST","FACT","FACTDOUBLE","FALSE|0","F.DIST","FDIST","F.DIST.RT","FILTERXML","FIND","FINDB","F.INV","F.INV.RT","FINV","FISHER","FISHERINV","FIXED","FLOOR","FLOOR.MATH","FLOOR.PRECISE","FORECAST","FORECAST.ETS","FORECAST.ETS.CONFINT","FORECAST.ETS.SEASONALITY","FORECAST.ETS.STAT","FORECAST.LINEAR","FORMULATEXT","FREQUENCY","F.TEST","FTEST","FV","FVSCHEDULE","GAMMA","GAMMA.DIST","GAMMADIST","GAMMA.INV","GAMMAINV","GAMMALN","GAMMALN.PRECISE","GAUSS","GCD","GEOMEAN","GESTEP","GETPIVOTDATA","GROWTH","HARMEAN","HEX2BIN","HEX2DEC","HEX2OCT","HLOOKUP","HOUR","HYPERLINK","HYPGEOM.DIST","HYPGEOMDIST","IF","IFERROR","IFNA","IFS","IMABS","IMAGINARY","IMARGUMENT","IMCONJUGATE","IMCOS","IMCOSH","IMCOT","IMCSC","IMCSCH","IMDIV","IMEXP","IMLN","IMLOG10","IMLOG2","IMPOWER","IMPRODUCT","IMREAL","IMSEC","IMSECH","IMSIN","IMSINH","IMSQRT","IMSUB","IMSUM","IMTAN","INDEX","INDIRECT","INFO","INT","INTERCEPT","INTRATE","IPMT","IRR","ISBLANK","ISERR","ISERROR","ISEVEN","ISFORMULA","ISLOGICAL","ISNA","ISNONTEXT","ISNUMBER","ISODD","ISREF","ISTEXT","ISO.CEILING","ISOWEEKNUM","ISPMT","JIS","KURT","LARGE","LCM","LEFT","LEFTB","LEN","LENB","LINEST","LN","LOG","LOG10","LOGEST","LOGINV","LOGNORM.DIST","LOGNORMDIST","LOGNORM.INV","LOOKUP","LOWER","MATCH","MAX","MAXA","MAXIFS","MDETERM","MDURATION","MEDIAN","MID","MIDBs","MIN","MINIFS","MINA","MINUTE","MINVERSE","MIRR","MMULT","MOD","MODE","MODE.MULT","MODE.SNGL","MONTH","MROUND","MULTINOMIAL","MUNIT","N","NA","NEGBINOM.DIST","NEGBINOMDIST","NETWORKDAYS","NETWORKDAYS.INTL","NOMINAL","NORM.DIST","NORMDIST","NORMINV","NORM.INV","NORM.S.DIST","NORMSDIST","NORM.S.INV","NORMSINV","NOT","NOW","NPER","NPV","NUMBERVALUE","OCT2BIN","OCT2DEC","OCT2HEX","ODD","ODDFPRICE","ODDFYIELD","ODDLPRICE","ODDLYIELD","OFFSET","OR","PDURATION","PEARSON","PERCENTILE.EXC","PERCENTILE.INC","PERCENTILE","PERCENTRANK.EXC","PERCENTRANK.INC","PERCENTRANK","PERMUT","PERMUTATIONA","PHI","PHONETIC","PI","PMT","POISSON.DIST","POISSON","POWER","PPMT","PRICE","PRICEDISC","PRICEMAT","PROB","PRODUCT","PROPER","PV","QUARTILE","QUARTILE.EXC","QUARTILE.INC","QUOTIENT","RADIANS","RAND","RANDBETWEEN","RANK.AVG","RANK.EQ","RANK","RATE","RECEIVED","REGISTER.ID","REPLACE","REPLACEB","REPT","RIGHT","RIGHTB","ROMAN","ROUND","ROUNDDOWN","ROUNDUP","ROW","ROWS","RRI","RSQ","RTD","SEARCH","SEARCHB","SEC","SECH","SECOND","SERIESSUM","SHEET","SHEETS","SIGN","SIN","SINH","SKEW","SKEW.P","SLN","SLOPE","SMALL","SQL.REQUEST","SQRT","SQRTPI","STANDARDIZE","STDEV","STDEV.P","STDEV.S","STDEVA","STDEVP","STDEVPA","STEYX","SUBSTITUTE","SUBTOTAL","SUM","SUMIF","SUMIFS","SUMPRODUCT","SUMSQ","SUMX2MY2","SUMX2PY2","SUMXMY2","SWITCH","SYD","T","TAN","TANH","TBILLEQ","TBILLPRICE","TBILLYIELD","T.DIST","T.DIST.2T","T.DIST.RT","TDIST","TEXT","TEXTJOIN","TIME","TIMEVALUE","T.INV","T.INV.2T","TINV","TODAY","TRANSPOSE","TREND","TRIM","TRIMMEAN","TRUE|0","TRUNC","T.TEST","TTEST","TYPE","UNICHAR","UNICODE","UPPER","VALUE","VAR","VAR.P","VAR.S","VARA","VARP","VARPA","VDB","VLOOKUP","WEBSERVICE","WEEKDAY","WEEKNUM","WEIBULL","WEIBULL.DIST","WORKDAY","WORKDAY.INTL","XIRR","XNPV","XOR","YEAR","YEARFRAC","YIELD","YIELDDISC","YIELDMAT","Z.TEST","ZTEST"]},contains:[{begin:/^=/,end:/[^=]/,returnEnd:!0,illegal:/=/,relevance:10},{className:"symbol",begin:/\b[A-Z]{1,2}\d+\b/,end:/[^\d]/,excludeEnd:!0,relevance:0},{className:"symbol",begin:/[A-Z]{0,2}\d*:[A-Z]{0,2}\d*/,relevance:0},t.BACKSLASH_ESCAPE,t.QUOTE_STRING_MODE,{className:"number",begin:t.NUMBER_RE+"(%)?",relevance:0},t.COMMENT(/\bN\(/,/\)/,{excludeBegin:!0,excludeEnd:!0,illegal:/\n/})]}}function ZI(t){return{name:"FIX",contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:!0,returnBegin:!0,returnEnd:!1,contains:[{begin:/([^\u2401\u0001=]+)/,end:/=([^\u2401\u0001=]+)/,returnEnd:!0,returnBegin:!1,className:"attr"},{begin:/=/,end:/([\u2401\u0001])/,excludeEnd:!0,excludeBegin:!0,className:"string"}]}],case_insensitive:!0}}function XI(t){const e={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},n={className:"string",variants:[{begin:'"',end:'"'}]},i={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[{className:"title",relevance:0,begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/}]};return{name:"Flix",keywords:{keyword:["case","class","def","else","enum","if","impl","import","in","lat","rel","index","let","match","namespace","switch","type","yield","with"],literal:["true","false"]},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,e,n,i,t.C_NUMBER_MODE]}}function jI(t){const e=t.regex,n={className:"params",begin:"\\(",end:"\\)"},r={variants:[t.COMMENT("!","$",{relevance:0}),t.COMMENT("^C[ ]","$",{relevance:0}),t.COMMENT("^C$","$",{relevance:0})]},i=/(_[a-z_\d]+)?/,o=/([de][+-]?\d+)?/,a={className:"number",variants:[{begin:e.concat(/\b\d+/,/\.(\d*)/,o,i)},{begin:e.concat(/\b\d+/,o,i)},{begin:e.concat(/\.\d+/,o,i)}],relevance:0},s={className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[t.UNDERSCORE_TITLE_MODE,n]},l={className:"string",relevance:0,variants:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]};return{name:"Fortran",case_insensitive:!0,aliases:["f90","f95"],keywords:{keyword:["kind","do","concurrent","local","shared","while","private","call","intrinsic","where","elsewhere","type","endtype","endmodule","endselect","endinterface","end","enddo","endif","if","forall","endforall","only","contains","default","return","stop","then","block","endblock","endassociate","public","subroutine|10","function","program",".and.",".or.",".not.",".le.",".eq.",".ge.",".gt.",".lt.","goto","save","else","use","module","select","case","access","blank","direct","exist","file","fmt","form","formatted","iostat","name","named","nextrec","number","opened","rec","recl","sequential","status","unformatted","unit","continue","format","pause","cycle","exit","c_null_char","c_alert","c_backspace","c_form_feed","flush","wait","decimal","round","iomsg","synchronous","nopass","non_overridable","pass","protected","volatile","abstract","extends","import","non_intrinsic","value","deferred","generic","final","enumerator","class","associate","bind","enum","c_int","c_short","c_long","c_long_long","c_signed_char","c_size_t","c_int8_t","c_int16_t","c_int32_t","c_int64_t","c_int_least8_t","c_int_least16_t","c_int_least32_t","c_int_least64_t","c_int_fast8_t","c_int_fast16_t","c_int_fast32_t","c_int_fast64_t","c_intmax_t","C_intptr_t","c_float","c_double","c_long_double","c_float_complex","c_double_complex","c_long_double_complex","c_bool","c_char","c_null_ptr","c_null_funptr","c_new_line","c_carriage_return","c_horizontal_tab","c_vertical_tab","iso_c_binding","c_loc","c_funloc","c_associated","c_f_pointer","c_ptr","c_funptr","iso_fortran_env","character_storage_size","error_unit","file_storage_size","input_unit","iostat_end","iostat_eor","numeric_storage_size","output_unit","c_f_procpointer","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","newunit","contiguous","recursive","pad","position","action","delim","readwrite","eor","advance","nml","interface","procedure","namelist","include","sequence","elemental","pure","impure","integer","real","character","complex","logical","codimension","dimension","allocatable|10","parameter","external","implicit|10","none","double","precision","assign","intent","optional","pointer","target","in","out","common","equivalence","data"],literal:[".False.",".True."],built_in:["alog","alog10","amax0","amax1","amin0","amin1","amod","cabs","ccos","cexp","clog","csin","csqrt","dabs","dacos","dasin","datan","datan2","dcos","dcosh","ddim","dexp","dint","dlog","dlog10","dmax1","dmin1","dmod","dnint","dsign","dsin","dsinh","dsqrt","dtan","dtanh","float","iabs","idim","idint","idnint","ifix","isign","max0","max1","min0","min1","sngl","algama","cdabs","cdcos","cdexp","cdlog","cdsin","cdsqrt","cqabs","cqcos","cqexp","cqlog","cqsin","cqsqrt","dcmplx","dconjg","derf","derfc","dfloat","dgamma","dimag","dlgama","iqint","qabs","qacos","qasin","qatan","qatan2","qcmplx","qconjg","qcos","qcosh","qdim","qerf","qerfc","qexp","qgamma","qimag","qlgama","qlog","qlog10","qmax1","qmin1","qmod","qnint","qsign","qsin","qsinh","qsqrt","qtan","qtanh","abs","acos","aimag","aint","anint","asin","atan","atan2","char","cmplx","conjg","cos","cosh","exp","ichar","index","int","log","log10","max","min","nint","sign","sin","sinh","sqrt","tan","tanh","print","write","dim","lge","lgt","lle","llt","mod","nullify","allocate","deallocate","adjustl","adjustr","all","allocated","any","associated","bit_size","btest","ceiling","count","cshift","date_and_time","digits","dot_product","eoshift","epsilon","exponent","floor","fraction","huge","iand","ibclr","ibits","ibset","ieor","ior","ishft","ishftc","lbound","len_trim","matmul","maxexponent","maxloc","maxval","merge","minexponent","minloc","minval","modulo","mvbits","nearest","pack","present","product","radix","random_number","random_seed","range","repeat","reshape","rrspacing","scale","scan","selected_int_kind","selected_real_kind","set_exponent","shape","size","spacing","spread","sum","system_clock","tiny","transpose","trim","ubound","unpack","verify","achar","iachar","transfer","dble","entry","dprod","cpu_time","command_argument_count","get_command","get_command_argument","get_environment_variable","is_iostat_end","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","is_iostat_eor","move_alloc","new_line","selected_char_kind","same_type_as","extends_type_of","acosh","asinh","atanh","bessel_j0","bessel_j1","bessel_jn","bessel_y0","bessel_y1","bessel_yn","erf","erfc","erfc_scaled","gamma","log_gamma","hypot","norm2","atomic_define","atomic_ref","execute_command_line","leadz","trailz","storage_size","merge_bits","bge","bgt","ble","blt","dshiftl","dshiftr","findloc","iall","iany","iparity","image_index","lcobound","ucobound","maskl","maskr","num_images","parity","popcnt","poppar","shifta","shiftl","shiftr","this_image","sync","change","team","co_broadcast","co_max","co_min","co_sum","co_reduce"]},illegal:/\/\*/,contains:[l,s,{begin:/^C\s*=(?!=)/,relevance:0},r,a]}}function JI(t){return new RegExp(t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function og(t){return t?typeof t=="string"?t:t.source:null}function Oi(t){return Bt("(?=",t,")")}function Bt(...t){return t.map(n=>og(n)).join("")}function ex(t){const e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function Xn(...t){return"("+(ex(t).capture?"":"?:")+t.map(r=>og(r)).join("|")+")"}function tx(t){const e=["abstract","and","as","assert","base","begin","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","extern","finally","fixed","for","fun","function","global","if","in","inherit","inline","interface","internal","lazy","let","match","member","module","mutable","namespace","new","of","open","or","override","private","public","rec","return","static","struct","then","to","try","type","upcast","use","val","void","when","while","with","yield"],n={scope:"keyword",match:/\b(yield|return|let|do|match|use)!/},r=["if","else","endif","line","nowarn","light","r","i","I","load","time","help","quit"],i=["true","false","null","Some","None","Ok","Error","infinity","infinityf","nan","nanf"],o=["__LINE__","__SOURCE_DIRECTORY__","__SOURCE_FILE__"],a=["bool","byte","sbyte","int8","int16","int32","uint8","uint16","uint32","int","uint","int64","uint64","nativeint","unativeint","decimal","float","double","float32","single","char","string","unit","bigint","option","voption","list","array","seq","byref","exn","inref","nativeptr","obj","outref","voidptr","Result"],l={keyword:e,literal:i,built_in:["not","ref","raise","reraise","dict","readOnlyDict","set","get","enum","sizeof","typeof","typedefof","nameof","nullArg","invalidArg","invalidOp","id","fst","snd","ignore","lock","using","box","unbox","tryUnbox","printf","printfn","sprintf","eprintf","eprintfn","fprintf","fprintfn","failwith","failwithf"],"variable.constant":o},u={variants:[t.COMMENT(/\(\*(?!\))/,/\*\)/,{contains:["self"]}),t.C_LINE_COMMENT_MODE]},d=/[a-zA-Z_](\w|')*/,p={scope:"variable",begin:/``/,end:/``/},_=/\B('|\^)/,m={scope:"symbol",variants:[{match:Bt(_,/``.*?``/)},{match:Bt(_,t.UNDERSCORE_IDENT_RE)}],relevance:0},f=function({includeEqual:v}){let A;v?A="!%&*+-/<=>@^|~?":A="!%&*+-/<>@^|~?";const k=Array.from(A),G=Bt("[",...k.map(JI),"]"),z=Xn(G,/\./),ae=Bt(z,Oi(z)),Ce=Xn(Bt(ae,z,"*"),Bt(G,"+"));return{scope:"operator",match:Xn(Ce,/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},h=f({includeEqual:!0}),E=f({includeEqual:!1}),S=function(v,A){return{begin:Bt(v,Oi(Bt(/\s*/,Xn(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:A,end:Oi(Xn(/\n/,/=/)),relevance:0,keywords:t.inherit(l,{type:a}),contains:[u,m,t.inherit(p,{scope:null}),E]}},b=S(/:/,"operator"),g=S(/\bof\b/,"keyword"),C={begin:[/(^|\s+)/,/type/,/\s+/,d],beginScope:{2:"keyword",4:"title.class"},end:Oi(/\(|=|$/),keywords:l,contains:[u,t.inherit(p,{scope:null}),m,{scope:"operator",match:/<|>/},b]},T={scope:"computation-expression",match:/\b[_a-z]\w*(?=\s*\{)/},R={begin:[/^\s*/,Bt(/#/,Xn(...r)),/\b/],beginScope:{2:"meta"},end:Oi(/\s|$/)},x={variants:[t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE]},O={scope:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE]},M={scope:"string",begin:/@"/,end:/"/,contains:[{match:/""/},t.BACKSLASH_ESCAPE]},B={scope:"string",begin:/"""/,end:/"""/,relevance:2},Y={scope:"subst",begin:/\{/,end:/\}/,keywords:l},$={scope:"string",begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},t.BACKSLASH_ESCAPE,Y]},q={scope:"string",begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},t.BACKSLASH_ESCAPE,Y]},V={scope:"string",begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},Y],relevance:2},J={scope:"string",match:Bt(/'/,Xn(/[^\\']/,/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/),/'/)};return Y.contains=[q,$,M,O,J,n,u,p,b,T,R,x,m,h],{name:"F#",aliases:["fs","f#"],keywords:l,illegal:/\/\*/,classNameAliases:{"computation-expression":"keyword"},contains:[n,{variants:[V,q,$,B,M,O,J]},u,p,C,{scope:"meta",begin:/\[\]/,relevance:2,contains:[p,B,M,O,J,x]},g,b,T,R,x,m,h]}}function nx(t){const e=t.regex,n={keyword:"abort acronym acronyms alias all and assign binary card diag display else eq file files for free ge gt if integer le loop lt maximizing minimizing model models ne negative no not option options or ord positive prod put putpage puttl repeat sameas semicont semiint smax smin solve sos1 sos2 sum system table then until using while xor yes",literal:"eps inf na",built_in:"abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power randBinomial randLinear randTriangle round rPower sigmoid sign signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion handleCollect handleDelete handleStatus handleSubmit heapFree heapLimit heapSize jobHandle jobKill jobStatus jobTerminate licenseLevel licenseStatus maxExecError sleep timeClose timeComp timeElapsed timeExec timeStart"},r={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},i={className:"symbol",variants:[{begin:/=[lgenxc]=/},{begin:/\$/}]},o={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},a={begin:"/",end:"/",keywords:n,contains:[o,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,t.C_NUMBER_MODE]},s=/[a-z0-9&#*=?@\\><:,()$[\]_.{}!+%^-]+/,l={begin:/[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,excludeBegin:!0,end:"$",endsWithParent:!0,contains:[o,a,{className:"comment",begin:e.concat(s,e.anyNumberOfTimes(e.concat(/[ ]+/,s))),relevance:0}]};return{name:"GAMS",aliases:["gms"],case_insensitive:!0,keywords:n,contains:[t.COMMENT(/^\$ontext/,/^\$offtext/),{className:"meta",begin:"^\\$[a-z0-9]+",end:"$",returnBegin:!0,contains:[{className:"keyword",begin:"^\\$[a-z0-9]+"}]},t.COMMENT("^\\*","$"),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,{beginKeywords:"set sets parameter parameters variable variables scalar scalars equation equations",end:";",contains:[t.COMMENT("^\\*","$"),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,a,l]},{beginKeywords:"table",end:";",returnBegin:!0,contains:[{beginKeywords:"table",end:"$",contains:[l]},t.COMMENT("^\\*","$"),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,t.C_NUMBER_MODE]},{className:"function",begin:/^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,returnBegin:!0,contains:[{className:"title",begin:/^[a-z0-9_]+/},r,i]},t.C_NUMBER_MODE,i]}}function rx(t){const e={keyword:"bool break call callexe checkinterrupt clear clearg closeall cls comlog compile continue create debug declare delete disable dlibrary dllcall do dos ed edit else elseif enable end endfor endif endp endo errorlog errorlogat expr external fn for format goto gosub graph if keyword let lib library line load loadarray loadexe loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow matrix msym ndpclex new open output outwidth plot plotsym pop prcsn print printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen scroll setarray show sparse stop string struct system trace trap threadfor threadendfor threadbegin threadjoin threadstat threadend until use while winprint ne ge le gt lt and xor or not eq eqv",built_in:"abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin sylvester strtrim",literal:"DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES DB_TRANSACTIONS DB_UNICODE DB_VIEWS __STDIN __STDOUT __STDERR __FILE_DIR"},n=t.COMMENT("@","@"),r={className:"meta",begin:"#",end:"$",keywords:{keyword:"define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{keyword:"include"},contains:[{className:"string",begin:'"',end:'"',illegal:"\\n"}]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,n]},i={begin:/\bstruct\s+/,end:/\s/,keywords:"struct",contains:[{className:"type",begin:t.UNDERSCORE_IDENT_RE,relevance:0}]},o=[{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,endsWithParent:!0,relevance:0,contains:[{className:"literal",begin:/\.\.\./},t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,n,i]}],a={className:"title",begin:t.UNDERSCORE_IDENT_RE,relevance:0},s=function(p,_,m){const f=t.inherit({className:"function",beginKeywords:p,end:_,excludeEnd:!0,contains:[].concat(o)},{});return f.contains.push(a),f.contains.push(t.C_NUMBER_MODE),f.contains.push(t.C_BLOCK_COMMENT_MODE),f.contains.push(n),f},l={className:"built_in",begin:"\\b("+e.built_in.split(" ").join("|")+")\\b"},c={className:"string",begin:'"',end:'"',contains:[t.BACKSLASH_ESCAPE],relevance:0},u={begin:t.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,keywords:e,relevance:0,contains:[{beginKeywords:e.keyword},l,{className:"built_in",begin:t.UNDERSCORE_IDENT_RE,relevance:0}]},d={begin:/\(/,end:/\)/,relevance:0,keywords:{built_in:e.built_in,literal:e.literal},contains:[t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,n,l,u,c,"self"]};return u.contains.push(d),{name:"GAUSS",aliases:["gss"],case_insensitive:!0,keywords:e,illegal:/(\{[%#]|[%#]\}| <- )/,contains:[t.C_NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,n,c,r,{className:"keyword",begin:/\bexternal (matrix|string|array|sparse matrix|struct|proc|keyword|fn)/},s("proc keyword",";"),s("fn","="),{beginKeywords:"for threadfor",end:/;/,relevance:0,contains:[t.C_BLOCK_COMMENT_MODE,n,d]},{variants:[{begin:t.UNDERSCORE_IDENT_RE+"\\."+t.UNDERSCORE_IDENT_RE},{begin:t.UNDERSCORE_IDENT_RE+"\\s*="}],relevance:0},u,i]}}function ix(t){const e="[A-Z_][A-Z0-9_.]*",n="%",r={$pattern:e,keyword:"IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT EQ LT GT NE GE LE OR XOR"},i={className:"meta",begin:"([O])([0-9]+)"},o=t.inherit(t.C_NUMBER_MODE,{begin:"([-+]?((\\.\\d+)|(\\d+)(\\.\\d*)?))|"+t.C_NUMBER_RE}),a=[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.COMMENT(/\(/,/\)/),o,t.inherit(t.APOS_STRING_MODE,{illegal:null}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{className:"name",begin:"([G])([0-9]+\\.?[0-9]?)"},{className:"name",begin:"([M])([0-9]+\\.?[0-9]?)"},{className:"attr",begin:"(VC|VS|#)",end:"(\\d+)"},{className:"attr",begin:"(VZOFX|VZOFY|VZOFZ)"},{className:"built_in",begin:"(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN)(\\[)",contains:[o],end:"\\]"},{className:"symbol",variants:[{begin:"N",end:"\\d+",illegal:"\\W"}]}];return{name:"G-code (ISO 6983)",aliases:["nc"],case_insensitive:!0,keywords:r,contains:[{className:"meta",begin:n},i].concat(a)}}function ox(t){return{name:"Gherkin",aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},t.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},t.QUOTE_STRING_MODE]}}function ax(t){return{name:"GLSL",keywords:{keyword:"break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly",type:"atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",built_in:"gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow",literal:"true false"},illegal:'"',contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"}]}}function sx(t){return{name:"GML",case_insensitive:!1,keywords:{keyword:["#endregion","#macro","#region","and","begin","break","case","constructor","continue","default","delete","div","do","else","end","enum","exit","for","function","globalvar","if","mod","not","or","repeat","return","switch","then","until","var","while","with","xor"],built_in:["abs","achievement_available","achievement_event","achievement_get_challenges","achievement_get_info","achievement_get_pic","achievement_increment","achievement_load_friends","achievement_load_leaderboard","achievement_load_progress","achievement_login","achievement_login_status","achievement_logout","achievement_post","achievement_post_score","achievement_reset","achievement_send_challenge","achievement_show","achievement_show_achievements","achievement_show_challenge_notifications","achievement_show_leaderboards","action_inherited","action_kill_object","ads_disable","ads_enable","ads_engagement_active","ads_engagement_available","ads_engagement_launch","ads_event","ads_event_preload","ads_get_display_height","ads_get_display_width","ads_interstitial_available","ads_interstitial_display","ads_move","ads_set_reward_callback","ads_setup","alarm_get","alarm_set","analytics_event","analytics_event_ext","angle_difference","ansi_char","application_get_position","application_surface_draw_enable","application_surface_enable","application_surface_is_enabled","arccos","arcsin","arctan","arctan2","array_copy","array_create","array_delete","array_equals","array_height_2d","array_insert","array_length","array_length_1d","array_length_2d","array_pop","array_push","array_resize","array_sort","asset_get_index","asset_get_type","audio_channel_num","audio_create_buffer_sound","audio_create_play_queue","audio_create_stream","audio_create_sync_group","audio_debug","audio_destroy_stream","audio_destroy_sync_group","audio_emitter_create","audio_emitter_exists","audio_emitter_falloff","audio_emitter_free","audio_emitter_gain","audio_emitter_get_gain","audio_emitter_get_listener_mask","audio_emitter_get_pitch","audio_emitter_get_vx","audio_emitter_get_vy","audio_emitter_get_vz","audio_emitter_get_x","audio_emitter_get_y","audio_emitter_get_z","audio_emitter_pitch","audio_emitter_position","audio_emitter_set_listener_mask","audio_emitter_velocity","audio_exists","audio_falloff_set_model","audio_free_buffer_sound","audio_free_play_queue","audio_get_listener_count","audio_get_listener_info","audio_get_listener_mask","audio_get_master_gain","audio_get_name","audio_get_recorder_count","audio_get_recorder_info","audio_get_type","audio_group_is_loaded","audio_group_load","audio_group_load_progress","audio_group_name","audio_group_set_gain","audio_group_stop_all","audio_group_unload","audio_is_paused","audio_is_playing","audio_listener_get_data","audio_listener_orientation","audio_listener_position","audio_listener_set_orientation","audio_listener_set_position","audio_listener_set_velocity","audio_listener_velocity","audio_master_gain","audio_music_gain","audio_music_is_playing","audio_pause_all","audio_pause_music","audio_pause_sound","audio_pause_sync_group","audio_play_in_sync_group","audio_play_music","audio_play_sound","audio_play_sound_at","audio_play_sound_on","audio_queue_sound","audio_resume_all","audio_resume_music","audio_resume_sound","audio_resume_sync_group","audio_set_listener_mask","audio_set_master_gain","audio_sound_gain","audio_sound_get_gain","audio_sound_get_listener_mask","audio_sound_get_pitch","audio_sound_get_track_position","audio_sound_length","audio_sound_pitch","audio_sound_set_listener_mask","audio_sound_set_track_position","audio_start_recording","audio_start_sync_group","audio_stop_all","audio_stop_music","audio_stop_recording","audio_stop_sound","audio_stop_sync_group","audio_sync_group_debug","audio_sync_group_get_track_pos","audio_sync_group_is_playing","audio_system","background_get_height","background_get_width","base64_decode","base64_encode","browser_input_capture","buffer_async_group_begin","buffer_async_group_end","buffer_async_group_option","buffer_base64_decode","buffer_base64_decode_ext","buffer_base64_encode","buffer_copy","buffer_copy_from_vertex_buffer","buffer_create","buffer_create_from_vertex_buffer","buffer_create_from_vertex_buffer_ext","buffer_delete","buffer_exists","buffer_fill","buffer_get_address","buffer_get_alignment","buffer_get_size","buffer_get_surface","buffer_get_type","buffer_load","buffer_load_async","buffer_load_ext","buffer_load_partial","buffer_md5","buffer_peek","buffer_poke","buffer_read","buffer_resize","buffer_save","buffer_save_async","buffer_save_ext","buffer_seek","buffer_set_surface","buffer_sha1","buffer_sizeof","buffer_tell","buffer_write","camera_apply","camera_create","camera_create_view","camera_destroy","camera_get_active","camera_get_begin_script","camera_get_default","camera_get_end_script","camera_get_proj_mat","camera_get_update_script","camera_get_view_angle","camera_get_view_border_x","camera_get_view_border_y","camera_get_view_height","camera_get_view_mat","camera_get_view_speed_x","camera_get_view_speed_y","camera_get_view_target","camera_get_view_width","camera_get_view_x","camera_get_view_y","camera_set_begin_script","camera_set_default","camera_set_end_script","camera_set_proj_mat","camera_set_update_script","camera_set_view_angle","camera_set_view_border","camera_set_view_mat","camera_set_view_pos","camera_set_view_size","camera_set_view_speed","camera_set_view_target","ceil","choose","chr","clamp","clickable_add","clickable_add_ext","clickable_change","clickable_change_ext","clickable_delete","clickable_exists","clickable_set_style","clipboard_get_text","clipboard_has_text","clipboard_set_text","cloud_file_save","cloud_string_save","cloud_synchronise","code_is_compiled","collision_circle","collision_circle_list","collision_ellipse","collision_ellipse_list","collision_line","collision_line_list","collision_point","collision_point_list","collision_rectangle","collision_rectangle_list","color_get_blue","color_get_green","color_get_hue","color_get_red","color_get_saturation","color_get_value","colour_get_blue","colour_get_green","colour_get_hue","colour_get_red","colour_get_saturation","colour_get_value","cos","darccos","darcsin","darctan","darctan2","date_compare_date","date_compare_datetime","date_compare_time","date_create_datetime","date_current_datetime","date_date_of","date_date_string","date_datetime_string","date_day_span","date_days_in_month","date_days_in_year","date_get_day","date_get_day_of_year","date_get_hour","date_get_hour_of_year","date_get_minute","date_get_minute_of_year","date_get_month","date_get_second","date_get_second_of_year","date_get_timezone","date_get_week","date_get_weekday","date_get_year","date_hour_span","date_inc_day","date_inc_hour","date_inc_minute","date_inc_month","date_inc_second","date_inc_week","date_inc_year","date_is_today","date_leap_year","date_minute_span","date_month_span","date_second_span","date_set_timezone","date_time_of","date_time_string","date_valid_datetime","date_week_span","date_year_span","dcos","debug_event","debug_get_callstack","degtorad","device_get_tilt_x","device_get_tilt_y","device_get_tilt_z","device_is_keypad_open","device_mouse_check_button","device_mouse_check_button_pressed","device_mouse_check_button_released","device_mouse_dbclick_enable","device_mouse_raw_x","device_mouse_raw_y","device_mouse_x","device_mouse_x_to_gui","device_mouse_y","device_mouse_y_to_gui","directory_create","directory_destroy","directory_exists","display_get_dpi_x","display_get_dpi_y","display_get_gui_height","display_get_gui_width","display_get_height","display_get_orientation","display_get_sleep_margin","display_get_timing_method","display_get_width","display_mouse_get_x","display_mouse_get_y","display_mouse_set","display_reset","display_set_gui_maximise","display_set_gui_maximize","display_set_gui_size","display_set_sleep_margin","display_set_timing_method","display_set_ui_visibility","distance_to_object","distance_to_point","dot_product","dot_product_3d","dot_product_3d_normalised","dot_product_3d_normalized","dot_product_normalised","dot_product_normalized","draw_arrow","draw_background","draw_background_ext","draw_background_part_ext","draw_background_tiled","draw_button","draw_circle","draw_circle_color","draw_circle_colour","draw_clear","draw_clear_alpha","draw_ellipse","draw_ellipse_color","draw_ellipse_colour","draw_enable_alphablend","draw_enable_drawevent","draw_enable_swf_aa","draw_flush","draw_get_alpha","draw_get_color","draw_get_colour","draw_get_lighting","draw_get_swf_aa_level","draw_getpixel","draw_getpixel_ext","draw_healthbar","draw_highscore","draw_light_define_ambient","draw_light_define_direction","draw_light_define_point","draw_light_enable","draw_light_get","draw_light_get_ambient","draw_line","draw_line_color","draw_line_colour","draw_line_width","draw_line_width_color","draw_line_width_colour","draw_path","draw_point","draw_point_color","draw_point_colour","draw_primitive_begin","draw_primitive_begin_texture","draw_primitive_end","draw_rectangle","draw_rectangle_color","draw_rectangle_colour","draw_roundrect","draw_roundrect_color","draw_roundrect_color_ext","draw_roundrect_colour","draw_roundrect_colour_ext","draw_roundrect_ext","draw_self","draw_set_alpha","draw_set_alpha_test","draw_set_alpha_test_ref_value","draw_set_blend_mode","draw_set_blend_mode_ext","draw_set_circle_precision","draw_set_color","draw_set_color_write_enable","draw_set_colour","draw_set_font","draw_set_halign","draw_set_lighting","draw_set_swf_aa_level","draw_set_valign","draw_skeleton","draw_skeleton_collision","draw_skeleton_instance","draw_skeleton_time","draw_sprite","draw_sprite_ext","draw_sprite_general","draw_sprite_part","draw_sprite_part_ext","draw_sprite_pos","draw_sprite_stretched","draw_sprite_stretched_ext","draw_sprite_tiled","draw_sprite_tiled_ext","draw_surface","draw_surface_ext","draw_surface_general","draw_surface_part","draw_surface_part_ext","draw_surface_stretched","draw_surface_stretched_ext","draw_surface_tiled","draw_surface_tiled_ext","draw_text","draw_text_color","draw_text_colour","draw_text_ext","draw_text_ext_color","draw_text_ext_colour","draw_text_ext_transformed","draw_text_ext_transformed_color","draw_text_ext_transformed_colour","draw_text_transformed","draw_text_transformed_color","draw_text_transformed_colour","draw_texture_flush","draw_tile","draw_tilemap","draw_triangle","draw_triangle_color","draw_triangle_colour","draw_vertex","draw_vertex_color","draw_vertex_colour","draw_vertex_texture","draw_vertex_texture_color","draw_vertex_texture_colour","ds_exists","ds_grid_add","ds_grid_add_disk","ds_grid_add_grid_region","ds_grid_add_region","ds_grid_clear","ds_grid_copy","ds_grid_create","ds_grid_destroy","ds_grid_get","ds_grid_get_disk_max","ds_grid_get_disk_mean","ds_grid_get_disk_min","ds_grid_get_disk_sum","ds_grid_get_max","ds_grid_get_mean","ds_grid_get_min","ds_grid_get_sum","ds_grid_height","ds_grid_multiply","ds_grid_multiply_disk","ds_grid_multiply_grid_region","ds_grid_multiply_region","ds_grid_read","ds_grid_resize","ds_grid_set","ds_grid_set_disk","ds_grid_set_grid_region","ds_grid_set_region","ds_grid_shuffle","ds_grid_sort","ds_grid_value_disk_exists","ds_grid_value_disk_x","ds_grid_value_disk_y","ds_grid_value_exists","ds_grid_value_x","ds_grid_value_y","ds_grid_width","ds_grid_write","ds_list_add","ds_list_clear","ds_list_copy","ds_list_create","ds_list_delete","ds_list_destroy","ds_list_empty","ds_list_find_index","ds_list_find_value","ds_list_insert","ds_list_mark_as_list","ds_list_mark_as_map","ds_list_read","ds_list_replace","ds_list_set","ds_list_shuffle","ds_list_size","ds_list_sort","ds_list_write","ds_map_add","ds_map_add_list","ds_map_add_map","ds_map_clear","ds_map_copy","ds_map_create","ds_map_delete","ds_map_destroy","ds_map_empty","ds_map_exists","ds_map_find_first","ds_map_find_last","ds_map_find_next","ds_map_find_previous","ds_map_find_value","ds_map_read","ds_map_replace","ds_map_replace_list","ds_map_replace_map","ds_map_secure_load","ds_map_secure_load_buffer","ds_map_secure_save","ds_map_secure_save_buffer","ds_map_set","ds_map_size","ds_map_write","ds_priority_add","ds_priority_change_priority","ds_priority_clear","ds_priority_copy","ds_priority_create","ds_priority_delete_max","ds_priority_delete_min","ds_priority_delete_value","ds_priority_destroy","ds_priority_empty","ds_priority_find_max","ds_priority_find_min","ds_priority_find_priority","ds_priority_read","ds_priority_size","ds_priority_write","ds_queue_clear","ds_queue_copy","ds_queue_create","ds_queue_dequeue","ds_queue_destroy","ds_queue_empty","ds_queue_enqueue","ds_queue_head","ds_queue_read","ds_queue_size","ds_queue_tail","ds_queue_write","ds_set_precision","ds_stack_clear","ds_stack_copy","ds_stack_create","ds_stack_destroy","ds_stack_empty","ds_stack_pop","ds_stack_push","ds_stack_read","ds_stack_size","ds_stack_top","ds_stack_write","dsin","dtan","effect_clear","effect_create_above","effect_create_below","environment_get_variable","event_inherited","event_perform","event_perform_object","event_user","exp","external_call","external_define","external_free","facebook_accesstoken","facebook_check_permission","facebook_dialog","facebook_graph_request","facebook_init","facebook_launch_offerwall","facebook_login","facebook_logout","facebook_post_message","facebook_request_publish_permissions","facebook_request_read_permissions","facebook_send_invite","facebook_status","facebook_user_id","file_attributes","file_bin_close","file_bin_open","file_bin_position","file_bin_read_byte","file_bin_rewrite","file_bin_seek","file_bin_size","file_bin_write_byte","file_copy","file_delete","file_exists","file_find_close","file_find_first","file_find_next","file_rename","file_text_close","file_text_eof","file_text_eoln","file_text_open_append","file_text_open_from_string","file_text_open_read","file_text_open_write","file_text_read_real","file_text_read_string","file_text_readln","file_text_write_real","file_text_write_string","file_text_writeln","filename_change_ext","filename_dir","filename_drive","filename_ext","filename_name","filename_path","floor","font_add","font_add_enable_aa","font_add_get_enable_aa","font_add_sprite","font_add_sprite_ext","font_delete","font_exists","font_get_bold","font_get_first","font_get_fontname","font_get_italic","font_get_last","font_get_name","font_get_size","font_get_texture","font_get_uvs","font_replace","font_replace_sprite","font_replace_sprite_ext","font_set_cache_size","font_texture_page_size","frac","game_end","game_get_speed","game_load","game_load_buffer","game_restart","game_save","game_save_buffer","game_set_speed","gamepad_axis_count","gamepad_axis_value","gamepad_button_check","gamepad_button_check_pressed","gamepad_button_check_released","gamepad_button_count","gamepad_button_value","gamepad_get_axis_deadzone","gamepad_get_button_threshold","gamepad_get_description","gamepad_get_device_count","gamepad_is_connected","gamepad_is_supported","gamepad_set_axis_deadzone","gamepad_set_button_threshold","gamepad_set_color","gamepad_set_colour","gamepad_set_vibration","gesture_double_tap_distance","gesture_double_tap_time","gesture_drag_distance","gesture_drag_time","gesture_flick_speed","gesture_get_double_tap_distance","gesture_get_double_tap_time","gesture_get_drag_distance","gesture_get_drag_time","gesture_get_flick_speed","gesture_get_pinch_angle_away","gesture_get_pinch_angle_towards","gesture_get_pinch_distance","gesture_get_rotate_angle","gesture_get_rotate_time","gesture_get_tap_count","gesture_pinch_angle_away","gesture_pinch_angle_towards","gesture_pinch_distance","gesture_rotate_angle","gesture_rotate_time","gesture_tap_count","get_integer","get_integer_async","get_login_async","get_open_filename","get_open_filename_ext","get_save_filename","get_save_filename_ext","get_string","get_string_async","get_timer","gml_pragma","gml_release_mode","gpu_get_alphatestenable","gpu_get_alphatestfunc","gpu_get_alphatestref","gpu_get_blendenable","gpu_get_blendmode","gpu_get_blendmode_dest","gpu_get_blendmode_destalpha","gpu_get_blendmode_ext","gpu_get_blendmode_ext_sepalpha","gpu_get_blendmode_src","gpu_get_blendmode_srcalpha","gpu_get_colorwriteenable","gpu_get_colourwriteenable","gpu_get_cullmode","gpu_get_fog","gpu_get_lightingenable","gpu_get_state","gpu_get_tex_filter","gpu_get_tex_filter_ext","gpu_get_tex_max_aniso","gpu_get_tex_max_aniso_ext","gpu_get_tex_max_mip","gpu_get_tex_max_mip_ext","gpu_get_tex_min_mip","gpu_get_tex_min_mip_ext","gpu_get_tex_mip_bias","gpu_get_tex_mip_bias_ext","gpu_get_tex_mip_enable","gpu_get_tex_mip_enable_ext","gpu_get_tex_mip_filter","gpu_get_tex_mip_filter_ext","gpu_get_tex_repeat","gpu_get_tex_repeat_ext","gpu_get_texfilter","gpu_get_texfilter_ext","gpu_get_texrepeat","gpu_get_texrepeat_ext","gpu_get_zfunc","gpu_get_ztestenable","gpu_get_zwriteenable","gpu_pop_state","gpu_push_state","gpu_set_alphatestenable","gpu_set_alphatestfunc","gpu_set_alphatestref","gpu_set_blendenable","gpu_set_blendmode","gpu_set_blendmode_ext","gpu_set_blendmode_ext_sepalpha","gpu_set_colorwriteenable","gpu_set_colourwriteenable","gpu_set_cullmode","gpu_set_fog","gpu_set_lightingenable","gpu_set_state","gpu_set_tex_filter","gpu_set_tex_filter_ext","gpu_set_tex_max_aniso","gpu_set_tex_max_aniso_ext","gpu_set_tex_max_mip","gpu_set_tex_max_mip_ext","gpu_set_tex_min_mip","gpu_set_tex_min_mip_ext","gpu_set_tex_mip_bias","gpu_set_tex_mip_bias_ext","gpu_set_tex_mip_enable","gpu_set_tex_mip_enable_ext","gpu_set_tex_mip_filter","gpu_set_tex_mip_filter_ext","gpu_set_tex_repeat","gpu_set_tex_repeat_ext","gpu_set_texfilter","gpu_set_texfilter_ext","gpu_set_texrepeat","gpu_set_texrepeat_ext","gpu_set_zfunc","gpu_set_ztestenable","gpu_set_zwriteenable","highscore_add","highscore_clear","highscore_name","highscore_value","http_get","http_get_file","http_post_string","http_request","iap_acquire","iap_activate","iap_consume","iap_enumerate_products","iap_product_details","iap_purchase_details","iap_restore_all","iap_status","ini_close","ini_key_delete","ini_key_exists","ini_open","ini_open_from_string","ini_read_real","ini_read_string","ini_section_delete","ini_section_exists","ini_write_real","ini_write_string","instance_activate_all","instance_activate_layer","instance_activate_object","instance_activate_region","instance_change","instance_copy","instance_create","instance_create_depth","instance_create_layer","instance_deactivate_all","instance_deactivate_layer","instance_deactivate_object","instance_deactivate_region","instance_destroy","instance_exists","instance_find","instance_furthest","instance_id_get","instance_nearest","instance_number","instance_place","instance_place_list","instance_position","instance_position_list","int64","io_clear","irandom","irandom_range","is_array","is_bool","is_infinity","is_int32","is_int64","is_matrix","is_method","is_nan","is_numeric","is_ptr","is_real","is_string","is_struct","is_undefined","is_vec3","is_vec4","json_decode","json_encode","keyboard_check","keyboard_check_direct","keyboard_check_pressed","keyboard_check_released","keyboard_clear","keyboard_get_map","keyboard_get_numlock","keyboard_key_press","keyboard_key_release","keyboard_set_map","keyboard_set_numlock","keyboard_unset_map","keyboard_virtual_height","keyboard_virtual_hide","keyboard_virtual_show","keyboard_virtual_status","layer_add_instance","layer_background_alpha","layer_background_blend","layer_background_change","layer_background_create","layer_background_destroy","layer_background_exists","layer_background_get_alpha","layer_background_get_blend","layer_background_get_htiled","layer_background_get_id","layer_background_get_index","layer_background_get_speed","layer_background_get_sprite","layer_background_get_stretch","layer_background_get_visible","layer_background_get_vtiled","layer_background_get_xscale","layer_background_get_yscale","layer_background_htiled","layer_background_index","layer_background_speed","layer_background_sprite","layer_background_stretch","layer_background_visible","layer_background_vtiled","layer_background_xscale","layer_background_yscale","layer_create","layer_depth","layer_destroy","layer_destroy_instances","layer_element_move","layer_exists","layer_force_draw_depth","layer_get_all","layer_get_all_elements","layer_get_depth","layer_get_element_layer","layer_get_element_type","layer_get_forced_depth","layer_get_hspeed","layer_get_id","layer_get_id_at_depth","layer_get_name","layer_get_script_begin","layer_get_script_end","layer_get_shader","layer_get_target_room","layer_get_visible","layer_get_vspeed","layer_get_x","layer_get_y","layer_has_instance","layer_hspeed","layer_instance_get_instance","layer_is_draw_depth_forced","layer_reset_target_room","layer_script_begin","layer_script_end","layer_set_target_room","layer_set_visible","layer_shader","layer_sprite_alpha","layer_sprite_angle","layer_sprite_blend","layer_sprite_change","layer_sprite_create","layer_sprite_destroy","layer_sprite_exists","layer_sprite_get_alpha","layer_sprite_get_angle","layer_sprite_get_blend","layer_sprite_get_id","layer_sprite_get_index","layer_sprite_get_speed","layer_sprite_get_sprite","layer_sprite_get_x","layer_sprite_get_xscale","layer_sprite_get_y","layer_sprite_get_yscale","layer_sprite_index","layer_sprite_speed","layer_sprite_x","layer_sprite_xscale","layer_sprite_y","layer_sprite_yscale","layer_tile_alpha","layer_tile_blend","layer_tile_change","layer_tile_create","layer_tile_destroy","layer_tile_exists","layer_tile_get_alpha","layer_tile_get_blend","layer_tile_get_region","layer_tile_get_sprite","layer_tile_get_visible","layer_tile_get_x","layer_tile_get_xscale","layer_tile_get_y","layer_tile_get_yscale","layer_tile_region","layer_tile_visible","layer_tile_x","layer_tile_xscale","layer_tile_y","layer_tile_yscale","layer_tilemap_create","layer_tilemap_destroy","layer_tilemap_exists","layer_tilemap_get_id","layer_vspeed","layer_x","layer_y","lengthdir_x","lengthdir_y","lerp","ln","load_csv","log10","log2","logn","make_color_hsv","make_color_rgb","make_colour_hsv","make_colour_rgb","math_get_epsilon","math_set_epsilon","matrix_build","matrix_build_identity","matrix_build_lookat","matrix_build_projection_ortho","matrix_build_projection_perspective","matrix_build_projection_perspective_fov","matrix_get","matrix_multiply","matrix_set","matrix_stack_clear","matrix_stack_is_empty","matrix_stack_multiply","matrix_stack_pop","matrix_stack_push","matrix_stack_set","matrix_stack_top","matrix_transform_vertex","max","md5_file","md5_string_unicode","md5_string_utf8","mean","median","merge_color","merge_colour","min","motion_add","motion_set","mouse_check_button","mouse_check_button_pressed","mouse_check_button_released","mouse_clear","mouse_wheel_down","mouse_wheel_up","move_bounce_all","move_bounce_solid","move_contact_all","move_contact_solid","move_outside_all","move_outside_solid","move_random","move_snap","move_towards_point","move_wrap","mp_grid_add_cell","mp_grid_add_instances","mp_grid_add_rectangle","mp_grid_clear_all","mp_grid_clear_cell","mp_grid_clear_rectangle","mp_grid_create","mp_grid_destroy","mp_grid_draw","mp_grid_get_cell","mp_grid_path","mp_grid_to_ds_grid","mp_linear_path","mp_linear_path_object","mp_linear_step","mp_linear_step_object","mp_potential_path","mp_potential_path_object","mp_potential_settings","mp_potential_step","mp_potential_step_object","network_connect","network_connect_raw","network_create_server","network_create_server_raw","network_create_socket","network_create_socket_ext","network_destroy","network_resolve","network_send_broadcast","network_send_packet","network_send_raw","network_send_udp","network_send_udp_raw","network_set_config","network_set_timeout","object_exists","object_get_depth","object_get_mask","object_get_name","object_get_parent","object_get_persistent","object_get_physics","object_get_solid","object_get_sprite","object_get_visible","object_is_ancestor","object_set_mask","object_set_persistent","object_set_solid","object_set_sprite","object_set_visible","ord","os_get_config","os_get_info","os_get_language","os_get_region","os_is_network_connected","os_is_paused","os_lock_orientation","os_powersave_enable","parameter_count","parameter_string","part_emitter_burst","part_emitter_clear","part_emitter_create","part_emitter_destroy","part_emitter_destroy_all","part_emitter_exists","part_emitter_region","part_emitter_stream","part_particles_clear","part_particles_count","part_particles_create","part_particles_create_color","part_particles_create_colour","part_system_automatic_draw","part_system_automatic_update","part_system_clear","part_system_create","part_system_create_layer","part_system_depth","part_system_destroy","part_system_draw_order","part_system_drawit","part_system_exists","part_system_get_layer","part_system_layer","part_system_position","part_system_update","part_type_alpha1","part_type_alpha2","part_type_alpha3","part_type_blend","part_type_clear","part_type_color1","part_type_color2","part_type_color3","part_type_color_hsv","part_type_color_mix","part_type_color_rgb","part_type_colour1","part_type_colour2","part_type_colour3","part_type_colour_hsv","part_type_colour_mix","part_type_colour_rgb","part_type_create","part_type_death","part_type_destroy","part_type_direction","part_type_exists","part_type_gravity","part_type_life","part_type_orientation","part_type_scale","part_type_shape","part_type_size","part_type_speed","part_type_sprite","part_type_step","path_add","path_add_point","path_append","path_assign","path_change_point","path_clear_points","path_delete","path_delete_point","path_duplicate","path_end","path_exists","path_flip","path_get_closed","path_get_kind","path_get_length","path_get_name","path_get_number","path_get_point_speed","path_get_point_x","path_get_point_y","path_get_precision","path_get_speed","path_get_time","path_get_x","path_get_y","path_insert_point","path_mirror","path_rescale","path_reverse","path_rotate","path_set_closed","path_set_kind","path_set_precision","path_shift","path_start","physics_apply_angular_impulse","physics_apply_force","physics_apply_impulse","physics_apply_local_force","physics_apply_local_impulse","physics_apply_torque","physics_draw_debug","physics_fixture_add_point","physics_fixture_bind","physics_fixture_bind_ext","physics_fixture_create","physics_fixture_delete","physics_fixture_set_angular_damping","physics_fixture_set_awake","physics_fixture_set_box_shape","physics_fixture_set_chain_shape","physics_fixture_set_circle_shape","physics_fixture_set_collision_group","physics_fixture_set_density","physics_fixture_set_edge_shape","physics_fixture_set_friction","physics_fixture_set_kinematic","physics_fixture_set_linear_damping","physics_fixture_set_polygon_shape","physics_fixture_set_restitution","physics_fixture_set_sensor","physics_get_density","physics_get_friction","physics_get_restitution","physics_joint_delete","physics_joint_distance_create","physics_joint_enable_motor","physics_joint_friction_create","physics_joint_gear_create","physics_joint_get_value","physics_joint_prismatic_create","physics_joint_pulley_create","physics_joint_revolute_create","physics_joint_rope_create","physics_joint_set_value","physics_joint_weld_create","physics_joint_wheel_create","physics_mass_properties","physics_particle_count","physics_particle_create","physics_particle_delete","physics_particle_delete_region_box","physics_particle_delete_region_circle","physics_particle_delete_region_poly","physics_particle_draw","physics_particle_draw_ext","physics_particle_get_damping","physics_particle_get_data","physics_particle_get_data_particle","physics_particle_get_density","physics_particle_get_gravity_scale","physics_particle_get_group_flags","physics_particle_get_max_count","physics_particle_get_radius","physics_particle_group_add_point","physics_particle_group_begin","physics_particle_group_box","physics_particle_group_circle","physics_particle_group_count","physics_particle_group_delete","physics_particle_group_end","physics_particle_group_get_ang_vel","physics_particle_group_get_angle","physics_particle_group_get_centre_x","physics_particle_group_get_centre_y","physics_particle_group_get_data","physics_particle_group_get_inertia","physics_particle_group_get_mass","physics_particle_group_get_vel_x","physics_particle_group_get_vel_y","physics_particle_group_get_x","physics_particle_group_get_y","physics_particle_group_join","physics_particle_group_polygon","physics_particle_set_category_flags","physics_particle_set_damping","physics_particle_set_density","physics_particle_set_flags","physics_particle_set_gravity_scale","physics_particle_set_group_flags","physics_particle_set_max_count","physics_particle_set_radius","physics_pause_enable","physics_remove_fixture","physics_set_density","physics_set_friction","physics_set_restitution","physics_test_overlap","physics_world_create","physics_world_draw_debug","physics_world_gravity","physics_world_update_iterations","physics_world_update_speed","place_empty","place_free","place_meeting","place_snapped","point_direction","point_distance","point_distance_3d","point_in_circle","point_in_rectangle","point_in_triangle","position_change","position_destroy","position_empty","position_meeting","power","ptr","push_cancel_local_notification","push_get_first_local_notification","push_get_next_local_notification","push_local_notification","radtodeg","random","random_get_seed","random_range","random_set_seed","randomise","randomize","real","rectangle_in_circle","rectangle_in_rectangle","rectangle_in_triangle","room_add","room_assign","room_duplicate","room_exists","room_get_camera","room_get_name","room_get_viewport","room_goto","room_goto_next","room_goto_previous","room_instance_add","room_instance_clear","room_next","room_previous","room_restart","room_set_background_color","room_set_background_colour","room_set_camera","room_set_height","room_set_persistent","room_set_view","room_set_view_enabled","room_set_viewport","room_set_width","round","screen_save","screen_save_part","script_execute","script_exists","script_get_name","sha1_file","sha1_string_unicode","sha1_string_utf8","shader_current","shader_enable_corner_id","shader_get_name","shader_get_sampler_index","shader_get_uniform","shader_is_compiled","shader_reset","shader_set","shader_set_uniform_f","shader_set_uniform_f_array","shader_set_uniform_i","shader_set_uniform_i_array","shader_set_uniform_matrix","shader_set_uniform_matrix_array","shaders_are_supported","shop_leave_rating","show_debug_message","show_debug_overlay","show_error","show_message","show_message_async","show_question","show_question_async","sign","sin","skeleton_animation_clear","skeleton_animation_get","skeleton_animation_get_duration","skeleton_animation_get_ext","skeleton_animation_get_frame","skeleton_animation_get_frames","skeleton_animation_list","skeleton_animation_mix","skeleton_animation_set","skeleton_animation_set_ext","skeleton_animation_set_frame","skeleton_attachment_create","skeleton_attachment_get","skeleton_attachment_set","skeleton_bone_data_get","skeleton_bone_data_set","skeleton_bone_state_get","skeleton_bone_state_set","skeleton_collision_draw_set","skeleton_get_bounds","skeleton_get_minmax","skeleton_get_num_bounds","skeleton_skin_get","skeleton_skin_list","skeleton_skin_set","skeleton_slot_data","sprite_add","sprite_add_from_surface","sprite_assign","sprite_collision_mask","sprite_create_from_surface","sprite_delete","sprite_duplicate","sprite_exists","sprite_flush","sprite_flush_multi","sprite_get_bbox_bottom","sprite_get_bbox_left","sprite_get_bbox_right","sprite_get_bbox_top","sprite_get_height","sprite_get_name","sprite_get_number","sprite_get_speed","sprite_get_speed_type","sprite_get_texture","sprite_get_tpe","sprite_get_uvs","sprite_get_width","sprite_get_xoffset","sprite_get_yoffset","sprite_merge","sprite_prefetch","sprite_prefetch_multi","sprite_replace","sprite_save","sprite_save_strip","sprite_set_alpha_from_sprite","sprite_set_cache_size","sprite_set_cache_size_ext","sprite_set_offset","sprite_set_speed","sqr","sqrt","steam_activate_overlay","steam_activate_overlay_browser","steam_activate_overlay_store","steam_activate_overlay_user","steam_available_languages","steam_clear_achievement","steam_create_leaderboard","steam_current_game_language","steam_download_friends_scores","steam_download_scores","steam_download_scores_around_user","steam_file_delete","steam_file_exists","steam_file_persisted","steam_file_read","steam_file_share","steam_file_size","steam_file_write","steam_file_write_file","steam_get_achievement","steam_get_app_id","steam_get_persona_name","steam_get_quota_free","steam_get_quota_total","steam_get_stat_avg_rate","steam_get_stat_float","steam_get_stat_int","steam_get_user_account_id","steam_get_user_persona_name","steam_get_user_steam_id","steam_initialised","steam_is_cloud_enabled_for_account","steam_is_cloud_enabled_for_app","steam_is_overlay_activated","steam_is_overlay_enabled","steam_is_screenshot_requested","steam_is_user_logged_on","steam_reset_all_stats","steam_reset_all_stats_achievements","steam_send_screenshot","steam_set_achievement","steam_set_stat_avg_rate","steam_set_stat_float","steam_set_stat_int","steam_stats_ready","steam_ugc_create_item","steam_ugc_create_query_all","steam_ugc_create_query_all_ex","steam_ugc_create_query_user","steam_ugc_create_query_user_ex","steam_ugc_download","steam_ugc_get_item_install_info","steam_ugc_get_item_update_info","steam_ugc_get_item_update_progress","steam_ugc_get_subscribed_items","steam_ugc_num_subscribed_items","steam_ugc_query_add_excluded_tag","steam_ugc_query_add_required_tag","steam_ugc_query_set_allow_cached_response","steam_ugc_query_set_cloud_filename_filter","steam_ugc_query_set_match_any_tag","steam_ugc_query_set_ranked_by_trend_days","steam_ugc_query_set_return_long_description","steam_ugc_query_set_return_total_only","steam_ugc_query_set_search_text","steam_ugc_request_item_details","steam_ugc_send_query","steam_ugc_set_item_content","steam_ugc_set_item_description","steam_ugc_set_item_preview","steam_ugc_set_item_tags","steam_ugc_set_item_title","steam_ugc_set_item_visibility","steam_ugc_start_item_update","steam_ugc_submit_item_update","steam_ugc_subscribe_item","steam_ugc_unsubscribe_item","steam_upload_score","steam_upload_score_buffer","steam_upload_score_buffer_ext","steam_upload_score_ext","steam_user_installed_dlc","steam_user_owns_dlc","string","string_byte_at","string_byte_length","string_char_at","string_copy","string_count","string_delete","string_digits","string_format","string_hash_to_newline","string_height","string_height_ext","string_insert","string_length","string_letters","string_lettersdigits","string_lower","string_ord_at","string_pos","string_repeat","string_replace","string_replace_all","string_set_byte_at","string_upper","string_width","string_width_ext","surface_copy","surface_copy_part","surface_create","surface_create_ext","surface_depth_disable","surface_exists","surface_free","surface_get_depth_disable","surface_get_height","surface_get_texture","surface_get_width","surface_getpixel","surface_getpixel_ext","surface_reset_target","surface_resize","surface_save","surface_save_part","surface_set_target","surface_set_target_ext","tan","texture_get_height","texture_get_texel_height","texture_get_texel_width","texture_get_uvs","texture_get_width","texture_global_scale","texture_set_stage","tile_get_empty","tile_get_flip","tile_get_index","tile_get_mirror","tile_get_rotate","tile_set_empty","tile_set_flip","tile_set_index","tile_set_mirror","tile_set_rotate","tilemap_clear","tilemap_get","tilemap_get_at_pixel","tilemap_get_cell_x_at_pixel","tilemap_get_cell_y_at_pixel","tilemap_get_frame","tilemap_get_global_mask","tilemap_get_height","tilemap_get_mask","tilemap_get_tile_height","tilemap_get_tile_width","tilemap_get_tileset","tilemap_get_width","tilemap_get_x","tilemap_get_y","tilemap_set","tilemap_set_at_pixel","tilemap_set_global_mask","tilemap_set_mask","tilemap_tileset","tilemap_x","tilemap_y","timeline_add","timeline_clear","timeline_delete","timeline_exists","timeline_get_name","timeline_max_moment","timeline_moment_add_script","timeline_moment_clear","timeline_size","typeof","url_get_domain","url_open","url_open_ext","url_open_full","variable_global_exists","variable_global_get","variable_global_set","variable_instance_exists","variable_instance_get","variable_instance_get_names","variable_instance_set","variable_struct_exists","variable_struct_get","variable_struct_get_names","variable_struct_names_count","variable_struct_remove","variable_struct_set","vertex_argb","vertex_begin","vertex_color","vertex_colour","vertex_create_buffer","vertex_create_buffer_ext","vertex_create_buffer_from_buffer","vertex_create_buffer_from_buffer_ext","vertex_delete_buffer","vertex_end","vertex_float1","vertex_float2","vertex_float3","vertex_float4","vertex_format_add_color","vertex_format_add_colour","vertex_format_add_custom","vertex_format_add_normal","vertex_format_add_position","vertex_format_add_position_3d","vertex_format_add_texcoord","vertex_format_add_textcoord","vertex_format_begin","vertex_format_delete","vertex_format_end","vertex_freeze","vertex_get_buffer_size","vertex_get_number","vertex_normal","vertex_position","vertex_position_3d","vertex_submit","vertex_texcoord","vertex_ubyte4","view_get_camera","view_get_hport","view_get_surface_id","view_get_visible","view_get_wport","view_get_xport","view_get_yport","view_set_camera","view_set_hport","view_set_surface_id","view_set_visible","view_set_wport","view_set_xport","view_set_yport","virtual_key_add","virtual_key_delete","virtual_key_hide","virtual_key_show","win8_appbar_add_element","win8_appbar_enable","win8_appbar_remove_element","win8_device_touchscreen_available","win8_license_initialize_sandbox","win8_license_trial_version","win8_livetile_badge_clear","win8_livetile_badge_notification","win8_livetile_notification_begin","win8_livetile_notification_end","win8_livetile_notification_expiry","win8_livetile_notification_image_add","win8_livetile_notification_secondary_begin","win8_livetile_notification_tag","win8_livetile_notification_text_add","win8_livetile_queue_enable","win8_livetile_tile_clear","win8_livetile_tile_notification","win8_search_add_suggestions","win8_search_disable","win8_search_enable","win8_secondarytile_badge_notification","win8_secondarytile_delete","win8_secondarytile_pin","win8_settingscharm_add_entry","win8_settingscharm_add_html_entry","win8_settingscharm_add_xaml_entry","win8_settingscharm_get_xaml_property","win8_settingscharm_remove_entry","win8_settingscharm_set_xaml_property","win8_share_file","win8_share_image","win8_share_screenshot","win8_share_text","win8_share_url","window_center","window_device","window_get_caption","window_get_color","window_get_colour","window_get_cursor","window_get_fullscreen","window_get_height","window_get_visible_rects","window_get_width","window_get_x","window_get_y","window_handle","window_has_focus","window_mouse_get_x","window_mouse_get_y","window_mouse_set","window_set_caption","window_set_color","window_set_colour","window_set_cursor","window_set_fullscreen","window_set_max_height","window_set_max_width","window_set_min_height","window_set_min_width","window_set_position","window_set_rectangle","window_set_size","window_view_mouse_get_x","window_view_mouse_get_y","window_views_mouse_get_x","window_views_mouse_get_y","winphone_license_trial_version","winphone_tile_back_content","winphone_tile_back_content_wide","winphone_tile_back_image","winphone_tile_back_image_wide","winphone_tile_back_title","winphone_tile_background_color","winphone_tile_background_colour","winphone_tile_count","winphone_tile_cycle_images","winphone_tile_front_image","winphone_tile_front_image_small","winphone_tile_front_image_wide","winphone_tile_icon_image","winphone_tile_small_background_image","winphone_tile_small_icon_image","winphone_tile_title","winphone_tile_wide_content","zip_unzip"],literal:["all","false","noone","pointer_invalid","pointer_null","true","undefined"],symbol:["ANSI_CHARSET","ARABIC_CHARSET","BALTIC_CHARSET","CHINESEBIG5_CHARSET","DEFAULT_CHARSET","EASTEUROPE_CHARSET","GB2312_CHARSET","GM_build_date","GM_runtime_version","GM_version","GREEK_CHARSET","HANGEUL_CHARSET","HEBREW_CHARSET","JOHAB_CHARSET","MAC_CHARSET","OEM_CHARSET","RUSSIAN_CHARSET","SHIFTJIS_CHARSET","SYMBOL_CHARSET","THAI_CHARSET","TURKISH_CHARSET","VIETNAMESE_CHARSET","achievement_achievement_info","achievement_filter_all_players","achievement_filter_favorites_only","achievement_filter_friends_only","achievement_friends_info","achievement_leaderboard_info","achievement_our_info","achievement_pic_loaded","achievement_show_achievement","achievement_show_bank","achievement_show_friend_picker","achievement_show_leaderboard","achievement_show_profile","achievement_show_purchase_prompt","achievement_show_ui","achievement_type_achievement_challenge","achievement_type_score_challenge","asset_font","asset_object","asset_path","asset_room","asset_script","asset_shader","asset_sound","asset_sprite","asset_tiles","asset_timeline","asset_unknown","audio_3d","audio_falloff_exponent_distance","audio_falloff_exponent_distance_clamped","audio_falloff_inverse_distance","audio_falloff_inverse_distance_clamped","audio_falloff_linear_distance","audio_falloff_linear_distance_clamped","audio_falloff_none","audio_mono","audio_new_system","audio_old_system","audio_stereo","bm_add","bm_complex","bm_dest_alpha","bm_dest_color","bm_dest_colour","bm_inv_dest_alpha","bm_inv_dest_color","bm_inv_dest_colour","bm_inv_src_alpha","bm_inv_src_color","bm_inv_src_colour","bm_max","bm_normal","bm_one","bm_src_alpha","bm_src_alpha_sat","bm_src_color","bm_src_colour","bm_subtract","bm_zero","browser_chrome","browser_edge","browser_firefox","browser_ie","browser_ie_mobile","browser_not_a_browser","browser_opera","browser_safari","browser_safari_mobile","browser_tizen","browser_unknown","browser_windows_store","buffer_bool","buffer_f16","buffer_f32","buffer_f64","buffer_fast","buffer_fixed","buffer_generalerror","buffer_grow","buffer_invalidtype","buffer_network","buffer_outofbounds","buffer_outofspace","buffer_s16","buffer_s32","buffer_s8","buffer_seek_end","buffer_seek_relative","buffer_seek_start","buffer_string","buffer_surface_copy","buffer_text","buffer_u16","buffer_u32","buffer_u64","buffer_u8","buffer_vbuffer","buffer_wrap","button_type","c_aqua","c_black","c_blue","c_dkgray","c_fuchsia","c_gray","c_green","c_lime","c_ltgray","c_maroon","c_navy","c_olive","c_orange","c_purple","c_red","c_silver","c_teal","c_white","c_yellow","cmpfunc_always","cmpfunc_equal","cmpfunc_greater","cmpfunc_greaterequal","cmpfunc_less","cmpfunc_lessequal","cmpfunc_never","cmpfunc_notequal","cr_appstart","cr_arrow","cr_beam","cr_cross","cr_default","cr_drag","cr_handpoint","cr_hourglass","cr_none","cr_size_all","cr_size_nesw","cr_size_ns","cr_size_nwse","cr_size_we","cr_uparrow","cull_clockwise","cull_counterclockwise","cull_noculling","device_emulator","device_ios_ipad","device_ios_ipad_retina","device_ios_iphone","device_ios_iphone5","device_ios_iphone6","device_ios_iphone6plus","device_ios_iphone_retina","device_ios_unknown","device_tablet","display_landscape","display_landscape_flipped","display_portrait","display_portrait_flipped","dll_cdecl","dll_stdcall","ds_type_grid","ds_type_list","ds_type_map","ds_type_priority","ds_type_queue","ds_type_stack","ef_cloud","ef_ellipse","ef_explosion","ef_firework","ef_flare","ef_rain","ef_ring","ef_smoke","ef_smokeup","ef_snow","ef_spark","ef_star","ev_alarm","ev_animation_end","ev_boundary","ev_cleanup","ev_close_button","ev_collision","ev_create","ev_destroy","ev_draw","ev_draw_begin","ev_draw_end","ev_draw_post","ev_draw_pre","ev_end_of_path","ev_game_end","ev_game_start","ev_gesture","ev_gesture_double_tap","ev_gesture_drag_end","ev_gesture_drag_start","ev_gesture_dragging","ev_gesture_flick","ev_gesture_pinch_end","ev_gesture_pinch_in","ev_gesture_pinch_out","ev_gesture_pinch_start","ev_gesture_rotate_end","ev_gesture_rotate_start","ev_gesture_rotating","ev_gesture_tap","ev_global_gesture_double_tap","ev_global_gesture_drag_end","ev_global_gesture_drag_start","ev_global_gesture_dragging","ev_global_gesture_flick","ev_global_gesture_pinch_end","ev_global_gesture_pinch_in","ev_global_gesture_pinch_out","ev_global_gesture_pinch_start","ev_global_gesture_rotate_end","ev_global_gesture_rotate_start","ev_global_gesture_rotating","ev_global_gesture_tap","ev_global_left_button","ev_global_left_press","ev_global_left_release","ev_global_middle_button","ev_global_middle_press","ev_global_middle_release","ev_global_right_button","ev_global_right_press","ev_global_right_release","ev_gui","ev_gui_begin","ev_gui_end","ev_joystick1_button1","ev_joystick1_button2","ev_joystick1_button3","ev_joystick1_button4","ev_joystick1_button5","ev_joystick1_button6","ev_joystick1_button7","ev_joystick1_button8","ev_joystick1_down","ev_joystick1_left","ev_joystick1_right","ev_joystick1_up","ev_joystick2_button1","ev_joystick2_button2","ev_joystick2_button3","ev_joystick2_button4","ev_joystick2_button5","ev_joystick2_button6","ev_joystick2_button7","ev_joystick2_button8","ev_joystick2_down","ev_joystick2_left","ev_joystick2_right","ev_joystick2_up","ev_keyboard","ev_keypress","ev_keyrelease","ev_left_button","ev_left_press","ev_left_release","ev_middle_button","ev_middle_press","ev_middle_release","ev_mouse","ev_mouse_enter","ev_mouse_leave","ev_mouse_wheel_down","ev_mouse_wheel_up","ev_no_button","ev_no_more_health","ev_no_more_lives","ev_other","ev_outside","ev_right_button","ev_right_press","ev_right_release","ev_room_end","ev_room_start","ev_step","ev_step_begin","ev_step_end","ev_step_normal","ev_trigger","ev_user0","ev_user1","ev_user2","ev_user3","ev_user4","ev_user5","ev_user6","ev_user7","ev_user8","ev_user9","ev_user10","ev_user11","ev_user12","ev_user13","ev_user14","ev_user15","fa_archive","fa_bottom","fa_center","fa_directory","fa_hidden","fa_left","fa_middle","fa_readonly","fa_right","fa_sysfile","fa_top","fa_volumeid","fb_login_default","fb_login_fallback_to_webview","fb_login_forcing_safari","fb_login_forcing_webview","fb_login_no_fallback_to_webview","fb_login_use_system_account","gamespeed_fps","gamespeed_microseconds","ge_lose","global","gp_axislh","gp_axislv","gp_axisrh","gp_axisrv","gp_face1","gp_face2","gp_face3","gp_face4","gp_padd","gp_padl","gp_padr","gp_padu","gp_select","gp_shoulderl","gp_shoulderlb","gp_shoulderr","gp_shoulderrb","gp_start","gp_stickl","gp_stickr","iap_available","iap_canceled","iap_ev_consume","iap_ev_product","iap_ev_purchase","iap_ev_restore","iap_ev_storeload","iap_failed","iap_purchased","iap_refunded","iap_status_available","iap_status_loading","iap_status_processing","iap_status_restoring","iap_status_unavailable","iap_status_uninitialised","iap_storeload_failed","iap_storeload_ok","iap_unavailable","input_type","kbv_autocapitalize_characters","kbv_autocapitalize_none","kbv_autocapitalize_sentences","kbv_autocapitalize_words","kbv_returnkey_continue","kbv_returnkey_default","kbv_returnkey_done","kbv_returnkey_emergency","kbv_returnkey_go","kbv_returnkey_google","kbv_returnkey_join","kbv_returnkey_next","kbv_returnkey_route","kbv_returnkey_search","kbv_returnkey_send","kbv_returnkey_yahoo","kbv_type_ascii","kbv_type_default","kbv_type_email","kbv_type_numbers","kbv_type_phone","kbv_type_phone_name","kbv_type_url","layerelementtype_background","layerelementtype_instance","layerelementtype_oldtilemap","layerelementtype_particlesystem","layerelementtype_sprite","layerelementtype_tile","layerelementtype_tilemap","layerelementtype_undefined","lb_disp_none","lb_disp_numeric","lb_disp_time_ms","lb_disp_time_sec","lb_sort_ascending","lb_sort_descending","lb_sort_none","leaderboard_type_number","leaderboard_type_time_mins_secs","lighttype_dir","lighttype_point","local","matrix_projection","matrix_view","matrix_world","mb_any","mb_left","mb_middle","mb_none","mb_right","mip_markedonly","mip_off","mip_on","network_config_connect_timeout","network_config_disable_reliable_udp","network_config_enable_reliable_udp","network_config_use_non_blocking_socket","network_socket_bluetooth","network_socket_tcp","network_socket_udp","network_type_connect","network_type_data","network_type_disconnect","network_type_non_blocking_connect","of_challen","of_challenge_tie","of_challenge_win","os_3ds","os_android","os_bb10","os_ios","os_linux","os_macosx","os_ps3","os_ps4","os_psvita","os_switch","os_symbian","os_tizen","os_tvos","os_unknown","os_uwp","os_wiiu","os_win32","os_win8native","os_windows","os_winphone","os_xbox360","os_xboxone","other","ov_achievements","ov_community","ov_friends","ov_gamegroup","ov_players","ov_settings","path_action_continue","path_action_restart","path_action_reverse","path_action_stop","phy_debug_render_aabb","phy_debug_render_collision_pairs","phy_debug_render_coms","phy_debug_render_core_shapes","phy_debug_render_joints","phy_debug_render_obb","phy_debug_render_shapes","phy_joint_anchor_1_x","phy_joint_anchor_1_y","phy_joint_anchor_2_x","phy_joint_anchor_2_y","phy_joint_angle","phy_joint_angle_limits","phy_joint_damping_ratio","phy_joint_frequency","phy_joint_length_1","phy_joint_length_2","phy_joint_lower_angle_limit","phy_joint_max_force","phy_joint_max_length","phy_joint_max_motor_force","phy_joint_max_motor_torque","phy_joint_max_torque","phy_joint_motor_force","phy_joint_motor_speed","phy_joint_motor_torque","phy_joint_reaction_force_x","phy_joint_reaction_force_y","phy_joint_reaction_torque","phy_joint_speed","phy_joint_translation","phy_joint_upper_angle_limit","phy_particle_data_flag_category","phy_particle_data_flag_color","phy_particle_data_flag_colour","phy_particle_data_flag_position","phy_particle_data_flag_typeflags","phy_particle_data_flag_velocity","phy_particle_flag_colormixing","phy_particle_flag_colourmixing","phy_particle_flag_elastic","phy_particle_flag_powder","phy_particle_flag_spring","phy_particle_flag_tensile","phy_particle_flag_viscous","phy_particle_flag_wall","phy_particle_flag_water","phy_particle_flag_zombie","phy_particle_group_flag_rigid","phy_particle_group_flag_solid","pi","pr_linelist","pr_linestrip","pr_pointlist","pr_trianglefan","pr_trianglelist","pr_trianglestrip","ps_distr_gaussian","ps_distr_invgaussian","ps_distr_linear","ps_shape_diamond","ps_shape_ellipse","ps_shape_line","ps_shape_rectangle","pt_shape_circle","pt_shape_cloud","pt_shape_disk","pt_shape_explosion","pt_shape_flare","pt_shape_line","pt_shape_pixel","pt_shape_ring","pt_shape_smoke","pt_shape_snow","pt_shape_spark","pt_shape_sphere","pt_shape_square","pt_shape_star","spritespeed_framespergameframe","spritespeed_framespersecond","text_type","tf_anisotropic","tf_linear","tf_point","tile_flip","tile_index_mask","tile_mirror","tile_rotate","timezone_local","timezone_utc","tm_countvsyncs","tm_sleep","ty_real","ty_string","ugc_filetype_community","ugc_filetype_microtrans","ugc_list_Favorited","ugc_list_Followed","ugc_list_Published","ugc_list_Subscribed","ugc_list_UsedOrPlayed","ugc_list_VotedDown","ugc_list_VotedOn","ugc_list_VotedUp","ugc_list_WillVoteLater","ugc_match_AllGuides","ugc_match_Artwork","ugc_match_Collections","ugc_match_ControllerBindings","ugc_match_IntegratedGuides","ugc_match_Items","ugc_match_Items_Mtx","ugc_match_Items_ReadyToUse","ugc_match_Screenshots","ugc_match_UsableInGame","ugc_match_Videos","ugc_match_WebGuides","ugc_query_AcceptedForGameRankedByAcceptanceDate","ugc_query_CreatedByFollowedUsersRankedByPublicationDate","ugc_query_CreatedByFriendsRankedByPublicationDate","ugc_query_FavoritedByFriendsRankedByPublicationDate","ugc_query_NotYetRated","ugc_query_RankedByNumTimesReported","ugc_query_RankedByPublicationDate","ugc_query_RankedByTextSearch","ugc_query_RankedByTotalVotesAsc","ugc_query_RankedByTrend","ugc_query_RankedByVote","ugc_query_RankedByVotesUp","ugc_result_success","ugc_sortorder_CreationOrderAsc","ugc_sortorder_CreationOrderDesc","ugc_sortorder_ForModeration","ugc_sortorder_LastUpdatedDesc","ugc_sortorder_SubscriptionDateDesc","ugc_sortorder_TitleAsc","ugc_sortorder_VoteScoreDesc","ugc_visibility_friends_only","ugc_visibility_private","ugc_visibility_public","vertex_type_color","vertex_type_colour","vertex_type_float1","vertex_type_float2","vertex_type_float3","vertex_type_float4","vertex_type_ubyte4","vertex_usage_binormal","vertex_usage_blendindices","vertex_usage_blendweight","vertex_usage_color","vertex_usage_colour","vertex_usage_depth","vertex_usage_fog","vertex_usage_normal","vertex_usage_position","vertex_usage_psize","vertex_usage_sample","vertex_usage_tangent","vertex_usage_texcoord","vertex_usage_textcoord","vk_add","vk_alt","vk_anykey","vk_backspace","vk_control","vk_decimal","vk_delete","vk_divide","vk_down","vk_end","vk_enter","vk_escape","vk_f1","vk_f2","vk_f3","vk_f4","vk_f5","vk_f6","vk_f7","vk_f8","vk_f9","vk_f10","vk_f11","vk_f12","vk_home","vk_insert","vk_lalt","vk_lcontrol","vk_left","vk_lshift","vk_multiply","vk_nokey","vk_numpad0","vk_numpad1","vk_numpad2","vk_numpad3","vk_numpad4","vk_numpad5","vk_numpad6","vk_numpad7","vk_numpad8","vk_numpad9","vk_pagedown","vk_pageup","vk_pause","vk_printscreen","vk_ralt","vk_rcontrol","vk_return","vk_right","vk_rshift","vk_shift","vk_space","vk_subtract","vk_tab","vk_up"],"variable.language":["alarm","application_surface","argument","argument0","argument1","argument2","argument3","argument4","argument5","argument6","argument7","argument8","argument9","argument10","argument11","argument12","argument13","argument14","argument15","argument_count","argument_relative","async_load","background_color","background_colour","background_showcolor","background_showcolour","bbox_bottom","bbox_left","bbox_right","bbox_top","browser_height","browser_width","caption_health","caption_lives","caption_score","current_day","current_hour","current_minute","current_month","current_second","current_time","current_weekday","current_year","cursor_sprite","debug_mode","delta_time","depth","direction","display_aa","error_last","error_occurred","event_action","event_data","event_number","event_object","event_type","fps","fps_real","friction","game_display_name","game_id","game_project_name","game_save_id","gamemaker_pro","gamemaker_registered","gamemaker_version","gravity","gravity_direction","health","hspeed","iap_data","id|0","image_alpha","image_angle","image_blend","image_index","image_number","image_speed","image_xscale","image_yscale","instance_count","instance_id","keyboard_key","keyboard_lastchar","keyboard_lastkey","keyboard_string","layer","lives","mask_index","mouse_button","mouse_lastbutton","mouse_x","mouse_y","object_index","os_browser","os_device","os_type","os_version","path_endaction","path_index","path_orientation","path_position","path_positionprevious","path_scale","path_speed","persistent","phy_active","phy_angular_damping","phy_angular_velocity","phy_bullet","phy_col_normal_x","phy_col_normal_y","phy_collision_points","phy_collision_x","phy_collision_y","phy_com_x","phy_com_y","phy_dynamic","phy_fixed_rotation","phy_inertia","phy_kinematic","phy_linear_damping","phy_linear_velocity_x","phy_linear_velocity_y","phy_mass","phy_position_x","phy_position_xprevious","phy_position_y","phy_position_yprevious","phy_rotation","phy_sleeping","phy_speed","phy_speed_x","phy_speed_y","program_directory","room","room_caption","room_first","room_height","room_last","room_persistent","room_speed","room_width","score","self","show_health","show_lives","show_score","solid","speed","sprite_height","sprite_index","sprite_width","sprite_xoffset","sprite_yoffset","temp_directory","timeline_index","timeline_loop","timeline_position","timeline_running","timeline_speed","view_angle","view_camera","view_current","view_enabled","view_hborder","view_hport","view_hspeed","view_hview","view_object","view_surface_id","view_vborder","view_visible","view_vspeed","view_wport","view_wview","view_xport","view_xview","view_yport","view_yview","visible","vspeed","webgl_enabled","working_directory","xprevious","xstart","x|0","yprevious","ystart","y|0"]},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE]}}function lx(t){return{name:"Golo",keywords:{keyword:["println","readln","print","import","module","function","local","return","let","var","while","for","foreach","times","in","case","when","match","with","break","continue","augment","augmentation","each","find","filter","reduce","if","then","else","otherwise","try","catch","finally","raise","throw","orIfNull","DynamicObject|10","DynamicVariable","struct","Observable","map","set","vector","list","array"],literal:["true","false","null"]},contains:[t.HASH_COMMENT_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"}]}}function cx(t){return{name:"Gradle",case_insensitive:!0,keywords:["task","project","allprojects","subprojects","artifacts","buildscript","configurations","dependencies","repositories","sourceSets","description","delete","from","into","include","exclude","source","classpath","destinationDir","includes","options","sourceCompatibility","targetCompatibility","group","flatDir","doLast","doFirst","flatten","todir","fromdir","ant","def","abstract","break","case","catch","continue","default","do","else","extends","final","finally","for","if","implements","instanceof","native","new","private","protected","public","return","static","switch","synchronized","throw","throws","transient","try","volatile","while","strictfp","package","import","false","null","super","this","true","antlrtask","checkstyle","codenarc","copy","boolean","byte","char","class","double","float","int","interface","long","short","void","compile","runTime","file","fileTree","abs","any","append","asList","asWritable","call","collect","compareTo","count","div","dump","each","eachByte","eachFile","eachLine","every","find","findAll","flatten","getAt","getErr","getIn","getOut","getText","grep","immutable","inject","inspect","intersect","invokeMethods","isCase","join","leftShift","minus","multiply","newInputStream","newOutputStream","newPrintWriter","newReader","newWriter","next","plus","pop","power","previous","print","println","push","putAt","read","readBytes","readLines","reverse","reverseEach","round","size","sort","splitEachLine","step","subMap","times","toInteger","toList","tokenize","upto","waitForOrKill","withPrintWriter","withReader","withStream","withWriter","withWriterAppend","write","writeLine"],contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.NUMBER_MODE,t.REGEXP_MODE]}}function hl(t,e={}){return e.variants=t,e}function ux(t){const e=t.regex,n="[A-Za-z0-9_$]+",r=hl([t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]})]),i={className:"regexp",begin:/~?\/[^\/\n]+\//,contains:[t.BACKSLASH_ESCAPE]},o=hl([t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE]),a=hl([{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:"\\$/",end:"/\\$",relevance:10},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE],{className:"string"}),s={match:[/(class|interface|trait|enum|record|extends|implements)/,/\s+/,t.UNDERSCORE_IDENT_RE],scope:{1:"keyword",3:"title.class"}};return{name:"Groovy",keywords:{"variable.language":"this super",literal:"true false null",type:["byte","short","char","int","long","boolean","float","double","void"],keyword:["def","as","in","assert","trait","abstract","static","volatile","transient","public","private","protected","synchronized","final","class","interface","enum","if","else","for","while","switch","case","break","default","continue","throw","throws","try","catch","finally","implements","extends","new","import","package","return","instanceof","var"]},contains:[t.SHEBANG({binary:"groovy",relevance:10}),r,a,i,o,s,{className:"meta",begin:"@[A-Za-z]+",relevance:0},{className:"attr",begin:n+"[ ]*:",relevance:0},{begin:/\?/,end:/:/,relevance:0,contains:[r,a,i,o,"self"]},{className:"symbol",begin:"^[ ]*"+e.lookahead(n+":"),excludeBegin:!0,end:n+":",relevance:0}],illegal:/#|<\//}}function dx(t){return{name:"HAML",case_insensitive:!0,contains:[{className:"meta",begin:"^!!!( (5|1\\.1|Strict|Frameset|Basic|Mobile|RDFa|XML\\b.*))?$",relevance:10},t.COMMENT("^\\s*(!=#|=#|-#|/).*$",null,{relevance:0}),{begin:"^\\s*(-|=|!=)(?!#)",end:/$/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0},{className:"tag",begin:"^\\s*%",contains:[{className:"selector-tag",begin:"\\w+"},{className:"selector-id",begin:"#[\\w-]+"},{className:"selector-class",begin:"\\.[\\w-]+"},{begin:/\{\s*/,end:/\s*\}/,contains:[{begin:":\\w+\\s*=>",end:",\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:":\\w+"},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]},{begin:"\\(\\s*",end:"\\s*\\)",excludeEnd:!0,contains:[{begin:"\\w+\\s*=",end:"\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:"\\w+",relevance:0},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]}]},{begin:"^\\s*[=~]\\s*"},{begin:/#\{/,end:/\}/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}function px(t){const e=t.regex,n={$pattern:/[\w.\/]+/,built_in:["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},r={$pattern:/[\w.\/]+/,literal:["true","false","undefined","null"]},i=/""|"[^"]+"/,o=/''|'[^']+'/,a=/\[\]|\[[^\]]+\]/,s=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,l=/(\.|\/)/,c=e.either(i,o,a,s),u=e.concat(e.optional(/\.|\.\/|\//),c,e.anyNumberOfTimes(e.concat(l,c))),d=e.concat("(",a,"|",s,")(?==)"),p={begin:u},_=t.inherit(p,{keywords:r}),m={begin:/\(/,end:/\)/},f={className:"attr",begin:d,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[t.NUMBER_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,_,m]}}},h={begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},E={contains:[t.NUMBER_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,h,f,_,m],returnEnd:!0},S=t.inherit(p,{className:"name",keywords:n,starts:t.inherit(E,{end:/\)/})});m.contains=[S];const b=t.inherit(p,{keywords:n,className:"name",starts:t.inherit(E,{end:/\}\}/})}),g=t.inherit(p,{keywords:n,className:"name"}),C=t.inherit(p,{className:"name",keywords:n,starts:t.inherit(E,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},t.COMMENT(/\{\{!--/,/--\}\}/),t.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[b],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[g]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[b]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[g]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[C]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[C]}]}}function _x(t){const e="([0-9]_*)+",n="([0-9a-fA-F]_*)+",r="([01]_*)+",i="([0-7]_*)+",l="([!#$%&*+.\\/<=>?@\\\\^~-]|(?!([(),;\\[\\]`|{}]|[_:\"']))(\\p{S}|\\p{P}))",c={variants:[t.COMMENT("--+","$"),t.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},u={className:"meta",begin:/\{-#/,end:/#-\}/},d={className:"meta",begin:"^#",end:"$"},p={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},_={begin:"\\(",end:"\\)",illegal:'"',contains:[u,d,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},t.inherit(t.TITLE_MODE,{begin:"[_a-z][\\w']*"}),c]},m={begin:/\{/,end:/\}/,contains:_.contains},f={className:"number",relevance:0,variants:[{match:`\\b(${e})(\\.(${e}))?([eE][+-]?(${e}))?\\b`},{match:`\\b0[xX]_*(${n})(\\.(${n}))?([pP][+-]?(${e}))?\\b`},{match:`\\b0[oO](${i})\\b`},{match:`\\b0[bB](${r})\\b`}]};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",unicodeRegex:!0,contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[_,c],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[_,c],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[p,_,c]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[u,p,_,m,c]},{beginKeywords:"default",end:"$",contains:[p,_,c]},{beginKeywords:"infix infixl infixr",end:"$",contains:[t.C_NUMBER_MODE,c]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[p,t.QUOTE_STRING_MODE,c]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},u,d,{scope:"string",begin:/'(?=\\?.')/,end:/'/,contains:[{scope:"char.escape",match:/\\./}]},t.QUOTE_STRING_MODE,f,p,t.inherit(t.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),{begin:`(?!-)${l}--+|--+(?!-)${l}`},c,{begin:"->|<-"}]}}function mx(t){const e="[a-zA-Z_$][a-zA-Z0-9_$]*",n=/(-?)(\b0[xX][a-fA-F0-9_]+|(\b\d+(\.[\d_]*)?|\.[\d_]+)(([eE][-+]?\d+)|i32|u32|i64|f64)?)/;return{name:"Haxe",aliases:["hx"],keywords:{keyword:"abstract break case cast catch continue default do dynamic else enum extern final for function here if import in inline is macro never new override package private get set public return static super switch this throw trace try typedef untyped using var while "+"Int Float String Bool Dynamic Void Array ",built_in:"trace this",literal:"true false null _"},contains:[{className:"string",begin:"'",end:"'",contains:[t.BACKSLASH_ESCAPE,{className:"subst",begin:/\$\{/,end:/\}/},{className:"subst",begin:/\$/,end:/\W\}/}]},t.QUOTE_STRING_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"number",begin:n,relevance:0},{className:"variable",begin:"\\$"+e},{className:"meta",begin:/@:?/,end:/\(|$/,excludeEnd:!0},{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elseif end error"}},{className:"type",begin:/:[ \t]*/,end:/[^A-Za-z0-9_ \t\->]/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/:[ \t]*/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/new */,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"title.class",beginKeywords:"enum",end:/\{/,contains:[t.TITLE_MODE]},{className:"title.class",begin:"\\babstract\\b(?=\\s*"+t.IDENT_RE+"\\s*\\()",end:/[\{$]/,contains:[{className:"type",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/from +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/to +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},t.TITLE_MODE],keywords:{keyword:"abstract from to"}},{className:"title.class",begin:/\b(class|interface) +/,end:/[\{$]/,excludeEnd:!0,keywords:"class interface",contains:[{className:"keyword",begin:/\b(extends|implements) +/,keywords:"extends implements",contains:[{className:"type",begin:t.IDENT_RE,relevance:0}]},t.TITLE_MODE]},{className:"title.function",beginKeywords:"function",end:/\(/,excludeEnd:!0,illegal:/\S/,contains:[t.TITLE_MODE]}],illegal:/<\//}}function fx(t){return{name:"HSP",case_insensitive:!0,keywords:{$pattern:/[\w._]+/,keyword:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop"},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,{className:"string",begin:/\{"/,end:/"\}/,contains:[t.BACKSLASH_ESCAPE]},t.COMMENT(";","$",{relevance:0}),{className:"meta",begin:"#",end:"$",keywords:{keyword:"addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib"},contains:[t.inherit(t.QUOTE_STRING_MODE,{className:"string"}),t.NUMBER_MODE,t.C_NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"symbol",begin:"^\\*(\\w+|@)"},t.NUMBER_MODE,t.C_NUMBER_MODE]}}function hx(t){const e=t.regex,n="HTTP/([32]|1\\.[01])",r=/[A-Za-z][A-Za-z0-9-]*/,i={className:"attribute",begin:e.concat("^",r,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},o=[i,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+n+" \\d{3})",end:/$/,contains:[{className:"meta",begin:n},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:o}},{begin:"(?=^[A-Z]+ (.*?) "+n+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:n},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:o}},t.inherit(i,{relevance:0})]}}function gx(t){const e="a-zA-Z_\\-!.?+*=<>&#'",n="["+e+"]["+e+"0-9/;:]*",r={$pattern:n,built_in:"!= % %= & &= * ** **= *= *map + += , --build-class-- --import-- -= . / // //= /= < << <<= <= = > >= >> >>= @ @= ^ ^= abs accumulate all and any ap-compose ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast callable calling-module-name car case cdr chain chr coll? combinations compile compress cond cons cons? continue count curry cut cycle dec def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first flatten float? fn fnc fnr for for* format fraction genexpr gensym get getattr global globals group-by hasattr hash hex id identity if if* if-not if-python2 import in inc input instance? integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass iter iterable? iterate iterator? keyword keyword? lambda last len let lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all map max merge-with method-decorator min multi-decorator multicombinations name neg? next none? nonlocal not not-in not? nth numeric? oct odd? open or ord partition permutations pos? post-route postwalk pow prewalk print product profile/calls profile/cpu put-route quasiquote quote raise range read read-str recursive-replace reduce remove repeat repeatedly repr require rest round route route-with-methods rwm second seq set-comp setattr setv some sorted string string? sum switch symbol? take take-nth take-while tee try unless unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms xi xor yield yield-from zero? zip zip-longest | |= ~"},i="[-+]?\\d+(\\.\\d+)?",o={begin:n,relevance:0},a={className:"number",begin:i,relevance:0},s=t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),l=t.COMMENT(";","$",{relevance:0}),c={className:"literal",begin:/\b([Tt]rue|[Ff]alse|nil|None)\b/},u={begin:"[\\[\\{]",end:"[\\]\\}]",relevance:0},d={className:"comment",begin:"\\^"+n},p=t.COMMENT("\\^\\{","\\}"),_={className:"symbol",begin:"[:]{1,2}"+n},m={begin:"\\(",end:"\\)"},f={endsWithParent:!0,relevance:0},h={className:"name",relevance:0,keywords:r,begin:n,starts:f},E=[m,s,d,p,l,_,u,a,c,o];return m.contains=[t.COMMENT("comment",""),h,f],f.contains=E,u.contains=E,{name:"Hy",aliases:["hylang"],illegal:/\S/,contains:[t.SHEBANG(),m,s,d,p,l,_,u,a,c]}}function Ex(t){const e="\\[",n="\\]";return{name:"Inform 7",aliases:["i7"],case_insensitive:!0,keywords:{keyword:"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},contains:[{className:"string",begin:'"',end:'"',relevance:0,contains:[{className:"subst",begin:e,end:n}]},{className:"section",begin:/^(Volume|Book|Part|Chapter|Section|Table)\b/,end:"$"},{begin:/^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,end:":",contains:[{begin:"\\(This",end:"\\)"}]},{className:"comment",begin:e,end:n,contains:["self"]}]}}function Sx(t){const e=t.regex,n={className:"params",begin:"\\(",end:"\\)"},r=/(_[a-z_\d]+)?/,i=/([de][+-]?\d+)?/,o={className:"number",variants:[{begin:e.concat(/\b\d+/,/\.(\d*)/,i,r)},{begin:e.concat(/\b\d+/,i,r)},{begin:e.concat(/\.\d+/,i,r)}],relevance:0};return{name:"IRPF90",case_insensitive:!0,keywords:{literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"},illegal:/\/\*/,contains:[t.inherit(t.APOS_STRING_MODE,{className:"string",relevance:0}),t.inherit(t.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[t.UNDERSCORE_TITLE_MODE,n]},t.COMMENT("!","$",{relevance:0}),t.COMMENT("begin_doc","end_doc",{relevance:10}),o]}}function bx(t){const e="[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*",n="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*",r="and и else иначе endexcept endfinally endforeach конецвсе endif конецесли endwhile конецпока except exitfor finally foreach все if если in в not не or или try while пока ",Ce="SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT SYSRES_CONST_ACCES_RIGHT_TYPE_FULL SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE SYSRES_CONST_ACCESS_NO_ACCESS_VIEW SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_TYPE_CHANGE SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE SYSRES_CONST_ACCESS_TYPE_EXISTS SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE SYSRES_CONST_ACCESS_TYPE_FULL SYSRES_CONST_ACCESS_TYPE_FULL_CODE SYSRES_CONST_ACCESS_TYPE_VIEW SYSRES_CONST_ACCESS_TYPE_VIEW_CODE SYSRES_CONST_ACTION_TYPE_ABORT SYSRES_CONST_ACTION_TYPE_ACCEPT SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT SYSRES_CONST_ACTION_TYPE_CHANGE_CARD SYSRES_CONST_ACTION_TYPE_CHANGE_KIND SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE SYSRES_CONST_ACTION_TYPE_CONTINUE SYSRES_CONST_ACTION_TYPE_COPY SYSRES_CONST_ACTION_TYPE_CREATE SYSRES_CONST_ACTION_TYPE_CREATE_VERSION SYSRES_CONST_ACTION_TYPE_DELETE SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT SYSRES_CONST_ACTION_TYPE_DELETE_VERSION SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE SYSRES_CONST_ACTION_TYPE_LOCK SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY SYSRES_CONST_ACTION_TYPE_MARK_AS_READED SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED SYSRES_CONST_ACTION_TYPE_MODIFY SYSRES_CONST_ACTION_TYPE_MODIFY_CARD SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE SYSRES_CONST_ACTION_TYPE_PERFORM SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY SYSRES_CONST_ACTION_TYPE_RESTART SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE SYSRES_CONST_ACTION_TYPE_REVISION SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL SYSRES_CONST_ACTION_TYPE_SIGN SYSRES_CONST_ACTION_TYPE_START SYSRES_CONST_ACTION_TYPE_UNLOCK SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER SYSRES_CONST_ACTION_TYPE_VERSION_STATE SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY SYSRES_CONST_ACTION_TYPE_VIEW SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE SYSRES_CONST_ADD_REFERENCE_MODE_NAME SYSRES_CONST_ADDITION_REQUISITE_CODE SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS SYSRES_CONST_ALL_USERS_GROUP SYSRES_CONST_ALL_USERS_GROUP_NAME SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE SYSRES_CONST_APPROVING_SIGNATURE_NAME SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN SYSRES_CONST_ATTACH_TYPE_DOC SYSRES_CONST_ATTACH_TYPE_EDOC SYSRES_CONST_ATTACH_TYPE_FOLDER SYSRES_CONST_ATTACH_TYPE_JOB SYSRES_CONST_ATTACH_TYPE_REFERENCE SYSRES_CONST_ATTACH_TYPE_TASK SYSRES_CONST_AUTH_ENCODED_PASSWORD SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE SYSRES_CONST_AUTH_NOVELL SYSRES_CONST_AUTH_PASSWORD SYSRES_CONST_AUTH_PASSWORD_CODE SYSRES_CONST_AUTH_WINDOWS SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_AUTO_ENUM_METHOD_FLAG SYSRES_CONST_AUTO_NUMERATION_CODE SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_USAGE_ALL SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE SYSRES_CONST_AUTOTEXT_USAGE_SIGN SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE SYSRES_CONST_AUTOTEXT_USAGE_WORK SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BTN_PART SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT SYSRES_CONST_CARD_PART SYSRES_CONST_CARD_REFERENCE_MODE_NAME SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT SYSRES_CONST_CODE_COMPONENT_TYPE_URL SYSRES_CONST_CODE_REQUISITE_ACCESS SYSRES_CONST_CODE_REQUISITE_CODE SYSRES_CONST_CODE_REQUISITE_COMPONENT SYSRES_CONST_CODE_REQUISITE_DESCRIPTION SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT SYSRES_CONST_CODE_REQUISITE_RECORD SYSRES_CONST_COMMENT_REQ_CODE SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE SYSRES_CONST_COMP_CODE_GRD SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DOCS SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_COMPONENT_TYPE_EDOCS SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_COMPONENT_TYPE_OTHER SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES SYSRES_CONST_COMPONENT_TYPE_REFERENCES SYSRES_CONST_COMPONENT_TYPE_REPORTS SYSRES_CONST_COMPONENT_TYPE_SCRIPTS SYSRES_CONST_COMPONENT_TYPE_URL SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION SYSRES_CONST_CONST_FIRM_STATUS_COMMON SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL SYSRES_CONST_CONST_NEGATIVE_VALUE SYSRES_CONST_CONST_POSITIVE_VALUE SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE SYSRES_CONST_CONTENTS_REQUISITE_CODE SYSRES_CONST_DATA_TYPE_BOOLEAN SYSRES_CONST_DATA_TYPE_DATE SYSRES_CONST_DATA_TYPE_FLOAT SYSRES_CONST_DATA_TYPE_INTEGER SYSRES_CONST_DATA_TYPE_PICK SYSRES_CONST_DATA_TYPE_REFERENCE SYSRES_CONST_DATA_TYPE_STRING SYSRES_CONST_DATA_TYPE_TEXT SYSRES_CONST_DATA_TYPE_VARIANT SYSRES_CONST_DATE_CLOSE_REQ_CODE SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR SYSRES_CONST_DATE_OPEN_REQ_CODE SYSRES_CONST_DATE_REQUISITE SYSRES_CONST_DATE_REQUISITE_CODE SYSRES_CONST_DATE_REQUISITE_NAME SYSRES_CONST_DATE_REQUISITE_TYPE SYSRES_CONST_DATE_TYPE_CHAR SYSRES_CONST_DATETIME_FORMAT_VALUE SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_DET1_PART SYSRES_CONST_DET2_PART SYSRES_CONST_DET3_PART SYSRES_CONST_DET4_PART SYSRES_CONST_DET5_PART SYSRES_CONST_DET6_PART SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE SYSRES_CONST_DETAIL_REQ_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME SYSRES_CONST_DOCUMENT_STORAGES_CODE SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME SYSRES_CONST_DOUBLE_REQUISITE_CODE SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE SYSRES_CONST_EDITORS_REFERENCE_CODE SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE SYSRES_CONST_EDOC_DATE_REQUISITE_CODE SYSRES_CONST_EDOC_KIND_REFERENCE_CODE SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE SYSRES_CONST_EDOC_NONE_ENCODE_CODE SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_READONLY_ACCESS_CODE SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE SYSRES_CONST_EDOC_WRITE_ACCES_CODE SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_END_DATE_REQUISITE_CODE SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE SYSRES_CONST_EXIST_CONST SYSRES_CONST_EXIST_VALUE SYSRES_CONST_EXPORT_LOCK_TYPE_ASK SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK SYSRES_CONST_EXPORT_VERSION_TYPE_ASK SYSRES_CONST_EXPORT_VERSION_TYPE_LAST SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE SYSRES_CONST_EXTENSION_REQUISITE_CODE SYSRES_CONST_FILTER_NAME_REQUISITE_CODE SYSRES_CONST_FILTER_REQUISITE_CODE SYSRES_CONST_FILTER_TYPE_COMMON_CODE SYSRES_CONST_FILTER_TYPE_COMMON_NAME SYSRES_CONST_FILTER_TYPE_USER_CODE SYSRES_CONST_FILTER_TYPE_USER_NAME SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR SYSRES_CONST_FLOAT_REQUISITE_TYPE SYSRES_CONST_FOLDER_AUTHOR_VALUE SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS SYSRES_CONST_FOLDER_KIND_COMPONENTS SYSRES_CONST_FOLDER_KIND_EDOCS SYSRES_CONST_FOLDER_KIND_JOBS SYSRES_CONST_FOLDER_KIND_TASKS SYSRES_CONST_FOLDER_TYPE_COMMON SYSRES_CONST_FOLDER_TYPE_COMPONENT SYSRES_CONST_FOLDER_TYPE_FAVORITES SYSRES_CONST_FOLDER_TYPE_INBOX SYSRES_CONST_FOLDER_TYPE_OUTBOX SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH SYSRES_CONST_FOLDER_TYPE_SEARCH SYSRES_CONST_FOLDER_TYPE_SHORTCUTS SYSRES_CONST_FOLDER_TYPE_USER SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG SYSRES_CONST_FULL_SUBSTITUTE_TYPE SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE SYSRES_CONST_FUNCTION_CANCEL_RESULT SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM SYSRES_CONST_FUNCTION_CATEGORY_USER SYSRES_CONST_FUNCTION_FAILURE_RESULT SYSRES_CONST_FUNCTION_SAVE_RESULT SYSRES_CONST_GENERATED_REQUISITE SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_USER_REQUISITE_CODE SYSRES_CONST_GROUPS_REFERENCE_CODE SYSRES_CONST_GROUPS_REQUISITE_CODE SYSRES_CONST_HIDDEN_MODE_NAME SYSRES_CONST_HIGH_LVL_REQUISITE_CODE SYSRES_CONST_HISTORY_ACTION_CREATE_CODE SYSRES_CONST_HISTORY_ACTION_DELETE_CODE SYSRES_CONST_HISTORY_ACTION_EDIT_CODE SYSRES_CONST_HOUR_CHAR SYSRES_CONST_ID_REQUISITE_CODE SYSRES_CONST_IDSPS_REQUISITE_CODE SYSRES_CONST_IMAGE_MODE_COLOR SYSRES_CONST_IMAGE_MODE_GREYSCALE SYSRES_CONST_IMAGE_MODE_MONOCHROME SYSRES_CONST_IMPORTANCE_HIGH SYSRES_CONST_IMPORTANCE_LOW SYSRES_CONST_IMPORTANCE_NORMAL SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE SYSRES_CONST_INT_REQUISITE SYSRES_CONST_INT_REQUISITE_TYPE SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR SYSRES_CONST_INTEGER_TYPE_CHAR SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_JOB_BLOCK_DESCRIPTION SYSRES_CONST_JOB_KIND_CONTROL_JOB SYSRES_CONST_JOB_KIND_JOB SYSRES_CONST_JOB_KIND_NOTICE SYSRES_CONST_JOB_STATE_ABORTED SYSRES_CONST_JOB_STATE_COMPLETE SYSRES_CONST_JOB_STATE_WORKING SYSRES_CONST_KIND_REQUISITE_CODE SYSRES_CONST_KIND_REQUISITE_NAME SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE SYSRES_CONST_KOD_INPUT_TYPE SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT SYSRES_CONST_LINK_OBJECT_KIND_EDOC SYSRES_CONST_LINK_OBJECT_KIND_FOLDER SYSRES_CONST_LINK_OBJECT_KIND_JOB SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE SYSRES_CONST_LINK_OBJECT_KIND_TASK SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE SYSRES_CONST_LIST_REFERENCE_MODE_NAME SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE SYSRES_CONST_MAIN_VIEW_CODE SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE SYSRES_CONST_MAXIMIZED_MODE_NAME SYSRES_CONST_ME_VALUE SYSRES_CONST_MESSAGE_ATTENTION_CAPTION SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION SYSRES_CONST_MESSAGE_ERROR_CAPTION SYSRES_CONST_MESSAGE_INFORMATION_CAPTION SYSRES_CONST_MINIMIZED_MODE_NAME SYSRES_CONST_MINUTE_CHAR SYSRES_CONST_MODULE_REQUISITE_CODE SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION SYSRES_CONST_MONTH_FORMAT_VALUE SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_NAME_REQUISITE_CODE SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE SYSRES_CONST_NAMEAN_INPUT_TYPE SYSRES_CONST_NEGATIVE_PICK_VALUE SYSRES_CONST_NEGATIVE_VALUE SYSRES_CONST_NO SYSRES_CONST_NO_PICK_VALUE SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE SYSRES_CONST_NO_VALUE SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_NORMAL_MODE_NAME SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_NOTE_REQUISITE_CODE SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION SYSRES_CONST_NUM_REQUISITE SYSRES_CONST_NUM_STR_REQUISITE_CODE SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG SYSRES_CONST_NUMERATION_AUTO_STRONG SYSRES_CONST_NUMERATION_FROM_DICTONARY SYSRES_CONST_NUMERATION_MANUAL SYSRES_CONST_NUMERIC_TYPE_CHAR SYSRES_CONST_NUMREQ_REQUISITE_CODE SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_ORIGINALREF_REQUISITE_CODE SYSRES_CONST_OURFIRM_REF_CODE SYSRES_CONST_OURFIRM_REQUISITE_CODE SYSRES_CONST_OURFIRM_VAR SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE SYSRES_CONST_PICK_NEGATIVE_RESULT SYSRES_CONST_PICK_POSITIVE_RESULT SYSRES_CONST_PICK_REQUISITE SYSRES_CONST_PICK_REQUISITE_TYPE SYSRES_CONST_PICK_TYPE_CHAR SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE SYSRES_CONST_PLATFORM_VERSION_COMMENT SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_POSITIVE_PICK_VALUE SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE SYSRES_CONST_PRIORITY_REQUISITE_CODE SYSRES_CONST_QUALIFIED_TASK_TYPE SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE SYSRES_CONST_RECSTAT_REQUISITE_CODE SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_REF_REQUISITE SYSRES_CONST_REF_REQUISITE_TYPE SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE SYSRES_CONST_REFERENCE_TYPE_CHAR SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_MODE_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_EDIT_CODE SYSRES_CONST_REQ_MODE_HIDDEN_CODE SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_VIEW_CODE SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE SYSRES_CONST_REQ_SECTION_VALUE SYSRES_CONST_REQ_TYPE_VALUE SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME SYSRES_CONST_REQUISITE_FORMAT_LEFT SYSRES_CONST_REQUISITE_FORMAT_RIGHT SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_REQUISITE_SECTION_ACTIONS SYSRES_CONST_REQUISITE_SECTION_BUTTON SYSRES_CONST_REQUISITE_SECTION_BUTTONS SYSRES_CONST_REQUISITE_SECTION_CARD SYSRES_CONST_REQUISITE_SECTION_TABLE SYSRES_CONST_REQUISITE_SECTION_TABLE10 SYSRES_CONST_REQUISITE_SECTION_TABLE11 SYSRES_CONST_REQUISITE_SECTION_TABLE12 SYSRES_CONST_REQUISITE_SECTION_TABLE13 SYSRES_CONST_REQUISITE_SECTION_TABLE14 SYSRES_CONST_REQUISITE_SECTION_TABLE15 SYSRES_CONST_REQUISITE_SECTION_TABLE16 SYSRES_CONST_REQUISITE_SECTION_TABLE17 SYSRES_CONST_REQUISITE_SECTION_TABLE18 SYSRES_CONST_REQUISITE_SECTION_TABLE19 SYSRES_CONST_REQUISITE_SECTION_TABLE2 SYSRES_CONST_REQUISITE_SECTION_TABLE20 SYSRES_CONST_REQUISITE_SECTION_TABLE21 SYSRES_CONST_REQUISITE_SECTION_TABLE22 SYSRES_CONST_REQUISITE_SECTION_TABLE23 SYSRES_CONST_REQUISITE_SECTION_TABLE24 SYSRES_CONST_REQUISITE_SECTION_TABLE3 SYSRES_CONST_REQUISITE_SECTION_TABLE4 SYSRES_CONST_REQUISITE_SECTION_TABLE5 SYSRES_CONST_REQUISITE_SECTION_TABLE6 SYSRES_CONST_REQUISITE_SECTION_TABLE7 SYSRES_CONST_REQUISITE_SECTION_TABLE8 SYSRES_CONST_REQUISITE_SECTION_TABLE9 SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_RIGHT_ALIGNMENT_CODE SYSRES_CONST_ROLES_REFERENCE_CODE SYSRES_CONST_ROUTE_STEP_AFTER_RUS SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS SYSRES_CONST_ROUTE_TYPE_COMPLEX SYSRES_CONST_ROUTE_TYPE_PARALLEL SYSRES_CONST_ROUTE_TYPE_SERIAL SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE SYSRES_CONST_SEARCHES_COMPONENT_CONTENT SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME SYSRES_CONST_SEARCHES_EDOC_CONTENT SYSRES_CONST_SEARCHES_FOLDER_CONTENT SYSRES_CONST_SEARCHES_JOB_CONTENT SYSRES_CONST_SEARCHES_REFERENCE_CODE SYSRES_CONST_SEARCHES_TASK_CONTENT SYSRES_CONST_SECOND_CHAR SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE SYSRES_CONST_SECTION_REQUISITE_CODE SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE SYSRES_CONST_SELECT_REFERENCE_MODE_NAME SYSRES_CONST_SELECT_TYPE_SELECTABLE SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD SYSRES_CONST_SELECT_TYPE_UNSLECTABLE SYSRES_CONST_SERVER_TYPE_MAIN SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE SYSRES_CONST_STATE_REQ_NAME SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE SYSRES_CONST_STATE_REQUISITE_CODE SYSRES_CONST_STATIC_ROLE_TYPE_CODE SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE SYSRES_CONST_STATUS_VALUE_AUTOCLEANING SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE SYSRES_CONST_STATUS_VALUE_COMPLETE SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE SYSRES_CONST_STATUS_VALUE_RED_SQUARE SYSRES_CONST_STATUS_VALUE_SUSPEND SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE SYSRES_CONST_STORAGE_TYPE_FILE SYSRES_CONST_STORAGE_TYPE_SQL_SERVER SYSRES_CONST_STR_REQUISITE SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR SYSRES_CONST_STRING_REQUISITE_CODE SYSRES_CONST_STRING_REQUISITE_TYPE SYSRES_CONST_STRING_TYPE_CHAR SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE SYSRES_CONST_SYSTEM_VERSION_COMMENT SYSRES_CONST_TASK_ACCESS_TYPE_ALL SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD SYSRES_CONST_TASK_ENCODE_TYPE_NONE SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD SYSRES_CONST_TASK_ROUTE_ALL_CONDITION SYSRES_CONST_TASK_ROUTE_AND_CONDITION SYSRES_CONST_TASK_ROUTE_OR_CONDITION SYSRES_CONST_TASK_STATE_ABORTED SYSRES_CONST_TASK_STATE_COMPLETE SYSRES_CONST_TASK_STATE_CONTINUED SYSRES_CONST_TASK_STATE_CONTROL SYSRES_CONST_TASK_STATE_INIT SYSRES_CONST_TASK_STATE_WORKING SYSRES_CONST_TASK_TITLE SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE SYSRES_CONST_TASK_TYPES_REFERENCE_CODE SYSRES_CONST_TEMPLATES_REFERENCE_CODE SYSRES_CONST_TEST_DATE_REQUISITE_NAME SYSRES_CONST_TEST_DEV_DATABASE_NAME SYSRES_CONST_TEST_DEV_SYSTEM_CODE SYSRES_CONST_TEST_EDMS_DATABASE_NAME SYSRES_CONST_TEST_EDMS_MAIN_CODE SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME SYSRES_CONST_TEST_EDMS_SECOND_CODE SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME SYSRES_CONST_TEST_EDMS_SYSTEM_CODE SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME SYSRES_CONST_TEXT_REQUISITE SYSRES_CONST_TEXT_REQUISITE_CODE SYSRES_CONST_TEXT_REQUISITE_TYPE SYSRES_CONST_TEXT_TYPE_CHAR SYSRES_CONST_TYPE_CODE_REQUISITE_CODE SYSRES_CONST_TYPE_REQUISITE_CODE SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME SYSRES_CONST_USE_ACCESS_TYPE_CODE SYSRES_CONST_USE_ACCESS_TYPE_NAME SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE SYSRES_CONST_USER_CATEGORY_NORMAL SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE SYSRES_CONST_USER_COMMON_CATEGORY SYSRES_CONST_USER_COMMON_CATEGORY_CODE SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_USER_LOGIN_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_USER_SERVICE_CATEGORY SYSRES_CONST_USER_SERVICE_CATEGORY_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME SYSRES_CONST_USER_STATUS_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_DEVELOPER_NAME SYSRES_CONST_USER_STATUS_DISABLED_CODE SYSRES_CONST_USER_STATUS_DISABLED_NAME SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_USER_CODE SYSRES_CONST_USER_STATUS_USER_NAME SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER SYSRES_CONST_USER_TYPE_REQUISITE_CODE SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE SYSRES_CONST_USERS_REFERENCE_CODE SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME SYSRES_CONST_USERS_REQUISITE_CODE SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME SYSRES_CONST_VIEW_DEFAULT_CODE SYSRES_CONST_VIEW_DEFAULT_NAME SYSRES_CONST_VIEWER_REQUISITE_CODE SYSRES_CONST_WAITING_BLOCK_DESCRIPTION SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT SYSRES_CONST_XML_ENCODING SYSRES_CONST_XREC_STAT_REQUISITE_CODE SYSRES_CONST_XRECID_FIELD_NAME SYSRES_CONST_YES SYSRES_CONST_YES_NO_2_REQUISITE_CODE SYSRES_CONST_YES_NO_REQUISITE_CODE SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_YES_PICK_VALUE SYSRES_CONST_YES_VALUE "+"CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE "+"ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME "+"DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY "+"ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION "+"JOB_BLOCK_ABORT_DEADLINE_PROPERTY JOB_BLOCK_AFTER_FINISH_EVENT JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT JOB_BLOCK_ATTACHMENT_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT JOB_BLOCK_BEFORE_START_EVENT JOB_BLOCK_CREATED_JOBS_PROPERTY JOB_BLOCK_DEADLINE_PROPERTY JOB_BLOCK_EXECUTION_RESULTS_PROPERTY JOB_BLOCK_IS_PARALLEL_PROPERTY JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY JOB_BLOCK_JOB_TEXT_PROPERTY JOB_BLOCK_NAME_PROPERTY JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY JOB_BLOCK_PERFORMER_PROPERTY JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY JOB_BLOCK_SUBJECT_PROPERTY "+"ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE "+"smHidden smMaximized smMinimized smNormal wmNo wmYes "+"COMPONENT_TOKEN_LINK_KIND DOCUMENT_LINK_KIND EDOCUMENT_LINK_KIND FOLDER_LINK_KIND JOB_LINK_KIND REFERENCE_LINK_KIND TASK_LINK_KIND "+"COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE "+"MONITOR_BLOCK_AFTER_FINISH_EVENT MONITOR_BLOCK_BEFORE_START_EVENT MONITOR_BLOCK_DEADLINE_PROPERTY MONITOR_BLOCK_INTERVAL_PROPERTY MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY MONITOR_BLOCK_NAME_PROPERTY MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY "+"NOTICE_BLOCK_AFTER_FINISH_EVENT NOTICE_BLOCK_ATTACHMENT_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY NOTICE_BLOCK_BEFORE_START_EVENT NOTICE_BLOCK_CREATED_NOTICES_PROPERTY NOTICE_BLOCK_DEADLINE_PROPERTY NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY NOTICE_BLOCK_NAME_PROPERTY NOTICE_BLOCK_NOTICE_TEXT_PROPERTY NOTICE_BLOCK_PERFORMER_PROPERTY NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY NOTICE_BLOCK_SUBJECT_PROPERTY "+"dseAfterCancel dseAfterClose dseAfterDelete dseAfterDeleteOutOfTransaction dseAfterInsert dseAfterOpen dseAfterScroll dseAfterUpdate dseAfterUpdateOutOfTransaction dseBeforeCancel dseBeforeClose dseBeforeDelete dseBeforeDetailUpdate dseBeforeInsert dseBeforeOpen dseBeforeUpdate dseOnAnyRequisiteChange dseOnCloseRecord dseOnDeleteError dseOnOpenRecord dseOnPrepareUpdate dseOnUpdateError dseOnUpdateRatifiedRecord dseOnValidDelete dseOnValidUpdate reOnChange reOnChangeValues SELECTION_BEGIN_ROUTE_EVENT SELECTION_END_ROUTE_EVENT "+"CURRENT_PERIOD_IS_REQUIRED PREVIOUS_CARD_TYPE_NAME SHOW_RECORD_PROPERTIES_FORM "+"ACCESS_RIGHTS_SETTING_DIALOG_CODE ADMINISTRATOR_USER_CODE ANALYTIC_REPORT_TYPE asrtHideLocal asrtHideRemote CALCULATED_ROLE_TYPE_CODE COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE DCTS_TEST_PROTOCOLS_FOLDER_PATH E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER E_EDOC_VERSION_ALREDY_SIGNED E_EDOC_VERSION_ALREDY_SIGNED_BY_USER EDOC_TYPES_CODE_REQUISITE_FIELD_NAME EDOCUMENTS_ALIAS_NAME FILES_FOLDER_PATH FILTER_OPERANDS_DELIMITER FILTER_OPERATIONS_DELIMITER FORMCARD_NAME FORMLIST_NAME GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE INTEGRATED_REPORT_TYPE IS_BUILDER_APPLICATION_ROLE IS_BUILDER_APPLICATION_ROLE2 IS_BUILDER_USERS ISBSYSDEV LOG_FOLDER_PATH mbCancel mbNo mbNoToAll mbOK mbYes mbYesToAll MEMORY_DATASET_DESRIPTIONS_FILENAME mrNo mrNoToAll mrYes mrYesToAll MULTIPLE_SELECT_DIALOG_CODE NONOPERATING_RECORD_FLAG_FEMININE NONOPERATING_RECORD_FLAG_MASCULINE OPERATING_RECORD_FLAG_FEMININE OPERATING_RECORD_FLAG_MASCULINE PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE PROGRAM_INITIATED_LOOKUP_ACTION ratDelete ratEdit ratInsert REPORT_TYPE REQUIRED_PICK_VALUES_VARIABLE rmCard rmList SBRTE_PROGID_DEV SBRTE_PROGID_RELEASE STATIC_ROLE_TYPE_CODE SUPPRESS_EMPTY_TEMPLATE_CREATION SYSTEM_USER_CODE UPDATE_DIALOG_DATASET USED_IN_OBJECT_HINT_PARAM USER_INITIATED_LOOKUP_ACTION USER_NAME_FORMAT USER_SELECTION_RESTRICTIONS WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH ELS_SUBTYPE_CONTROL_NAME ELS_FOLDER_KIND_CONTROL_NAME REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME "+"PRIVILEGE_COMPONENT_FULL_ACCESS PRIVILEGE_DEVELOPMENT_EXPORT PRIVILEGE_DEVELOPMENT_IMPORT PRIVILEGE_DOCUMENT_DELETE PRIVILEGE_ESD PRIVILEGE_FOLDER_DELETE PRIVILEGE_MANAGE_ACCESS_RIGHTS PRIVILEGE_MANAGE_REPLICATION PRIVILEGE_MANAGE_SESSION_SERVER PRIVILEGE_OBJECT_FULL_ACCESS PRIVILEGE_OBJECT_VIEW PRIVILEGE_RESERVE_LICENSE PRIVILEGE_SYSTEM_CUSTOMIZE PRIVILEGE_SYSTEM_DEVELOP PRIVILEGE_SYSTEM_INSTALL PRIVILEGE_TASK_DELETE PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE PRIVILEGES_PSEUDOREFERENCE_CODE "+"ACCESS_TYPES_PSEUDOREFERENCE_CODE ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE COMPONENTS_PSEUDOREFERENCE_CODE FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE GROUPS_PSEUDOREFERENCE_CODE RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE REFTYPES_PSEUDOREFERENCE_CODE REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE SEND_PROTOCOL_PSEUDOREFERENCE_CODE SUBSTITUTES_PSEUDOREFERENCE_CODE SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE UNITS_PSEUDOREFERENCE_CODE USERS_PSEUDOREFERENCE_CODE VIEWERS_PSEUDOREFERENCE_CODE "+"CERTIFICATE_TYPE_ENCRYPT CERTIFICATE_TYPE_SIGN CERTIFICATE_TYPE_SIGN_AND_ENCRYPT "+"STORAGE_TYPE_FILE STORAGE_TYPE_NAS_CIFS STORAGE_TYPE_SAPERION STORAGE_TYPE_SQL_SERVER "+"COMPTYPE2_REQUISITE_DOCUMENTS_VALUE COMPTYPE2_REQUISITE_TASKS_VALUE COMPTYPE2_REQUISITE_FOLDERS_VALUE COMPTYPE2_REQUISITE_REFERENCES_VALUE "+"SYSREQ_CODE SYSREQ_COMPTYPE2 SYSREQ_CONST_AVAILABLE_FOR_WEB SYSREQ_CONST_COMMON_CODE SYSREQ_CONST_COMMON_VALUE SYSREQ_CONST_FIRM_CODE SYSREQ_CONST_FIRM_STATUS SYSREQ_CONST_FIRM_VALUE SYSREQ_CONST_SERVER_STATUS SYSREQ_CONTENTS SYSREQ_DATE_OPEN SYSREQ_DATE_CLOSE SYSREQ_DESCRIPTION SYSREQ_DESCRIPTION_LOCALIZE_ID SYSREQ_DOUBLE SYSREQ_EDOC_ACCESS_TYPE SYSREQ_EDOC_AUTHOR SYSREQ_EDOC_CREATED SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE SYSREQ_EDOC_EDITOR SYSREQ_EDOC_ENCODE_TYPE SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_EXPORT_DATE SYSREQ_EDOC_EXPORTER SYSREQ_EDOC_KIND SYSREQ_EDOC_LIFE_STAGE_NAME SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE SYSREQ_EDOC_MODIFIED SYSREQ_EDOC_NAME SYSREQ_EDOC_NOTE SYSREQ_EDOC_QUALIFIED_ID SYSREQ_EDOC_SESSION_KEY SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_SIGNATURE_TYPE SYSREQ_EDOC_SIGNED SYSREQ_EDOC_STORAGE SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE SYSREQ_EDOC_STORAGES_CHECK_RIGHTS SYSREQ_EDOC_STORAGES_COMPUTER_NAME SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE SYSREQ_EDOC_STORAGES_FUNCTION SYSREQ_EDOC_STORAGES_INITIALIZED SYSREQ_EDOC_STORAGES_LOCAL_PATH SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT SYSREQ_EDOC_STORAGES_SERVER_NAME SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME SYSREQ_EDOC_STORAGES_TYPE SYSREQ_EDOC_TEXT_MODIFIED SYSREQ_EDOC_TYPE_ACT_CODE SYSREQ_EDOC_TYPE_ACT_DESCRIPTION SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_EDOC_TYPE_ACT_SECTION SYSREQ_EDOC_TYPE_ADD_PARAMS SYSREQ_EDOC_TYPE_COMMENT SYSREQ_EDOC_TYPE_EVENT_TEXT SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID SYSREQ_EDOC_TYPE_NUMERATION_METHOD SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE SYSREQ_EDOC_TYPE_REQ_CODE SYSREQ_EDOC_TYPE_REQ_DESCRIPTION SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_REQ_IS_LEADING SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED SYSREQ_EDOC_TYPE_REQ_NUMBER SYSREQ_EDOC_TYPE_REQ_ON_CHANGE SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_EDOC_TYPE_REQ_ON_SELECT SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND SYSREQ_EDOC_TYPE_REQ_SECTION SYSREQ_EDOC_TYPE_VIEW_CARD SYSREQ_EDOC_TYPE_VIEW_CODE SYSREQ_EDOC_TYPE_VIEW_COMMENT SYSREQ_EDOC_TYPE_VIEW_IS_MAIN SYSREQ_EDOC_TYPE_VIEW_NAME SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_EDOC_VERSION_AUTHOR SYSREQ_EDOC_VERSION_CRC SYSREQ_EDOC_VERSION_DATA SYSREQ_EDOC_VERSION_EDITOR SYSREQ_EDOC_VERSION_EXPORT_DATE SYSREQ_EDOC_VERSION_EXPORTER SYSREQ_EDOC_VERSION_HIDDEN SYSREQ_EDOC_VERSION_LIFE_STAGE SYSREQ_EDOC_VERSION_MODIFIED SYSREQ_EDOC_VERSION_NOTE SYSREQ_EDOC_VERSION_SIGNATURE_TYPE SYSREQ_EDOC_VERSION_SIGNED SYSREQ_EDOC_VERSION_SIZE SYSREQ_EDOC_VERSION_SOURCE SYSREQ_EDOC_VERSION_TEXT_MODIFIED SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE SYSREQ_FOLDER_KIND SYSREQ_FUNC_CATEGORY SYSREQ_FUNC_COMMENT SYSREQ_FUNC_GROUP SYSREQ_FUNC_GROUP_COMMENT SYSREQ_FUNC_GROUP_NUMBER SYSREQ_FUNC_HELP SYSREQ_FUNC_PARAM_DEF_VALUE SYSREQ_FUNC_PARAM_IDENT SYSREQ_FUNC_PARAM_NUMBER SYSREQ_FUNC_PARAM_TYPE SYSREQ_FUNC_TEXT SYSREQ_GROUP_CATEGORY SYSREQ_ID SYSREQ_LAST_UPDATE SYSREQ_LEADER_REFERENCE SYSREQ_LINE_NUMBER SYSREQ_MAIN_RECORD_ID SYSREQ_NAME SYSREQ_NAME_LOCALIZE_ID SYSREQ_NOTE SYSREQ_ORIGINAL_RECORD SYSREQ_OUR_FIRM SYSREQ_PROFILING_SETTINGS_BATCH_LOGING SYSREQ_PROFILING_SETTINGS_BATCH_SIZE SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_START_LOGGED SYSREQ_RECORD_STATUS SYSREQ_REF_REQ_FIELD_NAME SYSREQ_REF_REQ_FORMAT SYSREQ_REF_REQ_GENERATED SYSREQ_REF_REQ_LENGTH SYSREQ_REF_REQ_PRECISION SYSREQ_REF_REQ_REFERENCE SYSREQ_REF_REQ_SECTION SYSREQ_REF_REQ_STORED SYSREQ_REF_REQ_TOKENS SYSREQ_REF_REQ_TYPE SYSREQ_REF_REQ_VIEW SYSREQ_REF_TYPE_ACT_CODE SYSREQ_REF_TYPE_ACT_DESCRIPTION SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_ACT_ON_EXECUTE SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_REF_TYPE_ACT_SECTION SYSREQ_REF_TYPE_ADD_PARAMS SYSREQ_REF_TYPE_COMMENT SYSREQ_REF_TYPE_COMMON_SETTINGS SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME SYSREQ_REF_TYPE_EVENT_TEXT SYSREQ_REF_TYPE_MAIN_LEADING_REF SYSREQ_REF_TYPE_NAME_IN_SINGULAR SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_REF_TYPE_NAME_LOCALIZE_ID SYSREQ_REF_TYPE_NUMERATION_METHOD SYSREQ_REF_TYPE_REQ_CODE SYSREQ_REF_TYPE_REQ_DESCRIPTION SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_REQ_IS_CONTROL SYSREQ_REF_TYPE_REQ_IS_FILTER SYSREQ_REF_TYPE_REQ_IS_LEADING SYSREQ_REF_TYPE_REQ_IS_REQUIRED SYSREQ_REF_TYPE_REQ_NUMBER SYSREQ_REF_TYPE_REQ_ON_CHANGE SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_REF_TYPE_REQ_ON_SELECT SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND SYSREQ_REF_TYPE_REQ_SECTION SYSREQ_REF_TYPE_VIEW_CARD SYSREQ_REF_TYPE_VIEW_CODE SYSREQ_REF_TYPE_VIEW_COMMENT SYSREQ_REF_TYPE_VIEW_IS_MAIN SYSREQ_REF_TYPE_VIEW_NAME SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_REFERENCE_TYPE_ID SYSREQ_STATE SYSREQ_STATЕ SYSREQ_SYSTEM_SETTINGS_VALUE SYSREQ_TYPE SYSREQ_UNIT SYSREQ_UNIT_ID SYSREQ_USER_GROUPS_GROUP_FULL_NAME SYSREQ_USER_GROUPS_GROUP_NAME SYSREQ_USER_GROUPS_GROUP_SERVER_NAME SYSREQ_USERS_ACCESS_RIGHTS SYSREQ_USERS_AUTHENTICATION SYSREQ_USERS_CATEGORY SYSREQ_USERS_COMPONENT SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC SYSREQ_USERS_DOMAIN SYSREQ_USERS_FULL_USER_NAME SYSREQ_USERS_GROUP SYSREQ_USERS_IS_MAIN_SERVER SYSREQ_USERS_LOGIN SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC SYSREQ_USERS_STATUS SYSREQ_USERS_USER_CERTIFICATE SYSREQ_USERS_USER_CERTIFICATE_INFO SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION SYSREQ_USERS_USER_CERTIFICATE_STATE SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT SYSREQ_USERS_USER_DEFAULT_CERTIFICATE SYSREQ_USERS_USER_DESCRIPTION SYSREQ_USERS_USER_GLOBAL_NAME SYSREQ_USERS_USER_LOGIN SYSREQ_USERS_USER_MAIN_SERVER SYSREQ_USERS_USER_TYPE SYSREQ_WORK_RULES_FOLDER_ID "+"RESULT_VAR_NAME RESULT_VAR_NAME_ENG "+"AUTO_NUMERATION_RULE_ID CANT_CHANGE_ID_REQUISITE_RULE_ID CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID CHECK_CODE_REQUISITE_RULE_ID CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID CHECK_FILTRATER_CHANGES_RULE_ID CHECK_RECORD_INTERVAL_RULE_ID CHECK_REFERENCE_INTERVAL_RULE_ID CHECK_REQUIRED_DATA_FULLNESS_RULE_ID CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID MAKE_RECORD_UNRATIFIED_RULE_ID RESTORE_AUTO_NUMERATION_RULE_ID SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID SET_IDSPS_VALUE_RULE_ID SET_NEXT_CODE_VALUE_RULE_ID SET_OURFIRM_BOUNDS_RULE_ID SET_OURFIRM_REQUISITE_RULE_ID "+"SCRIPT_BLOCK_AFTER_FINISH_EVENT SCRIPT_BLOCK_BEFORE_START_EVENT SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY SCRIPT_BLOCK_NAME_PROPERTY SCRIPT_BLOCK_SCRIPT_PROPERTY "+"SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_AFTER_FINISH_EVENT SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT SUBTASK_BLOCK_ATTACHMENTS_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY SUBTASK_BLOCK_BEFORE_START_EVENT SUBTASK_BLOCK_CREATED_TASK_PROPERTY SUBTASK_BLOCK_CREATION_EVENT SUBTASK_BLOCK_DEADLINE_PROPERTY SUBTASK_BLOCK_IMPORTANCE_PROPERTY SUBTASK_BLOCK_INITIATOR_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY SUBTASK_BLOCK_JOBS_TYPE_PROPERTY SUBTASK_BLOCK_NAME_PROPERTY SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY SUBTASK_BLOCK_PERFORMERS_PROPERTY SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_START_EVENT SUBTASK_BLOCK_STEP_CONTROL_PROPERTY SUBTASK_BLOCK_SUBJECT_PROPERTY SUBTASK_BLOCK_TASK_CONTROL_PROPERTY SUBTASK_BLOCK_TEXT_PROPERTY SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY "+"SYSCOMP_CONTROL_JOBS SYSCOMP_FOLDERS SYSCOMP_JOBS SYSCOMP_NOTICES SYSCOMP_TASKS "+"SYSDLG_CREATE_EDOCUMENT SYSDLG_CREATE_EDOCUMENT_VERSION SYSDLG_CURRENT_PERIOD SYSDLG_EDIT_FUNCTION_HELP SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS SYSDLG_EXPORT_SINGLE_EDOCUMENT SYSDLG_IMPORT_EDOCUMENT SYSDLG_MULTIPLE_SELECT SYSDLG_SETUP_ACCESS_RIGHTS SYSDLG_SETUP_DEFAULT_RIGHTS SYSDLG_SETUP_FILTER_CONDITION SYSDLG_SETUP_SIGN_RIGHTS SYSDLG_SETUP_TASK_OBSERVERS SYSDLG_SETUP_TASK_ROUTE SYSDLG_SETUP_USERS_LIST SYSDLG_SIGN_EDOCUMENT SYSDLG_SIGN_MULTIPLE_EDOCUMENTS "+"SYSREF_ACCESS_RIGHTS_TYPES SYSREF_ADMINISTRATION_HISTORY SYSREF_ALL_AVAILABLE_COMPONENTS SYSREF_ALL_AVAILABLE_PRIVILEGES SYSREF_ALL_REPLICATING_COMPONENTS SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS SYSREF_CALENDAR_EVENTS SYSREF_COMPONENT_TOKEN_HISTORY SYSREF_COMPONENT_TOKENS SYSREF_COMPONENTS SYSREF_CONSTANTS SYSREF_DATA_RECEIVE_PROTOCOL SYSREF_DATA_SEND_PROTOCOL SYSREF_DIALOGS SYSREF_DIALOGS_REQUISITES SYSREF_EDITORS SYSREF_EDOC_CARDS SYSREF_EDOC_TYPES SYSREF_EDOCUMENT_CARD_REQUISITES SYSREF_EDOCUMENT_CARD_TYPES SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE SYSREF_EDOCUMENT_CARDS SYSREF_EDOCUMENT_HISTORY SYSREF_EDOCUMENT_KINDS SYSREF_EDOCUMENT_REQUISITES SYSREF_EDOCUMENT_SIGNATURES SYSREF_EDOCUMENT_TEMPLATES SYSREF_EDOCUMENT_TEXT_STORAGES SYSREF_EDOCUMENT_VIEWS SYSREF_FILTERER_SETUP_CONFLICTS SYSREF_FILTRATER_SETTING_CONFLICTS SYSREF_FOLDER_HISTORY SYSREF_FOLDERS SYSREF_FUNCTION_GROUPS SYSREF_FUNCTION_PARAMS SYSREF_FUNCTIONS SYSREF_JOB_HISTORY SYSREF_LINKS SYSREF_LOCALIZATION_DICTIONARY SYSREF_LOCALIZATION_LANGUAGES SYSREF_MODULES SYSREF_PRIVILEGES SYSREF_RECORD_HISTORY SYSREF_REFERENCE_REQUISITES SYSREF_REFERENCE_TYPE_VIEWS SYSREF_REFERENCE_TYPES SYSREF_REFERENCES SYSREF_REFERENCES_REQUISITES SYSREF_REMOTE_SERVERS SYSREF_REPLICATION_SESSIONS_LOG SYSREF_REPLICATION_SESSIONS_PROTOCOL SYSREF_REPORTS SYSREF_ROLES SYSREF_ROUTE_BLOCK_GROUPS SYSREF_ROUTE_BLOCKS SYSREF_SCRIPTS SYSREF_SEARCHES SYSREF_SERVER_EVENTS SYSREF_SERVER_EVENTS_HISTORY SYSREF_STANDARD_ROUTE_GROUPS SYSREF_STANDARD_ROUTES SYSREF_STATUSES SYSREF_SYSTEM_SETTINGS SYSREF_TASK_HISTORY SYSREF_TASK_KIND_GROUPS SYSREF_TASK_KINDS SYSREF_TASK_RIGHTS SYSREF_TASK_SIGNATURES SYSREF_TASKS SYSREF_UNITS SYSREF_USER_GROUPS SYSREF_USER_GROUPS_REFERENCE SYSREF_USER_SUBSTITUTION SYSREF_USERS SYSREF_USERS_REFERENCE SYSREF_VIEWERS SYSREF_WORKING_TIME_CALENDARS "+"ACCESS_RIGHTS_TABLE_NAME EDMS_ACCESS_TABLE_NAME EDOC_TYPES_TABLE_NAME "+"TEST_DEV_DB_NAME TEST_DEV_SYSTEM_CODE TEST_EDMS_DB_NAME TEST_EDMS_MAIN_CODE TEST_EDMS_MAIN_DB_NAME TEST_EDMS_SECOND_CODE TEST_EDMS_SECOND_DB_NAME TEST_EDMS_SYSTEM_CODE TEST_ISB5_MAIN_CODE TEST_ISB5_SECOND_CODE TEST_SQL_SERVER_2005_NAME TEST_SQL_SERVER_NAME "+"ATTENTION_CAPTION cbsCommandLinks cbsDefault CONFIRMATION_CAPTION ERROR_CAPTION INFORMATION_CAPTION mrCancel mrOk "+"EDOC_VERSION_ACTIVE_STAGE_CODE EDOC_VERSION_DESIGN_STAGE_CODE EDOC_VERSION_OBSOLETE_STAGE_CODE "+"cpDataEnciphermentEnabled cpDigitalSignatureEnabled cpID cpIssuer cpPluginVersion cpSerial cpSubjectName cpSubjSimpleName cpValidFromDate cpValidToDate "+"ISBL_SYNTAX NO_SYNTAX XML_SYNTAX "+"WAIT_BLOCK_AFTER_FINISH_EVENT WAIT_BLOCK_BEFORE_START_EVENT WAIT_BLOCK_DEADLINE_PROPERTY WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY WAIT_BLOCK_NAME_PROPERTY WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY "+"SYSRES_COMMON SYSRES_CONST SYSRES_MBFUNC SYSRES_SBDATA SYSRES_SBGUI SYSRES_SBINTF SYSRES_SBREFDSC SYSRES_SQLERRORS SYSRES_SYSCOMP ",vE="atUser atGroup atRole "+"aemEnabledAlways aemDisabledAlways aemEnabledOnBrowse aemEnabledOnEdit aemDisabledOnBrowseEmpty "+"apBegin apEnd "+"alLeft alRight "+"asmNever asmNoButCustomize asmAsLastTime asmYesButCustomize asmAlways "+"cirCommon cirRevoked "+"ctSignature ctEncode ctSignatureEncode "+"clbUnchecked clbChecked clbGrayed "+"ceISB ceAlways ceNever "+"ctDocument ctReference ctScript ctUnknown ctReport ctDialog ctFunction ctFolder ctEDocument ctTask ctJob ctNotice ctControlJob "+"cfInternal cfDisplay "+"ciUnspecified ciWrite ciRead "+"ckFolder ckEDocument ckTask ckJob ckComponentToken ckAny ckReference ckScript ckReport ckDialog "+"ctISBLEditor ctBevel ctButton ctCheckListBox ctComboBox ctComboEdit ctGrid ctDBCheckBox ctDBComboBox ctDBEdit ctDBEllipsis ctDBMemo ctDBNavigator ctDBRadioGroup ctDBStatusLabel ctEdit ctGroupBox ctInplaceHint ctMemo ctPanel ctListBox ctRadioButton ctRichEdit ctTabSheet ctWebBrowser ctImage ctHyperLink ctLabel ctDBMultiEllipsis ctRibbon ctRichView ctInnerPanel ctPanelGroup ctBitButton "+"cctDate cctInteger cctNumeric cctPick cctReference cctString cctText "+"cltInternal cltPrimary cltGUI "+"dseBeforeOpen dseAfterOpen dseBeforeClose dseAfterClose dseOnValidDelete dseBeforeDelete dseAfterDelete dseAfterDeleteOutOfTransaction dseOnDeleteError dseBeforeInsert dseAfterInsert dseOnValidUpdate dseBeforeUpdate dseOnUpdateRatifiedRecord dseAfterUpdate dseAfterUpdateOutOfTransaction dseOnUpdateError dseAfterScroll dseOnOpenRecord dseOnCloseRecord dseBeforeCancel dseAfterCancel dseOnUpdateDeadlockError dseBeforeDetailUpdate dseOnPrepareUpdate dseOnAnyRequisiteChange "+"dssEdit dssInsert dssBrowse dssInActive "+"dftDate dftShortDate dftDateTime dftTimeStamp "+"dotDays dotHours dotMinutes dotSeconds "+"dtkndLocal dtkndUTC "+"arNone arView arEdit arFull "+"ddaView ddaEdit "+"emLock emEdit emSign emExportWithLock emImportWithUnlock emChangeVersionNote emOpenForModify emChangeLifeStage emDelete emCreateVersion emImport emUnlockExportedWithLock emStart emAbort emReInit emMarkAsReaded emMarkAsUnreaded emPerform emAccept emResume emChangeRights emEditRoute emEditObserver emRecoveryFromLocalCopy emChangeWorkAccessType emChangeEncodeTypeToCertificate emChangeEncodeTypeToPassword emChangeEncodeTypeToNone emChangeEncodeTypeToCertificatePassword emChangeStandardRoute emGetText emOpenForView emMoveToStorage emCreateObject emChangeVersionHidden emDeleteVersion emChangeLifeCycleStage emApprovingSign emExport emContinue emLockFromEdit emUnLockForEdit emLockForServer emUnlockFromServer emDelegateAccessRights emReEncode "+"ecotFile ecotProcess "+"eaGet eaCopy eaCreate eaCreateStandardRoute "+"edltAll edltNothing edltQuery "+"essmText essmCard "+"esvtLast esvtLastActive esvtSpecified "+"edsfExecutive edsfArchive "+"edstSQLServer edstFile "+"edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile "+"vsDefault vsDesign vsActive vsObsolete "+"etNone etCertificate etPassword etCertificatePassword "+"ecException ecWarning ecInformation "+"estAll estApprovingOnly "+"evtLast evtLastActive evtQuery "+"fdtString fdtNumeric fdtInteger fdtDate fdtText fdtUnknown fdtWideString fdtLargeInteger "+"ftInbox ftOutbox ftFavorites ftCommonFolder ftUserFolder ftComponents ftQuickLaunch ftShortcuts ftSearch "+"grhAuto grhX1 grhX2 grhX3 "+"hltText hltRTF hltHTML "+"iffBMP iffJPEG iffMultiPageTIFF iffSinglePageTIFF iffTIFF iffPNG "+"im8bGrayscale im24bRGB im1bMonochrome "+"itBMP itJPEG itWMF itPNG "+"ikhInformation ikhWarning ikhError ikhNoIcon "+"icUnknown icScript icFunction icIntegratedReport icAnalyticReport icDataSetEventHandler icActionHandler icFormEventHandler icLookUpEventHandler icRequisiteChangeEventHandler icBeforeSearchEventHandler icRoleCalculation icSelectRouteEventHandler icBlockPropertyCalculation icBlockQueryParamsEventHandler icChangeSearchResultEventHandler icBlockEventHandler icSubTaskInitEventHandler icEDocDataSetEventHandler icEDocLookUpEventHandler icEDocActionHandler icEDocFormEventHandler icEDocRequisiteChangeEventHandler icStructuredConversionRule icStructuredConversionEventBefore icStructuredConversionEventAfter icWizardEventHandler icWizardFinishEventHandler icWizardStepEventHandler icWizardStepFinishEventHandler icWizardActionEnableEventHandler icWizardActionExecuteEventHandler icCreateJobsHandler icCreateNoticesHandler icBeforeLookUpEventHandler icAfterLookUpEventHandler icTaskAbortEventHandler icWorkflowBlockActionHandler icDialogDataSetEventHandler icDialogActionHandler icDialogLookUpEventHandler icDialogRequisiteChangeEventHandler icDialogFormEventHandler icDialogValidCloseEventHandler icBlockFormEventHandler icTaskFormEventHandler icReferenceMethod icEDocMethod icDialogMethod icProcessMessageHandler "+"isShow isHide isByUserSettings "+"jkJob jkNotice jkControlJob "+"jtInner jtLeft jtRight jtFull jtCross "+"lbpAbove lbpBelow lbpLeft lbpRight "+"eltPerConnection eltPerUser "+"sfcUndefined sfcBlack sfcGreen sfcRed sfcBlue sfcOrange sfcLilac "+"sfsItalic sfsStrikeout sfsNormal "+"ldctStandardRoute ldctWizard ldctScript ldctFunction ldctRouteBlock ldctIntegratedReport ldctAnalyticReport ldctReferenceType ldctEDocumentType ldctDialog ldctServerEvents "+"mrcrtNone mrcrtUser mrcrtMaximal mrcrtCustom "+"vtEqual vtGreaterOrEqual vtLessOrEqual vtRange "+"rdYesterday rdToday rdTomorrow rdThisWeek rdThisMonth rdThisYear rdNextMonth rdNextWeek rdLastWeek rdLastMonth "+"rdWindow rdFile rdPrinter "+"rdtString rdtNumeric rdtInteger rdtDate rdtReference rdtAccount rdtText rdtPick rdtUnknown rdtLargeInteger rdtDocument "+"reOnChange reOnChangeValues "+"ttGlobal ttLocal ttUser ttSystem "+"ssmBrowse ssmSelect ssmMultiSelect ssmBrowseModal "+"smSelect smLike smCard "+"stNone stAuthenticating stApproving "+"sctString sctStream "+"sstAnsiSort sstNaturalSort "+"svtEqual svtContain "+"soatString soatNumeric soatInteger soatDatetime soatReferenceRecord soatText soatPick soatBoolean soatEDocument soatAccount soatIntegerCollection soatNumericCollection soatStringCollection soatPickCollection soatDatetimeCollection soatBooleanCollection soatReferenceRecordCollection soatEDocumentCollection soatAccountCollection soatContents soatUnknown "+"tarAbortByUser tarAbortByWorkflowException "+"tvtAllWords tvtExactPhrase tvtAnyWord "+"usNone usCompleted usRedSquare usBlueSquare usYellowSquare usGreenSquare usOrangeSquare usPurpleSquare usFollowUp "+"utUnknown utUser utDeveloper utAdministrator utSystemDeveloper utDisconnected "+"btAnd btDetailAnd btOr btNotOr btOnly "+"vmView vmSelect vmNavigation "+"vsmSingle vsmMultiple vsmMultipleCheck vsmNoSelection "+"wfatPrevious wfatNext wfatCancel wfatFinish "+"wfepUndefined wfepText3 wfepText6 wfepText9 wfepSpinEdit wfepDropDown wfepRadioGroup wfepFlag wfepText12 wfepText15 wfepText18 wfepText21 wfepText24 wfepText27 wfepText30 wfepRadioGroupColumn1 wfepRadioGroupColumn2 wfepRadioGroupColumn3 "+"wfetQueryParameter wfetText wfetDelimiter wfetLabel "+"wptString wptInteger wptNumeric wptBoolean wptDateTime wptPick wptText wptUser wptUserList wptEDocumentInfo wptEDocumentInfoList wptReferenceRecordInfo wptReferenceRecordInfoList wptFolderInfo wptTaskInfo wptContents wptFileName wptDate "+"wsrComplete wsrGoNext wsrGoPrevious wsrCustom wsrCancel wsrGoFinal "+"wstForm wstEDocument wstTaskCard wstReferenceRecordCard wstFinal "+"waAll waPerformers waManual "+"wsbStart wsbFinish wsbNotice wsbStep wsbDecision wsbWait wsbMonitor wsbScript wsbConnector wsbSubTask wsbLifeCycleStage wsbPause "+"wdtInteger wdtFloat wdtString wdtPick wdtDateTime wdtBoolean wdtTask wdtJob wdtFolder wdtEDocument wdtReferenceRecord wdtUser wdtGroup wdtRole wdtIntegerCollection wdtFloatCollection wdtStringCollection wdtPickCollection wdtDateTimeCollection wdtBooleanCollection wdtTaskCollection wdtJobCollection wdtFolderCollection wdtEDocumentCollection wdtReferenceRecordCollection wdtUserCollection wdtGroupCollection wdtRoleCollection wdtContents wdtUserList wdtSearchDescription wdtDeadLine wdtPickSet wdtAccountCollection "+"wiLow wiNormal wiHigh "+"wrtSoft wrtHard "+"wsInit wsRunning wsDone wsControlled wsAborted wsContinued "+"wtmFull wtmFromCurrent wtmOnlyCurrent ",RE="AddSubString AdjustLineBreaks AmountInWords Analysis ArrayDimCount ArrayHighBound ArrayLowBound ArrayOf ArrayReDim Assert Assigned BeginOfMonth BeginOfPeriod BuildProfilingOperationAnalysis CallProcedure CanReadFile CArrayElement CDataSetRequisite ChangeDate ChangeReferenceDataset Char CharPos CheckParam CheckParamValue CompareStrings ConstantExists ControlState ConvertDateStr Copy CopyFile CreateArray CreateCachedReference CreateConnection CreateDialog CreateDualListDialog CreateEditor CreateException CreateFile CreateFolderDialog CreateInputDialog CreateLinkFile CreateList CreateLock CreateMemoryDataSet CreateObject CreateOpenDialog CreateProgress CreateQuery CreateReference CreateReport CreateSaveDialog CreateScript CreateSQLPivotFunction CreateStringList CreateTreeListSelectDialog CSelectSQL CSQL CSubString CurrentUserID CurrentUserName CurrentVersion DataSetLocateEx DateDiff DateTimeDiff DateToStr DayOfWeek DeleteFile DirectoryExists DisableCheckAccessRights DisableCheckFullShowingRestriction DisableMassTaskSendingRestrictions DropTable DupeString EditText EnableCheckAccessRights EnableCheckFullShowingRestriction EnableMassTaskSendingRestrictions EndOfMonth EndOfPeriod ExceptionExists ExceptionsOff ExceptionsOn Execute ExecuteProcess Exit ExpandEnvironmentVariables ExtractFileDrive ExtractFileExt ExtractFileName ExtractFilePath ExtractParams FileExists FileSize FindFile FindSubString FirmContext ForceDirectories Format FormatDate FormatNumeric FormatSQLDate FormatString FreeException GetComponent GetComponentLaunchParam GetConstant GetLastException GetReferenceRecord GetRefTypeByRefID GetTableID GetTempFolder IfThen In IndexOf InputDialog InputDialogEx InteractiveMode IsFileLocked IsGraphicFile IsNumeric Length LoadString LoadStringFmt LocalTimeToUTC LowerCase Max MessageBox MessageBoxEx MimeDecodeBinary MimeDecodeString MimeEncodeBinary MimeEncodeString Min MoneyInWords MoveFile NewID Now OpenFile Ord Precision Raise ReadCertificateFromFile ReadFile ReferenceCodeByID ReferenceNumber ReferenceRequisiteMode ReferenceRequisiteValue RegionDateSettings RegionNumberSettings RegionTimeSettings RegRead RegWrite RenameFile Replace Round SelectServerCode SelectSQL ServerDateTime SetConstant SetManagedFolderFieldsState ShowConstantsInputDialog ShowMessage Sleep Split SQL SQL2XLSTAB SQLProfilingSendReport StrToDate SubString SubStringCount SystemSetting Time TimeDiff Today Transliterate Trim UpperCase UserStatus UTCToLocalTime ValidateXML VarIsClear VarIsEmpty VarIsNull WorkTimeDiff WriteFile WriteFileEx WriteObjectHistory Анализ БазаДанных БлокЕсть БлокЕстьРасш БлокИнфо БлокСнять БлокСнятьРасш БлокУстановить Ввод ВводМеню ВедС ВедСпр ВерхняяГраницаМассива ВнешПрогр Восст ВременнаяПапка Время ВыборSQL ВыбратьЗапись ВыделитьСтр Вызвать Выполнить ВыпПрогр ГрафическийФайл ГруппаДополнительно ДатаВремяСерв ДеньНедели ДиалогДаНет ДлинаСтр ДобПодстр ЕПусто ЕслиТо ЕЧисло ЗамПодстр ЗаписьСправочника ЗначПоляСпр ИДТипСпр ИзвлечьДиск ИзвлечьИмяФайла ИзвлечьПуть ИзвлечьРасширение ИзмДат ИзменитьРазмерМассива ИзмеренийМассива ИмяОрг ИмяПоляСпр Индекс ИндикаторЗакрыть ИндикаторОткрыть ИндикаторШаг ИнтерактивныйРежим ИтогТблСпр КодВидВедСпр КодВидСпрПоИД КодПоAnalit КодСимвола КодСпр КолПодстр КолПроп КонМес Конст КонстЕсть КонстЗнач КонТран КопироватьФайл КопияСтр КПериод КСтрТблСпр Макс МаксСтрТблСпр Массив Меню МенюРасш Мин НаборДанныхНайтиРасш НаимВидСпр НаимПоAnalit НаимСпр НастроитьПереводыСтрок НачМес НачТран НижняяГраницаМассива НомерСпр НПериод Окно Окр Окружение ОтлИнфДобавить ОтлИнфУдалить Отчет ОтчетАнал ОтчетИнт ПапкаСуществует Пауза ПВыборSQL ПереименоватьФайл Переменные ПереместитьФайл Подстр ПоискПодстр ПоискСтр ПолучитьИДТаблицы ПользовательДополнительно ПользовательИД ПользовательИмя ПользовательСтатус Прервать ПроверитьПараметр ПроверитьПараметрЗнач ПроверитьУсловие РазбСтр РазнВремя РазнДат РазнДатаВремя РазнРабВремя РегУстВрем РегУстДат РегУстЧсл РедТекст РеестрЗапись РеестрСписокИменПарам РеестрЧтение РеквСпр РеквСпрПр Сегодня Сейчас Сервер СерверПроцессИД СертификатФайлСчитать СжПроб Символ СистемаДиректумКод СистемаИнформация СистемаКод Содержит СоединениеЗакрыть СоединениеОткрыть СоздатьДиалог СоздатьДиалогВыбораИзДвухСписков СоздатьДиалогВыбораПапки СоздатьДиалогОткрытияФайла СоздатьДиалогСохраненияФайла СоздатьЗапрос СоздатьИндикатор СоздатьИсключение СоздатьКэшированныйСправочник СоздатьМассив СоздатьНаборДанных СоздатьОбъект СоздатьОтчет СоздатьПапку СоздатьРедактор СоздатьСоединение СоздатьСписок СоздатьСписокСтрок СоздатьСправочник СоздатьСценарий СоздСпр СостСпр Сохр СохрСпр СписокСистем Спр Справочник СпрБлокЕсть СпрБлокСнять СпрБлокСнятьРасш СпрБлокУстановить СпрИзмНабДан СпрКод СпрНомер СпрОбновить СпрОткрыть СпрОтменить СпрПарам СпрПолеЗнач СпрПолеИмя СпрРекв СпрРеквВведЗн СпрРеквНовые СпрРеквПр СпрРеквПредЗн СпрРеквРежим СпрРеквТипТекст СпрСоздать СпрСост СпрСохранить СпрТблИтог СпрТблСтр СпрТблСтрКол СпрТблСтрМакс СпрТблСтрМин СпрТблСтрПред СпрТблСтрСлед СпрТблСтрСозд СпрТблСтрУд СпрТекПредст СпрУдалить СравнитьСтр СтрВерхРегистр СтрНижнРегистр СтрТблСпр СумПроп Сценарий СценарийПарам ТекВерсия ТекОрг Точн Тран Транслитерация УдалитьТаблицу УдалитьФайл УдСпр УдСтрТблСпр Уст УстановкиКонстант ФайлАтрибутСчитать ФайлАтрибутУстановить ФайлВремя ФайлВремяУстановить ФайлВыбрать ФайлЗанят ФайлЗаписать ФайлИскать ФайлКопировать ФайлМожноЧитать ФайлОткрыть ФайлПереименовать ФайлПерекодировать ФайлПереместить ФайлПросмотреть ФайлРазмер ФайлСоздать ФайлСсылкаСоздать ФайлСуществует ФайлСчитать ФайлУдалить ФмтSQLДат ФмтДат ФмтСтр ФмтЧсл Формат ЦМассивЭлемент ЦНаборДанныхРеквизит ЦПодстр ",OE="AltState Application CallType ComponentTokens CreatedJobs CreatedNotices ControlState DialogResult Dialogs EDocuments EDocumentVersionSource Folders GlobalIDs Job Jobs InputValue LookUpReference LookUpRequisiteNames LookUpSearch Object ParentComponent Processes References Requisite ReportName Reports Result Scripts Searches SelectedAttachments SelectedItems SelectMode Sender ServerEvents ServiceFactory ShiftState SubTask SystemDialogs Tasks Wizard Wizards Work ВызовСпособ ИмяОтчета РеквЗнач ",NE="IApplication IAccessRights IAccountRepository IAccountSelectionRestrictions IAction IActionList IAdministrationHistoryDescription IAnchors IApplication IArchiveInfo IAttachment IAttachmentList ICheckListBox ICheckPointedList IColumn IComponent IComponentDescription IComponentToken IComponentTokenFactory IComponentTokenInfo ICompRecordInfo IConnection IContents IControl IControlJob IControlJobInfo IControlList ICrypto ICrypto2 ICustomJob ICustomJobInfo ICustomListBox ICustomObjectWizardStep ICustomWork ICustomWorkInfo IDataSet IDataSetAccessInfo IDataSigner IDateCriterion IDateRequisite IDateRequisiteDescription IDateValue IDeaAccessRights IDeaObjectInfo IDevelopmentComponentLock IDialog IDialogFactory IDialogPickRequisiteItems IDialogsFactory IDICSFactory IDocRequisite IDocumentInfo IDualListDialog IECertificate IECertificateInfo IECertificates IEditControl IEditorForm IEdmsExplorer IEdmsObject IEdmsObjectDescription IEdmsObjectFactory IEdmsObjectInfo IEDocument IEDocumentAccessRights IEDocumentDescription IEDocumentEditor IEDocumentFactory IEDocumentInfo IEDocumentStorage IEDocumentVersion IEDocumentVersionListDialog IEDocumentVersionSource IEDocumentWizardStep IEDocVerSignature IEDocVersionState IEnabledMode IEncodeProvider IEncrypter IEvent IEventList IException IExternalEvents IExternalHandler IFactory IField IFileDialog IFolder IFolderDescription IFolderDialog IFolderFactory IFolderInfo IForEach IForm IFormTitle IFormWizardStep IGlobalIDFactory IGlobalIDInfo IGrid IHasher IHistoryDescription IHyperLinkControl IImageButton IImageControl IInnerPanel IInplaceHint IIntegerCriterion IIntegerList IIntegerRequisite IIntegerValue IISBLEditorForm IJob IJobDescription IJobFactory IJobForm IJobInfo ILabelControl ILargeIntegerCriterion ILargeIntegerRequisite ILargeIntegerValue ILicenseInfo ILifeCycleStage IList IListBox ILocalIDInfo ILocalization ILock IMemoryDataSet IMessagingFactory IMetadataRepository INotice INoticeInfo INumericCriterion INumericRequisite INumericValue IObject IObjectDescription IObjectImporter IObjectInfo IObserver IPanelGroup IPickCriterion IPickProperty IPickRequisite IPickRequisiteDescription IPickRequisiteItem IPickRequisiteItems IPickValue IPrivilege IPrivilegeList IProcess IProcessFactory IProcessMessage IProgress IProperty IPropertyChangeEvent IQuery IReference IReferenceCriterion IReferenceEnabledMode IReferenceFactory IReferenceHistoryDescription IReferenceInfo IReferenceRecordCardWizardStep IReferenceRequisiteDescription IReferencesFactory IReferenceValue IRefRequisite IReport IReportFactory IRequisite IRequisiteDescription IRequisiteDescriptionList IRequisiteFactory IRichEdit IRouteStep IRule IRuleList ISchemeBlock IScript IScriptFactory ISearchCriteria ISearchCriterion ISearchDescription ISearchFactory ISearchFolderInfo ISearchForObjectDescription ISearchResultRestrictions ISecuredContext ISelectDialog IServerEvent IServerEventFactory IServiceDialog IServiceFactory ISignature ISignProvider ISignProvider2 ISignProvider3 ISimpleCriterion IStringCriterion IStringList IStringRequisite IStringRequisiteDescription IStringValue ISystemDialogsFactory ISystemInfo ITabSheet ITask ITaskAbortReasonInfo ITaskCardWizardStep ITaskDescription ITaskFactory ITaskInfo ITaskRoute ITextCriterion ITextRequisite ITextValue ITreeListSelectDialog IUser IUserList IValue IView IWebBrowserControl IWizard IWizardAction IWizardFactory IWizardFormElement IWizardParam IWizardPickParam IWizardReferenceParam IWizardStep IWorkAccessRights IWorkDescription IWorkflowAskableParam IWorkflowAskableParams IWorkflowBlock IWorkflowBlockResult IWorkflowEnabledMode IWorkflowParam IWorkflowPickParam IWorkflowReferenceParam IWorkState IWorkTreeCustomNode IWorkTreeJobNode IWorkTreeTaskNode IXMLEditorForm SBCrypto ",AE=Ce+vE,IE=OE,xE="null true false nil ",Pu={className:"number",begin:t.NUMBER_RE,relevance:0},Fu={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]},Bu={className:"doctag",begin:"\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b",relevance:0},DE={className:"comment",begin:"//",end:"$",relevance:0,contains:[t.PHRASAL_WORDS_MODE,Bu]},ME={className:"comment",begin:"/\\*",end:"\\*/",relevance:0,contains:[t.PHRASAL_WORDS_MODE,Bu]},Uu={variants:[DE,ME]},Oo={$pattern:e,keyword:r,built_in:AE,class:IE,literal:xE},ws={begin:"\\.\\s*"+t.UNDERSCORE_IDENT_RE,keywords:Oo,relevance:0},Hu={className:"type",begin:":[ \\t]*("+NE.trim().replace(/\s/g,"|")+")",end:"[ \\t]*=",excludeEnd:!0},Gu={className:"variable",keywords:Oo,begin:e,relevance:0,contains:[Hu,ws]},Vu=n+"\\(";return{name:"ISBL",case_insensitive:!0,keywords:Oo,illegal:"\\$|\\?|%|,|;$|~|#|@|/,relevance:10,starts:{end:/^(?![ ]{6})/,subLanguage:"julia"}}],aliases:["jldoctest"]}}function vx(t){const e="[a-zA-Z_][\\w.]*",n="<\\?(lasso(script)?|=)",r="\\]|\\?>",i={$pattern:e+"|&[lg]t;",literal:"true false none minimal full all void and or not bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",built_in:"array date decimal duration integer map pair string tag xml null boolean bytes keyword list locale queue set stack staticarray local var variable global data self inherited currentcapture givenblock",keyword:"cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else fail_if fail_ifnot fail if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"},o=t.COMMENT("",{relevance:0}),a={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[o]}},s={className:"meta",begin:"\\[/noprocess|"+n},l={className:"symbol",begin:"'"+e+"'"},c=[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.inherit(t.C_NUMBER_MODE,{begin:t.C_NUMBER_RE+"|(-?infinity|NaN)\\b"}),t.inherit(t.APOS_STRING_MODE,{illegal:null}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"`",end:"`"},{variants:[{begin:"[#$]"+e},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:e,illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)"+e,relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[l]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[t.inherit(t.TITLE_MODE,{begin:e+"(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:i,contains:[{className:"meta",begin:r,relevance:0,starts:{end:"\\[|"+n,returnEnd:!0,relevance:0,contains:[o]}},a,s,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",keywords:i,contains:[{className:"meta",begin:r,relevance:0,starts:{end:"\\[noprocess\\]|"+n,returnEnd:!0,contains:[o]}},a,s].concat(c)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(c)}}function Rx(t){const n=t.regex.either(...["(?:NeedsTeXFormat|RequirePackage|GetIdInfo)","Provides(?:Expl)?(?:Package|Class|File)","(?:DeclareOption|ProcessOptions)","(?:documentclass|usepackage|input|include)","makeat(?:letter|other)","ExplSyntax(?:On|Off)","(?:new|renew|provide)?command","(?:re)newenvironment","(?:New|Renew|Provide|Declare)(?:Expandable)?DocumentCommand","(?:New|Renew|Provide|Declare)DocumentEnvironment","(?:(?:e|g|x)?def|let)","(?:begin|end)","(?:part|chapter|(?:sub){0,2}section|(?:sub)?paragraph)","caption","(?:label|(?:eq|page|name)?ref|(?:paren|foot|super)?cite)","(?:alpha|beta|[Gg]amma|[Dd]elta|(?:var)?epsilon|zeta|eta|[Tt]heta|vartheta)","(?:iota|(?:var)?kappa|[Ll]ambda|mu|nu|[Xx]i|[Pp]i|varpi|(?:var)rho)","(?:[Ss]igma|varsigma|tau|[Uu]psilon|[Pp]hi|varphi|chi|[Pp]si|[Oo]mega)","(?:frac|sum|prod|lim|infty|times|sqrt|leq|geq|left|right|middle|[bB]igg?)","(?:[lr]angle|q?quad|[lcvdi]?dots|d?dot|hat|tilde|bar)"].map(M=>M+"(?![a-zA-Z@:_])")),r=new RegExp(["(?:__)?[a-zA-Z]{2,}_[a-zA-Z](?:_?[a-zA-Z])+:[a-zA-Z]*","[lgc]__?[a-zA-Z](?:_?[a-zA-Z])*_[a-zA-Z]{2,}","[qs]__?[a-zA-Z](?:_?[a-zA-Z])+","use(?:_i)?:[a-zA-Z]*","(?:else|fi|or):","(?:if|cs|exp):w","(?:hbox|vbox):n","::[a-zA-Z]_unbraced","::[a-zA-Z:]"].map(M=>M+"(?![a-zA-Z:_])").join("|")),i=[{begin:/[a-zA-Z@]+/},{begin:/[^a-zA-Z@]?/}],o=[{begin:/\^{6}[0-9a-f]{6}/},{begin:/\^{5}[0-9a-f]{5}/},{begin:/\^{4}[0-9a-f]{4}/},{begin:/\^{3}[0-9a-f]{3}/},{begin:/\^{2}[0-9a-f]{2}/},{begin:/\^{2}[\u0000-\u007f]/}],a={className:"keyword",begin:/\\/,relevance:0,contains:[{endsParent:!0,begin:n},{endsParent:!0,begin:r},{endsParent:!0,variants:o},{endsParent:!0,relevance:0,variants:i}]},s={className:"params",relevance:0,begin:/#+\d?/},l={variants:o},c={className:"built_in",relevance:0,begin:/[$&^_]/},u={className:"meta",begin:/% ?!(T[eE]X|tex|BIB|bib)/,end:"$",relevance:10},d=t.COMMENT("%","$",{relevance:0}),p=[a,s,l,c,u,d],_={begin:/\{/,end:/\}/,relevance:0,contains:["self",...p]},m=t.inherit(_,{relevance:0,endsParent:!0,contains:[_,...p]}),f={begin:/\[/,end:/\]/,endsParent:!0,relevance:0,contains:[_,...p]},h={begin:/\s+/,relevance:0},E=[m],S=[f],b=function(M,B){return{contains:[h],starts:{relevance:0,contains:M,starts:B}}},g=function(M,B){return{begin:"\\\\"+M+"(?![a-zA-Z@:_])",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\"+M},relevance:0,contains:[h],starts:B}},C=function(M,B){return t.inherit({begin:"\\\\begin(?=[ ]*(\\r?\\n[ ]*)?\\{"+M+"\\})",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\begin"},relevance:0},b(E,B))},T=(M="string")=>t.END_SAME_AS_BEGIN({className:M,begin:/(.|\r?\n)/,end:/(.|\r?\n)/,excludeBegin:!0,excludeEnd:!0,endsParent:!0}),R=function(M){return{className:"string",end:"(?=\\\\end\\{"+M+"\\})"}},x=(M="string")=>({relevance:0,begin:/\{/,starts:{endsParent:!0,contains:[{className:M,end:/(?=\})/,endsParent:!0,contains:[{begin:/\{/,end:/\}/,relevance:0,contains:["self"]}]}]}}),O=[...["verb","lstinline"].map(M=>g(M,{contains:[T()]})),g("mint",b(E,{contains:[T()]})),g("mintinline",b(E,{contains:[x(),T()]})),g("url",{contains:[x("link"),x("link")]}),g("hyperref",{contains:[x("link")]}),g("href",b(S,{contains:[x("link")]})),...[].concat(...["","\\*"].map(M=>[C("verbatim"+M,R("verbatim"+M)),C("filecontents"+M,b(E,R("filecontents"+M))),...["","B","L"].map(B=>C(B+"Verbatim"+M,b(S,R(B+"Verbatim"+M))))])),C("minted",b(S,b(E,R("minted"))))];return{name:"LaTeX",aliases:["tex"],contains:[...O,...p]}}function Ox(t){return{name:"LDIF",contains:[{className:"attribute",match:"^dn(?=:)",relevance:10},{className:"attribute",match:"^\\w+(?=:)"},{className:"literal",match:"^-"},t.HASH_COMMENT_MODE]}}function Nx(t){const e=/([A-Za-z_][A-Za-z_0-9]*)?/,r={scope:"params",begin:/\(/,end:/\)(?=\:?)/,endsParent:!0,relevance:7,contains:[{scope:"string",begin:'"',end:'"'},{scope:"keyword",match:["true","false","in"].join("|")},{scope:"variable",match:/[A-Za-z_][A-Za-z_0-9]*/},{scope:"operator",match:/\+|\-|\*|\/|\%|\=\=|\=|\!|\>|\<|\&\&|\|\|/}]},i={match:[e,/(?=\()/],scope:{1:"keyword"},contains:[r]};return r.contains.unshift(i),{name:"Leaf",contains:[{match:[/#+/,e,/(?=\()/],scope:{1:"punctuation",2:"keyword"},starts:{contains:[{match:/\:/,scope:"punctuation"}]},contains:[r]},{match:[/#+/,e,/:?/],scope:{1:"punctuation",2:"keyword",3:"punctuation"}}]}}function Ax(t){const e="[a-zA-Z_\\-+\\*\\/<=>&#][a-zA-Z0-9_\\-+*\\/<=>&#!]*",n="\\|[^]*?\\|",r="(-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|-)?\\d+)?",i={className:"literal",begin:"\\b(t{1}|nil)\\b"},o={className:"number",variants:[{begin:r,relevance:0},{begin:"#(b|B)[0-1]+(/[0-1]+)?"},{begin:"#(o|O)[0-7]+(/[0-7]+)?"},{begin:"#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"},{begin:"#(c|C)\\("+r+" +"+r,end:"\\)"}]},a=t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),s=t.COMMENT(";","$",{relevance:0}),l={begin:"\\*",end:"\\*"},c={className:"symbol",begin:"[:&]"+e},u={begin:e,relevance:0},d={begin:n},_={contains:[o,a,l,c,{begin:"\\(",end:"\\)",contains:["self",i,a,o,u]},u],variants:[{begin:"['`]\\(",end:"\\)"},{begin:"\\(quote ",end:"\\)",keywords:{name:"quote"}},{begin:"'"+n}]},m={variants:[{begin:"'"+e},{begin:"#'"+e+"(::"+e+")*"}]},f={begin:"\\(\\s*",end:"\\)"},h={endsWithParent:!0,relevance:0};return f.contains=[{className:"name",variants:[{begin:e,relevance:0},{begin:n}]},h],h.contains=[_,m,f,i,o,a,s,l,c,d,u],{name:"Lisp",illegal:/\S/,contains:[o,t.SHEBANG(),i,a,s,_,m,f,u]}}function Ix(t){const e={className:"variable",variants:[{begin:"\\b([gtps][A-Z]{1}[a-zA-Z0-9]*)(\\[.+\\])?(?:\\s*?)"},{begin:"\\$_[A-Z]+"}],relevance:0},n=[t.C_BLOCK_COMMENT_MODE,t.HASH_COMMENT_MODE,t.COMMENT("--","$"),t.COMMENT("[^:]//","$")],r=t.inherit(t.TITLE_MODE,{variants:[{begin:"\\b_*rig[A-Z][A-Za-z0-9_\\-]*"},{begin:"\\b_[a-z0-9\\-]+"}]}),i=t.inherit(t.TITLE_MODE,{begin:"\\b([A-Za-z0-9_\\-]+)\\b"});return{name:"LiveCode",case_insensitive:!1,keywords:{keyword:"$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph after byte bytes english the until http forever descending using line real8 with seventh for stdout finally element word words fourth before black ninth sixth characters chars stderr uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat end repeat URL in try into switch to words https token binfile each tenth as ticks tick system real4 by dateItems without char character ascending eighth whole dateTime numeric short first ftp integer abbreviated abbr abbrev private case while if div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within contains ends with begins the keys of keys",literal:"SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five quote empty one true return cr linefeed right backslash null seven tab three two RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK",built_in:"put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress constantNames cos date dateFormat decompress difference directories diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge messageAuthenticationCode messageDigest millisec millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process combine constant convert create new alias folder directory decrypt delete variable word line folder directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetDriver libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime libURLSetStatusCallback load extension loadedExtensions multiply socket prepare process post seek rel relative read from process rename replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop subtract symmetric union unload vectorDotProduct wait write"},contains:[e,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[e,i,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE,r]},{className:"function",begin:"\\bend\\s+",end:"$",keywords:"end",contains:[i,r],relevance:0},{beginKeywords:"command on",end:"$",contains:[e,i,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE,r]},{className:"meta",variants:[{begin:"<\\?(rev|lc|livecode)",relevance:10},{begin:"<\\?"},{begin:"\\?>"}]},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE,r].concat(n),illegal:";$|^\\[|^=|&|\\{"}}const xx=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],Dx=["true","false","null","undefined","NaN","Infinity"],Mx=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],wx=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Lx=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],kx=[].concat(Lx,Mx,wx);function Px(t){const e=["npm","print"],n=["yes","no","on","off","it","that","void"],r=["then","unless","until","loop","of","by","when","and","or","is","isnt","not","it","that","otherwise","from","to","til","fallthrough","case","enum","native","list","map","__hasProp","__extends","__slice","__bind","__indexOf"],i={keyword:xx.concat(r),literal:Dx.concat(n),built_in:kx.concat(e)},o="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",a=t.inherit(t.TITLE_MODE,{begin:o}),s={className:"subst",begin:/#\{/,end:/\}/,keywords:i},l={className:"subst",begin:/#[A-Za-z$_]/,end:/(?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,keywords:i},c=[t.BINARY_NUMBER_MODE,{className:"number",begin:"(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",relevance:0,starts:{end:"(\\s*/)?",relevance:0}},{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[t.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,s,l]},{begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,s,l]},{begin:/\\/,end:/(\s|$)/,excludeEnd:!0}]},{className:"regexp",variants:[{begin:"//",end:"//[gim]*",contains:[s,t.HASH_COMMENT_MODE]},{begin:/\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/}]},{begin:"@"+o},{begin:"``",end:"``",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];s.contains=c;const u={className:"params",begin:"\\(",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:i,contains:["self"].concat(c)}]},d={begin:"(#=>|=>|\\|>>|-?->|!->)"},p={variants:[{match:[/class\s+/,o,/\s+extends\s+/,o]},{match:[/class\s+/,o]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:i};return{name:"LiveScript",aliases:["ls"],keywords:i,illegal:/\/\*/,contains:c.concat([t.COMMENT("\\/\\*","\\*\\/"),t.HASH_COMMENT_MODE,d,{className:"function",contains:[a,u],returnBegin:!0,variants:[{begin:"("+o+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B->\\*?",end:"->\\*?"},{begin:"("+o+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\)\\s*)?\\B[-~]{1,2}>\\*?",end:"[-~]{1,2}>\\*?"},{begin:"("+o+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B!?[-~]{1,2}>\\*?",end:"!?[-~]{1,2}>\\*?"}]},p,{begin:o+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}function Fx(t){const e=t.regex,n=/([-a-zA-Z$._][\w$.-]*)/,r={className:"type",begin:/\bi\d+(?=\s|\b)/},i={className:"operator",relevance:0,begin:/=/},o={className:"punctuation",relevance:0,begin:/,/},a={className:"number",variants:[{begin:/[su]?0[xX][KMLHR]?[a-fA-F0-9]+/},{begin:/[-+]?\d+(?:[.]\d+)?(?:[eE][-+]?\d+(?:[.]\d+)?)?/}],relevance:0},s={className:"symbol",variants:[{begin:/^\s*[a-z]+:/}],relevance:0},l={className:"variable",variants:[{begin:e.concat(/%/,n)},{begin:/%\d+/},{begin:/#\d+/}]},c={className:"title",variants:[{begin:e.concat(/@/,n)},{begin:/@\d+/},{begin:e.concat(/!/,n)},{begin:e.concat(/!\d+/,n)},{begin:/!\d+/}]};return{name:"LLVM IR",keywords:"begin end true false declare define global constant private linker_private internal available_externally linkonce linkonce_odr weak weak_odr appending dllimport dllexport common default hidden protected extern_weak external thread_local zeroinitializer undef null to tail target triple datalayout volatile nuw nsw nnan ninf nsz arcp fast exact inbounds align addrspace section alias module asm sideeffect gc dbg linker_private_weak attributes blockaddress initialexec localdynamic localexec prefix unnamed_addr ccc fastcc coldcc x86_stdcallcc x86_fastcallcc arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device ptx_kernel intel_ocl_bicc msp430_intrcc spir_func spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc cc c signext zeroext inreg sret nounwind noreturn noalias nocapture byval nest readnone readonly inlinehint noinline alwaysinline optsize ssp sspreq noredzone noimplicitfloat naked builtin cold nobuiltin noduplicate nonlazybind optnone returns_twice sanitize_address sanitize_memory sanitize_thread sspstrong uwtable returned type opaque eq ne slt sgt sle sge ult ugt ule uge oeq one olt ogt ole oge ord uno ueq une x acq_rel acquire alignstack atomic catch cleanup filter inteldialect max min monotonic nand personality release seq_cst singlethread umax umin unordered xchg add fadd sub fsub mul fmul udiv sdiv fdiv urem srem frem shl lshr ashr and or xor icmp fcmp phi call trunc zext sext fptrunc fpext uitofp sitofp fptoui fptosi inttoptr ptrtoint bitcast addrspacecast select va_arg ret br switch invoke unwind unreachable indirectbr landingpad resume malloc alloca free load store getelementptr extractelement insertelement shufflevector getresult extractvalue insertvalue atomicrmw cmpxchg fence argmemonly double",contains:[r,t.COMMENT(/;\s*$/,null,{relevance:0}),t.COMMENT(/;/,/$/),{className:"string",begin:/"/,end:/"/,contains:[{className:"char.escape",match:/\\\d\d/}]},c,o,i,l,s,a]}}function Bx(t){const n={className:"string",begin:'"',end:'"',contains:[{className:"subst",begin:/\\[tn"\\]/}]},r={className:"number",relevance:0,begin:t.C_NUMBER_RE},i={className:"literal",variants:[{begin:"\\b(PI|TWO_PI|PI_BY_TWO|DEG_TO_RAD|RAD_TO_DEG|SQRT2)\\b"},{begin:"\\b(XP_ERROR_(EXPERIENCES_DISABLED|EXPERIENCE_(DISABLED|SUSPENDED)|INVALID_(EXPERIENCE|PARAMETERS)|KEY_NOT_FOUND|MATURITY_EXCEEDED|NONE|NOT_(FOUND|PERMITTED(_LAND)?)|NO_EXPERIENCE|QUOTA_EXCEEDED|RETRY_UPDATE|STORAGE_EXCEPTION|STORE_DISABLED|THROTTLED|UNKNOWN_ERROR)|JSON_APPEND|STATUS_(PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(_OBJECT)?|(DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(_(BY_(LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(PARCEL(_OWNER)?|REGION)))?|CAMERA_(PITCH|DISTANCE|BEHINDNESS_(ANGLE|LAG)|(FOCUS|POSITION)(_(THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(ROOT|SET|ALL_(OTHERS|CHILDREN)|THIS)|ACTIVE|PASS(IVE|_(ALWAYS|IF_NOT_HANDLED|NEVER))|SCRIPTED|CONTROL_(FWD|BACK|(ROT_)?(LEFT|RIGHT)|UP|DOWN|(ML_)?LBUTTON)|PERMISSION_(RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(_START)?|TELEPORT|MEDIA)|OBJECT_(CLICK_ACTION|HOVER_HEIGHT|LAST_OWNER_ID|(PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_(ATTACHED|ON_REZ)|NAME|DESC|POS|PRIM_(COUNT|EQUIVALENCE)|RETURN_(PARCEL(_OWNER)?|REGION)|REZZER_KEY|ROO?T|VELOCITY|OMEGA|OWNER|GROUP(_TAG)?|CREATOR|ATTACHED_(POINT|SLOTS_AVAILABLE)|RENDER_WEIGHT|(BODY_SHAPE|PATHFINDING)_TYPE|(RUNNING|TOTAL)_SCRIPT_COUNT|TOTAL_INVENTORY_COUNT|SCRIPT_(MEMORY|TIME))|TYPE_(INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(DEBUG|PUBLIC)_CHANNEL|ATTACH_(AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](SHOULDER|HAND|FOOT|EAR|EYE|[UL](ARM|LEG)|HIP)|(LEFT|RIGHT)_PEC|HUD_(CENTER_[12]|TOP_(RIGHT|CENTER|LEFT)|BOTTOM(_(RIGHT|LEFT))?)|[LR]HAND_RING1|TAIL_(BASE|TIP)|[LR]WING|FACE_(JAW|[LR]EAR|[LR]EYE|TOUNGE)|GROIN|HIND_[LR]FOOT)|LAND_(LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(ONLINE|NAME|BORN|SIM_(POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(ON_FILE|USED)|REMOTE_DATA_(CHANNEL|REQUEST|REPLY)|PSYS_(PART_(BF_(ZERO|ONE(_MINUS_(DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(START|END)_(COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(RIBBON|WIND|INTERP_(COLOR|SCALE)|BOUNCE|FOLLOW_(SRC|VELOCITY)|TARGET_(POS|LINEAR)|EMISSIVE)_MASK)|SRC_(MAX_AGE|PATTERN|ANGLE_(BEGIN|END)|BURST_(RATE|PART_COUNT|RADIUS|SPEED_(MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(DROP|EXPLODE|ANGLE(_CONE(_EMPTY)?)?)))|VEHICLE_(REFERENCE_FRAME|TYPE_(NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(LINEAR|ANGULAR)_(FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(LINEAR|ANGULAR)_(DEFLECTION_(EFFICIENCY|TIMESCALE)|MOTOR_(DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(EFFICIENCY|TIMESCALE)|BANKING_(EFFICIENCY|MIX|TIMESCALE)|FLAG_(NO_DEFLECTION_UP|LIMIT_(ROLL_ONLY|MOTOR_UP)|HOVER_((WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(ALLOW_UNSIT|ALPHA_MODE(_(BLEND|EMISSIVE|MASK|NONE))?|NORMAL|SPECULAR|TYPE(_(BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(_(STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(NONE|LOW|MEDIUM|HIGH)|BUMP_(NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(DEFAULT|PLANAR)|SCRIPTED_SIT_ONLY|SCULPT_(TYPE_(SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(MIRROR|INVERT))|PHYSICS(_(SHAPE_(CONVEX|NONE|PRIM|TYPE)))?|(POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIT_TARGET|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(ALT_IMAGE_ENABLE|CONTROLS|(CURRENT|HOME)_URL|AUTO_(LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(WIDTH|HEIGHT)_PIXELS|WHITELIST(_ENABLE)?|PERMS_(INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(STANDARD|MINI)|PERM_(NONE|OWNER|GROUP|ANYONE)|MAX_(URL_LENGTH|WHITELIST_(SIZE|COUNT)|(WIDTH|HEIGHT)_PIXELS)))|MASK_(BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(MEDIA_COMMAND_(STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(ALLOW_(FLY|(GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(GROUP_)?OBJECTS)|USE_(ACCESS_(GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(GROUP|ALL)_OBJECT_ENTRY)|COUNT_(TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(HIDE|DEFAULT)|REGION_FLAG_(ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(METHOD|MIMETYPE|BODY_(MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|SIT_(INVALID_(AGENT|LINK_OBJECT)|NO(T_EXPERIENCE|_(ACCESS|EXPERIENCE_PERMISSION|SIT_TARGET)))|STRING_(TRIM(_(HEAD|TAIL))?)|CLICK_ACTION_(NONE|TOUCH|SIT|BUY|PAY|OPEN(_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(NONE|SCRIPT_MEMORY)|RC_(DATA_FLAGS|DETECT_PHANTOM|GET_(LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(TYPES|AGENTS|(NON)?PHYSICAL|LAND))|RCERR_(CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(ALLOWED_(AGENT|GROUP)_(ADD|REMOVE)|BANNED_AGENT_(ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(COMMAND|CMD_(PLAY|STOP|PAUSE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(CMD_((SMOOTH_)?STOP|JUMP)|DESIRED_(TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(_([ABCD]|NONE))?|MAX_(DECEL|TURN_RADIUS|(ACCEL|SPEED)))|PURSUIT_(OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(EVADE_(HIDDEN|SPOTTED)|FAILURE_(DYNAMIC_PATHFINDING_DISABLED|INVALID_(GOAL|START)|NO_(NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(PARCEL_)?UNREACHABLE)|(GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(_(FAST|NONE|SLOW))?|CONTENT_TYPE_(ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(RADIUS|STATIC)|(PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\\b"},{begin:"\\b(FALSE|TRUE)\\b"},{begin:"\\b(ZERO_ROTATION)\\b"},{begin:"\\b(EOF|JSON_(ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(GRANTED|DENIED))\\b"},{begin:"\\b(ZERO_VECTOR|TOUCH_INVALID_(TEXCOORD|VECTOR))\\b"}]},o={className:"built_in",begin:"\\b(ll(AgentInExperience|(Create|DataSize|Delete|KeyCount|Keys|Read|Update)KeyValue|GetExperience(Details|ErrorMessage)|ReturnObjectsBy(ID|Owner)|Json(2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(Mag|Norm|Dist)|Rot(Between|2(Euler|Fwd|Left|Up))|(Euler|Axes)2Rot|Whisper|(Region|Owner)?Say|Shout|Listen(Control|Remove)?|Sensor(Repeat|Remove)?|Detected(Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|([GS]et)(AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(Scale|Offset|Rotate)Texture|(Rot)?Target(Remove)?|(Stop)?MoveToTarget|Apply(Rotational)?Impulse|Set(KeyframedMotion|ContentType|RegionPos|(Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(Queueing|Radius)|Vehicle(Type|(Float|Vector|Rotation)Param)|(Touch|Sit)?Text|Camera(Eye|At)Offset|PrimitiveParams|ClickAction|Link(Alpha|Color|PrimitiveParams(Fast)?|Texture(Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get((Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(PrimitiveParams|Number(OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(Details|PermMask|PrimCount)|Parcel(MaxPrims|Details|Prim(Count|Owners))|Attached(List)?|(SPMax|Free|Used)Memory|Region(Name|TimeDilation|FPS|Corner|AgentCount)|Root(Position|Rotation)|UnixTime|(Parcel|Region)Flags|(Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(Prims|NotecardLines|Sides)|Animation(List)?|(Camera|Local)(Pos|Rot)|Vel|Accel|Omega|Time(stamp|OfDay)|(Object|CenterOf)?Mass|MassMKS|Energy|Owner|(Owner)?Key|SunDirection|Texture(Offset|Scale|Rot)|Inventory(Number|Name|Key|Type|Creator|PermMask)|Permissions(Key)?|StartParameter|List(Length|EntryType)|Date|Agent(Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(Name|State))|(Get|Reset|GetAndReset)Time|PlaySound(Slave)?|LoopSound(Master|Slave)?|(Trigger|Stop|Preload)Sound|((Get|Delete)Sub|Insert)String|To(Upper|Lower)|Give(InventoryList|Money)|RezObject|(Stop)?LookAt|Sleep|CollisionFilter|(Take|Release)Controls|DetachFromAvatar|AttachToAvatar(Temp)?|InstantMessage|(GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(Length|Trim)|(Start|Stop)Animation|TargetOmega|Request(Experience)?Permissions|(Create|Break)Link|BreakAllLinks|(Give|Remove)Inventory|Water|PassTouches|Request(Agent|Inventory)Data|TeleportAgent(Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(Axis|Angle)|A(cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(CSV|Integer|Json|Float|String|Key|Vector|Rot|List(Strided)?)|DeleteSubList|List(Statistics|Sort|Randomize|(Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(Slope|Normal|Contour)|GroundRepel|(Set|Remove)VehicleFlags|SitOnLink|(AvatarOn)?(Link)?SitTarget|Script(Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(Integer|String)ToBase64|XorBase64|Log(10)?|Base64To(String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(Load|Release|(E|Une)scape)URL|ParcelMedia(CommandList|Query)|ModPow|MapDestination|(RemoveFrom|AddTo|Reset)Land(Pass|Ban)List|(Set|Clear)CameraParams|HTTP(Request|Response)|TextBox|DetectedTouch(UV|Face|Pos|(N|Bin)ormal|ST)|(MD5|SHA1|DumpList2)String|Request(Secure)?URL|Clear(Prim|Link)Media|(Link)?ParticleSystem|(Get|Request)(Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\\b"};return{name:"LSL (Linden Scripting Language)",illegal:":",contains:[n,{className:"comment",variants:[t.COMMENT("//","$"),t.COMMENT("/\\*","\\*/")],relevance:0},r,{className:"section",variants:[{begin:"\\b(state|default)\\b"},{begin:"\\b(state_(entry|exit)|touch(_(start|end))?|(land_)?collision(_(start|end))?|timer|listen|(no_)?sensor|control|(not_)?at_(rot_)?target|money|email|experience_permissions(_denied)?|run_time_permissions|changed|attach|dataserver|moving_(start|end)|link_message|(on|object)_rez|remote_data|http_re(sponse|quest)|path_update|transaction_result)\\b"}]},o,i,{className:"type",begin:"\\b(integer|float|string|key|vector|quaternion|rotation|list)\\b"}]}}const Ux=["AASTriangle","AbelianGroup","Abort","AbortKernels","AbortProtect","AbortScheduledTask","Above","Abs","AbsArg","AbsArgPlot","Absolute","AbsoluteCorrelation","AbsoluteCorrelationFunction","AbsoluteCurrentValue","AbsoluteDashing","AbsoluteFileName","AbsoluteOptions","AbsolutePointSize","AbsoluteThickness","AbsoluteTime","AbsoluteTiming","AcceptanceThreshold","AccountingForm","Accumulate","Accuracy","AccuracyGoal","AcousticAbsorbingValue","AcousticImpedanceValue","AcousticNormalVelocityValue","AcousticPDEComponent","AcousticPressureCondition","AcousticRadiationValue","AcousticSoundHardValue","AcousticSoundSoftCondition","ActionDelay","ActionMenu","ActionMenuBox","ActionMenuBoxOptions","Activate","Active","ActiveClassification","ActiveClassificationObject","ActiveItem","ActivePrediction","ActivePredictionObject","ActiveStyle","AcyclicGraphQ","AddOnHelpPath","AddSides","AddTo","AddToSearchIndex","AddUsers","AdjacencyGraph","AdjacencyList","AdjacencyMatrix","AdjacentMeshCells","Adjugate","AdjustmentBox","AdjustmentBoxOptions","AdjustTimeSeriesForecast","AdministrativeDivisionData","AffineHalfSpace","AffineSpace","AffineStateSpaceModel","AffineTransform","After","AggregatedEntityClass","AggregationLayer","AircraftData","AirportData","AirPressureData","AirSoundAttenuation","AirTemperatureData","AiryAi","AiryAiPrime","AiryAiZero","AiryBi","AiryBiPrime","AiryBiZero","AlgebraicIntegerQ","AlgebraicNumber","AlgebraicNumberDenominator","AlgebraicNumberNorm","AlgebraicNumberPolynomial","AlgebraicNumberTrace","AlgebraicRules","AlgebraicRulesData","Algebraics","AlgebraicUnitQ","Alignment","AlignmentMarker","AlignmentPoint","All","AllowAdultContent","AllowChatServices","AllowedCloudExtraParameters","AllowedCloudParameterExtensions","AllowedDimensions","AllowedFrequencyRange","AllowedHeads","AllowGroupClose","AllowIncomplete","AllowInlineCells","AllowKernelInitialization","AllowLooseGrammar","AllowReverseGroupClose","AllowScriptLevelChange","AllowVersionUpdate","AllTrue","Alphabet","AlphabeticOrder","AlphabeticSort","AlphaChannel","AlternateImage","AlternatingFactorial","AlternatingGroup","AlternativeHypothesis","Alternatives","AltitudeMethod","AmbientLight","AmbiguityFunction","AmbiguityList","Analytic","AnatomyData","AnatomyForm","AnatomyPlot3D","AnatomySkinStyle","AnatomyStyling","AnchoredSearch","And","AndersonDarlingTest","AngerJ","AngleBisector","AngleBracket","AnglePath","AnglePath3D","AngleVector","AngularGauge","Animate","AnimatedImage","AnimationCycleOffset","AnimationCycleRepetitions","AnimationDirection","AnimationDisplayTime","AnimationRate","AnimationRepetitions","AnimationRunning","AnimationRunTime","AnimationTimeIndex","AnimationVideo","Animator","AnimatorBox","AnimatorBoxOptions","AnimatorElements","Annotate","Annotation","AnnotationDelete","AnnotationKeys","AnnotationRules","AnnotationValue","Annuity","AnnuityDue","Annulus","AnomalyDetection","AnomalyDetector","AnomalyDetectorFunction","Anonymous","Antialiasing","Antihermitian","AntihermitianMatrixQ","Antisymmetric","AntisymmetricMatrixQ","Antonyms","AnyOrder","AnySubset","AnyTrue","Apart","ApartSquareFree","APIFunction","Appearance","AppearanceElements","AppearanceRules","AppellF1","Append","AppendCheck","AppendLayer","AppendTo","Application","Apply","ApplyReaction","ApplySides","ApplyTo","ArcCos","ArcCosh","ArcCot","ArcCoth","ArcCsc","ArcCsch","ArcCurvature","ARCHProcess","ArcLength","ArcSec","ArcSech","ArcSin","ArcSinDistribution","ArcSinh","ArcTan","ArcTanh","Area","Arg","ArgMax","ArgMin","ArgumentCountQ","ArgumentsOptions","ARIMAProcess","ArithmeticGeometricMean","ARMAProcess","Around","AroundReplace","ARProcess","Array","ArrayComponents","ArrayDepth","ArrayFilter","ArrayFlatten","ArrayMesh","ArrayPad","ArrayPlot","ArrayPlot3D","ArrayQ","ArrayReduce","ArrayResample","ArrayReshape","ArrayRules","Arrays","Arrow","Arrow3DBox","ArrowBox","Arrowheads","ASATriangle","Ask","AskAppend","AskConfirm","AskDisplay","AskedQ","AskedValue","AskFunction","AskState","AskTemplateDisplay","AspectRatio","AspectRatioFixed","Assert","AssessmentFunction","AssessmentResultObject","AssociateTo","Association","AssociationFormat","AssociationMap","AssociationQ","AssociationThread","AssumeDeterministic","Assuming","Assumptions","AstroAngularSeparation","AstroBackground","AstroCenter","AstroDistance","AstroGraphics","AstroGridLines","AstroGridLinesStyle","AstronomicalData","AstroPosition","AstroProjection","AstroRange","AstroRangePadding","AstroReferenceFrame","AstroStyling","AstroZoomLevel","Asymptotic","AsymptoticDSolveValue","AsymptoticEqual","AsymptoticEquivalent","AsymptoticExpectation","AsymptoticGreater","AsymptoticGreaterEqual","AsymptoticIntegrate","AsymptoticLess","AsymptoticLessEqual","AsymptoticOutputTracker","AsymptoticProbability","AsymptoticProduct","AsymptoticRSolveValue","AsymptoticSolve","AsymptoticSum","Asynchronous","AsynchronousTaskObject","AsynchronousTasks","Atom","AtomCoordinates","AtomCount","AtomDiagramCoordinates","AtomLabels","AtomLabelStyle","AtomList","AtomQ","AttachCell","AttachedCell","AttentionLayer","Attributes","Audio","AudioAmplify","AudioAnnotate","AudioAnnotationLookup","AudioBlockMap","AudioCapture","AudioChannelAssignment","AudioChannelCombine","AudioChannelMix","AudioChannels","AudioChannelSeparate","AudioData","AudioDelay","AudioDelete","AudioDevice","AudioDistance","AudioEncoding","AudioFade","AudioFrequencyShift","AudioGenerator","AudioIdentify","AudioInputDevice","AudioInsert","AudioInstanceQ","AudioIntervals","AudioJoin","AudioLabel","AudioLength","AudioLocalMeasurements","AudioLooping","AudioLoudness","AudioMeasurements","AudioNormalize","AudioOutputDevice","AudioOverlay","AudioPad","AudioPan","AudioPartition","AudioPause","AudioPitchShift","AudioPlay","AudioPlot","AudioQ","AudioRecord","AudioReplace","AudioResample","AudioReverb","AudioReverse","AudioSampleRate","AudioSpectralMap","AudioSpectralTransformation","AudioSplit","AudioStop","AudioStream","AudioStreams","AudioTimeStretch","AudioTrackApply","AudioTrackSelection","AudioTrim","AudioType","AugmentedPolyhedron","AugmentedSymmetricPolynomial","Authenticate","Authentication","AuthenticationDialog","AutoAction","Autocomplete","AutocompletionFunction","AutoCopy","AutocorrelationTest","AutoDelete","AutoEvaluateEvents","AutoGeneratedPackage","AutoIndent","AutoIndentSpacings","AutoItalicWords","AutoloadPath","AutoMatch","Automatic","AutomaticImageSize","AutoMultiplicationSymbol","AutoNumberFormatting","AutoOpenNotebooks","AutoOpenPalettes","AutoOperatorRenderings","AutoQuoteCharacters","AutoRefreshed","AutoRemove","AutorunSequencing","AutoScaling","AutoScroll","AutoSpacing","AutoStyleOptions","AutoStyleWords","AutoSubmitting","Axes","AxesEdge","AxesLabel","AxesOrigin","AxesStyle","AxiomaticTheory","Axis","Axis3DBox","Axis3DBoxOptions","AxisBox","AxisBoxOptions","AxisLabel","AxisObject","AxisStyle","BabyMonsterGroupB","Back","BackFaceColor","BackFaceGlowColor","BackFaceOpacity","BackFaceSpecularColor","BackFaceSpecularExponent","BackFaceSurfaceAppearance","BackFaceTexture","Background","BackgroundAppearance","BackgroundTasksSettings","Backslash","Backsubstitution","Backward","Ball","Band","BandpassFilter","BandstopFilter","BarabasiAlbertGraphDistribution","BarChart","BarChart3D","BarcodeImage","BarcodeRecognize","BaringhausHenzeTest","BarLegend","BarlowProschanImportance","BarnesG","BarOrigin","BarSpacing","BartlettHannWindow","BartlettWindow","BaseDecode","BaseEncode","BaseForm","Baseline","BaselinePosition","BaseStyle","BasicRecurrentLayer","BatchNormalizationLayer","BatchSize","BatesDistribution","BattleLemarieWavelet","BayesianMaximization","BayesianMaximizationObject","BayesianMinimization","BayesianMinimizationObject","Because","BeckmannDistribution","Beep","Before","Begin","BeginDialogPacket","BeginPackage","BellB","BellY","Below","BenfordDistribution","BeniniDistribution","BenktanderGibratDistribution","BenktanderWeibullDistribution","BernoulliB","BernoulliDistribution","BernoulliGraphDistribution","BernoulliProcess","BernsteinBasis","BesagL","BesselFilterModel","BesselI","BesselJ","BesselJZero","BesselK","BesselY","BesselYZero","Beta","BetaBinomialDistribution","BetaDistribution","BetaNegativeBinomialDistribution","BetaPrimeDistribution","BetaRegularized","Between","BetweennessCentrality","Beveled","BeveledPolyhedron","BezierCurve","BezierCurve3DBox","BezierCurve3DBoxOptions","BezierCurveBox","BezierCurveBoxOptions","BezierFunction","BilateralFilter","BilateralLaplaceTransform","BilateralZTransform","Binarize","BinaryDeserialize","BinaryDistance","BinaryFormat","BinaryImageQ","BinaryRead","BinaryReadList","BinarySerialize","BinaryWrite","BinCounts","BinLists","BinnedVariogramList","Binomial","BinomialDistribution","BinomialPointProcess","BinomialProcess","BinormalDistribution","BiorthogonalSplineWavelet","BioSequence","BioSequenceBackTranslateList","BioSequenceComplement","BioSequenceInstances","BioSequenceModify","BioSequencePlot","BioSequenceQ","BioSequenceReverseComplement","BioSequenceTranscribe","BioSequenceTranslate","BipartiteGraphQ","BiquadraticFilterModel","BirnbaumImportance","BirnbaumSaundersDistribution","BitAnd","BitClear","BitGet","BitLength","BitNot","BitOr","BitRate","BitSet","BitShiftLeft","BitShiftRight","BitXor","BiweightLocation","BiweightMidvariance","Black","BlackmanHarrisWindow","BlackmanNuttallWindow","BlackmanWindow","Blank","BlankForm","BlankNullSequence","BlankSequence","Blend","Block","BlockchainAddressData","BlockchainBase","BlockchainBlockData","BlockchainContractValue","BlockchainData","BlockchainGet","BlockchainKeyEncode","BlockchainPut","BlockchainTokenData","BlockchainTransaction","BlockchainTransactionData","BlockchainTransactionSign","BlockchainTransactionSubmit","BlockDiagonalMatrix","BlockLowerTriangularMatrix","BlockMap","BlockRandom","BlockUpperTriangularMatrix","BlomqvistBeta","BlomqvistBetaTest","Blue","Blur","Blurring","BodePlot","BohmanWindow","Bold","Bond","BondCount","BondLabels","BondLabelStyle","BondList","BondQ","Bookmarks","Boole","BooleanConsecutiveFunction","BooleanConvert","BooleanCountingFunction","BooleanFunction","BooleanGraph","BooleanMaxterms","BooleanMinimize","BooleanMinterms","BooleanQ","BooleanRegion","Booleans","BooleanStrings","BooleanTable","BooleanVariables","BorderDimensions","BorelTannerDistribution","Bottom","BottomHatTransform","BoundaryDiscretizeGraphics","BoundaryDiscretizeRegion","BoundaryMesh","BoundaryMeshRegion","BoundaryMeshRegionQ","BoundaryStyle","BoundedRegionQ","BoundingRegion","Bounds","Box","BoxBaselineShift","BoxData","BoxDimensions","Boxed","Boxes","BoxForm","BoxFormFormatTypes","BoxFrame","BoxID","BoxMargins","BoxMatrix","BoxObject","BoxRatios","BoxRotation","BoxRotationPoint","BoxStyle","BoxWhiskerChart","Bra","BracketingBar","BraKet","BrayCurtisDistance","BreadthFirstScan","Break","BridgeData","BrightnessEqualize","BroadcastStationData","Brown","BrownForsytheTest","BrownianBridgeProcess","BrowserCategory","BSplineBasis","BSplineCurve","BSplineCurve3DBox","BSplineCurve3DBoxOptions","BSplineCurveBox","BSplineCurveBoxOptions","BSplineFunction","BSplineSurface","BSplineSurface3DBox","BSplineSurface3DBoxOptions","BubbleChart","BubbleChart3D","BubbleScale","BubbleSizes","BuckyballGraph","BuildCompiledComponent","BuildingData","BulletGauge","BusinessDayQ","ButterflyGraph","ButterworthFilterModel","Button","ButtonBar","ButtonBox","ButtonBoxOptions","ButtonCell","ButtonContents","ButtonData","ButtonEvaluator","ButtonExpandable","ButtonFrame","ButtonFunction","ButtonMargins","ButtonMinHeight","ButtonNote","ButtonNotebook","ButtonSource","ButtonStyle","ButtonStyleMenuListing","Byte","ByteArray","ByteArrayFormat","ByteArrayFormatQ","ByteArrayQ","ByteArrayToString","ByteCount","ByteOrdering","C","CachedValue","CacheGraphics","CachePersistence","CalendarConvert","CalendarData","CalendarType","Callout","CalloutMarker","CalloutStyle","CallPacket","CanberraDistance","Cancel","CancelButton","CandlestickChart","CanonicalGraph","CanonicalizePolygon","CanonicalizePolyhedron","CanonicalizeRegion","CanonicalName","CanonicalWarpingCorrespondence","CanonicalWarpingDistance","CantorMesh","CantorStaircase","Canvas","Cap","CapForm","CapitalDifferentialD","Capitalize","CapsuleShape","CaptureRunning","CaputoD","CardinalBSplineBasis","CarlemanLinearize","CarlsonRC","CarlsonRD","CarlsonRE","CarlsonRF","CarlsonRG","CarlsonRJ","CarlsonRK","CarlsonRM","CarmichaelLambda","CaseOrdering","Cases","CaseSensitive","Cashflow","Casoratian","Cast","Catalan","CatalanNumber","Catch","CategoricalDistribution","Catenate","CatenateLayer","CauchyDistribution","CauchyMatrix","CauchyPointProcess","CauchyWindow","CayleyGraph","CDF","CDFDeploy","CDFInformation","CDFWavelet","Ceiling","CelestialSystem","Cell","CellAutoOverwrite","CellBaseline","CellBoundingBox","CellBracketOptions","CellChangeTimes","CellContents","CellContext","CellDingbat","CellDingbatMargin","CellDynamicExpression","CellEditDuplicate","CellElementsBoundingBox","CellElementSpacings","CellEpilog","CellEvaluationDuplicate","CellEvaluationFunction","CellEvaluationLanguage","CellEventActions","CellFrame","CellFrameColor","CellFrameLabelMargins","CellFrameLabels","CellFrameMargins","CellFrameStyle","CellGroup","CellGroupData","CellGrouping","CellGroupingRules","CellHorizontalScrolling","CellID","CellInsertionPointCell","CellLabel","CellLabelAutoDelete","CellLabelMargins","CellLabelPositioning","CellLabelStyle","CellLabelTemplate","CellMargins","CellObject","CellOpen","CellPrint","CellProlog","Cells","CellSize","CellStyle","CellTags","CellTrayPosition","CellTrayWidgets","CellularAutomaton","CensoredDistribution","Censoring","Center","CenterArray","CenterDot","CenteredInterval","CentralFeature","CentralMoment","CentralMomentGeneratingFunction","Cepstrogram","CepstrogramArray","CepstrumArray","CForm","ChampernowneNumber","ChangeOptions","ChannelBase","ChannelBrokerAction","ChannelDatabin","ChannelHistoryLength","ChannelListen","ChannelListener","ChannelListeners","ChannelListenerWait","ChannelObject","ChannelPreSendFunction","ChannelReceiverFunction","ChannelSend","ChannelSubscribers","ChanVeseBinarize","Character","CharacterCounts","CharacterEncoding","CharacterEncodingsPath","CharacteristicFunction","CharacteristicPolynomial","CharacterName","CharacterNormalize","CharacterRange","Characters","ChartBaseStyle","ChartElementData","ChartElementDataFunction","ChartElementFunction","ChartElements","ChartLabels","ChartLayout","ChartLegends","ChartStyle","Chebyshev1FilterModel","Chebyshev2FilterModel","ChebyshevDistance","ChebyshevT","ChebyshevU","Check","CheckAbort","CheckAll","CheckArguments","Checkbox","CheckboxBar","CheckboxBox","CheckboxBoxOptions","ChemicalConvert","ChemicalData","ChemicalFormula","ChemicalInstance","ChemicalReaction","ChessboardDistance","ChiDistribution","ChineseRemainder","ChiSquareDistribution","ChoiceButtons","ChoiceDialog","CholeskyDecomposition","Chop","ChromaticityPlot","ChromaticityPlot3D","ChromaticPolynomial","Circle","CircleBox","CircleDot","CircleMinus","CirclePlus","CirclePoints","CircleThrough","CircleTimes","CirculantGraph","CircularArcThrough","CircularOrthogonalMatrixDistribution","CircularQuaternionMatrixDistribution","CircularRealMatrixDistribution","CircularSymplecticMatrixDistribution","CircularUnitaryMatrixDistribution","Circumsphere","CityData","ClassifierFunction","ClassifierInformation","ClassifierMeasurements","ClassifierMeasurementsObject","Classify","ClassPriors","Clear","ClearAll","ClearAttributes","ClearCookies","ClearPermissions","ClearSystemCache","ClebschGordan","ClickPane","ClickToCopy","ClickToCopyEnabled","Clip","ClipboardNotebook","ClipFill","ClippingStyle","ClipPlanes","ClipPlanesStyle","ClipRange","Clock","ClockGauge","ClockwiseContourIntegral","Close","Closed","CloseKernels","ClosenessCentrality","Closing","ClosingAutoSave","ClosingEvent","CloudAccountData","CloudBase","CloudConnect","CloudConnections","CloudDeploy","CloudDirectory","CloudDisconnect","CloudEvaluate","CloudExport","CloudExpression","CloudExpressions","CloudFunction","CloudGet","CloudImport","CloudLoggingData","CloudObject","CloudObjectInformation","CloudObjectInformationData","CloudObjectNameFormat","CloudObjects","CloudObjectURLType","CloudPublish","CloudPut","CloudRenderingMethod","CloudSave","CloudShare","CloudSubmit","CloudSymbol","CloudUnshare","CloudUserID","ClusterClassify","ClusterDissimilarityFunction","ClusteringComponents","ClusteringMeasurements","ClusteringTree","CMYKColor","Coarse","CodeAssistOptions","Coefficient","CoefficientArrays","CoefficientDomain","CoefficientList","CoefficientRules","CoifletWavelet","Collect","CollinearPoints","Colon","ColonForm","ColorBalance","ColorCombine","ColorConvert","ColorCoverage","ColorData","ColorDataFunction","ColorDetect","ColorDistance","ColorFunction","ColorFunctionBinning","ColorFunctionScaling","Colorize","ColorNegate","ColorOutput","ColorProfileData","ColorQ","ColorQuantize","ColorReplace","ColorRules","ColorSelectorSettings","ColorSeparate","ColorSetter","ColorSetterBox","ColorSetterBoxOptions","ColorSlider","ColorsNear","ColorSpace","ColorToneMapping","Column","ColumnAlignments","ColumnBackgrounds","ColumnForm","ColumnLines","ColumnsEqual","ColumnSpacings","ColumnWidths","CombinatorB","CombinatorC","CombinatorI","CombinatorK","CombinatorS","CombinatorW","CombinatorY","CombinedEntityClass","CombinerFunction","CometData","CommonDefaultFormatTypes","Commonest","CommonestFilter","CommonName","CommonUnits","CommunityBoundaryStyle","CommunityGraphPlot","CommunityLabels","CommunityRegionStyle","CompanyData","CompatibleUnitQ","CompilationOptions","CompilationTarget","Compile","Compiled","CompiledCodeFunction","CompiledComponent","CompiledExpressionDeclaration","CompiledFunction","CompiledLayer","CompilerCallback","CompilerEnvironment","CompilerEnvironmentAppend","CompilerEnvironmentAppendTo","CompilerEnvironmentObject","CompilerOptions","Complement","ComplementedEntityClass","CompleteGraph","CompleteGraphQ","CompleteIntegral","CompleteKaryTree","CompletionsListPacket","Complex","ComplexArrayPlot","ComplexContourPlot","Complexes","ComplexExpand","ComplexInfinity","ComplexityFunction","ComplexListPlot","ComplexPlot","ComplexPlot3D","ComplexRegionPlot","ComplexStreamPlot","ComplexVectorPlot","ComponentMeasurements","ComponentwiseContextMenu","Compose","ComposeList","ComposeSeries","CompositeQ","Composition","CompoundElement","CompoundExpression","CompoundPoissonDistribution","CompoundPoissonProcess","CompoundRenewalProcess","Compress","CompressedData","CompressionLevel","ComputeUncertainty","ConcaveHullMesh","Condition","ConditionalExpression","Conditioned","Cone","ConeBox","ConfidenceLevel","ConfidenceRange","ConfidenceTransform","ConfigurationPath","Confirm","ConfirmAssert","ConfirmBy","ConfirmMatch","ConfirmQuiet","ConformationMethod","ConformAudio","ConformImages","Congruent","ConicGradientFilling","ConicHullRegion","ConicHullRegion3DBox","ConicHullRegion3DBoxOptions","ConicHullRegionBox","ConicHullRegionBoxOptions","ConicOptimization","Conjugate","ConjugateTranspose","Conjunction","Connect","ConnectedComponents","ConnectedGraphComponents","ConnectedGraphQ","ConnectedMeshComponents","ConnectedMoleculeComponents","ConnectedMoleculeQ","ConnectionSettings","ConnectLibraryCallbackFunction","ConnectSystemModelComponents","ConnectSystemModelController","ConnesWindow","ConoverTest","ConservativeConvectionPDETerm","ConsoleMessage","Constant","ConstantArray","ConstantArrayLayer","ConstantImage","ConstantPlusLayer","ConstantRegionQ","Constants","ConstantTimesLayer","ConstellationData","ConstrainedMax","ConstrainedMin","Construct","Containing","ContainsAll","ContainsAny","ContainsExactly","ContainsNone","ContainsOnly","ContentDetectorFunction","ContentFieldOptions","ContentLocationFunction","ContentObject","ContentPadding","ContentsBoundingBox","ContentSelectable","ContentSize","Context","ContextMenu","Contexts","ContextToFileName","Continuation","Continue","ContinuedFraction","ContinuedFractionK","ContinuousAction","ContinuousMarkovProcess","ContinuousTask","ContinuousTimeModelQ","ContinuousWaveletData","ContinuousWaveletTransform","ContourDetect","ContourGraphics","ContourIntegral","ContourLabels","ContourLines","ContourPlot","ContourPlot3D","Contours","ContourShading","ContourSmoothing","ContourStyle","ContraharmonicMean","ContrastiveLossLayer","Control","ControlActive","ControlAlignment","ControlGroupContentsBox","ControllabilityGramian","ControllabilityMatrix","ControllableDecomposition","ControllableModelQ","ControllerDuration","ControllerInformation","ControllerInformationData","ControllerLinking","ControllerManipulate","ControllerMethod","ControllerPath","ControllerState","ControlPlacement","ControlsRendering","ControlType","ConvectionPDETerm","Convergents","ConversionOptions","ConversionRules","ConvertToPostScript","ConvertToPostScriptPacket","ConvexHullMesh","ConvexHullRegion","ConvexOptimization","ConvexPolygonQ","ConvexPolyhedronQ","ConvexRegionQ","ConvolutionLayer","Convolve","ConwayGroupCo1","ConwayGroupCo2","ConwayGroupCo3","CookieFunction","Cookies","CoordinateBoundingBox","CoordinateBoundingBoxArray","CoordinateBounds","CoordinateBoundsArray","CoordinateChartData","CoordinatesToolOptions","CoordinateTransform","CoordinateTransformData","CoplanarPoints","CoprimeQ","Coproduct","CopulaDistribution","Copyable","CopyDatabin","CopyDirectory","CopyFile","CopyFunction","CopyTag","CopyToClipboard","CoreNilpotentDecomposition","CornerFilter","CornerNeighbors","Correlation","CorrelationDistance","CorrelationFunction","CorrelationTest","Cos","Cosh","CoshIntegral","CosineDistance","CosineWindow","CosIntegral","Cot","Coth","CoulombF","CoulombG","CoulombH1","CoulombH2","Count","CountDistinct","CountDistinctBy","CounterAssignments","CounterBox","CounterBoxOptions","CounterClockwiseContourIntegral","CounterEvaluator","CounterFunction","CounterIncrements","CounterStyle","CounterStyleMenuListing","CountRoots","CountryData","Counts","CountsBy","Covariance","CovarianceEstimatorFunction","CovarianceFunction","CoxianDistribution","CoxIngersollRossProcess","CoxModel","CoxModelFit","CramerVonMisesTest","CreateArchive","CreateCellID","CreateChannel","CreateCloudExpression","CreateCompilerEnvironment","CreateDatabin","CreateDataStructure","CreateDataSystemModel","CreateDialog","CreateDirectory","CreateDocument","CreateFile","CreateIntermediateDirectories","CreateLicenseEntitlement","CreateManagedLibraryExpression","CreateNotebook","CreatePacletArchive","CreatePalette","CreatePermissionsGroup","CreateScheduledTask","CreateSearchIndex","CreateSystemModel","CreateTemporary","CreateTypeInstance","CreateUUID","CreateWindow","CriterionFunction","CriticalityFailureImportance","CriticalitySuccessImportance","CriticalSection","Cross","CrossEntropyLossLayer","CrossingCount","CrossingDetect","CrossingPolygon","CrossMatrix","Csc","Csch","CSGRegion","CSGRegionQ","CSGRegionTree","CTCLossLayer","Cube","CubeRoot","Cubics","Cuboid","CuboidBox","CuboidBoxOptions","Cumulant","CumulantGeneratingFunction","CumulativeFeatureImpactPlot","Cup","CupCap","Curl","CurlyDoubleQuote","CurlyQuote","CurrencyConvert","CurrentDate","CurrentImage","CurrentNotebookImage","CurrentScreenImage","CurrentValue","Curry","CurryApplied","CurvatureFlowFilter","CurveClosed","Cyan","CycleGraph","CycleIndexPolynomial","Cycles","CyclicGroup","Cyclotomic","Cylinder","CylinderBox","CylinderBoxOptions","CylindricalDecomposition","CylindricalDecompositionFunction","D","DagumDistribution","DamData","DamerauLevenshteinDistance","DampingFactor","Darker","Dashed","Dashing","DatabaseConnect","DatabaseDisconnect","DatabaseReference","Databin","DatabinAdd","DatabinRemove","Databins","DatabinSubmit","DatabinUpload","DataCompression","DataDistribution","DataRange","DataReversed","Dataset","DatasetDisplayPanel","DatasetTheme","DataStructure","DataStructureQ","Date","DateBounds","Dated","DateDelimiters","DateDifference","DatedUnit","DateFormat","DateFunction","DateGranularity","DateHistogram","DateInterval","DateList","DateListLogPlot","DateListPlot","DateListStepPlot","DateObject","DateObjectQ","DateOverlapsQ","DatePattern","DatePlus","DateRange","DateReduction","DateScale","DateSelect","DateString","DateTicksFormat","DateValue","DateWithinQ","DaubechiesWavelet","DavisDistribution","DawsonF","DayCount","DayCountConvention","DayHemisphere","DaylightQ","DayMatchQ","DayName","DayNightTerminator","DayPlus","DayRange","DayRound","DeBruijnGraph","DeBruijnSequence","Debug","DebugTag","Decapitalize","Decimal","DecimalForm","DeclareCompiledComponent","DeclareKnownSymbols","DeclarePackage","Decompose","DeconvolutionLayer","Decrement","Decrypt","DecryptFile","DedekindEta","DeepSpaceProbeData","Default","Default2DTool","Default3DTool","DefaultAttachedCellStyle","DefaultAxesStyle","DefaultBaseStyle","DefaultBoxStyle","DefaultButton","DefaultColor","DefaultControlPlacement","DefaultDockedCellStyle","DefaultDuplicateCellStyle","DefaultDuration","DefaultElement","DefaultFaceGridsStyle","DefaultFieldHintStyle","DefaultFont","DefaultFontProperties","DefaultFormatType","DefaultFrameStyle","DefaultFrameTicksStyle","DefaultGridLinesStyle","DefaultInlineFormatType","DefaultInputFormatType","DefaultLabelStyle","DefaultMenuStyle","DefaultNaturalLanguage","DefaultNewCellStyle","DefaultNewInlineCellStyle","DefaultNotebook","DefaultOptions","DefaultOutputFormatType","DefaultPrintPrecision","DefaultStyle","DefaultStyleDefinitions","DefaultTextFormatType","DefaultTextInlineFormatType","DefaultTicksStyle","DefaultTooltipStyle","DefaultValue","DefaultValues","Defer","DefineExternal","DefineInputStreamMethod","DefineOutputStreamMethod","DefineResourceFunction","Definition","Degree","DegreeCentrality","DegreeGraphDistribution","DegreeLexicographic","DegreeReverseLexicographic","DEigensystem","DEigenvalues","Deinitialization","Del","DelaunayMesh","Delayed","Deletable","Delete","DeleteAdjacentDuplicates","DeleteAnomalies","DeleteBorderComponents","DeleteCases","DeleteChannel","DeleteCloudExpression","DeleteContents","DeleteDirectory","DeleteDuplicates","DeleteDuplicatesBy","DeleteElements","DeleteFile","DeleteMissing","DeleteObject","DeletePermissionsKey","DeleteSearchIndex","DeleteSmallComponents","DeleteStopwords","DeleteWithContents","DeletionWarning","DelimitedArray","DelimitedSequence","Delimiter","DelimiterAutoMatching","DelimiterFlashTime","DelimiterMatching","Delimiters","DeliveryFunction","Dendrogram","Denominator","DensityGraphics","DensityHistogram","DensityPlot","DensityPlot3D","DependentVariables","Deploy","Deployed","Depth","DepthFirstScan","Derivative","DerivativeFilter","DerivativePDETerm","DerivedKey","DescriptorStateSpace","DesignMatrix","DestroyAfterEvaluation","Det","DeviceClose","DeviceConfigure","DeviceExecute","DeviceExecuteAsynchronous","DeviceObject","DeviceOpen","DeviceOpenQ","DeviceRead","DeviceReadBuffer","DeviceReadLatest","DeviceReadList","DeviceReadTimeSeries","Devices","DeviceStreams","DeviceWrite","DeviceWriteBuffer","DGaussianWavelet","DiacriticalPositioning","Diagonal","DiagonalizableMatrixQ","DiagonalMatrix","DiagonalMatrixQ","Dialog","DialogIndent","DialogInput","DialogLevel","DialogNotebook","DialogProlog","DialogReturn","DialogSymbols","Diamond","DiamondMatrix","DiceDissimilarity","DictionaryLookup","DictionaryWordQ","DifferenceDelta","DifferenceOrder","DifferenceQuotient","DifferenceRoot","DifferenceRootReduce","Differences","DifferentialD","DifferentialRoot","DifferentialRootReduce","DifferentiatorFilter","DiffusionPDETerm","DiggleGatesPointProcess","DiggleGrattonPointProcess","DigitalSignature","DigitBlock","DigitBlockMinimum","DigitCharacter","DigitCount","DigitQ","DihedralAngle","DihedralGroup","Dilation","DimensionalCombinations","DimensionalMeshComponents","DimensionReduce","DimensionReducerFunction","DimensionReduction","Dimensions","DiracComb","DiracDelta","DirectedEdge","DirectedEdges","DirectedGraph","DirectedGraphQ","DirectedInfinity","Direction","DirectionalLight","Directive","Directory","DirectoryName","DirectoryQ","DirectoryStack","DirichletBeta","DirichletCharacter","DirichletCondition","DirichletConvolve","DirichletDistribution","DirichletEta","DirichletL","DirichletLambda","DirichletTransform","DirichletWindow","DisableConsolePrintPacket","DisableFormatting","DiscreteAsymptotic","DiscreteChirpZTransform","DiscreteConvolve","DiscreteDelta","DiscreteHadamardTransform","DiscreteIndicator","DiscreteInputOutputModel","DiscreteLimit","DiscreteLQEstimatorGains","DiscreteLQRegulatorGains","DiscreteLyapunovSolve","DiscreteMarkovProcess","DiscreteMaxLimit","DiscreteMinLimit","DiscretePlot","DiscretePlot3D","DiscreteRatio","DiscreteRiccatiSolve","DiscreteShift","DiscreteTimeModelQ","DiscreteUniformDistribution","DiscreteVariables","DiscreteWaveletData","DiscreteWaveletPacketTransform","DiscreteWaveletTransform","DiscretizeGraphics","DiscretizeRegion","Discriminant","DisjointQ","Disjunction","Disk","DiskBox","DiskBoxOptions","DiskMatrix","DiskSegment","Dispatch","DispatchQ","DispersionEstimatorFunction","Display","DisplayAllSteps","DisplayEndPacket","DisplayForm","DisplayFunction","DisplayPacket","DisplayRules","DisplayString","DisplayTemporary","DisplayWith","DisplayWithRef","DisplayWithVariable","DistanceFunction","DistanceMatrix","DistanceTransform","Distribute","Distributed","DistributedContexts","DistributeDefinitions","DistributionChart","DistributionDomain","DistributionFitTest","DistributionParameterAssumptions","DistributionParameterQ","Dithering","Div","Divergence","Divide","DivideBy","Dividers","DivideSides","Divisible","Divisors","DivisorSigma","DivisorSum","DMSList","DMSString","Do","DockedCell","DockedCells","DocumentGenerator","DocumentGeneratorInformation","DocumentGeneratorInformationData","DocumentGenerators","DocumentNotebook","DocumentWeightingRules","Dodecahedron","DomainRegistrationInformation","DominantColors","DominatorTreeGraph","DominatorVertexList","DOSTextFormat","Dot","DotDashed","DotEqual","DotLayer","DotPlusLayer","Dotted","DoubleBracketingBar","DoubleContourIntegral","DoubleDownArrow","DoubleLeftArrow","DoubleLeftRightArrow","DoubleLeftTee","DoubleLongLeftArrow","DoubleLongLeftRightArrow","DoubleLongRightArrow","DoubleRightArrow","DoubleRightTee","DoubleUpArrow","DoubleUpDownArrow","DoubleVerticalBar","DoublyInfinite","Down","DownArrow","DownArrowBar","DownArrowUpArrow","DownLeftRightVector","DownLeftTeeVector","DownLeftVector","DownLeftVectorBar","DownRightTeeVector","DownRightVector","DownRightVectorBar","Downsample","DownTee","DownTeeArrow","DownValues","DownValuesFunction","DragAndDrop","DrawBackFaces","DrawEdges","DrawFrontFaces","DrawHighlighted","DrazinInverse","Drop","DropoutLayer","DropShadowing","DSolve","DSolveChangeVariables","DSolveValue","Dt","DualLinearProgramming","DualPlanarGraph","DualPolyhedron","DualSystemsModel","DumpGet","DumpSave","DuplicateFreeQ","Duration","Dynamic","DynamicBox","DynamicBoxOptions","DynamicEvaluationTimeout","DynamicGeoGraphics","DynamicImage","DynamicLocation","DynamicModule","DynamicModuleBox","DynamicModuleBoxOptions","DynamicModuleParent","DynamicModuleValues","DynamicName","DynamicNamespace","DynamicReference","DynamicSetting","DynamicUpdating","DynamicWrapper","DynamicWrapperBox","DynamicWrapperBoxOptions","E","EarthImpactData","EarthquakeData","EccentricityCentrality","Echo","EchoEvaluation","EchoFunction","EchoLabel","EchoTiming","EclipseType","EdgeAdd","EdgeBetweennessCentrality","EdgeCapacity","EdgeCapForm","EdgeChromaticNumber","EdgeColor","EdgeConnectivity","EdgeContract","EdgeCost","EdgeCount","EdgeCoverQ","EdgeCycleMatrix","EdgeDashing","EdgeDelete","EdgeDetect","EdgeForm","EdgeIndex","EdgeJoinForm","EdgeLabeling","EdgeLabels","EdgeLabelStyle","EdgeList","EdgeOpacity","EdgeQ","EdgeRenderingFunction","EdgeRules","EdgeShapeFunction","EdgeStyle","EdgeTaggedGraph","EdgeTaggedGraphQ","EdgeTags","EdgeThickness","EdgeTransitiveGraphQ","EdgeValueRange","EdgeValueSizes","EdgeWeight","EdgeWeightedGraphQ","Editable","EditButtonSettings","EditCellTagsSettings","EditDistance","EffectiveInterest","Eigensystem","Eigenvalues","EigenvectorCentrality","Eigenvectors","Element","ElementData","ElementwiseLayer","ElidedForms","Eliminate","EliminationOrder","Ellipsoid","EllipticE","EllipticExp","EllipticExpPrime","EllipticF","EllipticFilterModel","EllipticK","EllipticLog","EllipticNomeQ","EllipticPi","EllipticReducedHalfPeriods","EllipticTheta","EllipticThetaPrime","EmbedCode","EmbeddedHTML","EmbeddedService","EmbeddedSQLEntityClass","EmbeddedSQLExpression","EmbeddingLayer","EmbeddingObject","EmitSound","EmphasizeSyntaxErrors","EmpiricalDistribution","Empty","EmptyGraphQ","EmptyRegion","EmptySpaceF","EnableConsolePrintPacket","Enabled","Enclose","Encode","Encrypt","EncryptedObject","EncryptFile","End","EndAdd","EndDialogPacket","EndOfBuffer","EndOfFile","EndOfLine","EndOfString","EndPackage","EngineEnvironment","EngineeringForm","Enter","EnterExpressionPacket","EnterTextPacket","Entity","EntityClass","EntityClassList","EntityCopies","EntityFunction","EntityGroup","EntityInstance","EntityList","EntityPrefetch","EntityProperties","EntityProperty","EntityPropertyClass","EntityRegister","EntityStore","EntityStores","EntityTypeName","EntityUnregister","EntityValue","Entropy","EntropyFilter","Environment","Epilog","EpilogFunction","Equal","EqualColumns","EqualRows","EqualTilde","EqualTo","EquatedTo","Equilibrium","EquirippleFilterKernel","Equivalent","Erf","Erfc","Erfi","ErlangB","ErlangC","ErlangDistribution","Erosion","ErrorBox","ErrorBoxOptions","ErrorNorm","ErrorPacket","ErrorsDialogSettings","EscapeRadius","EstimatedBackground","EstimatedDistribution","EstimatedPointNormals","EstimatedPointProcess","EstimatedProcess","EstimatedVariogramModel","EstimatorGains","EstimatorRegulator","EuclideanDistance","EulerAngles","EulerCharacteristic","EulerE","EulerGamma","EulerianGraphQ","EulerMatrix","EulerPhi","Evaluatable","Evaluate","Evaluated","EvaluatePacket","EvaluateScheduledTask","EvaluationBox","EvaluationCell","EvaluationCompletionAction","EvaluationData","EvaluationElements","EvaluationEnvironment","EvaluationMode","EvaluationMonitor","EvaluationNotebook","EvaluationObject","EvaluationOrder","EvaluationPrivileges","EvaluationRateLimit","Evaluator","EvaluatorNames","EvenQ","EventData","EventEvaluator","EventHandler","EventHandlerTag","EventLabels","EventSeries","ExactBlackmanWindow","ExactNumberQ","ExactRootIsolation","ExampleData","Except","ExcludedContexts","ExcludedForms","ExcludedLines","ExcludedPhysicalQuantities","ExcludePods","Exclusions","ExclusionsStyle","Exists","Exit","ExitDialog","ExoplanetData","Exp","Expand","ExpandAll","ExpandDenominator","ExpandFileName","ExpandNumerator","Expectation","ExpectationE","ExpectedValue","ExpGammaDistribution","ExpIntegralE","ExpIntegralEi","ExpirationDate","Exponent","ExponentFunction","ExponentialDistribution","ExponentialFamily","ExponentialGeneratingFunction","ExponentialMovingAverage","ExponentialPowerDistribution","ExponentPosition","ExponentStep","Export","ExportAutoReplacements","ExportByteArray","ExportForm","ExportPacket","ExportString","Expression","ExpressionCell","ExpressionGraph","ExpressionPacket","ExpressionTree","ExpressionUUID","ExpToTrig","ExtendedEntityClass","ExtendedGCD","Extension","ExtentElementFunction","ExtentMarkers","ExtentSize","ExternalBundle","ExternalCall","ExternalDataCharacterEncoding","ExternalEvaluate","ExternalFunction","ExternalFunctionName","ExternalIdentifier","ExternalObject","ExternalOptions","ExternalSessionObject","ExternalSessions","ExternalStorageBase","ExternalStorageDownload","ExternalStorageGet","ExternalStorageObject","ExternalStoragePut","ExternalStorageUpload","ExternalTypeSignature","ExternalValue","Extract","ExtractArchive","ExtractLayer","ExtractPacletArchive","ExtremeValueDistribution","FaceAlign","FaceForm","FaceGrids","FaceGridsStyle","FaceRecognize","FacialFeatures","Factor","FactorComplete","Factorial","Factorial2","FactorialMoment","FactorialMomentGeneratingFunction","FactorialPower","FactorInteger","FactorList","FactorSquareFree","FactorSquareFreeList","FactorTerms","FactorTermsList","Fail","Failure","FailureAction","FailureDistribution","FailureQ","False","FareySequence","FARIMAProcess","FeatureDistance","FeatureExtract","FeatureExtraction","FeatureExtractor","FeatureExtractorFunction","FeatureImpactPlot","FeatureNames","FeatureNearest","FeatureSpacePlot","FeatureSpacePlot3D","FeatureTypes","FeatureValueDependencyPlot","FeatureValueImpactPlot","FEDisableConsolePrintPacket","FeedbackLinearize","FeedbackSector","FeedbackSectorStyle","FeedbackType","FEEnableConsolePrintPacket","FetalGrowthData","Fibonacci","Fibonorial","FieldCompletionFunction","FieldHint","FieldHintStyle","FieldMasked","FieldSize","File","FileBaseName","FileByteCount","FileConvert","FileDate","FileExistsQ","FileExtension","FileFormat","FileFormatProperties","FileFormatQ","FileHandler","FileHash","FileInformation","FileName","FileNameDepth","FileNameDialogSettings","FileNameDrop","FileNameForms","FileNameJoin","FileNames","FileNameSetter","FileNameSplit","FileNameTake","FileNameToFormatList","FilePrint","FileSize","FileSystemMap","FileSystemScan","FileSystemTree","FileTemplate","FileTemplateApply","FileType","FilledCurve","FilledCurveBox","FilledCurveBoxOptions","FilledTorus","FillForm","Filling","FillingStyle","FillingTransform","FilteredEntityClass","FilterRules","FinancialBond","FinancialData","FinancialDerivative","FinancialIndicator","Find","FindAnomalies","FindArgMax","FindArgMin","FindChannels","FindClique","FindClusters","FindCookies","FindCurvePath","FindCycle","FindDevices","FindDistribution","FindDistributionParameters","FindDivisions","FindEdgeColoring","FindEdgeCover","FindEdgeCut","FindEdgeIndependentPaths","FindEquationalProof","FindEulerianCycle","FindExternalEvaluators","FindFaces","FindFile","FindFit","FindFormula","FindFundamentalCycles","FindGeneratingFunction","FindGeoLocation","FindGeometricConjectures","FindGeometricTransform","FindGraphCommunities","FindGraphIsomorphism","FindGraphPartition","FindHamiltonianCycle","FindHamiltonianPath","FindHiddenMarkovStates","FindImageText","FindIndependentEdgeSet","FindIndependentVertexSet","FindInstance","FindIntegerNullVector","FindIsomers","FindIsomorphicSubgraph","FindKClan","FindKClique","FindKClub","FindKPlex","FindLibrary","FindLinearRecurrence","FindList","FindMatchingColor","FindMaximum","FindMaximumCut","FindMaximumFlow","FindMaxValue","FindMeshDefects","FindMinimum","FindMinimumCostFlow","FindMinimumCut","FindMinValue","FindMoleculeSubstructure","FindPath","FindPeaks","FindPermutation","FindPlanarColoring","FindPointProcessParameters","FindPostmanTour","FindProcessParameters","FindRegionTransform","FindRepeat","FindRoot","FindSequenceFunction","FindSettings","FindShortestPath","FindShortestTour","FindSpanningTree","FindSubgraphIsomorphism","FindSystemModelEquilibrium","FindTextualAnswer","FindThreshold","FindTransientRepeat","FindVertexColoring","FindVertexCover","FindVertexCut","FindVertexIndependentPaths","Fine","FinishDynamic","FiniteAbelianGroupCount","FiniteGroupCount","FiniteGroupData","First","FirstCase","FirstPassageTimeDistribution","FirstPosition","FischerGroupFi22","FischerGroupFi23","FischerGroupFi24Prime","FisherHypergeometricDistribution","FisherRatioTest","FisherZDistribution","Fit","FitAll","FitRegularization","FittedModel","FixedOrder","FixedPoint","FixedPointList","FlashSelection","Flat","FlatShading","Flatten","FlattenAt","FlattenLayer","FlatTopWindow","FlightData","FlipView","Floor","FlowPolynomial","Fold","FoldList","FoldPair","FoldPairList","FoldWhile","FoldWhileList","FollowRedirects","Font","FontColor","FontFamily","FontForm","FontName","FontOpacity","FontPostScriptName","FontProperties","FontReencoding","FontSize","FontSlant","FontSubstitutions","FontTracking","FontVariations","FontWeight","For","ForAll","ForAllType","ForceVersionInstall","Format","FormatRules","FormatType","FormatTypeAutoConvert","FormatValues","FormBox","FormBoxOptions","FormControl","FormFunction","FormLayoutFunction","FormObject","FormPage","FormProtectionMethod","FormTheme","FormulaData","FormulaLookup","FortranForm","Forward","ForwardBackward","ForwardCloudCredentials","Fourier","FourierCoefficient","FourierCosCoefficient","FourierCosSeries","FourierCosTransform","FourierDCT","FourierDCTFilter","FourierDCTMatrix","FourierDST","FourierDSTMatrix","FourierMatrix","FourierParameters","FourierSequenceTransform","FourierSeries","FourierSinCoefficient","FourierSinSeries","FourierSinTransform","FourierTransform","FourierTrigSeries","FoxH","FoxHReduce","FractionalBrownianMotionProcess","FractionalD","FractionalGaussianNoiseProcess","FractionalPart","FractionBox","FractionBoxOptions","FractionLine","Frame","FrameBox","FrameBoxOptions","Framed","FrameInset","FrameLabel","Frameless","FrameListVideo","FrameMargins","FrameRate","FrameStyle","FrameTicks","FrameTicksStyle","FRatioDistribution","FrechetDistribution","FreeQ","FrenetSerretSystem","FrequencySamplingFilterKernel","FresnelC","FresnelF","FresnelG","FresnelS","Friday","FrobeniusNumber","FrobeniusSolve","FromAbsoluteTime","FromCharacterCode","FromCoefficientRules","FromContinuedFraction","FromDate","FromDateString","FromDigits","FromDMS","FromEntity","FromJulianDate","FromLetterNumber","FromPolarCoordinates","FromRawPointer","FromRomanNumeral","FromSphericalCoordinates","FromUnixTime","Front","FrontEndDynamicExpression","FrontEndEventActions","FrontEndExecute","FrontEndObject","FrontEndResource","FrontEndResourceString","FrontEndStackSize","FrontEndToken","FrontEndTokenExecute","FrontEndValueCache","FrontEndVersion","FrontFaceColor","FrontFaceGlowColor","FrontFaceOpacity","FrontFaceSpecularColor","FrontFaceSpecularExponent","FrontFaceSurfaceAppearance","FrontFaceTexture","Full","FullAxes","FullDefinition","FullForm","FullGraphics","FullInformationOutputRegulator","FullOptions","FullRegion","FullSimplify","Function","FunctionAnalytic","FunctionBijective","FunctionCompile","FunctionCompileExport","FunctionCompileExportByteArray","FunctionCompileExportLibrary","FunctionCompileExportString","FunctionContinuous","FunctionConvexity","FunctionDeclaration","FunctionDiscontinuities","FunctionDomain","FunctionExpand","FunctionInjective","FunctionInterpolation","FunctionLayer","FunctionMeromorphic","FunctionMonotonicity","FunctionPeriod","FunctionPoles","FunctionRange","FunctionSign","FunctionSingularities","FunctionSpace","FunctionSurjective","FussellVeselyImportance","GaborFilter","GaborMatrix","GaborWavelet","GainMargins","GainPhaseMargins","GalaxyData","GalleryView","Gamma","GammaDistribution","GammaRegularized","GapPenalty","GARCHProcess","GatedRecurrentLayer","Gather","GatherBy","GaugeFaceElementFunction","GaugeFaceStyle","GaugeFrameElementFunction","GaugeFrameSize","GaugeFrameStyle","GaugeLabels","GaugeMarkers","GaugeStyle","GaussianFilter","GaussianIntegers","GaussianMatrix","GaussianOrthogonalMatrixDistribution","GaussianSymplecticMatrixDistribution","GaussianUnitaryMatrixDistribution","GaussianWindow","GCD","GegenbauerC","General","GeneralizedLinearModelFit","GenerateAsymmetricKeyPair","GenerateConditions","GeneratedAssetFormat","GeneratedAssetLocation","GeneratedCell","GeneratedCellStyles","GeneratedDocumentBinding","GenerateDerivedKey","GenerateDigitalSignature","GenerateDocument","GeneratedParameters","GeneratedQuantityMagnitudes","GenerateFileSignature","GenerateHTTPResponse","GenerateSecuredAuthenticationKey","GenerateSymmetricKey","GeneratingFunction","GeneratorDescription","GeneratorHistoryLength","GeneratorOutputType","Generic","GenericCylindricalDecomposition","GenomeData","GenomeLookup","GeoAntipode","GeoArea","GeoArraySize","GeoBackground","GeoBoundary","GeoBoundingBox","GeoBounds","GeoBoundsRegion","GeoBoundsRegionBoundary","GeoBubbleChart","GeoCenter","GeoCircle","GeoContourPlot","GeoDensityPlot","GeodesicClosing","GeodesicDilation","GeodesicErosion","GeodesicOpening","GeodesicPolyhedron","GeoDestination","GeodesyData","GeoDirection","GeoDisk","GeoDisplacement","GeoDistance","GeoDistanceList","GeoElevationData","GeoEntities","GeoGraphics","GeoGraphPlot","GeoGraphValuePlot","GeogravityModelData","GeoGridDirectionDifference","GeoGridLines","GeoGridLinesStyle","GeoGridPosition","GeoGridRange","GeoGridRangePadding","GeoGridUnitArea","GeoGridUnitDistance","GeoGridVector","GeoGroup","GeoHemisphere","GeoHemisphereBoundary","GeoHistogram","GeoIdentify","GeoImage","GeoLabels","GeoLength","GeoListPlot","GeoLocation","GeologicalPeriodData","GeomagneticModelData","GeoMarker","GeometricAssertion","GeometricBrownianMotionProcess","GeometricDistribution","GeometricMean","GeometricMeanFilter","GeometricOptimization","GeometricScene","GeometricStep","GeometricStylingRules","GeometricTest","GeometricTransformation","GeometricTransformation3DBox","GeometricTransformation3DBoxOptions","GeometricTransformationBox","GeometricTransformationBoxOptions","GeoModel","GeoNearest","GeoOrientationData","GeoPath","GeoPolygon","GeoPosition","GeoPositionENU","GeoPositionXYZ","GeoProjection","GeoProjectionData","GeoRange","GeoRangePadding","GeoRegionValuePlot","GeoResolution","GeoScaleBar","GeoServer","GeoSmoothHistogram","GeoStreamPlot","GeoStyling","GeoStylingImageFunction","GeoVariant","GeoVector","GeoVectorENU","GeoVectorPlot","GeoVectorXYZ","GeoVisibleRegion","GeoVisibleRegionBoundary","GeoWithinQ","GeoZoomLevel","GestureHandler","GestureHandlerTag","Get","GetContext","GetEnvironment","GetFileName","GetLinebreakInformationPacket","GibbsPointProcess","Glaisher","GlobalClusteringCoefficient","GlobalPreferences","GlobalSession","Glow","GoldenAngle","GoldenRatio","GompertzMakehamDistribution","GoochShading","GoodmanKruskalGamma","GoodmanKruskalGammaTest","Goto","GouraudShading","Grad","Gradient","GradientFilter","GradientFittedMesh","GradientOrientationFilter","GrammarApply","GrammarRules","GrammarToken","Graph","Graph3D","GraphAssortativity","GraphAutomorphismGroup","GraphCenter","GraphComplement","GraphData","GraphDensity","GraphDiameter","GraphDifference","GraphDisjointUnion","GraphDistance","GraphDistanceMatrix","GraphEmbedding","GraphHighlight","GraphHighlightStyle","GraphHub","Graphics","Graphics3D","Graphics3DBox","Graphics3DBoxOptions","GraphicsArray","GraphicsBaseline","GraphicsBox","GraphicsBoxOptions","GraphicsColor","GraphicsColumn","GraphicsComplex","GraphicsComplex3DBox","GraphicsComplex3DBoxOptions","GraphicsComplexBox","GraphicsComplexBoxOptions","GraphicsContents","GraphicsData","GraphicsGrid","GraphicsGridBox","GraphicsGroup","GraphicsGroup3DBox","GraphicsGroup3DBoxOptions","GraphicsGroupBox","GraphicsGroupBoxOptions","GraphicsGrouping","GraphicsHighlightColor","GraphicsRow","GraphicsSpacing","GraphicsStyle","GraphIntersection","GraphJoin","GraphLayerLabels","GraphLayers","GraphLayerStyle","GraphLayout","GraphLinkEfficiency","GraphPeriphery","GraphPlot","GraphPlot3D","GraphPower","GraphProduct","GraphPropertyDistribution","GraphQ","GraphRadius","GraphReciprocity","GraphRoot","GraphStyle","GraphSum","GraphTree","GraphUnion","Gray","GrayLevel","Greater","GreaterEqual","GreaterEqualLess","GreaterEqualThan","GreaterFullEqual","GreaterGreater","GreaterLess","GreaterSlantEqual","GreaterThan","GreaterTilde","GreekStyle","Green","GreenFunction","Grid","GridBaseline","GridBox","GridBoxAlignment","GridBoxBackground","GridBoxDividers","GridBoxFrame","GridBoxItemSize","GridBoxItemStyle","GridBoxOptions","GridBoxSpacings","GridCreationSettings","GridDefaultElement","GridElementStyleOptions","GridFrame","GridFrameMargins","GridGraph","GridLines","GridLinesStyle","GridVideo","GroebnerBasis","GroupActionBase","GroupBy","GroupCentralizer","GroupElementFromWord","GroupElementPosition","GroupElementQ","GroupElements","GroupElementToWord","GroupGenerators","Groupings","GroupMultiplicationTable","GroupOpenerColor","GroupOpenerInsideFrame","GroupOrbits","GroupOrder","GroupPageBreakWithin","GroupSetwiseStabilizer","GroupStabilizer","GroupStabilizerChain","GroupTogetherGrouping","GroupTogetherNestedGrouping","GrowCutComponents","Gudermannian","GuidedFilter","GumbelDistribution","HaarWavelet","HadamardMatrix","HalfLine","HalfNormalDistribution","HalfPlane","HalfSpace","HalftoneShading","HamiltonianGraphQ","HammingDistance","HammingWindow","HandlerFunctions","HandlerFunctionsKeys","HankelH1","HankelH2","HankelMatrix","HankelTransform","HannPoissonWindow","HannWindow","HaradaNortonGroupHN","HararyGraph","HardcorePointProcess","HarmonicMean","HarmonicMeanFilter","HarmonicNumber","Hash","HatchFilling","HatchShading","Haversine","HazardFunction","Head","HeadCompose","HeaderAlignment","HeaderBackground","HeaderDisplayFunction","HeaderLines","Headers","HeaderSize","HeaderStyle","Heads","HeatFluxValue","HeatInsulationValue","HeatOutflowValue","HeatRadiationValue","HeatSymmetryValue","HeatTemperatureCondition","HeatTransferPDEComponent","HeatTransferValue","HeavisideLambda","HeavisidePi","HeavisideTheta","HeldGroupHe","HeldPart","HelmholtzPDEComponent","HelpBrowserLookup","HelpBrowserNotebook","HelpBrowserSettings","HelpViewerSettings","Here","HermiteDecomposition","HermiteH","Hermitian","HermitianMatrixQ","HessenbergDecomposition","Hessian","HeunB","HeunBPrime","HeunC","HeunCPrime","HeunD","HeunDPrime","HeunG","HeunGPrime","HeunT","HeunTPrime","HexadecimalCharacter","Hexahedron","HexahedronBox","HexahedronBoxOptions","HiddenItems","HiddenMarkovProcess","HiddenSurface","Highlighted","HighlightGraph","HighlightImage","HighlightMesh","HighlightString","HighpassFilter","HigmanSimsGroupHS","HilbertCurve","HilbertFilter","HilbertMatrix","Histogram","Histogram3D","HistogramDistribution","HistogramList","HistogramPointDensity","HistogramTransform","HistogramTransformInterpolation","HistoricalPeriodData","HitMissTransform","HITSCentrality","HjorthDistribution","HodgeDual","HoeffdingD","HoeffdingDTest","Hold","HoldAll","HoldAllComplete","HoldComplete","HoldFirst","HoldForm","HoldPattern","HoldRest","HolidayCalendar","HomeDirectory","HomePage","Horizontal","HorizontalForm","HorizontalGauge","HorizontalScrollPosition","HornerForm","HostLookup","HotellingTSquareDistribution","HoytDistribution","HTMLSave","HTTPErrorResponse","HTTPRedirect","HTTPRequest","HTTPRequestData","HTTPResponse","Hue","HumanGrowthData","HumpDownHump","HumpEqual","HurwitzLerchPhi","HurwitzZeta","HyperbolicDistribution","HypercubeGraph","HyperexponentialDistribution","Hyperfactorial","Hypergeometric0F1","Hypergeometric0F1Regularized","Hypergeometric1F1","Hypergeometric1F1Regularized","Hypergeometric2F1","Hypergeometric2F1Regularized","HypergeometricDistribution","HypergeometricPFQ","HypergeometricPFQRegularized","HypergeometricU","Hyperlink","HyperlinkAction","HyperlinkCreationSettings","Hyperplane","Hyphenation","HyphenationOptions","HypoexponentialDistribution","HypothesisTestData","I","IconData","Iconize","IconizedObject","IconRules","Icosahedron","Identity","IdentityMatrix","If","IfCompiled","IgnoreCase","IgnoreDiacritics","IgnoreIsotopes","IgnorePunctuation","IgnoreSpellCheck","IgnoreStereochemistry","IgnoringInactive","Im","Image","Image3D","Image3DProjection","Image3DSlices","ImageAccumulate","ImageAdd","ImageAdjust","ImageAlign","ImageApply","ImageApplyIndexed","ImageAspectRatio","ImageAssemble","ImageAugmentationLayer","ImageBoundingBoxes","ImageCache","ImageCacheValid","ImageCapture","ImageCaptureFunction","ImageCases","ImageChannels","ImageClip","ImageCollage","ImageColorSpace","ImageCompose","ImageContainsQ","ImageContents","ImageConvolve","ImageCooccurrence","ImageCorners","ImageCorrelate","ImageCorrespondingPoints","ImageCrop","ImageData","ImageDeconvolve","ImageDemosaic","ImageDifference","ImageDimensions","ImageDisplacements","ImageDistance","ImageEditMode","ImageEffect","ImageExposureCombine","ImageFeatureTrack","ImageFileApply","ImageFileFilter","ImageFileScan","ImageFilter","ImageFocusCombine","ImageForestingComponents","ImageFormattingWidth","ImageForwardTransformation","ImageGraphics","ImageHistogram","ImageIdentify","ImageInstanceQ","ImageKeypoints","ImageLabels","ImageLegends","ImageLevels","ImageLines","ImageMargins","ImageMarker","ImageMarkers","ImageMeasurements","ImageMesh","ImageMultiply","ImageOffset","ImagePad","ImagePadding","ImagePartition","ImagePeriodogram","ImagePerspectiveTransformation","ImagePosition","ImagePreviewFunction","ImagePyramid","ImagePyramidApply","ImageQ","ImageRangeCache","ImageRecolor","ImageReflect","ImageRegion","ImageResize","ImageResolution","ImageRestyle","ImageRotate","ImageRotated","ImageSaliencyFilter","ImageScaled","ImageScan","ImageSize","ImageSizeAction","ImageSizeCache","ImageSizeMultipliers","ImageSizeRaw","ImageStitch","ImageSubtract","ImageTake","ImageTransformation","ImageTrim","ImageType","ImageValue","ImageValuePositions","ImageVectorscopePlot","ImageWaveformPlot","ImagingDevice","ImplicitD","ImplicitRegion","Implies","Import","ImportAutoReplacements","ImportByteArray","ImportedObject","ImportOptions","ImportString","ImprovementImportance","In","Inactivate","Inactive","InactiveStyle","IncidenceGraph","IncidenceList","IncidenceMatrix","IncludeAromaticBonds","IncludeConstantBasis","IncludedContexts","IncludeDefinitions","IncludeDirectories","IncludeFileExtension","IncludeGeneratorTasks","IncludeHydrogens","IncludeInflections","IncludeMetaInformation","IncludePods","IncludeQuantities","IncludeRelatedTables","IncludeSingularSolutions","IncludeSingularTerm","IncludeWindowTimes","Increment","IndefiniteMatrixQ","Indent","IndentingNewlineSpacings","IndentMaxFraction","IndependenceTest","IndependentEdgeSetQ","IndependentPhysicalQuantity","IndependentUnit","IndependentUnitDimension","IndependentVertexSetQ","Indeterminate","IndeterminateThreshold","IndexCreationOptions","Indexed","IndexEdgeTaggedGraph","IndexGraph","IndexTag","Inequality","InertEvaluate","InertExpression","InexactNumberQ","InexactNumbers","InfiniteFuture","InfiniteLine","InfiniteLineThrough","InfinitePast","InfinitePlane","Infinity","Infix","InflationAdjust","InflationMethod","Information","InformationData","InformationDataGrid","Inherited","InheritScope","InhomogeneousPoissonPointProcess","InhomogeneousPoissonProcess","InitialEvaluationHistory","Initialization","InitializationCell","InitializationCellEvaluation","InitializationCellWarning","InitializationObject","InitializationObjects","InitializationValue","Initialize","InitialSeeding","InlineCounterAssignments","InlineCounterIncrements","InlineRules","Inner","InnerPolygon","InnerPolyhedron","Inpaint","Input","InputAliases","InputAssumptions","InputAutoReplacements","InputField","InputFieldBox","InputFieldBoxOptions","InputForm","InputGrouping","InputNamePacket","InputNotebook","InputPacket","InputPorts","InputSettings","InputStream","InputString","InputStringPacket","InputToBoxFormPacket","Insert","InsertionFunction","InsertionPointObject","InsertLinebreaks","InsertResults","Inset","Inset3DBox","Inset3DBoxOptions","InsetBox","InsetBoxOptions","Insphere","Install","InstallService","InstanceNormalizationLayer","InString","Integer","IntegerDigits","IntegerExponent","IntegerLength","IntegerName","IntegerPart","IntegerPartitions","IntegerQ","IntegerReverse","Integers","IntegerString","Integral","Integrate","IntegrateChangeVariables","Interactive","InteractiveTradingChart","InterfaceSwitched","Interlaced","Interleaving","InternallyBalancedDecomposition","InterpolatingFunction","InterpolatingPolynomial","Interpolation","InterpolationOrder","InterpolationPoints","InterpolationPrecision","Interpretation","InterpretationBox","InterpretationBoxOptions","InterpretationFunction","Interpreter","InterpretTemplate","InterquartileRange","Interrupt","InterruptSettings","IntersectedEntityClass","IntersectingQ","Intersection","Interval","IntervalIntersection","IntervalMarkers","IntervalMarkersStyle","IntervalMemberQ","IntervalSlider","IntervalUnion","Into","Inverse","InverseBetaRegularized","InverseBilateralLaplaceTransform","InverseBilateralZTransform","InverseCDF","InverseChiSquareDistribution","InverseContinuousWaveletTransform","InverseDistanceTransform","InverseEllipticNomeQ","InverseErf","InverseErfc","InverseFourier","InverseFourierCosTransform","InverseFourierSequenceTransform","InverseFourierSinTransform","InverseFourierTransform","InverseFunction","InverseFunctions","InverseGammaDistribution","InverseGammaRegularized","InverseGaussianDistribution","InverseGudermannian","InverseHankelTransform","InverseHaversine","InverseImagePyramid","InverseJacobiCD","InverseJacobiCN","InverseJacobiCS","InverseJacobiDC","InverseJacobiDN","InverseJacobiDS","InverseJacobiNC","InverseJacobiND","InverseJacobiNS","InverseJacobiSC","InverseJacobiSD","InverseJacobiSN","InverseLaplaceTransform","InverseMellinTransform","InversePermutation","InverseRadon","InverseRadonTransform","InverseSeries","InverseShortTimeFourier","InverseSpectrogram","InverseSurvivalFunction","InverseTransformedRegion","InverseWaveletTransform","InverseWeierstrassP","InverseWishartMatrixDistribution","InverseZTransform","Invisible","InvisibleApplication","InvisibleTimes","IPAddress","IrreduciblePolynomialQ","IslandData","IsolatingInterval","IsomorphicGraphQ","IsomorphicSubgraphQ","IsotopeData","Italic","Item","ItemAspectRatio","ItemBox","ItemBoxOptions","ItemDisplayFunction","ItemSize","ItemStyle","ItoProcess","JaccardDissimilarity","JacobiAmplitude","Jacobian","JacobiCD","JacobiCN","JacobiCS","JacobiDC","JacobiDN","JacobiDS","JacobiEpsilon","JacobiNC","JacobiND","JacobiNS","JacobiP","JacobiSC","JacobiSD","JacobiSN","JacobiSymbol","JacobiZeta","JacobiZN","JankoGroupJ1","JankoGroupJ2","JankoGroupJ3","JankoGroupJ4","JarqueBeraALMTest","JohnsonDistribution","Join","JoinAcross","Joined","JoinedCurve","JoinedCurveBox","JoinedCurveBoxOptions","JoinForm","JordanDecomposition","JordanModelDecomposition","JulianDate","JuliaSetBoettcher","JuliaSetIterationCount","JuliaSetPlot","JuliaSetPoints","K","KagiChart","KaiserBesselWindow","KaiserWindow","KalmanEstimator","KalmanFilter","KarhunenLoeveDecomposition","KaryTree","KatzCentrality","KCoreComponents","KDistribution","KEdgeConnectedComponents","KEdgeConnectedGraphQ","KeepExistingVersion","KelvinBei","KelvinBer","KelvinKei","KelvinKer","KendallTau","KendallTauTest","KernelConfiguration","KernelExecute","KernelFunction","KernelMixtureDistribution","KernelObject","Kernels","Ket","Key","KeyCollisionFunction","KeyComplement","KeyDrop","KeyDropFrom","KeyExistsQ","KeyFreeQ","KeyIntersection","KeyMap","KeyMemberQ","KeypointStrength","Keys","KeySelect","KeySort","KeySortBy","KeyTake","KeyUnion","KeyValueMap","KeyValuePattern","Khinchin","KillProcess","KirchhoffGraph","KirchhoffMatrix","KleinInvariantJ","KnapsackSolve","KnightTourGraph","KnotData","KnownUnitQ","KochCurve","KolmogorovSmirnovTest","KroneckerDelta","KroneckerModelDecomposition","KroneckerProduct","KroneckerSymbol","KuiperTest","KumaraswamyDistribution","Kurtosis","KuwaharaFilter","KVertexConnectedComponents","KVertexConnectedGraphQ","LABColor","Label","Labeled","LabeledSlider","LabelingFunction","LabelingSize","LabelStyle","LabelVisibility","LaguerreL","LakeData","LambdaComponents","LambertW","LameC","LameCPrime","LameEigenvalueA","LameEigenvalueB","LameS","LameSPrime","LaminaData","LanczosWindow","LandauDistribution","Language","LanguageCategory","LanguageData","LanguageIdentify","LanguageOptions","LaplaceDistribution","LaplaceTransform","Laplacian","LaplacianFilter","LaplacianGaussianFilter","LaplacianPDETerm","Large","Larger","Last","Latitude","LatitudeLongitude","LatticeData","LatticeReduce","Launch","LaunchKernels","LayeredGraphPlot","LayeredGraphPlot3D","LayerSizeFunction","LayoutInformation","LCHColor","LCM","LeaderSize","LeafCount","LeapVariant","LeapYearQ","LearnDistribution","LearnedDistribution","LearningRate","LearningRateMultipliers","LeastSquares","LeastSquaresFilterKernel","Left","LeftArrow","LeftArrowBar","LeftArrowRightArrow","LeftDownTeeVector","LeftDownVector","LeftDownVectorBar","LeftRightArrow","LeftRightVector","LeftTee","LeftTeeArrow","LeftTeeVector","LeftTriangle","LeftTriangleBar","LeftTriangleEqual","LeftUpDownVector","LeftUpTeeVector","LeftUpVector","LeftUpVectorBar","LeftVector","LeftVectorBar","LegendAppearance","Legended","LegendFunction","LegendLabel","LegendLayout","LegendMargins","LegendMarkers","LegendMarkerSize","LegendreP","LegendreQ","LegendreType","Length","LengthWhile","LerchPhi","Less","LessEqual","LessEqualGreater","LessEqualThan","LessFullEqual","LessGreater","LessLess","LessSlantEqual","LessThan","LessTilde","LetterCharacter","LetterCounts","LetterNumber","LetterQ","Level","LeveneTest","LeviCivitaTensor","LevyDistribution","Lexicographic","LexicographicOrder","LexicographicSort","LibraryDataType","LibraryFunction","LibraryFunctionDeclaration","LibraryFunctionError","LibraryFunctionInformation","LibraryFunctionLoad","LibraryFunctionUnload","LibraryLoad","LibraryUnload","LicenseEntitlementObject","LicenseEntitlements","LicenseID","LicensingSettings","LiftingFilterData","LiftingWaveletTransform","LightBlue","LightBrown","LightCyan","Lighter","LightGray","LightGreen","Lighting","LightingAngle","LightMagenta","LightOrange","LightPink","LightPurple","LightRed","LightSources","LightYellow","Likelihood","Limit","LimitsPositioning","LimitsPositioningTokens","LindleyDistribution","Line","Line3DBox","Line3DBoxOptions","LinearFilter","LinearFractionalOptimization","LinearFractionalTransform","LinearGradientFilling","LinearGradientImage","LinearizingTransformationData","LinearLayer","LinearModelFit","LinearOffsetFunction","LinearOptimization","LinearProgramming","LinearRecurrence","LinearSolve","LinearSolveFunction","LineBox","LineBoxOptions","LineBreak","LinebreakAdjustments","LineBreakChart","LinebreakSemicolonWeighting","LineBreakWithin","LineColor","LineGraph","LineIndent","LineIndentMaxFraction","LineIntegralConvolutionPlot","LineIntegralConvolutionScale","LineLegend","LineOpacity","LineSpacing","LineWrapParts","LinkActivate","LinkClose","LinkConnect","LinkConnectedQ","LinkCreate","LinkError","LinkFlush","LinkFunction","LinkHost","LinkInterrupt","LinkLaunch","LinkMode","LinkObject","LinkOpen","LinkOptions","LinkPatterns","LinkProtocol","LinkRankCentrality","LinkRead","LinkReadHeld","LinkReadyQ","Links","LinkService","LinkWrite","LinkWriteHeld","LiouvilleLambda","List","Listable","ListAnimate","ListContourPlot","ListContourPlot3D","ListConvolve","ListCorrelate","ListCurvePathPlot","ListDeconvolve","ListDensityPlot","ListDensityPlot3D","Listen","ListFormat","ListFourierSequenceTransform","ListInterpolation","ListLineIntegralConvolutionPlot","ListLinePlot","ListLinePlot3D","ListLogLinearPlot","ListLogLogPlot","ListLogPlot","ListPicker","ListPickerBox","ListPickerBoxBackground","ListPickerBoxOptions","ListPlay","ListPlot","ListPlot3D","ListPointPlot3D","ListPolarPlot","ListQ","ListSliceContourPlot3D","ListSliceDensityPlot3D","ListSliceVectorPlot3D","ListStepPlot","ListStreamDensityPlot","ListStreamPlot","ListStreamPlot3D","ListSurfacePlot3D","ListVectorDensityPlot","ListVectorDisplacementPlot","ListVectorDisplacementPlot3D","ListVectorPlot","ListVectorPlot3D","ListZTransform","Literal","LiteralSearch","LiteralType","LoadCompiledComponent","LocalAdaptiveBinarize","LocalCache","LocalClusteringCoefficient","LocalEvaluate","LocalizeDefinitions","LocalizeVariables","LocalObject","LocalObjects","LocalResponseNormalizationLayer","LocalSubmit","LocalSymbol","LocalTime","LocalTimeZone","LocationEquivalenceTest","LocationTest","Locator","LocatorAutoCreate","LocatorBox","LocatorBoxOptions","LocatorCentering","LocatorPane","LocatorPaneBox","LocatorPaneBoxOptions","LocatorRegion","Locked","Log","Log10","Log2","LogBarnesG","LogGamma","LogGammaDistribution","LogicalExpand","LogIntegral","LogisticDistribution","LogisticSigmoid","LogitModelFit","LogLikelihood","LogLinearPlot","LogLogisticDistribution","LogLogPlot","LogMultinormalDistribution","LogNormalDistribution","LogPlot","LogRankTest","LogSeriesDistribution","LongEqual","Longest","LongestCommonSequence","LongestCommonSequencePositions","LongestCommonSubsequence","LongestCommonSubsequencePositions","LongestMatch","LongestOrderedSequence","LongForm","Longitude","LongLeftArrow","LongLeftRightArrow","LongRightArrow","LongShortTermMemoryLayer","Lookup","Loopback","LoopFreeGraphQ","Looping","LossFunction","LowerCaseQ","LowerLeftArrow","LowerRightArrow","LowerTriangularize","LowerTriangularMatrix","LowerTriangularMatrixQ","LowpassFilter","LQEstimatorGains","LQGRegulator","LQOutputRegulatorGains","LQRegulatorGains","LUBackSubstitution","LucasL","LuccioSamiComponents","LUDecomposition","LunarEclipse","LUVColor","LyapunovSolve","LyonsGroupLy","MachineID","MachineName","MachineNumberQ","MachinePrecision","MacintoshSystemPageSetup","Magenta","Magnification","Magnify","MailAddressValidation","MailExecute","MailFolder","MailItem","MailReceiverFunction","MailResponseFunction","MailSearch","MailServerConnect","MailServerConnection","MailSettings","MainSolve","MaintainDynamicCaches","Majority","MakeBoxes","MakeExpression","MakeRules","ManagedLibraryExpressionID","ManagedLibraryExpressionQ","MandelbrotSetBoettcher","MandelbrotSetDistance","MandelbrotSetIterationCount","MandelbrotSetMemberQ","MandelbrotSetPlot","MangoldtLambda","ManhattanDistance","Manipulate","Manipulator","MannedSpaceMissionData","MannWhitneyTest","MantissaExponent","Manual","Map","MapAll","MapApply","MapAt","MapIndexed","MAProcess","MapThread","MarchenkoPasturDistribution","MarcumQ","MardiaCombinedTest","MardiaKurtosisTest","MardiaSkewnessTest","MarginalDistribution","MarkovProcessProperties","Masking","MassConcentrationCondition","MassFluxValue","MassImpermeableBoundaryValue","MassOutflowValue","MassSymmetryValue","MassTransferValue","MassTransportPDEComponent","MatchingDissimilarity","MatchLocalNameQ","MatchLocalNames","MatchQ","Material","MaterialShading","MaternPointProcess","MathematicalFunctionData","MathematicaNotation","MathieuC","MathieuCharacteristicA","MathieuCharacteristicB","MathieuCharacteristicExponent","MathieuCPrime","MathieuGroupM11","MathieuGroupM12","MathieuGroupM22","MathieuGroupM23","MathieuGroupM24","MathieuS","MathieuSPrime","MathMLForm","MathMLText","Matrices","MatrixExp","MatrixForm","MatrixFunction","MatrixLog","MatrixNormalDistribution","MatrixPlot","MatrixPower","MatrixPropertyDistribution","MatrixQ","MatrixRank","MatrixTDistribution","Max","MaxBend","MaxCellMeasure","MaxColorDistance","MaxDate","MaxDetect","MaxDisplayedChildren","MaxDuration","MaxExtraBandwidths","MaxExtraConditions","MaxFeatureDisplacement","MaxFeatures","MaxFilter","MaximalBy","Maximize","MaxItems","MaxIterations","MaxLimit","MaxMemoryUsed","MaxMixtureKernels","MaxOverlapFraction","MaxPlotPoints","MaxPoints","MaxRecursion","MaxStableDistribution","MaxStepFraction","MaxSteps","MaxStepSize","MaxTrainingRounds","MaxValue","MaxwellDistribution","MaxWordGap","McLaughlinGroupMcL","Mean","MeanAbsoluteLossLayer","MeanAround","MeanClusteringCoefficient","MeanDegreeConnectivity","MeanDeviation","MeanFilter","MeanGraphDistance","MeanNeighborDegree","MeanPointDensity","MeanShift","MeanShiftFilter","MeanSquaredLossLayer","Median","MedianDeviation","MedianFilter","MedicalTestData","Medium","MeijerG","MeijerGReduce","MeixnerDistribution","MellinConvolve","MellinTransform","MemberQ","MemoryAvailable","MemoryConstrained","MemoryConstraint","MemoryInUse","MengerMesh","Menu","MenuAppearance","MenuCommandKey","MenuEvaluator","MenuItem","MenuList","MenuPacket","MenuSortingValue","MenuStyle","MenuView","Merge","MergeDifferences","MergingFunction","MersennePrimeExponent","MersennePrimeExponentQ","Mesh","MeshCellCentroid","MeshCellCount","MeshCellHighlight","MeshCellIndex","MeshCellLabel","MeshCellMarker","MeshCellMeasure","MeshCellQuality","MeshCells","MeshCellShapeFunction","MeshCellStyle","MeshConnectivityGraph","MeshCoordinates","MeshFunctions","MeshPrimitives","MeshQualityGoal","MeshRange","MeshRefinementFunction","MeshRegion","MeshRegionQ","MeshShading","MeshStyle","Message","MessageDialog","MessageList","MessageName","MessageObject","MessageOptions","MessagePacket","Messages","MessagesNotebook","MetaCharacters","MetaInformation","MeteorShowerData","Method","MethodOptions","MexicanHatWavelet","MeyerWavelet","Midpoint","MIMETypeToFormatList","Min","MinColorDistance","MinDate","MinDetect","MineralData","MinFilter","MinimalBy","MinimalPolynomial","MinimalStateSpaceModel","Minimize","MinimumTimeIncrement","MinIntervalSize","MinkowskiQuestionMark","MinLimit","MinMax","MinorPlanetData","Minors","MinPointSeparation","MinRecursion","MinSize","MinStableDistribution","Minus","MinusPlus","MinValue","Missing","MissingBehavior","MissingDataMethod","MissingDataRules","MissingQ","MissingString","MissingStyle","MissingValuePattern","MissingValueSynthesis","MittagLefflerE","MixedFractionParts","MixedGraphQ","MixedMagnitude","MixedRadix","MixedRadixQuantity","MixedUnit","MixtureDistribution","Mod","Modal","Mode","ModelPredictiveController","Modular","ModularInverse","ModularLambda","Module","Modulus","MoebiusMu","Molecule","MoleculeAlign","MoleculeContainsQ","MoleculeDraw","MoleculeEquivalentQ","MoleculeFreeQ","MoleculeGraph","MoleculeMatchQ","MoleculeMaximumCommonSubstructure","MoleculeModify","MoleculeName","MoleculePattern","MoleculePlot","MoleculePlot3D","MoleculeProperty","MoleculeQ","MoleculeRecognize","MoleculeSubstructureCount","MoleculeValue","Moment","MomentConvert","MomentEvaluate","MomentGeneratingFunction","MomentOfInertia","Monday","Monitor","MonomialList","MonomialOrder","MonsterGroupM","MoonPhase","MoonPosition","MorletWavelet","MorphologicalBinarize","MorphologicalBranchPoints","MorphologicalComponents","MorphologicalEulerNumber","MorphologicalGraph","MorphologicalPerimeter","MorphologicalTransform","MortalityData","Most","MountainData","MouseAnnotation","MouseAppearance","MouseAppearanceTag","MouseButtons","Mouseover","MousePointerNote","MousePosition","MovieData","MovingAverage","MovingMap","MovingMedian","MoyalDistribution","MultiaxisArrangement","Multicolumn","MultiedgeStyle","MultigraphQ","MultilaunchWarning","MultiLetterItalics","MultiLetterStyle","MultilineFunction","Multinomial","MultinomialDistribution","MultinormalDistribution","MultiplicativeOrder","Multiplicity","MultiplySides","MultiscriptBoxOptions","Multiselection","MultivariateHypergeometricDistribution","MultivariatePoissonDistribution","MultivariateTDistribution","N","NakagamiDistribution","NameQ","Names","NamespaceBox","NamespaceBoxOptions","Nand","NArgMax","NArgMin","NBernoulliB","NBodySimulation","NBodySimulationData","NCache","NCaputoD","NDEigensystem","NDEigenvalues","NDSolve","NDSolveValue","Nearest","NearestFunction","NearestMeshCells","NearestNeighborG","NearestNeighborGraph","NearestTo","NebulaData","NeedlemanWunschSimilarity","Needs","Negative","NegativeBinomialDistribution","NegativeDefiniteMatrixQ","NegativeIntegers","NegativelyOrientedPoints","NegativeMultinomialDistribution","NegativeRationals","NegativeReals","NegativeSemidefiniteMatrixQ","NeighborhoodData","NeighborhoodGraph","Nest","NestedGreaterGreater","NestedLessLess","NestedScriptRules","NestGraph","NestList","NestTree","NestWhile","NestWhileList","NetAppend","NetArray","NetArrayLayer","NetBidirectionalOperator","NetChain","NetDecoder","NetDelete","NetDrop","NetEncoder","NetEvaluationMode","NetExternalObject","NetExtract","NetFlatten","NetFoldOperator","NetGANOperator","NetGraph","NetInformation","NetInitialize","NetInsert","NetInsertSharedArrays","NetJoin","NetMapOperator","NetMapThreadOperator","NetMeasurements","NetModel","NetNestOperator","NetPairEmbeddingOperator","NetPort","NetPortGradient","NetPrepend","NetRename","NetReplace","NetReplacePart","NetSharedArray","NetStateObject","NetTake","NetTrain","NetTrainResultsObject","NetUnfold","NetworkPacketCapture","NetworkPacketRecording","NetworkPacketRecordingDuring","NetworkPacketTrace","NeumannValue","NevilleThetaC","NevilleThetaD","NevilleThetaN","NevilleThetaS","NewPrimitiveStyle","NExpectation","Next","NextCell","NextDate","NextPrime","NextScheduledTaskTime","NeymanScottPointProcess","NFractionalD","NHoldAll","NHoldFirst","NHoldRest","NicholsGridLines","NicholsPlot","NightHemisphere","NIntegrate","NMaximize","NMaxValue","NMinimize","NMinValue","NominalScale","NominalVariables","NonAssociative","NoncentralBetaDistribution","NoncentralChiSquareDistribution","NoncentralFRatioDistribution","NoncentralStudentTDistribution","NonCommutativeMultiply","NonConstants","NondimensionalizationTransform","None","NoneTrue","NonlinearModelFit","NonlinearStateSpaceModel","NonlocalMeansFilter","NonNegative","NonNegativeIntegers","NonNegativeRationals","NonNegativeReals","NonPositive","NonPositiveIntegers","NonPositiveRationals","NonPositiveReals","Nor","NorlundB","Norm","Normal","NormalDistribution","NormalGrouping","NormalizationLayer","Normalize","Normalized","NormalizedSquaredEuclideanDistance","NormalMatrixQ","NormalsFunction","NormFunction","Not","NotCongruent","NotCupCap","NotDoubleVerticalBar","Notebook","NotebookApply","NotebookAutoSave","NotebookBrowseDirectory","NotebookClose","NotebookConvertSettings","NotebookCreate","NotebookDefault","NotebookDelete","NotebookDirectory","NotebookDynamicExpression","NotebookEvaluate","NotebookEventActions","NotebookFileName","NotebookFind","NotebookGet","NotebookImport","NotebookInformation","NotebookInterfaceObject","NotebookLocate","NotebookObject","NotebookOpen","NotebookPath","NotebookPrint","NotebookPut","NotebookRead","Notebooks","NotebookSave","NotebookSelection","NotebooksMenu","NotebookTemplate","NotebookWrite","NotElement","NotEqualTilde","NotExists","NotGreater","NotGreaterEqual","NotGreaterFullEqual","NotGreaterGreater","NotGreaterLess","NotGreaterSlantEqual","NotGreaterTilde","Nothing","NotHumpDownHump","NotHumpEqual","NotificationFunction","NotLeftTriangle","NotLeftTriangleBar","NotLeftTriangleEqual","NotLess","NotLessEqual","NotLessFullEqual","NotLessGreater","NotLessLess","NotLessSlantEqual","NotLessTilde","NotNestedGreaterGreater","NotNestedLessLess","NotPrecedes","NotPrecedesEqual","NotPrecedesSlantEqual","NotPrecedesTilde","NotReverseElement","NotRightTriangle","NotRightTriangleBar","NotRightTriangleEqual","NotSquareSubset","NotSquareSubsetEqual","NotSquareSuperset","NotSquareSupersetEqual","NotSubset","NotSubsetEqual","NotSucceeds","NotSucceedsEqual","NotSucceedsSlantEqual","NotSucceedsTilde","NotSuperset","NotSupersetEqual","NotTilde","NotTildeEqual","NotTildeFullEqual","NotTildeTilde","NotVerticalBar","Now","NoWhitespace","NProbability","NProduct","NProductFactors","NRoots","NSolve","NSolveValues","NSum","NSumTerms","NuclearExplosionData","NuclearReactorData","Null","NullRecords","NullSpace","NullWords","Number","NumberCompose","NumberDecompose","NumberDigit","NumberExpand","NumberFieldClassNumber","NumberFieldDiscriminant","NumberFieldFundamentalUnits","NumberFieldIntegralBasis","NumberFieldNormRepresentatives","NumberFieldRegulator","NumberFieldRootsOfUnity","NumberFieldSignature","NumberForm","NumberFormat","NumberLinePlot","NumberMarks","NumberMultiplier","NumberPadding","NumberPoint","NumberQ","NumberSeparator","NumberSigns","NumberString","Numerator","NumeratorDenominator","NumericalOrder","NumericalSort","NumericArray","NumericArrayQ","NumericArrayType","NumericFunction","NumericQ","NuttallWindow","NValues","NyquistGridLines","NyquistPlot","O","ObjectExistsQ","ObservabilityGramian","ObservabilityMatrix","ObservableDecomposition","ObservableModelQ","OceanData","Octahedron","OddQ","Off","Offset","OLEData","On","ONanGroupON","Once","OneIdentity","Opacity","OpacityFunction","OpacityFunctionScaling","Open","OpenAppend","Opener","OpenerBox","OpenerBoxOptions","OpenerView","OpenFunctionInspectorPacket","Opening","OpenRead","OpenSpecialOptions","OpenTemporary","OpenWrite","Operate","OperatingSystem","OperatorApplied","OptimumFlowData","Optional","OptionalElement","OptionInspectorSettings","OptionQ","Options","OptionsPacket","OptionsPattern","OptionValue","OptionValueBox","OptionValueBoxOptions","Or","Orange","Order","OrderDistribution","OrderedQ","Ordering","OrderingBy","OrderingLayer","Orderless","OrderlessPatternSequence","OrdinalScale","OrnsteinUhlenbeckProcess","Orthogonalize","OrthogonalMatrixQ","Out","Outer","OuterPolygon","OuterPolyhedron","OutputAutoOverwrite","OutputControllabilityMatrix","OutputControllableModelQ","OutputForm","OutputFormData","OutputGrouping","OutputMathEditExpression","OutputNamePacket","OutputPorts","OutputResponse","OutputSizeLimit","OutputStream","Over","OverBar","OverDot","Overflow","OverHat","Overlaps","Overlay","OverlayBox","OverlayBoxOptions","OverlayVideo","Overscript","OverscriptBox","OverscriptBoxOptions","OverTilde","OverVector","OverwriteTarget","OwenT","OwnValues","Package","PackingMethod","PackPaclet","PacletDataRebuild","PacletDirectoryAdd","PacletDirectoryLoad","PacletDirectoryRemove","PacletDirectoryUnload","PacletDisable","PacletEnable","PacletFind","PacletFindRemote","PacletInformation","PacletInstall","PacletInstallSubmit","PacletNewerQ","PacletObject","PacletObjectQ","PacletSite","PacletSiteObject","PacletSiteRegister","PacletSites","PacletSiteUnregister","PacletSiteUpdate","PacletSymbol","PacletUninstall","PacletUpdate","PaddedForm","Padding","PaddingLayer","PaddingSize","PadeApproximant","PadLeft","PadRight","PageBreakAbove","PageBreakBelow","PageBreakWithin","PageFooterLines","PageFooters","PageHeaderLines","PageHeaders","PageHeight","PageRankCentrality","PageTheme","PageWidth","Pagination","PairCorrelationG","PairedBarChart","PairedHistogram","PairedSmoothHistogram","PairedTTest","PairedZTest","PaletteNotebook","PalettePath","PalettesMenuSettings","PalindromeQ","Pane","PaneBox","PaneBoxOptions","Panel","PanelBox","PanelBoxOptions","Paneled","PaneSelector","PaneSelectorBox","PaneSelectorBoxOptions","PaperWidth","ParabolicCylinderD","ParagraphIndent","ParagraphSpacing","ParallelArray","ParallelAxisPlot","ParallelCombine","ParallelDo","Parallelepiped","ParallelEvaluate","Parallelization","Parallelize","ParallelKernels","ParallelMap","ParallelNeeds","Parallelogram","ParallelProduct","ParallelSubmit","ParallelSum","ParallelTable","ParallelTry","Parameter","ParameterEstimator","ParameterMixtureDistribution","ParameterVariables","ParametricConvexOptimization","ParametricFunction","ParametricNDSolve","ParametricNDSolveValue","ParametricPlot","ParametricPlot3D","ParametricRampLayer","ParametricRegion","ParentBox","ParentCell","ParentConnect","ParentDirectory","ParentEdgeLabel","ParentEdgeLabelFunction","ParentEdgeLabelStyle","ParentEdgeShapeFunction","ParentEdgeStyle","ParentEdgeStyleFunction","ParentForm","Parenthesize","ParentList","ParentNotebook","ParetoDistribution","ParetoPickandsDistribution","ParkData","Part","PartBehavior","PartialCorrelationFunction","PartialD","ParticleAcceleratorData","ParticleData","Partition","PartitionGranularity","PartitionsP","PartitionsQ","PartLayer","PartOfSpeech","PartProtection","ParzenWindow","PascalDistribution","PassEventsDown","PassEventsUp","Paste","PasteAutoQuoteCharacters","PasteBoxFormInlineCells","PasteButton","Path","PathGraph","PathGraphQ","Pattern","PatternFilling","PatternReaction","PatternSequence","PatternTest","PauliMatrix","PaulWavelet","Pause","PausedTime","PDF","PeakDetect","PeanoCurve","PearsonChiSquareTest","PearsonCorrelationTest","PearsonDistribution","PenttinenPointProcess","PercentForm","PerfectNumber","PerfectNumberQ","PerformanceGoal","Perimeter","PeriodicBoundaryCondition","PeriodicInterpolation","Periodogram","PeriodogramArray","Permanent","Permissions","PermissionsGroup","PermissionsGroupMemberQ","PermissionsGroups","PermissionsKey","PermissionsKeys","PermutationCycles","PermutationCyclesQ","PermutationGroup","PermutationLength","PermutationList","PermutationListQ","PermutationMatrix","PermutationMax","PermutationMin","PermutationOrder","PermutationPower","PermutationProduct","PermutationReplace","Permutations","PermutationSupport","Permute","PeronaMalikFilter","Perpendicular","PerpendicularBisector","PersistenceLocation","PersistenceTime","PersistentObject","PersistentObjects","PersistentSymbol","PersistentValue","PersonData","PERTDistribution","PetersenGraph","PhaseMargins","PhaseRange","PhongShading","PhysicalSystemData","Pi","Pick","PickedElements","PickMode","PIDData","PIDDerivativeFilter","PIDFeedforward","PIDTune","Piecewise","PiecewiseExpand","PieChart","PieChart3D","PillaiTrace","PillaiTraceTest","PingTime","Pink","PitchRecognize","Pivoting","PixelConstrained","PixelValue","PixelValuePositions","Placed","Placeholder","PlaceholderLayer","PlaceholderReplace","Plain","PlanarAngle","PlanarFaceList","PlanarGraph","PlanarGraphQ","PlanckRadiationLaw","PlaneCurveData","PlanetaryMoonData","PlanetData","PlantData","Play","PlaybackSettings","PlayRange","Plot","Plot3D","Plot3Matrix","PlotDivision","PlotJoined","PlotLabel","PlotLabels","PlotLayout","PlotLegends","PlotMarkers","PlotPoints","PlotRange","PlotRangeClipping","PlotRangeClipPlanesStyle","PlotRangePadding","PlotRegion","PlotStyle","PlotTheme","Pluralize","Plus","PlusMinus","Pochhammer","PodStates","PodWidth","Point","Point3DBox","Point3DBoxOptions","PointBox","PointBoxOptions","PointCountDistribution","PointDensity","PointDensityFunction","PointFigureChart","PointLegend","PointLight","PointProcessEstimator","PointProcessFitTest","PointProcessParameterAssumptions","PointProcessParameterQ","PointSize","PointStatisticFunction","PointValuePlot","PoissonConsulDistribution","PoissonDistribution","PoissonPDEComponent","PoissonPointProcess","PoissonProcess","PoissonWindow","PolarAxes","PolarAxesOrigin","PolarGridLines","PolarPlot","PolarTicks","PoleZeroMarkers","PolyaAeppliDistribution","PolyGamma","Polygon","Polygon3DBox","Polygon3DBoxOptions","PolygonalNumber","PolygonAngle","PolygonBox","PolygonBoxOptions","PolygonCoordinates","PolygonDecomposition","PolygonHoleScale","PolygonIntersections","PolygonScale","Polyhedron","PolyhedronAngle","PolyhedronBox","PolyhedronBoxOptions","PolyhedronCoordinates","PolyhedronData","PolyhedronDecomposition","PolyhedronGenus","PolyLog","PolynomialExpressionQ","PolynomialExtendedGCD","PolynomialForm","PolynomialGCD","PolynomialLCM","PolynomialMod","PolynomialQ","PolynomialQuotient","PolynomialQuotientRemainder","PolynomialReduce","PolynomialRemainder","Polynomials","PolynomialSumOfSquaresList","PoolingLayer","PopupMenu","PopupMenuBox","PopupMenuBoxOptions","PopupView","PopupWindow","Position","PositionIndex","PositionLargest","PositionSmallest","Positive","PositiveDefiniteMatrixQ","PositiveIntegers","PositivelyOrientedPoints","PositiveRationals","PositiveReals","PositiveSemidefiniteMatrixQ","PossibleZeroQ","Postfix","PostScript","Power","PowerDistribution","PowerExpand","PowerMod","PowerModList","PowerRange","PowerSpectralDensity","PowersRepresentations","PowerSymmetricPolynomial","Precedence","PrecedenceForm","Precedes","PrecedesEqual","PrecedesSlantEqual","PrecedesTilde","Precision","PrecisionGoal","PreDecrement","Predict","PredictionRoot","PredictorFunction","PredictorInformation","PredictorMeasurements","PredictorMeasurementsObject","PreemptProtect","PreferencesPath","PreferencesSettings","Prefix","PreIncrement","Prepend","PrependLayer","PrependTo","PreprocessingRules","PreserveColor","PreserveImageOptions","Previous","PreviousCell","PreviousDate","PriceGraphDistribution","PrimaryPlaceholder","Prime","PrimeNu","PrimeOmega","PrimePi","PrimePowerQ","PrimeQ","Primes","PrimeZetaP","PrimitivePolynomialQ","PrimitiveRoot","PrimitiveRootList","PrincipalComponents","PrincipalValue","Print","PrintableASCIIQ","PrintAction","PrintForm","PrintingCopies","PrintingOptions","PrintingPageRange","PrintingStartingPageNumber","PrintingStyleEnvironment","Printout3D","Printout3DPreviewer","PrintPrecision","PrintTemporary","Prism","PrismBox","PrismBoxOptions","PrivateCellOptions","PrivateEvaluationOptions","PrivateFontOptions","PrivateFrontEndOptions","PrivateKey","PrivateNotebookOptions","PrivatePaths","Probability","ProbabilityDistribution","ProbabilityPlot","ProbabilityPr","ProbabilityScalePlot","ProbitModelFit","ProcessConnection","ProcessDirectory","ProcessEnvironment","Processes","ProcessEstimator","ProcessInformation","ProcessObject","ProcessParameterAssumptions","ProcessParameterQ","ProcessStateDomain","ProcessStatus","ProcessTimeDomain","Product","ProductDistribution","ProductLog","ProgressIndicator","ProgressIndicatorBox","ProgressIndicatorBoxOptions","ProgressReporting","Projection","Prolog","PromptForm","ProofObject","PropagateAborts","Properties","Property","PropertyList","PropertyValue","Proportion","Proportional","Protect","Protected","ProteinData","Pruning","PseudoInverse","PsychrometricPropertyData","PublicKey","PublisherID","PulsarData","PunctuationCharacter","Purple","Put","PutAppend","Pyramid","PyramidBox","PyramidBoxOptions","QBinomial","QFactorial","QGamma","QHypergeometricPFQ","QnDispersion","QPochhammer","QPolyGamma","QRDecomposition","QuadraticIrrationalQ","QuadraticOptimization","Quantile","QuantilePlot","Quantity","QuantityArray","QuantityDistribution","QuantityForm","QuantityMagnitude","QuantityQ","QuantityUnit","QuantityVariable","QuantityVariableCanonicalUnit","QuantityVariableDimensions","QuantityVariableIdentifier","QuantityVariablePhysicalQuantity","Quartics","QuartileDeviation","Quartiles","QuartileSkewness","Query","QuestionGenerator","QuestionInterface","QuestionObject","QuestionSelector","QueueingNetworkProcess","QueueingProcess","QueueProperties","Quiet","QuietEcho","Quit","Quotient","QuotientRemainder","RadialAxisPlot","RadialGradientFilling","RadialGradientImage","RadialityCentrality","RadicalBox","RadicalBoxOptions","RadioButton","RadioButtonBar","RadioButtonBox","RadioButtonBoxOptions","Radon","RadonTransform","RamanujanTau","RamanujanTauL","RamanujanTauTheta","RamanujanTauZ","Ramp","Random","RandomArrayLayer","RandomChoice","RandomColor","RandomComplex","RandomDate","RandomEntity","RandomFunction","RandomGeneratorState","RandomGeoPosition","RandomGraph","RandomImage","RandomInstance","RandomInteger","RandomPermutation","RandomPoint","RandomPointConfiguration","RandomPolygon","RandomPolyhedron","RandomPrime","RandomReal","RandomSample","RandomSeed","RandomSeeding","RandomTime","RandomTree","RandomVariate","RandomWalkProcess","RandomWord","Range","RangeFilter","RangeSpecification","RankedMax","RankedMin","RarerProbability","Raster","Raster3D","Raster3DBox","Raster3DBoxOptions","RasterArray","RasterBox","RasterBoxOptions","Rasterize","RasterSize","Rational","RationalExpressionQ","RationalFunctions","Rationalize","Rationals","Ratios","RawArray","RawBoxes","RawData","RawMedium","RayleighDistribution","Re","ReactionBalance","ReactionBalancedQ","ReactionPDETerm","Read","ReadByteArray","ReadLine","ReadList","ReadProtected","ReadString","Real","RealAbs","RealBlockDiagonalForm","RealDigits","RealExponent","Reals","RealSign","Reap","RebuildPacletData","RecalibrationFunction","RecognitionPrior","RecognitionThreshold","ReconstructionMesh","Record","RecordLists","RecordSeparators","Rectangle","RectangleBox","RectangleBoxOptions","RectangleChart","RectangleChart3D","RectangularRepeatingElement","RecurrenceFilter","RecurrenceTable","RecurringDigitsForm","Red","Reduce","RefBox","ReferenceLineStyle","ReferenceMarkers","ReferenceMarkerStyle","Refine","ReflectionMatrix","ReflectionTransform","Refresh","RefreshRate","Region","RegionBinarize","RegionBoundary","RegionBoundaryStyle","RegionBounds","RegionCentroid","RegionCongruent","RegionConvert","RegionDifference","RegionDilation","RegionDimension","RegionDisjoint","RegionDistance","RegionDistanceFunction","RegionEmbeddingDimension","RegionEqual","RegionErosion","RegionFillingStyle","RegionFit","RegionFunction","RegionImage","RegionIntersection","RegionMeasure","RegionMember","RegionMemberFunction","RegionMoment","RegionNearest","RegionNearestFunction","RegionPlot","RegionPlot3D","RegionProduct","RegionQ","RegionResize","RegionSimilar","RegionSize","RegionSymmetricDifference","RegionUnion","RegionWithin","RegisterExternalEvaluator","RegularExpression","Regularization","RegularlySampledQ","RegularPolygon","ReIm","ReImLabels","ReImPlot","ReImStyle","Reinstall","RelationalDatabase","RelationGraph","Release","ReleaseHold","ReliabilityDistribution","ReliefImage","ReliefPlot","RemoteAuthorizationCaching","RemoteBatchJobAbort","RemoteBatchJobObject","RemoteBatchJobs","RemoteBatchMapSubmit","RemoteBatchSubmissionEnvironment","RemoteBatchSubmit","RemoteConnect","RemoteConnectionObject","RemoteEvaluate","RemoteFile","RemoteInputFiles","RemoteKernelObject","RemoteProviderSettings","RemoteRun","RemoteRunProcess","RemovalConditions","Remove","RemoveAlphaChannel","RemoveAsynchronousTask","RemoveAudioStream","RemoveBackground","RemoveChannelListener","RemoveChannelSubscribers","Removed","RemoveDiacritics","RemoveInputStreamMethod","RemoveOutputStreamMethod","RemoveProperty","RemoveScheduledTask","RemoveUsers","RemoveVideoStream","RenameDirectory","RenameFile","RenderAll","RenderingOptions","RenewalProcess","RenkoChart","RepairMesh","Repeated","RepeatedNull","RepeatedString","RepeatedTiming","RepeatingElement","Replace","ReplaceAll","ReplaceAt","ReplaceHeldPart","ReplaceImageValue","ReplaceList","ReplacePart","ReplacePixelValue","ReplaceRepeated","ReplicateLayer","RequiredPhysicalQuantities","Resampling","ResamplingAlgorithmData","ResamplingMethod","Rescale","RescalingTransform","ResetDirectory","ResetScheduledTask","ReshapeLayer","Residue","ResidueSum","ResizeLayer","Resolve","ResolveContextAliases","ResourceAcquire","ResourceData","ResourceFunction","ResourceObject","ResourceRegister","ResourceRemove","ResourceSearch","ResourceSubmissionObject","ResourceSubmit","ResourceSystemBase","ResourceSystemPath","ResourceUpdate","ResourceVersion","ResponseForm","Rest","RestartInterval","Restricted","Resultant","ResumePacket","Return","ReturnCreatesNewCell","ReturnEntersInput","ReturnExpressionPacket","ReturnInputFormPacket","ReturnPacket","ReturnReceiptFunction","ReturnTextPacket","Reverse","ReverseApplied","ReverseBiorthogonalSplineWavelet","ReverseElement","ReverseEquilibrium","ReverseGraph","ReverseSort","ReverseSortBy","ReverseUpEquilibrium","RevolutionAxis","RevolutionPlot3D","RGBColor","RiccatiSolve","RiceDistribution","RidgeFilter","RiemannR","RiemannSiegelTheta","RiemannSiegelZ","RiemannXi","Riffle","Right","RightArrow","RightArrowBar","RightArrowLeftArrow","RightComposition","RightCosetRepresentative","RightDownTeeVector","RightDownVector","RightDownVectorBar","RightTee","RightTeeArrow","RightTeeVector","RightTriangle","RightTriangleBar","RightTriangleEqual","RightUpDownVector","RightUpTeeVector","RightUpVector","RightUpVectorBar","RightVector","RightVectorBar","RipleyK","RipleyRassonRegion","RiskAchievementImportance","RiskReductionImportance","RobustConvexOptimization","RogersTanimotoDissimilarity","RollPitchYawAngles","RollPitchYawMatrix","RomanNumeral","Root","RootApproximant","RootIntervals","RootLocusPlot","RootMeanSquare","RootOfUnityQ","RootReduce","Roots","RootSum","RootTree","Rotate","RotateLabel","RotateLeft","RotateRight","RotationAction","RotationBox","RotationBoxOptions","RotationMatrix","RotationTransform","Round","RoundImplies","RoundingRadius","Row","RowAlignments","RowBackgrounds","RowBox","RowHeights","RowLines","RowMinHeight","RowReduce","RowsEqual","RowSpacings","RSolve","RSolveValue","RudinShapiro","RudvalisGroupRu","Rule","RuleCondition","RuleDelayed","RuleForm","RulePlot","RulerUnits","RulesTree","Run","RunProcess","RunScheduledTask","RunThrough","RuntimeAttributes","RuntimeOptions","RussellRaoDissimilarity","SameAs","SameQ","SameTest","SameTestProperties","SampledEntityClass","SampleDepth","SampledSoundFunction","SampledSoundList","SampleRate","SamplingPeriod","SARIMAProcess","SARMAProcess","SASTriangle","SatelliteData","SatisfiabilityCount","SatisfiabilityInstances","SatisfiableQ","Saturday","Save","Saveable","SaveAutoDelete","SaveConnection","SaveDefinitions","SavitzkyGolayMatrix","SawtoothWave","Scale","Scaled","ScaleDivisions","ScaledMousePosition","ScaleOrigin","ScalePadding","ScaleRanges","ScaleRangeStyle","ScalingFunctions","ScalingMatrix","ScalingTransform","Scan","ScheduledTask","ScheduledTaskActiveQ","ScheduledTaskInformation","ScheduledTaskInformationData","ScheduledTaskObject","ScheduledTasks","SchurDecomposition","ScientificForm","ScientificNotationThreshold","ScorerGi","ScorerGiPrime","ScorerHi","ScorerHiPrime","ScreenRectangle","ScreenStyleEnvironment","ScriptBaselineShifts","ScriptForm","ScriptLevel","ScriptMinSize","ScriptRules","ScriptSizeMultipliers","Scrollbars","ScrollingOptions","ScrollPosition","SearchAdjustment","SearchIndexObject","SearchIndices","SearchQueryString","SearchResultObject","Sec","Sech","SechDistribution","SecondOrderConeOptimization","SectionGrouping","SectorChart","SectorChart3D","SectorOrigin","SectorSpacing","SecuredAuthenticationKey","SecuredAuthenticationKeys","SecurityCertificate","SeedRandom","Select","Selectable","SelectComponents","SelectedCells","SelectedNotebook","SelectFirst","Selection","SelectionAnimate","SelectionCell","SelectionCellCreateCell","SelectionCellDefaultStyle","SelectionCellParentStyle","SelectionCreateCell","SelectionDebuggerTag","SelectionEvaluate","SelectionEvaluateCreateCell","SelectionMove","SelectionPlaceholder","SelectWithContents","SelfLoops","SelfLoopStyle","SemanticImport","SemanticImportString","SemanticInterpretation","SemialgebraicComponentInstances","SemidefiniteOptimization","SendMail","SendMessage","Sequence","SequenceAlignment","SequenceAttentionLayer","SequenceCases","SequenceCount","SequenceFold","SequenceFoldList","SequenceForm","SequenceHold","SequenceIndicesLayer","SequenceLastLayer","SequenceMostLayer","SequencePosition","SequencePredict","SequencePredictorFunction","SequenceReplace","SequenceRestLayer","SequenceReverseLayer","SequenceSplit","Series","SeriesCoefficient","SeriesData","SeriesTermGoal","ServiceConnect","ServiceDisconnect","ServiceExecute","ServiceObject","ServiceRequest","ServiceResponse","ServiceSubmit","SessionSubmit","SessionTime","Set","SetAccuracy","SetAlphaChannel","SetAttributes","Setbacks","SetCloudDirectory","SetCookies","SetDelayed","SetDirectory","SetEnvironment","SetFileDate","SetFileFormatProperties","SetOptions","SetOptionsPacket","SetPermissions","SetPrecision","SetProperty","SetSecuredAuthenticationKey","SetSelectedNotebook","SetSharedFunction","SetSharedVariable","SetStreamPosition","SetSystemModel","SetSystemOptions","Setter","SetterBar","SetterBox","SetterBoxOptions","Setting","SetUsers","Shading","Shallow","ShannonWavelet","ShapiroWilkTest","Share","SharingList","Sharpen","ShearingMatrix","ShearingTransform","ShellRegion","ShenCastanMatrix","ShiftedGompertzDistribution","ShiftRegisterSequence","Short","ShortDownArrow","Shortest","ShortestMatch","ShortestPathFunction","ShortLeftArrow","ShortRightArrow","ShortTimeFourier","ShortTimeFourierData","ShortUpArrow","Show","ShowAutoConvert","ShowAutoSpellCheck","ShowAutoStyles","ShowCellBracket","ShowCellLabel","ShowCellTags","ShowClosedCellArea","ShowCodeAssist","ShowContents","ShowControls","ShowCursorTracker","ShowGroupOpenCloseIcon","ShowGroupOpener","ShowInvisibleCharacters","ShowPageBreaks","ShowPredictiveInterface","ShowSelection","ShowShortBoxForm","ShowSpecialCharacters","ShowStringCharacters","ShowSyntaxStyles","ShrinkingDelay","ShrinkWrapBoundingBox","SiderealTime","SiegelTheta","SiegelTukeyTest","SierpinskiCurve","SierpinskiMesh","Sign","Signature","SignedRankTest","SignedRegionDistance","SignificanceLevel","SignPadding","SignTest","SimilarityRules","SimpleGraph","SimpleGraphQ","SimplePolygonQ","SimplePolyhedronQ","Simplex","Simplify","Sin","Sinc","SinghMaddalaDistribution","SingleEvaluation","SingleLetterItalics","SingleLetterStyle","SingularValueDecomposition","SingularValueList","SingularValuePlot","SingularValues","Sinh","SinhIntegral","SinIntegral","SixJSymbol","Skeleton","SkeletonTransform","SkellamDistribution","Skewness","SkewNormalDistribution","SkinStyle","Skip","SliceContourPlot3D","SliceDensityPlot3D","SliceDistribution","SliceVectorPlot3D","Slider","Slider2D","Slider2DBox","Slider2DBoxOptions","SliderBox","SliderBoxOptions","SlideShowVideo","SlideView","Slot","SlotSequence","Small","SmallCircle","Smaller","SmithDecomposition","SmithDelayCompensator","SmithWatermanSimilarity","SmoothDensityHistogram","SmoothHistogram","SmoothHistogram3D","SmoothKernelDistribution","SmoothPointDensity","SnDispersion","Snippet","SnippetsVideo","SnubPolyhedron","SocialMediaData","Socket","SocketConnect","SocketListen","SocketListener","SocketObject","SocketOpen","SocketReadMessage","SocketReadyQ","Sockets","SocketWaitAll","SocketWaitNext","SoftmaxLayer","SokalSneathDissimilarity","SolarEclipse","SolarSystemFeatureData","SolarTime","SolidAngle","SolidBoundaryLoadValue","SolidData","SolidDisplacementCondition","SolidFixedCondition","SolidMechanicsPDEComponent","SolidMechanicsStrain","SolidMechanicsStress","SolidRegionQ","Solve","SolveAlways","SolveDelayed","SolveValues","Sort","SortBy","SortedBy","SortedEntityClass","Sound","SoundAndGraphics","SoundNote","SoundVolume","SourceLink","SourcePDETerm","Sow","Space","SpaceCurveData","SpaceForm","Spacer","Spacings","Span","SpanAdjustments","SpanCharacterRounding","SpanFromAbove","SpanFromBoth","SpanFromLeft","SpanLineThickness","SpanMaxSize","SpanMinSize","SpanningCharacters","SpanSymmetric","SparseArray","SparseArrayQ","SpatialBinnedPointData","SpatialBoundaryCorrection","SpatialEstimate","SpatialEstimatorFunction","SpatialGraphDistribution","SpatialJ","SpatialMedian","SpatialNoiseLevel","SpatialObservationRegionQ","SpatialPointData","SpatialPointSelect","SpatialRandomnessTest","SpatialTransformationLayer","SpatialTrendFunction","Speak","SpeakerMatchQ","SpearmanRankTest","SpearmanRho","SpeciesData","SpecificityGoal","SpectralLineData","Spectrogram","SpectrogramArray","Specularity","SpeechCases","SpeechInterpreter","SpeechRecognize","SpeechSynthesize","SpellingCorrection","SpellingCorrectionList","SpellingDictionaries","SpellingDictionariesPath","SpellingOptions","Sphere","SphereBox","SphereBoxOptions","SpherePoints","SphericalBesselJ","SphericalBesselY","SphericalHankelH1","SphericalHankelH2","SphericalHarmonicY","SphericalPlot3D","SphericalRegion","SphericalShell","SpheroidalEigenvalue","SpheroidalJoiningFactor","SpheroidalPS","SpheroidalPSPrime","SpheroidalQS","SpheroidalQSPrime","SpheroidalRadialFactor","SpheroidalS1","SpheroidalS1Prime","SpheroidalS2","SpheroidalS2Prime","Splice","SplicedDistribution","SplineClosed","SplineDegree","SplineKnots","SplineWeights","Split","SplitBy","SpokenString","SpotLight","Sqrt","SqrtBox","SqrtBoxOptions","Square","SquaredEuclideanDistance","SquareFreeQ","SquareIntersection","SquareMatrixQ","SquareRepeatingElement","SquaresR","SquareSubset","SquareSubsetEqual","SquareSuperset","SquareSupersetEqual","SquareUnion","SquareWave","SSSTriangle","StabilityMargins","StabilityMarginsStyle","StableDistribution","Stack","StackBegin","StackComplete","StackedDateListPlot","StackedListPlot","StackInhibit","StadiumShape","StandardAtmosphereData","StandardDeviation","StandardDeviationFilter","StandardForm","Standardize","Standardized","StandardOceanData","StandbyDistribution","Star","StarClusterData","StarData","StarGraph","StartAsynchronousTask","StartExternalSession","StartingStepSize","StartOfLine","StartOfString","StartProcess","StartScheduledTask","StartupSound","StartWebSession","StateDimensions","StateFeedbackGains","StateOutputEstimator","StateResponse","StateSpaceModel","StateSpaceRealization","StateSpaceTransform","StateTransformationLinearize","StationaryDistribution","StationaryWaveletPacketTransform","StationaryWaveletTransform","StatusArea","StatusCentrality","StepMonitor","StereochemistryElements","StieltjesGamma","StippleShading","StirlingS1","StirlingS2","StopAsynchronousTask","StoppingPowerData","StopScheduledTask","StrataVariables","StratonovichProcess","StraussHardcorePointProcess","StraussPointProcess","StreamColorFunction","StreamColorFunctionScaling","StreamDensityPlot","StreamMarkers","StreamPlot","StreamPlot3D","StreamPoints","StreamPosition","Streams","StreamScale","StreamStyle","StrictInequalities","String","StringBreak","StringByteCount","StringCases","StringContainsQ","StringCount","StringDelete","StringDrop","StringEndsQ","StringExpression","StringExtract","StringForm","StringFormat","StringFormatQ","StringFreeQ","StringInsert","StringJoin","StringLength","StringMatchQ","StringPadLeft","StringPadRight","StringPart","StringPartition","StringPosition","StringQ","StringRepeat","StringReplace","StringReplaceList","StringReplacePart","StringReverse","StringRiffle","StringRotateLeft","StringRotateRight","StringSkeleton","StringSplit","StringStartsQ","StringTake","StringTakeDrop","StringTemplate","StringToByteArray","StringToStream","StringTrim","StripBoxes","StripOnInput","StripStyleOnPaste","StripWrapperBoxes","StrokeForm","Struckthrough","StructuralImportance","StructuredArray","StructuredArrayHeadQ","StructuredSelection","StruveH","StruveL","Stub","StudentTDistribution","Style","StyleBox","StyleBoxAutoDelete","StyleData","StyleDefinitions","StyleForm","StyleHints","StyleKeyMapping","StyleMenuListing","StyleNameDialogSettings","StyleNames","StylePrint","StyleSheetPath","Subdivide","Subfactorial","Subgraph","SubMinus","SubPlus","SubresultantPolynomialRemainders","SubresultantPolynomials","Subresultants","Subscript","SubscriptBox","SubscriptBoxOptions","Subscripted","Subsequences","Subset","SubsetCases","SubsetCount","SubsetEqual","SubsetMap","SubsetPosition","SubsetQ","SubsetReplace","Subsets","SubStar","SubstitutionSystem","Subsuperscript","SubsuperscriptBox","SubsuperscriptBoxOptions","SubtitleEncoding","SubtitleTrackSelection","Subtract","SubtractFrom","SubtractSides","SubValues","Succeeds","SucceedsEqual","SucceedsSlantEqual","SucceedsTilde","Success","SuchThat","Sum","SumConvergence","SummationLayer","Sunday","SunPosition","Sunrise","Sunset","SuperDagger","SuperMinus","SupernovaData","SuperPlus","Superscript","SuperscriptBox","SuperscriptBoxOptions","Superset","SupersetEqual","SuperStar","Surd","SurdForm","SurfaceAppearance","SurfaceArea","SurfaceColor","SurfaceData","SurfaceGraphics","SurvivalDistribution","SurvivalFunction","SurvivalModel","SurvivalModelFit","SuspendPacket","SuzukiDistribution","SuzukiGroupSuz","SwatchLegend","Switch","Symbol","SymbolName","SymletWavelet","Symmetric","SymmetricDifference","SymmetricGroup","SymmetricKey","SymmetricMatrixQ","SymmetricPolynomial","SymmetricReduction","Symmetrize","SymmetrizedArray","SymmetrizedArrayRules","SymmetrizedDependentComponents","SymmetrizedIndependentComponents","SymmetrizedReplacePart","SynchronousInitialization","SynchronousUpdating","Synonyms","Syntax","SyntaxForm","SyntaxInformation","SyntaxLength","SyntaxPacket","SyntaxQ","SynthesizeMissingValues","SystemCredential","SystemCredentialData","SystemCredentialKey","SystemCredentialKeys","SystemCredentialStoreObject","SystemDialogInput","SystemException","SystemGet","SystemHelpPath","SystemInformation","SystemInformationData","SystemInstall","SystemModel","SystemModeler","SystemModelExamples","SystemModelLinearize","SystemModelMeasurements","SystemModelParametricSimulate","SystemModelPlot","SystemModelProgressReporting","SystemModelReliability","SystemModels","SystemModelSimulate","SystemModelSimulateSensitivity","SystemModelSimulationData","SystemOpen","SystemOptions","SystemProcessData","SystemProcesses","SystemsConnectionsModel","SystemsModelControllerData","SystemsModelDelay","SystemsModelDelayApproximate","SystemsModelDelete","SystemsModelDimensions","SystemsModelExtract","SystemsModelFeedbackConnect","SystemsModelLabels","SystemsModelLinearity","SystemsModelMerge","SystemsModelOrder","SystemsModelParallelConnect","SystemsModelSeriesConnect","SystemsModelStateFeedbackConnect","SystemsModelVectorRelativeOrders","SystemStub","SystemTest","Tab","TabFilling","Table","TableAlignments","TableDepth","TableDirections","TableForm","TableHeadings","TableSpacing","TableView","TableViewBox","TableViewBoxAlignment","TableViewBoxBackground","TableViewBoxHeaders","TableViewBoxItemSize","TableViewBoxItemStyle","TableViewBoxOptions","TabSpacings","TabView","TabViewBox","TabViewBoxOptions","TagBox","TagBoxNote","TagBoxOptions","TaggingRules","TagSet","TagSetDelayed","TagStyle","TagUnset","Take","TakeDrop","TakeLargest","TakeLargestBy","TakeList","TakeSmallest","TakeSmallestBy","TakeWhile","Tally","Tan","Tanh","TargetDevice","TargetFunctions","TargetSystem","TargetUnits","TaskAbort","TaskExecute","TaskObject","TaskRemove","TaskResume","Tasks","TaskSuspend","TaskWait","TautologyQ","TelegraphProcess","TemplateApply","TemplateArgBox","TemplateBox","TemplateBoxOptions","TemplateEvaluate","TemplateExpression","TemplateIf","TemplateObject","TemplateSequence","TemplateSlot","TemplateSlotSequence","TemplateUnevaluated","TemplateVerbatim","TemplateWith","TemporalData","TemporalRegularity","Temporary","TemporaryVariable","TensorContract","TensorDimensions","TensorExpand","TensorProduct","TensorQ","TensorRank","TensorReduce","TensorSymmetry","TensorTranspose","TensorWedge","TerminatedEvaluation","TernaryListPlot","TernaryPlotCorners","TestID","TestReport","TestReportObject","TestResultObject","Tetrahedron","TetrahedronBox","TetrahedronBoxOptions","TeXForm","TeXSave","Text","Text3DBox","Text3DBoxOptions","TextAlignment","TextBand","TextBoundingBox","TextBox","TextCases","TextCell","TextClipboardType","TextContents","TextData","TextElement","TextForm","TextGrid","TextJustification","TextLine","TextPacket","TextParagraph","TextPosition","TextRecognize","TextSearch","TextSearchReport","TextSentences","TextString","TextStructure","TextStyle","TextTranslation","Texture","TextureCoordinateFunction","TextureCoordinateScaling","TextWords","Therefore","ThermodynamicData","ThermometerGauge","Thick","Thickness","Thin","Thinning","ThisLink","ThomasPointProcess","ThompsonGroupTh","Thread","Threaded","ThreadingLayer","ThreeJSymbol","Threshold","Through","Throw","ThueMorse","Thumbnail","Thursday","TickDirection","TickLabelOrientation","TickLabelPositioning","TickLabels","TickLengths","TickPositions","Ticks","TicksStyle","TideData","Tilde","TildeEqual","TildeFullEqual","TildeTilde","TimeConstrained","TimeConstraint","TimeDirection","TimeFormat","TimeGoal","TimelinePlot","TimeObject","TimeObjectQ","TimeRemaining","Times","TimesBy","TimeSeries","TimeSeriesAggregate","TimeSeriesForecast","TimeSeriesInsert","TimeSeriesInvertibility","TimeSeriesMap","TimeSeriesMapThread","TimeSeriesModel","TimeSeriesModelFit","TimeSeriesResample","TimeSeriesRescale","TimeSeriesShift","TimeSeriesThread","TimeSeriesWindow","TimeSystem","TimeSystemConvert","TimeUsed","TimeValue","TimeWarpingCorrespondence","TimeWarpingDistance","TimeZone","TimeZoneConvert","TimeZoneOffset","Timing","Tiny","TitleGrouping","TitsGroupT","ToBoxes","ToCharacterCode","ToColor","ToContinuousTimeModel","ToDate","Today","ToDiscreteTimeModel","ToEntity","ToeplitzMatrix","ToExpression","ToFileName","Together","Toggle","ToggleFalse","Toggler","TogglerBar","TogglerBox","TogglerBoxOptions","ToHeldExpression","ToInvertibleTimeSeries","TokenWords","Tolerance","ToLowerCase","Tomorrow","ToNumberField","TooBig","Tooltip","TooltipBox","TooltipBoxOptions","TooltipDelay","TooltipStyle","ToonShading","Top","TopHatTransform","ToPolarCoordinates","TopologicalSort","ToRadicals","ToRawPointer","ToRules","Torus","TorusGraph","ToSphericalCoordinates","ToString","Total","TotalHeight","TotalLayer","TotalVariationFilter","TotalWidth","TouchPosition","TouchscreenAutoZoom","TouchscreenControlPlacement","ToUpperCase","TourVideo","Tr","Trace","TraceAbove","TraceAction","TraceBackward","TraceDepth","TraceDialog","TraceForward","TraceInternal","TraceLevel","TraceOff","TraceOn","TraceOriginal","TracePrint","TraceScan","TrackCellChangeTimes","TrackedSymbols","TrackingFunction","TracyWidomDistribution","TradingChart","TraditionalForm","TraditionalFunctionNotation","TraditionalNotation","TraditionalOrder","TrainImageContentDetector","TrainingProgressCheckpointing","TrainingProgressFunction","TrainingProgressMeasurements","TrainingProgressReporting","TrainingStoppingCriterion","TrainingUpdateSchedule","TrainTextContentDetector","TransferFunctionCancel","TransferFunctionExpand","TransferFunctionFactor","TransferFunctionModel","TransferFunctionPoles","TransferFunctionTransform","TransferFunctionZeros","TransformationClass","TransformationFunction","TransformationFunctions","TransformationMatrix","TransformedDistribution","TransformedField","TransformedProcess","TransformedRegion","TransitionDirection","TransitionDuration","TransitionEffect","TransitiveClosureGraph","TransitiveReductionGraph","Translate","TranslationOptions","TranslationTransform","Transliterate","Transparent","TransparentColor","Transpose","TransposeLayer","TrapEnterKey","TrapSelection","TravelDirections","TravelDirectionsData","TravelDistance","TravelDistanceList","TravelMethod","TravelTime","Tree","TreeCases","TreeChildren","TreeCount","TreeData","TreeDelete","TreeDepth","TreeElementCoordinates","TreeElementLabel","TreeElementLabelFunction","TreeElementLabelStyle","TreeElementShape","TreeElementShapeFunction","TreeElementSize","TreeElementSizeFunction","TreeElementStyle","TreeElementStyleFunction","TreeExpression","TreeExtract","TreeFold","TreeForm","TreeGraph","TreeGraphQ","TreeInsert","TreeLayout","TreeLeafCount","TreeLeafQ","TreeLeaves","TreeLevel","TreeMap","TreeMapAt","TreeOutline","TreePlot","TreePosition","TreeQ","TreeReplacePart","TreeRules","TreeScan","TreeSelect","TreeSize","TreeTraversalOrder","TrendStyle","Triangle","TriangleCenter","TriangleConstruct","TriangleMeasurement","TriangleWave","TriangularDistribution","TriangulateMesh","Trig","TrigExpand","TrigFactor","TrigFactorList","Trigger","TrigReduce","TrigToExp","TrimmedMean","TrimmedVariance","TropicalStormData","True","TrueQ","TruncatedDistribution","TruncatedPolyhedron","TsallisQExponentialDistribution","TsallisQGaussianDistribution","TTest","Tube","TubeBezierCurveBox","TubeBezierCurveBoxOptions","TubeBox","TubeBoxOptions","TubeBSplineCurveBox","TubeBSplineCurveBoxOptions","Tuesday","TukeyLambdaDistribution","TukeyWindow","TunnelData","Tuples","TuranGraph","TuringMachine","TuttePolynomial","TwoWayRule","Typed","TypeDeclaration","TypeEvaluate","TypeHint","TypeOf","TypeSpecifier","UnateQ","Uncompress","UnconstrainedParameters","Undefined","UnderBar","Underflow","Underlined","Underoverscript","UnderoverscriptBox","UnderoverscriptBoxOptions","Underscript","UnderscriptBox","UnderscriptBoxOptions","UnderseaFeatureData","UndirectedEdge","UndirectedGraph","UndirectedGraphQ","UndoOptions","UndoTrackedVariables","Unequal","UnequalTo","Unevaluated","UniformDistribution","UniformGraphDistribution","UniformPolyhedron","UniformSumDistribution","Uninstall","Union","UnionedEntityClass","UnionPlus","Unique","UniqueElements","UnitaryMatrixQ","UnitBox","UnitConvert","UnitDimensions","Unitize","UnitRootTest","UnitSimplify","UnitStep","UnitSystem","UnitTriangle","UnitVector","UnitVectorLayer","UnityDimensions","UniverseModelData","UniversityData","UnixTime","UnlabeledTree","UnmanageObject","Unprotect","UnregisterExternalEvaluator","UnsameQ","UnsavedVariables","Unset","UnsetShared","Until","UntrackedVariables","Up","UpArrow","UpArrowBar","UpArrowDownArrow","Update","UpdateDynamicObjects","UpdateDynamicObjectsSynchronous","UpdateInterval","UpdatePacletSites","UpdateSearchIndex","UpDownArrow","UpEquilibrium","UpperCaseQ","UpperLeftArrow","UpperRightArrow","UpperTriangularize","UpperTriangularMatrix","UpperTriangularMatrixQ","Upsample","UpSet","UpSetDelayed","UpTee","UpTeeArrow","UpTo","UpValues","URL","URLBuild","URLDecode","URLDispatcher","URLDownload","URLDownloadSubmit","URLEncode","URLExecute","URLExpand","URLFetch","URLFetchAsynchronous","URLParse","URLQueryDecode","URLQueryEncode","URLRead","URLResponseTime","URLSave","URLSaveAsynchronous","URLShorten","URLSubmit","UseEmbeddedLibrary","UseGraphicsRange","UserDefinedWavelet","Using","UsingFrontEnd","UtilityFunction","V2Get","ValenceErrorHandling","ValenceFilling","ValidationLength","ValidationSet","ValueBox","ValueBoxOptions","ValueDimensions","ValueForm","ValuePreprocessingFunction","ValueQ","Values","ValuesData","VandermondeMatrix","Variables","Variance","VarianceEquivalenceTest","VarianceEstimatorFunction","VarianceGammaDistribution","VarianceGammaPointProcess","VarianceTest","VariogramFunction","VariogramModel","VectorAngle","VectorAround","VectorAspectRatio","VectorColorFunction","VectorColorFunctionScaling","VectorDensityPlot","VectorDisplacementPlot","VectorDisplacementPlot3D","VectorGlyphData","VectorGreater","VectorGreaterEqual","VectorLess","VectorLessEqual","VectorMarkers","VectorPlot","VectorPlot3D","VectorPoints","VectorQ","VectorRange","Vectors","VectorScale","VectorScaling","VectorSizes","VectorStyle","Vee","Verbatim","Verbose","VerificationTest","VerifyConvergence","VerifyDerivedKey","VerifyDigitalSignature","VerifyFileSignature","VerifyInterpretation","VerifySecurityCertificates","VerifySolutions","VerifyTestAssumptions","VersionedPreferences","VertexAdd","VertexCapacity","VertexChromaticNumber","VertexColors","VertexComponent","VertexConnectivity","VertexContract","VertexCoordinateRules","VertexCoordinates","VertexCorrelationSimilarity","VertexCosineSimilarity","VertexCount","VertexCoverQ","VertexDataCoordinates","VertexDegree","VertexDelete","VertexDiceSimilarity","VertexEccentricity","VertexInComponent","VertexInComponentGraph","VertexInDegree","VertexIndex","VertexJaccardSimilarity","VertexLabeling","VertexLabels","VertexLabelStyle","VertexList","VertexNormals","VertexOutComponent","VertexOutComponentGraph","VertexOutDegree","VertexQ","VertexRenderingFunction","VertexReplace","VertexShape","VertexShapeFunction","VertexSize","VertexStyle","VertexTextureCoordinates","VertexTransitiveGraphQ","VertexWeight","VertexWeightedGraphQ","Vertical","VerticalBar","VerticalForm","VerticalGauge","VerticalSeparator","VerticalSlider","VerticalTilde","Video","VideoCapture","VideoCombine","VideoDelete","VideoEncoding","VideoExtractFrames","VideoFrameList","VideoFrameMap","VideoGenerator","VideoInsert","VideoIntervals","VideoJoin","VideoMap","VideoMapList","VideoMapTimeSeries","VideoPadding","VideoPause","VideoPlay","VideoQ","VideoRecord","VideoReplace","VideoScreenCapture","VideoSplit","VideoStop","VideoStream","VideoStreams","VideoTimeStretch","VideoTrackSelection","VideoTranscode","VideoTransparency","VideoTrim","ViewAngle","ViewCenter","ViewMatrix","ViewPoint","ViewPointSelectorSettings","ViewPort","ViewProjection","ViewRange","ViewVector","ViewVertical","VirtualGroupData","Visible","VisibleCell","VoiceStyleData","VoigtDistribution","VolcanoData","Volume","VonMisesDistribution","VoronoiMesh","WaitAll","WaitAsynchronousTask","WaitNext","WaitUntil","WakebyDistribution","WalleniusHypergeometricDistribution","WaringYuleDistribution","WarpingCorrespondence","WarpingDistance","WatershedComponents","WatsonUSquareTest","WattsStrogatzGraphDistribution","WaveletBestBasis","WaveletFilterCoefficients","WaveletImagePlot","WaveletListPlot","WaveletMapIndexed","WaveletMatrixPlot","WaveletPhi","WaveletPsi","WaveletScale","WaveletScalogram","WaveletThreshold","WavePDEComponent","WeaklyConnectedComponents","WeaklyConnectedGraphComponents","WeaklyConnectedGraphQ","WeakStationarity","WeatherData","WeatherForecastData","WebAudioSearch","WebColumn","WebElementObject","WeberE","WebExecute","WebImage","WebImageSearch","WebItem","WebPageMetaInformation","WebRow","WebSearch","WebSessionObject","WebSessions","WebWindowObject","Wedge","Wednesday","WeibullDistribution","WeierstrassE1","WeierstrassE2","WeierstrassE3","WeierstrassEta1","WeierstrassEta2","WeierstrassEta3","WeierstrassHalfPeriods","WeierstrassHalfPeriodW1","WeierstrassHalfPeriodW2","WeierstrassHalfPeriodW3","WeierstrassInvariantG2","WeierstrassInvariantG3","WeierstrassInvariants","WeierstrassP","WeierstrassPPrime","WeierstrassSigma","WeierstrassZeta","WeightedAdjacencyGraph","WeightedAdjacencyMatrix","WeightedData","WeightedGraphQ","Weights","WelchWindow","WheelGraph","WhenEvent","Which","While","White","WhiteNoiseProcess","WhitePoint","Whitespace","WhitespaceCharacter","WhittakerM","WhittakerW","WholeCellGroupOpener","WienerFilter","WienerProcess","WignerD","WignerSemicircleDistribution","WikidataData","WikidataSearch","WikipediaData","WikipediaSearch","WilksW","WilksWTest","WindDirectionData","WindingCount","WindingPolygon","WindowClickSelect","WindowElements","WindowFloating","WindowFrame","WindowFrameElements","WindowMargins","WindowMovable","WindowOpacity","WindowPersistentStyles","WindowSelected","WindowSize","WindowStatusArea","WindowTitle","WindowToolbars","WindowWidth","WindSpeedData","WindVectorData","WinsorizedMean","WinsorizedVariance","WishartMatrixDistribution","With","WithCleanup","WithLock","WolframAlpha","WolframAlphaDate","WolframAlphaQuantity","WolframAlphaResult","WolframCloudSettings","WolframLanguageData","Word","WordBoundary","WordCharacter","WordCloud","WordCount","WordCounts","WordData","WordDefinition","WordFrequency","WordFrequencyData","WordList","WordOrientation","WordSearch","WordSelectionFunction","WordSeparators","WordSpacings","WordStem","WordTranslation","WorkingPrecision","WrapAround","Write","WriteLine","WriteString","Wronskian","XMLElement","XMLObject","XMLTemplate","Xnor","Xor","XYZColor","Yellow","Yesterday","YuleDissimilarity","ZernikeR","ZeroSymmetric","ZeroTest","ZeroWidthTimes","Zeta","ZetaZero","ZIPCodeData","ZipfDistribution","ZoomCenter","ZoomFactor","ZTest","ZTransform","$Aborted","$ActivationGroupID","$ActivationKey","$ActivationUserRegistered","$AddOnsDirectory","$AllowDataUpdates","$AllowExternalChannelFunctions","$AllowInternet","$AssertFunction","$Assumptions","$AsynchronousTask","$AudioDecoders","$AudioEncoders","$AudioInputDevices","$AudioOutputDevices","$BaseDirectory","$BasePacletsDirectory","$BatchInput","$BatchOutput","$BlockchainBase","$BoxForms","$ByteOrdering","$CacheBaseDirectory","$Canceled","$ChannelBase","$CharacterEncoding","$CharacterEncodings","$CloudAccountName","$CloudBase","$CloudConnected","$CloudConnection","$CloudCreditsAvailable","$CloudEvaluation","$CloudExpressionBase","$CloudObjectNameFormat","$CloudObjectURLType","$CloudRootDirectory","$CloudSymbolBase","$CloudUserID","$CloudUserUUID","$CloudVersion","$CloudVersionNumber","$CloudWolframEngineVersionNumber","$CommandLine","$CompilationTarget","$CompilerEnvironment","$ConditionHold","$ConfiguredKernels","$Context","$ContextAliases","$ContextPath","$ControlActiveSetting","$Cookies","$CookieStore","$CreationDate","$CryptographicEllipticCurveNames","$CurrentLink","$CurrentTask","$CurrentWebSession","$DataStructures","$DateStringFormat","$DefaultAudioInputDevice","$DefaultAudioOutputDevice","$DefaultFont","$DefaultFrontEnd","$DefaultImagingDevice","$DefaultKernels","$DefaultLocalBase","$DefaultLocalKernel","$DefaultMailbox","$DefaultNetworkInterface","$DefaultPath","$DefaultProxyRules","$DefaultRemoteBatchSubmissionEnvironment","$DefaultRemoteKernel","$DefaultSystemCredentialStore","$Display","$DisplayFunction","$DistributedContexts","$DynamicEvaluation","$Echo","$EmbedCodeEnvironments","$EmbeddableServices","$EntityStores","$Epilog","$EvaluationCloudBase","$EvaluationCloudObject","$EvaluationEnvironment","$ExportFormats","$ExternalIdentifierTypes","$ExternalStorageBase","$Failed","$FinancialDataSource","$FontFamilies","$FormatType","$FrontEnd","$FrontEndSession","$GeneratedAssetLocation","$GeoEntityTypes","$GeoLocation","$GeoLocationCity","$GeoLocationCountry","$GeoLocationPrecision","$GeoLocationSource","$HistoryLength","$HomeDirectory","$HTMLExportRules","$HTTPCookies","$HTTPRequest","$IgnoreEOF","$ImageFormattingWidth","$ImageResolution","$ImagingDevice","$ImagingDevices","$ImportFormats","$IncomingMailSettings","$InitialDirectory","$Initialization","$InitializationContexts","$Input","$InputFileName","$InputStreamMethods","$Inspector","$InstallationDate","$InstallationDirectory","$InterfaceEnvironment","$InterpreterTypes","$IterationLimit","$KernelCount","$KernelID","$Language","$LaunchDirectory","$LibraryPath","$LicenseExpirationDate","$LicenseID","$LicenseProcesses","$LicenseServer","$LicenseSubprocesses","$LicenseType","$Line","$Linked","$LinkSupported","$LoadedFiles","$LocalBase","$LocalSymbolBase","$MachineAddresses","$MachineDomain","$MachineDomains","$MachineEpsilon","$MachineID","$MachineName","$MachinePrecision","$MachineType","$MaxDisplayedChildren","$MaxExtraPrecision","$MaxLicenseProcesses","$MaxLicenseSubprocesses","$MaxMachineNumber","$MaxNumber","$MaxPiecewiseCases","$MaxPrecision","$MaxRootDegree","$MessageGroups","$MessageList","$MessagePrePrint","$Messages","$MinMachineNumber","$MinNumber","$MinorReleaseNumber","$MinPrecision","$MobilePhone","$ModuleNumber","$NetworkConnected","$NetworkInterfaces","$NetworkLicense","$NewMessage","$NewSymbol","$NotebookInlineStorageLimit","$Notebooks","$NoValue","$NumberMarks","$Off","$OperatingSystem","$Output","$OutputForms","$OutputSizeLimit","$OutputStreamMethods","$Packages","$ParentLink","$ParentProcessID","$PasswordFile","$PatchLevelID","$Path","$PathnameSeparator","$PerformanceGoal","$Permissions","$PermissionsGroupBase","$PersistenceBase","$PersistencePath","$PipeSupported","$PlotTheme","$Post","$Pre","$PreferencesDirectory","$PreInitialization","$PrePrint","$PreRead","$PrintForms","$PrintLiteral","$Printout3DPreviewer","$ProcessID","$ProcessorCount","$ProcessorType","$ProductInformation","$ProgramName","$ProgressReporting","$PublisherID","$RandomGeneratorState","$RandomState","$RecursionLimit","$RegisteredDeviceClasses","$RegisteredUserName","$ReleaseNumber","$RequesterAddress","$RequesterCloudUserID","$RequesterCloudUserUUID","$RequesterWolframID","$RequesterWolframUUID","$ResourceSystemBase","$ResourceSystemPath","$RootDirectory","$ScheduledTask","$ScriptCommandLine","$ScriptInputString","$SecuredAuthenticationKeyTokens","$ServiceCreditsAvailable","$Services","$SessionID","$SetParentLink","$SharedFunctions","$SharedVariables","$SoundDisplay","$SoundDisplayFunction","$SourceLink","$SSHAuthentication","$SubtitleDecoders","$SubtitleEncoders","$SummaryBoxDataSizeLimit","$SuppressInputFormHeads","$SynchronousEvaluation","$SyntaxHandler","$System","$SystemCharacterEncoding","$SystemCredentialStore","$SystemID","$SystemMemory","$SystemShell","$SystemTimeZone","$SystemWordLength","$TargetSystems","$TemplatePath","$TemporaryDirectory","$TemporaryPrefix","$TestFileName","$TextStyle","$TimedOut","$TimeUnit","$TimeZone","$TimeZoneEntity","$TopDirectory","$TraceOff","$TraceOn","$TracePattern","$TracePostAction","$TracePreAction","$UnitSystem","$Urgent","$UserAddOnsDirectory","$UserAgentLanguages","$UserAgentMachine","$UserAgentName","$UserAgentOperatingSystem","$UserAgentString","$UserAgentVersion","$UserBaseDirectory","$UserBasePacletsDirectory","$UserDocumentsDirectory","$Username","$UserName","$UserURLBase","$Version","$VersionNumber","$VideoDecoders","$VideoEncoders","$VoiceStyles","$WolframDocumentsDirectory","$WolframID","$WolframUUID"];function Hx(t){const e=t.regex,n=/([2-9]|[1-2]\d|[3][0-5])\^\^/,r=/(\w*\.\w+|\w+\.\w*|\w+)/,i=/(\d*\.\d+|\d+\.\d*|\d+)/,o=e.either(e.concat(n,r),i),a=/``[+-]?(\d*\.\d+|\d+\.\d*|\d+)/,s=/`([+-]?(\d*\.\d+|\d+\.\d*|\d+))?/,l=e.either(a,s),c=/\*\^[+-]?\d+/,d={className:"number",relevance:0,begin:e.concat(o,e.optional(l),e.optional(c))},p=/[a-zA-Z$][a-zA-Z0-9$]*/,_=new Set(Ux),m={variants:[{className:"builtin-symbol",begin:p,"on:begin":(C,T)=>{_.has(C[0])||T.ignoreMatch()}},{className:"symbol",relevance:0,begin:p}]},f={className:"named-character",begin:/\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/},h={className:"operator",relevance:0,begin:/[+\-*/,;.:@~=><&|_`'^?!%]+/},E={className:"pattern",relevance:0,begin:/([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/},S={className:"slot",relevance:0,begin:/#[a-zA-Z$][a-zA-Z0-9$]*|#+[0-9]?/},b={className:"brace",relevance:0,begin:/[[\](){}]/},g={className:"message-name",relevance:0,begin:e.concat("::",p)};return{name:"Mathematica",aliases:["mma","wl"],classNameAliases:{brace:"punctuation",pattern:"type",slot:"type",symbol:"variable","named-character":"variable","builtin-symbol":"built_in","message-name":"string"},contains:[t.COMMENT(/\(\*/,/\*\)/,{contains:["self"]}),E,S,g,m,f,t.QUOTE_STRING_MODE,d,h,b]}}function Gx(t){const e="('|\\.')+",n={relevance:0,contains:[{begin:e}]};return{name:"Matlab",keywords:{keyword:"arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[t.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{className:"built_in",begin:/true|false/,relevance:0,starts:n},{begin:"[a-zA-Z][a-zA-Z_0-9]*"+e,relevance:0},{className:"number",begin:t.C_NUMBER_RE,relevance:0,starts:n},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:n},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}],starts:n},t.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),t.COMMENT("%","$")]}}function Vx(t){return{name:"Maxima",keywords:{$pattern:"[A-Za-z_%][0-9A-Za-z_%]*",keyword:"if then else elseif for thru do while unless step in and or not",literal:"true false unknown inf minf ind und %e %i %pi %phi %gamma",built_in:" abasep abs absint absolute_real_time acos acosh acot acoth acsc acsch activate addcol add_edge add_edges addmatrices addrow add_vertex add_vertices adjacency_matrix adjoin adjoint af agd airy airy_ai airy_bi airy_dai airy_dbi algsys alg_type alias allroots alphacharp alphanumericp amortization %and annuity_fv annuity_pv antid antidiff AntiDifference append appendfile apply apply1 apply2 applyb1 apropos args arit_amortization arithmetic arithsum array arrayapply arrayinfo arraymake arraysetapply ascii asec asech asin asinh askinteger asksign assoc assoc_legendre_p assoc_legendre_q assume assume_external_byte_order asympa at atan atan2 atanh atensimp atom atvalue augcoefmatrix augmented_lagrangian_method av average_degree backtrace bars barsplot barsplot_description base64 base64_decode bashindices batch batchload bc2 bdvac belln benefit_cost bern bernpoly bernstein_approx bernstein_expand bernstein_poly bessel bessel_i bessel_j bessel_k bessel_simplify bessel_y beta beta_incomplete beta_incomplete_generalized beta_incomplete_regularized bezout bfallroots bffac bf_find_root bf_fmin_cobyla bfhzeta bfloat bfloatp bfpsi bfpsi0 bfzeta biconnected_components bimetric binomial bipartition block blockmatrixp bode_gain bode_phase bothcoef box boxplot boxplot_description break bug_report build_info|10 buildq build_sample burn cabs canform canten cardinality carg cartan cartesian_product catch cauchy_matrix cbffac cdf_bernoulli cdf_beta cdf_binomial cdf_cauchy cdf_chi2 cdf_continuous_uniform cdf_discrete_uniform cdf_exp cdf_f cdf_gamma cdf_general_finite_discrete cdf_geometric cdf_gumbel cdf_hypergeometric cdf_laplace cdf_logistic cdf_lognormal cdf_negative_binomial cdf_noncentral_chi2 cdf_noncentral_student_t cdf_normal cdf_pareto cdf_poisson cdf_rank_sum cdf_rayleigh cdf_signed_rank cdf_student_t cdf_weibull cdisplay ceiling central_moment cequal cequalignore cf cfdisrep cfexpand cgeodesic cgreaterp cgreaterpignore changename changevar chaosgame charat charfun charfun2 charlist charp charpoly chdir chebyshev_t chebyshev_u checkdiv check_overlaps chinese cholesky christof chromatic_index chromatic_number cint circulant_graph clear_edge_weight clear_rules clear_vertex_label clebsch_gordan clebsch_graph clessp clesspignore close closefile cmetric coeff coefmatrix cograd col collapse collectterms columnop columnspace columnswap columnvector combination combine comp2pui compare compfile compile compile_file complement_graph complete_bipartite_graph complete_graph complex_number_p components compose_functions concan concat conjugate conmetderiv connected_components connect_vertices cons constant constantp constituent constvalue cont2part content continuous_freq contortion contour_plot contract contract_edge contragrad contrib_ode convert coord copy copy_file copy_graph copylist copymatrix cor cos cosh cot coth cov cov1 covdiff covect covers crc24sum create_graph create_list csc csch csetup cspline ctaylor ct_coordsys ctransform ctranspose cube_graph cuboctahedron_graph cunlisp cv cycle_digraph cycle_graph cylindrical days360 dblint deactivate declare declare_constvalue declare_dimensions declare_fundamental_dimensions declare_fundamental_units declare_qty declare_translated declare_unit_conversion declare_units declare_weights decsym defcon define define_alt_display define_variable defint defmatch defrule defstruct deftaylor degree_sequence del delete deleten delta demo demoivre denom depends derivdegree derivlist describe desolve determinant dfloat dgauss_a dgauss_b dgeev dgemm dgeqrf dgesv dgesvd diag diagmatrix diag_matrix diagmatrixp diameter diff digitcharp dimacs_export dimacs_import dimension dimensionless dimensions dimensions_as_list direct directory discrete_freq disjoin disjointp disolate disp dispcon dispform dispfun dispJordan display disprule dispterms distrib divide divisors divsum dkummer_m dkummer_u dlange dodecahedron_graph dotproduct dotsimp dpart draw draw2d draw3d drawdf draw_file draw_graph dscalar echelon edge_coloring edge_connectivity edges eigens_by_jacobi eigenvalues eigenvectors eighth einstein eivals eivects elapsed_real_time elapsed_run_time ele2comp ele2polynome ele2pui elem elementp elevation_grid elim elim_allbut eliminate eliminate_using ellipse elliptic_e elliptic_ec elliptic_eu elliptic_f elliptic_kc elliptic_pi ematrix empty_graph emptyp endcons entermatrix entertensor entier equal equalp equiv_classes erf erfc erf_generalized erfi errcatch error errormsg errors euler ev eval_string evenp every evolution evolution2d evundiff example exp expand expandwrt expandwrt_factored expint expintegral_chi expintegral_ci expintegral_e expintegral_e1 expintegral_ei expintegral_e_simplify expintegral_li expintegral_shi expintegral_si explicit explose exponentialize express expt exsec extdiff extract_linear_equations extremal_subset ezgcd %f f90 facsum factcomb factor factorfacsum factorial factorout factorsum facts fast_central_elements fast_linsolve fasttimes featurep fernfale fft fib fibtophi fifth filename_merge file_search file_type fillarray findde find_root find_root_abs find_root_error find_root_rel first fix flatten flength float floatnump floor flower_snark flush flush1deriv flushd flushnd flush_output fmin_cobyla forget fortran fourcos fourexpand fourier fourier_elim fourint fourintcos fourintsin foursimp foursin fourth fposition frame_bracket freeof freshline fresnel_c fresnel_s from_adjacency_matrix frucht_graph full_listify fullmap fullmapl fullratsimp fullratsubst fullsetify funcsolve fundamental_dimensions fundamental_units fundef funmake funp fv g0 g1 gamma gamma_greek gamma_incomplete gamma_incomplete_generalized gamma_incomplete_regularized gauss gauss_a gauss_b gaussprob gcd gcdex gcdivide gcfac gcfactor gd generalized_lambert_w genfact gen_laguerre genmatrix gensym geo_amortization geo_annuity_fv geo_annuity_pv geomap geometric geometric_mean geosum get getcurrentdirectory get_edge_weight getenv get_lu_factors get_output_stream_string get_pixel get_plot_option get_tex_environment get_tex_environment_default get_vertex_label gfactor gfactorsum ggf girth global_variances gn gnuplot_close gnuplot_replot gnuplot_reset gnuplot_restart gnuplot_start go Gosper GosperSum gr2d gr3d gradef gramschmidt graph6_decode graph6_encode graph6_export graph6_import graph_center graph_charpoly graph_eigenvalues graph_flow graph_order graph_periphery graph_product graph_size graph_union great_rhombicosidodecahedron_graph great_rhombicuboctahedron_graph grid_graph grind grobner_basis grotzch_graph hamilton_cycle hamilton_path hankel hankel_1 hankel_2 harmonic harmonic_mean hav heawood_graph hermite hessian hgfred hilbertmap hilbert_matrix hipow histogram histogram_description hodge horner hypergeometric i0 i1 %ibes ic1 ic2 ic_convert ichr1 ichr2 icosahedron_graph icosidodecahedron_graph icurvature ident identfor identity idiff idim idummy ieqn %if ifactors iframes ifs igcdex igeodesic_coords ilt image imagpart imetric implicit implicit_derivative implicit_plot indexed_tensor indices induced_subgraph inferencep inference_result infix info_display init_atensor init_ctensor in_neighbors innerproduct inpart inprod inrt integerp integer_partitions integrate intersect intersection intervalp intopois intosum invariant1 invariant2 inverse_fft inverse_jacobi_cd inverse_jacobi_cn inverse_jacobi_cs inverse_jacobi_dc inverse_jacobi_dn inverse_jacobi_ds inverse_jacobi_nc inverse_jacobi_nd inverse_jacobi_ns inverse_jacobi_sc inverse_jacobi_sd inverse_jacobi_sn invert invert_by_adjoint invert_by_lu inv_mod irr is is_biconnected is_bipartite is_connected is_digraph is_edge_in_graph is_graph is_graph_or_digraph ishow is_isomorphic isolate isomorphism is_planar isqrt isreal_p is_sconnected is_tree is_vertex_in_graph items_inference %j j0 j1 jacobi jacobian jacobi_cd jacobi_cn jacobi_cs jacobi_dc jacobi_dn jacobi_ds jacobi_nc jacobi_nd jacobi_ns jacobi_p jacobi_sc jacobi_sd jacobi_sn JF jn join jordan julia julia_set julia_sin %k kdels kdelta kill killcontext kostka kron_delta kronecker_product kummer_m kummer_u kurtosis kurtosis_bernoulli kurtosis_beta kurtosis_binomial kurtosis_chi2 kurtosis_continuous_uniform kurtosis_discrete_uniform kurtosis_exp kurtosis_f kurtosis_gamma kurtosis_general_finite_discrete kurtosis_geometric kurtosis_gumbel kurtosis_hypergeometric kurtosis_laplace kurtosis_logistic kurtosis_lognormal kurtosis_negative_binomial kurtosis_noncentral_chi2 kurtosis_noncentral_student_t kurtosis_normal kurtosis_pareto kurtosis_poisson kurtosis_rayleigh kurtosis_student_t kurtosis_weibull label labels lagrange laguerre lambda lambert_w laplace laplacian_matrix last lbfgs lc2kdt lcharp lc_l lcm lc_u ldefint ldisp ldisplay legendre_p legendre_q leinstein length let letrules letsimp levi_civita lfreeof lgtreillis lhs li liediff limit Lindstedt linear linearinterpol linear_program linear_regression line_graph linsolve listarray list_correlations listify list_matrix_entries list_nc_monomials listoftens listofvars listp lmax lmin load loadfile local locate_matrix_entry log logcontract log_gamma lopow lorentz_gauge lowercasep lpart lratsubst lreduce lriemann lsquares_estimates lsquares_estimates_approximate lsquares_estimates_exact lsquares_mse lsquares_residual_mse lsquares_residuals lsum ltreillis lu_backsub lucas lu_factor %m macroexpand macroexpand1 make_array makebox makefact makegamma make_graph make_level_picture makelist makeOrders make_poly_continent make_poly_country make_polygon make_random_state make_rgb_picture makeset make_string_input_stream make_string_output_stream make_transform mandelbrot mandelbrot_set map mapatom maplist matchdeclare matchfix mat_cond mat_fullunblocker mat_function mathml_display mat_norm matrix matrixmap matrixp matrix_size mattrace mat_trace mat_unblocker max max_clique max_degree max_flow maximize_lp max_independent_set max_matching maybe md5sum mean mean_bernoulli mean_beta mean_binomial mean_chi2 mean_continuous_uniform mean_deviation mean_discrete_uniform mean_exp mean_f mean_gamma mean_general_finite_discrete mean_geometric mean_gumbel mean_hypergeometric mean_laplace mean_logistic mean_lognormal mean_negative_binomial mean_noncentral_chi2 mean_noncentral_student_t mean_normal mean_pareto mean_poisson mean_rayleigh mean_student_t mean_weibull median median_deviation member mesh metricexpandall mgf1_sha1 min min_degree min_edge_cut minfactorial minimalPoly minimize_lp minimum_spanning_tree minor minpack_lsquares minpack_solve min_vertex_cover min_vertex_cut mkdir mnewton mod mode_declare mode_identity ModeMatrix moebius mon2schur mono monomial_dimensions multibernstein_poly multi_display_for_texinfo multi_elem multinomial multinomial_coeff multi_orbit multiplot_mode multi_pui multsym multthru mycielski_graph nary natural_unit nc_degree ncexpt ncharpoly negative_picture neighbors new newcontext newdet new_graph newline newton new_variable next_prime nicedummies niceindices ninth nofix nonarray noncentral_moment nonmetricity nonnegintegerp nonscalarp nonzeroandfreeof notequal nounify nptetrad npv nroots nterms ntermst nthroot nullity nullspace num numbered_boundaries numberp number_to_octets num_distinct_partitions numerval numfactor num_partitions nusum nzeta nzetai nzetar octets_to_number octets_to_oid odd_girth oddp ode2 ode_check odelin oid_to_octets op opena opena_binary openr openr_binary openw openw_binary operatorp opsubst optimize %or orbit orbits ordergreat ordergreatp orderless orderlessp orthogonal_complement orthopoly_recur orthopoly_weight outermap out_neighbors outofpois pade parabolic_cylinder_d parametric parametric_surface parg parGosper parse_string parse_timedate part part2cont partfrac partition partition_set partpol path_digraph path_graph pathname_directory pathname_name pathname_type pdf_bernoulli pdf_beta pdf_binomial pdf_cauchy pdf_chi2 pdf_continuous_uniform pdf_discrete_uniform pdf_exp pdf_f pdf_gamma pdf_general_finite_discrete pdf_geometric pdf_gumbel pdf_hypergeometric pdf_laplace pdf_logistic pdf_lognormal pdf_negative_binomial pdf_noncentral_chi2 pdf_noncentral_student_t pdf_normal pdf_pareto pdf_poisson pdf_rank_sum pdf_rayleigh pdf_signed_rank pdf_student_t pdf_weibull pearson_skewness permanent permut permutation permutations petersen_graph petrov pickapart picture_equalp picturep piechart piechart_description planar_embedding playback plog plot2d plot3d plotdf ploteq plsquares pochhammer points poisdiff poisexpt poisint poismap poisplus poissimp poissubst poistimes poistrim polar polarform polartorect polar_to_xy poly_add poly_buchberger poly_buchberger_criterion poly_colon_ideal poly_content polydecomp poly_depends_p poly_elimination_ideal poly_exact_divide poly_expand poly_expt poly_gcd polygon poly_grobner poly_grobner_equal poly_grobner_member poly_grobner_subsetp poly_ideal_intersection poly_ideal_polysaturation poly_ideal_polysaturation1 poly_ideal_saturation poly_ideal_saturation1 poly_lcm poly_minimization polymod poly_multiply polynome2ele polynomialp poly_normal_form poly_normalize poly_normalize_list poly_polysaturation_extension poly_primitive_part poly_pseudo_divide poly_reduced_grobner poly_reduction poly_saturation_extension poly_s_polynomial poly_subtract polytocompanion pop postfix potential power_mod powerseries powerset prefix prev_prime primep primes principal_components print printf printfile print_graph printpois printprops prodrac product properties propvars psi psubst ptriangularize pui pui2comp pui2ele pui2polynome pui_direct puireduc push put pv qput qrange qty quad_control quad_qag quad_qagi quad_qagp quad_qags quad_qawc quad_qawf quad_qawo quad_qaws quadrilateral quantile quantile_bernoulli quantile_beta quantile_binomial quantile_cauchy quantile_chi2 quantile_continuous_uniform quantile_discrete_uniform quantile_exp quantile_f quantile_gamma quantile_general_finite_discrete quantile_geometric quantile_gumbel quantile_hypergeometric quantile_laplace quantile_logistic quantile_lognormal quantile_negative_binomial quantile_noncentral_chi2 quantile_noncentral_student_t quantile_normal quantile_pareto quantile_poisson quantile_rayleigh quantile_student_t quantile_weibull quartile_skewness quit qunit quotient racah_v racah_w radcan radius random random_bernoulli random_beta random_binomial random_bipartite_graph random_cauchy random_chi2 random_continuous_uniform random_digraph random_discrete_uniform random_exp random_f random_gamma random_general_finite_discrete random_geometric random_graph random_graph1 random_gumbel random_hypergeometric random_laplace random_logistic random_lognormal random_negative_binomial random_network random_noncentral_chi2 random_noncentral_student_t random_normal random_pareto random_permutation random_poisson random_rayleigh random_regular_graph random_student_t random_tournament random_tree random_weibull range rank rat ratcoef ratdenom ratdiff ratdisrep ratexpand ratinterpol rational rationalize ratnumer ratnump ratp ratsimp ratsubst ratvars ratweight read read_array read_binary_array read_binary_list read_binary_matrix readbyte readchar read_hashed_array readline read_list read_matrix read_nested_list readonly read_xpm real_imagpart_to_conjugate realpart realroots rearray rectangle rectform rectform_log_if_constant recttopolar rediff reduce_consts reduce_order region region_boundaries region_boundaries_plus rem remainder remarray rembox remcomps remcon remcoord remfun remfunction remlet remove remove_constvalue remove_dimensions remove_edge remove_fundamental_dimensions remove_fundamental_units remove_plot_option remove_vertex rempart remrule remsym remvalue rename rename_file reset reset_displays residue resolvante resolvante_alternee1 resolvante_bipartite resolvante_diedrale resolvante_klein resolvante_klein3 resolvante_produit_sym resolvante_unitaire resolvante_vierer rest resultant return reveal reverse revert revert2 rgb2level rhs ricci riemann rinvariant risch rk rmdir rncombine romberg room rootscontract round row rowop rowswap rreduce run_testsuite %s save saving scalarp scaled_bessel_i scaled_bessel_i0 scaled_bessel_i1 scalefactors scanmap scatterplot scatterplot_description scene schur2comp sconcat scopy scsimp scurvature sdowncase sec sech second sequal sequalignore set_alt_display setdifference set_draw_defaults set_edge_weight setelmx setequalp setify setp set_partitions set_plot_option set_prompt set_random_state set_tex_environment set_tex_environment_default setunits setup_autoload set_up_dot_simplifications set_vertex_label seventh sexplode sf sha1sum sha256sum shortest_path shortest_weighted_path show showcomps showratvars sierpinskiale sierpinskimap sign signum similaritytransform simp_inequality simplify_sum simplode simpmetderiv simtran sin sinh sinsert sinvertcase sixth skewness skewness_bernoulli skewness_beta skewness_binomial skewness_chi2 skewness_continuous_uniform skewness_discrete_uniform skewness_exp skewness_f skewness_gamma skewness_general_finite_discrete skewness_geometric skewness_gumbel skewness_hypergeometric skewness_laplace skewness_logistic skewness_lognormal skewness_negative_binomial skewness_noncentral_chi2 skewness_noncentral_student_t skewness_normal skewness_pareto skewness_poisson skewness_rayleigh skewness_student_t skewness_weibull slength smake small_rhombicosidodecahedron_graph small_rhombicuboctahedron_graph smax smin smismatch snowmap snub_cube_graph snub_dodecahedron_graph solve solve_rec solve_rec_rat some somrac sort sparse6_decode sparse6_encode sparse6_export sparse6_import specint spherical spherical_bessel_j spherical_bessel_y spherical_hankel1 spherical_hankel2 spherical_harmonic spherical_to_xyz splice split sposition sprint sqfr sqrt sqrtdenest sremove sremovefirst sreverse ssearch ssort sstatus ssubst ssubstfirst staircase standardize standardize_inverse_trig starplot starplot_description status std std1 std_bernoulli std_beta std_binomial std_chi2 std_continuous_uniform std_discrete_uniform std_exp std_f std_gamma std_general_finite_discrete std_geometric std_gumbel std_hypergeometric std_laplace std_logistic std_lognormal std_negative_binomial std_noncentral_chi2 std_noncentral_student_t std_normal std_pareto std_poisson std_rayleigh std_student_t std_weibull stemplot stirling stirling1 stirling2 strim striml strimr string stringout stringp strong_components struve_h struve_l sublis sublist sublist_indices submatrix subsample subset subsetp subst substinpart subst_parallel substpart substring subvar subvarp sum sumcontract summand_to_rec supcase supcontext symbolp symmdifference symmetricp system take_channel take_inference tan tanh taylor taylorinfo taylorp taylor_simplifier taytorat tcl_output tcontract tellrat tellsimp tellsimpafter tentex tenth test_mean test_means_difference test_normality test_proportion test_proportions_difference test_rank_sum test_sign test_signed_rank test_variance test_variance_ratio tex tex1 tex_display texput %th third throw time timedate timer timer_info tldefint tlimit todd_coxeter toeplitz tokens to_lisp topological_sort to_poly to_poly_solve totaldisrep totalfourier totient tpartpol trace tracematrix trace_options transform_sample translate translate_file transpose treefale tree_reduce treillis treinat triangle triangularize trigexpand trigrat trigreduce trigsimp trunc truncate truncated_cube_graph truncated_dodecahedron_graph truncated_icosahedron_graph truncated_tetrahedron_graph tr_warnings_get tube tutte_graph ueivects uforget ultraspherical underlying_graph undiff union unique uniteigenvectors unitp units unit_step unitvector unorder unsum untellrat untimer untrace uppercasep uricci uriemann uvect vandermonde_matrix var var1 var_bernoulli var_beta var_binomial var_chi2 var_continuous_uniform var_discrete_uniform var_exp var_f var_gamma var_general_finite_discrete var_geometric var_gumbel var_hypergeometric var_laplace var_logistic var_lognormal var_negative_binomial var_noncentral_chi2 var_noncentral_student_t var_normal var_pareto var_poisson var_rayleigh var_student_t var_weibull vector vectorpotential vectorsimp verbify vers vertex_coloring vertex_connectivity vertex_degree vertex_distance vertex_eccentricity vertex_in_degree vertex_out_degree vertices vertices_to_cycle vertices_to_path %w weyl wheel_graph wiener_index wigner_3j wigner_6j wigner_9j with_stdout write_binary_data writebyte write_data writefile wronskian xreduce xthru %y Zeilberger zeroequiv zerofor zeromatrix zeromatrixp zeta zgeev zheev zlange zn_add_table zn_carmichael_lambda zn_characteristic_factors zn_determinant zn_factor_generators zn_invert_by_lu zn_log zn_mult_table absboxchar activecontexts adapt_depth additive adim aform algebraic algepsilon algexact aliases allbut all_dotsimp_denoms allocation allsym alphabetic animation antisymmetric arrays askexp assume_pos assume_pos_pred assumescalar asymbol atomgrad atrig1 axes axis_3d axis_bottom axis_left axis_right axis_top azimuth background background_color backsubst berlefact bernstein_explicit besselexpand beta_args_sum_to_integer beta_expand bftorat bftrunc bindtest border boundaries_array box boxchar breakup %c capping cauchysum cbrange cbtics center cflength cframe_flag cnonmet_flag color color_bar color_bar_tics colorbox columns commutative complex cone context contexts contour contour_levels cosnpiflag ctaypov ctaypt ctayswitch ctayvar ct_coords ctorsion_flag ctrgsimp cube current_let_rule_package cylinder data_file_name debugmode decreasing default_let_rule_package delay dependencies derivabbrev derivsubst detout diagmetric diff dim dimensions dispflag display2d|10 display_format_internal distribute_over doallmxops domain domxexpt domxmxops domxnctimes dontfactor doscmxops doscmxplus dot0nscsimp dot0simp dot1simp dotassoc dotconstrules dotdistrib dotexptsimp dotident dotscrules draw_graph_program draw_realpart edge_color edge_coloring edge_partition edge_type edge_width %edispflag elevation %emode endphi endtheta engineering_format_floats enhanced3d %enumer epsilon_lp erfflag erf_representation errormsg error_size error_syms error_type %e_to_numlog eval even evenfun evflag evfun ev_point expandwrt_denom expintexpand expintrep expon expop exptdispflag exptisolate exptsubst facexpand facsum_combine factlim factorflag factorial_expand factors_only fb feature features file_name file_output_append file_search_demo file_search_lisp file_search_maxima|10 file_search_tests file_search_usage file_type_lisp file_type_maxima|10 fill_color fill_density filled_func fixed_vertices flipflag float2bf font font_size fortindent fortspaces fpprec fpprintprec functions gamma_expand gammalim gdet genindex gensumnum GGFCFMAX GGFINFINITY globalsolve gnuplot_command gnuplot_curve_styles gnuplot_curve_titles gnuplot_default_term_command gnuplot_dumb_term_command gnuplot_file_args gnuplot_file_name gnuplot_out_file gnuplot_pdf_term_command gnuplot_pm3d gnuplot_png_term_command gnuplot_postamble gnuplot_preamble gnuplot_ps_term_command gnuplot_svg_term_command gnuplot_term gnuplot_view_args Gosper_in_Zeilberger gradefs grid grid2d grind halfangles head_angle head_both head_length head_type height hypergeometric_representation %iargs ibase icc1 icc2 icounter idummyx ieqnprint ifb ifc1 ifc2 ifg ifgi ifr iframe_bracket_form ifri igeowedge_flag ikt1 ikt2 imaginary inchar increasing infeval infinity inflag infolists inm inmc1 inmc2 intanalysis integer integervalued integrate_use_rootsof integration_constant integration_constant_counter interpolate_color intfaclim ip_grid ip_grid_in irrational isolate_wrt_times iterations itr julia_parameter %k1 %k2 keepfloat key key_pos kinvariant kt label label_alignment label_orientation labels lassociative lbfgs_ncorrections lbfgs_nfeval_max leftjust legend letrat let_rule_packages lfg lg lhospitallim limsubst linear linear_solver linechar linel|10 linenum line_type linewidth line_width linsolve_params linsolvewarn lispdisp listarith listconstvars listdummyvars lmxchar load_pathname loadprint logabs logarc logcb logconcoeffp logexpand lognegint logsimp logx logx_secondary logy logy_secondary logz lriem m1pbranch macroexpansion macros mainvar manual_demo maperror mapprint matrix_element_add matrix_element_mult matrix_element_transpose maxapplydepth maxapplyheight maxima_tempdir|10 maxima_userdir|10 maxnegex MAX_ORD maxposex maxpsifracdenom maxpsifracnum maxpsinegint maxpsiposint maxtayorder mesh_lines_color method mod_big_prime mode_check_errorp mode_checkp mode_check_warnp mod_test mod_threshold modular_linear_solver modulus multiplicative multiplicities myoptions nary negdistrib negsumdispflag newline newtonepsilon newtonmaxiter nextlayerfactor niceindicespref nm nmc noeval nolabels nonegative_lp noninteger nonscalar noun noundisp nouns np npi nticks ntrig numer numer_pbranch obase odd oddfun opacity opproperties opsubst optimprefix optionset orientation origin orthopoly_returns_intervals outative outchar packagefile palette partswitch pdf_file pfeformat phiresolution %piargs piece pivot_count_sx pivot_max_sx plot_format plot_options plot_realpart png_file pochhammer_max_index points pointsize point_size points_joined point_type poislim poisson poly_coefficient_ring poly_elimination_order polyfactor poly_grobner_algorithm poly_grobner_debug poly_monomial_order poly_primary_elimination_order poly_return_term_list poly_secondary_elimination_order poly_top_reduction_only posfun position powerdisp pred prederror primep_number_of_tests product_use_gamma program programmode promote_float_to_bigfloat prompt proportional_axes props psexpand ps_file radexpand radius radsubstflag rassociative ratalgdenom ratchristof ratdenomdivide rateinstein ratepsilon ratfac rational ratmx ratprint ratriemann ratsimpexpons ratvarswitch ratweights ratweyl ratwtlvl real realonly redraw refcheck resolution restart resultant ric riem rmxchar %rnum_list rombergabs rombergit rombergmin rombergtol rootsconmode rootsepsilon run_viewer same_xy same_xyz savedef savefactors scalar scalarmatrixp scale scale_lp setcheck setcheckbreak setval show_edge_color show_edges show_edge_type show_edge_width show_id show_label showtime show_vertex_color show_vertex_size show_vertex_type show_vertices show_weight simp simplified_output simplify_products simpproduct simpsum sinnpiflag solvedecomposes solveexplicit solvefactors solvenullwarn solveradcan solvetrigwarn space sparse sphere spring_embedding_depth sqrtdispflag stardisp startphi starttheta stats_numer stringdisp structures style sublis_apply_lambda subnumsimp sumexpand sumsplitfact surface surface_hide svg_file symmetric tab taylordepth taylor_logexpand taylor_order_coefficients taylor_truncate_polynomials tensorkill terminal testsuite_files thetaresolution timer_devalue title tlimswitch tr track transcompile transform transform_xy translate_fast_arrays transparent transrun tr_array_as_ref tr_bound_function_applyp tr_file_tty_messagesp tr_float_can_branch_complex tr_function_call_default trigexpandplus trigexpandtimes triginverses trigsign trivial_solutions tr_numer tr_optimize_max_loop tr_semicompile tr_state_vars tr_warn_bad_function_calls tr_warn_fexpr tr_warn_meval tr_warn_mode tr_warn_undeclared tr_warn_undefined_variable tstep ttyoff tube_extremes ufg ug %unitexpand unit_vectors uric uriem use_fast_arrays user_preamble usersetunits values vect_cross verbose vertex_color vertex_coloring vertex_partition vertex_size vertex_type view warnings weyl width windowname windowtitle wired_surface wireframe xaxis xaxis_color xaxis_secondary xaxis_type xaxis_width xlabel xlabel_secondary xlength xrange xrange_secondary xtics xtics_axis xtics_rotate xtics_rotate_secondary xtics_secondary xtics_secondary_axis xu_grid x_voxel xy_file xyplane xy_scale yaxis yaxis_color yaxis_secondary yaxis_type yaxis_width ylabel ylabel_secondary ylength yrange yrange_secondary ytics ytics_axis ytics_rotate ytics_rotate_secondary ytics_secondary ytics_secondary_axis yv_grid y_voxel yx_ratio zaxis zaxis_color zaxis_type zaxis_width zeroa zerob zerobern zeta%pi zlabel zlabel_rotate zlength zmin zn_primroot_limit zn_primroot_pretest",symbol:"_ __ %|0 %%|0"},contains:[{className:"comment",begin:"/\\*",end:"\\*/",contains:["self"]},t.QUOTE_STRING_MODE,{className:"number",relevance:0,variants:[{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Ee][-+]?\\d+\\b"},{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Bb][-+]?\\d+\\b",relevance:10},{begin:"\\b(\\.\\d+|\\d+\\.\\d+)\\b"},{begin:"\\b(\\d+|0[0-9A-Za-z]+)\\.?\\b"}]}],illegal:/@/}}function Yx(t){return{name:"MEL",keywords:"int float string vector matrix if else switch case default while do for in break continue global proc return about abs addAttr addAttributeEditorNodeHelp addDynamic addNewShelfTab addPP addPanelCategory addPrefixToName advanceToNextDrivenKey affectedNet affects aimConstraint air alias aliasAttr align alignCtx alignCurve alignSurface allViewFit ambientLight angle angleBetween animCone animCurveEditor animDisplay animView annotate appendStringArray applicationName applyAttrPreset applyTake arcLenDimContext arcLengthDimension arclen arrayMapper art3dPaintCtx artAttrCtx artAttrPaintVertexCtx artAttrSkinPaintCtx artAttrTool artBuildPaintMenu artFluidAttrCtx artPuttyCtx artSelectCtx artSetPaintCtx artUserPaintCtx assignCommand assignInputDevice assignViewportFactories attachCurve attachDeviceAttr attachSurface attrColorSliderGrp attrCompatibility attrControlGrp attrEnumOptionMenu attrEnumOptionMenuGrp attrFieldGrp attrFieldSliderGrp attrNavigationControlGrp attrPresetEditWin attributeExists attributeInfo attributeMenu attributeQuery autoKeyframe autoPlace bakeClip bakeFluidShading bakePartialHistory bakeResults bakeSimulation basename basenameEx batchRender bessel bevel bevelPlus binMembership bindSkin blend2 blendShape blendShapeEditor blendShapePanel blendTwoAttr blindDataType boneLattice boundary boxDollyCtx boxZoomCtx bufferCurve buildBookmarkMenu buildKeyframeMenu button buttonManip CBG cacheFile cacheFileCombine cacheFileMerge cacheFileTrack camera cameraView canCreateManip canvas capitalizeString catch catchQuiet ceil changeSubdivComponentDisplayLevel changeSubdivRegion channelBox character characterMap characterOutlineEditor characterize chdir checkBox checkBoxGrp checkDefaultRenderGlobals choice circle circularFillet clamp clear clearCache clip clipEditor clipEditorCurrentTimeCtx clipSchedule clipSchedulerOutliner clipTrimBefore closeCurve closeSurface cluster cmdFileOutput cmdScrollFieldExecuter cmdScrollFieldReporter cmdShell coarsenSubdivSelectionList collision color colorAtPoint colorEditor colorIndex colorIndexSliderGrp colorSliderButtonGrp colorSliderGrp columnLayout commandEcho commandLine commandPort compactHairSystem componentEditor compositingInterop computePolysetVolume condition cone confirmDialog connectAttr connectControl connectDynamic connectJoint connectionInfo constrain constrainValue constructionHistory container containsMultibyte contextInfo control convertFromOldLayers convertIffToPsd convertLightmap convertSolidTx convertTessellation convertUnit copyArray copyFlexor copyKey copySkinWeights cos cpButton cpCache cpClothSet cpCollision cpConstraint cpConvClothToMesh cpForces cpGetSolverAttr cpPanel cpProperty cpRigidCollisionFilter cpSeam cpSetEdit cpSetSolverAttr cpSolver cpSolverTypes cpTool cpUpdateClothUVs createDisplayLayer createDrawCtx createEditor createLayeredPsdFile createMotionField createNewShelf createNode createRenderLayer createSubdivRegion cross crossProduct ctxAbort ctxCompletion ctxEditMode ctxTraverse currentCtx currentTime currentTimeCtx currentUnit curve curveAddPtCtx curveCVCtx curveEPCtx curveEditorCtx curveIntersect curveMoveEPCtx curveOnSurface curveSketchCtx cutKey cycleCheck cylinder dagPose date defaultLightListCheckBox defaultNavigation defineDataServer defineVirtualDevice deformer deg_to_rad delete deleteAttr deleteShadingGroupsAndMaterials deleteShelfTab deleteUI deleteUnusedBrushes delrandstr detachCurve detachDeviceAttr detachSurface deviceEditor devicePanel dgInfo dgdirty dgeval dgtimer dimWhen directKeyCtx directionalLight dirmap dirname disable disconnectAttr disconnectJoint diskCache displacementToPoly displayAffected displayColor displayCull displayLevelOfDetail displayPref displayRGBColor displaySmoothness displayStats displayString displaySurface distanceDimContext distanceDimension doBlur dolly dollyCtx dopeSheetEditor dot dotProduct doubleProfileBirailSurface drag dragAttrContext draggerContext dropoffLocator duplicate duplicateCurve duplicateSurface dynCache dynControl dynExport dynExpression dynGlobals dynPaintEditor dynParticleCtx dynPref dynRelEdPanel dynRelEditor dynamicLoad editAttrLimits editDisplayLayerGlobals editDisplayLayerMembers editRenderLayerAdjustment editRenderLayerGlobals editRenderLayerMembers editor editorTemplate effector emit emitter enableDevice encodeString endString endsWith env equivalent equivalentTol erf error eval evalDeferred evalEcho event exactWorldBoundingBox exclusiveLightCheckBox exec executeForEachObject exists exp expression expressionEditorListen extendCurve extendSurface extrude fcheck fclose feof fflush fgetline fgetword file fileBrowserDialog fileDialog fileExtension fileInfo filetest filletCurve filter filterCurve filterExpand filterStudioImport findAllIntersections findAnimCurves findKeyframe findMenuItem findRelatedSkinCluster finder firstParentOf fitBspline flexor floatEq floatField floatFieldGrp floatScrollBar floatSlider floatSlider2 floatSliderButtonGrp floatSliderGrp floor flow fluidCacheInfo fluidEmitter fluidVoxelInfo flushUndo fmod fontDialog fopen formLayout format fprint frameLayout fread freeFormFillet frewind fromNativePath fwrite gamma gauss geometryConstraint getApplicationVersionAsFloat getAttr getClassification getDefaultBrush getFileList getFluidAttr getInputDeviceRange getMayaPanelTypes getModifiers getPanel getParticleAttr getPluginResource getenv getpid glRender glRenderEditor globalStitch gmatch goal gotoBindPose grabColor gradientControl gradientControlNoAttr graphDollyCtx graphSelectContext graphTrackCtx gravity grid gridLayout group groupObjectsByName HfAddAttractorToAS HfAssignAS HfBuildEqualMap HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached HfSelectAttractors HfUnAssignAS hardenPointCurve hardware hardwareRenderPanel headsUpDisplay headsUpMessage help helpLine hermite hide hilite hitTest hotBox hotkey hotkeyCheck hsv_to_rgb hudButton hudSlider hudSliderButton hwReflectionMap hwRender hwRenderLoad hyperGraph hyperPanel hyperShade hypot iconTextButton iconTextCheckBox iconTextRadioButton iconTextRadioCollection iconTextScrollList iconTextStaticLabel ikHandle ikHandleCtx ikHandleDisplayScale ikSolver ikSplineHandleCtx ikSystem ikSystemInfo ikfkDisplayMethod illustratorCurves image imfPlugins inheritTransform insertJoint insertJointCtx insertKeyCtx insertKnotCurve insertKnotSurface instance instanceable instancer intField intFieldGrp intScrollBar intSlider intSliderGrp interToUI internalVar intersect iprEngine isAnimCurve isConnected isDirty isParentOf isSameObject isTrue isValidObjectName isValidString isValidUiName isolateSelect itemFilter itemFilterAttr itemFilterRender itemFilterType joint jointCluster jointCtx jointDisplayScale jointLattice keyTangent keyframe keyframeOutliner keyframeRegionCurrentTimeCtx keyframeRegionDirectKeyCtx keyframeRegionDollyCtx keyframeRegionInsertKeyCtx keyframeRegionMoveKeyCtx keyframeRegionScaleKeyCtx keyframeRegionSelectKeyCtx keyframeRegionSetKeyCtx keyframeRegionTrackCtx keyframeStats lassoContext lattice latticeDeformKeyCtx launch launchImageEditor layerButton layeredShaderPort layeredTexturePort layout layoutDialog lightList lightListEditor lightListPanel lightlink lineIntersection linearPrecision linstep listAnimatable listAttr listCameras listConnections listDeviceAttachments listHistory listInputDeviceAxes listInputDeviceButtons listInputDevices listMenuAnnotation listNodeTypes listPanelCategories listRelatives listSets listTransforms listUnselected listerEditor loadFluid loadNewShelf loadPlugin loadPluginLanguageResources loadPrefObjects localizedPanelLabel lockNode loft log longNameOf lookThru ls lsThroughFilter lsType lsUI Mayatomr mag makeIdentity makeLive makePaintable makeRoll makeSingleSurface makeTubeOn makebot manipMoveContext manipMoveLimitsCtx manipOptions manipRotateContext manipRotateLimitsCtx manipScaleContext manipScaleLimitsCtx marker match max memory menu menuBarLayout menuEditor menuItem menuItemToShelf menuSet menuSetPref messageLine min minimizeApp mirrorJoint modelCurrentTimeCtx modelEditor modelPanel mouse movIn movOut move moveIKtoFK moveKeyCtx moveVertexAlongDirection multiProfileBirailSurface mute nParticle nameCommand nameField namespace namespaceInfo newPanelItems newton nodeCast nodeIconButton nodeOutliner nodePreset nodeType noise nonLinear normalConstraint normalize nurbsBoolean nurbsCopyUVSet nurbsCube nurbsEditUV nurbsPlane nurbsSelect nurbsSquare nurbsToPoly nurbsToPolygonsPref nurbsToSubdiv nurbsToSubdivPref nurbsUVSet nurbsViewDirectionVector objExists objectCenter objectLayer objectType objectTypeUI obsoleteProc oceanNurbsPreviewPlane offsetCurve offsetCurveOnSurface offsetSurface openGLExtension openMayaPref optionMenu optionMenuGrp optionVar orbit orbitCtx orientConstraint outlinerEditor outlinerPanel overrideModifier paintEffectsDisplay pairBlend palettePort paneLayout panel panelConfiguration panelHistory paramDimContext paramDimension paramLocator parent parentConstraint particle particleExists particleInstancer particleRenderInfo partition pasteKey pathAnimation pause pclose percent performanceOptions pfxstrokes pickWalk picture pixelMove planarSrf plane play playbackOptions playblast plugAttr plugNode pluginInfo pluginResourceUtil pointConstraint pointCurveConstraint pointLight pointMatrixMult pointOnCurve pointOnSurface pointPosition poleVectorConstraint polyAppend polyAppendFacetCtx polyAppendVertex polyAutoProjection polyAverageNormal polyAverageVertex polyBevel polyBlendColor polyBlindData polyBoolOp polyBridgeEdge polyCacheMonitor polyCheck polyChipOff polyClipboard polyCloseBorder polyCollapseEdge polyCollapseFacet polyColorBlindData polyColorDel polyColorPerVertex polyColorSet polyCompare polyCone polyCopyUV polyCrease polyCreaseCtx polyCreateFacet polyCreateFacetCtx polyCube polyCut polyCutCtx polyCylinder polyCylindricalProjection polyDelEdge polyDelFacet polyDelVertex polyDuplicateAndConnect polyDuplicateEdge polyEditUV polyEditUVShell polyEvaluate polyExtrudeEdge polyExtrudeFacet polyExtrudeVertex polyFlipEdge polyFlipUV polyForceUV polyGeoSampler polyHelix polyInfo polyInstallAction polyLayoutUV polyListComponentConversion polyMapCut polyMapDel polyMapSew polyMapSewMove polyMergeEdge polyMergeEdgeCtx polyMergeFacet polyMergeFacetCtx polyMergeUV polyMergeVertex polyMirrorFace polyMoveEdge polyMoveFacet polyMoveFacetUV polyMoveUV polyMoveVertex polyNormal polyNormalPerVertex polyNormalizeUV polyOptUvs polyOptions polyOutput polyPipe polyPlanarProjection polyPlane polyPlatonicSolid polyPoke polyPrimitive polyPrism polyProjection polyPyramid polyQuad polyQueryBlindData polyReduce polySelect polySelectConstraint polySelectConstraintMonitor polySelectCtx polySelectEditCtx polySeparate polySetToFaceNormal polySewEdge polyShortestPathCtx polySmooth polySoftEdge polySphere polySphericalProjection polySplit polySplitCtx polySplitEdge polySplitRing polySplitVertex polyStraightenUVBorder polySubdivideEdge polySubdivideFacet polyToSubdiv polyTorus polyTransfer polyTriangulate polyUVSet polyUnite polyWedgeFace popen popupMenu pose pow preloadRefEd print progressBar progressWindow projFileViewer projectCurve projectTangent projectionContext projectionManip promptDialog propModCtx propMove psdChannelOutliner psdEditTextureFile psdExport psdTextureFile putenv pwd python querySubdiv quit rad_to_deg radial radioButton radioButtonGrp radioCollection radioMenuItemCollection rampColorPort rand randomizeFollicles randstate rangeControl readTake rebuildCurve rebuildSurface recordAttr recordDevice redo reference referenceEdit referenceQuery refineSubdivSelectionList refresh refreshAE registerPluginResource rehash reloadImage removeJoint removeMultiInstance removePanelCategory rename renameAttr renameSelectionList renameUI render renderGlobalsNode renderInfo renderLayerButton renderLayerParent renderLayerPostProcess renderLayerUnparent renderManip renderPartition renderQualityNode renderSettings renderThumbnailUpdate renderWindowEditor renderWindowSelectContext renderer reorder reorderDeformers requires reroot resampleFluid resetAE resetPfxToPolyCamera resetTool resolutionNode retarget reverseCurve reverseSurface revolve rgb_to_hsv rigidBody rigidSolver roll rollCtx rootOf rot rotate rotationInterpolation roundConstantRadius rowColumnLayout rowLayout runTimeCommand runup sampleImage saveAllShelves saveAttrPreset saveFluid saveImage saveInitialState saveMenu savePrefObjects savePrefs saveShelf saveToolSettings scale scaleBrushBrightness scaleComponents scaleConstraint scaleKey scaleKeyCtx sceneEditor sceneUIReplacement scmh scriptCtx scriptEditorInfo scriptJob scriptNode scriptTable scriptToShelf scriptedPanel scriptedPanelType scrollField scrollLayout sculpt searchPathArray seed selLoadSettings select selectContext selectCurveCV selectKey selectKeyCtx selectKeyframeRegionCtx selectMode selectPref selectPriority selectType selectedNodes selectionConnection separator setAttr setAttrEnumResource setAttrMapping setAttrNiceNameResource setConstraintRestPosition setDefaultShadingGroup setDrivenKeyframe setDynamic setEditCtx setEditor setFluidAttr setFocus setInfinity setInputDeviceMapping setKeyCtx setKeyPath setKeyframe setKeyframeBlendshapeTargetWts setMenuMode setNodeNiceNameResource setNodeTypeFlag setParent setParticleAttr setPfxToPolyCamera setPluginResource setProject setStampDensity setStartupMessage setState setToolTo setUITemplate setXformManip sets shadingConnection shadingGeometryRelCtx shadingLightRelCtx shadingNetworkCompare shadingNode shapeCompare shelfButton shelfLayout shelfTabLayout shellField shortNameOf showHelp showHidden showManipCtx showSelectionInTitle showShadingGroupAttrEditor showWindow sign simplify sin singleProfileBirailSurface size sizeBytes skinCluster skinPercent smoothCurve smoothTangentSurface smoothstep snap2to2 snapKey snapMode snapTogetherCtx snapshot soft softMod softModCtx sort sound soundControl source spaceLocator sphere sphrand spotLight spotLightPreviewPort spreadSheetEditor spring sqrt squareSurface srtContext stackTrace startString startsWith stitchAndExplodeShell stitchSurface stitchSurfacePoints strcmp stringArrayCatenate stringArrayContains stringArrayCount stringArrayInsertAtIndex stringArrayIntersector stringArrayRemove stringArrayRemoveAtIndex stringArrayRemoveDuplicates stringArrayRemoveExact stringArrayToString stringToStringArray strip stripPrefixFromName stroke subdAutoProjection subdCleanTopology subdCollapse subdDuplicateAndConnect subdEditUV subdListComponentConversion subdMapCut subdMapSewMove subdMatchTopology subdMirror subdToBlind subdToPoly subdTransferUVsToCache subdiv subdivCrease subdivDisplaySmoothness substitute substituteAllString substituteGeometry substring surface surfaceSampler surfaceShaderList swatchDisplayPort switchTable symbolButton symbolCheckBox sysFile system tabLayout tan tangentConstraint texLatticeDeformContext texManipContext texMoveContext texMoveUVShellContext texRotateContext texScaleContext texSelectContext texSelectShortestPathCtx texSmudgeUVContext texWinToolCtx text textCurves textField textFieldButtonGrp textFieldGrp textManip textScrollList textToShelf textureDisplacePlane textureHairColor texturePlacementContext textureWindow threadCount threePointArcCtx timeControl timePort timerX toNativePath toggle toggleAxis toggleWindowVisibility tokenize tokenizeList tolerance tolower toolButton toolCollection toolDropped toolHasOptions toolPropertyWindow torus toupper trace track trackCtx transferAttributes transformCompare transformLimits translator trim trunc truncateFluidCache truncateHairCache tumble tumbleCtx turbulence twoPointArcCtx uiRes uiTemplate unassignInputDevice undo undoInfo ungroup uniform unit unloadPlugin untangleUV untitledFileName untrim upAxis updateAE userCtx uvLink uvSnapshot validateShelfName vectorize view2dToolCtx viewCamera viewClipPlane viewFit viewHeadOn viewLookAt viewManip viewPlace viewSet visor volumeAxis vortex waitCursor warning webBrowser webBrowserPrefs whatIs window windowPref wire wireContext workspace wrinkle wrinkleContext writeTake xbmLangPathList xform",illegal:""},{begin:"<=",relevance:0},{begin:"=>",relevance:0},{begin:"/\\\\"},{begin:"\\\\/"}]},{className:"built_in",variants:[{begin:":-\\|-->"},{begin:"=",relevance:0}]},n,t.C_BLOCK_COMMENT_MODE,r,t.NUMBER_MODE,i,o,{begin:/:-/},{begin:/\.$/}]}}function $x(t){return{name:"MIPS Assembly",case_insensitive:!0,aliases:["mips"],keywords:{$pattern:"\\.?"+t.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .ltorg ",built_in:"$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31 zero at v0 v1 a0 a1 a2 a3 a4 a5 a6 a7 t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 s0 s1 s2 s3 s4 s5 s6 s7 s8 k0 k1 gp sp fp ra $f0 $f1 $f2 $f2 $f4 $f5 $f6 $f7 $f8 $f9 $f10 $f11 $f12 $f13 $f14 $f15 $f16 $f17 $f18 $f19 $f20 $f21 $f22 $f23 $f24 $f25 $f26 $f27 $f28 $f29 $f30 $f31 Context Random EntryLo0 EntryLo1 Context PageMask Wired EntryHi HWREna BadVAddr Count Compare SR IntCtl SRSCtl SRSMap Cause EPC PRId EBase Config Config1 Config2 Config3 LLAddr Debug DEPC DESAVE CacheErr ECC ErrorEPC TagLo DataLo TagHi DataHi WatchLo WatchHi PerfCtl PerfCnt "},contains:[{className:"keyword",begin:"\\b(addi?u?|andi?|b(al)?|beql?|bgez(al)?l?|bgtzl?|blezl?|bltz(al)?l?|bnel?|cl[oz]|divu?|ext|ins|j(al)?|jalr(\\.hb)?|jr(\\.hb)?|lbu?|lhu?|ll|lui|lw[lr]?|maddu?|mfhi|mflo|movn|movz|move|msubu?|mthi|mtlo|mul|multu?|nop|nor|ori?|rotrv?|sb|sc|se[bh]|sh|sllv?|slti?u?|srav?|srlv?|subu?|sw[lr]?|xori?|wsbh|abs\\.[sd]|add\\.[sd]|alnv.ps|bc1[ft]l?|c\\.(s?f|un|u?eq|[ou]lt|[ou]le|ngle?|seq|l[et]|ng[et])\\.[sd]|(ceil|floor|round|trunc)\\.[lw]\\.[sd]|cfc1|cvt\\.d\\.[lsw]|cvt\\.l\\.[dsw]|cvt\\.ps\\.s|cvt\\.s\\.[dlw]|cvt\\.s\\.p[lu]|cvt\\.w\\.[dls]|div\\.[ds]|ldx?c1|luxc1|lwx?c1|madd\\.[sd]|mfc1|mov[fntz]?\\.[ds]|msub\\.[sd]|mth?c1|mul\\.[ds]|neg\\.[ds]|nmadd\\.[ds]|nmsub\\.[ds]|p[lu][lu]\\.ps|recip\\.fmt|r?sqrt\\.[ds]|sdx?c1|sub\\.[ds]|suxc1|swx?c1|break|cache|d?eret|[de]i|ehb|mfc0|mtc0|pause|prefx?|rdhwr|rdpgpr|sdbbp|ssnop|synci?|syscall|teqi?|tgei?u?|tlb(p|r|w[ir])|tlti?u?|tnei?|wait|wrpgpr)",end:"\\s"},t.COMMENT("[;#](?!\\s*$)","$"),t.C_BLOCK_COMMENT_MODE,t.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"0x[0-9a-f]+"},{begin:"\\b-?\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^\\s*[0-9]+:"},{begin:"[0-9]+[bf]"}],relevance:0}],illegal:/\//}}function qx(t){return{name:"Mizar",keywords:"environ vocabularies notations constructors definitions registrations theorems schemes requirements begin end definition registration cluster existence pred func defpred deffunc theorem proof let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from be being by means equals implies iff redefine define now not or attr is mode suppose per cases set thesis contradiction scheme reserve struct correctness compatibility coherence symmetry assymetry reflexivity irreflexivity connectedness uniqueness commutativity idempotence involutiveness projectivity",contains:[t.COMMENT("::","$")]}}function Wx(t){return{name:"Mojolicious",subLanguage:"xml",contains:[{className:"meta",begin:"^__(END|DATA)__$"},{begin:"^\\s*%{1,2}={0,2}",end:"$",subLanguage:"perl"},{begin:"<%{1,2}={0,2}",end:"={0,1}%>",subLanguage:"perl",excludeBegin:!0,excludeEnd:!0}]}}function Kx(t){const e={className:"number",relevance:0,variants:[{begin:"[$][a-fA-F0-9]+"},t.NUMBER_MODE]},n={variants:[{match:[/(function|method)/,/\s+/,t.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.function"}},r={variants:[{match:[/(class|interface|extends|implements)/,/\s+/,t.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.class"}};return{name:"Monkey",case_insensitive:!0,keywords:{keyword:["public","private","property","continue","exit","extern","new","try","catch","eachin","not","abstract","final","select","case","default","const","local","global","field","end","if","then","else","elseif","endif","while","wend","repeat","until","forever","for","to","step","next","return","module","inline","throw","import","and","or","shl","shr","mod"],built_in:["DebugLog","DebugStop","Error","Print","ACos","ACosr","ASin","ASinr","ATan","ATan2","ATan2r","ATanr","Abs","Abs","Ceil","Clamp","Clamp","Cos","Cosr","Exp","Floor","Log","Max","Max","Min","Min","Pow","Sgn","Sgn","Sin","Sinr","Sqrt","Tan","Tanr","Seed","PI","HALFPI","TWOPI"],literal:["true","false","null"]},illegal:/\/\*/,contains:[t.COMMENT("#rem","#end"),t.COMMENT("'","$",{relevance:0}),n,r,{className:"variable.language",begin:/\b(self|super)\b/},{className:"meta",begin:/\s*#/,end:"$",keywords:{keyword:"if else elseif endif end then"}},{match:[/^\s*/,/strict\b/],scope:{2:"meta"}},{beginKeywords:"alias",end:"=",contains:[t.UNDERSCORE_TITLE_MODE]},t.QUOTE_STRING_MODE,e]}}function Qx(t){const e={keyword:"if then not for in while do return else elseif break continue switch and or unless when class extends super local import export from using",literal:"true false nil",built_in:"_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug io math os package string table"},n="[A-Za-z$_][0-9A-Za-z$_]*",r={className:"subst",begin:/#\{/,end:/\}/,keywords:e},i=[t.inherit(t.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'/,end:/'/,contains:[t.BACKSLASH_ESCAPE]},{begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,r]}]},{className:"built_in",begin:"@__"+t.IDENT_RE},{begin:"@"+t.IDENT_RE},{begin:t.IDENT_RE+"\\\\"+t.IDENT_RE}];r.contains=i;const o=t.inherit(t.TITLE_MODE,{begin:n}),a="(\\(.*\\)\\s*)?\\B[-=]>",s={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:e,contains:["self"].concat(i)}]};return{name:"MoonScript",aliases:["moon"],keywords:e,illegal:/\/\*/,contains:i.concat([t.COMMENT("--","$"),{className:"function",begin:"^\\s*"+n+"\\s*=\\s*"+a,end:"[-=]>",returnBegin:!0,contains:[o,s]},{begin:/[\(,:=]\s*/,relevance:0,contains:[{className:"function",begin:a,end:"[-=]>",returnBegin:!0,contains:[s]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[o]},o]},{className:"name",begin:n+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}function Zx(t){return{name:"N1QL",case_insensitive:!0,contains:[{beginKeywords:"build create index delete drop explain infer|10 insert merge prepare select update upsert|10",end:/;/,keywords:{keyword:["all","alter","analyze","and","any","array","as","asc","begin","between","binary","boolean","break","bucket","build","by","call","case","cast","cluster","collate","collection","commit","connect","continue","correlate","cover","create","database","dataset","datastore","declare","decrement","delete","derived","desc","describe","distinct","do","drop","each","element","else","end","every","except","exclude","execute","exists","explain","fetch","first","flatten","for","force","from","function","grant","group","gsi","having","if","ignore","ilike","in","include","increment","index","infer","inline","inner","insert","intersect","into","is","join","key","keys","keyspace","known","last","left","let","letting","like","limit","lsm","map","mapping","matched","materialized","merge","minus","namespace","nest","not","number","object","offset","on","option","or","order","outer","over","parse","partition","password","path","pool","prepare","primary","private","privilege","procedure","public","raw","realm","reduce","rename","return","returning","revoke","right","role","rollback","satisfies","schema","select","self","semi","set","show","some","start","statistics","string","system","then","to","transaction","trigger","truncate","under","union","unique","unknown","unnest","unset","update","upsert","use","user","using","validate","value","valued","values","via","view","when","where","while","with","within","work","xor"],literal:["true","false","null","missing|5"],built_in:["array_agg","array_append","array_concat","array_contains","array_count","array_distinct","array_ifnull","array_length","array_max","array_min","array_position","array_prepend","array_put","array_range","array_remove","array_repeat","array_replace","array_reverse","array_sort","array_sum","avg","count","max","min","sum","greatest","least","ifmissing","ifmissingornull","ifnull","missingif","nullif","ifinf","ifnan","ifnanorinf","naninf","neginfif","posinfif","clock_millis","clock_str","date_add_millis","date_add_str","date_diff_millis","date_diff_str","date_part_millis","date_part_str","date_trunc_millis","date_trunc_str","duration_to_str","millis","str_to_millis","millis_to_str","millis_to_utc","millis_to_zone_name","now_millis","now_str","str_to_duration","str_to_utc","str_to_zone_name","decode_json","encode_json","encoded_size","poly_length","base64","base64_encode","base64_decode","meta","uuid","abs","acos","asin","atan","atan2","ceil","cos","degrees","e","exp","ln","log","floor","pi","power","radians","random","round","sign","sin","sqrt","tan","trunc","object_length","object_names","object_pairs","object_inner_pairs","object_values","object_inner_values","object_add","object_put","object_remove","object_unwrap","regexp_contains","regexp_like","regexp_position","regexp_replace","contains","initcap","length","lower","ltrim","position","repeat","replace","rtrim","split","substr","title","trim","upper","isarray","isatom","isboolean","isnumber","isobject","isstring","type","toarray","toatom","toboolean","tonumber","toobject","tostring"]},contains:[{className:"string",begin:"'",end:"'",contains:[t.BACKSLASH_ESCAPE]},{className:"string",begin:'"',end:'"',contains:[t.BACKSLASH_ESCAPE]},{className:"symbol",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE]},t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE]},t.C_BLOCK_COMMENT_MODE]}}function Xx(t){const e={match:[/^\s*(?=\S)/,/[^:]+/,/:\s*/,/$/],className:{2:"attribute",3:"punctuation"}},n={match:[/^\s*(?=\S)/,/[^:]*[^: ]/,/[ ]*:/,/[ ]/,/.*$/],className:{2:"attribute",3:"punctuation",5:"string"}},r={match:[/^\s*/,/>/,/[ ]/,/.*$/],className:{2:"punctuation",4:"string"}},i={variants:[{match:[/^\s*/,/-/,/[ ]/,/.*$/]},{match:[/^\s*/,/-$/]}],className:{2:"bullet",4:"string"}};return{name:"Nested Text",aliases:["nt"],contains:[t.inherit(t.HASH_COMMENT_MODE,{begin:/^\s*(?=#)/,excludeBegin:!0}),i,r,e,n]}}function jx(t){const e=t.regex,n={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{\w+\}/},{begin:e.concat(/[$@]/,t.UNDERSCORE_IDENT_RE)}]},i={endsWithParent:!0,keywords:{$pattern:/[a-z_]{2,}|\/dev\/poll/,literal:["on","off","yes","no","true","false","none","blocked","debug","info","notice","warn","error","crit","select","break","last","permanent","redirect","kqueue","rtsig","epoll","poll","/dev/poll"]},relevance:0,illegal:"=>",contains:[t.HASH_COMMENT_MODE,{className:"string",contains:[t.BACKSLASH_ESCAPE,n],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[n]},{className:"regexp",contains:[t.BACKSLASH_ESCAPE,n],variants:[{begin:"\\s\\^",end:"\\s|\\{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|\\{|;",returnEnd:!0},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]?\\b",relevance:0},n]};return{name:"Nginx config",aliases:["nginxconf"],contains:[t.HASH_COMMENT_MODE,{beginKeywords:"upstream location",end:/;|\{/,contains:i.contains,keywords:{section:"upstream location"}},{className:"section",begin:e.concat(t.UNDERSCORE_IDENT_RE+e.lookahead(/\s+\{/)),relevance:0},{begin:e.lookahead(t.UNDERSCORE_IDENT_RE+"\\s"),end:";|\\{",contains:[{className:"attribute",begin:t.UNDERSCORE_IDENT_RE,starts:i}],relevance:0}],illegal:"[^\\s\\}\\{]"}}function Jx(t){return{name:"Nim",keywords:{keyword:["addr","and","as","asm","bind","block","break","case","cast","const","continue","converter","discard","distinct","div","do","elif","else","end","enum","except","export","finally","for","from","func","generic","guarded","if","import","in","include","interface","is","isnot","iterator","let","macro","method","mixin","mod","nil","not","notin","object","of","or","out","proc","ptr","raise","ref","return","shared","shl","shr","static","template","try","tuple","type","using","var","when","while","with","without","xor","yield"],literal:["true","false"],type:["int","int8","int16","int32","int64","uint","uint8","uint16","uint32","uint64","float","float32","float64","bool","char","string","cstring","pointer","expr","stmt","void","auto","any","range","array","openarray","varargs","seq","set","clong","culong","cchar","cschar","cshort","cint","csize","clonglong","cfloat","cdouble","clongdouble","cuchar","cushort","cuint","culonglong","cstringarray","semistatic"],built_in:["stdin","stdout","stderr","result"]},contains:[{className:"meta",begin:/\{\./,end:/\.\}/,relevance:10},{className:"string",begin:/[a-zA-Z]\w*"/,end:/"/,contains:[{begin:/""/}]},{className:"string",begin:/([a-zA-Z]\w*)?"""/,end:/"""/},t.QUOTE_STRING_MODE,{className:"type",begin:/\b[A-Z]\w+\b/,relevance:0},{className:"number",relevance:0,variants:[{begin:/\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/},{begin:/\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/}]},t.HASH_COMMENT_MODE]}}function eD(t){const e={keyword:["rec","with","let","in","inherit","assert","if","else","then"],literal:["true","false","or","and","null"],built_in:["import","abort","baseNameOf","dirOf","isNull","builtins","map","removeAttrs","throw","toString","derivation"]},n={className:"subst",begin:/\$\{/,end:/\}/,keywords:e},r={className:"char.escape",begin:/''\$/},i={begin:/[a-zA-Z0-9-_]+(\s*=)/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/\S+/,relevance:.2}]},o={className:"string",contains:[r,n],variants:[{begin:"''",end:"''"},{begin:'"',end:'"'}]},a=[t.NUMBER_MODE,t.HASH_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,o,i];return n.contains=a,{name:"Nix",aliases:["nixos"],keywords:e,contains:a}}function tD(t){return{name:"Node REPL",contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"javascript"}},variants:[{begin:/^>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}function nD(t){const e=t.regex,n=["ADMINTOOLS","APPDATA","CDBURN_AREA","CMDLINE","COMMONFILES32","COMMONFILES64","COMMONFILES","COOKIES","DESKTOP","DOCUMENTS","EXEDIR","EXEFILE","EXEPATH","FAVORITES","FONTS","HISTORY","HWNDPARENT","INSTDIR","INTERNET_CACHE","LANGUAGE","LOCALAPPDATA","MUSIC","NETHOOD","OUTDIR","PICTURES","PLUGINSDIR","PRINTHOOD","PROFILE","PROGRAMFILES32","PROGRAMFILES64","PROGRAMFILES","QUICKLAUNCH","RECENT","RESOURCES_LOCALIZED","RESOURCES","SENDTO","SMPROGRAMS","SMSTARTUP","STARTMENU","SYSDIR","TEMP","TEMPLATES","VIDEOS","WINDIR"],r=["ARCHIVE","FILE_ATTRIBUTE_ARCHIVE","FILE_ATTRIBUTE_NORMAL","FILE_ATTRIBUTE_OFFLINE","FILE_ATTRIBUTE_READONLY","FILE_ATTRIBUTE_SYSTEM","FILE_ATTRIBUTE_TEMPORARY","HKCR","HKCU","HKDD","HKEY_CLASSES_ROOT","HKEY_CURRENT_CONFIG","HKEY_CURRENT_USER","HKEY_DYN_DATA","HKEY_LOCAL_MACHINE","HKEY_PERFORMANCE_DATA","HKEY_USERS","HKLM","HKPD","HKU","IDABORT","IDCANCEL","IDIGNORE","IDNO","IDOK","IDRETRY","IDYES","MB_ABORTRETRYIGNORE","MB_DEFBUTTON1","MB_DEFBUTTON2","MB_DEFBUTTON3","MB_DEFBUTTON4","MB_ICONEXCLAMATION","MB_ICONINFORMATION","MB_ICONQUESTION","MB_ICONSTOP","MB_OK","MB_OKCANCEL","MB_RETRYCANCEL","MB_RIGHT","MB_RTLREADING","MB_SETFOREGROUND","MB_TOPMOST","MB_USERICON","MB_YESNO","NORMAL","OFFLINE","READONLY","SHCTX","SHELL_CONTEXT","SYSTEM|TEMPORARY"],i=["addincludedir","addplugindir","appendfile","assert","cd","define","delfile","echo","else","endif","error","execute","finalize","getdllversion","gettlbversion","if","ifdef","ifmacrodef","ifmacrondef","ifndef","include","insertmacro","macro","macroend","makensis","packhdr","searchparse","searchreplace","system","tempfile","undef","uninstfinalize","verbose","warning"],o={className:"variable.constant",begin:e.concat(/\$/,e.either(...n))},a={className:"variable",begin:/\$+\{[\!\w.:-]+\}/},s={className:"variable",begin:/\$+\w[\w\.]*/,illegal:/\(\)\{\}/},l={className:"variable",begin:/\$+\([\w^.:!-]+\)/},c={className:"params",begin:e.either(...r)},u={className:"keyword",begin:e.concat(/!/,e.either(...i))},d={className:"char.escape",begin:/\$(\\[nrt]|\$)/},p={className:"title.function",begin:/\w+::\w+/},_={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"},{begin:"`",end:"`"}],illegal:/\n/,contains:[d,o,a,s,l]},m=["Abort","AddBrandingImage","AddSize","AllowRootDirInstall","AllowSkipFiles","AutoCloseWindow","BGFont","BGGradient","BrandingText","BringToFront","Call","CallInstDLL","Caption","ChangeUI","CheckBitmap","ClearErrors","CompletedText","ComponentText","CopyFiles","CRCCheck","CreateDirectory","CreateFont","CreateShortCut","Delete","DeleteINISec","DeleteINIStr","DeleteRegKey","DeleteRegValue","DetailPrint","DetailsButtonText","DirText","DirVar","DirVerify","EnableWindow","EnumRegKey","EnumRegValue","Exch","Exec","ExecShell","ExecShellWait","ExecWait","ExpandEnvStrings","File","FileBufSize","FileClose","FileErrorText","FileOpen","FileRead","FileReadByte","FileReadUTF16LE","FileReadWord","FileWriteUTF16LE","FileSeek","FileWrite","FileWriteByte","FileWriteWord","FindClose","FindFirst","FindNext","FindWindow","FlushINI","GetCurInstType","GetCurrentAddress","GetDlgItem","GetDLLVersion","GetDLLVersionLocal","GetErrorLevel","GetFileTime","GetFileTimeLocal","GetFullPathName","GetFunctionAddress","GetInstDirError","GetKnownFolderPath","GetLabelAddress","GetTempFileName","GetWinVer","Goto","HideWindow","Icon","IfAbort","IfErrors","IfFileExists","IfRebootFlag","IfRtlLanguage","IfShellVarContextAll","IfSilent","InitPluginsDir","InstallButtonText","InstallColors","InstallDir","InstallDirRegKey","InstProgressFlags","InstType","InstTypeGetText","InstTypeSetText","Int64Cmp","Int64CmpU","Int64Fmt","IntCmp","IntCmpU","IntFmt","IntOp","IntPtrCmp","IntPtrCmpU","IntPtrOp","IsWindow","LangString","LicenseBkColor","LicenseData","LicenseForceSelection","LicenseLangString","LicenseText","LoadAndSetImage","LoadLanguageFile","LockWindow","LogSet","LogText","ManifestDPIAware","ManifestLongPathAware","ManifestMaxVersionTested","ManifestSupportedOS","MessageBox","MiscButtonText","Name|0","Nop","OutFile","Page","PageCallbacks","PEAddResource","PEDllCharacteristics","PERemoveResource","PESubsysVer","Pop","Push","Quit","ReadEnvStr","ReadINIStr","ReadRegDWORD","ReadRegStr","Reboot","RegDLL","Rename","RequestExecutionLevel","ReserveFile","Return","RMDir","SearchPath","SectionGetFlags","SectionGetInstTypes","SectionGetSize","SectionGetText","SectionIn","SectionSetFlags","SectionSetInstTypes","SectionSetSize","SectionSetText","SendMessage","SetAutoClose","SetBrandingImage","SetCompress","SetCompressor","SetCompressorDictSize","SetCtlColors","SetCurInstType","SetDatablockOptimize","SetDateSave","SetDetailsPrint","SetDetailsView","SetErrorLevel","SetErrors","SetFileAttributes","SetFont","SetOutPath","SetOverwrite","SetRebootFlag","SetRegView","SetShellVarContext","SetSilent","ShowInstDetails","ShowUninstDetails","ShowWindow","SilentInstall","SilentUnInstall","Sleep","SpaceTexts","StrCmp","StrCmpS","StrCpy","StrLen","SubCaption","Unicode","UninstallButtonText","UninstallCaption","UninstallIcon","UninstallSubCaption","UninstallText","UninstPage","UnRegDLL","Var","VIAddVersionKey","VIFileVersion","VIProductVersion","WindowIcon","WriteINIStr","WriteRegBin","WriteRegDWORD","WriteRegExpandStr","WriteRegMultiStr","WriteRegNone","WriteRegStr","WriteUninstaller","XPStyle"],f=["admin","all","auto","both","bottom","bzip2","colored","components","current","custom","directory","false","force","hide","highest","ifdiff","ifnewer","instfiles","lastused","leave","left","license","listonly","lzma","nevershow","none","normal","notset","off","on","open","print","right","show","silent","silentlog","smooth","textonly","top","true","try","un.components","un.custom","un.directory","un.instfiles","un.license","uninstConfirm","user","Win10","Win7","Win8","WinVista","zlib"],h={match:[/Function/,/\s+/,e.concat(/(\.)?/,t.IDENT_RE)],scope:{1:"keyword",3:"title.function"}},S={match:[/Var/,/\s+/,/(?:\/GLOBAL\s+)?/,/[A-Za-z][\w.]*/],scope:{1:"keyword",3:"params",4:"variable"}};return{name:"NSIS",case_insensitive:!0,keywords:{keyword:m,literal:f},contains:[t.HASH_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.COMMENT(";","$",{relevance:0}),S,h,{beginKeywords:"Function PageEx Section SectionGroup FunctionEnd SectionEnd"},_,u,a,s,l,c,p,t.NUMBER_MODE]}}function rD(t){return{name:"OCaml",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:"\\[(\\|\\|)?\\]|\\(\\)",relevance:0},t.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*",relevance:0},t.inherit(t.APOS_STRING_MODE,{className:"string",relevance:0}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/->/}]}}function iD(t){const e={className:"keyword",begin:"\\$(f[asn]|t|vp[rtd]|children)"},n={className:"literal",begin:"false|true|PI|undef"},r={className:"number",begin:"\\b\\d+(\\.\\d+)?(e-?\\d+)?",relevance:0},i=t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),o={className:"meta",keywords:{keyword:"include use"},begin:"include|use <",end:">"},a={className:"params",begin:"\\(",end:"\\)",contains:["self",r,i,e,n]},s={begin:"[*!#%]",relevance:0},l={className:"function",beginKeywords:"module function",end:/=|\{/,contains:[a,t.UNDERSCORE_TITLE_MODE]};return{name:"OpenSCAD",aliases:["scad"],keywords:{keyword:"function module include use for intersection_for if else \\%",literal:"false true PI undef",built_in:"circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign"},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,r,o,i,e,s,l]}}function oD(t){const e={$pattern:/\.?\w+/,keyword:"abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained"},n=t.COMMENT(/\{/,/\}/,{relevance:0}),r=t.COMMENT("\\(\\*","\\*\\)",{relevance:10}),i={className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},o={className:"string",begin:"(#\\d+)+"},a={beginKeywords:"function constructor destructor procedure method",end:"[:;]",keywords:"function constructor|10 destructor|10 procedure|10 method|10",contains:[t.inherit(t.TITLE_MODE,{scope:"title.function"}),{className:"params",begin:"\\(",end:"\\)",keywords:e,contains:[i,o]},n,r]},s={scope:"punctuation",match:/;/,relevance:0};return{name:"Oxygene",case_insensitive:!0,keywords:e,illegal:'("|\\$[G-Zg-z]|\\/\\*||->)',contains:[n,r,t.C_LINE_COMMENT_MODE,i,o,t.NUMBER_MODE,a,s]}}function aD(t){const e=t.COMMENT(/\{/,/\}/,{contains:["self"]});return{name:"Parser3",subLanguage:"xml",relevance:0,contains:[t.COMMENT("^#","$"),t.COMMENT(/\^rem\{/,/\}/,{relevance:10,contains:[e]}),{className:"meta",begin:"^@(?:BASE|USE|CLASS|OPTIONS)$",relevance:10},{className:"title",begin:"@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"},{className:"variable",begin:/\$\{?[\w\-.:]+\}?/},{className:"keyword",begin:/\^[\w\-.:]+/},{className:"number",begin:"\\^#[0-9a-fA-F]+"},t.C_NUMBER_MODE]}}function sD(t){const e={className:"variable",begin:/\$[\w\d#@][\w\d_]*/,relevance:0},n={className:"variable",begin:/<(?!\/)/,end:/>/};return{name:"Packet Filter config",aliases:["pf.conf"],keywords:{$pattern:/[a-z0-9_<>-]+/,built_in:"block match pass load anchor|5 antispoof|10 set table",keyword:"in out log quick on rdomain inet inet6 proto from port os to route allow-opts divert-packet divert-reply divert-to flags group icmp-type icmp6-type label once probability recieved-on rtable prio queue tos tag tagged user keep fragment for os drop af-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robin source-hash static-port dup-to reply-to route-to parent bandwidth default min max qlimit block-policy debug fingerprints hostid limit loginterface optimization reassemble ruleset-optimization basic none profile skip state-defaults state-policy timeout const counters persist no modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppy source-track global rule max-src-nodes max-src-states max-src-conn max-src-conn-rate overload flush scrub|5 max-mss min-ttl no-df|10 random-id",literal:"all any no-route self urpf-failed egress|5 unknown"},contains:[t.HASH_COMMENT_MODE,t.NUMBER_MODE,t.QUOTE_STRING_MODE,e,n]}}function lD(t){const e=t.COMMENT("--","$"),n="[a-zA-Z_][a-zA-Z_0-9$]*",r="\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$",i="<<\\s*"+n+"\\s*>>",o="ABORT ALTER ANALYZE BEGIN CALL CHECKPOINT|10 CLOSE CLUSTER COMMENT COMMIT COPY CREATE DEALLOCATE DECLARE DELETE DISCARD DO DROP END EXECUTE EXPLAIN FETCH GRANT IMPORT INSERT LISTEN LOAD LOCK MOVE NOTIFY PREPARE REASSIGN|10 REFRESH REINDEX RELEASE RESET REVOKE ROLLBACK SAVEPOINT SECURITY SELECT SET SHOW START TRUNCATE UNLISTEN|10 UPDATE VACUUM|10 VALUES AGGREGATE COLLATION CONVERSION|10 DATABASE DEFAULT PRIVILEGES DOMAIN TRIGGER EXTENSION FOREIGN WRAPPER|10 TABLE FUNCTION GROUP LANGUAGE LARGE OBJECT MATERIALIZED VIEW OPERATOR CLASS FAMILY POLICY PUBLICATION|10 ROLE RULE SCHEMA SEQUENCE SERVER STATISTICS SUBSCRIPTION SYSTEM TABLESPACE CONFIGURATION DICTIONARY PARSER TEMPLATE TYPE USER MAPPING PREPARED ACCESS METHOD CAST AS TRANSFORM TRANSACTION OWNED TO INTO SESSION AUTHORIZATION INDEX PROCEDURE ASSERTION ALL ANALYSE AND ANY ARRAY ASC ASYMMETRIC|10 BOTH CASE CHECK COLLATE COLUMN CONCURRENTLY|10 CONSTRAINT CROSS DEFERRABLE RANGE DESC DISTINCT ELSE EXCEPT FOR FREEZE|10 FROM FULL HAVING ILIKE IN INITIALLY INNER INTERSECT IS ISNULL JOIN LATERAL LEADING LIKE LIMIT NATURAL NOT NOTNULL NULL OFFSET ON ONLY OR ORDER OUTER OVERLAPS PLACING PRIMARY REFERENCES RETURNING SIMILAR SOME SYMMETRIC TABLESAMPLE THEN TRAILING UNION UNIQUE USING VARIADIC|10 VERBOSE WHEN WHERE WINDOW WITH BY RETURNS INOUT OUT SETOF|10 IF STRICT CURRENT CONTINUE OWNER LOCATION OVER PARTITION WITHIN BETWEEN ESCAPE EXTERNAL INVOKER DEFINER WORK RENAME VERSION CONNECTION CONNECT TABLES TEMP TEMPORARY FUNCTIONS SEQUENCES TYPES SCHEMAS OPTION CASCADE RESTRICT ADD ADMIN EXISTS VALID VALIDATE ENABLE DISABLE REPLICA|10 ALWAYS PASSING COLUMNS PATH REF VALUE OVERRIDING IMMUTABLE STABLE VOLATILE BEFORE AFTER EACH ROW PROCEDURAL ROUTINE NO HANDLER VALIDATOR OPTIONS STORAGE OIDS|10 WITHOUT INHERIT DEPENDS CALLED INPUT LEAKPROOF|10 COST ROWS NOWAIT SEARCH UNTIL ENCRYPTED|10 PASSWORD CONFLICT|10 INSTEAD INHERITS CHARACTERISTICS WRITE CURSOR ALSO STATEMENT SHARE EXCLUSIVE INLINE ISOLATION REPEATABLE READ COMMITTED SERIALIZABLE UNCOMMITTED LOCAL GLOBAL SQL PROCEDURES RECURSIVE SNAPSHOT ROLLUP CUBE TRUSTED|10 INCLUDE FOLLOWING PRECEDING UNBOUNDED RANGE GROUPS UNENCRYPTED|10 SYSID FORMAT DELIMITER HEADER QUOTE ENCODING FILTER OFF FORCE_QUOTE FORCE_NOT_NULL FORCE_NULL COSTS BUFFERS TIMING SUMMARY DISABLE_PAGE_SKIPPING RESTART CYCLE GENERATED IDENTITY DEFERRED IMMEDIATE LEVEL LOGGED UNLOGGED OF NOTHING NONE EXCLUDE ATTRIBUTE USAGE ROUTINES TRUE FALSE NAN INFINITY ",a="SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS ",s="ALIAS BEGIN CONSTANT DECLARE END EXCEPTION RETURN PERFORM|10 RAISE GET DIAGNOSTICS STACKED|10 FOREACH LOOP ELSIF EXIT WHILE REVERSE SLICE DEBUG LOG INFO NOTICE WARNING ASSERT OPEN ",l="BIGINT INT8 BIGSERIAL SERIAL8 BIT VARYING VARBIT BOOLEAN BOOL BOX BYTEA CHARACTER CHAR VARCHAR CIDR CIRCLE DATE DOUBLE PRECISION FLOAT8 FLOAT INET INTEGER INT INT4 INTERVAL JSON JSONB LINE LSEG|10 MACADDR MACADDR8 MONEY NUMERIC DEC DECIMAL PATH POINT POLYGON REAL FLOAT4 SMALLINT INT2 SMALLSERIAL|10 SERIAL2|10 SERIAL|10 SERIAL4|10 TEXT TIME ZONE TIMETZ|10 TIMESTAMP TIMESTAMPTZ|10 TSQUERY|10 TSVECTOR|10 TXID_SNAPSHOT|10 UUID XML NATIONAL NCHAR INT4RANGE|10 INT8RANGE|10 NUMRANGE|10 TSRANGE|10 TSTZRANGE|10 DATERANGE|10 ANYELEMENT ANYARRAY ANYNONARRAY ANYENUM ANYRANGE CSTRING INTERNAL RECORD PG_DDL_COMMAND VOID UNKNOWN OPAQUE REFCURSOR NAME OID REGPROC|10 REGPROCEDURE|10 REGOPER|10 REGOPERATOR|10 REGCLASS|10 REGTYPE|10 REGROLE|10 REGNAMESPACE|10 REGCONFIG|10 REGDICTIONARY|10 ",c=l.trim().split(" ").map(function(f){return f.split("|")[0]}).join("|"),u="CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC ",d="FOUND NEW OLD TG_NAME|10 TG_WHEN|10 TG_LEVEL|10 TG_OP|10 TG_RELID|10 TG_RELNAME|10 TG_TABLE_NAME|10 TG_TABLE_SCHEMA|10 TG_NARGS|10 TG_ARGV|10 TG_EVENT|10 TG_TAG|10 ROW_COUNT RESULT_OID|10 PG_CONTEXT|10 RETURNED_SQLSTATE COLUMN_NAME CONSTRAINT_NAME PG_DATATYPE_NAME|10 MESSAGE_TEXT TABLE_NAME SCHEMA_NAME PG_EXCEPTION_DETAIL|10 PG_EXCEPTION_HINT|10 PG_EXCEPTION_CONTEXT|10 ",p="SQLSTATE SQLERRM|10 SUCCESSFUL_COMPLETION WARNING DYNAMIC_RESULT_SETS_RETURNED IMPLICIT_ZERO_BIT_PADDING NULL_VALUE_ELIMINATED_IN_SET_FUNCTION PRIVILEGE_NOT_GRANTED PRIVILEGE_NOT_REVOKED STRING_DATA_RIGHT_TRUNCATION DEPRECATED_FEATURE NO_DATA NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED SQL_STATEMENT_NOT_YET_COMPLETE CONNECTION_EXCEPTION CONNECTION_DOES_NOT_EXIST CONNECTION_FAILURE SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION TRANSACTION_RESOLUTION_UNKNOWN PROTOCOL_VIOLATION TRIGGERED_ACTION_EXCEPTION FEATURE_NOT_SUPPORTED INVALID_TRANSACTION_INITIATION LOCATOR_EXCEPTION INVALID_LOCATOR_SPECIFICATION INVALID_GRANTOR INVALID_GRANT_OPERATION INVALID_ROLE_SPECIFICATION DIAGNOSTICS_EXCEPTION STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER CASE_NOT_FOUND CARDINALITY_VIOLATION DATA_EXCEPTION ARRAY_SUBSCRIPT_ERROR CHARACTER_NOT_IN_REPERTOIRE DATETIME_FIELD_OVERFLOW DIVISION_BY_ZERO ERROR_IN_ASSIGNMENT ESCAPE_CHARACTER_CONFLICT INDICATOR_OVERFLOW INTERVAL_FIELD_OVERFLOW INVALID_ARGUMENT_FOR_LOGARITHM INVALID_ARGUMENT_FOR_NTILE_FUNCTION INVALID_ARGUMENT_FOR_NTH_VALUE_FUNCTION INVALID_ARGUMENT_FOR_POWER_FUNCTION INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION INVALID_CHARACTER_VALUE_FOR_CAST INVALID_DATETIME_FORMAT INVALID_ESCAPE_CHARACTER INVALID_ESCAPE_OCTET INVALID_ESCAPE_SEQUENCE NONSTANDARD_USE_OF_ESCAPE_CHARACTER INVALID_INDICATOR_PARAMETER_VALUE INVALID_PARAMETER_VALUE INVALID_REGULAR_EXPRESSION INVALID_ROW_COUNT_IN_LIMIT_CLAUSE INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE INVALID_TABLESAMPLE_ARGUMENT INVALID_TABLESAMPLE_REPEAT INVALID_TIME_ZONE_DISPLACEMENT_VALUE INVALID_USE_OF_ESCAPE_CHARACTER MOST_SPECIFIC_TYPE_MISMATCH NULL_VALUE_NOT_ALLOWED NULL_VALUE_NO_INDICATOR_PARAMETER NUMERIC_VALUE_OUT_OF_RANGE SEQUENCE_GENERATOR_LIMIT_EXCEEDED STRING_DATA_LENGTH_MISMATCH STRING_DATA_RIGHT_TRUNCATION SUBSTRING_ERROR TRIM_ERROR UNTERMINATED_C_STRING ZERO_LENGTH_CHARACTER_STRING FLOATING_POINT_EXCEPTION INVALID_TEXT_REPRESENTATION INVALID_BINARY_REPRESENTATION BAD_COPY_FILE_FORMAT UNTRANSLATABLE_CHARACTER NOT_AN_XML_DOCUMENT INVALID_XML_DOCUMENT INVALID_XML_CONTENT INVALID_XML_COMMENT INVALID_XML_PROCESSING_INSTRUCTION INTEGRITY_CONSTRAINT_VIOLATION RESTRICT_VIOLATION NOT_NULL_VIOLATION FOREIGN_KEY_VIOLATION UNIQUE_VIOLATION CHECK_VIOLATION EXCLUSION_VIOLATION INVALID_CURSOR_STATE INVALID_TRANSACTION_STATE ACTIVE_SQL_TRANSACTION BRANCH_TRANSACTION_ALREADY_ACTIVE HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION READ_ONLY_SQL_TRANSACTION SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED NO_ACTIVE_SQL_TRANSACTION IN_FAILED_SQL_TRANSACTION IDLE_IN_TRANSACTION_SESSION_TIMEOUT INVALID_SQL_STATEMENT_NAME TRIGGERED_DATA_CHANGE_VIOLATION INVALID_AUTHORIZATION_SPECIFICATION INVALID_PASSWORD DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST DEPENDENT_OBJECTS_STILL_EXIST INVALID_TRANSACTION_TERMINATION SQL_ROUTINE_EXCEPTION FUNCTION_EXECUTED_NO_RETURN_STATEMENT MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED INVALID_CURSOR_NAME EXTERNAL_ROUTINE_EXCEPTION CONTAINING_SQL_NOT_PERMITTED MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED EXTERNAL_ROUTINE_INVOCATION_EXCEPTION INVALID_SQLSTATE_RETURNED NULL_VALUE_NOT_ALLOWED TRIGGER_PROTOCOL_VIOLATED SRF_PROTOCOL_VIOLATED EVENT_TRIGGER_PROTOCOL_VIOLATED SAVEPOINT_EXCEPTION INVALID_SAVEPOINT_SPECIFICATION INVALID_CATALOG_NAME INVALID_SCHEMA_NAME TRANSACTION_ROLLBACK TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION SERIALIZATION_FAILURE STATEMENT_COMPLETION_UNKNOWN DEADLOCK_DETECTED SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION SYNTAX_ERROR INSUFFICIENT_PRIVILEGE CANNOT_COERCE GROUPING_ERROR WINDOWING_ERROR INVALID_RECURSION INVALID_FOREIGN_KEY INVALID_NAME NAME_TOO_LONG RESERVED_NAME DATATYPE_MISMATCH INDETERMINATE_DATATYPE COLLATION_MISMATCH INDETERMINATE_COLLATION WRONG_OBJECT_TYPE GENERATED_ALWAYS UNDEFINED_COLUMN UNDEFINED_FUNCTION UNDEFINED_TABLE UNDEFINED_PARAMETER UNDEFINED_OBJECT DUPLICATE_COLUMN DUPLICATE_CURSOR DUPLICATE_DATABASE DUPLICATE_FUNCTION DUPLICATE_PREPARED_STATEMENT DUPLICATE_SCHEMA DUPLICATE_TABLE DUPLICATE_ALIAS DUPLICATE_OBJECT AMBIGUOUS_COLUMN AMBIGUOUS_FUNCTION AMBIGUOUS_PARAMETER AMBIGUOUS_ALIAS INVALID_COLUMN_REFERENCE INVALID_COLUMN_DEFINITION INVALID_CURSOR_DEFINITION INVALID_DATABASE_DEFINITION INVALID_FUNCTION_DEFINITION INVALID_PREPARED_STATEMENT_DEFINITION INVALID_SCHEMA_DEFINITION INVALID_TABLE_DEFINITION INVALID_OBJECT_DEFINITION WITH_CHECK_OPTION_VIOLATION INSUFFICIENT_RESOURCES DISK_FULL OUT_OF_MEMORY TOO_MANY_CONNECTIONS CONFIGURATION_LIMIT_EXCEEDED PROGRAM_LIMIT_EXCEEDED STATEMENT_TOO_COMPLEX TOO_MANY_COLUMNS TOO_MANY_ARGUMENTS OBJECT_NOT_IN_PREREQUISITE_STATE OBJECT_IN_USE CANT_CHANGE_RUNTIME_PARAM LOCK_NOT_AVAILABLE OPERATOR_INTERVENTION QUERY_CANCELED ADMIN_SHUTDOWN CRASH_SHUTDOWN CANNOT_CONNECT_NOW DATABASE_DROPPED SYSTEM_ERROR IO_ERROR UNDEFINED_FILE DUPLICATE_FILE SNAPSHOT_TOO_OLD CONFIG_FILE_ERROR LOCK_FILE_EXISTS FDW_ERROR FDW_COLUMN_NAME_NOT_FOUND FDW_DYNAMIC_PARAMETER_VALUE_NEEDED FDW_FUNCTION_SEQUENCE_ERROR FDW_INCONSISTENT_DESCRIPTOR_INFORMATION FDW_INVALID_ATTRIBUTE_VALUE FDW_INVALID_COLUMN_NAME FDW_INVALID_COLUMN_NUMBER FDW_INVALID_DATA_TYPE FDW_INVALID_DATA_TYPE_DESCRIPTORS FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER FDW_INVALID_HANDLE FDW_INVALID_OPTION_INDEX FDW_INVALID_OPTION_NAME FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH FDW_INVALID_STRING_FORMAT FDW_INVALID_USE_OF_NULL_POINTER FDW_TOO_MANY_HANDLES FDW_OUT_OF_MEMORY FDW_NO_SCHEMAS FDW_OPTION_NAME_NOT_FOUND FDW_REPLY_HANDLE FDW_SCHEMA_NOT_FOUND FDW_TABLE_NOT_FOUND FDW_UNABLE_TO_CREATE_EXECUTION FDW_UNABLE_TO_CREATE_REPLY FDW_UNABLE_TO_ESTABLISH_CONNECTION PLPGSQL_ERROR RAISE_EXCEPTION NO_DATA_FOUND TOO_MANY_ROWS ASSERT_FAILURE INTERNAL_ERROR DATA_CORRUPTED INDEX_CORRUPTED ",m="ARRAY_AGG AVG BIT_AND BIT_OR BOOL_AND BOOL_OR COUNT EVERY JSON_AGG JSONB_AGG JSON_OBJECT_AGG JSONB_OBJECT_AGG MAX MIN MODE STRING_AGG SUM XMLAGG CORR COVAR_POP COVAR_SAMP REGR_AVGX REGR_AVGY REGR_COUNT REGR_INTERCEPT REGR_R2 REGR_SLOPE REGR_SXX REGR_SXY REGR_SYY STDDEV STDDEV_POP STDDEV_SAMP VARIANCE VAR_POP VAR_SAMP PERCENTILE_CONT PERCENTILE_DISC ROW_NUMBER RANK DENSE_RANK PERCENT_RANK CUME_DIST NTILE LAG LEAD FIRST_VALUE LAST_VALUE NTH_VALUE NUM_NONNULLS NUM_NULLS ABS CBRT CEIL CEILING DEGREES DIV EXP FLOOR LN LOG MOD PI POWER RADIANS ROUND SCALE SIGN SQRT TRUNC WIDTH_BUCKET RANDOM SETSEED ACOS ACOSD ASIN ASIND ATAN ATAND ATAN2 ATAN2D COS COSD COT COTD SIN SIND TAN TAND BIT_LENGTH CHAR_LENGTH CHARACTER_LENGTH LOWER OCTET_LENGTH OVERLAY POSITION SUBSTRING TREAT TRIM UPPER ASCII BTRIM CHR CONCAT CONCAT_WS CONVERT CONVERT_FROM CONVERT_TO DECODE ENCODE INITCAP LEFT LENGTH LPAD LTRIM MD5 PARSE_IDENT PG_CLIENT_ENCODING QUOTE_IDENT|10 QUOTE_LITERAL|10 QUOTE_NULLABLE|10 REGEXP_MATCH REGEXP_MATCHES REGEXP_REPLACE REGEXP_SPLIT_TO_ARRAY REGEXP_SPLIT_TO_TABLE REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPLIT_PART STRPOS SUBSTR TO_ASCII TO_HEX TRANSLATE OCTET_LENGTH GET_BIT GET_BYTE SET_BIT SET_BYTE TO_CHAR TO_DATE TO_NUMBER TO_TIMESTAMP AGE CLOCK_TIMESTAMP|10 DATE_PART DATE_TRUNC ISFINITE JUSTIFY_DAYS JUSTIFY_HOURS JUSTIFY_INTERVAL MAKE_DATE MAKE_INTERVAL|10 MAKE_TIME MAKE_TIMESTAMP|10 MAKE_TIMESTAMPTZ|10 NOW STATEMENT_TIMESTAMP|10 TIMEOFDAY TRANSACTION_TIMESTAMP|10 ENUM_FIRST ENUM_LAST ENUM_RANGE AREA CENTER DIAMETER HEIGHT ISCLOSED ISOPEN NPOINTS PCLOSE POPEN RADIUS WIDTH BOX BOUND_BOX CIRCLE LINE LSEG PATH POLYGON ABBREV BROADCAST HOST HOSTMASK MASKLEN NETMASK NETWORK SET_MASKLEN TEXT INET_SAME_FAMILY INET_MERGE MACADDR8_SET7BIT ARRAY_TO_TSVECTOR GET_CURRENT_TS_CONFIG NUMNODE PLAINTO_TSQUERY PHRASETO_TSQUERY WEBSEARCH_TO_TSQUERY QUERYTREE SETWEIGHT STRIP TO_TSQUERY TO_TSVECTOR JSON_TO_TSVECTOR JSONB_TO_TSVECTOR TS_DELETE TS_FILTER TS_HEADLINE TS_RANK TS_RANK_CD TS_REWRITE TSQUERY_PHRASE TSVECTOR_TO_ARRAY TSVECTOR_UPDATE_TRIGGER TSVECTOR_UPDATE_TRIGGER_COLUMN XMLCOMMENT XMLCONCAT XMLELEMENT XMLFOREST XMLPI XMLROOT XMLEXISTS XML_IS_WELL_FORMED XML_IS_WELL_FORMED_DOCUMENT XML_IS_WELL_FORMED_CONTENT XPATH XPATH_EXISTS XMLTABLE XMLNAMESPACES TABLE_TO_XML TABLE_TO_XMLSCHEMA TABLE_TO_XML_AND_XMLSCHEMA QUERY_TO_XML QUERY_TO_XMLSCHEMA QUERY_TO_XML_AND_XMLSCHEMA CURSOR_TO_XML CURSOR_TO_XMLSCHEMA SCHEMA_TO_XML SCHEMA_TO_XMLSCHEMA SCHEMA_TO_XML_AND_XMLSCHEMA DATABASE_TO_XML DATABASE_TO_XMLSCHEMA DATABASE_TO_XML_AND_XMLSCHEMA XMLATTRIBUTES TO_JSON TO_JSONB ARRAY_TO_JSON ROW_TO_JSON JSON_BUILD_ARRAY JSONB_BUILD_ARRAY JSON_BUILD_OBJECT JSONB_BUILD_OBJECT JSON_OBJECT JSONB_OBJECT JSON_ARRAY_LENGTH JSONB_ARRAY_LENGTH JSON_EACH JSONB_EACH JSON_EACH_TEXT JSONB_EACH_TEXT JSON_EXTRACT_PATH JSONB_EXTRACT_PATH JSON_OBJECT_KEYS JSONB_OBJECT_KEYS JSON_POPULATE_RECORD JSONB_POPULATE_RECORD JSON_POPULATE_RECORDSET JSONB_POPULATE_RECORDSET JSON_ARRAY_ELEMENTS JSONB_ARRAY_ELEMENTS JSON_ARRAY_ELEMENTS_TEXT JSONB_ARRAY_ELEMENTS_TEXT JSON_TYPEOF JSONB_TYPEOF JSON_TO_RECORD JSONB_TO_RECORD JSON_TO_RECORDSET JSONB_TO_RECORDSET JSON_STRIP_NULLS JSONB_STRIP_NULLS JSONB_SET JSONB_INSERT JSONB_PRETTY CURRVAL LASTVAL NEXTVAL SETVAL COALESCE NULLIF GREATEST LEAST ARRAY_APPEND ARRAY_CAT ARRAY_NDIMS ARRAY_DIMS ARRAY_FILL ARRAY_LENGTH ARRAY_LOWER ARRAY_POSITION ARRAY_POSITIONS ARRAY_PREPEND ARRAY_REMOVE ARRAY_REPLACE ARRAY_TO_STRING ARRAY_UPPER CARDINALITY STRING_TO_ARRAY UNNEST ISEMPTY LOWER_INC UPPER_INC LOWER_INF UPPER_INF RANGE_MERGE GENERATE_SERIES GENERATE_SUBSCRIPTS CURRENT_DATABASE CURRENT_QUERY CURRENT_SCHEMA|10 CURRENT_SCHEMAS|10 INET_CLIENT_ADDR INET_CLIENT_PORT INET_SERVER_ADDR INET_SERVER_PORT ROW_SECURITY_ACTIVE FORMAT_TYPE TO_REGCLASS TO_REGPROC TO_REGPROCEDURE TO_REGOPER TO_REGOPERATOR TO_REGTYPE TO_REGNAMESPACE TO_REGROLE COL_DESCRIPTION OBJ_DESCRIPTION SHOBJ_DESCRIPTION TXID_CURRENT TXID_CURRENT_IF_ASSIGNED TXID_CURRENT_SNAPSHOT TXID_SNAPSHOT_XIP TXID_SNAPSHOT_XMAX TXID_SNAPSHOT_XMIN TXID_VISIBLE_IN_SNAPSHOT TXID_STATUS CURRENT_SETTING SET_CONFIG BRIN_SUMMARIZE_NEW_VALUES BRIN_SUMMARIZE_RANGE BRIN_DESUMMARIZE_RANGE GIN_CLEAN_PENDING_LIST SUPPRESS_REDUNDANT_UPDATES_TRIGGER LO_FROM_BYTEA LO_PUT LO_GET LO_CREAT LO_CREATE LO_UNLINK LO_IMPORT LO_EXPORT LOREAD LOWRITE GROUPING CAST ".trim().split(" ").map(function(f){return f.split("|")[0]}).join("|");return{name:"PostgreSQL",aliases:["postgres","postgresql"],supersetOf:"sql",case_insensitive:!0,keywords:{keyword:o+s+a,built_in:u+d+p},illegal:/:==|\W\s*\(\*|(^|\s)\$[a-z]|\{\{|[a-z]:\s*$|\.\.\.|TO:|DO:/,contains:[{className:"keyword",variants:[{begin:/\bTEXT\s*SEARCH\b/},{begin:/\b(PRIMARY|FOREIGN|FOR(\s+NO)?)\s+KEY\b/},{begin:/\bPARALLEL\s+(UNSAFE|RESTRICTED|SAFE)\b/},{begin:/\bSTORAGE\s+(PLAIN|EXTERNAL|EXTENDED|MAIN)\b/},{begin:/\bMATCH\s+(FULL|PARTIAL|SIMPLE)\b/},{begin:/\bNULLS\s+(FIRST|LAST)\b/},{begin:/\bEVENT\s+TRIGGER\b/},{begin:/\b(MAPPING|OR)\s+REPLACE\b/},{begin:/\b(FROM|TO)\s+(PROGRAM|STDIN|STDOUT)\b/},{begin:/\b(SHARE|EXCLUSIVE)\s+MODE\b/},{begin:/\b(LEFT|RIGHT)\s+(OUTER\s+)?JOIN\b/},{begin:/\b(FETCH|MOVE)\s+(NEXT|PRIOR|FIRST|LAST|ABSOLUTE|RELATIVE|FORWARD|BACKWARD)\b/},{begin:/\bPRESERVE\s+ROWS\b/},{begin:/\bDISCARD\s+PLANS\b/},{begin:/\bREFERENCING\s+(OLD|NEW)\b/},{begin:/\bSKIP\s+LOCKED\b/},{begin:/\bGROUPING\s+SETS\b/},{begin:/\b(BINARY|INSENSITIVE|SCROLL|NO\s+SCROLL)\s+(CURSOR|FOR)\b/},{begin:/\b(WITH|WITHOUT)\s+HOLD\b/},{begin:/\bWITH\s+(CASCADED|LOCAL)\s+CHECK\s+OPTION\b/},{begin:/\bEXCLUDE\s+(TIES|NO\s+OTHERS)\b/},{begin:/\bFORMAT\s+(TEXT|XML|JSON|YAML)\b/},{begin:/\bSET\s+((SESSION|LOCAL)\s+)?NAMES\b/},{begin:/\bIS\s+(NOT\s+)?UNKNOWN\b/},{begin:/\bSECURITY\s+LABEL\b/},{begin:/\bSTANDALONE\s+(YES|NO|NO\s+VALUE)\b/},{begin:/\bWITH\s+(NO\s+)?DATA\b/},{begin:/\b(FOREIGN|SET)\s+DATA\b/},{begin:/\bSET\s+(CATALOG|CONSTRAINTS)\b/},{begin:/\b(WITH|FOR)\s+ORDINALITY\b/},{begin:/\bIS\s+(NOT\s+)?DOCUMENT\b/},{begin:/\bXML\s+OPTION\s+(DOCUMENT|CONTENT)\b/},{begin:/\b(STRIP|PRESERVE)\s+WHITESPACE\b/},{begin:/\bNO\s+(ACTION|MAXVALUE|MINVALUE)\b/},{begin:/\bPARTITION\s+BY\s+(RANGE|LIST|HASH)\b/},{begin:/\bAT\s+TIME\s+ZONE\b/},{begin:/\bGRANTED\s+BY\b/},{begin:/\bRETURN\s+(QUERY|NEXT)\b/},{begin:/\b(ATTACH|DETACH)\s+PARTITION\b/},{begin:/\bFORCE\s+ROW\s+LEVEL\s+SECURITY\b/},{begin:/\b(INCLUDING|EXCLUDING)\s+(COMMENTS|CONSTRAINTS|DEFAULTS|IDENTITY|INDEXES|STATISTICS|STORAGE|ALL)\b/},{begin:/\bAS\s+(ASSIGNMENT|IMPLICIT|PERMISSIVE|RESTRICTIVE|ENUM|RANGE)\b/}]},{begin:/\b(FORMAT|FAMILY|VERSION)\s*\(/},{begin:/\bINCLUDE\s*\(/,keywords:"INCLUDE"},{begin:/\bRANGE(?!\s*(BETWEEN|UNBOUNDED|CURRENT|[-0-9]+))/},{begin:/\b(VERSION|OWNER|TEMPLATE|TABLESPACE|CONNECTION\s+LIMIT|PROCEDURE|RESTRICT|JOIN|PARSER|COPY|START|END|COLLATION|INPUT|ANALYZE|STORAGE|LIKE|DEFAULT|DELIMITER|ENCODING|COLUMN|CONSTRAINT|TABLE|SCHEMA)\s*=/},{begin:/\b(PG_\w+?|HAS_[A-Z_]+_PRIVILEGE)\b/,relevance:10},{begin:/\bEXTRACT\s*\(/,end:/\bFROM\b/,returnEnd:!0,keywords:{type:"CENTURY DAY DECADE DOW DOY EPOCH HOUR ISODOW ISOYEAR MICROSECONDS MILLENNIUM MILLISECONDS MINUTE MONTH QUARTER SECOND TIMEZONE TIMEZONE_HOUR TIMEZONE_MINUTE WEEK YEAR"}},{begin:/\b(XMLELEMENT|XMLPI)\s*\(\s*NAME/,keywords:{keyword:"NAME"}},{begin:/\b(XMLPARSE|XMLSERIALIZE)\s*\(\s*(DOCUMENT|CONTENT)/,keywords:{keyword:"DOCUMENT CONTENT"}},{beginKeywords:"CACHE INCREMENT MAXVALUE MINVALUE",end:t.C_NUMBER_RE,returnEnd:!0,keywords:"BY CACHE INCREMENT MAXVALUE MINVALUE"},{className:"type",begin:/\b(WITH|WITHOUT)\s+TIME\s+ZONE\b/},{className:"type",begin:/\bINTERVAL\s+(YEAR|MONTH|DAY|HOUR|MINUTE|SECOND)(\s+TO\s+(MONTH|HOUR|MINUTE|SECOND))?\b/},{begin:/\bRETURNS\s+(LANGUAGE_HANDLER|TRIGGER|EVENT_TRIGGER|FDW_HANDLER|INDEX_AM_HANDLER|TSM_HANDLER)\b/,keywords:{keyword:"RETURNS",type:"LANGUAGE_HANDLER TRIGGER EVENT_TRIGGER FDW_HANDLER INDEX_AM_HANDLER TSM_HANDLER"}},{begin:"\\b("+m+")\\s*\\("},{begin:"\\.("+c+")\\b"},{begin:"\\b("+c+")\\s+PATH\\b",keywords:{keyword:"PATH",type:l.replace("PATH ","")}},{className:"type",begin:"\\b("+c+")\\b"},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:"(e|E|u&|U&)'",end:"'",contains:[{begin:"\\\\."}],relevance:10},t.END_SAME_AS_BEGIN({begin:r,end:r,contains:[{subLanguage:["pgsql","perl","python","tcl","r","lua","java","php","ruby","bash","scheme","xml","json"],endsWithParent:!0}]}),{begin:'"',end:'"',contains:[{begin:'""'}]},t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,e,{className:"meta",variants:[{begin:"%(ROW)?TYPE",relevance:10},{begin:"\\$\\d+"},{begin:"^#\\w",end:"$"}]},{className:"symbol",begin:i,relevance:10}]}}function cD(t){const e={keyword:"actor addressof and as be break class compile_error compile_intrinsic consume continue delegate digestof do else elseif embed end error for fun if ifdef in interface is isnt lambda let match new not object or primitive recover repeat return struct then trait try type until use var where while with xor",meta:"iso val tag trn box ref",literal:"this false true"},n={className:"string",begin:'"""',end:'"""',relevance:10},r={className:"string",begin:'"',end:'"',contains:[t.BACKSLASH_ESCAPE]},i={className:"string",begin:"'",end:"'",contains:[t.BACKSLASH_ESCAPE],relevance:0},o={className:"type",begin:"\\b_?[A-Z][\\w]*",relevance:0},a={begin:t.IDENT_RE+"'",relevance:0};return{name:"Pony",keywords:e,contains:[o,n,r,i,a,{className:"number",begin:"(-?)(\\b0[xX][a-fA-F0-9]+|\\b0[bB][01]+|(\\b\\d+(_\\d+)?(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",relevance:0},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]}}function uD(t){const e=["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"],n="Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",r="-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",i={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},o=/\w[\w\d]*((-)[\w\d]+)*/,a={begin:"`[\\s\\S]",relevance:0},s={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},l={className:"literal",begin:/\$(null|true|false)\b/},c={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[a,s,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},u={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},d={className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]},p=t.inherit(t.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[d]}),_={className:"built_in",variants:[{begin:"(".concat(n,")+(-)[\\w\\d]+")}]},m={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[t.TITLE_MODE]},f={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:o,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[s]}]},h={begin:/using\s/,end:/$/,returnBegin:!0,contains:[c,u,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},E={variants:[{className:"operator",begin:"(".concat(r,")\\b")},{className:"literal",begin:/(-){1,2}[\w\d-]+/,relevance:0}]},S={className:"selector-tag",begin:/@\B/,relevance:0},b={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(i.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},t.inherit(t.TITLE_MODE,{endsParent:!0})]},g=[b,p,a,t.NUMBER_MODE,c,u,_,s,l,S],C={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",g,{begin:"("+e.join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return b.contains.unshift(C),{name:"PowerShell",aliases:["pwsh","ps","ps1"],case_insensitive:!0,keywords:i,contains:g.concat(m,f,h,E,C)}}function dD(t){const e=t.regex,n=["displayHeight","displayWidth","mouseY","mouseX","mousePressed","pmouseX","pmouseY","key","keyCode","pixels","focused","frameCount","frameRate","height","width","size","createGraphics","beginDraw","createShape","loadShape","PShape","arc","ellipse","line","point","quad","rect","triangle","bezier","bezierDetail","bezierPoint","bezierTangent","curve","curveDetail","curvePoint","curveTangent","curveTightness","shape","shapeMode","beginContour","beginShape","bezierVertex","curveVertex","endContour","endShape","quadraticVertex","vertex","ellipseMode","noSmooth","rectMode","smooth","strokeCap","strokeJoin","strokeWeight","mouseClicked","mouseDragged","mouseMoved","mousePressed","mouseReleased","mouseWheel","keyPressed","keyPressedkeyReleased","keyTyped","print","println","save","saveFrame","day","hour","millis","minute","month","second","year","background","clear","colorMode","fill","noFill","noStroke","stroke","alpha","blue","brightness","color","green","hue","lerpColor","red","saturation","modelX","modelY","modelZ","screenX","screenY","screenZ","ambient","emissive","shininess","specular","add","createImage","beginCamera","camera","endCamera","frustum","ortho","perspective","printCamera","printProjection","cursor","frameRate","noCursor","exit","loop","noLoop","popStyle","pushStyle","redraw","binary","boolean","byte","char","float","hex","int","str","unbinary","unhex","join","match","matchAll","nf","nfc","nfp","nfs","split","splitTokens","trim","append","arrayCopy","concat","expand","reverse","shorten","sort","splice","subset","box","sphere","sphereDetail","createInput","createReader","loadBytes","loadJSONArray","loadJSONObject","loadStrings","loadTable","loadXML","open","parseXML","saveTable","selectFolder","selectInput","beginRaw","beginRecord","createOutput","createWriter","endRaw","endRecord","PrintWritersaveBytes","saveJSONArray","saveJSONObject","saveStream","saveStrings","saveXML","selectOutput","popMatrix","printMatrix","pushMatrix","resetMatrix","rotate","rotateX","rotateY","rotateZ","scale","shearX","shearY","translate","ambientLight","directionalLight","lightFalloff","lights","lightSpecular","noLights","normal","pointLight","spotLight","image","imageMode","loadImage","noTint","requestImage","tint","texture","textureMode","textureWrap","blend","copy","filter","get","loadPixels","set","updatePixels","blendMode","loadShader","PShaderresetShader","shader","createFont","loadFont","text","textFont","textAlign","textLeading","textMode","textSize","textWidth","textAscent","textDescent","abs","ceil","constrain","dist","exp","floor","lerp","log","mag","map","max","min","norm","pow","round","sq","sqrt","acos","asin","atan","atan2","cos","degrees","radians","sin","tan","noise","noiseDetail","noiseSeed","random","randomGaussian","randomSeed"],r=t.IDENT_RE,i={variants:[{match:e.concat(e.either(...n),e.lookahead(/\s*\(/)),className:"built_in"},{relevance:0,match:e.concat(/\b(?!for|if|while)/,r,e.lookahead(/\s*\(/)),className:"title.function"}]},o={match:[/new\s+/,r],className:{1:"keyword",2:"class.title"}},a={relevance:0,match:[/\./,r],className:{2:"property"}},s={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,r]},{match:[/class/,/\s+/,r]}],className:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},l=["boolean","byte","char","color","double","float","int","long","short"],c=["BufferedReader","PVector","PFont","PImage","PGraphics","HashMap","String","Array","FloatDict","ArrayList","FloatList","IntDict","IntList","JSONArray","JSONObject","Object","StringDict","StringList","Table","TableRow","XML"];return{name:"Processing",aliases:["pde"],keywords:{keyword:[...["abstract","assert","break","case","catch","const","continue","default","else","enum","final","finally","for","if","import","instanceof","long","native","new","package","private","private","protected","protected","public","public","return","static","strictfp","switch","synchronized","throw","throws","transient","try","void","volatile","while"]],literal:"P2D P3D HALF_PI PI QUARTER_PI TAU TWO_PI null true false",title:"setup draw",variable:"super this",built_in:[...n,...c],type:l},contains:[s,o,i,a,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE]}}function pD(t){return{name:"Python profiler",contains:[t.C_NUMBER_MODE,{begin:"[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}",end:":",excludeEnd:!0},{begin:"(ncalls|tottime|cumtime)",end:"$",keywords:"ncalls tottime|10 cumtime|10 filename",relevance:10},{begin:"function calls",end:"$",contains:[t.C_NUMBER_MODE],relevance:10},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{className:"string",begin:"\\(",end:"\\)$",excludeBegin:!0,excludeEnd:!0,relevance:0}]}}function _D(t){const e={begin:/[a-z][A-Za-z0-9_]*/,relevance:0},n={className:"symbol",variants:[{begin:/[A-Z][a-zA-Z0-9_]*/},{begin:/_[A-Za-z0-9_]*/}],relevance:0},r={begin:/\(/,end:/\)/,relevance:0},i={begin:/\[/,end:/\]/},o={className:"comment",begin:/%/,end:/$/,contains:[t.PHRASAL_WORDS_MODE]},a={className:"string",begin:/`/,end:/`/,contains:[t.BACKSLASH_ESCAPE]},s={className:"string",begin:/0'(\\'|.)/},l={className:"string",begin:/0'\\s/},u=[e,n,r,{begin:/:-/},i,o,t.C_BLOCK_COMMENT_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,a,s,l,t.C_NUMBER_MODE];return r.contains=u,i.contains=u,{name:"Prolog",contains:u.concat([{begin:/\.$/}])}}function mD(t){const e="[ \\t\\f]*",n="[ \\t\\f]+",r=e+"[:=]"+e,i=n,o="("+r+"|"+i+")",a="([^\\\\:= \\t\\f\\n]|\\\\.)+",s={end:o,relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}};return{name:".properties",disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,contains:[t.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:a+r},{begin:a+i}],contains:[{className:"attr",begin:a,endsParent:!0}],starts:s},{className:"attr",begin:a+e+"$"}]}}function fD(t){const e=["package","import","option","optional","required","repeated","group","oneof"],n=["double","float","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","bool","string","bytes"],r={match:[/(message|enum|service)\s+/,t.IDENT_RE],scope:{1:"keyword",2:"title.class"}};return{name:"Protocol Buffers",aliases:["proto"],keywords:{keyword:e,type:n,literal:["true","false"]},contains:[t.QUOTE_STRING_MODE,t.NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,r,{className:"function",beginKeywords:"rpc",end:/[{;]/,excludeEnd:!0,keywords:"rpc returns"},{begin:/^\s*[A-Z_]+(?=\s*=[^\n]+;$)/}]}}function hD(t){const e={keyword:"and case default else elsif false if in import enherits node or true undef unless main settings $string ",literal:"alias audit before loglevel noop require subscribe tag owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check en_address ip_address realname command environment hour monute month monthday special target weekday creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey sslverify mounted",built_in:"architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version"},n=t.COMMENT("#","$"),r="([A-Za-z_]|::)(\\w|::)*",i=t.inherit(t.TITLE_MODE,{begin:r}),o={className:"variable",begin:"\\$"+r},a={className:"string",contains:[t.BACKSLASH_ESCAPE,o],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};return{name:"Puppet",aliases:["pp"],contains:[n,o,a,{beginKeywords:"class",end:"\\{|;",illegal:/=/,contains:[i,n]},{beginKeywords:"define",end:/\{/,contains:[{className:"section",begin:t.IDENT_RE,endsParent:!0}]},{begin:t.IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\S/,contains:[{className:"keyword",begin:t.IDENT_RE,relevance:.2},{begin:/\{/,end:/\}/,keywords:e,relevance:0,contains:[a,n,{begin:"[a-zA-Z_]+\\s*=>",returnBegin:!0,end:"=>",contains:[{className:"attr",begin:t.IDENT_RE}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},o]}],relevance:0}]}}function gD(t){const e={className:"string",begin:'(~)?"',end:'"',illegal:"\\n"},n={className:"symbol",begin:"#[a-zA-Z_]\\w*\\$?"};return{name:"PureBASIC",aliases:["pb","pbi"],keywords:"Align And Array As Break CallDebugger Case CompilerCase CompilerDefault CompilerElse CompilerElseIf CompilerEndIf CompilerEndSelect CompilerError CompilerIf CompilerSelect CompilerWarning Continue Data DataSection Debug DebugLevel Declare DeclareC DeclareCDLL DeclareDLL DeclareModule Default Define Dim DisableASM DisableDebugger DisableExplicit Else ElseIf EnableASM EnableDebugger EnableExplicit End EndDataSection EndDeclareModule EndEnumeration EndIf EndImport EndInterface EndMacro EndModule EndProcedure EndSelect EndStructure EndStructureUnion EndWith Enumeration EnumerationBinary Extends FakeReturn For ForEach ForEver Global Gosub Goto If Import ImportC IncludeBinary IncludeFile IncludePath Interface List Macro MacroExpandedCount Map Module NewList NewMap Next Not Or Procedure ProcedureC ProcedureCDLL ProcedureDLL ProcedureReturn Protected Prototype PrototypeC ReDim Read Repeat Restore Return Runtime Select Shared Static Step Structure StructureUnion Swap Threaded To UndefineMacro Until Until UnuseModule UseModule Wend While With XIncludeFile XOr",contains:[t.COMMENT(";","$",{relevance:0}),{className:"function",begin:"\\b(Procedure|Declare)(C|CDLL|DLL)?\\b",end:"\\(",excludeEnd:!0,returnBegin:!0,contains:[{className:"keyword",begin:"(Procedure|Declare)(C|CDLL|DLL)?",excludeEnd:!0},{className:"type",begin:"\\.\\w*"},t.UNDERSCORE_TITLE_MODE]},e,n]}}function ED(t){return{name:"Q",aliases:["k","kdb"],keywords:{$pattern:/(`?)[A-Za-z0-9_]+\b/,keyword:"do while select delete by update from",literal:"0b 1b",built_in:"neg not null string reciprocal floor ceiling signum mod xbar xlog and or each scan over prior mmu lsq inv md5 ltime gtime count first var dev med cov cor all any rand sums prds mins maxs fills deltas ratios avgs differ prev next rank reverse iasc idesc asc desc msum mcount mavg mdev xrank mmin mmax xprev rotate distinct group where flip type key til get value attr cut set upsert raze union inter except cross sv vs sublist enlist read0 read1 hopen hclose hdel hsym hcount peach system ltrim rtrim trim lower upper ssr view tables views cols xcols keys xkey xcol xasc xdesc fkeys meta lj aj aj0 ij pj asof uj ww wj wj1 fby xgroup ungroup ej save load rsave rload show csv parse eval min max avg wavg wsum sin cos tan sum",type:"`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid"},contains:[t.C_LINE_COMMENT_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE]}}function SD(t){const e=t.regex,n={keyword:"in of on if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await import",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Behavior bool color coordinate date double enumeration font geocircle georectangle geoshape int list matrix4x4 parent point quaternion real rect size string url variant vector2d vector3d vector4d Promise"},r="[a-zA-Z_][a-zA-Z0-9\\._]*",i={className:"keyword",begin:"\\bproperty\\b",starts:{className:"string",end:"(:|=|;|,|//|/\\*|$)",returnEnd:!0}},o={className:"keyword",begin:"\\bsignal\\b",starts:{className:"string",end:"(\\(|:|=|;|,|//|/\\*|$)",returnEnd:!0}},a={className:"attribute",begin:"\\bid\\s*:",starts:{className:"string",end:r,returnEnd:!1}},s={begin:r+"\\s*:",returnBegin:!0,contains:[{className:"attribute",begin:r,end:"\\s*:",excludeEnd:!0,relevance:0}],relevance:0},l={begin:e.concat(r,/\s*\{/),end:/\{/,returnBegin:!0,relevance:0,contains:[t.inherit(t.TITLE_MODE,{begin:r})]};return{name:"QML",aliases:["qt"],case_insensitive:!1,keywords:n,contains:[{className:"meta",begin:/^\s*['"]use (strict|asm)['"]/},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:t.C_NUMBER_RE}],relevance:0},{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.REGEXP_MODE,{begin:/\s*[);\]]/,relevance:0,subLanguage:"xml"}],relevance:0},o,i,{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[t.inherit(t.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]}],illegal:/\[|%/},{begin:"\\."+t.IDENT_RE,relevance:0},a,s,l],illegal:/#/}}function bD(t){return{name:"ReasonML",aliases:["re"],keywords:{$pattern:/[a-z_]\w*!?/,keyword:["and","as","asr","assert","begin","class","constraint","do","done","downto","else","end","esfun","exception","external","for","fun","function","functor","if","in","include","inherit","initializer","land","lazy","let","lor","lsl","lsr","lxor","mod","module","mutable","new","nonrec","object","of","open","or","pri","pub","rec","sig","struct","switch","then","to","try","type","val","virtual","when","while","with"],built_in:["array","bool","bytes","char","exn|5","float","int","int32","int64","list","lazy_t|5","nativeint|5","ref","string","unit"],literal:["true","false"]},illegal:/(:-|:=|\$\{|\+=)/,contains:[{scope:"literal",match:/\[(\|\|)?\]|\(\)/,relevance:0},t.C_LINE_COMMENT_MODE,t.COMMENT(/\/\*/,/\*\//,{illegal:/^(#,\/\/)/}),{scope:"symbol",match:/\'[A-Za-z_](?!\')[\w\']*/},{scope:"type",match:/`[A-Z][\w\']*/},{scope:"type",match:/\b[A-Z][\w\']*/,relevance:0},{match:/[a-z_]\w*\'[\w\']*/,relevance:0},{scope:"operator",match:/\s+(\|\||\+[\+\.]?|\*[\*\/\.]?|\/[\.]?|\.\.\.|\|>|&&|===?)\s+/,relevance:0},t.inherit(t.APOS_STRING_MODE,{scope:"string",relevance:0}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{scope:"number",variants:[{match:/\b0[xX][a-fA-F0-9_]+[Lln]?/},{match:/\b0[oO][0-7_]+[Lln]?/},{match:/\b0[bB][01_]+[Lln]?/},{match:/\b[0-9][0-9_]*([Lln]|(\.[0-9_]*)?([eE][-+]?[0-9_]+)?)/}],relevance:0}]}}function TD(t){return{name:"RenderMan RIB",keywords:"ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry Hider Hyperboloid Identity Illuminate Imager Interior LightSource MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd TransformPoints Translate TrimCurve WorldBegin WorldEnd",illegal:"/}],illegal:/./},t.COMMENT("^#","$"),s,l,a,{begin:/[\w-]+=([^\s{}[\]()>]+)/,relevance:0,returnBegin:!0,contains:[{className:"attribute",begin:/[^=]+/},{begin:/=/,endsWithParent:!0,relevance:0,contains:[s,l,a,{className:"literal",begin:"\\b("+i.split(" ").join("|")+")\\b"},{begin:/("[^"]*"|[^\s{}[\]]+)/}]}]},{className:"number",begin:/\*[0-9a-fA-F]+/},{begin:"\\b("+r.split(" ").join("|")+")([\\s[(\\]|])",returnBegin:!0,contains:[{className:"built_in",begin:/\w+/}]},{className:"built_in",variants:[{begin:"(\\.\\./|/|\\s)(("+o.split(" ").join("|")+");?\\s)+"},{begin:/\.\./,relevance:0}]}]}}function vD(t){const e=["abs","acos","ambient","area","asin","atan","atmosphere","attribute","calculatenormal","ceil","cellnoise","clamp","comp","concat","cos","degrees","depth","Deriv","diffuse","distance","Du","Dv","environment","exp","faceforward","filterstep","floor","format","fresnel","incident","length","lightsource","log","match","max","min","mod","noise","normalize","ntransform","opposite","option","phong","pnoise","pow","printf","ptlined","radians","random","reflect","refract","renderinfo","round","setcomp","setxcomp","setycomp","setzcomp","shadow","sign","sin","smoothstep","specular","specularbrdf","spline","sqrt","step","tan","texture","textureinfo","trace","transform","vtransform","xcomp","ycomp","zcomp"],n=["matrix","float","color","point","normal","vector"],r=["while","for","if","do","return","else","break","extern","continue"],i={match:[/(surface|displacement|light|volume|imager)/,/\s+/,t.IDENT_RE],scope:{1:"keyword",3:"title.class"}};return{name:"RenderMan RSL",keywords:{keyword:r,built_in:e,type:n},illegal:"",/\s+/,/using/,/\s+/,/\S+/],beginScope:{1:"comment",3:"keyword",5:"type"},end:/$/,contains:[{className:"string",begin:/\S+/}]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,i,o,l,s,t.C_NUMBER_MODE,c,u,...d,p,n]}}function AD(t){const e="[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",n="(-|\\+)?\\d+([./]\\d+)?",r=n+"[+\\-]"+n+"i",i={$pattern:e,built_in:"case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"},o={className:"literal",begin:"(#t|#f|#\\\\"+e+"|#\\\\.)"},a={className:"number",variants:[{begin:n,relevance:0},{begin:r,relevance:0},{begin:"#b[0-1]+(/[0-1]+)?"},{begin:"#o[0-7]+(/[0-7]+)?"},{begin:"#x[0-9a-f]+(/[0-9a-f]+)?"}]},s=t.QUOTE_STRING_MODE,l=[t.COMMENT(";","$",{relevance:0}),t.COMMENT("#\\|","\\|#")],c={begin:e,relevance:0},u={className:"symbol",begin:"'"+e},d={endsWithParent:!0,relevance:0},p={variants:[{begin:/'/},{begin:"`"}],contains:[{begin:"\\(",end:"\\)",contains:["self",o,s,a,c,u]}]},_={className:"name",relevance:0,begin:e,keywords:i},f={variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}],contains:[{begin:/lambda/,endsWithParent:!0,returnBegin:!0,contains:[_,{endsParent:!0,variants:[{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/}],contains:[c]}]},_,d]};return d.contains=[o,a,s,c,u,p,f].concat(l),{name:"Scheme",aliases:["scm"],illegal:/\S/,contains:[t.SHEBANG(),a,s,u,p,f].concat(l)}}function ID(t){const e=[t.C_NUMBER_MODE,{className:"string",begin:`'|"`,end:`'|"`,contains:[t.BACKSLASH_ESCAPE,{begin:"''"}]}];return{name:"Scilab",aliases:["sci"],keywords:{$pattern:/%?\w+/,keyword:"abort break case clear catch continue do elseif else endfunction end for function global if pause return resume select try then while",literal:"%f %F %t %T %pi %eps %inf %nan %e %i %z %s",built_in:"abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp error exec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isempty isinfisnan isvector lasterror length load linspace list listfiles log10 log2 log max min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand real round sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tan type typename warning zeros matrix"},illegal:'("|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[t.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{begin:"[a-zA-Z_][a-zA-Z_0-9]*[\\.']+",relevance:0},{begin:"\\[",end:"\\][\\.']*",relevance:0,contains:e},t.COMMENT("//","$")].concat(e)}}function xD(t){const e=["add","and","cmp","cmpg","cmpl","const","div","double","float","goto","if","int","long","move","mul","neg","new","nop","not","or","rem","return","shl","shr","sput","sub","throw","ushr","xor"],n=["aget","aput","array","check","execute","fill","filled","goto/16","goto/32","iget","instance","invoke","iput","monitor","packed","sget","sparse"],r=["transient","constructor","abstract","final","synthetic","public","private","protected","static","bridge","system"];return{name:"Smali",contains:[{className:"string",begin:'"',end:'"',relevance:0},t.COMMENT("#","$",{relevance:0}),{className:"keyword",variants:[{begin:"\\s*\\.end\\s[a-zA-Z0-9]*"},{begin:"^[ ]*\\.[a-zA-Z]*",relevance:0},{begin:"\\s:[a-zA-Z_0-9]*",relevance:0},{begin:"\\s("+r.join("|")+")"}]},{className:"built_in",variants:[{begin:"\\s("+e.join("|")+")\\s"},{begin:"\\s("+e.join("|")+")((-|/)[a-zA-Z0-9]+)+\\s",relevance:10},{begin:"\\s("+n.join("|")+")((-|/)[a-zA-Z0-9]+)*\\s",relevance:10}]},{className:"class",begin:`L[^(;: +]*;`,relevance:0},{begin:"[vp][0-9]+"}]}}function DD(t){const e="[a-z][a-zA-Z0-9_]*",n={className:"string",begin:"\\$.{1}"},r={className:"symbol",begin:"#"+t.UNDERSCORE_IDENT_RE};return{name:"Smalltalk",aliases:["st"],keywords:["self","super","nil","true","false","thisContext"],contains:[t.COMMENT('"','"'),t.APOS_STRING_MODE,{className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},{begin:e+":",relevance:0},t.C_NUMBER_MODE,r,n,{begin:"\\|[ ]*"+e+"([ ]+"+e+")*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?"+e}]},{begin:"#\\(",end:"\\)",contains:[t.APOS_STRING_MODE,n,t.C_NUMBER_MODE,r]}]}}function MD(t){return{name:"SML (Standard ML)",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"abstype and andalso as case datatype do else end eqtype exception fn fun functor handle if in include infix infixr let local nonfix of op open orelse raise rec sharing sig signature struct structure then type val with withtype where while",built_in:"array bool char exn int list option order real ref string substring vector unit word",literal:"true false NONE SOME LESS EQUAL GREATER nil"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:/\[(\|\|)?\]|\(\)/,relevance:0},t.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*"},t.inherit(t.APOS_STRING_MODE,{className:"string",relevance:0}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/[-=]>/}]}}function wD(t){const e={className:"variable",begin:/\b_+[a-zA-Z]\w*/},n={className:"title",begin:/[a-zA-Z][a-zA-Z_0-9]*_fnc_[a-zA-Z_0-9]+/},r={className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]},{begin:"'",end:"'",contains:[{begin:"''",relevance:0}]}]},i=["break","breakWith","breakOut","breakTo","case","catch","continue","continueWith","default","do","else","exit","exitWith","for","forEach","from","if","local","private","switch","step","then","throw","to","try","waitUntil","while","with"],o=["blufor","civilian","configNull","controlNull","displayNull","diaryRecordNull","east","endl","false","grpNull","independent","lineBreak","locationNull","nil","objNull","opfor","pi","resistance","scriptNull","sideAmbientLife","sideEmpty","sideEnemy","sideFriendly","sideLogic","sideUnknown","taskNull","teamMemberNull","true","west"],a=["abs","accTime","acos","action","actionIDs","actionKeys","actionKeysEx","actionKeysImages","actionKeysNames","actionKeysNamesArray","actionName","actionParams","activateAddons","activatedAddons","activateKey","activeTitleEffectParams","add3DENConnection","add3DENEventHandler","add3DENLayer","addAction","addBackpack","addBackpackCargo","addBackpackCargoGlobal","addBackpackGlobal","addBinocularItem","addCamShake","addCuratorAddons","addCuratorCameraArea","addCuratorEditableObjects","addCuratorEditingArea","addCuratorPoints","addEditorObject","addEventHandler","addForce","addForceGeneratorRTD","addGoggles","addGroupIcon","addHandgunItem","addHeadgear","addItem","addItemCargo","addItemCargoGlobal","addItemPool","addItemToBackpack","addItemToUniform","addItemToVest","addLiveStats","addMagazine","addMagazineAmmoCargo","addMagazineCargo","addMagazineCargoGlobal","addMagazineGlobal","addMagazinePool","addMagazines","addMagazineTurret","addMenu","addMenuItem","addMissionEventHandler","addMPEventHandler","addMusicEventHandler","addonFiles","addOwnedMine","addPlayerScores","addPrimaryWeaponItem","addPublicVariableEventHandler","addRating","addResources","addScore","addScoreSide","addSecondaryWeaponItem","addSwitchableUnit","addTeamMember","addToRemainsCollector","addTorque","addUniform","addUserActionEventHandler","addVehicle","addVest","addWaypoint","addWeapon","addWeaponCargo","addWeaponCargoGlobal","addWeaponGlobal","addWeaponItem","addWeaponPool","addWeaponTurret","addWeaponWithAttachmentsCargo","addWeaponWithAttachmentsCargoGlobal","admin","agent","agents","AGLToASL","aimedAtTarget","aimPos","airDensityCurveRTD","airDensityRTD","airplaneThrottle","airportSide","AISFinishHeal","alive","all3DENEntities","allActiveTitleEffects","allAddonsInfo","allAirports","allControls","allCurators","allCutLayers","allDead","allDeadMen","allDiaryRecords","allDiarySubjects","allDisplays","allEnv3DSoundSources","allGroups","allLODs","allMapMarkers","allMines","allMissionObjects","allObjects","allow3DMode","allowCrewInImmobile","allowCuratorLogicIgnoreAreas","allowDamage","allowDammage","allowedService","allowFileOperations","allowFleeing","allowGetIn","allowService","allowSprint","allPlayers","allSimpleObjects","allSites","allTurrets","allUnits","allUnitsUAV","allUsers","allVariables","ambientTemperature","ammo","ammoOnPylon","and","animate","animateBay","animateDoor","animatePylon","animateSource","animationNames","animationPhase","animationSourcePhase","animationState","apertureParams","append","apply","armoryPoints","arrayIntersect","asin","ASLToAGL","ASLToATL","assert","assignAsCargo","assignAsCargoIndex","assignAsCommander","assignAsDriver","assignAsGunner","assignAsTurret","assignCurator","assignedCargo","assignedCommander","assignedDriver","assignedGroup","assignedGunner","assignedItems","assignedTarget","assignedTeam","assignedVehicle","assignedVehicleRole","assignedVehicles","assignItem","assignTeam","assignToAirport","atan","atan2","atg","ATLToASL","attachedObject","attachedObjects","attachedTo","attachObject","attachTo","attackEnabled","awake","backpack","backpackCargo","backpackContainer","backpackItems","backpackMagazines","backpackSpaceFor","behaviour","benchmark","bezierInterpolation","binocular","binocularItems","binocularMagazine","boundingBox","boundingBoxReal","boundingCenter","brakesDisabled","briefingName","buildingExit","buildingPos","buldozer_EnableRoadDiag","buldozer_IsEnabledRoadDiag","buldozer_LoadNewRoads","buldozer_reloadOperMap","buttonAction","buttonSetAction","cadetMode","calculatePath","calculatePlayerVisibilityByFriendly","call","callExtension","camCommand","camCommit","camCommitPrepared","camCommitted","camConstuctionSetParams","camCreate","camDestroy","cameraEffect","cameraEffectEnableHUD","cameraInterest","cameraOn","cameraView","campaignConfigFile","camPreload","camPreloaded","camPrepareBank","camPrepareDir","camPrepareDive","camPrepareFocus","camPrepareFov","camPrepareFovRange","camPreparePos","camPrepareRelPos","camPrepareTarget","camSetBank","camSetDir","camSetDive","camSetFocus","camSetFov","camSetFovRange","camSetPos","camSetRelPos","camSetTarget","camTarget","camUseNVG","canAdd","canAddItemToBackpack","canAddItemToUniform","canAddItemToVest","cancelSimpleTaskDestination","canDeployWeapon","canFire","canMove","canSlingLoad","canStand","canSuspend","canTriggerDynamicSimulation","canUnloadInCombat","canVehicleCargo","captive","captiveNum","cbChecked","cbSetChecked","ceil","channelEnabled","cheatsEnabled","checkAIFeature","checkVisibility","className","clear3DENAttribute","clear3DENInventory","clearAllItemsFromBackpack","clearBackpackCargo","clearBackpackCargoGlobal","clearForcesRTD","clearGroupIcons","clearItemCargo","clearItemCargoGlobal","clearItemPool","clearMagazineCargo","clearMagazineCargoGlobal","clearMagazinePool","clearOverlay","clearRadio","clearWeaponCargo","clearWeaponCargoGlobal","clearWeaponPool","clientOwner","closeDialog","closeDisplay","closeOverlay","collapseObjectTree","collect3DENHistory","collectiveRTD","collisionDisabledWith","combatBehaviour","combatMode","commandArtilleryFire","commandChat","commander","commandFire","commandFollow","commandFSM","commandGetOut","commandingMenu","commandMove","commandRadio","commandStop","commandSuppressiveFire","commandTarget","commandWatch","comment","commitOverlay","compatibleItems","compatibleMagazines","compile","compileFinal","compileScript","completedFSM","composeText","configClasses","configFile","configHierarchy","configName","configOf","configProperties","configSourceAddonList","configSourceMod","configSourceModList","confirmSensorTarget","connectTerminalToUAV","connectToServer","controlsGroupCtrl","conversationDisabled","copyFromClipboard","copyToClipboard","copyWaypoints","cos","count","countEnemy","countFriendly","countSide","countType","countUnknown","create3DENComposition","create3DENEntity","createAgent","createCenter","createDialog","createDiaryLink","createDiaryRecord","createDiarySubject","createDisplay","createGearDialog","createGroup","createGuardedPoint","createHashMap","createHashMapFromArray","createLocation","createMarker","createMarkerLocal","createMenu","createMine","createMissionDisplay","createMPCampaignDisplay","createSimpleObject","createSimpleTask","createSite","createSoundSource","createTask","createTeam","createTrigger","createUnit","createVehicle","createVehicleCrew","createVehicleLocal","crew","ctAddHeader","ctAddRow","ctClear","ctCurSel","ctData","ctFindHeaderRows","ctFindRowHeader","ctHeaderControls","ctHeaderCount","ctRemoveHeaders","ctRemoveRows","ctrlActivate","ctrlAddEventHandler","ctrlAngle","ctrlAnimateModel","ctrlAnimationPhaseModel","ctrlAt","ctrlAutoScrollDelay","ctrlAutoScrollRewind","ctrlAutoScrollSpeed","ctrlBackgroundColor","ctrlChecked","ctrlClassName","ctrlCommit","ctrlCommitted","ctrlCreate","ctrlDelete","ctrlEnable","ctrlEnabled","ctrlFade","ctrlFontHeight","ctrlForegroundColor","ctrlHTMLLoaded","ctrlIDC","ctrlIDD","ctrlMapAnimAdd","ctrlMapAnimClear","ctrlMapAnimCommit","ctrlMapAnimDone","ctrlMapCursor","ctrlMapMouseOver","ctrlMapPosition","ctrlMapScale","ctrlMapScreenToWorld","ctrlMapSetPosition","ctrlMapWorldToScreen","ctrlModel","ctrlModelDirAndUp","ctrlModelScale","ctrlMousePosition","ctrlParent","ctrlParentControlsGroup","ctrlPosition","ctrlRemoveAllEventHandlers","ctrlRemoveEventHandler","ctrlScale","ctrlScrollValues","ctrlSetActiveColor","ctrlSetAngle","ctrlSetAutoScrollDelay","ctrlSetAutoScrollRewind","ctrlSetAutoScrollSpeed","ctrlSetBackgroundColor","ctrlSetChecked","ctrlSetDisabledColor","ctrlSetEventHandler","ctrlSetFade","ctrlSetFocus","ctrlSetFont","ctrlSetFontH1","ctrlSetFontH1B","ctrlSetFontH2","ctrlSetFontH2B","ctrlSetFontH3","ctrlSetFontH3B","ctrlSetFontH4","ctrlSetFontH4B","ctrlSetFontH5","ctrlSetFontH5B","ctrlSetFontH6","ctrlSetFontH6B","ctrlSetFontHeight","ctrlSetFontHeightH1","ctrlSetFontHeightH2","ctrlSetFontHeightH3","ctrlSetFontHeightH4","ctrlSetFontHeightH5","ctrlSetFontHeightH6","ctrlSetFontHeightSecondary","ctrlSetFontP","ctrlSetFontPB","ctrlSetFontSecondary","ctrlSetForegroundColor","ctrlSetModel","ctrlSetModelDirAndUp","ctrlSetModelScale","ctrlSetMousePosition","ctrlSetPixelPrecision","ctrlSetPosition","ctrlSetPositionH","ctrlSetPositionW","ctrlSetPositionX","ctrlSetPositionY","ctrlSetScale","ctrlSetScrollValues","ctrlSetShadow","ctrlSetStructuredText","ctrlSetText","ctrlSetTextColor","ctrlSetTextColorSecondary","ctrlSetTextSecondary","ctrlSetTextSelection","ctrlSetTooltip","ctrlSetTooltipColorBox","ctrlSetTooltipColorShade","ctrlSetTooltipColorText","ctrlSetTooltipMaxWidth","ctrlSetURL","ctrlSetURLOverlayMode","ctrlShadow","ctrlShow","ctrlShown","ctrlStyle","ctrlText","ctrlTextColor","ctrlTextHeight","ctrlTextSecondary","ctrlTextSelection","ctrlTextWidth","ctrlTooltip","ctrlType","ctrlURL","ctrlURLOverlayMode","ctrlVisible","ctRowControls","ctRowCount","ctSetCurSel","ctSetData","ctSetHeaderTemplate","ctSetRowTemplate","ctSetValue","ctValue","curatorAddons","curatorCamera","curatorCameraArea","curatorCameraAreaCeiling","curatorCoef","curatorEditableObjects","curatorEditingArea","curatorEditingAreaType","curatorMouseOver","curatorPoints","curatorRegisteredObjects","curatorSelected","curatorWaypointCost","current3DENOperation","currentChannel","currentCommand","currentMagazine","currentMagazineDetail","currentMagazineDetailTurret","currentMagazineTurret","currentMuzzle","currentNamespace","currentPilot","currentTask","currentTasks","currentThrowable","currentVisionMode","currentWaypoint","currentWeapon","currentWeaponMode","currentWeaponTurret","currentZeroing","cursorObject","cursorTarget","customChat","customRadio","customWaypointPosition","cutFadeOut","cutObj","cutRsc","cutText","damage","date","dateToNumber","dayTime","deActivateKey","debriefingText","debugFSM","debugLog","decayGraphValues","deg","delete3DENEntities","deleteAt","deleteCenter","deleteCollection","deleteEditorObject","deleteGroup","deleteGroupWhenEmpty","deleteIdentity","deleteLocation","deleteMarker","deleteMarkerLocal","deleteRange","deleteResources","deleteSite","deleteStatus","deleteTeam","deleteVehicle","deleteVehicleCrew","deleteWaypoint","detach","detectedMines","diag_activeMissionFSMs","diag_activeScripts","diag_activeSQFScripts","diag_activeSQSScripts","diag_allMissionEventHandlers","diag_captureFrame","diag_captureFrameToFile","diag_captureSlowFrame","diag_codePerformance","diag_deltaTime","diag_drawmode","diag_dumpCalltraceToLog","diag_dumpScriptAssembly","diag_dumpTerrainSynth","diag_dynamicSimulationEnd","diag_enable","diag_enabled","diag_exportConfig","diag_exportTerrainSVG","diag_fps","diag_fpsmin","diag_frameno","diag_getTerrainSegmentOffset","diag_lightNewLoad","diag_list","diag_localized","diag_log","diag_logSlowFrame","diag_mergeConfigFile","diag_recordTurretLimits","diag_resetFSM","diag_resetshapes","diag_scope","diag_setLightNew","diag_stacktrace","diag_tickTime","diag_toggle","dialog","diarySubjectExists","didJIP","didJIPOwner","difficulty","difficultyEnabled","difficultyEnabledRTD","difficultyOption","direction","directionStabilizationEnabled","directSay","disableAI","disableBrakes","disableCollisionWith","disableConversation","disableDebriefingStats","disableMapIndicators","disableNVGEquipment","disableRemoteSensors","disableSerialization","disableTIEquipment","disableUAVConnectability","disableUserInput","displayAddEventHandler","displayChild","displayCtrl","displayParent","displayRemoveAllEventHandlers","displayRemoveEventHandler","displaySetEventHandler","displayUniqueName","displayUpdate","dissolveTeam","distance","distance2D","distanceSqr","distributionRegion","do3DENAction","doArtilleryFire","doFire","doFollow","doFSM","doGetOut","doMove","doorPhase","doStop","doSuppressiveFire","doTarget","doWatch","drawArrow","drawEllipse","drawIcon","drawIcon3D","drawLaser","drawLine","drawLine3D","drawLink","drawLocation","drawPolygon","drawRectangle","drawTriangle","driver","drop","dynamicSimulationDistance","dynamicSimulationDistanceCoef","dynamicSimulationEnabled","dynamicSimulationSystemEnabled","echo","edit3DENMissionAttributes","editObject","editorSetEventHandler","effectiveCommander","elevatePeriscope","emptyPositions","enableAI","enableAIFeature","enableAimPrecision","enableAttack","enableAudioFeature","enableAutoStartUpRTD","enableAutoTrimRTD","enableCamShake","enableCaustics","enableChannel","enableCollisionWith","enableCopilot","enableDebriefingStats","enableDiagLegend","enableDirectionStabilization","enableDynamicSimulation","enableDynamicSimulationSystem","enableEndDialog","enableEngineArtillery","enableEnvironment","enableFatigue","enableGunLights","enableInfoPanelComponent","enableIRLasers","enableMimics","enablePersonTurret","enableRadio","enableReload","enableRopeAttach","enableSatNormalOnDetail","enableSaving","enableSentences","enableSimulation","enableSimulationGlobal","enableStamina","enableStressDamage","enableTeamSwitch","enableTraffic","enableUAVConnectability","enableUAVWaypoints","enableVehicleCargo","enableVehicleSensor","enableWeaponDisassembly","endLoadingScreen","endMission","engineOn","enginesIsOnRTD","enginesPowerRTD","enginesRpmRTD","enginesTorqueRTD","entities","environmentEnabled","environmentVolume","equipmentDisabled","estimatedEndServerTime","estimatedTimeLeft","evalObjectArgument","everyBackpack","everyContainer","exec","execEditorScript","execFSM","execVM","exp","expectedDestination","exportJIPMessages","eyeDirection","eyePos","face","faction","fadeEnvironment","fadeMusic","fadeRadio","fadeSound","fadeSpeech","failMission","fileExists","fillWeaponsFromPool","find","findAny","findCover","findDisplay","findEditorObject","findEmptyPosition","findEmptyPositionReady","findIf","findNearestEnemy","finishMissionInit","finite","fire","fireAtTarget","firstBackpack","flag","flagAnimationPhase","flagOwner","flagSide","flagTexture","flatten","fleeing","floor","flyInHeight","flyInHeightASL","focusedCtrl","fog","fogForecast","fogParams","forceAddUniform","forceAtPositionRTD","forceCadetDifficulty","forcedMap","forceEnd","forceFlagTexture","forceFollowRoad","forceGeneratorRTD","forceMap","forceRespawn","forceSpeed","forceUnicode","forceWalk","forceWeaponFire","forceWeatherChange","forEachMember","forEachMemberAgent","forEachMemberTeam","forgetTarget","format","formation","formationDirection","formationLeader","formationMembers","formationPosition","formationTask","formatText","formLeader","freeExtension","freeLook","fromEditor","fuel","fullCrew","gearIDCAmmoCount","gearSlotAmmoCount","gearSlotData","gestureState","get","get3DENActionState","get3DENAttribute","get3DENCamera","get3DENConnections","get3DENEntity","get3DENEntityID","get3DENGrid","get3DENIconsVisible","get3DENLayerEntities","get3DENLinesVisible","get3DENMissionAttribute","get3DENMouseOver","get3DENSelected","getAimingCoef","getAllEnv3DSoundControllers","getAllEnvSoundControllers","getAllHitPointsDamage","getAllOwnedMines","getAllPylonsInfo","getAllSoundControllers","getAllUnitTraits","getAmmoCargo","getAnimAimPrecision","getAnimSpeedCoef","getArray","getArtilleryAmmo","getArtilleryComputerSettings","getArtilleryETA","getAssetDLCInfo","getAssignedCuratorLogic","getAssignedCuratorUnit","getAttackTarget","getAudioOptionVolumes","getBackpackCargo","getBleedingRemaining","getBurningValue","getCalculatePlayerVisibilityByFriendly","getCameraViewDirection","getCargoIndex","getCenterOfMass","getClientState","getClientStateNumber","getCompatiblePylonMagazines","getConnectedUAV","getConnectedUAVUnit","getContainerMaxLoad","getCorpse","getCruiseControl","getCursorObjectParams","getCustomAimCoef","getCustomSoundController","getCustomSoundControllerCount","getDammage","getDebriefingText","getDescription","getDir","getDirVisual","getDiverState","getDLCAssetsUsage","getDLCAssetsUsageByName","getDLCs","getDLCUsageTime","getEditorCamera","getEditorMode","getEditorObjectScope","getElevationOffset","getEngineTargetRPMRTD","getEnv3DSoundController","getEnvSoundController","getEventHandlerInfo","getFatigue","getFieldManualStartPage","getForcedFlagTexture","getForcedSpeed","getFriend","getFSMVariable","getFuelCargo","getGraphValues","getGroupIcon","getGroupIconParams","getGroupIcons","getHideFrom","getHit","getHitIndex","getHitPointDamage","getItemCargo","getLighting","getLightingAt","getLoadedModsInfo","getMagazineCargo","getMarkerColor","getMarkerPos","getMarkerSize","getMarkerType","getMass","getMissionConfig","getMissionConfigValue","getMissionDLCs","getMissionLayerEntities","getMissionLayers","getMissionPath","getModelInfo","getMousePosition","getMusicPlayedTime","getNumber","getObjectArgument","getObjectChildren","getObjectDLC","getObjectFOV","getObjectID","getObjectMaterials","getObjectProxy","getObjectScale","getObjectTextures","getObjectType","getObjectViewDistance","getOpticsMode","getOrDefault","getOrDefaultCall","getOxygenRemaining","getPersonUsedDLCs","getPilotCameraDirection","getPilotCameraPosition","getPilotCameraRotation","getPilotCameraTarget","getPiPViewDistance","getPlateNumber","getPlayerChannel","getPlayerID","getPlayerScores","getPlayerUID","getPlayerVoNVolume","getPos","getPosASL","getPosASLVisual","getPosASLW","getPosATL","getPosATLVisual","getPosVisual","getPosWorld","getPosWorldVisual","getPylonMagazines","getRelDir","getRelPos","getRemoteSensorsDisabled","getRepairCargo","getResolution","getRoadInfo","getRotorBrakeRTD","getSensorTargets","getSensorThreats","getShadowDistance","getShotParents","getSlingLoad","getSoundController","getSoundControllerResult","getSpeed","getStamina","getStatValue","getSteamFriendsServers","getSubtitleOptions","getSuppression","getTerrainGrid","getTerrainHeight","getTerrainHeightASL","getTerrainInfo","getText","getTextRaw","getTextureInfo","getTextWidth","getTiParameters","getTotalDLCUsageTime","getTrimOffsetRTD","getTurretLimits","getTurretOpticsMode","getUnitFreefallInfo","getUnitLoadout","getUnitTrait","getUnloadInCombat","getUserInfo","getUserMFDText","getUserMFDValue","getVariable","getVehicleCargo","getVehicleTiPars","getWeaponCargo","getWeaponSway","getWingsOrientationRTD","getWingsPositionRTD","getWPPos","glanceAt","globalChat","globalRadio","goggles","goto","group","groupChat","groupFromNetId","groupIconSelectable","groupIconsVisible","groupID","groupOwner","groupRadio","groups","groupSelectedUnits","groupSelectUnit","gunner","gusts","halt","handgunItems","handgunMagazine","handgunWeapon","handsHit","hashValue","hasInterface","hasPilotCamera","hasWeapon","hcAllGroups","hcGroupParams","hcLeader","hcRemoveAllGroups","hcRemoveGroup","hcSelected","hcSelectGroup","hcSetGroup","hcShowBar","hcShownBar","headgear","hideBody","hideObject","hideObjectGlobal","hideSelection","hint","hintC","hintCadet","hintSilent","hmd","hostMission","htmlLoad","HUDMovementLevels","humidity","image","importAllGroups","importance","in","inArea","inAreaArray","incapacitatedState","inflame","inflamed","infoPanel","infoPanelComponentEnabled","infoPanelComponents","infoPanels","inGameUISetEventHandler","inheritsFrom","initAmbientLife","inPolygon","inputAction","inputController","inputMouse","inRangeOfArtillery","insert","insertEditorObject","intersect","is3DEN","is3DENMultiplayer","is3DENPreview","isAbleToBreathe","isActionMenuVisible","isAgent","isAimPrecisionEnabled","isAllowedCrewInImmobile","isArray","isAutoHoverOn","isAutonomous","isAutoStartUpEnabledRTD","isAutotest","isAutoTrimOnRTD","isAwake","isBleeding","isBurning","isClass","isCollisionLightOn","isCopilotEnabled","isDamageAllowed","isDedicated","isDLCAvailable","isEngineOn","isEqualRef","isEqualTo","isEqualType","isEqualTypeAll","isEqualTypeAny","isEqualTypeArray","isEqualTypeParams","isFilePatchingEnabled","isFinal","isFlashlightOn","isFlatEmpty","isForcedWalk","isFormationLeader","isGameFocused","isGamePaused","isGroupDeletedWhenEmpty","isHidden","isInRemainsCollector","isInstructorFigureEnabled","isIRLaserOn","isKeyActive","isKindOf","isLaserOn","isLightOn","isLocalized","isManualFire","isMarkedForCollection","isMissionProfileNamespaceLoaded","isMultiplayer","isMultiplayerSolo","isNil","isNotEqualRef","isNotEqualTo","isNull","isNumber","isObjectHidden","isObjectRTD","isOnRoad","isPiPEnabled","isPlayer","isRealTime","isRemoteExecuted","isRemoteExecutedJIP","isSaving","isSensorTargetConfirmed","isServer","isShowing3DIcons","isSimpleObject","isSprintAllowed","isStaminaEnabled","isSteamMission","isSteamOverlayEnabled","isStreamFriendlyUIEnabled","isStressDamageEnabled","isText","isTouchingGround","isTurnedOut","isTutHintsEnabled","isUAVConnectable","isUAVConnected","isUIContext","isUniformAllowed","isVehicleCargo","isVehicleRadarOn","isVehicleSensorEnabled","isWalking","isWeaponDeployed","isWeaponRested","itemCargo","items","itemsWithMagazines","join","joinAs","joinAsSilent","joinSilent","joinString","kbAddDatabase","kbAddDatabaseTargets","kbAddTopic","kbHasTopic","kbReact","kbRemoveTopic","kbTell","kbWasSaid","keyImage","keyName","keys","knowsAbout","land","landAt","landResult","language","laserTarget","lbAdd","lbClear","lbColor","lbColorRight","lbCurSel","lbData","lbDelete","lbIsSelected","lbPicture","lbPictureRight","lbSelection","lbSetColor","lbSetColorRight","lbSetCurSel","lbSetData","lbSetPicture","lbSetPictureColor","lbSetPictureColorDisabled","lbSetPictureColorSelected","lbSetPictureRight","lbSetPictureRightColor","lbSetPictureRightColorDisabled","lbSetPictureRightColorSelected","lbSetSelectColor","lbSetSelectColorRight","lbSetSelected","lbSetText","lbSetTextRight","lbSetTooltip","lbSetValue","lbSize","lbSort","lbSortBy","lbSortByValue","lbText","lbTextRight","lbTooltip","lbValue","leader","leaderboardDeInit","leaderboardGetRows","leaderboardInit","leaderboardRequestRowsFriends","leaderboardRequestRowsGlobal","leaderboardRequestRowsGlobalAroundUser","leaderboardsRequestUploadScore","leaderboardsRequestUploadScoreKeepBest","leaderboardState","leaveVehicle","libraryCredits","libraryDisclaimers","lifeState","lightAttachObject","lightDetachObject","lightIsOn","lightnings","limitSpeed","linearConversion","lineIntersects","lineIntersectsObjs","lineIntersectsSurfaces","lineIntersectsWith","linkItem","list","listObjects","listRemoteTargets","listVehicleSensors","ln","lnbAddArray","lnbAddColumn","lnbAddRow","lnbClear","lnbColor","lnbColorRight","lnbCurSelRow","lnbData","lnbDeleteColumn","lnbDeleteRow","lnbGetColumnsPosition","lnbPicture","lnbPictureRight","lnbSetColor","lnbSetColorRight","lnbSetColumnsPos","lnbSetCurSelRow","lnbSetData","lnbSetPicture","lnbSetPictureColor","lnbSetPictureColorRight","lnbSetPictureColorSelected","lnbSetPictureColorSelectedRight","lnbSetPictureRight","lnbSetText","lnbSetTextRight","lnbSetTooltip","lnbSetValue","lnbSize","lnbSort","lnbSortBy","lnbSortByValue","lnbText","lnbTextRight","lnbValue","load","loadAbs","loadBackpack","loadConfig","loadFile","loadGame","loadIdentity","loadMagazine","loadOverlay","loadStatus","loadUniform","loadVest","localize","localNamespace","locationPosition","lock","lockCameraTo","lockCargo","lockDriver","locked","lockedCameraTo","lockedCargo","lockedDriver","lockedInventory","lockedTurret","lockIdentity","lockInventory","lockTurret","lockWp","log","logEntities","logNetwork","logNetworkTerminate","lookAt","lookAtPos","magazineCargo","magazines","magazinesAllTurrets","magazinesAmmo","magazinesAmmoCargo","magazinesAmmoFull","magazinesDetail","magazinesDetailBackpack","magazinesDetailUniform","magazinesDetailVest","magazinesTurret","magazineTurretAmmo","mapAnimAdd","mapAnimClear","mapAnimCommit","mapAnimDone","mapCenterOnCamera","mapGridPosition","markAsFinishedOnSteam","markerAlpha","markerBrush","markerChannel","markerColor","markerDir","markerPolyline","markerPos","markerShadow","markerShape","markerSize","markerText","markerType","matrixMultiply","matrixTranspose","max","maxLoad","members","menuAction","menuAdd","menuChecked","menuClear","menuCollapse","menuData","menuDelete","menuEnable","menuEnabled","menuExpand","menuHover","menuPicture","menuSetAction","menuSetCheck","menuSetData","menuSetPicture","menuSetShortcut","menuSetText","menuSetURL","menuSetValue","menuShortcut","menuShortcutText","menuSize","menuSort","menuText","menuURL","menuValue","merge","min","mineActive","mineDetectedBy","missileTarget","missileTargetPos","missionConfigFile","missionDifficulty","missionEnd","missionName","missionNameSource","missionNamespace","missionProfileNamespace","missionStart","missionVersion","mod","modelToWorld","modelToWorldVisual","modelToWorldVisualWorld","modelToWorldWorld","modParams","moonIntensity","moonPhase","morale","move","move3DENCamera","moveInAny","moveInCargo","moveInCommander","moveInDriver","moveInGunner","moveInTurret","moveObjectToEnd","moveOut","moveTime","moveTo","moveToCompleted","moveToFailed","musicVolume","name","namedProperties","nameSound","nearEntities","nearestBuilding","nearestLocation","nearestLocations","nearestLocationWithDubbing","nearestMines","nearestObject","nearestObjects","nearestTerrainObjects","nearObjects","nearObjectsReady","nearRoads","nearSupplies","nearTargets","needReload","needService","netId","netObjNull","newOverlay","nextMenuItemIndex","nextWeatherChange","nMenuItems","not","numberOfEnginesRTD","numberToDate","objectCurators","objectFromNetId","objectParent","objStatus","onBriefingGroup","onBriefingNotes","onBriefingPlan","onBriefingTeamSwitch","onCommandModeChanged","onDoubleClick","onEachFrame","onGroupIconClick","onGroupIconOverEnter","onGroupIconOverLeave","onHCGroupSelectionChanged","onMapSingleClick","onPlayerConnected","onPlayerDisconnected","onPreloadFinished","onPreloadStarted","onShowNewObject","onTeamSwitch","openCuratorInterface","openDLCPage","openGPS","openMap","openSteamApp","openYoutubeVideo","or","orderGetIn","overcast","overcastForecast","owner","param","params","parseNumber","parseSimpleArray","parseText","parsingNamespace","particlesQuality","periscopeElevation","pickWeaponPool","pitch","pixelGrid","pixelGridBase","pixelGridNoUIScale","pixelH","pixelW","playableSlotsNumber","playableUnits","playAction","playActionNow","player","playerRespawnTime","playerSide","playersNumber","playGesture","playMission","playMove","playMoveNow","playMusic","playScriptedMission","playSound","playSound3D","playSoundUI","pose","position","positionCameraToWorld","posScreenToWorld","posWorldToScreen","ppEffectAdjust","ppEffectCommit","ppEffectCommitted","ppEffectCreate","ppEffectDestroy","ppEffectEnable","ppEffectEnabled","ppEffectForceInNVG","precision","preloadCamera","preloadObject","preloadSound","preloadTitleObj","preloadTitleRsc","preprocessFile","preprocessFileLineNumbers","primaryWeapon","primaryWeaponItems","primaryWeaponMagazine","priority","processDiaryLink","productVersion","profileName","profileNamespace","profileNameSteam","progressLoadingScreen","progressPosition","progressSetPosition","publicVariable","publicVariableClient","publicVariableServer","pushBack","pushBackUnique","putWeaponPool","queryItemsPool","queryMagazinePool","queryWeaponPool","rad","radioChannelAdd","radioChannelCreate","radioChannelInfo","radioChannelRemove","radioChannelSetCallSign","radioChannelSetLabel","radioEnabled","radioVolume","rain","rainbow","rainParams","random","rank","rankId","rating","rectangular","regexFind","regexMatch","regexReplace","registeredTasks","registerTask","reload","reloadEnabled","remoteControl","remoteExec","remoteExecCall","remoteExecutedOwner","remove3DENConnection","remove3DENEventHandler","remove3DENLayer","removeAction","removeAll3DENEventHandlers","removeAllActions","removeAllAssignedItems","removeAllBinocularItems","removeAllContainers","removeAllCuratorAddons","removeAllCuratorCameraAreas","removeAllCuratorEditingAreas","removeAllEventHandlers","removeAllHandgunItems","removeAllItems","removeAllItemsWithMagazines","removeAllMissionEventHandlers","removeAllMPEventHandlers","removeAllMusicEventHandlers","removeAllOwnedMines","removeAllPrimaryWeaponItems","removeAllSecondaryWeaponItems","removeAllUserActionEventHandlers","removeAllWeapons","removeBackpack","removeBackpackGlobal","removeBinocularItem","removeCuratorAddons","removeCuratorCameraArea","removeCuratorEditableObjects","removeCuratorEditingArea","removeDiaryRecord","removeDiarySubject","removeDrawIcon","removeDrawLinks","removeEventHandler","removeFromRemainsCollector","removeGoggles","removeGroupIcon","removeHandgunItem","removeHeadgear","removeItem","removeItemFromBackpack","removeItemFromUniform","removeItemFromVest","removeItems","removeMagazine","removeMagazineGlobal","removeMagazines","removeMagazinesTurret","removeMagazineTurret","removeMenuItem","removeMissionEventHandler","removeMPEventHandler","removeMusicEventHandler","removeOwnedMine","removePrimaryWeaponItem","removeSecondaryWeaponItem","removeSimpleTask","removeSwitchableUnit","removeTeamMember","removeUniform","removeUserActionEventHandler","removeVest","removeWeapon","removeWeaponAttachmentCargo","removeWeaponCargo","removeWeaponGlobal","removeWeaponTurret","reportRemoteTarget","requiredVersion","resetCamShake","resetSubgroupDirection","resize","resources","respawnVehicle","restartEditorCamera","reveal","revealMine","reverse","reversedMouseY","roadAt","roadsConnectedTo","roleDescription","ropeAttachedObjects","ropeAttachedTo","ropeAttachEnabled","ropeAttachTo","ropeCreate","ropeCut","ropeDestroy","ropeDetach","ropeEndPosition","ropeLength","ropes","ropesAttachedTo","ropeSegments","ropeUnwind","ropeUnwound","rotorsForcesRTD","rotorsRpmRTD","round","runInitScript","safeZoneH","safeZoneW","safeZoneWAbs","safeZoneX","safeZoneXAbs","safeZoneY","save3DENInventory","saveGame","saveIdentity","saveJoysticks","saveMissionProfileNamespace","saveOverlay","saveProfileNamespace","saveStatus","saveVar","savingEnabled","say","say2D","say3D","scopeName","score","scoreSide","screenshot","screenToWorld","scriptDone","scriptName","scudState","secondaryWeapon","secondaryWeaponItems","secondaryWeaponMagazine","select","selectBestPlaces","selectDiarySubject","selectedEditorObjects","selectEditorObject","selectionNames","selectionPosition","selectionVectorDirAndUp","selectLeader","selectMax","selectMin","selectNoPlayer","selectPlayer","selectRandom","selectRandomWeighted","selectWeapon","selectWeaponTurret","sendAUMessage","sendSimpleCommand","sendTask","sendTaskResult","sendUDPMessage","sentencesEnabled","serverCommand","serverCommandAvailable","serverCommandExecutable","serverName","serverNamespace","serverTime","set","set3DENAttribute","set3DENAttributes","set3DENGrid","set3DENIconsVisible","set3DENLayer","set3DENLinesVisible","set3DENLogicType","set3DENMissionAttribute","set3DENMissionAttributes","set3DENModelsVisible","set3DENObjectType","set3DENSelected","setAccTime","setActualCollectiveRTD","setAirplaneThrottle","setAirportSide","setAmmo","setAmmoCargo","setAmmoOnPylon","setAnimSpeedCoef","setAperture","setApertureNew","setArmoryPoints","setAttributes","setAutonomous","setBehaviour","setBehaviourStrong","setBleedingRemaining","setBrakesRTD","setCameraInterest","setCamShakeDefParams","setCamShakeParams","setCamUseTi","setCaptive","setCenterOfMass","setCollisionLight","setCombatBehaviour","setCombatMode","setCompassOscillation","setConvoySeparation","setCruiseControl","setCuratorCameraAreaCeiling","setCuratorCoef","setCuratorEditingAreaType","setCuratorWaypointCost","setCurrentChannel","setCurrentTask","setCurrentWaypoint","setCustomAimCoef","SetCustomMissionData","setCustomSoundController","setCustomWeightRTD","setDamage","setDammage","setDate","setDebriefingText","setDefaultCamera","setDestination","setDetailMapBlendPars","setDiaryRecordText","setDiarySubjectPicture","setDir","setDirection","setDrawIcon","setDriveOnPath","setDropInterval","setDynamicSimulationDistance","setDynamicSimulationDistanceCoef","setEditorMode","setEditorObjectScope","setEffectCondition","setEffectiveCommander","setEngineRpmRTD","setFace","setFaceanimation","setFatigue","setFeatureType","setFlagAnimationPhase","setFlagOwner","setFlagSide","setFlagTexture","setFog","setForceGeneratorRTD","setFormation","setFormationTask","setFormDir","setFriend","setFromEditor","setFSMVariable","setFuel","setFuelCargo","setGroupIcon","setGroupIconParams","setGroupIconsSelectable","setGroupIconsVisible","setGroupid","setGroupIdGlobal","setGroupOwner","setGusts","setHideBehind","setHit","setHitIndex","setHitPointDamage","setHorizonParallaxCoef","setHUDMovementLevels","setHumidity","setIdentity","setImportance","setInfoPanel","setLeader","setLightAmbient","setLightAttenuation","setLightBrightness","setLightColor","setLightConePars","setLightDayLight","setLightFlareMaxDistance","setLightFlareSize","setLightIntensity","setLightIR","setLightnings","setLightUseFlare","setLightVolumeShape","setLocalWindParams","setMagazineTurretAmmo","setMarkerAlpha","setMarkerAlphaLocal","setMarkerBrush","setMarkerBrushLocal","setMarkerColor","setMarkerColorLocal","setMarkerDir","setMarkerDirLocal","setMarkerPolyline","setMarkerPolylineLocal","setMarkerPos","setMarkerPosLocal","setMarkerShadow","setMarkerShadowLocal","setMarkerShape","setMarkerShapeLocal","setMarkerSize","setMarkerSizeLocal","setMarkerText","setMarkerTextLocal","setMarkerType","setMarkerTypeLocal","setMass","setMaxLoad","setMimic","setMissileTarget","setMissileTargetPos","setMousePosition","setMusicEffect","setMusicEventHandler","setName","setNameSound","setObjectArguments","setObjectMaterial","setObjectMaterialGlobal","setObjectProxy","setObjectScale","setObjectTexture","setObjectTextureGlobal","setObjectViewDistance","setOpticsMode","setOvercast","setOwner","setOxygenRemaining","setParticleCircle","setParticleClass","setParticleFire","setParticleParams","setParticleRandom","setPilotCameraDirection","setPilotCameraRotation","setPilotCameraTarget","setPilotLight","setPiPEffect","setPiPViewDistance","setPitch","setPlateNumber","setPlayable","setPlayerRespawnTime","setPlayerVoNVolume","setPos","setPosASL","setPosASL2","setPosASLW","setPosATL","setPosition","setPosWorld","setPylonLoadout","setPylonsPriority","setRadioMsg","setRain","setRainbow","setRandomLip","setRank","setRectangular","setRepairCargo","setRotorBrakeRTD","setShadowDistance","setShotParents","setSide","setSimpleTaskAlwaysVisible","setSimpleTaskCustomData","setSimpleTaskDescription","setSimpleTaskDestination","setSimpleTaskTarget","setSimpleTaskType","setSimulWeatherLayers","setSize","setSkill","setSlingLoad","setSoundEffect","setSpeaker","setSpeech","setSpeedMode","setStamina","setStaminaScheme","setStatValue","setSuppression","setSystemOfUnits","setTargetAge","setTaskMarkerOffset","setTaskResult","setTaskState","setTerrainGrid","setTerrainHeight","setText","setTimeMultiplier","setTiParameter","setTitleEffect","setTowParent","setTrafficDensity","setTrafficDistance","setTrafficGap","setTrafficSpeed","setTriggerActivation","setTriggerArea","setTriggerInterval","setTriggerStatements","setTriggerText","setTriggerTimeout","setTriggerType","setTurretLimits","setTurretOpticsMode","setType","setUnconscious","setUnitAbility","setUnitCombatMode","setUnitFreefallHeight","setUnitLoadout","setUnitPos","setUnitPosWeak","setUnitRank","setUnitRecoilCoefficient","setUnitTrait","setUnloadInCombat","setUserActionText","setUserMFDText","setUserMFDValue","setVariable","setVectorDir","setVectorDirAndUp","setVectorUp","setVehicleAmmo","setVehicleAmmoDef","setVehicleArmor","setVehicleCargo","setVehicleId","setVehicleLock","setVehiclePosition","setVehicleRadar","setVehicleReceiveRemoteTargets","setVehicleReportOwnPosition","setVehicleReportRemoteTargets","setVehicleTiPars","setVehicleVarName","setVelocity","setVelocityModelSpace","setVelocityTransformation","setViewDistance","setVisibleIfTreeCollapsed","setWantedRPMRTD","setWaves","setWaypointBehaviour","setWaypointCombatMode","setWaypointCompletionRadius","setWaypointDescription","setWaypointForceBehaviour","setWaypointFormation","setWaypointHousePosition","setWaypointLoiterAltitude","setWaypointLoiterRadius","setWaypointLoiterType","setWaypointName","setWaypointPosition","setWaypointScript","setWaypointSpeed","setWaypointStatements","setWaypointTimeout","setWaypointType","setWaypointVisible","setWeaponReloadingTime","setWeaponZeroing","setWind","setWindDir","setWindForce","setWindStr","setWingForceScaleRTD","setWPPos","show3DIcons","showChat","showCinemaBorder","showCommandingMenu","showCompass","showCuratorCompass","showGps","showHUD","showLegend","showMap","shownArtilleryComputer","shownChat","shownCompass","shownCuratorCompass","showNewEditorObject","shownGps","shownHUD","shownMap","shownPad","shownRadio","shownScoretable","shownSubtitles","shownUAVFeed","shownWarrant","shownWatch","showPad","showRadio","showScoretable","showSubtitles","showUAVFeed","showWarrant","showWatch","showWaypoint","showWaypoints","side","sideChat","sideRadio","simpleTasks","simulationEnabled","simulCloudDensity","simulCloudOcclusion","simulInClouds","simulWeatherSync","sin","size","sizeOf","skill","skillFinal","skipTime","sleep","sliderPosition","sliderRange","sliderSetPosition","sliderSetRange","sliderSetSpeed","sliderSpeed","slingLoadAssistantShown","soldierMagazines","someAmmo","sort","soundVolume","spawn","speaker","speechVolume","speed","speedMode","splitString","sqrt","squadParams","stance","startLoadingScreen","stop","stopEngineRTD","stopped","str","sunOrMoon","supportInfo","suppressFor","surfaceIsWater","surfaceNormal","surfaceTexture","surfaceType","swimInDepth","switchableUnits","switchAction","switchCamera","switchGesture","switchLight","switchMove","synchronizedObjects","synchronizedTriggers","synchronizedWaypoints","synchronizeObjectsAdd","synchronizeObjectsRemove","synchronizeTrigger","synchronizeWaypoint","systemChat","systemOfUnits","systemTime","systemTimeUTC","tan","targetKnowledge","targets","targetsAggregate","targetsQuery","taskAlwaysVisible","taskChildren","taskCompleted","taskCustomData","taskDescription","taskDestination","taskHint","taskMarkerOffset","taskName","taskParent","taskResult","taskState","taskType","teamMember","teamName","teams","teamSwitch","teamSwitchEnabled","teamType","terminate","terrainIntersect","terrainIntersectASL","terrainIntersectAtASL","text","textLog","textLogFormat","tg","time","timeMultiplier","titleCut","titleFadeOut","titleObj","titleRsc","titleText","toArray","toFixed","toLower","toLowerANSI","toString","toUpper","toUpperANSI","triggerActivated","triggerActivation","triggerAmmo","triggerArea","triggerAttachedVehicle","triggerAttachObject","triggerAttachVehicle","triggerDynamicSimulation","triggerInterval","triggerStatements","triggerText","triggerTimeout","triggerTimeoutCurrent","triggerType","trim","turretLocal","turretOwner","turretUnit","tvAdd","tvClear","tvCollapse","tvCollapseAll","tvCount","tvCurSel","tvData","tvDelete","tvExpand","tvExpandAll","tvIsSelected","tvPicture","tvPictureRight","tvSelection","tvSetColor","tvSetCurSel","tvSetData","tvSetPicture","tvSetPictureColor","tvSetPictureColorDisabled","tvSetPictureColorSelected","tvSetPictureRight","tvSetPictureRightColor","tvSetPictureRightColorDisabled","tvSetPictureRightColorSelected","tvSetSelectColor","tvSetSelected","tvSetText","tvSetTooltip","tvSetValue","tvSort","tvSortAll","tvSortByValue","tvSortByValueAll","tvText","tvTooltip","tvValue","type","typeName","typeOf","UAVControl","uiNamespace","uiSleep","unassignCurator","unassignItem","unassignTeam","unassignVehicle","underwater","uniform","uniformContainer","uniformItems","uniformMagazines","uniqueUnitItems","unitAddons","unitAimPosition","unitAimPositionVisual","unitBackpack","unitCombatMode","unitIsUAV","unitPos","unitReady","unitRecoilCoefficient","units","unitsBelowHeight","unitTurret","unlinkItem","unlockAchievement","unregisterTask","updateDrawIcon","updateMenuItem","updateObjectTree","useAIOperMapObstructionTest","useAISteeringComponent","useAudioTimeForMoves","userInputDisabled","values","vectorAdd","vectorCos","vectorCrossProduct","vectorDiff","vectorDir","vectorDirVisual","vectorDistance","vectorDistanceSqr","vectorDotProduct","vectorFromTo","vectorLinearConversion","vectorMagnitude","vectorMagnitudeSqr","vectorModelToWorld","vectorModelToWorldVisual","vectorMultiply","vectorNormalized","vectorUp","vectorUpVisual","vectorWorldToModel","vectorWorldToModelVisual","vehicle","vehicleCargoEnabled","vehicleChat","vehicleMoveInfo","vehicleRadio","vehicleReceiveRemoteTargets","vehicleReportOwnPosition","vehicleReportRemoteTargets","vehicles","vehicleVarName","velocity","velocityModelSpace","verifySignature","vest","vestContainer","vestItems","vestMagazines","viewDistance","visibleCompass","visibleGps","visibleMap","visiblePosition","visiblePositionASL","visibleScoretable","visibleWatch","waves","waypointAttachedObject","waypointAttachedVehicle","waypointAttachObject","waypointAttachVehicle","waypointBehaviour","waypointCombatMode","waypointCompletionRadius","waypointDescription","waypointForceBehaviour","waypointFormation","waypointHousePosition","waypointLoiterAltitude","waypointLoiterRadius","waypointLoiterType","waypointName","waypointPosition","waypoints","waypointScript","waypointsEnabledUAV","waypointShow","waypointSpeed","waypointStatements","waypointTimeout","waypointTimeoutCurrent","waypointType","waypointVisible","weaponAccessories","weaponAccessoriesCargo","weaponCargo","weaponDirection","weaponInertia","weaponLowered","weaponReloadingTime","weapons","weaponsInfo","weaponsItems","weaponsItemsCargo","weaponState","weaponsTurret","weightRTD","WFSideText","wind","windDir","windRTD","windStr","wingsForcesRTD","worldName","worldSize","worldToModel","worldToModelVisual","worldToScreen"],s={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:"define undef ifdef ifndef else endif include if",contains:[{begin:/\\\n/,relevance:0},t.inherit(r,{className:"string"}),{begin:/<[^\n>]*>/,end:/$/,illegal:"\\n"},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]};return{name:"SQF",case_insensitive:!0,keywords:{keyword:i,built_in:a,literal:o},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.NUMBER_MODE,e,n,r,s],illegal:[/\$[^a-fA-F0-9]/,/\w\$/,/\?/,/@/,/ \| /,/[a-zA-Z_]\./,/\:\=/,/\[\:/]}}function LD(t){const e=t.regex,n=["functions","model","data","parameters","quantities","transformed","generated"],r=["for","in","if","else","while","break","continue","return"],i=["array","tuple","complex","int","real","vector","complex_vector","ordered","positive_ordered","simplex","unit_vector","row_vector","complex_row_vector","matrix","complex_matrix","cholesky_factor_corr|10","cholesky_factor_cov|10","corr_matrix|10","cov_matrix|10","void"],o=["abs","acos","acosh","add_diag","algebra_solver","algebra_solver_newton","append_array","append_col","append_row","asin","asinh","atan","atan2","atanh","bessel_first_kind","bessel_second_kind","binary_log_loss","block","cbrt","ceil","chol2inv","cholesky_decompose","choose","col","cols","columns_dot_product","columns_dot_self","complex_schur_decompose","complex_schur_decompose_t","complex_schur_decompose_u","conj","cos","cosh","cov_exp_quad","crossprod","csr_extract","csr_extract_u","csr_extract_v","csr_extract_w","csr_matrix_times_vector","csr_to_dense_matrix","cumulative_sum","dae","dae_tol","determinant","diag_matrix","diagonal","diag_post_multiply","diag_pre_multiply","digamma","dims","distance","dot_product","dot_self","eigendecompose","eigendecompose_sym","eigenvalues","eigenvalues_sym","eigenvectors","eigenvectors_sym","erf","erfc","exp","exp2","expm1","falling_factorial","fdim","fft","fft2","floor","fma","fmax","fmin","fmod","gamma_p","gamma_q","generalized_inverse","get_imag","get_real","head","hmm_hidden_state_prob","hmm_marginal","hypot","identity_matrix","inc_beta","integrate_1d","integrate_ode","integrate_ode_adams","integrate_ode_bdf","integrate_ode_rk45","int_step","inv","inv_cloglog","inv_erfc","inverse","inverse_spd","inv_fft","inv_fft2","inv_inc_beta","inv_logit","inv_Phi","inv_sqrt","inv_square","is_inf","is_nan","lambert_w0","lambert_wm1","lbeta","lchoose","ldexp","lgamma","linspaced_array","linspaced_int_array","linspaced_row_vector","linspaced_vector","lmgamma","lmultiply","log","log1m","log1m_exp","log1m_inv_logit","log1p","log1p_exp","log_determinant","log_diff_exp","log_falling_factorial","log_inv_logit","log_inv_logit_diff","logit","log_mix","log_modified_bessel_first_kind","log_rising_factorial","log_softmax","log_sum_exp","machine_precision","map_rect","matrix_exp","matrix_exp_multiply","matrix_power","max","mdivide_left_spd","mdivide_left_tri_low","mdivide_right_spd","mdivide_right_tri_low","mean","min","modified_bessel_first_kind","modified_bessel_second_kind","multiply_lower_tri_self_transpose","negative_infinity","norm","norm1","norm2","not_a_number","num_elements","ode_adams","ode_adams_tol","ode_adjoint_tol_ctl","ode_bdf","ode_bdf_tol","ode_ckrk","ode_ckrk_tol","ode_rk45","ode_rk45_tol","one_hot_array","one_hot_int_array","one_hot_row_vector","one_hot_vector","ones_array","ones_int_array","ones_row_vector","ones_vector","owens_t","Phi","Phi_approx","polar","positive_infinity","pow","print","prod","proj","qr","qr_Q","qr_R","qr_thin","qr_thin_Q","qr_thin_R","quad_form","quad_form_diag","quad_form_sym","quantile","rank","reduce_sum","reject","rep_array","rep_matrix","rep_row_vector","rep_vector","reverse","rising_factorial","round","row","rows","rows_dot_product","rows_dot_self","scale_matrix_exp_multiply","sd","segment","sin","singular_values","sinh","size","softmax","sort_asc","sort_desc","sort_indices_asc","sort_indices_desc","sqrt","square","squared_distance","step","sub_col","sub_row","sum","svd","svd_U","svd_V","symmetrize_from_lower_tri","tail","tan","tanh","target","tcrossprod","tgamma","to_array_1d","to_array_2d","to_complex","to_int","to_matrix","to_row_vector","to_vector","trace","trace_gen_quad_form","trace_quad_form","trigamma","trunc","uniform_simplex","variance","zeros_array","zeros_int_array","zeros_row_vector"],a=["bernoulli","bernoulli_logit","bernoulli_logit_glm","beta","beta_binomial","beta_proportion","binomial","binomial_logit","categorical","categorical_logit","categorical_logit_glm","cauchy","chi_square","dirichlet","discrete_range","double_exponential","exp_mod_normal","exponential","frechet","gamma","gaussian_dlm_obs","gumbel","hmm_latent","hypergeometric","inv_chi_square","inv_gamma","inv_wishart","inv_wishart_cholesky","lkj_corr","lkj_corr_cholesky","logistic","loglogistic","lognormal","multi_gp","multi_gp_cholesky","multinomial","multinomial_logit","multi_normal","multi_normal_cholesky","multi_normal_prec","multi_student_cholesky_t","multi_student_t","multi_student_t_cholesky","neg_binomial","neg_binomial_2","neg_binomial_2_log","neg_binomial_2_log_glm","normal","normal_id_glm","ordered_logistic","ordered_logistic_glm","ordered_probit","pareto","pareto_type_2","poisson","poisson_log","poisson_log_glm","rayleigh","scaled_inv_chi_square","skew_double_exponential","skew_normal","std_normal","std_normal_log","student_t","uniform","von_mises","weibull","wiener","wishart","wishart_cholesky"],s=t.COMMENT(/\/\*/,/\*\//,{relevance:0,contains:[{scope:"doctag",match:/@(return|param)/}]}),l={scope:"meta",begin:/#include\b/,end:/$/,contains:[{match:/[a-z][a-z-._]+/,scope:"string"},t.C_LINE_COMMENT_MODE]},c=["lower","upper","offset","multiplier"];return{name:"Stan",aliases:["stanfuncs"],keywords:{$pattern:t.IDENT_RE,title:n,type:i,keyword:r,built_in:o},contains:[t.C_LINE_COMMENT_MODE,l,t.HASH_COMMENT_MODE,s,{scope:"built_in",match:/\s(pi|e|sqrt2|log2|log10)(?=\()/,relevance:0},{match:e.concat(/[<,]\s*/,e.either(...c),/\s*=/),keywords:c},{scope:"keyword",match:/\btarget(?=\s*\+=)/},{match:[/~\s*/,e.either(...a),/(?:\(\))/,/\s*T(?=\s*\[)/],scope:{2:"built_in",4:"keyword"}},{scope:"built_in",keywords:a,begin:e.concat(/\w*/,e.either(...a),/(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/)},{begin:[/~/,/\s*/,e.concat(e.either(...a),/(?=\s*[\(.*\)])/)],scope:{3:"built_in"}},{begin:[/~/,/\s*\w+(?=\s*[\(.*\)])/,"(?!.*/\b("+e.either(...a)+")\b)"],scope:{2:"title.function"}},{scope:"title.function",begin:/\w*(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/},{scope:"number",match:e.concat(/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)/,/(?:[eE][+-]?\d+(?:_\d+)*)?i?(?!\w)/),relevance:0},{scope:"string",begin:/"/,end:/"/}]}}function kD(t){return{name:"Stata",aliases:["do","ado"],case_insensitive:!0,keywords:"if else in foreach for forv forva forval forvalu forvalue forvalues by bys bysort xi quietly qui capture about ac ac_7 acprplot acprplot_7 adjust ado adopath adoupdate alpha ameans an ano anov anova anova_estat anova_terms anovadef aorder ap app appe appen append arch arch_dr arch_estat arch_p archlm areg areg_p args arima arima_dr arima_estat arima_p as asmprobit asmprobit_estat asmprobit_lf asmprobit_mfx__dlg asmprobit_p ass asse asser assert avplot avplot_7 avplots avplots_7 bcskew0 bgodfrey bias binreg bip0_lf biplot bipp_lf bipr_lf bipr_p biprobit bitest bitesti bitowt blogit bmemsize boot bootsamp bootstrap bootstrap_8 boxco_l boxco_p boxcox boxcox_6 boxcox_p bprobit br break brier bro brow brows browse brr brrstat bs bs_7 bsampl_w bsample bsample_7 bsqreg bstat bstat_7 bstat_8 bstrap bstrap_7 bubble bubbleplot ca ca_estat ca_p cabiplot camat canon canon_8 canon_8_p canon_estat canon_p cap caprojection capt captu captur capture cat cc cchart cchart_7 cci cd censobs_table centile cf char chdir checkdlgfiles checkestimationsample checkhlpfiles checksum chelp ci cii cl class classutil clear cli clis clist clo clog clog_lf clog_p clogi clogi_sw clogit clogit_lf clogit_p clogitp clogl_sw cloglog clonevar clslistarray cluster cluster_measures cluster_stop cluster_tree cluster_tree_8 clustermat cmdlog cnr cnre cnreg cnreg_p cnreg_sw cnsreg codebook collaps4 collapse colormult_nb colormult_nw compare compress conf confi confir confirm conren cons const constr constra constrai constrain constraint continue contract copy copyright copysource cor corc corr corr2data corr_anti corr_kmo corr_smc corre correl correla correlat correlate corrgram cou coun count cox cox_p cox_sw coxbase coxhaz coxvar cprplot cprplot_7 crc cret cretu cretur creturn cross cs cscript cscript_log csi ct ct_is ctset ctst_5 ctst_st cttost cumsp cumsp_7 cumul cusum cusum_7 cutil d|0 datasig datasign datasigna datasignat datasignatu datasignatur datasignature datetof db dbeta de dec deco decod decode deff des desc descr descri describ describe destring dfbeta dfgls dfuller di di_g dir dirstats dis discard disp disp_res disp_s displ displa display distinct do doe doed doedi doedit dotplot dotplot_7 dprobit drawnorm drop ds ds_util dstdize duplicates durbina dwstat dydx e|0 ed edi edit egen eivreg emdef en enc enco encod encode eq erase ereg ereg_lf ereg_p ereg_sw ereghet ereghet_glf ereghet_glf_sh ereghet_gp ereghet_ilf ereghet_ilf_sh ereghet_ip eret eretu eretur ereturn err erro error esize est est_cfexist est_cfname est_clickable est_expand est_hold est_table est_unhold est_unholdok estat estat_default estat_summ estat_vce_only esti estimates etodow etof etomdy ex exi exit expand expandcl fac fact facto factor factor_estat factor_p factor_pca_rotated factor_rotate factormat fcast fcast_compute fcast_graph fdades fdadesc fdadescr fdadescri fdadescrib fdadescribe fdasav fdasave fdause fh_st file open file read file close file filefilter fillin find_hlp_file findfile findit findit_7 fit fl fli flis flist for5_0 forest forestplot form forma format fpredict frac_154 frac_adj frac_chk frac_cox frac_ddp frac_dis frac_dv frac_in frac_mun frac_pp frac_pq frac_pv frac_wgt frac_xo fracgen fracplot fracplot_7 fracpoly fracpred fron_ex fron_hn fron_p fron_tn fron_tn2 frontier ftodate ftoe ftomdy ftowdate funnel funnelplot g|0 gamhet_glf gamhet_gp gamhet_ilf gamhet_ip gamma gamma_d2 gamma_p gamma_sw gammahet gdi_hexagon gdi_spokes ge gen gene gener genera generat generate genrank genstd genvmean gettoken gl gladder gladder_7 glim_l01 glim_l02 glim_l03 glim_l04 glim_l05 glim_l06 glim_l07 glim_l08 glim_l09 glim_l10 glim_l11 glim_l12 glim_lf glim_mu glim_nw1 glim_nw2 glim_nw3 glim_p glim_v1 glim_v2 glim_v3 glim_v4 glim_v5 glim_v6 glim_v7 glm glm_6 glm_p glm_sw glmpred glo glob globa global glogit glogit_8 glogit_p gmeans gnbre_lf gnbreg gnbreg_5 gnbreg_p gomp_lf gompe_sw gomper_p gompertz gompertzhet gomphet_glf gomphet_glf_sh gomphet_gp gomphet_ilf gomphet_ilf_sh gomphet_ip gphdot gphpen gphprint gprefs gprobi_p gprobit gprobit_8 gr gr7 gr_copy gr_current gr_db gr_describe gr_dir gr_draw gr_draw_replay gr_drop gr_edit gr_editviewopts gr_example gr_example2 gr_export gr_print gr_qscheme gr_query gr_read gr_rename gr_replay gr_save gr_set gr_setscheme gr_table gr_undo gr_use graph graph7 grebar greigen greigen_7 greigen_8 grmeanby grmeanby_7 gs_fileinfo gs_filetype gs_graphinfo gs_stat gsort gwood h|0 hadimvo hareg hausman haver he heck_d2 heckma_p heckman heckp_lf heckpr_p heckprob hel help hereg hetpr_lf hetpr_p hetprob hettest hexdump hilite hist hist_7 histogram hlogit hlu hmeans hotel hotelling hprobit hreg hsearch icd9 icd9_ff icd9p iis impute imtest inbase include inf infi infil infile infix inp inpu input ins insheet insp inspe inspec inspect integ inten intreg intreg_7 intreg_p intrg2_ll intrg_ll intrg_ll2 ipolate iqreg ir irf irf_create irfm iri is_svy is_svysum isid istdize ivprob_1_lf ivprob_lf ivprobit ivprobit_p ivreg ivreg_footnote ivtob_1_lf ivtob_lf ivtobit ivtobit_p jackknife jacknife jknife jknife_6 jknife_8 jkstat joinby kalarma1 kap kap_3 kapmeier kappa kapwgt kdensity kdensity_7 keep ksm ksmirnov ktau kwallis l|0 la lab labbe labbeplot labe label labelbook ladder levels levelsof leverage lfit lfit_p li lincom line linktest lis list lloghet_glf lloghet_glf_sh lloghet_gp lloghet_ilf lloghet_ilf_sh lloghet_ip llogi_sw llogis_p llogist llogistic llogistichet lnorm_lf lnorm_sw lnorma_p lnormal lnormalhet lnormhet_glf lnormhet_glf_sh lnormhet_gp lnormhet_ilf lnormhet_ilf_sh lnormhet_ip lnskew0 loadingplot loc loca local log logi logis_lf logistic logistic_p logit logit_estat logit_p loglogs logrank loneway lookfor lookup lowess lowess_7 lpredict lrecomp lroc lroc_7 lrtest ls lsens lsens_7 lsens_x lstat ltable ltable_7 ltriang lv lvr2plot lvr2plot_7 m|0 ma mac macr macro makecns man manova manova_estat manova_p manovatest mantel mark markin markout marksample mat mat_capp mat_order mat_put_rr mat_rapp mata mata_clear mata_describe mata_drop mata_matdescribe mata_matsave mata_matuse mata_memory mata_mlib mata_mosave mata_rename mata_which matalabel matcproc matlist matname matr matri matrix matrix_input__dlg matstrik mcc mcci md0_ md1_ md1debug_ md2_ md2debug_ mds mds_estat mds_p mdsconfig mdslong mdsmat mdsshepard mdytoe mdytof me_derd mean means median memory memsize menl meqparse mer merg merge meta mfp mfx mhelp mhodds minbound mixed_ll mixed_ll_reparm mkassert mkdir mkmat mkspline ml ml_5 ml_adjs ml_bhhhs ml_c_d ml_check ml_clear ml_cnt ml_debug ml_defd ml_e0 ml_e0_bfgs ml_e0_cycle ml_e0_dfp ml_e0i ml_e1 ml_e1_bfgs ml_e1_bhhh ml_e1_cycle ml_e1_dfp ml_e2 ml_e2_cycle ml_ebfg0 ml_ebfr0 ml_ebfr1 ml_ebh0q ml_ebhh0 ml_ebhr0 ml_ebr0i ml_ecr0i ml_edfp0 ml_edfr0 ml_edfr1 ml_edr0i ml_eds ml_eer0i ml_egr0i ml_elf ml_elf_bfgs ml_elf_bhhh ml_elf_cycle ml_elf_dfp ml_elfi ml_elfs ml_enr0i ml_enrr0 ml_erdu0 ml_erdu0_bfgs ml_erdu0_bhhh ml_erdu0_bhhhq ml_erdu0_cycle ml_erdu0_dfp ml_erdu0_nrbfgs ml_exde ml_footnote ml_geqnr ml_grad0 ml_graph ml_hbhhh ml_hd0 ml_hold ml_init ml_inv ml_log ml_max ml_mlout ml_mlout_8 ml_model ml_nb0 ml_opt ml_p ml_plot ml_query ml_rdgrd ml_repor ml_s_e ml_score ml_searc ml_technique ml_unhold mleval mlf_ mlmatbysum mlmatsum mlog mlogi mlogit mlogit_footnote mlogit_p mlopts mlsum mlvecsum mnl0_ mor more mov move mprobit mprobit_lf mprobit_p mrdu0_ mrdu1_ mvdecode mvencode mvreg mvreg_estat n|0 nbreg nbreg_al nbreg_lf nbreg_p nbreg_sw nestreg net newey newey_7 newey_p news nl nl_7 nl_9 nl_9_p nl_p nl_p_7 nlcom nlcom_p nlexp2 nlexp2_7 nlexp2a nlexp2a_7 nlexp3 nlexp3_7 nlgom3 nlgom3_7 nlgom4 nlgom4_7 nlinit nllog3 nllog3_7 nllog4 nllog4_7 nlog_rd nlogit nlogit_p nlogitgen nlogittree nlpred no nobreak noi nois noisi noisil noisily note notes notes_dlg nptrend numlabel numlist odbc old_ver olo olog ologi ologi_sw ologit ologit_p ologitp on one onew onewa oneway op_colnm op_comp op_diff op_inv op_str opr opro oprob oprob_sw oprobi oprobi_p oprobit oprobitp opts_exclusive order orthog orthpoly ou out outf outfi outfil outfile outs outsh outshe outshee outsheet ovtest pac pac_7 palette parse parse_dissim pause pca pca_8 pca_display pca_estat pca_p pca_rotate pcamat pchart pchart_7 pchi pchi_7 pcorr pctile pentium pergram pergram_7 permute permute_8 personal peto_st pkcollapse pkcross pkequiv pkexamine pkexamine_7 pkshape pksumm pksumm_7 pl plo plot plugin pnorm pnorm_7 poisgof poiss_lf poiss_sw poisso_p poisson poisson_estat post postclose postfile postutil pperron pr prais prais_e prais_e2 prais_p predict predictnl preserve print pro prob probi probit probit_estat probit_p proc_time procoverlay procrustes procrustes_estat procrustes_p profiler prog progr progra program prop proportion prtest prtesti pwcorr pwd q\\s qby qbys qchi qchi_7 qladder qladder_7 qnorm qnorm_7 qqplot qqplot_7 qreg qreg_c qreg_p qreg_sw qu quadchk quantile quantile_7 que quer query range ranksum ratio rchart rchart_7 rcof recast reclink recode reg reg3 reg3_p regdw regr regre regre_p2 regres regres_p regress regress_estat regriv_p remap ren rena renam rename renpfix repeat replace report reshape restore ret retu retur return rm rmdir robvar roccomp roccomp_7 roccomp_8 rocf_lf rocfit rocfit_8 rocgold rocplot rocplot_7 roctab roctab_7 rolling rologit rologit_p rot rota rotat rotate rotatemat rreg rreg_p ru run runtest rvfplot rvfplot_7 rvpplot rvpplot_7 sa safesum sample sampsi sav save savedresults saveold sc sca scal scala scalar scatter scm_mine sco scob_lf scob_p scobi_sw scobit scor score scoreplot scoreplot_help scree screeplot screeplot_help sdtest sdtesti se search separate seperate serrbar serrbar_7 serset set set_defaults sfrancia sh she shel shell shewhart shewhart_7 signestimationsample signrank signtest simul simul_7 simulate simulate_8 sktest sleep slogit slogit_d2 slogit_p smooth snapspan so sor sort spearman spikeplot spikeplot_7 spikeplt spline_x split sqreg sqreg_p sret sretu sretur sreturn ssc st st_ct st_hc st_hcd st_hcd_sh st_is st_issys st_note st_promo st_set st_show st_smpl st_subid stack statsby statsby_8 stbase stci stci_7 stcox stcox_estat stcox_fr stcox_fr_ll stcox_p stcox_sw stcoxkm stcoxkm_7 stcstat stcurv stcurve stcurve_7 stdes stem stepwise stereg stfill stgen stir stjoin stmc stmh stphplot stphplot_7 stphtest stphtest_7 stptime strate strate_7 streg streg_sw streset sts sts_7 stset stsplit stsum sttocc sttoct stvary stweib su suest suest_8 sum summ summa summar summari summariz summarize sunflower sureg survcurv survsum svar svar_p svmat svy svy_disp svy_dreg svy_est svy_est_7 svy_estat svy_get svy_gnbreg_p svy_head svy_header svy_heckman_p svy_heckprob_p svy_intreg_p svy_ivreg_p svy_logistic_p svy_logit_p svy_mlogit_p svy_nbreg_p svy_ologit_p svy_oprobit_p svy_poisson_p svy_probit_p svy_regress_p svy_sub svy_sub_7 svy_x svy_x_7 svy_x_p svydes svydes_8 svygen svygnbreg svyheckman svyheckprob svyintreg svyintreg_7 svyintrg svyivreg svylc svylog_p svylogit svymarkout svymarkout_8 svymean svymlog svymlogit svynbreg svyolog svyologit svyoprob svyoprobit svyopts svypois svypois_7 svypoisson svyprobit svyprobt svyprop svyprop_7 svyratio svyreg svyreg_p svyregress svyset svyset_7 svyset_8 svytab svytab_7 svytest svytotal sw sw_8 swcnreg swcox swereg swilk swlogis swlogit swologit swoprbt swpois swprobit swqreg swtobit swweib symmetry symmi symplot symplot_7 syntax sysdescribe sysdir sysuse szroeter ta tab tab1 tab2 tab_or tabd tabdi tabdis tabdisp tabi table tabodds tabodds_7 tabstat tabu tabul tabula tabulat tabulate te tempfile tempname tempvar tes test testnl testparm teststd tetrachoric time_it timer tis tob tobi tobit tobit_p tobit_sw token tokeni tokeniz tokenize tostring total translate translator transmap treat_ll treatr_p treatreg trim trimfill trnb_cons trnb_mean trpoiss_d2 trunc_ll truncr_p truncreg tsappend tset tsfill tsline tsline_ex tsreport tsrevar tsrline tsset tssmooth tsunab ttest ttesti tut_chk tut_wait tutorial tw tware_st two twoway twoway__fpfit_serset twoway__function_gen twoway__histogram_gen twoway__ipoint_serset twoway__ipoints_serset twoway__kdensity_gen twoway__lfit_serset twoway__normgen_gen twoway__pci_serset twoway__qfit_serset twoway__scatteri_serset twoway__sunflower_gen twoway_ksm_serset ty typ type typeof u|0 unab unabbrev unabcmd update us use uselabel var var_mkcompanion var_p varbasic varfcast vargranger varirf varirf_add varirf_cgraph varirf_create varirf_ctable varirf_describe varirf_dir varirf_drop varirf_erase varirf_graph varirf_ograph varirf_rename varirf_set varirf_table varlist varlmar varnorm varsoc varstable varstable_w varstable_w2 varwle vce vec vec_fevd vec_mkphi vec_p vec_p_w vecirf_create veclmar veclmar_w vecnorm vecnorm_w vecrank vecstable verinst vers versi versio version view viewsource vif vwls wdatetof webdescribe webseek webuse weib1_lf weib2_lf weib_lf weib_lf0 weibhet_glf weibhet_glf_sh weibhet_glfa weibhet_glfa_sh weibhet_gp weibhet_ilf weibhet_ilf_sh weibhet_ilfa weibhet_ilfa_sh weibhet_ip weibu_sw weibul_p weibull weibull_c weibull_s weibullhet wh whelp whi which whil while wilc_st wilcoxon win wind windo window winexec wntestb wntestb_7 wntestq xchart xchart_7 xcorr xcorr_7 xi xi_6 xmlsav xmlsave xmluse xpose xsh xshe xshel xshell xt_iis xt_tis xtab_p xtabond xtbin_p xtclog xtcloglog xtcloglog_8 xtcloglog_d2 xtcloglog_pa_p xtcloglog_re_p xtcnt_p xtcorr xtdata xtdes xtfront_p xtfrontier xtgee xtgee_elink xtgee_estat xtgee_makeivar xtgee_p xtgee_plink xtgls xtgls_p xthaus xthausman xtht_p xthtaylor xtile xtint_p xtintreg xtintreg_8 xtintreg_d2 xtintreg_p xtivp_1 xtivp_2 xtivreg xtline xtline_ex xtlogit xtlogit_8 xtlogit_d2 xtlogit_fe_p xtlogit_pa_p xtlogit_re_p xtmixed xtmixed_estat xtmixed_p xtnb_fe xtnb_lf xtnbreg xtnbreg_pa_p xtnbreg_refe_p xtpcse xtpcse_p xtpois xtpoisson xtpoisson_d2 xtpoisson_pa_p xtpoisson_refe_p xtpred xtprobit xtprobit_8 xtprobit_d2 xtprobit_re_p xtps_fe xtps_lf xtps_ren xtps_ren_8 xtrar_p xtrc xtrc_p xtrchh xtrefe_p xtreg xtreg_be xtreg_fe xtreg_ml xtreg_pa_p xtreg_re xtregar xtrere_p xtset xtsf_ll xtsf_llti xtsum xttab xttest0 xttobit xttobit_8 xttobit_p xttrans yx yxview__barlike_draw yxview_area_draw yxview_bar_draw yxview_dot_draw yxview_dropline_draw yxview_function_draw yxview_iarrow_draw yxview_ilabels_draw yxview_normal_draw yxview_pcarrow_draw yxview_pcbarrow_draw yxview_pccapsym_draw yxview_pcscatter_draw yxview_pcspike_draw yxview_rarea_draw yxview_rbar_draw yxview_rbarm_draw yxview_rcap_draw yxview_rcapsym_draw yxview_rconnected_draw yxview_rline_draw yxview_rscatter_draw yxview_rspike_draw yxview_spike_draw yxview_sunflower_draw zap_s zinb zinb_llf zinb_plf zip zip_llf zip_p zip_plf zt_ct_5 zt_hc_5 zt_hcd_5 zt_is_5 zt_iss_5 zt_sho_5 zt_smp_5 ztbase_5 ztcox_5 ztdes_5 ztereg_5 ztfill_5 ztgen_5 ztir_5 ztjoin_5 ztnb ztnb_p ztp ztp_p zts_5 ztset_5 ztspli_5 ztsum_5 zttoct_5 ztvary_5 ztweib_5",contains:[{className:"symbol",begin:/`[a-zA-Z0-9_]+'/},{className:"variable",begin:/\$\{?[a-zA-Z0-9_]+\}?/,relevance:0},{className:"string",variants:[{begin:`\`"[^\r ]*?"'`},{begin:`"[^\r -"]*"`}]},{className:"built_in",variants:[{begin:"\\b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?=\\()"}]},t.COMMENT("^[ ]*\\*.*$",!1),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]}}function AD(t){return{name:"STEP Part 21",aliases:["p21","step","stp"],case_insensitive:!0,keywords:{$pattern:"[A-Z_][A-Z0-9_.]*",keyword:["HEADER","ENDSEC","DATA"]},contains:[{className:"meta",begin:"ISO-10303-21;",relevance:10},{className:"meta",begin:"END-ISO-10303-21;",relevance:10},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.COMMENT("/\\*\\*!","\\*/"),t.C_NUMBER_MODE,t.inherit(t.APOS_STRING_MODE,{illegal:null}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"'",end:"'"},{className:"symbol",variants:[{begin:"#",end:"\\d+",illegal:"\\W"}]}]}}const ID=t=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:t.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:t.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),xD=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],DD=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],MD=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],wD=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],LD=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function kD(t){const e=ID(t),n="and or not only",r={className:"variable",begin:"\\$"+t.IDENT_RE},i=["charset","css","debug","extend","font-face","for","import","include","keyframes","media","mixin","page","warn","while"],o="(?=[.\\s\\n[:,(])";return{name:"Stylus",aliases:["styl"],case_insensitive:!1,keywords:"if else for in",illegal:"("+["\\?","(\\bReturn\\b)","(\\bEnd\\b)","(\\bend\\b)","(\\bdef\\b)",";","#\\s","\\*\\s","===\\s","\\|","%"].join("|")+")",contains:[t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,e.HEXCOLOR,{begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*"+o,className:"selector-class"},{begin:"#[a-zA-Z][a-zA-Z0-9_-]*"+o,className:"selector-id"},{begin:"\\b("+xD.join("|")+")"+o,className:"selector-tag"},{className:"selector-pseudo",begin:"&?:("+MD.join("|")+")"+o},{className:"selector-pseudo",begin:"&?:(:)?("+wD.join("|")+")"+o},e.ATTRIBUTE_SELECTOR_MODE,{className:"keyword",begin:/@media/,starts:{end:/[{;}]/,keywords:{$pattern:/[a-z-]+/,keyword:n,attribute:DD.join(" ")},contains:[e.CSS_NUMBER_MODE]}},{className:"keyword",begin:"@((-(o|moz|ms|webkit)-)?("+i.join("|")+"))\\b"},r,e.CSS_NUMBER_MODE,{className:"function",begin:"^[a-zA-Z][a-zA-Z0-9_-]*\\(.*\\)",illegal:"[\\n]",returnBegin:!0,contains:[{className:"title",begin:"\\b[a-zA-Z][a-zA-Z0-9_-]*"},{className:"params",begin:/\(/,end:/\)/,contains:[e.HEXCOLOR,r,t.APOS_STRING_MODE,e.CSS_NUMBER_MODE,t.QUOTE_STRING_MODE]}]},e.CSS_VARIABLE,{className:"attribute",begin:"\\b("+LD.join("|")+")\\b",starts:{end:/;|$/,contains:[e.HEXCOLOR,r,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,e.CSS_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,e.IMPORTANT,e.FUNCTION_DISPATCH],illegal:/\./,relevance:0}},e.FUNCTION_DISPATCH]}}function PD(t){return{name:"SubUnit",case_insensitive:!0,contains:[{className:"string",begin:`\\[ +"]*"`}]},{className:"built_in",variants:[{begin:"\\b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?=\\()"}]},t.COMMENT("^[ ]*\\*.*$",!1),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]}}function PD(t){return{name:"STEP Part 21",aliases:["p21","step","stp"],case_insensitive:!0,keywords:{$pattern:"[A-Z_][A-Z0-9_.]*",keyword:["HEADER","ENDSEC","DATA"]},contains:[{className:"meta",begin:"ISO-10303-21;",relevance:10},{className:"meta",begin:"END-ISO-10303-21;",relevance:10},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.COMMENT("/\\*\\*!","\\*/"),t.C_NUMBER_MODE,t.inherit(t.APOS_STRING_MODE,{illegal:null}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"'",end:"'"},{className:"symbol",variants:[{begin:"#",end:"\\d+",illegal:"\\W"}]}]}}const FD=t=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:t.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:t.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),BD=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],UD=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],HD=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],GD=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],VD=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function YD(t){const e=FD(t),n="and or not only",r={className:"variable",begin:"\\$"+t.IDENT_RE},i=["charset","css","debug","extend","font-face","for","import","include","keyframes","media","mixin","page","warn","while"],o="(?=[.\\s\\n[:,(])";return{name:"Stylus",aliases:["styl"],case_insensitive:!1,keywords:"if else for in",illegal:"("+["\\?","(\\bReturn\\b)","(\\bEnd\\b)","(\\bend\\b)","(\\bdef\\b)",";","#\\s","\\*\\s","===\\s","\\|","%"].join("|")+")",contains:[t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,e.HEXCOLOR,{begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*"+o,className:"selector-class"},{begin:"#[a-zA-Z][a-zA-Z0-9_-]*"+o,className:"selector-id"},{begin:"\\b("+BD.join("|")+")"+o,className:"selector-tag"},{className:"selector-pseudo",begin:"&?:("+HD.join("|")+")"+o},{className:"selector-pseudo",begin:"&?:(:)?("+GD.join("|")+")"+o},e.ATTRIBUTE_SELECTOR_MODE,{className:"keyword",begin:/@media/,starts:{end:/[{;}]/,keywords:{$pattern:/[a-z-]+/,keyword:n,attribute:UD.join(" ")},contains:[e.CSS_NUMBER_MODE]}},{className:"keyword",begin:"@((-(o|moz|ms|webkit)-)?("+i.join("|")+"))\\b"},r,e.CSS_NUMBER_MODE,{className:"function",begin:"^[a-zA-Z][a-zA-Z0-9_-]*\\(.*\\)",illegal:"[\\n]",returnBegin:!0,contains:[{className:"title",begin:"\\b[a-zA-Z][a-zA-Z0-9_-]*"},{className:"params",begin:/\(/,end:/\)/,contains:[e.HEXCOLOR,r,t.APOS_STRING_MODE,e.CSS_NUMBER_MODE,t.QUOTE_STRING_MODE]}]},e.CSS_VARIABLE,{className:"attribute",begin:"\\b("+VD.join("|")+")\\b",starts:{end:/;|$/,contains:[e.HEXCOLOR,r,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,e.CSS_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,e.IMPORTANT,e.FUNCTION_DISPATCH],illegal:/\./,relevance:0}},e.FUNCTION_DISPATCH]}}function zD(t){return{name:"SubUnit",case_insensitive:!0,contains:[{className:"string",begin:`\\[ (multipart)?`,end:`\\] -`},{className:"string",begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},{className:"string",begin:"(\\+|-)\\d+"},{className:"keyword",relevance:10,variants:[{begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{begin:"^progress(:?)(\\s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]}]}}function FD(t){return{name:"Tagger Script",contains:[{className:"comment",begin:/\$noop\(/,end:/\)/,contains:[{begin:/\\[()]/},{begin:/\(/,end:/\)/,contains:[{begin:/\\[()]/},"self"]}],relevance:10},{className:"keyword",begin:/\$[_a-zA-Z0-9]+(?=\()/},{className:"variable",begin:/%[_a-zA-Z0-9:]+%/},{className:"symbol",begin:/\\[\\nt$%,()]/},{className:"symbol",begin:/\\u[a-fA-F0-9]{4}/}]}}function BD(t){return{name:"Test Anything Protocol",case_insensitive:!0,contains:[t.HASH_COMMENT_MODE,{className:"meta",variants:[{begin:"^TAP version (\\d+)$"},{begin:"^1\\.\\.(\\d+)$"}]},{begin:/---$/,end:"\\.\\.\\.$",subLanguage:"yaml",relevance:0},{className:"number",begin:" (\\d+) "},{className:"symbol",variants:[{begin:"^ok"},{begin:"^not ok"}]}]}}function UD(t){const e=t.regex,n=/[a-zA-Z_][a-zA-Z0-9_]*/,r={className:"number",variants:[t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE]};return{name:"Tcl",aliases:["tk"],keywords:["after","append","apply","array","auto_execok","auto_import","auto_load","auto_mkindex","auto_mkindex_old","auto_qualify","auto_reset","bgerror","binary","break","catch","cd","chan","clock","close","concat","continue","dde","dict","encoding","eof","error","eval","exec","exit","expr","fblocked","fconfigure","fcopy","file","fileevent","filename","flush","for","foreach","format","gets","glob","global","history","http","if","incr","info","interp","join","lappend|10","lassign|10","lindex|10","linsert|10","list","llength|10","load","lrange|10","lrepeat|10","lreplace|10","lreverse|10","lsearch|10","lset|10","lsort|10","mathfunc","mathop","memory","msgcat","namespace","open","package","parray","pid","pkg::create","pkg_mkIndex","platform","platform::shell","proc","puts","pwd","read","refchan","regexp","registry","regsub|10","rename","return","safe","scan","seek","set","socket","source","split","string","subst","switch","tcl_endOfWord","tcl_findLibrary","tcl_startOfNextWord","tcl_startOfPreviousWord","tcl_wordBreakAfter","tcl_wordBreakBefore","tcltest","tclvars","tell","time","tm","trace","unknown","unload","unset","update","uplevel","upvar","variable","vwait","while"],contains:[t.COMMENT(";[ \\t]*#","$"),t.COMMENT("^[ \\t]*#","$"),{beginKeywords:"proc",end:"[\\{]",excludeEnd:!0,contains:[{className:"title",begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",endsWithParent:!0,excludeEnd:!0}]},{className:"variable",variants:[{begin:e.concat(/\$/,e.optional(/::/),n,"(::",n,")*")},{begin:"\\$\\{(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"\\}",contains:[r]}]},{className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[t.inherit(t.QUOTE_STRING_MODE,{illegal:null})]},r]}}function HD(t){const e=["bool","byte","i16","i32","i64","double","string","binary"];return{name:"Thrift",keywords:{keyword:["namespace","const","typedef","struct","enum","service","exception","void","oneway","set","list","map","required","optional"],type:e,literal:"true false"},contains:[t.QUOTE_STRING_MODE,t.NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"struct enum service exception",end:/\{/,illegal:/\n/,contains:[t.inherit(t.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{begin:"\\b(set|list|map)\\s*<",keywords:{type:[...e,"set","list","map"]},end:">",contains:["self"]}]}}function GD(t){const e={className:"number",begin:"[1-9][0-9]*",relevance:0},n={className:"symbol",begin:":[^\\]]+"},r={className:"built_in",begin:"(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER|TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[",end:"\\]",contains:["self",e,n]},i={className:"built_in",begin:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",end:"\\]",contains:["self",e,t.QUOTE_STRING_MODE,n]};return{name:"TP",keywords:{keyword:["ABORT","ACC","ADJUST","AND","AP_LD","BREAK","CALL","CNT","COL","CONDITION","CONFIG","DA","DB","DIV","DETECT","ELSE","END","ENDFOR","ERR_NUM","ERROR_PROG","FINE","FOR","GP","GUARD","INC","IF","JMP","LINEAR_MAX_SPEED","LOCK","MOD","MONITOR","OFFSET","Offset","OR","OVERRIDE","PAUSE","PREG","PTH","RT_LD","RUN","SELECT","SKIP","Skip","TA","TB","TO","TOOL_OFFSET","Tool_Offset","UF","UT","UFRAME_NUM","UTOOL_NUM","UNLOCK","WAIT","X","Y","Z","W","P","R","STRLEN","SUBSTR","FINDSTR","VOFFSET","PROG","ATTR","MN","POS"],literal:["ON","OFF","max_speed","LPOS","JPOS","ENABLE","DISABLE","START","STOP","RESET"]},contains:[r,i,{className:"keyword",begin:"/(PROG|ATTR|MN|POS|END)\\b"},{className:"keyword",begin:"(CALL|RUN|POINT_LOGIC|LBL)\\b"},{className:"keyword",begin:"\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)"},{className:"number",begin:"\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b",relevance:0},t.COMMENT("//","[;$]"),t.COMMENT("!","[;$]"),t.COMMENT("--eg:","$"),t.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"'"},t.C_NUMBER_MODE,{className:"variable",begin:"\\$[A-Za-z0-9_]+"}]}}function VD(t){const e=t.regex,n=["absolute_url","asset|0","asset_version","attribute","block","constant","controller|0","country_timezones","csrf_token","cycle","date","dump","expression","form|0","form_end","form_errors","form_help","form_label","form_rest","form_row","form_start","form_widget","html_classes","include","is_granted","logout_path","logout_url","max","min","parent","path|0","random","range","relative_path","render","render_esi","source","template_from_string","url|0"],r=["abs","abbr_class","abbr_method","batch","capitalize","column","convert_encoding","country_name","currency_name","currency_symbol","data_uri","date","date_modify","default","escape","file_excerpt","file_link","file_relative","filter","first","format","format_args","format_args_as_text","format_currency","format_date","format_datetime","format_file","format_file_from_text","format_number","format_time","html_to_markdown","humanize","inky_to_html","inline_css","join","json_encode","keys","language_name","last","length","locale_name","lower","map","markdown","markdown_to_html","merge","nl2br","number_format","raw","reduce","replace","reverse","round","slice","slug","sort","spaceless","split","striptags","timezone_name","title","trans","transchoice","trim","u|0","upper","url_encode","yaml_dump","yaml_encode"];let i=["apply","autoescape","block","cache","deprecated","do","embed","extends","filter","flush","for","form_theme","from","if","import","include","macro","sandbox","set","stopwatch","trans","trans_default_domain","transchoice","use","verbatim","with"];i=i.concat(i.map(m=>`end${m}`));const o={scope:"string",variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},a={scope:"number",match:/\d+/},s={begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[o,a]},l={beginKeywords:n.join(" "),keywords:{name:n},relevance:0,contains:[s]},c={match:/\|(?=[A-Za-z_]+:?)/,beginScope:"punctuation",relevance:0,contains:[{match:/[A-Za-z_]+:?/,keywords:r}]},u=(m,{relevance:f})=>({beginScope:{1:"template-tag",3:"name"},relevance:f||2,endScope:"template-tag",begin:[/\{%/,/\s*/,e.either(...m)],end:/%\}/,keywords:"in",contains:[c,l,o,a]}),d=/[a-z_]+/,p=u(i,{relevance:2}),_=u([d],{relevance:1});return{name:"Twig",aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml",contains:[t.COMMENT(/\{#/,/#\}/),p,_,{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:["self",c,l,o,a]}]}}function YD(t){return{name:"Vala",keywords:{keyword:"char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 uint16 uint32 uint64 float double bool struct enum string void weak unowned owned async signal static abstract interface override virtual delegate if while do for foreach else switch case break default return try catch public private protected internal using new this get set const stdout stdin stderr var",built_in:"DBus GLib CCode Gee Object Gtk Posix",literal:"false true null"},contains:[{className:"class",beginKeywords:"class interface namespace",end:/\{/,excludeEnd:!0,illegal:"[^,:\\n\\s\\.]",contains:[t.UNDERSCORE_TITLE_MODE]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""',relevance:5},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,{className:"meta",begin:"^#",end:"$"}]}}function zD(t){const e=t.regex,n=["lcase","month","vartype","instrrev","ubound","setlocale","getobject","rgb","getref","string","weekdayname","rnd","dateadd","monthname","now","day","minute","isarray","cbool","round","formatcurrency","conversions","csng","timevalue","second","year","space","abs","clng","timeserial","fixs","len","asc","isempty","maths","dateserial","atn","timer","isobject","filter","weekday","datevalue","ccur","isdate","instr","datediff","formatdatetime","replace","isnull","right","sgn","array","snumeric","log","cdbl","hex","chr","lbound","msgbox","ucase","getlocale","cos","cdate","cbyte","rtrim","join","hour","oct","typename","trim","strcomp","int","createobject","loadpicture","tan","formatnumber","mid","split","cint","sin","datepart","ltrim","sqr","time","derived","eval","date","formatpercent","exp","inputbox","left","ascw","chrw","regexp","cstr","err"],r=["server","response","request","scriptengine","scriptenginebuildversion","scriptengineminorversion","scriptenginemajorversion"],i={begin:e.concat(e.either(...n),"\\s*\\("),relevance:0,keywords:{built_in:n}};return{name:"VBScript",aliases:["vbs"],case_insensitive:!0,keywords:{keyword:["call","class","const","dim","do","loop","erase","execute","executeglobal","exit","for","each","next","function","if","then","else","on","error","option","explicit","new","private","property","let","get","public","randomize","redim","rem","select","case","set","stop","sub","while","wend","with","end","to","elseif","is","or","xor","and","not","class_initialize","class_terminate","default","preserve","in","me","byval","byref","step","resume","goto"],built_in:r,literal:["true","false","null","nothing","empty"]},illegal:"//",contains:[i,t.inherit(t.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),t.COMMENT(/'/,/$/,{relevance:0}),t.C_NUMBER_MODE]}}function $D(t){return{name:"VBScript in HTML",subLanguage:"xml",contains:[{begin:"<%",end:"%>",subLanguage:"vbscript"}]}}function qD(t){const e=t.regex,n={$pattern:/\$?[\w]+(\$[\w]+)*/,keyword:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf|0","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate|5","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","or","output","package","packed","parameter","pmos","posedge","primitive","priority","program","property","protected","pull0","pull1","pulldown","pullup","pulsestyle_ondetect","pulsestyle_onevent","pure","rand","randc","randcase","randsequence","rcmos","real","realtime","ref","reg","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],literal:["null"],built_in:["$finish","$stop","$exit","$fatal","$error","$warning","$info","$realtime","$time","$printtimescale","$bitstoreal","$bitstoshortreal","$itor","$signed","$cast","$bits","$stime","$timeformat","$realtobits","$shortrealtobits","$rtoi","$unsigned","$asserton","$assertkill","$assertpasson","$assertfailon","$assertnonvacuouson","$assertoff","$assertcontrol","$assertpassoff","$assertfailoff","$assertvacuousoff","$isunbounded","$sampled","$fell","$changed","$past_gclk","$fell_gclk","$changed_gclk","$rising_gclk","$steady_gclk","$coverage_control","$coverage_get","$coverage_save","$set_coverage_db_name","$rose","$stable","$past","$rose_gclk","$stable_gclk","$future_gclk","$falling_gclk","$changing_gclk","$display","$coverage_get_max","$coverage_merge","$get_coverage","$load_coverage_db","$typename","$unpacked_dimensions","$left","$low","$increment","$clog2","$ln","$log10","$exp","$sqrt","$pow","$floor","$ceil","$sin","$cos","$tan","$countbits","$onehot","$isunknown","$fatal","$warning","$dimensions","$right","$high","$size","$asin","$acos","$atan","$atan2","$hypot","$sinh","$cosh","$tanh","$asinh","$acosh","$atanh","$countones","$onehot0","$error","$info","$random","$dist_chi_square","$dist_erlang","$dist_exponential","$dist_normal","$dist_poisson","$dist_t","$dist_uniform","$q_initialize","$q_remove","$q_exam","$async$and$array","$async$nand$array","$async$or$array","$async$nor$array","$sync$and$array","$sync$nand$array","$sync$or$array","$sync$nor$array","$q_add","$q_full","$psprintf","$async$and$plane","$async$nand$plane","$async$or$plane","$async$nor$plane","$sync$and$plane","$sync$nand$plane","$sync$or$plane","$sync$nor$plane","$system","$display","$displayb","$displayh","$displayo","$strobe","$strobeb","$strobeh","$strobeo","$write","$readmemb","$readmemh","$writememh","$value$plusargs","$dumpvars","$dumpon","$dumplimit","$dumpports","$dumpportson","$dumpportslimit","$writeb","$writeh","$writeo","$monitor","$monitorb","$monitorh","$monitoro","$writememb","$dumpfile","$dumpoff","$dumpall","$dumpflush","$dumpportsoff","$dumpportsall","$dumpportsflush","$fclose","$fdisplay","$fdisplayb","$fdisplayh","$fdisplayo","$fstrobe","$fstrobeb","$fstrobeh","$fstrobeo","$swrite","$swriteb","$swriteh","$swriteo","$fscanf","$fread","$fseek","$fflush","$feof","$fopen","$fwrite","$fwriteb","$fwriteh","$fwriteo","$fmonitor","$fmonitorb","$fmonitorh","$fmonitoro","$sformat","$sformatf","$fgetc","$ungetc","$fgets","$sscanf","$rewind","$ftell","$ferror"]},r=["__FILE__","__LINE__"],i=["begin_keywords","celldefine","default_nettype","default_decay_time","default_trireg_strength","define","delay_mode_distributed","delay_mode_path","delay_mode_unit","delay_mode_zero","else","elsif","end_keywords","endcelldefine","endif","ifdef","ifndef","include","line","nounconnected_drive","pragma","resetall","timescale","unconnected_drive","undef","undefineall"];return{name:"Verilog",aliases:["v","sv","svh"],case_insensitive:!1,keywords:n,contains:[t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE,t.QUOTE_STRING_MODE,{scope:"number",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:/\b((\d+'([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\B(('([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\b[0-9][0-9_]*/,relevance:0}]},{scope:"variable",variants:[{begin:"#\\((?!parameter).+\\)"},{begin:"\\.\\w+",relevance:0}]},{scope:"variable.constant",match:e.concat(/`/,e.either(...r))},{scope:"meta",begin:e.concat(/`/,e.either(...i)),end:/$|\/\/|\/\*/,returnEnd:!0,keywords:i}]}}function WD(t){const e="\\d(_|\\d)*",n="[eE][-+]?"+e,r=e+"(\\."+e+")?("+n+")?",i="\\w+",a="\\b("+(e+"#"+i+"(\\."+i+")?#("+n+")?")+"|"+r+")";return{name:"VHDL",case_insensitive:!0,keywords:{keyword:["abs","access","after","alias","all","and","architecture","array","assert","assume","assume_guarantee","attribute","begin","block","body","buffer","bus","case","component","configuration","constant","context","cover","disconnect","downto","default","else","elsif","end","entity","exit","fairness","file","for","force","function","generate","generic","group","guarded","if","impure","in","inertial","inout","is","label","library","linkage","literal","loop","map","mod","nand","new","next","nor","not","null","of","on","open","or","others","out","package","parameter","port","postponed","procedure","process","property","protected","pure","range","record","register","reject","release","rem","report","restrict","restrict_guarantee","return","rol","ror","select","sequence","severity","shared","signal","sla","sll","sra","srl","strong","subtype","then","to","transport","type","unaffected","units","until","use","variable","view","vmode","vprop","vunit","wait","when","while","with","xnor","xor"],built_in:["boolean","bit","character","integer","time","delay_length","natural","positive","string","bit_vector","file_open_kind","file_open_status","std_logic","std_logic_vector","unsigned","signed","boolean_vector","integer_vector","std_ulogic","std_ulogic_vector","unresolved_unsigned","u_unsigned","unresolved_signed","u_signed","real_vector","time_vector"],literal:["false","true","note","warning","error","failure","line","text","side","width"]},illegal:/\{/,contains:[t.C_BLOCK_COMMENT_MODE,t.COMMENT("--","$"),t.QUOTE_STRING_MODE,{className:"number",begin:a,relevance:0},{className:"string",begin:"'(U|X|0|1|Z|W|L|H|-)'",contains:[t.BACKSLASH_ESCAPE]},{className:"symbol",begin:"'[A-Za-z](_?[A-Za-z0-9])*",contains:[t.BACKSLASH_ESCAPE]}]}}function KD(t){return{name:"Vim Script",keywords:{$pattern:/[!#@\w]+/,keyword:"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",built_in:"synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv complete_check add getwinposx getqflist getwinposy screencol clearmatches empty extend getcmdpos mzeval garbagecollect setreg ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable shiftwidth max sinh isdirectory synID system inputrestore winline atan visualmode inputlist tabpagewinnr round getregtype mapcheck hasmapto histdel argidx findfile sha256 exists toupper getcmdline taglist string getmatches bufnr strftime winwidth bufexists strtrans tabpagebuflist setcmdpos remote_read printf setloclist getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval resolve libcallnr foldclosedend reverse filter has_key bufname str2float strlen setline getcharmod setbufvar index searchpos shellescape undofile foldclosed setqflist buflisted strchars str2nr virtcol floor remove undotree remote_expr winheight gettabwinvar reltime cursor tabpagenr finddir localtime acos getloclist search tanh matchend rename gettabvar strdisplaywidth type abs py3eval setwinvar tolower wildmenumode log10 spellsuggest bufloaded synconcealed nextnonblank server2client complete settabwinvar executable input wincol setmatches getftype hlID inputsave searchpair or screenrow line settabvar histadd deepcopy strpart remote_peek and eval getftime submatch screenchar winsaveview matchadd mkdir screenattr getfontname libcall reltimestr getfsize winnr invert pow getbufline byte2line soundfold repeat fnameescape tagfiles sin strwidth spellbadword trunc maparg log lispindent hostname setpos globpath remote_foreground getchar synIDattr fnamemodify cscope_connection stridx winbufnr indent min complete_add nr2char searchpairpos inputdialog values matchlist items hlexists strridx browsedir expand fmod pathshorten line2byte argc count getwinvar glob foldtextresult getreg foreground cosh matchdelete has char2nr simplify histget searchdecl iconv winrestcmd pumvisible writefile foldlevel haslocaldir keys cos matchstr foldtext histnr tan tempname getcwd byteidx getbufvar islocked escape eventhandler remote_send serverlist winrestview synstack pyeval prevnonblank readfile cindent filereadable changenr exp"},illegal:/;/,contains:[t.NUMBER_MODE,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:/"(\\"|\n\\|[^"\n])*"/},t.COMMENT('"',"$"),{className:"variable",begin:/[bwtglsav]:[\w\d_]+/},{begin:[/\b(?:function|function!)/,/\s+/,t.IDENT_RE],className:{1:"keyword",3:"title"},end:"$",relevance:0,contains:[{className:"params",begin:"\\(",end:"\\)"}]},{className:"symbol",begin:/<[\w-]+>/}]}}function QD(t){const e=t.regex,n=/[a-zA-Z]\w*/,r=["as","break","class","construct","continue","else","for","foreign","if","import","in","is","return","static","var","while"],i=["true","false","null"],o=["this","super"],a=["Bool","Class","Fiber","Fn","List","Map","Null","Num","Object","Range","Sequence","String","System"],s=["-","~",/\*/,"%",/\.\.\./,/\.\./,/\+/,"<<",">>",">=","<=","<",">",/\^/,/!=/,/!/,/\bis\b/,"==","&&","&",/\|\|/,/\|/,/\?:/,"="],l={relevance:0,match:e.concat(/\b(?!(if|while|for|else|super)\b)/,n,/(?=\s*[({])/),className:"title.function"},c={match:e.concat(e.either(e.concat(/\b(?!(if|while|for|else|super)\b)/,n),e.either(...s)),/(?=\s*\([^)]+\)\s*\{)/),className:"title.function",starts:{contains:[{begin:/\(/,end:/\)/,contains:[{relevance:0,scope:"params",match:n}]}]}},u={variants:[{match:[/class\s+/,n,/\s+is\s+/,n]},{match:[/class\s+/,n]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:r},d={relevance:0,match:e.either(...s),className:"operator"},p={className:"string",begin:/"""/,end:/"""/},_={className:"property",begin:e.concat(/\./,e.lookahead(n)),end:n,excludeBegin:!0,relevance:0},m={relevance:0,match:e.concat(/\b_/,n),scope:"variable"},f={relevance:0,match:/\b[A-Z]+[a-z]+([A-Z]+[a-z]+)*/,scope:"title.class",keywords:{_:a}},g=t.C_NUMBER_MODE,E={match:[n,/\s*/,/=/,/\s*/,/\(/,n,/\)\s*\{/],scope:{1:"title.function",3:"operator",6:"params"}},S=t.COMMENT(/\/\*\*/,/\*\//,{contains:[{match:/@[a-z]+/,scope:"doctag"},"self"]}),b={scope:"subst",begin:/%\(/,end:/\)/,contains:[g,f,l,m,d]},h={scope:"string",begin:/"/,end:/"/,contains:[b,{scope:"char.escape",variants:[{match:/\\\\|\\["0%abefnrtv]/},{match:/\\x[0-9A-F]{2}/},{match:/\\u[0-9A-F]{4}/},{match:/\\U[0-9A-F]{8}/}]}]};b.contains.push(h);const C=[...r,...o,...i],T={relevance:0,match:e.concat("\\b(?!",C.join("|"),"\\b)",/[a-zA-Z_]\w*(?:[?!]|\b)/),className:"variable"};return{name:"Wren",keywords:{keyword:r,"variable.language":o,literal:i},contains:[{scope:"comment",variants:[{begin:[/#!?/,/[A-Za-z_]+(?=\()/],beginScope:{},keywords:{literal:i},contains:[],end:/\)/},{begin:[/#!?/,/[A-Za-z_]+/],beginScope:{},end:/$/}]},g,h,p,S,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,f,u,E,c,l,d,m,_,T]}}function ZD(t){return{name:"Intel x86 Assembly",case_insensitive:!0,keywords:{$pattern:"[.%]?"+t.IDENT_RE,keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0 ymm1 ymm2 ymm3 ymm4 ymm5 ymm6 ymm7 ymm8 ymm9 ymm10 ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0 zmm1 zmm2 zmm3 zmm4 zmm5 zmm6 zmm7 zmm8 zmm9 zmm10 zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr",meta:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__ __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__ __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},contains:[t.COMMENT(";","$",{relevance:0}),{className:"number",variants:[{begin:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*(\\.[0-9_]*)?(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",relevance:0},{begin:"\\$[0-9][0-9A-Fa-f]*",relevance:0},{begin:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{begin:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},t.QUOTE_STRING_MODE,{className:"string",variants:[{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"[^\\\\]`"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{begin:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],relevance:0},{className:"subst",begin:"%[0-9]+",relevance:0},{className:"subst",begin:"%!S+",relevance:0},{className:"meta",begin:/^\s*\.[\w_-]+/}]}}function XD(t){const e=["if","then","else","do","while","until","for","loop","import","with","is","as","where","when","by","data","constant","integer","real","text","name","boolean","symbol","infix","prefix","postfix","block","tree"],n=["in","mod","rem","and","or","xor","not","abs","sign","floor","ceil","sqrt","sin","cos","tan","asin","acos","atan","exp","expm1","log","log2","log10","log1p","pi","at","text_length","text_range","text_find","text_replace","contains","page","slide","basic_slide","title_slide","title","subtitle","fade_in","fade_out","fade_at","clear_color","color","line_color","line_width","texture_wrap","texture_transform","texture","scale_?x","scale_?y","scale_?z?","translate_?x","translate_?y","translate_?z?","rotate_?x","rotate_?y","rotate_?z?","rectangle","circle","ellipse","sphere","path","line_to","move_to","quad_to","curve_to","theme","background","contents","locally","time","mouse_?x","mouse_?y","mouse_buttons"],r=["ObjectLoader","Animate","MovieCredits","Slides","Filters","Shading","Materials","LensFlare","Mapping","VLCAudioVideo","StereoDecoder","PointCloud","NetworkAccess","RemoteControl","RegExp","ChromaKey","Snowfall","NodeJS","Speech","Charts"],o={$pattern:/[a-zA-Z][a-zA-Z0-9_?]*/,keyword:e,literal:["true","false","nil"],built_in:n.concat(r)},a={className:"string",begin:'"',end:'"',illegal:"\\n"},s={className:"string",begin:"'",end:"'",illegal:"\\n"},l={className:"string",begin:"<<",end:">>"},c={className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"},u={beginKeywords:"import",end:"$",keywords:o,contains:[a]},d={className:"function",begin:/[a-z][^\n]*->/,returnBegin:!0,end:/->/,contains:[t.inherit(t.TITLE_MODE,{starts:{endsWithParent:!0,keywords:o}})]};return{name:"XL",aliases:["tao"],keywords:o,contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,a,s,l,d,u,c,t.NUMBER_MODE]}}function jD(t){return{name:"XQuery",aliases:["xpath","xq","xqm"],case_insensitive:!1,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{$pattern:/[a-zA-Z$][a-zA-Z0-9_:-]*/,keyword:["module","schema","namespace","boundary-space","preserve","no-preserve","strip","default","collation","base-uri","ordering","context","decimal-format","decimal-separator","copy-namespaces","empty-sequence","except","exponent-separator","external","grouping-separator","inherit","no-inherit","lax","minus-sign","per-mille","percent","schema-attribute","schema-element","strict","unordered","zero-digit","declare","import","option","function","validate","variable","for","at","in","let","where","order","group","by","return","if","then","else","tumbling","sliding","window","start","when","only","end","previous","next","stable","ascending","descending","allowing","empty","greatest","least","some","every","satisfies","switch","case","typeswitch","try","catch","and","or","to","union","intersect","instance","of","treat","as","castable","cast","map","array","delete","insert","into","replace","value","rename","copy","modify","update"],type:["item","document-node","node","attribute","document","element","comment","namespace","namespace-node","processing-instruction","text","construction","xs:anyAtomicType","xs:untypedAtomic","xs:duration","xs:time","xs:decimal","xs:float","xs:double","xs:gYearMonth","xs:gYear","xs:gMonthDay","xs:gMonth","xs:gDay","xs:boolean","xs:base64Binary","xs:hexBinary","xs:anyURI","xs:QName","xs:NOTATION","xs:dateTime","xs:dateTimeStamp","xs:date","xs:string","xs:normalizedString","xs:token","xs:language","xs:NMTOKEN","xs:Name","xs:NCName","xs:ID","xs:IDREF","xs:ENTITY","xs:integer","xs:nonPositiveInteger","xs:negativeInteger","xs:long","xs:int","xs:short","xs:byte","xs:nonNegativeInteger","xs:unisignedLong","xs:unsignedInt","xs:unsignedShort","xs:unsignedByte","xs:positiveInteger","xs:yearMonthDuration","xs:dayTimeDuration"],literal:["eq","ne","lt","le","gt","ge","is","self::","child::","descendant::","descendant-or-self::","attribute::","following::","following-sibling::","parent::","ancestor::","ancestor-or-self::","preceding::","preceding-sibling::","NaN"]},contains:[{className:"variable",begin:/[$][\w\-:]+/},{className:"built_in",variants:[{begin:/\barray:/,end:/(?:append|filter|flatten|fold-(?:left|right)|for-each(?:-pair)?|get|head|insert-before|join|put|remove|reverse|size|sort|subarray|tail)\b/},{begin:/\bmap:/,end:/(?:contains|entry|find|for-each|get|keys|merge|put|remove|size)\b/},{begin:/\bmath:/,end:/(?:a(?:cos|sin|tan[2]?)|cos|exp(?:10)?|log(?:10)?|pi|pow|sin|sqrt|tan)\b/},{begin:/\bop:/,end:/\(/,excludeEnd:!0},{begin:/\bfn:/,end:/\(/,excludeEnd:!0},{begin:/[^/,end:/(\/[\w._:-]+>)/,subLanguage:"xml",contains:[{begin:/\{/,end:/\}/,subLanguage:"xquery"},"self"]}]}}function JD(t){const e={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[t.inherit(t.APOS_STRING_MODE,{illegal:null}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null})]},n=t.UNDERSCORE_TITLE_MODE,r={variants:[t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE]},i="namespace class interface use extends function return abstract final public protected private static deprecated throw try catch Exception echo empty isset instanceof unset let var new const self require if else elseif switch case default do while loop for continue break likely unlikely __LINE__ __FILE__ __DIR__ __FUNCTION__ __CLASS__ __TRAIT__ __METHOD__ __NAMESPACE__ array boolean float double integer object resource string char long unsigned bool int uint ulong uchar true false null undefined";return{name:"Zephir",aliases:["zep"],keywords:i,contains:[t.C_LINE_COMMENT_MODE,t.COMMENT(/\/\*/,/\*\//,{contains:[{className:"doctag",begin:/@[A-Za-z]+/}]}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;/,contains:[t.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function fn",end:/[;{]/,excludeEnd:!0,illegal:/\$|\[|%/,contains:[n,{className:"params",begin:/\(/,end:/\)/,keywords:i,contains:["self",t.C_BLOCK_COMMENT_MODE,e,r]}]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"},n]},{beginKeywords:"namespace",end:/;/,illegal:/[.']/,contains:[n]},{beginKeywords:"use",end:/;/,contains:[n]},{begin:/=>/},e,r]}}function eM(t){const e=t.regex,n=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",a="(?!struct)("+r+"|"+e.optional(i)+"[a-zA-Z_]\\w*"+e.optional("<[^<>]+>")+")",s={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},c={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},u={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},d={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(c,{className:"string"}),{className:"string",begin:/<.*?>/},n,t.C_BLOCK_COMMENT_MODE]},p={className:"title",begin:e.optional(i)+t.IDENT_RE,relevance:0},_=e.optional(i)+t.IDENT_RE+"\\s*\\(",m=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],f=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],g=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],E=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],h={type:f,keyword:m,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:g},C={className:"function.dispatch",relevance:0,keywords:{_hint:E},begin:e.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,t.IDENT_RE,e.lookahead(/(<[^<>]+>|)\s*\(/))},T=[C,d,s,n,t.C_BLOCK_COMMENT_MODE,u,c],R={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:h,contains:T.concat([{begin:/\(/,end:/\)/,keywords:h,contains:T.concat(["self"]),relevance:0}]),relevance:0},x={className:"function",begin:"("+a+"[\\*&\\s]+)+"+_,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:h,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:h,relevance:0},{begin:_,returnBegin:!0,contains:[p],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[c,u]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:[n,t.C_BLOCK_COMMENT_MODE,c,u,s,{begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:["self",n,t.C_BLOCK_COMMENT_MODE,c,u,s]}]},s,n,t.C_BLOCK_COMMENT_MODE,d]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:h,illegal:"",keywords:h,contains:["self",s]},{begin:t.IDENT_RE+"::",keywords:h},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function tM(t){const e={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},n=eM(t),r=n.keywords;return r.type=[...r.type,...e.type],r.literal=[...r.literal,...e.literal],r.built_in=[...r.built_in,...e.built_in],r._hints=e._hints,n.name="Arduino",n.aliases=["ino"],n.supersetOf="cpp",n}function nM(t){const e=t.regex,n={},r={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[n]}]};Object.assign(n,{className:"variable",variants:[{begin:e.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},r]});const i={className:"subst",begin:/\$\(/,end:/\)/,contains:[t.BACKSLASH_ESCAPE]},o={begin:/<<-?\s*(?=\w+)/,starts:{contains:[t.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},a={className:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,n,i]};i.contains.push(a);const s={match:/\\"/},l={className:"string",begin:/'/,end:/'/},c={match:/\\'/},u={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},t.NUMBER_MODE,n]},d=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],p=t.SHEBANG({binary:`(${d.join("|")})`,relevance:10}),_={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[t.inherit(t.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},m=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],f=["true","false"],g={match:/(\/[a-z._-]+)+/},E=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],S=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],b=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],h=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:m,literal:f,built_in:[...E,...S,"set","shopt",...b,...h]},contains:[p,t.SHEBANG(),_,u,t.HASH_COMMENT_MODE,o,g,a,s,l,c,n]}}function rM(t){const e=t.regex,n=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",a="("+r+"|"+e.optional(i)+"[a-zA-Z_]\\w*"+e.optional("<[^<>]+>")+")",s={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},c={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},u={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},d={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(c,{className:"string"}),{className:"string",begin:/<.*?>/},n,t.C_BLOCK_COMMENT_MODE]},p={className:"title",begin:e.optional(i)+t.IDENT_RE,relevance:0},_=e.optional(i)+t.IDENT_RE+"\\s*\\(",g={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},E=[d,s,n,t.C_BLOCK_COMMENT_MODE,u,c],S={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:g,contains:E.concat([{begin:/\(/,end:/\)/,keywords:g,contains:E.concat(["self"]),relevance:0}]),relevance:0},b={begin:"("+a+"[\\*&\\s]+)+"+_,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:g,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:g,relevance:0},{begin:_,returnBegin:!0,contains:[t.inherit(p,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:[n,t.C_BLOCK_COMMENT_MODE,c,u,s,{begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:["self",n,t.C_BLOCK_COMMENT_MODE,c,u,s]}]},s,n,t.C_BLOCK_COMMENT_MODE,d]};return{name:"C",aliases:["h"],keywords:g,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},t.TITLE_MODE]}]),exports:{preprocessor:d,strings:c,keywords:g}}}function iM(t){const e=t.regex,n=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",a="(?!struct)("+r+"|"+e.optional(i)+"[a-zA-Z_]\\w*"+e.optional("<[^<>]+>")+")",s={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},c={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},u={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},d={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(c,{className:"string"}),{className:"string",begin:/<.*?>/},n,t.C_BLOCK_COMMENT_MODE]},p={className:"title",begin:e.optional(i)+t.IDENT_RE,relevance:0},_=e.optional(i)+t.IDENT_RE+"\\s*\\(",m=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],f=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],g=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],E=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],h={type:f,keyword:m,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:g},C={className:"function.dispatch",relevance:0,keywords:{_hint:E},begin:e.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,t.IDENT_RE,e.lookahead(/(<[^<>]+>|)\s*\(/))},T=[C,d,s,n,t.C_BLOCK_COMMENT_MODE,u,c],R={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:h,contains:T.concat([{begin:/\(/,end:/\)/,keywords:h,contains:T.concat(["self"]),relevance:0}]),relevance:0},x={className:"function",begin:"("+a+"[\\*&\\s]+)+"+_,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:h,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:h,relevance:0},{begin:_,returnBegin:!0,contains:[p],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[c,u]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:[n,t.C_BLOCK_COMMENT_MODE,c,u,s,{begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:["self",n,t.C_BLOCK_COMMENT_MODE,c,u,s]}]},s,n,t.C_BLOCK_COMMENT_MODE,d]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:h,illegal:"",keywords:h,contains:["self",s]},{begin:t.IDENT_RE+"::",keywords:h},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function oM(t){const e=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],n=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],r=["default","false","null","true"],i=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],o=["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"],a={keyword:i.concat(o),built_in:e,literal:r},s=t.inherit(t.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),l={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},c={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},u=t.inherit(c,{illegal:/\n/}),d={className:"subst",begin:/\{/,end:/\}/,keywords:a},p=t.inherit(d,{illegal:/\n/}),_={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},t.BACKSLASH_ESCAPE,p]},m={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},d]},f=t.inherit(m,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},p]});d.contains=[m,_,c,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,l,t.C_BLOCK_COMMENT_MODE],p.contains=[f,_,u,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,l,t.inherit(t.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const g={variants:[m,_,c,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},E={begin:"<",end:">",contains:[{beginKeywords:"in out"},s]},S=t.IDENT_RE+"(<"+t.IDENT_RE+"(\\s*,\\s*"+t.IDENT_RE+")*>)?(\\[\\])?",b={begin:"@"+t.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:a,illegal:/::/,contains:[t.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:""},{begin:""}]}]}),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},g,l,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},s,E,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[s,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[s,E,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+S+"\\s+)+"+t.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:a,contains:[{beginKeywords:n.join(" "),relevance:0},{begin:t.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[t.TITLE_MODE,E],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,relevance:0,contains:[g,l,t.C_BLOCK_COMMENT_MODE]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},b]}}const aM=t=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:t.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:t.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),sM=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],lM=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],cM=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],uM=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],dM=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function pM(t){const e=t.regex,n=aM(t),r={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},i="and or not only",o=/@-?\w[\w]*(-\w+)*/,a="[a-zA-Z-][a-zA-Z0-9_-]*",s=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[n.BLOCK_COMMENT,r,n.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+a,relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+cM.join("|")+")"},{begin:":(:)?("+uM.join("|")+")"}]},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+dM.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,...s,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...s,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},n.FUNCTION_DISPATCH]},{begin:e.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:o},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:i,attribute:lM.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...s,n.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+sM.join("|")+")\\b"}]}}function _M(t){const e=t.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:e.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:e.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}function mM(t){const o={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:o,illegal:"nh(t,e,n-1))}function hM(t){const e=t.regex,n="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",r=n+nh("(?:<"+n+"~~~(?:\\s*,\\s*"+n+"~~~)*>)?",/~~~/g,2),l={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},c={className:"meta",begin:"@"+n,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},u={className:"params",begin:/\(/,end:/\)/,keywords:l,relevance:0,contains:[t.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:l,illegal:/<\/|#/,contains:[t.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[t.BACKSLASH_ESCAPE]},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,n],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[e.concat(/(?!else)/,n),/\s+/,n,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,n],className:{1:"keyword",3:"title.class"},contains:[u,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+r+"\\s+)",t.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:l,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:l,relevance:0,contains:[c,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,C_,t.C_BLOCK_COMMENT_MODE]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},C_,c]}}const y_="[A-Za-z$_][0-9A-Za-z$_]*",EM=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],SM=["true","false","null","undefined","NaN","Infinity"],rh=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],ih=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],oh=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],bM=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],TM=[].concat(oh,rh,ih);function CM(t){const e=t.regex,n=(v,{after:A})=>{const k="",end:""},o=/<[A-Za-z0-9\\._:-]+\s*\/>/,a={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(v,A)=>{const k=v[0].length+v.index,G=v.input[k];if(G==="<"||G===","){A.ignoreMatch();return}G===">"&&(n(v,{after:k})||A.ignoreMatch());let z;const ae=v.input.substring(k);if(z=ae.match(/^\s*=/)){A.ignoreMatch();return}if((z=ae.match(/^\s+extends\s+/))&&z.index===0){A.ignoreMatch();return}}},s={$pattern:y_,keyword:EM,literal:SM,built_in:TM,"variable.language":bM},l="[0-9](_?[0-9])*",c=`\\.(${l})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",d={className:"number",variants:[{begin:`(\\b(${u})((${c})|\\.)?|(${c}))[eE][+-]?(${l})\\b`},{begin:`\\b(${u})\\b((${c})\\b|\\.)?|(${c})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},p={className:"subst",begin:"\\$\\{",end:"\\}",keywords:s,contains:[]},_={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"xml"}},m={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"css"}},f={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"graphql"}},g={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,p]},S={className:"comment",variants:[t.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:r+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]},b=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,_,m,f,g,{match:/\$\d+/},d];p.contains=b.concat({begin:/\{/,end:/\}/,keywords:s,contains:["self"].concat(b)});const h=[].concat(S,p.contains),C=h.concat([{begin:/\(/,end:/\)/,keywords:s,contains:["self"].concat(h)}]),T={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:C},R={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,e.concat(r,"(",e.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},x={relevance:0,match:e.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...rh,...ih]}},O={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},M={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[T],illegal:/%/},B={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function Y(v){return e.concat("(?!",v.join("|"),")")}const $={match:e.concat(/\b/,Y([...oh,"super","import"]),r,e.lookahead(/\(/)),className:"title.function",relevance:0},q={begin:e.concat(/\./,e.lookahead(e.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},V={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},T]},J="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+t.UNDERSCORE_IDENT_RE+")\\s*=>",y={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,e.lookahead(J)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[T]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:s,exports:{PARAMS_CONTAINS:C,CLASS_REFERENCE:x},illegal:/#(?![$_A-z])/,contains:[t.SHEBANG({label:"shebang",binary:"node",relevance:5}),O,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,_,m,f,g,S,{match:/\$\d+/},d,x,{className:"attr",begin:r+e.lookahead(":"),relevance:0},y,{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[S,t.REGEXP_MODE,{className:"function",begin:J,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:C}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:o},{begin:a.begin,"on:begin":a.isTrulyOpeningTag,end:a.end}],subLanguage:"xml",contains:[{begin:a.begin,end:a.end,skip:!0,contains:["self"]}]}]},M,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+t.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[T,t.inherit(t.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},q,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[T]},$,B,R,V,{match:/\$[(.]/}]}}function yM(t){const e={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},n={match:/[{}[\],:]/,className:"punctuation",relevance:0},r=["true","false","null"],i={scope:"literal",beginKeywords:r.join(" ")};return{name:"JSON",keywords:{literal:r},contains:[e,n,t.QUOTE_STRING_MODE,i,t.C_NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}var Gr="[0-9](_*[0-9])*",$o=`\\.(${Gr})`,qo="[0-9a-fA-F](_*[0-9a-fA-F])*",vM={className:"number",variants:[{begin:`(\\b(${Gr})((${$o})|\\.)?|(${$o}))[eE][+-]?(${Gr})[fFdD]?\\b`},{begin:`\\b(${Gr})((${$o})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${$o})[fFdD]?\\b`},{begin:`\\b(${Gr})[fFdD]\\b`},{begin:`\\b0[xX]((${qo})\\.?|(${qo})?\\.(${qo}))[pP][+-]?(${Gr})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${qo})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function RM(t){const e={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},n={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},r={className:"symbol",begin:t.UNDERSCORE_IDENT_RE+"@"},i={className:"subst",begin:/\$\{/,end:/\}/,contains:[t.C_NUMBER_MODE]},o={className:"variable",begin:"\\$"+t.UNDERSCORE_IDENT_RE},a={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[o,i]},{begin:"'",end:"'",illegal:/\n/,contains:[t.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[t.BACKSLASH_ESCAPE,o,i]}]};i.contains.push(a);const s={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+t.UNDERSCORE_IDENT_RE+")?"},l={className:"meta",begin:"@"+t.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[t.inherit(a,{className:"string"}),"self"]}]},c=vM,u=t.COMMENT("/\\*","\\*/",{contains:[t.C_BLOCK_COMMENT_MODE]}),d={variants:[{className:"type",begin:t.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},p=d;return p.variants[1].contains=[d],d.variants[1].contains=[p],{name:"Kotlin",aliases:["kt","kts"],keywords:e,contains:[t.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),t.C_LINE_COMMENT_MODE,u,n,r,s,l,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:e,relevance:5,contains:[{begin:t.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[t.UNDERSCORE_TITLE_MODE]},{className:"type",begin://,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:e,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[d,t.C_LINE_COMMENT_MODE,u],relevance:0},t.C_LINE_COMMENT_MODE,u,s,l,a,t.C_NUMBER_MODE]},u]},{begin:[/class|interface|trait/,/\s+/,t.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},t.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},s,l]},a,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:` -`},c]}}const OM=t=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:t.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:t.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),NM=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],AM=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],ah=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],sh=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],IM=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse(),xM=ah.concat(sh);function DM(t){const e=OM(t),n=xM,r="and or not only",i="[\\w-]+",o="("+i+"|@\\{"+i+"\\})",a=[],s=[],l=function(b){return{className:"string",begin:"~?"+b+".*?"+b}},c=function(b,h,C){return{className:b,begin:h,relevance:C}},u={$pattern:/[a-z-]+/,keyword:r,attribute:AM.join(" ")},d={begin:"\\(",end:"\\)",contains:s,keywords:u,relevance:0};s.push(t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,l("'"),l('"'),e.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},e.HEXCOLOR,d,c("variable","@@?"+i,10),c("variable","@\\{"+i+"\\}"),c("built_in","~?`[^`]*?`"),{className:"attribute",begin:i+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},e.IMPORTANT,{beginKeywords:"and not"},e.FUNCTION_DISPATCH);const p=s.concat({begin:/\{/,end:/\}/,contains:a}),_={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(s)},m={begin:o+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},e.CSS_VARIABLE,{className:"attribute",begin:"\\b("+IM.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:s}}]},f={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:u,returnEnd:!0,contains:s,relevance:0}},g={className:"variable",variants:[{begin:"@"+i+"\\s*:",relevance:15},{begin:"@"+i}],starts:{end:"[;}]",returnEnd:!0,contains:p}},E={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:o,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,_,c("keyword","all\\b"),c("variable","@\\{"+i+"\\}"),{begin:"\\b("+NM.join("|")+")\\b",className:"selector-tag"},e.CSS_NUMBER_MODE,c("selector-tag",o,0),c("selector-id","#"+o),c("selector-class","\\."+o,0),c("selector-tag","&",0),e.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+ah.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+sh.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:p},{begin:"!important"},e.FUNCTION_DISPATCH]},S={begin:i+`:(:)?(${n.join("|")})`,returnBegin:!0,contains:[E]};return a.push(t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,f,g,S,m,E,_,e.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:a}}function MM(t){const e="\\[=*\\[",n="\\]=*\\]",r={begin:e,end:n,contains:["self"]},i=[t.COMMENT("--(?!"+e+")","$"),t.COMMENT("--"+e,n,{contains:[r],relevance:10})];return{name:"Lua",keywords:{$pattern:t.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:i.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[t.inherit(t.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:i}].concat(i)},t.C_NUMBER_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{className:"string",begin:e,end:n,contains:[r],relevance:5}])}}function wM(t){const e={className:"variable",variants:[{begin:"\\$\\("+t.UNDERSCORE_IDENT_RE+"\\)",contains:[t.BACKSLASH_ESCAPE]},{begin:/\$[@%",subLanguage:"xml",relevance:0},r={begin:"^[-\\*]{3,}",end:"$"},i={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},o={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},a={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},s=/[A-Za-z][A-Za-z0-9+.-]*/,l={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:e.concat(/\[.+?\]\(/,s,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},c={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},u={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},d=t.inherit(c,{contains:[]}),p=t.inherit(u,{contains:[]});c.contains.push(p),u.contains.push(d);let _=[n,l];return[c,u,d,p].forEach(g=>{g.contains=g.contains.concat(_)}),_=_.concat(c,u),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:_},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:_}]}]},n,o,c,u,{className:"quote",begin:"^>\\s+",contains:_,end:"$"},i,r,l,a]}}function kM(t){const e={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},n=/[a-zA-Z@][a-zA-Z0-9_]*/,s={"variable.language":["this","super"],$pattern:n,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},l={$pattern:n,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:s,illegal:"/,end:/$/,illegal:"\\n"},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+l.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:l,contains:[t.UNDERSCORE_TITLE_MODE]},{begin:"\\."+t.UNDERSCORE_IDENT_RE,relevance:0}]}}function PM(t){const e=t.regex,n=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],r=/[dualxmsipngr]{0,12}/,i={$pattern:/[\w.]+/,keyword:n.join(" ")},o={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:i},a={begin:/->\{/,end:/\}/},s={variants:[{begin:/\$\d/},{begin:e.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},l=[t.BACKSLASH_ESCAPE,o,s],c=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],u=(_,m,f="\\1")=>{const g=f==="\\1"?f:e.concat(f,m);return e.concat(e.concat("(?:",_,")"),m,/(?:\\.|[^\\\/])*?/,g,/(?:\\.|[^\\\/])*?/,f,r)},d=(_,m,f)=>e.concat(e.concat("(?:",_,")"),m,/(?:\\.|[^\\\/])*?/,f,r),p=[s,t.HASH_COMMENT_MODE,t.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),a,{className:"string",contains:l,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[t.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+t.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[t.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:u("s|tr|y",e.either(...c,{capture:!0}))},{begin:u("s|tr|y","\\(","\\)")},{begin:u("s|tr|y","\\[","\\]")},{begin:u("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:d("(?:m|qr)?",/\//,/\//)},{begin:d("m|qr",e.either(...c,{capture:!0}),/\1/)},{begin:d("m|qr",/\(/,/\)/)},{begin:d("m|qr",/\[/,/\]/)},{begin:d("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[t.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return o.contains=p,a.contains=p,{name:"Perl",aliases:["pl","pm"],keywords:i,contains:p}}function FM(t){const e=t.regex,n=/(?![A-Za-z0-9])(?![$])/,r=e.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),i=e.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),o={scope:"variable",match:"\\$+"+r},a={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},s={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},l=t.inherit(t.APOS_STRING_MODE,{illegal:null}),c=t.inherit(t.QUOTE_STRING_MODE,{illegal:null,contains:t.QUOTE_STRING_MODE.contains.concat(s)}),u={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:t.QUOTE_STRING_MODE.contains.concat(s),"on:begin":($,q)=>{q.data._beginMatch=$[1]||$[2]},"on:end":($,q)=>{q.data._beginMatch!==$[1]&&q.ignoreMatch()}},d=t.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),p=`[ -]`,_={scope:"string",variants:[c,l,u,d]},m={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},f=["false","null","true"],g=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],E=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],b={keyword:g,literal:($=>{const q=[];return $.forEach(V=>{q.push(V),V.toLowerCase()===V?q.push(V.toUpperCase()):q.push(V.toLowerCase())}),q})(f),built_in:E},h=$=>$.map(q=>q.replace(/\|\d+$/,"")),C={variants:[{match:[/new/,e.concat(p,"+"),e.concat("(?!",h(E).join("\\b|"),"\\b)"),i],scope:{1:"keyword",4:"title.class"}}]},T=e.concat(r,"\\b(?!\\()"),R={variants:[{match:[e.concat(/::/,e.lookahead(/(?!class\b)/)),T],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[i,e.concat(/::/,e.lookahead(/(?!class\b)/)),T],scope:{1:"title.class",3:"variable.constant"}},{match:[i,e.concat("::",e.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[i,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},x={scope:"attr",match:e.concat(r,e.lookahead(":"),e.lookahead(/(?!::)/))},O={relevance:0,begin:/\(/,end:/\)/,keywords:b,contains:[x,o,R,t.C_BLOCK_COMMENT_MODE,_,m,C]},M={relevance:0,match:[/\b/,e.concat("(?!fn\\b|function\\b|",h(g).join("\\b|"),"|",h(E).join("\\b|"),"\\b)"),r,e.concat(p,"*"),e.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[O]};O.contains.push(M);const B=[x,R,t.C_BLOCK_COMMENT_MODE,_,m,C],Y={begin:e.concat(/#\[\s*/,i),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:f,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:f,keyword:["new","array"]},contains:["self",...B]},...B,{scope:"meta",match:i}]};return{case_insensitive:!1,keywords:b,contains:[Y,t.HASH_COMMENT_MODE,t.COMMENT("//","$"),t.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:t.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},a,{scope:"variable.language",match:/\$this\b/},o,M,R,{match:[/const/,/\s/,r],scope:{1:"keyword",3:"variable.constant"}},C,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},t.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:b,contains:["self",o,R,t.C_BLOCK_COMMENT_MODE,_,m]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},t.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[t.inherit(t.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},t.UNDERSCORE_TITLE_MODE]},_,m]}}function BM(t){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},t.inherit(t.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}function UM(t){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}function HM(t){const e=t.regex,n=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),r=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],s={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:r,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},l={className:"meta",begin:/^(>>>|\.\.\.) /},c={className:"subst",begin:/\{/,end:/\}/,keywords:s,illegal:/#/},u={begin:/\{\{/,relevance:0},d={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE,l],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,l],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE,l,u,c]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,l,u,c]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[t.BACKSLASH_ESCAPE,u,c]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,u,c]},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},p="[0-9](_?[0-9])*",_=`(\\b(${p}))?\\.(${p})|\\b(${p})\\.`,m=`\\b|${r.join("|")}`,f={className:"number",relevance:0,variants:[{begin:`(\\b(${p})|(${_}))[eE][+-]?(${p})[jJ]?(?=${m})`},{begin:`(${_})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${m})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${m})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${m})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${m})`},{begin:`\\b(${p})[jJ](?=${m})`}]},g={className:"comment",begin:e.lookahead(/# type:/),end:/$/,keywords:s,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},E={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:["self",l,f,d,t.HASH_COMMENT_MODE]}]};return c.contains=[d,f,l],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:s,illegal:/(<\/|\?)|=>/,contains:[l,f,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},d,g,t.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[E]},{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[f,E,d]}]}}function GM(t){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}function VM(t){const e=t.regex,n=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,r=e.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),i=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,o=e.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:n,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[t.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:e.lookahead(e.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:n},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),t.HASH_COMMENT_MODE,{scope:"string",contains:[t.BACKSLASH_ESCAPE],variants:[t.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),t.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),t.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),t.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),t.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),t.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[i,r]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,r]},{scope:{1:"punctuation",2:"number"},match:[o,r]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,r]}]},{scope:{3:"operator"},match:[n,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:i},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:o},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}function YM(t){const e=t.regex,n="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",r=e.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),i=e.concat(r,/(::\w+)*/),a={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},s={className:"doctag",begin:"@[A-Za-z]+"},l={begin:"#<",end:">"},c=[t.COMMENT("#","$",{contains:[s]}),t.COMMENT("^=begin","^=end",{contains:[s],relevance:10}),t.COMMENT("^__END__",t.MATCH_NOTHING_RE)],u={className:"subst",begin:/#\{/,end:/\}/,keywords:a},d={className:"string",contains:[t.BACKSLASH_ESCAPE,u],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:e.concat(/<<[-~]?'?/,e.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[t.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[t.BACKSLASH_ESCAPE,u]})]}]},p="[1-9](_?[0-9])*|0",_="[0-9](_?[0-9])*",m={className:"number",relevance:0,variants:[{begin:`\\b(${p})(\\.(${_}))?([eE][+-]?(${_})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},f={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:a}]},T=[d,{variants:[{match:[/class\s+/,i,/\s+<\s+/,i]},{match:[/\b(class|module)\s+/,i]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:a},{match:[/(include|extend)\s+/,i],scope:{2:"title.class"},keywords:a},{relevance:0,match:[i,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:r,scope:"title.class"},{match:[/def/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[f]},{begin:t.IDENT_RE+"::"},{className:"symbol",begin:t.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[d,{begin:n}],relevance:0},m,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:a},{begin:"("+t.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[t.BACKSLASH_ESCAPE,u],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(l,c),relevance:0}].concat(l,c);u.contains=T,f.contains=T;const M=[{begin:/^\s*=>/,starts:{end:"$",contains:T}},{className:"meta.prompt",begin:"^("+"[>?]>"+"|"+"[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]"+"|"+"(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>"+")(?=[ ])",starts:{end:"$",keywords:a,contains:T}}];return c.unshift(l),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:a,illegal:/\/\*/,contains:[t.SHEBANG({binary:"ruby"})].concat(M).concat(c).concat(T)}}function zM(t){const e=t.regex,n={className:"title.function.invoke",relevance:0,begin:e.concat(/\b/,/(?!let|for|while|if|else|match\b)/,t.IDENT_RE,e.lookahead(/\s*\(/))},r="([ui](8|16|32|64|128|size)|f(32|64))?",i=["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","unsafe","unsized","use","virtual","where","while","yield"],o=["true","false","Some","None","Ok","Err"],a=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","eprintln!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],s=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:t.IDENT_RE+"!?",type:s,keyword:i,literal:o,built_in:a},illegal:""},n]}}const $M=t=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:t.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:t.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),qM=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],WM=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],KM=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],QM=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],ZM=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function XM(t){const e=$M(t),n=QM,r=KM,i="@[a-z-]+",o="and or not only",s={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,e.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},e.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+qM.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+r.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+n.join("|")+")"},s,{begin:/\(/,end:/\)/,contains:[e.CSS_NUMBER_MODE]},e.CSS_VARIABLE,{className:"attribute",begin:"\\b("+ZM.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[e.BLOCK_COMMENT,s,e.HEXCOLOR,e.CSS_NUMBER_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,e.IMPORTANT,e.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:i,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:o,attribute:WM.join(" ")},contains:[{begin:i,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},s,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,e.HEXCOLOR,e.CSS_NUMBER_MODE]},e.FUNCTION_DISPATCH]}}function jM(t){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}function JM(t){const e=t.regex,n=t.COMMENT("--","$"),r={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},i={begin:/"/,end:/"/,contains:[{begin:/""/}]},o=["true","false","unknown"],a=["double precision","large object","with timezone","without timezone"],s=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],l=["add","asc","collation","desc","final","first","last","view"],c=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],u=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],d=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],p=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],_=u,m=[...c,...l].filter(b=>!u.includes(b)),f={className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},g={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},E={begin:e.concat(/\b/,e.either(..._),/\s*\(/),relevance:0,keywords:{built_in:_}};function S(b,{exceptions:h,when:C}={}){const T=C;return h=h||[],b.map(R=>R.match(/\|\d+$/)||h.includes(R)?R:T(R)?`${R}|0`:R)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:S(m,{when:b=>b.length<3}),literal:o,type:s,built_in:d},contains:[{begin:e.either(...p),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:m.concat(p),literal:o,type:s}},{className:"type",begin:e.either(...a)},E,f,r,i,t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,n,g]}}function lh(t){return t?typeof t=="string"?t:t.source:null}function Wo(t){return ye("(?=",t,")")}function ye(...t){return t.map(n=>lh(n)).join("")}function ew(t){const e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function ut(...t){return"("+(ew(t).capture?"":"?:")+t.map(r=>lh(r)).join("|")+")"}const mu=t=>ye(/\b/,t,/\w$/.test(t)?/\b/:/\B/),tw=["Protocol","Type"].map(mu),v_=["init","self"].map(mu),nw=["Any","Self"],fl=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],R_=["false","nil","true"],rw=["assignment","associativity","higherThan","left","lowerThan","none","right"],iw=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],O_=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],ch=ut(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),uh=ut(ch,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),gl=ye(ch,uh,"*"),dh=ut(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),za=ut(dh,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),dn=ye(dh,za,"*"),hl=ye(/[A-Z]/,za,"*"),ow=["attached","autoclosure",ye(/convention\(/,ut("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",ye(/objc\(/,dn,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],aw=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function sw(t){const e={match:/\s+/,relevance:0},n=t.COMMENT("/\\*","\\*/",{contains:["self"]}),r=[t.C_LINE_COMMENT_MODE,n],i={match:[/\./,ut(...tw,...v_)],className:{2:"keyword"}},o={match:ye(/\./,ut(...fl)),relevance:0},a=fl.filter(de=>typeof de=="string").concat(["_|0"]),s=fl.filter(de=>typeof de!="string").concat(nw).map(mu),l={variants:[{className:"keyword",match:ut(...s,...v_)}]},c={$pattern:ut(/\b\w+/,/#\w+/),keyword:a.concat(iw),literal:R_},u=[i,o,l],d={match:ye(/\./,ut(...O_)),relevance:0},p={className:"built_in",match:ye(/\b/,ut(...O_),/(?=\()/)},_=[d,p],m={match:/->/,relevance:0},f={className:"operator",relevance:0,variants:[{match:gl},{match:`\\.(\\.|${uh})+`}]},g=[m,f],E="([0-9]_*)+",S="([0-9a-fA-F]_*)+",b={className:"number",relevance:0,variants:[{match:`\\b(${E})(\\.(${E}))?([eE][+-]?(${E}))?\\b`},{match:`\\b0x(${S})(\\.(${S}))?([pP][+-]?(${E}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},h=(de="")=>({className:"subst",variants:[{match:ye(/\\/,de,/[0\\tnr"']/)},{match:ye(/\\/,de,/u\{[0-9a-fA-F]{1,8}\}/)}]}),C=(de="")=>({className:"subst",match:ye(/\\/,de,/[\t ]*(?:[\r\n]|\r\n)/)}),T=(de="")=>({className:"subst",label:"interpol",begin:ye(/\\/,de,/\(/),end:/\)/}),R=(de="")=>({begin:ye(de,/"""/),end:ye(/"""/,de),contains:[h(de),C(de),T(de)]}),x=(de="")=>({begin:ye(de,/"/),end:ye(/"/,de),contains:[h(de),T(de)]}),O={className:"string",variants:[R(),R("#"),R("##"),R("###"),x(),x("#"),x("##"),x("###")]},M=[t.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[t.BACKSLASH_ESCAPE]}],B={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:M},Y=de=>{const Pe=ye(de,/\//),Qe=ye(/\//,de);return{begin:Pe,end:Qe,contains:[...M,{scope:"comment",begin:`#(?!.*${Qe})`,end:/$/}]}},$={scope:"regexp",variants:[Y("###"),Y("##"),Y("#"),B]},q={match:ye(/`/,dn,/`/)},V={className:"variable",match:/\$\d+/},J={className:"variable",match:`\\$${za}+`},y=[q,V,J],v={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:aw,contains:[...g,b,O]}]}},A={scope:"keyword",match:ye(/@/,ut(...ow))},k={scope:"meta",match:ye(/@/,dn)},G=[v,A,k],z={match:Wo(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:ye(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,za,"+")},{className:"type",match:hl,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:ye(/\s+&\s+/,Wo(hl)),relevance:0}]},ae={begin://,keywords:c,contains:[...r,...u,...G,m,z]};z.contains.push(ae);const Ce={match:ye(dn,/\s*:/),keywords:"_|0",relevance:0},ie={begin:/\(/,end:/\)/,relevance:0,keywords:c,contains:["self",Ce,...r,$,...u,..._,...g,b,O,...y,...G,z]},ue={begin://,keywords:"repeat each",contains:[...r,z]},Be={begin:ut(Wo(ye(dn,/\s*:/)),Wo(ye(dn,/\s+/,dn,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:dn}]},Le={begin:/\(/,end:/\)/,keywords:c,contains:[Be,...r,...u,...g,b,O,...G,z,ie],endsParent:!0,illegal:/["']/},We={match:[/(func|macro)/,/\s+/,ut(q.match,dn,gl)],className:{1:"keyword",3:"title.function"},contains:[ue,Le,e],illegal:[/\[/,/%/]},Ke={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[ue,Le,e],illegal:/\[|%/},ht={match:[/operator/,/\s+/,gl],className:{1:"keyword",3:"title"}},Ft={begin:[/precedencegroup/,/\s+/,hl],className:{1:"keyword",3:"title"},contains:[z],keywords:[...rw,...R_],end:/}/};for(const de of O.variants){const Pe=de.contains.find(he=>he.label==="interpol");Pe.keywords=c;const Qe=[...u,..._,...g,b,O,...y];Pe.contains=[...Qe,{begin:/\(/,end:/\)/,contains:["self",...Qe]}]}return{name:"Swift",keywords:c,contains:[...r,We,Ke,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:c,contains:[t.inherit(t.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...u]},ht,Ft,{beginKeywords:"import",end:/$/,contains:[...r],relevance:0},$,...u,..._,...g,b,O,...y,...G,z,ie]}}const $a="[A-Za-z$_][0-9A-Za-z$_]*",ph=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],_h=["true","false","null","undefined","NaN","Infinity"],mh=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],fh=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],gh=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],hh=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],Eh=[].concat(gh,mh,fh);function lw(t){const e=t.regex,n=(v,{after:A})=>{const k="",end:""},o=/<[A-Za-z0-9\\._:-]+\s*\/>/,a={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(v,A)=>{const k=v[0].length+v.index,G=v.input[k];if(G==="<"||G===","){A.ignoreMatch();return}G===">"&&(n(v,{after:k})||A.ignoreMatch());let z;const ae=v.input.substring(k);if(z=ae.match(/^\s*=/)){A.ignoreMatch();return}if((z=ae.match(/^\s+extends\s+/))&&z.index===0){A.ignoreMatch();return}}},s={$pattern:$a,keyword:ph,literal:_h,built_in:Eh,"variable.language":hh},l="[0-9](_?[0-9])*",c=`\\.(${l})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",d={className:"number",variants:[{begin:`(\\b(${u})((${c})|\\.)?|(${c}))[eE][+-]?(${l})\\b`},{begin:`\\b(${u})\\b((${c})\\b|\\.)?|(${c})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},p={className:"subst",begin:"\\$\\{",end:"\\}",keywords:s,contains:[]},_={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"xml"}},m={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"css"}},f={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"graphql"}},g={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,p]},S={className:"comment",variants:[t.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:r+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]},b=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,_,m,f,g,{match:/\$\d+/},d];p.contains=b.concat({begin:/\{/,end:/\}/,keywords:s,contains:["self"].concat(b)});const h=[].concat(S,p.contains),C=h.concat([{begin:/\(/,end:/\)/,keywords:s,contains:["self"].concat(h)}]),T={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:C},R={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,e.concat(r,"(",e.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},x={relevance:0,match:e.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...mh,...fh]}},O={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},M={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[T],illegal:/%/},B={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function Y(v){return e.concat("(?!",v.join("|"),")")}const $={match:e.concat(/\b/,Y([...gh,"super","import"]),r,e.lookahead(/\(/)),className:"title.function",relevance:0},q={begin:e.concat(/\./,e.lookahead(e.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},V={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},T]},J="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+t.UNDERSCORE_IDENT_RE+")\\s*=>",y={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,e.lookahead(J)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[T]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:s,exports:{PARAMS_CONTAINS:C,CLASS_REFERENCE:x},illegal:/#(?![$_A-z])/,contains:[t.SHEBANG({label:"shebang",binary:"node",relevance:5}),O,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,_,m,f,g,S,{match:/\$\d+/},d,x,{className:"attr",begin:r+e.lookahead(":"),relevance:0},y,{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[S,t.REGEXP_MODE,{className:"function",begin:J,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:C}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:o},{begin:a.begin,"on:begin":a.isTrulyOpeningTag,end:a.end}],subLanguage:"xml",contains:[{begin:a.begin,end:a.end,skip:!0,contains:["self"]}]}]},M,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+t.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[T,t.inherit(t.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},q,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[T]},$,B,R,V,{match:/\$[(.]/}]}}function cw(t){const e=lw(t),n=$a,r=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],i={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[e.exports.CLASS_REFERENCE]},o={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:r},contains:[e.exports.CLASS_REFERENCE]},a={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},s=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],l={$pattern:$a,keyword:ph.concat(s),literal:_h,built_in:Eh.concat(r),"variable.language":hh},c={className:"meta",begin:"@"+n},u=(p,_,m)=>{const f=p.contains.findIndex(g=>g.label===_);if(f===-1)throw new Error("can not find mode to replace");p.contains.splice(f,1,m)};Object.assign(e.keywords,l),e.exports.PARAMS_CONTAINS.push(c),e.contains=e.contains.concat([c,i,o]),u(e,"shebang",t.SHEBANG()),u(e,"use_strict",a);const d=e.contains.find(p=>p.label==="func.def");return d.relevance=0,Object.assign(e,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),e}function uw(t){const e=t.regex,n={className:"string",begin:/"(""|[^/n])"C\b/},r={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},i=/\d{1,2}\/\d{1,2}\/\d{4}/,o=/\d{4}-\d{1,2}-\d{1,2}/,a=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,s=/\d{1,2}(:\d{1,2}){1,2}/,l={className:"literal",variants:[{begin:e.concat(/# */,e.either(o,i),/ *#/)},{begin:e.concat(/# */,s,/ *#/)},{begin:e.concat(/# */,a,/ *#/)},{begin:e.concat(/# */,e.either(o,i),/ +/,e.either(a,s),/ *#/)}]},c={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},u={className:"label",begin:/^\w+:/},d=t.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),p=t.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[n,r,l,c,u,d,p,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[p]}]}}function dw(t){t.regex;const e=t.COMMENT(/\(;/,/;\)/);e.contains.push("self");const n=t.COMMENT(/;;/,/$/),r=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],i={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},o={className:"variable",begin:/\$[\w_]+/},a={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},s={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},l={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},c={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:r},contains:[n,e,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},o,a,i,t.QUOTE_STRING_MODE,l,c,s]}}function pw(t){const e=t.regex,n=e.concat(/[\p{L}_]/u,e.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r=/[\p{L}0-9._:-]+/u,i={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},o={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},a=t.inherit(o,{begin:/\(/,end:/\)/}),s=t.inherit(t.APOS_STRING_MODE,{className:"string"}),l=t.inherit(t.QUOTE_STRING_MODE,{className:"string"}),c={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[o,l,s,a,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[o,a,l,s]}]}]},t.COMMENT(//,{relevance:10}),{begin://,relevance:10},i,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[l]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[c],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[c],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:e.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:c}]},{className:"tag",begin:e.concat(/<\//,e.lookahead(e.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}function _w(t){const e="true false yes no null",n="[\\w#;/?:@&=+$,.~*'()[\\]]+",r={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},i={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},o={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[t.BACKSLASH_ESCAPE,i]},a=t.inherit(o,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),d={className:"number",begin:"\\b"+"[0-9]{4}(-[0-9][0-9]){0,2}"+"([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?"+"(\\.[0-9]*)?"+"([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?"+"\\b"},p={end:",",endsWithParent:!0,excludeEnd:!0,keywords:e,relevance:0},_={begin:/\{/,end:/\}/,contains:[p],illegal:"\\n",relevance:0},m={begin:"\\[",end:"\\]",contains:[p],illegal:"\\n",relevance:0},f=[r,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+n},{className:"type",begin:"!<"+n+">"},{className:"type",begin:"!"+n},{className:"type",begin:"!!"+n},{className:"meta",begin:"&"+t.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+t.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},t.HASH_COMMENT_MODE,{beginKeywords:e,keywords:{literal:e}},d,{className:"number",begin:t.C_NUMBER_RE+"\\b",relevance:0},_,m,o],g=[...f];return g.pop(),g.push(a),p.contains=g,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:f}}const mw={arduino:tM,bash:nM,c:rM,cpp:iM,csharp:oM,css:pM,diff:_M,go:mM,graphql:fM,ini:gM,java:hM,javascript:CM,json:yM,kotlin:RM,less:DM,lua:MM,makefile:wM,markdown:LM,objectivec:kM,perl:PM,php:FM,"php-template":BM,plaintext:UM,python:HM,"python-repl":GM,r:VM,ruby:YM,rust:zM,scss:XM,shell:jM,sql:JM,swift:sw,typescript:cw,vbnet:uw,wasm:dw,xml:pw,yaml:_w},fw={...mw,"1c":HA,abnf:GA,accesslog:VA,actionscript:YA,ada:zA,angelscript:$A,apache:qA,applescript:WA,arcade:KA,armasm:QA,asciidoc:ZA,aspectj:XA,autohotkey:jA,autoit:JA,avrasm:eI,awk:tI,axapta:nI,basic:rI,bnf:iI,brainfuck:oI,cal:aI,capnproto:sI,ceylon:lI,clean:cI,clojure:uI,"clojure-repl":dI,cmake:pI,coffeescript:SI,coq:bI,cos:TI,crmsh:CI,crystal:yI,csp:vI,d:RI,dart:OI,delphi:NI,django:AI,dns:II,dockerfile:xI,dos:DI,dsconfig:MI,dts:wI,dust:LI,ebnf:kI,elixir:PI,elm:FI,erb:BI,erlang:UI,"erlang-repl":HI,excel:GI,fix:VI,flix:YI,fortran:zI,fsharp:WI,gams:KI,gauss:QI,gcode:ZI,gherkin:XI,glsl:jI,gml:JI,golo:ex,gradle:tx,groovy:nx,haml:rx,handlebars:ix,haskell:ox,haxe:ax,hsp:sx,http:lx,hy:cx,inform7:ux,irpf90:dx,isbl:px,"jboss-cli":_x,julia:mx,"julia-repl":fx,lasso:gx,latex:hx,ldif:Ex,leaf:Sx,lisp:bx,livecodeserver:Tx,livescript:Ax,llvm:Ix,lsl:xx,mathematica:Mx,matlab:wx,maxima:Lx,mel:kx,mercury:Px,mipsasm:Fx,mizar:Bx,mojolicious:Ux,monkey:Hx,moonscript:Gx,n1ql:Vx,nestedtext:Yx,nginx:zx,nim:$x,nix:qx,"node-repl":Wx,nsis:Kx,ocaml:Qx,openscad:Zx,oxygene:Xx,parser3:jx,pf:Jx,pgsql:eD,pony:tD,powershell:nD,processing:rD,profile:iD,prolog:oD,properties:aD,protobuf:sD,puppet:lD,purebasic:cD,q:uD,qml:dD,reasonml:pD,rib:_D,roboconf:mD,routeros:fD,rsl:gD,ruleslanguage:hD,sas:ED,scala:SD,scheme:bD,scilab:TD,smali:CD,smalltalk:yD,sml:vD,sqf:RD,stan:OD,stata:ND,step21:AD,stylus:kD,subunit:PD,taggerscript:FD,tap:BD,tcl:UD,thrift:HD,tp:GD,twig:VD,vala:YD,vbscript:zD,"vbscript-html":$D,verilog:qD,vhdl:WD,vim:KD,wren:QD,x86asm:ZD,xl:XD,xquery:jD,zephir:JD};function Sh(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw new Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw new Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach(e=>{const n=t[e],r=typeof n;(r==="object"||r==="function")&&!Object.isFrozen(n)&&Sh(n)}),t}class N_{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function bh(t){return t.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function Pn(t,...e){const n=Object.create(null);for(const r in t)n[r]=t[r];return e.forEach(function(r){for(const i in r)n[i]=r[i]}),n}const gw="",A_=t=>!!t.scope,hw=(t,{prefix:e})=>{if(t.startsWith("language:"))return t.replace("language:","language-");if(t.includes(".")){const n=t.split(".");return[`${e}${n.shift()}`,...n.map((r,i)=>`${r}${"_".repeat(i+1)}`)].join(" ")}return`${e}${t}`};class Ew{constructor(e,n){this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){this.buffer+=bh(e)}openNode(e){if(!A_(e))return;const n=hw(e.scope,{prefix:this.classPrefix});this.span(n)}closeNode(e){A_(e)&&(this.buffer+=gw)}value(){return this.buffer}span(e){this.buffer+=``}}const I_=(t={})=>{const e={children:[]};return Object.assign(e,t),e};class fu{constructor(){this.rootNode=I_(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const n=I_({scope:e});this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,n){return typeof n=="string"?e.addText(n):n.children&&(e.openNode(n),n.children.forEach(r=>this._walk(e,r)),e.closeNode(n)),e}static _collapse(e){typeof e!="string"&&e.children&&(e.children.every(n=>typeof n=="string")?e.children=[e.children.join("")]:e.children.forEach(n=>{fu._collapse(n)}))}}class Sw extends fu{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,n){const r=e.root;n&&(r.scope=`language:${n}`),this.add(r)}toHTML(){return new Ew(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function oo(t){return t?typeof t=="string"?t:t.source:null}function Th(t){return vr("(?=",t,")")}function bw(t){return vr("(?:",t,")*")}function Tw(t){return vr("(?:",t,")?")}function vr(...t){return t.map(n=>oo(n)).join("")}function Cw(t){const e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function gu(...t){return"("+(Cw(t).capture?"":"?:")+t.map(r=>oo(r)).join("|")+")"}function Ch(t){return new RegExp(t.toString()+"|").exec("").length-1}function yw(t,e){const n=t&&t.exec(e);return n&&n.index===0}const vw=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function hu(t,{joinWith:e}){let n=0;return t.map(r=>{n+=1;const i=n;let o=oo(r),a="";for(;o.length>0;){const s=vw.exec(o);if(!s){a+=o;break}a+=o.substring(0,s.index),o=o.substring(s.index+s[0].length),s[0][0]==="\\"&&s[1]?a+="\\"+String(Number(s[1])+i):(a+=s[0],s[0]==="("&&n++)}return a}).map(r=>`(${r})`).join(e)}const Rw=/\b\B/,yh="[a-zA-Z]\\w*",Eu="[a-zA-Z_]\\w*",vh="\\b\\d+(\\.\\d+)?",Rh="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Oh="\\b(0b[01]+)",Ow="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",Nw=(t={})=>{const e=/^#![ ]*\//;return t.binary&&(t.begin=vr(e,/.*\b/,t.binary,/\b.*/)),Pn({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(n,r)=>{n.index!==0&&r.ignoreMatch()}},t)},ao={begin:"\\\\[\\s\\S]",relevance:0},Aw={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[ao]},Iw={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[ao]},xw={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},ys=function(t,e,n={}){const r=Pn({scope:"comment",begin:t,end:e,contains:[]},n);r.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const i=gu("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:vr(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},Dw=ys("//","$"),Mw=ys("/\\*","\\*/"),ww=ys("#","$"),Lw={scope:"number",begin:vh,relevance:0},kw={scope:"number",begin:Rh,relevance:0},Pw={scope:"number",begin:Oh,relevance:0},Fw={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[ao,{begin:/\[/,end:/\]/,relevance:0,contains:[ao]}]},Bw={scope:"title",begin:yh,relevance:0},Uw={scope:"title",begin:Eu,relevance:0},Hw={begin:"\\.\\s*"+Eu,relevance:0},Gw=function(t){return Object.assign(t,{"on:begin":(e,n)=>{n.data._beginMatch=e[1]},"on:end":(e,n)=>{n.data._beginMatch!==e[1]&&n.ignoreMatch()}})};var Ko=Object.freeze({__proto__:null,APOS_STRING_MODE:Aw,BACKSLASH_ESCAPE:ao,BINARY_NUMBER_MODE:Pw,BINARY_NUMBER_RE:Oh,COMMENT:ys,C_BLOCK_COMMENT_MODE:Mw,C_LINE_COMMENT_MODE:Dw,C_NUMBER_MODE:kw,C_NUMBER_RE:Rh,END_SAME_AS_BEGIN:Gw,HASH_COMMENT_MODE:ww,IDENT_RE:yh,MATCH_NOTHING_RE:Rw,METHOD_GUARD:Hw,NUMBER_MODE:Lw,NUMBER_RE:vh,PHRASAL_WORDS_MODE:xw,QUOTE_STRING_MODE:Iw,REGEXP_MODE:Fw,RE_STARTERS_RE:Ow,SHEBANG:Nw,TITLE_MODE:Bw,UNDERSCORE_IDENT_RE:Eu,UNDERSCORE_TITLE_MODE:Uw});function Vw(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function Yw(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function zw(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=Vw,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function $w(t,e){Array.isArray(t.illegal)&&(t.illegal=gu(...t.illegal))}function qw(t,e){if(t.match){if(t.begin||t.end)throw new Error("begin & end are not supported with match");t.begin=t.match,delete t.match}}function Ww(t,e){t.relevance===void 0&&(t.relevance=1)}const Kw=(t,e)=>{if(!t.beforeMatch)return;if(t.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},t);Object.keys(t).forEach(r=>{delete t[r]}),t.keywords=n.keywords,t.begin=vr(n.beforeMatch,Th(n.begin)),t.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},t.relevance=0,delete n.beforeMatch},Qw=["of","and","for","in","not","or","if","then","parent","list","value"],Zw="keyword";function Nh(t,e,n=Zw){const r=Object.create(null);return typeof t=="string"?i(n,t.split(" ")):Array.isArray(t)?i(n,t):Object.keys(t).forEach(function(o){Object.assign(r,Nh(t[o],e,o))}),r;function i(o,a){e&&(a=a.map(s=>s.toLowerCase())),a.forEach(function(s){const l=s.split("|");r[l[0]]=[o,Xw(l[0],l[1])]})}}function Xw(t,e){return e?Number(e):jw(t)?0:1}function jw(t){return Qw.includes(t.toLowerCase())}const x_={},_r=t=>{console.error(t)},D_=(t,...e)=>{console.log(`WARN: ${t}`,...e)},Lr=(t,e)=>{x_[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),x_[`${t}/${e}`]=!0)},qa=new Error;function Ah(t,e,{key:n}){let r=0;const i=t[n],o={},a={};for(let s=1;s<=e.length;s++)a[s+r]=i[s],o[s+r]=!0,r+=Ch(e[s-1]);t[n]=a,t[n]._emit=o,t[n]._multi=!0}function Jw(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw _r("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),qa;if(typeof t.beginScope!="object"||t.beginScope===null)throw _r("beginScope must be object"),qa;Ah(t,t.begin,{key:"beginScope"}),t.begin=hu(t.begin,{joinWith:""})}}function e2(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw _r("skip, excludeEnd, returnEnd not compatible with endScope: {}"),qa;if(typeof t.endScope!="object"||t.endScope===null)throw _r("endScope must be object"),qa;Ah(t,t.end,{key:"endScope"}),t.end=hu(t.end,{joinWith:""})}}function t2(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function n2(t){t2(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),Jw(t),e2(t)}function r2(t){function e(a,s){return new RegExp(oo(a),"m"+(t.case_insensitive?"i":"")+(t.unicodeRegex?"u":"")+(s?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(s,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,s]),this.matchAt+=Ch(s)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const s=this.regexes.map(l=>l[1]);this.matcherRe=e(hu(s,{joinWith:"|"}),!0),this.lastIndex=0}exec(s){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(s);if(!l)return null;const c=l.findIndex((d,p)=>p>0&&d!==void 0),u=this.matchIndexes[c];return l.splice(0,c),Object.assign(l,u)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(s){if(this.multiRegexes[s])return this.multiRegexes[s];const l=new n;return this.rules.slice(s).forEach(([c,u])=>l.addRule(c,u)),l.compile(),this.multiRegexes[s]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(s,l){this.rules.push([s,l]),l.type==="begin"&&this.count++}exec(s){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let c=l.exec(s);if(this.resumingScanAtSamePosition()&&!(c&&c.index===this.lastIndex)){const u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,c=u.exec(s)}return c&&(this.regexIndex+=c.position+1,this.regexIndex===this.count&&this.considerAll()),c}}function i(a){const s=new r;return a.contains.forEach(l=>s.addRule(l.begin,{rule:l,type:"begin"})),a.terminatorEnd&&s.addRule(a.terminatorEnd,{type:"end"}),a.illegal&&s.addRule(a.illegal,{type:"illegal"}),s}function o(a,s){const l=a;if(a.isCompiled)return l;[Yw,qw,n2,Kw].forEach(u=>u(a,s)),t.compilerExtensions.forEach(u=>u(a,s)),a.__beforeBegin=null,[zw,$w,Ww].forEach(u=>u(a,s)),a.isCompiled=!0;let c=null;return typeof a.keywords=="object"&&a.keywords.$pattern&&(a.keywords=Object.assign({},a.keywords),c=a.keywords.$pattern,delete a.keywords.$pattern),c=c||/\w+/,a.keywords&&(a.keywords=Nh(a.keywords,t.case_insensitive)),l.keywordPatternRe=e(c,!0),s&&(a.begin||(a.begin=/\B|\b/),l.beginRe=e(l.begin),!a.end&&!a.endsWithParent&&(a.end=/\B|\b/),a.end&&(l.endRe=e(l.end)),l.terminatorEnd=oo(l.end)||"",a.endsWithParent&&s.terminatorEnd&&(l.terminatorEnd+=(a.end?"|":"")+s.terminatorEnd)),a.illegal&&(l.illegalRe=e(a.illegal)),a.contains||(a.contains=[]),a.contains=[].concat(...a.contains.map(function(u){return i2(u==="self"?a:u)})),a.contains.forEach(function(u){o(u,l)}),a.starts&&o(a.starts,s),l.matcher=i(l),l}if(t.compilerExtensions||(t.compilerExtensions=[]),t.contains&&t.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return t.classNameAliases=Pn(t.classNameAliases||{}),o(t)}function Ih(t){return t?t.endsWithParent||Ih(t.starts):!1}function i2(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return Pn(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:Ih(t)?Pn(t,{starts:t.starts?Pn(t.starts):null}):Object.isFrozen(t)?Pn(t):t}var o2="11.9.0";class a2 extends Error{constructor(e,n){super(e),this.name="HTMLInjectionError",this.html=n}}const El=bh,M_=Pn,w_=Symbol("nomatch"),s2=7,xh=function(t){const e=Object.create(null),n=Object.create(null),r=[];let i=!0;const o="Could not find the language '{}', did you forget to load/include a language module?",a={disableAutodetect:!0,name:"Plain text",contains:[]};let s={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:Sw};function l(y){return s.noHighlightRe.test(y)}function c(y){let v=y.className+" ";v+=y.parentNode?y.parentNode.className:"";const A=s.languageDetectRe.exec(v);if(A){const k=O(A[1]);return k||(D_(o.replace("{}",A[1])),D_("Falling back to no-highlight mode for this block.",y)),k?A[1]:"no-highlight"}return v.split(/\s+/).find(k=>l(k)||O(k))}function u(y,v,A){let k="",G="";typeof v=="object"?(k=y,A=v.ignoreIllegals,G=v.language):(Lr("10.7.0","highlight(lang, code, ...args) has been deprecated."),Lr("10.7.0",`Please use highlight(code, options) instead. -https://github.com/highlightjs/highlight.js/issues/2277`),G=y,k=v),A===void 0&&(A=!0);const z={code:k,language:G};V("before:highlight",z);const ae=z.result?z.result:d(z.language,z.code,A);return ae.code=z.code,V("after:highlight",ae),ae}function d(y,v,A,k){const G=Object.create(null);function z(N,D){return N.keywords[D]}function ae(){if(!P.keywords){oe.addText(X);return}let N=0;P.keywordPatternRe.lastIndex=0;let D=P.keywordPatternRe.exec(X),U="";for(;D;){U+=X.substring(N,D.index);const K=he.case_insensitive?D[0].toLowerCase():D[0],_e=z(P,K);if(_e){const[De,Rr]=_e;if(oe.addText(U),U="",G[K]=(G[K]||0)+1,G[K]<=s2&&(He+=Rr),De.startsWith("_"))U+=D[0];else{const I=he.classNameAliases[De]||De;ue(D[0],I)}}else U+=D[0];N=P.keywordPatternRe.lastIndex,D=P.keywordPatternRe.exec(X)}U+=X.substring(N),oe.addText(U)}function Ce(){if(X==="")return;let N=null;if(typeof P.subLanguage=="string"){if(!e[P.subLanguage]){oe.addText(X);return}N=d(P.subLanguage,X,!0,et[P.subLanguage]),et[P.subLanguage]=N._top}else N=_(X,P.subLanguage.length?P.subLanguage:null);P.relevance>0&&(He+=N.relevance),oe.__addSublanguage(N._emitter,N.language)}function ie(){P.subLanguage!=null?Ce():ae(),X=""}function ue(N,D){N!==""&&(oe.startScope(D),oe.addText(N),oe.endScope())}function Be(N,D){let U=1;const K=D.length-1;for(;U<=K;){if(!N._emit[U]){U++;continue}const _e=he.classNameAliases[N[U]]||N[U],De=D[U];_e?ue(De,_e):(X=De,ae(),X=""),U++}}function Le(N,D){return N.scope&&typeof N.scope=="string"&&oe.openNode(he.classNameAliases[N.scope]||N.scope),N.beginScope&&(N.beginScope._wrap?(ue(X,he.classNameAliases[N.beginScope._wrap]||N.beginScope._wrap),X=""):N.beginScope._multi&&(Be(N.beginScope,D),X="")),P=Object.create(N,{parent:{value:P}}),P}function We(N,D,U){let K=yw(N.endRe,U);if(K){if(N["on:end"]){const _e=new N_(N);N["on:end"](D,_e),_e.isMatchIgnored&&(K=!1)}if(K){for(;N.endsParent&&N.parent;)N=N.parent;return N}}if(N.endsWithParent)return We(N.parent,D,U)}function Ke(N){return P.matcher.regexIndex===0?(X+=N[0],1):(bt=!0,0)}function ht(N){const D=N[0],U=N.rule,K=new N_(U),_e=[U.__beforeBegin,U["on:begin"]];for(const De of _e)if(De&&(De(N,K),K.isMatchIgnored))return Ke(D);return U.skip?X+=D:(U.excludeBegin&&(X+=D),ie(),!U.returnBegin&&!U.excludeBegin&&(X=D)),Le(U,N),U.returnBegin?0:D.length}function Ft(N){const D=N[0],U=v.substring(N.index),K=We(P,N,U);if(!K)return w_;const _e=P;P.endScope&&P.endScope._wrap?(ie(),ue(D,P.endScope._wrap)):P.endScope&&P.endScope._multi?(ie(),Be(P.endScope,N)):_e.skip?X+=D:(_e.returnEnd||_e.excludeEnd||(X+=D),ie(),_e.excludeEnd&&(X=D));do P.scope&&oe.closeNode(),!P.skip&&!P.subLanguage&&(He+=P.relevance),P=P.parent;while(P!==K.parent);return K.starts&&Le(K.starts,N),_e.returnEnd?0:D.length}function de(){const N=[];for(let D=P;D!==he;D=D.parent)D.scope&&N.unshift(D.scope);N.forEach(D=>oe.openNode(D))}let Pe={};function Qe(N,D){const U=D&&D[0];if(X+=N,U==null)return ie(),0;if(Pe.type==="begin"&&D.type==="end"&&Pe.index===D.index&&U===""){if(X+=v.slice(D.index,D.index+1),!i){const K=new Error(`0 width match regex (${y})`);throw K.languageName=y,K.badRule=Pe.rule,K}return 1}if(Pe=D,D.type==="begin")return ht(D);if(D.type==="illegal"&&!A){const K=new Error('Illegal lexeme "'+U+'" for mode "'+(P.scope||"")+'"');throw K.mode=P,K}else if(D.type==="end"){const K=Ft(D);if(K!==w_)return K}if(D.type==="illegal"&&U==="")return 1;if(St>1e5&&St>D.index*3)throw new Error("potential infinite loop, way more iterations than matches");return X+=U,U.length}const he=O(y);if(!he)throw _r(o.replace("{}",y)),new Error('Unknown language: "'+y+'"');const zt=r2(he);let Et="",P=k||zt;const et={},oe=new s.__emitter(s);de();let X="",He=0,xe=0,St=0,bt=!1;try{if(he.__emitTokens)he.__emitTokens(v,oe);else{for(P.matcher.considerAll();;){St++,bt?bt=!1:P.matcher.considerAll(),P.matcher.lastIndex=xe;const N=P.matcher.exec(v);if(!N)break;const D=v.substring(xe,N.index),U=Qe(D,N);xe=N.index+U}Qe(v.substring(xe))}return oe.finalize(),Et=oe.toHTML(),{language:y,value:Et,relevance:He,illegal:!1,_emitter:oe,_top:P}}catch(N){if(N.message&&N.message.includes("Illegal"))return{language:y,value:El(v),illegal:!0,relevance:0,_illegalBy:{message:N.message,index:xe,context:v.slice(xe-100,xe+100),mode:N.mode,resultSoFar:Et},_emitter:oe};if(i)return{language:y,value:El(v),illegal:!1,relevance:0,errorRaised:N,_emitter:oe,_top:P};throw N}}function p(y){const v={value:El(y),illegal:!1,relevance:0,_top:a,_emitter:new s.__emitter(s)};return v._emitter.addText(y),v}function _(y,v){v=v||s.languages||Object.keys(e);const A=p(y),k=v.filter(O).filter(B).map(ie=>d(ie,y,!1));k.unshift(A);const G=k.sort((ie,ue)=>{if(ie.relevance!==ue.relevance)return ue.relevance-ie.relevance;if(ie.language&&ue.language){if(O(ie.language).supersetOf===ue.language)return 1;if(O(ue.language).supersetOf===ie.language)return-1}return 0}),[z,ae]=G,Ce=z;return Ce.secondBest=ae,Ce}function m(y,v,A){const k=v&&n[v]||A;y.classList.add("hljs"),y.classList.add(`language-${k}`)}function f(y){let v=null;const A=c(y);if(l(A))return;if(V("before:highlightElement",{el:y,language:A}),y.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",y);return}if(y.children.length>0&&(s.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(y)),s.throwUnescapedHTML))throw new a2("One of your code blocks includes unescaped HTML.",y.innerHTML);v=y;const k=v.textContent,G=A?u(k,{language:A,ignoreIllegals:!0}):_(k);y.innerHTML=G.value,y.dataset.highlighted="yes",m(y,A,G.language),y.result={language:G.language,re:G.relevance,relevance:G.relevance},G.secondBest&&(y.secondBest={language:G.secondBest.language,relevance:G.secondBest.relevance}),V("after:highlightElement",{el:y,result:G,text:k})}function g(y){s=M_(s,y)}const E=()=>{h(),Lr("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function S(){h(),Lr("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let b=!1;function h(){if(document.readyState==="loading"){b=!0;return}document.querySelectorAll(s.cssSelector).forEach(f)}function C(){b&&h()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",C,!1);function T(y,v){let A=null;try{A=v(t)}catch(k){if(_r("Language definition for '{}' could not be registered.".replace("{}",y)),i)_r(k);else throw k;A=a}A.name||(A.name=y),e[y]=A,A.rawDefinition=v.bind(null,t),A.aliases&&M(A.aliases,{languageName:y})}function R(y){delete e[y];for(const v of Object.keys(n))n[v]===y&&delete n[v]}function x(){return Object.keys(e)}function O(y){return y=(y||"").toLowerCase(),e[y]||e[n[y]]}function M(y,{languageName:v}){typeof y=="string"&&(y=[y]),y.forEach(A=>{n[A.toLowerCase()]=v})}function B(y){const v=O(y);return v&&!v.disableAutodetect}function Y(y){y["before:highlightBlock"]&&!y["before:highlightElement"]&&(y["before:highlightElement"]=v=>{y["before:highlightBlock"](Object.assign({block:v.el},v))}),y["after:highlightBlock"]&&!y["after:highlightElement"]&&(y["after:highlightElement"]=v=>{y["after:highlightBlock"](Object.assign({block:v.el},v))})}function $(y){Y(y),r.push(y)}function q(y){const v=r.indexOf(y);v!==-1&&r.splice(v,1)}function V(y,v){const A=y;r.forEach(function(k){k[A]&&k[A](v)})}function J(y){return Lr("10.7.0","highlightBlock will be removed entirely in v12.0"),Lr("10.7.0","Please use highlightElement now."),f(y)}Object.assign(t,{highlight:u,highlightAuto:_,highlightAll:h,highlightElement:f,highlightBlock:J,configure:g,initHighlighting:E,initHighlightingOnLoad:S,registerLanguage:T,unregisterLanguage:R,listLanguages:x,getLanguage:O,registerAliases:M,autoDetection:B,inherit:M_,addPlugin:$,removePlugin:q}),t.debugMode=function(){i=!1},t.safeMode=function(){i=!0},t.versionString=o2,t.regex={concat:vr,lookahead:Th,either:gu,optional:Tw,anyNumberOfTimes:bw};for(const y in Ko)typeof Ko[y]=="object"&&Sh(Ko[y]);return Object.assign(t,Ko),t},ui=xh({});ui.newInstance=()=>xh({});var l2=ui;ui.HighlightJS=ui;ui.default=ui;const c2=Jc(l2),L_={},u2="hljs-";function d2(t){const e=c2.newInstance();return t&&o(t),{highlight:n,highlightAuto:r,listLanguages:i,register:o,registerAlias:a,registered:s};function n(l,c,u){const d=u||L_,p=typeof d.prefix=="string"?d.prefix:u2;if(!e.getLanguage(l))throw new Error("Unknown language: `"+l+"` is not registered");e.configure({__emitter:p2,classPrefix:p});const _=e.highlight(c,{ignoreIllegals:!0,language:l});if(_.errorRaised)throw new Error("Could not highlight with `Highlight.js`",{cause:_.errorRaised});const m=_._emitter.root,f=m.data;return f.language=_.language,f.relevance=_.relevance,m}function r(l,c){const d=(c||L_).subset||i();let p=-1,_=0,m;for(;++p_&&(_=g.data.relevance,m=g)}return m||{type:"root",children:[],data:{language:void 0,relevance:_}}}function i(){return e.listLanguages()}function o(l,c){if(typeof l=="string")e.registerLanguage(l,c);else{let u;for(u in l)Object.hasOwn(l,u)&&e.registerLanguage(u,l[u])}}function a(l,c){if(typeof l=="string")e.registerAliases(typeof c=="string"?c:[...c],{languageName:l});else{let u;for(u in l)if(Object.hasOwn(l,u)){const d=l[u];e.registerAliases(typeof d=="string"?d:[...d],{languageName:u})}}}function s(l){return!!e.getLanguage(l)}}class p2{constructor(e){this.options=e,this.root={type:"root",children:[],data:{language:void 0,relevance:0}},this.stack=[this.root]}addText(e){if(e==="")return;const n=this.stack[this.stack.length-1],r=n.children[n.children.length-1];r&&r.type==="text"?r.value+=e:n.children.push({type:"text",value:e})}startScope(e){this.openNode(String(e))}endScope(){this.closeNode()}__addSublanguage(e,n){const r=this.stack[this.stack.length-1],i=e.root.children;n?r.children.push({type:"element",tagName:"span",properties:{className:[n]},children:i}):r.children.push(...i)}openNode(e){const n=this,r=e.split(".").map(function(a,s){return s?a+"_".repeat(s):n.options.classPrefix+a}),i=this.stack[this.stack.length-1],o={type:"element",tagName:"span",properties:{className:r},children:[]};i.children.push(o),this.stack.push(o)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return""}}const _2=/!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\)/,k_=new ve("aie-video-plugin"),Oi="video_action",m2=Ne.create({name:"video",group:"block",addAttributes(){return{src:{default:null,parseHTML:t=>{const e=t.getAttribute("src");if(e)return e;const n=t.querySelector("source");return n?n.getAttribute("src"):null},renderHTML:t=>({src:t.src})},poster:{default:null,parseHTML:t=>t.getAttribute("poster"),renderHTML:t=>({poster:t.poster})},width:{default:350,parseHTML:t=>`${t.getAttribute("width")??""}`},controls:{default:!0,parseHTML:t=>`${t.getAttribute("controls")??"true"}`}}},parseHTML(){return[{tag:"video",getAttrs:t=>({src:t.getAttribute("src"),poster:t.getAttribute("poster")})}]},renderHTML({HTMLAttributes:t}){return["video",{controls:"true",...t,src:null},["source",{src:t.src}]]},addCommands(){return{setVideo:t=>({commands:e})=>e.insertContent(`",D_=t=>!!t.scope,Rw=(t,{prefix:e})=>{if(t.startsWith("language:"))return t.replace("language:","language-");if(t.includes(".")){const n=t.split(".");return[`${e}${n.shift()}`,...n.map((r,i)=>`${r}${"_".repeat(i+1)}`)].join(" ")}return`${e}${t}`};class Ow{constructor(e,n){this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){this.buffer+=vg(e)}openNode(e){if(!D_(e))return;const n=Rw(e.scope,{prefix:this.classPrefix});this.span(n)}closeNode(e){D_(e)&&(this.buffer+=vw)}value(){return this.buffer}span(e){this.buffer+=``}}const M_=(t={})=>{const e={children:[]};return Object.assign(e,t),e};class Eu{constructor(){this.rootNode=M_(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const n=M_({scope:e});this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,n){return typeof n=="string"?e.addText(n):n.children&&(e.openNode(n),n.children.forEach(r=>this._walk(e,r)),e.closeNode(n)),e}static _collapse(e){typeof e!="string"&&e.children&&(e.children.every(n=>typeof n=="string")?e.children=[e.children.join("")]:e.children.forEach(n=>{Eu._collapse(n)}))}}class Nw extends Eu{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,n){const r=e.root;n&&(r.scope=`language:${n}`),this.add(r)}toHTML(){return new Ow(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function ao(t){return t?typeof t=="string"?t:t.source:null}function Rg(t){return vr("(?=",t,")")}function Aw(t){return vr("(?:",t,")*")}function Iw(t){return vr("(?:",t,")?")}function vr(...t){return t.map(n=>ao(n)).join("")}function xw(t){const e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function Su(...t){return"("+(xw(t).capture?"":"?:")+t.map(r=>ao(r)).join("|")+")"}function Og(t){return new RegExp(t.toString()+"|").exec("").length-1}function Dw(t,e){const n=t&&t.exec(e);return n&&n.index===0}const Mw=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function bu(t,{joinWith:e}){let n=0;return t.map(r=>{n+=1;const i=n;let o=ao(r),a="";for(;o.length>0;){const s=Mw.exec(o);if(!s){a+=o;break}a+=o.substring(0,s.index),o=o.substring(s.index+s[0].length),s[0][0]==="\\"&&s[1]?a+="\\"+String(Number(s[1])+i):(a+=s[0],s[0]==="("&&n++)}return a}).map(r=>`(${r})`).join(e)}const ww=/\b\B/,Ng="[a-zA-Z]\\w*",Tu="[a-zA-Z_]\\w*",Ag="\\b\\d+(\\.\\d+)?",Ig="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",xg="\\b(0b[01]+)",Lw="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",kw=(t={})=>{const e=/^#![ ]*\//;return t.binary&&(t.begin=vr(e,/.*\b/,t.binary,/\b.*/)),Pn({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(n,r)=>{n.index!==0&&r.ignoreMatch()}},t)},so={begin:"\\\\[\\s\\S]",relevance:0},Pw={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[so]},Fw={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[so]},Bw={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},Rs=function(t,e,n={}){const r=Pn({scope:"comment",begin:t,end:e,contains:[]},n);r.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const i=Su("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:vr(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},Uw=Rs("//","$"),Hw=Rs("/\\*","\\*/"),Gw=Rs("#","$"),Vw={scope:"number",begin:Ag,relevance:0},Yw={scope:"number",begin:Ig,relevance:0},zw={scope:"number",begin:xg,relevance:0},$w={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[so,{begin:/\[/,end:/\]/,relevance:0,contains:[so]}]},qw={scope:"title",begin:Ng,relevance:0},Ww={scope:"title",begin:Tu,relevance:0},Kw={begin:"\\.\\s*"+Tu,relevance:0},Qw=function(t){return Object.assign(t,{"on:begin":(e,n)=>{n.data._beginMatch=e[1]},"on:end":(e,n)=>{n.data._beginMatch!==e[1]&&n.ignoreMatch()}})};var Zo=Object.freeze({__proto__:null,APOS_STRING_MODE:Pw,BACKSLASH_ESCAPE:so,BINARY_NUMBER_MODE:zw,BINARY_NUMBER_RE:xg,COMMENT:Rs,C_BLOCK_COMMENT_MODE:Hw,C_LINE_COMMENT_MODE:Uw,C_NUMBER_MODE:Yw,C_NUMBER_RE:Ig,END_SAME_AS_BEGIN:Qw,HASH_COMMENT_MODE:Gw,IDENT_RE:Ng,MATCH_NOTHING_RE:ww,METHOD_GUARD:Kw,NUMBER_MODE:Vw,NUMBER_RE:Ag,PHRASAL_WORDS_MODE:Bw,QUOTE_STRING_MODE:Fw,REGEXP_MODE:$w,RE_STARTERS_RE:Lw,SHEBANG:kw,TITLE_MODE:qw,UNDERSCORE_IDENT_RE:Tu,UNDERSCORE_TITLE_MODE:Ww});function Zw(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function Xw(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function jw(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=Zw,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function Jw(t,e){Array.isArray(t.illegal)&&(t.illegal=Su(...t.illegal))}function e2(t,e){if(t.match){if(t.begin||t.end)throw new Error("begin & end are not supported with match");t.begin=t.match,delete t.match}}function t2(t,e){t.relevance===void 0&&(t.relevance=1)}const n2=(t,e)=>{if(!t.beforeMatch)return;if(t.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},t);Object.keys(t).forEach(r=>{delete t[r]}),t.keywords=n.keywords,t.begin=vr(n.beforeMatch,Rg(n.begin)),t.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},t.relevance=0,delete n.beforeMatch},r2=["of","and","for","in","not","or","if","then","parent","list","value"],i2="keyword";function Dg(t,e,n=i2){const r=Object.create(null);return typeof t=="string"?i(n,t.split(" ")):Array.isArray(t)?i(n,t):Object.keys(t).forEach(function(o){Object.assign(r,Dg(t[o],e,o))}),r;function i(o,a){e&&(a=a.map(s=>s.toLowerCase())),a.forEach(function(s){const l=s.split("|");r[l[0]]=[o,o2(l[0],l[1])]})}}function o2(t,e){return e?Number(e):a2(t)?0:1}function a2(t){return r2.includes(t.toLowerCase())}const w_={},_r=t=>{console.error(t)},L_=(t,...e)=>{console.log(`WARN: ${t}`,...e)},Lr=(t,e)=>{w_[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),w_[`${t}/${e}`]=!0)},Ka=new Error;function Mg(t,e,{key:n}){let r=0;const i=t[n],o={},a={};for(let s=1;s<=e.length;s++)a[s+r]=i[s],o[s+r]=!0,r+=Og(e[s-1]);t[n]=a,t[n]._emit=o,t[n]._multi=!0}function s2(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw _r("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Ka;if(typeof t.beginScope!="object"||t.beginScope===null)throw _r("beginScope must be object"),Ka;Mg(t,t.begin,{key:"beginScope"}),t.begin=bu(t.begin,{joinWith:""})}}function l2(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw _r("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Ka;if(typeof t.endScope!="object"||t.endScope===null)throw _r("endScope must be object"),Ka;Mg(t,t.end,{key:"endScope"}),t.end=bu(t.end,{joinWith:""})}}function c2(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function u2(t){c2(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),s2(t),l2(t)}function d2(t){function e(a,s){return new RegExp(ao(a),"m"+(t.case_insensitive?"i":"")+(t.unicodeRegex?"u":"")+(s?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(s,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,s]),this.matchAt+=Og(s)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const s=this.regexes.map(l=>l[1]);this.matcherRe=e(bu(s,{joinWith:"|"}),!0),this.lastIndex=0}exec(s){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(s);if(!l)return null;const c=l.findIndex((d,p)=>p>0&&d!==void 0),u=this.matchIndexes[c];return l.splice(0,c),Object.assign(l,u)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(s){if(this.multiRegexes[s])return this.multiRegexes[s];const l=new n;return this.rules.slice(s).forEach(([c,u])=>l.addRule(c,u)),l.compile(),this.multiRegexes[s]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(s,l){this.rules.push([s,l]),l.type==="begin"&&this.count++}exec(s){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let c=l.exec(s);if(this.resumingScanAtSamePosition()&&!(c&&c.index===this.lastIndex)){const u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,c=u.exec(s)}return c&&(this.regexIndex+=c.position+1,this.regexIndex===this.count&&this.considerAll()),c}}function i(a){const s=new r;return a.contains.forEach(l=>s.addRule(l.begin,{rule:l,type:"begin"})),a.terminatorEnd&&s.addRule(a.terminatorEnd,{type:"end"}),a.illegal&&s.addRule(a.illegal,{type:"illegal"}),s}function o(a,s){const l=a;if(a.isCompiled)return l;[Xw,e2,u2,n2].forEach(u=>u(a,s)),t.compilerExtensions.forEach(u=>u(a,s)),a.__beforeBegin=null,[jw,Jw,t2].forEach(u=>u(a,s)),a.isCompiled=!0;let c=null;return typeof a.keywords=="object"&&a.keywords.$pattern&&(a.keywords=Object.assign({},a.keywords),c=a.keywords.$pattern,delete a.keywords.$pattern),c=c||/\w+/,a.keywords&&(a.keywords=Dg(a.keywords,t.case_insensitive)),l.keywordPatternRe=e(c,!0),s&&(a.begin||(a.begin=/\B|\b/),l.beginRe=e(l.begin),!a.end&&!a.endsWithParent&&(a.end=/\B|\b/),a.end&&(l.endRe=e(l.end)),l.terminatorEnd=ao(l.end)||"",a.endsWithParent&&s.terminatorEnd&&(l.terminatorEnd+=(a.end?"|":"")+s.terminatorEnd)),a.illegal&&(l.illegalRe=e(a.illegal)),a.contains||(a.contains=[]),a.contains=[].concat(...a.contains.map(function(u){return p2(u==="self"?a:u)})),a.contains.forEach(function(u){o(u,l)}),a.starts&&o(a.starts,s),l.matcher=i(l),l}if(t.compilerExtensions||(t.compilerExtensions=[]),t.contains&&t.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return t.classNameAliases=Pn(t.classNameAliases||{}),o(t)}function wg(t){return t?t.endsWithParent||wg(t.starts):!1}function p2(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return Pn(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:wg(t)?Pn(t,{starts:t.starts?Pn(t.starts):null}):Object.isFrozen(t)?Pn(t):t}var _2="11.9.0";class m2 extends Error{constructor(e,n){super(e),this.name="HTMLInjectionError",this.html=n}}const bl=vg,k_=Pn,P_=Symbol("nomatch"),f2=7,Lg=function(t){const e=Object.create(null),n=Object.create(null),r=[];let i=!0;const o="Could not find the language '{}', did you forget to load/include a language module?",a={disableAutodetect:!0,name:"Plain text",contains:[]};let s={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:Nw};function l(y){return s.noHighlightRe.test(y)}function c(y){let v=y.className+" ";v+=y.parentNode?y.parentNode.className:"";const A=s.languageDetectRe.exec(v);if(A){const k=O(A[1]);return k||(L_(o.replace("{}",A[1])),L_("Falling back to no-highlight mode for this block.",y)),k?A[1]:"no-highlight"}return v.split(/\s+/).find(k=>l(k)||O(k))}function u(y,v,A){let k="",G="";typeof v=="object"?(k=y,A=v.ignoreIllegals,G=v.language):(Lr("10.7.0","highlight(lang, code, ...args) has been deprecated."),Lr("10.7.0",`Please use highlight(code, options) instead. +https://github.com/highlightjs/highlight.js/issues/2277`),G=y,k=v),A===void 0&&(A=!0);const z={code:k,language:G};V("before:highlight",z);const ae=z.result?z.result:d(z.language,z.code,A);return ae.code=z.code,V("after:highlight",ae),ae}function d(y,v,A,k){const G=Object.create(null);function z(N,D){return N.keywords[D]}function ae(){if(!P.keywords){oe.addText(X);return}let N=0;P.keywordPatternRe.lastIndex=0;let D=P.keywordPatternRe.exec(X),U="";for(;D;){U+=X.substring(N,D.index);const K=ge.case_insensitive?D[0].toLowerCase():D[0],_e=z(P,K);if(_e){const[De,Rr]=_e;if(oe.addText(U),U="",G[K]=(G[K]||0)+1,G[K]<=f2&&(He+=Rr),De.startsWith("_"))U+=D[0];else{const I=ge.classNameAliases[De]||De;ue(D[0],I)}}else U+=D[0];N=P.keywordPatternRe.lastIndex,D=P.keywordPatternRe.exec(X)}U+=X.substring(N),oe.addText(U)}function Ce(){if(X==="")return;let N=null;if(typeof P.subLanguage=="string"){if(!e[P.subLanguage]){oe.addText(X);return}N=d(P.subLanguage,X,!0,et[P.subLanguage]),et[P.subLanguage]=N._top}else N=_(X,P.subLanguage.length?P.subLanguage:null);P.relevance>0&&(He+=N.relevance),oe.__addSublanguage(N._emitter,N.language)}function ie(){P.subLanguage!=null?Ce():ae(),X=""}function ue(N,D){N!==""&&(oe.startScope(D),oe.addText(N),oe.endScope())}function Be(N,D){let U=1;const K=D.length-1;for(;U<=K;){if(!N._emit[U]){U++;continue}const _e=ge.classNameAliases[N[U]]||N[U],De=D[U];_e?ue(De,_e):(X=De,ae(),X=""),U++}}function Le(N,D){return N.scope&&typeof N.scope=="string"&&oe.openNode(ge.classNameAliases[N.scope]||N.scope),N.beginScope&&(N.beginScope._wrap?(ue(X,ge.classNameAliases[N.beginScope._wrap]||N.beginScope._wrap),X=""):N.beginScope._multi&&(Be(N.beginScope,D),X="")),P=Object.create(N,{parent:{value:P}}),P}function We(N,D,U){let K=Dw(N.endRe,U);if(K){if(N["on:end"]){const _e=new x_(N);N["on:end"](D,_e),_e.isMatchIgnored&&(K=!1)}if(K){for(;N.endsParent&&N.parent;)N=N.parent;return N}}if(N.endsWithParent)return We(N.parent,D,U)}function Ke(N){return P.matcher.regexIndex===0?(X+=N[0],1):(bt=!0,0)}function gt(N){const D=N[0],U=N.rule,K=new x_(U),_e=[U.__beforeBegin,U["on:begin"]];for(const De of _e)if(De&&(De(N,K),K.isMatchIgnored))return Ke(D);return U.skip?X+=D:(U.excludeBegin&&(X+=D),ie(),!U.returnBegin&&!U.excludeBegin&&(X=D)),Le(U,N),U.returnBegin?0:D.length}function Ft(N){const D=N[0],U=v.substring(N.index),K=We(P,N,U);if(!K)return P_;const _e=P;P.endScope&&P.endScope._wrap?(ie(),ue(D,P.endScope._wrap)):P.endScope&&P.endScope._multi?(ie(),Be(P.endScope,N)):_e.skip?X+=D:(_e.returnEnd||_e.excludeEnd||(X+=D),ie(),_e.excludeEnd&&(X=D));do P.scope&&oe.closeNode(),!P.skip&&!P.subLanguage&&(He+=P.relevance),P=P.parent;while(P!==K.parent);return K.starts&&Le(K.starts,N),_e.returnEnd?0:D.length}function de(){const N=[];for(let D=P;D!==ge;D=D.parent)D.scope&&N.unshift(D.scope);N.forEach(D=>oe.openNode(D))}let Pe={};function Qe(N,D){const U=D&&D[0];if(X+=N,U==null)return ie(),0;if(Pe.type==="begin"&&D.type==="end"&&Pe.index===D.index&&U===""){if(X+=v.slice(D.index,D.index+1),!i){const K=new Error(`0 width match regex (${y})`);throw K.languageName=y,K.badRule=Pe.rule,K}return 1}if(Pe=D,D.type==="begin")return gt(D);if(D.type==="illegal"&&!A){const K=new Error('Illegal lexeme "'+U+'" for mode "'+(P.scope||"")+'"');throw K.mode=P,K}else if(D.type==="end"){const K=Ft(D);if(K!==P_)return K}if(D.type==="illegal"&&U==="")return 1;if(St>1e5&&St>D.index*3)throw new Error("potential infinite loop, way more iterations than matches");return X+=U,U.length}const ge=O(y);if(!ge)throw _r(o.replace("{}",y)),new Error('Unknown language: "'+y+'"');const zt=d2(ge);let Et="",P=k||zt;const et={},oe=new s.__emitter(s);de();let X="",He=0,xe=0,St=0,bt=!1;try{if(ge.__emitTokens)ge.__emitTokens(v,oe);else{for(P.matcher.considerAll();;){St++,bt?bt=!1:P.matcher.considerAll(),P.matcher.lastIndex=xe;const N=P.matcher.exec(v);if(!N)break;const D=v.substring(xe,N.index),U=Qe(D,N);xe=N.index+U}Qe(v.substring(xe))}return oe.finalize(),Et=oe.toHTML(),{language:y,value:Et,relevance:He,illegal:!1,_emitter:oe,_top:P}}catch(N){if(N.message&&N.message.includes("Illegal"))return{language:y,value:bl(v),illegal:!0,relevance:0,_illegalBy:{message:N.message,index:xe,context:v.slice(xe-100,xe+100),mode:N.mode,resultSoFar:Et},_emitter:oe};if(i)return{language:y,value:bl(v),illegal:!1,relevance:0,errorRaised:N,_emitter:oe,_top:P};throw N}}function p(y){const v={value:bl(y),illegal:!1,relevance:0,_top:a,_emitter:new s.__emitter(s)};return v._emitter.addText(y),v}function _(y,v){v=v||s.languages||Object.keys(e);const A=p(y),k=v.filter(O).filter(B).map(ie=>d(ie,y,!1));k.unshift(A);const G=k.sort((ie,ue)=>{if(ie.relevance!==ue.relevance)return ue.relevance-ie.relevance;if(ie.language&&ue.language){if(O(ie.language).supersetOf===ue.language)return 1;if(O(ue.language).supersetOf===ie.language)return-1}return 0}),[z,ae]=G,Ce=z;return Ce.secondBest=ae,Ce}function m(y,v,A){const k=v&&n[v]||A;y.classList.add("hljs"),y.classList.add(`language-${k}`)}function f(y){let v=null;const A=c(y);if(l(A))return;if(V("before:highlightElement",{el:y,language:A}),y.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",y);return}if(y.children.length>0&&(s.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(y)),s.throwUnescapedHTML))throw new m2("One of your code blocks includes unescaped HTML.",y.innerHTML);v=y;const k=v.textContent,G=A?u(k,{language:A,ignoreIllegals:!0}):_(k);y.innerHTML=G.value,y.dataset.highlighted="yes",m(y,A,G.language),y.result={language:G.language,re:G.relevance,relevance:G.relevance},G.secondBest&&(y.secondBest={language:G.secondBest.language,relevance:G.secondBest.relevance}),V("after:highlightElement",{el:y,result:G,text:k})}function h(y){s=k_(s,y)}const E=()=>{g(),Lr("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function S(){g(),Lr("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let b=!1;function g(){if(document.readyState==="loading"){b=!0;return}document.querySelectorAll(s.cssSelector).forEach(f)}function C(){b&&g()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",C,!1);function T(y,v){let A=null;try{A=v(t)}catch(k){if(_r("Language definition for '{}' could not be registered.".replace("{}",y)),i)_r(k);else throw k;A=a}A.name||(A.name=y),e[y]=A,A.rawDefinition=v.bind(null,t),A.aliases&&M(A.aliases,{languageName:y})}function R(y){delete e[y];for(const v of Object.keys(n))n[v]===y&&delete n[v]}function x(){return Object.keys(e)}function O(y){return y=(y||"").toLowerCase(),e[y]||e[n[y]]}function M(y,{languageName:v}){typeof y=="string"&&(y=[y]),y.forEach(A=>{n[A.toLowerCase()]=v})}function B(y){const v=O(y);return v&&!v.disableAutodetect}function Y(y){y["before:highlightBlock"]&&!y["before:highlightElement"]&&(y["before:highlightElement"]=v=>{y["before:highlightBlock"](Object.assign({block:v.el},v))}),y["after:highlightBlock"]&&!y["after:highlightElement"]&&(y["after:highlightElement"]=v=>{y["after:highlightBlock"](Object.assign({block:v.el},v))})}function $(y){Y(y),r.push(y)}function q(y){const v=r.indexOf(y);v!==-1&&r.splice(v,1)}function V(y,v){const A=y;r.forEach(function(k){k[A]&&k[A](v)})}function J(y){return Lr("10.7.0","highlightBlock will be removed entirely in v12.0"),Lr("10.7.0","Please use highlightElement now."),f(y)}Object.assign(t,{highlight:u,highlightAuto:_,highlightAll:g,highlightElement:f,highlightBlock:J,configure:h,initHighlighting:E,initHighlightingOnLoad:S,registerLanguage:T,unregisterLanguage:R,listLanguages:x,getLanguage:O,registerAliases:M,autoDetection:B,inherit:k_,addPlugin:$,removePlugin:q}),t.debugMode=function(){i=!1},t.safeMode=function(){i=!0},t.versionString=_2,t.regex={concat:vr,lookahead:Rg,either:Su,optional:Iw,anyNumberOfTimes:Aw};for(const y in Zo)typeof Zo[y]=="object"&&yg(Zo[y]);return Object.assign(t,Zo),t},ui=Lg({});ui.newInstance=()=>Lg({});var h2=ui;ui.HighlightJS=ui;ui.default=ui;const g2=nu(h2),F_={},E2="hljs-";function S2(t){const e=g2.newInstance();return t&&o(t),{highlight:n,highlightAuto:r,listLanguages:i,register:o,registerAlias:a,registered:s};function n(l,c,u){const d=u||F_,p=typeof d.prefix=="string"?d.prefix:E2;if(!e.getLanguage(l))throw new Error("Unknown language: `"+l+"` is not registered");e.configure({__emitter:b2,classPrefix:p});const _=e.highlight(c,{ignoreIllegals:!0,language:l});if(_.errorRaised)throw new Error("Could not highlight with `Highlight.js`",{cause:_.errorRaised});const m=_._emitter.root,f=m.data;return f.language=_.language,f.relevance=_.relevance,m}function r(l,c){const d=(c||F_).subset||i();let p=-1,_=0,m;for(;++p_&&(_=h.data.relevance,m=h)}return m||{type:"root",children:[],data:{language:void 0,relevance:_}}}function i(){return e.listLanguages()}function o(l,c){if(typeof l=="string")e.registerLanguage(l,c);else{let u;for(u in l)Object.hasOwn(l,u)&&e.registerLanguage(u,l[u])}}function a(l,c){if(typeof l=="string")e.registerAliases(typeof c=="string"?c:[...c],{languageName:l});else{let u;for(u in l)if(Object.hasOwn(l,u)){const d=l[u];e.registerAliases(typeof d=="string"?d:[...d],{languageName:u})}}}function s(l){return!!e.getLanguage(l)}}class b2{constructor(e){this.options=e,this.root={type:"root",children:[],data:{language:void 0,relevance:0}},this.stack=[this.root]}addText(e){if(e==="")return;const n=this.stack[this.stack.length-1],r=n.children[n.children.length-1];r&&r.type==="text"?r.value+=e:n.children.push({type:"text",value:e})}startScope(e){this.openNode(String(e))}endScope(){this.closeNode()}__addSublanguage(e,n){const r=this.stack[this.stack.length-1],i=e.root.children;n?r.children.push({type:"element",tagName:"span",properties:{className:[n]},children:i}):r.children.push(...i)}openNode(e){const n=this,r=e.split(".").map(function(a,s){return s?a+"_".repeat(s):n.options.classPrefix+a}),i=this.stack[this.stack.length-1],o={type:"element",tagName:"span",properties:{className:r},children:[]};i.children.push(o),this.stack.push(o)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return""}}const T2=/!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\)/,B_=new ve("aie-video-plugin"),Ni="video_action",C2=Ne.create({name:"video",group:"block",addAttributes(){return{src:{default:null,parseHTML:t=>{const e=t.getAttribute("src");if(e)return e;const n=t.querySelector("source");return n?n.getAttribute("src"):null},renderHTML:t=>({src:t.src})},poster:{default:null,parseHTML:t=>t.getAttribute("poster"),renderHTML:t=>({poster:t.poster})},width:{default:350,parseHTML:t=>`${t.getAttribute("width")??""}`},controls:{default:!0,parseHTML:t=>`${t.getAttribute("controls")??"true"}`}}},parseHTML(){return[{tag:"video",getAttrs:t=>({src:t.getAttribute("src"),poster:t.getAttribute("poster")})}]},renderHTML({HTMLAttributes:t}){return["video",{controls:"true",...t,src:null},["source",{src:t.src}]]},addCommands(){return{setVideo:t=>({commands:e})=>e.insertContent(`
- `,n.querySelector("#replace").addEventListener("click",()=>{var i,o,a;const r=n.querySelector("textarea");r.value&&((i=t.editor)==null||i.insertMarkdown(r.value),(o=t.aiPanelInstance)==null||o.hide(),(a=t.tippyInstance)==null||a.show())}),n.querySelector("#insert").addEventListener("click",()=>{var i,o,a,s;const r=n.querySelector("textarea");if(r.value){const{state:{selection:l,doc:c}}=t.editor;(i=t.editor)==null||i.commands.setTextSelection(Z.create(c,l.to)),(o=t.editor)==null||o.insertMarkdown(r.value),(a=t.aiPanelInstance)==null||a.hide(),l.from!=l.to&&((s=t.tippyInstance)==null||s.show())}}),n.querySelector("#hide").addEventListener("click",()=>{var i,o;(i=t.aiPanelInstance)==null||i.hide();const{state:{selection:r}}=t.editor;r.from!=r.to&&((o=t.tippyInstance)==null||o.show())}),n.querySelector("#go").addEventListener("click",()=>{const r=n.querySelector("#prompt").value;P_(t,n,r)}),n.querySelectorAll(".aie-ai-panel-actions p").forEach(r=>{const i=r.getAttribute("data-prompt");r.addEventListener("click",()=>{P_(t,n,i)})}),n.addEventListener("click",r=>{var i,o;r.target===n&&((i=t.aiPanelInstance)==null||i.hide(),(o=t.tippyInstance)==null||o.show())}),n},w2={id:"ai",title:"ai",icon:`
+ `,n.querySelector("#replace").addEventListener("click",()=>{var i,o,a;const r=n.querySelector("textarea");r.value&&((i=t.editor)==null||i.insertMarkdown(r.value),(o=t.aiPanelInstance)==null||o.hide(),(a=t.tippyInstance)==null||a.show())}),n.querySelector("#insert").addEventListener("click",()=>{var i,o,a,s;const r=n.querySelector("textarea");if(r.value){const{state:{selection:l,doc:c}}=t.editor;(i=t.editor)==null||i.commands.setTextSelection(Z.create(c,l.to)),(o=t.editor)==null||o.insertMarkdown(r.value),(a=t.aiPanelInstance)==null||a.hide(),l.from!=l.to&&((s=t.tippyInstance)==null||s.show())}}),n.querySelector("#hide").addEventListener("click",()=>{var i,o;(i=t.aiPanelInstance)==null||i.hide();const{state:{selection:r}}=t.editor;r.from!=r.to&&((o=t.tippyInstance)==null||o.show())}),n.querySelector("#go").addEventListener("click",()=>{const r=n.querySelector("#prompt").value;U_(t,n,r)}),n.querySelectorAll(".aie-ai-panel-actions p").forEach(r=>{const i=r.getAttribute("data-prompt");r.addEventListener("click",()=>{U_(t,n,i)})}),n.addEventListener("click",r=>{var i,o;r.target===n&&((i=t.aiPanelInstance)==null||i.hide(),(o=t.tippyInstance)==null||o.show())}),n},G2={id:"ai",title:"ai",icon:`
@@ -468,8 +468,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`),G=y,k=v),A===void 0&&(
- `,onInit:({innerEditor:t},e,n)=>{var o;const r={editor:t,tippyInstance:e},i=((o=t.aiEditor.options.ai)==null?void 0:o.bubblePanelMenus)||D2;return r.aiPanelInstance=we(n.querySelector("#ai"),{content:M2(r,i),appendTo:t.view.dom.closest(".aie-container"),trigger:"click",interactive:!0,arrow:!1,placement:"bottom",getReferenceClientRect:()=>Mh(t),onShow:a=>{window.setTimeout(()=>{var s;return(s=a.popper.querySelector("#prompt"))==null?void 0:s.focus()},0)}}),r},onClick:(t,e,n,r)=>{var i;(i=r.tippyInstance)==null||i.hide()}},L2={id:"bold",title:"bold",icon:'',onClick:({innerEditor:t})=>{t.chain().toggleBold().run()}},k2={id:"underline",title:"underline",icon:'',onClick:({innerEditor:t})=>{t.chain().toggleUnderline().run()}},P2={id:"code",title:"code",icon:'',onClick:({innerEditor:t})=>{t.chain().toggleCode().run()}},F2={id:"strike",title:"strike",icon:'',onClick:({innerEditor:t})=>{t.chain().toggleStrike().run()}},B2={id:"italic",title:"italic",icon:' ',onClick:({innerEditor:t})=>{t.chain().toggleItalic().run()}},U2=[{title:"英语"},{title:"中文"},{title:"日语"},{title:"法语"},{title:"德语"},{title:"葡萄牙语"},{title:"西班牙语"}],H2=(t,e,n)=>{var r,i,o,a;if(t.aiClient)t.aiClient.stop();else{const{selection:s,doc:l}=t.editor.state,c=l.textBetween(s.from,s.to);let u=((a=(o=(i=(r=t.editor)==null?void 0:r.aiEditor.options.ai)==null?void 0:i.translate)==null?void 0:o.prompt)==null?void 0:a.call(o,e,c))||`你是一个${e}翻译专家,精通多个国家的语言,请帮我把以下 标签里内容翻译为: ${e},并返回翻译后结果。您需要翻译的内容是: -${c}`;const d=En.get("auto");if(d){const p=new Dh(30,n);d.chat("",u,{onStart(_){t.aiClient=_},onStop(){t.aiClient=void 0,p.finished()},onMessage(_){p.appendText(_.content)}})}else console.error("AI model name config error.")}},G2=t=>{const e=document.createElement("div");return e.classList.add("aie-translate-result-panel"),e.innerHTML=` + `,onInit:({innerEditor:t},e,n)=>{var o;const r={editor:t,tippyInstance:e},i=((o=t.aiEditor.options.ai)==null?void 0:o.bubblePanelMenus)||U2;return r.aiPanelInstance=we(n.querySelector("#ai"),{content:H2(r,i),appendTo:t.view.dom.closest(".aie-container"),trigger:"click",interactive:!0,arrow:!1,placement:"bottom",getReferenceClientRect:()=>Pg(t),onShow:a=>{window.setTimeout(()=>{var s;return(s=a.popper.querySelector("#prompt"))==null?void 0:s.focus()},0)}}),r},onClick:(t,e,n,r)=>{var i;(i=r.tippyInstance)==null||i.hide()}},V2={id:"bold",title:"bold",icon:'',onClick:({innerEditor:t})=>{t.chain().toggleBold().run()}},Y2={id:"underline",title:"underline",icon:'',onClick:({innerEditor:t})=>{t.chain().toggleUnderline().run()}},z2={id:"code",title:"code",icon:'',onClick:({innerEditor:t})=>{t.chain().toggleCode().run()}},$2={id:"strike",title:"strike",icon:'',onClick:({innerEditor:t})=>{t.chain().toggleStrike().run()}},q2={id:"italic",title:"italic",icon:' ',onClick:({innerEditor:t})=>{t.chain().toggleItalic().run()}},W2=[{title:"英语"},{title:"中文"},{title:"日语"},{title:"法语"},{title:"德语"},{title:"葡萄牙语"},{title:"西班牙语"}],K2=(t,e,n)=>{var r,i,o,a;if(t.aiClient)t.aiClient.stop();else{const{selection:s,doc:l}=t.editor.state,c=l.textBetween(s.from,s.to);let u=((a=(o=(i=(r=t.editor)==null?void 0:r.aiEditor.options.ai)==null?void 0:i.translate)==null?void 0:o.prompt)==null?void 0:a.call(o,e,c))||`你是一个${e}翻译专家,精通多个国家的语言,请帮我把以下 标签里内容翻译为: ${e},并返回翻译后结果。您需要翻译的内容是: +${c}`;const d=En.get("auto");if(d){const p=new kg(30,n);d.chat("",u,{onStart(_){t.aiClient=_},onStop(){t.aiClient=void 0,p.finished()},onMessage(_){p.appendText(_.content)}})}else console.error("AI model name config error.")}},Q2=t=>{const e=document.createElement("div");return e.classList.add("aie-translate-result-panel"),e.innerHTML=`
- `,e.querySelector("#cancel").addEventListener("click",()=>{var n,r;(n=t.translateResultInstance)==null||n.hide(),(r=t.tippyInstance)==null||r.show()}),e.querySelector("#append").addEventListener("click",()=>{var i,o,a;(i=t.translateResultInstance)==null||i.hide();const{state:{selection:n,doc:r}}=t.editor;(o=t.editor)==null||o.commands.setTextSelection(Z.create(r,n.to)),(a=t.editor)==null||a.insertMarkdown(e.querySelector("textarea").value)}),e.querySelector("#replace").addEventListener("click",()=>{var n,r;(n=t.translateResultInstance)==null||n.hide(),(r=t.editor)==null||r.insertMarkdown(e.querySelector("textarea").value)}),e},V2=(t,e)=>{const n=document.createElement("div");n.classList.add("aie-translate-panel"),n.innerHTML=` + `,e.querySelector("#cancel").addEventListener("click",()=>{var n,r;(n=t.translateResultInstance)==null||n.hide(),(r=t.tippyInstance)==null||r.show()}),e.querySelector("#append").addEventListener("click",()=>{var i,o,a;(i=t.translateResultInstance)==null||i.hide();const{state:{selection:n,doc:r}}=t.editor;(o=t.editor)==null||o.commands.setTextSelection(Z.create(r,n.to)),(a=t.editor)==null||a.insertMarkdown(e.querySelector("textarea").value)}),e.querySelector("#replace").addEventListener("click",()=>{var n,r;(n=t.translateResultInstance)==null||n.hide(),(r=t.editor)==null||r.insertMarkdown(e.querySelector("textarea").value)}),e},Z2=(t,e)=>{const n=document.createElement("div");n.classList.add("aie-translate-panel"),n.innerHTML=`
${e.map(i=>typeof i=="string"?`

${ce(i)}

`:`

${ce(i.title)}

`).join("")}
- `;const r=t.editor.view.dom.closest(".aie-container");return t.translateResultInstance=we(n,{content:G2(t),appendTo:r,placement:"bottom",interactive:!0,trigger:"click",arrow:!1,getReferenceClientRect(){return r.getBoundingClientRect()},offset:[0,-r.getBoundingClientRect().height+100],onTrigger:(i,o)=>{var l;const a=o.target&&o.target.getAttribute("data-lang");if(!a){i.disable();return}const s=i.popper.querySelector("textarea");s.value="",(l=t.translatePanelInstance)==null||l.hide(),H2(t,a,s)},onUntrigger:i=>{i.enable()}}),n},Y2={id:"translate",title:"translate",icon:`
+ `;const r=t.editor.view.dom.closest(".aie-container");return t.translateResultInstance=we(n,{content:Q2(t),appendTo:r,placement:"bottom",interactive:!0,trigger:"click",arrow:!1,getReferenceClientRect(){return r.getBoundingClientRect()},offset:[0,-r.getBoundingClientRect().height+100],onTrigger:(i,o)=>{var l;const a=o.target&&o.target.getAttribute("data-lang");if(!a){i.disable();return}const s=i.popper.querySelector("textarea");s.value="",(l=t.translatePanelInstance)==null||l.hide(),K2(t,a,s)},onUntrigger:i=>{i.enable()}}),n},X2={id:"translate",title:"translate",icon:`
@@ -491,11 +491,11 @@ ${ce("ai-append")}
- `,onInit:({innerEditor:t},e,n)=>{var o,a;const r={editor:t,tippyInstance:e},i=((a=(o=t.aiEditor.options.ai)==null?void 0:o.translate)==null?void 0:a.translateMenuItems)||U2;return r.translatePanelInstance=we(n.querySelector("#translate"),{content:V2(r,i),appendTo:t.view.dom.closest(".aie-container"),placement:"bottom",trigger:"click",interactive:!0,arrow:!1}),r}},z2=new Su([w2,L2,B2,k2,F2,Y2,P2]),$2=(t,e)=>{if(!t||t.length===0)return t;let n=0;for(;ns.id==="ai");else if((o=n.ai)!=null&&o.bubblePanelIcon){for(let s of this.items)if(s.id==="ai"){s.icon=(a=n.ai)==null?void 0:a.bubblePanelIcon;break}}}}re("aie-bubble-link",C2);re("aie-bubble-image",I2);re("aie-bubble-table",x2);re("aie-bubble-text",q2);function Rs(t,e){return ge.create({name:t,addOptions(){return{...e}},addProseMirrorPlugins(){return this.options.element?[h2({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,updateDelay:this.options.updateDelay,shouldShow:this.options.shouldShow,updateAtMouseUp:this.options.updateAtMouseUp})]:[]}})}const W2=t=>{var r;const e=((r=t.options.textSelectionBubbleMenu)==null?void 0:r.elementTagName)||"aie-bubble-text",n=document.createElement(e);return t.eventComponents.push(n),Rs("textSelectionBubble",{pluginKey:"textSelectionBubble",element:n,updateDelay:0,updateAtMouseUp:!0,tippyOptions:{appendTo:t.container,arrow:!1,placement:"bottom",getReferenceClientRect:()=>Mh(t.innerEditor),onCreate(i){n.instance=i}},shouldShow:({editor:i})=>{if(!i.isEditable)return!1;const{state:{selection:o}}=i;return!o.empty&&ps(i.state.doc,{from:o.from,to:o.to}).trim().length>0&&!i.isActive("link")&&!i.isActive("image")&&!(o instanceof Te)}})},K2=t=>{const e=document.createElement("aie-bubble-link");return t.eventComponents.push(e),Rs("linkBubble",{pluginKey:"linkBubble",element:e,tippyOptions:{appendTo:t.container,placement:"bottom",arrow:!1,onCreate(n){e.instance=n}},shouldShow:({editor:n})=>n.isEditable&&n.isActive("link")})},Q2=t=>{const e=document.createElement("aie-bubble-image");return t.eventComponents.push(e),Rs("imageBubble",{pluginKey:"imageBubble",element:e,tippyOptions:{appendTo:t.container,placement:"top-start",arrow:!1,getReferenceClientRect:()=>{const{ranges:n}=t.innerEditor.state.selection,r=Math.min(...n.map(u=>u.$from.pos)),i=Math.max(...n.map(u=>u.$to.pos)),{view:o}=t.innerEditor,s=o.nodeDOM(r).querySelector("img"),l=Ki(o,r,i),c=s.getBoundingClientRect();return{...l,left:c.left+c.width*.5-100}},onCreate(n){e.instance=n}},shouldShow:({editor:n})=>n.isEditable&&n.isActive("image")})},Z2=t=>{const e=document.createElement("aie-bubble-table");return t.eventComponents.push(e),Rs("tableBubble",{pluginKey:"tableBubble",element:e,tippyOptions:{placement:"top",appendTo:t.container,arrow:!1,getReferenceClientRect:()=>{const n=t.innerEditor.state.selection,{ranges:r}=n,i=Math.min(...r.map(d=>d.$from.pos)),o=Math.max(...r.map(d=>d.$to.pos)),{view:a,state:s}=t.innerEditor,l=Ki(a,i,o),c=s.selection.$from.posAtIndex(0,1),u=a.coordsAtPos(c);return{...l,top:u.top}}},shouldShow:({editor:n})=>{const{state:{selection:r}}=n;return n.isEditable&&n.isActive("table")&&r instanceof Te}})},X2=t=>{var i,o;const e=[];return t.options.editable===!1||(((i=t==null?void 0:t.options.textSelectionBubbleMenu)==null?void 0:i.enable)!==!1&&e.push(W2(t)),e.push(K2(t)),((o=t.options.image)==null?void 0:o.bubbleMenuEnable)!==!1&&e.push(Q2(t)),e.push(Z2(t))),e},j2=ge.create({name:"placeholder",addOptions(){return{emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",placeholder:"Write something …",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}},addProseMirrorPlugins(){return[new Se({key:new ve("placeholder"),props:{decorations:({doc:t,selection:e})=>{const n=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:r}=e,i=[];if(!n)return null;const o=this.editor.isEmpty;return t.descendants((a,s)=>{const l=r>=s&&r<=s+a.nodeSize,c=!a.isLeaf&&fs(a);if((l||!this.options.showOnlyCurrent)&&c){const u=[this.options.emptyNodeClass];o&&u.push(this.options.emptyEditorClass);const d=ke.node(s,s+a.nodeSize,{class:u.join(" "),"data-placeholder":typeof this.options.placeholder=="function"?this.options.placeholder({editor:this.editor,node:a,pos:s,hasAnchor:l}):this.options.placeholder});i.push(d)}return this.options.includeChildren}),be.create(t,i)}}})]}});function J2(t){var e;const{char:n,allowSpaces:r,allowedPrefixes:i,startOfLine:o,$position:a}=t,s=yC(n),l=new RegExp(`\\s${s}$`),c=o?"^":"",u=r?new RegExp(`${c}${s}.*?(?=\\s${s}|$)`,"gm"):new RegExp(`${c}(?:^)?${s}[^\\s${s}]*`,"gm"),d=((e=a.nodeBefore)===null||e===void 0?void 0:e.isText)&&a.nodeBefore.text;if(!d)return null;const p=a.pos-d.length,_=Array.from(d.matchAll(u)).pop();if(!_||_.input===void 0||_.index===void 0)return null;const m=_.input.slice(Math.max(0,_.index-1),_.index),f=new RegExp(`^[${i==null?void 0:i.join("")}\0]?$`).test(m);if(i!==null&&!f)return null;const g=p+_.index;let E=g+_[0].length;return r&&l.test(d.slice(E-1,E+1))&&(_[0]+=" ",E+=1),g=a.pos?{range:{from:g,to:E},query:_[0].slice(n.length),text:_[0]}:null}const eL=new ve("suggestion");function wh({pluginKey:t=eL,editor:e,char:n="@",allowSpaces:r=!1,allowedPrefixes:i=[" "],startOfLine:o=!1,decorationTag:a="span",decorationClass:s="suggestion",command:l=()=>null,items:c=()=>[],render:u=()=>({}),allow:d=()=>!0,findSuggestionMatch:p=J2}){let _;const m=u==null?void 0:u(),f=new Se({key:t,view(){return{update:async(g,E)=>{var S,b,h,C,T,R,x;const O=(S=this.key)===null||S===void 0?void 0:S.getState(E),M=(b=this.key)===null||b===void 0?void 0:b.getState(g.state),B=O.active&&M.active&&O.range.from!==M.range.from,Y=!O.active&&M.active,$=O.active&&!M.active,q=!Y&&!$&&O.query!==M.query,V=Y||B&&q,J=q||B,y=$||B&&q;if(!V&&!J&&!y)return;const v=y&&!V?O:M,A=g.dom.querySelector(`[data-decoration-id="${v.decorationId}"]`);_={editor:e,range:v.range,query:v.query,text:v.text,items:[],command:k=>l({editor:e,range:v.range,props:k}),decorationNode:A,clientRect:A?()=>{var k;const{decorationId:G}=(k=this.key)===null||k===void 0?void 0:k.getState(e.state),z=g.dom.querySelector(`[data-decoration-id="${G}"]`);return(z==null?void 0:z.getBoundingClientRect())||null}:null},V&&((h=m==null?void 0:m.onBeforeStart)===null||h===void 0||h.call(m,_)),J&&((C=m==null?void 0:m.onBeforeUpdate)===null||C===void 0||C.call(m,_)),(J||V)&&(_.items=await c({editor:e,query:v.query})),y&&((T=m==null?void 0:m.onExit)===null||T===void 0||T.call(m,_)),J&&((R=m==null?void 0:m.onUpdate)===null||R===void 0||R.call(m,_)),V&&((x=m==null?void 0:m.onStart)===null||x===void 0||x.call(m,_))},destroy:()=>{var g;_&&((g=m==null?void 0:m.onExit)===null||g===void 0||g.call(m,_))}}},state:{init(){return{active:!1,range:{from:0,to:0},query:null,text:null,composing:!1}},apply(g,E,S,b){const{isEditable:h}=e,{composing:C}=e.view,{selection:T}=g,{empty:R,from:x}=T,O={...E};if(O.composing=C,h&&(R||e.view.composing)){(xE.range.to)&&!C&&!E.composing&&(O.active=!1);const M=p({char:n,allowSpaces:r,allowedPrefixes:i,startOfLine:o,$position:T.$from}),B=`id_${Math.floor(Math.random()*4294967295)}`;M&&d({editor:e,state:b,range:M.range,isActive:E.active})?(O.active=!0,O.decorationId=E.decorationId?E.decorationId:B,O.range=M.range,O.query=M.query,O.text=M.text):O.active=!1}else O.active=!1;return O.active||(O.decorationId=null,O.range={from:0,to:0},O.query=null,O.text=null),O}},props:{handleKeyDown(g,E){var S;const{active:b,range:h}=f.getState(g.state);return b&&((S=m==null?void 0:m.onKeyDown)===null||S===void 0?void 0:S.call(m,{view:g,event:E,range:h}))||!1},decorations(g){const{active:E,range:S,decorationId:b}=f.getState(g);return E?be.create(g.doc,[ke.inline(S.from,S.to,{nodeName:a,class:s,"data-decoration-id":b})]):null}}});return f}const tL=new ve("mention"),nL=Ne.create({name:"mention",priority:101,addOptions(){return{HTMLAttributes:{},renderText({options:t,node:e}){var n;return`${t.suggestion.char}${(n=e.attrs.label)!==null&&n!==void 0?n:e.attrs.id}`},deleteTriggerWithBackspace:!1,renderHTML({options:t,node:e}){var n;return["span",pe(this.HTMLAttributes,t.HTMLAttributes),`${t.suggestion.char}${(n=e.attrs.label)!==null&&n!==void 0?n:e.attrs.id}`]},suggestion:{char:"@",pluginKey:tL,command:({editor:t,range:e,props:n})=>{var r,i,o;const a=t.view.state.selection.$to.nodeAfter;((r=a==null?void 0:a.text)===null||r===void 0?void 0:r.startsWith(" "))&&(e.to+=1),t.chain().focus().insertContentAt(e,[{type:this.name,attrs:n},{type:"text",text:" "}]).run(),(o=(i=t.view.dom.ownerDocument.defaultView)===null||i===void 0?void 0:i.getSelection())===null||o===void 0||o.collapseToEnd()},allow:({state:t,range:e})=>{const n=t.doc.resolve(e.from),r=t.schema.nodes[this.name];return!!n.parent.type.contentMatch.matchType(r)}}}},group:"inline",inline:!0,selectable:!1,atom:!0,addAttributes(){return{id:{default:null,parseHTML:t=>t.getAttribute("data-id"),renderHTML:t=>t.id?{"data-id":t.id}:{}},label:{default:null,parseHTML:t=>t.getAttribute("data-label"),renderHTML:t=>t.label?{"data-label":t.label}:{}}}},parseHTML(){return[{tag:`span[data-type="${this.name}"]`}]},renderHTML({node:t,HTMLAttributes:e}){if(this.options.renderLabel!==void 0)return console.warn("renderLabel is deprecated use renderText and renderHTML instead"),["span",pe({"data-type":this.name},this.options.HTMLAttributes,e),this.options.renderLabel({options:this.options,node:t})];const n={...this.options};n.HTMLAttributes=pe({"data-type":this.name},this.options.HTMLAttributes,e);const r=this.options.renderHTML({options:n,node:t});return typeof r=="string"?["span",pe({"data-type":this.name},this.options.HTMLAttributes,e),r]:r},renderText({node:t}){return this.options.renderLabel!==void 0?(console.warn("renderLabel is deprecated use renderText and renderHTML instead"),this.options.renderLabel({options:this.options,node:t})):this.options.renderText({options:this.options,node:t})},addKeyboardShortcuts(){return{Backspace:()=>this.editor.commands.command(({tr:t,state:e})=>{let n=!1;const{selection:r}=e,{empty:i,anchor:o}=r;return i?(e.doc.nodesBetween(o-1,o,(a,s)=>{if(a.type.name===this.name)return n=!0,t.insertText(this.options.deleteTriggerWithBackspace?"":this.options.suggestion.char||"",s,s+a.nodeSize),!1}),n):!1})}},addProseMirrorPlugins(){return[wh({editor:this.editor,...this.options.suggestion})]}}),rL=t=>nL.configure({HTMLAttributes:{class:"mention"},suggestion:{items:({query:e})=>t(e),render:()=>{let e,n,r=0,i;const o=()=>{e.innerHTML=` + `,onInit:({innerEditor:t},e,n)=>{var o,a;const r={editor:t,tippyInstance:e},i=((a=(o=t.aiEditor.options.ai)==null?void 0:o.translate)==null?void 0:a.translateMenuItems)||W2;return r.translatePanelInstance=we(n.querySelector("#translate"),{content:Z2(r,i),appendTo:t.view.dom.closest(".aie-container"),placement:"bottom",trigger:"click",interactive:!0,arrow:!1}),r}},j2=new Cu([G2,V2,q2,Y2,$2,X2,z2]),J2=(t,e)=>{if(!t||t.length===0)return t;let n=0;for(;ns.id==="ai");else if((o=n.ai)!=null&&o.bubblePanelIcon){for(let s of this.items)if(s.id==="ai"){s.icon=(a=n.ai)==null?void 0:a.bubblePanelIcon;break}}}}re("aie-bubble-link",x2);re("aie-bubble-image",F2);re("aie-bubble-table",B2);re("aie-bubble-text",eL);function Ns(t,e){return he.create({name:t,addOptions(){return{...e}},addProseMirrorPlugins(){return this.options.element?[R2({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,updateDelay:this.options.updateDelay,shouldShow:this.options.shouldShow,updateAtMouseUp:this.options.updateAtMouseUp})]:[]}})}const tL=t=>{var r;const e=((r=t.options.textSelectionBubbleMenu)==null?void 0:r.elementTagName)||"aie-bubble-text",n=document.createElement(e);return t.eventComponents.push(n),Ns("textSelectionBubble",{pluginKey:"textSelectionBubble",element:n,updateDelay:0,updateAtMouseUp:!0,tippyOptions:{appendTo:t.container,arrow:!1,placement:"bottom",getReferenceClientRect:()=>Pg(t.innerEditor),onCreate(i){n.instance=i}},shouldShow:({editor:i})=>{if(!i.isEditable)return!1;const{state:{selection:o}}=i;return!o.empty&&ms(i.state.doc,{from:o.from,to:o.to}).trim().length>0&&!i.isActive("link")&&!i.isActive("image")&&!(o instanceof Te)}})},nL=t=>{const e=document.createElement("aie-bubble-link");return t.eventComponents.push(e),Ns("linkBubble",{pluginKey:"linkBubble",element:e,tippyOptions:{appendTo:t.container,placement:"bottom",arrow:!1,onCreate(n){e.instance=n}},shouldShow:({editor:n})=>n.isEditable&&n.isActive("link")})},rL=t=>{const e=document.createElement("aie-bubble-image");return t.eventComponents.push(e),Ns("imageBubble",{pluginKey:"imageBubble",element:e,tippyOptions:{appendTo:t.container,placement:"top-start",arrow:!1,getReferenceClientRect:()=>{const{ranges:n}=t.innerEditor.state.selection,r=Math.min(...n.map(u=>u.$from.pos)),i=Math.max(...n.map(u=>u.$to.pos)),{view:o}=t.innerEditor,s=o.nodeDOM(r).querySelector("img"),l=Qi(o,r,i),c=s.getBoundingClientRect();return{...l,left:c.left+c.width*.5-100}},onCreate(n){e.instance=n}},shouldShow:({editor:n})=>n.isEditable&&n.isActive("image")})},iL=t=>{const e=document.createElement("aie-bubble-table");return t.eventComponents.push(e),Ns("tableBubble",{pluginKey:"tableBubble",element:e,tippyOptions:{placement:"top",appendTo:t.container,arrow:!1,getReferenceClientRect:()=>{const n=t.innerEditor.state.selection,{ranges:r}=n,i=Math.min(...r.map(d=>d.$from.pos)),o=Math.max(...r.map(d=>d.$to.pos)),{view:a,state:s}=t.innerEditor,l=Qi(a,i,o),c=s.selection.$from.posAtIndex(0,1),u=a.coordsAtPos(c);return{...l,top:u.top}}},shouldShow:({editor:n})=>{const{state:{selection:r}}=n;return n.isEditable&&n.isActive("table")&&r instanceof Te}})},oL=t=>{var i,o;const e=[];return t.options.editable===!1||(((i=t==null?void 0:t.options.textSelectionBubbleMenu)==null?void 0:i.enable)!==!1&&e.push(tL(t)),e.push(nL(t)),((o=t.options.image)==null?void 0:o.bubbleMenuEnable)!==!1&&e.push(rL(t)),e.push(iL(t))),e},aL=he.create({name:"placeholder",addOptions(){return{emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",placeholder:"Write something …",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}},addProseMirrorPlugins(){return[new Se({key:new ve("placeholder"),props:{decorations:({doc:t,selection:e})=>{const n=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:r}=e,i=[];if(!n)return null;const o=this.editor.isEmpty;return t.descendants((a,s)=>{const l=r>=s&&r<=s+a.nodeSize,c=!a.isLeaf&&gs(a);if((l||!this.options.showOnlyCurrent)&&c){const u=[this.options.emptyNodeClass];o&&u.push(this.options.emptyEditorClass);const d=ke.node(s,s+a.nodeSize,{class:u.join(" "),"data-placeholder":typeof this.options.placeholder=="function"?this.options.placeholder({editor:this.editor,node:a,pos:s,hasAnchor:l}):this.options.placeholder});i.push(d)}return this.options.includeChildren}),be.create(t,i)}}})]}});function sL(t){var e;const{char:n,allowSpaces:r,allowedPrefixes:i,startOfLine:o,$position:a}=t,s=DC(n),l=new RegExp(`\\s${s}$`),c=o?"^":"",u=r?new RegExp(`${c}${s}.*?(?=\\s${s}|$)`,"gm"):new RegExp(`${c}(?:^)?${s}[^\\s${s}]*`,"gm"),d=((e=a.nodeBefore)===null||e===void 0?void 0:e.isText)&&a.nodeBefore.text;if(!d)return null;const p=a.pos-d.length,_=Array.from(d.matchAll(u)).pop();if(!_||_.input===void 0||_.index===void 0)return null;const m=_.input.slice(Math.max(0,_.index-1),_.index),f=new RegExp(`^[${i==null?void 0:i.join("")}\0]?$`).test(m);if(i!==null&&!f)return null;const h=p+_.index;let E=h+_[0].length;return r&&l.test(d.slice(E-1,E+1))&&(_[0]+=" ",E+=1),h=a.pos?{range:{from:h,to:E},query:_[0].slice(n.length),text:_[0]}:null}const lL=new ve("suggestion");function Fg({pluginKey:t=lL,editor:e,char:n="@",allowSpaces:r=!1,allowedPrefixes:i=[" "],startOfLine:o=!1,decorationTag:a="span",decorationClass:s="suggestion",command:l=()=>null,items:c=()=>[],render:u=()=>({}),allow:d=()=>!0,findSuggestionMatch:p=sL}){let _;const m=u==null?void 0:u(),f=new Se({key:t,view(){return{update:async(h,E)=>{var S,b,g,C,T,R,x;const O=(S=this.key)===null||S===void 0?void 0:S.getState(E),M=(b=this.key)===null||b===void 0?void 0:b.getState(h.state),B=O.active&&M.active&&O.range.from!==M.range.from,Y=!O.active&&M.active,$=O.active&&!M.active,q=!Y&&!$&&O.query!==M.query,V=Y||B&&q,J=q||B,y=$||B&&q;if(!V&&!J&&!y)return;const v=y&&!V?O:M,A=h.dom.querySelector(`[data-decoration-id="${v.decorationId}"]`);_={editor:e,range:v.range,query:v.query,text:v.text,items:[],command:k=>l({editor:e,range:v.range,props:k}),decorationNode:A,clientRect:A?()=>{var k;const{decorationId:G}=(k=this.key)===null||k===void 0?void 0:k.getState(e.state),z=h.dom.querySelector(`[data-decoration-id="${G}"]`);return(z==null?void 0:z.getBoundingClientRect())||null}:null},V&&((g=m==null?void 0:m.onBeforeStart)===null||g===void 0||g.call(m,_)),J&&((C=m==null?void 0:m.onBeforeUpdate)===null||C===void 0||C.call(m,_)),(J||V)&&(_.items=await c({editor:e,query:v.query})),y&&((T=m==null?void 0:m.onExit)===null||T===void 0||T.call(m,_)),J&&((R=m==null?void 0:m.onUpdate)===null||R===void 0||R.call(m,_)),V&&((x=m==null?void 0:m.onStart)===null||x===void 0||x.call(m,_))},destroy:()=>{var h;_&&((h=m==null?void 0:m.onExit)===null||h===void 0||h.call(m,_))}}},state:{init(){return{active:!1,range:{from:0,to:0},query:null,text:null,composing:!1}},apply(h,E,S,b){const{isEditable:g}=e,{composing:C}=e.view,{selection:T}=h,{empty:R,from:x}=T,O={...E};if(O.composing=C,g&&(R||e.view.composing)){(xE.range.to)&&!C&&!E.composing&&(O.active=!1);const M=p({char:n,allowSpaces:r,allowedPrefixes:i,startOfLine:o,$position:T.$from}),B=`id_${Math.floor(Math.random()*4294967295)}`;M&&d({editor:e,state:b,range:M.range,isActive:E.active})?(O.active=!0,O.decorationId=E.decorationId?E.decorationId:B,O.range=M.range,O.query=M.query,O.text=M.text):O.active=!1}else O.active=!1;return O.active||(O.decorationId=null,O.range={from:0,to:0},O.query=null,O.text=null),O}},props:{handleKeyDown(h,E){var S;const{active:b,range:g}=f.getState(h.state);return b&&((S=m==null?void 0:m.onKeyDown)===null||S===void 0?void 0:S.call(m,{view:h,event:E,range:g}))||!1},decorations(h){const{active:E,range:S,decorationId:b}=f.getState(h);return E?be.create(h.doc,[ke.inline(S.from,S.to,{nodeName:a,class:s,"data-decoration-id":b})]):null}}});return f}const cL=new ve("mention"),uL=Ne.create({name:"mention",priority:101,addOptions(){return{HTMLAttributes:{},renderText({options:t,node:e}){var n;return`${t.suggestion.char}${(n=e.attrs.label)!==null&&n!==void 0?n:e.attrs.id}`},deleteTriggerWithBackspace:!1,renderHTML({options:t,node:e}){var n;return["span",pe(this.HTMLAttributes,t.HTMLAttributes),`${t.suggestion.char}${(n=e.attrs.label)!==null&&n!==void 0?n:e.attrs.id}`]},suggestion:{char:"@",pluginKey:cL,command:({editor:t,range:e,props:n})=>{var r,i,o;const a=t.view.state.selection.$to.nodeAfter;((r=a==null?void 0:a.text)===null||r===void 0?void 0:r.startsWith(" "))&&(e.to+=1),t.chain().focus().insertContentAt(e,[{type:this.name,attrs:n},{type:"text",text:" "}]).run(),(o=(i=t.view.dom.ownerDocument.defaultView)===null||i===void 0?void 0:i.getSelection())===null||o===void 0||o.collapseToEnd()},allow:({state:t,range:e})=>{const n=t.doc.resolve(e.from),r=t.schema.nodes[this.name];return!!n.parent.type.contentMatch.matchType(r)}}}},group:"inline",inline:!0,selectable:!1,atom:!0,addAttributes(){return{id:{default:null,parseHTML:t=>t.getAttribute("data-id"),renderHTML:t=>t.id?{"data-id":t.id}:{}},label:{default:null,parseHTML:t=>t.getAttribute("data-label"),renderHTML:t=>t.label?{"data-label":t.label}:{}}}},parseHTML(){return[{tag:`span[data-type="${this.name}"]`}]},renderHTML({node:t,HTMLAttributes:e}){if(this.options.renderLabel!==void 0)return console.warn("renderLabel is deprecated use renderText and renderHTML instead"),["span",pe({"data-type":this.name},this.options.HTMLAttributes,e),this.options.renderLabel({options:this.options,node:t})];const n={...this.options};n.HTMLAttributes=pe({"data-type":this.name},this.options.HTMLAttributes,e);const r=this.options.renderHTML({options:n,node:t});return typeof r=="string"?["span",pe({"data-type":this.name},this.options.HTMLAttributes,e),r]:r},renderText({node:t}){return this.options.renderLabel!==void 0?(console.warn("renderLabel is deprecated use renderText and renderHTML instead"),this.options.renderLabel({options:this.options,node:t})):this.options.renderText({options:this.options,node:t})},addKeyboardShortcuts(){return{Backspace:()=>this.editor.commands.command(({tr:t,state:e})=>{let n=!1;const{selection:r}=e,{empty:i,anchor:o}=r;return i?(e.doc.nodesBetween(o-1,o,(a,s)=>{if(a.type.name===this.name)return n=!0,t.insertText(this.options.deleteTriggerWithBackspace?"":this.options.suggestion.char||"",s,s+a.nodeSize),!1}),n):!1})}},addProseMirrorPlugins(){return[Fg({editor:this.editor,...this.options.suggestion})]}}),dL=t=>uL.configure({HTMLAttributes:{class:"mention"},suggestion:{items:({query:e})=>t(e),render:()=>{let e,n,r=0,i;const o=()=>{e.innerHTML=`
${i.items.map((a,s)=>``).join("")}
- `,e.addEventListener("click",a=>{const s=a.target.closest(".item");if(s){const l=Number(s.getAttribute("data-index")),c=i.items[l];c&&c.id?i.command(c):i.command({id:c})}})};return{onStart:a=>{e=document.createElement("div"),e.classList.add("suggestion"),i=a,a.clientRect&&(o(),n=we("body",{getReferenceClientRect:a.clientRect,appendTo:()=>a.editor.view.dom.closest(".aie-container"),content:e,showOnCreate:!0,interactive:!0,allowHTML:!0,trigger:"manual",placement:"bottom-start",arrow:!1}))},onUpdate(a){i=a,a.clientRect&&(o(),n[0].setProps({getReferenceClientRect:a.clientRect}))},onKeyDown(a){if(a.event.key==="Escape")return n[0].hide(),!0;if(a.event.key==="ArrowUp")return r=(r+i.items.length-1)%i.items.length,o(),!0;if(a.event.key==="ArrowDown")return r=(r+1)%i.items.length,o(),!0;if(a.event.key==="Enter"){const s=i.items[r];return s&&s.id?i.command(s):i.command({id:s}),!0}return!1},onExit(){n[0].destroy(),e.remove()}}}}}),iL=[{icon:'',name:"AI 续写",prompt:"请帮我继续扩展一些这段话的内容",model:"auto"},{icon:'',name:"AI 提问",prompt:"",model:"auto"},{icon:'',name:"AI 翻译",prompt:"请帮我翻译以上内容,在翻译之前,想先判断一下这个内容是不是中文,如果是中文,则翻译问英文,如果是其他语言,则需要翻译为中文,注意,你只需要返回翻译的结果,不需要对此进行任何解释,不需要除了翻译结果以外的其他任何内容。",model:"auto"},{icon:'',name:"AI 生图",prompt:"请根据以上的内容,生成一张图片,并把图片返回给我",model:"auto"}],oL=ge.create({name:"aiCommand",addOptions(){return{suggestion:{char:"/",command:({editor:t,range:e,props:n})=>{if(t.chain().focus().deleteRange(e).run(),n&&n.aiItem){let r=n.aiItem;const i=t.state.selection.$head.parent.textContent;let o=r.model;const a=En.get(r.model);a?a==null||a.chat(i,r.prompt,new Oa(t)):console.error("Ai model config error. can not find the type:"+o+" at command menu")}else switch(n.index){case 0:t.chain().setParagraph().run();return;case 1:t.chain().setHeading({level:1}).run();return;case 2:t.chain().setHeading({level:2}).run();return;case 3:t.chain().setHeading({level:3}).run();return;case 4:t.chain().toggleContainer("warning").run();return;case 5:t.chain().toggleBlockquote().run();return;case 6:t.chain().toggleBulletList().run();return;case 7:t.chain().toggleOrderedList().run();return;case 8:t.chain().setTextAlign("left").run();return;case 9:t.chain().setTextAlign("center").run();return;case 10:t.chain().toggleTaskList().run();return;case 11:t.chain().toggleCodeBlock().run();return}},render:()=>{let t,e,n=0,r;const i=()=>{t.innerHTML=` + `,e.addEventListener("click",a=>{const s=a.target.closest(".item");if(s){const l=Number(s.getAttribute("data-index")),c=i.items[l];c&&c.id?i.command(c):i.command({id:c})}})};return{onStart:a=>{e=document.createElement("div"),e.classList.add("suggestion"),i=a,a.clientRect&&(o(),n=we("body",{getReferenceClientRect:a.clientRect,appendTo:()=>a.editor.view.dom.closest(".aie-container"),content:e,showOnCreate:!0,interactive:!0,allowHTML:!0,trigger:"manual",placement:"bottom-start",arrow:!1}))},onUpdate(a){i=a,a.clientRect&&(o(),n[0].setProps({getReferenceClientRect:a.clientRect}))},onKeyDown(a){if(a.event.key==="Escape")return n[0].hide(),!0;if(a.event.key==="ArrowUp")return r=(r+i.items.length-1)%i.items.length,o(),!0;if(a.event.key==="ArrowDown")return r=(r+1)%i.items.length,o(),!0;if(a.event.key==="Enter"){const s=i.items[r];return s&&s.id?i.command(s):i.command({id:s}),!0}return!1},onExit(){n[0].destroy(),e.remove()}}}}}),pL=[{icon:'',name:"AI 续写",prompt:"请帮我继续扩展一些这段话的内容",model:"auto"},{icon:'',name:"AI 提问",prompt:"",model:"auto"},{icon:'',name:"AI 翻译",prompt:"请帮我翻译以上内容,在翻译之前,想先判断一下这个内容是不是中文,如果是中文,则翻译问英文,如果是其他语言,则需要翻译为中文,注意,你只需要返回翻译的结果,不需要对此进行任何解释,不需要除了翻译结果以外的其他任何内容。",model:"auto"},{icon:'',name:"AI 生图",prompt:"请根据以上的内容,生成一张图片,并把图片返回给我",model:"auto"}],_L=he.create({name:"aiCommand",addOptions(){return{suggestion:{char:"/",command:({editor:t,range:e,props:n})=>{if(t.chain().focus().deleteRange(e).run(),n&&n.aiItem){let r=n.aiItem;const i=t.state.selection.$head.parent.textContent;let o=r.model;const a=En.get(r.model);a?a==null||a.chat(i,r.prompt,new Aa(t)):console.error("Ai model config error. can not find the type:"+o+" at command menu")}else switch(n.index){case 0:t.chain().setParagraph().run();return;case 1:t.chain().setHeading({level:1}).run();return;case 2:t.chain().setHeading({level:2}).run();return;case 3:t.chain().setHeading({level:3}).run();return;case 4:t.chain().toggleContainer("warning").run();return;case 5:t.chain().toggleBlockquote().run();return;case 6:t.chain().toggleBulletList().run();return;case 7:t.chain().toggleOrderedList().run();return;case 8:t.chain().setTextAlign("left").run();return;case 9:t.chain().setTextAlign("center").run();return;case 10:t.chain().toggleTaskList().run();return;case 11:t.chain().toggleCodeBlock().run();return}},render:()=>{let t,e,n=0,r;const i=()=>{t.innerHTML=`
@@ -538,9 +538,9 @@ ${ce("ai-append")}
${r.items.map((o,a)=>`
${o.icon} ${o.name}
`).join("")}
- `,t.addEventListener("click",o=>{const a=o.target.closest(".item");if(a){const s=Number(a.getAttribute("data-index"));r.command({index:s,aiItem:s>11?r.items[s-12]:null})}})};return{onStart:o=>{t=document.createElement("div"),t.classList.add("suggestion"),r=o,o.clientRect&&(i(),e=we("body",{getReferenceClientRect:o.clientRect,appendTo:()=>o.editor.view.dom.closest(".aie-container"),content:t,showOnCreate:!0,interactive:!0,allowHTML:!0,trigger:"manual",placement:"right-start",arrow:!1}))},onUpdate(o){r=o,o.clientRect&&e[0].setProps({getReferenceClientRect:o.clientRect})},onKeyDown(o){return o.event.key==="Escape"?(e[0].hide(),!0):o.event.key==="ArrowUp"?(n<6?n=11+r.items.length:n<=11?n-=6:(n-=1,n<0&&(n=11+r.items.length)),i(),!0):o.event.key==="ArrowDown"?(n<6?n+=6:n<11?n=12:(n+=1,n>11+r.items.length&&(n=0)),i(),!0):o.event.key==="ArrowLeft"?(n-=1,n<0&&(n=11+r.items.length),i(),!0):o.event.key==="ArrowRight"?(n+=1,n>11+r.items.length&&(n=0),i(),!0):o.event.key==="Enter"?(r.command({index:n,aiItem:n>11?r.items[n-12]:null}),!0):!1},onExit(){e[0].destroy(),t.remove()}}}}}},addProseMirrorPlugins(){return[wh({editor:this.editor,...this.options.suggestion})]}}),aL=ge.create({addProseMirrorPlugins(){const t=this.editor;return[new Se({key:new ve("selection-marker"),props:{decorations(e){return e.selection.empty||t.isFocused||!t.isEditable?null:be.create(e.doc,[ke.inline(e.selection.from,e.selection.to,{class:"selection-marker"})])}}})]}});function Lh(t,e,n){function r(p){return p.trim().split(" ",2)[0]===e}function i(p,_,m,f,g){return p[_].nesting===1&&p[_].attrJoin("class",e),g.renderToken(p,_,m,f,g)}n=n||{};const o=3,a=n.marker||":",s=a.charCodeAt(0),l=a.length,c=n.validate||r,u=n.render||i;function d(p,_,m,f){let g,E=!1,S=p.bMarks[_]+p.tShift[_],b=p.eMarks[_];if(s!==p.src.charCodeAt(S))return!1;for(g=S+1;g<=b&&a[(g-S)%l]===p.src[g];g++);const h=Math.floor((g-S)/l);if(h=m||(S=p.bMarks[R]+p.tShift[R],b=p.eMarks[R],S=4)){for(g=S+1;g<=b&&a[(g-S)%l]===p.src[g];g++);if(!(Math.floor((g-S)/l){this.options.classes.forEach(e=>{t.use(Lh,e)})}}}}},addAttributes(){return{containerClass:{default:null,parseHTML:t=>[...t.classList].find(e=>this.options.classes.includes(e)),renderHTML:t=>({class:t.containerClass})}}},parseHTML(){return[{tag:"div",getAttrs:t=>{const e=t,n=["container-wrapper"].concat(this.options.classes);return[...e.classList].find(r=>n.includes(r))?null:!1}}]},renderHTML({HTMLAttributes:t}){return["div",pe(this.options.HTMLAttributes,t),0]},addCommands(){return{setContainer:t=>({commands:e})=>e.wrapIn(this.name,{containerClass:t}),toggleContainer:t=>({commands:e})=>e.toggleWrap(this.name,{containerClass:t}),unsetContainer:()=>({commands:t})=>t.lift(this.name)}},addInputRules(){return[Sr({find:sL,type:this.type,getAttributes:t=>({containerClass:t[1]})})]}}),cL=hg.extend({addAttributes(){var t;return{...(t=this.parent)==null?void 0:t.call(this),id:{default:null}}}}),uL=ge.create({name:"saveExt",addKeyboardShortcuts(){return{"Mod-s":({editor:t})=>this.options.onSave?this.options.onSave(t.aiEditor):!1}}}),dL=Ne.create({name:"figure",content:"block+",group:"block",defining:!0,draggable:!0,selectable:!0,addOptions(){return{HTMLAttributes:{dir:"auto"}}},parseHTML(){return[{tag:"figure"}]},renderHTML({HTMLAttributes:t}){return["figure",pe(this.options.HTMLAttributes,t),0]}}),pL=Ne.create({name:"figcaption",content:"inline*",group:"block",defining:!0,addOptions(){return{HTMLAttributes:{dir:"auto"}}},parseHTML(){return[{tag:"figcaption"}]},renderHTML({HTMLAttributes:t}){return["figcaption",pe(this.options.HTMLAttributes,t),0]}}),_L=(t,e)=>{const n=new RegExp(`<${e}[^>]*>(.*?)`,"gi");return t.replace(n,(r,i)=>i)},mL=(t,e)=>{for(let n of e)t=_L(t,n);return t},fL=(t,e,n)=>{function r(u){const d=document.createDocumentFragment();for(;u.firstChild;){const p=u.removeChild(u.firstChild),_=i(p);_&&d.appendChild(_)}return d}function i(u){var d;if(u.nodeType===Node.ELEMENT_NODE){const p=u;if(e.includes(p.tagName.toLowerCase())){if(!(((d=p.textContent)==null?void 0:d.trim())||""))return p;for(;p.attributes.length>0;)p.removeAttribute(p.attributes[0].name);return p.appendChild(r(p)),p}else return r(p)}else if(u.nodeType===Node.TEXT_NODE&&u.textContent&&u.textContent.trim().length>0)return u;return null}function o(u){const d=u.querySelectorAll("br");for(let p=0;pE.appendChild(S)),_.replaceWith(E),m.remove(),p++}}}t=t.replace(/(\n)/gm," ");const s=new DOMParser().parseFromString(t,"text/html"),l=i(s.body),c=document.createElement("div");return l&&(c.appendChild(l),o(c)),c.innerHTML},gL=t=>{var i;const e=t.documentElement.getAttributeNames();if(e&&e.length>0)for(let o of e){const a=t.documentElement.getAttribute(o);if(a!=null&&a.includes("microsoft")||a!=null&&a.includes("excel"))return!0}let n=t.getElementsByTagName("meta");for(let o of n){let a=o.getAttribute("name"),s=o.getAttribute("content");if(a&&a.toLowerCase()==="generator"&&(s!=null&&s.includes("Microsoft")||s!=null&&s.includes("LibreOffice")||s!=null&&s.includes("OpenOffice")))return!0}const r=(i=t.body.innerHTML)==null?void 0:i.trim();return!!(r!=null&&r.startsWith("")))},hL=t=>{const e=document.createElement("div");return e.innerHTML=t,e.querySelectorAll("p").forEach(r=>{(!r.textContent||r.textContent.trim()==="")&&r.remove()}),e.innerHTML},EL=t=>{const n=new DOMParser().parseFromString(t,"text/html"),r=document.createDocumentFragment(),i=n.body.children;for(let a of i)a.hasAttribute("data-pm-slice")?a.childNodes.forEach(s=>{r.appendChild(s.cloneNode(!0))}):r.appendChild(a.cloneNode(!0));const o=document.createElement("div");return o.appendChild(r),o.innerHTML},SL=ge.create({name:"pasteExt",priority:1e3,addProseMirrorPlugins(){return[new Se({key:new ve("aie-paste"),props:{handlePaste:(t,e)=>{if(t.props.editable&&!t.props.editable(t.state)||!e.clipboardData)return!1;const n=e.clipboardData.getData("text/plain");let r=e.clipboardData.getData("text/html");if(!r&&n){const i=this.editor.parseMarkdown(n);if(i){const{state:{tr:o},dispatch:a}=t;return a(o.replaceSelection(new H(i,0,0)).scrollIntoView()),!0}}else if(r){r=EL(r);const{options:i}=this.editor.aiEditor;if(i.htmlPasteConfig){if(i.htmlPasteConfig.pasteAsText)r=fL(r,["p","br"]);else if(i.htmlPasteConfig.pasteClean){r=mL(r,["a","span","strong","b","em","i","u"]);const s=new DOMParser().parseFromString(r,"text/html").documentElement.querySelector("body");s&&(s==null||s.querySelectorAll("*").forEach(l=>{l.removeAttribute("style")}),r=s==null?void 0:s.innerHTML)}if(i.htmlPasteConfig.removeEmptyParagraphs!==!1&&(r=hL(r)),i.htmlPasteConfig.pasteProcessor&&(r=i.htmlPasteConfig.pasteProcessor(r)),r)return this.editor.commands.insertContent(r),!0}else if(n&&r){const a=new DOMParser().parseFromString(r,"text/html"),s=a.querySelector("table");if(s&&gL(a))return this.editor.commands.insertContent(s.outerHTML,{parseOptions:{preserveWhitespace:!1}}),!0}}}}})]}}),bL=ge.create({name:"className",addOptions(){return{types:["heading","paragraph","container","codeBlock","blockquote","bulletList","orderedList","listItem","taskList","taskItem","image","video","table","iframe"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{class:{defaultValue:"",parseHTML:t=>t.getAttribute("class"),renderHTML:t=>t.class?{class:t.class}:{}}}}]},addCommands(){return{setClassName:(t,e)=>({chain:n})=>!t||!this.options.types.includes(t)?!1:n().updateAttributes(t,{class:e}).run()}},onTransaction({editor:t,transaction:e}){e.steps.length>0&&e.steps.forEach(n=>{if(n instanceof Ue){let r=!1;if(n.getMap().forEach((i,o,a,s)=>{s==a+2&&(r=!0)}),r){const o=n.slice.content.lastChild;o&&!o.textContent&&t.commands.updateAttributes(o.type,{...o.attrs,class:""})}}})}}),TL=(t,e)=>{var r,i,o,a,s,l,c,u,d,p,_,m,f,g,E,S,b,h,C,T,R,x,O,M,B,Y,$,q,V;const n=[kR.configure({codeBlock:!1,heading:!1})];return n.push(PR,FR,BR,cL,VR.configure({uploadUrl:(r=e.attachment)==null?void 0:r.uploadUrl,uploadHeaders:(i=e.attachment)==null?void 0:i.uploadHeaders,uploadFormName:(o=e.attachment)==null?void 0:o.uploadFormName,uploader:((a=e.attachment)==null?void 0:a.uploader)||e.uploader,uploaderEvent:(s=e.attachment)==null?void 0:s.uploaderEvent}),YR,aL,qR.configure({multicolor:!0}),WR,KR,QR,ZR.configure({types:["heading","paragraph"]}),XR,tO.configure({allowBase64:typeof((l=e.image)==null?void 0:l.allowBase64)>"u"?!0:(c=e.image)==null?void 0:c.allowBase64,defaultSize:((u=e.image)==null?void 0:u.defaultSize)||350,uploadUrl:(d=e.image)==null?void 0:d.uploadUrl,uploadHeaders:(p=e.image)==null?void 0:p.uploadHeaders,uploadFormName:(_=e.image)==null?void 0:_.uploadFormName,uploader:((m=e.image)==null?void 0:m.uploader)||e.uploader,uploaderEvent:(f=e.image)==null?void 0:f.uploaderEvent}),iN.configure({resizable:!0,lastColumnResizable:!0,allowTableNodeSelection:!0}),oN,aN,sN,typeof e.textCounter=="function"?jp.configure({textCounter:e.textCounter}):jp,DN.configure({openOnClick:!1,autolink:typeof((g=e.link)==null?void 0:g.autolink)>"u"?!0:(E=e.link)==null?void 0:E.autolink,HTMLAttributes:{ref:(S=e==null?void 0:e.link)==null?void 0:S.rel,class:(b=e==null?void 0:e.link)==null?void 0:b.class}}),MN,wN,LN,PN.configure({nested:!0}),UA.configure({lowlight:d2(fw),defaultLanguage:"auto",languageClassPrefix:"language-",languages:((h=e.codeBlock)==null?void 0:h.languages)||eh,codeExplainAi:((T=(C=e.ai)==null?void 0:C.codeBlock)==null?void 0:T.codeExplain)||{model:"auto",prompt:((R=e.codeBlock)==null?void 0:R.codeExplainPrompt)||"帮我对这个代码进行解释,返回代码的解释内容,注意,不需要对代码的注释进行解释"},codeCommentsAi:((O=(x=e.ai)==null?void 0:x.codeBlock)==null?void 0:O.codeComments)||{model:"auto",prompt:((M=e.codeBlock)==null?void 0:M.codeCommentsPrompt)||"帮我对这个代码添加一些注释,并返回添加注释的代码,只返回代码"}}),m2.configure({uploadUrl:(B=e.video)==null?void 0:B.uploadUrl,uploadHeaders:(Y=e.video)==null?void 0:Y.uploadHeaders,uploadFormName:($=e.video)==null?void 0:$.uploadFormName,uploader:((q=e.video)==null?void 0:q.uploader)||e.uploader,uploaderEvent:(V=e.video)==null?void 0:V.uploaderEvent}),f2,dL,pL,uL.configure({onSave:e.onSave}),SL,bL,lL,...X2(t)),e.placeholder&&n.push(j2.configure({placeholder:e.placeholder})),n.push(oL.configure({suggestion:{items:J=>{var v;return((v=e.ai)==null?void 0:v.commands)||iL}}})),e.onMentionQuery&&n.push(rL(e.onMentionQuery)),n},CL={default:"默认",delete:"删除",confirm:"确定",cancel:"取消",resize:"调整大小",undo:"撤销",redo:"重做",brush:"格式刷",container:"高亮块",eraser:"清除格式",heading:"正文/标题","font-family":"字体","font-size":"字号",bold:"加粗",italic:"斜体",underline:"下划线",strike:"删除线",link:"链接","source-code":"源代码",code:"行内代码",subscript:"下标",superscript:"上标",hr:"分割线",todo:"任务列表",emoji:"表情",highlight:"高亮","font-color":"字体颜色",align:"对齐","line-height":"行高","bullet-list":"无序列表","ordered-list":"有序列表","indent-decrease":"减少缩进","indent-increase":"增加缩进",break:"强制换行",image:"图片",video:"视频",attachment:"附件",quote:"引用","code-block":"代码块",table:"表格",printer:"打印",fullscreen:"全屏",ai:"人工智能","menu-group":"菜单组",paragraph:"正文",h1:"标题 1",h2:"标题 2",h3:"标题 3",h4:"标题 4",h5:"标题 5",h6:"标题 6",standardColors:"标准色",historyColors:"最近使用",insertTable:"插入表格",row:"行",column:"列","align-left":"居左对齐","align-right":"居右对齐","align-center":"居中对齐","align-justify":"两端对齐","insert-column-left":"左侧插入列","insert-column-right":"右侧插入列","insert-row-top":"上方插入行","insert-row-bottom":"下方插入行","delete-column":"删除当前列","delete-row":"删除当前行","merge-cells-horizontal":"合并单元格","merge-cells-vertical":"合并单元格","split-cells-horizontal":"解除合并单元格","split-cells-vertical":"解除合并单元格","delete-table":"删除表格","edit-link":"编辑链接",unlink:"取消链接","visit-link":"访问链接","link-address":"链接地址","link-open-type":"打开方式","link-open-blank":"新窗口","default-font-size":"字号","default-font-family":"默认字体","codeblock-ai-auto-comment":"自动注释","codeblock-ai-code-explain":"代码解释","placeholder-tell-ai-what-to-do-next":"告诉 AI 下一步应该如何?比如:帮我翻译成英语","tip-you-can-enter-text-above-or-select-the-operation-below":"提示:您可以在上面输入文字或者选择下方的操作","you-can-do-the-following":"您可以进行以下操作:","improve-writing":"改进写作","check-spelling-and-grammar":"检查拼写和语法","make-shorter":"简化内容","make-longer":"丰富内容",translate:"翻译",summarize:"总结","ai-append":"追加","ai-replace":"替换","ai-cancel":"舍弃","ai-continuation":"AI 续写","ai-optimization":"AI 优化","ai-proofreading":"AI 校对","ai-translation":"AI 翻译"},yL={default:"Default",delete:"Delete",confirm:"Confirm",cancel:"Cancel",resize:"Resize",undo:"Undo",redo:"Redo",brush:"Format Painter",container:"Highlight container",eraser:"clear format",heading:"Paragraph/Heading","font-family":"Font Family","font-size":"Font Size",bold:"Bold",italic:"Italics",underline:"Underline",strike:"Strikethrough",link:"Link","source-code":"Source code",code:"Inline code",subscript:"Subscript",superscript:"Superscript",hr:"Dividing line",todo:"Task list",emoji:"Emoji expression",highlight:"Highlight","font-color":"Font color",align:"Alignment","line-height":"Line height","bullet-list":"Unordered list","ordered-list":"Ordered list","indent-decrease":"Decrease indent","indent-increase":"Increase indent",break:"Force line break",image:"Image",video:"video",attachment:"Attachment",quote:"Quote","code-block":"Code block",table:"Table",printer:"Print",fullscreen:"Full screen",ai:"AI","menu-group":"Menu Group",paragraph:"Paragraph",h1:"H1",h2:"H2",h3:"H3",h4:"H4",h5:"H5",h6:"H6",standardColors:"Standard colors",historyColors:"Recently used colors",insertTable:"Insert Table",row:"Row",column:"Column","align-left":"Align left","align-right":"Align right","align-center":"Align center","align-justify":"Align justify","insert-column-left":"Insert column left","insert-column-right":"Insert column right","insert-row-top":"Insert row top","insert-row-bottom":"Insert row bottom","delete-column":"Delete column","delete-row":"Delete row","merge-cells-horizontal":"Merge cells","merge-cells-vertical":"Merge cells","split-cells-horizontal":"Split cells","split-cells-vertical":"Split cells","delete-table":"Delete table","edit-link":"Edit link",unlink:"Unlink","visit-link":"Visit link","link-address":"Link address","link-open-type":"Open type","link-open-blank":"Blank","default-font-size":"Size","default-font-family":"Default font","codeblock-ai-auto-comment":"auto comment","codeblock-ai-code-explain":"code explain","placeholder-tell-ai-what-to-do-next":"Tell AI what to do next? e.g., help me translate into English","tip-you-can-enter-text-above-or-select-the-operation-below":"Tip: You can enter text above or select the operation below","you-can-do-the-following":"You can do the following:","improve-writing":"Improve your writing","check-spelling-and-grammar":"Check spelling and grammar","make-shorter":"Make shorter","make-longer":"Make longer",translate:"Translate",summarize:"Summarize","ai-append":"Append","ai-replace":"Replace","ai-cancel":"Cancel","ai-continuation":"Continuation","ai-optimization":"Optimization","ai-proofreading":"Proofreading","ai-translation":"Translation"},vL={default:"Standard",delete:"Löschen",confirm:"Bestätigen",cancel:"Abbrechen",resize:"Größe ändern",undo:"Rückgängig",redo:"Wiederholen",brush:"Format übertragen",container:"Auswahl hervorheben",eraser:"Format löschen",heading:"Absatz/Überschrift","font-family":"Schriftart","font-size":"Schriftgröße",bold:"Fett",italic:"Kursiv",underline:"Unterstrichen",strike:"Durchgestrichen",link:"Link","source-code":"Quellcode",code:"Inline-Code",subscript:"Tiefgestellt",superscript:"Hochgestellt",hr:"Trennlinie",todo:"Aufgabenliste",emoji:"Emojis",highlight:"Hervorheben","font-color":"Schriftfarbe",align:"Ausrichtung","line-height":"Zeilenhöhe","bullet-list":"Aufzählungsliste","ordered-list":"Nummerierte Liste","indent-decrease":"Einzug verkleinern","indent-increase":"Einzug vergrößern",break:"Zeilenumbruch erzwingen",image:"Bild",video:"Video",attachment:"Anhang",quote:"Zitat","code-block":"Codeblock",table:"Tabelle",printer:"Drucken",fullscreen:"Vollbild",ai:"KI","menu-group":"Menügruppe",paragraph:"Absatz",h1:"Überschrift 1",h2:"Überschrift 2",h3:"Überschrift 3",h4:"Überschrift 4",h5:"Überschrift 5",h6:"Überschrift 6",standardColors:"Standardfarben",historyColors:"Zuletzt verwendete Farben",insertTable:"Tabelle einfügen",row:"Zeile",column:"Spalte","align-left":"Linksbündig","align-right":"Rechtsbündig","align-center":"Zentriert","align-justify":"Blocksatz","insert-column-left":"Spalte links einfügen","insert-column-right":"Spalte rechts einfügen","insert-row-top":"Zeile oben einfügen","insert-row-bottom":"Zeile unten einfügen","delete-column":"Spalte löschen","delete-row":"Zeile löschen","merge-cells-horizontal":"Zellen horizontal verbinden","merge-cells-vertical":"Zellen vertikal verbinden","split-cells-horizontal":"Zellen horizontal teilen","split-cells-vertical":"Zellen vertikal teilen","delete-table":"Tabelle löschen","edit-link":"Link bearbeiten",unlink:"Link entfernen","visit-link":"Link besuchen","link-address":"Link-Adresse","link-open-type":"Link öffnen in...","link-open-blank":"Neues Fenster","default-font-size":"Schriftgröße","default-font-family":"Standardschriftart","codeblock-ai-auto-comment":"Automatischer Kommentar","codeblock-ai-code-explain":"Code-Erklärung","placeholder-tell-ai-what-to-do-next":"Sagen Sie der KI, was als Nächstes zu tun ist, z.B. helfen Sie mir, ins Englische zu übersetzen","tip-you-can-enter-text-above-or-select-the-operation-below":"Tipp: Sie können oben Text eingeben oder die untenstehende Operation auswählen","you-can-do-the-following":"Sie können Folgendes tun:","improve-writing":"Schreiben verbessern","check-spelling-and-grammar":"Rechtschreibung und Grammatik prüfen","make-shorter":"Kürzen","make-longer":"Verlängern",translate:"Übersetzen",summarize:"Zusammenfassen","ai-append":"Anhängen","ai-replace":"Ersetzen","ai-cancel":"Abbrechen","ai-continuation":"Vorschläge für Fortsetzung","ai-optimization":"Optimierung","ai-proofreading":"Korrekturlesen","ai-translation":"Übersetzung"},RL={default:"Padrão",delete:"Excluir",confirm:"Confirmar",cancel:"Cancelar",resize:"Redimensionar",undo:"Desfazer",redo:"Refazer",brush:"Pincel",container:"Destacar seleção",eraser:"Apagar formatação",heading:"Cabeçalho","font-family":"Fonte","font-size":"Tamanho da fonte",bold:"Negrito",italic:"Itálico",underline:"Sublinhado",strike:"Tachado",link:"Link","source-code":"Código-fonte",code:"Código em linha",subscript:"Subscrito",superscript:"Sobrescrito",hr:"Linha horizontal",todo:"Lista de tarefas",emoji:"Emoji",highlight:"Destacar","font-color":"Cor da fonte",align:"Alinhamento","line-height":"Altura da linha","bullet-list":"Lista com marcadores","ordered-list":"Lista numerada","indent-decrease":"Diminuir recuo","indent-increase":"Aumentar recuo",break:"Quebra de linha",image:"Imagem",video:"Vídeo",attachment:"Anexo",quote:"Citação","code-block":"Bloco de código",table:"Tabela",printer:"Imprimir",fullscreen:"Tela cheia",ai:"IA","menu-group":"Grupo de menu",paragraph:"Parágrafo",h1:"Cabeçalho 1",h2:"Cabeçalho 2",h3:"Cabeçalho 3",h4:"Cabeçalho 4",h5:"Cabeçalho 5",h6:"Cabeçalho 6",standardColors:"Cores padrão",historyColors:"Cores recentes",insertTable:"Inserir tabela",row:"Linha",column:"Coluna","align-left":"Alinhar à esquerda","align-right":"Alinhar à direita","align-center":"Centralizar","align-justify":"Justificar","insert-column-left":"Inserir coluna à esquerda","insert-column-right":"Inserir coluna à direita","insert-row-top":"Inserir linha acima","insert-row-bottom":"Inserir linha abaixo","delete-column":"Excluir coluna","delete-row":"Excluir linha","merge-cells-horizontal":"Mesclar células horizontalmente","merge-cells-vertical":"Mesclar células verticalmente","split-cells-horizontal":"Dividir células horizontalmente","split-cells-vertical":"Dividir células verticalmente","delete-table":"Excluir tabela","edit-link":"Editar link",unlink:"Remover link","visit-link":"Visitar link","link-address":"Endereço do link","link-open-type":"Abrir link em...","link-open-blank":"Nova janela","default-font-size":"Tamanho padrão da fonte","default-font-family":"Fonte padrão","codeblock-ai-auto-comment":"Comentário automático","codeblock-ai-code-explain":"Explicação do código","placeholder-tell-ai-what-to-do-next":"Diga à IA o que fazer a seguir, por exemplo, ajude-me a traduzir para o inglês","tip-you-can-enter-text-above-or-select-the-operation-below":"Dica: Você pode digitar o texto acima ou selecionar a operação abaixo","you-can-do-the-following":"Você pode fazer o seguinte:","improve-writing":"Melhorar escrita","check-spelling-and-grammar":"Verificar ortografia e gramática","make-shorter":"Encurtar","make-longer":"Alongar",translate:"Traduzir",summarize:"Resumir","ai-append":"Anexar","ai-replace":"Substituir","ai-cancel":"Cancelar","ai-continuation":"Sugestões de continuação","ai-optimization":"Otimização","ai-proofreading":"Revisão","ai-translation":"Tradução"},OL={default:"Predeterminado",delete:"Eliminar",confirm:"Confirmar",cancel:"Cancelar",resize:"Redimensionar",undo:"Deshacer",redo:"Rehacer",brush:"Pincel de formato",container:"Bloque resaltado",eraser:"Borrar formato",heading:"Texto/Título","font-family":"Fuente","font-size":"Tamaño de fuente",bold:"Negrita",italic:"Cursiva",underline:"Subrayado",strike:"Tachado",link:"Enlace","source-code":"Código fuente",code:"Código en línea",subscript:"Subíndice",superscript:"Superíndice",hr:"Línea divisoria",todo:"Lista de tareas",emoji:"Emoji",highlight:"Resaltar","font-color":"Color de fuente",align:"Alinear","line-height":"Altura de línea","bullet-list":"Lista desordenada","ordered-list":"Lista ordenada","indent-decrease":"Disminuir sangría","indent-increase":"Aumentar sangría",break:"Salto de línea",image:"Imagen",video:"Video",attachment:"Adjunto",quote:"Cita","code-block":"Bloque de código",table:"Tabla",printer:"Imprimir",fullscreen:"Pantalla completa",ai:"Inteligencia artificial","menu-group":"Grupo de menú",paragraph:"Párrafo",h1:"Encabezado 1",h2:"Encabezado 2",h3:"Encabezado 3",h4:"Encabezado 4",h5:"Encabezado 5",h6:"Encabezado 6",standardColors:"Colores estándar",historyColors:"Usado recientemente",insertTable:"Insertar tabla",row:"Fila",column:"Columna","align-left":"Alinear a la izquierda","align-right":"Alinear a la derecha","align-center":"Alinear al centro","align-justify":"Justificar","insert-column-left":"Insertar columna a la izquierda","insert-column-right":"Insertar columna a la derecha","insert-row-top":"Insertar fila arriba","insert-row-bottom":"Insertar fila abajo","delete-column":"Eliminar columna","delete-row":"Eliminar fila","merge-cells-horizontal":"Combinar celdas horizontalmente","merge-cells-vertical":"Combinar celdas verticalmente","split-cells-horizontal":"Dividir celdas horizontalmente","split-cells-vertical":"Dividir celdas verticalmente","delete-table":"Eliminar tabla","edit-link":"Editar enlace",unlink:"Eliminar enlace","visit-link":"Visitar enlace","link-address":"Dirección del enlace","link-open-type":"Tipo de apertura","link-open-blank":"Nueva ventana","default-font-size":"Tamaño de fuente predeterminado","default-font-family":"Fuente predeterminada","codeblock-ai-auto-comment":"Comentario automático","codeblock-ai-code-explain":"Explicación del código","placeholder-tell-ai-what-to-do-next":"Dile a la IA qué hacer a continuación. Ejemplo: Traducir al inglés","tip-you-can-enter-text-above-or-select-the-operation-below":"Sugerencia: Puedes ingresar el texto arriba o seleccionar una operación abajo","you-can-do-the-following":"Puedes hacer lo siguiente:","improve-writing":"Mejorar escritura","check-spelling-and-grammar":"Revisar ortografía y gramática","make-shorter":"Hacer más corto","make-longer":"Hacer más largo",translate:"Traducir",summarize:"Resumir","ai-append":"Añadir","ai-replace":"Reemplazar","ai-cancel":"Cancelar","ai-continuation":"Continuación con IA","ai-optimization":"Optimización con IA","ai-proofreading":"Corrección con IA","ai-translation":"Traducción con IA"},NL={default:"डिफ़ॉल्ट",delete:"हटाएं",confirm:"पुष्टि करें",cancel:"रद्द करें",resize:"आकार बदलें",undo:"पूर्ववत करें",redo:"फिर से करें",brush:"फॉर्मेट ब्रश",container:"हाइलाइट ब्लॉक",eraser:"फॉर्मेट साफ़ करें",heading:"पाठ/शीर्षक","font-family":"फ़ॉन्ट","font-size":"फ़ॉन्ट आकार",bold:"बोल्ड",italic:"इटैलिक",underline:"रेखांकन",strike:"स्ट्राइकथ्रू",link:"लिंक","source-code":"स्रोत कोड",code:"इनलाइन कोड",subscript:"सबस्क्रिप्ट",superscript:"सुपरस्क्रिप्ट",hr:"विभाजक रेखा",todo:"कार्य सूची",emoji:"इमोजी",highlight:"हाइलाइट","font-color":"फ़ॉन्ट रंग",align:"संरेखित करें","line-height":"लाइन हाइट","bullet-list":"बिना क्रम वाली सूची","ordered-list":"क्रमबद्ध सूची","indent-decrease":"इंडेंट घटाएं","indent-increase":"इंडेंट बढ़ाएं",break:"लाइन ब्रेक",image:"चित्र",video:"वीडियो",attachment:"अनुलग्नक",quote:"उद्धरण","code-block":"कोड ब्लॉक",table:"तालिका",printer:"प्रिंट करें",fullscreen:"पूर्ण स्क्रीन",ai:"कृत्रिम बुद्धिमत्ता","menu-group":"मेनू समूह",paragraph:"पैराग्राफ",h1:"शीर्षक 1",h2:"शीर्षक 2",h3:"शीर्षक 3",h4:"शीर्षक 4",h5:"शीर्षक 5",h6:"शीर्षक 6",standardColors:"मानक रंग",historyColors:"हालिया रंग",insertTable:"तालिका सम्मिलित करें",row:"पंक्ति",column:"स्तंभ","align-left":"बाएं संरेखित","align-right":"दाएं संरेखित","align-center":"केंद्र संरेखित","align-justify":"दोनों तरफ संरेखित","insert-column-left":"बाईं ओर स्तंभ जोड़ें","insert-column-right":"दाईं ओर स्तंभ जोड़ें","insert-row-top":"ऊपर पंक्ति जोड़ें","insert-row-bottom":"नीचे पंक्ति जोड़ें","delete-column":"स्तंभ हटाएं","delete-row":"पंक्ति हटाएं","merge-cells-horizontal":"सेलों को क्षैतिज मिलाएं","merge-cells-vertical":"सेलों को लंबवत मिलाएं","split-cells-horizontal":"सेलों को क्षैतिज विभाजित करें","split-cells-vertical":"सेलों को लंबवत विभाजित करें","delete-table":"तालिका हटाएं","edit-link":"लिंक संपादित करें",unlink:"लिंक हटाएं","visit-link":"लिंक पर जाएं","link-address":"लिंक पता","link-open-type":"लिंक खोलने का प्रकार","link-open-blank":"नई विंडो","default-font-size":"डिफ़ॉल्ट फ़ॉन्ट आकार","default-font-family":"डिफ़ॉल्ट फ़ॉन्ट","codeblock-ai-auto-comment":"स्वचालित टिप्पणी","codeblock-ai-code-explain":"कोड व्याख्या","placeholder-tell-ai-what-to-do-next":"AI को बताएं कि अगला कदम क्या होना चाहिए? उदाहरण: कृपया इसे अंग्रेजी में अनुवाद करें","tip-you-can-enter-text-above-or-select-the-operation-below":"सुझाव: आप ऊपर टेक्स्ट दर्ज कर सकते हैं या नीचे दिए गए ऑपरेशन का चयन कर सकते हैं","you-can-do-the-following":"आप निम्नलिखित कर सकते हैं:","improve-writing":"लेखन सुधारें","check-spelling-and-grammar":"वर्तनी और व्याकरण जांचें","make-shorter":"छोटा करें","make-longer":"लंबा करें",translate:"अनुवाद करें",summarize:"सारांश","ai-append":"जोड़ें","ai-replace":"बदलें","ai-cancel":"रद्द करें","ai-continuation":"AI जारी रखें","ai-optimization":"AI अनुकूलन","ai-proofreading":"AI प्रूफरीडिंग","ai-translation":"AI अनुवाद"},AL={default:"Default",delete:"Hapus",confirm:"Konfirmasi",cancel:"Batal",resize:"Ubah ukuran",undo:"Batalkan",redo:"Ulangi",brush:"Kuas format",container:"Blok sorot",eraser:"Hapus format",heading:"Teks/Judul","font-family":"Font","font-size":"Ukuran font",bold:"Tebal",italic:"Miring",underline:"Garis bawah",strike:"Garis coret",link:"Tautan","source-code":"Kode sumber",code:"Kode dalam baris",subscript:"Subskrip",superscript:"Superskrip",hr:"Garis pemisah",todo:"Daftar tugas",emoji:"Emoji",highlight:"Sorot","font-color":"Warna font",align:"Rata","line-height":"Tinggi baris","bullet-list":"Daftar tak berurut","ordered-list":"Daftar berurut","indent-decrease":"Kurangi inden","indent-increase":"Tambah inden",break:"Pecah baris",image:"Gambar",video:"Video",attachment:"Lampiran",quote:"Kutipan","code-block":"Blok kode",table:"Tabel",printer:"Cetak",fullscreen:"Layar penuh",ai:"Kecerdasan buatan","menu-group":"Grup menu",paragraph:"Teks",h1:"Judul 1",h2:"Judul 2",h3:"Judul 3",h4:"Judul 4",h5:"Judul 5",h6:"Judul 6",standardColors:"Warna standar",historyColors:"Warna terbaru",insertTable:"Sisipkan tabel",row:"Baris",column:"Kolom","align-left":"Rata kiri","align-right":"Rata kanan","align-center":"Rata tengah","align-justify":"Rata kedua sisi","insert-column-left":"Sisipkan kolom di kiri","insert-column-right":"Sisipkan kolom di kanan","insert-row-top":"Sisipkan baris di atas","insert-row-bottom":"Sisipkan baris di bawah","delete-column":"Hapus kolom","delete-row":"Hapus baris","merge-cells-horizontal":"Gabungkan sel horizontal","merge-cells-vertical":"Gabungkan sel vertikal","split-cells-horizontal":"Pisahkan sel horizontal","split-cells-vertical":"Pisahkan sel vertikal","delete-table":"Hapus tabel","edit-link":"Edit tautan",unlink:"Hapus tautan","visit-link":"Kunjungi tautan","link-address":"Alamat tautan","link-open-type":"Jenis pembukaan tautan","link-open-blank":"Jendela baru","default-font-size":"Ukuran font","default-font-family":"Font default","codeblock-ai-auto-comment":"Komentar otomatis","codeblock-ai-code-explain":"Penjelasan kode","placeholder-tell-ai-what-to-do-next":"Beritahu AI langkah berikutnya? Contoh: Bantu saya terjemahkan ke bahasa Inggris","tip-you-can-enter-text-above-or-select-the-operation-below":"Tip: Anda bisa memasukkan teks di atas atau memilih operasi di bawah","you-can-do-the-following":"Anda dapat melakukan hal-hal berikut:","improve-writing":"Tingkatkan tulisan","check-spelling-and-grammar":"Periksa ejaan dan tata bahasa","make-shorter":"Buat lebih singkat","make-longer":"Buat lebih panjang",translate:"Terjemahkan",summarize:"Ringkas","ai-append":"Tambahkan","ai-replace":"Ganti","ai-cancel":"Batalkan","ai-continuation":"AI Lanjutkan","ai-optimization":"AI Optimasi","ai-proofreading":"AI Koreksi","ai-translation":"AI Terjemahan"},IL={default:"デフォルト",delete:"削除",confirm:"確認",cancel:"キャンセル",resize:"サイズ調整",undo:"元に戻す",redo:"やり直す",brush:"フォーマットブラシ",container:"ハイライトブロック",eraser:"フォーマットクリア",heading:"テキスト/見出し","font-family":"フォント","font-size":"フォントサイズ",bold:"太字",italic:"斜体",underline:"下線",strike:"取り消し線",link:"リンク","source-code":"ソースコード",code:"インラインコード",subscript:"下付き文字",superscript:"上付き文字",hr:"区切り線",todo:"タスクリスト",emoji:"絵文字",highlight:"ハイライト","font-color":"フォントカラー",align:"配置","line-height":"行の高さ","bullet-list":"箇条書きリスト","ordered-list":"番号付きリスト","indent-decrease":"インデントを減らす","indent-increase":"インデントを増やす",break:"改行",image:"画像",video:"ビデオ",attachment:"添付ファイル",quote:"引用","code-block":"コードブロック",table:"テーブル",printer:"印刷",fullscreen:"全画面",ai:"AI","menu-group":"メニューグループ",paragraph:"段落",h1:"見出し 1",h2:"見出し 2",h3:"見出し 3",h4:"見出し 4",h5:"見出し 5",h6:"見出し 6",standardColors:"標準色",historyColors:"最近使用した色",insertTable:"テーブル挿入",row:"行",column:"列","align-left":"左揃え","align-right":"右揃え","align-center":"中央揃え","align-justify":"両端揃え","insert-column-left":"左に列を挿入","insert-column-right":"右に列を挿入","insert-row-top":"上に行を挿入","insert-row-bottom":"下に行を挿入","delete-column":"列を削除","delete-row":"行を削除","merge-cells-horizontal":"セルを横に結合","merge-cells-vertical":"セルを縦に結合","split-cells-horizontal":"セルを横に分割","split-cells-vertical":"セルを縦に分割","delete-table":"テーブルを削除","edit-link":"リンク編集",unlink:"リンク解除","visit-link":"リンクを訪問","link-address":"リンクアドレス","link-open-type":"開き方","link-open-blank":"新しいウィンドウで開く","default-font-size":"デフォルトフォントサイズ","default-font-family":"デフォルトフォント","codeblock-ai-auto-comment":"自動コメント","codeblock-ai-code-explain":"コードの説明","placeholder-tell-ai-what-to-do-next":"次にAIに何をさせるか教えてください。例:英語に翻訳して","tip-you-can-enter-text-above-or-select-the-operation-below":"ヒント:上にテキストを入力するか、下の操作を選択できます","you-can-do-the-following":"次の操作ができます:","improve-writing":"文章を改善","check-spelling-and-grammar":"スペルと文法のチェック","make-shorter":"短くする","make-longer":"長くする",translate:"翻訳",summarize:"要約","ai-append":"追加","ai-replace":"置換","ai-cancel":"キャンセル","ai-continuation":"AI継続","ai-optimization":"AI最適化","ai-proofreading":"AI校正","ai-translation":"AI翻訳"},xL={default:"기본값",delete:"삭제",confirm:"확인",cancel:"취소",resize:"크기 조정",undo:"실행 취소",redo:"다시 실행",brush:"형식 브러시",container:"강조 블록",eraser:"서식 지우기",heading:"본문/제목","font-family":"글꼴","font-size":"글꼴 크기",bold:"굵게",italic:"기울임꼴",underline:"밑줄",strike:"취소선",link:"링크","source-code":"소스 코드",code:"인라인 코드",subscript:"아래 첨자",superscript:"위 첨자",hr:"구분선",todo:"할 일 목록",emoji:"이모지",highlight:"강조","font-color":"글꼴 색상",align:"정렬","line-height":"줄 간격","bullet-list":"글머리 기호 목록","ordered-list":"번호 목록","indent-decrease":"들여쓰기 줄이기","indent-increase":"들여쓰기 늘리기",break:"줄바꿈",image:"이미지",video:"비디오",attachment:"첨부 파일",quote:"인용","code-block":"코드 블록",table:"테이블",printer:"인쇄",fullscreen:"전체 화면",ai:"AI","menu-group":"메뉴 그룹",paragraph:"본문",h1:"제목 1",h2:"제목 2",h3:"제목 3",h4:"제목 4",h5:"제목 5",h6:"제목 6",standardColors:"표준 색상",historyColors:"최근 사용 색상",insertTable:"테이블 삽입",row:"행",column:"열","align-left":"왼쪽 정렬","align-right":"오른쪽 정렬","align-center":"가운데 정렬","align-justify":"양쪽 맞춤","insert-column-left":"왼쪽에 열 삽입","insert-column-right":"오른쪽에 열 삽입","insert-row-top":"위쪽에 행 삽입","insert-row-bottom":"아래쪽에 행 삽입","delete-column":"열 삭제","delete-row":"행 삭제","merge-cells-horizontal":"셀 병합","merge-cells-vertical":"셀 세로 병합","split-cells-horizontal":"셀 가로 분할","split-cells-vertical":"셀 세로 분할","delete-table":"테이블 삭제","edit-link":"링크 편집",unlink:"링크 해제","visit-link":"링크 방문","link-address":"링크 주소","link-open-type":"열기 유형","link-open-blank":"새 창","default-font-size":"기본 글꼴 크기","default-font-family":"기본 글꼴","codeblock-ai-auto-comment":"자동 주석","codeblock-ai-code-explain":"코드 설명","placeholder-tell-ai-what-to-do-next":"AI에게 다음 작업을 지시하세요. 예: 영어로 번역해 주세요","tip-you-can-enter-text-above-or-select-the-operation-below":"팁: 위에 텍스트를 입력하거나 아래 작업을 선택할 수 있습니다","you-can-do-the-following":"다음 작업을 수행할 수 있습니다:","improve-writing":"글쓰기 개선","check-spelling-and-grammar":"철자 및 문법 검사","make-shorter":"짧게 만들기","make-longer":"길게 만들기",translate:"번역",summarize:"요약","ai-append":"추가","ai-replace":"대체","ai-cancel":"취소","ai-continuation":"AI 계속","ai-optimization":"AI 최적화","ai-proofreading":"AI 교정","ai-translation":"AI 번역"},DL={default:"ค่าเริ่มต้น",delete:"ลบ",confirm:"ยืนยัน",cancel:"ยกเลิก",resize:"ปรับขนาด",undo:"เลิกทำ",redo:"ทำซ้ำ",brush:"แปรงรูปแบบ",container:"บล็อกไฮไลท์",eraser:"ล้างรูปแบบ",heading:"ข้อความ/หัวข้อ","font-family":"แบบอักษร","font-size":"ขนาดตัวอักษร",bold:"ตัวหนา",italic:"ตัวเอียง",underline:"ขีดเส้นใต้",strike:"ขีดฆ่า",link:"ลิงก์","source-code":"โค้ดต้นฉบับ",code:"โค้ดในบรรทัด",subscript:"ตัวห้อย",superscript:"ตัวยก",hr:"เส้นแบ่ง",todo:"รายการสิ่งที่ต้องทำ",emoji:"อีโมจิ",highlight:"ไฮไลท์","font-color":"สีตัวอักษร",align:"จัดแนว","line-height":"ความสูงบรรทัด","bullet-list":"รายการจุด","ordered-list":"รายการลำดับ","indent-decrease":"ลดการเยื้อง","indent-increase":"เพิ่มการเยื้อง",break:"ขึ้นบรรทัดใหม่",image:"รูปภาพ",video:"วิดีโอ",attachment:"ไฟล์แนบ",quote:"อ้างอิง","code-block":"บล็อกโค้ด",table:"ตาราง",printer:"พิมพ์",fullscreen:"เต็มจอ",ai:"ปัญญาประดิษฐ์","menu-group":"กลุ่มเมนู",paragraph:"ข้อความ",h1:"หัวข้อ 1",h2:"หัวข้อ 2",h3:"หัวข้อ 3",h4:"หัวข้อ 4",h5:"หัวข้อ 5",h6:"หัวข้อ 6",standardColors:"สีมาตรฐาน",historyColors:"ใช้ล่าสุด",insertTable:"แทรกตาราง",row:"แถว",column:"คอลัมน์","align-left":"จัดชิดซ้าย","align-right":"จัดชิดขวา","align-center":"จัดกึ่งกลาง","align-justify":"จัดเต็มหน้า","insert-column-left":"แทรกคอลัมน์ด้านซ้าย","insert-column-right":"แทรกคอลัมน์ด้านขวา","insert-row-top":"แทรกแถวด้านบน","insert-row-bottom":"แทรกแถวด้านล่าง","delete-column":"ลบคอลัมน์","delete-row":"ลบแถว","merge-cells-horizontal":"ผสานเซลล์ตามแนวนอน","merge-cells-vertical":"ผสานเซลล์ตามแนวตั้ง","split-cells-horizontal":"แยกเซลล์แนวนอน","split-cells-vertical":"แยกเซลล์แนวตั้ง","delete-table":"ลบตาราง","edit-link":"แก้ไขลิงก์",unlink:"ยกเลิกการเชื่อมโยง","visit-link":"เยี่ยมชมลิงก์","link-address":"ที่อยู่ลิงก์","link-open-type":"วิธีการเปิด","link-open-blank":"หน้าต่างใหม่","default-font-size":"ขนาดตัวอักษร","default-font-family":"แบบอักษรเริ่มต้น","codeblock-ai-auto-comment":"คอมเมนต์อัตโนมัติ","codeblock-ai-code-explain":"อธิบายโค้ด","placeholder-tell-ai-what-to-do-next":"บอก AI ว่าต้องทำอะไรต่อไป เช่น ช่วยแปลเป็นภาษาอังกฤษ","tip-you-can-enter-text-above-or-select-the-operation-below":"เคล็ดลับ: คุณสามารถป้อนข้อความข้างบนหรือเลือกการดำเนินการด้านล่าง","you-can-do-the-following":"คุณสามารถทำสิ่งต่อไปนี้:","improve-writing":"ปรับปรุงการเขียน","check-spelling-and-grammar":"ตรวจสอบการสะกดและไวยากรณ์","make-shorter":"ทำให้สั้นลง","make-longer":"ทำให้ยาวขึ้น",translate:"แปล",summarize:"สรุป","ai-append":"เพิ่ม","ai-replace":"แทนที่","ai-cancel":"ยกเลิก","ai-continuation":"AI เขียนต่อ","ai-optimization":"AI ปรับแต่ง","ai-proofreading":"AI พิสูจน์อักษร","ai-translation":"AI แปล"},ML={default:"Mặc định",delete:"Xóa",confirm:"Xác nhận",cancel:"Hủy",resize:"Điều chỉnh kích thước",undo:"Hoàn tác",redo:"Làm lại",brush:"Chổi định dạng",container:"Khối nổi bật",eraser:"Xóa định dạng",heading:"Nội dung/Đầu đề","font-family":"Phông chữ","font-size":"Cỡ chữ",bold:"In đậm",italic:"In nghiêng",underline:"Gạch chân",strike:"Gạch ngang",link:"Liên kết","source-code":"Mã nguồn",code:"Mã trong dòng",subscript:"Chỉ số dưới",superscript:"Chỉ số trên",hr:"Đường phân cách",todo:"Danh sách công việc",emoji:"Biểu tượng cảm xúc",highlight:"Đánh dấu","font-color":"Màu chữ",align:"Căn chỉnh","line-height":"Chiều cao dòng","bullet-list":"Danh sách dấu chấm","ordered-list":"Danh sách có thứ tự","indent-decrease":"Giảm thụt lề","indent-increase":"Tăng thụt lề",break:"Xuống dòng",image:"Hình ảnh",video:"Video",attachment:"Tệp đính kèm",quote:"Trích dẫn","code-block":"Khối mã",table:"Bảng",printer:"In",fullscreen:"Toàn màn hình",ai:"Trí tuệ nhân tạo","menu-group":"Nhóm menu",paragraph:"Nội dung",h1:"Tiêu đề 1",h2:"Tiêu đề 2",h3:"Tiêu đề 3",h4:"Tiêu đề 4",h5:"Tiêu đề 5",h6:"Tiêu đề 6",standardColors:"Màu tiêu chuẩn",historyColors:"Màu đã dùng gần đây",insertTable:"Chèn bảng",row:"Hàng",column:"Cột","align-left":"Căn trái","align-right":"Căn phải","align-center":"Căn giữa","align-justify":"Căn đều","insert-column-left":"Chèn cột bên trái","insert-column-right":"Chèn cột bên phải","insert-row-top":"Chèn hàng phía trên","insert-row-bottom":"Chèn hàng phía dưới","delete-column":"Xóa cột hiện tại","delete-row":"Xóa hàng hiện tại","merge-cells-horizontal":"Gộp ô ngang","merge-cells-vertical":"Gộp ô dọc","split-cells-horizontal":"Tách ô ngang","split-cells-vertical":"Tách ô dọc","delete-table":"Xóa bảng","edit-link":"Chỉnh sửa liên kết",unlink:"Hủy liên kết","visit-link":"Truy cập liên kết","link-address":"Địa chỉ liên kết","link-open-type":"Cách mở liên kết","link-open-blank":"Cửa sổ mới","default-font-size":"Cỡ chữ","default-font-family":"Phông chữ mặc định","codeblock-ai-auto-comment":"Nhận xét tự động","codeblock-ai-code-explain":"Giải thích mã","placeholder-tell-ai-what-to-do-next":"Nói với AI bước tiếp theo là gì? Ví dụ: Giúp tôi dịch sang tiếng Anh","tip-you-can-enter-text-above-or-select-the-operation-below":"Mẹo: Bạn có thể nhập văn bản phía trên hoặc chọn thao tác bên dưới","you-can-do-the-following":"Bạn có thể thực hiện các thao tác sau:","improve-writing":"Cải thiện bài viết","check-spelling-and-grammar":"Kiểm tra chính tả và ngữ pháp","make-shorter":"Rút gọn","make-longer":"Mở rộng nội dung",translate:"Dịch",summarize:"Tóm tắt","ai-append":"Thêm vào","ai-replace":"Thay thế","ai-cancel":"Hủy","ai-continuation":"AI Viết tiếp","ai-optimization":"AI Tối ưu hóa","ai-proofreading":"AI Hiệu đính","ai-translation":"AI Dịch"},F_={};function wL(t){let e=F_[t];if(e)return e;e=F_[t]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);e.push(r)}for(let n=0;n=55296&&u<=57343?i+="���":i+=String.fromCharCode(u),o+=6;continue}}if((s&248)===240&&o+91114111?i+="����":(d-=65536,i+=String.fromCharCode(55296+(d>>10),56320+(d&1023))),o+=9;continue}}i+="�"}return i})}di.defaultChars=";/?:@&=+$,#";di.componentChars="";const B_={};function LL(t){let e=B_[t];if(e)return e;e=B_[t]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);/^[0-9a-z]$/i.test(r)?e.push(r):e.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2))}for(let n=0;n"u"&&(n=!0);const r=LL(e);let i="";for(let o=0,a=t.length;o=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1=56320&&l<=57343){i+=encodeURIComponent(t[o]+t[o+1]),o++;continue}}i+="%EF%BF%BD";continue}i+=encodeURIComponent(t[o])}return i}So.defaultChars=";/?:@&=+$,-_.!~*'()#";So.componentChars="-_.!~*'()";function bu(t){let e="";return e+=t.protocol||"",e+=t.slashes?"//":"",e+=t.auth?t.auth+"@":"",t.hostname&&t.hostname.indexOf(":")!==-1?e+="["+t.hostname+"]":e+=t.hostname||"",e+=t.port?":"+t.port:"",e+=t.pathname||"",e+=t.search||"",e+=t.hash||"",e}function Ka(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const kL=/^([a-z0-9.+-]+:)/i,PL=/:[0-9]*$/,FL=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,BL=["<",">",'"',"`"," ","\r",` -`," "],UL=["{","}","|","\\","^","`"].concat(BL),HL=["'"].concat(UL),U_=["%","/","?",";","#"].concat(HL),H_=["/","?","#"],GL=255,G_=/^[+a-z0-9A-Z_-]{0,63}$/,VL=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,V_={javascript:!0,"javascript:":!0},Y_={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Tu(t,e){if(t&&t instanceof Ka)return t;const n=new Ka;return n.parse(t,e),n}Ka.prototype.parse=function(t,e){let n,r,i,o=t;if(o=o.trim(),!e&&t.split("#").length===1){const c=FL.exec(o);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}let a=kL.exec(o);if(a&&(a=a[0],n=a.toLowerCase(),this.protocol=a,o=o.substr(a.length)),(e||a||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=o.substr(0,2)==="//",i&&!(a&&V_[a])&&(o=o.substr(2),this.slashes=!0)),!V_[a]&&(i||a&&!Y_[a])){let c=-1;for(let m=0;m127?S+="x":S+=E[b];if(!S.match(G_)){const b=m.slice(0,f),h=m.slice(f+1),C=E.match(VL);C&&(b.push(C[1]),h.unshift(C[2])),h.length&&(o=h.join(".")+o),this.hostname=b.join(".");break}}}}this.hostname.length>GL&&(this.hostname=""),_&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const s=o.indexOf("#");s!==-1&&(this.hash=o.substr(s),o=o.slice(0,s));const l=o.indexOf("?");return l!==-1&&(this.search=o.substr(l),o=o.slice(0,l)),o&&(this.pathname=o),Y_[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Ka.prototype.parseHost=function(t){let e=PL.exec(t);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};const YL=Object.freeze(Object.defineProperty({__proto__:null,decode:di,encode:So,format:bu,parse:Tu},Symbol.toStringTag,{value:"Module"})),kh=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Ph=/[\0-\x1F\x7F-\x9F]/,zL=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,Cu=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Fh=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,Bh=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,$L=Object.freeze(Object.defineProperty({__proto__:null,Any:kh,Cc:Ph,Cf:zL,P:Cu,S:Fh,Z:Bh},Symbol.toStringTag,{value:"Module"})),qL=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(t=>t.charCodeAt(0))),WL=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(t=>t.charCodeAt(0)));var Sl;const KL=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),QL=(Sl=String.fromCodePoint)!==null&&Sl!==void 0?Sl:function(t){let e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|t&1023),e+=String.fromCharCode(t),e};function ZL(t){var e;return t>=55296&&t<=57343||t>1114111?65533:(e=KL.get(t))!==null&&e!==void 0?e:t}var Ye;(function(t){t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z"})(Ye||(Ye={}));const XL=32;var Fn;(function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"})(Fn||(Fn={}));function gc(t){return t>=Ye.ZERO&&t<=Ye.NINE}function jL(t){return t>=Ye.UPPER_A&&t<=Ye.UPPER_F||t>=Ye.LOWER_A&&t<=Ye.LOWER_F}function JL(t){return t>=Ye.UPPER_A&&t<=Ye.UPPER_Z||t>=Ye.LOWER_A&&t<=Ye.LOWER_Z||gc(t)}function ek(t){return t===Ye.EQUALS||JL(t)}var Ve;(function(t){t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity"})(Ve||(Ve={}));var xn;(function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"})(xn||(xn={}));class tk{constructor(e,n,r){this.decodeTree=e,this.emitCodePoint=n,this.errors=r,this.state=Ve.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=xn.Strict}startEntity(e){this.decodeMode=e,this.state=Ve.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,n){switch(this.state){case Ve.EntityStart:return e.charCodeAt(n)===Ye.NUM?(this.state=Ve.NumericStart,this.consumed+=1,this.stateNumericStart(e,n+1)):(this.state=Ve.NamedEntity,this.stateNamedEntity(e,n));case Ve.NumericStart:return this.stateNumericStart(e,n);case Ve.NumericDecimal:return this.stateNumericDecimal(e,n);case Ve.NumericHex:return this.stateNumericHex(e,n);case Ve.NamedEntity:return this.stateNamedEntity(e,n)}}stateNumericStart(e,n){return n>=e.length?-1:(e.charCodeAt(n)|XL)===Ye.LOWER_X?(this.state=Ve.NumericHex,this.consumed+=1,this.stateNumericHex(e,n+1)):(this.state=Ve.NumericDecimal,this.stateNumericDecimal(e,n))}addToNumericResult(e,n,r,i){if(n!==r){const o=r-n;this.result=this.result*Math.pow(i,o)+parseInt(e.substr(n,o),i),this.consumed+=o}}stateNumericHex(e,n){const r=n;for(;n>14;for(;n>14,o!==0){if(a===Ye.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==xn.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:n,decodeTree:r}=this,i=(r[n]&Fn.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,i,this.consumed),(e=this.errors)===null||e===void 0||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,n,r){const{decodeTree:i}=this;return this.emitCodePoint(n===1?i[e]&~Fn.VALUE_LENGTH:i[e+1],r),n===3&&this.emitCodePoint(i[e+2],r),r}end(){var e;switch(this.state){case Ve.NamedEntity:return this.result!==0&&(this.decodeMode!==xn.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Ve.NumericDecimal:return this.emitNumericEntity(0,2);case Ve.NumericHex:return this.emitNumericEntity(0,3);case Ve.NumericStart:return(e=this.errors)===null||e===void 0||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Ve.EntityStart:return 0}}}function Uh(t){let e="";const n=new tk(t,r=>e+=QL(r));return function(i,o){let a=0,s=0;for(;(s=i.indexOf("&",s))>=0;){e+=i.slice(a,s),n.startEntity(o);const c=n.write(i,s+1);if(c<0){a=s+n.end();break}a=s+c,s=c===0?a+1:a}const l=e+i.slice(a);return e="",l}}function nk(t,e,n,r){const i=(e&Fn.BRANCH_LENGTH)>>7,o=e&Fn.JUMP_TABLE;if(i===0)return o!==0&&r===o?n:-1;if(o){const l=r-o;return l<0||l>=i?-1:t[n+l]-1}let a=n,s=a+i-1;for(;a<=s;){const l=a+s>>>1,c=t[l];if(cr)s=l-1;else return t[l+i]}return-1}const rk=Uh(qL);Uh(WL);function Hh(t,e=xn.Legacy){return rk(t,e)}function ik(t){return Object.prototype.toString.call(t)}function yu(t){return ik(t)==="[object String]"}const ok=Object.prototype.hasOwnProperty;function ak(t,e){return ok.call(t,e)}function Os(t){return Array.prototype.slice.call(arguments,1).forEach(function(n){if(n){if(typeof n!="object")throw new TypeError(n+"must be object");Object.keys(n).forEach(function(r){t[r]=n[r]})}}),t}function Gh(t,e,n){return[].concat(t.slice(0,e),n,t.slice(e+1))}function vu(t){return!(t>=55296&&t<=57343||t>=64976&&t<=65007||(t&65535)===65535||(t&65535)===65534||t>=0&&t<=8||t===11||t>=14&&t<=31||t>=127&&t<=159||t>1114111)}function Qa(t){if(t>65535){t-=65536;const e=55296+(t>>10),n=56320+(t&1023);return String.fromCharCode(e,n)}return String.fromCharCode(t)}const Vh=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,sk=/&([a-z#][a-z0-9]{1,31});/gi,lk=new RegExp(Vh.source+"|"+sk.source,"gi"),ck=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function uk(t,e){if(e.charCodeAt(0)===35&&ck.test(e)){const r=e[1].toLowerCase()==="x"?parseInt(e.slice(2),16):parseInt(e.slice(1),10);return vu(r)?Qa(r):t}const n=Hh(t);return n!==t?n:t}function dk(t){return t.indexOf("\\")<0?t:t.replace(Vh,"$1")}function pi(t){return t.indexOf("\\")<0&&t.indexOf("&")<0?t:t.replace(lk,function(e,n,r){return n||uk(e,r)})}const pk=/[&<>"]/,_k=/[&<>"]/g,mk={"&":"&","<":"<",">":">",'"':"""};function fk(t){return mk[t]}function zn(t){return pk.test(t)?t.replace(_k,fk):t}const gk=/[.?*+^$[\]\\(){}|-]/g;function hk(t){return t.replace(gk,"\\$&")}function Oe(t){switch(t){case 9:case 32:return!0}return!1}function so(t){if(t>=8192&&t<=8202)return!0;switch(t){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function lo(t){return Cu.test(t)||Fh.test(t)}function co(t){switch(t){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Ns(t){return t=t.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(t=t.replace(/ẞ/g,"ß")),t.toLowerCase().toUpperCase()}const Ek={mdurl:YL,ucmicro:$L},Sk=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:Gh,assign:Os,escapeHtml:zn,escapeRE:hk,fromCodePoint:Qa,has:ak,isMdAsciiPunct:co,isPunctChar:lo,isSpace:Oe,isString:yu,isValidEntityCode:vu,isWhiteSpace:so,lib:Ek,normalizeReference:Ns,unescapeAll:pi,unescapeMd:dk},Symbol.toStringTag,{value:"Module"}));function bk(t,e,n){let r,i,o,a;const s=t.posMax,l=t.pos;for(t.pos=e+1,r=1;t.pos32))return o;if(r===41){if(a===0)break;a--}i++}return e===i||a!==0||(o.str=pi(t.slice(e,i)),o.pos=i,o.ok=!0),o}function Ck(t,e,n,r){let i,o=e;const a={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(r)a.str=r.str,a.marker=r.marker;else{if(o>=n)return a;let s=t.charCodeAt(o);if(s!==34&&s!==39&&s!==40)return a;e++,o++,s===40&&(s=41),a.marker=s}for(;o"+zn(o.content)+""};an.code_block=function(t,e,n,r,i){const o=t[e];return""+zn(t[e].content)+` + `,t.addEventListener("click",o=>{const a=o.target.closest(".item");if(a){const s=Number(a.getAttribute("data-index"));r.command({index:s,aiItem:s>11?r.items[s-12]:null})}})};return{onStart:o=>{t=document.createElement("div"),t.classList.add("suggestion"),r=o,o.clientRect&&(i(),e=we("body",{getReferenceClientRect:o.clientRect,appendTo:()=>o.editor.view.dom.closest(".aie-container"),content:t,showOnCreate:!0,interactive:!0,allowHTML:!0,trigger:"manual",placement:"right-start",arrow:!1}))},onUpdate(o){r=o,o.clientRect&&e[0].setProps({getReferenceClientRect:o.clientRect})},onKeyDown(o){return o.event.key==="Escape"?(e[0].hide(),!0):o.event.key==="ArrowUp"?(n<6?n=11+r.items.length:n<=11?n-=6:(n-=1,n<0&&(n=11+r.items.length)),i(),!0):o.event.key==="ArrowDown"?(n<6?n+=6:n<11?n=12:(n+=1,n>11+r.items.length&&(n=0)),i(),!0):o.event.key==="ArrowLeft"?(n-=1,n<0&&(n=11+r.items.length),i(),!0):o.event.key==="ArrowRight"?(n+=1,n>11+r.items.length&&(n=0),i(),!0):o.event.key==="Enter"?(r.command({index:n,aiItem:n>11?r.items[n-12]:null}),!0):!1},onExit(){e[0].destroy(),t.remove()}}}}}},addProseMirrorPlugins(){return[Fg({editor:this.editor,...this.options.suggestion})]}}),mL=he.create({addProseMirrorPlugins(){const t=this.editor;return[new Se({key:new ve("selection-marker"),props:{decorations(e){return e.selection.empty||t.isFocused||!t.isEditable?null:be.create(e.doc,[ke.inline(e.selection.from,e.selection.to,{class:"selection-marker"})])}}})]}});function Bg(t,e,n){function r(p){return p.trim().split(" ",2)[0]===e}function i(p,_,m,f,h){return p[_].nesting===1&&p[_].attrJoin("class",e),h.renderToken(p,_,m,f,h)}n=n||{};const o=3,a=n.marker||":",s=a.charCodeAt(0),l=a.length,c=n.validate||r,u=n.render||i;function d(p,_,m,f){let h,E=!1,S=p.bMarks[_]+p.tShift[_],b=p.eMarks[_];if(s!==p.src.charCodeAt(S))return!1;for(h=S+1;h<=b&&a[(h-S)%l]===p.src[h];h++);const g=Math.floor((h-S)/l);if(g=m||(S=p.bMarks[R]+p.tShift[R],b=p.eMarks[R],S=4)){for(h=S+1;h<=b&&a[(h-S)%l]===p.src[h];h++);if(!(Math.floor((h-S)/l){this.options.classes.forEach(e=>{t.use(Bg,e)})}}}}},addAttributes(){return{containerClass:{default:null,parseHTML:t=>[...t.classList].find(e=>this.options.classes.includes(e)),renderHTML:t=>({class:t.containerClass})}}},parseHTML(){return[{tag:"div",getAttrs:t=>{const e=t,n=["container-wrapper"].concat(this.options.classes);return[...e.classList].find(r=>n.includes(r))?null:!1}}]},renderHTML({HTMLAttributes:t}){return["div",pe(this.options.HTMLAttributes,t),0]},addCommands(){return{setContainer:t=>({commands:e})=>e.wrapIn(this.name,{containerClass:t}),toggleContainer:t=>({commands:e})=>e.toggleWrap(this.name,{containerClass:t}),unsetContainer:()=>({commands:t})=>t.lift(this.name)}},addInputRules(){return[Sr({find:fL,type:this.type,getAttributes:t=>({containerClass:t[1]})})]}}),gL=Th.extend({addAttributes(){var t;return{...(t=this.parent)==null?void 0:t.call(this),id:{default:null}}}}),EL=he.create({name:"saveExt",addKeyboardShortcuts(){return{"Mod-s":({editor:t})=>this.options.onSave?this.options.onSave(t.aiEditor):!1}}}),SL=Ne.create({name:"figure",content:"block+",group:"block",defining:!0,draggable:!0,selectable:!0,addOptions(){return{HTMLAttributes:{dir:"auto"}}},parseHTML(){return[{tag:"figure"}]},renderHTML({HTMLAttributes:t}){return["figure",pe(this.options.HTMLAttributes,t),0]}}),bL=Ne.create({name:"figcaption",content:"inline*",group:"block",defining:!0,addOptions(){return{HTMLAttributes:{dir:"auto"}}},parseHTML(){return[{tag:"figcaption"}]},renderHTML({HTMLAttributes:t}){return["figcaption",pe(this.options.HTMLAttributes,t),0]}}),TL=(t,e)=>{const n=new RegExp(`<${e}[^>]*>(.*?)`,"gi");return t.replace(n,(r,i)=>i)},CL=(t,e)=>{for(let n of e)t=TL(t,n);return t},yL=(t,e,n)=>{function r(u){const d=document.createDocumentFragment();for(;u.firstChild;){const p=u.removeChild(u.firstChild),_=i(p);_&&d.appendChild(_)}return d}function i(u){var d;if(u.nodeType===Node.ELEMENT_NODE){const p=u;if(e.includes(p.tagName.toLowerCase())){if(!(((d=p.textContent)==null?void 0:d.trim())||""))return p;for(;p.attributes.length>0;)p.removeAttribute(p.attributes[0].name);return p.appendChild(r(p)),p}else return r(p)}else if(u.nodeType===Node.TEXT_NODE&&u.textContent&&u.textContent.trim().length>0)return u;return null}function o(u){const d=u.querySelectorAll("br");for(let p=0;pE.appendChild(S)),_.replaceWith(E),m.remove(),p++}}}t=t.replace(/(\n)/gm," ");const s=new DOMParser().parseFromString(t,"text/html"),l=i(s.body),c=document.createElement("div");return l&&(c.appendChild(l),o(c)),c.innerHTML},vL=t=>{var i;const e=t.documentElement.getAttributeNames();if(e&&e.length>0)for(let o of e){const a=t.documentElement.getAttribute(o);if(a!=null&&a.includes("microsoft")||a!=null&&a.includes("excel"))return!0}let n=t.getElementsByTagName("meta");for(let o of n){let a=o.getAttribute("name"),s=o.getAttribute("content");if(a&&a.toLowerCase()==="generator"&&(s!=null&&s.includes("Microsoft")||s!=null&&s.includes("LibreOffice")||s!=null&&s.includes("OpenOffice")))return!0}const r=(i=t.body.innerHTML)==null?void 0:i.trim();return!!(r!=null&&r.startsWith("")))},RL=t=>{const e=document.createElement("div");return e.innerHTML=t,e.querySelectorAll("p").forEach(r=>{(!r.textContent||r.textContent.trim()==="")&&r.remove()}),e.innerHTML},OL=t=>{const n=new DOMParser().parseFromString(t,"text/html"),r=document.createDocumentFragment(),i=n.body.children;for(let a of i)a.hasAttribute("data-pm-slice")?a.childNodes.forEach(s=>{r.appendChild(s.cloneNode(!0))}):r.appendChild(a.cloneNode(!0));const o=document.createElement("div");return o.appendChild(r),o.innerHTML},NL=t=>{if(!t)return"";const n=new DOMParser().parseFromString(t,"text/html"),r=n.querySelectorAll("li");r&&r.forEach(o=>{o.innerHTML||(o.innerHTML="

")});let i="";for(let o=0;o{if(t.props.editable&&!t.props.editable(t.state)||!e.clipboardData)return!1;const n=e.clipboardData.getData("text/plain");let r=e.clipboardData.getData("text/html");if(!r&&n){const i=this.editor.parseMarkdown(n);if(i){const{state:{tr:o},dispatch:a}=t;return a(o.replaceSelection(new H(i,0,0)).scrollIntoView()),!0}}else if(r){r=OL(r);const{options:i}=this.editor.aiEditor;if(i.htmlPasteConfig){if(i.htmlPasteConfig.pasteAsText)r=yL(r,["p","br"]);else if(i.htmlPasteConfig.pasteClean){r=CL(r,["a","span","strong","b","em","i","u"]);const s=new DOMParser().parseFromString(r,"text/html").documentElement.querySelector("body");s&&(s==null||s.querySelectorAll("*").forEach(l=>{l.removeAttribute("style")}),r=s==null?void 0:s.innerHTML)}if(i.htmlPasteConfig.removeEmptyParagraphs!==!1&&(r=RL(r)),i.htmlPasteConfig.pasteProcessor&&(r=i.htmlPasteConfig.pasteProcessor(r)),r)return this.editor.commands.insertContent(r),!0}else if(n&&r){const a=new DOMParser().parseFromString(r,"text/html"),s=a.querySelector("table");if(s&&vL(a))return this.editor.commands.insertContent(s.outerHTML,{parseOptions:{preserveWhitespace:!1}}),!0}}}}})]}}),IL=he.create({name:"className",addOptions(){return{types:["heading","paragraph","container","codeBlock","blockquote","bulletList","orderedList","listItem","taskList","taskItem","image","video","table","iframe"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{class:{defaultValue:"",parseHTML:t=>t.getAttribute("class"),renderHTML:t=>t.class?{class:t.class}:{}}}}]},addCommands(){return{setClassName:(t,e)=>({chain:n})=>!t||!this.options.types.includes(t)?!1:n().updateAttributes(t,{class:e}).run()}},onTransaction({editor:t,transaction:e}){e.steps.length>0&&e.steps.forEach(n=>{if(n instanceof Ue){let r=!1;if(n.getMap().forEach((i,o,a,s)=>{s==a+2&&(r=!0)}),r){const o=n.slice.content.lastChild;o&&!o.textContent&&t.commands.updateAttributes(o.type,{...o.attrs,class:""})}}})}}),xL=(t,e)=>{var r,i,o,a,s,l,c,u,d,p,_,m,f,h,E,S,b,g,C,T,R,x,O,M,B,Y,$,q,V;const n=[YR.configure({codeBlock:!1,heading:!1})];return n.push(zR,$R,qR,gL,ZR.configure({uploadUrl:(r=e.attachment)==null?void 0:r.uploadUrl,uploadHeaders:(i=e.attachment)==null?void 0:i.uploadHeaders,uploadFormName:(o=e.attachment)==null?void 0:o.uploadFormName,uploader:((a=e.attachment)==null?void 0:a.uploader)||e.uploader,uploaderEvent:(s=e.attachment)==null?void 0:s.uploaderEvent}),XR,mL,eO.configure({multicolor:!0}),tO,nO,rO,iO.configure({types:["heading","paragraph"]}),oO,cO.configure({allowBase64:typeof((l=e.image)==null?void 0:l.allowBase64)>"u"?!0:(c=e.image)==null?void 0:c.allowBase64,defaultSize:((u=e.image)==null?void 0:u.defaultSize)||350,uploadUrl:(d=e.image)==null?void 0:d.uploadUrl,uploadHeaders:(p=e.image)==null?void 0:p.uploadHeaders,uploadFormName:(_=e.image)==null?void 0:_.uploadFormName,uploader:((m=e.image)==null?void 0:m.uploader)||e.uploader,uploaderEvent:(f=e.image)==null?void 0:f.uploaderEvent}),pN.configure({resizable:!0,lastColumnResizable:!0,allowTableNodeSelection:!0}),_N,mN,fN,typeof e.textCounter=="function"?t_.configure({textCounter:e.textCounter}):t_,UN.configure({openOnClick:!1,autolink:typeof((h=e.link)==null?void 0:h.autolink)>"u"?!0:(E=e.link)==null?void 0:E.autolink,HTMLAttributes:{ref:(S=e==null?void 0:e.link)==null?void 0:S.rel,class:(b=e==null?void 0:e.link)==null?void 0:b.class}}),HN,GN,VN,zN.configure({nested:!0}),WA.configure({lowlight:S2(yw),defaultLanguage:"auto",languageClassPrefix:"language-",languages:((g=e.codeBlock)==null?void 0:g.languages)||ig,codeExplainAi:((T=(C=e.ai)==null?void 0:C.codeBlock)==null?void 0:T.codeExplain)||{model:"auto",prompt:((R=e.codeBlock)==null?void 0:R.codeExplainPrompt)||"帮我对这个代码进行解释,返回代码的解释内容,注意,不需要对代码的注释进行解释"},codeCommentsAi:((O=(x=e.ai)==null?void 0:x.codeBlock)==null?void 0:O.codeComments)||{model:"auto",prompt:((M=e.codeBlock)==null?void 0:M.codeCommentsPrompt)||"帮我对这个代码添加一些注释,并返回添加注释的代码,只返回代码"}}),C2.configure({uploadUrl:(B=e.video)==null?void 0:B.uploadUrl,uploadHeaders:(Y=e.video)==null?void 0:Y.uploadHeaders,uploadFormName:($=e.video)==null?void 0:$.uploadFormName,uploader:((q=e.video)==null?void 0:q.uploader)||e.uploader,uploaderEvent:(V=e.video)==null?void 0:V.uploaderEvent}),y2,SL,bL,EL.configure({onSave:e.onSave}),AL,IL,hL,...oL(t)),e.placeholder&&n.push(aL.configure({placeholder:e.placeholder})),n.push(_L.configure({suggestion:{items:J=>{var v;return((v=e.ai)==null?void 0:v.commands)||pL}}})),e.onMentionQuery&&n.push(dL(e.onMentionQuery)),n},DL={default:"默认",delete:"删除",confirm:"确定",cancel:"取消",resize:"调整大小",undo:"撤销",redo:"重做",brush:"格式刷",container:"高亮块",eraser:"清除格式",heading:"正文/标题","font-family":"字体","font-size":"字号",bold:"加粗",italic:"斜体",underline:"下划线",strike:"删除线",link:"链接","source-code":"源代码",code:"行内代码",subscript:"下标",superscript:"上标",hr:"分割线",todo:"任务列表",emoji:"表情",highlight:"高亮","font-color":"字体颜色",align:"对齐","line-height":"行高","bullet-list":"无序列表","ordered-list":"有序列表","indent-decrease":"减少缩进","indent-increase":"增加缩进",break:"强制换行",image:"图片",video:"视频",attachment:"附件",quote:"引用","code-block":"代码块",table:"表格",printer:"打印",fullscreen:"全屏",ai:"人工智能","menu-group":"菜单组",paragraph:"正文",h1:"标题 1",h2:"标题 2",h3:"标题 3",h4:"标题 4",h5:"标题 5",h6:"标题 6",standardColors:"标准色",historyColors:"最近使用",insertTable:"插入表格",row:"行",column:"列","align-left":"居左对齐","align-right":"居右对齐","align-center":"居中对齐","align-justify":"两端对齐","insert-column-left":"左侧插入列","insert-column-right":"右侧插入列","insert-row-top":"上方插入行","insert-row-bottom":"下方插入行","delete-column":"删除当前列","delete-row":"删除当前行","merge-cells-horizontal":"合并单元格","merge-cells-vertical":"合并单元格","split-cells-horizontal":"解除合并单元格","split-cells-vertical":"解除合并单元格","delete-table":"删除表格","edit-link":"编辑链接",unlink:"取消链接","visit-link":"访问链接","link-address":"链接地址","link-open-type":"打开方式","link-open-blank":"新窗口","default-font-size":"字号","default-font-family":"默认字体","codeblock-ai-auto-comment":"自动注释","codeblock-ai-code-explain":"代码解释","placeholder-tell-ai-what-to-do-next":"告诉 AI 下一步应该如何?比如:帮我翻译成英语","tip-you-can-enter-text-above-or-select-the-operation-below":"提示:您可以在上面输入文字或者选择下方的操作","you-can-do-the-following":"您可以进行以下操作:","improve-writing":"改进写作","check-spelling-and-grammar":"检查拼写和语法","make-shorter":"简化内容","make-longer":"丰富内容",translate:"翻译",summarize:"总结","ai-append":"追加","ai-replace":"替换","ai-cancel":"舍弃","ai-continuation":"AI 续写","ai-optimization":"AI 优化","ai-proofreading":"AI 校对","ai-translation":"AI 翻译"},ML={default:"Default",delete:"Delete",confirm:"Confirm",cancel:"Cancel",resize:"Resize",undo:"Undo",redo:"Redo",brush:"Format Painter",container:"Highlight container",eraser:"clear format",heading:"Paragraph/Heading","font-family":"Font Family","font-size":"Font Size",bold:"Bold",italic:"Italics",underline:"Underline",strike:"Strikethrough",link:"Link","source-code":"Source code",code:"Inline code",subscript:"Subscript",superscript:"Superscript",hr:"Dividing line",todo:"Task list",emoji:"Emoji expression",highlight:"Highlight","font-color":"Font color",align:"Alignment","line-height":"Line height","bullet-list":"Unordered list","ordered-list":"Ordered list","indent-decrease":"Decrease indent","indent-increase":"Increase indent",break:"Force line break",image:"Image",video:"video",attachment:"Attachment",quote:"Quote","code-block":"Code block",table:"Table",printer:"Print",fullscreen:"Full screen",ai:"AI","menu-group":"Menu Group",paragraph:"Paragraph",h1:"H1",h2:"H2",h3:"H3",h4:"H4",h5:"H5",h6:"H6",standardColors:"Standard colors",historyColors:"Recently used colors",insertTable:"Insert Table",row:"Row",column:"Column","align-left":"Align left","align-right":"Align right","align-center":"Align center","align-justify":"Align justify","insert-column-left":"Insert column left","insert-column-right":"Insert column right","insert-row-top":"Insert row top","insert-row-bottom":"Insert row bottom","delete-column":"Delete column","delete-row":"Delete row","merge-cells-horizontal":"Merge cells","merge-cells-vertical":"Merge cells","split-cells-horizontal":"Split cells","split-cells-vertical":"Split cells","delete-table":"Delete table","edit-link":"Edit link",unlink:"Unlink","visit-link":"Visit link","link-address":"Link address","link-open-type":"Open type","link-open-blank":"Blank","default-font-size":"Size","default-font-family":"Default font","codeblock-ai-auto-comment":"auto comment","codeblock-ai-code-explain":"code explain","placeholder-tell-ai-what-to-do-next":"Tell AI what to do next? e.g., help me translate into English","tip-you-can-enter-text-above-or-select-the-operation-below":"Tip: You can enter text above or select the operation below","you-can-do-the-following":"You can do the following:","improve-writing":"Improve your writing","check-spelling-and-grammar":"Check spelling and grammar","make-shorter":"Make shorter","make-longer":"Make longer",translate:"Translate",summarize:"Summarize","ai-append":"Append","ai-replace":"Replace","ai-cancel":"Cancel","ai-continuation":"Continuation","ai-optimization":"Optimization","ai-proofreading":"Proofreading","ai-translation":"Translation"},wL={default:"Standard",delete:"Löschen",confirm:"Bestätigen",cancel:"Abbrechen",resize:"Größe ändern",undo:"Rückgängig",redo:"Wiederholen",brush:"Format übertragen",container:"Auswahl hervorheben",eraser:"Format löschen",heading:"Absatz/Überschrift","font-family":"Schriftart","font-size":"Schriftgröße",bold:"Fett",italic:"Kursiv",underline:"Unterstrichen",strike:"Durchgestrichen",link:"Link","source-code":"Quellcode",code:"Inline-Code",subscript:"Tiefgestellt",superscript:"Hochgestellt",hr:"Trennlinie",todo:"Aufgabenliste",emoji:"Emojis",highlight:"Hervorheben","font-color":"Schriftfarbe",align:"Ausrichtung","line-height":"Zeilenhöhe","bullet-list":"Aufzählungsliste","ordered-list":"Nummerierte Liste","indent-decrease":"Einzug verkleinern","indent-increase":"Einzug vergrößern",break:"Zeilenumbruch erzwingen",image:"Bild",video:"Video",attachment:"Anhang",quote:"Zitat","code-block":"Codeblock",table:"Tabelle",printer:"Drucken",fullscreen:"Vollbild",ai:"KI","menu-group":"Menügruppe",paragraph:"Absatz",h1:"Überschrift 1",h2:"Überschrift 2",h3:"Überschrift 3",h4:"Überschrift 4",h5:"Überschrift 5",h6:"Überschrift 6",standardColors:"Standardfarben",historyColors:"Zuletzt verwendete Farben",insertTable:"Tabelle einfügen",row:"Zeile",column:"Spalte","align-left":"Linksbündig","align-right":"Rechtsbündig","align-center":"Zentriert","align-justify":"Blocksatz","insert-column-left":"Spalte links einfügen","insert-column-right":"Spalte rechts einfügen","insert-row-top":"Zeile oben einfügen","insert-row-bottom":"Zeile unten einfügen","delete-column":"Spalte löschen","delete-row":"Zeile löschen","merge-cells-horizontal":"Zellen horizontal verbinden","merge-cells-vertical":"Zellen vertikal verbinden","split-cells-horizontal":"Zellen horizontal teilen","split-cells-vertical":"Zellen vertikal teilen","delete-table":"Tabelle löschen","edit-link":"Link bearbeiten",unlink:"Link entfernen","visit-link":"Link besuchen","link-address":"Link-Adresse","link-open-type":"Link öffnen in...","link-open-blank":"Neues Fenster","default-font-size":"Schriftgröße","default-font-family":"Standardschriftart","codeblock-ai-auto-comment":"Automatischer Kommentar","codeblock-ai-code-explain":"Code-Erklärung","placeholder-tell-ai-what-to-do-next":"Sagen Sie der KI, was als Nächstes zu tun ist, z.B. helfen Sie mir, ins Englische zu übersetzen","tip-you-can-enter-text-above-or-select-the-operation-below":"Tipp: Sie können oben Text eingeben oder die untenstehende Operation auswählen","you-can-do-the-following":"Sie können Folgendes tun:","improve-writing":"Schreiben verbessern","check-spelling-and-grammar":"Rechtschreibung und Grammatik prüfen","make-shorter":"Kürzen","make-longer":"Verlängern",translate:"Übersetzen",summarize:"Zusammenfassen","ai-append":"Anhängen","ai-replace":"Ersetzen","ai-cancel":"Abbrechen","ai-continuation":"Vorschläge für Fortsetzung","ai-optimization":"Optimierung","ai-proofreading":"Korrekturlesen","ai-translation":"Übersetzung"},LL={default:"Padrão",delete:"Excluir",confirm:"Confirmar",cancel:"Cancelar",resize:"Redimensionar",undo:"Desfazer",redo:"Refazer",brush:"Pincel",container:"Destacar seleção",eraser:"Apagar formatação",heading:"Cabeçalho","font-family":"Fonte","font-size":"Tamanho da fonte",bold:"Negrito",italic:"Itálico",underline:"Sublinhado",strike:"Tachado",link:"Link","source-code":"Código-fonte",code:"Código em linha",subscript:"Subscrito",superscript:"Sobrescrito",hr:"Linha horizontal",todo:"Lista de tarefas",emoji:"Emoji",highlight:"Destacar","font-color":"Cor da fonte",align:"Alinhamento","line-height":"Altura da linha","bullet-list":"Lista com marcadores","ordered-list":"Lista numerada","indent-decrease":"Diminuir recuo","indent-increase":"Aumentar recuo",break:"Quebra de linha",image:"Imagem",video:"Vídeo",attachment:"Anexo",quote:"Citação","code-block":"Bloco de código",table:"Tabela",printer:"Imprimir",fullscreen:"Tela cheia",ai:"IA","menu-group":"Grupo de menu",paragraph:"Parágrafo",h1:"Cabeçalho 1",h2:"Cabeçalho 2",h3:"Cabeçalho 3",h4:"Cabeçalho 4",h5:"Cabeçalho 5",h6:"Cabeçalho 6",standardColors:"Cores padrão",historyColors:"Cores recentes",insertTable:"Inserir tabela",row:"Linha",column:"Coluna","align-left":"Alinhar à esquerda","align-right":"Alinhar à direita","align-center":"Centralizar","align-justify":"Justificar","insert-column-left":"Inserir coluna à esquerda","insert-column-right":"Inserir coluna à direita","insert-row-top":"Inserir linha acima","insert-row-bottom":"Inserir linha abaixo","delete-column":"Excluir coluna","delete-row":"Excluir linha","merge-cells-horizontal":"Mesclar células horizontalmente","merge-cells-vertical":"Mesclar células verticalmente","split-cells-horizontal":"Dividir células horizontalmente","split-cells-vertical":"Dividir células verticalmente","delete-table":"Excluir tabela","edit-link":"Editar link",unlink:"Remover link","visit-link":"Visitar link","link-address":"Endereço do link","link-open-type":"Abrir link em...","link-open-blank":"Nova janela","default-font-size":"Tamanho padrão da fonte","default-font-family":"Fonte padrão","codeblock-ai-auto-comment":"Comentário automático","codeblock-ai-code-explain":"Explicação do código","placeholder-tell-ai-what-to-do-next":"Diga à IA o que fazer a seguir, por exemplo, ajude-me a traduzir para o inglês","tip-you-can-enter-text-above-or-select-the-operation-below":"Dica: Você pode digitar o texto acima ou selecionar a operação abaixo","you-can-do-the-following":"Você pode fazer o seguinte:","improve-writing":"Melhorar escrita","check-spelling-and-grammar":"Verificar ortografia e gramática","make-shorter":"Encurtar","make-longer":"Alongar",translate:"Traduzir",summarize:"Resumir","ai-append":"Anexar","ai-replace":"Substituir","ai-cancel":"Cancelar","ai-continuation":"Sugestões de continuação","ai-optimization":"Otimização","ai-proofreading":"Revisão","ai-translation":"Tradução"},kL={default:"Predeterminado",delete:"Eliminar",confirm:"Confirmar",cancel:"Cancelar",resize:"Redimensionar",undo:"Deshacer",redo:"Rehacer",brush:"Pincel de formato",container:"Bloque resaltado",eraser:"Borrar formato",heading:"Texto/Título","font-family":"Fuente","font-size":"Tamaño de fuente",bold:"Negrita",italic:"Cursiva",underline:"Subrayado",strike:"Tachado",link:"Enlace","source-code":"Código fuente",code:"Código en línea",subscript:"Subíndice",superscript:"Superíndice",hr:"Línea divisoria",todo:"Lista de tareas",emoji:"Emoji",highlight:"Resaltar","font-color":"Color de fuente",align:"Alinear","line-height":"Altura de línea","bullet-list":"Lista desordenada","ordered-list":"Lista ordenada","indent-decrease":"Disminuir sangría","indent-increase":"Aumentar sangría",break:"Salto de línea",image:"Imagen",video:"Video",attachment:"Adjunto",quote:"Cita","code-block":"Bloque de código",table:"Tabla",printer:"Imprimir",fullscreen:"Pantalla completa",ai:"Inteligencia artificial","menu-group":"Grupo de menú",paragraph:"Párrafo",h1:"Encabezado 1",h2:"Encabezado 2",h3:"Encabezado 3",h4:"Encabezado 4",h5:"Encabezado 5",h6:"Encabezado 6",standardColors:"Colores estándar",historyColors:"Usado recientemente",insertTable:"Insertar tabla",row:"Fila",column:"Columna","align-left":"Alinear a la izquierda","align-right":"Alinear a la derecha","align-center":"Alinear al centro","align-justify":"Justificar","insert-column-left":"Insertar columna a la izquierda","insert-column-right":"Insertar columna a la derecha","insert-row-top":"Insertar fila arriba","insert-row-bottom":"Insertar fila abajo","delete-column":"Eliminar columna","delete-row":"Eliminar fila","merge-cells-horizontal":"Combinar celdas horizontalmente","merge-cells-vertical":"Combinar celdas verticalmente","split-cells-horizontal":"Dividir celdas horizontalmente","split-cells-vertical":"Dividir celdas verticalmente","delete-table":"Eliminar tabla","edit-link":"Editar enlace",unlink:"Eliminar enlace","visit-link":"Visitar enlace","link-address":"Dirección del enlace","link-open-type":"Tipo de apertura","link-open-blank":"Nueva ventana","default-font-size":"Tamaño de fuente predeterminado","default-font-family":"Fuente predeterminada","codeblock-ai-auto-comment":"Comentario automático","codeblock-ai-code-explain":"Explicación del código","placeholder-tell-ai-what-to-do-next":"Dile a la IA qué hacer a continuación. Ejemplo: Traducir al inglés","tip-you-can-enter-text-above-or-select-the-operation-below":"Sugerencia: Puedes ingresar el texto arriba o seleccionar una operación abajo","you-can-do-the-following":"Puedes hacer lo siguiente:","improve-writing":"Mejorar escritura","check-spelling-and-grammar":"Revisar ortografía y gramática","make-shorter":"Hacer más corto","make-longer":"Hacer más largo",translate:"Traducir",summarize:"Resumir","ai-append":"Añadir","ai-replace":"Reemplazar","ai-cancel":"Cancelar","ai-continuation":"Continuación con IA","ai-optimization":"Optimización con IA","ai-proofreading":"Corrección con IA","ai-translation":"Traducción con IA"},PL={default:"डिफ़ॉल्ट",delete:"हटाएं",confirm:"पुष्टि करें",cancel:"रद्द करें",resize:"आकार बदलें",undo:"पूर्ववत करें",redo:"फिर से करें",brush:"फॉर्मेट ब्रश",container:"हाइलाइट ब्लॉक",eraser:"फॉर्मेट साफ़ करें",heading:"पाठ/शीर्षक","font-family":"फ़ॉन्ट","font-size":"फ़ॉन्ट आकार",bold:"बोल्ड",italic:"इटैलिक",underline:"रेखांकन",strike:"स्ट्राइकथ्रू",link:"लिंक","source-code":"स्रोत कोड",code:"इनलाइन कोड",subscript:"सबस्क्रिप्ट",superscript:"सुपरस्क्रिप्ट",hr:"विभाजक रेखा",todo:"कार्य सूची",emoji:"इमोजी",highlight:"हाइलाइट","font-color":"फ़ॉन्ट रंग",align:"संरेखित करें","line-height":"लाइन हाइट","bullet-list":"बिना क्रम वाली सूची","ordered-list":"क्रमबद्ध सूची","indent-decrease":"इंडेंट घटाएं","indent-increase":"इंडेंट बढ़ाएं",break:"लाइन ब्रेक",image:"चित्र",video:"वीडियो",attachment:"अनुलग्नक",quote:"उद्धरण","code-block":"कोड ब्लॉक",table:"तालिका",printer:"प्रिंट करें",fullscreen:"पूर्ण स्क्रीन",ai:"कृत्रिम बुद्धिमत्ता","menu-group":"मेनू समूह",paragraph:"पैराग्राफ",h1:"शीर्षक 1",h2:"शीर्षक 2",h3:"शीर्षक 3",h4:"शीर्षक 4",h5:"शीर्षक 5",h6:"शीर्षक 6",standardColors:"मानक रंग",historyColors:"हालिया रंग",insertTable:"तालिका सम्मिलित करें",row:"पंक्ति",column:"स्तंभ","align-left":"बाएं संरेखित","align-right":"दाएं संरेखित","align-center":"केंद्र संरेखित","align-justify":"दोनों तरफ संरेखित","insert-column-left":"बाईं ओर स्तंभ जोड़ें","insert-column-right":"दाईं ओर स्तंभ जोड़ें","insert-row-top":"ऊपर पंक्ति जोड़ें","insert-row-bottom":"नीचे पंक्ति जोड़ें","delete-column":"स्तंभ हटाएं","delete-row":"पंक्ति हटाएं","merge-cells-horizontal":"सेलों को क्षैतिज मिलाएं","merge-cells-vertical":"सेलों को लंबवत मिलाएं","split-cells-horizontal":"सेलों को क्षैतिज विभाजित करें","split-cells-vertical":"सेलों को लंबवत विभाजित करें","delete-table":"तालिका हटाएं","edit-link":"लिंक संपादित करें",unlink:"लिंक हटाएं","visit-link":"लिंक पर जाएं","link-address":"लिंक पता","link-open-type":"लिंक खोलने का प्रकार","link-open-blank":"नई विंडो","default-font-size":"डिफ़ॉल्ट फ़ॉन्ट आकार","default-font-family":"डिफ़ॉल्ट फ़ॉन्ट","codeblock-ai-auto-comment":"स्वचालित टिप्पणी","codeblock-ai-code-explain":"कोड व्याख्या","placeholder-tell-ai-what-to-do-next":"AI को बताएं कि अगला कदम क्या होना चाहिए? उदाहरण: कृपया इसे अंग्रेजी में अनुवाद करें","tip-you-can-enter-text-above-or-select-the-operation-below":"सुझाव: आप ऊपर टेक्स्ट दर्ज कर सकते हैं या नीचे दिए गए ऑपरेशन का चयन कर सकते हैं","you-can-do-the-following":"आप निम्नलिखित कर सकते हैं:","improve-writing":"लेखन सुधारें","check-spelling-and-grammar":"वर्तनी और व्याकरण जांचें","make-shorter":"छोटा करें","make-longer":"लंबा करें",translate:"अनुवाद करें",summarize:"सारांश","ai-append":"जोड़ें","ai-replace":"बदलें","ai-cancel":"रद्द करें","ai-continuation":"AI जारी रखें","ai-optimization":"AI अनुकूलन","ai-proofreading":"AI प्रूफरीडिंग","ai-translation":"AI अनुवाद"},FL={default:"Default",delete:"Hapus",confirm:"Konfirmasi",cancel:"Batal",resize:"Ubah ukuran",undo:"Batalkan",redo:"Ulangi",brush:"Kuas format",container:"Blok sorot",eraser:"Hapus format",heading:"Teks/Judul","font-family":"Font","font-size":"Ukuran font",bold:"Tebal",italic:"Miring",underline:"Garis bawah",strike:"Garis coret",link:"Tautan","source-code":"Kode sumber",code:"Kode dalam baris",subscript:"Subskrip",superscript:"Superskrip",hr:"Garis pemisah",todo:"Daftar tugas",emoji:"Emoji",highlight:"Sorot","font-color":"Warna font",align:"Rata","line-height":"Tinggi baris","bullet-list":"Daftar tak berurut","ordered-list":"Daftar berurut","indent-decrease":"Kurangi inden","indent-increase":"Tambah inden",break:"Pecah baris",image:"Gambar",video:"Video",attachment:"Lampiran",quote:"Kutipan","code-block":"Blok kode",table:"Tabel",printer:"Cetak",fullscreen:"Layar penuh",ai:"Kecerdasan buatan","menu-group":"Grup menu",paragraph:"Teks",h1:"Judul 1",h2:"Judul 2",h3:"Judul 3",h4:"Judul 4",h5:"Judul 5",h6:"Judul 6",standardColors:"Warna standar",historyColors:"Warna terbaru",insertTable:"Sisipkan tabel",row:"Baris",column:"Kolom","align-left":"Rata kiri","align-right":"Rata kanan","align-center":"Rata tengah","align-justify":"Rata kedua sisi","insert-column-left":"Sisipkan kolom di kiri","insert-column-right":"Sisipkan kolom di kanan","insert-row-top":"Sisipkan baris di atas","insert-row-bottom":"Sisipkan baris di bawah","delete-column":"Hapus kolom","delete-row":"Hapus baris","merge-cells-horizontal":"Gabungkan sel horizontal","merge-cells-vertical":"Gabungkan sel vertikal","split-cells-horizontal":"Pisahkan sel horizontal","split-cells-vertical":"Pisahkan sel vertikal","delete-table":"Hapus tabel","edit-link":"Edit tautan",unlink:"Hapus tautan","visit-link":"Kunjungi tautan","link-address":"Alamat tautan","link-open-type":"Jenis pembukaan tautan","link-open-blank":"Jendela baru","default-font-size":"Ukuran font","default-font-family":"Font default","codeblock-ai-auto-comment":"Komentar otomatis","codeblock-ai-code-explain":"Penjelasan kode","placeholder-tell-ai-what-to-do-next":"Beritahu AI langkah berikutnya? Contoh: Bantu saya terjemahkan ke bahasa Inggris","tip-you-can-enter-text-above-or-select-the-operation-below":"Tip: Anda bisa memasukkan teks di atas atau memilih operasi di bawah","you-can-do-the-following":"Anda dapat melakukan hal-hal berikut:","improve-writing":"Tingkatkan tulisan","check-spelling-and-grammar":"Periksa ejaan dan tata bahasa","make-shorter":"Buat lebih singkat","make-longer":"Buat lebih panjang",translate:"Terjemahkan",summarize:"Ringkas","ai-append":"Tambahkan","ai-replace":"Ganti","ai-cancel":"Batalkan","ai-continuation":"AI Lanjutkan","ai-optimization":"AI Optimasi","ai-proofreading":"AI Koreksi","ai-translation":"AI Terjemahan"},BL={default:"デフォルト",delete:"削除",confirm:"確認",cancel:"キャンセル",resize:"サイズ調整",undo:"元に戻す",redo:"やり直す",brush:"フォーマットブラシ",container:"ハイライトブロック",eraser:"フォーマットクリア",heading:"テキスト/見出し","font-family":"フォント","font-size":"フォントサイズ",bold:"太字",italic:"斜体",underline:"下線",strike:"取り消し線",link:"リンク","source-code":"ソースコード",code:"インラインコード",subscript:"下付き文字",superscript:"上付き文字",hr:"区切り線",todo:"タスクリスト",emoji:"絵文字",highlight:"ハイライト","font-color":"フォントカラー",align:"配置","line-height":"行の高さ","bullet-list":"箇条書きリスト","ordered-list":"番号付きリスト","indent-decrease":"インデントを減らす","indent-increase":"インデントを増やす",break:"改行",image:"画像",video:"ビデオ",attachment:"添付ファイル",quote:"引用","code-block":"コードブロック",table:"テーブル",printer:"印刷",fullscreen:"全画面",ai:"AI","menu-group":"メニューグループ",paragraph:"段落",h1:"見出し 1",h2:"見出し 2",h3:"見出し 3",h4:"見出し 4",h5:"見出し 5",h6:"見出し 6",standardColors:"標準色",historyColors:"最近使用した色",insertTable:"テーブル挿入",row:"行",column:"列","align-left":"左揃え","align-right":"右揃え","align-center":"中央揃え","align-justify":"両端揃え","insert-column-left":"左に列を挿入","insert-column-right":"右に列を挿入","insert-row-top":"上に行を挿入","insert-row-bottom":"下に行を挿入","delete-column":"列を削除","delete-row":"行を削除","merge-cells-horizontal":"セルを横に結合","merge-cells-vertical":"セルを縦に結合","split-cells-horizontal":"セルを横に分割","split-cells-vertical":"セルを縦に分割","delete-table":"テーブルを削除","edit-link":"リンク編集",unlink:"リンク解除","visit-link":"リンクを訪問","link-address":"リンクアドレス","link-open-type":"開き方","link-open-blank":"新しいウィンドウで開く","default-font-size":"デフォルトフォントサイズ","default-font-family":"デフォルトフォント","codeblock-ai-auto-comment":"自動コメント","codeblock-ai-code-explain":"コードの説明","placeholder-tell-ai-what-to-do-next":"次にAIに何をさせるか教えてください。例:英語に翻訳して","tip-you-can-enter-text-above-or-select-the-operation-below":"ヒント:上にテキストを入力するか、下の操作を選択できます","you-can-do-the-following":"次の操作ができます:","improve-writing":"文章を改善","check-spelling-and-grammar":"スペルと文法のチェック","make-shorter":"短くする","make-longer":"長くする",translate:"翻訳",summarize:"要約","ai-append":"追加","ai-replace":"置換","ai-cancel":"キャンセル","ai-continuation":"AI継続","ai-optimization":"AI最適化","ai-proofreading":"AI校正","ai-translation":"AI翻訳"},UL={default:"기본값",delete:"삭제",confirm:"확인",cancel:"취소",resize:"크기 조정",undo:"실행 취소",redo:"다시 실행",brush:"형식 브러시",container:"강조 블록",eraser:"서식 지우기",heading:"본문/제목","font-family":"글꼴","font-size":"글꼴 크기",bold:"굵게",italic:"기울임꼴",underline:"밑줄",strike:"취소선",link:"링크","source-code":"소스 코드",code:"인라인 코드",subscript:"아래 첨자",superscript:"위 첨자",hr:"구분선",todo:"할 일 목록",emoji:"이모지",highlight:"강조","font-color":"글꼴 색상",align:"정렬","line-height":"줄 간격","bullet-list":"글머리 기호 목록","ordered-list":"번호 목록","indent-decrease":"들여쓰기 줄이기","indent-increase":"들여쓰기 늘리기",break:"줄바꿈",image:"이미지",video:"비디오",attachment:"첨부 파일",quote:"인용","code-block":"코드 블록",table:"테이블",printer:"인쇄",fullscreen:"전체 화면",ai:"AI","menu-group":"메뉴 그룹",paragraph:"본문",h1:"제목 1",h2:"제목 2",h3:"제목 3",h4:"제목 4",h5:"제목 5",h6:"제목 6",standardColors:"표준 색상",historyColors:"최근 사용 색상",insertTable:"테이블 삽입",row:"행",column:"열","align-left":"왼쪽 정렬","align-right":"오른쪽 정렬","align-center":"가운데 정렬","align-justify":"양쪽 맞춤","insert-column-left":"왼쪽에 열 삽입","insert-column-right":"오른쪽에 열 삽입","insert-row-top":"위쪽에 행 삽입","insert-row-bottom":"아래쪽에 행 삽입","delete-column":"열 삭제","delete-row":"행 삭제","merge-cells-horizontal":"셀 병합","merge-cells-vertical":"셀 세로 병합","split-cells-horizontal":"셀 가로 분할","split-cells-vertical":"셀 세로 분할","delete-table":"테이블 삭제","edit-link":"링크 편집",unlink:"링크 해제","visit-link":"링크 방문","link-address":"링크 주소","link-open-type":"열기 유형","link-open-blank":"새 창","default-font-size":"기본 글꼴 크기","default-font-family":"기본 글꼴","codeblock-ai-auto-comment":"자동 주석","codeblock-ai-code-explain":"코드 설명","placeholder-tell-ai-what-to-do-next":"AI에게 다음 작업을 지시하세요. 예: 영어로 번역해 주세요","tip-you-can-enter-text-above-or-select-the-operation-below":"팁: 위에 텍스트를 입력하거나 아래 작업을 선택할 수 있습니다","you-can-do-the-following":"다음 작업을 수행할 수 있습니다:","improve-writing":"글쓰기 개선","check-spelling-and-grammar":"철자 및 문법 검사","make-shorter":"짧게 만들기","make-longer":"길게 만들기",translate:"번역",summarize:"요약","ai-append":"추가","ai-replace":"대체","ai-cancel":"취소","ai-continuation":"AI 계속","ai-optimization":"AI 최적화","ai-proofreading":"AI 교정","ai-translation":"AI 번역"},HL={default:"ค่าเริ่มต้น",delete:"ลบ",confirm:"ยืนยัน",cancel:"ยกเลิก",resize:"ปรับขนาด",undo:"เลิกทำ",redo:"ทำซ้ำ",brush:"แปรงรูปแบบ",container:"บล็อกไฮไลท์",eraser:"ล้างรูปแบบ",heading:"ข้อความ/หัวข้อ","font-family":"แบบอักษร","font-size":"ขนาดตัวอักษร",bold:"ตัวหนา",italic:"ตัวเอียง",underline:"ขีดเส้นใต้",strike:"ขีดฆ่า",link:"ลิงก์","source-code":"โค้ดต้นฉบับ",code:"โค้ดในบรรทัด",subscript:"ตัวห้อย",superscript:"ตัวยก",hr:"เส้นแบ่ง",todo:"รายการสิ่งที่ต้องทำ",emoji:"อีโมจิ",highlight:"ไฮไลท์","font-color":"สีตัวอักษร",align:"จัดแนว","line-height":"ความสูงบรรทัด","bullet-list":"รายการจุด","ordered-list":"รายการลำดับ","indent-decrease":"ลดการเยื้อง","indent-increase":"เพิ่มการเยื้อง",break:"ขึ้นบรรทัดใหม่",image:"รูปภาพ",video:"วิดีโอ",attachment:"ไฟล์แนบ",quote:"อ้างอิง","code-block":"บล็อกโค้ด",table:"ตาราง",printer:"พิมพ์",fullscreen:"เต็มจอ",ai:"ปัญญาประดิษฐ์","menu-group":"กลุ่มเมนู",paragraph:"ข้อความ",h1:"หัวข้อ 1",h2:"หัวข้อ 2",h3:"หัวข้อ 3",h4:"หัวข้อ 4",h5:"หัวข้อ 5",h6:"หัวข้อ 6",standardColors:"สีมาตรฐาน",historyColors:"ใช้ล่าสุด",insertTable:"แทรกตาราง",row:"แถว",column:"คอลัมน์","align-left":"จัดชิดซ้าย","align-right":"จัดชิดขวา","align-center":"จัดกึ่งกลาง","align-justify":"จัดเต็มหน้า","insert-column-left":"แทรกคอลัมน์ด้านซ้าย","insert-column-right":"แทรกคอลัมน์ด้านขวา","insert-row-top":"แทรกแถวด้านบน","insert-row-bottom":"แทรกแถวด้านล่าง","delete-column":"ลบคอลัมน์","delete-row":"ลบแถว","merge-cells-horizontal":"ผสานเซลล์ตามแนวนอน","merge-cells-vertical":"ผสานเซลล์ตามแนวตั้ง","split-cells-horizontal":"แยกเซลล์แนวนอน","split-cells-vertical":"แยกเซลล์แนวตั้ง","delete-table":"ลบตาราง","edit-link":"แก้ไขลิงก์",unlink:"ยกเลิกการเชื่อมโยง","visit-link":"เยี่ยมชมลิงก์","link-address":"ที่อยู่ลิงก์","link-open-type":"วิธีการเปิด","link-open-blank":"หน้าต่างใหม่","default-font-size":"ขนาดตัวอักษร","default-font-family":"แบบอักษรเริ่มต้น","codeblock-ai-auto-comment":"คอมเมนต์อัตโนมัติ","codeblock-ai-code-explain":"อธิบายโค้ด","placeholder-tell-ai-what-to-do-next":"บอก AI ว่าต้องทำอะไรต่อไป เช่น ช่วยแปลเป็นภาษาอังกฤษ","tip-you-can-enter-text-above-or-select-the-operation-below":"เคล็ดลับ: คุณสามารถป้อนข้อความข้างบนหรือเลือกการดำเนินการด้านล่าง","you-can-do-the-following":"คุณสามารถทำสิ่งต่อไปนี้:","improve-writing":"ปรับปรุงการเขียน","check-spelling-and-grammar":"ตรวจสอบการสะกดและไวยากรณ์","make-shorter":"ทำให้สั้นลง","make-longer":"ทำให้ยาวขึ้น",translate:"แปล",summarize:"สรุป","ai-append":"เพิ่ม","ai-replace":"แทนที่","ai-cancel":"ยกเลิก","ai-continuation":"AI เขียนต่อ","ai-optimization":"AI ปรับแต่ง","ai-proofreading":"AI พิสูจน์อักษร","ai-translation":"AI แปล"},GL={default:"Mặc định",delete:"Xóa",confirm:"Xác nhận",cancel:"Hủy",resize:"Điều chỉnh kích thước",undo:"Hoàn tác",redo:"Làm lại",brush:"Chổi định dạng",container:"Khối nổi bật",eraser:"Xóa định dạng",heading:"Nội dung/Đầu đề","font-family":"Phông chữ","font-size":"Cỡ chữ",bold:"In đậm",italic:"In nghiêng",underline:"Gạch chân",strike:"Gạch ngang",link:"Liên kết","source-code":"Mã nguồn",code:"Mã trong dòng",subscript:"Chỉ số dưới",superscript:"Chỉ số trên",hr:"Đường phân cách",todo:"Danh sách công việc",emoji:"Biểu tượng cảm xúc",highlight:"Đánh dấu","font-color":"Màu chữ",align:"Căn chỉnh","line-height":"Chiều cao dòng","bullet-list":"Danh sách dấu chấm","ordered-list":"Danh sách có thứ tự","indent-decrease":"Giảm thụt lề","indent-increase":"Tăng thụt lề",break:"Xuống dòng",image:"Hình ảnh",video:"Video",attachment:"Tệp đính kèm",quote:"Trích dẫn","code-block":"Khối mã",table:"Bảng",printer:"In",fullscreen:"Toàn màn hình",ai:"Trí tuệ nhân tạo","menu-group":"Nhóm menu",paragraph:"Nội dung",h1:"Tiêu đề 1",h2:"Tiêu đề 2",h3:"Tiêu đề 3",h4:"Tiêu đề 4",h5:"Tiêu đề 5",h6:"Tiêu đề 6",standardColors:"Màu tiêu chuẩn",historyColors:"Màu đã dùng gần đây",insertTable:"Chèn bảng",row:"Hàng",column:"Cột","align-left":"Căn trái","align-right":"Căn phải","align-center":"Căn giữa","align-justify":"Căn đều","insert-column-left":"Chèn cột bên trái","insert-column-right":"Chèn cột bên phải","insert-row-top":"Chèn hàng phía trên","insert-row-bottom":"Chèn hàng phía dưới","delete-column":"Xóa cột hiện tại","delete-row":"Xóa hàng hiện tại","merge-cells-horizontal":"Gộp ô ngang","merge-cells-vertical":"Gộp ô dọc","split-cells-horizontal":"Tách ô ngang","split-cells-vertical":"Tách ô dọc","delete-table":"Xóa bảng","edit-link":"Chỉnh sửa liên kết",unlink:"Hủy liên kết","visit-link":"Truy cập liên kết","link-address":"Địa chỉ liên kết","link-open-type":"Cách mở liên kết","link-open-blank":"Cửa sổ mới","default-font-size":"Cỡ chữ","default-font-family":"Phông chữ mặc định","codeblock-ai-auto-comment":"Nhận xét tự động","codeblock-ai-code-explain":"Giải thích mã","placeholder-tell-ai-what-to-do-next":"Nói với AI bước tiếp theo là gì? Ví dụ: Giúp tôi dịch sang tiếng Anh","tip-you-can-enter-text-above-or-select-the-operation-below":"Mẹo: Bạn có thể nhập văn bản phía trên hoặc chọn thao tác bên dưới","you-can-do-the-following":"Bạn có thể thực hiện các thao tác sau:","improve-writing":"Cải thiện bài viết","check-spelling-and-grammar":"Kiểm tra chính tả và ngữ pháp","make-shorter":"Rút gọn","make-longer":"Mở rộng nội dung",translate:"Dịch",summarize:"Tóm tắt","ai-append":"Thêm vào","ai-replace":"Thay thế","ai-cancel":"Hủy","ai-continuation":"AI Viết tiếp","ai-optimization":"AI Tối ưu hóa","ai-proofreading":"AI Hiệu đính","ai-translation":"AI Dịch"},H_={};function VL(t){let e=H_[t];if(e)return e;e=H_[t]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);e.push(r)}for(let n=0;n=55296&&u<=57343?i+="���":i+=String.fromCharCode(u),o+=6;continue}}if((s&248)===240&&o+91114111?i+="����":(d-=65536,i+=String.fromCharCode(55296+(d>>10),56320+(d&1023))),o+=9;continue}}i+="�"}return i})}di.defaultChars=";/?:@&=+$,#";di.componentChars="";const G_={};function YL(t){let e=G_[t];if(e)return e;e=G_[t]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);/^[0-9a-z]$/i.test(r)?e.push(r):e.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2))}for(let n=0;n"u"&&(n=!0);const r=YL(e);let i="";for(let o=0,a=t.length;o=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1=56320&&l<=57343){i+=encodeURIComponent(t[o]+t[o+1]),o++;continue}}i+="%EF%BF%BD";continue}i+=encodeURIComponent(t[o])}return i}bo.defaultChars=";/?:@&=+$,-_.!~*'()#";bo.componentChars="-_.!~*'()";function yu(t){let e="";return e+=t.protocol||"",e+=t.slashes?"//":"",e+=t.auth?t.auth+"@":"",t.hostname&&t.hostname.indexOf(":")!==-1?e+="["+t.hostname+"]":e+=t.hostname||"",e+=t.port?":"+t.port:"",e+=t.pathname||"",e+=t.search||"",e+=t.hash||"",e}function Za(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const zL=/^([a-z0-9.+-]+:)/i,$L=/:[0-9]*$/,qL=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,WL=["<",">",'"',"`"," ","\r",` +`," "],KL=["{","}","|","\\","^","`"].concat(WL),QL=["'"].concat(KL),V_=["%","/","?",";","#"].concat(QL),Y_=["/","?","#"],ZL=255,z_=/^[+a-z0-9A-Z_-]{0,63}$/,XL=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,$_={javascript:!0,"javascript:":!0},q_={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function vu(t,e){if(t&&t instanceof Za)return t;const n=new Za;return n.parse(t,e),n}Za.prototype.parse=function(t,e){let n,r,i,o=t;if(o=o.trim(),!e&&t.split("#").length===1){const c=qL.exec(o);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}let a=zL.exec(o);if(a&&(a=a[0],n=a.toLowerCase(),this.protocol=a,o=o.substr(a.length)),(e||a||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=o.substr(0,2)==="//",i&&!(a&&$_[a])&&(o=o.substr(2),this.slashes=!0)),!$_[a]&&(i||a&&!q_[a])){let c=-1;for(let m=0;m127?S+="x":S+=E[b];if(!S.match(z_)){const b=m.slice(0,f),g=m.slice(f+1),C=E.match(XL);C&&(b.push(C[1]),g.unshift(C[2])),g.length&&(o=g.join(".")+o),this.hostname=b.join(".");break}}}}this.hostname.length>ZL&&(this.hostname=""),_&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const s=o.indexOf("#");s!==-1&&(this.hash=o.substr(s),o=o.slice(0,s));const l=o.indexOf("?");return l!==-1&&(this.search=o.substr(l),o=o.slice(0,l)),o&&(this.pathname=o),q_[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Za.prototype.parseHost=function(t){let e=$L.exec(t);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};const jL=Object.freeze(Object.defineProperty({__proto__:null,decode:di,encode:bo,format:yu,parse:vu},Symbol.toStringTag,{value:"Module"})),Ug=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Hg=/[\0-\x1F\x7F-\x9F]/,JL=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,Ru=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Gg=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,Vg=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,ek=Object.freeze(Object.defineProperty({__proto__:null,Any:Ug,Cc:Hg,Cf:JL,P:Ru,S:Gg,Z:Vg},Symbol.toStringTag,{value:"Module"})),tk=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(t=>t.charCodeAt(0))),nk=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(t=>t.charCodeAt(0)));var Tl;const rk=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),ik=(Tl=String.fromCodePoint)!==null&&Tl!==void 0?Tl:function(t){let e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|t&1023),e+=String.fromCharCode(t),e};function ok(t){var e;return t>=55296&&t<=57343||t>1114111?65533:(e=rk.get(t))!==null&&e!==void 0?e:t}var Ye;(function(t){t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z"})(Ye||(Ye={}));const ak=32;var Fn;(function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"})(Fn||(Fn={}));function Ec(t){return t>=Ye.ZERO&&t<=Ye.NINE}function sk(t){return t>=Ye.UPPER_A&&t<=Ye.UPPER_F||t>=Ye.LOWER_A&&t<=Ye.LOWER_F}function lk(t){return t>=Ye.UPPER_A&&t<=Ye.UPPER_Z||t>=Ye.LOWER_A&&t<=Ye.LOWER_Z||Ec(t)}function ck(t){return t===Ye.EQUALS||lk(t)}var Ve;(function(t){t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity"})(Ve||(Ve={}));var xn;(function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"})(xn||(xn={}));class uk{constructor(e,n,r){this.decodeTree=e,this.emitCodePoint=n,this.errors=r,this.state=Ve.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=xn.Strict}startEntity(e){this.decodeMode=e,this.state=Ve.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,n){switch(this.state){case Ve.EntityStart:return e.charCodeAt(n)===Ye.NUM?(this.state=Ve.NumericStart,this.consumed+=1,this.stateNumericStart(e,n+1)):(this.state=Ve.NamedEntity,this.stateNamedEntity(e,n));case Ve.NumericStart:return this.stateNumericStart(e,n);case Ve.NumericDecimal:return this.stateNumericDecimal(e,n);case Ve.NumericHex:return this.stateNumericHex(e,n);case Ve.NamedEntity:return this.stateNamedEntity(e,n)}}stateNumericStart(e,n){return n>=e.length?-1:(e.charCodeAt(n)|ak)===Ye.LOWER_X?(this.state=Ve.NumericHex,this.consumed+=1,this.stateNumericHex(e,n+1)):(this.state=Ve.NumericDecimal,this.stateNumericDecimal(e,n))}addToNumericResult(e,n,r,i){if(n!==r){const o=r-n;this.result=this.result*Math.pow(i,o)+parseInt(e.substr(n,o),i),this.consumed+=o}}stateNumericHex(e,n){const r=n;for(;n>14;for(;n>14,o!==0){if(a===Ye.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==xn.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:n,decodeTree:r}=this,i=(r[n]&Fn.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,i,this.consumed),(e=this.errors)===null||e===void 0||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,n,r){const{decodeTree:i}=this;return this.emitCodePoint(n===1?i[e]&~Fn.VALUE_LENGTH:i[e+1],r),n===3&&this.emitCodePoint(i[e+2],r),r}end(){var e;switch(this.state){case Ve.NamedEntity:return this.result!==0&&(this.decodeMode!==xn.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Ve.NumericDecimal:return this.emitNumericEntity(0,2);case Ve.NumericHex:return this.emitNumericEntity(0,3);case Ve.NumericStart:return(e=this.errors)===null||e===void 0||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Ve.EntityStart:return 0}}}function Yg(t){let e="";const n=new uk(t,r=>e+=ik(r));return function(i,o){let a=0,s=0;for(;(s=i.indexOf("&",s))>=0;){e+=i.slice(a,s),n.startEntity(o);const c=n.write(i,s+1);if(c<0){a=s+n.end();break}a=s+c,s=c===0?a+1:a}const l=e+i.slice(a);return e="",l}}function dk(t,e,n,r){const i=(e&Fn.BRANCH_LENGTH)>>7,o=e&Fn.JUMP_TABLE;if(i===0)return o!==0&&r===o?n:-1;if(o){const l=r-o;return l<0||l>=i?-1:t[n+l]-1}let a=n,s=a+i-1;for(;a<=s;){const l=a+s>>>1,c=t[l];if(cr)s=l-1;else return t[l+i]}return-1}const pk=Yg(tk);Yg(nk);function zg(t,e=xn.Legacy){return pk(t,e)}function _k(t){return Object.prototype.toString.call(t)}function Ou(t){return _k(t)==="[object String]"}const mk=Object.prototype.hasOwnProperty;function fk(t,e){return mk.call(t,e)}function As(t){return Array.prototype.slice.call(arguments,1).forEach(function(n){if(n){if(typeof n!="object")throw new TypeError(n+"must be object");Object.keys(n).forEach(function(r){t[r]=n[r]})}}),t}function $g(t,e,n){return[].concat(t.slice(0,e),n,t.slice(e+1))}function Nu(t){return!(t>=55296&&t<=57343||t>=64976&&t<=65007||(t&65535)===65535||(t&65535)===65534||t>=0&&t<=8||t===11||t>=14&&t<=31||t>=127&&t<=159||t>1114111)}function Xa(t){if(t>65535){t-=65536;const e=55296+(t>>10),n=56320+(t&1023);return String.fromCharCode(e,n)}return String.fromCharCode(t)}const qg=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,hk=/&([a-z#][a-z0-9]{1,31});/gi,gk=new RegExp(qg.source+"|"+hk.source,"gi"),Ek=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function Sk(t,e){if(e.charCodeAt(0)===35&&Ek.test(e)){const r=e[1].toLowerCase()==="x"?parseInt(e.slice(2),16):parseInt(e.slice(1),10);return Nu(r)?Xa(r):t}const n=zg(t);return n!==t?n:t}function bk(t){return t.indexOf("\\")<0?t:t.replace(qg,"$1")}function pi(t){return t.indexOf("\\")<0&&t.indexOf("&")<0?t:t.replace(gk,function(e,n,r){return n||Sk(e,r)})}const Tk=/[&<>"]/,Ck=/[&<>"]/g,yk={"&":"&","<":"<",">":">",'"':"""};function vk(t){return yk[t]}function zn(t){return Tk.test(t)?t.replace(Ck,vk):t}const Rk=/[.?*+^$[\]\\(){}|-]/g;function Ok(t){return t.replace(Rk,"\\$&")}function Oe(t){switch(t){case 9:case 32:return!0}return!1}function lo(t){if(t>=8192&&t<=8202)return!0;switch(t){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function co(t){return Ru.test(t)||Gg.test(t)}function uo(t){switch(t){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Is(t){return t=t.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(t=t.replace(/ẞ/g,"ß")),t.toLowerCase().toUpperCase()}const Nk={mdurl:jL,ucmicro:ek},Ak=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:$g,assign:As,escapeHtml:zn,escapeRE:Ok,fromCodePoint:Xa,has:fk,isMdAsciiPunct:uo,isPunctChar:co,isSpace:Oe,isString:Ou,isValidEntityCode:Nu,isWhiteSpace:lo,lib:Nk,normalizeReference:Is,unescapeAll:pi,unescapeMd:bk},Symbol.toStringTag,{value:"Module"}));function Ik(t,e,n){let r,i,o,a;const s=t.posMax,l=t.pos;for(t.pos=e+1,r=1;t.pos32))return o;if(r===41){if(a===0)break;a--}i++}return e===i||a!==0||(o.str=pi(t.slice(e,i)),o.pos=i,o.ok=!0),o}function Dk(t,e,n,r){let i,o=e;const a={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(r)a.str=r.str,a.marker=r.marker;else{if(o>=n)return a;let s=t.charCodeAt(o);if(s!==34&&s!==39&&s!==40)return a;e++,o++,s===40&&(s=41),a.marker=s}for(;o"+zn(o.content)+""};an.code_block=function(t,e,n,r,i){const o=t[e];return""+zn(t[e].content)+` `};an.fence=function(t,e,n,r,i){const o=t[e],a=o.info?pi(o.info).trim():"";let s="",l="";if(a){const u=a.split(/(\s+)/g);s=u[0],l=u.slice(2).join("")}let c;if(n.highlight?c=n.highlight(o.content,s,l)||zn(o.content):c=zn(o.content),c.indexOf("${c} `}return`
${c}
@@ -549,25 +549,25 @@ ${ce("ai-append")} `};an.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?`
`:`
`:` -`};an.text=function(t,e){return zn(t[e].content)};an.html_block=function(t,e){return t[e].content};an.html_inline=function(t,e){return t[e].content};function gi(){this.rules=Os({},an)}gi.prototype.renderAttrs=function(e){let n,r,i;if(!e.attrs)return"";for(i="",n=0,r=e.attrs.length;n `:">",o};gi.prototype.renderInline=function(t,e,n){let r="";const i=this.rules;for(let o=0,a=t.length;o=0&&(r=this.attrs[n][1]),r};Yt.prototype.attrJoin=function(e,n){const r=this.attrIndex(e);r<0?this.attrPush([e,n]):this.attrs[r][1]=this.attrs[r][1]+" "+n};function Yh(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}Yh.prototype.Token=Yt;const vk=/\r\n?|\n/g,Rk=/\0/g;function Ok(t){let e;e=t.src.replace(vk,` -`),e=e.replace(Rk,"�"),t.src=e}function Nk(t){let e;t.inlineMode?(e=new t.Token("inline","",0),e.content=t.src,e.map=[0,1],e.children=[],t.tokens.push(e)):t.md.block.parse(t.src,t.md,t.env,t.tokens)}function Ak(t){const e=t.tokens;for(let n=0,r=e.length;n\s]/i.test(t)}function xk(t){return/^<\/a\s*>/i.test(t)}function Dk(t){const e=t.tokens;if(t.md.options.linkify)for(let n=0,r=e.length;n=0;a--){const s=i[a];if(s.type==="link_close"){for(a--;i[a].level!==s.level&&i[a].type!=="link_open";)a--;continue}if(s.type==="html_inline"&&(Ik(s.content)&&o>0&&o--,xk(s.content)&&o++),!(o>0)&&s.type==="text"&&t.md.linkify.test(s.content)){const l=s.content;let c=t.md.linkify.match(l);const u=[];let d=s.level,p=0;c.length>0&&c[0].index===0&&a>0&&i[a-1].type==="text_special"&&(c=c.slice(1));for(let _=0;_p){const C=new t.Token("text","",0);C.content=l.slice(p,E),C.level=d,u.push(C)}const S=new t.Token("link_open","a",1);S.attrs=[["href",f]],S.level=d++,S.markup="linkify",S.info="auto",u.push(S);const b=new t.Token("text","",0);b.content=g,b.level=d,u.push(b);const h=new t.Token("link_close","a",-1);h.level=--d,h.markup="linkify",h.info="auto",u.push(h),p=c[_].lastIndex}if(p=0;n--){const r=t[n];r.type==="text"&&!e&&(r.content=r.content.replace(wk,kk)),r.type==="link_open"&&r.info==="auto"&&e--,r.type==="link_close"&&r.info==="auto"&&e++}}function Fk(t){let e=0;for(let n=t.length-1;n>=0;n--){const r=t[n];r.type==="text"&&!e&&zh.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),r.type==="link_open"&&r.info==="auto"&&e--,r.type==="link_close"&&r.info==="auto"&&e++}}function Bk(t){let e;if(t.md.options.typographer)for(e=t.tokens.length-1;e>=0;e--)t.tokens[e].type==="inline"&&(Mk.test(t.tokens[e].content)&&Pk(t.tokens[e].children),zh.test(t.tokens[e].content)&&Fk(t.tokens[e].children))}const Uk=/['"]/,z_=/['"]/g,$_="’";function Qo(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function Hk(t,e){let n;const r=[];for(let i=0;i=0&&!(r[n].level<=a);n--);if(r.length=n+1,o.type!=="text")continue;let s=o.content,l=0,c=s.length;e:for(;l=0)m=s.charCodeAt(u.index-1);else for(n=i-1;n>=0&&!(t[n].type==="softbreak"||t[n].type==="hardbreak");n--)if(t[n].content){m=t[n].content.charCodeAt(t[n].content.length-1);break}let f=32;if(l=48&&m<=57&&(p=d=!1),d&&p&&(d=g,p=E),!d&&!p){_&&(o.content=Qo(o.content,u.index,$_));continue}if(p)for(n=r.length-1;n>=0;n--){let h=r[n];if(r[n].level=0;e--)t.tokens[e].type!=="inline"||!Uk.test(t.tokens[e].content)||Hk(t.tokens[e].children,t)}function Vk(t){let e,n;const r=t.tokens,i=r.length;for(let o=0;o0&&this.level++,this.tokens.push(r),r};sn.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};sn.prototype.skipEmptyLines=function(e){for(let n=this.lineMax;en;)if(!Oe(this.src.charCodeAt(--e)))return e+1;return e};sn.prototype.skipChars=function(e,n){for(let r=this.src.length;er;)if(n!==this.src.charCodeAt(--e))return e+1;return e};sn.prototype.getLines=function(e,n,r,i){if(e>=n)return"";const o=new Array(n-e);for(let a=0,s=e;sr?o[a]=new Array(l-r+1).join(" ")+this.src.slice(u,d):o[a]=this.src.slice(u,d)}return o.join("")};sn.prototype.Token=Yt;const Yk=65536;function Tl(t,e){const n=t.bMarks[e]+t.tShift[e],r=t.eMarks[e];return t.src.slice(n,r)}function q_(t){const e=[],n=t.length;let r=0,i=t.charCodeAt(r),o=!1,a=0,s="";for(;rn)return!1;let i=e+1;if(t.sCount[i]=4)return!1;let o=t.bMarks[i]+t.tShift[i];if(o>=t.eMarks[i])return!1;const a=t.src.charCodeAt(o++);if(a!==124&&a!==45&&a!==58||o>=t.eMarks[i])return!1;const s=t.src.charCodeAt(o++);if(s!==124&&s!==45&&s!==58&&!Oe(s)||a===45&&Oe(s))return!1;for(;o=4)return!1;c=q_(l),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop();const d=c.length;if(d===0||d!==u.length)return!1;if(r)return!0;const p=t.parentType;t.parentType="table";const _=t.md.block.ruler.getRules("blockquote"),m=t.push("table_open","table",1),f=[e,0];m.map=f;const g=t.push("thead_open","thead",1);g.map=[e,e+1];const E=t.push("tr_open","tr",1);E.map=[e,e+1];for(let h=0;h=4||(c=q_(l),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop(),b+=d-c.length,b>Yk))break;if(i===e+2){const T=t.push("tbody_open","tbody",1);T.map=S=[e+2,0]}const C=t.push("tr_open","tr",1);C.map=[i,i+1];for(let T=0;T=4){r++,i=r;continue}break}t.line=i;const o=t.push("code_block","code",0);return o.content=t.getLines(e,i,4+t.blkIndent,!1)+` -`,o.map=[e,t.line],!0}function qk(t,e,n,r){let i=t.bMarks[e]+t.tShift[e],o=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4||i+3>o)return!1;const a=t.src.charCodeAt(i);if(a!==126&&a!==96)return!1;let s=i;i=t.skipChars(i,a);let l=i-s;if(l<3)return!1;const c=t.src.slice(s,i),u=t.src.slice(i,o);if(a===96&&u.indexOf(String.fromCharCode(a))>=0)return!1;if(r)return!0;let d=e,p=!1;for(;d++,!(d>=n||(i=s=t.bMarks[d]+t.tShift[d],o=t.eMarks[d],i=4)&&(i=t.skipChars(i,a),!(i-s=4||t.src.charCodeAt(i)!==62)return!1;if(r)return!0;const s=[],l=[],c=[],u=[],d=t.md.block.ruler.getRules("blockquote"),p=t.parentType;t.parentType="blockquote";let _=!1,m;for(m=e;m=o)break;if(t.src.charCodeAt(i++)===62&&!b){let C=t.sCount[m]+1,T,R;t.src.charCodeAt(i)===32?(i++,C++,R=!1,T=!0):t.src.charCodeAt(i)===9?(T=!0,(t.bsCount[m]+C)%4===3?(i++,C++,R=!1):R=!0):T=!1;let x=C;for(s.push(t.bMarks[m]),t.bMarks[m]=i;i=o,l.push(t.bsCount[m]),t.bsCount[m]=t.sCount[m]+1+(T?1:0),c.push(t.sCount[m]),t.sCount[m]=x-C,u.push(t.tShift[m]),t.tShift[m]=i-t.bMarks[m];continue}if(_)break;let h=!1;for(let C=0,T=d.length;C";const E=[e,0];g.map=E,t.md.block.tokenize(t,e,m);const S=t.push("blockquote_close","blockquote",-1);S.markup=">",t.lineMax=a,t.parentType=p,E[1]=t.line;for(let b=0;b=4)return!1;let o=t.bMarks[e]+t.tShift[e];const a=t.src.charCodeAt(o++);if(a!==42&&a!==45&&a!==95)return!1;let s=1;for(;o=r)return-1;let o=t.src.charCodeAt(i++);if(o<48||o>57)return-1;for(;;){if(i>=r)return-1;if(o=t.src.charCodeAt(i++),o>=48&&o<=57){if(i-n>=10)return-1;continue}if(o===41||o===46)break;return-1}return i=4||t.listIndent>=0&&t.sCount[l]-t.listIndent>=4&&t.sCount[l]=t.blkIndent&&(u=!0);let d,p,_;if((_=K_(t,l))>=0){if(d=!0,a=t.bMarks[l]+t.tShift[l],p=Number(t.src.slice(a,_-1)),u&&p!==1)return!1}else if((_=W_(t,l))>=0)d=!1;else return!1;if(u&&t.skipSpaces(_)>=t.eMarks[l])return!1;if(r)return!0;const m=t.src.charCodeAt(_-1),f=t.tokens.length;d?(s=t.push("ordered_list_open","ol",1),p!==1&&(s.attrs=[["start",p]])):s=t.push("bullet_list_open","ul",1);const g=[l,0];s.map=g,s.markup=String.fromCharCode(m);let E=!1;const S=t.md.block.ruler.getRules("list"),b=t.parentType;for(t.parentType="list";l=i?R=1:R=C-h,R>4&&(R=1);const x=h+R;s=t.push("list_item_open","li",1),s.markup=String.fromCharCode(m);const O=[l,0];s.map=O,d&&(s.info=t.src.slice(a,_-1));const M=t.tight,B=t.tShift[l],Y=t.sCount[l],$=t.listIndent;if(t.listIndent=t.blkIndent,t.blkIndent=x,t.tight=!0,t.tShift[l]=T-t.bMarks[l],t.sCount[l]=C,T>=i&&t.isEmpty(l+1)?t.line=Math.min(t.line+2,n):t.md.block.tokenize(t,l,n,!0),(!t.tight||E)&&(c=!1),E=t.line-l>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=$,t.tShift[l]=B,t.sCount[l]=Y,t.tight=M,s=t.push("list_item_close","li",-1),s.markup=String.fromCharCode(m),l=t.line,O[1]=l,l>=n||t.sCount[l]=4)break;let q=!1;for(let V=0,J=S.length;V=4||t.src.charCodeAt(i)!==91)return!1;function s(S){const b=t.lineMax;if(S>=b||t.isEmpty(S))return null;let h=!1;if(t.sCount[S]-t.blkIndent>3&&(h=!0),t.sCount[S]<0&&(h=!0),!h){const R=t.md.block.ruler.getRules("reference"),x=t.parentType;t.parentType="reference";let O=!1;for(let M=0,B=R.length;M"u"&&(t.env.references={}),typeof t.env.references[E]>"u"&&(t.env.references[E]={title:g,href:d}),t.line=a),!0):!1}const jk=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Jk="[a-zA-Z_:][a-zA-Z0-9:._-]*",eP="[^\"'=<>`\\x00-\\x20]+",tP="'[^']*'",nP='"[^"]*"',rP="(?:"+eP+"|"+tP+"|"+nP+")",iP="(?:\\s+"+Jk+"(?:\\s*=\\s*"+rP+")?)",$h="<[A-Za-z][A-Za-z0-9\\-]*"+iP+"*\\s*\\/?>",qh="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",oP="",aP="<[?][\\s\\S]*?[?]>",sP="]*>",lP="",cP=new RegExp("^(?:"+$h+"|"+qh+"|"+oP+"|"+aP+"|"+sP+"|"+lP+")"),uP=new RegExp("^(?:"+$h+"|"+qh+")"),kr=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(uP.source+"\\s*$"),/^$/,!1]];function dP(t,e,n,r){let i=t.bMarks[e]+t.tShift[e],o=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4||!t.md.options.html||t.src.charCodeAt(i)!==60)return!1;let a=t.src.slice(i,o),s=0;for(;s=4)return!1;let a=t.src.charCodeAt(i);if(a!==35||i>=o)return!1;let s=1;for(a=t.src.charCodeAt(++i);a===35&&i6||ii&&Oe(t.src.charCodeAt(l-1))&&(o=l),t.line=e+1;const c=t.push("heading_open","h"+String(s),1);c.markup="########".slice(0,s),c.map=[e,t.line];const u=t.push("inline","",0);u.content=t.src.slice(i,o).trim(),u.map=[e,t.line],u.children=[];const d=t.push("heading_close","h"+String(s),-1);return d.markup="########".slice(0,s),!0}function _P(t,e,n){const r=t.md.block.ruler.getRules("paragraph");if(t.sCount[e]-t.blkIndent>=4)return!1;const i=t.parentType;t.parentType="paragraph";let o=0,a,s=e+1;for(;s3)continue;if(t.sCount[s]>=t.blkIndent){let _=t.bMarks[s]+t.tShift[s];const m=t.eMarks[s];if(_=m))){o=a===61?1:2;break}}if(t.sCount[s]<0)continue;let p=!1;for(let _=0,m=r.length;_3||t.sCount[o]<0)continue;let c=!1;for(let u=0,d=r.length;u=n||t.sCount[a]=o){t.line=n;break}const l=t.line;let c=!1;for(let u=0;u=t.line)throw new Error("block rule didn't increment state.line");break}if(!c)throw new Error("none of the block rules matched");t.tight=!s,t.isEmpty(t.line-1)&&(s=!0),a=t.line,a0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(i),r};bo.prototype.scanDelims=function(t,e){const n=this.posMax,r=this.src.charCodeAt(t),i=t>0?this.src.charCodeAt(t-1):32;let o=t;for(;o0)return!1;const n=t.pos,r=t.posMax;if(n+3>r||t.src.charCodeAt(n)!==58||t.src.charCodeAt(n+1)!==47||t.src.charCodeAt(n+2)!==47)return!1;const i=t.pending.match(hP);if(!i)return!1;const o=i[1],a=t.md.linkify.matchAtStart(t.src.slice(n-o.length));if(!a)return!1;let s=a.url;if(s.length<=o.length)return!1;s=s.replace(/\*+$/,"");const l=t.md.normalizeLink(s);if(!t.md.validateLink(l))return!1;if(!e){t.pending=t.pending.slice(0,-o.length);const c=t.push("link_open","a",1);c.attrs=[["href",l]],c.markup="linkify",c.info="auto";const u=t.push("text","",0);u.content=t.md.normalizeLinkText(s);const d=t.push("link_close","a",-1);d.markup="linkify",d.info="auto"}return t.pos+=s.length-o.length,!0}function SP(t,e){let n=t.pos;if(t.src.charCodeAt(n)!==10)return!1;const r=t.pending.length-1,i=t.posMax;if(!e)if(r>=0&&t.pending.charCodeAt(r)===32)if(r>=1&&t.pending.charCodeAt(r-1)===32){let o=r-1;for(;o>=1&&t.pending.charCodeAt(o-1)===32;)o--;t.pending=t.pending.slice(0,o),t.push("hardbreak","br",0)}else t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0);else t.push("softbreak","br",0);for(n++;n?@[]^_`{|}~-".split("").forEach(function(t){Ou[t.charCodeAt(0)]=1});function bP(t,e){let n=t.pos;const r=t.posMax;if(t.src.charCodeAt(n)!==92||(n++,n>=r))return!1;let i=t.src.charCodeAt(n);if(i===10){for(e||t.push("hardbreak","br",0),n++;n=55296&&i<=56319&&n+1=56320&&s<=57343&&(o+=t.src[n+1],n++)}const a="\\"+o;if(!e){const s=t.push("text_special","",0);i<256&&Ou[i]!==0?s.content=o:s.content=a,s.markup=a,s.info="escape"}return t.pos=n+1,!0}function TP(t,e){let n=t.pos;if(t.src.charCodeAt(n)!==96)return!1;const i=n;n++;const o=t.posMax;for(;n=0;r--){const i=e[r];if(i.marker!==95&&i.marker!==42||i.end===-1)continue;const o=e[i.end],a=r>0&&e[r-1].end===i.end+1&&e[r-1].marker===i.marker&&e[r-1].token===i.token-1&&e[i.end+1].token===o.token+1,s=String.fromCharCode(i.marker),l=t.tokens[i.token];l.type=a?"strong_open":"em_open",l.tag=a?"strong":"em",l.nesting=1,l.markup=a?s+s:s,l.content="";const c=t.tokens[o.token];c.type=a?"strong_close":"em_close",c.tag=a?"strong":"em",c.nesting=-1,c.markup=a?s+s:s,c.content="",a&&(t.tokens[e[r-1].token].content="",t.tokens[e[i.end+1].token].content="",r--)}}function RP(t){const e=t.tokens_meta,n=t.tokens_meta.length;Z_(t,t.delimiters);for(let r=0;r=d)return!1;if(l=m,i=t.md.helpers.parseLinkDestination(t.src,m,t.posMax),i.ok){for(a=t.md.normalizeLink(i.str),t.md.validateLink(a)?m=i.pos:a="",l=m;m=d||t.src.charCodeAt(m)!==41)&&(c=!0),m++}if(c){if(typeof t.env.references>"u")return!1;if(m=0?r=t.src.slice(l,m++):m=_+1):m=_+1,r||(r=t.src.slice(p,_)),o=t.env.references[Ns(r)],!o)return t.pos=u,!1;a=o.href,s=o.title}if(!e){t.pos=p,t.posMax=_;const f=t.push("link_open","a",1),g=[["href",a]];f.attrs=g,s&&g.push(["title",s]),t.linkLevel++,t.md.inline.tokenize(t),t.linkLevel--,t.push("link_close","a",-1)}return t.pos=m,t.posMax=d,!0}function NP(t,e){let n,r,i,o,a,s,l,c,u="";const d=t.pos,p=t.posMax;if(t.src.charCodeAt(t.pos)!==33||t.src.charCodeAt(t.pos+1)!==91)return!1;const _=t.pos+2,m=t.md.helpers.parseLinkLabel(t,t.pos+1,!1);if(m<0)return!1;if(o=m+1,o=p)return!1;for(c=o,s=t.md.helpers.parseLinkDestination(t.src,o,t.posMax),s.ok&&(u=t.md.normalizeLink(s.str),t.md.validateLink(u)?o=s.pos:u=""),c=o;o=p||t.src.charCodeAt(o)!==41)return t.pos=d,!1;o++}else{if(typeof t.env.references>"u")return!1;if(o=0?i=t.src.slice(c,o++):o=m+1):o=m+1,i||(i=t.src.slice(_,m)),a=t.env.references[Ns(i)],!a)return t.pos=d,!1;u=a.href,l=a.title}if(!e){r=t.src.slice(_,m);const f=[];t.md.inline.parse(r,t.md,t.env,f);const g=t.push("image","img",0),E=[["src",u],["alt",""]];g.attrs=E,g.children=f,g.content=r,l&&E.push(["title",l])}return t.pos=o,t.posMax=p,!0}const AP=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,IP=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function xP(t,e){let n=t.pos;if(t.src.charCodeAt(n)!==60)return!1;const r=t.pos,i=t.posMax;for(;;){if(++n>=i)return!1;const a=t.src.charCodeAt(n);if(a===60)return!1;if(a===62)break}const o=t.src.slice(r+1,n);if(IP.test(o)){const a=t.md.normalizeLink(o);if(!t.md.validateLink(a))return!1;if(!e){const s=t.push("link_open","a",1);s.attrs=[["href",a]],s.markup="autolink",s.info="auto";const l=t.push("text","",0);l.content=t.md.normalizeLinkText(o);const c=t.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return t.pos+=o.length+2,!0}if(AP.test(o)){const a=t.md.normalizeLink("mailto:"+o);if(!t.md.validateLink(a))return!1;if(!e){const s=t.push("link_open","a",1);s.attrs=[["href",a]],s.markup="autolink",s.info="auto";const l=t.push("text","",0);l.content=t.md.normalizeLinkText(o);const c=t.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return t.pos+=o.length+2,!0}return!1}function DP(t){return/^\s]/i.test(t)}function MP(t){return/^<\/a\s*>/i.test(t)}function wP(t){const e=t|32;return e>=97&&e<=122}function LP(t,e){if(!t.md.options.html)return!1;const n=t.posMax,r=t.pos;if(t.src.charCodeAt(r)!==60||r+2>=n)return!1;const i=t.src.charCodeAt(r+1);if(i!==33&&i!==63&&i!==47&&!wP(i))return!1;const o=t.src.slice(r).match(cP);if(!o)return!1;if(!e){const a=t.push("html_inline","",0);a.content=o[0],DP(a.content)&&t.linkLevel++,MP(a.content)&&t.linkLevel--}return t.pos+=o[0].length,!0}const kP=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,PP=/^&([a-z][a-z0-9]{1,31});/i;function FP(t,e){const n=t.pos,r=t.posMax;if(t.src.charCodeAt(n)!==38||n+1>=r)return!1;if(t.src.charCodeAt(n+1)===35){const o=t.src.slice(n).match(kP);if(o){if(!e){const a=o[1][0].toLowerCase()==="x"?parseInt(o[1].slice(1),16):parseInt(o[1],10),s=t.push("text_special","",0);s.content=vu(a)?Qa(a):Qa(65533),s.markup=o[0],s.info="entity"}return t.pos+=o[0].length,!0}}else{const o=t.src.slice(n).match(PP);if(o){const a=Hh(o[0]);if(a!==o[0]){if(!e){const s=t.push("text_special","",0);s.content=a,s.markup=o[0],s.info="entity"}return t.pos+=o[0].length,!0}}}return!1}function X_(t){const e={},n=t.length;if(!n)return;let r=0,i=-2;const o=[];for(let a=0;al;c-=o[c]+1){const d=t[c];if(d.marker===s.marker&&d.open&&d.end<0){let p=!1;if((d.close||s.open)&&(d.length+s.length)%3===0&&(d.length%3!==0||s.length%3!==0)&&(p=!0),!p){const _=c>0&&!t[c-1].open?o[c-1]+1:0;o[a]=a-c+_,o[c]=_,s.open=!1,d.end=a,d.close=!1,u=-1,i=-2;break}}}u!==-1&&(e[s.marker][(s.open?3:0)+(s.length||0)%3]=u)}}function BP(t){const e=t.tokens_meta,n=t.tokens_meta.length;X_(t.delimiters);for(let r=0;r0&&r++,i[e].type==="text"&&e+1=t.pos)throw new Error("inline rule didn't increment state.pos");break}}else t.pos=t.posMax;a||t.pos++,o[e]=t.pos};To.prototype.tokenize=function(t){const e=this.ruler.getRules(""),n=e.length,r=t.posMax,i=t.md.options.maxNesting;for(;t.pos=t.pos)throw new Error("inline rule didn't increment state.pos");break}}if(a){if(t.pos>=r)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()};To.prototype.parse=function(t,e,n,r){const i=new this.State(t,e,n,r);this.tokenize(i);const o=this.ruler2.getRules(""),a=o.length;for(let s=0;s|$))",e.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}function hc(t){return Array.prototype.slice.call(arguments,1).forEach(function(n){n&&Object.keys(n).forEach(function(r){t[r]=n[r]})}),t}function Is(t){return Object.prototype.toString.call(t)}function GP(t){return Is(t)==="[object String]"}function VP(t){return Is(t)==="[object Object]"}function YP(t){return Is(t)==="[object RegExp]"}function j_(t){return Is(t)==="[object Function]"}function zP(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const Qh={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function $P(t){return Object.keys(t||{}).reduce(function(e,n){return e||Qh.hasOwnProperty(n)},!1)}const qP={"http:":{validate:function(t,e,n){const r=t.slice(e);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,n){const r=t.slice(e);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?e>=3&&t[e-3]===":"||e>=3&&t[e-3]==="/"?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){const r=t.slice(e);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},WP="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",KP="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function QP(t){t.__index__=-1,t.__text_cache__=""}function ZP(t){return function(e,n){const r=e.slice(n);return t.test(r)?r.match(t)[0].length:0}}function J_(){return function(t,e){e.normalize(t)}}function Za(t){const e=t.re=HP(t.__opts__),n=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||n.push(WP),n.push(e.src_xn),e.src_tlds=n.join("|");function r(s){return s.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(r(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(r(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(r(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(r(e.tpl_host_fuzzy_test),"i");const i=[];t.__compiled__={};function o(s,l){throw new Error('(LinkifyIt) Invalid schema "'+s+'": '+l)}Object.keys(t.__schemas__).forEach(function(s){const l=t.__schemas__[s];if(l===null)return;const c={validate:null,link:null};if(t.__compiled__[s]=c,VP(l)){YP(l.validate)?c.validate=ZP(l.validate):j_(l.validate)?c.validate=l.validate:o(s,l),j_(l.normalize)?c.normalize=l.normalize:l.normalize?o(s,l):c.normalize=J_();return}if(GP(l)){i.push(s);return}o(s,l)}),i.forEach(function(s){t.__compiled__[t.__schemas__[s]]&&(t.__compiled__[s].validate=t.__compiled__[t.__schemas__[s]].validate,t.__compiled__[s].normalize=t.__compiled__[t.__schemas__[s]].normalize)}),t.__compiled__[""]={validate:null,normalize:J_()};const a=Object.keys(t.__compiled__).filter(function(s){return s.length>0&&t.__compiled__[s]}).map(zP).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+a+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+a+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),QP(t)}function XP(t,e){const n=t.__index__,r=t.__last_index__,i=t.__text_cache__.slice(n,r);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=r+e,this.raw=i,this.text=i,this.url=i}function Ec(t,e){const n=new XP(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function Ot(t,e){if(!(this instanceof Ot))return new Ot(t,e);e||$P(t)&&(e=t,t={}),this.__opts__=hc({},Qh,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=hc({},qP,t),this.__compiled__={},this.__tlds__=KP,this.__tlds_replaced__=!1,this.re={},Za(this)}Ot.prototype.add=function(e,n){return this.__schemas__[e]=n,Za(this),this};Ot.prototype.set=function(e){return this.__opts__=hc(this.__opts__,e),this};Ot.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;let n,r,i,o,a,s,l,c,u;if(this.re.schema_test.test(e)){for(l=this.re.schema_search,l.lastIndex=0;(n=l.exec(e))!==null;)if(o=this.testSchemaAt(e,n[2],l.lastIndex),o){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+o;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=e.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c=0&&(i=e.match(this.re.email_fuzzy))!==null&&(a=i.index+i[1].length,s=i.index+i[0].length,(this.__index__<0||athis.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=s))),this.__index__>=0};Ot.prototype.pretest=function(e){return this.re.pretest.test(e)};Ot.prototype.testSchemaAt=function(e,n,r){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(e,r,this):0};Ot.prototype.match=function(e){const n=[];let r=0;this.__index__>=0&&this.__text_cache__===e&&(n.push(Ec(this,r)),r=this.__last_index__);let i=r?e.slice(r):e;for(;this.test(i);)n.push(Ec(this,r)),i=i.slice(this.__last_index__),r+=this.__last_index__;return n.length?n:null};Ot.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;const n=this.re.schema_at_start.exec(e);if(!n)return null;const r=this.testSchemaAt(e,n[2],n[0].length);return r?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+r,Ec(this,0)):null};Ot.prototype.tlds=function(e,n){return e=Array.isArray(e)?e:[e],n?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(r,i,o){return r!==o[i-1]}).reverse(),Za(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Za(this),this)};Ot.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};Ot.prototype.onCompile=function(){};const jr=2147483647,jt=36,Nu=1,uo=26,jP=38,JP=700,Zh=72,Xh=128,jh="-",e3=/^xn--/,t3=/[^\0-\x7F]/,n3=/[\x2E\u3002\uFF0E\uFF61]/g,r3={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},vl=jt-Nu,Jt=Math.floor,Rl=String.fromCharCode;function On(t){throw new RangeError(r3[t])}function i3(t,e){const n=[];let r=t.length;for(;r--;)n[r]=e(t[r]);return n}function Jh(t,e){const n=t.split("@");let r="";n.length>1&&(r=n[0]+"@",t=n[1]),t=t.replace(n3,".");const i=t.split("."),o=i3(i,e).join(".");return r+o}function eE(t){const e=[];let n=0;const r=t.length;for(;n=55296&&i<=56319&&nString.fromCodePoint(...t),a3=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:jt},em=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},tE=function(t,e,n){let r=0;for(t=n?Jt(t/JP):t>>1,t+=Jt(t/e);t>vl*uo>>1;r+=jt)t=Jt(t/vl);return Jt(r+(vl+1)*t/(t+jP))},nE=function(t){const e=[],n=t.length;let r=0,i=Xh,o=Zh,a=t.lastIndexOf(jh);a<0&&(a=0);for(let s=0;s=128&&On("not-basic"),e.push(t.charCodeAt(s));for(let s=a>0?a+1:0;s=n&&On("invalid-input");const p=a3(t.charCodeAt(s++));p>=jt&&On("invalid-input"),p>Jt((jr-r)/u)&&On("overflow"),r+=p*u;const _=d<=o?Nu:d>=o+uo?uo:d-o;if(p<_)break;const m=jt-_;u>Jt(jr/m)&&On("overflow"),u*=m}const c=e.length+1;o=tE(r-l,c,l==0),Jt(r/c)>jr-i&&On("overflow"),i+=Jt(r/c),r%=c,e.splice(r++,0,i)}return String.fromCodePoint(...e)},rE=function(t){const e=[];t=eE(t);const n=t.length;let r=Xh,i=0,o=Zh;for(const l of t)l<128&&e.push(Rl(l));const a=e.length;let s=a;for(a&&e.push(jh);s=r&&uJt((jr-i)/c)&&On("overflow"),i+=(l-r)*c,r=l;for(const u of t)if(ujr&&On("overflow"),u===r){let d=i;for(let p=jt;;p+=jt){const _=p<=o?Nu:p>=o+uo?uo:p-o;if(d<_)break;const m=d-_,f=jt-_;e.push(Rl(em(_+m%f,0))),d=Jt(m/f)}e.push(Rl(em(d,0))),o=tE(i,c,s===a),i=0,++s}++i,++r}return e.join("")},s3=function(t){return Jh(t,function(e){return e3.test(e)?nE(e.slice(4).toLowerCase()):e})},l3=function(t){return Jh(t,function(e){return t3.test(e)?"xn--"+rE(e):e})},iE={version:"2.3.1",ucs2:{decode:eE,encode:o3},decode:nE,encode:rE,toASCII:l3,toUnicode:s3},c3={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},u3={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},d3={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}},p3={default:c3,zero:u3,commonmark:d3},_3=/^(vbscript|javascript|file|data):/,m3=/^data:image\/(gif|png|jpeg|webp);/;function f3(t){const e=t.trim().toLowerCase();return _3.test(e)?m3.test(e):!0}const oE=["http:","https:","mailto:"];function g3(t){const e=Tu(t,!0);if(e.hostname&&(!e.protocol||oE.indexOf(e.protocol)>=0))try{e.hostname=iE.toASCII(e.hostname)}catch{}return So(bu(e))}function h3(t){const e=Tu(t,!0);if(e.hostname&&(!e.protocol||oE.indexOf(e.protocol)>=0))try{e.hostname=iE.toUnicode(e.hostname)}catch{}return di(bu(e),di.defaultChars+"%")}function Pt(t,e){if(!(this instanceof Pt))return new Pt(t,e);e||yu(t)||(e=t||{},t="default"),this.inline=new To,this.block=new As,this.core=new Ru,this.renderer=new gi,this.linkify=new Ot,this.validateLink=f3,this.normalizeLink=g3,this.normalizeLinkText=h3,this.utils=Sk,this.helpers=Os({},yk),this.options={},this.configure(t),e&&this.set(e)}Pt.prototype.set=function(t){return Os(this.options,t),this};Pt.prototype.configure=function(t){const e=this;if(yu(t)){const n=t;if(t=p3[n],!t)throw new Error('Wrong `markdown-it` preset "'+n+'", check name')}if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach(function(n){t.components[n].rules&&e[n].ruler.enableOnly(t.components[n].rules),t.components[n].rules2&&e[n].ruler2.enableOnly(t.components[n].rules2)}),this};Pt.prototype.enable=function(t,e){let n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(i){n=n.concat(this[i].ruler.enable(t,!0))},this),n=n.concat(this.inline.ruler2.enable(t,!0));const r=t.filter(function(i){return n.indexOf(i)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this};Pt.prototype.disable=function(t,e){let n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(i){n=n.concat(this[i].ruler.disable(t,!0))},this),n=n.concat(this.inline.ruler2.disable(t,!0));const r=t.filter(function(i){return n.indexOf(i)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this};Pt.prototype.use=function(t){const e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this};Pt.prototype.parse=function(t,e){if(typeof t!="string")throw new Error("Input data should be a String");const n=new this.core.State(t,this,e);return this.core.process(n),n.tokens};Pt.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)};Pt.prototype.parseInline=function(t,e){const n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens};Pt.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};function E3(t){for(var e=1;e0&&t[e-1]===` -`;)e--;return t.substring(0,e)}var T3=["ADDRESS","ARTICLE","ASIDE","AUDIO","BLOCKQUOTE","BODY","CANVAS","CENTER","DD","DIR","DIV","DL","DT","FIELDSET","FIGCAPTION","FIGURE","FOOTER","FORM","FRAMESET","H1","H2","H3","H4","H5","H6","HEADER","HGROUP","HR","HTML","ISINDEX","LI","MAIN","MENU","NAV","NOFRAMES","NOSCRIPT","OL","OUTPUT","P","PRE","SECTION","TABLE","TBODY","TD","TFOOT","TH","THEAD","TR","UL"];function Au(t){return Iu(t,T3)}var aE=["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"];function sE(t){return Iu(t,aE)}function C3(t){return cE(t,aE)}var lE=["A","TABLE","THEAD","TBODY","TFOOT","TH","TD","IFRAME","SCRIPT","AUDIO","VIDEO"];function y3(t){return Iu(t,lE)}function v3(t){return cE(t,lE)}function Iu(t,e){return e.indexOf(t.nodeName)>=0}function cE(t,e){return t.getElementsByTagName&&e.some(function(n){return t.getElementsByTagName(n).length})}var at={};at.paragraph={filter:"p",replacement:function(t){return` +`;break}return r};gi.prototype.render=function(t,e,n){let r="";const i=this.rules;for(let o=0,a=t.length;o=0&&(r=this.attrs[n][1]),r};Yt.prototype.attrJoin=function(e,n){const r=this.attrIndex(e);r<0?this.attrPush([e,n]):this.attrs[r][1]=this.attrs[r][1]+" "+n};function Wg(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}Wg.prototype.Token=Yt;const wk=/\r\n?|\n/g,Lk=/\0/g;function kk(t){let e;e=t.src.replace(wk,` +`),e=e.replace(Lk,"�"),t.src=e}function Pk(t){let e;t.inlineMode?(e=new t.Token("inline","",0),e.content=t.src,e.map=[0,1],e.children=[],t.tokens.push(e)):t.md.block.parse(t.src,t.md,t.env,t.tokens)}function Fk(t){const e=t.tokens;for(let n=0,r=e.length;n\s]/i.test(t)}function Uk(t){return/^<\/a\s*>/i.test(t)}function Hk(t){const e=t.tokens;if(t.md.options.linkify)for(let n=0,r=e.length;n=0;a--){const s=i[a];if(s.type==="link_close"){for(a--;i[a].level!==s.level&&i[a].type!=="link_open";)a--;continue}if(s.type==="html_inline"&&(Bk(s.content)&&o>0&&o--,Uk(s.content)&&o++),!(o>0)&&s.type==="text"&&t.md.linkify.test(s.content)){const l=s.content;let c=t.md.linkify.match(l);const u=[];let d=s.level,p=0;c.length>0&&c[0].index===0&&a>0&&i[a-1].type==="text_special"&&(c=c.slice(1));for(let _=0;_p){const C=new t.Token("text","",0);C.content=l.slice(p,E),C.level=d,u.push(C)}const S=new t.Token("link_open","a",1);S.attrs=[["href",f]],S.level=d++,S.markup="linkify",S.info="auto",u.push(S);const b=new t.Token("text","",0);b.content=h,b.level=d,u.push(b);const g=new t.Token("link_close","a",-1);g.level=--d,g.markup="linkify",g.info="auto",u.push(g),p=c[_].lastIndex}if(p=0;n--){const r=t[n];r.type==="text"&&!e&&(r.content=r.content.replace(Vk,zk)),r.type==="link_open"&&r.info==="auto"&&e--,r.type==="link_close"&&r.info==="auto"&&e++}}function qk(t){let e=0;for(let n=t.length-1;n>=0;n--){const r=t[n];r.type==="text"&&!e&&Kg.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),r.type==="link_open"&&r.info==="auto"&&e--,r.type==="link_close"&&r.info==="auto"&&e++}}function Wk(t){let e;if(t.md.options.typographer)for(e=t.tokens.length-1;e>=0;e--)t.tokens[e].type==="inline"&&(Gk.test(t.tokens[e].content)&&$k(t.tokens[e].children),Kg.test(t.tokens[e].content)&&qk(t.tokens[e].children))}const Kk=/['"]/,W_=/['"]/g,K_="’";function Xo(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function Qk(t,e){let n;const r=[];for(let i=0;i=0&&!(r[n].level<=a);n--);if(r.length=n+1,o.type!=="text")continue;let s=o.content,l=0,c=s.length;e:for(;l=0)m=s.charCodeAt(u.index-1);else for(n=i-1;n>=0&&!(t[n].type==="softbreak"||t[n].type==="hardbreak");n--)if(t[n].content){m=t[n].content.charCodeAt(t[n].content.length-1);break}let f=32;if(l=48&&m<=57&&(p=d=!1),d&&p&&(d=h,p=E),!d&&!p){_&&(o.content=Xo(o.content,u.index,K_));continue}if(p)for(n=r.length-1;n>=0;n--){let g=r[n];if(r[n].level=0;e--)t.tokens[e].type!=="inline"||!Kk.test(t.tokens[e].content)||Qk(t.tokens[e].children,t)}function Xk(t){let e,n;const r=t.tokens,i=r.length;for(let o=0;o0&&this.level++,this.tokens.push(r),r};sn.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};sn.prototype.skipEmptyLines=function(e){for(let n=this.lineMax;en;)if(!Oe(this.src.charCodeAt(--e)))return e+1;return e};sn.prototype.skipChars=function(e,n){for(let r=this.src.length;er;)if(n!==this.src.charCodeAt(--e))return e+1;return e};sn.prototype.getLines=function(e,n,r,i){if(e>=n)return"";const o=new Array(n-e);for(let a=0,s=e;sr?o[a]=new Array(l-r+1).join(" ")+this.src.slice(u,d):o[a]=this.src.slice(u,d)}return o.join("")};sn.prototype.Token=Yt;const jk=65536;function yl(t,e){const n=t.bMarks[e]+t.tShift[e],r=t.eMarks[e];return t.src.slice(n,r)}function Q_(t){const e=[],n=t.length;let r=0,i=t.charCodeAt(r),o=!1,a=0,s="";for(;rn)return!1;let i=e+1;if(t.sCount[i]=4)return!1;let o=t.bMarks[i]+t.tShift[i];if(o>=t.eMarks[i])return!1;const a=t.src.charCodeAt(o++);if(a!==124&&a!==45&&a!==58||o>=t.eMarks[i])return!1;const s=t.src.charCodeAt(o++);if(s!==124&&s!==45&&s!==58&&!Oe(s)||a===45&&Oe(s))return!1;for(;o=4)return!1;c=Q_(l),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop();const d=c.length;if(d===0||d!==u.length)return!1;if(r)return!0;const p=t.parentType;t.parentType="table";const _=t.md.block.ruler.getRules("blockquote"),m=t.push("table_open","table",1),f=[e,0];m.map=f;const h=t.push("thead_open","thead",1);h.map=[e,e+1];const E=t.push("tr_open","tr",1);E.map=[e,e+1];for(let g=0;g=4||(c=Q_(l),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop(),b+=d-c.length,b>jk))break;if(i===e+2){const T=t.push("tbody_open","tbody",1);T.map=S=[e+2,0]}const C=t.push("tr_open","tr",1);C.map=[i,i+1];for(let T=0;T=4){r++,i=r;continue}break}t.line=i;const o=t.push("code_block","code",0);return o.content=t.getLines(e,i,4+t.blkIndent,!1)+` +`,o.map=[e,t.line],!0}function tP(t,e,n,r){let i=t.bMarks[e]+t.tShift[e],o=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4||i+3>o)return!1;const a=t.src.charCodeAt(i);if(a!==126&&a!==96)return!1;let s=i;i=t.skipChars(i,a);let l=i-s;if(l<3)return!1;const c=t.src.slice(s,i),u=t.src.slice(i,o);if(a===96&&u.indexOf(String.fromCharCode(a))>=0)return!1;if(r)return!0;let d=e,p=!1;for(;d++,!(d>=n||(i=s=t.bMarks[d]+t.tShift[d],o=t.eMarks[d],i=4)&&(i=t.skipChars(i,a),!(i-s=4||t.src.charCodeAt(i)!==62)return!1;if(r)return!0;const s=[],l=[],c=[],u=[],d=t.md.block.ruler.getRules("blockquote"),p=t.parentType;t.parentType="blockquote";let _=!1,m;for(m=e;m=o)break;if(t.src.charCodeAt(i++)===62&&!b){let C=t.sCount[m]+1,T,R;t.src.charCodeAt(i)===32?(i++,C++,R=!1,T=!0):t.src.charCodeAt(i)===9?(T=!0,(t.bsCount[m]+C)%4===3?(i++,C++,R=!1):R=!0):T=!1;let x=C;for(s.push(t.bMarks[m]),t.bMarks[m]=i;i=o,l.push(t.bsCount[m]),t.bsCount[m]=t.sCount[m]+1+(T?1:0),c.push(t.sCount[m]),t.sCount[m]=x-C,u.push(t.tShift[m]),t.tShift[m]=i-t.bMarks[m];continue}if(_)break;let g=!1;for(let C=0,T=d.length;C";const E=[e,0];h.map=E,t.md.block.tokenize(t,e,m);const S=t.push("blockquote_close","blockquote",-1);S.markup=">",t.lineMax=a,t.parentType=p,E[1]=t.line;for(let b=0;b=4)return!1;let o=t.bMarks[e]+t.tShift[e];const a=t.src.charCodeAt(o++);if(a!==42&&a!==45&&a!==95)return!1;let s=1;for(;o=r)return-1;let o=t.src.charCodeAt(i++);if(o<48||o>57)return-1;for(;;){if(i>=r)return-1;if(o=t.src.charCodeAt(i++),o>=48&&o<=57){if(i-n>=10)return-1;continue}if(o===41||o===46)break;return-1}return i=4||t.listIndent>=0&&t.sCount[l]-t.listIndent>=4&&t.sCount[l]=t.blkIndent&&(u=!0);let d,p,_;if((_=X_(t,l))>=0){if(d=!0,a=t.bMarks[l]+t.tShift[l],p=Number(t.src.slice(a,_-1)),u&&p!==1)return!1}else if((_=Z_(t,l))>=0)d=!1;else return!1;if(u&&t.skipSpaces(_)>=t.eMarks[l])return!1;if(r)return!0;const m=t.src.charCodeAt(_-1),f=t.tokens.length;d?(s=t.push("ordered_list_open","ol",1),p!==1&&(s.attrs=[["start",p]])):s=t.push("bullet_list_open","ul",1);const h=[l,0];s.map=h,s.markup=String.fromCharCode(m);let E=!1;const S=t.md.block.ruler.getRules("list"),b=t.parentType;for(t.parentType="list";l=i?R=1:R=C-g,R>4&&(R=1);const x=g+R;s=t.push("list_item_open","li",1),s.markup=String.fromCharCode(m);const O=[l,0];s.map=O,d&&(s.info=t.src.slice(a,_-1));const M=t.tight,B=t.tShift[l],Y=t.sCount[l],$=t.listIndent;if(t.listIndent=t.blkIndent,t.blkIndent=x,t.tight=!0,t.tShift[l]=T-t.bMarks[l],t.sCount[l]=C,T>=i&&t.isEmpty(l+1)?t.line=Math.min(t.line+2,n):t.md.block.tokenize(t,l,n,!0),(!t.tight||E)&&(c=!1),E=t.line-l>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=$,t.tShift[l]=B,t.sCount[l]=Y,t.tight=M,s=t.push("list_item_close","li",-1),s.markup=String.fromCharCode(m),l=t.line,O[1]=l,l>=n||t.sCount[l]=4)break;let q=!1;for(let V=0,J=S.length;V=4||t.src.charCodeAt(i)!==91)return!1;function s(S){const b=t.lineMax;if(S>=b||t.isEmpty(S))return null;let g=!1;if(t.sCount[S]-t.blkIndent>3&&(g=!0),t.sCount[S]<0&&(g=!0),!g){const R=t.md.block.ruler.getRules("reference"),x=t.parentType;t.parentType="reference";let O=!1;for(let M=0,B=R.length;M"u"&&(t.env.references={}),typeof t.env.references[E]>"u"&&(t.env.references[E]={title:h,href:d}),t.line=a),!0):!1}const sP=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],lP="[a-zA-Z_:][a-zA-Z0-9:._-]*",cP="[^\"'=<>`\\x00-\\x20]+",uP="'[^']*'",dP='"[^"]*"',pP="(?:"+cP+"|"+uP+"|"+dP+")",_P="(?:\\s+"+lP+"(?:\\s*=\\s*"+pP+")?)",Qg="<[A-Za-z][A-Za-z0-9\\-]*"+_P+"*\\s*\\/?>",Zg="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",mP="",fP="<[?][\\s\\S]*?[?]>",hP="]*>",gP="",EP=new RegExp("^(?:"+Qg+"|"+Zg+"|"+mP+"|"+fP+"|"+hP+"|"+gP+")"),SP=new RegExp("^(?:"+Qg+"|"+Zg+")"),kr=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(SP.source+"\\s*$"),/^$/,!1]];function bP(t,e,n,r){let i=t.bMarks[e]+t.tShift[e],o=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4||!t.md.options.html||t.src.charCodeAt(i)!==60)return!1;let a=t.src.slice(i,o),s=0;for(;s=4)return!1;let a=t.src.charCodeAt(i);if(a!==35||i>=o)return!1;let s=1;for(a=t.src.charCodeAt(++i);a===35&&i6||ii&&Oe(t.src.charCodeAt(l-1))&&(o=l),t.line=e+1;const c=t.push("heading_open","h"+String(s),1);c.markup="########".slice(0,s),c.map=[e,t.line];const u=t.push("inline","",0);u.content=t.src.slice(i,o).trim(),u.map=[e,t.line],u.children=[];const d=t.push("heading_close","h"+String(s),-1);return d.markup="########".slice(0,s),!0}function CP(t,e,n){const r=t.md.block.ruler.getRules("paragraph");if(t.sCount[e]-t.blkIndent>=4)return!1;const i=t.parentType;t.parentType="paragraph";let o=0,a,s=e+1;for(;s3)continue;if(t.sCount[s]>=t.blkIndent){let _=t.bMarks[s]+t.tShift[s];const m=t.eMarks[s];if(_=m))){o=a===61?1:2;break}}if(t.sCount[s]<0)continue;let p=!1;for(let _=0,m=r.length;_3||t.sCount[o]<0)continue;let c=!1;for(let u=0,d=r.length;u=n||t.sCount[a]=o){t.line=n;break}const l=t.line;let c=!1;for(let u=0;u=t.line)throw new Error("block rule didn't increment state.line");break}if(!c)throw new Error("none of the block rules matched");t.tight=!s,t.isEmpty(t.line-1)&&(s=!0),a=t.line,a0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(i),r};To.prototype.scanDelims=function(t,e){const n=this.posMax,r=this.src.charCodeAt(t),i=t>0?this.src.charCodeAt(t-1):32;let o=t;for(;o0)return!1;const n=t.pos,r=t.posMax;if(n+3>r||t.src.charCodeAt(n)!==58||t.src.charCodeAt(n+1)!==47||t.src.charCodeAt(n+2)!==47)return!1;const i=t.pending.match(OP);if(!i)return!1;const o=i[1],a=t.md.linkify.matchAtStart(t.src.slice(n-o.length));if(!a)return!1;let s=a.url;if(s.length<=o.length)return!1;s=s.replace(/\*+$/,"");const l=t.md.normalizeLink(s);if(!t.md.validateLink(l))return!1;if(!e){t.pending=t.pending.slice(0,-o.length);const c=t.push("link_open","a",1);c.attrs=[["href",l]],c.markup="linkify",c.info="auto";const u=t.push("text","",0);u.content=t.md.normalizeLinkText(s);const d=t.push("link_close","a",-1);d.markup="linkify",d.info="auto"}return t.pos+=s.length-o.length,!0}function AP(t,e){let n=t.pos;if(t.src.charCodeAt(n)!==10)return!1;const r=t.pending.length-1,i=t.posMax;if(!e)if(r>=0&&t.pending.charCodeAt(r)===32)if(r>=1&&t.pending.charCodeAt(r-1)===32){let o=r-1;for(;o>=1&&t.pending.charCodeAt(o-1)===32;)o--;t.pending=t.pending.slice(0,o),t.push("hardbreak","br",0)}else t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0);else t.push("softbreak","br",0);for(n++;n?@[]^_`{|}~-".split("").forEach(function(t){Iu[t.charCodeAt(0)]=1});function IP(t,e){let n=t.pos;const r=t.posMax;if(t.src.charCodeAt(n)!==92||(n++,n>=r))return!1;let i=t.src.charCodeAt(n);if(i===10){for(e||t.push("hardbreak","br",0),n++;n=55296&&i<=56319&&n+1=56320&&s<=57343&&(o+=t.src[n+1],n++)}const a="\\"+o;if(!e){const s=t.push("text_special","",0);i<256&&Iu[i]!==0?s.content=o:s.content=a,s.markup=a,s.info="escape"}return t.pos=n+1,!0}function xP(t,e){let n=t.pos;if(t.src.charCodeAt(n)!==96)return!1;const i=n;n++;const o=t.posMax;for(;n=0;r--){const i=e[r];if(i.marker!==95&&i.marker!==42||i.end===-1)continue;const o=e[i.end],a=r>0&&e[r-1].end===i.end+1&&e[r-1].marker===i.marker&&e[r-1].token===i.token-1&&e[i.end+1].token===o.token+1,s=String.fromCharCode(i.marker),l=t.tokens[i.token];l.type=a?"strong_open":"em_open",l.tag=a?"strong":"em",l.nesting=1,l.markup=a?s+s:s,l.content="";const c=t.tokens[o.token];c.type=a?"strong_close":"em_close",c.tag=a?"strong":"em",c.nesting=-1,c.markup=a?s+s:s,c.content="",a&&(t.tokens[e[r-1].token].content="",t.tokens[e[i.end+1].token].content="",r--)}}function LP(t){const e=t.tokens_meta,n=t.tokens_meta.length;J_(t,t.delimiters);for(let r=0;r=d)return!1;if(l=m,i=t.md.helpers.parseLinkDestination(t.src,m,t.posMax),i.ok){for(a=t.md.normalizeLink(i.str),t.md.validateLink(a)?m=i.pos:a="",l=m;m=d||t.src.charCodeAt(m)!==41)&&(c=!0),m++}if(c){if(typeof t.env.references>"u")return!1;if(m=0?r=t.src.slice(l,m++):m=_+1):m=_+1,r||(r=t.src.slice(p,_)),o=t.env.references[Is(r)],!o)return t.pos=u,!1;a=o.href,s=o.title}if(!e){t.pos=p,t.posMax=_;const f=t.push("link_open","a",1),h=[["href",a]];f.attrs=h,s&&h.push(["title",s]),t.linkLevel++,t.md.inline.tokenize(t),t.linkLevel--,t.push("link_close","a",-1)}return t.pos=m,t.posMax=d,!0}function PP(t,e){let n,r,i,o,a,s,l,c,u="";const d=t.pos,p=t.posMax;if(t.src.charCodeAt(t.pos)!==33||t.src.charCodeAt(t.pos+1)!==91)return!1;const _=t.pos+2,m=t.md.helpers.parseLinkLabel(t,t.pos+1,!1);if(m<0)return!1;if(o=m+1,o=p)return!1;for(c=o,s=t.md.helpers.parseLinkDestination(t.src,o,t.posMax),s.ok&&(u=t.md.normalizeLink(s.str),t.md.validateLink(u)?o=s.pos:u=""),c=o;o=p||t.src.charCodeAt(o)!==41)return t.pos=d,!1;o++}else{if(typeof t.env.references>"u")return!1;if(o=0?i=t.src.slice(c,o++):o=m+1):o=m+1,i||(i=t.src.slice(_,m)),a=t.env.references[Is(i)],!a)return t.pos=d,!1;u=a.href,l=a.title}if(!e){r=t.src.slice(_,m);const f=[];t.md.inline.parse(r,t.md,t.env,f);const h=t.push("image","img",0),E=[["src",u],["alt",""]];h.attrs=E,h.children=f,h.content=r,l&&E.push(["title",l])}return t.pos=o,t.posMax=p,!0}const FP=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,BP=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function UP(t,e){let n=t.pos;if(t.src.charCodeAt(n)!==60)return!1;const r=t.pos,i=t.posMax;for(;;){if(++n>=i)return!1;const a=t.src.charCodeAt(n);if(a===60)return!1;if(a===62)break}const o=t.src.slice(r+1,n);if(BP.test(o)){const a=t.md.normalizeLink(o);if(!t.md.validateLink(a))return!1;if(!e){const s=t.push("link_open","a",1);s.attrs=[["href",a]],s.markup="autolink",s.info="auto";const l=t.push("text","",0);l.content=t.md.normalizeLinkText(o);const c=t.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return t.pos+=o.length+2,!0}if(FP.test(o)){const a=t.md.normalizeLink("mailto:"+o);if(!t.md.validateLink(a))return!1;if(!e){const s=t.push("link_open","a",1);s.attrs=[["href",a]],s.markup="autolink",s.info="auto";const l=t.push("text","",0);l.content=t.md.normalizeLinkText(o);const c=t.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return t.pos+=o.length+2,!0}return!1}function HP(t){return/^\s]/i.test(t)}function GP(t){return/^<\/a\s*>/i.test(t)}function VP(t){const e=t|32;return e>=97&&e<=122}function YP(t,e){if(!t.md.options.html)return!1;const n=t.posMax,r=t.pos;if(t.src.charCodeAt(r)!==60||r+2>=n)return!1;const i=t.src.charCodeAt(r+1);if(i!==33&&i!==63&&i!==47&&!VP(i))return!1;const o=t.src.slice(r).match(EP);if(!o)return!1;if(!e){const a=t.push("html_inline","",0);a.content=o[0],HP(a.content)&&t.linkLevel++,GP(a.content)&&t.linkLevel--}return t.pos+=o[0].length,!0}const zP=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,$P=/^&([a-z][a-z0-9]{1,31});/i;function qP(t,e){const n=t.pos,r=t.posMax;if(t.src.charCodeAt(n)!==38||n+1>=r)return!1;if(t.src.charCodeAt(n+1)===35){const o=t.src.slice(n).match(zP);if(o){if(!e){const a=o[1][0].toLowerCase()==="x"?parseInt(o[1].slice(1),16):parseInt(o[1],10),s=t.push("text_special","",0);s.content=Nu(a)?Xa(a):Xa(65533),s.markup=o[0],s.info="entity"}return t.pos+=o[0].length,!0}}else{const o=t.src.slice(n).match($P);if(o){const a=zg(o[0]);if(a!==o[0]){if(!e){const s=t.push("text_special","",0);s.content=a,s.markup=o[0],s.info="entity"}return t.pos+=o[0].length,!0}}}return!1}function em(t){const e={},n=t.length;if(!n)return;let r=0,i=-2;const o=[];for(let a=0;al;c-=o[c]+1){const d=t[c];if(d.marker===s.marker&&d.open&&d.end<0){let p=!1;if((d.close||s.open)&&(d.length+s.length)%3===0&&(d.length%3!==0||s.length%3!==0)&&(p=!0),!p){const _=c>0&&!t[c-1].open?o[c-1]+1:0;o[a]=a-c+_,o[c]=_,s.open=!1,d.end=a,d.close=!1,u=-1,i=-2;break}}}u!==-1&&(e[s.marker][(s.open?3:0)+(s.length||0)%3]=u)}}function WP(t){const e=t.tokens_meta,n=t.tokens_meta.length;em(t.delimiters);for(let r=0;r0&&r++,i[e].type==="text"&&e+1=t.pos)throw new Error("inline rule didn't increment state.pos");break}}else t.pos=t.posMax;a||t.pos++,o[e]=t.pos};Co.prototype.tokenize=function(t){const e=this.ruler.getRules(""),n=e.length,r=t.posMax,i=t.md.options.maxNesting;for(;t.pos=t.pos)throw new Error("inline rule didn't increment state.pos");break}}if(a){if(t.pos>=r)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()};Co.prototype.parse=function(t,e,n,r){const i=new this.State(t,e,n,r);this.tokenize(i);const o=this.ruler2.getRules(""),a=o.length;for(let s=0;s|$))",e.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}function Sc(t){return Array.prototype.slice.call(arguments,1).forEach(function(n){n&&Object.keys(n).forEach(function(r){t[r]=n[r]})}),t}function Ds(t){return Object.prototype.toString.call(t)}function ZP(t){return Ds(t)==="[object String]"}function XP(t){return Ds(t)==="[object Object]"}function jP(t){return Ds(t)==="[object RegExp]"}function tm(t){return Ds(t)==="[object Function]"}function JP(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const Jg={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function e3(t){return Object.keys(t||{}).reduce(function(e,n){return e||Jg.hasOwnProperty(n)},!1)}const t3={"http:":{validate:function(t,e,n){const r=t.slice(e);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,n){const r=t.slice(e);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?e>=3&&t[e-3]===":"||e>=3&&t[e-3]==="/"?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){const r=t.slice(e);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},n3="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",r3="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function i3(t){t.__index__=-1,t.__text_cache__=""}function o3(t){return function(e,n){const r=e.slice(n);return t.test(r)?r.match(t)[0].length:0}}function nm(){return function(t,e){e.normalize(t)}}function ja(t){const e=t.re=QP(t.__opts__),n=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||n.push(n3),n.push(e.src_xn),e.src_tlds=n.join("|");function r(s){return s.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(r(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(r(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(r(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(r(e.tpl_host_fuzzy_test),"i");const i=[];t.__compiled__={};function o(s,l){throw new Error('(LinkifyIt) Invalid schema "'+s+'": '+l)}Object.keys(t.__schemas__).forEach(function(s){const l=t.__schemas__[s];if(l===null)return;const c={validate:null,link:null};if(t.__compiled__[s]=c,XP(l)){jP(l.validate)?c.validate=o3(l.validate):tm(l.validate)?c.validate=l.validate:o(s,l),tm(l.normalize)?c.normalize=l.normalize:l.normalize?o(s,l):c.normalize=nm();return}if(ZP(l)){i.push(s);return}o(s,l)}),i.forEach(function(s){t.__compiled__[t.__schemas__[s]]&&(t.__compiled__[s].validate=t.__compiled__[t.__schemas__[s]].validate,t.__compiled__[s].normalize=t.__compiled__[t.__schemas__[s]].normalize)}),t.__compiled__[""]={validate:null,normalize:nm()};const a=Object.keys(t.__compiled__).filter(function(s){return s.length>0&&t.__compiled__[s]}).map(JP).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+a+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+a+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),i3(t)}function a3(t,e){const n=t.__index__,r=t.__last_index__,i=t.__text_cache__.slice(n,r);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=r+e,this.raw=i,this.text=i,this.url=i}function bc(t,e){const n=new a3(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function Ot(t,e){if(!(this instanceof Ot))return new Ot(t,e);e||e3(t)&&(e=t,t={}),this.__opts__=Sc({},Jg,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Sc({},t3,t),this.__compiled__={},this.__tlds__=r3,this.__tlds_replaced__=!1,this.re={},ja(this)}Ot.prototype.add=function(e,n){return this.__schemas__[e]=n,ja(this),this};Ot.prototype.set=function(e){return this.__opts__=Sc(this.__opts__,e),this};Ot.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;let n,r,i,o,a,s,l,c,u;if(this.re.schema_test.test(e)){for(l=this.re.schema_search,l.lastIndex=0;(n=l.exec(e))!==null;)if(o=this.testSchemaAt(e,n[2],l.lastIndex),o){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+o;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=e.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c=0&&(i=e.match(this.re.email_fuzzy))!==null&&(a=i.index+i[1].length,s=i.index+i[0].length,(this.__index__<0||athis.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=s))),this.__index__>=0};Ot.prototype.pretest=function(e){return this.re.pretest.test(e)};Ot.prototype.testSchemaAt=function(e,n,r){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(e,r,this):0};Ot.prototype.match=function(e){const n=[];let r=0;this.__index__>=0&&this.__text_cache__===e&&(n.push(bc(this,r)),r=this.__last_index__);let i=r?e.slice(r):e;for(;this.test(i);)n.push(bc(this,r)),i=i.slice(this.__last_index__),r+=this.__last_index__;return n.length?n:null};Ot.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;const n=this.re.schema_at_start.exec(e);if(!n)return null;const r=this.testSchemaAt(e,n[2],n[0].length);return r?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+r,bc(this,0)):null};Ot.prototype.tlds=function(e,n){return e=Array.isArray(e)?e:[e],n?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(r,i,o){return r!==o[i-1]}).reverse(),ja(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,ja(this),this)};Ot.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};Ot.prototype.onCompile=function(){};const jr=2147483647,jt=36,xu=1,po=26,s3=38,l3=700,eE=72,tE=128,nE="-",c3=/^xn--/,u3=/[^\0-\x7F]/,d3=/[\x2E\u3002\uFF0E\uFF61]/g,p3={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Ol=jt-xu,Jt=Math.floor,Nl=String.fromCharCode;function On(t){throw new RangeError(p3[t])}function _3(t,e){const n=[];let r=t.length;for(;r--;)n[r]=e(t[r]);return n}function rE(t,e){const n=t.split("@");let r="";n.length>1&&(r=n[0]+"@",t=n[1]),t=t.replace(d3,".");const i=t.split("."),o=_3(i,e).join(".");return r+o}function iE(t){const e=[];let n=0;const r=t.length;for(;n=55296&&i<=56319&&nString.fromCodePoint(...t),f3=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:jt},rm=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},oE=function(t,e,n){let r=0;for(t=n?Jt(t/l3):t>>1,t+=Jt(t/e);t>Ol*po>>1;r+=jt)t=Jt(t/Ol);return Jt(r+(Ol+1)*t/(t+s3))},aE=function(t){const e=[],n=t.length;let r=0,i=tE,o=eE,a=t.lastIndexOf(nE);a<0&&(a=0);for(let s=0;s=128&&On("not-basic"),e.push(t.charCodeAt(s));for(let s=a>0?a+1:0;s=n&&On("invalid-input");const p=f3(t.charCodeAt(s++));p>=jt&&On("invalid-input"),p>Jt((jr-r)/u)&&On("overflow"),r+=p*u;const _=d<=o?xu:d>=o+po?po:d-o;if(p<_)break;const m=jt-_;u>Jt(jr/m)&&On("overflow"),u*=m}const c=e.length+1;o=oE(r-l,c,l==0),Jt(r/c)>jr-i&&On("overflow"),i+=Jt(r/c),r%=c,e.splice(r++,0,i)}return String.fromCodePoint(...e)},sE=function(t){const e=[];t=iE(t);const n=t.length;let r=tE,i=0,o=eE;for(const l of t)l<128&&e.push(Nl(l));const a=e.length;let s=a;for(a&&e.push(nE);s=r&&uJt((jr-i)/c)&&On("overflow"),i+=(l-r)*c,r=l;for(const u of t)if(ujr&&On("overflow"),u===r){let d=i;for(let p=jt;;p+=jt){const _=p<=o?xu:p>=o+po?po:p-o;if(d<_)break;const m=d-_,f=jt-_;e.push(Nl(rm(_+m%f,0))),d=Jt(m/f)}e.push(Nl(rm(d,0))),o=oE(i,c,s===a),i=0,++s}++i,++r}return e.join("")},h3=function(t){return rE(t,function(e){return c3.test(e)?aE(e.slice(4).toLowerCase()):e})},g3=function(t){return rE(t,function(e){return u3.test(e)?"xn--"+sE(e):e})},lE={version:"2.3.1",ucs2:{decode:iE,encode:m3},decode:aE,encode:sE,toASCII:g3,toUnicode:h3},E3={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},S3={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},b3={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}},T3={default:E3,zero:S3,commonmark:b3},C3=/^(vbscript|javascript|file|data):/,y3=/^data:image\/(gif|png|jpeg|webp);/;function v3(t){const e=t.trim().toLowerCase();return C3.test(e)?y3.test(e):!0}const cE=["http:","https:","mailto:"];function R3(t){const e=vu(t,!0);if(e.hostname&&(!e.protocol||cE.indexOf(e.protocol)>=0))try{e.hostname=lE.toASCII(e.hostname)}catch{}return bo(yu(e))}function O3(t){const e=vu(t,!0);if(e.hostname&&(!e.protocol||cE.indexOf(e.protocol)>=0))try{e.hostname=lE.toUnicode(e.hostname)}catch{}return di(yu(e),di.defaultChars+"%")}function Pt(t,e){if(!(this instanceof Pt))return new Pt(t,e);e||Ou(t)||(e=t||{},t="default"),this.inline=new Co,this.block=new xs,this.core=new Au,this.renderer=new gi,this.linkify=new Ot,this.validateLink=v3,this.normalizeLink=R3,this.normalizeLinkText=O3,this.utils=Ak,this.helpers=As({},Mk),this.options={},this.configure(t),e&&this.set(e)}Pt.prototype.set=function(t){return As(this.options,t),this};Pt.prototype.configure=function(t){const e=this;if(Ou(t)){const n=t;if(t=T3[n],!t)throw new Error('Wrong `markdown-it` preset "'+n+'", check name')}if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach(function(n){t.components[n].rules&&e[n].ruler.enableOnly(t.components[n].rules),t.components[n].rules2&&e[n].ruler2.enableOnly(t.components[n].rules2)}),this};Pt.prototype.enable=function(t,e){let n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(i){n=n.concat(this[i].ruler.enable(t,!0))},this),n=n.concat(this.inline.ruler2.enable(t,!0));const r=t.filter(function(i){return n.indexOf(i)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this};Pt.prototype.disable=function(t,e){let n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(i){n=n.concat(this[i].ruler.disable(t,!0))},this),n=n.concat(this.inline.ruler2.disable(t,!0));const r=t.filter(function(i){return n.indexOf(i)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this};Pt.prototype.use=function(t){const e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this};Pt.prototype.parse=function(t,e){if(typeof t!="string")throw new Error("Input data should be a String");const n=new this.core.State(t,this,e);return this.core.process(n),n.tokens};Pt.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)};Pt.prototype.parseInline=function(t,e){const n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens};Pt.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};function N3(t){for(var e=1;e0&&t[e-1]===` +`;)e--;return t.substring(0,e)}var x3=["ADDRESS","ARTICLE","ASIDE","AUDIO","BLOCKQUOTE","BODY","CANVAS","CENTER","DD","DIR","DIV","DL","DT","FIELDSET","FIGCAPTION","FIGURE","FOOTER","FORM","FRAMESET","H1","H2","H3","H4","H5","H6","HEADER","HGROUP","HR","HTML","ISINDEX","LI","MAIN","MENU","NAV","NOFRAMES","NOSCRIPT","OL","OUTPUT","P","PRE","SECTION","TABLE","TBODY","TD","TFOOT","TH","THEAD","TR","UL"];function Du(t){return Mu(t,x3)}var uE=["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"];function dE(t){return Mu(t,uE)}function D3(t){return _E(t,uE)}var pE=["A","TABLE","THEAD","TBODY","TFOOT","TH","TD","IFRAME","SCRIPT","AUDIO","VIDEO"];function M3(t){return Mu(t,pE)}function w3(t){return _E(t,pE)}function Mu(t,e){return e.indexOf(t.nodeName)>=0}function _E(t,e){return t.getElementsByTagName&&e.some(function(n){return t.getElementsByTagName(n).length})}var at={};at.paragraph={filter:"p",replacement:function(t){return` `+t+` `}};at.lineBreak={filter:"br",replacement:function(t,e,n){return n.br+` -`}};at.heading={filter:["h1","h2","h3","h4","h5","h6"],replacement:function(t,e,n){var r=Number(e.nodeName.charAt(1));if(n.headingStyle==="setext"&&r<3){var i=Sc(r===1?"=":"-",t.length);return` +`}};at.heading={filter:["h1","h2","h3","h4","h5","h6"],replacement:function(t,e,n){var r=Number(e.nodeName.charAt(1));if(n.headingStyle==="setext"&&r<3){var i=Tc(r===1?"=":"-",t.length);return` `+t+` `+i+` `}else return` -`+Sc("#",r)+" "+t+` +`+Tc("#",r)+" "+t+` `}};at.blockquote={filter:"blockquote",replacement:function(t){return t=t.replace(/^\n+|\n+$/g,""),t=t.replace(/^/gm,"> "),` @@ -586,7 +586,7 @@ ${ce("ai-append")} `+e.firstChild.textContent.replace(/\n/g,` `)+` -`}};at.fencedCodeBlock={filter:function(t,e){return e.codeBlockStyle==="fenced"&&t.nodeName==="PRE"&&t.firstChild&&t.firstChild.nodeName==="CODE"},replacement:function(t,e,n){for(var r=e.firstChild.getAttribute("class")||"",i=(r.match(/language-(\S+)/)||[null,""])[1],o=e.firstChild.textContent,a=n.fence.charAt(0),s=3,l=new RegExp("^"+a+"{3,}","gm"),c;c=l.exec(o);)c[0].length>=s&&(s=c[0].length+1);var u=Sc(a,s);return` +`}};at.fencedCodeBlock={filter:function(t,e){return e.codeBlockStyle==="fenced"&&t.nodeName==="PRE"&&t.firstChild&&t.firstChild.nodeName==="CODE"},replacement:function(t,e,n){for(var r=e.firstChild.getAttribute("class")||"",i=(r.match(/language-(\S+)/)||[null,""])[1],o=e.firstChild.textContent,a=n.fence.charAt(0),s=3,l=new RegExp("^"+a+"{3,}","gm"),c;c=l.exec(o);)c[0].length>=s&&(s=c[0].length+1);var u=Tc(a,s);return` `+u+i+` `+o.replace(/\n$/,"")+` @@ -596,13 +596,13 @@ ${ce("ai-append")} `+n.hr+` -`}};at.inlineLink={filter:function(t,e){return e.linkStyle==="inlined"&&t.nodeName==="A"&&t.getAttribute("href")},replacement:function(t,e){var n=e.getAttribute("href");n&&(n=n.replace(/([()])/g,"\\$1"));var r=Xa(e.getAttribute("title"));return r&&(r=' "'+r.replace(/"/g,'\\"')+'"'),"["+t+"]("+n+r+")"}};at.referenceLink={filter:function(t,e){return e.linkStyle==="referenced"&&t.nodeName==="A"&&t.getAttribute("href")},replacement:function(t,e,n){var r=e.getAttribute("href"),i=Xa(e.getAttribute("title"));i&&(i=' "'+i+'"');var o,a;switch(n.linkReferenceStyle){case"collapsed":o="["+t+"][]",a="["+t+"]: "+r+i;break;case"shortcut":o="["+t+"]",a="["+t+"]: "+r+i;break;default:var s=this.references.length+1;o="["+t+"]["+s+"]",a="["+s+"]: "+r+i}return this.references.push(a),o},references:[],append:function(t){var e="";return this.references.length&&(e=` +`}};at.inlineLink={filter:function(t,e){return e.linkStyle==="inlined"&&t.nodeName==="A"&&t.getAttribute("href")},replacement:function(t,e){var n=e.getAttribute("href");n&&(n=n.replace(/([()])/g,"\\$1"));var r=Ja(e.getAttribute("title"));return r&&(r=' "'+r.replace(/"/g,'\\"')+'"'),"["+t+"]("+n+r+")"}};at.referenceLink={filter:function(t,e){return e.linkStyle==="referenced"&&t.nodeName==="A"&&t.getAttribute("href")},replacement:function(t,e,n){var r=e.getAttribute("href"),i=Ja(e.getAttribute("title"));i&&(i=' "'+i+'"');var o,a;switch(n.linkReferenceStyle){case"collapsed":o="["+t+"][]",a="["+t+"]: "+r+i;break;case"shortcut":o="["+t+"]",a="["+t+"]: "+r+i;break;default:var s=this.references.length+1;o="["+t+"]["+s+"]",a="["+s+"]: "+r+i}return this.references.push(a),o},references:[],append:function(t){var e="";return this.references.length&&(e=` `+this.references.join(` `)+` -`,this.references=[]),e}};at.emphasis={filter:["em","i"],replacement:function(t,e,n){return t.trim()?n.emDelimiter+t+n.emDelimiter:""}};at.strong={filter:["strong","b"],replacement:function(t,e,n){return t.trim()?n.strongDelimiter+t+n.strongDelimiter:""}};at.code={filter:function(t){var e=t.previousSibling||t.nextSibling,n=t.parentNode.nodeName==="PRE"&&!e;return t.nodeName==="CODE"&&!n},replacement:function(t){if(!t)return"";t=t.replace(/\r?\n|\r/g," ");for(var e=/^`|^ .*?[^ ].* $|`$/.test(t)?" ":"",n="`",r=t.match(/`+/gm)||[];r.indexOf(n)!==-1;)n=n+"`";return n+e+t+e+n}};at.image={filter:"img",replacement:function(t,e){var n=Xa(e.getAttribute("alt")),r=e.getAttribute("src")||"",i=Xa(e.getAttribute("title")),o=i?' "'+i+'"':"";return r?"!["+n+"]("+r+o+")":""}};function Xa(t){return t?t.replace(/(\n+\s*)+/g,` -`):""}function uE(t){this.options=t,this._keep=[],this._remove=[],this.blankRule={replacement:t.blankReplacement},this.keepReplacement=t.keepReplacement,this.defaultRule={replacement:t.defaultReplacement},this.array=[];for(var e in t.rules)this.array.push(t.rules[e])}uE.prototype={add:function(t,e){this.array.unshift(e)},keep:function(t){this._keep.unshift({filter:t,replacement:this.keepReplacement})},remove:function(t){this._remove.unshift({filter:t,replacement:function(){return""}})},forNode:function(t){if(t.isBlank)return this.blankRule;var e;return(e=Ol(this.array,t,this.options))||(e=Ol(this._keep,t,this.options))||(e=Ol(this._remove,t,this.options))?e:this.defaultRule},forEach:function(t){for(var e=0;e-1)return!0}else if(typeof r=="function"){if(r.call(t,e,n))return!0}else throw new TypeError("`filter` needs to be a string, array, or function")}function O3(t){var e=t.element,n=t.isBlock,r=t.isVoid,i=t.isPre||function(d){return d.nodeName==="PRE"};if(!(!e.firstChild||i(e))){for(var o=null,a=!1,s=null,l=tm(s,e,i);l!==e;){if(l.nodeType===3||l.nodeType===4){var c=l.data.replace(/[ \r\n\t]+/g," ");if((!o||/ $/.test(o.data))&&!a&&c[0]===" "&&(c=c.substr(1)),!c){l=Nl(l);continue}l.data=c,o=l}else if(l.nodeType===1)n(l)||l.nodeName==="BR"?(o&&(o.data=o.data.replace(/ $/,"")),o=null,a=!1):r(l)||i(l)?(o=null,a=!0):o&&(a=!1);else{l=Nl(l);continue}var u=tm(s,l,i);s=l,l=u}o&&(o.data=o.data.replace(/ $/,""),o.data||Nl(o))}}function Nl(t){var e=t.nextSibling||t.parentNode;return t.parentNode.removeChild(t),e}function tm(t,e,n){return t&&t.parentNode===e||n(e)?e.nextSibling||e.parentNode:e.firstChild||e.nextSibling||e.parentNode}var xu=typeof window<"u"?window:{};function N3(){var t=xu.DOMParser,e=!1;try{new t().parseFromString("","text/html")&&(e=!0)}catch{}return e}function A3(){var t=function(){};return I3()?t.prototype.parseFromString=function(e){var n=new window.ActiveXObject("htmlfile");return n.designMode="on",n.open(),n.write(e),n.close(),n}:t.prototype.parseFromString=function(e){var n=document.implementation.createHTMLDocument("");return n.open(),n.write(e),n.close(),n},t}function I3(){var t=!1;try{document.implementation.createHTMLDocument("").open()}catch{xu.ActiveXObject&&(t=!0)}return t}var x3=N3()?xu.DOMParser:A3();function D3(t,e){var n;if(typeof t=="string"){var r=M3().parseFromString(''+t+"","text/html");n=r.getElementById("turndown-root")}else n=t.cloneNode(!0);return O3({element:n,isBlock:Au,isVoid:sE,isPre:e.preformattedCode?w3:null}),n}var Al;function M3(){return Al=Al||new x3,Al}function w3(t){return t.nodeName==="PRE"||t.nodeName==="CODE"}function L3(t,e){return t.isBlock=Au(t),t.isCode=t.nodeName==="CODE"||t.parentNode.isCode,t.isBlank=k3(t),t.flankingWhitespace=P3(t,e),t}function k3(t){return!sE(t)&&!y3(t)&&/^\s*$/i.test(t.textContent)&&!C3(t)&&!v3(t)}function P3(t,e){if(t.isBlock||e.preformattedCode&&t.isCode)return{leading:"",trailing:""};var n=F3(t.textContent);return n.leadingAscii&&nm("left",t,e)&&(n.leading=n.leadingNonAscii),n.trailingAscii&&nm("right",t,e)&&(n.trailing=n.trailingNonAscii),{leading:n.leading,trailing:n.trailing}}function F3(t){var e=t.match(/^(([ \t\r\n]*)(\s*))(?:(?=\S)[\s\S]*\S)?((\s*?)([ \t\r\n]*))$/);return{leading:e[1],leadingAscii:e[2],leadingNonAscii:e[3],trailing:e[4],trailingNonAscii:e[5],trailingAscii:e[6]}}function nm(t,e,n){var r,i,o;return t==="left"?(r=e.previousSibling,i=/ $/):(r=e.nextSibling,i=/^ /),r&&(r.nodeType===3?o=i.test(r.nodeValue):n.preformattedCode&&r.nodeName==="CODE"?o=!1:r.nodeType===1&&!Au(r)&&(o=i.test(r.textContent))),o}var B3=Array.prototype.reduce,U3=[[/\\/g,"\\\\"],[/\*/g,"\\*"],[/^-/g,"\\-"],[/^\+ /g,"\\+ "],[/^(=+)/g,"\\$1"],[/^(#{1,6}) /g,"\\$1 "],[/`/g,"\\`"],[/^~~~/g,"\\~~~"],[/\[/g,"\\["],[/\]/g,"\\]"],[/^>/g,"\\>"],[/_/g,"\\_"],[/^(\d+)\. /g,"$1\\. "]];function ja(t){if(!(this instanceof ja))return new ja(t);var e={rules:at,headingStyle:"setext",hr:"* * *",bulletListMarker:"*",codeBlockStyle:"indented",fence:"```",emDelimiter:"_",strongDelimiter:"**",linkStyle:"inlined",linkReferenceStyle:"full",br:" ",preformattedCode:!1,blankReplacement:function(n,r){return r.isBlock?` +`,this.references=[]),e}};at.emphasis={filter:["em","i"],replacement:function(t,e,n){return t.trim()?n.emDelimiter+t+n.emDelimiter:""}};at.strong={filter:["strong","b"],replacement:function(t,e,n){return t.trim()?n.strongDelimiter+t+n.strongDelimiter:""}};at.code={filter:function(t){var e=t.previousSibling||t.nextSibling,n=t.parentNode.nodeName==="PRE"&&!e;return t.nodeName==="CODE"&&!n},replacement:function(t){if(!t)return"";t=t.replace(/\r?\n|\r/g," ");for(var e=/^`|^ .*?[^ ].* $|`$/.test(t)?" ":"",n="`",r=t.match(/`+/gm)||[];r.indexOf(n)!==-1;)n=n+"`";return n+e+t+e+n}};at.image={filter:"img",replacement:function(t,e){var n=Ja(e.getAttribute("alt")),r=e.getAttribute("src")||"",i=Ja(e.getAttribute("title")),o=i?' "'+i+'"':"";return r?"!["+n+"]("+r+o+")":""}};function Ja(t){return t?t.replace(/(\n+\s*)+/g,` +`):""}function mE(t){this.options=t,this._keep=[],this._remove=[],this.blankRule={replacement:t.blankReplacement},this.keepReplacement=t.keepReplacement,this.defaultRule={replacement:t.defaultReplacement},this.array=[];for(var e in t.rules)this.array.push(t.rules[e])}mE.prototype={add:function(t,e){this.array.unshift(e)},keep:function(t){this._keep.unshift({filter:t,replacement:this.keepReplacement})},remove:function(t){this._remove.unshift({filter:t,replacement:function(){return""}})},forNode:function(t){if(t.isBlank)return this.blankRule;var e;return(e=Al(this.array,t,this.options))||(e=Al(this._keep,t,this.options))||(e=Al(this._remove,t,this.options))?e:this.defaultRule},forEach:function(t){for(var e=0;e-1)return!0}else if(typeof r=="function"){if(r.call(t,e,n))return!0}else throw new TypeError("`filter` needs to be a string, array, or function")}function k3(t){var e=t.element,n=t.isBlock,r=t.isVoid,i=t.isPre||function(d){return d.nodeName==="PRE"};if(!(!e.firstChild||i(e))){for(var o=null,a=!1,s=null,l=im(s,e,i);l!==e;){if(l.nodeType===3||l.nodeType===4){var c=l.data.replace(/[ \r\n\t]+/g," ");if((!o||/ $/.test(o.data))&&!a&&c[0]===" "&&(c=c.substr(1)),!c){l=Il(l);continue}l.data=c,o=l}else if(l.nodeType===1)n(l)||l.nodeName==="BR"?(o&&(o.data=o.data.replace(/ $/,"")),o=null,a=!1):r(l)||i(l)?(o=null,a=!0):o&&(a=!1);else{l=Il(l);continue}var u=im(s,l,i);s=l,l=u}o&&(o.data=o.data.replace(/ $/,""),o.data||Il(o))}}function Il(t){var e=t.nextSibling||t.parentNode;return t.parentNode.removeChild(t),e}function im(t,e,n){return t&&t.parentNode===e||n(e)?e.nextSibling||e.parentNode:e.firstChild||e.nextSibling||e.parentNode}var wu=typeof window<"u"?window:{};function P3(){var t=wu.DOMParser,e=!1;try{new t().parseFromString("","text/html")&&(e=!0)}catch{}return e}function F3(){var t=function(){};return B3()?t.prototype.parseFromString=function(e){var n=new window.ActiveXObject("htmlfile");return n.designMode="on",n.open(),n.write(e),n.close(),n}:t.prototype.parseFromString=function(e){var n=document.implementation.createHTMLDocument("");return n.open(),n.write(e),n.close(),n},t}function B3(){var t=!1;try{document.implementation.createHTMLDocument("").open()}catch{wu.ActiveXObject&&(t=!0)}return t}var U3=P3()?wu.DOMParser:F3();function H3(t,e){var n;if(typeof t=="string"){var r=G3().parseFromString(''+t+"","text/html");n=r.getElementById("turndown-root")}else n=t.cloneNode(!0);return k3({element:n,isBlock:Du,isVoid:dE,isPre:e.preformattedCode?V3:null}),n}var xl;function G3(){return xl=xl||new U3,xl}function V3(t){return t.nodeName==="PRE"||t.nodeName==="CODE"}function Y3(t,e){return t.isBlock=Du(t),t.isCode=t.nodeName==="CODE"||t.parentNode.isCode,t.isBlank=z3(t),t.flankingWhitespace=$3(t,e),t}function z3(t){return!dE(t)&&!M3(t)&&/^\s*$/i.test(t.textContent)&&!D3(t)&&!w3(t)}function $3(t,e){if(t.isBlock||e.preformattedCode&&t.isCode)return{leading:"",trailing:""};var n=q3(t.textContent);return n.leadingAscii&&om("left",t,e)&&(n.leading=n.leadingNonAscii),n.trailingAscii&&om("right",t,e)&&(n.trailing=n.trailingNonAscii),{leading:n.leading,trailing:n.trailing}}function q3(t){var e=t.match(/^(([ \t\r\n]*)(\s*))(?:(?=\S)[\s\S]*\S)?((\s*?)([ \t\r\n]*))$/);return{leading:e[1],leadingAscii:e[2],leadingNonAscii:e[3],trailing:e[4],trailingNonAscii:e[5],trailingAscii:e[6]}}function om(t,e,n){var r,i,o;return t==="left"?(r=e.previousSibling,i=/ $/):(r=e.nextSibling,i=/^ /),r&&(r.nodeType===3?o=i.test(r.nodeValue):n.preformattedCode&&r.nodeName==="CODE"?o=!1:r.nodeType===1&&!Du(r)&&(o=i.test(r.textContent))),o}var W3=Array.prototype.reduce,K3=[[/\\/g,"\\\\"],[/\*/g,"\\*"],[/^-/g,"\\-"],[/^\+ /g,"\\+ "],[/^(=+)/g,"\\$1"],[/^(#{1,6}) /g,"\\$1 "],[/`/g,"\\`"],[/^~~~/g,"\\~~~"],[/\[/g,"\\["],[/\]/g,"\\]"],[/^>/g,"\\>"],[/_/g,"\\_"],[/^(\d+)\. /g,"$1\\. "]];function es(t){if(!(this instanceof es))return new es(t);var e={rules:at,headingStyle:"setext",hr:"* * *",bulletListMarker:"*",codeBlockStyle:"indented",fence:"```",emDelimiter:"_",strongDelimiter:"**",linkStyle:"inlined",linkReferenceStyle:"full",br:" ",preformattedCode:!1,blankReplacement:function(n,r){return r.isBlock?` `:""},keepReplacement:function(n,r){return r.isBlock?` @@ -612,9 +612,24 @@ ${ce("ai-append")} `+n+` -`:n}};this.options=E3({},e,t),this.rules=new uE(this.options)}ja.prototype={turndown:function(t){if(!V3(t))throw new TypeError(t+" is not a string, or an element/document/fragment node.");if(t==="")return"";var e=dE.call(this,new D3(t,this.options));return H3.call(this,e)},use:function(t){if(Array.isArray(t))for(var e=0;e{_E.use(Lh,t,{validate:function(e){return e=e.trim(),e===""?!0:e.indexOf(t)>=0},render:function(e,n){return e[n].nesting===1?`
`:"
"}})});const Du=new ja({headingStyle:"atx",hr:"---",bulletListMarker:"-",codeBlockStyle:"fenced",fence:"```",emDelimiter:"_",strongDelimiter:"**",linkStyle:"inlined",linkReferenceStyle:"full",preformattedCode:!1});Du.keep(t=>!(t&&t.nodeName==="DIV"));Du.addRule("container",{filter:["div"],tokenizer:(t,e)=>{if(t.tag==="div"&&t.attribs.class==="container-wrapper")return t},replacement:function(t,e){let n="";for(let r of mE)if(e.classList.contains(r)){n=" "+r;break}return`:::${n} +`.substring(0,i);return n+o+r}function X3(t){return t!=null&&(typeof t=="string"||t.nodeType&&(t.nodeType===1||t.nodeType===9||t.nodeType===11))}var am=/highlight-(?:text|source)-([a-z0-9]+)/;function j3(t){t.addRule("highlightedCodeBlock",{filter:function(e){var n=e.firstChild;return e.nodeName==="DIV"&&am.test(e.className)&&n&&n.nodeName==="PRE"},replacement:function(e,n,r){var i=n.className||"",o=(i.match(am)||[null,""])[1];return` + +`+r.fence+o+` +`+n.firstChild.textContent+` +`+r.fence+` + +`}})}function J3(t){t.addRule("strikethrough",{filter:["del","s","strike"],replacement:function(e){return"~"+e+"~"}})}var eF=Array.prototype.indexOf,tF=Array.prototype.every,_i={};_i.tableCell={filter:["th","td"],replacement:function(t,e){return Lu(EE(e))?t:Cc(t,e)}};_i.tableRow={filter:"tr",replacement:function(t,e){const n=EE(e);if(Lu(n))return t;var r="",i={left:":--",right:"--:",center:":-:"};if(nF(e)){const l=SE(n);for(var o=0;o=e.childNodes.length?null:e.childNodes[o];var a="---",s=c?(c.getAttribute("align")||"").toLowerCase():"";s&&(a=i[s]||a),c?r+=Cc(a,e.childNodes[o]):r+=Cc(a,null,o)}}return` +`+t+(r?` +`+r:"")}};_i.table={filter:function(t){return t.nodeName==="TABLE"},replacement:function(t,e){if(Lu(e))return t;t=t.replace(/\n+/g,` +`);var n=t.trim().split(` +`);n.length>=2&&(n=n[1]);var r=n.indexOf("| ---")===0,i=SE(e),o="";return i&&!r&&(o="|"+" |".repeat(i)+` +|`+" --- |".repeat(i)),` + +`+o+t+` + +`}};_i.tableSection={filter:["thead","tbody","tfoot"],replacement:function(t){return t}};function nF(t){var e=t.parentNode;return e.nodeName==="THEAD"||e.firstChild===t&&(e.nodeName==="TABLE"||rF(e))&&tF.call(t.childNodes,function(n){return n.nodeName==="TH"})}function rF(t){var e=t.previousSibling;return t.nodeName==="TBODY"&&(!e||e.nodeName==="THEAD"&&/^\s*$/i.test(e.textContent))}function Cc(t,e=null,n=null){n===null&&(n=eF.call(e.parentNode.childNodes,e));var r=" ";n===0&&(r="| ");let i=t.trim().replace(/\n\r/g,"
").replace(/\n/g,"
");for(i=i.replace(/\|+/g,"\\|");i.length<3;)i+=" ";return e&&(i=iF(i,e," ")),r+i+" |"}function gE(t){if(!t.childNodes)return!1;for(let e=0;ee&&(e=i)}return e}function bE(t){t.keep(function(n){return n.nodeName==="TABLE"});for(var e in _i)t.addRule(e,_i[e])}function oF(t){t.addRule("taskListItems",{filter:function(e){return e.type==="checkbox"&&e.parentNode.nodeName==="LI"},replacement:function(e,n){return(n.checked?"[x]":"[ ]")+" "}})}function aF(t){t.use([j3,J3,bE,oF])}const TE=Pt({html:!0,linkify:!0,typographer:!0}),CE=["info","tip","warning","danger"];CE.forEach(t=>{TE.use(Bg,t,{validate:function(e){return e=e.trim(),e===""?!0:e.indexOf(t)>=0},render:function(e,n){return e[n].nesting===1?`
`:"
"}})});const yo=new es({headingStyle:"atx",hr:"---",bulletListMarker:"-",codeBlockStyle:"fenced",fence:"```",emDelimiter:"_",strongDelimiter:"**",linkStyle:"inlined",linkReferenceStyle:"full",preformattedCode:!1});yo.use(aF);yo.use(bE);yo.keep(t=>!(t&&t.nodeName==="DIV"));yo.addRule("container",{filter:t=>t.tagName==="DIV"&&t.classList.contains("container-wrapper"),replacement:function(t,e){let n="";for(let r of CE)if(e.classList.contains(r)){n=" "+r;break}return`:::${n} `+t.trim()+` ::: -`}});const Ja=t=>{if(!t)return t;const e=_E.render(t).trim();if(!e)return t;const r=new DOMParser().parseFromString(e,"text/html"),i=r.querySelectorAll("li");i&&i.forEach(a=>{a.innerHTML||(a.innerHTML="

")});let o="";for(let a=0;at&&Du.turndown(t);re("aie-header",mg);re("aie-footer",fg);const z3={theme:"light",lang:"zh",contentRetentionKey:"ai-editor-content",editable:!0,draggable:!0,placeholder:"",toolbarSize:"small"};class fE extends CC{constructor(n,r={}){super(r);L(this,"aiEditor");this.aiEditor=n}parseHtml(n){function r(o){return new window.DOMParser().parseFromString(`${o}`,"text/html").body}return Wr.fromSchema(this.schema).parse(r(n),{}).content}parseMarkdown(n){const r=Ja(n);return this.parseHtml(r)}insertMarkdown(n){this.commands.insertContent(Ja(n))}}class $3{constructor(e){L(this,"customLayout",!1);L(this,"innerEditor");L(this,"container");L(this,"header");L(this,"mainEl");L(this,"footer");L(this,"options");L(this,"eventComponents",[]);this.options={...z3,...e},this.initI18nAndInnerEditor()}initI18nAndInnerEditor(){const e=this.options.i18n||{},n={de:{translation:{...vL,...e.de}},en:{translation:{...yL,...e.en}},pt:{translation:{...RL,...e.pt}},zh:{translation:{...CL,...e.zh}},es:{translation:{...OL,...e.es}},hi:{translation:{...NL,...e.hi}},id:{translation:{...AL,...e.id}},ja:{translation:{...IL,...e.ja}},ko:{translation:{...xL,...e.ko}},th:{translation:{...DL,...e.th}},vi:{translation:{...ML,...e.vi}}};for(let r of Object.keys(e))r!="de"&&r!="en"&&r!="pt"&&r!="zh"&&(n[r]={translation:{...e[r]}});Je.init({lng:this.options.lang,resources:n},(r,i)=>{this.initInnerEditor()})}initInnerEditor(){const e=typeof this.options.element=="string"?document.querySelector(this.options.element):this.options.element;e.classList.add(`aie-theme-${this.options.theme}`),this.container=e.querySelector(".aie-container"),this.container?this.customLayout=!0:(this.container=document.createElement("div"),this.container.classList.add("aie-container")),e.appendChild(this.container),this.mainEl=document.createElement("div"),this.mainEl.style.flexGrow="1",this.mainEl.style.overflow="auto",this.header=new mg,this.eventComponents.push(this.header),this.footer=new fg,this.footer.initDraggable(this.options.draggable),this.eventComponents.push(this.footer);let n=this.options.content;if(n&&this.options.contentIsMarkdown&&(n=Ja(n)),this.options.contentRetention&&this.options.contentRetentionKey){const r=localStorage.getItem(this.options.contentRetentionKey);if(r)try{n=JSON.parse(r)}catch(i){console.error(i,"Can not parse the cache content from localStorage.")}}this.innerEditor=new fE(this,{element:this.mainEl,content:n,editable:this.options.editable,extensions:this.getExtensions(),onCreate:r=>this.onCreate(r),onTransaction:r=>this.onTransaction(r),onFocus:()=>{var r,i;return(i=(r=this.options)==null?void 0:r.onFocus)==null?void 0:i.call(r,this)},onBlur:()=>{var r,i;return(i=(r=this.options)==null?void 0:r.onBlur)==null?void 0:i.call(r,this)},onDestroy:()=>{var r,i;return(i=(r=this.options)==null?void 0:r.onDestroy)==null?void 0:i.call(r,this)},editorProps:{attributes:{class:"aie-content"}}})}getExtensions(){let e=TL(this,this.options);if(this.options.onCreateBefore){const n=this.options.onCreateBefore(this,e);n&&(e=n)}return e}onCreate(e){this.innerEditor.view.dom.style.height="calc(100% - 20px)",this.eventComponents.forEach(o=>{o.onCreate&&o.onCreate(e,this.options)}),(this.container.querySelector(".aie-container-header")||this.container).appendChild(this.header),(this.container.querySelector(".aie-container-main")||this.container).appendChild(this.mainEl),(this.container.querySelector(".aie-container-footer")||this.container).appendChild(this.footer),this.options.ai&&En.init(this.innerEditor,this.options.ai),this.options.onCreated&&this.options.onCreated(this)}onTransaction(e){var n,r;if(this.eventComponents.forEach(i=>{i.onTransaction&&i.onTransaction(e)}),!e.transaction.getMeta("ignoreChanged")&&((r=(n=this.options).onTransaction)==null||r.call(n,this,e.transaction),e.transaction.docChanged&&this.options.onChange&&this.options.onChange(this),e.transaction.docChanged&&this.options.contentRetention&&this.options.contentRetentionKey)){const i=e.editor.getHTML();if(i==="

"||i==="")localStorage.removeItem(this.options.contentRetentionKey);else{const o=e.editor.getJSON();localStorage.setItem(this.options.contentRetentionKey,JSON.stringify(o))}}}getHtml(){return this.innerEditor.getHTML()}getJson(){return this.innerEditor.getJSON()}getText(){return this.innerEditor.getText()}getSelectedText(){const e=this.innerEditor.state.selection;return e.empty?"":ps(this.innerEditor.state.doc,{from:e.from,to:e.to})}getMarkdown(){return Y3(this.getHtml())}getOptions(){return this.options}getAttributes(e){return this.innerEditor.getAttributes(e)}setAttributes(e,n){this.innerEditor.commands.updateAttributes(e,n)}isActive(e,n){return typeof e=="object"||!n?this.innerEditor.isActive(e):this.innerEditor.isActive(e,n)}commands(){return this.innerEditor.commands}commandsChain(){return this.innerEditor.chain()}getOutline(){const e=this.innerEditor.state.doc,n=[];return e.descendants((r,i)=>{if(r.type.name==="heading"){const o=`aie-heading-${n.length+1}`;if(r.attrs.id!==o){const{state:{tr:s},view:{dispatch:l}}=this.innerEditor;l(s.setNodeMarkup(i,void 0,{...r.attrs,id:o}).setMeta("ignoreChanged",!0))}let a="";r.descendants(s=>{s.text&&(a+=s.text)}),n.push({id:o,text:a,level:r.attrs.level,pos:i,size:r.nodeSize})}}),n}focus(){return this.innerEditor.commands.focus(),this}focusPos(e){return this.innerEditor.commands.focus(e),this}focusStart(){return this.innerEditor.commands.focus("start"),this}focusEnd(){return this.innerEditor.commands.focus("end"),this}isFocused(){return this.innerEditor.isFocused}blur(){return this.innerEditor.commands.blur(),this}insert(e){return this.innerEditor.commands.insertContent(e),this}insertMarkdown(e){return this.innerEditor.insertMarkdown(e),this}setEditable(e){return this.options.editable=e,this.innerEditor.setEditable(e,!0),this.eventComponents.forEach(n=>{n.onEditableChange(e)}),this}setContent(e){return this.focus().clear().insert(e),this}setMarkdownContent(e){const n=Ja(e);return this.setContent(n)}clear(){return this.innerEditor.commands.clearContent(!0),this}isEmpty(){return this.innerEditor.isEmpty}changeLang(e){return this.destroy(),this.options.lang=e,Je.changeLanguage(e),this.initInnerEditor(),this}removeRetention(){return this.options.contentRetentionKey&&localStorage.removeItem(this.options.contentRetentionKey),this}destroy(){var e,n;(n=(e=this.options).onDestroy)==null||n.call(e,this),this.innerEditor.destroy(),this.eventComponents=[],this.customLayout?(this.header.remove(),this.mainEl.remove(),this.footer.remove()):this.container.remove()}isDestroyed(){return this.innerEditor.isDestroyed}}exports.AiEditor=$3;exports.AiModelManager=En;exports.CustomAiModel=dg;exports.InnerEditor=fE;exports.OpenaiAiModel=pg;exports.SparkAiModel=lg;exports.WenXinAiModel=ug; +`}});const ts=t=>{if(!t)return t;const e=TE.render(t).trim();return e?NL(e):t},sF=t=>{if(!t)return t;const n=new DOMParser().parseFromString(t,"text/html");n.querySelectorAll("colgroup").forEach(o=>o.remove());const i=n.body.innerHTML;return yo.turndown(i)};re("aie-header",Eh);re("aie-footer",Sh);const lF={theme:"light",lang:"zh",contentRetentionKey:"ai-editor-content",editable:!0,draggable:!0,placeholder:"",toolbarSize:"small"};class yE extends xC{constructor(n,r={}){super(r);L(this,"aiEditor");this.aiEditor=n}parseHtml(n){function r(o){return new window.DOMParser().parseFromString(`${o}`,"text/html").body}return Wr.fromSchema(this.schema).parse(r(n),{}).content}parseMarkdown(n){const r=ts(n);return this.parseHtml(r)}insertMarkdown(n){this.commands.insertContent(ts(n))}}class cF{constructor(e){L(this,"customLayout",!1);L(this,"innerEditor");L(this,"container");L(this,"header");L(this,"mainEl");L(this,"footer");L(this,"options");L(this,"eventComponents",[]);this.options={...lF,...e},this.initI18nAndInnerEditor()}initI18nAndInnerEditor(){const e=this.options.i18n||{},n={de:{translation:{...wL,...e.de}},en:{translation:{...ML,...e.en}},pt:{translation:{...LL,...e.pt}},zh:{translation:{...DL,...e.zh}},es:{translation:{...kL,...e.es}},hi:{translation:{...PL,...e.hi}},id:{translation:{...FL,...e.id}},ja:{translation:{...BL,...e.ja}},ko:{translation:{...UL,...e.ko}},th:{translation:{...HL,...e.th}},vi:{translation:{...GL,...e.vi}}};for(let r of Object.keys(e))r!="de"&&r!="en"&&r!="pt"&&r!="zh"&&(n[r]={translation:{...e[r]}});Je.init({lng:this.options.lang,resources:n},(r,i)=>{this.initInnerEditor()})}initInnerEditor(){const e=typeof this.options.element=="string"?document.querySelector(this.options.element):this.options.element;e.classList.add(`aie-theme-${this.options.theme}`),this.container=e.querySelector(".aie-container"),this.container?this.customLayout=!0:(this.container=document.createElement("div"),this.container.classList.add("aie-container")),e.appendChild(this.container),this.mainEl=document.createElement("div"),this.mainEl.style.flexGrow="1",this.mainEl.style.overflow="auto",this.header=new Eh,this.eventComponents.push(this.header),this.footer=new Sh,this.footer.initDraggable(this.options.draggable),this.eventComponents.push(this.footer);let n=this.options.content;if(n&&this.options.contentIsMarkdown&&(n=ts(n)),this.options.contentRetention&&this.options.contentRetentionKey){const r=localStorage.getItem(this.options.contentRetentionKey);if(r)try{n=JSON.parse(r)}catch(i){console.error(i,"Can not parse the cache content from localStorage.")}}this.innerEditor=new yE(this,{element:this.mainEl,content:n,editable:this.options.editable,extensions:this.getExtensions(),onCreate:r=>this.onCreate(r),onTransaction:r=>this.onTransaction(r),onFocus:()=>{var r,i;return(i=(r=this.options)==null?void 0:r.onFocus)==null?void 0:i.call(r,this)},onBlur:()=>{var r,i;return(i=(r=this.options)==null?void 0:r.onBlur)==null?void 0:i.call(r,this)},onDestroy:()=>{var r,i;return(i=(r=this.options)==null?void 0:r.onDestroy)==null?void 0:i.call(r,this)},editorProps:{attributes:{class:"aie-content"}}})}getExtensions(){let e=xL(this,this.options);if(this.options.onCreateBefore){const n=this.options.onCreateBefore(this,e);n&&(e=n)}return e}onCreate(e){this.innerEditor.view.dom.style.height="calc(100% - 20px)",this.eventComponents.forEach(o=>{o.onCreate&&o.onCreate(e,this.options)}),(this.container.querySelector(".aie-container-header")||this.container).appendChild(this.header),(this.container.querySelector(".aie-container-main")||this.container).appendChild(this.mainEl),(this.container.querySelector(".aie-container-footer")||this.container).appendChild(this.footer),this.options.ai&&En.init(this.innerEditor,this.options.ai),this.options.onCreated&&this.options.onCreated(this)}onTransaction(e){var n,r;if(this.eventComponents.forEach(i=>{i.onTransaction&&i.onTransaction(e)}),!e.transaction.getMeta("ignoreChanged")&&((r=(n=this.options).onTransaction)==null||r.call(n,this,e.transaction),e.transaction.docChanged&&this.options.onChange&&this.options.onChange(this),e.transaction.docChanged&&this.options.contentRetention&&this.options.contentRetentionKey)){const i=e.editor.getHTML();if(i==="

"||i==="")localStorage.removeItem(this.options.contentRetentionKey);else{const o=e.editor.getJSON();localStorage.setItem(this.options.contentRetentionKey,JSON.stringify(o))}}}getHtml(){return this.innerEditor.getHTML()}getJson(){return this.innerEditor.getJSON()}getText(){return this.innerEditor.getText()}getSelectedText(){const e=this.innerEditor.state.selection;return e.empty?"":ms(this.innerEditor.state.doc,{from:e.from,to:e.to})}getMarkdown(){return sF(this.getHtml())}getOptions(){return this.options}getAttributes(e){return this.innerEditor.getAttributes(e)}setAttributes(e,n){this.innerEditor.commands.updateAttributes(e,n)}isActive(e,n){return typeof e=="object"||!n?this.innerEditor.isActive(e):this.innerEditor.isActive(e,n)}commands(){return this.innerEditor.commands}commandsChain(){return this.innerEditor.chain()}getOutline(){const e=this.innerEditor.state.doc,n=[];return e.descendants((r,i)=>{if(r.type.name==="heading"){const o=`aie-heading-${n.length+1}`;if(r.attrs.id!==o){const{state:{tr:s},view:{dispatch:l}}=this.innerEditor;l(s.setNodeMarkup(i,void 0,{...r.attrs,id:o}).setMeta("ignoreChanged",!0))}let a="";r.descendants(s=>{s.text&&(a+=s.text)}),n.push({id:o,text:a,level:r.attrs.level,pos:i,size:r.nodeSize})}}),n}focus(){return this.innerEditor.commands.focus(),this}focusPos(e){return this.innerEditor.commands.focus(e),this}focusStart(){return this.innerEditor.commands.focus("start"),this}focusEnd(){return this.innerEditor.commands.focus("end"),this}isFocused(){return this.innerEditor.isFocused}blur(){return this.innerEditor.commands.blur(),this}insert(e){return this.innerEditor.commands.insertContent(e),this}insertMarkdown(e){return this.innerEditor.insertMarkdown(e),this}setEditable(e){return this.options.editable=e,this.innerEditor.setEditable(e,!0),this.eventComponents.forEach(n=>{n.onEditableChange(e)}),this}setContent(e){return this.focus().clear().insert(e),this}setMarkdownContent(e){const n=ts(e);return this.setContent(n)}clear(){return this.innerEditor.commands.clearContent(!0),this}isEmpty(){return this.innerEditor.isEmpty}changeLang(e){return this.destroy(),this.options.lang=e,Je.changeLanguage(e),this.initInnerEditor(),this}changeTheme(e){const n=typeof this.options.element=="string"?document.querySelector(this.options.element):this.options.element;e||(e=this.options.theme==="dark"?"light":"dark"),n.classList.remove(`aie-theme-${this.options.theme}`),n.classList.add(`aie-theme-${e}`),this.options.theme=e}removeRetention(){return this.options.contentRetentionKey&&localStorage.removeItem(this.options.contentRetentionKey),this}destroy(){var e,n;(n=(e=this.options).onDestroy)==null||n.call(e,this),this.innerEditor.destroy(),this.eventComponents=[],this.customLayout?(this.header.remove(),this.mainEl.remove(),this.footer.remove()):this.container.remove()}isDestroyed(){return this.innerEditor.isDestroyed}}exports.AiEditor=cF;exports.AiModelManager=En;exports.CustomAiModel=fh;exports.InnerEditor=yE;exports.OpenaiAiModel=hh;exports.SparkAiModel=ph;exports.WenXinAiModel=mh; diff --git a/dist/index.d.ts b/dist/index.d.ts index 5c9a9b3..63bd0b4 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -82,6 +82,7 @@ export declare class AiEditor { clear(): this; isEmpty(): boolean; changeLang(lang: string): this; + changeTheme(theme?: "dark" | "light"): void; removeRetention(): this; destroy(): void; isDestroyed(): boolean; diff --git a/dist/index.js b/dist/index.js index bebd2ee..22579f2 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,10 +1,10 @@ -var bE = Object.defineProperty; -var Hu = (t) => { +var AE = Object.defineProperty; +var Yu = (t) => { throw TypeError(t); }; -var TE = (t, e, n) => e in t ? bE(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n; -var L = (t, e, n) => TE(t, typeof e != "symbol" ? e + "" : e, n), Gu = (t, e, n) => e.has(t) || Hu("Cannot " + n); -var Or = (t, e, n) => (Gu(t, e, "read from private field"), n ? n.call(t) : e.get(t)), Vu = (t, e, n) => e.has(t) ? Hu("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), Yu = (t, e, n, r) => (Gu(t, e, "write to private field"), r ? r.call(t, n) : e.set(t, n), n); +var IE = (t, e, n) => e in t ? AE(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n; +var L = (t, e, n) => IE(t, typeof e != "symbol" ? e + "" : e, n), zu = (t, e, n) => e.has(t) || Yu("Cannot " + n); +var Or = (t, e, n) => (zu(t, e, "read from private field"), n ? n.call(t) : e.get(t)), $u = (t, e, n) => e.has(t) ? Yu("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), qu = (t, e, n, r) => (zu(t, e, "write to private field"), r ? r.call(t, n) : e.set(t, n), n); function Ze(t) { this.content = t; } @@ -105,7 +105,7 @@ Ze.from = function(t) { if (t) for (var n in t) e.push(n, t[n]); return new Ze(e); }; -function rm(t, e, n) { +function sm(t, e, n) { for (let r = 0; ; r++) { if (r == t.childCount || r == e.childCount) return t.childCount == e.childCount ? null : n; @@ -122,14 +122,14 @@ function rm(t, e, n) { return n; } if (i.content.size || o.content.size) { - let a = rm(i.content, o.content, n + 1); + let a = sm(i.content, o.content, n + 1); if (a != null) return a; } n += i.nodeSize; } } -function im(t, e, n, r) { +function lm(t, e, n, r) { for (let i = t.childCount, o = e.childCount; ; ) { if (i == 0 || o == 0) return i == o ? null : { a: n, b: r }; @@ -147,7 +147,7 @@ function im(t, e, n, r) { return { a: n, b: r }; } if (a.content.size || s.content.size) { - let c = im(a.content, s.content, n - 1, r - 1); + let c = lm(a.content, s.content, n - 1, r - 1); if (c) return c; } @@ -316,7 +316,7 @@ class w { fragment differ, or `null` if they are the same. */ findDiffStart(e, n = 0) { - return rm(this, e, n); + return sm(this, e, n); } /** Find the first position, searching from the end, at which this @@ -325,7 +325,7 @@ class w { nodes, an object with two separate positions is returned. */ findDiffEnd(e, n = this.size, r = e.size) { - return im(this, e, n, r); + return lm(this, e, n, r); } /** Find the index and inner offset corresponding to a given relative @@ -334,15 +334,15 @@ class w { */ findIndex(e, n = -1) { if (e == 0) - return Ro(0, e); + return No(0, e); if (e == this.size) - return Ro(this.content.length, e); + return No(this.content.length, e); if (e > this.size || e < 0) throw new RangeError(`Position ${e} outside of fragment (${this})`); for (let r = 0, i = 0; ; r++) { let o = this.child(r), a = i + o.nodeSize; if (a >= e) - return a == e || n > 0 ? Ro(r + 1, a) : Ro(r, i); + return a == e || n > 0 ? No(r + 1, a) : No(r, i); i = a; } } @@ -407,11 +407,11 @@ class w { } } w.empty = new w([], 0); -const Ms = { index: 0, offset: 0 }; -function Ro(t, e) { - return Ms.index = t, Ms.offset = e, Ms; +const Ls = { index: 0, offset: 0 }; +function No(t, e) { + return Ls.index = t, Ls.offset = e, Ls; } -function aa(t, e) { +function la(t, e) { if (t === e) return !0; if (!(t && typeof t == "object") || !(e && typeof e == "object")) @@ -423,11 +423,11 @@ function aa(t, e) { if (t.length != e.length) return !1; for (let r = 0; r < t.length; r++) - if (!aa(t[r], e[r])) + if (!la(t[r], e[r])) return !1; } else { for (let r in t) - if (!(r in e) || !aa(t[r], e[r])) + if (!(r in e) || !la(t[r], e[r])) return !1; for (let r in e) if (!(r in t)) @@ -435,7 +435,7 @@ function aa(t, e) { } return !0; } -let Re = class Il { +let Re = class Dl { /** @internal */ @@ -489,7 +489,7 @@ let Re = class Il { another mark. */ eq(e) { - return this == e || this.type == e.type && aa(this.attrs, e.attrs); + return this == e || this.type == e.type && la(this.attrs, e.attrs); } /** Convert this mark to a JSON-serializeable representation. @@ -533,15 +533,15 @@ let Re = class Il { */ static setFrom(e) { if (!e || Array.isArray(e) && e.length == 0) - return Il.none; - if (e instanceof Il) + return Dl.none; + if (e instanceof Dl) return [e]; let n = e.slice(); return n.sort((r, i) => r.type.rank - i.type.rank), n; } }; Re.none = []; -class sa extends Error { +class ca extends Error { } class H { /** @@ -569,14 +569,14 @@ class H { @internal */ insertAt(e, n) { - let r = am(this.content, e + this.openStart, n); + let r = um(this.content, e + this.openStart, n); return r && new H(r, this.openStart, this.openEnd); } /** @internal */ removeBetween(e, n) { - return new H(om(this.content, e + this.openStart, n + this.openStart), this.openStart, this.openEnd); + return new H(cm(this.content, e + this.openStart, n + this.openStart), this.openStart, this.openEnd); } /** Tests whether this slice is equal to another slice. @@ -624,7 +624,7 @@ class H { } } H.empty = new H(w.empty, 0, 0); -function om(t, e, n) { +function cm(t, e, n) { let { index: r, offset: i } = t.findIndex(e), o = t.maybeChild(r), { index: a, offset: s } = t.findIndex(n); if (i == e || o.isText) { if (s != n && !t.child(a).isText) @@ -633,50 +633,50 @@ function om(t, e, n) { } if (r != a) throw new RangeError("Removing non-flat range"); - return t.replaceChild(r, o.copy(om(o.content, e - i - 1, n - i - 1))); + return t.replaceChild(r, o.copy(cm(o.content, e - i - 1, n - i - 1))); } -function am(t, e, n, r) { +function um(t, e, n, r) { let { index: i, offset: o } = t.findIndex(e), a = t.maybeChild(i); if (o == e || a.isText) return t.cut(0, e).append(n).append(t.cut(e)); - let s = am(a.content, e - o - 1, n); + let s = um(a.content, e - o - 1, n); return s && t.replaceChild(i, a.copy(s)); } -function CE(t, e, n) { +function xE(t, e, n) { if (n.openStart > t.depth) - throw new sa("Inserted content deeper than insertion position"); + throw new ca("Inserted content deeper than insertion position"); if (t.depth - n.openStart != e.depth - n.openEnd) - throw new sa("Inconsistent open depths"); - return sm(t, e, n, 0); + throw new ca("Inconsistent open depths"); + return dm(t, e, n, 0); } -function sm(t, e, n, r) { +function dm(t, e, n, r) { let i = t.index(r), o = t.node(r); if (i == e.index(r) && r < t.depth - n.openStart) { - let a = sm(t, e, n, r + 1); + let a = dm(t, e, n, r + 1); return o.copy(o.content.replaceChild(i, a)); } else if (n.content.size) if (!n.openStart && !n.openEnd && t.depth == r && e.depth == r) { let a = t.parent, s = a.content; return sr(a, s.cut(0, t.parentOffset).append(n.content).append(s.cut(e.parentOffset))); } else { - let { start: a, end: s } = yE(n, t); - return sr(o, cm(t, a, s, e, r)); + let { start: a, end: s } = DE(n, t); + return sr(o, _m(t, a, s, e, r)); } - else return sr(o, la(t, e, r)); + else return sr(o, ua(t, e, r)); } -function lm(t, e) { +function pm(t, e) { if (!e.type.compatibleContent(t.type)) - throw new sa("Cannot join " + e.type.name + " onto " + t.type.name); + throw new ca("Cannot join " + e.type.name + " onto " + t.type.name); } -function xl(t, e, n) { +function Ml(t, e, n) { let r = t.node(n); - return lm(r, e.node(n)), r; + return pm(r, e.node(n)), r; } function ar(t, e) { let n = e.length - 1; n >= 0 && t.isText && t.sameMarkup(e[n]) ? e[n] = t.withText(e[n].text + t.text) : e.push(t); } -function xi(t, e, n, r) { +function Di(t, e, n, r) { let i = (e || t).node(n), o = 0, a = e ? e.index(n) : i.childCount; t && (o = t.index(n), t.depth > n ? o++ : t.textOffset && (ar(t.nodeAfter, r), o++)); for (let s = o; s < a; s++) @@ -686,19 +686,19 @@ function xi(t, e, n, r) { function sr(t, e) { return t.type.checkContent(e), t.copy(e); } -function cm(t, e, n, r, i) { - let o = t.depth > i && xl(t, e, i + 1), a = r.depth > i && xl(n, r, i + 1), s = []; - return xi(null, t, i, s), o && a && e.index(i) == n.index(i) ? (lm(o, a), ar(sr(o, cm(t, e, n, r, i + 1)), s)) : (o && ar(sr(o, la(t, e, i + 1)), s), xi(e, n, i, s), a && ar(sr(a, la(n, r, i + 1)), s)), xi(r, null, i, s), new w(s); +function _m(t, e, n, r, i) { + let o = t.depth > i && Ml(t, e, i + 1), a = r.depth > i && Ml(n, r, i + 1), s = []; + return Di(null, t, i, s), o && a && e.index(i) == n.index(i) ? (pm(o, a), ar(sr(o, _m(t, e, n, r, i + 1)), s)) : (o && ar(sr(o, ua(t, e, i + 1)), s), Di(e, n, i, s), a && ar(sr(a, ua(n, r, i + 1)), s)), Di(r, null, i, s), new w(s); } -function la(t, e, n) { +function ua(t, e, n) { let r = []; - if (xi(null, t, n, r), t.depth > n) { - let i = xl(t, e, n + 1); - ar(sr(i, la(t, e, n + 1)), r); + if (Di(null, t, n, r), t.depth > n) { + let i = Ml(t, e, n + 1); + ar(sr(i, ua(t, e, n + 1)), r); } - return xi(e, null, n, r), new w(r); + return Di(e, null, n, r), new w(r); } -function yE(t, e) { +function DE(t, e) { let n = e.depth - t.openStart, i = e.node(n).copy(t.content); for (let o = n - 1; o >= 0; o--) i = e.node(o).copy(w.from(i)); @@ -707,7 +707,7 @@ function yE(t, e) { end: i.resolveNoCache(i.content.size - t.openEnd - n) }; } -class Vi { +class Yi { /** @internal */ @@ -892,7 +892,7 @@ class Vi { return e.blockRange(this); for (let r = this.depth - (this.parent.inlineContent || this.pos == e.pos ? 1 : 0); r >= 0; r--) if (e.pos <= this.end(r) && (!n || n(this.node(r)))) - return new ca(this, e, r); + return new da(this, e, r); return null; } /** @@ -935,13 +935,13 @@ class Vi { break; o = c - 1, i += l + 1; } - return new Vi(n, r, o); + return new Yi(n, r, o); } /** @internal */ static resolveCached(e, n) { - let r = zu.get(e); + let r = Wu.get(e); if (r) for (let o = 0; o < r.elts.length; o++) { let a = r.elts[o]; @@ -949,18 +949,18 @@ class Vi { return a; } else - zu.set(e, r = new vE()); - let i = r.elts[r.i] = Vi.resolve(e, n); - return r.i = (r.i + 1) % RE, i; + Wu.set(e, r = new ME()); + let i = r.elts[r.i] = Yi.resolve(e, n); + return r.i = (r.i + 1) % wE, i; } } -class vE { +class ME { constructor() { this.elts = [], this.i = 0; } } -const RE = 12, zu = /* @__PURE__ */ new WeakMap(); -class ca { +const wE = 12, Wu = /* @__PURE__ */ new WeakMap(); +class da { /** Construct a node range. `$from` and `$to` should point into the same node until at least the given `depth`, since a node range @@ -1000,8 +1000,8 @@ class ca { return this.$to.indexAfter(this.depth); } } -const OE = /* @__PURE__ */ Object.create(null); -let Fn = class Dl { +const LE = /* @__PURE__ */ Object.create(null); +let Fn = class wl { /** @internal */ @@ -1113,21 +1113,21 @@ let Fn = class Dl { attributes, and marks. */ hasMarkup(e, n, r) { - return this.type == e && aa(this.attrs, n || e.defaultAttrs || OE) && Re.sameSet(this.marks, r || Re.none); + return this.type == e && la(this.attrs, n || e.defaultAttrs || LE) && Re.sameSet(this.marks, r || Re.none); } /** Create a new node with the same markup as this node, containing the given content (or empty, if no content is given). */ copy(e = null) { - return e == this.content ? this : new Dl(this.type, this.attrs, e, this.marks); + return e == this.content ? this : new wl(this.type, this.attrs, e, this.marks); } /** Create a copy of this node, with the given set of marks instead of the node's own marks. */ mark(e) { - return e == this.marks ? this : new Dl(this.type, this.attrs, this.content, e); + return e == this.marks ? this : new wl(this.type, this.attrs, this.content, e); } /** Create a copy of this node with only the content between the @@ -1156,7 +1156,7 @@ let Fn = class Dl { [`ReplaceError`](https://prosemirror.net/docs/ref/#model.ReplaceError) is thrown. */ replace(e, n, r) { - return CE(this.resolve(e), this.resolve(n), r); + return xE(this.resolve(e), this.resolve(n), r); } /** Find the node directly after the given position. @@ -1199,13 +1199,13 @@ let Fn = class Dl { [object](https://prosemirror.net/docs/ref/#model.ResolvedPos) with information about its context. */ resolve(e) { - return Vi.resolveCached(this, e); + return Yi.resolveCached(this, e); } /** @internal */ resolveNoCache(e) { - return Vi.resolve(this, e); + return Yi.resolve(this, e); } /** Test whether a given mark or mark type occurs in this document @@ -1271,7 +1271,7 @@ let Fn = class Dl { if (this.type.spec.toDebugString) return this.type.spec.toDebugString(this); let e = this.type.name; - return this.content.size && (e += "(" + this.content.toStringInner() + ")"), um(this.marks, e); + return this.content.size && (e += "(" + this.content.toStringInner() + ")"), mm(this.marks, e); } /** Get the content match in this node at the given index. @@ -1365,7 +1365,7 @@ let Fn = class Dl { } }; Fn.prototype.text = void 0; -class ua extends Fn { +class pa extends Fn { /** @internal */ @@ -1375,7 +1375,7 @@ class ua extends Fn { this.text = r; } toString() { - return this.type.spec.toDebugString ? this.type.spec.toDebugString(this) : um(this.marks, JSON.stringify(this.text)); + return this.type.spec.toDebugString ? this.type.spec.toDebugString(this) : mm(this.marks, JSON.stringify(this.text)); } get textContent() { return this.text; @@ -1387,10 +1387,10 @@ class ua extends Fn { return this.text.length; } mark(e) { - return e == this.marks ? this : new ua(this.type, this.attrs, this.text, e); + return e == this.marks ? this : new pa(this.type, this.attrs, this.text, e); } withText(e) { - return e == this.text ? this : new ua(this.type, this.attrs, e, this.marks); + return e == this.text ? this : new pa(this.type, this.attrs, e, this.marks); } cut(e = 0, n = this.text.length) { return e == 0 && n == this.text.length ? this : this.withText(this.text.slice(e, n)); @@ -1403,7 +1403,7 @@ class ua extends Fn { return e.text = this.text, e; } } -function um(t, e) { +function mm(t, e) { for (let n = t.length - 1; n >= 0; n--) e = t[n].type.name + "(" + e + ")"; return e; @@ -1419,13 +1419,13 @@ class mr { @internal */ static parse(e, n) { - let r = new NE(e, n); + let r = new kE(e, n); if (r.next == null) return mr.empty; - let i = dm(r); + let i = fm(r); r.next && r.err("Unexpected trailing text"); - let o = LE(wE(i)); - return kE(o, r), o; + let o = VE(GE(i)); + return YE(o, r), o; } /** Match a node type, returning a match after that node if @@ -1571,7 +1571,7 @@ class mr { } } mr.empty = new mr(!0); -class NE { +class kE { constructor(e, n) { this.string = e, this.nodeTypes = n, this.inline = null, this.pos = 0, this.tokens = e.split(/\s*(?=\b|\W|$)/), this.tokens[this.tokens.length - 1] == "" && this.tokens.pop(), this.tokens[0] == "" && this.tokens.shift(); } @@ -1585,22 +1585,22 @@ class NE { throw new SyntaxError(e + " (in content expression '" + this.string + "')"); } } -function dm(t) { +function fm(t) { let e = []; do - e.push(AE(t)); + e.push(PE(t)); while (t.eat("|")); return e.length == 1 ? e[0] : { type: "choice", exprs: e }; } -function AE(t) { +function PE(t) { let e = []; do - e.push(IE(t)); + e.push(FE(t)); while (t.next && t.next != ")" && t.next != "|"); return e.length == 1 ? e[0] : { type: "seq", exprs: e }; } -function IE(t) { - let e = ME(t); +function FE(t) { + let e = HE(t); for (; ; ) if (t.eat("+")) e = { type: "plus", expr: e }; @@ -1609,21 +1609,21 @@ function IE(t) { else if (t.eat("?")) e = { type: "opt", expr: e }; else if (t.eat("{")) - e = xE(t, e); + e = BE(t, e); else break; return e; } -function $u(t) { +function Ku(t) { /\D/.test(t.next) && t.err("Expected number, got '" + t.next + "'"); let e = Number(t.next); return t.pos++, e; } -function xE(t, e) { - let n = $u(t), r = n; - return t.eat(",") && (t.next != "}" ? r = $u(t) : r = -1), t.eat("}") || t.err("Unclosed braced range"), { type: "range", min: n, max: r, expr: e }; +function BE(t, e) { + let n = Ku(t), r = n; + return t.eat(",") && (t.next != "}" ? r = Ku(t) : r = -1), t.eat("}") || t.err("Unclosed braced range"), { type: "range", min: n, max: r, expr: e }; } -function DE(t, e) { +function UE(t, e) { let n = t.nodeTypes, r = n[e]; if (r) return [r]; @@ -1634,18 +1634,18 @@ function DE(t, e) { } return i.length == 0 && t.err("No node type or group '" + e + "' found"), i; } -function ME(t) { +function HE(t) { if (t.eat("(")) { - let e = dm(t); + let e = fm(t); return t.eat(")") || t.err("Missing closing paren"), e; } else if (/\W/.test(t.next)) t.err("Unexpected token '" + t.next + "'"); else { - let e = DE(t, t.next).map((n) => (t.inline == null ? t.inline = n.isInline : t.inline != n.isInline && t.err("Mixing inline and block content"), { type: "name", value: n })); + let e = UE(t, t.next).map((n) => (t.inline == null ? t.inline = n.isInline : t.inline != n.isInline && t.err("Mixing inline and block content"), { type: "name", value: n })); return t.pos++, e.length == 1 ? e[0] : { type: "choice", exprs: e }; } } -function wE(t) { +function GE(t) { let e = [[]]; return i(o(t, 0), n()), e; function n() { @@ -1699,12 +1699,12 @@ function wE(t) { } } } -function pm(t, e) { +function hm(t, e) { return e - t; } -function qu(t, e) { +function Qu(t, e) { let n = []; - return r(e), n.sort(pm); + return r(e), n.sort(hm); function r(i) { let o = t[i]; if (o.length == 1 && !o[0].term) @@ -1716,9 +1716,9 @@ function qu(t, e) { } } } -function LE(t) { +function VE(t) { let e = /* @__PURE__ */ Object.create(null); - return n(qu(t, 0)); + return n(Qu(t, 0)); function n(r) { let i = []; r.forEach((a) => { @@ -1728,20 +1728,20 @@ function LE(t) { let c; for (let u = 0; u < i.length; u++) i[u][0] == s && (c = i[u][1]); - qu(t, l).forEach((u) => { + Qu(t, l).forEach((u) => { c || i.push([s, c = []]), c.indexOf(u) == -1 && c.push(u); }); }); }); let o = e[r.join(",")] = new mr(r.indexOf(t.length - 1) > -1); for (let a = 0; a < i.length; a++) { - let s = i[a][1].sort(pm); + let s = i[a][1].sort(hm); o.next.push({ type: i[a][0], next: e[s.join(",")] || n(s) }); } return o; } } -function kE(t, e) { +function YE(t, e) { for (let n = 0, r = [t]; n < r.length; n++) { let i = r[n], o = !i.validEnd, a = []; for (let s = 0; s < i.next.length; s++) { @@ -1751,7 +1751,7 @@ function kE(t, e) { o && e.err("Only non-generatable nodes (" + a.join(", ") + ") in a required position (see https://prosemirror.net/docs/guide/#generatable)"); } } -function _m(t) { +function gm(t) { let e = /* @__PURE__ */ Object.create(null); for (let n in t) { let r = t[n]; @@ -1761,7 +1761,7 @@ function _m(t) { } return e; } -function mm(t, e) { +function Em(t, e) { let n = /* @__PURE__ */ Object.create(null); for (let r in t) { let i = e && e[r]; @@ -1776,7 +1776,7 @@ function mm(t, e) { } return n; } -function fm(t, e, n, r) { +function Sm(t, e, n, r) { for (let i in e) if (!(i in t)) throw new RangeError(`Unsupported attribute ${i} for ${n} of type ${i}`); @@ -1785,19 +1785,19 @@ function fm(t, e, n, r) { o.validate && o.validate(e[i]); } } -function gm(t, e) { +function bm(t, e) { let n = /* @__PURE__ */ Object.create(null); if (e) for (let r in e) - n[r] = new FE(t, r, e[r]); + n[r] = new $E(t, r, e[r]); return n; } -let Wu = class hm { +let Zu = class Tm { /** @internal */ constructor(e, n, r) { - this.name = e, this.schema = n, this.spec = r, this.markSet = null, this.groups = r.group ? r.group.split(" ") : [], this.attrs = gm(e, r.attrs), this.defaultAttrs = _m(this.attrs), this.contentMatch = null, this.inlineContent = null, this.isBlock = !(r.inline || e == "text"), this.isText = e == "text"; + this.name = e, this.schema = n, this.spec = r, this.markSet = null, this.groups = r.group ? r.group.split(" ") : [], this.attrs = bm(e, r.attrs), this.defaultAttrs = gm(this.attrs), this.contentMatch = null, this.inlineContent = null, this.isBlock = !(r.inline || e == "text"), this.isText = e == "text"; } /** True if this is an inline type. @@ -1858,7 +1858,7 @@ let Wu = class hm { @internal */ computeAttrs(e) { - return !e && this.defaultAttrs ? this.defaultAttrs : mm(this.attrs, e); + return !e && this.defaultAttrs ? this.defaultAttrs : Em(this.attrs, e); } /** Create a `Node` of this type. The given attributes are @@ -1925,7 +1925,7 @@ let Wu = class hm { @internal */ checkAttrs(e) { - fm(this.attrs, e, "node", this.name); + Sm(this.attrs, e, "node", this.name); } /** Check whether the given mark type is allowed in this node. @@ -1960,7 +1960,7 @@ let Wu = class hm { */ static compile(e, n) { let r = /* @__PURE__ */ Object.create(null); - e.forEach((o, a) => r[o] = new hm(o, n, a)); + e.forEach((o, a) => r[o] = new Tm(o, n, a)); let i = n.spec.topNode || "doc"; if (!r[i]) throw new RangeError("Schema is missing its top node type ('" + i + "')"); @@ -1971,7 +1971,7 @@ let Wu = class hm { return r; } }; -function PE(t, e, n) { +function zE(t, e, n) { let r = n.split("|"); return (i) => { let o = i === null ? "null" : typeof i; @@ -1979,21 +1979,21 @@ function PE(t, e, n) { throw new RangeError(`Expected value of type ${r} for attribute ${e} on type ${t}, got ${o}`); }; } -class FE { +class $E { constructor(e, n, r) { - this.hasDefault = Object.prototype.hasOwnProperty.call(r, "default"), this.default = r.default, this.validate = typeof r.validate == "string" ? PE(e, n, r.validate) : r.validate; + this.hasDefault = Object.prototype.hasOwnProperty.call(r, "default"), this.default = r.default, this.validate = typeof r.validate == "string" ? zE(e, n, r.validate) : r.validate; } get isRequired() { return !this.hasDefault; } } -class es { +class ns { /** @internal */ constructor(e, n, r, i) { - this.name = e, this.rank = n, this.schema = r, this.spec = i, this.attrs = gm(e, i.attrs), this.excluded = null; - let o = _m(this.attrs); + this.name = e, this.rank = n, this.schema = r, this.spec = i, this.attrs = bm(e, i.attrs), this.excluded = null; + let o = gm(this.attrs); this.instance = o ? new Re(this, o) : null; } /** @@ -2002,14 +2002,14 @@ class es { they have defaults, will be added. */ create(e = null) { - return !e && this.instance ? this.instance : new Re(this, mm(this.attrs, e)); + return !e && this.instance ? this.instance : new Re(this, Em(this.attrs, e)); } /** @internal */ static compile(e, n) { let r = /* @__PURE__ */ Object.create(null), i = 0; - return e.forEach((o, a) => r[o] = new es(o, i++, n, a)), r; + return e.forEach((o, a) => r[o] = new ns(o, i++, n, a)), r; } /** When there is a mark of this type in the given set, a new set @@ -2032,7 +2032,7 @@ class es { @internal */ checkAttrs(e) { - fm(this.attrs, e, "mark", this.name); + Sm(this.attrs, e, "mark", this.name); } /** Queries whether a given mark type is @@ -2042,7 +2042,7 @@ class es { return this.excluded.indexOf(e) > -1; } } -class Em { +class Cm { /** Construct a schema from a schema [specification](https://prosemirror.net/docs/ref/#model.SchemaSpec). */ @@ -2051,7 +2051,7 @@ class Em { let n = this.spec = {}; for (let i in e) n[i] = e[i]; - n.nodes = Ze.from(e.nodes), n.marks = Ze.from(e.marks || {}), this.nodes = Wu.compile(this.spec.nodes, this), this.marks = es.compile(this.spec.marks, this); + n.nodes = Ze.from(e.nodes), n.marks = Ze.from(e.marks || {}), this.nodes = Zu.compile(this.spec.nodes, this), this.marks = ns.compile(this.spec.marks, this); let r = /* @__PURE__ */ Object.create(null); for (let i in this.nodes) { if (i in this.marks) @@ -2064,11 +2064,11 @@ class Em { throw new RangeError("Linebreak replacement nodes must be inline leaf nodes"); this.linebreakReplacement = o; } - o.markSet = s == "_" ? null : s ? Ku(this, s.split(" ")) : s == "" || !o.inlineContent ? [] : null; + o.markSet = s == "_" ? null : s ? Xu(this, s.split(" ")) : s == "" || !o.inlineContent ? [] : null; } for (let i in this.marks) { let o = this.marks[i], a = o.spec.excludes; - o.excluded = a == null ? [o] : a == "" ? [] : Ku(this, a.split(" ")); + o.excluded = a == null ? [o] : a == "" ? [] : Xu(this, a.split(" ")); } this.nodeFromJSON = this.nodeFromJSON.bind(this), this.markFromJSON = this.markFromJSON.bind(this), this.topNodeType = this.nodes[this.spec.topNode || "doc"], this.cached.wrappings = /* @__PURE__ */ Object.create(null); } @@ -2081,7 +2081,7 @@ class Em { node(e, n = null, r, i) { if (typeof e == "string") e = this.nodeType(e); - else if (e instanceof Wu) { + else if (e instanceof Zu) { if (e.schema != this) throw new RangeError("Node type from different schema used (" + e.name + ")"); } else throw new RangeError("Invalid node type: " + e); @@ -2093,7 +2093,7 @@ class Em { */ text(e, n) { let r = this.nodes.text; - return new ua(r, r.defaultAttrs, e, Re.setFrom(n)); + return new pa(r, r.defaultAttrs, e, Re.setFrom(n)); } /** Create a mark with the given type and attributes. @@ -2125,7 +2125,7 @@ class Em { return n; } } -function Ku(t, e) { +function Xu(t, e) { let n = []; for (let r = 0; r < e.length; r++) { let i = e[r], o = t.marks[i], a = o; @@ -2141,13 +2141,13 @@ function Ku(t, e) { } return n; } -function BE(t) { +function qE(t) { return t.tag != null; } -function UE(t) { +function WE(t) { return t.style != null; } -let Wr = class Ml { +let Wr = class Ll { /** Create a parser that targets the given schema, using the given parsing rules. @@ -2156,9 +2156,9 @@ let Wr = class Ml { this.schema = e, this.rules = n, this.tags = [], this.styles = []; let r = this.matchedStyles = []; n.forEach((i) => { - if (BE(i)) + if (qE(i)) this.tags.push(i); - else if (UE(i)) { + else if (WE(i)) { let o = /[^=]*/.exec(i.style)[0]; r.indexOf(o) < 0 && r.push(o), this.styles.push(i); } @@ -2173,7 +2173,7 @@ let Wr = class Ml { Parse a document from the content of a DOM node. */ parse(e, n = {}) { - let r = new Zu(this, n, !1); + let r = new Ju(this, n, !1); return r.addAll(e, Re.none, n.from, n.to), r.finish(); } /** @@ -2185,7 +2185,7 @@ let Wr = class Ml { the left of the input and the end of nodes at the end. */ parseSlice(e, n = {}) { - let r = new Zu(this, n, !0); + let r = new Ju(this, n, !0); return r.addAll(e, Re.none, n.from, n.to), H.maxOpen(r.finish()); } /** @@ -2194,7 +2194,7 @@ let Wr = class Ml { matchTag(e, n, r) { for (let i = r ? this.tags.indexOf(r) + 1 : 0; i < this.tags.length; i++) { let o = this.tags[i]; - if (VE(e, o.tag) && (o.namespace === void 0 || e.namespaceURI == o.namespace) && (!o.context || n.matchesContext(o.context))) { + if (ZE(e, o.tag) && (o.namespace === void 0 || e.namespaceURI == o.namespace) && (!o.context || n.matchesContext(o.context))) { if (o.getAttrs) { let a = o.getAttrs(e); if (a === !1) @@ -2242,13 +2242,13 @@ let Wr = class Ml { for (let i in e.marks) { let o = e.marks[i].spec.parseDOM; o && o.forEach((a) => { - r(a = Xu(a)), a.mark || a.ignore || a.clearMark || (a.mark = i); + r(a = ed(a)), a.mark || a.ignore || a.clearMark || (a.mark = i); }); } for (let i in e.nodes) { let o = e.nodes[i].spec.parseDOM; o && o.forEach((a) => { - r(a = Xu(a)), a.node || a.ignore || a.mark || (a.node = i); + r(a = ed(a)), a.node || a.ignore || a.mark || (a.node = i); }); } return n; @@ -2259,10 +2259,10 @@ let Wr = class Ml { [priority](https://prosemirror.net/docs/ref/#model.ParseRule.priority). */ static fromSchema(e) { - return e.cached.domParser || (e.cached.domParser = new Ml(e, Ml.schemaRules(e))); + return e.cached.domParser || (e.cached.domParser = new Ll(e, Ll.schemaRules(e))); } }; -const Sm = { +const ym = { address: !0, article: !0, aside: !0, @@ -2295,20 +2295,20 @@ const Sm = { table: !0, tfoot: !0, ul: !0 -}, HE = { +}, KE = { head: !0, noscript: !0, object: !0, script: !0, style: !0, title: !0 -}, bm = { ol: !0, ul: !0 }, da = 1, pa = 2, Di = 4; -function Qu(t, e, n) { - return e != null ? (e ? da : 0) | (e === "full" ? pa : 0) : t && t.whitespace == "pre" ? da | pa : n & ~Di; +}, vm = { ol: !0, ul: !0 }, _a = 1, ma = 2, Mi = 4; +function ju(t, e, n) { + return e != null ? (e ? _a : 0) | (e === "full" ? ma : 0) : t && t.whitespace == "pre" ? _a | ma : n & ~Mi; } -class Oo { +class Ao { constructor(e, n, r, i, o, a) { - this.type = e, this.attrs = n, this.marks = r, this.solid = i, this.options = a, this.content = [], this.activeMarks = Re.none, this.match = o || (a & Di ? null : e.contentMatch); + this.type = e, this.attrs = n, this.marks = r, this.solid = i, this.options = a, this.content = [], this.activeMarks = Re.none, this.match = o || (a & Mi ? null : e.contentMatch); } findWrapping(e) { if (!this.match) { @@ -2325,7 +2325,7 @@ class Oo { return this.match.findWrapping(e.type); } finish(e) { - if (!(this.options & da)) { + if (!(this.options & _a)) { let r = this.content[this.content.length - 1], i; if (r && r.isText && (i = /[ \t\r\n\u000c]+$/.exec(r.text))) { let o = r; @@ -2336,14 +2336,14 @@ class Oo { return !e && this.match && (n = n.append(this.match.fillBefore(w.empty, !0))), this.type ? this.type.create(this.attrs, n, this.marks) : n; } inlineContext(e) { - return this.type ? this.type.inlineContent : this.content.length ? this.content[0].isInline : e.parentNode && !Sm.hasOwnProperty(e.parentNode.nodeName.toLowerCase()); + return this.type ? this.type.inlineContent : this.content.length ? this.content[0].isInline : e.parentNode && !ym.hasOwnProperty(e.parentNode.nodeName.toLowerCase()); } } -class Zu { +class Ju { constructor(e, n, r) { this.parser = e, this.options = n, this.isOpen = r, this.open = 0; - let i = n.topNode, o, a = Qu(null, n.preserveWhitespace, 0) | (r ? Di : 0); - i ? o = new Oo(i.type, i.attrs, Re.none, !0, n.topMatch || i.type.contentMatch, a) : r ? o = new Oo(null, null, Re.none, !0, null, a) : o = new Oo(e.schema.topNodeType, null, Re.none, !0, null, a), this.nodes = [o], this.find = n.findPositions, this.needsBlock = !1; + let i = n.topNode, o, a = ju(null, n.preserveWhitespace, 0) | (r ? Mi : 0); + i ? o = new Ao(i.type, i.attrs, Re.none, !0, n.topMatch || i.type.contentMatch, a) : r ? o = new Ao(null, null, Re.none, !0, null, a) : o = new Ao(e.schema.topNodeType, null, Re.none, !0, null, a), this.nodes = [o], this.find = n.findPositions, this.needsBlock = !1; } get top() { return this.nodes[this.open]; @@ -2356,9 +2356,9 @@ class Zu { } addTextNode(e, n) { let r = e.nodeValue, i = this.top; - if (i.options & pa || i.inlineContext(e) || /[^ \t\r\n\u000c]/.test(r)) { - if (i.options & da) - i.options & pa ? r = r.replace(/\r\n?/g, ` + if (i.options & ma || i.inlineContext(e) || /[^ \t\r\n\u000c]/.test(r)) { + if (i.options & _a) + i.options & ma ? r = r.replace(/\r\n?/g, ` `) : r = r.replace(/\r?\n|\r/g, " "); else if (r = r.replace(/[ \t\r\n\u000c]+/g, " "), /^[ \t\r\n\u000c]/.test(r) && this.open == this.nodes.length - 1) { let o = i.content[i.content.length - 1], a = e.previousSibling; @@ -2372,14 +2372,14 @@ class Zu { // none is found, the element's content nodes are added directly. addElement(e, n, r) { let i = e.nodeName.toLowerCase(), o; - bm.hasOwnProperty(i) && this.parser.normalizeLists && GE(e); + vm.hasOwnProperty(i) && this.parser.normalizeLists && QE(e); let a = this.options.ruleFromNode && this.options.ruleFromNode(e) || (o = this.parser.matchTag(e, this, r)); - if (a ? a.ignore : HE.hasOwnProperty(i)) + if (a ? a.ignore : KE.hasOwnProperty(i)) this.findInside(e), this.ignoreFallback(e, n); else if (!a || a.skip || a.closeParent) { a && a.closeParent ? this.open = Math.max(0, this.open - 1) : a && a.skip.nodeType && (e = a.skip); let s, l = this.top, c = this.needsBlock; - if (Sm.hasOwnProperty(i)) + if (ym.hasOwnProperty(i)) l.content.length && l.content[0].isInline && this.open && (this.open--, l = this.top), s = !0, l.type || (this.needsBlock = !0); else if (!e.firstChild) { this.leafFallback(e, n); @@ -2492,7 +2492,7 @@ class Zu { i.match && (i.match = i.match.matchType(e.type)); let o = Re.none; for (let a of r.concat(e.marks)) - (i.type ? i.type.allowsMarkType(a.type) : ju(a.type, e.type)) && (o = a.addToSet(o)); + (i.type ? i.type.allowsMarkType(a.type) : td(a.type, e.type)) && (o = a.addToSet(o)); return i.content.push(e.mark(o)), !0; } return !1; @@ -2508,10 +2508,10 @@ class Zu { this.closeExtra(); let a = this.top; a.match = a.match && a.match.matchType(e); - let s = Qu(e, o, a.options); - a.options & Di && a.content.length == 0 && (s |= Di); + let s = ju(e, o, a.options); + a.options & Mi && a.content.length == 0 && (s |= Mi); let l = Re.none; - return r = r.filter((c) => (a.type ? a.type.allowsMarkType(c.type) : ju(c.type, e)) ? (l = c.addToSet(l), !1) : !0), this.nodes.push(new Oo(e, n, l, i, null, s)), this.open++, r; + return r = r.filter((c) => (a.type ? a.type.allowsMarkType(c.type) : td(c.type, e)) ? (l = c.addToSet(l), !1) : !0), this.nodes.push(new Ao(e, n, l, i, null, s)), this.open++, r; } // Make sure all nodes above this.open are finished and added to // their parents @@ -2603,22 +2603,22 @@ class Zu { } } } -function GE(t) { +function QE(t) { for (let e = t.firstChild, n = null; e; e = e.nextSibling) { let r = e.nodeType == 1 ? e.nodeName.toLowerCase() : null; - r && bm.hasOwnProperty(r) && n ? (n.appendChild(e), e = n) : r == "li" ? n = e : r && (n = null); + r && vm.hasOwnProperty(r) && n ? (n.appendChild(e), e = n) : r == "li" ? n = e : r && (n = null); } } -function VE(t, e) { +function ZE(t, e) { return (t.matches || t.msMatchesSelector || t.webkitMatchesSelector || t.mozMatchesSelector).call(t, e); } -function Xu(t) { +function ed(t) { let e = {}; for (let n in t) e[n] = t[n]; return e; } -function ju(t, e) { +function td(t, e) { let n = e.schema.nodes; for (let r in n) { let i = n[r]; @@ -2656,7 +2656,7 @@ class Cr { nodes. */ serializeFragment(e, n = {}, r) { - r || (r = ws(n).createDocumentFragment()); + r || (r = ks(n).createDocumentFragment()); let i = r, o = []; return e.forEach((a) => { if (o.length || a.marks.length) { @@ -2685,7 +2685,7 @@ class Cr { @internal */ serializeNodeInner(e, n) { - let { dom: r, contentDOM: i } = Xo(ws(n), this.nodes[e.type.name](e), null, e.attrs); + let { dom: r, contentDOM: i } = Jo(ks(n), this.nodes[e.type.name](e), null, e.attrs); if (i) { if (e.isLeaf) throw new RangeError("Content hole not allowed in a leaf node spec"); @@ -2713,10 +2713,10 @@ class Cr { */ serializeMark(e, n, r = {}) { let i = this.marks[e.type.name]; - return i && Xo(ws(r), i(e, n), null, e.attrs); + return i && Jo(ks(r), i(e, n), null, e.attrs); } static renderSpec(e, n, r = null, i) { - return Xo(e, n, r, i); + return Jo(e, n, r, i); } /** Build a serializer using the [`toDOM`](https://prosemirror.net/docs/ref/#model.NodeSpec.toDOM) @@ -2730,17 +2730,17 @@ class Cr { This can be useful as a base to build a custom serializer from. */ static nodesFromSchema(e) { - let n = Ju(e.nodes); + let n = nd(e.nodes); return n.text || (n.text = (r) => r.text), n; } /** Gather the serializers in a schema's mark specs into an object. */ static marksFromSchema(e) { - return Ju(e.marks); + return nd(e.marks); } } -function Ju(t) { +function nd(t) { let e = {}; for (let n in t) { let r = t[n].spec.toDOM; @@ -2748,15 +2748,15 @@ function Ju(t) { } return e; } -function ws(t) { +function ks(t) { return t.document || window.document; } -const ed = /* @__PURE__ */ new WeakMap(); -function YE(t) { - let e = ed.get(t); - return e === void 0 && ed.set(t, e = zE(t)), e; +const rd = /* @__PURE__ */ new WeakMap(); +function XE(t) { + let e = rd.get(t); + return e === void 0 && rd.set(t, e = jE(t)), e; } -function zE(t) { +function jE(t) { let e = null; function n(r) { if (r && typeof r == "object") @@ -2772,7 +2772,7 @@ function zE(t) { } return n(t), e; } -function Xo(t, e, n, r) { +function Jo(t, e, n, r) { if (typeof e == "string") return { dom: t.createTextNode(e) }; if (e.nodeType != null) @@ -2782,7 +2782,7 @@ function Xo(t, e, n, r) { let i = e[0], o; if (typeof i != "string") throw new RangeError("Invalid array passed to renderSpec"); - if (r && (o = YE(r)) && o.indexOf(e) > -1) + if (r && (o = XE(r)) && o.indexOf(e) > -1) throw new RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack."); let a = i.indexOf(" "); a > 0 && (n = i.slice(0, a), i = i.slice(a + 1)); @@ -2802,7 +2802,7 @@ function Xo(t, e, n, r) { throw new RangeError("Content hole must be the only child of its parent node"); return { dom: l, contentDOM: l }; } else { - let { dom: _, contentDOM: m } = Xo(t, p, n, r); + let { dom: _, contentDOM: m } = Jo(t, p, n, r); if (l.appendChild(_), m) { if (s) throw new RangeError("Multiple content holes"); @@ -2812,18 +2812,18 @@ function Xo(t, e, n, r) { } return { dom: l, contentDOM: s }; } -const Tm = 65535, Cm = Math.pow(2, 16); -function $E(t, e) { - return t + e * Cm; +const Rm = 65535, Om = Math.pow(2, 16); +function JE(t, e) { + return t + e * Om; } -function td(t) { - return t & Tm; +function id(t) { + return t & Rm; } -function qE(t) { - return (t - (t & Tm)) / Cm; +function eS(t) { + return (t - (t & Rm)) / Om; } -const ym = 1, vm = 2, jo = 4, Rm = 8; -class wl { +const Nm = 1, Am = 2, ea = 4, Im = 8; +class kl { /** @internal */ @@ -2836,19 +2836,19 @@ class wl { argument from the document. */ get deleted() { - return (this.delInfo & Rm) > 0; + return (this.delInfo & Im) > 0; } /** Tells you whether the token before the mapped position was deleted. */ get deletedBefore() { - return (this.delInfo & (ym | jo)) > 0; + return (this.delInfo & (Nm | ea)) > 0; } /** True when the token after the mapped position was deleted. */ get deletedAfter() { - return (this.delInfo & (vm | jo)) > 0; + return (this.delInfo & (Am | ea)) > 0; } /** Tells whether any of the steps mapped through deletes across the @@ -2856,7 +2856,7 @@ class wl { position). */ get deletedAcross() { - return (this.delInfo & jo) > 0; + return (this.delInfo & ea) > 0; } } class Ct { @@ -2873,11 +2873,11 @@ class Ct { @internal */ recover(e) { - let n = 0, r = td(e); + let n = 0, r = id(e); if (!this.inverted) for (let i = 0; i < r; i++) n += this.ranges[i * 3 + 2] - this.ranges[i * 3 + 1]; - return this.ranges[r * 3] + n + qE(e); + return this.ranges[r * 3] + n + eS(e); } mapResult(e, n = 1) { return this._map(e, n, !1); @@ -2899,18 +2899,18 @@ class Ct { let p = c ? e == l ? -1 : e == d ? 1 : n : n, _ = l + i + (p < 0 ? 0 : u); if (r) return _; - let m = e == (n < 0 ? l : d) ? null : $E(s / 3, e - l), f = e == l ? vm : e == d ? ym : jo; - return (n < 0 ? e != l : e != d) && (f |= Rm), new wl(_, f, m); + let m = e == (n < 0 ? l : d) ? null : JE(s / 3, e - l), f = e == l ? Am : e == d ? Nm : ea; + return (n < 0 ? e != l : e != d) && (f |= Im), new kl(_, f, m); } i += u - c; } - return r ? e + i : new wl(e + i, 0, null); + return r ? e + i : new kl(e + i, 0, null); } /** @internal */ touches(e, n) { - let r = 0, i = td(n), o = this.inverted ? 2 : 1, a = this.inverted ? 1 : 2; + let r = 0, i = id(n), o = this.inverted ? 2 : 1, a = this.inverted ? 1 : 2; for (let s = 0; s < this.ranges.length; s += 3) { let l = this.ranges[s] - (this.inverted ? r : 0); if (l > e) @@ -3060,10 +3060,10 @@ class Kr { } i |= s.delInfo, e = s.pos; } - return r ? e : new wl(e, i, null); + return r ? e : new kl(e, i, null); } } -const Ls = /* @__PURE__ */ Object.create(null); +const Ps = /* @__PURE__ */ Object.create(null); class ot { /** Get the step map that represents the changes made by this step, @@ -3088,7 +3088,7 @@ class ot { static fromJSON(e, n) { if (!n || !n.stepType) throw new RangeError("Invalid input for Step.fromJSON"); - let r = Ls[n.stepType]; + let r = Ps[n.stepType]; if (!r) throw new RangeError(`No step type ${n.stepType} defined`); return r.fromJSON(e, n); @@ -3100,9 +3100,9 @@ class ot { that's unlikely to clash with steps from other modules. */ static jsonID(e, n) { - if (e in Ls) + if (e in Ps) throw new RangeError("Duplicate use of step JSON ID " + e); - return Ls[e] = n, n.prototype.jsonID = e, n; + return Ps[e] = n, n.prototype.jsonID = e, n; } } class Fe { @@ -3133,17 +3133,17 @@ class Fe { try { return Fe.ok(e.replace(n, r, i)); } catch (o) { - if (o instanceof sa) + if (o instanceof ca) return Fe.fail(o.message); throw o; } } } -function bc(t, e, n) { +function yc(t, e, n) { let r = []; for (let i = 0; i < t.childCount; i++) { let o = t.child(i); - o.content.size && (o = o.copy(bc(o.content, e, o))), o.isInline && (o = e(o, n, i)), r.push(o); + o.content.size && (o = o.copy(yc(o.content, e, o))), o.isInline && (o = e(o, n, i)), r.push(o); } return w.fromArray(r); } @@ -3155,7 +3155,7 @@ class xn extends ot { super(), this.from = e, this.to = n, this.mark = r; } apply(e) { - let n = e.slice(this.from, this.to), r = e.resolve(this.from), i = r.node(r.sharedDepth(this.to)), o = new H(bc(n.content, (a, s) => !a.isAtom || !s.type.allowsMarkType(this.mark.type) ? a : a.mark(this.mark.addToSet(a.marks)), i), n.openStart, n.openEnd); + let n = e.slice(this.from, this.to), r = e.resolve(this.from), i = r.node(r.sharedDepth(this.to)), o = new H(yc(n.content, (a, s) => !a.isAtom || !s.type.allowsMarkType(this.mark.type) ? a : a.mark(this.mark.addToSet(a.marks)), i), n.openStart, n.openEnd); return Fe.fromReplace(e, this.from, this.to, o); } invert() { @@ -3194,7 +3194,7 @@ class Zt extends ot { super(), this.from = e, this.to = n, this.mark = r; } apply(e) { - let n = e.slice(this.from, this.to), r = new H(bc(n.content, (i) => i.mark(this.mark.removeFromSet(i.marks)), e), n.openStart, n.openEnd); + let n = e.slice(this.from, this.to), r = new H(yc(n.content, (i) => i.mark(this.mark.removeFromSet(i.marks)), e), n.openStart, n.openEnd); return Fe.fromReplace(e, this.from, this.to, r); } invert() { @@ -3318,7 +3318,7 @@ class Ue extends ot { super(), this.from = e, this.to = n, this.slice = r, this.structure = i; } apply(e) { - return this.structure && Ll(e, this.from, this.to) ? Fe.fail("Structure replace would overwrite content") : Fe.fromReplace(e, this.from, this.to, this.slice); + return this.structure && Pl(e, this.from, this.to) ? Fe.fail("Structure replace would overwrite content") : Fe.fromReplace(e, this.from, this.to, this.slice); } getMap() { return new Ct([this.from, this.to - this.from, this.slice.size]); @@ -3367,7 +3367,7 @@ class ze extends ot { super(), this.from = e, this.to = n, this.gapFrom = r, this.gapTo = i, this.slice = o, this.insert = a, this.structure = s; } apply(e) { - if (this.structure && (Ll(e, this.from, this.gapFrom) || Ll(e, this.gapTo, this.to))) + if (this.structure && (Pl(e, this.from, this.gapFrom) || Pl(e, this.gapTo, this.to))) return Fe.fail("Structure gap-replace would overwrite content"); let n = e.slice(this.gapFrom, this.gapTo); if (n.openStart || n.openEnd) @@ -3414,7 +3414,7 @@ class ze extends ot { } } ot.jsonID("replaceAround", ze); -function Ll(t, e, n) { +function Pl(t, e, n) { let r = t.resolve(e), i = n - e, o = r.depth; for (; i > 0 && o > 0 && r.indexAfter(o) == r.node(o).childCount; ) o--, i--; @@ -3428,7 +3428,7 @@ function Ll(t, e, n) { } return !1; } -function WE(t, e, n, r) { +function tS(t, e, n, r) { let i = [], o = [], a, s; t.doc.nodesBetween(e, n, (l, c, u) => { if (!l.isInline) @@ -3442,14 +3442,14 @@ function WE(t, e, n, r) { } }), i.forEach((l) => t.step(l)), o.forEach((l) => t.step(l)); } -function KE(t, e, n, r) { +function nS(t, e, n, r) { let i = [], o = 0; t.doc.nodesBetween(e, n, (a, s) => { if (!a.isInline) return; o++; let l = null; - if (r instanceof es) { + if (r instanceof ns) { let c = a.marks, u; for (; u = r.isInSet(c); ) (l || (l = [])).push(u), c = u.removeFromSet(c); @@ -3467,7 +3467,7 @@ function KE(t, e, n, r) { } }), i.forEach((a) => t.step(new Zt(a.from, a.to, a.style))); } -function Tc(t, e, n, r = n.contentMatch, i = !0) { +function vc(t, e, n, r = n.contentMatch, i = !0) { let o = t.doc.nodeAt(e), a = [], s = e + 1; for (let l = 0; l < o.childCount; l++) { let c = o.child(l), u = s + c.nodeSize, d = r.matchType(c.type); @@ -3492,21 +3492,21 @@ function Tc(t, e, n, r = n.contentMatch, i = !0) { for (let l = a.length - 1; l >= 0; l--) t.step(a[l]); } -function QE(t, e, n) { +function rS(t, e, n) { return (e == 0 || t.canReplace(e, t.childCount)) && (n == t.childCount || t.canReplace(0, n)); } -function _i(t) { +function mi(t) { let n = t.parent.content.cutByIndex(t.startIndex, t.endIndex); for (let r = t.depth; ; --r) { let i = t.$from.node(r), o = t.$from.index(r), a = t.$to.indexAfter(r); if (r < t.depth && i.canReplace(o, a, n)) return r; - if (r == 0 || i.type.spec.isolating || !QE(i, o, a)) + if (r == 0 || i.type.spec.isolating || !rS(i, o, a)) break; } return null; } -function ZE(t, e, n) { +function iS(t, e, n) { let { $from: r, $to: i, depth: o } = e, a = r.before(o + 1), s = i.after(o + 1), l = a, c = s, u = w.empty, d = 0; for (let m = o, f = !1; m > n; m--) f || r.index(m) > 0 ? (f = !0, u = w.from(r.node(m).copy(u)), d++) : l--; @@ -3515,21 +3515,21 @@ function ZE(t, e, n) { f || i.after(m + 1) < i.end(m) ? (f = !0, p = w.from(i.node(m).copy(p)), _++) : c++; t.step(new ze(l, c, a, s, new H(u.append(p), d, _), u.size - d, !0)); } -function Cc(t, e, n = null, r = t) { - let i = XE(t, e), o = i && jE(r, e); - return o ? i.map(nd).concat({ type: e, attrs: n }).concat(o.map(nd)) : null; +function Rc(t, e, n = null, r = t) { + let i = oS(t, e), o = i && aS(r, e); + return o ? i.map(od).concat({ type: e, attrs: n }).concat(o.map(od)) : null; } -function nd(t) { +function od(t) { return { type: t, attrs: null }; } -function XE(t, e) { +function oS(t, e) { let { parent: n, startIndex: r, endIndex: i } = t, o = n.contentMatchAt(r).findWrapping(e); if (!o) return null; let a = o.length ? o[0] : e; return n.canReplaceWith(r, i, a) ? o : null; } -function jE(t, e) { +function aS(t, e) { let { parent: n, startIndex: r, endIndex: i } = t, o = n.child(r), a = e.contentMatch.findWrapping(o.type); if (!a) return null; @@ -3538,7 +3538,7 @@ function jE(t, e) { l = l.matchType(n.child(c).type); return !l || !l.validEnd ? null : a; } -function JE(t, e, n) { +function sS(t, e, n) { let r = w.empty; for (let a = n.length - 1; a >= 0; a--) { if (r.size) { @@ -3551,25 +3551,25 @@ function JE(t, e, n) { let i = e.start, o = e.end; t.step(new ze(i, o, i, o, new H(r, 0, 0), n.length, !0)); } -function eS(t, e, n, r, i) { +function lS(t, e, n, r, i) { if (!r.isTextblock) throw new RangeError("Type given to setBlockType should be a textblock"); let o = t.steps.length; t.doc.nodesBetween(e, n, (a, s) => { let l = typeof i == "function" ? i(a) : i; - if (a.isTextblock && !a.hasMarkup(r, l) && tS(t.doc, t.mapping.slice(o).map(s), r)) { + if (a.isTextblock && !a.hasMarkup(r, l) && cS(t.doc, t.mapping.slice(o).map(s), r)) { let c = null; if (r.schema.linebreakReplacement) { let _ = r.whitespace == "pre", m = !!r.contentMatch.matchType(r.schema.linebreakReplacement); _ && !m ? c = !1 : !_ && m && (c = !0); } - c === !1 && Nm(t, a, s, o), Tc(t, t.mapping.slice(o).map(s, 1), r, void 0, c === null); + c === !1 && Dm(t, a, s, o), vc(t, t.mapping.slice(o).map(s, 1), r, void 0, c === null); let u = t.mapping.slice(o), d = u.map(s, 1), p = u.map(s + a.nodeSize, 1); - return t.step(new ze(d, p, d + 1, p - 1, new H(w.from(r.create(l, null, a.marks)), 0, 0), 1, !0)), c === !0 && Om(t, a, s, o), !1; + return t.step(new ze(d, p, d + 1, p - 1, new H(w.from(r.create(l, null, a.marks)), 0, 0), 1, !0)), c === !0 && xm(t, a, s, o), !1; } }); } -function Om(t, e, n, r) { +function xm(t, e, n, r) { e.forEach((i, o) => { if (i.isText) { let a, s = /\r?\n|\r/g; @@ -3580,7 +3580,7 @@ function Om(t, e, n, r) { } }); } -function Nm(t, e, n, r) { +function Dm(t, e, n, r) { e.forEach((i, o) => { if (i.type == i.type.schema.linebreakReplacement) { let a = t.mapping.slice(r).map(n + 1 + o); @@ -3589,11 +3589,11 @@ function Nm(t, e, n, r) { } }); } -function tS(t, e, n) { +function cS(t, e, n) { let r = t.resolve(e), i = r.index(); return r.parent.canReplaceWith(i, i + 1, n); } -function nS(t, e, n, r, i) { +function uS(t, e, n, r, i) { let o = t.doc.nodeAt(e); if (!o) throw new RangeError("No node at given position"); @@ -3622,7 +3622,7 @@ function Qr(t, e, n = 1, r) { let s = i.indexAfter(o), l = r && r[0]; return i.node(o).canReplaceWith(s, s, l ? l.type : i.node(o + 1).type); } -function rS(t, e, n = 1, r) { +function dS(t, e, n = 1, r) { let i = t.doc.resolve(e), o = w.empty, a = w.empty; for (let s = i.depth, l = i.depth - n, c = n - 1; s > l; s--, c--) { o = w.from(i.node(s).copy(o)); @@ -3633,9 +3633,9 @@ function rS(t, e, n = 1, r) { } function $n(t, e) { let n = t.resolve(e), r = n.index(); - return Am(n.nodeBefore, n.nodeAfter) && n.parent.canReplace(r, r + 1); + return Mm(n.nodeBefore, n.nodeAfter) && n.parent.canReplace(r, r + 1); } -function iS(t, e) { +function pS(t, e) { e.content.size || t.type.compatibleContent(e.type); let n = t.contentMatchAt(t.childCount), { linebreakReplacement: r } = t.type.schema; for (let i = 0; i < e.childCount; i++) { @@ -3645,21 +3645,21 @@ function iS(t, e) { } return n.validEnd; } -function Am(t, e) { - return !!(t && e && !t.isLeaf && iS(t, e)); +function Mm(t, e) { + return !!(t && e && !t.isLeaf && pS(t, e)); } -function ts(t, e, n = -1) { +function rs(t, e, n = -1) { let r = t.resolve(e); for (let i = r.depth; ; i--) { let o, a, s = r.index(i); - if (i == r.depth ? (o = r.nodeBefore, a = r.nodeAfter) : n > 0 ? (o = r.node(i + 1), s++, a = r.node(i).maybeChild(s)) : (o = r.node(i).maybeChild(s - 1), a = r.node(i + 1)), o && !o.isTextblock && Am(o, a) && r.node(i).canReplace(s, s + 1)) + if (i == r.depth ? (o = r.nodeBefore, a = r.nodeAfter) : n > 0 ? (o = r.node(i + 1), s++, a = r.node(i).maybeChild(s)) : (o = r.node(i).maybeChild(s - 1), a = r.node(i + 1)), o && !o.isTextblock && Mm(o, a) && r.node(i).canReplace(s, s + 1)) return e; if (i == 0) break; e = n < 0 ? r.before(i) : r.after(i); } } -function oS(t, e, n) { +function _S(t, e, n) { let r = null, { linebreakReplacement: i } = t.doc.type.schema, o = t.doc.resolve(e - n), a = o.node().type; if (i && a.inlineContent) { let u = a.whitespace == "pre", d = !!a.contentMatch.matchType(i); @@ -3668,17 +3668,17 @@ function oS(t, e, n) { let s = t.steps.length; if (r === !1) { let u = t.doc.resolve(e + n); - Nm(t, u.node(), u.before(), s); + Dm(t, u.node(), u.before(), s); } - a.inlineContent && Tc(t, e + n - 1, a, o.node().contentMatchAt(o.index()), r == null); + a.inlineContent && vc(t, e + n - 1, a, o.node().contentMatchAt(o.index()), r == null); let l = t.mapping.slice(s), c = l.map(e - n); if (t.step(new Ue(c, l.map(e + n, -1), H.empty, !0)), r === !0) { let u = t.doc.resolve(c); - Om(t, u.node(), u.before(), t.steps.length); + xm(t, u.node(), u.before(), t.steps.length); } return t; } -function aS(t, e, n) { +function mS(t, e, n) { let r = t.resolve(e); if (r.parent.canReplaceWith(r.index(), r.index(), n)) return e; @@ -3700,7 +3700,7 @@ function aS(t, e, n) { } return null; } -function Im(t, e, n) { +function wm(t, e, n) { let r = t.resolve(e); if (!n.content.size) return e; @@ -3721,16 +3721,16 @@ function Im(t, e, n) { } return null; } -function ns(t, e, n = e, r = H.empty) { +function is(t, e, n = e, r = H.empty) { if (e == n && !r.size) return null; let i = t.resolve(e), o = t.resolve(n); - return xm(i, o, r) ? new Ue(e, n, r) : new sS(i, o, r).fit(); + return Lm(i, o, r) ? new Ue(e, n, r) : new fS(i, o, r).fit(); } -function xm(t, e, n) { +function Lm(t, e, n) { return !n.openStart && !n.openEnd && t.start() == e.start() && t.parent.canReplace(t.index(), e.index(), n.content); } -class sS { +class fS { constructor(e, n, r) { this.$from = e, this.$to = n, this.unplaced = r, this.frontier = [], this.placed = w.empty; for (let i = 0; i <= e.depth; i++) { @@ -3776,7 +3776,7 @@ class sS { for (let n = 1; n <= 2; n++) for (let r = n == 1 ? e : this.unplaced.openStart; r >= 0; r--) { let i, o = null; - r ? (o = ks(this.unplaced.content, r - 1).firstChild, i = o.content) : i = this.unplaced.content; + r ? (o = Fs(this.unplaced.content, r - 1).firstChild, i = o.content) : i = this.unplaced.content; let a = i.firstChild; for (let s = this.depth; s >= 0; s--) { let { type: l, match: c } = this.frontier[s], u, d = null; @@ -3790,16 +3790,16 @@ class sS { } } openMore() { - let { content: e, openStart: n, openEnd: r } = this.unplaced, i = ks(e, n); + let { content: e, openStart: n, openEnd: r } = this.unplaced, i = Fs(e, n); return !i.childCount || i.firstChild.isLeaf ? !1 : (this.unplaced = new H(e, n + 1, Math.max(r, i.size + n >= e.size - r ? n + 1 : 0)), !0); } dropNode() { - let { content: e, openStart: n, openEnd: r } = this.unplaced, i = ks(e, n); + let { content: e, openStart: n, openEnd: r } = this.unplaced, i = Fs(e, n); if (i.childCount <= 1 && n > 0) { let o = e.size - n <= n + i.size; - this.unplaced = new H(Ni(e, n - 1, 1), n - 1, o ? n - 1 : r); + this.unplaced = new H(Ai(e, n - 1, 1), n - 1, o ? n - 1 : r); } else - this.unplaced = new H(Ni(e, n, 1), n, r); + this.unplaced = new H(Ai(e, n, 1), n, r); } // Move content from the unplaced slice at `sliceDepth` to the // frontier node at `frontierDepth`. Close that frontier node when @@ -3818,24 +3818,24 @@ class sS { } let _ = s.size + e - (a.content.size - a.openEnd); for (; c < s.childCount; ) { - let f = s.child(c), g = d.matchType(f.type); - if (!g) + let f = s.child(c), h = d.matchType(f.type); + if (!h) break; - c++, (c > 1 || l == 0 || f.content.size) && (d = g, u.push(Dm(f.mark(p.allowedMarks(f.marks)), c == 1 ? l : 0, c == s.childCount ? _ : -1))); + c++, (c > 1 || l == 0 || f.content.size) && (d = h, u.push(km(f.mark(p.allowedMarks(f.marks)), c == 1 ? l : 0, c == s.childCount ? _ : -1))); } let m = c == s.childCount; - m || (_ = -1), this.placed = Ai(this.placed, n, w.from(u)), this.frontier[n].match = d, m && _ < 0 && r && r.type == this.frontier[this.depth].type && this.frontier.length > 1 && this.closeFrontierNode(); - for (let f = 0, g = s; f < _; f++) { - let E = g.lastChild; - this.frontier.push({ type: E.type, match: E.contentMatchAt(E.childCount) }), g = E.content; + m || (_ = -1), this.placed = Ii(this.placed, n, w.from(u)), this.frontier[n].match = d, m && _ < 0 && r && r.type == this.frontier[this.depth].type && this.frontier.length > 1 && this.closeFrontierNode(); + for (let f = 0, h = s; f < _; f++) { + let E = h.lastChild; + this.frontier.push({ type: E.type, match: E.contentMatchAt(E.childCount) }), h = E.content; } - this.unplaced = m ? e == 0 ? H.empty : new H(Ni(a.content, e - 1, 1), e - 1, _ < 0 ? a.openEnd : e - 1) : new H(Ni(a.content, e, c), a.openStart, a.openEnd); + this.unplaced = m ? e == 0 ? H.empty : new H(Ai(a.content, e - 1, 1), e - 1, _ < 0 ? a.openEnd : e - 1) : new H(Ai(a.content, e, c), a.openStart, a.openEnd); } mustMoveInline() { if (!this.$to.parent.isTextblock) return -1; let e = this.frontier[this.depth], n; - if (!e.type.isTextblock || !Ps(this.$to, this.$to.depth, e.type, e.match, !1) || this.$to.depth == this.depth && (n = this.findCloseLevel(this.$to)) && n.depth == this.depth) + if (!e.type.isTextblock || !Bs(this.$to, this.$to.depth, e.type, e.match, !1) || this.$to.depth == this.depth && (n = this.findCloseLevel(this.$to)) && n.depth == this.depth) return -1; let { depth: r } = this.$to, i = this.$to.after(r); for (; r > 1 && i == this.$to.end(--r); ) @@ -3844,10 +3844,10 @@ class sS { } findCloseLevel(e) { e: for (let n = Math.min(this.depth, e.depth); n >= 0; n--) { - let { match: r, type: i } = this.frontier[n], o = n < e.depth && e.end(n + 1) == e.pos + (e.depth - (n + 1)), a = Ps(e, n, i, r, o); + let { match: r, type: i } = this.frontier[n], o = n < e.depth && e.end(n + 1) == e.pos + (e.depth - (n + 1)), a = Bs(e, n, i, r, o); if (a) { for (let s = n - 1; s >= 0; s--) { - let { match: l, type: c } = this.frontier[s], u = Ps(e, s, c, l, !0); + let { match: l, type: c } = this.frontier[s], u = Bs(e, s, c, l, !0); if (!u || u.childCount) continue e; } @@ -3861,7 +3861,7 @@ class sS { return null; for (; this.depth > n.depth; ) this.closeFrontierNode(); - n.fit.childCount && (this.placed = Ai(this.placed, n.depth, n.fit)), e = n.move; + n.fit.childCount && (this.placed = Ii(this.placed, n.depth, n.fit)), e = n.move; for (let r = n.depth + 1; r <= e.depth; r++) { let i = e.node(r), o = i.type.contentMatch.fillBefore(i.content, !0, e.index(r)); this.openFrontierNode(i.type, i.attrs, o); @@ -3870,53 +3870,53 @@ class sS { } openFrontierNode(e, n = null, r) { let i = this.frontier[this.depth]; - i.match = i.match.matchType(e), this.placed = Ai(this.placed, this.depth, w.from(e.create(n, r))), this.frontier.push({ type: e, match: e.contentMatch }); + i.match = i.match.matchType(e), this.placed = Ii(this.placed, this.depth, w.from(e.create(n, r))), this.frontier.push({ type: e, match: e.contentMatch }); } closeFrontierNode() { let n = this.frontier.pop().match.fillBefore(w.empty, !0); - n.childCount && (this.placed = Ai(this.placed, this.frontier.length, n)); + n.childCount && (this.placed = Ii(this.placed, this.frontier.length, n)); } } -function Ni(t, e, n) { - return e == 0 ? t.cutByIndex(n, t.childCount) : t.replaceChild(0, t.firstChild.copy(Ni(t.firstChild.content, e - 1, n))); -} function Ai(t, e, n) { - return e == 0 ? t.append(n) : t.replaceChild(t.childCount - 1, t.lastChild.copy(Ai(t.lastChild.content, e - 1, n))); + return e == 0 ? t.cutByIndex(n, t.childCount) : t.replaceChild(0, t.firstChild.copy(Ai(t.firstChild.content, e - 1, n))); } -function ks(t, e) { +function Ii(t, e, n) { + return e == 0 ? t.append(n) : t.replaceChild(t.childCount - 1, t.lastChild.copy(Ii(t.lastChild.content, e - 1, n))); +} +function Fs(t, e) { for (let n = 0; n < e; n++) t = t.firstChild.content; return t; } -function Dm(t, e, n) { +function km(t, e, n) { if (e <= 0) return t; let r = t.content; - return e > 1 && (r = r.replaceChild(0, Dm(r.firstChild, e - 1, r.childCount == 1 ? n - 1 : 0))), e > 0 && (r = t.type.contentMatch.fillBefore(r).append(r), n <= 0 && (r = r.append(t.type.contentMatch.matchFragment(r).fillBefore(w.empty, !0)))), t.copy(r); + return e > 1 && (r = r.replaceChild(0, km(r.firstChild, e - 1, r.childCount == 1 ? n - 1 : 0))), e > 0 && (r = t.type.contentMatch.fillBefore(r).append(r), n <= 0 && (r = r.append(t.type.contentMatch.matchFragment(r).fillBefore(w.empty, !0)))), t.copy(r); } -function Ps(t, e, n, r, i) { +function Bs(t, e, n, r, i) { let o = t.node(e), a = i ? t.indexAfter(e) : t.index(e); if (a == o.childCount && !n.compatibleContent(o.type)) return null; let s = r.fillBefore(o.content, !0, a); - return s && !lS(n, o.content, a) ? s : null; + return s && !hS(n, o.content, a) ? s : null; } -function lS(t, e, n) { +function hS(t, e, n) { for (let r = n; r < e.childCount; r++) if (!t.allowsMarks(e.child(r).marks)) return !0; return !1; } -function cS(t) { +function gS(t) { return t.spec.defining || t.spec.definingForContent; } -function uS(t, e, n, r) { +function ES(t, e, n, r) { if (!r.size) return t.deleteRange(e, n); let i = t.doc.resolve(e), o = t.doc.resolve(n); - if (xm(i, o, r)) + if (Lm(i, o, r)) return t.step(new Ue(e, n, r)); - let a = wm(i, t.doc.resolve(n)); + let a = Fm(i, t.doc.resolve(n)); a[a.length - 1] == 0 && a.pop(); let s = -(i.depth + 1); a.unshift(s); @@ -3934,7 +3934,7 @@ function uS(t, e, n, r) { p = m.content; } for (let p = u - 1; p >= 0; p--) { - let _ = c[p], m = cS(_.type); + let _ = c[p], m = gS(_.type); if (m && !_.sameMarkup(i.node(Math.abs(s) - 1))) u = p; else if (m || !_.type.isTextblock) @@ -3944,11 +3944,11 @@ function uS(t, e, n, r) { let _ = (p + u + 1) % (r.openStart + 1), m = c[_]; if (m) for (let f = 0; f < a.length; f++) { - let g = a[(f + l) % a.length], E = !0; - g < 0 && (E = !1, g = -g); - let S = i.node(g - 1), b = i.index(g - 1); + let h = a[(f + l) % a.length], E = !0; + h < 0 && (E = !1, h = -h); + let S = i.node(h - 1), b = i.index(h - 1); if (S.canReplaceWith(b, b, m.type, m.marks)) - return t.replace(i.before(g), E ? o.after(g) : n, new H(Mm(r.content, 0, r.openStart, _), _, r.openEnd)); + return t.replace(i.before(h), E ? o.after(h) : n, new H(Pm(r.content, 0, r.openStart, _), _, r.openEnd)); } } let d = t.steps.length; @@ -3957,10 +3957,10 @@ function uS(t, e, n, r) { _ < 0 || (e = i.before(_), n = o.after(_)); } } -function Mm(t, e, n, r, i) { +function Pm(t, e, n, r, i) { if (e < n) { let o = t.firstChild; - t = t.replaceChild(0, o.copy(Mm(o.content, e + 1, n, r, o))); + t = t.replaceChild(0, o.copy(Pm(o.content, e + 1, n, r, o))); } if (e > r) { let o = i.contentMatchAt(0), a = o.fillBefore(t).append(t); @@ -3968,15 +3968,15 @@ function Mm(t, e, n, r, i) { } return t; } -function dS(t, e, n, r) { +function SS(t, e, n, r) { if (!r.isInline && e == n && t.doc.resolve(e).parent.content.size) { - let i = aS(t.doc, e, r.type); + let i = mS(t.doc, e, r.type); i != null && (e = n = i); } t.replaceRange(e, n, new H(w.from(r), 0, 0)); } -function pS(t, e, n) { - let r = t.doc.resolve(e), i = t.doc.resolve(n), o = wm(r, i); +function bS(t, e, n) { + let r = t.doc.resolve(e), i = t.doc.resolve(n), o = Fm(r, i); for (let a = 0; a < o.length; a++) { let s = o[a], l = a == o.length - 1; if (l && s == 0 || r.node(s).type.contentMatch.validEnd) @@ -3989,7 +3989,7 @@ function pS(t, e, n) { return t.delete(r.before(a), n); t.delete(e, n); } -function wm(t, e) { +function Fm(t, e) { let n = [], r = Math.min(t.depth, e.depth); for (let i = r; i >= 0; i--) { let o = t.start(i); @@ -4037,7 +4037,7 @@ class Zr extends ot { } } ot.jsonID("attr", Zr); -class Yi extends ot { +class zi extends ot { /** Construct an attribute step. */ @@ -4056,7 +4056,7 @@ class Yi extends ot { return Ct.empty; } invert(e) { - return new Yi(this.attr, e.attrs[this.attr]); + return new zi(this.attr, e.attrs[this.attr]); } map(e) { return this; @@ -4067,10 +4067,10 @@ class Yi extends ot { static fromJSON(e, n) { if (typeof n.attr != "string") throw new RangeError("Invalid input for DocAttrStep.fromJSON"); - return new Yi(n.attr, n.value); + return new zi(n.attr, n.value); } } -ot.jsonID("docAttr", Yi); +ot.jsonID("docAttr", zi); let ei = class extends Error { }; ei = function t(e) { @@ -4080,7 +4080,7 @@ ei = function t(e) { ei.prototype = Object.create(Error.prototype); ei.prototype.constructor = ei; ei.prototype.name = "TransformError"; -class yc { +class Oc { /** Create a transform that starts with the given document. */ @@ -4129,7 +4129,7 @@ class yc { given `slice`. */ replace(e, n = e, r = H.empty) { - let i = ns(this.doc, e, n, r); + let i = is(this.doc, e, n, r); return i && this.step(i), this; } /** @@ -4171,7 +4171,7 @@ class yc { control over what happens. */ replaceRange(e, n, r) { - return uS(this, e, n, r), this; + return ES(this, e, n, r), this; } /** Replace the given range with a node, but use `from` and `to` as @@ -4183,14 +4183,14 @@ class yc { that parent node. */ replaceRangeWith(e, n, r) { - return dS(this, e, n, r), this; + return SS(this, e, n, r), this; } /** Delete the given range, expanding it to cover fully covered parent nodes until a valid replace is found. */ deleteRange(e, n) { - return pS(this, e, n), this; + return bS(this, e, n), this; } /** Split the content in the given range off from its parent, if there @@ -4200,14 +4200,14 @@ class yc { sure the lift is valid. */ lift(e, n) { - return ZE(this, e, n), this; + return iS(this, e, n), this; } /** Join the blocks around the given position. If depth is 2, their last and first siblings are also joined, and so on. */ join(e, n = 1) { - return oS(this, e, n), this; + return _S(this, e, n), this; } /** Wrap the given [range](https://prosemirror.net/docs/ref/#model.NodeRange) in the given set of wrappers. @@ -4215,21 +4215,21 @@ class yc { probably be computed with [`findWrapping`](https://prosemirror.net/docs/ref/#transform.findWrapping). */ wrap(e, n) { - return JE(this, e, n), this; + return sS(this, e, n), this; } /** Set the type of all textblocks (partly) between `from` and `to` to the given node type with the given attributes. */ setBlockType(e, n = e, r, i = null) { - return eS(this, e, n, r, i), this; + return lS(this, e, n, r, i), this; } /** Change the type, attributes, and/or marks of the node at `pos`. When `type` isn't given, the existing node type is preserved, */ setNodeMarkup(e, n, r = null, i) { - return nS(this, e, n, r, i), this; + return uS(this, e, n, r, i), this; } /** Set a single attribute on a given node to a new value. @@ -4243,7 +4243,7 @@ class yc { Set a single attribute on the document to a new value. */ setDocAttribute(e, n) { - return this.step(new Yi(e, n)), this; + return this.step(new zi(e, n)), this; } /** Add a mark to the node at position `pos`. @@ -4273,13 +4273,13 @@ class yc { use after the split. */ split(e, n = 1, r) { - return rS(this, e, n, r), this; + return dS(this, e, n, r), this; } /** Add the given mark to the inline content between `from` and `to`. */ addMark(e, n, r) { - return WE(this, e, n, r), this; + return tS(this, e, n, r), this; } /** Remove marks from inline nodes between `from` and `to`. When @@ -4288,7 +4288,7 @@ class yc { remove all marks of any type. */ removeMark(e, n, r) { - return KE(this, e, n, r), this; + return nS(this, e, n, r), this; } /** Removes all marks and nodes from the content of the node at @@ -4297,10 +4297,10 @@ class yc { third argument. */ clearIncompatible(e, n, r) { - return Tc(this, e, n, r), this; + return vc(this, e, n, r), this; } } -const Fs = /* @__PURE__ */ Object.create(null); +const Us = /* @__PURE__ */ Object.create(null); class te { /** Initialize a selection with the head and anchor and ranges. If no @@ -4308,7 +4308,7 @@ class te { `$head`. */ constructor(e, n, r) { - this.$anchor = e, this.$head = n, this.ranges = r || [new Lm(e.min(n), e.max(n))]; + this.$anchor = e, this.$head = n, this.ranges = r || [new Bm(e.min(n), e.max(n))]; } /** The selection's anchor, as an unresolved position. @@ -4373,7 +4373,7 @@ class te { let o = e.steps.length, a = this.ranges; for (let s = 0; s < a.length; s++) { let { $from: l, $to: c } = a[s], u = e.mapping.slice(o); - e.replaceRange(u.map(l.pos), u.map(c.pos), s ? H.empty : n), s == 0 && od(e, o, (r ? r.isInline : i && i.isTextblock) ? -1 : 1); + e.replaceRange(u.map(l.pos), u.map(c.pos), s ? H.empty : n), s == 0 && ld(e, o, (r ? r.isInline : i && i.isTextblock) ? -1 : 1); } } /** @@ -4384,7 +4384,7 @@ class te { let r = e.steps.length, i = this.ranges; for (let o = 0; o < i.length; o++) { let { $from: a, $to: s } = i[o], l = e.mapping.slice(r), c = l.map(a.pos), u = l.map(s.pos); - o ? e.deleteRange(c, u) : (e.replaceRangeWith(c, u, n), od(e, r, n.isInline ? -1 : 1)); + o ? e.deleteRange(c, u) : (e.replaceRangeWith(c, u, n), ld(e, r, n.isInline ? -1 : 1)); } } /** @@ -4436,7 +4436,7 @@ class te { static fromJSON(e, n) { if (!n || !n.type) throw new RangeError("Invalid input for Selection.fromJSON"); - let r = Fs[n.type]; + let r = Us[n.type]; if (!r) throw new RangeError(`No selection type ${n.type} defined`); return r.fromJSON(e, n); @@ -4448,9 +4448,9 @@ class te { clash with classes from other modules. */ static jsonID(e, n) { - if (e in Fs) + if (e in Us) throw new RangeError("Duplicate use of selection JSON ID " + e); - return Fs[e] = n, n.prototype.jsonID = e, n; + return Us[e] = n, n.prototype.jsonID = e, n; } /** Get a [bookmark](https://prosemirror.net/docs/ref/#state.SelectionBookmark) for this selection, @@ -4466,7 +4466,7 @@ class te { } } te.prototype.visible = !0; -class Lm { +class Bm { /** Create a range. */ @@ -4474,16 +4474,16 @@ class Lm { this.$from = e, this.$to = n; } } -let rd = !1; -function id(t) { - !rd && !t.parent.inlineContent && (rd = !0, console.warn("TextSelection endpoint not pointing into a node with inline content (" + t.parent.type.name + ")")); +let ad = !1; +function sd(t) { + !ad && !t.parent.inlineContent && (ad = !0, console.warn("TextSelection endpoint not pointing into a node with inline content (" + t.parent.type.name + ")")); } class Z extends te { /** Construct a text selection between the given points. */ constructor(e, n = e) { - id(e), id(n), super(e, n); + sd(e), sd(n), super(e, n); } /** Returns a resolved position if this is a cursor selection (an @@ -4509,7 +4509,7 @@ class Z extends te { return e instanceof Z && e.anchor == this.anchor && e.head == this.head; } getBookmark() { - return new rs(this.anchor, this.head); + return new as(this.anchor, this.head); } toJSON() { return { type: "text", anchor: this.anchor, head: this.head }; @@ -4550,12 +4550,12 @@ class Z extends te { } } te.jsonID("text", Z); -class rs { +class as { constructor(e, n) { this.anchor = e, this.head = n; } map(e) { - return new rs(e.map(this.anchor), e.map(this.head)); + return new as(e.map(this.anchor), e.map(this.head)); } resolve(e) { return Z.between(e.resolve(this.anchor), e.resolve(this.head)); @@ -4584,7 +4584,7 @@ class ee extends te { return { type: "node", anchor: this.anchor }; } getBookmark() { - return new vc(this.anchor); + return new Nc(this.anchor); } /** @internal @@ -4610,13 +4610,13 @@ class ee extends te { } ee.prototype.visible = !1; te.jsonID("node", ee); -class vc { +class Nc { constructor(e) { this.anchor = e; } map(e) { let { deleted: n, pos: r } = e.mapResult(this.anchor); - return n ? new rs(r, r) : new vc(r); + return n ? new as(r, r) : new Nc(r); } resolve(e) { let n = e.resolve(this.anchor), r = n.nodeAfter; @@ -4654,11 +4654,11 @@ class Dt extends te { return e instanceof Dt; } getBookmark() { - return _S; + return TS; } } te.jsonID("all", Dt); -const _S = { +const TS = { map() { return this; }, @@ -4683,7 +4683,7 @@ function Pr(t, e, n, r, i, o = !1) { } return null; } -function od(t, e, n) { +function ld(t, e, n) { let r = t.steps.length - 1; if (r < e) return; @@ -4695,8 +4695,8 @@ function od(t, e, n) { a == null && (a = u); }), t.setSelection(te.near(t.doc.resolve(a), n)); } -const ad = 1, No = 2, sd = 4; -class mS extends yc { +const cd = 1, Io = 2, ud = 4; +class CS extends Oc { /** @internal */ @@ -4719,19 +4719,19 @@ class mS extends yc { setSelection(e) { if (e.$from.doc != this.doc) throw new RangeError("Selection passed to setSelection must point at the current document"); - return this.curSelection = e, this.curSelectionFor = this.steps.length, this.updated = (this.updated | ad) & ~No, this.storedMarks = null, this; + return this.curSelection = e, this.curSelectionFor = this.steps.length, this.updated = (this.updated | cd) & ~Io, this.storedMarks = null, this; } /** Whether the selection was explicitly updated by this transaction. */ get selectionSet() { - return (this.updated & ad) > 0; + return (this.updated & cd) > 0; } /** Set the current stored marks. */ setStoredMarks(e) { - return this.storedMarks = e, this.updated |= No, this; + return this.storedMarks = e, this.updated |= Io, this; } /** Make sure the current stored marks or, if that is null, the marks @@ -4757,13 +4757,13 @@ class mS extends yc { Whether the stored marks were explicitly set for this transaction. */ get storedMarksSet() { - return (this.updated & No) > 0; + return (this.updated & Io) > 0; } /** @internal */ addStep(e, n) { - super.addStep(e, n), this.updated = this.updated & ~No, this.storedMarks = null; + super.addStep(e, n), this.updated = this.updated & ~Io, this.storedMarks = null; } /** Update the timestamp for the transaction. @@ -4838,25 +4838,25 @@ class mS extends yc { when updated to the state produced by this transaction. */ scrollIntoView() { - return this.updated |= sd, this; + return this.updated |= ud, this; } /** True when this transaction has had `scrollIntoView` called on it. */ get scrolledIntoView() { - return (this.updated & sd) > 0; + return (this.updated & ud) > 0; } } -function ld(t, e) { +function dd(t, e) { return !e || !t ? t : t.bind(e); } -class Ii { +class xi { constructor(e, n, r) { - this.name = e, this.init = ld(n.init, r), this.apply = ld(n.apply, r); + this.name = e, this.init = dd(n.init, r), this.apply = dd(n.apply, r); } } -const fS = [ - new Ii("doc", { +const yS = [ + new xi("doc", { init(t) { return t.doc || t.schema.topNodeType.createAndFill(); }, @@ -4864,7 +4864,7 @@ const fS = [ return t.doc; } }), - new Ii("selection", { + new xi("selection", { init(t, e) { return t.selection || te.atStart(e.doc); }, @@ -4872,7 +4872,7 @@ const fS = [ return t.selection; } }), - new Ii("storedMarks", { + new xi("storedMarks", { init(t) { return t.storedMarks || null; }, @@ -4880,7 +4880,7 @@ const fS = [ return r.selection.$cursor ? t.storedMarks : null; } }), - new Ii("scrollToSelection", { + new xi("scrollToSelection", { init() { return 0; }, @@ -4889,12 +4889,12 @@ const fS = [ } }) ]; -class Bs { +class Hs { constructor(e, n) { - this.schema = e, this.plugins = [], this.pluginsByKey = /* @__PURE__ */ Object.create(null), this.fields = fS.slice(), n && n.forEach((r) => { + this.schema = e, this.plugins = [], this.pluginsByKey = /* @__PURE__ */ Object.create(null), this.fields = yS.slice(), n && n.forEach((r) => { if (this.pluginsByKey[r.key]) throw new RangeError("Adding different instances of a keyed plugin (" + r.key + ")"); - this.plugins.push(r), this.pluginsByKey[r.key] = r, r.spec.state && this.fields.push(new Ii(r.key, r.spec.state, r)); + this.plugins.push(r), this.pluginsByKey[r.key] = r, r.spec.state && this.fields.push(new xi(r.key, r.spec.state, r)); }); } } @@ -4984,13 +4984,13 @@ class Vr { Start a [transaction](https://prosemirror.net/docs/ref/#state.Transaction) from this state. */ get tr() { - return new mS(this); + return new CS(this); } /** Create a new state. */ static create(e) { - let n = new Bs(e.doc ? e.doc.type.schema : e.schema, e.plugins), r = new Vr(n); + let n = new Hs(e.doc ? e.doc.type.schema : e.schema, e.plugins), r = new Vr(n); for (let i = 0; i < n.fields.length; i++) r[n.fields[i].name] = n.fields[i].init(e, r); return r; @@ -5004,7 +5004,7 @@ class Vr { configuration object.. */ reconfigure(e) { - let n = new Bs(this.schema, e.plugins), r = n.fields, i = new Vr(n); + let n = new Hs(this.schema, e.plugins), r = n.fields, i = new Vr(n); for (let o = 0; o < r.length; o++) { let a = r[o].name; i[a] = this.hasOwnProperty(a) ? this[a] : r[o].init(e, i); @@ -5041,7 +5041,7 @@ class Vr { throw new RangeError("Invalid input for EditorState.fromJSON"); if (!e.schema) throw new RangeError("Required config field 'schema' missing"); - let i = new Bs(e.schema, e.plugins), o = new Vr(i); + let i = new Hs(e.schema, e.plugins), o = new Vr(i); return i.fields.forEach((a) => { if (a.name == "doc") o.doc = Fn.fromJSON(e.schema, n.doc); @@ -5063,10 +5063,10 @@ class Vr { }), o; } } -function km(t, e, n) { +function Um(t, e, n) { for (let r in t) { let i = t[r]; - i instanceof Function ? i = i.bind(e) : r == "handleDOMEvents" && (i = km(i, e, {})), n[r] = i; + i instanceof Function ? i = i.bind(e) : r == "handleDOMEvents" && (i = Um(i, e, {})), n[r] = i; } return n; } @@ -5075,7 +5075,7 @@ class Se { Create a plugin. */ constructor(e) { - this.spec = e, this.props = {}, e.props && km(e.props, this, this.props), this.key = e.key ? e.key.key : Pm("plugin"); + this.spec = e, this.props = {}, e.props && Um(e.props, this, this.props), this.key = e.key ? e.key.key : Hm("plugin"); } /** Extract the plugin's state field from an editor state. @@ -5084,16 +5084,16 @@ class Se { return e[this.key]; } } -const Us = /* @__PURE__ */ Object.create(null); -function Pm(t) { - return t in Us ? t + "$" + ++Us[t] : (Us[t] = 0, t + "$"); +const Gs = /* @__PURE__ */ Object.create(null); +function Hm(t) { + return t in Gs ? t + "$" + ++Gs[t] : (Gs[t] = 0, t + "$"); } class ve { /** Create a plugin key. */ constructor(e = "key") { - this.key = Pm(e); + this.key = Hm(e); } /** Get the active plugin with this key, if any, from an editor @@ -5113,26 +5113,26 @@ const Xe = function(t) { for (var e = 0; ; e++) if (t = t.previousSibling, !t) return e; -}, zi = function(t) { +}, $i = function(t) { let e = t.assignedSlot || t.parentNode; return e && e.nodeType == 11 ? e.host : e; }; -let kl = null; +let Fl = null; const pn = function(t, e, n) { - let r = kl || (kl = document.createRange()); + let r = Fl || (Fl = document.createRange()); return r.setEnd(t, n ?? t.nodeValue.length), r.setStart(t, e || 0), r; -}, gS = function() { - kl = null; +}, vS = function() { + Fl = null; }, fr = function(t, e, n, r) { - return n && (cd(t, e, n, r, -1) || cd(t, e, n, r, 1)); -}, hS = /^(img|br|input|textarea|hr)$/i; -function cd(t, e, n, r, i) { + return n && (pd(t, e, n, r, -1) || pd(t, e, n, r, 1)); +}, RS = /^(img|br|input|textarea|hr)$/i; +function pd(t, e, n, r, i) { for (; ; ) { if (t == n && e == r) return !0; if (e == (i < 0 ? 0 : xt(t))) { let o = t.parentNode; - if (!o || o.nodeType != 1 || po(t) || hS.test(t.nodeName) || t.contentEditable == "false") + if (!o || o.nodeType != 1 || _o(t) || RS.test(t.nodeName) || t.contentEditable == "false") return !1; e = Xe(t) + (i < 0 ? 0 : 1), t = o; } else if (t.nodeType == 1) { @@ -5146,7 +5146,7 @@ function cd(t, e, n, r, i) { function xt(t) { return t.nodeType == 3 ? t.nodeValue.length : t.childNodes.length; } -function ES(t, e) { +function OS(t, e) { for (; ; ) { if (t.nodeType == 3 && e) return t; @@ -5154,13 +5154,13 @@ function ES(t, e) { if (t.contentEditable == "false") return null; t = t.childNodes[e - 1], e = xt(t); - } else if (t.parentNode && !po(t)) + } else if (t.parentNode && !_o(t)) e = Xe(t), t = t.parentNode; else return null; } } -function SS(t, e) { +function NS(t, e) { for (; ; ) { if (t.nodeType == 3 && e < t.nodeValue.length) return t; @@ -5168,13 +5168,13 @@ function SS(t, e) { if (t.contentEditable == "false") return null; t = t.childNodes[e], e = 0; - } else if (t.parentNode && !po(t)) + } else if (t.parentNode && !_o(t)) e = Xe(t) + 1, t = t.parentNode; else return null; } } -function bS(t, e, n) { +function AS(t, e, n) { for (let r = e == 0, i = e == xt(t); r || i; ) { if (t == n) return !0; @@ -5184,26 +5184,26 @@ function bS(t, e, n) { r = r && o == 0, i = i && o == xt(t); } } -function po(t) { +function _o(t) { let e; for (let n = t; n && !(e = n.pmViewDesc); n = n.parentNode) ; return e && e.node && e.node.isBlock && (e.dom == t || e.contentDOM == t); } -const is = function(t) { +const ss = function(t) { return t.focusNode && fr(t.focusNode, t.focusOffset, t.anchorNode, t.anchorOffset); }; function Jn(t, e) { let n = document.createEvent("Event"); return n.initEvent("keydown", !0, !0), n.keyCode = t, n.key = n.code = e, n; } -function TS(t) { +function IS(t) { let e = t.activeElement; for (; e && e.shadowRoot; ) e = e.shadowRoot.activeElement; return e; } -function CS(t, e, n) { +function xS(t, e, n) { if (t.caretPositionFromPoint) try { let r = t.caretPositionFromPoint(e, n); @@ -5217,10 +5217,10 @@ function CS(t, e, n) { return { node: r.startContainer, offset: Math.min(xt(r.startContainer), r.startOffset) }; } } -const tn = typeof navigator < "u" ? navigator : null, ud = typeof document < "u" ? document : null, qn = tn && tn.userAgent || "", Pl = /Edge\/(\d+)/.exec(qn), Fm = /MSIE \d/.exec(qn), Fl = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(qn), pt = !!(Fm || Fl || Pl), Bn = Fm ? document.documentMode : Fl ? +Fl[1] : Pl ? +Pl[1] : 0, Gt = !pt && /gecko\/(\d+)/i.test(qn); +const tn = typeof navigator < "u" ? navigator : null, _d = typeof document < "u" ? document : null, qn = tn && tn.userAgent || "", Bl = /Edge\/(\d+)/.exec(qn), Gm = /MSIE \d/.exec(qn), Ul = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(qn), pt = !!(Gm || Ul || Bl), Bn = Gm ? document.documentMode : Ul ? +Ul[1] : Bl ? +Bl[1] : 0, Gt = !pt && /gecko\/(\d+)/i.test(qn); Gt && +(/Firefox\/(\d+)/.exec(qn) || [0, 0])[1]; -const Bl = !pt && /Chrome\/(\d+)/.exec(qn), rt = !!Bl, Bm = Bl ? +Bl[1] : 0, st = !pt && !!tn && /Apple Computer/.test(tn.vendor), ti = st && (/Mobile\/\w+/.test(qn) || !!tn && tn.maxTouchPoints > 2), It = ti || (tn ? /Mac/.test(tn.platform) : !1), yS = tn ? /Win/.test(tn.platform) : !1, Ut = /Android \d/.test(qn), _o = !!ud && "webkitFontSmoothing" in ud.documentElement.style, vS = _o ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0; -function RS(t) { +const Hl = !pt && /Chrome\/(\d+)/.exec(qn), rt = !!Hl, Vm = Hl ? +Hl[1] : 0, st = !pt && !!tn && /Apple Computer/.test(tn.vendor), ti = st && (/Mobile\/\w+/.test(qn) || !!tn && tn.maxTouchPoints > 2), It = ti || (tn ? /Mac/.test(tn.platform) : !1), DS = tn ? /Win/.test(tn.platform) : !1, Ut = /Android \d/.test(qn), mo = !!_d && "webkitFontSmoothing" in _d.documentElement.style, MS = mo ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0; +function wS(t) { let e = t.defaultView && t.defaultView.visualViewport; return e ? { left: 0, @@ -5237,7 +5237,7 @@ function RS(t) { function ln(t, e) { return typeof t == "number" ? t : t[e]; } -function OS(t) { +function LS(t) { let e = t.getBoundingClientRect(), n = e.width / t.offsetWidth || 1, r = e.height / t.offsetHeight || 1; return { left: e.left, @@ -5246,12 +5246,12 @@ function OS(t) { bottom: e.top + t.clientHeight * r }; } -function dd(t, e, n) { +function md(t, e, n) { let r = t.someProp("scrollThreshold") || 0, i = t.someProp("scrollMargin") || 5, o = t.dom.ownerDocument; - for (let a = n || t.dom; a; a = zi(a)) { + for (let a = n || t.dom; a; a = $i(a)) { if (a.nodeType != 1) continue; - let s = a, l = s == o.body, c = l ? RS(o) : OS(s), u = 0, d = 0; + let s = a, l = s == o.body, c = l ? wS(o) : LS(s), u = 0, d = 0; if (e.top < c.top + ln(r, "top") ? d = -(c.top - e.top + ln(i, "top")) : e.bottom > c.bottom - ln(r, "bottom") && (d = e.bottom - e.top > c.bottom - c.top ? e.top + ln(i, "top") - c.top : e.bottom - c.bottom + ln(i, "bottom")), e.left < c.left + ln(r, "left") ? u = -(c.left - e.left + ln(i, "left")) : e.right > c.right - ln(r, "right") && (u = e.right - c.right + ln(i, "right")), u || d) if (l) o.defaultView.scrollBy(u, d); @@ -5265,7 +5265,7 @@ function dd(t, e, n) { break; } } -function NS(t) { +function kS(t) { let e = t.dom.getBoundingClientRect(), n = Math.max(0, e.top), r, i; for (let o = (e.left + e.right) / 2, a = n + 1; a < Math.min(innerHeight, e.bottom); a += 5) { let s = t.root.elementFromPoint(o, a); @@ -5277,38 +5277,38 @@ function NS(t) { break; } } - return { refDOM: r, refTop: i, stack: Um(t.dom) }; + return { refDOM: r, refTop: i, stack: Ym(t.dom) }; } -function Um(t) { +function Ym(t) { let e = [], n = t.ownerDocument; - for (let r = t; r && (e.push({ dom: r, top: r.scrollTop, left: r.scrollLeft }), t != n); r = zi(r)) + for (let r = t; r && (e.push({ dom: r, top: r.scrollTop, left: r.scrollLeft }), t != n); r = $i(r)) ; return e; } -function AS({ refDOM: t, refTop: e, stack: n }) { +function PS({ refDOM: t, refTop: e, stack: n }) { let r = t ? t.getBoundingClientRect().top : 0; - Hm(n, r == 0 ? 0 : r - e); + zm(n, r == 0 ? 0 : r - e); } -function Hm(t, e) { +function zm(t, e) { for (let n = 0; n < t.length; n++) { let { dom: r, top: i, left: o } = t[n]; r.scrollTop != i + e && (r.scrollTop = i + e), r.scrollLeft != o && (r.scrollLeft = o); } } let Nr = null; -function IS(t) { +function FS(t) { if (t.setActive) return t.setActive(); if (Nr) return t.focus(Nr); - let e = Um(t); + let e = Ym(t); t.focus(Nr == null ? { get preventScroll() { return Nr = { preventScroll: !0 }, !0; } - } : void 0), Nr || (Nr = !1, Hm(e, 0)); + } : void 0), Nr || (Nr = !1, zm(e, 0)); } -function Gm(t, e) { +function $m(t, e) { let n, r = 2e8, i, o = 0, a = e.top, s = e.top, l, c; for (let u = t.firstChild, d = 0; u; u = u.nextSibling, d++) { let p; @@ -5334,34 +5334,34 @@ function Gm(t, e) { !n && (e.left >= m.right && e.top >= m.top || e.left >= m.left && e.top >= m.bottom) && (o = d + 1); } } - return !n && l && (n = l, i = c, r = 0), n && n.nodeType == 3 ? xS(n, i) : !n || r && n.nodeType == 1 ? { node: t, offset: o } : Gm(n, i); + return !n && l && (n = l, i = c, r = 0), n && n.nodeType == 3 ? BS(n, i) : !n || r && n.nodeType == 1 ? { node: t, offset: o } : $m(n, i); } -function xS(t, e) { +function BS(t, e) { let n = t.nodeValue.length, r = document.createRange(); for (let i = 0; i < n; i++) { r.setEnd(t, i + 1), r.setStart(t, i); let o = Tn(r, 1); - if (o.top != o.bottom && Rc(e, o)) + if (o.top != o.bottom && Ac(e, o)) return { node: t, offset: i + (e.left >= (o.left + o.right) / 2 ? 1 : 0) }; } return { node: t, offset: 0 }; } -function Rc(t, e) { +function Ac(t, e) { return t.left >= e.left - 1 && t.left <= e.right + 1 && t.top >= e.top - 1 && t.top <= e.bottom + 1; } -function DS(t, e) { +function US(t, e) { let n = t.parentNode; return n && /^li$/i.test(n.nodeName) && e.left < t.getBoundingClientRect().left ? n : t; } -function MS(t, e, n) { - let { node: r, offset: i } = Gm(e, n), o = -1; +function HS(t, e, n) { + let { node: r, offset: i } = $m(e, n), o = -1; if (r.nodeType == 1 && !r.firstChild) { let a = r.getBoundingClientRect(); o = a.left != a.right && n.left > (a.left + a.right) / 2 ? 1 : -1; } return t.docView.posFromDOM(r, i, o); } -function wS(t, e, n, r) { +function GS(t, e, n, r) { let i = -1; for (let o = e, a = !1; o != t.dom; ) { let s = t.docView.nearestDesc(o, !0); @@ -5376,7 +5376,7 @@ function wS(t, e, n, r) { } return i > -1 ? i : t.docView.posFromDOM(e, n, -1); } -function Vm(t, e, n) { +function qm(t, e, n) { let r = t.childNodes.length; if (r && n.top < n.bottom) for (let i = Math.max(0, Math.min(r - 1, Math.floor(r * (e.top - n.top) / (n.bottom - n.top)) - 2)), o = i; ; ) { @@ -5385,8 +5385,8 @@ function Vm(t, e, n) { let s = a.getClientRects(); for (let l = 0; l < s.length; l++) { let c = s[l]; - if (Rc(e, c)) - return Vm(a, e, c); + if (Ac(e, c)) + return qm(a, e, c); } } if ((o = (o + 1) % r) == i) @@ -5394,78 +5394,78 @@ function Vm(t, e, n) { } return t; } -function LS(t, e) { - let n = t.dom.ownerDocument, r, i = 0, o = CS(n, e.left, e.top); +function VS(t, e) { + let n = t.dom.ownerDocument, r, i = 0, o = xS(n, e.left, e.top); o && ({ node: r, offset: i } = o); let a = (t.root.elementFromPoint ? t.root : n).elementFromPoint(e.left, e.top), s; if (!a || !t.dom.contains(a.nodeType != 1 ? a.parentNode : a)) { let c = t.dom.getBoundingClientRect(); - if (!Rc(e, c) || (a = Vm(t.dom, e, c), !a)) + if (!Ac(e, c) || (a = qm(t.dom, e, c), !a)) return null; } if (st) - for (let c = a; r && c; c = zi(c)) + for (let c = a; r && c; c = $i(c)) c.draggable && (r = void 0); - if (a = DS(a, e), r) { + if (a = US(a, e), r) { if (Gt && r.nodeType == 1 && (i = Math.min(i, r.childNodes.length), i < r.childNodes.length)) { let u = r.childNodes[i], d; u.nodeName == "IMG" && (d = u.getBoundingClientRect()).right <= e.left && d.bottom > e.top && i++; } let c; - _o && i && r.nodeType == 1 && (c = r.childNodes[i - 1]).nodeType == 1 && c.contentEditable == "false" && c.getBoundingClientRect().top >= e.top && i--, r == t.dom && i == r.childNodes.length - 1 && r.lastChild.nodeType == 1 && e.top > r.lastChild.getBoundingClientRect().bottom ? s = t.state.doc.content.size : (i == 0 || r.nodeType != 1 || r.childNodes[i - 1].nodeName != "BR") && (s = wS(t, r, i, e)); + mo && i && r.nodeType == 1 && (c = r.childNodes[i - 1]).nodeType == 1 && c.contentEditable == "false" && c.getBoundingClientRect().top >= e.top && i--, r == t.dom && i == r.childNodes.length - 1 && r.lastChild.nodeType == 1 && e.top > r.lastChild.getBoundingClientRect().bottom ? s = t.state.doc.content.size : (i == 0 || r.nodeType != 1 || r.childNodes[i - 1].nodeName != "BR") && (s = GS(t, r, i, e)); } - s == null && (s = MS(t, a, e)); + s == null && (s = HS(t, a, e)); let l = t.docView.nearestDesc(a, !0); return { pos: s, inside: l ? l.posAtStart - l.border : -1 }; } -function pd(t) { +function fd(t) { return t.top < t.bottom || t.left < t.right; } function Tn(t, e) { let n = t.getClientRects(); if (n.length) { let r = n[e < 0 ? 0 : n.length - 1]; - if (pd(r)) + if (fd(r)) return r; } - return Array.prototype.find.call(n, pd) || t.getBoundingClientRect(); + return Array.prototype.find.call(n, fd) || t.getBoundingClientRect(); } -const kS = /[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/; -function Ym(t, e, n) { - let { node: r, offset: i, atom: o } = t.docView.domFromPos(e, n < 0 ? -1 : 1), a = _o || Gt; +const YS = /[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/; +function Wm(t, e, n) { + let { node: r, offset: i, atom: o } = t.docView.domFromPos(e, n < 0 ? -1 : 1), a = mo || Gt; if (r.nodeType == 3) - if (a && (kS.test(r.nodeValue) || (n < 0 ? !i : i == r.nodeValue.length))) { + if (a && (YS.test(r.nodeValue) || (n < 0 ? !i : i == r.nodeValue.length))) { let l = Tn(pn(r, i, i), n); if (Gt && i && /\s/.test(r.nodeValue[i - 1]) && i < r.nodeValue.length) { let c = Tn(pn(r, i - 1, i - 1), -1); if (c.top == l.top) { let u = Tn(pn(r, i, i + 1), -1); if (u.top != l.top) - return Si(u, u.left < c.left); + return bi(u, u.left < c.left); } } return l; } else { let l = i, c = i, u = n < 0 ? 1 : -1; - return n < 0 && !i ? (c++, u = -1) : n >= 0 && i == r.nodeValue.length ? (l--, u = 1) : n < 0 ? l-- : c++, Si(Tn(pn(r, l, c), u), u < 0); + return n < 0 && !i ? (c++, u = -1) : n >= 0 && i == r.nodeValue.length ? (l--, u = 1) : n < 0 ? l-- : c++, bi(Tn(pn(r, l, c), u), u < 0); } if (!t.state.doc.resolve(e - (o || 0)).parent.inlineContent) { if (o == null && i && (n < 0 || i == xt(r))) { let l = r.childNodes[i - 1]; if (l.nodeType == 1) - return Hs(l.getBoundingClientRect(), !1); + return Vs(l.getBoundingClientRect(), !1); } if (o == null && i < xt(r)) { let l = r.childNodes[i]; if (l.nodeType == 1) - return Hs(l.getBoundingClientRect(), !0); + return Vs(l.getBoundingClientRect(), !0); } - return Hs(r.getBoundingClientRect(), n >= 0); + return Vs(r.getBoundingClientRect(), n >= 0); } if (o == null && i && (n < 0 || i == xt(r))) { let l = r.childNodes[i - 1], c = l.nodeType == 3 ? pn(l, xt(l) - (a ? 0 : 1)) : l.nodeType == 1 && (l.nodeName != "BR" || !l.nextSibling) ? l : null; if (c) - return Si(Tn(c, 1), !1); + return bi(Tn(c, 1), !1); } if (o == null && i < xt(r)) { let l = r.childNodes[i]; @@ -5473,23 +5473,23 @@ function Ym(t, e, n) { l = l.nextSibling; let c = l ? l.nodeType == 3 ? pn(l, 0, a ? 0 : 1) : l.nodeType == 1 ? l : null : null; if (c) - return Si(Tn(c, -1), !0); + return bi(Tn(c, -1), !0); } - return Si(Tn(r.nodeType == 3 ? pn(r) : r, -n), n >= 0); + return bi(Tn(r.nodeType == 3 ? pn(r) : r, -n), n >= 0); } -function Si(t, e) { +function bi(t, e) { if (t.width == 0) return t; let n = e ? t.left : t.right; return { top: t.top, bottom: t.bottom, left: n, right: n }; } -function Hs(t, e) { +function Vs(t, e) { if (t.height == 0) return t; let n = e ? t.top : t.bottom; return { top: n, bottom: n, left: t.left, right: t.right }; } -function zm(t, e, n) { +function Km(t, e, n) { let r = t.state, i = t.root.activeElement; r != e && t.updateState(e), i != t.dom && t.focus(); try { @@ -5498,9 +5498,9 @@ function zm(t, e, n) { r != e && t.updateState(r), i != t.dom && i && i.focus(); } } -function PS(t, e, n) { +function zS(t, e, n) { let r = e.selection, i = n == "up" ? r.$from : r.$to; - return zm(t, e, () => { + return Km(t, e, () => { let { node: o } = t.docView.domFromPos(i.pos, n == "up" ? -1 : 1); for (; ; ) { let s = t.docView.nearestDesc(o, !0); @@ -5512,7 +5512,7 @@ function PS(t, e, n) { } o = s.dom.parentNode; } - let a = Ym(t, i.pos, 1); + let a = Wm(t, i.pos, 1); for (let s = o.firstChild; s; s = s.nextSibling) { let l; if (s.nodeType == 1) @@ -5530,29 +5530,29 @@ function PS(t, e, n) { return !0; }); } -const FS = /[\u0590-\u08ac]/; -function BS(t, e, n) { +const $S = /[\u0590-\u08ac]/; +function qS(t, e, n) { let { $head: r } = e.selection; if (!r.parent.isTextblock) return !1; let i = r.parentOffset, o = !i, a = i == r.parent.content.size, s = t.domSelection(); - return s ? !FS.test(r.parent.textContent) || !s.modify ? n == "left" || n == "backward" ? o : a : zm(t, e, () => { + return s ? !$S.test(r.parent.textContent) || !s.modify ? n == "left" || n == "backward" ? o : a : Km(t, e, () => { let { focusNode: l, focusOffset: c, anchorNode: u, anchorOffset: d } = t.domSelectionRange(), p = s.caretBidiLevel; s.modify("move", n, "character"); - let _ = r.depth ? t.docView.domAfterPos(r.before()) : t.dom, { focusNode: m, focusOffset: f } = t.domSelectionRange(), g = m && !_.contains(m.nodeType == 1 ? m : m.parentNode) || l == m && c == f; + let _ = r.depth ? t.docView.domAfterPos(r.before()) : t.dom, { focusNode: m, focusOffset: f } = t.domSelectionRange(), h = m && !_.contains(m.nodeType == 1 ? m : m.parentNode) || l == m && c == f; try { s.collapse(u, d), l && (l != u || c != d) && s.extend && s.extend(l, c); } catch { } - return p != null && (s.caretBidiLevel = p), g; + return p != null && (s.caretBidiLevel = p), h; }) : r.pos == r.start() || r.pos == r.end(); } -let _d = null, md = null, fd = !1; -function US(t, e, n) { - return _d == e && md == n ? fd : (_d = e, md = n, fd = n == "up" || n == "down" ? PS(t, e, n) : BS(t, e, n)); +let hd = null, gd = null, Ed = !1; +function WS(t, e, n) { + return hd == e && gd == n ? Ed : (hd = e, gd = n, Ed = n == "up" || n == "down" ? zS(t, e, n) : qS(t, e, n)); } -const Mt = 0, gd = 1, rr = 2, nn = 3; -class mo { +const Mt = 0, Sd = 1, rr = 2, nn = 3; +class fo { constructor(e, n, r, i) { this.parent = e, this.children = n, this.dom = r, this.contentDOM = i, this.dirty = Mt, r.pmViewDesc = this; } @@ -5717,7 +5717,7 @@ class mo { let r = 0, i = 0; for (let o = 0; r < this.children.length; r++) { let a = this.children[r], s = o + a.size; - if (s > e || a instanceof qm) { + if (s > e || a instanceof Zm) { i = e - o; break; } @@ -5725,7 +5725,7 @@ class mo { } if (i) return this.children[r].domFromPos(i - this.children[r].border, n); - for (let o; r && !(o = this.children[r - 1]).size && o instanceof $m && o.side >= 0; r--) + for (let o; r && !(o = this.children[r - 1]).size && o instanceof Qm && o.side >= 0; r--) ; if (n <= 0) { let o, a = !0; @@ -5799,10 +5799,10 @@ class mo { setSelection(e, n, r, i = !1) { let o = Math.min(e, n), a = Math.max(e, n); for (let _ = 0, m = 0; _ < this.children.length; _++) { - let f = this.children[_], g = m + f.size; - if (o > m && a < g) + let f = this.children[_], h = m + f.size; + if (o > m && a < h) return f.setSelection(e - m - f.border, n - m - f.border, r, i); - m = g; + m = h; } let s = this.domFromPos(e, e ? -1 : 1), l = n == e ? s : this.domFromPos(n, n ? -1 : 1), c = r.root.getSelection(), u = r.domSelectionRange(), d = !1; if ((Gt || st) && e == n) { @@ -5810,9 +5810,9 @@ class mo { if (_.nodeType == 3) { if (d = !!(m && _.nodeValue[m - 1] == ` `), d && m == _.nodeValue.length) - for (let f = _, g; f; f = f.parentNode) { - if (g = f.nextSibling) { - g.nodeName == "BR" && (s = l = { node: g.parentNode, offset: Xe(g) + 1 }); + for (let f = _, h; f; f = f.parentNode) { + if (h = f.nextSibling) { + h.nodeName == "BR" && (s = l = { node: h.parentNode, offset: Xe(h) + 1 }); break; } let E = f.pmViewDesc; @@ -5861,7 +5861,7 @@ class mo { if (r == a ? e <= a && n >= r : e < a && n > r) { let s = r + o.border, l = a - o.border; if (e >= s && n <= l) { - this.dirty = e == r || n == a ? rr : gd, e == s && n == l && (o.contentLost || o.dom.parentNode != this.contentDOM) ? o.dirty = nn : o.markDirty(e - s, n - s); + this.dirty = e == r || n == a ? rr : Sd, e == s && n == l && (o.contentLost || o.dom.parentNode != this.contentDOM) ? o.dirty = nn : o.markDirty(e - s, n - s); return; } else o.dirty = o.dom == o.contentDOM && o.dom.parentNode == this.contentDOM && !o.children.length ? rr : nn; @@ -5873,7 +5873,7 @@ class mo { markParentsDirty() { let e = 1; for (let n = this.parent; n; n = n.parent, e++) { - let r = e == 1 ? rr : gd; + let r = e == 1 ? rr : Sd; n.dirty < r && (n.dirty = r); } } @@ -5887,7 +5887,7 @@ class mo { return !1; } } -class $m extends mo { +class Qm extends fo { constructor(e, n, r, i) { let o, a = n.type.toDOM; if (typeof a == "function" && (a = a(r, () => { @@ -5927,7 +5927,7 @@ class $m extends mo { return this.widget.type.side; } } -class HS extends mo { +class KS extends fo { constructor(e, n, r, i) { super(e, [], n, null), this.textDOM = r, this.text = i; } @@ -5944,13 +5944,13 @@ class HS extends mo { return e.type === "characterData" && e.target.nodeValue == e.oldValue; } } -class gr extends mo { +class hr extends fo { constructor(e, n, r, i, o) { super(e, [], r, i), this.mark = n, this.spec = o; } static create(e, n, r, i) { let o = i.nodeViews[n.type.name], a = o && o(n, i, r); - return (!a || !a.dom) && (a = Cr.renderSpec(document, n.type.spec.toDOM(n, r), null, n.attrs)), new gr(e, n, a.dom, a.contentDOM || a.dom, a); + return (!a || !a.dom) && (a = Cr.renderSpec(document, n.type.spec.toDOM(n, r), null, n.attrs)), new hr(e, n, a.dom, a.contentDOM || a.dom, a); } parseRule() { return this.dirty & nn || this.mark.type.spec.reparseInView ? null : { mark: this.mark.type.name, attrs: this.mark.attrs, contentElement: this.contentDOM }; @@ -5967,8 +5967,8 @@ class gr extends mo { } } slice(e, n, r) { - let i = gr.create(this.parent, this.mark, !0, r), o = this.children, a = this.size; - n < a && (o = Hl(o, n, a, r)), e > 0 && (o = Hl(o, 0, e, r)); + let i = hr.create(this.parent, this.mark, !0, r), o = this.children, a = this.size; + n < a && (o = Vl(o, n, a, r)), e > 0 && (o = Vl(o, 0, e, r)); for (let s = 0; s < o.length; s++) o[s].parent = i; return i.children = o, i; @@ -5980,7 +5980,7 @@ class gr extends mo { this.spec.destroy && this.spec.destroy(), super.destroy(); } } -class Un extends mo { +class Un extends fo { constructor(e, n, r, i, o, a, s, l, c) { super(e, [], o, a), this.node = n, this.outerDeco = r, this.innerDeco = i, this.nodeDOM = s; } @@ -6008,7 +6008,7 @@ class Un extends mo { } else u || ({ dom: u, contentDOM: d } = Cr.renderSpec(document, n.type.spec.toDOM(n), null, n.attrs)); !d && !n.isText && u.nodeName != "BR" && (u.hasAttribute("contenteditable") || (u.contentEditable = "false"), n.type.spec.draggable && (u.draggable = !0)); let p = u; - return u = Qm(u, r, n), c ? l = new GS(e, n, r, i, u, d || null, p, c, o, a + 1) : n.isText ? new as(e, n, r, i, u, p, o) : new Un(e, n, r, i, u, d || null, p, o, a + 1); + return u = Jm(u, r, n), c ? l = new QS(e, n, r, i, u, d || null, p, c, o, a + 1) : n.isText ? new ls(e, n, r, i, u, p, o) : new Un(e, n, r, i, u, d || null, p, o, a + 1); } parseRule() { if (this.node.type.spec.reparseInView) @@ -6031,7 +6031,7 @@ class Un extends mo { return e; } matchesNode(e, n, r) { - return this.dirty == Mt && e.eq(this.node) && _a(n, this.outerDeco) && r.eq(this.innerDeco); + return this.dirty == Mt && e.eq(this.node) && fa(n, this.outerDeco) && r.eq(this.innerDeco); } get size() { return this.node.nodeSize; @@ -6044,14 +6044,14 @@ class Un extends mo { // separate step, syncs the DOM inside `this.contentDOM` to // `this.children`. updateChildren(e, n) { - let r = this.node.inlineContent, i = n, o = e.composing ? this.localCompositionInfo(e, n) : null, a = o && o.pos > -1 ? o : null, s = o && o.pos < 0, l = new YS(this, a && a.node, e); - qS(this.node, this.innerDeco, (c, u, d) => { + let r = this.node.inlineContent, i = n, o = e.composing ? this.localCompositionInfo(e, n) : null, a = o && o.pos > -1 ? o : null, s = o && o.pos < 0, l = new XS(this, a && a.node, e); + eb(this.node, this.innerDeco, (c, u, d) => { c.spec.marks ? l.syncToMarks(c.spec.marks, r, e) : c.type.side >= 0 && !d && l.syncToMarks(u == this.node.childCount ? Re.none : this.node.child(u).marks, r, e), l.placeWidget(c, e, i); }, (c, u, d, p) => { l.syncToMarks(c.marks, r, e); let _; l.findNodeMatch(c, u, d, p) || s && e.state.selection.from > i && e.state.selection.to < i + c.nodeSize && (_ = l.findIndexWithChild(o.node)) > -1 && l.updateNodeAt(c, u, d, _, e) || l.updateNextNode(c, u, d, e, p, i) || l.addNode(c, u, d, e, i), i += c.nodeSize; - }), l.syncToMarks([], r, e), this.node.isTextblock && l.addTextblockHacks(), l.destroyRest(), (l.changed || this.dirty == rr) && (a && this.protectLocalComposition(e, a), Wm(this.contentDOM, this.children, e), ti && WS(this.dom)); + }), l.syncToMarks([], r, e), this.node.isTextblock && l.addTextblockHacks(), l.destroyRest(), (l.changed || this.dirty == rr) && (a && this.protectLocalComposition(e, a), Xm(this.contentDOM, this.children, e), ti && tb(this.dom)); } localCompositionInfo(e, n) { let { from: r, to: i } = e.state.selection; @@ -6061,7 +6061,7 @@ class Un extends mo { if (!o || !this.dom.contains(o.parentNode)) return null; if (this.node.inlineContent) { - let a = o.nodeValue, s = KS(this.node.content, a, r - n, i - n); + let a = o.nodeValue, s = nb(this.node.content, a, r - n, i - n); return s < 0 ? null : { node: o, pos: s, text: a }; } else return { node: o, pos: -1, text: "" }; @@ -6077,8 +6077,8 @@ class Un extends mo { o.parentNode.removeChild(o.nextSibling); o.pmViewDesc && (o.pmViewDesc = void 0); } - let a = new HS(this, o, n, i); - e.input.compositionNodes.push(a), this.children = Hl(this.children, r, r + i.length, e, a); + let a = new KS(this, o, n, i); + e.input.compositionNodes.push(a), this.children = Vl(this.children, r, r + i.length, e, a); } // If this desc must be updated to match the given node decoration, // do so and return true. @@ -6089,10 +6089,10 @@ class Un extends mo { this.updateOuterDeco(n), this.node = e, this.innerDeco = r, this.contentDOM && this.updateChildren(i, this.posAtStart), this.dirty = Mt; } updateOuterDeco(e) { - if (_a(e, this.outerDeco)) + if (fa(e, this.outerDeco)) return; let n = this.nodeDOM.nodeType != 1, r = this.dom; - this.dom = Km(this.dom, this.nodeDOM, Ul(this.outerDeco, this.node, n), Ul(e, this.node, n)), this.dom != r && (r.pmViewDesc = void 0, this.dom.pmViewDesc = this), this.outerDeco = e; + this.dom = jm(this.dom, this.nodeDOM, Gl(this.outerDeco, this.node, n), Gl(e, this.node, n)), this.dom != r && (r.pmViewDesc = void 0, this.dom.pmViewDesc = this), this.outerDeco = e; } // Mark this node as being the selected node. selectNode() { @@ -6106,12 +6106,12 @@ class Un extends mo { return this.node.isAtom; } } -function hd(t, e, n, r, i) { - Qm(r, e, t); +function bd(t, e, n, r, i) { + Jm(r, e, t); let o = new Un(void 0, t, e, n, r, r, r, i, 0); return o.contentDOM && o.updateChildren(i, 0), o; } -class as extends Un { +class ls extends Un { constructor(e, n, r, i, o, a, s) { super(e, n, r, i, o, null, a, s, 0); } @@ -6142,7 +6142,7 @@ class as extends Un { } slice(e, n, r) { let i = this.node.cut(e, n), o = document.createTextNode(i.text); - return new as(this.parent, i, this.outerDeco, this.innerDeco, o, o, r); + return new ls(this.parent, i, this.outerDeco, this.innerDeco, o, o, r); } markDirty(e, n) { super.markDirty(e, n), this.dom != this.nodeDOM && (e == 0 || n == this.nodeDOM.nodeValue.length) && (this.dirty = nn); @@ -6154,7 +6154,7 @@ class as extends Un { return this.node.text == e; } } -class qm extends mo { +class Zm extends fo { parseRule() { return { ignore: !0 }; } @@ -6168,7 +6168,7 @@ class qm extends mo { return this.dom.nodeName == "IMG"; } } -class GS extends Un { +class QS extends Un { constructor(e, n, r, i, o, a, s, l, c, u) { super(e, n, r, i, o, a, s, c, u), this.spec = l; } @@ -6202,47 +6202,47 @@ class GS extends Un { return this.spec.ignoreMutation ? this.spec.ignoreMutation(e) : super.ignoreMutation(e); } } -function Wm(t, e, n) { +function Xm(t, e, n) { let r = t.firstChild, i = !1; for (let o = 0; o < e.length; o++) { let a = e[o], s = a.dom; if (s.parentNode == t) { for (; s != r; ) - r = Ed(r), i = !0; + r = Td(r), i = !0; r = r.nextSibling; } else i = !0, t.insertBefore(s, r); - if (a instanceof gr) { + if (a instanceof hr) { let l = r ? r.previousSibling : t.lastChild; - Wm(a.contentDOM, a.children, n), r = l ? l.nextSibling : t.firstChild; + Xm(a.contentDOM, a.children, n), r = l ? l.nextSibling : t.firstChild; } } for (; r; ) - r = Ed(r), i = !0; + r = Td(r), i = !0; i && n.trackWrites == t && (n.trackWrites = null); } -const Mi = function(t) { +const wi = function(t) { t && (this.nodeName = t); }; -Mi.prototype = /* @__PURE__ */ Object.create(null); -const ir = [new Mi()]; -function Ul(t, e, n) { +wi.prototype = /* @__PURE__ */ Object.create(null); +const ir = [new wi()]; +function Gl(t, e, n) { if (t.length == 0) return ir; - let r = n ? ir[0] : new Mi(), i = [r]; + let r = n ? ir[0] : new wi(), i = [r]; for (let o = 0; o < t.length; o++) { let a = t[o].type.attrs; if (a) { - a.nodeName && i.push(r = new Mi(a.nodeName)); + a.nodeName && i.push(r = new wi(a.nodeName)); for (let s in a) { let l = a[s]; - l != null && (n && i.length == 1 && i.push(r = new Mi(e.isInline ? "span" : "div")), s == "class" ? r.class = (r.class ? r.class + " " : "") + l : s == "style" ? r.style = (r.style ? r.style + ";" : "") + l : s != "nodeName" && (r[s] = l)); + l != null && (n && i.length == 1 && i.push(r = new wi(e.isInline ? "span" : "div")), s == "class" ? r.class = (r.class ? r.class + " " : "") + l : s == "style" ? r.style = (r.style ? r.style + ";" : "") + l : s != "nodeName" && (r[s] = l)); } } } return i; } -function Km(t, e, n, r) { +function jm(t, e, n, r) { if (n == ir && r == ir) return e; let i = e; @@ -6252,11 +6252,11 @@ function Km(t, e, n, r) { let l; s && s.nodeName == a.nodeName && i != t && (l = i.parentNode) && l.nodeName.toLowerCase() == a.nodeName || (l = document.createElement(a.nodeName), l.pmIsDeco = !0, l.appendChild(i), s = ir[0]), i = l; } - VS(i, s || ir[0], a); + ZS(i, s || ir[0], a); } return i; } -function VS(t, e, n) { +function ZS(t, e, n) { for (let r in e) r != "class" && r != "style" && r != "nodeName" && !(r in n) && t.removeAttribute(r); for (let r in n) @@ -6278,10 +6278,10 @@ function VS(t, e, n) { n.style && (t.style.cssText += n.style); } } -function Qm(t, e, n) { - return Km(t, t, ir, Ul(e, n, t.nodeType != 1)); +function Jm(t, e, n) { + return jm(t, t, ir, Gl(e, n, t.nodeType != 1)); } -function _a(t, e) { +function fa(t, e) { if (t.length != e.length) return !1; for (let n = 0; n < t.length; n++) @@ -6289,13 +6289,13 @@ function _a(t, e) { return !1; return !0; } -function Ed(t) { +function Td(t) { let e = t.nextSibling; return t.parentNode.removeChild(t), e; } -class YS { +class XS { constructor(e, n, r) { - this.lock = n, this.view = r, this.index = 0, this.stack = [], this.changed = !1, this.top = e, this.preMatch = zS(e.node.content, e); + this.lock = n, this.view = r, this.index = 0, this.stack = [], this.changed = !1, this.top = e, this.preMatch = jS(e.node.content, e); } // Destroy and remove the children between the given indices in // `this.top`. @@ -6331,7 +6331,7 @@ class YS { if (s > -1) s > this.index && (this.changed = !0, this.destroyBetween(this.index, s)), this.top = this.top.children[this.index]; else { - let l = gr.create(this.top, e[o], n, r); + let l = hr.create(this.top, e[o], n, r); this.top.children.splice(this.index, 0, l), this.top = l, this.changed = !0; } this.index = 0, o++; @@ -6383,7 +6383,7 @@ class YS { let c = this.preMatch.matched.get(l); if (c != null && c != o) return !1; - let u = l.dom, d, p = this.isLocked(u) && !(e.isText && l.node && l.node.isText && l.nodeDOM.nodeValue == e.text && l.dirty != nn && _a(n, l.outerDeco)); + let u = l.dom, d, p = this.isLocked(u) && !(e.isText && l.node && l.node.isText && l.nodeDOM.nodeValue == e.text && l.dirty != nn && fa(n, l.outerDeco)); if (!p && l.update(e, n, r, i)) return this.destroyBetween(this.index, s), l.dom != u && (this.changed = !0), this.index++, !0; if (!p && (d = this.recreateWrapper(l, e, n, r, i, a))) @@ -6396,7 +6396,7 @@ class YS { // When a node with content is replaced by a different node with // identical content, move over its children. recreateWrapper(e, n, r, i, o, a) { - if (e.dirty || n.isAtom || !e.children.length || !e.node.content.eq(n.content) || !_a(r, e.outerDeco) || !i.eq(e.innerDeco)) + if (e.dirty || n.isAtom || !e.children.length || !e.node.content.eq(n.content) || !fa(r, e.outerDeco) || !i.eq(e.innerDeco)) return null; let s = Un.create(this.top, n, r, i, o, a); if (s.contentDOM) { @@ -6416,7 +6416,7 @@ class YS { if (i && i.matchesWidget(e) && (e == i.widget || !i.widget.type.toDOM.parentNode)) this.index++; else { - let o = new $m(this.top, e, n, r); + let o = new Qm(this.top, e, n, r); this.top.children.splice(this.index++, 0, o), this.changed = !0; } } @@ -6424,10 +6424,10 @@ class YS { // contentEditable. addTextblockHacks() { let e = this.top.children[this.index - 1], n = this.top; - for (; e instanceof gr; ) + for (; e instanceof hr; ) n = e, e = n.children[n.children.length - 1]; (!e || // Empty textblock - !(e instanceof as) || /\n$/.test(e.node.text) || this.view.requiresGeckoHackNode && /\s$/.test(e.node.text)) && ((st || rt) && e && e.dom.contentEditable == "false" && this.addHackNode("IMG", n), this.addHackNode("BR", this.top)); + !(e instanceof ls) || /\n$/.test(e.node.text) || this.view.requiresGeckoHackNode && /\s$/.test(e.node.text)) && ((st || rt) && e && e.dom.contentEditable == "false" && this.addHackNode("IMG", n), this.addHackNode("BR", this.top)); } addHackNode(e, n) { if (n == this.top && this.index < n.children.length && n.children[this.index].matchesHack(e)) @@ -6435,7 +6435,7 @@ class YS { else { let r = document.createElement(e); e == "IMG" && (r.className = "ProseMirror-separator", r.alt = ""), e == "BR" && (r.className = "ProseMirror-trailingBreak"); - let i = new qm(this.top, [], r, null); + let i = new Zm(this.top, [], r, null); n != this.top ? n.children.push(i) : n.children.splice(this.index++, 0, i), this.changed = !0; } } @@ -6443,14 +6443,14 @@ class YS { return this.lock && (e == this.lock || e.nodeType == 1 && e.contains(this.lock.parentNode)); } } -function zS(t, e) { +function jS(t, e) { let n = e, r = n.children.length, i = t.childCount, o = /* @__PURE__ */ new Map(), a = []; e: for (; i > 0; ) { let s; for (; ; ) if (r) { let c = n.children[r - 1]; - if (c instanceof gr) + if (c instanceof hr) n = c, r = c.children.length; else { s = c, r--; @@ -6470,10 +6470,10 @@ function zS(t, e) { } return { index: i, matched: o, matches: a.reverse() }; } -function $S(t, e) { +function JS(t, e) { return t.type.side - e.type.side; } -function qS(t, e, n, r) { +function eb(t, e, n, r) { let i = e.locals(t), o = 0; if (i.length == 0) { for (let c = 0; c < t.childCount; c++) { @@ -6486,14 +6486,14 @@ function qS(t, e, n, r) { for (let c = 0; ; ) { let u, d; for (; a < i.length && i[a].to == o; ) { - let g = i[a++]; - g.widget && (u ? (d || (d = [u])).push(g) : u = g); + let h = i[a++]; + h.widget && (u ? (d || (d = [u])).push(h) : u = h); } if (u) if (d) { - d.sort($S); - for (let g = 0; g < d.length; g++) - n(d[g], c, !!l); + d.sort(JS); + for (let h = 0; h < d.length; h++) + n(d[h], c, !!l); } else n(u, c, !!l); let p, _; @@ -6503,31 +6503,31 @@ function qS(t, e, n, r) { _ = c, p = t.child(c++); else break; - for (let g = 0; g < s.length; g++) - s[g].to <= o && s.splice(g--, 1); + for (let h = 0; h < s.length; h++) + s[h].to <= o && s.splice(h--, 1); for (; a < i.length && i[a].from <= o && i[a].to > o; ) s.push(i[a++]); let m = o + p.nodeSize; if (p.isText) { - let g = m; - a < i.length && i[a].from < g && (g = i[a].from); + let h = m; + a < i.length && i[a].from < h && (h = i[a].from); for (let E = 0; E < s.length; E++) - s[E].to < g && (g = s[E].to); - g < m && (l = p.cut(g - o), p = p.cut(0, g - o), m = g, _ = -1); + s[E].to < h && (h = s[E].to); + h < m && (l = p.cut(h - o), p = p.cut(0, h - o), m = h, _ = -1); } else for (; a < i.length && i[a].to < m; ) a++; - let f = p.isInline && !p.isLeaf ? s.filter((g) => !g.inline) : s.slice(); + let f = p.isInline && !p.isLeaf ? s.filter((h) => !h.inline) : s.slice(); r(p, f, e.forChild(o, p), _), o = m; } } -function WS(t) { +function tb(t) { if (t.nodeName == "UL" || t.nodeName == "OL") { let e = t.style.cssText; t.style.cssText = e + "; list-style: square !important", window.getComputedStyle(t).listStyle, t.style.cssText = e; } } -function KS(t, e, n, r) { +function nb(t, e, n, r) { for (let i = 0, o = 0; i < t.childCount && o <= r; ) { let a = t.child(i++), s = o; if (o += a.nodeSize, !a.isText) @@ -6551,7 +6551,7 @@ function KS(t, e, n, r) { } return -1; } -function Hl(t, e, n, r, i) { +function Vl(t, e, n, r, i) { let o = []; for (let a = 0, s = 0; a < t.length; a++) { let l = t[a], c = s, u = s += l.size; @@ -6559,7 +6559,7 @@ function Hl(t, e, n, r, i) { } return o; } -function Oc(t, e = null) { +function Ic(t, e = null) { let n = t.domSelectionRange(), r = t.state.doc; if (!n.focusNode) return null; @@ -6567,11 +6567,11 @@ function Oc(t, e = null) { if (a < 0) return null; let s = r.resolve(a), l, c; - if (is(n)) { + if (ss(n)) { for (l = a; i && !i.node; ) i = i.parent; let d = i.node; - if (i && d.isAtom && ee.isSelectable(d) && i.parent && !(d.isInline && bS(n.focusNode, n.focusOffset, i.dom))) { + if (i && d.isAtom && ee.isSelectable(d) && i.parent && !(d.isInline && AS(n.focusNode, n.focusOffset, i.dom))) { let p = i.posBefore; c = new ee(a == p ? s : r.resolve(p)); } @@ -6593,16 +6593,16 @@ function Oc(t, e = null) { let u = r.resolve(l); if (!c) { let d = e == "pointer" || t.state.selection.head < s.pos && !o ? 1 : -1; - c = Nc(t, u, s, d); + c = xc(t, u, s, d); } return c; } -function Zm(t) { - return t.editable ? t.hasFocus() : jm(t) && document.activeElement && document.activeElement.contains(t.dom); +function ef(t) { + return t.editable ? t.hasFocus() : nf(t) && document.activeElement && document.activeElement.contains(t.dom); } -function gn(t, e = !1) { +function hn(t, e = !1) { let n = t.state.selection; - if (Xm(t, n), !!Zm(t)) { + if (tf(t, n), !!ef(t)) { if (!e && t.input.mouseDown && t.input.mouseDown.allowDefault && rt) { let r = t.domSelectionRange(), i = t.domObserver.currentSelection; if (r.anchorNode && i.anchorNode && fr(r.anchorNode, r.anchorOffset, i.anchorNode, i.anchorOffset)) { @@ -6611,66 +6611,66 @@ function gn(t, e = !1) { } } if (t.domObserver.disconnectSelection(), t.cursorWrapper) - ZS(t); + ib(t); else { let { anchor: r, head: i } = n, o, a; - Sd && !(n instanceof Z) && (n.$from.parent.inlineContent || (o = bd(t, n.from)), !n.empty && !n.$from.parent.inlineContent && (a = bd(t, n.to))), t.docView.setSelection(r, i, t, e), Sd && (o && Td(o), a && Td(a)), n.visible ? t.dom.classList.remove("ProseMirror-hideselection") : (t.dom.classList.add("ProseMirror-hideselection"), "onselectionchange" in document && QS(t)); + Cd && !(n instanceof Z) && (n.$from.parent.inlineContent || (o = yd(t, n.from)), !n.empty && !n.$from.parent.inlineContent && (a = yd(t, n.to))), t.docView.setSelection(r, i, t, e), Cd && (o && vd(o), a && vd(a)), n.visible ? t.dom.classList.remove("ProseMirror-hideselection") : (t.dom.classList.add("ProseMirror-hideselection"), "onselectionchange" in document && rb(t)); } t.domObserver.setCurSelection(), t.domObserver.connectSelection(); } } -const Sd = st || rt && Bm < 63; -function bd(t, e) { +const Cd = st || rt && Vm < 63; +function yd(t, e) { let { node: n, offset: r } = t.docView.domFromPos(e, 0), i = r < n.childNodes.length ? n.childNodes[r] : null, o = r ? n.childNodes[r - 1] : null; if (st && i && i.contentEditable == "false") - return Gs(i); + return Ys(i); if ((!i || i.contentEditable == "false") && (!o || o.contentEditable == "false")) { if (i) - return Gs(i); + return Ys(i); if (o) - return Gs(o); + return Ys(o); } } -function Gs(t) { +function Ys(t) { return t.contentEditable = "true", st && t.draggable && (t.draggable = !1, t.wasDraggable = !0), t; } -function Td(t) { +function vd(t) { t.contentEditable = "false", t.wasDraggable && (t.draggable = !0, t.wasDraggable = null); } -function QS(t) { +function rb(t) { let e = t.dom.ownerDocument; e.removeEventListener("selectionchange", t.input.hideSelectionGuard); let n = t.domSelectionRange(), r = n.anchorNode, i = n.anchorOffset; e.addEventListener("selectionchange", t.input.hideSelectionGuard = () => { (n.anchorNode != r || n.anchorOffset != i) && (e.removeEventListener("selectionchange", t.input.hideSelectionGuard), setTimeout(() => { - (!Zm(t) || t.state.selection.visible) && t.dom.classList.remove("ProseMirror-hideselection"); + (!ef(t) || t.state.selection.visible) && t.dom.classList.remove("ProseMirror-hideselection"); }, 20)); }); } -function ZS(t) { +function ib(t) { let e = t.domSelection(), n = document.createRange(); if (!e) return; let r = t.cursorWrapper.dom, i = r.nodeName == "IMG"; i ? n.setStart(r.parentNode, Xe(r) + 1) : n.setStart(r, 0), n.collapse(!0), e.removeAllRanges(), e.addRange(n), !i && !t.state.selection.visible && pt && Bn <= 11 && (r.disabled = !0, r.disabled = !1); } -function Xm(t, e) { +function tf(t, e) { if (e instanceof ee) { let n = t.docView.descAt(e.from); - n != t.lastSelectedViewDesc && (Cd(t), n && n.selectNode(), t.lastSelectedViewDesc = n); + n != t.lastSelectedViewDesc && (Rd(t), n && n.selectNode(), t.lastSelectedViewDesc = n); } else - Cd(t); + Rd(t); } -function Cd(t) { +function Rd(t) { t.lastSelectedViewDesc && (t.lastSelectedViewDesc.parent && t.lastSelectedViewDesc.deselectNode(), t.lastSelectedViewDesc = void 0); } -function Nc(t, e, n, r) { +function xc(t, e, n, r) { return t.someProp("createSelectionBetween", (i) => i(t, e, n)) || Z.between(e, n, r); } -function yd(t) { - return t.editable && !t.hasFocus() ? !1 : jm(t); +function Od(t) { + return t.editable && !t.hasFocus() ? !1 : nf(t); } -function jm(t) { +function nf(t) { let e = t.domSelectionRange(); if (!e.anchorNode) return !1; @@ -6680,18 +6680,18 @@ function jm(t) { return !1; } } -function XS(t) { +function ob(t) { let e = t.docView.domFromPos(t.state.selection.anchor, 0), n = t.domSelectionRange(); return fr(e.node, e.offset, n.anchorNode, n.anchorOffset); } -function Gl(t, e) { +function Yl(t, e) { let { $anchor: n, $head: r } = t.selection, i = e > 0 ? n.max(r) : n.min(r), o = i.parent.inlineContent ? i.depth ? t.doc.resolve(e > 0 ? i.after() : i.before()) : null : i; return o && te.findFrom(o, e); } function Cn(t, e) { return t.dispatch(t.state.tr.setSelection(e).scrollIntoView()), !0; } -function vd(t, e, n) { +function Nd(t, e, n) { let r = t.state.selection; if (r instanceof Z) if (n.indexOf("s") > -1) { @@ -6702,47 +6702,47 @@ function vd(t, e, n) { return Cn(t, new Z(r.$anchor, a)); } else if (r.empty) { if (t.endOfTextblock(e > 0 ? "forward" : "backward")) { - let i = Gl(t.state, e); + let i = Yl(t.state, e); return i && i instanceof ee ? Cn(t, i) : !1; } else if (!(It && n.indexOf("m") > -1)) { let i = r.$head, o = i.textOffset ? null : e < 0 ? i.nodeBefore : i.nodeAfter, a; if (!o || o.isText) return !1; let s = e < 0 ? i.pos - o.nodeSize : i.pos; - return o.isAtom || (a = t.docView.descAt(s)) && !a.contentDOM ? ee.isSelectable(o) ? Cn(t, new ee(e < 0 ? t.state.doc.resolve(i.pos - o.nodeSize) : i)) : _o ? Cn(t, new Z(t.state.doc.resolve(e < 0 ? s : s + o.nodeSize))) : !1 : !1; + return o.isAtom || (a = t.docView.descAt(s)) && !a.contentDOM ? ee.isSelectable(o) ? Cn(t, new ee(e < 0 ? t.state.doc.resolve(i.pos - o.nodeSize) : i)) : mo ? Cn(t, new Z(t.state.doc.resolve(e < 0 ? s : s + o.nodeSize))) : !1 : !1; } } else return !1; else { if (r instanceof ee && r.node.isInline) return Cn(t, new Z(e > 0 ? r.$to : r.$from)); { - let i = Gl(t.state, e); + let i = Yl(t.state, e); return i ? Cn(t, i) : !1; } } } -function ma(t) { +function ha(t) { return t.nodeType == 3 ? t.nodeValue.length : t.childNodes.length; } -function wi(t, e) { +function Li(t, e) { let n = t.pmViewDesc; return n && n.size == 0 && (e < 0 || t.nextSibling || t.nodeName != "BR"); } function Ar(t, e) { - return e < 0 ? jS(t) : JS(t); + return e < 0 ? ab(t) : sb(t); } -function jS(t) { +function ab(t) { let e = t.domSelectionRange(), n = e.focusNode, r = e.focusOffset; if (!n) return; let i, o, a = !1; - for (Gt && n.nodeType == 1 && r < ma(n) && wi(n.childNodes[r], -1) && (a = !0); ; ) + for (Gt && n.nodeType == 1 && r < ha(n) && Li(n.childNodes[r], -1) && (a = !0); ; ) if (r > 0) { if (n.nodeType != 1) break; { let s = n.childNodes[r - 1]; - if (wi(s, -1)) + if (Li(s, -1)) i = n, o = --r; else if (s.nodeType == 3) n = s, r = n.nodeValue.length; @@ -6750,14 +6750,14 @@ function jS(t) { break; } } else { - if (Jm(n)) + if (rf(n)) break; { let s = n.previousSibling; - for (; s && wi(s, -1); ) + for (; s && Li(s, -1); ) i = n.parentNode, o = Xe(s), s = s.previousSibling; if (s) - n = s, r = ma(n); + n = s, r = ha(n); else { if (n = n.parentNode, n == t.dom) break; @@ -6765,31 +6765,31 @@ function jS(t) { } } } - a ? Vl(t, n, r) : i && Vl(t, i, o); + a ? zl(t, n, r) : i && zl(t, i, o); } -function JS(t) { +function sb(t) { let e = t.domSelectionRange(), n = e.focusNode, r = e.focusOffset; if (!n) return; - let i = ma(n), o, a; + let i = ha(n), o, a; for (; ; ) if (r < i) { if (n.nodeType != 1) break; let s = n.childNodes[r]; - if (wi(s, 1)) + if (Li(s, 1)) o = n, a = ++r; else break; } else { - if (Jm(n)) + if (rf(n)) break; { let s = n.nextSibling; - for (; s && wi(s, 1); ) + for (; s && Li(s, 1); ) o = s.parentNode, a = Xe(s) + 1, s = s.nextSibling; if (s) - n = s, r = 0, i = ma(n); + n = s, r = 0, i = ha(n); else { if (n = n.parentNode, n == t.dom) break; @@ -6797,14 +6797,14 @@ function JS(t) { } } } - o && Vl(t, o, a); + o && zl(t, o, a); } -function Jm(t) { +function rf(t) { let e = t.pmViewDesc; return e && e.node && e.node.isBlock; } -function eb(t, e) { - for (; t && e == t.childNodes.length && !po(t); ) +function lb(t, e) { + for (; t && e == t.childNodes.length && !_o(t); ) e = Xe(t) + 1, t = t.parentNode; for (; t && e < t.childNodes.length; ) { let n = t.childNodes[e]; @@ -6815,8 +6815,8 @@ function eb(t, e) { t = n, e = 0; } } -function tb(t, e) { - for (; t && !e && !po(t); ) +function cb(t, e) { + for (; t && !e && !_o(t); ) e = Xe(t), t = t.parentNode; for (; t && e; ) { let n = t.childNodes[e - 1]; @@ -6827,27 +6827,27 @@ function tb(t, e) { t = n, e = t.childNodes.length; } } -function Vl(t, e, n) { +function zl(t, e, n) { if (e.nodeType != 3) { let o, a; - (a = eb(e, n)) ? (e = a, n = 0) : (o = tb(e, n)) && (e = o, n = o.nodeValue.length); + (a = lb(e, n)) ? (e = a, n = 0) : (o = cb(e, n)) && (e = o, n = o.nodeValue.length); } let r = t.domSelection(); if (!r) return; - if (is(r)) { + if (ss(r)) { let o = document.createRange(); o.setEnd(e, n), o.setStart(e, n), r.removeAllRanges(), r.addRange(o); } else r.extend && r.extend(e, n); t.domObserver.setCurSelection(); let { state: i } = t; setTimeout(() => { - t.state == i && gn(t); + t.state == i && hn(t); }, 50); } -function Rd(t, e) { +function Ad(t, e) { let n = t.state.doc.resolve(e); - if (!(rt || yS) && n.parent.inlineContent) { + if (!(rt || DS) && n.parent.inlineContent) { let i = t.coordsAtPos(e); if (e > n.start()) { let o = t.coordsAtPos(e - 1), a = (o.top + o.bottom) / 2; @@ -6862,13 +6862,13 @@ function Rd(t, e) { } return getComputedStyle(t.dom).direction == "rtl" ? "rtl" : "ltr"; } -function Od(t, e, n) { +function Id(t, e, n) { let r = t.state.selection; if (r instanceof Z && !r.empty || n.indexOf("s") > -1 || It && n.indexOf("m") > -1) return !1; let { $from: i, $to: o } = r; if (!i.parent.inlineContent || t.endOfTextblock(e < 0 ? "up" : "down")) { - let a = Gl(t.state, e); + let a = Yl(t.state, e); if (a && a instanceof ee) return Cn(t, a); } @@ -6878,7 +6878,7 @@ function Od(t, e, n) { } return !1; } -function Nd(t, e) { +function xd(t, e) { if (!(t.state.selection instanceof Z)) return !0; let { $head: n, $anchor: r, empty: i } = t.state.selection; @@ -6895,48 +6895,48 @@ function Nd(t, e) { } return !1; } -function Ad(t, e, n) { +function Dd(t, e, n) { t.domObserver.stop(), e.contentEditable = n, t.domObserver.start(); } -function nb(t) { +function ub(t) { if (!st || t.state.selection.$head.parentOffset > 0) return !1; let { focusNode: e, focusOffset: n } = t.domSelectionRange(); if (e && e.nodeType == 1 && n == 0 && e.firstChild && e.firstChild.contentEditable == "false") { let r = e.firstChild; - Ad(t, r, "true"), setTimeout(() => Ad(t, r, "false"), 20); + Dd(t, r, "true"), setTimeout(() => Dd(t, r, "false"), 20); } return !1; } -function rb(t) { +function db(t) { let e = ""; return t.ctrlKey && (e += "c"), t.metaKey && (e += "m"), t.altKey && (e += "a"), t.shiftKey && (e += "s"), e; } -function ib(t, e) { - let n = e.keyCode, r = rb(e); +function pb(t, e) { + let n = e.keyCode, r = db(e); if (n == 8 || It && n == 72 && r == "c") - return Nd(t, -1) || Ar(t, -1); + return xd(t, -1) || Ar(t, -1); if (n == 46 && !e.shiftKey || It && n == 68 && r == "c") - return Nd(t, 1) || Ar(t, 1); + return xd(t, 1) || Ar(t, 1); if (n == 13 || n == 27) return !0; if (n == 37 || It && n == 66 && r == "c") { - let i = n == 37 ? Rd(t, t.state.selection.from) == "ltr" ? -1 : 1 : -1; - return vd(t, i, r) || Ar(t, i); + let i = n == 37 ? Ad(t, t.state.selection.from) == "ltr" ? -1 : 1 : -1; + return Nd(t, i, r) || Ar(t, i); } else if (n == 39 || It && n == 70 && r == "c") { - let i = n == 39 ? Rd(t, t.state.selection.from) == "ltr" ? 1 : -1 : 1; - return vd(t, i, r) || Ar(t, i); + let i = n == 39 ? Ad(t, t.state.selection.from) == "ltr" ? 1 : -1 : 1; + return Nd(t, i, r) || Ar(t, i); } else { if (n == 38 || It && n == 80 && r == "c") - return Od(t, -1, r) || Ar(t, -1); + return Id(t, -1, r) || Ar(t, -1); if (n == 40 || It && n == 78 && r == "c") - return nb(t) || Od(t, 1, r) || Ar(t, 1); + return ub(t) || Id(t, 1, r) || Ar(t, 1); if (r == (It ? "m" : "c") && (n == 66 || n == 73 || n == 89 || n == 90)) return !0; } return !1; } -function ef(t, e) { +function of(t, e) { t.someProp("transformCopied", (_) => { e = _(e, t); }); @@ -6946,10 +6946,10 @@ function ef(t, e) { let _ = r.firstChild; n.push(_.type.name, _.attrs != _.type.defaultAttrs ? _.attrs : null), r = _.content; } - let a = t.someProp("clipboardSerializer") || Cr.fromSchema(t.state.schema), s = sf(), l = s.createElement("div"); + let a = t.someProp("clipboardSerializer") || Cr.fromSchema(t.state.schema), s = df(), l = s.createElement("div"); l.appendChild(a.serializeFragment(r, { document: s })); let c = l.firstChild, u, d = 0; - for (; c && c.nodeType == 1 && (u = af[c.nodeName.toLowerCase()]); ) { + for (; c && c.nodeType == 1 && (u = uf[c.nodeName.toLowerCase()]); ) { for (let _ = u.length - 1; _ >= 0; _--) { let m = s.createElement(u[_]); for (; l.firstChild; ) @@ -6964,7 +6964,7 @@ function ef(t, e) { `); return { dom: l, text: p, slice: e }; } -function tf(t, e, n, r, i) { +function af(t, e, n, r, i) { let o = i.parent.type.spec.code, a, s; if (!n && !e) return null; @@ -6981,14 +6981,14 @@ function tf(t, e, n, r, i) { else { let p = i.marks(), { schema: _ } = t.state, m = Cr.fromSchema(_); a = document.createElement("div"), e.split(/(?:\r\n?|\n)+/).forEach((f) => { - let g = a.appendChild(document.createElement("p")); - f && g.appendChild(m.serializeNode(_.text(f, p))); + let h = a.appendChild(document.createElement("p")); + f && h.appendChild(m.serializeNode(_.text(f, p))); }); } } else t.someProp("transformPastedHTML", (d) => { n = d(n, t); - }), a = lb(n), _o && cb(a); + }), a = hb(n), mo && gb(a); let c = a && a.querySelector("[data-pm-slice]"), u = c && /^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(c.getAttribute("data-pm-slice") || ""); if (u && u[3]) for (let d = +u[3]; d > 0; d--) { @@ -7003,24 +7003,24 @@ function tf(t, e, n, r, i) { preserveWhitespace: !!(l || u), context: i, ruleFromNode(p) { - return p.nodeName == "BR" && !p.nextSibling && p.parentNode && !ob.test(p.parentNode.nodeName) ? { ignore: !0 } : null; + return p.nodeName == "BR" && !p.nextSibling && p.parentNode && !_b.test(p.parentNode.nodeName) ? { ignore: !0 } : null; } })), u) - s = ub(Id(s, +u[1], +u[2]), u[4]); - else if (s = H.maxOpen(ab(s.content, i), !0), s.openStart || s.openEnd) { + s = Eb(Md(s, +u[1], +u[2]), u[4]); + else if (s = H.maxOpen(mb(s.content, i), !0), s.openStart || s.openEnd) { let d = 0, p = 0; for (let _ = s.content.firstChild; d < s.openStart && !_.type.spec.isolating; d++, _ = _.firstChild) ; for (let _ = s.content.lastChild; p < s.openEnd && !_.type.spec.isolating; p++, _ = _.lastChild) ; - s = Id(s, d, p); + s = Md(s, d, p); } return t.someProp("transformPasted", (d) => { s = d(s, t); }), s; } -const ob = /^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i; -function ab(t, e) { +const _b = /^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i; +function mb(t, e) { if (t.childCount < 2) return t; for (let n = e.depth; n >= 0; n--) { @@ -7031,11 +7031,11 @@ function ab(t, e) { let l = i.findWrapping(s.type), c; if (!l) return a = null; - if (c = a.length && o.length && rf(l, o, s, a[a.length - 1], 0)) + if (c = a.length && o.length && lf(l, o, s, a[a.length - 1], 0)) a[a.length - 1] = c; else { - a.length && (a[a.length - 1] = of(a[a.length - 1], o.length)); - let u = nf(s, l); + a.length && (a[a.length - 1] = cf(a[a.length - 1], o.length)); + let u = sf(s, l); a.push(u), i = i.matchType(u.type), o = l; } }), a) @@ -7043,34 +7043,34 @@ function ab(t, e) { } return t; } -function nf(t, e, n = 0) { +function sf(t, e, n = 0) { for (let r = e.length - 1; r >= n; r--) t = e[r].create(null, w.from(t)); return t; } -function rf(t, e, n, r, i) { +function lf(t, e, n, r, i) { if (i < t.length && i < e.length && t[i] == e[i]) { - let o = rf(t, e, n, r.lastChild, i + 1); + let o = lf(t, e, n, r.lastChild, i + 1); if (o) return r.copy(r.content.replaceChild(r.childCount - 1, o)); if (r.contentMatchAt(r.childCount).matchType(i == t.length - 1 ? n.type : t[i + 1])) - return r.copy(r.content.append(w.from(nf(n, t, i + 1)))); + return r.copy(r.content.append(w.from(sf(n, t, i + 1)))); } } -function of(t, e) { +function cf(t, e) { if (e == 0) return t; - let n = t.content.replaceChild(t.childCount - 1, of(t.lastChild, e - 1)), r = t.contentMatchAt(t.childCount).fillBefore(w.empty, !0); + let n = t.content.replaceChild(t.childCount - 1, cf(t.lastChild, e - 1)), r = t.contentMatchAt(t.childCount).fillBefore(w.empty, !0); return t.copy(n.append(r)); } -function Yl(t, e, n, r, i, o) { +function $l(t, e, n, r, i, o) { let a = e < 0 ? t.firstChild : t.lastChild, s = a.content; - return t.childCount > 1 && (o = 0), i < r - 1 && (s = Yl(s, e, n, r, i + 1, o)), i >= n && (s = e < 0 ? a.contentMatchAt(0).fillBefore(s, o <= i).append(s) : s.append(a.contentMatchAt(a.childCount).fillBefore(w.empty, !0))), t.replaceChild(e < 0 ? 0 : t.childCount - 1, a.copy(s)); + return t.childCount > 1 && (o = 0), i < r - 1 && (s = $l(s, e, n, r, i + 1, o)), i >= n && (s = e < 0 ? a.contentMatchAt(0).fillBefore(s, o <= i).append(s) : s.append(a.contentMatchAt(a.childCount).fillBefore(w.empty, !0))), t.replaceChild(e < 0 ? 0 : t.childCount - 1, a.copy(s)); } -function Id(t, e, n) { - return e < t.openStart && (t = new H(Yl(t.content, -1, e, t.openStart, 0, t.openEnd), e, t.openEnd)), n < t.openEnd && (t = new H(Yl(t.content, 1, n, t.openEnd, 0, 0), t.openStart, n)), t; +function Md(t, e, n) { + return e < t.openStart && (t = new H($l(t.content, -1, e, t.openStart, 0, t.openEnd), e, t.openEnd)), n < t.openEnd && (t = new H($l(t.content, 1, n, t.openEnd, 0, 0), t.openStart, n)), t; } -const af = { +const uf = { thead: ["table"], tbody: ["table"], tfoot: ["table"], @@ -7081,32 +7081,32 @@ const af = { td: ["table", "tbody", "tr"], th: ["table", "tbody", "tr"] }; -let xd = null; -function sf() { - return xd || (xd = document.implementation.createHTMLDocument("title")); +let wd = null; +function df() { + return wd || (wd = document.implementation.createHTMLDocument("title")); } -let Vs = null; -function sb(t) { +let zs = null; +function fb(t) { let e = window.trustedTypes; - return e ? (Vs || (Vs = e.createPolicy("ProseMirrorClipboard", { createHTML: (n) => n })), Vs.createHTML(t)) : t; + return e ? (zs || (zs = e.createPolicy("ProseMirrorClipboard", { createHTML: (n) => n })), zs.createHTML(t)) : t; } -function lb(t) { +function hb(t) { let e = /^(\s*]*>)*/.exec(t); e && (t = t.slice(e[0].length)); - let n = sf().createElement("div"), r = /<([a-z][^>\s]+)/i.exec(t), i; - if ((i = r && af[r[1].toLowerCase()]) && (t = i.map((o) => "<" + o + ">").join("") + t + i.map((o) => "").reverse().join("")), n.innerHTML = sb(t), i) + let n = df().createElement("div"), r = /<([a-z][^>\s]+)/i.exec(t), i; + if ((i = r && uf[r[1].toLowerCase()]) && (t = i.map((o) => "<" + o + ">").join("") + t + i.map((o) => "").reverse().join("")), n.innerHTML = fb(t), i) for (let o = 0; o < i.length; o++) n = n.querySelector(i[o]) || n; return n; } -function cb(t) { +function gb(t) { let e = t.querySelectorAll(rt ? "span:not([class]):not([style])" : "span.Apple-converted-space"); for (let n = 0; n < e.length; n++) { let r = e[n]; r.childNodes.length == 1 && r.textContent == " " && r.parentNode && r.parentNode.replaceChild(t.ownerDocument.createTextNode(" "), r); } } -function ub(t, e) { +function Eb(t, e) { if (!t.size) return t; let n = t.content.firstChild.type.schema, r; @@ -7124,43 +7124,43 @@ function ub(t, e) { } return new H(i, o, a); } -const lt = {}, ct = {}, db = { touchstart: !0, touchmove: !0 }; -class pb { +const lt = {}, ct = {}, Sb = { touchstart: !0, touchmove: !0 }; +class bb { constructor() { this.shiftKey = !1, this.mouseDown = null, this.lastKeyCode = null, this.lastKeyCodeTime = 0, this.lastClick = { time: 0, x: 0, y: 0, type: "" }, this.lastSelectionOrigin = null, this.lastSelectionTime = 0, this.lastIOSEnter = 0, this.lastIOSEnterFallbackTimeout = -1, this.lastFocus = 0, this.lastTouch = 0, this.lastAndroidDelete = 0, this.composing = !1, this.compositionNode = null, this.composingTimeout = -1, this.compositionNodes = [], this.compositionEndedAt = -2e8, this.compositionID = 1, this.compositionPendingChanges = 0, this.domChangeCount = 0, this.eventHandlers = /* @__PURE__ */ Object.create(null), this.hideSelectionGuard = null; } } -function _b(t) { +function Tb(t) { for (let e in lt) { let n = lt[e]; t.dom.addEventListener(e, t.input.eventHandlers[e] = (r) => { - fb(t, r) && !Ac(t, r) && (t.editable || !(r.type in ct)) && n(t, r); - }, db[e] ? { passive: !0 } : void 0); + yb(t, r) && !Dc(t, r) && (t.editable || !(r.type in ct)) && n(t, r); + }, Sb[e] ? { passive: !0 } : void 0); } - st && t.dom.addEventListener("input", () => null), zl(t); + st && t.dom.addEventListener("input", () => null), ql(t); } function Mn(t, e) { t.input.lastSelectionOrigin = e, t.input.lastSelectionTime = Date.now(); } -function mb(t) { +function Cb(t) { t.domObserver.stop(); for (let e in t.input.eventHandlers) t.dom.removeEventListener(e, t.input.eventHandlers[e]); clearTimeout(t.input.composingTimeout), clearTimeout(t.input.lastIOSEnterFallbackTimeout); } -function zl(t) { +function ql(t) { t.someProp("handleDOMEvents", (e) => { for (let n in e) - t.input.eventHandlers[n] || t.dom.addEventListener(n, t.input.eventHandlers[n] = (r) => Ac(t, r)); + t.input.eventHandlers[n] || t.dom.addEventListener(n, t.input.eventHandlers[n] = (r) => Dc(t, r)); }); } -function Ac(t, e) { +function Dc(t, e) { return t.someProp("handleDOMEvents", (n) => { let r = n[e.type]; return r ? r(t, e) || e.defaultPrevented : !1; }); } -function fb(t, e) { +function yb(t, e) { if (!e.bubbles) return !0; if (e.defaultPrevented) @@ -7170,25 +7170,25 @@ function fb(t, e) { return !1; return !0; } -function gb(t, e) { - !Ac(t, e) && lt[e.type] && (t.editable || !(e.type in ct)) && lt[e.type](t, e); +function vb(t, e) { + !Dc(t, e) && lt[e.type] && (t.editable || !(e.type in ct)) && lt[e.type](t, e); } ct.keydown = (t, e) => { let n = e; - if (t.input.shiftKey = n.keyCode == 16 || n.shiftKey, !cf(t, n) && (t.input.lastKeyCode = n.keyCode, t.input.lastKeyCodeTime = Date.now(), !(Ut && rt && n.keyCode == 13))) + if (t.input.shiftKey = n.keyCode == 16 || n.shiftKey, !_f(t, n) && (t.input.lastKeyCode = n.keyCode, t.input.lastKeyCodeTime = Date.now(), !(Ut && rt && n.keyCode == 13))) if (n.keyCode != 229 && t.domObserver.forceFlush(), ti && n.keyCode == 13 && !n.ctrlKey && !n.altKey && !n.metaKey) { let r = Date.now(); t.input.lastIOSEnter = r, t.input.lastIOSEnterFallbackTimeout = setTimeout(() => { t.input.lastIOSEnter == r && (t.someProp("handleKeyDown", (i) => i(t, Jn(13, "Enter"))), t.input.lastIOSEnter = 0); }, 200); - } else t.someProp("handleKeyDown", (r) => r(t, n)) || ib(t, n) ? n.preventDefault() : Mn(t, "key"); + } else t.someProp("handleKeyDown", (r) => r(t, n)) || pb(t, n) ? n.preventDefault() : Mn(t, "key"); }; ct.keyup = (t, e) => { e.keyCode == 16 && (t.input.shiftKey = !1); }; ct.keypress = (t, e) => { let n = e; - if (cf(t, n) || !n.charCode || n.ctrlKey && !n.altKey || It && n.metaKey) + if (_f(t, n) || !n.charCode || n.ctrlKey && !n.altKey || It && n.metaKey) return; if (t.someProp("handleKeyPress", (i) => i(t, n))) { n.preventDefault(); @@ -7200,14 +7200,14 @@ ct.keypress = (t, e) => { !/[\r\n]/.test(i) && !t.someProp("handleTextInput", (o) => o(t, r.$from.pos, r.$to.pos, i)) && t.dispatch(t.state.tr.insertText(i).scrollIntoView()), n.preventDefault(); } }; -function ss(t) { +function cs(t) { return { left: t.clientX, top: t.clientY }; } -function hb(t, e) { +function Rb(t, e) { let n = e.x - t.clientX, r = e.y - t.clientY; return n * n + r * r < 100; } -function Ic(t, e, n, r, i) { +function Mc(t, e, n, r, i) { if (r == -1) return !1; let o = t.state.doc.resolve(r); @@ -7222,13 +7222,13 @@ function Xr(t, e, n) { let r = t.state.tr.setSelection(e); r.setMeta("pointer", !0), t.dispatch(r); } -function Eb(t, e) { +function Ob(t, e) { if (e == -1) return !1; let n = t.state.doc.resolve(e), r = n.nodeAfter; return r && r.isAtom && ee.isSelectable(r) ? (Xr(t, new ee(n)), !0) : !1; } -function Sb(t, e) { +function Nb(t, e) { if (e == -1) return !1; let n = t.state.selection, r, i; @@ -7243,16 +7243,16 @@ function Sb(t, e) { } return i != null ? (Xr(t, ee.create(t.state.doc, i)), !0) : !1; } -function bb(t, e, n, r, i) { - return Ic(t, "handleClickOn", e, n, r) || t.someProp("handleClick", (o) => o(t, e, r)) || (i ? Sb(t, n) : Eb(t, n)); +function Ab(t, e, n, r, i) { + return Mc(t, "handleClickOn", e, n, r) || t.someProp("handleClick", (o) => o(t, e, r)) || (i ? Nb(t, n) : Ob(t, n)); } -function Tb(t, e, n, r) { - return Ic(t, "handleDoubleClickOn", e, n, r) || t.someProp("handleDoubleClick", (i) => i(t, e, r)); +function Ib(t, e, n, r) { + return Mc(t, "handleDoubleClickOn", e, n, r) || t.someProp("handleDoubleClick", (i) => i(t, e, r)); } -function Cb(t, e, n, r) { - return Ic(t, "handleTripleClickOn", e, n, r) || t.someProp("handleTripleClick", (i) => i(t, e, r)) || yb(t, n, r); +function xb(t, e, n, r) { + return Mc(t, "handleTripleClickOn", e, n, r) || t.someProp("handleTripleClick", (i) => i(t, e, r)) || Db(t, n, r); } -function yb(t, e, n) { +function Db(t, e, n) { if (n.button != 0) return !1; let r = t.state.doc; @@ -7270,21 +7270,21 @@ function yb(t, e, n) { return !0; } } -function xc(t) { - return fa(t); +function wc(t) { + return ga(t); } -const lf = It ? "metaKey" : "ctrlKey"; +const pf = It ? "metaKey" : "ctrlKey"; lt.mousedown = (t, e) => { let n = e; t.input.shiftKey = n.shiftKey; - let r = xc(t), i = Date.now(), o = "singleClick"; - i - t.input.lastClick.time < 500 && hb(n, t.input.lastClick) && !n[lf] && (t.input.lastClick.type == "singleClick" ? o = "doubleClick" : t.input.lastClick.type == "doubleClick" && (o = "tripleClick")), t.input.lastClick = { time: i, x: n.clientX, y: n.clientY, type: o }; - let a = t.posAtCoords(ss(n)); - a && (o == "singleClick" ? (t.input.mouseDown && t.input.mouseDown.done(), t.input.mouseDown = new vb(t, a, n, !!r)) : (o == "doubleClick" ? Tb : Cb)(t, a.pos, a.inside, n) ? n.preventDefault() : Mn(t, "pointer")); + let r = wc(t), i = Date.now(), o = "singleClick"; + i - t.input.lastClick.time < 500 && Rb(n, t.input.lastClick) && !n[pf] && (t.input.lastClick.type == "singleClick" ? o = "doubleClick" : t.input.lastClick.type == "doubleClick" && (o = "tripleClick")), t.input.lastClick = { time: i, x: n.clientX, y: n.clientY, type: o }; + let a = t.posAtCoords(cs(n)); + a && (o == "singleClick" ? (t.input.mouseDown && t.input.mouseDown.done(), t.input.mouseDown = new Mb(t, a, n, !!r)) : (o == "doubleClick" ? Ib : xb)(t, a.pos, a.inside, n) ? n.preventDefault() : Mn(t, "pointer")); }; -class vb { +class Mb { constructor(e, n, r, i) { - this.view = e, this.pos = n, this.event = r, this.flushed = i, this.delayedSelectionSync = !1, this.mightDrag = null, this.startDoc = e.state.doc, this.selectNode = !!r[lf], this.allowDefault = r.shiftKey; + this.view = e, this.pos = n, this.event = r, this.flushed = i, this.delayedSelectionSync = !1, this.mightDrag = null, this.startDoc = e.state.doc, this.selectNode = !!r[pf], this.allowDefault = r.shiftKey; let o, a; if (n.inside > -1) o = e.state.doc.nodeAt(n.inside), a = n.inside; @@ -7305,13 +7305,13 @@ class vb { }, 20), this.view.domObserver.start()), e.root.addEventListener("mouseup", this.up = this.up.bind(this)), e.root.addEventListener("mousemove", this.move = this.move.bind(this)), Mn(e, "pointer"); } done() { - this.view.root.removeEventListener("mouseup", this.up), this.view.root.removeEventListener("mousemove", this.move), this.mightDrag && this.target && (this.view.domObserver.stop(), this.mightDrag.addAttr && this.target.removeAttribute("draggable"), this.mightDrag.setUneditable && this.target.removeAttribute("contentEditable"), this.view.domObserver.start()), this.delayedSelectionSync && setTimeout(() => gn(this.view)), this.view.input.mouseDown = null; + this.view.root.removeEventListener("mouseup", this.up), this.view.root.removeEventListener("mousemove", this.move), this.mightDrag && this.target && (this.view.domObserver.stop(), this.mightDrag.addAttr && this.target.removeAttribute("draggable"), this.mightDrag.setUneditable && this.target.removeAttribute("contentEditable"), this.view.domObserver.start()), this.delayedSelectionSync && setTimeout(() => hn(this.view)), this.view.input.mouseDown = null; } up(e) { if (this.done(), !this.view.dom.contains(e.target)) return; let n = this.pos; - this.view.state.doc != this.startDoc && (n = this.view.posAtCoords(ss(e))), this.updateAllowDefault(e), this.allowDefault || !n ? Mn(this.view, "pointer") : bb(this.view, n.pos, n.inside, e, this.selectNode) ? e.preventDefault() : e.button == 0 && (this.flushed || // Safari ignores clicks on draggable elements + this.view.state.doc != this.startDoc && (n = this.view.posAtCoords(cs(e))), this.updateAllowDefault(e), this.allowDefault || !n ? Mn(this.view, "pointer") : Ab(this.view, n.pos, n.inside, e, this.selectNode) ? e.preventDefault() : e.button == 0 && (this.flushed || // Safari ignores clicks on draggable elements st && this.mightDrag && !this.mightDrag.node.isAtom || // Chrome will sometimes treat a node selection as a // cursor, but still report that the node is selected // when asked through getSelection. You'll then get a @@ -7329,23 +7329,23 @@ class vb { } } lt.touchstart = (t) => { - t.input.lastTouch = Date.now(), xc(t), Mn(t, "pointer"); + t.input.lastTouch = Date.now(), wc(t), Mn(t, "pointer"); }; lt.touchmove = (t) => { t.input.lastTouch = Date.now(), Mn(t, "pointer"); }; -lt.contextmenu = (t) => xc(t); -function cf(t, e) { +lt.contextmenu = (t) => wc(t); +function _f(t, e) { return t.composing ? !0 : st && Math.abs(e.timeStamp - t.input.compositionEndedAt) < 500 ? (t.input.compositionEndedAt = -2e8, !0) : !1; } -const Rb = Ut ? 5e3 : -1; +const wb = Ut ? 5e3 : -1; ct.compositionstart = ct.compositionupdate = (t) => { if (!t.composing) { t.domObserver.flush(); let { state: e } = t, n = e.selection.$to; if (e.selection instanceof Z && (e.storedMarks || !n.textOffset && n.parentOffset && n.nodeBefore.marks.some((r) => r.type.spec.inclusive === !1))) - t.markCursor = t.state.storedMarks || n.marks(), fa(t, !0), t.markCursor = null; - else if (fa(t, !e.selection.empty), Gt && e.selection.empty && n.parentOffset && !n.textOffset && n.nodeBefore.marks.length) { + t.markCursor = t.state.storedMarks || n.marks(), ga(t, !0), t.markCursor = null; + else if (ga(t, !e.selection.empty), Gt && e.selection.empty && n.parentOffset && !n.textOffset && n.nodeBefore.marks.length) { let r = t.domSelectionRange(); for (let i = r.focusNode, o = r.focusOffset; i && i.nodeType == 1 && o != 0; ) { let a = o < 0 ? i.lastChild : i.childNodes[o - 1]; @@ -7361,23 +7361,23 @@ ct.compositionstart = ct.compositionupdate = (t) => { } t.input.composing = !0; } - uf(t, Rb); + mf(t, wb); }; ct.compositionend = (t, e) => { - t.composing && (t.input.composing = !1, t.input.compositionEndedAt = e.timeStamp, t.input.compositionPendingChanges = t.domObserver.pendingRecords().length ? t.input.compositionID : 0, t.input.compositionNode = null, t.input.compositionPendingChanges && Promise.resolve().then(() => t.domObserver.flush()), t.input.compositionID++, uf(t, 20)); + t.composing && (t.input.composing = !1, t.input.compositionEndedAt = e.timeStamp, t.input.compositionPendingChanges = t.domObserver.pendingRecords().length ? t.input.compositionID : 0, t.input.compositionNode = null, t.input.compositionPendingChanges && Promise.resolve().then(() => t.domObserver.flush()), t.input.compositionID++, mf(t, 20)); }; -function uf(t, e) { - clearTimeout(t.input.composingTimeout), e > -1 && (t.input.composingTimeout = setTimeout(() => fa(t), e)); +function mf(t, e) { + clearTimeout(t.input.composingTimeout), e > -1 && (t.input.composingTimeout = setTimeout(() => ga(t), e)); } -function df(t) { - for (t.composing && (t.input.composing = !1, t.input.compositionEndedAt = Nb()); t.input.compositionNodes.length > 0; ) +function ff(t) { + for (t.composing && (t.input.composing = !1, t.input.compositionEndedAt = kb()); t.input.compositionNodes.length > 0; ) t.input.compositionNodes.pop().markParentsDirty(); } -function Ob(t) { +function Lb(t) { let e = t.domSelectionRange(); if (!e.focusNode) return null; - let n = ES(e.focusNode, e.focusOffset), r = SS(e.focusNode, e.focusOffset); + let n = OS(e.focusNode, e.focusOffset), r = NS(e.focusNode, e.focusOffset); if (n && r && n != r) { let i = r.pmViewDesc, o = t.domObserver.lastChangedTextNode; if (n == o || r == o) @@ -7392,20 +7392,20 @@ function Ob(t) { } return n || r; } -function Nb() { +function kb() { let t = document.createEvent("Event"); return t.initEvent("event", !0, !0), t.timeStamp; } -function fa(t, e = !1) { +function ga(t, e = !1) { if (!(Ut && t.domObserver.flushingSoon >= 0)) { - if (t.domObserver.forceFlush(), df(t), e || t.docView && t.docView.dirty) { - let n = Oc(t); + if (t.domObserver.forceFlush(), ff(t), e || t.docView && t.docView.dirty) { + let n = Ic(t); return n && !n.eq(t.state.selection) ? t.dispatch(t.state.tr.setSelection(n)) : (t.markCursor || e) && !t.state.selection.empty ? t.dispatch(t.state.tr.deleteSelection()) : t.updateState(t.state), !0; } return !1; } } -function Ab(t, e) { +function Pb(t, e) { if (!t.dom.parentNode) return; let n = t.dom.parentNode.appendChild(document.createElement("div")); @@ -7415,37 +7415,37 @@ function Ab(t, e) { n.parentNode && n.parentNode.removeChild(n), t.focus(); }, 50); } -const $i = pt && Bn < 15 || ti && vS < 604; +const qi = pt && Bn < 15 || ti && MS < 604; lt.copy = ct.cut = (t, e) => { let n = e, r = t.state.selection, i = n.type == "cut"; if (r.empty) return; - let o = $i ? null : n.clipboardData, a = r.content(), { dom: s, text: l } = ef(t, a); - o ? (n.preventDefault(), o.clearData(), o.setData("text/html", s.innerHTML), o.setData("text/plain", l)) : Ab(t, s), i && t.dispatch(t.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent", "cut")); + let o = qi ? null : n.clipboardData, a = r.content(), { dom: s, text: l } = of(t, a); + o ? (n.preventDefault(), o.clearData(), o.setData("text/html", s.innerHTML), o.setData("text/plain", l)) : Pb(t, s), i && t.dispatch(t.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent", "cut")); }; -function Ib(t) { +function Fb(t) { return t.openStart == 0 && t.openEnd == 0 && t.content.childCount == 1 ? t.content.firstChild : null; } -function xb(t, e) { +function Bb(t, e) { if (!t.dom.parentNode) return; let n = t.input.shiftKey || t.state.selection.$from.parent.type.spec.code, r = t.dom.parentNode.appendChild(document.createElement(n ? "textarea" : "div")); n || (r.contentEditable = "true"), r.style.cssText = "position: fixed; left: -10000px; top: 10px", r.focus(); let i = t.input.shiftKey && t.input.lastKeyCode != 45; setTimeout(() => { - t.focus(), r.parentNode && r.parentNode.removeChild(r), n ? qi(t, r.value, null, i, e) : qi(t, r.textContent, r.innerHTML, i, e); + t.focus(), r.parentNode && r.parentNode.removeChild(r), n ? Wi(t, r.value, null, i, e) : Wi(t, r.textContent, r.innerHTML, i, e); }, 50); } -function qi(t, e, n, r, i) { - let o = tf(t, e, n, r, t.state.selection.$from); +function Wi(t, e, n, r, i) { + let o = af(t, e, n, r, t.state.selection.$from); if (t.someProp("handlePaste", (l) => l(t, i, o || H.empty))) return !0; if (!o) return !1; - let a = Ib(o), s = a ? t.state.tr.replaceSelectionWith(a, r) : t.state.tr.replaceSelection(o); + let a = Fb(o), s = a ? t.state.tr.replaceSelectionWith(a, r) : t.state.tr.replaceSelection(o); return t.dispatch(s.scrollIntoView().setMeta("paste", !0).setMeta("uiEvent", "paste")), !0; } -function pf(t) { +function hf(t) { let e = t.getData("text/plain") || t.getData("Text"); if (e) return e; @@ -7456,20 +7456,20 @@ ct.paste = (t, e) => { let n = e; if (t.composing && !Ut) return; - let r = $i ? null : n.clipboardData, i = t.input.shiftKey && t.input.lastKeyCode != 45; - r && qi(t, pf(r), r.getData("text/html"), i, n) ? n.preventDefault() : xb(t, n); + let r = qi ? null : n.clipboardData, i = t.input.shiftKey && t.input.lastKeyCode != 45; + r && Wi(t, hf(r), r.getData("text/html"), i, n) ? n.preventDefault() : Bb(t, n); }; -class _f { +class gf { constructor(e, n, r) { this.slice = e, this.move = n, this.node = r; } } -const mf = It ? "altKey" : "ctrlKey"; +const Ef = It ? "altKey" : "ctrlKey"; lt.dragstart = (t, e) => { let n = e, r = t.input.mouseDown; if (r && r.done(), !n.dataTransfer) return; - let i = t.state.selection, o = i.empty ? null : t.posAtCoords(ss(n)), a; + let i = t.state.selection, o = i.empty ? null : t.posAtCoords(cs(n)), a; if (!(o && o.pos >= i.from && o.pos <= (i instanceof ee ? i.to - 1 : i.to))) { if (r && r.mightDrag) a = ee.create(t.state.doc, r.mightDrag.pos); @@ -7478,8 +7478,8 @@ lt.dragstart = (t, e) => { d && d.node.type.spec.draggable && d != t.docView && (a = ee.create(t.state.doc, d.posBefore)); } } - let s = (a || t.state.selection).content(), { dom: l, text: c, slice: u } = ef(t, s); - (!n.dataTransfer.files.length || !rt || Bm > 120) && n.dataTransfer.clearData(), n.dataTransfer.setData($i ? "Text" : "text/html", l.innerHTML), n.dataTransfer.effectAllowed = "copyMove", $i || n.dataTransfer.setData("text/plain", c), t.dragging = new _f(u, !n[mf], a); + let s = (a || t.state.selection).content(), { dom: l, text: c, slice: u } = of(t, s); + (!n.dataTransfer.files.length || !rt || Vm > 120) && n.dataTransfer.clearData(), n.dataTransfer.setData(qi ? "Text" : "text/html", l.innerHTML), n.dataTransfer.effectAllowed = "copyMove", qi || n.dataTransfer.setData("text/plain", c), t.dragging = new gf(u, !n[Ef], a); }; lt.dragend = (t) => { let e = t.dragging; @@ -7492,14 +7492,14 @@ ct.drop = (t, e) => { let n = e, r = t.dragging; if (t.dragging = null, !n.dataTransfer) return; - let i = t.posAtCoords(ss(n)); + let i = t.posAtCoords(cs(n)); if (!i) return; let o = t.state.doc.resolve(i.pos), a = r && r.slice; a ? t.someProp("transformPasted", (m) => { a = m(a, t); - }) : a = tf(t, pf(n.dataTransfer), $i ? null : n.dataTransfer.getData("text/html"), !1, o); - let s = !!(r && !n[mf]); + }) : a = af(t, hf(n.dataTransfer), qi ? null : n.dataTransfer.getData("text/html"), !1, o); + let s = !!(r && !n[Ef]); if (t.someProp("handleDrop", (m) => m(t, n, a || H.empty, s))) { n.preventDefault(); return; @@ -7507,7 +7507,7 @@ ct.drop = (t, e) => { if (!a) return; n.preventDefault(); - let l = a ? Im(t.state.doc, o.pos, a) : o.pos; + let l = a ? wm(t.state.doc, o.pos, a) : o.pos; l == null && (l = o.pos); let c = t.state.tr; if (s) { @@ -7522,13 +7522,13 @@ ct.drop = (t, e) => { c.setSelection(new ee(_)); else { let m = c.mapping.map(l); - c.mapping.maps[c.mapping.maps.length - 1].forEach((f, g, E, S) => m = S), c.setSelection(Nc(t, _, c.doc.resolve(m))); + c.mapping.maps[c.mapping.maps.length - 1].forEach((f, h, E, S) => m = S), c.setSelection(xc(t, _, c.doc.resolve(m))); } t.focus(), t.dispatch(c.setMeta("uiEvent", "drop")); }; lt.focus = (t) => { t.input.lastFocus = Date.now(), t.focused || (t.domObserver.stop(), t.dom.classList.add("ProseMirror-focused"), t.domObserver.start(), t.focused = !0, setTimeout(() => { - t.docView && t.hasFocus() && !t.domObserver.currentSelection.eq(t.domSelectionRange()) && gn(t); + t.docView && t.hasFocus() && !t.domObserver.currentSelection.eq(t.domSelectionRange()) && hn(t); }, 20)); }; lt.blur = (t, e) => { @@ -7549,7 +7549,7 @@ lt.beforeinput = (t, e) => { }; for (let t in ct) lt[t] = ct[t]; -function Wi(t, e) { +function Ki(t, e) { if (t == e) return !0; for (let n in t) @@ -7560,7 +7560,7 @@ function Wi(t, e) { return !1; return !0; } -class ga { +class Ea { constructor(e, n) { this.toDOM = e, this.spec = n || lr, this.side = this.spec.side || 0; } @@ -7572,7 +7572,7 @@ class ga { return !0; } eq(e) { - return this == e || e instanceof ga && (this.spec.key && this.spec.key == e.spec.key || this.toDOM == e.toDOM && Wi(this.spec, e.spec)); + return this == e || e instanceof Ea && (this.spec.key && this.spec.key == e.spec.key || this.toDOM == e.toDOM && Ki(this.spec, e.spec)); } destroy(e) { this.spec.destroy && this.spec.destroy(e); @@ -7590,7 +7590,7 @@ class Hn { return n.from < n.to; } eq(e) { - return this == e || e instanceof Hn && Wi(this.attrs, e.attrs) && Wi(this.spec, e.spec); + return this == e || e instanceof Hn && Ki(this.attrs, e.attrs) && Ki(this.spec, e.spec); } static is(e) { return e.type instanceof Hn; @@ -7598,7 +7598,7 @@ class Hn { destroy() { } } -class Dc { +class Lc { constructor(e, n) { this.attrs = e, this.spec = n || lr; } @@ -7614,7 +7614,7 @@ class Dc { return i == n.from && !(o = e.child(r)).isText && i + o.nodeSize == n.to; } eq(e) { - return this == e || e instanceof Dc && Wi(this.attrs, e.attrs) && Wi(this.spec, e.spec); + return this == e || e instanceof Lc && Ki(this.attrs, e.attrs) && Ki(this.spec, e.spec); } destroy() { } @@ -7653,7 +7653,7 @@ class ke { widget's current document position. */ static widget(e, n, r) { - return new ke(e, e, new ga(n, r)); + return new ke(e, e, new Ea(n, r)); } /** Creates an inline decoration, which adds the given attributes to @@ -7668,7 +7668,7 @@ class ke { node, will receive the given attributes. */ static node(e, n, r, i) { - return new ke(e, n, new Dc(r, i)); + return new ke(e, n, new Lc(r, i)); } /** The spec provided when creating this decoration. Can be useful @@ -7687,7 +7687,7 @@ class ke { @internal */ get widget() { - return this.type instanceof ga; + return this.type instanceof Ea; } } const Fr = [], lr = {}; @@ -7704,7 +7704,7 @@ class be { you must make a copy if you want need to preserve that. */ static create(e, n) { - return n.length ? ha(n, e, 0, lr) : nt; + return n.length ? Sa(n, e, 0, lr) : nt; } /** Find all decorations in this set which touch the given range @@ -7745,7 +7745,7 @@ class be { let l = this.local[s].map(e, r, i); l && l.type.valid(n, l) ? (a || (a = [])).push(l) : o.onRemove && o.onRemove(this.local[s].spec); } - return this.children.length ? Db(this.children, a || [], e, n, r, i, o) : a ? new be(a.sort(cr), Fr) : nt; + return this.children.length ? Ub(this.children, a || [], e, n, r, i, o) : a ? new be(a.sort(cr), Fr) : nt; } /** Add the given array of decorations to the ones in the set, @@ -7760,13 +7760,13 @@ class be { let i, o = 0; e.forEach((s, l) => { let c = l + r, u; - if (u = gf(n, s, c)) { + if (u = bf(n, s, c)) { for (i || (i = this.children.slice()); o < i.length && i[o] < l; ) o += 3; - i[o] == l ? i[o + 2] = i[o + 2].addInner(s, u, c + 1) : i.splice(o, 0, l, l + s.nodeSize, ha(u, s, c + 1, lr)), o += 3; + i[o] == l ? i[o + 2] = i[o + 2].addInner(s, u, c + 1) : i.splice(o, 0, l, l + s.nodeSize, Sa(u, s, c + 1, lr)), o += 3; } }); - let a = ff(o ? hf(n) : n, -r); + let a = Sf(o ? Tf(n) : n, -r); for (let s = 0; s < a.length; s++) a[s].type.valid(e, a[s]) || a.splice(s--, 1); return new be(a.length ? this.local.concat(a).sort(cr) : this.local, i || this.children); @@ -7843,7 +7843,7 @@ class be { @internal */ locals(e) { - return Mc(this.localsInner(e)); + return kc(this.localsInner(e)); } /** @internal @@ -7863,7 +7863,7 @@ class be { } } be.empty = new be([], []); -be.removeOverlap = Mc; +be.removeOverlap = kc; const nt = be.empty; class On { constructor(e) { @@ -7904,7 +7904,7 @@ class On { n.push(o[a]); } } - return n ? Mc(r ? n : n.sort(cr)) : Fr; + return n ? kc(r ? n : n.sort(cr)) : Fr; } // Create a group for the given array of decoration sets, or return // a single set when possible. @@ -7923,20 +7923,20 @@ class On { this.members[n].forEachSet(e); } } -function Db(t, e, n, r, i, o, a) { +function Ub(t, e, n, r, i, o, a) { let s = t.slice(); for (let c = 0, u = o; c < n.maps.length; c++) { let d = 0; n.maps[c].forEach((p, _, m, f) => { - let g = f - m - (_ - p); + let h = f - m - (_ - p); for (let E = 0; E < s.length; E += 3) { let S = s[E + 1]; if (S < 0 || p > S + u - d) continue; let b = s[E] + u - d; - _ >= b ? s[E + 1] = p <= b ? -2 : -1 : p >= u && g && (s[E] += g, s[E + 1] += g); + _ >= b ? s[E + 1] = p <= b ? -2 : -1 : p >= u && h && (s[E] += h, s[E + 1] += h); } - d += g; + d += h; }), u = n.maps[c].map(u, -1); } let l = !1; @@ -7951,15 +7951,15 @@ function Db(t, e, n, r, i, o, a) { l = !0; continue; } - let p = n.map(t[c + 1] + o, -1), _ = p - i, { index: m, offset: f } = r.content.findIndex(d), g = r.maybeChild(m); - if (g && f == d && f + g.nodeSize == _) { - let E = s[c + 2].mapInner(n, g, u + 1, t[c] + o + 1, a); + let p = n.map(t[c + 1] + o, -1), _ = p - i, { index: m, offset: f } = r.content.findIndex(d), h = r.maybeChild(m); + if (h && f == d && f + h.nodeSize == _) { + let E = s[c + 2].mapInner(n, h, u + 1, t[c] + o + 1, a); E != nt ? (s[c] = d, s[c + 1] = _, s[c + 2] = E) : (s[c + 1] = -2, l = !0); } else l = !0; } if (l) { - let c = Mb(s, t, e, n, i, o, a), u = ha(c, r, 0, a); + let c = Hb(s, t, e, n, i, o, a), u = Sa(c, r, 0, a); e = u.local; for (let d = 0; d < s.length; d += 3) s[d + 1] < 0 && (s.splice(d, 3), d -= 3); @@ -7972,7 +7972,7 @@ function Db(t, e, n, r, i, o, a) { } return new be(e.sort(cr), s); } -function ff(t, e) { +function Sf(t, e) { if (!e || !t.length) return t; let n = []; @@ -7982,7 +7982,7 @@ function ff(t, e) { } return n; } -function Mb(t, e, n, r, i, o, a) { +function Hb(t, e, n, r, i, o, a) { function s(l, c) { for (let u = 0; u < l.local.length; u++) { let d = l.local[u].map(r, i, c); @@ -7995,7 +7995,7 @@ function Mb(t, e, n, r, i, o, a) { t[l + 1] == -1 && s(t[l + 2], e[l] + o + 1); return n; } -function gf(t, e, n) { +function bf(t, e, n) { if (e.isLeaf) return null; let r = n + e.nodeSize, i = null; @@ -8003,23 +8003,23 @@ function gf(t, e, n) { (a = t[o]) && a.from > n && a.to < r && ((i || (i = [])).push(a), t[o] = null); return i; } -function hf(t) { +function Tf(t) { let e = []; for (let n = 0; n < t.length; n++) t[n] != null && e.push(t[n]); return e; } -function ha(t, e, n, r) { +function Sa(t, e, n, r) { let i = [], o = !1; e.forEach((s, l) => { - let c = gf(t, s, l + n); + let c = bf(t, s, l + n); if (c) { o = !0; - let u = ha(c, s, n + l + 1, r); + let u = Sa(c, s, n + l + 1, r); u != nt && i.push(l, l + s.nodeSize, u); } }); - let a = ff(o ? hf(t) : t, -n).sort(cr); + let a = Sf(o ? Tf(t) : t, -n).sort(cr); for (let s = 0; s < a.length; s++) a[s].type.valid(e, a[s]) || (r.onRemove && r.onRemove(a[s].spec), a.splice(s--, 1)); return a.length || i.length ? new be(a, i) : nt; @@ -8027,7 +8027,7 @@ function ha(t, e, n, r) { function cr(t, e) { return t.from - e.from || t.to - e.to; } -function Mc(t) { +function kc(t) { let e = t; for (let n = 0; n < e.length - 1; n++) { let r = e[n]; @@ -8035,37 +8035,37 @@ function Mc(t) { for (let i = n + 1; i < e.length; i++) { let o = e[i]; if (o.from == r.from) { - o.to != r.to && (e == t && (e = t.slice()), e[i] = o.copy(o.from, r.to), Dd(e, i + 1, o.copy(r.to, o.to))); + o.to != r.to && (e == t && (e = t.slice()), e[i] = o.copy(o.from, r.to), Ld(e, i + 1, o.copy(r.to, o.to))); continue; } else { - o.from < r.to && (e == t && (e = t.slice()), e[n] = r.copy(r.from, o.from), Dd(e, i, r.copy(o.from, r.to))); + o.from < r.to && (e == t && (e = t.slice()), e[n] = r.copy(r.from, o.from), Ld(e, i, r.copy(o.from, r.to))); break; } } } return e; } -function Dd(t, e, n) { +function Ld(t, e, n) { for (; e < t.length && cr(n, t[e]) > 0; ) e++; t.splice(e, 0, n); } -function Ys(t) { +function $s(t) { let e = []; return t.someProp("decorations", (n) => { let r = n(t.state); r && r != nt && e.push(r); }), t.cursorWrapper && e.push(be.create(t.state.doc, [t.cursorWrapper.deco])), On.from(e); } -const wb = { +const Gb = { childList: !0, characterData: !0, characterDataOldValue: !0, attributes: !0, attributeOldValue: !0, subtree: !0 -}, Lb = pt && Bn <= 11; -class kb { +}, Vb = pt && Bn <= 11; +class Yb { constructor() { this.anchorNode = null, this.anchorOffset = 0, this.focusNode = null, this.focusOffset = 0; } @@ -8079,13 +8079,13 @@ class kb { return e.anchorNode == this.anchorNode && e.anchorOffset == this.anchorOffset && e.focusNode == this.focusNode && e.focusOffset == this.focusOffset; } } -class Pb { +class zb { constructor(e, n) { - this.view = e, this.handleDOMChange = n, this.queue = [], this.flushingSoon = -1, this.observer = null, this.currentSelection = new kb(), this.onCharData = null, this.suppressingSelectionUpdates = !1, this.lastChangedTextNode = null, this.observer = window.MutationObserver && new window.MutationObserver((r) => { + this.view = e, this.handleDOMChange = n, this.queue = [], this.flushingSoon = -1, this.observer = null, this.currentSelection = new Yb(), this.onCharData = null, this.suppressingSelectionUpdates = !1, this.lastChangedTextNode = null, this.observer = window.MutationObserver && new window.MutationObserver((r) => { for (let i = 0; i < r.length; i++) this.queue.push(r[i]); pt && Bn <= 11 && r.some((i) => i.type == "childList" && i.removedNodes.length || i.type == "characterData" && i.oldValue.length > i.target.nodeValue.length) ? this.flushSoon() : this.flush(); - }), Lb && (this.onCharData = (r) => { + }), Vb && (this.onCharData = (r) => { this.queue.push({ target: r.target, type: "characterData", oldValue: r.prevValue }), this.flushSoon(); }), this.onSelectionChange = this.onSelectionChange.bind(this); } @@ -8098,7 +8098,7 @@ class Pb { this.flushingSoon > -1 && (window.clearTimeout(this.flushingSoon), this.flushingSoon = -1, this.flush()); } start() { - this.observer && (this.observer.takeRecords(), this.observer.observe(this.view.dom, wb)), this.onCharData && this.view.dom.addEventListener("DOMCharacterDataModified", this.onCharData), this.connectSelection(); + this.observer && (this.observer.takeRecords(), this.observer.observe(this.view.dom, Gb)), this.onCharData && this.view.dom.addEventListener("DOMCharacterDataModified", this.onCharData), this.connectSelection(); } stop() { if (this.observer) { @@ -8122,9 +8122,9 @@ class Pb { this.suppressingSelectionUpdates = !0, setTimeout(() => this.suppressingSelectionUpdates = !1, 50); } onSelectionChange() { - if (yd(this.view)) { + if (Od(this.view)) { if (this.suppressingSelectionUpdates) - return gn(this.view); + return hn(this.view); if (pt && Bn <= 11 && !this.view.state.selection.empty) { let e = this.view.domSelectionRange(); if (e.focusNode && fr(e.focusNode, e.focusOffset, e.anchorNode, e.anchorOffset)) @@ -8140,9 +8140,9 @@ class Pb { if (!e.focusNode) return !0; let n = /* @__PURE__ */ new Set(), r; - for (let o = e.focusNode; o; o = zi(o)) + for (let o = e.focusNode; o; o = $i(o)) n.add(o); - for (let o = e.anchorNode; o; o = zi(o)) + for (let o = e.anchorNode; o; o = $i(o)) if (n.has(o)) { r = o; break; @@ -8166,7 +8166,7 @@ class Pb { return; let n = this.pendingRecords(); n.length && (this.queue = []); - let r = e.domSelectionRange(), i = !this.suppressingSelectionUpdates && !this.currentSelection.eq(r) && yd(e) && !this.ignoreSelectionChange(r), o = -1, a = -1, s = !1, l = []; + let r = e.domSelectionRange(), i = !this.suppressingSelectionUpdates && !this.currentSelection.eq(r) && Od(e) && !this.ignoreSelectionChange(r), o = -1, a = -1, s = !1, l = []; if (e.editable) for (let u = 0; u < n.length; u++) { let d = this.registerMutation(n[u], l); @@ -8181,12 +8181,12 @@ class Pb { let { focusNode: d } = this.currentSelection; for (let p of u) { let _ = p.parentNode; - _ && _.nodeName == "LI" && (!d || Ub(e, d) != _) && p.remove(); + _ && _.nodeName == "LI" && (!d || Wb(e, d) != _) && p.remove(); } } } let c = null; - o < 0 && i && e.input.lastFocus > Date.now() - 200 && Math.max(e.input.lastTouch, e.input.lastClick.time) < Date.now() - 300 && is(r) && (c = Oc(e)) && c.eq(te.near(e.state.doc.resolve(0), 1)) ? (e.input.lastFocus = 0, gn(e), this.currentSelection.set(r), e.scrollToSelection()) : (o > -1 || i) && (o > -1 && (e.docView.markDirty(o, a), Fb(e)), this.handleDOMChange(o, a, s, l), e.docView && e.docView.dirty ? e.updateState(e.state) : this.currentSelection.eq(r) || gn(e), this.currentSelection.set(r)); + o < 0 && i && e.input.lastFocus > Date.now() - 200 && Math.max(e.input.lastTouch, e.input.lastClick.time) < Date.now() - 300 && ss(r) && (c = Ic(e)) && c.eq(te.near(e.state.doc.resolve(0), 1)) ? (e.input.lastFocus = 0, hn(e), this.currentSelection.set(r), e.scrollToSelection()) : (o > -1 || i) && (o > -1 && (e.docView.markDirty(o, a), $b(e)), this.handleDOMChange(o, a, s, l), e.docView && e.docView.dirty ? e.updateState(e.state) : this.currentSelection.eq(r) || hn(e), this.currentSelection.set(r)); } registerMutation(e, n) { if (n.indexOf(e.target) > -1) @@ -8221,31 +8221,31 @@ class Pb { }); } } -let Md = /* @__PURE__ */ new WeakMap(), wd = !1; -function Fb(t) { - if (!Md.has(t) && (Md.set(t, null), ["normal", "nowrap", "pre-line"].indexOf(getComputedStyle(t.dom).whiteSpace) !== -1)) { - if (t.requiresGeckoHackNode = Gt, wd) +let kd = /* @__PURE__ */ new WeakMap(), Pd = !1; +function $b(t) { + if (!kd.has(t) && (kd.set(t, null), ["normal", "nowrap", "pre-line"].indexOf(getComputedStyle(t.dom).whiteSpace) !== -1)) { + if (t.requiresGeckoHackNode = Gt, Pd) return; - console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."), wd = !0; + console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."), Pd = !0; } } -function Ld(t, e) { +function Fd(t, e) { let n = e.startContainer, r = e.startOffset, i = e.endContainer, o = e.endOffset, a = t.domAtPos(t.state.selection.anchor); return fr(a.node, a.offset, i, o) && ([n, r, i, o] = [i, o, n, r]), { anchorNode: n, anchorOffset: r, focusNode: i, focusOffset: o }; } -function Bb(t, e) { +function qb(t, e) { if (e.getComposedRanges) { let i = e.getComposedRanges(t.root)[0]; if (i) - return Ld(t, i); + return Fd(t, i); } let n; function r(i) { i.preventDefault(), i.stopImmediatePropagation(), n = i.getTargetRanges()[0]; } - return t.dom.addEventListener("beforeinput", r, !0), document.execCommand("indent"), t.dom.removeEventListener("beforeinput", r, !0), n ? Ld(t, n) : null; + return t.dom.addEventListener("beforeinput", r, !0), document.execCommand("indent"), t.dom.removeEventListener("beforeinput", r, !0), n ? Fd(t, n) : null; } -function Ub(t, e) { +function Wb(t, e) { for (let n = e.parentNode; n && n != t.dom; n = n.parentNode) { let r = t.docView.nearestDesc(n, !0); if (r && r.node.isBlock) @@ -8253,13 +8253,13 @@ function Ub(t, e) { } return null; } -function Hb(t, e, n) { +function Kb(t, e, n) { let { node: r, fromOffset: i, toOffset: o, from: a, to: s } = t.docView.parseRange(e, n), l = t.domSelectionRange(), c, u = l.anchorNode; - if (u && t.dom.contains(u.nodeType == 1 ? u : u.parentNode) && (c = [{ node: u, offset: l.anchorOffset }], is(l) || c.push({ node: l.focusNode, offset: l.focusOffset })), rt && t.input.lastKeyCode === 8) - for (let g = o; g > i; g--) { - let E = r.childNodes[g - 1], S = E.pmViewDesc; + if (u && t.dom.contains(u.nodeType == 1 ? u : u.parentNode) && (c = [{ node: u, offset: l.anchorOffset }], ss(l) || c.push({ node: l.focusNode, offset: l.focusOffset })), rt && t.input.lastKeyCode === 8) + for (let h = o; h > i; h--) { + let E = r.childNodes[h - 1], S = E.pmViewDesc; if (E.nodeName == "BR" && !S) { - o = g; + o = h; break; } if (!S || S.size) @@ -8273,16 +8273,16 @@ function Hb(t, e, n) { to: o, preserveWhitespace: _.parent.type.whitespace == "pre" ? "full" : !0, findPositions: c, - ruleFromNode: Gb, + ruleFromNode: Qb, context: _ }); if (c && c[0].pos != null) { - let g = c[0].pos, E = c[1] && c[1].pos; - E == null && (E = g), m = { anchor: g + a, head: E + a }; + let h = c[0].pos, E = c[1] && c[1].pos; + E == null && (E = h), m = { anchor: h + a, head: E + a }; } return { doc: f, sel: m, from: a, to: s }; } -function Gb(t) { +function Qb(t) { let e = t.pmViewDesc; if (e) return e.parseRule(); @@ -8296,11 +8296,11 @@ function Gb(t) { return { ignore: !0 }; return null; } -const Vb = /^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i; -function Yb(t, e, n, r, i) { +const Zb = /^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i; +function Xb(t, e, n, r, i) { let o = t.input.compositionPendingChanges || (t.composing ? t.input.compositionID : 0); if (t.input.compositionPendingChanges = 0, e < 0) { - let O = t.input.lastSelectionTime > Date.now() - 50 ? t.input.lastSelectionOrigin : null, M = Oc(t, O); + let O = t.input.lastSelectionTime > Date.now() - 50 ? t.input.lastSelectionOrigin : null, M = Ic(t, O); if (M && !t.state.selection.eq(M)) { if (rt && Ut && t.input.lastKeyCode === 13 && Date.now() - 100 < t.input.lastKeyCodeTime && t.someProp("handleKeyDown", (Y) => Y(t, Jn(13, "Enter")))) return; @@ -8311,10 +8311,10 @@ function Yb(t, e, n, r, i) { } let a = t.state.doc.resolve(e), s = a.sharedDepth(n); e = a.before(s + 1), n = t.state.doc.resolve(n).after(s + 1); - let l = t.state.selection, c = Hb(t, e, n), u = t.state.doc, d = u.slice(c.from, c.to), p, _; + let l = t.state.selection, c = Kb(t, e, n), u = t.state.doc, d = u.slice(c.from, c.to), p, _; t.input.lastKeyCode === 8 && Date.now() - 100 < t.input.lastKeyCodeTime ? (p = t.state.selection.to, _ = "end") : (p = t.state.selection.from, _ = "start"), t.input.lastKeyCode = null; - let m = qb(d.content, c.doc.content, c.from, p, _); - if (m && t.input.domChangeCount++, (ti && t.input.lastIOSEnter > Date.now() - 225 || Ut) && i.some((O) => O.nodeType == 1 && !Vb.test(O.nodeName)) && (!m || m.endA >= m.endB) && t.someProp("handleKeyDown", (O) => O(t, Jn(13, "Enter")))) { + let m = e0(d.content, c.doc.content, c.from, p, _); + if (m && t.input.domChangeCount++, (ti && t.input.lastIOSEnter > Date.now() - 225 || Ut) && i.some((O) => O.nodeType == 1 && !Zb.test(O.nodeName)) && (!m || m.endA >= m.endB) && t.someProp("handleKeyDown", (O) => O(t, Jn(13, "Enter")))) { t.input.lastIOSEnter = 0; return; } @@ -8323,7 +8323,7 @@ function Yb(t, e, n, r, i) { m = { start: l.from, endA: l.to, endB: l.to }; else { if (c.sel) { - let O = kd(t, t.state.doc, c.sel); + let O = Bd(t, t.state.doc, c.sel); if (O && !O.eq(t.state.selection)) { let M = t.state.tr.setSelection(O); o && M.setMeta("composition", o), t.dispatch(M); @@ -8332,46 +8332,46 @@ function Yb(t, e, n, r, i) { return; } t.state.selection.from < t.state.selection.to && m.start == m.endB && t.state.selection instanceof Z && (m.start > t.state.selection.from && m.start <= t.state.selection.from + 2 && t.state.selection.from >= c.from ? m.start = t.state.selection.from : m.endA < t.state.selection.to && m.endA >= t.state.selection.to - 2 && t.state.selection.to <= c.to && (m.endB += t.state.selection.to - m.endA, m.endA = t.state.selection.to)), pt && Bn <= 11 && m.endB == m.start + 1 && m.endA == m.start && m.start > c.from && c.doc.textBetween(m.start - c.from - 1, m.start - c.from + 1) == "  " && (m.start--, m.endA--, m.endB--); - let f = c.doc.resolveNoCache(m.start - c.from), g = c.doc.resolveNoCache(m.endB - c.from), E = u.resolve(m.start), S = f.sameParent(g) && f.parent.inlineContent && E.end() >= m.endA, b; - if ((ti && t.input.lastIOSEnter > Date.now() - 225 && (!S || i.some((O) => O.nodeName == "DIV" || O.nodeName == "P")) || !S && f.pos < c.doc.content.size && !f.sameParent(g) && (b = te.findFrom(c.doc.resolve(f.pos + 1), 1, !0)) && b.head == g.pos) && t.someProp("handleKeyDown", (O) => O(t, Jn(13, "Enter")))) { + let f = c.doc.resolveNoCache(m.start - c.from), h = c.doc.resolveNoCache(m.endB - c.from), E = u.resolve(m.start), S = f.sameParent(h) && f.parent.inlineContent && E.end() >= m.endA, b; + if ((ti && t.input.lastIOSEnter > Date.now() - 225 && (!S || i.some((O) => O.nodeName == "DIV" || O.nodeName == "P")) || !S && f.pos < c.doc.content.size && !f.sameParent(h) && (b = te.findFrom(c.doc.resolve(f.pos + 1), 1, !0)) && b.head == h.pos) && t.someProp("handleKeyDown", (O) => O(t, Jn(13, "Enter")))) { t.input.lastIOSEnter = 0; return; } - if (t.state.selection.anchor > m.start && $b(u, m.start, m.endA, f, g) && t.someProp("handleKeyDown", (O) => O(t, Jn(8, "Backspace")))) { + if (t.state.selection.anchor > m.start && Jb(u, m.start, m.endA, f, h) && t.someProp("handleKeyDown", (O) => O(t, Jn(8, "Backspace")))) { Ut && rt && t.domObserver.suppressSelectionUpdates(); return; } - rt && Ut && m.endB == m.start && (t.input.lastAndroidDelete = Date.now()), Ut && !S && f.start() != g.start() && g.parentOffset == 0 && f.depth == g.depth && c.sel && c.sel.anchor == c.sel.head && c.sel.head == m.endA && (m.endB -= 2, g = c.doc.resolveNoCache(m.endB - c.from), setTimeout(() => { + rt && Ut && m.endB == m.start && (t.input.lastAndroidDelete = Date.now()), Ut && !S && f.start() != h.start() && h.parentOffset == 0 && f.depth == h.depth && c.sel && c.sel.anchor == c.sel.head && c.sel.head == m.endA && (m.endB -= 2, h = c.doc.resolveNoCache(m.endB - c.from), setTimeout(() => { t.someProp("handleKeyDown", function(O) { return O(t, Jn(13, "Enter")); }); }, 20)); - let h = m.start, C = m.endA, T, R, x; + let g = m.start, C = m.endA, T, R, x; if (S) { - if (f.pos == g.pos) - pt && Bn <= 11 && f.parentOffset == 0 && (t.domObserver.suppressSelectionUpdates(), setTimeout(() => gn(t), 20)), T = t.state.tr.delete(h, C), R = u.resolve(m.start).marksAcross(u.resolve(m.endA)); + if (f.pos == h.pos) + pt && Bn <= 11 && f.parentOffset == 0 && (t.domObserver.suppressSelectionUpdates(), setTimeout(() => hn(t), 20)), T = t.state.tr.delete(g, C), R = u.resolve(m.start).marksAcross(u.resolve(m.endA)); else if ( // Adding or removing a mark - m.endA == m.endB && (x = zb(f.parent.content.cut(f.parentOffset, g.parentOffset), E.parent.content.cut(E.parentOffset, m.endA - E.start()))) + m.endA == m.endB && (x = jb(f.parent.content.cut(f.parentOffset, h.parentOffset), E.parent.content.cut(E.parentOffset, m.endA - E.start()))) ) - T = t.state.tr, x.type == "add" ? T.addMark(h, C, x.mark) : T.removeMark(h, C, x.mark); - else if (f.parent.child(f.index()).isText && f.index() == g.index() - (g.textOffset ? 0 : 1)) { - let O = f.parent.textBetween(f.parentOffset, g.parentOffset); - if (t.someProp("handleTextInput", (M) => M(t, h, C, O))) + T = t.state.tr, x.type == "add" ? T.addMark(g, C, x.mark) : T.removeMark(g, C, x.mark); + else if (f.parent.child(f.index()).isText && f.index() == h.index() - (h.textOffset ? 0 : 1)) { + let O = f.parent.textBetween(f.parentOffset, h.parentOffset); + if (t.someProp("handleTextInput", (M) => M(t, g, C, O))) return; - T = t.state.tr.insertText(O, h, C); + T = t.state.tr.insertText(O, g, C); } } - if (T || (T = t.state.tr.replace(h, C, c.doc.slice(m.start - c.from, m.endB - c.from))), c.sel) { - let O = kd(t, T.doc, c.sel); - O && !(rt && Ut && t.composing && O.empty && (m.start != m.endB || t.input.lastAndroidDelete < Date.now() - 100) && (O.head == h || O.head == T.mapping.map(C) - 1) || pt && O.empty && O.head == h) && T.setSelection(O); + if (T || (T = t.state.tr.replace(g, C, c.doc.slice(m.start - c.from, m.endB - c.from))), c.sel) { + let O = Bd(t, T.doc, c.sel); + O && !(rt && Ut && t.composing && O.empty && (m.start != m.endB || t.input.lastAndroidDelete < Date.now() - 100) && (O.head == g || O.head == T.mapping.map(C) - 1) || pt && O.empty && O.head == g) && T.setSelection(O); } R && T.ensureMarks(R), o && T.setMeta("composition", o), t.dispatch(T.scrollIntoView()); } -function kd(t, e, n) { - return Math.max(n.anchor, n.head) > e.content.size ? null : Nc(t, e.resolve(n.anchor), e.resolve(n.head)); +function Bd(t, e, n) { + return Math.max(n.anchor, n.head) > e.content.size ? null : xc(t, e.resolve(n.anchor), e.resolve(n.head)); } -function zb(t, e) { +function jb(t, e) { let n = t.firstChild.marks, r = e.firstChild.marks, i = n, o = r, a, s, l; for (let u = 0; u < r.length; u++) i = r[u].removeFromSet(i); @@ -8389,11 +8389,11 @@ function zb(t, e) { if (w.from(c).eq(t)) return { mark: s, type: a }; } -function $b(t, e, n, r, i) { +function Jb(t, e, n, r, i) { if ( // The content must have shrunk n - e <= i.pos - r.pos || // newEnd must point directly at or after the end of the block that newStart points into - zs(r, !0, !1) < i.pos + qs(r, !0, !1) < i.pos ) return !1; let o = t.resolve(e); @@ -8403,10 +8403,10 @@ function $b(t, e, n, r, i) { } if (o.parentOffset < o.parent.content.size || !o.parent.isTextblock) return !1; - let a = t.resolve(zs(o, !0, !0)); - return !a.parent.isTextblock || a.pos > n || zs(a, !0, !1) < n ? !1 : r.parent.content.cut(r.parentOffset).eq(a.parent.content); + let a = t.resolve(qs(o, !0, !0)); + return !a.parent.isTextblock || a.pos > n || qs(a, !0, !1) < n ? !1 : r.parent.content.cut(r.parentOffset).eq(a.parent.content); } -function zs(t, e, n) { +function qs(t, e, n) { let r = t.depth, i = e ? t.end() : t.pos; for (; r > 0 && (e || t.indexAfter(r) == t.node(r).childCount); ) r--, i++, e = !1; @@ -8417,7 +8417,7 @@ function zs(t, e, n) { } return i; } -function qb(t, e, n, r, i) { +function e0(t, e, n, r, i) { let o = t.findDiffStart(e, n); if (o == null) return null; @@ -8428,20 +8428,20 @@ function qb(t, e, n, r, i) { } if (a < o && t.size < e.size) { let l = r <= o && r >= a ? o - r : 0; - o -= l, o && o < e.size && Pd(e.textBetween(o - 1, o + 1)) && (o += l ? 1 : -1), s = o + (s - a), a = o; + o -= l, o && o < e.size && Ud(e.textBetween(o - 1, o + 1)) && (o += l ? 1 : -1), s = o + (s - a), a = o; } else if (s < o) { let l = r <= o && r >= s ? o - r : 0; - o -= l, o && o < t.size && Pd(t.textBetween(o - 1, o + 1)) && (o += l ? 1 : -1), a = o + (a - s), s = o; + o -= l, o && o < t.size && Ud(t.textBetween(o - 1, o + 1)) && (o += l ? 1 : -1), a = o + (a - s), s = o; } return { start: o, endA: a, endB: s }; } -function Pd(t) { +function Ud(t) { if (t.length != 2) return !1; let e = t.charCodeAt(0), n = t.charCodeAt(1); return e >= 56320 && e <= 57343 && n >= 55296 && n <= 56319; } -class Wb { +class t0 { /** Create a view. `place` may be a DOM node that the editor should be appended to, a function that will place it into the document, @@ -8450,7 +8450,7 @@ class Wb { added to the document. */ constructor(e, n) { - this._root = null, this.focused = !1, this.trackWrites = null, this.mounted = !1, this.markCursor = null, this.cursorWrapper = null, this.lastSelectedViewDesc = void 0, this.input = new pb(), this.prevDirectPlugins = [], this.pluginViews = [], this.requiresGeckoHackNode = !1, this.dragging = null, this._props = n, this.state = n.state, this.directPlugins = n.plugins || [], this.directPlugins.forEach(Gd), this.dispatch = this.dispatch.bind(this), this.dom = e && e.mount || document.createElement("div"), e && (e.appendChild ? e.appendChild(this.dom) : typeof e == "function" ? e(this.dom) : e.mount && (this.mounted = !0)), this.editable = Ud(this), Bd(this), this.nodeViews = Hd(this), this.docView = hd(this.state.doc, Fd(this), Ys(this), this.dom, this), this.domObserver = new Pb(this, (r, i, o, a) => Yb(this, r, i, o, a)), this.domObserver.start(), _b(this), this.updatePluginViews(); + this._root = null, this.focused = !1, this.trackWrites = null, this.mounted = !1, this.markCursor = null, this.cursorWrapper = null, this.lastSelectedViewDesc = void 0, this.input = new bb(), this.prevDirectPlugins = [], this.pluginViews = [], this.requiresGeckoHackNode = !1, this.dragging = null, this._props = n, this.state = n.state, this.directPlugins = n.plugins || [], this.directPlugins.forEach(zd), this.dispatch = this.dispatch.bind(this), this.dom = e && e.mount || document.createElement("div"), e && (e.appendChild ? e.appendChild(this.dom) : typeof e == "function" ? e(this.dom) : e.mount && (this.mounted = !0)), this.editable = Vd(this), Gd(this), this.nodeViews = Yd(this), this.docView = bd(this.state.doc, Hd(this), $s(this), this.dom, this), this.domObserver = new zb(this, (r, i, o, a) => Xb(this, r, i, o, a)), this.domObserver.start(), Tb(this), this.updatePluginViews(); } /** Holds `true` when a @@ -8478,9 +8478,9 @@ class Wb { the DOM. */ update(e) { - e.handleDOMEvents != this._props.handleDOMEvents && zl(this); + e.handleDOMEvents != this._props.handleDOMEvents && ql(this); let n = this._props; - this._props = e, e.plugins && (e.plugins.forEach(Gd), this.directPlugins = e.plugins), this.updateStateInner(e.state, n); + this._props = e, e.plugins && (e.plugins.forEach(zd), this.directPlugins = e.plugins), this.updateStateInner(e.state, n); } /** Update the view by updating existing props object with the object @@ -8506,26 +8506,26 @@ class Wb { updateStateInner(e, n) { var r; let i = this.state, o = !1, a = !1; - e.storedMarks && this.composing && (df(this), a = !0), this.state = e; + e.storedMarks && this.composing && (ff(this), a = !0), this.state = e; let s = i.plugins != e.plugins || this._props.plugins != n.plugins; if (s || this._props.plugins != n.plugins || this._props.nodeViews != n.nodeViews) { - let _ = Hd(this); - Qb(_, this.nodeViews) && (this.nodeViews = _, o = !0); + let _ = Yd(this); + r0(_, this.nodeViews) && (this.nodeViews = _, o = !0); } - (s || n.handleDOMEvents != this._props.handleDOMEvents) && zl(this), this.editable = Ud(this), Bd(this); - let l = Ys(this), c = Fd(this), u = i.plugins != e.plugins && !i.doc.eq(e.doc) ? "reset" : e.scrollToSelection > i.scrollToSelection ? "to selection" : "preserve", d = o || !this.docView.matchesNode(e.doc, c, l); + (s || n.handleDOMEvents != this._props.handleDOMEvents) && ql(this), this.editable = Vd(this), Gd(this); + let l = $s(this), c = Hd(this), u = i.plugins != e.plugins && !i.doc.eq(e.doc) ? "reset" : e.scrollToSelection > i.scrollToSelection ? "to selection" : "preserve", d = o || !this.docView.matchesNode(e.doc, c, l); (d || !e.selection.eq(i.selection)) && (a = !0); - let p = u == "preserve" && a && this.dom.style.overflowAnchor == null && NS(this); + let p = u == "preserve" && a && this.dom.style.overflowAnchor == null && kS(this); if (a) { this.domObserver.stop(); - let _ = d && (pt || rt) && !this.composing && !i.selection.empty && !e.selection.empty && Kb(i.selection, e.selection); + let _ = d && (pt || rt) && !this.composing && !i.selection.empty && !e.selection.empty && n0(i.selection, e.selection); if (d) { let m = rt ? this.trackWrites = this.domSelectionRange().focusNode : null; - this.composing && (this.input.compositionNode = Ob(this)), (o || !this.docView.update(e.doc, c, l, this)) && (this.docView.updateOuterDeco(c), this.docView.destroy(), this.docView = hd(e.doc, c, l, this.dom, this)), m && !this.trackWrites && (_ = !0); + this.composing && (this.input.compositionNode = Lb(this)), (o || !this.docView.update(e.doc, c, l, this)) && (this.docView.updateOuterDeco(c), this.docView.destroy(), this.docView = bd(e.doc, c, l, this.dom, this)), m && !this.trackWrites && (_ = !0); } - _ || !(this.input.mouseDown && this.domObserver.currentSelection.eq(this.domSelectionRange()) && XS(this)) ? gn(this, _) : (Xm(this, e.selection), this.domObserver.setCurSelection()), this.domObserver.start(); + _ || !(this.input.mouseDown && this.domObserver.currentSelection.eq(this.domSelectionRange()) && ob(this)) ? hn(this, _) : (tf(this, e.selection), this.domObserver.setCurSelection()), this.domObserver.start(); } - this.updatePluginViews(i), !((r = this.dragging) === null || r === void 0) && r.node && !i.doc.eq(e.doc) && this.updateDraggedNode(this.dragging, i), u == "reset" ? this.dom.scrollTop = 0 : u == "to selection" ? this.scrollToSelection() : p && AS(p); + this.updatePluginViews(i), !((r = this.dragging) === null || r === void 0) && r.node && !i.doc.eq(e.doc) && this.updateDraggedNode(this.dragging, i), u == "reset" ? this.dom.scrollTop = 0 : u == "to selection" ? this.scrollToSelection() : p && PS(p); } /** @internal @@ -8534,9 +8534,9 @@ class Wb { let e = this.domSelectionRange().focusNode; if (!this.someProp("handleScrollToSelection", (n) => n(this))) if (this.state.selection instanceof ee) { let n = this.docView.domAfterPos(this.state.selection.from); - n.nodeType == 1 && dd(this, n.getBoundingClientRect(), e); + n.nodeType == 1 && md(this, n.getBoundingClientRect(), e); } else - dd(this, this.coordsAtPos(this.state.selection.head, 1), e); + md(this, this.coordsAtPos(this.state.selection.head, 1), e); } destroyPluginViews() { let e; @@ -8568,7 +8568,7 @@ class Wb { let o = r.from + (this.state.doc.content.size - n.doc.content.size); (o > 0 && this.state.doc.nodeAt(o)) == r.node && (i = o); } - this.dragging = new _f(e.slice, e.move, i < 0 ? void 0 : ee.create(this.state.doc, i)); + this.dragging = new gf(e.slice, e.move, i < 0 ? void 0 : ee.create(this.state.doc, i)); } someProp(e, n) { let r = this._props && this._props[e], i; @@ -8610,7 +8610,7 @@ class Wb { Focus the editor. */ focus() { - this.domObserver.stop(), this.editable && IS(this.dom), gn(this), this.domObserver.start(); + this.domObserver.stop(), this.editable && FS(this.dom), hn(this), this.domObserver.start(); } /** Get the document root in which the editor exists. This will @@ -8644,7 +8644,7 @@ class Wb { the top level, not in any node. */ posAtCoords(e) { - return LS(this, e); + return VS(this, e); } /** Returns the viewport rectangle at a given document position. @@ -8655,7 +8655,7 @@ class Wb { otherwise the element after. */ coordsAtPos(e, n = 1) { - return Ym(this, e, n); + return Wm(this, e, n); } /** Find the DOM position that corresponds to the given document @@ -8709,7 +8709,7 @@ class Wb { pass a different state. */ endOfTextblock(e, n) { - return US(this, n || this.state, e); + return WS(this, n || this.state, e); } /** Run the editor's paste logic with the given HTML string. The @@ -8717,20 +8717,20 @@ class Wb { [`handlePaste`](https://prosemirror.net/docs/ref/#view.EditorProps.handlePaste) hook. */ pasteHTML(e, n) { - return qi(this, "", e, !1, n || new ClipboardEvent("paste")); + return Wi(this, "", e, !1, n || new ClipboardEvent("paste")); } /** Run the editor's paste logic with the given plain-text input. */ pasteText(e, n) { - return qi(this, e, null, !0, n || new ClipboardEvent("paste")); + return Wi(this, e, null, !0, n || new ClipboardEvent("paste")); } /** Removes the editor from the DOM and destroys all [node views](https://prosemirror.net/docs/ref/#view.NodeView). */ destroy() { - this.docView && (mb(this), this.destroyPluginViews(), this.mounted ? (this.docView.update(this.state.doc, [], Ys(this), this), this.dom.textContent = "") : this.dom.parentNode && this.dom.parentNode.removeChild(this.dom), this.docView.destroy(), this.docView = null, gS()); + this.docView && (Cb(this), this.destroyPluginViews(), this.mounted ? (this.docView.update(this.state.doc, [], $s(this), this), this.dom.textContent = "") : this.dom.parentNode && this.dom.parentNode.removeChild(this.dom), this.docView.destroy(), this.docView = null, vS()); } /** This is true when the view has been @@ -8744,7 +8744,7 @@ class Wb { Used for testing. */ dispatchEvent(e) { - return gb(this, e); + return vb(this, e); } /** Dispatch a transaction. Will call @@ -8764,7 +8764,7 @@ class Wb { */ domSelectionRange() { let e = this.domSelection(); - return e ? st && this.root.nodeType === 11 && TS(this.dom.ownerDocument) == this.dom && Bb(this, e) || e : { focusNode: null, focusOffset: 0, anchorNode: null, anchorOffset: 0 }; + return e ? st && this.root.nodeType === 11 && IS(this.dom.ownerDocument) == this.dom && qb(this, e) || e : { focusNode: null, focusOffset: 0, anchorNode: null, anchorOffset: 0 }; } /** @internal @@ -8773,7 +8773,7 @@ class Wb { return this.root.getSelection(); } } -function Fd(t) { +function Hd(t) { let e = /* @__PURE__ */ Object.create(null); return e.class = "ProseMirror", e.contenteditable = String(t.editable), t.someProp("attributes", (n) => { if (typeof n == "function" && (n = n(t.state)), n) @@ -8781,21 +8781,21 @@ function Fd(t) { r == "class" ? e.class += " " + n[r] : r == "style" ? e.style = (e.style ? e.style + ";" : "") + n[r] : !e[r] && r != "contenteditable" && r != "nodeName" && (e[r] = String(n[r])); }), e.translate || (e.translate = "no"), [ke.node(0, t.state.doc.content.size, e)]; } -function Bd(t) { +function Gd(t) { if (t.markCursor) { let e = document.createElement("img"); e.className = "ProseMirror-separator", e.setAttribute("mark-placeholder", "true"), e.setAttribute("alt", ""), t.cursorWrapper = { dom: e, deco: ke.widget(t.state.selection.from, e, { raw: !0, marks: t.markCursor }) }; } else t.cursorWrapper = null; } -function Ud(t) { +function Vd(t) { return !t.someProp("editable", (e) => e(t.state) === !1); } -function Kb(t, e) { +function n0(t, e) { let n = Math.min(t.$anchor.sharedDepth(t.head), e.$anchor.sharedDepth(e.head)); return t.$anchor.start(n) != e.$anchor.start(n); } -function Hd(t) { +function Yd(t) { let e = /* @__PURE__ */ Object.create(null); function n(r) { for (let i in r) @@ -8803,7 +8803,7 @@ function Hd(t) { } return t.someProp("nodeViews", n), t.someProp("markViews", n), e; } -function Qb(t, e) { +function r0(t, e) { let n = 0, r = 0; for (let i in t) { if (t[i] != e[i]) @@ -8814,7 +8814,7 @@ function Qb(t, e) { r++; return n != r; } -function Gd(t) { +function zd(t) { if (t.spec.state || t.spec.filterTransaction || t.spec.appendTransaction) throw new RangeError("Plugins passed directly to the view must not have a state component"); } @@ -8871,7 +8871,7 @@ var Gn = { 220: "\\", 221: "]", 222: "'" -}, Ea = { +}, ba = { 48: ")", 49: "!", 50: "@", @@ -8896,18 +8896,18 @@ var Gn = { 220: "|", 221: "}", 222: '"' -}, Zb = typeof navigator < "u" && /Mac/.test(navigator.platform), Xb = typeof navigator < "u" && /MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent); +}, i0 = typeof navigator < "u" && /Mac/.test(navigator.platform), o0 = typeof navigator < "u" && /MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent); for (var je = 0; je < 10; je++) Gn[48 + je] = Gn[96 + je] = String(je); for (var je = 1; je <= 24; je++) Gn[je + 111] = "F" + je; for (var je = 65; je <= 90; je++) - Gn[je] = String.fromCharCode(je + 32), Ea[je] = String.fromCharCode(je); -for (var $s in Gn) Ea.hasOwnProperty($s) || (Ea[$s] = Gn[$s]); -function jb(t) { - var e = Zb && t.metaKey && t.shiftKey && !t.ctrlKey && !t.altKey || Xb && t.shiftKey && t.key && t.key.length == 1 || t.key == "Unidentified", n = !e && t.key || (t.shiftKey ? Ea : Gn)[t.keyCode] || t.key || "Unidentified"; + Gn[je] = String.fromCharCode(je + 32), ba[je] = String.fromCharCode(je); +for (var Ws in Gn) ba.hasOwnProperty(Ws) || (ba[Ws] = Gn[Ws]); +function a0(t) { + var e = i0 && t.metaKey && t.shiftKey && !t.ctrlKey && !t.altKey || o0 && t.shiftKey && t.key && t.key.length == 1 || t.key == "Unidentified", n = !e && t.key || (t.shiftKey ? ba : Gn)[t.keyCode] || t.key || "Unidentified"; return n == "Esc" && (n = "Escape"), n == "Del" && (n = "Delete"), n == "Left" && (n = "ArrowLeft"), n == "Up" && (n = "ArrowUp"), n == "Right" && (n = "ArrowRight"), n == "Down" && (n = "ArrowDown"), n; } -const Jb = typeof navigator < "u" ? /Mac|iP(hone|[oa]d)/.test(navigator.platform) : !1; -function e0(t) { +const s0 = typeof navigator < "u" ? /Mac|iP(hone|[oa]d)/.test(navigator.platform) : !1; +function l0(t) { let e = t.split(/-(?!$)/), n = e[e.length - 1]; n == "Space" && (n = " "); let r, i, o, a; @@ -8922,38 +8922,38 @@ function e0(t) { else if (/^s(hift)?$/i.test(l)) o = !0; else if (/^mod$/i.test(l)) - Jb ? a = !0 : i = !0; + s0 ? a = !0 : i = !0; else throw new Error("Unrecognized modifier name: " + l); } return r && (n = "Alt-" + n), i && (n = "Ctrl-" + n), a && (n = "Meta-" + n), o && (n = "Shift-" + n), n; } -function t0(t) { +function c0(t) { let e = /* @__PURE__ */ Object.create(null); for (let n in t) - e[e0(n)] = t[n]; + e[l0(n)] = t[n]; return e; } -function qs(t, e, n = !0) { +function Ks(t, e, n = !0) { return e.altKey && (t = "Alt-" + t), e.ctrlKey && (t = "Ctrl-" + t), e.metaKey && (t = "Meta-" + t), n && e.shiftKey && (t = "Shift-" + t), t; } -function n0(t) { - return new Se({ props: { handleKeyDown: wc(t) } }); +function u0(t) { + return new Se({ props: { handleKeyDown: Pc(t) } }); } -function wc(t) { - let e = t0(t); +function Pc(t) { + let e = c0(t); return function(n, r) { - let i = jb(r), o, a = e[qs(i, r)]; + let i = a0(r), o, a = e[Ks(i, r)]; if (a && a(n.state, n.dispatch, n)) return !0; if (i.length == 1 && i != " ") { if (r.shiftKey) { - let s = e[qs(i, r, !1)]; + let s = e[Ks(i, r, !1)]; if (s && s(n.state, n.dispatch, n)) return !0; } if ((r.shiftKey || r.altKey || r.metaKey || i.charCodeAt(0) > 127) && (o = Gn[r.keyCode]) && o != i) { - let s = e[qs(o, r)]; + let s = e[Ks(o, r)]; if (s && s(n.state, n.dispatch, n)) return !0; } @@ -8961,26 +8961,26 @@ function wc(t) { return !1; }; } -const r0 = (t, e) => t.selection.empty ? !1 : (e && e(t.tr.deleteSelection().scrollIntoView()), !0); -function Ef(t, e) { +const d0 = (t, e) => t.selection.empty ? !1 : (e && e(t.tr.deleteSelection().scrollIntoView()), !0); +function Cf(t, e) { let { $cursor: n } = t.selection; return !n || (e ? !e.endOfTextblock("backward", t) : n.parentOffset > 0) ? null : n; } -const i0 = (t, e, n) => { - let r = Ef(t, n); +const p0 = (t, e, n) => { + let r = Cf(t, n); if (!r) return !1; - let i = Lc(r); + let i = Fc(r); if (!i) { - let a = r.blockRange(), s = a && _i(a); + let a = r.blockRange(), s = a && mi(a); return s == null ? !1 : (e && e(t.tr.lift(a, s).scrollIntoView()), !0); } let o = i.nodeBefore; - if (Cf(t, i, e, -1)) + if (Of(t, i, e, -1)) return !0; if (r.parent.content.size == 0 && (ni(o, "end") || ee.isSelectable(o))) for (let a = r.depth; ; a--) { - let s = ns(t.doc, r.before(a), r.after(a), H.empty); + let s = is(t.doc, r.before(a), r.after(a), H.empty); if (s && s.slice.size < s.to - s.from) { if (e) { let l = t.tr.step(s); @@ -8992,20 +8992,20 @@ const i0 = (t, e, n) => { break; } return o.isAtom && i.depth == r.depth - 1 ? (e && e(t.tr.delete(i.pos - o.nodeSize, i.pos).scrollIntoView()), !0) : !1; -}, o0 = (t, e, n) => { - let r = Ef(t, n); +}, _0 = (t, e, n) => { + let r = Cf(t, n); if (!r) return !1; - let i = Lc(r); - return i ? Sf(t, i, e) : !1; -}, a0 = (t, e, n) => { - let r = bf(t, n); + let i = Fc(r); + return i ? yf(t, i, e) : !1; +}, m0 = (t, e, n) => { + let r = vf(t, n); if (!r) return !1; - let i = kc(r); - return i ? Sf(t, i, e) : !1; + let i = Bc(r); + return i ? yf(t, i, e) : !1; }; -function Sf(t, e, n) { +function yf(t, e, n) { let r = e.nodeBefore, i = r, o = e.pos - 1; for (; !i.isTextblock; o--) { if (i.type.spec.isolating) @@ -9024,7 +9024,7 @@ function Sf(t, e, n) { return !1; s = u; } - let c = ns(t.doc, o, l, H.empty); + let c = is(t.doc, o, l, H.empty); if (!c || c.from != o || c instanceof Ue && c.slice.size >= l - o) return !1; if (n) { @@ -9042,19 +9042,19 @@ function ni(t, e, n = !1) { } return !1; } -const s0 = (t, e, n) => { +const f0 = (t, e, n) => { let { $head: r, empty: i } = t.selection, o = r; if (!i) return !1; if (r.parent.isTextblock) { if (n ? !n.endOfTextblock("backward", t) : r.parentOffset > 0) return !1; - o = Lc(r); + o = Fc(r); } let a = o && o.nodeBefore; return !a || !ee.isSelectable(a) ? !1 : (e && e(t.tr.setSelection(ee.create(t.doc, o.pos - a.nodeSize)).scrollIntoView()), !0); }; -function Lc(t) { +function Fc(t) { if (!t.parent.type.spec.isolating) for (let e = t.depth - 1; e >= 0; e--) { if (t.index(e) > 0) @@ -9064,22 +9064,22 @@ function Lc(t) { } return null; } -function bf(t, e) { +function vf(t, e) { let { $cursor: n } = t.selection; return !n || (e ? !e.endOfTextblock("forward", t) : n.parentOffset < n.parent.content.size) ? null : n; } -const l0 = (t, e, n) => { - let r = bf(t, n); +const h0 = (t, e, n) => { + let r = vf(t, n); if (!r) return !1; - let i = kc(r); + let i = Bc(r); if (!i) return !1; let o = i.nodeAfter; - if (Cf(t, i, e, 1)) + if (Of(t, i, e, 1)) return !0; if (r.parent.content.size == 0 && (ni(o, "start") || ee.isSelectable(o))) { - let a = ns(t.doc, r.before(), r.after(), H.empty); + let a = is(t.doc, r.before(), r.after(), H.empty); if (a && a.slice.size < a.to - a.from) { if (e) { let s = t.tr.step(a); @@ -9089,19 +9089,19 @@ const l0 = (t, e, n) => { } } return o.isAtom && i.depth == r.depth - 1 ? (e && e(t.tr.delete(i.pos, i.pos + o.nodeSize).scrollIntoView()), !0) : !1; -}, c0 = (t, e, n) => { +}, g0 = (t, e, n) => { let { $head: r, empty: i } = t.selection, o = r; if (!i) return !1; if (r.parent.isTextblock) { if (n ? !n.endOfTextblock("forward", t) : r.parentOffset < r.parent.content.size) return !1; - o = kc(r); + o = Bc(r); } let a = o && o.nodeAfter; return !a || !ee.isSelectable(a) ? !1 : (e && e(t.tr.setSelection(ee.create(t.doc, o.pos)).scrollIntoView()), !0); }; -function kc(t) { +function Bc(t) { if (!t.parent.type.spec.isolating) for (let e = t.depth - 1; e >= 0; e--) { let n = t.node(e); @@ -9112,37 +9112,37 @@ function kc(t) { } return null; } -const u0 = (t, e) => { +const E0 = (t, e) => { let n = t.selection, r = n instanceof ee, i; if (r) { if (n.node.isTextblock || !$n(t.doc, n.from)) return !1; i = n.from; - } else if (i = ts(t.doc, n.from, -1), i == null) + } else if (i = rs(t.doc, n.from, -1), i == null) return !1; if (e) { let o = t.tr.join(i); r && o.setSelection(ee.create(o.doc, i - t.doc.resolve(i).nodeBefore.nodeSize)), e(o.scrollIntoView()); } return !0; -}, d0 = (t, e) => { +}, S0 = (t, e) => { let n = t.selection, r; if (n instanceof ee) { if (n.node.isTextblock || !$n(t.doc, n.to)) return !1; r = n.to; - } else if (r = ts(t.doc, n.to, 1), r == null) + } else if (r = rs(t.doc, n.to, 1), r == null) return !1; return e && e(t.tr.join(r).scrollIntoView()), !0; -}, p0 = (t, e) => { - let { $from: n, $to: r } = t.selection, i = n.blockRange(r), o = i && _i(i); +}, b0 = (t, e) => { + let { $from: n, $to: r } = t.selection, i = n.blockRange(r), o = i && mi(i); return o == null ? !1 : (e && e(t.tr.lift(i, o).scrollIntoView()), !0); -}, _0 = (t, e) => { +}, T0 = (t, e) => { let { $head: n, $anchor: r } = t.selection; return !n.parent.type.spec.code || !n.sameParent(r) ? !1 : (e && e(t.tr.insertText(` `).scrollIntoView()), !0); }; -function Tf(t) { +function Rf(t) { for (let e = 0; e < t.edgeCount; e++) { let { type: n } = t.edge(e); if (n.isTextblock && !n.hasRequiredAttrs()) @@ -9150,11 +9150,11 @@ function Tf(t) { } return null; } -const m0 = (t, e) => { +const C0 = (t, e) => { let { $head: n, $anchor: r } = t.selection; if (!n.parent.type.spec.code || !n.sameParent(r)) return !1; - let i = n.node(-1), o = n.indexAfter(-1), a = Tf(i.contentMatchAt(o)); + let i = n.node(-1), o = n.indexAfter(-1), a = Rf(i.contentMatchAt(o)); if (!a || !i.canReplaceWith(o, o, a)) return !1; if (e) { @@ -9162,11 +9162,11 @@ const m0 = (t, e) => { l.setSelection(te.near(l.doc.resolve(s), 1)), e(l.scrollIntoView()); } return !0; -}, f0 = (t, e) => { +}, y0 = (t, e) => { let n = t.selection, { $from: r, $to: i } = n; if (n instanceof Dt || r.parent.inlineContent || i.parent.inlineContent) return !1; - let o = Tf(i.parent.contentMatchAt(i.indexAfter())); + let o = Rf(i.parent.contentMatchAt(i.indexAfter())); if (!o || !o.isTextblock) return !1; if (e) { @@ -9174,7 +9174,7 @@ const m0 = (t, e) => { s.setSelection(Z.create(s.doc, a + 1)), e(s.scrollIntoView()); } return !0; -}, g0 = (t, e) => { +}, v0 = (t, e) => { let { $cursor: n } = t.selection; if (!n || n.parent.content.size) return !1; @@ -9183,19 +9183,19 @@ const m0 = (t, e) => { if (Qr(t.doc, o)) return e && e(t.tr.split(o).scrollIntoView()), !0; } - let r = n.blockRange(), i = r && _i(r); + let r = n.blockRange(), i = r && mi(r); return i == null ? !1 : (e && e(t.tr.lift(r, i).scrollIntoView()), !0); -}, h0 = (t, e) => { +}, R0 = (t, e) => { let { $from: n, to: r } = t.selection, i, o = n.sharedDepth(r); return o == 0 ? !1 : (i = n.before(o), e && e(t.tr.setSelection(ee.create(t.doc, i))), !0); }; -function E0(t, e, n) { +function O0(t, e, n) { let r = e.nodeBefore, i = e.nodeAfter, o = e.index(); return !r || !i || !r.type.compatibleContent(i.type) ? !1 : !r.content.size && e.parent.canReplace(o - 1, o) ? (n && n(t.tr.delete(e.pos - r.nodeSize, e.pos).scrollIntoView()), !0) : !e.parent.canReplace(o, o + 1) || !(i.isTextblock || $n(t.doc, e.pos)) ? !1 : (n && n(t.tr.join(e.pos).scrollIntoView()), !0); } -function Cf(t, e, n, r) { +function Of(t, e, n, r) { let i = e.nodeBefore, o = e.nodeAfter, a, s, l = i.type.spec.isolating || o.type.spec.isolating; - if (!l && E0(t, e, n)) + if (!l && O0(t, e, n)) return !0; let c = !l && e.parent.canReplace(e.index(), e.index() + 1); if (c && (a = (s = i.contentMatchAt(i.childCount)).findWrapping(o.type)) && s.matchType(a[0] || o.type).validEnd) { @@ -9204,27 +9204,27 @@ function Cf(t, e, n, r) { for (let E = a.length - 1; E >= 0; E--) m = w.from(a[E].create(null, m)); m = w.from(i.copy(m)); - let f = t.tr.step(new ze(e.pos - 1, _, e.pos, _, new H(m, 1, 0), a.length, !0)), g = f.doc.resolve(_ + 2 * a.length); - g.nodeAfter && g.nodeAfter.type == i.type && $n(f.doc, g.pos) && f.join(g.pos), n(f.scrollIntoView()); + let f = t.tr.step(new ze(e.pos - 1, _, e.pos, _, new H(m, 1, 0), a.length, !0)), h = f.doc.resolve(_ + 2 * a.length); + h.nodeAfter && h.nodeAfter.type == i.type && $n(f.doc, h.pos) && f.join(h.pos), n(f.scrollIntoView()); } return !0; } - let u = o.type.spec.isolating || r > 0 && l ? null : te.findFrom(e, 1), d = u && u.$from.blockRange(u.$to), p = d && _i(d); + let u = o.type.spec.isolating || r > 0 && l ? null : te.findFrom(e, 1), d = u && u.$from.blockRange(u.$to), p = d && mi(d); if (p != null && p >= e.depth) return n && n(t.tr.lift(d, p).scrollIntoView()), !0; if (c && ni(o, "start", !0) && ni(i, "end")) { let _ = i, m = []; for (; m.push(_), !_.isTextblock; ) _ = _.lastChild; - let f = o, g = 1; + let f = o, h = 1; for (; !f.isTextblock; f = f.firstChild) - g++; + h++; if (_.canReplace(_.childCount, _.childCount, f.content)) { if (n) { let E = w.empty; for (let b = m.length - 1; b >= 0; b--) E = w.from(m[b].copy(E)); - let S = t.tr.step(new ze(e.pos - m.length, e.pos + o.nodeSize, e.pos + g, e.pos + o.nodeSize - g, new H(E, m.length, 0), 0, !0)); + let S = t.tr.step(new ze(e.pos - m.length, e.pos + o.nodeSize, e.pos + h, e.pos + o.nodeSize - h, new H(E, m.length, 0), 0, !0)); n(S.scrollIntoView()); } return !0; @@ -9232,7 +9232,7 @@ function Cf(t, e, n, r) { } return !1; } -function yf(t) { +function Nf(t) { return function(e, n) { let r = e.selection, i = t < 0 ? r.$from : r.$to, o = i.depth; for (; i.node(o).isInline; ) { @@ -9243,14 +9243,14 @@ function yf(t) { return i.node(o).isTextblock ? (n && n(e.tr.setSelection(Z.create(e.doc, t < 0 ? i.start(o) : i.end(o)))), !0) : !1; }; } -const S0 = yf(-1), b0 = yf(1); -function T0(t, e = null) { +const N0 = Nf(-1), A0 = Nf(1); +function I0(t, e = null) { return function(n, r) { - let { $from: i, $to: o } = n.selection, a = i.blockRange(o), s = a && Cc(a, t, e); + let { $from: i, $to: o } = n.selection, a = i.blockRange(o), s = a && Rc(a, t, e); return s ? (r && r(n.tr.wrap(a, s).scrollIntoView()), !0) : !1; }; } -function Vd(t, e = null) { +function $d(t, e = null) { return function(n, r) { let i = !1; for (let o = 0; o < n.selection.ranges.length && !i; o++) { @@ -9281,7 +9281,7 @@ function Vd(t, e = null) { }; } typeof navigator < "u" ? /Mac|iP(hone|[oa]d)/.test(navigator.platform) : typeof os < "u" && os.platform && os.platform() == "darwin"; -function C0(t, e = null) { +function x0(t, e = null) { return function(n, r) { let { $from: i, $to: o } = n.selection, a = i.blockRange(o), s = !1, l = a; if (!a) @@ -9290,13 +9290,13 @@ function C0(t, e = null) { if (i.index(a.depth - 1) == 0) return !1; let u = n.doc.resolve(a.start - 2); - l = new ca(u, u, a.depth), a.endIndex < a.parent.childCount && (a = new ca(i, n.doc.resolve(o.end(a.depth)), a.depth)), s = !0; + l = new da(u, u, a.depth), a.endIndex < a.parent.childCount && (a = new da(i, n.doc.resolve(o.end(a.depth)), a.depth)), s = !0; } - let c = Cc(l, t, e, a); - return c ? (r && r(y0(n.tr, a, c, s, t).scrollIntoView()), !0) : !1; + let c = Rc(l, t, e, a); + return c ? (r && r(D0(n.tr, a, c, s, t).scrollIntoView()), !0) : !1; }; } -function y0(t, e, n, r, i) { +function D0(t, e, n, r, i) { let o = w.empty; for (let u = n.length - 1; u >= 0; u--) o = w.from(n[u].type.create(n[u].attrs, o)); @@ -9309,23 +9309,23 @@ function y0(t, e, n, r, i) { !p && Qr(t.doc, l, s) && (t.split(l, s), l += 2 * s), l += c.child(u).nodeSize; return t; } -function v0(t) { +function M0(t) { return function(e, n) { let { $from: r, $to: i } = e.selection, o = r.blockRange(i, (a) => a.childCount > 0 && a.firstChild.type == t); - return o ? n ? r.node(o.depth - 1).type == t ? R0(e, n, t, o) : O0(e, n, o) : !0 : !1; + return o ? n ? r.node(o.depth - 1).type == t ? w0(e, n, t, o) : L0(e, n, o) : !0 : !1; }; } -function R0(t, e, n, r) { +function w0(t, e, n, r) { let i = t.tr, o = r.end, a = r.$to.end(r.depth); - o < a && (i.step(new ze(o - 1, a, o, a, new H(w.from(n.create(null, r.parent.copy())), 1, 0), 1, !0)), r = new ca(i.doc.resolve(r.$from.pos), i.doc.resolve(a), r.depth)); - const s = _i(r); + o < a && (i.step(new ze(o - 1, a, o, a, new H(w.from(n.create(null, r.parent.copy())), 1, 0), 1, !0)), r = new da(i.doc.resolve(r.$from.pos), i.doc.resolve(a), r.depth)); + const s = mi(r); if (s == null) return !1; i.lift(r, s); let l = i.mapping.map(o, -1) - 1; return $n(i.doc, l) && i.join(l), e(i.scrollIntoView()), !0; } -function O0(t, e, n) { +function L0(t, e, n) { let r = t.tr, i = n.parent; for (let _ = n.end, m = n.endIndex - 1, f = n.startIndex; m > f; m--) _ -= i.child(m).nodeSize, r.delete(_ - 1, _ + 1); @@ -9338,7 +9338,7 @@ function O0(t, e, n) { let d = o.pos, p = d + a.nodeSize; return r.step(new ze(d - (s ? 1 : 0), p + (l ? 1 : 0), d + 1, p - 1, new H((s ? w.empty : w.from(i.copy(w.empty))).append(l ? w.empty : w.from(i.copy(w.empty))), s ? 0 : 1, l ? 0 : 1), s ? 0 : 1)), e(r.scrollIntoView()), !0; } -function N0(t) { +function k0(t) { return function(e, n) { let { $from: r, $to: i } = e.selection, o = r.blockRange(i, (c) => c.childCount > 0 && c.firstChild.type == t); if (!o) @@ -9356,7 +9356,7 @@ function N0(t) { return !0; }; } -function ls(t) { +function us(t) { const { state: e, transaction: n } = t; let { selection: r } = n, { doc: i } = n, { storedMarks: o } = n; return { @@ -9381,7 +9381,7 @@ function ls(t) { } }; } -class cs { +class ds { constructor(e) { this.editor = e.editor, this.rawCommands = this.editor.extensionManager.commands, this.customState = e.state; } @@ -9407,7 +9407,7 @@ class cs { createChain(e, n = !0) { const { rawCommands: r, editor: i, state: o } = this, { view: a } = i, s = [], l = !!e, c = e || o.tr, u = () => (!l && n && !c.getMeta("preventDispatch") && !this.hasCustomState && a.dispatch(c), s.every((p) => p === !0)), d = { ...Object.fromEntries(Object.entries(r).map(([p, _]) => [p, (...f) => { - const g = this.buildProps(c, n), E = _(...f)(g); + const h = this.buildProps(c, n), E = _(...f)(h); return s.push(E), d; }])), run: u @@ -9426,7 +9426,7 @@ class cs { tr: e, editor: i, view: a, - state: ls({ + state: us({ state: o, transaction: e }), @@ -9441,7 +9441,7 @@ class cs { return s; } } -let A0 = class { +let P0 = class { constructor() { this.callbacks = {}; } @@ -9472,7 +9472,7 @@ function W(t, e, n) { parent: t.parent ? W(t.parent, e, n) : null }) : t.config[e]; } -function us(t) { +function ps(t) { const e = t.filter((i) => i.type === "extension"), n = t.filter((i) => i.type === "node"), r = t.filter((i) => i.type === "mark"); return { baseExtensions: e, @@ -9480,8 +9480,8 @@ function us(t) { markExtensions: r }; } -function vf(t) { - const e = [], { nodeExtensions: n, markExtensions: r } = us(t), i = [...n, ...r], o = { +function Af(t) { + const e = [], { nodeExtensions: n, markExtensions: r } = ps(t), i = [...n, ...r], o = { default: null, rendered: !0, renderHTML: null, @@ -9567,24 +9567,24 @@ function pe(...t) { }), r; }, {}); } -function $l(t, e) { +function Wl(t, e) { return e.filter((n) => n.type === t.type.name).filter((n) => n.attribute.rendered).map((n) => n.attribute.renderHTML ? n.attribute.renderHTML(t.attrs) || {} : { [n.name]: t.attrs[n.name] }).reduce((n, r) => pe(n, r), {}); } -function Rf(t) { +function If(t) { return typeof t == "function"; } function le(t, e = void 0, ...n) { - return Rf(t) ? e ? t.bind(e)(...n) : t(...n) : t; + return If(t) ? e ? t.bind(e)(...n) : t(...n) : t; } -function I0(t = {}) { +function F0(t = {}) { return Object.keys(t).length === 0 && t.constructor === Object; } -function x0(t) { +function B0(t) { return typeof t != "string" ? t : t.match(/^[+-]?(?:\d*\.)?\d+$/) ? Number(t) : t === "true" ? !0 : t === "false" ? !1 : t; } -function Yd(t, e) { +function qd(t, e) { return "style" in t ? t : { ...t, getAttrs: (n) => { @@ -9592,7 +9592,7 @@ function Yd(t, e) { if (r === !1) return !1; const i = e.reduce((o, a) => { - const s = a.attribute.parseHTML ? a.attribute.parseHTML(n) : x0(n.getAttribute(a.name)); + const s = a.attribute.parseHTML ? a.attribute.parseHTML(n) : B0(n.getAttribute(a.name)); return s == null ? o : { ...o, [a.name]: s @@ -9602,15 +9602,15 @@ function Yd(t, e) { } }; } -function zd(t) { +function Wd(t) { return Object.fromEntries( // @ts-ignore - Object.entries(t).filter(([e, n]) => e === "attrs" && I0(n) ? !1 : n != null) + Object.entries(t).filter(([e, n]) => e === "attrs" && F0(n) ? !1 : n != null) ); } -function D0(t, e) { +function U0(t, e) { var n; - const r = vf(t), { nodeExtensions: i, markExtensions: o } = us(t), a = (n = i.find((c) => W(c, "topNode"))) === null || n === void 0 ? void 0 : n.name, s = Object.fromEntries(i.map((c) => { + const r = Af(t), { nodeExtensions: i, markExtensions: o } = ps(t), a = (n = i.find((c) => W(c, "topNode"))) === null || n === void 0 ? void 0 : n.name, s = Object.fromEntries(i.map((c) => { const u = r.filter((E) => E.type === c.name), d = { name: c.name, options: c.options, @@ -9622,7 +9622,7 @@ function D0(t, e) { ...E, ...b ? b(c) : {} }; - }, {}), _ = zd({ + }, {}), _ = Wd({ ...p, content: le(W(c, "content", d)), marks: le(W(c, "marks", d)), @@ -9641,62 +9641,62 @@ function D0(t, e) { return [E.name, { default: (S = E == null ? void 0 : E.attribute) === null || S === void 0 ? void 0 : S.default }]; })) }), m = le(W(c, "parseHTML", d)); - m && (_.parseDOM = m.map((E) => Yd(E, u))); + m && (_.parseDOM = m.map((E) => qd(E, u))); const f = W(c, "renderHTML", d); f && (_.toDOM = (E) => f({ node: E, - HTMLAttributes: $l(E, u) + HTMLAttributes: Wl(E, u) })); - const g = W(c, "renderText", d); - return g && (_.toText = g), [c.name, _]; + const h = W(c, "renderText", d); + return h && (_.toText = h), [c.name, _]; })), l = Object.fromEntries(o.map((c) => { - const u = r.filter((g) => g.type === c.name), d = { + const u = r.filter((h) => h.type === c.name), d = { name: c.name, options: c.options, storage: c.storage, editor: e - }, p = t.reduce((g, E) => { + }, p = t.reduce((h, E) => { const S = W(E, "extendMarkSchema", d); return { - ...g, + ...h, ...S ? S(c) : {} }; - }, {}), _ = zd({ + }, {}), _ = Wd({ ...p, inclusive: le(W(c, "inclusive", d)), excludes: le(W(c, "excludes", d)), group: le(W(c, "group", d)), spanning: le(W(c, "spanning", d)), code: le(W(c, "code", d)), - attrs: Object.fromEntries(u.map((g) => { + attrs: Object.fromEntries(u.map((h) => { var E; - return [g.name, { default: (E = g == null ? void 0 : g.attribute) === null || E === void 0 ? void 0 : E.default }]; + return [h.name, { default: (E = h == null ? void 0 : h.attribute) === null || E === void 0 ? void 0 : E.default }]; })) }), m = le(W(c, "parseHTML", d)); - m && (_.parseDOM = m.map((g) => Yd(g, u))); + m && (_.parseDOM = m.map((h) => qd(h, u))); const f = W(c, "renderHTML", d); - return f && (_.toDOM = (g) => f({ - mark: g, - HTMLAttributes: $l(g, u) + return f && (_.toDOM = (h) => f({ + mark: h, + HTMLAttributes: Wl(h, u) })), [c.name, _]; })); - return new Em({ + return new Cm({ topNode: a, nodes: s, marks: l }); } -function Ws(t, e) { +function Qs(t, e) { return e.nodes[t] || e.marks[t] || null; } -function $d(t, e) { +function Kd(t, e) { return Array.isArray(e) ? e.some((n) => (typeof n == "string" ? n : n.name) === t.name) : e; } -function Pc(t, e) { +function Uc(t, e) { const n = Cr.fromSchema(e).serializeFragment(t), i = document.implementation.createHTMLDocument().createElement("div"); return i.appendChild(n), i.innerHTML; } -const M0 = (t, e = 500) => { +const H0 = (t, e = 500) => { let n = ""; const r = t.parentOffset; return t.parent.nodesBetween(Math.max(0, r - e), r, (i, o, a, s) => { @@ -9710,16 +9710,16 @@ const M0 = (t, e = 500) => { n += i.isAtom && !i.isText ? u : u.slice(0, Math.max(0, r - o)); }), n; }; -function Fc(t) { +function Hc(t) { return Object.prototype.toString.call(t) === "[object RegExp]"; } -class fo { +class ho { constructor(e) { this.find = e.find, this.handler = e.handler; } } -const w0 = (t, e) => { - if (Fc(e)) +const G0 = (t, e) => { + if (Hc(e)) return e.exec(t); const n = e(t); if (!n) @@ -9727,7 +9727,7 @@ const w0 = (t, e) => { const r = [n.text]; return r.index = n.index, r.input = t, r.data = n.data, n.replaceWith && (n.text.includes(n.replaceWith) || console.warn('[tiptap warn]: "inputRuleMatch.replaceWith" must be part of "inputRuleMatch.text".'), r.push(n.replaceWith)), r; }; -function Ao(t) { +function xo(t) { var e; const { editor: n, from: r, to: i, text: o, rules: a, plugin: s } = t, { view: l } = n; if (l.composing) @@ -9739,26 +9739,26 @@ function Ao(t) { ) return !1; let u = !1; - const d = M0(c) + o; + const d = H0(c) + o; return a.forEach((p) => { if (u) return; - const _ = w0(d, p.find); + const _ = G0(d, p.find); if (!_) return; - const m = l.state.tr, f = ls({ + const m = l.state.tr, f = us({ state: l.state, transaction: m - }), g = { + }), h = { from: r - (_[0].length - o.length), to: i - }, { commands: E, chain: S, can: b } = new cs({ + }, { commands: E, chain: S, can: b } = new ds({ editor: n, state: f }); p.handler({ state: f, - range: g, + range: h, match: _, commands: E, chain: S, @@ -9771,7 +9771,7 @@ function Ao(t) { }), l.dispatch(m), u = !0); }), u; } -function L0(t) { +function V0(t) { const { editor: e, rules: n } = t, r = new Se({ state: { init() { @@ -9784,9 +9784,9 @@ function L0(t) { const l = i.getMeta("applyInputRules"); return !!l && setTimeout(() => { let { text: u } = l; - typeof u == "string" ? u = u : u = Pc(w.from(u), a.schema); + typeof u == "string" ? u = u : u = Uc(w.from(u), a.schema); const { from: d } = l, p = d + u.length; - Ao({ + xo({ editor: e, from: d, to: p, @@ -9799,7 +9799,7 @@ function L0(t) { }, props: { handleTextInput(i, o, a, s) { - return Ao({ + return xo({ editor: e, from: o, to: a, @@ -9811,7 +9811,7 @@ function L0(t) { handleDOMEvents: { compositionend: (i) => (setTimeout(() => { const { $cursor: o } = i.state.selection; - o && Ao({ + o && xo({ editor: e, from: o.pos, to: o.pos, @@ -9827,7 +9827,7 @@ function L0(t) { if (o.key !== "Enter") return !1; const { $cursor: a } = i.state.selection; - return a ? Ao({ + return a ? xo({ editor: e, from: a.pos, to: a.pos, @@ -9843,16 +9843,16 @@ function L0(t) { }); return r; } -function k0(t) { +function Y0(t) { return Object.prototype.toString.call(t).slice(8, -1); } -function Io(t) { - return k0(t) !== "Object" ? !1 : t.constructor === Object && Object.getPrototypeOf(t) === Object.prototype; +function Do(t) { + return Y0(t) !== "Object" ? !1 : t.constructor === Object && Object.getPrototypeOf(t) === Object.prototype; } -function ds(t, e) { +function _s(t, e) { const n = { ...t }; - return Io(t) && Io(e) && Object.keys(e).forEach((r) => { - Io(e[r]) && Io(t[r]) ? n[r] = ds(t[r], e[r]) : n[r] = e[r]; + return Do(t) && Do(e) && Object.keys(e).forEach((r) => { + Do(e[r]) && Do(t[r]) ? n[r] = _s(t[r], e[r]) : n[r] = e[r]; }), n; } class ft { @@ -9876,7 +9876,7 @@ class ft { configure(e = {}) { const n = this.extend({ ...this.config, - addOptions: () => ds(this.options, e) + addOptions: () => _s(this.options, e) }); return n.name = this.name, n.parent = this.parent, n; } @@ -9901,16 +9901,16 @@ class ft { return !1; } } -function P0(t) { +function z0(t) { return typeof t == "number"; } -class F0 { +class $0 { constructor(e) { this.find = e.find, this.handler = e.handler; } } -const B0 = (t, e, n) => { - if (Fc(e)) +const q0 = (t, e, n) => { + if (Hc(e)) return [...t.matchAll(e)]; const r = e(t, n); return r ? r.map((i) => { @@ -9918,20 +9918,20 @@ const B0 = (t, e, n) => { return o.index = i.index, o.input = t, o.data = i.data, i.replaceWith && (i.text.includes(i.replaceWith) || console.warn('[tiptap warn]: "pasteRuleMatch.replaceWith" must be part of "pasteRuleMatch.text".'), o.push(i.replaceWith)), o; }) : []; }; -function U0(t) { - const { editor: e, state: n, from: r, to: i, rule: o, pasteEvent: a, dropEvent: s } = t, { commands: l, chain: c, can: u } = new cs({ +function W0(t) { + const { editor: e, state: n, from: r, to: i, rule: o, pasteEvent: a, dropEvent: s } = t, { commands: l, chain: c, can: u } = new ds({ editor: e, state: n }), d = []; return n.doc.nodesBetween(r, i, (_, m) => { if (!_.isTextblock || _.type.spec.code) return; - const f = Math.max(r, m), g = Math.min(i, m + _.content.size), E = _.textBetween(f - m, g - m, void 0, ""); - B0(E, o.find, a).forEach((b) => { + const f = Math.max(r, m), h = Math.min(i, m + _.content.size), E = _.textBetween(f - m, h - m, void 0, ""); + q0(E, o.find, a).forEach((b) => { if (b.index === void 0) return; - const h = f + b.index + 1, C = h + b[0].length, T = { - from: n.tr.mapping.map(h), + const g = f + b.index + 1, C = g + b[0].length, T = { + from: n.tr.mapping.map(g), to: n.tr.mapping.map(C) }, R = o.handler({ state: n, @@ -9947,14 +9947,14 @@ function U0(t) { }); }), d.every((_) => _ !== null); } -const H0 = (t) => { +const K0 = (t) => { var e; const n = new ClipboardEvent("paste", { clipboardData: new DataTransfer() }); return (e = n.clipboardData) === null || e === void 0 || e.setData("text/html", t), n; }; -function G0(t) { +function Q0(t) { const { editor: e, rules: n } = t; let r = null, i = !1, o = !1, a = typeof ClipboardEvent < "u" ? new ClipboardEvent("paste") : null, s; try { @@ -9963,13 +9963,13 @@ function G0(t) { s = null; } const l = ({ state: u, from: d, to: p, rule: _, pasteEvt: m }) => { - const f = u.tr, g = ls({ + const f = u.tr, h = us({ state: u, transaction: f }); - if (!(!U0({ + if (!(!W0({ editor: e, - state: g, + state: h, from: Math.max(d - 1, 0), to: p.b - 1, rule: _, @@ -10008,13 +10008,13 @@ function G0(t) { } }, appendTransaction: (d, p, _) => { - const m = d[0], f = m.getMeta("uiEvent") === "paste" && !i, g = m.getMeta("uiEvent") === "drop" && !o, E = m.getMeta("applyPasteRules"), S = !!E; - if (!f && !g && !S) + const m = d[0], f = m.getMeta("uiEvent") === "paste" && !i, h = m.getMeta("uiEvent") === "drop" && !o, E = m.getMeta("applyPasteRules"), S = !!E; + if (!f && !h && !S) return; if (S) { let { text: C } = E; - typeof C == "string" ? C = C : C = Pc(w.from(C), _.schema); - const { from: T } = E, R = T + C.length, x = H0(C); + typeof C == "string" ? C = C : C = Uc(w.from(C), _.schema); + const { from: T } = E, R = T + C.length, x = K0(C); return l({ rule: u, state: _, @@ -10023,25 +10023,25 @@ function G0(t) { pasteEvt: x }); } - const b = p.doc.content.findDiffStart(_.doc.content), h = p.doc.content.findDiffEnd(_.doc.content); - if (!(!P0(b) || !h || b === h.b)) + const b = p.doc.content.findDiffStart(_.doc.content), g = p.doc.content.findDiffEnd(_.doc.content); + if (!(!z0(b) || !g || b === g.b)) return l({ rule: u, state: _, from: b, - to: h, + to: g, pasteEvt: a }); } })); } -function V0(t) { +function Z0(t) { const e = t.filter((n, r) => t.indexOf(n) !== r); return Array.from(new Set(e)); } class Yr { constructor(e, n) { - this.splittableMarks = [], this.editor = n, this.extensions = Yr.resolve(e), this.schema = D0(this.extensions, n), this.setupExtensions(); + this.splittableMarks = [], this.editor = n, this.extensions = Yr.resolve(e), this.schema = U0(this.extensions, n), this.setupExtensions(); } /** * Returns a flattened and sorted extension list while @@ -10050,7 +10050,7 @@ class Yr { * @returns An flattened and sorted array of Tiptap extensions */ static resolve(e) { - const n = Yr.sort(Yr.flatten(e)), r = V0(n.map((i) => i.name)); + const n = Yr.sort(Yr.flatten(e)), r = Z0(n.map((i) => i.name)); return r.length && console.warn(`[tiptap warn]: Duplicate extension names found: [${r.map((i) => `'${i}'`).join(", ")}]. This can lead to issues.`), n; } /** @@ -10090,7 +10090,7 @@ class Yr { options: n.options, storage: n.storage, editor: this.editor, - type: Ws(n.name, this.schema) + type: Qs(n.name, this.schema) }, i = W(n, "addCommands", r); return i ? { ...e, @@ -10109,19 +10109,19 @@ class Yr { options: a.options, storage: a.storage, editor: e, - type: Ws(a.name, this.schema) + type: Qs(a.name, this.schema) }, l = [], c = W(a, "addKeyboardShortcuts", s); let u = {}; if (a.type === "mark" && W(a, "exitable", s) && (u.ArrowRight = () => ft.handleExit({ editor: e, mark: a })), c) { - const f = Object.fromEntries(Object.entries(c()).map(([g, E]) => [g, () => E({ editor: e })])); + const f = Object.fromEntries(Object.entries(c()).map(([h, E]) => [h, () => E({ editor: e })])); u = { ...u, ...f }; } - const d = n0(u); + const d = u0(u); l.push(d); const p = W(a, "addInputRules", s); - $d(a, e.options.enableInputRules) && p && r.push(...p()); + Kd(a, e.options.enableInputRules) && p && r.push(...p()); const _ = W(a, "addPasteRules", s); - $d(a, e.options.enablePasteRules) && _ && i.push(..._()); + Kd(a, e.options.enablePasteRules) && _ && i.push(..._()); const m = W(a, "addProseMirrorPlugins", s); if (m) { const f = m(); @@ -10130,11 +10130,11 @@ class Yr { return l; }).flat(); return [ - L0({ + V0({ editor: e, rules: r }), - ...G0({ + ...Q0({ editor: e, rules: i }), @@ -10146,14 +10146,14 @@ class Yr { * @returns An array of attributes */ get attributes() { - return vf(this.extensions); + return Af(this.extensions); } /** * Get all node views from the extensions. * @returns An object with all node views where the key is the node name and the value is the node view function */ get nodeViews() { - const { editor: e } = this, { nodeExtensions: n } = us(this.extensions); + const { editor: e } = this, { nodeExtensions: n } = ps(this.extensions); return Object.fromEntries(n.filter((r) => !!W(r, "addNodeView")).map((r) => { const i = this.attributes.filter((l) => l.type === r.name), o = { name: r.name, @@ -10165,7 +10165,7 @@ class Yr { if (!a) return []; const s = (l, c, u, d, p) => { - const _ = $l(l, i); + const _ = Wl(l, i); return a()({ // pass-through node: l, @@ -10195,7 +10195,7 @@ class Yr { options: e.options, storage: e.storage, editor: this.editor, - type: Ws(e.name, this.schema) + type: Qs(e.name, this.schema) }; e.type === "mark" && (!((n = le(W(e, "keepOnSplit", r))) !== null && n !== void 0) || n) && this.splittableMarks.push(e.name); const i = W(e, "onBeforeCreate", r), o = W(e, "onCreate", r), a = W(e, "onUpdate", r), s = W(e, "onSelectionUpdate", r), l = W(e, "onTransaction", r), c = W(e, "onFocus", r), u = W(e, "onBlur", r), d = W(e, "onDestroy", r); @@ -10203,7 +10203,7 @@ class Yr { }); } } -class ge { +class he { constructor(e = {}) { this.type = "extension", this.name = "extension", this.parent = null, this.child = null, this.config = { name: this.name, @@ -10219,17 +10219,17 @@ class ge { })) || {}; } static create(e = {}) { - return new ge(e); + return new he(e); } configure(e = {}) { const n = this.extend({ ...this.config, - addOptions: () => ds(this.options, e) + addOptions: () => _s(this.options, e) }); return n.name = this.name, n.parent = this.parent, n; } extend(e = {}) { - const n = new ge({ ...this.config, ...e }); + const n = new he({ ...this.config, ...e }); return n.parent = this, this.child = n, n.name = e.name ? e.name : n.parent.name, e.defaultOptions && Object.keys(e.defaultOptions).length > 0 && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${n.name}".`), n.options = le(W(n, "addOptions", { name: n.name })), n.storage = le(W(n, "addStorage", { @@ -10238,7 +10238,7 @@ class ge { })), n; } } -function ps(t, e, n) { +function ms(t, e, n) { const { from: r, to: i } = e, { blockSeparator: o = ` `, textSerializers: a = {} } = n || {}; @@ -10258,10 +10258,10 @@ function ps(t, e, n) { l.isText && (s += (p = l == null ? void 0 : l.text) === null || p === void 0 ? void 0 : p.slice(Math.max(r, c) - c, i - c)); }), s; } -function Of(t) { +function xf(t) { return Object.fromEntries(Object.entries(t.nodes).filter(([, e]) => e.spec.toText).map(([e, n]) => [e, n.spec.toText])); } -const Y0 = ge.create({ +const X0 = he.create({ name: "clipboardTextSerializer", addOptions() { return { @@ -10274,8 +10274,8 @@ const Y0 = ge.create({ key: new ve("clipboardTextSerializer"), props: { clipboardTextSerializer: () => { - const { editor: t } = this, { state: e, schema: n } = t, { doc: r, selection: i } = e, { ranges: o } = i, a = Math.min(...o.map((u) => u.$from.pos)), s = Math.max(...o.map((u) => u.$to.pos)), l = Of(n); - return ps(r, { from: a, to: s }, { + const { editor: t } = this, { state: e, schema: n } = t, { doc: r, selection: i } = e, { ranges: o } = i, a = Math.min(...o.map((u) => u.$from.pos)), s = Math.max(...o.map((u) => u.$to.pos)), l = xf(n); + return ms(r, { from: a, to: s }, { ...this.options.blockSeparator !== void 0 ? { blockSeparator: this.options.blockSeparator } : {}, textSerializers: l }); @@ -10284,10 +10284,10 @@ const Y0 = ge.create({ }) ]; } -}), z0 = () => ({ editor: t, view: e }) => (requestAnimationFrame(() => { +}), j0 = () => ({ editor: t, view: e }) => (requestAnimationFrame(() => { var n; t.isDestroyed || (e.dom.blur(), (n = window == null ? void 0 : window.getSelection()) === null || n === void 0 || n.removeAllRanges()); -}), !0), $0 = (t = !1) => ({ commands: e }) => e.setContent("", t), q0 = () => ({ state: t, tr: e, dispatch: n }) => { +}), !0), J0 = (t = !1) => ({ commands: e }) => e.setContent("", t), eT = () => ({ state: t, tr: e, dispatch: n }) => { const { selection: r } = e, { ranges: i } = r; return n && i.forEach(({ $from: o, $to: a }) => { t.doc.nodesBetween(o.pos, a.pos, (s, l) => { @@ -10296,7 +10296,7 @@ const Y0 = ge.create({ const { doc: c, mapping: u } = e, d = c.resolve(u.map(l)), p = c.resolve(u.map(l + s.nodeSize)), _ = d.blockRange(p); if (!_) return; - const m = _i(_); + const m = mi(_); if (s.type.isTextblock) { const { defaultType: f } = d.parent.contentMatchAt(d.index()); e.setNodeMarkup(_.start, f); @@ -10304,12 +10304,12 @@ const Y0 = ge.create({ (m || m === 0) && e.lift(_, m); }); }), !0; -}, W0 = (t) => (e) => t(e), K0 = () => ({ state: t, dispatch: e }) => f0(t, e), Q0 = (t, e) => ({ editor: n, tr: r }) => { +}, tT = (t) => (e) => t(e), nT = () => ({ state: t, dispatch: e }) => y0(t, e), rT = (t, e) => ({ editor: n, tr: r }) => { const { state: i } = n, o = i.doc.slice(t.from, t.to); r.deleteRange(t.from, t.to); const a = r.mapping.map(e); return r.insert(a, o.content), r.setSelection(new Z(r.doc.resolve(a - 1))), !0; -}, Z0 = () => ({ tr: t, dispatch: e }) => { +}, iT = () => ({ tr: t, dispatch: e }) => { const { selection: n } = t, r = n.$anchor.node(); if (r.content.size > 0) return !1; @@ -10323,7 +10323,7 @@ const Y0 = ge.create({ return !0; } return !1; -}, X0 = (t) => ({ tr: e, state: n, dispatch: r }) => { +}, oT = (t) => ({ tr: e, state: n, dispatch: r }) => { const i = qe(t, n.schema), o = e.selection.$anchor; for (let a = o.depth; a > 0; a -= 1) if (o.node(a).type === i) { @@ -10334,35 +10334,35 @@ const Y0 = ge.create({ return !0; } return !1; -}, j0 = (t) => ({ tr: e, dispatch: n }) => { +}, aT = (t) => ({ tr: e, dispatch: n }) => { const { from: r, to: i } = t; return n && e.delete(r, i), !0; -}, J0 = () => ({ state: t, dispatch: e }) => r0(t, e), eT = () => ({ commands: t }) => t.keyboardShortcut("Enter"), tT = () => ({ state: t, dispatch: e }) => m0(t, e); +}, sT = () => ({ state: t, dispatch: e }) => d0(t, e), lT = () => ({ commands: t }) => t.keyboardShortcut("Enter"), cT = () => ({ state: t, dispatch: e }) => C0(t, e); function ri(t, e, n = { strict: !0 }) { const r = Object.keys(e); - return r.length ? r.every((i) => n.strict ? e[i] === t[i] : Fc(e[i]) ? e[i].test(t[i]) : e[i] === t[i]) : !0; + return r.length ? r.every((i) => n.strict ? e[i] === t[i] : Hc(e[i]) ? e[i].test(t[i]) : e[i] === t[i]) : !0; } -function Nf(t, e, n = {}) { +function Df(t, e, n = {}) { return t.find((r) => r.type === e && ri( // Only check equality for the attributes that are provided Object.fromEntries(Object.keys(n).map((i) => [i, r.attrs[i]])), n )); } -function qd(t, e, n = {}) { - return !!Nf(t, e, n); +function Qd(t, e, n = {}) { + return !!Df(t, e, n); } -function Bc(t, e, n) { +function Gc(t, e, n) { var r; if (!t || !e) return; let i = t.parent.childAfter(t.parentOffset); - if ((!i.node || !i.node.marks.some((u) => u.type === e)) && (i = t.parent.childBefore(t.parentOffset)), !i.node || !i.node.marks.some((u) => u.type === e) || (n = n || ((r = i.node.marks[0]) === null || r === void 0 ? void 0 : r.attrs), !Nf([...i.node.marks], e, n))) + if ((!i.node || !i.node.marks.some((u) => u.type === e)) && (i = t.parent.childBefore(t.parentOffset)), !i.node || !i.node.marks.some((u) => u.type === e) || (n = n || ((r = i.node.marks[0]) === null || r === void 0 ? void 0 : r.attrs), !Df([...i.node.marks], e, n))) return; let a = i.index, s = t.start() + i.offset, l = a + 1, c = s + i.node.nodeSize; - for (; a > 0 && qd([...t.parent.child(a - 1).marks], e, n); ) + for (; a > 0 && Qd([...t.parent.child(a - 1).marks], e, n); ) a -= 1, s -= t.parent.child(a).nodeSize; - for (; l < t.parent.childCount && qd([...t.parent.child(l).marks], e, n); ) + for (; l < t.parent.childCount && Qd([...t.parent.child(l).marks], e, n); ) c += t.parent.child(l).nodeSize, l += 1; return { from: s, @@ -10377,30 +10377,30 @@ function En(t, e) { } return t; } -const nT = (t, e = {}) => ({ tr: n, state: r, dispatch: i }) => { +const uT = (t, e = {}) => ({ tr: n, state: r, dispatch: i }) => { const o = En(t, r.schema), { doc: a, selection: s } = n, { $from: l, from: c, to: u } = s; if (i) { - const d = Bc(l, o, e); + const d = Gc(l, o, e); if (d && d.from <= c && d.to >= u) { const p = Z.create(a, d.from, d.to); n.setSelection(p); } } return !0; -}, rT = (t) => (e) => { +}, dT = (t) => (e) => { const n = typeof t == "function" ? t(e) : t; for (let r = 0; r < n.length; r += 1) if (n[r](e)) return !0; return !1; }; -function Uc(t) { +function Vc(t) { return t instanceof Z; } function fn(t = 0, e = 0, n = 0) { return Math.min(Math.max(t, e), n); } -function Af(t, e = null) { +function Mf(t, e = null) { if (!e) return null; const n = te.atStart(t), r = te.atEnd(t); @@ -10411,7 +10411,7 @@ function Af(t, e = null) { const i = n.from, o = r.to; return e === "all" ? Z.create(t, fn(0, i, o), fn(t.content.size, i, o)) : Z.create(t, fn(e, i, o), fn(e, i, o)); } -function Hc() { +function Yc() { return [ "iPad Simulator", "iPhone Simulator", @@ -10421,35 +10421,35 @@ function Hc() { "iPod" ].includes(navigator.platform) || navigator.userAgent.includes("Mac") && "ontouchend" in document; } -const iT = (t = null, e = {}) => ({ editor: n, view: r, tr: i, dispatch: o }) => { +const pT = (t = null, e = {}) => ({ editor: n, view: r, tr: i, dispatch: o }) => { e = { scrollIntoView: !0, ...e }; const a = () => { - Hc() && r.dom.focus(), requestAnimationFrame(() => { + Yc() && r.dom.focus(), requestAnimationFrame(() => { n.isDestroyed || (r.focus(), e != null && e.scrollIntoView && n.commands.scrollIntoView()); }); }; if (r.hasFocus() && t === null || t === !1) return !0; - if (o && t === null && !Uc(n.state.selection)) + if (o && t === null && !Vc(n.state.selection)) return a(), !0; - const s = Af(i.doc, t) || n.state.selection, l = n.state.selection.eq(s); + const s = Mf(i.doc, t) || n.state.selection, l = n.state.selection.eq(s); return o && (l || i.setSelection(s), l && i.storedMarks && i.setStoredMarks(i.storedMarks), a()), !0; -}, oT = (t, e) => (n) => t.every((r, i) => e(r, { ...n, index: i })), aT = (t, e) => ({ tr: n, commands: r }) => r.insertContentAt({ from: n.selection.from, to: n.selection.to }, t, e), If = (t) => { +}, _T = (t, e) => (n) => t.every((r, i) => e(r, { ...n, index: i })), mT = (t, e) => ({ tr: n, commands: r }) => r.insertContentAt({ from: n.selection.from, to: n.selection.to }, t, e), wf = (t) => { const e = t.childNodes; for (let n = e.length - 1; n >= 0; n -= 1) { const r = e[n]; - r.nodeType === 3 && r.nodeValue && /^(\n\s\s|\n)$/.test(r.nodeValue) ? t.removeChild(r) : r.nodeType === 1 && If(r); + r.nodeType === 3 && r.nodeValue && /^(\n\s\s|\n)$/.test(r.nodeValue) ? t.removeChild(r) : r.nodeType === 1 && wf(r); } return t; }; -function xo(t) { +function Mo(t) { const e = `${t}`, n = new window.DOMParser().parseFromString(e, "text/html").body; - return If(n); + return wf(n); } -function Sa(t, e, n) { +function Ta(t, e, n) { if (t instanceof Fn || t instanceof w) return t; n = { @@ -10467,12 +10467,12 @@ function Sa(t, e, n) { } catch (o) { if (n.errorOnInvalidContent) throw new Error("[tiptap error]: Invalid JSON content", { cause: o }); - return console.warn("[tiptap warn]: Invalid content.", "Passed value:", t, "Error:", o), Sa("", e, n); + return console.warn("[tiptap warn]: Invalid content.", "Passed value:", t, "Error:", o), Ta("", e, n); } if (i) { if (n.errorOnInvalidContent) { let a = !1, s = ""; - const l = new Em({ + const l = new Cm({ topNode: e.spec.topNode, marks: e.spec.marks, // Prosemirror's schemas are executed such that: the last to execute, matches last @@ -10490,15 +10490,15 @@ function Sa(t, e, n) { } }) }); - if (n.slice ? Wr.fromSchema(l).parseSlice(xo(t), n.parseOptions) : Wr.fromSchema(l).parse(xo(t), n.parseOptions), n.errorOnInvalidContent && a) + if (n.slice ? Wr.fromSchema(l).parseSlice(Mo(t), n.parseOptions) : Wr.fromSchema(l).parse(Mo(t), n.parseOptions), n.errorOnInvalidContent && a) throw new Error("[tiptap error]: Invalid HTML content", { cause: new Error(`Invalid element found: ${s}`) }); } const o = Wr.fromSchema(e); - return n.slice ? o.parseSlice(xo(t), n.parseOptions).content : o.parse(xo(t), n.parseOptions); + return n.slice ? o.parseSlice(Mo(t), n.parseOptions).content : o.parse(Mo(t), n.parseOptions); } - return Sa("", e, n); + return Ta("", e, n); } -function sT(t, e, n) { +function fT(t, e, n) { const r = t.steps.length - 1; if (r < e) return; @@ -10511,7 +10511,7 @@ function sT(t, e, n) { a === 0 && (a = u); }), t.setSelection(te.near(t.doc.resolve(a), n)); } -const lT = (t) => !("type" in t), cT = (t, e, n) => ({ tr: r, dispatch: i, editor: o }) => { +const hT = (t) => !("type" in t), gT = (t, e, n) => ({ tr: r, dispatch: i, editor: o }) => { var a; if (i) { n = { @@ -10523,7 +10523,7 @@ const lT = (t) => !("type" in t), cT = (t, e, n) => ({ tr: r, dispatch: i, edito }; let s; try { - s = Sa(e, o.schema, { + s = Ta(e, o.schema, { parseOptions: { preserveWhitespace: "full", ...n.parseOptions @@ -10540,7 +10540,7 @@ const lT = (t) => !("type" in t), cT = (t, e, n) => ({ tr: r, dispatch: i, edito }), !1; } let { from: l, to: c } = typeof t == "number" ? { from: t, to: t } : { from: t.from, to: t.to }, u = !0, d = !0; - if ((lT(s) ? s : [s]).forEach((m) => { + if ((hT(s) ? s : [s]).forEach((m) => { m.check(), u = u ? m.isText && m.marks.length === 0 : !1, d = d ? m.isBlock : !1; }), l === c && d) { const { parent: m } = r.doc.resolve(l); @@ -10559,28 +10559,28 @@ const lT = (t) => !("type" in t), cT = (t, e, n) => ({ tr: r, dispatch: i, edito r.insertText(_, l, c); } else _ = s, r.replaceWith(l, c, _); - n.updateSelection && sT(r, r.steps.length - 1, -1), n.applyInputRules && r.setMeta("applyInputRules", { from: l, text: _ }), n.applyPasteRules && r.setMeta("applyPasteRules", { from: l, text: _ }); + n.updateSelection && fT(r, r.steps.length - 1, -1), n.applyInputRules && r.setMeta("applyInputRules", { from: l, text: _ }), n.applyPasteRules && r.setMeta("applyPasteRules", { from: l, text: _ }); } return !0; -}, uT = () => ({ state: t, dispatch: e }) => u0(t, e), dT = () => ({ state: t, dispatch: e }) => d0(t, e), pT = () => ({ state: t, dispatch: e }) => i0(t, e), _T = () => ({ state: t, dispatch: e }) => l0(t, e), mT = () => ({ state: t, dispatch: e, tr: n }) => { +}, ET = () => ({ state: t, dispatch: e }) => E0(t, e), ST = () => ({ state: t, dispatch: e }) => S0(t, e), bT = () => ({ state: t, dispatch: e }) => p0(t, e), TT = () => ({ state: t, dispatch: e }) => h0(t, e), CT = () => ({ state: t, dispatch: e, tr: n }) => { try { - const r = ts(t.doc, t.selection.$from.pos, -1); + const r = rs(t.doc, t.selection.$from.pos, -1); return r == null ? !1 : (n.join(r, 2), e && e(n), !0); } catch { return !1; } -}, fT = () => ({ state: t, dispatch: e, tr: n }) => { +}, yT = () => ({ state: t, dispatch: e, tr: n }) => { try { - const r = ts(t.doc, t.selection.$from.pos, 1); + const r = rs(t.doc, t.selection.$from.pos, 1); return r == null ? !1 : (n.join(r, 2), e && e(n), !0); } catch { return !1; } -}, gT = () => ({ state: t, dispatch: e }) => o0(t, e), hT = () => ({ state: t, dispatch: e }) => a0(t, e); -function xf() { +}, vT = () => ({ state: t, dispatch: e }) => _0(t, e), RT = () => ({ state: t, dispatch: e }) => m0(t, e); +function Lf() { return typeof navigator < "u" ? /Mac/.test(navigator.platform) : !1; } -function ET(t) { +function OT(t) { const e = t.split(/-(?!$)/); let n = e[e.length - 1]; n === "Space" && (n = " "); @@ -10596,14 +10596,14 @@ function ET(t) { else if (/^s(hift)?$/i.test(l)) o = !0; else if (/^mod$/i.test(l)) - Hc() || xf() ? a = !0 : i = !0; + Yc() || Lf() ? a = !0 : i = !0; else throw new Error(`Unrecognized modifier name: ${l}`); } return r && (n = `Alt-${n}`), i && (n = `Ctrl-${n}`), a && (n = `Meta-${n}`), o && (n = `Shift-${n}`), n; } -const ST = (t) => ({ editor: e, view: n, tr: r, dispatch: i }) => { - const o = ET(t).split(/-(?!$)/), a = o.find((c) => !["Alt", "Ctrl", "Meta", "Shift"].includes(c)), s = new KeyboardEvent("keydown", { +const NT = (t) => ({ editor: e, view: n, tr: r, dispatch: i }) => { + const o = OT(t).split(/-(?!$)/), a = o.find((c) => !["Alt", "Ctrl", "Meta", "Shift"].includes(c)), s = new KeyboardEvent("keydown", { key: a === "Space" ? " " : a, altKey: o.includes("Alt"), ctrlKey: o.includes("Ctrl"), @@ -10619,7 +10619,7 @@ const ST = (t) => ({ editor: e, view: n, tr: r, dispatch: i }) => { u && i && r.maybeStep(u); }), !0; }; -function hr(t, e, n = {}) { +function gr(t, e, n = {}) { const { from: r, to: i, empty: o } = t.selection, a = e ? qe(e, t.schema) : null, s = []; t.doc.nodesBetween(r, i, (d, p) => { if (d.isText) @@ -10634,46 +10634,46 @@ function hr(t, e, n = {}) { const l = i - r, c = s.filter((d) => a ? a.name === d.node.type.name : !0).filter((d) => ri(d.node.attrs, n, { strict: !1 })); return o ? !!c.length : c.reduce((d, p) => d + p.to - p.from, 0) >= l; } -const bT = (t, e = {}) => ({ state: n, dispatch: r }) => { +const AT = (t, e = {}) => ({ state: n, dispatch: r }) => { const i = qe(t, n.schema); - return hr(n, i, e) ? p0(n, r) : !1; -}, TT = () => ({ state: t, dispatch: e }) => g0(t, e), CT = (t) => ({ state: e, dispatch: n }) => { + return gr(n, i, e) ? b0(n, r) : !1; +}, IT = () => ({ state: t, dispatch: e }) => v0(t, e), xT = (t) => ({ state: e, dispatch: n }) => { const r = qe(t, e.schema); - return v0(r)(e, n); -}, yT = () => ({ state: t, dispatch: e }) => _0(t, e); -function _s(t, e) { + return M0(r)(e, n); +}, DT = () => ({ state: t, dispatch: e }) => T0(t, e); +function fs(t, e) { return e.nodes[t] ? "node" : e.marks[t] ? "mark" : null; } -function Wd(t, e) { +function Zd(t, e) { const n = typeof e == "string" ? [e] : e; return Object.keys(t).reduce((r, i) => (n.includes(i) || (r[i] = t[i]), r), {}); } -const vT = (t, e) => ({ tr: n, state: r, dispatch: i }) => { +const MT = (t, e) => ({ tr: n, state: r, dispatch: i }) => { let o = null, a = null; - const s = _s(typeof t == "string" ? t : t.name, r.schema); + const s = fs(typeof t == "string" ? t : t.name, r.schema); return s ? (s === "node" && (o = qe(t, r.schema)), s === "mark" && (a = En(t, r.schema)), i && n.selection.ranges.forEach((l) => { r.doc.nodesBetween(l.$from.pos, l.$to.pos, (c, u) => { - o && o === c.type && n.setNodeMarkup(u, void 0, Wd(c.attrs, e)), a && c.marks.length && c.marks.forEach((d) => { - a === d.type && n.addMark(u, u + c.nodeSize, a.create(Wd(d.attrs, e))); + o && o === c.type && n.setNodeMarkup(u, void 0, Zd(c.attrs, e)), a && c.marks.length && c.marks.forEach((d) => { + a === d.type && n.addMark(u, u + c.nodeSize, a.create(Zd(d.attrs, e))); }); }); }), !0) : !1; -}, RT = () => ({ tr: t, dispatch: e }) => (e && t.scrollIntoView(), !0), OT = () => ({ tr: t, commands: e }) => e.setTextSelection({ +}, wT = () => ({ tr: t, dispatch: e }) => (e && t.scrollIntoView(), !0), LT = () => ({ tr: t, commands: e }) => e.setTextSelection({ from: 0, to: t.doc.content.size -}), NT = () => ({ state: t, dispatch: e }) => s0(t, e), AT = () => ({ state: t, dispatch: e }) => c0(t, e), IT = () => ({ state: t, dispatch: e }) => h0(t, e), xT = () => ({ state: t, dispatch: e }) => b0(t, e), DT = () => ({ state: t, dispatch: e }) => S0(t, e); -function ql(t, e, n = {}, r = {}) { - return Sa(t, e, { +}), kT = () => ({ state: t, dispatch: e }) => f0(t, e), PT = () => ({ state: t, dispatch: e }) => g0(t, e), FT = () => ({ state: t, dispatch: e }) => R0(t, e), BT = () => ({ state: t, dispatch: e }) => A0(t, e), UT = () => ({ state: t, dispatch: e }) => N0(t, e); +function Kl(t, e, n = {}, r = {}) { + return Ta(t, e, { slice: !1, parseOptions: n, errorOnInvalidContent: r.errorOnInvalidContent }); } -const MT = (t, e = !1, n = {}, r = {}) => ({ editor: i, tr: o, dispatch: a, commands: s }) => { +const HT = (t, e = !1, n = {}, r = {}) => ({ editor: i, tr: o, dispatch: a, commands: s }) => { var l, c; const { doc: u } = o; if (n.preserveWhitespace !== "full") { - const d = ql(t, i.schema, n, { + const d = Kl(t, i.schema, n, { errorOnInvalidContent: (l = r.errorOnInvalidContent) !== null && l !== void 0 ? l : i.options.enableContentCheck }); return a && o.replaceWith(0, u.content.size, d).setMeta("preventUpdate", !e), !0; @@ -10683,7 +10683,7 @@ const MT = (t, e = !1, n = {}, r = {}) => ({ editor: i, tr: o, dispatch: a, comm errorOnInvalidContent: (c = r.errorOnInvalidContent) !== null && c !== void 0 ? c : i.options.enableContentCheck }); }; -function Gc(t, e) { +function zc(t, e) { const n = En(e, t.schema), { from: r, to: i, empty: o } = t.selection, a = []; o ? (t.storedMarks && a.push(...t.storedMarks), a.push(...t.selection.$head.marks())) : t.doc.nodesBetween(r, i, (l) => { a.push(...l.marks); @@ -10691,15 +10691,15 @@ function Gc(t, e) { const s = a.find((l) => l.type.name === n.name); return s ? { ...s.attrs } : {}; } -function wT(t, e) { - const n = new yc(t); +function GT(t, e) { + const n = new Oc(t); return e.forEach((r) => { r.steps.forEach((i) => { n.step(i); }); }), n; } -function LT(t) { +function VT(t) { for (let e = 0; e < t.edgeCount; e += 1) { const { type: n } = t.edge(e); if (n.isTextblock && !n.hasRequiredAttrs()) @@ -10707,7 +10707,7 @@ function LT(t) { } return null; } -function Wl(t, e) { +function Ql(t, e) { const n = []; return t.descendants((r, i) => { e(r) && n.push({ @@ -10716,7 +10716,7 @@ function Wl(t, e) { }); }), n; } -function kT(t, e, n) { +function YT(t, e, n) { const r = []; return t.nodesBetween(e.from, e.to, (i, o) => { n(i) && r.push({ @@ -10725,7 +10725,7 @@ function kT(t, e, n) { }); }), r; } -function Df(t, e) { +function kf(t, e) { for (let n = t.depth; n > 0; n -= 1) { const r = t.node(n); if (e(r)) @@ -10737,17 +10737,17 @@ function Df(t, e) { }; } } -function ms(t) { - return (e) => Df(e.$from, t); +function hs(t) { + return (e) => kf(e.$from, t); } -function PT(t, e) { +function zT(t, e) { const n = { from: 0, to: t.content.size }; - return ps(t, n, e); + return ms(t, n, e); } -function FT(t, e) { +function $T(t, e) { const n = qe(e, t.schema), { from: r, to: i } = t.selection, o = []; t.doc.nodesBetween(r, i, (s) => { o.push(s); @@ -10755,22 +10755,22 @@ function FT(t, e) { const a = o.reverse().find((s) => s.type.name === n.name); return a ? { ...a.attrs } : {}; } -function Mf(t, e) { - const n = _s(typeof e == "string" ? e : e.name, t.schema); - return n === "node" ? FT(t, e) : n === "mark" ? Gc(t, e) : {}; +function Pf(t, e) { + const n = fs(typeof e == "string" ? e : e.name, t.schema); + return n === "node" ? $T(t, e) : n === "mark" ? zc(t, e) : {}; } -function BT(t, e = JSON.stringify) { +function qT(t, e = JSON.stringify) { const n = {}; return t.filter((r) => { const i = e(r); return Object.prototype.hasOwnProperty.call(n, i) ? !1 : n[i] = !0; }); } -function UT(t) { - const e = BT(t); +function WT(t) { + const e = qT(t); return e.length === 1 ? e : e.filter((n, r) => !e.filter((o, a) => a !== r).some((o) => n.oldRange.from >= o.oldRange.from && n.oldRange.to <= o.oldRange.to && n.newRange.from >= o.newRange.from && n.newRange.to <= o.newRange.to)); } -function HT(t) { +function KT(t) { const { mapping: e, steps: n } = t, r = []; return e.maps.forEach((i, o) => { const a = []; @@ -10797,12 +10797,12 @@ function HT(t) { } }); }); - }), UT(r); + }), WT(r); } -function Vc(t, e, n) { +function $c(t, e, n) { const r = []; return t === e ? n.resolve(t).marks().forEach((i) => { - const o = n.resolve(t), a = Bc(o, i.type); + const o = n.resolve(t), a = Gc(o, i.type); a && r.push({ mark: i, ...a @@ -10815,13 +10815,13 @@ function Vc(t, e, n) { }))); }), r; } -function Jo(t, e, n) { +function ta(t, e, n) { return Object.fromEntries(Object.entries(n).filter(([r]) => { const i = t.find((o) => o.type === e && o.name === r); return i ? i.attribute.keepOnSplit : !1; })); } -function Kl(t, e, n = {}) { +function Zl(t, e, n = {}) { const { empty: r, ranges: i } = t.selection, o = e ? En(e, t.schema) : null; if (r) return !!(t.storedMarks || t.selection.$from.marks()).filter((d) => o ? o.name === d.type.name : !0).find((d) => ri(d.attrs, n, { strict: !1 })); @@ -10829,12 +10829,12 @@ function Kl(t, e, n = {}) { const s = []; if (i.forEach(({ $from: d, $to: p }) => { const _ = d.pos, m = p.pos; - t.doc.nodesBetween(_, m, (f, g) => { + t.doc.nodesBetween(_, m, (f, h) => { if (!f.isText && !f.marks.length) return; - const E = Math.max(_, g), S = Math.min(m, g + f.nodeSize), b = S - E; - a += b, s.push(...f.marks.map((h) => ({ - mark: h, + const E = Math.max(_, h), S = Math.min(m, h + f.nodeSize), b = S - E; + a += b, s.push(...f.marks.map((g) => ({ + mark: g, from: E, to: S }))); @@ -10844,14 +10844,14 @@ function Kl(t, e, n = {}) { const l = s.filter((d) => o ? o.name === d.mark.type.name : !0).filter((d) => ri(d.mark.attrs, n, { strict: !1 })).reduce((d, p) => d + p.to - p.from, 0), c = s.filter((d) => o ? d.mark.type !== o && d.mark.type.excludes(o) : !0).reduce((d, p) => d + p.to - p.from, 0); return (l > 0 ? l + c : l) >= a; } -function GT(t, e, n = {}) { +function QT(t, e, n = {}) { if (!e) - return hr(t, null, n) || Kl(t, null, n); - const r = _s(e, t.schema); - return r === "node" ? hr(t, e, n) : r === "mark" ? Kl(t, e, n) : !1; + return gr(t, null, n) || Zl(t, null, n); + const r = fs(e, t.schema); + return r === "node" ? gr(t, e, n) : r === "mark" ? Zl(t, e, n) : !1; } -function Kd(t, e) { - const { nodeExtensions: n } = us(e), r = n.find((a) => a.name === t); +function Xd(t, e) { + const { nodeExtensions: n } = ps(e), r = n.find((a) => a.name === t); if (!r) return !1; const i = { @@ -10861,7 +10861,7 @@ function Kd(t, e) { }, o = le(W(r, "group", i)); return typeof o != "string" ? !1 : o.split(" ").includes("list"); } -function fs(t, { checkChildren: e = !0, ignoreWhitespace: n = !1 } = {}) { +function gs(t, { checkChildren: e = !0, ignoreWhitespace: n = !1 } = {}) { var r; if (n) { if (t.type.name === "hardBreak") @@ -10878,15 +10878,15 @@ function fs(t, { checkChildren: e = !0, ignoreWhitespace: n = !1 } = {}) { if (e) { let i = !0; return t.content.forEach((o) => { - i !== !1 && (fs(o, { ignoreWhitespace: n, checkChildren: e }) || (i = !1)); + i !== !1 && (gs(o, { ignoreWhitespace: n, checkChildren: e }) || (i = !1)); }), i; } return !1; } -function wf(t) { +function Ff(t) { return t instanceof ee; } -function Ki(t, e, n) { +function Qi(t, e, n) { const i = t.state.doc.content.size, o = fn(e, 0, i), a = fn(n, 0, i), s = t.coordsAtPos(o), l = t.coordsAtPos(a, -1), c = Math.min(s.top, l.top), u = Math.max(s.bottom, l.bottom), d = Math.min(s.left, l.left), p = Math.max(s.right, l.right), _ = p - d, m = u - c, E = { top: c, bottom: u, @@ -10902,11 +10902,11 @@ function Ki(t, e, n) { toJSON: () => E }; } -function VT(t, e, n) { +function ZT(t, e, n) { var r; const { selection: i } = e; let o = null; - if (Uc(i) && (o = i.$cursor), o) { + if (Vc(i) && (o = i.$cursor), o) { const s = (r = t.storedMarks) !== null && r !== void 0 ? r : o.marks(); return !!n.isInSet(s) || !s.some((l) => l.type.excludes(n)); } @@ -10924,11 +10924,11 @@ function VT(t, e, n) { }), c; }); } -const YT = (t, e = {}) => ({ tr: n, state: r, dispatch: i }) => { +const XT = (t, e = {}) => ({ tr: n, state: r, dispatch: i }) => { const { selection: o } = n, { empty: a, ranges: s } = o, l = En(t, r.schema); if (i) if (a) { - const c = Gc(r, l); + const c = zc(r, l); n.addStoredMark(l.create({ ...c, ...e @@ -10946,41 +10946,41 @@ const YT = (t, e = {}) => ({ tr: n, state: r, dispatch: i }) => { }) : n.addMark(m, f, l.create(e)); }); }); - return VT(r, n, l); -}, zT = (t, e) => ({ tr: n }) => (n.setMeta(t, e), !0), $T = (t, e = {}) => ({ state: n, dispatch: r, chain: i }) => { + return ZT(r, n, l); +}, jT = (t, e) => ({ tr: n }) => (n.setMeta(t, e), !0), JT = (t, e = {}) => ({ state: n, dispatch: r, chain: i }) => { const o = qe(t, n.schema); let a; - return n.selection.$anchor.sameParent(n.selection.$head) && (a = n.selection.$anchor.parent.attrs), o.isTextblock ? i().command(({ commands: s }) => Vd(o, { ...a, ...e })(n) ? !0 : s.clearNodes()).command(({ state: s }) => Vd(o, { ...a, ...e })(s, r)).run() : (console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'), !1); -}, qT = (t) => ({ tr: e, dispatch: n }) => { + return n.selection.$anchor.sameParent(n.selection.$head) && (a = n.selection.$anchor.parent.attrs), o.isTextblock ? i().command(({ commands: s }) => $d(o, { ...a, ...e })(n) ? !0 : s.clearNodes()).command(({ state: s }) => $d(o, { ...a, ...e })(s, r)).run() : (console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'), !1); +}, eC = (t) => ({ tr: e, dispatch: n }) => { if (n) { const { doc: r } = e, i = fn(t, 0, r.content.size), o = ee.create(r, i); e.setSelection(o); } return !0; -}, WT = (t) => ({ tr: e, dispatch: n }) => { +}, tC = (t) => ({ tr: e, dispatch: n }) => { if (n) { const { doc: r } = e, { from: i, to: o } = typeof t == "number" ? { from: t, to: t } : t, a = Z.atStart(r).from, s = Z.atEnd(r).to, l = fn(i, a, s), c = fn(o, a, s), u = Z.create(r, l, c); e.setSelection(u); } return !0; -}, KT = (t) => ({ state: e, dispatch: n }) => { +}, nC = (t) => ({ state: e, dispatch: n }) => { const r = qe(t, e.schema); - return N0(r)(e, n); + return k0(r)(e, n); }; -function Qd(t, e) { +function jd(t, e) { const n = t.storedMarks || t.selection.$to.parentOffset && t.selection.$from.marks(); if (n) { const r = n.filter((i) => e == null ? void 0 : e.includes(i.type.name)); t.tr.ensureMarks(r); } } -const QT = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, editor: i }) => { - const { selection: o, doc: a } = e, { $from: s, $to: l } = o, c = i.extensionManager.attributes, u = Jo(c, s.node().type.name, s.node().attrs); +const rC = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, editor: i }) => { + const { selection: o, doc: a } = e, { $from: s, $to: l } = o, c = i.extensionManager.attributes, u = ta(c, s.node().type.name, s.node().attrs); if (o instanceof ee && o.node.isBlock) - return !s.parentOffset || !Qr(a, s.pos) ? !1 : (r && (t && Qd(n, i.extensionManager.splittableMarks), e.split(s.pos).scrollIntoView()), !0); + return !s.parentOffset || !Qr(a, s.pos) ? !1 : (r && (t && jd(n, i.extensionManager.splittableMarks), e.split(s.pos).scrollIntoView()), !0); if (!s.parent.isBlock) return !1; - const d = l.parentOffset === l.parent.content.size, p = s.depth === 0 ? void 0 : LT(s.node(-1).contentMatchAt(s.indexAfter(-1))); + const d = l.parentOffset === l.parent.content.size, p = s.depth === 0 ? void 0 : VT(s.node(-1).contentMatchAt(s.indexAfter(-1))); let _ = d && p ? [ { type: p, @@ -10994,13 +10994,13 @@ const QT = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, edit } ] : void 0), r) { if (m && (o instanceof Z && e.deleteSelection(), e.split(e.mapping.map(s.pos), 1, _), p && !d && !s.parentOffset && s.parent.type !== p)) { - const f = e.mapping.map(s.before()), g = e.doc.resolve(f); - s.node(-1).canReplaceWith(g.index(), g.index() + 1, p) && e.setNodeMarkup(e.mapping.map(s.before()), p); + const f = e.mapping.map(s.before()), h = e.doc.resolve(f); + s.node(-1).canReplaceWith(h.index(), h.index() + 1, p) && e.setNodeMarkup(e.mapping.map(s.before()), p); } - t && Qd(n, i.extensionManager.splittableMarks), e.scrollIntoView(); + t && jd(n, i.extensionManager.splittableMarks), e.scrollIntoView(); } return m; -}, ZT = (t, e = {}) => ({ tr: n, state: r, dispatch: i, editor: o }) => { +}, iC = (t, e = {}) => ({ tr: n, state: r, dispatch: i, editor: o }) => { var a; const s = qe(t, r.schema), { $from: l, $to: c } = r.selection, u = r.selection.node; if (u && u.isBlock || l.depth < 2 || !l.sameParent(c)) @@ -11017,10 +11017,10 @@ const QT = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, edit const S = l.index(-1) ? 1 : l.index(-2) ? 2 : 3; for (let x = l.depth - S; x >= l.depth - 3; x -= 1) E = w.from(l.node(x).copy(E)); - const b = l.indexAfter(-1) < l.node(-2).childCount ? 1 : l.indexAfter(-2) < l.node(-3).childCount ? 2 : 3, h = { - ...Jo(p, l.node().type.name, l.node().attrs), + const b = l.indexAfter(-1) < l.node(-2).childCount ? 1 : l.indexAfter(-2) < l.node(-3).childCount ? 2 : 3, g = { + ...ta(p, l.node().type.name, l.node().attrs), ...e - }, C = ((a = s.contentMatch.defaultType) === null || a === void 0 ? void 0 : a.createAndFill(h)) || void 0; + }, C = ((a = s.contentMatch.defaultType) === null || a === void 0 ? void 0 : a.createAndFill(g)) || void 0; E = E.append(w.from(s.createAndFill(null, C) || void 0)); const T = l.before(l.depth - (S - 1)); n.replace(T, l.after(-b), new H(E, 4 - S, 0)); @@ -11034,29 +11034,29 @@ const QT = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, edit return !0; } const _ = c.pos === l.end() ? d.contentMatchAt(0).defaultType : null, m = { - ...Jo(p, d.type.name, d.attrs), + ...ta(p, d.type.name, d.attrs), ...e }, f = { - ...Jo(p, l.node().type.name, l.node().attrs), + ...ta(p, l.node().type.name, l.node().attrs), ...e }; n.delete(l.pos, c.pos); - const g = _ ? [ + const h = _ ? [ { type: s, attrs: m }, { type: _, attrs: f } ] : [{ type: s, attrs: m }]; if (!Qr(n.doc, l.pos, 2)) return !1; if (i) { - const { selection: E, storedMarks: S } = r, { splittableMarks: b } = o.extensionManager, h = S || E.$to.parentOffset && E.$from.marks(); - if (n.split(l.pos, 2, g).scrollIntoView(), !h || !i) + const { selection: E, storedMarks: S } = r, { splittableMarks: b } = o.extensionManager, g = S || E.$to.parentOffset && E.$from.marks(); + if (n.split(l.pos, 2, h).scrollIntoView(), !g || !i) return !0; - const C = h.filter((T) => b.includes(T.type.name)); + const C = g.filter((T) => b.includes(T.type.name)); n.ensureMarks(C); } return !0; -}, Ks = (t, e) => { - const n = ms((a) => a.type === e)(t.selection); +}, Zs = (t, e) => { + const n = hs((a) => a.type === e)(t.selection); if (!n) return !0; const r = t.doc.resolve(Math.max(0, n.pos - 1)).before(n.depth); @@ -11064,8 +11064,8 @@ const QT = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, edit return !0; const i = t.doc.nodeAt(r); return n.node.type === (i == null ? void 0 : i.type) && $n(t.doc, n.pos) && t.join(n.pos), !0; -}, Qs = (t, e) => { - const n = ms((a) => a.type === e)(t.selection); +}, Xs = (t, e) => { + const n = hs((a) => a.type === e)(t.selection); if (!n) return !0; const r = t.doc.resolve(n.start).after(n.depth); @@ -11073,32 +11073,32 @@ const QT = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, edit return !0; const i = t.doc.nodeAt(r); return n.node.type === (i == null ? void 0 : i.type) && $n(t.doc, r) && t.join(r), !0; -}, XT = (t, e, n, r = {}) => ({ editor: i, tr: o, state: a, dispatch: s, chain: l, commands: c, can: u }) => { - const { extensions: d, splittableMarks: p } = i.extensionManager, _ = qe(t, a.schema), m = qe(e, a.schema), { selection: f, storedMarks: g } = a, { $from: E, $to: S } = f, b = E.blockRange(S), h = g || f.$to.parentOffset && f.$from.marks(); +}, oC = (t, e, n, r = {}) => ({ editor: i, tr: o, state: a, dispatch: s, chain: l, commands: c, can: u }) => { + const { extensions: d, splittableMarks: p } = i.extensionManager, _ = qe(t, a.schema), m = qe(e, a.schema), { selection: f, storedMarks: h } = a, { $from: E, $to: S } = f, b = E.blockRange(S), g = h || f.$to.parentOffset && f.$from.marks(); if (!b) return !1; - const C = ms((T) => Kd(T.type.name, d))(f); + const C = hs((T) => Xd(T.type.name, d))(f); if (b.depth >= 1 && C && b.depth - C.depth <= 1) { if (C.node.type === _) return c.liftListItem(m); - if (Kd(C.node.type.name, d) && _.validContent(C.node.content) && s) - return l().command(() => (o.setNodeMarkup(C.pos, _), !0)).command(() => Ks(o, _)).command(() => Qs(o, _)).run(); + if (Xd(C.node.type.name, d) && _.validContent(C.node.content) && s) + return l().command(() => (o.setNodeMarkup(C.pos, _), !0)).command(() => Zs(o, _)).command(() => Xs(o, _)).run(); } - return !n || !h || !s ? l().command(() => u().wrapInList(_, r) ? !0 : c.clearNodes()).wrapInList(_, r).command(() => Ks(o, _)).command(() => Qs(o, _)).run() : l().command(() => { - const T = u().wrapInList(_, r), R = h.filter((x) => p.includes(x.type.name)); + return !n || !g || !s ? l().command(() => u().wrapInList(_, r) ? !0 : c.clearNodes()).wrapInList(_, r).command(() => Zs(o, _)).command(() => Xs(o, _)).run() : l().command(() => { + const T = u().wrapInList(_, r), R = g.filter((x) => p.includes(x.type.name)); return o.ensureMarks(R), T ? !0 : c.clearNodes(); - }).wrapInList(_, r).command(() => Ks(o, _)).command(() => Qs(o, _)).run(); -}, jT = (t, e = {}, n = {}) => ({ state: r, commands: i }) => { + }).wrapInList(_, r).command(() => Zs(o, _)).command(() => Xs(o, _)).run(); +}, aC = (t, e = {}, n = {}) => ({ state: r, commands: i }) => { const { extendEmptyMarkRange: o = !1 } = n, a = En(t, r.schema); - return Kl(r, a, e) ? i.unsetMark(a, { extendEmptyMarkRange: o }) : i.setMark(a, e); -}, JT = (t, e, n = {}) => ({ state: r, commands: i }) => { - const o = qe(t, r.schema), a = qe(e, r.schema), s = hr(r, o, n); + return Zl(r, a, e) ? i.unsetMark(a, { extendEmptyMarkRange: o }) : i.setMark(a, e); +}, sC = (t, e, n = {}) => ({ state: r, commands: i }) => { + const o = qe(t, r.schema), a = qe(e, r.schema), s = gr(r, o, n); let l; return r.selection.$anchor.sameParent(r.selection.$head) && (l = r.selection.$anchor.parent.attrs), s ? i.setNode(a, l) : i.setNode(o, { ...l, ...n }); -}, eC = (t, e = {}) => ({ state: n, commands: r }) => { +}, lC = (t, e = {}) => ({ state: n, commands: r }) => { const i = qe(t, n.schema); - return hr(n, i, e) ? r.lift(i) : r.wrapIn(i, e); -}, tC = () => ({ state: t, dispatch: e }) => { + return gr(n, i, e) ? r.lift(i) : r.wrapIn(i, e); +}, cC = () => ({ state: t, dispatch: e }) => { const n = t.plugins; for (let r = 0; r < n.length; r += 1) { const i = n[r]; @@ -11118,40 +11118,40 @@ const QT = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, edit } } return !1; -}, nC = () => ({ tr: t, dispatch: e }) => { +}, uC = () => ({ tr: t, dispatch: e }) => { const { selection: n } = t, { empty: r, ranges: i } = n; return r || e && i.forEach((o) => { t.removeMark(o.$from.pos, o.$to.pos); }), !0; -}, rC = (t, e = {}) => ({ tr: n, state: r, dispatch: i }) => { +}, dC = (t, e = {}) => ({ tr: n, state: r, dispatch: i }) => { var o; const { extendEmptyMarkRange: a = !1 } = e, { selection: s } = n, l = En(t, r.schema), { $from: c, empty: u, ranges: d } = s; if (!i) return !0; if (u && a) { let { from: p, to: _ } = s; - const m = (o = c.marks().find((g) => g.type === l)) === null || o === void 0 ? void 0 : o.attrs, f = Bc(c, l, m); + const m = (o = c.marks().find((h) => h.type === l)) === null || o === void 0 ? void 0 : o.attrs, f = Gc(c, l, m); f && (p = f.from, _ = f.to), n.removeMark(p, _, l); } else d.forEach((p) => { n.removeMark(p.$from.pos, p.$to.pos, l); }); return n.removeStoredMark(l), !0; -}, iC = (t, e = {}) => ({ tr: n, state: r, dispatch: i }) => { +}, pC = (t, e = {}) => ({ tr: n, state: r, dispatch: i }) => { let o = null, a = null; - const s = _s(typeof t == "string" ? t : t.name, r.schema); + const s = fs(typeof t == "string" ? t : t.name, r.schema); return s ? (s === "node" && (o = qe(t, r.schema)), s === "mark" && (a = En(t, r.schema)), i && n.selection.ranges.forEach((l) => { const c = l.$from.pos, u = l.$to.pos; let d, p, _, m; - n.selection.empty ? r.doc.nodesBetween(c, u, (f, g) => { - o && o === f.type && (_ = Math.max(g, c), m = Math.min(g + f.nodeSize, u), d = g, p = f); - }) : r.doc.nodesBetween(c, u, (f, g) => { - g < c && o && o === f.type && (_ = Math.max(g, c), m = Math.min(g + f.nodeSize, u), d = g, p = f), g >= c && g <= u && (o && o === f.type && n.setNodeMarkup(g, void 0, { + n.selection.empty ? r.doc.nodesBetween(c, u, (f, h) => { + o && o === f.type && (_ = Math.max(h, c), m = Math.min(h + f.nodeSize, u), d = h, p = f); + }) : r.doc.nodesBetween(c, u, (f, h) => { + h < c && o && o === f.type && (_ = Math.max(h, c), m = Math.min(h + f.nodeSize, u), d = h, p = f), h >= c && h <= u && (o && o === f.type && n.setNodeMarkup(h, void 0, { ...f.attrs, ...e }), a && f.marks.length && f.marks.forEach((E) => { if (a === E.type) { - const S = Math.max(g, c), b = Math.min(g + f.nodeSize, u); + const S = Math.max(h, c), b = Math.min(h + f.nodeSize, u); n.addMark(S, b, a.create({ ...E.attrs, ...e @@ -11168,82 +11168,82 @@ const QT = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, edit })); })); }), !0) : !1; -}, oC = (t, e = {}) => ({ state: n, dispatch: r }) => { +}, _C = (t, e = {}) => ({ state: n, dispatch: r }) => { const i = qe(t, n.schema); - return T0(i, e)(n, r); -}, aC = (t, e = {}) => ({ state: n, dispatch: r }) => { + return I0(i, e)(n, r); +}, mC = (t, e = {}) => ({ state: n, dispatch: r }) => { const i = qe(t, n.schema); - return C0(i, e)(n, r); + return x0(i, e)(n, r); }; -var sC = /* @__PURE__ */ Object.freeze({ +var fC = /* @__PURE__ */ Object.freeze({ __proto__: null, - blur: z0, - clearContent: $0, - clearNodes: q0, - command: W0, - createParagraphNear: K0, - cut: Q0, - deleteCurrentNode: Z0, - deleteNode: X0, - deleteRange: j0, - deleteSelection: J0, - enter: eT, - exitCode: tT, - extendMarkRange: nT, - first: rT, - focus: iT, - forEach: oT, - insertContent: aT, - insertContentAt: cT, - joinBackward: pT, - joinDown: dT, - joinForward: _T, - joinItemBackward: mT, - joinItemForward: fT, - joinTextblockBackward: gT, - joinTextblockForward: hT, - joinUp: uT, - keyboardShortcut: ST, - lift: bT, - liftEmptyBlock: TT, - liftListItem: CT, - newlineInCode: yT, - resetAttributes: vT, - scrollIntoView: RT, - selectAll: OT, - selectNodeBackward: NT, - selectNodeForward: AT, - selectParentNode: IT, - selectTextblockEnd: xT, - selectTextblockStart: DT, - setContent: MT, - setMark: YT, - setMeta: zT, - setNode: $T, - setNodeSelection: qT, - setTextSelection: WT, - sinkListItem: KT, - splitBlock: QT, - splitListItem: ZT, - toggleList: XT, - toggleMark: jT, - toggleNode: JT, - toggleWrap: eC, - undoInputRule: tC, - unsetAllMarks: nC, - unsetMark: rC, - updateAttributes: iC, - wrapIn: oC, - wrapInList: aC + blur: j0, + clearContent: J0, + clearNodes: eT, + command: tT, + createParagraphNear: nT, + cut: rT, + deleteCurrentNode: iT, + deleteNode: oT, + deleteRange: aT, + deleteSelection: sT, + enter: lT, + exitCode: cT, + extendMarkRange: uT, + first: dT, + focus: pT, + forEach: _T, + insertContent: mT, + insertContentAt: gT, + joinBackward: bT, + joinDown: ST, + joinForward: TT, + joinItemBackward: CT, + joinItemForward: yT, + joinTextblockBackward: vT, + joinTextblockForward: RT, + joinUp: ET, + keyboardShortcut: NT, + lift: AT, + liftEmptyBlock: IT, + liftListItem: xT, + newlineInCode: DT, + resetAttributes: MT, + scrollIntoView: wT, + selectAll: LT, + selectNodeBackward: kT, + selectNodeForward: PT, + selectParentNode: FT, + selectTextblockEnd: BT, + selectTextblockStart: UT, + setContent: HT, + setMark: XT, + setMeta: jT, + setNode: JT, + setNodeSelection: eC, + setTextSelection: tC, + sinkListItem: nC, + splitBlock: rC, + splitListItem: iC, + toggleList: oC, + toggleMark: aC, + toggleNode: sC, + toggleWrap: lC, + undoInputRule: cC, + unsetAllMarks: uC, + unsetMark: dC, + updateAttributes: pC, + wrapIn: _C, + wrapInList: mC }); -const lC = ge.create({ +const hC = he.create({ name: "commands", addCommands() { return { - ...sC + ...fC }; } -}), cC = ge.create({ +}), gC = he.create({ name: "drop", addProseMirrorPlugins() { return [ @@ -11262,7 +11262,7 @@ const lC = ge.create({ }) ]; } -}), uC = ge.create({ +}), EC = he.create({ name: "editable", addProseMirrorPlugins() { return [ @@ -11274,7 +11274,7 @@ const lC = ge.create({ }) ]; } -}), dC = ge.create({ +}), SC = he.create({ name: "focusEvents", addProseMirrorPlugins() { const { editor: t } = this; @@ -11298,14 +11298,14 @@ const lC = ge.create({ }) ]; } -}), pC = ge.create({ +}), bC = he.create({ name: "keymap", addKeyboardShortcuts() { const t = () => this.editor.commands.first(({ commands: a }) => [ () => a.undoInputRule(), // maybe convert first text block node to default node () => a.command(({ tr: s }) => { - const { selection: l, doc: c } = s, { empty: u, $anchor: d } = l, { pos: p, parent: _ } = d, m = d.parent.isTextblock && p > 0 ? s.doc.resolve(p - 1) : d, f = m.parent.type.spec.isolating, g = d.pos - d.parentOffset, E = f && m.parent.childCount === 1 ? g === d.pos : te.atStart(c).from === p; + const { selection: l, doc: c } = s, { empty: u, $anchor: d } = l, { pos: p, parent: _ } = d, m = d.parent.isTextblock && p > 0 ? s.doc.resolve(p - 1) : d, f = m.parent.type.spec.isolating, h = d.pos - d.parentOffset, E = f && m.parent.childCount === 1 ? h === d.pos : te.atStart(c).from === p; return !u || !_.type.isTextblock || _.textContent.length || !E || E && d.parent.type.name === "paragraph" ? !1 : a.clearNodes(); }), () => a.deleteSelection(), @@ -11343,7 +11343,7 @@ const lC = ge.create({ "Ctrl-a": () => this.editor.commands.selectTextblockStart(), "Ctrl-e": () => this.editor.commands.selectTextblockEnd() }; - return Hc() || xf() ? o : i; + return Yc() || Lf() ? o : i; }, addProseMirrorPlugins() { return [ @@ -11359,12 +11359,12 @@ const lC = ge.create({ if (!r || i) return; const { empty: o, from: a, to: s } = e.selection, l = te.atStart(e.doc).from, c = te.atEnd(e.doc).to; - if (o || !(a === l && s === c) || !fs(n.doc)) + if (o || !(a === l && s === c) || !gs(n.doc)) return; - const p = n.tr, _ = ls({ + const p = n.tr, _ = us({ state: n, transaction: p - }), { commands: m } = new cs({ + }), { commands: m } = new ds({ editor: this.editor, state: _ }); @@ -11374,7 +11374,7 @@ const lC = ge.create({ }) ]; } -}), _C = ge.create({ +}), TC = he.create({ name: "paste", addProseMirrorPlugins() { return [ @@ -11392,7 +11392,7 @@ const lC = ge.create({ }) ]; } -}), mC = ge.create({ +}), CC = he.create({ name: "tabindex", addProseMirrorPlugins() { return [ @@ -11528,7 +11528,7 @@ class er { }), this.editor.view.dispatch(n); } } -const fC = `.ProseMirror { +const yC = `.ProseMirror { position: relative; } @@ -11603,14 +11603,14 @@ img.ProseMirror-separator { .tippy-box[data-animation=fade][data-state=hidden] { opacity: 0 }`; -function gC(t, e, n) { +function vC(t, e, n) { const r = document.querySelector("style[data-tiptap-style]"); if (r !== null) return r; const i = document.createElement("style"); return e && i.setAttribute("nonce", e), i.setAttribute("data-tiptap-style", ""), i.innerHTML = t, document.getElementsByTagName("head")[0].appendChild(i), i; } -class hC extends A0 { +class RC extends P0 { constructor(e = {}) { super(), this.isFocused = !1, this.isInitialized = !1, this.extensionStorage = {}, this.options = { element: document.createElement("div"), @@ -11672,7 +11672,7 @@ class hC extends A0 { * Inject CSS styles. */ injectCSS() { - this.options.injectCSS && document && (this.css = gC(fC, this.options.injectNonce)); + this.options.injectCSS && document && (this.css = vC(yC, this.options.injectNonce)); } /** * Update editor options. @@ -11711,7 +11711,7 @@ class hC extends A0 { * @returns The new editor state */ registerPlugin(e, n) { - const r = Rf(n) ? n(e, [...this.state.plugins]) : [...this.state.plugins, e], i = this.state.reconfigure({ plugins: r }); + const r = If(n) ? n(e, [...this.state.plugins]) : [...this.state.plugins, e], i = this.state.reconfigure({ plugins: r }); return this.view.updateState(i), i; } /** @@ -11741,16 +11741,16 @@ class hC extends A0 { createExtensionManager() { var e, n; const i = [...this.options.enableCoreExtensions ? [ - uC, - Y0.configure({ + EC, + X0.configure({ blockSeparator: (n = (e = this.options.coreExtensionOptions) === null || e === void 0 ? void 0 : e.clipboardTextSerializer) === null || n === void 0 ? void 0 : n.blockSeparator }), - lC, - dC, - pC, - mC, - cC, - _C + hC, + SC, + bC, + CC, + gC, + TC ].filter((o) => typeof this.options.enableCoreExtensions == "object" ? this.options.enableCoreExtensions[o.name] !== !1 : !0) : [], ...this.options.extensions].filter((o) => ["extension", "node", "mark"].includes(o == null ? void 0 : o.type)); this.extensionManager = new Yr(i, this); } @@ -11758,7 +11758,7 @@ class hC extends A0 { * Creates an command manager. */ createCommandManager() { - this.commandManager = new cs({ + this.commandManager = new ds({ editor: this }); } @@ -11775,7 +11775,7 @@ class hC extends A0 { var e; let n; try { - n = ql(this.options.content, this.schema, this.options.parseOptions, { errorOnInvalidContent: this.options.enableContentCheck }); + n = Kl(this.options.content, this.schema, this.options.parseOptions, { errorOnInvalidContent: this.options.enableContentCheck }); } catch (a) { if (!(a instanceof Error) || !["[tiptap error]: Invalid JSON content", "[tiptap error]: Invalid HTML content"].includes(a.message)) throw a; @@ -11785,10 +11785,10 @@ class hC extends A0 { disableCollaboration: () => { this.storage.collaboration && (this.storage.collaboration.isDisabled = !0), this.options.extensions = this.options.extensions.filter((s) => s.name !== "collaboration"), this.createExtensionManager(); } - }), n = ql(this.options.content, this.schema, this.options.parseOptions, { errorOnInvalidContent: !1 }); + }), n = Kl(this.options.content, this.schema, this.options.parseOptions, { errorOnInvalidContent: !1 }); } - const r = Af(n, this.options.autofocus); - this.view = new Wb(this.options.element, { + const r = Mf(n, this.options.autofocus); + this.view = new t0(this.options.element, { ...this.options.editorProps, attributes: { // add `role="textbox"` to the editor element @@ -11876,11 +11876,11 @@ class hC extends A0 { * Get attributes of the currently selected node or mark. */ getAttributes(e) { - return Mf(this.state, e); + return Pf(this.state, e); } isActive(e, n) { const r = typeof e == "string" ? e : null, i = typeof e == "string" ? n : e; - return GT(this.state, r, i); + return QT(this.state, r, i); } /** * Get the document as JSON. @@ -11892,7 +11892,7 @@ class hC extends A0 { * Get the document as HTML. */ getHTML() { - return Pc(this.state.doc.content, this.schema); + return Uc(this.state.doc.content, this.schema); } /** * Get the document as text. @@ -11901,10 +11901,10 @@ class hC extends A0 { const { blockSeparator: n = ` `, textSerializers: r = {} } = e || {}; - return PT(this.state.doc, { + return zT(this.state.doc, { blockSeparator: n, textSerializers: { - ...Of(this.schema), + ...xf(this.schema), ...r } }); @@ -11913,7 +11913,7 @@ class hC extends A0 { * Check if there is no content. */ get isEmpty() { - return fs(this.state.doc); + return gs(this.state.doc); } /** * Get the number of characters for the current document. @@ -11957,7 +11957,7 @@ class hC extends A0 { } } function Er(t) { - return new fo({ + return new ho({ find: t.find, handler: ({ state: e, range: n, match: r }) => { const i = le(t.getAttributes, void 0, r); @@ -11966,7 +11966,7 @@ function Er(t) { const { tr: o } = e, a = r[r.length - 1], s = r[0]; if (a) { const l = s.search(/\S/), c = n.from + s.indexOf(a), u = c + a.length; - if (Vc(n.from, n.to, e.doc).filter((_) => _.mark.type.excluded.find((f) => f === t.type && f !== _.mark.type)).filter((_) => _.to > c).length) + if ($c(n.from, n.to, e.doc).filter((_) => _.mark.type.excluded.find((f) => f === t.type && f !== _.mark.type)).filter((_) => _.to > c).length) return null; u < n.to && o.delete(u, n.to), c > n.from && o.delete(n.from + l, c); const p = n.from + l + a.length; @@ -11975,8 +11975,8 @@ function Er(t) { } }); } -function Yc(t) { - return new fo({ +function qc(t) { + return new ho({ find: t.find, handler: ({ state: e, range: n, match: r }) => { const i = le(t.getAttributes, void 0, r) || {}, { tr: o } = e, a = n.from; @@ -11996,8 +11996,8 @@ function Yc(t) { } }); } -function Ql(t) { - return new fo({ +function Xl(t) { + return new ho({ find: t.find, handler: ({ state: e, range: n, match: r }) => { const i = e.doc.resolve(n.from), o = le(t.getAttributes, void 0, r) || {}; @@ -12008,16 +12008,16 @@ function Ql(t) { }); } function Sr(t) { - return new fo({ + return new ho({ find: t.find, handler: ({ state: e, range: n, match: r, chain: i }) => { - const o = le(t.getAttributes, void 0, r) || {}, a = e.tr.delete(n.from, n.to), l = a.doc.resolve(n.from).blockRange(), c = l && Cc(l, t.type, o); + const o = le(t.getAttributes, void 0, r) || {}, a = e.tr.delete(n.from, n.to), l = a.doc.resolve(n.from).blockRange(), c = l && Rc(l, t.type, o); if (!c) return null; if (a.wrap(l, c), t.keepMarks && t.editor) { const { selection: d, storedMarks: p } = e, { splittableMarks: _ } = t.editor.extensionManager, m = p || d.$to.parentOffset && d.$from.marks(); if (m) { - const f = m.filter((g) => _.includes(g.type.name)); + const f = m.filter((h) => _.includes(h.type.name)); a.ensureMarks(f); } } @@ -12030,7 +12030,7 @@ function Sr(t) { } }); } -let Ne = class Zl { +let Ne = class jl { constructor(e = {}) { this.type = "node", this.name = "node", this.parent = null, this.child = null, this.config = { name: this.name, @@ -12046,17 +12046,17 @@ let Ne = class Zl { })) || {}; } static create(e = {}) { - return new Zl(e); + return new jl(e); } configure(e = {}) { const n = this.extend({ ...this.config, - addOptions: () => ds(this.options, e) + addOptions: () => _s(this.options, e) }); return n.name = this.name, n.parent = this.parent, n; } extend(e = {}) { - const n = new Zl(e); + const n = new jl(e); return n.parent = this, this.child = n, n.name = e.name ? e.name : n.parent.name, e.defaultOptions && Object.keys(e.defaultOptions).length > 0 && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${n.name}".`), n.options = le(W(n, "addOptions", { name: n.name })), n.storage = le(W(n, "addStorage", { @@ -12066,7 +12066,7 @@ let Ne = class Zl { } }; function Vn(t) { - return new F0({ + return new $0({ find: t.find, handler: ({ state: e, range: n, match: r, pasteEvent: i }) => { const o = le(t.getAttributes, void 0, r, i); @@ -12076,14 +12076,14 @@ function Vn(t) { let c = n.to; if (s) { const u = l.search(/\S/), d = n.from + l.indexOf(s), p = d + s.length; - if (Vc(n.from, n.to, e.doc).filter((m) => m.mark.type.excluded.find((g) => g === t.type && g !== m.mark.type)).filter((m) => m.to > d).length) + if ($c(n.from, n.to, e.doc).filter((m) => m.mark.type.excluded.find((h) => h === t.type && h !== m.mark.type)).filter((m) => m.to > d).length) return null; p < n.to && a.delete(p, n.to), d > n.from && a.delete(n.from + u, d), c = n.from + u + s.length, a.addMark(n.from + u, c, t.type.create(o || {})), a.removeStoredMark(t.type); } } }); } -function EC(t) { +function OC(t) { return t.replace(/[-/\\^$*+?.()|[\]{}]/g, "\\$&"); } class me extends HTMLElement { @@ -12122,7 +12122,7 @@ class me extends HTMLElement { n ? (this.style.pointerEvents = "", this.style.opacity = "") : (this.style.pointerEvents = "none", this.style.opacity = "0.5"); } } -class Lf extends me { +class Bf extends me { constructor() { super(), this.template = `
@@ -12135,7 +12135,7 @@ class Lf extends me { e.undo(); } } -class SC extends me { +class NC extends me { constructor() { super(), this.template = `
@@ -12148,11 +12148,11 @@ class SC extends me { e.redo(); } } -var _t = "top", Lt = "bottom", kt = "right", mt = "left", zc = "auto", go = [_t, Lt, kt, mt], ii = "start", Qi = "end", bC = "clippingParents", kf = "viewport", bi = "popper", TC = "reference", Zd = /* @__PURE__ */ go.reduce(function(t, e) { - return t.concat([e + "-" + ii, e + "-" + Qi]); -}, []), Pf = /* @__PURE__ */ [].concat(go, [zc]).reduce(function(t, e) { - return t.concat([e, e + "-" + ii, e + "-" + Qi]); -}, []), CC = "beforeRead", yC = "read", vC = "afterRead", RC = "beforeMain", OC = "main", NC = "afterMain", AC = "beforeWrite", IC = "write", xC = "afterWrite", DC = [CC, yC, vC, RC, OC, NC, AC, IC, xC]; +var _t = "top", Lt = "bottom", kt = "right", mt = "left", Wc = "auto", go = [_t, Lt, kt, mt], ii = "start", Zi = "end", AC = "clippingParents", Uf = "viewport", Ti = "popper", IC = "reference", Jd = /* @__PURE__ */ go.reduce(function(t, e) { + return t.concat([e + "-" + ii, e + "-" + Zi]); +}, []), Hf = /* @__PURE__ */ [].concat(go, [Wc]).reduce(function(t, e) { + return t.concat([e, e + "-" + ii, e + "-" + Zi]); +}, []), xC = "beforeRead", DC = "read", MC = "afterRead", wC = "beforeMain", LC = "main", kC = "afterMain", PC = "beforeWrite", FC = "write", BC = "afterWrite", UC = [xC, DC, MC, wC, LC, kC, PC, FC, BC]; function rn(t) { return t ? (t.nodeName || "").toLowerCase() : null; } @@ -12173,13 +12173,13 @@ function wt(t) { var e = Rt(t).HTMLElement; return t instanceof e || t instanceof HTMLElement; } -function $c(t) { +function Kc(t) { if (typeof ShadowRoot > "u") return !1; var e = Rt(t).ShadowRoot; return t instanceof e || t instanceof ShadowRoot; } -function MC(t) { +function HC(t) { var e = t.state; Object.keys(e.elements).forEach(function(n) { var r = e.styles[n] || {}, i = e.attributes[n] || {}, o = e.elements[n]; @@ -12189,7 +12189,7 @@ function MC(t) { })); }); } -function wC(t) { +function GC(t) { var e = t.state, n = { popper: { position: e.options.strategy, @@ -12213,32 +12213,32 @@ function wC(t) { }); }; } -const Ff = { +const Gf = { name: "applyStyles", enabled: !0, phase: "write", - fn: MC, - effect: wC, + fn: HC, + effect: GC, requires: ["computeStyles"] }; function en(t) { return t.split("-")[0]; } -var ur = Math.max, ba = Math.min, oi = Math.round; -function Xl() { +var ur = Math.max, Ca = Math.min, oi = Math.round; +function Jl() { var t = navigator.userAgentData; return t != null && t.brands && Array.isArray(t.brands) ? t.brands.map(function(e) { return e.brand + "/" + e.version; }).join(" ") : navigator.userAgent; } -function Bf() { - return !/^((?!chrome|android).)*safari/i.test(Xl()); +function Vf() { + return !/^((?!chrome|android).)*safari/i.test(Jl()); } function ai(t, e, n) { e === void 0 && (e = !1), n === void 0 && (n = !1); var r = t.getBoundingClientRect(), i = 1, o = 1; e && wt(t) && (i = t.offsetWidth > 0 && oi(r.width) / t.offsetWidth || 1, o = t.offsetHeight > 0 && oi(r.height) / t.offsetHeight || 1); - var a = br(t) ? Rt(t) : window, s = a.visualViewport, l = !Bf() && n, c = (r.left + (l && s ? s.offsetLeft : 0)) / i, u = (r.top + (l && s ? s.offsetTop : 0)) / o, d = r.width / i, p = r.height / o; + var a = br(t) ? Rt(t) : window, s = a.visualViewport, l = !Vf() && n, c = (r.left + (l && s ? s.offsetLeft : 0)) / i, u = (r.top + (l && s ? s.offsetTop : 0)) / o, d = r.width / i, p = r.height / o; return { width: d, height: p, @@ -12250,7 +12250,7 @@ function ai(t, e, n) { y: u }; } -function qc(t) { +function Qc(t) { var e = ai(t), n = t.offsetWidth, r = t.offsetHeight; return Math.abs(e.width - n) <= 1 && (n = e.width), Math.abs(e.height - r) <= 1 && (r = e.height), { x: t.offsetLeft, @@ -12259,11 +12259,11 @@ function qc(t) { height: r }; } -function Uf(t, e) { +function Yf(t, e) { var n = e.getRootNode && e.getRootNode(); if (t.contains(e)) return !0; - if (n && $c(n)) { + if (n && Kc(n)) { var r = e; do { if (r && t.isSameNode(r)) @@ -12273,10 +12273,10 @@ function Uf(t, e) { } return !1; } -function hn(t) { +function gn(t) { return Rt(t).getComputedStyle(t); } -function LC(t) { +function VC(t) { return ["table", "td", "th"].indexOf(rn(t)) >= 0; } function Wn(t) { @@ -12285,54 +12285,54 @@ function Wn(t) { t.document )) || window.document).documentElement; } -function gs(t) { +function Es(t) { return rn(t) === "html" ? t : ( // this is a quicker (but less type safe) way to save quite some bytes from the bundle // $FlowFixMe[incompatible-return] // $FlowFixMe[prop-missing] t.assignedSlot || // step into the shadow DOM of the parent of a slotted node t.parentNode || // DOM Element detected - ($c(t) ? t.host : null) || // ShadowRoot detected + (Kc(t) ? t.host : null) || // ShadowRoot detected // $FlowFixMe[incompatible-call]: HTMLElement is a Node Wn(t) ); } -function Xd(t) { +function ep(t) { return !wt(t) || // https://github.com/popperjs/popper-core/issues/837 - hn(t).position === "fixed" ? null : t.offsetParent; + gn(t).position === "fixed" ? null : t.offsetParent; } -function kC(t) { - var e = /firefox/i.test(Xl()), n = /Trident/i.test(Xl()); +function YC(t) { + var e = /firefox/i.test(Jl()), n = /Trident/i.test(Jl()); if (n && wt(t)) { - var r = hn(t); + var r = gn(t); if (r.position === "fixed") return null; } - var i = gs(t); - for ($c(i) && (i = i.host); wt(i) && ["html", "body"].indexOf(rn(i)) < 0; ) { - var o = hn(i); + var i = Es(t); + for (Kc(i) && (i = i.host); wt(i) && ["html", "body"].indexOf(rn(i)) < 0; ) { + var o = gn(i); if (o.transform !== "none" || o.perspective !== "none" || o.contain === "paint" || ["transform", "perspective"].indexOf(o.willChange) !== -1 || e && o.willChange === "filter" || e && o.filter && o.filter !== "none") return i; i = i.parentNode; } return null; } -function ho(t) { - for (var e = Rt(t), n = Xd(t); n && LC(n) && hn(n).position === "static"; ) - n = Xd(n); - return n && (rn(n) === "html" || rn(n) === "body" && hn(n).position === "static") ? e : n || kC(t) || e; +function Eo(t) { + for (var e = Rt(t), n = ep(t); n && VC(n) && gn(n).position === "static"; ) + n = ep(n); + return n && (rn(n) === "html" || rn(n) === "body" && gn(n).position === "static") ? e : n || YC(t) || e; } -function Wc(t) { +function Zc(t) { return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y"; } -function Li(t, e, n) { - return ur(t, ba(e, n)); +function ki(t, e, n) { + return ur(t, Ca(e, n)); } -function PC(t, e, n) { - var r = Li(t, e, n); +function zC(t, e, n) { + var r = ki(t, e, n); return r > n ? n : r; } -function Hf() { +function zf() { return { top: 0, right: 0, @@ -12340,76 +12340,76 @@ function Hf() { left: 0 }; } -function Gf(t) { - return Object.assign({}, Hf(), t); +function $f(t) { + return Object.assign({}, zf(), t); } -function Vf(t, e) { +function qf(t, e) { return e.reduce(function(n, r) { return n[r] = t, n; }, {}); } -var FC = function(e, n) { +var $C = function(e, n) { return e = typeof e == "function" ? e(Object.assign({}, n.rects, { placement: n.placement - })) : e, Gf(typeof e != "number" ? e : Vf(e, go)); + })) : e, $f(typeof e != "number" ? e : qf(e, go)); }; -function BC(t) { - var e, n = t.state, r = t.name, i = t.options, o = n.elements.arrow, a = n.modifiersData.popperOffsets, s = en(n.placement), l = Wc(s), c = [mt, kt].indexOf(s) >= 0, u = c ? "height" : "width"; +function qC(t) { + var e, n = t.state, r = t.name, i = t.options, o = n.elements.arrow, a = n.modifiersData.popperOffsets, s = en(n.placement), l = Zc(s), c = [mt, kt].indexOf(s) >= 0, u = c ? "height" : "width"; if (!(!o || !a)) { - var d = FC(i.padding, n), p = qc(o), _ = l === "y" ? _t : mt, m = l === "y" ? Lt : kt, f = n.rects.reference[u] + n.rects.reference[l] - a[l] - n.rects.popper[u], g = a[l] - n.rects.reference[l], E = ho(o), S = E ? l === "y" ? E.clientHeight || 0 : E.clientWidth || 0 : 0, b = f / 2 - g / 2, h = d[_], C = S - p[u] - d[m], T = S / 2 - p[u] / 2 + b, R = Li(h, T, C), x = l; + var d = $C(i.padding, n), p = Qc(o), _ = l === "y" ? _t : mt, m = l === "y" ? Lt : kt, f = n.rects.reference[u] + n.rects.reference[l] - a[l] - n.rects.popper[u], h = a[l] - n.rects.reference[l], E = Eo(o), S = E ? l === "y" ? E.clientHeight || 0 : E.clientWidth || 0 : 0, b = f / 2 - h / 2, g = d[_], C = S - p[u] - d[m], T = S / 2 - p[u] / 2 + b, R = ki(g, T, C), x = l; n.modifiersData[r] = (e = {}, e[x] = R, e.centerOffset = R - T, e); } } -function UC(t) { +function WC(t) { var e = t.state, n = t.options, r = n.element, i = r === void 0 ? "[data-popper-arrow]" : r; - i != null && (typeof i == "string" && (i = e.elements.popper.querySelector(i), !i) || Uf(e.elements.popper, i) && (e.elements.arrow = i)); + i != null && (typeof i == "string" && (i = e.elements.popper.querySelector(i), !i) || Yf(e.elements.popper, i) && (e.elements.arrow = i)); } -const HC = { +const KC = { name: "arrow", enabled: !0, phase: "main", - fn: BC, - effect: UC, + fn: qC, + effect: WC, requires: ["popperOffsets"], requiresIfExists: ["preventOverflow"] }; function si(t) { return t.split("-")[1]; } -var GC = { +var QC = { top: "auto", right: "auto", bottom: "auto", left: "auto" }; -function VC(t, e) { +function ZC(t, e) { var n = t.x, r = t.y, i = e.devicePixelRatio || 1; return { x: oi(n * i) / i || 0, y: oi(r * i) / i || 0 }; } -function jd(t) { - var e, n = t.popper, r = t.popperRect, i = t.placement, o = t.variation, a = t.offsets, s = t.position, l = t.gpuAcceleration, c = t.adaptive, u = t.roundOffsets, d = t.isFixed, p = a.x, _ = p === void 0 ? 0 : p, m = a.y, f = m === void 0 ? 0 : m, g = typeof u == "function" ? u({ +function tp(t) { + var e, n = t.popper, r = t.popperRect, i = t.placement, o = t.variation, a = t.offsets, s = t.position, l = t.gpuAcceleration, c = t.adaptive, u = t.roundOffsets, d = t.isFixed, p = a.x, _ = p === void 0 ? 0 : p, m = a.y, f = m === void 0 ? 0 : m, h = typeof u == "function" ? u({ x: _, y: f }) : { x: _, y: f }; - _ = g.x, f = g.y; - var E = a.hasOwnProperty("x"), S = a.hasOwnProperty("y"), b = mt, h = _t, C = window; + _ = h.x, f = h.y; + var E = a.hasOwnProperty("x"), S = a.hasOwnProperty("y"), b = mt, g = _t, C = window; if (c) { - var T = ho(n), R = "clientHeight", x = "clientWidth"; - if (T === Rt(n) && (T = Wn(n), hn(T).position !== "static" && s === "absolute" && (R = "scrollHeight", x = "scrollWidth")), T = T, i === _t || (i === mt || i === kt) && o === Qi) { - h = Lt; + var T = Eo(n), R = "clientHeight", x = "clientWidth"; + if (T === Rt(n) && (T = Wn(n), gn(T).position !== "static" && s === "absolute" && (R = "scrollHeight", x = "scrollWidth")), T = T, i === _t || (i === mt || i === kt) && o === Zi) { + g = Lt; var O = d && T === C && C.visualViewport ? C.visualViewport.height : ( // $FlowFixMe[prop-missing] T[R] ); f -= O - r.height, f *= l ? 1 : -1; } - if (i === mt || (i === _t || i === Lt) && o === Qi) { + if (i === mt || (i === _t || i === Lt) && o === Zi) { b = kt; var M = d && T === C && C.visualViewport ? C.visualViewport.width : ( // $FlowFixMe[prop-missing] @@ -12420,7 +12420,7 @@ function jd(t) { } var B = Object.assign({ position: s - }, c && GC), Y = u === !0 ? VC({ + }, c && QC), Y = u === !0 ? ZC({ x: _, y: f }, Rt(n)) : { @@ -12429,11 +12429,11 @@ function jd(t) { }; if (_ = Y.x, f = Y.y, l) { var $; - return Object.assign({}, B, ($ = {}, $[h] = S ? "0" : "", $[b] = E ? "0" : "", $.transform = (C.devicePixelRatio || 1) <= 1 ? "translate(" + _ + "px, " + f + "px)" : "translate3d(" + _ + "px, " + f + "px, 0)", $)); + return Object.assign({}, B, ($ = {}, $[g] = S ? "0" : "", $[b] = E ? "0" : "", $.transform = (C.devicePixelRatio || 1) <= 1 ? "translate(" + _ + "px, " + f + "px)" : "translate3d(" + _ + "px, " + f + "px, 0)", $)); } - return Object.assign({}, B, (e = {}, e[h] = S ? f + "px" : "", e[b] = E ? _ + "px" : "", e.transform = "", e)); + return Object.assign({}, B, (e = {}, e[g] = S ? f + "px" : "", e[b] = E ? _ + "px" : "", e.transform = "", e)); } -function YC(t) { +function XC(t) { var e = t.state, n = t.options, r = n.gpuAcceleration, i = r === void 0 ? !0 : r, o = n.adaptive, a = o === void 0 ? !0 : o, s = n.roundOffsets, l = s === void 0 ? !0 : s, c = { placement: en(e.placement), variation: si(e.placement), @@ -12442,12 +12442,12 @@ function YC(t) { gpuAcceleration: i, isFixed: e.options.strategy === "fixed" }; - e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper, jd(Object.assign({}, c, { + e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper, tp(Object.assign({}, c, { offsets: e.modifiersData.popperOffsets, position: e.options.strategy, adaptive: a, roundOffsets: l - })))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow, jd(Object.assign({}, c, { + })))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow, tp(Object.assign({}, c, { offsets: e.modifiersData.arrow, position: "absolute", adaptive: !1, @@ -12456,105 +12456,105 @@ function YC(t) { "data-popper-placement": e.placement }); } -const zC = { +const jC = { name: "computeStyles", enabled: !0, phase: "beforeWrite", - fn: YC, + fn: XC, data: {} }; -var Do = { +var wo = { passive: !0 }; -function $C(t) { +function JC(t) { var e = t.state, n = t.instance, r = t.options, i = r.scroll, o = i === void 0 ? !0 : i, a = r.resize, s = a === void 0 ? !0 : a, l = Rt(e.elements.popper), c = [].concat(e.scrollParents.reference, e.scrollParents.popper); return o && c.forEach(function(u) { - u.addEventListener("scroll", n.update, Do); - }), s && l.addEventListener("resize", n.update, Do), function() { + u.addEventListener("scroll", n.update, wo); + }), s && l.addEventListener("resize", n.update, wo), function() { o && c.forEach(function(u) { - u.removeEventListener("scroll", n.update, Do); - }), s && l.removeEventListener("resize", n.update, Do); + u.removeEventListener("scroll", n.update, wo); + }), s && l.removeEventListener("resize", n.update, wo); }; } -const qC = { +const e1 = { name: "eventListeners", enabled: !0, phase: "write", fn: function() { }, - effect: $C, + effect: JC, data: {} }; -var WC = { +var t1 = { left: "right", right: "left", bottom: "top", top: "bottom" }; -function ea(t) { +function na(t) { return t.replace(/left|right|bottom|top/g, function(e) { - return WC[e]; + return t1[e]; }); } -var KC = { +var n1 = { start: "end", end: "start" }; -function Jd(t) { +function np(t) { return t.replace(/start|end/g, function(e) { - return KC[e]; + return n1[e]; }); } -function Kc(t) { +function Xc(t) { var e = Rt(t), n = e.pageXOffset, r = e.pageYOffset; return { scrollLeft: n, scrollTop: r }; } -function Qc(t) { - return ai(Wn(t)).left + Kc(t).scrollLeft; +function jc(t) { + return ai(Wn(t)).left + Xc(t).scrollLeft; } -function QC(t, e) { +function r1(t, e) { var n = Rt(t), r = Wn(t), i = n.visualViewport, o = r.clientWidth, a = r.clientHeight, s = 0, l = 0; if (i) { o = i.width, a = i.height; - var c = Bf(); + var c = Vf(); (c || !c && e === "fixed") && (s = i.offsetLeft, l = i.offsetTop); } return { width: o, height: a, - x: s + Qc(t), + x: s + jc(t), y: l }; } -function ZC(t) { - var e, n = Wn(t), r = Kc(t), i = (e = t.ownerDocument) == null ? void 0 : e.body, o = ur(n.scrollWidth, n.clientWidth, i ? i.scrollWidth : 0, i ? i.clientWidth : 0), a = ur(n.scrollHeight, n.clientHeight, i ? i.scrollHeight : 0, i ? i.clientHeight : 0), s = -r.scrollLeft + Qc(t), l = -r.scrollTop; - return hn(i || n).direction === "rtl" && (s += ur(n.clientWidth, i ? i.clientWidth : 0) - o), { +function i1(t) { + var e, n = Wn(t), r = Xc(t), i = (e = t.ownerDocument) == null ? void 0 : e.body, o = ur(n.scrollWidth, n.clientWidth, i ? i.scrollWidth : 0, i ? i.clientWidth : 0), a = ur(n.scrollHeight, n.clientHeight, i ? i.scrollHeight : 0, i ? i.clientHeight : 0), s = -r.scrollLeft + jc(t), l = -r.scrollTop; + return gn(i || n).direction === "rtl" && (s += ur(n.clientWidth, i ? i.clientWidth : 0) - o), { width: o, height: a, x: s, y: l }; } -function Zc(t) { - var e = hn(t), n = e.overflow, r = e.overflowX, i = e.overflowY; +function Jc(t) { + var e = gn(t), n = e.overflow, r = e.overflowX, i = e.overflowY; return /auto|scroll|overlay|hidden/.test(n + i + r); } -function Yf(t) { - return ["html", "body", "#document"].indexOf(rn(t)) >= 0 ? t.ownerDocument.body : wt(t) && Zc(t) ? t : Yf(gs(t)); +function Wf(t) { + return ["html", "body", "#document"].indexOf(rn(t)) >= 0 ? t.ownerDocument.body : wt(t) && Jc(t) ? t : Wf(Es(t)); } -function ki(t, e) { +function Pi(t, e) { var n; e === void 0 && (e = []); - var r = Yf(t), i = r === ((n = t.ownerDocument) == null ? void 0 : n.body), o = Rt(r), a = i ? [o].concat(o.visualViewport || [], Zc(r) ? r : []) : r, s = e.concat(a); + var r = Wf(t), i = r === ((n = t.ownerDocument) == null ? void 0 : n.body), o = Rt(r), a = i ? [o].concat(o.visualViewport || [], Jc(r) ? r : []) : r, s = e.concat(a); return i ? s : ( // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here - s.concat(ki(gs(a))) + s.concat(Pi(Es(a))) ); } -function jl(t) { +function ec(t) { return Object.assign({}, t, { left: t.x, top: t.y, @@ -12562,27 +12562,27 @@ function jl(t) { bottom: t.y + t.height }); } -function XC(t, e) { +function o1(t, e) { var n = ai(t, !1, e === "fixed"); return n.top = n.top + t.clientTop, n.left = n.left + t.clientLeft, n.bottom = n.top + t.clientHeight, n.right = n.left + t.clientWidth, n.width = t.clientWidth, n.height = t.clientHeight, n.x = n.left, n.y = n.top, n; } -function ep(t, e, n) { - return e === kf ? jl(QC(t, n)) : br(e) ? XC(e, n) : jl(ZC(Wn(t))); +function rp(t, e, n) { + return e === Uf ? ec(r1(t, n)) : br(e) ? o1(e, n) : ec(i1(Wn(t))); } -function jC(t) { - var e = ki(gs(t)), n = ["absolute", "fixed"].indexOf(hn(t).position) >= 0, r = n && wt(t) ? ho(t) : t; +function a1(t) { + var e = Pi(Es(t)), n = ["absolute", "fixed"].indexOf(gn(t).position) >= 0, r = n && wt(t) ? Eo(t) : t; return br(r) ? e.filter(function(i) { - return br(i) && Uf(i, r) && rn(i) !== "body"; + return br(i) && Yf(i, r) && rn(i) !== "body"; }) : []; } -function JC(t, e, n, r) { - var i = e === "clippingParents" ? jC(t) : [].concat(e), o = [].concat(i, [n]), a = o[0], s = o.reduce(function(l, c) { - var u = ep(t, c, r); - return l.top = ur(u.top, l.top), l.right = ba(u.right, l.right), l.bottom = ba(u.bottom, l.bottom), l.left = ur(u.left, l.left), l; - }, ep(t, a, r)); +function s1(t, e, n, r) { + var i = e === "clippingParents" ? a1(t) : [].concat(e), o = [].concat(i, [n]), a = o[0], s = o.reduce(function(l, c) { + var u = rp(t, c, r); + return l.top = ur(u.top, l.top), l.right = Ca(u.right, l.right), l.bottom = Ca(u.bottom, l.bottom), l.left = ur(u.left, l.left), l; + }, rp(t, a, r)); return s.width = s.right - s.left, s.height = s.bottom - s.top, s.x = s.left, s.y = s.top, s; } -function zf(t) { +function Kf(t) { var e = t.reference, n = t.element, r = t.placement, i = r ? en(r) : null, o = r ? si(r) : null, a = e.x + e.width / 2 - n.width / 2, s = e.y + e.height / 2 - n.height / 2, l; switch (i) { case _t: @@ -12615,34 +12615,34 @@ function zf(t) { y: e.y }; } - var c = i ? Wc(i) : null; + var c = i ? Zc(i) : null; if (c != null) { var u = c === "y" ? "height" : "width"; switch (o) { case ii: l[c] = l[c] - (e[u] / 2 - n[u] / 2); break; - case Qi: + case Zi: l[c] = l[c] + (e[u] / 2 - n[u] / 2); break; } } return l; } -function Zi(t, e) { +function Xi(t, e) { e === void 0 && (e = {}); - var n = e, r = n.placement, i = r === void 0 ? t.placement : r, o = n.strategy, a = o === void 0 ? t.strategy : o, s = n.boundary, l = s === void 0 ? bC : s, c = n.rootBoundary, u = c === void 0 ? kf : c, d = n.elementContext, p = d === void 0 ? bi : d, _ = n.altBoundary, m = _ === void 0 ? !1 : _, f = n.padding, g = f === void 0 ? 0 : f, E = Gf(typeof g != "number" ? g : Vf(g, go)), S = p === bi ? TC : bi, b = t.rects.popper, h = t.elements[m ? S : p], C = JC(br(h) ? h : h.contextElement || Wn(t.elements.popper), l, u, a), T = ai(t.elements.reference), R = zf({ + var n = e, r = n.placement, i = r === void 0 ? t.placement : r, o = n.strategy, a = o === void 0 ? t.strategy : o, s = n.boundary, l = s === void 0 ? AC : s, c = n.rootBoundary, u = c === void 0 ? Uf : c, d = n.elementContext, p = d === void 0 ? Ti : d, _ = n.altBoundary, m = _ === void 0 ? !1 : _, f = n.padding, h = f === void 0 ? 0 : f, E = $f(typeof h != "number" ? h : qf(h, go)), S = p === Ti ? IC : Ti, b = t.rects.popper, g = t.elements[m ? S : p], C = s1(br(g) ? g : g.contextElement || Wn(t.elements.popper), l, u, a), T = ai(t.elements.reference), R = Kf({ reference: T, element: b, strategy: "absolute", placement: i - }), x = jl(Object.assign({}, b, R)), O = p === bi ? x : T, M = { + }), x = ec(Object.assign({}, b, R)), O = p === Ti ? x : T, M = { top: C.top - O.top + E.top, bottom: O.bottom - C.bottom + E.bottom, left: C.left - O.left + E.left, right: O.right - C.right + E.right }, B = t.modifiersData.offset; - if (p === bi && B) { + if (p === Ti && B) { var Y = B[i]; Object.keys(M).forEach(function($) { var q = [kt, Lt].indexOf($) >= 0 ? 1 : -1, V = [_t, Lt].indexOf($) >= 0 ? "y" : "x"; @@ -12651,16 +12651,16 @@ function Zi(t, e) { } return M; } -function e1(t, e) { +function l1(t, e) { e === void 0 && (e = {}); - var n = e, r = n.placement, i = n.boundary, o = n.rootBoundary, a = n.padding, s = n.flipVariations, l = n.allowedAutoPlacements, c = l === void 0 ? Pf : l, u = si(r), d = u ? s ? Zd : Zd.filter(function(m) { + var n = e, r = n.placement, i = n.boundary, o = n.rootBoundary, a = n.padding, s = n.flipVariations, l = n.allowedAutoPlacements, c = l === void 0 ? Hf : l, u = si(r), d = u ? s ? Jd : Jd.filter(function(m) { return si(m) === u; }) : go, p = d.filter(function(m) { return c.indexOf(m) >= 0; }); p.length === 0 && (p = d); var _ = p.reduce(function(m, f) { - return m[f] = Zi(t, { + return m[f] = Xi(t, { placement: f, boundary: i, rootBoundary: o, @@ -12671,17 +12671,17 @@ function e1(t, e) { return _[m] - _[f]; }); } -function t1(t) { - if (en(t) === zc) +function c1(t) { + if (en(t) === Wc) return []; - var e = ea(t); - return [Jd(t), e, Jd(e)]; + var e = na(t); + return [np(t), e, np(e)]; } -function n1(t) { +function u1(t) { var e = t.state, n = t.options, r = t.name; if (!e.modifiersData[r]._skip) { - for (var i = n.mainAxis, o = i === void 0 ? !0 : i, a = n.altAxis, s = a === void 0 ? !0 : a, l = n.fallbackPlacements, c = n.padding, u = n.boundary, d = n.rootBoundary, p = n.altBoundary, _ = n.flipVariations, m = _ === void 0 ? !0 : _, f = n.allowedAutoPlacements, g = e.options.placement, E = en(g), S = E === g, b = l || (S || !m ? [ea(g)] : t1(g)), h = [g].concat(b).reduce(function(Ce, ie) { - return Ce.concat(en(ie) === zc ? e1(e, { + for (var i = n.mainAxis, o = i === void 0 ? !0 : i, a = n.altAxis, s = a === void 0 ? !0 : a, l = n.fallbackPlacements, c = n.padding, u = n.boundary, d = n.rootBoundary, p = n.altBoundary, _ = n.flipVariations, m = _ === void 0 ? !0 : _, f = n.allowedAutoPlacements, h = e.options.placement, E = en(h), S = E === h, b = l || (S || !m ? [na(h)] : c1(h)), g = [h].concat(b).reduce(function(Ce, ie) { + return Ce.concat(en(ie) === Wc ? l1(e, { placement: ie, boundary: u, rootBoundary: d, @@ -12689,16 +12689,16 @@ function n1(t) { flipVariations: m, allowedAutoPlacements: f }) : ie); - }, []), C = e.rects.reference, T = e.rects.popper, R = /* @__PURE__ */ new Map(), x = !0, O = h[0], M = 0; M < h.length; M++) { - var B = h[M], Y = en(B), $ = si(B) === ii, q = [_t, Lt].indexOf(Y) >= 0, V = q ? "width" : "height", J = Zi(e, { + }, []), C = e.rects.reference, T = e.rects.popper, R = /* @__PURE__ */ new Map(), x = !0, O = g[0], M = 0; M < g.length; M++) { + var B = g[M], Y = en(B), $ = si(B) === ii, q = [_t, Lt].indexOf(Y) >= 0, V = q ? "width" : "height", J = Xi(e, { placement: B, boundary: u, rootBoundary: d, altBoundary: p, padding: c }), y = q ? $ ? kt : mt : $ ? Lt : _t; - C[V] > T[V] && (y = ea(y)); - var v = ea(y), A = []; + C[V] > T[V] && (y = na(y)); + var v = na(y), A = []; if (o && A.push(J[Y] <= 0), s && A.push(J[y] <= 0, J[v] <= 0), A.every(function(Ce) { return Ce; })) { @@ -12709,7 +12709,7 @@ function n1(t) { } if (x) for (var k = m ? 3 : 1, G = function(ie) { - var ue = h.find(function(Be) { + var ue = g.find(function(Be) { var Le = R.get(Be); if (Le) return Le.slice(0, ie).every(function(We) { @@ -12725,17 +12725,17 @@ function n1(t) { e.placement !== O && (e.modifiersData[r]._skip = !0, e.placement = O, e.reset = !0); } } -const r1 = { +const d1 = { name: "flip", enabled: !0, phase: "main", - fn: n1, + fn: u1, requiresIfExists: ["offset"], data: { _skip: !1 } }; -function tp(t, e, n) { +function ip(t, e, n) { return n === void 0 && (n = { x: 0, y: 0 @@ -12746,17 +12746,17 @@ function tp(t, e, n) { left: t.left - e.width - n.x }; } -function np(t) { +function op(t) { return [_t, kt, Lt, mt].some(function(e) { return t[e] >= 0; }); } -function i1(t) { - var e = t.state, n = t.name, r = e.rects.reference, i = e.rects.popper, o = e.modifiersData.preventOverflow, a = Zi(e, { +function p1(t) { + var e = t.state, n = t.name, r = e.rects.reference, i = e.rects.popper, o = e.modifiersData.preventOverflow, a = Xi(e, { elementContext: "reference" - }), s = Zi(e, { + }), s = Xi(e, { altBoundary: !0 - }), l = tp(a, r), c = tp(s, i, o), u = np(l), d = np(c); + }), l = ip(a, r), c = ip(s, i, o), u = op(l), d = op(c); e.modifiersData[n] = { referenceClippingOffsets: l, popperEscapeOffsets: c, @@ -12767,14 +12767,14 @@ function i1(t) { "data-popper-escaped": d }); } -const o1 = { +const _1 = { name: "hide", enabled: !0, phase: "main", requiresIfExists: ["preventOverflow"], - fn: i1 + fn: p1 }; -function a1(t, e, n) { +function m1(t, e, n) { var r = en(t), i = [mt, _t].indexOf(r) >= 0 ? -1 : 1, o = typeof n == "function" ? n(Object.assign({}, e, { placement: t })) : n, a = o[0], s = o[1]; @@ -12786,45 +12786,45 @@ function a1(t, e, n) { y: s }; } -function s1(t) { - var e = t.state, n = t.options, r = t.name, i = n.offset, o = i === void 0 ? [0, 0] : i, a = Pf.reduce(function(u, d) { - return u[d] = a1(d, e.rects, o), u; +function f1(t) { + var e = t.state, n = t.options, r = t.name, i = n.offset, o = i === void 0 ? [0, 0] : i, a = Hf.reduce(function(u, d) { + return u[d] = m1(d, e.rects, o), u; }, {}), s = a[e.placement], l = s.x, c = s.y; e.modifiersData.popperOffsets != null && (e.modifiersData.popperOffsets.x += l, e.modifiersData.popperOffsets.y += c), e.modifiersData[r] = a; } -const l1 = { +const h1 = { name: "offset", enabled: !0, phase: "main", requires: ["popperOffsets"], - fn: s1 + fn: f1 }; -function c1(t) { +function g1(t) { var e = t.state, n = t.name; - e.modifiersData[n] = zf({ + e.modifiersData[n] = Kf({ reference: e.rects.reference, element: e.rects.popper, strategy: "absolute", placement: e.placement }); } -const u1 = { +const E1 = { name: "popperOffsets", enabled: !0, phase: "read", - fn: c1, + fn: g1, data: {} }; -function d1(t) { +function S1(t) { return t === "x" ? "y" : "x"; } -function p1(t) { - var e = t.state, n = t.options, r = t.name, i = n.mainAxis, o = i === void 0 ? !0 : i, a = n.altAxis, s = a === void 0 ? !1 : a, l = n.boundary, c = n.rootBoundary, u = n.altBoundary, d = n.padding, p = n.tether, _ = p === void 0 ? !0 : p, m = n.tetherOffset, f = m === void 0 ? 0 : m, g = Zi(e, { +function b1(t) { + var e = t.state, n = t.options, r = t.name, i = n.mainAxis, o = i === void 0 ? !0 : i, a = n.altAxis, s = a === void 0 ? !1 : a, l = n.boundary, c = n.rootBoundary, u = n.altBoundary, d = n.padding, p = n.tether, _ = p === void 0 ? !0 : p, m = n.tetherOffset, f = m === void 0 ? 0 : m, h = Xi(e, { boundary: l, rootBoundary: c, padding: d, altBoundary: u - }), E = en(e.placement), S = si(e.placement), b = !S, h = Wc(E), C = d1(h), T = e.modifiersData.popperOffsets, R = e.rects.reference, x = e.rects.popper, O = typeof f == "function" ? f(Object.assign({}, e.rects, { + }), E = en(e.placement), S = si(e.placement), b = !S, g = Zc(E), C = S1(g), T = e.modifiersData.popperOffsets, R = e.rects.reference, x = e.rects.popper, O = typeof f == "function" ? f(Object.assign({}, e.rects, { placement: e.placement })) : f, M = typeof O == "number" ? { mainAxis: O, @@ -12838,42 +12838,42 @@ function p1(t) { }; if (T) { if (o) { - var $, q = h === "y" ? _t : mt, V = h === "y" ? Lt : kt, J = h === "y" ? "height" : "width", y = T[h], v = y + g[q], A = y - g[V], k = _ ? -x[J] / 2 : 0, G = S === ii ? R[J] : x[J], z = S === ii ? -x[J] : -R[J], ae = e.elements.arrow, Ce = _ && ae ? qc(ae) : { + var $, q = g === "y" ? _t : mt, V = g === "y" ? Lt : kt, J = g === "y" ? "height" : "width", y = T[g], v = y + h[q], A = y - h[V], k = _ ? -x[J] / 2 : 0, G = S === ii ? R[J] : x[J], z = S === ii ? -x[J] : -R[J], ae = e.elements.arrow, Ce = _ && ae ? Qc(ae) : { width: 0, height: 0 - }, ie = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Hf(), ue = ie[q], Be = ie[V], Le = Li(0, R[J], Ce[J]), We = b ? R[J] / 2 - k - Le - ue - M.mainAxis : G - Le - ue - M.mainAxis, Ke = b ? -R[J] / 2 + k + Le + Be + M.mainAxis : z + Le + Be + M.mainAxis, ht = e.elements.arrow && ho(e.elements.arrow), Ft = ht ? h === "y" ? ht.clientTop || 0 : ht.clientLeft || 0 : 0, de = ($ = B == null ? void 0 : B[h]) != null ? $ : 0, Pe = y + We - de - Ft, Qe = y + Ke - de, he = Li(_ ? ba(v, Pe) : v, y, _ ? ur(A, Qe) : A); - T[h] = he, Y[h] = he - y; + }, ie = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : zf(), ue = ie[q], Be = ie[V], Le = ki(0, R[J], Ce[J]), We = b ? R[J] / 2 - k - Le - ue - M.mainAxis : G - Le - ue - M.mainAxis, Ke = b ? -R[J] / 2 + k + Le + Be + M.mainAxis : z + Le + Be + M.mainAxis, gt = e.elements.arrow && Eo(e.elements.arrow), Ft = gt ? g === "y" ? gt.clientTop || 0 : gt.clientLeft || 0 : 0, de = ($ = B == null ? void 0 : B[g]) != null ? $ : 0, Pe = y + We - de - Ft, Qe = y + Ke - de, ge = ki(_ ? Ca(v, Pe) : v, y, _ ? ur(A, Qe) : A); + T[g] = ge, Y[g] = ge - y; } if (s) { - var zt, Et = h === "x" ? _t : mt, P = h === "x" ? Lt : kt, et = T[C], oe = C === "y" ? "height" : "width", X = et + g[Et], He = et - g[P], xe = [_t, mt].indexOf(E) !== -1, St = (zt = B == null ? void 0 : B[C]) != null ? zt : 0, bt = xe ? X : et - R[oe] - x[oe] - St + M.altAxis, N = xe ? et + R[oe] + x[oe] - St - M.altAxis : He, D = _ && xe ? PC(bt, et, N) : Li(_ ? bt : X, et, _ ? N : He); + var zt, Et = g === "x" ? _t : mt, P = g === "x" ? Lt : kt, et = T[C], oe = C === "y" ? "height" : "width", X = et + h[Et], He = et - h[P], xe = [_t, mt].indexOf(E) !== -1, St = (zt = B == null ? void 0 : B[C]) != null ? zt : 0, bt = xe ? X : et - R[oe] - x[oe] - St + M.altAxis, N = xe ? et + R[oe] + x[oe] - St - M.altAxis : He, D = _ && xe ? zC(bt, et, N) : ki(_ ? bt : X, et, _ ? N : He); T[C] = D, Y[C] = D - et; } e.modifiersData[r] = Y; } } -const _1 = { +const T1 = { name: "preventOverflow", enabled: !0, phase: "main", - fn: p1, + fn: b1, requiresIfExists: ["offset"] }; -function m1(t) { +function C1(t) { return { scrollLeft: t.scrollLeft, scrollTop: t.scrollTop }; } -function f1(t) { - return t === Rt(t) || !wt(t) ? Kc(t) : m1(t); +function y1(t) { + return t === Rt(t) || !wt(t) ? Xc(t) : C1(t); } -function g1(t) { +function v1(t) { var e = t.getBoundingClientRect(), n = oi(e.width) / t.offsetWidth || 1, r = oi(e.height) / t.offsetHeight || 1; return n !== 1 || r !== 1; } -function h1(t, e, n) { +function R1(t, e, n) { n === void 0 && (n = !1); - var r = wt(e), i = wt(e) && g1(e), o = Wn(e), a = ai(t, i, n), s = { + var r = wt(e), i = wt(e) && v1(e), o = Wn(e), a = ai(t, i, n), s = { scrollLeft: 0, scrollTop: 0 }, l = { @@ -12881,14 +12881,14 @@ function h1(t, e, n) { y: 0 }; return (r || !r && !n) && ((rn(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078 - Zc(o)) && (s = f1(e)), wt(e) ? (l = ai(e, !0), l.x += e.clientLeft, l.y += e.clientTop) : o && (l.x = Qc(o))), { + Jc(o)) && (s = y1(e)), wt(e) ? (l = ai(e, !0), l.x += e.clientLeft, l.y += e.clientTop) : o && (l.x = jc(o))), { x: a.left + s.scrollLeft - l.x, y: a.top + s.scrollTop - l.y, width: a.width, height: a.height }; } -function E1(t) { +function O1(t) { var e = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), r = []; t.forEach(function(o) { e.set(o.name, o); @@ -12907,15 +12907,15 @@ function E1(t) { n.has(o.name) || i(o); }), r; } -function S1(t) { - var e = E1(t); - return DC.reduce(function(n, r) { +function N1(t) { + var e = O1(t); + return UC.reduce(function(n, r) { return n.concat(e.filter(function(i) { return i.phase === r; })); }, []); } -function b1(t) { +function A1(t) { var e; return function() { return e || (e = new Promise(function(n) { @@ -12925,7 +12925,7 @@ function b1(t) { })), e; }; } -function T1(t) { +function I1(t) { var e = t.reduce(function(n, r) { var i = n[r.name]; return n[r.name] = i ? Object.assign({}, i, r, { @@ -12937,27 +12937,27 @@ function T1(t) { return e[n]; }); } -var rp = { +var ap = { placement: "bottom", modifiers: [], strategy: "absolute" }; -function ip() { +function sp() { for (var t = arguments.length, e = new Array(t), n = 0; n < t; n++) e[n] = arguments[n]; return !e.some(function(r) { return !(r && typeof r.getBoundingClientRect == "function"); }); } -function C1(t) { +function x1(t) { t === void 0 && (t = {}); - var e = t, n = e.defaultModifiers, r = n === void 0 ? [] : n, i = e.defaultOptions, o = i === void 0 ? rp : i; + var e = t, n = e.defaultModifiers, r = n === void 0 ? [] : n, i = e.defaultOptions, o = i === void 0 ? ap : i; return function(s, l, c) { c === void 0 && (c = o); var u = { placement: "bottom", orderedModifiers: [], - options: Object.assign({}, rp, o), + options: Object.assign({}, ap, o), modifiersData: {}, elements: { reference: s, @@ -12970,12 +12970,12 @@ function C1(t) { setOptions: function(E) { var S = typeof E == "function" ? E(u.options) : E; f(), u.options = Object.assign({}, o, u.options, S), u.scrollParents = { - reference: br(s) ? ki(s) : s.contextElement ? ki(s.contextElement) : [], - popper: ki(l) + reference: br(s) ? Pi(s) : s.contextElement ? Pi(s.contextElement) : [], + popper: Pi(l) }; - var b = S1(T1([].concat(r, u.options.modifiers))); - return u.orderedModifiers = b.filter(function(h) { - return h.enabled; + var b = N1(I1([].concat(r, u.options.modifiers))); + return u.orderedModifiers = b.filter(function(g) { + return g.enabled; }), m(), _.update(); }, // Sync update – it will always be executed, even if not necessary. This @@ -12986,19 +12986,19 @@ function C1(t) { forceUpdate: function() { if (!p) { var E = u.elements, S = E.reference, b = E.popper; - if (ip(S, b)) { + if (sp(S, b)) { u.rects = { - reference: h1(S, ho(b), u.options.strategy === "fixed"), - popper: qc(b) + reference: R1(S, Eo(b), u.options.strategy === "fixed"), + popper: Qc(b) }, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(M) { return u.modifiersData[M.name] = Object.assign({}, M.data); }); - for (var h = 0; h < u.orderedModifiers.length; h++) { + for (var g = 0; g < u.orderedModifiers.length; g++) { if (u.reset === !0) { - u.reset = !1, h = -1; + u.reset = !1, g = -1; continue; } - var C = u.orderedModifiers[h], T = C.fn, R = C.options, x = R === void 0 ? {} : R, O = C.name; + var C = u.orderedModifiers[g], T = C.fn, R = C.options, x = R === void 0 ? {} : R, O = C.name; typeof T == "function" && (u = T({ state: u, options: x, @@ -13011,25 +13011,25 @@ function C1(t) { }, // Async and optimistically optimized update – it will not be executed if // not necessary (debounced to run at most once-per-tick) - update: b1(function() { - return new Promise(function(g) { - _.forceUpdate(), g(u); + update: A1(function() { + return new Promise(function(h) { + _.forceUpdate(), h(u); }); }), destroy: function() { f(), p = !0; } }; - if (!ip(s, l)) + if (!sp(s, l)) return _; - _.setOptions(c).then(function(g) { - !p && c.onFirstUpdate && c.onFirstUpdate(g); + _.setOptions(c).then(function(h) { + !p && c.onFirstUpdate && c.onFirstUpdate(h); }); function m() { - u.orderedModifiers.forEach(function(g) { - var E = g.name, S = g.options, b = S === void 0 ? {} : S, h = g.effect; - if (typeof h == "function") { - var C = h({ + u.orderedModifiers.forEach(function(h) { + var E = h.name, S = h.options, b = S === void 0 ? {} : S, g = h.effect; + if (typeof g == "function") { + var C = g({ state: u, name: E, instance: _, @@ -13041,39 +13041,39 @@ function C1(t) { }); } function f() { - d.forEach(function(g) { - return g(); + d.forEach(function(h) { + return h(); }), d = []; } return _; }; } -var y1 = [qC, u1, zC, Ff, l1, r1, _1, HC, o1], v1 = /* @__PURE__ */ C1({ - defaultModifiers: y1 -}), At = {}, R1 = "tippy-box", $f = "tippy-content", O1 = "tippy-backdrop", qf = "tippy-arrow", Wf = "tippy-svg-arrow", jn = { +var D1 = [e1, E1, jC, Gf, h1, d1, T1, KC, _1], M1 = /* @__PURE__ */ x1({ + defaultModifiers: D1 +}), At = {}, w1 = "tippy-box", Qf = "tippy-content", L1 = "tippy-backdrop", Zf = "tippy-arrow", Xf = "tippy-svg-arrow", jn = { passive: !0, capture: !0 -}, Kf = function() { +}, jf = function() { return document.body; }; -function N1(t, e) { +function k1(t, e) { return {}.hasOwnProperty.call(t, e); } -function Zs(t, e, n) { +function js(t, e, n) { if (Array.isArray(t)) { var r = t[e]; return r ?? (Array.isArray(n) ? n[e] : n); } return t; } -function Xc(t, e) { +function eu(t, e) { var n = {}.toString.call(t); return n.indexOf("[object") === 0 && n.indexOf(e + "]") > -1; } -function Qf(t, e) { +function Jf(t, e) { return typeof t == "function" ? t.apply(void 0, e) : t; } -function op(t, e) { +function lp(t, e) { if (e === 0) return t; var n; @@ -13083,88 +13083,88 @@ function op(t, e) { }, e); }; } -function A1(t, e) { +function P1(t, e) { var n = Object.assign({}, t); return e.forEach(function(r) { delete n[r]; }), n; } -function I1(t) { +function F1(t) { return t.split(/\s+/).filter(Boolean); } function Br(t) { return [].concat(t); } -function ap(t, e) { +function cp(t, e) { t.indexOf(e) === -1 && t.push(e); } -function x1(t) { +function B1(t) { return t.filter(function(e, n) { return t.indexOf(e) === n; }); } -function D1(t) { +function U1(t) { return t.split("-")[0]; } -function Ta(t) { +function ya(t) { return [].slice.call(t); } -function sp(t) { +function up(t) { return Object.keys(t).reduce(function(e, n) { return t[n] !== void 0 && (e[n] = t[n]), e; }, {}); } -function Pi() { +function Fi() { return document.createElement("div"); } -function Xi(t) { +function ji(t) { return ["Element", "Fragment"].some(function(e) { - return Xc(t, e); + return eu(t, e); }); } -function M1(t) { - return Xc(t, "NodeList"); +function H1(t) { + return eu(t, "NodeList"); } -function w1(t) { - return Xc(t, "MouseEvent"); +function G1(t) { + return eu(t, "MouseEvent"); } -function L1(t) { +function V1(t) { return !!(t && t._tippy && t._tippy.reference === t); } -function k1(t) { - return Xi(t) ? [t] : M1(t) ? Ta(t) : Array.isArray(t) ? t : Ta(document.querySelectorAll(t)); +function Y1(t) { + return ji(t) ? [t] : H1(t) ? ya(t) : Array.isArray(t) ? t : ya(document.querySelectorAll(t)); } -function Xs(t, e) { +function Js(t, e) { t.forEach(function(n) { n && (n.style.transitionDuration = e + "ms"); }); } -function lp(t, e) { +function dp(t, e) { t.forEach(function(n) { n && n.setAttribute("data-state", e); }); } -function P1(t) { +function z1(t) { var e, n = Br(t), r = n[0]; return r != null && (e = r.ownerDocument) != null && e.body ? r.ownerDocument : document; } -function F1(t, e) { +function $1(t, e) { var n = e.clientX, r = e.clientY; return t.every(function(i) { - var o = i.popperRect, a = i.popperState, s = i.props, l = s.interactiveBorder, c = D1(a.placement), u = a.modifiersData.offset; + var o = i.popperRect, a = i.popperState, s = i.props, l = s.interactiveBorder, c = U1(a.placement), u = a.modifiersData.offset; if (!u) return !0; - var d = c === "bottom" ? u.top.y : 0, p = c === "top" ? u.bottom.y : 0, _ = c === "right" ? u.left.x : 0, m = c === "left" ? u.right.x : 0, f = o.top - r + d > l, g = r - o.bottom - p > l, E = o.left - n + _ > l, S = n - o.right - m > l; - return f || g || E || S; + var d = c === "bottom" ? u.top.y : 0, p = c === "top" ? u.bottom.y : 0, _ = c === "right" ? u.left.x : 0, m = c === "left" ? u.right.x : 0, f = o.top - r + d > l, h = r - o.bottom - p > l, E = o.left - n + _ > l, S = n - o.right - m > l; + return f || h || E || S; }); } -function js(t, e, n) { +function el(t, e, n) { var r = e + "EventListener"; ["transitionend", "webkitTransitionEnd"].forEach(function(i) { t[r](i, n); }); } -function cp(t, e) { +function pp(t, e) { for (var n = e; n; ) { var r; if (t.contains(n)) @@ -13175,25 +13175,25 @@ function cp(t, e) { } var Qt = { isTouch: !1 -}, up = 0; -function B1() { - Qt.isTouch || (Qt.isTouch = !0, window.performance && document.addEventListener("mousemove", Zf)); +}, _p = 0; +function q1() { + Qt.isTouch || (Qt.isTouch = !0, window.performance && document.addEventListener("mousemove", eh)); } -function Zf() { +function eh() { var t = performance.now(); - t - up < 20 && (Qt.isTouch = !1, document.removeEventListener("mousemove", Zf)), up = t; + t - _p < 20 && (Qt.isTouch = !1, document.removeEventListener("mousemove", eh)), _p = t; } -function U1() { +function W1() { var t = document.activeElement; - if (L1(t)) { + if (V1(t)) { var e = t._tippy; t.blur && !e.state.isVisible && t.blur(); } } -function H1() { - document.addEventListener("touchstart", B1, jn), window.addEventListener("blur", U1); +function K1() { + document.addEventListener("touchstart", q1, jn), window.addEventListener("blur", W1); } -var G1 = typeof window < "u" && typeof document < "u", V1 = G1 ? ( +var Q1 = typeof window < "u" && typeof document < "u", Z1 = Q1 ? ( // @ts-ignore !!window.msCrypto ) : !1; @@ -13201,22 +13201,22 @@ function Ir(t) { var e = t === "destroy" ? "n already-" : " "; return [t + "() was called on a" + e + "destroyed instance. This is a no-op but", "indicates a potential memory leak."].join(" "); } -function dp(t) { +function mp(t) { var e = /[ \t]{2,}/g, n = /^[ \t]*/gm; return t.replace(e, " ").replace(n, "").trim(); } -function Y1(t) { - return dp(` +function X1(t) { + return mp(` %ctippy.js - %c` + dp(t) + ` + %c` + mp(t) + ` %c👷‍ This is a development-only message. It will be removed in production. `); } -function Xf(t) { +function th(t) { return [ - Y1(t), + X1(t), // title "color: #00C584; font-size: 1.3em; font-weight: bold;", // message @@ -13225,33 +13225,33 @@ function Xf(t) { "color: #a6a095;" ]; } -var ji; -At.NODE_ENV !== "production" && z1(); -function z1() { - ji = /* @__PURE__ */ new Set(); +var Ji; +At.NODE_ENV !== "production" && j1(); +function j1() { + Ji = /* @__PURE__ */ new Set(); } function _n(t, e) { - if (t && !ji.has(e)) { + if (t && !Ji.has(e)) { var n; - ji.add(e), (n = console).warn.apply(n, Xf(e)); + Ji.add(e), (n = console).warn.apply(n, th(e)); } } -function Jl(t, e) { - if (t && !ji.has(e)) { +function tc(t, e) { + if (t && !Ji.has(e)) { var n; - ji.add(e), (n = console).error.apply(n, Xf(e)); + Ji.add(e), (n = console).error.apply(n, th(e)); } } -function $1(t) { +function J1(t) { var e = !t, n = Object.prototype.toString.call(t) === "[object Object]" && !t.addEventListener; - Jl(e, ["tippy() was passed", "`" + String(t) + "`", "as its targets (first) argument. Valid types are: String, Element,", "Element[], or NodeList."].join(" ")), Jl(n, ["tippy() was passed a plain object which is not supported as an argument", "for virtual positioning. Use props.getReferenceClientRect instead."].join(" ")); + tc(e, ["tippy() was passed", "`" + String(t) + "`", "as its targets (first) argument. Valid types are: String, Element,", "Element[], or NodeList."].join(" ")), tc(n, ["tippy() was passed a plain object which is not supported as an argument", "for virtual positioning. Use props.getReferenceClientRect instead."].join(" ")); } -var jf = { +var nh = { animateFill: !1, followCursor: !1, inlinePositioning: !1, sticky: !1 -}, q1 = { +}, ey = { allowHTML: !1, animation: "fade", arrow: !0, @@ -13262,7 +13262,7 @@ var jf = { theme: "", zIndex: 9999 }, yt = Object.assign({ - appendTo: Kf, + appendTo: jf, aria: { content: "auto", expanded: "auto" @@ -13309,14 +13309,14 @@ var jf = { touch: !0, trigger: "mouseenter focus", triggerTarget: null -}, jf, q1), W1 = Object.keys(yt), K1 = function(e) { - At.NODE_ENV !== "production" && eg(e, []); +}, nh, ey), ty = Object.keys(yt), ny = function(e) { + At.NODE_ENV !== "production" && ih(e, []); var n = Object.keys(e); n.forEach(function(r) { yt[r] = e[r]; }); }; -function Jf(t) { +function rh(t) { var e = t.plugins || [], n = e.reduce(function(r, i) { var o = i.name, a = i.defaultValue; if (o) { @@ -13327,10 +13327,10 @@ function Jf(t) { }, {}); return Object.assign({}, t, n); } -function Q1(t, e) { - var n = e ? Object.keys(Jf(Object.assign({}, yt, { +function ry(t, e) { + var n = e ? Object.keys(rh(Object.assign({}, yt, { plugins: e - }))) : W1, r = n.reduce(function(i, o) { + }))) : ty, r = n.reduce(function(i, o) { var a = (t.getAttribute("data-tippy-" + o) || "").trim(); if (!a) return i; @@ -13346,20 +13346,20 @@ function Q1(t, e) { }, {}); return r; } -function pp(t, e) { +function fp(t, e) { var n = Object.assign({}, e, { - content: Qf(e.content, [t]) - }, e.ignoreAttributes ? {} : Q1(t, e.plugins)); + content: Jf(e.content, [t]) + }, e.ignoreAttributes ? {} : ry(t, e.plugins)); return n.aria = Object.assign({}, yt.aria, n.aria), n.aria = { expanded: n.aria.expanded === "auto" ? e.interactive : n.aria.expanded, content: n.aria.content === "auto" ? e.interactive ? null : "describedby" : n.aria.content }, n; } -function eg(t, e) { +function ih(t, e) { t === void 0 && (t = {}), e === void 0 && (e = []); var n = Object.keys(t); n.forEach(function(r) { - var i = A1(yt, Object.keys(jf)), o = !N1(i, r); + var i = P1(yt, Object.keys(nh)), o = !k1(i, r); o && (o = e.filter(function(a) { return a.name === r; }).length === 0), _n(o, ["`" + r + "`", "is not a valid prop. You may have spelled it incorrectly, or if it's", "a plugin, forgot to pass it in an array as props.plugins.", ` @@ -13368,52 +13368,52 @@ function eg(t, e) { `, "Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" ")); }); } -var Z1 = function() { +var iy = function() { return "innerHTML"; }; -function ec(t, e) { - t[Z1()] = e; +function nc(t, e) { + t[iy()] = e; } -function _p(t) { - var e = Pi(); - return t === !0 ? e.className = qf : (e.className = Wf, Xi(t) ? e.appendChild(t) : ec(e, t)), e; +function hp(t) { + var e = Fi(); + return t === !0 ? e.className = Zf : (e.className = Xf, ji(t) ? e.appendChild(t) : nc(e, t)), e; } -function mp(t, e) { - Xi(e.content) ? (ec(t, ""), t.appendChild(e.content)) : typeof e.content != "function" && (e.allowHTML ? ec(t, e.content) : t.textContent = e.content); +function gp(t, e) { + ji(e.content) ? (nc(t, ""), t.appendChild(e.content)) : typeof e.content != "function" && (e.allowHTML ? nc(t, e.content) : t.textContent = e.content); } -function tc(t) { - var e = t.firstElementChild, n = Ta(e.children); +function rc(t) { + var e = t.firstElementChild, n = ya(e.children); return { box: e, content: n.find(function(r) { - return r.classList.contains($f); + return r.classList.contains(Qf); }), arrow: n.find(function(r) { - return r.classList.contains(qf) || r.classList.contains(Wf); + return r.classList.contains(Zf) || r.classList.contains(Xf); }), backdrop: n.find(function(r) { - return r.classList.contains(O1); + return r.classList.contains(L1); }) }; } -function tg(t) { - var e = Pi(), n = Pi(); - n.className = R1, n.setAttribute("data-state", "hidden"), n.setAttribute("tabindex", "-1"); - var r = Pi(); - r.className = $f, r.setAttribute("data-state", "hidden"), mp(r, t.props), e.appendChild(n), n.appendChild(r), i(t.props, t.props); +function oh(t) { + var e = Fi(), n = Fi(); + n.className = w1, n.setAttribute("data-state", "hidden"), n.setAttribute("tabindex", "-1"); + var r = Fi(); + r.className = Qf, r.setAttribute("data-state", "hidden"), gp(r, t.props), e.appendChild(n), n.appendChild(r), i(t.props, t.props); function i(o, a) { - var s = tc(e), l = s.box, c = s.content, u = s.arrow; - a.theme ? l.setAttribute("data-theme", a.theme) : l.removeAttribute("data-theme"), typeof a.animation == "string" ? l.setAttribute("data-animation", a.animation) : l.removeAttribute("data-animation"), a.inertia ? l.setAttribute("data-inertia", "") : l.removeAttribute("data-inertia"), l.style.maxWidth = typeof a.maxWidth == "number" ? a.maxWidth + "px" : a.maxWidth, a.role ? l.setAttribute("role", a.role) : l.removeAttribute("role"), (o.content !== a.content || o.allowHTML !== a.allowHTML) && mp(c, t.props), a.arrow ? u ? o.arrow !== a.arrow && (l.removeChild(u), l.appendChild(_p(a.arrow))) : l.appendChild(_p(a.arrow)) : u && l.removeChild(u); + var s = rc(e), l = s.box, c = s.content, u = s.arrow; + a.theme ? l.setAttribute("data-theme", a.theme) : l.removeAttribute("data-theme"), typeof a.animation == "string" ? l.setAttribute("data-animation", a.animation) : l.removeAttribute("data-animation"), a.inertia ? l.setAttribute("data-inertia", "") : l.removeAttribute("data-inertia"), l.style.maxWidth = typeof a.maxWidth == "number" ? a.maxWidth + "px" : a.maxWidth, a.role ? l.setAttribute("role", a.role) : l.removeAttribute("role"), (o.content !== a.content || o.allowHTML !== a.allowHTML) && gp(c, t.props), a.arrow ? u ? o.arrow !== a.arrow && (l.removeChild(u), l.appendChild(hp(a.arrow))) : l.appendChild(hp(a.arrow)) : u && l.removeChild(u); } return { popper: e, onUpdate: i }; } -tg.$$tippy = !0; -var X1 = 1, Mo = [], Js = []; -function j1(t, e) { - var n = pp(t, Object.assign({}, yt, Jf(sp(e)))), r, i, o, a = !1, s = !1, l = !1, c = !1, u, d, p, _ = [], m = op(Pe, n.interactiveDebounce), f, g = X1++, E = null, S = x1(n.plugins), b = { +oh.$$tippy = !0; +var oy = 1, Lo = [], tl = []; +function ay(t, e) { + var n = fp(t, Object.assign({}, yt, rh(up(e)))), r, i, o, a = !1, s = !1, l = !1, c = !1, u, d, p, _ = [], m = lp(Pe, n.interactiveDebounce), f, h = oy++, E = null, S = B1(n.plugins), b = { // Is the instance currently enabled? isEnabled: !0, // Is the tippy currently showing and not transitioning out? @@ -13424,11 +13424,11 @@ function j1(t, e) { isMounted: !1, // Has the tippy finished transitioning in? isShown: !1 - }, h = { + }, g = { // properties - id: g, + id: h, reference: t, - popper: Pi(), + popper: Fi(), popperInstance: E, props: n, state: b, @@ -13446,19 +13446,19 @@ function j1(t, e) { destroy: Rr }; if (!n.render) - return At.NODE_ENV !== "production" && Jl(!0, "render() function has not been supplied."), h; - var C = n.render(h), T = C.popper, R = C.onUpdate; - T.setAttribute("data-tippy-root", ""), T.id = "tippy-" + h.id, h.popper = T, t._tippy = h, T._tippy = h; + return At.NODE_ENV !== "production" && tc(!0, "render() function has not been supplied."), g; + var C = n.render(g), T = C.popper, R = C.onUpdate; + T.setAttribute("data-tippy-root", ""), T.id = "tippy-" + g.id, g.popper = T, t._tippy = g, T._tippy = g; var x = S.map(function(I) { - return I.fn(h); + return I.fn(g); }), O = t.hasAttribute("aria-expanded"); - return ht(), k(), y(), v("onCreate", [h]), n.showOnCreate && X(), T.addEventListener("mouseenter", function() { - h.props.interactive && h.state.isVisible && h.clearDelayTimeouts(); + return gt(), k(), y(), v("onCreate", [g]), n.showOnCreate && X(), T.addEventListener("mouseenter", function() { + g.props.interactive && g.state.isVisible && g.clearDelayTimeouts(); }), T.addEventListener("mouseleave", function() { - h.props.interactive && h.props.trigger.indexOf("mouseenter") >= 0 && q().addEventListener("mousemove", m); - }), h; + g.props.interactive && g.props.trigger.indexOf("mouseenter") >= 0 && q().addEventListener("mousemove", m); + }), g; function M() { - var I = h.props.touch; + var I = g.props.touch; return Array.isArray(I) ? I : [I, 0]; } function B() { @@ -13466,39 +13466,39 @@ function j1(t, e) { } function Y() { var I; - return !!((I = h.props.render) != null && I.$$tippy); + return !!((I = g.props.render) != null && I.$$tippy); } function $() { return f || t; } function q() { var I = $().parentNode; - return I ? P1(I) : document; + return I ? z1(I) : document; } function V() { - return tc(T); + return rc(T); } function J(I) { - return h.state.isMounted && !h.state.isVisible || Qt.isTouch || u && u.type === "focus" ? 0 : Zs(h.props.delay, I ? 0 : 1, yt.delay); + return g.state.isMounted && !g.state.isVisible || Qt.isTouch || u && u.type === "focus" ? 0 : js(g.props.delay, I ? 0 : 1, yt.delay); } function y(I) { - I === void 0 && (I = !1), T.style.pointerEvents = h.props.interactive && !I ? "" : "none", T.style.zIndex = "" + h.props.zIndex; + I === void 0 && (I = !1), T.style.pointerEvents = g.props.interactive && !I ? "" : "none", T.style.zIndex = "" + g.props.zIndex; } function v(I, Q, ne) { if (ne === void 0 && (ne = !0), x.forEach(function(fe) { fe[I] && fe[I].apply(fe, Q); }), ne) { var Ee; - (Ee = h.props)[I].apply(Ee, Q); + (Ee = g.props)[I].apply(Ee, Q); } } function A() { - var I = h.props.aria; + var I = g.props.aria; if (I.content) { - var Q = "aria-" + I.content, ne = T.id, Ee = Br(h.props.triggerTarget || t); + var Q = "aria-" + I.content, ne = T.id, Ee = Br(g.props.triggerTarget || t); Ee.forEach(function(fe) { var tt = fe.getAttribute(Q); - if (h.state.isVisible) + if (g.state.isVisible) fe.setAttribute(Q, tt ? tt + " " + ne : ne); else { var Tt = tt && tt.replace(ne, "").trim(); @@ -13508,32 +13508,32 @@ function j1(t, e) { } } function k() { - if (!(O || !h.props.aria.expanded)) { - var I = Br(h.props.triggerTarget || t); + if (!(O || !g.props.aria.expanded)) { + var I = Br(g.props.triggerTarget || t); I.forEach(function(Q) { - h.props.interactive ? Q.setAttribute("aria-expanded", h.state.isVisible && Q === $() ? "true" : "false") : Q.removeAttribute("aria-expanded"); + g.props.interactive ? Q.setAttribute("aria-expanded", g.state.isVisible && Q === $() ? "true" : "false") : Q.removeAttribute("aria-expanded"); }); } } function G() { - q().removeEventListener("mousemove", m), Mo = Mo.filter(function(I) { + q().removeEventListener("mousemove", m), Lo = Lo.filter(function(I) { return I !== m; }); } function z(I) { if (!(Qt.isTouch && (l || I.type === "mousedown"))) { var Q = I.composedPath && I.composedPath()[0] || I.target; - if (!(h.props.interactive && cp(T, Q))) { - if (Br(h.props.triggerTarget || t).some(function(ne) { - return cp(ne, Q); + if (!(g.props.interactive && pp(T, Q))) { + if (Br(g.props.triggerTarget || t).some(function(ne) { + return pp(ne, Q); })) { - if (Qt.isTouch || h.state.isVisible && h.props.trigger.indexOf("click") >= 0) + if (Qt.isTouch || g.state.isVisible && g.props.trigger.indexOf("click") >= 0) return; } else - v("onClickOutside", [h, I]); - h.props.hideOnClick === !0 && (h.clearDelayTimeouts(), h.hide(), s = !0, setTimeout(function() { + v("onClickOutside", [g, I]); + g.props.hideOnClick === !0 && (g.clearDelayTimeouts(), g.hide(), s = !0, setTimeout(function() { s = !1; - }), h.state.isMounted || ue()); + }), g.state.isMounted || ue()); } } } @@ -13553,7 +13553,7 @@ function j1(t, e) { } function Be(I, Q) { We(I, function() { - !h.state.isVisible && T.parentNode && T.parentNode.contains(T) && Q(); + !g.state.isVisible && T.parentNode && T.parentNode.contains(T) && Q(); }); } function Le(I, Q) { @@ -13562,15 +13562,15 @@ function j1(t, e) { function We(I, Q) { var ne = V().box; function Ee(fe) { - fe.target === ne && (js(ne, "remove", Ee), Q()); + fe.target === ne && (el(ne, "remove", Ee), Q()); } if (I === 0) return Q(); - js(ne, "remove", d), js(ne, "add", Ee), d = Ee; + el(ne, "remove", d), el(ne, "add", Ee), d = Ee; } function Ke(I, Q, ne) { ne === void 0 && (ne = !1); - var Ee = Br(h.props.triggerTarget || t); + var Ee = Br(g.props.triggerTarget || t); Ee.forEach(function(fe) { fe.addEventListener(I, Q, ne), _.push({ node: fe, @@ -13580,22 +13580,22 @@ function j1(t, e) { }); }); } - function ht() { + function gt() { B() && (Ke("touchstart", de, { passive: !0 }), Ke("touchend", Qe, { passive: !0 - })), I1(h.props.trigger).forEach(function(I) { + })), F1(g.props.trigger).forEach(function(I) { if (I !== "manual") switch (Ke(I, de), I) { case "mouseenter": Ke("mouseleave", Qe); break; case "focus": - Ke(V1 ? "focusout" : "blur", he); + Ke(Z1 ? "focusout" : "blur", ge); break; case "focusin": - Ke("focusout", he); + Ke("focusout", ge); break; } }); @@ -13608,11 +13608,11 @@ function j1(t, e) { } function de(I) { var Q, ne = !1; - if (!(!h.state.isEnabled || zt(I) || s)) { + if (!(!g.state.isEnabled || zt(I) || s)) { var Ee = ((Q = u) == null ? void 0 : Q.type) === "focus"; - u = I, f = I.currentTarget, k(), !h.state.isVisible && w1(I) && Mo.forEach(function(fe) { + u = I, f = I.currentTarget, k(), !g.state.isVisible && G1(I) && Lo.forEach(function(fe) { return fe(I); - }), I.type === "click" && (h.props.trigger.indexOf("mouseenter") < 0 || a) && h.props.hideOnClick !== !1 && h.state.isVisible ? ne = !0 : X(I), I.type === "click" && (a = !ne), ne && !Ee && He(I); + }), I.type === "click" && (g.props.trigger.indexOf("mouseenter") < 0 || a) && g.props.hideOnClick !== !1 && g.state.isVisible ? ne = !0 : X(I), I.type === "click" && (a = !ne), ne && !Ee && He(I); } } function Pe(I) { @@ -13626,41 +13626,41 @@ function j1(t, e) { props: n } : null; }).filter(Boolean); - F1(Ee, I) && (G(), He(I)); + $1(Ee, I) && (G(), He(I)); } } function Qe(I) { - var Q = zt(I) || h.props.trigger.indexOf("click") >= 0 && a; + var Q = zt(I) || g.props.trigger.indexOf("click") >= 0 && a; if (!Q) { - if (h.props.interactive) { - h.hideWithInteractivity(I); + if (g.props.interactive) { + g.hideWithInteractivity(I); return; } He(I); } } - function he(I) { - h.props.trigger.indexOf("focusin") < 0 && I.target !== $() || h.props.interactive && I.relatedTarget && T.contains(I.relatedTarget) || He(I); + function ge(I) { + g.props.trigger.indexOf("focusin") < 0 && I.target !== $() || g.props.interactive && I.relatedTarget && T.contains(I.relatedTarget) || He(I); } function zt(I) { return Qt.isTouch ? B() !== I.type.indexOf("touch") >= 0 : !1; } function Et() { P(); - var I = h.props, Q = I.popperOptions, ne = I.placement, Ee = I.offset, fe = I.getReferenceClientRect, tt = I.moveTransition, Tt = Y() ? tc(T).arrow : null, Kn = fe ? { + var I = g.props, Q = I.popperOptions, ne = I.placement, Ee = I.offset, fe = I.getReferenceClientRect, tt = I.moveTransition, Tt = Y() ? rc(T).arrow : null, Kn = fe ? { getBoundingClientRect: fe, contextElement: fe.contextElement || $() - } : t, xs = { + } : t, Ms = { name: "$$tippy", enabled: !0, phase: "beforeWrite", requires: ["computeStyles"], - fn: function(hi) { - var Qn = hi.state; + fn: function(Ei) { + var Qn = Ei.state; if (Y()) { - var Mu = V(), yo = Mu.box; - ["placement", "reference-hidden", "escaped"].forEach(function(Ei) { - Ei === "placement" ? yo.setAttribute("data-placement", Qn.placement) : Qn.attributes.popper["data-popper-" + Ei] ? yo.setAttribute("data-" + Ei, "") : yo.removeAttribute("data-" + Ei); + var ku = V(), Ro = ku.box; + ["placement", "reference-hidden", "escaped"].forEach(function(Si) { + Si === "placement" ? Ro.setAttribute("data-placement", Qn.placement) : Qn.attributes.popper["data-popper-" + Si] ? Ro.setAttribute("data-" + Si, "") : Ro.removeAttribute("data-" + Si); }), Qn.attributes.popper = {}; } } @@ -13689,25 +13689,25 @@ function j1(t, e) { options: { adaptive: !tt } - }, xs]; + }, Ms]; Y() && Tt && Sn.push({ name: "arrow", options: { element: Tt, padding: 3 } - }), Sn.push.apply(Sn, (Q == null ? void 0 : Q.modifiers) || []), h.popperInstance = v1(Kn, T, Object.assign({}, Q, { + }), Sn.push.apply(Sn, (Q == null ? void 0 : Q.modifiers) || []), g.popperInstance = M1(Kn, T, Object.assign({}, Q, { placement: ne, onFirstUpdate: p, modifiers: Sn })); } function P() { - h.popperInstance && (h.popperInstance.destroy(), h.popperInstance = null); + g.popperInstance && (g.popperInstance.destroy(), g.popperInstance = null); } function et() { - var I = h.props.appendTo, Q, ne = $(); - h.props.interactive && I === Kf || I === "parent" ? Q = ne.parentNode : Q = Qf(I, [ne]), Q.contains(T) || Q.appendChild(T), h.state.isMounted = !0, Et(), At.NODE_ENV !== "production" && _n(h.props.interactive && I === yt.appendTo && ne.nextElementSibling !== T, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", ` + var I = g.props.appendTo, Q, ne = $(); + g.props.interactive && I === jf || I === "parent" ? Q = ne.parentNode : Q = Jf(I, [ne]), Q.contains(T) || Q.appendChild(T), g.state.isMounted = !0, Et(), At.NODE_ENV !== "production" && _n(g.props.interactive && I === yt.appendTo && ne.nextElementSibling !== T, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", ` `, "Using a wrapper
or tag around the reference element", "solves this by creating a new parentNode context.", ` @@ -13716,112 +13716,112 @@ function j1(t, e) { `, "See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" ")); } function oe() { - return Ta(T.querySelectorAll("[data-tippy-root]")); + return ya(T.querySelectorAll("[data-tippy-root]")); } function X(I) { - h.clearDelayTimeouts(), I && v("onTrigger", [h, I]), ie(); + g.clearDelayTimeouts(), I && v("onTrigger", [g, I]), ie(); var Q = J(!0), ne = M(), Ee = ne[0], fe = ne[1]; Qt.isTouch && Ee === "hold" && fe && (Q = fe), Q ? r = setTimeout(function() { - h.show(); - }, Q) : h.show(); + g.show(); + }, Q) : g.show(); } function He(I) { - if (h.clearDelayTimeouts(), v("onUntrigger", [h, I]), !h.state.isVisible) { + if (g.clearDelayTimeouts(), v("onUntrigger", [g, I]), !g.state.isVisible) { ue(); return; } - if (!(h.props.trigger.indexOf("mouseenter") >= 0 && h.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(I.type) >= 0 && a)) { + if (!(g.props.trigger.indexOf("mouseenter") >= 0 && g.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(I.type) >= 0 && a)) { var Q = J(!1); Q ? i = setTimeout(function() { - h.state.isVisible && h.hide(); + g.state.isVisible && g.hide(); }, Q) : o = requestAnimationFrame(function() { - h.hide(); + g.hide(); }); } } function xe() { - h.state.isEnabled = !0; + g.state.isEnabled = !0; } function St() { - h.hide(), h.state.isEnabled = !1; + g.hide(), g.state.isEnabled = !1; } function bt() { clearTimeout(r), clearTimeout(i), cancelAnimationFrame(o); } function N(I) { - if (At.NODE_ENV !== "production" && _n(h.state.isDestroyed, Ir("setProps")), !h.state.isDestroyed) { - v("onBeforeUpdate", [h, I]), Ft(); - var Q = h.props, ne = pp(t, Object.assign({}, Q, sp(I), { + if (At.NODE_ENV !== "production" && _n(g.state.isDestroyed, Ir("setProps")), !g.state.isDestroyed) { + v("onBeforeUpdate", [g, I]), Ft(); + var Q = g.props, ne = fp(t, Object.assign({}, Q, up(I), { ignoreAttributes: !0 })); - h.props = ne, ht(), Q.interactiveDebounce !== ne.interactiveDebounce && (G(), m = op(Pe, ne.interactiveDebounce)), Q.triggerTarget && !ne.triggerTarget ? Br(Q.triggerTarget).forEach(function(Ee) { + g.props = ne, gt(), Q.interactiveDebounce !== ne.interactiveDebounce && (G(), m = lp(Pe, ne.interactiveDebounce)), Q.triggerTarget && !ne.triggerTarget ? Br(Q.triggerTarget).forEach(function(Ee) { Ee.removeAttribute("aria-expanded"); - }) : ne.triggerTarget && t.removeAttribute("aria-expanded"), k(), y(), R && R(Q, ne), h.popperInstance && (Et(), oe().forEach(function(Ee) { + }) : ne.triggerTarget && t.removeAttribute("aria-expanded"), k(), y(), R && R(Q, ne), g.popperInstance && (Et(), oe().forEach(function(Ee) { requestAnimationFrame(Ee._tippy.popperInstance.forceUpdate); - })), v("onAfterUpdate", [h, I]); + })), v("onAfterUpdate", [g, I]); } } function D(I) { - h.setProps({ + g.setProps({ content: I }); } function U() { - At.NODE_ENV !== "production" && _n(h.state.isDestroyed, Ir("show")); - var I = h.state.isVisible, Q = h.state.isDestroyed, ne = !h.state.isEnabled, Ee = Qt.isTouch && !h.props.touch, fe = Zs(h.props.duration, 0, yt.duration); - if (!(I || Q || ne || Ee) && !$().hasAttribute("disabled") && (v("onShow", [h], !1), h.props.onShow(h) !== !1)) { - if (h.state.isVisible = !0, Y() && (T.style.visibility = "visible"), y(), ie(), h.state.isMounted || (T.style.transition = "none"), Y()) { + At.NODE_ENV !== "production" && _n(g.state.isDestroyed, Ir("show")); + var I = g.state.isVisible, Q = g.state.isDestroyed, ne = !g.state.isEnabled, Ee = Qt.isTouch && !g.props.touch, fe = js(g.props.duration, 0, yt.duration); + if (!(I || Q || ne || Ee) && !$().hasAttribute("disabled") && (v("onShow", [g], !1), g.props.onShow(g) !== !1)) { + if (g.state.isVisible = !0, Y() && (T.style.visibility = "visible"), y(), ie(), g.state.isMounted || (T.style.transition = "none"), Y()) { var tt = V(), Tt = tt.box, Kn = tt.content; - Xs([Tt, Kn], 0); + Js([Tt, Kn], 0); } p = function() { var Sn; - if (!(!h.state.isVisible || c)) { - if (c = !0, T.offsetHeight, T.style.transition = h.props.moveTransition, Y() && h.props.animation) { - var Co = V(), hi = Co.box, Qn = Co.content; - Xs([hi, Qn], fe), lp([hi, Qn], "visible"); + if (!(!g.state.isVisible || c)) { + if (c = !0, T.offsetHeight, T.style.transition = g.props.moveTransition, Y() && g.props.animation) { + var vo = V(), Ei = vo.box, Qn = vo.content; + Js([Ei, Qn], fe), dp([Ei, Qn], "visible"); } - A(), k(), ap(Js, h), (Sn = h.popperInstance) == null || Sn.forceUpdate(), v("onMount", [h]), h.props.animation && Y() && Le(fe, function() { - h.state.isShown = !0, v("onShown", [h]); + A(), k(), cp(tl, g), (Sn = g.popperInstance) == null || Sn.forceUpdate(), v("onMount", [g]), g.props.animation && Y() && Le(fe, function() { + g.state.isShown = !0, v("onShown", [g]); }); } }, et(); } } function K() { - At.NODE_ENV !== "production" && _n(h.state.isDestroyed, Ir("hide")); - var I = !h.state.isVisible, Q = h.state.isDestroyed, ne = !h.state.isEnabled, Ee = Zs(h.props.duration, 1, yt.duration); - if (!(I || Q || ne) && (v("onHide", [h], !1), h.props.onHide(h) !== !1)) { - if (h.state.isVisible = !1, h.state.isShown = !1, c = !1, a = !1, Y() && (T.style.visibility = "hidden"), G(), ue(), y(!0), Y()) { + At.NODE_ENV !== "production" && _n(g.state.isDestroyed, Ir("hide")); + var I = !g.state.isVisible, Q = g.state.isDestroyed, ne = !g.state.isEnabled, Ee = js(g.props.duration, 1, yt.duration); + if (!(I || Q || ne) && (v("onHide", [g], !1), g.props.onHide(g) !== !1)) { + if (g.state.isVisible = !1, g.state.isShown = !1, c = !1, a = !1, Y() && (T.style.visibility = "hidden"), G(), ue(), y(!0), Y()) { var fe = V(), tt = fe.box, Tt = fe.content; - h.props.animation && (Xs([tt, Tt], Ee), lp([tt, Tt], "hidden")); + g.props.animation && (Js([tt, Tt], Ee), dp([tt, Tt], "hidden")); } - A(), k(), h.props.animation ? Y() && Be(Ee, h.unmount) : h.unmount(); + A(), k(), g.props.animation ? Y() && Be(Ee, g.unmount) : g.unmount(); } } function _e(I) { - At.NODE_ENV !== "production" && _n(h.state.isDestroyed, Ir("hideWithInteractivity")), q().addEventListener("mousemove", m), ap(Mo, m), m(I); + At.NODE_ENV !== "production" && _n(g.state.isDestroyed, Ir("hideWithInteractivity")), q().addEventListener("mousemove", m), cp(Lo, m), m(I); } function De() { - At.NODE_ENV !== "production" && _n(h.state.isDestroyed, Ir("unmount")), h.state.isVisible && h.hide(), h.state.isMounted && (P(), oe().forEach(function(I) { + At.NODE_ENV !== "production" && _n(g.state.isDestroyed, Ir("unmount")), g.state.isVisible && g.hide(), g.state.isMounted && (P(), oe().forEach(function(I) { I._tippy.unmount(); - }), T.parentNode && T.parentNode.removeChild(T), Js = Js.filter(function(I) { - return I !== h; - }), h.state.isMounted = !1, v("onHidden", [h])); + }), T.parentNode && T.parentNode.removeChild(T), tl = tl.filter(function(I) { + return I !== g; + }), g.state.isMounted = !1, v("onHidden", [g])); } function Rr() { - At.NODE_ENV !== "production" && _n(h.state.isDestroyed, Ir("destroy")), !h.state.isDestroyed && (h.clearDelayTimeouts(), h.unmount(), Ft(), delete t._tippy, h.state.isDestroyed = !0, v("onDestroy", [h])); + At.NODE_ENV !== "production" && _n(g.state.isDestroyed, Ir("destroy")), !g.state.isDestroyed && (g.clearDelayTimeouts(), g.unmount(), Ft(), delete t._tippy, g.state.isDestroyed = !0, v("onDestroy", [g])); } } function we(t, e) { e === void 0 && (e = {}); var n = yt.plugins.concat(e.plugins || []); - At.NODE_ENV !== "production" && ($1(t), eg(e, n)), H1(); + At.NODE_ENV !== "production" && (J1(t), ih(e, n)), K1(); var r = Object.assign({}, e, { plugins: n - }), i = k1(t); + }), i = Y1(t); if (At.NODE_ENV !== "production") { - var o = Xi(r.content), a = i.length > 1; + var o = ji(r.content), a = i.length > 1; _n(o && a, ["tippy() was passed an Element as the `content` prop, but more than", "one tippy instance was created by this invocation. This means the", "content element will only be appended to the last tippy instance.", ` `, "Instead, pass the .innerHTML of the element, or use a function that", "returns a cloned version of the element instead.", ` @@ -13830,15 +13830,15 @@ function we(t, e) { `, "2) content: () => element.cloneNode(true)"].join(" ")); } var s = i.reduce(function(l, c) { - var u = c && j1(c, r); + var u = c && ay(c, r); return u && l.push(u), l; }, []); - return Xi(t) ? s[0] : s; + return ji(t) ? s[0] : s; } we.defaultProps = yt; -we.setDefaultProps = K1; +we.setDefaultProps = ny; we.currentInput = Qt; -Object.assign({}, Ff, { +Object.assign({}, Gf, { effect: function(e) { var n = e.state, r = { popper: { @@ -13856,9 +13856,9 @@ Object.assign({}, Ff, { } }); we.setDefaultProps({ - render: tg + render: oh }); -class mi extends me { +class fi extends me { constructor() { super(...arguments); L(this, "tippyInstance"); @@ -13942,63 +13942,63 @@ class mi extends me { } } } -const se = (t) => typeof t == "string", Ti = () => { +const se = (t) => typeof t == "string", Ci = () => { let t, e; const n = new Promise((r, i) => { t = r, e = i; }); return n.resolve = t, n.reject = e, n; -}, fp = (t) => t == null ? "" : "" + t, J1 = (t, e, n) => { +}, Ep = (t) => t == null ? "" : "" + t, sy = (t, e, n) => { t.forEach((r) => { e[r] && (n[r] = e[r]); }); -}, ey = /###/g, gp = (t) => t && t.indexOf("###") > -1 ? t.replace(ey, ".") : t, hp = (t) => !t || se(t), Fi = (t, e, n) => { +}, ly = /###/g, Sp = (t) => t && t.indexOf("###") > -1 ? t.replace(ly, ".") : t, bp = (t) => !t || se(t), Bi = (t, e, n) => { const r = se(e) ? e.split(".") : e; let i = 0; for (; i < r.length - 1; ) { - if (hp(t)) return {}; - const o = gp(r[i]); + if (bp(t)) return {}; + const o = Sp(r[i]); !t[o] && n && (t[o] = new n()), Object.prototype.hasOwnProperty.call(t, o) ? t = t[o] : t = {}, ++i; } - return hp(t) ? {} : { + return bp(t) ? {} : { obj: t, - k: gp(r[i]) + k: Sp(r[i]) }; -}, Ep = (t, e, n) => { +}, Tp = (t, e, n) => { const { obj: r, k: i - } = Fi(t, e, Object); + } = Bi(t, e, Object); if (r !== void 0 || e.length === 1) { r[i] = n; return; } - let o = e[e.length - 1], a = e.slice(0, e.length - 1), s = Fi(t, a, Object); + let o = e[e.length - 1], a = e.slice(0, e.length - 1), s = Bi(t, a, Object); for (; s.obj === void 0 && a.length; ) - o = `${a[a.length - 1]}.${o}`, a = a.slice(0, a.length - 1), s = Fi(t, a, Object), s && s.obj && typeof s.obj[`${s.k}.${o}`] < "u" && (s.obj = void 0); + o = `${a[a.length - 1]}.${o}`, a = a.slice(0, a.length - 1), s = Bi(t, a, Object), s && s.obj && typeof s.obj[`${s.k}.${o}`] < "u" && (s.obj = void 0); s.obj[`${s.k}.${o}`] = n; -}, ty = (t, e, n, r) => { +}, cy = (t, e, n, r) => { const { obj: i, k: o - } = Fi(t, e, Object); + } = Bi(t, e, Object); i[o] = i[o] || [], i[o].push(n); -}, Ca = (t, e) => { +}, va = (t, e) => { const { obj: n, k: r - } = Fi(t, e); + } = Bi(t, e); if (n) return n[r]; -}, ny = (t, e, n) => { - const r = Ca(t, n); - return r !== void 0 ? r : Ca(e, n); -}, ng = (t, e, n) => { +}, uy = (t, e, n) => { + const r = va(t, n); + return r !== void 0 ? r : va(e, n); +}, ah = (t, e, n) => { for (const r in e) - r !== "__proto__" && r !== "constructor" && (r in t ? se(t[r]) || t[r] instanceof String || se(e[r]) || e[r] instanceof String ? n && (t[r] = e[r]) : ng(t[r], e[r], n) : t[r] = e[r]); + r !== "__proto__" && r !== "constructor" && (r in t ? se(t[r]) || t[r] instanceof String || se(e[r]) || e[r] instanceof String ? n && (t[r] = e[r]) : ah(t[r], e[r], n) : t[r] = e[r]); return t; }, xr = (t) => t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"); -var ry = { +var dy = { "&": "&", "<": "<", ">": ">", @@ -14006,8 +14006,8 @@ var ry = { "'": "'", "/": "/" }; -const iy = (t) => se(t) ? t.replace(/[&<>"'\/]/g, (e) => ry[e]) : t; -class oy { +const py = (t) => se(t) ? t.replace(/[&<>"'\/]/g, (e) => dy[e]) : t; +class _y { constructor(e) { this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = []; } @@ -14019,18 +14019,18 @@ class oy { return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, r), this.regExpQueue.push(e), r; } } -const ay = [" ", ",", "?", "!", ";"], sy = new oy(20), ly = (t, e, n) => { +const my = [" ", ",", "?", "!", ";"], fy = new _y(20), hy = (t, e, n) => { e = e || "", n = n || ""; - const r = ay.filter((a) => e.indexOf(a) < 0 && n.indexOf(a) < 0); + const r = my.filter((a) => e.indexOf(a) < 0 && n.indexOf(a) < 0); if (r.length === 0) return !0; - const i = sy.getRegExp(`(${r.map((a) => a === "?" ? "\\?" : a).join("|")})`); + const i = fy.getRegExp(`(${r.map((a) => a === "?" ? "\\?" : a).join("|")})`); let o = !i.test(t); if (!o) { const a = t.indexOf(n); a > 0 && !i.test(t.substring(0, a)) && (o = !0); } return o; -}, nc = function(t, e) { +}, ic = function(t, e) { let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "."; if (!t) return; if (t[e]) return t[e]; @@ -14050,7 +14050,7 @@ const ay = [" ", ",", "?", "!", ";"], sy = new oy(20), ly = (t, e, n) => { i = a; } return i; -}, ya = (t) => t && t.replace("_", "-"), cy = { +}, Ra = (t) => t && t.replace("_", "-"), gy = { type: "logger", log(t) { this.output("log", t); @@ -14065,14 +14065,14 @@ const ay = [" ", ",", "?", "!", ";"], sy = new oy(20), ly = (t, e, n) => { console && console[t] && console[t].apply(console, e); } }; -class va { +class Oa { constructor(e) { let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; this.init(e, n); } init(e) { let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; - this.prefix = n.prefix || "i18next:", this.logger = e || cy, this.options = n, this.debug = n.debug; + this.prefix = n.prefix || "i18next:", this.logger = e || gy, this.options = n, this.debug = n.debug; } log() { for (var e = arguments.length, n = new Array(e), r = 0; r < e; r++) @@ -14098,17 +14098,17 @@ class va { return i && !this.debug ? null : (se(e[0]) && (e[0] = `${r}${this.prefix} ${e[0]}`), this.logger[n](e)); } create(e) { - return new va(this.logger, { + return new Oa(this.logger, { prefix: `${this.prefix}:${e}:`, ...this.options }); } clone(e) { - return e = e || this.options, e.prefix = e.prefix || this.prefix, new va(this.logger, e); + return e = e || this.options, e.prefix = e.prefix || this.prefix, new Oa(this.logger, e); } } -var Xt = new va(); -class hs { +var Xt = new Oa(); +class Ss { constructor() { this.observers = {}; } @@ -14142,7 +14142,7 @@ class hs { }); } } -class Sp extends hs { +class Cp extends Ss { constructor(e) { let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : { ns: ["translation"], @@ -14162,8 +14162,8 @@ class Sp extends hs { const o = i.keySeparator !== void 0 ? i.keySeparator : this.options.keySeparator, a = i.ignoreJSONStructure !== void 0 ? i.ignoreJSONStructure : this.options.ignoreJSONStructure; let s; e.indexOf(".") > -1 ? s = e.split(".") : (s = [e, n], r && (Array.isArray(r) ? s.push(...r) : se(r) && o ? s.push(...r.split(o)) : s.push(r))); - const l = Ca(this.data, s); - return !l && !n && !r && e.indexOf(".") > -1 && (e = s[0], n = s[1], r = s.slice(2).join(".")), l || !a || !se(r) ? l : nc(this.data && this.data[e] && this.data[e][n], r, o); + const l = va(this.data, s); + return !l && !n && !r && e.indexOf(".") > -1 && (e = s[0], n = s[1], r = s.slice(2).join(".")), l || !a || !se(r) ? l : ic(this.data && this.data[e] && this.data[e][n], r, o); } addResource(e, n, r, i) { let o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : { @@ -14171,7 +14171,7 @@ class Sp extends hs { }; const a = o.keySeparator !== void 0 ? o.keySeparator : this.options.keySeparator; let s = [e, n]; - r && (s = s.concat(a ? r.split(a) : r)), e.indexOf(".") > -1 && (s = e.split("."), i = n, n = s[1]), this.addNamespaces(n), Ep(this.data, s, i), o.silent || this.emit("added", e, n, r, i); + r && (s = s.concat(a ? r.split(a) : r)), e.indexOf(".") > -1 && (s = e.split("."), i = n, n = s[1]), this.addNamespaces(n), Tp(this.data, s, i), o.silent || this.emit("added", e, n, r, i); } addResources(e, n, r) { let i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : { @@ -14189,11 +14189,11 @@ class Sp extends hs { skipCopy: !1 }, s = [e, n]; e.indexOf(".") > -1 && (s = e.split("."), i = r, r = n, n = s[1]), this.addNamespaces(n); - let l = Ca(this.data, s) || {}; - a.skipCopy || (r = JSON.parse(JSON.stringify(r))), i ? ng(l, r, o) : l = { + let l = va(this.data, s) || {}; + a.skipCopy || (r = JSON.parse(JSON.stringify(r))), i ? ah(l, r, o) : l = { ...l, ...r - }, Ep(this.data, s, l), a.silent || this.emit("added", e, n, r); + }, Tp(this.data, s, l), a.silent || this.emit("added", e, n, r); } removeResourceBundle(e, n) { this.hasResourceBundle(e, n) && delete this.data[e][n], this.removeNamespaces(n), this.emit("removed", e, n); @@ -14217,7 +14217,7 @@ class Sp extends hs { return this.data; } } -var rg = { +var sh = { processors: {}, addPostProcessor(t) { this.processors[t.name] = t; @@ -14228,11 +14228,11 @@ var rg = { }), e; } }; -const bp = {}; -class Ra extends hs { +const yp = {}; +class Na extends Ss { constructor(e) { let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; - super(), J1(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = n, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = Xt.create("translator"); + super(), sy(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = n, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = Xt.create("translator"); } changeLanguage(e) { e && (this.language = e); @@ -14251,7 +14251,7 @@ class Ra extends hs { r === void 0 && (r = ":"); const i = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator; let o = n.ns || this.options.defaultNS || []; - const a = r && e.indexOf(r) > -1, s = !this.options.userDefinedKeySeparator && !n.keySeparator && !this.options.userDefinedNsSeparator && !n.nsSeparator && !ly(e, r, i); + const a = r && e.indexOf(r) > -1, s = !this.options.userDefinedKeySeparator && !n.keySeparator && !this.options.userDefinedNsSeparator && !n.nsSeparator && !hy(e, r, i); if (a && !s) { const l = e.match(this.interpolator.nestingRegexp); if (l && l.length > 0) @@ -14278,15 +14278,15 @@ class Ra extends hs { } = this.extractFromKey(e[e.length - 1], n), l = s[s.length - 1], c = n.lng || this.language, u = n.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode; if (c && c.toLowerCase() === "cimode") { if (u) { - const h = n.nsSeparator || this.options.nsSeparator; + const g = n.nsSeparator || this.options.nsSeparator; return i ? { - res: `${l}${h}${a}`, + res: `${l}${g}${a}`, usedKey: a, exactUsedKey: a, usedLng: c, usedNS: l, usedParams: this.getUsedParamsDetails(n) - } : `${l}${h}${a}`; + } : `${l}${g}${a}`; } return i ? { res: a, @@ -14299,18 +14299,18 @@ class Ra extends hs { } const d = this.resolve(e, n); let p = d && d.res; - const _ = d && d.usedKey || a, m = d && d.exactUsedKey || a, f = Object.prototype.toString.apply(p), g = ["[object Number]", "[object Function]", "[object RegExp]"], E = n.joinArrays !== void 0 ? n.joinArrays : this.options.joinArrays, S = !this.i18nFormat || this.i18nFormat.handleAsObject, b = !se(p) && typeof p != "boolean" && typeof p != "number"; - if (S && p && b && g.indexOf(f) < 0 && !(se(E) && Array.isArray(p))) { + const _ = d && d.usedKey || a, m = d && d.exactUsedKey || a, f = Object.prototype.toString.apply(p), h = ["[object Number]", "[object Function]", "[object RegExp]"], E = n.joinArrays !== void 0 ? n.joinArrays : this.options.joinArrays, S = !this.i18nFormat || this.i18nFormat.handleAsObject, b = !se(p) && typeof p != "boolean" && typeof p != "number"; + if (S && p && b && h.indexOf(f) < 0 && !(se(E) && Array.isArray(p))) { if (!n.returnObjects && !this.options.returnObjects) { this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!"); - const h = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(_, p, { + const g = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(_, p, { ...n, ns: s }) : `key '${a} (${this.language})' returned an object instead of string.`; - return i ? (d.res = h, d.usedParams = this.getUsedParamsDetails(n), d) : h; + return i ? (d.res = g, d.usedParams = this.getUsedParamsDetails(n), d) : g; } if (o) { - const h = Array.isArray(p), C = h ? [] : {}, T = h ? m : _; + const g = Array.isArray(p), C = g ? [] : {}, T = g ? m : _; for (const R in p) if (Object.prototype.hasOwnProperty.call(p, R)) { const x = `${T}${o}${R}`; @@ -14325,13 +14325,13 @@ class Ra extends hs { } else if (S && se(E) && Array.isArray(p)) p = p.join(E), p && (p = this.extendTranslation(p, e, n, r)); else { - let h = !1, C = !1; - const T = n.count !== void 0 && !se(n.count), R = Ra.hasDefaultValue(n), x = T ? this.pluralResolver.getSuffix(c, n.count, n) : "", O = n.ordinal && T ? this.pluralResolver.getSuffix(c, n.count, { + let g = !1, C = !1; + const T = n.count !== void 0 && !se(n.count), R = Na.hasDefaultValue(n), x = T ? this.pluralResolver.getSuffix(c, n.count, n) : "", O = n.ordinal && T ? this.pluralResolver.getSuffix(c, n.count, { ordinal: !1 }) : "", M = T && !n.ordinal && n.count === 0 && this.pluralResolver.shouldUseIntlApi(), B = M && n[`defaultValue${this.options.pluralSeparator}zero`] || n[`defaultValue${x}`] || n[`defaultValue${O}`] || n.defaultValue; - !this.isValidLookup(p) && R && (h = !0, p = B), this.isValidLookup(p) || (C = !0, p = a); + !this.isValidLookup(p) && R && (g = !0, p = B), this.isValidLookup(p) || (C = !0, p = a); const $ = (n.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && C ? void 0 : p, q = R && B !== p && this.options.updateMissing; - if (C || h || q) { + if (C || g || q) { if (this.logger.log(q ? "updateKey" : "missingKey", c, l, a, q ? B : p), o) { const v = this.resolve(a, { ...n, @@ -14356,7 +14356,7 @@ class Ra extends hs { }); }) : y(V, a, B)); } - p = this.extendTranslation(p, e, n, d, r), C && p === a && this.options.appendNamespaceToMissingKey && (p = `${l}:${a}`), (C || h) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? p = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${l}:${a}` : a, h ? p : void 0) : p = this.options.parseMissingKeyHandler(p)); + p = this.extendTranslation(p, e, n, d, r), C && p === a && this.options.appendNamespaceToMissingKey && (p = `${l}:${a}`), (C || g) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? p = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${l}:${a}` : a, g ? p : void 0) : p = this.options.parseMissingKeyHandler(p)); } return i ? (d.res = p, d.usedParams = this.getUsedParamsDetails(n), d) : p; } @@ -14398,7 +14398,7 @@ class Ra extends hs { }, r)), r.interpolation && this.interpolator.reset(); } const s = r.postProcess || this.options.postProcess, l = se(s) ? [s] : s; - return e != null && l && l.length && r.applyPostProcessor !== !1 && (e = rg.handle(l, e, n, this.options && this.options.postProcessPassResolved ? { + return e != null && l && l.length && r.applyPostProcessor !== !1 && (e = sh.handle(l, e, n, this.options && this.options.postProcessPassResolved ? { i18nResolved: { ...i, usedParams: this.getUsedParamsDetails(r) @@ -14415,25 +14415,25 @@ class Ra extends hs { let d = c.namespaces; this.options.fallbackNS && (d = d.concat(this.options.fallbackNS)); const p = n.count !== void 0 && !se(n.count), _ = p && !n.ordinal && n.count === 0 && this.pluralResolver.shouldUseIntlApi(), m = n.context !== void 0 && (se(n.context) || typeof n.context == "number") && n.context !== "", f = n.lngs ? n.lngs : this.languageUtils.toResolveHierarchy(n.lng || this.language, n.fallbackLng); - d.forEach((g) => { - this.isValidLookup(r) || (s = g, !bp[`${f[0]}-${g}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(s) && (bp[`${f[0]}-${g}`] = !0, this.logger.warn(`key "${i}" for languages "${f.join(", ")}" won't get resolved as namespace "${s}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), f.forEach((E) => { + d.forEach((h) => { + this.isValidLookup(r) || (s = h, !yp[`${f[0]}-${h}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(s) && (yp[`${f[0]}-${h}`] = !0, this.logger.warn(`key "${i}" for languages "${f.join(", ")}" won't get resolved as namespace "${s}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), f.forEach((E) => { if (this.isValidLookup(r)) return; a = E; const S = [u]; if (this.i18nFormat && this.i18nFormat.addLookupKeys) - this.i18nFormat.addLookupKeys(S, u, E, g, n); + this.i18nFormat.addLookupKeys(S, u, E, h, n); else { - let h; - p && (h = this.pluralResolver.getSuffix(E, n.count, n)); + let g; + p && (g = this.pluralResolver.getSuffix(E, n.count, n)); const C = `${this.options.pluralSeparator}zero`, T = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`; - if (p && (S.push(u + h), n.ordinal && h.indexOf(T) === 0 && S.push(u + h.replace(T, this.options.pluralSeparator)), _ && S.push(u + C)), m) { + if (p && (S.push(u + g), n.ordinal && g.indexOf(T) === 0 && S.push(u + g.replace(T, this.options.pluralSeparator)), _ && S.push(u + C)), m) { const R = `${u}${this.options.contextSeparator}${n.context}`; - S.push(R), p && (S.push(R + h), n.ordinal && h.indexOf(T) === 0 && S.push(R + h.replace(T, this.options.pluralSeparator)), _ && S.push(R + C)); + S.push(R), p && (S.push(R + g), n.ordinal && g.indexOf(T) === 0 && S.push(R + g.replace(T, this.options.pluralSeparator)), _ && S.push(R + C)); } } let b; for (; b = S.pop(); ) - this.isValidLookup(r) || (o = b, r = this.getResource(E, g, b, n)); + this.isValidLookup(r) || (o = b, r = this.getResource(E, h, b, n)); })); }); }), { @@ -14475,18 +14475,18 @@ class Ra extends hs { return !1; } } -const el = (t) => t.charAt(0).toUpperCase() + t.slice(1); -class Tp { +const nl = (t) => t.charAt(0).toUpperCase() + t.slice(1); +class vp { constructor(e) { this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = Xt.create("languageUtils"); } getScriptPartFromCode(e) { - if (e = ya(e), !e || e.indexOf("-") < 0) return null; + if (e = Ra(e), !e || e.indexOf("-") < 0) return null; const n = e.split("-"); return n.length === 2 || (n.pop(), n[n.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(n.join("-")); } getLanguagePartFromCode(e) { - if (e = ya(e), !e || e.indexOf("-") < 0) return e; + if (e = Ra(e), !e || e.indexOf("-") < 0) return e; const n = e.split("-"); return this.formatLanguageCode(n[0]); } @@ -14500,7 +14500,7 @@ class Tp { } const n = ["hans", "hant", "latn", "cyrl", "cans", "mong", "arab"]; let r = e.split("-"); - return this.options.lowerCaseLng ? r = r.map((i) => i.toLowerCase()) : r.length === 2 ? (r[0] = r[0].toLowerCase(), r[1] = r[1].toUpperCase(), n.indexOf(r[1].toLowerCase()) > -1 && (r[1] = el(r[1].toLowerCase()))) : r.length === 3 && (r[0] = r[0].toLowerCase(), r[1].length === 2 && (r[1] = r[1].toUpperCase()), r[0] !== "sgn" && r[2].length === 2 && (r[2] = r[2].toUpperCase()), n.indexOf(r[1].toLowerCase()) > -1 && (r[1] = el(r[1].toLowerCase())), n.indexOf(r[2].toLowerCase()) > -1 && (r[2] = el(r[2].toLowerCase()))), r.join("-"); + return this.options.lowerCaseLng ? r = r.map((i) => i.toLowerCase()) : r.length === 2 ? (r[0] = r[0].toLowerCase(), r[1] = r[1].toUpperCase(), n.indexOf(r[1].toLowerCase()) > -1 && (r[1] = nl(r[1].toLowerCase()))) : r.length === 3 && (r[0] = r[0].toLowerCase(), r[1].length === 2 && (r[1] = r[1].toUpperCase()), r[0] !== "sgn" && r[2].length === 2 && (r[2] = r[2].toUpperCase()), n.indexOf(r[1].toLowerCase()) > -1 && (r[1] = nl(r[1].toLowerCase())), n.indexOf(r[2].toLowerCase()) > -1 && (r[2] = nl(r[2].toLowerCase()))), r.join("-"); } return this.options.cleanCode || this.options.lowerCaseLng ? e.toLowerCase() : e; } @@ -14541,7 +14541,7 @@ class Tp { }), i; } } -let uy = [{ +let Ey = [{ lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"], nr: [1, 2], fc: 1 @@ -14633,7 +14633,7 @@ let uy = [{ lngs: ["he", "iw"], nr: [1, 2, 20, 21], fc: 22 -}], dy = { +}], Sy = { 1: (t) => +(t > 1), 2: (t) => +(t != 1), 3: (t) => 0, @@ -14657,28 +14657,28 @@ let uy = [{ 21: (t) => t % 100 == 1 ? 1 : t % 100 == 2 ? 2 : t % 100 == 3 || t % 100 == 4 ? 3 : 0, 22: (t) => t == 1 ? 0 : t == 2 ? 1 : (t < 0 || t > 10) && t % 10 == 0 ? 2 : 3 }; -const py = ["v1", "v2", "v3"], _y = ["v4"], Cp = { +const by = ["v1", "v2", "v3"], Ty = ["v4"], Rp = { zero: 0, one: 1, two: 2, few: 3, many: 4, other: 5 -}, my = () => { +}, Cy = () => { const t = {}; - return uy.forEach((e) => { + return Ey.forEach((e) => { e.lngs.forEach((n) => { t[n] = { numbers: e.nr, - plurals: dy[e.fc] + plurals: Sy[e.fc] }; }); }), t; }; -class fy { +class yy { constructor(e) { let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; - this.languageUtils = e, this.options = n, this.logger = Xt.create("pluralResolver"), (!this.options.compatibilityJSON || _y.includes(this.options.compatibilityJSON)) && (typeof Intl > "u" || !Intl.PluralRules) && (this.options.compatibilityJSON = "v3", this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")), this.rules = my(), this.pluralRulesCache = {}; + this.languageUtils = e, this.options = n, this.logger = Xt.create("pluralResolver"), (!this.options.compatibilityJSON || Ty.includes(this.options.compatibilityJSON)) && (typeof Intl > "u" || !Intl.PluralRules) && (this.options.compatibilityJSON = "v3", this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")), this.rules = Cy(), this.pluralRulesCache = {}; } addRule(e, n) { this.rules[e] = n; @@ -14690,7 +14690,7 @@ class fy { let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; if (this.shouldUseIntlApi()) try { - const r = ya(e === "dev" ? "en" : e), i = n.ordinal ? "ordinal" : "cardinal", o = JSON.stringify({ + const r = Ra(e === "dev" ? "en" : e), i = n.ordinal ? "ordinal" : "cardinal", o = JSON.stringify({ cleanedCode: r, type: i }); @@ -14717,7 +14717,7 @@ class fy { getSuffixes(e) { let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; const r = this.getRule(e, n); - return r ? this.shouldUseIntlApi() ? r.resolvedOptions().pluralCategories.sort((i, o) => Cp[i] - Cp[o]).map((i) => `${this.options.prepend}${n.ordinal ? `ordinal${this.options.prepend}` : ""}${i}`) : r.numbers.map((i) => this.getSuffix(e, i, n)) : []; + return r ? this.shouldUseIntlApi() ? r.resolvedOptions().pluralCategories.sort((i, o) => Rp[i] - Rp[o]).map((i) => `${this.options.prepend}${n.ordinal ? `ordinal${this.options.prepend}` : ""}${i}`) : r.numbers.map((i) => this.getSuffix(e, i, n)) : []; } getSuffix(e, n) { let r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}; @@ -14732,14 +14732,14 @@ class fy { return this.options.compatibilityJSON === "v1" ? i === 1 ? "" : typeof i == "number" ? `_plural_${i.toString()}` : o() : this.options.compatibilityJSON === "v2" || this.options.simplifyPluralSuffix && e.numbers.length === 2 && e.numbers[0] === 1 ? o() : this.options.prepend && r.toString() ? this.options.prepend + r.toString() : r.toString(); } shouldUseIntlApi() { - return !py.includes(this.options.compatibilityJSON); + return !by.includes(this.options.compatibilityJSON); } } -const yp = function(t, e, n) { - let r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, o = ny(t, e, n); - return !o && i && se(n) && (o = nc(t, n, r), o === void 0 && (o = nc(e, n, r))), o; -}, tl = (t) => t.replace(/\$/g, "$$$$"); -class gy { +const Op = function(t, e, n) { + let r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, o = uy(t, e, n); + return !o && i && se(n) && (o = ic(t, n, r), o === void 0 && (o = ic(e, n, r))), o; +}, rl = (t) => t.replace(/\$/g, "$$$$"); +class vy { constructor() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; this.logger = Xt.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((n) => n), this.init(e); @@ -14764,11 +14764,11 @@ class gy { nestingPrefixEscaped: _, nestingSuffix: m, nestingSuffixEscaped: f, - nestingOptionsSeparator: g, + nestingOptionsSeparator: h, maxReplaces: E, alwaysFormat: S } = e.interpolation; - this.escape = n !== void 0 ? n : iy, this.escapeValue = r !== void 0 ? r : !0, this.useRawValueToEscape = i !== void 0 ? i : !1, this.prefix = o ? xr(o) : a || "{{", this.suffix = s ? xr(s) : l || "}}", this.formatSeparator = c || ",", this.unescapePrefix = u ? "" : d || "-", this.unescapeSuffix = this.unescapePrefix ? "" : u || "", this.nestingPrefix = p ? xr(p) : _ || xr("$t("), this.nestingSuffix = m ? xr(m) : f || xr(")"), this.nestingOptionsSeparator = g || ",", this.maxReplaces = E || 1e3, this.alwaysFormat = S !== void 0 ? S : !1, this.resetRegExp(); + this.escape = n !== void 0 ? n : py, this.escapeValue = r !== void 0 ? r : !0, this.useRawValueToEscape = i !== void 0 ? i : !1, this.prefix = o ? xr(o) : a || "{{", this.suffix = s ? xr(s) : l || "}}", this.formatSeparator = c || ",", this.unescapePrefix = u ? "" : d || "-", this.unescapeSuffix = this.unescapePrefix ? "" : u || "", this.nestingPrefix = p ? xr(p) : _ || xr("$t("), this.nestingSuffix = m ? xr(m) : f || xr(")"), this.nestingOptionsSeparator = h || ",", this.maxReplaces = E || 1e3, this.alwaysFormat = S !== void 0 ? S : !1, this.resetRegExp(); } reset() { this.options && this.init(this.options); @@ -14781,15 +14781,15 @@ class gy { let o, a, s; const l = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, c = (_) => { if (_.indexOf(this.formatSeparator) < 0) { - const E = yp(n, l, _, this.options.keySeparator, this.options.ignoreJSONStructure); + const E = Op(n, l, _, this.options.keySeparator, this.options.ignoreJSONStructure); return this.alwaysFormat ? this.format(E, void 0, r, { ...i, ...n, interpolationkey: _ }) : E; } - const m = _.split(this.formatSeparator), f = m.shift().trim(), g = m.join(this.formatSeparator).trim(); - return this.format(yp(n, l, f, this.options.keySeparator, this.options.ignoreJSONStructure), g, r, { + const m = _.split(this.formatSeparator), f = m.shift().trim(), h = m.join(this.formatSeparator).trim(); + return this.format(Op(n, l, f, this.options.keySeparator, this.options.ignoreJSONStructure), h, r, { ...i, ...n, interpolationkey: f @@ -14799,17 +14799,17 @@ class gy { const u = i && i.missingInterpolationHandler || this.options.missingInterpolationHandler, d = i && i.interpolation && i.interpolation.skipOnVariables !== void 0 ? i.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables; return [{ regex: this.regexpUnescape, - safeValue: (_) => tl(_) + safeValue: (_) => rl(_) }, { regex: this.regexp, - safeValue: (_) => this.escapeValue ? tl(this.escape(_)) : tl(_) + safeValue: (_) => this.escapeValue ? rl(this.escape(_)) : rl(_) }].forEach((_) => { for (s = 0; o = _.regex.exec(e); ) { const m = o[1].trim(); if (a = c(m), a === void 0) if (typeof u == "function") { - const g = u(e, o, i); - a = se(g) ? g : ""; + const h = u(e, o, i); + a = se(h) ? h : ""; } else if (i && Object.prototype.hasOwnProperty.call(i, m)) a = ""; else if (d) { @@ -14817,7 +14817,7 @@ class gy { continue; } else this.logger.warn(`missed to pass in variable ${m} for interpolating ${e}`), a = ""; - else !se(a) && !this.useRawValueToEscape && (a = fp(a)); + else !se(a) && !this.useRawValueToEscape && (a = Ep(a)); const f = _.safeValue(a); if (e = e.replace(o[0], f), d ? (_.regex.lastIndex += a.length, _.regex.lastIndex -= o[0].length) : _.regex.lastIndex = 0, s++, s >= this.maxReplaces) break; @@ -14855,7 +14855,7 @@ class gy { i[1] = u.shift(), l = u, c = !0; } if (o = n(s.call(this, i[1].trim(), a), a), o && i[0] === e && !se(o)) return o; - se(o) || (o = fp(o)), o || (this.logger.warn(`missed to resolve ${i[1]} for nesting ${e}`), o = ""), c && (o = l.reduce((u, d) => this.format(u, d, r.lng, { + se(o) || (o = Ep(o)), o || (this.logger.warn(`missed to resolve ${i[1]} for nesting ${e}`), o = ""), c && (o = l.reduce((u, d) => this.format(u, d, r.lng, { ...r, interpolationkey: i[1].trim() }), o.trim())), e = e.replace(i[0], o), this.regexp.lastIndex = 0; @@ -14863,7 +14863,7 @@ class gy { return e; } } -const hy = (t) => { +const Ry = (t) => { let e = t.toLowerCase().trim(); const n = {}; if (t.indexOf("(") > -1) { @@ -14891,10 +14891,10 @@ const hy = (t) => { }); const a = r + JSON.stringify(o); let s = e[a]; - return s || (s = t(ya(r), i), e[a] = s), s(n); + return s || (s = t(Ra(r), i), e[a] = s), s(n); }; }; -class Ey { +class Oy { constructor() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; this.logger = Xt.create("formatter"), this.options = e, this.formats = { @@ -14939,7 +14939,7 @@ class Ey { const { formatName: c, formatOptions: u - } = hy(l); + } = Ry(l); if (this.formats[c]) { let d = s; try { @@ -14959,10 +14959,10 @@ class Ey { }, e); } } -const Sy = (t, e) => { +const Ny = (t, e) => { t.pending[e] !== void 0 && (delete t.pending[e], t.pendingCount--); }; -class by extends hs { +class Ay extends Ss { constructor(e, n, r) { let i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}; super(), this.backend = e, this.store = n, this.services = r, this.languageUtils = r.languageUtils, this.options = i, this.logger = Xt.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = i.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = i.maxRetries >= 0 ? i.maxRetries : 5, this.retryTimeout = i.retryTimeout >= 1 ? i.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(r, i.backend, i); @@ -14995,7 +14995,7 @@ class by extends hs { }), this.state[e] = n ? -1 : 2, n && r && (this.state[e] = 0); const s = {}; this.queue.forEach((l) => { - ty(l.loaded, [o], a), Sy(l, e), n && l.errors.push(n), l.pendingCount === 0 && !l.done && (Object.keys(l.loaded).forEach((c) => { + cy(l.loaded, [o], a), Ny(l, e), n && l.errors.push(n), l.pendingCount === 0 && !l.done && (Object.keys(l.loaded).forEach((c) => { s[c] || (s[c] = {}); const u = l.loaded[c]; u.length && u.forEach((d) => { @@ -15097,7 +15097,7 @@ class by extends hs { } } } -const vp = () => ({ +const Np = () => ({ debug: !1, initImmediate: !0, ns: ["translation"], @@ -15153,18 +15153,18 @@ const vp = () => ({ maxReplaces: 1e3, skipOnVariables: !0 } -}), Rp = (t) => (se(t.ns) && (t.ns = [t.ns]), se(t.fallbackLng) && (t.fallbackLng = [t.fallbackLng]), se(t.fallbackNS) && (t.fallbackNS = [t.fallbackNS]), t.supportedLngs && t.supportedLngs.indexOf("cimode") < 0 && (t.supportedLngs = t.supportedLngs.concat(["cimode"])), t), wo = () => { -}, Ty = (t) => { +}), Ap = (t) => (se(t.ns) && (t.ns = [t.ns]), se(t.fallbackLng) && (t.fallbackLng = [t.fallbackLng]), se(t.fallbackNS) && (t.fallbackNS = [t.fallbackNS]), t.supportedLngs && t.supportedLngs.indexOf("cimode") < 0 && (t.supportedLngs = t.supportedLngs.concat(["cimode"])), t), ko = () => { +}, Iy = (t) => { Object.getOwnPropertyNames(Object.getPrototypeOf(t)).forEach((n) => { typeof t[n] == "function" && (t[n] = t[n].bind(t)); }); }; -class Ji extends hs { +class eo extends Ss { constructor() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0; - if (super(), this.options = Rp(e), this.services = {}, this.logger = Xt, this.modules = { + if (super(), this.options = Ap(e), this.services = {}, this.logger = Xt, this.modules = { external: [] - }, Ty(this), n && !this.isInitialized && !e.isClone) { + }, Iy(this), n && !this.isInitialized && !e.isClone) { if (!this.options.initImmediate) return this.init(e, n), this; setTimeout(() => { @@ -15176,11 +15176,11 @@ class Ji extends hs { var e = this; let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 ? arguments[1] : void 0; this.isInitializing = !0, typeof n == "function" && (r = n, n = {}), !n.defaultNS && n.defaultNS !== !1 && n.ns && (se(n.ns) ? n.defaultNS = n.ns : n.ns.indexOf("translation") < 0 && (n.defaultNS = n.ns[0])); - const i = vp(); + const i = Np(); this.options = { ...i, ...this.options, - ...Rp(n) + ...Ap(n) }, this.options.compatibilityAPI !== "v1" && (this.options.interpolation = { ...i.interpolation, ...this.options.interpolation @@ -15189,29 +15189,29 @@ class Ji extends hs { if (!this.options.isClone) { this.modules.logger ? Xt.init(o(this.modules.logger), this.options) : Xt.init(null, this.options); let u; - this.modules.formatter ? u = this.modules.formatter : typeof Intl < "u" && (u = Ey); - const d = new Tp(this.options); - this.store = new Sp(this.options.resources, this.options); + this.modules.formatter ? u = this.modules.formatter : typeof Intl < "u" && (u = Oy); + const d = new vp(this.options); + this.store = new Cp(this.options.resources, this.options); const p = this.services; - p.logger = Xt, p.resourceStore = this.store, p.languageUtils = d, p.pluralResolver = new fy(d, { + p.logger = Xt, p.resourceStore = this.store, p.languageUtils = d, p.pluralResolver = new yy(d, { prepend: this.options.pluralSeparator, compatibilityJSON: this.options.compatibilityJSON, simplifyPluralSuffix: this.options.simplifyPluralSuffix - }), u && (!this.options.interpolation.format || this.options.interpolation.format === i.interpolation.format) && (p.formatter = o(u), p.formatter.init(p, this.options), this.options.interpolation.format = p.formatter.format.bind(p.formatter)), p.interpolator = new gy(this.options), p.utils = { + }), u && (!this.options.interpolation.format || this.options.interpolation.format === i.interpolation.format) && (p.formatter = o(u), p.formatter.init(p, this.options), this.options.interpolation.format = p.formatter.format.bind(p.formatter)), p.interpolator = new vy(this.options), p.utils = { hasLoadedNamespace: this.hasLoadedNamespace.bind(this) - }, p.backendConnector = new by(o(this.modules.backend), p.resourceStore, p, this.options), p.backendConnector.on("*", function(_) { - for (var m = arguments.length, f = new Array(m > 1 ? m - 1 : 0), g = 1; g < m; g++) - f[g - 1] = arguments[g]; + }, p.backendConnector = new Ay(o(this.modules.backend), p.resourceStore, p, this.options), p.backendConnector.on("*", function(_) { + for (var m = arguments.length, f = new Array(m > 1 ? m - 1 : 0), h = 1; h < m; h++) + f[h - 1] = arguments[h]; e.emit(_, ...f); - }), this.modules.languageDetector && (p.languageDetector = o(this.modules.languageDetector), p.languageDetector.init && p.languageDetector.init(p, this.options.detection, this.options)), this.modules.i18nFormat && (p.i18nFormat = o(this.modules.i18nFormat), p.i18nFormat.init && p.i18nFormat.init(this)), this.translator = new Ra(this.services, this.options), this.translator.on("*", function(_) { - for (var m = arguments.length, f = new Array(m > 1 ? m - 1 : 0), g = 1; g < m; g++) - f[g - 1] = arguments[g]; + }), this.modules.languageDetector && (p.languageDetector = o(this.modules.languageDetector), p.languageDetector.init && p.languageDetector.init(p, this.options.detection, this.options)), this.modules.i18nFormat && (p.i18nFormat = o(this.modules.i18nFormat), p.i18nFormat.init && p.i18nFormat.init(this)), this.translator = new Na(this.services, this.options), this.translator.on("*", function(_) { + for (var m = arguments.length, f = new Array(m > 1 ? m - 1 : 0), h = 1; h < m; h++) + f[h - 1] = arguments[h]; e.emit(_, ...f); }), this.modules.external.forEach((_) => { _.init && _.init(this); }); } - if (this.format = this.options.interpolation.format, r || (r = wo), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) { + if (this.format = this.options.interpolation.format, r || (r = ko), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) { const u = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng); u.length > 0 && u[0] !== "dev" && (this.options.lng = u[0]); } @@ -15224,7 +15224,7 @@ class Ji extends hs { return e.store[u](...arguments), e; }; }); - const l = Ti(), c = () => { + const l = Ci(), c = () => { const u = (d, p) => { this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), l.resolve(p), r(d, p); }; @@ -15234,7 +15234,7 @@ class Ji extends hs { return this.options.resources || !this.options.initImmediate ? c() : setTimeout(c, 0), l; } loadResources(e) { - let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : wo; + let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : ko; const i = se(e) ? e : this.language; if (typeof e == "function" && (r = e), !this.options.resources || this.options.partialBundledLanguages) { if (i && i.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return r(); @@ -15251,15 +15251,15 @@ class Ji extends hs { r(null); } reloadResources(e, n, r) { - const i = Ti(); - return typeof e == "function" && (r = e, e = void 0), typeof n == "function" && (r = n, n = void 0), e || (e = this.languages), n || (n = this.options.ns), r || (r = wo), this.services.backendConnector.reload(e, n, (o) => { + const i = Ci(); + return typeof e == "function" && (r = e, e = void 0), typeof n == "function" && (r = n, n = void 0), e || (e = this.languages), n || (n = this.options.ns), r || (r = ko), this.services.backendConnector.reload(e, n, (o) => { i.resolve(), r(o); }), i; } use(e) { if (!e) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()"); if (!e.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()"); - return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && rg.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this; + return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && sh.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this; } setResolvedLanguage(e) { if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1)) @@ -15274,7 +15274,7 @@ class Ji extends hs { changeLanguage(e, n) { var r = this; this.isLanguageChangingTo = e; - const i = Ti(); + const i = Ci(); this.emit("languageChanging", e); const o = (l) => { this.language = l, this.languages = this.services.languageUtils.toResolveHierarchy(l), this.resolvedLanguage = void 0, this.setResolvedLanguage(l); @@ -15340,7 +15340,7 @@ class Ji extends hs { return !!(this.hasResourceBundle(r, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || a(r, e) && (!i || a(o, e))); } loadNamespaces(e, n) { - const r = Ti(); + const r = Ci(); return this.options.ns ? (se(e) && (e = [e]), e.forEach((i) => { this.options.ns.indexOf(i) < 0 && this.options.ns.push(i); }), this.loadResources((i) => { @@ -15348,7 +15348,7 @@ class Ji extends hs { }), r) : (n && n(), Promise.resolve()); } loadLanguages(e, n) { - const r = Ti(); + const r = Ci(); se(e) && (e = [e]); const i = this.options.preload || [], o = e.filter((a) => i.indexOf(a) < 0 && this.services.languageUtils.isSupportedCode(a)); return o.length ? (this.options.preload = i.concat(o), this.loadResources((a) => { @@ -15357,29 +15357,29 @@ class Ji extends hs { } dir(e) { if (e || (e = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !e) return "rtl"; - const n = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], r = this.services && this.services.languageUtils || new Tp(vp()); + const n = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], r = this.services && this.services.languageUtils || new vp(Np()); return n.indexOf(r.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr"; } static createInstance() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0; - return new Ji(e, n); + return new eo(e, n); } cloneInstance() { - let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : wo; + let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : ko; const r = e.forkResourceStore; r && delete e.forkResourceStore; const i = { ...this.options, ...e, isClone: !0 - }, o = new Ji(i); + }, o = new eo(i); return (e.debug !== void 0 || e.prefix !== void 0) && (o.logger = o.logger.clone(e)), ["store", "services", "language"].forEach((s) => { o[s] = this[s]; }), o.services = { ...this.services }, o.services.utils = { hasLoadedNamespace: o.hasLoadedNamespace.bind(o) - }, r && (o.store = new Sp(this.store.data, i), o.services.resourceStore = o.store), o.translator = new Ra(o.services, i), o.translator.on("*", function(s) { + }, r && (o.store = new Cp(this.store.data, i), o.services.resourceStore = o.store), o.translator = new Na(o.services, i), o.translator.on("*", function(s) { for (var l = arguments.length, c = new Array(l > 1 ? l - 1 : 0), u = 1; u < l; u++) c[u - 1] = arguments[u]; o.emit(s, ...c); @@ -15397,8 +15397,8 @@ class Ji extends hs { }; } } -const Je = Ji.createInstance(); -Je.createInstance = Ji.createInstance; +const Je = eo.createInstance(); +Je.createInstance = eo.createInstance; Je.createInstance; Je.dir; Je.init; @@ -15413,10 +15413,10 @@ Je.setDefaultNamespace; Je.hasLoadedNamespace; Je.loadNamespaces; Je.loadLanguages; -const Cy = ["paragraph", "h1", "h2", "h3", "h4", "h5", "h6"]; -let yy = class extends mi { +const xy = ["paragraph", "h1", "h2", "h3", "h4", "h5", "h6"]; +let Dy = class extends fi { constructor() { - super(), this.menuData = Cy.map((e) => ce(e)), this.dropDivHeight = "265px", this.dropDivWith = "fit-content"; + super(), this.menuData = xy.map((e) => ce(e)), this.dropDivHeight = "265px", this.dropDivWith = "fit-content"; } onDropdownActive(e, n) { return n == 0 ? e.isActive("paragraph") : e.isActive("heading", { level: n }); @@ -15431,7 +15431,7 @@ let yy = class extends mi { return this.menuData[e].replace(" ", ""); } }; -const vy = [ +const My = [ { name: "宋体", value: "SimSun" }, { name: "仿宋", value: "FangSong" }, { name: "黑体", value: "SimHei" }, @@ -15440,13 +15440,13 @@ const vy = [ { name: "方正仿宋简体_GBK", value: "FangSong_GB2312" }, { name: "Arial", value: "Arial" } ]; -let Ry = class extends mi { +let wy = class extends fi { constructor() { super(), this.width = "72px", this.menuTextWidth = "60px", this.dropDivWith = "150px"; } onCreate(e, n) { var r; - super.onCreate(e, n), this.menuData = ((r = n.fontFamily) == null ? void 0 : r.values) || vy, this.menuData = [ + super.onCreate(e, n), this.menuData = ((r = n.fontFamily) == null ? void 0 : r.values) || My, this.menuData = [ { name: ce("default-font-family"), value: "" } ].concat(this.menuData); } @@ -15464,7 +15464,7 @@ let Ry = class extends mi { return this.menuData[e].name; } }; -const Oy = [ +const Ly = [ { name: "9", value: 9 }, { name: "10", value: 10 }, { name: "11", value: 11 }, @@ -15483,14 +15483,14 @@ const Oy = [ { name: "56", value: 56 }, { name: "72", value: 72 } ]; -class Ny extends mi { +class ky extends fi { constructor() { super(); L(this, "defaultValue", 14); } onCreate(n, r) { var i, o; - super.onCreate(n, r), this.menuData = ((i = r.fontSize) == null ? void 0 : i.values) || Oy, this.defaultValue = ((o = r.fontSize) == null ? void 0 : o.defaultValue) || this.defaultValue; + super.onCreate(n, r), this.menuData = ((i = r.fontSize) == null ? void 0 : i.values) || Ly, this.defaultValue = ((o = r.fontSize) == null ? void 0 : o.defaultValue) || this.defaultValue; for (let a = 0; a < this.menuData.length; a++) if (this.menuData[a].value == this.defaultValue) { this.defaultMenuIndex = a, this.menuData[a].name = `${this.defaultValue}(${ce("default")})`; @@ -15513,7 +15513,7 @@ class Ny extends mi { return r.value == this.defaultValue ? ce("default-font-size") : r.name; } } -let Ay = class extends me { +let Py = class extends me { constructor() { super(), this.template = `
@@ -15528,7 +15528,7 @@ let Ay = class extends me { onActive(e) { return e.isActive("bold"); } -}, Iy = class extends me { +}, Fy = class extends me { constructor() { super(), this.template = `
@@ -15543,7 +15543,7 @@ let Ay = class extends me { onActive(e) { return e.isActive("italic"); } -}, xy = class extends me { +}, By = class extends me { constructor() { super(), this.template = `
@@ -15558,7 +15558,7 @@ let Ay = class extends me { onActive(e) { return e.isActive("underline"); } -}, Dy = class extends me { +}, Uy = class extends me { constructor() { super(), this.template = `
@@ -15573,7 +15573,7 @@ let Ay = class extends me { onActive(e) { return e.isActive("strike"); } -}, My = class extends me { +}, Hy = class extends me { constructor() { super(), this.template = `
@@ -15588,7 +15588,7 @@ let Ay = class extends me { onActive(e) { return e.isActive("subscript"); } -}, wy = class extends me { +}, Gy = class extends me { constructor() { super(), this.template = `
@@ -15604,7 +15604,7 @@ let Ay = class extends me { return e.isActive("superscript"); } }; -const Ly = [ +const Vy = [ "ffffff", "000000", "e9d989", @@ -15665,8 +15665,8 @@ const Ly = [ "3f3151", "205867", "974806" -], ky = ["c00000", "ff0000", "ffc000", "ffff00", "92d050", "00b050", "00b0f0", "0070c0", "002060", "7030a0"]; -class ig extends me { +], Yy = ["c00000", "ff0000", "ffc000", "ffff00", "92d050", "00b050", "00b0f0", "0070c0", "002060", "7030a0"]; +class lh extends me { constructor() { super(); L(this, "historyColorsKey", "historyColors"); @@ -15705,11 +15705,11 @@ class ig extends me {
${ce("default")}
- ${Ly.map((r, i) => `
`).join(" ")} + ${Vy.map((r, i) => `
`).join(" ")}
${ce("standardColors")}
- ${ky.map((r) => `
`).join(" ")} + ${Yy.map((r) => `
`).join(" ")}
${ce("historyColors")}
@@ -15739,7 +15739,7 @@ class ig extends me { `, localStorage.setItem(this.historyColorsKey, JSON.stringify(this.historyColors)), this.menuColorEL.style.background = i, this.onColorItemClick(i); } } -let Py = class extends ig { +let zy = class extends lh { constructor() { super(), this.historyColorsKey = "highlightHistoryColors", this.iconSvg = '', this.onDefaultColorClick = () => { var e; @@ -15753,7 +15753,7 @@ let Py = class extends ig { return e.isActive("highlight"); } }; -class Fy extends ig { +class $y extends lh { constructor() { super(), this.historyColorsKey = "fontHistoryColors", this.iconSvg = '', this.onDefaultColorClick = () => { var e; @@ -15767,12 +15767,12 @@ class Fy extends ig { return e.isActive("textStyle"); } } -class By extends me { +class qy extends me { constructor() { super(), this.template = '
'; } } -let Uy = class extends me { +let Wy = class extends me { constructor() { super(), this.template = `
@@ -15787,7 +15787,7 @@ let Uy = class extends me { onActive(e) { return e.isActive("bulletList"); } -}, Hy = class extends me { +}, Ky = class extends me { constructor() { super(), this.template = `
@@ -15803,7 +15803,7 @@ let Uy = class extends me { return e.isActive("orderedList"); } }; -class Gy extends me { +class Qy extends me { constructor() { super(), this.template = `
@@ -15816,7 +15816,7 @@ class Gy extends me { e.outdent(); } } -class Vy extends me { +class Zy extends me { constructor() { super(), this.template = `
@@ -15829,7 +15829,7 @@ class Vy extends me { e.indent(); } } -const Yy = [ +const Xy = [ { icon: '', title: "align-left", @@ -15851,9 +15851,9 @@ const Yy = [ value: "justify" } ]; -class zy extends mi { +class jy extends fi { constructor() { - super(), this.menuData = Yy.map((e) => ({ ...e, title: ce(e.title) })), this.showItemsTip = !0; + super(), this.menuData = Xy.map((e) => ({ ...e, title: ce(e.title) })), this.showItemsTip = !0; } onDropdownActive(e, n) { return e.isActive({ textAlign: this.menuData[n].value }); @@ -15868,7 +15868,7 @@ class zy extends mi { return this.menuData[e].icon; } } -class jc { +class tu { constructor() { L(this, "tippyInstance"); L(this, "content"); @@ -15924,7 +15924,7 @@ class jc { }), n; } } -let $y = class extends me { +let Jy = class extends me { constructor() { super(), this.template = `
@@ -15934,7 +15934,7 @@ let $y = class extends me { } connectedCallback() { super.connectedCallback(); - const e = new jc(); + const e = new tu(); e.setContent(`
${ce("link-address")}
@@ -15971,7 +15971,7 @@ let $y = class extends me { return e.isActive("link"); } }; -class qy extends me { +class ev extends me { constructor() { super(), this.template = `
@@ -15981,7 +15981,7 @@ class qy extends me { } connectedCallback() { super.connectedCallback(); - const e = new jc(); + const e = new tu(); e.setContent(`
@@ -15996,7 +15996,7 @@ class qy extends me { }), e.setTrigger(this.querySelector("div"), "bottom"); } } -class Wy extends me { +class tv extends me { constructor() { super(), this.template = `
@@ -16012,14 +16012,14 @@ class Wy extends me { return e.isActive("taskList"); } } -const Ky = ["1.0", "1.25", "1.5", "2.0", "2.5", "3.0"]; -class Qy extends mi { +const nv = ["1.0", "1.25", "1.5", "2.0", "2.5", "3.0"]; +class rv extends fi { constructor() { super(), this.refreshMenuText = !1, this.dropDivWith = "70px", this.width = "36px", this.menuTextWidth = "20px"; } onCreate(e, n) { var r; - super.onCreate(e, n), this.menuData = ((r = n.lineHeight) == null ? void 0 : r.values) || Ky; + super.onCreate(e, n), this.menuData = ((r = n.lineHeight) == null ? void 0 : r.values) || nv; } onDropdownActive(e, n) { let r = null; @@ -16040,7 +16040,7 @@ class Qy extends mi { `; } } -class Zy extends me { +class iv extends me { constructor() { super(), this.template = `
@@ -16056,7 +16056,7 @@ class Zy extends me { return e.isActive("blockquote"); } } -let Xy = class extends me { +let ov = class extends me { constructor() { super(); L(this, "fileInput"); @@ -16084,7 +16084,7 @@ let Xy = class extends me { (i = (r = this.options) == null ? void 0 : r.image) != null && i.customMenuInvoke ? this.options.image.customMenuInvoke(this.editor.aiEditor) : (o = this.fileInput) == null || o.click(); } }; -class jy extends me { +class av extends me { constructor() { super(); L(this, "fileInput"); @@ -16112,7 +16112,7 @@ class jy extends me { (i = (r = this.options) == null ? void 0 : r.video) != null && i.customMenuInvoke ? this.options.video.customMenuInvoke(this.editor.aiEditor) : (o = this.fileInput) == null || o.click(); } } -let Jy = class extends me { +let sv = class extends me { constructor() { super(), this.template = `
@@ -16127,7 +16127,7 @@ let Jy = class extends me { onActive(e) { return e.isActive("code"); } -}, ev = class extends me { +}, lv = class extends me { constructor() { super(), this.template = `
@@ -16143,7 +16143,7 @@ let Jy = class extends me { return e.isActive("codeBlock"); } }; -class tv extends me { +class cv extends me { constructor() { super(), this.template = `
@@ -16156,7 +16156,7 @@ class tv extends me { e.unsetAllMarks(); } } -class nv extends me { +class uv extends me { constructor() { super(), this.template = `
@@ -16169,7 +16169,7 @@ class nv extends me { e.setHorizontalRule(); } } -let rv = class extends me { +let dv = class extends me { constructor() { super(); L(this, "instance"); @@ -16226,7 +16226,7 @@ let rv = class extends me { }), n; } }; -class iv extends me { +class pv extends me { constructor() { super(), this.template = `
@@ -16239,7 +16239,7 @@ class iv extends me { e.setHardBreak(); } } -class ov extends me { +class _v extends me { constructor() { super(); L(this, "fileInput"); @@ -16267,7 +16267,7 @@ class ov extends me { (i = (r = this.options) == null ? void 0 : r.attachment) != null && i.customMenuInvoke ? this.options.attachment.customMenuInvoke(this.editor.aiEditor) : (o = this.fileInput) == null || o.click(); } } -class av extends me { +class mv extends me { constructor() { super(); L(this, "fullscreenSvg", ''); @@ -16285,7 +16285,7 @@ class av extends me { this.isFullscreen ? (r.style.height = "100%", r.style.width = "", r.style.background = "", r.style.position = "", r.style.top = "", r.style.left = "", r.style.zIndex = "") : (r.style.height = "calc(100vh - 2px)", r.style.width = "calc(100% - 2px)", r.style.position = "fixed", r.style.top = "0", r.style.left = "0", r.style.zIndex = "9999"), this.isFullscreen = !this.isFullscreen, this.querySelector("div").innerHTML = this.isFullscreen ? this.fullscreenExitSvg : this.fullscreenSvg; } } -class sv extends me { +class fv extends me { constructor() { super(), this.template = `
@@ -16320,7 +16320,7 @@ class sv extends me { }); } } -const Op = [ +const Ip = [ "😀", "😃", "😄", @@ -16460,10 +16460,10 @@ const Op = [ "💨", "💤" ]; -class lv extends me { +class hv extends me { constructor() { super(); - L(this, "emojis", Op); + L(this, "emojis", Ip); L(this, "tippy"); this.template = `
@@ -16473,7 +16473,7 @@ class lv extends me { } onCreate(n, r) { var i; - super.onCreate(n, r), this.emojis = ((i = r.emoji) == null ? void 0 : i.values) || Op; + super.onCreate(n, r), this.emojis = ((i = r.emoji) == null ? void 0 : i.values) || Ip; } connectedCallback() { super.connectedCallback(), this.tippy = we(this.querySelector("svg"), { @@ -16487,18 +16487,24 @@ class lv extends me { } createMenuElement() { const n = document.createElement("div"); - return n.style.maxWidth = "450px", n.style.overflow = "hidden", n.style.display = "flex", n.style.justifyContent = "center", n.classList.add("aie-dropdown-container"), n.innerHTML = ` + n.style.maxWidth = "450px", n.style.overflow = "hidden", n.style.display = "flex", n.style.justifyContent = "center"; + const r = this.getSize(); + return n.classList.add("aie-dropdown-container"), n.innerHTML = `
- ${this.emojis.map((r) => `
${r}
`).join("")} + ${this.emojis.map((i) => `
${i}
`).join("")}
- `, n.querySelector(".emoji-cells").addEventListener("click", (r) => { - var o, a; - const i = r.target.closest(".emoji-cell"); - i && ((o = this.editor) == null || o.commands.insertContent(i.querySelector("span").innerHTML), (a = this.tippy) == null || a.hide()); + `, n.querySelector(".emoji-cells").addEventListener("click", (i) => { + var a, s; + const o = i.target.closest(".emoji-cell"); + o && ((a = this.editor) == null || a.commands.insertContent(o.querySelector("span").innerHTML), (s = this.tippy) == null || s.hide()); }), n; } + getSize() { + const n = this.editor.aiEditor.options; + return n.toolbarSize === "large" ? 30 : n.toolbarSize === "medium" ? 25 : 20; + } } -class cv extends me { +class gv extends me { constructor() { super(), this.template = '
', this.registerClickListener(); } @@ -16508,7 +16514,7 @@ class cv extends me { e.setPainter((n = this.editor) == null ? void 0 : n.state.selection.$head.marks()); } } -class Eo { +class So { constructor(e, n, r) { L(this, "editor"); L(this, "globalConfig"); @@ -16535,7 +16541,7 @@ class Eo { this.globalConfig.onCreateClientUrl ? this.globalConfig.onCreateClientUrl(this.aiModelName, this.aiModelConfig, i, o) : i(this.createAiClientUrl()); } } -class og { +class ch { constructor(e, n) { L(this, "isStop", !1); L(this, "url"); @@ -16568,10 +16574,10 @@ class og { } } var wn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}; -function Jc(t) { +function nu(t) { return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t; } -function uv(t) { +function Ev(t) { if (t.__esModule) return t; var e = t.default; if (typeof e == "function") { @@ -16590,26 +16596,26 @@ function uv(t) { }); }), n; } -var ag = { exports: {} }; -function dv(t) { +var uh = { exports: {} }; +function Sv(t) { throw new Error('Could not dynamically require "' + t + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.'); } -var nl = { exports: {} }; -const pv = {}, _v = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ +var il = { exports: {} }; +const bv = {}, Tv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, - default: pv -}, Symbol.toStringTag, { value: "Module" })), mv = /* @__PURE__ */ uv(_v); -var Np; -function Es() { - return Np || (Np = 1, function(t, e) { + default: bv +}, Symbol.toStringTag, { value: "Module" })), Cv = /* @__PURE__ */ Ev(Tv); +var xp; +function bs() { + return xp || (xp = 1, function(t, e) { (function(n, r) { t.exports = r(); })(wn, function() { var n = n || function(r, i) { var o; - if (typeof window < "u" && window.crypto && (o = window.crypto), typeof self < "u" && self.crypto && (o = self.crypto), typeof globalThis < "u" && globalThis.crypto && (o = globalThis.crypto), !o && typeof window < "u" && window.msCrypto && (o = window.msCrypto), !o && typeof wn < "u" && wn.crypto && (o = wn.crypto), !o && typeof dv == "function") + if (typeof window < "u" && window.crypto && (o = window.crypto), typeof self < "u" && self.crypto && (o = self.crypto), typeof globalThis < "u" && globalThis.crypto && (o = globalThis.crypto), !o && typeof window < "u" && window.msCrypto && (o = window.msCrypto), !o && typeof wn < "u" && wn.crypto && (o = wn.crypto), !o && typeof Sv == "function") try { - o = mv; + o = Cv; } catch { } var a = function() { @@ -16630,8 +16636,8 @@ function Es() { function S() { } return function(b) { - var h; - return S.prototype = b, h = new S(), S.prototype = null, h; + var g; + return S.prototype = b, g = new S(), S.prototype = null, g; }; }(), l = {}, c = l.lib = {}, u = c.Base = /* @__PURE__ */ function() { return { @@ -16762,15 +16768,15 @@ function Es() { * wordArray1.concat(wordArray2); */ concat: function(S) { - var b = this.words, h = S.words, C = this.sigBytes, T = S.sigBytes; + var b = this.words, g = S.words, C = this.sigBytes, T = S.sigBytes; if (this.clamp(), C % 4) for (var R = 0; R < T; R++) { - var x = h[R >>> 2] >>> 24 - R % 4 * 8 & 255; + var x = g[R >>> 2] >>> 24 - R % 4 * 8 & 255; b[C + R >>> 2] |= x << 24 - (C + R) % 4 * 8; } else for (var O = 0; O < T; O += 4) - b[C + O >>> 2] = h[O >>> 2]; + b[C + O >>> 2] = g[O >>> 2]; return this.sigBytes += T, this; }, /** @@ -16811,7 +16817,7 @@ function Es() { * var wordArray = CryptoJS.lib.WordArray.random(16); */ random: function(S) { - for (var b = [], h = 0; h < S; h += 4) + for (var b = [], g = 0; g < S; g += 4) b.push(a()); return new d.init(b, S); } @@ -16830,7 +16836,7 @@ function Es() { * var hexString = CryptoJS.enc.Hex.stringify(wordArray); */ stringify: function(S) { - for (var b = S.words, h = S.sigBytes, C = [], T = 0; T < h; T++) { + for (var b = S.words, g = S.sigBytes, C = [], T = 0; T < g; T++) { var R = b[T >>> 2] >>> 24 - T % 4 * 8 & 255; C.push((R >>> 4).toString(16)), C.push((R & 15).toString(16)); } @@ -16850,9 +16856,9 @@ function Es() { * var wordArray = CryptoJS.enc.Hex.parse(hexString); */ parse: function(S) { - for (var b = S.length, h = [], C = 0; C < b; C += 2) - h[C >>> 3] |= parseInt(S.substr(C, 2), 16) << 24 - C % 8 * 4; - return new d.init(h, b / 2); + for (var b = S.length, g = [], C = 0; C < b; C += 2) + g[C >>> 3] |= parseInt(S.substr(C, 2), 16) << 24 - C % 8 * 4; + return new d.init(g, b / 2); } }, m = p.Latin1 = { /** @@ -16869,7 +16875,7 @@ function Es() { * var latin1String = CryptoJS.enc.Latin1.stringify(wordArray); */ stringify: function(S) { - for (var b = S.words, h = S.sigBytes, C = [], T = 0; T < h; T++) { + for (var b = S.words, g = S.sigBytes, C = [], T = 0; T < g; T++) { var R = b[T >>> 2] >>> 24 - T % 4 * 8 & 255; C.push(String.fromCharCode(R)); } @@ -16889,9 +16895,9 @@ function Es() { * var wordArray = CryptoJS.enc.Latin1.parse(latin1String); */ parse: function(S) { - for (var b = S.length, h = [], C = 0; C < b; C++) - h[C >>> 2] |= (S.charCodeAt(C) & 255) << 24 - C % 4 * 8; - return new d.init(h, b); + for (var b = S.length, g = [], C = 0; C < b; C++) + g[C >>> 2] |= (S.charCodeAt(C) & 255) << 24 - C % 4 * 8; + return new d.init(g, b); } }, f = p.Utf8 = { /** @@ -16930,7 +16936,7 @@ function Es() { parse: function(S) { return m.parse(unescape(encodeURIComponent(S))); } - }, g = c.BufferedBlockAlgorithm = u.extend({ + }, h = c.BufferedBlockAlgorithm = u.extend({ /** * Resets this block algorithm's data buffer to its initial state. * @@ -16969,13 +16975,13 @@ function Es() { * var processedData = bufferedBlockAlgorithm._process(!!'flush'); */ _process: function(S) { - var b, h = this._data, C = h.words, T = h.sigBytes, R = this.blockSize, x = R * 4, O = T / x; + var b, g = this._data, C = g.words, T = g.sigBytes, R = this.blockSize, x = R * 4, O = T / x; S ? O = r.ceil(O) : O = r.max((O | 0) - this._minBufferSize, 0); var M = O * R, B = r.min(M * 4, T); if (M) { for (var Y = 0; Y < M; Y += R) this._doProcessBlock(C, Y); - b = C.splice(0, M), h.sigBytes -= B; + b = C.splice(0, M), g.sigBytes -= B; } return new d.init(b, B); }, @@ -16994,7 +17000,7 @@ function Es() { }, _minBufferSize: 0 }); - c.Hasher = g.extend({ + c.Hasher = h.extend({ /** * Configuration options. */ @@ -17019,7 +17025,7 @@ function Es() { * hasher.reset(); */ reset: function() { - g.reset.call(this), this._doReset(); + h.reset.call(this), this._doReset(); }, /** * Updates this hasher with a message. @@ -17070,8 +17076,8 @@ function Es() { * var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256); */ _createHelper: function(S) { - return function(b, h) { - return new S.init(h).finalize(b); + return function(b, g) { + return new S.init(g).finalize(b); }; }, /** @@ -17088,8 +17094,8 @@ function Es() { * var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256); */ _createHmacHelper: function(S) { - return function(b, h) { - return new E.HMAC.init(S, h).finalize(b); + return function(b, g) { + return new E.HMAC.init(S, g).finalize(b); }; } }); @@ -17098,13 +17104,13 @@ function Es() { }(Math); return n; }); - }(nl)), nl.exports; + }(il)), il.exports; } -var rl = { exports: {} }, Ap; -function fv() { - return Ap || (Ap = 1, function(t, e) { +var ol = { exports: {} }, Dp; +function yv() { + return Dp || (Dp = 1, function(t, e) { (function(n, r) { - t.exports = r(Es()); + t.exports = r(bs()); })(wn, function(n) { return function(r) { var i = n, o = i.lib, a = o.WordArray, s = o.Hasher, l = i.algo, c = [], u = []; @@ -17118,29 +17124,29 @@ function fv() { function m(E) { return (E - (E | 0)) * 4294967296 | 0; } - for (var f = 2, g = 0; g < 64; ) - _(f) && (g < 8 && (c[g] = m(r.pow(f, 1 / 2))), u[g] = m(r.pow(f, 1 / 3)), g++), f++; + for (var f = 2, h = 0; h < 64; ) + _(f) && (h < 8 && (c[h] = m(r.pow(f, 1 / 2))), u[h] = m(r.pow(f, 1 / 3)), h++), f++; })(); var d = [], p = l.SHA256 = s.extend({ _doReset: function() { this._hash = new a.init(c.slice(0)); }, _doProcessBlock: function(_, m) { - for (var f = this._hash.words, g = f[0], E = f[1], S = f[2], b = f[3], h = f[4], C = f[5], T = f[6], R = f[7], x = 0; x < 64; x++) { + for (var f = this._hash.words, h = f[0], E = f[1], S = f[2], b = f[3], g = f[4], C = f[5], T = f[6], R = f[7], x = 0; x < 64; x++) { if (x < 16) d[x] = _[m + x] | 0; else { var O = d[x - 15], M = (O << 25 | O >>> 7) ^ (O << 14 | O >>> 18) ^ O >>> 3, B = d[x - 2], Y = (B << 15 | B >>> 17) ^ (B << 13 | B >>> 19) ^ B >>> 10; d[x] = M + d[x - 7] + Y + d[x - 16]; } - var $ = h & C ^ ~h & T, q = g & E ^ g & S ^ E & S, V = (g << 30 | g >>> 2) ^ (g << 19 | g >>> 13) ^ (g << 10 | g >>> 22), J = (h << 26 | h >>> 6) ^ (h << 21 | h >>> 11) ^ (h << 7 | h >>> 25), y = R + J + $ + u[x] + d[x], v = V + q; - R = T, T = C, C = h, h = b + y | 0, b = S, S = E, E = g, g = y + v | 0; + var $ = g & C ^ ~g & T, q = h & E ^ h & S ^ E & S, V = (h << 30 | h >>> 2) ^ (h << 19 | h >>> 13) ^ (h << 10 | h >>> 22), J = (g << 26 | g >>> 6) ^ (g << 21 | g >>> 11) ^ (g << 7 | g >>> 25), y = R + J + $ + u[x] + d[x], v = V + q; + R = T, T = C, C = g, g = b + y | 0, b = S, S = E, E = h, h = y + v | 0; } - f[0] = f[0] + g | 0, f[1] = f[1] + E | 0, f[2] = f[2] + S | 0, f[3] = f[3] + b | 0, f[4] = f[4] + h | 0, f[5] = f[5] + C | 0, f[6] = f[6] + T | 0, f[7] = f[7] + R | 0; + f[0] = f[0] + h | 0, f[1] = f[1] + E | 0, f[2] = f[2] + S | 0, f[3] = f[3] + b | 0, f[4] = f[4] + g | 0, f[5] = f[5] + C | 0, f[6] = f[6] + T | 0, f[7] = f[7] + R | 0; }, _doFinalize: function() { - var _ = this._data, m = _.words, f = this._nDataBytes * 8, g = _.sigBytes * 8; - return m[g >>> 5] |= 128 << 24 - g % 32, m[(g + 64 >>> 9 << 4) + 14] = r.floor(f / 4294967296), m[(g + 64 >>> 9 << 4) + 15] = f, _.sigBytes = m.length * 4, this._process(), this._hash; + var _ = this._data, m = _.words, f = this._nDataBytes * 8, h = _.sigBytes * 8; + return m[h >>> 5] |= 128 << 24 - h % 32, m[(h + 64 >>> 9 << 4) + 14] = r.floor(f / 4294967296), m[(h + 64 >>> 9 << 4) + 15] = f, _.sigBytes = m.length * 4, this._process(), this._hash; }, clone: function() { var _ = s.clone.call(this); @@ -17150,13 +17156,13 @@ function fv() { i.SHA256 = s._createHelper(p), i.HmacSHA256 = s._createHmacHelper(p); }(Math), n.SHA256; }); - }(rl)), rl.exports; + }(ol)), ol.exports; } -var il = { exports: {} }, Ip; -function gv() { - return Ip || (Ip = 1, function(t, e) { +var al = { exports: {} }, Mp; +function vv() { + return Mp || (Mp = 1, function(t, e) { (function(n, r) { - t.exports = r(Es()); + t.exports = r(bs()); })(wn, function(n) { (function() { var r = n, i = r.lib, o = i.Base, a = r.enc, s = a.Utf8, l = r.algo; @@ -17175,8 +17181,8 @@ function gv() { c = this._hasher = new c.init(), typeof u == "string" && (u = s.parse(u)); var d = c.blockSize, p = d * 4; u.sigBytes > p && (u = c.finalize(u)), u.clamp(); - for (var _ = this._oKey = u.clone(), m = this._iKey = u.clone(), f = _.words, g = m.words, E = 0; E < d; E++) - f[E] ^= 1549556828, g[E] ^= 909522486; + for (var _ = this._oKey = u.clone(), m = this._iKey = u.clone(), f = _.words, h = m.words, E = 0; E < d; E++) + f[E] ^= 1549556828, h[E] ^= 909522486; _.sigBytes = m.sigBytes = p, this.reset(); }, /** @@ -17228,21 +17234,21 @@ function gv() { }); })(); }); - }(il)), il.exports; + }(al)), al.exports; } (function(t, e) { (function(n, r, i) { - t.exports = r(Es(), fv(), gv()); + t.exports = r(bs(), yv(), vv()); })(wn, function(n) { return n.HmacSHA256; }); -})(ag); -var hv = ag.exports; -const Ev = /* @__PURE__ */ Jc(hv); -var sg = { exports: {} }; +})(uh); +var Rv = uh.exports; +const Ov = /* @__PURE__ */ nu(Rv); +var dh = { exports: {} }; (function(t, e) { (function(n, r) { - t.exports = r(Es()); + t.exports = r(bs()); })(wn, function(n) { return function() { var r = n, i = r.lib, o = i.WordArray, a = r.enc; @@ -17264,7 +17270,7 @@ var sg = { exports: {} }; var c = l.words, u = l.sigBytes, d = this._map; l.clamp(); for (var p = [], _ = 0; _ < u; _ += 3) - for (var m = c[_ >>> 2] >>> 24 - _ % 4 * 8 & 255, f = c[_ + 1 >>> 2] >>> 24 - (_ + 1) % 4 * 8 & 255, g = c[_ + 2 >>> 2] >>> 24 - (_ + 2) % 4 * 8 & 255, E = m << 16 | f << 8 | g, S = 0; S < 4 && _ + S * 0.75 < u; S++) + for (var m = c[_ >>> 2] >>> 24 - _ % 4 * 8 & 255, f = c[_ + 1 >>> 2] >>> 24 - (_ + 1) % 4 * 8 & 255, h = c[_ + 2 >>> 2] >>> 24 - (_ + 2) % 4 * 8 & 255, E = m << 16 | f << 8 | h, S = 0; S < 4 && _ + S * 0.75 < u; S++) p.push(d.charAt(E >>> 6 * (3 - S) & 63)); var b = d.charAt(64); if (b) @@ -17304,20 +17310,20 @@ var sg = { exports: {} }; function s(l, c, u) { for (var d = [], p = 0, _ = 0; _ < c; _++) if (_ % 4) { - var m = u[l.charCodeAt(_ - 1)] << _ % 4 * 2, f = u[l.charCodeAt(_)] >>> 6 - _ % 4 * 2, g = m | f; - d[p >>> 2] |= g << 24 - p % 4 * 8, p++; + var m = u[l.charCodeAt(_ - 1)] << _ % 4 * 2, f = u[l.charCodeAt(_)] >>> 6 - _ % 4 * 2, h = m | f; + d[p >>> 2] |= h << 24 - p % 4 * 8, p++; } return o.create(d, p); } }(), n.enc.Base64; }); -})(sg); -var Sv = sg.exports; -const bv = /* @__PURE__ */ Jc(Sv), Ss = () => "10000000-1000-4000-8000-100000000000".replace( +})(dh); +var Nv = dh.exports; +const Av = /* @__PURE__ */ nu(Nv), Ts = () => "10000000-1000-4000-8000-100000000000".replace( /[018]/g, (t) => (t ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> t / 4).toString(16) ); -class Tv extends Eo { +class Iv extends So { constructor(e, n) { super(e, n, "spark"), this.aiModelConfig = { version: "v3.5", @@ -17326,7 +17332,7 @@ class Tv extends Eo { }; } createAiClient(e, n) { - return new og(e, { + return new ch(e, { onStart: n.onStart, onStop: n.onStop, // 星火内容解析 https://www.xfyun.cn/doc/spark/Web.html#_1-%E6%8E%A5%E5%8F%A3%E8%AF%B4%E6%98%8E @@ -17344,7 +17350,7 @@ class Tv extends Eo { const n = this.aiModelConfig, r = { header: { app_id: n.appId, - uid: Ss().replace(/-/g, "") + uid: Ts().replace(/-/g, "") }, parameter: { chat: { @@ -17385,11 +17391,11 @@ class Tv extends Eo { `; r += "date: " + n + ` `, r += `GET /${e.version}/chat HTTP/1.1`; - const i = Ev(r, e.apiSecret), o = bv.stringify(i), a = `api_key="${e.apiKey}", algorithm="hmac-sha256", headers="host date request-line", signature="${o}"`, s = btoa(a); + const i = Ov(r, e.apiSecret), o = Av.stringify(i), a = `api_key="${e.apiKey}", algorithm="hmac-sha256", headers="host date request-line", signature="${o}"`, s = btoa(a); return `${e.protocol}://spark-api.xf-yun.com/${e.version}/chat?authorization=${s}&date=${encodeURIComponent(n)}&host=spark-api.xf-yun.com`; } } -class lg { +class ph { constructor(e, n) { L(this, "isStop", !1); L(this, "config"); @@ -17436,14 +17442,14 @@ class lg { this.isOpen = !1, this.isStop || (this.listener.onStop(), this.isStop = !0); } } -class Cv extends Eo { +class xv extends So { constructor(e, n) { super(e, n, "wenxin"), this.aiModelConfig = { ...n.models.wenxin }; } createAiClient(e, n) { - return new lg({ url: e, method: "POST" }, { + return new ph({ url: e, method: "POST" }, { onStart: n.onStart, onStop: n.onStop, onMessage: (r) => { @@ -17478,7 +17484,7 @@ class Cv extends Eo { } } var mn; -class yv extends TransformStream { +class Dv extends TransformStream { /** Constructs a new instance. */ constructor(n = { allowCR: !1 }) { super({ @@ -17495,7 +17501,7 @@ class yv extends TransformStream { const s = r[o - 1] === "\r" ? o - 1 : o; i.enqueue(r.slice(0, s)), r = r.slice(o + 1); } - Yu(this, mn, r); + qu(this, mn, r); }, flush: (r) => { if (Or(this, mn) === "") @@ -17504,15 +17510,15 @@ class yv extends TransformStream { r.enqueue(i); } }); - Vu(this, mn, ""); + $u(this, mn, ""); } } mn = new WeakMap(); -function vv(t) { - let e = new TextDecoderStream(), n = new yv({ allowCR: !0 }); +function Mv(t) { + let e = new TextDecoderStream(), n = new Dv({ allowCR: !0 }); return t.pipeThrough(e).pipeThrough(n); } -function Rv(t) { +function wv(t) { let n = /[:]\s*/.exec(t), r = n && n.index; if (r) return [ @@ -17520,10 +17526,10 @@ function Rv(t) { t.substring(r + n[0].length) ]; } -async function* Ov(t, e) { +async function* Lv(t, e) { if (!t.body) return; - let n = vv(t.body), r, i = n.getReader(), o; + let n = Mv(t.body), r, i = n.getReader(), o; for (; ; ) { if (e && e.aborted) return i.cancel(); @@ -17533,12 +17539,12 @@ async function* Ov(t, e) { o && (yield o), o = void 0; continue; } - let [a, s] = Rv(r.value) || []; + let [a, s] = wv(r.value) || []; a && (a === "data" ? (o || (o = {}), o[a] = o[a] ? o[a] + ` ` + s : s) : a === "event" ? (o || (o = {}), o[a] = s) : a === "id" ? (o || (o = {}), o[a] = +s || s) : a === "retry" && (o || (o = {}), o[a] = +s || void 0)); } } -class eu { +class ru { constructor(e, n) { L(this, "isStop", !1); L(this, "config"); @@ -17567,7 +17573,7 @@ class eu { return; } try { - let r = Ov(n, this.ctrl.signal); + let r = Lv(n, this.ctrl.signal); for await (let i of r) i.data && i.data.trim() !== "[DONE]" && this.onMessage(i.data); } catch (r) { @@ -17589,7 +17595,7 @@ class eu { this.isOpen = !1, this.isStop || (this.listener.onStop(), this.isStop = !0); } } -class Nv extends Eo { +class kv extends So { constructor(e, n) { super(e, n, "custom"), this.aiModelConfig = { protocol: "sse", @@ -17611,7 +17617,7 @@ class Nv extends Eo { method: r.method || "post", headers: (a = r.headers) == null ? void 0 : a.call(r) }; - return r.protocol === "sse" ? new eu(o, i) : r.protocol === "http" ? new lg(o, i) : new og(e, i); + return r.protocol === "sse" ? new ru(o, i) : r.protocol === "http" ? new ph(o, i) : new ch(e, i); } wrapPayload(e) { var r; @@ -17624,7 +17630,7 @@ class Nv extends Eo { return typeof e.url == "string" ? e.url : (n = e.url) == null ? void 0 : n.call(e); } } -class Av extends Eo { +class Pv extends So { constructor(e, n) { super(e, n, "openai"), this.aiModelConfig = { endpoint: "https://api.openai.com", @@ -17636,7 +17642,7 @@ class Av extends Eo { const r = this.aiModelConfig, i = { "Content-Type": "application/json" }; - return r.apiKey && (i.Authorization = `Bearer ${r.apiKey}`), new eu({ + return r.apiKey && (i.Authorization = `Bearer ${r.apiKey}`), new ru({ url: e, method: "post", headers: i @@ -17687,7 +17693,7 @@ class Av extends Eo { return `${e.endpoint}/v1/chat/completions`; } } -class Iv extends Eo { +class Fv extends So { constructor(e, n) { super(e, n, "gitee"), this.aiModelConfig = { top_p: 0.7, @@ -17697,7 +17703,7 @@ class Iv extends Eo { } createAiClient(e, n) { const r = this.aiModelConfig; - return new eu({ + return new ru({ url: e, method: "post", headers: { @@ -17753,19 +17759,19 @@ class Yn { for (let i of Object.keys(n.models)) switch (i) { case "spark": - this.set(i, new Tv(e, n)); + this.set(i, new Iv(e, n)); break; case "wenxin": - this.set(i, new Cv(e, n)); + this.set(i, new xv(e, n)); break; case "openai": - this.set(i, new Av(e, n)); + this.set(i, new Pv(e, n)); break; case "gitee": - this.set(i, new Iv(e, n)); + this.set(i, new Fv(e, n)); break; case "custom": - this.set(i, new Nv(e, n)); + this.set(i, new kv(e, n)); break; default: const o = (r = n.modelFactory) == null ? void 0 : r.create(i, e, n); @@ -17780,13 +17786,13 @@ class Yn { } } L(Yn, "models", {}); -const xv = (t) => { +const Bv = (t) => { let e = ""; return t.descendants((n) => { n.text && (e += n.text); }), e; }; -class Oa { +class Aa { constructor(e, n) { L(this, "editor"); L(this, "from"); @@ -17804,7 +17810,7 @@ class Oa { if (r.dispatch(n.insertText(e.content)), e.status == 2 && this.options.markdownParseEnable) { const i = this.editor.state.selection.to, o = this.editor.state.doc.textBetween(this.from, i), { state: { tr: a }, view: s } = this.editor, l = this.editor.parseMarkdown(o); if (this.options.useMarkdownTextOnly) { - const c = xv(l), u = this.editor.schema.text(c); + const c = Bv(l), u = this.editor.schema.text(c); s.dispatch(a.replaceWith(this.from, i, u).scrollIntoView()); } else s.dispatch(a.replaceWith(this.from, i, l).scrollIntoView()); @@ -17812,7 +17818,7 @@ class Oa { this.editor.commands.scrollIntoView(); } } -const Dv = [ +const Uv = [ { icon: '', name: "ai-continuation", @@ -17848,10 +17854,10 @@ const Dv = [ model: "auto" } ]; -class Mv extends mi { +class Hv extends fi { constructor() { super(); - L(this, "aiMenus", Dv.map((n) => ({ + L(this, "aiMenus", Uv.map((n) => ({ ...n, name: `${ce(n.name)}` }))); @@ -17903,7 +17909,7 @@ class Mv extends mi { const r = this.menuData[n], i = this.getSelectedText(r.text); if (i) { const o = Yn.get(r.model); - o ? o == null || o.chat(i, r.prompt, new Oa(this.editor)) : console.error("Ai model config error."); + o ? o == null || o.chat(i, r.prompt, new Aa(this.editor)) : console.error("Ai model config error."); } else console.error("Can not get selected text."); } @@ -17914,7 +17920,7 @@ class Mv extends mi { return this.menuData[n].icon; } } -class wv extends me { +class Gv extends me { constructor() { super(), this.template = `
@@ -17931,7 +17937,7 @@ class wv extends me { return e.isActive("container"); } } -class Lv extends me { +class Vv extends me { constructor() { super(); L(this, "config"); @@ -17944,7 +17950,7 @@ class Lv extends me { } const re = (t, e) => { window.customElements.get(t) || window.customElements.define(t, e); -}, cg = (t, e, n, r) => { +}, _h = (t, e, n, r) => { for (let i of r) if (i) try { @@ -17996,7 +18002,7 @@ const re = (t, e) => { console.error(o, "Can not create toolbar by key: " + i); } }; -class kv extends me { +class Yv extends me { constructor() { super(); L(this, "menuButtons", []); @@ -18008,7 +18014,7 @@ class kv extends me { super.onCreate(n, r); } init(n, r, i) { - cg(n, r, this.menuButtons, i.toolbarKeys), this.iconSvg = i.icon || this.iconSvg; + _h(n, r, this.menuButtons, i.toolbarKeys), this.iconSvg = i.icon || this.iconSvg; } renderTemplate() { this.template = `
${this.iconSvg}
`; @@ -18053,7 +18059,7 @@ class kv extends me { return this.tippyEl = n, n; } } -const Pv = [ +const zv = [ "undo", "redo", "brush", @@ -18100,49 +18106,49 @@ const Pv = [ "fullscreen", "ai" ]; -re("aie-undo", Lf); -re("aie-undo", Lf); -re("aie-redo", SC); -re("aie-brush", cv); -re("aie-container", wv); -re("aie-custom", Lv); -re("aie-eraser", tv); -re("aie-heading", yy); -re("aie-font-family", Ry); -re("aie-font-size", Ny); -re("aie-bold", Ay); -re("aie-italic", Iy); -re("aie-underline", xy); -re("aie-strike", Dy); -re("aie-link", $y); -re("aie-source-code", qy); -re("aie-code", Jy); -re("aie-subscript", My); -re("aie-superscript", wy); -re("aie-highlight", Py); -re("aie-font-color", Fy); -re("aie-divider", By); -re("aie-bullet-list", Uy); -re("aie-ordered-list", Hy); -re("aie-indent-decrease", Gy); -re("aie-indent-increase", Vy); -re("aie-align", zy); -re("aie-todo", Wy); -re("aie-line-height", Qy); -re("aie-break", iv); -re("aie-quote", Zy); -re("aie-image", Xy); -re("aie-video", jy); -re("aie-code-block", ev); -re("aie-hr", nv); -re("aie-table", rv); -re("aie-attachment", ov); -re("aie-fullscreen", av); -re("aie-printer", sv); -re("aie-emoji", lv); -re("aie-ai", Mv); -re("aie-group", kv); -class ug extends HTMLElement { +re("aie-undo", Bf); +re("aie-undo", Bf); +re("aie-redo", NC); +re("aie-brush", gv); +re("aie-container", Gv); +re("aie-custom", Vv); +re("aie-eraser", cv); +re("aie-heading", Dy); +re("aie-font-family", wy); +re("aie-font-size", ky); +re("aie-bold", Py); +re("aie-italic", Fy); +re("aie-underline", By); +re("aie-strike", Uy); +re("aie-link", Jy); +re("aie-source-code", ev); +re("aie-code", sv); +re("aie-subscript", Hy); +re("aie-superscript", Gy); +re("aie-highlight", zy); +re("aie-font-color", $y); +re("aie-divider", qy); +re("aie-bullet-list", Wy); +re("aie-ordered-list", Ky); +re("aie-indent-decrease", Qy); +re("aie-indent-increase", Zy); +re("aie-align", jy); +re("aie-todo", tv); +re("aie-line-height", rv); +re("aie-break", pv); +re("aie-quote", iv); +re("aie-image", ov); +re("aie-video", av); +re("aie-code-block", lv); +re("aie-hr", uv); +re("aie-table", dv); +re("aie-attachment", _v); +re("aie-fullscreen", mv); +re("aie-printer", fv); +re("aie-emoji", hv); +re("aie-ai", Hv); +re("aie-group", Yv); +class mh extends HTMLElement { constructor() { super(); // template:string; @@ -18157,7 +18163,7 @@ class ug extends HTMLElement { n.style.display = "flex", n.style.flexWrap = "wrap", this.appendChild(n); } onCreate(n, r) { - let i = r.toolbarKeys || Pv; + let i = r.toolbarKeys || zv; i = i.filter((o) => { var a; return typeof o == "string" ? !((a = r.toolbarExcludeKeys) != null && a.includes(o)) : !0; @@ -18168,7 +18174,7 @@ class ug extends HTMLElement { return c.includes(o) ? !c.includes(l) : !0; } return !0; - }), cg(n, r, this.menuButtons, i); + }), _h(n, r, this.menuButtons, i); } onTransaction(n) { for (let r of this.menuButtons) @@ -18179,7 +18185,7 @@ class ug extends HTMLElement { r.onEditableChange(n); } } -class dg extends HTMLElement { +class fh extends HTMLElement { constructor() { super(); L(this, "count", 0); @@ -18194,8 +18200,8 @@ class dg extends HTMLElement { }, d = (p) => { const _ = p.clientX - r, m = p.clientY - i; if (_ == 0 && m == 0) return; - let f = s + _, g = l + m; - f < o && (f = o), g < a && (g = a), c.style.width = `${f}px`, c.style.height = `${g}px`; + let f = s + _, h = l + m; + f < o && (f = o), h < a && (h = a), c.style.width = `${f}px`, c.style.height = `${h}px`; }; this.addEventListener("mousedown", (p) => { var m; @@ -18225,7 +18231,7 @@ class dg extends HTMLElement { onEditableChange(n) { } } -const Fv = /^\s*>\s$/, Bv = Ne.create({ +const $v = /^\s*>\s$/, qv = Ne.create({ name: "blockquote", addOptions() { return { @@ -18258,12 +18264,12 @@ const Fv = /^\s*>\s$/, Bv = Ne.create({ addInputRules() { return [ Sr({ - find: Fv, + find: $v, type: this.type }) ]; } -}), Uv = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/, Hv = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g, Gv = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/, Vv = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g, Yv = ft.create({ +}), Wv = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/, Kv = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g, Qv = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/, Zv = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g, Xv = ft.create({ name: "bold", addOptions() { return { @@ -18308,11 +18314,11 @@ const Fv = /^\s*>\s$/, Bv = Ne.create({ addInputRules() { return [ Er({ - find: Uv, + find: Wv, type: this.type }), Er({ - find: Gv, + find: Qv, type: this.type }) ]; @@ -18320,16 +18326,16 @@ const Fv = /^\s*>\s$/, Bv = Ne.create({ addPasteRules() { return [ Vn({ - find: Hv, + find: Kv, type: this.type }), Vn({ - find: Vv, + find: Zv, type: this.type }) ]; } -}), zv = "listItem", xp = "textStyle", Dp = /^\s*([-+*])\s$/, $v = Ne.create({ +}), jv = "listItem", wp = "textStyle", Lp = /^\s*([-+*])\s$/, Jv = Ne.create({ name: "bulletList", addOptions() { return { @@ -18353,7 +18359,7 @@ const Fv = /^\s*>\s$/, Bv = Ne.create({ }, addCommands() { return { - toggleBulletList: () => ({ commands: t, chain: e }) => this.options.keepAttributes ? e().toggleList(this.name, this.options.itemTypeName, this.options.keepMarks).updateAttributes(zv, this.editor.getAttributes(xp)).run() : t.toggleList(this.name, this.options.itemTypeName, this.options.keepMarks) + toggleBulletList: () => ({ commands: t, chain: e }) => this.options.keepAttributes ? e().toggleList(this.name, this.options.itemTypeName, this.options.keepMarks).updateAttributes(jv, this.editor.getAttributes(wp)).run() : t.toggleList(this.name, this.options.itemTypeName, this.options.keepMarks) }; }, addKeyboardShortcuts() { @@ -18363,21 +18369,21 @@ const Fv = /^\s*>\s$/, Bv = Ne.create({ }, addInputRules() { let t = Sr({ - find: Dp, + find: Lp, type: this.type }); return (this.options.keepMarks || this.options.keepAttributes) && (t = Sr({ - find: Dp, + find: Lp, type: this.type, keepMarks: this.options.keepMarks, keepAttributes: this.options.keepAttributes, - getAttributes: () => this.editor.getAttributes(xp), + getAttributes: () => this.editor.getAttributes(wp), editor: this.editor })), [ t ]; } -}), qv = new RegExp("(?\s$/, Bv = Ne.create({ addInputRules() { return [ Er({ - find: qv, + find: eR, type: this.type }) ]; @@ -18418,12 +18424,12 @@ const Fv = /^\s*>\s$/, Bv = Ne.create({ addPasteRules() { return [ Vn({ - find: Wv, + find: tR, type: this.type }) ]; } -}), Qv = /^```([a-z]+)?[\s\n]$/, Zv = /^~~~([a-z]+)?[\s\n]$/, pg = Ne.create({ +}), rR = /^```([a-z]+)?[\s\n]$/, iR = /^~~~([a-z]+)?[\s\n]$/, hh = Ne.create({ name: "codeBlock", addOptions() { return { @@ -18513,15 +18519,15 @@ const Fv = /^\s*>\s$/, Bv = Ne.create({ }, addInputRules() { return [ - Ql({ - find: Qv, + Xl({ + find: rR, type: this.type, getAttributes: (t) => ({ language: t[1] }) }), - Ql({ - find: Zv, + Xl({ + find: iR, type: this.type, getAttributes: (t) => ({ language: t[1] @@ -18550,19 +18556,19 @@ const Fv = /^\s*>\s$/, Bv = Ne.create({ }) ]; } -}), Xv = Ne.create({ +}), oR = Ne.create({ name: "doc", topNode: !0, content: "block+" }); -function jv(t = {}) { +function aR(t = {}) { return new Se({ view(e) { - return new Jv(e, t); + return new sR(e, t); } }); } -class Jv { +class sR { constructor(e, n) { var r; this.editorView = e, this.cursorPos = null, this.element = null, this.timeout = -1, this.width = (r = n.width) !== null && r !== void 0 ? r : 1, this.color = n.color === !1 ? void 0 : n.color || "black", this.class = n.class, this.handlers = ["dragover", "dragend", "drop", "dragleave"].map((i) => { @@ -18618,7 +18624,7 @@ class Jv { if (n && !o) { let a = n.pos; if (this.editorView.dragging && this.editorView.dragging.slice) { - let s = Im(this.editorView.state.doc, a, this.editorView.dragging.slice); + let s = wm(this.editorView.state.doc, a, this.editorView.dragging.slice); s != null && (a = s); } this.setCursor(a), this.scheduleRemoval(5e3); @@ -18634,7 +18640,7 @@ class Jv { (e.target == this.editorView.dom || !this.editorView.dom.contains(e.relatedTarget)) && this.setCursor(null); } } -const eR = ge.create({ +const lR = he.create({ name: "dropCursor", addOptions() { return { @@ -18645,7 +18651,7 @@ const eR = ge.create({ }, addProseMirrorPlugins() { return [ - jv(this.options) + aR(this.options) ]; } }); @@ -18681,14 +18687,14 @@ class Me extends te { @internal */ getBookmark() { - return new tu(this.anchor); + return new iu(this.anchor); } /** @internal */ static valid(e) { let n = e.parent; - if (n.isTextblock || !tR(e) || !nR(e)) + if (n.isTextblock || !cR(e) || !uR(e)) return !1; let r = n.type.spec.allowGapCursor; if (r != null) @@ -18737,19 +18743,19 @@ class Me extends te { Me.prototype.visible = !1; Me.findFrom = Me.findGapCursorFrom; te.jsonID("gapcursor", Me); -class tu { +class iu { constructor(e) { this.pos = e; } map(e) { - return new tu(e.map(this.pos)); + return new iu(e.map(this.pos)); } resolve(e) { let n = e.resolve(this.pos); return Me.valid(n) ? new Me(n) : te.near(n); } } -function tR(t) { +function cR(t) { for (let e = t.depth; e >= 0; e--) { let n = t.index(e), r = t.node(e); if (n == 0) { @@ -18766,7 +18772,7 @@ function tR(t) { } return !0; } -function nR(t) { +function uR(t) { for (let e = t.depth; e >= 0; e--) { let n = t.indexAfter(e), r = t.node(e); if (n == r.childCount) { @@ -18783,26 +18789,26 @@ function nR(t) { } return !0; } -function rR() { +function dR() { return new Se({ props: { - decorations: sR, + decorations: fR, createSelectionBetween(t, e, n) { return e.pos == n.pos && Me.valid(n) ? new Me(n) : null; }, - handleClick: oR, - handleKeyDown: iR, - handleDOMEvents: { beforeinput: aR } + handleClick: _R, + handleKeyDown: pR, + handleDOMEvents: { beforeinput: mR } } }); } -const iR = wc({ - ArrowLeft: Lo("horiz", -1), - ArrowRight: Lo("horiz", 1), - ArrowUp: Lo("vert", -1), - ArrowDown: Lo("vert", 1) +const pR = Pc({ + ArrowLeft: Po("horiz", -1), + ArrowRight: Po("horiz", 1), + ArrowUp: Po("vert", -1), + ArrowDown: Po("vert", 1) }); -function Lo(t, e) { +function Po(t, e) { const n = t == "vert" ? e > 0 ? "down" : "up" : e > 0 ? "right" : "left"; return function(r, i, o) { let a = r.selection, s = e > 0 ? a.$to : a.$from, l = a.empty; @@ -18815,7 +18821,7 @@ function Lo(t, e) { return c ? (i && i(r.tr.setSelection(new Me(c))), !0) : !1; }; } -function oR(t, e, n) { +function _R(t, e, n) { if (!t || !t.editable) return !1; let r = t.state.doc.resolve(e); @@ -18824,7 +18830,7 @@ function oR(t, e, n) { let i = t.posAtCoords({ left: n.clientX, top: n.clientY }); return i && i.inside > -1 && ee.isSelectable(t.state.doc.nodeAt(i.inside)) ? !1 : (t.dispatch(t.state.tr.setSelection(new Me(r))), !0); } -function aR(t, e) { +function mR(t, e) { if (e.inputType != "insertCompositionText" || !(t.state.selection instanceof Me)) return !1; let { $from: n } = t.state.selection, r = n.parent.contentMatchAt(n.index()).findWrapping(t.state.schema.nodes.text); @@ -18836,17 +18842,17 @@ function aR(t, e) { let o = t.state.tr.replace(n.pos, n.pos, new H(i, 0, 0)); return o.setSelection(Z.near(o.doc.resolve(n.pos + 1))), t.dispatch(o), !1; } -function sR(t) { +function fR(t) { if (!(t.selection instanceof Me)) return null; let e = document.createElement("div"); return e.className = "ProseMirror-gapcursor", be.create(t.doc, [ke.widget(t.selection.head, e, { key: "gapcursor" })]); } -const lR = ge.create({ +const hR = he.create({ name: "gapCursor", addProseMirrorPlugins() { return [ - rR() + dR() ]; }, extendNodeSchema(t) { @@ -18860,7 +18866,7 @@ const lR = ge.create({ allowGapCursor: (e = le(W(t, "allowGapCursor", n))) !== null && e !== void 0 ? e : null }; } -}), cR = Ne.create({ +}), gR = Ne.create({ name: "hardBreak", addOptions() { return { @@ -18910,7 +18916,7 @@ const lR = ge.create({ "Shift-Enter": () => this.editor.commands.setHardBreak() }; } -}), _g = Ne.create({ +}), gh = Ne.create({ name: "heading", addOptions() { return { @@ -18951,7 +18957,7 @@ const lR = ge.create({ }), {}); }, addInputRules() { - return this.options.levels.map((t) => Ql({ + return this.options.levels.map((t) => Xl({ find: new RegExp(`^(#{1,${t}})\\s$`), type: this.type, getAttributes: { @@ -18960,16 +18966,16 @@ const lR = ge.create({ })); } }); -var Na = 200, $e = function() { +var Ia = 200, $e = function() { }; $e.prototype.append = function(e) { - return e.length ? (e = $e.from(e), !this.length && e || e.length < Na && this.leafAppend(e) || this.length < Na && e.leafPrepend(this) || this.appendInner(e)) : this; + return e.length ? (e = $e.from(e), !this.length && e || e.length < Ia && this.leafAppend(e) || this.length < Ia && e.leafPrepend(this) || this.appendInner(e)) : this; }; $e.prototype.prepend = function(e) { return e.length ? $e.from(e).append(this) : this; }; $e.prototype.appendInner = function(e) { - return new uR(this, e); + return new ER(this, e); }; $e.prototype.slice = function(e, n) { return e === void 0 && (e = 0), n === void 0 && (n = this.length), e >= n ? $e.empty : this.sliceInner(Math.max(0, e), Math.min(this.length, n)); @@ -18989,9 +18995,9 @@ $e.prototype.map = function(e, n, r) { }, n, r), i; }; $e.from = function(e) { - return e instanceof $e ? e : e && e.length ? new mg(e) : $e.empty; + return e instanceof $e ? e : e && e.length ? new Eh(e) : $e.empty; }; -var mg = /* @__PURE__ */ function(t) { +var Eh = /* @__PURE__ */ function(t) { function e(r) { t.call(this), this.values = r; } @@ -19012,10 +19018,10 @@ var mg = /* @__PURE__ */ function(t) { if (i(this.values[l], s + l) === !1) return !1; }, e.prototype.leafAppend = function(i) { - if (this.length + i.length <= Na) + if (this.length + i.length <= Ia) return new e(this.values.concat(i.flatten())); }, e.prototype.leafPrepend = function(i) { - if (this.length + i.length <= Na) + if (this.length + i.length <= Ia) return new e(i.flatten().concat(this.values)); }, n.length.get = function() { return this.values.length; @@ -19023,8 +19029,8 @@ var mg = /* @__PURE__ */ function(t) { return 0; }, Object.defineProperties(e.prototype, n), e; }($e); -$e.empty = new mg([]); -var uR = /* @__PURE__ */ function(t) { +$e.empty = new Eh([]); +var ER = /* @__PURE__ */ function(t) { function e(n, r) { t.call(this), this.left = n, this.right = r, this.length = n.length + r.length, this.depth = Math.max(n.depth, r.depth) + 1; } @@ -19057,7 +19063,7 @@ var uR = /* @__PURE__ */ function(t) { return this.left.depth >= Math.max(this.right.depth, r.depth) + 1 ? new e(this.left, new e(this.right, r)) : new e(this, r); }, e; }($e); -const dR = 500; +const SR = 500; class Ht { constructor(e, n) { this.items = e, this.eventCount = n; @@ -19099,7 +19105,7 @@ class Ht { (_ = l && l.merge(p)) && (p = _, u ? o.pop() : s = s.slice(0, s.length - 1)), o.push(p), n && (a++, n = void 0), i || (l = p); } let c = a - r.depth; - return c > _R && (s = pR(s, c), a -= c), new Ht(s.append(o), a); + return c > TR && (s = bR(s, c), a -= c), new Ht(s.append(o), a); } remapping(e, n) { let r = new Kr(); @@ -19130,8 +19136,8 @@ class Ht { a = Math.min(a, _); let m = o.maps[_]; if (p.step) { - let f = e.steps[_].invert(e.docs[_]), g = p.selection && p.selection.map(o.slice(l + 1, _)); - g && s++, r.push(new $t(m, f, g)); + let f = e.steps[_].invert(e.docs[_]), h = p.selection && p.selection.map(o.slice(l + 1, _)); + h && s++, r.push(new $t(m, f, h)); } else r.push(new $t(m)); }, i); @@ -19139,7 +19145,7 @@ class Ht { for (let p = n; p < a; p++) c.push(new $t(o.maps[p])); let u = this.items.slice(0, i).append(c).append(r), d = new Ht(u, s); - return d.emptyItemCount() > dR && (d = d.compress(this.items.length - r.length)), d; + return d.emptyItemCount() > SR && (d = d.compress(this.items.length - r.length)), d; } emptyItemCount() { let e = 0; @@ -19171,7 +19177,7 @@ class Ht { } } Ht.empty = new Ht($e.empty, 0); -function pR(t, e) { +function bR(t, e) { let n; return t.forEach((r, i) => { if (r.selection && e-- == 0) @@ -19195,23 +19201,23 @@ class yn { this.done = e, this.undone = n, this.prevRanges = r, this.prevTime = i, this.prevComposition = o; } } -const _R = 20; -function mR(t, e, n, r) { +const TR = 20; +function CR(t, e, n, r) { let i = n.getMeta(dr), o; if (i) return i.historyState; - n.getMeta(hR) && (t = new yn(t.done, t.undone, null, 0, -1)); + n.getMeta(RR) && (t = new yn(t.done, t.undone, null, 0, -1)); let a = n.getMeta("appendedTransaction"); if (n.steps.length == 0) return t; if (a && a.getMeta(dr)) - return a.getMeta(dr).redo ? new yn(t.done.addTransform(n, void 0, r, ta(e)), t.undone, Mp(n.mapping.maps), t.prevTime, t.prevComposition) : new yn(t.done, t.undone.addTransform(n, void 0, r, ta(e)), null, t.prevTime, t.prevComposition); + return a.getMeta(dr).redo ? new yn(t.done.addTransform(n, void 0, r, ra(e)), t.undone, kp(n.mapping.maps), t.prevTime, t.prevComposition) : new yn(t.done, t.undone.addTransform(n, void 0, r, ra(e)), null, t.prevTime, t.prevComposition); if (n.getMeta("addToHistory") !== !1 && !(a && a.getMeta("addToHistory") === !1)) { - let s = n.getMeta("composition"), l = t.prevTime == 0 || !a && t.prevComposition != s && (t.prevTime < (n.time || 0) - r.newGroupDelay || !fR(n, t.prevRanges)), c = a ? ol(t.prevRanges, n.mapping) : Mp(n.mapping.maps); - return new yn(t.done.addTransform(n, l ? e.selection.getBookmark() : void 0, r, ta(e)), Ht.empty, c, n.time, s ?? t.prevComposition); - } else return (o = n.getMeta("rebased")) ? new yn(t.done.rebased(n, o), t.undone.rebased(n, o), ol(t.prevRanges, n.mapping), t.prevTime, t.prevComposition) : new yn(t.done.addMaps(n.mapping.maps), t.undone.addMaps(n.mapping.maps), ol(t.prevRanges, n.mapping), t.prevTime, t.prevComposition); + let s = n.getMeta("composition"), l = t.prevTime == 0 || !a && t.prevComposition != s && (t.prevTime < (n.time || 0) - r.newGroupDelay || !yR(n, t.prevRanges)), c = a ? sl(t.prevRanges, n.mapping) : kp(n.mapping.maps); + return new yn(t.done.addTransform(n, l ? e.selection.getBookmark() : void 0, r, ra(e)), Ht.empty, c, n.time, s ?? t.prevComposition); + } else return (o = n.getMeta("rebased")) ? new yn(t.done.rebased(n, o), t.undone.rebased(n, o), sl(t.prevRanges, n.mapping), t.prevTime, t.prevComposition) : new yn(t.done.addMaps(n.mapping.maps), t.undone.addMaps(n.mapping.maps), sl(t.prevRanges, n.mapping), t.prevTime, t.prevComposition); } -function fR(t, e) { +function yR(t, e) { if (!e) return !1; if (!t.docChanged) @@ -19222,13 +19228,13 @@ function fR(t, e) { r <= e[o + 1] && i >= e[o] && (n = !0); }), n; } -function Mp(t) { +function kp(t) { let e = []; for (let n = t.length - 1; n >= 0 && e.length == 0; n--) t[n].forEach((r, i, o, a) => e.push(o, a)); return e; } -function ol(t, e) { +function sl(t, e) { if (!t) return null; let n = []; @@ -19238,28 +19244,28 @@ function ol(t, e) { } return n; } -function gR(t, e, n) { - let r = ta(e), i = dr.get(e).spec.config, o = (n ? t.undone : t.done).popEvent(e, r); +function vR(t, e, n) { + let r = ra(e), i = dr.get(e).spec.config, o = (n ? t.undone : t.done).popEvent(e, r); if (!o) return null; let a = o.selection.resolve(o.transform.doc), s = (n ? t.done : t.undone).addTransform(o.transform, e.selection.getBookmark(), i, r), l = new yn(n ? s : o.remaining, n ? o.remaining : s, null, 0, -1); return o.transform.setSelection(a).setMeta(dr, { redo: n, historyState: l }); } -let al = !1, wp = null; -function ta(t) { +let ll = !1, Pp = null; +function ra(t) { let e = t.plugins; - if (wp != e) { - al = !1, wp = e; + if (Pp != e) { + ll = !1, Pp = e; for (let n = 0; n < e.length; n++) if (e[n].spec.historyPreserveItems) { - al = !0; + ll = !0; break; } } - return al; + return ll; } -const dr = new ve("history"), hR = new ve("closeHistory"); -function ER(t = {}) { +const dr = new ve("history"), RR = new ve("closeHistory"); +function OR(t = {}) { return t = { depth: t.depth || 100, newGroupDelay: t.newGroupDelay || 500 @@ -19270,33 +19276,33 @@ function ER(t = {}) { return new yn(Ht.empty, Ht.empty, null, 0, -1); }, apply(e, n, r) { - return mR(n, r, e, t); + return CR(n, r, e, t); } }, config: t, props: { handleDOMEvents: { beforeinput(e, n) { - let r = n.inputType, i = r == "historyUndo" ? gg : r == "historyRedo" ? hg : null; + let r = n.inputType, i = r == "historyUndo" ? bh : r == "historyRedo" ? Th : null; return i ? (n.preventDefault(), i(e.state, e.dispatch)) : !1; } } } }); } -function fg(t, e) { +function Sh(t, e) { return (n, r) => { let i = dr.getState(n); if (!i || (t ? i.undone : i.done).eventCount == 0) return !1; if (r) { - let o = gR(i, n, t); + let o = vR(i, n, t); o && r(e ? o.scrollIntoView() : o); } return !0; }; } -const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({ +const bh = Sh(!1, !0), Th = Sh(!0, !0), NR = he.create({ name: "history", addOptions() { return { @@ -19306,13 +19312,13 @@ const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({ }, addCommands() { return { - undo: () => ({ state: t, dispatch: e }) => gg(t, e), - redo: () => ({ state: t, dispatch: e }) => hg(t, e) + undo: () => ({ state: t, dispatch: e }) => bh(t, e), + redo: () => ({ state: t, dispatch: e }) => Th(t, e) }; }, addProseMirrorPlugins() { return [ - ER(this.options) + OR(this.options) ]; }, addKeyboardShortcuts() { @@ -19325,7 +19331,7 @@ const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({ "Shift-Mod-я": () => this.editor.commands.redo() }; } -}), bR = Ne.create({ +}), AR = Ne.create({ name: "horizontalRule", addOptions() { return { @@ -19348,7 +19354,7 @@ const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({ to: i.pos }, { type: this.name - }) : wf(n) ? o.insertContentAt(i.pos, { + }) : Ff(n) ? o.insertContentAt(i.pos, { type: this.name }) : o.insertContent({ type: this.name }), o.command(({ tr: a, dispatch: s }) => { var l; @@ -19369,13 +19375,13 @@ const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({ }, addInputRules() { return [ - Yc({ + qc({ find: /^(?:---|—-|___\s|\*\*\*\s)$/, type: this.type }) ]; } -}), TR = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/, CR = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g, yR = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/, vR = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g, RR = ft.create({ +}), IR = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/, xR = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g, DR = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/, MR = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g, wR = ft.create({ name: "italic", addOptions() { return { @@ -19419,11 +19425,11 @@ const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({ addInputRules() { return [ Er({ - find: TR, + find: IR, type: this.type }), Er({ - find: yR, + find: DR, type: this.type }) ]; @@ -19431,16 +19437,16 @@ const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({ addPasteRules() { return [ Vn({ - find: CR, + find: xR, type: this.type }), Vn({ - find: vR, + find: MR, type: this.type }) ]; } -}), OR = Ne.create({ +}), LR = Ne.create({ name: "listItem", addOptions() { return { @@ -19468,7 +19474,7 @@ const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({ "Shift-Tab": () => this.editor.commands.liftListItem(this.name) }; } -}), NR = "listItem", Lp = "textStyle", kp = /^(\d+)\.\s$/, AR = Ne.create({ +}), kR = "listItem", Fp = "textStyle", Bp = /^(\d+)\.\s$/, PR = Ne.create({ name: "orderedList", addOptions() { return { @@ -19507,7 +19513,7 @@ const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({ }, addCommands() { return { - toggleOrderedList: () => ({ commands: t, chain: e }) => this.options.keepAttributes ? e().toggleList(this.name, this.options.itemTypeName, this.options.keepMarks).updateAttributes(NR, this.editor.getAttributes(Lp)).run() : t.toggleList(this.name, this.options.itemTypeName, this.options.keepMarks) + toggleOrderedList: () => ({ commands: t, chain: e }) => this.options.keepAttributes ? e().toggleList(this.name, this.options.itemTypeName, this.options.keepMarks).updateAttributes(kR, this.editor.getAttributes(Fp)).run() : t.toggleList(this.name, this.options.itemTypeName, this.options.keepMarks) }; }, addKeyboardShortcuts() { @@ -19517,24 +19523,24 @@ const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({ }, addInputRules() { let t = Sr({ - find: kp, + find: Bp, type: this.type, getAttributes: (e) => ({ start: +e[1] }), joinPredicate: (e, n) => n.childCount + n.attrs.start === +e[1] }); return (this.options.keepMarks || this.options.keepAttributes) && (t = Sr({ - find: kp, + find: Bp, type: this.type, keepMarks: this.options.keepMarks, keepAttributes: this.options.keepAttributes, - getAttributes: (e) => ({ start: +e[1], ...this.editor.getAttributes(Lp) }), + getAttributes: (e) => ({ start: +e[1], ...this.editor.getAttributes(Fp) }), joinPredicate: (e, n) => n.childCount + n.attrs.start === +e[1], editor: this.editor })), [ t ]; } -}), IR = Ne.create({ +}), FR = Ne.create({ name: "paragraph", priority: 1e3, addOptions() { @@ -19562,7 +19568,7 @@ const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({ "Mod-Alt-0": () => this.editor.commands.setParagraph() }; } -}), xR = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/, DR = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g, MR = ft.create({ +}), BR = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/, UR = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g, HR = ft.create({ name: "strike", addOptions() { return { @@ -19605,7 +19611,7 @@ const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({ addInputRules() { return [ Er({ - find: xR, + find: BR, type: this.type }) ]; @@ -19613,22 +19619,22 @@ const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({ addPasteRules() { return [ Vn({ - find: DR, + find: UR, type: this.type }) ]; } -}), wR = Ne.create({ +}), GR = Ne.create({ name: "text", group: "inline" -}), LR = ge.create({ +}), VR = he.create({ name: "starterKit", addExtensions() { - var t, e, n, r, i, o, a, s, l, c, u, d, p, _, m, f, g, E; + var t, e, n, r, i, o, a, s, l, c, u, d, p, _, m, f, h, E; const S = []; - return this.options.bold !== !1 && S.push(Yv.configure((t = this.options) === null || t === void 0 ? void 0 : t.bold)), this.options.blockquote !== !1 && S.push(Bv.configure((e = this.options) === null || e === void 0 ? void 0 : e.blockquote)), this.options.bulletList !== !1 && S.push($v.configure((n = this.options) === null || n === void 0 ? void 0 : n.bulletList)), this.options.code !== !1 && S.push(Kv.configure((r = this.options) === null || r === void 0 ? void 0 : r.code)), this.options.codeBlock !== !1 && S.push(pg.configure((i = this.options) === null || i === void 0 ? void 0 : i.codeBlock)), this.options.document !== !1 && S.push(Xv.configure((o = this.options) === null || o === void 0 ? void 0 : o.document)), this.options.dropcursor !== !1 && S.push(eR.configure((a = this.options) === null || a === void 0 ? void 0 : a.dropcursor)), this.options.gapcursor !== !1 && S.push(lR.configure((s = this.options) === null || s === void 0 ? void 0 : s.gapcursor)), this.options.hardBreak !== !1 && S.push(cR.configure((l = this.options) === null || l === void 0 ? void 0 : l.hardBreak)), this.options.heading !== !1 && S.push(_g.configure((c = this.options) === null || c === void 0 ? void 0 : c.heading)), this.options.history !== !1 && S.push(SR.configure((u = this.options) === null || u === void 0 ? void 0 : u.history)), this.options.horizontalRule !== !1 && S.push(bR.configure((d = this.options) === null || d === void 0 ? void 0 : d.horizontalRule)), this.options.italic !== !1 && S.push(RR.configure((p = this.options) === null || p === void 0 ? void 0 : p.italic)), this.options.listItem !== !1 && S.push(OR.configure((_ = this.options) === null || _ === void 0 ? void 0 : _.listItem)), this.options.orderedList !== !1 && S.push(AR.configure((m = this.options) === null || m === void 0 ? void 0 : m.orderedList)), this.options.paragraph !== !1 && S.push(IR.configure((f = this.options) === null || f === void 0 ? void 0 : f.paragraph)), this.options.strike !== !1 && S.push(MR.configure((g = this.options) === null || g === void 0 ? void 0 : g.strike)), this.options.text !== !1 && S.push(wR.configure((E = this.options) === null || E === void 0 ? void 0 : E.text)), S; + return this.options.bold !== !1 && S.push(Xv.configure((t = this.options) === null || t === void 0 ? void 0 : t.bold)), this.options.blockquote !== !1 && S.push(qv.configure((e = this.options) === null || e === void 0 ? void 0 : e.blockquote)), this.options.bulletList !== !1 && S.push(Jv.configure((n = this.options) === null || n === void 0 ? void 0 : n.bulletList)), this.options.code !== !1 && S.push(nR.configure((r = this.options) === null || r === void 0 ? void 0 : r.code)), this.options.codeBlock !== !1 && S.push(hh.configure((i = this.options) === null || i === void 0 ? void 0 : i.codeBlock)), this.options.document !== !1 && S.push(oR.configure((o = this.options) === null || o === void 0 ? void 0 : o.document)), this.options.dropcursor !== !1 && S.push(lR.configure((a = this.options) === null || a === void 0 ? void 0 : a.dropcursor)), this.options.gapcursor !== !1 && S.push(hR.configure((s = this.options) === null || s === void 0 ? void 0 : s.gapcursor)), this.options.hardBreak !== !1 && S.push(gR.configure((l = this.options) === null || l === void 0 ? void 0 : l.hardBreak)), this.options.heading !== !1 && S.push(gh.configure((c = this.options) === null || c === void 0 ? void 0 : c.heading)), this.options.history !== !1 && S.push(NR.configure((u = this.options) === null || u === void 0 ? void 0 : u.history)), this.options.horizontalRule !== !1 && S.push(AR.configure((d = this.options) === null || d === void 0 ? void 0 : d.horizontalRule)), this.options.italic !== !1 && S.push(wR.configure((p = this.options) === null || p === void 0 ? void 0 : p.italic)), this.options.listItem !== !1 && S.push(LR.configure((_ = this.options) === null || _ === void 0 ? void 0 : _.listItem)), this.options.orderedList !== !1 && S.push(PR.configure((m = this.options) === null || m === void 0 ? void 0 : m.orderedList)), this.options.paragraph !== !1 && S.push(FR.configure((f = this.options) === null || f === void 0 ? void 0 : f.paragraph)), this.options.strike !== !1 && S.push(HR.configure((h = this.options) === null || h === void 0 ? void 0 : h.strike)), this.options.text !== !1 && S.push(GR.configure((E = this.options) === null || E === void 0 ? void 0 : E.text)), S; } -}), kR = ft.create({ +}), YR = ft.create({ name: "underline", addOptions() { return { @@ -19663,7 +19669,7 @@ const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({ "Mod-U": () => this.editor.commands.toggleUnderline() }; } -}), PR = ft.create({ +}), zR = ft.create({ name: "textStyle", priority: 101, addOptions() { @@ -19685,12 +19691,12 @@ const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({ addCommands() { return { removeEmptyTextStyle: () => ({ state: t, commands: e }) => { - const n = Gc(t, this.type); + const n = zc(t, this.type); return Object.entries(n).some(([, i]) => !!i) ? !0 : e.unsetMark(this.name); } }; } -}), FR = ge.create({ +}), $R = he.create({ name: "fontFamily", addOptions() { return { @@ -19719,18 +19725,18 @@ const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({ unsetFontFamily: () => ({ chain: t }) => t().setMark("textStyle", { fontFamily: null }).removeEmptyTextStyle().run() }; } -}), Eg = (t) => { +}), Ch = (t) => { const e = document.createElement("div"); return e.classList.add("aie-loader-placeholder"), e.innerHTML = ` `, ke.widget(t.pos, e, { id: t.id }); -}, BR = (t) => { +}, qR = (t) => { const e = document.createElement("div"); return e.classList.add("aie-loader-placeholder"), e.style.height = "20px", e.style.display = "inline-block", e.innerHTML = ` ${t.text} `, ke.widget(t.pos, e, { id: t.id }); -}, UR = (t, e, n, r) => { +}, WR = (t, e, n, r) => { const i = new FormData(); return i.append(r, t), new Promise((o, a) => { fetch(e, { @@ -19743,12 +19749,12 @@ const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({ a(s); }); }); -}, HR = (t, e, n, r) => { +}, KR = (t, e, n, r) => { let i = new FileReader(); return new Promise((o, a) => { i.onload = () => o({ errorCode: 0, data: { src: i.result, href: t.name } }), i.onerror = () => a(i.error), setTimeout(() => i.readAsDataURL(t), 5e3 * Math.random()); }); -}, nu = (t) => t ? UR : HR, Pp = new ve("aie-attachment-plugin"), Ci = "attachment_action", GR = ge.create({ +}, ou = (t) => t ? WR : KR, Up = new ve("aie-attachment-plugin"), yi = "attachment_action", QR = he.create({ name: "attachment", addOptions() { return { @@ -19763,14 +19769,14 @@ const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({ const e = typeof this.options.uploadHeaders == "object" ? this.options.uploadHeaders : typeof this.options.uploadHeaders == "function" ? this.options.uploadHeaders() : {}; if (this.options.uploaderEvent && this.options.uploaderEvent.onUploadBefore && this.options.uploaderEvent.onUploadBefore(t, this.options.uploadUrl, e) === !1) return !1; - const n = Ss(), { state: { tr: r }, view: i, schema: o } = this.editor; - r.selection.empty || r.deleteSelection(), i.dispatch(r.setMeta(Ci, { + const n = Ts(), { state: { tr: r }, view: i, schema: o } = this.editor; + r.selection.empty || r.deleteSelection(), i.dispatch(r.setMeta(yi, { type: "add", id: n, pos: r.selection.from, text: t.name })); - const a = this.options.uploader || nu(this.options.uploadUrl), s = this.options.uploadFormName || "attachment"; + const a = this.options.uploader || ou(this.options.uploadUrl), s = this.options.uploadFormName || "attachment"; return a(t, this.options.uploadUrl, e, s).then((l) => { var c; if ((c = this.options.uploaderEvent) != null && c.onSuccess) { @@ -19780,17 +19786,17 @@ const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({ typeof u == "object" && (l = u); } if (l.errorCode === 0 && l.data && l.data.href) { - let d = Pp.getState(this.editor.state).find(void 0, void 0, (_) => _.id == n); + let d = Up.getState(this.editor.state).find(void 0, void 0, (_) => _.id == n); const p = l.data.fileName || t.name; i.dispatch(i.state.tr.insertText(` ${p} `, d[0].from).addMark(d[0].from + 1, p.length + d[0].from + 1, o.marks.link.create({ href: l.data.href, target: "_blank" - })).setMeta(Ci, { type: "remove", id: n })); + })).setMeta(yi, { type: "remove", id: n })); } else - i.dispatch(r.setMeta(Ci, { type: "remove", id: n })), this.options.uploaderEvent && this.options.uploaderEvent.onFailed && this.options.uploaderEvent.onFailed(t, l); + i.dispatch(r.setMeta(yi, { type: "remove", id: n })), this.options.uploaderEvent && this.options.uploaderEvent.onFailed && this.options.uploaderEvent.onFailed(t, l); }).catch((l) => { const { state: { tr: c }, view: u } = this.editor; - u.dispatch(c.setMeta(Ci, { type: "remove", id: n })), this.options.uploaderEvent && this.options.uploaderEvent.onError && this.options.uploaderEvent.onError(t, l); + u.dispatch(c.setMeta(yi, { type: "remove", id: n })), this.options.uploaderEvent && this.options.uploaderEvent.onError && this.options.uploaderEvent.onError(t, l); }), !0; } }; @@ -19799,12 +19805,12 @@ const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({ const t = this.editor; return [ new Se({ - key: Pp, + key: Up, state: { init: () => be.empty, apply: (e, n) => { - const r = e.getMeta(Ci); - return n = n.map(e.mapping, e.doc), r && r.type === "add" ? n = n.add(e.doc, [BR(r)]) : r && r.type === "remove" && (n = n.remove(n.find( + const r = e.getMeta(yi); + return n = n.map(e.mapping, e.doc), r && r.type === "add" ? n = n.add(e.doc, [qR(r)]) : r && r.type === "remove" && (n = n.remove(n.find( void 0, void 0, (i) => i.id == r.id @@ -19828,7 +19834,7 @@ const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({ }) ]; } -}), VR = ge.create({ +}), ZR = he.create({ name: "painter", addCommands() { return { @@ -19867,7 +19873,7 @@ const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({ }) ]; } -}), YR = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))$/, zR = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))/g, $R = ft.create({ +}), XR = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))$/, jR = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))/g, JR = ft.create({ name: "highlight", addOptions() { return { @@ -19912,7 +19918,7 @@ const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({ addInputRules() { return [ Er({ - find: YR, + find: XR, type: this.type }) ]; @@ -19920,12 +19926,12 @@ const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({ addPasteRules() { return [ Vn({ - find: zR, + find: jR, type: this.type }) ]; } -}), qR = ge.create({ +}), eO = he.create({ name: "color", addOptions() { return { @@ -19957,7 +19963,7 @@ const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({ unsetColor: () => ({ chain: t }) => t().setMark("textStyle", { color: null }).removeEmptyTextStyle().run() }; } -}), WR = ge.create({ +}), tO = he.create({ name: "fontSize", addOptions() { return { @@ -19989,7 +19995,7 @@ const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({ unsetFontSize: () => ({ chain: t }) => t().setMark("textStyle", { fontSize: null }).removeEmptyTextStyle().run() }; } -}), KR = ge.create({ +}), nO = he.create({ name: "lineHeight", addOptions() { return { @@ -20021,7 +20027,7 @@ const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({ ) }; } -}), QR = ge.create({ +}), rO = he.create({ name: "textAlign", addOptions() { return { @@ -20061,7 +20067,7 @@ const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({ "Mod-Shift-j": () => this.editor.commands.setTextAlign("justify") }; } -}), ZR = ge.create({ +}), iO = he.create({ name: "indent", // Fix tab key conflict with ordered lists priority: 99, @@ -20126,7 +20132,7 @@ const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({ "Shift-Tab": () => this.editor.commands.outdent() }; } -}), XR = /(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/, jR = Ne.create({ +}), oO = /(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/, aO = Ne.create({ name: "image", addOptions() { return { @@ -20175,8 +20181,8 @@ const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({ }, addInputRules() { return [ - Yc({ - find: XR, + qc({ + find: oO, type: this.type, getAttributes: (t) => { const [, , e, n, r] = t; @@ -20185,7 +20191,7 @@ const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({ }) ]; } -}), Sg = (t, e, n) => { +}), yh = (t, e, n) => { const r = t.querySelector(".resize-obj"), i = 10; let o, a, s, l; const c = (p) => { @@ -20203,7 +20209,7 @@ const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({ }; for (let p of t.querySelector(".aie-resize").children) p.addEventListener("mousedown", c); -}, JR = (t) => typeof t == "number" || !isNaN(+t) ? `${t}px` : t, Fp = new ve("aie-image-plugin"), yi = "image_action", eO = jR.extend( +}, sO = (t) => typeof t == "number" || !isNaN(+t) ? `${t}px` : t, Hp = new ve("aie-image-plugin"), vi = "image_action", lO = aO.extend( { name: "image", draggable: !0, @@ -20287,13 +20293,13 @@ const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({ const n = typeof this.options.uploadHeaders == "object" ? this.options.uploadHeaders : typeof this.options.uploadHeaders == "function" ? this.options.uploadHeaders() : {}; if (this.options.uploaderEvent && this.options.uploaderEvent.onUploadBefore && this.options.uploaderEvent.onUploadBefore(e, this.options.uploadUrl, n) === !1) return !1; - const r = Ss(), { state: { tr: i }, view: o, schema: a } = this.editor; - i.selection.empty || i.deleteSelection(), o.dispatch(i.setMeta(yi, { + const r = Ts(), { state: { tr: i }, view: o, schema: a } = this.editor; + i.selection.empty || i.deleteSelection(), o.dispatch(i.setMeta(vi, { type: "add", id: r, pos: i.selection.from })); - const s = this.options.uploader || nu(this.options.uploadUrl), l = this.options.uploadFormName || "image"; + const s = this.options.uploader || ou(this.options.uploadUrl), l = this.options.uploadFormName || "image"; return s(e, this.options.uploadUrl, n, l).then((c) => { var u; if ((u = this.options.uploaderEvent) != null && u.onSuccess) { @@ -20303,7 +20309,7 @@ const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({ typeof d == "object" && (c = d); } if (c.errorCode === 0 && c.data && c.data.src) { - let p = Fp.getState(this.editor.state).find(void 0, void 0, (_) => _.id == r); + let p = Hp.getState(this.editor.state).find(void 0, void 0, (_) => _.id == r); o.dispatch(o.state.tr.insert(p[0].from, a.nodes.image.create({ src: c.data.src, alt: c.data.alt, @@ -20313,19 +20319,19 @@ const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({ "data-src": c.data["data-src"], loading: c.data.loading, class: c.data.class - })).setMeta(yi, { type: "remove", id: r })); + })).setMeta(vi, { type: "remove", id: r })); } else - o.dispatch(i.setMeta(yi, { type: "remove", id: r })), this.options.uploaderEvent && this.options.uploaderEvent.onFailed && this.options.uploaderEvent.onFailed(e, c); + o.dispatch(i.setMeta(vi, { type: "remove", id: r })), this.options.uploaderEvent && this.options.uploaderEvent.onFailed && this.options.uploaderEvent.onFailed(e, c); }).catch((c) => { const { state: { tr: u }, view: d } = this.editor; - d.dispatch(u.setMeta(yi, { type: "remove", id: r })), this.options.uploaderEvent && this.options.uploaderEvent.onError && this.options.uploaderEvent.onError(e, c); + d.dispatch(u.setMeta(vi, { type: "remove", id: r })), this.options.uploaderEvent && this.options.uploaderEvent.onError && this.options.uploaderEvent.onError(e, c); }), !0; } }; }, addNodeView() { return (t) => { - const e = document.createElement("div"), { src: n, width: r, height: i, align: o, alt: a } = t.node.attrs, s = JR(r || 350), l = s.indexOf("%") > 0 ? `style="width: ${s};"` : "", c = s.indexOf("%") > 0 ? "calc(100% - 2px)" : s; + const e = document.createElement("div"), { src: n, width: r, height: i, align: o, alt: a } = t.node.attrs, s = sO(r || 350), l = s.indexOf("%") > 0 ? `style="width: ${s};"` : "", c = s.indexOf("%") > 0 ? "calc(100% - 2px)" : s; return e.classList.add(`align-${o}`), this.editor.isEditable ? (e.innerHTML = `
@@ -20336,7 +20342,7 @@ const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({
${a}
- `, Sg(e, this.editor.view.dom, (u) => this.editor.commands.updateAttributes("image", u)), { + `, yh(e, this.editor.view.dom, (u) => this.editor.commands.updateAttributes("image", u)), { dom: e }) : (e.innerHTML = `
${a} @@ -20349,11 +20355,11 @@ const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({ const t = this.editor; return [ new Se({ - key: Fp, + key: Hp, state: { init: () => be.empty, apply: (e, n) => { - const r = e.getMeta(yi); + const r = e.getMeta(vi); if (r) { let i = !1; const o = n.map(e.mapping, e.doc, { @@ -20361,7 +20367,7 @@ const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({ i = !0; } }); - i || (n = o), r.type === "add" ? n = n.add(e.doc, [Eg(r)]) : r.type === "remove" && (n = n.remove(n.find( + i || (n = o), r.type === "add" ? n = n.add(e.doc, [Ch(r)]) : r.type === "remove" && (n = n.remove(n.find( void 0, void 0, (a) => a.id == r.id @@ -20415,18 +20421,18 @@ const gg = fg(!1, !0), hg = fg(!0, !0), SR = ge.create({ } } ); -var rc, ic; +var oc, ac; if (typeof WeakMap < "u") { let t = /* @__PURE__ */ new WeakMap(); - rc = (e) => t.get(e), ic = (e, n) => (t.set(e, n), n); + oc = (e) => t.get(e), ac = (e, n) => (t.set(e, n), n); } else { const t = []; let n = 0; - rc = (r) => { + oc = (r) => { for (let i = 0; i < t.length; i += 2) if (t[i] == r) return t[i + 1]; - }, ic = (r, i) => (n == 10 && (n = 0), t[n++] = r, t[n++] = i); + }, ac = (r, i) => (n == 10 && (n = 0), t[n++] = r, t[n++] = i); } var Ie = class { constructor(t, e, n, r) { @@ -20509,13 +20515,13 @@ var Ie = class { } // Find the table map for the given table node. static get(t) { - return rc(t) || ic(t, tO(t)); + return oc(t) || ac(t, cO(t)); } }; -function tO(t) { +function cO(t) { if (t.type.spec.tableRole != "table") throw new RangeError("Not a table node: " + t.type.name); - const e = nO(t), n = t.childCount, r = []; + const e = uO(t), n = t.childCount, r = []; let i = 0, o = null; const a = []; for (let c = 0, u = e * n; c < u; c++) @@ -20528,7 +20534,7 @@ function tO(t) { i++; if (m == d.childCount) break; - const f = d.child(m), { colspan: g, rowspan: E, colwidth: S } = f.attrs; + const f = d.child(m), { colspan: h, rowspan: E, colwidth: S } = f.attrs; for (let b = 0; b < E; b++) { if (b + c >= n) { (o || (o = [])).push({ @@ -20538,22 +20544,22 @@ function tO(t) { }); break; } - const h = i + b * e; - for (let C = 0; C < g; C++) { - r[h + C] == 0 ? r[h + C] = u : (o || (o = [])).push({ + const g = i + b * e; + for (let C = 0; C < h; C++) { + r[g + C] == 0 ? r[g + C] = u : (o || (o = [])).push({ type: "collision", row: c, pos: u, - n: g - C + n: h - C }); const T = S && S[C]; if (T) { - const R = (h + C) % e * 2, x = a[R]; + const R = (g + C) % e * 2, x = a[R]; x == null || x != T && a[R + 1] == 1 ? (a[R] = T, a[R + 1] = 1) : x == T && a[R + 1]++; } } } - i += g, u += f.nodeSize; + i += h, u += f.nodeSize; } const p = (c + 1) * e; let _ = 0; @@ -20565,9 +20571,9 @@ function tO(t) { let l = !1; for (let c = 0; !l && c < a.length; c += 2) a[c] != null && a[c + 1] < n && (l = !0); - return l && rO(s, a, t), s; + return l && dO(s, a, t), s; } -function nO(t) { +function uO(t) { let e = -1, n = !1; for (let r = 0; r < t.childCount; r++) { const i = t.child(r); @@ -20588,7 +20594,7 @@ function nO(t) { } return e; } -function rO(t, e, n) { +function dO(t, e, n) { t.problems || (t.problems = []); const r = {}; for (let i = 0; i < t.map.length; i++) { @@ -20603,7 +20609,7 @@ function rO(t, e, n) { const l = a.attrs; for (let c = 0; c < l.colspan; c++) { const u = (i + c) % t.width, d = e[u * 2]; - d != null && (!l.colwidth || l.colwidth[c] != d) && ((s || (s = iO(l)))[c] = d); + d != null && (!l.colwidth || l.colwidth[c] != d) && ((s || (s = pO(l)))[c] = d); } s && t.problems.unshift({ type: "colwidth mismatch", @@ -20612,7 +20618,7 @@ function rO(t, e, n) { }); } } -function iO(t) { +function pO(t) { if (t.colwidth) return t.colwidth.slice(); const e = []; @@ -20632,13 +20638,13 @@ function it(t) { return e; } var Nn = new ve("selectingCells"); -function fi(t) { +function hi(t) { for (let e = t.depth - 1; e > 0; e--) if (t.node(e).type.spec.tableRole == "row") return t.node(0).resolve(t.before(e + 1)); return null; } -function oO(t) { +function _O(t) { for (let e = t.depth; e > 0; e--) { const n = t.node(e).type.spec.tableRole; if (n === "cell" || n === "header_cell") @@ -20653,18 +20659,18 @@ function Vt(t) { return !0; return !1; } -function bs(t) { +function Cs(t) { const e = t.selection; if ("$anchorCell" in e && e.$anchorCell) return e.$anchorCell.pos > e.$headCell.pos ? e.$anchorCell : e.$headCell; if ("node" in e && e.node && e.node.type.spec.tableRole == "cell") return e.$anchor; - const n = fi(e.$head) || aO(e.$head); + const n = hi(e.$head) || mO(e.$head); if (n) return n; throw new RangeError(`No cell found around position ${e.head}`); } -function aO(t) { +function mO(t) { for (let e = t.nodeAfter, n = t.pos; e; e = e.firstChild, n++) { const r = e.type.spec.tableRole; if (r == "cell" || r == "header_cell") @@ -20676,16 +20682,16 @@ function aO(t) { return t.doc.resolve(n - e.nodeSize); } } -function oc(t) { +function sc(t) { return t.parent.type.spec.tableRole == "row" && !!t.nodeAfter; } -function sO(t) { +function fO(t) { return t.node(0).resolve(t.pos + t.nodeAfter.nodeSize); } -function ru(t, e) { +function au(t, e) { return t.depth == e.depth && t.pos >= e.start(-1) && t.pos <= e.end(-1); } -function bg(t, e, n) { +function vh(t, e, n) { const r = t.node(-1), i = Ie.get(r), o = t.start(-1), a = i.nextCell(t.pos - o, e, n); return a == null ? null : t.node(0).resolve(o + a); } @@ -20693,7 +20699,7 @@ function Tr(t, e, n = 1) { const r = { ...t, colspan: t.colspan - n }; return r.colwidth && (r.colwidth = r.colwidth.slice(), r.colwidth.splice(e, n), r.colwidth.some((i) => i > 0) || (r.colwidth = null)), r; } -function Tg(t, e, n = 1) { +function Rh(t, e, n = 1) { const r = { ...t, colspan: t.colspan + n }; if (r.colwidth) { r.colwidth = r.colwidth.slice(); @@ -20702,7 +20708,7 @@ function Tg(t, e, n = 1) { } return r; } -function lO(t, e, n) { +function hO(t, e, n) { const r = it(e.type.schema).header_cell; for (let i = 0; i < t.height; i++) if (e.nodeAt(t.map[n + i * t.width]).type != r) @@ -20725,7 +20731,7 @@ var Te = class cn extends te { if (!d) throw RangeError(`No cell with offset ${u} found`); const p = o + u + 1; - return new Lm( + return new Bm( s.resolve(p), s.resolve(p + d.content.size) ); @@ -20734,7 +20740,7 @@ var Te = class cn extends te { } map(e, n) { const r = e.resolve(n.map(this.$anchorCell.pos)), i = e.resolve(n.map(this.$headCell.pos)); - if (oc(r) && oc(i) && ru(r, i)) { + if (sc(r) && sc(i) && au(r, i)) { const o = this.$anchorCell.node(-1) != r.node(-1); return o && this.isRowSelection() ? cn.rowSelection(r, i) : o && this.isColSelection() ? cn.colSelection(r, i) : new cn(r, i); } @@ -20758,13 +20764,13 @@ var Te = class cn extends te { let m = e.nodeAt(p); if (!m) throw RangeError(`No cell with offset ${p} found`); - const f = i.left - _.left, g = _.right - i.right; - if (f > 0 || g > 0) { + const f = i.left - _.left, h = _.right - i.right; + if (f > 0 || h > 0) { let E = m.attrs; - if (f > 0 && (E = Tr(E, 0, f)), g > 0 && (E = Tr( + if (f > 0 && (E = Tr(E, 0, f)), h > 0 && (E = Tr( E, - E.colspan - g, - g + E.colspan - h, + h )), _.left < i.left) { if (m = m.type.createAndFill(E), !m) throw RangeError( @@ -20873,24 +20879,24 @@ var Te = class cn extends te { return new cn(e.resolve(n), e.resolve(r)); } getBookmark() { - return new cO(this.$anchorCell.pos, this.$headCell.pos); + return new gO(this.$anchorCell.pos, this.$headCell.pos); } }; Te.prototype.visible = !1; te.jsonID("cell", Te); -var cO = class Cg { +var gO = class Oh { constructor(e, n) { this.anchor = e, this.head = n; } map(e) { - return new Cg(e.map(this.anchor), e.map(this.head)); + return new Oh(e.map(this.anchor), e.map(this.head)); } resolve(e) { const n = e.resolve(this.anchor), r = e.resolve(this.head); - return n.parent.type.spec.tableRole == "row" && r.parent.type.spec.tableRole == "row" && n.index() < n.parent.childCount && r.index() < r.parent.childCount && ru(n, r) ? new Te(n, r) : te.near(r, 1); + return n.parent.type.spec.tableRole == "row" && r.parent.type.spec.tableRole == "row" && n.index() < n.parent.childCount && r.index() < r.parent.childCount && au(n, r) ? new Te(n, r) : te.near(r, 1); } }; -function uO(t) { +function EO(t) { if (!(t.selection instanceof Te)) return null; const e = []; @@ -20900,7 +20906,7 @@ function uO(t) { ); }), be.create(t.doc, e); } -function dO({ $from: t, $to: e }) { +function SO({ $from: t, $to: e }) { if (t.pos == e.pos || t.pos < e.pos - 6) return !1; let n = t.pos, r = e.pos, i = t.depth; @@ -20910,7 +20916,7 @@ function dO({ $from: t, $to: e }) { ; return n == r && /row|table/.test(t.node(i).type.spec.tableRole); } -function pO({ $from: t, $to: e }) { +function bO({ $from: t, $to: e }) { let n, r; for (let i = t.depth; i > 0; i--) { const o = t.node(i); @@ -20928,7 +20934,7 @@ function pO({ $from: t, $to: e }) { } return n !== r && e.parentOffset === 0; } -function _O(t, e, n) { +function TO(t, e, n) { const r = (e || t).selection, i = (e || t).doc; let o, a; if (r instanceof ee && (a = r.node.type.spec.tableRole)) { @@ -20941,11 +20947,11 @@ function _O(t, e, n) { const s = Ie.get(r.node), l = r.from + 1, c = l + s.map[s.width * s.height - 1]; o = Te.create(i, l + 1, c); } - } else r instanceof Z && dO(r) ? o = Z.create(i, r.from) : r instanceof Z && pO(r) && (o = Z.create(i, r.$from.start(), r.$from.end())); + } else r instanceof Z && SO(r) ? o = Z.create(i, r.from) : r instanceof Z && bO(r) && (o = Z.create(i, r.$from.start(), r.$from.end())); return o && (e || (e = t.tr)).setSelection(o), e; } -var mO = new ve("fix-tables"); -function yg(t, e, n, r) { +var CO = new ve("fix-tables"); +function Nh(t, e, n, r) { const i = t.childCount, o = e.childCount; e: for (let a = 0, s = 0; a < o; a++) { @@ -20955,17 +20961,17 @@ function yg(t, e, n, r) { s = c + 1, n += l.nodeSize; continue e; } - r(l, n), s < i && t.child(s).sameMarkup(l) ? yg(t.child(s), l, n + 1, r) : l.nodesBetween(0, l.content.size, r, n + 1), n += l.nodeSize; + r(l, n), s < i && t.child(s).sameMarkup(l) ? Nh(t.child(s), l, n + 1, r) : l.nodesBetween(0, l.content.size, r, n + 1), n += l.nodeSize; } } -function vg(t, e) { +function Ah(t, e) { let n; const r = (i, o) => { - i.type.spec.tableRole == "table" && (n = fO(t, i, o, n)); + i.type.spec.tableRole == "table" && (n = yO(t, i, o, n)); }; - return e ? e.doc != t.doc && yg(e.doc, t.doc, 0, r) : t.doc.descendants(r), n; + return e ? e.doc != t.doc && Nh(e.doc, t.doc, 0, r) : t.doc.descendants(r), n; } -function fO(t, e, n, r) { +function yO(t, e, n, r) { const i = Ie.get(e); if (!i.problems) return r; @@ -21016,7 +21022,7 @@ function fO(t, e, n, r) { let _ = "cell"; u.firstChild && (_ = u.firstChild.type.spec.tableRole); const m = []; - for (let g = 0; g < p; g++) { + for (let h = 0; h < p; h++) { const E = it(t.schema)[_].createAndFill(); E && m.push(E); } @@ -21025,18 +21031,18 @@ function fO(t, e, n, r) { } c = d; } - return r.setMeta(mO, { fixTables: !0 }); + return r.setMeta(CO, { fixTables: !0 }); } function on(t) { - const e = t.selection, n = bs(t), r = n.node(-1), i = n.start(-1), o = Ie.get(r); + const e = t.selection, n = Cs(t), r = n.node(-1), i = n.start(-1), o = Ie.get(r); return { ...e instanceof Te ? o.rectBetween( e.$anchorCell.pos - i, e.$headCell.pos - i ) : o.findCell(n.pos - i), tableStart: i, map: o, table: r }; } -function Rg(t, { map: e, tableStart: n, table: r }, i) { +function Ih(t, { map: e, tableStart: n, table: r }, i) { let o = i > 0 ? -1 : 0; - lO(e, r, i + o) && (o = i == 0 || i == e.width ? null : 0); + hO(e, r, i + o) && (o = i == 0 || i == e.width ? null : 0); for (let a = 0; a < e.height; a++) { const s = a * e.width + i; if (i > 0 && i < e.width && e.map[s - 1] == e.map[s]) { @@ -21044,7 +21050,7 @@ function Rg(t, { map: e, tableStart: n, table: r }, i) { t.setNodeMarkup( t.mapping.map(n + l), null, - Tg(c.attrs, i - e.colCount(l)) + Rh(c.attrs, i - e.colCount(l)) ), a += c.attrs.rowspan - 1; } else { const l = o == null ? it(r.type.schema).cell : r.nodeAt(e.map[s + o]).type, c = e.positionAt(a, i, r); @@ -21053,25 +21059,25 @@ function Rg(t, { map: e, tableStart: n, table: r }, i) { } return t; } -function gO(t, e) { +function vO(t, e) { if (!Vt(t)) return !1; if (e) { const n = on(t); - e(Rg(t.tr, n, n.left)); + e(Ih(t.tr, n, n.left)); } return !0; } -function hO(t, e) { +function RO(t, e) { if (!Vt(t)) return !1; if (e) { const n = on(t); - e(Rg(t.tr, n, n.right)); + e(Ih(t.tr, n, n.right)); } return !0; } -function EO(t, { map: e, table: n, tableStart: r }, i) { +function OO(t, { map: e, table: n, tableStart: r }, i) { const o = t.mapping.maps.length; for (let a = 0; a < e.height; ) { const s = a * e.width + i, l = e.map[s], c = n.nodeAt(l), u = c.attrs; @@ -21088,14 +21094,14 @@ function EO(t, { map: e, table: n, tableStart: r }, i) { a += u.rowspan; } } -function SO(t, e) { +function NO(t, e) { if (!Vt(t)) return !1; if (e) { const n = on(t), r = t.tr; if (n.left == 0 && n.right == n.map.width) return !1; - for (let i = n.right - 1; EO(r, n, i), i != n.left; i--) { + for (let i = n.right - 1; OO(r, n, i), i != n.left; i--) { const o = n.tableStart ? r.doc.nodeAt(n.tableStart - 1) : r.doc; if (!o) throw RangeError("No table found"); @@ -21105,7 +21111,7 @@ function SO(t, e) { } return !0; } -function bO(t, e, n) { +function AO(t, e, n) { var r; const i = it(e.type.schema).header_cell; for (let o = 0; o < t.width; o++) @@ -21113,14 +21119,14 @@ function bO(t, e, n) { return !1; return !0; } -function Og(t, { map: e, tableStart: n, table: r }, i) { +function xh(t, { map: e, tableStart: n, table: r }, i) { var o; let a = n; for (let c = 0; c < i; c++) a += r.child(c).nodeSize; const s = []; let l = i > 0 ? -1 : 0; - bO(e, r, i + l) && (l = i == 0 || i == e.height ? null : 0); + AO(e, r, i + l) && (l = i == 0 || i == e.height ? null : 0); for (let c = 0, u = e.width * i; c < e.width; c++, u++) if (i > 0 && i < e.height && e.map[u] == e.map[u - e.width]) { const d = e.map[u], p = r.nodeAt(d).attrs; @@ -21134,25 +21140,25 @@ function Og(t, { map: e, tableStart: n, table: r }, i) { } return t.insert(a, it(r.type.schema).row.create(null, s)), t; } -function TO(t, e) { +function IO(t, e) { if (!Vt(t)) return !1; if (e) { const n = on(t); - e(Og(t.tr, n, n.top)); + e(xh(t.tr, n, n.top)); } return !0; } -function CO(t, e) { +function xO(t, e) { if (!Vt(t)) return !1; if (e) { const n = on(t); - e(Og(t.tr, n, n.bottom)); + e(xh(t.tr, n, n.bottom)); } return !0; } -function yO(t, { map: e, table: n, tableStart: r }, i) { +function DO(t, { map: e, table: n, tableStart: r }, i) { let o = 0; for (let c = 0; c < i; c++) o += n.child(c).nodeSize; @@ -21178,14 +21184,14 @@ function yO(t, { map: e, table: n, tableStart: r }, i) { } } } -function vO(t, e) { +function MO(t, e) { if (!Vt(t)) return !1; if (e) { const n = on(t), r = t.tr; if (n.top == 0 && n.bottom == n.map.height) return !1; - for (let i = n.bottom - 1; yO(r, n, i), i != n.top; i--) { + for (let i = n.bottom - 1; DO(r, n, i), i != n.top; i--) { const o = n.tableStart ? r.doc.nodeAt(n.tableStart - 1) : r.doc; if (!o) throw RangeError("No table found"); @@ -21195,11 +21201,11 @@ function vO(t, e) { } return !0; } -function Bp(t) { +function Gp(t) { const e = t.content; return e.childCount == 1 && e.child(0).isTextblock && e.child(0).childCount == 0; } -function RO({ width: t, height: e, map: n }, r) { +function wO({ width: t, height: e, map: n }, r) { let i = r.top * t + r.left, o = i, a = (r.bottom - 1) * t + r.left, s = i + (r.right - r.left - 1); for (let l = r.top; l < r.bottom; l++) { if (r.left > 0 && n[o] == n[o - 1] || r.right < t && n[s] == n[s + 1]) @@ -21213,12 +21219,12 @@ function RO({ width: t, height: e, map: n }, r) { } return !1; } -function Up(t, e) { +function Vp(t, e) { const n = t.selection; if (!(n instanceof Te) || n.$anchorCell.pos == n.$headCell.pos) return !1; const r = on(t), { map: i } = r; - if (RO(i, r)) + if (wO(i, r)) return !1; if (e) { const o = t.tr, a = {}; @@ -21230,7 +21236,7 @@ function Up(t, e) { if (a[p] = !0, l == null) l = p, c = _; else { - Bp(_) || (s = s.append(_.content)); + Gp(_) || (s = s.append(_.content)); const m = o.mapping.map(p + r.tableStart); o.delete(m, m + _.nodeSize); } @@ -21238,14 +21244,14 @@ function Up(t, e) { if (l == null || c == null) return !0; if (o.setNodeMarkup(l + r.tableStart, null, { - ...Tg( + ...Rh( c.attrs, c.attrs.colspan, r.right - r.left - c.attrs.colspan ), rowspan: r.bottom - r.top }), s.size) { - const u = l + 1 + c.content.size, d = Bp(c) ? l + 1 : u; + const u = l + 1 + c.content.size, d = Gp(c) ? l + 1 : u; o.replaceWith(d + r.tableStart, u + r.tableStart, s); } o.setSelection( @@ -21254,11 +21260,11 @@ function Up(t, e) { } return !0; } -function Hp(t, e) { +function Yp(t, e) { const n = it(t.schema); - return OO(({ node: r }) => n[r.type.spec.tableRole])(t, e); + return LO(({ node: r }) => n[r.type.spec.tableRole])(t, e); } -function OO(t) { +function LO(t) { return (e, n) => { var r; const i = e.selection; @@ -21268,9 +21274,9 @@ function OO(t) { return !1; o = i.$anchorCell.nodeAfter, a = i.$anchorCell.pos; } else { - if (o = oO(i.$from), !o) + if (o = _O(i.$from), !o) return !1; - a = (r = fi(i.$from)) == null ? void 0 : r.pos; + a = (r = hi(i.$from)) == null ? void 0 : r.pos; } if (o == null || a == null || o.attrs.colspan == 1 && o.attrs.rowspan == 1) return !1; @@ -21290,10 +21296,10 @@ function OO(t) { for (let _ = u.top; _ < u.bottom; _++) { let m = u.map.positionAt(_, u.left, u.table); _ == u.top && (m += o.nodeSize); - for (let f = u.left, g = 0; f < u.right; f++, g++) + for (let f = u.left, h = 0; f < u.right; f++, h++) f == u.left && _ == u.top || d.insert( p = d.mapping.map(m + u.tableStart, 1), - t({ node: o, row: _, col: f }).createAndFill(l[g]) + t({ node: o, row: _, col: f }).createAndFill(l[h]) ); } d.setNodeMarkup( @@ -21310,11 +21316,11 @@ function OO(t) { return !0; }; } -function NO(t, e) { +function kO(t, e) { return function(n, r) { if (!Vt(n)) return !1; - const i = bs(n); + const i = Cs(n); if (i.nodeAfter.attrs[t] === e) return !1; if (r) { @@ -21332,7 +21338,7 @@ function NO(t, e) { return !0; }; } -function AO(t) { +function PO(t) { return function(e, n) { if (!Vt(e)) return !1; @@ -21368,7 +21374,7 @@ function AO(t) { return !0; }; } -function Gp(t, e, n) { +function zp(t, e, n) { const r = e.map.cellsInRect({ left: 0, top: 0, @@ -21382,12 +21388,12 @@ function Gp(t, e, n) { } return !0; } -function eo(t, e) { - return e = e || { useDeprecatedLogic: !1 }, e.useDeprecatedLogic ? AO(t) : function(n, r) { +function to(t, e) { + return e = e || { useDeprecatedLogic: !1 }, e.useDeprecatedLogic ? PO(t) : function(n, r) { if (!Vt(n)) return !1; if (r) { - const i = it(n.schema), o = on(n), a = n.tr, s = Gp("row", o, i), l = Gp( + const i = it(n.schema), o = on(n), a = n.tr, s = zp("row", o, i), l = zp( "column", o, i @@ -21410,16 +21416,16 @@ function eo(t, e) { return !0; }; } -eo("row", { +to("row", { useDeprecatedLogic: !0 }); -eo("column", { +to("column", { useDeprecatedLogic: !0 }); -var IO = eo("cell", { +var FO = to("cell", { useDeprecatedLogic: !0 }); -function xO(t, e) { +function BO(t, e) { if (e < 0) { const n = t.nodeBefore; if (n) @@ -21443,23 +21449,23 @@ function xO(t, e) { } return null; } -function Vp(t) { +function $p(t) { return function(e, n) { if (!Vt(e)) return !1; - const r = xO(bs(e), t); + const r = BO(Cs(e), t); if (r == null) return !1; if (n) { const i = e.doc.resolve(r); n( - e.tr.setSelection(Z.between(i, sO(i))).scrollIntoView() + e.tr.setSelection(Z.between(i, fO(i))).scrollIntoView() ); } return !0; }; } -function DO(t, e) { +function UO(t, e) { const n = t.selection.$anchor; for (let r = n.depth; r > 0; r--) if (n.node(r).type.spec.tableRole == "table") @@ -21468,7 +21474,7 @@ function DO(t, e) { ), !0; return !1; } -function ko(t, e) { +function Fo(t, e) { const n = t.selection; if (!(n instanceof Te)) return !1; @@ -21484,7 +21490,7 @@ function ko(t, e) { } return !0; } -function MO(t) { +function HO(t) { if (!t.size) return null; let { content: e, openStart: n, openEnd: r } = t; @@ -21495,23 +21501,23 @@ function MO(t) { for (let l = 0; l < e.childCount; l++) { let c = e.child(l).content; const u = l ? 0 : Math.max(0, n - 1), d = l < e.childCount - 1 ? 0 : Math.max(0, r - 1); - (u || d) && (c = ac( + (u || d) && (c = lc( it(a).row, new H(c, u, d) ).content), s.push(c); } else if (o == "cell" || o == "header_cell") s.push( - n || r ? ac( + n || r ? lc( it(a).row, new H(e, n, r) ).content : e ); else return null; - return wO(a, s); + return GO(a, s); } -function wO(t, e) { +function GO(t, e) { const n = []; for (let i = 0; i < e.length; i++) { const o = e[i]; @@ -21533,11 +21539,11 @@ function wO(t, e) { } return { height: e.length, width: r, rows: e }; } -function ac(t, e) { +function lc(t, e) { const n = t.createAndFill(); - return new yc(n).replace(0, n.content.size, e).doc; + return new Oc(n).replace(0, n.content.size, e).doc; } -function LO({ width: t, height: e, rows: n }, r, i) { +function VO({ width: t, height: e, rows: n }, r, i) { if (t != r) { const o = [], a = []; for (let s = 0; s < n.length; s++) { @@ -21579,7 +21585,7 @@ function LO({ width: t, height: e, rows: n }, r, i) { } return { width: t, height: e, rows: n }; } -function kO(t, e, n, r, i, o, a) { +function YO(t, e, n, r, i, o, a) { const s = t.doc.type.schema, l = it(s); let c, u; if (i > e.width) @@ -21589,16 +21595,16 @@ function kO(t, e, n, r, i, o, a) { const m = []; let f; _.lastChild == null || _.lastChild.type == l.cell ? f = c || (c = l.cell.createAndFill()) : f = u || (u = l.header_cell.createAndFill()); - for (let g = e.width; g < i; g++) + for (let h = e.width; h < i; h++) m.push(f); t.insert(t.mapping.slice(a).map(p - 1 + r), m); } if (o > e.height) { const d = []; for (let m = 0, f = (e.height - 1) * e.width; m < Math.max(e.width, i); m++) { - const g = m >= e.width ? !1 : n.nodeAt(e.map[f + m]).type == l.header_cell; + const h = m >= e.width ? !1 : n.nodeAt(e.map[f + m]).type == l.header_cell; d.push( - g ? u || (u = l.header_cell.createAndFill()) : c || (c = l.cell.createAndFill()) + h ? u || (u = l.header_cell.createAndFill()) : c || (c = l.cell.createAndFill()) ); } const p = l.row.create(null, w.from(d)), _ = []; @@ -21608,7 +21614,7 @@ function kO(t, e, n, r, i, o, a) { } return !!(c || u); } -function Yp(t, e, n, r, i, o, a, s) { +function qp(t, e, n, r, i, o, a, s) { if (a == 0 || a == e.height) return !1; let l = !1; @@ -21631,7 +21637,7 @@ function Yp(t, e, n, r, i, o, a, s) { } return l; } -function zp(t, e, n, r, i, o, a, s) { +function Wp(t, e, n, r, i, o, a, s) { if (a == 0 || a == e.width) return !1; let l = !1; @@ -21658,7 +21664,7 @@ function zp(t, e, n, r, i, o, a, s) { } return l; } -function $p(t, e, n, r, i) { +function Kp(t, e, n, r, i) { let o = n ? t.doc.nodeAt(n - 1) : t.doc; if (!o) throw new Error("No table found"); @@ -21670,12 +21676,12 @@ function $p(t, e, n, r, i) { throw new Error("No table found"); a = Ie.get(o), p = d.mapping.maps.length; } - kO(d, a, o, n, c, u, p) && _(), Yp(d, a, o, n, l, c, s, p) && _(), Yp(d, a, o, n, l, c, u, p) && _(), zp(d, a, o, n, s, u, l, p) && _(), zp(d, a, o, n, s, u, c, p) && _(); + YO(d, a, o, n, c, u, p) && _(), qp(d, a, o, n, l, c, s, p) && _(), qp(d, a, o, n, l, c, u, p) && _(), Wp(d, a, o, n, s, u, l, p) && _(), Wp(d, a, o, n, s, u, c, p) && _(); for (let m = s; m < u; m++) { - const f = a.positionAt(m, l, o), g = a.positionAt(m, c, o); + const f = a.positionAt(m, l, o), h = a.positionAt(m, c, o); d.replace( d.mapping.slice(p).map(f + n), - d.mapping.slice(p).map(g + n), + d.mapping.slice(p).map(h + n), new H(i.rows[m - s], 0, 0) ); } @@ -21686,53 +21692,53 @@ function $p(t, e, n, r, i) { ) ), e(d); } -var PO = wc({ - ArrowLeft: Po("horiz", -1), - ArrowRight: Po("horiz", 1), - ArrowUp: Po("vert", -1), - ArrowDown: Po("vert", 1), - "Shift-ArrowLeft": Fo("horiz", -1), - "Shift-ArrowRight": Fo("horiz", 1), - "Shift-ArrowUp": Fo("vert", -1), - "Shift-ArrowDown": Fo("vert", 1), - Backspace: ko, - "Mod-Backspace": ko, - Delete: ko, - "Mod-Delete": ko +var zO = Pc({ + ArrowLeft: Bo("horiz", -1), + ArrowRight: Bo("horiz", 1), + ArrowUp: Bo("vert", -1), + ArrowDown: Bo("vert", 1), + "Shift-ArrowLeft": Uo("horiz", -1), + "Shift-ArrowRight": Uo("horiz", 1), + "Shift-ArrowUp": Uo("vert", -1), + "Shift-ArrowDown": Uo("vert", 1), + Backspace: Fo, + "Mod-Backspace": Fo, + Delete: Fo, + "Mod-Delete": Fo }); -function na(t, e, n) { +function ia(t, e, n) { return n.eq(t.selection) ? !1 : (e && e(t.tr.setSelection(n).scrollIntoView()), !0); } -function Po(t, e) { +function Bo(t, e) { return (n, r, i) => { if (!i) return !1; const o = n.selection; if (o instanceof Te) - return na( + return ia( n, r, te.near(o.$headCell, e) ); if (t != "horiz" && !o.empty) return !1; - const a = Ng(i, t, e); + const a = Dh(i, t, e); if (a == null) return !1; if (t == "horiz") - return na( + return ia( n, r, te.near(n.doc.resolve(o.head + e), e) ); { - const s = n.doc.resolve(a), l = bg(s, t, e); + const s = n.doc.resolve(a), l = vh(s, t, e); let c; - return l ? c = te.near(l, 1) : e < 0 ? c = te.near(n.doc.resolve(s.before(-1)), -1) : c = te.near(n.doc.resolve(s.after(-1)), 1), na(n, r, c); + return l ? c = te.near(l, 1) : e < 0 ? c = te.near(n.doc.resolve(s.before(-1)), -1) : c = te.near(n.doc.resolve(s.after(-1)), 1), ia(n, r, c); } }; } -function Fo(t, e) { +function Uo(t, e) { return (n, r, i) => { if (!i) return !1; @@ -21741,27 +21747,27 @@ function Fo(t, e) { if (o instanceof Te) a = o; else { - const l = Ng(i, t, e); + const l = Dh(i, t, e); if (l == null) return !1; a = new Te(n.doc.resolve(l)); } - const s = bg(a.$headCell, t, e); - return s ? na( + const s = vh(a.$headCell, t, e); + return s ? ia( n, r, new Te(a.$anchorCell, s) ) : !1; }; } -function FO(t, e) { - const n = t.state.doc, r = fi(n.resolve(e)); +function $O(t, e) { + const n = t.state.doc, r = hi(n.resolve(e)); return r ? (t.dispatch(t.state.tr.setSelection(new Te(r))), !0) : !1; } -function BO(t, e, n) { +function qO(t, e, n) { if (!Vt(t.state)) return !1; - let r = MO(n); + let r = HO(n); const i = t.state.selection; if (i instanceof Te) { r || (r = { @@ -21769,7 +21775,7 @@ function BO(t, e, n) { height: 1, rows: [ w.from( - ac(it(t.state.schema).cell, n) + lc(it(t.state.schema).cell, n) ) ] }); @@ -21777,10 +21783,10 @@ function BO(t, e, n) { i.$anchorCell.pos - a, i.$headCell.pos - a ); - return r = LO(r, s.right - s.left, s.bottom - s.top), $p(t.state, t.dispatch, a, s, r), !0; + return r = VO(r, s.right - s.left, s.bottom - s.top), Kp(t.state, t.dispatch, a, s, r), !0; } else if (r) { - const o = bs(t.state), a = o.start(-1); - return $p( + const o = Cs(t.state), a = o.start(-1); + return Kp( t.state, t.dispatch, a, @@ -21790,22 +21796,22 @@ function BO(t, e, n) { } else return !1; } -function UO(t, e) { +function WO(t, e) { var n; if (e.ctrlKey || e.metaKey) return; - const r = qp(t, e.target); + const r = Qp(t, e.target); let i; if (e.shiftKey && t.state.selection instanceof Te) o(t.state.selection.$anchorCell, e), e.preventDefault(); - else if (e.shiftKey && r && (i = fi(t.state.selection.$anchor)) != null && ((n = sl(t, e)) == null ? void 0 : n.pos) != i.pos) + else if (e.shiftKey && r && (i = hi(t.state.selection.$anchor)) != null && ((n = cl(t, e)) == null ? void 0 : n.pos) != i.pos) o(i, e), e.preventDefault(); else if (!r) return; function o(l, c) { - let u = sl(t, c); + let u = cl(t, c); const d = Nn.getState(t.state) == null; - if (!u || !ru(l, u)) + if (!u || !au(l, u)) if (d) u = l; else @@ -21824,13 +21830,13 @@ function UO(t, e) { let d; if (u != null) d = t.state.doc.resolve(u); - else if (qp(t, c.target) != r && (d = sl(t, e), !d)) + else if (Qp(t, c.target) != r && (d = cl(t, e), !d)) return a(); d && o(d, c); } t.root.addEventListener("mouseup", a), t.root.addEventListener("dragstart", a), t.root.addEventListener("mousemove", s); } -function Ng(t, e, n) { +function Dh(t, e, n) { if (!(t.state.selection instanceof Z)) return null; const { $head: r } = t.state.selection; @@ -21845,28 +21851,28 @@ function Ng(t, e, n) { } return null; } -function qp(t, e) { +function Qp(t, e) { for (; e && e != t.dom; e = e.parentNode) if (e.nodeName == "TD" || e.nodeName == "TH") return e; return null; } -function sl(t, e) { +function cl(t, e) { const n = t.posAtCoords({ left: e.clientX, top: e.clientY }); - return n && n ? fi(t.state.doc.resolve(n.pos)) : null; + return n && n ? hi(t.state.doc.resolve(n.pos)) : null; } -var HO = class { +var KO = class { constructor(e, n) { this.node = e, this.defaultCellMinWidth = n, this.dom = document.createElement("div"), this.dom.className = "tableWrapper", this.table = this.dom.appendChild(document.createElement("table")), this.table.style.setProperty( "--default-cell-min-width", `${n}px` - ), this.colgroup = this.table.appendChild(document.createElement("colgroup")), sc(e, this.colgroup, this.table, n), this.contentDOM = this.table.appendChild(document.createElement("tbody")); + ), this.colgroup = this.table.appendChild(document.createElement("colgroup")), cc(e, this.colgroup, this.table, n), this.contentDOM = this.table.appendChild(document.createElement("tbody")); } update(e) { - return e.type != this.node.type ? !1 : (this.node = e, sc( + return e.type != this.node.type ? !1 : (this.node = e, cc( e, this.colgroup, this.table, @@ -21877,7 +21883,7 @@ var HO = class { return e.type == "attributes" && (e.target == this.table || this.colgroup.contains(e.target)); } }; -function sc(t, e, n, r, i, o) { +function cc(t, e, n, r, i, o) { var a; let s = 0, l = !0, c = e.firstChild; const u = t.firstChild; @@ -21885,8 +21891,8 @@ function sc(t, e, n, r, i, o) { for (let d = 0, p = 0; d < u.childCount; d++) { const { colspan: _, colwidth: m } = u.child(d).attrs; for (let f = 0; f < _; f++, p++) { - const g = i == p ? o : m && m[f], E = g ? g + "px" : ""; - if (s += g || r, g || (l = !1), c) + const h = i == p ? o : m && m[f], E = h ? h + "px" : ""; + if (s += h || r, h || (l = !1), c) c.style.width != E && (c.style.width = E), c = c.nextSibling; else { const S = document.createElement("col"); @@ -21904,11 +21910,11 @@ function sc(t, e, n, r, i, o) { var vt = new ve( "tableColumnResizing" ); -function GO({ +function QO({ handleWidth: t = 5, cellMinWidth: e = 25, defaultCellMinWidth: n = 100, - View: r = HO, + View: r = KO, lastColumnResizable: i = !0 } = {}) { const o = new Se({ @@ -21917,7 +21923,7 @@ function GO({ init(a, s) { var l, c; const u = (c = (l = o.spec) == null ? void 0 : l.props) == null ? void 0 : c.nodeViews, d = it(s.schema).table.name; - return r && u && (u[d] = (p, _) => new r(p, n, _)), new VO(-1, !1); + return r && u && (u[d] = (p, _) => new r(p, n, _)), new ZO(-1, !1); }, apply(a, s) { return s.apply(a); @@ -21930,50 +21936,50 @@ function GO({ }, handleDOMEvents: { mousemove: (a, s) => { - YO(a, s, t, i); + XO(a, s, t, i); }, mouseleave: (a) => { - zO(a); + jO(a); }, mousedown: (a, s) => { - $O(a, s, e, n); + JO(a, s, e, n); } }, decorations: (a) => { const s = vt.getState(a); if (s && s.activeHandle > -1) - return ZO(a, s.activeHandle); + return iN(a, s.activeHandle); }, nodeViews: {} } }); return o; } -var VO = class ra { +var ZO = class oa { constructor(e, n) { this.activeHandle = e, this.dragging = n; } apply(e) { const n = this, r = e.getMeta(vt); if (r && r.setHandle != null) - return new ra(r.setHandle, !1); + return new oa(r.setHandle, !1); if (r && r.setDragging !== void 0) - return new ra(n.activeHandle, r.setDragging); + return new oa(n.activeHandle, r.setDragging); if (n.activeHandle > -1 && e.docChanged) { let i = e.mapping.map(n.activeHandle, -1); - return oc(e.doc.resolve(i)) || (i = -1), new ra(i, n.dragging); + return sc(e.doc.resolve(i)) || (i = -1), new oa(i, n.dragging); } return n; } }; -function YO(t, e, n, r) { +function XO(t, e, n, r) { const i = vt.getState(t.state); if (i && !i.dragging) { - const o = WO(e.target); + const o = tN(e.target); let a = -1; if (o) { const { left: s, right: l } = o.getBoundingClientRect(); - e.clientX - s <= n ? a = Wp(t, e, "left", n) : l - e.clientX <= n && (a = Wp(t, e, "right", n)); + e.clientX - s <= n ? a = Zp(t, e, "left", n) : l - e.clientX <= n && (a = Zp(t, e, "right", n)); } if (a != i.activeHandle) { if (!r && a !== -1) { @@ -21981,20 +21987,20 @@ function YO(t, e, n, r) { if (c.colCount(s.pos - u) + s.nodeAfter.attrs.colspan - 1 == c.width - 1) return; } - Ag(t, a); + Mh(t, a); } } } -function zO(t) { +function jO(t) { const e = vt.getState(t.state); - e && e.activeHandle > -1 && !e.dragging && Ag(t, -1); + e && e.activeHandle > -1 && !e.dragging && Mh(t, -1); } -function $O(t, e, n, r) { +function JO(t, e, n, r) { var i; const o = (i = t.dom.ownerDocument.defaultView) != null ? i : window, a = vt.getState(t.state); if (!a || a.activeHandle == -1 || a.dragging) return !1; - const s = t.state.doc.nodeAt(a.activeHandle), l = qO(t, a.activeHandle, s.attrs); + const s = t.state.doc.nodeAt(a.activeHandle), l = eN(t, a.activeHandle, s.attrs); t.dispatch( t.state.tr.setMeta(vt, { setDragging: { startX: e.clientX, startWidth: l } @@ -22003,10 +22009,10 @@ function $O(t, e, n, r) { function c(d) { o.removeEventListener("mouseup", c), o.removeEventListener("mousemove", u); const p = vt.getState(t.state); - p != null && p.dragging && (KO( + p != null && p.dragging && (nN( t, p.activeHandle, - Kp(p.dragging, d, n) + Xp(p.dragging, d, n) ), t.dispatch( t.state.tr.setMeta(vt, { setDragging: null }) )); @@ -22016,8 +22022,8 @@ function $O(t, e, n, r) { return c(d); const p = vt.getState(t.state); if (p && p.dragging) { - const _ = Kp(p.dragging, d, n); - Qp( + const _ = Xp(p.dragging, d, n); + jp( t, p.activeHandle, _, @@ -22025,14 +22031,14 @@ function $O(t, e, n, r) { ); } } - return Qp( + return jp( t, a.activeHandle, l, r ), o.addEventListener("mouseup", c), o.addEventListener("mousemove", u), e.preventDefault(), !0; } -function qO(t, e, { colspan: n, colwidth: r }) { +function eN(t, e, { colspan: n, colwidth: r }) { const i = r && r[r.length - 1]; if (i) return i; @@ -22043,19 +22049,19 @@ function qO(t, e, { colspan: n, colwidth: r }) { r[c] && (s -= r[c], l--); return s / l; } -function WO(t) { +function tN(t) { for (; t && t.nodeName != "TD" && t.nodeName != "TH"; ) t = t.classList && t.classList.contains("ProseMirror") ? null : t.parentNode; return t; } -function Wp(t, e, n, r) { +function Zp(t, e, n, r) { const i = n == "right" ? -r : r, o = t.posAtCoords({ left: e.clientX + i, top: e.clientY }); if (!o) return -1; - const { pos: a } = o, s = fi(t.state.doc.resolve(a)); + const { pos: a } = o, s = hi(t.state.doc.resolve(a)); if (!s) return -1; if (n == "right") @@ -22063,16 +22069,16 @@ function Wp(t, e, n, r) { const l = Ie.get(s.node(-1)), c = s.start(-1), u = l.map.indexOf(s.pos - c); return u % l.width == 0 ? -1 : c + l.map[u - 1]; } -function Kp(t, e, n) { +function Xp(t, e, n) { const r = e.clientX - t.startX; return Math.max(n, t.startWidth + r); } -function Ag(t, e) { +function Mh(t, e) { t.dispatch( t.state.tr.setMeta(vt, { setHandle: e }) ); } -function KO(t, e, n) { +function nN(t, e, n) { const r = t.state.doc.resolve(e), i = r.node(-1), o = Ie.get(i), a = r.start(-1), s = o.colCount(r.pos - a) + r.nodeAfter.attrs.colspan - 1, l = t.state.tr; for (let c = 0; c < o.height; c++) { const u = c * o.width + s; @@ -22081,17 +22087,17 @@ function KO(t, e, n) { const d = o.map[u], p = i.nodeAt(d).attrs, _ = p.colspan == 1 ? 0 : s - o.colCount(d); if (p.colwidth && p.colwidth[_] == n) continue; - const m = p.colwidth ? p.colwidth.slice() : QO(p.colspan); + const m = p.colwidth ? p.colwidth.slice() : rN(p.colspan); m[_] = n, l.setNodeMarkup(a + d, null, { ...p, colwidth: m }); } l.docChanged && t.dispatch(l); } -function Qp(t, e, n, r) { +function jp(t, e, n, r) { const i = t.state.doc.resolve(e), o = i.node(-1), a = i.start(-1), s = Ie.get(o).colCount(i.pos - a) + i.nodeAfter.attrs.colspan - 1; let l = t.domAtPos(i.start(-1)).node; for (; l && l.nodeName != "TABLE"; ) l = l.parentNode; - l && sc( + l && cc( o, l.firstChild, l, @@ -22100,10 +22106,10 @@ function Qp(t, e, n, r) { n ); } -function QO(t) { +function rN(t) { return Array(t).fill(0); } -function ZO(t, e) { +function iN(t, e) { var n; const r = [], i = t.doc.resolve(e), o = i.node(-1); if (!o) @@ -22126,7 +22132,7 @@ function ZO(t, e) { } return be.create(t.doc, r); } -function XO({ +function oN({ allowTableNodeSelection: t = !1 } = {}) { return new Se({ @@ -22149,30 +22155,30 @@ function XO({ } }, props: { - decorations: uO, + decorations: EO, handleDOMEvents: { - mousedown: UO + mousedown: WO }, createSelectionBetween(e) { return Nn.getState(e.state) != null ? e.state.selection : null; }, - handleTripleClick: FO, - handleKeyDown: PO, - handlePaste: BO + handleTripleClick: $O, + handleKeyDown: zO, + handlePaste: qO }, appendTransaction(e, n, r) { - return _O( + return TO( r, - vg(r, n), + Ah(r, n), t ); } }); } -function lc(t, e) { +function uc(t, e) { return e ? ["width", `${Math.max(e, t)}px`] : ["min-width", `${t}px`]; } -function Zp(t, e, n, r, i, o) { +function Jp(t, e, n, r, i, o) { var a; let s = 0, l = !0, c = e.firstChild; const u = t.firstChild; @@ -22180,16 +22186,16 @@ function Zp(t, e, n, r, i, o) { for (let d = 0, p = 0; d < u.childCount; d += 1) { const { colspan: _, colwidth: m } = u.child(d).attrs; for (let f = 0; f < _; f += 1, p += 1) { - const g = i === p ? o : m && m[f], E = g ? `${g}px` : ""; - if (s += g || r, g || (l = !1), c) { + const h = i === p ? o : m && m[f], E = h ? `${h}px` : ""; + if (s += h || r, h || (l = !1), c) { if (c.style.width !== E) { - const [S, b] = lc(r, g); + const [S, b] = uc(r, h); c.style.setProperty(S, b); } c = c.nextSibling; } else { - const S = document.createElement("col"), [b, h] = lc(r, g); - S.style.setProperty(b, h), e.appendChild(S); + const S = document.createElement("col"), [b, g] = uc(r, h); + S.style.setProperty(b, g), e.appendChild(S); } } } @@ -22199,18 +22205,18 @@ function Zp(t, e, n, r, i, o) { } l ? (n.style.width = `${s}px`, n.style.minWidth = "") : (n.style.width = "", n.style.minWidth = `${s}px`); } -class jO { +class aN { constructor(e, n) { - this.node = e, this.cellMinWidth = n, this.dom = document.createElement("div"), this.dom.className = "tableWrapper", this.table = this.dom.appendChild(document.createElement("table")), this.colgroup = this.table.appendChild(document.createElement("colgroup")), Zp(e, this.colgroup, this.table, n), this.contentDOM = this.table.appendChild(document.createElement("tbody")); + this.node = e, this.cellMinWidth = n, this.dom = document.createElement("div"), this.dom.className = "tableWrapper", this.table = this.dom.appendChild(document.createElement("table")), this.colgroup = this.table.appendChild(document.createElement("colgroup")), Jp(e, this.colgroup, this.table, n), this.contentDOM = this.table.appendChild(document.createElement("tbody")); } update(e) { - return e.type !== this.node.type ? !1 : (this.node = e, Zp(e, this.colgroup, this.table, this.cellMinWidth), !0); + return e.type !== this.node.type ? !1 : (this.node = e, Jp(e, this.colgroup, this.table, this.cellMinWidth), !0); } ignoreMutation(e) { return e.type === "attributes" && (e.target === this.table || this.colgroup.contains(e.target)); } } -function JO(t, e, n, r) { +function sN(t, e, n, r) { let i = 0, o = !0; const a = [], s = t.firstChild; if (!s) @@ -22218,9 +22224,9 @@ function JO(t, e, n, r) { for (let d = 0, p = 0; d < s.childCount; d += 1) { const { colspan: _, colwidth: m } = s.child(d).attrs; for (let f = 0; f < _; f += 1, p += 1) { - const g = n === p ? r : m && m[f]; - i += g || e, g || (o = !1); - const [E, S] = lc(e, g); + const h = n === p ? r : m && m[f]; + i += h || e, h || (o = !1); + const [E, S] = uc(e, h); a.push([ "col", { style: `${E}: ${S}` } @@ -22230,10 +22236,10 @@ function JO(t, e, n, r) { const l = o ? `${i}px` : "", c = o ? "" : `${i}px`; return { colgroup: ["colgroup", {}, ...a], tableWidth: l, tableMinWidth: c }; } -function Xp(t, e) { +function e_(t, e) { return t.createAndFill(); } -function eN(t) { +function lN(t) { if (t.cached.tableNodeTypes) return t.cached.tableNodeTypes; const e = {}; @@ -22242,12 +22248,12 @@ function eN(t) { r.spec.tableRole && (e[r.spec.tableRole] = r); }), t.cached.tableNodeTypes = e, e; } -function tN(t, e, n, r, i) { - const o = eN(t), a = [], s = []; +function cN(t, e, n, r, i) { + const o = lN(t), a = [], s = []; for (let c = 0; c < n; c += 1) { - const u = Xp(o.cell); + const u = e_(o.cell); if (u && s.push(u), r) { - const d = Xp(o.header_cell); + const d = e_(o.header_cell); d && a.push(d); } } @@ -22256,21 +22262,21 @@ function tN(t, e, n, r, i) { l.push(o.row.createChecked(null, r && c === 0 ? a : s)); return o.table.createChecked(null, l); } -function nN(t) { +function uN(t) { return t instanceof Te; } -const Bo = ({ editor: t }) => { +const Ho = ({ editor: t }) => { const { selection: e } = t.state; - if (!nN(e)) + if (!uN(e)) return !1; let n = 0; - const r = Df(e.ranges[0].$from, (o) => o.type.name === "table"); + const r = kf(e.ranges[0].$from, (o) => o.type.name === "table"); return r == null || r.node.descendants((o) => { if (o.type.name === "table") return !1; ["tableCell", "tableHeader"].includes(o.type.name) && (n += 1); }), n === e.ranges.length ? (t.commands.deleteTable(), !0) : !1; -}, rN = Ne.create({ +}, dN = Ne.create({ name: "table", // @ts-ignore addOptions() { @@ -22280,7 +22286,7 @@ const Bo = ({ editor: t }) => { handleWidth: 5, cellMinWidth: 25, // TODO: fix - View: jO, + View: aN, lastColumnResizable: !0, allowTableNodeSelection: !1 }; @@ -22293,7 +22299,7 @@ const Bo = ({ editor: t }) => { return [{ tag: "table" }]; }, renderHTML({ node: t, HTMLAttributes: e }) { - const { colgroup: n, tableWidth: r, tableMinWidth: i } = JO(t, this.options.cellMinWidth); + const { colgroup: n, tableWidth: r, tableMinWidth: i } = sN(t, this.options.cellMinWidth); return [ "table", pe(this.options.HTMLAttributes, e, { @@ -22306,30 +22312,30 @@ const Bo = ({ editor: t }) => { addCommands() { return { insertTable: ({ rows: t = 3, cols: e = 3, withHeaderRow: n = !0 } = {}) => ({ tr: r, dispatch: i, editor: o }) => { - const a = tN(o.schema, t, e, n); + const a = cN(o.schema, t, e, n); if (i) { const s = r.selection.from + 1; r.replaceSelectionWith(a).scrollIntoView().setSelection(Z.near(r.doc.resolve(s))); } return !0; }, - addColumnBefore: () => ({ state: t, dispatch: e }) => gO(t, e), - addColumnAfter: () => ({ state: t, dispatch: e }) => hO(t, e), - deleteColumn: () => ({ state: t, dispatch: e }) => SO(t, e), - addRowBefore: () => ({ state: t, dispatch: e }) => TO(t, e), - addRowAfter: () => ({ state: t, dispatch: e }) => CO(t, e), - deleteRow: () => ({ state: t, dispatch: e }) => vO(t, e), - deleteTable: () => ({ state: t, dispatch: e }) => DO(t, e), - mergeCells: () => ({ state: t, dispatch: e }) => Up(t, e), - splitCell: () => ({ state: t, dispatch: e }) => Hp(t, e), - toggleHeaderColumn: () => ({ state: t, dispatch: e }) => eo("column")(t, e), - toggleHeaderRow: () => ({ state: t, dispatch: e }) => eo("row")(t, e), - toggleHeaderCell: () => ({ state: t, dispatch: e }) => IO(t, e), - mergeOrSplit: () => ({ state: t, dispatch: e }) => Up(t, e) ? !0 : Hp(t, e), - setCellAttribute: (t, e) => ({ state: n, dispatch: r }) => NO(t, e)(n, r), - goToNextCell: () => ({ state: t, dispatch: e }) => Vp(1)(t, e), - goToPreviousCell: () => ({ state: t, dispatch: e }) => Vp(-1)(t, e), - fixTables: () => ({ state: t, dispatch: e }) => (e && vg(t), !0), + addColumnBefore: () => ({ state: t, dispatch: e }) => vO(t, e), + addColumnAfter: () => ({ state: t, dispatch: e }) => RO(t, e), + deleteColumn: () => ({ state: t, dispatch: e }) => NO(t, e), + addRowBefore: () => ({ state: t, dispatch: e }) => IO(t, e), + addRowAfter: () => ({ state: t, dispatch: e }) => xO(t, e), + deleteRow: () => ({ state: t, dispatch: e }) => MO(t, e), + deleteTable: () => ({ state: t, dispatch: e }) => UO(t, e), + mergeCells: () => ({ state: t, dispatch: e }) => Vp(t, e), + splitCell: () => ({ state: t, dispatch: e }) => Yp(t, e), + toggleHeaderColumn: () => ({ state: t, dispatch: e }) => to("column")(t, e), + toggleHeaderRow: () => ({ state: t, dispatch: e }) => to("row")(t, e), + toggleHeaderCell: () => ({ state: t, dispatch: e }) => FO(t, e), + mergeOrSplit: () => ({ state: t, dispatch: e }) => Vp(t, e) ? !0 : Yp(t, e), + setCellAttribute: (t, e) => ({ state: n, dispatch: r }) => kO(t, e)(n, r), + goToNextCell: () => ({ state: t, dispatch: e }) => $p(1)(t, e), + goToPreviousCell: () => ({ state: t, dispatch: e }) => $p(-1)(t, e), + fixTables: () => ({ state: t, dispatch: e }) => (e && Ah(t), !0), setCellSelection: (t) => ({ tr: e, dispatch: n }) => { if (n) { const r = Te.create(e.doc, t.anchorCell, t.headCell); @@ -22343,16 +22349,16 @@ const Bo = ({ editor: t }) => { return { Tab: () => this.editor.commands.goToNextCell() ? !0 : this.editor.can().addRowAfter() ? this.editor.chain().addRowAfter().goToNextCell().run() : !1, "Shift-Tab": () => this.editor.commands.goToPreviousCell(), - Backspace: Bo, - "Mod-Backspace": Bo, - Delete: Bo, - "Mod-Delete": Bo + Backspace: Ho, + "Mod-Backspace": Ho, + Delete: Ho, + "Mod-Delete": Ho }; }, addProseMirrorPlugins() { return [ ...this.options.resizable && this.editor.isEditable ? [ - GO({ + QO({ handleWidth: this.options.handleWidth, cellMinWidth: this.options.cellMinWidth, defaultCellMinWidth: this.options.cellMinWidth, @@ -22360,7 +22366,7 @@ const Bo = ({ editor: t }) => { lastColumnResizable: this.options.lastColumnResizable }) ] : [], - XO({ + oN({ allowTableNodeSelection: this.options.allowTableNodeSelection }) ]; @@ -22375,7 +22381,7 @@ const Bo = ({ editor: t }) => { tableRole: le(W(t, "tableRole", e)) }; } -}), iN = Ne.create({ +}), pN = Ne.create({ name: "tableRow", addOptions() { return { @@ -22392,7 +22398,7 @@ const Bo = ({ editor: t }) => { renderHTML({ HTMLAttributes: t }) { return ["tr", pe(this.options.HTMLAttributes, t), 0]; } -}), oN = Ne.create({ +}), _N = Ne.create({ name: "tableHeader", addOptions() { return { @@ -22427,7 +22433,7 @@ const Bo = ({ editor: t }) => { renderHTML({ HTMLAttributes: t }) { return ["th", pe(this.options.HTMLAttributes, t), 0]; } -}), aN = Ne.create({ +}), mN = Ne.create({ name: "tableCell", addOptions() { return { @@ -22462,7 +22468,7 @@ const Bo = ({ editor: t }) => { renderHTML({ HTMLAttributes: t }) { return ["td", pe(this.options.HTMLAttributes, t), 0]; } -}), jp = ge.create({ +}), t_ = he.create({ name: "characterCount", addOptions() { return { @@ -22528,22 +22534,22 @@ const Bo = ({ editor: t }) => { }) ]; } -}), sN = "aaa1rp3barth4b0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0faromeo7ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re2s2c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y0eats7k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking0channel11l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t0isalat7u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0at2delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d0network8tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntdoor4ier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5gtv3iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0eles2s3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1nder2le4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster5ia3d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4de2k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0cys3drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7serati6ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic3tual5v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rthwesternmutual14on4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3ssagens7y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cher3ks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w0time7i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ffany5ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0channel7ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lkswagen7vo3te1ing3o2yage5u0elos6wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", lN = "ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5تصالات6رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2", li = (t, e) => { +}), fN = "aaa1rp3barth4b0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0faromeo7ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re2s2c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y0eats7k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking0channel11l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t0isalat7u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0at2delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d0network8tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntdoor4ier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5gtv3iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0eles2s3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1nder2le4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster5ia3d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4de2k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0cys3drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7serati6ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic3tual5v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rthwesternmutual14on4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3ssagens7y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cher3ks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w0time7i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ffany5ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0channel7ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lkswagen7vo3te1ing3o2yage5u0elos6wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", hN = "ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5تصالات6رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2", li = (t, e) => { for (const n in e) t[n] = e[n]; return t; -}, cc = "numeric", uc = "ascii", dc = "alpha", ia = "asciinumeric", Uo = "alphanumeric", pc = "domain", Ig = "emoji", cN = "scheme", uN = "slashscheme", Jp = "whitespace"; -function dN(t, e) { +}, dc = "numeric", pc = "ascii", _c = "alpha", aa = "asciinumeric", Go = "alphanumeric", mc = "domain", wh = "emoji", gN = "scheme", EN = "slashscheme", n_ = "whitespace"; +function SN(t, e) { return t in e || (e[t] = []), e[t]; } function or(t, e, n) { - e[cc] && (e[ia] = !0, e[Uo] = !0), e[uc] && (e[ia] = !0, e[dc] = !0), e[ia] && (e[Uo] = !0), e[dc] && (e[Uo] = !0), e[Uo] && (e[pc] = !0), e[Ig] && (e[pc] = !0); + e[dc] && (e[aa] = !0, e[Go] = !0), e[pc] && (e[aa] = !0, e[_c] = !0), e[aa] && (e[Go] = !0), e[_c] && (e[Go] = !0), e[Go] && (e[mc] = !0), e[wh] && (e[mc] = !0); for (const r in e) { - const i = dN(r, n); + const i = SN(r, n); i.indexOf(t) < 0 && i.push(t); } } -function pN(t, e) { +function bN(t, e) { const n = {}; for (const r in e) e[r].indexOf(t) >= 0 && (n[r] = !0); @@ -22665,7 +22671,7 @@ dt.prototype = { if (s ? (a = new dt(), li(a.j, s.j), a.jr.push.apply(a.jr, s.jr), a.jd = s.jd, a.t = s.t) : a = new dt(), o) { if (r) if (a.t && typeof a.t == "string") { - const l = li(pN(a.t, r), n); + const l = li(bN(a.t, r), n); or(o, l, r); } else n && or(o, n, r); a.t = o; @@ -22673,99 +22679,99 @@ dt.prototype = { return i.j[t] = a, a; } }; -const j = (t, e, n, r, i) => t.ta(e, n, r, i), Nt = (t, e, n, r, i) => t.tr(e, n, r, i), e_ = (t, e, n, r, i) => t.ts(e, n, r, i), F = (t, e, n, r, i) => t.tt(e, n, r, i), un = "WORD", _c = "UWORD", to = "LOCALHOST", mc = "TLD", fc = "UTLD", oa = "SCHEME", Ur = "SLASH_SCHEME", iu = "NUM", xg = "WS", ou = "NL", zr = "OPENBRACE", Bi = "OPENBRACKET", Ui = "OPENANGLEBRACKET", Hi = "OPENPAREN", tr = "CLOSEBRACE", $r = "CLOSEBRACKET", qr = "CLOSEANGLEBRACKET", nr = "CLOSEPAREN", Aa = "AMPERSAND", Ia = "APOSTROPHE", xa = "ASTERISK", vn = "AT", Da = "BACKSLASH", Ma = "BACKTICK", wa = "CARET", An = "COLON", au = "COMMA", La = "DOLLAR", qt = "DOT", ka = "EQUALS", su = "EXCLAMATION", Wt = "HYPHEN", Pa = "PERCENT", Fa = "PIPE", Ba = "PLUS", Ua = "POUND", Ha = "QUERY", lu = "QUOTE", cu = "SEMI", Kt = "SLASH", Gi = "TILDE", Ga = "UNDERSCORE", Dg = "EMOJI", Va = "SYM"; -var Mg = /* @__PURE__ */ Object.freeze({ +const j = (t, e, n, r, i) => t.ta(e, n, r, i), Nt = (t, e, n, r, i) => t.tr(e, n, r, i), r_ = (t, e, n, r, i) => t.ts(e, n, r, i), F = (t, e, n, r, i) => t.tt(e, n, r, i), un = "WORD", fc = "UWORD", no = "LOCALHOST", hc = "TLD", gc = "UTLD", sa = "SCHEME", Ur = "SLASH_SCHEME", su = "NUM", Lh = "WS", lu = "NL", zr = "OPENBRACE", Ui = "OPENBRACKET", Hi = "OPENANGLEBRACKET", Gi = "OPENPAREN", tr = "CLOSEBRACE", $r = "CLOSEBRACKET", qr = "CLOSEANGLEBRACKET", nr = "CLOSEPAREN", xa = "AMPERSAND", Da = "APOSTROPHE", Ma = "ASTERISK", vn = "AT", wa = "BACKSLASH", La = "BACKTICK", ka = "CARET", An = "COLON", cu = "COMMA", Pa = "DOLLAR", qt = "DOT", Fa = "EQUALS", uu = "EXCLAMATION", Wt = "HYPHEN", Ba = "PERCENT", Ua = "PIPE", Ha = "PLUS", Ga = "POUND", Va = "QUERY", du = "QUOTE", pu = "SEMI", Kt = "SLASH", Vi = "TILDE", Ya = "UNDERSCORE", kh = "EMOJI", za = "SYM"; +var Ph = /* @__PURE__ */ Object.freeze({ __proto__: null, WORD: un, - UWORD: _c, - LOCALHOST: to, - TLD: mc, - UTLD: fc, - SCHEME: oa, + UWORD: fc, + LOCALHOST: no, + TLD: hc, + UTLD: gc, + SCHEME: sa, SLASH_SCHEME: Ur, - NUM: iu, - WS: xg, - NL: ou, + NUM: su, + WS: Lh, + NL: lu, OPENBRACE: zr, - OPENBRACKET: Bi, - OPENANGLEBRACKET: Ui, - OPENPAREN: Hi, + OPENBRACKET: Ui, + OPENANGLEBRACKET: Hi, + OPENPAREN: Gi, CLOSEBRACE: tr, CLOSEBRACKET: $r, CLOSEANGLEBRACKET: qr, CLOSEPAREN: nr, - AMPERSAND: Aa, - APOSTROPHE: Ia, - ASTERISK: xa, + AMPERSAND: xa, + APOSTROPHE: Da, + ASTERISK: Ma, AT: vn, - BACKSLASH: Da, - BACKTICK: Ma, - CARET: wa, + BACKSLASH: wa, + BACKTICK: La, + CARET: ka, COLON: An, - COMMA: au, - DOLLAR: La, + COMMA: cu, + DOLLAR: Pa, DOT: qt, - EQUALS: ka, - EXCLAMATION: su, + EQUALS: Fa, + EXCLAMATION: uu, HYPHEN: Wt, - PERCENT: Pa, - PIPE: Fa, - PLUS: Ba, - POUND: Ua, - QUERY: Ha, - QUOTE: lu, - SEMI: cu, + PERCENT: Ba, + PIPE: Ua, + PLUS: Ha, + POUND: Ga, + QUERY: Va, + QUOTE: du, + SEMI: pu, SLASH: Kt, - TILDE: Gi, - UNDERSCORE: Ga, - EMOJI: Dg, - SYM: Va + TILDE: Vi, + UNDERSCORE: Ya, + EMOJI: kh, + SYM: za }); -const Mr = /[a-z]/, ll = new RegExp("\\p{L}", "u"), cl = new RegExp("\\p{Emoji}", "u"), ul = /\d/, t_ = /\s/, n_ = ` -`, _N = "️", mN = "‍"; -let Ho = null, Go = null; -function fN(t) { +const Mr = /[a-z]/, ul = new RegExp("\\p{L}", "u"), dl = new RegExp("\\p{Emoji}", "u"), pl = /\d/, i_ = /\s/, o_ = ` +`, TN = "️", CN = "‍"; +let Vo = null, Yo = null; +function yN(t) { t === void 0 && (t = []); const e = {}; dt.groups = e; const n = new dt(); - Ho == null && (Ho = r_(sN)), Go == null && (Go = r_(lN)), F(n, "'", Ia), F(n, "{", zr), F(n, "[", Bi), F(n, "<", Ui), F(n, "(", Hi), F(n, "}", tr), F(n, "]", $r), F(n, ">", qr), F(n, ")", nr), F(n, "&", Aa), F(n, "*", xa), F(n, "@", vn), F(n, "`", Ma), F(n, "^", wa), F(n, ":", An), F(n, ",", au), F(n, "$", La), F(n, ".", qt), F(n, "=", ka), F(n, "!", su), F(n, "-", Wt), F(n, "%", Pa), F(n, "|", Fa), F(n, "+", Ba), F(n, "#", Ua), F(n, "?", Ha), F(n, '"', lu), F(n, "/", Kt), F(n, ";", cu), F(n, "~", Gi), F(n, "_", Ga), F(n, "\\", Da); - const r = Nt(n, ul, iu, { - [cc]: !0 + Vo == null && (Vo = a_(fN)), Yo == null && (Yo = a_(hN)), F(n, "'", Da), F(n, "{", zr), F(n, "[", Ui), F(n, "<", Hi), F(n, "(", Gi), F(n, "}", tr), F(n, "]", $r), F(n, ">", qr), F(n, ")", nr), F(n, "&", xa), F(n, "*", Ma), F(n, "@", vn), F(n, "`", La), F(n, "^", ka), F(n, ":", An), F(n, ",", cu), F(n, "$", Pa), F(n, ".", qt), F(n, "=", Fa), F(n, "!", uu), F(n, "-", Wt), F(n, "%", Ba), F(n, "|", Ua), F(n, "+", Ha), F(n, "#", Ga), F(n, "?", Va), F(n, '"', du), F(n, "/", Kt), F(n, ";", pu), F(n, "~", Vi), F(n, "_", Ya), F(n, "\\", wa); + const r = Nt(n, pl, su, { + [dc]: !0 }); - Nt(r, ul, r); + Nt(r, pl, r); const i = Nt(n, Mr, un, { - [uc]: !0 + [pc]: !0 }); Nt(i, Mr, i); - const o = Nt(n, ll, _c, { - [dc]: !0 + const o = Nt(n, ul, fc, { + [_c]: !0 }); - Nt(o, Mr), Nt(o, ll, o); - const a = Nt(n, t_, xg, { - [Jp]: !0 + Nt(o, Mr), Nt(o, ul, o); + const a = Nt(n, i_, Lh, { + [n_]: !0 }); - F(n, n_, ou, { - [Jp]: !0 - }), F(a, n_), Nt(a, t_, a); - const s = Nt(n, cl, Dg, { - [Ig]: !0 + F(n, o_, lu, { + [n_]: !0 + }), F(a, o_), Nt(a, i_, a); + const s = Nt(n, dl, kh, { + [wh]: !0 }); - Nt(s, cl, s), F(s, _N, s); - const l = F(s, mN); - Nt(l, cl, s); - const c = [[Mr, i]], u = [[Mr, null], [ll, o]]; - for (let d = 0; d < Ho.length; d++) - bn(n, Ho[d], mc, un, c); - for (let d = 0; d < Go.length; d++) - bn(n, Go[d], fc, _c, u); - or(mc, { + Nt(s, dl, s), F(s, TN, s); + const l = F(s, CN); + Nt(l, dl, s); + const c = [[Mr, i]], u = [[Mr, null], [ul, o]]; + for (let d = 0; d < Vo.length; d++) + bn(n, Vo[d], hc, un, c); + for (let d = 0; d < Yo.length; d++) + bn(n, Yo[d], gc, fc, u); + or(hc, { tld: !0, ascii: !0 - }, e), or(fc, { + }, e), or(gc, { utld: !0, alpha: !0 - }, e), bn(n, "file", oa, un, c), bn(n, "mailto", oa, un, c), bn(n, "http", Ur, un, c), bn(n, "https", Ur, un, c), bn(n, "ftp", Ur, un, c), bn(n, "ftps", Ur, un, c), or(oa, { + }, e), bn(n, "file", sa, un, c), bn(n, "mailto", sa, un, c), bn(n, "http", Ur, un, c), bn(n, "https", Ur, un, c), bn(n, "ftp", Ur, un, c), bn(n, "ftps", Ur, un, c), or(sa, { scheme: !0, ascii: !0 }, e), or(Ur, { @@ -22774,23 +22780,23 @@ function fN(t) { }, e), t = t.sort((d, p) => d[0] > p[0] ? 1 : -1); for (let d = 0; d < t.length; d++) { const p = t[d][0], m = t[d][1] ? { - [cN]: !0 + [gN]: !0 } : { - [uN]: !0 + [EN]: !0 }; - p.indexOf("-") >= 0 ? m[pc] = !0 : Mr.test(p) ? ul.test(p) ? m[ia] = !0 : m[uc] = !0 : m[cc] = !0, e_(n, p, p, m); + p.indexOf("-") >= 0 ? m[mc] = !0 : Mr.test(p) ? pl.test(p) ? m[aa] = !0 : m[pc] = !0 : m[dc] = !0, r_(n, p, p, m); } - return e_(n, "localhost", to, { + return r_(n, "localhost", no, { ascii: !0 - }), n.jd = new dt(Va), { + }), n.jd = new dt(za), { start: n, tokens: li({ groups: e - }, Mg) + }, Ph) }; } -function gN(t, e) { - const n = hN(e.replace(/[A-Z]/g, (s) => s.toLowerCase())), r = n.length, i = []; +function vN(t, e) { + const n = RN(e.replace(/[A-Z]/g, (s) => s.toLowerCase())), r = n.length, i = []; let o = 0, a = 0; for (; a < r; ) { let s = t, l = null, c = 0, u = null, d = -1, p = -1; @@ -22809,7 +22815,7 @@ function gN(t, e) { } return i; } -function hN(t) { +function RN(t) { const e = [], n = t.length; let r = 0; for (; r < n; ) { @@ -22827,7 +22833,7 @@ function bn(t, e, n, r, i) { } return o = new dt(n), o.jr = i.slice(), t.j[e[a - 1]] = o, o; } -function r_(t) { +function a_(t) { const e = [], n = []; let r = 0, i = "0123456789"; for (; r < t.length; ) { @@ -22844,11 +22850,11 @@ function r_(t) { } return e; } -const no = { +const ro = { defaultProtocol: "http", events: null, - format: i_, - formatHref: i_, + format: s_, + formatHref: s_, nl2br: !1, tagName: "a", target: null, @@ -22860,17 +22866,17 @@ const no = { ignoreTags: [], render: null }; -function uu(t, e) { +function _u(t, e) { e === void 0 && (e = null); - let n = li({}, no); - t && (n = li(n, t instanceof uu ? t.o : t)); + let n = li({}, ro); + t && (n = li(n, t instanceof _u ? t.o : t)); const r = n.ignoreTags, i = []; for (let o = 0; o < r.length; o++) i.push(r[o].toUpperCase()); this.o = n, e && (this.defaultRender = e), this.ignoreTags = i; } -uu.prototype = { - o: no, +_u.prototype = { + o: ro, /** * @type string[] */ @@ -22906,7 +22912,7 @@ uu.prototype = { get(t, e, n) { const r = e != null; let i = this.o[t]; - return i && (typeof i == "object" ? (i = n.t in i ? i[n.t] : no[t], typeof i == "function" && r && (i = i(e, n))) : typeof i == "function" && r && (i = i(e, n.t, n)), i); + return i && (typeof i == "object" ? (i = n.t in i ? i[n.t] : ro[t], typeof i == "function" && r && (i = i(e, n))) : typeof i == "function" && r && (i = i(e, n.t, n)), i); }, /** * @template {keyof Opts} L @@ -22931,13 +22937,13 @@ uu.prototype = { return (this.get("render", null, t) || this.defaultRender)(e, t.t, t); } }; -function i_(t) { +function s_(t) { return t; } -function wg(t, e) { +function Fh(t, e) { this.t = "token", this.v = t, this.tk = e; } -wg.prototype = { +Fh.prototype = { isLink: !1, /** * Return the string this token represents. @@ -22996,7 +23002,7 @@ wg.prototype = { @param {string} [protocol] `'http'` by default */ toObject(t) { - return t === void 0 && (t = no.defaultProtocol), { + return t === void 0 && (t = ro.defaultProtocol), { type: this.t, value: this.toString(), isLink: this.isLink, @@ -23041,8 +23047,8 @@ wg.prototype = { }; } }; -function Ts(t, e) { - class n extends wg { +function ys(t, e) { + class n extends Fh { constructor(i, o) { super(i, o), this.t = t; } @@ -23051,12 +23057,12 @@ function Ts(t, e) { n.prototype[r] = e[r]; return n.t = t, n; } -const o_ = Ts("email", { +const l_ = ys("email", { isLink: !0, toHref() { return "mailto:" + this.toString(); } -}), a_ = Ts("text"), EN = Ts("nl"), Zn = Ts("url", { +}), c_ = ys("text"), ON = ys("nl"), Zn = ys("url", { isLink: !0, /** Lowercases relevant parts of the domain and adds the protocol if @@ -23066,7 +23072,7 @@ const o_ = Ts("email", { @return {string} the full href */ toHref(t) { - return t === void 0 && (t = no.defaultProtocol), this.hasProtocol() ? this.v : `${t}://${this.v}`; + return t === void 0 && (t = ro.defaultProtocol), this.hasProtocol() ? this.v : `${t}://${this.v}`; }, /** * Check whether this URL token has a protocol @@ -23074,14 +23080,14 @@ const o_ = Ts("email", { */ hasProtocol() { const t = this.tk; - return t.length >= 2 && t[0].t !== to && t[1].t === An; + return t.length >= 2 && t[0].t !== no && t[1].t === An; } }), Ge = (t) => new dt(t); -function SN(t) { +function NN(t) { let { groups: e } = t; - const n = e.domain.concat([Aa, xa, vn, Da, Ma, wa, La, ka, Wt, iu, Pa, Fa, Ba, Ua, Kt, Va, Gi, Ga]), r = [Ia, qr, tr, $r, nr, An, au, qt, su, Ui, zr, Bi, Hi, Ha, lu, cu], i = [Aa, Ia, xa, Da, Ma, wa, tr, La, ka, Wt, zr, Pa, Fa, Ba, Ua, Ha, Kt, Va, Gi, Ga], o = Ge(), a = F(o, Gi); + const n = e.domain.concat([xa, Ma, vn, wa, La, ka, Pa, Fa, Wt, su, Ba, Ua, Ha, Ga, Kt, za, Vi, Ya]), r = [Da, qr, tr, $r, nr, An, cu, qt, uu, Hi, zr, Ui, Gi, Va, du, pu], i = [xa, Da, Ma, wa, La, ka, tr, Pa, Fa, Wt, zr, Ba, Ua, Ha, Ga, Va, Kt, za, Vi, Ya], o = Ge(), a = F(o, Vi); j(a, i, a), j(a, e.domain, a); const s = Ge(), l = Ge(), c = Ge(); j(o, e.domain, s), j(o, e.scheme, l), j(o, e.slashscheme, c), j(s, i, a), j(s, e.domain, s); @@ -23093,33 +23099,33 @@ function SN(t) { j(u, e.domain, p), j(p, e.domain, p); const _ = F(p, qt); j(_, e.domain, p); - const m = Ge(o_); - j(_, e.tld, m), j(_, e.utld, m), F(u, to, m); + const m = Ge(l_); + j(_, e.tld, m), j(_, e.utld, m), F(u, no, m); const f = F(p, Wt); j(f, e.domain, p), j(m, e.domain, p), F(m, qt, _), F(m, Wt, f); - const g = F(m, An); - j(g, e.numeric, o_); + const h = F(m, An); + j(h, e.numeric, l_); const E = F(s, Wt), S = F(s, qt); j(E, e.domain, s), j(S, i, a), j(S, e.domain, s); const b = Ge(Zn); j(S, e.tld, b), j(S, e.utld, b), j(b, e.domain, s), j(b, i, a), F(b, qt, S), F(b, Wt, E), F(b, vn, u); - const h = F(b, An), C = Ge(Zn); - j(h, e.numeric, C); + const g = F(b, An), C = Ge(Zn); + j(g, e.numeric, C); const T = Ge(Zn), R = Ge(); j(T, n, T), j(T, r, R), j(R, n, T), j(R, r, R), F(b, Kt, T), F(C, Kt, T); const x = F(l, An), O = F(c, An), M = F(O, Kt), B = F(M, Kt); j(l, e.domain, s), F(l, qt, S), F(l, Wt, E), j(c, e.domain, s), F(c, qt, S), F(c, Wt, E), j(x, e.domain, T), F(x, Kt, T), j(B, e.domain, T), j(B, n, T), F(B, Kt, T); - const Y = F(T, zr), $ = F(T, Bi), q = F(T, Ui), V = F(T, Hi); - F(R, zr, Y), F(R, Bi, $), F(R, Ui, q), F(R, Hi, V), F(Y, tr, T), F($, $r, T), F(q, qr, T), F(V, nr, T), F(Y, tr, T); + const Y = F(T, zr), $ = F(T, Ui), q = F(T, Hi), V = F(T, Gi); + F(R, zr, Y), F(R, Ui, $), F(R, Hi, q), F(R, Gi, V), F(Y, tr, T), F($, $r, T), F(q, qr, T), F(V, nr, T), F(Y, tr, T); const J = Ge(Zn), y = Ge(Zn), v = Ge(Zn), A = Ge(Zn); j(Y, n, J), j($, n, y), j(q, n, v), j(V, n, A); const k = Ge(), G = Ge(), z = Ge(), ae = Ge(); - return j(Y, r), j($, r), j(q, r), j(V, r), j(J, n, J), j(y, n, y), j(v, n, v), j(A, n, A), j(J, r, J), j(y, r, y), j(v, r, v), j(A, r, A), j(k, n, k), j(G, n, y), j(z, n, v), j(ae, n, A), j(k, r, k), j(G, r, G), j(z, r, z), j(ae, r, ae), F(y, $r, T), F(v, qr, T), F(A, nr, T), F(J, tr, T), F(G, $r, T), F(z, qr, T), F(ae, nr, T), F(k, nr, T), F(o, to, b), F(o, ou, EN), { + return j(Y, r), j($, r), j(q, r), j(V, r), j(J, n, J), j(y, n, y), j(v, n, v), j(A, n, A), j(J, r, J), j(y, r, y), j(v, r, v), j(A, r, A), j(k, n, k), j(G, n, y), j(z, n, v), j(ae, n, A), j(k, r, k), j(G, r, G), j(z, r, z), j(ae, r, ae), F(y, $r, T), F(v, qr, T), F(A, nr, T), F(J, tr, T), F(G, $r, T), F(z, qr, T), F(ae, nr, T), F(k, nr, T), F(o, no, b), F(o, lu, ON), { start: o, - tokens: Mg + tokens: Ph }; } -function bN(t, e, n) { +function AN(t, e, n) { let r = n.length, i = 0, o = [], a = []; for (; i < r; ) { let s = t, l = null, c = null, u = 0, d = null, p = -1; @@ -23130,19 +23136,19 @@ function bN(t, e, n) { if (p < 0) i -= u, i < r && (a.push(n[i]), i++); else { - a.length > 0 && (o.push(dl(a_, e, a)), a = []), i -= p, u -= p; + a.length > 0 && (o.push(_l(c_, e, a)), a = []), i -= p, u -= p; const _ = d.t, m = n.slice(i - u, i); - o.push(dl(_, e, m)); + o.push(_l(_, e, m)); } } - return a.length > 0 && o.push(dl(a_, e, a)), o; + return a.length > 0 && o.push(_l(c_, e, a)), o; } -function dl(t, e, n) { +function _l(t, e, n) { const r = n[0].s, i = n[n.length - 1].e, o = e.slice(r, i); return new t(o, n); } -const TN = typeof console < "u" && console && console.warn || (() => { -}), CN = "until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.", Ae = { +const IN = typeof console < "u" && console && console.warn || (() => { +}), xN = "until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.", Ae = { scanner: null, parser: null, tokenQueue: [], @@ -23150,24 +23156,24 @@ const TN = typeof console < "u" && console && console.warn || (() => { customSchemes: [], initialized: !1 }; -function yN() { +function DN() { dt.groups = {}, Ae.scanner = null, Ae.parser = null, Ae.tokenQueue = [], Ae.pluginQueue = [], Ae.customSchemes = [], Ae.initialized = !1; } -function s_(t, e) { - if (e === void 0 && (e = !1), Ae.initialized && TN(`linkifyjs: already initialized - will not register custom scheme "${t}" ${CN}`), !/^[0-9a-z]+(-[0-9a-z]+)*$/.test(t)) +function u_(t, e) { + if (e === void 0 && (e = !1), Ae.initialized && IN(`linkifyjs: already initialized - will not register custom scheme "${t}" ${xN}`), !/^[0-9a-z]+(-[0-9a-z]+)*$/.test(t)) throw new Error(`linkifyjs: incorrect scheme format. 1. Must only contain digits, lowercase ASCII letters or "-" 2. Cannot start or end with "-" 3. "-" cannot repeat`); Ae.customSchemes.push([t, e]); } -function vN() { - Ae.scanner = fN(Ae.customSchemes); +function MN() { + Ae.scanner = yN(Ae.customSchemes); for (let t = 0; t < Ae.tokenQueue.length; t++) Ae.tokenQueue[t][1]({ scanner: Ae.scanner }); - Ae.parser = SN(Ae.scanner.tokens); + Ae.parser = NN(Ae.scanner.tokens); for (let t = 0; t < Ae.pluginQueue.length; t++) Ae.pluginQueue[t][1]({ scanner: Ae.scanner, @@ -23175,35 +23181,35 @@ function vN() { }); Ae.initialized = !0; } -function Lg(t) { - return Ae.initialized || vN(), bN(Ae.parser.start, t, gN(Ae.scanner.start, t)); +function Bh(t) { + return Ae.initialized || MN(), AN(Ae.parser.start, t, vN(Ae.scanner.start, t)); } -function kg(t, e, n) { +function Uh(t, e, n) { if (e === void 0 && (e = null), n === void 0 && (n = null), e && typeof e == "object") { if (n) throw Error(`linkifyjs: Invalid link type ${e}; must be a string`); n = e, e = null; } - const r = new uu(n), i = Lg(t), o = []; + const r = new _u(n), i = Bh(t), o = []; for (let a = 0; a < i.length; a++) { const s = i[a]; s.isLink && (!e || s.t === e) && r.check(s) && o.push(s.toFormattedObject(r)); } return o; } -function RN(t) { +function wN(t) { return t.length === 1 ? t[0].isLink : t.length === 3 && t[1].isLink ? ["()", "[]"].includes(t[0].value + t[2].value) : !1; } -function ON(t) { +function LN(t) { return new Se({ key: new ve("autolink"), appendTransaction: (e, n, r) => { const i = e.some((c) => c.docChanged) && !n.doc.eq(r.doc), o = e.some((c) => c.getMeta("preventAutolink")); if (!i || o) return; - const { tr: a } = r, s = wT(n.doc, [...e]); - if (HT(s).forEach(({ newRange: c }) => { - const u = kT(r.doc, c, (_) => _.isTextblock); + const { tr: a } = r, s = GT(n.doc, [...e]); + if (KT(s).forEach(({ newRange: c }) => { + const u = YT(r.doc, c, (_) => _.isTextblock); let d, p; if (u.length > 1 ? (d = u[0], p = r.doc.textBetween(d.pos, d.pos + d.node.nodeSize, void 0, " ")) : u.length && r.doc.textBetween(c.from, c.to, " ", " ").endsWith(" ") && (d = u[0], p = r.doc.textBetween(d.pos, c.to, void 0, " ")), d && p) { const _ = p.split(" ").filter((E) => E !== ""); @@ -23212,15 +23218,15 @@ function ON(t) { const m = _[_.length - 1], f = d.pos + p.lastIndexOf(m); if (!m) return !1; - const g = Lg(m).map((E) => E.toObject(t.defaultProtocol)); - if (!RN(g)) + const h = Bh(m).map((E) => E.toObject(t.defaultProtocol)); + if (!wN(h)) return !1; - g.filter((E) => E.isLink).map((E) => ({ + h.filter((E) => E.isLink).map((E) => ({ ...E, from: f + E.start + 1, to: f + E.end + 1 })).filter((E) => r.schema.marks.code ? !r.doc.rangeHasMark(E.from, E.to, r.schema.marks.code) : !0).filter((E) => t.validate(E.value)).filter((E) => t.shouldAutoLink(E.value)).forEach((E) => { - Vc(E.from, E.to, r.doc).some((S) => S.mark.type === t.type) || a.addMark(E.from, E.to, t.type.create({ + $c(E.from, E.to, r.doc).some((S) => S.mark.type === t.type) || a.addMark(E.from, E.to, t.type.create({ href: E.href })); }); @@ -23230,7 +23236,7 @@ function ON(t) { } }); } -function NN(t) { +function kN(t) { return new Se({ key: new ve("handleClickLink"), props: { @@ -23244,13 +23250,13 @@ function NN(t) { s.push(a), a = a.parentNode; if (!s.find((p) => p.nodeName === "A")) return !1; - const l = Mf(e.state, t.type.name), c = r.target, u = (i = c == null ? void 0 : c.href) !== null && i !== void 0 ? i : l.href, d = (o = c == null ? void 0 : c.target) !== null && o !== void 0 ? o : l.target; + const l = Pf(e.state, t.type.name), c = r.target, u = (i = c == null ? void 0 : c.href) !== null && i !== void 0 ? i : l.href, d = (o = c == null ? void 0 : c.target) !== null && o !== void 0 ? o : l.target; return c && u ? (window.open(u, d), !0) : !1; } } }); } -function AN(t) { +function PN(t) { return new Se({ key: new ve("handlePasteLink"), props: { @@ -23262,7 +23268,7 @@ function AN(t) { r.content.forEach((c) => { s += c.textContent; }); - const l = kg(s, { defaultProtocol: t.defaultProtocol }).find((c) => c.isLink && c.value === s); + const l = Uh(s, { defaultProtocol: t.defaultProtocol }).find((c) => c.isLink && c.value === s); return !s || !l ? !1 : (t.editor.commands.setMark(t.type, { href: l.href }), !0); @@ -23270,8 +23276,8 @@ function AN(t) { } }); } -const IN = /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g; -function vi(t, e) { +const FN = /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g; +function Ri(t, e) { const n = [ "http", "https", @@ -23287,13 +23293,13 @@ function vi(t, e) { return e && e.forEach((r) => { const i = typeof r == "string" ? r : r.scheme; i && n.push(i); - }), !t || t.replace(IN, "").match(new RegExp( + }), !t || t.replace(FN, "").match(new RegExp( // eslint-disable-next-line no-useless-escape `^(?:(?:${n.join("|")}):|[^a-z]|[a-z+.-]+(?:[^a-z+.-:]|$))`, "i" )); } -const xN = ft.create({ +const BN = ft.create({ name: "link", priority: 1e3, keepOnSplit: !1, @@ -23301,14 +23307,14 @@ const xN = ft.create({ onCreate() { this.options.validate && !this.options.shouldAutoLink && (this.options.shouldAutoLink = this.options.validate, console.warn("The `validate` option is deprecated. Rename to the `shouldAutoLink` option instead.")), this.options.protocols.forEach((t) => { if (typeof t == "string") { - s_(t); + u_(t); return; } - s_(t.scheme, t.optionalSlashes); + u_(t.scheme, t.optionalSlashes); }); }, onDestroy() { - yN(); + DN(); }, inclusive() { return this.options.autolink; @@ -23325,7 +23331,7 @@ const xN = ft.create({ rel: "noopener noreferrer nofollow", class: null }, - isAllowedUri: (t, e) => !!vi(t, e.protocols), + isAllowedUri: (t, e) => !!Ri(t, e.protocols), validate: (t) => !!t, shouldAutoLink: (t) => !!t }; @@ -23356,7 +23362,7 @@ const xN = ft.create({ getAttrs: (t) => { const e = t.getAttribute("href"); return !e || !this.options.isAllowedUri(e, { - defaultValidate: (n) => !!vi(n, this.options.protocols), + defaultValidate: (n) => !!Ri(n, this.options.protocols), protocols: this.options.protocols, defaultProtocol: this.options.defaultProtocol }) ? !1 : null; @@ -23366,7 +23372,7 @@ const xN = ft.create({ }, renderHTML({ HTMLAttributes: t }) { return this.options.isAllowedUri(t.href, { - defaultValidate: (e) => !!vi(e, this.options.protocols), + defaultValidate: (e) => !!Ri(e, this.options.protocols), protocols: this.options.protocols, defaultProtocol: this.options.defaultProtocol }) ? ["a", pe(this.options.HTMLAttributes, t), 0] : [ @@ -23388,8 +23394,8 @@ const xN = ft.create({ find: (t) => { const e = []; if (t) { - const { protocols: n, defaultProtocol: r } = this.options, i = kg(t).filter((o) => o.isLink && this.options.isAllowedUri(o.value, { - defaultValidate: (a) => !!vi(a, n), + const { protocols: n, defaultProtocol: r } = this.options, i = Uh(t).filter((o) => o.isLink && this.options.isAllowedUri(o.value, { + defaultValidate: (a) => !!Ri(a, n), protocols: n, defaultProtocol: r })); @@ -23415,24 +23421,24 @@ const xN = ft.create({ }, addProseMirrorPlugins() { const t = [], { protocols: e, defaultProtocol: n } = this.options; - return this.options.autolink && t.push(ON({ + return this.options.autolink && t.push(LN({ type: this.type, defaultProtocol: this.options.defaultProtocol, validate: (r) => this.options.isAllowedUri(r, { - defaultValidate: (i) => !!vi(i, e), + defaultValidate: (i) => !!Ri(i, e), protocols: e, defaultProtocol: n }), shouldAutoLink: this.options.shouldAutoLink - })), this.options.openOnClick === !0 && t.push(NN({ + })), this.options.openOnClick === !0 && t.push(kN({ type: this.type - })), this.options.linkOnPaste && t.push(AN({ + })), this.options.linkOnPaste && t.push(PN({ editor: this.editor, defaultProtocol: this.options.defaultProtocol, type: this.type })), t; } -}), DN = ft.create({ +}), UN = ft.create({ name: "superscript", addOptions() { return { @@ -23467,7 +23473,7 @@ const xN = ft.create({ "Mod-.": () => this.editor.commands.toggleSuperscript() }; } -}), MN = ft.create({ +}), HN = ft.create({ name: "subscript", addOptions() { return { @@ -23502,7 +23508,7 @@ const xN = ft.create({ "Mod-,": () => this.editor.commands.toggleSubscript() }; } -}), wN = Ne.create({ +}), GN = Ne.create({ name: "taskList", addOptions() { return { @@ -23535,7 +23541,7 @@ const xN = ft.create({ "Mod-Shift-9": () => this.editor.commands.toggleTaskList() }; } -}), LN = /^\s*(\[([( |x])?\])\s$/, kN = Ne.create({ +}), VN = /^\s*(\[([( |x])?\])\s$/, YN = Ne.create({ name: "taskItem", addOptions() { return { @@ -23634,7 +23640,7 @@ const xN = ft.create({ addInputRules() { return [ Sr({ - find: LN, + find: VN, type: this.type, getAttributes: (t) => ({ checked: t[t.length - 1] === "x" @@ -23643,20 +23649,20 @@ const xN = ft.create({ ]; } }); -function PN(t) { +function zN(t) { return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t; } -function Pg(t) { +function Hh(t) { return t instanceof Map ? t.clear = t.delete = t.set = function() { throw new Error("map is read-only"); } : t instanceof Set && (t.add = t.clear = t.delete = function() { throw new Error("set is read-only"); }), Object.freeze(t), Object.getOwnPropertyNames(t).forEach((e) => { const n = t[e], r = typeof n; - (r === "object" || r === "function") && !Object.isFrozen(n) && Pg(n); + (r === "object" || r === "function") && !Object.isFrozen(n) && Hh(n); }), t; } -let l_ = class { +let d_ = class { /** * @param {CompiledMode} mode */ @@ -23667,7 +23673,7 @@ let l_ = class { this.isMatchIgnored = !0; } }; -function Fg(t) { +function Gh(t) { return t.replace(/&/g, "&").replace(//g, ">").replace(/"/g, """).replace(/'/g, "'"); } function Ln(t, ...e) { @@ -23680,7 +23686,7 @@ function Ln(t, ...e) { }), /** @type {T} */ n; } -const FN = "", c_ = (t) => !!t.scope, BN = (t, { prefix: e }) => { +const $N = "", p_ = (t) => !!t.scope, qN = (t, { prefix: e }) => { if (t.startsWith("language:")) return t.replace("language:", "language-"); if (t.includes(".")) { @@ -23692,7 +23698,7 @@ const FN = "", c_ = (t) => !!t.scope, BN = (t, { prefix: e }) => { } return `${e}${t}`; }; -let UN = class { +let WN = class { /** * Creates a new HTMLRenderer * @@ -23707,15 +23713,15 @@ let UN = class { * * @param {string} text */ addText(e) { - this.buffer += Fg(e); + this.buffer += Gh(e); } /** * Adds a node open to the output stream (if needed) * * @param {Node} node */ openNode(e) { - if (!c_(e)) return; - const n = BN( + if (!p_(e)) return; + const n = qN( e.scope, { prefix: this.classPrefix } ); @@ -23726,7 +23732,7 @@ let UN = class { * * @param {Node} node */ closeNode(e) { - c_(e) && (this.buffer += FN); + p_(e) && (this.buffer += $N); } /** * returns the accumulated buffer @@ -23743,13 +23749,13 @@ let UN = class { this.buffer += ``; } }; -const u_ = (t = {}) => { +const __ = (t = {}) => { const e = { children: [] }; return Object.assign(e, t), e; }; -let HN = class Bg { +let KN = class Vh { constructor() { - this.rootNode = u_(), this.stack = [this.rootNode]; + this.rootNode = __(), this.stack = [this.rootNode]; } get top() { return this.stack[this.stack.length - 1]; @@ -23763,7 +23769,7 @@ let HN = class Bg { } /** @param {string} scope */ openNode(e) { - const n = u_({ scope: e }); + const n = __({ scope: e }); this.add(n), this.stack.push(n); } closeNode() { @@ -23795,10 +23801,10 @@ let HN = class Bg { */ static _collapse(e) { typeof e != "string" && e.children && (e.children.every((n) => typeof n == "string") ? e.children = [e.children.join("")] : e.children.forEach((n) => { - Bg._collapse(n); + Vh._collapse(n); })); } -}, GN = class extends HN { +}, QN = class extends KN { /** * @param {*} options */ @@ -23827,50 +23833,50 @@ let HN = class Bg { n && (r.scope = `language:${n}`), this.add(r); } toHTML() { - return new UN(this, this.options).value(); + return new WN(this, this.options).value(); } finalize() { return this.closeAllNodes(), !0; } }; -function ro(t) { +function io(t) { return t ? typeof t == "string" ? t : t.source : null; } -function Ug(t) { +function Yh(t) { return yr("(?=", t, ")"); } -function VN(t) { +function ZN(t) { return yr("(?:", t, ")*"); } -function YN(t) { +function XN(t) { return yr("(?:", t, ")?"); } function yr(...t) { - return t.map((n) => ro(n)).join(""); + return t.map((n) => io(n)).join(""); } -function zN(t) { +function jN(t) { const e = t[t.length - 1]; return typeof e == "object" && e.constructor === Object ? (t.splice(t.length - 1, 1), e) : {}; } -function du(...t) { - return "(" + (zN(t).capture ? "" : "?:") + t.map((r) => ro(r)).join("|") + ")"; +function mu(...t) { + return "(" + (jN(t).capture ? "" : "?:") + t.map((r) => io(r)).join("|") + ")"; } -function Hg(t) { +function zh(t) { return new RegExp(t.toString() + "|").exec("").length - 1; } -function $N(t, e) { +function JN(t, e) { const n = t && t.exec(e); return n && n.index === 0; } -const qN = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./; -function pu(t, { joinWith: e }) { +const eA = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./; +function fu(t, { joinWith: e }) { let n = 0; return t.map((r) => { n += 1; const i = n; - let o = ro(r), a = ""; + let o = io(r), a = ""; for (; o.length > 0; ) { - const s = qN.exec(o); + const s = eA.exec(o); if (!s) { a += o; break; @@ -23880,7 +23886,7 @@ function pu(t, { joinWith: e }) { return a; }).map((r) => `(${r})`).join(e); } -const WN = /\b\B/, Gg = "[a-zA-Z]\\w*", _u = "[a-zA-Z_]\\w*", Vg = "\\b\\d+(\\.\\d+)?", Yg = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", zg = "\\b(0b[01]+)", KN = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", QN = (t = {}) => { +const tA = /\b\B/, $h = "[a-zA-Z]\\w*", hu = "[a-zA-Z_]\\w*", qh = "\\b\\d+(\\.\\d+)?", Wh = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", Kh = "\\b(0b[01]+)", nA = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", rA = (t = {}) => { const e = /^#![ ]*\//; return t.binary && (t.begin = yr( e, @@ -23897,24 +23903,24 @@ const WN = /\b\B/, Gg = "[a-zA-Z]\\w*", _u = "[a-zA-Z_]\\w*", Vg = "\\b\\d+(\\.\ n.index !== 0 && r.ignoreMatch(); } }, t); -}, io = { +}, oo = { begin: "\\\\[\\s\\S]", relevance: 0 -}, ZN = { +}, iA = { scope: "string", begin: "'", end: "'", illegal: "\\n", - contains: [io] -}, XN = { + contains: [oo] +}, oA = { scope: "string", begin: '"', end: '"', illegal: "\\n", - contains: [io] -}, jN = { + contains: [oo] +}, aA = { begin: /\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/ -}, Cs = function(t, e, n = {}) { +}, vs = function(t, e, n = {}) { const r = Ln( { scope: "comment", @@ -23933,7 +23939,7 @@ const WN = /\b\B/, Gg = "[a-zA-Z]\\w*", _u = "[a-zA-Z_]\\w*", Vg = "\\b\\d+(\\.\ excludeBegin: !0, relevance: 0 }); - const i = du( + const i = mu( // list of common 1 and 2 letter words in English "I", "a", @@ -23980,44 +23986,44 @@ const WN = /\b\B/, Gg = "[a-zA-Z]\\w*", _u = "[a-zA-Z_]\\w*", Vg = "\\b\\d+(\\.\ // look for 3 words in a row } ), r; -}, JN = Cs("//", "$"), eA = Cs("/\\*", "\\*/"), tA = Cs("#", "$"), nA = { +}, sA = vs("//", "$"), lA = vs("/\\*", "\\*/"), cA = vs("#", "$"), uA = { scope: "number", - begin: Vg, + begin: qh, relevance: 0 -}, rA = { +}, dA = { scope: "number", - begin: Yg, + begin: Wh, relevance: 0 -}, iA = { +}, pA = { scope: "number", - begin: zg, + begin: Kh, relevance: 0 -}, oA = { +}, _A = { scope: "regexp", begin: /\/(?=[^/\n]*\/)/, end: /\/[gimuy]*/, contains: [ - io, + oo, { begin: /\[/, end: /\]/, relevance: 0, - contains: [io] + contains: [oo] } ] -}, aA = { +}, mA = { scope: "title", - begin: Gg, + begin: $h, relevance: 0 -}, sA = { +}, fA = { scope: "title", - begin: _u, + begin: hu, relevance: 0 -}, lA = { +}, hA = { // excludes method names from keyword processing - begin: "\\.\\s*" + _u, + begin: "\\.\\s*" + hu, relevance: 0 -}, cA = function(t) { +}, gA = function(t) { return Object.assign( t, { @@ -24032,67 +24038,67 @@ const WN = /\b\B/, Gg = "[a-zA-Z]\\w*", _u = "[a-zA-Z_]\\w*", Vg = "\\b\\d+(\\.\ } ); }; -var Vo = /* @__PURE__ */ Object.freeze({ +var zo = /* @__PURE__ */ Object.freeze({ __proto__: null, - APOS_STRING_MODE: ZN, - BACKSLASH_ESCAPE: io, - BINARY_NUMBER_MODE: iA, - BINARY_NUMBER_RE: zg, - COMMENT: Cs, - C_BLOCK_COMMENT_MODE: eA, - C_LINE_COMMENT_MODE: JN, - C_NUMBER_MODE: rA, - C_NUMBER_RE: Yg, - END_SAME_AS_BEGIN: cA, - HASH_COMMENT_MODE: tA, - IDENT_RE: Gg, - MATCH_NOTHING_RE: WN, - METHOD_GUARD: lA, - NUMBER_MODE: nA, - NUMBER_RE: Vg, - PHRASAL_WORDS_MODE: jN, - QUOTE_STRING_MODE: XN, - REGEXP_MODE: oA, - RE_STARTERS_RE: KN, - SHEBANG: QN, - TITLE_MODE: aA, - UNDERSCORE_IDENT_RE: _u, - UNDERSCORE_TITLE_MODE: sA + APOS_STRING_MODE: iA, + BACKSLASH_ESCAPE: oo, + BINARY_NUMBER_MODE: pA, + BINARY_NUMBER_RE: Kh, + COMMENT: vs, + C_BLOCK_COMMENT_MODE: lA, + C_LINE_COMMENT_MODE: sA, + C_NUMBER_MODE: dA, + C_NUMBER_RE: Wh, + END_SAME_AS_BEGIN: gA, + HASH_COMMENT_MODE: cA, + IDENT_RE: $h, + MATCH_NOTHING_RE: tA, + METHOD_GUARD: hA, + NUMBER_MODE: uA, + NUMBER_RE: qh, + PHRASAL_WORDS_MODE: aA, + QUOTE_STRING_MODE: oA, + REGEXP_MODE: _A, + RE_STARTERS_RE: nA, + SHEBANG: rA, + TITLE_MODE: mA, + UNDERSCORE_IDENT_RE: hu, + UNDERSCORE_TITLE_MODE: fA }); -function uA(t, e) { +function EA(t, e) { t.input[t.index - 1] === "." && e.ignoreMatch(); } -function dA(t, e) { +function SA(t, e) { t.className !== void 0 && (t.scope = t.className, delete t.className); } -function pA(t, e) { - e && t.beginKeywords && (t.begin = "\\b(" + t.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", t.__beforeBegin = uA, t.keywords = t.keywords || t.beginKeywords, delete t.beginKeywords, t.relevance === void 0 && (t.relevance = 0)); +function bA(t, e) { + e && t.beginKeywords && (t.begin = "\\b(" + t.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", t.__beforeBegin = EA, t.keywords = t.keywords || t.beginKeywords, delete t.beginKeywords, t.relevance === void 0 && (t.relevance = 0)); } -function _A(t, e) { - Array.isArray(t.illegal) && (t.illegal = du(...t.illegal)); +function TA(t, e) { + Array.isArray(t.illegal) && (t.illegal = mu(...t.illegal)); } -function mA(t, e) { +function CA(t, e) { if (t.match) { if (t.begin || t.end) throw new Error("begin & end are not supported with match"); t.begin = t.match, delete t.match; } } -function fA(t, e) { +function yA(t, e) { t.relevance === void 0 && (t.relevance = 1); } -const gA = (t, e) => { +const vA = (t, e) => { if (!t.beforeMatch) return; if (t.starts) throw new Error("beforeMatch cannot be used with starts"); const n = Object.assign({}, t); Object.keys(t).forEach((r) => { delete t[r]; - }), t.keywords = n.keywords, t.begin = yr(n.beforeMatch, Ug(n.begin)), t.starts = { + }), t.keywords = n.keywords, t.begin = yr(n.beforeMatch, Yh(n.begin)), t.starts = { relevance: 0, contains: [ Object.assign(n, { endsParent: !0 }) ] }, t.relevance = 0, delete n.beforeMatch; -}, hA = [ +}, RA = [ "of", "and", "for", @@ -24107,70 +24113,70 @@ const gA = (t, e) => { // common variable name "value" // common variable name -], EA = "keyword"; -function $g(t, e, n = EA) { +], OA = "keyword"; +function Qh(t, e, n = OA) { const r = /* @__PURE__ */ Object.create(null); return typeof t == "string" ? i(n, t.split(" ")) : Array.isArray(t) ? i(n, t) : Object.keys(t).forEach(function(o) { Object.assign( r, - $g(t[o], e, o) + Qh(t[o], e, o) ); }), r; function i(o, a) { e && (a = a.map((s) => s.toLowerCase())), a.forEach(function(s) { const l = s.split("|"); - r[l[0]] = [o, SA(l[0], l[1])]; + r[l[0]] = [o, NA(l[0], l[1])]; }); } } -function SA(t, e) { - return e ? Number(e) : bA(t) ? 0 : 1; +function NA(t, e) { + return e ? Number(e) : AA(t) ? 0 : 1; } -function bA(t) { - return hA.includes(t.toLowerCase()); +function AA(t) { + return RA.includes(t.toLowerCase()); } -const d_ = {}, pr = (t) => { +const m_ = {}, pr = (t) => { console.error(t); -}, p_ = (t, ...e) => { +}, f_ = (t, ...e) => { console.log(`WARN: ${t}`, ...e); }, wr = (t, e) => { - d_[`${t}/${e}`] || (console.log(`Deprecated as of ${t}. ${e}`), d_[`${t}/${e}`] = !0); -}, Ya = new Error(); -function qg(t, e, { key: n }) { + m_[`${t}/${e}`] || (console.log(`Deprecated as of ${t}. ${e}`), m_[`${t}/${e}`] = !0); +}, $a = new Error(); +function Zh(t, e, { key: n }) { let r = 0; const i = t[n], o = {}, a = {}; for (let s = 1; s <= e.length; s++) - a[s + r] = i[s], o[s + r] = !0, r += Hg(e[s - 1]); + a[s + r] = i[s], o[s + r] = !0, r += zh(e[s - 1]); t[n] = a, t[n]._emit = o, t[n]._multi = !0; } -function TA(t) { +function IA(t) { if (Array.isArray(t.begin)) { if (t.skip || t.excludeBegin || t.returnBegin) - throw pr("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), Ya; + throw pr("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), $a; if (typeof t.beginScope != "object" || t.beginScope === null) - throw pr("beginScope must be object"), Ya; - qg(t, t.begin, { key: "beginScope" }), t.begin = pu(t.begin, { joinWith: "" }); + throw pr("beginScope must be object"), $a; + Zh(t, t.begin, { key: "beginScope" }), t.begin = fu(t.begin, { joinWith: "" }); } } -function CA(t) { +function xA(t) { if (Array.isArray(t.end)) { if (t.skip || t.excludeEnd || t.returnEnd) - throw pr("skip, excludeEnd, returnEnd not compatible with endScope: {}"), Ya; + throw pr("skip, excludeEnd, returnEnd not compatible with endScope: {}"), $a; if (typeof t.endScope != "object" || t.endScope === null) - throw pr("endScope must be object"), Ya; - qg(t, t.end, { key: "endScope" }), t.end = pu(t.end, { joinWith: "" }); + throw pr("endScope must be object"), $a; + Zh(t, t.end, { key: "endScope" }), t.end = fu(t.end, { joinWith: "" }); } } -function yA(t) { +function DA(t) { t.scope && typeof t.scope == "object" && t.scope !== null && (t.beginScope = t.scope, delete t.scope); } -function vA(t) { - yA(t), typeof t.beginScope == "string" && (t.beginScope = { _wrap: t.beginScope }), typeof t.endScope == "string" && (t.endScope = { _wrap: t.endScope }), TA(t), CA(t); +function MA(t) { + DA(t), typeof t.beginScope == "string" && (t.beginScope = { _wrap: t.beginScope }), typeof t.endScope == "string" && (t.endScope = { _wrap: t.endScope }), IA(t), xA(t); } -function RA(t) { +function wA(t) { function e(a, s) { return new RegExp( - ro(a), + io(a), "m" + (t.case_insensitive ? "i" : "") + (t.unicodeRegex ? "u" : "") + (s ? "g" : "") ); } @@ -24180,12 +24186,12 @@ function RA(t) { } // @ts-ignore addRule(s, l) { - l.position = this.position++, this.matchIndexes[this.matchAt] = l, this.regexes.push([l, s]), this.matchAt += Hg(s) + 1; + l.position = this.position++, this.matchIndexes[this.matchAt] = l, this.regexes.push([l, s]), this.matchAt += zh(s) + 1; } compile() { this.regexes.length === 0 && (this.exec = () => null); const s = this.regexes.map((l) => l[1]); - this.matcherRe = e(pu(s, { joinWith: "|" }), !0), this.lastIndex = 0; + this.matcherRe = e(fu(s, { joinWith: "|" }), !0), this.lastIndex = 0; } /** @param {string} s */ exec(s) { @@ -24240,26 +24246,26 @@ function RA(t) { ); if (a.isCompiled) return l; [ - dA, + SA, // do this early so compiler extensions generally don't have to worry about // the distinction between match/begin - mA, - vA, - gA + CA, + MA, + vA ].forEach((u) => u(a, s)), t.compilerExtensions.forEach((u) => u(a, s)), a.__beforeBegin = null, [ - pA, + bA, // do this later so compiler extensions that come earlier have access to the // raw array if they wanted to perhaps manipulate it, etc. - _A, + TA, // default to 1 relevance if not specified - fA + yA ].forEach((u) => u(a, s)), a.isCompiled = !0; let c = null; - return typeof a.keywords == "object" && a.keywords.$pattern && (a.keywords = Object.assign({}, a.keywords), c = a.keywords.$pattern, delete a.keywords.$pattern), c = c || /\w+/, a.keywords && (a.keywords = $g(a.keywords, t.case_insensitive)), l.keywordPatternRe = e(c, !0), s && (a.begin || (a.begin = /\B|\b/), l.beginRe = e(l.begin), !a.end && !a.endsWithParent && (a.end = /\B|\b/), a.end && (l.endRe = e(l.end)), l.terminatorEnd = ro(l.end) || "", a.endsWithParent && s.terminatorEnd && (l.terminatorEnd += (a.end ? "|" : "") + s.terminatorEnd)), a.illegal && (l.illegalRe = e( + return typeof a.keywords == "object" && a.keywords.$pattern && (a.keywords = Object.assign({}, a.keywords), c = a.keywords.$pattern, delete a.keywords.$pattern), c = c || /\w+/, a.keywords && (a.keywords = Qh(a.keywords, t.case_insensitive)), l.keywordPatternRe = e(c, !0), s && (a.begin || (a.begin = /\B|\b/), l.beginRe = e(l.begin), !a.end && !a.endsWithParent && (a.end = /\B|\b/), a.end && (l.endRe = e(l.end)), l.terminatorEnd = io(l.end) || "", a.endsWithParent && s.terminatorEnd && (l.terminatorEnd += (a.end ? "|" : "") + s.terminatorEnd)), a.illegal && (l.illegalRe = e( /** @type {RegExp | string} */ a.illegal )), a.contains || (a.contains = []), a.contains = [].concat(...a.contains.map(function(u) { - return OA(u === "self" ? a : u); + return LA(u === "self" ? a : u); })), a.contains.forEach(function(u) { o( /** @type Mode */ @@ -24275,21 +24281,21 @@ function RA(t) { t ); } -function Wg(t) { - return t ? t.endsWithParent || Wg(t.starts) : !1; +function Xh(t) { + return t ? t.endsWithParent || Xh(t.starts) : !1; } -function OA(t) { +function LA(t) { return t.variants && !t.cachedVariants && (t.cachedVariants = t.variants.map(function(e) { return Ln(t, { variants: null }, e); - })), t.cachedVariants ? t.cachedVariants : Wg(t) ? Ln(t, { starts: t.starts ? Ln(t.starts) : null }) : Object.isFrozen(t) ? Ln(t) : t; + })), t.cachedVariants ? t.cachedVariants : Xh(t) ? Ln(t, { starts: t.starts ? Ln(t.starts) : null }) : Object.isFrozen(t) ? Ln(t) : t; } -var NA = "11.10.0"; -let AA = class extends Error { +var kA = "11.10.0"; +let PA = class extends Error { constructor(e, n) { super(e), this.name = "HTMLInjectionError", this.html = n; } }; -const pl = Fg, __ = Ln, m_ = Symbol("nomatch"), IA = 7, Kg = function(t) { +const ml = Gh, h_ = Ln, g_ = Symbol("nomatch"), FA = 7, jh = function(t) { const e = /* @__PURE__ */ Object.create(null), n = /* @__PURE__ */ Object.create(null), r = []; let i = !0; const o = "Could not find the language '{}', did you forget to load/include a language module?", a = { disableAutodetect: !0, name: "Plain text", contains: [] }; @@ -24303,7 +24309,7 @@ const pl = Fg, __ = Ln, m_ = Symbol("nomatch"), IA = 7, Kg = function(t) { languages: null, // beta configuration options, subject to change, welcome to discuss // https://github.com/highlightjs/highlight.js/issues/1086 - __emitter: GN + __emitter: QN }; function l(y) { return s.noHighlightRe.test(y); @@ -24314,7 +24320,7 @@ const pl = Fg, __ = Ln, m_ = Symbol("nomatch"), IA = 7, Kg = function(t) { const A = s.languageDetectRe.exec(v); if (A) { const k = O(A[1]); - return k || (p_(o.replace("{}", A[1])), p_("Falling back to no-highlight mode for this block.", y)), k ? A[1] : "no-highlight"; + return k || (f_(o.replace("{}", A[1])), f_("Falling back to no-highlight mode for this block.", y)), k ? A[1] : "no-highlight"; } return v.split(/\s+/).find((k) => l(k) || O(k)); } @@ -24345,13 +24351,13 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = y, k = v), A === let D = P.keywordPatternRe.exec(X), U = ""; for (; D; ) { U += X.substring(N, D.index); - const K = he.case_insensitive ? D[0].toLowerCase() : D[0], _e = z(P, K); + const K = ge.case_insensitive ? D[0].toLowerCase() : D[0], _e = z(P, K); if (_e) { const [De, Rr] = _e; - if (oe.addText(U), U = "", G[K] = (G[K] || 0) + 1, G[K] <= IA && (He += Rr), De.startsWith("_")) + if (oe.addText(U), U = "", G[K] = (G[K] || 0) + 1, G[K] <= FA && (He += Rr), De.startsWith("_")) U += D[0]; else { - const I = he.classNameAliases[De] || De; + const I = ge.classNameAliases[De] || De; ue(D[0], I); } } else @@ -24388,18 +24394,18 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = y, k = v), A === U++; continue; } - const _e = he.classNameAliases[N[U]] || N[U], De = D[U]; + const _e = ge.classNameAliases[N[U]] || N[U], De = D[U]; _e ? ue(De, _e) : (X = De, ae(), X = ""), U++; } } function Le(N, D) { - return N.scope && typeof N.scope == "string" && oe.openNode(he.classNameAliases[N.scope] || N.scope), N.beginScope && (N.beginScope._wrap ? (ue(X, he.classNameAliases[N.beginScope._wrap] || N.beginScope._wrap), X = "") : N.beginScope._multi && (Be(N.beginScope, D), X = "")), P = Object.create(N, { parent: { value: P } }), P; + return N.scope && typeof N.scope == "string" && oe.openNode(ge.classNameAliases[N.scope] || N.scope), N.beginScope && (N.beginScope._wrap ? (ue(X, ge.classNameAliases[N.beginScope._wrap] || N.beginScope._wrap), X = "") : N.beginScope._multi && (Be(N.beginScope, D), X = "")), P = Object.create(N, { parent: { value: P } }), P; } function We(N, D, U) { - let K = $N(N.endRe, U); + let K = JN(N.endRe, U); if (K) { if (N["on:end"]) { - const _e = new l_(N); + const _e = new d_(N); N["on:end"](D, _e), _e.isMatchIgnored && (K = !1); } if (K) { @@ -24414,8 +24420,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = y, k = v), A === function Ke(N) { return P.matcher.regexIndex === 0 ? (X += N[0], 1) : (bt = !0, 0); } - function ht(N) { - const D = N[0], U = N.rule, K = new l_(U), _e = [U.__beforeBegin, U["on:begin"]]; + function gt(N) { + const D = N[0], U = N.rule, K = new d_(U), _e = [U.__beforeBegin, U["on:begin"]]; for (const De of _e) if (De && (De(N, K), K.isMatchIgnored)) return Ke(D); @@ -24424,7 +24430,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = y, k = v), A === function Ft(N) { const D = N[0], U = v.substring(N.index), K = We(P, N, U); if (!K) - return m_; + return g_; const _e = P; P.endScope && P.endScope._wrap ? (ie(), ue(D, P.endScope._wrap)) : P.endScope && P.endScope._multi ? (ie(), Be(P.endScope, N)) : _e.skip ? X += D : (_e.returnEnd || _e.excludeEnd || (X += D), ie(), _e.excludeEnd && (X = D)); do @@ -24434,7 +24440,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = y, k = v), A === } function de() { const N = []; - for (let D = P; D !== he; D = D.parent) + for (let D = P; D !== ge; D = D.parent) D.scope && N.unshift(D.scope); N.forEach((D) => oe.openNode(D)); } @@ -24451,13 +24457,13 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = y, k = v), A === return 1; } if (Pe = D, D.type === "begin") - return ht(D); + return gt(D); if (D.type === "illegal" && !A) { const K = new Error('Illegal lexeme "' + U + '" for mode "' + (P.scope || "") + '"'); throw K.mode = P, K; } else if (D.type === "end") { const K = Ft(D); - if (K !== m_) + if (K !== g_) return K; } if (D.type === "illegal" && U === "") @@ -24466,17 +24472,17 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = y, k = v), A === throw new Error("potential infinite loop, way more iterations than matches"); return X += U, U.length; } - const he = O(y); - if (!he) + const ge = O(y); + if (!ge) throw pr(o.replace("{}", y)), new Error('Unknown language: "' + y + '"'); - const zt = RA(he); + const zt = wA(ge); let Et = "", P = k || zt; const et = {}, oe = new s.__emitter(s); de(); let X = "", He = 0, xe = 0, St = 0, bt = !1; try { - if (he.__emitTokens) - he.__emitTokens(v, oe); + if (ge.__emitTokens) + ge.__emitTokens(v, oe); else { for (P.matcher.considerAll(); ; ) { St++, bt ? bt = !1 : P.matcher.considerAll(), P.matcher.lastIndex = xe; @@ -24499,7 +24505,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = y, k = v), A === if (N.message && N.message.includes("Illegal")) return { language: y, - value: pl(v), + value: ml(v), illegal: !0, relevance: 0, _illegalBy: { @@ -24514,7 +24520,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = y, k = v), A === if (i) return { language: y, - value: pl(v), + value: ml(v), illegal: !1, relevance: 0, errorRaised: N, @@ -24526,7 +24532,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = y, k = v), A === } function p(y) { const v = { - value: pl(y), + value: ml(y), illegal: !1, relevance: 0, _top: a, @@ -24568,7 +24574,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = y, k = v), A === return; } if (y.children.length > 0 && (s.ignoreUnescapedHTML || (console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."), console.warn("https://github.com/highlightjs/highlight.js/wiki/security"), console.warn("The element with unescaped HTML:"), console.warn(y)), s.throwUnescapedHTML)) - throw new AA( + throw new PA( "One of your code blocks includes unescaped HTML.", y.innerHTML ); @@ -24584,17 +24590,17 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = y, k = v), A === relevance: G.secondBest.relevance }), V("after:highlightElement", { el: y, result: G, text: k }); } - function g(y) { - s = __(s, y); + function h(y) { + s = h_(s, y); } const E = () => { - h(), wr("10.6.0", "initHighlighting() deprecated. Use highlightAll() now."); + g(), wr("10.6.0", "initHighlighting() deprecated. Use highlightAll() now."); }; function S() { - h(), wr("10.6.0", "initHighlightingOnLoad() deprecated. Use highlightAll() now."); + g(), wr("10.6.0", "initHighlightingOnLoad() deprecated. Use highlightAll() now."); } let b = !1; - function h() { + function g() { if (document.readyState === "loading") { b = !0; return; @@ -24602,7 +24608,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = y, k = v), A === document.querySelectorAll(s.cssSelector).forEach(f); } function C() { - b && h(); + b && g(); } typeof window < "u" && window.addEventListener && window.addEventListener("DOMContentLoaded", C, !1); function T(y, v) { @@ -24668,11 +24674,11 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = y, k = v), A === Object.assign(t, { highlight: u, highlightAuto: _, - highlightAll: h, + highlightAll: g, highlightElement: f, // TODO: Remove with v12 API highlightBlock: J, - configure: g, + configure: h, initHighlighting: E, initHighlightingOnLoad: S, registerLanguage: T, @@ -24681,51 +24687,51 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = y, k = v), A === getLanguage: O, registerAliases: M, autoDetection: B, - inherit: __, + inherit: h_, addPlugin: $, removePlugin: q }), t.debugMode = function() { i = !1; }, t.safeMode = function() { i = !0; - }, t.versionString = NA, t.regex = { + }, t.versionString = kA, t.regex = { concat: yr, - lookahead: Ug, - either: du, - optional: YN, - anyNumberOfTimes: VN + lookahead: Yh, + either: mu, + optional: XN, + anyNumberOfTimes: ZN }; - for (const y in Vo) - typeof Vo[y] == "object" && Pg(Vo[y]); - return Object.assign(t, Vo), t; -}, ci = Kg({}); -ci.newInstance = () => Kg({}); -var xA = ci; + for (const y in zo) + typeof zo[y] == "object" && Hh(zo[y]); + return Object.assign(t, zo), t; +}, ci = jh({}); +ci.newInstance = () => jh({}); +var BA = ci; ci.HighlightJS = ci; ci.default = ci; -var DA = /* @__PURE__ */ PN(xA); -function Qg(t, e = []) { +var UA = /* @__PURE__ */ zN(BA); +function Jh(t, e = []) { return t.map((n) => { const r = [...e, ...n.properties ? n.properties.className : []]; - return n.children ? Qg(n.children, r) : { + return n.children ? Jh(n.children, r) : { text: n.value, classes: r }; }).flat(); } -function f_(t) { +function E_(t) { return t.value || t.children || []; } -function MA(t) { - return !!DA.getLanguage(t); +function HA(t) { + return !!UA.getLanguage(t); } -function g_({ doc: t, name: e, lowlight: n, defaultLanguage: r }) { +function S_({ doc: t, name: e, lowlight: n, defaultLanguage: r }) { const i = []; - return Wl(t, (o) => o.type.name === e).forEach((o) => { + return Ql(t, (o) => o.type.name === e).forEach((o) => { var a; let s = o.pos + 1; - const l = o.node.attrs.language || r, c = n.listLanguages(), u = l && (c.includes(l) || MA(l) || !((a = n.registered) === null || a === void 0) && a.call(n, l)) ? f_(n.highlight(l, o.node.textContent)) : f_(n.highlightAuto(o.node.textContent)); - Qg(u).forEach((d) => { + const l = o.node.attrs.language || r, c = n.listLanguages(), u = l && (c.includes(l) || HA(l) || !((a = n.registered) === null || a === void 0) && a.call(n, l)) ? E_(n.highlight(l, o.node.textContent)) : E_(n.highlightAuto(o.node.textContent)); + Jh(u).forEach((d) => { const p = s + d.text.length; if (d.classes.length) { const _ = ke.inline(s, p, { @@ -24737,30 +24743,30 @@ function g_({ doc: t, name: e, lowlight: n, defaultLanguage: r }) { }); }), be.create(t, i); } -function wA(t) { +function GA(t) { return typeof t == "function"; } -function LA({ name: t, lowlight: e, defaultLanguage: n }) { - if (!["highlight", "highlightAuto", "listLanguages"].every((i) => wA(e[i]))) +function VA({ name: t, lowlight: e, defaultLanguage: n }) { + if (!["highlight", "highlightAuto", "listLanguages"].every((i) => GA(e[i]))) throw Error("You should provide an instance of lowlight to use the code-block-lowlight extension"); const r = new Se({ key: new ve("lowlight"), state: { - init: (i, { doc: o }) => g_({ + init: (i, { doc: o }) => S_({ doc: o, name: t, lowlight: e, defaultLanguage: n }), apply: (i, o, a, s) => { - const l = a.selection.$head.parent.type.name, c = s.selection.$head.parent.type.name, u = Wl(a.doc, (p) => p.type.name === t), d = Wl(s.doc, (p) => p.type.name === t); + const l = a.selection.$head.parent.type.name, c = s.selection.$head.parent.type.name, u = Ql(a.doc, (p) => p.type.name === t), d = Ql(s.doc, (p) => p.type.name === t); return i.docChanged && ([l, c].includes(t) || d.length !== u.length || i.steps.some((p) => ( // @ts-ignore p.from !== void 0 && p.to !== void 0 && u.some((_) => ( // @ts-ignore _.pos >= p.from && _.pos + _.node.nodeSize <= p.to )) - ))) ? g_({ + ))) ? S_({ doc: i.doc, name: t, lowlight: e, @@ -24776,7 +24782,7 @@ function LA({ name: t, lowlight: e, defaultLanguage: n }) { }); return r; } -const kA = pg.extend({ +const YA = hh.extend({ addOptions() { var t; return { @@ -24793,7 +24799,7 @@ const kA = pg.extend({ var t; return [ ...((t = this.parent) === null || t === void 0 ? void 0 : t.call(this)) || [], - LA({ + VA({ name: this.name, lowlight: this.options.lowlight, defaultLanguage: this.options.defaultLanguage @@ -24801,7 +24807,7 @@ const kA = pg.extend({ ]; } }); -function h_(t, e, n = {}) { +function b_(t, e, n = {}) { const { empty: r, ranges: i, from: o, to: a } = t.selection, s = e ? En(e, t.schema) : null; if (r) return !!(t.storedMarks || t.selection.$from.marks()).filter((f) => s ? s.name === f.type.name : !0).find( @@ -24809,12 +24815,12 @@ function h_(t, e, n = {}) { ); let l = o, c = a; const u = []; - i.forEach(({ $from: f, $to: g }) => { - const E = f.pos, S = g.pos; - l = Math.min(l, E), c = Math.max(l, S), t.doc.nodesBetween(E, S, (b, h) => { + i.forEach(({ $from: f, $to: h }) => { + const E = f.pos, S = h.pos; + l = Math.min(l, E), c = Math.max(l, S), t.doc.nodesBetween(E, S, (b, g) => { if (!b.isText && !b.marks.length) return; - const C = Math.max(E, h), T = Math.min(S, h + b.nodeSize); + const C = Math.max(E, g), T = Math.min(S, g + b.nodeSize); u.push( ...b.marks.map((R) => ({ mark: R, @@ -24829,30 +24835,30 @@ function h_(t, e, n = {}) { return !1; const p = u.filter((f) => s ? s.name === f.mark.type.name : !0).filter( (f) => ri(f.mark.attrs, n, { strict: !1 }) - ).reduce((f, g) => f + g.to - g.from, 0), _ = u.filter((f) => s ? f.mark.type !== s && f.mark.type.excludes(s) : !0).reduce((f, g) => f + g.to - g.from, 0); + ).reduce((f, h) => f + h.to - h.from, 0), _ = u.filter((f) => s ? f.mark.type !== s && f.mark.type.excludes(s) : !0).reduce((f, h) => f + h.to - h.from, 0); return (p > 0 ? p + _ : p) >= d; } -function E_(t) { +function T_(t) { var e; return !!((e = t.spec.group) != null && e.split(" ").includes("list")); } -function _l(t, e, n = {}) { +function fl(t, e, n = {}) { if (!e) - return hr(t, null, n) || h_(t, null, n); + return gr(t, null, n) || b_(t, null, n); const r = t.schema.nodes[e]; if (r) { - if (E_(r)) { - const o = ms((a) => E_(a.type))( + if (T_(r)) { + const o = hs((a) => T_(a.type))( t.selection ); return !!(o && o.node.type.name === e); } - return hr(t, e, n); + return gr(t, e, n); } - return t.schema.marks[e] ? h_(t, e, n) : !1; + return t.schema.marks[e] ? b_(t, e, n) : !1; } -function S_(t) { - return new fo({ +function C_(t) { + return new ho({ find: t.find, handler: ({ state: e, range: n, match: r, commands: i }) => { const o = e.doc.resolve(n.from), a = le(t.getAttributes, void 0, r) || {}; @@ -24862,7 +24868,7 @@ function S_(t) { } }); } -const Zg = [ +const eg = [ { name: "Auto", value: "auto" }, { name: "Plain Text", value: "plaintext", alias: ["text", "txt"] }, { name: "Bash", value: "bash", alias: ["sh"] }, @@ -24939,15 +24945,15 @@ const Zg = [ ] }, { name: "YAML", value: "yaml", alias: ["yml"] } -], b_ = (t) => { +], y_ = (t) => { if (!t) return null; const e = t.toLocaleLowerCase(); - return Zg.find( + return eg.find( (r) => r.value === e || r.alias && r.alias.includes(e) ); }; -function T_(t, e) { +function v_(t, e) { const { $from: n, from: r, to: i } = t, s = (e.textContent || "").split(` `).reduce((_, m, f) => (_[f] = (_[f - 1] || 0) + m.length + (f === 0 ? 0 : 1), _), {}), l = n.parentOffset, c = n.parentOffset + i - r, u = Object.keys(s), d = u.find( (_) => s[_] >= l @@ -24959,7 +24965,7 @@ function T_(t, e) { end: p }; } -const PA = /^[`·]{3}([a-z]+)?[\s\n]$/, FA = /^[~~]{3}([a-z]+)?[\s\n]$/, BA = kA.extend({ +const zA = /^[`·]{3}([a-z]+)?[\s\n]$/, $A = /^[~~]{3}([a-z]+)?[\s\n]$/, qA = YA.extend({ addOptions() { var t; return { @@ -24975,7 +24981,7 @@ const PA = /^[`·]{3}([a-z]+)?[\s\n]$/, FA = /^[~~]{3}([a-z]+)?[\s\n]$/, BA = ...(t = this.parent) == null ? void 0 : t.call(this), addCodeComments: (e, n) => ({ editor: r }) => { const { view: { dispatch: i }, state: { tr: o } } = r; - return i(o.setSelection(ee.create(r.state.doc, n)).deleteSelection()), Yn.get(this.options.codeCommentsAi.model).chat(e.textContent, this.options.codeCommentsAi.prompt, new Oa(r, { + return i(o.setSelection(ee.create(r.state.doc, n)).deleteSelection()), Yn.get(this.options.codeCommentsAi.model).chat(e.textContent, this.options.codeCommentsAi.prompt, new Aa(r, { markdownParseEnable: !0, useMarkdownTextOnly: !0 })), !0; @@ -24984,11 +24990,11 @@ const PA = /^[`·]{3}([a-z]+)?[\s\n]$/, FA = /^[~~]{3}([a-z]+)?[\s\n]$/, BA = const { view: { dispatch: i }, state: { tr: o } } = r, a = r.state.doc.nodeSize; a <= n + e.nodeSize + 2 ? (r.commands.insertContentAt(n + e.nodeSize + 1, "

"), i(o.setSelection(Z.create(r.state.doc, a - 2)))) : i(o.setSelection(Z.create(r.state.doc, n + e.nodeSize + 1))); const s = Yn.get(this.options.codeExplainAi.model); - return s == null || s.chat(e.textContent, this.options.codeExplainAi.prompt, new Oa(r)), !0; + return s == null || s.chat(e.textContent, this.options.codeExplainAi.prompt, new Aa(r)), !0; }, toggleCodeBlock: (e) => ({ commands: n, editor: r, chain: i }) => { const { state: o } = r, { from: a, to: s } = o.selection; - if (!_l(o, this.name) && !o.selection.empty) { + if (!fl(o, this.name) && !o.selection.empty) { let l = !0; const c = []; if (o.doc.nodesBetween(a, s, (u, d) => { @@ -25027,7 +25033,7 @@ const PA = /^[`·]{3}([a-z]+)?[\s\n]$/, FA = /^[~~]{3}([a-z]+)?[\s\n]$/, BA = ...(t = this.parent) == null ? void 0 : t.call(this), Tab: ({ editor: e }) => { const { state: n, view: r } = e; - if (!_l(n, this.name)) + if (!fl(n, this.name)) return !1; const { selection: i, tr: o } = n, a = " "; if (i.empty) @@ -25036,14 +25042,14 @@ const PA = /^[`·]{3}([a-z]+)?[\s\n]$/, FA = /^[~~]{3}([a-z]+)?[\s\n]$/, BA = const { $from: s, from: l, to: c } = i, u = s.node(); if (u.type !== this.type) return !1; - const { start: d, end: p } = T_(i, u); + const { start: d, end: p } = v_(i, u); if (d === void 0 || p === void 0) return r.dispatch(o.replaceSelectionWith(n.schema.text(a))), !0; const f = (u.textContent || "").split(` -`).map((S, b) => b >= d && b <= p && S ? a + S : S), g = s.node(1), E = s.start(1); +`).map((S, b) => b >= d && b <= p && S ? a + S : S), h = s.node(1), E = s.start(1); o.replaceWith( E, - E + g.nodeSize - 2, + E + h.nodeSize - 2, n.schema.text(f.join(` `)) ), o.setSelection( @@ -25059,27 +25065,27 @@ const PA = /^[`·]{3}([a-z]+)?[\s\n]$/, FA = /^[~~]{3}([a-z]+)?[\s\n]$/, BA = }, "Shift-Tab": ({ editor: e }) => { const { state: n, view: r } = e; - if (!_l(n, this.name)) + if (!fl(n, this.name)) return !1; const { selection: i, tr: o } = n, { $from: a, from: s, to: l } = i, c = a.node(); if (c.type !== this.type) return !1; - const { start: u, end: d } = T_(i, c); + const { start: u, end: d } = v_(i, c); if (u === void 0 || d === void 0) return !1; const _ = (c.textContent || "").split(` `); let m = s, f = l; - const g = _.map((b, h) => { - if (h >= u && h <= d && b) + const h = _.map((b, g) => { + if (g >= u && g <= d && b) for (let C = 0; C < 2; C++) - b.startsWith(" ") && (b = b.slice(1), h == u && m--, f--); + b.startsWith(" ") && (b = b.slice(1), g == u && m--, f--); return b; }), E = a.node(1), S = a.start(1); return o.replaceWith( S, S + E.nodeSize - 2, - n.schema.text(g.join(` + n.schema.text(h.join(` `)) ), o.setSelection( Z.between( @@ -25092,23 +25098,23 @@ const PA = /^[`·]{3}([a-z]+)?[\s\n]$/, FA = /^[~~]{3}([a-z]+)?[\s\n]$/, BA = }, addInputRules() { return [ - S_({ - find: PA, + C_({ + find: zA, type: this.type, getAttributes: (t) => { var e; return { - language: ((e = b_(t[1])) == null ? void 0 : e.value) || this.options.defaultLanguage + language: ((e = y_(t[1])) == null ? void 0 : e.value) || this.options.defaultLanguage }; } }), - S_({ - find: FA, + C_({ + find: $A, type: this.type, getAttributes: (t) => { var e; return { - language: ((e = b_(t[1])) == null ? void 0 : e.value) || this.options.defaultLanguage + language: ((e = y_(t[1])) == null ? void 0 : e.value) || this.options.defaultLanguage }; } }) @@ -25177,7 +25183,7 @@ const PA = /^[`·]{3}([a-z]+)?[\s\n]$/, FA = /^[~~]{3}([a-z]+)?[\s\n]$/, BA = }; } }); -function UA(t) { +function WA(t) { const e = "[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+", i = "далее " + "возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ", s = "загрузитьизфайла " + "вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент ", p = "разделительстраниц разделительстрок символтабуляции " + "ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов датагод датамесяц датачисло заголовоксистемы значениевстроку значениеизстроки каталогиб каталогпользователя кодсимв конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца коннедели лог лог10 максимальноеколичествосубконто названиеинтерфейса названиенабораправ назначитьвид назначитьсчет найтиссылки началопериодаби началостандартногоинтервала начгода начквартала начмесяца начнедели номерднягода номерднянедели номернеделигода обработкаожидания основнойжурналрасчетов основнойплансчетов основнойязык очиститьокносообщений периодстр получитьвремята получитьдатута получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта префиксавтонумерации пропись пустоезначение разм разобратьпозициюдокумента рассчитатьрегистрына рассчитатьрегистрыпо симв создатьобъект статусвозврата стрколичествострок сформироватьпозициюдокумента счетпокоду текущеевремя типзначения типзначениястр установитьтана установитьтапо фиксшаблон шаблон " + "acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока xmlтип xmlтипзнч активноеокно безопасныйрежим безопасныйрежимразделенияданных булево ввестидату ввестизначение ввестистроку ввестичисло возможностьчтенияxml вопрос восстановитьзначение врег выгрузитьжурналрегистрации выполнитьобработкуоповещения выполнитьпроверкуправдоступа вычислить год данныеформывзначение дата день деньгода деньнедели добавитьмесяц заблокироватьданныедляредактирования заблокироватьработупользователя завершитьработусистемы загрузитьвнешнююкомпоненту закрытьсправку записатьjson записатьxml записатьдатуjson записьжурналарегистрации заполнитьзначениясвойств запроситьразрешениепользователя запуститьприложение запуститьсистему зафиксироватьтранзакцию значениевданныеформы значениевстрокувнутр значениевфайл значениезаполнено значениеизстрокивнутр значениеизфайла изxmlтипа импортмоделиxdto имякомпьютера имяпользователя инициализироватьпредопределенныеданные информацияобошибке каталогбиблиотекимобильногоустройства каталогвременныхфайлов каталогдокументов каталогпрограммы кодироватьстроку кодлокализацииинформационнойбазы кодсимвола командасистемы конецгода конецдня конецквартала конецмесяца конецминуты конецнедели конецчаса конфигурациябазыданныхизмененадинамически конфигурацияизменена копироватьданныеформы копироватьфайл краткоепредставлениеошибки лев макс местноевремя месяц мин минута монопольныйрежим найти найтинедопустимыесимволыxml найтиокнопонавигационнойссылке найтипомеченныенаудаление найтипоссылкам найтифайлы началогода началодня началоквартала началомесяца началоминуты началонедели началочаса начатьзапросразрешенияпользователя начатьзапускприложения начатькопированиефайла начатьперемещениефайла начатьподключениевнешнейкомпоненты начатьподключениерасширенияработыскриптографией начатьподключениерасширенияработысфайлами начатьпоискфайлов начатьполучениекаталогавременныхфайлов начатьполучениекаталогадокументов начатьполучениерабочегокаталогаданныхпользователя начатьполучениефайлов начатьпомещениефайла начатьпомещениефайлов начатьсозданиедвоичныхданныхизфайла начатьсозданиекаталога начатьтранзакцию начатьудалениефайлов начатьустановкувнешнейкомпоненты начатьустановкурасширенияработыскриптографией начатьустановкурасширенияработысфайлами неделягода необходимостьзавершениясоединения номерсеансаинформационнойбазы номерсоединенияинформационнойбазы нрег нстр обновитьинтерфейс обновитьнумерациюобъектов обновитьповторноиспользуемыезначения обработкапрерыванияпользователя объединитьфайлы окр описаниеошибки оповестить оповеститьобизменении отключитьобработчикзапросанастроекклиенталицензирования отключитьобработчикожидания отключитьобработчикоповещения открытьзначение открытьиндекссправки открытьсодержаниесправки открытьсправку открытьформу открытьформумодально отменитьтранзакцию очиститьжурналрегистрации очиститьнастройкипользователя очиститьсообщения параметрыдоступа перейтипонавигационнойссылке переместитьфайл подключитьвнешнююкомпоненту подключитьобработчикзапросанастроекклиенталицензирования подключитьобработчикожидания подключитьобработчикоповещения подключитьрасширениеработыскриптографией подключитьрасширениеработысфайлами подробноепредставлениеошибки показатьвводдаты показатьвводзначения показатьвводстроки показатьвводчисла показатьвопрос показатьзначение показатьинформациюобошибке показатьнакарте показатьоповещениепользователя показатьпредупреждение полноеимяпользователя получитьcomобъект получитьxmlтип получитьадреспоместоположению получитьблокировкусеансов получитьвремязавершенияспящегосеанса получитьвремязасыпанияпассивногосеанса получитьвремяожиданияблокировкиданных получитьданныевыбора получитьдополнительныйпараметрклиенталицензирования получитьдопустимыекодылокализации получитьдопустимыечасовыепояса получитьзаголовокклиентскогоприложения получитьзаголовоксистемы получитьзначенияотборажурналарегистрации получитьидентификаторконфигурации получитьизвременногохранилища получитьимявременногофайла получитьимяклиенталицензирования получитьинформациюэкрановклиента получитьиспользованиежурналарегистрации получитьиспользованиесобытияжурналарегистрации получитькраткийзаголовокприложения получитьмакетоформления получитьмаскувсефайлы получитьмаскувсефайлыклиента получитьмаскувсефайлысервера получитьместоположениепоадресу получитьминимальнуюдлинупаролейпользователей получитьнавигационнуюссылку получитьнавигационнуюссылкуинформационнойбазы получитьобновлениеконфигурациибазыданных получитьобновлениепредопределенныхданныхинформационнойбазы получитьобщиймакет получитьобщуюформу получитьокна получитьоперативнуюотметкувремени получитьотключениебезопасногорежима получитьпараметрыфункциональныхопцийинтерфейса получитьполноеимяпредопределенногозначения получитьпредставлениянавигационныхссылок получитьпроверкусложностипаролейпользователей получитьразделительпути получитьразделительпутиклиента получитьразделительпутисервера получитьсеансыинформационнойбазы получитьскоростьклиентскогосоединения получитьсоединенияинформационнойбазы получитьсообщенияпользователю получитьсоответствиеобъектаиформы получитьсоставстандартногоинтерфейсаodata получитьструктурухранениябазыданных получитьтекущийсеансинформационнойбазы получитьфайл получитьфайлы получитьформу получитьфункциональнуюопцию получитьфункциональнуюопциюинтерфейса получитьчасовойпоясинформационнойбазы пользователиос поместитьвовременноехранилище поместитьфайл поместитьфайлы прав праводоступа предопределенноезначение представлениекодалокализации представлениепериода представлениеправа представлениеприложения представлениесобытияжурналарегистрации представлениечасовогопояса предупреждение прекратитьработусистемы привилегированныйрежим продолжитьвызов прочитатьjson прочитатьxml прочитатьдатуjson пустаястрока рабочийкаталогданныхпользователя разблокироватьданныедляредактирования разделитьфайл разорватьсоединениесвнешнимисточникомданных раскодироватьстроку рольдоступна секунда сигнал символ скопироватьжурналрегистрации смещениелетнеговремени смещениестандартноговремени соединитьбуферыдвоичныхданных создатькаталог создатьфабрикуxdto сокрл сокрлп сокрп сообщить состояние сохранитьзначение сохранитьнастройкипользователя сред стрдлина стрзаканчиваетсяна стрзаменить стрнайти стрначинаетсяс строка строкасоединенияинформационнойбазы стрполучитьстроку стрразделить стрсоединить стрсравнить стрчисловхождений стрчислострок стршаблон текущаядата текущаядатасеанса текущаяуниверсальнаядата текущаяуниверсальнаядатавмиллисекундах текущийвариантинтерфейсаклиентскогоприложения текущийвариантосновногошрифтаклиентскогоприложения текущийкодлокализации текущийрежимзапуска текущийязык текущийязыксистемы тип типзнч транзакцияактивна трег удалитьданныеинформационнойбазы удалитьизвременногохранилища удалитьобъекты удалитьфайлы универсальноевремя установитьбезопасныйрежим установитьбезопасныйрежимразделенияданных установитьблокировкусеансов установитьвнешнююкомпоненту установитьвремязавершенияспящегосеанса установитьвремязасыпанияпассивногосеанса установитьвремяожиданияблокировкиданных установитьзаголовокклиентскогоприложения установитьзаголовоксистемы установитьиспользованиежурналарегистрации установитьиспользованиесобытияжурналарегистрации установитькраткийзаголовокприложения установитьминимальнуюдлинупаролейпользователей установитьмонопольныйрежим установитьнастройкиклиенталицензирования установитьобновлениепредопределенныхданныхинформационнойбазы установитьотключениебезопасногорежима установитьпараметрыфункциональныхопцийинтерфейса установитьпривилегированныйрежим установитьпроверкусложностипаролейпользователей установитьрасширениеработыскриптографией установитьрасширениеработысфайлами установитьсоединениесвнешнимисточникомданных установитьсоответствиеобъектаиформы установитьсоставстандартногоинтерфейсаodata установитьчасовойпоясинформационнойбазы установитьчасовойпояссеанса формат цел час часовойпояс часовойпояссеанса число числопрописью этоадресвременногохранилища " + "wsссылки библиотекакартинок библиотекамакетовоформлениякомпоновкиданных библиотекастилей бизнеспроцессы внешниеисточникиданных внешниеобработки внешниеотчеты встроенныепокупки главныйинтерфейс главныйстиль документы доставляемыеуведомления журналыдокументов задачи информацияобинтернетсоединении использованиерабочейдаты историяработыпользователя константы критерииотбора метаданные обработки отображениерекламы отправкадоставляемыхуведомлений отчеты панельзадачос параметрзапуска параметрысеанса перечисления планывидоврасчета планывидовхарактеристик планыобмена планысчетов полнотекстовыйпоиск пользователиинформационнойбазы последовательности проверкавстроенныхпокупок рабочаядата расширенияконфигурации регистрыбухгалтерии регистрынакопления регистрырасчета регистрысведений регламентныезадания сериализаторxdto справочники средствагеопозиционирования средствакриптографии средствамультимедиа средстваотображениярекламы средствапочты средствателефонии фабрикаxdto файловыепотоки фоновыезадания хранилищанастроек хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ", A = "webцвета windowsцвета windowsшрифты библиотекакартинок рамкистиля символы цветастиля шрифтыстиля " + "автоматическоесохранениеданныхформывнастройках автонумерациявформе автораздвижениесерий анимациядиаграммы вариантвыравниванияэлементовизаголовков вариантуправлениявысотойтаблицы вертикальнаяпрокруткаформы вертикальноеположение вертикальноеположениеэлемента видгруппыформы виддекорацииформы виддополненияэлементаформы видизмененияданных видкнопкиформы видпереключателя видподписейкдиаграмме видполяформы видфлажка влияниеразмеранапузырекдиаграммы горизонтальноеположение горизонтальноеположениеэлемента группировкаколонок группировкаподчиненныхэлементовформы группыиэлементы действиеперетаскивания дополнительныйрежимотображения допустимыедействияперетаскивания интервалмеждуэлементамиформы использованиевывода использованиеполосыпрокрутки используемоезначениеточкибиржевойдиаграммы историявыборапривводе источникзначенийоситочекдиаграммы источникзначенияразмерапузырькадиаграммы категориягруппыкоманд максимумсерий начальноеотображениедерева начальноеотображениесписка обновлениетекстаредактирования ориентациядендрограммы ориентациядиаграммы ориентацияметокдиаграммы ориентацияметоксводнойдиаграммы ориентацияэлементаформы отображениевдиаграмме отображениевлегендедиаграммы отображениегруппыкнопок отображениезаголовкашкалыдиаграммы отображениезначенийсводнойдиаграммы отображениезначенияизмерительнойдиаграммы отображениеинтерваладиаграммыганта отображениекнопки отображениекнопкивыбора отображениеобсужденийформы отображениеобычнойгруппы отображениеотрицательныхзначенийпузырьковойдиаграммы отображениепанелипоиска отображениеподсказки отображениепредупрежденияприредактировании отображениеразметкиполосырегулирования отображениестраницформы отображениетаблицы отображениетекстазначениядиаграммыганта отображениеуправленияобычнойгруппы отображениефигурыкнопки палитрацветовдиаграммы поведениеобычнойгруппы поддержкамасштабадендрограммы поддержкамасштабадиаграммыганта поддержкамасштабасводнойдиаграммы поисквтаблицепривводе положениезаголовкаэлементаформы положениекартинкикнопкиформы положениекартинкиэлементаграфическойсхемы положениекоманднойпанелиформы положениекоманднойпанелиэлементаформы положениеопорнойточкиотрисовки положениеподписейкдиаграмме положениеподписейшкалызначенийизмерительнойдиаграммы положениесостоянияпросмотра положениестрокипоиска положениетекстасоединительнойлинии положениеуправленияпоиском положениешкалывремени порядокотображенияточекгоризонтальнойгистограммы порядоксерийвлегендедиаграммы размеркартинки расположениезаголовкашкалыдиаграммы растягиваниеповертикалидиаграммыганта режимавтоотображениясостояния режимвводастроктаблицы режимвыборанезаполненного режимвыделениядаты режимвыделениястрокитаблицы режимвыделениятаблицы режимизмененияразмера режимизменениясвязанногозначения режимиспользованиядиалогапечати режимиспользованияпараметракоманды режиммасштабированияпросмотра режимосновногоокнаклиентскогоприложения режимоткрытияокнаформы режимотображениявыделения режимотображениягеографическойсхемы режимотображениязначенийсерии режимотрисовкисеткиграфическойсхемы режимполупрозрачностидиаграммы режимпробеловдиаграммы режимразмещениянастранице режимредактированияколонки режимсглаживаниядиаграммы режимсглаживанияиндикатора режимсписказадач сквозноевыравнивание сохранениеданныхформывнастройках способзаполнениятекстазаголовкашкалыдиаграммы способопределенияограничивающегозначениядиаграммы стандартнаягруппакоманд стандартноеоформление статусоповещенияпользователя стильстрелки типаппроксимациилиниитрендадиаграммы типдиаграммы типединицышкалывремени типимпортасерийслоягеографическойсхемы типлиниигеографическойсхемы типлиниидиаграммы типмаркерагеографическойсхемы типмаркерадиаграммы типобластиоформления типорганизацииисточникаданныхгеографическойсхемы типотображениясериислоягеографическойсхемы типотображенияточечногообъектагеографическойсхемы типотображенияшкалыэлементалегендыгеографическойсхемы типпоискаобъектовгеографическойсхемы типпроекциигеографическойсхемы типразмещенияизмерений типразмещенияреквизитовизмерений типрамкиэлементауправления типсводнойдиаграммы типсвязидиаграммыганта типсоединениязначенийпосериямдиаграммы типсоединенияточекдиаграммы типсоединительнойлинии типстороныэлементаграфическойсхемы типформыотчета типшкалырадарнойдиаграммы факторлиниитрендадиаграммы фигуракнопки фигурыграфическойсхемы фиксациявтаблице форматдняшкалывремени форматкартинки ширинаподчиненныхэлементовформы " + "виддвижениябухгалтерии виддвижениянакопления видпериодарегистрарасчета видсчета видточкимаршрутабизнеспроцесса использованиеагрегатарегистранакопления использованиегруппиэлементов использованиережимапроведения использованиесреза периодичностьагрегатарегистранакопления режимавтовремя режимзаписидокумента режимпроведениядокумента " + "авторегистрацияизменений допустимыйномерсообщения отправкаэлементаданных получениеэлементаданных " + "использованиерасшифровкитабличногодокумента ориентациястраницы положениеитоговколоноксводнойтаблицы положениеитоговстроксводнойтаблицы положениетекстаотносительнокартинки расположениезаголовкагруппировкитабличногодокумента способчтениязначенийтабличногодокумента типдвустороннейпечати типзаполненияобластитабличногодокумента типкурсоровтабличногодокумента типлиниирисункатабличногодокумента типлинииячейкитабличногодокумента типнаправленияпереходатабличногодокумента типотображениявыделениятабличногодокумента типотображениялинийсводнойтаблицы типразмещениятекстатабличногодокумента типрисункатабличногодокумента типсмещениятабличногодокумента типузоратабличногодокумента типфайлатабличногодокумента точностьпечати чередованиерасположениястраниц " + "отображениевремениэлементовпланировщика " + "типфайлаформатированногодокумента " + "обходрезультатазапроса типзаписизапроса " + "видзаполнениярасшифровкипостроителяотчета типдобавленияпредставлений типизмеренияпостроителяотчета типразмещенияитогов " + "доступкфайлу режимдиалогавыборафайла режимоткрытияфайла " + "типизмеренияпостроителязапроса " + "видданныханализа методкластеризации типединицыинтервалавременианализаданных типзаполнениятаблицырезультатаанализаданных типиспользованиячисловыхзначенийанализаданных типисточникаданныхпоискаассоциаций типколонкианализаданныхдереворешений типколонкианализаданныхкластеризация типколонкианализаданныхобщаястатистика типколонкианализаданныхпоискассоциаций типколонкианализаданныхпоискпоследовательностей типколонкимоделипрогноза типмерырасстоянияанализаданных типотсеченияправилассоциации типполяанализаданных типстандартизациианализаданных типупорядочиванияправилассоциациианализаданных типупорядочиванияшаблоновпоследовательностейанализаданных типупрощениядереварешений " + "wsнаправлениепараметра вариантxpathxs вариантзаписидатыjson вариантпростоготипаxs видгруппымоделиxs видфасетаxdto действиепостроителяdom завершенностьпростоготипаxs завершенностьсоставноготипаxs завершенностьсхемыxs запрещенныеподстановкиxs исключениягруппподстановкиxs категорияиспользованияатрибутаxs категорияограниченияидентичностиxs категорияограниченияпространствименxs методнаследованияxs модельсодержимогоxs назначениетипаxml недопустимыеподстановкиxs обработкапробельныхсимволовxs обработкасодержимогоxs ограничениезначенияxs параметрыотбораузловdom переносстрокjson позициявдокументеdom пробельныесимволыxml типатрибутаxml типзначенияjson типканоническогоxml типкомпонентыxs типпроверкиxml типрезультатаdomxpath типузлаdom типузлаxml формаxml формапредставленияxs форматдатыjson экранированиесимволовjson " + "видсравнениякомпоновкиданных действиеобработкирасшифровкикомпоновкиданных направлениесортировкикомпоновкиданных расположениевложенныхэлементоврезультатакомпоновкиданных расположениеитоговкомпоновкиданных расположениегруппировкикомпоновкиданных расположениеполейгруппировкикомпоновкиданных расположениеполякомпоновкиданных расположениереквизитовкомпоновкиданных расположениересурсовкомпоновкиданных типбухгалтерскогоостаткакомпоновкиданных типвыводатекстакомпоновкиданных типгруппировкикомпоновкиданных типгруппыэлементовотборакомпоновкиданных типдополненияпериодакомпоновкиданных типзаголовкаполейкомпоновкиданных типмакетагруппировкикомпоновкиданных типмакетаобластикомпоновкиданных типостаткакомпоновкиданных типпериодакомпоновкиданных типразмещениятекстакомпоновкиданных типсвязинаборовданныхкомпоновкиданных типэлементарезультатакомпоновкиданных расположениелегендыдиаграммыкомпоновкиданных типпримененияотборакомпоновкиданных режимотображенияэлементанастройкикомпоновкиданных режимотображениянастроеккомпоновкиданных состояниеэлементанастройкикомпоновкиданных способвосстановлениянастроеккомпоновкиданных режимкомпоновкирезультата использованиепараметракомпоновкиданных автопозицияресурсовкомпоновкиданных вариантиспользованиягруппировкикомпоновкиданных расположениересурсоввдиаграммекомпоновкиданных фиксациякомпоновкиданных использованиеусловногооформлениякомпоновкиданных " + "важностьинтернетпочтовогосообщения обработкатекстаинтернетпочтовогосообщения способкодированияинтернетпочтовоговложения способкодированиянеasciiсимволовинтернетпочтовогосообщения типтекстапочтовогосообщения протоколинтернетпочты статусразборапочтовогосообщения " + "режимтранзакциизаписижурналарегистрации статустранзакциизаписижурналарегистрации уровеньжурналарегистрации " + "расположениехранилищасертификатовкриптографии режимвключениясертификатовкриптографии режимпроверкисертификатакриптографии типхранилищасертификатовкриптографии " + "кодировкаименфайловвzipфайле методсжатияzip методшифрованияzip режимвосстановленияпутейфайловzip режимобработкиподкаталоговzip режимсохраненияпутейzip уровеньсжатияzip " + "звуковоеоповещение направлениепереходакстроке позициявпотоке порядокбайтов режимблокировкиданных режимуправленияблокировкойданных сервисвстроенныхпокупок состояниефоновогозадания типподписчикадоставляемыхуведомлений уровеньиспользованиязащищенногосоединенияftp " + "направлениепорядкасхемызапроса типдополненияпериодамисхемызапроса типконтрольнойточкисхемызапроса типобъединениясхемызапроса типпараметрадоступнойтаблицысхемызапроса типсоединениясхемызапроса " + "httpметод автоиспользованиеобщегореквизита автопрефиксномеразадачи вариантвстроенногоязыка видиерархии видрегистранакопления видтаблицывнешнегоисточникаданных записьдвиженийприпроведении заполнениепоследовательностей индексирование использованиебазыпланавидоврасчета использованиебыстроговыбора использованиеобщегореквизита использованиеподчинения использованиеполнотекстовогопоиска использованиеразделяемыхданныхобщегореквизита использованиереквизита назначениеиспользованияприложения назначениерасширенияконфигурации направлениепередачи обновлениепредопределенныхданных оперативноепроведение основноепредставлениевидарасчета основноепредставлениевидахарактеристики основноепредставлениезадачи основноепредставлениепланаобмена основноепредставлениесправочника основноепредставлениесчета перемещениеграницыприпроведении периодичностьномерабизнеспроцесса периодичностьномерадокумента периодичностьрегистрарасчета периодичностьрегистрасведений повторноеиспользованиевозвращаемыхзначений полнотекстовыйпоискпривводепостроке принадлежностьобъекта проведение разделениеаутентификацииобщегореквизита разделениеданныхобщегореквизита разделениерасширенийконфигурацииобщегореквизита режимавтонумерацииобъектов режимзаписирегистра режимиспользованиямодальности режимиспользованиясинхронныхвызововрасширенийплатформыивнешнихкомпонент режимповторногоиспользованиясеансов режимполученияданныхвыборапривводепостроке режимсовместимости режимсовместимостиинтерфейса режимуправленияблокировкойданныхпоумолчанию сериикодовпланавидовхарактеристик сериикодовпланасчетов сериикодовсправочника созданиепривводе способвыбора способпоискастрокипривводепостроке способредактирования типданныхтаблицывнешнегоисточникаданных типкодапланавидоврасчета типкодасправочника типмакета типномерабизнеспроцесса типномерадокумента типномеразадачи типформы удалениедвижений " + "важностьпроблемыприменениярасширенияконфигурации вариантинтерфейсаклиентскогоприложения вариантмасштабаформклиентскогоприложения вариантосновногошрифтаклиентскогоприложения вариантстандартногопериода вариантстандартнойдатыначала видграницы видкартинки видотображенияполнотекстовогопоиска видрамки видсравнения видцвета видчисловогозначения видшрифта допустимаядлина допустимыйзнак использованиеbyteordermark использованиеметаданныхполнотекстовогопоиска источникрасширенийконфигурации клавиша кодвозвратадиалога кодировкаxbase кодировкатекста направлениепоиска направлениесортировки обновлениепредопределенныхданных обновлениеприизмененииданных отображениепанелиразделов проверказаполнения режимдиалогавопрос режимзапускаклиентскогоприложения режимокругления режимоткрытияформприложения режимполнотекстовогопоиска скоростьклиентскогосоединения состояниевнешнегоисточникаданных состояниеобновленияконфигурациибазыданных способвыборасертификатаwindows способкодированиястроки статуссообщения типвнешнейкомпоненты типплатформы типповеденияклавишиenter типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты", z = "comобъект ftpсоединение httpзапрос httpсервисответ httpсоединение wsопределения wsпрокси xbase анализданных аннотацияxs блокировкаданных буфердвоичныхданных включениеxs выражениекомпоновкиданных генераторслучайныхчисел географическаясхема географическиекоординаты графическаясхема группамоделиxs данныерасшифровкикомпоновкиданных двоичныеданные дендрограмма диаграмма диаграммаганта диалогвыборафайла диалогвыборацвета диалогвыборашрифта диалограсписаниярегламентногозадания диалогредактированиястандартногопериода диапазон документdom документhtml документацияxs доставляемоеуведомление записьdom записьfastinfoset записьhtml записьjson записьxml записьzipфайла записьданных записьтекста записьузловdom запрос защищенноесоединениеopenssl значенияполейрасшифровкикомпоновкиданных извлечениетекста импортxs интернетпочта интернетпочтовоесообщение интернетпочтовыйпрофиль интернетпрокси интернетсоединение информациядляприложенияxs использованиеатрибутаxs использованиесобытияжурналарегистрации источникдоступныхнастроеккомпоновкиданных итераторузловdom картинка квалификаторыдаты квалификаторыдвоичныхданных квалификаторыстроки квалификаторычисла компоновщикмакетакомпоновкиданных компоновщикнастроеккомпоновкиданных конструктормакетаоформлениякомпоновкиданных конструкторнастроеккомпоновкиданных конструкторформатнойстроки линия макеткомпоновкиданных макетобластикомпоновкиданных макетоформлениякомпоновкиданных маскаxs менеджеркриптографии наборсхемxml настройкикомпоновкиданных настройкисериализацииjson обработкакартинок обработкарасшифровкикомпоновкиданных обходдереваdom объявлениеатрибутаxs объявлениенотацииxs объявлениеэлементаxs описаниеиспользованиясобытиядоступжурналарегистрации описаниеиспользованиясобытияотказвдоступежурналарегистрации описаниеобработкирасшифровкикомпоновкиданных описаниепередаваемогофайла описаниетипов определениегруппыатрибутовxs определениегруппымоделиxs определениеограниченияидентичностиxs определениепростоготипаxs определениесоставноготипаxs определениетипадокументаdom определенияxpathxs отборкомпоновкиданных пакетотображаемыхдокументов параметрвыбора параметркомпоновкиданных параметрызаписиjson параметрызаписиxml параметрычтенияxml переопределениеxs планировщик полеанализаданных полекомпоновкиданных построительdom построительзапроса построительотчета построительотчетаанализаданных построительсхемxml поток потоквпамяти почта почтовоесообщение преобразованиеxsl преобразованиекканоническомуxml процессорвыводарезультатакомпоновкиданныхвколлекциюзначений процессорвыводарезультатакомпоновкиданныхвтабличныйдокумент процессоркомпоновкиданных разыменовательпространствименdom рамка расписаниерегламентногозадания расширенноеимяxml результатчтенияданных своднаядиаграмма связьпараметравыбора связьпотипу связьпотипукомпоновкиданных сериализаторxdto сертификатклиентаwindows сертификатклиентафайл сертификаткриптографии сертификатыудостоверяющихцентровwindows сертификатыудостоверяющихцентровфайл сжатиеданных системнаяинформация сообщениепользователю сочетаниеклавиш сравнениезначений стандартнаядатаначала стандартныйпериод схемаxml схемакомпоновкиданных табличныйдокумент текстовыйдокумент тестируемоеприложение типданныхxml уникальныйидентификатор фабрикаxdto файл файловыйпоток фасетдлиныxs фасетколичестваразрядовдробнойчастиxs фасетмаксимальноговключающегозначенияxs фасетмаксимальногоисключающегозначенияxs фасетмаксимальнойдлиныxs фасетминимальноговключающегозначенияxs фасетминимальногоисключающегозначенияxs фасетминимальнойдлиныxs фасетобразцаxs фасетобщегоколичестваразрядовxs фасетперечисленияxs фасетпробельныхсимволовxs фильтрузловdom форматированнаястрока форматированныйдокумент фрагментxs хешированиеданных хранилищезначения цвет чтениеfastinfoset чтениеhtml чтениеjson чтениеxml чтениеzipфайла чтениеданных чтениетекста чтениеузловdom шрифт элементрезультатакомпоновкиданных " + "comsafearray деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура фиксированноесоответствие фиксированныймассив ", ae = "null истина ложь неопределено", Ce = t.inherit(t.NUMBER_MODE), ie = { className: "string", begin: '"|\\|', @@ -25272,7 +25278,7 @@ function UA(t) { ] }; } -function HA(t) { +function KA(t) { const e = t.regex, n = /^[a-zA-Z][a-zA-Z0-9-]*/, r = [ "ALPHA", "BIT", @@ -25326,7 +25332,7 @@ function HA(t) { ] }; } -function GA(t) { +function QA(t) { const e = t.regex, n = [ "GET", "POST", @@ -25404,7 +25410,7 @@ function GA(t) { ] }; } -function VA(t) { +function ZA(t) { const e = t.regex, n = /[a-zA-Z_$][a-zA-Z0-9_$]*/, r = e.concat( n, e.concat("(\\.", n, ")*") @@ -25538,7 +25544,7 @@ function VA(t) { illegal: /#/ }; } -function YA(t) { +function XA(t) { const e = "\\d(_|\\d)*", n = "[eE][-+]?" + e, r = e + "(\\." + e + ")?(" + n + ")?", i = "\\w+", a = "\\b(" + (e + "#" + i + "(\\." + i + ")?#(" + n + ")?") + "|" + r + ")", s = "[A-Za-z](_?[A-Za-z0-9.])*", l = `[]\\{\\}%#'"`, c = t.COMMENT("--", "$"), u = { // TODO: These spaces are not required by the Ada syntax // however, I have yet to see handwritten Ada code where @@ -25748,7 +25754,7 @@ function YA(t) { ] }; } -function zA(t) { +function jA(t) { const e = { className: "built_in", begin: "\\b(void|bool|int8|int16|int32|int64|int|uint8|uint16|uint32|uint64|uint|string|ref|array|double|float|auto|dictionary)" @@ -25907,7 +25913,7 @@ function zA(t) { ] }; } -function $A(t) { +function JA(t) { const e = { className: "number", begin: /[$%]\d+/ @@ -25992,7 +25998,7 @@ function $A(t) { illegal: /\S/ }; } -function qA(t) { +function eI(t) { const e = t.regex, n = t.inherit( t.QUOTE_STRING_MODE, { illegal: null } @@ -26104,7 +26110,7 @@ function qA(t) { illegal: /\/\/|->|=>|\[\[/ }; } -function WA(t) { +function tI(t) { const e = "[A-Za-z_][0-9A-Za-z_]*", n = { keyword: [ "if", @@ -26451,7 +26457,7 @@ function WA(t) { illegal: /#(?!!)/ }; } -function KA(t) { +function nI(t) { const e = { variants: [ t.COMMENT("^[ \\t]*(?=#)", "$", { relevance: 0, @@ -26537,7 +26543,7 @@ function KA(t) { ] }; } -function QA(t) { +function rI(t) { const e = t.regex, n = { begin: "^'{3,}[ \\t]*$", relevance: 10 @@ -26777,7 +26783,7 @@ function QA(t) { ] }; } -function ZA(t) { +function iI(t) { const e = t.regex, n = [ "false", "synchronized", @@ -26993,7 +26999,7 @@ function ZA(t) { ] }; } -function XA(t) { +function oI(t) { const e = { begin: "`[\\s\\S]" }; return { name: "AutoHotkey", @@ -27058,7 +27064,7 @@ function XA(t) { ] }; } -function jA(t) { +function aI(t) { const e = "ByRef Case Const ContinueCase ContinueLoop Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With", n = [ "EndRegion", "forcedef", @@ -27200,7 +27206,7 @@ function jA(t) { ] }; } -function JA(t) { +function sI(t) { return { name: "AVR Assembly", case_insensitive: !0, @@ -27256,7 +27262,7 @@ function JA(t) { ] }; } -function eI(t) { +function lI(t) { const e = { className: "variable", variants: [ @@ -27311,7 +27317,7 @@ function eI(t) { ] }; } -function tI(t) { +function cI(t) { const e = t.UNDERSCORE_IDENT_RE, o = { keyword: [ "abstract", @@ -27478,7 +27484,7 @@ function tI(t) { ] }; } -function nI(t) { +function uI(t) { return { name: "BASIC", case_insensitive: !0, @@ -27695,7 +27701,7 @@ function nI(t) { ] }; } -function rI(t) { +function dI(t) { return { name: "Backus–Naur Form", contains: [ @@ -27724,7 +27730,7 @@ function rI(t) { ] }; } -function iI(t) { +function pI(t) { const e = { className: "literal", begin: /[+-]+/, @@ -27769,7 +27775,7 @@ function iI(t) { ] }; } -function oI(t) { +function _I(t) { const e = t.regex, n = [ "div", "mod", @@ -27904,7 +27910,7 @@ function oI(t) { ] }; } -function aI(t) { +function mI(t) { const e = [ "struct", "enum", @@ -27989,7 +27995,7 @@ function aI(t) { ] }; } -function sI(t) { +function fI(t) { const e = [ "assembly", "module", @@ -28110,7 +28116,7 @@ function sI(t) { ].concat(o) }; } -function lI(t) { +function hI(t) { return { name: "Clean", aliases: [ @@ -28166,7 +28172,7 @@ function lI(t) { ] }; } -function cI(t) { +function gI(t) { const e = "a-zA-Z_\\-!.?+*=<>&'", n = "[#]?[" + e + "][" + e + "0-9/;:$#]*", r = "def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord", i = { $pattern: n, built_in: ( @@ -28234,7 +28240,7 @@ function cI(t) { }, f = { begin: "\\(", end: "\\)" - }, g = { + }, h = { endsWithParent: !0, relevance: 0 }, E = { @@ -28242,7 +28248,7 @@ function cI(t) { className: "name", begin: n, relevance: 0, - starts: g + starts: h }, S = [ u, f, @@ -28276,8 +28282,8 @@ function cI(t) { return f.contains = [ b, E, - g - ], g.contains = S, _.contains = S, { + h + ], h.contains = S, _.contains = S, { name: "Clojure", aliases: [ "clj", @@ -28298,7 +28304,7 @@ function cI(t) { ] }; } -function uI(t) { +function EI(t) { return { name: "Clojure REPL", contains: [ @@ -28313,7 +28319,7 @@ function uI(t) { ] }; } -function dI(t) { +function SI(t) { return { name: "CMake", aliases: ["cmake.in"], @@ -28335,7 +28341,7 @@ function dI(t) { ] }; } -const pI = [ +const bI = [ "as", // for exports "in", @@ -28378,14 +28384,14 @@ const pI = [ "from", "export", "extends" -], _I = [ +], TI = [ "true", "false", "null", "undefined", "NaN", "Infinity" -], mI = [ +], CI = [ // Fundamental objects "Object", "Function", @@ -28435,7 +28441,7 @@ const pI = [ "Intl", // WebAssembly "WebAssembly" -], fI = [ +], yI = [ "Error", "EvalError", "InternalError", @@ -28444,7 +28450,7 @@ const pI = [ "SyntaxError", "TypeError", "URIError" -], gI = [ +], vI = [ "setInterval", "setTimeout", "clearInterval", @@ -28462,12 +28468,12 @@ const pI = [ "encodeURIComponent", "escape", "unescape" -], hI = [].concat( - gI, - mI, - fI +], RI = [].concat( + vI, + CI, + yI ); -function EI(t) { +function OI(t) { const e = [ "npm", "print" @@ -28495,9 +28501,9 @@ function EI(t) { "function", "static" ], o = (m) => (f) => !m.includes(f), a = { - keyword: pI.concat(r).filter(o(i)), - literal: _I.concat(n), - built_in: hI.concat(e) + keyword: bI.concat(r).filter(o(i)), + literal: TI.concat(n), + built_in: RI.concat(e) }, s = "[A-Za-z$_][0-9A-Za-z$_]*", l = { className: "subst", begin: /#\{/, @@ -28665,7 +28671,7 @@ function EI(t) { ] }; } -function SI(t) { +function NI(t) { return { name: "Coq", keywords: { @@ -29100,7 +29106,7 @@ function SI(t) { ] }; } -function bI(t) { +function AI(t) { return { name: "Caché Object Script", case_insensitive: !0, @@ -29186,7 +29192,7 @@ function bI(t) { ] }; } -function TI(t) { +function II(t) { const e = "primitive rsc_template", n = "group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml"; return { name: "crmsh", @@ -29264,7 +29270,7 @@ function TI(t) { ] }; } -function CI(t) { +function xI(t) { const e = "(_?[ui](8|16|32|64|128))?", n = "(_?f(32|64))?", r = "[a-zA-Z_]\\w*[!?=]?", i = "[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?", o = "[A-Za-z_]\\w*(::\\w+)*(\\?|!)?", a = { $pattern: r, keyword: "abstract alias annotation as as? asm begin break case class def do else elsif end ensure enum extend for fun if include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? return require select self sizeof struct super then type typeof union uninitialized unless until verbatim when while with yield __DIR__ __END_LINE__ __FILE__ __LINE__", @@ -29445,7 +29451,7 @@ function CI(t) { begin: "@\\[", end: "\\]", contains: [t.inherit(t.QUOTE_STRING_MODE, { className: "string" })] - }, g = [ + }, h = [ c, d, p, @@ -29537,14 +29543,14 @@ function CI(t) { relevance: 0 } ]; - return s.contains = g, c.contains = g.slice(1), { + return s.contains = h, c.contains = h.slice(1), { name: "Crystal", aliases: ["cr"], keywords: a, - contains: g + contains: h }; } -function yI(t) { +function DI(t) { return { name: "CSP", case_insensitive: !1, @@ -29588,7 +29594,7 @@ function yI(t) { ] }; } -function vI(t) { +function MI(t) { const e = { $pattern: t.UNDERSCORE_IDENT_RE, keyword: "abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__", @@ -29624,7 +29630,7 @@ function vI(t) { className: "string", begin: "`", end: "`[cwd]?" - }, h = { + }, g = { className: "string", begin: 'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?', relevance: 10 @@ -29660,7 +29666,7 @@ function vI(t) { t.C_LINE_COMMENT_MODE, t.C_BLOCK_COMMENT_MODE, O, - h, + g, E, S, b, @@ -29674,7 +29680,7 @@ function vI(t) { ] }; } -function RI(t) { +function wI(t) { const e = { className: "subst", variants: [{ begin: "\\$[A-Za-z0-9_]+" }] @@ -29913,7 +29919,7 @@ function RI(t) { ] }; } -function OI(t) { +function LI(t) { const e = [ "exports", "register", @@ -30131,7 +30137,7 @@ function OI(t) { ].concat(n) }; } -function NI(t) { +function kI(t) { const e = { begin: /\|[A-Za-z]+:?/, keywords: { name: "truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone" }, @@ -30175,7 +30181,7 @@ function NI(t) { ] }; } -function AI(t) { +function PI(t) { return { name: "DNS Zone", aliases: [ @@ -30242,7 +30248,7 @@ function AI(t) { ] }; } -function II(t) { +function FI(t) { return { name: "Dockerfile", aliases: ["docker"], @@ -30273,7 +30279,7 @@ function II(t) { illegal: ">|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?", a = { $pattern: n, keyword: [ @@ -30780,7 +30786,7 @@ function kI(t) { C, { contains: [_(C.end)] } )) - }, g = { + }, h = { className: "regex", variants: [ { @@ -30873,9 +30879,9 @@ function kI(t) { className: "class", beginKeywords: "defimpl defmodule defprotocol defrecord", end: /\bdo\b|$|;/ - }), h = [ + }), g = [ E, - g, + h, f, m, t.HASH_COMMENT_MODE, @@ -30909,17 +30915,17 @@ function kI(t) { } // -> has been removed, capnproto always uses this grammar construct ]; - return s.contains = h, { + return s.contains = g, { name: "Elixir", aliases: [ "ex", "exs" ], keywords: a, - contains: h + contains: g }; } -function PI(t) { +function zI(t) { const e = { variants: [ t.COMMENT("--", "$"), t.COMMENT( @@ -31040,7 +31046,7 @@ function PI(t) { illegal: /;/ }; } -function FI(t) { +function $I(t) { return { name: "ERB", subLanguage: "xml", @@ -31056,7 +31062,7 @@ function FI(t) { ] }; } -function BI(t) { +function qI(t) { const e = "[a-z'][a-zA-Z0-9_']*", n = "(" + e + ":" + e + "|" + e + ")", r = { keyword: "after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor", literal: "false true" @@ -31200,7 +31206,7 @@ function BI(t) { returnBegin: !0, keywords: { $pattern: "-" + t.IDENT_RE, - keyword: m.map((g) => `${g}|1.5`).join(" ") + keyword: m.map((h) => `${h}|1.5`).join(" ") }, contains: [f] }, @@ -31215,7 +31221,7 @@ function BI(t) { ] }; } -function UI(t) { +function WI(t) { const e = t.regex; return { name: "Erlang REPL", @@ -31258,7 +31264,7 @@ function UI(t) { ] }; } -function HI(t) { +function KI(t) { return { name: "Excel formulae", aliases: [ @@ -31794,7 +31800,7 @@ function HI(t) { ] }; } -function GI(t) { +function QI(t) { return { name: "FIX", contains: [ @@ -31825,7 +31831,7 @@ function GI(t) { case_insensitive: !0 }; } -function VI(t) { +function ZI(t) { const e = { className: "string", begin: /'(.|\\[xXuU][a-zA-Z0-9]+)'/ @@ -31887,7 +31893,7 @@ function VI(t) { ] }; } -function YI(t) { +function XI(t) { const e = t.regex, n = { className: "params", begin: "\\(", @@ -32434,26 +32440,26 @@ function YI(t) { ] }; } -function zI(t) { +function jI(t) { return new RegExp(t.replace(/[-/\\^$*+?.()|[\]{}]/g, "\\$&"), "m"); } -function Xg(t) { +function tg(t) { return t ? typeof t == "string" ? t : t.source : null; } -function Ri(t) { +function Oi(t) { return Bt("(?=", t, ")"); } function Bt(...t) { - return t.map((n) => Xg(n)).join(""); + return t.map((n) => tg(n)).join(""); } -function $I(t) { +function JI(t) { const e = t[t.length - 1]; return typeof e == "object" && e.constructor === Object ? (t.splice(t.length - 1, 1), e) : {}; } function Xn(...t) { - return "(" + ($I(t).capture ? "" : "?:") + t.map((r) => Xg(r)).join("|") + ")"; + return "(" + (JI(t).capture ? "" : "?:") + t.map((r) => tg(r)).join("|") + ")"; } -function qI(t) { +function ex(t) { const e = [ "abstract", "and", @@ -32661,7 +32667,7 @@ function qI(t) { }, f = function({ includeEqual: v }) { let A; v ? A = "!%&*+-/<=>@^|~?" : A = "!%&*+-/<>@^|~?"; - const k = Array.from(A), G = Bt("[", ...k.map(zI), "]"), z = Xn(G, /\./), ae = Bt(z, Ri(z)), Ce = Xn( + const k = Array.from(A), G = Bt("[", ...k.map(jI), "]"), z = Xn(G, /\./), ae = Bt(z, Oi(z)), Ce = Xn( Bt(ae, z, "*"), // Matches at least 2 chars operators Bt(G, "+") @@ -32686,13 +32692,13 @@ function qI(t) { // A single $ can be used as an operator relevance: 0 }; - }, g = f({ includeEqual: !0 }), E = f({ includeEqual: !1 }), S = function(v, A) { + }, h = f({ includeEqual: !0 }), E = f({ includeEqual: !1 }), S = function(v, A) { return { begin: Bt( // a type annotation is a v, // should be a colon or the 'of' keyword - Ri( + Oi( // that has to be followed by Bt( /\s*/, @@ -32723,7 +32729,7 @@ function qI(t) { // - abstract member definitions in classes: abstract Property : int * string // - return type annotations: let f f' = f' () : returnTypeAnnotation // - record fields definitions: { A : int \n B : string } - end: Ri( + end: Oi( Xn( /\n/, /=/ @@ -32740,7 +32746,7 @@ function qI(t) { E ] }; - }, b = S(/:/, "operator"), h = S(/\bof\b/, "keyword"), C = { + }, b = S(/:/, "operator"), g = S(/\bof\b/, "keyword"), C = { begin: [ /(^|\s+)/, // prevents matching the following: `match s.stype with` @@ -32752,7 +32758,7 @@ function qI(t) { 2: "keyword", 4: "title.class" }, - end: Ri(/\(|=|$/), + end: Oi(/\(|=|$/), keywords: l, // match keywords in type constraints. e.g.: when 'a : null contains: [ @@ -32781,7 +32787,7 @@ function qI(t) { /\b/ ], beginScope: { 2: "meta" }, - end: Ri(/\s|$/) + end: Oi(/\s|$/) }, x = { variants: [ t.BINARY_NUMBER_MODE, @@ -32893,7 +32899,7 @@ function qI(t) { R, x, m, - g + h ], { name: "F#", aliases: [ @@ -32938,17 +32944,17 @@ function qI(t) { x ] }, - h, + g, b, T, R, x, m, - g + h ] }; } -function WI(t) { +function tx(t) { const e = t.regex, n = { keyword: "abort acronym acronyms alias all and assign binary card diag display else eq file files for free ge gt if integer le loop lt maximizing minimizing model models ne negative no not option options or ord positive prod put putpage puttl repeat sameas semicont semiint smax smin solve sos1 sos2 sum system table then until using while xor yes", literal: "eps inf na", @@ -33092,7 +33098,7 @@ function WI(t) { ] }; } -function KI(t) { +function nx(t) { const e = { keyword: "bool break call callexe checkinterrupt clear clearg closeall cls comlog compile continue create debug declare delete disable dlibrary dllcall do dos ed edit else elseif enable end endfor endif endp endo errorlog errorlogat expr external fn for format goto gosub graph if keyword let lib library line load loadarray loadexe loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow matrix msym ndpclex new open output outwidth plot plotsym pop prcsn print printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen scroll setarray show sparse stop string struct system trace trap threadfor threadendfor threadbegin threadjoin threadstat threadend until use while winprint ne ge le gt lt and xor or not eq eqv", built_in: "abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin sylvester strtrim", @@ -33262,7 +33268,7 @@ function KI(t) { ] }; } -function QI(t) { +function rx(t) { const e = "[A-Z_][A-Z0-9_.]*", n = "%", r = { $pattern: e, keyword: "IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT EQ LT GT NE GE LE OR XOR" @@ -33326,7 +33332,7 @@ function QI(t) { ].concat(a) }; } -function ZI(t) { +function ix(t) { return { name: "Gherkin", aliases: ["feature"], @@ -33366,7 +33372,7 @@ function ZI(t) { ] }; } -function XI(t) { +function ox(t) { return { name: "GLSL", keywords: { @@ -33394,7 +33400,7 @@ function XI(t) { ] }; } -function jI(t) { +function ax(t) { return { name: "GML", case_insensitive: !1, @@ -36194,7 +36200,7 @@ function jI(t) { ] }; } -function JI(t) { +function sx(t) { return { name: "Golo", keywords: { @@ -36263,7 +36269,7 @@ function JI(t) { ] }; } -function ex(t) { +function lx(t) { return { name: "Gradle", case_insensitive: !0, @@ -36441,11 +36447,11 @@ function ex(t) { ] }; } -function ml(t, e = {}) { +function hl(t, e = {}) { return e.variants = t, e; } -function tx(t) { - const e = t.regex, n = "[A-Za-z0-9_$]+", r = ml([ +function cx(t) { + const e = t.regex, n = "[A-Za-z0-9_$]+", r = hl([ t.C_LINE_COMMENT_MODE, t.C_BLOCK_COMMENT_MODE, t.COMMENT( @@ -36470,10 +36476,10 @@ function tx(t) { className: "regexp", begin: /~?\/[^\/\n]+\//, contains: [t.BACKSLASH_ESCAPE] - }, o = ml([ + }, o = hl([ t.BINARY_NUMBER_MODE, t.C_NUMBER_MODE - ]), a = ml( + ]), a = hl( [ { begin: /"""/, @@ -36610,7 +36616,7 @@ function tx(t) { illegal: /#|<\// }; } -function nx(t) { +function ux(t) { return { name: "HAML", case_insensitive: !0, @@ -36712,7 +36718,7 @@ function nx(t) { ] }; } -function rx(t) { +function dx(t) { const e = t.regex, n = { $pattern: /[\w.\/]+/, built_in: [ @@ -36793,7 +36799,7 @@ function rx(t) { m ] } } - }, g = { + }, h = { // parameters of the form '{{#with x as | y |}}...{{/with}}' begin: /as\s+\|/, keywords: { keyword: "as" }, @@ -36809,7 +36815,7 @@ function rx(t) { t.NUMBER_MODE, t.QUOTE_STRING_MODE, t.APOS_STRING_MODE, - g, + h, f, _, m @@ -36828,7 +36834,7 @@ function rx(t) { keywords: n, className: "name", starts: t.inherit(E, { end: /\}\}/ }) - }), h = t.inherit(p, { + }), g = t.inherit(p, { keywords: n, className: "name" }), C = t.inherit(p, { @@ -36874,7 +36880,7 @@ function rx(t) { className: "template-tag", begin: /\{\{\{\{\//, end: /\}\}\}\}/, - contains: [h] + contains: [g] }, { // open block statement @@ -36900,7 +36906,7 @@ function rx(t) { className: "template-tag", begin: /\{\{\//, end: /\}\}/, - contains: [h] + contains: [g] }, { // template variable or helper-call that is NOT html-escaped @@ -36919,7 +36925,7 @@ function rx(t) { ] }; } -function ix(t) { +function px(t) { const e = "([0-9]_*)+", n = "([0-9a-fA-F]_*)+", r = "([01]_*)+", i = "([0-7]_*)+", l = "([!#$%&*+.\\/<=>?@\\\\^~-]|(?!([(),;\\[\\]`|{}]|[_:\"']))(\\p{S}|\\p{P}))", c = { variants: [ // Double dash forms a valid comment only if it's not part of legal lexeme. // See: Haskell 98 report: https://www.haskell.org/onlinereport/lexemes.html @@ -37093,7 +37099,7 @@ function ix(t) { ] }; } -function ox(t) { +function _x(t) { const e = "[a-zA-Z_$][a-zA-Z0-9_$]*", n = /(-?)(\b0[xX][a-fA-F0-9_]+|(\b\d+(\.[\d_]*)?|\.[\d_]+)(([eE][-+]?\d+)|i32|u32|i64|f64)?)/; return { name: "Haxe", @@ -37249,7 +37255,7 @@ function ox(t) { illegal: /<\// }; } -function ax(t) { +function mx(t) { return { name: "HSP", case_insensitive: !0, @@ -37294,7 +37300,7 @@ function ax(t) { ] }; } -function sx(t) { +function fx(t) { const e = t.regex, n = "HTTP/([32]|1\\.[01])", r = /[A-Za-z][A-Za-z0-9-]*/, i = { className: "attribute", begin: e.concat("^", r, "(?=\\:\\s)"), @@ -37376,7 +37382,7 @@ function sx(t) { ] }; } -function lx(t) { +function hx(t) { const e = "a-zA-Z_\\-!.?+*=<>&#'", n = "[" + e + "][" + e + "0-9/;:]*", r = { $pattern: n, built_in: ( @@ -37413,7 +37419,7 @@ function lx(t) { }, f = { endsWithParent: !0, relevance: 0 - }, g = { + }, h = { className: "name", relevance: 0, keywords: r, @@ -37433,7 +37439,7 @@ function lx(t) { ]; return m.contains = [ t.COMMENT("comment", ""), - g, + h, f ], f.contains = E, u.contains = E, { name: "Hy", @@ -37453,7 +37459,7 @@ function lx(t) { ] }; } -function cx(t) { +function gx(t) { const e = "\\[", n = "\\]"; return { name: "Inform 7", @@ -37507,7 +37513,7 @@ function cx(t) { ] }; } -function ux(t) { +function Ex(t) { const e = t.regex, n = { className: "params", begin: "\\(", @@ -37554,12 +37560,12 @@ function ux(t) { ] }; } -function dx(t) { - const e = "[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*", n = "[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*", r = "and и else иначе endexcept endfinally endforeach конецвсе endif конецесли endwhile конецпока except exitfor finally foreach все if если in в not не or или try while пока ", Ce = "SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT SYSRES_CONST_ACCES_RIGHT_TYPE_FULL SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE SYSRES_CONST_ACCESS_NO_ACCESS_VIEW SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_TYPE_CHANGE SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE SYSRES_CONST_ACCESS_TYPE_EXISTS SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE SYSRES_CONST_ACCESS_TYPE_FULL SYSRES_CONST_ACCESS_TYPE_FULL_CODE SYSRES_CONST_ACCESS_TYPE_VIEW SYSRES_CONST_ACCESS_TYPE_VIEW_CODE SYSRES_CONST_ACTION_TYPE_ABORT SYSRES_CONST_ACTION_TYPE_ACCEPT SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT SYSRES_CONST_ACTION_TYPE_CHANGE_CARD SYSRES_CONST_ACTION_TYPE_CHANGE_KIND SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE SYSRES_CONST_ACTION_TYPE_CONTINUE SYSRES_CONST_ACTION_TYPE_COPY SYSRES_CONST_ACTION_TYPE_CREATE SYSRES_CONST_ACTION_TYPE_CREATE_VERSION SYSRES_CONST_ACTION_TYPE_DELETE SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT SYSRES_CONST_ACTION_TYPE_DELETE_VERSION SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE SYSRES_CONST_ACTION_TYPE_LOCK SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY SYSRES_CONST_ACTION_TYPE_MARK_AS_READED SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED SYSRES_CONST_ACTION_TYPE_MODIFY SYSRES_CONST_ACTION_TYPE_MODIFY_CARD SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE SYSRES_CONST_ACTION_TYPE_PERFORM SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY SYSRES_CONST_ACTION_TYPE_RESTART SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE SYSRES_CONST_ACTION_TYPE_REVISION SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL SYSRES_CONST_ACTION_TYPE_SIGN SYSRES_CONST_ACTION_TYPE_START SYSRES_CONST_ACTION_TYPE_UNLOCK SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER SYSRES_CONST_ACTION_TYPE_VERSION_STATE SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY SYSRES_CONST_ACTION_TYPE_VIEW SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE SYSRES_CONST_ADD_REFERENCE_MODE_NAME SYSRES_CONST_ADDITION_REQUISITE_CODE SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS SYSRES_CONST_ALL_USERS_GROUP SYSRES_CONST_ALL_USERS_GROUP_NAME SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE SYSRES_CONST_APPROVING_SIGNATURE_NAME SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN SYSRES_CONST_ATTACH_TYPE_DOC SYSRES_CONST_ATTACH_TYPE_EDOC SYSRES_CONST_ATTACH_TYPE_FOLDER SYSRES_CONST_ATTACH_TYPE_JOB SYSRES_CONST_ATTACH_TYPE_REFERENCE SYSRES_CONST_ATTACH_TYPE_TASK SYSRES_CONST_AUTH_ENCODED_PASSWORD SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE SYSRES_CONST_AUTH_NOVELL SYSRES_CONST_AUTH_PASSWORD SYSRES_CONST_AUTH_PASSWORD_CODE SYSRES_CONST_AUTH_WINDOWS SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_AUTO_ENUM_METHOD_FLAG SYSRES_CONST_AUTO_NUMERATION_CODE SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_USAGE_ALL SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE SYSRES_CONST_AUTOTEXT_USAGE_SIGN SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE SYSRES_CONST_AUTOTEXT_USAGE_WORK SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BTN_PART SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT SYSRES_CONST_CARD_PART SYSRES_CONST_CARD_REFERENCE_MODE_NAME SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT SYSRES_CONST_CODE_COMPONENT_TYPE_URL SYSRES_CONST_CODE_REQUISITE_ACCESS SYSRES_CONST_CODE_REQUISITE_CODE SYSRES_CONST_CODE_REQUISITE_COMPONENT SYSRES_CONST_CODE_REQUISITE_DESCRIPTION SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT SYSRES_CONST_CODE_REQUISITE_RECORD SYSRES_CONST_COMMENT_REQ_CODE SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE SYSRES_CONST_COMP_CODE_GRD SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DOCS SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_COMPONENT_TYPE_EDOCS SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_COMPONENT_TYPE_OTHER SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES SYSRES_CONST_COMPONENT_TYPE_REFERENCES SYSRES_CONST_COMPONENT_TYPE_REPORTS SYSRES_CONST_COMPONENT_TYPE_SCRIPTS SYSRES_CONST_COMPONENT_TYPE_URL SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION SYSRES_CONST_CONST_FIRM_STATUS_COMMON SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL SYSRES_CONST_CONST_NEGATIVE_VALUE SYSRES_CONST_CONST_POSITIVE_VALUE SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE SYSRES_CONST_CONTENTS_REQUISITE_CODE SYSRES_CONST_DATA_TYPE_BOOLEAN SYSRES_CONST_DATA_TYPE_DATE SYSRES_CONST_DATA_TYPE_FLOAT SYSRES_CONST_DATA_TYPE_INTEGER SYSRES_CONST_DATA_TYPE_PICK SYSRES_CONST_DATA_TYPE_REFERENCE SYSRES_CONST_DATA_TYPE_STRING SYSRES_CONST_DATA_TYPE_TEXT SYSRES_CONST_DATA_TYPE_VARIANT SYSRES_CONST_DATE_CLOSE_REQ_CODE SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR SYSRES_CONST_DATE_OPEN_REQ_CODE SYSRES_CONST_DATE_REQUISITE SYSRES_CONST_DATE_REQUISITE_CODE SYSRES_CONST_DATE_REQUISITE_NAME SYSRES_CONST_DATE_REQUISITE_TYPE SYSRES_CONST_DATE_TYPE_CHAR SYSRES_CONST_DATETIME_FORMAT_VALUE SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_DET1_PART SYSRES_CONST_DET2_PART SYSRES_CONST_DET3_PART SYSRES_CONST_DET4_PART SYSRES_CONST_DET5_PART SYSRES_CONST_DET6_PART SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE SYSRES_CONST_DETAIL_REQ_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME SYSRES_CONST_DOCUMENT_STORAGES_CODE SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME SYSRES_CONST_DOUBLE_REQUISITE_CODE SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE SYSRES_CONST_EDITORS_REFERENCE_CODE SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE SYSRES_CONST_EDOC_DATE_REQUISITE_CODE SYSRES_CONST_EDOC_KIND_REFERENCE_CODE SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE SYSRES_CONST_EDOC_NONE_ENCODE_CODE SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_READONLY_ACCESS_CODE SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE SYSRES_CONST_EDOC_WRITE_ACCES_CODE SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_END_DATE_REQUISITE_CODE SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE SYSRES_CONST_EXIST_CONST SYSRES_CONST_EXIST_VALUE SYSRES_CONST_EXPORT_LOCK_TYPE_ASK SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK SYSRES_CONST_EXPORT_VERSION_TYPE_ASK SYSRES_CONST_EXPORT_VERSION_TYPE_LAST SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE SYSRES_CONST_EXTENSION_REQUISITE_CODE SYSRES_CONST_FILTER_NAME_REQUISITE_CODE SYSRES_CONST_FILTER_REQUISITE_CODE SYSRES_CONST_FILTER_TYPE_COMMON_CODE SYSRES_CONST_FILTER_TYPE_COMMON_NAME SYSRES_CONST_FILTER_TYPE_USER_CODE SYSRES_CONST_FILTER_TYPE_USER_NAME SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR SYSRES_CONST_FLOAT_REQUISITE_TYPE SYSRES_CONST_FOLDER_AUTHOR_VALUE SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS SYSRES_CONST_FOLDER_KIND_COMPONENTS SYSRES_CONST_FOLDER_KIND_EDOCS SYSRES_CONST_FOLDER_KIND_JOBS SYSRES_CONST_FOLDER_KIND_TASKS SYSRES_CONST_FOLDER_TYPE_COMMON SYSRES_CONST_FOLDER_TYPE_COMPONENT SYSRES_CONST_FOLDER_TYPE_FAVORITES SYSRES_CONST_FOLDER_TYPE_INBOX SYSRES_CONST_FOLDER_TYPE_OUTBOX SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH SYSRES_CONST_FOLDER_TYPE_SEARCH SYSRES_CONST_FOLDER_TYPE_SHORTCUTS SYSRES_CONST_FOLDER_TYPE_USER SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG SYSRES_CONST_FULL_SUBSTITUTE_TYPE SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE SYSRES_CONST_FUNCTION_CANCEL_RESULT SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM SYSRES_CONST_FUNCTION_CATEGORY_USER SYSRES_CONST_FUNCTION_FAILURE_RESULT SYSRES_CONST_FUNCTION_SAVE_RESULT SYSRES_CONST_GENERATED_REQUISITE SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_USER_REQUISITE_CODE SYSRES_CONST_GROUPS_REFERENCE_CODE SYSRES_CONST_GROUPS_REQUISITE_CODE SYSRES_CONST_HIDDEN_MODE_NAME SYSRES_CONST_HIGH_LVL_REQUISITE_CODE SYSRES_CONST_HISTORY_ACTION_CREATE_CODE SYSRES_CONST_HISTORY_ACTION_DELETE_CODE SYSRES_CONST_HISTORY_ACTION_EDIT_CODE SYSRES_CONST_HOUR_CHAR SYSRES_CONST_ID_REQUISITE_CODE SYSRES_CONST_IDSPS_REQUISITE_CODE SYSRES_CONST_IMAGE_MODE_COLOR SYSRES_CONST_IMAGE_MODE_GREYSCALE SYSRES_CONST_IMAGE_MODE_MONOCHROME SYSRES_CONST_IMPORTANCE_HIGH SYSRES_CONST_IMPORTANCE_LOW SYSRES_CONST_IMPORTANCE_NORMAL SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE SYSRES_CONST_INT_REQUISITE SYSRES_CONST_INT_REQUISITE_TYPE SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR SYSRES_CONST_INTEGER_TYPE_CHAR SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_JOB_BLOCK_DESCRIPTION SYSRES_CONST_JOB_KIND_CONTROL_JOB SYSRES_CONST_JOB_KIND_JOB SYSRES_CONST_JOB_KIND_NOTICE SYSRES_CONST_JOB_STATE_ABORTED SYSRES_CONST_JOB_STATE_COMPLETE SYSRES_CONST_JOB_STATE_WORKING SYSRES_CONST_KIND_REQUISITE_CODE SYSRES_CONST_KIND_REQUISITE_NAME SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE SYSRES_CONST_KOD_INPUT_TYPE SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT SYSRES_CONST_LINK_OBJECT_KIND_EDOC SYSRES_CONST_LINK_OBJECT_KIND_FOLDER SYSRES_CONST_LINK_OBJECT_KIND_JOB SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE SYSRES_CONST_LINK_OBJECT_KIND_TASK SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE SYSRES_CONST_LIST_REFERENCE_MODE_NAME SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE SYSRES_CONST_MAIN_VIEW_CODE SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE SYSRES_CONST_MAXIMIZED_MODE_NAME SYSRES_CONST_ME_VALUE SYSRES_CONST_MESSAGE_ATTENTION_CAPTION SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION SYSRES_CONST_MESSAGE_ERROR_CAPTION SYSRES_CONST_MESSAGE_INFORMATION_CAPTION SYSRES_CONST_MINIMIZED_MODE_NAME SYSRES_CONST_MINUTE_CHAR SYSRES_CONST_MODULE_REQUISITE_CODE SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION SYSRES_CONST_MONTH_FORMAT_VALUE SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_NAME_REQUISITE_CODE SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE SYSRES_CONST_NAMEAN_INPUT_TYPE SYSRES_CONST_NEGATIVE_PICK_VALUE SYSRES_CONST_NEGATIVE_VALUE SYSRES_CONST_NO SYSRES_CONST_NO_PICK_VALUE SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE SYSRES_CONST_NO_VALUE SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_NORMAL_MODE_NAME SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_NOTE_REQUISITE_CODE SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION SYSRES_CONST_NUM_REQUISITE SYSRES_CONST_NUM_STR_REQUISITE_CODE SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG SYSRES_CONST_NUMERATION_AUTO_STRONG SYSRES_CONST_NUMERATION_FROM_DICTONARY SYSRES_CONST_NUMERATION_MANUAL SYSRES_CONST_NUMERIC_TYPE_CHAR SYSRES_CONST_NUMREQ_REQUISITE_CODE SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_ORIGINALREF_REQUISITE_CODE SYSRES_CONST_OURFIRM_REF_CODE SYSRES_CONST_OURFIRM_REQUISITE_CODE SYSRES_CONST_OURFIRM_VAR SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE SYSRES_CONST_PICK_NEGATIVE_RESULT SYSRES_CONST_PICK_POSITIVE_RESULT SYSRES_CONST_PICK_REQUISITE SYSRES_CONST_PICK_REQUISITE_TYPE SYSRES_CONST_PICK_TYPE_CHAR SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE SYSRES_CONST_PLATFORM_VERSION_COMMENT SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_POSITIVE_PICK_VALUE SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE SYSRES_CONST_PRIORITY_REQUISITE_CODE SYSRES_CONST_QUALIFIED_TASK_TYPE SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE SYSRES_CONST_RECSTAT_REQUISITE_CODE SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_REF_REQUISITE SYSRES_CONST_REF_REQUISITE_TYPE SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE SYSRES_CONST_REFERENCE_TYPE_CHAR SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_MODE_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_EDIT_CODE SYSRES_CONST_REQ_MODE_HIDDEN_CODE SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_VIEW_CODE SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE SYSRES_CONST_REQ_SECTION_VALUE SYSRES_CONST_REQ_TYPE_VALUE SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME SYSRES_CONST_REQUISITE_FORMAT_LEFT SYSRES_CONST_REQUISITE_FORMAT_RIGHT SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_REQUISITE_SECTION_ACTIONS SYSRES_CONST_REQUISITE_SECTION_BUTTON SYSRES_CONST_REQUISITE_SECTION_BUTTONS SYSRES_CONST_REQUISITE_SECTION_CARD SYSRES_CONST_REQUISITE_SECTION_TABLE SYSRES_CONST_REQUISITE_SECTION_TABLE10 SYSRES_CONST_REQUISITE_SECTION_TABLE11 SYSRES_CONST_REQUISITE_SECTION_TABLE12 SYSRES_CONST_REQUISITE_SECTION_TABLE13 SYSRES_CONST_REQUISITE_SECTION_TABLE14 SYSRES_CONST_REQUISITE_SECTION_TABLE15 SYSRES_CONST_REQUISITE_SECTION_TABLE16 SYSRES_CONST_REQUISITE_SECTION_TABLE17 SYSRES_CONST_REQUISITE_SECTION_TABLE18 SYSRES_CONST_REQUISITE_SECTION_TABLE19 SYSRES_CONST_REQUISITE_SECTION_TABLE2 SYSRES_CONST_REQUISITE_SECTION_TABLE20 SYSRES_CONST_REQUISITE_SECTION_TABLE21 SYSRES_CONST_REQUISITE_SECTION_TABLE22 SYSRES_CONST_REQUISITE_SECTION_TABLE23 SYSRES_CONST_REQUISITE_SECTION_TABLE24 SYSRES_CONST_REQUISITE_SECTION_TABLE3 SYSRES_CONST_REQUISITE_SECTION_TABLE4 SYSRES_CONST_REQUISITE_SECTION_TABLE5 SYSRES_CONST_REQUISITE_SECTION_TABLE6 SYSRES_CONST_REQUISITE_SECTION_TABLE7 SYSRES_CONST_REQUISITE_SECTION_TABLE8 SYSRES_CONST_REQUISITE_SECTION_TABLE9 SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_RIGHT_ALIGNMENT_CODE SYSRES_CONST_ROLES_REFERENCE_CODE SYSRES_CONST_ROUTE_STEP_AFTER_RUS SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS SYSRES_CONST_ROUTE_TYPE_COMPLEX SYSRES_CONST_ROUTE_TYPE_PARALLEL SYSRES_CONST_ROUTE_TYPE_SERIAL SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE SYSRES_CONST_SEARCHES_COMPONENT_CONTENT SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME SYSRES_CONST_SEARCHES_EDOC_CONTENT SYSRES_CONST_SEARCHES_FOLDER_CONTENT SYSRES_CONST_SEARCHES_JOB_CONTENT SYSRES_CONST_SEARCHES_REFERENCE_CODE SYSRES_CONST_SEARCHES_TASK_CONTENT SYSRES_CONST_SECOND_CHAR SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE SYSRES_CONST_SECTION_REQUISITE_CODE SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE SYSRES_CONST_SELECT_REFERENCE_MODE_NAME SYSRES_CONST_SELECT_TYPE_SELECTABLE SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD SYSRES_CONST_SELECT_TYPE_UNSLECTABLE SYSRES_CONST_SERVER_TYPE_MAIN SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE SYSRES_CONST_STATE_REQ_NAME SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE SYSRES_CONST_STATE_REQUISITE_CODE SYSRES_CONST_STATIC_ROLE_TYPE_CODE SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE SYSRES_CONST_STATUS_VALUE_AUTOCLEANING SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE SYSRES_CONST_STATUS_VALUE_COMPLETE SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE SYSRES_CONST_STATUS_VALUE_RED_SQUARE SYSRES_CONST_STATUS_VALUE_SUSPEND SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE SYSRES_CONST_STORAGE_TYPE_FILE SYSRES_CONST_STORAGE_TYPE_SQL_SERVER SYSRES_CONST_STR_REQUISITE SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR SYSRES_CONST_STRING_REQUISITE_CODE SYSRES_CONST_STRING_REQUISITE_TYPE SYSRES_CONST_STRING_TYPE_CHAR SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE SYSRES_CONST_SYSTEM_VERSION_COMMENT SYSRES_CONST_TASK_ACCESS_TYPE_ALL SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD SYSRES_CONST_TASK_ENCODE_TYPE_NONE SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD SYSRES_CONST_TASK_ROUTE_ALL_CONDITION SYSRES_CONST_TASK_ROUTE_AND_CONDITION SYSRES_CONST_TASK_ROUTE_OR_CONDITION SYSRES_CONST_TASK_STATE_ABORTED SYSRES_CONST_TASK_STATE_COMPLETE SYSRES_CONST_TASK_STATE_CONTINUED SYSRES_CONST_TASK_STATE_CONTROL SYSRES_CONST_TASK_STATE_INIT SYSRES_CONST_TASK_STATE_WORKING SYSRES_CONST_TASK_TITLE SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE SYSRES_CONST_TASK_TYPES_REFERENCE_CODE SYSRES_CONST_TEMPLATES_REFERENCE_CODE SYSRES_CONST_TEST_DATE_REQUISITE_NAME SYSRES_CONST_TEST_DEV_DATABASE_NAME SYSRES_CONST_TEST_DEV_SYSTEM_CODE SYSRES_CONST_TEST_EDMS_DATABASE_NAME SYSRES_CONST_TEST_EDMS_MAIN_CODE SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME SYSRES_CONST_TEST_EDMS_SECOND_CODE SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME SYSRES_CONST_TEST_EDMS_SYSTEM_CODE SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME SYSRES_CONST_TEXT_REQUISITE SYSRES_CONST_TEXT_REQUISITE_CODE SYSRES_CONST_TEXT_REQUISITE_TYPE SYSRES_CONST_TEXT_TYPE_CHAR SYSRES_CONST_TYPE_CODE_REQUISITE_CODE SYSRES_CONST_TYPE_REQUISITE_CODE SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME SYSRES_CONST_USE_ACCESS_TYPE_CODE SYSRES_CONST_USE_ACCESS_TYPE_NAME SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE SYSRES_CONST_USER_CATEGORY_NORMAL SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE SYSRES_CONST_USER_COMMON_CATEGORY SYSRES_CONST_USER_COMMON_CATEGORY_CODE SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_USER_LOGIN_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_USER_SERVICE_CATEGORY SYSRES_CONST_USER_SERVICE_CATEGORY_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME SYSRES_CONST_USER_STATUS_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_DEVELOPER_NAME SYSRES_CONST_USER_STATUS_DISABLED_CODE SYSRES_CONST_USER_STATUS_DISABLED_NAME SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_USER_CODE SYSRES_CONST_USER_STATUS_USER_NAME SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER SYSRES_CONST_USER_TYPE_REQUISITE_CODE SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE SYSRES_CONST_USERS_REFERENCE_CODE SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME SYSRES_CONST_USERS_REQUISITE_CODE SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME SYSRES_CONST_VIEW_DEFAULT_CODE SYSRES_CONST_VIEW_DEFAULT_NAME SYSRES_CONST_VIEWER_REQUISITE_CODE SYSRES_CONST_WAITING_BLOCK_DESCRIPTION SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT SYSRES_CONST_XML_ENCODING SYSRES_CONST_XREC_STAT_REQUISITE_CODE SYSRES_CONST_XRECID_FIELD_NAME SYSRES_CONST_YES SYSRES_CONST_YES_NO_2_REQUISITE_CODE SYSRES_CONST_YES_NO_REQUISITE_CODE SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_YES_PICK_VALUE SYSRES_CONST_YES_VALUE " + "CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE " + "ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME " + "DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY " + "ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION " + "JOB_BLOCK_ABORT_DEADLINE_PROPERTY JOB_BLOCK_AFTER_FINISH_EVENT JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT JOB_BLOCK_ATTACHMENT_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT JOB_BLOCK_BEFORE_START_EVENT JOB_BLOCK_CREATED_JOBS_PROPERTY JOB_BLOCK_DEADLINE_PROPERTY JOB_BLOCK_EXECUTION_RESULTS_PROPERTY JOB_BLOCK_IS_PARALLEL_PROPERTY JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY JOB_BLOCK_JOB_TEXT_PROPERTY JOB_BLOCK_NAME_PROPERTY JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY JOB_BLOCK_PERFORMER_PROPERTY JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY JOB_BLOCK_SUBJECT_PROPERTY " + "ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE " + "smHidden smMaximized smMinimized smNormal wmNo wmYes " + "COMPONENT_TOKEN_LINK_KIND DOCUMENT_LINK_KIND EDOCUMENT_LINK_KIND FOLDER_LINK_KIND JOB_LINK_KIND REFERENCE_LINK_KIND TASK_LINK_KIND " + "COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE " + "MONITOR_BLOCK_AFTER_FINISH_EVENT MONITOR_BLOCK_BEFORE_START_EVENT MONITOR_BLOCK_DEADLINE_PROPERTY MONITOR_BLOCK_INTERVAL_PROPERTY MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY MONITOR_BLOCK_NAME_PROPERTY MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY " + "NOTICE_BLOCK_AFTER_FINISH_EVENT NOTICE_BLOCK_ATTACHMENT_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY NOTICE_BLOCK_BEFORE_START_EVENT NOTICE_BLOCK_CREATED_NOTICES_PROPERTY NOTICE_BLOCK_DEADLINE_PROPERTY NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY NOTICE_BLOCK_NAME_PROPERTY NOTICE_BLOCK_NOTICE_TEXT_PROPERTY NOTICE_BLOCK_PERFORMER_PROPERTY NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY NOTICE_BLOCK_SUBJECT_PROPERTY " + "dseAfterCancel dseAfterClose dseAfterDelete dseAfterDeleteOutOfTransaction dseAfterInsert dseAfterOpen dseAfterScroll dseAfterUpdate dseAfterUpdateOutOfTransaction dseBeforeCancel dseBeforeClose dseBeforeDelete dseBeforeDetailUpdate dseBeforeInsert dseBeforeOpen dseBeforeUpdate dseOnAnyRequisiteChange dseOnCloseRecord dseOnDeleteError dseOnOpenRecord dseOnPrepareUpdate dseOnUpdateError dseOnUpdateRatifiedRecord dseOnValidDelete dseOnValidUpdate reOnChange reOnChangeValues SELECTION_BEGIN_ROUTE_EVENT SELECTION_END_ROUTE_EVENT " + "CURRENT_PERIOD_IS_REQUIRED PREVIOUS_CARD_TYPE_NAME SHOW_RECORD_PROPERTIES_FORM " + "ACCESS_RIGHTS_SETTING_DIALOG_CODE ADMINISTRATOR_USER_CODE ANALYTIC_REPORT_TYPE asrtHideLocal asrtHideRemote CALCULATED_ROLE_TYPE_CODE COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE DCTS_TEST_PROTOCOLS_FOLDER_PATH E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER E_EDOC_VERSION_ALREDY_SIGNED E_EDOC_VERSION_ALREDY_SIGNED_BY_USER EDOC_TYPES_CODE_REQUISITE_FIELD_NAME EDOCUMENTS_ALIAS_NAME FILES_FOLDER_PATH FILTER_OPERANDS_DELIMITER FILTER_OPERATIONS_DELIMITER FORMCARD_NAME FORMLIST_NAME GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE INTEGRATED_REPORT_TYPE IS_BUILDER_APPLICATION_ROLE IS_BUILDER_APPLICATION_ROLE2 IS_BUILDER_USERS ISBSYSDEV LOG_FOLDER_PATH mbCancel mbNo mbNoToAll mbOK mbYes mbYesToAll MEMORY_DATASET_DESRIPTIONS_FILENAME mrNo mrNoToAll mrYes mrYesToAll MULTIPLE_SELECT_DIALOG_CODE NONOPERATING_RECORD_FLAG_FEMININE NONOPERATING_RECORD_FLAG_MASCULINE OPERATING_RECORD_FLAG_FEMININE OPERATING_RECORD_FLAG_MASCULINE PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE PROGRAM_INITIATED_LOOKUP_ACTION ratDelete ratEdit ratInsert REPORT_TYPE REQUIRED_PICK_VALUES_VARIABLE rmCard rmList SBRTE_PROGID_DEV SBRTE_PROGID_RELEASE STATIC_ROLE_TYPE_CODE SUPPRESS_EMPTY_TEMPLATE_CREATION SYSTEM_USER_CODE UPDATE_DIALOG_DATASET USED_IN_OBJECT_HINT_PARAM USER_INITIATED_LOOKUP_ACTION USER_NAME_FORMAT USER_SELECTION_RESTRICTIONS WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH ELS_SUBTYPE_CONTROL_NAME ELS_FOLDER_KIND_CONTROL_NAME REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME " + "PRIVILEGE_COMPONENT_FULL_ACCESS PRIVILEGE_DEVELOPMENT_EXPORT PRIVILEGE_DEVELOPMENT_IMPORT PRIVILEGE_DOCUMENT_DELETE PRIVILEGE_ESD PRIVILEGE_FOLDER_DELETE PRIVILEGE_MANAGE_ACCESS_RIGHTS PRIVILEGE_MANAGE_REPLICATION PRIVILEGE_MANAGE_SESSION_SERVER PRIVILEGE_OBJECT_FULL_ACCESS PRIVILEGE_OBJECT_VIEW PRIVILEGE_RESERVE_LICENSE PRIVILEGE_SYSTEM_CUSTOMIZE PRIVILEGE_SYSTEM_DEVELOP PRIVILEGE_SYSTEM_INSTALL PRIVILEGE_TASK_DELETE PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE PRIVILEGES_PSEUDOREFERENCE_CODE " + "ACCESS_TYPES_PSEUDOREFERENCE_CODE ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE COMPONENTS_PSEUDOREFERENCE_CODE FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE GROUPS_PSEUDOREFERENCE_CODE RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE REFTYPES_PSEUDOREFERENCE_CODE REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE SEND_PROTOCOL_PSEUDOREFERENCE_CODE SUBSTITUTES_PSEUDOREFERENCE_CODE SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE UNITS_PSEUDOREFERENCE_CODE USERS_PSEUDOREFERENCE_CODE VIEWERS_PSEUDOREFERENCE_CODE " + "CERTIFICATE_TYPE_ENCRYPT CERTIFICATE_TYPE_SIGN CERTIFICATE_TYPE_SIGN_AND_ENCRYPT " + "STORAGE_TYPE_FILE STORAGE_TYPE_NAS_CIFS STORAGE_TYPE_SAPERION STORAGE_TYPE_SQL_SERVER " + "COMPTYPE2_REQUISITE_DOCUMENTS_VALUE COMPTYPE2_REQUISITE_TASKS_VALUE COMPTYPE2_REQUISITE_FOLDERS_VALUE COMPTYPE2_REQUISITE_REFERENCES_VALUE " + "SYSREQ_CODE SYSREQ_COMPTYPE2 SYSREQ_CONST_AVAILABLE_FOR_WEB SYSREQ_CONST_COMMON_CODE SYSREQ_CONST_COMMON_VALUE SYSREQ_CONST_FIRM_CODE SYSREQ_CONST_FIRM_STATUS SYSREQ_CONST_FIRM_VALUE SYSREQ_CONST_SERVER_STATUS SYSREQ_CONTENTS SYSREQ_DATE_OPEN SYSREQ_DATE_CLOSE SYSREQ_DESCRIPTION SYSREQ_DESCRIPTION_LOCALIZE_ID SYSREQ_DOUBLE SYSREQ_EDOC_ACCESS_TYPE SYSREQ_EDOC_AUTHOR SYSREQ_EDOC_CREATED SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE SYSREQ_EDOC_EDITOR SYSREQ_EDOC_ENCODE_TYPE SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_EXPORT_DATE SYSREQ_EDOC_EXPORTER SYSREQ_EDOC_KIND SYSREQ_EDOC_LIFE_STAGE_NAME SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE SYSREQ_EDOC_MODIFIED SYSREQ_EDOC_NAME SYSREQ_EDOC_NOTE SYSREQ_EDOC_QUALIFIED_ID SYSREQ_EDOC_SESSION_KEY SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_SIGNATURE_TYPE SYSREQ_EDOC_SIGNED SYSREQ_EDOC_STORAGE SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE SYSREQ_EDOC_STORAGES_CHECK_RIGHTS SYSREQ_EDOC_STORAGES_COMPUTER_NAME SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE SYSREQ_EDOC_STORAGES_FUNCTION SYSREQ_EDOC_STORAGES_INITIALIZED SYSREQ_EDOC_STORAGES_LOCAL_PATH SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT SYSREQ_EDOC_STORAGES_SERVER_NAME SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME SYSREQ_EDOC_STORAGES_TYPE SYSREQ_EDOC_TEXT_MODIFIED SYSREQ_EDOC_TYPE_ACT_CODE SYSREQ_EDOC_TYPE_ACT_DESCRIPTION SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_EDOC_TYPE_ACT_SECTION SYSREQ_EDOC_TYPE_ADD_PARAMS SYSREQ_EDOC_TYPE_COMMENT SYSREQ_EDOC_TYPE_EVENT_TEXT SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID SYSREQ_EDOC_TYPE_NUMERATION_METHOD SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE SYSREQ_EDOC_TYPE_REQ_CODE SYSREQ_EDOC_TYPE_REQ_DESCRIPTION SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_REQ_IS_LEADING SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED SYSREQ_EDOC_TYPE_REQ_NUMBER SYSREQ_EDOC_TYPE_REQ_ON_CHANGE SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_EDOC_TYPE_REQ_ON_SELECT SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND SYSREQ_EDOC_TYPE_REQ_SECTION SYSREQ_EDOC_TYPE_VIEW_CARD SYSREQ_EDOC_TYPE_VIEW_CODE SYSREQ_EDOC_TYPE_VIEW_COMMENT SYSREQ_EDOC_TYPE_VIEW_IS_MAIN SYSREQ_EDOC_TYPE_VIEW_NAME SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_EDOC_VERSION_AUTHOR SYSREQ_EDOC_VERSION_CRC SYSREQ_EDOC_VERSION_DATA SYSREQ_EDOC_VERSION_EDITOR SYSREQ_EDOC_VERSION_EXPORT_DATE SYSREQ_EDOC_VERSION_EXPORTER SYSREQ_EDOC_VERSION_HIDDEN SYSREQ_EDOC_VERSION_LIFE_STAGE SYSREQ_EDOC_VERSION_MODIFIED SYSREQ_EDOC_VERSION_NOTE SYSREQ_EDOC_VERSION_SIGNATURE_TYPE SYSREQ_EDOC_VERSION_SIGNED SYSREQ_EDOC_VERSION_SIZE SYSREQ_EDOC_VERSION_SOURCE SYSREQ_EDOC_VERSION_TEXT_MODIFIED SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE SYSREQ_FOLDER_KIND SYSREQ_FUNC_CATEGORY SYSREQ_FUNC_COMMENT SYSREQ_FUNC_GROUP SYSREQ_FUNC_GROUP_COMMENT SYSREQ_FUNC_GROUP_NUMBER SYSREQ_FUNC_HELP SYSREQ_FUNC_PARAM_DEF_VALUE SYSREQ_FUNC_PARAM_IDENT SYSREQ_FUNC_PARAM_NUMBER SYSREQ_FUNC_PARAM_TYPE SYSREQ_FUNC_TEXT SYSREQ_GROUP_CATEGORY SYSREQ_ID SYSREQ_LAST_UPDATE SYSREQ_LEADER_REFERENCE SYSREQ_LINE_NUMBER SYSREQ_MAIN_RECORD_ID SYSREQ_NAME SYSREQ_NAME_LOCALIZE_ID SYSREQ_NOTE SYSREQ_ORIGINAL_RECORD SYSREQ_OUR_FIRM SYSREQ_PROFILING_SETTINGS_BATCH_LOGING SYSREQ_PROFILING_SETTINGS_BATCH_SIZE SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_START_LOGGED SYSREQ_RECORD_STATUS SYSREQ_REF_REQ_FIELD_NAME SYSREQ_REF_REQ_FORMAT SYSREQ_REF_REQ_GENERATED SYSREQ_REF_REQ_LENGTH SYSREQ_REF_REQ_PRECISION SYSREQ_REF_REQ_REFERENCE SYSREQ_REF_REQ_SECTION SYSREQ_REF_REQ_STORED SYSREQ_REF_REQ_TOKENS SYSREQ_REF_REQ_TYPE SYSREQ_REF_REQ_VIEW SYSREQ_REF_TYPE_ACT_CODE SYSREQ_REF_TYPE_ACT_DESCRIPTION SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_ACT_ON_EXECUTE SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_REF_TYPE_ACT_SECTION SYSREQ_REF_TYPE_ADD_PARAMS SYSREQ_REF_TYPE_COMMENT SYSREQ_REF_TYPE_COMMON_SETTINGS SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME SYSREQ_REF_TYPE_EVENT_TEXT SYSREQ_REF_TYPE_MAIN_LEADING_REF SYSREQ_REF_TYPE_NAME_IN_SINGULAR SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_REF_TYPE_NAME_LOCALIZE_ID SYSREQ_REF_TYPE_NUMERATION_METHOD SYSREQ_REF_TYPE_REQ_CODE SYSREQ_REF_TYPE_REQ_DESCRIPTION SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_REQ_IS_CONTROL SYSREQ_REF_TYPE_REQ_IS_FILTER SYSREQ_REF_TYPE_REQ_IS_LEADING SYSREQ_REF_TYPE_REQ_IS_REQUIRED SYSREQ_REF_TYPE_REQ_NUMBER SYSREQ_REF_TYPE_REQ_ON_CHANGE SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_REF_TYPE_REQ_ON_SELECT SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND SYSREQ_REF_TYPE_REQ_SECTION SYSREQ_REF_TYPE_VIEW_CARD SYSREQ_REF_TYPE_VIEW_CODE SYSREQ_REF_TYPE_VIEW_COMMENT SYSREQ_REF_TYPE_VIEW_IS_MAIN SYSREQ_REF_TYPE_VIEW_NAME SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_REFERENCE_TYPE_ID SYSREQ_STATE SYSREQ_STATЕ SYSREQ_SYSTEM_SETTINGS_VALUE SYSREQ_TYPE SYSREQ_UNIT SYSREQ_UNIT_ID SYSREQ_USER_GROUPS_GROUP_FULL_NAME SYSREQ_USER_GROUPS_GROUP_NAME SYSREQ_USER_GROUPS_GROUP_SERVER_NAME SYSREQ_USERS_ACCESS_RIGHTS SYSREQ_USERS_AUTHENTICATION SYSREQ_USERS_CATEGORY SYSREQ_USERS_COMPONENT SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC SYSREQ_USERS_DOMAIN SYSREQ_USERS_FULL_USER_NAME SYSREQ_USERS_GROUP SYSREQ_USERS_IS_MAIN_SERVER SYSREQ_USERS_LOGIN SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC SYSREQ_USERS_STATUS SYSREQ_USERS_USER_CERTIFICATE SYSREQ_USERS_USER_CERTIFICATE_INFO SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION SYSREQ_USERS_USER_CERTIFICATE_STATE SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT SYSREQ_USERS_USER_DEFAULT_CERTIFICATE SYSREQ_USERS_USER_DESCRIPTION SYSREQ_USERS_USER_GLOBAL_NAME SYSREQ_USERS_USER_LOGIN SYSREQ_USERS_USER_MAIN_SERVER SYSREQ_USERS_USER_TYPE SYSREQ_WORK_RULES_FOLDER_ID " + "RESULT_VAR_NAME RESULT_VAR_NAME_ENG " + "AUTO_NUMERATION_RULE_ID CANT_CHANGE_ID_REQUISITE_RULE_ID CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID CHECK_CODE_REQUISITE_RULE_ID CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID CHECK_FILTRATER_CHANGES_RULE_ID CHECK_RECORD_INTERVAL_RULE_ID CHECK_REFERENCE_INTERVAL_RULE_ID CHECK_REQUIRED_DATA_FULLNESS_RULE_ID CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID MAKE_RECORD_UNRATIFIED_RULE_ID RESTORE_AUTO_NUMERATION_RULE_ID SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID SET_IDSPS_VALUE_RULE_ID SET_NEXT_CODE_VALUE_RULE_ID SET_OURFIRM_BOUNDS_RULE_ID SET_OURFIRM_REQUISITE_RULE_ID " + "SCRIPT_BLOCK_AFTER_FINISH_EVENT SCRIPT_BLOCK_BEFORE_START_EVENT SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY SCRIPT_BLOCK_NAME_PROPERTY SCRIPT_BLOCK_SCRIPT_PROPERTY " + "SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_AFTER_FINISH_EVENT SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT SUBTASK_BLOCK_ATTACHMENTS_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY SUBTASK_BLOCK_BEFORE_START_EVENT SUBTASK_BLOCK_CREATED_TASK_PROPERTY SUBTASK_BLOCK_CREATION_EVENT SUBTASK_BLOCK_DEADLINE_PROPERTY SUBTASK_BLOCK_IMPORTANCE_PROPERTY SUBTASK_BLOCK_INITIATOR_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY SUBTASK_BLOCK_JOBS_TYPE_PROPERTY SUBTASK_BLOCK_NAME_PROPERTY SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY SUBTASK_BLOCK_PERFORMERS_PROPERTY SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_START_EVENT SUBTASK_BLOCK_STEP_CONTROL_PROPERTY SUBTASK_BLOCK_SUBJECT_PROPERTY SUBTASK_BLOCK_TASK_CONTROL_PROPERTY SUBTASK_BLOCK_TEXT_PROPERTY SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY " + "SYSCOMP_CONTROL_JOBS SYSCOMP_FOLDERS SYSCOMP_JOBS SYSCOMP_NOTICES SYSCOMP_TASKS " + "SYSDLG_CREATE_EDOCUMENT SYSDLG_CREATE_EDOCUMENT_VERSION SYSDLG_CURRENT_PERIOD SYSDLG_EDIT_FUNCTION_HELP SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS SYSDLG_EXPORT_SINGLE_EDOCUMENT SYSDLG_IMPORT_EDOCUMENT SYSDLG_MULTIPLE_SELECT SYSDLG_SETUP_ACCESS_RIGHTS SYSDLG_SETUP_DEFAULT_RIGHTS SYSDLG_SETUP_FILTER_CONDITION SYSDLG_SETUP_SIGN_RIGHTS SYSDLG_SETUP_TASK_OBSERVERS SYSDLG_SETUP_TASK_ROUTE SYSDLG_SETUP_USERS_LIST SYSDLG_SIGN_EDOCUMENT SYSDLG_SIGN_MULTIPLE_EDOCUMENTS " + "SYSREF_ACCESS_RIGHTS_TYPES SYSREF_ADMINISTRATION_HISTORY SYSREF_ALL_AVAILABLE_COMPONENTS SYSREF_ALL_AVAILABLE_PRIVILEGES SYSREF_ALL_REPLICATING_COMPONENTS SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS SYSREF_CALENDAR_EVENTS SYSREF_COMPONENT_TOKEN_HISTORY SYSREF_COMPONENT_TOKENS SYSREF_COMPONENTS SYSREF_CONSTANTS SYSREF_DATA_RECEIVE_PROTOCOL SYSREF_DATA_SEND_PROTOCOL SYSREF_DIALOGS SYSREF_DIALOGS_REQUISITES SYSREF_EDITORS SYSREF_EDOC_CARDS SYSREF_EDOC_TYPES SYSREF_EDOCUMENT_CARD_REQUISITES SYSREF_EDOCUMENT_CARD_TYPES SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE SYSREF_EDOCUMENT_CARDS SYSREF_EDOCUMENT_HISTORY SYSREF_EDOCUMENT_KINDS SYSREF_EDOCUMENT_REQUISITES SYSREF_EDOCUMENT_SIGNATURES SYSREF_EDOCUMENT_TEMPLATES SYSREF_EDOCUMENT_TEXT_STORAGES SYSREF_EDOCUMENT_VIEWS SYSREF_FILTERER_SETUP_CONFLICTS SYSREF_FILTRATER_SETTING_CONFLICTS SYSREF_FOLDER_HISTORY SYSREF_FOLDERS SYSREF_FUNCTION_GROUPS SYSREF_FUNCTION_PARAMS SYSREF_FUNCTIONS SYSREF_JOB_HISTORY SYSREF_LINKS SYSREF_LOCALIZATION_DICTIONARY SYSREF_LOCALIZATION_LANGUAGES SYSREF_MODULES SYSREF_PRIVILEGES SYSREF_RECORD_HISTORY SYSREF_REFERENCE_REQUISITES SYSREF_REFERENCE_TYPE_VIEWS SYSREF_REFERENCE_TYPES SYSREF_REFERENCES SYSREF_REFERENCES_REQUISITES SYSREF_REMOTE_SERVERS SYSREF_REPLICATION_SESSIONS_LOG SYSREF_REPLICATION_SESSIONS_PROTOCOL SYSREF_REPORTS SYSREF_ROLES SYSREF_ROUTE_BLOCK_GROUPS SYSREF_ROUTE_BLOCKS SYSREF_SCRIPTS SYSREF_SEARCHES SYSREF_SERVER_EVENTS SYSREF_SERVER_EVENTS_HISTORY SYSREF_STANDARD_ROUTE_GROUPS SYSREF_STANDARD_ROUTES SYSREF_STATUSES SYSREF_SYSTEM_SETTINGS SYSREF_TASK_HISTORY SYSREF_TASK_KIND_GROUPS SYSREF_TASK_KINDS SYSREF_TASK_RIGHTS SYSREF_TASK_SIGNATURES SYSREF_TASKS SYSREF_UNITS SYSREF_USER_GROUPS SYSREF_USER_GROUPS_REFERENCE SYSREF_USER_SUBSTITUTION SYSREF_USERS SYSREF_USERS_REFERENCE SYSREF_VIEWERS SYSREF_WORKING_TIME_CALENDARS " + "ACCESS_RIGHTS_TABLE_NAME EDMS_ACCESS_TABLE_NAME EDOC_TYPES_TABLE_NAME " + "TEST_DEV_DB_NAME TEST_DEV_SYSTEM_CODE TEST_EDMS_DB_NAME TEST_EDMS_MAIN_CODE TEST_EDMS_MAIN_DB_NAME TEST_EDMS_SECOND_CODE TEST_EDMS_SECOND_DB_NAME TEST_EDMS_SYSTEM_CODE TEST_ISB5_MAIN_CODE TEST_ISB5_SECOND_CODE TEST_SQL_SERVER_2005_NAME TEST_SQL_SERVER_NAME " + "ATTENTION_CAPTION cbsCommandLinks cbsDefault CONFIRMATION_CAPTION ERROR_CAPTION INFORMATION_CAPTION mrCancel mrOk " + "EDOC_VERSION_ACTIVE_STAGE_CODE EDOC_VERSION_DESIGN_STAGE_CODE EDOC_VERSION_OBSOLETE_STAGE_CODE " + "cpDataEnciphermentEnabled cpDigitalSignatureEnabled cpID cpIssuer cpPluginVersion cpSerial cpSubjectName cpSubjSimpleName cpValidFromDate cpValidToDate " + "ISBL_SYNTAX NO_SYNTAX XML_SYNTAX " + "WAIT_BLOCK_AFTER_FINISH_EVENT WAIT_BLOCK_BEFORE_START_EVENT WAIT_BLOCK_DEADLINE_PROPERTY WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY WAIT_BLOCK_NAME_PROPERTY WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY " + "SYSRES_COMMON SYSRES_CONST SYSRES_MBFUNC SYSRES_SBDATA SYSRES_SBGUI SYSRES_SBINTF SYSRES_SBREFDSC SYSRES_SQLERRORS SYSRES_SYSCOMP ", dE = "atUser atGroup atRole " + "aemEnabledAlways aemDisabledAlways aemEnabledOnBrowse aemEnabledOnEdit aemDisabledOnBrowseEmpty " + "apBegin apEnd " + "alLeft alRight " + "asmNever asmNoButCustomize asmAsLastTime asmYesButCustomize asmAlways " + "cirCommon cirRevoked " + "ctSignature ctEncode ctSignatureEncode " + "clbUnchecked clbChecked clbGrayed " + "ceISB ceAlways ceNever " + "ctDocument ctReference ctScript ctUnknown ctReport ctDialog ctFunction ctFolder ctEDocument ctTask ctJob ctNotice ctControlJob " + "cfInternal cfDisplay " + "ciUnspecified ciWrite ciRead " + "ckFolder ckEDocument ckTask ckJob ckComponentToken ckAny ckReference ckScript ckReport ckDialog " + "ctISBLEditor ctBevel ctButton ctCheckListBox ctComboBox ctComboEdit ctGrid ctDBCheckBox ctDBComboBox ctDBEdit ctDBEllipsis ctDBMemo ctDBNavigator ctDBRadioGroup ctDBStatusLabel ctEdit ctGroupBox ctInplaceHint ctMemo ctPanel ctListBox ctRadioButton ctRichEdit ctTabSheet ctWebBrowser ctImage ctHyperLink ctLabel ctDBMultiEllipsis ctRibbon ctRichView ctInnerPanel ctPanelGroup ctBitButton " + "cctDate cctInteger cctNumeric cctPick cctReference cctString cctText " + "cltInternal cltPrimary cltGUI " + "dseBeforeOpen dseAfterOpen dseBeforeClose dseAfterClose dseOnValidDelete dseBeforeDelete dseAfterDelete dseAfterDeleteOutOfTransaction dseOnDeleteError dseBeforeInsert dseAfterInsert dseOnValidUpdate dseBeforeUpdate dseOnUpdateRatifiedRecord dseAfterUpdate dseAfterUpdateOutOfTransaction dseOnUpdateError dseAfterScroll dseOnOpenRecord dseOnCloseRecord dseBeforeCancel dseAfterCancel dseOnUpdateDeadlockError dseBeforeDetailUpdate dseOnPrepareUpdate dseOnAnyRequisiteChange " + "dssEdit dssInsert dssBrowse dssInActive " + "dftDate dftShortDate dftDateTime dftTimeStamp " + "dotDays dotHours dotMinutes dotSeconds " + "dtkndLocal dtkndUTC " + "arNone arView arEdit arFull " + "ddaView ddaEdit " + "emLock emEdit emSign emExportWithLock emImportWithUnlock emChangeVersionNote emOpenForModify emChangeLifeStage emDelete emCreateVersion emImport emUnlockExportedWithLock emStart emAbort emReInit emMarkAsReaded emMarkAsUnreaded emPerform emAccept emResume emChangeRights emEditRoute emEditObserver emRecoveryFromLocalCopy emChangeWorkAccessType emChangeEncodeTypeToCertificate emChangeEncodeTypeToPassword emChangeEncodeTypeToNone emChangeEncodeTypeToCertificatePassword emChangeStandardRoute emGetText emOpenForView emMoveToStorage emCreateObject emChangeVersionHidden emDeleteVersion emChangeLifeCycleStage emApprovingSign emExport emContinue emLockFromEdit emUnLockForEdit emLockForServer emUnlockFromServer emDelegateAccessRights emReEncode " + "ecotFile ecotProcess " + "eaGet eaCopy eaCreate eaCreateStandardRoute " + "edltAll edltNothing edltQuery " + "essmText essmCard " + "esvtLast esvtLastActive esvtSpecified " + "edsfExecutive edsfArchive " + "edstSQLServer edstFile " + "edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile " + "vsDefault vsDesign vsActive vsObsolete " + "etNone etCertificate etPassword etCertificatePassword " + "ecException ecWarning ecInformation " + "estAll estApprovingOnly " + "evtLast evtLastActive evtQuery " + "fdtString fdtNumeric fdtInteger fdtDate fdtText fdtUnknown fdtWideString fdtLargeInteger " + "ftInbox ftOutbox ftFavorites ftCommonFolder ftUserFolder ftComponents ftQuickLaunch ftShortcuts ftSearch " + "grhAuto grhX1 grhX2 grhX3 " + "hltText hltRTF hltHTML " + "iffBMP iffJPEG iffMultiPageTIFF iffSinglePageTIFF iffTIFF iffPNG " + "im8bGrayscale im24bRGB im1bMonochrome " + "itBMP itJPEG itWMF itPNG " + "ikhInformation ikhWarning ikhError ikhNoIcon " + "icUnknown icScript icFunction icIntegratedReport icAnalyticReport icDataSetEventHandler icActionHandler icFormEventHandler icLookUpEventHandler icRequisiteChangeEventHandler icBeforeSearchEventHandler icRoleCalculation icSelectRouteEventHandler icBlockPropertyCalculation icBlockQueryParamsEventHandler icChangeSearchResultEventHandler icBlockEventHandler icSubTaskInitEventHandler icEDocDataSetEventHandler icEDocLookUpEventHandler icEDocActionHandler icEDocFormEventHandler icEDocRequisiteChangeEventHandler icStructuredConversionRule icStructuredConversionEventBefore icStructuredConversionEventAfter icWizardEventHandler icWizardFinishEventHandler icWizardStepEventHandler icWizardStepFinishEventHandler icWizardActionEnableEventHandler icWizardActionExecuteEventHandler icCreateJobsHandler icCreateNoticesHandler icBeforeLookUpEventHandler icAfterLookUpEventHandler icTaskAbortEventHandler icWorkflowBlockActionHandler icDialogDataSetEventHandler icDialogActionHandler icDialogLookUpEventHandler icDialogRequisiteChangeEventHandler icDialogFormEventHandler icDialogValidCloseEventHandler icBlockFormEventHandler icTaskFormEventHandler icReferenceMethod icEDocMethod icDialogMethod icProcessMessageHandler " + "isShow isHide isByUserSettings " + "jkJob jkNotice jkControlJob " + "jtInner jtLeft jtRight jtFull jtCross " + "lbpAbove lbpBelow lbpLeft lbpRight " + "eltPerConnection eltPerUser " + "sfcUndefined sfcBlack sfcGreen sfcRed sfcBlue sfcOrange sfcLilac " + "sfsItalic sfsStrikeout sfsNormal " + "ldctStandardRoute ldctWizard ldctScript ldctFunction ldctRouteBlock ldctIntegratedReport ldctAnalyticReport ldctReferenceType ldctEDocumentType ldctDialog ldctServerEvents " + "mrcrtNone mrcrtUser mrcrtMaximal mrcrtCustom " + "vtEqual vtGreaterOrEqual vtLessOrEqual vtRange " + "rdYesterday rdToday rdTomorrow rdThisWeek rdThisMonth rdThisYear rdNextMonth rdNextWeek rdLastWeek rdLastMonth " + "rdWindow rdFile rdPrinter " + "rdtString rdtNumeric rdtInteger rdtDate rdtReference rdtAccount rdtText rdtPick rdtUnknown rdtLargeInteger rdtDocument " + "reOnChange reOnChangeValues " + "ttGlobal ttLocal ttUser ttSystem " + "ssmBrowse ssmSelect ssmMultiSelect ssmBrowseModal " + "smSelect smLike smCard " + "stNone stAuthenticating stApproving " + "sctString sctStream " + "sstAnsiSort sstNaturalSort " + "svtEqual svtContain " + "soatString soatNumeric soatInteger soatDatetime soatReferenceRecord soatText soatPick soatBoolean soatEDocument soatAccount soatIntegerCollection soatNumericCollection soatStringCollection soatPickCollection soatDatetimeCollection soatBooleanCollection soatReferenceRecordCollection soatEDocumentCollection soatAccountCollection soatContents soatUnknown " + "tarAbortByUser tarAbortByWorkflowException " + "tvtAllWords tvtExactPhrase tvtAnyWord " + "usNone usCompleted usRedSquare usBlueSquare usYellowSquare usGreenSquare usOrangeSquare usPurpleSquare usFollowUp " + "utUnknown utUser utDeveloper utAdministrator utSystemDeveloper utDisconnected " + "btAnd btDetailAnd btOr btNotOr btOnly " + "vmView vmSelect vmNavigation " + "vsmSingle vsmMultiple vsmMultipleCheck vsmNoSelection " + "wfatPrevious wfatNext wfatCancel wfatFinish " + "wfepUndefined wfepText3 wfepText6 wfepText9 wfepSpinEdit wfepDropDown wfepRadioGroup wfepFlag wfepText12 wfepText15 wfepText18 wfepText21 wfepText24 wfepText27 wfepText30 wfepRadioGroupColumn1 wfepRadioGroupColumn2 wfepRadioGroupColumn3 " + "wfetQueryParameter wfetText wfetDelimiter wfetLabel " + "wptString wptInteger wptNumeric wptBoolean wptDateTime wptPick wptText wptUser wptUserList wptEDocumentInfo wptEDocumentInfoList wptReferenceRecordInfo wptReferenceRecordInfoList wptFolderInfo wptTaskInfo wptContents wptFileName wptDate " + "wsrComplete wsrGoNext wsrGoPrevious wsrCustom wsrCancel wsrGoFinal " + "wstForm wstEDocument wstTaskCard wstReferenceRecordCard wstFinal " + "waAll waPerformers waManual " + "wsbStart wsbFinish wsbNotice wsbStep wsbDecision wsbWait wsbMonitor wsbScript wsbConnector wsbSubTask wsbLifeCycleStage wsbPause " + "wdtInteger wdtFloat wdtString wdtPick wdtDateTime wdtBoolean wdtTask wdtJob wdtFolder wdtEDocument wdtReferenceRecord wdtUser wdtGroup wdtRole wdtIntegerCollection wdtFloatCollection wdtStringCollection wdtPickCollection wdtDateTimeCollection wdtBooleanCollection wdtTaskCollection wdtJobCollection wdtFolderCollection wdtEDocumentCollection wdtReferenceRecordCollection wdtUserCollection wdtGroupCollection wdtRoleCollection wdtContents wdtUserList wdtSearchDescription wdtDeadLine wdtPickSet wdtAccountCollection " + "wiLow wiNormal wiHigh " + "wrtSoft wrtHard " + "wsInit wsRunning wsDone wsControlled wsAborted wsContinued " + "wtmFull wtmFromCurrent wtmOnlyCurrent ", pE = "AddSubString AdjustLineBreaks AmountInWords Analysis ArrayDimCount ArrayHighBound ArrayLowBound ArrayOf ArrayReDim Assert Assigned BeginOfMonth BeginOfPeriod BuildProfilingOperationAnalysis CallProcedure CanReadFile CArrayElement CDataSetRequisite ChangeDate ChangeReferenceDataset Char CharPos CheckParam CheckParamValue CompareStrings ConstantExists ControlState ConvertDateStr Copy CopyFile CreateArray CreateCachedReference CreateConnection CreateDialog CreateDualListDialog CreateEditor CreateException CreateFile CreateFolderDialog CreateInputDialog CreateLinkFile CreateList CreateLock CreateMemoryDataSet CreateObject CreateOpenDialog CreateProgress CreateQuery CreateReference CreateReport CreateSaveDialog CreateScript CreateSQLPivotFunction CreateStringList CreateTreeListSelectDialog CSelectSQL CSQL CSubString CurrentUserID CurrentUserName CurrentVersion DataSetLocateEx DateDiff DateTimeDiff DateToStr DayOfWeek DeleteFile DirectoryExists DisableCheckAccessRights DisableCheckFullShowingRestriction DisableMassTaskSendingRestrictions DropTable DupeString EditText EnableCheckAccessRights EnableCheckFullShowingRestriction EnableMassTaskSendingRestrictions EndOfMonth EndOfPeriod ExceptionExists ExceptionsOff ExceptionsOn Execute ExecuteProcess Exit ExpandEnvironmentVariables ExtractFileDrive ExtractFileExt ExtractFileName ExtractFilePath ExtractParams FileExists FileSize FindFile FindSubString FirmContext ForceDirectories Format FormatDate FormatNumeric FormatSQLDate FormatString FreeException GetComponent GetComponentLaunchParam GetConstant GetLastException GetReferenceRecord GetRefTypeByRefID GetTableID GetTempFolder IfThen In IndexOf InputDialog InputDialogEx InteractiveMode IsFileLocked IsGraphicFile IsNumeric Length LoadString LoadStringFmt LocalTimeToUTC LowerCase Max MessageBox MessageBoxEx MimeDecodeBinary MimeDecodeString MimeEncodeBinary MimeEncodeString Min MoneyInWords MoveFile NewID Now OpenFile Ord Precision Raise ReadCertificateFromFile ReadFile ReferenceCodeByID ReferenceNumber ReferenceRequisiteMode ReferenceRequisiteValue RegionDateSettings RegionNumberSettings RegionTimeSettings RegRead RegWrite RenameFile Replace Round SelectServerCode SelectSQL ServerDateTime SetConstant SetManagedFolderFieldsState ShowConstantsInputDialog ShowMessage Sleep Split SQL SQL2XLSTAB SQLProfilingSendReport StrToDate SubString SubStringCount SystemSetting Time TimeDiff Today Transliterate Trim UpperCase UserStatus UTCToLocalTime ValidateXML VarIsClear VarIsEmpty VarIsNull WorkTimeDiff WriteFile WriteFileEx WriteObjectHistory Анализ БазаДанных БлокЕсть БлокЕстьРасш БлокИнфо БлокСнять БлокСнятьРасш БлокУстановить Ввод ВводМеню ВедС ВедСпр ВерхняяГраницаМассива ВнешПрогр Восст ВременнаяПапка Время ВыборSQL ВыбратьЗапись ВыделитьСтр Вызвать Выполнить ВыпПрогр ГрафическийФайл ГруппаДополнительно ДатаВремяСерв ДеньНедели ДиалогДаНет ДлинаСтр ДобПодстр ЕПусто ЕслиТо ЕЧисло ЗамПодстр ЗаписьСправочника ЗначПоляСпр ИДТипСпр ИзвлечьДиск ИзвлечьИмяФайла ИзвлечьПуть ИзвлечьРасширение ИзмДат ИзменитьРазмерМассива ИзмеренийМассива ИмяОрг ИмяПоляСпр Индекс ИндикаторЗакрыть ИндикаторОткрыть ИндикаторШаг ИнтерактивныйРежим ИтогТблСпр КодВидВедСпр КодВидСпрПоИД КодПоAnalit КодСимвола КодСпр КолПодстр КолПроп КонМес Конст КонстЕсть КонстЗнач КонТран КопироватьФайл КопияСтр КПериод КСтрТблСпр Макс МаксСтрТблСпр Массив Меню МенюРасш Мин НаборДанныхНайтиРасш НаимВидСпр НаимПоAnalit НаимСпр НастроитьПереводыСтрок НачМес НачТран НижняяГраницаМассива НомерСпр НПериод Окно Окр Окружение ОтлИнфДобавить ОтлИнфУдалить Отчет ОтчетАнал ОтчетИнт ПапкаСуществует Пауза ПВыборSQL ПереименоватьФайл Переменные ПереместитьФайл Подстр ПоискПодстр ПоискСтр ПолучитьИДТаблицы ПользовательДополнительно ПользовательИД ПользовательИмя ПользовательСтатус Прервать ПроверитьПараметр ПроверитьПараметрЗнач ПроверитьУсловие РазбСтр РазнВремя РазнДат РазнДатаВремя РазнРабВремя РегУстВрем РегУстДат РегУстЧсл РедТекст РеестрЗапись РеестрСписокИменПарам РеестрЧтение РеквСпр РеквСпрПр Сегодня Сейчас Сервер СерверПроцессИД СертификатФайлСчитать СжПроб Символ СистемаДиректумКод СистемаИнформация СистемаКод Содержит СоединениеЗакрыть СоединениеОткрыть СоздатьДиалог СоздатьДиалогВыбораИзДвухСписков СоздатьДиалогВыбораПапки СоздатьДиалогОткрытияФайла СоздатьДиалогСохраненияФайла СоздатьЗапрос СоздатьИндикатор СоздатьИсключение СоздатьКэшированныйСправочник СоздатьМассив СоздатьНаборДанных СоздатьОбъект СоздатьОтчет СоздатьПапку СоздатьРедактор СоздатьСоединение СоздатьСписок СоздатьСписокСтрок СоздатьСправочник СоздатьСценарий СоздСпр СостСпр Сохр СохрСпр СписокСистем Спр Справочник СпрБлокЕсть СпрБлокСнять СпрБлокСнятьРасш СпрБлокУстановить СпрИзмНабДан СпрКод СпрНомер СпрОбновить СпрОткрыть СпрОтменить СпрПарам СпрПолеЗнач СпрПолеИмя СпрРекв СпрРеквВведЗн СпрРеквНовые СпрРеквПр СпрРеквПредЗн СпрРеквРежим СпрРеквТипТекст СпрСоздать СпрСост СпрСохранить СпрТблИтог СпрТблСтр СпрТблСтрКол СпрТблСтрМакс СпрТблСтрМин СпрТблСтрПред СпрТблСтрСлед СпрТблСтрСозд СпрТблСтрУд СпрТекПредст СпрУдалить СравнитьСтр СтрВерхРегистр СтрНижнРегистр СтрТблСпр СумПроп Сценарий СценарийПарам ТекВерсия ТекОрг Точн Тран Транслитерация УдалитьТаблицу УдалитьФайл УдСпр УдСтрТблСпр Уст УстановкиКонстант ФайлАтрибутСчитать ФайлАтрибутУстановить ФайлВремя ФайлВремяУстановить ФайлВыбрать ФайлЗанят ФайлЗаписать ФайлИскать ФайлКопировать ФайлМожноЧитать ФайлОткрыть ФайлПереименовать ФайлПерекодировать ФайлПереместить ФайлПросмотреть ФайлРазмер ФайлСоздать ФайлСсылкаСоздать ФайлСуществует ФайлСчитать ФайлУдалить ФмтSQLДат ФмтДат ФмтСтр ФмтЧсл Формат ЦМассивЭлемент ЦНаборДанныхРеквизит ЦПодстр ", _E = "AltState Application CallType ComponentTokens CreatedJobs CreatedNotices ControlState DialogResult Dialogs EDocuments EDocumentVersionSource Folders GlobalIDs Job Jobs InputValue LookUpReference LookUpRequisiteNames LookUpSearch Object ParentComponent Processes References Requisite ReportName Reports Result Scripts Searches SelectedAttachments SelectedItems SelectMode Sender ServerEvents ServiceFactory ShiftState SubTask SystemDialogs Tasks Wizard Wizards Work ВызовСпособ ИмяОтчета РеквЗнач ", mE = "IApplication IAccessRights IAccountRepository IAccountSelectionRestrictions IAction IActionList IAdministrationHistoryDescription IAnchors IApplication IArchiveInfo IAttachment IAttachmentList ICheckListBox ICheckPointedList IColumn IComponent IComponentDescription IComponentToken IComponentTokenFactory IComponentTokenInfo ICompRecordInfo IConnection IContents IControl IControlJob IControlJobInfo IControlList ICrypto ICrypto2 ICustomJob ICustomJobInfo ICustomListBox ICustomObjectWizardStep ICustomWork ICustomWorkInfo IDataSet IDataSetAccessInfo IDataSigner IDateCriterion IDateRequisite IDateRequisiteDescription IDateValue IDeaAccessRights IDeaObjectInfo IDevelopmentComponentLock IDialog IDialogFactory IDialogPickRequisiteItems IDialogsFactory IDICSFactory IDocRequisite IDocumentInfo IDualListDialog IECertificate IECertificateInfo IECertificates IEditControl IEditorForm IEdmsExplorer IEdmsObject IEdmsObjectDescription IEdmsObjectFactory IEdmsObjectInfo IEDocument IEDocumentAccessRights IEDocumentDescription IEDocumentEditor IEDocumentFactory IEDocumentInfo IEDocumentStorage IEDocumentVersion IEDocumentVersionListDialog IEDocumentVersionSource IEDocumentWizardStep IEDocVerSignature IEDocVersionState IEnabledMode IEncodeProvider IEncrypter IEvent IEventList IException IExternalEvents IExternalHandler IFactory IField IFileDialog IFolder IFolderDescription IFolderDialog IFolderFactory IFolderInfo IForEach IForm IFormTitle IFormWizardStep IGlobalIDFactory IGlobalIDInfo IGrid IHasher IHistoryDescription IHyperLinkControl IImageButton IImageControl IInnerPanel IInplaceHint IIntegerCriterion IIntegerList IIntegerRequisite IIntegerValue IISBLEditorForm IJob IJobDescription IJobFactory IJobForm IJobInfo ILabelControl ILargeIntegerCriterion ILargeIntegerRequisite ILargeIntegerValue ILicenseInfo ILifeCycleStage IList IListBox ILocalIDInfo ILocalization ILock IMemoryDataSet IMessagingFactory IMetadataRepository INotice INoticeInfo INumericCriterion INumericRequisite INumericValue IObject IObjectDescription IObjectImporter IObjectInfo IObserver IPanelGroup IPickCriterion IPickProperty IPickRequisite IPickRequisiteDescription IPickRequisiteItem IPickRequisiteItems IPickValue IPrivilege IPrivilegeList IProcess IProcessFactory IProcessMessage IProgress IProperty IPropertyChangeEvent IQuery IReference IReferenceCriterion IReferenceEnabledMode IReferenceFactory IReferenceHistoryDescription IReferenceInfo IReferenceRecordCardWizardStep IReferenceRequisiteDescription IReferencesFactory IReferenceValue IRefRequisite IReport IReportFactory IRequisite IRequisiteDescription IRequisiteDescriptionList IRequisiteFactory IRichEdit IRouteStep IRule IRuleList ISchemeBlock IScript IScriptFactory ISearchCriteria ISearchCriterion ISearchDescription ISearchFactory ISearchFolderInfo ISearchForObjectDescription ISearchResultRestrictions ISecuredContext ISelectDialog IServerEvent IServerEventFactory IServiceDialog IServiceFactory ISignature ISignProvider ISignProvider2 ISignProvider3 ISimpleCriterion IStringCriterion IStringList IStringRequisite IStringRequisiteDescription IStringValue ISystemDialogsFactory ISystemInfo ITabSheet ITask ITaskAbortReasonInfo ITaskCardWizardStep ITaskDescription ITaskFactory ITaskInfo ITaskRoute ITextCriterion ITextRequisite ITextValue ITreeListSelectDialog IUser IUserList IValue IView IWebBrowserControl IWizard IWizardAction IWizardFactory IWizardFormElement IWizardParam IWizardPickParam IWizardReferenceParam IWizardStep IWorkAccessRights IWorkDescription IWorkflowAskableParam IWorkflowAskableParams IWorkflowBlock IWorkflowBlockResult IWorkflowEnabledMode IWorkflowParam IWorkflowPickParam IWorkflowReferenceParam IWorkState IWorkTreeCustomNode IWorkTreeJobNode IWorkTreeTaskNode IXMLEditorForm SBCrypto ", fE = Ce + dE, gE = _E, hE = "null true false nil ", wu = { +function Sx(t) { + const e = "[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*", n = "[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*", r = "and и else иначе endexcept endfinally endforeach конецвсе endif конецесли endwhile конецпока except exitfor finally foreach все if если in в not не or или try while пока ", Ce = "SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT SYSRES_CONST_ACCES_RIGHT_TYPE_FULL SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE SYSRES_CONST_ACCESS_NO_ACCESS_VIEW SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_TYPE_CHANGE SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE SYSRES_CONST_ACCESS_TYPE_EXISTS SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE SYSRES_CONST_ACCESS_TYPE_FULL SYSRES_CONST_ACCESS_TYPE_FULL_CODE SYSRES_CONST_ACCESS_TYPE_VIEW SYSRES_CONST_ACCESS_TYPE_VIEW_CODE SYSRES_CONST_ACTION_TYPE_ABORT SYSRES_CONST_ACTION_TYPE_ACCEPT SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT SYSRES_CONST_ACTION_TYPE_CHANGE_CARD SYSRES_CONST_ACTION_TYPE_CHANGE_KIND SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE SYSRES_CONST_ACTION_TYPE_CONTINUE SYSRES_CONST_ACTION_TYPE_COPY SYSRES_CONST_ACTION_TYPE_CREATE SYSRES_CONST_ACTION_TYPE_CREATE_VERSION SYSRES_CONST_ACTION_TYPE_DELETE SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT SYSRES_CONST_ACTION_TYPE_DELETE_VERSION SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE SYSRES_CONST_ACTION_TYPE_LOCK SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY SYSRES_CONST_ACTION_TYPE_MARK_AS_READED SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED SYSRES_CONST_ACTION_TYPE_MODIFY SYSRES_CONST_ACTION_TYPE_MODIFY_CARD SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE SYSRES_CONST_ACTION_TYPE_PERFORM SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY SYSRES_CONST_ACTION_TYPE_RESTART SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE SYSRES_CONST_ACTION_TYPE_REVISION SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL SYSRES_CONST_ACTION_TYPE_SIGN SYSRES_CONST_ACTION_TYPE_START SYSRES_CONST_ACTION_TYPE_UNLOCK SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER SYSRES_CONST_ACTION_TYPE_VERSION_STATE SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY SYSRES_CONST_ACTION_TYPE_VIEW SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE SYSRES_CONST_ADD_REFERENCE_MODE_NAME SYSRES_CONST_ADDITION_REQUISITE_CODE SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS SYSRES_CONST_ALL_USERS_GROUP SYSRES_CONST_ALL_USERS_GROUP_NAME SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE SYSRES_CONST_APPROVING_SIGNATURE_NAME SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN SYSRES_CONST_ATTACH_TYPE_DOC SYSRES_CONST_ATTACH_TYPE_EDOC SYSRES_CONST_ATTACH_TYPE_FOLDER SYSRES_CONST_ATTACH_TYPE_JOB SYSRES_CONST_ATTACH_TYPE_REFERENCE SYSRES_CONST_ATTACH_TYPE_TASK SYSRES_CONST_AUTH_ENCODED_PASSWORD SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE SYSRES_CONST_AUTH_NOVELL SYSRES_CONST_AUTH_PASSWORD SYSRES_CONST_AUTH_PASSWORD_CODE SYSRES_CONST_AUTH_WINDOWS SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_AUTO_ENUM_METHOD_FLAG SYSRES_CONST_AUTO_NUMERATION_CODE SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_USAGE_ALL SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE SYSRES_CONST_AUTOTEXT_USAGE_SIGN SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE SYSRES_CONST_AUTOTEXT_USAGE_WORK SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BTN_PART SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT SYSRES_CONST_CARD_PART SYSRES_CONST_CARD_REFERENCE_MODE_NAME SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT SYSRES_CONST_CODE_COMPONENT_TYPE_URL SYSRES_CONST_CODE_REQUISITE_ACCESS SYSRES_CONST_CODE_REQUISITE_CODE SYSRES_CONST_CODE_REQUISITE_COMPONENT SYSRES_CONST_CODE_REQUISITE_DESCRIPTION SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT SYSRES_CONST_CODE_REQUISITE_RECORD SYSRES_CONST_COMMENT_REQ_CODE SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE SYSRES_CONST_COMP_CODE_GRD SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DOCS SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_COMPONENT_TYPE_EDOCS SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_COMPONENT_TYPE_OTHER SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES SYSRES_CONST_COMPONENT_TYPE_REFERENCES SYSRES_CONST_COMPONENT_TYPE_REPORTS SYSRES_CONST_COMPONENT_TYPE_SCRIPTS SYSRES_CONST_COMPONENT_TYPE_URL SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION SYSRES_CONST_CONST_FIRM_STATUS_COMMON SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL SYSRES_CONST_CONST_NEGATIVE_VALUE SYSRES_CONST_CONST_POSITIVE_VALUE SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE SYSRES_CONST_CONTENTS_REQUISITE_CODE SYSRES_CONST_DATA_TYPE_BOOLEAN SYSRES_CONST_DATA_TYPE_DATE SYSRES_CONST_DATA_TYPE_FLOAT SYSRES_CONST_DATA_TYPE_INTEGER SYSRES_CONST_DATA_TYPE_PICK SYSRES_CONST_DATA_TYPE_REFERENCE SYSRES_CONST_DATA_TYPE_STRING SYSRES_CONST_DATA_TYPE_TEXT SYSRES_CONST_DATA_TYPE_VARIANT SYSRES_CONST_DATE_CLOSE_REQ_CODE SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR SYSRES_CONST_DATE_OPEN_REQ_CODE SYSRES_CONST_DATE_REQUISITE SYSRES_CONST_DATE_REQUISITE_CODE SYSRES_CONST_DATE_REQUISITE_NAME SYSRES_CONST_DATE_REQUISITE_TYPE SYSRES_CONST_DATE_TYPE_CHAR SYSRES_CONST_DATETIME_FORMAT_VALUE SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_DET1_PART SYSRES_CONST_DET2_PART SYSRES_CONST_DET3_PART SYSRES_CONST_DET4_PART SYSRES_CONST_DET5_PART SYSRES_CONST_DET6_PART SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE SYSRES_CONST_DETAIL_REQ_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME SYSRES_CONST_DOCUMENT_STORAGES_CODE SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME SYSRES_CONST_DOUBLE_REQUISITE_CODE SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE SYSRES_CONST_EDITORS_REFERENCE_CODE SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE SYSRES_CONST_EDOC_DATE_REQUISITE_CODE SYSRES_CONST_EDOC_KIND_REFERENCE_CODE SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE SYSRES_CONST_EDOC_NONE_ENCODE_CODE SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_READONLY_ACCESS_CODE SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE SYSRES_CONST_EDOC_WRITE_ACCES_CODE SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_END_DATE_REQUISITE_CODE SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE SYSRES_CONST_EXIST_CONST SYSRES_CONST_EXIST_VALUE SYSRES_CONST_EXPORT_LOCK_TYPE_ASK SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK SYSRES_CONST_EXPORT_VERSION_TYPE_ASK SYSRES_CONST_EXPORT_VERSION_TYPE_LAST SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE SYSRES_CONST_EXTENSION_REQUISITE_CODE SYSRES_CONST_FILTER_NAME_REQUISITE_CODE SYSRES_CONST_FILTER_REQUISITE_CODE SYSRES_CONST_FILTER_TYPE_COMMON_CODE SYSRES_CONST_FILTER_TYPE_COMMON_NAME SYSRES_CONST_FILTER_TYPE_USER_CODE SYSRES_CONST_FILTER_TYPE_USER_NAME SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR SYSRES_CONST_FLOAT_REQUISITE_TYPE SYSRES_CONST_FOLDER_AUTHOR_VALUE SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS SYSRES_CONST_FOLDER_KIND_COMPONENTS SYSRES_CONST_FOLDER_KIND_EDOCS SYSRES_CONST_FOLDER_KIND_JOBS SYSRES_CONST_FOLDER_KIND_TASKS SYSRES_CONST_FOLDER_TYPE_COMMON SYSRES_CONST_FOLDER_TYPE_COMPONENT SYSRES_CONST_FOLDER_TYPE_FAVORITES SYSRES_CONST_FOLDER_TYPE_INBOX SYSRES_CONST_FOLDER_TYPE_OUTBOX SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH SYSRES_CONST_FOLDER_TYPE_SEARCH SYSRES_CONST_FOLDER_TYPE_SHORTCUTS SYSRES_CONST_FOLDER_TYPE_USER SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG SYSRES_CONST_FULL_SUBSTITUTE_TYPE SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE SYSRES_CONST_FUNCTION_CANCEL_RESULT SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM SYSRES_CONST_FUNCTION_CATEGORY_USER SYSRES_CONST_FUNCTION_FAILURE_RESULT SYSRES_CONST_FUNCTION_SAVE_RESULT SYSRES_CONST_GENERATED_REQUISITE SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_USER_REQUISITE_CODE SYSRES_CONST_GROUPS_REFERENCE_CODE SYSRES_CONST_GROUPS_REQUISITE_CODE SYSRES_CONST_HIDDEN_MODE_NAME SYSRES_CONST_HIGH_LVL_REQUISITE_CODE SYSRES_CONST_HISTORY_ACTION_CREATE_CODE SYSRES_CONST_HISTORY_ACTION_DELETE_CODE SYSRES_CONST_HISTORY_ACTION_EDIT_CODE SYSRES_CONST_HOUR_CHAR SYSRES_CONST_ID_REQUISITE_CODE SYSRES_CONST_IDSPS_REQUISITE_CODE SYSRES_CONST_IMAGE_MODE_COLOR SYSRES_CONST_IMAGE_MODE_GREYSCALE SYSRES_CONST_IMAGE_MODE_MONOCHROME SYSRES_CONST_IMPORTANCE_HIGH SYSRES_CONST_IMPORTANCE_LOW SYSRES_CONST_IMPORTANCE_NORMAL SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE SYSRES_CONST_INT_REQUISITE SYSRES_CONST_INT_REQUISITE_TYPE SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR SYSRES_CONST_INTEGER_TYPE_CHAR SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_JOB_BLOCK_DESCRIPTION SYSRES_CONST_JOB_KIND_CONTROL_JOB SYSRES_CONST_JOB_KIND_JOB SYSRES_CONST_JOB_KIND_NOTICE SYSRES_CONST_JOB_STATE_ABORTED SYSRES_CONST_JOB_STATE_COMPLETE SYSRES_CONST_JOB_STATE_WORKING SYSRES_CONST_KIND_REQUISITE_CODE SYSRES_CONST_KIND_REQUISITE_NAME SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE SYSRES_CONST_KOD_INPUT_TYPE SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT SYSRES_CONST_LINK_OBJECT_KIND_EDOC SYSRES_CONST_LINK_OBJECT_KIND_FOLDER SYSRES_CONST_LINK_OBJECT_KIND_JOB SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE SYSRES_CONST_LINK_OBJECT_KIND_TASK SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE SYSRES_CONST_LIST_REFERENCE_MODE_NAME SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE SYSRES_CONST_MAIN_VIEW_CODE SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE SYSRES_CONST_MAXIMIZED_MODE_NAME SYSRES_CONST_ME_VALUE SYSRES_CONST_MESSAGE_ATTENTION_CAPTION SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION SYSRES_CONST_MESSAGE_ERROR_CAPTION SYSRES_CONST_MESSAGE_INFORMATION_CAPTION SYSRES_CONST_MINIMIZED_MODE_NAME SYSRES_CONST_MINUTE_CHAR SYSRES_CONST_MODULE_REQUISITE_CODE SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION SYSRES_CONST_MONTH_FORMAT_VALUE SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_NAME_REQUISITE_CODE SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE SYSRES_CONST_NAMEAN_INPUT_TYPE SYSRES_CONST_NEGATIVE_PICK_VALUE SYSRES_CONST_NEGATIVE_VALUE SYSRES_CONST_NO SYSRES_CONST_NO_PICK_VALUE SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE SYSRES_CONST_NO_VALUE SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_NORMAL_MODE_NAME SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_NOTE_REQUISITE_CODE SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION SYSRES_CONST_NUM_REQUISITE SYSRES_CONST_NUM_STR_REQUISITE_CODE SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG SYSRES_CONST_NUMERATION_AUTO_STRONG SYSRES_CONST_NUMERATION_FROM_DICTONARY SYSRES_CONST_NUMERATION_MANUAL SYSRES_CONST_NUMERIC_TYPE_CHAR SYSRES_CONST_NUMREQ_REQUISITE_CODE SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_ORIGINALREF_REQUISITE_CODE SYSRES_CONST_OURFIRM_REF_CODE SYSRES_CONST_OURFIRM_REQUISITE_CODE SYSRES_CONST_OURFIRM_VAR SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE SYSRES_CONST_PICK_NEGATIVE_RESULT SYSRES_CONST_PICK_POSITIVE_RESULT SYSRES_CONST_PICK_REQUISITE SYSRES_CONST_PICK_REQUISITE_TYPE SYSRES_CONST_PICK_TYPE_CHAR SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE SYSRES_CONST_PLATFORM_VERSION_COMMENT SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_POSITIVE_PICK_VALUE SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE SYSRES_CONST_PRIORITY_REQUISITE_CODE SYSRES_CONST_QUALIFIED_TASK_TYPE SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE SYSRES_CONST_RECSTAT_REQUISITE_CODE SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_REF_REQUISITE SYSRES_CONST_REF_REQUISITE_TYPE SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE SYSRES_CONST_REFERENCE_TYPE_CHAR SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_MODE_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_EDIT_CODE SYSRES_CONST_REQ_MODE_HIDDEN_CODE SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_VIEW_CODE SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE SYSRES_CONST_REQ_SECTION_VALUE SYSRES_CONST_REQ_TYPE_VALUE SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME SYSRES_CONST_REQUISITE_FORMAT_LEFT SYSRES_CONST_REQUISITE_FORMAT_RIGHT SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_REQUISITE_SECTION_ACTIONS SYSRES_CONST_REQUISITE_SECTION_BUTTON SYSRES_CONST_REQUISITE_SECTION_BUTTONS SYSRES_CONST_REQUISITE_SECTION_CARD SYSRES_CONST_REQUISITE_SECTION_TABLE SYSRES_CONST_REQUISITE_SECTION_TABLE10 SYSRES_CONST_REQUISITE_SECTION_TABLE11 SYSRES_CONST_REQUISITE_SECTION_TABLE12 SYSRES_CONST_REQUISITE_SECTION_TABLE13 SYSRES_CONST_REQUISITE_SECTION_TABLE14 SYSRES_CONST_REQUISITE_SECTION_TABLE15 SYSRES_CONST_REQUISITE_SECTION_TABLE16 SYSRES_CONST_REQUISITE_SECTION_TABLE17 SYSRES_CONST_REQUISITE_SECTION_TABLE18 SYSRES_CONST_REQUISITE_SECTION_TABLE19 SYSRES_CONST_REQUISITE_SECTION_TABLE2 SYSRES_CONST_REQUISITE_SECTION_TABLE20 SYSRES_CONST_REQUISITE_SECTION_TABLE21 SYSRES_CONST_REQUISITE_SECTION_TABLE22 SYSRES_CONST_REQUISITE_SECTION_TABLE23 SYSRES_CONST_REQUISITE_SECTION_TABLE24 SYSRES_CONST_REQUISITE_SECTION_TABLE3 SYSRES_CONST_REQUISITE_SECTION_TABLE4 SYSRES_CONST_REQUISITE_SECTION_TABLE5 SYSRES_CONST_REQUISITE_SECTION_TABLE6 SYSRES_CONST_REQUISITE_SECTION_TABLE7 SYSRES_CONST_REQUISITE_SECTION_TABLE8 SYSRES_CONST_REQUISITE_SECTION_TABLE9 SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_RIGHT_ALIGNMENT_CODE SYSRES_CONST_ROLES_REFERENCE_CODE SYSRES_CONST_ROUTE_STEP_AFTER_RUS SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS SYSRES_CONST_ROUTE_TYPE_COMPLEX SYSRES_CONST_ROUTE_TYPE_PARALLEL SYSRES_CONST_ROUTE_TYPE_SERIAL SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE SYSRES_CONST_SEARCHES_COMPONENT_CONTENT SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME SYSRES_CONST_SEARCHES_EDOC_CONTENT SYSRES_CONST_SEARCHES_FOLDER_CONTENT SYSRES_CONST_SEARCHES_JOB_CONTENT SYSRES_CONST_SEARCHES_REFERENCE_CODE SYSRES_CONST_SEARCHES_TASK_CONTENT SYSRES_CONST_SECOND_CHAR SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE SYSRES_CONST_SECTION_REQUISITE_CODE SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE SYSRES_CONST_SELECT_REFERENCE_MODE_NAME SYSRES_CONST_SELECT_TYPE_SELECTABLE SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD SYSRES_CONST_SELECT_TYPE_UNSLECTABLE SYSRES_CONST_SERVER_TYPE_MAIN SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE SYSRES_CONST_STATE_REQ_NAME SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE SYSRES_CONST_STATE_REQUISITE_CODE SYSRES_CONST_STATIC_ROLE_TYPE_CODE SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE SYSRES_CONST_STATUS_VALUE_AUTOCLEANING SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE SYSRES_CONST_STATUS_VALUE_COMPLETE SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE SYSRES_CONST_STATUS_VALUE_RED_SQUARE SYSRES_CONST_STATUS_VALUE_SUSPEND SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE SYSRES_CONST_STORAGE_TYPE_FILE SYSRES_CONST_STORAGE_TYPE_SQL_SERVER SYSRES_CONST_STR_REQUISITE SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR SYSRES_CONST_STRING_REQUISITE_CODE SYSRES_CONST_STRING_REQUISITE_TYPE SYSRES_CONST_STRING_TYPE_CHAR SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE SYSRES_CONST_SYSTEM_VERSION_COMMENT SYSRES_CONST_TASK_ACCESS_TYPE_ALL SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD SYSRES_CONST_TASK_ENCODE_TYPE_NONE SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD SYSRES_CONST_TASK_ROUTE_ALL_CONDITION SYSRES_CONST_TASK_ROUTE_AND_CONDITION SYSRES_CONST_TASK_ROUTE_OR_CONDITION SYSRES_CONST_TASK_STATE_ABORTED SYSRES_CONST_TASK_STATE_COMPLETE SYSRES_CONST_TASK_STATE_CONTINUED SYSRES_CONST_TASK_STATE_CONTROL SYSRES_CONST_TASK_STATE_INIT SYSRES_CONST_TASK_STATE_WORKING SYSRES_CONST_TASK_TITLE SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE SYSRES_CONST_TASK_TYPES_REFERENCE_CODE SYSRES_CONST_TEMPLATES_REFERENCE_CODE SYSRES_CONST_TEST_DATE_REQUISITE_NAME SYSRES_CONST_TEST_DEV_DATABASE_NAME SYSRES_CONST_TEST_DEV_SYSTEM_CODE SYSRES_CONST_TEST_EDMS_DATABASE_NAME SYSRES_CONST_TEST_EDMS_MAIN_CODE SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME SYSRES_CONST_TEST_EDMS_SECOND_CODE SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME SYSRES_CONST_TEST_EDMS_SYSTEM_CODE SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME SYSRES_CONST_TEXT_REQUISITE SYSRES_CONST_TEXT_REQUISITE_CODE SYSRES_CONST_TEXT_REQUISITE_TYPE SYSRES_CONST_TEXT_TYPE_CHAR SYSRES_CONST_TYPE_CODE_REQUISITE_CODE SYSRES_CONST_TYPE_REQUISITE_CODE SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME SYSRES_CONST_USE_ACCESS_TYPE_CODE SYSRES_CONST_USE_ACCESS_TYPE_NAME SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE SYSRES_CONST_USER_CATEGORY_NORMAL SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE SYSRES_CONST_USER_COMMON_CATEGORY SYSRES_CONST_USER_COMMON_CATEGORY_CODE SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_USER_LOGIN_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_USER_SERVICE_CATEGORY SYSRES_CONST_USER_SERVICE_CATEGORY_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME SYSRES_CONST_USER_STATUS_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_DEVELOPER_NAME SYSRES_CONST_USER_STATUS_DISABLED_CODE SYSRES_CONST_USER_STATUS_DISABLED_NAME SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_USER_CODE SYSRES_CONST_USER_STATUS_USER_NAME SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER SYSRES_CONST_USER_TYPE_REQUISITE_CODE SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE SYSRES_CONST_USERS_REFERENCE_CODE SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME SYSRES_CONST_USERS_REQUISITE_CODE SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME SYSRES_CONST_VIEW_DEFAULT_CODE SYSRES_CONST_VIEW_DEFAULT_NAME SYSRES_CONST_VIEWER_REQUISITE_CODE SYSRES_CONST_WAITING_BLOCK_DESCRIPTION SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT SYSRES_CONST_XML_ENCODING SYSRES_CONST_XREC_STAT_REQUISITE_CODE SYSRES_CONST_XRECID_FIELD_NAME SYSRES_CONST_YES SYSRES_CONST_YES_NO_2_REQUISITE_CODE SYSRES_CONST_YES_NO_REQUISITE_CODE SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_YES_PICK_VALUE SYSRES_CONST_YES_VALUE " + "CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE " + "ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME " + "DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY " + "ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION " + "JOB_BLOCK_ABORT_DEADLINE_PROPERTY JOB_BLOCK_AFTER_FINISH_EVENT JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT JOB_BLOCK_ATTACHMENT_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT JOB_BLOCK_BEFORE_START_EVENT JOB_BLOCK_CREATED_JOBS_PROPERTY JOB_BLOCK_DEADLINE_PROPERTY JOB_BLOCK_EXECUTION_RESULTS_PROPERTY JOB_BLOCK_IS_PARALLEL_PROPERTY JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY JOB_BLOCK_JOB_TEXT_PROPERTY JOB_BLOCK_NAME_PROPERTY JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY JOB_BLOCK_PERFORMER_PROPERTY JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY JOB_BLOCK_SUBJECT_PROPERTY " + "ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE " + "smHidden smMaximized smMinimized smNormal wmNo wmYes " + "COMPONENT_TOKEN_LINK_KIND DOCUMENT_LINK_KIND EDOCUMENT_LINK_KIND FOLDER_LINK_KIND JOB_LINK_KIND REFERENCE_LINK_KIND TASK_LINK_KIND " + "COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE " + "MONITOR_BLOCK_AFTER_FINISH_EVENT MONITOR_BLOCK_BEFORE_START_EVENT MONITOR_BLOCK_DEADLINE_PROPERTY MONITOR_BLOCK_INTERVAL_PROPERTY MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY MONITOR_BLOCK_NAME_PROPERTY MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY " + "NOTICE_BLOCK_AFTER_FINISH_EVENT NOTICE_BLOCK_ATTACHMENT_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY NOTICE_BLOCK_BEFORE_START_EVENT NOTICE_BLOCK_CREATED_NOTICES_PROPERTY NOTICE_BLOCK_DEADLINE_PROPERTY NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY NOTICE_BLOCK_NAME_PROPERTY NOTICE_BLOCK_NOTICE_TEXT_PROPERTY NOTICE_BLOCK_PERFORMER_PROPERTY NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY NOTICE_BLOCK_SUBJECT_PROPERTY " + "dseAfterCancel dseAfterClose dseAfterDelete dseAfterDeleteOutOfTransaction dseAfterInsert dseAfterOpen dseAfterScroll dseAfterUpdate dseAfterUpdateOutOfTransaction dseBeforeCancel dseBeforeClose dseBeforeDelete dseBeforeDetailUpdate dseBeforeInsert dseBeforeOpen dseBeforeUpdate dseOnAnyRequisiteChange dseOnCloseRecord dseOnDeleteError dseOnOpenRecord dseOnPrepareUpdate dseOnUpdateError dseOnUpdateRatifiedRecord dseOnValidDelete dseOnValidUpdate reOnChange reOnChangeValues SELECTION_BEGIN_ROUTE_EVENT SELECTION_END_ROUTE_EVENT " + "CURRENT_PERIOD_IS_REQUIRED PREVIOUS_CARD_TYPE_NAME SHOW_RECORD_PROPERTIES_FORM " + "ACCESS_RIGHTS_SETTING_DIALOG_CODE ADMINISTRATOR_USER_CODE ANALYTIC_REPORT_TYPE asrtHideLocal asrtHideRemote CALCULATED_ROLE_TYPE_CODE COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE DCTS_TEST_PROTOCOLS_FOLDER_PATH E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER E_EDOC_VERSION_ALREDY_SIGNED E_EDOC_VERSION_ALREDY_SIGNED_BY_USER EDOC_TYPES_CODE_REQUISITE_FIELD_NAME EDOCUMENTS_ALIAS_NAME FILES_FOLDER_PATH FILTER_OPERANDS_DELIMITER FILTER_OPERATIONS_DELIMITER FORMCARD_NAME FORMLIST_NAME GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE INTEGRATED_REPORT_TYPE IS_BUILDER_APPLICATION_ROLE IS_BUILDER_APPLICATION_ROLE2 IS_BUILDER_USERS ISBSYSDEV LOG_FOLDER_PATH mbCancel mbNo mbNoToAll mbOK mbYes mbYesToAll MEMORY_DATASET_DESRIPTIONS_FILENAME mrNo mrNoToAll mrYes mrYesToAll MULTIPLE_SELECT_DIALOG_CODE NONOPERATING_RECORD_FLAG_FEMININE NONOPERATING_RECORD_FLAG_MASCULINE OPERATING_RECORD_FLAG_FEMININE OPERATING_RECORD_FLAG_MASCULINE PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE PROGRAM_INITIATED_LOOKUP_ACTION ratDelete ratEdit ratInsert REPORT_TYPE REQUIRED_PICK_VALUES_VARIABLE rmCard rmList SBRTE_PROGID_DEV SBRTE_PROGID_RELEASE STATIC_ROLE_TYPE_CODE SUPPRESS_EMPTY_TEMPLATE_CREATION SYSTEM_USER_CODE UPDATE_DIALOG_DATASET USED_IN_OBJECT_HINT_PARAM USER_INITIATED_LOOKUP_ACTION USER_NAME_FORMAT USER_SELECTION_RESTRICTIONS WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH ELS_SUBTYPE_CONTROL_NAME ELS_FOLDER_KIND_CONTROL_NAME REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME " + "PRIVILEGE_COMPONENT_FULL_ACCESS PRIVILEGE_DEVELOPMENT_EXPORT PRIVILEGE_DEVELOPMENT_IMPORT PRIVILEGE_DOCUMENT_DELETE PRIVILEGE_ESD PRIVILEGE_FOLDER_DELETE PRIVILEGE_MANAGE_ACCESS_RIGHTS PRIVILEGE_MANAGE_REPLICATION PRIVILEGE_MANAGE_SESSION_SERVER PRIVILEGE_OBJECT_FULL_ACCESS PRIVILEGE_OBJECT_VIEW PRIVILEGE_RESERVE_LICENSE PRIVILEGE_SYSTEM_CUSTOMIZE PRIVILEGE_SYSTEM_DEVELOP PRIVILEGE_SYSTEM_INSTALL PRIVILEGE_TASK_DELETE PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE PRIVILEGES_PSEUDOREFERENCE_CODE " + "ACCESS_TYPES_PSEUDOREFERENCE_CODE ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE COMPONENTS_PSEUDOREFERENCE_CODE FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE GROUPS_PSEUDOREFERENCE_CODE RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE REFTYPES_PSEUDOREFERENCE_CODE REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE SEND_PROTOCOL_PSEUDOREFERENCE_CODE SUBSTITUTES_PSEUDOREFERENCE_CODE SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE UNITS_PSEUDOREFERENCE_CODE USERS_PSEUDOREFERENCE_CODE VIEWERS_PSEUDOREFERENCE_CODE " + "CERTIFICATE_TYPE_ENCRYPT CERTIFICATE_TYPE_SIGN CERTIFICATE_TYPE_SIGN_AND_ENCRYPT " + "STORAGE_TYPE_FILE STORAGE_TYPE_NAS_CIFS STORAGE_TYPE_SAPERION STORAGE_TYPE_SQL_SERVER " + "COMPTYPE2_REQUISITE_DOCUMENTS_VALUE COMPTYPE2_REQUISITE_TASKS_VALUE COMPTYPE2_REQUISITE_FOLDERS_VALUE COMPTYPE2_REQUISITE_REFERENCES_VALUE " + "SYSREQ_CODE SYSREQ_COMPTYPE2 SYSREQ_CONST_AVAILABLE_FOR_WEB SYSREQ_CONST_COMMON_CODE SYSREQ_CONST_COMMON_VALUE SYSREQ_CONST_FIRM_CODE SYSREQ_CONST_FIRM_STATUS SYSREQ_CONST_FIRM_VALUE SYSREQ_CONST_SERVER_STATUS SYSREQ_CONTENTS SYSREQ_DATE_OPEN SYSREQ_DATE_CLOSE SYSREQ_DESCRIPTION SYSREQ_DESCRIPTION_LOCALIZE_ID SYSREQ_DOUBLE SYSREQ_EDOC_ACCESS_TYPE SYSREQ_EDOC_AUTHOR SYSREQ_EDOC_CREATED SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE SYSREQ_EDOC_EDITOR SYSREQ_EDOC_ENCODE_TYPE SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_EXPORT_DATE SYSREQ_EDOC_EXPORTER SYSREQ_EDOC_KIND SYSREQ_EDOC_LIFE_STAGE_NAME SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE SYSREQ_EDOC_MODIFIED SYSREQ_EDOC_NAME SYSREQ_EDOC_NOTE SYSREQ_EDOC_QUALIFIED_ID SYSREQ_EDOC_SESSION_KEY SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_SIGNATURE_TYPE SYSREQ_EDOC_SIGNED SYSREQ_EDOC_STORAGE SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE SYSREQ_EDOC_STORAGES_CHECK_RIGHTS SYSREQ_EDOC_STORAGES_COMPUTER_NAME SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE SYSREQ_EDOC_STORAGES_FUNCTION SYSREQ_EDOC_STORAGES_INITIALIZED SYSREQ_EDOC_STORAGES_LOCAL_PATH SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT SYSREQ_EDOC_STORAGES_SERVER_NAME SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME SYSREQ_EDOC_STORAGES_TYPE SYSREQ_EDOC_TEXT_MODIFIED SYSREQ_EDOC_TYPE_ACT_CODE SYSREQ_EDOC_TYPE_ACT_DESCRIPTION SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_EDOC_TYPE_ACT_SECTION SYSREQ_EDOC_TYPE_ADD_PARAMS SYSREQ_EDOC_TYPE_COMMENT SYSREQ_EDOC_TYPE_EVENT_TEXT SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID SYSREQ_EDOC_TYPE_NUMERATION_METHOD SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE SYSREQ_EDOC_TYPE_REQ_CODE SYSREQ_EDOC_TYPE_REQ_DESCRIPTION SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_REQ_IS_LEADING SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED SYSREQ_EDOC_TYPE_REQ_NUMBER SYSREQ_EDOC_TYPE_REQ_ON_CHANGE SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_EDOC_TYPE_REQ_ON_SELECT SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND SYSREQ_EDOC_TYPE_REQ_SECTION SYSREQ_EDOC_TYPE_VIEW_CARD SYSREQ_EDOC_TYPE_VIEW_CODE SYSREQ_EDOC_TYPE_VIEW_COMMENT SYSREQ_EDOC_TYPE_VIEW_IS_MAIN SYSREQ_EDOC_TYPE_VIEW_NAME SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_EDOC_VERSION_AUTHOR SYSREQ_EDOC_VERSION_CRC SYSREQ_EDOC_VERSION_DATA SYSREQ_EDOC_VERSION_EDITOR SYSREQ_EDOC_VERSION_EXPORT_DATE SYSREQ_EDOC_VERSION_EXPORTER SYSREQ_EDOC_VERSION_HIDDEN SYSREQ_EDOC_VERSION_LIFE_STAGE SYSREQ_EDOC_VERSION_MODIFIED SYSREQ_EDOC_VERSION_NOTE SYSREQ_EDOC_VERSION_SIGNATURE_TYPE SYSREQ_EDOC_VERSION_SIGNED SYSREQ_EDOC_VERSION_SIZE SYSREQ_EDOC_VERSION_SOURCE SYSREQ_EDOC_VERSION_TEXT_MODIFIED SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE SYSREQ_FOLDER_KIND SYSREQ_FUNC_CATEGORY SYSREQ_FUNC_COMMENT SYSREQ_FUNC_GROUP SYSREQ_FUNC_GROUP_COMMENT SYSREQ_FUNC_GROUP_NUMBER SYSREQ_FUNC_HELP SYSREQ_FUNC_PARAM_DEF_VALUE SYSREQ_FUNC_PARAM_IDENT SYSREQ_FUNC_PARAM_NUMBER SYSREQ_FUNC_PARAM_TYPE SYSREQ_FUNC_TEXT SYSREQ_GROUP_CATEGORY SYSREQ_ID SYSREQ_LAST_UPDATE SYSREQ_LEADER_REFERENCE SYSREQ_LINE_NUMBER SYSREQ_MAIN_RECORD_ID SYSREQ_NAME SYSREQ_NAME_LOCALIZE_ID SYSREQ_NOTE SYSREQ_ORIGINAL_RECORD SYSREQ_OUR_FIRM SYSREQ_PROFILING_SETTINGS_BATCH_LOGING SYSREQ_PROFILING_SETTINGS_BATCH_SIZE SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_START_LOGGED SYSREQ_RECORD_STATUS SYSREQ_REF_REQ_FIELD_NAME SYSREQ_REF_REQ_FORMAT SYSREQ_REF_REQ_GENERATED SYSREQ_REF_REQ_LENGTH SYSREQ_REF_REQ_PRECISION SYSREQ_REF_REQ_REFERENCE SYSREQ_REF_REQ_SECTION SYSREQ_REF_REQ_STORED SYSREQ_REF_REQ_TOKENS SYSREQ_REF_REQ_TYPE SYSREQ_REF_REQ_VIEW SYSREQ_REF_TYPE_ACT_CODE SYSREQ_REF_TYPE_ACT_DESCRIPTION SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_ACT_ON_EXECUTE SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_REF_TYPE_ACT_SECTION SYSREQ_REF_TYPE_ADD_PARAMS SYSREQ_REF_TYPE_COMMENT SYSREQ_REF_TYPE_COMMON_SETTINGS SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME SYSREQ_REF_TYPE_EVENT_TEXT SYSREQ_REF_TYPE_MAIN_LEADING_REF SYSREQ_REF_TYPE_NAME_IN_SINGULAR SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_REF_TYPE_NAME_LOCALIZE_ID SYSREQ_REF_TYPE_NUMERATION_METHOD SYSREQ_REF_TYPE_REQ_CODE SYSREQ_REF_TYPE_REQ_DESCRIPTION SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_REQ_IS_CONTROL SYSREQ_REF_TYPE_REQ_IS_FILTER SYSREQ_REF_TYPE_REQ_IS_LEADING SYSREQ_REF_TYPE_REQ_IS_REQUIRED SYSREQ_REF_TYPE_REQ_NUMBER SYSREQ_REF_TYPE_REQ_ON_CHANGE SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_REF_TYPE_REQ_ON_SELECT SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND SYSREQ_REF_TYPE_REQ_SECTION SYSREQ_REF_TYPE_VIEW_CARD SYSREQ_REF_TYPE_VIEW_CODE SYSREQ_REF_TYPE_VIEW_COMMENT SYSREQ_REF_TYPE_VIEW_IS_MAIN SYSREQ_REF_TYPE_VIEW_NAME SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_REFERENCE_TYPE_ID SYSREQ_STATE SYSREQ_STATЕ SYSREQ_SYSTEM_SETTINGS_VALUE SYSREQ_TYPE SYSREQ_UNIT SYSREQ_UNIT_ID SYSREQ_USER_GROUPS_GROUP_FULL_NAME SYSREQ_USER_GROUPS_GROUP_NAME SYSREQ_USER_GROUPS_GROUP_SERVER_NAME SYSREQ_USERS_ACCESS_RIGHTS SYSREQ_USERS_AUTHENTICATION SYSREQ_USERS_CATEGORY SYSREQ_USERS_COMPONENT SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC SYSREQ_USERS_DOMAIN SYSREQ_USERS_FULL_USER_NAME SYSREQ_USERS_GROUP SYSREQ_USERS_IS_MAIN_SERVER SYSREQ_USERS_LOGIN SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC SYSREQ_USERS_STATUS SYSREQ_USERS_USER_CERTIFICATE SYSREQ_USERS_USER_CERTIFICATE_INFO SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION SYSREQ_USERS_USER_CERTIFICATE_STATE SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT SYSREQ_USERS_USER_DEFAULT_CERTIFICATE SYSREQ_USERS_USER_DESCRIPTION SYSREQ_USERS_USER_GLOBAL_NAME SYSREQ_USERS_USER_LOGIN SYSREQ_USERS_USER_MAIN_SERVER SYSREQ_USERS_USER_TYPE SYSREQ_WORK_RULES_FOLDER_ID " + "RESULT_VAR_NAME RESULT_VAR_NAME_ENG " + "AUTO_NUMERATION_RULE_ID CANT_CHANGE_ID_REQUISITE_RULE_ID CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID CHECK_CODE_REQUISITE_RULE_ID CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID CHECK_FILTRATER_CHANGES_RULE_ID CHECK_RECORD_INTERVAL_RULE_ID CHECK_REFERENCE_INTERVAL_RULE_ID CHECK_REQUIRED_DATA_FULLNESS_RULE_ID CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID MAKE_RECORD_UNRATIFIED_RULE_ID RESTORE_AUTO_NUMERATION_RULE_ID SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID SET_IDSPS_VALUE_RULE_ID SET_NEXT_CODE_VALUE_RULE_ID SET_OURFIRM_BOUNDS_RULE_ID SET_OURFIRM_REQUISITE_RULE_ID " + "SCRIPT_BLOCK_AFTER_FINISH_EVENT SCRIPT_BLOCK_BEFORE_START_EVENT SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY SCRIPT_BLOCK_NAME_PROPERTY SCRIPT_BLOCK_SCRIPT_PROPERTY " + "SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_AFTER_FINISH_EVENT SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT SUBTASK_BLOCK_ATTACHMENTS_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY SUBTASK_BLOCK_BEFORE_START_EVENT SUBTASK_BLOCK_CREATED_TASK_PROPERTY SUBTASK_BLOCK_CREATION_EVENT SUBTASK_BLOCK_DEADLINE_PROPERTY SUBTASK_BLOCK_IMPORTANCE_PROPERTY SUBTASK_BLOCK_INITIATOR_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY SUBTASK_BLOCK_JOBS_TYPE_PROPERTY SUBTASK_BLOCK_NAME_PROPERTY SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY SUBTASK_BLOCK_PERFORMERS_PROPERTY SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_START_EVENT SUBTASK_BLOCK_STEP_CONTROL_PROPERTY SUBTASK_BLOCK_SUBJECT_PROPERTY SUBTASK_BLOCK_TASK_CONTROL_PROPERTY SUBTASK_BLOCK_TEXT_PROPERTY SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY " + "SYSCOMP_CONTROL_JOBS SYSCOMP_FOLDERS SYSCOMP_JOBS SYSCOMP_NOTICES SYSCOMP_TASKS " + "SYSDLG_CREATE_EDOCUMENT SYSDLG_CREATE_EDOCUMENT_VERSION SYSDLG_CURRENT_PERIOD SYSDLG_EDIT_FUNCTION_HELP SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS SYSDLG_EXPORT_SINGLE_EDOCUMENT SYSDLG_IMPORT_EDOCUMENT SYSDLG_MULTIPLE_SELECT SYSDLG_SETUP_ACCESS_RIGHTS SYSDLG_SETUP_DEFAULT_RIGHTS SYSDLG_SETUP_FILTER_CONDITION SYSDLG_SETUP_SIGN_RIGHTS SYSDLG_SETUP_TASK_OBSERVERS SYSDLG_SETUP_TASK_ROUTE SYSDLG_SETUP_USERS_LIST SYSDLG_SIGN_EDOCUMENT SYSDLG_SIGN_MULTIPLE_EDOCUMENTS " + "SYSREF_ACCESS_RIGHTS_TYPES SYSREF_ADMINISTRATION_HISTORY SYSREF_ALL_AVAILABLE_COMPONENTS SYSREF_ALL_AVAILABLE_PRIVILEGES SYSREF_ALL_REPLICATING_COMPONENTS SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS SYSREF_CALENDAR_EVENTS SYSREF_COMPONENT_TOKEN_HISTORY SYSREF_COMPONENT_TOKENS SYSREF_COMPONENTS SYSREF_CONSTANTS SYSREF_DATA_RECEIVE_PROTOCOL SYSREF_DATA_SEND_PROTOCOL SYSREF_DIALOGS SYSREF_DIALOGS_REQUISITES SYSREF_EDITORS SYSREF_EDOC_CARDS SYSREF_EDOC_TYPES SYSREF_EDOCUMENT_CARD_REQUISITES SYSREF_EDOCUMENT_CARD_TYPES SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE SYSREF_EDOCUMENT_CARDS SYSREF_EDOCUMENT_HISTORY SYSREF_EDOCUMENT_KINDS SYSREF_EDOCUMENT_REQUISITES SYSREF_EDOCUMENT_SIGNATURES SYSREF_EDOCUMENT_TEMPLATES SYSREF_EDOCUMENT_TEXT_STORAGES SYSREF_EDOCUMENT_VIEWS SYSREF_FILTERER_SETUP_CONFLICTS SYSREF_FILTRATER_SETTING_CONFLICTS SYSREF_FOLDER_HISTORY SYSREF_FOLDERS SYSREF_FUNCTION_GROUPS SYSREF_FUNCTION_PARAMS SYSREF_FUNCTIONS SYSREF_JOB_HISTORY SYSREF_LINKS SYSREF_LOCALIZATION_DICTIONARY SYSREF_LOCALIZATION_LANGUAGES SYSREF_MODULES SYSREF_PRIVILEGES SYSREF_RECORD_HISTORY SYSREF_REFERENCE_REQUISITES SYSREF_REFERENCE_TYPE_VIEWS SYSREF_REFERENCE_TYPES SYSREF_REFERENCES SYSREF_REFERENCES_REQUISITES SYSREF_REMOTE_SERVERS SYSREF_REPLICATION_SESSIONS_LOG SYSREF_REPLICATION_SESSIONS_PROTOCOL SYSREF_REPORTS SYSREF_ROLES SYSREF_ROUTE_BLOCK_GROUPS SYSREF_ROUTE_BLOCKS SYSREF_SCRIPTS SYSREF_SEARCHES SYSREF_SERVER_EVENTS SYSREF_SERVER_EVENTS_HISTORY SYSREF_STANDARD_ROUTE_GROUPS SYSREF_STANDARD_ROUTES SYSREF_STATUSES SYSREF_SYSTEM_SETTINGS SYSREF_TASK_HISTORY SYSREF_TASK_KIND_GROUPS SYSREF_TASK_KINDS SYSREF_TASK_RIGHTS SYSREF_TASK_SIGNATURES SYSREF_TASKS SYSREF_UNITS SYSREF_USER_GROUPS SYSREF_USER_GROUPS_REFERENCE SYSREF_USER_SUBSTITUTION SYSREF_USERS SYSREF_USERS_REFERENCE SYSREF_VIEWERS SYSREF_WORKING_TIME_CALENDARS " + "ACCESS_RIGHTS_TABLE_NAME EDMS_ACCESS_TABLE_NAME EDOC_TYPES_TABLE_NAME " + "TEST_DEV_DB_NAME TEST_DEV_SYSTEM_CODE TEST_EDMS_DB_NAME TEST_EDMS_MAIN_CODE TEST_EDMS_MAIN_DB_NAME TEST_EDMS_SECOND_CODE TEST_EDMS_SECOND_DB_NAME TEST_EDMS_SYSTEM_CODE TEST_ISB5_MAIN_CODE TEST_ISB5_SECOND_CODE TEST_SQL_SERVER_2005_NAME TEST_SQL_SERVER_NAME " + "ATTENTION_CAPTION cbsCommandLinks cbsDefault CONFIRMATION_CAPTION ERROR_CAPTION INFORMATION_CAPTION mrCancel mrOk " + "EDOC_VERSION_ACTIVE_STAGE_CODE EDOC_VERSION_DESIGN_STAGE_CODE EDOC_VERSION_OBSOLETE_STAGE_CODE " + "cpDataEnciphermentEnabled cpDigitalSignatureEnabled cpID cpIssuer cpPluginVersion cpSerial cpSubjectName cpSubjSimpleName cpValidFromDate cpValidToDate " + "ISBL_SYNTAX NO_SYNTAX XML_SYNTAX " + "WAIT_BLOCK_AFTER_FINISH_EVENT WAIT_BLOCK_BEFORE_START_EVENT WAIT_BLOCK_DEADLINE_PROPERTY WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY WAIT_BLOCK_NAME_PROPERTY WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY " + "SYSRES_COMMON SYSRES_CONST SYSRES_MBFUNC SYSRES_SBDATA SYSRES_SBGUI SYSRES_SBINTF SYSRES_SBREFDSC SYSRES_SQLERRORS SYSRES_SYSCOMP ", SE = "atUser atGroup atRole " + "aemEnabledAlways aemDisabledAlways aemEnabledOnBrowse aemEnabledOnEdit aemDisabledOnBrowseEmpty " + "apBegin apEnd " + "alLeft alRight " + "asmNever asmNoButCustomize asmAsLastTime asmYesButCustomize asmAlways " + "cirCommon cirRevoked " + "ctSignature ctEncode ctSignatureEncode " + "clbUnchecked clbChecked clbGrayed " + "ceISB ceAlways ceNever " + "ctDocument ctReference ctScript ctUnknown ctReport ctDialog ctFunction ctFolder ctEDocument ctTask ctJob ctNotice ctControlJob " + "cfInternal cfDisplay " + "ciUnspecified ciWrite ciRead " + "ckFolder ckEDocument ckTask ckJob ckComponentToken ckAny ckReference ckScript ckReport ckDialog " + "ctISBLEditor ctBevel ctButton ctCheckListBox ctComboBox ctComboEdit ctGrid ctDBCheckBox ctDBComboBox ctDBEdit ctDBEllipsis ctDBMemo ctDBNavigator ctDBRadioGroup ctDBStatusLabel ctEdit ctGroupBox ctInplaceHint ctMemo ctPanel ctListBox ctRadioButton ctRichEdit ctTabSheet ctWebBrowser ctImage ctHyperLink ctLabel ctDBMultiEllipsis ctRibbon ctRichView ctInnerPanel ctPanelGroup ctBitButton " + "cctDate cctInteger cctNumeric cctPick cctReference cctString cctText " + "cltInternal cltPrimary cltGUI " + "dseBeforeOpen dseAfterOpen dseBeforeClose dseAfterClose dseOnValidDelete dseBeforeDelete dseAfterDelete dseAfterDeleteOutOfTransaction dseOnDeleteError dseBeforeInsert dseAfterInsert dseOnValidUpdate dseBeforeUpdate dseOnUpdateRatifiedRecord dseAfterUpdate dseAfterUpdateOutOfTransaction dseOnUpdateError dseAfterScroll dseOnOpenRecord dseOnCloseRecord dseBeforeCancel dseAfterCancel dseOnUpdateDeadlockError dseBeforeDetailUpdate dseOnPrepareUpdate dseOnAnyRequisiteChange " + "dssEdit dssInsert dssBrowse dssInActive " + "dftDate dftShortDate dftDateTime dftTimeStamp " + "dotDays dotHours dotMinutes dotSeconds " + "dtkndLocal dtkndUTC " + "arNone arView arEdit arFull " + "ddaView ddaEdit " + "emLock emEdit emSign emExportWithLock emImportWithUnlock emChangeVersionNote emOpenForModify emChangeLifeStage emDelete emCreateVersion emImport emUnlockExportedWithLock emStart emAbort emReInit emMarkAsReaded emMarkAsUnreaded emPerform emAccept emResume emChangeRights emEditRoute emEditObserver emRecoveryFromLocalCopy emChangeWorkAccessType emChangeEncodeTypeToCertificate emChangeEncodeTypeToPassword emChangeEncodeTypeToNone emChangeEncodeTypeToCertificatePassword emChangeStandardRoute emGetText emOpenForView emMoveToStorage emCreateObject emChangeVersionHidden emDeleteVersion emChangeLifeCycleStage emApprovingSign emExport emContinue emLockFromEdit emUnLockForEdit emLockForServer emUnlockFromServer emDelegateAccessRights emReEncode " + "ecotFile ecotProcess " + "eaGet eaCopy eaCreate eaCreateStandardRoute " + "edltAll edltNothing edltQuery " + "essmText essmCard " + "esvtLast esvtLastActive esvtSpecified " + "edsfExecutive edsfArchive " + "edstSQLServer edstFile " + "edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile " + "vsDefault vsDesign vsActive vsObsolete " + "etNone etCertificate etPassword etCertificatePassword " + "ecException ecWarning ecInformation " + "estAll estApprovingOnly " + "evtLast evtLastActive evtQuery " + "fdtString fdtNumeric fdtInteger fdtDate fdtText fdtUnknown fdtWideString fdtLargeInteger " + "ftInbox ftOutbox ftFavorites ftCommonFolder ftUserFolder ftComponents ftQuickLaunch ftShortcuts ftSearch " + "grhAuto grhX1 grhX2 grhX3 " + "hltText hltRTF hltHTML " + "iffBMP iffJPEG iffMultiPageTIFF iffSinglePageTIFF iffTIFF iffPNG " + "im8bGrayscale im24bRGB im1bMonochrome " + "itBMP itJPEG itWMF itPNG " + "ikhInformation ikhWarning ikhError ikhNoIcon " + "icUnknown icScript icFunction icIntegratedReport icAnalyticReport icDataSetEventHandler icActionHandler icFormEventHandler icLookUpEventHandler icRequisiteChangeEventHandler icBeforeSearchEventHandler icRoleCalculation icSelectRouteEventHandler icBlockPropertyCalculation icBlockQueryParamsEventHandler icChangeSearchResultEventHandler icBlockEventHandler icSubTaskInitEventHandler icEDocDataSetEventHandler icEDocLookUpEventHandler icEDocActionHandler icEDocFormEventHandler icEDocRequisiteChangeEventHandler icStructuredConversionRule icStructuredConversionEventBefore icStructuredConversionEventAfter icWizardEventHandler icWizardFinishEventHandler icWizardStepEventHandler icWizardStepFinishEventHandler icWizardActionEnableEventHandler icWizardActionExecuteEventHandler icCreateJobsHandler icCreateNoticesHandler icBeforeLookUpEventHandler icAfterLookUpEventHandler icTaskAbortEventHandler icWorkflowBlockActionHandler icDialogDataSetEventHandler icDialogActionHandler icDialogLookUpEventHandler icDialogRequisiteChangeEventHandler icDialogFormEventHandler icDialogValidCloseEventHandler icBlockFormEventHandler icTaskFormEventHandler icReferenceMethod icEDocMethod icDialogMethod icProcessMessageHandler " + "isShow isHide isByUserSettings " + "jkJob jkNotice jkControlJob " + "jtInner jtLeft jtRight jtFull jtCross " + "lbpAbove lbpBelow lbpLeft lbpRight " + "eltPerConnection eltPerUser " + "sfcUndefined sfcBlack sfcGreen sfcRed sfcBlue sfcOrange sfcLilac " + "sfsItalic sfsStrikeout sfsNormal " + "ldctStandardRoute ldctWizard ldctScript ldctFunction ldctRouteBlock ldctIntegratedReport ldctAnalyticReport ldctReferenceType ldctEDocumentType ldctDialog ldctServerEvents " + "mrcrtNone mrcrtUser mrcrtMaximal mrcrtCustom " + "vtEqual vtGreaterOrEqual vtLessOrEqual vtRange " + "rdYesterday rdToday rdTomorrow rdThisWeek rdThisMonth rdThisYear rdNextMonth rdNextWeek rdLastWeek rdLastMonth " + "rdWindow rdFile rdPrinter " + "rdtString rdtNumeric rdtInteger rdtDate rdtReference rdtAccount rdtText rdtPick rdtUnknown rdtLargeInteger rdtDocument " + "reOnChange reOnChangeValues " + "ttGlobal ttLocal ttUser ttSystem " + "ssmBrowse ssmSelect ssmMultiSelect ssmBrowseModal " + "smSelect smLike smCard " + "stNone stAuthenticating stApproving " + "sctString sctStream " + "sstAnsiSort sstNaturalSort " + "svtEqual svtContain " + "soatString soatNumeric soatInteger soatDatetime soatReferenceRecord soatText soatPick soatBoolean soatEDocument soatAccount soatIntegerCollection soatNumericCollection soatStringCollection soatPickCollection soatDatetimeCollection soatBooleanCollection soatReferenceRecordCollection soatEDocumentCollection soatAccountCollection soatContents soatUnknown " + "tarAbortByUser tarAbortByWorkflowException " + "tvtAllWords tvtExactPhrase tvtAnyWord " + "usNone usCompleted usRedSquare usBlueSquare usYellowSquare usGreenSquare usOrangeSquare usPurpleSquare usFollowUp " + "utUnknown utUser utDeveloper utAdministrator utSystemDeveloper utDisconnected " + "btAnd btDetailAnd btOr btNotOr btOnly " + "vmView vmSelect vmNavigation " + "vsmSingle vsmMultiple vsmMultipleCheck vsmNoSelection " + "wfatPrevious wfatNext wfatCancel wfatFinish " + "wfepUndefined wfepText3 wfepText6 wfepText9 wfepSpinEdit wfepDropDown wfepRadioGroup wfepFlag wfepText12 wfepText15 wfepText18 wfepText21 wfepText24 wfepText27 wfepText30 wfepRadioGroupColumn1 wfepRadioGroupColumn2 wfepRadioGroupColumn3 " + "wfetQueryParameter wfetText wfetDelimiter wfetLabel " + "wptString wptInteger wptNumeric wptBoolean wptDateTime wptPick wptText wptUser wptUserList wptEDocumentInfo wptEDocumentInfoList wptReferenceRecordInfo wptReferenceRecordInfoList wptFolderInfo wptTaskInfo wptContents wptFileName wptDate " + "wsrComplete wsrGoNext wsrGoPrevious wsrCustom wsrCancel wsrGoFinal " + "wstForm wstEDocument wstTaskCard wstReferenceRecordCard wstFinal " + "waAll waPerformers waManual " + "wsbStart wsbFinish wsbNotice wsbStep wsbDecision wsbWait wsbMonitor wsbScript wsbConnector wsbSubTask wsbLifeCycleStage wsbPause " + "wdtInteger wdtFloat wdtString wdtPick wdtDateTime wdtBoolean wdtTask wdtJob wdtFolder wdtEDocument wdtReferenceRecord wdtUser wdtGroup wdtRole wdtIntegerCollection wdtFloatCollection wdtStringCollection wdtPickCollection wdtDateTimeCollection wdtBooleanCollection wdtTaskCollection wdtJobCollection wdtFolderCollection wdtEDocumentCollection wdtReferenceRecordCollection wdtUserCollection wdtGroupCollection wdtRoleCollection wdtContents wdtUserList wdtSearchDescription wdtDeadLine wdtPickSet wdtAccountCollection " + "wiLow wiNormal wiHigh " + "wrtSoft wrtHard " + "wsInit wsRunning wsDone wsControlled wsAborted wsContinued " + "wtmFull wtmFromCurrent wtmOnlyCurrent ", bE = "AddSubString AdjustLineBreaks AmountInWords Analysis ArrayDimCount ArrayHighBound ArrayLowBound ArrayOf ArrayReDim Assert Assigned BeginOfMonth BeginOfPeriod BuildProfilingOperationAnalysis CallProcedure CanReadFile CArrayElement CDataSetRequisite ChangeDate ChangeReferenceDataset Char CharPos CheckParam CheckParamValue CompareStrings ConstantExists ControlState ConvertDateStr Copy CopyFile CreateArray CreateCachedReference CreateConnection CreateDialog CreateDualListDialog CreateEditor CreateException CreateFile CreateFolderDialog CreateInputDialog CreateLinkFile CreateList CreateLock CreateMemoryDataSet CreateObject CreateOpenDialog CreateProgress CreateQuery CreateReference CreateReport CreateSaveDialog CreateScript CreateSQLPivotFunction CreateStringList CreateTreeListSelectDialog CSelectSQL CSQL CSubString CurrentUserID CurrentUserName CurrentVersion DataSetLocateEx DateDiff DateTimeDiff DateToStr DayOfWeek DeleteFile DirectoryExists DisableCheckAccessRights DisableCheckFullShowingRestriction DisableMassTaskSendingRestrictions DropTable DupeString EditText EnableCheckAccessRights EnableCheckFullShowingRestriction EnableMassTaskSendingRestrictions EndOfMonth EndOfPeriod ExceptionExists ExceptionsOff ExceptionsOn Execute ExecuteProcess Exit ExpandEnvironmentVariables ExtractFileDrive ExtractFileExt ExtractFileName ExtractFilePath ExtractParams FileExists FileSize FindFile FindSubString FirmContext ForceDirectories Format FormatDate FormatNumeric FormatSQLDate FormatString FreeException GetComponent GetComponentLaunchParam GetConstant GetLastException GetReferenceRecord GetRefTypeByRefID GetTableID GetTempFolder IfThen In IndexOf InputDialog InputDialogEx InteractiveMode IsFileLocked IsGraphicFile IsNumeric Length LoadString LoadStringFmt LocalTimeToUTC LowerCase Max MessageBox MessageBoxEx MimeDecodeBinary MimeDecodeString MimeEncodeBinary MimeEncodeString Min MoneyInWords MoveFile NewID Now OpenFile Ord Precision Raise ReadCertificateFromFile ReadFile ReferenceCodeByID ReferenceNumber ReferenceRequisiteMode ReferenceRequisiteValue RegionDateSettings RegionNumberSettings RegionTimeSettings RegRead RegWrite RenameFile Replace Round SelectServerCode SelectSQL ServerDateTime SetConstant SetManagedFolderFieldsState ShowConstantsInputDialog ShowMessage Sleep Split SQL SQL2XLSTAB SQLProfilingSendReport StrToDate SubString SubStringCount SystemSetting Time TimeDiff Today Transliterate Trim UpperCase UserStatus UTCToLocalTime ValidateXML VarIsClear VarIsEmpty VarIsNull WorkTimeDiff WriteFile WriteFileEx WriteObjectHistory Анализ БазаДанных БлокЕсть БлокЕстьРасш БлокИнфо БлокСнять БлокСнятьРасш БлокУстановить Ввод ВводМеню ВедС ВедСпр ВерхняяГраницаМассива ВнешПрогр Восст ВременнаяПапка Время ВыборSQL ВыбратьЗапись ВыделитьСтр Вызвать Выполнить ВыпПрогр ГрафическийФайл ГруппаДополнительно ДатаВремяСерв ДеньНедели ДиалогДаНет ДлинаСтр ДобПодстр ЕПусто ЕслиТо ЕЧисло ЗамПодстр ЗаписьСправочника ЗначПоляСпр ИДТипСпр ИзвлечьДиск ИзвлечьИмяФайла ИзвлечьПуть ИзвлечьРасширение ИзмДат ИзменитьРазмерМассива ИзмеренийМассива ИмяОрг ИмяПоляСпр Индекс ИндикаторЗакрыть ИндикаторОткрыть ИндикаторШаг ИнтерактивныйРежим ИтогТблСпр КодВидВедСпр КодВидСпрПоИД КодПоAnalit КодСимвола КодСпр КолПодстр КолПроп КонМес Конст КонстЕсть КонстЗнач КонТран КопироватьФайл КопияСтр КПериод КСтрТблСпр Макс МаксСтрТблСпр Массив Меню МенюРасш Мин НаборДанныхНайтиРасш НаимВидСпр НаимПоAnalit НаимСпр НастроитьПереводыСтрок НачМес НачТран НижняяГраницаМассива НомерСпр НПериод Окно Окр Окружение ОтлИнфДобавить ОтлИнфУдалить Отчет ОтчетАнал ОтчетИнт ПапкаСуществует Пауза ПВыборSQL ПереименоватьФайл Переменные ПереместитьФайл Подстр ПоискПодстр ПоискСтр ПолучитьИДТаблицы ПользовательДополнительно ПользовательИД ПользовательИмя ПользовательСтатус Прервать ПроверитьПараметр ПроверитьПараметрЗнач ПроверитьУсловие РазбСтр РазнВремя РазнДат РазнДатаВремя РазнРабВремя РегУстВрем РегУстДат РегУстЧсл РедТекст РеестрЗапись РеестрСписокИменПарам РеестрЧтение РеквСпр РеквСпрПр Сегодня Сейчас Сервер СерверПроцессИД СертификатФайлСчитать СжПроб Символ СистемаДиректумКод СистемаИнформация СистемаКод Содержит СоединениеЗакрыть СоединениеОткрыть СоздатьДиалог СоздатьДиалогВыбораИзДвухСписков СоздатьДиалогВыбораПапки СоздатьДиалогОткрытияФайла СоздатьДиалогСохраненияФайла СоздатьЗапрос СоздатьИндикатор СоздатьИсключение СоздатьКэшированныйСправочник СоздатьМассив СоздатьНаборДанных СоздатьОбъект СоздатьОтчет СоздатьПапку СоздатьРедактор СоздатьСоединение СоздатьСписок СоздатьСписокСтрок СоздатьСправочник СоздатьСценарий СоздСпр СостСпр Сохр СохрСпр СписокСистем Спр Справочник СпрБлокЕсть СпрБлокСнять СпрБлокСнятьРасш СпрБлокУстановить СпрИзмНабДан СпрКод СпрНомер СпрОбновить СпрОткрыть СпрОтменить СпрПарам СпрПолеЗнач СпрПолеИмя СпрРекв СпрРеквВведЗн СпрРеквНовые СпрРеквПр СпрРеквПредЗн СпрРеквРежим СпрРеквТипТекст СпрСоздать СпрСост СпрСохранить СпрТблИтог СпрТблСтр СпрТблСтрКол СпрТблСтрМакс СпрТблСтрМин СпрТблСтрПред СпрТблСтрСлед СпрТблСтрСозд СпрТблСтрУд СпрТекПредст СпрУдалить СравнитьСтр СтрВерхРегистр СтрНижнРегистр СтрТблСпр СумПроп Сценарий СценарийПарам ТекВерсия ТекОрг Точн Тран Транслитерация УдалитьТаблицу УдалитьФайл УдСпр УдСтрТблСпр Уст УстановкиКонстант ФайлАтрибутСчитать ФайлАтрибутУстановить ФайлВремя ФайлВремяУстановить ФайлВыбрать ФайлЗанят ФайлЗаписать ФайлИскать ФайлКопировать ФайлМожноЧитать ФайлОткрыть ФайлПереименовать ФайлПерекодировать ФайлПереместить ФайлПросмотреть ФайлРазмер ФайлСоздать ФайлСсылкаСоздать ФайлСуществует ФайлСчитать ФайлУдалить ФмтSQLДат ФмтДат ФмтСтр ФмтЧсл Формат ЦМассивЭлемент ЦНаборДанныхРеквизит ЦПодстр ", TE = "AltState Application CallType ComponentTokens CreatedJobs CreatedNotices ControlState DialogResult Dialogs EDocuments EDocumentVersionSource Folders GlobalIDs Job Jobs InputValue LookUpReference LookUpRequisiteNames LookUpSearch Object ParentComponent Processes References Requisite ReportName Reports Result Scripts Searches SelectedAttachments SelectedItems SelectMode Sender ServerEvents ServiceFactory ShiftState SubTask SystemDialogs Tasks Wizard Wizards Work ВызовСпособ ИмяОтчета РеквЗнач ", CE = "IApplication IAccessRights IAccountRepository IAccountSelectionRestrictions IAction IActionList IAdministrationHistoryDescription IAnchors IApplication IArchiveInfo IAttachment IAttachmentList ICheckListBox ICheckPointedList IColumn IComponent IComponentDescription IComponentToken IComponentTokenFactory IComponentTokenInfo ICompRecordInfo IConnection IContents IControl IControlJob IControlJobInfo IControlList ICrypto ICrypto2 ICustomJob ICustomJobInfo ICustomListBox ICustomObjectWizardStep ICustomWork ICustomWorkInfo IDataSet IDataSetAccessInfo IDataSigner IDateCriterion IDateRequisite IDateRequisiteDescription IDateValue IDeaAccessRights IDeaObjectInfo IDevelopmentComponentLock IDialog IDialogFactory IDialogPickRequisiteItems IDialogsFactory IDICSFactory IDocRequisite IDocumentInfo IDualListDialog IECertificate IECertificateInfo IECertificates IEditControl IEditorForm IEdmsExplorer IEdmsObject IEdmsObjectDescription IEdmsObjectFactory IEdmsObjectInfo IEDocument IEDocumentAccessRights IEDocumentDescription IEDocumentEditor IEDocumentFactory IEDocumentInfo IEDocumentStorage IEDocumentVersion IEDocumentVersionListDialog IEDocumentVersionSource IEDocumentWizardStep IEDocVerSignature IEDocVersionState IEnabledMode IEncodeProvider IEncrypter IEvent IEventList IException IExternalEvents IExternalHandler IFactory IField IFileDialog IFolder IFolderDescription IFolderDialog IFolderFactory IFolderInfo IForEach IForm IFormTitle IFormWizardStep IGlobalIDFactory IGlobalIDInfo IGrid IHasher IHistoryDescription IHyperLinkControl IImageButton IImageControl IInnerPanel IInplaceHint IIntegerCriterion IIntegerList IIntegerRequisite IIntegerValue IISBLEditorForm IJob IJobDescription IJobFactory IJobForm IJobInfo ILabelControl ILargeIntegerCriterion ILargeIntegerRequisite ILargeIntegerValue ILicenseInfo ILifeCycleStage IList IListBox ILocalIDInfo ILocalization ILock IMemoryDataSet IMessagingFactory IMetadataRepository INotice INoticeInfo INumericCriterion INumericRequisite INumericValue IObject IObjectDescription IObjectImporter IObjectInfo IObserver IPanelGroup IPickCriterion IPickProperty IPickRequisite IPickRequisiteDescription IPickRequisiteItem IPickRequisiteItems IPickValue IPrivilege IPrivilegeList IProcess IProcessFactory IProcessMessage IProgress IProperty IPropertyChangeEvent IQuery IReference IReferenceCriterion IReferenceEnabledMode IReferenceFactory IReferenceHistoryDescription IReferenceInfo IReferenceRecordCardWizardStep IReferenceRequisiteDescription IReferencesFactory IReferenceValue IRefRequisite IReport IReportFactory IRequisite IRequisiteDescription IRequisiteDescriptionList IRequisiteFactory IRichEdit IRouteStep IRule IRuleList ISchemeBlock IScript IScriptFactory ISearchCriteria ISearchCriterion ISearchDescription ISearchFactory ISearchFolderInfo ISearchForObjectDescription ISearchResultRestrictions ISecuredContext ISelectDialog IServerEvent IServerEventFactory IServiceDialog IServiceFactory ISignature ISignProvider ISignProvider2 ISignProvider3 ISimpleCriterion IStringCriterion IStringList IStringRequisite IStringRequisiteDescription IStringValue ISystemDialogsFactory ISystemInfo ITabSheet ITask ITaskAbortReasonInfo ITaskCardWizardStep ITaskDescription ITaskFactory ITaskInfo ITaskRoute ITextCriterion ITextRequisite ITextValue ITreeListSelectDialog IUser IUserList IValue IView IWebBrowserControl IWizard IWizardAction IWizardFactory IWizardFormElement IWizardParam IWizardPickParam IWizardReferenceParam IWizardStep IWorkAccessRights IWorkDescription IWorkflowAskableParam IWorkflowAskableParams IWorkflowBlock IWorkflowBlockResult IWorkflowEnabledMode IWorkflowParam IWorkflowPickParam IWorkflowReferenceParam IWorkState IWorkTreeCustomNode IWorkTreeJobNode IWorkTreeTaskNode IXMLEditorForm SBCrypto ", yE = Ce + SE, vE = TE, RE = "null true false nil ", Pu = { className: "number", begin: t.NUMBER_RE, relevance: 0 - }, Lu = { + }, Fu = { className: "string", variants: [ { @@ -37571,98 +37577,98 @@ function dx(t) { end: "'" } ] - }, ku = { + }, Bu = { className: "doctag", begin: "\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b", relevance: 0 - }, EE = { + }, OE = { className: "comment", begin: "//", end: "$", relevance: 0, contains: [ t.PHRASAL_WORDS_MODE, - ku + Bu ] - }, SE = { + }, NE = { className: "comment", begin: "/\\*", end: "\\*/", relevance: 0, contains: [ t.PHRASAL_WORDS_MODE, - ku + Bu ] - }, Pu = { variants: [ - EE, - SE - ] }, vo = { + }, Uu = { variants: [ + OE, + NE + ] }, Oo = { $pattern: e, keyword: r, - built_in: fE, - class: gE, - literal: hE - }, Ds = { + built_in: yE, + class: vE, + literal: RE + }, ws = { begin: "\\.\\s*" + t.UNDERSCORE_IDENT_RE, - keywords: vo, + keywords: Oo, relevance: 0 - }, Fu = { + }, Hu = { className: "type", - begin: ":[ \\t]*(" + mE.trim().replace(/\s/g, "|") + ")", + begin: ":[ \\t]*(" + CE.trim().replace(/\s/g, "|") + ")", end: "[ \\t]*=", excludeEnd: !0 - }, Bu = { + }, Gu = { className: "variable", - keywords: vo, + keywords: Oo, begin: e, relevance: 0, contains: [ - Fu, - Ds + Hu, + ws ] - }, Uu = n + "\\("; + }, Vu = n + "\\("; return { name: "ISBL", case_insensitive: !0, - keywords: vo, + keywords: Oo, illegal: "\\$|\\?|%|,|;$|~|#|@|", i = { $pattern: e + "|&[lg]t;", literal: "true false none minimal full all void and or not bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft", @@ -38219,7 +38225,7 @@ function fx(t) { ].concat(c) }; } -function gx(t) { +function vx(t) { const n = t.regex.either(...[ "(?:NeedsTeXFormat|RequirePackage|GetIdInfo)", "Provides(?:Expl)?(?:Package|Class|File)", @@ -38351,19 +38357,19 @@ function gx(t) { _, ...p ] - }, g = { + }, h = { begin: /\s+/, relevance: 0 }, E = [m], S = [f], b = function(M, B) { return { - contains: [g], + contains: [h], starts: { relevance: 0, contains: M, starts: B } }; - }, h = function(M, B) { + }, g = function(M, B) { return { begin: "\\\\" + M + "(?![a-zA-Z@:_])", keywords: { @@ -38371,7 +38377,7 @@ function gx(t) { keyword: "\\" + M }, relevance: 0, - contains: [g], + contains: [h], starts: B }; }, C = function(M, B) { @@ -38423,18 +38429,18 @@ function gx(t) { ...[ "verb", "lstinline" - ].map((M) => h(M, { contains: [T()] })), - h("mint", b(E, { contains: [T()] })), - h("mintinline", b(E, { contains: [ + ].map((M) => g(M, { contains: [T()] })), + g("mint", b(E, { contains: [T()] })), + g("mintinline", b(E, { contains: [ x(), T() ] })), - h("url", { contains: [ + g("url", { contains: [ x("link"), x("link") ] }), - h("hyperref", { contains: [x("link")] }), - h("href", b(S, { contains: [x("link")] })), + g("hyperref", { contains: [x("link")] }), + g("href", b(S, { contains: [x("link")] })), ...[].concat(...[ "", "\\*" @@ -38460,7 +38466,7 @@ function gx(t) { ] }; } -function hx(t) { +function Rx(t) { return { name: "LDIF", contains: [ @@ -38481,7 +38487,7 @@ function hx(t) { ] }; } -function Ex(t) { +function Ox(t) { const e = /([A-Za-z_][A-Za-z_0-9]*)?/, r = { scope: "params", begin: /\(/, @@ -38565,7 +38571,7 @@ function Ex(t) { ] }; } -function Sx(t) { +function Nx(t) { const e = "[a-zA-Z_\\-+\\*\\/<=>&#][a-zA-Z0-9_\\-+*\\/<=>&#!]*", n = "\\|[^]*?\\|", r = "(-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|-)?\\d+)?", i = { className: "literal", begin: "\\b(t{1}|nil)\\b" @@ -38634,7 +38640,7 @@ function Sx(t) { ] }, f = { begin: "\\(\\s*", end: "\\)" - }, g = { + }, h = { endsWithParent: !0, relevance: 0 }; @@ -38649,8 +38655,8 @@ function Sx(t) { { begin: n } ] }, - g - ], g.contains = [ + h + ], h.contains = [ _, m, f, @@ -38678,7 +38684,7 @@ function Sx(t) { ] }; } -function bx(t) { +function Ax(t) { const e = { className: "variable", variants: [ @@ -38767,7 +38773,7 @@ function bx(t) { illegal: ";$|^\\[|^=|&|\\{" }; } -const Tx = [ +const Ix = [ "as", // for exports "in", @@ -38810,14 +38816,14 @@ const Tx = [ "from", "export", "extends" -], Cx = [ +], xx = [ "true", "false", "null", "undefined", "NaN", "Infinity" -], yx = [ +], Dx = [ // Fundamental objects "Object", "Function", @@ -38867,7 +38873,7 @@ const Tx = [ "Intl", // WebAssembly "WebAssembly" -], vx = [ +], Mx = [ "Error", "EvalError", "InternalError", @@ -38876,7 +38882,7 @@ const Tx = [ "SyntaxError", "TypeError", "URIError" -], Rx = [ +], wx = [ "setInterval", "setTimeout", "clearInterval", @@ -38894,12 +38900,12 @@ const Tx = [ "encodeURIComponent", "escape", "unescape" -], Ox = [].concat( - Rx, - yx, - vx +], Lx = [].concat( + wx, + Dx, + Mx ); -function Nx(t) { +function kx(t) { const e = [ "npm", "print" @@ -38942,9 +38948,9 @@ function Nx(t) { "__bind", "__indexOf" ], i = { - keyword: Tx.concat(r), - literal: Cx.concat(n), - built_in: Ox.concat(e) + keyword: Ix.concat(r), + literal: xx.concat(n), + built_in: Lx.concat(e) }, o = "[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*", a = t.inherit(t.TITLE_MODE, { begin: o }), s = { className: "subst", begin: /#\{/, @@ -39109,7 +39115,7 @@ function Nx(t) { ]) }; } -function Ax(t) { +function Px(t) { const e = t.regex, n = /([-a-zA-Z$._][\w$.-]*)/, r = { className: "type", begin: /\bi\d+(?=\s|\b)/ @@ -39185,7 +39191,7 @@ function Ax(t) { ] }; } -function Ix(t) { +function Fx(t) { const n = { className: "string", begin: '"', @@ -39242,7 +39248,7 @@ function Ix(t) { ] }; } -const xx = [ +const Bx = [ "AASTriangle", "AbelianGroup", "Abort", @@ -46477,7 +46483,7 @@ const xx = [ "$WolframID", "$WolframUUID" ]; -function Dx(t) { +function Ux(t) { const e = t.regex, n = /([2-9]|[1-2]\d|[3][0-5])\^\^/, r = /(\w*\.\w+|\w+\.\w*|\w+)/, i = /(\d*\.\d+|\d+\.\d*|\d+)/, o = e.either(e.concat(n, r), i), a = /``[+-]?(\d*\.\d+|\d+\.\d*|\d+)/, s = /`([+-]?(\d*\.\d+|\d+\.\d*|\d+))?/, l = e.either(a, s), c = /\*\^[+-]?\d+/, d = { className: "number", relevance: 0, @@ -46486,7 +46492,7 @@ function Dx(t) { e.optional(l), e.optional(c) ) - }, p = /[a-zA-Z$][a-zA-Z0-9$]*/, _ = new Set(xx), m = { variants: [ + }, p = /[a-zA-Z$][a-zA-Z0-9$]*/, _ = new Set(Bx), m = { variants: [ { className: "builtin-symbol", begin: p, @@ -46503,7 +46509,7 @@ function Dx(t) { ] }, f = { className: "named-character", begin: /\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/ - }, g = { + }, h = { className: "operator", relevance: 0, begin: /[+\-*/,;.:@~=><&|_`'^?!%]+/ @@ -46519,7 +46525,7 @@ function Dx(t) { className: "brace", relevance: 0, begin: /[[\](){}]/ - }, h = { + }, g = { className: "message-name", relevance: 0, begin: e.concat("::", p) @@ -46543,17 +46549,17 @@ function Dx(t) { t.COMMENT(/\(\*/, /\*\)/, { contains: ["self"] }), E, S, - h, + g, m, f, t.QUOTE_STRING_MODE, d, - g, + h, b ] }; } -function Mx(t) { +function Hx(t) { const e = "('|\\.')+", n = { relevance: 0, contains: [{ begin: e }] @@ -46626,7 +46632,7 @@ function Mx(t) { ] }; } -function wx(t) { +function Gx(t) { return { name: "Maxima", keywords: { @@ -46674,7 +46680,7 @@ function wx(t) { illegal: /@/ }; } -function Lx(t) { +function Vx(t) { return { name: "MEL", keywords: "int float string vector matrix if else switch case default while do for in break continue global proc return about abs addAttr addAttributeEditorNodeHelp addDynamic addNewShelfTab addPP addPanelCategory addPrefixToName advanceToNextDrivenKey affectedNet affects aimConstraint air alias aliasAttr align alignCtx alignCurve alignSurface allViewFit ambientLight angle angleBetween animCone animCurveEditor animDisplay animView annotate appendStringArray applicationName applyAttrPreset applyTake arcLenDimContext arcLengthDimension arclen arrayMapper art3dPaintCtx artAttrCtx artAttrPaintVertexCtx artAttrSkinPaintCtx artAttrTool artBuildPaintMenu artFluidAttrCtx artPuttyCtx artSelectCtx artSetPaintCtx artUserPaintCtx assignCommand assignInputDevice assignViewportFactories attachCurve attachDeviceAttr attachSurface attrColorSliderGrp attrCompatibility attrControlGrp attrEnumOptionMenu attrEnumOptionMenuGrp attrFieldGrp attrFieldSliderGrp attrNavigationControlGrp attrPresetEditWin attributeExists attributeInfo attributeMenu attributeQuery autoKeyframe autoPlace bakeClip bakeFluidShading bakePartialHistory bakeResults bakeSimulation basename basenameEx batchRender bessel bevel bevelPlus binMembership bindSkin blend2 blendShape blendShapeEditor blendShapePanel blendTwoAttr blindDataType boneLattice boundary boxDollyCtx boxZoomCtx bufferCurve buildBookmarkMenu buildKeyframeMenu button buttonManip CBG cacheFile cacheFileCombine cacheFileMerge cacheFileTrack camera cameraView canCreateManip canvas capitalizeString catch catchQuiet ceil changeSubdivComponentDisplayLevel changeSubdivRegion channelBox character characterMap characterOutlineEditor characterize chdir checkBox checkBoxGrp checkDefaultRenderGlobals choice circle circularFillet clamp clear clearCache clip clipEditor clipEditorCurrentTimeCtx clipSchedule clipSchedulerOutliner clipTrimBefore closeCurve closeSurface cluster cmdFileOutput cmdScrollFieldExecuter cmdScrollFieldReporter cmdShell coarsenSubdivSelectionList collision color colorAtPoint colorEditor colorIndex colorIndexSliderGrp colorSliderButtonGrp colorSliderGrp columnLayout commandEcho commandLine commandPort compactHairSystem componentEditor compositingInterop computePolysetVolume condition cone confirmDialog connectAttr connectControl connectDynamic connectJoint connectionInfo constrain constrainValue constructionHistory container containsMultibyte contextInfo control convertFromOldLayers convertIffToPsd convertLightmap convertSolidTx convertTessellation convertUnit copyArray copyFlexor copyKey copySkinWeights cos cpButton cpCache cpClothSet cpCollision cpConstraint cpConvClothToMesh cpForces cpGetSolverAttr cpPanel cpProperty cpRigidCollisionFilter cpSeam cpSetEdit cpSetSolverAttr cpSolver cpSolverTypes cpTool cpUpdateClothUVs createDisplayLayer createDrawCtx createEditor createLayeredPsdFile createMotionField createNewShelf createNode createRenderLayer createSubdivRegion cross crossProduct ctxAbort ctxCompletion ctxEditMode ctxTraverse currentCtx currentTime currentTimeCtx currentUnit curve curveAddPtCtx curveCVCtx curveEPCtx curveEditorCtx curveIntersect curveMoveEPCtx curveOnSurface curveSketchCtx cutKey cycleCheck cylinder dagPose date defaultLightListCheckBox defaultNavigation defineDataServer defineVirtualDevice deformer deg_to_rad delete deleteAttr deleteShadingGroupsAndMaterials deleteShelfTab deleteUI deleteUnusedBrushes delrandstr detachCurve detachDeviceAttr detachSurface deviceEditor devicePanel dgInfo dgdirty dgeval dgtimer dimWhen directKeyCtx directionalLight dirmap dirname disable disconnectAttr disconnectJoint diskCache displacementToPoly displayAffected displayColor displayCull displayLevelOfDetail displayPref displayRGBColor displaySmoothness displayStats displayString displaySurface distanceDimContext distanceDimension doBlur dolly dollyCtx dopeSheetEditor dot dotProduct doubleProfileBirailSurface drag dragAttrContext draggerContext dropoffLocator duplicate duplicateCurve duplicateSurface dynCache dynControl dynExport dynExpression dynGlobals dynPaintEditor dynParticleCtx dynPref dynRelEdPanel dynRelEditor dynamicLoad editAttrLimits editDisplayLayerGlobals editDisplayLayerMembers editRenderLayerAdjustment editRenderLayerGlobals editRenderLayerMembers editor editorTemplate effector emit emitter enableDevice encodeString endString endsWith env equivalent equivalentTol erf error eval evalDeferred evalEcho event exactWorldBoundingBox exclusiveLightCheckBox exec executeForEachObject exists exp expression expressionEditorListen extendCurve extendSurface extrude fcheck fclose feof fflush fgetline fgetword file fileBrowserDialog fileDialog fileExtension fileInfo filetest filletCurve filter filterCurve filterExpand filterStudioImport findAllIntersections findAnimCurves findKeyframe findMenuItem findRelatedSkinCluster finder firstParentOf fitBspline flexor floatEq floatField floatFieldGrp floatScrollBar floatSlider floatSlider2 floatSliderButtonGrp floatSliderGrp floor flow fluidCacheInfo fluidEmitter fluidVoxelInfo flushUndo fmod fontDialog fopen formLayout format fprint frameLayout fread freeFormFillet frewind fromNativePath fwrite gamma gauss geometryConstraint getApplicationVersionAsFloat getAttr getClassification getDefaultBrush getFileList getFluidAttr getInputDeviceRange getMayaPanelTypes getModifiers getPanel getParticleAttr getPluginResource getenv getpid glRender glRenderEditor globalStitch gmatch goal gotoBindPose grabColor gradientControl gradientControlNoAttr graphDollyCtx graphSelectContext graphTrackCtx gravity grid gridLayout group groupObjectsByName HfAddAttractorToAS HfAssignAS HfBuildEqualMap HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached HfSelectAttractors HfUnAssignAS hardenPointCurve hardware hardwareRenderPanel headsUpDisplay headsUpMessage help helpLine hermite hide hilite hitTest hotBox hotkey hotkeyCheck hsv_to_rgb hudButton hudSlider hudSliderButton hwReflectionMap hwRender hwRenderLoad hyperGraph hyperPanel hyperShade hypot iconTextButton iconTextCheckBox iconTextRadioButton iconTextRadioCollection iconTextScrollList iconTextStaticLabel ikHandle ikHandleCtx ikHandleDisplayScale ikSolver ikSplineHandleCtx ikSystem ikSystemInfo ikfkDisplayMethod illustratorCurves image imfPlugins inheritTransform insertJoint insertJointCtx insertKeyCtx insertKnotCurve insertKnotSurface instance instanceable instancer intField intFieldGrp intScrollBar intSlider intSliderGrp interToUI internalVar intersect iprEngine isAnimCurve isConnected isDirty isParentOf isSameObject isTrue isValidObjectName isValidString isValidUiName isolateSelect itemFilter itemFilterAttr itemFilterRender itemFilterType joint jointCluster jointCtx jointDisplayScale jointLattice keyTangent keyframe keyframeOutliner keyframeRegionCurrentTimeCtx keyframeRegionDirectKeyCtx keyframeRegionDollyCtx keyframeRegionInsertKeyCtx keyframeRegionMoveKeyCtx keyframeRegionScaleKeyCtx keyframeRegionSelectKeyCtx keyframeRegionSetKeyCtx keyframeRegionTrackCtx keyframeStats lassoContext lattice latticeDeformKeyCtx launch launchImageEditor layerButton layeredShaderPort layeredTexturePort layout layoutDialog lightList lightListEditor lightListPanel lightlink lineIntersection linearPrecision linstep listAnimatable listAttr listCameras listConnections listDeviceAttachments listHistory listInputDeviceAxes listInputDeviceButtons listInputDevices listMenuAnnotation listNodeTypes listPanelCategories listRelatives listSets listTransforms listUnselected listerEditor loadFluid loadNewShelf loadPlugin loadPluginLanguageResources loadPrefObjects localizedPanelLabel lockNode loft log longNameOf lookThru ls lsThroughFilter lsType lsUI Mayatomr mag makeIdentity makeLive makePaintable makeRoll makeSingleSurface makeTubeOn makebot manipMoveContext manipMoveLimitsCtx manipOptions manipRotateContext manipRotateLimitsCtx manipScaleContext manipScaleLimitsCtx marker match max memory menu menuBarLayout menuEditor menuItem menuItemToShelf menuSet menuSetPref messageLine min minimizeApp mirrorJoint modelCurrentTimeCtx modelEditor modelPanel mouse movIn movOut move moveIKtoFK moveKeyCtx moveVertexAlongDirection multiProfileBirailSurface mute nParticle nameCommand nameField namespace namespaceInfo newPanelItems newton nodeCast nodeIconButton nodeOutliner nodePreset nodeType noise nonLinear normalConstraint normalize nurbsBoolean nurbsCopyUVSet nurbsCube nurbsEditUV nurbsPlane nurbsSelect nurbsSquare nurbsToPoly nurbsToPolygonsPref nurbsToSubdiv nurbsToSubdivPref nurbsUVSet nurbsViewDirectionVector objExists objectCenter objectLayer objectType objectTypeUI obsoleteProc oceanNurbsPreviewPlane offsetCurve offsetCurveOnSurface offsetSurface openGLExtension openMayaPref optionMenu optionMenuGrp optionVar orbit orbitCtx orientConstraint outlinerEditor outlinerPanel overrideModifier paintEffectsDisplay pairBlend palettePort paneLayout panel panelConfiguration panelHistory paramDimContext paramDimension paramLocator parent parentConstraint particle particleExists particleInstancer particleRenderInfo partition pasteKey pathAnimation pause pclose percent performanceOptions pfxstrokes pickWalk picture pixelMove planarSrf plane play playbackOptions playblast plugAttr plugNode pluginInfo pluginResourceUtil pointConstraint pointCurveConstraint pointLight pointMatrixMult pointOnCurve pointOnSurface pointPosition poleVectorConstraint polyAppend polyAppendFacetCtx polyAppendVertex polyAutoProjection polyAverageNormal polyAverageVertex polyBevel polyBlendColor polyBlindData polyBoolOp polyBridgeEdge polyCacheMonitor polyCheck polyChipOff polyClipboard polyCloseBorder polyCollapseEdge polyCollapseFacet polyColorBlindData polyColorDel polyColorPerVertex polyColorSet polyCompare polyCone polyCopyUV polyCrease polyCreaseCtx polyCreateFacet polyCreateFacetCtx polyCube polyCut polyCutCtx polyCylinder polyCylindricalProjection polyDelEdge polyDelFacet polyDelVertex polyDuplicateAndConnect polyDuplicateEdge polyEditUV polyEditUVShell polyEvaluate polyExtrudeEdge polyExtrudeFacet polyExtrudeVertex polyFlipEdge polyFlipUV polyForceUV polyGeoSampler polyHelix polyInfo polyInstallAction polyLayoutUV polyListComponentConversion polyMapCut polyMapDel polyMapSew polyMapSewMove polyMergeEdge polyMergeEdgeCtx polyMergeFacet polyMergeFacetCtx polyMergeUV polyMergeVertex polyMirrorFace polyMoveEdge polyMoveFacet polyMoveFacetUV polyMoveUV polyMoveVertex polyNormal polyNormalPerVertex polyNormalizeUV polyOptUvs polyOptions polyOutput polyPipe polyPlanarProjection polyPlane polyPlatonicSolid polyPoke polyPrimitive polyPrism polyProjection polyPyramid polyQuad polyQueryBlindData polyReduce polySelect polySelectConstraint polySelectConstraintMonitor polySelectCtx polySelectEditCtx polySeparate polySetToFaceNormal polySewEdge polyShortestPathCtx polySmooth polySoftEdge polySphere polySphericalProjection polySplit polySplitCtx polySplitEdge polySplitRing polySplitVertex polyStraightenUVBorder polySubdivideEdge polySubdivideFacet polyToSubdiv polyTorus polyTransfer polyTriangulate polyUVSet polyUnite polyWedgeFace popen popupMenu pose pow preloadRefEd print progressBar progressWindow projFileViewer projectCurve projectTangent projectionContext projectionManip promptDialog propModCtx propMove psdChannelOutliner psdEditTextureFile psdExport psdTextureFile putenv pwd python querySubdiv quit rad_to_deg radial radioButton radioButtonGrp radioCollection radioMenuItemCollection rampColorPort rand randomizeFollicles randstate rangeControl readTake rebuildCurve rebuildSurface recordAttr recordDevice redo reference referenceEdit referenceQuery refineSubdivSelectionList refresh refreshAE registerPluginResource rehash reloadImage removeJoint removeMultiInstance removePanelCategory rename renameAttr renameSelectionList renameUI render renderGlobalsNode renderInfo renderLayerButton renderLayerParent renderLayerPostProcess renderLayerUnparent renderManip renderPartition renderQualityNode renderSettings renderThumbnailUpdate renderWindowEditor renderWindowSelectContext renderer reorder reorderDeformers requires reroot resampleFluid resetAE resetPfxToPolyCamera resetTool resolutionNode retarget reverseCurve reverseSurface revolve rgb_to_hsv rigidBody rigidSolver roll rollCtx rootOf rot rotate rotationInterpolation roundConstantRadius rowColumnLayout rowLayout runTimeCommand runup sampleImage saveAllShelves saveAttrPreset saveFluid saveImage saveInitialState saveMenu savePrefObjects savePrefs saveShelf saveToolSettings scale scaleBrushBrightness scaleComponents scaleConstraint scaleKey scaleKeyCtx sceneEditor sceneUIReplacement scmh scriptCtx scriptEditorInfo scriptJob scriptNode scriptTable scriptToShelf scriptedPanel scriptedPanelType scrollField scrollLayout sculpt searchPathArray seed selLoadSettings select selectContext selectCurveCV selectKey selectKeyCtx selectKeyframeRegionCtx selectMode selectPref selectPriority selectType selectedNodes selectionConnection separator setAttr setAttrEnumResource setAttrMapping setAttrNiceNameResource setConstraintRestPosition setDefaultShadingGroup setDrivenKeyframe setDynamic setEditCtx setEditor setFluidAttr setFocus setInfinity setInputDeviceMapping setKeyCtx setKeyPath setKeyframe setKeyframeBlendshapeTargetWts setMenuMode setNodeNiceNameResource setNodeTypeFlag setParent setParticleAttr setPfxToPolyCamera setPluginResource setProject setStampDensity setStartupMessage setState setToolTo setUITemplate setXformManip sets shadingConnection shadingGeometryRelCtx shadingLightRelCtx shadingNetworkCompare shadingNode shapeCompare shelfButton shelfLayout shelfTabLayout shellField shortNameOf showHelp showHidden showManipCtx showSelectionInTitle showShadingGroupAttrEditor showWindow sign simplify sin singleProfileBirailSurface size sizeBytes skinCluster skinPercent smoothCurve smoothTangentSurface smoothstep snap2to2 snapKey snapMode snapTogetherCtx snapshot soft softMod softModCtx sort sound soundControl source spaceLocator sphere sphrand spotLight spotLightPreviewPort spreadSheetEditor spring sqrt squareSurface srtContext stackTrace startString startsWith stitchAndExplodeShell stitchSurface stitchSurfacePoints strcmp stringArrayCatenate stringArrayContains stringArrayCount stringArrayInsertAtIndex stringArrayIntersector stringArrayRemove stringArrayRemoveAtIndex stringArrayRemoveDuplicates stringArrayRemoveExact stringArrayToString stringToStringArray strip stripPrefixFromName stroke subdAutoProjection subdCleanTopology subdCollapse subdDuplicateAndConnect subdEditUV subdListComponentConversion subdMapCut subdMapSewMove subdMatchTopology subdMirror subdToBlind subdToPoly subdTransferUVsToCache subdiv subdivCrease subdivDisplaySmoothness substitute substituteAllString substituteGeometry substring surface surfaceSampler surfaceShaderList swatchDisplayPort switchTable symbolButton symbolCheckBox sysFile system tabLayout tan tangentConstraint texLatticeDeformContext texManipContext texMoveContext texMoveUVShellContext texRotateContext texScaleContext texSelectContext texSelectShortestPathCtx texSmudgeUVContext texWinToolCtx text textCurves textField textFieldButtonGrp textFieldGrp textManip textScrollList textToShelf textureDisplacePlane textureHairColor texturePlacementContext textureWindow threadCount threePointArcCtx timeControl timePort timerX toNativePath toggle toggleAxis toggleWindowVisibility tokenize tokenizeList tolerance tolower toolButton toolCollection toolDropped toolHasOptions toolPropertyWindow torus toupper trace track trackCtx transferAttributes transformCompare transformLimits translator trim trunc truncateFluidCache truncateHairCache tumble tumbleCtx turbulence twoPointArcCtx uiRes uiTemplate unassignInputDevice undo undoInfo ungroup uniform unit unloadPlugin untangleUV untitledFileName untrim upAxis updateAE userCtx uvLink uvSnapshot validateShelfName vectorize view2dToolCtx viewCamera viewClipPlane viewFit viewHeadOn viewLookAt viewManip viewPlace viewSet visor volumeAxis vortex waitCursor warning webBrowser webBrowserPrefs whatIs window windowPref wire wireContext workspace wrinkle wrinkleContext writeTake xbmLangPathList xform", @@ -46698,7 +46704,7 @@ function Lx(t) { ] }; } -function kx(t) { +function Yx(t) { const e = { keyword: "module use_module import_module include_module end_module initialise mutable initialize finalize finalise interface implementation pred mode func type inst solver any_pred any_func is semidet det nondet multi erroneous failure cc_nondet cc_multi typeclass instance where pragma promise external trace atomic or_else require_complete_switch require_det require_semidet require_multi require_nondet require_cc_multi require_cc_nondet require_erroneous require_failure", meta: ( @@ -46765,7 +46771,7 @@ function kx(t) { ] }; } -function Px(t) { +function zx(t) { return { name: "MIPS Assembly", case_insensitive: !0, @@ -46839,14 +46845,14 @@ function Px(t) { illegal: /\// }; } -function Fx(t) { +function $x(t) { return { name: "Mizar", keywords: "environ vocabularies notations constructors definitions registrations theorems schemes requirements begin end definition registration cluster existence pred func defpred deffunc theorem proof let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from be being by means equals implies iff redefine define now not or attr is mode suppose per cases set thesis contradiction scheme reserve struct correctness compatibility coherence symmetry assymetry reflexivity irreflexivity connectedness uniqueness commutativity idempotence involutiveness projectivity", contains: [t.COMMENT("::", "$")] }; } -function Bx(t) { +function qx(t) { return { name: "Mojolicious", subLanguage: "xml", @@ -46872,7 +46878,7 @@ function Bx(t) { ] }; } -function Ux(t) { +function Wx(t) { const e = { className: "number", relevance: 0, @@ -47040,7 +47046,7 @@ function Ux(t) { ] }; } -function Hx(t) { +function Kx(t) { const e = { keyword: ( // Moonscript keywords @@ -47168,7 +47174,7 @@ function Hx(t) { ]) }; } -function Gx(t) { +function Qx(t) { return { name: "N1QL", case_insensitive: !0, @@ -47514,7 +47520,7 @@ function Gx(t) { ] }; } -function Vx(t) { +function Zx(t) { const e = { match: [ /^\s*(?=\S)/, @@ -47585,7 +47591,7 @@ function Vx(t) { ] }; } -function Yx(t) { +function Xx(t) { const e = t.regex, n = { className: "variable", variants: [ @@ -47723,7 +47729,7 @@ function Yx(t) { illegal: "[^\\s\\}\\{]" }; } -function zx(t) { +function jx(t) { return { name: "Nim", keywords: { @@ -47896,7 +47902,7 @@ function zx(t) { ] }; } -function $x(t) { +function Jx(t) { const e = { keyword: [ "rec", @@ -47975,7 +47981,7 @@ function $x(t) { contains: a }; } -function qx(t) { +function eD(t) { return { name: "Node REPL", contains: [ @@ -47998,7 +48004,7 @@ function qx(t) { ] }; } -function Wx(t) { +function tD(t) { const e = t.regex, n = [ "ADMINTOOLS", "APPDATA", @@ -48457,7 +48463,7 @@ function Wx(t) { "Win8", "WinVista", "zlib" - ], g = { + ], h = { match: [ /Function/, /\s+/, @@ -48496,7 +48502,7 @@ function Wx(t) { { relevance: 0 } ), S, - g, + h, { beginKeywords: "Function PageEx Section SectionGroup FunctionEnd SectionEnd" }, _, u, @@ -48509,7 +48515,7 @@ function Wx(t) { ] }; } -function Kx(t) { +function nD(t) { return { name: "OCaml", aliases: ["ml"], @@ -48573,7 +48579,7 @@ function Kx(t) { ] }; } -function Qx(t) { +function rD(t) { const e = { className: "keyword", begin: "\\$(f[asn]|t|vp[rtd]|children)" @@ -48633,7 +48639,7 @@ function Qx(t) { ] }; } -function Zx(t) { +function iD(t) { const e = { $pattern: /\.?\w+/, keyword: "abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained" @@ -48694,7 +48700,7 @@ function Zx(t) { ] }; } -function Xx(t) { +function oD(t) { const e = t.COMMENT( /\{/, /\}/, @@ -48739,7 +48745,7 @@ function Xx(t) { ] }; } -function jx(t) { +function aD(t) { const e = { className: "variable", begin: /\$[\w\d#@][\w\d_]*/, @@ -48772,7 +48778,7 @@ function jx(t) { ] }; } -function Jx(t) { +function sD(t) { const e = t.COMMENT("--", "$"), n = "[a-zA-Z_][a-zA-Z_0-9$]*", r = "\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$", i = "<<\\s*" + n + "\\s*>>", o = ( // https://www.postgresql.org/docs/11/static/sql-keywords-appendix.html // https://www.postgresql.org/docs/11/static/sql-commands.html @@ -49034,7 +49040,7 @@ function Jx(t) { ] }; } -function eD(t) { +function lD(t) { const e = { keyword: "actor addressof and as be break class compile_error compile_intrinsic consume continue delegate digestof do else elseif embed end error for fun if ifdef in interface is isnt lambda let match new not object or primitive recover repeat return struct then trait try type until use var where while with xor", meta: "iso val tag trn box ref", @@ -49082,7 +49088,7 @@ function eD(t) { ] }; } -function tD(t) { +function cD(t) { const e = [ "string", "char", @@ -49215,7 +49221,7 @@ function tD(t) { } // CMDLETS ] - }, g = { + }, h = { begin: /using\s/, end: /$/, returnBegin: !0, @@ -49263,7 +49269,7 @@ function tD(t) { }, t.inherit(t.TITLE_MODE, { endsParent: !0 }) ] - }, h = [ + }, g = [ // STATIC_MEMBER, b, p, @@ -49284,7 +49290,7 @@ function tD(t) { relevance: 0, contains: [].concat( "self", - h, + g, { begin: "(" + e.join("|") + ")", className: "built_in", @@ -49306,16 +49312,16 @@ function tD(t) { ], case_insensitive: !0, keywords: i, - contains: h.concat( + contains: g.concat( m, f, - g, + h, E, C ) }; } -function nD(t) { +function uD(t) { const e = t.regex, n = [ "displayHeight", "displayWidth", @@ -49730,7 +49736,7 @@ function nD(t) { ] }; } -function rD(t) { +function dD(t) { return { name: "Python profiler", contains: [ @@ -49765,7 +49771,7 @@ function rD(t) { ] }; } -function iD(t) { +function pD(t) { const e = { begin: /[a-z][A-Za-z0-9_]*/, relevance: 0 @@ -49829,7 +49835,7 @@ function iD(t) { ]) }; } -function oD(t) { +function _D(t) { const e = "[ \\t\\f]*", n = "[ \\t\\f]+", r = e + "[:=]" + e, i = n, o = "(" + r + "|" + i + ")", a = "([^\\\\:= \\t\\f\\n]|\\\\.)+", s = { // skip DELIM end: o, @@ -49877,7 +49883,7 @@ function oD(t) { ] }; } -function aD(t) { +function mD(t) { const e = [ "package", "import", @@ -49945,7 +49951,7 @@ function aD(t) { ] }; } -function sD(t) { +function fD(t) { const e = { keyword: ( /* language keywords */ @@ -50049,7 +50055,7 @@ function sD(t) { ] }; } -function lD(t) { +function hD(t) { const e = { // PB IDE color: #0080FF (Azure Radiance) className: "string", @@ -50105,7 +50111,7 @@ function lD(t) { ] }; } -function cD(t) { +function gD(t) { return { name: "Q", aliases: [ @@ -50126,7 +50132,7 @@ function cD(t) { ] }; } -function uD(t) { +function ED(t) { const e = t.regex, n = { keyword: "in of on if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await import", literal: "true false null undefined NaN Infinity", @@ -50265,7 +50271,7 @@ function uD(t) { illegal: /#/ }; } -function dD(t) { +function SD(t) { return { name: "ReasonML", aliases: ["re"], @@ -50401,7 +50407,7 @@ function dD(t) { ] }; } -function pD(t) { +function bD(t) { return { name: "RenderMan RIB", keywords: "ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry Hider Hyperboloid Identity Illuminate Imager Interior LightSource MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd TransformPoints Translate TrimCurve WorldBegin WorldEnd", @@ -50414,7 +50420,7 @@ function pD(t) { ] }; } -function _D(t) { +function TD(t) { const e = "[a-zA-Z-_][^\\n{]+\\{", n = { className: "attribute", begin: /[a-zA-Z-_]+/, @@ -50480,7 +50486,7 @@ function _D(t) { ] }; } -function mD(t) { +function CD(t) { const e = "foreach do while for if from to step else on-error and or not in", n = "global local beep delay put len typeof pick log time set find environment terminal error execute parse resolve toarray tobool toid toip toip6 tonum tostr totime", r = "add remove enable disable set get print export edit find run debug error info warning", i = "true false yes no nothing nil null", o = "traffic-flow traffic-generator firewall scheduler aaa accounting address-list address align area bandwidth-server bfd bgp bridge client clock community config connection console customer default dhcp-client dhcp-server discovery dns e-mail ethernet filter firmware gps graphing group hardware health hotspot identity igmp-proxy incoming instance interface ip ipsec ipv6 irq l2tp-server lcd ldp logging mac-server mac-winbox mangle manual mirror mme mpls nat nd neighbor network note ntp ospf ospf-v3 ovpn-server page peer pim ping policy pool port ppp pppoe-client pptp-server prefix profile proposal proxy queue radius resource rip ripng route routing screen script security-profiles server service service-port settings shares smb sms sniffer snmp snooper socks sstp-server system tool tracking type upgrade upnp user-manager users user vlan secret vrrp watchdog web-access wireless pptp pppoe lan wan layer7-protocol lease simple raw", a = { className: "variable", variants: [ @@ -50617,7 +50623,7 @@ function mD(t) { ] }; } -function fD(t) { +function yD(t) { const e = [ "abs", "acos", @@ -50749,7 +50755,7 @@ function fD(t) { ] }; } -function gD(t) { +function vD(t) { return { name: "Oracle Rules Language", keywords: { @@ -50776,7 +50782,7 @@ function gD(t) { ] }; } -function hD(t) { +function RD(t) { const e = t.regex, n = [ "do", "if", @@ -51313,7 +51319,7 @@ function hD(t) { ] }; } -function ED(t) { +function OD(t) { const e = t.regex, n = { className: "meta", begin: "@[A-Za-z]+" @@ -51489,7 +51495,7 @@ function ED(t) { ] }; } -function SD(t) { +function ND(t) { const e = "[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+", n = "(-|\\+)?\\d+([./]\\d+)?", r = n + "[+\\-]" + n + "i", i = { $pattern: e, built_in: "case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?" @@ -51611,7 +51617,7 @@ function SD(t) { ].concat(l) }; } -function bD(t) { +function AD(t) { const e = [ t.C_NUMBER_MODE, { @@ -51667,7 +51673,7 @@ function bD(t) { ].concat(e) }; } -function TD(t) { +function ID(t) { const e = [ "add", "and", @@ -51782,7 +51788,7 @@ function TD(t) { ] }; } -function CD(t) { +function xD(t) { const e = "[a-z][a-zA-Z0-9_]*", n = { className: "string", begin: "\\$.{1}" @@ -51839,7 +51845,7 @@ function CD(t) { ] }; } -function yD(t) { +function DD(t) { return { name: "SML (Standard ML)", aliases: ["ml"], @@ -51905,7 +51911,7 @@ function yD(t) { ] }; } -function vD(t) { +function MD(t) { const e = { className: "variable", begin: /\b_+[a-zA-Z]\w*/ @@ -54507,7 +54513,7 @@ function vD(t) { ] }; } -function RD(t) { +function wD(t) { const e = t.regex, n = [ "functions", "model", @@ -54992,7 +54998,7 @@ function RD(t) { ] }; } -function OD(t) { +function LD(t) { return { name: "Stata", aliases: [ @@ -55030,7 +55036,7 @@ function OD(t) { ] }; } -function ND(t) { +function kD(t) { return { name: "STEP Part 21", aliases: [ @@ -55083,7 +55089,7 @@ function ND(t) { ] }; } -const AD = (t) => ({ +const PD = (t) => ({ IMPORTANT: { scope: "meta", begin: "!important" @@ -55116,7 +55122,7 @@ const AD = (t) => ({ className: "attr", begin: /--[A-Za-z_][A-Za-z0-9_-]*/ } -}), ID = [ +}), FD = [ "a", "abbr", "address", @@ -55189,7 +55195,7 @@ const AD = (t) => ({ "ul", "var", "video" -], xD = [ +], BD = [ "any-hover", "any-pointer", "aspect-ratio", @@ -55224,7 +55230,7 @@ const AD = (t) => ({ "max-width", "min-height", "max-height" -], DD = [ +], UD = [ "active", "any-link", "blank", @@ -55298,7 +55304,7 @@ const AD = (t) => ({ "visited", "where" // where() -], MD = [ +], HD = [ "after", "backdrop", "before", @@ -55313,7 +55319,7 @@ const AD = (t) => ({ "selection", "slotted", "spelling-error" -], wD = [ +], GD = [ "align-content", "align-items", "align-self", @@ -55676,8 +55682,8 @@ const AD = (t) => ({ // reverse makes sure longer attributes `font-weight` are matched fully // instead of getting false positives on say `font` ].reverse(); -function LD(t) { - const e = AD(t), n = "and or not only", r = { +function VD(t) { + const e = PD(t), n = "and or not only", r = { className: "variable", begin: "\\$" + t.IDENT_RE }, i = [ @@ -55744,17 +55750,17 @@ function LD(t) { }, // tags { - begin: "\\b(" + ID.join("|") + ")" + o, + begin: "\\b(" + FD.join("|") + ")" + o, className: "selector-tag" }, // psuedo selectors { className: "selector-pseudo", - begin: "&?:(" + DD.join("|") + ")" + o + begin: "&?:(" + UD.join("|") + ")" + o }, { className: "selector-pseudo", - begin: "&?:(:)?(" + MD.join("|") + ")" + o + begin: "&?:(:)?(" + HD.join("|") + ")" + o }, e.ATTRIBUTE_SELECTOR_MODE, { @@ -55765,7 +55771,7 @@ function LD(t) { keywords: { $pattern: /[a-z-]+/, keyword: n, - attribute: xD.join(" ") + attribute: BD.join(" ") }, contains: [e.CSS_NUMBER_MODE] } @@ -55812,7 +55818,7 @@ function LD(t) { // - must have whitespace after it { className: "attribute", - begin: "\\b(" + wD.join("|") + ")\\b", + begin: "\\b(" + GD.join("|") + ")\\b", starts: { // value container end: /;|$/, @@ -55834,7 +55840,7 @@ function LD(t) { ] }; } -function kD(t) { +function YD(t) { return { name: "SubUnit", case_insensitive: !0, @@ -55867,7 +55873,7 @@ function kD(t) { ] }; } -function PD(t) { +function zD(t) { return { name: "Tagger Script", contains: [ @@ -55907,7 +55913,7 @@ function PD(t) { ] }; } -function FD(t) { +function $D(t) { return { name: "Test Anything Protocol", case_insensitive: !0, @@ -55944,7 +55950,7 @@ function FD(t) { ] }; } -function BD(t) { +function qD(t) { const e = t.regex, n = /[a-zA-Z_][a-zA-Z0-9_]*/, r = { className: "number", variants: [ @@ -56119,7 +56125,7 @@ function BD(t) { ] }; } -function UD(t) { +function WD(t) { const e = [ "bool", "byte", @@ -56186,7 +56192,7 @@ function UD(t) { ] }; } -function HD(t) { +function KD(t) { const e = { className: "number", begin: "[1-9][0-9]*", @@ -56343,7 +56349,7 @@ function HD(t) { ] }; } -function GD(t) { +function QD(t) { const e = t.regex, n = [ "absolute_url", "asset|0", @@ -56568,7 +56574,7 @@ function GD(t) { ] }; } -function VD(t) { +function ZD(t) { return { name: "Vala", keywords: { @@ -56607,7 +56613,7 @@ function VD(t) { ] }; } -function YD(t) { +function XD(t) { const e = t.regex, n = [ "lcase", "month", @@ -56806,7 +56812,7 @@ function YD(t) { ] }; } -function zD(t) { +function jD(t) { return { name: "VBScript in HTML", subLanguage: "xml", @@ -56819,7 +56825,7 @@ function zD(t) { ] }; } -function $D(t) { +function JD(t) { const e = t.regex, n = { $pattern: /\$?[\w]+(\$[\w]+)*/, keyword: [ @@ -57355,7 +57361,7 @@ function $D(t) { ] }; } -function qD(t) { +function eM(t) { const e = "\\d(_|\\d)*", n = "[eE][-+]?" + e, r = e + "(\\." + e + ")?(" + n + ")?", i = "\\w+", a = "\\b(" + (e + "#" + i + "(\\." + i + ")?#(" + n + ")?") + "|" + r + ")"; return { name: "VHDL", @@ -57546,7 +57552,7 @@ function qD(t) { ] }; } -function WD(t) { +function tM(t) { return { name: "Vim Script", keywords: { @@ -57615,7 +57621,7 @@ function WD(t) { ] }; } -function KD(t) { +function nM(t) { const e = t.regex, n = /[a-zA-Z]\w*/, r = [ "as", "break", @@ -57746,7 +57752,7 @@ function KD(t) { match: /\b[A-Z]+[a-z]+([A-Z]+[a-z]+)*/, scope: "title.class", keywords: { _: a } - }, g = t.C_NUMBER_MODE, E = { + }, h = t.C_NUMBER_MODE, E = { match: [ n, /\s*/, @@ -57776,13 +57782,13 @@ function KD(t) { begin: /%\(/, end: /\)/, contains: [ - g, + h, f, l, m, d ] - }, h = { + }, g = { scope: "string", begin: /"/, end: /"/, @@ -57799,7 +57805,7 @@ function KD(t) { } ] }; - b.contains.push(h); + b.contains.push(g); const C = [ ...r, ...o, @@ -57853,8 +57859,8 @@ function KD(t) { } ] }, - g, h, + g, p, S, t.C_LINE_COMMENT_MODE, @@ -57871,7 +57877,7 @@ function KD(t) { ] }; } -function QD(t) { +function rM(t) { return { name: "Intel x86 Assembly", case_insensitive: !0, @@ -57956,7 +57962,7 @@ function QD(t) { ] }; } -function ZD(t) { +function iM(t) { const e = [ "if", "then", @@ -58141,7 +58147,7 @@ function ZD(t) { ] }; } -function XD(t) { +function oM(t) { return { name: "XQuery", aliases: [ @@ -58453,7 +58459,7 @@ function XD(t) { ] }; } -function jD(t) { +function aM(t) { const e = { className: "string", contains: [t.BACKSLASH_ESCAPE], @@ -58547,7 +58553,7 @@ function jD(t) { ] }; } -function JD(t) { +function sM(t) { const e = t.regex, n = t.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), r = "decltype\\(auto\\)", i = "[a-zA-Z_]\\w*::", a = "(?!struct)(" + r + "|" + e.optional(i) + "[a-zA-Z_]\\w*" + e.optional("<[^<>]+>") + ")", s = { className: "type", begin: "\\b[a-z\\d_]*_t\\b" @@ -58705,7 +58711,7 @@ function JD(t) { "signed", "const", "static" - ], g = [ + ], h = [ "any", "auto_ptr", "barrier", @@ -58862,7 +58868,7 @@ function JD(t) { "visit", "vprintf", "vsprintf" - ], h = { + ], g = { type: f, keyword: m, literal: [ @@ -58873,7 +58879,7 @@ function JD(t) { "true" ], built_in: ["_Pragma"], - _type_hints: g + _type_hints: h }, C = { className: "function.dispatch", relevance: 0, @@ -58917,12 +58923,12 @@ function JD(t) { end: /;/ } ], - keywords: h, + keywords: g, contains: T.concat([ { begin: /\(/, end: /\)/, - keywords: h, + keywords: g, contains: T.concat(["self"]), relevance: 0 } @@ -58934,13 +58940,13 @@ function JD(t) { returnBegin: !0, end: /[{;=]/, excludeEnd: !0, - keywords: h, + keywords: g, illegal: /[^\w\s\*&:<>.]/, contains: [ { // to prevent it from being confused as the function title begin: r, - keywords: h, + keywords: g, relevance: 0 }, { @@ -58974,7 +58980,7 @@ function JD(t) { className: "params", begin: /\(/, end: /\)/, - keywords: h, + keywords: g, relevance: 0, contains: [ n, @@ -58986,7 +58992,7 @@ function JD(t) { { begin: /\(/, end: /\)/, - keywords: h, + keywords: g, relevance: 0, contains: [ "self", @@ -59016,7 +59022,7 @@ function JD(t) { "hxx", "cxx" ], - keywords: h, + keywords: g, illegal: " rooms (9);` begin: "\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function)\\s*<(?!<)", end: ">", - keywords: h, + keywords: g, contains: [ "self", s @@ -59038,7 +59044,7 @@ function JD(t) { }, { begin: t.IDENT_RE + "::", - keywords: h + keywords: g }, { match: [ @@ -59056,7 +59062,7 @@ function JD(t) { ) }; } -function eM(t) { +function lM(t) { const e = { type: [ "boolean", @@ -59422,7 +59428,7 @@ function eM(t) { "HIGH", "LOW" ] - }, n = JD(t), r = ( + }, n = sM(t), r = ( /** @type {Record} */ n.keywords ); @@ -59437,7 +59443,7 @@ function eM(t) { ...e.built_in ], r._hints = e._hints, n.name = "Arduino", n.aliases = ["ino"], n.supersetOf = "cpp", n; } -function tM(t) { +function cM(t) { const e = t.regex, n = {}, r = { begin: /\$\{/, end: /\}/, @@ -59544,7 +59550,7 @@ function tM(t) { ], f = [ "true", "false" - ], g = { match: /(\/[a-z._-]+)+/ }, E = [ + ], h = { match: /(\/[a-z._-]+)+/ }, E = [ "break", "cd", "continue", @@ -59654,7 +59660,7 @@ function tM(t) { "zsocket", "zstyle", "ztcp" - ], h = [ + ], g = [ "chcon", "chgrp", "chown", @@ -59773,7 +59779,7 @@ function tM(t) { "set", "shopt", ...b, - ...h + ...g ] }, contains: [ @@ -59785,7 +59791,7 @@ function tM(t) { u, t.HASH_COMMENT_MODE, o, - g, + h, a, s, l, @@ -59794,7 +59800,7 @@ function tM(t) { ] }; } -function nM(t) { +function uM(t) { const e = t.regex, n = t.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), r = "decltype\\(auto\\)", i = "[a-zA-Z_]\\w*::", a = "(" + r + "|" + e.optional(i) + "[a-zA-Z_]\\w*" + e.optional("<[^<>]+>") + ")", s = { className: "type", variants: [ @@ -59850,7 +59856,7 @@ function nM(t) { className: "title", begin: e.optional(i) + t.IDENT_RE, relevance: 0 - }, _ = e.optional(i) + t.IDENT_RE + "\\s*\\(", g = { + }, _ = e.optional(i) + t.IDENT_RE + "\\s*\\(", h = { keyword: [ "asm", "auto", @@ -59945,12 +59951,12 @@ function nM(t) { end: /;/ } ], - keywords: g, + keywords: h, contains: E.concat([ { begin: /\(/, end: /\)/, - keywords: g, + keywords: h, contains: E.concat(["self"]), relevance: 0 } @@ -59961,13 +59967,13 @@ function nM(t) { returnBegin: !0, end: /[{;=]/, excludeEnd: !0, - keywords: g, + keywords: h, illegal: /[^\w\s\*&:<>.]/, contains: [ { // to prevent it from being confused as the function title begin: r, - keywords: g, + keywords: h, relevance: 0 }, { @@ -59986,7 +59992,7 @@ function nM(t) { className: "params", begin: /\(/, end: /\)/, - keywords: g, + keywords: h, relevance: 0, contains: [ n, @@ -59998,7 +60004,7 @@ function nM(t) { { begin: /\(/, end: /\)/, - keywords: g, + keywords: h, relevance: 0, contains: [ "self", @@ -60020,7 +60026,7 @@ function nM(t) { return { name: "C", aliases: ["h"], - keywords: g, + keywords: h, // Until differentiations are added between `c` and `cpp`, `c` will // not be auto-detected to avoid auto-detect conflicts between C and C++ disableAutodetect: !0, @@ -60033,7 +60039,7 @@ function nM(t) { d, { begin: t.IDENT_RE + "::", - keywords: g + keywords: h }, { className: "class", @@ -60049,11 +60055,11 @@ function nM(t) { exports: { preprocessor: d, strings: c, - keywords: g + keywords: h } }; } -function rM(t) { +function dM(t) { const e = t.regex, n = t.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), r = "decltype\\(auto\\)", i = "[a-zA-Z_]\\w*::", a = "(?!struct)(" + r + "|" + e.optional(i) + "[a-zA-Z_]\\w*" + e.optional("<[^<>]+>") + ")", s = { className: "type", begin: "\\b[a-z\\d_]*_t\\b" @@ -60211,7 +60217,7 @@ function rM(t) { "signed", "const", "static" - ], g = [ + ], h = [ "any", "auto_ptr", "barrier", @@ -60368,7 +60374,7 @@ function rM(t) { "visit", "vprintf", "vsprintf" - ], h = { + ], g = { type: f, keyword: m, literal: [ @@ -60379,7 +60385,7 @@ function rM(t) { "true" ], built_in: ["_Pragma"], - _type_hints: g + _type_hints: h }, C = { className: "function.dispatch", relevance: 0, @@ -60423,12 +60429,12 @@ function rM(t) { end: /;/ } ], - keywords: h, + keywords: g, contains: T.concat([ { begin: /\(/, end: /\)/, - keywords: h, + keywords: g, contains: T.concat(["self"]), relevance: 0 } @@ -60440,13 +60446,13 @@ function rM(t) { returnBegin: !0, end: /[{;=]/, excludeEnd: !0, - keywords: h, + keywords: g, illegal: /[^\w\s\*&:<>.]/, contains: [ { // to prevent it from being confused as the function title begin: r, - keywords: h, + keywords: g, relevance: 0 }, { @@ -60480,7 +60486,7 @@ function rM(t) { className: "params", begin: /\(/, end: /\)/, - keywords: h, + keywords: g, relevance: 0, contains: [ n, @@ -60492,7 +60498,7 @@ function rM(t) { { begin: /\(/, end: /\)/, - keywords: h, + keywords: g, relevance: 0, contains: [ "self", @@ -60522,7 +60528,7 @@ function rM(t) { "hxx", "cxx" ], - keywords: h, + keywords: g, illegal: " rooms (9);` begin: "\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function)\\s*<(?!<)", end: ">", - keywords: h, + keywords: g, contains: [ "self", s @@ -60544,7 +60550,7 @@ function rM(t) { }, { begin: t.IDENT_RE + "::", - keywords: h + keywords: g }, { match: [ @@ -60562,7 +60568,7 @@ function rM(t) { ) }; } -function iM(t) { +function pM(t) { const e = [ "bool", "byte", @@ -60767,7 +60773,7 @@ function iM(t) { l, t.inherit(t.C_BLOCK_COMMENT_MODE, { illegal: /\n/ }) ]; - const g = { variants: [ + const h = { variants: [ m, _, c, @@ -60826,7 +60832,7 @@ function iM(t) { end: "$", keywords: { keyword: "if else elif endif define undef warning error line region endregion pragma checksum" } }, - g, + h, l, { beginKeywords: "class interface", @@ -60917,7 +60923,7 @@ function iM(t) { keywords: a, relevance: 0, contains: [ - g, + h, l, t.C_BLOCK_COMMENT_MODE ] @@ -60930,7 +60936,7 @@ function iM(t) { ] }; } -const oM = (t) => ({ +const _M = (t) => ({ IMPORTANT: { scope: "meta", begin: "!important" @@ -60963,7 +60969,7 @@ const oM = (t) => ({ className: "attr", begin: /--[A-Za-z_][A-Za-z0-9_-]*/ } -}), aM = [ +}), mM = [ "a", "abbr", "address", @@ -61036,7 +61042,7 @@ const oM = (t) => ({ "ul", "var", "video" -], sM = [ +], fM = [ "any-hover", "any-pointer", "aspect-ratio", @@ -61071,7 +61077,7 @@ const oM = (t) => ({ "max-width", "min-height", "max-height" -], lM = [ +], hM = [ "active", "any-link", "blank", @@ -61145,7 +61151,7 @@ const oM = (t) => ({ "visited", "where" // where() -], cM = [ +], gM = [ "after", "backdrop", "before", @@ -61160,7 +61166,7 @@ const oM = (t) => ({ "selection", "slotted", "spelling-error" -], uM = [ +], EM = [ "align-content", "align-items", "align-self", @@ -61523,8 +61529,8 @@ const oM = (t) => ({ // reverse makes sure longer attributes `font-weight` are matched fully // instead of getting false positives on say `font` ].reverse(); -function dM(t) { - const e = t.regex, n = oM(t), r = { begin: /-(webkit|moz|ms|o)-(?=[a-z])/ }, i = "and or not only", o = /@-?\w[\w]*(-\w+)*/, a = "[a-zA-Z-][a-zA-Z0-9_-]*", s = [ +function SM(t) { + const e = t.regex, n = _M(t), r = { begin: /-(webkit|moz|ms|o)-(?=[a-z])/ }, i = "and or not only", o = /@-?\w[\w]*(-\w+)*/, a = "[a-zA-Z-][a-zA-Z0-9_-]*", s = [ t.APOS_STRING_MODE, t.QUOTE_STRING_MODE ]; @@ -61558,8 +61564,8 @@ function dM(t) { { className: "selector-pseudo", variants: [ - { begin: ":(" + lM.join("|") + ")" }, - { begin: ":(:)?(" + cM.join("|") + ")" } + { begin: ":(" + hM.join("|") + ")" }, + { begin: ":(:)?(" + gM.join("|") + ")" } ] }, // we may actually need this (12/2020) @@ -61571,7 +61577,7 @@ function dM(t) { n.CSS_VARIABLE, { className: "attribute", - begin: "\\b(" + uM.join("|") + ")\\b" + begin: "\\b(" + EM.join("|") + ")\\b" }, // attribute values { @@ -61626,7 +61632,7 @@ function dM(t) { keywords: { $pattern: /[a-z-]+/, keyword: i, - attribute: sM.join(" ") + attribute: fM.join(" ") }, contains: [ { @@ -61641,12 +61647,12 @@ function dM(t) { }, { className: "selector-tag", - begin: "\\b(" + aM.join("|") + ")\\b" + begin: "\\b(" + mM.join("|") + ")\\b" } ] }; } -function pM(t) { +function bM(t) { const e = t.regex; return { name: "Diff", @@ -61697,7 +61703,7 @@ function pM(t) { ] }; } -function _M(t) { +function TM(t) { const o = { keyword: [ "break", @@ -61825,7 +61831,7 @@ function _M(t) { ] }; } -function mM(t) { +function CM(t) { const e = t.regex, n = /[_A-Za-z][_0-9A-Za-z]*/; return { name: "GraphQL", @@ -61892,7 +61898,7 @@ function mM(t) { ] }; } -function fM(t) { +function yM(t) { const e = t.regex, n = { className: "number", relevance: 0, @@ -61996,22 +62002,22 @@ function fM(t) { ] }; } -var Hr = "[0-9](_*[0-9])*", Yo = `\\.(${Hr})`, zo = "[0-9a-fA-F](_*[0-9a-fA-F])*", C_ = { +var Hr = "[0-9](_*[0-9])*", $o = `\\.(${Hr})`, qo = "[0-9a-fA-F](_*[0-9a-fA-F])*", R_ = { className: "number", variants: [ // DecimalFloatingPointLiteral // including ExponentPart - { begin: `(\\b(${Hr})((${Yo})|\\.)?|(${Yo}))[eE][+-]?(${Hr})[fFdD]?\\b` }, + { begin: `(\\b(${Hr})((${$o})|\\.)?|(${$o}))[eE][+-]?(${Hr})[fFdD]?\\b` }, // excluding ExponentPart - { begin: `\\b(${Hr})((${Yo})[fFdD]?\\b|\\.([fFdD]\\b)?)` }, - { begin: `(${Yo})[fFdD]?\\b` }, + { begin: `\\b(${Hr})((${$o})[fFdD]?\\b|\\.([fFdD]\\b)?)` }, + { begin: `(${$o})[fFdD]?\\b` }, { begin: `\\b(${Hr})[fFdD]\\b` }, // HexadecimalFloatingPointLiteral - { begin: `\\b0[xX]((${zo})\\.?|(${zo})?\\.(${zo}))[pP][+-]?(${Hr})[fFdD]?\\b` }, + { begin: `\\b0[xX]((${qo})\\.?|(${qo})?\\.(${qo}))[pP][+-]?(${Hr})[fFdD]?\\b` }, // DecimalIntegerLiteral { begin: "\\b(0|[1-9](_*[0-9])*)[lL]?\\b" }, // HexIntegerLiteral - { begin: `\\b0[xX](${zo})[lL]?\\b` }, + { begin: `\\b0[xX](${qo})[lL]?\\b` }, // OctalIntegerLiteral { begin: "\\b0(_*[0-7])*[lL]?\\b" }, // BinaryIntegerLiteral @@ -62019,11 +62025,11 @@ var Hr = "[0-9](_*[0-9])*", Yo = `\\.(${Hr})`, zo = "[0-9a-fA-F](_*[0-9a-fA-F])* ], relevance: 0 }; -function jg(t, e, n) { - return n === -1 ? "" : t.replace(e, (r) => jg(t, e, n - 1)); +function ng(t, e, n) { + return n === -1 ? "" : t.replace(e, (r) => ng(t, e, n - 1)); } -function gM(t) { - const e = t.regex, n = "[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*", r = n + jg("(?:<" + n + "~~~(?:\\s*,\\s*" + n + "~~~)*>)?", /~~~/g, 2), l = { +function vM(t) { + const e = t.regex, n = "[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*", r = n + ng("(?:<" + n + "~~~(?:\\s*,\\s*" + n + "~~~)*>)?", /~~~/g, 2), l = { keyword: [ "synchronized", "abstract", @@ -62218,7 +62224,7 @@ function gM(t) { c, t.APOS_STRING_MODE, t.QUOTE_STRING_MODE, - C_, + R_, t.C_BLOCK_COMMENT_MODE ] }, @@ -62226,12 +62232,12 @@ function gM(t) { t.C_BLOCK_COMMENT_MODE ] }, - C_, + R_, c ] }; } -const y_ = "[A-Za-z$_][0-9A-Za-z$_]*", hM = [ +const O_ = "[A-Za-z$_][0-9A-Za-z$_]*", RM = [ "as", // for exports "in", @@ -62274,14 +62280,14 @@ const y_ = "[A-Za-z$_][0-9A-Za-z$_]*", hM = [ "from", "export", "extends" -], EM = [ +], OM = [ "true", "false", "null", "undefined", "NaN", "Infinity" -], Jg = [ +], rg = [ // Fundamental objects "Object", "Function", @@ -62331,7 +62337,7 @@ const y_ = "[A-Za-z$_][0-9A-Za-z$_]*", hM = [ "Intl", // WebAssembly "WebAssembly" -], eh = [ +], ig = [ "Error", "EvalError", "InternalError", @@ -62340,7 +62346,7 @@ const y_ = "[A-Za-z$_][0-9A-Za-z$_]*", hM = [ "SyntaxError", "TypeError", "URIError" -], th = [ +], og = [ "setInterval", "setTimeout", "clearInterval", @@ -62358,7 +62364,7 @@ const y_ = "[A-Za-z$_][0-9A-Za-z$_]*", hM = [ "encodeURIComponent", "escape", "unescape" -], SM = [ +], NM = [ "arguments", "this", "super", @@ -62370,16 +62376,16 @@ const y_ = "[A-Za-z$_][0-9A-Za-z$_]*", hM = [ "module", "global" // Node.js -], bM = [].concat( - th, - Jg, - eh +], AM = [].concat( + og, + rg, + ig ); -function TM(t) { +function IM(t) { const e = t.regex, n = (v, { after: A }) => { const k = "", end: "" }, o = /<[A-Za-z0-9\\._:-]+\s*\/>/, a = { @@ -62415,11 +62421,11 @@ function TM(t) { } } }, s = { - $pattern: y_, - keyword: hM, - literal: EM, - built_in: bM, - "variable.language": SM + $pattern: O_, + keyword: RM, + literal: OM, + built_in: AM, + "variable.language": NM }, l = "[0-9](_?[0-9])*", c = `\\.(${l})`, u = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", d = { className: "number", variants: [ @@ -62480,7 +62486,7 @@ function TM(t) { ], subLanguage: "graphql" } - }, g = { + }, h = { className: "string", begin: "`", end: "`", @@ -62539,7 +62545,7 @@ function TM(t) { _, m, f, - g, + h, // Skip numbers when they are part of a variable name { match: /\$\d+/ }, d @@ -62557,13 +62563,13 @@ function TM(t) { "self" ].concat(b) }); - const h = [].concat(S, p.contains), C = h.concat([ + const g = [].concat(S, p.contains), C = g.concat([ // eat recursive parens in sub expressions { begin: /\(/, end: /\)/, keywords: s, - contains: ["self"].concat(h) + contains: ["self"].concat(g) } ]), T = { className: "params", @@ -62626,8 +62632,8 @@ function TM(t) { keywords: { _: [ // se we still get relevance credit for JS library classes - ...Jg, - ...eh + ...rg, + ...ig ] } }, O = { @@ -62672,7 +62678,7 @@ function TM(t) { match: e.concat( /\b/, Y([ - ...th, + ...og, "super", "import" ]), @@ -62747,7 +62753,7 @@ function TM(t) { _, m, f, - g, + h, S, // Skip numbers when they are part of a variable name { match: /\$\d+/ }, @@ -62882,7 +62888,7 @@ function TM(t) { ] }; } -function CM(t) { +function xM(t) { const e = { className: "attr", begin: /"(\\.|[^\\"\r\n])*"(?=\s*:)/, @@ -62916,22 +62922,22 @@ function CM(t) { illegal: "\\S" }; } -var Gr = "[0-9](_*[0-9])*", $o = `\\.(${Gr})`, qo = "[0-9a-fA-F](_*[0-9a-fA-F])*", yM = { +var Gr = "[0-9](_*[0-9])*", Wo = `\\.(${Gr})`, Ko = "[0-9a-fA-F](_*[0-9a-fA-F])*", DM = { className: "number", variants: [ // DecimalFloatingPointLiteral // including ExponentPart - { begin: `(\\b(${Gr})((${$o})|\\.)?|(${$o}))[eE][+-]?(${Gr})[fFdD]?\\b` }, + { begin: `(\\b(${Gr})((${Wo})|\\.)?|(${Wo}))[eE][+-]?(${Gr})[fFdD]?\\b` }, // excluding ExponentPart - { begin: `\\b(${Gr})((${$o})[fFdD]?\\b|\\.([fFdD]\\b)?)` }, - { begin: `(${$o})[fFdD]?\\b` }, + { begin: `\\b(${Gr})((${Wo})[fFdD]?\\b|\\.([fFdD]\\b)?)` }, + { begin: `(${Wo})[fFdD]?\\b` }, { begin: `\\b(${Gr})[fFdD]\\b` }, // HexadecimalFloatingPointLiteral - { begin: `\\b0[xX]((${qo})\\.?|(${qo})?\\.(${qo}))[pP][+-]?(${Gr})[fFdD]?\\b` }, + { begin: `\\b0[xX]((${Ko})\\.?|(${Ko})?\\.(${Ko}))[pP][+-]?(${Gr})[fFdD]?\\b` }, // DecimalIntegerLiteral { begin: "\\b(0|[1-9](_*[0-9])*)[lL]?\\b" }, // HexIntegerLiteral - { begin: `\\b0[xX](${qo})[lL]?\\b` }, + { begin: `\\b0[xX](${Ko})[lL]?\\b` }, // OctalIntegerLiteral { begin: "\\b0(_*[0-7])*[lL]?\\b" }, // BinaryIntegerLiteral @@ -62939,7 +62945,7 @@ var Gr = "[0-9](_*[0-9])*", $o = `\\.(${Gr})`, qo = "[0-9a-fA-F](_*[0-9a-fA-F])* ], relevance: 0 }; -function vM(t) { +function MM(t) { const e = { keyword: "abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual", built_in: "Byte Short Char Int Long Boolean Float Double Void Unit Nothing", @@ -63013,7 +63019,7 @@ function vM(t) { ] } ] - }, c = yM, u = t.COMMENT( + }, c = DM, u = t.COMMENT( "/\\*", "\\*/", { contains: [t.C_BLOCK_COMMENT_MODE] } @@ -63155,7 +63161,7 @@ function vM(t) { ] }; } -const RM = (t) => ({ +const wM = (t) => ({ IMPORTANT: { scope: "meta", begin: "!important" @@ -63188,7 +63194,7 @@ const RM = (t) => ({ className: "attr", begin: /--[A-Za-z_][A-Za-z0-9_-]*/ } -}), OM = [ +}), LM = [ "a", "abbr", "address", @@ -63261,7 +63267,7 @@ const RM = (t) => ({ "ul", "var", "video" -], NM = [ +], kM = [ "any-hover", "any-pointer", "aspect-ratio", @@ -63296,7 +63302,7 @@ const RM = (t) => ({ "max-width", "min-height", "max-height" -], nh = [ +], ag = [ "active", "any-link", "blank", @@ -63370,7 +63376,7 @@ const RM = (t) => ({ "visited", "where" // where() -], rh = [ +], sg = [ "after", "backdrop", "before", @@ -63385,7 +63391,7 @@ const RM = (t) => ({ "selection", "slotted", "spelling-error" -], AM = [ +], PM = [ "align-content", "align-items", "align-self", @@ -63747,24 +63753,24 @@ const RM = (t) => ({ "z-index" // reverse makes sure longer attributes `font-weight` are matched fully // instead of getting false positives on say `font` -].reverse(), IM = nh.concat(rh); -function xM(t) { - const e = RM(t), n = IM, r = "and or not only", i = "[\\w-]+", o = "(" + i + "|@\\{" + i + "\\})", a = [], s = [], l = function(b) { +].reverse(), FM = ag.concat(sg); +function BM(t) { + const e = wM(t), n = FM, r = "and or not only", i = "[\\w-]+", o = "(" + i + "|@\\{" + i + "\\})", a = [], s = [], l = function(b) { return { // Less strings are not multiline (also include '~' for more consistent coloring of "escaped" strings) className: "string", begin: "~?" + b + ".*?" + b }; - }, c = function(b, h, C) { + }, c = function(b, g, C) { return { className: b, - begin: h, + begin: g, relevance: C }; }, u = { $pattern: /[a-z-]+/, keyword: r, - attribute: NM.join(" ") + attribute: kM.join(" ") }, d = { // used only to properly balance nested parens inside mixin call, def. arg list begin: "\\(", @@ -63825,7 +63831,7 @@ function xM(t) { e.CSS_VARIABLE, { className: "attribute", - begin: "\\b(" + AM.join("|") + ")\\b", + begin: "\\b(" + PM.join("|") + ")\\b", end: /(?=:)/, starts: { endsWithParent: !0, @@ -63845,7 +63851,7 @@ function xM(t) { contains: s, relevance: 0 } - }, g = { + }, h = { className: "variable", variants: [ // using more strict pattern for higher relevance to increase chances of Less detection. @@ -63890,7 +63896,7 @@ function xM(t) { c("variable", "@\\{" + i + "\\}"), // otherwise it’s identified as tag { - begin: "\\b(" + OM.join("|") + ")\\b", + begin: "\\b(" + LM.join("|") + ")\\b", className: "selector-tag" }, e.CSS_NUMBER_MODE, @@ -63901,11 +63907,11 @@ function xM(t) { e.ATTRIBUTE_SELECTOR_MODE, { className: "selector-pseudo", - begin: ":(" + nh.join("|") + ")" + begin: ":(" + ag.join("|") + ")" }, { className: "selector-pseudo", - begin: ":(:)?(" + rh.join("|") + ")" + begin: ":(:)?(" + sg.join("|") + ")" }, { begin: /\(/, @@ -63927,7 +63933,7 @@ function xM(t) { t.C_LINE_COMMENT_MODE, t.C_BLOCK_COMMENT_MODE, f, - g, + h, S, m, E, @@ -63940,7 +63946,7 @@ function xM(t) { contains: a }; } -function DM(t) { +function UM(t) { const e = "\\[=*\\[", n = "\\]=*\\]", r = { begin: e, end: n, @@ -63995,7 +64001,7 @@ function DM(t) { ]) }; } -function MM(t) { +function HM(t) { const e = { className: "variable", variants: [ @@ -64055,7 +64061,7 @@ function MM(t) { ] }; } -function wM(t) { +function GM(t) { const e = t.regex, n = { begin: /<\/?[A-Za-z_]/, end: ">", @@ -64215,8 +64221,8 @@ function wM(t) { u, d, p - ].forEach((g) => { - g.contains = g.contains.concat(_); + ].forEach((h) => { + h.contains = h.contains.concat(_); }), _ = _.concat(c, u), { name: "Markdown", aliases: [ @@ -64263,7 +64269,7 @@ function wM(t) { ] }; } -function LM(t) { +function VM(t) { const e = { className: "built_in", begin: "\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+" @@ -64497,7 +64503,7 @@ function LM(t) { ] }; } -function kM(t) { +function YM(t) { const e = t.regex, n = [ "abs", "accept", @@ -64768,12 +64774,12 @@ function kM(t) { /#/ // valid but infrequent and weird ], u = (_, m, f = "\\1") => { - const g = f === "\\1" ? f : e.concat(f, m); + const h = f === "\\1" ? f : e.concat(f, m); return e.concat( e.concat("(?:", _, ")"), m, /(?:\\.|[^\\\/])*?/, - g, + h, /(?:\\.|[^\\\/])*?/, f, r @@ -64931,7 +64937,7 @@ function kM(t) { contains: p }; } -function PM(t) { +function zM(t) { const e = t.regex, n = /(?![A-Za-z0-9])(?![$])/, r = e.concat( /[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/, n @@ -65003,7 +65009,7 @@ function PM(t) { "false", "null", "true" - ], g = [ + ], h = [ // Magic constants: // "__CLASS__", @@ -65199,7 +65205,7 @@ function PM(t) { "static", "stdClass" ], b = { - keyword: g, + keyword: h, literal: (($) => { const q = []; return $.forEach((V) => { @@ -65207,13 +65213,13 @@ function PM(t) { }), q; })(f), built_in: E - }, h = ($) => $.map((q) => q.replace(/\|\d+$/, "")), C = { variants: [ + }, g = ($) => $.map((q) => q.replace(/\|\d+$/, "")), C = { variants: [ { match: [ /new/, e.concat(p, "+"), // to prevent built ins from being confused as the class constructor call - e.concat("(?!", h(E).join("\\b|"), "\\b)"), + e.concat("(?!", g(E).join("\\b|"), "\\b)"), i ], scope: { @@ -65296,7 +65302,7 @@ function PM(t) { match: [ /\b/, // to prevent keywords from being confused as the function title - e.concat("(?!fn\\b|function\\b|", h(g).join("\\b|"), "|", h(E).join("\\b|"), "\\b)"), + e.concat("(?!fn\\b|function\\b|", g(h).join("\\b|"), "|", g(E).join("\\b|"), "\\b)"), r, e.concat(p, "*"), e.lookahead(/(?=\()/) @@ -65481,7 +65487,7 @@ function PM(t) { ] }; } -function FM(t) { +function $M(t) { return { name: "PHP template", subLanguage: "xml", @@ -65525,7 +65531,7 @@ function FM(t) { ] }; } -function BM(t) { +function qM(t) { return { name: "Plain text", aliases: [ @@ -65535,7 +65541,7 @@ function BM(t) { disableAutodetect: !0 }; } -function UM(t) { +function WM(t) { const e = t.regex, n = new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*", "u"), r = [ "and", "as", @@ -65805,7 +65811,7 @@ function UM(t) { begin: `\\b(${p})[jJ](?=${m})` } ] - }, g = { + }, h = { className: "comment", begin: e.lookahead(/# type:/), end: /$/, @@ -65875,7 +65881,7 @@ function UM(t) { relevance: 0 }, d, - g, + h, t.HASH_COMMENT_MODE, { match: [ @@ -65929,7 +65935,7 @@ function UM(t) { ] }; } -function HM(t) { +function KM(t) { return { aliases: ["pycon"], contains: [ @@ -65952,7 +65958,7 @@ function HM(t) { ] }; } -function GM(t) { +function QM(t) { const e = t.regex, n = /(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/, r = e.either( // Special case: only hexadecimal binary powers can contain fractions /0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/, @@ -66156,7 +66162,7 @@ function GM(t) { ] }; } -function VM(t) { +function ZM(t) { const e = t.regex, n = "([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)", r = e.either( /\b([A-Z]+[a-z0-9]+)+/, // ends in caps @@ -66541,7 +66547,7 @@ function VM(t) { contains: [t.SHEBANG({ binary: "ruby" })].concat(M).concat(c).concat(T) }; } -function YM(t) { +function XM(t) { const e = t.regex, n = { className: "title.function.invoke", relevance: 0, @@ -66829,7 +66835,7 @@ function YM(t) { ] }; } -const zM = (t) => ({ +const jM = (t) => ({ IMPORTANT: { scope: "meta", begin: "!important" @@ -66862,7 +66868,7 @@ const zM = (t) => ({ className: "attr", begin: /--[A-Za-z_][A-Za-z0-9_-]*/ } -}), $M = [ +}), JM = [ "a", "abbr", "address", @@ -66935,7 +66941,7 @@ const zM = (t) => ({ "ul", "var", "video" -], qM = [ +], ew = [ "any-hover", "any-pointer", "aspect-ratio", @@ -66970,7 +66976,7 @@ const zM = (t) => ({ "max-width", "min-height", "max-height" -], WM = [ +], tw = [ "active", "any-link", "blank", @@ -67044,7 +67050,7 @@ const zM = (t) => ({ "visited", "where" // where() -], KM = [ +], nw = [ "after", "backdrop", "before", @@ -67059,7 +67065,7 @@ const zM = (t) => ({ "selection", "slotted", "spelling-error" -], QM = [ +], rw = [ "align-content", "align-items", "align-self", @@ -67422,8 +67428,8 @@ const zM = (t) => ({ // reverse makes sure longer attributes `font-weight` are matched fully // instead of getting false positives on say `font` ].reverse(); -function ZM(t) { - const e = zM(t), n = KM, r = WM, i = "@[a-z-]+", o = "and or not only", s = { +function iw(t) { + const e = jM(t), n = nw, r = tw, i = "@[a-z-]+", o = "and or not only", s = { className: "variable", begin: "(\\$" + "[a-zA-Z-][a-zA-Z0-9_-]*" + ")\\b", relevance: 0 @@ -67451,7 +67457,7 @@ function ZM(t) { e.ATTRIBUTE_SELECTOR_MODE, { className: "selector-tag", - begin: "\\b(" + $M.join("|") + ")\\b", + begin: "\\b(" + JM.join("|") + ")\\b", // was there, before, but why? relevance: 0 }, @@ -67473,7 +67479,7 @@ function ZM(t) { e.CSS_VARIABLE, { className: "attribute", - begin: "\\b(" + QM.join("|") + ")\\b" + begin: "\\b(" + rw.join("|") + ")\\b" }, { begin: "\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b" }, { @@ -67508,7 +67514,7 @@ function ZM(t) { keywords: { $pattern: /[a-z-]+/, keyword: o, - attribute: qM.join(" ") + attribute: ew.join(" ") }, contains: [ { @@ -67530,7 +67536,7 @@ function ZM(t) { ] }; } -function XM(t) { +function ow(t) { return { name: "Shell Session", aliases: [ @@ -67552,7 +67558,7 @@ function XM(t) { ] }; } -function jM(t) { +function aw(t) { const e = t.regex, n = t.COMMENT("--", "$"), r = { className: "string", variants: [ @@ -68107,7 +68113,7 @@ function jM(t) { ].filter((b) => !u.includes(b)), f = { className: "variable", begin: /@[a-z0-9][a-z0-9_]*/ - }, g = { + }, h = { className: "operator", begin: /[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/, relevance: 0 @@ -68117,11 +68123,11 @@ function jM(t) { keywords: { built_in: _ } }; function S(b, { - exceptions: h, + exceptions: g, when: C } = {}) { const T = C; - return h = h || [], b.map((R) => R.match(/\|\d+$/) || h.includes(R) ? R : T(R) ? `${R}|0` : R); + return g = g || [], b.map((R) => R.match(/\|\d+$/) || g.includes(R) ? R : T(R) ? `${R}|0` : R); } return { name: "SQL", @@ -68157,42 +68163,42 @@ function jM(t) { t.C_NUMBER_MODE, t.C_BLOCK_COMMENT_MODE, n, - g + h ] }; } -function ih(t) { +function lg(t) { return t ? typeof t == "string" ? t : t.source : null; } -function Wo(t) { +function Qo(t) { return ye("(?=", t, ")"); } function ye(...t) { - return t.map((n) => ih(n)).join(""); + return t.map((n) => lg(n)).join(""); } -function JM(t) { +function sw(t) { const e = t[t.length - 1]; return typeof e == "object" && e.constructor === Object ? (t.splice(t.length - 1, 1), e) : {}; } function ut(...t) { - return "(" + (JM(t).capture ? "" : "?:") + t.map((r) => ih(r)).join("|") + ")"; + return "(" + (sw(t).capture ? "" : "?:") + t.map((r) => lg(r)).join("|") + ")"; } -const mu = (t) => ye( +const gu = (t) => ye( /\b/, t, /\w$/.test(t) ? /\b/ : /\B/ -), ew = [ +), lw = [ "Protocol", // contextual "Type" // contextual -].map(mu), v_ = [ +].map(gu), N_ = [ "init", "self" -].map(mu), tw = [ +].map(gu), cw = [ "Any", "Self" -], fl = [ +], gl = [ // strings below will be fed into the regular `keywords` engine while regex // will result in additional modes being created to scan for those keywords to // avoid conflicts with other rules @@ -68327,11 +68333,11 @@ const mu = (t) => ye( "while", "willSet" // contextual -], R_ = [ +], A_ = [ "false", "nil", "true" -], nw = [ +], uw = [ "assignment", "associativity", "higherThan", @@ -68339,7 +68345,7 @@ const mu = (t) => ye( "lowerThan", "none", "right" -], rw = [ +], dw = [ "#colorLiteral", "#column", "#dsohandle", @@ -68359,7 +68365,7 @@ const mu = (t) => ye( "#selector", "#sourceLocation", "#warning" -], O_ = [ +], I_ = [ "abs", "all", "any", @@ -68394,7 +68400,7 @@ const mu = (t) => ye( "withVaList", "withoutActuallyEscaping", "zip" -], oh = ut( +], cg = ut( /[/=\-+!*%<>&|^~?]/, /[\u00A1-\u00A7]/, /[\u00A9\u00AB]/, @@ -68413,8 +68419,8 @@ const mu = (t) => ye( /[\u3001-\u3003]/, /[\u3008-\u3020]/, /[\u3030]/ -), ah = ut( - oh, +), ug = ut( + cg, /[\u0300-\u036F]/, /[\u1DC0-\u1DFF]/, /[\u20D0-\u20FF]/, @@ -68422,7 +68428,7 @@ const mu = (t) => ye( /[\uFE20-\uFE2F]/ // TODO: The following characters are also allowed, but the regex isn't supported yet. // /[\u{E0100}-\u{E01EF}]/u -), gl = ye(oh, ah, "*"), sh = ut( +), El = ye(cg, ug, "*"), dg = ut( /[a-zA-Z_]/, /[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/, /[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/, @@ -68440,11 +68446,11 @@ const mu = (t) => ye( // /[\u{50000}-\u{5FFFD}\u{60000-\u{6FFFD}\u{70000}-\u{7FFFD}\u{80000}-\u{8FFFD}]/u, // /[\u{90000}-\u{9FFFD}\u{A0000-\u{AFFFD}\u{B0000}-\u{BFFFD}\u{C0000}-\u{CFFFD}]/u, // /[\u{D0000}-\u{DFFFD}\u{E0000-\u{EFFFD}]/u -), za = ut( - sh, +), qa = ut( + dg, /\d/, /[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/ -), dn = ye(sh, za, "*"), hl = ye(/[A-Z]/, za, "*"), iw = [ +), dn = ye(dg, qa, "*"), Sl = ye(/[A-Z]/, qa, "*"), pw = [ "attached", "autoclosure", ye(/convention\(/, ut("swift", "block", "c"), /\)/), @@ -68479,7 +68485,7 @@ const mu = (t) => ye( "unknown", "usableFromInline", "warn_unqualified_access" -], ow = [ +], _w = [ "iOS", "iOSApplicationExtension", "macOS", @@ -68492,7 +68498,7 @@ const mu = (t) => ye( "tvOSApplicationExtension", "swift" ]; -function aw(t) { +function mw(t) { const e = { match: /\s+/, relevance: 0 @@ -68506,17 +68512,17 @@ function aw(t) { ], i = { match: [ /\./, - ut(...ew, ...v_) + ut(...lw, ...N_) ], className: { 2: "keyword" } }, o = { // Consume .keyword to prevent highlighting properties and methods as keywords. - match: ye(/\./, ut(...fl)), + match: ye(/\./, ut(...gl)), relevance: 0 - }, a = fl.filter((de) => typeof de == "string").concat(["_|0"]), s = fl.filter((de) => typeof de != "string").concat(tw).map(mu), l = { variants: [ + }, a = gl.filter((de) => typeof de == "string").concat(["_|0"]), s = gl.filter((de) => typeof de != "string").concat(cw).map(gu), l = { variants: [ { className: "keyword", - match: ut(...s, ...v_) + match: ut(...s, ...N_) } ] }, c = { $pattern: ut( @@ -68525,19 +68531,19 @@ function aw(t) { /#\w+/ // number keywords ), - keyword: a.concat(rw), - literal: R_ + keyword: a.concat(dw), + literal: A_ }, u = [ i, o, l ], d = { // Consume .built_in to prevent highlighting properties and methods. - match: ye(/\./, ut(...O_)), + match: ye(/\./, ut(...I_)), relevance: 0 }, p = { className: "built_in", - match: ye(/\b/, ut(...O_), /(?=\()/) + match: ye(/\b/, ut(...I_), /(?=\()/) }, _ = [ d, p @@ -68549,15 +68555,15 @@ function aw(t) { className: "operator", relevance: 0, variants: [ - { match: gl }, + { match: El }, { // dot-operator: only operators that start with a dot are allowed to use dots as // characters (..., ...<, .*, etc). So there rule here is: a dot followed by one or more // characters that may also include dots. - match: `\\.(\\.|${ah})+` + match: `\\.(\\.|${ug})+` } ] - }, g = [ + }, h = [ m, f ], E = "([0-9]_*)+", S = "([0-9a-fA-F]_*)+", b = { @@ -68573,7 +68579,7 @@ function aw(t) { // binary-literal { match: /\b0b([01]_*)+\b/ } ] - }, h = (de = "") => ({ + }, g = (de = "") => ({ className: "subst", variants: [ { match: ye(/\\/, de, /[0\\tnr"']/) }, @@ -68591,7 +68597,7 @@ function aw(t) { begin: ye(de, /"""/), end: ye(/"""/, de), contains: [ - h(de), + g(de), C(de), T(de) ] @@ -68599,7 +68605,7 @@ function aw(t) { begin: ye(de, /"/), end: ye(/"/, de), contains: [ - h(de), + g(de), T(de) ] }), O = { @@ -68653,7 +68659,7 @@ function aw(t) { match: /\$\d+/ }, J = { className: "variable", - match: `\\$${za}+` + match: `\\$${qa}+` }, y = [ q, V, @@ -68665,9 +68671,9 @@ function aw(t) { { begin: /\(/, end: /\)/, - keywords: ow, + keywords: _w, contains: [ - ...g, + ...h, b, O ] @@ -68675,7 +68681,7 @@ function aw(t) { ] } }, A = { scope: "keyword", - match: ye(/@/, ut(...iw)) + match: ye(/@/, ut(...pw)) }, k = { scope: "meta", match: ye(/@/, dn) @@ -68684,18 +68690,18 @@ function aw(t) { A, k ], z = { - match: Wo(/\b[A-Z]/), + match: Qo(/\b[A-Z]/), relevance: 0, contains: [ { // Common Apple frameworks, for relevance boost className: "type", - match: ye(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/, za, "+") + match: ye(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/, qa, "+") }, { // Type identifier className: "type", - match: hl, + match: Sl, relevance: 0 }, { @@ -68710,7 +68716,7 @@ function aw(t) { }, { // Protocol composition - match: ye(/\s+&\s+/, Wo(hl)), + match: ye(/\s+&\s+/, Qo(Sl)), relevance: 0 } ] @@ -68743,7 +68749,7 @@ function aw(t) { $, ...u, ..._, - ...g, + ...h, b, O, ...y, @@ -68760,8 +68766,8 @@ function aw(t) { ] }, Be = { begin: ut( - Wo(ye(dn, /\s*:/)), - Wo(ye(dn, /\s+/, dn, /\s*:/)) + Qo(ye(dn, /\s*:/)), + Qo(ye(dn, /\s+/, dn, /\s*:/)) ), end: /:/, relevance: 0, @@ -68783,7 +68789,7 @@ function aw(t) { Be, ...r, ...u, - ...g, + ...h, b, O, ...G, @@ -68796,7 +68802,7 @@ function aw(t) { match: [ /(func|macro)/, /\s+/, - ut(q.match, dn, gl) + ut(q.match, dn, El) ], className: { 1: "keyword", @@ -68823,11 +68829,11 @@ function aw(t) { e ], illegal: /\[|%/ - }, ht = { + }, gt = { match: [ /operator/, /\s+/, - gl + El ], className: { 1: "keyword", @@ -68837,7 +68843,7 @@ function aw(t) { begin: [ /precedencegroup/, /\s+/, - hl + Sl ], className: { 1: "keyword", @@ -68845,18 +68851,18 @@ function aw(t) { }, contains: [z], keywords: [ - ...nw, - ...R_ + ...uw, + ...A_ ], end: /}/ }; for (const de of O.variants) { - const Pe = de.contains.find((he) => he.label === "interpol"); + const Pe = de.contains.find((ge) => ge.label === "interpol"); Pe.keywords = c; const Qe = [ ...u, ..._, - ...g, + ...h, b, O, ...y @@ -68893,7 +68899,7 @@ function aw(t) { ...u ] }, - ht, + gt, Ft, { beginKeywords: "import", @@ -68904,7 +68910,7 @@ function aw(t) { $, ...u, ..._, - ...g, + ...h, b, O, ...y, @@ -68914,7 +68920,7 @@ function aw(t) { ] }; } -const $a = "[A-Za-z$_][0-9A-Za-z$_]*", lh = [ +const Wa = "[A-Za-z$_][0-9A-Za-z$_]*", pg = [ "as", // for exports "in", @@ -68957,14 +68963,14 @@ const $a = "[A-Za-z$_][0-9A-Za-z$_]*", lh = [ "from", "export", "extends" -], ch = [ +], _g = [ "true", "false", "null", "undefined", "NaN", "Infinity" -], uh = [ +], mg = [ // Fundamental objects "Object", "Function", @@ -69014,7 +69020,7 @@ const $a = "[A-Za-z$_][0-9A-Za-z$_]*", lh = [ "Intl", // WebAssembly "WebAssembly" -], dh = [ +], fg = [ "Error", "EvalError", "InternalError", @@ -69023,7 +69029,7 @@ const $a = "[A-Za-z$_][0-9A-Za-z$_]*", lh = [ "SyntaxError", "TypeError", "URIError" -], ph = [ +], hg = [ "setInterval", "setTimeout", "clearInterval", @@ -69041,7 +69047,7 @@ const $a = "[A-Za-z$_][0-9A-Za-z$_]*", lh = [ "encodeURIComponent", "escape", "unescape" -], _h = [ +], gg = [ "arguments", "this", "super", @@ -69053,16 +69059,16 @@ const $a = "[A-Za-z$_][0-9A-Za-z$_]*", lh = [ "module", "global" // Node.js -], mh = [].concat( - ph, - uh, - dh +], Eg = [].concat( + hg, + mg, + fg ); -function sw(t) { +function fw(t) { const e = t.regex, n = (v, { after: A }) => { const k = "", end: "" }, o = /<[A-Za-z0-9\\._:-]+\s*\/>/, a = { @@ -69098,11 +69104,11 @@ function sw(t) { } } }, s = { - $pattern: $a, - keyword: lh, - literal: ch, - built_in: mh, - "variable.language": _h + $pattern: Wa, + keyword: pg, + literal: _g, + built_in: Eg, + "variable.language": gg }, l = "[0-9](_?[0-9])*", c = `\\.(${l})`, u = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", d = { className: "number", variants: [ @@ -69163,7 +69169,7 @@ function sw(t) { ], subLanguage: "graphql" } - }, g = { + }, h = { className: "string", begin: "`", end: "`", @@ -69222,7 +69228,7 @@ function sw(t) { _, m, f, - g, + h, // Skip numbers when they are part of a variable name { match: /\$\d+/ }, d @@ -69240,13 +69246,13 @@ function sw(t) { "self" ].concat(b) }); - const h = [].concat(S, p.contains), C = h.concat([ + const g = [].concat(S, p.contains), C = g.concat([ // eat recursive parens in sub expressions { begin: /\(/, end: /\)/, keywords: s, - contains: ["self"].concat(h) + contains: ["self"].concat(g) } ]), T = { className: "params", @@ -69309,8 +69315,8 @@ function sw(t) { keywords: { _: [ // se we still get relevance credit for JS library classes - ...uh, - ...dh + ...mg, + ...fg ] } }, O = { @@ -69355,7 +69361,7 @@ function sw(t) { match: e.concat( /\b/, Y([ - ...ph, + ...hg, "super", "import" ]), @@ -69430,7 +69436,7 @@ function sw(t) { _, m, f, - g, + h, S, // Skip numbers when they are part of a variable name { match: /\$\d+/ }, @@ -69565,8 +69571,8 @@ function sw(t) { ] }; } -function lw(t) { - const e = sw(t), n = $a, r = [ +function hw(t) { + const e = fw(t), n = Wa, r = [ "any", "void", "number", @@ -69609,16 +69615,16 @@ function lw(t) { "enum", "override" ], l = { - $pattern: $a, - keyword: lh.concat(s), - literal: ch, - built_in: mh.concat(r), - "variable.language": _h + $pattern: Wa, + keyword: pg.concat(s), + literal: _g, + built_in: Eg.concat(r), + "variable.language": gg }, c = { className: "meta", begin: "@" + n }, u = (p, _, m) => { - const f = p.contains.findIndex((g) => g.label === _); + const f = p.contains.findIndex((h) => h.label === _); if (f === -1) throw new Error("can not find mode to replace"); p.contains.splice(f, 1, m); @@ -69639,7 +69645,7 @@ function lw(t) { ] }), e; } -function cw(t) { +function gw(t) { const e = t.regex, n = { className: "string", begin: /"(""|[^/n])"C\b/ @@ -69758,7 +69764,7 @@ function cw(t) { ] }; } -function uw(t) { +function Ew(t) { t.regex; const e = t.COMMENT(/\(;/, /;\)/); e.contains.push("self"); @@ -69869,7 +69875,7 @@ function uw(t) { ] }; } -function dw(t) { +function Sw(t) { const e = t.regex, n = e.concat(/[\p{L}_]/u, e.optional(/[\p{L}0-9_.-]*:/u), /[\p{L}0-9_.-]*/u), r = /[\p{L}0-9._:-]+/u, i = { className: "symbol", begin: /&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/ @@ -70085,7 +70091,7 @@ function dw(t) { ] }; } -function pw(t) { +function bw(t) { const e = "true false yes no null", n = "[\\w#;/?:@&=+$,.~*'()[\\]]+", r = { className: "attr", variants: [ @@ -70241,221 +70247,221 @@ function pw(t) { _, m, o - ], g = [...f]; - return g.pop(), g.push(a), p.contains = g, { + ], h = [...f]; + return h.pop(), h.push(a), p.contains = h, { name: "YAML", case_insensitive: !0, aliases: ["yml"], contains: f }; } -const _w = { - arduino: eM, - bash: tM, - c: nM, - cpp: rM, - csharp: iM, - css: dM, - diff: pM, - go: _M, - graphql: mM, - ini: fM, - java: gM, - javascript: TM, - json: CM, - kotlin: vM, - less: xM, - lua: DM, - makefile: MM, - markdown: wM, - objectivec: LM, - perl: kM, - php: PM, - "php-template": FM, - plaintext: BM, - python: UM, - "python-repl": HM, - r: GM, - ruby: VM, - rust: YM, - scss: ZM, - shell: XM, - sql: jM, - swift: aw, - typescript: lw, - vbnet: cw, - wasm: uw, - xml: dw, - yaml: pw -}, mw = { - ..._w, - "1c": UA, - abnf: HA, - accesslog: GA, - actionscript: VA, - ada: YA, - angelscript: zA, - apache: $A, - applescript: qA, - arcade: WA, - armasm: KA, - asciidoc: QA, - aspectj: ZA, - autohotkey: XA, - autoit: jA, - avrasm: JA, - awk: eI, - axapta: tI, - basic: nI, - bnf: rI, - brainfuck: iI, - cal: oI, - capnproto: aI, - ceylon: sI, - clean: lI, - clojure: cI, - "clojure-repl": uI, - cmake: dI, - coffeescript: EI, - coq: SI, - cos: bI, - crmsh: TI, - crystal: CI, - csp: yI, - d: vI, - dart: RI, - delphi: OI, - django: NI, - dns: AI, - dockerfile: II, - dos: xI, - dsconfig: DI, - dts: MI, - dust: wI, - ebnf: LI, - elixir: kI, - elm: PI, - erb: FI, - erlang: BI, - "erlang-repl": UI, - excel: HI, - fix: GI, - flix: VI, - fortran: YI, - fsharp: qI, - gams: WI, - gauss: KI, - gcode: QI, - gherkin: ZI, - glsl: XI, - gml: jI, - golo: JI, - gradle: ex, - groovy: tx, - haml: nx, - handlebars: rx, - haskell: ix, - haxe: ox, - hsp: ax, - http: sx, - hy: lx, - inform7: cx, - irpf90: ux, - isbl: dx, - "jboss-cli": px, - julia: _x, - "julia-repl": mx, - lasso: fx, - latex: gx, - ldif: hx, - leaf: Ex, - lisp: Sx, - livecodeserver: bx, - livescript: Nx, - llvm: Ax, - lsl: Ix, - mathematica: Dx, - matlab: Mx, - maxima: wx, - mel: Lx, - mercury: kx, - mipsasm: Px, - mizar: Fx, - mojolicious: Bx, - monkey: Ux, - moonscript: Hx, - n1ql: Gx, - nestedtext: Vx, - nginx: Yx, - nim: zx, - nix: $x, - "node-repl": qx, - nsis: Wx, - ocaml: Kx, - openscad: Qx, - oxygene: Zx, - parser3: Xx, - pf: jx, - pgsql: Jx, - pony: eD, - powershell: tD, - processing: nD, - profile: rD, - prolog: iD, - properties: oD, - protobuf: aD, - puppet: sD, - purebasic: lD, - q: cD, - qml: uD, - reasonml: dD, - rib: pD, - roboconf: _D, - routeros: mD, - rsl: fD, - ruleslanguage: gD, - sas: hD, - scala: ED, - scheme: SD, - scilab: bD, - smali: TD, - smalltalk: CD, - sml: yD, - sqf: vD, - stan: RD, - stata: OD, - step21: ND, - stylus: LD, - subunit: kD, - taggerscript: PD, - tap: FD, - tcl: BD, - thrift: UD, - tp: HD, - twig: GD, - vala: VD, - vbscript: YD, - "vbscript-html": zD, - verilog: $D, - vhdl: qD, - vim: WD, - wren: KD, - x86asm: QD, - xl: ZD, - xquery: XD, - zephir: jD +const Tw = { + arduino: lM, + bash: cM, + c: uM, + cpp: dM, + csharp: pM, + css: SM, + diff: bM, + go: TM, + graphql: CM, + ini: yM, + java: vM, + javascript: IM, + json: xM, + kotlin: MM, + less: BM, + lua: UM, + makefile: HM, + markdown: GM, + objectivec: VM, + perl: YM, + php: zM, + "php-template": $M, + plaintext: qM, + python: WM, + "python-repl": KM, + r: QM, + ruby: ZM, + rust: XM, + scss: iw, + shell: ow, + sql: aw, + swift: mw, + typescript: hw, + vbnet: gw, + wasm: Ew, + xml: Sw, + yaml: bw +}, Cw = { + ...Tw, + "1c": WA, + abnf: KA, + accesslog: QA, + actionscript: ZA, + ada: XA, + angelscript: jA, + apache: JA, + applescript: eI, + arcade: tI, + armasm: nI, + asciidoc: rI, + aspectj: iI, + autohotkey: oI, + autoit: aI, + avrasm: sI, + awk: lI, + axapta: cI, + basic: uI, + bnf: dI, + brainfuck: pI, + cal: _I, + capnproto: mI, + ceylon: fI, + clean: hI, + clojure: gI, + "clojure-repl": EI, + cmake: SI, + coffeescript: OI, + coq: NI, + cos: AI, + crmsh: II, + crystal: xI, + csp: DI, + d: MI, + dart: wI, + delphi: LI, + django: kI, + dns: PI, + dockerfile: FI, + dos: BI, + dsconfig: UI, + dts: HI, + dust: GI, + ebnf: VI, + elixir: YI, + elm: zI, + erb: $I, + erlang: qI, + "erlang-repl": WI, + excel: KI, + fix: QI, + flix: ZI, + fortran: XI, + fsharp: ex, + gams: tx, + gauss: nx, + gcode: rx, + gherkin: ix, + glsl: ox, + gml: ax, + golo: sx, + gradle: lx, + groovy: cx, + haml: ux, + handlebars: dx, + haskell: px, + haxe: _x, + hsp: mx, + http: fx, + hy: hx, + inform7: gx, + irpf90: Ex, + isbl: Sx, + "jboss-cli": bx, + julia: Tx, + "julia-repl": Cx, + lasso: yx, + latex: vx, + ldif: Rx, + leaf: Ox, + lisp: Nx, + livecodeserver: Ax, + livescript: kx, + llvm: Px, + lsl: Fx, + mathematica: Ux, + matlab: Hx, + maxima: Gx, + mel: Vx, + mercury: Yx, + mipsasm: zx, + mizar: $x, + mojolicious: qx, + monkey: Wx, + moonscript: Kx, + n1ql: Qx, + nestedtext: Zx, + nginx: Xx, + nim: jx, + nix: Jx, + "node-repl": eD, + nsis: tD, + ocaml: nD, + openscad: rD, + oxygene: iD, + parser3: oD, + pf: aD, + pgsql: sD, + pony: lD, + powershell: cD, + processing: uD, + profile: dD, + prolog: pD, + properties: _D, + protobuf: mD, + puppet: fD, + purebasic: hD, + q: gD, + qml: ED, + reasonml: SD, + rib: bD, + roboconf: TD, + routeros: CD, + rsl: yD, + ruleslanguage: vD, + sas: RD, + scala: OD, + scheme: ND, + scilab: AD, + smali: ID, + smalltalk: xD, + sml: DD, + sqf: MD, + stan: wD, + stata: LD, + step21: kD, + stylus: VD, + subunit: YD, + taggerscript: zD, + tap: $D, + tcl: qD, + thrift: WD, + tp: KD, + twig: QD, + vala: ZD, + vbscript: XD, + "vbscript-html": jD, + verilog: JD, + vhdl: eM, + vim: tM, + wren: nM, + x86asm: rM, + xl: iM, + xquery: oM, + zephir: aM }; -function fh(t) { +function Sg(t) { return t instanceof Map ? t.clear = t.delete = t.set = function() { throw new Error("map is read-only"); } : t instanceof Set && (t.add = t.clear = t.delete = function() { throw new Error("set is read-only"); }), Object.freeze(t), Object.getOwnPropertyNames(t).forEach((e) => { const n = t[e], r = typeof n; - (r === "object" || r === "function") && !Object.isFrozen(n) && fh(n); + (r === "object" || r === "function") && !Object.isFrozen(n) && Sg(n); }), t; } -class N_ { +class x_ { /** * @param {CompiledMode} mode */ @@ -70466,7 +70472,7 @@ class N_ { this.isMatchIgnored = !0; } } -function gh(t) { +function bg(t) { return t.replace(/&/g, "&").replace(//g, ">").replace(/"/g, """).replace(/'/g, "'"); } function kn(t, ...e) { @@ -70479,7 +70485,7 @@ function kn(t, ...e) { }), /** @type {T} */ n; } -const fw = "
", A_ = (t) => !!t.scope, gw = (t, { prefix: e }) => { +const yw = "", D_ = (t) => !!t.scope, vw = (t, { prefix: e }) => { if (t.startsWith("language:")) return t.replace("language:", "language-"); if (t.includes(".")) { @@ -70491,7 +70497,7 @@ const fw = "", A_ = (t) => !!t.scope, gw = (t, { prefix: e }) => { } return `${e}${t}`; }; -class hw { +class Rw { /** * Creates a new HTMLRenderer * @@ -70506,15 +70512,15 @@ class hw { * * @param {string} text */ addText(e) { - this.buffer += gh(e); + this.buffer += bg(e); } /** * Adds a node open to the output stream (if needed) * * @param {Node} node */ openNode(e) { - if (!A_(e)) return; - const n = gw( + if (!D_(e)) return; + const n = vw( e.scope, { prefix: this.classPrefix } ); @@ -70525,7 +70531,7 @@ class hw { * * @param {Node} node */ closeNode(e) { - A_(e) && (this.buffer += fw); + D_(e) && (this.buffer += yw); } /** * returns the accumulated buffer @@ -70542,13 +70548,13 @@ class hw { this.buffer += ``; } } -const I_ = (t = {}) => { +const M_ = (t = {}) => { const e = { children: [] }; return Object.assign(e, t), e; }; -class fu { +class Eu { constructor() { - this.rootNode = I_(), this.stack = [this.rootNode]; + this.rootNode = M_(), this.stack = [this.rootNode]; } get top() { return this.stack[this.stack.length - 1]; @@ -70562,7 +70568,7 @@ class fu { } /** @param {string} scope */ openNode(e) { - const n = I_({ scope: e }); + const n = M_({ scope: e }); this.add(n), this.stack.push(n); } closeNode() { @@ -70594,11 +70600,11 @@ class fu { */ static _collapse(e) { typeof e != "string" && e.children && (e.children.every((n) => typeof n == "string") ? e.children = [e.children.join("")] : e.children.forEach((n) => { - fu._collapse(n); + Eu._collapse(n); })); } } -class Ew extends fu { +class Ow extends Eu { /** * @param {*} options */ @@ -70627,50 +70633,50 @@ class Ew extends fu { n && (r.scope = `language:${n}`), this.add(r); } toHTML() { - return new hw(this, this.options).value(); + return new Rw(this, this.options).value(); } finalize() { return this.closeAllNodes(), !0; } } -function oo(t) { +function ao(t) { return t ? typeof t == "string" ? t : t.source : null; } -function hh(t) { +function Tg(t) { return vr("(?=", t, ")"); } -function Sw(t) { +function Nw(t) { return vr("(?:", t, ")*"); } -function bw(t) { +function Aw(t) { return vr("(?:", t, ")?"); } function vr(...t) { - return t.map((n) => oo(n)).join(""); + return t.map((n) => ao(n)).join(""); } -function Tw(t) { +function Iw(t) { const e = t[t.length - 1]; return typeof e == "object" && e.constructor === Object ? (t.splice(t.length - 1, 1), e) : {}; } -function gu(...t) { - return "(" + (Tw(t).capture ? "" : "?:") + t.map((r) => oo(r)).join("|") + ")"; +function Su(...t) { + return "(" + (Iw(t).capture ? "" : "?:") + t.map((r) => ao(r)).join("|") + ")"; } -function Eh(t) { +function Cg(t) { return new RegExp(t.toString() + "|").exec("").length - 1; } -function Cw(t, e) { +function xw(t, e) { const n = t && t.exec(e); return n && n.index === 0; } -const yw = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./; -function hu(t, { joinWith: e }) { +const Dw = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./; +function bu(t, { joinWith: e }) { let n = 0; return t.map((r) => { n += 1; const i = n; - let o = oo(r), a = ""; + let o = ao(r), a = ""; for (; o.length > 0; ) { - const s = yw.exec(o); + const s = Dw.exec(o); if (!s) { a += o; break; @@ -70680,7 +70686,7 @@ function hu(t, { joinWith: e }) { return a; }).map((r) => `(${r})`).join(e); } -const vw = /\b\B/, Sh = "[a-zA-Z]\\w*", Eu = "[a-zA-Z_]\\w*", bh = "\\b\\d+(\\.\\d+)?", Th = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", Ch = "\\b(0b[01]+)", Rw = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", Ow = (t = {}) => { +const Mw = /\b\B/, yg = "[a-zA-Z]\\w*", Tu = "[a-zA-Z_]\\w*", vg = "\\b\\d+(\\.\\d+)?", Rg = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", Og = "\\b(0b[01]+)", ww = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", Lw = (t = {}) => { const e = /^#![ ]*\//; return t.binary && (t.begin = vr( e, @@ -70697,24 +70703,24 @@ const vw = /\b\B/, Sh = "[a-zA-Z]\\w*", Eu = "[a-zA-Z_]\\w*", bh = "\\b\\d+(\\.\ n.index !== 0 && r.ignoreMatch(); } }, t); -}, ao = { +}, so = { begin: "\\\\[\\s\\S]", relevance: 0 -}, Nw = { +}, kw = { scope: "string", begin: "'", end: "'", illegal: "\\n", - contains: [ao] -}, Aw = { + contains: [so] +}, Pw = { scope: "string", begin: '"', end: '"', illegal: "\\n", - contains: [ao] -}, Iw = { + contains: [so] +}, Fw = { begin: /\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/ -}, ys = function(t, e, n = {}) { +}, Rs = function(t, e, n = {}) { const r = kn( { scope: "comment", @@ -70733,7 +70739,7 @@ const vw = /\b\B/, Sh = "[a-zA-Z]\\w*", Eu = "[a-zA-Z_]\\w*", bh = "\\b\\d+(\\.\ excludeBegin: !0, relevance: 0 }); - const i = gu( + const i = Su( // list of common 1 and 2 letter words in English "I", "a", @@ -70780,44 +70786,44 @@ const vw = /\b\B/, Sh = "[a-zA-Z]\\w*", Eu = "[a-zA-Z_]\\w*", bh = "\\b\\d+(\\.\ // look for 3 words in a row } ), r; -}, xw = ys("//", "$"), Dw = ys("/\\*", "\\*/"), Mw = ys("#", "$"), ww = { +}, Bw = Rs("//", "$"), Uw = Rs("/\\*", "\\*/"), Hw = Rs("#", "$"), Gw = { scope: "number", - begin: bh, + begin: vg, relevance: 0 -}, Lw = { +}, Vw = { scope: "number", - begin: Th, + begin: Rg, relevance: 0 -}, kw = { +}, Yw = { scope: "number", - begin: Ch, + begin: Og, relevance: 0 -}, Pw = { +}, zw = { scope: "regexp", begin: /\/(?=[^/\n]*\/)/, end: /\/[gimuy]*/, contains: [ - ao, + so, { begin: /\[/, end: /\]/, relevance: 0, - contains: [ao] + contains: [so] } ] -}, Fw = { +}, $w = { scope: "title", - begin: Sh, + begin: yg, relevance: 0 -}, Bw = { +}, qw = { scope: "title", - begin: Eu, + begin: Tu, relevance: 0 -}, Uw = { +}, Ww = { // excludes method names from keyword processing - begin: "\\.\\s*" + Eu, + begin: "\\.\\s*" + Tu, relevance: 0 -}, Hw = function(t) { +}, Kw = function(t) { return Object.assign( t, { @@ -70832,67 +70838,67 @@ const vw = /\b\B/, Sh = "[a-zA-Z]\\w*", Eu = "[a-zA-Z_]\\w*", bh = "\\b\\d+(\\.\ } ); }; -var Ko = /* @__PURE__ */ Object.freeze({ +var Zo = /* @__PURE__ */ Object.freeze({ __proto__: null, - APOS_STRING_MODE: Nw, - BACKSLASH_ESCAPE: ao, - BINARY_NUMBER_MODE: kw, - BINARY_NUMBER_RE: Ch, - COMMENT: ys, - C_BLOCK_COMMENT_MODE: Dw, - C_LINE_COMMENT_MODE: xw, - C_NUMBER_MODE: Lw, - C_NUMBER_RE: Th, - END_SAME_AS_BEGIN: Hw, - HASH_COMMENT_MODE: Mw, - IDENT_RE: Sh, - MATCH_NOTHING_RE: vw, - METHOD_GUARD: Uw, - NUMBER_MODE: ww, - NUMBER_RE: bh, - PHRASAL_WORDS_MODE: Iw, - QUOTE_STRING_MODE: Aw, - REGEXP_MODE: Pw, - RE_STARTERS_RE: Rw, - SHEBANG: Ow, - TITLE_MODE: Fw, - UNDERSCORE_IDENT_RE: Eu, - UNDERSCORE_TITLE_MODE: Bw + APOS_STRING_MODE: kw, + BACKSLASH_ESCAPE: so, + BINARY_NUMBER_MODE: Yw, + BINARY_NUMBER_RE: Og, + COMMENT: Rs, + C_BLOCK_COMMENT_MODE: Uw, + C_LINE_COMMENT_MODE: Bw, + C_NUMBER_MODE: Vw, + C_NUMBER_RE: Rg, + END_SAME_AS_BEGIN: Kw, + HASH_COMMENT_MODE: Hw, + IDENT_RE: yg, + MATCH_NOTHING_RE: Mw, + METHOD_GUARD: Ww, + NUMBER_MODE: Gw, + NUMBER_RE: vg, + PHRASAL_WORDS_MODE: Fw, + QUOTE_STRING_MODE: Pw, + REGEXP_MODE: zw, + RE_STARTERS_RE: ww, + SHEBANG: Lw, + TITLE_MODE: $w, + UNDERSCORE_IDENT_RE: Tu, + UNDERSCORE_TITLE_MODE: qw }); -function Gw(t, e) { +function Qw(t, e) { t.input[t.index - 1] === "." && e.ignoreMatch(); } -function Vw(t, e) { +function Zw(t, e) { t.className !== void 0 && (t.scope = t.className, delete t.className); } -function Yw(t, e) { - e && t.beginKeywords && (t.begin = "\\b(" + t.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", t.__beforeBegin = Gw, t.keywords = t.keywords || t.beginKeywords, delete t.beginKeywords, t.relevance === void 0 && (t.relevance = 0)); +function Xw(t, e) { + e && t.beginKeywords && (t.begin = "\\b(" + t.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", t.__beforeBegin = Qw, t.keywords = t.keywords || t.beginKeywords, delete t.beginKeywords, t.relevance === void 0 && (t.relevance = 0)); } -function zw(t, e) { - Array.isArray(t.illegal) && (t.illegal = gu(...t.illegal)); +function jw(t, e) { + Array.isArray(t.illegal) && (t.illegal = Su(...t.illegal)); } -function $w(t, e) { +function Jw(t, e) { if (t.match) { if (t.begin || t.end) throw new Error("begin & end are not supported with match"); t.begin = t.match, delete t.match; } } -function qw(t, e) { +function e2(t, e) { t.relevance === void 0 && (t.relevance = 1); } -const Ww = (t, e) => { +const t2 = (t, e) => { if (!t.beforeMatch) return; if (t.starts) throw new Error("beforeMatch cannot be used with starts"); const n = Object.assign({}, t); Object.keys(t).forEach((r) => { delete t[r]; - }), t.keywords = n.keywords, t.begin = vr(n.beforeMatch, hh(n.begin)), t.starts = { + }), t.keywords = n.keywords, t.begin = vr(n.beforeMatch, Tg(n.begin)), t.starts = { relevance: 0, contains: [ Object.assign(n, { endsParent: !0 }) ] }, t.relevance = 0, delete n.beforeMatch; -}, Kw = [ +}, n2 = [ "of", "and", "for", @@ -70907,70 +70913,70 @@ const Ww = (t, e) => { // common variable name "value" // common variable name -], Qw = "keyword"; -function yh(t, e, n = Qw) { +], r2 = "keyword"; +function Ng(t, e, n = r2) { const r = /* @__PURE__ */ Object.create(null); return typeof t == "string" ? i(n, t.split(" ")) : Array.isArray(t) ? i(n, t) : Object.keys(t).forEach(function(o) { Object.assign( r, - yh(t[o], e, o) + Ng(t[o], e, o) ); }), r; function i(o, a) { e && (a = a.map((s) => s.toLowerCase())), a.forEach(function(s) { const l = s.split("|"); - r[l[0]] = [o, Zw(l[0], l[1])]; + r[l[0]] = [o, i2(l[0], l[1])]; }); } } -function Zw(t, e) { - return e ? Number(e) : Xw(t) ? 0 : 1; +function i2(t, e) { + return e ? Number(e) : o2(t) ? 0 : 1; } -function Xw(t) { - return Kw.includes(t.toLowerCase()); +function o2(t) { + return n2.includes(t.toLowerCase()); } -const x_ = {}, _r = (t) => { +const w_ = {}, _r = (t) => { console.error(t); -}, D_ = (t, ...e) => { +}, L_ = (t, ...e) => { console.log(`WARN: ${t}`, ...e); }, Lr = (t, e) => { - x_[`${t}/${e}`] || (console.log(`Deprecated as of ${t}. ${e}`), x_[`${t}/${e}`] = !0); -}, qa = new Error(); -function vh(t, e, { key: n }) { + w_[`${t}/${e}`] || (console.log(`Deprecated as of ${t}. ${e}`), w_[`${t}/${e}`] = !0); +}, Ka = new Error(); +function Ag(t, e, { key: n }) { let r = 0; const i = t[n], o = {}, a = {}; for (let s = 1; s <= e.length; s++) - a[s + r] = i[s], o[s + r] = !0, r += Eh(e[s - 1]); + a[s + r] = i[s], o[s + r] = !0, r += Cg(e[s - 1]); t[n] = a, t[n]._emit = o, t[n]._multi = !0; } -function jw(t) { +function a2(t) { if (Array.isArray(t.begin)) { if (t.skip || t.excludeBegin || t.returnBegin) - throw _r("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), qa; + throw _r("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), Ka; if (typeof t.beginScope != "object" || t.beginScope === null) - throw _r("beginScope must be object"), qa; - vh(t, t.begin, { key: "beginScope" }), t.begin = hu(t.begin, { joinWith: "" }); + throw _r("beginScope must be object"), Ka; + Ag(t, t.begin, { key: "beginScope" }), t.begin = bu(t.begin, { joinWith: "" }); } } -function Jw(t) { +function s2(t) { if (Array.isArray(t.end)) { if (t.skip || t.excludeEnd || t.returnEnd) - throw _r("skip, excludeEnd, returnEnd not compatible with endScope: {}"), qa; + throw _r("skip, excludeEnd, returnEnd not compatible with endScope: {}"), Ka; if (typeof t.endScope != "object" || t.endScope === null) - throw _r("endScope must be object"), qa; - vh(t, t.end, { key: "endScope" }), t.end = hu(t.end, { joinWith: "" }); + throw _r("endScope must be object"), Ka; + Ag(t, t.end, { key: "endScope" }), t.end = bu(t.end, { joinWith: "" }); } } -function e2(t) { +function l2(t) { t.scope && typeof t.scope == "object" && t.scope !== null && (t.beginScope = t.scope, delete t.scope); } -function t2(t) { - e2(t), typeof t.beginScope == "string" && (t.beginScope = { _wrap: t.beginScope }), typeof t.endScope == "string" && (t.endScope = { _wrap: t.endScope }), jw(t), Jw(t); +function c2(t) { + l2(t), typeof t.beginScope == "string" && (t.beginScope = { _wrap: t.beginScope }), typeof t.endScope == "string" && (t.endScope = { _wrap: t.endScope }), a2(t), s2(t); } -function n2(t) { +function u2(t) { function e(a, s) { return new RegExp( - oo(a), + ao(a), "m" + (t.case_insensitive ? "i" : "") + (t.unicodeRegex ? "u" : "") + (s ? "g" : "") ); } @@ -70980,12 +70986,12 @@ function n2(t) { } // @ts-ignore addRule(s, l) { - l.position = this.position++, this.matchIndexes[this.matchAt] = l, this.regexes.push([l, s]), this.matchAt += Eh(s) + 1; + l.position = this.position++, this.matchIndexes[this.matchAt] = l, this.regexes.push([l, s]), this.matchAt += Cg(s) + 1; } compile() { this.regexes.length === 0 && (this.exec = () => null); const s = this.regexes.map((l) => l[1]); - this.matcherRe = e(hu(s, { joinWith: "|" }), !0), this.lastIndex = 0; + this.matcherRe = e(bu(s, { joinWith: "|" }), !0), this.lastIndex = 0; } /** @param {string} s */ exec(s) { @@ -71040,26 +71046,26 @@ function n2(t) { ); if (a.isCompiled) return l; [ - Vw, + Zw, // do this early so compiler extensions generally don't have to worry about // the distinction between match/begin - $w, - t2, - Ww + Jw, + c2, + t2 ].forEach((u) => u(a, s)), t.compilerExtensions.forEach((u) => u(a, s)), a.__beforeBegin = null, [ - Yw, + Xw, // do this later so compiler extensions that come earlier have access to the // raw array if they wanted to perhaps manipulate it, etc. - zw, + jw, // default to 1 relevance if not specified - qw + e2 ].forEach((u) => u(a, s)), a.isCompiled = !0; let c = null; - return typeof a.keywords == "object" && a.keywords.$pattern && (a.keywords = Object.assign({}, a.keywords), c = a.keywords.$pattern, delete a.keywords.$pattern), c = c || /\w+/, a.keywords && (a.keywords = yh(a.keywords, t.case_insensitive)), l.keywordPatternRe = e(c, !0), s && (a.begin || (a.begin = /\B|\b/), l.beginRe = e(l.begin), !a.end && !a.endsWithParent && (a.end = /\B|\b/), a.end && (l.endRe = e(l.end)), l.terminatorEnd = oo(l.end) || "", a.endsWithParent && s.terminatorEnd && (l.terminatorEnd += (a.end ? "|" : "") + s.terminatorEnd)), a.illegal && (l.illegalRe = e( + return typeof a.keywords == "object" && a.keywords.$pattern && (a.keywords = Object.assign({}, a.keywords), c = a.keywords.$pattern, delete a.keywords.$pattern), c = c || /\w+/, a.keywords && (a.keywords = Ng(a.keywords, t.case_insensitive)), l.keywordPatternRe = e(c, !0), s && (a.begin || (a.begin = /\B|\b/), l.beginRe = e(l.begin), !a.end && !a.endsWithParent && (a.end = /\B|\b/), a.end && (l.endRe = e(l.end)), l.terminatorEnd = ao(l.end) || "", a.endsWithParent && s.terminatorEnd && (l.terminatorEnd += (a.end ? "|" : "") + s.terminatorEnd)), a.illegal && (l.illegalRe = e( /** @type {RegExp | string} */ a.illegal )), a.contains || (a.contains = []), a.contains = [].concat(...a.contains.map(function(u) { - return r2(u === "self" ? a : u); + return d2(u === "self" ? a : u); })), a.contains.forEach(function(u) { o( /** @type Mode */ @@ -71075,21 +71081,21 @@ function n2(t) { t ); } -function Rh(t) { - return t ? t.endsWithParent || Rh(t.starts) : !1; +function Ig(t) { + return t ? t.endsWithParent || Ig(t.starts) : !1; } -function r2(t) { +function d2(t) { return t.variants && !t.cachedVariants && (t.cachedVariants = t.variants.map(function(e) { return kn(t, { variants: null }, e); - })), t.cachedVariants ? t.cachedVariants : Rh(t) ? kn(t, { starts: t.starts ? kn(t.starts) : null }) : Object.isFrozen(t) ? kn(t) : t; + })), t.cachedVariants ? t.cachedVariants : Ig(t) ? kn(t, { starts: t.starts ? kn(t.starts) : null }) : Object.isFrozen(t) ? kn(t) : t; } -var i2 = "11.9.0"; -class o2 extends Error { +var p2 = "11.9.0"; +class _2 extends Error { constructor(e, n) { super(e), this.name = "HTMLInjectionError", this.html = n; } } -const El = gh, M_ = kn, w_ = Symbol("nomatch"), a2 = 7, Oh = function(t) { +const bl = bg, k_ = kn, P_ = Symbol("nomatch"), m2 = 7, xg = function(t) { const e = /* @__PURE__ */ Object.create(null), n = /* @__PURE__ */ Object.create(null), r = []; let i = !0; const o = "Could not find the language '{}', did you forget to load/include a language module?", a = { disableAutodetect: !0, name: "Plain text", contains: [] }; @@ -71103,7 +71109,7 @@ const El = gh, M_ = kn, w_ = Symbol("nomatch"), a2 = 7, Oh = function(t) { languages: null, // beta configuration options, subject to change, welcome to discuss // https://github.com/highlightjs/highlight.js/issues/1086 - __emitter: Ew + __emitter: Ow }; function l(y) { return s.noHighlightRe.test(y); @@ -71114,7 +71120,7 @@ const El = gh, M_ = kn, w_ = Symbol("nomatch"), a2 = 7, Oh = function(t) { const A = s.languageDetectRe.exec(v); if (A) { const k = O(A[1]); - return k || (D_(o.replace("{}", A[1])), D_("Falling back to no-highlight mode for this block.", y)), k ? A[1] : "no-highlight"; + return k || (L_(o.replace("{}", A[1])), L_("Falling back to no-highlight mode for this block.", y)), k ? A[1] : "no-highlight"; } return v.split(/\s+/).find((k) => l(k) || O(k)); } @@ -71145,13 +71151,13 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = y, k = v), A === let D = P.keywordPatternRe.exec(X), U = ""; for (; D; ) { U += X.substring(N, D.index); - const K = he.case_insensitive ? D[0].toLowerCase() : D[0], _e = z(P, K); + const K = ge.case_insensitive ? D[0].toLowerCase() : D[0], _e = z(P, K); if (_e) { const [De, Rr] = _e; - if (oe.addText(U), U = "", G[K] = (G[K] || 0) + 1, G[K] <= a2 && (He += Rr), De.startsWith("_")) + if (oe.addText(U), U = "", G[K] = (G[K] || 0) + 1, G[K] <= m2 && (He += Rr), De.startsWith("_")) U += D[0]; else { - const I = he.classNameAliases[De] || De; + const I = ge.classNameAliases[De] || De; ue(D[0], I); } } else @@ -71188,18 +71194,18 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = y, k = v), A === U++; continue; } - const _e = he.classNameAliases[N[U]] || N[U], De = D[U]; + const _e = ge.classNameAliases[N[U]] || N[U], De = D[U]; _e ? ue(De, _e) : (X = De, ae(), X = ""), U++; } } function Le(N, D) { - return N.scope && typeof N.scope == "string" && oe.openNode(he.classNameAliases[N.scope] || N.scope), N.beginScope && (N.beginScope._wrap ? (ue(X, he.classNameAliases[N.beginScope._wrap] || N.beginScope._wrap), X = "") : N.beginScope._multi && (Be(N.beginScope, D), X = "")), P = Object.create(N, { parent: { value: P } }), P; + return N.scope && typeof N.scope == "string" && oe.openNode(ge.classNameAliases[N.scope] || N.scope), N.beginScope && (N.beginScope._wrap ? (ue(X, ge.classNameAliases[N.beginScope._wrap] || N.beginScope._wrap), X = "") : N.beginScope._multi && (Be(N.beginScope, D), X = "")), P = Object.create(N, { parent: { value: P } }), P; } function We(N, D, U) { - let K = Cw(N.endRe, U); + let K = xw(N.endRe, U); if (K) { if (N["on:end"]) { - const _e = new N_(N); + const _e = new x_(N); N["on:end"](D, _e), _e.isMatchIgnored && (K = !1); } if (K) { @@ -71214,8 +71220,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = y, k = v), A === function Ke(N) { return P.matcher.regexIndex === 0 ? (X += N[0], 1) : (bt = !0, 0); } - function ht(N) { - const D = N[0], U = N.rule, K = new N_(U), _e = [U.__beforeBegin, U["on:begin"]]; + function gt(N) { + const D = N[0], U = N.rule, K = new x_(U), _e = [U.__beforeBegin, U["on:begin"]]; for (const De of _e) if (De && (De(N, K), K.isMatchIgnored)) return Ke(D); @@ -71224,7 +71230,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = y, k = v), A === function Ft(N) { const D = N[0], U = v.substring(N.index), K = We(P, N, U); if (!K) - return w_; + return P_; const _e = P; P.endScope && P.endScope._wrap ? (ie(), ue(D, P.endScope._wrap)) : P.endScope && P.endScope._multi ? (ie(), Be(P.endScope, N)) : _e.skip ? X += D : (_e.returnEnd || _e.excludeEnd || (X += D), ie(), _e.excludeEnd && (X = D)); do @@ -71234,7 +71240,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = y, k = v), A === } function de() { const N = []; - for (let D = P; D !== he; D = D.parent) + for (let D = P; D !== ge; D = D.parent) D.scope && N.unshift(D.scope); N.forEach((D) => oe.openNode(D)); } @@ -71251,13 +71257,13 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = y, k = v), A === return 1; } if (Pe = D, D.type === "begin") - return ht(D); + return gt(D); if (D.type === "illegal" && !A) { const K = new Error('Illegal lexeme "' + U + '" for mode "' + (P.scope || "") + '"'); throw K.mode = P, K; } else if (D.type === "end") { const K = Ft(D); - if (K !== w_) + if (K !== P_) return K; } if (D.type === "illegal" && U === "") @@ -71266,17 +71272,17 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = y, k = v), A === throw new Error("potential infinite loop, way more iterations than matches"); return X += U, U.length; } - const he = O(y); - if (!he) + const ge = O(y); + if (!ge) throw _r(o.replace("{}", y)), new Error('Unknown language: "' + y + '"'); - const zt = n2(he); + const zt = u2(ge); let Et = "", P = k || zt; const et = {}, oe = new s.__emitter(s); de(); let X = "", He = 0, xe = 0, St = 0, bt = !1; try { - if (he.__emitTokens) - he.__emitTokens(v, oe); + if (ge.__emitTokens) + ge.__emitTokens(v, oe); else { for (P.matcher.considerAll(); ; ) { St++, bt ? bt = !1 : P.matcher.considerAll(), P.matcher.lastIndex = xe; @@ -71299,7 +71305,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = y, k = v), A === if (N.message && N.message.includes("Illegal")) return { language: y, - value: El(v), + value: bl(v), illegal: !0, relevance: 0, _illegalBy: { @@ -71314,7 +71320,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = y, k = v), A === if (i) return { language: y, - value: El(v), + value: bl(v), illegal: !1, relevance: 0, errorRaised: N, @@ -71326,7 +71332,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = y, k = v), A === } function p(y) { const v = { - value: El(y), + value: bl(y), illegal: !1, relevance: 0, _top: a, @@ -71368,7 +71374,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = y, k = v), A === return; } if (y.children.length > 0 && (s.ignoreUnescapedHTML || (console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."), console.warn("https://github.com/highlightjs/highlight.js/wiki/security"), console.warn("The element with unescaped HTML:"), console.warn(y)), s.throwUnescapedHTML)) - throw new o2( + throw new _2( "One of your code blocks includes unescaped HTML.", y.innerHTML ); @@ -71384,17 +71390,17 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = y, k = v), A === relevance: G.secondBest.relevance }), V("after:highlightElement", { el: y, result: G, text: k }); } - function g(y) { - s = M_(s, y); + function h(y) { + s = k_(s, y); } const E = () => { - h(), Lr("10.6.0", "initHighlighting() deprecated. Use highlightAll() now."); + g(), Lr("10.6.0", "initHighlighting() deprecated. Use highlightAll() now."); }; function S() { - h(), Lr("10.6.0", "initHighlightingOnLoad() deprecated. Use highlightAll() now."); + g(), Lr("10.6.0", "initHighlightingOnLoad() deprecated. Use highlightAll() now."); } let b = !1; - function h() { + function g() { if (document.readyState === "loading") { b = !0; return; @@ -71402,7 +71408,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = y, k = v), A === document.querySelectorAll(s.cssSelector).forEach(f); } function C() { - b && h(); + b && g(); } typeof window < "u" && window.addEventListener && window.addEventListener("DOMContentLoaded", C, !1); function T(y, v) { @@ -71468,11 +71474,11 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = y, k = v), A === Object.assign(t, { highlight: u, highlightAuto: _, - highlightAll: h, + highlightAll: g, highlightElement: f, // TODO: Remove with v12 API highlightBlock: J, - configure: g, + configure: h, initHighlighting: E, initHighlightingOnLoad: S, registerLanguage: T, @@ -71481,31 +71487,31 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = y, k = v), A === getLanguage: O, registerAliases: M, autoDetection: B, - inherit: M_, + inherit: k_, addPlugin: $, removePlugin: q }), t.debugMode = function() { i = !1; }, t.safeMode = function() { i = !0; - }, t.versionString = i2, t.regex = { + }, t.versionString = p2, t.regex = { concat: vr, - lookahead: hh, - either: gu, - optional: bw, - anyNumberOfTimes: Sw + lookahead: Tg, + either: Su, + optional: Aw, + anyNumberOfTimes: Nw }; - for (const y in Ko) - typeof Ko[y] == "object" && fh(Ko[y]); - return Object.assign(t, Ko), t; -}, ui = Oh({}); -ui.newInstance = () => Oh({}); -var s2 = ui; + for (const y in Zo) + typeof Zo[y] == "object" && Sg(Zo[y]); + return Object.assign(t, Zo), t; +}, ui = xg({}); +ui.newInstance = () => xg({}); +var f2 = ui; ui.HighlightJS = ui; ui.default = ui; -const l2 = /* @__PURE__ */ Jc(s2), L_ = {}, c2 = "hljs-"; -function u2(t) { - const e = l2.newInstance(); +const h2 = /* @__PURE__ */ nu(f2), F_ = {}, g2 = "hljs-"; +function E2(t) { + const e = h2.newInstance(); return t && o(t), { highlight: n, highlightAuto: r, @@ -71515,10 +71521,10 @@ function u2(t) { registered: s }; function n(l, c, u) { - const d = u || L_, p = typeof d.prefix == "string" ? d.prefix : c2; + const d = u || F_, p = typeof d.prefix == "string" ? d.prefix : g2; if (!e.getLanguage(l)) throw new Error("Unknown language: `" + l + "` is not registered"); - e.configure({ __emitter: d2, classPrefix: p }); + e.configure({ __emitter: S2, classPrefix: p }); const _ = ( /** @type {HighlightResult & {_emitter: HastEmitter}} */ e.highlight(c, { ignoreIllegals: !0, language: l }) @@ -71534,13 +71540,13 @@ function u2(t) { return f.language = _.language, f.relevance = _.relevance, m; } function r(l, c) { - const d = (c || L_).subset || i(); + const d = (c || F_).subset || i(); let p = -1, _ = 0, m; for (; ++p < d.length; ) { const f = d[p]; if (!e.getLanguage(f)) continue; - const g = n(f, l, c); - g.data && g.data.relevance !== void 0 && g.data.relevance > _ && (_ = g.data.relevance, m = g); + const h = n(f, l, c); + h.data && h.data.relevance !== void 0 && h.data.relevance > _ && (_ = h.data.relevance, m = h); } return m || { type: "root", @@ -71584,7 +71590,7 @@ function u2(t) { return !!e.getLanguage(l); } } -class d2 { +class S2 { /** * @param {Readonly} options * Configuration. @@ -71685,7 +71691,7 @@ class d2 { return ""; } } -const p2 = /!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\)/, k_ = new ve("aie-video-plugin"), Oi = "video_action", _2 = Ne.create({ +const b2 = /!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\)/, B_ = new ve("aie-video-plugin"), Ni = "video_action", T2 = Ne.create({ name: "video", group: "block", addAttributes() { @@ -71741,13 +71747,13 @@ const p2 = /!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\)/, k_ = new ve("aie-vid const e = typeof this.options.uploadHeaders == "object" ? this.options.uploadHeaders : typeof this.options.uploadHeaders == "function" ? this.options.uploadHeaders() : {}; if (this.options.uploaderEvent && this.options.uploaderEvent.onUploadBefore && this.options.uploaderEvent.onUploadBefore(t, this.options.uploadUrl, e) === !1) return !1; - const n = Ss(), { state: { tr: r }, view: i, schema: o } = this.editor; - r.selection.empty || r.deleteSelection(), i.dispatch(r.setMeta(Oi, { + const n = Ts(), { state: { tr: r }, view: i, schema: o } = this.editor; + r.selection.empty || r.deleteSelection(), i.dispatch(r.setMeta(Ni, { type: "add", id: n, pos: r.selection.from })); - const a = this.options.uploader || nu(this.options.uploadUrl), s = this.options.uploadFormName || "video"; + const a = this.options.uploader || ou(this.options.uploadUrl), s = this.options.uploadFormName || "video"; return a(t, this.options.uploadUrl, e, s).then((l) => { var c; if ((c = this.options.uploaderEvent) != null && c.onSuccess) { @@ -71757,18 +71763,18 @@ const p2 = /!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\)/, k_ = new ve("aie-vid typeof u == "object" && (l = u); } if (l.errorCode === 0 && l.data && l.data.src) { - let d = k_.getState(this.editor.state).find(void 0, void 0, (p) => p.id == n); + let d = B_.getState(this.editor.state).find(void 0, void 0, (p) => p.id == n); i.dispatch(i.state.tr.insert(d[0].from, o.nodes.video.create({ src: l.data.src, poster: l.data.poster, width: l.data.width || 350, controls: l.data.controls || "true" - })).setMeta(Oi, { type: "remove", id: n })); + })).setMeta(Ni, { type: "remove", id: n })); } else - i.dispatch(r.setMeta(Oi, { type: "remove", id: n })), this.options.uploaderEvent && this.options.uploaderEvent.onFailed && this.options.uploaderEvent.onFailed(t, l); + i.dispatch(r.setMeta(Ni, { type: "remove", id: n })), this.options.uploaderEvent && this.options.uploaderEvent.onFailed && this.options.uploaderEvent.onFailed(t, l); }).catch((l) => { const { state: { tr: c }, view: u } = this.editor; - u.dispatch(c.setMeta(Oi, { type: "remove", id: n })), this.options.uploaderEvent && this.options.uploaderEvent.onError && this.options.uploaderEvent.onError(t, l); + u.dispatch(c.setMeta(Ni, { type: "remove", id: n })), this.options.uploaderEvent && this.options.uploaderEvent.onError && this.options.uploaderEvent.onError(t, l); }), !0; } }; @@ -71793,15 +71799,15 @@ const p2 = /!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\)/, k_ = new ve("aie-vid
- `, Sg(e, this.editor.view.dom, (o) => this.editor.commands.updateAttributes("video", o)), { + `, yh(e, this.editor.view.dom, (o) => this.editor.commands.updateAttributes("video", o)), { dom: e }; }; }, addInputRules() { return [ - Yc({ - find: p2, + qc({ + find: b2, type: this.type, getAttributes: (t) => { const [, , e] = t; @@ -71814,12 +71820,12 @@ const p2 = /!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\)/, k_ = new ve("aie-vid const t = this.editor; return [ new Se({ - key: k_, + key: B_, state: { init: () => be.empty, apply: (e, n) => { - const r = e.getMeta(Oi); - return n = n.map(e.mapping, e.doc), r && r.type === "add" ? n = n.add(e.doc, [Eg(r)]) : r && r.type === "remove" && (n = n.remove(n.find( + const r = e.getMeta(Ni); + return n = n.map(e.mapping, e.doc), r && r.type === "add" ? n = n.add(e.doc, [Ch(r)]) : r && r.type === "remove" && (n = n.remove(n.find( void 0, void 0, (i) => i.id == r.id @@ -71846,7 +71852,7 @@ const p2 = /!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\)/, k_ = new ve("aie-vid }) ]; } -}), m2 = Ne.create({ +}), C2 = Ne.create({ name: "iframe", group: "block", atom: !0, @@ -71892,7 +71898,7 @@ const p2 = /!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\)/, k_ = new ve("aie-vid }; } }); -class f2 { +class y2 { constructor({ editor: e, element: n, @@ -71917,7 +71923,7 @@ class f2 { from: r, to: i }) => { - const { doc: o, selection: a } = n, { empty: s } = a, l = !o.textBetween(r, i).length && Uc(n.selection), c = this.element.contains(document.activeElement); + const { doc: o, selection: a } = n, { empty: s } = a, l = !o.textBetween(r, i).length && Vc(n.selection), c = this.element.contains(document.activeElement); return !(!(e.hasFocus() || c) || s || l || !this.editor.isEditable); }); L(this, "mousedownHandler", () => { @@ -71962,7 +71968,7 @@ class f2 { if (a || !n && !r) return; this.createTooltip(); - const { ranges: c } = s, u = Math.min(...c.map((g) => g.$from.pos)), d = Math.max(...c.map((g) => g.$to.pos)); + const { ranges: c } = s, u = Math.min(...c.map((h) => h.$from.pos)), d = Math.max(...c.map((h) => h.$to.pos)); if (!((_ = this.shouldShow) == null ? void 0 : _.call(this, { editor: this.editor, view: e, @@ -71976,13 +71982,13 @@ class f2 { } (f = this.tippy) == null || f.setProps({ getReferenceClientRect: ((m = this.tippyOptions) == null ? void 0 : m.getReferenceClientRect) || (() => { - if (wf(o.selection)) { - let g = e.nodeDOM(u); - const E = g.dataset.nodeViewWrapper ? g : g.querySelector("[data-node-view-wrapper]"); - if (E && (g = E.firstChild), g) - return g.getBoundingClientRect(); + if (Ff(o.selection)) { + let h = e.nodeDOM(u); + const E = h.dataset.nodeViewWrapper ? h : h.querySelector("[data-node-view-wrapper]"); + if (E && (h = E.firstChild), h) + return h.getBoundingClientRect(); } - return Ki(e, u, d); + return Qi(e, u, d); }) }), this.show(); }); @@ -72040,11 +72046,11 @@ class f2 { ), (n = this.tippy) == null || n.destroy(), this.element.removeEventListener("mousedown", this.mousedownHandler, { capture: !0 }), this.updateInMouseUp && this.view.dom.removeEventListener("mouseup", this.mouseupHandler), this.view.dom.removeEventListener("dragstart", this.dragstartHandler), this.editor.off("focus", this.focusHandler), this.editor.off("blur", this.blurHandler); } } -const g2 = (t) => new Se({ +const v2 = (t) => new Se({ key: typeof t.pluginKey == "string" ? new ve(t.pluginKey) : t.pluginKey, - view: (e) => new f2({ view: e, ...t }) + view: (e) => new y2({ view: e, ...t }) }); -class vs extends HTMLElement { +class Os extends HTMLElement { constructor() { super(); L(this, "editor"); @@ -72107,12 +72113,12 @@ class vs extends HTMLElement { onEditableChange(n) { } } -const h2 = { +const R2 = { id: "edit", title: "edit-link", icon: '', onInit: (t, e, n) => { - const r = new jc(); + const r = new tu(); r.setContent(`
${ce("link-address")}
@@ -72143,14 +72149,14 @@ const h2 = { o && o.href && (i.popper.querySelector("#href").value = o.href), o && o.target && (i.popper.querySelector("#target").value = o.target); }), r.setTrigger(n.querySelector("#edit"), "right"); } -}, E2 = { +}, O2 = { id: "unlink", title: "unlink", icon: '', onClick: (t) => { t.innerEditor.chain().focus().unsetLink().run(); } -}, S2 = { +}, N2 = { id: "visit", title: "visit-link", icon: '', @@ -72158,7 +72164,7 @@ const h2 = { window.open(t.innerEditor.getAttributes("link").href, "_blank"); } }; -class Su { +class Cu { constructor(e) { L(this, "record", {}); for (let n of e) @@ -72174,19 +72180,19 @@ class Su { return Object.values(this.record); } } -const b2 = new Su( - [h2, E2, S2] +const A2 = new Cu( + [R2, O2, N2] ); -class T2 extends vs { +class I2 extends Os { constructor() { super(); } onCreate(e, n) { var r; - super.onCreate(e, n), this.initItemsByOptions(b2, (r = n == null ? void 0 : n.link) == null ? void 0 : r.bubbleMenuItems), this.activeOnClick = !1; + super.onCreate(e, n), this.initItemsByOptions(A2, (r = n == null ? void 0 : n.link) == null ? void 0 : r.bubbleMenuItems), this.activeOnClick = !1; } } -const C2 = { +const x2 = { id: "AlignLeft", title: "align-left", icon: '', @@ -72194,7 +72200,7 @@ const C2 = { const e = t.innerEditor.getAttributes("image"); e.align = "left", t.innerEditor.chain().setImage(e).run(); } -}, y2 = { +}, D2 = { id: "AlignCenter", title: "align-center", icon: '', @@ -72202,7 +72208,7 @@ const C2 = { const e = t.getAttributes("image"); e.align = "center", t.chain().setImage(e).run(); } -}, v2 = { +}, M2 = { id: "AlignRight", title: "align-right", icon: '', @@ -72210,7 +72216,7 @@ const C2 = { const e = t.getAttributes("image"); e.align = "right", t.chain().setImage(e).run(); } -}, R2 = { +}, w2 = { id: "Resize", title: "resize", icon: '', @@ -72218,26 +72224,26 @@ const C2 = { const e = t.getAttributes("image"), { width: n } = e; n === "100%" ? e.width = "50%" : n === "50%" ? e.width = "75%" : e.width = "100%", t.chain().setImage(e).run(); } -}, O2 = { +}, L2 = { id: "delete", title: "delete", icon: '', onClick: ({ innerEditor: t }) => { t.commands.deleteSelection(); } -}, N2 = new Su( - [C2, y2, v2, R2, O2] +}, k2 = new Cu( + [x2, D2, M2, w2, L2] ); -class A2 extends vs { +class P2 extends Os { constructor() { super(); } onCreate(e, n) { var r; - super.onCreate(e, n), this.initItemsByOptions(N2, (r = n == null ? void 0 : n.image) == null ? void 0 : r.bubbleMenuItems), this.activeOnClick = !1; + super.onCreate(e, n), this.initItemsByOptions(k2, (r = n == null ? void 0 : n.image) == null ? void 0 : r.bubbleMenuItems), this.activeOnClick = !1; } } -class I2 extends vs { +class F2 extends Os { constructor() { super(), this.items = [ { @@ -72394,13 +72400,13 @@ class I2 extends vs { return !0; } } -const Wa = { +const Qa = { check: '', refresh: '', aiPanelStart: '', aiPanelStop: '' }; -class Nh { +class Dg { constructor(e, n) { L(this, "delay"); L(this, "appending", !1); @@ -72430,10 +72436,10 @@ class Nh { }, this.delay); } } -const Ah = (t) => { +const Mg = (t) => { const { view: e, state: n } = t, { head: r, from: i, to: o } = n.selection; if (i == 1 && o == n.doc.content.size - 1) { - const a = Ki(e, i, o), l = e.dom.closest(".aie-container").getBoundingClientRect(), c = a.bottom > l.bottom ? l.bottom : a.bottom; + const a = Qi(e, i, o), l = e.dom.closest(".aie-container").getBoundingClientRect(), c = a.bottom > l.bottom ? l.bottom : a.bottom; let u = a.height > l.height ? l.height / 2 : a.height; const d = a.top < l.top ? l.top : a.top; let p = a.left; @@ -72449,13 +72455,13 @@ const Ah = (t) => { bottom: c }; } else { - const a = Ki(e, r, r); + const a = Qi(e, r, r); return { ...a, height: a.height - 10 }; } -}, x2 = [ +}, B2 = [ { prompt: `{content} 请帮我优化一下这段内容,并直接返回优化后的结果。 @@ -72498,7 +72504,7 @@ const Ah = (t) => { icon: '', title: "summarize" } -], P_ = (t, e, n) => { +], U_ = (t, e, n) => { var r, i; if (t.aiClient) t.aiClient.stop(); @@ -72507,13 +72513,13 @@ const Ah = (t) => { o.value = ""; const { selection: a, doc: s } = t.editor.state, l = s.textBetween(a.from, a.to), c = t.editor.aiEditor.options, u = Yn.get((r = c.ai) == null ? void 0 : r.bubblePanelModel); if (u) { - const d = new Nh(30, o); + const d = new Dg(30, o); u.chat(l, n, { onStart(p) { - t.aiClient = p, e.querySelector(".aie-ai-panel-actions").style.display = "none", e.querySelector(".loader").style.display = "block", e.querySelector(".aie-ai-panel-body-content").style.display = "block", e.querySelector("#go").innerHTML = Wa.aiPanelStop; + t.aiClient = p, e.querySelector(".aie-ai-panel-actions").style.display = "none", e.querySelector(".loader").style.display = "block", e.querySelector(".aie-ai-panel-body-content").style.display = "block", e.querySelector("#go").innerHTML = Qa.aiPanelStop; }, onStop() { - t.aiClient = void 0, e.querySelector("#go").innerHTML = Wa.aiPanelStart, e.querySelector(".aie-ai-panel-footer").style.display = "block", e.querySelector(".loader").style.display = "none", e.querySelector(".aie-ai-panel-actions").style.display = "none", d.finished(); + t.aiClient = void 0, e.querySelector("#go").innerHTML = Qa.aiPanelStart, e.querySelector(".aie-ai-panel-footer").style.display = "block", e.querySelector(".loader").style.display = "none", e.querySelector(".aie-ai-panel-actions").style.display = "none", d.finished(); }, onMessage(p) { d.appendText(p.content); @@ -72522,13 +72528,13 @@ const Ah = (t) => { } else console.error('AI model name config error. can not get AI model by name: "' + ((i = c.ai) == null ? void 0 : i.bubblePanelModel) + '", please check config "options.ai.bubblePanelModel"'); } -}, D2 = (t, e) => { +}, U2 = (t, e) => { const n = document.createElement("div"); return n.classList.add("aie-ai-panel"), n.innerHTML = `
- +
-
+
${ce("tip-you-can-enter-text-above-or-select-the-operation-below")}
@@ -72566,17 +72572,17 @@ const Ah = (t) => { r.from != r.to && ((o = t.tippyInstance) == null || o.show()); }), n.querySelector("#go").addEventListener("click", () => { const r = n.querySelector("#prompt").value; - P_(t, n, r); + U_(t, n, r); }), n.querySelectorAll(".aie-ai-panel-actions p").forEach((r) => { const i = r.getAttribute("data-prompt"); r.addEventListener("click", () => { - P_(t, n, i); + U_(t, n, i); }); }), n.addEventListener("click", (r) => { var i, o; r.target === n && ((i = t.aiPanelInstance) == null || i.hide(), (o = t.tippyInstance) == null || o.show()); }), n; -}, M2 = { +}, H2 = { id: "ai", title: "ai", icon: `
@@ -72590,15 +72596,15 @@ const Ah = (t) => { `, onInit: ({ innerEditor: t }, e, n) => { var o; - const r = { editor: t, tippyInstance: e }, i = ((o = t.aiEditor.options.ai) == null ? void 0 : o.bubblePanelMenus) || x2; + const r = { editor: t, tippyInstance: e }, i = ((o = t.aiEditor.options.ai) == null ? void 0 : o.bubblePanelMenus) || B2; return r.aiPanelInstance = we(n.querySelector("#ai"), { - content: D2(r, i), + content: U2(r, i), appendTo: t.view.dom.closest(".aie-container"), trigger: "click", interactive: !0, arrow: !1, placement: "bottom", - getReferenceClientRect: () => Ah(t), + getReferenceClientRect: () => Mg(t), onShow: (a) => { window.setTimeout(() => { var s; @@ -72611,42 +72617,42 @@ const Ah = (t) => { var i; (i = r.tippyInstance) == null || i.hide(); } -}, w2 = { +}, G2 = { id: "bold", title: "bold", icon: '', onClick: ({ innerEditor: t }) => { t.chain().toggleBold().run(); } -}, L2 = { +}, V2 = { id: "underline", title: "underline", icon: '', onClick: ({ innerEditor: t }) => { t.chain().toggleUnderline().run(); } -}, k2 = { +}, Y2 = { id: "code", title: "code", icon: '', onClick: ({ innerEditor: t }) => { t.chain().toggleCode().run(); } -}, P2 = { +}, z2 = { id: "strike", title: "strike", icon: '', onClick: ({ innerEditor: t }) => { t.chain().toggleStrike().run(); } -}, F2 = { +}, $2 = { id: "italic", title: "italic", icon: ' ', onClick: ({ innerEditor: t }) => { t.chain().toggleItalic().run(); } -}, B2 = [ +}, q2 = [ { title: "英语" }, { title: "中文" }, { title: "日语" }, @@ -72654,7 +72660,7 @@ const Ah = (t) => { { title: "德语" }, { title: "葡萄牙语" }, { title: "西班牙语" } -], U2 = (t, e, n) => { +], W2 = (t, e, n) => { var r, i, o, a; if (t.aiClient) t.aiClient.stop(); @@ -72664,7 +72670,7 @@ const Ah = (t) => { ${c}`; const d = Yn.get("auto"); if (d) { - const p = new Nh(30, n); + const p = new Dg(30, n); d.chat("", u, { onStart(_) { t.aiClient = _; @@ -72679,7 +72685,7 @@ const Ah = (t) => { } else console.error("AI model name config error."); } -}, H2 = (t) => { +}, K2 = (t) => { const e = document.createElement("div"); return e.classList.add("aie-translate-result-panel"), e.innerHTML = ` @@ -72703,7 +72709,7 @@ ${ce("ai-append")} var n, r; (n = t.translateResultInstance) == null || n.hide(), (r = t.editor) == null || r.insertMarkdown(e.querySelector("textarea").value); }), e; -}, G2 = (t, e) => { +}, Q2 = (t, e) => { const n = document.createElement("div"); n.classList.add("aie-translate-panel"), n.innerHTML = `
@@ -72712,7 +72718,7 @@ ${ce("ai-append")} `; const r = t.editor.view.dom.closest(".aie-container"); return t.translateResultInstance = we(n, { - content: H2(t), + content: K2(t), appendTo: r, placement: "bottom", interactive: !0, @@ -72730,13 +72736,13 @@ ${ce("ai-append")} return; } const s = i.popper.querySelector("textarea"); - s.value = "", (l = t.translatePanelInstance) == null || l.hide(), U2(t, a, s); + s.value = "", (l = t.translatePanelInstance) == null || l.hide(), W2(t, a, s); }, onUntrigger: (i) => { i.enable(); } }), n; -}, V2 = { +}, Z2 = { id: "translate", title: "translate", icon: `
@@ -72750,9 +72756,9 @@ ${ce("ai-append")} `, onInit: ({ innerEditor: t }, e, n) => { var o, a; - const r = { editor: t, tippyInstance: e }, i = ((a = (o = t.aiEditor.options.ai) == null ? void 0 : o.translate) == null ? void 0 : a.translateMenuItems) || B2; + const r = { editor: t, tippyInstance: e }, i = ((a = (o = t.aiEditor.options.ai) == null ? void 0 : o.translate) == null ? void 0 : a.translateMenuItems) || q2; return r.translatePanelInstance = we(n.querySelector("#translate"), { - content: G2(r, i), + content: Q2(r, i), appendTo: t.view.dom.closest(".aie-container"), placement: "bottom", trigger: "click", @@ -72760,9 +72766,9 @@ ${ce("ai-append")} arrow: !1 }), r; } -}, Y2 = new Su( - [M2, w2, F2, L2, P2, V2, k2] -), z2 = (t, e) => { +}, X2 = new Cu( + [H2, G2, $2, V2, z2, Z2, Y2] +), j2 = (t, e) => { if (!t || t.length === 0) return t; let n = 0; @@ -72770,14 +72776,14 @@ ${ce("ai-append")} e(t[n], n, t) ? t.splice(n, 1) : ++n; return t; }; -class $2 extends vs { +class J2 extends Os { constructor() { super(); } onCreate(e, n) { var r, i, o, a; - if (super.onCreate(e, n), this.initItemsByOptions(Y2, (r = n == null ? void 0 : n.textSelectionBubbleMenu) == null ? void 0 : r.items), ((i = n.ai) == null ? void 0 : i.bubblePanelEnable) === !1) - z2(this.items, (s) => s.id === "ai"); + if (super.onCreate(e, n), this.initItemsByOptions(X2, (r = n == null ? void 0 : n.textSelectionBubbleMenu) == null ? void 0 : r.items), ((i = n.ai) == null ? void 0 : i.bubblePanelEnable) === !1) + j2(this.items, (s) => s.id === "ai"); else if ((o = n.ai) != null && o.bubblePanelIcon) { for (let s of this.items) if (s.id === "ai") { @@ -72787,12 +72793,12 @@ class $2 extends vs { } } } -re("aie-bubble-link", T2); -re("aie-bubble-image", A2); -re("aie-bubble-table", I2); -re("aie-bubble-text", $2); -function Rs(t, e) { - return ge.create({ +re("aie-bubble-link", I2); +re("aie-bubble-image", P2); +re("aie-bubble-table", F2); +re("aie-bubble-text", J2); +function Ns(t, e) { + return he.create({ name: t, addOptions() { return { @@ -72801,7 +72807,7 @@ function Rs(t, e) { }, addProseMirrorPlugins() { return this.options.element ? [ - g2({ + v2({ pluginKey: this.options.pluginKey, editor: this.editor, element: this.options.element, @@ -72814,10 +72820,10 @@ function Rs(t, e) { } }); } -const q2 = (t) => { +const eL = (t) => { var r; const e = ((r = t.options.textSelectionBubbleMenu) == null ? void 0 : r.elementTagName) || "aie-bubble-text", n = document.createElement(e); - return t.eventComponents.push(n), Rs("textSelectionBubble", { + return t.eventComponents.push(n), Ns("textSelectionBubble", { pluginKey: "textSelectionBubble", element: n, updateDelay: 0, @@ -72826,7 +72832,7 @@ const q2 = (t) => { appendTo: t.container, arrow: !1, placement: "bottom", - getReferenceClientRect: () => Ah(t.innerEditor), + getReferenceClientRect: () => Mg(t.innerEditor), onCreate(i) { n.instance = i; } @@ -72835,15 +72841,15 @@ const q2 = (t) => { if (!i.isEditable) return !1; const { state: { selection: o } } = i; - return !o.empty && ps(i.state.doc, { + return !o.empty && ms(i.state.doc, { from: o.from, to: o.to }).trim().length > 0 && !i.isActive("link") && !i.isActive("image") && !(o instanceof Te); } }); -}, W2 = (t) => { +}, tL = (t) => { const e = document.createElement("aie-bubble-link"); - return t.eventComponents.push(e), Rs("linkBubble", { + return t.eventComponents.push(e), Ns("linkBubble", { pluginKey: "linkBubble", element: e, tippyOptions: { @@ -72856,9 +72862,9 @@ const q2 = (t) => { }, shouldShow: ({ editor: n }) => n.isEditable && n.isActive("link") }); -}, K2 = (t) => { +}, nL = (t) => { const e = document.createElement("aie-bubble-image"); - return t.eventComponents.push(e), Rs("imageBubble", { + return t.eventComponents.push(e), Ns("imageBubble", { pluginKey: "imageBubble", element: e, tippyOptions: { @@ -72866,7 +72872,7 @@ const q2 = (t) => { placement: "top-start", arrow: !1, getReferenceClientRect: () => { - const { ranges: n } = t.innerEditor.state.selection, r = Math.min(...n.map((u) => u.$from.pos)), i = Math.max(...n.map((u) => u.$to.pos)), { view: o } = t.innerEditor, s = o.nodeDOM(r).querySelector("img"), l = Ki(o, r, i), c = s.getBoundingClientRect(); + const { ranges: n } = t.innerEditor.state.selection, r = Math.min(...n.map((u) => u.$from.pos)), i = Math.max(...n.map((u) => u.$to.pos)), { view: o } = t.innerEditor, s = o.nodeDOM(r).querySelector("img"), l = Qi(o, r, i), c = s.getBoundingClientRect(); return { ...l, left: c.left + c.width * 0.5 - 100 @@ -72878,9 +72884,9 @@ const q2 = (t) => { }, shouldShow: ({ editor: n }) => n.isEditable && n.isActive("image") }); -}, Q2 = (t) => { +}, rL = (t) => { const e = document.createElement("aie-bubble-table"); - return t.eventComponents.push(e), Rs("tableBubble", { + return t.eventComponents.push(e), Ns("tableBubble", { pluginKey: "tableBubble", element: e, tippyOptions: { @@ -72888,7 +72894,7 @@ const q2 = (t) => { appendTo: t.container, arrow: !1, getReferenceClientRect: () => { - const n = t.innerEditor.state.selection, { ranges: r } = n, i = Math.min(...r.map((d) => d.$from.pos)), o = Math.max(...r.map((d) => d.$to.pos)), { view: a, state: s } = t.innerEditor, l = Ki(a, i, o), c = s.selection.$from.posAtIndex(0, 1), u = a.coordsAtPos(c); + const n = t.innerEditor.state.selection, { ranges: r } = n, i = Math.min(...r.map((d) => d.$from.pos)), o = Math.max(...r.map((d) => d.$to.pos)), { view: a, state: s } = t.innerEditor, l = Qi(a, i, o), c = s.selection.$from.posAtIndex(0, 1), u = a.coordsAtPos(c); return { ...l, top: u.top @@ -72900,11 +72906,11 @@ const q2 = (t) => { return n.isEditable && n.isActive("table") && r instanceof Te; } }); -}, Z2 = (t) => { +}, iL = (t) => { var i, o; const e = []; - return t.options.editable === !1 || (((i = t == null ? void 0 : t.options.textSelectionBubbleMenu) == null ? void 0 : i.enable) !== !1 && e.push(q2(t)), e.push(W2(t)), ((o = t.options.image) == null ? void 0 : o.bubbleMenuEnable) !== !1 && e.push(K2(t)), e.push(Q2(t))), e; -}, X2 = ge.create({ + return t.options.editable === !1 || (((i = t == null ? void 0 : t.options.textSelectionBubbleMenu) == null ? void 0 : i.enable) !== !1 && e.push(eL(t)), e.push(tL(t)), ((o = t.options.image) == null ? void 0 : o.bubbleMenuEnable) !== !1 && e.push(nL(t)), e.push(rL(t))), e; +}, oL = he.create({ name: "placeholder", addOptions() { return { @@ -72927,7 +72933,7 @@ const q2 = (t) => { return null; const o = this.editor.isEmpty; return t.descendants((a, s) => { - const l = r >= s && r <= s + a.nodeSize, c = !a.isLeaf && fs(a); + const l = r >= s && r <= s + a.nodeSize, c = !a.isLeaf && gs(a); if ((l || !this.options.showOnlyCurrent) && c) { const u = [this.options.emptyNodeClass]; o && u.push(this.options.emptyEditorClass); @@ -72950,9 +72956,9 @@ const q2 = (t) => { ]; } }); -function j2(t) { +function aL(t) { var e; - const { char: n, allowSpaces: r, allowedPrefixes: i, startOfLine: o, $position: a } = t, s = EC(n), l = new RegExp(`\\s${s}$`), c = o ? "^" : "", u = r ? new RegExp(`${c}${s}.*?(?=\\s${s}|$)`, "gm") : new RegExp(`${c}(?:^)?${s}[^\\s${s}]*`, "gm"), d = ((e = a.nodeBefore) === null || e === void 0 ? void 0 : e.isText) && a.nodeBefore.text; + const { char: n, allowSpaces: r, allowedPrefixes: i, startOfLine: o, $position: a } = t, s = OC(n), l = new RegExp(`\\s${s}$`), c = o ? "^" : "", u = r ? new RegExp(`${c}${s}.*?(?=\\s${s}|$)`, "gm") : new RegExp(`${c}(?:^)?${s}[^\\s${s}]*`, "gm"), d = ((e = a.nodeBefore) === null || e === void 0 ? void 0 : e.isText) && a.nodeBefore.text; if (!d) return null; const p = a.pos - d.length, _ = Array.from(d.matchAll(u)).pop(); @@ -72961,30 +72967,30 @@ function j2(t) { const m = _.input.slice(Math.max(0, _.index - 1), _.index), f = new RegExp(`^[${i == null ? void 0 : i.join("")}\0]?$`).test(m); if (i !== null && !f) return null; - const g = p + _.index; - let E = g + _[0].length; - return r && l.test(d.slice(E - 1, E + 1)) && (_[0] += " ", E += 1), g < a.pos && E >= a.pos ? { + const h = p + _.index; + let E = h + _[0].length; + return r && l.test(d.slice(E - 1, E + 1)) && (_[0] += " ", E += 1), h < a.pos && E >= a.pos ? { range: { - from: g, + from: h, to: E }, query: _[0].slice(n.length), text: _[0] } : null; } -const J2 = new ve("suggestion"); -function Ih({ pluginKey: t = J2, editor: e, char: n = "@", allowSpaces: r = !1, allowedPrefixes: i = [" "], startOfLine: o = !1, decorationTag: a = "span", decorationClass: s = "suggestion", command: l = () => null, items: c = () => [], render: u = () => ({}), allow: d = () => !0, findSuggestionMatch: p = j2 }) { +const sL = new ve("suggestion"); +function wg({ pluginKey: t = sL, editor: e, char: n = "@", allowSpaces: r = !1, allowedPrefixes: i = [" "], startOfLine: o = !1, decorationTag: a = "span", decorationClass: s = "suggestion", command: l = () => null, items: c = () => [], render: u = () => ({}), allow: d = () => !0, findSuggestionMatch: p = aL }) { let _; const m = u == null ? void 0 : u(), f = new Se({ key: t, view() { return { - update: async (g, E) => { - var S, b, h, C, T, R, x; - const O = (S = this.key) === null || S === void 0 ? void 0 : S.getState(E), M = (b = this.key) === null || b === void 0 ? void 0 : b.getState(g.state), B = O.active && M.active && O.range.from !== M.range.from, Y = !O.active && M.active, $ = O.active && !M.active, q = !Y && !$ && O.query !== M.query, V = Y || B && q, J = q || B, y = $ || B && q; + update: async (h, E) => { + var S, b, g, C, T, R, x; + const O = (S = this.key) === null || S === void 0 ? void 0 : S.getState(E), M = (b = this.key) === null || b === void 0 ? void 0 : b.getState(h.state), B = O.active && M.active && O.range.from !== M.range.from, Y = !O.active && M.active, $ = O.active && !M.active, q = !Y && !$ && O.query !== M.query, V = Y || B && q, J = q || B, y = $ || B && q; if (!V && !J && !y) return; - const v = y && !V ? O : M, A = g.dom.querySelector(`[data-decoration-id="${v.decorationId}"]`); + const v = y && !V ? O : M, A = h.dom.querySelector(`[data-decoration-id="${v.decorationId}"]`); _ = { editor: e, range: v.range, @@ -73001,17 +73007,17 @@ function Ih({ pluginKey: t = J2, editor: e, char: n = "@", allowSpaces: r = !1, // this can be used for building popups without a DOM node clientRect: A ? () => { var k; - const { decorationId: G } = (k = this.key) === null || k === void 0 ? void 0 : k.getState(e.state), z = g.dom.querySelector(`[data-decoration-id="${G}"]`); + const { decorationId: G } = (k = this.key) === null || k === void 0 ? void 0 : k.getState(e.state), z = h.dom.querySelector(`[data-decoration-id="${G}"]`); return (z == null ? void 0 : z.getBoundingClientRect()) || null; } : null - }, V && ((h = m == null ? void 0 : m.onBeforeStart) === null || h === void 0 || h.call(m, _)), J && ((C = m == null ? void 0 : m.onBeforeUpdate) === null || C === void 0 || C.call(m, _)), (J || V) && (_.items = await c({ + }, V && ((g = m == null ? void 0 : m.onBeforeStart) === null || g === void 0 || g.call(m, _)), J && ((C = m == null ? void 0 : m.onBeforeUpdate) === null || C === void 0 || C.call(m, _)), (J || V) && (_.items = await c({ editor: e, query: v.query })), y && ((T = m == null ? void 0 : m.onExit) === null || T === void 0 || T.call(m, _)), J && ((R = m == null ? void 0 : m.onUpdate) === null || R === void 0 || R.call(m, _)), V && ((x = m == null ? void 0 : m.onStart) === null || x === void 0 || x.call(m, _)); }, destroy: () => { - var g; - _ && ((g = m == null ? void 0 : m.onExit) === null || g === void 0 || g.call(m, _)); + var h; + _ && ((h = m == null ? void 0 : m.onExit) === null || h === void 0 || h.call(m, _)); } }; }, @@ -73030,9 +73036,9 @@ function Ih({ pluginKey: t = J2, editor: e, char: n = "@", allowSpaces: r = !1, }; }, // Apply changes to the plugin state from a view transaction. - apply(g, E, S, b) { - const { isEditable: h } = e, { composing: C } = e.view, { selection: T } = g, { empty: R, from: x } = T, O = { ...E }; - if (O.composing = C, h && (R || e.view.composing)) { + apply(h, E, S, b) { + const { isEditable: g } = e, { composing: C } = e.view, { selection: T } = h, { empty: R, from: x } = T, O = { ...E }; + if (O.composing = C, g && (R || e.view.composing)) { (x < E.range.from || x > E.range.to) && !C && !E.composing && (O.active = !1); const M = p({ char: n, @@ -73054,15 +73060,15 @@ function Ih({ pluginKey: t = J2, editor: e, char: n = "@", allowSpaces: r = !1, }, props: { // Call the keydown hook if suggestion is active. - handleKeyDown(g, E) { + handleKeyDown(h, E) { var S; - const { active: b, range: h } = f.getState(g.state); - return b && ((S = m == null ? void 0 : m.onKeyDown) === null || S === void 0 ? void 0 : S.call(m, { view: g, event: E, range: h })) || !1; + const { active: b, range: g } = f.getState(h.state); + return b && ((S = m == null ? void 0 : m.onKeyDown) === null || S === void 0 ? void 0 : S.call(m, { view: h, event: E, range: g })) || !1; }, // Setup decorator on the currently active suggestion. - decorations(g) { - const { active: E, range: S, decorationId: b } = f.getState(g); - return E ? be.create(g.doc, [ + decorations(h) { + const { active: E, range: S, decorationId: b } = f.getState(h); + return E ? be.create(h.doc, [ ke.inline(S.from, S.to, { nodeName: a, class: s, @@ -73074,7 +73080,7 @@ function Ih({ pluginKey: t = J2, editor: e, char: n = "@", allowSpaces: r = !1, }); return f; } -const eL = new ve("mention"), tL = Ne.create({ +const lL = new ve("mention"), cL = Ne.create({ name: "mention", priority: 101, addOptions() { @@ -73095,7 +73101,7 @@ const eL = new ve("mention"), tL = Ne.create({ }, suggestion: { char: "@", - pluginKey: eL, + pluginKey: lL, command: ({ editor: t, range: e, props: n }) => { var r, i, o; const a = t.view.state.selection.$to.nodeAfter; @@ -73191,13 +73197,13 @@ const eL = new ve("mention"), tL = Ne.create({ }, addProseMirrorPlugins() { return [ - Ih({ + wg({ editor: this.editor, ...this.options.suggestion }) ]; } -}), nL = (t) => tL.configure({ +}), uL = (t) => cL.configure({ HTMLAttributes: { class: "mention" }, @@ -73256,7 +73262,7 @@ const eL = new ve("mention"), tL = Ne.create({ }; } } -}), rL = [ +}), dL = [ { icon: '', name: "AI 续写", @@ -73281,7 +73287,7 @@ const eL = new ve("mention"), tL = Ne.create({ prompt: "请根据以上的内容,生成一张图片,并把图片返回给我", model: "auto" } -], iL = ge.create({ +], pL = he.create({ name: "aiCommand", // @ts-ignore addOptions() { @@ -73294,7 +73300,7 @@ const eL = new ve("mention"), tL = Ne.create({ const i = t.state.selection.$head.parent.textContent; let o = r.model; const a = Yn.get(r.model); - a ? a == null || a.chat(i, r.prompt, new Oa(t)) : console.error("Ai model config error. can not find the type:" + o + " at command menu"); + a ? a == null || a.chat(i, r.prompt, new Aa(t)) : console.error("Ai model config error. can not find the type:" + o + " at command menu"); } else switch (n.index) { case 0: @@ -73427,13 +73433,13 @@ const eL = new ve("mention"), tL = Ne.create({ }, addProseMirrorPlugins() { return [ - Ih({ + wg({ editor: this.editor, ...this.options.suggestion }) ]; } -}), oL = ge.create({ +}), _L = he.create({ addProseMirrorPlugins() { const t = this.editor; return [ @@ -73454,26 +73460,26 @@ const eL = new ve("mention"), tL = Ne.create({ ]; } }); -function xh(t, e, n) { +function Lg(t, e, n) { function r(p) { return p.trim().split(" ", 2)[0] === e; } - function i(p, _, m, f, g) { - return p[_].nesting === 1 && p[_].attrJoin("class", e), g.renderToken(p, _, m, f, g); + function i(p, _, m, f, h) { + return p[_].nesting === 1 && p[_].attrJoin("class", e), h.renderToken(p, _, m, f, h); } n = n || {}; const o = 3, a = n.marker || ":", s = a.charCodeAt(0), l = a.length, c = n.validate || r, u = n.render || i; function d(p, _, m, f) { - let g, E = !1, S = p.bMarks[_] + p.tShift[_], b = p.eMarks[_]; + let h, E = !1, S = p.bMarks[_] + p.tShift[_], b = p.eMarks[_]; if (s !== p.src.charCodeAt(S)) return !1; - for (g = S + 1; g <= b && a[(g - S) % l] === p.src[g]; g++) + for (h = S + 1; h <= b && a[(h - S) % l] === p.src[h]; h++) ; - const h = Math.floor((g - S) / l); - if (h < o) + const g = Math.floor((h - S) / l); + if (g < o) return !1; - g -= (g - S) % l; - const C = p.src.slice(S, g), T = p.src.slice(g, b); + h -= (h - S) % l; + const C = p.src.slice(S, h), T = p.src.slice(h, b); if (!c(T, C)) return !1; if (f) @@ -73481,9 +73487,9 @@ function xh(t, e, n) { let R = _; for (; R++, !(R >= m || (S = p.bMarks[R] + p.tShift[R], b = p.eMarks[R], S < b && p.sCount[R] < p.blkIndent)); ) if (s === p.src.charCodeAt(S) && !(p.sCount[R] - p.blkIndent >= 4)) { - for (g = S + 1; g <= b && a[(g - S) % l] === p.src[g]; g++) + for (h = S + 1; h <= b && a[(h - S) % l] === p.src[h]; h++) ; - if (!(Math.floor((g - S) / l) < h) && (g -= (g - S) % l, g = p.skipSpaces(g), !(g < b))) { + if (!(Math.floor((h - S) / l) < g) && (h -= (h - S) % l, h = p.skipSpaces(h), !(h < b))) { E = !0; break; } @@ -73493,13 +73499,13 @@ function xh(t, e, n) { const M = p.push("container_" + e + "_open", "div", 1); M.markup = C, M.block = !0, M.info = T, M.map = [_, R], p.md.block.tokenize(p, _ + 1, R); const B = p.push("container_" + e + "_close", "div", -1); - return B.markup = p.src.slice(S, g), B.block = !0, p.parentType = x, p.lineMax = O, p.line = R + (E ? 1 : 0), !0; + return B.markup = p.src.slice(S, h), B.block = !0, p.parentType = x, p.lineMax = O, p.line = R + (E ? 1 : 0), !0; } t.block.ruler.before("fence", "container_" + e, d, { alt: ["paragraph", "reference", "blockquote", "list"] }), t.renderer.rules["container_" + e + "_open"] = u, t.renderer.rules["container_" + e + "_close"] = u; } -const aL = /^:::([a-z]+)?[\s\n]$/, sL = Ne.create({ +const mL = /^:::([a-z]+)?[\s\n]$/, fL = Ne.create({ name: "container", group: "block", content: "block+", @@ -73522,7 +73528,7 @@ const aL = /^:::([a-z]+)?[\s\n]$/, sL = Ne.create({ parse: { setup: (t) => { this.options.classes.forEach((e) => { - t.use(xh, e); + t.use(Lg, e); }); } } @@ -73564,7 +73570,7 @@ const aL = /^:::([a-z]+)?[\s\n]$/, sL = Ne.create({ addInputRules() { return [ Sr({ - find: aL, + find: mL, type: this.type, getAttributes: (t) => ({ containerClass: t[1] @@ -73572,7 +73578,7 @@ const aL = /^:::([a-z]+)?[\s\n]$/, sL = Ne.create({ }) ]; } -}), lL = _g.extend({ +}), hL = gh.extend({ addAttributes() { var t; return { @@ -73582,14 +73588,14 @@ const aL = /^:::([a-z]+)?[\s\n]$/, sL = Ne.create({ } }; } -}), cL = ge.create({ +}), gL = he.create({ name: "saveExt", addKeyboardShortcuts() { return { "Mod-s": ({ editor: t }) => this.options.onSave ? this.options.onSave(t.aiEditor) : !1 }; } -}), uL = Ne.create({ +}), EL = Ne.create({ name: "figure", content: "block+", group: "block", @@ -73609,7 +73615,7 @@ const aL = /^:::([a-z]+)?[\s\n]$/, sL = Ne.create({ renderHTML({ HTMLAttributes: t }) { return ["figure", pe(this.options.HTMLAttributes, t), 0]; } -}), dL = Ne.create({ +}), SL = Ne.create({ name: "figcaption", content: "inline*", group: "block", @@ -73627,14 +73633,14 @@ const aL = /^:::([a-z]+)?[\s\n]$/, sL = Ne.create({ renderHTML({ HTMLAttributes: t }) { return ["figcaption", pe(this.options.HTMLAttributes, t), 0]; } -}), pL = (t, e) => { +}), bL = (t, e) => { const n = new RegExp(`<${e}[^>]*>(.*?)`, "gi"); return t.replace(n, (r, i) => i); -}, _L = (t, e) => { +}, TL = (t, e) => { for (let n of e) - t = pL(t, n); + t = bL(t, n); return t; -}, mL = (t, e, n) => { +}, CL = (t, e, n) => { function r(u) { const d = document.createDocumentFragment(); for (; u.firstChild; ) { @@ -73665,18 +73671,18 @@ const aL = /^:::([a-z]+)?[\s\n]$/, sL = Ne.create({ const _ = d[p], m = d[p + 1]; if (_.nextSibling === m) { let f = _.previousSibling; - const g = []; + const h = []; for (; f && f.nodeName !== "P"; ) - g.unshift(f), f = f.previousSibling; + h.unshift(f), f = f.previousSibling; const E = document.createElement("p"); - g.forEach((S) => E.appendChild(S)), _.replaceWith(E), m.remove(), p++; + h.forEach((S) => E.appendChild(S)), _.replaceWith(E), m.remove(), p++; } } } t = t.replace(/(\n)/gm, " "); const s = new DOMParser().parseFromString(t, "text/html"), l = i(s.body), c = document.createElement("div"); return l && (c.appendChild(l), o(c)), c.innerHTML; -}, fL = (t) => { +}, yL = (t) => { var i; const e = t.documentElement.getAttributeNames(); if (e && e.length > 0) @@ -73693,12 +73699,12 @@ const aL = /^:::([a-z]+)?[\s\n]$/, sL = Ne.create({ } const r = (i = t.body.innerHTML) == null ? void 0 : i.trim(); return !!(r != null && r.startsWith(""))); -}, gL = (t) => { +}, vL = (t) => { const e = document.createElement("div"); return e.innerHTML = t, e.querySelectorAll("p").forEach((r) => { (!r.textContent || r.textContent.trim() === "") && r.remove(); }), e.innerHTML; -}, hL = (t) => { +}, RL = (t) => { const n = new DOMParser().parseFromString(t, "text/html"), r = document.createDocumentFragment(), i = n.body.children; for (let a of i) a.hasAttribute("data-pm-slice") ? a.childNodes.forEach((s) => { @@ -73706,7 +73712,19 @@ const aL = /^:::([a-z]+)?[\s\n]$/, sL = Ne.create({ }) : r.appendChild(a.cloneNode(!0)); const o = document.createElement("div"); return o.appendChild(r), o.innerHTML; -}, EL = ge.create({ +}, OL = (t) => { + if (!t) return ""; + const n = new DOMParser().parseFromString(t, "text/html"), r = n.querySelectorAll("li"); + r && r.forEach((o) => { + o.innerHTML || (o.innerHTML = "

"); + }); + let i = ""; + for (let o = 0; o < n.body.children.length; o++) { + const a = n.body.children[o]; + o == 0 && a.tagName === "P" ? i += a.innerHTML : i += a.querySelector("img") ? a.innerHTML : a.outerHTML; + } + return i; +}, NL = he.create({ name: "pasteExt", priority: 1e3, addProseMirrorPlugins() { @@ -73725,23 +73743,23 @@ const aL = /^:::([a-z]+)?[\s\n]$/, sL = Ne.create({ return a(o.replaceSelection(new H(i, 0, 0)).scrollIntoView()), !0; } } else if (r) { - r = hL(r); + r = RL(r); const { options: i } = this.editor.aiEditor; if (i.htmlPasteConfig) { if (i.htmlPasteConfig.pasteAsText) - r = mL(r, ["p", "br"]); + r = CL(r, ["p", "br"]); else if (i.htmlPasteConfig.pasteClean) { - r = _L(r, ["a", "span", "strong", "b", "em", "i", "u"]); + r = TL(r, ["a", "span", "strong", "b", "em", "i", "u"]); const s = new DOMParser().parseFromString(r, "text/html").documentElement.querySelector("body"); s && (s == null || s.querySelectorAll("*").forEach((l) => { l.removeAttribute("style"); }), r = s == null ? void 0 : s.innerHTML); } - if (i.htmlPasteConfig.removeEmptyParagraphs !== !1 && (r = gL(r)), i.htmlPasteConfig.pasteProcessor && (r = i.htmlPasteConfig.pasteProcessor(r)), r) + if (i.htmlPasteConfig.removeEmptyParagraphs !== !1 && (r = vL(r)), i.htmlPasteConfig.pasteProcessor && (r = i.htmlPasteConfig.pasteProcessor(r)), r) return this.editor.commands.insertContent(r), !0; } else if (n && r) { const a = new DOMParser().parseFromString(r, "text/html"), s = a.querySelector("table"); - if (s && fL(a)) + if (s && yL(a)) return this.editor.commands.insertContent(s.outerHTML, { parseOptions: { preserveWhitespace: !1 @@ -73754,7 +73772,7 @@ const aL = /^:::([a-z]+)?[\s\n]$/, sL = Ne.create({ }) ]; } -}), SL = ge.create({ +}), AL = he.create({ name: "className", addOptions() { return { @@ -73810,37 +73828,37 @@ const aL = /^:::([a-z]+)?[\s\n]$/, sL = Ne.create({ } }); } -}), bL = (t, e) => { - var r, i, o, a, s, l, c, u, d, p, _, m, f, g, E, S, b, h, C, T, R, x, O, M, B, Y, $, q, V; - const n = [LR.configure({ +}), IL = (t, e) => { + var r, i, o, a, s, l, c, u, d, p, _, m, f, h, E, S, b, g, C, T, R, x, O, M, B, Y, $, q, V; + const n = [VR.configure({ codeBlock: !1, heading: !1 })]; return n.push( - kR, - PR, - FR, - lL, - GR.configure({ + YR, + zR, + $R, + hL, + QR.configure({ uploadUrl: (r = e.attachment) == null ? void 0 : r.uploadUrl, uploadHeaders: (i = e.attachment) == null ? void 0 : i.uploadHeaders, uploadFormName: (o = e.attachment) == null ? void 0 : o.uploadFormName, uploader: ((a = e.attachment) == null ? void 0 : a.uploader) || e.uploader, uploaderEvent: (s = e.attachment) == null ? void 0 : s.uploaderEvent }), - VR, - oL, - $R.configure({ + ZR, + _L, + JR.configure({ multicolor: !0 }), - qR, - WR, - KR, - QR.configure({ + eO, + tO, + nO, + rO.configure({ types: ["heading", "paragraph"] }), - ZR, - eO.configure({ + iO, + lO.configure({ allowBase64: typeof ((l = e.image) == null ? void 0 : l.allowBase64) > "u" ? !0 : (c = e.image) == null ? void 0 : c.allowBase64, defaultSize: ((u = e.image) == null ? void 0 : u.defaultSize) || 350, uploadUrl: (d = e.image) == null ? void 0 : d.uploadUrl, @@ -73849,36 +73867,36 @@ const aL = /^:::([a-z]+)?[\s\n]$/, sL = Ne.create({ uploader: ((m = e.image) == null ? void 0 : m.uploader) || e.uploader, uploaderEvent: (f = e.image) == null ? void 0 : f.uploaderEvent }), - rN.configure({ + dN.configure({ resizable: !0, lastColumnResizable: !0, allowTableNodeSelection: !0 }), - iN, - oN, - aN, - typeof e.textCounter == "function" ? jp.configure({ + pN, + _N, + mN, + typeof e.textCounter == "function" ? t_.configure({ textCounter: e.textCounter - }) : jp, - xN.configure({ + }) : t_, + BN.configure({ openOnClick: !1, - autolink: typeof ((g = e.link) == null ? void 0 : g.autolink) > "u" ? !0 : (E = e.link) == null ? void 0 : E.autolink, + autolink: typeof ((h = e.link) == null ? void 0 : h.autolink) > "u" ? !0 : (E = e.link) == null ? void 0 : E.autolink, HTMLAttributes: { ref: (S = e == null ? void 0 : e.link) == null ? void 0 : S.rel, class: (b = e == null ? void 0 : e.link) == null ? void 0 : b.class } }), - DN, - MN, - wN, - kN.configure({ + UN, + HN, + GN, + YN.configure({ nested: !0 }), - BA.configure({ - lowlight: u2(mw), + qA.configure({ + lowlight: E2(Cw), defaultLanguage: "auto", languageClassPrefix: "language-", - languages: ((h = e.codeBlock) == null ? void 0 : h.languages) || Zg, + languages: ((g = e.codeBlock) == null ? void 0 : g.languages) || eg, codeExplainAi: ((T = (C = e.ai) == null ? void 0 : C.codeBlock) == null ? void 0 : T.codeExplain) || { model: "auto", prompt: ((R = e.codeBlock) == null ? void 0 : R.codeExplainPrompt) || "帮我对这个代码进行解释,返回代码的解释内容,注意,不需要对代码的注释进行解释" @@ -73888,34 +73906,34 @@ const aL = /^:::([a-z]+)?[\s\n]$/, sL = Ne.create({ prompt: ((M = e.codeBlock) == null ? void 0 : M.codeCommentsPrompt) || "帮我对这个代码添加一些注释,并返回添加注释的代码,只返回代码" } }), - _2.configure({ + T2.configure({ uploadUrl: (B = e.video) == null ? void 0 : B.uploadUrl, uploadHeaders: (Y = e.video) == null ? void 0 : Y.uploadHeaders, uploadFormName: ($ = e.video) == null ? void 0 : $.uploadFormName, uploader: ((q = e.video) == null ? void 0 : q.uploader) || e.uploader, uploaderEvent: (V = e.video) == null ? void 0 : V.uploaderEvent }), - m2, - uL, - dL, - cL.configure({ - onSave: e.onSave - }), + C2, EL, SL, - sL, - ...Z2(t) - ), e.placeholder && n.push(X2.configure({ + gL.configure({ + onSave: e.onSave + }), + NL, + AL, + fL, + ...iL(t) + ), e.placeholder && n.push(oL.configure({ placeholder: e.placeholder - })), n.push(iL.configure({ + })), n.push(pL.configure({ suggestion: { items: (J) => { var v; - return ((v = e.ai) == null ? void 0 : v.commands) || rL; + return ((v = e.ai) == null ? void 0 : v.commands) || dL; } } - })), e.onMentionQuery && n.push(nL(e.onMentionQuery)), n; -}, TL = { + })), e.onMentionQuery && n.push(uL(e.onMentionQuery)), n; +}, xL = { ////commons default: "默认", delete: "删除", @@ -74025,7 +74043,7 @@ const aL = /^:::([a-z]+)?[\s\n]$/, sL = Ne.create({ "ai-optimization": "AI 优化", "ai-proofreading": "AI 校对", "ai-translation": "AI 翻译" -}, CL = { +}, DL = { ////commons default: "Default", delete: "Delete", @@ -74135,7 +74153,7 @@ const aL = /^:::([a-z]+)?[\s\n]$/, sL = Ne.create({ "ai-optimization": "Optimization", "ai-proofreading": "Proofreading", "ai-translation": "Translation" -}, yL = { +}, ML = { //// commons default: "Standard", delete: "Löschen", @@ -74245,7 +74263,7 @@ const aL = /^:::([a-z]+)?[\s\n]$/, sL = Ne.create({ "ai-optimization": "Optimierung", "ai-proofreading": "Korrekturlesen", "ai-translation": "Übersetzung" -}, vL = { +}, wL = { //// commons default: "Padrão", delete: "Excluir", @@ -74355,7 +74373,7 @@ const aL = /^:::([a-z]+)?[\s\n]$/, sL = Ne.create({ "ai-optimization": "Otimização", "ai-proofreading": "Revisão", "ai-translation": "Tradução" -}, RL = { +}, LL = { ////commons default: "Predeterminado", delete: "Eliminar", @@ -74465,7 +74483,7 @@ const aL = /^:::([a-z]+)?[\s\n]$/, sL = Ne.create({ "ai-optimization": "Optimización con IA", "ai-proofreading": "Corrección con IA", "ai-translation": "Traducción con IA" -}, OL = { +}, kL = { ////commons default: "डिफ़ॉल्ट", delete: "हटाएं", @@ -74575,7 +74593,7 @@ const aL = /^:::([a-z]+)?[\s\n]$/, sL = Ne.create({ "ai-optimization": "AI अनुकूलन", "ai-proofreading": "AI प्रूफरीडिंग", "ai-translation": "AI अनुवाद" -}, NL = { +}, PL = { ////commons default: "Default", delete: "Hapus", @@ -74685,7 +74703,7 @@ const aL = /^:::([a-z]+)?[\s\n]$/, sL = Ne.create({ "ai-optimization": "AI Optimasi", "ai-proofreading": "AI Koreksi", "ai-translation": "AI Terjemahan" -}, AL = { +}, FL = { ////commons default: "デフォルト", delete: "削除", @@ -74795,7 +74813,7 @@ const aL = /^:::([a-z]+)?[\s\n]$/, sL = Ne.create({ "ai-optimization": "AI最適化", "ai-proofreading": "AI校正", "ai-translation": "AI翻訳" -}, IL = { +}, BL = { ////commons default: "기본값", delete: "삭제", @@ -74905,7 +74923,7 @@ const aL = /^:::([a-z]+)?[\s\n]$/, sL = Ne.create({ "ai-optimization": "AI 최적화", "ai-proofreading": "AI 교정", "ai-translation": "AI 번역" -}, xL = { +}, UL = { ////commons default: "ค่าเริ่มต้น", delete: "ลบ", @@ -75015,7 +75033,7 @@ const aL = /^:::([a-z]+)?[\s\n]$/, sL = Ne.create({ "ai-optimization": "AI ปรับแต่ง", "ai-proofreading": "AI พิสูจน์อักษร", "ai-translation": "AI แปล" -}, DL = { +}, HL = { ////commons default: "Mặc định", delete: "Xóa", @@ -75125,12 +75143,12 @@ const aL = /^:::([a-z]+)?[\s\n]$/, sL = Ne.create({ "ai-optimization": "AI Tối ưu hóa", "ai-proofreading": "AI Hiệu đính", "ai-translation": "AI Dịch" -}, F_ = {}; -function ML(t) { - let e = F_[t]; +}, H_ = {}; +function GL(t) { + let e = H_[t]; if (e) return e; - e = F_[t] = []; + e = H_[t] = []; for (let n = 0; n < 128; n++) { const r = String.fromCharCode(n); e.push(r); @@ -75143,7 +75161,7 @@ function ML(t) { } function di(t, e) { typeof e != "string" && (e = di.defaultChars); - const n = ML(e); + const n = GL(e); return t.replace(/(%[a-f0-9]{2})+/gi, function(r) { let i = ""; for (let o = 0, a = r.length; o < a; o += 3) { @@ -75183,12 +75201,12 @@ function di(t, e) { } di.defaultChars = ";/?:@&=+$,#"; di.componentChars = ""; -const B_ = {}; -function wL(t) { - let e = B_[t]; +const G_ = {}; +function VL(t) { + let e = G_[t]; if (e) return e; - e = B_[t] = []; + e = G_[t] = []; for (let n = 0; n < 128; n++) { const r = String.fromCharCode(n); /^[0-9a-z]$/i.test(r) ? e.push(r) : e.push("%" + ("0" + n.toString(16).toUpperCase()).slice(-2)); @@ -75197,9 +75215,9 @@ function wL(t) { e[t.charCodeAt(n)] = t[n]; return e; } -function So(t, e, n) { - typeof e != "string" && (n = e, e = So.defaultChars), typeof n > "u" && (n = !0); - const r = wL(e); +function bo(t, e, n) { + typeof e != "string" && (n = e, e = bo.defaultChars), typeof n > "u" && (n = !0); + const r = VL(e); let i = ""; for (let o = 0, a = t.length; o < a; o++) { const s = t.charCodeAt(o); @@ -75226,20 +75244,20 @@ function So(t, e, n) { } return i; } -So.defaultChars = ";/?:@&=+$,-_.!~*'()#"; -So.componentChars = "-_.!~*'()"; -function bu(t) { +bo.defaultChars = ";/?:@&=+$,-_.!~*'()#"; +bo.componentChars = "-_.!~*'()"; +function yu(t) { let e = ""; return e += t.protocol || "", e += t.slashes ? "//" : "", e += t.auth ? t.auth + "@" : "", t.hostname && t.hostname.indexOf(":") !== -1 ? e += "[" + t.hostname + "]" : e += t.hostname || "", e += t.port ? ":" + t.port : "", e += t.pathname || "", e += t.search || "", e += t.hash || "", e; } -function Ka() { +function Za() { this.protocol = null, this.slashes = null, this.auth = null, this.port = null, this.hostname = null, this.hash = null, this.search = null, this.pathname = null; } -const LL = /^([a-z0-9.+-]+:)/i, kL = /:[0-9]*$/, PL = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, FL = ["<", ">", '"', "`", " ", "\r", ` -`, " "], BL = ["{", "}", "|", "\\", "^", "`"].concat(FL), UL = ["'"].concat(BL), U_ = ["%", "/", "?", ";", "#"].concat(UL), H_ = ["/", "?", "#"], HL = 255, G_ = /^[+a-z0-9A-Z_-]{0,63}$/, GL = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, V_ = { +const YL = /^([a-z0-9.+-]+:)/i, zL = /:[0-9]*$/, $L = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, qL = ["<", ">", '"', "`", " ", "\r", ` +`, " "], WL = ["{", "}", "|", "\\", "^", "`"].concat(qL), KL = ["'"].concat(WL), V_ = ["%", "/", "?", ";", "#"].concat(KL), Y_ = ["/", "?", "#"], QL = 255, z_ = /^[+a-z0-9A-Z_-]{0,63}$/, ZL = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, $_ = { javascript: !0, "javascript:": !0 -}, Y_ = { +}, q_ = { http: !0, https: !0, ftp: !0, @@ -75251,81 +75269,81 @@ const LL = /^([a-z0-9.+-]+:)/i, kL = /:[0-9]*$/, PL = /^(\/\/?(?!\/)[^\?\s]*)(\? "gopher:": !0, "file:": !0 }; -function Tu(t, e) { - if (t && t instanceof Ka) return t; - const n = new Ka(); +function vu(t, e) { + if (t && t instanceof Za) return t; + const n = new Za(); return n.parse(t, e), n; } -Ka.prototype.parse = function(t, e) { +Za.prototype.parse = function(t, e) { let n, r, i, o = t; if (o = o.trim(), !e && t.split("#").length === 1) { - const c = PL.exec(o); + const c = $L.exec(o); if (c) return this.pathname = c[1], c[2] && (this.search = c[2]), this; } - let a = LL.exec(o); - if (a && (a = a[0], n = a.toLowerCase(), this.protocol = a, o = o.substr(a.length)), (e || a || o.match(/^\/\/[^@\/]+@[^@\/]+/)) && (i = o.substr(0, 2) === "//", i && !(a && V_[a]) && (o = o.substr(2), this.slashes = !0)), !V_[a] && (i || a && !Y_[a])) { + let a = YL.exec(o); + if (a && (a = a[0], n = a.toLowerCase(), this.protocol = a, o = o.substr(a.length)), (e || a || o.match(/^\/\/[^@\/]+@[^@\/]+/)) && (i = o.substr(0, 2) === "//", i && !(a && $_[a]) && (o = o.substr(2), this.slashes = !0)), !$_[a] && (i || a && !q_[a])) { let c = -1; - for (let m = 0; m < H_.length; m++) - r = o.indexOf(H_[m]), r !== -1 && (c === -1 || r < c) && (c = r); + for (let m = 0; m < Y_.length; m++) + r = o.indexOf(Y_[m]), r !== -1 && (c === -1 || r < c) && (c = r); let u, d; c === -1 ? d = o.lastIndexOf("@") : d = o.lastIndexOf("@", c), d !== -1 && (u = o.slice(0, d), o = o.slice(d + 1), this.auth = u), c = -1; - for (let m = 0; m < U_.length; m++) - r = o.indexOf(U_[m]), r !== -1 && (c === -1 || r < c) && (c = r); + for (let m = 0; m < V_.length; m++) + r = o.indexOf(V_[m]), r !== -1 && (c === -1 || r < c) && (c = r); c === -1 && (c = o.length), o[c - 1] === ":" && c--; const p = o.slice(0, c); o = o.slice(c), this.parseHost(p), this.hostname = this.hostname || ""; const _ = this.hostname[0] === "[" && this.hostname[this.hostname.length - 1] === "]"; if (!_) { const m = this.hostname.split(/\./); - for (let f = 0, g = m.length; f < g; f++) { + for (let f = 0, h = m.length; f < h; f++) { const E = m[f]; - if (E && !E.match(G_)) { + if (E && !E.match(z_)) { let S = ""; - for (let b = 0, h = E.length; b < h; b++) + for (let b = 0, g = E.length; b < g; b++) E.charCodeAt(b) > 127 ? S += "x" : S += E[b]; - if (!S.match(G_)) { - const b = m.slice(0, f), h = m.slice(f + 1), C = E.match(GL); - C && (b.push(C[1]), h.unshift(C[2])), h.length && (o = h.join(".") + o), this.hostname = b.join("."); + if (!S.match(z_)) { + const b = m.slice(0, f), g = m.slice(f + 1), C = E.match(ZL); + C && (b.push(C[1]), g.unshift(C[2])), g.length && (o = g.join(".") + o), this.hostname = b.join("."); break; } } } } - this.hostname.length > HL && (this.hostname = ""), _ && (this.hostname = this.hostname.substr(1, this.hostname.length - 2)); + this.hostname.length > QL && (this.hostname = ""), _ && (this.hostname = this.hostname.substr(1, this.hostname.length - 2)); } const s = o.indexOf("#"); s !== -1 && (this.hash = o.substr(s), o = o.slice(0, s)); const l = o.indexOf("?"); - return l !== -1 && (this.search = o.substr(l), o = o.slice(0, l)), o && (this.pathname = o), Y_[n] && this.hostname && !this.pathname && (this.pathname = ""), this; + return l !== -1 && (this.search = o.substr(l), o = o.slice(0, l)), o && (this.pathname = o), q_[n] && this.hostname && !this.pathname && (this.pathname = ""), this; }; -Ka.prototype.parseHost = function(t) { - let e = kL.exec(t); +Za.prototype.parseHost = function(t) { + let e = zL.exec(t); e && (e = e[0], e !== ":" && (this.port = e.substr(1)), t = t.substr(0, t.length - e.length)), t && (this.hostname = t); }; -const VL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ +const XL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, decode: di, - encode: So, - format: bu, - parse: Tu -}, Symbol.toStringTag, { value: "Module" })), Dh = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Mh = /[\0-\x1F\x7F-\x9F]/, YL = /[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/, Cu = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/, wh = /[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/, Lh = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/, zL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ + encode: bo, + format: yu, + parse: vu +}, Symbol.toStringTag, { value: "Module" })), kg = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Pg = /[\0-\x1F\x7F-\x9F]/, jL = /[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/, Ru = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/, Fg = /[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/, Bg = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/, JL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, - Any: Dh, - Cc: Mh, - Cf: YL, - P: Cu, - S: wh, - Z: Lh -}, Symbol.toStringTag, { value: "Module" })), $L = new Uint16Array( + Any: kg, + Cc: Pg, + Cf: jL, + P: Ru, + S: Fg, + Z: Bg +}, Symbol.toStringTag, { value: "Module" })), ek = new Uint16Array( // prettier-ignore 'ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((t) => t.charCodeAt(0)) -), qL = new Uint16Array( +), tk = new Uint16Array( // prettier-ignore "Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((t) => t.charCodeAt(0)) ); -var Sl; -const WL = /* @__PURE__ */ new Map([ +var Tl; +const nk = /* @__PURE__ */ new Map([ [0, 65533], // C1 Unicode control character reference replacements [128, 8364], @@ -75355,37 +75373,37 @@ const WL = /* @__PURE__ */ new Map([ [156, 339], [158, 382], [159, 376] -]), KL = ( +]), rk = ( // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, node/no-unsupported-features/es-builtins - (Sl = String.fromCodePoint) !== null && Sl !== void 0 ? Sl : function(t) { + (Tl = String.fromCodePoint) !== null && Tl !== void 0 ? Tl : function(t) { let e = ""; return t > 65535 && (t -= 65536, e += String.fromCharCode(t >>> 10 & 1023 | 55296), t = 56320 | t & 1023), e += String.fromCharCode(t), e; } ); -function QL(t) { +function ik(t) { var e; - return t >= 55296 && t <= 57343 || t > 1114111 ? 65533 : (e = WL.get(t)) !== null && e !== void 0 ? e : t; + return t >= 55296 && t <= 57343 || t > 1114111 ? 65533 : (e = nk.get(t)) !== null && e !== void 0 ? e : t; } var Ye; (function(t) { t[t.NUM = 35] = "NUM", t[t.SEMI = 59] = "SEMI", t[t.EQUALS = 61] = "EQUALS", t[t.ZERO = 48] = "ZERO", t[t.NINE = 57] = "NINE", t[t.LOWER_A = 97] = "LOWER_A", t[t.LOWER_F = 102] = "LOWER_F", t[t.LOWER_X = 120] = "LOWER_X", t[t.LOWER_Z = 122] = "LOWER_Z", t[t.UPPER_A = 65] = "UPPER_A", t[t.UPPER_F = 70] = "UPPER_F", t[t.UPPER_Z = 90] = "UPPER_Z"; })(Ye || (Ye = {})); -const ZL = 32; +const ok = 32; var Pn; (function(t) { t[t.VALUE_LENGTH = 49152] = "VALUE_LENGTH", t[t.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", t[t.JUMP_TABLE = 127] = "JUMP_TABLE"; })(Pn || (Pn = {})); -function gc(t) { +function Ec(t) { return t >= Ye.ZERO && t <= Ye.NINE; } -function XL(t) { +function ak(t) { return t >= Ye.UPPER_A && t <= Ye.UPPER_F || t >= Ye.LOWER_A && t <= Ye.LOWER_F; } -function jL(t) { - return t >= Ye.UPPER_A && t <= Ye.UPPER_Z || t >= Ye.LOWER_A && t <= Ye.LOWER_Z || gc(t); +function sk(t) { + return t >= Ye.UPPER_A && t <= Ye.UPPER_Z || t >= Ye.LOWER_A && t <= Ye.LOWER_Z || Ec(t); } -function JL(t) { - return t === Ye.EQUALS || jL(t); +function lk(t) { + return t === Ye.EQUALS || sk(t); } var Ve; (function(t) { @@ -75395,7 +75413,7 @@ var In; (function(t) { t[t.Legacy = 0] = "Legacy", t[t.Strict = 1] = "Strict", t[t.Attribute = 2] = "Attribute"; })(In || (In = {})); -class ek { +class ck { constructor(e, n, r) { this.decodeTree = e, this.emitCodePoint = n, this.errors = r, this.state = Ve.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = In.Strict; } @@ -75438,7 +75456,7 @@ class ek { * @returns The number of characters that were consumed, or -1 if the entity is incomplete. */ stateNumericStart(e, n) { - return n >= e.length ? -1 : (e.charCodeAt(n) | ZL) === Ye.LOWER_X ? (this.state = Ve.NumericHex, this.consumed += 1, this.stateNumericHex(e, n + 1)) : (this.state = Ve.NumericDecimal, this.stateNumericDecimal(e, n)); + return n >= e.length ? -1 : (e.charCodeAt(n) | ok) === Ye.LOWER_X ? (this.state = Ve.NumericHex, this.consumed += 1, this.stateNumericHex(e, n + 1)) : (this.state = Ve.NumericDecimal, this.stateNumericDecimal(e, n)); } addToNumericResult(e, n, r, i) { if (n !== r) { @@ -75459,7 +75477,7 @@ class ek { const r = n; for (; n < e.length; ) { const i = e.charCodeAt(n); - if (gc(i) || XL(i)) + if (Ec(i) || ak(i)) n += 1; else return this.addToNumericResult(e, r, n, 16), this.emitNumericEntity(i, 3); @@ -75479,7 +75497,7 @@ class ek { const r = n; for (; n < e.length; ) { const i = e.charCodeAt(n); - if (gc(i)) + if (Ec(i)) n += 1; else return this.addToNumericResult(e, r, n, 10), this.emitNumericEntity(i, 2); @@ -75507,7 +75525,7 @@ class ek { this.consumed += 1; else if (this.decodeMode === In.Strict) return 0; - return this.emitCodePoint(QL(this.result), this.consumed), this.errors && (e !== Ye.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed; + return this.emitCodePoint(ik(this.result), this.consumed), this.errors && (e !== Ye.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed; } /** * Parses a named entity. @@ -75523,11 +75541,11 @@ class ek { let i = r[this.treeIndex], o = (i & Pn.VALUE_LENGTH) >> 14; for (; n < e.length; n++, this.excess++) { const a = e.charCodeAt(n); - if (this.treeIndex = tk(r, i, this.treeIndex + Math.max(1, o), a), this.treeIndex < 0) + if (this.treeIndex = uk(r, i, this.treeIndex + Math.max(1, o), a), this.treeIndex < 0) return this.result === 0 || // If we are parsing an attribute this.decodeMode === In.Attribute && // We shouldn't have consumed any characters after the entity, (o === 0 || // And there should be no invalid characters. - JL(a)) ? 0 : this.emitNotTerminatedNamedEntity(); + lk(a)) ? 0 : this.emitNotTerminatedNamedEntity(); if (i = r[this.treeIndex], o = (i & Pn.VALUE_LENGTH) >> 14, o !== 0) { if (a === Ye.SEMI) return this.emitNamedEntityData(this.treeIndex, o, this.consumed + this.excess); @@ -75582,9 +75600,9 @@ class ek { } } } -function kh(t) { +function Ug(t) { let e = ""; - const n = new ek(t, (r) => e += KL(r)); + const n = new ck(t, (r) => e += rk(r)); return function(i, o) { let a = 0, s = 0; for (; (s = i.indexOf("&", s)) >= 0; ) { @@ -75604,7 +75622,7 @@ function kh(t) { return e = "", l; }; } -function tk(t, e, n, r) { +function uk(t, e, n, r) { const i = (e & Pn.BRANCH_LENGTH) >> 7, o = e & Pn.JUMP_TABLE; if (i === 0) return o !== 0 && r === o ? n : -1; @@ -75624,22 +75642,22 @@ function tk(t, e, n, r) { } return -1; } -const nk = kh($L); -kh(qL); -function Ph(t, e = In.Legacy) { - return nk(t, e); +const dk = Ug(ek); +Ug(tk); +function Hg(t, e = In.Legacy) { + return dk(t, e); } -function rk(t) { +function pk(t) { return Object.prototype.toString.call(t); } -function yu(t) { - return rk(t) === "[object String]"; +function Ou(t) { + return pk(t) === "[object String]"; } -const ik = Object.prototype.hasOwnProperty; -function ok(t, e) { - return ik.call(t, e); +const _k = Object.prototype.hasOwnProperty; +function mk(t, e) { + return _k.call(t, e); } -function Os(t) { +function As(t) { return Array.prototype.slice.call(arguments, 1).forEach(function(n) { if (n) { if (typeof n != "object") @@ -75650,13 +75668,13 @@ function Os(t) { } }), t; } -function Fh(t, e, n) { +function Gg(t, e, n) { return [].concat(t.slice(0, e), n, t.slice(e + 1)); } -function vu(t) { +function Nu(t) { return !(t >= 55296 && t <= 57343 || t >= 64976 && t <= 65007 || (t & 65535) === 65535 || (t & 65535) === 65534 || t >= 0 && t <= 8 || t === 11 || t >= 14 && t <= 31 || t >= 127 && t <= 159 || t > 1114111); } -function Qa(t) { +function Xa(t) { if (t > 65535) { t -= 65536; const e = 55296 + (t >> 10), n = 56320 + (t & 1023); @@ -75664,38 +75682,38 @@ function Qa(t) { } return String.fromCharCode(t); } -const Bh = /\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g, ak = /&([a-z#][a-z0-9]{1,31});/gi, sk = new RegExp(Bh.source + "|" + ak.source, "gi"), lk = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i; -function ck(t, e) { - if (e.charCodeAt(0) === 35 && lk.test(e)) { +const Vg = /\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g, fk = /&([a-z#][a-z0-9]{1,31});/gi, hk = new RegExp(Vg.source + "|" + fk.source, "gi"), gk = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i; +function Ek(t, e) { + if (e.charCodeAt(0) === 35 && gk.test(e)) { const r = e[1].toLowerCase() === "x" ? parseInt(e.slice(2), 16) : parseInt(e.slice(1), 10); - return vu(r) ? Qa(r) : t; + return Nu(r) ? Xa(r) : t; } - const n = Ph(t); + const n = Hg(t); return n !== t ? n : t; } -function uk(t) { - return t.indexOf("\\") < 0 ? t : t.replace(Bh, "$1"); +function Sk(t) { + return t.indexOf("\\") < 0 ? t : t.replace(Vg, "$1"); } function pi(t) { - return t.indexOf("\\") < 0 && t.indexOf("&") < 0 ? t : t.replace(sk, function(e, n, r) { - return n || ck(e, r); + return t.indexOf("\\") < 0 && t.indexOf("&") < 0 ? t : t.replace(hk, function(e, n, r) { + return n || Ek(e, r); }); } -const dk = /[&<>"]/, pk = /[&<>"]/g, _k = { +const bk = /[&<>"]/, Tk = /[&<>"]/g, Ck = { "&": "&", "<": "<", ">": ">", '"': """ }; -function mk(t) { - return _k[t]; +function yk(t) { + return Ck[t]; } function zn(t) { - return dk.test(t) ? t.replace(pk, mk) : t; + return bk.test(t) ? t.replace(Tk, yk) : t; } -const fk = /[.?*+^$[\]\\(){}|-]/g; -function gk(t) { - return t.replace(fk, "\\$&"); +const vk = /[.?*+^$[\]\\(){}|-]/g; +function Rk(t) { + return t.replace(vk, "\\$&"); } function Oe(t) { switch (t) { @@ -75705,7 +75723,7 @@ function Oe(t) { } return !1; } -function so(t) { +function lo(t) { if (t >= 8192 && t <= 8202) return !0; switch (t) { @@ -75724,10 +75742,10 @@ function so(t) { } return !1; } -function lo(t) { - return Cu.test(t) || wh.test(t); -} function co(t) { + return Ru.test(t) || Fg.test(t); +} +function uo(t) { switch (t) { case 33: case 34: @@ -75766,29 +75784,29 @@ function co(t) { return !1; } } -function Ns(t) { +function Is(t) { return t = t.trim().replace(/\s+/g, " "), "ẞ".toLowerCase() === "Ṿ" && (t = t.replace(/ẞ/g, "ß")), t.toLowerCase().toUpperCase(); } -const hk = { mdurl: VL, ucmicro: zL }, Ek = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ +const Ok = { mdurl: XL, ucmicro: JL }, Nk = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, - arrayReplaceAt: Fh, - assign: Os, + arrayReplaceAt: Gg, + assign: As, escapeHtml: zn, - escapeRE: gk, - fromCodePoint: Qa, - has: ok, - isMdAsciiPunct: co, - isPunctChar: lo, + escapeRE: Rk, + fromCodePoint: Xa, + has: mk, + isMdAsciiPunct: uo, + isPunctChar: co, isSpace: Oe, - isString: yu, - isValidEntityCode: vu, - isWhiteSpace: so, - lib: hk, - normalizeReference: Ns, + isString: Ou, + isValidEntityCode: Nu, + isWhiteSpace: lo, + lib: Ok, + normalizeReference: Is, unescapeAll: pi, - unescapeMd: uk + unescapeMd: Sk }, Symbol.toStringTag, { value: "Module" })); -function Sk(t, e, n) { +function Ak(t, e, n) { let r, i, o, a; const s = t.posMax, l = t.pos; for (t.pos = e + 1, r = 1; t.pos < s; ) { @@ -75806,7 +75824,7 @@ function Sk(t, e, n) { let c = -1; return i && (c = t.pos), t.pos = l, c; } -function bk(t, e, n) { +function Ik(t, e, n) { let r, i = e; const o = { ok: !1, @@ -75846,7 +75864,7 @@ function bk(t, e, n) { } return e === i || a !== 0 || (o.str = pi(t.slice(e, i)), o.pos = i, o.ok = !0), o; } -function Tk(t, e, n, r) { +function xk(t, e, n, r) { let i, o = e; const a = { // if `true`, this is a valid link title @@ -75879,11 +75897,11 @@ function Tk(t, e, n, r) { } return a.can_continue = !0, a.str += pi(t.slice(e, o)), a; } -const Ck = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ +const Dk = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, - parseLinkDestination: bk, - parseLinkLabel: Sk, - parseLinkTitle: Tk + parseLinkDestination: Ik, + parseLinkLabel: Ak, + parseLinkTitle: xk }, Symbol.toStringTag, { value: "Module" })), an = {}; an.code_inline = function(t, e, n, r, i) { const o = t[e]; @@ -75942,7 +75960,7 @@ an.html_inline = function(t, e) { return t[e].content; }; function gi() { - this.rules = Os({}, an); + this.rules = As({}, an); } gi.prototype.renderAttrs = function(e) { let n, r, i; @@ -76007,16 +76025,16 @@ gi.prototype.render = function(t, e, n) { } return r; }; -function gt() { +function ht() { this.__rules__ = [], this.__cache__ = null; } -gt.prototype.__find__ = function(t) { +ht.prototype.__find__ = function(t) { for (let e = 0; e < this.__rules__.length; e++) if (this.__rules__[e].name === t) return e; return -1; }; -gt.prototype.__compile__ = function() { +ht.prototype.__compile__ = function() { const t = this, e = [""]; t.__rules__.forEach(function(n) { n.enabled && n.alt.forEach(function(r) { @@ -76028,13 +76046,13 @@ gt.prototype.__compile__ = function() { }); }); }; -gt.prototype.at = function(t, e, n) { +ht.prototype.at = function(t, e, n) { const r = this.__find__(t), i = n || {}; if (r === -1) throw new Error("Parser rule not found: " + t); this.__rules__[r].fn = e, this.__rules__[r].alt = i.alt || [], this.__cache__ = null; }; -gt.prototype.before = function(t, e, n, r) { +ht.prototype.before = function(t, e, n, r) { const i = this.__find__(t), o = r || {}; if (i === -1) throw new Error("Parser rule not found: " + t); @@ -76045,7 +76063,7 @@ gt.prototype.before = function(t, e, n, r) { alt: o.alt || [] }), this.__cache__ = null; }; -gt.prototype.after = function(t, e, n, r) { +ht.prototype.after = function(t, e, n, r) { const i = this.__find__(t), o = r || {}; if (i === -1) throw new Error("Parser rule not found: " + t); @@ -76056,7 +76074,7 @@ gt.prototype.after = function(t, e, n, r) { alt: o.alt || [] }), this.__cache__ = null; }; -gt.prototype.push = function(t, e, n) { +ht.prototype.push = function(t, e, n) { const r = n || {}; this.__rules__.push({ name: t, @@ -76065,7 +76083,7 @@ gt.prototype.push = function(t, e, n) { alt: r.alt || [] }), this.__cache__ = null; }; -gt.prototype.enable = function(t, e) { +ht.prototype.enable = function(t, e) { Array.isArray(t) || (t = [t]); const n = []; return t.forEach(function(r) { @@ -76078,12 +76096,12 @@ gt.prototype.enable = function(t, e) { this.__rules__[i].enabled = !0, n.push(r); }, this), this.__cache__ = null, n; }; -gt.prototype.enableOnly = function(t, e) { +ht.prototype.enableOnly = function(t, e) { Array.isArray(t) || (t = [t]), this.__rules__.forEach(function(n) { n.enabled = !1; }), this.enable(t, e); }; -gt.prototype.disable = function(t, e) { +ht.prototype.disable = function(t, e) { Array.isArray(t) || (t = [t]); const n = []; return t.forEach(function(r) { @@ -76096,7 +76114,7 @@ gt.prototype.disable = function(t, e) { this.__rules__[i].enabled = !1, n.push(r); }, this), this.__cache__ = null, n; }; -gt.prototype.getRules = function(t) { +ht.prototype.getRules = function(t) { return this.__cache__ === null && this.__compile__(), this.__cache__[t] || []; }; function Yt(t, e, n) { @@ -76127,34 +76145,34 @@ Yt.prototype.attrJoin = function(e, n) { const r = this.attrIndex(e); r < 0 ? this.attrPush([e, n]) : this.attrs[r][1] = this.attrs[r][1] + " " + n; }; -function Uh(t, e, n) { +function Yg(t, e, n) { this.src = t, this.env = n, this.tokens = [], this.inlineMode = !1, this.md = e; } -Uh.prototype.Token = Yt; -const yk = /\r\n?|\n/g, vk = /\0/g; -function Rk(t) { +Yg.prototype.Token = Yt; +const Mk = /\r\n?|\n/g, wk = /\0/g; +function Lk(t) { let e; - e = t.src.replace(yk, ` -`), e = e.replace(vk, "�"), t.src = e; + e = t.src.replace(Mk, ` +`), e = e.replace(wk, "�"), t.src = e; } -function Ok(t) { +function kk(t) { let e; t.inlineMode ? (e = new t.Token("inline", "", 0), e.content = t.src, e.map = [0, 1], e.children = [], t.tokens.push(e)) : t.md.block.parse(t.src, t.md, t.env, t.tokens); } -function Nk(t) { +function Pk(t) { const e = t.tokens; for (let n = 0, r = e.length; n < r; n++) { const i = e[n]; i.type === "inline" && t.md.inline.parse(i.content, t.md, t.env, i.children); } } -function Ak(t) { +function Fk(t) { return /^\s]/i.test(t); } -function Ik(t) { +function Bk(t) { return /^<\/a\s*>/i.test(t); } -function xk(t) { +function Uk(t) { const e = t.tokens; if (t.md.options.linkify) for (let n = 0, r = e.length; n < r; n++) { @@ -76168,7 +76186,7 @@ function xk(t) { a--; continue; } - if (s.type === "html_inline" && (Ak(s.content) && o > 0 && o--, Ik(s.content) && o++), !(o > 0) && s.type === "text" && t.md.linkify.test(s.content)) { + if (s.type === "html_inline" && (Fk(s.content) && o > 0 && o--, Bk(s.content) && o++), !(o > 0) && s.type === "text" && t.md.linkify.test(s.content)) { const l = s.content; let c = t.md.linkify.match(l); const u = []; @@ -76178,8 +76196,8 @@ function xk(t) { const m = c[_].url, f = t.md.normalizeLink(m); if (!t.md.validateLink(f)) continue; - let g = c[_].text; - c[_].schema ? c[_].schema === "mailto:" && !/^mailto:/i.test(g) ? g = t.md.normalizeLinkText("mailto:" + g).replace(/^mailto:/, "") : g = t.md.normalizeLinkText(g) : g = t.md.normalizeLinkText("http://" + g).replace(/^http:\/\//, ""); + let h = c[_].text; + c[_].schema ? c[_].schema === "mailto:" && !/^mailto:/i.test(h) ? h = t.md.normalizeLinkText("mailto:" + h).replace(/^mailto:/, "") : h = t.md.normalizeLinkText(h) : h = t.md.normalizeLinkText("http://" + h).replace(/^http:\/\//, ""); const E = c[_].index; if (E > p) { const C = new t.Token("text", "", 0); @@ -76188,52 +76206,52 @@ function xk(t) { const S = new t.Token("link_open", "a", 1); S.attrs = [["href", f]], S.level = d++, S.markup = "linkify", S.info = "auto", u.push(S); const b = new t.Token("text", "", 0); - b.content = g, b.level = d, u.push(b); - const h = new t.Token("link_close", "a", -1); - h.level = --d, h.markup = "linkify", h.info = "auto", u.push(h), p = c[_].lastIndex; + b.content = h, b.level = d, u.push(b); + const g = new t.Token("link_close", "a", -1); + g.level = --d, g.markup = "linkify", g.info = "auto", u.push(g), p = c[_].lastIndex; } if (p < l.length) { const _ = new t.Token("text", "", 0); _.content = l.slice(p), _.level = d, u.push(_); } - e[n].children = i = Fh(i, a, u); + e[n].children = i = Gg(i, a, u); } } } } -const Hh = /\+-|\.\.|\?\?\?\?|!!!!|,,|--/, Dk = /\((c|tm|r)\)/i, Mk = /\((c|tm|r)\)/ig, wk = { +const zg = /\+-|\.\.|\?\?\?\?|!!!!|,,|--/, Hk = /\((c|tm|r)\)/i, Gk = /\((c|tm|r)\)/ig, Vk = { c: "©", r: "®", tm: "™" }; -function Lk(t, e) { - return wk[e.toLowerCase()]; +function Yk(t, e) { + return Vk[e.toLowerCase()]; } -function kk(t) { +function zk(t) { let e = 0; for (let n = t.length - 1; n >= 0; n--) { const r = t[n]; - r.type === "text" && !e && (r.content = r.content.replace(Mk, Lk)), r.type === "link_open" && r.info === "auto" && e--, r.type === "link_close" && r.info === "auto" && e++; + r.type === "text" && !e && (r.content = r.content.replace(Gk, Yk)), r.type === "link_open" && r.info === "auto" && e--, r.type === "link_close" && r.info === "auto" && e++; } } -function Pk(t) { +function $k(t) { let e = 0; for (let n = t.length - 1; n >= 0; n--) { const r = t[n]; - r.type === "text" && !e && Hh.test(r.content) && (r.content = r.content.replace(/\+-/g, "±").replace(/\.{2,}/g, "…").replace(/([?!])…/g, "$1..").replace(/([?!]){4,}/g, "$1$1$1").replace(/,{2,}/g, ",").replace(/(^|[^-])---(?=[^-]|$)/mg, "$1—").replace(/(^|\s)--(?=\s|$)/mg, "$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg, "$1–")), r.type === "link_open" && r.info === "auto" && e--, r.type === "link_close" && r.info === "auto" && e++; + r.type === "text" && !e && zg.test(r.content) && (r.content = r.content.replace(/\+-/g, "±").replace(/\.{2,}/g, "…").replace(/([?!])…/g, "$1..").replace(/([?!]){4,}/g, "$1$1$1").replace(/,{2,}/g, ",").replace(/(^|[^-])---(?=[^-]|$)/mg, "$1—").replace(/(^|\s)--(?=\s|$)/mg, "$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg, "$1–")), r.type === "link_open" && r.info === "auto" && e--, r.type === "link_close" && r.info === "auto" && e++; } } -function Fk(t) { +function qk(t) { let e; if (t.md.options.typographer) for (e = t.tokens.length - 1; e >= 0; e--) - t.tokens[e].type === "inline" && (Dk.test(t.tokens[e].content) && kk(t.tokens[e].children), Hh.test(t.tokens[e].content) && Pk(t.tokens[e].children)); + t.tokens[e].type === "inline" && (Hk.test(t.tokens[e].content) && zk(t.tokens[e].children), zg.test(t.tokens[e].content) && $k(t.tokens[e].children)); } -const Bk = /['"]/, z_ = /['"]/g, $_ = "’"; -function Qo(t, e, n) { +const Wk = /['"]/, W_ = /['"]/g, K_ = "’"; +function Xo(t, e, n) { return t.slice(0, e) + n + t.slice(e + 1); } -function Uk(t, e) { +function Kk(t, e) { let n; const r = []; for (let i = 0; i < t.length; i++) { @@ -76245,8 +76263,8 @@ function Uk(t, e) { let s = o.content, l = 0, c = s.length; e: for (; l < c; ) { - z_.lastIndex = l; - const u = z_.exec(s); + W_.lastIndex = l; + const u = W_.exec(s); if (!u) break; let d = !0, p = !0; @@ -76270,24 +76288,24 @@ function Uk(t, e) { f = t[n].content.charCodeAt(0); break; } - const g = co(m) || lo(String.fromCharCode(m)), E = co(f) || lo(String.fromCharCode(f)), S = so(m), b = so(f); - if (b ? d = !1 : E && (S || g || (d = !1)), S ? p = !1 : g && (b || E || (p = !1)), f === 34 && u[0] === '"' && m >= 48 && m <= 57 && (p = d = !1), d && p && (d = g, p = E), !d && !p) { - _ && (o.content = Qo(o.content, u.index, $_)); + const h = uo(m) || co(String.fromCharCode(m)), E = uo(f) || co(String.fromCharCode(f)), S = lo(m), b = lo(f); + if (b ? d = !1 : E && (S || h || (d = !1)), S ? p = !1 : h && (b || E || (p = !1)), f === 34 && u[0] === '"' && m >= 48 && m <= 57 && (p = d = !1), d && p && (d = h, p = E), !d && !p) { + _ && (o.content = Xo(o.content, u.index, K_)); continue; } if (p) for (n = r.length - 1; n >= 0; n--) { - let h = r[n]; + let g = r[n]; if (r[n].level < a) break; - if (h.single === _ && r[n].level === a) { - h = r[n]; + if (g.single === _ && r[n].level === a) { + g = r[n]; let C, T; - _ ? (C = e.md.options.quotes[2], T = e.md.options.quotes[3]) : (C = e.md.options.quotes[0], T = e.md.options.quotes[1]), o.content = Qo(o.content, u.index, T), t[h.token].content = Qo( - t[h.token].content, - h.pos, + _ ? (C = e.md.options.quotes[2], T = e.md.options.quotes[3]) : (C = e.md.options.quotes[0], T = e.md.options.quotes[1]), o.content = Xo(o.content, u.index, T), t[g.token].content = Xo( + t[g.token].content, + g.pos, C - ), l += T.length - 1, h.token === i && (l += C.length - 1), s = o.content, c = s.length, r.length = n; + ), l += T.length - 1, g.token === i && (l += C.length - 1), s = o.content, c = s.length, r.length = n; continue e; } } @@ -76296,16 +76314,16 @@ function Uk(t, e) { pos: u.index, single: _, level: a - }) : p && _ && (o.content = Qo(o.content, u.index, $_)); + }) : p && _ && (o.content = Xo(o.content, u.index, K_)); } } } -function Hk(t) { +function Qk(t) { if (t.md.options.typographer) for (let e = t.tokens.length - 1; e >= 0; e--) - t.tokens[e].type !== "inline" || !Bk.test(t.tokens[e].content) || Uk(t.tokens[e].children, t); + t.tokens[e].type !== "inline" || !Wk.test(t.tokens[e].content) || Kk(t.tokens[e].children, t); } -function Gk(t) { +function Zk(t) { let e, n; const r = t.tokens, i = r.length; for (let o = 0; o < i; o++) { @@ -76318,28 +76336,28 @@ function Gk(t) { e !== n && (a.length = n); } } -const bl = [ - ["normalize", Rk], - ["block", Ok], - ["inline", Nk], - ["linkify", xk], - ["replacements", Fk], - ["smartquotes", Hk], +const Cl = [ + ["normalize", Lk], + ["block", kk], + ["inline", Pk], + ["linkify", Uk], + ["replacements", qk], + ["smartquotes", Qk], // `text_join` finds `text_special` tokens (for escape sequences) // and joins them with the rest of the text - ["text_join", Gk] + ["text_join", Zk] ]; -function Ru() { - this.ruler = new gt(); - for (let t = 0; t < bl.length; t++) - this.ruler.push(bl[t][0], bl[t][1]); +function Au() { + this.ruler = new ht(); + for (let t = 0; t < Cl.length; t++) + this.ruler.push(Cl[t][0], Cl[t][1]); } -Ru.prototype.process = function(t) { +Au.prototype.process = function(t) { const e = this.ruler.getRules(""); for (let n = 0, r = e.length; n < r; n++) e[n](t); }; -Ru.prototype.State = Uh; +Au.prototype.State = Yg; function sn(t, e, n, r) { this.src = t, this.md = e, this.env = n, this.tokens = r, this.bMarks = [], this.eMarks = [], this.tShift = [], this.sCount = [], this.bsCount = [], this.blkIndent = 0, this.line = 0, this.lineMax = 0, this.tight = !1, this.ddIndent = -1, this.listIndent = -1, this.parentType = "root", this.level = 0; const i = this.src; @@ -76419,19 +76437,19 @@ sn.prototype.getLines = function(e, n, r, i) { return o.join(""); }; sn.prototype.Token = Yt; -const Vk = 65536; -function Tl(t, e) { +const Xk = 65536; +function yl(t, e) { const n = t.bMarks[e] + t.tShift[e], r = t.eMarks[e]; return t.src.slice(n, r); } -function q_(t) { +function Q_(t) { const e = [], n = t.length; let r = 0, i = t.charCodeAt(r), o = !1, a = 0, s = ""; for (; r < n; ) i === 124 && (o ? (s += t.substring(a, r - 1), a = r) : (e.push(s + t.substring(a, r)), s = "", a = r + 1)), o = i === 92, r++, i = t.charCodeAt(r); return e.push(s + t.substring(a)), e; } -function Yk(t, e, n, r) { +function jk(t, e, n, r) { if (e + 2 > n) return !1; let i = e + 1; @@ -76447,17 +76465,17 @@ function Yk(t, e, n, r) { if (s !== 124 && s !== 45 && s !== 58 && !Oe(s) || a === 45 && Oe(s)) return !1; for (; o < t.eMarks[i]; ) { - const h = t.src.charCodeAt(o); - if (h !== 124 && h !== 45 && h !== 58 && !Oe(h)) + const g = t.src.charCodeAt(o); + if (g !== 124 && g !== 45 && g !== 58 && !Oe(g)) return !1; o++; } - let l = Tl(t, e + 1), c = l.split("|"); + let l = yl(t, e + 1), c = l.split("|"); const u = []; - for (let h = 0; h < c.length; h++) { - const C = c[h].trim(); + for (let g = 0; g < c.length; g++) { + const C = c[g].trim(); if (!C) { - if (h === 0 || h === c.length - 1) + if (g === 0 || g === c.length - 1) continue; return !1; } @@ -76465,9 +76483,9 @@ function Yk(t, e, n, r) { return !1; C.charCodeAt(C.length - 1) === 58 ? u.push(C.charCodeAt(0) === 58 ? "center" : "right") : C.charCodeAt(0) === 58 ? u.push("left") : u.push(""); } - if (l = Tl(t, e).trim(), l.indexOf("|") === -1 || t.sCount[e] - t.blkIndent >= 4) + if (l = yl(t, e).trim(), l.indexOf("|") === -1 || t.sCount[e] - t.blkIndent >= 4) return !1; - c = q_(l), c.length && c[0] === "" && c.shift(), c.length && c[c.length - 1] === "" && c.pop(); + c = Q_(l), c.length && c[0] === "" && c.shift(), c.length && c[c.length - 1] === "" && c.pop(); const d = c.length; if (d === 0 || d !== u.length) return !1; @@ -76477,26 +76495,26 @@ function Yk(t, e, n, r) { t.parentType = "table"; const _ = t.md.block.ruler.getRules("blockquote"), m = t.push("table_open", "table", 1), f = [e, 0]; m.map = f; - const g = t.push("thead_open", "thead", 1); - g.map = [e, e + 1]; + const h = t.push("thead_open", "thead", 1); + h.map = [e, e + 1]; const E = t.push("tr_open", "tr", 1); E.map = [e, e + 1]; - for (let h = 0; h < c.length; h++) { + for (let g = 0; g < c.length; g++) { const C = t.push("th_open", "th", 1); - u[h] && (C.attrs = [["style", "text-align:" + u[h]]]); + u[g] && (C.attrs = [["style", "text-align:" + u[g]]]); const T = t.push("inline", "", 0); - T.content = c[h].trim(), T.children = [], t.push("th_close", "th", -1); + T.content = c[g].trim(), T.children = [], t.push("th_close", "th", -1); } t.push("tr_close", "tr", -1), t.push("thead_close", "thead", -1); let S, b = 0; for (i = e + 2; i < n && !(t.sCount[i] < t.blkIndent); i++) { - let h = !1; + let g = !1; for (let T = 0, R = _.length; T < R; T++) if (_[T](t, i, n, !0)) { - h = !0; + g = !0; break; } - if (h || (l = Tl(t, i).trim(), !l) || t.sCount[i] - t.blkIndent >= 4 || (c = q_(l), c.length && c[0] === "" && c.shift(), c.length && c[c.length - 1] === "" && c.pop(), b += d - c.length, b > Vk)) + if (g || (l = yl(t, i).trim(), !l) || t.sCount[i] - t.blkIndent >= 4 || (c = Q_(l), c.length && c[0] === "" && c.shift(), c.length && c[c.length - 1] === "" && c.pop(), b += d - c.length, b > Xk)) break; if (i === e + 2) { const T = t.push("tbody_open", "tbody", 1); @@ -76514,7 +76532,7 @@ function Yk(t, e, n, r) { } return S && (t.push("tbody_close", "tbody", -1), S[1] = i), t.push("table_close", "table", -1), f[1] = i, t.parentType = p, t.line = i, !0; } -function zk(t, e, n) { +function Jk(t, e, n) { if (t.sCount[e] - t.blkIndent < 4) return !1; let r = e + 1, i = r; @@ -76534,7 +76552,7 @@ function zk(t, e, n) { return o.content = t.getLines(e, i, 4 + t.blkIndent, !1) + ` `, o.map = [e, t.line], !0; } -function $k(t, e, n, r) { +function eP(t, e, n, r) { let i = t.bMarks[e] + t.tShift[e], o = t.eMarks[e]; if (t.sCount[e] - t.blkIndent >= 4 || i + 3 > o) return !1; @@ -76561,7 +76579,7 @@ function $k(t, e, n, r) { const _ = t.push("fence", "code", 0); return _.info = u, _.content = t.getLines(e + 1, d, l, !0), _.markup = c, _.map = [e, t.line], !0; } -function qk(t, e, n, r) { +function tP(t, e, n, r) { let i = t.bMarks[e] + t.tShift[e], o = t.eMarks[e]; const a = t.lineMax; if (t.sCount[e] - t.blkIndent >= 4 || t.src.charCodeAt(i) !== 62) @@ -76592,13 +76610,13 @@ function qk(t, e, n, r) { } if (_) break; - let h = !1; + let g = !1; for (let C = 0, T = d.length; C < T; C++) if (d[C](t, m, n, !0)) { - h = !0; + g = !0; break; } - if (h) { + if (g) { t.lineMax = m, t.blkIndent !== 0 && (s.push(t.bMarks[m]), l.push(t.bsCount[m]), u.push(t.tShift[m]), c.push(t.sCount[m]), t.sCount[m] -= t.blkIndent); break; } @@ -76606,17 +76624,17 @@ function qk(t, e, n, r) { } const f = t.blkIndent; t.blkIndent = 0; - const g = t.push("blockquote_open", "blockquote", 1); - g.markup = ">"; + const h = t.push("blockquote_open", "blockquote", 1); + h.markup = ">"; const E = [e, 0]; - g.map = E, t.md.block.tokenize(t, e, m); + h.map = E, t.md.block.tokenize(t, e, m); const S = t.push("blockquote_close", "blockquote", -1); S.markup = ">", t.lineMax = a, t.parentType = p, E[1] = t.line; for (let b = 0; b < u.length; b++) t.bMarks[b + e] = s[b], t.tShift[b + e] = u[b], t.sCount[b + e] = c[b], t.bsCount[b + e] = l[b]; return t.blkIndent = f, !0; } -function Wk(t, e, n, r) { +function nP(t, e, n, r) { const i = t.eMarks[e]; if (t.sCount[e] - t.blkIndent >= 4) return !1; @@ -76639,7 +76657,7 @@ function Wk(t, e, n, r) { const l = t.push("hr", "hr", 0); return l.map = [e, t.line], l.markup = Array(s + 1).join(String.fromCharCode(a)), !0; } -function W_(t, e) { +function Z_(t, e) { const n = t.eMarks[e]; let r = t.bMarks[e] + t.tShift[e]; const i = t.src.charCodeAt(r++); @@ -76652,7 +76670,7 @@ function W_(t, e) { } return r; } -function K_(t, e) { +function X_(t, e) { const n = t.bMarks[e] + t.tShift[e], r = t.eMarks[e]; let i = n; if (i + 1 >= r) @@ -76674,21 +76692,21 @@ function K_(t, e) { } return i < r && (o = t.src.charCodeAt(i), !Oe(o)) ? -1 : i; } -function Kk(t, e) { +function rP(t, e) { const n = t.level + 2; for (let r = e + 2, i = t.tokens.length - 2; r < i; r++) t.tokens[r].level === n && t.tokens[r].type === "paragraph_open" && (t.tokens[r + 2].hidden = !0, t.tokens[r].hidden = !0, r += 2); } -function Qk(t, e, n, r) { +function iP(t, e, n, r) { let i, o, a, s, l = e, c = !0; if (t.sCount[l] - t.blkIndent >= 4 || t.listIndent >= 0 && t.sCount[l] - t.listIndent >= 4 && t.sCount[l] < t.blkIndent) return !1; let u = !1; r && t.parentType === "paragraph" && t.sCount[l] >= t.blkIndent && (u = !0); let d, p, _; - if ((_ = K_(t, l)) >= 0) { + if ((_ = X_(t, l)) >= 0) { if (d = !0, a = t.bMarks[l] + t.tShift[l], p = Number(t.src.slice(a, _ - 1)), u && p !== 1) return !1; - } else if ((_ = W_(t, l)) >= 0) + } else if ((_ = Z_(t, l)) >= 0) d = !1; else return !1; @@ -76698,14 +76716,14 @@ function Qk(t, e, n, r) { return !0; const m = t.src.charCodeAt(_ - 1), f = t.tokens.length; d ? (s = t.push("ordered_list_open", "ol", 1), p !== 1 && (s.attrs = [["start", p]])) : s = t.push("bullet_list_open", "ul", 1); - const g = [l, 0]; - s.map = g, s.markup = String.fromCharCode(m); + const h = [l, 0]; + s.map = h, s.markup = String.fromCharCode(m); let E = !1; const S = t.md.block.ruler.getRules("list"), b = t.parentType; for (t.parentType = "list"; l < n; ) { o = _, i = t.eMarks[l]; - const h = t.sCount[l] + _ - (t.bMarks[l] + t.tShift[l]); - let C = h; + const g = t.sCount[l] + _ - (t.bMarks[l] + t.tShift[l]); + let C = g; for (; o < i; ) { const V = t.src.charCodeAt(o); if (V === 9) @@ -76718,8 +76736,8 @@ function Qk(t, e, n, r) { } const T = o; let R; - T >= i ? R = 1 : R = C - h, R > 4 && (R = 1); - const x = h + R; + T >= i ? R = 1 : R = C - g, R > 4 && (R = 1); + const x = g + R; s = t.push("list_item_open", "li", 1), s.markup = String.fromCharCode(m); const O = [l, 0]; s.map = O, d && (s.info = t.src.slice(a, _ - 1)); @@ -76735,17 +76753,17 @@ function Qk(t, e, n, r) { if (q) break; if (d) { - if (_ = K_(t, l), _ < 0) + if (_ = X_(t, l), _ < 0) break; a = t.bMarks[l] + t.tShift[l]; - } else if (_ = W_(t, l), _ < 0) + } else if (_ = Z_(t, l), _ < 0) break; if (m !== t.src.charCodeAt(_ - 1)) break; } - return d ? s = t.push("ordered_list_close", "ol", -1) : s = t.push("bullet_list_close", "ul", -1), s.markup = String.fromCharCode(m), g[1] = l, t.line = l, t.parentType = b, c && Kk(t, f), !0; + return d ? s = t.push("ordered_list_close", "ol", -1) : s = t.push("bullet_list_close", "ul", -1), s.markup = String.fromCharCode(m), h[1] = l, t.line = l, t.parentType = b, c && rP(t, f), !0; } -function Zk(t, e, n, r) { +function oP(t, e, n, r) { let i = t.bMarks[e] + t.tShift[e], o = t.eMarks[e], a = e + 1; if (t.sCount[e] - t.blkIndent >= 4 || t.src.charCodeAt(i) !== 91) return !1; @@ -76753,8 +76771,8 @@ function Zk(t, e, n, r) { const b = t.lineMax; if (S >= b || t.isEmpty(S)) return null; - let h = !1; - if (t.sCount[S] - t.blkIndent > 3 && (h = !0), t.sCount[S] < 0 && (h = !0), !h) { + let g = !1; + if (t.sCount[S] - t.blkIndent > 3 && (g = !0), t.sCount[S] < 0 && (g = !0), !g) { const R = t.md.block.ruler.getRules("reference"), x = t.parentType; t.parentType = "reference"; let O = !1; @@ -76817,15 +76835,15 @@ function Zk(t, e, n, r) { if (S === null) break; l += S, i = o, o = l.length, a++, f = t.md.helpers.parseLinkTitle(l, i, o, f); } - let g; - for (i < o && m !== i && f.ok ? (g = f.str, i = f.pos) : (g = "", i = p, a = _); i < o; ) { + let h; + for (i < o && m !== i && f.ok ? (h = f.str, i = f.pos) : (h = "", i = p, a = _); i < o; ) { const S = l.charCodeAt(i); if (!Oe(S)) break; i++; } - if (i < o && l.charCodeAt(i) !== 10 && g) - for (g = "", i = p, a = _; i < o; ) { + if (i < o && l.charCodeAt(i) !== 10 && h) + for (h = "", i = p, a = _; i < o; ) { const S = l.charCodeAt(i); if (!Oe(S)) break; @@ -76833,10 +76851,10 @@ function Zk(t, e, n, r) { } if (i < o && l.charCodeAt(i) !== 10) return !1; - const E = Ns(l.slice(1, c)); - return E ? (r || (typeof t.env.references > "u" && (t.env.references = {}), typeof t.env.references[E] > "u" && (t.env.references[E] = { title: g, href: d }), t.line = a), !0) : !1; + const E = Is(l.slice(1, c)); + return E ? (r || (typeof t.env.references > "u" && (t.env.references = {}), typeof t.env.references[E] > "u" && (t.env.references[E] = { title: h, href: d }), t.line = a), !0) : !1; } -const Xk = [ +const aP = [ "address", "article", "aside", @@ -76899,16 +76917,16 @@ const Xk = [ "tr", "track", "ul" -], jk = "[a-zA-Z_:][a-zA-Z0-9:._-]*", Jk = "[^\"'=<>`\\x00-\\x20]+", eP = "'[^']*'", tP = '"[^"]*"', nP = "(?:" + Jk + "|" + eP + "|" + tP + ")", rP = "(?:\\s+" + jk + "(?:\\s*=\\s*" + nP + ")?)", Gh = "<[A-Za-z][A-Za-z0-9\\-]*" + rP + "*\\s*\\/?>", Vh = "<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>", iP = "", oP = "<[?][\\s\\S]*?[?]>", aP = "]*>", sP = "", lP = new RegExp("^(?:" + Gh + "|" + Vh + "|" + iP + "|" + oP + "|" + aP + "|" + sP + ")"), cP = new RegExp("^(?:" + Gh + "|" + Vh + ")"), kr = [ +], sP = "[a-zA-Z_:][a-zA-Z0-9:._-]*", lP = "[^\"'=<>`\\x00-\\x20]+", cP = "'[^']*'", uP = '"[^"]*"', dP = "(?:" + lP + "|" + cP + "|" + uP + ")", pP = "(?:\\s+" + sP + "(?:\\s*=\\s*" + dP + ")?)", $g = "<[A-Za-z][A-Za-z0-9\\-]*" + pP + "*\\s*\\/?>", qg = "<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>", _P = "", mP = "<[?][\\s\\S]*?[?]>", fP = "]*>", hP = "", gP = new RegExp("^(?:" + $g + "|" + qg + "|" + _P + "|" + mP + "|" + fP + "|" + hP + ")"), EP = new RegExp("^(?:" + $g + "|" + qg + ")"), kr = [ [/^<(script|pre|style|textarea)(?=(\s|>|$))/i, /<\/(script|pre|style|textarea)>/i, !0], [/^/, !0], [/^<\?/, /\?>/, !0], [/^/, !0], [/^/, !0], - [new RegExp("^|$))", "i"), /^$/, !0], - [new RegExp(cP.source + "\\s*$"), /^$/, !1] + [new RegExp("^|$))", "i"), /^$/, !0], + [new RegExp(EP.source + "\\s*$"), /^$/, !1] ]; -function uP(t, e, n, r) { +function SP(t, e, n, r) { let i = t.bMarks[e] + t.tShift[e], o = t.eMarks[e]; if (t.sCount[e] - t.blkIndent >= 4 || !t.md.options.html || t.src.charCodeAt(i) !== 60) return !1; @@ -76931,7 +76949,7 @@ function uP(t, e, n, r) { const c = t.push("html_block", "", 0); return c.map = [e, l], c.content = t.getLines(e, l, t.blkIndent, !0), !0; } -function dP(t, e, n, r) { +function bP(t, e, n, r) { let i = t.bMarks[e] + t.tShift[e], o = t.eMarks[e]; if (t.sCount[e] - t.blkIndent >= 4) return !1; @@ -76955,7 +76973,7 @@ function dP(t, e, n, r) { const d = t.push("heading_close", "h" + String(s), -1); return d.markup = "########".slice(0, s), !0; } -function pP(t, e, n) { +function TP(t, e, n) { const r = t.md.block.ruler.getRules("paragraph"); if (t.sCount[e] - t.blkIndent >= 4) return !1; @@ -76995,7 +77013,7 @@ function pP(t, e, n) { const d = t.push("heading_close", "h" + String(o), -1); return d.markup = String.fromCharCode(a), t.parentType = i, !0; } -function _P(t, e, n) { +function CP(t, e, n) { const r = t.md.block.ruler.getRules("paragraph"), i = t.parentType; let o = e + 1; for (t.parentType = "paragraph"; o < n && !t.isEmpty(o); o++) { @@ -77017,27 +77035,27 @@ function _P(t, e, n) { const l = t.push("inline", "", 0); return l.content = a, l.map = [e, t.line], l.children = [], t.push("paragraph_close", "p", -1), t.parentType = i, !0; } -const Zo = [ +const jo = [ // First 2 params - rule name & source. Secondary array - list of rules, // which can be terminated by this one. - ["table", Yk, ["paragraph", "reference"]], - ["code", zk], - ["fence", $k, ["paragraph", "reference", "blockquote", "list"]], - ["blockquote", qk, ["paragraph", "reference", "blockquote", "list"]], - ["hr", Wk, ["paragraph", "reference", "blockquote", "list"]], - ["list", Qk, ["paragraph", "reference", "blockquote"]], - ["reference", Zk], - ["html_block", uP, ["paragraph", "reference", "blockquote"]], - ["heading", dP, ["paragraph", "reference", "blockquote"]], - ["lheading", pP], - ["paragraph", _P] + ["table", jk, ["paragraph", "reference"]], + ["code", Jk], + ["fence", eP, ["paragraph", "reference", "blockquote", "list"]], + ["blockquote", tP, ["paragraph", "reference", "blockquote", "list"]], + ["hr", nP, ["paragraph", "reference", "blockquote", "list"]], + ["list", iP, ["paragraph", "reference", "blockquote"]], + ["reference", oP], + ["html_block", SP, ["paragraph", "reference", "blockquote"]], + ["heading", bP, ["paragraph", "reference", "blockquote"]], + ["lheading", TP], + ["paragraph", CP] ]; -function As() { - this.ruler = new gt(); - for (let t = 0; t < Zo.length; t++) - this.ruler.push(Zo[t][0], Zo[t][1], { alt: (Zo[t][2] || []).slice() }); +function xs() { + this.ruler = new ht(); + for (let t = 0; t < jo.length; t++) + this.ruler.push(jo[t][0], jo[t][1], { alt: (jo[t][2] || []).slice() }); } -As.prototype.tokenize = function(t, e, n) { +xs.prototype.tokenize = function(t, e, n) { const r = this.ruler.getRules(""), i = r.length, o = t.md.options.maxNesting; let a = e, s = !1; for (; a < n && (t.line = a = t.skipEmptyLines(a), !(a >= n || t.sCount[a] < t.blkIndent)); ) { @@ -77057,36 +77075,36 @@ As.prototype.tokenize = function(t, e, n) { t.tight = !s, t.isEmpty(t.line - 1) && (s = !0), a = t.line, a < n && t.isEmpty(a) && (s = !0, a++, t.line = a); } }; -As.prototype.parse = function(t, e, n, r) { +xs.prototype.parse = function(t, e, n, r) { if (!t) return; const i = new this.State(t, e, n, r); this.tokenize(i, i.line, i.lineMax); }; -As.prototype.State = sn; -function bo(t, e, n, r) { +xs.prototype.State = sn; +function To(t, e, n, r) { this.src = t, this.env = n, this.md = e, this.tokens = r, this.tokens_meta = Array(r.length), this.pos = 0, this.posMax = this.src.length, this.level = 0, this.pending = "", this.pendingLevel = 0, this.cache = {}, this.delimiters = [], this._prev_delimiters = [], this.backticks = {}, this.backticksScanned = !1, this.linkLevel = 0; } -bo.prototype.pushPending = function() { +To.prototype.pushPending = function() { const t = new Yt("text", "", 0); return t.content = this.pending, t.level = this.pendingLevel, this.tokens.push(t), this.pending = "", t; }; -bo.prototype.push = function(t, e, n) { +To.prototype.push = function(t, e, n) { this.pending && this.pushPending(); const r = new Yt(t, e, n); let i = null; return n < 0 && (this.level--, this.delimiters = this._prev_delimiters.pop()), r.level = this.level, n > 0 && (this.level++, this._prev_delimiters.push(this.delimiters), this.delimiters = [], i = { delimiters: this.delimiters }), this.pendingLevel = this.level, this.tokens.push(r), this.tokens_meta.push(i), r; }; -bo.prototype.scanDelims = function(t, e) { +To.prototype.scanDelims = function(t, e) { const n = this.posMax, r = this.src.charCodeAt(t), i = t > 0 ? this.src.charCodeAt(t - 1) : 32; let o = t; for (; o < n && this.src.charCodeAt(o) === r; ) o++; - const a = o - t, s = o < n ? this.src.charCodeAt(o) : 32, l = co(i) || lo(String.fromCharCode(i)), c = co(s) || lo(String.fromCharCode(s)), u = so(i), d = so(s), p = !d && (!c || u || l), _ = !u && (!l || d || c); + const a = o - t, s = o < n ? this.src.charCodeAt(o) : 32, l = uo(i) || co(String.fromCharCode(i)), c = uo(s) || co(String.fromCharCode(s)), u = lo(i), d = lo(s), p = !d && (!c || u || l), _ = !u && (!l || d || c); return { can_open: p && (e || !_ || l), can_close: _ && (e || !p || c), length: a }; }; -bo.prototype.Token = Yt; -function mP(t) { +To.prototype.Token = Yt; +function yP(t) { switch (t) { case 10: case 33: @@ -77116,18 +77134,18 @@ function mP(t) { return !1; } } -function fP(t, e) { +function vP(t, e) { let n = t.pos; - for (; n < t.posMax && !mP(t.src.charCodeAt(n)); ) + for (; n < t.posMax && !yP(t.src.charCodeAt(n)); ) n++; return n === t.pos ? !1 : (e || (t.pending += t.src.slice(t.pos, n)), t.pos = n, !0); } -const gP = /(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i; -function hP(t, e) { +const RP = /(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i; +function OP(t, e) { if (!t.md.options.linkify || t.linkLevel > 0) return !1; const n = t.pos, r = t.posMax; if (n + 3 > r || t.src.charCodeAt(n) !== 58 || t.src.charCodeAt(n + 1) !== 47 || t.src.charCodeAt(n + 2) !== 47) return !1; - const i = t.pending.match(gP); + const i = t.pending.match(RP); if (!i) return !1; const o = i[1], a = t.md.linkify.matchAtStart(t.src.slice(n - o.length)); if (!a) return !1; @@ -77147,7 +77165,7 @@ function hP(t, e) { } return t.pos += s.length - o.length, !0; } -function EP(t, e) { +function NP(t, e) { let n = t.pos; if (t.src.charCodeAt(n) !== 10) return !1; @@ -77166,13 +77184,13 @@ function EP(t, e) { n++; return t.pos = n, !0; } -const Ou = []; +const Iu = []; for (let t = 0; t < 256; t++) - Ou.push(0); + Iu.push(0); "\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t) { - Ou[t.charCodeAt(0)] = 1; + Iu[t.charCodeAt(0)] = 1; }); -function SP(t, e) { +function AP(t, e) { let n = t.pos; const r = t.posMax; if (t.src.charCodeAt(n) !== 92 || (n++, n >= r)) return !1; @@ -77190,11 +77208,11 @@ function SP(t, e) { const a = "\\" + o; if (!e) { const s = t.push("text_special", "", 0); - i < 256 && Ou[i] !== 0 ? s.content = o : s.content = a, s.markup = a, s.info = "escape"; + i < 256 && Iu[i] !== 0 ? s.content = o : s.content = a, s.markup = a, s.info = "escape"; } return t.pos = n + 1, !0; } -function bP(t, e) { +function IP(t, e) { let n = t.pos; if (t.src.charCodeAt(n) !== 96) return !1; @@ -77222,7 +77240,7 @@ function bP(t, e) { } return t.backticksScanned = !0, e || (t.pending += a), t.pos += s, !0; } -function TP(t, e) { +function xP(t, e) { const n = t.pos, r = t.src.charCodeAt(n); if (e || r !== 126) return !1; @@ -77245,7 +77263,7 @@ function TP(t, e) { }); return t.pos += i.length, !0; } -function Q_(t, e) { +function j_(t, e) { let n; const r = [], i = e.length; for (let o = 0; o < i; o++) { @@ -77263,17 +77281,17 @@ function Q_(t, e) { a--, o !== a && (n = t.tokens[a], t.tokens[a] = t.tokens[o], t.tokens[o] = n); } } -function CP(t) { +function DP(t) { const e = t.tokens_meta, n = t.tokens_meta.length; - Q_(t, t.delimiters); + j_(t, t.delimiters); for (let r = 0; r < n; r++) - e[r] && e[r].delimiters && Q_(t, e[r].delimiters); + e[r] && e[r].delimiters && j_(t, e[r].delimiters); } -const Yh = { - tokenize: TP, - postProcess: CP +const Wg = { + tokenize: xP, + postProcess: DP }; -function yP(t, e) { +function MP(t, e) { const n = t.pos, r = t.src.charCodeAt(n); if (e || r !== 95 && r !== 42) return !1; @@ -77303,7 +77321,7 @@ function yP(t, e) { } return t.pos += i.length, !0; } -function Z_(t, e) { +function J_(t, e) { const n = e.length; for (let r = n - 1; r >= 0; r--) { const i = e[r]; @@ -77317,17 +77335,17 @@ function Z_(t, e) { c.type = a ? "strong_close" : "em_close", c.tag = a ? "strong" : "em", c.nesting = -1, c.markup = a ? s + s : s, c.content = "", a && (t.tokens[e[r - 1].token].content = "", t.tokens[e[i.end + 1].token].content = "", r--); } } -function vP(t) { +function wP(t) { const e = t.tokens_meta, n = t.tokens_meta.length; - Z_(t, t.delimiters); + J_(t, t.delimiters); for (let r = 0; r < n; r++) - e[r] && e[r].delimiters && Z_(t, e[r].delimiters); + e[r] && e[r].delimiters && J_(t, e[r].delimiters); } -const zh = { - tokenize: yP, - postProcess: vP +const Kg = { + tokenize: MP, + postProcess: wP }; -function RP(t, e) { +function LP(t, e) { let n, r, i, o, a = "", s = "", l = t.pos, c = !0; if (t.src.charCodeAt(t.pos) !== 91) return !1; @@ -77352,18 +77370,18 @@ function RP(t, e) { if (c) { if (typeof t.env.references > "u") return !1; - if (m < d && t.src.charCodeAt(m) === 91 ? (l = m + 1, m = t.md.helpers.parseLinkLabel(t, m), m >= 0 ? r = t.src.slice(l, m++) : m = _ + 1) : m = _ + 1, r || (r = t.src.slice(p, _)), o = t.env.references[Ns(r)], !o) + if (m < d && t.src.charCodeAt(m) === 91 ? (l = m + 1, m = t.md.helpers.parseLinkLabel(t, m), m >= 0 ? r = t.src.slice(l, m++) : m = _ + 1) : m = _ + 1, r || (r = t.src.slice(p, _)), o = t.env.references[Is(r)], !o) return t.pos = u, !1; a = o.href, s = o.title; } if (!e) { t.pos = p, t.posMax = _; - const f = t.push("link_open", "a", 1), g = [["href", a]]; - f.attrs = g, s && g.push(["title", s]), t.linkLevel++, t.md.inline.tokenize(t), t.linkLevel--, t.push("link_close", "a", -1); + const f = t.push("link_open", "a", 1), h = [["href", a]]; + f.attrs = h, s && h.push(["title", s]), t.linkLevel++, t.md.inline.tokenize(t), t.linkLevel--, t.push("link_close", "a", -1); } return t.pos = m, t.posMax = d, !0; } -function OP(t, e) { +function kP(t, e) { let n, r, i, o, a, s, l, c, u = ""; const d = t.pos, p = t.posMax; if (t.src.charCodeAt(t.pos) !== 33 || t.src.charCodeAt(t.pos + 1) !== 91) @@ -77389,7 +77407,7 @@ function OP(t, e) { } else { if (typeof t.env.references > "u") return !1; - if (o < p && t.src.charCodeAt(o) === 91 ? (c = o + 1, o = t.md.helpers.parseLinkLabel(t, o), o >= 0 ? i = t.src.slice(c, o++) : o = m + 1) : o = m + 1, i || (i = t.src.slice(_, m)), a = t.env.references[Ns(i)], !a) + if (o < p && t.src.charCodeAt(o) === 91 ? (c = o + 1, o = t.md.helpers.parseLinkLabel(t, o), o >= 0 ? i = t.src.slice(c, o++) : o = m + 1) : o = m + 1, i || (i = t.src.slice(_, m)), a = t.env.references[Is(i)], !a) return t.pos = d, !1; u = a.href, l = a.title; } @@ -77402,13 +77420,13 @@ function OP(t, e) { t.env, f ); - const g = t.push("image", "img", 0), E = [["src", u], ["alt", ""]]; - g.attrs = E, g.children = f, g.content = r, l && E.push(["title", l]); + const h = t.push("image", "img", 0), E = [["src", u], ["alt", ""]]; + h.attrs = E, h.children = f, h.content = r, l && E.push(["title", l]); } return t.pos = o, t.posMax = p, !0; } -const NP = /^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/, AP = /^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/; -function IP(t, e) { +const PP = /^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/, FP = /^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/; +function BP(t, e) { let n = t.pos; if (t.src.charCodeAt(n) !== 60) return !1; @@ -77420,7 +77438,7 @@ function IP(t, e) { if (a === 62) break; } const o = t.src.slice(r + 1, n); - if (AP.test(o)) { + if (FP.test(o)) { const a = t.md.normalizeLink(o); if (!t.md.validateLink(a)) return !1; @@ -77434,7 +77452,7 @@ function IP(t, e) { } return t.pos += o.length + 2, !0; } - if (NP.test(o)) { + if (PP.test(o)) { const a = t.md.normalizeLink("mailto:" + o); if (!t.md.validateLink(a)) return !1; @@ -77450,51 +77468,51 @@ function IP(t, e) { } return !1; } -function xP(t) { +function UP(t) { return /^\s]/i.test(t); } -function DP(t) { +function HP(t) { return /^<\/a\s*>/i.test(t); } -function MP(t) { +function GP(t) { const e = t | 32; return e >= 97 && e <= 122; } -function wP(t, e) { +function VP(t, e) { if (!t.md.options.html) return !1; const n = t.posMax, r = t.pos; if (t.src.charCodeAt(r) !== 60 || r + 2 >= n) return !1; const i = t.src.charCodeAt(r + 1); - if (i !== 33 && i !== 63 && i !== 47 && !MP(i)) + if (i !== 33 && i !== 63 && i !== 47 && !GP(i)) return !1; - const o = t.src.slice(r).match(lP); + const o = t.src.slice(r).match(gP); if (!o) return !1; if (!e) { const a = t.push("html_inline", "", 0); - a.content = o[0], xP(a.content) && t.linkLevel++, DP(a.content) && t.linkLevel--; + a.content = o[0], UP(a.content) && t.linkLevel++, HP(a.content) && t.linkLevel--; } return t.pos += o[0].length, !0; } -const LP = /^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i, kP = /^&([a-z][a-z0-9]{1,31});/i; -function PP(t, e) { +const YP = /^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i, zP = /^&([a-z][a-z0-9]{1,31});/i; +function $P(t, e) { const n = t.pos, r = t.posMax; if (t.src.charCodeAt(n) !== 38 || n + 1 >= r) return !1; if (t.src.charCodeAt(n + 1) === 35) { - const o = t.src.slice(n).match(LP); + const o = t.src.slice(n).match(YP); if (o) { if (!e) { const a = o[1][0].toLowerCase() === "x" ? parseInt(o[1].slice(1), 16) : parseInt(o[1], 10), s = t.push("text_special", "", 0); - s.content = vu(a) ? Qa(a) : Qa(65533), s.markup = o[0], s.info = "entity"; + s.content = Nu(a) ? Xa(a) : Xa(65533), s.markup = o[0], s.info = "entity"; } return t.pos += o[0].length, !0; } } else { - const o = t.src.slice(n).match(kP); + const o = t.src.slice(n).match(zP); if (o) { - const a = Ph(o[0]); + const a = Hg(o[0]); if (a !== o[0]) { if (!e) { const s = t.push("text_special", "", 0); @@ -77506,7 +77524,7 @@ function PP(t, e) { } return !1; } -function X_(t) { +function em(t) { const e = {}, n = t.length; if (!n) return; let r = 0, i = -2; @@ -77531,49 +77549,49 @@ function X_(t) { u !== -1 && (e[s.marker][(s.open ? 3 : 0) + (s.length || 0) % 3] = u); } } -function FP(t) { +function qP(t) { const e = t.tokens_meta, n = t.tokens_meta.length; - X_(t.delimiters); + em(t.delimiters); for (let r = 0; r < n; r++) - e[r] && e[r].delimiters && X_(e[r].delimiters); + e[r] && e[r].delimiters && em(e[r].delimiters); } -function BP(t) { +function WP(t) { let e, n, r = 0; const i = t.tokens, o = t.tokens.length; for (e = n = 0; e < o; e++) i[e].nesting < 0 && r--, i[e].level = r, i[e].nesting > 0 && r++, i[e].type === "text" && e + 1 < o && i[e + 1].type === "text" ? i[e + 1].content = i[e].content + i[e + 1].content : (e !== n && (i[n] = i[e]), n++); e !== n && (i.length = n); } -const Cl = [ - ["text", fP], - ["linkify", hP], - ["newline", EP], - ["escape", SP], - ["backticks", bP], - ["strikethrough", Yh.tokenize], - ["emphasis", zh.tokenize], - ["link", RP], - ["image", OP], - ["autolink", IP], - ["html_inline", wP], - ["entity", PP] -], yl = [ - ["balance_pairs", FP], - ["strikethrough", Yh.postProcess], - ["emphasis", zh.postProcess], +const vl = [ + ["text", vP], + ["linkify", OP], + ["newline", NP], + ["escape", AP], + ["backticks", IP], + ["strikethrough", Wg.tokenize], + ["emphasis", Kg.tokenize], + ["link", LP], + ["image", kP], + ["autolink", BP], + ["html_inline", VP], + ["entity", $P] +], Rl = [ + ["balance_pairs", qP], + ["strikethrough", Wg.postProcess], + ["emphasis", Kg.postProcess], // rules for pairs separate '**' into its own text tokens, which may be left unused, // rule below merges unused segments back with the rest of the text - ["fragments_join", BP] + ["fragments_join", WP] ]; -function To() { - this.ruler = new gt(); - for (let t = 0; t < Cl.length; t++) - this.ruler.push(Cl[t][0], Cl[t][1]); - this.ruler2 = new gt(); - for (let t = 0; t < yl.length; t++) - this.ruler2.push(yl[t][0], yl[t][1]); -} -To.prototype.skipToken = function(t) { +function Co() { + this.ruler = new ht(); + for (let t = 0; t < vl.length; t++) + this.ruler.push(vl[t][0], vl[t][1]); + this.ruler2 = new ht(); + for (let t = 0; t < Rl.length; t++) + this.ruler2.push(Rl[t][0], Rl[t][1]); +} +Co.prototype.skipToken = function(t) { const e = t.pos, n = this.ruler.getRules(""), r = n.length, i = t.md.options.maxNesting, o = t.cache; if (typeof o[e] < "u") { t.pos = o[e]; @@ -77591,7 +77609,7 @@ To.prototype.skipToken = function(t) { t.pos = t.posMax; a || t.pos++, o[e] = t.pos; }; -To.prototype.tokenize = function(t) { +Co.prototype.tokenize = function(t) { const e = this.ruler.getRules(""), n = e.length, r = t.posMax, i = t.md.options.maxNesting; for (; t.pos < r; ) { const o = t.pos; @@ -77613,17 +77631,17 @@ To.prototype.tokenize = function(t) { } t.pending && t.pushPending(); }; -To.prototype.parse = function(t, e, n, r) { +Co.prototype.parse = function(t, e, n, r) { const i = new this.State(t, e, n, r); this.tokenize(i); const o = this.ruler2.getRules(""), a = o.length; for (let s = 0; s < a; s++) o[s](i); }; -To.prototype.State = bo; -function UP(t) { +Co.prototype.State = To; +function KP(t) { const e = {}; - t = t || {}, e.src_Any = Dh.source, e.src_Cc = Mh.source, e.src_Z = Lh.source, e.src_P = Cu.source, e.src_ZPCc = [e.src_Z, e.src_P, e.src_Cc].join("|"), e.src_ZCc = [e.src_Z, e.src_Cc].join("|"); + t = t || {}, e.src_Any = kg.source, e.src_Cc = Pg.source, e.src_Z = Bg.source, e.src_P = Ru.source, e.src_ZPCc = [e.src_Z, e.src_P, e.src_Cc].join("|"), e.src_ZCc = [e.src_Z, e.src_Cc].join("|"); const n = "[><|]"; return e.src_pseudo_letter = "(?:(?!" + n + "|" + e.src_ZPCc + ")" + e.src_Any + ")", e.src_ip4 = "(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)", e.src_auth = "(?:(?:(?!" + e.src_ZCc + "|[@/\\[\\]()]).)+@)?", e.src_port = "(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?", e.src_host_terminator = "(?=$|" + n + "|" + e.src_ZPCc + ")(?!" + (t["---"] ? "-(?!--)|" : "-|") + "_|:\\d|\\.-|\\.(?!$|" + e.src_ZPCc + "))", e.src_path = "(?:[/?#](?:(?!" + e.src_ZCc + "|" + n + `|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!` + e.src_ZCc + "|\\]).)*\\]|\\((?:(?!" + e.src_ZCc + "|[)]).)*\\)|\\{(?:(?!" + e.src_ZCc + '|[}]).)*\\}|\\"(?:(?!' + e.src_ZCc + `|["]).)+\\"|\\'(?:(?!` + e.src_ZCc + "|[']).)+\\'|\\'(?=" + e.src_pseudo_letter + "|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!" + e.src_ZCc + "|[.]|$)|" + (t["---"] ? "\\-(?!--(?:[^-]|$))(?:-*)|" : "\\-+|") + // allow `,,,` in paths ",(?!" + e.src_ZCc + "|$)|;(?!" + e.src_ZCc + "|$)|\\!+(?!" + e.src_ZCc + "|[!]|$)|\\?(?!" + e.src_ZCc + "|[?]|$))+|\\/)?", e.src_email_name = '[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*', e.src_xn = "xn--[a-z0-9\\-]{1,59}", e.src_domain_root = // Allow letters & digits (http://test1) @@ -77633,42 +77651,42 @@ function UP(t) { // but can start with > (markdown blockquote) "(^|(?![.:/\\-_@])(?:[$+<=>^`||]|" + e.src_ZPCc + "))((?![$+<=>^`||])" + e.tpl_host_port_no_ip_fuzzy_strict + e.src_path + ")", e; } -function hc(t) { +function Sc(t) { return Array.prototype.slice.call(arguments, 1).forEach(function(n) { n && Object.keys(n).forEach(function(r) { t[r] = n[r]; }); }), t; } -function Is(t) { +function Ds(t) { return Object.prototype.toString.call(t); } -function HP(t) { - return Is(t) === "[object String]"; +function QP(t) { + return Ds(t) === "[object String]"; } -function GP(t) { - return Is(t) === "[object Object]"; +function ZP(t) { + return Ds(t) === "[object Object]"; } -function VP(t) { - return Is(t) === "[object RegExp]"; +function XP(t) { + return Ds(t) === "[object RegExp]"; } -function j_(t) { - return Is(t) === "[object Function]"; +function tm(t) { + return Ds(t) === "[object Function]"; } -function YP(t) { +function jP(t) { return t.replace(/[.?*+^$[\]\\(){}|-]/g, "\\$&"); } -const $h = { +const Qg = { fuzzyLink: !0, fuzzyEmail: !0, fuzzyIP: !1 }; -function zP(t) { +function JP(t) { return Object.keys(t || {}).reduce(function(e, n) { - return e || $h.hasOwnProperty(n); + return e || Qg.hasOwnProperty(n); }, !1); } -const $P = { +const e3 = { "http:": { validate: function(t, e, n) { const r = t.slice(e); @@ -77700,24 +77718,24 @@ const $P = { )), n.re.mailto.test(r) ? r.match(n.re.mailto)[0].length : 0; } } -}, qP = "a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]", WP = "biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|"); -function KP(t) { +}, t3 = "a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]", n3 = "biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|"); +function r3(t) { t.__index__ = -1, t.__text_cache__ = ""; } -function QP(t) { +function i3(t) { return function(e, n) { const r = e.slice(n); return t.test(r) ? r.match(t)[0].length : 0; }; } -function J_() { +function nm() { return function(t, e) { e.normalize(t); }; } -function Za(t) { - const e = t.re = UP(t.__opts__), n = t.__tlds__.slice(); - t.onCompile(), t.__tlds_replaced__ || n.push(qP), n.push(e.src_xn), e.src_tlds = n.join("|"); +function ja(t) { + const e = t.re = KP(t.__opts__), n = t.__tlds__.slice(); + t.onCompile(), t.__tlds_replaced__ || n.push(t3), n.push(e.src_xn), e.src_tlds = n.join("|"); function r(s) { return s.replace("%TLDS%", e.src_tlds); } @@ -77732,44 +77750,44 @@ function Za(t) { if (l === null) return; const c = { validate: null, link: null }; - if (t.__compiled__[s] = c, GP(l)) { - VP(l.validate) ? c.validate = QP(l.validate) : j_(l.validate) ? c.validate = l.validate : o(s, l), j_(l.normalize) ? c.normalize = l.normalize : l.normalize ? o(s, l) : c.normalize = J_(); + if (t.__compiled__[s] = c, ZP(l)) { + XP(l.validate) ? c.validate = i3(l.validate) : tm(l.validate) ? c.validate = l.validate : o(s, l), tm(l.normalize) ? c.normalize = l.normalize : l.normalize ? o(s, l) : c.normalize = nm(); return; } - if (HP(l)) { + if (QP(l)) { i.push(s); return; } o(s, l); }), i.forEach(function(s) { t.__compiled__[t.__schemas__[s]] && (t.__compiled__[s].validate = t.__compiled__[t.__schemas__[s]].validate, t.__compiled__[s].normalize = t.__compiled__[t.__schemas__[s]].normalize); - }), t.__compiled__[""] = { validate: null, normalize: J_() }; + }), t.__compiled__[""] = { validate: null, normalize: nm() }; const a = Object.keys(t.__compiled__).filter(function(s) { return s.length > 0 && t.__compiled__[s]; - }).map(YP).join("|"); + }).map(jP).join("|"); t.re.schema_test = RegExp("(^|(?!_)(?:[><|]|" + e.src_ZPCc + "))(" + a + ")", "i"), t.re.schema_search = RegExp("(^|(?!_)(?:[><|]|" + e.src_ZPCc + "))(" + a + ")", "ig"), t.re.schema_at_start = RegExp("^" + t.re.schema_search.source, "i"), t.re.pretest = RegExp( "(" + t.re.schema_test.source + ")|(" + t.re.host_fuzzy_test.source + ")|@", "i" - ), KP(t); + ), r3(t); } -function ZP(t, e) { +function o3(t, e) { const n = t.__index__, r = t.__last_index__, i = t.__text_cache__.slice(n, r); this.schema = t.__schema__.toLowerCase(), this.index = n + e, this.lastIndex = r + e, this.raw = i, this.text = i, this.url = i; } -function Ec(t, e) { - const n = new ZP(t, e); +function bc(t, e) { + const n = new o3(t, e); return t.__compiled__[n.schema].normalize(n, t), n; } function Ot(t, e) { if (!(this instanceof Ot)) return new Ot(t, e); - e || zP(t) && (e = t, t = {}), this.__opts__ = hc({}, $h, e), this.__index__ = -1, this.__last_index__ = -1, this.__schema__ = "", this.__text_cache__ = "", this.__schemas__ = hc({}, $P, t), this.__compiled__ = {}, this.__tlds__ = WP, this.__tlds_replaced__ = !1, this.re = {}, Za(this); + e || JP(t) && (e = t, t = {}), this.__opts__ = Sc({}, Qg, e), this.__index__ = -1, this.__last_index__ = -1, this.__schema__ = "", this.__text_cache__ = "", this.__schemas__ = Sc({}, e3, t), this.__compiled__ = {}, this.__tlds__ = n3, this.__tlds_replaced__ = !1, this.re = {}, ja(this); } Ot.prototype.add = function(e, n) { - return this.__schemas__[e] = n, Za(this), this; + return this.__schemas__[e] = n, ja(this), this; }; Ot.prototype.set = function(e) { - return this.__opts__ = hc(this.__opts__, e), this; + return this.__opts__ = Sc(this.__opts__, e), this; }; Ot.prototype.test = function(e) { if (this.__text_cache__ = e, this.__index__ = -1, !e.length) @@ -77793,10 +77811,10 @@ Ot.prototype.testSchemaAt = function(e, n, r) { Ot.prototype.match = function(e) { const n = []; let r = 0; - this.__index__ >= 0 && this.__text_cache__ === e && (n.push(Ec(this, r)), r = this.__last_index__); + this.__index__ >= 0 && this.__text_cache__ === e && (n.push(bc(this, r)), r = this.__last_index__); let i = r ? e.slice(r) : e; for (; this.test(i); ) - n.push(Ec(this, r)), i = i.slice(this.__last_index__), r += this.__last_index__; + n.push(bc(this, r)), i = i.slice(this.__last_index__), r += this.__last_index__; return n.length ? n : null; }; Ot.prototype.matchAtStart = function(e) { @@ -77804,41 +77822,41 @@ Ot.prototype.matchAtStart = function(e) { const n = this.re.schema_at_start.exec(e); if (!n) return null; const r = this.testSchemaAt(e, n[2], n[0].length); - return r ? (this.__schema__ = n[2], this.__index__ = n.index + n[1].length, this.__last_index__ = n.index + n[0].length + r, Ec(this, 0)) : null; + return r ? (this.__schema__ = n[2], this.__index__ = n.index + n[1].length, this.__last_index__ = n.index + n[0].length + r, bc(this, 0)) : null; }; Ot.prototype.tlds = function(e, n) { return e = Array.isArray(e) ? e : [e], n ? (this.__tlds__ = this.__tlds__.concat(e).sort().filter(function(r, i, o) { return r !== o[i - 1]; - }).reverse(), Za(this), this) : (this.__tlds__ = e.slice(), this.__tlds_replaced__ = !0, Za(this), this); + }).reverse(), ja(this), this) : (this.__tlds__ = e.slice(), this.__tlds_replaced__ = !0, ja(this), this); }; Ot.prototype.normalize = function(e) { e.schema || (e.url = "http://" + e.url), e.schema === "mailto:" && !/^mailto:/i.test(e.url) && (e.url = "mailto:" + e.url); }; Ot.prototype.onCompile = function() { }; -const jr = 2147483647, jt = 36, Nu = 1, uo = 26, XP = 38, jP = 700, qh = 72, Wh = 128, Kh = "-", JP = /^xn--/, e3 = /[^\0-\x7F]/, t3 = /[\x2E\u3002\uFF0E\uFF61]/g, n3 = { +const jr = 2147483647, jt = 36, xu = 1, po = 26, a3 = 38, s3 = 700, Zg = 72, Xg = 128, jg = "-", l3 = /^xn--/, c3 = /[^\0-\x7F]/, u3 = /[\x2E\u3002\uFF0E\uFF61]/g, d3 = { overflow: "Overflow: input needs wider integers to process", "not-basic": "Illegal input >= 0x80 (not a basic code point)", "invalid-input": "Invalid input" -}, vl = jt - Nu, Jt = Math.floor, Rl = String.fromCharCode; +}, Ol = jt - xu, Jt = Math.floor, Nl = String.fromCharCode; function Rn(t) { - throw new RangeError(n3[t]); + throw new RangeError(d3[t]); } -function r3(t, e) { +function p3(t, e) { const n = []; let r = t.length; for (; r--; ) n[r] = e(t[r]); return n; } -function Qh(t, e) { +function Jg(t, e) { const n = t.split("@"); let r = ""; - n.length > 1 && (r = n[0] + "@", t = n[1]), t = t.replace(t3, "."); - const i = t.split("."), o = r3(i, e).join("."); + n.length > 1 && (r = n[0] + "@", t = n[1]), t = t.replace(u3, "."); + const i = t.split("."), o = p3(i, e).join("."); return r + o; } -function Zh(t) { +function eE(t) { const e = []; let n = 0; const r = t.length; @@ -77852,18 +77870,18 @@ function Zh(t) { } return e; } -const i3 = (t) => String.fromCodePoint(...t), o3 = function(t) { +const _3 = (t) => String.fromCodePoint(...t), m3 = function(t) { return t >= 48 && t < 58 ? 26 + (t - 48) : t >= 65 && t < 91 ? t - 65 : t >= 97 && t < 123 ? t - 97 : jt; -}, em = function(t, e) { +}, rm = function(t, e) { return t + 22 + 75 * (t < 26) - ((e != 0) << 5); -}, Xh = function(t, e, n) { +}, tE = function(t, e, n) { let r = 0; - for (t = n ? Jt(t / jP) : t >> 1, t += Jt(t / e); t > vl * uo >> 1; r += jt) - t = Jt(t / vl); - return Jt(r + (vl + 1) * t / (t + XP)); -}, jh = function(t) { + for (t = n ? Jt(t / s3) : t >> 1, t += Jt(t / e); t > Ol * po >> 1; r += jt) + t = Jt(t / Ol); + return Jt(r + (Ol + 1) * t / (t + a3)); +}, nE = function(t) { const e = [], n = t.length; - let r = 0, i = Wh, o = qh, a = t.lastIndexOf(Kh); + let r = 0, i = Xg, o = Zg, a = t.lastIndexOf(jg); a < 0 && (a = 0); for (let s = 0; s < a; ++s) t.charCodeAt(s) >= 128 && Rn("not-basic"), e.push(t.charCodeAt(s)); @@ -77871,28 +77889,28 @@ const i3 = (t) => String.fromCodePoint(...t), o3 = function(t) { const l = r; for (let u = 1, d = jt; ; d += jt) { s >= n && Rn("invalid-input"); - const p = o3(t.charCodeAt(s++)); + const p = m3(t.charCodeAt(s++)); p >= jt && Rn("invalid-input"), p > Jt((jr - r) / u) && Rn("overflow"), r += p * u; - const _ = d <= o ? Nu : d >= o + uo ? uo : d - o; + const _ = d <= o ? xu : d >= o + po ? po : d - o; if (p < _) break; const m = jt - _; u > Jt(jr / m) && Rn("overflow"), u *= m; } const c = e.length + 1; - o = Xh(r - l, c, l == 0), Jt(r / c) > jr - i && Rn("overflow"), i += Jt(r / c), r %= c, e.splice(r++, 0, i); + o = tE(r - l, c, l == 0), Jt(r / c) > jr - i && Rn("overflow"), i += Jt(r / c), r %= c, e.splice(r++, 0, i); } return String.fromCodePoint(...e); -}, Jh = function(t) { +}, rE = function(t) { const e = []; - t = Zh(t); + t = eE(t); const n = t.length; - let r = Wh, i = 0, o = qh; + let r = Xg, i = 0, o = Zg; for (const l of t) - l < 128 && e.push(Rl(l)); + l < 128 && e.push(Nl(l)); const a = e.length; let s = a; - for (a && e.push(Kh); s < n; ) { + for (a && e.push(jg); s < n; ) { let l = jr; for (const u of t) u >= r && u < l && (l = u); @@ -77902,28 +77920,28 @@ const i3 = (t) => String.fromCodePoint(...t), o3 = function(t) { if (u < r && ++i > jr && Rn("overflow"), u === r) { let d = i; for (let p = jt; ; p += jt) { - const _ = p <= o ? Nu : p >= o + uo ? uo : p - o; + const _ = p <= o ? xu : p >= o + po ? po : p - o; if (d < _) break; const m = d - _, f = jt - _; e.push( - Rl(em(_ + m % f, 0)) + Nl(rm(_ + m % f, 0)) ), d = Jt(m / f); } - e.push(Rl(em(d, 0))), o = Xh(i, c, s === a), i = 0, ++s; + e.push(Nl(rm(d, 0))), o = tE(i, c, s === a), i = 0, ++s; } ++i, ++r; } return e.join(""); -}, a3 = function(t) { - return Qh(t, function(e) { - return JP.test(e) ? jh(e.slice(4).toLowerCase()) : e; +}, f3 = function(t) { + return Jg(t, function(e) { + return l3.test(e) ? nE(e.slice(4).toLowerCase()) : e; }); -}, s3 = function(t) { - return Qh(t, function(e) { - return e3.test(e) ? "xn--" + Jh(e) : e; +}, h3 = function(t) { + return Jg(t, function(e) { + return c3.test(e) ? "xn--" + rE(e) : e; }); -}, eE = { +}, iE = { /** * A string representing the current Punycode.js version number. * @memberOf punycode @@ -77938,14 +77956,14 @@ const i3 = (t) => String.fromCodePoint(...t), o3 = function(t) { * @type Object */ ucs2: { - decode: Zh, - encode: i3 + decode: eE, + encode: _3 }, - decode: jh, - encode: Jh, - toASCII: s3, - toUnicode: a3 -}, l3 = { + decode: nE, + encode: rE, + toASCII: h3, + toUnicode: f3 +}, g3 = { options: { // Enable HTML tags in source html: !1, @@ -77981,7 +77999,7 @@ const i3 = (t) => String.fromCodePoint(...t), o3 = function(t) { block: {}, inline: {} } -}, c3 = { +}, E3 = { options: { // Enable HTML tags in source html: !1, @@ -78036,7 +78054,7 @@ const i3 = (t) => String.fromCodePoint(...t), o3 = function(t) { ] } } -}, u3 = { +}, S3 = { options: { // Enable HTML tags in source html: !0, @@ -78110,47 +78128,47 @@ const i3 = (t) => String.fromCodePoint(...t), o3 = function(t) { ] } } -}, d3 = { - default: l3, - zero: c3, - commonmark: u3 -}, p3 = /^(vbscript|javascript|file|data):/, _3 = /^data:image\/(gif|png|jpeg|webp);/; -function m3(t) { +}, b3 = { + default: g3, + zero: E3, + commonmark: S3 +}, T3 = /^(vbscript|javascript|file|data):/, C3 = /^data:image\/(gif|png|jpeg|webp);/; +function y3(t) { const e = t.trim().toLowerCase(); - return p3.test(e) ? _3.test(e) : !0; + return T3.test(e) ? C3.test(e) : !0; } -const tE = ["http:", "https:", "mailto:"]; -function f3(t) { - const e = Tu(t, !0); - if (e.hostname && (!e.protocol || tE.indexOf(e.protocol) >= 0)) +const oE = ["http:", "https:", "mailto:"]; +function v3(t) { + const e = vu(t, !0); + if (e.hostname && (!e.protocol || oE.indexOf(e.protocol) >= 0)) try { - e.hostname = eE.toASCII(e.hostname); + e.hostname = iE.toASCII(e.hostname); } catch { } - return So(bu(e)); + return bo(yu(e)); } -function g3(t) { - const e = Tu(t, !0); - if (e.hostname && (!e.protocol || tE.indexOf(e.protocol) >= 0)) +function R3(t) { + const e = vu(t, !0); + if (e.hostname && (!e.protocol || oE.indexOf(e.protocol) >= 0)) try { - e.hostname = eE.toUnicode(e.hostname); + e.hostname = iE.toUnicode(e.hostname); } catch { } - return di(bu(e), di.defaultChars + "%"); + return di(yu(e), di.defaultChars + "%"); } function Pt(t, e) { if (!(this instanceof Pt)) return new Pt(t, e); - e || yu(t) || (e = t || {}, t = "default"), this.inline = new To(), this.block = new As(), this.core = new Ru(), this.renderer = new gi(), this.linkify = new Ot(), this.validateLink = m3, this.normalizeLink = f3, this.normalizeLinkText = g3, this.utils = Ek, this.helpers = Os({}, Ck), this.options = {}, this.configure(t), e && this.set(e); + e || Ou(t) || (e = t || {}, t = "default"), this.inline = new Co(), this.block = new xs(), this.core = new Au(), this.renderer = new gi(), this.linkify = new Ot(), this.validateLink = y3, this.normalizeLink = v3, this.normalizeLinkText = R3, this.utils = Nk, this.helpers = As({}, Dk), this.options = {}, this.configure(t), e && this.set(e); } Pt.prototype.set = function(t) { - return Os(this.options, t), this; + return As(this.options, t), this; }; Pt.prototype.configure = function(t) { const e = this; - if (yu(t)) { + if (Ou(t)) { const n = t; - if (t = d3[n], !t) + if (t = b3[n], !t) throw new Error('Wrong `markdown-it` preset "' + n + '", check name'); } if (!t) @@ -78203,7 +78221,7 @@ Pt.prototype.parseInline = function(t, e) { Pt.prototype.renderInline = function(t, e) { return e = e || {}, this.renderer.render(this.parseInline(t, e), this.options, e); }; -function h3(t) { +function O3(t) { for (var e = 1; e < arguments.length; e++) { var n = arguments[e]; for (var r in n) @@ -78211,18 +78229,18 @@ function h3(t) { } return t; } -function Sc(t, e) { +function Tc(t, e) { return Array(e + 1).join(t); } -function E3(t) { +function N3(t) { return t.replace(/^\n*/, ""); } -function S3(t) { +function A3(t) { for (var e = t.length; e > 0 && t[e - 1] === ` `; ) e--; return t.substring(0, e); } -var b3 = [ +var I3 = [ "ADDRESS", "ARTICLE", "ASIDE", @@ -78273,10 +78291,10 @@ var b3 = [ "TR", "UL" ]; -function Au(t) { - return Iu(t, b3); +function Du(t) { + return Mu(t, I3); } -var nE = [ +var aE = [ "AREA", "BASE", "BR", @@ -78294,13 +78312,13 @@ var nE = [ "TRACK", "WBR" ]; -function rE(t) { - return Iu(t, nE); +function sE(t) { + return Mu(t, aE); } -function T3(t) { - return oE(t, nE); +function x3(t) { + return cE(t, aE); } -var iE = [ +var lE = [ "A", "TABLE", "THEAD", @@ -78313,16 +78331,16 @@ var iE = [ "AUDIO", "VIDEO" ]; -function C3(t) { - return Iu(t, iE); +function D3(t) { + return Mu(t, lE); } -function y3(t) { - return oE(t, iE); +function M3(t) { + return cE(t, lE); } -function Iu(t, e) { +function Mu(t, e) { return e.indexOf(t.nodeName) >= 0; } -function oE(t, e) { +function cE(t, e) { return t.getElementsByTagName && e.some(function(n) { return t.getElementsByTagName(n).length; }); @@ -78350,7 +78368,7 @@ at.heading = { replacement: function(t, e, n) { var r = Number(e.nodeName.charAt(1)); if (n.headingStyle === "setext" && r < 3) { - var i = Sc(r === 1 ? "=" : "-", t.length); + var i = Tc(r === 1 ? "=" : "-", t.length); return ` ` + t + ` @@ -78360,7 +78378,7 @@ at.heading = { } else return ` -` + Sc("#", r) + " " + t + ` +` + Tc("#", r) + " " + t + ` `; } @@ -78422,7 +78440,7 @@ at.fencedCodeBlock = { replacement: function(t, e, n) { for (var r = e.firstChild.getAttribute("class") || "", i = (r.match(/language-(\S+)/) || [null, ""])[1], o = e.firstChild.textContent, a = n.fence.charAt(0), s = 3, l = new RegExp("^" + a + "{3,}", "gm"), c; c = l.exec(o); ) c[0].length >= s && (s = c[0].length + 1); - var u = Sc(a, s); + var u = Tc(a, s); return ` ` + u + i + ` @@ -78449,7 +78467,7 @@ at.inlineLink = { replacement: function(t, e) { var n = e.getAttribute("href"); n && (n = n.replace(/([()])/g, "\\$1")); - var r = Xa(e.getAttribute("title")); + var r = Ja(e.getAttribute("title")); return r && (r = ' "' + r.replace(/"/g, '\\"') + '"'), "[" + t + "](" + n + r + ")"; } }; @@ -78458,7 +78476,7 @@ at.referenceLink = { return e.linkStyle === "referenced" && t.nodeName === "A" && t.getAttribute("href"); }, replacement: function(t, e, n) { - var r = e.getAttribute("href"), i = Xa(e.getAttribute("title")); + var r = e.getAttribute("href"), i = Ja(e.getAttribute("title")); i && (i = ' "' + i + '"'); var o, a; switch (n.linkReferenceStyle) { @@ -78512,15 +78530,15 @@ at.code = { at.image = { filter: "img", replacement: function(t, e) { - var n = Xa(e.getAttribute("alt")), r = e.getAttribute("src") || "", i = Xa(e.getAttribute("title")), o = i ? ' "' + i + '"' : ""; + var n = Ja(e.getAttribute("alt")), r = e.getAttribute("src") || "", i = Ja(e.getAttribute("title")), o = i ? ' "' + i + '"' : ""; return r ? "![" + n + "](" + r + o + ")" : ""; } }; -function Xa(t) { +function Ja(t) { return t ? t.replace(/(\n+\s*)+/g, ` `) : ""; } -function aE(t) { +function uE(t) { this.options = t, this._keep = [], this._remove = [], this.blankRule = { replacement: t.blankReplacement }, this.keepReplacement = t.keepReplacement, this.defaultRule = { @@ -78528,7 +78546,7 @@ function aE(t) { }, this.array = []; for (var e in t.rules) this.array.push(t.rules[e]); } -aE.prototype = { +uE.prototype = { add: function(t, e) { this.array.unshift(e); }, @@ -78549,19 +78567,19 @@ aE.prototype = { forNode: function(t) { if (t.isBlank) return this.blankRule; var e; - return (e = Ol(this.array, t, this.options)) || (e = Ol(this._keep, t, this.options)) || (e = Ol(this._remove, t, this.options)) ? e : this.defaultRule; + return (e = Al(this.array, t, this.options)) || (e = Al(this._keep, t, this.options)) || (e = Al(this._remove, t, this.options)) ? e : this.defaultRule; }, forEach: function(t) { for (var e = 0; e < this.array.length; e++) t(this.array[e], e); } }; -function Ol(t, e, n) { +function Al(t, e, n) { for (var r = 0; r < t.length; r++) { var i = t[r]; - if (v3(i, e, n)) return i; + if (w3(i, e, n)) return i; } } -function v3(t, e, n) { +function w3(t, e, n) { var r = t.filter; if (typeof r == "string") { if (r === e.nodeName.toLowerCase()) return !0; @@ -78572,51 +78590,51 @@ function v3(t, e, n) { } else throw new TypeError("`filter` needs to be a string, array, or function"); } -function R3(t) { +function L3(t) { var e = t.element, n = t.isBlock, r = t.isVoid, i = t.isPre || function(d) { return d.nodeName === "PRE"; }; if (!(!e.firstChild || i(e))) { - for (var o = null, a = !1, s = null, l = tm(s, e, i); l !== e; ) { + for (var o = null, a = !1, s = null, l = im(s, e, i); l !== e; ) { if (l.nodeType === 3 || l.nodeType === 4) { var c = l.data.replace(/[ \r\n\t]+/g, " "); if ((!o || / $/.test(o.data)) && !a && c[0] === " " && (c = c.substr(1)), !c) { - l = Nl(l); + l = Il(l); continue; } l.data = c, o = l; } else if (l.nodeType === 1) n(l) || l.nodeName === "BR" ? (o && (o.data = o.data.replace(/ $/, "")), o = null, a = !1) : r(l) || i(l) ? (o = null, a = !0) : o && (a = !1); else { - l = Nl(l); + l = Il(l); continue; } - var u = tm(s, l, i); + var u = im(s, l, i); s = l, l = u; } - o && (o.data = o.data.replace(/ $/, ""), o.data || Nl(o)); + o && (o.data = o.data.replace(/ $/, ""), o.data || Il(o)); } } -function Nl(t) { +function Il(t) { var e = t.nextSibling || t.parentNode; return t.parentNode.removeChild(t), e; } -function tm(t, e, n) { +function im(t, e, n) { return t && t.parentNode === e || n(e) ? e.nextSibling || e.parentNode : e.firstChild || e.nextSibling || e.parentNode; } -var xu = typeof window < "u" ? window : {}; -function O3() { - var t = xu.DOMParser, e = !1; +var wu = typeof window < "u" ? window : {}; +function k3() { + var t = wu.DOMParser, e = !1; try { new t().parseFromString("", "text/html") && (e = !0); } catch { } return e; } -function N3() { +function P3() { var t = function() { }; - return A3() ? t.prototype.parseFromString = function(e) { + return F3() ? t.prototype.parseFromString = function(e) { var n = new window.ActiveXObject("htmlfile"); return n.designMode = "on", n.open(), n.write(e), n.close(), n; } : t.prototype.parseFromString = function(e) { @@ -78624,20 +78642,20 @@ function N3() { return n.open(), n.write(e), n.close(), n; }, t; } -function A3() { +function F3() { var t = !1; try { document.implementation.createHTMLDocument("").open(); } catch { - xu.ActiveXObject && (t = !0); + wu.ActiveXObject && (t = !0); } return t; } -var I3 = O3() ? xu.DOMParser : N3(); -function x3(t, e) { +var B3 = k3() ? wu.DOMParser : P3(); +function U3(t, e) { var n; if (typeof t == "string") { - var r = D3().parseFromString( + var r = H3().parseFromString( // DOM parsers arrange elements in the and . // Wrapping in a custom element ensures elements are reliably arranged in // a single element. @@ -78647,33 +78665,33 @@ function x3(t, e) { n = r.getElementById("turndown-root"); } else n = t.cloneNode(!0); - return R3({ + return L3({ element: n, - isBlock: Au, - isVoid: rE, - isPre: e.preformattedCode ? M3 : null + isBlock: Du, + isVoid: sE, + isPre: e.preformattedCode ? G3 : null }), n; } -var Al; -function D3() { - return Al = Al || new I3(), Al; +var xl; +function H3() { + return xl = xl || new B3(), xl; } -function M3(t) { +function G3(t) { return t.nodeName === "PRE" || t.nodeName === "CODE"; } -function w3(t, e) { - return t.isBlock = Au(t), t.isCode = t.nodeName === "CODE" || t.parentNode.isCode, t.isBlank = L3(t), t.flankingWhitespace = k3(t, e), t; +function V3(t, e) { + return t.isBlock = Du(t), t.isCode = t.nodeName === "CODE" || t.parentNode.isCode, t.isBlank = Y3(t), t.flankingWhitespace = z3(t, e), t; } -function L3(t) { - return !rE(t) && !C3(t) && /^\s*$/i.test(t.textContent) && !T3(t) && !y3(t); +function Y3(t) { + return !sE(t) && !D3(t) && /^\s*$/i.test(t.textContent) && !x3(t) && !M3(t); } -function k3(t, e) { +function z3(t, e) { if (t.isBlock || e.preformattedCode && t.isCode) return { leading: "", trailing: "" }; - var n = P3(t.textContent); - return n.leadingAscii && nm("left", t, e) && (n.leading = n.leadingNonAscii), n.trailingAscii && nm("right", t, e) && (n.trailing = n.trailingNonAscii), { leading: n.leading, trailing: n.trailing }; + var n = $3(t.textContent); + return n.leadingAscii && om("left", t, e) && (n.leading = n.leadingNonAscii), n.trailingAscii && om("right", t, e) && (n.trailing = n.trailingNonAscii), { leading: n.leading, trailing: n.trailing }; } -function P3(t) { +function $3(t) { var e = t.match(/^(([ \t\r\n]*)(\s*))(?:(?=\S)[\s\S]*\S)?((\s*?)([ \t\r\n]*))$/); return { leading: e[1], @@ -78686,11 +78704,11 @@ function P3(t) { trailingAscii: e[6] }; } -function nm(t, e, n) { +function om(t, e, n) { var r, i, o; - return t === "left" ? (r = e.previousSibling, i = / $/) : (r = e.nextSibling, i = /^ /), r && (r.nodeType === 3 ? o = i.test(r.nodeValue) : n.preformattedCode && r.nodeName === "CODE" ? o = !1 : r.nodeType === 1 && !Au(r) && (o = i.test(r.textContent))), o; + return t === "left" ? (r = e.previousSibling, i = / $/) : (r = e.nextSibling, i = /^ /), r && (r.nodeType === 3 ? o = i.test(r.nodeValue) : n.preformattedCode && r.nodeName === "CODE" ? o = !1 : r.nodeType === 1 && !Du(r) && (o = i.test(r.textContent))), o; } -var F3 = Array.prototype.reduce, B3 = [ +var q3 = Array.prototype.reduce, W3 = [ [/\\/g, "\\\\"], [/\*/g, "\\*"], [/^-/g, "\\-"], @@ -78705,8 +78723,8 @@ var F3 = Array.prototype.reduce, B3 = [ [/_/g, "\\_"], [/^(\d+)\. /g, "$1\\. "] ]; -function ja(t) { - if (!(this instanceof ja)) return new ja(t); +function es(t) { + if (!(this instanceof es)) return new es(t); var e = { rules: at, headingStyle: "setext", @@ -78740,9 +78758,9 @@ function ja(t) { ` : n; } }; - this.options = h3({}, e, t), this.rules = new aE(this.options); + this.options = O3({}, e, t), this.rules = new uE(this.options); } -ja.prototype = { +es.prototype = { /** * The entry point for converting a string or DOM node to Markdown * @public @@ -78751,13 +78769,13 @@ ja.prototype = { * @type String */ turndown: function(t) { - if (!G3(t)) + if (!Z3(t)) throw new TypeError( t + " is not a string, or an element/document/fragment node." ); if (t === "") return ""; - var e = sE.call(this, new x3(t, this.options)); - return U3.call(this, e); + var e = dE.call(this, new U3(t, this.options)); + return K3.call(this, e); }, /** * Add one or more plugins @@ -78814,45 +78832,199 @@ ja.prototype = { * @type String */ escape: function(t) { - return B3.reduce(function(e, n) { + return W3.reduce(function(e, n) { return e.replace(n[0], n[1]); }, t); } }; -function sE(t) { +function dE(t) { var e = this; - return F3.call(t.childNodes, function(n, r) { - r = new w3(r, e.options); + return q3.call(t.childNodes, function(n, r) { + r = new V3(r, e.options); var i = ""; - return r.nodeType === 3 ? i = r.isCode ? r.nodeValue : e.escape(r.nodeValue) : r.nodeType === 1 && (i = H3.call(e, r)), lE(n, i); + return r.nodeType === 3 ? i = r.isCode ? r.nodeValue : e.escape(r.nodeValue) : r.nodeType === 1 && (i = Q3.call(e, r)), pE(n, i); }, ""); } -function U3(t) { +function K3(t) { var e = this; return this.rules.forEach(function(n) { - typeof n.append == "function" && (t = lE(t, n.append(e.options))); + typeof n.append == "function" && (t = pE(t, n.append(e.options))); }), t.replace(/^[\t\r\n]+/, "").replace(/[\t\r\n\s]+$/, ""); } -function H3(t) { - var e = this.rules.forNode(t), n = sE.call(this, t), r = t.flankingWhitespace; +function Q3(t) { + var e = this.rules.forNode(t), n = dE.call(this, t), r = t.flankingWhitespace; return (r.leading || r.trailing) && (n = n.trim()), r.leading + e.replacement(n, t, this.options) + r.trailing; } -function lE(t, e) { - var n = S3(t), r = E3(e), i = Math.max(t.length - n.length, e.length - r.length), o = ` +function pE(t, e) { + var n = A3(t), r = N3(e), i = Math.max(t.length - n.length, e.length - r.length), o = ` `.substring(0, i); return n + o + r; } -function G3(t) { +function Z3(t) { return t != null && (typeof t == "string" || t.nodeType && (t.nodeType === 1 || t.nodeType === 9 || t.nodeType === 11)); } -const cE = Pt({ +var am = /highlight-(?:text|source)-([a-z0-9]+)/; +function X3(t) { + t.addRule("highlightedCodeBlock", { + filter: function(e) { + var n = e.firstChild; + return e.nodeName === "DIV" && am.test(e.className) && n && n.nodeName === "PRE"; + }, + replacement: function(e, n, r) { + var i = n.className || "", o = (i.match(am) || [null, ""])[1]; + return ` + +` + r.fence + o + ` +` + n.firstChild.textContent + ` +` + r.fence + ` + +`; + } + }); +} +function j3(t) { + t.addRule("strikethrough", { + filter: ["del", "s", "strike"], + replacement: function(e) { + return "~" + e + "~"; + } + }); +} +var J3 = Array.prototype.indexOf, eF = Array.prototype.every, _i = {}; +_i.tableCell = { + filter: ["th", "td"], + replacement: function(t, e) { + return Lu(mE(e)) ? t : Cc(t, e); + } +}; +_i.tableRow = { + filter: "tr", + replacement: function(t, e) { + const n = mE(e); + if (Lu(n)) return t; + var r = "", i = { left: ":--", right: "--:", center: ":-:" }; + if (tF(e)) { + const l = fE(n); + for (var o = 0; o < l; o++) { + const c = l >= e.childNodes.length ? null : e.childNodes[o]; + var a = "---", s = c ? (c.getAttribute("align") || "").toLowerCase() : ""; + s && (a = i[s] || a), c ? r += Cc(a, e.childNodes[o]) : r += Cc(a, null, o); + } + } + return ` +` + t + (r ? ` +` + r : ""); + } +}; +_i.table = { + // Only convert tables with a heading row. + // Tables with no heading row are kept using `keep` (see below). + filter: function(t) { + return t.nodeName === "TABLE"; + }, + replacement: function(t, e) { + if (Lu(e)) return t; + t = t.replace(/\n+/g, ` +`); + var n = t.trim().split(` +`); + n.length >= 2 && (n = n[1]); + var r = n.indexOf("| ---") === 0, i = fE(e), o = ""; + return i && !r && (o = "|" + " |".repeat(i) + ` +|` + " --- |".repeat(i)), ` + +` + o + t + ` + +`; + } +}; +_i.tableSection = { + filter: ["thead", "tbody", "tfoot"], + replacement: function(t) { + return t; + } +}; +function tF(t) { + var e = t.parentNode; + return e.nodeName === "THEAD" || e.firstChild === t && (e.nodeName === "TABLE" || nF(e)) && eF.call(t.childNodes, function(n) { + return n.nodeName === "TH"; + }); +} +function nF(t) { + var e = t.previousSibling; + return t.nodeName === "TBODY" && (!e || e.nodeName === "THEAD" && /^\s*$/i.test(e.textContent)); +} +function Cc(t, e = null, n = null) { + n === null && (n = J3.call(e.parentNode.childNodes, e)); + var r = " "; + n === 0 && (r = "| "); + let i = t.trim().replace(/\n\r/g, "
").replace(/\n/g, "
"); + for (i = i.replace(/\|+/g, "\\|"); i.length < 3; ) i += " "; + return e && (i = rF(i, e, " ")), r + i + " |"; +} +function _E(t) { + if (!t.childNodes) return !1; + for (let e = 0; e < t.childNodes.length; e++) { + const n = t.childNodes[e]; + if (n.nodeName === "TABLE" || _E(n)) return !0; + } + return !1; +} +function Lu(t) { + return !!(!t || !t.rows || t.rows.length === 1 && t.rows[0].childNodes.length <= 1 || _E(t)); +} +function mE(t) { + let e = t.parentNode; + for (; e.nodeName !== "TABLE"; ) + if (e = e.parentNode, !e) return null; + return e; +} +function rF(t, e, n) { + const r = e.getAttribute("colspan") || 1; + for (let i = 1; i < r; i++) + t += " | " + n.repeat(3); + return t; +} +function fE(t) { + let e = 0; + for (let n = 0; n < t.rows.length; n++) { + const i = t.rows[n].childNodes.length; + i > e && (e = i); + } + return e; +} +function hE(t) { + t.keep(function(n) { + return n.nodeName === "TABLE"; + }); + for (var e in _i) t.addRule(e, _i[e]); +} +function iF(t) { + t.addRule("taskListItems", { + filter: function(e) { + return e.type === "checkbox" && e.parentNode.nodeName === "LI"; + }, + replacement: function(e, n) { + return (n.checked ? "[x]" : "[ ]") + " "; + } + }); +} +function oF(t) { + t.use([ + X3, + j3, + hE, + iF + ]); +} +const gE = Pt({ html: !0, linkify: !0, typographer: !0 -}), uE = ["info", "tip", "warning", "danger"]; -uE.forEach((t) => { - cE.use(xh, t, { +}), EE = ["info", "tip", "warning", "danger"]; +EE.forEach((t) => { + gE.use(Lg, t, { validate: function(e) { return e = e.trim(), e === "" ? !0 : e.indexOf(t) >= 0; }, @@ -78861,7 +79033,7 @@ uE.forEach((t) => { } }); }); -const Du = new ja({ +const yo = new es({ headingStyle: "atx", hr: "---", bulletListMarker: "-", @@ -78873,17 +79045,16 @@ const Du = new ja({ linkReferenceStyle: "full", preformattedCode: !1 }); -Du.keep((t) => !(t && t.nodeName === "DIV")); -Du.addRule("container", { +yo.use(oF); +yo.use(hE); +yo.keep((t) => !(t && t.nodeName === "DIV")); +yo.addRule("container", { // match
...
- filter: ["div"], - tokenizer: (t, e) => { - if (t.tag === "div" && t.attribs.class === "container-wrapper") - return t; - }, + // filter: ['div'], + filter: (t) => t.tagName === "DIV" && t.classList.contains("container-wrapper"), replacement: function(t, e) { let n = ""; - for (let r of uE) + for (let r of EE) if (e.classList.contains(r)) { n = " " + r; break; @@ -78894,24 +79065,20 @@ Du.addRule("container", { `; } }); -const Ja = (t) => { +const ts = (t) => { if (!t) return t; - const e = cE.render(t).trim(); - if (!e) return t; - const r = new DOMParser().parseFromString(e, "text/html"), i = r.querySelectorAll("li"); - i && i.forEach((a) => { - a.innerHTML || (a.innerHTML = "

"); - }); - let o = ""; - for (let a = 0; a < r.body.children.length; a++) { - const s = r.body.children[a]; - a == 0 && s.tagName === "P" ? o += s.innerHTML : o += s.querySelector("img") ? s.innerHTML : s.outerHTML; - } - return o; -}, V3 = (t) => t && Du.turndown(t); -re("aie-header", ug); -re("aie-footer", dg); -const Y3 = { + const e = gE.render(t).trim(); + return e ? OL(e) : t; +}, aF = (t) => { + if (!t) return t; + const n = new DOMParser().parseFromString(t, "text/html"); + n.querySelectorAll("colgroup").forEach((o) => o.remove()); + const i = n.body.innerHTML; + return yo.turndown(i); +}; +re("aie-header", mh); +re("aie-footer", fh); +const sF = { theme: "light", lang: "zh", contentRetentionKey: "ai-editor-content", @@ -78920,7 +79087,7 @@ const Y3 = { placeholder: "", toolbarSize: "small" }; -class z3 extends hC { +class lF extends RC { constructor(n, r = {}) { super(r); L(this, "aiEditor"); @@ -78933,14 +79100,14 @@ class z3 extends hC { return Wr.fromSchema(this.schema).parse(r(n), {}).content; } parseMarkdown(n) { - const r = Ja(n); + const r = ts(n); return this.parseHtml(r); } insertMarkdown(n) { - this.commands.insertContent(Ja(n)); + this.commands.insertContent(ts(n)); } } -class o4 { +class yB { constructor(e) { L(this, "customLayout", !1); L(this, "innerEditor"); @@ -78950,21 +79117,21 @@ class o4 { L(this, "footer"); L(this, "options"); L(this, "eventComponents", []); - this.options = { ...Y3, ...e }, this.initI18nAndInnerEditor(); + this.options = { ...sF, ...e }, this.initI18nAndInnerEditor(); } initI18nAndInnerEditor() { const e = this.options.i18n || {}, n = { - de: { translation: { ...yL, ...e.de } }, - en: { translation: { ...CL, ...e.en } }, - pt: { translation: { ...vL, ...e.pt } }, - zh: { translation: { ...TL, ...e.zh } }, - es: { translation: { ...RL, ...e.es } }, - hi: { translation: { ...OL, ...e.hi } }, - id: { translation: { ...NL, ...e.id } }, - ja: { translation: { ...AL, ...e.ja } }, - ko: { translation: { ...IL, ...e.ko } }, - th: { translation: { ...xL, ...e.th } }, - vi: { translation: { ...DL, ...e.vi } } + de: { translation: { ...ML, ...e.de } }, + en: { translation: { ...DL, ...e.en } }, + pt: { translation: { ...wL, ...e.pt } }, + zh: { translation: { ...xL, ...e.zh } }, + es: { translation: { ...LL, ...e.es } }, + hi: { translation: { ...kL, ...e.hi } }, + id: { translation: { ...PL, ...e.id } }, + ja: { translation: { ...FL, ...e.ja } }, + ko: { translation: { ...BL, ...e.ko } }, + th: { translation: { ...UL, ...e.th } }, + vi: { translation: { ...HL, ...e.vi } } }; for (let r of Object.keys(e)) r != "de" && r != "en" && r != "pt" && r != "zh" && (n[r] = { @@ -78979,9 +79146,9 @@ class o4 { } initInnerEditor() { const e = typeof this.options.element == "string" ? document.querySelector(this.options.element) : this.options.element; - e.classList.add(`aie-theme-${this.options.theme}`), this.container = e.querySelector(".aie-container"), this.container ? this.customLayout = !0 : (this.container = document.createElement("div"), this.container.classList.add("aie-container")), e.appendChild(this.container), this.mainEl = document.createElement("div"), this.mainEl.style.flexGrow = "1", this.mainEl.style.overflow = "auto", this.header = new ug(), this.eventComponents.push(this.header), this.footer = new dg(), this.footer.initDraggable(this.options.draggable), this.eventComponents.push(this.footer); + e.classList.add(`aie-theme-${this.options.theme}`), this.container = e.querySelector(".aie-container"), this.container ? this.customLayout = !0 : (this.container = document.createElement("div"), this.container.classList.add("aie-container")), e.appendChild(this.container), this.mainEl = document.createElement("div"), this.mainEl.style.flexGrow = "1", this.mainEl.style.overflow = "auto", this.header = new mh(), this.eventComponents.push(this.header), this.footer = new fh(), this.footer.initDraggable(this.options.draggable), this.eventComponents.push(this.footer); let n = this.options.content; - if (n && this.options.contentIsMarkdown && (n = Ja(n)), this.options.contentRetention && this.options.contentRetentionKey) { + if (n && this.options.contentIsMarkdown && (n = ts(n)), this.options.contentRetention && this.options.contentRetentionKey) { const r = localStorage.getItem(this.options.contentRetentionKey); if (r) try { @@ -78990,7 +79157,7 @@ class o4 { console.error(i, "Can not parse the cache content from localStorage."); } } - this.innerEditor = new z3(this, { + this.innerEditor = new lF(this, { element: this.mainEl, content: n, editable: this.options.editable, @@ -79017,7 +79184,7 @@ class o4 { }); } getExtensions() { - let e = bL(this, this.options); + let e = IL(this, this.options); if (this.options.onCreateBefore) { const n = this.options.onCreateBefore(this, e); n && (e = n); @@ -79054,10 +79221,10 @@ class o4 { } getSelectedText() { const e = this.innerEditor.state.selection; - return e.empty ? "" : ps(this.innerEditor.state.doc, { from: e.from, to: e.to }); + return e.empty ? "" : ms(this.innerEditor.state.doc, { from: e.from, to: e.to }); } getMarkdown() { - return V3(this.getHtml()); + return aF(this.getHtml()); } getOptions() { return this.options; @@ -79135,7 +79302,7 @@ class o4 { return this.focus().clear().insert(e), this; } setMarkdownContent(e) { - const n = Ja(e); + const n = ts(e); return this.setContent(n); } clear() { @@ -79147,6 +79314,10 @@ class o4 { changeLang(e) { return this.destroy(), this.options.lang = e, Je.changeLanguage(e), this.initInnerEditor(), this; } + changeTheme(e) { + const n = typeof this.options.element == "string" ? document.querySelector(this.options.element) : this.options.element; + e || (e = this.options.theme === "dark" ? "light" : "dark"), n.classList.remove(`aie-theme-${this.options.theme}`), n.classList.add(`aie-theme-${e}`), this.options.theme = e; + } removeRetention() { return this.options.contentRetentionKey && localStorage.removeItem(this.options.contentRetentionKey), this; } @@ -79159,11 +79330,11 @@ class o4 { } } export { - o4 as AiEditor, + yB as AiEditor, Yn as AiModelManager, - Nv as CustomAiModel, - z3 as InnerEditor, - Av as OpenaiAiModel, - Tv as SparkAiModel, - Cv as WenXinAiModel + kv as CustomAiModel, + lF as InnerEditor, + Pv as OpenaiAiModel, + Iv as SparkAiModel, + xv as WenXinAiModel }; diff --git a/dist/style.css b/dist/style.css index 21f9db9..da13bae 100644 --- a/dist/style.css +++ b/dist/style.css @@ -1 +1 @@ -:root,:root .aie-theme-light{--aie-text-color: #333;--aie-text-placeholder-color: #adb5bd;--aie-bg-color: #fff;--aie-container-border: #eee;--aie-pre-bg-color: #f6f6f7;--aie-blockquote-bg-color: #f6f6f7;--aie-blockquote-border-color: #e3e3e3;--aie-blockquote-text-color: #888888;--aie-dropdown-container-bg-color: #ffffff;--aie-dropdown-container-border-color: #e9e9e9;--aie-dropdown-container-item-hover-color: #efefef;--aie-dropdown-color-panel-title-color: #666;--aie-dropdown-color-panel-button-border-color: #eaeaea;--aie-aie-popover-border-color: #eee;--aie-aie-popover-text-color: #333;--aie-suggestion-selected-border-color: #eee;--aie-suggestion-selected-bg-color: #eee;--aie-menus-text-color: var(--aie-text-color);--aie-menus-bg-color: #ffffff;--aie-menus-svg-color: #353535;--aie-menus-item-hover-color: #eee;--aie-menus-divider-color: #eaeaea;--aie-menus-ai-bg-color: var(--aie-menus-svg-color);--aie-menus-ai-color: #ffffff;--aie-menus-tip-bg-color: #333;--aie-menus-tip-text-color: #eee;--aie-menus-table-cell-border-color: #ccc;--aie-menus-table-cell-border-active-color: #000;--aie-content-container-info-color: #eff1f3;--aie-content-container-warning-color: #fcf5e4;--aie-content-container-danger-color: #ffe7ea;--aie-content-table-th-bg-color: #efefef;--aie-content-table-selected-bg-color: rgba(200, 200, 255, .3);--aie-content-table-border-color: #ced4da;--aie-content-table-handler-color: #adf;--aie-content-scrollbar-track-piece: #f1f1f1;--aie-content-scrollbar-thumb: #c1c1c1;--aie-content-scrollbar-thumb-hover: #a9a9a9;--aie-content-scrollbar-thumb-active: #787878;--aie-content-link-a-color: blue;--aie-content-link-a-hover-color: red;--aie-content-link-a-visited-color: purple;--aie-content-link-a-active-color: green;--aie-ai-panel-bg-color: #fff;--aie-ai-panel-border: #e9e9e9;--aie-textarea-border: #eaeaea;--aie-textarea-bg-color: #e9e9e9;--aie-actions-button-bg-color: #eaeaea;--aie-actions-button-color: #666;--aie-input-bg-color: #fff;--aie-input-border-color: #e9e9e9;--aie-input-button-bg-color: #e9e9e9}:root .aie-theme-dark{--aie-text-color: #ccc;--aie-text-placeholder-color: #5d5d5d;--aie-bg-color: #1e2022;--aie-container-border: #333;--aie-pre-bg-color: #282c34;--aie-blockquote-bg-color: #282c34;--aie-blockquote-border-color: #505050;--aie-blockquote-text-color: #888888;--aie-dropdown-container-bg-color: #505050;--aie-dropdown-container-border-color: #606060;--aie-dropdown-container-item-hover-color: #696969;--aie-dropdown-color-panel-title-color: #ccc;--aie-dropdown-color-panel-button-border-color: #606060;--aie-aie-popover-border-color: #606060;--aie-aie-popover-text-color: #ccc;--aie-suggestion-selected-border-color: #444;--aie-suggestion-selected-bg-color: #444;--aie-menus-text-color: var(--aie-text-color);--aie-menus-bg-color: #1a1b1e;--aie-menus-svg-color: #cccccc;--aie-menus-item-hover-color: #333;--aie-menus-divider-color: #2c2c2c;--aie-menus-ai-bg-color: var(--aie-menus-svg-color);--aie-menus-ai-color: #000;--aie-menus-tip-bg-color: #eee;--aie-menus-tip-text-color: #333;--aie-menus-table-cell-border-color: #888;--aie-menus-table-cell-border-active-color: #ccc;--aie-content-container-info-color: #2a2c30;--aie-content-container-warning-color: #40361d;--aie-content-container-danger-color: #46222a;--aie-content-table-th-bg-color: #2c2c2c;--aie-content-table-selected-bg-color: rgba(200, 200, 255, .2);--aie-content-table-border-color: #353535;--aie-content-table-handler-color: #566a77;--aie-content-scrollbar-track-piece: #404040;--aie-content-scrollbar-thumb: #dddddd50;--aie-content-scrollbar-thumb-hover: #dddddd70;--aie-content-scrollbar-thumb-active: #dddddda0;--aie-content-link-a-color: #4ca3f5;--aie-content-link-a-hover-color: #ff4f4f;--aie-content-link-a-visited-color: #ff00ff;--aie-content-link-a-active-color: #00ff00;--aie-ai-panel-bg-color: #505050;--aie-ai-panel-border: #444;--aie-textarea-border: #666;--aie-textarea-bg-color: #505050;--aie-actions-button-bg-color: #999;--aie-actions-button-color: #444;--aie-input-bg-color: #505050;--aie-input-border-color: #666;--aie-input-button-bg-color: #999}.aie-container{display:flex;flex-direction:column;height:100%;border:1px solid;border-color:var(--aie-container-border);background:var(--aie-bg-color)}.aie-container *,.aie-container :before,.aie-container :after{box-sizing:content-box}.aie-container .aie-translate-panel{margin-top:-5px}.aie-container .aie-translate-panel-body{width:fit-content;border:solid 1px;border-color:var(--aie-ai-panel-border);background:var(--aie-ai-panel-bg-color);border-radius:5px;box-shadow:0 0 7px #00000026;display:flex;flex-direction:column;overflow:hidden}.aie-container .aie-translate-panel-body p{width:100%;margin:0;cursor:pointer;display:flex;align-items:center;box-sizing:border-box;height:40px;line-height:40px;font-weight:600;font-size:14px;padding:0 20px;color:var(--aie-text-color);text-decoration:none;font-family:Arial,Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif}.aie-container .aie-translate-panel-body p:hover{background:var(--aie-menus-item-hover-color)}.aie-container .aie-translate-result-panel{width:fit-content;height:fit-content;border:solid 1px;border-color:var(--aie-ai-panel-border);background:var(--aie-ai-panel-bg-color);border-radius:5px;box-shadow:0 0 7px #00000040;overflow:hidden}.aie-container .aie-translate-result-panel textarea{width:500px;padding:5px;box-sizing:border-box;font-size:14px;font-family:Arial,Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;border:none;margin:10px 10px 0;background:var(--aie-input-bg-color);color:var(--aie-aie-popover-text-color);resize:none;max-height:300px}.aie-container .aie-translate-result-panel textarea:focus-visible{outline:0}.aie-container .aie-translate-result-panel div{display:flex;justify-content:end;border-top:solid 1px var();padding:10px;background-color:#fafafa}.aie-container .aie-translate-result-panel div button{margin-left:10px;background:var(--aie-input-bg-color);color:var(--aie-text-color);border:solid 1px #eaeaea;padding:5px 15px;font-size:14px;border-radius:3px;display:flex;align-items:center}.aie-container .aie-translate-result-panel div button svg{width:16px;height:16px;margin-right:3px}.aie-container .aie-translate-result-panel div button:hover{background-color:var(--aie-menus-item-hover-color);cursor:pointer}.aie-container .aie-ai-panel-body{width:500px;border:solid 1px;border-color:var(--aie-ai-panel-border);background:var(--aie-ai-panel-bg-color);border-radius:5px;box-shadow:0 0 7px #00000026;display:flex;flex-direction:column;overflow:hidden}.aie-container .aie-ai-panel-body-tips{width:100%;padding:10px;color:#999;background-color:#fafafa;box-sizing:border-box;display:flex;align-items:center}.aie-container .aie-ai-panel-body-tips svg{width:16px;height:16px;margin-right:5px}.aie-container .aie-ai-panel-body-content{width:100%;position:relative}.aie-container .aie-ai-panel-body-content .loader{position:absolute;top:10px;right:10px;display:none}.aie-container .aie-ai-panel-body-content .loader svg{width:16px;color:#999;animation:rotate 2s linear infinite}.aie-container .aie-ai-panel-body-content textarea{width:100%;height:100%;max-height:300px;padding:15px;box-sizing:border-box;font-size:14px;line-height:1.6em;font-family:Arial,Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;border:none;resize:none}.aie-container .aie-ai-panel-body-content textarea:focus-visible{outline:none}.aie-container .aie-ai-panel-body-input{display:flex;justify-content:space-between;box-sizing:border-box;border-bottom:1px solid;border-bottom-color:var(--aie-input-border-color);align-items:center;padding:10px 20px 10px 10px}.aie-container .aie-ai-panel-body-input input{width:92%;height:100%;border:none;margin:0;background:var(--aie-input-bg-color);font-size:14px;font-family:Arial,Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;background-color:#edf0f5;padding:10px;box-sizing:border-box;border-radius:4px}.aie-container .aie-ai-panel-body-input input::-webkit-input-placeholder{color:#ccc;font-size:14px}.aie-container .aie-ai-panel-body-input input:focus-visible{outline:none}.aie-container .aie-ai-panel-body-input button{border:none;border-radius:50%;padding:0;background:#609eec}.aie-container .aie-ai-panel-body-input button svg{fill:#fff;width:18px;margin-left:2px;margin-top:2px}.aie-container .aie-ai-panel-body-input button:hover{background:var(--aie-menus-item-hover-color);cursor:pointer}.aie-container .aie-ai-panel-footer{width:fit-content;border:solid 1px;border-color:var(--aie-ai-panel-border);background:var(--aie-ai-panel-bg-color);border-radius:5px;box-shadow:0 0 7px #00000026;display:flex;padding:10px 0;flex-direction:column;margin-top:5px}.aie-container .aie-ai-panel-footer-tips{padding:5px 10px;color:#999;margin-bottom:5px}.aie-container .aie-ai-panel-footer hr{height:1px;width:100%;margin:5px 0;background-color:#eaeaea;border:none}.aie-container .aie-ai-panel-footer p{width:100%;margin:0}.aie-container .aie-ai-panel-footer p{cursor:pointer;display:flex;align-items:center;width:100%;box-sizing:border-box;height:40px;line-height:40px;font-weight:600;font-size:14px;padding:0 20px;color:#666;text-decoration:none;font-family:Arial,Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif}.aie-container .aie-ai-panel-footer p:hover{background:var(--aie-menus-item-hover-color)}.aie-container .aie-ai-panel-footer svg{width:20px;height:20px;margin-right:10px}.aie-container aie-header{color:var(--aie-menus-text-color);background:var(--aie-menus-bg-color);z-index:1}.aie-container aie-header>div{border-bottom:1px solid var(--aie-container-border)}.aie-container aie-header .aie-menu-divider{background:var(--aie-menus-divider-color);width:1px;height:16px;margin:auto}.aie-container aie-header .aie-menu-item{height:fit-content;padding:5px 1px;display:flex;align-items:center}.aie-container aie-header .aie-menu-item #text{font-size:14px}.aie-container aie-header .aie-menu-item svg{fill:var(--aie-menus-svg-color);width:16px;height:16px}.aie-container aie-header .aie-menu-item .menu-ai{display:flex;align-items:center;font-size:14px;text-align:center;background:var(--aie-menus-ai-bg-color);color:var(--aie-menus-ai-color);border-radius:3px;width:30px;padding:0 1px 0 5px;white-space:nowrap}.aie-container aie-header .aie-menu-item .menu-ai svg{fill:var(--aie-menus-ai-color)}.aie-container aie-header .aie-menu-item .colors-menu{display:flex;padding-right:0}.aie-container aie-header .aie-menu-item .colors-menu .currentColor{width:16px;height:16px}.aie-container aie-header .aie-menu-item .colors-menu .currentColor .colors-menu-icon{height:calc(100% - 3px);width:100%;display:flex}.aie-container aie-header .aie-menu-item .colors-menu .currentColor .colors-menu-icon svg{width:100%;height:100%}.aie-container aie-header .aie-menu-item .colors-menu .currentColor .colors-menu-status{width:100%;height:3px;background:#333}.aie-container aie-header .aie-menu-item .colors-menu #dropdown{display:flex}.aie-container aie-header .aie-menu-item .active{background:var(--aie-menus-item-hover-color)}.aie-container aie-header .aie-menu-item[data-size=medium] #text{font-size:16px}.aie-container aie-header .aie-menu-item[data-size=medium] svg{width:20px;height:20px}.aie-container aie-header .aie-menu-item[data-size=medium] .menu-ai svg{width:16px;height:16px}.aie-container aie-header .aie-menu-item[data-size=medium] .colors-menu .currentColor{width:18px;height:18px}.aie-container aie-header .aie-menu-item[data-size=large] #text{font-size:17px}.aie-container aie-header .aie-menu-item[data-size=large] #text svg{width:20px;height:20px}.aie-container aie-header .aie-menu-item[data-size=large] svg{width:24px;height:24px}.aie-container aie-header .aie-menu-item[data-size=large] .menu-ai svg{width:18px;height:18px}.aie-container aie-header .aie-menu-item[data-size=large] .colors-menu .currentColor{width:20px;height:20px}.aie-container aie-header .aie-menu-item>div{height:18px;padding:5px;display:flex;justify-content:center;align-items:center}.aie-container aie-header .aie-menu-item>div:hover:not([no-hover]){background:var(--aie-menus-item-hover-color);cursor:pointer}.aie-container .aie-content:focus-visible{outline:none}.aie-container .aie-content ::selection{background:#88c6ff66}.aie-container .aie-content [contenteditable=true]::selection{background:#88c6ff66}.aie-container .aie-content [contenteditable=true]:focus-visible{outline:none}.aie-container .aie-content .selection-marker{background:#88c6ff66;padding:0}.aie-container .suggestion{background:var(--aie-menus-bg-color);border-radius:5px}.aie-container .suggestion .items{box-shadow:0 0 7px #0000001a;overflow:hidden;border-radius:5px;border:solid 1px;border-color:var(--aie-ai-panel-border);background:var(--aie-ai-panel-bg-color)}.aie-container .suggestion .items .item{display:block;height:20px;width:150px;margin:0;color:var(--aie-text-color);background:var(--aie-menus-bg-color);border:none;text-align:left;padding:10px 20px;cursor:pointer}.aie-container .suggestion .items .item-selected{background:var(--aie-suggestion-selected-bg-color)}.aie-container .aie-bubble-menu{height:30px;background:var(--aie-dropdown-container-bg-color);border:solid 1px var(--aie-dropdown-container-border-color);border-radius:3px;box-shadow:0 2px 5px 2px #0000001a;display:flex;align-items:center;padding:5px;color:var(--aie-text-color)}.aie-container .aie-bubble-menu .active{background:var(--aie-menus-item-hover-color)}.aie-container .aie-bubble-menu-item{height:20px;margin:3px;padding:5px;cursor:pointer}.aie-container .aie-bubble-menu-item svg{width:20px;height:20px;fill:var(--aie-text-color)}.aie-container .aie-bubble-menu-item:hover{background:var(--aie-menus-item-hover-color)}.aie-container .aie-dropdown-container{background:var(--aie-dropdown-container-bg-color);border:solid 1px var(--aie-dropdown-container-border-color);overflow:auto;box-shadow:0 2px 5px 2px #0000001a;padding:5px 0;border-radius:3px;color:var(--aie-menus-text-color)}.aie-container .aie-dropdown-container svg{fill:var(--aie-menus-text-color);width:16px;height:16px}.aie-container .aie-dropdown-container .aie-dropdown-item{display:flex;padding:3px 0}.aie-container .aie-dropdown-container .aie-dropdown-item .text{padding:2px 15px 0 0;overflow:hidden;font-size:14px;display:flex}.aie-container .aie-dropdown-container .aie-dropdown-item .text svg{width:18px;height:18px}.aie-container .aie-dropdown-container .aie-dropdown-item .text h1,.aie-container .aie-dropdown-container .aie-dropdown-item .text h2,.aie-container .aie-dropdown-container .aie-dropdown-item .text h3,.aie-container .aie-dropdown-container .aie-dropdown-item .text h4,.aie-container .aie-dropdown-container .aie-dropdown-item .text h5,.aie-container .aie-dropdown-container .aie-dropdown-item .text h6{padding:0;margin:0;border:none}.aie-container .aie-dropdown-container .aie-dropdown-item .text h1{font-size:1.7em}.aie-container .aie-dropdown-container .aie-dropdown-item .text h2{font-size:1.6em}.aie-container .aie-dropdown-container .aie-dropdown-item .text h3{font-size:1.5em}.aie-container .aie-dropdown-container .aie-dropdown-item .text h4{font-size:1.4em}.aie-container .aie-dropdown-container .aie-dropdown-item .text h5{font-size:1.3em}.aie-container .aie-dropdown-container .aie-dropdown-item .text h6{font-size:1.2em}.aie-container .aie-dropdown-container .aie-dropdown-item .red-dot-container{display:flex;width:30px;overflow:hidden;padding-bottom:5px}.aie-container .aie-dropdown-container .aie-dropdown-item .red-dot-container .red-dot{width:10px;height:6px;border-left:2px solid var(--aie-text-color);border-bottom:2px solid var(--aie-text-color);rotate:-45deg;margin:auto}.aie-container .aie-dropdown-container .aie-dropdown-item:hover{background:var(--aie-dropdown-container-item-hover-color);cursor:pointer}.aie-container .aie-dropdown-container .emoji-cells{display:flex;flex-wrap:wrap;align-items:center;margin:0 3px}.aie-container .aie-dropdown-container .emoji-cells .emoji-cell{width:20px;height:20px;margin:2px;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:2px 1px}.aie-container .aie-dropdown-container .emoji-cells .emoji-cell span{margin-top:2px}.aie-container .aie-dropdown-container .emoji-cells .emoji-cell:hover{background:#efefef}.aie-container .aie-dropdown-container #table-cells .table-cell{border:solid 1px var(--aie-menus-table-cell-border-color)}.aie-container .aie-dropdown-container #table-cells .active{background:var(--aie-dropdown-container-item-hover-color)}.aie-container .aie-dropdown-container .color-panel{margin:0 5px}.aie-container .aie-dropdown-container .color-panel-title{padding-top:5px;font-size:14px;color:var(--aie-dropdown-color-panel-title-color)}.aie-container .aie-dropdown-container .color-panel-default-button{text-align:center;border:1px solid var(--aie-dropdown-color-panel-button-border-color);color:var(--aie-dropdown-color-panel-title-color);line-height:24px;font-size:14px;border-radius:3px}.aie-container .aie-resize-wrapper{position:relative;display:inline-flex}.aie-container .aie-resize-wrapper img{position:relative}.aie-container .aie-resize-wrapper:hover .aie-resize{display:inline-block}.aie-container .aie-resize-wrapper .aie-resize{display:none;position:absolute;top:-2px;left:-2px;border:2px solid #609eec;width:100%;height:100%}.aie-container .aie-resize-wrapper .aie-resize div{position:absolute;display:flex;width:20px;height:20px;z-index:1}.aie-container .aie-resize-wrapper .aie-resize div:after{content:"";display:block;margin:auto;width:8px;height:8px;background:#609eec;border-radius:50%}.aie-container .aie-resize-wrapper .aie-resize .aie-resize-btn-top-left{left:-10px;top:-10px;cursor:nwse-resize}.aie-container .aie-resize-wrapper .aie-resize .aie-resize-btn-top-right{right:-10px;top:-10px;cursor:nesw-resize}.aie-container .aie-resize-wrapper .aie-resize .aie-resize-btn-bottom-left{left:-10px;bottom:-10px;cursor:nesw-resize}.aie-container .aie-resize-wrapper .aie-resize .aie-resize-btn-bottom-right{right:-10px;bottom:-10px;cursor:nwse-resize}.aie-container .aie-loader-placeholder{width:200px;height:200px;background:#efefef;display:flex}.aie-container .aie-loader-placeholder svg{margin:auto;width:80px;fill:#ccc;animation:rotate 2s linear infinite}@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.aie-container .aie-codeblock-wrapper{background:var(--aie-pre-bg-color);word-wrap:normal;white-space:normal;padding-top:5px;border-radius:5px}.aie-container .aie-codeblock-wrapper:hover .aie-codeblock-tools{display:flex}.aie-container .aie-codeblock-wrapper .aie-codeblock-tools{display:flex;justify-content:flex-end}.aie-container .aie-codeblock-wrapper .aie-codeblock-tools div{color:var(--aie-text-color);display:flex;cursor:pointer;align-items:center;font-size:14px;margin:0 3px}.aie-container .aie-codeblock-wrapper .aie-codeblock-tools-lang svg{fill:var(--aie-text-color);margin:2px;height:16px;width:16px}.aie-container .aie-codeblock-wrapper .aie-codeblock-tools-autowrap{margin:0 10px}.aie-container .aie-codeblock-wrapper .aie-codeblock-tools-autowrap svg{fill:var(--aie-text-color);margin:2px;height:14px;width:14px}.aie-container .aie-codeblock-langs{background:var(--aie-dropdown-container-bg-color);width:150px;max-height:300px;overflow:auto;border:solid 1px var(--aie-dropdown-container-border-color);color:var(--aie-menus-text-color)}.aie-container .aie-codeblock-langs-item{padding:5px;font-size:14px;height:20px;line-height:20px;cursor:pointer}.aie-container .aie-codeblock-langs-item:hover{background:var(--aie-dropdown-container-item-hover-color)}.aie-container aie-footer>div{border-top:solid 1px var(--aie-container-border);height:20px;line-height:20px;font-size:14px;text-align:right;color:#666}.aie-container aie-footer>div span{margin-left:auto}.aie-container aie-footer>div svg{fill:#666;rotate:-45deg;transform:translateY(5px);cursor:nwse-resize}.aie-container .tippy-box{max-width:1000px!important}.aie-container .tippy-box[data-animation=fade][data-state=hidden]{opacity:0}.aie-container [data-tippy-root]{max-width:calc(100vw - 10px)}.aie-container .tippy-box{position:relative;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.aie-container .tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.aie-container .tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.aie-container .tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.aie-container .tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.aie-container .tippy-box[data-placement^=left]>.tippy-arrow{right:0}.aie-container .tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.aie-container .tippy-box[data-placement^=right]>.tippy-arrow{left:0}.aie-container .tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.aie-container .tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.aie-container .tippy-arrow{width:16px;height:16px}.aie-container .tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.aie-container .tippy-content{position:relative;padding:5px 9px;z-index:1}.aie-container .tippy-box[data-theme~=aietip]{background-color:var(--aie-menus-tip-bg-color);color:var(--aie-menus-tip-text-color)}.aie-container .tippy-box[data-theme~=aietip][data-placement^=top]>.tippy-arrow:before{border-top-color:var(--aie-menus-tip-bg-color)}.aie-container .tippy-box[data-theme~=aietip][data-placement^=bottom]>.tippy-arrow:before{border-bottom-color:var(--aie-menus-tip-bg-color)}.aie-container .tippy-box[data-theme~=aietip][data-placement^=left]>.tippy-arrow:before{border-left-color:var(--aie-menus-tip-bg-color)}.aie-container .tippy-box[data-theme~=aietip][data-placement^=right]>.tippy-arrow:before{border-right-color:var(--aie-menus-tip-bg-color)}.aie-theme-light pre code.hljs{display:block;overflow-x:auto;padding:1em}.aie-theme-light code.hljs{padding:3px 5px}.aie-theme-light .hljs{color:#383a42;background:#fafafa}.aie-theme-light .hljs-comment,.aie-theme-light .hljs-quote{color:#a0a1a7;font-style:italic}.aie-theme-light .hljs-doctag,.aie-theme-light .hljs-keyword,.aie-theme-light .hljs-formula{color:#a626a4}.aie-theme-light .hljs-section,.aie-theme-light .hljs-name,.aie-theme-light .hljs-selector-tag,.aie-theme-light .hljs-deletion,.aie-theme-light .hljs-subst{color:#e45649}.aie-theme-light .hljs-literal{color:#0184bb}.aie-theme-light .hljs-string,.aie-theme-light .hljs-regexp,.aie-theme-light .hljs-addition,.aie-theme-light .hljs-attribute,.aie-theme-light .hljs-meta .hljs-string{color:#50a14f}.aie-theme-light .hljs-attr,.aie-theme-light .hljs-variable,.aie-theme-light .hljs-template-variable,.aie-theme-light .hljs-type,.aie-theme-light .hljs-selector-class,.aie-theme-light .hljs-selector-attr,.aie-theme-light .hljs-selector-pseudo,.aie-theme-light .hljs-number{color:#986801}.aie-theme-light .hljs-symbol,.aie-theme-light .hljs-bullet,.aie-theme-light .hljs-link,.aie-theme-light .hljs-meta,.aie-theme-light .hljs-selector-id,.aie-theme-light .hljs-title{color:#4078f2}.aie-theme-light .hljs-built_in,.aie-theme-light .hljs-title.class_,.aie-theme-light .hljs-class .hljs-title{color:#c18401}.aie-theme-light .hljs-emphasis{font-style:italic}.aie-theme-light .hljs-strong{font-weight:700}.aie-theme-light .hljs-link{text-decoration:underline}.aie-theme-dark pre code.hljs{display:block;overflow-x:auto;padding:1em}.aie-theme-dark code.hljs{padding:3px 5px}.aie-theme-dark .hljs{color:#abb2bf;background:#282c34}.aie-theme-dark .hljs-comment,.aie-theme-dark .hljs-quote{color:#5c6370;font-style:italic}.aie-theme-dark .hljs-doctag,.aie-theme-dark .hljs-keyword,.aie-theme-dark .hljs-formula{color:#c678dd}.aie-theme-dark .hljs-section,.aie-theme-dark .hljs-name,.aie-theme-dark .hljs-selector-tag,.aie-theme-dark .hljs-deletion,.aie-theme-dark .hljs-subst{color:#e06c75}.aie-theme-dark .hljs-literal{color:#56b6c2}.aie-theme-dark .hljs-string,.aie-theme-dark .hljs-regexp,.aie-theme-dark .hljs-addition,.aie-theme-dark .hljs-attribute,.aie-theme-dark .hljs-meta .hljs-string{color:#98c379}.aie-theme-dark .hljs-attr,.aie-theme-dark .hljs-variable,.aie-theme-dark .hljs-template-variable,.aie-theme-dark .hljs-type,.aie-theme-dark .hljs-selector-class,.aie-theme-dark .hljs-selector-attr,.aie-theme-dark .hljs-selector-pseudo,.aie-theme-dark .hljs-number{color:#d19a66}.aie-theme-dark .hljs-symbol,.aie-theme-dark .hljs-bullet,.aie-theme-dark .hljs-link,.aie-theme-dark .hljs-meta,.aie-theme-dark .hljs-selector-id,.aie-theme-dark .hljs-title{color:#61aeee}.aie-theme-dark .hljs-built_in,.aie-theme-dark .hljs-title.class_,.aie-theme-dark .hljs-class .hljs-title{color:#e6c07b}.aie-theme-dark .hljs-emphasis{font-style:italic}.aie-theme-dark .hljs-strong{font-weight:700}.aie-theme-dark .hljs-link{text-decoration:underline}.aie-popover{min-width:100px;min-height:100px;background:#fff;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 2px 5px 2px #0000001a;background:var(--aie-dropdown-container-bg-color);border:1px solid var(--aie-aie-popover-border-color);border-radius:3px}.aie-popover-header{height:20px;display:flex;padding:5px 5px 0}.aie-popover-header-close{height:20px;width:20px;margin-left:auto;cursor:pointer}.aie-popover-header svg{fill:var(--aie-aie-popover-text-color)}.aie-popover-content{flex-grow:1;padding:0 10px}.aie-popover-content>div{color:var(--aie-aie-popover-text-color);font-size:14px}.aie-popover-content input,.aie-popover-content select,.aie-popover-content textarea{border:solid 1px #ccc;height:25px;padding-inline:5px;border-radius:3px}.aie-popover-content input:focus-visible,.aie-popover-content select:focus-visible,.aie-popover-content textarea:focus-visible{outline:0;border:solid 1px #999999}.aie-popover-content select{height:30px}.aie-popover-footer{display:flex;padding:10px}.aie-popover-footer-confirm{margin-left:auto;background:#fff;border:solid 1px #ccc;padding:5px 10px;font-size:14px;border-radius:3px}.aie-popover-footer-confirm:hover{border-color:#999;color:#333;cursor:pointer}.ai-command-container{width:200px;border:solid 1px;border-color:var(--aie-ai-panel-border);background:var(--aie-ai-panel-bg-color);border-radius:5px;box-shadow:0 0 7px #0000001a;display:flex;padding:10px 0;flex-direction:column}.ai-command-container .active{background:#eee}.ai-command-container-title,.ai-command-container hr{width:100%;height:1px;background-color:#eaeaea;border:none;margin:5px 0}.ai-command-container-header{display:flex;flex-wrap:wrap;align-items:center;padding:0 10px}.ai-command-container-header-item{width:30px;height:30px;display:flex;align-items:center;justify-content:center;cursor:pointer}.ai-command-container-header-item:hover{background-color:#eee}.ai-command-container-header svg{fill:#666;width:18px;height:18px}.ai-command-container-item{padding:10px 20px;font-family:Arial,Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;font-size:14px;color:#333;display:flex;align-items:center;cursor:pointer}.ai-command-container-item svg{width:16px;height:16px;margin-right:10px}.ai-command-container-item:hover{background-color:#eee}.aie-content{overflow:auto;padding:10px;margin:0;color:var(--aie-text-color)}.aie-content>:first-child{margin-top:0}.aie-content::-webkit-scrollbar{width:4px}.aie-content::-webkit-scrollbar-track-piece{background-color:var(--aie-content-scrollbar-track-piece)}.aie-content::-webkit-scrollbar-thumb{background-color:var(--aie-content-scrollbar-thumb)}.aie-content::-webkit-scrollbar-thumb:hover{background-color:var(--aie-content-scrollbar-thumb-hover)}.aie-content::-webkit-scrollbar-thumb:active{background-color:var(--aie-content-scrollbar-thumb-active)}.aie-content a{color:var(--aie-content-link-a-color)}.aie-content a :visited{color:var(--aie-content-link-a-visited-color)}.aie-content a :active{color:var(--aie-content-link-a-active-color)}.aie-content p{margin:16px 0;line-height:26px;min-height:26px}.aie-content ul,.aie-content ol{display:block;margin-block-start:1em;margin-block-end:1em;margin-inline-start:0px;margin-inline-end:0px;padding-inline-start:20px}.aie-content li p{padding:0;margin:5px 0}.aie-content ul[data-type=taskList]{display:block;margin-block-start:1em;margin-block-end:1em;margin-inline-start:0px;margin-inline-end:0px;padding-inline-start:0px}.aie-content ul[data-type=taskList] li{display:flex;align-items:baseline}.aie-content ul[data-type=taskList] li p{padding-left:2px}.aie-content blockquote{margin:16px 0;padding:5px 10px;border-left:2px solid var(--aie-blockquote-border-color);background:var(--aie-blockquote-bg-color)}.aie-content blockquote p{margin:5px 0;color:var(--aie-blockquote-text-color)}.aie-content img{border:1px solid #efefef}.aie-content code{border-radius:3px;padding:3px 6px;background:var(--aie-pre-bg-color)}.aie-content pre{margin:0;padding:0 10px 10px;border-radius:5px;background:var(--aie-pre-bg-color);overflow:auto}.aie-content pre code{padding:0;background:var(--aie-pre-bg-color)}.aie-content h1{padding-top:24px;letter-spacing:-.02em;line-height:40px;font-size:32px}.aie-content h2{padding-top:24px;letter-spacing:-.02em;line-height:32px;font-size:24px}.aie-content h3{margin:32px 0 0;letter-spacing:-.01em;line-height:28px;font-size:20px}.aie-content strong{font-weight:600}.aie-content table{border-collapse:collapse;margin:0;overflow:hidden;table-layout:fixed;width:100%}.aie-content table td,.aie-content table th{border:2px solid var(--aie-content-table-border-color);box-sizing:border-box;min-width:1em;padding:3px 5px;position:relative;vertical-align:top}.aie-content table td>*,.aie-content table th>*{margin-bottom:0}.aie-content table th{background-color:var(--aie-content-table-th-bg-color);font-weight:700;text-align:left}.aie-content table .selectedCell:after{background:var(--aie-content-table-selected-bg-color);content:"";left:0;right:0;top:0;bottom:0;pointer-events:none;position:absolute;z-index:2}.aie-content table .column-resize-handle{background-color:var(--aie-content-table-handler-color);bottom:-2px;position:absolute;right:-2px;pointer-events:none;top:0;width:3px}.aie-content table p{margin:0}.aie-content .align-left{text-align:left}.aie-content .align-right{text-align:right}.aie-content .align-center{text-align:center}.aie-content span[data-type=mention]{border:1px solid #cccccc;border-radius:5px;padding:0 3px}.aie-content p.is-editor-empty:first-child:before{color:var(--aie-text-placeholder-color);content:attr(data-placeholder);float:left;height:0;pointer-events:none}.aie-content div.container-wrapper{margin:1rem 0;padding:0 1rem;border:1px solid var(--aie-container-border);border-radius:3px}.aie-content div.info{background:var(--aie-content-container-info-color)}.aie-content div.warning{background:var(--aie-content-container-warning-color)}.aie-content div.danger{background:var(--aie-content-container-danger-color)}.tableWrapper{padding:1rem 0}.resize-cursor{cursor:ew-resize;cursor:col-resize} +:root,:root .aie-theme-light{--aie-bg-color: #fff;--aie-border-color: #eee;--aie-text-color: #333;--aie-text-placeholder-color: #adb5bd;--aie-button-bg-color: #fafafa;--aie-button-border-color: #eee;--aie-button-hover-bg-color: #eee;--aie-button-hover-border-color: #ccc;--aie-input-bg-color: #fff;--aie-input-border-color: #e9e9e9;--aie-input-focus-bg-color: #fff;--aie-input-focus-border-color: #e9e9e9;--aie-popover-bg-color: #fff;--aie-popover-border-color: #e9e9e9;--aie-popover-title-color: #666;--aie-popover-selected-color: #eee;--aie-menus-text-color: var(--aie-text-color);--aie-menus-bg-color: #ffffff;--aie-menus-svg-color: #333;--aie-menus-item-hover-color: #eee;--aie-menus-divider-color: #eaeaea;--aie-menus-ai-bg-color: var(--aie-menus-svg-color);--aie-menus-ai-color: #ffffff;--aie-menus-tip-bg-color: #333;--aie-menus-tip-text-color: #eee;--aie-menus-table-cell-border-color: #ccc;--aie-menus-table-cell-border-active-color: #000;--aie-content-pre-bg-color: #f6f6f7;--aie-content-blockquote-bg-color: #f6f6f7;--aie-content-blockquote-border-color: #e3e3e3;--aie-content-blockquote-text-color: #888888;--aie-content-container-info-color: #eff1f3;--aie-content-container-warning-color: #fcf5e4;--aie-content-container-danger-color: #ffe7ea;--aie-content-table-th-bg-color: #efefef;--aie-content-table-selected-bg-color: rgba(200, 200, 255, .3);--aie-content-table-border-color: #ced4da;--aie-content-table-handler-color: #adf;--aie-content-scrollbar-track-piece: #f1f1f1;--aie-content-scrollbar-thumb: #c1c1c1;--aie-content-scrollbar-thumb-hover: #a9a9a9;--aie-content-scrollbar-thumb-active: #787878;--aie-content-link-a-color: blue;--aie-content-link-a-hover-color: red;--aie-content-link-a-visited-color: purple;--aie-content-link-a-active-color: green}:root .aie-theme-dark{--aie-text-color: #ccc;--aie-border-color: #333;--aie-text-placeholder-color: #777;--aie-bg-color: #1e2022;--aie-button-bg-color: #333;--aie-button-border-color: #606060;--aie-button-hover-bg-color: #606060;--aie-button-hover-border-color: #606060;--aie-input-bg-color: #505050;--aie-input-border-color: #666;--aie-input-focus-bg-color: #505050;--aie-input-focus-border-color: #999;--aie-popover-bg-color: #2A2A2B;--aie-popover-border-color: #505050;--aie-popover-title-color: #ccc;--aie-popover-selected-color: #505050;--aie-menus-text-color: var(--aie-text-color);--aie-menus-bg-color: #1a1b1e;--aie-menus-svg-color: #cccccc;--aie-menus-item-hover-color: #505050;--aie-menus-divider-color: #2c2c2c;--aie-menus-ai-bg-color: var(--aie-menus-svg-color);--aie-menus-ai-color: #000;--aie-menus-tip-bg-color: #eee;--aie-menus-tip-text-color: #333;--aie-menus-table-cell-border-color: #888;--aie-menus-table-cell-border-active-color: #ccc;--aie-content-pre-bg-color: #282c34;--aie-content-blockquote-bg-color: #282c34;--aie-content-blockquote-border-color: #505050;--aie-content-blockquote-text-color: #888888;--aie-content-container-info-color: #2a2c30;--aie-content-container-warning-color: #40361d;--aie-content-container-danger-color: #46222a;--aie-content-table-th-bg-color: #2c2c2c;--aie-content-table-selected-bg-color: rgba(200, 200, 255, .2);--aie-content-table-border-color: #353535;--aie-content-table-handler-color: #566a77;--aie-content-scrollbar-track-piece: #404040;--aie-content-scrollbar-thumb: #dddddd50;--aie-content-scrollbar-thumb-hover: #dddddd70;--aie-content-scrollbar-thumb-active: #dddddda0;--aie-content-link-a-color: #4ca3f5;--aie-content-link-a-hover-color: #ff4f4f;--aie-content-link-a-visited-color: #ff00ff;--aie-content-link-a-active-color: #00ff00}.aie-container{display:flex;flex-direction:column;height:100%;border:1px solid;border-color:var(--aie-border-color);background:var(--aie-bg-color)}.aie-container *,.aie-container :before,.aie-container :after{box-sizing:content-box}.aie-container .aie-translate-panel{margin-top:-5px}.aie-container .aie-translate-panel-body{width:fit-content;border:solid 1px;border-color:var(--aie-popover-border-color);background:var(--aie-popover-bg-color);border-radius:5px;box-shadow:0 0 7px #00000026;display:flex;flex-direction:column;overflow:hidden}.aie-container .aie-translate-panel-body p{width:100%;margin:0;cursor:pointer;display:flex;align-items:center;box-sizing:border-box;height:40px;line-height:40px;font-weight:600;font-size:14px;padding:0 20px;color:var(--aie-text-color);text-decoration:none;font-family:Arial,Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif}.aie-container .aie-translate-panel-body p:hover{background:var(--aie-menus-item-hover-color)}.aie-container .aie-translate-result-panel{width:fit-content;height:fit-content;border:solid 1px;border-color:var(--aie-popover-border-color);background:var(--aie-popover-bg-color);border-radius:5px;box-shadow:0 0 7px #00000040;overflow:hidden}.aie-container .aie-translate-result-panel textarea{width:500px;padding:5px;box-sizing:border-box;font-size:14px;font-family:Arial,Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;border:none;margin:10px 10px 0;background:var(--aie-popover-bg-color);color:var(--aie-text-color);resize:none;max-height:300px}.aie-container .aie-translate-result-panel textarea:focus-visible{outline:0}.aie-container .aie-translate-result-panel div{display:flex;justify-content:end;border-top:solid 1px var(--aie-popover-border-color);padding:10px;background-color:var(--aie-popover-bg-color)}.aie-container .aie-translate-result-panel div button{margin-left:10px;background:var(--aie-button-bg-color);color:var(--aie-text-color);border:solid 1px;padding:5px 15px;font-size:14px;border-radius:3px;border-color:var(--aie-button-border-color);display:flex;align-items:center}.aie-container .aie-translate-result-panel div button svg{width:16px;height:16px;margin-right:3px}.aie-container .aie-translate-result-panel div button:hover{background-color:var(--aie-button-hover-bg-color);cursor:pointer}.aie-container .aie-ai-panel-body{width:500px;border:solid 1px;border-color:var(--aie-popover-border-color);background:var(--aie-popover-bg-color);border-radius:5px;box-shadow:0 0 7px #00000026;display:flex;flex-direction:column;overflow:hidden}.aie-container .aie-ai-panel-body-tips{width:100%;padding:10px;color:var(--aie-text-color);background-color:var(--aie-popover-bg-color);box-sizing:border-box;display:flex;align-items:center}.aie-container .aie-ai-panel-body-tips svg{width:16px;height:16px;margin-right:5px}.aie-container .aie-ai-panel-body-content{width:100%;position:relative}.aie-container .aie-ai-panel-body-content .loader{position:absolute;top:10px;right:10px;display:none}.aie-container .aie-ai-panel-body-content .loader svg{width:16px;color:#999;animation:rotate 2s linear infinite}.aie-container .aie-ai-panel-body-content textarea{width:100%;height:100%;max-height:300px;padding:15px;box-sizing:border-box;font-size:14px;line-height:1.6em;font-family:Arial,Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;border:none;resize:none;color:var(--aie-text-color);background-color:var(--aie-popover-bg-color)}.aie-container .aie-ai-panel-body-content textarea:focus-visible{outline:none}.aie-container .aie-ai-panel-body-input{display:flex;justify-content:space-between;box-sizing:border-box;border-bottom:1px solid;border-bottom-color:var(--aie-input-border-color);align-items:center;padding:10px 20px 10px 10px}.aie-container .aie-ai-panel-body-input input{width:92%;height:100%;border:none;margin:0;background:var(--aie-input-bg-color);font-size:14px;font-family:Arial,Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;padding:10px;box-sizing:border-box;border-radius:4px;color:var(--aie-text-color)}.aie-container .aie-ai-panel-body-input input::-webkit-input-placeholder{color:var(--aie-text-placeholder-color);font-size:14px}.aie-container .aie-ai-panel-body-input input:focus-visible{outline:none}.aie-container .aie-ai-panel-body-input button{border:none;border-radius:50%;padding:0;background:#609eec}.aie-container .aie-ai-panel-body-input button svg{fill:#fff;width:18px;margin-left:2px;margin-top:2px}.aie-container .aie-ai-panel-body-input button:hover{background:var(--aie-menus-item-hover-color);cursor:pointer}.aie-container .aie-ai-panel-footer{width:fit-content;border:solid 1px;border-color:var(--aie-popover-border-color);background:var(--aie-popover-bg-color);border-radius:5px;box-shadow:0 0 7px #00000026;display:flex;padding:10px 0;flex-direction:column;margin-top:5px}.aie-container .aie-ai-panel-footer-tips{padding:5px 10px;color:var(--aie-text-color);margin-bottom:5px}.aie-container .aie-ai-panel-footer hr{height:1px;width:100%;margin:5px 0;background-color:var(--aie-popover-border-color);border:none}.aie-container .aie-ai-panel-footer p{width:100%;margin:0}.aie-container .aie-ai-panel-footer p{cursor:pointer;display:flex;align-items:center;width:100%;box-sizing:border-box;height:40px;line-height:40px;font-weight:600;font-size:14px;padding:0 20px;color:var(--aie-text-color);text-decoration:none;font-family:Arial,Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif}.aie-container .aie-ai-panel-footer p:hover{background:var(--aie-popover-selected-color)}.aie-container .aie-ai-panel-footer svg{width:20px;height:20px;margin-right:10px}.aie-container aie-header{color:var(--aie-menus-text-color);background:var(--aie-menus-bg-color);z-index:1}.aie-container aie-header>div{border-bottom:1px solid var(--aie-border-color)}.aie-container aie-header .aie-menu-divider{background:var(--aie-menus-divider-color);width:1px;height:16px;margin:auto}.aie-container aie-header .aie-menu-item{height:fit-content;padding:5px 1px;display:flex;align-items:center}.aie-container aie-header .aie-menu-item #text{font-size:14px}.aie-container aie-header .aie-menu-item svg{fill:var(--aie-menus-svg-color);width:16px;height:16px}.aie-container aie-header .aie-menu-item .menu-ai{display:flex;align-items:center;font-size:14px;text-align:center;background:var(--aie-menus-ai-bg-color);color:var(--aie-menus-ai-color);border-radius:3px;width:30px;padding:0 1px 0 5px;white-space:nowrap}.aie-container aie-header .aie-menu-item .menu-ai svg{fill:var(--aie-menus-ai-color)}.aie-container aie-header .aie-menu-item .colors-menu{display:flex;padding-right:0}.aie-container aie-header .aie-menu-item .colors-menu .currentColor{width:16px;height:16px}.aie-container aie-header .aie-menu-item .colors-menu .currentColor .colors-menu-icon{height:calc(100% - 3px);width:100%;display:flex}.aie-container aie-header .aie-menu-item .colors-menu .currentColor .colors-menu-icon svg{width:100%;height:100%}.aie-container aie-header .aie-menu-item .colors-menu .currentColor .colors-menu-status{width:100%;height:3px;background:#333}.aie-container aie-header .aie-menu-item .colors-menu #dropdown{display:flex}.aie-container aie-header .aie-menu-item .active{background:var(--aie-menus-item-hover-color)}.aie-container aie-header .aie-menu-item[data-size=medium] #text{font-size:16px}.aie-container aie-header .aie-menu-item[data-size=medium] svg{width:20px;height:20px}.aie-container aie-header .aie-menu-item[data-size=medium] .menu-ai svg{width:16px;height:16px}.aie-container aie-header .aie-menu-item[data-size=medium] .colors-menu .currentColor{width:18px;height:18px}.aie-container aie-header .aie-menu-item[data-size=large] #text{font-size:17px}.aie-container aie-header .aie-menu-item[data-size=large] #text svg{width:20px;height:20px}.aie-container aie-header .aie-menu-item[data-size=large] svg{width:24px;height:24px}.aie-container aie-header .aie-menu-item[data-size=large] .menu-ai svg{width:18px;height:18px}.aie-container aie-header .aie-menu-item[data-size=large] .colors-menu .currentColor{width:20px;height:20px}.aie-container aie-header .aie-menu-item>div{height:18px;padding:5px;display:flex;justify-content:center;align-items:center}.aie-container aie-header .aie-menu-item>div:hover:not([no-hover]){background:var(--aie-menus-item-hover-color);cursor:pointer;border-radius:3px}.aie-container .aie-content:focus-visible{outline:none}.aie-container .aie-content ::selection{background:#88c6ff66}.aie-container .aie-content [contenteditable=true]::selection{background:#88c6ff66}.aie-container .aie-content [contenteditable=true]:focus-visible{outline:none}.aie-container .aie-content .selection-marker{background:#88c6ff66;padding:0}.aie-container .suggestion{background:var(--aie-menus-bg-color);border-radius:5px}.aie-container .suggestion .items{box-shadow:0 0 7px #0000001a;overflow:hidden;border-radius:5px;border:solid 1px;border-color:var(--aie-popover-border-color);background:var(--aie-popover-bg-color)}.aie-container .suggestion .items .item{display:block;height:20px;width:150px;margin:0;color:var(--aie-text-color);background:var(--aie-menus-bg-color);border:none;text-align:left;padding:10px 20px;cursor:pointer}.aie-container .suggestion .items .item-selected{background:var(--aie-popover-selected-color)}.aie-container .aie-bubble-menu{height:30px;background:var(--aie-popover-bg-color);border:solid 1px var(--aie-popover-border-color);border-radius:3px;box-shadow:0 2px 5px 2px #0000001a;display:flex;align-items:center;padding:5px;color:var(--aie-text-color)}.aie-container .aie-bubble-menu .active{background:var(--aie-menus-item-hover-color)}.aie-container .aie-bubble-menu-item{height:20px;margin:3px;padding:5px;cursor:pointer}.aie-container .aie-bubble-menu-item svg{width:20px;height:20px;fill:var(--aie-text-color)}.aie-container .aie-bubble-menu-item:hover{background:var(--aie-menus-item-hover-color)}.aie-container .aie-dropdown-container{background:var(--aie-popover-bg-color);border:solid 1px var(--aie-popover-border-color);overflow:auto;box-shadow:0 2px 5px 2px #0000001a;padding:5px 0;border-radius:3px;color:var(--aie-menus-text-color)}.aie-container .aie-dropdown-container svg{fill:var(--aie-menus-text-color);width:16px;height:16px}.aie-container .aie-dropdown-container .aie-dropdown-item{display:flex;padding:3px 0}.aie-container .aie-dropdown-container .aie-dropdown-item .text{padding:2px 15px 0 0;overflow:hidden;font-size:14px;display:flex}.aie-container .aie-dropdown-container .aie-dropdown-item .text svg{width:18px;height:18px}.aie-container .aie-dropdown-container .aie-dropdown-item .text h1,.aie-container .aie-dropdown-container .aie-dropdown-item .text h2,.aie-container .aie-dropdown-container .aie-dropdown-item .text h3,.aie-container .aie-dropdown-container .aie-dropdown-item .text h4,.aie-container .aie-dropdown-container .aie-dropdown-item .text h5,.aie-container .aie-dropdown-container .aie-dropdown-item .text h6{padding:0;margin:0;border:none}.aie-container .aie-dropdown-container .aie-dropdown-item .text h1{font-size:1.7em}.aie-container .aie-dropdown-container .aie-dropdown-item .text h2{font-size:1.6em}.aie-container .aie-dropdown-container .aie-dropdown-item .text h3{font-size:1.5em}.aie-container .aie-dropdown-container .aie-dropdown-item .text h4{font-size:1.4em}.aie-container .aie-dropdown-container .aie-dropdown-item .text h5{font-size:1.3em}.aie-container .aie-dropdown-container .aie-dropdown-item .text h6{font-size:1.2em}.aie-container .aie-dropdown-container .aie-dropdown-item .red-dot-container{display:flex;width:30px;overflow:hidden;padding-bottom:5px}.aie-container .aie-dropdown-container .aie-dropdown-item .red-dot-container .red-dot{width:10px;height:6px;border-left:2px solid var(--aie-text-color);border-bottom:2px solid var(--aie-text-color);rotate:-45deg;margin:auto}.aie-container .aie-dropdown-container .aie-dropdown-item:hover{background:var(--aie-popover-selected-color);cursor:pointer}.aie-container .aie-dropdown-container .emoji-cells{display:flex;flex-wrap:wrap;align-items:center;margin:0 3px}.aie-container .aie-dropdown-container .emoji-cells .emoji-cell{margin:2px;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:2px 1px;border-radius:3px}.aie-container .aie-dropdown-container .emoji-cells .emoji-cell span{margin-top:2px}.aie-container .aie-dropdown-container .emoji-cells .emoji-cell:hover{background:var(--aie-popover-selected-color)}.aie-container .aie-dropdown-container #table-cells .table-cell{border:solid 1px var(--aie-menus-table-cell-border-color)}.aie-container .aie-dropdown-container #table-cells .active{background:var(--aie-popover-selected-color)}.aie-container .aie-dropdown-container .color-panel{margin:0 5px}.aie-container .aie-dropdown-container .color-panel-title{padding-top:5px;font-size:14px;color:var(--aie-popover-title-color)}.aie-container .aie-dropdown-container .color-panel-default-button{text-align:center;border:1px solid var(--aie-button-border-color);color:var(--aie-popover-title-color);line-height:24px;font-size:14px;border-radius:3px}.aie-container .aie-resize-wrapper{position:relative;display:inline-flex}.aie-container .aie-resize-wrapper img{position:relative}.aie-container .aie-resize-wrapper:hover .aie-resize{display:inline-block}.aie-container .aie-resize-wrapper .aie-resize{display:none;position:absolute;top:-2px;left:-2px;border:2px solid #609eec;width:100%;height:100%}.aie-container .aie-resize-wrapper .aie-resize div{position:absolute;display:flex;width:20px;height:20px;z-index:1}.aie-container .aie-resize-wrapper .aie-resize div:after{content:"";display:block;margin:auto;width:8px;height:8px;background:#609eec;border-radius:50%}.aie-container .aie-resize-wrapper .aie-resize .aie-resize-btn-top-left{left:-10px;top:-10px;cursor:nwse-resize}.aie-container .aie-resize-wrapper .aie-resize .aie-resize-btn-top-right{right:-10px;top:-10px;cursor:nesw-resize}.aie-container .aie-resize-wrapper .aie-resize .aie-resize-btn-bottom-left{left:-10px;bottom:-10px;cursor:nesw-resize}.aie-container .aie-resize-wrapper .aie-resize .aie-resize-btn-bottom-right{right:-10px;bottom:-10px;cursor:nwse-resize}.aie-container .aie-loader-placeholder{width:200px;height:200px;background:#efefef;display:flex}.aie-container .aie-loader-placeholder svg{margin:auto;width:80px;fill:#ccc;animation:rotate 2s linear infinite}@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.aie-container .aie-codeblock-wrapper{background:var(--aie-content-pre-bg-color);word-wrap:normal;white-space:normal;padding-top:5px;border-radius:5px}.aie-container .aie-codeblock-wrapper:hover .aie-codeblock-tools{display:flex}.aie-container .aie-codeblock-wrapper .aie-codeblock-tools{display:flex;justify-content:flex-end}.aie-container .aie-codeblock-wrapper .aie-codeblock-tools div{color:var(--aie-text-color);display:flex;cursor:pointer;align-items:center;font-size:14px;margin:0 3px}.aie-container .aie-codeblock-wrapper .aie-codeblock-tools-lang svg{fill:var(--aie-text-color);margin:2px;height:16px;width:16px}.aie-container .aie-codeblock-wrapper .aie-codeblock-tools-autowrap{margin:0 10px}.aie-container .aie-codeblock-wrapper .aie-codeblock-tools-autowrap svg{fill:var(--aie-text-color);margin:2px;height:14px;width:14px}.aie-container .aie-codeblock-langs{background:var(--aie-popover-bg-color);width:150px;max-height:300px;overflow:auto;border:solid 1px var(--aie-popover-border-color);color:var(--aie-menus-text-color)}.aie-container .aie-codeblock-langs-item{padding:5px;font-size:14px;height:20px;line-height:20px;cursor:pointer}.aie-container .aie-codeblock-langs-item:hover{background:var(--aie-popover-selected-color)}.aie-container aie-footer>div{border-top:solid 1px var(--aie-border-color);height:20px;line-height:20px;font-size:14px;text-align:right;color:#666}.aie-container aie-footer>div span{margin-left:auto}.aie-container aie-footer>div svg{fill:#666;rotate:-45deg;transform:translateY(5px);cursor:nwse-resize}.aie-container .tippy-box{max-width:1000px!important}.aie-container .tippy-box[data-animation=fade][data-state=hidden]{opacity:0}.aie-container [data-tippy-root]{max-width:calc(100vw - 10px)}.aie-container .tippy-box{position:relative;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.aie-container .tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.aie-container .tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.aie-container .tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.aie-container .tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.aie-container .tippy-box[data-placement^=left]>.tippy-arrow{right:0}.aie-container .tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.aie-container .tippy-box[data-placement^=right]>.tippy-arrow{left:0}.aie-container .tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.aie-container .tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.aie-container .tippy-arrow{width:16px;height:16px}.aie-container .tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.aie-container .tippy-content{position:relative;padding:5px 9px;z-index:1}.aie-container .tippy-box[data-theme~=aietip]{background-color:var(--aie-menus-tip-bg-color);color:var(--aie-menus-tip-text-color)}.aie-container .tippy-box[data-theme~=aietip][data-placement^=top]>.tippy-arrow:before{border-top-color:var(--aie-menus-tip-bg-color)}.aie-container .tippy-box[data-theme~=aietip][data-placement^=bottom]>.tippy-arrow:before{border-bottom-color:var(--aie-menus-tip-bg-color)}.aie-container .tippy-box[data-theme~=aietip][data-placement^=left]>.tippy-arrow:before{border-left-color:var(--aie-menus-tip-bg-color)}.aie-container .tippy-box[data-theme~=aietip][data-placement^=right]>.tippy-arrow:before{border-right-color:var(--aie-menus-tip-bg-color)}.aie-theme-light pre code.hljs{display:block;overflow-x:auto;padding:1em}.aie-theme-light code.hljs{padding:3px 5px}.aie-theme-light .hljs{color:#383a42;background:#fafafa}.aie-theme-light .hljs-comment,.aie-theme-light .hljs-quote{color:#a0a1a7;font-style:italic}.aie-theme-light .hljs-doctag,.aie-theme-light .hljs-keyword,.aie-theme-light .hljs-formula{color:#a626a4}.aie-theme-light .hljs-section,.aie-theme-light .hljs-name,.aie-theme-light .hljs-selector-tag,.aie-theme-light .hljs-deletion,.aie-theme-light .hljs-subst{color:#e45649}.aie-theme-light .hljs-literal{color:#0184bb}.aie-theme-light .hljs-string,.aie-theme-light .hljs-regexp,.aie-theme-light .hljs-addition,.aie-theme-light .hljs-attribute,.aie-theme-light .hljs-meta .hljs-string{color:#50a14f}.aie-theme-light .hljs-attr,.aie-theme-light .hljs-variable,.aie-theme-light .hljs-template-variable,.aie-theme-light .hljs-type,.aie-theme-light .hljs-selector-class,.aie-theme-light .hljs-selector-attr,.aie-theme-light .hljs-selector-pseudo,.aie-theme-light .hljs-number{color:#986801}.aie-theme-light .hljs-symbol,.aie-theme-light .hljs-bullet,.aie-theme-light .hljs-link,.aie-theme-light .hljs-meta,.aie-theme-light .hljs-selector-id,.aie-theme-light .hljs-title{color:#4078f2}.aie-theme-light .hljs-built_in,.aie-theme-light .hljs-title.class_,.aie-theme-light .hljs-class .hljs-title{color:#c18401}.aie-theme-light .hljs-emphasis{font-style:italic}.aie-theme-light .hljs-strong{font-weight:700}.aie-theme-light .hljs-link{text-decoration:underline}.aie-theme-dark pre code.hljs{display:block;overflow-x:auto;padding:1em}.aie-theme-dark code.hljs{padding:3px 5px}.aie-theme-dark .hljs{color:#abb2bf;background:#282c34}.aie-theme-dark .hljs-comment,.aie-theme-dark .hljs-quote{color:#5c6370;font-style:italic}.aie-theme-dark .hljs-doctag,.aie-theme-dark .hljs-keyword,.aie-theme-dark .hljs-formula{color:#c678dd}.aie-theme-dark .hljs-section,.aie-theme-dark .hljs-name,.aie-theme-dark .hljs-selector-tag,.aie-theme-dark .hljs-deletion,.aie-theme-dark .hljs-subst{color:#e06c75}.aie-theme-dark .hljs-literal{color:#56b6c2}.aie-theme-dark .hljs-string,.aie-theme-dark .hljs-regexp,.aie-theme-dark .hljs-addition,.aie-theme-dark .hljs-attribute,.aie-theme-dark .hljs-meta .hljs-string{color:#98c379}.aie-theme-dark .hljs-attr,.aie-theme-dark .hljs-variable,.aie-theme-dark .hljs-template-variable,.aie-theme-dark .hljs-type,.aie-theme-dark .hljs-selector-class,.aie-theme-dark .hljs-selector-attr,.aie-theme-dark .hljs-selector-pseudo,.aie-theme-dark .hljs-number{color:#d19a66}.aie-theme-dark .hljs-symbol,.aie-theme-dark .hljs-bullet,.aie-theme-dark .hljs-link,.aie-theme-dark .hljs-meta,.aie-theme-dark .hljs-selector-id,.aie-theme-dark .hljs-title{color:#61aeee}.aie-theme-dark .hljs-built_in,.aie-theme-dark .hljs-title.class_,.aie-theme-dark .hljs-class .hljs-title{color:#e6c07b}.aie-theme-dark .hljs-emphasis{font-style:italic}.aie-theme-dark .hljs-strong{font-weight:700}.aie-theme-dark .hljs-link{text-decoration:underline}.aie-popover{min-width:100px;min-height:100px;background:#fff;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 2px 5px 2px #0000001a;background:var(--aie-popover-bg-color);border:1px solid var(--aie-popover-border-color);border-radius:3px}.aie-popover-header{height:20px;display:flex;padding:5px 5px 0}.aie-popover-header-close{height:20px;width:20px;margin-left:auto;cursor:pointer}.aie-popover-header svg{fill:var(--aie-text-color)}.aie-popover-content{flex-grow:1;padding:0 10px}.aie-popover-content>div{color:var(--aie-text-color);font-size:14px}.aie-popover-content input,.aie-popover-content select,.aie-popover-content textarea{border:solid 1px var(--aie-input-border-color);height:25px;padding-inline:5px;border-radius:3px;background:var(--aie-input-bg-color);color:var(--aie-text-color)}.aie-popover-content input:focus-visible,.aie-popover-content select:focus-visible,.aie-popover-content textarea:focus-visible{outline:0;border:solid 1px var(--aie-input-focus-border-color);background-color:var(--aie-input-focus-bg-color)}.aie-popover-content select{height:30px}.aie-popover-footer{display:flex;padding:10px}.aie-popover-footer-confirm{margin-left:auto;background:var(--aie-button-bg-color);border:solid 1px var(--aie-button-border-color);color:var(--aie-text-color);padding:5px 10px;font-size:14px;border-radius:3px}.aie-popover-footer-confirm:hover{background:var(--aie-button-hover-bg-color);border-color:var(--aie-button-hover-border-color);cursor:pointer}.ai-command-container{width:200px;border:solid 1px;border-color:var(--aie-popover-border-color);background:var(--aie-popover-bg-color);color:var(--aie-text-color);border-radius:5px;box-shadow:0 0 7px #0000001a;display:flex;padding:10px 0;flex-direction:column}.ai-command-container .active{background:var(--aie-popover-selected-color)}.ai-command-container-title{width:100%;height:1px;background-color:#eaeaea;border:none;margin:5px 0}.ai-command-container hr{width:100%;height:1px;background-color:var(--aie-popover-border-color);border:none;margin:5px 0}.ai-command-container-header{display:flex;flex-wrap:wrap;align-items:center;padding:0 10px}.ai-command-container-header-item{width:30px;height:30px;display:flex;align-items:center;justify-content:center;cursor:pointer}.ai-command-container-header-item:hover{background-color:var(--aie-popover-selected-color)}.ai-command-container-header svg{fill:var(--aie-text-color);width:18px;height:18px}.ai-command-container-item{padding:10px 20px;font-family:Arial,Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;font-size:14px;color:var(--aie-text-color);display:flex;align-items:center;cursor:pointer}.ai-command-container-item svg{width:16px;height:16px;margin-right:10px}.ai-command-container-item:hover{background-color:var(--aie-popover-selected-color)}.aie-content{overflow:auto;padding:10px;margin:0;color:var(--aie-text-color)}.aie-content>:first-child{margin-top:0}.aie-content::-webkit-scrollbar{width:4px}.aie-content::-webkit-scrollbar-track-piece{background-color:var(--aie-content-scrollbar-track-piece)}.aie-content::-webkit-scrollbar-thumb{background-color:var(--aie-content-scrollbar-thumb)}.aie-content::-webkit-scrollbar-thumb:hover{background-color:var(--aie-content-scrollbar-thumb-hover)}.aie-content::-webkit-scrollbar-thumb:active{background-color:var(--aie-content-scrollbar-thumb-active)}.aie-content a{color:var(--aie-content-link-a-color)}.aie-content a :visited{color:var(--aie-content-link-a-visited-color)}.aie-content a :active{color:var(--aie-content-link-a-active-color)}.aie-content p{margin:16px 0;line-height:26px;min-height:26px}.aie-content ul,.aie-content ol{display:block;margin-block-start:1em;margin-block-end:1em;margin-inline-start:0px;margin-inline-end:0px;padding-inline-start:20px}.aie-content li p{padding:0;margin:5px 0}.aie-content ul[data-type=taskList]{display:block;margin-block-start:1em;margin-block-end:1em;margin-inline-start:0px;margin-inline-end:0px;padding-inline-start:0px}.aie-content ul[data-type=taskList] li{display:flex;align-items:baseline}.aie-content ul[data-type=taskList] li p{padding-left:2px}.aie-content blockquote{margin:16px 0;padding:5px 10px;border-left:2px solid var(--aie-content-blockquote-border-color);background:var(--aie-content-blockquote-bg-color)}.aie-content blockquote p{margin:5px 0;color:var(--aie-content-blockquote-text-color)}.aie-content img{border:1px solid #efefef}.aie-content code{border-radius:3px;padding:3px 6px;background:var(--aie-content-pre-bg-color)}.aie-content pre{margin:0;padding:0 10px 10px;border-radius:5px;background:var(--aie-content-pre-bg-color);overflow:auto}.aie-content pre code{padding:0;background:var(--aie-content-pre-bg-color)}.aie-content h1{padding-top:24px;letter-spacing:-.02em;line-height:40px;font-size:32px}.aie-content h2{padding-top:24px;letter-spacing:-.02em;line-height:32px;font-size:24px}.aie-content h3{margin:32px 0 0;letter-spacing:-.01em;line-height:28px;font-size:20px}.aie-content strong{font-weight:600}.aie-content table{border-collapse:collapse;margin:0;overflow:hidden;table-layout:fixed;width:100%}.aie-content table td,.aie-content table th{border:2px solid var(--aie-content-table-border-color);box-sizing:border-box;min-width:1em;padding:3px 5px;position:relative;vertical-align:top}.aie-content table td>*,.aie-content table th>*{margin-bottom:0}.aie-content table th{background-color:var(--aie-content-table-th-bg-color);font-weight:700;text-align:left}.aie-content table .selectedCell:after{background:var(--aie-content-table-selected-bg-color);content:"";left:0;right:0;top:0;bottom:0;pointer-events:none;position:absolute;z-index:2}.aie-content table .column-resize-handle{background-color:var(--aie-content-table-handler-color);bottom:-2px;position:absolute;right:-2px;pointer-events:none;top:0;width:3px}.aie-content table p{margin:0}.aie-content .align-left{text-align:left}.aie-content .align-right{text-align:right}.aie-content .align-center{text-align:center}.aie-content span[data-type=mention]{border:1px solid #cccccc;border-radius:5px;padding:0 3px}.aie-content p.is-editor-empty:first-child:before{color:var(--aie-text-placeholder-color);content:attr(data-placeholder);float:left;height:0;pointer-events:none}.aie-content div.container-wrapper{margin:1rem 0;padding:0 1rem;border:1px solid var(--aie-border-color);border-radius:3px}.aie-content div.info{background:var(--aie-content-container-info-color)}.aie-content div.warning{background:var(--aie-content-container-warning-color)}.aie-content div.danger{background:var(--aie-content-container-danger-color)}.tableWrapper{padding:1rem 0}.resize-cursor{cursor:ew-resize;cursor:col-resize} diff --git a/docs/changes.md b/docs/changes.md index a1a6bd2..70c8f6e 100644 --- a/docs/changes.md +++ b/docs/changes.md @@ -1,5 +1,24 @@ # AiEditor ChangeLog +## v1.2.9 20241212: + +- feat: Added changeTheme() method for dynamic theme switching +- feat: Optimized the color variables related to dark and light themes +- feat: Adjusted the size of emoji to use the toolbarSize configuration +- feat: Optimized the related tool methods of htmlUtil and mdUtil +- fix: When getting markdown, the image content cannot be correctly converted to markdown +- fix: When getting markdown, the table cannot be correctly converted to markdown in some cases + +--- +- 新增:添加 changeTheme() 方法,用于动态切换主题 +- 优化:优化暗色与亮色主题的相关颜色变量 +- 优化:调整 emoji 的大小以在使用 toolbarSize 的配置 +- 优化:优化 htmlUtil 和 mdUtil 的相关工具方法 +- 修复:获取 markdown 时,图片内容无法正确转换为 markdown +- 修复:获取 markdown 时,表格在某些情况下无法正确转换为 markdown + + + ## v1.2.8 20241203: - feat: Added support for the Shift-Tab de-indentation shortcut key in code blocks diff --git a/docs/zh/changes.md b/docs/zh/changes.md index a1a6bd2..70c8f6e 100644 --- a/docs/zh/changes.md +++ b/docs/zh/changes.md @@ -1,5 +1,24 @@ # AiEditor ChangeLog +## v1.2.9 20241212: + +- feat: Added changeTheme() method for dynamic theme switching +- feat: Optimized the color variables related to dark and light themes +- feat: Adjusted the size of emoji to use the toolbarSize configuration +- feat: Optimized the related tool methods of htmlUtil and mdUtil +- fix: When getting markdown, the image content cannot be correctly converted to markdown +- fix: When getting markdown, the table cannot be correctly converted to markdown in some cases + +--- +- 新增:添加 changeTheme() 方法,用于动态切换主题 +- 优化:优化暗色与亮色主题的相关颜色变量 +- 优化:调整 emoji 的大小以在使用 toolbarSize 的配置 +- 优化:优化 htmlUtil 和 mdUtil 的相关工具方法 +- 修复:获取 markdown 时,图片内容无法正确转换为 markdown +- 修复:获取 markdown 时,表格在某些情况下无法正确转换为 markdown + + + ## v1.2.8 20241203: - feat: Added support for the Shift-Tab de-indentation shortcut key in code blocks