sykpcomposer 1.20.7 → 1.20.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ImageComponent-aaec00bd.js → ImageComponent-6c47e67f.js} +3 -3
- package/dist/ImageComponent-6c47e67f.js.map +1 -0
- package/dist/{InlineImageComponent-f7c05e3d.js → InlineImageComponent-ecb2b0f4.js} +3 -3
- package/dist/InlineImageComponent-ecb2b0f4.js.map +1 -0
- package/dist/{LexicalNestedComposer.prod-ee8ab2f4.js → LexicalNestedComposer.prod-ad31070a.js} +2 -2
- package/dist/{LexicalNestedComposer.prod-ee8ab2f4.js.map → LexicalNestedComposer.prod-ad31070a.js.map} +1 -1
- package/dist/{PollComponent-e2f597ed.js → PollComponent-4b2b4d50.js} +2 -2
- package/dist/PollComponent-4b2b4d50.js.map +1 -0
- package/dist/assets/icons/3-columns.svg +3 -3
- package/dist/assets/icons/LICENSE.md +5 -5
- package/dist/assets/icons/add-sign.svg +3 -3
- package/dist/assets/icons/file-earmark-text.svg +3 -3
- package/dist/assets/icons/minus-sign.svg +3 -3
- package/dist/assets/icons/scissors.svg +2 -2
- package/dist/assets/icons/table-of-contents-svgrepo-com.svg +7 -7
- package/dist/emoji-list-48028e71.js.map +1 -1
- package/dist/{index-3db78f84.js → index-8f7b465b.js} +13 -9
- package/dist/index-8f7b465b.js.map +1 -0
- package/dist/index.es.js +1 -1
- package/dist/index.html +43 -43
- package/dist/index.umd.js +4 -4
- package/dist/index.umd.js.map +1 -1
- package/dist/manifest.json +25 -25
- package/dist/robots.txt +3 -3
- package/dist/src/declarations.d.ts +3 -3
- package/dist/style.css +1 -1
- package/package.json +77 -77
- package/dist/ImageComponent-aaec00bd.js.map +0 -1
- package/dist/InlineImageComponent-f7c05e3d.js.map +0 -1
- package/dist/PollComponent-e2f597ed.js.map +0 -1
- package/dist/index-3db78f84.js.map +0 -1
package/dist/index.umd.js
CHANGED
|
@@ -51,7 +51,7 @@ Check the top-level render call using <`+Ie+">.")}return Je}}function Ot(Ne,Je){
|
|
|
51
51
|
`?null:(Wt(p)&&(c&&p.toggleFormat("bold"),i&&p.toggleFormat("strikethrough"),u&&p.toggleFormat("italic"),d&&p.toggleFormat("underline")),h.append(p),h)}return p},node:a}}function wi(l,t=1,n){return Ar(new is(l,t,n))}function yn(l){return l instanceof is}const z2=fo();class jl extends Br{static getType(){return"tablerow"}static clone(t){return new jl(t.__height,t.__key)}static importDOM(){return{tr:t=>({conversion:U2,priority:0})}}static importJSON(t){return kl(t.height)}constructor(t,n){super(n),this.__height=t}exportJSON(){return{...super.exportJSON(),...this.getHeight()&&{height:this.getHeight()},type:"tablerow",version:1}}createDOM(t){const n=document.createElement("tr");return this.__height&&(n.style.height=`${this.__height}px`),zr(n,t.theme.tableRow),n}isShadowRoot(){return!0}setHeight(t){return this.getWritable().__height=t,this.__height}getHeight(){return this.getLatest().__height}updateDOM(t){return t.__height!==this.__height}canBeEmpty(){return!1}canIndent(){return!1}}function U2(l){const t=l;let n;return Yb.test(t.style.height)&&(n=parseFloat(t.style.height)),{node:kl(n)}}function kl(l){return Ar(new jl(l))}function Rr(l){return l instanceof jl}function H2(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var ir=H2(function(l){const t=new URLSearchParams;t.append("code",l);for(let n=1;n<arguments.length;n++)t.append("v",arguments[n]);throw Error(`Minified Lexical error #${l}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)});const $2=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0;function Im(l,t,n=!0){const e=bp();for(let a=0;a<l;a++){const r=kl();for(let o=0;o<t;o++){let s=Ur.NO_STATUS;typeof n=="object"?(a===0&&n.rows&&(s|=Ur.ROW),o===0&&n.columns&&(s|=Ur.COLUMN)):n&&(a===0&&(s|=Ur.ROW),o===0&&(s|=Ur.COLUMN));const c=wi(s),i=Cn();i.append(er()),c.append(i),r.append(c)}e.append(r)}return e}function q2(l){const t=nr(l,n=>yn(n));return yn(t)?t:null}function Xb(l){const t=nr(l,n=>Rr(n));if(Rr(t))return t;throw new Error("Expected table cell to be inside of table row.")}function Pa(l){const t=nr(l,n=>pr(n));if(pr(t))return t;throw new Error("Expected table cell to be inside of table.")}function Qb(l){const t=Xb(l);return Pa(t).getChildren().findIndex(n=>n.is(t))}function Mm(l){return Xb(l).getChildren().findIndex(t=>t.is(l))}const Dm=(l,t)=>l===Ur.BOTH||l===t?t:Ur.NO_STATUS;function W2(l=!0){const t=Tt();Ct(t)||dr(t)||ir(118);const n=t.focus.getNode(),[e,,a]=Ao(n),[r,o]=ss(a,e,e),s=r[0].length,{startRow:c}=o;if(l){const i=c+e.__rowSpan-1,u=r[i],d=kl();for(let f=0;f<s;f++){const{cell:h,startRow:m}=u[f];if(m+h.__rowSpan-1<=i){const g=u[f].cell.__headerState,_=Dm(g,Ur.COLUMN);d.append(wi(_).append(Cn()))}else h.setRowSpan(h.__rowSpan+1)}const p=a.getChildAtIndex(i);Rr(p)||ir(145),p.insertAfter(d)}else{const i=r[c],u=kl();for(let p=0;p<s;p++){const{cell:f,startRow:h}=i[p];if(h===c){const m=i[p].cell.__headerState,g=Dm(m,Ur.COLUMN);u.append(wi(g).append(Cn()))}else f.setRowSpan(f.__rowSpan+1)}const d=a.getChildAtIndex(c);Rr(d)||ir(145),d.insertBefore(u)}}function J2(l=!0){const t=Tt();Ct(t)||dr(t)||ir(118);const n=t.anchor.getNode(),e=t.focus.getNode(),[a]=Ao(n),[r,,o]=Ao(e),[s,c,i]=ss(o,r,a),u=s.length,d=l?Math.max(c.startColumn,i.startColumn):Math.min(c.startColumn,i.startColumn),p=l?d+r.__colSpan-1:d-1,f=o.getFirstChild();Rr(f)||ir(120);let h=null;function m(_=Ur.NO_STATUS){const v=wi(_).append(Cn());return h===null&&(h=v),v}let g=f;e:for(let _=0;_<u;_++){if(_!==0){const x=g.getNextSibling();Rr(x)||ir(121),g=x}const v=s[_],w=v[p<0?0:p].cell.__headerState,S=Dm(w,Ur.ROW);if(p<0){Rm(g,m(S));continue}const{cell:E,startColumn:b,startRow:y}=v[p];if(b+E.__colSpan-1<=p){let x=E,C=y,T=p;for(;C!==_&&x.__rowSpan>1;){if(T-=E.__colSpan,!(T>=0)){g.append(m(S));continue e}{const{cell:L,startRow:B}=v[T];x=L,C=B}}x.insertAfter(m(S))}else E.setColSpan(E.__colSpan+1)}h!==null&&cd(h)}function V2(){const l=Tt();Ct(l)||dr(l)||ir(118);const t=l.anchor.getNode(),n=l.focus.getNode(),[e,,a]=Ao(t),[r]=Ao(n),[o,s,c]=ss(a,e,r),{startRow:i}=s,{startRow:u}=c,d=u+r.__rowSpan-1;if(o.length===d-i+1)return void a.remove();const p=o[0].length,f=o[d+1],h=a.getChildAtIndex(d+1);for(let m=d;m>=i;m--){for(let _=p-1;_>=0;_--){const{cell:v,startRow:w,startColumn:S}=o[m][_];if(S===_&&(m===i&&w<i&&v.setRowSpan(v.__rowSpan-(w-i)),w>=i&&w+v.__rowSpan-1>d))if(v.setRowSpan(v.__rowSpan-(d-w+1)),h===null&&ir(122),_===0)Rm(h,v);else{const{cell:E}=f[_-1];E.insertAfter(v)}}const g=a.getChildAtIndex(m);Rr(g)||ir(123,String(m)),g.remove()}if(f!==void 0){const{cell:m}=f[0];cd(m)}else{const m=o[i-1],{cell:g}=m[0];cd(g)}}function K2(){const l=Tt();Ct(l)||dr(l)||ir(118);const t=l.anchor.getNode(),n=l.focus.getNode(),[e,,a]=Ao(t),[r]=Ao(n),[o,s,c]=ss(a,e,r),{startColumn:i}=s,{startRow:u,startColumn:d}=c,p=Math.min(i,d),f=Math.max(i+e.__colSpan-1,d+r.__colSpan-1),h=f-p+1;if(o[0].length===f-p+1)return a.selectPrevious(),void a.remove();const m=o.length;for(let v=0;v<m;v++)for(let w=p;w<=f;w++){const{cell:S,startColumn:E}=o[v][w];if(E<p){if(w===p){const b=p-E;S.setColSpan(S.__colSpan-Math.min(h,S.__colSpan-b))}}else if(E+S.__colSpan-1>f){if(w===f){const b=f-E+1;S.setColSpan(S.__colSpan-b)}}else S.remove()}const g=o[u],_=i>d?g[i+e.__colSpan]:g[d+r.__colSpan];if(_!==void 0){const{cell:v}=_;cd(v)}else{const v=d<i?g[d-1]:g[i-1],{cell:w}=v;cd(w)}}function cd(l){const t=l.getFirstDescendant();t==null?l.selectStart():t.getParentOrThrow().selectStart()}function Rm(l,t){const n=l.getFirstChild();n!==null?n.insertBefore(t):l.append(t)}function G2(){const l=Tt();Ct(l)||dr(l)||ir(118);const t=l.anchor.getNode(),[n,e,a]=Ao(t),r=n.__colSpan,o=n.__rowSpan;if(r>1){for(let s=1;s<r;s++)n.insertAfter(wi(Ur.NO_STATUS));n.setColSpan(1)}if(o>1){const[s,c]=ss(a,n,n),{startColumn:i,startRow:u}=c;let d;for(let p=1;p<o;p++){const f=u+p,h=s[f];d=(d||e).getNextSibling(),Rr(d)||ir(125);let m=null;for(let g=0;g<i;g++){const _=h[g],v=_.cell;_.startRow===f&&(m=v),v.__colSpan>1&&(g+=v.__colSpan-1)}if(m===null)for(let g=0;g<r;g++)Rm(d,wi(Ur.NO_STATUS));else for(let g=0;g<r;g++)m.insertAfter(wi(Ur.NO_STATUS))}n.setRowSpan(1)}}function ss(l,t,n){const[e,a,r]=e1(l,t,n);return a===null&&ir(110),r===null&&ir(111),[e,a,r]}function e1(l,t,n){const e=[];let a=null,r=null;function o(i,u,d){const p={cell:d,startColumn:u,startRow:i},f=d.__rowSpan,h=d.__colSpan;for(let m=0;m<f;m++){e[i+m]===void 0&&(e[i+m]=[]);for(let g=0;g<h;g++)e[i+m][u+g]=p}t!==null&&t.is(d)&&(a=p),n!==null&&n.is(d)&&(r=p)}function s(i,u){return e[i]===void 0||e[i][u]===void 0}const c=l.getChildren();for(let i=0;i<c.length;i++){const u=c[i];Rr(u)||ir(146);const d=u.getChildren();let p=0;for(const f of d){for(yn(f)||ir(147);!s(i,p);)p++;o(i,p,f),p+=f.__colSpan}}return[e,a,r]}function Ao(l){let t;if(l instanceof is)t=l;else if("__type"in l){const a=nr(l,yn);yn(a)||ir(148),t=a}else{const a=nr(l.getNode(),yn);yn(a)||ir(148),t=a}const n=t.getParent();Rr(n)||ir(149);const e=n.getParent();return pr(e)||ir(150),[t,n,e]}function t1(l){const[t,,n]=Ao(l),e=n.getChildren(),a=e.length,r=e[0].getChildren().length,o=new Array(a);for(let s=0;s<a;s++)o[s]=new Array(r);for(let s=0;s<a;s++){const c=e[s].getChildren();let i=0;for(let u=0;u<c.length;u++){for(;o[s][i];)i++;const d=c[u],p=d.__rowSpan||1,f=d.__colSpan||1;for(let h=0;h<p;h++)for(let m=0;m<f;m++)o[s+h][i+m]=d;if(t===d)return{colSpan:f,columnIndex:i,rowIndex:s,rowSpan:p};i+=f}}return null}class mp{constructor(t,n,e){this.anchor=n,this.focus=e,n._selection=this,e._selection=this,this._cachedNodes=null,this.dirty=!1,this.tableKey=t}getStartEndPoints(){return[this.anchor,this.focus]}isBackward(){return this.focus.isBefore(this.anchor)}getCachedNodes(){return this._cachedNodes}setCachedNodes(t){this._cachedNodes=t}is(t){return!!dr(t)&&this.tableKey===t.tableKey&&this.anchor.is(t.anchor)&&this.focus.is(t.focus)}set(t,n,e){this.dirty=!0,this.tableKey=t,this.anchor.key=n,this.focus.key=e,this._cachedNodes=null}clone(){return new mp(this.tableKey,this.anchor,this.focus)}isCollapsed(){return!1}extract(){return this.getNodes()}insertRawText(t){}insertText(){}insertNodes(t){const n=this.focus.getNode();kt(n)||ir(151),Ag(n.select(0,n.getChildrenSize())).insertNodes(t)}getShape(){const t=Bn(this.anchor.key);yn(t)||ir(152);const n=t1(t);n===null&&ir(153);const e=Bn(this.focus.key);yn(e)||ir(154);const a=t1(e);a===null&&ir(155);const r=Math.min(n.columnIndex,a.columnIndex),o=Math.max(n.columnIndex,a.columnIndex),s=Math.min(n.rowIndex,a.rowIndex),c=Math.max(n.rowIndex,a.rowIndex);return{fromX:Math.min(r,o),fromY:Math.min(s,c),toX:Math.max(r,o),toY:Math.max(s,c)}}getNodes(){const t=this._cachedNodes;if(t!==null)return t;const n=this.anchor.getNode(),e=this.focus.getNode(),a=nr(n,yn),r=nr(e,yn);yn(a)||ir(152),yn(r)||ir(154);const o=a.getParent();Rr(o)||ir(156);const s=o.getParent();pr(s)||ir(157);const c=r.getParents()[1];if(c!==s){if(s.isParentOf(r)){const y=c.getParent();y==null&&ir(159),this.set(this.tableKey,r.getKey(),y.getKey())}else{const y=s.getParent();y==null&&ir(158),this.set(this.tableKey,y.getKey(),r.getKey())}return this.getNodes()}const[i,u,d]=ss(s,a,r);let p=Math.min(u.startColumn,d.startColumn),f=Math.min(u.startRow,d.startRow),h=Math.max(u.startColumn+u.cell.__colSpan-1,d.startColumn+d.cell.__colSpan-1),m=Math.max(u.startRow+u.cell.__rowSpan-1,d.startRow+d.cell.__rowSpan-1),g=p,_=f,v=p,w=f;function S(y){const{cell:x,startColumn:C,startRow:T}=y;p=Math.min(p,C),f=Math.min(f,T),h=Math.max(h,C+x.__colSpan-1),m=Math.max(m,T+x.__rowSpan-1)}for(;p<g||f<_||h>v||m>w;){if(p<g){const y=w-_,x=g-1;for(let C=0;C<=y;C++)S(i[_+C][x]);g=x}if(f<_){const y=v-g,x=_-1;for(let C=0;C<=y;C++)S(i[x][g+C]);_=x}if(h>v){const y=w-_,x=v+1;for(let C=0;C<=y;C++)S(i[_+C][x]);v=x}if(m>w){const y=v-g,x=w+1;for(let C=0;C<=y;C++)S(i[x][g+C]);w=x}}const E=[s];let b=null;for(let y=f;y<=m;y++)for(let x=p;x<=h;x++){const{cell:C}=i[y][x],T=C.getParent();Rr(T)||ir(160),T!==b&&E.push(T),E.push(C,...Y2(C)),b=T}return pc()||(this._cachedNodes=E),E}getTextContent(){const t=this.getNodes();let n="";for(let e=0;e<t.length;e++)n+=t[e].getTextContent();return n}}function dr(l){return l instanceof mp}function yp(){const l=Di("root",0,"element"),t=Di("root",0,"element");return new mp("root",l,t)}function Y2(l){const t=[],n=[l];for(;n.length>0;){const e=n.pop();e===void 0&&ir(112),kt(e)&&n.unshift(...e.getChildren()),e!==l&&t.push(e)}return t}class Z2{constructor(t,n){this.isHighlightingCells=!1,this.anchorX=-1,this.anchorY=-1,this.focusX=-1,this.focusY=-1,this.listenersToRemove=new Set,this.tableNodeKey=n,this.editor=t,this.table={columns:0,domRows:[],rows:0},this.tableSelection=null,this.anchorCellNodeKey=null,this.focusCellNodeKey=null,this.anchorCell=null,this.focusCell=null,this.hasHijackedSelectionStyles=!1,this.trackTable(),this.isSelecting=!1}getTable(){return this.table}removeListeners(){Array.from(this.listenersToRemove).forEach(t=>t())}trackTable(){const t=new MutationObserver(n=>{this.editor.update(()=>{let e=!1;for(let r=0;r<n.length;r++){const o=n[r].target.nodeName;if(o==="TABLE"||o==="TBODY"||o==="THEAD"||o==="TR"){e=!0;break}}if(!e)return;const a=this.editor.getElementByKey(this.tableNodeKey);if(!a)throw new Error("Expected to find TableElement in DOM");this.table=ud(a)})});this.editor.update(()=>{const n=this.editor.getElementByKey(this.tableNodeKey);if(!n)throw new Error("Expected to find TableElement in DOM");this.table=ud(n),t.observe(n,{childList:!0,subtree:!0})})}clearHighlight(){const t=this.editor;this.isHighlightingCells=!1,this.anchorX=-1,this.anchorY=-1,this.focusX=-1,this.focusY=-1,this.tableSelection=null,this.anchorCellNodeKey=null,this.focusCellNodeKey=null,this.anchorCell=null,this.focusCell=null,this.hasHijackedSelectionStyles=!1,this.enableHighlightStyle(),t.update(()=>{if(!pr(Bn(this.tableNodeKey)))throw new Error("Expected TableNode.");const n=t.getElementByKey(this.tableNodeKey);if(!n)throw new Error("Expected to find TableElement in DOM");const e=ud(n);vp(t,e,null),jr(null),t.dispatchCommand(vi,void 0)})}enableHighlightStyle(){const t=this.editor;t.update(()=>{const n=t.getElementByKey(this.tableNodeKey);if(!n)throw new Error("Expected to find TableElement in DOM");mc(n,t._config.theme.tableSelection),n.classList.remove("disable-selection"),this.hasHijackedSelectionStyles=!1})}disableHighlightStyle(){const t=this.editor;t.update(()=>{const n=t.getElementByKey(this.tableNodeKey);if(!n)throw new Error("Expected to find TableElement in DOM");zr(n,t._config.theme.tableSelection),this.hasHijackedSelectionStyles=!0})}updateTableTableSelection(t){if(t!==null&&t.tableKey===this.tableNodeKey){const n=this.editor;this.tableSelection=t,this.isHighlightingCells=!0,this.disableHighlightStyle(),vp(n,this.table,this.tableSelection)}else t==null?this.clearHighlight():(this.tableNodeKey=t.tableKey,this.updateTableTableSelection(t))}setFocusCellForSelection(t,n=!1){const e=this.editor;e.update(()=>{const a=Bn(this.tableNodeKey);if(!pr(a))throw new Error("Expected TableNode.");if(!e.getElementByKey(this.tableNodeKey))throw new Error("Expected to find TableElement in DOM");const r=t.x,o=t.y;if(this.focusCell=t,this.anchorCell!==null){const s=r1(e._window);s&&s.setBaseAndExtent(this.anchorCell.elem,0,this.focusCell.elem,0)}if(this.isHighlightingCells||this.anchorX===r&&this.anchorY===o&&!n){if(r===this.focusX&&o===this.focusY)return}else this.isHighlightingCells=!0,this.disableHighlightStyle();if(this.focusX=r,this.focusY=o,this.isHighlightingCells){const s=po(t.elem);if(this.tableSelection!=null&&this.anchorCellNodeKey!=null&&yn(s)&&a.is(wc(s))){const c=s.getKey();this.tableSelection=this.tableSelection.clone()||yp(),this.focusCellNodeKey=c,this.tableSelection.set(this.tableNodeKey,this.anchorCellNodeKey,this.focusCellNodeKey),jr(this.tableSelection),e.dispatchCommand(vi,void 0),vp(e,this.table,this.tableSelection)}}})}setAnchorCellForSelection(t){this.isHighlightingCells=!1,this.anchorCell=t,this.anchorX=t.x,this.anchorY=t.y,this.editor.update(()=>{const n=po(t.elem);if(yn(n)){const e=n.getKey();this.tableSelection=this.tableSelection!=null?this.tableSelection.clone():yp(),this.anchorCellNodeKey=e}})}formatCells(t){this.editor.update(()=>{const n=Tt();dr(n)||ir(11);const e=fc(),a=e.anchor,r=e.focus;n.getNodes().forEach(o=>{yn(o)&&o.getTextContentSize()!==0&&(a.set(o.getKey(),0,"element"),r.set(o.getKey(),o.getChildrenSize(),"element"),e.formatText(t))}),jr(n),this.editor.dispatchCommand(vi,void 0)})}clearText(){const t=this.editor;t.update(()=>{const n=Bn(this.tableNodeKey);if(!pr(n))throw new Error("Expected TableNode.");const e=Tt();dr(e)||ir(11);const a=e.getNodes().filter(yn);a.length!==this.table.columns*this.table.rows?(a.forEach(r=>{if(kt(r)){const o=Cn(),s=er();o.append(s),r.append(o),r.getChildren().forEach(c=>{c!==o&&c.remove()})}}),vp(t,this.table,null),jr(null),t.dispatchCommand(vi,void 0)):(n.selectPrevious(),n.remove(),zn().selectStart())})}}const n1="__lexicalTableSelection",r1=l=>$2?(l||window).getSelection():null;function X2(l,t,n,e){const a=n.getRootElement();if(a===null)throw new Error("No root element.");const r=new Z2(n,l.getKey()),o=n._window||window;(function(d,p){d[n1]=p})(t,r);const s=()=>{const d=()=>{r.isSelecting=!1,o.removeEventListener("mouseup",d),o.removeEventListener("mousemove",p)},p=f=>{setTimeout(()=>{if(1&~f.buttons&&r.isSelecting)return r.isSelecting=!1,o.removeEventListener("mouseup",d),void o.removeEventListener("mousemove",p);const h=Lm(f.target);h===null||r.anchorX===h.x&&r.anchorY===h.y||(f.preventDefault(),r.setFocusCellForSelection(h))},0)};return{onMouseMove:p,onMouseUp:d}};t.addEventListener("mousedown",d=>{setTimeout(()=>{if(d.button!==0||!o)return;const p=Lm(d.target);p!==null&&(Tl(d),r.setAnchorCellForSelection(p));const{onMouseUp:f,onMouseMove:h}=s();r.isSelecting=!0,o.addEventListener("mouseup",f),o.addEventListener("mousemove",h)},0)});const c=d=>{d.button===0&&n.update(()=>{const p=Tt(),f=d.target;dr(p)&&p.tableKey===r.tableNodeKey&&a.contains(f)&&r.clearHighlight()})};o.addEventListener("mousedown",c),r.listenersToRemove.add(()=>o.removeEventListener("mousedown",c)),r.listenersToRemove.add(n.registerCommand(Bu,d=>dd(n,d,"down",l,r),rs)),r.listenersToRemove.add(n.registerCommand(Fu,d=>dd(n,d,"up",l,r),rs)),r.listenersToRemove.add(n.registerCommand(xf,d=>dd(n,d,"backward",l,r),rs)),r.listenersToRemove.add(n.registerCommand(wf,d=>dd(n,d,"forward",l,r),rs)),r.listenersToRemove.add(n.registerCommand(Ls,d=>{const p=Tt();if(dr(p)){const f=nr(p.focus.getNode(),yn);if(yn(f))return Tl(d),f.selectEnd(),!0}return!1},rs)),[ml,wa,Yi].forEach(d=>{r.listenersToRemove.add(n.registerCommand(d,(p=>()=>{const f=Tt();if(!Ia(f,l))return!1;if(dr(f))return r.clearText(),!0;if(Ct(f)){const h=nr(f.anchor.getNode(),E=>yn(E));if(!yn(h))return!1;const m=f.anchor.getNode(),g=f.focus.getNode(),_=l.isParentOf(m),v=l.isParentOf(g);if(_&&!v||v&&!_)return r.clearText(),!0;const w=nr(f.anchor.getNode(),E=>kt(E)),S=w&&nr(w,E=>kt(E)&&yn(E.getParent()));if(!kt(S)||!kt(w))return!1;if(p===wa&&S.getPreviousSibling()===null)return!0}return!1})(d),Uo))});const i=d=>{const p=Tt();if(!Ia(p,l)){const f=p?p.getNodes():null;if(f){const h=f.find(m=>pr(m)&&m.getKey()===r.tableNodeKey);if(pr(h)){const m=h.getParent();if(!m)return!1;const g=h.getNextSibling()||h.getPreviousSibling();h.remove(),g?g.selectStart():m.selectStart()}}return!0}if(dr(p))return d.preventDefault(),d.stopPropagation(),r.clearText(),!0;if(Ct(p)){const f=nr(p.anchor.getNode(),h=>yn(h));if(!yn(f))return!1}return!1};function u(d){const p=l.getCordsFromCellNode(d,r.table);return l.getDOMCellFromCordsOrThrow(p.x,p.y,r.table)}return r.listenersToRemove.add(n.registerCommand(Zi,i,Uo)),r.listenersToRemove.add(n.registerCommand(Xi,i,Uo)),r.listenersToRemove.add(n.registerCommand(Gr,d=>{const p=Tt();if(!Ia(p,l))return!1;if(dr(p))return r.formatCells(d),!0;if(Ct(p)){const f=nr(p.anchor.getNode(),h=>yn(h));if(!yn(f))return!1}return!1},Uo)),r.listenersToRemove.add(n.registerCommand(yl,d=>{const p=Tt();if(!dr(p)||!Ia(p,l))return!1;const f=p.anchor.getNode(),h=p.focus.getNode();if(!yn(f)||!yn(h))return!1;const[m,g,_]=ss(l,f,h),v=Math.max(g.startRow,_.startRow),w=Math.max(g.startColumn,_.startColumn),S=Math.min(g.startRow,_.startRow),E=Math.min(g.startColumn,_.startColumn);for(let b=S;b<=v;b++)for(let y=E;y<=w;y++){const x=m[b][y].cell;x.setFormat(d);const C=x.getChildren();for(let T=0;T<C.length;T++){const L=C[T];kt(L)&&!L.isInline()&&L.setFormat(d)}}return!0},Uo)),r.listenersToRemove.add(n.registerCommand(_a,d=>{const p=Tt();if(!Ia(p,l))return!1;if(dr(p))return r.clearHighlight(),!1;if(Ct(p)){const f=nr(p.anchor.getNode(),h=>yn(h));if(!yn(f))return!1;if(typeof d=="string"){const h=c1(n,p,l);if(h)return l1(h,l,[er(d)]),!0}}return!1},Uo)),e&&r.listenersToRemove.add(n.registerCommand(Sf,d=>{const p=Tt();if(!Ct(p)||!p.isCollapsed()||!Ia(p,l))return!1;const f=zm(p.anchor.getNode());if(f===null)return!1;Tl(d);const h=l.getCordsFromCellNode(f,r.table);return i1(r,l,h.x,h.y,d.shiftKey?"backward":"forward"),!0},Uo)),r.listenersToRemove.add(n.registerCommand(vg,d=>l.isSelected(),rs)),r.listenersToRemove.add(n.registerCommand(Ev,d=>{const{nodes:p,selection:f}=d,h=f.getStartEndPoints(),m=dr(f),g=Ct(f)&&nr(f.anchor.getNode(),M=>yn(M))!==null&&nr(f.focus.getNode(),M=>yn(M))!==null||m;if(p.length!==1||!pr(p[0])||!g||h===null)return!1;const[_]=h,v=p[0],w=v.getChildren(),S=v.getFirstChildOrThrow().getChildrenSize(),E=v.getChildrenSize(),b=nr(_.getNode(),M=>yn(M)),y=b&&nr(b,M=>Rr(M)),x=y&&nr(y,M=>pr(M));if(!yn(b)||!Rr(y)||!pr(x))return!1;const C=y.getIndexWithinParent(),T=Math.min(x.getChildrenSize()-1,C+E-1),L=b.getIndexWithinParent(),B=Math.min(y.getChildrenSize()-1,L+S-1),D=Math.min(L,B),F=Math.min(C,T),O=Math.max(L,B),j=Math.max(C,T),P=x.getChildren();let R,N,U=0;for(let M=F;M<=j;M++){const z=P[M];if(!Rr(z))return!1;const V=w[U];if(!Rr(V))return!1;const K=z.getChildren(),A=V.getChildren();let q=0;for(let W=D;W<=O;W++){const H=K[W];if(!yn(H))return!1;const G=A[q];if(!yn(G))return!1;M===F&&W===D?R=H.getKey():M===j&&W===O&&(N=H.getKey());const Z=H.getChildren();G.getChildren().forEach(Q=>{Wt(Q)&&Cn().append(Q),H.append(Q)}),Z.forEach(Q=>Q.remove()),q++}U++}if(R&&N){const M=yp();M.set(p[0].getKey(),R,N),jr(M)}return!0},Uo)),r.listenersToRemove.add(n.registerCommand(vi,()=>{const d=Tt(),p=Oa();if(Ct(d)){const{anchor:f,focus:h}=d,m=f.getNode(),g=h.getNode(),_=zm(m),v=zm(g),w=!(!_||!l.is(wc(_))),S=!(!v||!l.is(wc(v))),E=w!==S,b=w&&S,y=d.isBackward();if(E){const x=d.clone();if(S){const[C]=ss(l,v,v),T=C[0][0].cell,L=C[C.length-1].at(-1).cell;x.focus.set(y?T.getKey():L.getKey(),y?T.getChildrenSize():L.getChildrenSize(),"element")}else x.anchor.set(l.getParentOrThrow().getKey(),y?l.getIndexWithinParent()+1:l.getIndexWithinParent(),"element");jr(x),o1(n,r)}else b&&(_.is(v)||(r.setAnchorCellForSelection(u(_)),r.setFocusCellForSelection(u(v),!0),r.isSelecting||setTimeout(()=>{const{onMouseUp:x,onMouseMove:C}=s();r.isSelecting=!0,o.addEventListener("mouseup",x),o.addEventListener("mousemove",C)},0)))}else if(d&&dr(d)&&d.is(p)&&d.tableKey===l.getKey()){const f=r1(n._window);if(f&&f.anchorNode&&f.focusNode){const h=po(f.focusNode),m=h&&!l.is(wc(h)),g=po(f.anchorNode),_=g&&l.is(wc(g));if(m&&_&&f.rangeCount>0){const v=Vk(f,n);v&&(v.anchor.set(l.getKey(),d.isBackward()?l.getChildrenSize():0,"element"),f.removeAllRanges(),jr(v))}}}return d&&!d.is(p)&&(dr(d)||dr(p))&&r.tableSelection&&!r.tableSelection.is(p)?(dr(d)&&d.tableKey===r.tableNodeKey?r.updateTableTableSelection(d):!dr(d)&&dr(p)&&p.tableKey===r.tableNodeKey&&r.updateTableTableSelection(null),!1):(r.hasHijackedSelectionStyles&&!l.isSelected()?function(f,h){h.enableHighlightStyle(),Fm(h.table,m=>{const g=m.elem;m.highlighted=!1,a1(f,m),g.getAttribute("style")||g.removeAttribute("style")})}(n,r):!r.hasHijackedSelectionStyles&&l.isSelected()&&o1(n,r),!1)},Uo)),r.listenersToRemove.add(n.registerCommand(gl,()=>{const d=Tt();if(!Ct(d)||!d.isCollapsed()||!Ia(d,l))return!1;const p=c1(n,d,l);return!!p&&(l1(p,l),!0)},Uo)),r}function Q2(l){return l[n1]}function Lm(l){let t=l;for(;t!=null;){const n=t.nodeName;if(n==="TD"||n==="TH"){const e=t._cell;return e===void 0?null:e}t=t.parentNode}return null}function ud(l){const t=[],n={columns:0,domRows:t,rows:0};let e=l.firstChild,a=0,r=0;for(t.length=0;e!=null;){const o=e.nodeName;if(o==="TD"||o==="TH"){const i={elem:e,hasBackgroundColor:e.style.backgroundColor!=="",highlighted:!1,x:a,y:r};e._cell=i;let u=t[r];u===void 0&&(u=t[r]=[]),u[a]=i}else{const i=e.firstChild;if(i!=null){e=i;continue}}const s=e.nextSibling;if(s!=null){a++,e=s;continue}const c=e.parentNode;if(c!=null){const i=c.nextSibling;if(i==null)break;r++,a=0,e=i}}return n.columns=a+1,n.rows=r+1,n}function vp(l,t,n){const e=new Set(n?n.getNodes():[]);Fm(t,(a,r)=>{const o=a.elem;e.has(r)?(a.highlighted=!0,s1(l,a)):(a.highlighted=!1,a1(l,a),o.getAttribute("style")||o.removeAttribute("style"))})}function Fm(l,t){const{domRows:n}=l;for(let e=0;e<n.length;e++){const a=n[e];if(a)for(let r=0;r<a.length;r++){const o=a[r];if(!o)continue;const s=po(o.elem);s!==null&&t(o,s,{x:r,y:e})}}}function o1(l,t){t.disableHighlightStyle(),Fm(t.table,n=>{n.highlighted=!0,s1(l,n)})}const i1=(l,t,n,e,a)=>{const r=a==="forward";switch(a){case"backward":case"forward":return n!==(r?l.table.columns-1:0)?_p(t.getCellNodeFromCordsOrThrow(n+(r?1:-1),e,l.table),r):e!==(r?l.table.rows-1:0)?_p(t.getCellNodeFromCordsOrThrow(r?0:l.table.columns-1,e+(r?1:-1),l.table),r):r?t.selectNext():t.selectPrevious(),!0;case"up":return e!==0?_p(t.getCellNodeFromCordsOrThrow(n,e-1,l.table),!1):t.selectPrevious(),!0;case"down":return e!==l.table.rows-1?_p(t.getCellNodeFromCordsOrThrow(n,e+1,l.table),!0):t.selectNext(),!0;default:return!1}},eT=(l,t,n,e,a)=>{const r=a==="forward";switch(a){case"backward":case"forward":return n!==(r?l.table.columns-1:0)&&l.setFocusCellForSelection(t.getDOMCellFromCordsOrThrow(n+(r?1:-1),e,l.table)),!0;case"up":return e!==0&&(l.setFocusCellForSelection(t.getDOMCellFromCordsOrThrow(n,e-1,l.table)),!0);case"down":return e!==l.table.rows-1&&(l.setFocusCellForSelection(t.getDOMCellFromCordsOrThrow(n,e+1,l.table)),!0);default:return!1}};function Ia(l,t){if(Ct(l)||dr(l)){const n=t.isParentOf(l.anchor.getNode()),e=t.isParentOf(l.focus.getNode());return n&&e}return!1}function _p(l,t){t?l.selectStart():l.selectEnd()}const Bm="172,206,247";function s1(l,t){const n=t.elem,e=po(n);yn(e)||ir(131),e.getBackgroundColor()===null?n.style.setProperty("background-color",`rgb(${Bm})`):n.style.setProperty("background-image",`linear-gradient(to right, rgba(${Bm},0.85), rgba(${Bm},0.85))`),n.style.setProperty("caret-color","transparent")}function a1(l,t){const n=t.elem,e=po(n);yn(e)||ir(131),e.getBackgroundColor()===null&&n.style.removeProperty("background-color"),n.style.removeProperty("background-image"),n.style.removeProperty("caret-color")}function zm(l){const t=nr(l,yn);return yn(t)?t:null}function wc(l){const t=nr(l,pr);return pr(t)?t:null}function dd(l,t,n,e,a){if((n==="up"||n==="down")&&function(o){const s=o.getRootElement();return s?s.hasAttribute("aria-controls")&&s.getAttribute("aria-controls")==="typeahead-menu":!1}(l))return!1;const r=Tt();if(!Ia(r,e)){if(Ct(r)){if(r.isCollapsed()&&n==="backward"){const o=r.anchor.type,s=r.anchor.offset;if(o!=="element"&&(o!=="text"||s!==0))return!1;const c=r.anchor.getNode();if(!c)return!1;const i=nr(c,d=>kt(d)&&!d.isInline());if(!i)return!1;const u=i.getPreviousSibling();return!(!u||!pr(u))&&(Tl(t),u.selectEnd(),!0)}if(t.shiftKey&&(n==="up"||n==="down")){const o=r.anchor.getNode();if(to(o)){const s=r.getNodes()[0];if(s){const c=nr(s,yn);if(c&&e.isParentOf(c)){const i=e.getFirstDescendant(),u=e.getLastDescendant();if(!i||!u)return!1;const[d]=Ao(i),[p]=Ao(u),f=e.getCordsFromCellNode(d,a.table),h=e.getCordsFromCellNode(p,a.table),m=e.getDOMCellFromCordsOrThrow(f.x,f.y,a.table),g=e.getDOMCellFromCordsOrThrow(h.x,h.y,a.table);return a.setAnchorCellForSelection(m),a.setFocusCellForSelection(g,!0),!0}}return!1}{const s=nr(o,i=>kt(i)&&!i.isInline());if(!s)return!1;const c=n==="down"?s.getNextSibling():s.getPreviousSibling();if(pr(c)&&a.tableNodeKey===c.getKey()){const i=c.getFirstDescendant(),u=c.getLastDescendant();if(!i||!u)return!1;const[d]=Ao(i),[p]=Ao(u),f=r.clone();return f.focus.set((n==="up"?d:p).getKey(),n==="up"?0:p.getChildrenSize(),"element"),jr(f),!0}}}}return!1}if(Ct(r)&&r.isCollapsed()){const{anchor:o,focus:s}=r,c=nr(o.getNode(),yn),i=nr(s.getNode(),yn);if(!yn(c)||!c.is(i))return!1;const u=wc(c);if(u!==e&&u!=null){const _=l.getElementByKey(u.getKey());if(_!=null)return a.table=ud(_),dd(l,t,n,u,a)}if(n==="backward"||n==="forward"){const _=o.type,v=o.offset,w=o.getNode();if(!w)return!1;const S=r.getNodes();return(S.length!==1||!gr(S[0]))&&!!function(E,b,y,x){return function(C,T,L){return C==="element"&&(L==="backward"?T.getPreviousSibling()===null:T.getNextSibling()===null)}(E,y,x)||function(C,T,L,B){const D=nr(L,O=>kt(O)&&!O.isInline());if(!D)return!1;const F=B==="backward"?T===0:T===L.getTextContentSize();return C==="text"&&F&&(B==="backward"?D.getPreviousSibling()===null:D.getNextSibling()===null)}(E,b,y,x)}(_,v,w,n)&&function(E,b,y,x){const C=nr(b,yn);if(!yn(C))return!1;const[T,L]=ss(y,C,C);if(!function(D,F,O){const j=D[0][0],P=D[D.length-1][D[0].length-1],{startColumn:R,startRow:N}=F;return O==="backward"?R===j.startColumn&&N===j.startRow:R===P.startColumn&&N===P.startRow}(T,L,x))return!1;const B=function(D,F,O){const j=nr(D,R=>kt(R)&&!R.isInline());if(!j)return;const P=F==="backward"?j.getPreviousSibling():j.getNextSibling();return P&&pr(P)?P:F==="backward"?O.getPreviousSibling():O.getNextSibling()}(b,x,y);return!B||pr(B)?!1:(Tl(E),x==="backward"?B.selectEnd():B.selectStart(),!0)}(t,w,e,n)}const d=l.getElementByKey(c.__key),p=l.getElementByKey(o.key);if(p==null||d==null)return!1;let f;if(o.type==="element")f=p.getBoundingClientRect();else{const _=window.getSelection();if(_===null||_.rangeCount===0)return!1;f=_.getRangeAt(0).getBoundingClientRect()}const h=n==="up"?c.getFirstChild():c.getLastChild();if(h==null)return!1;const m=l.getElementByKey(h.__key);if(m==null)return!1;const g=m.getBoundingClientRect();if(n==="up"?g.top>f.top-f.height:f.bottom+f.height>g.bottom){Tl(t);const _=e.getCordsFromCellNode(c,a.table);if(!t.shiftKey)return i1(a,e,_.x,_.y,n);{const v=e.getDOMCellFromCordsOrThrow(_.x,_.y,a.table);a.setAnchorCellForSelection(v),a.setFocusCellForSelection(v,!0)}return!0}}else if(dr(r)){const{anchor:o,focus:s}=r,c=nr(o.getNode(),yn),i=nr(s.getNode(),yn),[u]=r.getNodes(),d=l.getElementByKey(u.getKey());if(!yn(c)||!yn(i)||!pr(u)||d==null)return!1;a.updateTableTableSelection(r);const p=ud(d),f=e.getCordsFromCellNode(c,p),h=e.getDOMCellFromCordsOrThrow(f.x,f.y,p);if(a.setAnchorCellForSelection(h),Tl(t),t.shiftKey){const m=e.getCordsFromCellNode(i,p);return eT(a,u,m.x,m.y,n)}return i.selectEnd(),!0}return!1}function Tl(l){l.preventDefault(),l.stopImmediatePropagation(),l.stopPropagation()}function l1(l,t,n){const e=Cn();l==="first"?t.insertBefore(e):t.insertAfter(e),e.append(...n||[]),e.selectEnd()}function c1(l,t,n){const e=n.getParent();if(!e)return;const a=l.getElementByKey(e.getKey());if(!a)return;const r=window.getSelection();if(!r||r.anchorNode!==a)return;const o=nr(t.anchor.getNode(),g=>yn(g));if(!o)return;const s=nr(o,g=>pr(g));if(!pr(s)||!s.is(n))return;const[c,i]=ss(n,o,o),u=c[0][0],d=c[c.length-1][c[0].length-1],{startRow:p,startColumn:f}=i,h=p===u.startRow&&f===u.startColumn,m=p===d.startRow&&f===d.startColumn;return h?"first":m?"last":void 0}class xs extends Br{static getType(){return"table"}static clone(t){return new xs(t.__key)}static importDOM(){return{table:t=>({conversion:tT,priority:1})}}static importJSON(t){return bp()}constructor(t){super(t)}exportJSON(){return{...super.exportJSON(),type:"table",version:1}}createDOM(t,n){const e=document.createElement("table");return zr(e,t.theme.table),e}updateDOM(){return!1}exportDOM(t){return{...super.exportDOM(t),after:n=>{if(n){const e=n.cloneNode(),a=document.createElement("colgroup"),r=document.createElement("tbody");Mi(n)&&r.append(...n.children);const o=this.getFirstChildOrThrow();if(!Rr(o))throw new Error("Expected to find row node.");const s=o.getChildrenSize();for(let c=0;c<s;c++){const i=document.createElement("col");a.append(i)}return e.replaceChildren(a,r),e}}}}canBeEmpty(){return!1}isShadowRoot(){return!0}getCordsFromCellNode(t,n){const{rows:e,domRows:a}=n;for(let r=0;r<e;r++){const o=a[r];if(o==null)continue;const s=o.findIndex(c=>{if(!c)return;const{elem:i}=c;return po(i)===t});if(s!==-1)return{x:s,y:r}}throw new Error("Cell not found in table.")}getDOMCellFromCords(t,n,e){const{domRows:a}=e,r=a[n];if(r==null)return null;const o=r[t];return o??null}getDOMCellFromCordsOrThrow(t,n,e){const a=this.getDOMCellFromCords(t,n,e);if(!a)throw new Error("Cell not found at cords.");return a}getCellNodeFromCords(t,n,e){const a=this.getDOMCellFromCords(t,n,e);if(a==null)return null;const r=po(a.elem);return yn(r)?r:null}getCellNodeFromCordsOrThrow(t,n,e){const a=this.getCellNodeFromCords(t,n,e);if(!a)throw new Error("Node at cords not TableCellNode.");return a}canSelectBefore(){return!0}canIndent(){return!1}}function tT(l){return{node:bp()}}function bp(){return Ar(new xs)}function pr(l){return l instanceof xs}function nT(l){const t=l.open!==void 0?l.open:!0;return{node:u1(t)}}class fd extends Br{constructor(n,e){super(e);Un(this,"__open");this.__open=n}static getType(){return"collapsible-container"}static clone(n){return new fd(n.__open,n.__key)}createDOM(n,e){const a=document.createElement("details");return a.classList.add("Collapsible__container"),a.open=this.__open,a.addEventListener("toggle",()=>{e.getEditorState().read(()=>this.getOpen())!==a.open&&e.update(()=>this.toggleOpen())}),a}updateDOM(n,e){return n.__open!==this.__open&&(e.open=this.__open),!1}static importDOM(){return{details:n=>({conversion:nT,priority:1})}}static importJSON(n){return u1(n.open)}exportDOM(){const n=document.createElement("details");return n.setAttribute("open",this.__open.toString()),{element:n}}exportJSON(){return{...super.exportJSON(),open:this.__open,type:"collapsible-container",version:1}}setOpen(n){const e=this.getWritable();e.__open=n}getOpen(){return this.getLatest().__open}toggleOpen(){this.setOpen(!this.getOpen())}}function u1(l){return new fd(l)}function rT(l){return l instanceof fd}function oT(l){return{node:d1()}}class pd extends Br{static getType(){return"collapsible-content"}static clone(t){return new pd(t.__key)}createDOM(t){const n=document.createElement("div");return n.classList.add("Collapsible__content"),n}updateDOM(t,n){return!1}static importDOM(){return{div:t=>t.hasAttribute("data-lexical-collapsible-content")?{conversion:oT,priority:2}:null}}exportDOM(){const t=document.createElement("div");return t.setAttribute("data-lexical-collapsible-content","true"),{element:t}}static importJSON(t){return d1()}isShadowRoot(){return!0}exportJSON(){return{...super.exportJSON(),type:"collapsible-content",version:1}}}function d1(){return new pd}function iT(l){return l instanceof pd}function sT(l){return{node:f1()}}class wp extends Br{static getType(){return"collapsible-title"}static clone(t){return new wp(t.__key)}createDOM(t,n){const e=document.createElement("summary");return e.classList.add("Collapsible__title"),e}updateDOM(t,n){return!1}static importDOM(){return{summary:t=>({conversion:sT,priority:1})}}static importJSON(t){return f1()}exportDOM(){return{element:document.createElement("summary")}}exportJSON(){return{...super.exportJSON(),type:"collapsible-title",version:1}}collapseAtStart(t){return this.getParentOrThrow().insertBefore(this),!0}insertNewAfter(t,n=!0){const e=this.getParentOrThrow();if(!rT(e))throw new Error("CollapsibleTitleNode expects to be child of CollapsibleContainerNode");if(e.getOpen()){const a=this.getNextSibling();if(!iT(a))throw new Error("CollapsibleTitleNode expects to have CollapsibleContentNode sibling");const r=a.getFirstChild();if(kt(r))return r;{const o=Cn();return a.append(o),o}}else{const a=Cn();return e.insertAfter(a,n),a}}}function f1(){return new wp}class hd extends no{constructor(n,e,a){super(e,a);Un(this,"__className");this.__className=n}static getType(){return"emoji"}static clone(n){return new hd(n.__className,n.__text,n.__key)}createDOM(n){const e=document.createElement("span"),a=super.createDOM(n);return e.className=this.__className,a.className="emoji-inner",e.appendChild(a),e}updateDOM(n,e,a){const r=e.firstChild;return r===null?!0:(super.updateDOM(n,r,a),!1)}static importJSON(n){const e=p1(n.className,n.text);return e.setFormat(n.format),e.setDetail(n.detail),e.setMode(n.mode),e.setStyle(n.style),e}exportJSON(){return{...super.exportJSON(),className:this.getClassName(),type:"emoji"}}getClassName(){return this.getLatest().__className}}function p1(l,t){const n=new hd(l,t).setMode("token");return Ar(n)}let Um=class extends Hs{constructor(t,n){super(n),this.__format=t||""}exportJSON(){return{format:this.__format||"",type:"decorator-block",version:1}}canIndent(){return!1}createDOM(){return document.createElement("div")}updateDOM(){return!1}setFormat(t){this.getWritable().__format=t}isInline(){return!1}};function Hm(l){return l instanceof Um}function h1({children:l,format:t,nodeKey:n,className:e}){const[a]=xn(),[r,o,s]=_c(n),c=he.useRef(null),i=he.useCallback(u=>{if(r&&fr(Tt())){u.preventDefault();const d=Bn(n);if(gr(d))return d.remove(),!0}return!1},[r,n]);return he.useEffect(()=>wr(a.registerCommand(yl,u=>{if(r){const d=Tt();if(fr(d)){const p=Bn(n);Hm(p)&&p.setFormat(u)}else if(Ct(d)){const p=d.getNodes();for(const f of p)Hm(f)?f.setFormat(u):ym(f).setFormat(u)}return!0}return!1},Yn),a.registerCommand(ya,u=>u.target===c.current&&(u.preventDefault(),u.shiftKey||s(),o(!r),!0),Yn),a.registerCommand(Xi,i,Yn),a.registerCommand(Zi,i,Yn)),[s,a,r,n,i,o]),ue.jsx("div",{className:[e.base,r?e.focus:null].filter(Boolean).join(" "),ref:c,style:{textAlign:t||void 0},children:l})}function aT({className:l,format:t,nodeKey:n,documentID:e}){return ue.jsx(h1,{className:l,format:t,nodeKey:n,children:ue.jsx("iframe",{width:"560",height:"315",src:`https://www.figma.com/embed?embed_host=lexical&url= https://www.figma.com/file/${e}`,allowFullScreen:!0})})}class xp extends Um{constructor(n,e,a){super(e,a);Un(this,"__id");this.__id=n}static getType(){return"figma"}static clone(n){return new xp(n.__id,n.__format,n.__key)}static importJSON(n){const e=lT(n.documentID);return e.setFormat(n.format),e}exportJSON(){return{...super.exportJSON(),documentID:this.__id,type:"figma",version:1}}updateDOM(){return!1}getId(){return this.__id}getTextContent(n,e){return`https://www.figma.com/file/${this.__id}`}decorate(n,e){const a=e.theme.embedBlock||{},r={base:a.base||"",focus:a.focus||""};return ue.jsx(aT,{className:r,format:this.__format,nodeKey:this.getKey(),documentID:this.__id})}}function lT(l){return new xp(l)}const cT=sr.lazy(()=>Promise.resolve().then(()=>vD));function uT(l){const t=l;if(t.src.startsWith("file:///"))return null;const{alt:n,src:e,width:a,height:r}=t;return{node:xc({altText:n,height:r,src:e,width:a})}}let Sp=class $j extends Hs{constructor(n,e,a,r,o,s,c,i,u){super(u);Un(this,"__src");Un(this,"__altText");Un(this,"__width");Un(this,"__height");Un(this,"__maxWidth");Un(this,"__showCaption");Un(this,"__caption");Un(this,"__captionsEnabled");this.__src=n,this.__altText=e,this.__maxWidth=a,this.__width=r||"inherit",this.__height=o||"inherit",this.__showCaption=s||!1,this.__caption=c||np(),this.__captionsEnabled=i||i===void 0}static getType(){return"image"}static clone(n){return new $j(n.__src,n.__altText,n.__maxWidth,n.__width,n.__height,n.__showCaption,n.__caption,n.__captionsEnabled,n.__key)}static importJSON(n){const{altText:e,height:a,width:r,maxWidth:o,caption:s,src:c,showCaption:i}=n,u=xc({altText:e,height:a,maxWidth:o,showCaption:i,src:c,width:r}),d=u.__caption,p=d.parseEditorState(s.editorState);return p&&!p.isEmpty()&&d.setEditorState(p),u}exportDOM(){const n=document.createElement("img");return n.setAttribute("src",this.__src),n.setAttribute("alt",this.__altText),n.setAttribute("width",this.__width.toString()),n.setAttribute("height",this.__height.toString()),{element:n}}static importDOM(){return{img:n=>({conversion:uT,priority:0})}}exportJSON(){return{altText:this.getAltText(),caption:this.__caption.toJSON(),height:this.__height==="inherit"?0:this.__height,maxWidth:this.__maxWidth,showCaption:this.__showCaption,src:this.getSrc(),type:"image",version:1,width:this.__width==="inherit"?0:this.__width}}setWidthAndHeight(n,e){const a=this.getWritable();a.__width=n,a.__height=e}setShowCaption(n){const e=this.getWritable();e.__showCaption=n}createDOM(n){const e=document.createElement("span"),r=n.theme.image;return r!==void 0&&(e.className=r),e}updateDOM(){return!1}getSrc(){return this.__src}setSrc(n){const e=this.getWritable();e.__src=n}getAltText(){return this.__altText}decorate(){return ue.jsx(he.Suspense,{fallback:null,children:ue.jsx(cT,{src:this.__src,altText:this.__altText,width:this.__width,height:this.__height,maxWidth:this.__maxWidth,nodeKey:this.getKey(),showCaption:this.__showCaption,caption:this.__caption,captionsEnabled:this.__captionsEnabled,resizable:!0})})}};function xc({altText:l,height:t,maxWidth:n,captionsEnabled:e,src:a,width:r,showCaption:o,caption:s,key:c}){return Ar(new Sp(a,l,n,r,t,o,s,e,c))}function Ma(l){return l instanceof Sp}const dT=sr.lazy(()=>Promise.resolve().then(()=>ND));function fT(l){if(l instanceof HTMLImageElement){const{alt:t,src:n,width:e,height:a}=l;return{node:g1({altText:t,height:a,src:n,width:e})}}return null}let $m=class qj extends Hs{constructor(n,e,a,r,o,s,c,i){super(i);Un(this,"__src");Un(this,"__altText");Un(this,"__width");Un(this,"__height");Un(this,"__showCaption");Un(this,"__caption");Un(this,"__position");this.__src=n,this.__altText=e,this.__width=r||"inherit",this.__height=o||"inherit",this.__showCaption=s||!1,this.__caption=c||np(),this.__position=a}static getType(){return"inline-image"}static clone(n){return new qj(n.__src,n.__altText,n.__position,n.__width,n.__height,n.__showCaption,n.__caption,n.__key)}static importJSON(n){const{altText:e,height:a,width:r,caption:o,src:s,showCaption:c,position:i}=n,u=g1({altText:e,height:a,position:i,showCaption:c,src:s,width:r}),d=u.__caption,p=d.parseEditorState(o.editorState);return p.isEmpty()||d.setEditorState(p),u}static importDOM(){return{img:n=>({conversion:fT,priority:0})}}exportDOM(){const n=document.createElement("img");return n.setAttribute("src",this.__src),n.setAttribute("alt",this.__altText),n.setAttribute("width",this.__width.toString()),n.setAttribute("height",this.__height.toString()),{element:n}}exportJSON(){return{altText:this.getAltText(),caption:this.__caption.toJSON(),height:this.__height==="inherit"?0:this.__height,position:this.__position,showCaption:this.__showCaption,src:this.getSrc(),type:"inline-image",version:1,width:this.__width==="inherit"?0:this.__width}}getSrc(){return this.__src}getAltText(){return this.__altText}setAltText(n){const e=this.getWritable();e.__altText=n}setWidthAndHeight(n,e){const a=this.getWritable();a.__width=n,a.__height=e}getShowCaption(){return this.__showCaption}setShowCaption(n){const e=this.getWritable();e.__showCaption=n}getPosition(){return this.__position}setPosition(n){const e=this.getWritable();e.__position=n}update(n){const e=this.getWritable(),{altText:a,showCaption:r,position:o}=n;a!==void 0&&(e.__altText=a),r!==void 0&&(e.__showCaption=r),o!==void 0&&(e.__position=o)}createDOM(n){const e=document.createElement("span"),a=`${n.theme.inlineImage} position-${this.__position}`;return a!==void 0&&(e.className=a),e}updateDOM(n,e,a){const r=this.__position;if(r!==n.__position){const o=`${a.theme.inlineImage} position-${r}`;o!==void 0&&(e.className=o)}return!1}decorate(){return ue.jsx(he.Suspense,{fallback:null,children:ue.jsx(dT,{src:this.__src,altText:this.__altText,width:this.__width,height:this.__height,nodeKey:this.getKey(),showCaption:this.__showCaption,caption:this.__caption,position:this.__position})})}};function g1({altText:l,position:t,height:n,src:e,width:a,showCaption:r,caption:o,key:s}){return Ar(new $m(e,l,t,a,n,r,o,s))}function pT(l){return l instanceof $m}class Sc extends no{static getType(){return"keyword"}static clone(t){return new Sc(t.__text,t.__key)}static importJSON(t){const n=m1(t.text);return n.setFormat(t.format),n.setDetail(t.detail),n.setMode(t.mode),n.setStyle(t.style),n}exportJSON(){return{...super.exportJSON(),type:"keyword",version:1}}createDOM(t){const n=super.createDOM(t);return n.style.cursor="default",n.className="keyword",n}canInsertTextBefore(){return!1}canInsertTextAfter(){return!1}isTextEntity(){return!0}}function m1(l){return new Sc(l)}function hT(l){const n=window.getComputedStyle(l).getPropertyValue("grid-template-columns");return n?{node:y1(n)}:null}class Ep extends Br{constructor(n,e){super(e);Un(this,"__templateColumns");this.__templateColumns=n}static getType(){return"layout-container"}static clone(n){return new Ep(n.__templateColumns,n.__key)}createDOM(n){const e=document.createElement("div");return e.style.gridTemplateColumns=this.__templateColumns,typeof n.theme.layoutContainer=="string"&&zr(e,n.theme.layoutContainer),e}exportDOM(){const n=document.createElement("div");return n.style.gridTemplateColumns=this.__templateColumns,n.setAttribute("data-lexical-layout-container","true"),{element:n}}updateDOM(n,e){return n.__templateColumns!==this.__templateColumns&&(e.style.gridTemplateColumns=this.__templateColumns),!1}static importDOM(){return{div:n=>n.hasAttribute("data-lexical-layout-container")?{conversion:hT,priority:2}:null}}static importJSON(n){return y1(n.templateColumns)}isShadowRoot(){return!0}canBeEmpty(){return!1}exportJSON(){return{...super.exportJSON(),templateColumns:this.__templateColumns,type:"layout-container",version:1}}getTemplateColumns(){return this.getLatest().__templateColumns}setTemplateColumns(n){this.getWritable().__templateColumns=n}}function y1(l){return new Ep(l)}class Cp extends Br{static getType(){return"layout-item"}static clone(t){return new Cp(t.__key)}createDOM(t){const n=document.createElement("div");return typeof t.theme.layoutItem=="string"&&zr(n,t.theme.layoutItem),n}updateDOM(){return!1}static importDOM(){return{}}static importJSON(){return gT()}isShadowRoot(){return!0}exportJSON(){return{...super.exportJSON(),type:"layout-item",version:1}}}function gT(){return new Cp}function mT(l){const t=l.textContent;return t!==null?{node:qm(t)}:null}const yT="background-color: rgba(24, 119, 232, 0.2)";class gd extends no{constructor(n,e,a){super(e??n,a);Un(this,"__mention");this.__mention=n}static getType(){return"mention"}static clone(n){return new gd(n.__mention,n.__text,n.__key)}static importJSON(n){const e=qm(n.mentionName);return e.setTextContent(n.text),e.setFormat(n.format),e.setDetail(n.detail),e.setMode(n.mode),e.setStyle(n.style),e}exportJSON(){return{...super.exportJSON(),mentionName:this.__mention,type:"mention",version:1}}createDOM(n){const e=super.createDOM(n);return e.style.cssText=yT,e.className="mention",e}exportDOM(){const n=document.createElement("span");return n.setAttribute("data-lexical-mention","true"),n.textContent=this.__text,{element:n}}static importDOM(){return{span:n=>n.hasAttribute("data-lexical-mention")?{conversion:mT,priority:1}:null}}isTextEntity(){return!0}canInsertTextBefore(){return!1}canInsertTextAfter(){return!1}}function qm(l){const t=new gd(l);return t.setMode("segmented").toggleDirectionless(),Ar(t)}const oR="";function vT({nodeKey:l}){const[t]=xn(),[n,e,a]=_c(l),r=he.useCallback(o=>{if(o.preventDefault(),n&&fr(Tt())){const s=Bn(l);if(bT(s))return s.remove(),!0}return!1},[n,l]);return he.useEffect(()=>wr(t.registerCommand(ya,o=>{const s=t.getElementByKey(l);return o.target===s?(o.shiftKey||a(),e(!n),!0):!1},Yn),t.registerCommand(Xi,r,Yn),t.registerCommand(Zi,r,Yn)),[a,t,n,l,r,e]),he.useEffect(()=>{const o=t.getElementByKey(l);o!==null&&(o.className=n?"selected":"")},[t,n,l]),null}class md extends Hs{static getType(){return"page-break"}static clone(t){return new md(t.__key)}static importJSON(t){return v1()}static importDOM(){return{figure:t=>t.getAttribute("type")!==this.getType()?null:{conversion:_T,priority:rs}}}exportJSON(){return{type:this.getType(),version:1}}createDOM(){const t=document.createElement("figure");return t.style.pageBreakAfter="always",t.setAttribute("type",this.getType()),t}getTextContent(){return`
|
|
52
52
|
`}isInline(){return!1}updateDOM(){return!1}decorate(){return ue.jsx(vT,{nodeKey:this.__key})}}function _T(){return{node:v1()}}function v1(){return new md}function bT(l){return l instanceof md}const wT=sr.lazy(()=>Promise.resolve().then(()=>MD));function xT(){return Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,5)}function ST(l=""){return{text:l,uid:xT(),votes:[]}}function _1(l,t,n){return{text:t,uid:l.uid,votes:n||Array.from(l.votes)}}function ET(l){const t=l.getAttribute("data-lexical-poll-question"),n=l.getAttribute("data-lexical-poll-options");return t!==null&&n!==null?{node:b1(t,JSON.parse(n))}:null}let Wm=class Wj extends Hs{constructor(n,e,a){super(a);Un(this,"__question");Un(this,"__options");this.__question=n,this.__options=e}static getType(){return"poll"}static clone(n){return new Wj(n.__question,n.__options,n.__key)}static importJSON(n){const e=b1(n.question,n.options);return n.options.forEach(e.addOption),e}exportJSON(){return{options:this.__options,question:this.__question,type:"poll",version:1}}addOption(n){const e=this.getWritable(),a=Array.from(e.__options);a.push(n),e.__options=a}deleteOption(n){const e=this.getWritable(),a=Array.from(e.__options),r=a.indexOf(n);a.splice(r,1),e.__options=a}setOptionText(n,e){const a=this.getWritable(),r=_1(n,e),o=Array.from(a.__options),s=o.indexOf(n);o[s]=r,a.__options=o}toggleVote(n,e){const a=this.getWritable(),r=n.votes,o=Array.from(r),s=r.indexOf(e);s===-1?o.push(e):o.splice(s,1);const c=_1(n,n.text,o),i=Array.from(a.__options),u=i.indexOf(n);i[u]=c,a.__options=i}static importDOM(){return{span:n=>n.hasAttribute("data-lexical-poll-question")?{conversion:ET,priority:2}:null}}exportDOM(){const n=document.createElement("span");return n.setAttribute("data-lexical-poll-question",this.__question),n.setAttribute("data-lexical-poll-options",JSON.stringify(this.__options)),{element:n}}createDOM(){const n=document.createElement("span");return n.style.display="inline-block",n}updateDOM(){return!1}decorate(){return ue.jsx(he.Suspense,{fallback:null,children:ue.jsx(wT,{question:this.__question,options:this.__options,nodeKey:this.__key})})}};function b1(l,t){return new Wm(l,t)}function w1(l){return l instanceof Wm}const CT="https://platform.twitter.com/widgets.js";function jT(l){const t=l.getAttribute("data-lexical-tweet-id");return t?{node:S1(t)}:null}let x1=!0;function kT({className:l,format:t,loadingComponent:n,nodeKey:e,onError:a,onLoad:r,tweetID:o}){const s=he.useRef(null),c=he.useRef(""),[i,u]=he.useState(!1),d=he.useCallback(async()=>{try{await window.twttr.widgets.createTweet(o,s.current),u(!1),x1=!1,r&&r()}catch(p){a&&a(String(p))}},[a,r,o]);return he.useEffect(()=>{var p;if(o!==c.current){if(u(!0),x1){const f=document.createElement("script");f.src=CT,f.async=!0,(p=document.body)==null||p.appendChild(f),f.onload=d,a&&(f.onerror=a)}else d();c&&(c.current=o)}},[d,a,o]),ue.jsxs(h1,{className:l,format:t,nodeKey:e,children:[i?n:null,ue.jsx("div",{style:{display:"inline-block",width:"550px"},ref:s})]})}class jp extends Um{constructor(n,e,a){super(e,a);Un(this,"__id");this.__id=n}static getType(){return"tweet"}static clone(n){return new jp(n.__id,n.__format,n.__key)}static importJSON(n){const e=S1(n.id);return e.setFormat(n.format),e}exportJSON(){return{...super.exportJSON(),id:this.getId(),type:"tweet",version:1}}static importDOM(){return{div:n=>n.hasAttribute("data-lexical-tweet-id")?{conversion:jT,priority:2}:null}}exportDOM(){const n=document.createElement("div");n.setAttribute("data-lexical-tweet-id",this.__id);const e=document.createTextNode(this.getTextContent());return n.append(e),{element:n}}getId(){return this.__id}getTextContent(n,e){return`https://x.com/i/web/status/${this.__id}`}decorate(n,e){const a=e.theme.embedBlock||{},r={base:a.base||"",focus:a.focus||""};return ue.jsx(kT,{className:r,format:this.__format,loadingComponent:"Loading...",nodeKey:this.getKey(),tweetID:this.__id})}}function S1(l){return new jp(l)}class yd extends Hs{constructor(n,e,a){console.log("referencedText",e);super(a);Un(this,"__referencedElementId");Un(this,"__text");this.__referencedElementId=n,this.__text=e}static getType(){return"reference"}static clone(n){return new yd(n.__referencedElementId,n.__text,n.__key)}createDOM(n){const e=document.createElement("span");e.style.cursor="pointer",e.style.background="#f8f6e2",e.style.fontSize="17px",e.setAttribute("data-node-type","reference"),e.setAttribute("data-ref-id",this.__referencedElementId),e.setAttribute("data-lexical-node-key",this.__key),e.setAttribute("id",this.__referencedElementId),e.setAttribute("data-cross-ref","true"),e.textContent=this.__text,e.addEventListener("click",r=>{r.preventDefault(),r.stopPropagation(),requestAnimationFrame(()=>{const o=document.querySelector(`[data-ref-id="ref-${this.__referencedElementId}"]`);o?(o.scrollIntoView({behavior:"smooth",block:"center"}),o.classList.add("reference-highlight"),setTimeout(()=>{o.classList.remove("reference-highlight")},1e3),setTimeout(()=>{if(o instanceof HTMLInputElement||o instanceof HTMLTextAreaElement)o.focus(),o.setSelectionRange(o.value.length,o.value.length);else if(o.isContentEditable){o.focus();const s=document.createRange(),c=window.getSelection();s.selectNodeContents(o),s.collapse(!1),c==null||c.removeAllRanges(),c==null||c.addRange(s)}else o.setAttribute("tabindex","-1"),o.focus()},500)):console.warn(`Referenced element with data-ref-id="ref-${this.__referencedElementId}" not found.`)})});const a=document.querySelector(`[data-ref-id="ref-${this.__referencedElementId}"]`);return a&&new MutationObserver(()=>{const o=a.textContent;document.querySelectorAll(`[data-cross-ref][id="${this.__referencedElementId}"]`).forEach(c=>{c.textContent!==o&&(c.textContent=o||"")})}).observe(a,{childList:!0,characterData:!0,subtree:!0}),e}updateDOM(n,e,a){const r=document.querySelector(`[data-ref-id="ref-${this.__referencedElementId}"]`);if(console.log("first",this.__text,r),r){const o=r.textContent;console.log("newText",o),e.textContent!==this.__text&&(e.textContent=this.__text||"")}return!1}decorate(n,e){return ue.jsx(ue.Fragment,{})}static importJSON(n){return E1(n.id,n.text)}exportJSON(){return{type:"reference",id:this.__referencedElementId,text:this.__text,version:1}}static importDOM(){return{span:n=>n.hasAttribute("data-cross-ref")?{conversion:e=>{const a=e.getAttribute("id")||"",r=e.textContent||"";return{node:new yd(a,r)}},priority:2}:null}}toCodoxNode(){const n=this.exportJSON(),e={type:"text",text:n.text,format:n.format,mode:n.mode,detail:n.detail,version:n.version,style:"cursor: pointer; background: #f8f6e2; font-size: 17px;",codox_metadata:{type:n.type,referencedElementId:n.id}};return console.log("[DEMO DEBUG][ReferenceNode][toCodoxNode]:",{convertedNode:e,originalJsonNode:n}),e}static fromCodoxNode(n){return{type:n.codox_metadata.type,version:n.version,text:n.text,id:n.codox_metadata.referencedElementId}}}function E1(l,t){return new yd(l,t)}class Ol extends no{static getType(){return"dividerText"}static clone(t){return new Ol(t.__text,t.__key)}constructor(t="_______________________________",n){super(t,n)}createDOM(t){const n=super.createDOM(t);return n.dataset.divider="true",n.contentEditable="false",n}updateDOM(t,n,e){return n.dataset.divider="true",super.updateDOM(t,n,e)}exportJSON(){return{...super.exportJSON(),type:"dividerText",id:void 0,version:0,detail:0,format:0,mode:"normal",style:"",text:""}}static importJSON(t){return new Ol(t.text)}exportDOM(){const t=document.createElement("span");return t.textContent=this.__text,t.dataset.divider="true",{element:t}}static importDOM(){return{span:t=>t.dataset.divider==="true"||t.textContent==="_______________________________"?{conversion:()=>({node:new Ol}),priority:2}:null}}toCodoxNode(){const t=this.exportJSON(),n={type:"quote",text:"_______________________________",format:t.format,style:`color:${t.color||""};background-color:${t.backgroundColor||""};`,detail:t.detail,version:t.version,codox_metadata:{type:t.type,id:t.id}};return console.log("[DEMO DEBUG][WarningNode][toCodoxNode]: ",{convertedNode:n,originalJsonNode:t}),n}static fromCodoxNode(t){let n="",e="";const a={type:t.codox_metadata.type,text:t.text,format:t.format,mode:t.mode,detail:t.detail,version:t.version,style:"",id:t.codox_metadata.id,color:n,backgroundColor:e};return console.log("[DEMO DEBUG][WarningNode][fromCodoxNode]: ",{codoxNode:t,originalJsonNode:a}),a}}function C1(){return new Ol}function Jm(l){return l instanceof Ol}const j1=fo();function Vm(l){const t={m:1e3,cm:900,d:500,cd:400,c:100,xc:90,l:50,xl:40,x:10,ix:9,v:5,iv:4,i:1};let n="";for(let e in t)for(;l>=t[e];)n+=e,l-=t[e];return n}function k1(){const[l]=xn(),t=(a,r)=>{r(a),kt(a)&&a.getChildren().forEach(o=>t(o,r))},n=()=>{l.update(()=>{const a=zn(),r=[];t(a,s=>{Km(s)&&r.push(s)});let o=!1;for(let s=0;s<r.length;s++)if(r[s].getNumber()!==s+1){o=!0;break}o&&r.forEach((s,c)=>{const i=c+1;s.setNumber(i);const u=s.getContentKey(),d=Bn(u);if(Dr(d)){const p=d.getFirstChild();if(Wt(p)){const f=p.getTextContent(),h=f.replace(/^\[[^\]]*\]/,`[${Vm(i)}]`);h!==f&&p.setTextContent(h)}}})})},e=()=>{l.update(()=>{var _;const a=zn(),r=Tt(),o=OT(0);r&&r.insertNodes([o]);const s=Cn(),c=er("[?] ");s.append(c),a.append(s),o.setContentKey(s.getKey());const i=[];t(a,v=>{Km(v)&&i.push(v)});const d=i.map(v=>v.getContentKey()).map(v=>Bn(v)).filter(v=>v!==null);d==null||d.forEach(v=>{v&&a.append(v)});let p=!1;if(a.getChildren().forEach(v=>{if(Dr(v)){const w=v.getFirstChild();if((w&&Jm(w)||w&&Wt(w)&&w.getTextContent().includes("_______________________________"))&&(p=!0,!Jm(w)&&w.getTextContent().includes("_______________________________"))){const S=C1();w.replace(S)}}}),!p&&(d==null?void 0:d.length)>0){const v=Cn();v.append(C1()),(_=d[0])==null||_.insertBefore(v)}const f=[];if(a.getChildren().forEach(v=>{if(Dr(v)){const w=v.getFirstChild();(w&&Jm(w)||w&&Wt(w)&&w.getTextContent().includes("_______________________________"))&&f.push(v)}}),f.length>1)for(let v=1;v<f.length;v++)f[v].remove();const h=[];t(a,v=>{Km(v)&&h.push(v)}),h.forEach((v,w)=>{const S=w+1;v.setNumber(S);const E=v.getContentKey(),b=Bn(E);if(Dr(b)){const y=b.getFirstChild();if(Wt(y)){const x=y.getTextContent(),C=x.replace(/^\[[^\]]*\]/,`[${Vm(S)}]`);C!==x&&y.setTextContent(C)}}});const m=c.getTextContentSize(),g=fc();g.anchor.set(c.getKey(),m,"text"),g.focus.set(c.getKey(),m,"text"),jr(g),setTimeout(()=>{const v=l.getElementByKey(s.getKey());v&&v.scrollIntoView({behavior:"smooth",block:"end"})},100)})};return he.useEffect(()=>{const a=l.registerCommand(j1,()=>(e(),!0),0);return l.update(()=>{setTimeout(n,100)}),a},[l]),null}class Nl extends no{constructor(n,e,a,r){super(a||`[${n}]`,r);Un(this,"__number");Un(this,"__contentKey");this.__number=n,this.__contentKey=e}static getType(){return"endnote"}static clone(n){return new Nl(n.__number,n.__contentKey,n.__text,n.__key)}static importJSON(n){return new Nl(n.number,n.contentKey,n.text,n.key)}exportJSON(){return{...super.exportJSON(),number:this.__number,contentKey:this.__contentKey,type:"endnote",version:1,id:""}}setNumber(n){const e=this.getWritable();e.__number=n,this.setTextContent(`[${Vm(n)}]`)}setContentKey(n){const e=this.getWritable();e.__contentKey=n}getContentKey(){return this.__contentKey}createDOM(n){const e=super.createDOM(n);return e.style.cssText="cursor: pointer; vertical-align: super; font-size: 0.8em;",e.dataset.endnote="true",e}exportDOM(){const n=document.createElement("span");return n.dataset.lexicalEndnote="true",n.textContent=this.__text,{element:n}}static importDOM(){return{span:n=>n.dataset.lexicalEndnote==="true"?{conversion:TT,priority:1}:null}}getNumber(){return this.__number}canInsertTextBefore(){return!1}canInsertTextAfter(){return!1}toCodoxNode(){const n=this.exportJSON(),e={type:"quote",text:n.text,format:n.format,mode:n.mode,detail:n.detail,version:n.version,codox_metadata:{type:n.type,id:n.id}};return console.log("[DEMO DEBUG][WarningNode][toCodoxNode]: ",{convertedNode:e,originalJsonNode:n}),e}static fromCodoxNode(n){let e="",a="";const r={type:n.codox_metadata.type,text:n.text,format:n.format,mode:n.mode,detail:n.detail,version:n.version,style:"",id:n.codox_metadata.id,color:e,backgroundColor:a};return console.log("[DEMO DEBUG][WarningNode][fromCodoxNode]: ",{codoxNode:n,originalJsonNode:r}),r}}function TT(l){var e;const t=(e=l.textContent)==null?void 0:e.match(/\[(\d+)\]/),n=t?parseInt(t[1],10):1;return{node:new Nl(n)}}function OT(l,t){return new Nl(l,t||"")}function Km(l){return l instanceof Nl}class Li extends no{constructor(n,e,a,r){super(n,r);Un(this,"__color");Un(this,"__id");this.__color=e,this.__id=a}static getType(){return"colored"}getId(){return this.__id}static clone(n){return new Li(n.__text,n.__color,n.__id,n.__key)}createDOM(n){const e=super.createDOM(n);return e.style.color=this.__color,e.setAttribute("id",this.__id),e.setAttribute("data-ref-id",`ref-${this.__id}`),e}updateDOM(n,e,a){const r=super.updateDOM(n,e,a);return n.__color!==this.__color&&(e.style.color=this.__color),n.__id!==this.__id&&(e.setAttribute("id",this.__id),e.setAttribute("data-ref-id",`ref-${this.__id}`)),r}exportJSON(){return{...super.exportJSON(),type:"colored",color:this.__color,id:this.__id}}static importJSON(n){return new Li(n.text,n.color,n.id)}toCodoxNode(){const n=this.exportJSON(),e={type:"text",text:n.text,format:n.format,mode:n.mode,detail:n.detail,version:n.version,style:`color:${n.color};`,codox_metadata:{type:n.type,id:n.id}};return console.log("[DEMO DEBUG][ColoredNode][toCodoxNode]:",{convertedNode:e,originalJsonNode:n}),e}static fromCodoxNode(n){let e="";n.style.split(";").forEach(r=>{r.startsWith("color:")&&(e=r.split(":")[1])});const a={type:n.codox_metadata.type,text:n.text,format:n.format,mode:n.mode,detail:n.detail,version:n.version,style:"",id:n.codox_metadata.id,color:e};return console.log("[DEMO DEBUG][ColoredNode][fromCodoxNode]:",{codoxNode:n,originalJsonNode:a}),a}}const T1=[];class Ws extends Br{constructor(n=T1,e){super(e);Un(this,"__ids");this.__ids=n}static getType(){return"mark"}static clone(n){return new Ws(n.__ids,n.__key)}static importDOM(){return{mark:n=>({conversion:e=>{var r;const a=((r=e.getAttribute("data-ids"))==null?void 0:r.split(","))||[];return{node:new Ws(a)}},priority:1})}}static importJSON(n){return new Ws(n.ids)}exportJSON(){return{...super.exportJSON(),ids:Array.from(this.__ids),type:this.__type}}createDOM(n){const e=document.createElement("mark");return zr(e,n.theme.mark),this.__ids.length>0&&e.setAttribute("data-ids",this.__ids.join(",")),e}updateDOM(n,e,a){const r=n.__ids,o=this.__ids;return r.join(",")!==o.join(",")&&e.setAttribute("data-ids",o.join(",")),!1}exportDOM(){const n=document.createElement("mark");return this.__ids.length>0&&n.setAttribute("data-ids",this.__ids.join(",")),{element:n}}hasID(n){return this.__ids.includes(n)}getIDs(){return Array.from(this.__ids)}setIDs(n){return this.__ids=n,this}addID(n){return this.__ids.includes(n)||(this.__ids=[...this.__ids,n]),this}deleteID(n){const e=this.__ids.indexOf(n);e>-1&&this.__ids.splice(e,1)}insertNewAfter(n,e=!0){const a=Gm(this.__ids);return this.insertAfter(a,e),a}canInsertTextBefore(){return!1}canInsertTextAfter(){return!1}canBeEmpty(){return!1}isInline(){return!0}}function Gm(l=T1){return Ar(new Ws(l))}function Ec(l){return l instanceof Ws}function NT(l){const t=l.getChildren();let n=null;for(let e=0;e<t.length;e++){const a=t[e];n===null?l.insertBefore(a):n.insertAfter(a),n=a}l.remove()}function AT(l,t,n,e){const a=fc(),[r,o]=l.isBackward()?[l.focus,l.anchor]:[l.anchor,l.focus];a.anchor.set(r.key,r.offset,r.type),a.focus.set(o.key,o.offset,o.type);let s,c;const i=a.extract();for(const u of i){if(kt(c)&&c.isParentOf(u))continue;let d=null;if(Wt(u))d=u;else{if(Ec(u))continue;(kt(u)||gr(u))&&u.isInline()&&(d=u)}if(d!==null){if(d&&d.is(s))continue;const p=d.getParent();(p==null||!p.is(s))&&(c=void 0),s=p,c===void 0&&(c=(e||Gm)([n]),d.insertBefore(c)),c.append(d)}else s=void 0,c=void 0}kt(c)&&(t?c.selectStart():c.selectEnd())}function PT(l,t){let n=l;for(;n!==null;){if(Ec(n))return n.getIDs();if(Wt(n)&&t===n.getTextContentSize()){const e=n.getNextSibling();if(Ec(e))return e.getIDs()}n=n.getParent()}return null}const O1=[Ws,gp,ld,ad,hp,wm,xs,is,jl,dp,Em,sd,yc,$b,Wm,Sp,$m,gd,hd,Sc,Pm,jp,xp,fd,pd,wp,md,Ep,Cp,yd,Nl,Li,Na,Ol],iR="";function Ym(...l){return l.filter(Boolean).join(" ")}function Fi({"data-test-id":l,children:t,className:n,onClick:e,disabled:a,small:r,title:o}){return ue.jsx("button",{disabled:a,className:Ym("Button__root",a&&"Button__disabled",r&&"Button__small",n),onClick:e,title:o,"aria-label":o,...l&&{"data-test-id":l},children:t})}const sR="";function kp({"data-test-id":l,children:t}){return ue.jsx("div",{className:"DialogActions","data-test-id":l,children:t})}const aR="";function Cc({label:l,value:t,onChange:n,placeholder:e="","data-test-id":a,type:r="text"}){return ue.jsxs("div",{className:"Input__wrapper",children:[ue.jsx("label",{className:"Input__label",children:l}),ue.jsx("input",{type:r,className:"Input__input",placeholder:e,value:t,onChange:o=>{n(o.target.value)},"data-test-id":a})]})}const IT=he.createContext({cellEditorConfig:null,cellEditorPlugins:null,set:()=>{}});function N1({children:l}){const[t,n]=he.useState({cellEditorConfig:null,cellEditorPlugins:null});return ue.jsx(IT.Provider,{value:he.useMemo(()=>({cellEditorConfig:t.cellEditorConfig,cellEditorPlugins:t.cellEditorPlugins,set:(e,a)=>{n({cellEditorConfig:e,cellEditorPlugins:a})}}),[t.cellEditorConfig,t.cellEditorPlugins]),children:l})}const Zm=(l,t)=>{let n=5381;const e=String(t);for(let a=0;a<e.length;a++)n=(n<<5)+n+e.charCodeAt(a);return`table-${t}-${Math.abs(n%1e6)}`};function MT({activeEditor:l,onClose:t,enableCaptions:n=!0}){const[e,a]=he.useState("5"),[r,o]=he.useState("5"),[s,c]=he.useState(""),[i,u]=he.useState(!0);he.useState(!0);let d=Number(localStorage.getItem("tableCount"))||1;he.useEffect(()=>{const h=Number(e),m=Number(r);h&&h>0&&h<=500&&m&&m>0&&m<=50?u(!1):u(!0)},[e,r]);const p=()=>{l.update(()=>{const m=zn().getChildren().filter(pr);if(m.length===0){console.warn("No tables found in the document!");return}const g=m.map(_=>{let v=s;const w=_.getPreviousSibling();if(w&&Dr(w)){const S=w.getChildren().filter(E=>E.getType()==="text");S.length>1&&(v=S[1].getTextContent())}return{caption:v,content:_.getChildren().map(S=>S.getChildren().map(E=>E.getTextContent()))}});localStorage.setItem("savedTableData",JSON.stringify(g))})},f=()=>{if(!e||!r)return;const h=d;l.update(()=>{if(n){const m=Cn();m.setFormat("left");const v=zn().getChildren().filter(pr).length,w=Zm(s||`Table ${h}`,v),S=new Li(`Table ${h}:`,"black",w);S.setStyle("font-weight: bold; margin-right: 8px;");const E=s.trim()===""?".":s,b=er(E);b.setStyle(s?"color: black; font-style: italic; font-weight: bold;":"color: gray; font-style: italic; font-weight: normal;"),m.getChildren().forEach(C=>C.remove());const y=_i();m.append(S),m.append(b),m.append(y),Ri([m]);const x=Im(Number(e),Number(r),!0);if(!x){console.error("Failed to create TableNode");return}x.__captionId=w,Ri([x])}else{const m=Im(Number(e),Number(r),!0);if(!m){console.error("Failed to create TableNode");return}Ri([m])}}),l.update(()=>{if(n){const g=zn().getChildren().filter(pr);let _=1;g.forEach(v=>{var C;const w=v.getPreviousSibling(),b=zn().getChildren().filter(pr).length,y=v.__captionId||Zm(`Table ${_}`,b),x=v.getNextSibling();if(x&&Dr(x)&&x.getChildren().forEach(T=>{T.getTextContent().startsWith("Table")&&T.remove()}),w&&Dr(w)){let T=null;if(w.getChildren().forEach(L=>{L.getTextContent().startsWith("Table")&&(T=L)}),T){const L=((C=T.getId)==null?void 0:C.call(T))||y;T.remove();const B=new Li(`Table ${_}:`,"black",L),D=w.getFirstChild();D!==null?D.insertBefore(B):w.append(B)}else if(n){const L=new Li(`Table ${_}:`,"black",y),B=w.getFirstChild();B!==null?B.insertBefore(L):w.append(L)}}else{const T=`Table ${_}:`,L=Cn();L.setFormat("left");const B=new Li(T,"black",y);B.setStyle("font-weight: bold; margin-right: 5px;");const D=s.trim()===""?"Caption text here":s,F=er(D);F.setStyle("color: black; font-style: italic; font-weight: normal;"),L.append(B),L.append(er(" ")),L.append(F),v.insertBefore(L)}_++})}}),d++,localStorage.setItem("tableCount",d.toString()),setTimeout(()=>{p()},50),t==null||t()};return ue.jsxs(ue.Fragment,{children:[ue.jsx(Cc,{placeholder:"# of rows (1-500)",label:"Rows",onChange:a,value:e,type:"number"}),ue.jsx(Cc,{placeholder:"# of columns (1-50)",label:"Columns",onChange:o,value:r,type:"number"}),n&&ue.jsx(Cc,{placeholder:"Enter table caption",label:"Table",value:s,onChange:c}),ue.jsx(kp,{children:ue.jsx(Fi,{disabled:i,onClick:f,children:"Confirm"})})]})}const lR="",Xm={blockCursor:"PlaygroundEditorTheme__blockCursor",characterLimit:"PlaygroundEditorTheme__characterLimit",code:"PlaygroundEditorTheme__code",codeHighlight:{atrule:"PlaygroundEditorTheme__tokenAttr",attr:"PlaygroundEditorTheme__tokenAttr",boolean:"PlaygroundEditorTheme__tokenProperty",builtin:"PlaygroundEditorTheme__tokenSelector",cdata:"PlaygroundEditorTheme__tokenComment",char:"PlaygroundEditorTheme__tokenSelector",class:"PlaygroundEditorTheme__tokenFunction","class-name":"PlaygroundEditorTheme__tokenFunction",comment:"PlaygroundEditorTheme__tokenComment",constant:"PlaygroundEditorTheme__tokenProperty",deleted:"PlaygroundEditorTheme__tokenProperty",doctype:"PlaygroundEditorTheme__tokenComment",entity:"PlaygroundEditorTheme__tokenOperator",function:"PlaygroundEditorTheme__tokenFunction",important:"PlaygroundEditorTheme__tokenVariable",inserted:"PlaygroundEditorTheme__tokenSelector",keyword:"PlaygroundEditorTheme__tokenAttr",namespace:"PlaygroundEditorTheme__tokenVariable",number:"PlaygroundEditorTheme__tokenProperty",operator:"PlaygroundEditorTheme__tokenOperator",prolog:"PlaygroundEditorTheme__tokenComment",property:"PlaygroundEditorTheme__tokenProperty",punctuation:"PlaygroundEditorTheme__tokenPunctuation",regex:"PlaygroundEditorTheme__tokenVariable",selector:"PlaygroundEditorTheme__tokenSelector",string:"PlaygroundEditorTheme__tokenSelector",symbol:"PlaygroundEditorTheme__tokenProperty",tag:"PlaygroundEditorTheme__tokenProperty",url:"PlaygroundEditorTheme__tokenOperator",variable:"PlaygroundEditorTheme__tokenVariable"},embedBlock:{base:"PlaygroundEditorTheme__embedBlock",focus:"PlaygroundEditorTheme__embedBlockFocus"},hashtag:"PlaygroundEditorTheme__hashtag",heading:{h1:"PlaygroundEditorTheme__h1",h2:"PlaygroundEditorTheme__h2",h3:"PlaygroundEditorTheme__h3",h4:"PlaygroundEditorTheme__h4",h5:"PlaygroundEditorTheme__h5",h6:"PlaygroundEditorTheme__h6"},image:"editor-image",indent:"PlaygroundEditorTheme__indent",inlineImage:"inline-editor-image",layoutContainer:"PlaygroundEditorTheme__layoutContainer",layoutItem:"PlaygroundEditorTheme__layoutItem",link:"PlaygroundEditorTheme__link",list:{checklist:"PlaygroundEditorTheme__checklist",listitem:"PlaygroundEditorTheme__listItem",listitemChecked:"PlaygroundEditorTheme__listItemChecked",listitemUnchecked:"PlaygroundEditorTheme__listItemUnchecked",nested:{listitem:"PlaygroundEditorTheme__nestedListItem"},olDepth:["PlaygroundEditorTheme__ol1","PlaygroundEditorTheme__ol2","PlaygroundEditorTheme__ol3","PlaygroundEditorTheme__ol4","PlaygroundEditorTheme__ol5"],ul:"PlaygroundEditorTheme__ul"},ltr:"PlaygroundEditorTheme__ltr",mark:"PlaygroundEditorTheme__mark",markOverlap:"PlaygroundEditorTheme__markOverlap",paragraph:"PlaygroundEditorTheme__paragraph",quote:"PlaygroundEditorTheme__quote",rtl:"PlaygroundEditorTheme__rtl",table:"PlaygroundEditorTheme__table",tableAddColumns:"PlaygroundEditorTheme__tableAddColumns",tableAddRows:"PlaygroundEditorTheme__tableAddRows",tableCell:"PlaygroundEditorTheme__tableCell",tableCellActionButton:"PlaygroundEditorTheme__tableCellActionButton",tableCellActionButtonContainer:"PlaygroundEditorTheme__tableCellActionButtonContainer",tableCellEditing:"PlaygroundEditorTheme__tableCellEditing",tableCellHeader:"PlaygroundEditorTheme__tableCellHeader",tableCellPrimarySelected:"PlaygroundEditorTheme__tableCellPrimarySelected",tableCellResizer:"PlaygroundEditorTheme__tableCellResizer",tableCellSelected:"PlaygroundEditorTheme__tableCellSelected",tableCellSortedIndicator:"PlaygroundEditorTheme__tableCellSortedIndicator",tableResizeRuler:"PlaygroundEditorTheme__tableCellResizeRuler",tableSelected:"PlaygroundEditorTheme__tableSelected",tableSelection:"PlaygroundEditorTheme__tableSelection",text:{bold:"PlaygroundEditorTheme__textBold",code:"PlaygroundEditorTheme__textCode",italic:"PlaygroundEditorTheme__textItalic",strikethrough:"PlaygroundEditorTheme__textStrikethrough",subscript:"PlaygroundEditorTheme__textSubscript",superscript:"PlaygroundEditorTheme__textSuperscript",underline:"PlaygroundEditorTheme__textUnderline",underlineStrikethrough:"PlaygroundEditorTheme__textUnderlineStrikethrough"}};function Tp({defaultSelection:l}){const[t]=xn();return he.useEffect(()=>{t.focus(()=>{const n=document.activeElement,e=t.getRootElement();e===null||n!==null&&e.contains(n)||e.focus({preventScroll:!0})},{defaultSelection:l})},[l,t]),null}function Qm(){return zn().getTextContent()}function ey(l,t=!0){if(l)return!1;let n=Qm();return t&&(n=n.trim()),n===""}function DT(l){if(!ey(l,!1))return!1;const t=zn().getChildren(),n=t.length;if(n>1)return!1;for(let e=0;e<n;e++){const a=t[e];if(gr(a))return!1;if(kt(a)){if(!Dr(a)||a.__indent!==0)return!1;const r=a.getChildren(),o=r.length;for(let s=0;s<o;s++){const c=r[e];if(!Wt(c))return!1}}}return!0}function A1(l){return()=>DT(l)}function RT(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var LT=RT(function(l){const t=new URLSearchParams;t.append("code",l);for(let n=1;n<arguments.length;n++)t.append("v",arguments[n]);throw Error(`Minified Lexical error #${l}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)});function FT(l,t,n,e){const a=o=>o instanceof n,r=o=>{const s=er(o.getTextContent());s.setFormat(o.getFormat()),o.replace(s)};return[l.registerNodeTransform(no,o=>{if(!o.isSimpleText())return;let s,c=o.getPreviousSibling(),i=o.getTextContent(),u=o;if(Wt(c)){const p=c.getTextContent(),f=t(p+i);if(a(c)){if(f===null||(h=>h.getLatest().__mode)(c)!==0)return void r(c);{const h=f.end-p.length;if(h>0){const m=p+i.slice(0,h);if(c.select(),c.setTextContent(m),h===i.length)o.remove();else{const g=i.slice(h);o.setTextContent(g)}return}}}else if(f===null||f.start<p.length)return}let d=0;for(;;){s=t(i);let p,f=s===null?"":i.slice(s.end);if(i=f,f===""){const m=u.getNextSibling();if(Wt(m)){f=u.getTextContent()+m.getTextContent();const g=t(f);if(g===null)return void(a(m)?r(m):m.markDirty());if(g.start!==0)return}}if(s===null)return;if(s.start===0&&Wt(c)&&c.isTextEntity()){d+=s.end;continue}s.start===0?[p,u]=u.splitText(s.end):[,p,u]=u.splitText(s.start+d,s.end+d),p===void 0&<(165,"nodeToReplace");const h=e(p);if(h.setFormat(p.getFormat()),p.replace(h),u==null)return;d=0,c=h}}),l.registerNodeTransform(n,o=>{const s=o.getTextContent(),c=t(s);if(c===null||c.start!==0)return void r(o);if(s.length>c.end)return void o.splitText(c.end);const i=o.getPreviousSibling();Wt(i)&&i.isTextEntity()&&(r(i),r(o));const u=o.getNextSibling();Wt(u)&&u.isTextEntity()&&(r(u),a(o)&&r(o))})]}function P1(l,t,n){const[e]=xn();he.useEffect(()=>wr(...FT(e,l,t,n)),[n,e,l,t])}const BT=new RegExp(function(){const{alpha:l,alphanumeric:t,hashChars:n}=function(){const a=String.fromCharCode,r="A-Za-zªµºÀ-ÖØ-öø-Ɂɐ-ˁˆ-ˑˠ-ˤˮͺΆΈ-ΊΌΎ-ΡΣ-ώϐ-ϵϷ-ҁҊ-ӎӐ-ӹԀ-ԏԱ-Ֆՙա-ևא-תװ-ײء-غـ-يٮ-ٯٱ-ۓەۥ-ۦۮ-ۯۺ-ۼۿܐܒ-ܯݍ-ݭހ-ޥޱऄ-हऽॐक़-ॡॽঅ-ঌএ-ঐও-নপ-রলশ-হঽৎড়-ঢ়য়-ৡৰ-ৱਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽૐૠ-ૡଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽଡ଼-ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹఅ-ఌఎ-ఐఒ-నప-ళవ-హౠ-ౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠ-ೡഅ-ഌഎ-ഐഒ-നപ-ഹൠ-ൡඅ-ඖක-නඳ-රලව-ෆก-ะา-ำเ-ๆກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆໜ-ໝༀཀ-ཇཉ-ཪྈ-ྋက-အဣ-ဧဩ-ဪၐ-ၕႠ-Ⴥა-ჺჼᄀ-ᅙᅟ-ᆢᆨ-ᇹሀ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙶᚁ-ᚚᚠ-ᛪᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦩᧁ-ᧇᨀ-ᨖᴀ-ᶿḀ-ẛẠ-ỹἀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₔℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℱℳ-ℹℼ-ℿⅅ-ⅉⰀ-Ⱞⰰ-ⱞⲀ-ⳤⴀ-ⴥⴰ-ⵥⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〆〱-〵〻-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄬㄱ-ㆎㆠ-ㆷㇰ-ㇿ㐀-䶵一-龻ꀀ-ꒌꠀ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢ가-힣豈-鶴侮-頻並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּ-סּףּ-פּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҆-ֹֻ-ֽֿׁ-ׂׄ-ׇׅؐ-ًؕ-ٰٞۖ-ۜ۟-ۤۧ-۪ۨ-ܑۭܰ-݊ަ-ްँ-ः़ा-्॑-॔ॢ-ॣঁ-ঃ়া-ৄে-ৈো-্ৗৢ-ৣਁ-ਃ਼ਾ-ੂੇ-ੈੋ-੍ੰ-ੱઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣଁ-ଃ଼ା-ୃେ-ୈୋ-୍ୖ-ୗஂா-ூெ-ைொ-்ௗఁ-ఃా-ౄె-ైొ-్ౕ-ౖಂ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕ-ೖം-ഃാ-ൃെ-ൈൊ-്ൗං-ඃ්ා-ුූෘ-ෟෲ-ෳัิ-ฺ็-๎ັິ-ູົ-ຼ່-ໍ༘-༹༙༵༷༾-༿ཱ-྄྆-྇ྐ-ྗྙ-ྼ࿆ာ-ဲံ-္ၖ-ၙ፟ᜒ-᜔ᜲ-᜴ᝒ-ᝓᝲ-ᝳា-៓៝᠋-᠍ᢩᤠ-ᤫᤰ-᤻ᦰ-ᧀᧈ-ᧉᨗ-ᨛ᷀-᷃⃐-⃥⃜⃡-⃫〪-゙〯-゚ꠂ꠆ꠋꠣ-ꠧﬞ︀-️︠-︣À-ÖØ-öø-ÿĀ-ɏɓ-ɔɖ-ɗəɛɣɨɯɲʉʋʻ̀-ͯḀ-ỿЀ-ӿԀ-ԧⷠ-ⷿꙀ-֑ꚟ-ֿׁ-ׂׄ-ׇׅא-תװ-״-ﬨשׁ-זּטּ-לּמּנּ-סּףּ-פּצּ-ﭏؐ-ؚؠ-ٟٮ-ۓە-ۜ۞-۪ۨ-ۯۺ-ۼۿݐ-ݿࢠࢢ-ࢬࣤ-ࣾﭐ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼ-ก-ฺเ-๎ᄀ-ᇿ-ㆅꥠ-가-ힰ-ᄀ-ᅵァ-ヺー-ヾヲ-゚0-9A-Za-zぁ-ゖ゙-ゞ㐀-䶿一-鿿"+a(173824)+"-"+a(177983)+a(177984)+"-"+a(178207)+a(194560)+"-"+a(195103)+"〃々〻";return{alpha:r,alphanumeric:r+"0-9٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௦-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩၀-၉០-៩᠐-᠙᥆-᥏᧐-᧙0-9_",hashChars:"#\\uFF03"}}(),e="["+t+"]";return"("+("^|$|[^&/"+t+"]")+")("+("["+n+"]")+")("+e+"*"+("["+l+"]")+e+"*)"}(),"i");function I1(){const[l]=xn();he.useEffect(()=>{if(!l.hasNodes([dp]))throw new Error("HashtagPlugin: HashtagNode not registered on editor")},[l]);const t=he.useCallback(e=>Ob(e.getTextContent()),[]),n=he.useCallback(e=>{const a=BT.exec(e);if(a===null)return null;const r=a[3].length+1,o=a.index+a[1].length;return{end:o+r,start:o}},[]);return P1(n,dp,t),null}function M1(){const[l]=xn();return he.useEffect(()=>{if(!l.hasNodes([ld,ad]))throw new Error("ListPlugin: ListNode and/or ListItemNode not registered on editor")},[l]),function(t){he.useEffect(()=>wr(t.registerCommand(Ub,()=>(Ib(t,"number"),!0),Yn),t.registerCommand(zb,()=>(Ib(t,"bullet"),!0),Yn),t.registerCommand(Hb,()=>(T2(t),!0),Yn),t.registerCommand(gl,()=>!!A2(),Yn)),[t])}(l),null}const zT=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?he.useLayoutEffect:he.useEffect;function UT(l){return{initialValueFn:()=>l.isEditable(),subscribe:t=>l.registerEditableListener(t)}}function ty(){return function(l){const[t]=xn(),n=he.useMemo(()=>l(t),[t,l]),e=he.useRef(n.initialValueFn()),[a,r]=he.useState(e.current);return zT(()=>{const{initialValueFn:o,subscribe:s}=n,c=o();return e.current!==c&&(e.current=c,r(c)),s(i=>{e.current=i,r(i)})},[n,l]),a}(UT)}function D1(l){const t=window.location.origin,n=e=>{if(e.origin!==t)return;const a=l.getRootElement();if(document.activeElement!==a)return;const r=e.data;if(typeof r=="string"){let o;try{o=JSON.parse(r)}catch{return}if(o&&o.protocol==="nuanria_messaging"&&o.type==="request"){const s=o.payload;if(s&&s.functionId==="makeChanges"){const c=s.args;if(c){const[i,u,d,p,f,h]=c;l.update(()=>{const m=Tt();if(Ct(m)){const g=m.anchor;let _=g.getNode(),v=0,w=0;if(Wt(_)&&i>=0&&u>=0&&(v=i,w=i+u,m.setTextNodeRange(_,v,_,w)),v===w&&d===""||(m.insertRawText(d),_=g.getNode()),Wt(_)){v=p,w=p+f;const S=_.getTextContentSize();v=v>S?S:v,w=w>S?S:w,m.setTextNodeRange(_,v,_,w)}e.stopImmediatePropagation()}})}}}}};return window.addEventListener("message",n,!0),()=>{window.removeEventListener("message",n,!0)}}function ny(l,t){const n=t.body?t.body.childNodes:[];let e=[];const a=[];for(let r=0;r<n.length;r++){const o=n[r];if(!F1.has(o.nodeName)){const s=B1(o,l,a,!1);s!==null&&(e=e.concat(s))}}return function(r){for(const o of r)o.getNextSibling()instanceof pm&&o.insertAfter(_i());for(const o of r){const s=o.getChildren();for(const c of s)o.insertBefore(c);o.remove()}}(a),e}function R1(l,t){if(typeof document>"u"||typeof window>"u"&&global.window===void 0)throw new Error("To use $generateHtmlFromNodes in headless mode please initialize a headless browser implementation such as JSDom before calling this function.");const n=document.createElement("div"),e=zn().getChildren();for(let a=0;a<e.length;a++)L1(l,e[a],n,t);return n.innerHTML}function L1(l,t,n,e=null){let a=e===null||t.isSelected(e);const r=kt(t)&&t.excludeFromCopy("html");let o=t;if(e!==null){let f=ob(t);f=Wt(f)&&e!==null?ib(e,f):f,o=f}const s=kt(o)?o.getChildren():[],c=l._nodes.get(o.getType());let i;i=c&&c.exportDOM!==void 0?c.exportDOM(l,o):o.exportDOM(l);const{element:u,after:d}=i;if(!u)return!1;const p=document.createDocumentFragment();for(let f=0;f<s.length;f++){const h=s[f],m=L1(l,h,p,e);!a&&kt(t)&&m&&t.extractWithChild(h,e,"html")&&(a=!0)}if(a&&!r){if(Mi(u)&&u.append(p),n.append(u),d){const f=d.call(o,u);f&&u.replaceWith(f)}}else n.append(p);return a}const F1=new Set(["STYLE","SCRIPT"]);function B1(l,t,n,e,a=new Map,r){let o=[];if(F1.has(l.nodeName))return o;let s=null;const c=function(h,m){const{nodeName:g}=h,_=m._htmlConversions.get(g.toLowerCase());let v=null;if(_!==void 0)for(const w of _){const S=w(h);S!==null&&(v===null||(v.priority||0)<(S.priority||0))&&(v=S)}return v!==null?v.conversion:null}(l,t),i=c?c(l):null;let u=null;if(i!==null){u=i.after;const h=i.node;if(s=Array.isArray(h)?h[h.length-1]:h,s!==null){for(const[,m]of a)if(s=m(s,r),!s)break;s&&o.push(...Array.isArray(h)?h:[s])}i.forChild!=null&&a.set(l.nodeName,i.forChild)}const d=l.childNodes;let p=[];const f=(s==null||!to(s))&&(s!=null&&lm(s)||e);for(let h=0;h<d.length;h++)p.push(...B1(d[h],t,n,f,new Map(a),s));return u!=null&&(p=u(p)),Mk(l)&&(p=HT(l,p,f?()=>{const h=new pm;return n.push(h),h}:Cn)),s==null?o=o.concat(p):kt(s)&&s.append(...p),o}function HT(l,t,n){const e=l.style.textAlign,a=[];let r=[];for(let o=0;o<t.length;o++){const s=t[o];if(lm(s))e&&!s.getFormat()&&s.setFormat(e),a.push(s);else if(r.push(s),o===t.length-1||o<t.length-1&&lm(t[o+1])){const c=n();c.setFormat(e),c.append(...r),a.push(c),r=[]}}return a}function $T(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var Op=$T(function(l){const t=new URLSearchParams;t.append("code",l);for(let n=1;n<arguments.length;n++)t.append("v",arguments[n]);throw Error(`Minified Lexical error #${l}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)});const qT=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0,z1=l=>qT?(l||window).getSelection():null;function U1(l){const t=Tt();return t==null&&Op(166),Ct(t)&&t.isCollapsed()||t.getNodes().length===0?"":R1(l,t)}function WT(l){const t=Tt();return t==null&&Op(166),Ct(t)&&t.isCollapsed()||t.getNodes().length===0?null:JSON.stringify(JT(l,t))}function H1(l,t){const n=l.getData("text/plain")||l.getData("text/uri-list");n!=null&&t.insertRawText(n)}function $1(l,t,n){const e=l.getData("application/x-lexical-editor");if(e)try{const o=JSON.parse(e);if(o.namespace===n._config.namespace&&Array.isArray(o.nodes))return q1(n,VT(o.nodes),t)}catch{}const a=l.getData("text/html");if(a)try{const o=new DOMParser().parseFromString(a,"text/html");return q1(n,ny(n,o),t)}catch{}const r=l.getData("text/plain")||l.getData("text/uri-list");if(r!=null)if(Ct(t)){const o=r.split(/(\r?\n|\t)/);o[o.length-1]===""&&o.pop();for(let s=0;s<o.length;s++){const c=Tt();if(Ct(c)){const i=o[s];i===`
|
|
53
53
|
`||i===`\r
|
|
54
|
-
`?c.insertParagraph():i===" "?c.insertNodes([dc()]):c.insertText(i)}}}else t.insertRawText(r)}function q1(l,t,n){l.dispatchCommand(Ev,{nodes:t,selection:n})||n.insertNodes(t)}function W1(l,t,n,e=[]){let a=t===null||n.isSelected(t);const r=kt(n)&&n.excludeFromCopy("html");let o=n;if(t!==null){let i=ob(n);i=Wt(i)&&t!==null?ib(t,i):i,o=i}const s=kt(o)?o.getChildren():[],c=function(i){const u=i.exportJSON(),d=i.constructor;if(u.type!==d.getType()&&Op(58,d.name),kt(i)){const p=u.children;Array.isArray(p)||Op(59,d.name)}return u}(o);if(Wt(o)){const i=o.__text;i.length>0?c.text=i:a=!1}for(let i=0;i<s.length;i++){const u=s[i],d=W1(l,t,u,c.children);!a&&kt(n)&&d&&n.extractWithChild(u,t,"clone")&&(a=!0)}if(a&&!r)e.push(c);else if(Array.isArray(c.children))for(let i=0;i<c.children.length;i++){const u=c.children[i];e.push(u)}return a}function JT(l,t){const n=[],e=zn().getChildren();for(let a=0;a<e.length;a++)W1(l,t,e[a],n);return{namespace:l._config.namespace,nodes:n}}function VT(l){const t=[];for(let n=0;n<l.length;n++){const e=l[n],a=Zk(e);Wt(a)&&r2(a),t.push(a)}return t}let jc=null;async function J1(l,t){if(jc!==null)return!1;if(t!==null)return new Promise((s,c)=>{l.update(()=>{s(V1(l,t))})});const n=l.getRootElement(),e=l._window==null?window.document:l._window.document,a=z1(l._window);if(n===null||a===null)return!1;const r=e.createElement("span");r.style.cssText="position: fixed; top: -1000px;",r.append(e.createTextNode("#")),n.append(r);const o=new Range;return o.setStart(r,0),o.setEnd(r,1),a.removeAllRanges(),a.addRange(o),new Promise((s,c)=>{const i=l.registerCommand(zu,u=>($s(u,ClipboardEvent)&&(i(),jc!==null&&(window.clearTimeout(jc),jc=null),s(V1(l,u))),!0),Uo);jc=window.setTimeout(()=>{i(),jc=null,s(!1)},50),e.execCommand("copy"),r.remove()})}function V1(l,t){const n=z1(l._window);if(!n)return!1;const e=n.anchorNode,a=n.focusNode;if(e!==null&&a!==null&&!$u(l,e,a))return!1;t.preventDefault();const r=t.clipboardData,o=Tt();if(r===null||o===null)return!1;const s=U1(l),c=WT(l);let i="";return o!==null&&(i=o.getTextContent()),s!==null&&r.setData("text/html",s),c!==null&&r.setData("application/x-lexical-editor",c),r.setData("text/plain",i),!0}function K1(l,t){if(document.caretRangeFromPoint!==void 0){const n=document.caretRangeFromPoint(l,t);return n===null?null:{node:n.startContainer,offset:n.startOffset}}if(document.caretPositionFromPoint!=="undefined"){const n=document.caretPositionFromPoint(l,t);return n===null?null:{node:n.offsetNode,offset:n.offset}}return null}const kc=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0,KT=kc&&"documentMode"in document?document.documentMode:null,GT=!(!kc||!("InputEvent"in window)||KT)&&"getTargetRanges"in new window.InputEvent("input"),YT=kc&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),ZT=kc&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,XT=kc&&/^(?=.*Chrome).*/i.test(navigator.userAgent),QT=kc&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent)&&!XT,ry=fo();class Np extends Br{static getType(){return"quote"}static clone(t){return new Np(t.__key)}constructor(t){super(t)}createDOM(t){const n=document.createElement("blockquote");return zr(n,t.theme.quote),n}updateDOM(t,n){return!1}static importDOM(){return{blockquote:t=>({conversion:tO,priority:0})}}exportDOM(t){const{element:n}=super.exportDOM(t);if(n&&Mi(n)){this.isEmpty()&&n.append(document.createElement("br"));const e=this.getFormatType();n.style.textAlign=e;const a=this.getDirection();a&&(n.dir=a)}return{element:n}}static importJSON(t){const n=G1();return n.setFormat(t.format),n.setIndent(t.indent),n.setDirection(t.direction),n}exportJSON(){return{...super.exportJSON(),type:"quote"}}insertNewAfter(t,n){const e=Cn(),a=this.getDirection();return e.setDirection(a),this.insertAfter(e,n),e}collapseAtStart(){const t=Cn();return this.getChildren().forEach(n=>t.append(n)),this.replace(t),!0}}function G1(){return Ar(new Np)}function eO(l){return l instanceof Np}class Ap extends Br{static getType(){return"heading"}static clone(t){return new Ap(t.__tag,t.__key)}constructor(t,n){super(n),this.__tag=t}getTag(){return this.__tag}createDOM(t){const n=this.__tag,e=document.createElement(n),a=t.theme.heading;if(a!==void 0){const r=a[n];zr(e,r)}return e}updateDOM(t,n){return!1}static importDOM(){return{h1:t=>({conversion:Tc,priority:0}),h2:t=>({conversion:Tc,priority:0}),h3:t=>({conversion:Tc,priority:0}),h4:t=>({conversion:Tc,priority:0}),h5:t=>({conversion:Tc,priority:0}),h6:t=>({conversion:Tc,priority:0}),p:t=>{const n=t.firstChild;return n!==null&&Y1(n)?{conversion:()=>({node:null}),priority:3}:null},span:t=>Y1(t)?{conversion:n=>({node:vd("h1")}),priority:3}:null}}exportDOM(t){const{element:n}=super.exportDOM(t);if(n&&Mi(n)){this.isEmpty()&&n.append(document.createElement("br"));const e=this.getFormatType();n.style.textAlign=e;const a=this.getDirection();a&&(n.dir=a)}return{element:n}}static importJSON(t){const n=vd(t.tag);return n.setFormat(t.format),n.setIndent(t.indent),n.setDirection(t.direction),n}exportJSON(){return{...super.exportJSON(),tag:this.getTag(),type:"heading",version:1}}insertNewAfter(t,n=!0){const e=t?t.anchor.offset:0,a=e!==this.getTextContentSize()&&t?vd(this.getTag()):Cn(),r=this.getDirection();if(a.setDirection(r),this.insertAfter(a,n),e===0&&!this.isEmpty()&&t){const o=Cn();o.select(),this.replace(o,!0)}return a}collapseAtStart(){const t=this.isEmpty()?Cn():vd(this.getTag());return this.getChildren().forEach(n=>t.append(n)),this.replace(t),!0}extractWithChild(){return!0}}function Y1(l){return l.nodeName.toLowerCase()==="span"&&l.style.fontSize==="26pt"}function Tc(l){const t=l.nodeName.toLowerCase();let n=null;return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6"||(n=vd(t),l.style!==null&&n.setFormat(l.style.textAlign)),{node:n}}function tO(l){const t=G1();return l.style!==null&&t.setFormat(l.style.textAlign),{node:t}}function vd(l){return Ar(new Ap(l))}function Pp(l){return l instanceof Ap}function Ip(l){let t=null;if($s(l,DragEvent)?t=l.dataTransfer:$s(l,ClipboardEvent)&&(t=l.clipboardData),t===null)return[!1,[],!1];const n=t.types,e=n.includes("Files"),a=n.includes("text/html")||n.includes("text/plain");return[e,Array.from(t.files),a]}function Z1(l){const t=Tt();if(!Ct(t))return!1;const n=new Set,e=t.getNodes();for(let a=0;a<e.length;a++){const r=e[a],o=r.getKey();if(n.has(o))continue;const s=nr(r,i=>kt(i)&&!i.isInline());if(s===null)continue;const c=s.getKey();s.canIndent()&&!n.has(c)&&(n.add(c),l(s))}return n.size>0}function Mp(l){const t=po(l);return gr(t)}function nO(l){return wr(l.registerCommand(ya,t=>{const n=Tt();return!!fr(n)&&(n.clear(),!0)},0),l.registerCommand(Yi,t=>{const n=Tt();return!!Ct(n)&&(n.deleteCharacter(t),!0)},Tn),l.registerCommand(ml,t=>{const n=Tt();return!!Ct(n)&&(n.deleteWord(t),!0)},Tn),l.registerCommand(wa,t=>{const n=Tt();return!!Ct(n)&&(n.deleteLine(t),!0)},Tn),l.registerCommand(_a,t=>{const n=Tt();if(typeof t=="string")n!==null&&n.insertText(t);else{if(n===null)return!1;const e=t.dataTransfer;if(e!=null)$1(e,n,l);else if(Ct(n)){const a=t.data;return a&&n.insertText(a),!0}}return!0},Tn),l.registerCommand(bf,()=>{const t=Tt();return!!Ct(t)&&(t.removeText(),!0)},Tn),l.registerCommand(Gr,t=>{const n=Tt();return!!Ct(n)&&(n.formatText(t),!0)},Tn),l.registerCommand(yl,t=>{const n=Tt();if(!Ct(n)&&!fr(n))return!1;const e=n.getNodes();for(const a of e){const r=nr(a,o=>kt(o)&&!o.isInline());r!==null&&r.setFormat(t)}return!0},Tn),l.registerCommand(va,t=>{const n=Tt();return!!Ct(n)&&(n.insertLineBreak(t),!0)},Tn),l.registerCommand(gl,()=>{const t=Tt();return!!Ct(t)&&(t.insertParagraph(),!0)},Tn),l.registerCommand(ek,()=>(Ri([dc()]),!0),Tn),l.registerCommand(jv,()=>Z1(t=>{const n=t.getIndent();t.setIndent(n+1)}),Tn),l.registerCommand(kv,()=>Z1(t=>{const n=t.getIndent();n>0&&t.setIndent(n-1)}),Tn),l.registerCommand(Fu,t=>{const n=Tt();if(fr(n)&&!Mp(t.target)){const e=n.getNodes();if(e.length>0)return e[0].selectPrevious(),!0}else if(Ct(n)){const e=Ku(n.focus,!0);if(!t.shiftKey&&gr(e)&&!e.isIsolated()&&!e.isInline())return e.selectPrevious(),t.preventDefault(),!0}return!1},Tn),l.registerCommand(Bu,t=>{const n=Tt();if(fr(n)){const e=n.getNodes();if(e.length>0)return e[0].selectNext(0,0),!0}else if(Ct(n)){if(function(a){const r=a.focus;return r.key==="root"&&r.offset===zn().getChildrenSize()}(n))return t.preventDefault(),!0;const e=Ku(n.focus,!1);if(!t.shiftKey&&gr(e)&&!e.isIsolated()&&!e.isInline())return e.selectNext(),t.preventDefault(),!0}return!1},Tn),l.registerCommand(xf,t=>{const n=Tt();if(fr(n)){const e=n.getNodes();if(e.length>0)return t.preventDefault(),e[0].selectPrevious(),!0}if(!Ct(n))return!1;if(sp(n,!0)){const e=t.shiftKey;return t.preventDefault(),ap(n,e,!0),!0}return!1},Tn),l.registerCommand(wf,t=>{const n=Tt();if(fr(n)&&!Mp(t.target)){const a=n.getNodes();if(a.length>0)return t.preventDefault(),a[0].selectNext(0,0),!0}if(!Ct(n))return!1;const e=t.shiftKey;return!!sp(n,!1)&&(t.preventDefault(),ap(n,e,!1),!0)},Tn),l.registerCommand(Zi,t=>{if(Mp(t.target))return!1;const n=Tt();if(!Ct(n))return!1;t.preventDefault();const{anchor:e}=n,a=e.getNode();return n.isCollapsed()&&e.offset===0&&!zo(a)&&ym(a).getIndent()>0?l.dispatchCommand(kv,void 0):l.dispatchCommand(Yi,!0)},Tn),l.registerCommand(Xi,t=>{if(Mp(t.target))return!1;const n=Tt();return!!Ct(n)&&(t.preventDefault(),l.dispatchCommand(Yi,!1))},Tn),l.registerCommand(Rs,t=>{const n=Tt();if(!Ct(n))return!1;if(t!==null){if((ZT||YT||QT)&>)return!1;if(t.preventDefault(),t.shiftKey)return l.dispatchCommand(va,!1)}return l.dispatchCommand(gl,void 0)},Tn),l.registerCommand(Ls,()=>{const t=Tt();return!!Ct(t)&&(l.blur(),!0)},Tn),l.registerCommand(Ef,t=>{const[,n]=Ip(t);if(n.length>0){const a=K1(t.clientX,t.clientY);if(a!==null){const{offset:r,node:o}=a,s=po(o);if(s!==null){const c=fc();if(Wt(s))c.anchor.set(s.getKey(),r,"text"),c.focus.set(s.getKey(),r,"text");else{const u=s.getParentOrThrow().getKey(),d=s.getIndexWithinParent()+1;c.anchor.set(u,d,"element"),c.focus.set(u,d,"element")}const i=Ag(c);jr(i)}l.dispatchCommand(ry,n)}return t.preventDefault(),!0}const e=Tt();return!!Ct(e)},Tn),l.registerCommand(tc,t=>{const[n]=Ip(t),e=Tt();return!(n&&!Ct(e))},Tn),l.registerCommand(yg,t=>{const[n]=Ip(t),e=Tt();if(n&&!Ct(e))return!1;const a=K1(t.clientX,t.clientY);if(a!==null){const r=po(a.node);gr(r)&&t.preventDefault()}return!0},Tn),l.registerCommand(Cf,()=>(t_(),!0),Tn),l.registerCommand(zu,t=>(J1(l,$s(t,ClipboardEvent)?t:null),!0),Tn),l.registerCommand(Uu,t=>(async function(n,e){await J1(e,$s(n,ClipboardEvent)?n:null),e.update(()=>{const a=Tt();Ct(a)?a.removeText():fr(a)&&a.getNodes().forEach(r=>r.remove())})}(t,l),!0),Tn),l.registerCommand(ba,t=>{const[,n,e]=Ip(t);return n.length>0&&!e?(l.dispatchCommand(ry,n),!0):Pg(t.target)?!1:Tt()!==null&&(function(a,r){a.preventDefault(),r.update(()=>{const o=Tt(),s=$s(a,InputEvent)||$s(a,KeyboardEvent)?null:a.clipboardData;s!=null&&o!==null&&$1(s,o,r)},{tag:"paste"})}(t,l),!0)},Tn))}const oy=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?he.useLayoutEffect:he.useEffect;function X1(l){return l.getEditorState().read(A1(l.isComposing()))}function Dp({contentEditable:l,placeholder:t,ErrorBoundary:n}){const[e]=xn(),a=function(r,o){const[s,c]=he.useState(()=>r.getDecorators());return oy(()=>r.registerDecoratorListener(i=>{so.flushSync(()=>{c(i)})}),[r]),he.useEffect(()=>{c(r.getDecorators())},[r]),he.useMemo(()=>{const i=[],u=Object.keys(s);for(let d=0;d<u.length;d++){const p=u[d],f=ue.jsx(o,{onError:m=>r._onError(m),children:ue.jsx(he.Suspense,{fallback:null,children:s[p]})}),h=r.getElementByKey(p);h!==null&&i.push(so.createPortal(f,h,p))}return i},[o,s,r])}(e,n);return function(r){oy(()=>wr(nO(r),D1(r)),[r])}(e),ue.jsxs(ue.Fragment,{children:[l,ue.jsx(rO,{content:t}),a]})}function rO({content:l}){const[t]=xn(),n=function(a){const[r,o]=he.useState(()=>X1(a));return oy(()=>{function s(){const c=X1(a);o(c)}return s(),wr(a.registerUpdateListener(()=>{s()}),a.registerEditableListener(()=>{s()}))},[a]),r}(t),e=ty();return n?typeof l=="function"?l(e):l:null}function oO(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var Rp=oO(function(l){const t=new URLSearchParams;t.append("code",l);for(let n=1;n<arguments.length;n++)t.append("v",arguments[n]);throw Error(`Minified Lexical error #${l}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)});function Q1({hasCellMerge:l=!0,hasCellBackgroundColor:t=!0,hasTabHandler:n=!0}){const[e]=xn();return he.useEffect(()=>(e.hasNodes([xs,is,jl])||Rp(10),wr(e.registerCommand(z2,({columns:a,rows:r,includeHeaders:o})=>{const s=Im(Number(r),Number(a),o);Sl(s);const c=s.getFirstDescendant();return Wt(c)&&c.select(),!0},Tn),e.registerNodeTransform(xs,a=>{const[r]=e1(a,null,null),o=r.reduce((s,c)=>Math.max(s,c.length),0);for(let s=0;s<r.length;++s){const c=r[s].length;if(c===o)continue;const i=r[s][c-1].cell;for(let u=c;u<o;++u){const d=wi(0);d.append(Cn()),i!==null?i.insertAfter(d):hb(i,d)}}}))),[e]),he.useEffect(()=>{const a=new Map,r=s=>{const c=s.getKey(),i=e.getElementByKey(c);if(i&&!a.has(c)){const u=X2(s,i,e,n);a.set(c,u)}};e.getEditorState().read(()=>{const s=n_(xs);for(const c of s)pr(c)&&r(c)});const o=e.registerMutationListener(xs,s=>{for(const[c,i]of s)if(i==="created")e.getEditorState().read(()=>{const u=Bn(c);pr(u)&&r(u)});else if(i==="destroyed"){const u=a.get(c);u!==void 0&&(u.removeListeners(),a.delete(c))}});return()=>{o();for(const[,s]of a)s.removeListeners()}},[e,n]),he.useEffect(()=>{if(!l)return e.registerNodeTransform(is,a=>{if(a.getColSpan()>1||a.getRowSpan()>1){const[,,r]=Ao(a),[o]=ss(r,a,a),s=o.length,c=o[0].length;let i=r.getFirstChild();Rr(i)||Rp(175);const u=[];for(let d=0;d<s;d++){d!==0&&(i=i.getNextSibling(),Rr(i)||Rp(175));let p=null;for(let f=0;f<c;f++){const h=o[d][f],m=h.cell;if(h.startRow===d&&h.startColumn===f)p=m,u.push(m);else if(m.getColSpan()>1||m.getRowSpan()>1){yn(m)||Rp(176);const g=wi(m.__headerState);p!==null?p.insertAfter(g):hb(i,g)}}}for(const d of u)d.setColSpan(1),d.setRowSpan(1)}})},[e,l]),he.useEffect(()=>{if(!t)return e.registerNodeTransform(is,a=>{a.getBackgroundColor()!==null&&a.setBackgroundColor(null)})},[e,t,l]),null}function iO(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var sO=iO(function(l){const t=new URLSearchParams;t.append("code",l);for(let n=1;n<arguments.length;n++)t.append("v",arguments[n]);throw Error(`Minified Lexical error #${l}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)});function ew(l,t=n=>n){return n=>{const e=l.exec(n);return e===null?null:{index:e.index,length:e[0].length,text:e[0],url:t(e[0])}}}function tw(l,t){for(let n=0;n<t.length;n++){const e=t[n](l);if(e)return e}return null}const aO=/[.,;\s]/;function Lp(l){return aO.test(l)}function nw(l){return Lp(l[l.length-1])}function iy(l){return Lp(l[0])}function rw(l){let t=l.getPreviousSibling();return kt(t)&&(t=t.getLastDescendant()),t===null||_s(t)||Wt(t)&&nw(t.getTextContent())}function ow(l){let t=l.getNextSibling();return kt(t)&&(t=t.getFirstDescendant()),t===null||_s(t)||Wt(t)&&iy(t.getTextContent())}function lO(l,t,n,e){return(l>0?Lp(n[l-1]):rw(e[0]))?t<n.length?Lp(n[t]):ow(e[e.length-1]):!1}function cO(l,t,n){const e=[],a=[],r=[];let o=0,s=0;const c=[...l];for(;c.length>0;){const i=c[0],u=i.getTextContent().length,d=s;s+u<=t?(e.push(i),o+=u):d>=n?r.push(i):a.push(i),s+=u,c.shift()}return[o,e,a,r]}function uO(l,t,n,e){const a=km(e.url,e.attributes);if(l.length===1){let r,o=l[0];t===0?[r,o]=o.splitText(n):[,r,o]=o.splitText(t,n);const s=er(e.text);return s.setFormat(r.getFormat()),s.setDetail(r.getDetail()),s.setStyle(r.getStyle()),a.append(s),r.replace(a),o}if(l.length>1){const r=l[0];let o,s=r.getTextContent().length;t===0?o=r:[,o]=r.splitText(t);const c=[];let i;for(let f=1;f<l.length;f++){const h=l[f],m=h.getTextContent().length,g=s;if(g<n)if(s+m<=n)c.push(h);else{const[_,v]=h.splitText(n-g);c.push(_),i=v}s+=m}const u=Tt(),d=u?u.getNodes().find(Wt):void 0,p=er(o.getTextContent());return p.setFormat(o.getFormat()),p.setDetail(o.getDetail()),p.setStyle(o.getStyle()),a.append(p,...c),d&&d===o&&(Ct(u)?p.select(u.anchor.offset,u.focus.offset):fr(u)&&p.select(0,p.getTextContent().length)),o.replace(a),i}}function sy(l,t,n){const e=l.getChildren(),a=e.length;for(let c=0;c<a;c++){const i=e[c];if(!Wt(i)||!i.isSimpleText())return Fp(l),void n(null,l.getURL())}const r=l.getTextContent(),o=tw(r,t);if(o===null||o.text!==r||!rw(l)||!ow(l))return Fp(l),void n(null,l.getURL());const s=l.getURL();if(s!==o.url&&(l.setURL(o.url),n(o.url,s)),o.attributes){const c=l.getRel();c!==o.attributes.rel&&(l.setRel(o.attributes.rel||null),n(o.attributes.rel||null,c));const i=l.getTarget();i!==o.attributes.target&&(l.setTarget(o.attributes.target||null),n(o.attributes.target||null,i))}}function Fp(l){const t=l.getChildren();for(let n=t.length-1;n>=0;n--)l.insertAfter(t[n]);return l.remove(),t.map(n=>n.getLatest())}function dO(l,t,n){he.useEffect(()=>{l.hasNodes([sd])||sO(77);const e=(a,r)=>{n&&n(a,r)};return wr(l.registerNodeTransform(no,a=>{const r=a.getParentOrThrow(),o=a.getPreviousSibling();if(vc(r)&&!r.getIsUnlinked())sy(r,t,e);else if(!Qo(r)){if(a.isSimpleText()&&(iy(a.getTextContent())||!vc(o))){const s=function(c){const i=[c];let u=c.getNextSibling();for(;u!==null&&Wt(u)&&u.isSimpleText()&&(i.push(u),!/[\s]/.test(u.getTextContent()));)u=u.getNextSibling();return i}(a);(function(c,i,u){let d=[...c];const p=d.map(g=>g.getTextContent()).join("");let f,h=p,m=0;for(;(f=tw(h,i))&&f!==null;){const g=f.index,_=g+f.length;if(lO(m+g,m+_,p,d)){const[v,,w,S]=cO(d,m+g,m+_),E=uO(w,m+g-v,m+_-v,f);d=E?[E,...S]:S,u(f.url,null),m=0}else m+=_;h=h.substring(_)}})(s,t,e)}(function(s,c,i){const u=s.getPreviousSibling(),d=s.getNextSibling(),p=s.getTextContent();!vc(u)||u.getIsUnlinked()||iy(p)&&!/^\.[a-zA-Z0-9]{1,}/.test(p)||(u.append(s),sy(u,c,i),i(null,u.getURL())),!vc(d)||d.getIsUnlinked()||nw(p)||(Fp(d),sy(d,c,i),i(null,d.getURL()))})(a,t,e)}}),l.registerCommand(Aa,a=>{const r=Tt();return a!==null||!Ct(r)||r.extract().forEach(o=>{const s=o.getParent();if(vc(s))return s.setIsUnlinked(!s.getIsUnlinked()),s.markDirty(),!0}),!1},Yn))},[l,t,n])}function fO({matchers:l,onChange:t}){const[n]=xn();return dO(n,l,t),null}const pO=/((https?:\/\/(www\.)?)|(www\.))[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_+.~#?&//=]*)/,hO=/(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))/,gO=[ew(pO,l=>l.startsWith("http")?l:`https://${l}`),ew(hO,l=>`mailto:${l}`)];function iw(){return ue.jsx(fO,{matchers:gO})}function mO({accept:l,label:t,onChange:n,"data-test-id":e}){return ue.jsxs("div",{className:"Input__wrapper",children:[ue.jsx("label",{className:"Input__label",children:t}),ue.jsx("input",{type:"file",accept:l,className:"Input__input",onChange:a=>n(a.target.files),"data-test-id":e})]})}const Oc=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",yO=l=>Oc?(l||window).getSelection():null,Bp=fo();function vO({onClick:l}){const[t,n]=he.useState(""),[e,a]=he.useState(""),r=t==="",o=s=>{const c=new FileReader;c.onload=function(){return typeof c.result=="string"&&n(c.result),""},s!==null&&c.readAsDataURL(s[0])};return ue.jsxs(ue.Fragment,{children:[ue.jsx(mO,{label:"Image Upload",onChange:o,accept:"image/*","data-test-id":"image-modal-file-upload"}),ue.jsx(Cc,{label:"Alt Text",placeholder:"Descriptive alternative text",onChange:a,value:e,"data-test-id":"image-modal-alt-text-input"}),ue.jsx(kp,{children:ue.jsx(Fi,{"data-test-id":"image-modal-file-upload-btn",disabled:r,onClick:()=>l({altText:e,src:t}),children:"Confirm"})})]})}function _O({activeEditor:l,onClose:t,enableCaptions:n}){const[e,a]=he.useState("file"),r=he.useRef(!1);he.useEffect(()=>{r.current=!1;const s=c=>{r.current=c.altKey};return document.addEventListener("keydown",s),()=>{document.removeEventListener("keydown",s)}},[l]);const o=s=>{l.dispatchCommand(Bp,s),console.log("line 202 imageplugin insert image"),t()};return ue.jsx(ue.Fragment,{children:e==="file"&&ue.jsx(vO,{onClick:o})})}function sw(l,t,n,e){l.preventDefault();const a=l.clipboardData;if(!a)return!1;const r=a.items;if(!r||r.length===0)return!1;let o=!1,s=!1;const c=r.length>1?r[1]:r[0];let i=1;if(i===1){if(i=2,c.type==="text/html"&&!o){const u=a.getData("text/html"),p=new DOMParser().parseFromString(u,"text/html").querySelector("img");p&&p.src&&(fetch(p.src).then(f=>f.blob()).then(f=>{const h=new File([f],"pasted-image.png",{type:"image/png"});aw(h,t,e)}).catch(f=>console.error("Error fetching pasted image:",f)),o=!0)}else if(c.type.startsWith("image/")&&!o){const u=c.getAsFile();u&&(aw(u,t,e),o=!0)}else if(c.type.startsWith("text")&&!s){const u=a.getData("text/plain");bO(u,t),s=!0}}return!(!o&&!s)}function aw(l,t,n){const e=new FileReader;e.onload=()=>{const a=e.result,o={altText:l.name,src:a};t.update(()=>{const i=zn().getChildren().filter(_=>Wt(_)&&_.getTextContent().startsWith("Figure")).length+1,u=`Figure ${i}`,d=er(u);d.setStyle("font-weight: bold; display: block; text-align: center; margin-top: 5px; font-size: 14px;");const p=xc({...o,figureLabel:u}),f=Cn();f.setFormat("left");const h=_i(),g=er("");g.setStyle("color: black; font-style: italic; font-weight: bold;"),f.append(p,h,d,g),Ri([f]),to(p.getParentOrThrow())&&vm(p,Cn).selectEnd(),n&&t.update(()=>{const v=zn().getChildren().filter(S=>Dr(S));let w=1;v.forEach(S=>{const E=S.getChildren().find(x=>x.getTextContent().startsWith("Figure")),b=`Figure ${w}:`,y=zp("labelText",i);if(E){const x=new Li(b,"black",y);E.replace(x),w++}})})})},e.readAsDataURL(l)}function bO(l,t){t.update(()=>{const r=`Text ${zn().getChildren().filter(d=>Wt(d)&&d.getTextContent().startsWith("Text")).length+1}`,o=er(r);o.setStyle("font-weight: bold; display: block; text-align: center; margin-top: 5px; font-size: 14px;"),er(l);const s=Cn();s.setFormat("left");const c=_i(),u=er("");u.setStyle("color: black; font-style: italic; font-weight: bold;"),s.append(c,o,u),Ri([s]),t.update(()=>{const p=zn().getChildren().filter(h=>Dr(h));let f=1;p.forEach(h=>{const m=h.getChildren().find(_=>_.getTextContent().startsWith("Text")),g=`Text ${f}:`;if(m){const _=er(g);m.replace(_),f++}})})})}function lw({enableCaptions:l=!0}){const[t]=xn(),[n,e]=he.useState("");return he.useEffect(()=>{if(!t.hasNodes([Sp]))throw new Error("ImagesPlugin: ImageNode not registered on editor");let a=0;return wr(t.registerCommand(Bp,r=>{a+=1;const o=zp("Figure",a);if(l){const s=er(`Figure ${a}:`);s.setStyle("font-weight: bold; display: block; text-align: center; margin-top: 5px; font-size: 14px;"),s.__captionId=o;const c=xc({...r});c.__captionId=o;const i=Cn();i.setFormat("left");const u=_i(),d=n.trim()===""?"":n,p=er(d);p.setStyle(d?"color: black; font-style: italic; font-weight: bold;":"color: gray; font-style: italic; font-weight: normal;"),i.append(c,u,s,p),Ri([i]),to(c.getParentOrThrow())&&vm(c,Cn).selectEnd()}else{const s=xc(r),c=Cn();c.setFormat("left");const i=_i();c.append(s,i),Ri([c]),to(s.getParentOrThrow())&&vm(s,Cn).selectEnd()}return t.update(()=>{const c=zn().getChildren().filter(Dr);let i=1;c.forEach(u=>{const d=u.getChildren().find(_=>_.getTextContent().startsWith("Figure"));if(!d)return;const p=d.__captionId,f=u.getChildren().find(Ma),h=f?f.__captionId:void 0,m=p??h??zp(d.getTextContent(),i),g=new Li(`Figure ${i}:`,"black",m);g.__captionId=m,d.replace(g),i++})}),!0},Tn),t.registerCommand(tc,r=>xO(r),rs),t.registerCommand(yg,r=>SO(r),Yn),t.registerCommand(Ef,r=>EO(r,t),rs),t.registerCommand(ba,r=>sw(r,t,n,l),rs))},[l,t]),null}function zp(l,t){let n=5381;const e=String(t);for(let a=0;a<e.length;a++)n=(n<<5)+n+e.charCodeAt(a);return`Image-${t}-${Math.abs(n%1e6)}`}const wO="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",cw=document.createElement("img");cw.src=wO;function xO(l){const t=ay();if(!t)return!1;const n=l.dataTransfer;return n?(n.setData("text/plain","_"),n.setDragImage(cw,0,0),n.setData("application/x-lexical-drag",JSON.stringify({data:{altText:t.__altText,caption:t.__caption,height:t.__height,key:t.getKey(),maxWidth:t.__maxWidth,showCaption:t.__showCaption,src:t.__src,width:t.__width},type:"image"})),!0):!1}function SO(l){return ay()?(uw(l)||l.preventDefault(),!0):!1}function EO(l,t){const n=ay();if(!n)return!1;const e=CO(l);if(!e)return!1;if(l.preventDefault(),uw(l)){const a=jO(l);n.remove();const r=fc();a!=null&&r.applyDOMRange(a),jr(r),t.dispatchCommand(Bp,e)}return!0}function ay(){const l=Tt();if(!fr(l))return null;const n=l.getNodes()[0];return Ma(n)?n:null}function CO(l){var a;const t=(a=l.dataTransfer)==null?void 0:a.getData("application/x-lexical-drag");if(!t)return null;const{type:n,data:e}=JSON.parse(t);return n!=="image"?null:e}function uw(l){const t=l.target;return!!(t&&t instanceof HTMLElement&&!t.closest("code, span.editor-image")&&t.parentElement&&t.parentElement.closest("div.ContentEditable__root"))}function jO(l){let t;const n=l.target,e=n==null?null:n.nodeType===9?n.defaultView:n.ownerDocument.defaultView,a=yO(e);if(document.caretRangeFromPoint)t=document.caretRangeFromPoint(l.clientX,l.clientY);else if(l.rangeParent&&a!==null)a.collapse(l.rangeParent,l.rangeOffset||0),t=a.getRangeAt(0);else throw Error("Cannot get the selection when dragging");return t}const dw=["image/","image/heic","image/heif","image/gif","image/webp"];function fw(){const[l]=xn();return he.useEffect(()=>l.registerCommand(ry,t=>((async()=>{const n=await d2(t,[dw].flatMap(e=>e));for(const{file:e,result:a}of n)db(e,dw)&&l.dispatchCommand(Bp,{altText:e.name,src:a})})(),!0),Yn),[l]),null}const kO=/(^|$|[^A-Za-zªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎↃↄⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々〆〱-〵〻〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛥꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ])(congrats|congratulations|gratuluju|gratuluji|gratulujeme|blahopřeju|blahopřeji|blahopřejeme|Til lykke|Tillykke|Glückwunsch|Gratuliere|felicitaciones|enhorabuena|paljon onnea|onnittelut|Félicitations|gratula|gratulálok|gratulálunk|congratulazioni|complimenti|おめでとう|おめでとうございます|축하해|축하해요|gratulerer|Gefeliciteerd|gratulacje|Parabéns|parabéns|felicitações|felicitări|мои поздравления|поздравляем|поздравляю|gratulujem|blahoželám|ยินดีด้วย|ขอแสดงความยินดี|tebrikler|tebrik ederim|恭喜|祝贺你|恭喜你|恭喜|恭喜|baie geluk|veels geluk|অভিনন্দন|Čestitam|Čestitke|Čestitamo|Συγχαρητήρια|Μπράβο|અભિનંદન|badhai|बधाई|अभिनंदन|Честитам|Свака част|hongera|வாழ்த்துகள்|வாழ்த்துக்கள்|అభినందనలు|അഭിനന്ദനങ്ങൾ|Chúc mừng|מזל טוב|mazel tov|mazal tov)(^|$|[^A-Za-zªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎↃↄⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々〆〱-〵〻〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛥꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ])/i;function pw(){const[l]=xn();he.useEffect(()=>{if(!l.hasNodes([Sc]))throw new Error("KeywordsPlugin: KeywordNode not registered on editor")},[l]);const t=he.useCallback(e=>m1(e.getTextContent()),[]),n=he.useCallback(e=>{const a=kO.exec(e);if(a===null)return null;const r=a[2].length,o=a.index+a[1].length;return{end:o+r,start:o}},[]);return P1(n,Sc,t),null}function TO({validateUrl:l}){const[t]=xn();return he.useEffect(()=>{if(!t.hasNodes([yc]))throw new Error("LinkPlugin: LinkNode not registered on editor");return wr(t.registerCommand(Aa,n=>{if(n===null)return Tm(n),!0;if(typeof n=="string")return!(l!==void 0&&!l(n))&&(Tm(n),!0);{const{url:e,target:a,rel:r,title:o}=n;return Tm(e,{rel:r,target:a,title:o}),!0}},Yn),l!==void 0?t.registerCommand(ba,n=>{const e=Tt();if(!Ct(e)||e.isCollapsed()||!$s(n,ClipboardEvent))return!1;const a=n;if(a.clipboardData===null)return!1;const r=a.clipboardData.getData("text");return!!l(r)&&!e.getNodes().some(o=>kt(o))&&(t.dispatchCommand(Aa,r),n.preventDefault(),!0)},Yn):()=>{})},[t,l]),null}const OO=new Set(["http:","https:","mailto:","sms:","tel:"]);function hw(l){try{const t=new URL(l);if(!OO.has(t.protocol))return"about:blank"}catch{return l}return l}const NO=new RegExp(/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=+$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=+$,\w]+@)[A-Za-z0-9.-]+)((?:\/[+~%/.\w-_]*)?\??(?:[-+=&;%@.\w_]*)#?(?:[\w]*))?)/);function AO(l){return l==="https://"||NO.test(l)}function ly(){return ue.jsx(TO,{validateUrl:AO})}function PO(l){const t=l.getNodes();return t.length===0?new Set([l.anchor.getNode().getParentOrThrow(),l.focus.getNode().getParentOrThrow()]):new Set(t.map(n=>kt(n)?n:n.getParentOrThrow()))}function IO(l){const t=Tt();if(!Ct(t))return!1;const n=PO(t);let e=0;for(const a of n)if(lr(a))e=Math.max(Om(a)+1,e);else if(Vr(a)){const r=a.getParent();if(!lr(r))throw new Error("ListMaxIndentLevelPlugin: A ListItemNode must have a ListNode for a parent.");e=Math.max(Om(r)+1,e)}return e<=l}function gw({maxDepth:l}){const[t]=xn();return he.useEffect(()=>t.registerCommand(jv,()=>!IO(l??7),Uo),[t,l]),null}const MO=1,DO=100;let mw=0,yw=!1;function RO(){window.addEventListener("keydown",l=>{l.key==="Tab"&&(mw=l.timeStamp)},!0)}function vw(){const[l]=xn();return he.useEffect(()=>(yw||(RO(),yw=!0),l.registerCommand(vg,t=>{const n=Tt();return Ct(n)&&mw+DO>t.timeStamp&&jr(n.clone()),!1},MO)),[l]),null}const cR="";function LO({onClose:l,children:t,title:n,closeOnClickOutside:e}){const a=he.useRef(null);return he.useEffect(()=>{a.current!==null&&a.current.focus()},[]),he.useEffect(()=>{let r=null;const o=i=>{i.key==="Escape"&&l()},s=i=>{const u=i.target;a.current!==null&&!a.current.contains(u)&&e&&l()},c=a.current;return c!==null&&(r=c.parentElement,r!==null&&r.addEventListener("click",s)),window.addEventListener("keydown",o),()=>{window.removeEventListener("keydown",o),r!==null&&(r==null||r.removeEventListener("click",s))}},[e,l]),ue.jsx("div",{className:"Modal__overlay",role:"dialog",children:ue.jsxs("div",{className:"Modal__modal",tabIndex:-1,ref:a,children:[ue.jsx("h2",{className:"Modal__title",children:n}),ue.jsx("button",{className:"Modal__closeButton","aria-label":"Close modal",type:"button",onClick:l,children:"X"}),ue.jsx("div",{className:"Modal__content",children:t})]})})}function FO({onClose:l,children:t,title:n,closeOnClickOutside:e=!1}){return so.createPortal(ue.jsx(LO,{onClose:l,title:n,closeOnClickOutside:e,children:t}),document.body)}function Da(){const[l,t]=he.useState(null),n=he.useCallback(()=>{t(null)},[]),e=he.useMemo(()=>{if(l===null)return null;const{title:r,content:o,closeOnClickOutside:s}=l;return ue.jsx(FO,{onClose:n,title:r,closeOnClickOutside:s,children:o})},[l,n]),a=he.useCallback((r,o,s=!1)=>{t({closeOnClickOutside:s,content:o(n),title:r})},[n]);return[e,a]}const uR="";let cy=!1;const BO=["#d0021b","#f5a623","#f8e71c","#8b572a","#7ed321","#417505","#bd10e0","#9013fe","#4a90e2","#50e3c2","#b8e986","#000000","#4a4a4a","#9b9b9b","#ffffff"],_d=214,_w=150;function zO({color:l,onChange:t}){const[n,e]=he.useState(Nc("hex",l)),[a,r]=he.useState(l),o=he.useRef(null),s=he.useMemo(()=>({x:n.hsv.s/100*_d,y:(100-n.hsv.v)/100*_w}),[n.hsv.s,n.hsv.v]),c=he.useMemo(()=>({x:n.hsv.h/360*_d}),[n.hsv]),i=p=>{if(r(p),/^#[0-9A-Fa-f]{6}$/i.test(p)){const f=Nc("hex",p);e(f)}},u=({x:p,y:f})=>{const h={...n.hsv,s:p/_d*100,v:100-f/_w*100},m=Nc("hsv",h);e(m),r(m.hex)},d=({x:p})=>{const f={...n.hsv,h:p/_d*360},h=Nc("hsv",f);e(h),r(h.hex)};return he.useEffect(()=>{o.current!==null&&t&&(t(n.hex,cy),r(n.hex))},[n,t]),he.useEffect(()=>{if(l===void 0)return;const p=Nc("hex",l);e(p),r(p.hex)},[l]),ue.jsxs("div",{className:"color-picker-wrapper",style:{width:_d},ref:o,children:[ue.jsx(Cc,{label:"Hex",onChange:i,value:a}),ue.jsx("div",{className:"color-picker-basic-color",children:BO.map(p=>ue.jsx("button",{className:p===n.hex?" active":"",style:{backgroundColor:p},onClick:()=>{r(p),e(Nc("hex",p))}},p))}),ue.jsx(bw,{className:"color-picker-saturation",style:{backgroundColor:`hsl(${n.hsv.h}, 100%, 50%)`},onChange:u,children:ue.jsx("div",{className:"color-picker-saturation_cursor",style:{backgroundColor:n.hex,left:s.x,top:s.y}})}),ue.jsx(bw,{className:"color-picker-hue",onChange:d,children:ue.jsx("div",{className:"color-picker-hue_cursor",style:{backgroundColor:`hsl(${n.hsv.h}, 100%, 50%)`,left:c.x}})}),ue.jsx("div",{className:"color-picker-color",style:{backgroundColor:n.hex}})]})}function bw({className:l,style:t,onChange:n,children:e}){const a=he.useRef(null),r=he.useRef(!1),o=c=>{if(a.current){const{current:i}=a,{width:u,height:d,left:p,top:f}=i.getBoundingClientRect(),h=ww(c.clientX-p,u,0),m=ww(c.clientY-f,d,0);n({x:h,y:m})}},s=c=>{if(c.button!==0)return;o(c);const i=d=>{r.current=!0,cy=!0,o(d)},u=d=>{r.current&&(cy=!1),document.removeEventListener("mousemove",i,!1),document.removeEventListener("mouseup",u,!1),o(d),r.current=!1};document.addEventListener("mousemove",i,!1),document.addEventListener("mouseup",u,!1)};return ue.jsx("div",{ref:a,className:l,style:t,onMouseDown:s,children:e})}function ww(l,t,n){return l>t?t:l<n?n:l}function xw(l){if(l.startsWith("#")){if(l.length===4||l.length===5)return l=l.split("").map((t,n)=>n?t+t:"#").join(""),l;if(l.length===7||l.length===9)return l}else{const t=document.createElement("canvas").getContext("2d");if(!t)throw new Error("2d context not supported or canvas already initialized");return t.fillStyle=l,t.fillStyle}return"#000000"}function Sw(l){const t=(l.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(n,e,a,r)=>"#"+e+e+a+a+r+r).substring(1).match(/.{2}/g)||[]).map(n=>parseInt(n,16));return{b:t[2],g:t[1],r:t[0]}}function uy({r:l,g:t,b:n}){l/=255,t/=255,n/=255;const e=Math.max(l,t,n),a=e-Math.min(l,t,n),r=a?(e===l?(t-n)/a+(t<n?6:0):e===t?2+(n-l)/a:4+(l-t)/a)*60:0,o=e?a/e*100:0,s=e*100;return{h:r,s:o,v:s}}function UO({h:l,s:t,v:n}){t/=100,n/=100;const e=~~(l/60),a=l/60-e,r=n*(1-t),o=n*(1-t*a),s=n*(1-t*(1-a)),c=e%6,i=Math.round([n,o,r,r,s,n][c]*255),u=Math.round([s,n,n,o,r,r][c]*255);return{b:Math.round([r,r,s,n,n,o][c]*255),g:u,r:i}}function Ew({b:l,g:t,r:n}){return"#"+[n,t,l].map(e=>e.toString(16).padStart(2,"0")).join("")}function Nc(l,t){let n=xw("#121212"),e=Sw(n),a=uy(e);return l==="hex"?(n=xw(t),e=Sw(n),a=uy(e)):l==="rgb"?(e=t,n=Ew(e),a=uy(e)):l==="hsv"&&(a=t,e=UO(a),n=Ew(e)),{hex:n,hsv:a,rgb:e}}function HO(l,t,...n){if(!l)throw new Error("Internal Lexical error: invariant() is meant to be replaced at compile time. There is no runtime version. Error: "+t)}function dy(l){const t=l.getShape();return{columns:t.toX-t.fromX+1,rows:t.toY-t.fromY+1}}function $O(l){const t=l.getNodes(),n=[];let e=null,a=null,r=0;for(let o=0;o<t.length;o++){const s=t[o];if(yn(s)){const c=s.getParentOrThrow();if(HO(Rr(c),"Expected CellNode to have a RowNode parent"),e!==c){if(a!==null&&r!==a)return!1;e!==null&&(a=r),e=c,r=0}const i=s.__colSpan;for(let u=0;u<i;u++)n[r+u]===void 0&&(n[r+u]=0),n[r+u]+=s.__rowSpan;r+=i}}return(a===null||r===a)&&n.every(o=>o===n[0])}function qO(){const l=Tt();if(Ct(l)&&!l.isCollapsed()||dr(l)&&!l.anchor.is(l.focus)||!Ct(l)&&!dr(l))return!1;const[t]=Ao(l.anchor);return t.__colSpan>1||t.__rowSpan>1}function Cw(l){if(l.getChildrenSize()!==1)return!1;const t=l.getFirstChildOrThrow();return!(!Dr(t)||!t.isEmpty())}function WO(l){const t=l.getLastDescendant();Wt(t)?t.select():kt(t)?t.selectEnd():t!==null&&t.selectNext()}function jw(l){return l.getEditorState().read(()=>{const t=Tt();if(Ct(t)||dr(t)){const[n]=Ao(t.anchor);if(yn(n))return n.getBackgroundColor()}return null})}function JO({onClose:l,tableCellNode:t,setIsMenuOpen:n,contextRef:e,cellMerge:a,showColorPickerModal:r}){const[o]=xn(),s=he.useRef(null),[c,i]=he.useState(t),[u,d]=he.useState({columns:1,rows:1}),[p,f]=he.useState(!1),[h,m]=he.useState(!1),[g,_]=he.useState(()=>jw(o)||"");he.useEffect(()=>o.registerMutationListener(is,F=>{F.get(c.getKey())==="updated"&&(o.getEditorState().read(()=>{i(c.getLatest())}),_(jw(o)||""))}),[o,c]),he.useEffect(()=>{o.getEditorState().read(()=>{const F=Tt();if(dr(F)){const O=dy(F);d(dy(F)),f($O(F)&&(O.columns>1||O.rows>1))}m(qO())})},[o]),he.useEffect(()=>{const F=e.current,O=s.current,j=o.getRootElement();if(F!=null&&O!=null&&j!=null){const P=j.getBoundingClientRect(),R=F.getBoundingClientRect();O.style.opacity="1";const N=O.getBoundingClientRect(),U=5;let M=R.right+U;if(M+N.width>window.innerWidth||M+N.width>P.right){const V=R.left-N.width-U;M=(V<0?U:V)+window.pageXOffset}O.style.left=`${M+window.pageXOffset}px`;let z=R.top;if(z+N.height>window.innerHeight){const V=R.bottom-N.height;z=(V<0?U:V)+window.pageYOffset}O.style.top=`${z+ +window.pageYOffset}px`}},[e,s,o]),he.useEffect(()=>{function F(O){s.current!=null&&e.current!=null&&!s.current.contains(O.target)&&!e.current.contains(O.target)&&n(!1)}return window.addEventListener("click",F),()=>window.removeEventListener("click",F)},[n,e]);const v=he.useCallback(()=>{o.update(()=>{if(c.isAttached()){const O=Pa(c),j=o.getElementByKey(O.getKey());if(!j)throw new Error("Expected to find tableElement in DOM");const P=Q2(j);P!==null&&P.clearHighlight(),O.markDirty(),i(c.getLatest())}zn().selectStart()})},[o,c]),w=()=>{o.update(()=>{const F=Tt();if(dr(F)){const{columns:O,rows:j}=dy(F),P=F.getNodes();let R=null;for(let N=0;N<P.length;N++){const U=P[N];if(yn(U))if(R===null){U.setColSpan(O).setRowSpan(j),R=U;const M=Cw(U);let z;M&&Dr(z=U.getFirstChild())&&z.remove()}else yn(R)&&(Cw(U)||R.append(...U.getChildren()),U.remove())}R!==null&&(R.getChildrenSize()===0&&R.append(Cn()),WO(R)),l()}})},S=()=>{o.update(()=>{G2()})},E=he.useCallback(F=>{o.update(()=>{W2(F),l()})},[o,l]),b=he.useCallback(F=>{o.update(()=>{for(let O=0;O<u.columns;O++)J2(F);l()})},[o,l,u.columns]),y=he.useCallback(()=>{o.update(()=>{V2(),l()})},[o,l]),x=he.useCallback(()=>{o.update(()=>{Pa(c).remove(),v(),l()})},[o,c,v,l]),C=he.useCallback(()=>{o.update(()=>{K2(),l()})},[o,l]),T=he.useCallback(()=>{o.update(()=>{const F=Pa(c),O=Qb(c),j=F.getChildren();if(O>=j.length||O<0)throw new Error("Expected table cell to be inside of table row.");const P=j[O];if(!Rr(P))throw new Error("Expected table row");P.getChildren().forEach(R=>{if(!yn(R))throw new Error("Expected table cell");R.toggleHeaderStyle(Ur.ROW)}),v(),l()})},[o,c,v,l]),L=he.useCallback(()=>{o.update(()=>{const F=Pa(c),O=Mm(c),j=F.getChildren(),P=Math.max(...j.map(R=>R.getChildren().length));if(O>=P||O<0)throw new Error("Expected table cell to be inside of table row.");for(let R=0;R<j.length;R++){const N=j[R];if(!Rr(N))throw new Error("Expected table row");const U=N.getChildren();if(O>=U.length)continue;const M=U[O];if(!yn(M))throw new Error("Expected table cell");M.toggleHeaderStyle(Ur.COLUMN)}v(),l()})},[o,c,v,l]),B=he.useCallback(F=>{o.update(()=>{const O=Tt();if(Ct(O)||dr(O)){const[j]=Ao(O.anchor);if(yn(j)&&j.setBackgroundColor(F),dr(O)){const P=O.getNodes();for(let R=0;R<P.length;R++){const N=P[R];yn(N)&&N.setBackgroundColor(F)}}}})},[o]);let D=null;return a&&(p?D=ue.jsx("button",{type:"button",className:"item",onClick:()=>w(),"data-test-id":"table-merge-cells",children:"Merge cells"}):h&&(D=ue.jsx("button",{type:"button",className:"item",onClick:()=>S(),"data-test-id":"table-unmerge-cells",children:"Unmerge cells"}))),so.createPortal(ue.jsxs("div",{className:"dropdown",ref:s,onClick:F=>{F.stopPropagation()},children:[D,ue.jsx("button",{type:"button",className:"item",onClick:()=>r("Cell background color",()=>ue.jsx(zO,{color:g,onChange:B})),"data-test-id":"table-background-color",children:ue.jsx("span",{className:"text",children:"Background color"})}),ue.jsx("hr",{}),ue.jsx("button",{type:"button",className:"item",onClick:()=>E(!1),"data-test-id":"table-insert-row-above",children:ue.jsxs("span",{className:"text",children:["Insert"," ",u.rows===1?"row":`${u.rows} rows`," ","above"]})}),ue.jsx("button",{type:"button",className:"item",onClick:()=>E(!0),"data-test-id":"table-insert-row-below",children:ue.jsxs("span",{className:"text",children:["Insert"," ",u.rows===1?"row":`${u.rows} rows`," ","below"]})}),ue.jsx("hr",{}),ue.jsx("button",{type:"button",className:"item",onClick:()=>b(!1),"data-test-id":"table-insert-column-before",children:ue.jsxs("span",{className:"text",children:["Insert"," ",u.columns===1?"column":`${u.columns} columns`," ","left"]})}),ue.jsx("button",{type:"button",className:"item",onClick:()=>b(!0),"data-test-id":"table-insert-column-after",children:ue.jsxs("span",{className:"text",children:["Insert"," ",u.columns===1?"column":`${u.columns} columns`," ","right"]})}),ue.jsx("hr",{}),ue.jsx("button",{type:"button",className:"item",onClick:()=>C(),"data-test-id":"table-delete-columns",children:ue.jsx("span",{className:"text",children:"Delete column"})}),ue.jsx("button",{type:"button",className:"item",onClick:()=>y(),"data-test-id":"table-delete-rows",children:ue.jsx("span",{className:"text",children:"Delete row"})}),ue.jsx("button",{type:"button",className:"item",onClick:()=>x(),"data-test-id":"table-delete",children:ue.jsx("span",{className:"text",children:"Delete table"})}),ue.jsx("hr",{}),ue.jsx("button",{type:"button",className:"item",onClick:()=>T(),children:ue.jsxs("span",{className:"text",children:[(c.__headerState&Ur.ROW)===Ur.ROW?"Remove":"Add"," ","row header"]})}),ue.jsx("button",{type:"button",className:"item",onClick:()=>L(),"data-test-id":"table-column-header",children:ue.jsxs("span",{className:"text",children:[(c.__headerState&Ur.COLUMN)===Ur.COLUMN?"Remove":"Add"," ","column header"]})})]}),document.body)}function VO({anchorElem:l,cellMerge:t}){const[n]=xn(),e=he.useRef(null),a=he.useRef(null),[r,o]=he.useState(!1),[s,c]=he.useState(null),[i,u]=Da(),d=he.useCallback(()=>{const f=e.current,h=Tt(),m=window.getSelection(),g=document.activeElement;if(h==null||f==null){c(null);return}const _=n.getRootElement();if(Ct(h)&&_!==null&&m!==null&&_.contains(m.anchorNode)){const v=q2(h.anchor.getNode());if(v==null){c(null);return}if(n.getElementByKey(v.getKey())==null){c(null);return}c(v)}else g||c(null)},[n]);he.useEffect(()=>n.registerUpdateListener(()=>{n.getEditorState().read(()=>{d()})})),he.useEffect(()=>{const f=e.current;if(f!=null&&s!=null){const h=n.getElementByKey(s.getKey());if(h!=null){const m=h.getBoundingClientRect(),g=f.getBoundingClientRect(),_=l.getBoundingClientRect(),v=m.top-_.top+4,w=m.right-g.width-10-_.left;f.style.opacity="1",f.style.transform=`translate(${w}px, ${v}px)`}else f.style.opacity="0",f.style.transform="translate(-10000px, -10000px)"}},[e,s,n,l]);const p=he.useRef(s);return he.useEffect(()=>{p.current!==s&&o(!1),p.current=s},[p,s]),ue.jsx("div",{className:"table-cell-action-button-container",ref:e,children:s!=null&&ue.jsxs(ue.Fragment,{children:[ue.jsx("button",{type:"button",className:"table-cell-action-button chevron-down",onClick:f=>{f.stopPropagation(),o(!r)},ref:a,children:ue.jsx("i",{className:"chevron-down"})}),i,r&&ue.jsx(JO,{contextRef:a,setIsMenuOpen:o,onClose:()=>o(!1),tableCellNode:s,cellMerge:t,showColorPickerModal:u})]})})}function kw({anchorElem:l=document.body,cellMerge:t=!1}){const n=ty();return so.createPortal(n?ue.jsx(VO,{anchorElem:l,cellMerge:t}):null,l)}const dR="",KO=33,GO=50;function YO({editor:l}){const t=he.useRef(null),n=he.useRef(null),e=he.useRef(null),a=he.useRef(null),[r,o]=he.useState(null),[s,c]=he.useState(null),[i,u]=he.useState(!1),[d,p]=he.useState(null);he.useEffect(()=>l.registerCommand(vi,E=>{const b=Tt(),y=dr(b);return i!==y&&u(y),!1},rs));const f=he.useCallback(()=>{c(null),t.current=null,p(null),a.current=null,e.current=null},[]);he.useEffect(()=>{const E=b=>{setTimeout(()=>{const y=b.target;if(d){o({x:b.clientX,y:b.clientY});return}if(!(n.current&&n.current.contains(y))&&t.current!==y){t.current=y;const x=Lm(y);x&&s!==x?l.update(()=>{const C=po(x.elem);if(!C)return;const T=Pa(C),L=l.getElementByKey(T.getKey());if(!L){console.error("TableCellResizer: Table element not found.");return}t.current=y,e.current=L.getBoundingClientRect(),c(x)}):x==null&&f()}},0)};return document.addEventListener("mousemove",E),()=>{document.removeEventListener("mousemove",E)}},[s,d,l,f]);const h=E=>E==="bottom",m=he.useCallback(E=>{if(!s){console.error("TableCellResizer: Expected active cell.");return}l.update(()=>{const b=po(s.elem);if(!yn(b)){console.error("TableCellResizer: Table cell node not found.");return}const y=Pa(b),x=Qb(b),C=y.getChildren();if(x>=C.length||x<0){console.error("Expected table cell to be inside of table row.");return}const T=C[x];if(!Rr(T)){console.error("Expected table row");return}T.setHeight(E)})},[s,l]),g=he.useCallback(E=>{if(!s){console.error("TableCellResizer: Expected active cell.");return}l.update(()=>{const b=po(s.elem);if(!yn(b)){console.error("TableCellResizer: Table cell node not found.");return}const y=Pa(b),x=Mm(b),C=y.getChildren();for(let T=0;T<C.length;T++){const L=C[T];if(!Rr(L)){console.error("Expected table row");return}const B=L.getChildren(),O=B.map(P=>P.getColSpan()).reduce((P,R)=>{const N=P[P.length-1]??0;return P.push(N+R),P},[]).findIndex(P=>P>x);if(O>=B.length||O<0){console.error("Expected table cell to be inside of table row.");return}const j=B[O];if(!yn(j)){console.error("Expected table cell");return}j.setWidth(E)}})},[s,l]),_=he.useCallback(E=>{const b=y=>{if(y.preventDefault(),y.stopPropagation(),!s){console.error("TableCellResizer: Expected active cell.");return}if(a.current){const{x,y:C}=a.current;if(s===null)return;if(h(E)){const T=s.elem.getBoundingClientRect().height,L=Math.abs(y.clientY-C),B=E==="bottom"&&C>y.clientY;m(Math.max(B?T-L:L+T,KO))}else{const T=getComputedStyle(s.elem);let L=s.elem.clientWidth;L-=parseFloat(T.paddingLeft)+parseFloat(T.paddingRight);const B=Math.abs(y.clientX-x),D=E==="right"&&x>y.clientX;g(Math.max(D?L-B:B+L,GO))}f(),document.removeEventListener("mouseup",b)}};return b},[s,f,g,m]),v=he.useCallback(E=>b=>{if(b.preventDefault(),b.stopPropagation(),!s){console.error("TableCellResizer: Expected active cell.");return}a.current={x:b.clientX,y:b.clientY},o(a.current),p(E),document.addEventListener("mouseup",_(E))},[s,_]),S=he.useCallback(()=>{if(s){const{height:E,width:b,top:y,left:x}=s.elem.getBoundingClientRect(),C={bottom:{backgroundColor:"none",cursor:"row-resize",height:"10px",left:`${window.pageXOffset+x}px`,top:`${window.pageYOffset+y+E}px`,width:`${b}px`},right:{backgroundColor:"none",cursor:"col-resize",height:`${E}px`,left:`${window.pageXOffset+x+b}px`,top:`${window.pageYOffset+y}px`,width:"10px"}},T=e.current;return d&&r&&T&&(h(d)?(C[d].left=`${window.pageXOffset+T.left}px`,C[d].top=`${window.pageYOffset+r.y}px`,C[d].height="3px",C[d].width=`${T.width}px`):(C[d].top=`${window.pageYOffset+T.top}px`,C[d].left=`${window.pageXOffset+r.x}px`,C[d].width="3px",C[d].height=`${T.height}px`),C[d].backgroundColor="#adf"),C}return{bottom:null,left:null,right:null,top:null}},[s,d,r])();return ue.jsx("div",{ref:n,children:s!=null&&!i&&ue.jsxs(ue.Fragment,{children:[ue.jsx("div",{className:"TableCellResizer__resizer TableCellResizer__ui",style:S.right||void 0,onMouseDown:v("right")}),ue.jsx("div",{className:"TableCellResizer__resizer TableCellResizer__ui",style:S.bottom||void 0,onMouseDown:v("bottom")})]})})}function Tw({isEditable:l=!0}){const[t]=xn();return he.useMemo(()=>l?so.createPortal(ue.jsx(YO,{editor:t}),document.body):null,[t,l])}const Ow=sr.createContext(null),Nw=4;function bo({children:l,className:t,onClick:n,title:e}){const a=he.useRef(null),r=sr.useContext(Ow);if(r===null)throw new Error("DropDownItem must be used within a DropDown");const{registerItem:o}=r;return he.useEffect(()=>{a&&a.current&&o(a)},[a,o]),ue.jsx("button",{className:t,onClick:n,ref:a,title:e,type:"button",children:l})}function ZO({children:l,dropDownRef:t,onClose:n}){const[e,a]=he.useState(),[r,o]=he.useState(),s=he.useCallback(u=>{a(d=>d?[...d,u]:[u])},[a]),c=u=>{if(!e)return;const d=u.key;["Escape","ArrowUp","ArrowDown","Tab"].includes(d)&&u.preventDefault(),d==="Escape"||d==="Tab"?n():d==="ArrowUp"?o(p=>{if(!p)return e[0];const f=e.indexOf(p)-1;return e[f===-1?e.length-1:f]}):d==="ArrowDown"&&o(p=>p?e[e.indexOf(p)+1]:e[0])},i=he.useMemo(()=>({registerItem:s}),[s]);return he.useEffect(()=>{e&&!r&&o(e[0]),r&&r.current&&r.current.focus()},[e,r]),ue.jsx(Ow.Provider,{value:i,children:ue.jsx("div",{className:"dropdown",ref:t,onKeyDown:c,children:l})})}function bd({disabled:l=!1,buttonLabel:t,buttonAriaLabel:n,buttonClassName:e,buttonIconClassName:a,children:r,stopCloseOnClickSelf:o}){const s=he.useRef(null),c=he.useRef(null),[i,u]=he.useState(!1),d=()=>{u(!1),c&&c.current&&c.current.focus()};return he.useEffect(()=>{const p=c.current,f=s.current;if(i&&p!==null&&f!==null){const{top:h,left:m}=p.getBoundingClientRect();f.style.top=`${h+p.offsetHeight+Nw}px`,f.style.left=`${Math.min(m,window.innerWidth-f.offsetWidth-20)}px`}},[s,c,i]),he.useEffect(()=>{const p=c.current;if(p!==null&&i){const f=h=>{const m=h.target;o&&s.current&&s.current.contains(m)||p.contains(m)||u(!1)};return document.addEventListener("click",f),()=>{document.removeEventListener("click",f)}}},[s,c,i,o]),he.useEffect(()=>{const p=()=>{if(i){const f=c.current,h=s.current;if(f!==null&&h!==null){const{top:m}=f.getBoundingClientRect(),g=m+f.offsetHeight+Nw;g!==h.getBoundingClientRect().top&&(h.style.top=`${g}px`)}}};return document.addEventListener("scroll",p),()=>{document.removeEventListener("scroll",p)}},[c,s,i]),ue.jsxs(ue.Fragment,{children:[ue.jsxs("button",{type:"button",disabled:l,"aria-label":n||t,className:e,onClick:()=>u(!i),ref:c,children:[a&&ue.jsx("span",{className:a}),t&&ue.jsx("span",{className:"text dropdown-button-text",children:t}),ue.jsx("i",{className:"chevron-down"})]}),i&&so.createPortal(ue.jsx(ZO,{dropDownRef:s,onClose:d,children:r}),document.body)]})}function Aw(l){const t=l.anchor,n=l.focus,e=l.anchor.getNode(),a=l.focus.getNode();return e===a?e:l.isBackward()?sb(n)?e:a:sb(t)?e:a}const Pw=8,Iw=72,Ra={h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",h5:"Heading 5",paragraph:"Normal"},XO=({selectionFontSize:l,disabled:t,editor:n,blockType:e,styleConfig:a,isenterPressed:r,currentElementClick:o,currentElementSelect:s})=>{const[c,i]=sr.useState(l),[u,d]=sr.useState(e),[p,f]=sr.useState("");sr.useState([]),sr.useState("");const{heading:h}=a||{},m=S=>{S&&S.title&&n.update(()=>{if(n.isEditable()){const E=Tt();E&&gm(E,S)}})},g=S=>{i(S.target.value)},_=()=>{const S=Number(c);if(!isNaN(S)){const E=Math.min(Math.max(S,Pw),Iw);i(String(E)),m({"font-size":`${E}px`})}},v=S=>{var b,y,x,C,T;f(S),n.update(()=>{const L=Tt();Ct(L)&&i2(L,()=>Cl(S))});let E=null;if(h)switch(S){case"h1":E=((b=h.find(L=>L.title==="Heading1"))==null?void 0:b.fontSize)??56;break;case"h2":E=((y=h.find(L=>L.title==="Heading2"))==null?void 0:y.fontSize)??14;break;case"h3":E=((x=h.find(L=>L.title==="Heading3"))==null?void 0:x.fontSize)??12;break;case"h4":E=((C=h.find(L=>L.title==="Heading4"))==null?void 0:C.fontSize)??12;break;case"h5":E=((T=h.find(L=>L.title==="Heading5"))==null?void 0:T.fontSize)??12;break;case"paragraph":E=15;break;default:E=15}i(E),f(S),d(S)},w=()=>{i("15")};return sr.useEffect(()=>{w()},[r]),sr.useEffect(()=>{const S=()=>{n.update(()=>{const E=Tt();if(E!==null){const y=E.getNodes()[0];if(!Wt(y)){const x=y.getType();x in Ra&&d(x)}}})};return n.registerUpdateListener(S),()=>{n.registerUpdateListener(S)}},[n]),sr.useEffect(()=>{var S,E,b,y,x;switch(o.tagName){case"P":d("paragraph"),i("15");break;case"H1":d("h1");const C=((S=a.heading.find(F=>F.title==="Heading1"))==null?void 0:S.fontSize)??"16";i(C);break;case"H2":d("h2");const T=((E=a.heading.find(F=>F.title==="Heading2"))==null?void 0:E.fontSize)??"14";i(T);break;case"H3":d("h3");const L=((b=a.heading.find(F=>F.title==="Heading3"))==null?void 0:b.fontSize)??"12";i(L);break;case"H4":d("h4");const B=((y=a.heading.find(F=>F.title==="Heading4"))==null?void 0:y.fontSize)??"12";i(B);break;case"H5":d("h5");const D=((x=a.heading.find(F=>F.title==="Heading5"))==null?void 0:x.fontSize)??"12";i(D);break;default:d("paragraph"),i("15");break}},[o]),sr.useEffect(()=>{var E,b,y,x,C;if(!s){i("15"),d("paragraph");return}switch(s.trim()){case"P":i("15"),d("paragraph");break;case"h1":d("h1");const T=((E=a.heading.find(O=>O.title==="Heading1"))==null?void 0:E.fontSize)??"16";i(T);break;case"h2":d("h2");const L=((b=a.heading.find(O=>O.title==="Heading2"))==null?void 0:b.fontSize)??"14";i(L);break;case"h3":d("h3");const B=((y=a.heading.find(O=>O.title==="Heading3"))==null?void 0:y.fontSize)??"12";i(B);break;case"h4":d("h4");const D=((x=a.heading.find(O=>O.title==="Heading4"))==null?void 0:x.fontSize)??"12";i(D);break;case"h5":d("h5");const F=((C=a.heading.find(O=>O.title==="Heading5"))==null?void 0:C.fontSize)??"12";i(F);break;default:d("paragraph"),i("15");break}},[s]),ue.jsxs(ue.Fragment,{children:[a&&a.heading?ue.jsxs(bd,{disabled:t,buttonClassName:"toolbar-item block-controls",buttonAriaLabel:"Formatting options for text style",buttonIconClassName:"icon block-type "+u,buttonLabel:Ra[u],children:[ue.jsxs(bo,{className:`item ${u==="paragraph"?"active":""}`,onClick:()=>v("paragraph"),children:[ue.jsx("i",{className:"icon paragraph"}),ue.jsx("span",{className:"text",children:Ra.paragraph})]}),a.heading&&a.heading.find(S=>S.title==="Heading1")&&ue.jsxs(bo,{className:`item ${u==="h1"?"active":""}`,onClick:()=>v("h1"),children:[ue.jsx("i",{className:"icon h1"}),ue.jsx("span",{className:"text",children:Ra.h1})]}),a.heading&&a.heading.find(S=>S.title==="Heading2")&&ue.jsxs(bo,{className:`item ${u==="h2"?"active":""}`,onClick:()=>v("h2"),children:[ue.jsx("i",{className:"icon h2"}),ue.jsx("span",{className:"text",children:Ra.h2})]}),a.heading&&a.heading.find(S=>S.title==="Heading3")&&ue.jsxs(bo,{className:`item ${u==="h3"?"active":""}`,onClick:()=>v("h3"),children:[ue.jsx("i",{className:"icon h3"}),ue.jsx("span",{className:"text",children:Ra.h3})]}),a.heading&&a.heading.find(S=>S.title==="Heading4")&&ue.jsxs(bo,{className:`item ${u==="h4"?"active":""}`,onClick:()=>v("h4"),children:[ue.jsx("i",{className:"icon h4"}),ue.jsx("span",{className:"text",children:Ra.h4})]}),a.heading&&a.heading.find(S=>S.title==="Heading5")&&ue.jsxs(bo,{className:`item ${u==="h5"?"active":""}`,onClick:()=>v("h5"),children:[ue.jsx("i",{className:"icon h5"}),ue.jsx("span",{className:"text",children:Ra.h5})]})]}):"",ue.jsx("input",{style:{width:"60px"},title:"Font Size",type:"text",value:c,disabled:t,readOnly:!0,className:"toolbar-item font-size-input input-font-size-value",min:Pw,max:Iw,onChange:g,onBlur:_})]})},QO=Oc&&"documentMode"in document?document.documentMode:null,La=Oc&&/Mac|iPod|iPhone|iPad/.test(navigator.platform);Oc&&"InputEvent"in window&&!QO&&"getTargetRanges"in new window.InputEvent("input");const eN="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IS0tIFVwbG9hZGVkIHRvOiBTVkcgUmVwbywgd3d3LnN2Z3JlcG8uY29tLCBHZW5lcmF0b3I6IFNWRyBSZXBvIE1peGVyIFRvb2xzIC0tPg0KPHN2ZyB3aWR0aD0iODAwcHgiIGhlaWdodD0iODAwcHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxwYXRoIGQ9Ik0xMi41NTM1IDE2LjUwNjFDMTIuNDExNCAxNi42NjE1IDEyLjIxMDYgMTYuNzUgMTIgMTYuNzVDMTEuNzg5NCAxNi43NSAxMS41ODg2IDE2LjY2MTUgMTEuNDQ2NSAxNi41MDYxTDcuNDQ2NDggMTIuMTMxMUM3LjE2Njk4IDExLjgyNTQgNy4xODgyMiAxMS4zNTEgNy40OTM5MiAxMS4wNzE1QzcuNzk5NjMgMTAuNzkyIDguMjc0MDIgMTAuODEzMiA4LjU1MzUyIDExLjExODlMMTEuMjUgMTQuMDY4MlYzQzExLjI1IDIuNTg1NzkgMTEuNTg1OCAyLjI1IDEyIDIuMjVDMTIuNDE0MiAyLjI1IDEyLjc1IDIuNTg1NzkgMTIuNzUgM1YxNC4wNjgyTDE1LjQ0NjUgMTEuMTE4OUMxNS43MjYgMTAuODEzMiAxNi4yMDA0IDEwLjc5MiAxNi41MDYxIDExLjA3MTVDMTYuODExOCAxMS4zNTEgMTYuODMzIDExLjgyNTQgMTYuNTUzNSAxMi4xMzExTDEyLjU1MzUgMTYuNTA2MVoiIGZpbGw9IiMxQzI3NEMiLz4NCjxwYXRoIGQ9Ik0zLjc1IDE1QzMuNzUgMTQuNTg1OCAzLjQxNDIyIDE0LjI1IDMgMTQuMjVDMi41ODU3OSAxNC4yNSAyLjI1IDE0LjU4NTggMi4yNSAxNVYxNS4wNTQ5QzIuMjQ5OTggMTYuNDIyNSAyLjI0OTk2IDE3LjUyNDggMi4zNjY1MiAxOC4zOTE4QzIuNDg3NTQgMTkuMjkxOSAyLjc0NjQzIDIwLjA0OTcgMy4zNDgzNSAyMC42NTE2QzMuOTUwMjcgMjEuMjUzNiA0LjcwODE0IDIxLjUxMjUgNS42MDgyNSAyMS42MzM1QzYuNDc1MjIgMjEuNzUgNy41Nzc1NCAyMS43NSA4Ljk0NTEzIDIxLjc1SDE1LjA1NDlDMTYuNDIyNSAyMS43NSAxNy41MjQ4IDIxLjc1IDE4LjM5MTggMjEuNjMzNUMxOS4yOTE5IDIxLjUxMjUgMjAuMDQ5NyAyMS4yNTM2IDIwLjY1MTcgMjAuNjUxNkMyMS4yNTM2IDIwLjA0OTcgMjEuNTEyNSAxOS4yOTE5IDIxLjYzMzUgMTguMzkxOEMyMS43NSAxNy41MjQ4IDIxLjc1IDE2LjQyMjUgMjEuNzUgMTUuMDU0OVYxNUMyMS43NSAxNC41ODU4IDIxLjQxNDIgMTQuMjUgMjEgMTQuMjVDMjAuNTg1OCAxNC4yNSAyMC4yNSAxNC41ODU4IDIwLjI1IDE1QzIwLjI1IDE2LjQzNTQgMjAuMjQ4NCAxNy40MzY1IDIwLjE0NjkgMTguMTkxOUMyMC4wNDgyIDE4LjkyNTcgMTkuODY3OCAxOS4zMTQyIDE5LjU5MSAxOS41OTFDMTkuMzE0MiAxOS44Njc4IDE4LjkyNTcgMjAuMDQ4MiAxOC4xOTE5IDIwLjE0NjlDMTcuNDM2NSAyMC4yNDg0IDE2LjQzNTQgMjAuMjUgMTUgMjAuMjVIOUM3LjU2NDU5IDIwLjI1IDYuNTYzNDcgMjAuMjQ4NCA1LjgwODEyIDIwLjE0NjlDNS4wNzQzNSAyMC4wNDgyIDQuNjg1NzcgMTkuODY3OCA0LjQwOTAxIDE5LjU5MUM0LjEzMjI1IDE5LjMxNDIgMy45NTE4IDE4LjkyNTcgMy44NTMxNSAxOC4xOTE5QzMuNzUxNTkgMTcuNDM2NSAzLjc1IDE2LjQzNTQgMy43NSAxNVoiIGZpbGw9IiMxQzI3NEMiLz4NCjwvc3ZnPg==";var Mw={exports:{}};(function(l,t){(function(n,e){e()})(ma,function(){function n(i,u){return typeof u>"u"?u={autoBom:!1}:typeof u!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),u={autoBom:!u}),u.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(i.type)?new Blob(["\uFEFF",i],{type:i.type}):i}function e(i,u,d){var p=new XMLHttpRequest;p.open("GET",i),p.responseType="blob",p.onload=function(){c(p.response,u,d)},p.onerror=function(){console.error("could not download file")},p.send()}function a(i){var u=new XMLHttpRequest;u.open("HEAD",i,!1);try{u.send()}catch{}return 200<=u.status&&299>=u.status}function r(i){try{i.dispatchEvent(new MouseEvent("click"))}catch{var u=document.createEvent("MouseEvents");u.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),i.dispatchEvent(u)}}var o=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof ma=="object"&&ma.global===ma?ma:void 0,s=o.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),c=o.saveAs||(typeof window!="object"||window!==o?function(){}:"download"in HTMLAnchorElement.prototype&&!s?function(i,u,d){var p=o.URL||o.webkitURL,f=document.createElement("a");u=u||i.name||"download",f.download=u,f.rel="noopener",typeof i=="string"?(f.href=i,f.origin===location.origin?r(f):a(f.href)?e(i,u,d):r(f,f.target="_blank")):(f.href=p.createObjectURL(i),setTimeout(function(){p.revokeObjectURL(f.href)},4e4),setTimeout(function(){r(f)},0))}:"msSaveOrOpenBlob"in navigator?function(i,u,d){if(u=u||i.name||"download",typeof i!="string")navigator.msSaveOrOpenBlob(n(i,d),u);else if(a(i))e(i,u,d);else{var p=document.createElement("a");p.href=i,p.target="_blank",setTimeout(function(){r(p)})}}:function(i,u,d,p){if(p=p||open("","_blank"),p&&(p.document.title=p.document.body.innerText="downloading..."),typeof i=="string")return e(i,u,d);var f=i.type==="application/octet-stream",h=/constructor/i.test(o.HTMLElement)||o.safari,m=/CriOS\/[\d]+/.test(navigator.userAgent);if((m||f&&h||s)&&typeof FileReader<"u"){var g=new FileReader;g.onloadend=function(){var w=g.result;w=m?w:w.replace(/^data:[^;]*;/,"data:attachment/file;"),p?p.location.href=w:location=w,p=null},g.readAsDataURL(i)}else{var _=o.URL||o.webkitURL,v=_.createObjectURL(i);p?p.location=v:location.href=v,p=null,setTimeout(function(){_.revokeObjectURL(v)},4e4)}});o.saveAs=c.saveAs=c,l.exports=c})})(Mw);var tN=Mw.exports;function wd(l){const t=document.createElement("div");return t.innerHTML=l,t.querySelectorAll("*").forEach(e=>{let a="";if(e.classList.contains("PlaygroundEditorTheme__textItalic")&&e.classList.contains("PlaygroundEditorTheme__textStrikethrough")){a+="text-decoration: line-through; ";const r=document.createElement("span");r.style.cssText=a.trim();const o=document.createElement("i");o.innerHTML=e.innerHTML,r.appendChild(o),e.innerHTML="",e.appendChild(r)}else if(e.classList.contains("PlaygroundEditorTheme__textBold")&&e.classList.contains("PlaygroundEditorTheme__textItalic")&&e.classList.contains("PlaygroundEditorTheme__textStrikethrough")){a+="text-decoration: line-through; ";const r=document.createElement("span");r.style.cssText=a.trim();const o=document.createElement("i"),s=document.createElement("strong");s.innerHTML=e.innerHTML,o.appendChild(s),r.appendChild(o),e.innerHTML="",e.appendChild(r)}else{if(e.classList.contains("PlaygroundEditorTheme__textStrikethrough")&&(a+="text-decoration: line-through; "),e.classList.contains("PlaygroundEditorTheme__textUnderlineStrikethrough")&&(a+="text-decoration: line-through underline; "),e.classList.contains("PlaygroundEditorTheme__textBold")){const r=document.createElement("strong");r.innerHTML=e.innerHTML,e.innerHTML="",e.appendChild(r)}if(e.classList.contains("PlaygroundEditorTheme__textItalic")){const r=document.createElement("i");r.innerHTML=e.innerHTML,e.innerHTML="",e.appendChild(r)}if(e.classList.contains("PlaygroundEditorTheme__textUnderline")){const r=document.createElement("u");r.innerHTML=e.innerHTML,e.innerHTML="",e.appendChild(r)}if(a){const r=document.createElement("span");r.style.cssText=a.trim(),r.innerHTML=e.innerHTML,e.innerHTML="",e.appendChild(r)}}}),t.innerHTML}function nN(l){const n=new DOMParser().parseFromString(l,"text/html");return n.body.querySelectorAll("*").forEach(a=>{a.textContent.trim().match(/^Table\s*\d*:?/i)&&a.remove()}),n.body.innerHTML}function rN(l){const t=document.createElement("div");t.innerHTML=l;const n=t.querySelectorAll(".PlaygroundEditorTheme__table");return n.length===0?l:(n.forEach(a=>{a.style.width="100%",a.style.border="1px solid black",a.querySelectorAll("tr").forEach(o=>{o.style.border="1px solid black";const s=o.querySelectorAll("td, th"),i=100/s.length+"%";s.forEach(u=>{u.style.width=i,u.style.height="20px",u.style.border="1px solid black",u.innerHTML.trim()||(u.style.width=i,u.style.height="20px",u.innerHTML=" ");const d=u.querySelectorAll(".PlaygroundEditorTheme__textUnderline"),p=u.querySelectorAll(".PlaygroundEditorTheme__textStrikethrough");d.forEach(f=>{f.style.textDecoration="underline"}),p.forEach(f=>{f.style.textDecoration="line-through"}),u.classList.contains("PlaygroundEditorTheme__tableCellHeader")&&(u.style.fontWeight="bold")})})}),nN(t.innerHTML))}function Dw(l){return l=l.replace(/<br\s*\/?>/g,""),l.includes("Crop")&&(l=l.replace(/Crop/g,"")),l}var Rw={exports:{}};/*!
|
|
54
|
+
`?c.insertParagraph():i===" "?c.insertNodes([dc()]):c.insertText(i)}}}else t.insertRawText(r)}function q1(l,t,n){l.dispatchCommand(Ev,{nodes:t,selection:n})||n.insertNodes(t)}function W1(l,t,n,e=[]){let a=t===null||n.isSelected(t);const r=kt(n)&&n.excludeFromCopy("html");let o=n;if(t!==null){let i=ob(n);i=Wt(i)&&t!==null?ib(t,i):i,o=i}const s=kt(o)?o.getChildren():[],c=function(i){const u=i.exportJSON(),d=i.constructor;if(u.type!==d.getType()&&Op(58,d.name),kt(i)){const p=u.children;Array.isArray(p)||Op(59,d.name)}return u}(o);if(Wt(o)){const i=o.__text;i.length>0?c.text=i:a=!1}for(let i=0;i<s.length;i++){const u=s[i],d=W1(l,t,u,c.children);!a&&kt(n)&&d&&n.extractWithChild(u,t,"clone")&&(a=!0)}if(a&&!r)e.push(c);else if(Array.isArray(c.children))for(let i=0;i<c.children.length;i++){const u=c.children[i];e.push(u)}return a}function JT(l,t){const n=[],e=zn().getChildren();for(let a=0;a<e.length;a++)W1(l,t,e[a],n);return{namespace:l._config.namespace,nodes:n}}function VT(l){const t=[];for(let n=0;n<l.length;n++){const e=l[n],a=Zk(e);Wt(a)&&r2(a),t.push(a)}return t}let jc=null;async function J1(l,t){if(jc!==null)return!1;if(t!==null)return new Promise((s,c)=>{l.update(()=>{s(V1(l,t))})});const n=l.getRootElement(),e=l._window==null?window.document:l._window.document,a=z1(l._window);if(n===null||a===null)return!1;const r=e.createElement("span");r.style.cssText="position: fixed; top: -1000px;",r.append(e.createTextNode("#")),n.append(r);const o=new Range;return o.setStart(r,0),o.setEnd(r,1),a.removeAllRanges(),a.addRange(o),new Promise((s,c)=>{const i=l.registerCommand(zu,u=>($s(u,ClipboardEvent)&&(i(),jc!==null&&(window.clearTimeout(jc),jc=null),s(V1(l,u))),!0),Uo);jc=window.setTimeout(()=>{i(),jc=null,s(!1)},50),e.execCommand("copy"),r.remove()})}function V1(l,t){const n=z1(l._window);if(!n)return!1;const e=n.anchorNode,a=n.focusNode;if(e!==null&&a!==null&&!$u(l,e,a))return!1;t.preventDefault();const r=t.clipboardData,o=Tt();if(r===null||o===null)return!1;const s=U1(l),c=WT(l);let i="";return o!==null&&(i=o.getTextContent()),s!==null&&r.setData("text/html",s),c!==null&&r.setData("application/x-lexical-editor",c),r.setData("text/plain",i),!0}function K1(l,t){if(document.caretRangeFromPoint!==void 0){const n=document.caretRangeFromPoint(l,t);return n===null?null:{node:n.startContainer,offset:n.startOffset}}if(document.caretPositionFromPoint!=="undefined"){const n=document.caretPositionFromPoint(l,t);return n===null?null:{node:n.offsetNode,offset:n.offset}}return null}const kc=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0,KT=kc&&"documentMode"in document?document.documentMode:null,GT=!(!kc||!("InputEvent"in window)||KT)&&"getTargetRanges"in new window.InputEvent("input"),YT=kc&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),ZT=kc&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,XT=kc&&/^(?=.*Chrome).*/i.test(navigator.userAgent),QT=kc&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent)&&!XT,ry=fo();class Np extends Br{static getType(){return"quote"}static clone(t){return new Np(t.__key)}constructor(t){super(t)}createDOM(t){const n=document.createElement("blockquote");return zr(n,t.theme.quote),n}updateDOM(t,n){return!1}static importDOM(){return{blockquote:t=>({conversion:tO,priority:0})}}exportDOM(t){const{element:n}=super.exportDOM(t);if(n&&Mi(n)){this.isEmpty()&&n.append(document.createElement("br"));const e=this.getFormatType();n.style.textAlign=e;const a=this.getDirection();a&&(n.dir=a)}return{element:n}}static importJSON(t){const n=G1();return n.setFormat(t.format),n.setIndent(t.indent),n.setDirection(t.direction),n}exportJSON(){return{...super.exportJSON(),type:"quote"}}insertNewAfter(t,n){const e=Cn(),a=this.getDirection();return e.setDirection(a),this.insertAfter(e,n),e}collapseAtStart(){const t=Cn();return this.getChildren().forEach(n=>t.append(n)),this.replace(t),!0}}function G1(){return Ar(new Np)}function eO(l){return l instanceof Np}class Ap extends Br{static getType(){return"heading"}static clone(t){return new Ap(t.__tag,t.__key)}constructor(t,n){super(n),this.__tag=t}getTag(){return this.__tag}createDOM(t){const n=this.__tag,e=document.createElement(n),a=t.theme.heading;if(a!==void 0){const r=a[n];zr(e,r)}return e}updateDOM(t,n){return!1}static importDOM(){return{h1:t=>({conversion:Tc,priority:0}),h2:t=>({conversion:Tc,priority:0}),h3:t=>({conversion:Tc,priority:0}),h4:t=>({conversion:Tc,priority:0}),h5:t=>({conversion:Tc,priority:0}),h6:t=>({conversion:Tc,priority:0}),p:t=>{const n=t.firstChild;return n!==null&&Y1(n)?{conversion:()=>({node:null}),priority:3}:null},span:t=>Y1(t)?{conversion:n=>({node:vd("h1")}),priority:3}:null}}exportDOM(t){const{element:n}=super.exportDOM(t);if(n&&Mi(n)){this.isEmpty()&&n.append(document.createElement("br"));const e=this.getFormatType();n.style.textAlign=e;const a=this.getDirection();a&&(n.dir=a)}return{element:n}}static importJSON(t){const n=vd(t.tag);return n.setFormat(t.format),n.setIndent(t.indent),n.setDirection(t.direction),n}exportJSON(){return{...super.exportJSON(),tag:this.getTag(),type:"heading",version:1}}insertNewAfter(t,n=!0){const e=t?t.anchor.offset:0,a=e!==this.getTextContentSize()&&t?vd(this.getTag()):Cn(),r=this.getDirection();if(a.setDirection(r),this.insertAfter(a,n),e===0&&!this.isEmpty()&&t){const o=Cn();o.select(),this.replace(o,!0)}return a}collapseAtStart(){const t=this.isEmpty()?Cn():vd(this.getTag());return this.getChildren().forEach(n=>t.append(n)),this.replace(t),!0}extractWithChild(){return!0}}function Y1(l){return l.nodeName.toLowerCase()==="span"&&l.style.fontSize==="26pt"}function Tc(l){const t=l.nodeName.toLowerCase();let n=null;return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6"||(n=vd(t),l.style!==null&&n.setFormat(l.style.textAlign)),{node:n}}function tO(l){const t=G1();return l.style!==null&&t.setFormat(l.style.textAlign),{node:t}}function vd(l){return Ar(new Ap(l))}function Pp(l){return l instanceof Ap}function Ip(l){let t=null;if($s(l,DragEvent)?t=l.dataTransfer:$s(l,ClipboardEvent)&&(t=l.clipboardData),t===null)return[!1,[],!1];const n=t.types,e=n.includes("Files"),a=n.includes("text/html")||n.includes("text/plain");return[e,Array.from(t.files),a]}function Z1(l){const t=Tt();if(!Ct(t))return!1;const n=new Set,e=t.getNodes();for(let a=0;a<e.length;a++){const r=e[a],o=r.getKey();if(n.has(o))continue;const s=nr(r,i=>kt(i)&&!i.isInline());if(s===null)continue;const c=s.getKey();s.canIndent()&&!n.has(c)&&(n.add(c),l(s))}return n.size>0}function Mp(l){const t=po(l);return gr(t)}function nO(l){return wr(l.registerCommand(ya,t=>{const n=Tt();return!!fr(n)&&(n.clear(),!0)},0),l.registerCommand(Yi,t=>{const n=Tt();return!!Ct(n)&&(n.deleteCharacter(t),!0)},Tn),l.registerCommand(ml,t=>{const n=Tt();return!!Ct(n)&&(n.deleteWord(t),!0)},Tn),l.registerCommand(wa,t=>{const n=Tt();return!!Ct(n)&&(n.deleteLine(t),!0)},Tn),l.registerCommand(_a,t=>{const n=Tt();if(typeof t=="string")n!==null&&n.insertText(t);else{if(n===null)return!1;const e=t.dataTransfer;if(e!=null)$1(e,n,l);else if(Ct(n)){const a=t.data;return a&&n.insertText(a),!0}}return!0},Tn),l.registerCommand(bf,()=>{const t=Tt();return!!Ct(t)&&(t.removeText(),!0)},Tn),l.registerCommand(Gr,t=>{const n=Tt();return!!Ct(n)&&(n.formatText(t),!0)},Tn),l.registerCommand(yl,t=>{const n=Tt();if(!Ct(n)&&!fr(n))return!1;const e=n.getNodes();for(const a of e){const r=nr(a,o=>kt(o)&&!o.isInline());r!==null&&r.setFormat(t)}return!0},Tn),l.registerCommand(va,t=>{const n=Tt();return!!Ct(n)&&(n.insertLineBreak(t),!0)},Tn),l.registerCommand(gl,()=>{const t=Tt();return!!Ct(t)&&(t.insertParagraph(),!0)},Tn),l.registerCommand(ek,()=>(Ri([dc()]),!0),Tn),l.registerCommand(jv,()=>Z1(t=>{const n=t.getIndent();t.setIndent(n+1)}),Tn),l.registerCommand(kv,()=>Z1(t=>{const n=t.getIndent();n>0&&t.setIndent(n-1)}),Tn),l.registerCommand(Fu,t=>{const n=Tt();if(fr(n)&&!Mp(t.target)){const e=n.getNodes();if(e.length>0)return e[0].selectPrevious(),!0}else if(Ct(n)){const e=Ku(n.focus,!0);if(!t.shiftKey&&gr(e)&&!e.isIsolated()&&!e.isInline())return e.selectPrevious(),t.preventDefault(),!0}return!1},Tn),l.registerCommand(Bu,t=>{const n=Tt();if(fr(n)){const e=n.getNodes();if(e.length>0)return e[0].selectNext(0,0),!0}else if(Ct(n)){if(function(a){const r=a.focus;return r.key==="root"&&r.offset===zn().getChildrenSize()}(n))return t.preventDefault(),!0;const e=Ku(n.focus,!1);if(!t.shiftKey&&gr(e)&&!e.isIsolated()&&!e.isInline())return e.selectNext(),t.preventDefault(),!0}return!1},Tn),l.registerCommand(xf,t=>{const n=Tt();if(fr(n)){const e=n.getNodes();if(e.length>0)return t.preventDefault(),e[0].selectPrevious(),!0}if(!Ct(n))return!1;if(sp(n,!0)){const e=t.shiftKey;return t.preventDefault(),ap(n,e,!0),!0}return!1},Tn),l.registerCommand(wf,t=>{const n=Tt();if(fr(n)&&!Mp(t.target)){const a=n.getNodes();if(a.length>0)return t.preventDefault(),a[0].selectNext(0,0),!0}if(!Ct(n))return!1;const e=t.shiftKey;return!!sp(n,!1)&&(t.preventDefault(),ap(n,e,!1),!0)},Tn),l.registerCommand(Zi,t=>{if(Mp(t.target))return!1;const n=Tt();if(!Ct(n))return!1;t.preventDefault();const{anchor:e}=n,a=e.getNode();return n.isCollapsed()&&e.offset===0&&!zo(a)&&ym(a).getIndent()>0?l.dispatchCommand(kv,void 0):l.dispatchCommand(Yi,!0)},Tn),l.registerCommand(Xi,t=>{if(Mp(t.target))return!1;const n=Tt();return!!Ct(n)&&(t.preventDefault(),l.dispatchCommand(Yi,!1))},Tn),l.registerCommand(Rs,t=>{const n=Tt();if(!Ct(n))return!1;if(t!==null){if((ZT||YT||QT)&>)return!1;if(t.preventDefault(),t.shiftKey)return l.dispatchCommand(va,!1)}return l.dispatchCommand(gl,void 0)},Tn),l.registerCommand(Ls,()=>{const t=Tt();return!!Ct(t)&&(l.blur(),!0)},Tn),l.registerCommand(Ef,t=>{const[,n]=Ip(t);if(n.length>0){const a=K1(t.clientX,t.clientY);if(a!==null){const{offset:r,node:o}=a,s=po(o);if(s!==null){const c=fc();if(Wt(s))c.anchor.set(s.getKey(),r,"text"),c.focus.set(s.getKey(),r,"text");else{const u=s.getParentOrThrow().getKey(),d=s.getIndexWithinParent()+1;c.anchor.set(u,d,"element"),c.focus.set(u,d,"element")}const i=Ag(c);jr(i)}l.dispatchCommand(ry,n)}return t.preventDefault(),!0}const e=Tt();return!!Ct(e)},Tn),l.registerCommand(tc,t=>{const[n]=Ip(t),e=Tt();return!(n&&!Ct(e))},Tn),l.registerCommand(yg,t=>{const[n]=Ip(t),e=Tt();if(n&&!Ct(e))return!1;const a=K1(t.clientX,t.clientY);if(a!==null){const r=po(a.node);gr(r)&&t.preventDefault()}return!0},Tn),l.registerCommand(Cf,()=>(t_(),!0),Tn),l.registerCommand(zu,t=>(J1(l,$s(t,ClipboardEvent)?t:null),!0),Tn),l.registerCommand(Uu,t=>(async function(n,e){await J1(e,$s(n,ClipboardEvent)?n:null),e.update(()=>{const a=Tt();Ct(a)?a.removeText():fr(a)&&a.getNodes().forEach(r=>r.remove())})}(t,l),!0),Tn),l.registerCommand(ba,t=>{const[,n,e]=Ip(t);return n.length>0&&!e?(l.dispatchCommand(ry,n),!0):Pg(t.target)?!1:Tt()!==null&&(function(a,r){a.preventDefault(),r.update(()=>{const o=Tt(),s=$s(a,InputEvent)||$s(a,KeyboardEvent)?null:a.clipboardData;s!=null&&o!==null&&$1(s,o,r)},{tag:"paste"})}(t,l),!0)},Tn))}const oy=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?he.useLayoutEffect:he.useEffect;function X1(l){return l.getEditorState().read(A1(l.isComposing()))}function Dp({contentEditable:l,placeholder:t,ErrorBoundary:n}){const[e]=xn(),a=function(r,o){const[s,c]=he.useState(()=>r.getDecorators());return oy(()=>r.registerDecoratorListener(i=>{so.flushSync(()=>{c(i)})}),[r]),he.useEffect(()=>{c(r.getDecorators())},[r]),he.useMemo(()=>{const i=[],u=Object.keys(s);for(let d=0;d<u.length;d++){const p=u[d],f=ue.jsx(o,{onError:m=>r._onError(m),children:ue.jsx(he.Suspense,{fallback:null,children:s[p]})}),h=r.getElementByKey(p);h!==null&&i.push(so.createPortal(f,h,p))}return i},[o,s,r])}(e,n);return function(r){oy(()=>wr(nO(r),D1(r)),[r])}(e),ue.jsxs(ue.Fragment,{children:[l,ue.jsx(rO,{content:t}),a]})}function rO({content:l}){const[t]=xn(),n=function(a){const[r,o]=he.useState(()=>X1(a));return oy(()=>{function s(){const c=X1(a);o(c)}return s(),wr(a.registerUpdateListener(()=>{s()}),a.registerEditableListener(()=>{s()}))},[a]),r}(t),e=ty();return n?typeof l=="function"?l(e):l:null}function oO(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var Rp=oO(function(l){const t=new URLSearchParams;t.append("code",l);for(let n=1;n<arguments.length;n++)t.append("v",arguments[n]);throw Error(`Minified Lexical error #${l}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)});function Q1({hasCellMerge:l=!0,hasCellBackgroundColor:t=!0,hasTabHandler:n=!0}){const[e]=xn();return he.useEffect(()=>(e.hasNodes([xs,is,jl])||Rp(10),wr(e.registerCommand(z2,({columns:a,rows:r,includeHeaders:o})=>{const s=Im(Number(r),Number(a),o);Sl(s);const c=s.getFirstDescendant();return Wt(c)&&c.select(),!0},Tn),e.registerNodeTransform(xs,a=>{const[r]=e1(a,null,null),o=r.reduce((s,c)=>Math.max(s,c.length),0);for(let s=0;s<r.length;++s){const c=r[s].length;if(c===o)continue;const i=r[s][c-1].cell;for(let u=c;u<o;++u){const d=wi(0);d.append(Cn()),i!==null?i.insertAfter(d):hb(i,d)}}}))),[e]),he.useEffect(()=>{const a=new Map,r=s=>{const c=s.getKey(),i=e.getElementByKey(c);if(i&&!a.has(c)){const u=X2(s,i,e,n);a.set(c,u)}};e.getEditorState().read(()=>{const s=n_(xs);for(const c of s)pr(c)&&r(c)});const o=e.registerMutationListener(xs,s=>{for(const[c,i]of s)if(i==="created")e.getEditorState().read(()=>{const u=Bn(c);pr(u)&&r(u)});else if(i==="destroyed"){const u=a.get(c);u!==void 0&&(u.removeListeners(),a.delete(c))}});return()=>{o();for(const[,s]of a)s.removeListeners()}},[e,n]),he.useEffect(()=>{if(!l)return e.registerNodeTransform(is,a=>{if(a.getColSpan()>1||a.getRowSpan()>1){const[,,r]=Ao(a),[o]=ss(r,a,a),s=o.length,c=o[0].length;let i=r.getFirstChild();Rr(i)||Rp(175);const u=[];for(let d=0;d<s;d++){d!==0&&(i=i.getNextSibling(),Rr(i)||Rp(175));let p=null;for(let f=0;f<c;f++){const h=o[d][f],m=h.cell;if(h.startRow===d&&h.startColumn===f)p=m,u.push(m);else if(m.getColSpan()>1||m.getRowSpan()>1){yn(m)||Rp(176);const g=wi(m.__headerState);p!==null?p.insertAfter(g):hb(i,g)}}}for(const d of u)d.setColSpan(1),d.setRowSpan(1)}})},[e,l]),he.useEffect(()=>{if(!t)return e.registerNodeTransform(is,a=>{a.getBackgroundColor()!==null&&a.setBackgroundColor(null)})},[e,t,l]),null}function iO(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var sO=iO(function(l){const t=new URLSearchParams;t.append("code",l);for(let n=1;n<arguments.length;n++)t.append("v",arguments[n]);throw Error(`Minified Lexical error #${l}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)});function ew(l,t=n=>n){return n=>{const e=l.exec(n);return e===null?null:{index:e.index,length:e[0].length,text:e[0],url:t(e[0])}}}function tw(l,t){for(let n=0;n<t.length;n++){const e=t[n](l);if(e)return e}return null}const aO=/[.,;\s]/;function Lp(l){return aO.test(l)}function nw(l){return Lp(l[l.length-1])}function iy(l){return Lp(l[0])}function rw(l){let t=l.getPreviousSibling();return kt(t)&&(t=t.getLastDescendant()),t===null||_s(t)||Wt(t)&&nw(t.getTextContent())}function ow(l){let t=l.getNextSibling();return kt(t)&&(t=t.getFirstDescendant()),t===null||_s(t)||Wt(t)&&iy(t.getTextContent())}function lO(l,t,n,e){return(l>0?Lp(n[l-1]):rw(e[0]))?t<n.length?Lp(n[t]):ow(e[e.length-1]):!1}function cO(l,t,n){const e=[],a=[],r=[];let o=0,s=0;const c=[...l];for(;c.length>0;){const i=c[0],u=i.getTextContent().length,d=s;s+u<=t?(e.push(i),o+=u):d>=n?r.push(i):a.push(i),s+=u,c.shift()}return[o,e,a,r]}function uO(l,t,n,e){const a=km(e.url,e.attributes);if(l.length===1){let r,o=l[0];t===0?[r,o]=o.splitText(n):[,r,o]=o.splitText(t,n);const s=er(e.text);return s.setFormat(r.getFormat()),s.setDetail(r.getDetail()),s.setStyle(r.getStyle()),a.append(s),r.replace(a),o}if(l.length>1){const r=l[0];let o,s=r.getTextContent().length;t===0?o=r:[,o]=r.splitText(t);const c=[];let i;for(let f=1;f<l.length;f++){const h=l[f],m=h.getTextContent().length,g=s;if(g<n)if(s+m<=n)c.push(h);else{const[_,v]=h.splitText(n-g);c.push(_),i=v}s+=m}const u=Tt(),d=u?u.getNodes().find(Wt):void 0,p=er(o.getTextContent());return p.setFormat(o.getFormat()),p.setDetail(o.getDetail()),p.setStyle(o.getStyle()),a.append(p,...c),d&&d===o&&(Ct(u)?p.select(u.anchor.offset,u.focus.offset):fr(u)&&p.select(0,p.getTextContent().length)),o.replace(a),i}}function sy(l,t,n){const e=l.getChildren(),a=e.length;for(let c=0;c<a;c++){const i=e[c];if(!Wt(i)||!i.isSimpleText())return Fp(l),void n(null,l.getURL())}const r=l.getTextContent(),o=tw(r,t);if(o===null||o.text!==r||!rw(l)||!ow(l))return Fp(l),void n(null,l.getURL());const s=l.getURL();if(s!==o.url&&(l.setURL(o.url),n(o.url,s)),o.attributes){const c=l.getRel();c!==o.attributes.rel&&(l.setRel(o.attributes.rel||null),n(o.attributes.rel||null,c));const i=l.getTarget();i!==o.attributes.target&&(l.setTarget(o.attributes.target||null),n(o.attributes.target||null,i))}}function Fp(l){const t=l.getChildren();for(let n=t.length-1;n>=0;n--)l.insertAfter(t[n]);return l.remove(),t.map(n=>n.getLatest())}function dO(l,t,n){he.useEffect(()=>{l.hasNodes([sd])||sO(77);const e=(a,r)=>{n&&n(a,r)};return wr(l.registerNodeTransform(no,a=>{const r=a.getParentOrThrow(),o=a.getPreviousSibling();if(vc(r)&&!r.getIsUnlinked())sy(r,t,e);else if(!Qo(r)){if(a.isSimpleText()&&(iy(a.getTextContent())||!vc(o))){const s=function(c){const i=[c];let u=c.getNextSibling();for(;u!==null&&Wt(u)&&u.isSimpleText()&&(i.push(u),!/[\s]/.test(u.getTextContent()));)u=u.getNextSibling();return i}(a);(function(c,i,u){let d=[...c];const p=d.map(g=>g.getTextContent()).join("");let f,h=p,m=0;for(;(f=tw(h,i))&&f!==null;){const g=f.index,_=g+f.length;if(lO(m+g,m+_,p,d)){const[v,,w,S]=cO(d,m+g,m+_),E=uO(w,m+g-v,m+_-v,f);d=E?[E,...S]:S,u(f.url,null),m=0}else m+=_;h=h.substring(_)}})(s,t,e)}(function(s,c,i){const u=s.getPreviousSibling(),d=s.getNextSibling(),p=s.getTextContent();!vc(u)||u.getIsUnlinked()||iy(p)&&!/^\.[a-zA-Z0-9]{1,}/.test(p)||(u.append(s),sy(u,c,i),i(null,u.getURL())),!vc(d)||d.getIsUnlinked()||nw(p)||(Fp(d),sy(d,c,i),i(null,d.getURL()))})(a,t,e)}}),l.registerCommand(Aa,a=>{const r=Tt();return a!==null||!Ct(r)||r.extract().forEach(o=>{const s=o.getParent();if(vc(s))return s.setIsUnlinked(!s.getIsUnlinked()),s.markDirty(),!0}),!1},Yn))},[l,t,n])}function fO({matchers:l,onChange:t}){const[n]=xn();return dO(n,l,t),null}const pO=/((https?:\/\/(www\.)?)|(www\.))[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_+.~#?&//=]*)/,hO=/(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))/,gO=[ew(pO,l=>l.startsWith("http")?l:`https://${l}`),ew(hO,l=>`mailto:${l}`)];function iw(){return ue.jsx(fO,{matchers:gO})}function mO({accept:l,label:t,onChange:n,"data-test-id":e}){return ue.jsxs("div",{className:"Input__wrapper",children:[ue.jsx("label",{className:"Input__label",children:t}),ue.jsx("input",{type:"file",accept:l,className:"Input__input",onChange:a=>n(a.target.files),"data-test-id":e})]})}const Oc=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",yO=l=>Oc?(l||window).getSelection():null,Bp=fo();function vO({onClick:l}){const[t,n]=he.useState(""),[e,a]=he.useState(""),r=t==="",o=s=>{const c=new FileReader;c.onload=function(){return typeof c.result=="string"&&n(c.result),""},s!==null&&c.readAsDataURL(s[0])};return ue.jsxs(ue.Fragment,{children:[ue.jsx(mO,{label:"Image Upload",onChange:o,accept:"image/*","data-test-id":"image-modal-file-upload"}),ue.jsx(Cc,{label:"Alt Text",placeholder:"Descriptive alternative text",onChange:a,value:e,"data-test-id":"image-modal-alt-text-input"}),ue.jsx(kp,{children:ue.jsx(Fi,{"data-test-id":"image-modal-file-upload-btn",disabled:r,onClick:()=>l({altText:e,src:t}),children:"Confirm"})})]})}function _O({activeEditor:l,onClose:t,enableCaptions:n}){const[e,a]=he.useState("file"),r=he.useRef(!1);he.useEffect(()=>{r.current=!1;const s=c=>{r.current=c.altKey};return document.addEventListener("keydown",s),()=>{document.removeEventListener("keydown",s)}},[l]);const o=s=>{l.dispatchCommand(Bp,s),console.log("line 202 imageplugin insert image"),t()};return ue.jsx(ue.Fragment,{children:e==="file"&&ue.jsx(vO,{onClick:o})})}function sw(l,t,n,e){l.preventDefault();const a=l.clipboardData;if(!a)return!1;const r=a.items;if(!r||r.length===0)return!1;let o=!1,s=!1;const c=r.length>1?r[1]:r[0];let i=1;if(i===1){if(i=2,c.type==="text/html"&&!o){const u=a.getData("text/html"),p=new DOMParser().parseFromString(u,"text/html").querySelector("img");p&&p.src&&(fetch(p.src).then(f=>f.blob()).then(f=>{const h=new File([f],"pasted-image.png",{type:"image/png"});aw(h,t,e)}).catch(f=>console.error("Error fetching pasted image:",f)),o=!0)}else if(c.type.startsWith("image/")&&!o){const u=c.getAsFile();u&&(aw(u,t,e),o=!0)}else if(c.type.startsWith("text")&&!s){const u=a.getData("text/plain");bO(u,t),s=!0}}return!(!o&&!s)}function aw(l,t,n){const e=new FileReader;e.onload=()=>{const a=e.result,o={altText:l.name,src:a};t.update(()=>{const i=zn().getChildren().filter(_=>Wt(_)&&_.getTextContent().startsWith("Figure")).length+1,u=`Figure ${i}`,d=er(u);d.setStyle("font-weight: bold; display: block; text-align: center; margin-top: 5px; font-size: 14px;");const p=xc({...o,figureLabel:u}),f=Cn();f.setFormat("left");const h=_i(),g=er("");g.setStyle("color: black; font-style: italic; font-weight: bold;"),f.append(p,h,d,g),Ri([f]),to(p.getParentOrThrow())&&vm(p,Cn).selectEnd(),n&&t.update(()=>{const v=zn().getChildren().filter(S=>Dr(S));let w=1;v.forEach(S=>{const E=S.getChildren().find(x=>x.getTextContent().startsWith("Figure")),b=`Figure ${w}:`,y=zp("labelText",i);if(E){const x=new Li(b,"black",y);E.replace(x),w++}})})})},e.readAsDataURL(l)}function bO(l,t){t.update(()=>{const r=`Text ${zn().getChildren().filter(d=>Wt(d)&&d.getTextContent().startsWith("Text")).length+1}`,o=er(r);o.setStyle("font-weight: bold; display: block; text-align: center; margin-top: 5px; font-size: 14px;"),er(l);const s=Cn();s.setFormat("left");const c=_i(),u=er("");u.setStyle("color: black; font-style: italic; font-weight: bold;"),s.append(c,o,u),Ri([s]),t.update(()=>{const p=zn().getChildren().filter(h=>Dr(h));let f=1;p.forEach(h=>{const m=h.getChildren().find(_=>_.getTextContent().startsWith("Text")),g=`Text ${f}:`;if(m){const _=er(g);m.replace(_),f++}})})})}function lw({enableCaptions:l=!0}){const[t]=xn(),[n,e]=he.useState("");return he.useEffect(()=>{if(!t.hasNodes([Sp]))throw new Error("ImagesPlugin: ImageNode not registered on editor");let a=0;return wr(t.registerCommand(Bp,r=>{a+=1;const o=zp("Figure",a);if(l){const s=er(`Figure ${a}:`);s.setStyle("font-weight: bold; display: block; text-align: center; margin-top: 5px; font-size: 14px;"),s.__captionId=o;const c=xc({...r});c.__captionId=o;const i=Cn();i.setFormat("left");const u=_i(),d=n.trim()===""?"":n,p=er(d);p.setStyle(d?"color: black; font-style: italic; font-weight: bold;":"color: gray; font-style: italic; font-weight: normal;"),i.append(c,u,s,p),Ri([i]),to(c.getParentOrThrow())&&vm(c,Cn).selectEnd()}else{const s=xc(r),c=Cn();c.setFormat("left");const i=_i();c.append(s,i),Ri([c]),to(s.getParentOrThrow())&&vm(s,Cn).selectEnd()}return t.update(()=>{const c=zn().getChildren().filter(Dr);let i=1;c.forEach(u=>{const d=u.getChildren().find(_=>_.getTextContent().startsWith("Figure"));if(!d)return;const p=d.__captionId,f=u.getChildren().find(Ma),h=f?f.__captionId:void 0,m=p??h??zp(d.getTextContent(),i),g=new Li(`Figure ${i}:`,"black",m);g.__captionId=m,d.replace(g),i++})}),!0},Tn),t.registerCommand(tc,r=>xO(r),rs),t.registerCommand(yg,r=>SO(r),Yn),t.registerCommand(Ef,r=>EO(r,t),rs),t.registerCommand(ba,r=>{var s;const o=(s=r.clipboardData)==null?void 0:s.items;return o.length<=2&&o.length?sw(r,t,n,l):!1},rs))},[l,t]),null}function zp(l,t){let n=5381;const e=String(t);for(let a=0;a<e.length;a++)n=(n<<5)+n+e.charCodeAt(a);return`Image-${t}-${Math.abs(n%1e6)}`}const wO="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",cw=document.createElement("img");cw.src=wO;function xO(l){const t=ay();if(!t)return!1;const n=l.dataTransfer;return n?(n.setData("text/plain","_"),n.setDragImage(cw,0,0),n.setData("application/x-lexical-drag",JSON.stringify({data:{altText:t.__altText,caption:t.__caption,height:t.__height,key:t.getKey(),maxWidth:t.__maxWidth,showCaption:t.__showCaption,src:t.__src,width:t.__width},type:"image"})),!0):!1}function SO(l){return ay()?(uw(l)||l.preventDefault(),!0):!1}function EO(l,t){const n=ay();if(!n)return!1;const e=CO(l);if(!e)return!1;if(l.preventDefault(),uw(l)){const a=jO(l);n.remove();const r=fc();a!=null&&r.applyDOMRange(a),jr(r),t.dispatchCommand(Bp,e)}return!0}function ay(){const l=Tt();if(!fr(l))return null;const n=l.getNodes()[0];return Ma(n)?n:null}function CO(l){var a;const t=(a=l.dataTransfer)==null?void 0:a.getData("application/x-lexical-drag");if(!t)return null;const{type:n,data:e}=JSON.parse(t);return n!=="image"?null:e}function uw(l){const t=l.target;return!!(t&&t instanceof HTMLElement&&!t.closest("code, span.editor-image")&&t.parentElement&&t.parentElement.closest("div.ContentEditable__root"))}function jO(l){let t;const n=l.target,e=n==null?null:n.nodeType===9?n.defaultView:n.ownerDocument.defaultView,a=yO(e);if(document.caretRangeFromPoint)t=document.caretRangeFromPoint(l.clientX,l.clientY);else if(l.rangeParent&&a!==null)a.collapse(l.rangeParent,l.rangeOffset||0),t=a.getRangeAt(0);else throw Error("Cannot get the selection when dragging");return t}const dw=["image/","image/heic","image/heif","image/gif","image/webp"];function fw(){const[l]=xn();return he.useEffect(()=>l.registerCommand(ry,t=>((async()=>{const n=await d2(t,[dw].flatMap(e=>e));for(const{file:e,result:a}of n)db(e,dw)&&l.dispatchCommand(Bp,{altText:e.name,src:a})})(),!0),Yn),[l]),null}const kO=/(^|$|[^A-Za-zªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎↃↄⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々〆〱-〵〻〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛥꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ])(congrats|congratulations|gratuluju|gratuluji|gratulujeme|blahopřeju|blahopřeji|blahopřejeme|Til lykke|Tillykke|Glückwunsch|Gratuliere|felicitaciones|enhorabuena|paljon onnea|onnittelut|Félicitations|gratula|gratulálok|gratulálunk|congratulazioni|complimenti|おめでとう|おめでとうございます|축하해|축하해요|gratulerer|Gefeliciteerd|gratulacje|Parabéns|parabéns|felicitações|felicitări|мои поздравления|поздравляем|поздравляю|gratulujem|blahoželám|ยินดีด้วย|ขอแสดงความยินดี|tebrikler|tebrik ederim|恭喜|祝贺你|恭喜你|恭喜|恭喜|baie geluk|veels geluk|অভিনন্দন|Čestitam|Čestitke|Čestitamo|Συγχαρητήρια|Μπράβο|અભિનંદન|badhai|बधाई|अभिनंदन|Честитам|Свака част|hongera|வாழ்த்துகள்|வாழ்த்துக்கள்|అభినందనలు|അഭിനന്ദനങ്ങൾ|Chúc mừng|מזל טוב|mazel tov|mazal tov)(^|$|[^A-Za-zªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎↃↄⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々〆〱-〵〻〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛥꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ])/i;function pw(){const[l]=xn();he.useEffect(()=>{if(!l.hasNodes([Sc]))throw new Error("KeywordsPlugin: KeywordNode not registered on editor")},[l]);const t=he.useCallback(e=>m1(e.getTextContent()),[]),n=he.useCallback(e=>{const a=kO.exec(e);if(a===null)return null;const r=a[2].length,o=a.index+a[1].length;return{end:o+r,start:o}},[]);return P1(n,Sc,t),null}function TO({validateUrl:l}){const[t]=xn();return he.useEffect(()=>{if(!t.hasNodes([yc]))throw new Error("LinkPlugin: LinkNode not registered on editor");return wr(t.registerCommand(Aa,n=>{if(n===null)return Tm(n),!0;if(typeof n=="string")return!(l!==void 0&&!l(n))&&(Tm(n),!0);{const{url:e,target:a,rel:r,title:o}=n;return Tm(e,{rel:r,target:a,title:o}),!0}},Yn),l!==void 0?t.registerCommand(ba,n=>{const e=Tt();if(!Ct(e)||e.isCollapsed()||!$s(n,ClipboardEvent))return!1;const a=n;if(a.clipboardData===null)return!1;const r=a.clipboardData.getData("text");return!!l(r)&&!e.getNodes().some(o=>kt(o))&&(t.dispatchCommand(Aa,r),n.preventDefault(),!0)},Yn):()=>{})},[t,l]),null}const OO=new Set(["http:","https:","mailto:","sms:","tel:"]);function hw(l){try{const t=new URL(l);if(!OO.has(t.protocol))return"about:blank"}catch{return l}return l}const NO=new RegExp(/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=+$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=+$,\w]+@)[A-Za-z0-9.-]+)((?:\/[+~%/.\w-_]*)?\??(?:[-+=&;%@.\w_]*)#?(?:[\w]*))?)/);function AO(l){return l==="https://"||NO.test(l)}function ly(){return ue.jsx(TO,{validateUrl:AO})}function PO(l){const t=l.getNodes();return t.length===0?new Set([l.anchor.getNode().getParentOrThrow(),l.focus.getNode().getParentOrThrow()]):new Set(t.map(n=>kt(n)?n:n.getParentOrThrow()))}function IO(l){const t=Tt();if(!Ct(t))return!1;const n=PO(t);let e=0;for(const a of n)if(lr(a))e=Math.max(Om(a)+1,e);else if(Vr(a)){const r=a.getParent();if(!lr(r))throw new Error("ListMaxIndentLevelPlugin: A ListItemNode must have a ListNode for a parent.");e=Math.max(Om(r)+1,e)}return e<=l}function gw({maxDepth:l}){const[t]=xn();return he.useEffect(()=>t.registerCommand(jv,()=>!IO(l??7),Uo),[t,l]),null}const MO=1,DO=100;let mw=0,yw=!1;function RO(){window.addEventListener("keydown",l=>{l.key==="Tab"&&(mw=l.timeStamp)},!0)}function vw(){const[l]=xn();return he.useEffect(()=>(yw||(RO(),yw=!0),l.registerCommand(vg,t=>{const n=Tt();return Ct(n)&&mw+DO>t.timeStamp&&jr(n.clone()),!1},MO)),[l]),null}const cR="";function LO({onClose:l,children:t,title:n,closeOnClickOutside:e}){const a=he.useRef(null);return he.useEffect(()=>{a.current!==null&&a.current.focus()},[]),he.useEffect(()=>{let r=null;const o=i=>{i.key==="Escape"&&l()},s=i=>{const u=i.target;a.current!==null&&!a.current.contains(u)&&e&&l()},c=a.current;return c!==null&&(r=c.parentElement,r!==null&&r.addEventListener("click",s)),window.addEventListener("keydown",o),()=>{window.removeEventListener("keydown",o),r!==null&&(r==null||r.removeEventListener("click",s))}},[e,l]),ue.jsx("div",{className:"Modal__overlay",role:"dialog",children:ue.jsxs("div",{className:"Modal__modal",tabIndex:-1,ref:a,children:[ue.jsx("h2",{className:"Modal__title",children:n}),ue.jsx("button",{className:"Modal__closeButton","aria-label":"Close modal",type:"button",onClick:l,children:"X"}),ue.jsx("div",{className:"Modal__content",children:t})]})})}function FO({onClose:l,children:t,title:n,closeOnClickOutside:e=!1}){return so.createPortal(ue.jsx(LO,{onClose:l,title:n,closeOnClickOutside:e,children:t}),document.body)}function Da(){const[l,t]=he.useState(null),n=he.useCallback(()=>{t(null)},[]),e=he.useMemo(()=>{if(l===null)return null;const{title:r,content:o,closeOnClickOutside:s}=l;return ue.jsx(FO,{onClose:n,title:r,closeOnClickOutside:s,children:o})},[l,n]),a=he.useCallback((r,o,s=!1)=>{t({closeOnClickOutside:s,content:o(n),title:r})},[n]);return[e,a]}const uR="";let cy=!1;const BO=["#d0021b","#f5a623","#f8e71c","#8b572a","#7ed321","#417505","#bd10e0","#9013fe","#4a90e2","#50e3c2","#b8e986","#000000","#4a4a4a","#9b9b9b","#ffffff"],_d=214,_w=150;function zO({color:l,onChange:t}){const[n,e]=he.useState(Nc("hex",l)),[a,r]=he.useState(l),o=he.useRef(null),s=he.useMemo(()=>({x:n.hsv.s/100*_d,y:(100-n.hsv.v)/100*_w}),[n.hsv.s,n.hsv.v]),c=he.useMemo(()=>({x:n.hsv.h/360*_d}),[n.hsv]),i=p=>{if(r(p),/^#[0-9A-Fa-f]{6}$/i.test(p)){const f=Nc("hex",p);e(f)}},u=({x:p,y:f})=>{const h={...n.hsv,s:p/_d*100,v:100-f/_w*100},m=Nc("hsv",h);e(m),r(m.hex)},d=({x:p})=>{const f={...n.hsv,h:p/_d*360},h=Nc("hsv",f);e(h),r(h.hex)};return he.useEffect(()=>{o.current!==null&&t&&(t(n.hex,cy),r(n.hex))},[n,t]),he.useEffect(()=>{if(l===void 0)return;const p=Nc("hex",l);e(p),r(p.hex)},[l]),ue.jsxs("div",{className:"color-picker-wrapper",style:{width:_d},ref:o,children:[ue.jsx(Cc,{label:"Hex",onChange:i,value:a}),ue.jsx("div",{className:"color-picker-basic-color",children:BO.map(p=>ue.jsx("button",{className:p===n.hex?" active":"",style:{backgroundColor:p},onClick:()=>{r(p),e(Nc("hex",p))}},p))}),ue.jsx(bw,{className:"color-picker-saturation",style:{backgroundColor:`hsl(${n.hsv.h}, 100%, 50%)`},onChange:u,children:ue.jsx("div",{className:"color-picker-saturation_cursor",style:{backgroundColor:n.hex,left:s.x,top:s.y}})}),ue.jsx(bw,{className:"color-picker-hue",onChange:d,children:ue.jsx("div",{className:"color-picker-hue_cursor",style:{backgroundColor:`hsl(${n.hsv.h}, 100%, 50%)`,left:c.x}})}),ue.jsx("div",{className:"color-picker-color",style:{backgroundColor:n.hex}})]})}function bw({className:l,style:t,onChange:n,children:e}){const a=he.useRef(null),r=he.useRef(!1),o=c=>{if(a.current){const{current:i}=a,{width:u,height:d,left:p,top:f}=i.getBoundingClientRect(),h=ww(c.clientX-p,u,0),m=ww(c.clientY-f,d,0);n({x:h,y:m})}},s=c=>{if(c.button!==0)return;o(c);const i=d=>{r.current=!0,cy=!0,o(d)},u=d=>{r.current&&(cy=!1),document.removeEventListener("mousemove",i,!1),document.removeEventListener("mouseup",u,!1),o(d),r.current=!1};document.addEventListener("mousemove",i,!1),document.addEventListener("mouseup",u,!1)};return ue.jsx("div",{ref:a,className:l,style:t,onMouseDown:s,children:e})}function ww(l,t,n){return l>t?t:l<n?n:l}function xw(l){if(l.startsWith("#")){if(l.length===4||l.length===5)return l=l.split("").map((t,n)=>n?t+t:"#").join(""),l;if(l.length===7||l.length===9)return l}else{const t=document.createElement("canvas").getContext("2d");if(!t)throw new Error("2d context not supported or canvas already initialized");return t.fillStyle=l,t.fillStyle}return"#000000"}function Sw(l){const t=(l.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(n,e,a,r)=>"#"+e+e+a+a+r+r).substring(1).match(/.{2}/g)||[]).map(n=>parseInt(n,16));return{b:t[2],g:t[1],r:t[0]}}function uy({r:l,g:t,b:n}){l/=255,t/=255,n/=255;const e=Math.max(l,t,n),a=e-Math.min(l,t,n),r=a?(e===l?(t-n)/a+(t<n?6:0):e===t?2+(n-l)/a:4+(l-t)/a)*60:0,o=e?a/e*100:0,s=e*100;return{h:r,s:o,v:s}}function UO({h:l,s:t,v:n}){t/=100,n/=100;const e=~~(l/60),a=l/60-e,r=n*(1-t),o=n*(1-t*a),s=n*(1-t*(1-a)),c=e%6,i=Math.round([n,o,r,r,s,n][c]*255),u=Math.round([s,n,n,o,r,r][c]*255);return{b:Math.round([r,r,s,n,n,o][c]*255),g:u,r:i}}function Ew({b:l,g:t,r:n}){return"#"+[n,t,l].map(e=>e.toString(16).padStart(2,"0")).join("")}function Nc(l,t){let n=xw("#121212"),e=Sw(n),a=uy(e);return l==="hex"?(n=xw(t),e=Sw(n),a=uy(e)):l==="rgb"?(e=t,n=Ew(e),a=uy(e)):l==="hsv"&&(a=t,e=UO(a),n=Ew(e)),{hex:n,hsv:a,rgb:e}}function HO(l,t,...n){if(!l)throw new Error("Internal Lexical error: invariant() is meant to be replaced at compile time. There is no runtime version. Error: "+t)}function dy(l){const t=l.getShape();return{columns:t.toX-t.fromX+1,rows:t.toY-t.fromY+1}}function $O(l){const t=l.getNodes(),n=[];let e=null,a=null,r=0;for(let o=0;o<t.length;o++){const s=t[o];if(yn(s)){const c=s.getParentOrThrow();if(HO(Rr(c),"Expected CellNode to have a RowNode parent"),e!==c){if(a!==null&&r!==a)return!1;e!==null&&(a=r),e=c,r=0}const i=s.__colSpan;for(let u=0;u<i;u++)n[r+u]===void 0&&(n[r+u]=0),n[r+u]+=s.__rowSpan;r+=i}}return(a===null||r===a)&&n.every(o=>o===n[0])}function qO(){const l=Tt();if(Ct(l)&&!l.isCollapsed()||dr(l)&&!l.anchor.is(l.focus)||!Ct(l)&&!dr(l))return!1;const[t]=Ao(l.anchor);return t.__colSpan>1||t.__rowSpan>1}function Cw(l){if(l.getChildrenSize()!==1)return!1;const t=l.getFirstChildOrThrow();return!(!Dr(t)||!t.isEmpty())}function WO(l){const t=l.getLastDescendant();Wt(t)?t.select():kt(t)?t.selectEnd():t!==null&&t.selectNext()}function jw(l){return l.getEditorState().read(()=>{const t=Tt();if(Ct(t)||dr(t)){const[n]=Ao(t.anchor);if(yn(n))return n.getBackgroundColor()}return null})}function JO({onClose:l,tableCellNode:t,setIsMenuOpen:n,contextRef:e,cellMerge:a,showColorPickerModal:r}){const[o]=xn(),s=he.useRef(null),[c,i]=he.useState(t),[u,d]=he.useState({columns:1,rows:1}),[p,f]=he.useState(!1),[h,m]=he.useState(!1),[g,_]=he.useState(()=>jw(o)||"");he.useEffect(()=>o.registerMutationListener(is,F=>{F.get(c.getKey())==="updated"&&(o.getEditorState().read(()=>{i(c.getLatest())}),_(jw(o)||""))}),[o,c]),he.useEffect(()=>{o.getEditorState().read(()=>{const F=Tt();if(dr(F)){const O=dy(F);d(dy(F)),f($O(F)&&(O.columns>1||O.rows>1))}m(qO())})},[o]),he.useEffect(()=>{const F=e.current,O=s.current,j=o.getRootElement();if(F!=null&&O!=null&&j!=null){const P=j.getBoundingClientRect(),R=F.getBoundingClientRect();O.style.opacity="1";const N=O.getBoundingClientRect(),U=5;let M=R.right+U;if(M+N.width>window.innerWidth||M+N.width>P.right){const V=R.left-N.width-U;M=(V<0?U:V)+window.pageXOffset}O.style.left=`${M+window.pageXOffset}px`;let z=R.top;if(z+N.height>window.innerHeight){const V=R.bottom-N.height;z=(V<0?U:V)+window.pageYOffset}O.style.top=`${z+ +window.pageYOffset}px`}},[e,s,o]),he.useEffect(()=>{function F(O){s.current!=null&&e.current!=null&&!s.current.contains(O.target)&&!e.current.contains(O.target)&&n(!1)}return window.addEventListener("click",F),()=>window.removeEventListener("click",F)},[n,e]);const v=he.useCallback(()=>{o.update(()=>{if(c.isAttached()){const O=Pa(c),j=o.getElementByKey(O.getKey());if(!j)throw new Error("Expected to find tableElement in DOM");const P=Q2(j);P!==null&&P.clearHighlight(),O.markDirty(),i(c.getLatest())}zn().selectStart()})},[o,c]),w=()=>{o.update(()=>{const F=Tt();if(dr(F)){const{columns:O,rows:j}=dy(F),P=F.getNodes();let R=null;for(let N=0;N<P.length;N++){const U=P[N];if(yn(U))if(R===null){U.setColSpan(O).setRowSpan(j),R=U;const M=Cw(U);let z;M&&Dr(z=U.getFirstChild())&&z.remove()}else yn(R)&&(Cw(U)||R.append(...U.getChildren()),U.remove())}R!==null&&(R.getChildrenSize()===0&&R.append(Cn()),WO(R)),l()}})},S=()=>{o.update(()=>{G2()})},E=he.useCallback(F=>{o.update(()=>{W2(F),l()})},[o,l]),b=he.useCallback(F=>{o.update(()=>{for(let O=0;O<u.columns;O++)J2(F);l()})},[o,l,u.columns]),y=he.useCallback(()=>{o.update(()=>{V2(),l()})},[o,l]),x=he.useCallback(()=>{o.update(()=>{Pa(c).remove(),v(),l()})},[o,c,v,l]),C=he.useCallback(()=>{o.update(()=>{K2(),l()})},[o,l]),T=he.useCallback(()=>{o.update(()=>{const F=Pa(c),O=Qb(c),j=F.getChildren();if(O>=j.length||O<0)throw new Error("Expected table cell to be inside of table row.");const P=j[O];if(!Rr(P))throw new Error("Expected table row");P.getChildren().forEach(R=>{if(!yn(R))throw new Error("Expected table cell");R.toggleHeaderStyle(Ur.ROW)}),v(),l()})},[o,c,v,l]),L=he.useCallback(()=>{o.update(()=>{const F=Pa(c),O=Mm(c),j=F.getChildren(),P=Math.max(...j.map(R=>R.getChildren().length));if(O>=P||O<0)throw new Error("Expected table cell to be inside of table row.");for(let R=0;R<j.length;R++){const N=j[R];if(!Rr(N))throw new Error("Expected table row");const U=N.getChildren();if(O>=U.length)continue;const M=U[O];if(!yn(M))throw new Error("Expected table cell");M.toggleHeaderStyle(Ur.COLUMN)}v(),l()})},[o,c,v,l]),B=he.useCallback(F=>{o.update(()=>{const O=Tt();if(Ct(O)||dr(O)){const[j]=Ao(O.anchor);if(yn(j)&&j.setBackgroundColor(F),dr(O)){const P=O.getNodes();for(let R=0;R<P.length;R++){const N=P[R];yn(N)&&N.setBackgroundColor(F)}}}})},[o]);let D=null;return a&&(p?D=ue.jsx("button",{type:"button",className:"item",onClick:()=>w(),"data-test-id":"table-merge-cells",children:"Merge cells"}):h&&(D=ue.jsx("button",{type:"button",className:"item",onClick:()=>S(),"data-test-id":"table-unmerge-cells",children:"Unmerge cells"}))),so.createPortal(ue.jsxs("div",{className:"dropdown",ref:s,onClick:F=>{F.stopPropagation()},children:[D,ue.jsx("button",{type:"button",className:"item",onClick:()=>r("Cell background color",()=>ue.jsx(zO,{color:g,onChange:B})),"data-test-id":"table-background-color",children:ue.jsx("span",{className:"text",children:"Background color"})}),ue.jsx("hr",{}),ue.jsx("button",{type:"button",className:"item",onClick:()=>E(!1),"data-test-id":"table-insert-row-above",children:ue.jsxs("span",{className:"text",children:["Insert"," ",u.rows===1?"row":`${u.rows} rows`," ","above"]})}),ue.jsx("button",{type:"button",className:"item",onClick:()=>E(!0),"data-test-id":"table-insert-row-below",children:ue.jsxs("span",{className:"text",children:["Insert"," ",u.rows===1?"row":`${u.rows} rows`," ","below"]})}),ue.jsx("hr",{}),ue.jsx("button",{type:"button",className:"item",onClick:()=>b(!1),"data-test-id":"table-insert-column-before",children:ue.jsxs("span",{className:"text",children:["Insert"," ",u.columns===1?"column":`${u.columns} columns`," ","left"]})}),ue.jsx("button",{type:"button",className:"item",onClick:()=>b(!0),"data-test-id":"table-insert-column-after",children:ue.jsxs("span",{className:"text",children:["Insert"," ",u.columns===1?"column":`${u.columns} columns`," ","right"]})}),ue.jsx("hr",{}),ue.jsx("button",{type:"button",className:"item",onClick:()=>C(),"data-test-id":"table-delete-columns",children:ue.jsx("span",{className:"text",children:"Delete column"})}),ue.jsx("button",{type:"button",className:"item",onClick:()=>y(),"data-test-id":"table-delete-rows",children:ue.jsx("span",{className:"text",children:"Delete row"})}),ue.jsx("button",{type:"button",className:"item",onClick:()=>x(),"data-test-id":"table-delete",children:ue.jsx("span",{className:"text",children:"Delete table"})}),ue.jsx("hr",{}),ue.jsx("button",{type:"button",className:"item",onClick:()=>T(),children:ue.jsxs("span",{className:"text",children:[(c.__headerState&Ur.ROW)===Ur.ROW?"Remove":"Add"," ","row header"]})}),ue.jsx("button",{type:"button",className:"item",onClick:()=>L(),"data-test-id":"table-column-header",children:ue.jsxs("span",{className:"text",children:[(c.__headerState&Ur.COLUMN)===Ur.COLUMN?"Remove":"Add"," ","column header"]})})]}),document.body)}function VO({anchorElem:l,cellMerge:t}){const[n]=xn(),e=he.useRef(null),a=he.useRef(null),[r,o]=he.useState(!1),[s,c]=he.useState(null),[i,u]=Da(),d=he.useCallback(()=>{const f=e.current,h=Tt(),m=window.getSelection(),g=document.activeElement;if(h==null||f==null){c(null);return}const _=n.getRootElement();if(Ct(h)&&_!==null&&m!==null&&_.contains(m.anchorNode)){const v=q2(h.anchor.getNode());if(v==null){c(null);return}if(n.getElementByKey(v.getKey())==null){c(null);return}c(v)}else g||c(null)},[n]);he.useEffect(()=>n.registerUpdateListener(()=>{n.getEditorState().read(()=>{d()})})),he.useEffect(()=>{const f=e.current;if(f!=null&&s!=null){const h=n.getElementByKey(s.getKey());if(h!=null){const m=h.getBoundingClientRect(),g=f.getBoundingClientRect(),_=l.getBoundingClientRect(),v=m.top-_.top+4,w=m.right-g.width-10-_.left;f.style.opacity="1",f.style.transform=`translate(${w}px, ${v}px)`}else f.style.opacity="0",f.style.transform="translate(-10000px, -10000px)"}},[e,s,n,l]);const p=he.useRef(s);return he.useEffect(()=>{p.current!==s&&o(!1),p.current=s},[p,s]),ue.jsx("div",{className:"table-cell-action-button-container",ref:e,children:s!=null&&ue.jsxs(ue.Fragment,{children:[ue.jsx("button",{type:"button",className:"table-cell-action-button chevron-down",onClick:f=>{f.stopPropagation(),o(!r)},ref:a,children:ue.jsx("i",{className:"chevron-down"})}),i,r&&ue.jsx(JO,{contextRef:a,setIsMenuOpen:o,onClose:()=>o(!1),tableCellNode:s,cellMerge:t,showColorPickerModal:u})]})})}function kw({anchorElem:l=document.body,cellMerge:t=!1}){const n=ty();return so.createPortal(n?ue.jsx(VO,{anchorElem:l,cellMerge:t}):null,l)}const dR="",KO=33,GO=50;function YO({editor:l}){const t=he.useRef(null),n=he.useRef(null),e=he.useRef(null),a=he.useRef(null),[r,o]=he.useState(null),[s,c]=he.useState(null),[i,u]=he.useState(!1),[d,p]=he.useState(null);he.useEffect(()=>l.registerCommand(vi,E=>{const b=Tt(),y=dr(b);return i!==y&&u(y),!1},rs));const f=he.useCallback(()=>{c(null),t.current=null,p(null),a.current=null,e.current=null},[]);he.useEffect(()=>{const E=b=>{setTimeout(()=>{const y=b.target;if(d){o({x:b.clientX,y:b.clientY});return}if(!(n.current&&n.current.contains(y))&&t.current!==y){t.current=y;const x=Lm(y);x&&s!==x?l.update(()=>{const C=po(x.elem);if(!C)return;const T=Pa(C),L=l.getElementByKey(T.getKey());if(!L){console.error("TableCellResizer: Table element not found.");return}t.current=y,e.current=L.getBoundingClientRect(),c(x)}):x==null&&f()}},0)};return document.addEventListener("mousemove",E),()=>{document.removeEventListener("mousemove",E)}},[s,d,l,f]);const h=E=>E==="bottom",m=he.useCallback(E=>{if(!s){console.error("TableCellResizer: Expected active cell.");return}l.update(()=>{const b=po(s.elem);if(!yn(b)){console.error("TableCellResizer: Table cell node not found.");return}const y=Pa(b),x=Qb(b),C=y.getChildren();if(x>=C.length||x<0){console.error("Expected table cell to be inside of table row.");return}const T=C[x];if(!Rr(T)){console.error("Expected table row");return}T.setHeight(E)})},[s,l]),g=he.useCallback(E=>{if(!s){console.error("TableCellResizer: Expected active cell.");return}l.update(()=>{const b=po(s.elem);if(!yn(b)){console.error("TableCellResizer: Table cell node not found.");return}const y=Pa(b),x=Mm(b),C=y.getChildren();for(let T=0;T<C.length;T++){const L=C[T];if(!Rr(L)){console.error("Expected table row");return}const B=L.getChildren(),O=B.map(P=>P.getColSpan()).reduce((P,R)=>{const N=P[P.length-1]??0;return P.push(N+R),P},[]).findIndex(P=>P>x);if(O>=B.length||O<0){console.error("Expected table cell to be inside of table row.");return}const j=B[O];if(!yn(j)){console.error("Expected table cell");return}j.setWidth(E)}})},[s,l]),_=he.useCallback(E=>{const b=y=>{if(y.preventDefault(),y.stopPropagation(),!s){console.error("TableCellResizer: Expected active cell.");return}if(a.current){const{x,y:C}=a.current;if(s===null)return;if(h(E)){const T=s.elem.getBoundingClientRect().height,L=Math.abs(y.clientY-C),B=E==="bottom"&&C>y.clientY;m(Math.max(B?T-L:L+T,KO))}else{const T=getComputedStyle(s.elem);let L=s.elem.clientWidth;L-=parseFloat(T.paddingLeft)+parseFloat(T.paddingRight);const B=Math.abs(y.clientX-x),D=E==="right"&&x>y.clientX;g(Math.max(D?L-B:B+L,GO))}f(),document.removeEventListener("mouseup",b)}};return b},[s,f,g,m]),v=he.useCallback(E=>b=>{if(b.preventDefault(),b.stopPropagation(),!s){console.error("TableCellResizer: Expected active cell.");return}a.current={x:b.clientX,y:b.clientY},o(a.current),p(E),document.addEventListener("mouseup",_(E))},[s,_]),S=he.useCallback(()=>{if(s){const{height:E,width:b,top:y,left:x}=s.elem.getBoundingClientRect(),C={bottom:{backgroundColor:"none",cursor:"row-resize",height:"10px",left:`${window.pageXOffset+x}px`,top:`${window.pageYOffset+y+E}px`,width:`${b}px`},right:{backgroundColor:"none",cursor:"col-resize",height:`${E}px`,left:`${window.pageXOffset+x+b}px`,top:`${window.pageYOffset+y}px`,width:"10px"}},T=e.current;return d&&r&&T&&(h(d)?(C[d].left=`${window.pageXOffset+T.left}px`,C[d].top=`${window.pageYOffset+r.y}px`,C[d].height="3px",C[d].width=`${T.width}px`):(C[d].top=`${window.pageYOffset+T.top}px`,C[d].left=`${window.pageXOffset+r.x}px`,C[d].width="3px",C[d].height=`${T.height}px`),C[d].backgroundColor="#adf"),C}return{bottom:null,left:null,right:null,top:null}},[s,d,r])();return ue.jsx("div",{ref:n,children:s!=null&&!i&&ue.jsxs(ue.Fragment,{children:[ue.jsx("div",{className:"TableCellResizer__resizer TableCellResizer__ui",style:S.right||void 0,onMouseDown:v("right")}),ue.jsx("div",{className:"TableCellResizer__resizer TableCellResizer__ui",style:S.bottom||void 0,onMouseDown:v("bottom")})]})})}function Tw({isEditable:l=!0}){const[t]=xn();return he.useMemo(()=>l?so.createPortal(ue.jsx(YO,{editor:t}),document.body):null,[t,l])}const Ow=sr.createContext(null),Nw=4;function bo({children:l,className:t,onClick:n,title:e}){const a=he.useRef(null),r=sr.useContext(Ow);if(r===null)throw new Error("DropDownItem must be used within a DropDown");const{registerItem:o}=r;return he.useEffect(()=>{a&&a.current&&o(a)},[a,o]),ue.jsx("button",{className:t,onClick:n,ref:a,title:e,type:"button",children:l})}function ZO({children:l,dropDownRef:t,onClose:n}){const[e,a]=he.useState(),[r,o]=he.useState(),s=he.useCallback(u=>{a(d=>d?[...d,u]:[u])},[a]),c=u=>{if(!e)return;const d=u.key;["Escape","ArrowUp","ArrowDown","Tab"].includes(d)&&u.preventDefault(),d==="Escape"||d==="Tab"?n():d==="ArrowUp"?o(p=>{if(!p)return e[0];const f=e.indexOf(p)-1;return e[f===-1?e.length-1:f]}):d==="ArrowDown"&&o(p=>p?e[e.indexOf(p)+1]:e[0])},i=he.useMemo(()=>({registerItem:s}),[s]);return he.useEffect(()=>{e&&!r&&o(e[0]),r&&r.current&&r.current.focus()},[e,r]),ue.jsx(Ow.Provider,{value:i,children:ue.jsx("div",{className:"dropdown",ref:t,onKeyDown:c,children:l})})}function bd({disabled:l=!1,buttonLabel:t,buttonAriaLabel:n,buttonClassName:e,buttonIconClassName:a,children:r,stopCloseOnClickSelf:o}){const s=he.useRef(null),c=he.useRef(null),[i,u]=he.useState(!1),d=()=>{u(!1),c&&c.current&&c.current.focus()};return he.useEffect(()=>{const p=c.current,f=s.current;if(i&&p!==null&&f!==null){const{top:h,left:m}=p.getBoundingClientRect();f.style.top=`${h+p.offsetHeight+Nw}px`,f.style.left=`${Math.min(m,window.innerWidth-f.offsetWidth-20)}px`}},[s,c,i]),he.useEffect(()=>{const p=c.current;if(p!==null&&i){const f=h=>{const m=h.target;o&&s.current&&s.current.contains(m)||p.contains(m)||u(!1)};return document.addEventListener("click",f),()=>{document.removeEventListener("click",f)}}},[s,c,i,o]),he.useEffect(()=>{const p=()=>{if(i){const f=c.current,h=s.current;if(f!==null&&h!==null){const{top:m}=f.getBoundingClientRect(),g=m+f.offsetHeight+Nw;g!==h.getBoundingClientRect().top&&(h.style.top=`${g}px`)}}};return document.addEventListener("scroll",p),()=>{document.removeEventListener("scroll",p)}},[c,s,i]),ue.jsxs(ue.Fragment,{children:[ue.jsxs("button",{type:"button",disabled:l,"aria-label":n||t,className:e,onClick:()=>u(!i),ref:c,children:[a&&ue.jsx("span",{className:a}),t&&ue.jsx("span",{className:"text dropdown-button-text",children:t}),ue.jsx("i",{className:"chevron-down"})]}),i&&so.createPortal(ue.jsx(ZO,{dropDownRef:s,onClose:d,children:r}),document.body)]})}function Aw(l){const t=l.anchor,n=l.focus,e=l.anchor.getNode(),a=l.focus.getNode();return e===a?e:l.isBackward()?sb(n)?e:a:sb(t)?e:a}const Pw=8,Iw=72,Ra={h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",h5:"Heading 5",paragraph:"Normal"},XO=({selectionFontSize:l,disabled:t,editor:n,blockType:e,styleConfig:a,isenterPressed:r,currentElementClick:o,currentElementSelect:s})=>{const[c,i]=sr.useState(l),[u,d]=sr.useState(e),[p,f]=sr.useState("");sr.useState([]),sr.useState("");const{heading:h}=a||{},m=S=>{S&&S.title&&n.update(()=>{if(n.isEditable()){const E=Tt();E&&gm(E,S)}})},g=S=>{i(S.target.value)},_=()=>{const S=Number(c);if(!isNaN(S)){const E=Math.min(Math.max(S,Pw),Iw);i(String(E)),m({"font-size":`${E}px`})}},v=S=>{var b,y,x,C,T;f(S),n.update(()=>{const L=Tt();Ct(L)&&i2(L,()=>Cl(S))});let E=null;if(h)switch(S){case"h1":E=((b=h.find(L=>L.title==="Heading1"))==null?void 0:b.fontSize)??56;break;case"h2":E=((y=h.find(L=>L.title==="Heading2"))==null?void 0:y.fontSize)??14;break;case"h3":E=((x=h.find(L=>L.title==="Heading3"))==null?void 0:x.fontSize)??12;break;case"h4":E=((C=h.find(L=>L.title==="Heading4"))==null?void 0:C.fontSize)??12;break;case"h5":E=((T=h.find(L=>L.title==="Heading5"))==null?void 0:T.fontSize)??12;break;case"paragraph":E=15;break;default:E=15}i(E),f(S),d(S)},w=()=>{i("15")};return sr.useEffect(()=>{w()},[r]),sr.useEffect(()=>{const S=()=>{n.update(()=>{const E=Tt();if(E!==null){const y=E.getNodes()[0];if(!Wt(y)){const x=y.getType();x in Ra&&d(x)}}})};return n.registerUpdateListener(S),()=>{n.registerUpdateListener(S)}},[n]),sr.useEffect(()=>{var S,E,b,y,x;switch(o.tagName){case"P":d("paragraph"),i("15");break;case"H1":d("h1");const C=((S=a.heading.find(F=>F.title==="Heading1"))==null?void 0:S.fontSize)??"16";i(C);break;case"H2":d("h2");const T=((E=a.heading.find(F=>F.title==="Heading2"))==null?void 0:E.fontSize)??"14";i(T);break;case"H3":d("h3");const L=((b=a.heading.find(F=>F.title==="Heading3"))==null?void 0:b.fontSize)??"12";i(L);break;case"H4":d("h4");const B=((y=a.heading.find(F=>F.title==="Heading4"))==null?void 0:y.fontSize)??"12";i(B);break;case"H5":d("h5");const D=((x=a.heading.find(F=>F.title==="Heading5"))==null?void 0:x.fontSize)??"12";i(D);break;default:d("paragraph"),i("15");break}},[o]),sr.useEffect(()=>{var E,b,y,x,C;if(!s){i("15"),d("paragraph");return}switch(s.trim()){case"P":i("15"),d("paragraph");break;case"h1":d("h1");const T=((E=a.heading.find(O=>O.title==="Heading1"))==null?void 0:E.fontSize)??"16";i(T);break;case"h2":d("h2");const L=((b=a.heading.find(O=>O.title==="Heading2"))==null?void 0:b.fontSize)??"14";i(L);break;case"h3":d("h3");const B=((y=a.heading.find(O=>O.title==="Heading3"))==null?void 0:y.fontSize)??"12";i(B);break;case"h4":d("h4");const D=((x=a.heading.find(O=>O.title==="Heading4"))==null?void 0:x.fontSize)??"12";i(D);break;case"h5":d("h5");const F=((C=a.heading.find(O=>O.title==="Heading5"))==null?void 0:C.fontSize)??"12";i(F);break;default:d("paragraph"),i("15");break}},[s]),ue.jsxs(ue.Fragment,{children:[a&&a.heading?ue.jsxs(bd,{disabled:t,buttonClassName:"toolbar-item block-controls",buttonAriaLabel:"Formatting options for text style",buttonIconClassName:"icon block-type "+u,buttonLabel:Ra[u],children:[ue.jsxs(bo,{className:`item ${u==="paragraph"?"active":""}`,onClick:()=>v("paragraph"),children:[ue.jsx("i",{className:"icon paragraph"}),ue.jsx("span",{className:"text",children:Ra.paragraph})]}),a.heading&&a.heading.find(S=>S.title==="Heading1")&&ue.jsxs(bo,{className:`item ${u==="h1"?"active":""}`,onClick:()=>v("h1"),children:[ue.jsx("i",{className:"icon h1"}),ue.jsx("span",{className:"text",children:Ra.h1})]}),a.heading&&a.heading.find(S=>S.title==="Heading2")&&ue.jsxs(bo,{className:`item ${u==="h2"?"active":""}`,onClick:()=>v("h2"),children:[ue.jsx("i",{className:"icon h2"}),ue.jsx("span",{className:"text",children:Ra.h2})]}),a.heading&&a.heading.find(S=>S.title==="Heading3")&&ue.jsxs(bo,{className:`item ${u==="h3"?"active":""}`,onClick:()=>v("h3"),children:[ue.jsx("i",{className:"icon h3"}),ue.jsx("span",{className:"text",children:Ra.h3})]}),a.heading&&a.heading.find(S=>S.title==="Heading4")&&ue.jsxs(bo,{className:`item ${u==="h4"?"active":""}`,onClick:()=>v("h4"),children:[ue.jsx("i",{className:"icon h4"}),ue.jsx("span",{className:"text",children:Ra.h4})]}),a.heading&&a.heading.find(S=>S.title==="Heading5")&&ue.jsxs(bo,{className:`item ${u==="h5"?"active":""}`,onClick:()=>v("h5"),children:[ue.jsx("i",{className:"icon h5"}),ue.jsx("span",{className:"text",children:Ra.h5})]})]}):"",ue.jsx("input",{style:{width:"60px"},title:"Font Size",type:"text",value:c,disabled:t,readOnly:!0,className:"toolbar-item font-size-input input-font-size-value",min:Pw,max:Iw,onChange:g,onBlur:_})]})},QO=Oc&&"documentMode"in document?document.documentMode:null,La=Oc&&/Mac|iPod|iPhone|iPad/.test(navigator.platform);Oc&&"InputEvent"in window&&!QO&&"getTargetRanges"in new window.InputEvent("input");const eN="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IS0tIFVwbG9hZGVkIHRvOiBTVkcgUmVwbywgd3d3LnN2Z3JlcG8uY29tLCBHZW5lcmF0b3I6IFNWRyBSZXBvIE1peGVyIFRvb2xzIC0tPgo8c3ZnIHdpZHRoPSI4MDBweCIgaGVpZ2h0PSI4MDBweCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMTIuNTUzNSAxNi41MDYxQzEyLjQxMTQgMTYuNjYxNSAxMi4yMTA2IDE2Ljc1IDEyIDE2Ljc1QzExLjc4OTQgMTYuNzUgMTEuNTg4NiAxNi42NjE1IDExLjQ0NjUgMTYuNTA2MUw3LjQ0NjQ4IDEyLjEzMTFDNy4xNjY5OCAxMS44MjU0IDcuMTg4MjIgMTEuMzUxIDcuNDkzOTIgMTEuMDcxNUM3Ljc5OTYzIDEwLjc5MiA4LjI3NDAyIDEwLjgxMzIgOC41NTM1MiAxMS4xMTg5TDExLjI1IDE0LjA2ODJWM0MxMS4yNSAyLjU4NTc5IDExLjU4NTggMi4yNSAxMiAyLjI1QzEyLjQxNDIgMi4yNSAxMi43NSAyLjU4NTc5IDEyLjc1IDNWMTQuMDY4MkwxNS40NDY1IDExLjExODlDMTUuNzI2IDEwLjgxMzIgMTYuMjAwNCAxMC43OTIgMTYuNTA2MSAxMS4wNzE1QzE2LjgxMTggMTEuMzUxIDE2LjgzMyAxMS44MjU0IDE2LjU1MzUgMTIuMTMxMUwxMi41NTM1IDE2LjUwNjFaIiBmaWxsPSIjMUMyNzRDIi8+CjxwYXRoIGQ9Ik0zLjc1IDE1QzMuNzUgMTQuNTg1OCAzLjQxNDIyIDE0LjI1IDMgMTQuMjVDMi41ODU3OSAxNC4yNSAyLjI1IDE0LjU4NTggMi4yNSAxNVYxNS4wNTQ5QzIuMjQ5OTggMTYuNDIyNSAyLjI0OTk2IDE3LjUyNDggMi4zNjY1MiAxOC4zOTE4QzIuNDg3NTQgMTkuMjkxOSAyLjc0NjQzIDIwLjA0OTcgMy4zNDgzNSAyMC42NTE2QzMuOTUwMjcgMjEuMjUzNiA0LjcwODE0IDIxLjUxMjUgNS42MDgyNSAyMS42MzM1QzYuNDc1MjIgMjEuNzUgNy41Nzc1NCAyMS43NSA4Ljk0NTEzIDIxLjc1SDE1LjA1NDlDMTYuNDIyNSAyMS43NSAxNy41MjQ4IDIxLjc1IDE4LjM5MTggMjEuNjMzNUMxOS4yOTE5IDIxLjUxMjUgMjAuMDQ5NyAyMS4yNTM2IDIwLjY1MTcgMjAuNjUxNkMyMS4yNTM2IDIwLjA0OTcgMjEuNTEyNSAxOS4yOTE5IDIxLjYzMzUgMTguMzkxOEMyMS43NSAxNy41MjQ4IDIxLjc1IDE2LjQyMjUgMjEuNzUgMTUuMDU0OVYxNUMyMS43NSAxNC41ODU4IDIxLjQxNDIgMTQuMjUgMjEgMTQuMjVDMjAuNTg1OCAxNC4yNSAyMC4yNSAxNC41ODU4IDIwLjI1IDE1QzIwLjI1IDE2LjQzNTQgMjAuMjQ4NCAxNy40MzY1IDIwLjE0NjkgMTguMTkxOUMyMC4wNDgyIDE4LjkyNTcgMTkuODY3OCAxOS4zMTQyIDE5LjU5MSAxOS41OTFDMTkuMzE0MiAxOS44Njc4IDE4LjkyNTcgMjAuMDQ4MiAxOC4xOTE5IDIwLjE0NjlDMTcuNDM2NSAyMC4yNDg0IDE2LjQzNTQgMjAuMjUgMTUgMjAuMjVIOUM3LjU2NDU5IDIwLjI1IDYuNTYzNDcgMjAuMjQ4NCA1LjgwODEyIDIwLjE0NjlDNS4wNzQzNSAyMC4wNDgyIDQuNjg1NzcgMTkuODY3OCA0LjQwOTAxIDE5LjU5MUM0LjEzMjI1IDE5LjMxNDIgMy45NTE4IDE4LjkyNTcgMy44NTMxNSAxOC4xOTE5QzMuNzUxNTkgMTcuNDM2NSAzLjc1IDE2LjQzNTQgMy43NSAxNVoiIGZpbGw9IiMxQzI3NEMiLz4KPC9zdmc+";var Mw={exports:{}};(function(l,t){(function(n,e){e()})(ma,function(){function n(i,u){return typeof u>"u"?u={autoBom:!1}:typeof u!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),u={autoBom:!u}),u.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(i.type)?new Blob(["\uFEFF",i],{type:i.type}):i}function e(i,u,d){var p=new XMLHttpRequest;p.open("GET",i),p.responseType="blob",p.onload=function(){c(p.response,u,d)},p.onerror=function(){console.error("could not download file")},p.send()}function a(i){var u=new XMLHttpRequest;u.open("HEAD",i,!1);try{u.send()}catch{}return 200<=u.status&&299>=u.status}function r(i){try{i.dispatchEvent(new MouseEvent("click"))}catch{var u=document.createEvent("MouseEvents");u.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),i.dispatchEvent(u)}}var o=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof ma=="object"&&ma.global===ma?ma:void 0,s=o.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),c=o.saveAs||(typeof window!="object"||window!==o?function(){}:"download"in HTMLAnchorElement.prototype&&!s?function(i,u,d){var p=o.URL||o.webkitURL,f=document.createElement("a");u=u||i.name||"download",f.download=u,f.rel="noopener",typeof i=="string"?(f.href=i,f.origin===location.origin?r(f):a(f.href)?e(i,u,d):r(f,f.target="_blank")):(f.href=p.createObjectURL(i),setTimeout(function(){p.revokeObjectURL(f.href)},4e4),setTimeout(function(){r(f)},0))}:"msSaveOrOpenBlob"in navigator?function(i,u,d){if(u=u||i.name||"download",typeof i!="string")navigator.msSaveOrOpenBlob(n(i,d),u);else if(a(i))e(i,u,d);else{var p=document.createElement("a");p.href=i,p.target="_blank",setTimeout(function(){r(p)})}}:function(i,u,d,p){if(p=p||open("","_blank"),p&&(p.document.title=p.document.body.innerText="downloading..."),typeof i=="string")return e(i,u,d);var f=i.type==="application/octet-stream",h=/constructor/i.test(o.HTMLElement)||o.safari,m=/CriOS\/[\d]+/.test(navigator.userAgent);if((m||f&&h||s)&&typeof FileReader<"u"){var g=new FileReader;g.onloadend=function(){var w=g.result;w=m?w:w.replace(/^data:[^;]*;/,"data:attachment/file;"),p?p.location.href=w:location=w,p=null},g.readAsDataURL(i)}else{var _=o.URL||o.webkitURL,v=_.createObjectURL(i);p?p.location=v:location.href=v,p=null,setTimeout(function(){_.revokeObjectURL(v)},4e4)}});o.saveAs=c.saveAs=c,l.exports=c})})(Mw);var tN=Mw.exports;function wd(l){const t=document.createElement("div");return t.innerHTML=l,t.querySelectorAll("*").forEach(e=>{let a="";if(e.classList.contains("PlaygroundEditorTheme__textItalic")&&e.classList.contains("PlaygroundEditorTheme__textStrikethrough")){a+="text-decoration: line-through; ";const r=document.createElement("span");r.style.cssText=a.trim();const o=document.createElement("i");o.innerHTML=e.innerHTML,r.appendChild(o),e.innerHTML="",e.appendChild(r)}else if(e.classList.contains("PlaygroundEditorTheme__textBold")&&e.classList.contains("PlaygroundEditorTheme__textItalic")&&e.classList.contains("PlaygroundEditorTheme__textStrikethrough")){a+="text-decoration: line-through; ";const r=document.createElement("span");r.style.cssText=a.trim();const o=document.createElement("i"),s=document.createElement("strong");s.innerHTML=e.innerHTML,o.appendChild(s),r.appendChild(o),e.innerHTML="",e.appendChild(r)}else{if(e.classList.contains("PlaygroundEditorTheme__textStrikethrough")&&(a+="text-decoration: line-through; "),e.classList.contains("PlaygroundEditorTheme__textUnderlineStrikethrough")&&(a+="text-decoration: line-through underline; "),e.classList.contains("PlaygroundEditorTheme__textBold")){const r=document.createElement("strong");r.innerHTML=e.innerHTML,e.innerHTML="",e.appendChild(r)}if(e.classList.contains("PlaygroundEditorTheme__textItalic")){const r=document.createElement("i");r.innerHTML=e.innerHTML,e.innerHTML="",e.appendChild(r)}if(e.classList.contains("PlaygroundEditorTheme__textUnderline")){const r=document.createElement("u");r.innerHTML=e.innerHTML,e.innerHTML="",e.appendChild(r)}if(a){const r=document.createElement("span");r.style.cssText=a.trim(),r.innerHTML=e.innerHTML,e.innerHTML="",e.appendChild(r)}}}),t.innerHTML}function nN(l){const n=new DOMParser().parseFromString(l,"text/html");return n.body.querySelectorAll("*").forEach(a=>{a.textContent.trim().match(/^Table\s*\d*:?/i)&&a.remove()}),n.body.innerHTML}function rN(l){const t=document.createElement("div");t.innerHTML=l;const n=t.querySelectorAll(".PlaygroundEditorTheme__table");return n.length===0?l:(n.forEach(a=>{a.style.width="100%",a.style.border="1px solid black",a.querySelectorAll("tr").forEach(o=>{o.style.border="1px solid black";const s=o.querySelectorAll("td, th"),i=100/s.length+"%";s.forEach(u=>{u.style.width=i,u.style.height="20px",u.style.border="1px solid black",u.innerHTML.trim()||(u.style.width=i,u.style.height="20px",u.innerHTML=" ");const d=u.querySelectorAll(".PlaygroundEditorTheme__textUnderline"),p=u.querySelectorAll(".PlaygroundEditorTheme__textStrikethrough");d.forEach(f=>{f.style.textDecoration="underline"}),p.forEach(f=>{f.style.textDecoration="line-through"}),u.classList.contains("PlaygroundEditorTheme__tableCellHeader")&&(u.style.fontWeight="bold")})})}),nN(t.innerHTML))}function Dw(l){return l=l.replace(/<br\s*\/?>/g,""),l.includes("Crop")&&(l=l.replace(/Crop/g,"")),l}var Rw={exports:{}};/*!
|
|
55
55
|
* jQuery JavaScript Library v3.7.1
|
|
56
56
|
* https://jquery.com/
|
|
57
57
|
*
|
|
@@ -63,7 +63,7 @@ Check the top-level render call using <`+Ie+">.")}return Je}}function Ot(Ne,Je){
|
|
|
63
63
|
*/(function(l){(function(t,n){l.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}})(typeof window<"u"?window:ma,function(t,n){var e=[],a=Object.getPrototypeOf,r=e.slice,o=e.flat?function($){return e.flat.call($)}:function($){return e.concat.apply([],$)},s=e.push,c=e.indexOf,i={},u=i.toString,d=i.hasOwnProperty,p=d.toString,f=p.call(Object),h={},m=function(X){return typeof X=="function"&&typeof X.nodeType!="number"&&typeof X.item!="function"},g=function(X){return X!=null&&X===X.window},_=t.document,v={type:!0,src:!0,nonce:!0,noModule:!0};function w($,X,te){te=te||_;var ae,ye,_e=te.createElement("script");if(_e.text=$,X)for(ae in v)ye=X[ae]||X.getAttribute&&X.getAttribute(ae),ye&&_e.setAttribute(ae,ye);te.head.appendChild(_e).parentNode.removeChild(_e)}function S($){return $==null?$+"":typeof $=="object"||typeof $=="function"?i[u.call($)]||"object":typeof $}var E="3.7.1",b=/HTML$/i,y=function($,X){return new y.fn.init($,X)};y.fn=y.prototype={jquery:E,constructor:y,length:0,toArray:function(){return r.call(this)},get:function($){return $==null?r.call(this):$<0?this[$+this.length]:this[$]},pushStack:function($){var X=y.merge(this.constructor(),$);return X.prevObject=this,X},each:function($){return y.each(this,$)},map:function($){return this.pushStack(y.map(this,function(X,te){return $.call(X,te,X)}))},slice:function(){return this.pushStack(r.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(y.grep(this,function($,X){return(X+1)%2}))},odd:function(){return this.pushStack(y.grep(this,function($,X){return X%2}))},eq:function($){var X=this.length,te=+$+($<0?X:0);return this.pushStack(te>=0&&te<X?[this[te]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:e.sort,splice:e.splice},y.extend=y.fn.extend=function(){var $,X,te,ae,ye,_e,Ae=arguments[0]||{},tt=1,Xe=arguments.length,dt=!1;for(typeof Ae=="boolean"&&(dt=Ae,Ae=arguments[tt]||{},tt++),typeof Ae!="object"&&!m(Ae)&&(Ae={}),tt===Xe&&(Ae=this,tt--);tt<Xe;tt++)if(($=arguments[tt])!=null)for(X in $)ae=$[X],!(X==="__proto__"||Ae===ae)&&(dt&&ae&&(y.isPlainObject(ae)||(ye=Array.isArray(ae)))?(te=Ae[X],ye&&!Array.isArray(te)?_e=[]:!ye&&!y.isPlainObject(te)?_e={}:_e=te,ye=!1,Ae[X]=y.extend(dt,_e,ae)):ae!==void 0&&(Ae[X]=ae));return Ae},y.extend({expando:"jQuery"+(E+Math.random()).replace(/\D/g,""),isReady:!0,error:function($){throw new Error($)},noop:function(){},isPlainObject:function($){var X,te;return!$||u.call($)!=="[object Object]"?!1:(X=a($),X?(te=d.call(X,"constructor")&&X.constructor,typeof te=="function"&&p.call(te)===f):!0)},isEmptyObject:function($){var X;for(X in $)return!1;return!0},globalEval:function($,X,te){w($,{nonce:X&&X.nonce},te)},each:function($,X){var te,ae=0;if(x($))for(te=$.length;ae<te&&X.call($[ae],ae,$[ae])!==!1;ae++);else for(ae in $)if(X.call($[ae],ae,$[ae])===!1)break;return $},text:function($){var X,te="",ae=0,ye=$.nodeType;if(!ye)for(;X=$[ae++];)te+=y.text(X);return ye===1||ye===11?$.textContent:ye===9?$.documentElement.textContent:ye===3||ye===4?$.nodeValue:te},makeArray:function($,X){var te=X||[];return $!=null&&(x(Object($))?y.merge(te,typeof $=="string"?[$]:$):s.call(te,$)),te},inArray:function($,X,te){return X==null?-1:c.call(X,$,te)},isXMLDoc:function($){var X=$&&$.namespaceURI,te=$&&($.ownerDocument||$).documentElement;return!b.test(X||te&&te.nodeName||"HTML")},merge:function($,X){for(var te=+X.length,ae=0,ye=$.length;ae<te;ae++)$[ye++]=X[ae];return $.length=ye,$},grep:function($,X,te){for(var ae,ye=[],_e=0,Ae=$.length,tt=!te;_e<Ae;_e++)ae=!X($[_e],_e),ae!==tt&&ye.push($[_e]);return ye},map:function($,X,te){var ae,ye,_e=0,Ae=[];if(x($))for(ae=$.length;_e<ae;_e++)ye=X($[_e],_e,te),ye!=null&&Ae.push(ye);else for(_e in $)ye=X($[_e],_e,te),ye!=null&&Ae.push(ye);return o(Ae)},guid:1,support:h}),typeof Symbol=="function"&&(y.fn[Symbol.iterator]=e[Symbol.iterator]),y.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function($,X){i["[object "+X+"]"]=X.toLowerCase()});function x($){var X=!!$&&"length"in $&&$.length,te=S($);return m($)||g($)?!1:te==="array"||X===0||typeof X=="number"&&X>0&&X-1 in $}function C($,X){return $.nodeName&&$.nodeName.toLowerCase()===X.toLowerCase()}var T=e.pop,L=e.sort,B=e.splice,D="[\\x20\\t\\r\\n\\f]",F=new RegExp("^"+D+"+|((?:^|[^\\\\])(?:\\\\.)*)"+D+"+$","g");y.contains=function($,X){var te=X&&X.parentNode;return $===te||!!(te&&te.nodeType===1&&($.contains?$.contains(te):$.compareDocumentPosition&&$.compareDocumentPosition(te)&16))};var O=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function j($,X){return X?$==="\0"?"�":$.slice(0,-1)+"\\"+$.charCodeAt($.length-1).toString(16)+" ":"\\"+$}y.escapeSelector=function($){return($+"").replace(O,j)};var P=_,R=s;(function(){var $,X,te,ae,ye,_e=R,Ae,tt,Xe,dt,It,zt=y.expando,St=0,Qt=0,In=pu(),rr=pu(),Dn=pu(),Xr=pu(),Tr=function(We,ot){return We===ot&&(ye=!0),0},jo="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",br="(?:\\\\[\\da-fA-F]{1,6}"+D+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Ve="\\["+D+"*("+br+")(?:"+D+"*([*^$|!~]?=)"+D+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+br+"))|)"+D+"*\\]",xt=":("+br+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+Ve+")*)|.*)\\)|)",wt=new RegExp(D+"+","g"),Vt=new RegExp("^"+D+"*,"+D+"*"),jn=new RegExp("^"+D+"*([>+~]|"+D+")"+D+"*"),Nn=new RegExp(D+"|>"),Sn=new RegExp(xt),ar=new RegExp("^"+br+"$"),$n={ID:new RegExp("^#("+br+")"),CLASS:new RegExp("^\\.("+br+")"),TAG:new RegExp("^("+br+"|[*])"),ATTR:new RegExp("^"+Ve),PSEUDO:new RegExp("^"+xt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+D+"*(even|odd|(([+-]|)(\\d*)n|)"+D+"*(?:([+-]|)"+D+"*(\\d+)|))"+D+"*\\)|)","i"),bool:new RegExp("^(?:"+jo+")$","i"),needsContext:new RegExp("^"+D+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+D+"*((?:-\\d)?\\d*)"+D+"*\\)|)(?=[^-]|$)","i")},mn=/^(?:input|select|textarea|button)$/i,Lo=/^h\d$/i,ro=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Ti=/[+~]/,fi=new RegExp("\\\\[\\da-fA-F]{1,6}"+D+"?|\\\\([^\\r\\n\\f])","g"),fs=function(We,ot){var Et="0x"+We.slice(1)-65536;return ot||(Et<0?String.fromCharCode(Et+65536):String.fromCharCode(Et>>10|55296,Et&1023|56320))},Ih=function(){ps()},Mh=el(function(We){return We.disabled===!0&&C(We,"fieldset")},{dir:"parentNode",next:"legend"});function Dh(){try{return Ae.activeElement}catch{}}try{_e.apply(e=r.call(P.childNodes),P.childNodes),e[P.childNodes.length].nodeType}catch{_e={apply:function(ot,Et){R.apply(ot,r.call(Et))},call:function(ot){R.apply(ot,r.call(arguments,1))}}}function hr(We,ot,Et,Nt){var Ut,sn,un,vn,cn,Wn,Mn,Rn=ot&&ot.ownerDocument,tr=ot?ot.nodeType:9;if(Et=Et||[],typeof We!="string"||!We||tr!==1&&tr!==9&&tr!==11)return Et;if(!Nt&&(ps(ot),ot=ot||Ae,Xe)){if(tr!==11&&(cn=ro.exec(We)))if(Ut=cn[1]){if(tr===9)if(un=ot.getElementById(Ut)){if(un.id===Ut)return _e.call(Et,un),Et}else return Et;else if(Rn&&(un=Rn.getElementById(Ut))&&hr.contains(ot,un)&&un.id===Ut)return _e.call(Et,un),Et}else{if(cn[2])return _e.apply(Et,ot.getElementsByTagName(We)),Et;if((Ut=cn[3])&&ot.getElementsByClassName)return _e.apply(Et,ot.getElementsByClassName(Ut)),Et}if(!Xr[We+" "]&&(!dt||!dt.test(We))){if(Mn=We,Rn=ot,tr===1&&(Nn.test(We)||jn.test(We))){for(Rn=Ti.test(We)&&hu(ot.parentNode)||ot,(Rn!=ot||!h.scope)&&((vn=ot.getAttribute("id"))?vn=y.escapeSelector(vn):ot.setAttribute("id",vn=zt)),Wn=Ul(We),sn=Wn.length;sn--;)Wn[sn]=(vn?"#"+vn:":scope")+" "+hs(Wn[sn]);Mn=Wn.join(",")}try{return _e.apply(Et,Rn.querySelectorAll(Mn)),Et}catch{Xr(We,!0)}finally{vn===zt&&ot.removeAttribute("id")}}}return Kd(We.replace(F,"$1"),ot,Et,Nt)}function pu(){var We=[];function ot(Et,Nt){return We.push(Et+" ")>X.cacheLength&&delete ot[We.shift()],ot[Et+" "]=Nt}return ot}function Oi(We){return We[zt]=!0,We}function Xa(We){var ot=Ae.createElement("fieldset");try{return!!We(ot)}catch{return!1}finally{ot.parentNode&&ot.parentNode.removeChild(ot),ot=null}}function pi(We){return function(ot){return C(ot,"input")&&ot.type===We}}function b0(We){return function(ot){return(C(ot,"input")||C(ot,"button"))&&ot.type===We}}function Qa(We){return function(ot){return"form"in ot?ot.parentNode&&ot.disabled===!1?"label"in ot?"label"in ot.parentNode?ot.parentNode.disabled===We:ot.disabled===We:ot.isDisabled===We||ot.isDisabled!==!We&&Mh(ot)===We:ot.disabled===We:"label"in ot?ot.disabled===We:!1}}function Os(We){return Oi(function(ot){return ot=+ot,Oi(function(Et,Nt){for(var Ut,sn=We([],Et.length,ot),un=sn.length;un--;)Et[Ut=sn[un]]&&(Et[Ut]=!(Nt[Ut]=Et[Ut]))})})}function hu(We){return We&&typeof We.getElementsByTagName<"u"&&We}function ps(We){var ot,Et=We?We.ownerDocument||We:P;return Et==Ae||Et.nodeType!==9||!Et.documentElement||(Ae=Et,tt=Ae.documentElement,Xe=!y.isXMLDoc(Ae),It=tt.matches||tt.webkitMatchesSelector||tt.msMatchesSelector,tt.msMatchesSelector&&P!=Ae&&(ot=Ae.defaultView)&&ot.top!==ot&&ot.addEventListener("unload",Ih),h.getById=Xa(function(Nt){return tt.appendChild(Nt).id=y.expando,!Ae.getElementsByName||!Ae.getElementsByName(y.expando).length}),h.disconnectedMatch=Xa(function(Nt){return It.call(Nt,"*")}),h.scope=Xa(function(){return Ae.querySelectorAll(":scope")}),h.cssHas=Xa(function(){try{return Ae.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),h.getById?(X.filter.ID=function(Nt){var Ut=Nt.replace(fi,fs);return function(sn){return sn.getAttribute("id")===Ut}},X.find.ID=function(Nt,Ut){if(typeof Ut.getElementById<"u"&&Xe){var sn=Ut.getElementById(Nt);return sn?[sn]:[]}}):(X.filter.ID=function(Nt){var Ut=Nt.replace(fi,fs);return function(sn){var un=typeof sn.getAttributeNode<"u"&&sn.getAttributeNode("id");return un&&un.value===Ut}},X.find.ID=function(Nt,Ut){if(typeof Ut.getElementById<"u"&&Xe){var sn,un,vn,cn=Ut.getElementById(Nt);if(cn){if(sn=cn.getAttributeNode("id"),sn&&sn.value===Nt)return[cn];for(vn=Ut.getElementsByName(Nt),un=0;cn=vn[un++];)if(sn=cn.getAttributeNode("id"),sn&&sn.value===Nt)return[cn]}return[]}}),X.find.TAG=function(Nt,Ut){return typeof Ut.getElementsByTagName<"u"?Ut.getElementsByTagName(Nt):Ut.querySelectorAll(Nt)},X.find.CLASS=function(Nt,Ut){if(typeof Ut.getElementsByClassName<"u"&&Xe)return Ut.getElementsByClassName(Nt)},dt=[],Xa(function(Nt){var Ut;tt.appendChild(Nt).innerHTML="<a id='"+zt+"' href='' disabled='disabled'></a><select id='"+zt+"-\r\\' disabled='disabled'><option selected=''></option></select>",Nt.querySelectorAll("[selected]").length||dt.push("\\["+D+"*(?:value|"+jo+")"),Nt.querySelectorAll("[id~="+zt+"-]").length||dt.push("~="),Nt.querySelectorAll("a#"+zt+"+*").length||dt.push(".#.+[+~]"),Nt.querySelectorAll(":checked").length||dt.push(":checked"),Ut=Ae.createElement("input"),Ut.setAttribute("type","hidden"),Nt.appendChild(Ut).setAttribute("name","D"),tt.appendChild(Nt).disabled=!0,Nt.querySelectorAll(":disabled").length!==2&&dt.push(":enabled",":disabled"),Ut=Ae.createElement("input"),Ut.setAttribute("name",""),Nt.appendChild(Ut),Nt.querySelectorAll("[name='']").length||dt.push("\\["+D+"*name"+D+"*="+D+`*(?:''|"")`)}),h.cssHas||dt.push(":has"),dt=dt.length&&new RegExp(dt.join("|")),Tr=function(Nt,Ut){if(Nt===Ut)return ye=!0,0;var sn=!Nt.compareDocumentPosition-!Ut.compareDocumentPosition;return sn||(sn=(Nt.ownerDocument||Nt)==(Ut.ownerDocument||Ut)?Nt.compareDocumentPosition(Ut):1,sn&1||!h.sortDetached&&Ut.compareDocumentPosition(Nt)===sn?Nt===Ae||Nt.ownerDocument==P&&hr.contains(P,Nt)?-1:Ut===Ae||Ut.ownerDocument==P&&hr.contains(P,Ut)?1:ae?c.call(ae,Nt)-c.call(ae,Ut):0:sn&4?-1:1)}),Ae}hr.matches=function(We,ot){return hr(We,null,null,ot)},hr.matchesSelector=function(We,ot){if(ps(We),Xe&&!Xr[ot+" "]&&(!dt||!dt.test(ot)))try{var Et=It.call(We,ot);if(Et||h.disconnectedMatch||We.document&&We.document.nodeType!==11)return Et}catch{Xr(ot,!0)}return hr(ot,Ae,null,[We]).length>0},hr.contains=function(We,ot){return(We.ownerDocument||We)!=Ae&&ps(We),y.contains(We,ot)},hr.attr=function(We,ot){(We.ownerDocument||We)!=Ae&&ps(We);var Et=X.attrHandle[ot.toLowerCase()],Nt=Et&&d.call(X.attrHandle,ot.toLowerCase())?Et(We,ot,!Xe):void 0;return Nt!==void 0?Nt:We.getAttribute(ot)},hr.error=function(We){throw new Error("Syntax error, unrecognized expression: "+We)},y.uniqueSort=function(We){var ot,Et=[],Nt=0,Ut=0;if(ye=!h.sortStable,ae=!h.sortStable&&r.call(We,0),L.call(We,Tr),ye){for(;ot=We[Ut++];)ot===We[Ut]&&(Nt=Et.push(Ut));for(;Nt--;)B.call(We,Et[Nt],1)}return ae=null,We},y.fn.uniqueSort=function(){return this.pushStack(y.uniqueSort(r.apply(this)))},X=y.expr={cacheLength:50,createPseudo:Oi,match:$n,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(We){return We[1]=We[1].replace(fi,fs),We[3]=(We[3]||We[4]||We[5]||"").replace(fi,fs),We[2]==="~="&&(We[3]=" "+We[3]+" "),We.slice(0,4)},CHILD:function(We){return We[1]=We[1].toLowerCase(),We[1].slice(0,3)==="nth"?(We[3]||hr.error(We[0]),We[4]=+(We[4]?We[5]+(We[6]||1):2*(We[3]==="even"||We[3]==="odd")),We[5]=+(We[7]+We[8]||We[3]==="odd")):We[3]&&hr.error(We[0]),We},PSEUDO:function(We){var ot,Et=!We[6]&&We[2];return $n.CHILD.test(We[0])?null:(We[3]?We[2]=We[4]||We[5]||"":Et&&Sn.test(Et)&&(ot=Ul(Et,!0))&&(ot=Et.indexOf(")",Et.length-ot)-Et.length)&&(We[0]=We[0].slice(0,ot),We[2]=Et.slice(0,ot)),We.slice(0,3))}},filter:{TAG:function(We){var ot=We.replace(fi,fs).toLowerCase();return We==="*"?function(){return!0}:function(Et){return C(Et,ot)}},CLASS:function(We){var ot=In[We+" "];return ot||(ot=new RegExp("(^|"+D+")"+We+"("+D+"|$)"))&&In(We,function(Et){return ot.test(typeof Et.className=="string"&&Et.className||typeof Et.getAttribute<"u"&&Et.getAttribute("class")||"")})},ATTR:function(We,ot,Et){return function(Nt){var Ut=hr.attr(Nt,We);return Ut==null?ot==="!=":ot?(Ut+="",ot==="="?Ut===Et:ot==="!="?Ut!==Et:ot==="^="?Et&&Ut.indexOf(Et)===0:ot==="*="?Et&&Ut.indexOf(Et)>-1:ot==="$="?Et&&Ut.slice(-Et.length)===Et:ot==="~="?(" "+Ut.replace(wt," ")+" ").indexOf(Et)>-1:ot==="|="?Ut===Et||Ut.slice(0,Et.length+1)===Et+"-":!1):!0}},CHILD:function(We,ot,Et,Nt,Ut){var sn=We.slice(0,3)!=="nth",un=We.slice(-4)!=="last",vn=ot==="of-type";return Nt===1&&Ut===0?function(cn){return!!cn.parentNode}:function(cn,Wn,Mn){var Rn,tr,kn,Er,ko,mo=sn!==un?"nextSibling":"previousSibling",hi=cn.parentNode,gi=vn&&cn.nodeName.toLowerCase(),Ni=!Mn&&!vn,To=!1;if(hi){if(sn){for(;mo;){for(kn=cn;kn=kn[mo];)if(vn?C(kn,gi):kn.nodeType===1)return!1;ko=mo=We==="only"&&!ko&&"nextSibling"}return!0}if(ko=[un?hi.firstChild:hi.lastChild],un&&Ni){for(tr=hi[zt]||(hi[zt]={}),Rn=tr[We]||[],Er=Rn[0]===St&&Rn[1],To=Er&&Rn[2],kn=Er&&hi.childNodes[Er];kn=++Er&&kn&&kn[mo]||(To=Er=0)||ko.pop();)if(kn.nodeType===1&&++To&&kn===cn){tr[We]=[St,Er,To];break}}else if(Ni&&(tr=cn[zt]||(cn[zt]={}),Rn=tr[We]||[],Er=Rn[0]===St&&Rn[1],To=Er),To===!1)for(;(kn=++Er&&kn&&kn[mo]||(To=Er=0)||ko.pop())&&!((vn?C(kn,gi):kn.nodeType===1)&&++To&&(Ni&&(tr=kn[zt]||(kn[zt]={}),tr[We]=[St,To]),kn===cn)););return To-=Ut,To===Nt||To%Nt===0&&To/Nt>=0}}},PSEUDO:function(We,ot){var Et,Nt=X.pseudos[We]||X.setFilters[We.toLowerCase()]||hr.error("unsupported pseudo: "+We);return Nt[zt]?Nt(ot):Nt.length>1?(Et=[We,We,"",ot],X.setFilters.hasOwnProperty(We.toLowerCase())?Oi(function(Ut,sn){for(var un,vn=Nt(Ut,ot),cn=vn.length;cn--;)un=c.call(Ut,vn[cn]),Ut[un]=!(sn[un]=vn[cn])}):function(Ut){return Nt(Ut,0,Et)}):Nt}},pseudos:{not:Oi(function(We){var ot=[],Et=[],Nt=yu(We.replace(F,"$1"));return Nt[zt]?Oi(function(Ut,sn,un,vn){for(var cn,Wn=Nt(Ut,null,vn,[]),Mn=Ut.length;Mn--;)(cn=Wn[Mn])&&(Ut[Mn]=!(sn[Mn]=cn))}):function(Ut,sn,un){return ot[0]=Ut,Nt(ot,null,un,Et),ot[0]=null,!Et.pop()}}),has:Oi(function(We){return function(ot){return hr(We,ot).length>0}}),contains:Oi(function(We){return We=We.replace(fi,fs),function(ot){return(ot.textContent||y.text(ot)).indexOf(We)>-1}}),lang:Oi(function(We){return ar.test(We||"")||hr.error("unsupported lang: "+We),We=We.replace(fi,fs).toLowerCase(),function(ot){var Et;do if(Et=Xe?ot.lang:ot.getAttribute("xml:lang")||ot.getAttribute("lang"))return Et=Et.toLowerCase(),Et===We||Et.indexOf(We+"-")===0;while((ot=ot.parentNode)&&ot.nodeType===1);return!1}}),target:function(We){var ot=t.location&&t.location.hash;return ot&&ot.slice(1)===We.id},root:function(We){return We===tt},focus:function(We){return We===Dh()&&Ae.hasFocus()&&!!(We.type||We.href||~We.tabIndex)},enabled:Qa(!1),disabled:Qa(!0),checked:function(We){return C(We,"input")&&!!We.checked||C(We,"option")&&!!We.selected},selected:function(We){return We.parentNode&&We.parentNode.selectedIndex,We.selected===!0},empty:function(We){for(We=We.firstChild;We;We=We.nextSibling)if(We.nodeType<6)return!1;return!0},parent:function(We){return!X.pseudos.empty(We)},header:function(We){return Lo.test(We.nodeName)},input:function(We){return mn.test(We.nodeName)},button:function(We){return C(We,"input")&&We.type==="button"||C(We,"button")},text:function(We){var ot;return C(We,"input")&&We.type==="text"&&((ot=We.getAttribute("type"))==null||ot.toLowerCase()==="text")},first:Os(function(){return[0]}),last:Os(function(We,ot){return[ot-1]}),eq:Os(function(We,ot,Et){return[Et<0?Et+ot:Et]}),even:Os(function(We,ot){for(var Et=0;Et<ot;Et+=2)We.push(Et);return We}),odd:Os(function(We,ot){for(var Et=1;Et<ot;Et+=2)We.push(Et);return We}),lt:Os(function(We,ot,Et){var Nt;for(Et<0?Nt=Et+ot:Et>ot?Nt=ot:Nt=Et;--Nt>=0;)We.push(Nt);return We}),gt:Os(function(We,ot,Et){for(var Nt=Et<0?Et+ot:Et;++Nt<ot;)We.push(Nt);return We})}},X.pseudos.nth=X.pseudos.eq;for($ in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})X.pseudos[$]=pi($);for($ in{submit:!0,reset:!0})X.pseudos[$]=b0($);function gu(){}gu.prototype=X.filters=X.pseudos,X.setFilters=new gu;function Ul(We,ot){var Et,Nt,Ut,sn,un,vn,cn,Wn=rr[We+" "];if(Wn)return ot?0:Wn.slice(0);for(un=We,vn=[],cn=X.preFilter;un;){(!Et||(Nt=Vt.exec(un)))&&(Nt&&(un=un.slice(Nt[0].length)||un),vn.push(Ut=[])),Et=!1,(Nt=jn.exec(un))&&(Et=Nt.shift(),Ut.push({value:Et,type:Nt[0].replace(F," ")}),un=un.slice(Et.length));for(sn in X.filter)(Nt=$n[sn].exec(un))&&(!cn[sn]||(Nt=cn[sn](Nt)))&&(Et=Nt.shift(),Ut.push({value:Et,type:sn,matches:Nt}),un=un.slice(Et.length));if(!Et)break}return ot?un.length:un?hr.error(We):rr(We,vn).slice(0)}function hs(We){for(var ot=0,Et=We.length,Nt="";ot<Et;ot++)Nt+=We[ot].value;return Nt}function el(We,ot,Et){var Nt=ot.dir,Ut=ot.next,sn=Ut||Nt,un=Et&&sn==="parentNode",vn=Qt++;return ot.first?function(cn,Wn,Mn){for(;cn=cn[Nt];)if(cn.nodeType===1||un)return We(cn,Wn,Mn);return!1}:function(cn,Wn,Mn){var Rn,tr,kn=[St,vn];if(Mn){for(;cn=cn[Nt];)if((cn.nodeType===1||un)&&We(cn,Wn,Mn))return!0}else for(;cn=cn[Nt];)if(cn.nodeType===1||un)if(tr=cn[zt]||(cn[zt]={}),Ut&&C(cn,Ut))cn=cn[Nt]||cn;else{if((Rn=tr[sn])&&Rn[0]===St&&Rn[1]===vn)return kn[2]=Rn[2];if(tr[sn]=kn,kn[2]=We(cn,Wn,Mn))return!0}return!1}}function ca(We){return We.length>1?function(ot,Et,Nt){for(var Ut=We.length;Ut--;)if(!We[Ut](ot,Et,Nt))return!1;return!0}:We[0]}function Vd(We,ot,Et){for(var Nt=0,Ut=ot.length;Nt<Ut;Nt++)hr(We,ot[Nt],Et);return Et}function Hl(We,ot,Et,Nt,Ut){for(var sn,un=[],vn=0,cn=We.length,Wn=ot!=null;vn<cn;vn++)(sn=We[vn])&&(!Et||Et(sn,Nt,Ut))&&(un.push(sn),Wn&&ot.push(vn));return un}function mu(We,ot,Et,Nt,Ut,sn){return Nt&&!Nt[zt]&&(Nt=mu(Nt)),Ut&&!Ut[zt]&&(Ut=mu(Ut,sn)),Oi(function(un,vn,cn,Wn){var Mn,Rn,tr,kn,Er=[],ko=[],mo=vn.length,hi=un||Vd(ot||"*",cn.nodeType?[cn]:cn,[]),gi=We&&(un||!ot)?Hl(hi,Er,We,cn,Wn):hi;if(Et?(kn=Ut||(un?We:mo||Nt)?[]:vn,Et(gi,kn,cn,Wn)):kn=gi,Nt)for(Mn=Hl(kn,ko),Nt(Mn,[],cn,Wn),Rn=Mn.length;Rn--;)(tr=Mn[Rn])&&(kn[ko[Rn]]=!(gi[ko[Rn]]=tr));if(un){if(Ut||We){if(Ut){for(Mn=[],Rn=kn.length;Rn--;)(tr=kn[Rn])&&Mn.push(gi[Rn]=tr);Ut(null,kn=[],Mn,Wn)}for(Rn=kn.length;Rn--;)(tr=kn[Rn])&&(Mn=Ut?c.call(un,tr):Er[Rn])>-1&&(un[Mn]=!(vn[Mn]=tr))}}else kn=Hl(kn===vn?kn.splice(mo,kn.length):kn),Ut?Ut(null,vn,kn,Wn):_e.apply(vn,kn)})}function $l(We){for(var ot,Et,Nt,Ut=We.length,sn=X.relative[We[0].type],un=sn||X.relative[" "],vn=sn?1:0,cn=el(function(Rn){return Rn===ot},un,!0),Wn=el(function(Rn){return c.call(ot,Rn)>-1},un,!0),Mn=[function(Rn,tr,kn){var Er=!sn&&(kn||tr!=te)||((ot=tr).nodeType?cn(Rn,tr,kn):Wn(Rn,tr,kn));return ot=null,Er}];vn<Ut;vn++)if(Et=X.relative[We[vn].type])Mn=[el(ca(Mn),Et)];else{if(Et=X.filter[We[vn].type].apply(null,We[vn].matches),Et[zt]){for(Nt=++vn;Nt<Ut&&!X.relative[We[Nt].type];Nt++);return mu(vn>1&&ca(Mn),vn>1&&hs(We.slice(0,vn-1).concat({value:We[vn-2].type===" "?"*":""})).replace(F,"$1"),Et,vn<Nt&&$l(We.slice(vn,Nt)),Nt<Ut&&$l(We=We.slice(Nt)),Nt<Ut&&hs(We))}Mn.push(Et)}return ca(Mn)}function ql(We,ot){var Et=ot.length>0,Nt=We.length>0,Ut=function(sn,un,vn,cn,Wn){var Mn,Rn,tr,kn=0,Er="0",ko=sn&&[],mo=[],hi=te,gi=sn||Nt&&X.find.TAG("*",Wn),Ni=St+=hi==null?1:Math.random()||.1,To=gi.length;for(Wn&&(te=un==Ae||un||Wn);Er!==To&&(Mn=gi[Er])!=null;Er++){if(Nt&&Mn){for(Rn=0,!un&&Mn.ownerDocument!=Ae&&(ps(Mn),vn=!Xe);tr=We[Rn++];)if(tr(Mn,un||Ae,vn)){_e.call(cn,Mn);break}Wn&&(St=Ni)}Et&&((Mn=!tr&&Mn)&&kn--,sn&&ko.push(Mn))}if(kn+=Er,Et&&Er!==kn){for(Rn=0;tr=ot[Rn++];)tr(ko,mo,un,vn);if(sn){if(kn>0)for(;Er--;)ko[Er]||mo[Er]||(mo[Er]=T.call(cn));mo=Hl(mo)}_e.apply(cn,mo),Wn&&!sn&&mo.length>0&&kn+ot.length>1&&y.uniqueSort(cn)}return Wn&&(St=Ni,te=hi),ko};return Et?Oi(Ut):Ut}function yu(We,ot){var Et,Nt=[],Ut=[],sn=Dn[We+" "];if(!sn){for(ot||(ot=Ul(We)),Et=ot.length;Et--;)sn=$l(ot[Et]),sn[zt]?Nt.push(sn):Ut.push(sn);sn=Dn(We,ql(Ut,Nt)),sn.selector=We}return sn}function Kd(We,ot,Et,Nt){var Ut,sn,un,vn,cn,Wn=typeof We=="function"&&We,Mn=!Nt&&Ul(We=Wn.selector||We);if(Et=Et||[],Mn.length===1){if(sn=Mn[0]=Mn[0].slice(0),sn.length>2&&(un=sn[0]).type==="ID"&&ot.nodeType===9&&Xe&&X.relative[sn[1].type]){if(ot=(X.find.ID(un.matches[0].replace(fi,fs),ot)||[])[0],ot)Wn&&(ot=ot.parentNode);else return Et;We=We.slice(sn.shift().value.length)}for(Ut=$n.needsContext.test(We)?0:sn.length;Ut--&&(un=sn[Ut],!X.relative[vn=un.type]);)if((cn=X.find[vn])&&(Nt=cn(un.matches[0].replace(fi,fs),Ti.test(sn[0].type)&&hu(ot.parentNode)||ot))){if(sn.splice(Ut,1),We=Nt.length&&hs(sn),!We)return _e.apply(Et,Nt),Et;break}}return(Wn||yu(We,Mn))(Nt,ot,!Xe,Et,!ot||Ti.test(We)&&hu(ot.parentNode)||ot),Et}h.sortStable=zt.split("").sort(Tr).join("")===zt,ps(),h.sortDetached=Xa(function(We){return We.compareDocumentPosition(Ae.createElement("fieldset"))&1}),y.find=hr,y.expr[":"]=y.expr.pseudos,y.unique=y.uniqueSort,hr.compile=yu,hr.select=Kd,hr.setDocument=ps,hr.tokenize=Ul,hr.escape=y.escapeSelector,hr.getText=y.text,hr.isXML=y.isXMLDoc,hr.selectors=y.expr,hr.support=y.support,hr.uniqueSort=y.uniqueSort})();var N=function($,X,te){for(var ae=[],ye=te!==void 0;($=$[X])&&$.nodeType!==9;)if($.nodeType===1){if(ye&&y($).is(te))break;ae.push($)}return ae},U=function($,X){for(var te=[];$;$=$.nextSibling)$.nodeType===1&&$!==X&&te.push($);return te},M=y.expr.match.needsContext,z=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function V($,X,te){return m(X)?y.grep($,function(ae,ye){return!!X.call(ae,ye,ae)!==te}):X.nodeType?y.grep($,function(ae){return ae===X!==te}):typeof X!="string"?y.grep($,function(ae){return c.call(X,ae)>-1!==te}):y.filter(X,$,te)}y.filter=function($,X,te){var ae=X[0];return te&&($=":not("+$+")"),X.length===1&&ae.nodeType===1?y.find.matchesSelector(ae,$)?[ae]:[]:y.find.matches($,y.grep(X,function(ye){return ye.nodeType===1}))},y.fn.extend({find:function($){var X,te,ae=this.length,ye=this;if(typeof $!="string")return this.pushStack(y($).filter(function(){for(X=0;X<ae;X++)if(y.contains(ye[X],this))return!0}));for(te=this.pushStack([]),X=0;X<ae;X++)y.find($,ye[X],te);return ae>1?y.uniqueSort(te):te},filter:function($){return this.pushStack(V(this,$||[],!1))},not:function($){return this.pushStack(V(this,$||[],!0))},is:function($){return!!V(this,typeof $=="string"&&M.test($)?y($):$||[],!1).length}});var K,A=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,q=y.fn.init=function($,X,te){var ae,ye;if(!$)return this;if(te=te||K,typeof $=="string")if($[0]==="<"&&$[$.length-1]===">"&&$.length>=3?ae=[null,$,null]:ae=A.exec($),ae&&(ae[1]||!X))if(ae[1]){if(X=X instanceof y?X[0]:X,y.merge(this,y.parseHTML(ae[1],X&&X.nodeType?X.ownerDocument||X:_,!0)),z.test(ae[1])&&y.isPlainObject(X))for(ae in X)m(this[ae])?this[ae](X[ae]):this.attr(ae,X[ae]);return this}else return ye=_.getElementById(ae[2]),ye&&(this[0]=ye,this.length=1),this;else return!X||X.jquery?(X||te).find($):this.constructor(X).find($);else{if($.nodeType)return this[0]=$,this.length=1,this;if(m($))return te.ready!==void 0?te.ready($):$(y)}return y.makeArray($,this)};q.prototype=y.fn,K=y(_);var W=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};y.fn.extend({has:function($){var X=y($,this),te=X.length;return this.filter(function(){for(var ae=0;ae<te;ae++)if(y.contains(this,X[ae]))return!0})},closest:function($,X){var te,ae=0,ye=this.length,_e=[],Ae=typeof $!="string"&&y($);if(!M.test($)){for(;ae<ye;ae++)for(te=this[ae];te&&te!==X;te=te.parentNode)if(te.nodeType<11&&(Ae?Ae.index(te)>-1:te.nodeType===1&&y.find.matchesSelector(te,$))){_e.push(te);break}}return this.pushStack(_e.length>1?y.uniqueSort(_e):_e)},index:function($){return $?typeof $=="string"?c.call(y($),this[0]):c.call(this,$.jquery?$[0]:$):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function($,X){return this.pushStack(y.uniqueSort(y.merge(this.get(),y($,X))))},addBack:function($){return this.add($==null?this.prevObject:this.prevObject.filter($))}});function G($,X){for(;($=$[X])&&$.nodeType!==1;);return $}y.each({parent:function($){var X=$.parentNode;return X&&X.nodeType!==11?X:null},parents:function($){return N($,"parentNode")},parentsUntil:function($,X,te){return N($,"parentNode",te)},next:function($){return G($,"nextSibling")},prev:function($){return G($,"previousSibling")},nextAll:function($){return N($,"nextSibling")},prevAll:function($){return N($,"previousSibling")},nextUntil:function($,X,te){return N($,"nextSibling",te)},prevUntil:function($,X,te){return N($,"previousSibling",te)},siblings:function($){return U(($.parentNode||{}).firstChild,$)},children:function($){return U($.firstChild)},contents:function($){return $.contentDocument!=null&&a($.contentDocument)?$.contentDocument:(C($,"template")&&($=$.content||$),y.merge([],$.childNodes))}},function($,X){y.fn[$]=function(te,ae){var ye=y.map(this,X,te);return $.slice(-5)!=="Until"&&(ae=te),ae&&typeof ae=="string"&&(ye=y.filter(ae,ye)),this.length>1&&(H[$]||y.uniqueSort(ye),W.test($)&&ye.reverse()),this.pushStack(ye)}});var Z=/[^\x20\t\r\n\f]+/g;function Q($){var X={};return y.each($.match(Z)||[],function(te,ae){X[ae]=!0}),X}y.Callbacks=function($){$=typeof $=="string"?Q($):y.extend({},$);var X,te,ae,ye,_e=[],Ae=[],tt=-1,Xe=function(){for(ye=ye||$.once,ae=X=!0;Ae.length;tt=-1)for(te=Ae.shift();++tt<_e.length;)_e[tt].apply(te[0],te[1])===!1&&$.stopOnFalse&&(tt=_e.length,te=!1);$.memory||(te=!1),X=!1,ye&&(te?_e=[]:_e="")},dt={add:function(){return _e&&(te&&!X&&(tt=_e.length-1,Ae.push(te)),function It(zt){y.each(zt,function(St,Qt){m(Qt)?(!$.unique||!dt.has(Qt))&&_e.push(Qt):Qt&&Qt.length&&S(Qt)!=="string"&&It(Qt)})}(arguments),te&&!X&&Xe()),this},remove:function(){return y.each(arguments,function(It,zt){for(var St;(St=y.inArray(zt,_e,St))>-1;)_e.splice(St,1),St<=tt&&tt--}),this},has:function(It){return It?y.inArray(It,_e)>-1:_e.length>0},empty:function(){return _e&&(_e=[]),this},disable:function(){return ye=Ae=[],_e=te="",this},disabled:function(){return!_e},lock:function(){return ye=Ae=[],!te&&!X&&(_e=te=""),this},locked:function(){return!!ye},fireWith:function(It,zt){return ye||(zt=zt||[],zt=[It,zt.slice?zt.slice():zt],Ae.push(zt),X||Xe()),this},fire:function(){return dt.fireWith(this,arguments),this},fired:function(){return!!ae}};return dt};function Y($){return $}function ee($){throw $}function re($,X,te,ae){var ye;try{$&&m(ye=$.promise)?ye.call($).done(X).fail(te):$&&m(ye=$.then)?ye.call($,X,te):X.apply(void 0,[$].slice(ae))}catch(_e){te.apply(void 0,[_e])}}y.extend({Deferred:function($){var X=[["notify","progress",y.Callbacks("memory"),y.Callbacks("memory"),2],["resolve","done",y.Callbacks("once memory"),y.Callbacks("once memory"),0,"resolved"],["reject","fail",y.Callbacks("once memory"),y.Callbacks("once memory"),1,"rejected"]],te="pending",ae={state:function(){return te},always:function(){return ye.done(arguments).fail(arguments),this},catch:function(_e){return ae.then(null,_e)},pipe:function(){var _e=arguments;return y.Deferred(function(Ae){y.each(X,function(tt,Xe){var dt=m(_e[Xe[4]])&&_e[Xe[4]];ye[Xe[1]](function(){var It=dt&&dt.apply(this,arguments);It&&m(It.promise)?It.promise().progress(Ae.notify).done(Ae.resolve).fail(Ae.reject):Ae[Xe[0]+"With"](this,dt?[It]:arguments)})}),_e=null}).promise()},then:function(_e,Ae,tt){var Xe=0;function dt(It,zt,St,Qt){return function(){var In=this,rr=arguments,Dn=function(){var Tr,jo;if(!(It<Xe)){if(Tr=St.apply(In,rr),Tr===zt.promise())throw new TypeError("Thenable self-resolution");jo=Tr&&(typeof Tr=="object"||typeof Tr=="function")&&Tr.then,m(jo)?Qt?jo.call(Tr,dt(Xe,zt,Y,Qt),dt(Xe,zt,ee,Qt)):(Xe++,jo.call(Tr,dt(Xe,zt,Y,Qt),dt(Xe,zt,ee,Qt),dt(Xe,zt,Y,zt.notifyWith))):(St!==Y&&(In=void 0,rr=[Tr]),(Qt||zt.resolveWith)(In,rr))}},Xr=Qt?Dn:function(){try{Dn()}catch(Tr){y.Deferred.exceptionHook&&y.Deferred.exceptionHook(Tr,Xr.error),It+1>=Xe&&(St!==ee&&(In=void 0,rr=[Tr]),zt.rejectWith(In,rr))}};It?Xr():(y.Deferred.getErrorHook?Xr.error=y.Deferred.getErrorHook():y.Deferred.getStackHook&&(Xr.error=y.Deferred.getStackHook()),t.setTimeout(Xr))}}return y.Deferred(function(It){X[0][3].add(dt(0,It,m(tt)?tt:Y,It.notifyWith)),X[1][3].add(dt(0,It,m(_e)?_e:Y)),X[2][3].add(dt(0,It,m(Ae)?Ae:ee))}).promise()},promise:function(_e){return _e!=null?y.extend(_e,ae):ae}},ye={};return y.each(X,function(_e,Ae){var tt=Ae[2],Xe=Ae[5];ae[Ae[1]]=tt.add,Xe&&tt.add(function(){te=Xe},X[3-_e][2].disable,X[3-_e][3].disable,X[0][2].lock,X[0][3].lock),tt.add(Ae[3].fire),ye[Ae[0]]=function(){return ye[Ae[0]+"With"](this===ye?void 0:this,arguments),this},ye[Ae[0]+"With"]=tt.fireWith}),ae.promise(ye),$&&$.call(ye,ye),ye},when:function($){var X=arguments.length,te=X,ae=Array(te),ye=r.call(arguments),_e=y.Deferred(),Ae=function(tt){return function(Xe){ae[tt]=this,ye[tt]=arguments.length>1?r.call(arguments):Xe,--X||_e.resolveWith(ae,ye)}};if(X<=1&&(re($,_e.done(Ae(te)).resolve,_e.reject,!X),_e.state()==="pending"||m(ye[te]&&ye[te].then)))return _e.then();for(;te--;)re(ye[te],Ae(te),_e.reject);return _e.promise()}});var de=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;y.Deferred.exceptionHook=function($,X){t.console&&t.console.warn&&$&&de.test($.name)&&t.console.warn("jQuery.Deferred exception: "+$.message,$.stack,X)},y.readyException=function($){t.setTimeout(function(){throw $})};var fe=y.Deferred();y.fn.ready=function($){return fe.then($).catch(function(X){y.readyException(X)}),this},y.extend({isReady:!1,readyWait:1,ready:function($){($===!0?--y.readyWait:y.isReady)||(y.isReady=!0,!($!==!0&&--y.readyWait>0)&&fe.resolveWith(_,[y]))}}),y.ready.then=fe.then;function ne(){_.removeEventListener("DOMContentLoaded",ne),t.removeEventListener("load",ne),y.ready()}_.readyState==="complete"||_.readyState!=="loading"&&!_.documentElement.doScroll?t.setTimeout(y.ready):(_.addEventListener("DOMContentLoaded",ne),t.addEventListener("load",ne));var Se=function($,X,te,ae,ye,_e,Ae){var tt=0,Xe=$.length,dt=te==null;if(S(te)==="object"){ye=!0;for(tt in te)Se($,X,tt,te[tt],!0,_e,Ae)}else if(ae!==void 0&&(ye=!0,m(ae)||(Ae=!0),dt&&(Ae?(X.call($,ae),X=null):(dt=X,X=function(It,zt,St){return dt.call(y(It),St)})),X))for(;tt<Xe;tt++)X($[tt],te,Ae?ae:ae.call($[tt],tt,X($[tt],te)));return ye?$:dt?X.call($):Xe?X($[0],te):_e},we=/^-ms-/,me=/-([a-z])/g;function je($,X){return X.toUpperCase()}function ce($){return $.replace(we,"ms-").replace(me,je)}var se=function($){return $.nodeType===1||$.nodeType===9||!+$.nodeType};function pe(){this.expando=y.expando+pe.uid++}pe.uid=1,pe.prototype={cache:function($){var X=$[this.expando];return X||(X={},se($)&&($.nodeType?$[this.expando]=X:Object.defineProperty($,this.expando,{value:X,configurable:!0}))),X},set:function($,X,te){var ae,ye=this.cache($);if(typeof X=="string")ye[ce(X)]=te;else for(ae in X)ye[ce(ae)]=X[ae];return ye},get:function($,X){return X===void 0?this.cache($):$[this.expando]&&$[this.expando][ce(X)]},access:function($,X,te){return X===void 0||X&&typeof X=="string"&&te===void 0?this.get($,X):(this.set($,X,te),te!==void 0?te:X)},remove:function($,X){var te,ae=$[this.expando];if(ae!==void 0){if(X!==void 0)for(Array.isArray(X)?X=X.map(ce):(X=ce(X),X=X in ae?[X]:X.match(Z)||[]),te=X.length;te--;)delete ae[X[te]];(X===void 0||y.isEmptyObject(ae))&&($.nodeType?$[this.expando]=void 0:delete $[this.expando])}},hasData:function($){var X=$[this.expando];return X!==void 0&&!y.isEmptyObject(X)}};var le=new pe,ke=new pe,Te=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ce=/[A-Z]/g;function Me($){return $==="true"?!0:$==="false"?!1:$==="null"?null:$===+$+""?+$:Te.test($)?JSON.parse($):$}function qe($,X,te){var ae;if(te===void 0&&$.nodeType===1)if(ae="data-"+X.replace(Ce,"-$&").toLowerCase(),te=$.getAttribute(ae),typeof te=="string"){try{te=Me(te)}catch{}ke.set($,X,te)}else te=void 0;return te}y.extend({hasData:function($){return ke.hasData($)||le.hasData($)},data:function($,X,te){return ke.access($,X,te)},removeData:function($,X){ke.remove($,X)},_data:function($,X,te){return le.access($,X,te)},_removeData:function($,X){le.remove($,X)}}),y.fn.extend({data:function($,X){var te,ae,ye,_e=this[0],Ae=_e&&_e.attributes;if($===void 0){if(this.length&&(ye=ke.get(_e),_e.nodeType===1&&!le.get(_e,"hasDataAttrs"))){for(te=Ae.length;te--;)Ae[te]&&(ae=Ae[te].name,ae.indexOf("data-")===0&&(ae=ce(ae.slice(5)),qe(_e,ae,ye[ae])));le.set(_e,"hasDataAttrs",!0)}return ye}return typeof $=="object"?this.each(function(){ke.set(this,$)}):Se(this,function(tt){var Xe;if(_e&&tt===void 0)return Xe=ke.get(_e,$),Xe!==void 0||(Xe=qe(_e,$),Xe!==void 0)?Xe:void 0;this.each(function(){ke.set(this,$,tt)})},null,X,arguments.length>1,null,!0)},removeData:function($){return this.each(function(){ke.remove(this,$)})}}),y.extend({queue:function($,X,te){var ae;if($)return X=(X||"fx")+"queue",ae=le.get($,X),te&&(!ae||Array.isArray(te)?ae=le.access($,X,y.makeArray(te)):ae.push(te)),ae||[]},dequeue:function($,X){X=X||"fx";var te=y.queue($,X),ae=te.length,ye=te.shift(),_e=y._queueHooks($,X),Ae=function(){y.dequeue($,X)};ye==="inprogress"&&(ye=te.shift(),ae--),ye&&(X==="fx"&&te.unshift("inprogress"),delete _e.stop,ye.call($,Ae,_e)),!ae&&_e&&_e.empty.fire()},_queueHooks:function($,X){var te=X+"queueHooks";return le.get($,te)||le.access($,te,{empty:y.Callbacks("once memory").add(function(){le.remove($,[X+"queue",te])})})}}),y.fn.extend({queue:function($,X){var te=2;return typeof $!="string"&&(X=$,$="fx",te--),arguments.length<te?y.queue(this[0],$):X===void 0?this:this.each(function(){var ae=y.queue(this,$,X);y._queueHooks(this,$),$==="fx"&&ae[0]!=="inprogress"&&y.dequeue(this,$)})},dequeue:function($){return this.each(function(){y.dequeue(this,$)})},clearQueue:function($){return this.queue($||"fx",[])},promise:function($,X){var te,ae=1,ye=y.Deferred(),_e=this,Ae=this.length,tt=function(){--ae||ye.resolveWith(_e,[_e])};for(typeof $!="string"&&(X=$,$=void 0),$=$||"fx";Ae--;)te=le.get(_e[Ae],$+"queueHooks"),te&&te.empty&&(ae++,te.empty.add(tt));return tt(),ye.promise(X)}});var Re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Le=new RegExp("^(?:([+-])=|)("+Re+")([a-z%]*)$","i"),Ee=["Top","Right","Bottom","Left"],Qe=_.documentElement,Oe=function($){return y.contains($.ownerDocument,$)},Ke={composed:!0};Qe.getRootNode&&(Oe=function($){return y.contains($.ownerDocument,$)||$.getRootNode(Ke)===$.ownerDocument});var it=function($,X){return $=X||$,$.style.display==="none"||$.style.display===""&&Oe($)&&y.css($,"display")==="none"};function nt($,X,te,ae){var ye,_e,Ae=20,tt=ae?function(){return ae.cur()}:function(){return y.css($,X,"")},Xe=tt(),dt=te&&te[3]||(y.cssNumber[X]?"":"px"),It=$.nodeType&&(y.cssNumber[X]||dt!=="px"&&+Xe)&&Le.exec(y.css($,X));if(It&&It[3]!==dt){for(Xe=Xe/2,dt=dt||It[3],It=+Xe||1;Ae--;)y.style($,X,It+dt),(1-_e)*(1-(_e=tt()/Xe||.5))<=0&&(Ae=0),It=It/_e;It=It*2,y.style($,X,It+dt),te=te||[]}return te&&(It=+It||+Xe||0,ye=te[1]?It+(te[1]+1)*te[2]:+te[2],ae&&(ae.unit=dt,ae.start=It,ae.end=ye)),ye}var st={};function ct($){var X,te=$.ownerDocument,ae=$.nodeName,ye=st[ae];return ye||(X=te.body.appendChild(te.createElement(ae)),ye=y.css(X,"display"),X.parentNode.removeChild(X),ye==="none"&&(ye="block"),st[ae]=ye,ye)}function He($,X){for(var te,ae,ye=[],_e=0,Ae=$.length;_e<Ae;_e++)ae=$[_e],ae.style&&(te=ae.style.display,X?(te==="none"&&(ye[_e]=le.get(ae,"display")||null,ye[_e]||(ae.style.display="")),ae.style.display===""&&it(ae)&&(ye[_e]=ct(ae))):te!=="none"&&(ye[_e]="none",le.set(ae,"display",te)));for(_e=0;_e<Ae;_e++)ye[_e]!=null&&($[_e].style.display=ye[_e]);return $}y.fn.extend({show:function(){return He(this,!0)},hide:function(){return He(this)},toggle:function($){return typeof $=="boolean"?$?this.show():this.hide():this.each(function(){it(this)?y(this).show():y(this).hide()})}});var Ot=/^(?:checkbox|radio)$/i,Gt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Yt=/^$|^module$|\/(?:java|ecma)script/i;(function(){var $=_.createDocumentFragment(),X=$.appendChild(_.createElement("div")),te=_.createElement("input");te.setAttribute("type","radio"),te.setAttribute("checked","checked"),te.setAttribute("name","t"),X.appendChild(te),h.checkClone=X.cloneNode(!0).cloneNode(!0).lastChild.checked,X.innerHTML="<textarea>x</textarea>",h.noCloneChecked=!!X.cloneNode(!0).lastChild.defaultValue,X.innerHTML="<option></option>",h.option=!!X.lastChild})();var Xt={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Xt.tbody=Xt.tfoot=Xt.colgroup=Xt.caption=Xt.thead,Xt.th=Xt.td,h.option||(Xt.optgroup=Xt.option=[1,"<select multiple='multiple'>","</select>"]);function _t($,X){var te;return typeof $.getElementsByTagName<"u"?te=$.getElementsByTagName(X||"*"):typeof $.querySelectorAll<"u"?te=$.querySelectorAll(X||"*"):te=[],X===void 0||X&&C($,X)?y.merge([$],te):te}function Ht($,X){for(var te=0,ae=$.length;te<ae;te++)le.set($[te],"globalEval",!X||le.get(X[te],"globalEval"))}var an=/<|&#?\w+;/;function Dt($,X,te,ae,ye){for(var _e,Ae,tt,Xe,dt,It,zt=X.createDocumentFragment(),St=[],Qt=0,In=$.length;Qt<In;Qt++)if(_e=$[Qt],_e||_e===0)if(S(_e)==="object")y.merge(St,_e.nodeType?[_e]:_e);else if(!an.test(_e))St.push(X.createTextNode(_e));else{for(Ae=Ae||zt.appendChild(X.createElement("div")),tt=(Gt.exec(_e)||["",""])[1].toLowerCase(),Xe=Xt[tt]||Xt._default,Ae.innerHTML=Xe[1]+y.htmlPrefilter(_e)+Xe[2],It=Xe[0];It--;)Ae=Ae.lastChild;y.merge(St,Ae.childNodes),Ae=zt.firstChild,Ae.textContent=""}for(zt.textContent="",Qt=0;_e=St[Qt++];){if(ae&&y.inArray(_e,ae)>-1){ye&&ye.push(_e);continue}if(dt=Oe(_e),Ae=_t(zt.appendChild(_e),"script"),dt&&Ht(Ae),te)for(It=0;_e=Ae[It++];)Yt.test(_e.type||"")&&te.push(_e)}return zt}var tn=/^([^.]*)(?:\.(.+)|)/;function Ne(){return!0}function Je(){return!1}function Ie($,X,te,ae,ye,_e){var Ae,tt;if(typeof X=="object"){typeof te!="string"&&(ae=ae||te,te=void 0);for(tt in X)Ie($,tt,te,ae,X[tt],_e);return $}if(ae==null&&ye==null?(ye=te,ae=te=void 0):ye==null&&(typeof te=="string"?(ye=ae,ae=void 0):(ye=ae,ae=te,te=void 0)),ye===!1)ye=Je;else if(!ye)return $;return _e===1&&(Ae=ye,ye=function(Xe){return y().off(Xe),Ae.apply(this,arguments)},ye.guid=Ae.guid||(Ae.guid=y.guid++)),$.each(function(){y.event.add(this,X,ye,ae,te)})}y.event={global:{},add:function($,X,te,ae,ye){var _e,Ae,tt,Xe,dt,It,zt,St,Qt,In,rr,Dn=le.get($);if(se($))for(te.handler&&(_e=te,te=_e.handler,ye=_e.selector),ye&&y.find.matchesSelector(Qe,ye),te.guid||(te.guid=y.guid++),(Xe=Dn.events)||(Xe=Dn.events=Object.create(null)),(Ae=Dn.handle)||(Ae=Dn.handle=function(Xr){return typeof y<"u"&&y.event.triggered!==Xr.type?y.event.dispatch.apply($,arguments):void 0}),X=(X||"").match(Z)||[""],dt=X.length;dt--;)tt=tn.exec(X[dt])||[],Qt=rr=tt[1],In=(tt[2]||"").split(".").sort(),Qt&&(zt=y.event.special[Qt]||{},Qt=(ye?zt.delegateType:zt.bindType)||Qt,zt=y.event.special[Qt]||{},It=y.extend({type:Qt,origType:rr,data:ae,handler:te,guid:te.guid,selector:ye,needsContext:ye&&y.expr.match.needsContext.test(ye),namespace:In.join(".")},_e),(St=Xe[Qt])||(St=Xe[Qt]=[],St.delegateCount=0,(!zt.setup||zt.setup.call($,ae,In,Ae)===!1)&&$.addEventListener&&$.addEventListener(Qt,Ae)),zt.add&&(zt.add.call($,It),It.handler.guid||(It.handler.guid=te.guid)),ye?St.splice(St.delegateCount++,0,It):St.push(It),y.event.global[Qt]=!0)},remove:function($,X,te,ae,ye){var _e,Ae,tt,Xe,dt,It,zt,St,Qt,In,rr,Dn=le.hasData($)&&le.get($);if(!(!Dn||!(Xe=Dn.events))){for(X=(X||"").match(Z)||[""],dt=X.length;dt--;){if(tt=tn.exec(X[dt])||[],Qt=rr=tt[1],In=(tt[2]||"").split(".").sort(),!Qt){for(Qt in Xe)y.event.remove($,Qt+X[dt],te,ae,!0);continue}for(zt=y.event.special[Qt]||{},Qt=(ae?zt.delegateType:zt.bindType)||Qt,St=Xe[Qt]||[],tt=tt[2]&&new RegExp("(^|\\.)"+In.join("\\.(?:.*\\.|)")+"(\\.|$)"),Ae=_e=St.length;_e--;)It=St[_e],(ye||rr===It.origType)&&(!te||te.guid===It.guid)&&(!tt||tt.test(It.namespace))&&(!ae||ae===It.selector||ae==="**"&&It.selector)&&(St.splice(_e,1),It.selector&&St.delegateCount--,zt.remove&&zt.remove.call($,It));Ae&&!St.length&&((!zt.teardown||zt.teardown.call($,In,Dn.handle)===!1)&&y.removeEvent($,Qt,Dn.handle),delete Xe[Qt])}y.isEmptyObject(Xe)&&le.remove($,"handle events")}},dispatch:function($){var X,te,ae,ye,_e,Ae,tt=new Array(arguments.length),Xe=y.event.fix($),dt=(le.get(this,"events")||Object.create(null))[Xe.type]||[],It=y.event.special[Xe.type]||{};for(tt[0]=Xe,X=1;X<arguments.length;X++)tt[X]=arguments[X];if(Xe.delegateTarget=this,!(It.preDispatch&&It.preDispatch.call(this,Xe)===!1)){for(Ae=y.event.handlers.call(this,Xe,dt),X=0;(ye=Ae[X++])&&!Xe.isPropagationStopped();)for(Xe.currentTarget=ye.elem,te=0;(_e=ye.handlers[te++])&&!Xe.isImmediatePropagationStopped();)(!Xe.rnamespace||_e.namespace===!1||Xe.rnamespace.test(_e.namespace))&&(Xe.handleObj=_e,Xe.data=_e.data,ae=((y.event.special[_e.origType]||{}).handle||_e.handler).apply(ye.elem,tt),ae!==void 0&&(Xe.result=ae)===!1&&(Xe.preventDefault(),Xe.stopPropagation()));return It.postDispatch&&It.postDispatch.call(this,Xe),Xe.result}},handlers:function($,X){var te,ae,ye,_e,Ae,tt=[],Xe=X.delegateCount,dt=$.target;if(Xe&&dt.nodeType&&!($.type==="click"&&$.button>=1)){for(;dt!==this;dt=dt.parentNode||this)if(dt.nodeType===1&&!($.type==="click"&&dt.disabled===!0)){for(_e=[],Ae={},te=0;te<Xe;te++)ae=X[te],ye=ae.selector+" ",Ae[ye]===void 0&&(Ae[ye]=ae.needsContext?y(ye,this).index(dt)>-1:y.find(ye,this,null,[dt]).length),Ae[ye]&&_e.push(ae);_e.length&&tt.push({elem:dt,handlers:_e})}}return dt=this,Xe<X.length&&tt.push({elem:dt,handlers:X.slice(Xe)}),tt},addProp:function($,X){Object.defineProperty(y.Event.prototype,$,{enumerable:!0,configurable:!0,get:m(X)?function(){if(this.originalEvent)return X(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[$]},set:function(te){Object.defineProperty(this,$,{enumerable:!0,configurable:!0,writable:!0,value:te})}})},fix:function($){return $[y.expando]?$:new y.Event($)},special:{load:{noBubble:!0},click:{setup:function($){var X=this||$;return Ot.test(X.type)&&X.click&&C(X,"input")&&Ue(X,"click",!0),!1},trigger:function($){var X=this||$;return Ot.test(X.type)&&X.click&&C(X,"input")&&Ue(X,"click"),!0},_default:function($){var X=$.target;return Ot.test(X.type)&&X.click&&C(X,"input")&&le.get(X,"click")||C(X,"a")}},beforeunload:{postDispatch:function($){$.result!==void 0&&$.originalEvent&&($.originalEvent.returnValue=$.result)}}}};function Ue($,X,te){if(!te){le.get($,X)===void 0&&y.event.add($,X,Ne);return}le.set($,X,!1),y.event.add($,X,{namespace:!1,handler:function(ae){var ye,_e=le.get(this,X);if(ae.isTrigger&1&&this[X]){if(_e)(y.event.special[X]||{}).delegateType&&ae.stopPropagation();else if(_e=r.call(arguments),le.set(this,X,_e),this[X](),ye=le.get(this,X),le.set(this,X,!1),_e!==ye)return ae.stopImmediatePropagation(),ae.preventDefault(),ye}else _e&&(le.set(this,X,y.event.trigger(_e[0],_e.slice(1),this)),ae.stopPropagation(),ae.isImmediatePropagationStopped=Ne)}})}y.removeEvent=function($,X,te){$.removeEventListener&&$.removeEventListener(X,te)},y.Event=function($,X){if(!(this instanceof y.Event))return new y.Event($,X);$&&$.type?(this.originalEvent=$,this.type=$.type,this.isDefaultPrevented=$.defaultPrevented||$.defaultPrevented===void 0&&$.returnValue===!1?Ne:Je,this.target=$.target&&$.target.nodeType===3?$.target.parentNode:$.target,this.currentTarget=$.currentTarget,this.relatedTarget=$.relatedTarget):this.type=$,X&&y.extend(this,X),this.timeStamp=$&&$.timeStamp||Date.now(),this[y.expando]=!0},y.Event.prototype={constructor:y.Event,isDefaultPrevented:Je,isPropagationStopped:Je,isImmediatePropagationStopped:Je,isSimulated:!1,preventDefault:function(){var $=this.originalEvent;this.isDefaultPrevented=Ne,$&&!this.isSimulated&&$.preventDefault()},stopPropagation:function(){var $=this.originalEvent;this.isPropagationStopped=Ne,$&&!this.isSimulated&&$.stopPropagation()},stopImmediatePropagation:function(){var $=this.originalEvent;this.isImmediatePropagationStopped=Ne,$&&!this.isSimulated&&$.stopImmediatePropagation(),this.stopPropagation()}},y.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},y.event.addProp),y.each({focus:"focusin",blur:"focusout"},function($,X){function te(ae){if(_.documentMode){var ye=le.get(this,"handle"),_e=y.event.fix(ae);_e.type=ae.type==="focusin"?"focus":"blur",_e.isSimulated=!0,ye(ae),_e.target===_e.currentTarget&&ye(_e)}else y.event.simulate(X,ae.target,y.event.fix(ae))}y.event.special[$]={setup:function(){var ae;if(Ue(this,$,!0),_.documentMode)ae=le.get(this,X),ae||this.addEventListener(X,te),le.set(this,X,(ae||0)+1);else return!1},trigger:function(){return Ue(this,$),!0},teardown:function(){var ae;if(_.documentMode)ae=le.get(this,X)-1,ae?le.set(this,X,ae):(this.removeEventListener(X,te),le.remove(this,X));else return!1},_default:function(ae){return le.get(ae.target,$)},delegateType:X},y.event.special[X]={setup:function(){var ae=this.ownerDocument||this.document||this,ye=_.documentMode?this:ae,_e=le.get(ye,X);_e||(_.documentMode?this.addEventListener(X,te):ae.addEventListener($,te,!0)),le.set(ye,X,(_e||0)+1)},teardown:function(){var ae=this.ownerDocument||this.document||this,ye=_.documentMode?this:ae,_e=le.get(ye,X)-1;_e?le.set(ye,X,_e):(_.documentMode?this.removeEventListener(X,te):ae.removeEventListener($,te,!0),le.remove(ye,X))}}}),y.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function($,X){y.event.special[$]={delegateType:X,bindType:X,handle:function(te){var ae,ye=this,_e=te.relatedTarget,Ae=te.handleObj;return(!_e||_e!==ye&&!y.contains(ye,_e))&&(te.type=Ae.origType,ae=Ae.handler.apply(this,arguments),te.type=X),ae}}}),y.fn.extend({on:function($,X,te,ae){return Ie(this,$,X,te,ae)},one:function($,X,te,ae){return Ie(this,$,X,te,ae,1)},off:function($,X,te){var ae,ye;if($&&$.preventDefault&&$.handleObj)return ae=$.handleObj,y($.delegateTarget).off(ae.namespace?ae.origType+"."+ae.namespace:ae.origType,ae.selector,ae.handler),this;if(typeof $=="object"){for(ye in $)this.off(ye,X,$[ye]);return this}return(X===!1||typeof X=="function")&&(te=X,X=void 0),te===!1&&(te=Je),this.each(function(){y.event.remove(this,$,te,X)})}});var ut=/<script|<style|<link/i,bt=/checked\s*(?:[^=]|=\s*.checked.)/i,At=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Ze($,X){return C($,"table")&&C(X.nodeType!==11?X:X.firstChild,"tr")&&y($).children("tbody")[0]||$}function Fe($){return $.type=($.getAttribute("type")!==null)+"/"+$.type,$}function Ge($){return($.type||"").slice(0,5)==="true/"?$.type=$.type.slice(5):$.removeAttribute("type"),$}function lt($,X){var te,ae,ye,_e,Ae,tt,Xe;if(X.nodeType===1){if(le.hasData($)&&(_e=le.get($),Xe=_e.events,Xe)){le.remove(X,"handle events");for(ye in Xe)for(te=0,ae=Xe[ye].length;te<ae;te++)y.event.add(X,ye,Xe[ye][te])}ke.hasData($)&&(Ae=ke.access($),tt=y.extend({},Ae),ke.set(X,tt))}}function Pt($,X){var te=X.nodeName.toLowerCase();te==="input"&&Ot.test($.type)?X.checked=$.checked:(te==="input"||te==="textarea")&&(X.defaultValue=$.defaultValue)}function Kt($,X,te,ae){X=o(X);var ye,_e,Ae,tt,Xe,dt,It=0,zt=$.length,St=zt-1,Qt=X[0],In=m(Qt);if(In||zt>1&&typeof Qt=="string"&&!h.checkClone&&bt.test(Qt))return $.each(function(rr){var Dn=$.eq(rr);In&&(X[0]=Qt.call(this,rr,Dn.html())),Kt(Dn,X,te,ae)});if(zt&&(ye=Dt(X,$[0].ownerDocument,!1,$,ae),_e=ye.firstChild,ye.childNodes.length===1&&(ye=_e),_e||ae)){for(Ae=y.map(_t(ye,"script"),Fe),tt=Ae.length;It<zt;It++)Xe=ye,It!==St&&(Xe=y.clone(Xe,!0,!0),tt&&y.merge(Ae,_t(Xe,"script"))),te.call($[It],Xe,It);if(tt)for(dt=Ae[Ae.length-1].ownerDocument,y.map(Ae,Ge),It=0;It<tt;It++)Xe=Ae[It],Yt.test(Xe.type||"")&&!le.access(Xe,"globalEval")&&y.contains(dt,Xe)&&(Xe.src&&(Xe.type||"").toLowerCase()!=="module"?y._evalUrl&&!Xe.noModule&&y._evalUrl(Xe.src,{nonce:Xe.nonce||Xe.getAttribute("nonce")},dt):w(Xe.textContent.replace(At,""),Xe,dt))}return $}function Zt($,X,te){for(var ae,ye=X?y.filter(X,$):$,_e=0;(ae=ye[_e])!=null;_e++)!te&&ae.nodeType===1&&y.cleanData(_t(ae)),ae.parentNode&&(te&&Oe(ae)&&Ht(_t(ae,"script")),ae.parentNode.removeChild(ae));return $}y.extend({htmlPrefilter:function($){return $},clone:function($,X,te){var ae,ye,_e,Ae,tt=$.cloneNode(!0),Xe=Oe($);if(!h.noCloneChecked&&($.nodeType===1||$.nodeType===11)&&!y.isXMLDoc($))for(Ae=_t(tt),_e=_t($),ae=0,ye=_e.length;ae<ye;ae++)Pt(_e[ae],Ae[ae]);if(X)if(te)for(_e=_e||_t($),Ae=Ae||_t(tt),ae=0,ye=_e.length;ae<ye;ae++)lt(_e[ae],Ae[ae]);else lt($,tt);return Ae=_t(tt,"script"),Ae.length>0&&Ht(Ae,!Xe&&_t($,"script")),tt},cleanData:function($){for(var X,te,ae,ye=y.event.special,_e=0;(te=$[_e])!==void 0;_e++)if(se(te)){if(X=te[le.expando]){if(X.events)for(ae in X.events)ye[ae]?y.event.remove(te,ae):y.removeEvent(te,ae,X.handle);te[le.expando]=void 0}te[ke.expando]&&(te[ke.expando]=void 0)}}}),y.fn.extend({detach:function($){return Zt(this,$,!0)},remove:function($){return Zt(this,$)},text:function($){return Se(this,function(X){return X===void 0?y.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=X)})},null,$,arguments.length)},append:function(){return Kt(this,arguments,function($){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var X=Ze(this,$);X.appendChild($)}})},prepend:function(){return Kt(this,arguments,function($){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var X=Ze(this,$);X.insertBefore($,X.firstChild)}})},before:function(){return Kt(this,arguments,function($){this.parentNode&&this.parentNode.insertBefore($,this)})},after:function(){return Kt(this,arguments,function($){this.parentNode&&this.parentNode.insertBefore($,this.nextSibling)})},empty:function(){for(var $,X=0;($=this[X])!=null;X++)$.nodeType===1&&(y.cleanData(_t($,!1)),$.textContent="");return this},clone:function($,X){return $=$??!1,X=X??$,this.map(function(){return y.clone(this,$,X)})},html:function($){return Se(this,function(X){var te=this[0]||{},ae=0,ye=this.length;if(X===void 0&&te.nodeType===1)return te.innerHTML;if(typeof X=="string"&&!ut.test(X)&&!Xt[(Gt.exec(X)||["",""])[1].toLowerCase()]){X=y.htmlPrefilter(X);try{for(;ae<ye;ae++)te=this[ae]||{},te.nodeType===1&&(y.cleanData(_t(te,!1)),te.innerHTML=X);te=0}catch{}}te&&this.empty().append(X)},null,$,arguments.length)},replaceWith:function(){var $=[];return Kt(this,arguments,function(X){var te=this.parentNode;y.inArray(this,$)<0&&(y.cleanData(_t(this)),te&&te.replaceChild(X,this))},$)}}),y.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function($,X){y.fn[$]=function(te){for(var ae,ye=[],_e=y(te),Ae=_e.length-1,tt=0;tt<=Ae;tt++)ae=tt===Ae?this:this.clone(!0),y(_e[tt])[X](ae),s.apply(ye,ae.get());return this.pushStack(ye)}});var Mt=new RegExp("^("+Re+")(?!px)[a-z%]+$","i"),Pe=/^--/,ze=function($){var X=$.ownerDocument.defaultView;return(!X||!X.opener)&&(X=t),X.getComputedStyle($)},ft=function($,X,te){var ae,ye,_e={};for(ye in X)_e[ye]=$.style[ye],$.style[ye]=X[ye];ae=te.call($);for(ye in X)$.style[ye]=_e[ye];return ae},ve=new RegExp(Ee.join("|"),"i");(function(){function $(){if(dt){Xe.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",dt.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Qe.appendChild(Xe).appendChild(dt);var It=t.getComputedStyle(dt);te=It.top!=="1%",tt=X(It.marginLeft)===12,dt.style.right="60%",_e=X(It.right)===36,ae=X(It.width)===36,dt.style.position="absolute",ye=X(dt.offsetWidth/3)===12,Qe.removeChild(Xe),dt=null}}function X(It){return Math.round(parseFloat(It))}var te,ae,ye,_e,Ae,tt,Xe=_.createElement("div"),dt=_.createElement("div");dt.style&&(dt.style.backgroundClip="content-box",dt.cloneNode(!0).style.backgroundClip="",h.clearCloneStyle=dt.style.backgroundClip==="content-box",y.extend(h,{boxSizingReliable:function(){return $(),ae},pixelBoxStyles:function(){return $(),_e},pixelPosition:function(){return $(),te},reliableMarginLeft:function(){return $(),tt},scrollboxSize:function(){return $(),ye},reliableTrDimensions:function(){var It,zt,St,Qt;return Ae==null&&(It=_.createElement("table"),zt=_.createElement("tr"),St=_.createElement("div"),It.style.cssText="position:absolute;left:-11111px;border-collapse:separate",zt.style.cssText="box-sizing:content-box;border:1px solid",zt.style.height="1px",St.style.height="9px",St.style.display="block",Qe.appendChild(It).appendChild(zt).appendChild(St),Qt=t.getComputedStyle(zt),Ae=parseInt(Qt.height,10)+parseInt(Qt.borderTopWidth,10)+parseInt(Qt.borderBottomWidth,10)===zt.offsetHeight,Qe.removeChild(It)),Ae}}))})();function $e($,X,te){var ae,ye,_e,Ae,tt=Pe.test(X),Xe=$.style;return te=te||ze($),te&&(Ae=te.getPropertyValue(X)||te[X],tt&&Ae&&(Ae=Ae.replace(F,"$1")||void 0),Ae===""&&!Oe($)&&(Ae=y.style($,X)),!h.pixelBoxStyles()&&Mt.test(Ae)&&ve.test(X)&&(ae=Xe.width,ye=Xe.minWidth,_e=Xe.maxWidth,Xe.minWidth=Xe.maxWidth=Xe.width=Ae,Ae=te.width,Xe.width=ae,Xe.minWidth=ye,Xe.maxWidth=_e)),Ae!==void 0?Ae+"":Ae}function rt($,X){return{get:function(){if($()){delete this.get;return}return(this.get=X).apply(this,arguments)}}}var et=["Webkit","Moz","ms"],yt=_.createElement("div").style,gt={};function xe($){for(var X=$[0].toUpperCase()+$.slice(1),te=et.length;te--;)if($=et[te]+X,$ in yt)return $}function Ye($){var X=y.cssProps[$]||gt[$];return X||($ in yt?$:gt[$]=xe($)||$)}var mt=/^(none|table(?!-c[ea]).+)/,Ft={position:"absolute",visibility:"hidden",display:"block"},Bt={letterSpacing:"0",fontWeight:"400"};function en($,X,te){var ae=Le.exec(X);return ae?Math.max(0,ae[2]-(te||0))+(ae[3]||"px"):X}function Jt($,X,te,ae,ye,_e){var Ae=X==="width"?1:0,tt=0,Xe=0,dt=0;if(te===(ae?"border":"content"))return 0;for(;Ae<4;Ae+=2)te==="margin"&&(dt+=y.css($,te+Ee[Ae],!0,ye)),ae?(te==="content"&&(Xe-=y.css($,"padding"+Ee[Ae],!0,ye)),te!=="margin"&&(Xe-=y.css($,"border"+Ee[Ae]+"Width",!0,ye))):(Xe+=y.css($,"padding"+Ee[Ae],!0,ye),te!=="padding"?Xe+=y.css($,"border"+Ee[Ae]+"Width",!0,ye):tt+=y.css($,"border"+Ee[Ae]+"Width",!0,ye));return!ae&&_e>=0&&(Xe+=Math.max(0,Math.ceil($["offset"+X[0].toUpperCase()+X.slice(1)]-_e-Xe-tt-.5))||0),Xe+dt}function nn($,X,te){var ae=ze($),ye=!h.boxSizingReliable()||te,_e=ye&&y.css($,"boxSizing",!1,ae)==="border-box",Ae=_e,tt=$e($,X,ae),Xe="offset"+X[0].toUpperCase()+X.slice(1);if(Mt.test(tt)){if(!te)return tt;tt="auto"}return(!h.boxSizingReliable()&&_e||!h.reliableTrDimensions()&&C($,"tr")||tt==="auto"||!parseFloat(tt)&&y.css($,"display",!1,ae)==="inline")&&$.getClientRects().length&&(_e=y.css($,"boxSizing",!1,ae)==="border-box",Ae=Xe in $,Ae&&(tt=$[Xe])),tt=parseFloat(tt)||0,tt+Jt($,X,te||(_e?"border":"content"),Ae,ae,tt)+"px"}y.extend({cssHooks:{opacity:{get:function($,X){if(X){var te=$e($,"opacity");return te===""?"1":te}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function($,X,te,ae){if(!(!$||$.nodeType===3||$.nodeType===8||!$.style)){var ye,_e,Ae,tt=ce(X),Xe=Pe.test(X),dt=$.style;if(Xe||(X=Ye(tt)),Ae=y.cssHooks[X]||y.cssHooks[tt],te!==void 0){if(_e=typeof te,_e==="string"&&(ye=Le.exec(te))&&ye[1]&&(te=nt($,X,ye),_e="number"),te==null||te!==te)return;_e==="number"&&!Xe&&(te+=ye&&ye[3]||(y.cssNumber[tt]?"":"px")),!h.clearCloneStyle&&te===""&&X.indexOf("background")===0&&(dt[X]="inherit"),(!Ae||!("set"in Ae)||(te=Ae.set($,te,ae))!==void 0)&&(Xe?dt.setProperty(X,te):dt[X]=te)}else return Ae&&"get"in Ae&&(ye=Ae.get($,!1,ae))!==void 0?ye:dt[X]}},css:function($,X,te,ae){var ye,_e,Ae,tt=ce(X),Xe=Pe.test(X);return Xe||(X=Ye(tt)),Ae=y.cssHooks[X]||y.cssHooks[tt],Ae&&"get"in Ae&&(ye=Ae.get($,!0,te)),ye===void 0&&(ye=$e($,X,ae)),ye==="normal"&&X in Bt&&(ye=Bt[X]),te===""||te?(_e=parseFloat(ye),te===!0||isFinite(_e)?_e||0:ye):ye}}),y.each(["height","width"],function($,X){y.cssHooks[X]={get:function(te,ae,ye){if(ae)return mt.test(y.css(te,"display"))&&(!te.getClientRects().length||!te.getBoundingClientRect().width)?ft(te,Ft,function(){return nn(te,X,ye)}):nn(te,X,ye)},set:function(te,ae,ye){var _e,Ae=ze(te),tt=!h.scrollboxSize()&&Ae.position==="absolute",Xe=tt||ye,dt=Xe&&y.css(te,"boxSizing",!1,Ae)==="border-box",It=ye?Jt(te,X,ye,dt,Ae):0;return dt&&tt&&(It-=Math.ceil(te["offset"+X[0].toUpperCase()+X.slice(1)]-parseFloat(Ae[X])-Jt(te,X,"border",!1,Ae)-.5)),It&&(_e=Le.exec(ae))&&(_e[3]||"px")!=="px"&&(te.style[X]=ae,ae=y.css(te,X)),en(te,ae,It)}}}),y.cssHooks.marginLeft=rt(h.reliableMarginLeft,function($,X){if(X)return(parseFloat($e($,"marginLeft"))||$.getBoundingClientRect().left-ft($,{marginLeft:0},function(){return $.getBoundingClientRect().left}))+"px"}),y.each({margin:"",padding:"",border:"Width"},function($,X){y.cssHooks[$+X]={expand:function(te){for(var ae=0,ye={},_e=typeof te=="string"?te.split(" "):[te];ae<4;ae++)ye[$+Ee[ae]+X]=_e[ae]||_e[ae-2]||_e[0];return ye}},$!=="margin"&&(y.cssHooks[$+X].set=en)}),y.fn.extend({css:function($,X){return Se(this,function(te,ae,ye){var _e,Ae,tt={},Xe=0;if(Array.isArray(ae)){for(_e=ze(te),Ae=ae.length;Xe<Ae;Xe++)tt[ae[Xe]]=y.css(te,ae[Xe],!1,_e);return tt}return ye!==void 0?y.style(te,ae,ye):y.css(te,ae)},$,X,arguments.length>1)}});function on($,X,te,ae,ye){return new on.prototype.init($,X,te,ae,ye)}y.Tween=on,on.prototype={constructor:on,init:function($,X,te,ae,ye,_e){this.elem=$,this.prop=te,this.easing=ye||y.easing._default,this.options=X,this.start=this.now=this.cur(),this.end=ae,this.unit=_e||(y.cssNumber[te]?"":"px")},cur:function(){var $=on.propHooks[this.prop];return $&&$.get?$.get(this):on.propHooks._default.get(this)},run:function($){var X,te=on.propHooks[this.prop];return this.options.duration?this.pos=X=y.easing[this.easing]($,this.options.duration*$,0,1,this.options.duration):this.pos=X=$,this.now=(this.end-this.start)*X+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),te&&te.set?te.set(this):on.propHooks._default.set(this),this}},on.prototype.init.prototype=on.prototype,on.propHooks={_default:{get:function($){var X;return $.elem.nodeType!==1||$.elem[$.prop]!=null&&$.elem.style[$.prop]==null?$.elem[$.prop]:(X=y.css($.elem,$.prop,""),!X||X==="auto"?0:X)},set:function($){y.fx.step[$.prop]?y.fx.step[$.prop]($):$.elem.nodeType===1&&(y.cssHooks[$.prop]||$.elem.style[Ye($.prop)]!=null)?y.style($.elem,$.prop,$.now+$.unit):$.elem[$.prop]=$.now}}},on.propHooks.scrollTop=on.propHooks.scrollLeft={set:function($){$.elem.nodeType&&$.elem.parentNode&&($.elem[$.prop]=$.now)}},y.easing={linear:function($){return $},swing:function($){return .5-Math.cos($*Math.PI)/2},_default:"swing"},y.fx=on.prototype.init,y.fx.step={};var qn,bn,En=/^(?:toggle|show|hide)$/,Zn=/queueHooks$/;function vr(){bn&&(_.hidden===!1&&t.requestAnimationFrame?t.requestAnimationFrame(vr):t.setTimeout(vr,y.fx.interval),y.fx.tick())}function go(){return t.setTimeout(function(){qn=void 0}),qn=Date.now()}function Pr($,X){var te,ae=0,ye={height:$};for(X=X?1:0;ae<4;ae+=2-X)te=Ee[ae],ye["margin"+te]=ye["padding"+te]=$;return X&&(ye.opacity=ye.width=$),ye}function Ir($,X,te){for(var ae,ye=(Sr.tweeners[X]||[]).concat(Sr.tweeners["*"]),_e=0,Ae=ye.length;_e<Ae;_e++)if(ae=ye[_e].call(te,X,$))return ae}function qo($,X,te){var ae,ye,_e,Ae,tt,Xe,dt,It,zt="width"in X||"height"in X,St=this,Qt={},In=$.style,rr=$.nodeType&&it($),Dn=le.get($,"fxshow");te.queue||(Ae=y._queueHooks($,"fx"),Ae.unqueued==null&&(Ae.unqueued=0,tt=Ae.empty.fire,Ae.empty.fire=function(){Ae.unqueued||tt()}),Ae.unqueued++,St.always(function(){St.always(function(){Ae.unqueued--,y.queue($,"fx").length||Ae.empty.fire()})}));for(ae in X)if(ye=X[ae],En.test(ye)){if(delete X[ae],_e=_e||ye==="toggle",ye===(rr?"hide":"show"))if(ye==="show"&&Dn&&Dn[ae]!==void 0)rr=!0;else continue;Qt[ae]=Dn&&Dn[ae]||y.style($,ae)}if(Xe=!y.isEmptyObject(X),!(!Xe&&y.isEmptyObject(Qt))){zt&&$.nodeType===1&&(te.overflow=[In.overflow,In.overflowX,In.overflowY],dt=Dn&&Dn.display,dt==null&&(dt=le.get($,"display")),It=y.css($,"display"),It==="none"&&(dt?It=dt:(He([$],!0),dt=$.style.display||dt,It=y.css($,"display"),He([$]))),(It==="inline"||It==="inline-block"&&dt!=null)&&y.css($,"float")==="none"&&(Xe||(St.done(function(){In.display=dt}),dt==null&&(It=In.display,dt=It==="none"?"":It)),In.display="inline-block")),te.overflow&&(In.overflow="hidden",St.always(function(){In.overflow=te.overflow[0],In.overflowX=te.overflow[1],In.overflowY=te.overflow[2]})),Xe=!1;for(ae in Qt)Xe||(Dn?"hidden"in Dn&&(rr=Dn.hidden):Dn=le.access($,"fxshow",{display:dt}),_e&&(Dn.hidden=!rr),rr&&He([$],!0),St.done(function(){rr||He([$]),le.remove($,"fxshow");for(ae in Qt)y.style($,ae,Qt[ae])})),Xe=Ir(rr?Dn[ae]:0,ae,St),ae in Dn||(Dn[ae]=Xe.start,rr&&(Xe.end=Xe.start,Xe.start=0))}}function _r($,X){var te,ae,ye,_e,Ae;for(te in $)if(ae=ce(te),ye=X[ae],_e=$[te],Array.isArray(_e)&&(ye=_e[1],_e=$[te]=_e[0]),te!==ae&&($[ae]=_e,delete $[te]),Ae=y.cssHooks[ae],Ae&&"expand"in Ae){_e=Ae.expand(_e),delete $[ae];for(te in _e)te in $||($[te]=_e[te],X[te]=ye)}else X[ae]=ye}function Sr($,X,te){var ae,ye,_e=0,Ae=Sr.prefilters.length,tt=y.Deferred().always(function(){delete Xe.elem}),Xe=function(){if(ye)return!1;for(var zt=qn||go(),St=Math.max(0,dt.startTime+dt.duration-zt),Qt=St/dt.duration||0,In=1-Qt,rr=0,Dn=dt.tweens.length;rr<Dn;rr++)dt.tweens[rr].run(In);return tt.notifyWith($,[dt,In,St]),In<1&&Dn?St:(Dn||tt.notifyWith($,[dt,1,0]),tt.resolveWith($,[dt]),!1)},dt=tt.promise({elem:$,props:y.extend({},X),opts:y.extend(!0,{specialEasing:{},easing:y.easing._default},te),originalProperties:X,originalOptions:te,startTime:qn||go(),duration:te.duration,tweens:[],createTween:function(zt,St){var Qt=y.Tween($,dt.opts,zt,St,dt.opts.specialEasing[zt]||dt.opts.easing);return dt.tweens.push(Qt),Qt},stop:function(zt){var St=0,Qt=zt?dt.tweens.length:0;if(ye)return this;for(ye=!0;St<Qt;St++)dt.tweens[St].run(1);return zt?(tt.notifyWith($,[dt,1,0]),tt.resolveWith($,[dt,zt])):tt.rejectWith($,[dt,zt]),this}}),It=dt.props;for(_r(It,dt.opts.specialEasing);_e<Ae;_e++)if(ae=Sr.prefilters[_e].call(dt,$,It,dt.opts),ae)return m(ae.stop)&&(y._queueHooks(dt.elem,dt.opts.queue).stop=ae.stop.bind(ae)),ae;return y.map(It,Ir,dt),m(dt.opts.start)&&dt.opts.start.call($,dt),dt.progress(dt.opts.progress).done(dt.opts.done,dt.opts.complete).fail(dt.opts.fail).always(dt.opts.always),y.fx.timer(y.extend(Xe,{elem:$,anim:dt,queue:dt.opts.queue})),dt}y.Animation=y.extend(Sr,{tweeners:{"*":[function($,X){var te=this.createTween($,X);return nt(te.elem,$,Le.exec(X),te),te}]},tweener:function($,X){m($)?(X=$,$=["*"]):$=$.match(Z);for(var te,ae=0,ye=$.length;ae<ye;ae++)te=$[ae],Sr.tweeners[te]=Sr.tweeners[te]||[],Sr.tweeners[te].unshift(X)},prefilters:[qo],prefilter:function($,X){X?Sr.prefilters.unshift($):Sr.prefilters.push($)}}),y.speed=function($,X,te){var ae=$&&typeof $=="object"?y.extend({},$):{complete:te||!te&&X||m($)&&$,duration:$,easing:te&&X||X&&!m(X)&&X};return y.fx.off?ae.duration=0:typeof ae.duration!="number"&&(ae.duration in y.fx.speeds?ae.duration=y.fx.speeds[ae.duration]:ae.duration=y.fx.speeds._default),(ae.queue==null||ae.queue===!0)&&(ae.queue="fx"),ae.old=ae.complete,ae.complete=function(){m(ae.old)&&ae.old.call(this),ae.queue&&y.dequeue(this,ae.queue)},ae},y.fn.extend({fadeTo:function($,X,te,ae){return this.filter(it).css("opacity",0).show().end().animate({opacity:X},$,te,ae)},animate:function($,X,te,ae){var ye=y.isEmptyObject($),_e=y.speed(X,te,ae),Ae=function(){var tt=Sr(this,y.extend({},$),_e);(ye||le.get(this,"finish"))&&tt.stop(!0)};return Ae.finish=Ae,ye||_e.queue===!1?this.each(Ae):this.queue(_e.queue,Ae)},stop:function($,X,te){var ae=function(ye){var _e=ye.stop;delete ye.stop,_e(te)};return typeof $!="string"&&(te=X,X=$,$=void 0),X&&this.queue($||"fx",[]),this.each(function(){var ye=!0,_e=$!=null&&$+"queueHooks",Ae=y.timers,tt=le.get(this);if(_e)tt[_e]&&tt[_e].stop&&ae(tt[_e]);else for(_e in tt)tt[_e]&&tt[_e].stop&&Zn.test(_e)&&ae(tt[_e]);for(_e=Ae.length;_e--;)Ae[_e].elem===this&&($==null||Ae[_e].queue===$)&&(Ae[_e].anim.stop(te),ye=!1,Ae.splice(_e,1));(ye||!te)&&y.dequeue(this,$)})},finish:function($){return $!==!1&&($=$||"fx"),this.each(function(){var X,te=le.get(this),ae=te[$+"queue"],ye=te[$+"queueHooks"],_e=y.timers,Ae=ae?ae.length:0;for(te.finish=!0,y.queue(this,$,[]),ye&&ye.stop&&ye.stop.call(this,!0),X=_e.length;X--;)_e[X].elem===this&&_e[X].queue===$&&(_e[X].anim.stop(!0),_e.splice(X,1));for(X=0;X<Ae;X++)ae[X]&&ae[X].finish&&ae[X].finish.call(this);delete te.finish})}}),y.each(["toggle","show","hide"],function($,X){var te=y.fn[X];y.fn[X]=function(ae,ye,_e){return ae==null||typeof ae=="boolean"?te.apply(this,arguments):this.animate(Pr(X,!0),ae,ye,_e)}}),y.each({slideDown:Pr("show"),slideUp:Pr("hide"),slideToggle:Pr("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function($,X){y.fn[$]=function(te,ae,ye){return this.animate(X,te,ae,ye)}}),y.timers=[],y.fx.tick=function(){var $,X=0,te=y.timers;for(qn=Date.now();X<te.length;X++)$=te[X],!$()&&te[X]===$&&te.splice(X--,1);te.length||y.fx.stop(),qn=void 0},y.fx.timer=function($){y.timers.push($),y.fx.start()},y.fx.interval=13,y.fx.start=function(){bn||(bn=!0,vr())},y.fx.stop=function(){bn=null},y.fx.speeds={slow:600,fast:200,_default:400},y.fn.delay=function($,X){return $=y.fx&&y.fx.speeds[$]||$,X=X||"fx",this.queue(X,function(te,ae){var ye=t.setTimeout(te,$);ae.stop=function(){t.clearTimeout(ye)}})},function(){var $=_.createElement("input"),X=_.createElement("select"),te=X.appendChild(_.createElement("option"));$.type="checkbox",h.checkOn=$.value!=="",h.optSelected=te.selected,$=_.createElement("input"),$.value="t",$.type="radio",h.radioValue=$.value==="t"}();var qr,Ei=y.expr.attrHandle;y.fn.extend({attr:function($,X){return Se(this,y.attr,$,X,arguments.length>1)},removeAttr:function($){return this.each(function(){y.removeAttr(this,$)})}}),y.extend({attr:function($,X,te){var ae,ye,_e=$.nodeType;if(!(_e===3||_e===8||_e===2)){if(typeof $.getAttribute>"u")return y.prop($,X,te);if((_e!==1||!y.isXMLDoc($))&&(ye=y.attrHooks[X.toLowerCase()]||(y.expr.match.bool.test(X)?qr:void 0)),te!==void 0){if(te===null){y.removeAttr($,X);return}return ye&&"set"in ye&&(ae=ye.set($,te,X))!==void 0?ae:($.setAttribute(X,te+""),te)}return ye&&"get"in ye&&(ae=ye.get($,X))!==null?ae:(ae=y.find.attr($,X),ae??void 0)}},attrHooks:{type:{set:function($,X){if(!h.radioValue&&X==="radio"&&C($,"input")){var te=$.value;return $.setAttribute("type",X),te&&($.value=te),X}}}},removeAttr:function($,X){var te,ae=0,ye=X&&X.match(Z);if(ye&&$.nodeType===1)for(;te=ye[ae++];)$.removeAttribute(te)}}),qr={set:function($,X,te){return X===!1?y.removeAttr($,te):$.setAttribute(te,te),te}},y.each(y.expr.match.bool.source.match(/\w+/g),function($,X){var te=Ei[X]||y.find.attr;Ei[X]=function(ae,ye,_e){var Ae,tt,Xe=ye.toLowerCase();return _e||(tt=Ei[Xe],Ei[Xe]=Ae,Ae=te(ae,ye,_e)!=null?Xe:null,Ei[Xe]=tt),Ae}});var lo=/^(?:input|select|textarea|button)$/i,Eo=/^(?:a|area)$/i;y.fn.extend({prop:function($,X){return Se(this,y.prop,$,X,arguments.length>1)},removeProp:function($){return this.each(function(){delete this[y.propFix[$]||$]})}}),y.extend({prop:function($,X,te){var ae,ye,_e=$.nodeType;if(!(_e===3||_e===8||_e===2))return(_e!==1||!y.isXMLDoc($))&&(X=y.propFix[X]||X,ye=y.propHooks[X]),te!==void 0?ye&&"set"in ye&&(ae=ye.set($,te,X))!==void 0?ae:$[X]=te:ye&&"get"in ye&&(ae=ye.get($,X))!==null?ae:$[X]},propHooks:{tabIndex:{get:function($){var X=y.find.attr($,"tabindex");return X?parseInt(X,10):lo.test($.nodeName)||Eo.test($.nodeName)&&$.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),h.optSelected||(y.propHooks.selected={get:function($){var X=$.parentNode;return X&&X.parentNode&&X.parentNode.selectedIndex,null},set:function($){var X=$.parentNode;X&&(X.selectedIndex,X.parentNode&&X.parentNode.selectedIndex)}}),y.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){y.propFix[this.toLowerCase()]=this});function ti($){var X=$.match(Z)||[];return X.join(" ")}function co($){return $.getAttribute&&$.getAttribute("class")||""}function ci($){return Array.isArray($)?$:typeof $=="string"?$.match(Z)||[]:[]}y.fn.extend({addClass:function($){var X,te,ae,ye,_e,Ae;return m($)?this.each(function(tt){y(this).addClass($.call(this,tt,co(this)))}):(X=ci($),X.length?this.each(function(){if(ae=co(this),te=this.nodeType===1&&" "+ti(ae)+" ",te){for(_e=0;_e<X.length;_e++)ye=X[_e],te.indexOf(" "+ye+" ")<0&&(te+=ye+" ");Ae=ti(te),ae!==Ae&&this.setAttribute("class",Ae)}}):this)},removeClass:function($){var X,te,ae,ye,_e,Ae;return m($)?this.each(function(tt){y(this).removeClass($.call(this,tt,co(this)))}):arguments.length?(X=ci($),X.length?this.each(function(){if(ae=co(this),te=this.nodeType===1&&" "+ti(ae)+" ",te){for(_e=0;_e<X.length;_e++)for(ye=X[_e];te.indexOf(" "+ye+" ")>-1;)te=te.replace(" "+ye+" "," ");Ae=ti(te),ae!==Ae&&this.setAttribute("class",Ae)}}):this):this.attr("class","")},toggleClass:function($,X){var te,ae,ye,_e,Ae=typeof $,tt=Ae==="string"||Array.isArray($);return m($)?this.each(function(Xe){y(this).toggleClass($.call(this,Xe,co(this),X),X)}):typeof X=="boolean"&&tt?X?this.addClass($):this.removeClass($):(te=ci($),this.each(function(){if(tt)for(_e=y(this),ye=0;ye<te.length;ye++)ae=te[ye],_e.hasClass(ae)?_e.removeClass(ae):_e.addClass(ae);else($===void 0||Ae==="boolean")&&(ae=co(this),ae&&le.set(this,"__className__",ae),this.setAttribute&&this.setAttribute("class",ae||$===!1?"":le.get(this,"__className__")||""))}))},hasClass:function($){var X,te,ae=0;for(X=" "+$+" ";te=this[ae++];)if(te.nodeType===1&&(" "+ti(co(te))+" ").indexOf(X)>-1)return!0;return!1}});var ia=/\r/g;y.fn.extend({val:function($){var X,te,ae,ye=this[0];return arguments.length?(ae=m($),this.each(function(_e){var Ae;this.nodeType===1&&(ae?Ae=$.call(this,_e,y(this).val()):Ae=$,Ae==null?Ae="":typeof Ae=="number"?Ae+="":Array.isArray(Ae)&&(Ae=y.map(Ae,function(tt){return tt==null?"":tt+""})),X=y.valHooks[this.type]||y.valHooks[this.nodeName.toLowerCase()],(!X||!("set"in X)||X.set(this,Ae,"value")===void 0)&&(this.value=Ae))})):ye?(X=y.valHooks[ye.type]||y.valHooks[ye.nodeName.toLowerCase()],X&&"get"in X&&(te=X.get(ye,"value"))!==void 0?te:(te=ye.value,typeof te=="string"?te.replace(ia,""):te??"")):void 0}}),y.extend({valHooks:{option:{get:function($){var X=y.find.attr($,"value");return X??ti(y.text($))}},select:{get:function($){var X,te,ae,ye=$.options,_e=$.selectedIndex,Ae=$.type==="select-one",tt=Ae?null:[],Xe=Ae?_e+1:ye.length;for(_e<0?ae=Xe:ae=Ae?_e:0;ae<Xe;ae++)if(te=ye[ae],(te.selected||ae===_e)&&!te.disabled&&(!te.parentNode.disabled||!C(te.parentNode,"optgroup"))){if(X=y(te).val(),Ae)return X;tt.push(X)}return tt},set:function($,X){for(var te,ae,ye=$.options,_e=y.makeArray(X),Ae=ye.length;Ae--;)ae=ye[Ae],(ae.selected=y.inArray(y.valHooks.option.get(ae),_e)>-1)&&(te=!0);return te||($.selectedIndex=-1),_e}}}}),y.each(["radio","checkbox"],function(){y.valHooks[this]={set:function($,X){if(Array.isArray(X))return $.checked=y.inArray(y($).val(),X)>-1}},h.checkOn||(y.valHooks[this].get=function($){return $.getAttribute("value")===null?"on":$.value})});var Co=t.location,ur={guid:Date.now()},zi=/\?/;y.parseXML=function($){var X,te;if(!$||typeof $!="string")return null;try{X=new t.DOMParser().parseFromString($,"text/xml")}catch{}return te=X&&X.getElementsByTagName("parsererror")[0],(!X||te)&&y.error("Invalid XML: "+(te?y.map(te.childNodes,function(ae){return ae.textContent}).join(`
|
|
64
64
|
`):$)),X};var Ln=/^(?:focusinfocus|focusoutblur)$/,Fn=function($){$.stopPropagation()};y.extend(y.event,{trigger:function($,X,te,ae){var ye,_e,Ae,tt,Xe,dt,It,zt,St=[te||_],Qt=d.call($,"type")?$.type:$,In=d.call($,"namespace")?$.namespace.split("."):[];if(_e=zt=Ae=te=te||_,!(te.nodeType===3||te.nodeType===8)&&!Ln.test(Qt+y.event.triggered)&&(Qt.indexOf(".")>-1&&(In=Qt.split("."),Qt=In.shift(),In.sort()),Xe=Qt.indexOf(":")<0&&"on"+Qt,$=$[y.expando]?$:new y.Event(Qt,typeof $=="object"&&$),$.isTrigger=ae?2:3,$.namespace=In.join("."),$.rnamespace=$.namespace?new RegExp("(^|\\.)"+In.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,$.result=void 0,$.target||($.target=te),X=X==null?[$]:y.makeArray(X,[$]),It=y.event.special[Qt]||{},!(!ae&&It.trigger&&It.trigger.apply(te,X)===!1))){if(!ae&&!It.noBubble&&!g(te)){for(tt=It.delegateType||Qt,Ln.test(tt+Qt)||(_e=_e.parentNode);_e;_e=_e.parentNode)St.push(_e),Ae=_e;Ae===(te.ownerDocument||_)&&St.push(Ae.defaultView||Ae.parentWindow||t)}for(ye=0;(_e=St[ye++])&&!$.isPropagationStopped();)zt=_e,$.type=ye>1?tt:It.bindType||Qt,dt=(le.get(_e,"events")||Object.create(null))[$.type]&&le.get(_e,"handle"),dt&&dt.apply(_e,X),dt=Xe&&_e[Xe],dt&&dt.apply&&se(_e)&&($.result=dt.apply(_e,X),$.result===!1&&$.preventDefault());return $.type=Qt,!ae&&!$.isDefaultPrevented()&&(!It._default||It._default.apply(St.pop(),X)===!1)&&se(te)&&Xe&&m(te[Qt])&&!g(te)&&(Ae=te[Xe],Ae&&(te[Xe]=null),y.event.triggered=Qt,$.isPropagationStopped()&&zt.addEventListener(Qt,Fn),te[Qt](),$.isPropagationStopped()&&zt.removeEventListener(Qt,Fn),y.event.triggered=void 0,Ae&&(te[Xe]=Ae)),$.result}},simulate:function($,X,te){var ae=y.extend(new y.Event,te,{type:$,isSimulated:!0});y.event.trigger(ae,null,X)}}),y.fn.extend({trigger:function($,X){return this.each(function(){y.event.trigger($,X,this)})},triggerHandler:function($,X){var te=this[0];if(te)return y.event.trigger($,X,te,!0)}});var ni=/\[\]$/,Wo=/\r?\n/g,Ci=/^(?:submit|button|image|reset|file)$/i,cs=/^(?:input|select|textarea|keygen)/i;function us($,X,te,ae){var ye;if(Array.isArray(X))y.each(X,function(_e,Ae){te||ni.test($)?ae($,Ae):us($+"["+(typeof Ae=="object"&&Ae!=null?_e:"")+"]",Ae,te,ae)});else if(!te&&S(X)==="object")for(ye in X)us($+"["+ye+"]",X[ye],te,ae);else ae($,X)}y.param=function($,X){var te,ae=[],ye=function(_e,Ae){var tt=m(Ae)?Ae():Ae;ae[ae.length]=encodeURIComponent(_e)+"="+encodeURIComponent(tt??"")};if($==null)return"";if(Array.isArray($)||$.jquery&&!y.isPlainObject($))y.each($,function(){ye(this.name,this.value)});else for(te in $)us(te,$[te],X,ye);return ae.join("&")},y.fn.extend({serialize:function(){return y.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var $=y.prop(this,"elements");return $?y.makeArray($):this}).filter(function(){var $=this.type;return this.name&&!y(this).is(":disabled")&&cs.test(this.nodeName)&&!Ci.test($)&&(this.checked||!Ot.test($))}).map(function($,X){var te=y(this).val();return te==null?null:Array.isArray(te)?y.map(te,function(ae){return{name:X.name,value:ae.replace(Wo,`\r
|
|
65
65
|
`)}}):{name:X.name,value:te.replace(Wo,`\r
|
|
66
|
-
`)}}).get()}});var js=/%20/g,Mo=/#.*$/,ks=/([?&])_=[^&]*/,zl=/^(.*?):[ \t]*([^\r\n]*)$/mg,fu=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Jd=/^(?:GET|HEAD)$/,sa=/^\/\//,aa={},la={},Ts="*/".concat("*"),Ui=_.createElement("a");Ui.href=Co.href;function ui($){return function(X,te){typeof X!="string"&&(te=X,X="*");var ae,ye=0,_e=X.toLowerCase().match(Z)||[];if(m(te))for(;ae=_e[ye++];)ae[0]==="+"?(ae=ae.slice(1)||"*",($[ae]=$[ae]||[]).unshift(te)):($[ae]=$[ae]||[]).push(te)}}function Hi($,X,te,ae){var ye={},_e=$===la;function Ae(tt){var Xe;return ye[tt]=!0,y.each($[tt]||[],function(dt,It){var zt=It(X,te,ae);if(typeof zt=="string"&&!_e&&!ye[zt])return X.dataTypes.unshift(zt),Ae(zt),!1;if(_e)return!(Xe=zt)}),Xe}return Ae(X.dataTypes[0])||!ye["*"]&&Ae("*")}function ji($,X){var te,ae,ye=y.ajaxSettings.flatOptions||{};for(te in X)X[te]!==void 0&&((ye[te]?$:ae||(ae={}))[te]=X[te]);return ae&&y.extend(!0,$,ae),$}function $i($,X,te){for(var ae,ye,_e,Ae,tt=$.contents,Xe=$.dataTypes;Xe[0]==="*";)Xe.shift(),ae===void 0&&(ae=$.mimeType||X.getResponseHeader("Content-Type"));if(ae){for(ye in tt)if(tt[ye]&&tt[ye].test(ae)){Xe.unshift(ye);break}}if(Xe[0]in te)_e=Xe[0];else{for(ye in te){if(!Xe[0]||$.converters[ye+" "+Xe[0]]){_e=ye;break}Ae||(Ae=ye)}_e=_e||Ae}if(_e)return _e!==Xe[0]&&Xe.unshift(_e),te[_e]}function ki($,X,te,ae){var ye,_e,Ae,tt,Xe,dt={},It=$.dataTypes.slice();if(It[1])for(Ae in $.converters)dt[Ae.toLowerCase()]=$.converters[Ae];for(_e=It.shift();_e;)if($.responseFields[_e]&&(te[$.responseFields[_e]]=X),!Xe&&ae&&$.dataFilter&&(X=$.dataFilter(X,$.dataType)),Xe=_e,_e=It.shift(),_e){if(_e==="*")_e=Xe;else if(Xe!=="*"&&Xe!==_e){if(Ae=dt[Xe+" "+_e]||dt["* "+_e],!Ae){for(ye in dt)if(tt=ye.split(" "),tt[1]===_e&&(Ae=dt[Xe+" "+tt[0]]||dt["* "+tt[0]],Ae)){Ae===!0?Ae=dt[ye]:dt[ye]!==!0&&(_e=tt[0],It.unshift(tt[1]));break}}if(Ae!==!0)if(Ae&&$.throws)X=Ae(X);else try{X=Ae(X)}catch(zt){return{state:"parsererror",error:Ae?zt:"No conversion from "+Xe+" to "+_e}}}}return{state:"success",data:X}}y.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Co.href,type:"GET",isLocal:fu.test(Co.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ts,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":y.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function($,X){return X?ji(ji($,y.ajaxSettings),X):ji(y.ajaxSettings,$)},ajaxPrefilter:ui(aa),ajaxTransport:ui(la),ajax:function($,X){typeof $=="object"&&(X=$,$=void 0),X=X||{};var te,ae,ye,_e,Ae,tt,Xe,dt,It,zt,St=y.ajaxSetup({},X),Qt=St.context||St,In=St.context&&(Qt.nodeType||Qt.jquery)?y(Qt):y.event,rr=y.Deferred(),Dn=y.Callbacks("once memory"),Xr=St.statusCode||{},Tr={},jo={},br="canceled",Ve={readyState:0,getResponseHeader:function(wt){var Vt;if(Xe){if(!_e)for(_e={};Vt=zl.exec(ye);)_e[Vt[1].toLowerCase()+" "]=(_e[Vt[1].toLowerCase()+" "]||[]).concat(Vt[2]);Vt=_e[wt.toLowerCase()+" "]}return Vt==null?null:Vt.join(", ")},getAllResponseHeaders:function(){return Xe?ye:null},setRequestHeader:function(wt,Vt){return Xe==null&&(wt=jo[wt.toLowerCase()]=jo[wt.toLowerCase()]||wt,Tr[wt]=Vt),this},overrideMimeType:function(wt){return Xe==null&&(St.mimeType=wt),this},statusCode:function(wt){var Vt;if(wt)if(Xe)Ve.always(wt[Ve.status]);else for(Vt in wt)Xr[Vt]=[Xr[Vt],wt[Vt]];return this},abort:function(wt){var Vt=wt||br;return te&&te.abort(Vt),xt(0,Vt),this}};if(rr.promise(Ve),St.url=(($||St.url||Co.href)+"").replace(sa,Co.protocol+"//"),St.type=X.method||X.type||St.method||St.type,St.dataTypes=(St.dataType||"*").toLowerCase().match(Z)||[""],St.crossDomain==null){tt=_.createElement("a");try{tt.href=St.url,tt.href=tt.href,St.crossDomain=Ui.protocol+"//"+Ui.host!=tt.protocol+"//"+tt.host}catch{St.crossDomain=!0}}if(St.data&&St.processData&&typeof St.data!="string"&&(St.data=y.param(St.data,St.traditional)),Hi(aa,St,X,Ve),Xe)return Ve;dt=y.event&&St.global,dt&&y.active++===0&&y.event.trigger("ajaxStart"),St.type=St.type.toUpperCase(),St.hasContent=!Jd.test(St.type),ae=St.url.replace(Mo,""),St.hasContent?St.data&&St.processData&&(St.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(St.data=St.data.replace(js,"+")):(zt=St.url.slice(ae.length),St.data&&(St.processData||typeof St.data=="string")&&(ae+=(zi.test(ae)?"&":"?")+St.data,delete St.data),St.cache===!1&&(ae=ae.replace(ks,"$1"),zt=(zi.test(ae)?"&":"?")+"_="+ur.guid+++zt),St.url=ae+zt),St.ifModified&&(y.lastModified[ae]&&Ve.setRequestHeader("If-Modified-Since",y.lastModified[ae]),y.etag[ae]&&Ve.setRequestHeader("If-None-Match",y.etag[ae])),(St.data&&St.hasContent&&St.contentType!==!1||X.contentType)&&Ve.setRequestHeader("Content-Type",St.contentType),Ve.setRequestHeader("Accept",St.dataTypes[0]&&St.accepts[St.dataTypes[0]]?St.accepts[St.dataTypes[0]]+(St.dataTypes[0]!=="*"?", "+Ts+"; q=0.01":""):St.accepts["*"]);for(It in St.headers)Ve.setRequestHeader(It,St.headers[It]);if(St.beforeSend&&(St.beforeSend.call(Qt,Ve,St)===!1||Xe))return Ve.abort();if(br="abort",Dn.add(St.complete),Ve.done(St.success),Ve.fail(St.error),te=Hi(la,St,X,Ve),!te)xt(-1,"No Transport");else{if(Ve.readyState=1,dt&&In.trigger("ajaxSend",[Ve,St]),Xe)return Ve;St.async&&St.timeout>0&&(Ae=t.setTimeout(function(){Ve.abort("timeout")},St.timeout));try{Xe=!1,te.send(Tr,xt)}catch(wt){if(Xe)throw wt;xt(-1,wt)}}function xt(wt,Vt,jn,Nn){var Sn,ar,$n,mn,Lo,ro=Vt;Xe||(Xe=!0,Ae&&t.clearTimeout(Ae),te=void 0,ye=Nn||"",Ve.readyState=wt>0?4:0,Sn=wt>=200&&wt<300||wt===304,jn&&(mn=$i(St,Ve,jn)),!Sn&&y.inArray("script",St.dataTypes)>-1&&y.inArray("json",St.dataTypes)<0&&(St.converters["text script"]=function(){}),mn=ki(St,mn,Ve,Sn),Sn?(St.ifModified&&(Lo=Ve.getResponseHeader("Last-Modified"),Lo&&(y.lastModified[ae]=Lo),Lo=Ve.getResponseHeader("etag"),Lo&&(y.etag[ae]=Lo)),wt===204||St.type==="HEAD"?ro="nocontent":wt===304?ro="notmodified":(ro=mn.state,ar=mn.data,$n=mn.error,Sn=!$n)):($n=ro,(wt||!ro)&&(ro="error",wt<0&&(wt=0))),Ve.status=wt,Ve.statusText=(Vt||ro)+"",Sn?rr.resolveWith(Qt,[ar,ro,Ve]):rr.rejectWith(Qt,[Ve,ro,$n]),Ve.statusCode(Xr),Xr=void 0,dt&&In.trigger(Sn?"ajaxSuccess":"ajaxError",[Ve,St,Sn?ar:$n]),Dn.fireWith(Qt,[Ve,ro]),dt&&(In.trigger("ajaxComplete",[Ve,St]),--y.active||y.event.trigger("ajaxStop")))}return Ve},getJSON:function($,X,te){return y.get($,X,te,"json")},getScript:function($,X){return y.get($,void 0,X,"script")}}),y.each(["get","post"],function($,X){y[X]=function(te,ae,ye,_e){return m(ae)&&(_e=_e||ye,ye=ae,ae=void 0),y.ajax(y.extend({url:te,type:X,dataType:_e,data:ae,success:ye},y.isPlainObject(te)&&te))}}),y.ajaxPrefilter(function($){var X;for(X in $.headers)X.toLowerCase()==="content-type"&&($.contentType=$.headers[X]||"")}),y._evalUrl=function($,X,te){return y.ajax({url:$,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(ae){y.globalEval(ae,X,te)}})},y.fn.extend({wrapAll:function($){var X;return this[0]&&(m($)&&($=$.call(this[0])),X=y($,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&X.insertBefore(this[0]),X.map(function(){for(var te=this;te.firstElementChild;)te=te.firstElementChild;return te}).append(this)),this},wrapInner:function($){return m($)?this.each(function(X){y(this).wrapInner($.call(this,X))}):this.each(function(){var X=y(this),te=X.contents();te.length?te.wrapAll($):X.append($)})},wrap:function($){var X=m($);return this.each(function(te){y(this).wrapAll(X?$.call(this,te):$)})},unwrap:function($){return this.parent($).not("body").each(function(){y(this).replaceWith(this.childNodes)}),this}}),y.expr.pseudos.hidden=function($){return!y.expr.pseudos.visible($)},y.expr.pseudos.visible=function($){return!!($.offsetWidth||$.offsetHeight||$.getClientRects().length)},y.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch{}};var qi={0:200,1223:204},uo=y.ajaxSettings.xhr();h.cors=!!uo&&"withCredentials"in uo,h.ajax=uo=!!uo,y.ajaxTransport(function($){var X,te;if(h.cors||uo&&!$.crossDomain)return{send:function(ae,ye){var _e,Ae=$.xhr();if(Ae.open($.type,$.url,$.async,$.username,$.password),$.xhrFields)for(_e in $.xhrFields)Ae[_e]=$.xhrFields[_e];$.mimeType&&Ae.overrideMimeType&&Ae.overrideMimeType($.mimeType),!$.crossDomain&&!ae["X-Requested-With"]&&(ae["X-Requested-With"]="XMLHttpRequest");for(_e in ae)Ae.setRequestHeader(_e,ae[_e]);X=function(tt){return function(){X&&(X=te=Ae.onload=Ae.onerror=Ae.onabort=Ae.ontimeout=Ae.onreadystatechange=null,tt==="abort"?Ae.abort():tt==="error"?typeof Ae.status!="number"?ye(0,"error"):ye(Ae.status,Ae.statusText):ye(qi[Ae.status]||Ae.status,Ae.statusText,(Ae.responseType||"text")!=="text"||typeof Ae.responseText!="string"?{binary:Ae.response}:{text:Ae.responseText},Ae.getAllResponseHeaders()))}},Ae.onload=X(),te=Ae.onerror=Ae.ontimeout=X("error"),Ae.onabort!==void 0?Ae.onabort=te:Ae.onreadystatechange=function(){Ae.readyState===4&&t.setTimeout(function(){X&&te()})},X=X("abort");try{Ae.send($.hasContent&&$.data||null)}catch(tt){if(X)throw tt}},abort:function(){X&&X()}}}),y.ajaxPrefilter(function($){$.crossDomain&&($.contents.script=!1)}),y.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function($){return y.globalEval($),$}}}),y.ajaxPrefilter("script",function($){$.cache===void 0&&($.cache=!1),$.crossDomain&&($.type="GET")}),y.ajaxTransport("script",function($){if($.crossDomain||$.scriptAttrs){var X,te;return{send:function(ae,ye){X=y("<script>").attr($.scriptAttrs||{}).prop({charset:$.scriptCharset,src:$.url}).on("load error",te=function(_e){X.remove(),te=null,_e&&ye(_e.type==="error"?404:200,_e.type)}),_.head.appendChild(X[0])},abort:function(){te&&te()}}}});var Zr=[],Do=/(=)\?(?=&|$)|\?\?/;y.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var $=Zr.pop()||y.expando+"_"+ur.guid++;return this[$]=!0,$}}),y.ajaxPrefilter("json jsonp",function($,X,te){var ae,ye,_e,Ae=$.jsonp!==!1&&(Do.test($.url)?"url":typeof $.data=="string"&&($.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&Do.test($.data)&&"data");if(Ae||$.dataTypes[0]==="jsonp")return ae=$.jsonpCallback=m($.jsonpCallback)?$.jsonpCallback():$.jsonpCallback,Ae?$[Ae]=$[Ae].replace(Do,"$1"+ae):$.jsonp!==!1&&($.url+=(zi.test($.url)?"&":"?")+$.jsonp+"="+ae),$.converters["script json"]=function(){return _e||y.error(ae+" was not called"),_e[0]},$.dataTypes[0]="json",ye=t[ae],t[ae]=function(){_e=arguments},te.always(function(){ye===void 0?y(t).removeProp(ae):t[ae]=ye,$[ae]&&($.jsonpCallback=X.jsonpCallback,Zr.push(ae)),_e&&m(ye)&&ye(_e[0]),_e=ye=void 0}),"script"}),h.createHTMLDocument=function(){var $=_.implementation.createHTMLDocument("").body;return $.innerHTML="<form></form><form></form>",$.childNodes.length===2}(),y.parseHTML=function($,X,te){if(typeof $!="string")return[];typeof X=="boolean"&&(te=X,X=!1);var ae,ye,_e;return X||(h.createHTMLDocument?(X=_.implementation.createHTMLDocument(""),ae=X.createElement("base"),ae.href=_.location.href,X.head.appendChild(ae)):X=_),ye=z.exec($),_e=!te&&[],ye?[X.createElement(ye[1])]:(ye=Dt([$],X,_e),_e&&_e.length&&y(_e).remove(),y.merge([],ye.childNodes))},y.fn.load=function($,X,te){var ae,ye,_e,Ae=this,tt=$.indexOf(" ");return tt>-1&&(ae=ti($.slice(tt)),$=$.slice(0,tt)),m(X)?(te=X,X=void 0):X&&typeof X=="object"&&(ye="POST"),Ae.length>0&&y.ajax({url:$,type:ye||"GET",dataType:"html",data:X}).done(function(Xe){_e=arguments,Ae.html(ae?y("<div>").append(y.parseHTML(Xe)).find(ae):Xe)}).always(te&&function(Xe,dt){Ae.each(function(){te.apply(this,_e||[Xe.responseText,dt,Xe])})}),this},y.expr.pseudos.animated=function($){return y.grep(y.timers,function(X){return $===X.elem}).length},y.offset={setOffset:function($,X,te){var ae,ye,_e,Ae,tt,Xe,dt,It=y.css($,"position"),zt=y($),St={};It==="static"&&($.style.position="relative"),tt=zt.offset(),_e=y.css($,"top"),Xe=y.css($,"left"),dt=(It==="absolute"||It==="fixed")&&(_e+Xe).indexOf("auto")>-1,dt?(ae=zt.position(),Ae=ae.top,ye=ae.left):(Ae=parseFloat(_e)||0,ye=parseFloat(Xe)||0),m(X)&&(X=X.call($,te,y.extend({},tt))),X.top!=null&&(St.top=X.top-tt.top+Ae),X.left!=null&&(St.left=X.left-tt.left+ye),"using"in X?X.using.call($,St):zt.css(St)}},y.fn.extend({offset:function($){if(arguments.length)return $===void 0?this:this.each(function(ye){y.offset.setOffset(this,$,ye)});var X,te,ae=this[0];if(ae)return ae.getClientRects().length?(X=ae.getBoundingClientRect(),te=ae.ownerDocument.defaultView,{top:X.top+te.pageYOffset,left:X.left+te.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var $,X,te,ae=this[0],ye={top:0,left:0};if(y.css(ae,"position")==="fixed")X=ae.getBoundingClientRect();else{for(X=this.offset(),te=ae.ownerDocument,$=ae.offsetParent||te.documentElement;$&&($===te.body||$===te.documentElement)&&y.css($,"position")==="static";)$=$.parentNode;$&&$!==ae&&$.nodeType===1&&(ye=y($).offset(),ye.top+=y.css($,"borderTopWidth",!0),ye.left+=y.css($,"borderLeftWidth",!0))}return{top:X.top-ye.top-y.css(ae,"marginTop",!0),left:X.left-ye.left-y.css(ae,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var $=this.offsetParent;$&&y.css($,"position")==="static";)$=$.offsetParent;return $||Qe})}}),y.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function($,X){var te=X==="pageYOffset";y.fn[$]=function(ae){return Se(this,function(ye,_e,Ae){var tt;if(g(ye)?tt=ye:ye.nodeType===9&&(tt=ye.defaultView),Ae===void 0)return tt?tt[X]:ye[_e];tt?tt.scrollTo(te?tt.pageXOffset:Ae,te?Ae:tt.pageYOffset):ye[_e]=Ae},$,ae,arguments.length)}}),y.each(["top","left"],function($,X){y.cssHooks[X]=rt(h.pixelPosition,function(te,ae){if(ae)return ae=$e(te,X),Mt.test(ae)?y(te).position()[X]+"px":ae})}),y.each({Height:"height",Width:"width"},function($,X){y.each({padding:"inner"+$,content:X,"":"outer"+$},function(te,ae){y.fn[ae]=function(ye,_e){var Ae=arguments.length&&(te||typeof ye!="boolean"),tt=te||(ye===!0||_e===!0?"margin":"border");return Se(this,function(Xe,dt,It){var zt;return g(Xe)?ae.indexOf("outer")===0?Xe["inner"+$]:Xe.document.documentElement["client"+$]:Xe.nodeType===9?(zt=Xe.documentElement,Math.max(Xe.body["scroll"+$],zt["scroll"+$],Xe.body["offset"+$],zt["offset"+$],zt["client"+$])):It===void 0?y.css(Xe,dt,tt):y.style(Xe,dt,It,tt)},X,Ae?ye:void 0,Ae)}})}),y.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function($,X){y.fn[X]=function(te){return this.on(X,te)}}),y.fn.extend({bind:function($,X,te){return this.on($,null,X,te)},unbind:function($,X){return this.off($,null,X)},delegate:function($,X,te,ae){return this.on(X,$,te,ae)},undelegate:function($,X,te){return arguments.length===1?this.off($,"**"):this.off(X,$||"**",te)},hover:function($,X){return this.on("mouseenter",$).on("mouseleave",X||$)}}),y.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function($,X){y.fn[X]=function(te,ae){return arguments.length>0?this.on(X,null,te,ae):this.trigger(X)}});var di=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;y.proxy=function($,X){var te,ae,ye;if(typeof X=="string"&&(te=$[X],X=$,$=te),!!m($))return ae=r.call(arguments,2),ye=function(){return $.apply(X||this,ae.concat(r.call(arguments)))},ye.guid=$.guid=$.guid||y.guid++,ye},y.holdReady=function($){$?y.readyWait++:y.ready(!0)},y.isArray=Array.isArray,y.parseJSON=JSON.parse,y.nodeName=C,y.isFunction=m,y.isWindow=g,y.camelCase=ce,y.type=S,y.now=Date.now,y.isNumeric=function($){var X=y.type($);return(X==="number"||X==="string")&&!isNaN($-parseFloat($))},y.trim=function($){return $==null?"":($+"").replace(di,"$1")};var Ro=t.jQuery,ds=t.$;return y.noConflict=function($){return t.$===y&&(t.$=ds),$&&t.jQuery===y&&(t.jQuery=Ro),y},typeof n>"u"&&(t.jQuery=t.$=y),y})})(Rw);var oN=Rw.exports;const Fa=Mu(oN),iN=(l,t,n,e)=>{(({title:r,parsedHtmlString:o})=>{const s='<!DOCTYPE html><html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"><head><meta charset="UTF-8"><title>Document</title></head><body>',c="</body></html>",i=o||Fa(".ContentEditable__root").html(),u=rN(i),d=wd(u);function p(_){const v=document.createElement("div");return v.innerHTML=_,v.querySelectorAll("img").forEach(S=>{const E=S.naturalWidth,b=S.naturalHeight;(E>600||b>600)&&(S.setAttribute("width",600),S.removeAttribute("height"),S.style.width="600px",S.style.height="auto")}),v.innerHTML}function f(_,v){const S=new DOMParser().parseFromString(_,"text/html"),{heading:E}=v,b={h1:E.find(x=>x.title==="Heading1")||{},h2:E.find(x=>x.title==="Heading2")||{},h3:E.find(x=>x.title==="Heading3")||{},h4:E.find(x=>x.title==="Heading4")||{},h5:E.find(x=>x.title==="Heading5")||{}};return Object.entries(b).forEach(([x,C])=>{S.querySelectorAll(x).forEach(L=>{let B="";C.fontColor&&(B+=`color: ${C.fontColor};`),C.fontFamily&&(B+=`font-family: ${C.fontFamily};`),C.fontSize&&(B+=`font-size: ${C.fontSize}px;`),C.bold==="Yes"&&(B+="font-weight: bold;"),C.italic==="Yes"&&(B+="font-style: italic;"),C.lineSpacing&&(B+=`line-height: ${C.lineSpacing};`),C.alignment&&(B+=`text-align: ${C.alignment.toLowerCase()};`),L.style.cssText+=B})}),p(S.body.innerHTML)}const h=f(d,n),m=s+h+c,g=new Blob([m],{type:"application/msword"});tN.saveAs(g,`${r||"Exported"}.doc`)})({title:t,parsedHtmlString:e})},sN="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktbGlzdC11bCI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNNSAxMS41YS41LjUgMCAwIDEgLjUtLjVoOWEuNS41IDAgMCAxIDAgMWgtOWEuNS41IDAgMCAxLS41LS41em0wLTRhLjUuNSAwIDAgMSAuNS0uNWg5YS41LjUgMCAwIDEgMCAxaC05YS41LjUgMCAwIDEtLjUtLjV6bTAtNGEuNS41IDAgMCAxIC41LS41aDlhLjUuNSAwIDAgMSAwIDFoLTlhLjUuNSAwIDAgMS0uNS0uNXptLTMgMWExIDEgMCAxIDAgMC0yIDEgMSAwIDAgMCAwIDJ6bTAgNGExIDEgMCAxIDAgMC0yIDEgMSAwIDAgMCAwIDJ6bTAgNGExIDEgMCAxIDAgMC0yIDEgMSAwIDAgMCAwIDJ6Ii8+PC9zdmc+",aN="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktbGlzdC1vbCI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNNSAxMS41YS41LjUgMCAwIDEgLjUtLjVoOWEuNS41IDAgMCAxIDAgMWgtOWEuNS41IDAgMCAxLS41LS41em0wLTRhLjUuNSAwIDAgMSAuNS0uNWg5YS41LjUgMCAwIDEgMCAxaC05YS41LjUgMCAwIDEtLjUtLjV6bTAtNGEuNS41IDAgMCAxIC41LS41aDlhLjUuNSAwIDAgMSAwIDFoLTlhLjUuNSAwIDAgMS0uNS0uNXoiLz48cGF0aCBkPSJNMS43MTMgMTEuODY1di0uNDc0SDJjLjIxNyAwIC4zNjMtLjEzNy4zNjMtLjMxNyAwLS4xODUtLjE1OC0uMzEtLjM2MS0uMzEtLjIyMyAwLS4zNjcuMTUyLS4zNzMuMzFoLS41OWMuMDE2LS40NjcuMzczLS43ODcuOTg2LS43ODcuNTg4LS4wMDIuOTU0LjI5MS45NTcuNzAzYS41OTUuNTk1IDAgMCAxLS40OTIuNTk0di4wMzNhLjYxNS42MTUgMCAwIDEgLjU2OS42MzFjLjAwMy41MzMtLjUwMi44LTEuMDUxLjgtLjY1NiAwLTEtLjM3LTEuMDA4LS43OTRoLjU4MmMuMDA4LjE3OC4xODYuMzA2LjQyMi4zMDkuMjU0IDAgLjQyNC0uMTQ1LjQyMi0uMzUtLjAwMi0uMTk1LS4xNTUtLjM0OC0uNDE0LS4zNDhoLS4zem0tLjAwNC00LjY5OWgtLjYwNHYtLjAzNWMwLS40MDguMjk1LS44NDQuOTU4LS44NDQuNTgzIDAgLjk2LjMyNi45Ni43NTYgMCAuMzg5LS4yNTcuNjE3LS40NzYuODQ4bC0uNTM3LjU3MnYuMDNoMS4wNTRWOUgxLjE0M3YtLjM5NWwuOTU3LS45OWMuMTM4LS4xNDIuMjkzLS4zMDQuMjkzLS41MDggMC0uMTgtLjE0Ny0uMzItLjM0Mi0uMzJhLjMzLjMzIDAgMCAwLS4zNDIuMzM4di4wNDF6TTIuNTY0IDVoLS42MzVWMi45MjRoLS4wMzFsLS41OTguNDJ2LS41NjdsLjYyOS0uNDQzaC42MzVWNXoiLz48L3N2Zz4=",lN=({onlUser:l,collabApiKey:t,htmlPasteModalOpen:n,sethtmlPasteModalOpen:e,passedContent:a,onPaste:r,source:o})=>{he.useRef(null);const[s,c]=he.useState(""),[i,u]=he.useState(""),[d]=xn(),p=he.useRef();he.useRef(null);const f=()=>{u({root:{type:"root",version:1,children:[{children:[],direction:"ltr",format:"",indent:0,type:"text",version:1}],direction:"ltr",format:"",indent:0}}),c("")};he.useEffect(()=>{f()},[]);const h=()=>{e(!1),c(" "),f()},m=C=>{const T=/display:\s*([^;]+);/,L=C.match(T);if(L)return L[1]};function g(){const[C]=xn(),T=(B,D)=>{C.update(()=>{const F=Cn(),O=er(`${B}`);O.setStyle(D.style),O.setFormat(D.format),F.append(O),C.getRootElement()&&B&&B.length>0&&(C.getEditorState().read(()=>zn()),Sl(F))})},L=()=>{let B=y(s);w(s),B.root.children.map((D,F)=>{if(D&&D.text&&D.text.trim("")&&D.text.trim("").length>1&&D.style&&D.style.length>10&&m(D.style)==="block"){let O=D.order.split("_")[1];setTimeout(()=>{T(D.text.trim(""),D)},O*2)}}),h()};return ue.jsx("button",{onClick:L,ref:p,style:{display:"none"}})}function _(C,T){const L=/font-weight:\s*([a-zA-Z0-9\-]+);/,B=/text-decoration:\s*([^;]+?)(?=\s*;|\s*$)/,D=/font-style:\s*([a-zA-Z0-9\-]+);/,F=/font-size:\s*([\d.]+(?:px|pt|em|rem|%)?)/,O=/color:\s*([^;]+)/,j=C.match(L),P=C.match(B),R=C.match(D),N=C.match(F),U=C.match(O),M=j?j[1]:null,z=P?P[1]:null,V=R?R[1]:null,K=N?N[1]:null,A=U?U[1]:null;let W={"font-weight":M&&M!==null?M:"none","text-decoration":z&&z!==null?z:"none","font-style":V&&V!==null?V:"none","font-size":"none",display:["span","table","tbody","tr","td"].includes(T)?"block":"none",color:A&&A!=="transparent"?A:"black"};function H(Z){return Object.entries(Z).map(([Q,Y])=>`${Q}: ${Y};`).join(" ")}return{cssString:H(W),fontSize:K&&K!==null?K:"none",fontWeight:M&&M!==null?M:"none",fontStyle:V&&V!==null?V:"none",textDecoration:z&&z!==null?z:"none"}}const v=(C,T)=>{const L=new RegExp(`${T}:\\s*([^;]+)`),B=C.match(L);return B?B[1].trim():null},w=C=>{const T=new DOMParser,L=b(C),D=T.parseFromString(L,"text/html").querySelectorAll("img");Array.from(D).map(F=>{const P=F.getAttribute("id").split("_")[1]*2;setTimeout(()=>{d.update(()=>{const R=F.src,N=F.textContent,M=xc({src:R,altText:N});zn(),Sl(M)})},P)})};function S(C,T){const L=Array.from(C.querySelectorAll("tr")),F=C.getAttribute("id").split("_")[1]*2;setTimeout(()=>{T.update(()=>{const O=bp();L.forEach(P=>{const R=kl();Array.from(P.querySelectorAll("td")).forEach(U=>{const M=wi();let K=Array.from(U.querySelectorAll("span")).map(Q=>{const Y=Q.getAttribute("style")||"";return{text:Q.innerText.trim(),style:Y}}).map(Q=>Q.style).filter(Q=>Q).map(Q=>Q.split(";").map(Y=>Y.trim()).filter(Y=>!Y.startsWith("font-family")).filter(Y=>!Y.startsWith("font-size")).filter(Y=>!Y.startsWith("border")).filter(Y=>!Y.startsWith("width")).join("; ")).join("; ");const A=v(K,"font-weight"),q=v(K,"font-style"),W=v(K,"text-decoration");K=`${K}; font-weight: ${A}`,K=`${K}; font-style: ${q}`,K=`${K}; color: black`,K=`${K}; text-decoration: ${W}`;const H=er(U.innerText.trim()),G=E(A,q,W);H.setFormat(G),K&&H.setStyle(K);const Z=Cn();Z.append(H),M.append(Z),R.append(M)}),O.append(R)}),zn()&&Sl(O)})},F)}function E(C,T,L){return C==="bold"&&T==="italic"&&L==="underline line-through"?15:L==="underline line-through"?12:T==="italic"&&L==="line-through"?6:T==="italic"&&L==="underline"?11:C==="bold"&&L==="line-through"?5:C==="bold"&&L==="underline"?9:C==="bold"&&T==="italic"?3:C==="bold"?1:T==="italic"?2:L==="underline"?8:L==="line-through"?4:0}function b(C){const L=new DOMParser().parseFromString(C,"text/html");let B=1;function D(F){if(F.nodeType===1){const O=`order_${B++}`;F.setAttribute("data-title",O),F.setAttribute("id",O)}F.childNodes.forEach(O=>D(O))}return D(L.body),L.body.innerHTML}function y(C){const T=new DOMParser,L=b(C),B=T.parseFromString(L,"text/html");B.querySelectorAll("[aria-level]").forEach(U=>{const V=U.getAttribute("id").split("_")[1]*2;setTimeout(()=>{d.update(()=>{const K=Cl(`${U.getAttribute("aria-level")==="1"?"h1":U.getAttribute("aria-level")==="2"?"h2":U.getAttribute("aria-level")==="3"?"h3":U.getAttribute("aria-level")==="4"?"h4":"h5"}`),A=er(U.innerText);K.append(A),Sl(K)})},V)}),B.querySelectorAll("ul").forEach(U=>{const V=U.getAttribute("id").split("_")[1]*2;setTimeout(()=>{d.update(()=>{const K=Ho("ul"),A=ei(),q=er(`${U.textContent}`);let G=Array.from(U.querySelectorAll("span")).map(ee=>{const re=ee.getAttribute("style")||"";return{text:ee.innerText.trim(),style:re}}).map(ee=>ee.style).filter(ee=>ee).map(ee=>ee.split(";").map(re=>re.trim()).filter(re=>!re.startsWith("font-family")).filter(re=>!re.startsWith("font-size")).filter(re=>!re.startsWith("border")).filter(re=>!re.startsWith("width")).join("; ")).join("; ");const Z=v(G,"font-weight"),Q=v(G,"font-style"),Y=v(G,"text-decoration");G=`${G}; font-weight: ${Z}`,G=`${G}; font-style: ${Q}`,G=`${G}; color: black`,G=`${G}; text-decoration: ${Y}`,G&&q.setStyle(G),A.append(q),K.append(A),zn(),Sl(K)})},V)}),B.querySelectorAll("ol").forEach(U=>{const V=U.getAttribute("id").split("_")[1]*2;setTimeout(()=>{d.update(()=>{const K=Ho("ol"),A=ei(),q=er(`${U.textContent}`);let G=Array.from(U.querySelectorAll("span")).map(re=>{const de=re.getAttribute("style")||"";return{text:re.innerText.trim(),style:de}}).map(re=>re.style).filter(re=>re).map(re=>re.split(";").map(de=>de.trim()).filter(de=>!de.startsWith("font-family")).filter(de=>!de.startsWith("font-size")).filter(de=>!de.startsWith("border")).filter(de=>!de.startsWith("width")).join("; ")).join("; ");const Z=v(G,"font-weight"),Q=v(G,"font-style"),Y=v(G,"text-decoration");G=`${G}; font-weight: ${Z}`,G=`${G}; font-style: ${Q}`,G=`${G}; color: black`,G=`${G}; text-decoration: ${Y}`;let ee=E(Q,Z,Y);q.setFormat(ee),G&&q.setStyle(G),A.append(q),K.append(A),zn(),Sl(K)})},V)}),B.querySelectorAll("table").forEach(U=>{S(U,d)});const P=B.querySelectorAll("*"),R=Array.from(P).filter(U=>!U.closest("table")).filter(U=>!U.closest("ol")).filter(U=>!U.closest("ul")).map(U=>({elemText:U.innerText,tagName:U.tagName.toLowerCase(),style:U.getAttribute("style")||"",order:U.getAttribute("id")||""}));let N=i;return R.map(U=>{let M=_(U.style,U.tagName);const{cssString:z,fontSize:V,fontWeight:K,textDecoration:A,fontStyle:q,border:W}=M||{};if(U.style&&U.style.length>0&&U.elemText.trim(" ").length&&V!=="none"&&K!==null&&A!==null&&q!==null){let H=K==="bold"&&q==="italic"&&A==="underline line-through"?15:A==="underline line-through"?12:q==="italic"&&A=="line-through"?6:q==="italic"&&A==="underline"?11:K==="bold"&&A==="line-through"?5:K==="bold"&&A==="underline"?9:K==="bold"&&q==="italic"?3:K==="bold"?1:q==="italic"?2:U.style.includes("text-decoration: underline")?8:U.style.includes("text-decoration: line-through")?4:0;N.root.children.push({detail:0,format:H,mode:"normal",style:`${z}`,text:`${U.elemText}`,type:"text",version:1,order:U.order})}}),N}he.useEffect(()=>()=>{c(" ")},[]);const x=()=>{e(!0),setTimeout(()=>{var C;(C=p.current)==null||C.click()},200)};return he.useEffect(C=>{n&&(c(a),x())},[n]),ue.jsx(ue.Fragment,{children:ue.jsx(g,{})})},cN="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IS0tIFVwbG9hZGVkIHRvOiBTVkcgUmVwbywgd3d3LnN2Z3JlcG8uY29tLCBHZW5lcmF0b3I6IFNWRyBSZXBvIE1peGVyIFRvb2xzIC0tPg0KPHN2ZyB3aWR0aD0iODAwcHgiIGhlaWdodD0iODAwcHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBtaXJyb3ItaW4tcnRsPSJ0cnVlIj4NCiAgPGNpcmNsZSBmaWxsPSIjNDk0YzRlIiBjeD0iMiIgY3k9IjIiIHI9IjIiLz4NCiAgPGNpcmNsZSBmaWxsPSIjNDk0YzRlIiBjeD0iMiIgY3k9IjgiIHI9IjIiLz4NCiAgPGNpcmNsZSBmaWxsPSIjNDk0YzRlIiBjeD0iMiIgY3k9IjIwIiByPSIyIi8+DQogIDxjaXJjbGUgZmlsbD0iIzQ5NGM0ZSIgY3g9IjIiIGN5PSIxNCIgcj0iMiIvPg0KICA8cGF0aCBmaWxsPSIjNDk0YzRlIiBkPSJNMjMuMDAyIDNINy45OThDNy40NDggMyA3IDIuNTUgNyAyLjAwMnYtLjAwNGMwLS41NS40NS0uOTk4Ljk5OC0uOTk4SDIzYy41NSAwIDEgLjQ1IDEgLjk5OFYyYzAgLjU1LS40NSAxLS45OTggMXpNMjMuMDAyIDlINy45OThDNy40NDggOSA3IDguNTUgNyA4LjAwMnYtLjAwNGMwLS41NS40NS0uOTk4Ljk5OC0uOTk4SDIzYy41NSAwIDEgLjQ1IDEgLjk5OFY4YzAgLjU1LS40NSAxLS45OTggMXpNMjMuMDAyIDE1SDcuOTk4Yy0uNTUgMC0uOTk4LS40NS0uOTk4LS45OThWMTRjMC0uNTUuNDUtMSAuOTk4LTFIMjNjLjU1IDAgMSAuNDUgMSAuOTk4VjE0YzAgLjU1LS40NSAxLS45OTggMXpNMjMuMDAyIDIxSDcuOTk4Yy0uNTUgMC0uOTk4LS40NS0uOTk4LS45OThWMjBjMC0uNTUuNDUtMSAuOTk4LTFIMjNjLjU1IDAgMSAuNDUgMSAuOTk4VjIwYzAgLjU1LS40NSAxLS45OTggMXoiLz4NCjwvc3ZnPg==",uN={bullet:"Bulleted List",check:"Check List",code:"Code Block",h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",h5:"Heading 5",h6:"Heading 6",number:"Numbered List",paragraph:"Normal",quote:"Quote"};function dN(){const l=[];for(const[t,n]of Object.entries(jb))l.push([t,n]);return l}const fN=dN(),pN={center:{icon:"center-align",iconRTL:"center-align",name:"Center Align"},end:{icon:"right-align",iconRTL:"left-align",name:"End Align"},justify:{icon:"justify-align",iconRTL:"justify-align",name:"Justify Align"},left:{icon:"left-align",iconRTL:"left-align",name:"Left Align"},right:{icon:"right-align",iconRTL:"right-align",name:"Right Align"},start:{icon:"left-align",iconRTL:"right-align",name:"Start Align"}};function Up(l){return l?"active dropdown-item-active":""}function xd(){return ue.jsx("div",{className:"divider"})}function hN({editor:l,value:t,isRTL:n,disabled:e=!1}){const a=pN[t||"left"];return ue.jsxs(bd,{disabled:e,buttonLabel:a.name,buttonIconClassName:`icon ${n?a.iconRTL:a.icon}`,buttonClassName:"toolbar-item spaced alignment",buttonAriaLabel:"Formatting options for text alignment",children:[ue.jsxs(bo,{onClick:()=>{l.dispatchCommand(yl,"left")},className:"item",children:[ue.jsx("i",{className:"icon left-align"}),ue.jsx("span",{className:"text",children:"Left Align"})]}),ue.jsxs(bo,{onClick:()=>{l.dispatchCommand(yl,"center")},className:"item",children:[ue.jsx("i",{className:"icon center-align"}),ue.jsx("span",{className:"text",children:"Center Align"})]}),ue.jsxs(bo,{onClick:()=>{l.dispatchCommand(yl,"right")},className:"item",children:[ue.jsx("i",{className:"icon right-align"}),ue.jsx("span",{className:"text",children:"Right Align"})]}),ue.jsxs(bo,{onClick:()=>{l.dispatchCommand(yl,"justify")},className:"item",children:[ue.jsx("i",{className:"icon justify-align"}),ue.jsx("span",{className:"text",children:"Justify Align"})]})]})}function Lw({setIsLinkEditMode:l,onlUser:t,styleConfig:n,showComments:e,setShowComments:a,showTabContentBtn:r,setshowTabContentBtn:o,showTabContent:s,parsedHtmlString:c,enableCaptions:i}){const[u]=xn(),[d,p]=he.useState(u),[f,h]=he.useState("paragraph"),[m,g]=he.useState("root"),[_,v]=he.useState(null),[w,S]=he.useState("15px"),[E,b]=he.useState("#000"),[y,x]=he.useState("#fff"),[C,T]=he.useState("Arial"),[L,B]=he.useState("left"),[D,F]=he.useState(!1),[O,j]=he.useState(!1),[P,R]=he.useState(!1),[N,U]=he.useState(!1),[M,z]=he.useState(!1),[V,K]=he.useState(!1),[A,q]=he.useState(!1),[W,H]=he.useState(!1),[G,Z]=he.useState(!1),[Q,Y]=he.useState(!1),[ee,re]=Da(),[de,fe]=he.useState(!1),[ne,Se]=he.useState(""),[we,me]=he.useState(()=>u.isEditable()),[je,ce]=he.useState(""),[se,pe]=he.useState(""),[le,ke]=he.useState(""),[Te,Ce]=he.useState(""),[Me,qe]=he.useState(!0),[Re,Le]=he.useState(!1),Ee=1,Qe=ct=>{ct.key==="Enter"&&ke(He=>He+1)};he.useEffect(()=>(window.addEventListener("keydown",Qe),()=>window.removeEventListener("keydown",Qe)),[]),he.useEffect(()=>{const ct=u.registerCommand(ba,He=>{const Ot=He.clipboardData||window.clipboardData,Gt=Ot==null?void 0:Ot.getData("text/html");return Gt!=null&&Gt.includes('<meta http-equiv=Content-Type content="text/html; charset=utf-8">')&&(Gt!=null&&Gt.includes("microsoft-com"))?(sw(He,u,"",i),!1):Gt!=null&&Gt.includes("Outline")?(Ce(Gt),Le(!0),!0):!1},Ee);return()=>{ct()}},[Me]);const Oe=he.useCallback(()=>{const ct=Tt();if(Ct(ct)){const He=ct.anchor.getNode();let Ot=He.getKey()==="root"?He:nr(He,Dt=>{const tn=Dt.getParent();return tn!==null&&to(tn)});Ot===null&&(Ot=He.getTopLevelElementOrThrow());const Gt=Ot.getKey(),Yt=d.getElementByKey(Gt);j(ct.hasFormat("bold")),R(ct.hasFormat("italic")),U(ct.hasFormat("underline")),z(ct.hasFormat("strikethrough")),K(ct.hasFormat("subscript")),q(ct.hasFormat("superscript")),H(ct.hasFormat("code")),fe(lb(ct));const Xt=Aw(ct),_t=Xt.getParent();Qo(_t)||Qo(Xt)?F(!0):F(!1);const Ht=nr(Xt,pr);if(pr(Ht)?g("table"):g("root"),Yt!==null)if(v(Gt),lr(Ot)){const Dt=fb(He,ld),tn=Dt?Dt.getListType():Ot.getListType();h(tn)}else{const Dt=Pp(Ot)?Ot.getTag():Ot.getType();if(Dt in uN&&h(Dt),xm(Ot)){const tn=Ot.getLanguage();Se(tn?kb[tn]||tn:"");return}}S(rd(ct,"font-size","15px")),b(rd(ct,"color","#000")),x(rd(ct,"background-color","#fff")),T(rd(ct,"font-family","Arial"));let an;Qo(_t)&&(an=nr(Xt,Dt=>kt(Dt)&&!Dt.isInline())),B(kt(an)?an.getFormatType():kt(Xt)?Xt.getFormatType():(_t==null?void 0:_t.getFormatType())||"left")}},[d]);he.useEffect(()=>u.registerCommand(vi,(ct,He)=>(Oe(),p(He),!1),Uo),[u,Oe]),he.useEffect(()=>wr(d.registerUpdateListener(({editorState:ct})=>{ct.read(()=>{Oe()})}),d.registerCommand(rc,ct=>(Z(ct),!1),Uo),d.registerCommand(nc,ct=>(Y(ct),!1),Uo)),[Oe,d,u]),he.useEffect(()=>d.registerCommand(Tv,ct=>{const He=ct,{code:Ot,ctrlKey:Gt,metaKey:Yt}=He;if(Ot==="KeyK"&&(Gt||Yt)){He.preventDefault();let Xt;return D?(l(!1),Xt=null):(l(!0),Xt=hw("https://")),d.dispatchCommand(Aa,Xt)}return!1},Qk),[d,D,l]);const Ke=he.useCallback((ct,He)=>{d.update(()=>{const Ot=Tt();Ot!==null&&gm(Ot,ct)},He?{tag:"historic"}:{})},[d]);he.useCallback(()=>{d.update(()=>{const ct=Tt();if(Ct(ct)){const He=ct.anchor,Ot=ct.focus,Gt=ct.getNodes();if(He.key===Ot.key&&He.offset===Ot.offset)return;Gt.forEach((Yt,Xt)=>{if(Wt(Yt)){let _t=Yt;Xt===0&&He.offset!==0&&(_t=_t.splitText(He.offset)[1]||_t),Xt===Gt.length-1&&(_t=_t.splitText(Ot.offset)[0]||_t),_t.__style!==""&&_t.setStyle(""),_t.__format!==0&&(_t.setFormat(0),ym(_t).setFormat("")),Yt=_t}else Pp(Yt)||eO(Yt)?Yt.replace(Cn(),!0):Hm(Yt)&&Yt.setFormat("")})}})},[d]),he.useCallback((ct,He)=>{Ke({color:ct},He)},[Ke]),he.useCallback((ct,He)=>{Ke({"background-color":ct},He)},[Ke]),he.useCallback(()=>{D?(l(!1),u.dispatchCommand(Aa,null)):(l(!0),u.dispatchCommand(Aa,hw("https://")))},[u,D,l]);const it=he.useCallback(ct=>{d.update(()=>{if(_!==null){const He=Bn(_);xm(He)&&He.setLanguage(ct)}})},[d,_]),nt=()=>{f!=="number"?u.dispatchCommand(Ub,void 0):u.dispatchCommand(Hb,void 0)},st=()=>{u.focus(),u.dispatchCommand(zb,void 0)};return ue.jsxs("div",{className:"toolbar",children:[s&&ue.jsx("button",{disabled:!1,onClick:()=>{o(!r)},title:"Table of Conetent",type:"button",className:"toolbar-item spaced","aria-label":"table-of-content",children:ue.jsx("img",{src:cN,width:16,height:16})}),ue.jsx("button",{disabled:!G||!we,onClick:()=>{d.dispatchCommand(Ru,void 0)},title:La?"Undo (⌘Z)":"Undo (Ctrl+Z)",type:"button",className:"toolbar-item spaced","aria-label":"Undo",children:ue.jsx("i",{className:"format undo"})}),ue.jsx("button",{disabled:!Q||!we,onClick:()=>{d.dispatchCommand(Lu,void 0)},title:La?"Redo (⌘Y)":"Redo (Ctrl+Y)",type:"button",className:"toolbar-item","aria-label":"Redo",children:ue.jsx("i",{className:"format redo"})}),f==="code"?ue.jsx(bd,{disabled:!we,buttonClassName:"toolbar-item code-language",buttonLabel:S2(ne),buttonAriaLabel:"Select language",children:fN.map(([ct,He])=>ue.jsx(bo,{className:`item ${Up(ct===ne)}`,onClick:()=>it(ct),children:ue.jsx("span",{className:"text",children:He})},ct))}):ue.jsxs(ue.Fragment,{children:[ue.jsx(xd,{}),ue.jsx(XO,{selectionFontSize:w.slice(0,-2),editor:u,disabled:!we,styleConfig:n,blockType:"h1",isenterPressed:le,currentElementClick:je,currentElementSelect:se}),ue.jsx(xd,{}),ue.jsx("button",{disabled:!we,onClick:()=>{d.dispatchCommand(Gr,"bold")},className:"toolbar-item spaced "+(O?"active":""),title:La?"Bold (⌘B)":"Bold (Ctrl+B)",type:"button","aria-label":`Format text as bold. Shortcut: ${La?"⌘B":"Ctrl+B"}`,children:ue.jsx("i",{className:"format bold"})}),ue.jsx("button",{disabled:!we,onClick:()=>{d.dispatchCommand(Gr,"italic")},className:"toolbar-item spaced "+(P?"active":""),title:La?"Italic (⌘I)":"Italic (Ctrl+I)",type:"button","aria-label":`Format text as italics. Shortcut: ${La?"⌘I":"Ctrl+I"}`,children:ue.jsx("i",{className:"format italic"})}),ue.jsx("button",{disabled:!we,onClick:()=>{d.dispatchCommand(Gr,"underline")},className:"toolbar-item spaced "+(N?"active":""),title:La?"Underline (⌘U)":"Underline (Ctrl+U)",type:"button","aria-label":`Format text to underlined. Shortcut: ${La?"⌘U":"Ctrl+U"}`,children:ue.jsx("i",{className:"format underline"})}),ue.jsx("button",{className:"toolbar-item",onClick:()=>u.dispatchCommand(j1,void 0),title:"Insert Endnote",children:ue.jsx("i",{className:"format endnotes"})}),ue.jsxs(bd,{disabled:!we,buttonClassName:"toolbar-item spaced",buttonLabel:"",buttonAriaLabel:"Formatting options for additional text styles",buttonIconClassName:"icon dropdown-more",children:[ue.jsxs(bo,{onClick:()=>{d.dispatchCommand(Gr,"strikethrough")},className:"item "+Up(M),title:"Strikethrough","aria-label":"Format text with a strikethrough",children:[ue.jsx("i",{className:"icon strikethrough"}),ue.jsx("span",{className:"text",children:"Strikethrough"})]}),ue.jsxs(bo,{onClick:()=>{d.dispatchCommand(Gr,"subscript")},className:"item "+Up(V),title:"Subscript","aria-label":"Format text with a subscript",children:[ue.jsx("i",{className:"icon subscript"}),ue.jsx("span",{className:"text",children:"Subscript"})]}),ue.jsxs(bo,{onClick:()=>{d.dispatchCommand(Gr,"superscript")},className:"item "+Up(A),title:"Superscript","aria-label":"Format text with a superscript",children:[ue.jsx("i",{className:"icon superscript"}),ue.jsx("span",{className:"text",children:"Superscript"})]})]}),ue.jsx(xd,{}),ue.jsxs(bd,{disabled:!we,buttonClassName:"toolbar-item spaced",buttonLabel:"Insert",buttonAriaLabel:"Insert specialized editor node",buttonIconClassName:"icon plus",children:[ue.jsxs(bo,{onClick:()=>{re("Insert Image",ct=>ue.jsx(_O,{activeEditor:d,onClose:ct,enableCaptions:!1}))},className:"item",children:[ue.jsx("i",{className:"icon image"}),ue.jsx("span",{className:"text",children:"Image"})]}),ue.jsxs(bo,{onClick:()=>{re("Insert Table",ct=>ue.jsx(MT,{activeEditor:d,onClose:ct,enableCaptions:i}))},className:"item",children:[ue.jsx("i",{className:"icon table"}),ue.jsx("span",{className:"text",children:"Table"})]}),ue.jsxs(bo,{className:"item",onClick:()=>{st()},children:[ue.jsx("img",{src:sN,height:21,width:21}),ue.jsx("span",{style:{marginLeft:"10px",marginTop:"2px"},children:"Bullet List"})]}),ue.jsxs(bo,{className:"item",onClick:()=>{nt()},children:[ue.jsx("img",{src:aN,height:21,width:21}),ue.jsx("span",{style:{marginLeft:"10px",marginTop:"2px"},children:"Numbered List"})]})]})]}),ue.jsx(xd,{}),ue.jsx("button",{className:`toolbar-item ${e?"active":""}`,onClick:()=>{a(!e),console.log("line 616 ToolbarPlugin show comments button clicked")},title:e?"Hide Comments":"Show Comments",children:ue.jsx("i",{className:"comments"})}),ue.jsx(xd,{}),ue.jsx(lN,{passedContent:Te,source:"remote",onPaste:null,htmlPasteModalOpen:Re,sethtmlPasteModalOpen:Le,onlUser:t,collabApiKey:""}),ue.jsx("button",{className:"toolbar-item",onClick:()=>{iN(u,"title-doc",n,c)},children:ue.jsx("img",{title:"Download as .doc",src:eN,height:18,width:18,className:"download-icon"})}),ue.jsx(hN,{disabled:!we,value:L,editor:u,isRTL:de}),ue.jsx("div",{className:"flex-container-onluser",children:t}),ee]})}const fR="",gN=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?he.useLayoutEffect:he.useEffect;function Fw({ariaActiveDescendant:l,ariaAutoComplete:t,ariaControls:n,ariaDescribedBy:e,ariaExpanded:a,ariaLabel:r,ariaLabelledBy:o,ariaMultiline:s,ariaOwns:c,ariaRequired:i,autoCapitalize:u,className:d,id:p,role:f="textbox",spellCheck:h=!0,style:m,tabIndex:g,"data-testid":_,...v}){const[w]=xn(),[S,E]=he.useState(!1),b=he.useCallback(y=>{y&&y.ownerDocument&&y.ownerDocument.defaultView&&w.setRootElement(y)},[w]);return gN(()=>(E(w.isEditable()),w.registerEditableListener(y=>{E(y)})),[w]),ue.jsx("div",{...v,"aria-activedescendant":S?l:void 0,"aria-autocomplete":S?t:"none","aria-controls":S?n:void 0,"aria-describedby":e,"aria-expanded":S&&f==="combobox"?!!a:void 0,"aria-label":r,"aria-labelledby":o,"aria-multiline":s,"aria-owns":S?c:void 0,"aria-readonly":!S||void 0,"aria-required":i,autoCapitalize:u,className:d,contentEditable:S,"data-testid":_,id:p,ref:b,role:f,spellCheck:h,style:m,tabIndex:g})}function Sd({className:l}){return ue.jsx(Fw,{className:l||"ContentEditable__root"})}const pR="";function Ed({children:l,className:t}){return ue.jsx("div",{className:t||"Placeholder__root",children:l})}let fy=class Jj extends Br{static getType(){return"mark"}static clone(t){return new Jj(Array.from(t.__ids),t.__key)}static importDOM(){return null}static importJSON(t){const n=Hp(t.ids);return n.setFormat(t.format),n.setIndent(t.indent),n.setDirection(t.direction),n}exportJSON(){return{...super.exportJSON(),ids:this.getIDs(),type:"mark",version:1}}constructor(t,n){super(n),this.__ids=t||[]}createDOM(t){const n=document.createElement("mark");return zr(n,t.theme.mark),this.__ids.length>1&&zr(n,t.theme.markOverlap),n}updateDOM(t,n,e){const a=t.__ids,r=this.__ids,o=a.length,s=r.length,c=e.theme.markOverlap;return o!==s&&(o===1?s===2&&zr(n,c):s===1&&mc(n,c)),!1}hasID(t){const n=this.getIDs();for(let e=0;e<n.length;e++)if(t===n[e])return!0;return!1}getIDs(){const t=this.getLatest();return Al(t)?t.__ids:[]}addID(t){const n=this.getWritable();if(Al(n)){const e=n.__ids;n.__ids=e;for(let a=0;a<e.length;a++)if(t===e[a])return;e.push(t)}}deleteID(t){const n=this.getWritable();if(Al(n)){const e=n.__ids;n.__ids=e;for(let a=0;a<e.length;a++)if(t===e[a])return void e.splice(a,1)}}insertNewAfter(t,n=!0){const e=Hp(this.__ids);return this.insertAfter(e,n),e}canInsertTextBefore(){return!1}canInsertTextAfter(){return!1}canBeEmpty(){return!1}isInline(){return!0}extractWithChild(t,n,e){if(!Ct(n)||e==="html")return!1;const a=n.anchor,r=n.focus,o=a.getNode(),s=r.getNode(),c=n.isBackward()?a.offset-r.offset:r.offset-a.offset;return this.isParentOf(o)&&this.isParentOf(s)&&this.getTextContent().length===c}excludeFromCopy(t){return t!=="clone"}};function Hp(l){return Ar(new fy(l))}function Al(l){return l instanceof fy}function mN(l){const t=l.getChildren();let n=null;for(let e=0;e<t.length;e++){const a=t[e];n===null?l.insertBefore(a):n.insertAfter(a),n=a}l.remove()}function yN(l,t,n,e){const a=l.getNodes(),r=l.anchor.offset,o=l.focus.offset,s=a.length,c=t?o:r,i=t?r:o;let u,d;for(let p=0;p<s;p++){const f=a[p];if(kt(d)&&d.isParentOf(f))continue;const h=p===0,m=p===s-1;let g=null;if(Wt(f)){const _=f.getTextContentSize(),v=h?c:0,w=m?i:_;if(v===0&&w===0)continue;const S=f.splitText(v,w);g=S.length>1&&(S.length===3||h&&!m||w===_)?S[1]:S[0]}else{if(Al(f))continue;kt(f)&&f.isInline()&&(g=f)}if(g!==null){if(g&&g.is(u))continue;const _=g.getParent();_!=null&&_.is(u)||(d=void 0),u=_,d===void 0&&(d=(e||Hp)([n]),g.insertBefore(d)),d.append(g)}else u=void 0,d=void 0}kt(d)&&(t?d.selectStart():d.selectEnd())}function vN(l,t){let n=l;for(;n!==null;){if(Al(n))return n.getIDs();if(Wt(n)&&t===n.getTextContentSize()){const e=n.getNextSibling();if(Al(e))return e.getIDs()}n=n.getParent()}return null}const Bw=[["Cat","rgb(125, 50, 0)"],["Dog","rgb(100, 0, 0)"],["Rabbit","rgb(150, 0, 0)"],["Frog","rgb(200, 0, 0)"],["Fox","rgb(200, 75, 0)"],["Hedgehog","rgb(0, 75, 0)"],["Pigeon","rgb(0, 125, 0)"],["Squirrel","rgb(75, 100, 0)"],["Bear","rgb(125, 100, 0)"],["Tiger","rgb(0, 0, 150)"],["Leopard","rgb(0, 0, 200)"],["Zebra","rgb(0, 0, 250)"],["Wolf","rgb(0, 100, 150)"],["Owl","rgb(0, 100, 100)"],["Gull","rgb(100, 0, 100)"],["Squid","rgb(150, 0, 150)"]],zw=Bw[Math.floor(Math.random()*Bw.length)],_N=he.createContext({clientID:0,color:zw[1],isCollabActive:!1,name:zw[0],yjsDocMap:new Map});function Cd(l,t){const n=he.useContext(_N);return l!=null&&(n.name=l),t!=null&&(n.color=t),n}const bN=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?he.useLayoutEffect:he.useEffect;function Uw({onClear:l}){const[t]=xn();return bN(()=>t.registerCommand(jf,n=>(t.update(()=>{if(l==null){const e=zn(),a=Tt(),r=Cn();e.clear(),e.append(r),a!==null&&r.select(),Ct(a)&&(a.format=0)}else l()}),!0),Tn),[t,l]),null}function py(l,t){return py=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,e){return n.__proto__=e,n},py(l,t)}var Hw={error:null},wN=function(l){var t,n;function e(){for(var r,o=arguments.length,s=new Array(o),c=0;c<o;c++)s[c]=arguments[c];return(r=l.call.apply(l,[this].concat(s))||this).state=Hw,r.resetErrorBoundary=function(){for(var i,u=arguments.length,d=new Array(u),p=0;p<u;p++)d[p]=arguments[p];r.props.onReset==null||(i=r.props).onReset.apply(i,d),r.reset()},r}n=l,(t=e).prototype=Object.create(n.prototype),t.prototype.constructor=t,py(t,n),e.getDerivedStateFromError=function(r){return{error:r}};var a=e.prototype;return a.reset=function(){this.setState(Hw)},a.componentDidCatch=function(r,o){var s,c;(s=(c=this.props).onError)==null||s.call(c,r,o)},a.componentDidUpdate=function(r,o){var s,c,i,u,d=this.state.error,p=this.props.resetKeys;d!==null&&o.error!==null&&((i=r.resetKeys)===void 0&&(i=[]),(u=p)===void 0&&(u=[]),i.length!==u.length||i.some(function(f,h){return!Object.is(f,u[h])}))&&((s=(c=this.props).onResetKeysChange)==null||s.call(c,r.resetKeys,p),this.reset())},a.render=function(){var r=this.state.error,o=this.props,s=o.fallbackRender,c=o.FallbackComponent,i=o.fallback;if(r!==null){var u={error:r,resetErrorBoundary:this.resetErrorBoundary};if(sr.isValidElement(i))return i;if(typeof s=="function")return s(u);if(c)return sr.createElement(c,u);throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},e}(sr.Component);function Pl({children:l,onError:t}){return ue.jsx(wN,{fallback:ue.jsx("div",{style:{border:"1px solid #f00",color:"#f00",padding:"8px"},children:"An error was thrown."}),onError:t,children:l})}const xN=Object.freeze(Object.defineProperty({__proto__:null,LexicalErrorBoundary:Pl,default:Pl},Symbol.toStringTag,{value:"Module"})),SN=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?he.useLayoutEffect:he.useEffect;function $w({ignoreHistoryMergeTagChange:l=!0,ignoreSelectionChange:t=!1,onChange:n}){const[e]=xn();return SN(()=>{if(n)return e.registerUpdateListener(({editorState:a,dirtyElements:r,dirtyLeaves:o,prevEditorState:s,tags:c})=>{t&&r.size===0&&o.size===0||l&&c.has("history-merge")||s.isEmpty()||n(a,e,c)})},[e,l,t,n]),null}const Ac=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0,EN=Ac&&"documentMode"in document?document.documentMode:null,CN=!(!Ac||!("InputEvent"in window)||EN)&&"getTargetRanges"in new window.InputEvent("input"),jN=Ac&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),kN=Ac&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,TN=Ac&&/^(?=.*Chrome).*/i.test(navigator.userAgent),ON=Ac&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent)&&!TN;function qw(l,t){t.update(()=>{if(l!==null){const n=$s(l,KeyboardEvent)?null:l.clipboardData,e=Tt();if(e!==null&&n!=null){l.preventDefault();const a=U1(t);a!==null&&n.setData("text/html",a),n.setData("text/plain",e.getTextContent())}}})}function NN(l){return wr(l.registerCommand(Yi,t=>{const n=Tt();return!!Ct(n)&&(n.deleteCharacter(t),!0)},Tn),l.registerCommand(ml,t=>{const n=Tt();return!!Ct(n)&&(n.deleteWord(t),!0)},Tn),l.registerCommand(wa,t=>{const n=Tt();return!!Ct(n)&&(n.deleteLine(t),!0)},Tn),l.registerCommand(_a,t=>{const n=Tt();if(!Ct(n))return!1;if(typeof t=="string")n.insertText(t);else{const e=t.dataTransfer;if(e!=null)H1(e,n);else{const a=t.data;a&&n.insertText(a)}}return!0},Tn),l.registerCommand(bf,()=>{const t=Tt();return!!Ct(t)&&(t.removeText(),!0)},Tn),l.registerCommand(va,t=>{const n=Tt();return!!Ct(n)&&(n.insertLineBreak(t),!0)},Tn),l.registerCommand(gl,()=>{const t=Tt();return!!Ct(t)&&(t.insertLineBreak(),!0)},Tn),l.registerCommand(xf,t=>{const n=Tt();if(!Ct(n))return!1;const e=t,a=e.shiftKey;return!!sp(n,!0)&&(e.preventDefault(),ap(n,a,!0),!0)},Tn),l.registerCommand(wf,t=>{const n=Tt();if(!Ct(n))return!1;const e=t,a=e.shiftKey;return!!sp(n,!1)&&(e.preventDefault(),ap(n,a,!1),!0)},Tn),l.registerCommand(Zi,t=>{const n=Tt();return!!Ct(n)&&(t.preventDefault(),l.dispatchCommand(Yi,!0))},Tn),l.registerCommand(Xi,t=>{const n=Tt();return!!Ct(n)&&(t.preventDefault(),l.dispatchCommand(Yi,!1))},Tn),l.registerCommand(Rs,t=>{const n=Tt();if(!Ct(n))return!1;if(t!==null){if((kN||jN||ON)&&CN)return!1;t.preventDefault()}return l.dispatchCommand(va,!1)},Tn),l.registerCommand(Cf,()=>(t_(),!0),Tn),l.registerCommand(zu,t=>{const n=Tt();return!!Ct(n)&&(qw(t,l),!0)},Tn),l.registerCommand(Uu,t=>{const n=Tt();return!!Ct(n)&&(function(e,a){qw(e,a),a.update(()=>{const r=Tt();Ct(r)&&r.removeText()})}(t,l),!0)},Tn),l.registerCommand(ba,t=>{const n=Tt();return!!Ct(n)&&(function(e,a){e.preventDefault(),a.update(()=>{const r=Tt(),{clipboardData:o}=e;o!=null&&Ct(r)&&H1(o,r)},{tag:"paste"})}(t,l),!0)},Tn),l.registerCommand(Ef,t=>{const n=Tt();return!!Ct(n)&&(t.preventDefault(),!0)},Tn),l.registerCommand(tc,t=>{const n=Tt();return!!Ct(n)&&(t.preventDefault(),!0)},Tn))}const hy=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?he.useLayoutEffect:he.useEffect;function Ww(l){return l.getEditorState().read(A1(l.isComposing()))}function Jw({contentEditable:l,placeholder:t,ErrorBoundary:n}){const[e]=xn(),a=function(r,o){const[s,c]=he.useState(()=>r.getDecorators());return hy(()=>r.registerDecoratorListener(i=>{so.flushSync(()=>{c(i)})}),[r]),he.useEffect(()=>{c(r.getDecorators())},[r]),he.useMemo(()=>{const i=[],u=Object.keys(s);for(let d=0;d<u.length;d++){const p=u[d],f=ue.jsx(o,{onError:m=>r._onError(m),children:ue.jsx(he.Suspense,{fallback:null,children:s[p]})}),h=r.getElementByKey(p);h!==null&&i.push(so.createPortal(f,h,p))}return i},[o,s,r])}(e,n);return function(r){hy(()=>wr(NN(r),D1(r)),[r])}(e),ue.jsxs(ue.Fragment,{children:[l,ue.jsx(AN,{content:t}),a]})}function AN({content:l}){const[t]=xn(),n=function(a){const[r,o]=he.useState(()=>Ww(a));return hy(()=>{function s(){const c=Ww(a);o(c)}return s(),wr(a.registerUpdateListener(()=>{s()}),a.registerEditableListener(()=>{s()}))},[a]),r}(t),e=ty();return n?typeof l=="function"?l(e):l:null}var PN={420:(l,t,n)=>{n.r(t),n.d(t,{default:()=>c});let e=()=>{},a=function(){return e};const r=a(),o=a(),s=a(),c={log:r,info:o,warn:a(),debug:s,error:a()}},668:(l,t,n)=>{l.exports=function e(a,r,o){function s(u,d){if(!r[u]){if(!a[u]){var p=void 0;if(!d&&p)return require(u,!0);if(c)return c(u,!0);throw(d=new Error("Cannot find module '"+u+"'")).code="MODULE_NOT_FOUND",d}p=r[u]={exports:{}},a[u][0].call(p.exports,function(f){return s(a[u][1][f]||f)},p,p.exports,e,a,r,o)}return r[u].exports}for(var c=void 0,i=0;i<o.length;i++)s(o[i]);return s}({1:[function(e,a,r){a.exports=function(o,s){(s==null||s>o.length)&&(s=o.length);for(var c=0,i=new Array(s);c<s;c++)i[c]=o[c];return i},a.exports.__esModule=!0,a.exports.default=a.exports},{}],2:[function(e,a,r){a.exports=function(o){if(Array.isArray(o))return o},a.exports.__esModule=!0,a.exports.default=a.exports},{}],3:[function(e,a,r){var o=e("./arrayLikeToArray.js");a.exports=function(s){if(Array.isArray(s))return o(s)},a.exports.__esModule=!0,a.exports.default=a.exports},{"./arrayLikeToArray.js":1}],4:[function(e,a,r){a.exports=function(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o},a.exports.__esModule=!0,a.exports.default=a.exports},{}],5:[function(e,a,r){a.exports=function(o,s){if(!(o instanceof s))throw new TypeError("Cannot call a class as a function")},a.exports.__esModule=!0,a.exports.default=a.exports},{}],6:[function(e,a,r){var o=e("./setPrototypeOf.js"),s=e("./isNativeReflectConstruct.js");function c(i,u,d){return s()?a.exports=c=Reflect.construct.bind():a.exports=c=function(p,f,h){var m=[null];return m.push.apply(m,f),f=new(Function.bind.apply(p,m)),h&&o(f,h.prototype),f},a.exports.__esModule=!0,a.exports.default=a.exports,c.apply(null,arguments)}a.exports=c,a.exports.__esModule=!0,a.exports.default=a.exports},{"./isNativeReflectConstruct.js":13,"./setPrototypeOf.js":19}],7:[function(e,a,r){function o(s,c){for(var i=0;i<c.length;i++){var u=c[i];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(s,u.key,u)}}a.exports=function(s,c,i){return c&&o(s.prototype,c),i&&o(s,i),Object.defineProperty(s,"prototype",{writable:!1}),s},a.exports.__esModule=!0,a.exports.default=a.exports},{}],8:[function(e,a,r){a.exports=function(o,s,c){return s in o?Object.defineProperty(o,s,{value:c,enumerable:!0,configurable:!0,writable:!0}):o[s]=c,o},a.exports.__esModule=!0,a.exports.default=a.exports},{}],9:[function(e,a,r){function o(s){return a.exports=o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(c){return c.__proto__||Object.getPrototypeOf(c)},a.exports.__esModule=!0,a.exports.default=a.exports,o(s)}a.exports=o,a.exports.__esModule=!0,a.exports.default=a.exports},{}],10:[function(e,a,r){var o=e("./setPrototypeOf.js");a.exports=function(s,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function");s.prototype=Object.create(c&&c.prototype,{constructor:{value:s,writable:!0,configurable:!0}}),Object.defineProperty(s,"prototype",{writable:!1}),c&&o(s,c)},a.exports.__esModule=!0,a.exports.default=a.exports},{"./setPrototypeOf.js":19}],11:[function(e,a,r){a.exports=function(o){return o&&o.__esModule?o:{default:o}},a.exports.__esModule=!0,a.exports.default=a.exports},{}],12:[function(e,a,r){a.exports=function(o){return Function.toString.call(o).indexOf("[native code]")!==-1},a.exports.__esModule=!0,a.exports.default=a.exports},{}],13:[function(e,a,r){a.exports=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}},a.exports.__esModule=!0,a.exports.default=a.exports},{}],14:[function(e,a,r){a.exports=function(o){if(typeof Symbol<"u"&&o[Symbol.iterator]!=null||o["@@iterator"]!=null)return Array.from(o)},a.exports.__esModule=!0,a.exports.default=a.exports},{}],15:[function(e,a,r){a.exports=function(o,s){var c=o==null?null:typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(c!=null){var i,u,d=[],p=!0,f=!1;try{for(c=c.call(o);!(p=(i=c.next()).done)&&(d.push(i.value),!s||d.length!==s);p=!0);}catch(h){f=!0,u=h}finally{try{p||c.return==null||c.return()}finally{if(f)throw u}}return d}},a.exports.__esModule=!0,a.exports.default=a.exports},{}],16:[function(e,a,r){a.exports=function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
66
|
+
`)}}).get()}});var js=/%20/g,Mo=/#.*$/,ks=/([?&])_=[^&]*/,zl=/^(.*?):[ \t]*([^\r\n]*)$/mg,fu=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Jd=/^(?:GET|HEAD)$/,sa=/^\/\//,aa={},la={},Ts="*/".concat("*"),Ui=_.createElement("a");Ui.href=Co.href;function ui($){return function(X,te){typeof X!="string"&&(te=X,X="*");var ae,ye=0,_e=X.toLowerCase().match(Z)||[];if(m(te))for(;ae=_e[ye++];)ae[0]==="+"?(ae=ae.slice(1)||"*",($[ae]=$[ae]||[]).unshift(te)):($[ae]=$[ae]||[]).push(te)}}function Hi($,X,te,ae){var ye={},_e=$===la;function Ae(tt){var Xe;return ye[tt]=!0,y.each($[tt]||[],function(dt,It){var zt=It(X,te,ae);if(typeof zt=="string"&&!_e&&!ye[zt])return X.dataTypes.unshift(zt),Ae(zt),!1;if(_e)return!(Xe=zt)}),Xe}return Ae(X.dataTypes[0])||!ye["*"]&&Ae("*")}function ji($,X){var te,ae,ye=y.ajaxSettings.flatOptions||{};for(te in X)X[te]!==void 0&&((ye[te]?$:ae||(ae={}))[te]=X[te]);return ae&&y.extend(!0,$,ae),$}function $i($,X,te){for(var ae,ye,_e,Ae,tt=$.contents,Xe=$.dataTypes;Xe[0]==="*";)Xe.shift(),ae===void 0&&(ae=$.mimeType||X.getResponseHeader("Content-Type"));if(ae){for(ye in tt)if(tt[ye]&&tt[ye].test(ae)){Xe.unshift(ye);break}}if(Xe[0]in te)_e=Xe[0];else{for(ye in te){if(!Xe[0]||$.converters[ye+" "+Xe[0]]){_e=ye;break}Ae||(Ae=ye)}_e=_e||Ae}if(_e)return _e!==Xe[0]&&Xe.unshift(_e),te[_e]}function ki($,X,te,ae){var ye,_e,Ae,tt,Xe,dt={},It=$.dataTypes.slice();if(It[1])for(Ae in $.converters)dt[Ae.toLowerCase()]=$.converters[Ae];for(_e=It.shift();_e;)if($.responseFields[_e]&&(te[$.responseFields[_e]]=X),!Xe&&ae&&$.dataFilter&&(X=$.dataFilter(X,$.dataType)),Xe=_e,_e=It.shift(),_e){if(_e==="*")_e=Xe;else if(Xe!=="*"&&Xe!==_e){if(Ae=dt[Xe+" "+_e]||dt["* "+_e],!Ae){for(ye in dt)if(tt=ye.split(" "),tt[1]===_e&&(Ae=dt[Xe+" "+tt[0]]||dt["* "+tt[0]],Ae)){Ae===!0?Ae=dt[ye]:dt[ye]!==!0&&(_e=tt[0],It.unshift(tt[1]));break}}if(Ae!==!0)if(Ae&&$.throws)X=Ae(X);else try{X=Ae(X)}catch(zt){return{state:"parsererror",error:Ae?zt:"No conversion from "+Xe+" to "+_e}}}}return{state:"success",data:X}}y.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Co.href,type:"GET",isLocal:fu.test(Co.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ts,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":y.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function($,X){return X?ji(ji($,y.ajaxSettings),X):ji(y.ajaxSettings,$)},ajaxPrefilter:ui(aa),ajaxTransport:ui(la),ajax:function($,X){typeof $=="object"&&(X=$,$=void 0),X=X||{};var te,ae,ye,_e,Ae,tt,Xe,dt,It,zt,St=y.ajaxSetup({},X),Qt=St.context||St,In=St.context&&(Qt.nodeType||Qt.jquery)?y(Qt):y.event,rr=y.Deferred(),Dn=y.Callbacks("once memory"),Xr=St.statusCode||{},Tr={},jo={},br="canceled",Ve={readyState:0,getResponseHeader:function(wt){var Vt;if(Xe){if(!_e)for(_e={};Vt=zl.exec(ye);)_e[Vt[1].toLowerCase()+" "]=(_e[Vt[1].toLowerCase()+" "]||[]).concat(Vt[2]);Vt=_e[wt.toLowerCase()+" "]}return Vt==null?null:Vt.join(", ")},getAllResponseHeaders:function(){return Xe?ye:null},setRequestHeader:function(wt,Vt){return Xe==null&&(wt=jo[wt.toLowerCase()]=jo[wt.toLowerCase()]||wt,Tr[wt]=Vt),this},overrideMimeType:function(wt){return Xe==null&&(St.mimeType=wt),this},statusCode:function(wt){var Vt;if(wt)if(Xe)Ve.always(wt[Ve.status]);else for(Vt in wt)Xr[Vt]=[Xr[Vt],wt[Vt]];return this},abort:function(wt){var Vt=wt||br;return te&&te.abort(Vt),xt(0,Vt),this}};if(rr.promise(Ve),St.url=(($||St.url||Co.href)+"").replace(sa,Co.protocol+"//"),St.type=X.method||X.type||St.method||St.type,St.dataTypes=(St.dataType||"*").toLowerCase().match(Z)||[""],St.crossDomain==null){tt=_.createElement("a");try{tt.href=St.url,tt.href=tt.href,St.crossDomain=Ui.protocol+"//"+Ui.host!=tt.protocol+"//"+tt.host}catch{St.crossDomain=!0}}if(St.data&&St.processData&&typeof St.data!="string"&&(St.data=y.param(St.data,St.traditional)),Hi(aa,St,X,Ve),Xe)return Ve;dt=y.event&&St.global,dt&&y.active++===0&&y.event.trigger("ajaxStart"),St.type=St.type.toUpperCase(),St.hasContent=!Jd.test(St.type),ae=St.url.replace(Mo,""),St.hasContent?St.data&&St.processData&&(St.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(St.data=St.data.replace(js,"+")):(zt=St.url.slice(ae.length),St.data&&(St.processData||typeof St.data=="string")&&(ae+=(zi.test(ae)?"&":"?")+St.data,delete St.data),St.cache===!1&&(ae=ae.replace(ks,"$1"),zt=(zi.test(ae)?"&":"?")+"_="+ur.guid+++zt),St.url=ae+zt),St.ifModified&&(y.lastModified[ae]&&Ve.setRequestHeader("If-Modified-Since",y.lastModified[ae]),y.etag[ae]&&Ve.setRequestHeader("If-None-Match",y.etag[ae])),(St.data&&St.hasContent&&St.contentType!==!1||X.contentType)&&Ve.setRequestHeader("Content-Type",St.contentType),Ve.setRequestHeader("Accept",St.dataTypes[0]&&St.accepts[St.dataTypes[0]]?St.accepts[St.dataTypes[0]]+(St.dataTypes[0]!=="*"?", "+Ts+"; q=0.01":""):St.accepts["*"]);for(It in St.headers)Ve.setRequestHeader(It,St.headers[It]);if(St.beforeSend&&(St.beforeSend.call(Qt,Ve,St)===!1||Xe))return Ve.abort();if(br="abort",Dn.add(St.complete),Ve.done(St.success),Ve.fail(St.error),te=Hi(la,St,X,Ve),!te)xt(-1,"No Transport");else{if(Ve.readyState=1,dt&&In.trigger("ajaxSend",[Ve,St]),Xe)return Ve;St.async&&St.timeout>0&&(Ae=t.setTimeout(function(){Ve.abort("timeout")},St.timeout));try{Xe=!1,te.send(Tr,xt)}catch(wt){if(Xe)throw wt;xt(-1,wt)}}function xt(wt,Vt,jn,Nn){var Sn,ar,$n,mn,Lo,ro=Vt;Xe||(Xe=!0,Ae&&t.clearTimeout(Ae),te=void 0,ye=Nn||"",Ve.readyState=wt>0?4:0,Sn=wt>=200&&wt<300||wt===304,jn&&(mn=$i(St,Ve,jn)),!Sn&&y.inArray("script",St.dataTypes)>-1&&y.inArray("json",St.dataTypes)<0&&(St.converters["text script"]=function(){}),mn=ki(St,mn,Ve,Sn),Sn?(St.ifModified&&(Lo=Ve.getResponseHeader("Last-Modified"),Lo&&(y.lastModified[ae]=Lo),Lo=Ve.getResponseHeader("etag"),Lo&&(y.etag[ae]=Lo)),wt===204||St.type==="HEAD"?ro="nocontent":wt===304?ro="notmodified":(ro=mn.state,ar=mn.data,$n=mn.error,Sn=!$n)):($n=ro,(wt||!ro)&&(ro="error",wt<0&&(wt=0))),Ve.status=wt,Ve.statusText=(Vt||ro)+"",Sn?rr.resolveWith(Qt,[ar,ro,Ve]):rr.rejectWith(Qt,[Ve,ro,$n]),Ve.statusCode(Xr),Xr=void 0,dt&&In.trigger(Sn?"ajaxSuccess":"ajaxError",[Ve,St,Sn?ar:$n]),Dn.fireWith(Qt,[Ve,ro]),dt&&(In.trigger("ajaxComplete",[Ve,St]),--y.active||y.event.trigger("ajaxStop")))}return Ve},getJSON:function($,X,te){return y.get($,X,te,"json")},getScript:function($,X){return y.get($,void 0,X,"script")}}),y.each(["get","post"],function($,X){y[X]=function(te,ae,ye,_e){return m(ae)&&(_e=_e||ye,ye=ae,ae=void 0),y.ajax(y.extend({url:te,type:X,dataType:_e,data:ae,success:ye},y.isPlainObject(te)&&te))}}),y.ajaxPrefilter(function($){var X;for(X in $.headers)X.toLowerCase()==="content-type"&&($.contentType=$.headers[X]||"")}),y._evalUrl=function($,X,te){return y.ajax({url:$,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(ae){y.globalEval(ae,X,te)}})},y.fn.extend({wrapAll:function($){var X;return this[0]&&(m($)&&($=$.call(this[0])),X=y($,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&X.insertBefore(this[0]),X.map(function(){for(var te=this;te.firstElementChild;)te=te.firstElementChild;return te}).append(this)),this},wrapInner:function($){return m($)?this.each(function(X){y(this).wrapInner($.call(this,X))}):this.each(function(){var X=y(this),te=X.contents();te.length?te.wrapAll($):X.append($)})},wrap:function($){var X=m($);return this.each(function(te){y(this).wrapAll(X?$.call(this,te):$)})},unwrap:function($){return this.parent($).not("body").each(function(){y(this).replaceWith(this.childNodes)}),this}}),y.expr.pseudos.hidden=function($){return!y.expr.pseudos.visible($)},y.expr.pseudos.visible=function($){return!!($.offsetWidth||$.offsetHeight||$.getClientRects().length)},y.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch{}};var qi={0:200,1223:204},uo=y.ajaxSettings.xhr();h.cors=!!uo&&"withCredentials"in uo,h.ajax=uo=!!uo,y.ajaxTransport(function($){var X,te;if(h.cors||uo&&!$.crossDomain)return{send:function(ae,ye){var _e,Ae=$.xhr();if(Ae.open($.type,$.url,$.async,$.username,$.password),$.xhrFields)for(_e in $.xhrFields)Ae[_e]=$.xhrFields[_e];$.mimeType&&Ae.overrideMimeType&&Ae.overrideMimeType($.mimeType),!$.crossDomain&&!ae["X-Requested-With"]&&(ae["X-Requested-With"]="XMLHttpRequest");for(_e in ae)Ae.setRequestHeader(_e,ae[_e]);X=function(tt){return function(){X&&(X=te=Ae.onload=Ae.onerror=Ae.onabort=Ae.ontimeout=Ae.onreadystatechange=null,tt==="abort"?Ae.abort():tt==="error"?typeof Ae.status!="number"?ye(0,"error"):ye(Ae.status,Ae.statusText):ye(qi[Ae.status]||Ae.status,Ae.statusText,(Ae.responseType||"text")!=="text"||typeof Ae.responseText!="string"?{binary:Ae.response}:{text:Ae.responseText},Ae.getAllResponseHeaders()))}},Ae.onload=X(),te=Ae.onerror=Ae.ontimeout=X("error"),Ae.onabort!==void 0?Ae.onabort=te:Ae.onreadystatechange=function(){Ae.readyState===4&&t.setTimeout(function(){X&&te()})},X=X("abort");try{Ae.send($.hasContent&&$.data||null)}catch(tt){if(X)throw tt}},abort:function(){X&&X()}}}),y.ajaxPrefilter(function($){$.crossDomain&&($.contents.script=!1)}),y.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function($){return y.globalEval($),$}}}),y.ajaxPrefilter("script",function($){$.cache===void 0&&($.cache=!1),$.crossDomain&&($.type="GET")}),y.ajaxTransport("script",function($){if($.crossDomain||$.scriptAttrs){var X,te;return{send:function(ae,ye){X=y("<script>").attr($.scriptAttrs||{}).prop({charset:$.scriptCharset,src:$.url}).on("load error",te=function(_e){X.remove(),te=null,_e&&ye(_e.type==="error"?404:200,_e.type)}),_.head.appendChild(X[0])},abort:function(){te&&te()}}}});var Zr=[],Do=/(=)\?(?=&|$)|\?\?/;y.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var $=Zr.pop()||y.expando+"_"+ur.guid++;return this[$]=!0,$}}),y.ajaxPrefilter("json jsonp",function($,X,te){var ae,ye,_e,Ae=$.jsonp!==!1&&(Do.test($.url)?"url":typeof $.data=="string"&&($.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&Do.test($.data)&&"data");if(Ae||$.dataTypes[0]==="jsonp")return ae=$.jsonpCallback=m($.jsonpCallback)?$.jsonpCallback():$.jsonpCallback,Ae?$[Ae]=$[Ae].replace(Do,"$1"+ae):$.jsonp!==!1&&($.url+=(zi.test($.url)?"&":"?")+$.jsonp+"="+ae),$.converters["script json"]=function(){return _e||y.error(ae+" was not called"),_e[0]},$.dataTypes[0]="json",ye=t[ae],t[ae]=function(){_e=arguments},te.always(function(){ye===void 0?y(t).removeProp(ae):t[ae]=ye,$[ae]&&($.jsonpCallback=X.jsonpCallback,Zr.push(ae)),_e&&m(ye)&&ye(_e[0]),_e=ye=void 0}),"script"}),h.createHTMLDocument=function(){var $=_.implementation.createHTMLDocument("").body;return $.innerHTML="<form></form><form></form>",$.childNodes.length===2}(),y.parseHTML=function($,X,te){if(typeof $!="string")return[];typeof X=="boolean"&&(te=X,X=!1);var ae,ye,_e;return X||(h.createHTMLDocument?(X=_.implementation.createHTMLDocument(""),ae=X.createElement("base"),ae.href=_.location.href,X.head.appendChild(ae)):X=_),ye=z.exec($),_e=!te&&[],ye?[X.createElement(ye[1])]:(ye=Dt([$],X,_e),_e&&_e.length&&y(_e).remove(),y.merge([],ye.childNodes))},y.fn.load=function($,X,te){var ae,ye,_e,Ae=this,tt=$.indexOf(" ");return tt>-1&&(ae=ti($.slice(tt)),$=$.slice(0,tt)),m(X)?(te=X,X=void 0):X&&typeof X=="object"&&(ye="POST"),Ae.length>0&&y.ajax({url:$,type:ye||"GET",dataType:"html",data:X}).done(function(Xe){_e=arguments,Ae.html(ae?y("<div>").append(y.parseHTML(Xe)).find(ae):Xe)}).always(te&&function(Xe,dt){Ae.each(function(){te.apply(this,_e||[Xe.responseText,dt,Xe])})}),this},y.expr.pseudos.animated=function($){return y.grep(y.timers,function(X){return $===X.elem}).length},y.offset={setOffset:function($,X,te){var ae,ye,_e,Ae,tt,Xe,dt,It=y.css($,"position"),zt=y($),St={};It==="static"&&($.style.position="relative"),tt=zt.offset(),_e=y.css($,"top"),Xe=y.css($,"left"),dt=(It==="absolute"||It==="fixed")&&(_e+Xe).indexOf("auto")>-1,dt?(ae=zt.position(),Ae=ae.top,ye=ae.left):(Ae=parseFloat(_e)||0,ye=parseFloat(Xe)||0),m(X)&&(X=X.call($,te,y.extend({},tt))),X.top!=null&&(St.top=X.top-tt.top+Ae),X.left!=null&&(St.left=X.left-tt.left+ye),"using"in X?X.using.call($,St):zt.css(St)}},y.fn.extend({offset:function($){if(arguments.length)return $===void 0?this:this.each(function(ye){y.offset.setOffset(this,$,ye)});var X,te,ae=this[0];if(ae)return ae.getClientRects().length?(X=ae.getBoundingClientRect(),te=ae.ownerDocument.defaultView,{top:X.top+te.pageYOffset,left:X.left+te.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var $,X,te,ae=this[0],ye={top:0,left:0};if(y.css(ae,"position")==="fixed")X=ae.getBoundingClientRect();else{for(X=this.offset(),te=ae.ownerDocument,$=ae.offsetParent||te.documentElement;$&&($===te.body||$===te.documentElement)&&y.css($,"position")==="static";)$=$.parentNode;$&&$!==ae&&$.nodeType===1&&(ye=y($).offset(),ye.top+=y.css($,"borderTopWidth",!0),ye.left+=y.css($,"borderLeftWidth",!0))}return{top:X.top-ye.top-y.css(ae,"marginTop",!0),left:X.left-ye.left-y.css(ae,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var $=this.offsetParent;$&&y.css($,"position")==="static";)$=$.offsetParent;return $||Qe})}}),y.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function($,X){var te=X==="pageYOffset";y.fn[$]=function(ae){return Se(this,function(ye,_e,Ae){var tt;if(g(ye)?tt=ye:ye.nodeType===9&&(tt=ye.defaultView),Ae===void 0)return tt?tt[X]:ye[_e];tt?tt.scrollTo(te?tt.pageXOffset:Ae,te?Ae:tt.pageYOffset):ye[_e]=Ae},$,ae,arguments.length)}}),y.each(["top","left"],function($,X){y.cssHooks[X]=rt(h.pixelPosition,function(te,ae){if(ae)return ae=$e(te,X),Mt.test(ae)?y(te).position()[X]+"px":ae})}),y.each({Height:"height",Width:"width"},function($,X){y.each({padding:"inner"+$,content:X,"":"outer"+$},function(te,ae){y.fn[ae]=function(ye,_e){var Ae=arguments.length&&(te||typeof ye!="boolean"),tt=te||(ye===!0||_e===!0?"margin":"border");return Se(this,function(Xe,dt,It){var zt;return g(Xe)?ae.indexOf("outer")===0?Xe["inner"+$]:Xe.document.documentElement["client"+$]:Xe.nodeType===9?(zt=Xe.documentElement,Math.max(Xe.body["scroll"+$],zt["scroll"+$],Xe.body["offset"+$],zt["offset"+$],zt["client"+$])):It===void 0?y.css(Xe,dt,tt):y.style(Xe,dt,It,tt)},X,Ae?ye:void 0,Ae)}})}),y.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function($,X){y.fn[X]=function(te){return this.on(X,te)}}),y.fn.extend({bind:function($,X,te){return this.on($,null,X,te)},unbind:function($,X){return this.off($,null,X)},delegate:function($,X,te,ae){return this.on(X,$,te,ae)},undelegate:function($,X,te){return arguments.length===1?this.off($,"**"):this.off(X,$||"**",te)},hover:function($,X){return this.on("mouseenter",$).on("mouseleave",X||$)}}),y.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function($,X){y.fn[X]=function(te,ae){return arguments.length>0?this.on(X,null,te,ae):this.trigger(X)}});var di=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;y.proxy=function($,X){var te,ae,ye;if(typeof X=="string"&&(te=$[X],X=$,$=te),!!m($))return ae=r.call(arguments,2),ye=function(){return $.apply(X||this,ae.concat(r.call(arguments)))},ye.guid=$.guid=$.guid||y.guid++,ye},y.holdReady=function($){$?y.readyWait++:y.ready(!0)},y.isArray=Array.isArray,y.parseJSON=JSON.parse,y.nodeName=C,y.isFunction=m,y.isWindow=g,y.camelCase=ce,y.type=S,y.now=Date.now,y.isNumeric=function($){var X=y.type($);return(X==="number"||X==="string")&&!isNaN($-parseFloat($))},y.trim=function($){return $==null?"":($+"").replace(di,"$1")};var Ro=t.jQuery,ds=t.$;return y.noConflict=function($){return t.$===y&&(t.$=ds),$&&t.jQuery===y&&(t.jQuery=Ro),y},typeof n>"u"&&(t.jQuery=t.$=y),y})})(Rw);var oN=Rw.exports;const Fa=Mu(oN),iN=(l,t,n,e)=>{(({title:r,parsedHtmlString:o})=>{const s='<!DOCTYPE html><html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"><head><meta charset="UTF-8"><title>Document</title></head><body>',c="</body></html>",i=o||Fa(".ContentEditable__root").html(),u=rN(i),d=wd(u);function p(_){const v=document.createElement("div");return v.innerHTML=_,v.querySelectorAll("img").forEach(S=>{const E=S.naturalWidth,b=S.naturalHeight;(E>600||b>600)&&(S.setAttribute("width",600),S.removeAttribute("height"),S.style.width="600px",S.style.height="auto")}),v.innerHTML}function f(_,v){const S=new DOMParser().parseFromString(_,"text/html"),{heading:E}=v,b={h1:E.find(x=>x.title==="Heading1")||{},h2:E.find(x=>x.title==="Heading2")||{},h3:E.find(x=>x.title==="Heading3")||{},h4:E.find(x=>x.title==="Heading4")||{},h5:E.find(x=>x.title==="Heading5")||{}};return Object.entries(b).forEach(([x,C])=>{S.querySelectorAll(x).forEach(L=>{let B="";C.fontColor&&(B+=`color: ${C.fontColor};`),C.fontFamily&&(B+=`font-family: ${C.fontFamily};`),C.fontSize&&(B+=`font-size: ${C.fontSize}px;`),C.bold==="Yes"&&(B+="font-weight: bold;"),C.italic==="Yes"&&(B+="font-style: italic;"),C.lineSpacing&&(B+=`line-height: ${C.lineSpacing};`),C.alignment&&(B+=`text-align: ${C.alignment.toLowerCase()};`),L.style.cssText+=B})}),p(S.body.innerHTML)}const h=f(d,n),m=s+h+c,g=new Blob([m],{type:"application/msword"});tN.saveAs(g,`${r||"Exported"}.doc`)})({title:t,parsedHtmlString:e})},sN="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktbGlzdC11bCI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNNSAxMS41YS41LjUgMCAwIDEgLjUtLjVoOWEuNS41IDAgMCAxIDAgMWgtOWEuNS41IDAgMCAxLS41LS41em0wLTRhLjUuNSAwIDAgMSAuNS0uNWg5YS41LjUgMCAwIDEgMCAxaC05YS41LjUgMCAwIDEtLjUtLjV6bTAtNGEuNS41IDAgMCAxIC41LS41aDlhLjUuNSAwIDAgMSAwIDFoLTlhLjUuNSAwIDAgMS0uNS0uNXptLTMgMWExIDEgMCAxIDAgMC0yIDEgMSAwIDAgMCAwIDJ6bTAgNGExIDEgMCAxIDAgMC0yIDEgMSAwIDAgMCAwIDJ6bTAgNGExIDEgMCAxIDAgMC0yIDEgMSAwIDAgMCAwIDJ6Ii8+PC9zdmc+",aN="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktbGlzdC1vbCI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNNSAxMS41YS41LjUgMCAwIDEgLjUtLjVoOWEuNS41IDAgMCAxIDAgMWgtOWEuNS41IDAgMCAxLS41LS41em0wLTRhLjUuNSAwIDAgMSAuNS0uNWg5YS41LjUgMCAwIDEgMCAxaC05YS41LjUgMCAwIDEtLjUtLjV6bTAtNGEuNS41IDAgMCAxIC41LS41aDlhLjUuNSAwIDAgMSAwIDFoLTlhLjUuNSAwIDAgMS0uNS0uNXoiLz48cGF0aCBkPSJNMS43MTMgMTEuODY1di0uNDc0SDJjLjIxNyAwIC4zNjMtLjEzNy4zNjMtLjMxNyAwLS4xODUtLjE1OC0uMzEtLjM2MS0uMzEtLjIyMyAwLS4zNjcuMTUyLS4zNzMuMzFoLS41OWMuMDE2LS40NjcuMzczLS43ODcuOTg2LS43ODcuNTg4LS4wMDIuOTU0LjI5MS45NTcuNzAzYS41OTUuNTk1IDAgMCAxLS40OTIuNTk0di4wMzNhLjYxNS42MTUgMCAwIDEgLjU2OS42MzFjLjAwMy41MzMtLjUwMi44LTEuMDUxLjgtLjY1NiAwLTEtLjM3LTEuMDA4LS43OTRoLjU4MmMuMDA4LjE3OC4xODYuMzA2LjQyMi4zMDkuMjU0IDAgLjQyNC0uMTQ1LjQyMi0uMzUtLjAwMi0uMTk1LS4xNTUtLjM0OC0uNDE0LS4zNDhoLS4zem0tLjAwNC00LjY5OWgtLjYwNHYtLjAzNWMwLS40MDguMjk1LS44NDQuOTU4LS44NDQuNTgzIDAgLjk2LjMyNi45Ni43NTYgMCAuMzg5LS4yNTcuNjE3LS40NzYuODQ4bC0uNTM3LjU3MnYuMDNoMS4wNTRWOUgxLjE0M3YtLjM5NWwuOTU3LS45OWMuMTM4LS4xNDIuMjkzLS4zMDQuMjkzLS41MDggMC0uMTgtLjE0Ny0uMzItLjM0Mi0uMzJhLjMzLjMzIDAgMCAwLS4zNDIuMzM4di4wNDF6TTIuNTY0IDVoLS42MzVWMi45MjRoLS4wMzFsLS41OTguNDJ2LS41NjdsLjYyOS0uNDQzaC42MzVWNXoiLz48L3N2Zz4=",lN=({onlUser:l,collabApiKey:t,htmlPasteModalOpen:n,sethtmlPasteModalOpen:e,passedContent:a,onPaste:r,source:o})=>{he.useRef(null);const[s,c]=he.useState(""),[i,u]=he.useState(""),[d]=xn(),p=he.useRef();he.useRef(null);const f=()=>{u({root:{type:"root",version:1,children:[{children:[],direction:"ltr",format:"",indent:0,type:"text",version:1}],direction:"ltr",format:"",indent:0}}),c("")};he.useEffect(()=>{f()},[]);const h=()=>{e(!1),c(" "),f()},m=C=>{const T=/display:\s*([^;]+);/,L=C.match(T);if(L)return L[1]};function g(){const[C]=xn(),T=(B,D)=>{C.update(()=>{const F=Cn(),O=er(`${B}`);O.setStyle(D.style),O.setFormat(D.format),F.append(O),C.getRootElement()&&B&&B.length>0&&(C.getEditorState().read(()=>zn()),Sl(F))})},L=()=>{let B=y(s);w(s),B.root.children.map((D,F)=>{if(D&&D.text&&D.text.trim("")&&D.text.trim("").length>1&&D.style&&D.style.length>10&&m(D.style)==="block"){let O=D.order.split("_")[1];setTimeout(()=>{T(D.text.trim(""),D)},O*2)}}),h()};return ue.jsx("button",{onClick:L,ref:p,style:{display:"none"}})}function _(C,T){const L=/font-weight:\s*([a-zA-Z0-9\-]+);/,B=/text-decoration:\s*([^;]+?)(?=\s*;|\s*$)/,D=/font-style:\s*([a-zA-Z0-9\-]+);/,F=/font-size:\s*([\d.]+(?:px|pt|em|rem|%)?)/,O=/color:\s*([^;]+)/,j=C.match(L),P=C.match(B),R=C.match(D),N=C.match(F),U=C.match(O),M=j?j[1]:null,z=P?P[1]:null,V=R?R[1]:null,K=N?N[1]:null,A=U?U[1]:null;let W={"font-weight":M&&M!==null?M:"none","text-decoration":z&&z!==null?z:"none","font-style":V&&V!==null?V:"none","font-size":"none",display:["span","table","tbody","tr","td"].includes(T)?"block":"none",color:A&&A!=="transparent"?A:"black"};function H(Z){return Object.entries(Z).map(([Q,Y])=>`${Q}: ${Y};`).join(" ")}return{cssString:H(W),fontSize:K&&K!==null?K:"none",fontWeight:M&&M!==null?M:"none",fontStyle:V&&V!==null?V:"none",textDecoration:z&&z!==null?z:"none"}}const v=(C,T)=>{const L=new RegExp(`${T}:\\s*([^;]+)`),B=C.match(L);return B?B[1].trim():null},w=C=>{const T=new DOMParser,L=b(C),D=T.parseFromString(L,"text/html").querySelectorAll("img");Array.from(D).map(F=>{const P=F.getAttribute("id").split("_")[1]*2;setTimeout(()=>{d.update(()=>{const R=F.src,N=F.textContent,M=xc({src:R,altText:N});zn(),Sl(M)})},P)})};function S(C,T){const L=Array.from(C.querySelectorAll("tr")),F=C.getAttribute("id").split("_")[1]*2;setTimeout(()=>{T.update(()=>{const O=bp();L.forEach(P=>{const R=kl();Array.from(P.querySelectorAll("td")).forEach(U=>{const M=wi();let K=Array.from(U.querySelectorAll("span")).map(Q=>{const Y=Q.getAttribute("style")||"";return{text:Q.innerText.trim(),style:Y}}).map(Q=>Q.style).filter(Q=>Q).map(Q=>Q.split(";").map(Y=>Y.trim()).filter(Y=>!Y.startsWith("font-family")).filter(Y=>!Y.startsWith("font-size")).filter(Y=>!Y.startsWith("border")).filter(Y=>!Y.startsWith("width")).join("; ")).join("; ");const A=v(K,"font-weight"),q=v(K,"font-style"),W=v(K,"text-decoration");K=`${K}; font-weight: ${A}`,K=`${K}; font-style: ${q}`,K=`${K}; color: black`,K=`${K}; text-decoration: ${W}`;const H=er(U.innerText.trim()),G=E(A,q,W);H.setFormat(G),K&&H.setStyle(K);const Z=Cn();Z.append(H),M.append(Z),R.append(M)}),O.append(R)}),zn()&&Sl(O)})},F)}function E(C,T,L){return C==="bold"&&T==="italic"&&L==="underline line-through"?15:L==="underline line-through"?12:T==="italic"&&L==="line-through"?6:T==="italic"&&L==="underline"?11:C==="bold"&&L==="line-through"?5:C==="bold"&&L==="underline"?9:C==="bold"&&T==="italic"?3:C==="bold"?1:T==="italic"?2:L==="underline"?8:L==="line-through"?4:0}function b(C){const L=new DOMParser().parseFromString(C,"text/html");let B=1;function D(F){if(F.nodeType===1){const O=`order_${B++}`;F.setAttribute("data-title",O),F.setAttribute("id",O)}F.childNodes.forEach(O=>D(O))}return D(L.body),L.body.innerHTML}function y(C){const T=new DOMParser,L=b(C),B=T.parseFromString(L,"text/html");B.querySelectorAll("[aria-level]").forEach(U=>{const V=U.getAttribute("id").split("_")[1]*2;setTimeout(()=>{d.update(()=>{const K=Cl(`${U.getAttribute("aria-level")==="1"?"h1":U.getAttribute("aria-level")==="2"?"h2":U.getAttribute("aria-level")==="3"?"h3":U.getAttribute("aria-level")==="4"?"h4":"h5"}`),A=er(U.innerText);K.append(A),Sl(K)})},V)}),B.querySelectorAll("ul").forEach(U=>{const V=U.getAttribute("id").split("_")[1]*2;setTimeout(()=>{d.update(()=>{const K=Ho("ul"),A=ei(),q=er(`${U.textContent}`);let G=Array.from(U.querySelectorAll("span")).map(ee=>{const re=ee.getAttribute("style")||"";return{text:ee.innerText.trim(),style:re}}).map(ee=>ee.style).filter(ee=>ee).map(ee=>ee.split(";").map(re=>re.trim()).filter(re=>!re.startsWith("font-family")).filter(re=>!re.startsWith("font-size")).filter(re=>!re.startsWith("border")).filter(re=>!re.startsWith("width")).join("; ")).join("; ");const Z=v(G,"font-weight"),Q=v(G,"font-style"),Y=v(G,"text-decoration");G=`${G}; font-weight: ${Z}`,G=`${G}; font-style: ${Q}`,G=`${G}; color: black`,G=`${G}; text-decoration: ${Y}`,G&&q.setStyle(G),A.append(q),K.append(A),zn(),Sl(K)})},V)}),B.querySelectorAll("ol").forEach(U=>{const V=U.getAttribute("id").split("_")[1]*2;setTimeout(()=>{d.update(()=>{const K=Ho("ol"),A=ei(),q=er(`${U.textContent}`);let G=Array.from(U.querySelectorAll("span")).map(re=>{const de=re.getAttribute("style")||"";return{text:re.innerText.trim(),style:de}}).map(re=>re.style).filter(re=>re).map(re=>re.split(";").map(de=>de.trim()).filter(de=>!de.startsWith("font-family")).filter(de=>!de.startsWith("font-size")).filter(de=>!de.startsWith("border")).filter(de=>!de.startsWith("width")).join("; ")).join("; ");const Z=v(G,"font-weight"),Q=v(G,"font-style"),Y=v(G,"text-decoration");G=`${G}; font-weight: ${Z}`,G=`${G}; font-style: ${Q}`,G=`${G}; color: black`,G=`${G}; text-decoration: ${Y}`;let ee=E(Q,Z,Y);q.setFormat(ee),G&&q.setStyle(G),A.append(q),K.append(A),zn(),Sl(K)})},V)}),B.querySelectorAll("table").forEach(U=>{S(U,d)});const P=B.querySelectorAll("*"),R=Array.from(P).filter(U=>!U.closest("table")).filter(U=>!U.closest("ol")).filter(U=>!U.closest("ul")).map(U=>({elemText:U.innerText,tagName:U.tagName.toLowerCase(),style:U.getAttribute("style")||"",order:U.getAttribute("id")||""}));let N=i;return R.map(U=>{let M=_(U.style,U.tagName);const{cssString:z,fontSize:V,fontWeight:K,textDecoration:A,fontStyle:q,border:W}=M||{};if(U.style&&U.style.length>0&&U.elemText.trim(" ").length&&V!=="none"&&K!==null&&A!==null&&q!==null){let H=K==="bold"&&q==="italic"&&A==="underline line-through"?15:A==="underline line-through"?12:q==="italic"&&A=="line-through"?6:q==="italic"&&A==="underline"?11:K==="bold"&&A==="line-through"?5:K==="bold"&&A==="underline"?9:K==="bold"&&q==="italic"?3:K==="bold"?1:q==="italic"?2:U.style.includes("text-decoration: underline")?8:U.style.includes("text-decoration: line-through")?4:0;N.root.children.push({detail:0,format:H,mode:"normal",style:`${z}`,text:`${U.elemText}`,type:"text",version:1,order:U.order})}}),N}he.useEffect(()=>()=>{c(" ")},[]);const x=()=>{e(!0),setTimeout(()=>{var C;(C=p.current)==null||C.click()},200)};return he.useEffect(C=>{n&&(c(a),x())},[n]),ue.jsx(ue.Fragment,{children:ue.jsx(g,{})})},cN="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IS0tIFVwbG9hZGVkIHRvOiBTVkcgUmVwbywgd3d3LnN2Z3JlcG8uY29tLCBHZW5lcmF0b3I6IFNWRyBSZXBvIE1peGVyIFRvb2xzIC0tPgo8c3ZnIHdpZHRoPSI4MDBweCIgaGVpZ2h0PSI4MDBweCIgdmlld0JveD0iMCAwIDI0IDI0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIG1pcnJvci1pbi1ydGw9InRydWUiPgogIDxjaXJjbGUgZmlsbD0iIzQ5NGM0ZSIgY3g9IjIiIGN5PSIyIiByPSIyIi8+CiAgPGNpcmNsZSBmaWxsPSIjNDk0YzRlIiBjeD0iMiIgY3k9IjgiIHI9IjIiLz4KICA8Y2lyY2xlIGZpbGw9IiM0OTRjNGUiIGN4PSIyIiBjeT0iMjAiIHI9IjIiLz4KICA8Y2lyY2xlIGZpbGw9IiM0OTRjNGUiIGN4PSIyIiBjeT0iMTQiIHI9IjIiLz4KICA8cGF0aCBmaWxsPSIjNDk0YzRlIiBkPSJNMjMuMDAyIDNINy45OThDNy40NDggMyA3IDIuNTUgNyAyLjAwMnYtLjAwNGMwLS41NS40NS0uOTk4Ljk5OC0uOTk4SDIzYy41NSAwIDEgLjQ1IDEgLjk5OFYyYzAgLjU1LS40NSAxLS45OTggMXpNMjMuMDAyIDlINy45OThDNy40NDggOSA3IDguNTUgNyA4LjAwMnYtLjAwNGMwLS41NS40NS0uOTk4Ljk5OC0uOTk4SDIzYy41NSAwIDEgLjQ1IDEgLjk5OFY4YzAgLjU1LS40NSAxLS45OTggMXpNMjMuMDAyIDE1SDcuOTk4Yy0uNTUgMC0uOTk4LS40NS0uOTk4LS45OThWMTRjMC0uNTUuNDUtMSAuOTk4LTFIMjNjLjU1IDAgMSAuNDUgMSAuOTk4VjE0YzAgLjU1LS40NSAxLS45OTggMXpNMjMuMDAyIDIxSDcuOTk4Yy0uNTUgMC0uOTk4LS40NS0uOTk4LS45OThWMjBjMC0uNTUuNDUtMSAuOTk4LTFIMjNjLjU1IDAgMSAuNDUgMSAuOTk4VjIwYzAgLjU1LS40NSAxLS45OTggMXoiLz4KPC9zdmc+",uN={bullet:"Bulleted List",check:"Check List",code:"Code Block",h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",h5:"Heading 5",h6:"Heading 6",number:"Numbered List",paragraph:"Normal",quote:"Quote"};function dN(){const l=[];for(const[t,n]of Object.entries(jb))l.push([t,n]);return l}const fN=dN(),pN={center:{icon:"center-align",iconRTL:"center-align",name:"Center Align"},end:{icon:"right-align",iconRTL:"left-align",name:"End Align"},justify:{icon:"justify-align",iconRTL:"justify-align",name:"Justify Align"},left:{icon:"left-align",iconRTL:"left-align",name:"Left Align"},right:{icon:"right-align",iconRTL:"right-align",name:"Right Align"},start:{icon:"left-align",iconRTL:"right-align",name:"Start Align"}};function Up(l){return l?"active dropdown-item-active":""}function xd(){return ue.jsx("div",{className:"divider"})}function hN({editor:l,value:t,isRTL:n,disabled:e=!1}){const a=pN[t||"left"];return ue.jsxs(bd,{disabled:e,buttonLabel:a.name,buttonIconClassName:`icon ${n?a.iconRTL:a.icon}`,buttonClassName:"toolbar-item spaced alignment",buttonAriaLabel:"Formatting options for text alignment",children:[ue.jsxs(bo,{onClick:()=>{l.dispatchCommand(yl,"left")},className:"item",children:[ue.jsx("i",{className:"icon left-align"}),ue.jsx("span",{className:"text",children:"Left Align"})]}),ue.jsxs(bo,{onClick:()=>{l.dispatchCommand(yl,"center")},className:"item",children:[ue.jsx("i",{className:"icon center-align"}),ue.jsx("span",{className:"text",children:"Center Align"})]}),ue.jsxs(bo,{onClick:()=>{l.dispatchCommand(yl,"right")},className:"item",children:[ue.jsx("i",{className:"icon right-align"}),ue.jsx("span",{className:"text",children:"Right Align"})]}),ue.jsxs(bo,{onClick:()=>{l.dispatchCommand(yl,"justify")},className:"item",children:[ue.jsx("i",{className:"icon justify-align"}),ue.jsx("span",{className:"text",children:"Justify Align"})]})]})}function Lw({setIsLinkEditMode:l,onlUser:t,styleConfig:n,showComments:e,setShowComments:a,showTabContentBtn:r,setshowTabContentBtn:o,showTabContent:s,parsedHtmlString:c,enableCaptions:i}){const[u]=xn(),[d,p]=he.useState(u),[f,h]=he.useState("paragraph"),[m,g]=he.useState("root"),[_,v]=he.useState(null),[w,S]=he.useState("15px"),[E,b]=he.useState("#000"),[y,x]=he.useState("#fff"),[C,T]=he.useState("Arial"),[L,B]=he.useState("left"),[D,F]=he.useState(!1),[O,j]=he.useState(!1),[P,R]=he.useState(!1),[N,U]=he.useState(!1),[M,z]=he.useState(!1),[V,K]=he.useState(!1),[A,q]=he.useState(!1),[W,H]=he.useState(!1),[G,Z]=he.useState(!1),[Q,Y]=he.useState(!1),[ee,re]=Da(),[de,fe]=he.useState(!1),[ne,Se]=he.useState(""),[we,me]=he.useState(()=>u.isEditable()),[je,ce]=he.useState(""),[se,pe]=he.useState(""),[le,ke]=he.useState(""),[Te,Ce]=he.useState(""),[Me,qe]=he.useState(!0),[Re,Le]=he.useState(!1),Ee=1,Qe=ct=>{ct.key==="Enter"&&ke(He=>He+1)};he.useEffect(()=>(window.addEventListener("keydown",Qe),()=>window.removeEventListener("keydown",Qe)),[]),he.useEffect(()=>{const ct=u.registerCommand(ba,He=>{const Ot=He.clipboardData||window.clipboardData,Gt=Ot==null?void 0:Ot.getData("text/html");return Gt!=null&&Gt.includes('<meta http-equiv=Content-Type content="text/html; charset=utf-8">')&&(Gt!=null&&Gt.includes("microsoft-com"))?(sw(He,u,"",i),!1):Gt!=null&&Gt.includes("Outline")?(Ce(Gt),Le(!0),!0):!1},Ee);return()=>{ct()}},[Me]);const Oe=he.useCallback(()=>{const ct=Tt();if(Ct(ct)){const He=ct.anchor.getNode();let Ot=He.getKey()==="root"?He:nr(He,Dt=>{const tn=Dt.getParent();return tn!==null&&to(tn)});Ot===null&&(Ot=He.getTopLevelElementOrThrow());const Gt=Ot.getKey(),Yt=d.getElementByKey(Gt);j(ct.hasFormat("bold")),R(ct.hasFormat("italic")),U(ct.hasFormat("underline")),z(ct.hasFormat("strikethrough")),K(ct.hasFormat("subscript")),q(ct.hasFormat("superscript")),H(ct.hasFormat("code")),fe(lb(ct));const Xt=Aw(ct),_t=Xt.getParent();Qo(_t)||Qo(Xt)?F(!0):F(!1);const Ht=nr(Xt,pr);if(pr(Ht)?g("table"):g("root"),Yt!==null)if(v(Gt),lr(Ot)){const Dt=fb(He,ld),tn=Dt?Dt.getListType():Ot.getListType();h(tn)}else{const Dt=Pp(Ot)?Ot.getTag():Ot.getType();if(Dt in uN&&h(Dt),xm(Ot)){const tn=Ot.getLanguage();Se(tn?kb[tn]||tn:"");return}}S(rd(ct,"font-size","15px")),b(rd(ct,"color","#000")),x(rd(ct,"background-color","#fff")),T(rd(ct,"font-family","Arial"));let an;Qo(_t)&&(an=nr(Xt,Dt=>kt(Dt)&&!Dt.isInline())),B(kt(an)?an.getFormatType():kt(Xt)?Xt.getFormatType():(_t==null?void 0:_t.getFormatType())||"left")}},[d]);he.useEffect(()=>u.registerCommand(vi,(ct,He)=>(Oe(),p(He),!1),Uo),[u,Oe]),he.useEffect(()=>wr(d.registerUpdateListener(({editorState:ct})=>{ct.read(()=>{Oe()})}),d.registerCommand(rc,ct=>(Z(ct),!1),Uo),d.registerCommand(nc,ct=>(Y(ct),!1),Uo)),[Oe,d,u]),he.useEffect(()=>d.registerCommand(Tv,ct=>{const He=ct,{code:Ot,ctrlKey:Gt,metaKey:Yt}=He;if(Ot==="KeyK"&&(Gt||Yt)){He.preventDefault();let Xt;return D?(l(!1),Xt=null):(l(!0),Xt=hw("https://")),d.dispatchCommand(Aa,Xt)}return!1},Qk),[d,D,l]);const Ke=he.useCallback((ct,He)=>{d.update(()=>{const Ot=Tt();Ot!==null&&gm(Ot,ct)},He?{tag:"historic"}:{})},[d]);he.useCallback(()=>{d.update(()=>{const ct=Tt();if(Ct(ct)){const He=ct.anchor,Ot=ct.focus,Gt=ct.getNodes();if(He.key===Ot.key&&He.offset===Ot.offset)return;Gt.forEach((Yt,Xt)=>{if(Wt(Yt)){let _t=Yt;Xt===0&&He.offset!==0&&(_t=_t.splitText(He.offset)[1]||_t),Xt===Gt.length-1&&(_t=_t.splitText(Ot.offset)[0]||_t),_t.__style!==""&&_t.setStyle(""),_t.__format!==0&&(_t.setFormat(0),ym(_t).setFormat("")),Yt=_t}else Pp(Yt)||eO(Yt)?Yt.replace(Cn(),!0):Hm(Yt)&&Yt.setFormat("")})}})},[d]),he.useCallback((ct,He)=>{Ke({color:ct},He)},[Ke]),he.useCallback((ct,He)=>{Ke({"background-color":ct},He)},[Ke]),he.useCallback(()=>{D?(l(!1),u.dispatchCommand(Aa,null)):(l(!0),u.dispatchCommand(Aa,hw("https://")))},[u,D,l]);const it=he.useCallback(ct=>{d.update(()=>{if(_!==null){const He=Bn(_);xm(He)&&He.setLanguage(ct)}})},[d,_]),nt=()=>{f!=="number"?u.dispatchCommand(Ub,void 0):u.dispatchCommand(Hb,void 0)},st=()=>{u.focus(),u.dispatchCommand(zb,void 0)};return ue.jsxs("div",{className:"toolbar",children:[s&&ue.jsx("button",{disabled:!1,onClick:()=>{o(!r)},title:"Table of Conetent",type:"button",className:"toolbar-item spaced","aria-label":"table-of-content",children:ue.jsx("img",{src:cN,width:16,height:16})}),ue.jsx("button",{disabled:!G||!we,onClick:()=>{d.dispatchCommand(Ru,void 0)},title:La?"Undo (⌘Z)":"Undo (Ctrl+Z)",type:"button",className:"toolbar-item spaced","aria-label":"Undo",children:ue.jsx("i",{className:"format undo"})}),ue.jsx("button",{disabled:!Q||!we,onClick:()=>{d.dispatchCommand(Lu,void 0)},title:La?"Redo (⌘Y)":"Redo (Ctrl+Y)",type:"button",className:"toolbar-item","aria-label":"Redo",children:ue.jsx("i",{className:"format redo"})}),f==="code"?ue.jsx(bd,{disabled:!we,buttonClassName:"toolbar-item code-language",buttonLabel:S2(ne),buttonAriaLabel:"Select language",children:fN.map(([ct,He])=>ue.jsx(bo,{className:`item ${Up(ct===ne)}`,onClick:()=>it(ct),children:ue.jsx("span",{className:"text",children:He})},ct))}):ue.jsxs(ue.Fragment,{children:[ue.jsx(xd,{}),ue.jsx(XO,{selectionFontSize:w.slice(0,-2),editor:u,disabled:!we,styleConfig:n,blockType:"h1",isenterPressed:le,currentElementClick:je,currentElementSelect:se}),ue.jsx(xd,{}),ue.jsx("button",{disabled:!we,onClick:()=>{d.dispatchCommand(Gr,"bold")},className:"toolbar-item spaced "+(O?"active":""),title:La?"Bold (⌘B)":"Bold (Ctrl+B)",type:"button","aria-label":`Format text as bold. Shortcut: ${La?"⌘B":"Ctrl+B"}`,children:ue.jsx("i",{className:"format bold"})}),ue.jsx("button",{disabled:!we,onClick:()=>{d.dispatchCommand(Gr,"italic")},className:"toolbar-item spaced "+(P?"active":""),title:La?"Italic (⌘I)":"Italic (Ctrl+I)",type:"button","aria-label":`Format text as italics. Shortcut: ${La?"⌘I":"Ctrl+I"}`,children:ue.jsx("i",{className:"format italic"})}),ue.jsx("button",{disabled:!we,onClick:()=>{d.dispatchCommand(Gr,"underline")},className:"toolbar-item spaced "+(N?"active":""),title:La?"Underline (⌘U)":"Underline (Ctrl+U)",type:"button","aria-label":`Format text to underlined. Shortcut: ${La?"⌘U":"Ctrl+U"}`,children:ue.jsx("i",{className:"format underline"})}),ue.jsx("button",{className:"toolbar-item",onClick:()=>u.dispatchCommand(j1,void 0),title:"Insert Endnote",children:ue.jsx("i",{className:"format endnotes"})}),ue.jsxs(bd,{disabled:!we,buttonClassName:"toolbar-item spaced",buttonLabel:"",buttonAriaLabel:"Formatting options for additional text styles",buttonIconClassName:"icon dropdown-more",children:[ue.jsxs(bo,{onClick:()=>{d.dispatchCommand(Gr,"strikethrough")},className:"item "+Up(M),title:"Strikethrough","aria-label":"Format text with a strikethrough",children:[ue.jsx("i",{className:"icon strikethrough"}),ue.jsx("span",{className:"text",children:"Strikethrough"})]}),ue.jsxs(bo,{onClick:()=>{d.dispatchCommand(Gr,"subscript")},className:"item "+Up(V),title:"Subscript","aria-label":"Format text with a subscript",children:[ue.jsx("i",{className:"icon subscript"}),ue.jsx("span",{className:"text",children:"Subscript"})]}),ue.jsxs(bo,{onClick:()=>{d.dispatchCommand(Gr,"superscript")},className:"item "+Up(A),title:"Superscript","aria-label":"Format text with a superscript",children:[ue.jsx("i",{className:"icon superscript"}),ue.jsx("span",{className:"text",children:"Superscript"})]})]}),ue.jsx(xd,{}),ue.jsxs(bd,{disabled:!we,buttonClassName:"toolbar-item spaced",buttonLabel:"Insert",buttonAriaLabel:"Insert specialized editor node",buttonIconClassName:"icon plus",children:[ue.jsxs(bo,{onClick:()=>{re("Insert Image",ct=>ue.jsx(_O,{activeEditor:d,onClose:ct,enableCaptions:!1}))},className:"item",children:[ue.jsx("i",{className:"icon image"}),ue.jsx("span",{className:"text",children:"Image"})]}),ue.jsxs(bo,{onClick:()=>{re("Insert Table",ct=>ue.jsx(MT,{activeEditor:d,onClose:ct,enableCaptions:i}))},className:"item",children:[ue.jsx("i",{className:"icon table"}),ue.jsx("span",{className:"text",children:"Table"})]}),ue.jsxs(bo,{className:"item",onClick:()=>{st()},children:[ue.jsx("img",{src:sN,height:21,width:21}),ue.jsx("span",{style:{marginLeft:"10px",marginTop:"2px"},children:"Bullet List"})]}),ue.jsxs(bo,{className:"item",onClick:()=>{nt()},children:[ue.jsx("img",{src:aN,height:21,width:21}),ue.jsx("span",{style:{marginLeft:"10px",marginTop:"2px"},children:"Numbered List"})]})]})]}),ue.jsx(xd,{}),ue.jsx("button",{className:`toolbar-item ${e?"active":""}`,onClick:()=>{a(!e),console.log("line 616 ToolbarPlugin show comments button clicked")},title:e?"Hide Comments":"Show Comments",children:ue.jsx("i",{className:"comments"})}),ue.jsx(xd,{}),ue.jsx(lN,{passedContent:Te,source:"remote",onPaste:null,htmlPasteModalOpen:Re,sethtmlPasteModalOpen:Le,onlUser:t,collabApiKey:""}),ue.jsx("button",{className:"toolbar-item",onClick:()=>{iN(u,"title-doc",n,c)},children:ue.jsx("img",{title:"Download as .doc",src:eN,height:18,width:18,className:"download-icon"})}),ue.jsx(hN,{disabled:!we,value:L,editor:u,isRTL:de}),ue.jsx("div",{className:"flex-container-onluser",children:t}),ee]})}const fR="",gN=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?he.useLayoutEffect:he.useEffect;function Fw({ariaActiveDescendant:l,ariaAutoComplete:t,ariaControls:n,ariaDescribedBy:e,ariaExpanded:a,ariaLabel:r,ariaLabelledBy:o,ariaMultiline:s,ariaOwns:c,ariaRequired:i,autoCapitalize:u,className:d,id:p,role:f="textbox",spellCheck:h=!0,style:m,tabIndex:g,"data-testid":_,...v}){const[w]=xn(),[S,E]=he.useState(!1),b=he.useCallback(y=>{y&&y.ownerDocument&&y.ownerDocument.defaultView&&w.setRootElement(y)},[w]);return gN(()=>(E(w.isEditable()),w.registerEditableListener(y=>{E(y)})),[w]),ue.jsx("div",{...v,"aria-activedescendant":S?l:void 0,"aria-autocomplete":S?t:"none","aria-controls":S?n:void 0,"aria-describedby":e,"aria-expanded":S&&f==="combobox"?!!a:void 0,"aria-label":r,"aria-labelledby":o,"aria-multiline":s,"aria-owns":S?c:void 0,"aria-readonly":!S||void 0,"aria-required":i,autoCapitalize:u,className:d,contentEditable:S,"data-testid":_,id:p,ref:b,role:f,spellCheck:h,style:m,tabIndex:g})}function Sd({className:l}){return ue.jsx(Fw,{className:l||"ContentEditable__root"})}const pR="";function Ed({children:l,className:t}){return ue.jsx("div",{className:t||"Placeholder__root",children:l})}let fy=class Jj extends Br{static getType(){return"mark"}static clone(t){return new Jj(Array.from(t.__ids),t.__key)}static importDOM(){return null}static importJSON(t){const n=Hp(t.ids);return n.setFormat(t.format),n.setIndent(t.indent),n.setDirection(t.direction),n}exportJSON(){return{...super.exportJSON(),ids:this.getIDs(),type:"mark",version:1}}constructor(t,n){super(n),this.__ids=t||[]}createDOM(t){const n=document.createElement("mark");return zr(n,t.theme.mark),this.__ids.length>1&&zr(n,t.theme.markOverlap),n}updateDOM(t,n,e){const a=t.__ids,r=this.__ids,o=a.length,s=r.length,c=e.theme.markOverlap;return o!==s&&(o===1?s===2&&zr(n,c):s===1&&mc(n,c)),!1}hasID(t){const n=this.getIDs();for(let e=0;e<n.length;e++)if(t===n[e])return!0;return!1}getIDs(){const t=this.getLatest();return Al(t)?t.__ids:[]}addID(t){const n=this.getWritable();if(Al(n)){const e=n.__ids;n.__ids=e;for(let a=0;a<e.length;a++)if(t===e[a])return;e.push(t)}}deleteID(t){const n=this.getWritable();if(Al(n)){const e=n.__ids;n.__ids=e;for(let a=0;a<e.length;a++)if(t===e[a])return void e.splice(a,1)}}insertNewAfter(t,n=!0){const e=Hp(this.__ids);return this.insertAfter(e,n),e}canInsertTextBefore(){return!1}canInsertTextAfter(){return!1}canBeEmpty(){return!1}isInline(){return!0}extractWithChild(t,n,e){if(!Ct(n)||e==="html")return!1;const a=n.anchor,r=n.focus,o=a.getNode(),s=r.getNode(),c=n.isBackward()?a.offset-r.offset:r.offset-a.offset;return this.isParentOf(o)&&this.isParentOf(s)&&this.getTextContent().length===c}excludeFromCopy(t){return t!=="clone"}};function Hp(l){return Ar(new fy(l))}function Al(l){return l instanceof fy}function mN(l){const t=l.getChildren();let n=null;for(let e=0;e<t.length;e++){const a=t[e];n===null?l.insertBefore(a):n.insertAfter(a),n=a}l.remove()}function yN(l,t,n,e){const a=l.getNodes(),r=l.anchor.offset,o=l.focus.offset,s=a.length,c=t?o:r,i=t?r:o;let u,d;for(let p=0;p<s;p++){const f=a[p];if(kt(d)&&d.isParentOf(f))continue;const h=p===0,m=p===s-1;let g=null;if(Wt(f)){const _=f.getTextContentSize(),v=h?c:0,w=m?i:_;if(v===0&&w===0)continue;const S=f.splitText(v,w);g=S.length>1&&(S.length===3||h&&!m||w===_)?S[1]:S[0]}else{if(Al(f))continue;kt(f)&&f.isInline()&&(g=f)}if(g!==null){if(g&&g.is(u))continue;const _=g.getParent();_!=null&&_.is(u)||(d=void 0),u=_,d===void 0&&(d=(e||Hp)([n]),g.insertBefore(d)),d.append(g)}else u=void 0,d=void 0}kt(d)&&(t?d.selectStart():d.selectEnd())}function vN(l,t){let n=l;for(;n!==null;){if(Al(n))return n.getIDs();if(Wt(n)&&t===n.getTextContentSize()){const e=n.getNextSibling();if(Al(e))return e.getIDs()}n=n.getParent()}return null}const Bw=[["Cat","rgb(125, 50, 0)"],["Dog","rgb(100, 0, 0)"],["Rabbit","rgb(150, 0, 0)"],["Frog","rgb(200, 0, 0)"],["Fox","rgb(200, 75, 0)"],["Hedgehog","rgb(0, 75, 0)"],["Pigeon","rgb(0, 125, 0)"],["Squirrel","rgb(75, 100, 0)"],["Bear","rgb(125, 100, 0)"],["Tiger","rgb(0, 0, 150)"],["Leopard","rgb(0, 0, 200)"],["Zebra","rgb(0, 0, 250)"],["Wolf","rgb(0, 100, 150)"],["Owl","rgb(0, 100, 100)"],["Gull","rgb(100, 0, 100)"],["Squid","rgb(150, 0, 150)"]],zw=Bw[Math.floor(Math.random()*Bw.length)],_N=he.createContext({clientID:0,color:zw[1],isCollabActive:!1,name:zw[0],yjsDocMap:new Map});function Cd(l,t){const n=he.useContext(_N);return l!=null&&(n.name=l),t!=null&&(n.color=t),n}const bN=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?he.useLayoutEffect:he.useEffect;function Uw({onClear:l}){const[t]=xn();return bN(()=>t.registerCommand(jf,n=>(t.update(()=>{if(l==null){const e=zn(),a=Tt(),r=Cn();e.clear(),e.append(r),a!==null&&r.select(),Ct(a)&&(a.format=0)}else l()}),!0),Tn),[t,l]),null}function py(l,t){return py=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,e){return n.__proto__=e,n},py(l,t)}var Hw={error:null},wN=function(l){var t,n;function e(){for(var r,o=arguments.length,s=new Array(o),c=0;c<o;c++)s[c]=arguments[c];return(r=l.call.apply(l,[this].concat(s))||this).state=Hw,r.resetErrorBoundary=function(){for(var i,u=arguments.length,d=new Array(u),p=0;p<u;p++)d[p]=arguments[p];r.props.onReset==null||(i=r.props).onReset.apply(i,d),r.reset()},r}n=l,(t=e).prototype=Object.create(n.prototype),t.prototype.constructor=t,py(t,n),e.getDerivedStateFromError=function(r){return{error:r}};var a=e.prototype;return a.reset=function(){this.setState(Hw)},a.componentDidCatch=function(r,o){var s,c;(s=(c=this.props).onError)==null||s.call(c,r,o)},a.componentDidUpdate=function(r,o){var s,c,i,u,d=this.state.error,p=this.props.resetKeys;d!==null&&o.error!==null&&((i=r.resetKeys)===void 0&&(i=[]),(u=p)===void 0&&(u=[]),i.length!==u.length||i.some(function(f,h){return!Object.is(f,u[h])}))&&((s=(c=this.props).onResetKeysChange)==null||s.call(c,r.resetKeys,p),this.reset())},a.render=function(){var r=this.state.error,o=this.props,s=o.fallbackRender,c=o.FallbackComponent,i=o.fallback;if(r!==null){var u={error:r,resetErrorBoundary:this.resetErrorBoundary};if(sr.isValidElement(i))return i;if(typeof s=="function")return s(u);if(c)return sr.createElement(c,u);throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},e}(sr.Component);function Pl({children:l,onError:t}){return ue.jsx(wN,{fallback:ue.jsx("div",{style:{border:"1px solid #f00",color:"#f00",padding:"8px"},children:"An error was thrown."}),onError:t,children:l})}const xN=Object.freeze(Object.defineProperty({__proto__:null,LexicalErrorBoundary:Pl,default:Pl},Symbol.toStringTag,{value:"Module"})),SN=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?he.useLayoutEffect:he.useEffect;function $w({ignoreHistoryMergeTagChange:l=!0,ignoreSelectionChange:t=!1,onChange:n}){const[e]=xn();return SN(()=>{if(n)return e.registerUpdateListener(({editorState:a,dirtyElements:r,dirtyLeaves:o,prevEditorState:s,tags:c})=>{t&&r.size===0&&o.size===0||l&&c.has("history-merge")||s.isEmpty()||n(a,e,c)})},[e,l,t,n]),null}const Ac=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0,EN=Ac&&"documentMode"in document?document.documentMode:null,CN=!(!Ac||!("InputEvent"in window)||EN)&&"getTargetRanges"in new window.InputEvent("input"),jN=Ac&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),kN=Ac&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,TN=Ac&&/^(?=.*Chrome).*/i.test(navigator.userAgent),ON=Ac&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent)&&!TN;function qw(l,t){t.update(()=>{if(l!==null){const n=$s(l,KeyboardEvent)?null:l.clipboardData,e=Tt();if(e!==null&&n!=null){l.preventDefault();const a=U1(t);a!==null&&n.setData("text/html",a),n.setData("text/plain",e.getTextContent())}}})}function NN(l){return wr(l.registerCommand(Yi,t=>{const n=Tt();return!!Ct(n)&&(n.deleteCharacter(t),!0)},Tn),l.registerCommand(ml,t=>{const n=Tt();return!!Ct(n)&&(n.deleteWord(t),!0)},Tn),l.registerCommand(wa,t=>{const n=Tt();return!!Ct(n)&&(n.deleteLine(t),!0)},Tn),l.registerCommand(_a,t=>{const n=Tt();if(!Ct(n))return!1;if(typeof t=="string")n.insertText(t);else{const e=t.dataTransfer;if(e!=null)H1(e,n);else{const a=t.data;a&&n.insertText(a)}}return!0},Tn),l.registerCommand(bf,()=>{const t=Tt();return!!Ct(t)&&(t.removeText(),!0)},Tn),l.registerCommand(va,t=>{const n=Tt();return!!Ct(n)&&(n.insertLineBreak(t),!0)},Tn),l.registerCommand(gl,()=>{const t=Tt();return!!Ct(t)&&(t.insertLineBreak(),!0)},Tn),l.registerCommand(xf,t=>{const n=Tt();if(!Ct(n))return!1;const e=t,a=e.shiftKey;return!!sp(n,!0)&&(e.preventDefault(),ap(n,a,!0),!0)},Tn),l.registerCommand(wf,t=>{const n=Tt();if(!Ct(n))return!1;const e=t,a=e.shiftKey;return!!sp(n,!1)&&(e.preventDefault(),ap(n,a,!1),!0)},Tn),l.registerCommand(Zi,t=>{const n=Tt();return!!Ct(n)&&(t.preventDefault(),l.dispatchCommand(Yi,!0))},Tn),l.registerCommand(Xi,t=>{const n=Tt();return!!Ct(n)&&(t.preventDefault(),l.dispatchCommand(Yi,!1))},Tn),l.registerCommand(Rs,t=>{const n=Tt();if(!Ct(n))return!1;if(t!==null){if((kN||jN||ON)&&CN)return!1;t.preventDefault()}return l.dispatchCommand(va,!1)},Tn),l.registerCommand(Cf,()=>(t_(),!0),Tn),l.registerCommand(zu,t=>{const n=Tt();return!!Ct(n)&&(qw(t,l),!0)},Tn),l.registerCommand(Uu,t=>{const n=Tt();return!!Ct(n)&&(function(e,a){qw(e,a),a.update(()=>{const r=Tt();Ct(r)&&r.removeText()})}(t,l),!0)},Tn),l.registerCommand(ba,t=>{const n=Tt();return!!Ct(n)&&(function(e,a){e.preventDefault(),a.update(()=>{const r=Tt(),{clipboardData:o}=e;o!=null&&Ct(r)&&H1(o,r)},{tag:"paste"})}(t,l),!0)},Tn),l.registerCommand(Ef,t=>{const n=Tt();return!!Ct(n)&&(t.preventDefault(),!0)},Tn),l.registerCommand(tc,t=>{const n=Tt();return!!Ct(n)&&(t.preventDefault(),!0)},Tn))}const hy=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?he.useLayoutEffect:he.useEffect;function Ww(l){return l.getEditorState().read(A1(l.isComposing()))}function Jw({contentEditable:l,placeholder:t,ErrorBoundary:n}){const[e]=xn(),a=function(r,o){const[s,c]=he.useState(()=>r.getDecorators());return hy(()=>r.registerDecoratorListener(i=>{so.flushSync(()=>{c(i)})}),[r]),he.useEffect(()=>{c(r.getDecorators())},[r]),he.useMemo(()=>{const i=[],u=Object.keys(s);for(let d=0;d<u.length;d++){const p=u[d],f=ue.jsx(o,{onError:m=>r._onError(m),children:ue.jsx(he.Suspense,{fallback:null,children:s[p]})}),h=r.getElementByKey(p);h!==null&&i.push(so.createPortal(f,h,p))}return i},[o,s,r])}(e,n);return function(r){hy(()=>wr(NN(r),D1(r)),[r])}(e),ue.jsxs(ue.Fragment,{children:[l,ue.jsx(AN,{content:t}),a]})}function AN({content:l}){const[t]=xn(),n=function(a){const[r,o]=he.useState(()=>Ww(a));return hy(()=>{function s(){const c=Ww(a);o(c)}return s(),wr(a.registerUpdateListener(()=>{s()}),a.registerEditableListener(()=>{s()}))},[a]),r}(t),e=ty();return n?typeof l=="function"?l(e):l:null}var PN={420:(l,t,n)=>{n.r(t),n.d(t,{default:()=>c});let e=()=>{},a=function(){return e};const r=a(),o=a(),s=a(),c={log:r,info:o,warn:a(),debug:s,error:a()}},668:(l,t,n)=>{l.exports=function e(a,r,o){function s(u,d){if(!r[u]){if(!a[u]){var p=void 0;if(!d&&p)return require(u,!0);if(c)return c(u,!0);throw(d=new Error("Cannot find module '"+u+"'")).code="MODULE_NOT_FOUND",d}p=r[u]={exports:{}},a[u][0].call(p.exports,function(f){return s(a[u][1][f]||f)},p,p.exports,e,a,r,o)}return r[u].exports}for(var c=void 0,i=0;i<o.length;i++)s(o[i]);return s}({1:[function(e,a,r){a.exports=function(o,s){(s==null||s>o.length)&&(s=o.length);for(var c=0,i=new Array(s);c<s;c++)i[c]=o[c];return i},a.exports.__esModule=!0,a.exports.default=a.exports},{}],2:[function(e,a,r){a.exports=function(o){if(Array.isArray(o))return o},a.exports.__esModule=!0,a.exports.default=a.exports},{}],3:[function(e,a,r){var o=e("./arrayLikeToArray.js");a.exports=function(s){if(Array.isArray(s))return o(s)},a.exports.__esModule=!0,a.exports.default=a.exports},{"./arrayLikeToArray.js":1}],4:[function(e,a,r){a.exports=function(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o},a.exports.__esModule=!0,a.exports.default=a.exports},{}],5:[function(e,a,r){a.exports=function(o,s){if(!(o instanceof s))throw new TypeError("Cannot call a class as a function")},a.exports.__esModule=!0,a.exports.default=a.exports},{}],6:[function(e,a,r){var o=e("./setPrototypeOf.js"),s=e("./isNativeReflectConstruct.js");function c(i,u,d){return s()?a.exports=c=Reflect.construct.bind():a.exports=c=function(p,f,h){var m=[null];return m.push.apply(m,f),f=new(Function.bind.apply(p,m)),h&&o(f,h.prototype),f},a.exports.__esModule=!0,a.exports.default=a.exports,c.apply(null,arguments)}a.exports=c,a.exports.__esModule=!0,a.exports.default=a.exports},{"./isNativeReflectConstruct.js":13,"./setPrototypeOf.js":19}],7:[function(e,a,r){function o(s,c){for(var i=0;i<c.length;i++){var u=c[i];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(s,u.key,u)}}a.exports=function(s,c,i){return c&&o(s.prototype,c),i&&o(s,i),Object.defineProperty(s,"prototype",{writable:!1}),s},a.exports.__esModule=!0,a.exports.default=a.exports},{}],8:[function(e,a,r){a.exports=function(o,s,c){return s in o?Object.defineProperty(o,s,{value:c,enumerable:!0,configurable:!0,writable:!0}):o[s]=c,o},a.exports.__esModule=!0,a.exports.default=a.exports},{}],9:[function(e,a,r){function o(s){return a.exports=o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(c){return c.__proto__||Object.getPrototypeOf(c)},a.exports.__esModule=!0,a.exports.default=a.exports,o(s)}a.exports=o,a.exports.__esModule=!0,a.exports.default=a.exports},{}],10:[function(e,a,r){var o=e("./setPrototypeOf.js");a.exports=function(s,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function");s.prototype=Object.create(c&&c.prototype,{constructor:{value:s,writable:!0,configurable:!0}}),Object.defineProperty(s,"prototype",{writable:!1}),c&&o(s,c)},a.exports.__esModule=!0,a.exports.default=a.exports},{"./setPrototypeOf.js":19}],11:[function(e,a,r){a.exports=function(o){return o&&o.__esModule?o:{default:o}},a.exports.__esModule=!0,a.exports.default=a.exports},{}],12:[function(e,a,r){a.exports=function(o){return Function.toString.call(o).indexOf("[native code]")!==-1},a.exports.__esModule=!0,a.exports.default=a.exports},{}],13:[function(e,a,r){a.exports=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}},a.exports.__esModule=!0,a.exports.default=a.exports},{}],14:[function(e,a,r){a.exports=function(o){if(typeof Symbol<"u"&&o[Symbol.iterator]!=null||o["@@iterator"]!=null)return Array.from(o)},a.exports.__esModule=!0,a.exports.default=a.exports},{}],15:[function(e,a,r){a.exports=function(o,s){var c=o==null?null:typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(c!=null){var i,u,d=[],p=!0,f=!1;try{for(c=c.call(o);!(p=(i=c.next()).done)&&(d.push(i.value),!s||d.length!==s);p=!0);}catch(h){f=!0,u=h}finally{try{p||c.return==null||c.return()}finally{if(f)throw u}}return d}},a.exports.__esModule=!0,a.exports.default=a.exports},{}],16:[function(e,a,r){a.exports=function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
67
67
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},a.exports.__esModule=!0,a.exports.default=a.exports},{}],17:[function(e,a,r){a.exports=function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
68
68
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},a.exports.__esModule=!0,a.exports.default=a.exports},{}],18:[function(e,a,r){var o=e("./typeof.js").default,s=e("./assertThisInitialized.js");a.exports=function(c,i){if(i&&(o(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return s(c)},a.exports.__esModule=!0,a.exports.default=a.exports},{"./assertThisInitialized.js":4,"./typeof.js":22}],19:[function(e,a,r){function o(s,c){return a.exports=o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,u){return i.__proto__=u,i},a.exports.__esModule=!0,a.exports.default=a.exports,o(s,c)}a.exports=o,a.exports.__esModule=!0,a.exports.default=a.exports},{}],20:[function(e,a,r){var o=e("./arrayWithHoles.js"),s=e("./iterableToArrayLimit.js"),c=e("./unsupportedIterableToArray.js"),i=e("./nonIterableRest.js");a.exports=function(u,d){return o(u)||s(u,d)||c(u,d)||i()},a.exports.__esModule=!0,a.exports.default=a.exports},{"./arrayWithHoles.js":2,"./iterableToArrayLimit.js":15,"./nonIterableRest.js":16,"./unsupportedIterableToArray.js":23}],21:[function(e,a,r){var o=e("./arrayWithoutHoles.js"),s=e("./iterableToArray.js"),c=e("./unsupportedIterableToArray.js"),i=e("./nonIterableSpread.js");a.exports=function(u){return o(u)||s(u)||c(u)||i()},a.exports.__esModule=!0,a.exports.default=a.exports},{"./arrayWithoutHoles.js":3,"./iterableToArray.js":14,"./nonIterableSpread.js":17,"./unsupportedIterableToArray.js":23}],22:[function(e,a,r){function o(s){return a.exports=o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},a.exports.__esModule=!0,a.exports.default=a.exports,o(s)}a.exports=o,a.exports.__esModule=!0,a.exports.default=a.exports},{}],23:[function(e,a,r){var o=e("./arrayLikeToArray.js");a.exports=function(s,c){var i;if(s)return typeof s=="string"?o(s,c):(i=(i=Object.prototype.toString.call(s).slice(8,-1))==="Object"&&s.constructor?s.constructor.name:i)==="Map"||i==="Set"?Array.from(s):i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?o(s,c):void 0},a.exports.__esModule=!0,a.exports.default=a.exports},{"./arrayLikeToArray.js":1}],24:[function(e,a,r){var o=e("./getPrototypeOf.js"),s=e("./setPrototypeOf.js"),c=e("./isNativeFunction.js"),i=e("./construct.js");function u(d){var p=typeof Map=="function"?new Map:void 0;return a.exports=u=function(f){if(f===null||!c(f))return f;if(typeof f!="function")throw new TypeError("Super expression must either be null or a function");if(p!==void 0){if(p.has(f))return p.get(f);p.set(f,h)}function h(){return i(f,arguments,o(this).constructor)}return h.prototype=Object.create(f.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),s(h,f)},a.exports.__esModule=!0,a.exports.default=a.exports,u(d)}a.exports=u,a.exports.__esModule=!0,a.exports.default=a.exports},{"./construct.js":6,"./getPrototypeOf.js":9,"./isNativeFunction.js":12,"./setPrototypeOf.js":19}],25:[function(e,a,r){a.exports=function o(s,c){if(s===c)return!0;if(s&&c&&typeof s=="object"&&typeof c=="object"){if(s.constructor!==c.constructor)return!1;var i,u,d;if(Array.isArray(s)){if((i=s.length)!=c.length)return!1;for(u=i;u--!=0;)if(!o(s[u],c[u]))return!1}else{if(s.constructor===RegExp)return s.source===c.source&&s.flags===c.flags;if(s.valueOf!==Object.prototype.valueOf)return s.valueOf()===c.valueOf();if(s.toString!==Object.prototype.toString)return s.toString()===c.toString();if((i=(d=Object.keys(s)).length)!==Object.keys(c).length)return!1;for(u=i;u--!=0;)if(!Object.prototype.hasOwnProperty.call(c,d[u]))return!1;for(u=i;u--!=0;){var p=d[u];if(!o(s[p],c[p]))return!1}}return!0}return s!=s&&c!=c}},{}],26:[function(e,a,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"v1",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(r,"v3",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(r,"v4",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(r,"v5",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(r,"NIL",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(r,"version",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(r,"validate",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(r,"stringify",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(r,"parse",{enumerable:!0,get:function(){return h.default}});var o=m(e("./v1.js")),s=m(e("./v3.js")),c=m(e("./v4.js")),i=m(e("./v5.js")),u=m(e("./nil.js")),d=m(e("./version.js")),p=m(e("./validate.js")),f=m(e("./stringify.js")),h=m(e("./parse.js"));function m(g){return g&&g.__esModule?g:{default:g}}},{"./nil.js":28,"./parse.js":29,"./stringify.js":33,"./v1.js":34,"./v3.js":35,"./v4.js":37,"./v5.js":38,"./validate.js":39,"./version.js":40}],27:[function(e,a,r){function o(f){return 14+(f+64>>>9<<4)+1}function s(f,h){var m=(65535&f)+(65535&h);return(f>>16)+(h>>16)+(m>>16)<<16|65535&m}function c(f,h,m,g,_,v){return s((h=s(s(h,f),s(g,v)))<<_|h>>>32-_,m)}function i(f,h,m,g,_,v,w){return c(h&m|~h&g,f,h,_,v,w)}function u(f,h,m,g,_,v,w){return c(h&g|m&~g,f,h,_,v,w)}function d(f,h,m,g,_,v,w){return c(h^m^g,f,h,_,v,w)}function p(f,h,m,g,_,v,w){return c(m^(h|~g),f,h,_,v,w)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default=function(f){if(typeof f=="string"){var h=unescape(encodeURIComponent(f));f=new Uint8Array(h.length);for(let S=0;S<h.length;++S)f[S]=h.charCodeAt(S)}var m=((S,E)=>{S[E>>5]|=128<<E%32,S[o(E)-1]=E;let b=1732584193,y=-271733879,x=-1732584194,C=271733878;for(let F=0;F<S.length;F+=16){var T=b,L=y,B=x,D=C;b=i(b,y,x,C,S[F],7,-680876936),C=i(C,b,y,x,S[F+1],12,-389564586),x=i(x,C,b,y,S[F+2],17,606105819),y=i(y,x,C,b,S[F+3],22,-1044525330),b=i(b,y,x,C,S[F+4],7,-176418897),C=i(C,b,y,x,S[F+5],12,1200080426),x=i(x,C,b,y,S[F+6],17,-1473231341),y=i(y,x,C,b,S[F+7],22,-45705983),b=i(b,y,x,C,S[F+8],7,1770035416),C=i(C,b,y,x,S[F+9],12,-1958414417),x=i(x,C,b,y,S[F+10],17,-42063),y=i(y,x,C,b,S[F+11],22,-1990404162),b=i(b,y,x,C,S[F+12],7,1804603682),C=i(C,b,y,x,S[F+13],12,-40341101),x=i(x,C,b,y,S[F+14],17,-1502002290),y=i(y,x,C,b,S[F+15],22,1236535329),b=u(b,y,x,C,S[F+1],5,-165796510),C=u(C,b,y,x,S[F+6],9,-1069501632),x=u(x,C,b,y,S[F+11],14,643717713),y=u(y,x,C,b,S[F],20,-373897302),b=u(b,y,x,C,S[F+5],5,-701558691),C=u(C,b,y,x,S[F+10],9,38016083),x=u(x,C,b,y,S[F+15],14,-660478335),y=u(y,x,C,b,S[F+4],20,-405537848),b=u(b,y,x,C,S[F+9],5,568446438),C=u(C,b,y,x,S[F+14],9,-1019803690),x=u(x,C,b,y,S[F+3],14,-187363961),y=u(y,x,C,b,S[F+8],20,1163531501),b=u(b,y,x,C,S[F+13],5,-1444681467),C=u(C,b,y,x,S[F+2],9,-51403784),x=u(x,C,b,y,S[F+7],14,1735328473),y=u(y,x,C,b,S[F+12],20,-1926607734),b=d(b,y,x,C,S[F+5],4,-378558),C=d(C,b,y,x,S[F+8],11,-2022574463),x=d(x,C,b,y,S[F+11],16,1839030562),y=d(y,x,C,b,S[F+14],23,-35309556),b=d(b,y,x,C,S[F+1],4,-1530992060),C=d(C,b,y,x,S[F+4],11,1272893353),x=d(x,C,b,y,S[F+7],16,-155497632),y=d(y,x,C,b,S[F+10],23,-1094730640),b=d(b,y,x,C,S[F+13],4,681279174),C=d(C,b,y,x,S[F],11,-358537222),x=d(x,C,b,y,S[F+3],16,-722521979),y=d(y,x,C,b,S[F+6],23,76029189),b=d(b,y,x,C,S[F+9],4,-640364487),C=d(C,b,y,x,S[F+12],11,-421815835),x=d(x,C,b,y,S[F+15],16,530742520),y=d(y,x,C,b,S[F+2],23,-995338651),b=p(b,y,x,C,S[F],6,-198630844),C=p(C,b,y,x,S[F+7],10,1126891415),x=p(x,C,b,y,S[F+14],15,-1416354905),y=p(y,x,C,b,S[F+5],21,-57434055),b=p(b,y,x,C,S[F+12],6,1700485571),C=p(C,b,y,x,S[F+3],10,-1894986606),x=p(x,C,b,y,S[F+10],15,-1051523),y=p(y,x,C,b,S[F+1],21,-2054922799),b=p(b,y,x,C,S[F+8],6,1873313359),C=p(C,b,y,x,S[F+15],10,-30611744),x=p(x,C,b,y,S[F+6],15,-1560198380),y=p(y,x,C,b,S[F+13],21,1309151649),b=p(b,y,x,C,S[F+4],6,-145523070),C=p(C,b,y,x,S[F+11],10,-1120210379),x=p(x,C,b,y,S[F+2],15,718787259),y=p(y,x,C,b,S[F+9],21,-343485551),b=s(b,T),y=s(y,L),x=s(x,B),C=s(C,D)}return[b,y,x,C]})((S=>{if(S.length===0)return[];var E=8*S.length,b=new Uint32Array(o(E));for(let y=0;y<E;y+=8)b[y>>5]|=(255&S[y/8])<<y%32;return b})(f),8*f.length),g=[],_=32*m.length,v="0123456789abcdef";for(let S=0;S<_;S+=8){var w=m[S>>5]>>>S%32&255;w=parseInt(v.charAt(w>>>4&15)+v.charAt(15&w),16),g.push(w)}return g}},{}],28:[function(e,a,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default="00000000-0000-0000-0000-000000000000"},{}],29:[function(e,a,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var o=(e=e("./validate.js"))&&e.__esModule?e:{default:e};r.default=function(s){var c,i;if((0,o.default)(s))return(i=new Uint8Array(16))[0]=(c=parseInt(s.slice(0,8),16))>>>24,i[1]=c>>>16&255,i[2]=c>>>8&255,i[3]=255&c,i[4]=(c=parseInt(s.slice(9,13),16))>>>8,i[5]=255&c,i[6]=(c=parseInt(s.slice(14,18),16))>>>8,i[7]=255&c,i[8]=(c=parseInt(s.slice(19,23),16))>>>8,i[9]=255&c,i[10]=(c=parseInt(s.slice(24,36),16))/1099511627776&255,i[11]=c/4294967296&255,i[12]=c>>>24&255,i[13]=c>>>16&255,i[14]=c>>>8&255,i[15]=255&c,i;throw TypeError("Invalid UUID")}},{"./validate.js":39}],30:[function(e,a,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},{}],31:[function(e,a,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){if(!o&&!(o=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return o(s)};let o,s=new Uint8Array(16)},{}],32:[function(e,a,r){function o(s,c){return s<<c|s>>>32-c}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default=function(s){var c=[1518500249,1859775393,2400959708,3395469782],i=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof s=="string"){var u=unescape(encodeURIComponent(s));s=[];for(let _=0;_<u.length;++_)s.push(u.charCodeAt(_))}else Array.isArray(s)||(s=Array.prototype.slice.call(s));s.push(128);var d=s.length/4+2,p=Math.ceil(d/16),f=new Array(p);for(let _=0;_<p;++_){var h=new Uint32Array(16);for(let v=0;v<16;++v)h[v]=s[64*_+4*v]<<24|s[64*_+4*v+1]<<16|s[64*_+4*v+2]<<8|s[64*_+4*v+3];f[_]=h}f[p-1][14]=8*(s.length-1)/Math.pow(2,32),f[p-1][14]=Math.floor(f[p-1][14]),f[p-1][15]=8*(s.length-1)&4294967295;for(let _=0;_<p;++_){var m=new Uint32Array(80);for(let y=0;y<16;++y)m[y]=f[_][y];for(let y=16;y<80;++y)m[y]=o(m[y-3]^m[y-8]^m[y-14]^m[y-16],1);let v=i[0],w=i[1],S=i[2],E=i[3],b=i[4];for(let y=0;y<80;++y){var g=Math.floor(y/20);g=o(v,5)+((x,C,T,L)=>{switch(x){case 0:return C&T^~C&L;case 1:case 3:return C^T^L;case 2:return C&T^C&L^T&L}})(g,w,S,E)+b+c[g]+m[y]>>>0,b=E,E=S,S=o(w,30)>>>0,w=v,v=g}i[0]=i[0]+v>>>0,i[1]=i[1]+w>>>0,i[2]=i[2]+S>>>0,i[3]=i[3]+E>>>0,i[4]=i[4]+b>>>0}return[i[0]>>24&255,i[0]>>16&255,i[0]>>8&255,255&i[0],i[1]>>24&255,i[1]>>16&255,i[1]>>8&255,255&i[1],i[2]>>24&255,i[2]>>16&255,i[2]>>8&255,255&i[2],i[3]>>24&255,i[3]>>16&255,i[3]>>8&255,255&i[3],i[4]>>24&255,i[4]>>16&255,i[4]>>8&255,255&i[4]]}},{}],33:[function(e,a,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var o=(e=e("./validate.js"))&&e.__esModule?e:{default:e};let s=[];for(let c=0;c<256;++c)s.push((c+256).toString(16).substr(1));r.default=function(c){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(c=(s[c[i+0]]+s[c[i+1]]+s[c[i+2]]+s[c[i+3]]+"-"+s[c[i+4]]+s[c[i+5]]+"-"+s[c[i+6]]+s[c[i+7]]+"-"+s[c[i+8]]+s[c[i+9]]+"-"+s[c[i+10]]+s[c[i+11]]+s[c[i+12]]+s[c[i+13]]+s[c[i+14]]+s[c[i+15]]).toLowerCase(),(0,o.default)(c))return c;throw TypeError("Stringified UUID is invalid")}},{"./validate.js":39}],34:[function(e,a,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var o=c(e("./rng.js")),s=c(e("./stringify.js"));function c(f){return f&&f.__esModule?f:{default:f}}let i,u,d=0,p=0;r.default=function(f,h,m){var g=h&&m||0,_=h||new Array(16);let v=(f=f||{}).node||i,w=f.clockseq!==void 0?f.clockseq:u,S=(v!=null&&w!=null||(m=f.random||(f.rng||o.default)(),v==null&&(v=i=[1|m[0],m[1],m[2],m[3],m[4],m[5]]),w==null&&(w=u=16383&(m[6]<<8|m[7]))),m=f.msecs!==void 0?f.msecs:Date.now(),f.nsecs!==void 0?f.nsecs:p+1);var E=m-d+(S-p)/1e4;if(E<0&&f.clockseq===void 0&&(w=w+1&16383),1e4<=(S=(E<0||m>d)&&f.nsecs===void 0?0:S))throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");d=m,p=S,u=w,E=(1e4*(268435455&(m+=122192928e5))+S)%4294967296,_[g++]=E>>>24&255,_[g++]=E>>>16&255,_[g++]=E>>>8&255,_[g++]=255&E,_[g++]=(f=m/4294967296*1e4&268435455)>>>8&255,_[g++]=255&f,_[g++]=f>>>24&15|16,_[g++]=f>>>16&255,_[g++]=w>>>8|128,_[g++]=255&w;for(let b=0;b<6;++b)_[g+b]=v[b];return h||(0,s.default)(_)}},{"./rng.js":31,"./stringify.js":33}],35:[function(e,a,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var o=s(e("./v35.js"));function s(c){return c&&c.__esModule?c:{default:c}}e=s(e("./md5.js")),o=(0,o.default)("v3",48,e.default),r.default=o},{"./md5.js":27,"./v35.js":36}],36:[function(e,a,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(d,p,f){function h(m,g,_,v){if(typeof m=="string"&&(m=(S=>{S=unescape(encodeURIComponent(S));var E=[];for(let b=0;b<S.length;++b)E.push(S.charCodeAt(b));return E})(m)),(g=typeof g=="string"?(0,s.default)(g):g).length!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let w=new Uint8Array(16+m.length);if(w.set(g),w.set(m,g.length),(w=f(w))[6]=15&w[6]|p,w[8]=63&w[8]|128,_){v=v||0;for(let S=0;S<16;++S)_[v+S]=w[S];return _}return(0,o.default)(w)}try{h.name=d}catch{}return h.DNS=i,h.URL=u,h},r.URL=r.DNS=void 0;var o=c(e("./stringify.js")),s=c(e("./parse.js"));function c(d){return d&&d.__esModule?d:{default:d}}let i="6ba7b810-9dad-11d1-80b4-00c04fd430c8",u=(r.DNS=i,"6ba7b811-9dad-11d1-80b4-00c04fd430c8");r.URL=u},{"./parse.js":29,"./stringify.js":33}],37:[function(e,a,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var o=c(e("./rng.js")),s=c(e("./stringify.js"));function c(i){return i&&i.__esModule?i:{default:i}}r.default=function(i,u,d){var p=(i=i||{}).random||(i.rng||o.default)();if(p[6]=15&p[6]|64,p[8]=63&p[8]|128,u){d=d||0;for(let f=0;f<16;++f)u[d+f]=p[f];return u}return(0,s.default)(p)}},{"./rng.js":31,"./stringify.js":33}],38:[function(e,a,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var o=s(e("./v35.js"));function s(c){return c&&c.__esModule?c:{default:c}}e=s(e("./sha1.js")),o=(0,o.default)("v5",80,e.default),r.default=o},{"./sha1.js":32,"./v35.js":36}],39:[function(e,a,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var o=(e=e("./regex.js"))&&e.__esModule?e:{default:e};r.default=function(s){return typeof s=="string"&&o.default.test(s)}},{"./regex.js":30}],40:[function(e,a,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var o=(e=e("./validate.js"))&&e.__esModule?e:{default:e};r.default=function(s){if((0,o.default)(s))return parseInt(s.substr(14,1),16);throw TypeError("Invalid UUID")}},{"./validate.js":39}],41:[function(e,a,r){var o=(c=e("@babel/runtime/helpers/interopRequireDefault"))(e("@babel/runtime/helpers/toConsumableArray")),s=c(e("@babel/runtime/helpers/classCallCheck")),c=c(e("@babel/runtime/helpers/createClass")),i=(S=e("./logger")).log4,u=(S=e("./type")).isRealObject,d=S.isObjectId,p=S.isDefined,f=S.isPrimitiveArray,h=S.getType,m=e("./configDepUtils"),g=(S=e("./utils")).deLabel,_=S.equal,v=e("./path").samePath,w=e("./errors").OperationError,S=(0,c.default)(function E(b){(0,s.default)(this,E),this._config=b,this._utils=new m(b)},[{key:"isMatchingObjects",value:function(E,b,y){return b=(E=this._utils.getObjectIdentifiers({input:E,output:b,path:y})).inputId,y=E.outputId,E=E.sameId,d(b)&&d(y)&&E}},{key:"haveObjectIds",value:function(E,b,y){return!!(E.li&&b.ld||E.ld&&b.li)&&(!!(Array.isArray(E.ld)&&Array.isArray(b.li)||Array.isArray(b.ld)&&Array.isArray(E.li))||(E=this._utils.getOpTargetObject(E),b=this._utils.getOpTargetObject(b),b=(E=this._utils.getObjectIdentifiers({input:E,output:b,path:y})).inputId,y=E.outputId,d(b)&&d(y)))}},{key:"isMatchingOpPair",value:function(E,b,y){return!!((E.li&&b.ld||E.ld&&b.li)&&(Array.isArray(E.ld)&&Array.isArray(b.li)&&this.sameTargetArray(E.ld,b.li)||Array.isArray(b.ld)&&Array.isArray(E.li)&&this.sameTargetArray(b.ld,E.li)||this.isMatchingObjects(this._utils.getOpTargetObject(E),this._utils.getOpTargetObject(b),y)))}},{key:"isObjReplace",value:function(E,b){return!(!E||!b||E.oi!=null||E.od===void 0||b.od!=null||b.oi===void 0||!v(E.p,b.p))}},{key:"isReplace",value:function(E,b){return!(!E||!b||!((E.li&&b.ld||E.ld&&b.li)&&v(E.p,b.p)&&this.haveObjectIds(E,b,E.p)))}},{key:"isMove",value:function(E,b){return!(!E||!b||v(E.p,b.p)||!this.isMatchingOpPair(E,b,E.p))}},{key:"isIdentity",value:function(E,b){return i("isIdentity",E,b,!0),!(!E||!b)&&v(E.p,b.p)&&this.isMatchingOpPair(E,b,E.p)}},{key:"arrayDiff",value:function(E,b){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:[],x=3<arguments.length?arguments[3]:void 0;if(i("Start performing arrayDiff: beforeState = ",E,!0),i("Start performing arrayDiff: afterState",b,!0),!Array.isArray(E))throw new w("beforeState snapshot is not an array");if(!Array.isArray(b))throw new w("afterState snapshot is not an array");var C=[],T=0,L=0,B=0,D=0;for(T=0,L=0;L<b.length&&T<E.length;T++){i("arrayDiff: loop at",{i:T,j:L},!0);var F,O=E[T],j=T-B;j=[].concat((0,o.default)(y),[j]),this.isMatchingObjects(E[T],b[L],y)?(F=x(O,b[L],j),i("arrayDiff: same target object (id) -> recursively diff result = ",{r:F},!0),C=C.concat(F),L++):(F={p:j,ld:g(O)},C.push(F),i("arrayDiff: different target object (id) -> create a ld op = ",{op:F,i:T,dCount:++B},!0))}for(var P=T;P<E.length;P++){var R=E[P],N=P-B;N={p:[].concat((0,o.default)(y),[N]),ld:g(R)},C.push(N),i("arrayDiff: handle beforeState tail, create a ld op",{op:N,pos:P},!0),B++}for(var U=L;U<b.length;U++){var M=b[U],z=U;z={p:[].concat((0,o.default)(y),[z]),li:g(M)},C.push(z),i("arrayDiff: handle afterState tail, create a li op",{op:z,pos:U},!0),D++}return{ops:C,dCount:B,iCount:D}}},{key:"arrayOfArrayDiff",value:function(){var E,b,y=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{},x=y.before,C=y.after,T=y.path,L=y.commonHeaderLen,B=y.diff,D=y.isObjectArray,F=y.isInternal,O=[],j=0,P=0,R=0;for(j=0,P=0;P<C.length&&j<x.length;j++)!D&&(this.sameTargetArray(x[j],C[P])||f(x[j])&&f(C[P])||h(x[j])=="array"&&h(C[P]=="array"))||D&&this.isMatchingObjects(x[j],C[P],T)?(i(`
|
|
69
69
|
arrayOfArrayDiff: the same array -> recursive invocation of diff: i = `+j+"; j = "+P),i("before[i] = ",x[j]),i("after[j] = ",C[P]),E=B(x[j],C[P],[].concat((0,o.default)(T),[j+L-R]),F),O=O.concat(E),i("arrayOfArrayDiff: the same array -> recursively generate r = ",E),i("arrayOfArrayDiff: the same array -> ops = ",O),P++):(E=j-R+L,b={p:[].concat((0,o.default)(T),[E]),ld:x[j]},O.push(b),i(`
|
|
@@ -1539,7 +1539,7 @@ Valid keys: `+JSON.stringify(Object.keys(U),null," "));var Y=Q(W,Z,K,A,q+"."+Z,
|
|
|
1539
1539
|
.reference-tooltip:hover {
|
|
1540
1540
|
background-color: #f8f9fa;
|
|
1541
1541
|
}
|
|
1542
|
-
`,document.head.appendChild(e),()=>{document.removeEventListener("click",t),n()}},[l]),he.useEffect(()=>{const t=()=>{document.querySelectorAll("[data-cross-ref]").forEach(a=>{const r=a.getAttribute("id");if(r){const o=document.querySelector(`[data-ref-id="ref-${r}"]`);if(o){const s=o.textContent||"";a.textContent!==s&&(a.textContent=s)}}})},n=l.registerUpdateListener(()=>{t()});return()=>{n()}},[l]),null},s5="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzODQgNTEyIj48IS0tIUZvbnQgQXdlc29tZSBGcmVlIDYuNy4yIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlL2ZyZWUgQ29weXJpZ2h0IDIwMjUgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZmlsbD0iI2ZmZmZmZiIgZD0iTTIxNC42IDQxLjRjLTEyLjUtMTIuNS0zMi44LTEyLjUtNDUuMyAwbC0xNjAgMTYwYy0xMi41IDEyLjUtMTIuNSAzMi44IDAgNDUuM3MzMi44IDEyLjUgNDUuMyAwTDE2MCAxNDEuMiAxNjAgNDQ4YzAgMTcuNyAxNC4zIDMyIDMyIDMyczMyLTE0LjMgMzItMzJsMC0zMDYuN0wzMjkuNCAyNDYuNmMxMi41IDEyLjUgMzIuOCAxMi41IDQ1LjMgMHMxMi41LTMyLjggMC00NS4zbC0xNjAtMTYweiIvPjwvc3ZnPg==",a5="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzODQgNTEyIj48IS0tIUZvbnQgQXdlc29tZSBGcmVlIDYuNy4yIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlL2ZyZWUgQ29weXJpZ2h0IDIwMjUgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZmlsbD0iI2ZmZmZmZiIgZD0iTTE2OS40IDQ3MC42YzEyLjUgMTIuNSAzMi44IDEyLjUgNDUuMyAwbDE2MC0xNjBjMTIuNS0xMi41IDEyLjUtMzIuOCAwLTQ1LjNzLTMyLjgtMTIuNS00NS4zIDBMMjI0IDM3MC44IDIyNCA2NGMwLTE3LjctMTQuMy0zMi0zMi0zMnMtMzIgMTQuMy0zMiAzMmwwIDMwNi43TDU0LjYgMjY1LjRjLTEyLjUtMTIuNS0zMi44LTEyLjUtNDUuMyAwcy0xMi41IDMyLjggMCA0NS4zbDE2MCAxNjB6Ii8+PC9zdmc+",l5="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzODQgNTEyIj48IS0tIUZvbnQgQXdlc29tZSBGcmVlIDYuNy4yIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlL2ZyZWUgQ29weXJpZ2h0IDIwMjUgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZmlsbD0iI2ZmZmZmZiIgZD0iTTM0Mi42IDE1MC42YzEyLjUtMTIuNSAxMi41LTMyLjggMC00NS4zcy0zMi44LTEyLjUtNDUuMyAwTDE5MiAyMTAuNyA4Ni42IDEwNS40Yy0xMi41LTEyLjUtMzIuOC0xMi41LTQ1LjMgMHMtMTIuNSAzMi44IDAgNDUuM0wxNDYuNyAyNTYgNDEuNCAzNjEuNGMtMTIuNSAxMi41LTEyLjUgMzIuOCAwIDQ1LjNzMzIuOCAxMi41IDQ1LjMgMEwxOTIgMzAxLjMgMjk3LjQgNDA2LjZjMTIuNSAxMi41IDMyLjggMTIuNSA0NS4zIDBzMTIuNS0zMi44IDAtNDUuM0wyMzcuMyAyNTYgMzQyLjYgMTUwLjZ6Ii8+PC9zdmc+",c5="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMjAgNTEyIj48IS0tIUZvbnQgQXdlc29tZSBGcmVlIDYuNy4yIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlL2ZyZWUgQ29weXJpZ2h0IDIwMjUgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZmlsbD0iI2ZmZmZmZiIgZD0iTTMxMC42IDIzMy40YzEyLjUgMTIuNSAxMi41IDMyLjggMCA0NS4zbC0xOTIgMTkyYy0xMi41IDEyLjUtMzIuOCAxMi41LTQ1LjMgMHMtMTIuNS0zMi44IDAtNDUuM0wyNDIuNyAyNTYgNzMuNCA4Ni42Yy0xMi41LTEyLjUtMTIuNS0zMi44IDAtNDUuM3MzMi44LTEyLjUgNDUuMyAwbDE5MiAxOTJ6Ii8+PC9zdmc+",u5="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48IS0tIUZvbnQgQXdlc29tZSBGcmVlIDYuNy4yIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlL2ZyZWUgQ29weXJpZ2h0IDIwMjUgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZmlsbD0iI2ZmZmZmZiIgZD0iTTIzMy40IDQwNi42YzEyLjUgMTIuNSAzMi44IDEyLjUgNDUuMyAwbDE5Mi0xOTJjMTIuNS0xMi41IDEyLjUtMzIuOCAwLTQ1LjNzLTMyLjgtMTIuNS00NS4zIDBMMjU2IDMzOC43IDg2LjYgMTY5LjRjLTEyLjUtMTIuNS0zMi44LTEyLjUtNDUuMyAwcy0xMi41IDMyLjggMCA0NS4zbDE5MiAxOTJ6Ii8+PC9zdmc+",d5="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IS0tIFVwbG9hZGVkIHRvOiBTVkcgUmVwbywgd3d3LnN2Z3JlcG8uY29tLCBHZW5lcmF0b3I6IFNWRyBSZXBvIE1peGVyIFRvb2xzIC0tPg0KPHN2ZyB3aWR0aD0iODAwcHgiIGhlaWdodD0iODAwcHgiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBmaWxsPSIjZmZmIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTMuMjIxIDMuNzM5bDIuMjYxIDIuMjY5TDcuNyAzLjc4NGwtLjctLjctMS4wMTIgMS4wMDctLjAwOC0xLjZhLjUyMy41MjMgMCAwIDEgLjUtLjUyNkg4VjFINi40OEExLjQ4MiAxLjQ4MiAwIDAgMCA1IDIuNDg5VjQuMUwzLjkyNyAzLjAzM2wtLjcwNi43MDZ6bTYuNjcgMS43OTRoLjAxYy4xODMuMzExLjQ1MS40NjcuODA2LjQ2Ny4zOTMgMCAuNzA2LS4xNjguOTQtLjUwMy4yMzYtLjMzNS4zNTMtLjc4LjM1My0xLjMzMyAwLS41MTEtLjEtLjkxMy0uMzAxLTEuMjA3LS4yMDEtLjI5NS0uNDg4LS40NDItLjg2LS40NDItLjQwNSAwLS43MTguMTk0LS45MzguNTgxaC0uMDFWMUg5djQuOTE5aC44OXYtLjM4NnptLS4wMTUtMS4wNjF2LS4zNGMwLS4yNDguMDU4LS40NDguMTc1LS42MDFhLjU0LjU0IDAgMCAxIC40NDUtLjIzLjQ5LjQ5IDAgMCAxIC40MzYuMjMzYy4xMDQuMTU0LjE1NS4zNjguMTU1LjY0MyAwIC4zMy0uMDU2LjU4Ny0uMTY5Ljc2OGEuNTI0LjUyNCAwIDAgMS0uNDcuMjcuNDk1LjQ5NSAwIDAgMS0uNDExLS4yMTEuODUzLjg1MyAwIDAgMS0uMTYtLjUzMnpNOSAxMi43NjljLS4yNTYuMTU0LS42MjUuMjMxLTEuMTA4LjIzMS0uNTYzIDAtMS4wMi0uMTc4LTEuMzY5LS41MzMtLjM0OS0uMzU1LS41MjMtLjgxMy0uNTIzLTEuMzc0IDAtLjY0OC4xODYtMS4xNTguNTYtMS41My4zNzQtLjM3Ni44NzUtLjU2MyAxLjUtLjU2My40MzMgMCAuNzQ2LjA2Ljk0LjE3OXYuOTk4YTEuMjYgMS4yNiAwIDAgMC0uNzkyLS4yNzZjLS4zMjUgMC0uNTgzLjEtLjc3NC4yOTgtLjE5LjE5Ni0uMjgzLjQ2OC0uMjgzLjgxNiAwIC4zMzguMDkuNjAzLjI3Mi43OTcuMTgyLjE5MS40MzEuMjg3Ljc0OS4yODcuMjgyIDAgLjU1OC0uMDkyLjgyOC0uMjc2di45NDZ6TTQgN0wzIDh2NmwxIDFoN2wxLTFWOGwtMS0xSDR6bTAgMWg3djZINFY4eiIvPjwvc3ZnPg==",f5="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IS0tIFVwbG9hZGVkIHRvOiBTVkcgUmVwbywgd3d3LnN2Z3JlcG8uY29tLCBHZW5lcmF0b3I6IFNWRyBSZXBvIE1peGVyIFRvb2xzIC0tPg0KPHN2ZyB3aWR0aD0iODAwcHgiIGhlaWdodD0iODAwcHgiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBmaWxsPSIjZmZmIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTExLjYgMi42NzdjLjE0Ny0uMzEuMzU2LS40NjUuNjI2LS40NjUuMjQ4IDAgLjQ0LjExOC41NzMuMzUzLjEzNC4yMzYuMjAxLjU1Ny4yMDEuOTY2IDAgLjQ0My0uMDc4Ljc5OC0uMjM1IDEuMDY3LS4xNTYuMjY4LS4zNjUuNDAyLS42MjcuNDAyLS4yMzcgMC0uNDE2LS4xMjUtLjUzNy0uMzc0aC0uMDA4di4zMUgxMVYxaC41OTN2MS42NzdoLjAwOHptLS4wMTYgMS4xYS43OC43OCAwIDAgMCAuMTA3LjQyNmMuMDcxLjExMy4xNjMuMTY5LjI3NC4xNjkuMTM2IDAgLjI0LS4wNzIuMzE0LS4yMTYuMDc1LS4xNDUuMTEzLS4zNS4xMTMtLjYxNSAwLS4yMi0uMDM1LS4zOS0uMTA0LS41MTQtLjA2Ny0uMTI0LS4xNjQtLjE4Ny0uMjktLjE4Ny0uMTIgMC0uMjE5LjA2Mi0uMjk3LjE4NWEuODg2Ljg4NiAwIDAgMC0uMTE3LjQ4di4yNzJ6TTQuMTIgNy42OTVMMiA1LjU2OGwuNjYyLS42NjIgMS4wMDYgMXYtMS41MUExLjM5IDEuMzkgMCAwIDEgNS4wNTUgM0g3LjR2LjkwNUg1LjA1NWEuNDkuNDkgMCAwIDAtLjQ2OC40OTNsLjAwNyAxLjUuOTQ5LS45NDQuNjU2LjY1Ni0yLjA4IDIuMDg1ek05LjM1NiA0LjkzSDEwVjMuMjJDMTAgMi40MDggOS42ODUgMiA5LjA1NiAyYy0uMTM1IDAtLjI4NS4wMjQtLjQ1LjA3M2ExLjQ0NCAxLjQ0NCAwIDAgMC0uMzg4LjE2N3YuNjY1Yy4yMzctLjIwMy40ODctLjMwNC43NS0uMzA0LjI2MSAwIC4zOTIuMTU2LjM5Mi40NjlsLS42LjEwM2MtLjUwNi4wODYtLjc2LjQwNi0uNzYuOTYxIDAgLjI2My4wNjEuNDczLjE4My42MzFBLjYxLjYxIDAgMCAwIDguNjkgNWMuMjkgMCAuNTA5LS4xNi42NTctLjQ4aC4wMDl2LjQxem0uMDA0LTEuMzU1di4xOTNhLjc1Ljc1IDAgMCAxLS4xMi40MzYuMzY4LjM2OCAwIDAgMS0uMzEzLjE3LjI3Ni4yNzYgMCAwIDEtLjIyLS4wOTUuMzguMzggMCAwIDEtLjA4LS4yNDhjMC0uMjIyLjExLS4zNTEuMzMyLS4zODlsLjQtLjA2N3pNNyAxMi45M2gtLjY0NHYtLjQxaC0uMDA5Yy0uMTQ4LjMyLS4zNjcuNDgtLjY1Ny40OGEuNjEuNjEgMCAwIDEtLjUwNy0uMjM1Yy0uMTIyLS4xNTgtLjE4My0uMzY4LS4xODMtLjYzIDAtLjU1Ni4yNTQtLjg3Ni43Ni0uOTYybC42LS4xMDNjMC0uMzEzLS4xMy0uNDctLjM5Mi0uNDctLjI2MyAwLS41MTMuMTAyLS43NS4zMDV2LS42NjVjLjA5NS0uMDYzLjIyNC0uMTE5LjM4OC0uMTY3LjE2NS0uMDQ5LjMxNS0uMDczLjQ1LS4wNzMuNjMgMCAuOTQ0LjQwNy45NDQgMS4yMnYxLjcxem0tLjY0LTEuMTYydi0uMTkzbC0uNC4wNjhjLS4yMjIuMDM3LS4zMzMuMTY2LS4zMzMuMzg4IDAgLjEuMDI3LjE4My4wOC4yNDhhLjI3Ni4yNzYgMCAwIDAgLjIyLjA5NS4zNjguMzY4IDAgMCAwIC4zMTItLjE3Yy4wOC0uMTE2LjEyLS4yNi4xMi0uNDM2ek05LjI2MiAxM2MuMzIxIDAgLjU2OC0uMDU4LjczOC0uMTczdi0uNzFhLjkuOSAwIDAgMS0uNTUyLjIwNy42MTkuNjE5IDAgMCAxLS41LS4yMTVjLS4xMi0uMTQ1LS4xODEtLjM0NS0uMTgxLS41OTggMC0uMjYuMDYzLS40NjQuMTg5LS42MTJhLjY0NC42NDQgMCAwIDEgLjUxNi0uMjIzYy4xOTQgMCAuMzcuMDY5LjUyOC4yMDd2LS43NDljLS4xMjktLjA5LS4zMzgtLjEzNC0uNjI2LS4xMzQtLjQxNyAwLS43NTEuMTQtMS4wMDEuNDIyLS4yNDkuMjgtLjM3My42NjItLjM3MyAxLjE0OCAwIC40Mi4xMTYuNzY0LjM0OSAxLjAzLjIzMi4yNjcuNTM3LjQuOTEzLjR6TTIgOWwxLTFoOWwxIDF2NWwtMSAxSDNsLTEtMVY5em0xIDB2NWg5VjlIM3ptMy0ybDEtMWg3bDEgMXY1bC0xIDFWN0g2eiIvPjwvc3ZnPg==",gR="",p5=({handleClose:l,searchText:t,setSearchText:n,replaceText:e,setReplaceText:a,handleReplaceAll:r,handleReplace:o,handleNextMatch:s,handlePreviousMatch:c,matchesCount:i,currentMatchIndex:u,searchInputRef:d,replaceInputRef:p,ReplaceBoxOpen:f,setReplaceBoxOpen:h})=>ue.jsx("div",{className:"search-and-replace-modal-overlay modal-overlay",children:ue.jsxs("div",{className:"search-and-replace-modal-content modal-content",children:[ue.jsx("div",{className:"search-and-replace-search-section search-section",children:ue.jsxs("div",{className:"search-and-replace-search-header search-header",children:[ue.jsx("img",{className:`search-and-replace-${f?"chevronDownIcon":"chevronRightIcon"}`,width:20,height:20,src:f?u5:c5,alt:"",onClick:()=>h(!f)}),ue.jsx("span",{children:"Find"}),ue.jsxs("div",{className:"search-and-replace-search-controls search-controls",children:[ue.jsx("input",{autoFocus:!0,type:"text",value:t,onChange:m=>n(m.target.value),className:"search-and-replace-search-input search-input",placeholder:"Search",ref:d}),i===0?ue.jsx("span",{className:"search-and-replace-no-results",children:"No results"}):ue.jsxs("span",{className:"search-and-replace-results-count",children:[u+1," of ",i]}),ue.jsx("button",{className:"search-and-replace-control-btn control-btn",onClick:c,children:ue.jsx("img",{className:"search-and-replace-upArrowIcon upArrowIcon",src:s5,alt:""})}),ue.jsx("button",{className:"search-and-replace-control-btn control-btn",onClick:s,children:ue.jsx("img",{className:"search-and-replace-downArrowIcon downArrowIcon",src:a5,alt:""})}),ue.jsx("button",{className:"search-and-replace-control-btn control-btn close",onClick:l,children:ue.jsx("img",{className:"search-and-replace-downArrowIcon downArrowIcon downArrowIcon",src:l5,alt:""})})]})]})}),f&&ue.jsx("div",{className:"search-and-replace-replace-section replace-section",children:ue.jsxs("div",{className:"search-and-replace-replace-header replace-header",children:[ue.jsx("span",{children:"Replace"}),ue.jsxs("div",{className:"search-and-replace-replace-controls replace-controls",children:[ue.jsx("input",{type:"text",value:e,onChange:m=>a(m.target.value),className:"search-and-replace-replace-input replace-input",placeholder:"Replace",ref:p}),ue.jsx("button",{className:"search-and-replace-control-btn control-btn",onClick:o,children:ue.jsx("img",{width:25,height:22,src:d5,alt:""})}),ue.jsx("button",{className:"search-and-replace-control-btn control-btn",onClick:r,children:ue.jsx("img",{width:25,height:22,src:f5,alt:""})})]})]})})]})});function h5({editor:l,matches:t,currentMatchIndex:n}){const[e,a]=he.useState([]);return he.useEffect(()=>{const r=[];t.forEach((o,s)=>{const c=l.getElementByKey(o.key);if(c&&c.firstChild){const i=c.firstChild;if(i.nodeType===Node.TEXT_NODE){const u=i.textContent||"",d=Math.min(o.start,u.length),p=Math.min(o.end,u.length),f=document.createRange();try{f.setStart(i,d),f.setEnd(i,p)}catch(g){console.error("Error setting range:",g);return}const h=f.getBoundingClientRect(),m=l.getRootElement();if(m){const g=m.getBoundingClientRect();r.push({key:`${o.key}-${o.start}`,top:h.top-g.top,left:h.left-g.left,width:h.width,height:h.height,isSelected:s===n})}}}}),a(r)},[t,n,l]),ue.jsx("div",{className:"search-highlight-container",style:{position:"absolute",top:0,left:0,pointerEvents:"none",width:"100%",height:"100%"},children:e.map(r=>ue.jsx("div",{className:"search-highlight",style:{position:"absolute",top:r.top,left:r.left,width:r.width,height:r.height,backgroundColor:r.isSelected?"orange":"yellow",opacity:r.isSelected?.7:.4,pointerEvents:"none"}},r.key))})}function PS(){const[l]=xn(),[t,n]=he.useState(!1),[e,a]=he.useState(""),[r,o]=he.useState(""),[s,c]=he.useState([]),[i,u]=he.useState(-1),d=he.useRef(null),p=he.useRef(null),[f,h]=he.useState(!1);he.useEffect(()=>{d&&d.current&&d.current.focus()},[]);function m(C){let T=[];return C instanceof no&&T.push(C),C.getChildren&&typeof C.getChildren=="function"&&C.getChildren().forEach(L=>{T=T.concat(m(L))}),T}const g=he.useCallback(()=>{if(!t||e===""){c([]),u(-1);return}l.getEditorState().read(()=>{const C=zn(),T=m(C),L=[],B=e.toLowerCase();T.forEach(D=>{const O=D.getTextContent().toLowerCase();let j=0;for(;j<O.length;){const P=O.indexOf(B,j);if(P===-1)break;L.push({key:D.getKey(),start:P,end:P+e.length}),j=P+1}}),c(L),u(L.length>0?0:-1)})},[t,e,l]),_=()=>{n(!1)},v=C=>{if(C.getTextContent&&typeof C.getTextContent=="function"){const T=C.getTextContent();if(T&&e!==""&&T.toLowerCase().includes(e.toLowerCase())){const L=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),B=new RegExp(L,"gi"),D=T.replace(B,r);C.setTextContent&&C.setTextContent(D)}}C.getChildren&&typeof C.getChildren=="function"&&C.getChildren().forEach(T=>v(T))},w=()=>{l.update(()=>{const C=zn();v(C)}),setTimeout(()=>{g()},0)},S=()=>{l.update(()=>{const C=s[i];if(C){const T=Bn(C.key);if(T&&T instanceof no){const L=T.getTextContent();E(i);const B=L.slice(0,C.start)+r+L.slice(C.end);T.setTextContent(B)}}}),setTimeout(()=>{g()},0)};he.useEffect(()=>{g()},[g]);const E=he.useCallback(C=>{if(s.length===0)return;const T=s[C];l.getEditorState().read(()=>{const L=Bn(T.key);if(L&&L instanceof no){const B=l.getElementByKey(L.getKey());B&&B.scrollIntoView({behavior:"smooth",block:"center"})}})},[s,l]),b=he.useCallback(()=>{if(s.length===0)return;const C=(i+1)%s.length;u(C),E(C)},[i,s,E]),y=he.useCallback(()=>{if(s.length===0)return;const C=(i-1+s.length)%s.length;u(C),E(C)},[i,s,E]),x=he.useCallback(C=>{if((C.ctrlKey||C.metaKey)&&C.key==="f"){if(!l.getRootElement().contains(document.activeElement))return;C.preventDefault(),l.getEditorState().read(()=>{const L=Tt();if(Ct(L)){const B=L.getTextContent();a(B)}}),n(!0)}C.key==="Enter"&&d.current===document.activeElement&&(C.preventDefault(),b())},[l,b]);return he.useEffect(()=>(document.addEventListener("keydown",x),()=>document.removeEventListener("keydown",x)),[x]),he.useEffect(()=>{if(t){const C=l==null?void 0:l.registerUpdateListener(()=>{g()});return()=>{C()}}},[l,t,g]),ue.jsxs(ue.Fragment,{children:[t&&ue.jsx(p5,{handleReplace:S,handleClose:_,handleReplaceAll:w,searchText:e,setSearchText:a,replaceText:r,setReplaceText:o,handleNextMatch:b,handlePreviousMatch:y,matchesCount:s.length,currentMatchIndex:i,searchInputRef:d,replaceInputRef:p,ReplaceBoxOpen:f,setReplaceBoxOpen:h}),ue.jsx(h5,{editor:l,matches:s,currentMatchIndex:i})]})}const mR="";function g5({editorRef:l}){const[t]=xn();return sr.useEffect(()=>{typeof l=="function"?l(t):typeof l=="object"&&(l.current=t)},[t]),null}const Ss=()=>new Map,$y=l=>{const t=Ss();return l.forEach((n,e)=>{t.set(e,n)}),t},Zc=(l,t,n)=>{let e=l.get(t);return e===void 0&&l.set(t,e=n()),e},m5=(l,t)=>{const n=[];for(const[e,a]of l)n.push(t(a,e));return n},y5=(l,t)=>{for(const[n,e]of l)if(t(e,n))return!0;return!1},Xc=()=>new Set,qy=l=>l[l.length-1],Qc=Array.from,v5=Array.isArray;class _5{constructor(){this._observers=Ss()}on(t,n){return Zc(this._observers,t,Xc).add(n),n}once(t,n){const e=(...a)=>{this.off(t,e),n(...a)};this.on(t,e)}off(t,n){const e=this._observers.get(t);e!==void 0&&(e.delete(n),e.size===0&&this._observers.delete(t))}emit(t,n){return Qc((this._observers.get(t)||Ss()).values()).forEach(e=>e(...n))}destroy(){this._observers=Ss()}}const Ll=Math.floor,ph=Math.abs,IS=(l,t)=>l<t?l:t,eu=(l,t)=>l>t?l:t,b5=l=>l!==0?l<0:1/l<0,MS=1,DS=2,Wy=4,Jy=8,w5=32,RS=64,hh=128,x5=31,LS=63,Rd=127,S5=2147483647,E5=Number.isInteger||(l=>typeof l=="number"&&isFinite(l)&&Ll(l)===l),C5=l=>l.toLowerCase(),j5=/^\s*/g,k5=l=>l.replace(j5,""),T5=/([A-Z])/g,FS=(l,t)=>k5(l.replace(T5,n=>`${t}${C5(n)}`)),O5=l=>{const t=unescape(encodeURIComponent(l)),n=t.length,e=new Uint8Array(n);for(let a=0;a<n;a++)e[a]=t.codePointAt(a);return e},Ld=typeof TextEncoder<"u"?new TextEncoder:null,N5=Ld?l=>Ld.encode(l):O5;let Vy=typeof TextDecoder>"u"?null:new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0});Vy&&Vy.decode(new Uint8Array).length===1&&(Vy=null);class Fd{constructor(){this.cpos=0,this.cbuf=new Uint8Array(100),this.bufs=[]}}const Ky=()=>new Fd,A5=l=>{let t=l.cpos;for(let n=0;n<l.bufs.length;n++)t+=l.bufs[n].length;return t},ea=l=>{const t=new Uint8Array(A5(l));let n=0;for(let e=0;e<l.bufs.length;e++){const a=l.bufs[e];t.set(a,n),n+=a.length}return t.set(new Uint8Array(l.cbuf.buffer,0,l.cpos),n),t},P5=(l,t)=>{const n=l.cbuf.length;n-l.cpos<t&&(l.bufs.push(new Uint8Array(l.cbuf.buffer,0,l.cpos)),l.cbuf=new Uint8Array(eu(n,t)*2),l.cpos=0)},xo=(l,t)=>{const n=l.cbuf.length;l.cpos===n&&(l.bufs.push(l.cbuf),l.cbuf=new Uint8Array(n*2),l.cpos=0),l.cbuf[l.cpos++]=t},Gy=xo,Or=(l,t)=>{for(;t>Rd;)xo(l,hh|Rd&t),t=Ll(t/128);xo(l,Rd&t)},Yy=(l,t)=>{const n=b5(t);for(n&&(t=-t),xo(l,(t>LS?hh:0)|(n?RS:0)|LS&t),t=Ll(t/64);t>0;)xo(l,(t>Rd?hh:0)|Rd&t),t=Ll(t/128)},Zy=new Uint8Array(3e4),I5=Zy.length/3,M5=(l,t)=>{if(t.length<I5){const n=Ld.encodeInto(t,Zy).written||0;Or(l,n);for(let e=0;e<n;e++)xo(l,Zy[e])}else Si(l,N5(t))},D5=(l,t)=>{const n=unescape(encodeURIComponent(t)),e=n.length;Or(l,e);for(let a=0;a<e;a++)xo(l,n.codePointAt(a))},tu=Ld&&Ld.encodeInto?M5:D5,Xy=(l,t)=>{const n=l.cbuf.length,e=l.cpos,a=IS(n-e,t.length),r=t.length-a;l.cbuf.set(t.subarray(0,a),e),l.cpos+=a,r>0&&(l.bufs.push(l.cbuf),l.cbuf=new Uint8Array(eu(n*2,r)),l.cbuf.set(t.subarray(a)),l.cpos=r)},Si=(l,t)=>{Or(l,t.byteLength),Xy(l,t)},Qy=(l,t)=>{P5(l,t);const n=new DataView(l.cbuf.buffer,l.cpos,t);return l.cpos+=t,n},R5=(l,t)=>Qy(l,4).setFloat32(0,t,!1),L5=(l,t)=>Qy(l,8).setFloat64(0,t,!1),F5=(l,t)=>Qy(l,8).setBigInt64(0,t,!1),BS=new DataView(new ArrayBuffer(4)),B5=l=>(BS.setFloat32(0,l),BS.getFloat32(0)===l),Bd=(l,t)=>{switch(typeof t){case"string":xo(l,119),tu(l,t);break;case"number":E5(t)&&ph(t)<=S5?(xo(l,125),Yy(l,t)):B5(t)?(xo(l,124),R5(l,t)):(xo(l,123),L5(l,t));break;case"bigint":xo(l,122),F5(l,t);break;case"object":if(t===null)xo(l,126);else if(v5(t)){xo(l,117),Or(l,t.length);for(let n=0;n<t.length;n++)Bd(l,t[n])}else if(t instanceof Uint8Array)xo(l,116),Si(l,t);else{xo(l,118);const n=Object.keys(t);Or(l,n.length);for(let e=0;e<n.length;e++){const a=n[e];tu(l,a),Bd(l,t[a])}}break;case"boolean":xo(l,t?120:121);break;default:xo(l,127)}};class zS extends Fd{constructor(t){super(),this.w=t,this.s=null,this.count=0}write(t){this.s===t?this.count++:(this.count>0&&Or(this,this.count-1),this.count=1,this.w(this,t),this.s=t)}}const US=l=>{l.count>0&&(Yy(l.encoder,l.count===1?l.s:-l.s),l.count>1&&Or(l.encoder,l.count-2))};class gh{constructor(){this.encoder=new Fd,this.s=0,this.count=0}write(t){this.s===t?this.count++:(US(this),this.count=1,this.s=t)}toUint8Array(){return US(this),ea(this.encoder)}}const HS=l=>{if(l.count>0){const t=l.diff*2+(l.count===1?0:1);Yy(l.encoder,t),l.count>1&&Or(l.encoder,l.count-2)}};class e0{constructor(){this.encoder=new Fd,this.s=0,this.count=0,this.diff=0}write(t){this.diff===t-this.s?(this.s=t,this.count++):(HS(this),this.count=1,this.diff=t-this.s,this.s=t)}toUint8Array(){return HS(this),ea(this.encoder)}}class z5{constructor(){this.sarr=[],this.s="",this.lensE=new gh}write(t){this.s+=t,this.s.length>19&&(this.sarr.push(this.s),this.s=""),this.lensE.write(t.length)}toUint8Array(){const t=new Fd;return this.sarr.push(this.s),this.s="",tu(t,this.sarr.join("")),Xy(t,this.lensE.toUint8Array()),ea(t)}}const nu=l=>new Error(l),Es=()=>{throw nu("Method unimplemented")},Fl=()=>{throw nu("Unexpected case")},U5=crypto.getRandomValues.bind(crypto),$S=()=>U5(new Uint32Array(1))[0],H5=[1e7]+-1e3+-4e3+-8e3+-1e11,$5=()=>H5.replace(/[018]/g,l=>(l^$S()&15>>l/4).toString(16)),qS=l=>new Promise(l);Promise.all.bind(Promise);const WS=l=>l===void 0?null:l;class q5{constructor(){this.map=new Map}setItem(t,n){this.map.set(t,n)}getItem(t){return this.map.get(t)}}let JS=new q5,W5=!0;try{typeof localStorage<"u"&&localStorage&&(JS=localStorage,W5=!1)}catch{}const J5=JS,V5=Object.assign,K5=Object.keys,G5=(l,t)=>{for(const n in l)t(l[n],n)},VS=l=>K5(l).length,Y5=l=>{for(const t in l)return!1;return!0},Z5=(l,t)=>{for(const n in l)if(!t(l[n],n))return!1;return!0},X5=(l,t)=>Object.prototype.hasOwnProperty.call(l,t),Q5=(l,t)=>l===t||VS(l)===VS(t)&&Z5(l,(n,e)=>(n!==void 0||X5(t,e))&&t[e]===n),t0=(l,t,n=0)=>{try{for(;n<l.length;n++)l[n](...t)}finally{n<l.length&&t0(l,t,n+1)}},eM=(l,t)=>t.includes(l),zd=typeof process<"u"&&process.release&&/node|io\.js/.test(process.release.name)&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]";let Cs;const tM=()=>{if(Cs===void 0)if(zd){Cs=Ss();const l=process.argv;let t=null;for(let n=0;n<l.length;n++){const e=l[n];e[0]==="-"?(t!==null&&Cs.set(t,""),t=e):t!==null&&(Cs.set(t,e),t=null)}t!==null&&Cs.set(t,"")}else typeof location=="object"?(Cs=Ss(),(location.search||"?").slice(1).split("&").forEach(l=>{if(l.length!==0){const[t,n]=l.split("=");Cs.set(`--${FS(t,"-")}`,n),Cs.set(`-${FS(t,"-")}`,n)}})):Cs=Ss();return Cs},n0=l=>tM().has(l),r0=l=>WS(zd?process.env[l.toUpperCase().replaceAll("-","_")]:J5.getItem(l)),KS=l=>n0("--"+l)||r0(l)!==null;KS("production");const nM=zd&&eM(process.env.FORCE_COLOR,["true","1","2"])||!n0("--no-colors")&&!KS("no-color")&&(!zd||process.stdout.isTTY)&&(!zd||n0("--color")||r0("COLORTERM")!==null||(r0("TERM")||"").includes("color"));class rM{constructor(t,n){this.left=t,this.right=n}}const ta=(l,t)=>new rM(l,t);typeof DOMParser<"u"&&new DOMParser;const oM=l=>m5(l,(t,n)=>`${n}:${t};`).join(""),na=Symbol,GS=na(),YS=na(),iM=na(),sM=na(),aM=na(),ZS=na(),lM=na(),XS=na(),cM=na(),uM=l=>{var a;l.length===1&&((a=l[0])==null?void 0:a.constructor)===Function&&(l=l[0]());const t=[],n=[];let e=0;for(;e<l.length;e++){const r=l[e];if(r===void 0)break;if(r.constructor===String||r.constructor===Number)t.push(r);else if(r.constructor===Object)break}for(e>0&&n.push(t.join(""));e<l.length;e++){const r=l[e];r instanceof Symbol||n.push(r)}return n},dM={[GS]:ta("font-weight","bold"),[YS]:ta("font-weight","normal"),[iM]:ta("color","blue"),[aM]:ta("color","green"),[sM]:ta("color","grey"),[ZS]:ta("color","red"),[lM]:ta("color","purple"),[XS]:ta("color","orange"),[cM]:ta("color","black")},fM=nM?l=>{var o;l.length===1&&((o=l[0])==null?void 0:o.constructor)===Function&&(l=l[0]());const t=[],n=[],e=Ss();let a=[],r=0;for(;r<l.length;r++){const s=l[r],c=dM[s];if(c!==void 0)e.set(c.left,c.right);else{if(s===void 0)break;if(s.constructor===String||s.constructor===Number){const i=oM(e);r>0||i.length>0?(t.push("%c"+s),n.push(i)):t.push(s)}else break}}for(r>0&&(a=n,a.unshift(t.join("")));r<l.length;r++){const s=l[r];s instanceof Symbol||a.push(s)}return a}:uM,pM=(...l)=>{console.log(...fM(l)),hM.forEach(t=>t.print(l))},hM=Xc(),QS=l=>({[Symbol.iterator](){return this},next:l}),gM=(l,t)=>QS(()=>{let n;do n=l.next();while(!n.done&&!t(n.value));return n}),o0=(l,t)=>QS(()=>{const{done:n,value:e}=l.next();return{done:n,value:n?void 0:t(e)}});class mM{constructor(t,n){this.clock=t,this.len=n}}class yM{constructor(){this.clients=new Map}}const eE=(l,t,n)=>t.clients.forEach((e,a)=>{const r=l.doc.store.clients.get(a);for(let o=0;o<e.length;o++){const s=e[o];dE(l,r,s.clock,s.len,n)}}),vM=(l,t)=>{let n=0,e=l.length-1;for(;n<=e;){const a=Ll((n+e)/2),r=l[a],o=r.clock;if(o<=t){if(t<o+r.len)return a;n=a+1}else e=a-1}return null},tE=(l,t)=>{const n=l.clients.get(t.client);return n!==void 0&&vM(n,t.clock)!==null},nE=l=>{l.clients.forEach(t=>{t.sort((a,r)=>a.clock-r.clock);let n,e;for(n=1,e=1;n<t.length;n++){const a=t[e-1],r=t[n];a.clock+a.len>=r.clock?a.len=eu(a.len,r.clock+r.len-a.clock):(e<n&&(t[e]=r),e++)}t.length=e})},rE=(l,t,n,e)=>{Zc(l.clients,t,()=>[]).push(new mM(n,e))},_M=(l,t)=>{Or(l.restEncoder,t.clients.size),Qc(t.clients.entries()).sort((n,e)=>e[0]-n[0]).forEach(([n,e])=>{l.resetDsCurVal(),Or(l.restEncoder,n);const a=e.length;Or(l.restEncoder,a);for(let r=0;r<a;r++){const o=e[r];l.writeDsClock(o.clock),l.writeDsLen(o.len)}})},oE=$S;class Ud extends _5{constructor({guid:t=$5(),collectionid:n=null,gc:e=!0,gcFilter:a=()=>!0,meta:r=null,autoLoad:o=!1,shouldLoad:s=!0}={}){super(),this.gc=e,this.gcFilter=a,this.clientID=oE(),this.guid=t,this.collectionid=n,this.share=new Map,this.store=new OM,this._transaction=null,this._transactionCleanups=[],this.subdocs=new Set,this._item=null,this.shouldLoad=s,this.autoLoad=o,this.meta=r,this.isLoaded=!1,this.isSynced=!1,this.whenLoaded=qS(i=>{this.on("load",()=>{this.isLoaded=!0,i(this)})});const c=()=>qS(i=>{const u=d=>{(d===void 0||d===!0)&&(this.off("sync",u),i())};this.on("sync",u)});this.on("sync",i=>{i===!1&&this.isSynced&&(this.whenSynced=c()),this.isSynced=i===void 0||i===!0,this.isSynced&&!this.isLoaded&&this.emit("load",[this])}),this.whenSynced=c()}load(){const t=this._item;t!==null&&!this.shouldLoad&&Fr(t.parent.doc,n=>{n.subdocsLoaded.add(this)},null,!0),this.shouldLoad=!0}getSubdocs(){return this.subdocs}getSubdocGuids(){return new Set(Qc(this.subdocs).map(t=>t.guid))}transact(t,n=null){return Fr(this,t,n)}get(t,n=Io){const e=Zc(this.share,t,()=>{const r=new n;return r._integrate(this,null),r}),a=e.constructor;if(n!==Io&&a!==n)if(a===Io){const r=new n;r._map=e._map,e._map.forEach(o=>{for(;o!==null;o=o.left)o.parent=r}),r._start=e._start;for(let o=r._start;o!==null;o=o.right)o.parent=r;return r._length=e._length,this.share.set(t,r),r._integrate(this,null),r}else throw new Error(`Type with the name ${t} has already been defined with a different constructor`);return e}getArray(t=""){return this.get(t,Bl)}getText(t=""){return this.get(t,jh)}getMap(t=""){return this.get(t,ou)}getXmlElement(t=""){return this.get(t,qd)}getXmlFragment(t=""){return this.get(t,su)}toJSON(){const t={};return this.share.forEach((n,e)=>{t[e]=n.toJSON()}),t}destroy(){Qc(this.subdocs).forEach(n=>n.destroy());const t=this._item;if(t!==null){this._item=null;const n=t.content;n.doc=new Ud({guid:this.guid,...n.opts,shouldLoad:!1}),n.doc._item=t,Fr(t.parent.doc,e=>{const a=n.doc;t.deleted||e.subdocsAdded.add(a),e.subdocsRemoved.add(this)},null,!0)}this.emit("destroyed",[!0]),this.emit("destroy",[this]),super.destroy()}}class bM{constructor(){this.restEncoder=Ky()}toUint8Array(){return ea(this.restEncoder)}resetDsCurVal(){}writeDsClock(t){Or(this.restEncoder,t)}writeDsLen(t){Or(this.restEncoder,t)}}class wM extends bM{writeLeftID(t){Or(this.restEncoder,t.client),Or(this.restEncoder,t.clock)}writeRightID(t){Or(this.restEncoder,t.client),Or(this.restEncoder,t.clock)}writeClient(t){Or(this.restEncoder,t)}writeInfo(t){Gy(this.restEncoder,t)}writeString(t){tu(this.restEncoder,t)}writeParentInfo(t){Or(this.restEncoder,t?1:0)}writeTypeRef(t){Or(this.restEncoder,t)}writeLen(t){Or(this.restEncoder,t)}writeAny(t){Bd(this.restEncoder,t)}writeBuf(t){Si(this.restEncoder,t)}writeJSON(t){tu(this.restEncoder,JSON.stringify(t))}writeKey(t){tu(this.restEncoder,t)}}class xM{constructor(){this.restEncoder=Ky(),this.dsCurrVal=0}toUint8Array(){return ea(this.restEncoder)}resetDsCurVal(){this.dsCurrVal=0}writeDsClock(t){const n=t-this.dsCurrVal;this.dsCurrVal=t,Or(this.restEncoder,n)}writeDsLen(t){t===0&&Fl(),Or(this.restEncoder,t-1),this.dsCurrVal+=t}}class SM extends xM{constructor(){super(),this.keyMap=new Map,this.keyClock=0,this.keyClockEncoder=new e0,this.clientEncoder=new gh,this.leftClockEncoder=new e0,this.rightClockEncoder=new e0,this.infoEncoder=new zS(Gy),this.stringEncoder=new z5,this.parentInfoEncoder=new zS(Gy),this.typeRefEncoder=new gh,this.lenEncoder=new gh}toUint8Array(){const t=Ky();return Or(t,0),Si(t,this.keyClockEncoder.toUint8Array()),Si(t,this.clientEncoder.toUint8Array()),Si(t,this.leftClockEncoder.toUint8Array()),Si(t,this.rightClockEncoder.toUint8Array()),Si(t,ea(this.infoEncoder)),Si(t,this.stringEncoder.toUint8Array()),Si(t,ea(this.parentInfoEncoder)),Si(t,this.typeRefEncoder.toUint8Array()),Si(t,this.lenEncoder.toUint8Array()),Xy(t,ea(this.restEncoder)),ea(t)}writeLeftID(t){this.clientEncoder.write(t.client),this.leftClockEncoder.write(t.clock)}writeRightID(t){this.clientEncoder.write(t.client),this.rightClockEncoder.write(t.clock)}writeClient(t){this.clientEncoder.write(t)}writeInfo(t){this.infoEncoder.write(t)}writeString(t){this.stringEncoder.write(t)}writeParentInfo(t){this.parentInfoEncoder.write(t?1:0)}writeTypeRef(t){this.typeRefEncoder.write(t)}writeLen(t){this.lenEncoder.write(t)}writeAny(t){Bd(this.restEncoder,t)}writeBuf(t){Si(this.restEncoder,t)}writeJSON(t){Bd(this.restEncoder,t)}writeKey(t){const n=this.keyMap.get(t);n===void 0?(this.keyClockEncoder.write(this.keyClock++),this.stringEncoder.write(t)):this.keyClockEncoder.write(n)}}const EM=(l,t,n,e)=>{e=eu(e,t[0].id.clock);const a=ra(t,e);Or(l.restEncoder,t.length-a),l.writeClient(n),Or(l.restEncoder,e);const r=t[a];r.write(l,e-r.id.clock);for(let o=a+1;o<t.length;o++)t[o].write(l,0)},CM=(l,t,n)=>{const e=new Map;n.forEach((a,r)=>{li(t,r)>a&&e.set(r,a)}),s0(t).forEach((a,r)=>{n.has(r)||e.set(r,0)}),Or(l.restEncoder,e.size),Qc(e.entries()).sort((a,r)=>r[0]-a[0]).forEach(([a,r])=>{EM(l,t.clients.get(a),a,r)})},jM=(l,t)=>CM(l,t.doc.store,t.beforeState);class kM{constructor(){this.l=[]}}const iE=()=>new kM,sE=(l,t)=>l.l.push(t),aE=(l,t)=>{const n=l.l,e=n.length;l.l=n.filter(a=>t!==a),e===l.l.length&&console.error("[yjs] Tried to remove event handler that doesn't exist.")},lE=(l,t,n)=>t0(l.l,[t,n]);class mh{constructor(t,n){this.client=t,this.clock=n}}const yh=(l,t)=>l===t||l!==null&&t!==null&&l.client===t.client&&l.clock===t.clock,Yr=(l,t)=>new mh(l,t),TM=l=>{for(const[t,n]of l.doc.share.entries())if(n===l)return t;throw Fl()},ru=(l,t)=>t===void 0?!l.deleted:t.sv.has(l.id.client)&&(t.sv.get(l.id.client)||0)>l.id.clock&&!tE(t.ds,l.id),i0=(l,t)=>{const n=Zc(l.meta,i0,Xc),e=l.doc.store;n.has(t)||(t.sv.forEach((a,r)=>{a<li(e,r)&&Ja(l,Yr(r,a))}),eE(l,t.ds,a=>{}),n.add(t))};class OM{constructor(){this.clients=new Map,this.pendingStructs=null,this.pendingDs=null}}const s0=l=>{const t=new Map;return l.clients.forEach((n,e)=>{const a=n[n.length-1];t.set(e,a.id.clock+a.length)}),t},li=(l,t)=>{const n=l.clients.get(t);if(n===void 0)return 0;const e=n[n.length-1];return e.id.clock+e.length},cE=(l,t)=>{let n=l.clients.get(t.id.client);if(n===void 0)n=[],l.clients.set(t.id.client,n);else{const e=n[n.length-1];if(e.id.clock+e.length!==t.id.clock)throw Fl()}n.push(t)},ra=(l,t)=>{let n=0,e=l.length-1,a=l[e],r=a.id.clock;if(r===t)return e;let o=Ll(t/(r+a.length-1)*e);for(;n<=e;){if(a=l[o],r=a.id.clock,r<=t){if(t<r+a.length)return o;n=o+1}else e=o-1;o=Ll((n+e)/2)}throw Fl()},a0=(l,t)=>{const n=l.clients.get(t.client);return n[ra(n,t.clock)]},l0=(l,t,n)=>{const e=ra(t,n),a=t[e];return a.id.clock<n&&a instanceof $o?(t.splice(e+1,0,RE(l,a,n-a.id.clock)),e+1):e},Ja=(l,t)=>{const n=l.doc.store.clients.get(t.client);return n[l0(l,n,t.clock)]},uE=(l,t,n)=>{const e=t.clients.get(n.client),a=ra(e,n.clock),r=e[a];return n.clock!==r.id.clock+r.length-1&&r.constructor!==Ka&&e.splice(a+1,0,RE(l,r,n.clock-r.id.clock+1)),r},NM=(l,t,n)=>{const e=l.clients.get(t.id.client);e[ra(e,t.id.clock)]=n},dE=(l,t,n,e,a)=>{if(e===0)return;const r=n+e;let o=l0(l,t,n),s;do s=t[o++],r<s.id.clock+s.length&&l0(l,t,r),a(s);while(o<t.length&&t[o].id.clock<r)};class AM{constructor(t,n,e){this.doc=t,this.deleteSet=new yM,this.beforeState=s0(t.store),this.afterState=new Map,this.changed=new Map,this.changedParentTypes=new Map,this._mergeStructs=[],this.origin=n,this.meta=new Map,this.local=e,this.subdocsAdded=new Set,this.subdocsRemoved=new Set,this.subdocsLoaded=new Set,this._needFormattingCleanup=!1}}const fE=(l,t)=>t.deleteSet.clients.size===0&&!y5(t.afterState,(n,e)=>t.beforeState.get(e)!==n)?!1:(nE(t.deleteSet),jM(l,t),_M(l,t.deleteSet),!0),pE=(l,t,n)=>{const e=t._item;(e===null||e.id.clock<(l.beforeState.get(e.id.client)||0)&&!e.deleted)&&Zc(l.changed,t,Xc).add(n)},vh=(l,t)=>{let n=l[t],e=l[t-1],a=t;for(;a>0;n=e,e=l[--a-1]){if(e.deleted===n.deleted&&e.constructor===n.constructor&&e.mergeWith(n)){n instanceof $o&&n.parentSub!==null&&n.parent._map.get(n.parentSub)===n&&n.parent._map.set(n.parentSub,e);continue}break}const r=t-a;return r&&l.splice(t+1-r,r),r},PM=(l,t,n)=>{for(const[e,a]of l.clients.entries()){const r=t.clients.get(e);for(let o=a.length-1;o>=0;o--){const s=a[o],c=s.clock+s.len;for(let i=ra(r,s.clock),u=r[i];i<r.length&&u.id.clock<c;u=r[++i]){const d=r[i];if(s.clock+s.len<=d.id.clock)break;d instanceof $o&&d.deleted&&!d.keep&&n(d)&&d.gc(t,!1)}}}},IM=(l,t)=>{l.clients.forEach((n,e)=>{const a=t.clients.get(e);for(let r=n.length-1;r>=0;r--){const o=n[r],s=IS(a.length-1,1+ra(a,o.clock+o.len-1));for(let c=s,i=a[c];c>0&&i.id.clock>=o.clock;i=a[c])c-=1+vh(a,c)}})},hE=(l,t)=>{if(t<l.length){const n=l[t],e=n.doc,a=e.store,r=n.deleteSet,o=n._mergeStructs;try{nE(r),n.afterState=s0(n.doc.store),e.emit("beforeObserverCalls",[n,e]);const s=[];n.changed.forEach((c,i)=>s.push(()=>{(i._item===null||!i._item.deleted)&&i._callObserver(n,c)})),s.push(()=>{n.changedParentTypes.forEach((c,i)=>{i._dEH.l.length>0&&(i._item===null||!i._item.deleted)&&(c=c.filter(u=>u.target._item===null||!u.target._item.deleted),c.forEach(u=>{u.currentTarget=i,u._path=null}),c.sort((u,d)=>u.path.length-d.path.length),lE(i._dEH,c,n))})}),s.push(()=>e.emit("afterTransaction",[n,e])),t0(s,[]),n._needFormattingCleanup&&qM(n)}finally{e.gc&&PM(r,a,e.gcFilter),IM(r,a),n.afterState.forEach((u,d)=>{const p=n.beforeState.get(d)||0;if(p!==u){const f=a.clients.get(d),h=eu(ra(f,p),1);for(let m=f.length-1;m>=h;)m-=1+vh(f,m)}});for(let u=o.length-1;u>=0;u--){const{client:d,clock:p}=o[u].id,f=a.clients.get(d),h=ra(f,p);h+1<f.length&&vh(f,h+1)>1||h>0&&vh(f,h)}if(!n.local&&n.afterState.get(e.clientID)!==n.beforeState.get(e.clientID)&&(pM(XS,GS,"[yjs] ",YS,ZS,"Changed the client-id because another client seems to be using it."),e.clientID=oE()),e.emit("afterTransactionCleanup",[n,e]),e._observers.has("update")){const u=new wM;fE(u,n)&&e.emit("update",[u.toUint8Array(),n.origin,e,n])}if(e._observers.has("updateV2")){const u=new SM;fE(u,n)&&e.emit("updateV2",[u.toUint8Array(),n.origin,e,n])}const{subdocsAdded:s,subdocsLoaded:c,subdocsRemoved:i}=n;(s.size>0||i.size>0||c.size>0)&&(s.forEach(u=>{u.clientID=e.clientID,u.collectionid==null&&(u.collectionid=e.collectionid),e.subdocs.add(u)}),i.forEach(u=>e.subdocs.delete(u)),e.emit("subdocs",[{loaded:c,added:s,removed:i},e,n]),i.forEach(u=>u.destroy())),l.length<=t+1?(e._transactionCleanups=[],e.emit("afterAllTransactions",[e,l])):hE(l,t+1)}}},Fr=(l,t,n=null,e=!0)=>{const a=l._transactionCleanups;let r=!1,o=null;l._transaction===null&&(r=!0,l._transaction=new AM(l,n,e),a.push(l._transaction),a.length===1&&l.emit("beforeAllTransactions",[l]),l.emit("beforeTransaction",[l._transaction,l]));try{o=t(l._transaction)}finally{if(r){const s=l._transaction===a[0];l._transaction=null,s&&hE(a,0)}}return o},gE="You must not compute changes after the event-handler fired.";class _h{constructor(t,n){this.target=t,this.currentTarget=t,this.transaction=n,this._changes=null,this._keys=null,this._delta=null,this._path=null}get path(){return this._path||(this._path=MM(this.currentTarget,this.target))}deletes(t){return tE(this.transaction.deleteSet,t.id)}get keys(){if(this._keys===null){if(this.transaction.doc._transactionCleanups.length===0)throw nu(gE);const t=new Map,n=this.target;this.transaction.changed.get(n).forEach(a=>{if(a!==null){const r=n._map.get(a);let o,s;if(this.adds(r)){let c=r.left;for(;c!==null&&this.adds(c);)c=c.left;if(this.deletes(r))if(c!==null&&this.deletes(c))o="delete",s=qy(c.content.getContent());else return;else c!==null&&this.deletes(c)?(o="update",s=qy(c.content.getContent())):(o="add",s=void 0)}else if(this.deletes(r))o="delete",s=qy(r.content.getContent());else return;t.set(a,{action:o,oldValue:s})}}),this._keys=t}return this._keys}get delta(){return this.changes.delta}adds(t){return t.id.clock>=(this.transaction.beforeState.get(t.id.client)||0)}get changes(){let t=this._changes;if(t===null){if(this.transaction.doc._transactionCleanups.length===0)throw nu(gE);const n=this.target,e=Xc(),a=Xc(),r=[];if(t={added:e,deleted:a,delta:r,keys:this.keys},this.transaction.changed.get(n).has(null)){let s=null;const c=()=>{s&&r.push(s)};for(let i=n._start;i!==null;i=i.right)i.deleted?this.deletes(i)&&!this.adds(i)&&((s===null||s.delete===void 0)&&(c(),s={delete:0}),s.delete+=i.length,a.add(i)):this.adds(i)?((s===null||s.insert===void 0)&&(c(),s={insert:[]}),s.insert=s.insert.concat(i.content.getContent()),e.add(i)):((s===null||s.retain===void 0)&&(c(),s={retain:0}),s.retain+=i.length);s!==null&&s.retain===void 0&&c()}this._changes=t}return t}}const MM=(l,t)=>{const n=[];for(;t._item!==null&&t!==l;){if(t._item.parentSub!==null)n.unshift(t._item.parentSub);else{let e=0,a=t._item.parent._start;for(;a!==t._item&&a!==null;)a.deleted||e++,a=a.right;n.unshift(e)}t=t._item.parent}return n},mE=80;let c0=0;class DM{constructor(t,n){t.marker=!0,this.p=t,this.index=n,this.timestamp=c0++}}const RM=l=>{l.timestamp=c0++},yE=(l,t,n)=>{l.p.marker=!1,l.p=t,t.marker=!0,l.index=n,l.timestamp=c0++},LM=(l,t,n)=>{if(l.length>=mE){const e=l.reduce((a,r)=>a.timestamp<r.timestamp?a:r);return yE(e,t,n),e}else{const e=new DM(t,n);return l.push(e),e}},bh=(l,t)=>{if(l._start===null||t===0||l._searchMarker===null)return null;const n=l._searchMarker.length===0?null:l._searchMarker.reduce((r,o)=>ph(t-r.index)<ph(t-o.index)?r:o);let e=l._start,a=0;for(n!==null&&(e=n.p,a=n.index,RM(n));e.right!==null&&a<t;){if(!e.deleted&&e.countable){if(t<a+e.length)break;a+=e.length}e=e.right}for(;e.left!==null&&a>t;)e=e.left,!e.deleted&&e.countable&&(a-=e.length);for(;e.left!==null&&e.left.id.client===e.id.client&&e.left.id.clock+e.left.length===e.id.clock;)e=e.left,!e.deleted&&e.countable&&(a-=e.length);return n!==null&&ph(n.index-a)<e.parent.length/mE?(yE(n,e,a),n):LM(l._searchMarker,e,a)},Hd=(l,t,n)=>{for(let e=l.length-1;e>=0;e--){const a=l[e];if(n>0){let r=a.p;for(r.marker=!1;r&&(r.deleted||!r.countable);)r=r.left,r&&!r.deleted&&r.countable&&(a.index-=r.length);if(r===null||r.marker===!0){l.splice(e,1);continue}a.p=r,r.marker=!0}(t<a.index||n>0&&t===a.index)&&(a.index=eu(t,a.index+n))}},wh=(l,t,n)=>{const e=l,a=t.changedParentTypes;for(;Zc(a,l,()=>[]).push(n),l._item!==null;)l=l._item.parent;lE(e._eH,n,t)};class Io{constructor(){this._item=null,this._map=new Map,this._start=null,this.doc=null,this._length=0,this._eH=iE(),this._dEH=iE(),this._searchMarker=null}get parent(){return this._item?this._item.parent:null}_integrate(t,n){this.doc=t,this._item=n}_copy(){throw Es()}clone(){throw Es()}_write(t){}get _first(){let t=this._start;for(;t!==null&&t.deleted;)t=t.right;return t}_callObserver(t,n){!t.local&&this._searchMarker&&(this._searchMarker.length=0)}observe(t){sE(this._eH,t)}observeDeep(t){sE(this._dEH,t)}unobserve(t){aE(this._eH,t)}unobserveDeep(t){aE(this._dEH,t)}toJSON(){}}const vE=(l,t,n)=>{t<0&&(t=l._length+t),n<0&&(n=l._length+n);let e=n-t;const a=[];let r=l._start;for(;r!==null&&e>0;){if(r.countable&&!r.deleted){const o=r.content.getContent();if(o.length<=t)t-=o.length;else{for(let s=t;s<o.length&&e>0;s++)a.push(o[s]),e--;t=0}}r=r.right}return a},_E=l=>{const t=[];let n=l._start;for(;n!==null;){if(n.countable&&!n.deleted){const e=n.content.getContent();for(let a=0;a<e.length;a++)t.push(e[a])}n=n.right}return t},$d=(l,t)=>{let n=0,e=l._start;for(;e!==null;){if(e.countable&&!e.deleted){const a=e.content.getContent();for(let r=0;r<a.length;r++)t(a[r],n++,l)}e=e.right}},bE=(l,t)=>{const n=[];return $d(l,(e,a)=>{n.push(t(e,a,l))}),n},FM=l=>{let t=l._start,n=null,e=0;return{[Symbol.iterator](){return this},next:()=>{if(n===null){for(;t!==null&&t.deleted;)t=t.right;if(t===null)return{done:!0,value:void 0};n=t.content.getContent(),e=0,t=t.right}const a=n[e++];return n.length<=e&&(n=null),{done:!1,value:a}}}},wE=(l,t)=>{const n=bh(l,t);let e=l._start;for(n!==null&&(e=n.p,t-=n.index);e!==null;e=e.right)if(!e.deleted&&e.countable){if(t<e.length)return e.content.getContent()[t];t-=e.length}},xh=(l,t,n,e)=>{let a=n;const r=l.doc,o=r.clientID,s=r.store,c=n===null?t._start:n.right;let i=[];const u=()=>{i.length>0&&(a=new $o(Yr(o,li(s,o)),a,a&&a.lastId,c,c&&c.id,t,null,new lu(i)),a.integrate(l,0),i=[])};e.forEach(d=>{if(d===null)i.push(d);else switch(d.constructor){case Number:case Object:case Boolean:case Array:case String:i.push(d);break;default:switch(u(),d.constructor){case Uint8Array:case ArrayBuffer:a=new $o(Yr(o,li(s,o)),a,a&&a.lastId,c,c&&c.id,t,null,new kh(new Uint8Array(d))),a.integrate(l,0);break;case Ud:a=new $o(Yr(o,li(s,o)),a,a&&a.lastId,c,c&&c.id,t,null,new Oh(d)),a.integrate(l,0);break;default:if(d instanceof Io)a=new $o(Yr(o,li(s,o)),a,a&&a.lastId,c,c&&c.id,t,null,new Ga(d)),a.integrate(l,0);else throw new Error("Unexpected content type in insert operation")}}}),u()},xE=()=>nu("Length exceeded!"),SE=(l,t,n,e)=>{if(n>t._length)throw xE();if(n===0)return t._searchMarker&&Hd(t._searchMarker,n,e.length),xh(l,t,null,e);const a=n,r=bh(t,n);let o=t._start;for(r!==null&&(o=r.p,n-=r.index,n===0&&(o=o.prev,n+=o&&o.countable&&!o.deleted?o.length:0));o!==null;o=o.right)if(!o.deleted&&o.countable){if(n<=o.length){n<o.length&&Ja(l,Yr(o.id.client,o.id.clock+n));break}n-=o.length}return t._searchMarker&&Hd(t._searchMarker,a,e.length),xh(l,t,o,e)},BM=(l,t,n)=>{let a=(t._searchMarker||[]).reduce((r,o)=>o.index>r.index?o:r,{index:0,p:t._start}).p;if(a)for(;a.right;)a=a.right;return xh(l,t,a,n)},EE=(l,t,n,e)=>{if(e===0)return;const a=n,r=e,o=bh(t,n);let s=t._start;for(o!==null&&(s=o.p,n-=o.index);s!==null&&n>0;s=s.right)!s.deleted&&s.countable&&(n<s.length&&Ja(l,Yr(s.id.client,s.id.clock+n)),n-=s.length);for(;e>0&&s!==null;)s.deleted||(e<s.length&&Ja(l,Yr(s.id.client,s.id.clock+e)),s.delete(l),e-=s.length),s=s.right;if(e>0)throw xE();t._searchMarker&&Hd(t._searchMarker,a,-r+e)},Sh=(l,t,n)=>{const e=t._map.get(n);e!==void 0&&e.delete(l)},u0=(l,t,n,e)=>{const a=t._map.get(n)||null,r=l.doc,o=r.clientID;let s;if(e==null)s=new lu([e]);else switch(e.constructor){case Number:case Object:case Boolean:case Array:case String:s=new lu([e]);break;case Uint8Array:s=new kh(e);break;case Ud:s=new Oh(e);break;default:if(e instanceof Io)s=new Ga(e);else throw new Error("Unexpected content type")}new $o(Yr(o,li(r.store,o)),a,a&&a.lastId,null,null,t,n,s).integrate(l,0)},d0=(l,t)=>{const n=l._map.get(t);return n!==void 0&&!n.deleted?n.content.getContent()[n.length-1]:void 0},CE=l=>{const t={};return l._map.forEach((n,e)=>{n.deleted||(t[e]=n.content.getContent()[n.length-1])}),t},jE=(l,t)=>{const n=l._map.get(t);return n!==void 0&&!n.deleted},zM=(l,t)=>{const n={};return l._map.forEach((e,a)=>{let r=e;for(;r!==null&&(!t.sv.has(r.id.client)||r.id.clock>=(t.sv.get(r.id.client)||0));)r=r.left;r!==null&&ru(r,t)&&(n[a]=r.content.getContent()[r.length-1])}),n},Eh=l=>gM(l.entries(),t=>!t[1].deleted);class kE extends _h{constructor(t,n){super(t,n),this._transaction=n}}class Bl extends Io{constructor(){super(),this._prelimContent=[],this._searchMarker=[]}static from(t){const n=new Bl;return n.push(t),n}_integrate(t,n){super._integrate(t,n),this.insert(0,this._prelimContent),this._prelimContent=null}_copy(){return new Bl}clone(){const t=new Bl;return t.insert(0,this.toArray().map(n=>n instanceof Io?n.clone():n)),t}get length(){return this._prelimContent===null?this._length:this._prelimContent.length}_callObserver(t,n){super._callObserver(t,n),wh(this,t,new kE(this,t))}insert(t,n){this.doc!==null?Fr(this.doc,e=>{SE(e,this,t,n)}):this._prelimContent.splice(t,0,...n)}push(t){this.doc!==null?Fr(this.doc,n=>{BM(n,this,t)}):this._prelimContent.push(...t)}unshift(t){this.insert(0,t)}delete(t,n=1){this.doc!==null?Fr(this.doc,e=>{EE(e,this,t,n)}):this._prelimContent.splice(t,n)}get(t){return wE(this,t)}toArray(){return _E(this)}slice(t=0,n=this.length){return vE(this,t,n)}toJSON(){return this.map(t=>t instanceof Io?t.toJSON():t)}map(t){return bE(this,t)}forEach(t){$d(this,t)}[Symbol.iterator](){return FM(this)}_write(t){t.writeTypeRef(GM)}}class UM extends _h{constructor(t,n,e){super(t,n),this.keysChanged=e}}class ou extends Io{constructor(t){super(),this._prelimContent=null,t===void 0?this._prelimContent=new Map:this._prelimContent=new Map(t)}_integrate(t,n){super._integrate(t,n),this._prelimContent.forEach((e,a)=>{this.set(a,e)}),this._prelimContent=null}_copy(){return new ou}clone(){const t=new ou;return this.forEach((n,e)=>{t.set(e,n instanceof Io?n.clone():n)}),t}_callObserver(t,n){wh(this,t,new UM(this,t,n))}toJSON(){const t={};return this._map.forEach((n,e)=>{if(!n.deleted){const a=n.content.getContent()[n.length-1];t[e]=a instanceof Io?a.toJSON():a}}),t}get size(){return[...Eh(this._map)].length}keys(){return o0(Eh(this._map),t=>t[0])}values(){return o0(Eh(this._map),t=>t[1].content.getContent()[t[1].length-1])}entries(){return o0(Eh(this._map),t=>[t[0],t[1].content.getContent()[t[1].length-1]])}forEach(t){this._map.forEach((n,e)=>{n.deleted||t(n.content.getContent()[n.length-1],e,this)})}[Symbol.iterator](){return this.entries()}delete(t){this.doc!==null?Fr(this.doc,n=>{Sh(n,this,t)}):this._prelimContent.delete(t)}set(t,n){return this.doc!==null?Fr(this.doc,e=>{u0(e,this,t,n)}):this._prelimContent.set(t,n),n}get(t){return d0(this,t)}has(t){return jE(this,t)}clear(){this.doc!==null?Fr(this.doc,t=>{this.forEach(function(n,e,a){Sh(t,a,e)})}):this._prelimContent.clear()}_write(t){t.writeTypeRef(YM)}}const Va=(l,t)=>l===t||typeof l=="object"&&typeof t=="object"&&l&&t&&Q5(l,t);class f0{constructor(t,n,e,a){this.left=t,this.right=n,this.index=e,this.currentAttributes=a}forward(){switch(this.right===null&&Fl(),this.right.content.constructor){case So:this.right.deleted||iu(this.currentAttributes,this.right.content);break;default:this.right.deleted||(this.index+=this.right.length);break}this.left=this.right,this.right=this.right.right}}const TE=(l,t,n)=>{for(;t.right!==null&&n>0;){switch(t.right.content.constructor){case So:t.right.deleted||iu(t.currentAttributes,t.right.content);break;default:t.right.deleted||(n<t.right.length&&Ja(l,Yr(t.right.id.client,t.right.id.clock+n)),t.index+=t.right.length,n-=t.right.length);break}t.left=t.right,t.right=t.right.right}return t},Ch=(l,t,n,e)=>{const a=new Map,r=e?bh(t,n):null;if(r){const o=new f0(r.p.left,r.p,r.index,a);return TE(l,o,n-r.index)}else{const o=new f0(null,t._start,0,a);return TE(l,o,n)}},OE=(l,t,n,e)=>{for(;n.right!==null&&(n.right.deleted===!0||n.right.content.constructor===So&&Va(e.get(n.right.content.key),n.right.content.value));)n.right.deleted||e.delete(n.right.content.key),n.forward();const a=l.doc,r=a.clientID;e.forEach((o,s)=>{const c=n.left,i=n.right,u=new $o(Yr(r,li(a.store,r)),c,c&&c.lastId,i,i&&i.id,t,null,new So(s,o));u.integrate(l,0),n.right=u,n.forward()})},iu=(l,t)=>{const{key:n,value:e}=t;e===null?l.delete(n):l.set(n,e)},NE=(l,t)=>{for(;l.right!==null;){if(!(l.right.deleted||l.right.content.constructor===So&&Va(t[l.right.content.key]??null,l.right.content.value)))break;l.forward()}},AE=(l,t,n,e)=>{const a=l.doc,r=a.clientID,o=new Map;for(const s in e){const c=e[s],i=n.currentAttributes.get(s)??null;if(!Va(i,c)){o.set(s,i);const{left:u,right:d}=n;n.right=new $o(Yr(r,li(a.store,r)),u,u&&u.lastId,d,d&&d.id,t,null,new So(s,c)),n.right.integrate(l,0),n.forward()}}return o},p0=(l,t,n,e,a)=>{n.currentAttributes.forEach((p,f)=>{a[f]===void 0&&(a[f]=null)});const r=l.doc,o=r.clientID;NE(n,a);const s=AE(l,t,n,a),c=e.constructor===String?new oa(e):e instanceof Io?new Ga(e):new au(e);let{left:i,right:u,index:d}=n;t._searchMarker&&Hd(t._searchMarker,n.index,c.getLength()),u=new $o(Yr(o,li(r.store,o)),i,i&&i.lastId,u,u&&u.id,t,null,c),u.integrate(l,0),n.right=u,n.index=d,n.forward(),OE(l,t,n,s)},PE=(l,t,n,e,a)=>{const r=l.doc,o=r.clientID;NE(n,a);const s=AE(l,t,n,a);e:for(;n.right!==null&&(e>0||s.size>0&&(n.right.deleted||n.right.content.constructor===So));){if(!n.right.deleted)switch(n.right.content.constructor){case So:{const{key:c,value:i}=n.right.content,u=a[c];if(u!==void 0){if(Va(u,i))s.delete(c);else{if(e===0)break e;s.set(c,i)}n.right.delete(l)}else n.currentAttributes.set(c,i);break}default:e<n.right.length&&Ja(l,Yr(n.right.id.client,n.right.id.clock+e)),e-=n.right.length;break}n.forward()}if(e>0){let c="";for(;e>0;e--)c+=`
|
|
1542
|
+
`,document.head.appendChild(e),()=>{document.removeEventListener("click",t),n()}},[l]),he.useEffect(()=>{const t=()=>{document.querySelectorAll("[data-cross-ref]").forEach(a=>{const r=a.getAttribute("id");if(r){const o=document.querySelector(`[data-ref-id="ref-${r}"]`);if(o){const s=o.textContent||"";a.textContent!==s&&(a.textContent=s)}}})},n=l.registerUpdateListener(()=>{t()});return()=>{n()}},[l]),null},s5="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzODQgNTEyIj48IS0tIUZvbnQgQXdlc29tZSBGcmVlIDYuNy4yIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlL2ZyZWUgQ29weXJpZ2h0IDIwMjUgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZmlsbD0iI2ZmZmZmZiIgZD0iTTIxNC42IDQxLjRjLTEyLjUtMTIuNS0zMi44LTEyLjUtNDUuMyAwbC0xNjAgMTYwYy0xMi41IDEyLjUtMTIuNSAzMi44IDAgNDUuM3MzMi44IDEyLjUgNDUuMyAwTDE2MCAxNDEuMiAxNjAgNDQ4YzAgMTcuNyAxNC4zIDMyIDMyIDMyczMyLTE0LjMgMzItMzJsMC0zMDYuN0wzMjkuNCAyNDYuNmMxMi41IDEyLjUgMzIuOCAxMi41IDQ1LjMgMHMxMi41LTMyLjggMC00NS4zbC0xNjAtMTYweiIvPjwvc3ZnPg==",a5="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzODQgNTEyIj48IS0tIUZvbnQgQXdlc29tZSBGcmVlIDYuNy4yIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlL2ZyZWUgQ29weXJpZ2h0IDIwMjUgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZmlsbD0iI2ZmZmZmZiIgZD0iTTE2OS40IDQ3MC42YzEyLjUgMTIuNSAzMi44IDEyLjUgNDUuMyAwbDE2MC0xNjBjMTIuNS0xMi41IDEyLjUtMzIuOCAwLTQ1LjNzLTMyLjgtMTIuNS00NS4zIDBMMjI0IDM3MC44IDIyNCA2NGMwLTE3LjctMTQuMy0zMi0zMi0zMnMtMzIgMTQuMy0zMiAzMmwwIDMwNi43TDU0LjYgMjY1LjRjLTEyLjUtMTIuNS0zMi44LTEyLjUtNDUuMyAwcy0xMi41IDMyLjggMCA0NS4zbDE2MCAxNjB6Ii8+PC9zdmc+",l5="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzODQgNTEyIj48IS0tIUZvbnQgQXdlc29tZSBGcmVlIDYuNy4yIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlL2ZyZWUgQ29weXJpZ2h0IDIwMjUgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZmlsbD0iI2ZmZmZmZiIgZD0iTTM0Mi42IDE1MC42YzEyLjUtMTIuNSAxMi41LTMyLjggMC00NS4zcy0zMi44LTEyLjUtNDUuMyAwTDE5MiAyMTAuNyA4Ni42IDEwNS40Yy0xMi41LTEyLjUtMzIuOC0xMi41LTQ1LjMgMHMtMTIuNSAzMi44IDAgNDUuM0wxNDYuNyAyNTYgNDEuNCAzNjEuNGMtMTIuNSAxMi41LTEyLjUgMzIuOCAwIDQ1LjNzMzIuOCAxMi41IDQ1LjMgMEwxOTIgMzAxLjMgMjk3LjQgNDA2LjZjMTIuNSAxMi41IDMyLjggMTIuNSA0NS4zIDBzMTIuNS0zMi44IDAtNDUuM0wyMzcuMyAyNTYgMzQyLjYgMTUwLjZ6Ii8+PC9zdmc+",c5="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMjAgNTEyIj48IS0tIUZvbnQgQXdlc29tZSBGcmVlIDYuNy4yIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlL2ZyZWUgQ29weXJpZ2h0IDIwMjUgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZmlsbD0iI2ZmZmZmZiIgZD0iTTMxMC42IDIzMy40YzEyLjUgMTIuNSAxMi41IDMyLjggMCA0NS4zbC0xOTIgMTkyYy0xMi41IDEyLjUtMzIuOCAxMi41LTQ1LjMgMHMtMTIuNS0zMi44IDAtNDUuM0wyNDIuNyAyNTYgNzMuNCA4Ni42Yy0xMi41LTEyLjUtMTIuNS0zMi44IDAtNDUuM3MzMi44LTEyLjUgNDUuMyAwbDE5MiAxOTJ6Ii8+PC9zdmc+",u5="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48IS0tIUZvbnQgQXdlc29tZSBGcmVlIDYuNy4yIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlL2ZyZWUgQ29weXJpZ2h0IDIwMjUgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZmlsbD0iI2ZmZmZmZiIgZD0iTTIzMy40IDQwNi42YzEyLjUgMTIuNSAzMi44IDEyLjUgNDUuMyAwbDE5Mi0xOTJjMTIuNS0xMi41IDEyLjUtMzIuOCAwLTQ1LjNzLTMyLjgtMTIuNS00NS4zIDBMMjU2IDMzOC43IDg2LjYgMTY5LjRjLTEyLjUtMTIuNS0zMi44LTEyLjUtNDUuMyAwcy0xMi41IDMyLjggMCA0NS4zbDE5MiAxOTJ6Ii8+PC9zdmc+",d5="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IS0tIFVwbG9hZGVkIHRvOiBTVkcgUmVwbywgd3d3LnN2Z3JlcG8uY29tLCBHZW5lcmF0b3I6IFNWRyBSZXBvIE1peGVyIFRvb2xzIC0tPgo8c3ZnIHdpZHRoPSI4MDBweCIgaGVpZ2h0PSI4MDBweCIgdmlld0JveD0iMCAwIDE2IDE2IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IiNmZmYiPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMy4yMjEgMy43MzlsMi4yNjEgMi4yNjlMNy43IDMuNzg0bC0uNy0uNy0xLjAxMiAxLjAwNy0uMDA4LTEuNmEuNTIzLjUyMyAwIDAgMSAuNS0uNTI2SDhWMUg2LjQ4QTEuNDgyIDEuNDgyIDAgMCAwIDUgMi40ODlWNC4xTDMuOTI3IDMuMDMzbC0uNzA2LjcwNnptNi42NyAxLjc5NGguMDFjLjE4My4zMTEuNDUxLjQ2Ny44MDYuNDY3LjM5MyAwIC43MDYtLjE2OC45NC0uNTAzLjIzNi0uMzM1LjM1My0uNzguMzUzLTEuMzMzIDAtLjUxMS0uMS0uOTEzLS4zMDEtMS4yMDctLjIwMS0uMjk1LS40ODgtLjQ0Mi0uODYtLjQ0Mi0uNDA1IDAtLjcxOC4xOTQtLjkzOC41ODFoLS4wMVYxSDl2NC45MTloLjg5di0uMzg2em0tLjAxNS0xLjA2MXYtLjM0YzAtLjI0OC4wNTgtLjQ0OC4xNzUtLjYwMWEuNTQuNTQgMCAwIDEgLjQ0NS0uMjMuNDkuNDkgMCAwIDEgLjQzNi4yMzNjLjEwNC4xNTQuMTU1LjM2OC4xNTUuNjQzIDAgLjMzLS4wNTYuNTg3LS4xNjkuNzY4YS41MjQuNTI0IDAgMCAxLS40Ny4yNy40OTUuNDk1IDAgMCAxLS40MTEtLjIxMS44NTMuODUzIDAgMCAxLS4xNi0uNTMyek05IDEyLjc2OWMtLjI1Ni4xNTQtLjYyNS4yMzEtMS4xMDguMjMxLS41NjMgMC0xLjAyLS4xNzgtMS4zNjktLjUzMy0uMzQ5LS4zNTUtLjUyMy0uODEzLS41MjMtMS4zNzQgMC0uNjQ4LjE4Ni0xLjE1OC41Ni0xLjUzLjM3NC0uMzc2Ljg3NS0uNTYzIDEuNS0uNTYzLjQzMyAwIC43NDYuMDYuOTQuMTc5di45OThhMS4yNiAxLjI2IDAgMCAwLS43OTItLjI3NmMtLjMyNSAwLS41ODMuMS0uNzc0LjI5OC0uMTkuMTk2LS4yODMuNDY4LS4yODMuODE2IDAgLjMzOC4wOS42MDMuMjcyLjc5Ny4xODIuMTkxLjQzMS4yODcuNzQ5LjI4Ny4yODIgMCAuNTU4LS4wOTIuODI4LS4yNzZ2Ljk0NnpNNCA3TDMgOHY2bDEgMWg3bDEtMVY4bC0xLTFINHptMCAxaDd2Nkg0Vjh6Ii8+PC9zdmc+",f5="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IS0tIFVwbG9hZGVkIHRvOiBTVkcgUmVwbywgd3d3LnN2Z3JlcG8uY29tLCBHZW5lcmF0b3I6IFNWRyBSZXBvIE1peGVyIFRvb2xzIC0tPgo8c3ZnIHdpZHRoPSI4MDBweCIgaGVpZ2h0PSI4MDBweCIgdmlld0JveD0iMCAwIDE2IDE2IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IiNmZmYiPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTEuNiAyLjY3N2MuMTQ3LS4zMS4zNTYtLjQ2NS42MjYtLjQ2NS4yNDggMCAuNDQuMTE4LjU3My4zNTMuMTM0LjIzNi4yMDEuNTU3LjIwMS45NjYgMCAuNDQzLS4wNzguNzk4LS4yMzUgMS4wNjctLjE1Ni4yNjgtLjM2NS40MDItLjYyNy40MDItLjIzNyAwLS40MTYtLjEyNS0uNTM3LS4zNzRoLS4wMDh2LjMxSDExVjFoLjU5M3YxLjY3N2guMDA4em0tLjAxNiAxLjFhLjc4Ljc4IDAgMCAwIC4xMDcuNDI2Yy4wNzEuMTEzLjE2My4xNjkuMjc0LjE2OS4xMzYgMCAuMjQtLjA3Mi4zMTQtLjIxNi4wNzUtLjE0NS4xMTMtLjM1LjExMy0uNjE1IDAtLjIyLS4wMzUtLjM5LS4xMDQtLjUxNC0uMDY3LS4xMjQtLjE2NC0uMTg3LS4yOS0uMTg3LS4xMiAwLS4yMTkuMDYyLS4yOTcuMTg1YS44ODYuODg2IDAgMCAwLS4xMTcuNDh2LjI3MnpNNC4xMiA3LjY5NUwyIDUuNTY4bC42NjItLjY2MiAxLjAwNiAxdi0xLjUxQTEuMzkgMS4zOSAwIDAgMSA1LjA1NSAzSDcuNHYuOTA1SDUuMDU1YS40OS40OSAwIDAgMC0uNDY4LjQ5M2wuMDA3IDEuNS45NDktLjk0NC42NTYuNjU2LTIuMDggMi4wODV6TTkuMzU2IDQuOTNIMTBWMy4yMkMxMCAyLjQwOCA5LjY4NSAyIDkuMDU2IDJjLS4xMzUgMC0uMjg1LjAyNC0uNDUuMDczYTEuNDQ0IDEuNDQ0IDAgMCAwLS4zODguMTY3di42NjVjLjIzNy0uMjAzLjQ4Ny0uMzA0Ljc1LS4zMDQuMjYxIDAgLjM5Mi4xNTYuMzkyLjQ2OWwtLjYuMTAzYy0uNTA2LjA4Ni0uNzYuNDA2LS43Ni45NjEgMCAuMjYzLjA2MS40NzMuMTgzLjYzMUEuNjEuNjEgMCAwIDAgOC42OSA1Yy4yOSAwIC41MDktLjE2LjY1Ny0uNDhoLjAwOXYuNDF6bS4wMDQtMS4zNTV2LjE5M2EuNzUuNzUgMCAwIDEtLjEyLjQzNi4zNjguMzY4IDAgMCAxLS4zMTMuMTcuMjc2LjI3NiAwIDAgMS0uMjItLjA5NS4zOC4zOCAwIDAgMS0uMDgtLjI0OGMwLS4yMjIuMTEtLjM1MS4zMzItLjM4OWwuNC0uMDY3ek03IDEyLjkzaC0uNjQ0di0uNDFoLS4wMDljLS4xNDguMzItLjM2Ny40OC0uNjU3LjQ4YS42MS42MSAwIDAgMS0uNTA3LS4yMzVjLS4xMjItLjE1OC0uMTgzLS4zNjgtLjE4My0uNjMgMC0uNTU2LjI1NC0uODc2Ljc2LS45NjJsLjYtLjEwM2MwLS4zMTMtLjEzLS40Ny0uMzkyLS40Ny0uMjYzIDAtLjUxMy4xMDItLjc1LjMwNXYtLjY2NWMuMDk1LS4wNjMuMjI0LS4xMTkuMzg4LS4xNjcuMTY1LS4wNDkuMzE1LS4wNzMuNDUtLjA3My42MyAwIC45NDQuNDA3Ljk0NCAxLjIydjEuNzF6bS0uNjQtMS4xNjJ2LS4xOTNsLS40LjA2OGMtLjIyMi4wMzctLjMzMy4xNjYtLjMzMy4zODggMCAuMS4wMjcuMTgzLjA4LjI0OGEuMjc2LjI3NiAwIDAgMCAuMjIuMDk1LjM2OC4zNjggMCAwIDAgLjMxMi0uMTdjLjA4LS4xMTYuMTItLjI2LjEyLS40MzZ6TTkuMjYyIDEzYy4zMjEgMCAuNTY4LS4wNTguNzM4LS4xNzN2LS43MWEuOS45IDAgMCAxLS41NTIuMjA3LjYxOS42MTkgMCAwIDEtLjUtLjIxNWMtLjEyLS4xNDUtLjE4MS0uMzQ1LS4xODEtLjU5OCAwLS4yNi4wNjMtLjQ2NC4xODktLjYxMmEuNjQ0LjY0NCAwIDAgMSAuNTE2LS4yMjNjLjE5NCAwIC4zNy4wNjkuNTI4LjIwN3YtLjc0OWMtLjEyOS0uMDktLjMzOC0uMTM0LS42MjYtLjEzNC0uNDE3IDAtLjc1MS4xNC0xLjAwMS40MjItLjI0OS4yOC0uMzczLjY2Mi0uMzczIDEuMTQ4IDAgLjQyLjExNi43NjQuMzQ5IDEuMDMuMjMyLjI2Ny41MzcuNC45MTMuNHpNMiA5bDEtMWg5bDEgMXY1bC0xIDFIM2wtMS0xVjl6bTEgMHY1aDlWOUgzem0zLTJsMS0xaDdsMSAxdjVsLTEgMVY3SDZ6Ii8+PC9zdmc+",gR="",p5=({handleClose:l,searchText:t,setSearchText:n,replaceText:e,setReplaceText:a,handleReplaceAll:r,handleReplace:o,handleNextMatch:s,handlePreviousMatch:c,matchesCount:i,currentMatchIndex:u,searchInputRef:d,replaceInputRef:p,ReplaceBoxOpen:f,setReplaceBoxOpen:h})=>ue.jsx("div",{className:"search-and-replace-modal-overlay modal-overlay",children:ue.jsxs("div",{className:"search-and-replace-modal-content modal-content",children:[ue.jsx("div",{className:"search-and-replace-search-section search-section",children:ue.jsxs("div",{className:"search-and-replace-search-header search-header",children:[ue.jsx("img",{className:`search-and-replace-${f?"chevronDownIcon":"chevronRightIcon"}`,width:20,height:20,src:f?u5:c5,alt:"",onClick:()=>h(!f)}),ue.jsx("span",{children:"Find"}),ue.jsxs("div",{className:"search-and-replace-search-controls search-controls",children:[ue.jsx("input",{autoFocus:!0,type:"text",value:t,onChange:m=>n(m.target.value),className:"search-and-replace-search-input search-input",placeholder:"Search",ref:d}),i===0?ue.jsx("span",{className:"search-and-replace-no-results",children:"No results"}):ue.jsxs("span",{className:"search-and-replace-results-count",children:[u+1," of ",i]}),ue.jsx("button",{className:"search-and-replace-control-btn control-btn",onClick:c,children:ue.jsx("img",{className:"search-and-replace-upArrowIcon upArrowIcon",src:s5,alt:""})}),ue.jsx("button",{className:"search-and-replace-control-btn control-btn",onClick:s,children:ue.jsx("img",{className:"search-and-replace-downArrowIcon downArrowIcon",src:a5,alt:""})}),ue.jsx("button",{className:"search-and-replace-control-btn control-btn close",onClick:l,children:ue.jsx("img",{className:"search-and-replace-downArrowIcon downArrowIcon downArrowIcon",src:l5,alt:""})})]})]})}),f&&ue.jsx("div",{className:"search-and-replace-replace-section replace-section",children:ue.jsxs("div",{className:"search-and-replace-replace-header replace-header",children:[ue.jsx("span",{children:"Replace"}),ue.jsxs("div",{className:"search-and-replace-replace-controls replace-controls",children:[ue.jsx("input",{type:"text",value:e,onChange:m=>a(m.target.value),className:"search-and-replace-replace-input replace-input",placeholder:"Replace",ref:p}),ue.jsx("button",{className:"search-and-replace-control-btn control-btn",onClick:o,children:ue.jsx("img",{width:25,height:22,src:d5,alt:""})}),ue.jsx("button",{className:"search-and-replace-control-btn control-btn",onClick:r,children:ue.jsx("img",{width:25,height:22,src:f5,alt:""})})]})]})})]})});function h5({editor:l,matches:t,currentMatchIndex:n}){const[e,a]=he.useState([]);return he.useEffect(()=>{const r=[];t.forEach((o,s)=>{const c=l.getElementByKey(o.key);if(c&&c.firstChild){const i=c.firstChild;if(i.nodeType===Node.TEXT_NODE){const u=i.textContent||"",d=Math.min(o.start,u.length),p=Math.min(o.end,u.length),f=document.createRange();try{f.setStart(i,d),f.setEnd(i,p)}catch(g){console.error("Error setting range:",g);return}const h=f.getBoundingClientRect(),m=l.getRootElement();if(m){const g=m.getBoundingClientRect();r.push({key:`${o.key}-${o.start}`,top:h.top-g.top,left:h.left-g.left,width:h.width,height:h.height,isSelected:s===n})}}}}),a(r)},[t,n,l]),ue.jsx("div",{className:"search-highlight-container",style:{position:"absolute",top:0,left:0,pointerEvents:"none",width:"100%",height:"100%"},children:e.map(r=>ue.jsx("div",{className:"search-highlight",style:{position:"absolute",top:r.top,left:r.left,width:r.width,height:r.height,backgroundColor:r.isSelected?"orange":"yellow",opacity:r.isSelected?.7:.4,pointerEvents:"none"}},r.key))})}function PS(){const[l]=xn(),[t,n]=he.useState(!1),[e,a]=he.useState(""),[r,o]=he.useState(""),[s,c]=he.useState([]),[i,u]=he.useState(-1),d=he.useRef(null),p=he.useRef(null),[f,h]=he.useState(!1);he.useEffect(()=>{d&&d.current&&d.current.focus()},[]);function m(C){let T=[];return C instanceof no&&T.push(C),C.getChildren&&typeof C.getChildren=="function"&&C.getChildren().forEach(L=>{T=T.concat(m(L))}),T}const g=he.useCallback(()=>{if(!t||e===""){c([]),u(-1);return}l.getEditorState().read(()=>{const C=zn(),T=m(C),L=[],B=e.toLowerCase();T.forEach(D=>{const O=D.getTextContent().toLowerCase();let j=0;for(;j<O.length;){const P=O.indexOf(B,j);if(P===-1)break;L.push({key:D.getKey(),start:P,end:P+e.length}),j=P+1}}),c(L),u(L.length>0?0:-1)})},[t,e,l]),_=()=>{n(!1)},v=C=>{if(C.getTextContent&&typeof C.getTextContent=="function"){const T=C.getTextContent();if(T&&e!==""&&T.toLowerCase().includes(e.toLowerCase())){const L=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),B=new RegExp(L,"gi"),D=T.replace(B,r);C.setTextContent&&C.setTextContent(D)}}C.getChildren&&typeof C.getChildren=="function"&&C.getChildren().forEach(T=>v(T))},w=()=>{l.update(()=>{const C=zn();v(C)}),setTimeout(()=>{g()},0)},S=()=>{l.update(()=>{const C=s[i];if(C){const T=Bn(C.key);if(T&&T instanceof no){const L=T.getTextContent();E(i);const B=L.slice(0,C.start)+r+L.slice(C.end);T.setTextContent(B)}}}),setTimeout(()=>{g()},0)};he.useEffect(()=>{g()},[g]);const E=he.useCallback(C=>{if(s.length===0)return;const T=s[C];l.getEditorState().read(()=>{const L=Bn(T.key);if(L&&L instanceof no){const B=l.getElementByKey(L.getKey());B&&B.scrollIntoView({behavior:"smooth",block:"center"})}})},[s,l]),b=he.useCallback(()=>{if(s.length===0)return;const C=(i+1)%s.length;u(C),E(C)},[i,s,E]),y=he.useCallback(()=>{if(s.length===0)return;const C=(i-1+s.length)%s.length;u(C),E(C)},[i,s,E]),x=he.useCallback(C=>{if((C.ctrlKey||C.metaKey)&&C.key==="f"){if(!l.getRootElement().contains(document.activeElement))return;C.preventDefault(),l.getEditorState().read(()=>{const L=Tt();if(Ct(L)){const B=L.getTextContent();a(B)}}),n(!0)}C.key==="Enter"&&d.current===document.activeElement&&(C.preventDefault(),b())},[l,b]);return he.useEffect(()=>(document.addEventListener("keydown",x),()=>document.removeEventListener("keydown",x)),[x]),he.useEffect(()=>{if(t){const C=l==null?void 0:l.registerUpdateListener(()=>{g()});return()=>{C()}}},[l,t,g]),ue.jsxs(ue.Fragment,{children:[t&&ue.jsx(p5,{handleReplace:S,handleClose:_,handleReplaceAll:w,searchText:e,setSearchText:a,replaceText:r,setReplaceText:o,handleNextMatch:b,handlePreviousMatch:y,matchesCount:s.length,currentMatchIndex:i,searchInputRef:d,replaceInputRef:p,ReplaceBoxOpen:f,setReplaceBoxOpen:h}),ue.jsx(h5,{editor:l,matches:s,currentMatchIndex:i})]})}const mR="";function g5({editorRef:l}){const[t]=xn();return sr.useEffect(()=>{typeof l=="function"?l(t):typeof l=="object"&&(l.current=t)},[t]),null}const Ss=()=>new Map,$y=l=>{const t=Ss();return l.forEach((n,e)=>{t.set(e,n)}),t},Zc=(l,t,n)=>{let e=l.get(t);return e===void 0&&l.set(t,e=n()),e},m5=(l,t)=>{const n=[];for(const[e,a]of l)n.push(t(a,e));return n},y5=(l,t)=>{for(const[n,e]of l)if(t(e,n))return!0;return!1},Xc=()=>new Set,qy=l=>l[l.length-1],Qc=Array.from,v5=Array.isArray;class _5{constructor(){this._observers=Ss()}on(t,n){return Zc(this._observers,t,Xc).add(n),n}once(t,n){const e=(...a)=>{this.off(t,e),n(...a)};this.on(t,e)}off(t,n){const e=this._observers.get(t);e!==void 0&&(e.delete(n),e.size===0&&this._observers.delete(t))}emit(t,n){return Qc((this._observers.get(t)||Ss()).values()).forEach(e=>e(...n))}destroy(){this._observers=Ss()}}const Ll=Math.floor,ph=Math.abs,IS=(l,t)=>l<t?l:t,eu=(l,t)=>l>t?l:t,b5=l=>l!==0?l<0:1/l<0,MS=1,DS=2,Wy=4,Jy=8,w5=32,RS=64,hh=128,x5=31,LS=63,Rd=127,S5=2147483647,E5=Number.isInteger||(l=>typeof l=="number"&&isFinite(l)&&Ll(l)===l),C5=l=>l.toLowerCase(),j5=/^\s*/g,k5=l=>l.replace(j5,""),T5=/([A-Z])/g,FS=(l,t)=>k5(l.replace(T5,n=>`${t}${C5(n)}`)),O5=l=>{const t=unescape(encodeURIComponent(l)),n=t.length,e=new Uint8Array(n);for(let a=0;a<n;a++)e[a]=t.codePointAt(a);return e},Ld=typeof TextEncoder<"u"?new TextEncoder:null,N5=Ld?l=>Ld.encode(l):O5;let Vy=typeof TextDecoder>"u"?null:new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0});Vy&&Vy.decode(new Uint8Array).length===1&&(Vy=null);class Fd{constructor(){this.cpos=0,this.cbuf=new Uint8Array(100),this.bufs=[]}}const Ky=()=>new Fd,A5=l=>{let t=l.cpos;for(let n=0;n<l.bufs.length;n++)t+=l.bufs[n].length;return t},ea=l=>{const t=new Uint8Array(A5(l));let n=0;for(let e=0;e<l.bufs.length;e++){const a=l.bufs[e];t.set(a,n),n+=a.length}return t.set(new Uint8Array(l.cbuf.buffer,0,l.cpos),n),t},P5=(l,t)=>{const n=l.cbuf.length;n-l.cpos<t&&(l.bufs.push(new Uint8Array(l.cbuf.buffer,0,l.cpos)),l.cbuf=new Uint8Array(eu(n,t)*2),l.cpos=0)},xo=(l,t)=>{const n=l.cbuf.length;l.cpos===n&&(l.bufs.push(l.cbuf),l.cbuf=new Uint8Array(n*2),l.cpos=0),l.cbuf[l.cpos++]=t},Gy=xo,Or=(l,t)=>{for(;t>Rd;)xo(l,hh|Rd&t),t=Ll(t/128);xo(l,Rd&t)},Yy=(l,t)=>{const n=b5(t);for(n&&(t=-t),xo(l,(t>LS?hh:0)|(n?RS:0)|LS&t),t=Ll(t/64);t>0;)xo(l,(t>Rd?hh:0)|Rd&t),t=Ll(t/128)},Zy=new Uint8Array(3e4),I5=Zy.length/3,M5=(l,t)=>{if(t.length<I5){const n=Ld.encodeInto(t,Zy).written||0;Or(l,n);for(let e=0;e<n;e++)xo(l,Zy[e])}else Si(l,N5(t))},D5=(l,t)=>{const n=unescape(encodeURIComponent(t)),e=n.length;Or(l,e);for(let a=0;a<e;a++)xo(l,n.codePointAt(a))},tu=Ld&&Ld.encodeInto?M5:D5,Xy=(l,t)=>{const n=l.cbuf.length,e=l.cpos,a=IS(n-e,t.length),r=t.length-a;l.cbuf.set(t.subarray(0,a),e),l.cpos+=a,r>0&&(l.bufs.push(l.cbuf),l.cbuf=new Uint8Array(eu(n*2,r)),l.cbuf.set(t.subarray(a)),l.cpos=r)},Si=(l,t)=>{Or(l,t.byteLength),Xy(l,t)},Qy=(l,t)=>{P5(l,t);const n=new DataView(l.cbuf.buffer,l.cpos,t);return l.cpos+=t,n},R5=(l,t)=>Qy(l,4).setFloat32(0,t,!1),L5=(l,t)=>Qy(l,8).setFloat64(0,t,!1),F5=(l,t)=>Qy(l,8).setBigInt64(0,t,!1),BS=new DataView(new ArrayBuffer(4)),B5=l=>(BS.setFloat32(0,l),BS.getFloat32(0)===l),Bd=(l,t)=>{switch(typeof t){case"string":xo(l,119),tu(l,t);break;case"number":E5(t)&&ph(t)<=S5?(xo(l,125),Yy(l,t)):B5(t)?(xo(l,124),R5(l,t)):(xo(l,123),L5(l,t));break;case"bigint":xo(l,122),F5(l,t);break;case"object":if(t===null)xo(l,126);else if(v5(t)){xo(l,117),Or(l,t.length);for(let n=0;n<t.length;n++)Bd(l,t[n])}else if(t instanceof Uint8Array)xo(l,116),Si(l,t);else{xo(l,118);const n=Object.keys(t);Or(l,n.length);for(let e=0;e<n.length;e++){const a=n[e];tu(l,a),Bd(l,t[a])}}break;case"boolean":xo(l,t?120:121);break;default:xo(l,127)}};class zS extends Fd{constructor(t){super(),this.w=t,this.s=null,this.count=0}write(t){this.s===t?this.count++:(this.count>0&&Or(this,this.count-1),this.count=1,this.w(this,t),this.s=t)}}const US=l=>{l.count>0&&(Yy(l.encoder,l.count===1?l.s:-l.s),l.count>1&&Or(l.encoder,l.count-2))};class gh{constructor(){this.encoder=new Fd,this.s=0,this.count=0}write(t){this.s===t?this.count++:(US(this),this.count=1,this.s=t)}toUint8Array(){return US(this),ea(this.encoder)}}const HS=l=>{if(l.count>0){const t=l.diff*2+(l.count===1?0:1);Yy(l.encoder,t),l.count>1&&Or(l.encoder,l.count-2)}};class e0{constructor(){this.encoder=new Fd,this.s=0,this.count=0,this.diff=0}write(t){this.diff===t-this.s?(this.s=t,this.count++):(HS(this),this.count=1,this.diff=t-this.s,this.s=t)}toUint8Array(){return HS(this),ea(this.encoder)}}class z5{constructor(){this.sarr=[],this.s="",this.lensE=new gh}write(t){this.s+=t,this.s.length>19&&(this.sarr.push(this.s),this.s=""),this.lensE.write(t.length)}toUint8Array(){const t=new Fd;return this.sarr.push(this.s),this.s="",tu(t,this.sarr.join("")),Xy(t,this.lensE.toUint8Array()),ea(t)}}const nu=l=>new Error(l),Es=()=>{throw nu("Method unimplemented")},Fl=()=>{throw nu("Unexpected case")},U5=crypto.getRandomValues.bind(crypto),$S=()=>U5(new Uint32Array(1))[0],H5=[1e7]+-1e3+-4e3+-8e3+-1e11,$5=()=>H5.replace(/[018]/g,l=>(l^$S()&15>>l/4).toString(16)),qS=l=>new Promise(l);Promise.all.bind(Promise);const WS=l=>l===void 0?null:l;class q5{constructor(){this.map=new Map}setItem(t,n){this.map.set(t,n)}getItem(t){return this.map.get(t)}}let JS=new q5,W5=!0;try{typeof localStorage<"u"&&localStorage&&(JS=localStorage,W5=!1)}catch{}const J5=JS,V5=Object.assign,K5=Object.keys,G5=(l,t)=>{for(const n in l)t(l[n],n)},VS=l=>K5(l).length,Y5=l=>{for(const t in l)return!1;return!0},Z5=(l,t)=>{for(const n in l)if(!t(l[n],n))return!1;return!0},X5=(l,t)=>Object.prototype.hasOwnProperty.call(l,t),Q5=(l,t)=>l===t||VS(l)===VS(t)&&Z5(l,(n,e)=>(n!==void 0||X5(t,e))&&t[e]===n),t0=(l,t,n=0)=>{try{for(;n<l.length;n++)l[n](...t)}finally{n<l.length&&t0(l,t,n+1)}},eM=(l,t)=>t.includes(l),zd=typeof process<"u"&&process.release&&/node|io\.js/.test(process.release.name)&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]";let Cs;const tM=()=>{if(Cs===void 0)if(zd){Cs=Ss();const l=process.argv;let t=null;for(let n=0;n<l.length;n++){const e=l[n];e[0]==="-"?(t!==null&&Cs.set(t,""),t=e):t!==null&&(Cs.set(t,e),t=null)}t!==null&&Cs.set(t,"")}else typeof location=="object"?(Cs=Ss(),(location.search||"?").slice(1).split("&").forEach(l=>{if(l.length!==0){const[t,n]=l.split("=");Cs.set(`--${FS(t,"-")}`,n),Cs.set(`-${FS(t,"-")}`,n)}})):Cs=Ss();return Cs},n0=l=>tM().has(l),r0=l=>WS(zd?process.env[l.toUpperCase().replaceAll("-","_")]:J5.getItem(l)),KS=l=>n0("--"+l)||r0(l)!==null;KS("production");const nM=zd&&eM(process.env.FORCE_COLOR,["true","1","2"])||!n0("--no-colors")&&!KS("no-color")&&(!zd||process.stdout.isTTY)&&(!zd||n0("--color")||r0("COLORTERM")!==null||(r0("TERM")||"").includes("color"));class rM{constructor(t,n){this.left=t,this.right=n}}const ta=(l,t)=>new rM(l,t);typeof DOMParser<"u"&&new DOMParser;const oM=l=>m5(l,(t,n)=>`${n}:${t};`).join(""),na=Symbol,GS=na(),YS=na(),iM=na(),sM=na(),aM=na(),ZS=na(),lM=na(),XS=na(),cM=na(),uM=l=>{var a;l.length===1&&((a=l[0])==null?void 0:a.constructor)===Function&&(l=l[0]());const t=[],n=[];let e=0;for(;e<l.length;e++){const r=l[e];if(r===void 0)break;if(r.constructor===String||r.constructor===Number)t.push(r);else if(r.constructor===Object)break}for(e>0&&n.push(t.join(""));e<l.length;e++){const r=l[e];r instanceof Symbol||n.push(r)}return n},dM={[GS]:ta("font-weight","bold"),[YS]:ta("font-weight","normal"),[iM]:ta("color","blue"),[aM]:ta("color","green"),[sM]:ta("color","grey"),[ZS]:ta("color","red"),[lM]:ta("color","purple"),[XS]:ta("color","orange"),[cM]:ta("color","black")},fM=nM?l=>{var o;l.length===1&&((o=l[0])==null?void 0:o.constructor)===Function&&(l=l[0]());const t=[],n=[],e=Ss();let a=[],r=0;for(;r<l.length;r++){const s=l[r],c=dM[s];if(c!==void 0)e.set(c.left,c.right);else{if(s===void 0)break;if(s.constructor===String||s.constructor===Number){const i=oM(e);r>0||i.length>0?(t.push("%c"+s),n.push(i)):t.push(s)}else break}}for(r>0&&(a=n,a.unshift(t.join("")));r<l.length;r++){const s=l[r];s instanceof Symbol||a.push(s)}return a}:uM,pM=(...l)=>{console.log(...fM(l)),hM.forEach(t=>t.print(l))},hM=Xc(),QS=l=>({[Symbol.iterator](){return this},next:l}),gM=(l,t)=>QS(()=>{let n;do n=l.next();while(!n.done&&!t(n.value));return n}),o0=(l,t)=>QS(()=>{const{done:n,value:e}=l.next();return{done:n,value:n?void 0:t(e)}});class mM{constructor(t,n){this.clock=t,this.len=n}}class yM{constructor(){this.clients=new Map}}const eE=(l,t,n)=>t.clients.forEach((e,a)=>{const r=l.doc.store.clients.get(a);for(let o=0;o<e.length;o++){const s=e[o];dE(l,r,s.clock,s.len,n)}}),vM=(l,t)=>{let n=0,e=l.length-1;for(;n<=e;){const a=Ll((n+e)/2),r=l[a],o=r.clock;if(o<=t){if(t<o+r.len)return a;n=a+1}else e=a-1}return null},tE=(l,t)=>{const n=l.clients.get(t.client);return n!==void 0&&vM(n,t.clock)!==null},nE=l=>{l.clients.forEach(t=>{t.sort((a,r)=>a.clock-r.clock);let n,e;for(n=1,e=1;n<t.length;n++){const a=t[e-1],r=t[n];a.clock+a.len>=r.clock?a.len=eu(a.len,r.clock+r.len-a.clock):(e<n&&(t[e]=r),e++)}t.length=e})},rE=(l,t,n,e)=>{Zc(l.clients,t,()=>[]).push(new mM(n,e))},_M=(l,t)=>{Or(l.restEncoder,t.clients.size),Qc(t.clients.entries()).sort((n,e)=>e[0]-n[0]).forEach(([n,e])=>{l.resetDsCurVal(),Or(l.restEncoder,n);const a=e.length;Or(l.restEncoder,a);for(let r=0;r<a;r++){const o=e[r];l.writeDsClock(o.clock),l.writeDsLen(o.len)}})},oE=$S;class Ud extends _5{constructor({guid:t=$5(),collectionid:n=null,gc:e=!0,gcFilter:a=()=>!0,meta:r=null,autoLoad:o=!1,shouldLoad:s=!0}={}){super(),this.gc=e,this.gcFilter=a,this.clientID=oE(),this.guid=t,this.collectionid=n,this.share=new Map,this.store=new OM,this._transaction=null,this._transactionCleanups=[],this.subdocs=new Set,this._item=null,this.shouldLoad=s,this.autoLoad=o,this.meta=r,this.isLoaded=!1,this.isSynced=!1,this.whenLoaded=qS(i=>{this.on("load",()=>{this.isLoaded=!0,i(this)})});const c=()=>qS(i=>{const u=d=>{(d===void 0||d===!0)&&(this.off("sync",u),i())};this.on("sync",u)});this.on("sync",i=>{i===!1&&this.isSynced&&(this.whenSynced=c()),this.isSynced=i===void 0||i===!0,this.isSynced&&!this.isLoaded&&this.emit("load",[this])}),this.whenSynced=c()}load(){const t=this._item;t!==null&&!this.shouldLoad&&Fr(t.parent.doc,n=>{n.subdocsLoaded.add(this)},null,!0),this.shouldLoad=!0}getSubdocs(){return this.subdocs}getSubdocGuids(){return new Set(Qc(this.subdocs).map(t=>t.guid))}transact(t,n=null){return Fr(this,t,n)}get(t,n=Io){const e=Zc(this.share,t,()=>{const r=new n;return r._integrate(this,null),r}),a=e.constructor;if(n!==Io&&a!==n)if(a===Io){const r=new n;r._map=e._map,e._map.forEach(o=>{for(;o!==null;o=o.left)o.parent=r}),r._start=e._start;for(let o=r._start;o!==null;o=o.right)o.parent=r;return r._length=e._length,this.share.set(t,r),r._integrate(this,null),r}else throw new Error(`Type with the name ${t} has already been defined with a different constructor`);return e}getArray(t=""){return this.get(t,Bl)}getText(t=""){return this.get(t,jh)}getMap(t=""){return this.get(t,ou)}getXmlElement(t=""){return this.get(t,qd)}getXmlFragment(t=""){return this.get(t,su)}toJSON(){const t={};return this.share.forEach((n,e)=>{t[e]=n.toJSON()}),t}destroy(){Qc(this.subdocs).forEach(n=>n.destroy());const t=this._item;if(t!==null){this._item=null;const n=t.content;n.doc=new Ud({guid:this.guid,...n.opts,shouldLoad:!1}),n.doc._item=t,Fr(t.parent.doc,e=>{const a=n.doc;t.deleted||e.subdocsAdded.add(a),e.subdocsRemoved.add(this)},null,!0)}this.emit("destroyed",[!0]),this.emit("destroy",[this]),super.destroy()}}class bM{constructor(){this.restEncoder=Ky()}toUint8Array(){return ea(this.restEncoder)}resetDsCurVal(){}writeDsClock(t){Or(this.restEncoder,t)}writeDsLen(t){Or(this.restEncoder,t)}}class wM extends bM{writeLeftID(t){Or(this.restEncoder,t.client),Or(this.restEncoder,t.clock)}writeRightID(t){Or(this.restEncoder,t.client),Or(this.restEncoder,t.clock)}writeClient(t){Or(this.restEncoder,t)}writeInfo(t){Gy(this.restEncoder,t)}writeString(t){tu(this.restEncoder,t)}writeParentInfo(t){Or(this.restEncoder,t?1:0)}writeTypeRef(t){Or(this.restEncoder,t)}writeLen(t){Or(this.restEncoder,t)}writeAny(t){Bd(this.restEncoder,t)}writeBuf(t){Si(this.restEncoder,t)}writeJSON(t){tu(this.restEncoder,JSON.stringify(t))}writeKey(t){tu(this.restEncoder,t)}}class xM{constructor(){this.restEncoder=Ky(),this.dsCurrVal=0}toUint8Array(){return ea(this.restEncoder)}resetDsCurVal(){this.dsCurrVal=0}writeDsClock(t){const n=t-this.dsCurrVal;this.dsCurrVal=t,Or(this.restEncoder,n)}writeDsLen(t){t===0&&Fl(),Or(this.restEncoder,t-1),this.dsCurrVal+=t}}class SM extends xM{constructor(){super(),this.keyMap=new Map,this.keyClock=0,this.keyClockEncoder=new e0,this.clientEncoder=new gh,this.leftClockEncoder=new e0,this.rightClockEncoder=new e0,this.infoEncoder=new zS(Gy),this.stringEncoder=new z5,this.parentInfoEncoder=new zS(Gy),this.typeRefEncoder=new gh,this.lenEncoder=new gh}toUint8Array(){const t=Ky();return Or(t,0),Si(t,this.keyClockEncoder.toUint8Array()),Si(t,this.clientEncoder.toUint8Array()),Si(t,this.leftClockEncoder.toUint8Array()),Si(t,this.rightClockEncoder.toUint8Array()),Si(t,ea(this.infoEncoder)),Si(t,this.stringEncoder.toUint8Array()),Si(t,ea(this.parentInfoEncoder)),Si(t,this.typeRefEncoder.toUint8Array()),Si(t,this.lenEncoder.toUint8Array()),Xy(t,ea(this.restEncoder)),ea(t)}writeLeftID(t){this.clientEncoder.write(t.client),this.leftClockEncoder.write(t.clock)}writeRightID(t){this.clientEncoder.write(t.client),this.rightClockEncoder.write(t.clock)}writeClient(t){this.clientEncoder.write(t)}writeInfo(t){this.infoEncoder.write(t)}writeString(t){this.stringEncoder.write(t)}writeParentInfo(t){this.parentInfoEncoder.write(t?1:0)}writeTypeRef(t){this.typeRefEncoder.write(t)}writeLen(t){this.lenEncoder.write(t)}writeAny(t){Bd(this.restEncoder,t)}writeBuf(t){Si(this.restEncoder,t)}writeJSON(t){Bd(this.restEncoder,t)}writeKey(t){const n=this.keyMap.get(t);n===void 0?(this.keyClockEncoder.write(this.keyClock++),this.stringEncoder.write(t)):this.keyClockEncoder.write(n)}}const EM=(l,t,n,e)=>{e=eu(e,t[0].id.clock);const a=ra(t,e);Or(l.restEncoder,t.length-a),l.writeClient(n),Or(l.restEncoder,e);const r=t[a];r.write(l,e-r.id.clock);for(let o=a+1;o<t.length;o++)t[o].write(l,0)},CM=(l,t,n)=>{const e=new Map;n.forEach((a,r)=>{li(t,r)>a&&e.set(r,a)}),s0(t).forEach((a,r)=>{n.has(r)||e.set(r,0)}),Or(l.restEncoder,e.size),Qc(e.entries()).sort((a,r)=>r[0]-a[0]).forEach(([a,r])=>{EM(l,t.clients.get(a),a,r)})},jM=(l,t)=>CM(l,t.doc.store,t.beforeState);class kM{constructor(){this.l=[]}}const iE=()=>new kM,sE=(l,t)=>l.l.push(t),aE=(l,t)=>{const n=l.l,e=n.length;l.l=n.filter(a=>t!==a),e===l.l.length&&console.error("[yjs] Tried to remove event handler that doesn't exist.")},lE=(l,t,n)=>t0(l.l,[t,n]);class mh{constructor(t,n){this.client=t,this.clock=n}}const yh=(l,t)=>l===t||l!==null&&t!==null&&l.client===t.client&&l.clock===t.clock,Yr=(l,t)=>new mh(l,t),TM=l=>{for(const[t,n]of l.doc.share.entries())if(n===l)return t;throw Fl()},ru=(l,t)=>t===void 0?!l.deleted:t.sv.has(l.id.client)&&(t.sv.get(l.id.client)||0)>l.id.clock&&!tE(t.ds,l.id),i0=(l,t)=>{const n=Zc(l.meta,i0,Xc),e=l.doc.store;n.has(t)||(t.sv.forEach((a,r)=>{a<li(e,r)&&Ja(l,Yr(r,a))}),eE(l,t.ds,a=>{}),n.add(t))};class OM{constructor(){this.clients=new Map,this.pendingStructs=null,this.pendingDs=null}}const s0=l=>{const t=new Map;return l.clients.forEach((n,e)=>{const a=n[n.length-1];t.set(e,a.id.clock+a.length)}),t},li=(l,t)=>{const n=l.clients.get(t);if(n===void 0)return 0;const e=n[n.length-1];return e.id.clock+e.length},cE=(l,t)=>{let n=l.clients.get(t.id.client);if(n===void 0)n=[],l.clients.set(t.id.client,n);else{const e=n[n.length-1];if(e.id.clock+e.length!==t.id.clock)throw Fl()}n.push(t)},ra=(l,t)=>{let n=0,e=l.length-1,a=l[e],r=a.id.clock;if(r===t)return e;let o=Ll(t/(r+a.length-1)*e);for(;n<=e;){if(a=l[o],r=a.id.clock,r<=t){if(t<r+a.length)return o;n=o+1}else e=o-1;o=Ll((n+e)/2)}throw Fl()},a0=(l,t)=>{const n=l.clients.get(t.client);return n[ra(n,t.clock)]},l0=(l,t,n)=>{const e=ra(t,n),a=t[e];return a.id.clock<n&&a instanceof $o?(t.splice(e+1,0,RE(l,a,n-a.id.clock)),e+1):e},Ja=(l,t)=>{const n=l.doc.store.clients.get(t.client);return n[l0(l,n,t.clock)]},uE=(l,t,n)=>{const e=t.clients.get(n.client),a=ra(e,n.clock),r=e[a];return n.clock!==r.id.clock+r.length-1&&r.constructor!==Ka&&e.splice(a+1,0,RE(l,r,n.clock-r.id.clock+1)),r},NM=(l,t,n)=>{const e=l.clients.get(t.id.client);e[ra(e,t.id.clock)]=n},dE=(l,t,n,e,a)=>{if(e===0)return;const r=n+e;let o=l0(l,t,n),s;do s=t[o++],r<s.id.clock+s.length&&l0(l,t,r),a(s);while(o<t.length&&t[o].id.clock<r)};class AM{constructor(t,n,e){this.doc=t,this.deleteSet=new yM,this.beforeState=s0(t.store),this.afterState=new Map,this.changed=new Map,this.changedParentTypes=new Map,this._mergeStructs=[],this.origin=n,this.meta=new Map,this.local=e,this.subdocsAdded=new Set,this.subdocsRemoved=new Set,this.subdocsLoaded=new Set,this._needFormattingCleanup=!1}}const fE=(l,t)=>t.deleteSet.clients.size===0&&!y5(t.afterState,(n,e)=>t.beforeState.get(e)!==n)?!1:(nE(t.deleteSet),jM(l,t),_M(l,t.deleteSet),!0),pE=(l,t,n)=>{const e=t._item;(e===null||e.id.clock<(l.beforeState.get(e.id.client)||0)&&!e.deleted)&&Zc(l.changed,t,Xc).add(n)},vh=(l,t)=>{let n=l[t],e=l[t-1],a=t;for(;a>0;n=e,e=l[--a-1]){if(e.deleted===n.deleted&&e.constructor===n.constructor&&e.mergeWith(n)){n instanceof $o&&n.parentSub!==null&&n.parent._map.get(n.parentSub)===n&&n.parent._map.set(n.parentSub,e);continue}break}const r=t-a;return r&&l.splice(t+1-r,r),r},PM=(l,t,n)=>{for(const[e,a]of l.clients.entries()){const r=t.clients.get(e);for(let o=a.length-1;o>=0;o--){const s=a[o],c=s.clock+s.len;for(let i=ra(r,s.clock),u=r[i];i<r.length&&u.id.clock<c;u=r[++i]){const d=r[i];if(s.clock+s.len<=d.id.clock)break;d instanceof $o&&d.deleted&&!d.keep&&n(d)&&d.gc(t,!1)}}}},IM=(l,t)=>{l.clients.forEach((n,e)=>{const a=t.clients.get(e);for(let r=n.length-1;r>=0;r--){const o=n[r],s=IS(a.length-1,1+ra(a,o.clock+o.len-1));for(let c=s,i=a[c];c>0&&i.id.clock>=o.clock;i=a[c])c-=1+vh(a,c)}})},hE=(l,t)=>{if(t<l.length){const n=l[t],e=n.doc,a=e.store,r=n.deleteSet,o=n._mergeStructs;try{nE(r),n.afterState=s0(n.doc.store),e.emit("beforeObserverCalls",[n,e]);const s=[];n.changed.forEach((c,i)=>s.push(()=>{(i._item===null||!i._item.deleted)&&i._callObserver(n,c)})),s.push(()=>{n.changedParentTypes.forEach((c,i)=>{i._dEH.l.length>0&&(i._item===null||!i._item.deleted)&&(c=c.filter(u=>u.target._item===null||!u.target._item.deleted),c.forEach(u=>{u.currentTarget=i,u._path=null}),c.sort((u,d)=>u.path.length-d.path.length),lE(i._dEH,c,n))})}),s.push(()=>e.emit("afterTransaction",[n,e])),t0(s,[]),n._needFormattingCleanup&&qM(n)}finally{e.gc&&PM(r,a,e.gcFilter),IM(r,a),n.afterState.forEach((u,d)=>{const p=n.beforeState.get(d)||0;if(p!==u){const f=a.clients.get(d),h=eu(ra(f,p),1);for(let m=f.length-1;m>=h;)m-=1+vh(f,m)}});for(let u=o.length-1;u>=0;u--){const{client:d,clock:p}=o[u].id,f=a.clients.get(d),h=ra(f,p);h+1<f.length&&vh(f,h+1)>1||h>0&&vh(f,h)}if(!n.local&&n.afterState.get(e.clientID)!==n.beforeState.get(e.clientID)&&(pM(XS,GS,"[yjs] ",YS,ZS,"Changed the client-id because another client seems to be using it."),e.clientID=oE()),e.emit("afterTransactionCleanup",[n,e]),e._observers.has("update")){const u=new wM;fE(u,n)&&e.emit("update",[u.toUint8Array(),n.origin,e,n])}if(e._observers.has("updateV2")){const u=new SM;fE(u,n)&&e.emit("updateV2",[u.toUint8Array(),n.origin,e,n])}const{subdocsAdded:s,subdocsLoaded:c,subdocsRemoved:i}=n;(s.size>0||i.size>0||c.size>0)&&(s.forEach(u=>{u.clientID=e.clientID,u.collectionid==null&&(u.collectionid=e.collectionid),e.subdocs.add(u)}),i.forEach(u=>e.subdocs.delete(u)),e.emit("subdocs",[{loaded:c,added:s,removed:i},e,n]),i.forEach(u=>u.destroy())),l.length<=t+1?(e._transactionCleanups=[],e.emit("afterAllTransactions",[e,l])):hE(l,t+1)}}},Fr=(l,t,n=null,e=!0)=>{const a=l._transactionCleanups;let r=!1,o=null;l._transaction===null&&(r=!0,l._transaction=new AM(l,n,e),a.push(l._transaction),a.length===1&&l.emit("beforeAllTransactions",[l]),l.emit("beforeTransaction",[l._transaction,l]));try{o=t(l._transaction)}finally{if(r){const s=l._transaction===a[0];l._transaction=null,s&&hE(a,0)}}return o},gE="You must not compute changes after the event-handler fired.";class _h{constructor(t,n){this.target=t,this.currentTarget=t,this.transaction=n,this._changes=null,this._keys=null,this._delta=null,this._path=null}get path(){return this._path||(this._path=MM(this.currentTarget,this.target))}deletes(t){return tE(this.transaction.deleteSet,t.id)}get keys(){if(this._keys===null){if(this.transaction.doc._transactionCleanups.length===0)throw nu(gE);const t=new Map,n=this.target;this.transaction.changed.get(n).forEach(a=>{if(a!==null){const r=n._map.get(a);let o,s;if(this.adds(r)){let c=r.left;for(;c!==null&&this.adds(c);)c=c.left;if(this.deletes(r))if(c!==null&&this.deletes(c))o="delete",s=qy(c.content.getContent());else return;else c!==null&&this.deletes(c)?(o="update",s=qy(c.content.getContent())):(o="add",s=void 0)}else if(this.deletes(r))o="delete",s=qy(r.content.getContent());else return;t.set(a,{action:o,oldValue:s})}}),this._keys=t}return this._keys}get delta(){return this.changes.delta}adds(t){return t.id.clock>=(this.transaction.beforeState.get(t.id.client)||0)}get changes(){let t=this._changes;if(t===null){if(this.transaction.doc._transactionCleanups.length===0)throw nu(gE);const n=this.target,e=Xc(),a=Xc(),r=[];if(t={added:e,deleted:a,delta:r,keys:this.keys},this.transaction.changed.get(n).has(null)){let s=null;const c=()=>{s&&r.push(s)};for(let i=n._start;i!==null;i=i.right)i.deleted?this.deletes(i)&&!this.adds(i)&&((s===null||s.delete===void 0)&&(c(),s={delete:0}),s.delete+=i.length,a.add(i)):this.adds(i)?((s===null||s.insert===void 0)&&(c(),s={insert:[]}),s.insert=s.insert.concat(i.content.getContent()),e.add(i)):((s===null||s.retain===void 0)&&(c(),s={retain:0}),s.retain+=i.length);s!==null&&s.retain===void 0&&c()}this._changes=t}return t}}const MM=(l,t)=>{const n=[];for(;t._item!==null&&t!==l;){if(t._item.parentSub!==null)n.unshift(t._item.parentSub);else{let e=0,a=t._item.parent._start;for(;a!==t._item&&a!==null;)a.deleted||e++,a=a.right;n.unshift(e)}t=t._item.parent}return n},mE=80;let c0=0;class DM{constructor(t,n){t.marker=!0,this.p=t,this.index=n,this.timestamp=c0++}}const RM=l=>{l.timestamp=c0++},yE=(l,t,n)=>{l.p.marker=!1,l.p=t,t.marker=!0,l.index=n,l.timestamp=c0++},LM=(l,t,n)=>{if(l.length>=mE){const e=l.reduce((a,r)=>a.timestamp<r.timestamp?a:r);return yE(e,t,n),e}else{const e=new DM(t,n);return l.push(e),e}},bh=(l,t)=>{if(l._start===null||t===0||l._searchMarker===null)return null;const n=l._searchMarker.length===0?null:l._searchMarker.reduce((r,o)=>ph(t-r.index)<ph(t-o.index)?r:o);let e=l._start,a=0;for(n!==null&&(e=n.p,a=n.index,RM(n));e.right!==null&&a<t;){if(!e.deleted&&e.countable){if(t<a+e.length)break;a+=e.length}e=e.right}for(;e.left!==null&&a>t;)e=e.left,!e.deleted&&e.countable&&(a-=e.length);for(;e.left!==null&&e.left.id.client===e.id.client&&e.left.id.clock+e.left.length===e.id.clock;)e=e.left,!e.deleted&&e.countable&&(a-=e.length);return n!==null&&ph(n.index-a)<e.parent.length/mE?(yE(n,e,a),n):LM(l._searchMarker,e,a)},Hd=(l,t,n)=>{for(let e=l.length-1;e>=0;e--){const a=l[e];if(n>0){let r=a.p;for(r.marker=!1;r&&(r.deleted||!r.countable);)r=r.left,r&&!r.deleted&&r.countable&&(a.index-=r.length);if(r===null||r.marker===!0){l.splice(e,1);continue}a.p=r,r.marker=!0}(t<a.index||n>0&&t===a.index)&&(a.index=eu(t,a.index+n))}},wh=(l,t,n)=>{const e=l,a=t.changedParentTypes;for(;Zc(a,l,()=>[]).push(n),l._item!==null;)l=l._item.parent;lE(e._eH,n,t)};class Io{constructor(){this._item=null,this._map=new Map,this._start=null,this.doc=null,this._length=0,this._eH=iE(),this._dEH=iE(),this._searchMarker=null}get parent(){return this._item?this._item.parent:null}_integrate(t,n){this.doc=t,this._item=n}_copy(){throw Es()}clone(){throw Es()}_write(t){}get _first(){let t=this._start;for(;t!==null&&t.deleted;)t=t.right;return t}_callObserver(t,n){!t.local&&this._searchMarker&&(this._searchMarker.length=0)}observe(t){sE(this._eH,t)}observeDeep(t){sE(this._dEH,t)}unobserve(t){aE(this._eH,t)}unobserveDeep(t){aE(this._dEH,t)}toJSON(){}}const vE=(l,t,n)=>{t<0&&(t=l._length+t),n<0&&(n=l._length+n);let e=n-t;const a=[];let r=l._start;for(;r!==null&&e>0;){if(r.countable&&!r.deleted){const o=r.content.getContent();if(o.length<=t)t-=o.length;else{for(let s=t;s<o.length&&e>0;s++)a.push(o[s]),e--;t=0}}r=r.right}return a},_E=l=>{const t=[];let n=l._start;for(;n!==null;){if(n.countable&&!n.deleted){const e=n.content.getContent();for(let a=0;a<e.length;a++)t.push(e[a])}n=n.right}return t},$d=(l,t)=>{let n=0,e=l._start;for(;e!==null;){if(e.countable&&!e.deleted){const a=e.content.getContent();for(let r=0;r<a.length;r++)t(a[r],n++,l)}e=e.right}},bE=(l,t)=>{const n=[];return $d(l,(e,a)=>{n.push(t(e,a,l))}),n},FM=l=>{let t=l._start,n=null,e=0;return{[Symbol.iterator](){return this},next:()=>{if(n===null){for(;t!==null&&t.deleted;)t=t.right;if(t===null)return{done:!0,value:void 0};n=t.content.getContent(),e=0,t=t.right}const a=n[e++];return n.length<=e&&(n=null),{done:!1,value:a}}}},wE=(l,t)=>{const n=bh(l,t);let e=l._start;for(n!==null&&(e=n.p,t-=n.index);e!==null;e=e.right)if(!e.deleted&&e.countable){if(t<e.length)return e.content.getContent()[t];t-=e.length}},xh=(l,t,n,e)=>{let a=n;const r=l.doc,o=r.clientID,s=r.store,c=n===null?t._start:n.right;let i=[];const u=()=>{i.length>0&&(a=new $o(Yr(o,li(s,o)),a,a&&a.lastId,c,c&&c.id,t,null,new lu(i)),a.integrate(l,0),i=[])};e.forEach(d=>{if(d===null)i.push(d);else switch(d.constructor){case Number:case Object:case Boolean:case Array:case String:i.push(d);break;default:switch(u(),d.constructor){case Uint8Array:case ArrayBuffer:a=new $o(Yr(o,li(s,o)),a,a&&a.lastId,c,c&&c.id,t,null,new kh(new Uint8Array(d))),a.integrate(l,0);break;case Ud:a=new $o(Yr(o,li(s,o)),a,a&&a.lastId,c,c&&c.id,t,null,new Oh(d)),a.integrate(l,0);break;default:if(d instanceof Io)a=new $o(Yr(o,li(s,o)),a,a&&a.lastId,c,c&&c.id,t,null,new Ga(d)),a.integrate(l,0);else throw new Error("Unexpected content type in insert operation")}}}),u()},xE=()=>nu("Length exceeded!"),SE=(l,t,n,e)=>{if(n>t._length)throw xE();if(n===0)return t._searchMarker&&Hd(t._searchMarker,n,e.length),xh(l,t,null,e);const a=n,r=bh(t,n);let o=t._start;for(r!==null&&(o=r.p,n-=r.index,n===0&&(o=o.prev,n+=o&&o.countable&&!o.deleted?o.length:0));o!==null;o=o.right)if(!o.deleted&&o.countable){if(n<=o.length){n<o.length&&Ja(l,Yr(o.id.client,o.id.clock+n));break}n-=o.length}return t._searchMarker&&Hd(t._searchMarker,a,e.length),xh(l,t,o,e)},BM=(l,t,n)=>{let a=(t._searchMarker||[]).reduce((r,o)=>o.index>r.index?o:r,{index:0,p:t._start}).p;if(a)for(;a.right;)a=a.right;return xh(l,t,a,n)},EE=(l,t,n,e)=>{if(e===0)return;const a=n,r=e,o=bh(t,n);let s=t._start;for(o!==null&&(s=o.p,n-=o.index);s!==null&&n>0;s=s.right)!s.deleted&&s.countable&&(n<s.length&&Ja(l,Yr(s.id.client,s.id.clock+n)),n-=s.length);for(;e>0&&s!==null;)s.deleted||(e<s.length&&Ja(l,Yr(s.id.client,s.id.clock+e)),s.delete(l),e-=s.length),s=s.right;if(e>0)throw xE();t._searchMarker&&Hd(t._searchMarker,a,-r+e)},Sh=(l,t,n)=>{const e=t._map.get(n);e!==void 0&&e.delete(l)},u0=(l,t,n,e)=>{const a=t._map.get(n)||null,r=l.doc,o=r.clientID;let s;if(e==null)s=new lu([e]);else switch(e.constructor){case Number:case Object:case Boolean:case Array:case String:s=new lu([e]);break;case Uint8Array:s=new kh(e);break;case Ud:s=new Oh(e);break;default:if(e instanceof Io)s=new Ga(e);else throw new Error("Unexpected content type")}new $o(Yr(o,li(r.store,o)),a,a&&a.lastId,null,null,t,n,s).integrate(l,0)},d0=(l,t)=>{const n=l._map.get(t);return n!==void 0&&!n.deleted?n.content.getContent()[n.length-1]:void 0},CE=l=>{const t={};return l._map.forEach((n,e)=>{n.deleted||(t[e]=n.content.getContent()[n.length-1])}),t},jE=(l,t)=>{const n=l._map.get(t);return n!==void 0&&!n.deleted},zM=(l,t)=>{const n={};return l._map.forEach((e,a)=>{let r=e;for(;r!==null&&(!t.sv.has(r.id.client)||r.id.clock>=(t.sv.get(r.id.client)||0));)r=r.left;r!==null&&ru(r,t)&&(n[a]=r.content.getContent()[r.length-1])}),n},Eh=l=>gM(l.entries(),t=>!t[1].deleted);class kE extends _h{constructor(t,n){super(t,n),this._transaction=n}}class Bl extends Io{constructor(){super(),this._prelimContent=[],this._searchMarker=[]}static from(t){const n=new Bl;return n.push(t),n}_integrate(t,n){super._integrate(t,n),this.insert(0,this._prelimContent),this._prelimContent=null}_copy(){return new Bl}clone(){const t=new Bl;return t.insert(0,this.toArray().map(n=>n instanceof Io?n.clone():n)),t}get length(){return this._prelimContent===null?this._length:this._prelimContent.length}_callObserver(t,n){super._callObserver(t,n),wh(this,t,new kE(this,t))}insert(t,n){this.doc!==null?Fr(this.doc,e=>{SE(e,this,t,n)}):this._prelimContent.splice(t,0,...n)}push(t){this.doc!==null?Fr(this.doc,n=>{BM(n,this,t)}):this._prelimContent.push(...t)}unshift(t){this.insert(0,t)}delete(t,n=1){this.doc!==null?Fr(this.doc,e=>{EE(e,this,t,n)}):this._prelimContent.splice(t,n)}get(t){return wE(this,t)}toArray(){return _E(this)}slice(t=0,n=this.length){return vE(this,t,n)}toJSON(){return this.map(t=>t instanceof Io?t.toJSON():t)}map(t){return bE(this,t)}forEach(t){$d(this,t)}[Symbol.iterator](){return FM(this)}_write(t){t.writeTypeRef(GM)}}class UM extends _h{constructor(t,n,e){super(t,n),this.keysChanged=e}}class ou extends Io{constructor(t){super(),this._prelimContent=null,t===void 0?this._prelimContent=new Map:this._prelimContent=new Map(t)}_integrate(t,n){super._integrate(t,n),this._prelimContent.forEach((e,a)=>{this.set(a,e)}),this._prelimContent=null}_copy(){return new ou}clone(){const t=new ou;return this.forEach((n,e)=>{t.set(e,n instanceof Io?n.clone():n)}),t}_callObserver(t,n){wh(this,t,new UM(this,t,n))}toJSON(){const t={};return this._map.forEach((n,e)=>{if(!n.deleted){const a=n.content.getContent()[n.length-1];t[e]=a instanceof Io?a.toJSON():a}}),t}get size(){return[...Eh(this._map)].length}keys(){return o0(Eh(this._map),t=>t[0])}values(){return o0(Eh(this._map),t=>t[1].content.getContent()[t[1].length-1])}entries(){return o0(Eh(this._map),t=>[t[0],t[1].content.getContent()[t[1].length-1]])}forEach(t){this._map.forEach((n,e)=>{n.deleted||t(n.content.getContent()[n.length-1],e,this)})}[Symbol.iterator](){return this.entries()}delete(t){this.doc!==null?Fr(this.doc,n=>{Sh(n,this,t)}):this._prelimContent.delete(t)}set(t,n){return this.doc!==null?Fr(this.doc,e=>{u0(e,this,t,n)}):this._prelimContent.set(t,n),n}get(t){return d0(this,t)}has(t){return jE(this,t)}clear(){this.doc!==null?Fr(this.doc,t=>{this.forEach(function(n,e,a){Sh(t,a,e)})}):this._prelimContent.clear()}_write(t){t.writeTypeRef(YM)}}const Va=(l,t)=>l===t||typeof l=="object"&&typeof t=="object"&&l&&t&&Q5(l,t);class f0{constructor(t,n,e,a){this.left=t,this.right=n,this.index=e,this.currentAttributes=a}forward(){switch(this.right===null&&Fl(),this.right.content.constructor){case So:this.right.deleted||iu(this.currentAttributes,this.right.content);break;default:this.right.deleted||(this.index+=this.right.length);break}this.left=this.right,this.right=this.right.right}}const TE=(l,t,n)=>{for(;t.right!==null&&n>0;){switch(t.right.content.constructor){case So:t.right.deleted||iu(t.currentAttributes,t.right.content);break;default:t.right.deleted||(n<t.right.length&&Ja(l,Yr(t.right.id.client,t.right.id.clock+n)),t.index+=t.right.length,n-=t.right.length);break}t.left=t.right,t.right=t.right.right}return t},Ch=(l,t,n,e)=>{const a=new Map,r=e?bh(t,n):null;if(r){const o=new f0(r.p.left,r.p,r.index,a);return TE(l,o,n-r.index)}else{const o=new f0(null,t._start,0,a);return TE(l,o,n)}},OE=(l,t,n,e)=>{for(;n.right!==null&&(n.right.deleted===!0||n.right.content.constructor===So&&Va(e.get(n.right.content.key),n.right.content.value));)n.right.deleted||e.delete(n.right.content.key),n.forward();const a=l.doc,r=a.clientID;e.forEach((o,s)=>{const c=n.left,i=n.right,u=new $o(Yr(r,li(a.store,r)),c,c&&c.lastId,i,i&&i.id,t,null,new So(s,o));u.integrate(l,0),n.right=u,n.forward()})},iu=(l,t)=>{const{key:n,value:e}=t;e===null?l.delete(n):l.set(n,e)},NE=(l,t)=>{for(;l.right!==null;){if(!(l.right.deleted||l.right.content.constructor===So&&Va(t[l.right.content.key]??null,l.right.content.value)))break;l.forward()}},AE=(l,t,n,e)=>{const a=l.doc,r=a.clientID,o=new Map;for(const s in e){const c=e[s],i=n.currentAttributes.get(s)??null;if(!Va(i,c)){o.set(s,i);const{left:u,right:d}=n;n.right=new $o(Yr(r,li(a.store,r)),u,u&&u.lastId,d,d&&d.id,t,null,new So(s,c)),n.right.integrate(l,0),n.forward()}}return o},p0=(l,t,n,e,a)=>{n.currentAttributes.forEach((p,f)=>{a[f]===void 0&&(a[f]=null)});const r=l.doc,o=r.clientID;NE(n,a);const s=AE(l,t,n,a),c=e.constructor===String?new oa(e):e instanceof Io?new Ga(e):new au(e);let{left:i,right:u,index:d}=n;t._searchMarker&&Hd(t._searchMarker,n.index,c.getLength()),u=new $o(Yr(o,li(r.store,o)),i,i&&i.lastId,u,u&&u.id,t,null,c),u.integrate(l,0),n.right=u,n.index=d,n.forward(),OE(l,t,n,s)},PE=(l,t,n,e,a)=>{const r=l.doc,o=r.clientID;NE(n,a);const s=AE(l,t,n,a);e:for(;n.right!==null&&(e>0||s.size>0&&(n.right.deleted||n.right.content.constructor===So));){if(!n.right.deleted)switch(n.right.content.constructor){case So:{const{key:c,value:i}=n.right.content,u=a[c];if(u!==void 0){if(Va(u,i))s.delete(c);else{if(e===0)break e;s.set(c,i)}n.right.delete(l)}else n.currentAttributes.set(c,i);break}default:e<n.right.length&&Ja(l,Yr(n.right.id.client,n.right.id.clock+e)),e-=n.right.length;break}n.forward()}if(e>0){let c="";for(;e>0;e--)c+=`
|
|
1543
1543
|
`;n.right=new $o(Yr(o,li(r.store,o)),n.left,n.left&&n.left.lastId,n.right,n.right&&n.right.id,t,null,new oa(c)),n.right.integrate(l,0),n.forward()}OE(l,t,n,s)},IE=(l,t,n,e,a)=>{let r=t;const o=Ss();for(;r&&(!r.countable||r.deleted);){if(!r.deleted&&r.content.constructor===So){const i=r.content;o.set(i.key,i)}r=r.right}let s=0,c=!1;for(;t!==r;){if(n===t&&(c=!0),!t.deleted){const i=t.content;switch(i.constructor){case So:{const{key:u,value:d}=i,p=e.get(u)??null;(o.get(u)!==i||p===d)&&(t.delete(l),s++,!c&&(a.get(u)??null)===d&&p!==d&&(p===null?a.delete(u):a.set(u,p))),!c&&!t.deleted&&iu(a,i);break}}}t=t.right}return s},HM=(l,t)=>{for(;t&&t.right&&(t.right.deleted||!t.right.countable);)t=t.right;const n=new Set;for(;t&&(t.deleted||!t.countable);){if(!t.deleted&&t.content.constructor===So){const e=t.content.key;n.has(e)?t.delete(l):n.add(e)}t=t.left}},$M=l=>{let t=0;return Fr(l.doc,n=>{let e=l._start,a=l._start,r=Ss();const o=$y(r);for(;a;){if(a.deleted===!1)switch(a.content.constructor){case So:iu(o,a.content);break;default:t+=IE(n,e,a,r,o),r=$y(o),e=a;break}a=a.right}}),t},qM=l=>{const t=new Set,n=l.doc;for(const[e,a]of l.afterState.entries()){const r=l.beforeState.get(e)||0;a!==r&&dE(l,n.store.clients.get(e),r,a,o=>{!o.deleted&&o.content.constructor===So&&o.constructor!==Ka&&t.add(o.parent)})}Fr(n,e=>{eE(l,l.deleteSet,a=>{if(a instanceof Ka||!a.parent._hasFormatting||t.has(a.parent))return;const r=a.parent;a.content.constructor===So?t.add(r):HM(e,a)});for(const a of t)$M(a)})},ME=(l,t,n)=>{const e=n,a=$y(t.currentAttributes),r=t.right;for(;n>0&&t.right!==null;){if(t.right.deleted===!1)switch(t.right.content.constructor){case Ga:case au:case oa:n<t.right.length&&Ja(l,Yr(t.right.id.client,t.right.id.clock+n)),n-=t.right.length,t.right.delete(l);break}t.forward()}r&&IE(l,r,t.right,a,t.currentAttributes);const o=(t.left||t.right).parent;return o._searchMarker&&Hd(o._searchMarker,t.index,-e+n),t};class WM extends _h{constructor(t,n,e){super(t,n),this.childListChanged=!1,this.keysChanged=new Set,e.forEach(a=>{a===null?this.childListChanged=!0:this.keysChanged.add(a)})}get changes(){if(this._changes===null){const t={keys:this.keys,delta:this.delta,added:new Set,deleted:new Set};this._changes=t}return this._changes}get delta(){if(this._delta===null){const t=this.target.doc,n=[];Fr(t,e=>{const a=new Map,r=new Map;let o=this.target._start,s=null;const c={};let i="",u=0,d=0;const p=()=>{if(s!==null){let f=null;switch(s){case"delete":d>0&&(f={delete:d}),d=0;break;case"insert":(typeof i=="object"||i.length>0)&&(f={insert:i},a.size>0&&(f.attributes={},a.forEach((h,m)=>{h!==null&&(f.attributes[m]=h)}))),i="";break;case"retain":u>0&&(f={retain:u},Y5(c)||(f.attributes=V5({},c))),u=0;break}f&&n.push(f),s=null}};for(;o!==null;){switch(o.content.constructor){case Ga:case au:this.adds(o)?this.deletes(o)||(p(),s="insert",i=o.content.getContent()[0],p()):this.deletes(o)?(s!=="delete"&&(p(),s="delete"),d+=1):o.deleted||(s!=="retain"&&(p(),s="retain"),u+=1);break;case oa:this.adds(o)?this.deletes(o)||(s!=="insert"&&(p(),s="insert"),i+=o.content.str):this.deletes(o)?(s!=="delete"&&(p(),s="delete"),d+=o.length):o.deleted||(s!=="retain"&&(p(),s="retain"),u+=o.length);break;case So:{const{key:f,value:h}=o.content;if(this.adds(o)){if(!this.deletes(o)){const m=a.get(f)??null;Va(m,h)?h!==null&&o.delete(e):(s==="retain"&&p(),Va(h,r.get(f)??null)?delete c[f]:c[f]=h)}}else if(this.deletes(o)){r.set(f,h);const m=a.get(f)??null;Va(m,h)||(s==="retain"&&p(),c[f]=m)}else if(!o.deleted){r.set(f,h);const m=c[f];m!==void 0&&(Va(m,h)?m!==null&&o.delete(e):(s==="retain"&&p(),h===null?delete c[f]:c[f]=h))}o.deleted||(s==="insert"&&p(),iu(a,o.content));break}}o=o.right}for(p();n.length>0;){const f=n[n.length-1];if(f.retain!==void 0&&f.attributes===void 0)n.pop();else break}}),this._delta=n}return this._delta}}class jh extends Io{constructor(t){super(),this._pending=t!==void 0?[()=>this.insert(0,t)]:[],this._searchMarker=[],this._hasFormatting=!1}get length(){return this._length}_integrate(t,n){super._integrate(t,n);try{this._pending.forEach(e=>e())}catch(e){console.error(e)}this._pending=null}_copy(){return new jh}clone(){const t=new jh;return t.applyDelta(this.toDelta()),t}_callObserver(t,n){super._callObserver(t,n);const e=new WM(this,t,n);wh(this,t,e),!t.local&&this._hasFormatting&&(t._needFormattingCleanup=!0)}toString(){let t="",n=this._start;for(;n!==null;)!n.deleted&&n.countable&&n.content.constructor===oa&&(t+=n.content.str),n=n.right;return t}toJSON(){return this.toString()}applyDelta(t,{sanitize:n=!0}={}){this.doc!==null?Fr(this.doc,e=>{const a=new f0(null,this._start,0,new Map);for(let r=0;r<t.length;r++){const o=t[r];if(o.insert!==void 0){const s=!n&&typeof o.insert=="string"&&r===t.length-1&&a.right===null&&o.insert.slice(-1)===`
|
|
1544
|
-
`?o.insert.slice(0,-1):o.insert;(typeof s!="string"||s.length>0)&&p0(e,this,a,s,o.attributes||{})}else o.retain!==void 0?PE(e,this,a,o.retain,o.attributes||{}):o.delete!==void 0&&ME(e,a,o.delete)}}):this._pending.push(()=>this.applyDelta(t))}toDelta(t,n,e){const a=[],r=new Map,o=this.doc;let s="",c=this._start;function i(){if(s.length>0){const d={};let p=!1;r.forEach((h,m)=>{p=!0,d[m]=h});const f={insert:s};p&&(f.attributes=d),a.push(f),s=""}}const u=()=>{for(;c!==null;){if(ru(c,t)||n!==void 0&&ru(c,n))switch(c.content.constructor){case oa:{const d=r.get("ychange");t!==void 0&&!ru(c,t)?(d===void 0||d.user!==c.id.client||d.type!=="removed")&&(i(),r.set("ychange",e?e("removed",c.id):{type:"removed"})):n!==void 0&&!ru(c,n)?(d===void 0||d.user!==c.id.client||d.type!=="added")&&(i(),r.set("ychange",e?e("added",c.id):{type:"added"})):d!==void 0&&(i(),r.delete("ychange")),s+=c.content.str;break}case Ga:case au:{i();const d={insert:c.content.getContent()[0]};if(r.size>0){const p={};d.attributes=p,r.forEach((f,h)=>{p[h]=f})}a.push(d);break}case So:ru(c,t)&&(i(),iu(r,c.content));break}c=c.right}i()};return t||n?Fr(o,d=>{t&&i0(d,t),n&&i0(d,n),u()},"cleanup"):u(),a}insert(t,n,e){if(n.length<=0)return;const a=this.doc;a!==null?Fr(a,r=>{const o=Ch(r,this,t,!e);e||(e={},o.currentAttributes.forEach((s,c)=>{e[c]=s})),p0(r,this,o,n,e)}):this._pending.push(()=>this.insert(t,n,e))}insertEmbed(t,n,e){const a=this.doc;a!==null?Fr(a,r=>{const o=Ch(r,this,t,!e);p0(r,this,o,n,e||{})}):this._pending.push(()=>this.insertEmbed(t,n,e||{}))}delete(t,n){if(n===0)return;const e=this.doc;e!==null?Fr(e,a=>{ME(a,Ch(a,this,t,!0),n)}):this._pending.push(()=>this.delete(t,n))}format(t,n,e){if(n===0)return;const a=this.doc;a!==null?Fr(a,r=>{const o=Ch(r,this,t,!1);o.right!==null&&PE(r,this,o,n,e)}):this._pending.push(()=>this.format(t,n,e))}removeAttribute(t){this.doc!==null?Fr(this.doc,n=>{Sh(n,this,t)}):this._pending.push(()=>this.removeAttribute(t))}setAttribute(t,n){this.doc!==null?Fr(this.doc,e=>{u0(e,this,t,n)}):this._pending.push(()=>this.setAttribute(t,n))}getAttribute(t){return d0(this,t)}getAttributes(){return CE(this)}_write(t){t.writeTypeRef(ZM)}}class h0{constructor(t,n=()=>!0){this._filter=n,this._root=t,this._currentNode=t._start,this._firstCall=!0}[Symbol.iterator](){return this}next(){let t=this._currentNode,n=t&&t.content&&t.content.type;if(t!==null&&(!this._firstCall||t.deleted||!this._filter(n)))do if(n=t.content.type,!t.deleted&&(n.constructor===qd||n.constructor===su)&&n._start!==null)t=n._start;else for(;t!==null;)if(t.right!==null){t=t.right;break}else t.parent===this._root?t=null:t=t.parent._item;while(t!==null&&(t.deleted||!this._filter(t.content.type)));return this._firstCall=!1,t===null?{value:void 0,done:!0}:(this._currentNode=t,{value:t.content.type,done:!1})}}class su extends Io{constructor(){super(),this._prelimContent=[]}get firstChild(){const t=this._first;return t?t.content.getContent()[0]:null}_integrate(t,n){super._integrate(t,n),this.insert(0,this._prelimContent),this._prelimContent=null}_copy(){return new su}clone(){const t=new su;return t.insert(0,this.toArray().map(n=>n instanceof Io?n.clone():n)),t}get length(){return this._prelimContent===null?this._length:this._prelimContent.length}createTreeWalker(t){return new h0(this,t)}querySelector(t){t=t.toUpperCase();const e=new h0(this,a=>a.nodeName&&a.nodeName.toUpperCase()===t).next();return e.done?null:e.value}querySelectorAll(t){return t=t.toUpperCase(),Qc(new h0(this,n=>n.nodeName&&n.nodeName.toUpperCase()===t))}_callObserver(t,n){wh(this,t,new JM(this,n,t))}toString(){return bE(this,t=>t.toString()).join("")}toJSON(){return this.toString()}toDOM(t=document,n={},e){const a=t.createDocumentFragment();return e!==void 0&&e._createAssociation(a,this),$d(this,r=>{a.insertBefore(r.toDOM(t,n,e),null)}),a}insert(t,n){this.doc!==null?Fr(this.doc,e=>{SE(e,this,t,n)}):this._prelimContent.splice(t,0,...n)}insertAfter(t,n){if(this.doc!==null)Fr(this.doc,e=>{const a=t&&t instanceof Io?t._item:t;xh(e,this,a,n)});else{const e=this._prelimContent,a=t===null?0:e.findIndex(r=>r===t)+1;if(a===0&&t!==null)throw nu("Reference item not found");e.splice(a,0,...n)}}delete(t,n=1){this.doc!==null?Fr(this.doc,e=>{EE(e,this,t,n)}):this._prelimContent.splice(t,n)}toArray(){return _E(this)}push(t){this.insert(this.length,t)}unshift(t){this.insert(0,t)}get(t){return wE(this,t)}slice(t=0,n=this.length){return vE(this,t,n)}forEach(t){$d(this,t)}_write(t){t.writeTypeRef(QM)}}class qd extends su{constructor(t="UNDEFINED"){super(),this.nodeName=t,this._prelimAttrs=new Map}get nextSibling(){const t=this._item?this._item.next:null;return t?t.content.type:null}get prevSibling(){const t=this._item?this._item.prev:null;return t?t.content.type:null}_integrate(t,n){super._integrate(t,n),this._prelimAttrs.forEach((e,a)=>{this.setAttribute(a,e)}),this._prelimAttrs=null}_copy(){return new qd(this.nodeName)}clone(){const t=new qd(this.nodeName),n=this.getAttributes();return G5(n,(e,a)=>{typeof e=="string"&&t.setAttribute(a,e)}),t.insert(0,this.toArray().map(e=>e instanceof Io?e.clone():e)),t}toString(){const t=this.getAttributes(),n=[],e=[];for(const s in t)e.push(s);e.sort();const a=e.length;for(let s=0;s<a;s++){const c=e[s];n.push(c+'="'+t[c]+'"')}const r=this.nodeName.toLocaleLowerCase(),o=n.length>0?" "+n.join(" "):"";return`<${r}${o}>${super.toString()}</${r}>`}removeAttribute(t){this.doc!==null?Fr(this.doc,n=>{Sh(n,this,t)}):this._prelimAttrs.delete(t)}setAttribute(t,n){this.doc!==null?Fr(this.doc,e=>{u0(e,this,t,n)}):this._prelimAttrs.set(t,n)}getAttribute(t){return d0(this,t)}hasAttribute(t){return jE(this,t)}getAttributes(t){return t?zM(this,t):CE(this)}toDOM(t=document,n={},e){const a=t.createElement(this.nodeName),r=this.getAttributes();for(const o in r){const s=r[o];typeof s=="string"&&a.setAttribute(o,s)}return $d(this,o=>{a.appendChild(o.toDOM(t,n,e))}),e!==void 0&&e._createAssociation(a,this),a}_write(t){t.writeTypeRef(XM),t.writeKey(this.nodeName)}}class JM extends _h{constructor(t,n,e){super(t,e),this.childListChanged=!1,this.attributesChanged=new Set,n.forEach(a=>{a===null?this.childListChanged=!0:this.attributesChanged.add(a)})}}class DE{constructor(t,n){this.id=t,this.length=n}get deleted(){throw Es()}mergeWith(t){return!1}write(t,n,e){throw Es()}integrate(t,n){throw Es()}}const VM=0;class Ka extends DE{get deleted(){return!0}delete(){}mergeWith(t){return this.constructor!==t.constructor?!1:(this.length+=t.length,!0)}integrate(t,n){n>0&&(this.id.clock+=n,this.length-=n),cE(t.doc.store,this)}write(t,n){t.writeInfo(VM),t.writeLen(this.length-n)}getMissing(t,n){return null}}class kh{constructor(t){this.content=t}getLength(){return 1}getContent(){return[this.content]}isCountable(){return!0}copy(){return new kh(this.content)}splice(t){throw Es()}mergeWith(t){return!1}integrate(t,n){}delete(t){}gc(t){}write(t,n){t.writeBuf(this.content)}getRef(){return 3}}class Th{constructor(t){this.len=t}getLength(){return this.len}getContent(){return[]}isCountable(){return!1}copy(){return new Th(this.len)}splice(t){const n=new Th(this.len-t);return this.len=t,n}mergeWith(t){return this.len+=t.len,!0}integrate(t,n){rE(t.deleteSet,n.id.client,n.id.clock,this.len),n.markDeleted()}delete(t){}gc(t){}write(t,n){t.writeLen(this.len-n)}getRef(){return 1}}const KM=(l,t)=>new Ud({guid:l,...t,shouldLoad:t.shouldLoad||t.autoLoad||!1});class Oh{constructor(t){t._item&&console.error("This document was already integrated as a sub-document. You should create a second instance instead with the same guid."),this.doc=t;const n={};this.opts=n,t.gc||(n.gc=!1),t.autoLoad&&(n.autoLoad=!0),t.meta!==null&&(n.meta=t.meta)}getLength(){return 1}getContent(){return[this.doc]}isCountable(){return!0}copy(){return new Oh(KM(this.doc.guid,this.opts))}splice(t){throw Es()}mergeWith(t){return!1}integrate(t,n){this.doc._item=n,t.subdocsAdded.add(this.doc),this.doc.shouldLoad&&t.subdocsLoaded.add(this.doc)}delete(t){t.subdocsAdded.has(this.doc)?t.subdocsAdded.delete(this.doc):t.subdocsRemoved.add(this.doc)}gc(t){}write(t,n){t.writeString(this.doc.guid),t.writeAny(this.opts)}getRef(){return 9}}class au{constructor(t){this.embed=t}getLength(){return 1}getContent(){return[this.embed]}isCountable(){return!0}copy(){return new au(this.embed)}splice(t){throw Es()}mergeWith(t){return!1}integrate(t,n){}delete(t){}gc(t){}write(t,n){t.writeJSON(this.embed)}getRef(){return 5}}class So{constructor(t,n){this.key=t,this.value=n}getLength(){return 1}getContent(){return[]}isCountable(){return!1}copy(){return new So(this.key,this.value)}splice(t){throw Es()}mergeWith(t){return!1}integrate(t,n){const e=n.parent;e._searchMarker=null,e._hasFormatting=!0}delete(t){}gc(t){}write(t,n){t.writeKey(this.key),t.writeJSON(this.value)}getRef(){return 6}}class lu{constructor(t){this.arr=t}getLength(){return this.arr.length}getContent(){return this.arr}isCountable(){return!0}copy(){return new lu(this.arr)}splice(t){const n=new lu(this.arr.slice(t));return this.arr=this.arr.slice(0,t),n}mergeWith(t){return this.arr=this.arr.concat(t.arr),!0}integrate(t,n){}delete(t){}gc(t){}write(t,n){const e=this.arr.length;t.writeLen(e-n);for(let a=n;a<e;a++){const r=this.arr[a];t.writeAny(r)}}getRef(){return 8}}class oa{constructor(t){this.str=t}getLength(){return this.str.length}getContent(){return this.str.split("")}isCountable(){return!0}copy(){return new oa(this.str)}splice(t){const n=new oa(this.str.slice(t));this.str=this.str.slice(0,t);const e=this.str.charCodeAt(t-1);return e>=55296&&e<=56319&&(this.str=this.str.slice(0,t-1)+"�",n.str="�"+n.str.slice(1)),n}mergeWith(t){return this.str+=t.str,!0}integrate(t,n){}delete(t){}gc(t){}write(t,n){t.writeString(n===0?this.str:this.str.slice(n))}getRef(){return 4}}const GM=0,YM=1,ZM=2,XM=3,QM=4;class Ga{constructor(t){this.type=t}getLength(){return 1}getContent(){return[this.type]}isCountable(){return!0}copy(){return new Ga(this.type._copy())}splice(t){throw Es()}mergeWith(t){return!1}integrate(t,n){this.type._integrate(t.doc,n)}delete(t){let n=this.type._start;for(;n!==null;)n.deleted?n.id.clock<(t.beforeState.get(n.id.client)||0)&&t._mergeStructs.push(n):n.delete(t),n=n.right;this.type._map.forEach(e=>{e.deleted?e.id.clock<(t.beforeState.get(e.id.client)||0)&&t._mergeStructs.push(e):e.delete(t)}),t.changed.delete(this.type)}gc(t){let n=this.type._start;for(;n!==null;)n.gc(t,!0),n=n.right;this.type._start=null,this.type._map.forEach(e=>{for(;e!==null;)e.gc(t,!0),e=e.left}),this.type._map=new Map}write(t,n){this.type._write(t)}getRef(){return 7}}const RE=(l,t,n)=>{const{client:e,clock:a}=t.id,r=new $o(Yr(e,a+n),t,Yr(e,a+n-1),t.right,t.rightOrigin,t.parent,t.parentSub,t.content.splice(n));return t.deleted&&r.markDeleted(),t.keep&&(r.keep=!0),t.redone!==null&&(r.redone=Yr(t.redone.client,t.redone.clock+n)),t.right=r,r.right!==null&&(r.right.left=r),l._mergeStructs.push(r),r.parentSub!==null&&r.right===null&&r.parent._map.set(r.parentSub,r),t.length=n,r};class $o extends DE{constructor(t,n,e,a,r,o,s,c){super(t,c.getLength()),this.origin=e,this.left=n,this.right=a,this.rightOrigin=r,this.parent=o,this.parentSub=s,this.redone=null,this.content=c,this.info=this.content.isCountable()?DS:0}set marker(t){(this.info&Jy)>0!==t&&(this.info^=Jy)}get marker(){return(this.info&Jy)>0}get keep(){return(this.info&MS)>0}set keep(t){this.keep!==t&&(this.info^=MS)}get countable(){return(this.info&DS)>0}get deleted(){return(this.info&Wy)>0}set deleted(t){this.deleted!==t&&(this.info^=Wy)}markDeleted(){this.info|=Wy}getMissing(t,n){if(this.origin&&this.origin.client!==this.id.client&&this.origin.clock>=li(n,this.origin.client))return this.origin.client;if(this.rightOrigin&&this.rightOrigin.client!==this.id.client&&this.rightOrigin.clock>=li(n,this.rightOrigin.client))return this.rightOrigin.client;if(this.parent&&this.parent.constructor===mh&&this.id.client!==this.parent.client&&this.parent.clock>=li(n,this.parent.client))return this.parent.client;if(this.origin&&(this.left=uE(t,n,this.origin),this.origin=this.left.lastId),this.rightOrigin&&(this.right=Ja(t,this.rightOrigin),this.rightOrigin=this.right.id),this.left&&this.left.constructor===Ka||this.right&&this.right.constructor===Ka)this.parent=null;else if(!this.parent)this.left&&this.left.constructor===$o&&(this.parent=this.left.parent,this.parentSub=this.left.parentSub),this.right&&this.right.constructor===$o&&(this.parent=this.right.parent,this.parentSub=this.right.parentSub);else if(this.parent.constructor===mh){const e=a0(n,this.parent);e.constructor===Ka?this.parent=null:this.parent=e.content.type}return null}integrate(t,n){if(n>0&&(this.id.clock+=n,this.left=uE(t,t.doc.store,Yr(this.id.client,this.id.clock-1)),this.origin=this.left.lastId,this.content=this.content.splice(n),this.length-=n),this.parent){if(!this.left&&(!this.right||this.right.left!==null)||this.left&&this.left.right!==this.right){let e=this.left,a;if(e!==null)a=e.right;else if(this.parentSub!==null)for(a=this.parent._map.get(this.parentSub)||null;a!==null&&a.left!==null;)a=a.left;else a=this.parent._start;const r=new Set,o=new Set;for(;a!==null&&a!==this.right;){if(o.add(a),r.add(a),yh(this.origin,a.origin)){if(a.id.client<this.id.client)e=a,r.clear();else if(yh(this.rightOrigin,a.rightOrigin))break}else if(a.origin!==null&&o.has(a0(t.doc.store,a.origin)))r.has(a0(t.doc.store,a.origin))||(e=a,r.clear());else break;a=a.right}this.left=e}if(this.left!==null){const e=this.left.right;this.right=e,this.left.right=this}else{let e;if(this.parentSub!==null)for(e=this.parent._map.get(this.parentSub)||null;e!==null&&e.left!==null;)e=e.left;else e=this.parent._start,this.parent._start=this;this.right=e}this.right!==null?this.right.left=this:this.parentSub!==null&&(this.parent._map.set(this.parentSub,this),this.left!==null&&this.left.delete(t)),this.parentSub===null&&this.countable&&!this.deleted&&(this.parent._length+=this.length),cE(t.doc.store,this),this.content.integrate(t,this),pE(t,this.parent,this.parentSub),(this.parent._item!==null&&this.parent._item.deleted||this.parentSub!==null&&this.right!==null)&&this.delete(t)}else new Ka(this.id,this.length).integrate(t,0)}get next(){let t=this.right;for(;t!==null&&t.deleted;)t=t.right;return t}get prev(){let t=this.left;for(;t!==null&&t.deleted;)t=t.left;return t}get lastId(){return this.length===1?this.id:Yr(this.id.client,this.id.clock+this.length-1)}mergeWith(t){if(this.constructor===t.constructor&&yh(t.origin,this.lastId)&&this.right===t&&yh(this.rightOrigin,t.rightOrigin)&&this.id.client===t.id.client&&this.id.clock+this.length===t.id.clock&&this.deleted===t.deleted&&this.redone===null&&t.redone===null&&this.content.constructor===t.content.constructor&&this.content.mergeWith(t.content)){const n=this.parent._searchMarker;return n&&n.forEach(e=>{e.p===t&&(e.p=this,!this.deleted&&this.countable&&(e.index-=this.length))}),t.keep&&(this.keep=!0),this.right=t.right,this.right!==null&&(this.right.left=this),this.length+=t.length,!0}return!1}delete(t){if(!this.deleted){const n=this.parent;this.countable&&this.parentSub===null&&(n._length-=this.length),this.markDeleted(),rE(t.deleteSet,this.id.client,this.id.clock,this.length),pE(t,n,this.parentSub),this.content.delete(t)}}gc(t,n){if(!this.deleted)throw Fl();this.content.gc(t),n?NM(t,this,new Ka(this.id,this.length)):this.content=new Th(this.length)}write(t,n){const e=n>0?Yr(this.id.client,this.id.clock+n-1):this.origin,a=this.rightOrigin,r=this.parentSub,o=this.content.getRef()&x5|(e===null?0:hh)|(a===null?0:RS)|(r===null?0:w5);if(t.writeInfo(o),e!==null&&t.writeLeftID(e),a!==null&&t.writeRightID(a),e===null&&a===null){const s=this.parent;if(s._item!==void 0){const c=s._item;if(c===null){const i=TM(s);t.writeParentInfo(!0),t.writeString(i)}else t.writeParentInfo(!1),t.writeLeftID(c.id)}else s.constructor===String?(t.writeParentInfo(!0),t.writeString(s)):s.constructor===mh?(t.writeParentInfo(!1),t.writeLeftID(s)):Fl();r!==null&&t.writeString(r)}this.content.write(t,n)}}const LE=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:{},FE="__ $YJS$ __";LE[FE]===!0&&console.error("Yjs was already imported. This breaks constructor checks and will lead to issues! - https://github.com/yjs/yjs/issues/438"),LE[FE]=!0;function e3(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}e3(function(l){const t=new URLSearchParams;t.append("code",l);for(let n=1;n<arguments.length;n++)t.append("v",arguments[n]);throw Error(`Minified Lexical error #${l}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)});const t3=fo();function BE(){return Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,5)}function n3(){const l=new Date,t=String(l.getHours()).padStart(2,"0"),n=String(l.getMinutes()).padStart(2,"0");return`${t}:${n}`}function zE(){return new Date().toLocaleDateString("en-US",{month:"short",day:"numeric"})}console.log(zE());function Nh(l,t,n,e,a,r,o){return{author:t,content:l,deleted:o===void 0?!1:o,id:r===void 0?BE():r,timeStamp:a===void 0?`${n3()} - ${zE()}`:a,type:"comment",userEmail:n===void 0?"":n,mentionedEmails:e===void 0?[]:e}}function UE(l,t,n,e){return console.log("wpAndTaskId 2222222222222",e),{comments:t,id:n===void 0?BE():n,quote:l,type:"thread",resolved:!1,wpAndTaskId:e}}function HE(l){return console.log("thread clone is called",l),{comments:Array.from(l.comments),id:l.id,quote:l.quote,type:"thread",resolved:l.resolved,wpAndTaskId:l.wpAndTaskId}}function r3(l){return{author:l.author,content:"[Deleted Comment]",deleted:!0,id:l.id,timeStamp:l.timeStamp,type:"comment",userEmail:l.userEmail,mentionedEmails:l.mentionedEmails}}function Ah(l){const t=l._changeListeners;for(const n of t)n()}class Wd{constructor(t){Un(this,"_editor");Un(this,"_comments");Un(this,"_changeListeners");Un(this,"_collabProvider");this._comments=[],this._editor=t,this._collabProvider=null,this._changeListeners=new Set}isCollaborative(){return this._collabProvider!==null}getComments(){return this._comments}setComments(t){this._comments=t,Ah(this)}addComment(t,n,e){const a=Array.from(this._comments),r=this._getCollabComments();if(n!==void 0&&t.type==="comment")for(let o=0;o<a.length;o++){const s=a[o];if(s.type==="thread"&&s.id===n.id){const c=HE(s);a.splice(o,1,c);const i=e!==void 0?e:c.comments.length;if(this.isCollaborative()&&r!==null){const u=r.get(o).get("comments");this._withRemoteTransaction(()=>{const d=this._createCollabSharedMap(t);u.insert(i,[d])})}c.comments.splice(i,0,t);break}}else{const o=e!==void 0?e:a.length;this.isCollaborative()&&r!==null&&this._withRemoteTransaction(()=>{const s=this._createCollabSharedMap(t);r.insert(o,[s])}),a.splice(o,0,t)}this._comments=a,Ah(this)}deleteCommentOrThread(t,n){const e=Array.from(this._comments),a=this._getCollabComments();let r=null;if(n!==void 0)for(let o=0;o<e.length;o++){const s=e[o];if(s.type==="thread"&&s.id===n.id){const c=HE(s);e.splice(o,1,c);const i=c.comments;if(r=i.indexOf(t),this.isCollaborative()&&a!==null){const u=a.get(o).get("comments");this._withRemoteTransaction(()=>{u.delete(r)})}i.splice(r,1);break}}else r=e.indexOf(t),this.isCollaborative()&&a!==null&&this._withRemoteTransaction(()=>{a.delete(r)}),e.splice(r,1);return this._comments=e,Ah(this),t.type==="comment"?{index:r,markedComment:r3(t)}:null}resolveThread(t){const n={...t,resolved:!0},e=this._comments.map(a=>a.type==="thread"&&a.id===n.id?n:a);this._comments=e,Ah(this)}registerOnChange(t){const n=this._changeListeners;return n.add(t),()=>{n.delete(t)}}_withRemoteTransaction(t){const n=this._collabProvider;n!==null&&n.doc.transact(t,this)}_withLocalTransaction(t){const n=this._collabProvider;try{this._collabProvider=null,t()}finally{this._collabProvider=n}}_getCollabComments(){const t=this._collabProvider;return t!==null?t.doc.get("comments",Bl):null}_createCollabSharedMap(t){const n=new ou,e=t.type,a=t.id;if(n.set("type",e),n.set("id",a),e==="comment")n.set("author",t.author),n.set("content",t.content),n.set("deleted",t.deleted),n.set("timeStamp",t.timeStamp),n.set("userEmail",t.userEmail);else{n.set("quote",t.quote);const r=new Bl;t.comments.forEach((o,s)=>{const c=this._createCollabSharedMap(o);r.insert(s,[c])}),n.set("comments",r)}return n}registerCollaboration(t){this._collabProvider=t;const n=this._getCollabComments(),e=()=>{t.connect()},a=()=>{try{t.disconnect()}catch{}},r=this._editor.registerCommand(t3,s=>(e!==void 0&&a!==void 0&&(s?(console.log("Comments connected!"),e()):(console.log("Comments disconnected!"),a())),!1),Yn),o=(s,c)=>{if(c.origin!==this)for(let i=0;i<s.length;i++){const u=s[i];if(u instanceof kE){const d=u.target,p=u.delta;let f=0;for(let h=0;h<p.length;h++){const m=p[h],g=m.insert,_=m.retain,v=m.delete,w=d.parent,S=d===n?void 0:w instanceof ou&&this._comments.find(E=>E.id===w.get("id"));if(Array.isArray(g))g.slice().reverse().forEach(E=>{const b=E.get("id"),x=E.get("type")==="thread"?UE(E.get("quote"),E.get("comments").toArray().map(C=>Nh(C.get("content"),C.get("author"),C.get("userEmail"),C.get("mentionedEmails"),C.get("timeStamp"),C.get("id"),C.get("deleted"))),b,E.get("wpAndTaskId")):Nh(E.get("content"),E.get("author"),E.get("userEmail"),E.get("mentionedEmails"),b,E.get("timeStamp"),E.get("deleted"));this._withLocalTransaction(()=>{this.addComment(x,S,f)})});else if(typeof _=="number")f+=_;else if(typeof v=="number")for(let E=0;E<v;E++){const b=S===void 0||S===!1?this._comments[f]:S.comments[f];this._withLocalTransaction(()=>{this.deleteCommentOrThread(b,S)}),f++}}}}};return n===null?()=>null:(n.observeDeep(o),e(),()=>{n.unobserveDeep(o),r(),this._collabProvider=null})}}function o3(l){const[t,n]=he.useState(l.getComments());return he.useEffect(()=>l.registerOnChange(()=>{n(l.getComments())}),[l]),t}const wR="",i3={...Xm,paragraph:"CommentEditorTheme__paragraph"},s3="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAtOTYwIDk2MCA5NjAiIHdpZHRoPSIyNHB4IiBmaWxsPSIjNWY2MzY4Ij48cGF0aCBkPSJNNDQwLTQwMGg4MHYtMTIwaDEyMHYtODBINTIwdi0xMjBoLTgwdjEyMEgzMjB2ODBoMTIwdjEyMFpNODAtODB2LTcyMHEwLTMzIDIzLjUtNTYuNVQxNjAtODgwaDY0MHEzMyAwIDU2LjUgMjMuNVQ4ODAtODAwdjQ4MHEwIDMzLTIzLjUgNTYuNVQ4MDAtMjQwSDI0MEw4MC04MFptMTI2LTI0MGg1OTR2LTQ4MEgxNjB2NTI1bDQ2LTQ1Wm0tNDYgMHYtNDgwIDQ4MFoiLz48L3N2Zz4NCg==",a3="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iMTIyLjg4MXB4IiBoZWlnaHQ9Ijg5Ljg0MnB4IiB2aWV3Qm94PSIwIDAgMTIyLjg4MSA4OS44NDIiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDEyMi44ODEgODkuODQyIiB4bWw6c3BhY2U9InByZXNlcnZlIj48Zz48cGF0aCBkPSJNMS4yMzIsNTUuNTQxYy0xLjUzMy0xLjM4OC0xLjY1Mi0zLjc1Ni0wLjI2NS01LjI4OWMxLjM4OC0xLjUzNCwzLjc1Ni0xLjY1Miw1LjI5LTAuMjY1bDM0LjA1MywzMC44NzhsNzYuMDk5LTc5LjY5OSBjMS40MjktMS41MDEsMy44MDQtMS41NjEsNS4zMDUtMC4xMzJjMS41MDIsMS40MjgsMS41NjEsMy44MDMsMC4xMzMsNS4zMDVMNDMuMjIzLDg4LjY4M2wtMC4wMDUtMC4wMDUgYy0xLjM5NiwxLjQ2OC0zLjcxNiwxLjU2My01LjIyNywwLjE5NkwxLjIzMiw1NS41NDFMMS4yMzIsNTUuNTQxeiIvPjwvZz48L3N2Zz4=",l3="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pg0KPCEtLSBVcGxvYWRlZCB0bzogU1ZHIFJlcG8sIHd3dy5zdmdyZXBvLmNvbSwgR2VuZXJhdG9yOiBTVkcgUmVwbyBNaXhlciBUb29scyAtLT4NCjxzdmcgZmlsbD0iIzAwMDAwMCIgaGVpZ2h0PSI4MDBweCIgd2lkdGg9IjgwMHB4IiB2ZXJzaW9uPSIxLjEiIGlkPSJDYXBhXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIA0KCSB2aWV3Qm94PSIwIDAgNDkwIDQ5MCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+DQo8cG9seWdvbiBwb2ludHM9IjQ1Ni44NTEsMCAyNDUsMjEyLjU2NCAzMy4xNDksMCAwLjcwOCwzMi4zMzcgMjEyLjY2OSwyNDUuMDA0IDAuNzA4LDQ1Ny42NzggMzMuMTQ5LDQ5MCAyNDUsMjc3LjQ0MyA0NTYuODUxLDQ5MCANCgk0ODkuMjkyLDQ1Ny42NzggMjc3LjMzMSwyNDUuMDA0IDQ4OS4yOTIsMzIuMzM3ICIvPg0KPC9zdmc+",c3=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?he.useLayoutEffect:he.useEffect;let $E=class{constructor(t){this.key=t,this.ref={current:null},this.setRefElement=this.setRefElement.bind(this)}setRefElement(t){this.ref={current:t}}};const qE=l=>{const t=document.getElementById("typeahead-menu");if(!t)return;const n=t.getBoundingClientRect();n.top+n.height>window.innerHeight&&t.scrollIntoView({block:"center"}),n.top<0&&t.scrollIntoView({block:"center"}),l.scrollIntoView({block:"nearest"})};function WE(l,t){const n=l.getBoundingClientRect(),e=t.getBoundingClientRect();return n.top>e.top&&n.top<e.bottom}function u3(l,t,n,e){const[a]=xn();he.useEffect(()=>{if(t!=null&&l!=null){const r=a.getRootElement(),o=r!=null?function(d,p){let f=getComputedStyle(d);const h=f.position==="absolute",m=/(auto|scroll)/;if(f.position==="fixed")return document.body;for(let g=d;g=g.parentElement;)if(f=getComputedStyle(g),(!h||f.position!=="static")&&m.test(f.overflow+f.overflowY+f.overflowX))return g;return document.body}(r):document.body;let s=!1,c=WE(t,o);const i=function(){s||(window.requestAnimationFrame(function(){n(),s=!1}),s=!0);const d=WE(t,o);d!==c&&(c=d,e!=null&&e(d))},u=new ResizeObserver(n);return window.addEventListener("resize",n),document.addEventListener("scroll",i,{capture:!0,passive:!0}),u.observe(t),()=>{u.unobserve(t),window.removeEventListener("resize",n),document.removeEventListener("scroll",i,!0)}}},[t,a,e,n,l])}const JE=fo();function d3({close:l,editor:t,anchorElementRef:n,resolution:e,options:a,menuRenderFn:r,onSelectOption:o,shouldSplitNodeWithQuery:s=!1,commandPriority:c=Yn}){const[i,u]=he.useState(null),d=e.match&&e.match.matchingString;he.useEffect(()=>{u(0)},[d]);const p=he.useCallback(h=>{t.update(()=>{const m=e.match!=null&&s?function(g){const _=Tt();if(!Ct(_)||!_.isCollapsed())return null;const v=_.anchor;if(v.type!=="text")return null;const w=v.getNode();if(!w.isSimpleText())return null;const S=v.offset,E=w.getTextContent().slice(0,S),b=g.replaceableString.length,y=S-function(C,T,L){let B=L;for(let D=B;D<=T.length;D++)C.substr(-D)===T.substr(0,D)&&(B=D);return B}(E,g.matchingString,b);if(y<0)return null;let x;return y===0?[x]=w.splitText(S):[,x]=w.splitText(y,S),x}(e.match):null;o(h,m,l,e.match?e.match.matchingString:"")})},[t,s,e.match,o,l]),f=he.useCallback(h=>{const m=t.getRootElement();m!==null&&(m.setAttribute("aria-activedescendant","typeahead-item-"+h),u(h))},[t]);return he.useEffect(()=>()=>{const h=t.getRootElement();h!==null&&h.removeAttribute("aria-activedescendant")},[t]),c3(()=>{a===null?u(null):i===null&&f(0)},[a,i,f]),he.useEffect(()=>wr(t.registerCommand(JE,({option:h})=>!(!h.ref||h.ref.current==null)&&(qE(h.ref.current),!0),c)),[t,f,c]),he.useEffect(()=>wr(t.registerCommand(Bu,h=>{const m=h;if(a!==null&&a.length&&i!==null){const g=i!==a.length-1?i+1:0;f(g);const _=a[g];_.ref!=null&&_.ref.current&&t.dispatchCommand(JE,{index:g,option:_}),m.preventDefault(),m.stopImmediatePropagation()}return!0},c),t.registerCommand(Fu,h=>{const m=h;if(a!==null&&a.length&&i!==null){const g=i!==0?i-1:a.length-1;f(g);const _=a[g];_.ref!=null&&_.ref.current&&qE(_.ref.current),m.preventDefault(),m.stopImmediatePropagation()}return!0},c),t.registerCommand(Ls,h=>{const m=h;return m.preventDefault(),m.stopImmediatePropagation(),l(),!0},c),t.registerCommand(Sf,h=>{const m=h;return a!==null&&i!==null&&a[i]!=null&&(m.preventDefault(),m.stopImmediatePropagation(),p(a[i]),!0)},c),t.registerCommand(Rs,h=>a!==null&&i!==null&&a[i]!=null&&(h!==null&&(h.preventDefault(),h.stopImmediatePropagation()),p(a[i]),!0),c)),[p,l,t,a,i,f,c]),r(n,he.useMemo(()=>({options:a,selectOptionAndCleanUp:p,selectedIndex:i,setHighlightedIndex:u}),[p,i,a]),e.match?e.match.matchingString:"")}const f3=`\\.,\\+\\*\\?\\$\\@\\|#{}\\(\\)\\^\\-\\[\\]\\\\/!%'"~=<>_:;`;function VE(l,{minLength:t=1,maxLength:n=75}){return he.useCallback(e=>{const a=new RegExp("(^|\\s|\\()(["+l+"]((?:"+("[^"+l+f3+"\\s]")+"){0,"+n+"}))$").exec(e);if(a!==null){const r=a[1],o=a[3];if(o.length>=t)return{leadOffset:a.index+r.length,matchingString:o,replaceableString:a[2]}}return null},[n,t,l])}function KE({options:l,onQueryChange:t,onSelectOption:n,onOpen:e,onClose:a,menuRenderFn:r,triggerFn:o,anchorClassName:s,commandPriority:c=Yn,parent:i}){const[u]=xn(),[d,p]=he.useState(null),f=function(g,_,v,w=document.body){const[S]=xn(),E=he.useRef(document.createElement("div")),b=he.useCallback(()=>{E.current.style.top=E.current.style.bottom;const x=S.getRootElement(),C=E.current,T=C.firstChild;if(x!==null&&g!==null){const{left:L,top:B,width:D,height:F}=g.getRect(),O=E.current.offsetHeight;if(C.style.top=`${B+window.pageYOffset+O+3}px`,C.style.left=`${L+window.pageXOffset}px`,C.style.height=`${F}px`,C.style.width=`${D}px`,T!==null){T.style.top=`${B}`;const j=T.getBoundingClientRect(),P=j.height,R=j.width,N=x.getBoundingClientRect();L+R>N.right&&(C.style.left=`${N.right-R+window.pageXOffset}px`),(B+P>window.innerHeight||B+P>N.bottom)&&B-N.top>P+F&&(C.style.top=B-P+window.pageYOffset-F+"px")}C.isConnected||(v!=null&&(C.className=v),C.setAttribute("aria-label","Typeahead menu"),C.setAttribute("id","typeahead-menu"),C.setAttribute("role","listbox"),C.style.display="block",C.style.position="absolute",w.append(C)),E.current=C,x.setAttribute("aria-controls","typeahead-menu")}},[S,g,v,w]);he.useEffect(()=>{const x=S.getRootElement();if(g!==null)return b(),()=>{x!==null&&x.removeAttribute("aria-controls");const C=E.current;C!==null&&C.isConnected&&C.remove()}},[S,b,g]);const y=he.useCallback(x=>{g!==null&&(x||_(null))},[g,_]);return u3(g,E.current,b,y),E}(d,p,s,i),h=he.useCallback(()=>{p(null),a!=null&&d!==null&&a()},[a,d]),m=he.useCallback(g=>{p(g),e!=null&&d===null&&e(g)},[e,d]);return he.useEffect(()=>{const g=u.registerUpdateListener(()=>{u.getEditorState().read(()=>{const _=u._window||window,v=_.document.createRange(),w=Tt(),S=function(y){let x=null;return y.getEditorState().read(()=>{const C=Tt();Ct(C)&&(x=function(T){const L=T.anchor;if(L.type!=="text")return null;const B=L.getNode();if(!B.isSimpleText())return null;const D=L.offset;return B.getTextContent().slice(0,D)}(C))}),x}(u);if(!Ct(w)||!w.isCollapsed()||S===null||v===null)return void h();const E=o(S,u);if(t(E?E.matchingString:null),E!==null&&!function(y,x){return x===0&&y.getEditorState().read(()=>{const C=Tt();if(Ct(C)){const T=C.anchor.getNode().getPreviousSibling();return Wt(T)&&T.isTextEntity()}return!1})}(u,E.leadOffset)&&function(x,C,T){const L=T.getSelection();if(L===null||!L.isCollapsed)return!1;const B=L.anchorNode,D=x,F=L.anchorOffset;if(B==null||F==null)return!1;try{C.setStart(B,D),C.setEnd(B,F)}catch{return!1}return!0}(E.leadOffset,v,_)!==null)return b=()=>m({getRect:()=>v.getBoundingClientRect(),match:E}),void(sr.startTransition?sr.startTransition(b):b());var b;h()})});return()=>{g()}},[u,o,t,d,h,m]),d===null||u===null?null:ue.jsx(d3,{close:h,resolution:d,editor:u,anchorElementRef:f,options:l,menuRenderFn:r,shouldSplitNodeWithQuery:!0,onSelectOption:n,commandPriority:c})}const GE=`\\.,\\+\\*\\?\\$\\@\\|#{}\\(\\)\\^\\-\\[\\]\\\\/!%'"~=<>_:;`,YE={NAME:"\\b[A-Z][^\\s"+GE+"]",PUNCTUATION:GE}.PUNCTUATION,g0=["@"].join(""),ZE="[^"+g0+YE+"\\s]",p3="(?:\\.[ |$]| |["+YE+"]|)",h3=75,g3=new RegExp("(^|\\s|\\()(["+g0+"]((?:"+ZE+p3+"){0,"+h3+"}))$"),m3=50,y3=new RegExp("(^|\\s|\\()(["+g0+"]((?:"+ZE+"){0,"+m3+"}))$"),v3=5,m0=new Map,_3={search(l,t,n){setTimeout(()=>{const e=l.filter(a=>a.name.toLowerCase().includes(t.toLowerCase()));n(e)},500)}};function b3(l,t){const[n,e]=he.useState([]);return he.useEffect(()=>{const a=m0.get(l);if(l==null){e([]);return}if(a!==null){if(a!==void 0){e(a);return}m0.set(l,null),_3.search(t,l,r=>{m0.set(l,r),e(r)})}},[l,t]),n}function w3(l,t){let n=g3.exec(l);if(n===null&&(n=y3.exec(l)),n!==null){const e=n[1],a=n[3];if(a.length>=t)return{leadOffset:n.index+e.length,matchingString:a,replaceableString:n[2]}}return null}function x3(l){return w3(l,1)}class S3 extends $E{constructor(n,e,a){super(n);Un(this,"name");Un(this,"email");Un(this,"picture");this.name=n,this.email=e,this.picture=a}}function E3({index:l,isSelected:t,onClick:n,onMouseEnter:e,option:a}){let r="item";return t&&(r+=" selected"),ue.jsxs("li",{tabIndex:-1,className:r,ref:a.setRefElement,role:"option","aria-selected":t,id:"typeahead-item-"+l,onMouseEnter:e,onClick:n,children:[a.picture,ue.jsx("span",{className:"text",children:a.name})]},a.key)}function C3({mentionItems:l,setmentionedEmails:t}){const[n]=xn(),[e,a]=he.useState(null),r=b3(e,l),o=VE("/",{minLength:0}),s=he.useMemo(()=>r.map(u=>new S3(u.name,u.email,ue.jsx("i",{className:"icon user"}))).slice(0,v3),[r]),c=he.useCallback((u,d,p)=>{t(f=>[...f,u.email]),n.update(()=>{const f=qm(`@${u.name}`);d&&d.replace(f),f.select(),p()})},[n]),i=he.useCallback(u=>o(u,n)!==null?null:x3(u),[o,n]);return ue.jsx(KE,{onQueryChange:a,onSelectOption:c,triggerFn:i,options:s,menuRenderFn:(u,{selectedIndex:d,selectOptionAndCleanUp:p,setHighlightedIndex:f})=>u.current&&r.length?vf.createPortal(ue.jsx("div",{className:"typeahead-popover mentions-menu",children:ue.jsx("ul",{children:s.map((h,m)=>ue.jsx(E3,{index:m,isSelected:d===m,onClick:()=>{f(m),p(h)},onMouseEnter:()=>{f(m)},option:h},h.key))})}),u.current):null})}const y0=fo();function j3({anchorKey:l,editor:t,onAddComment:n}){const e=he.useRef(null),a=he.useCallback(()=>{const r=e.current,o=t.getRootElement(),s=t.getElementByKey(l);if(r!==null&&o!==null&&s!==null){const{right:c}=o.getBoundingClientRect(),{top:i}=s.getBoundingClientRect();r.style.left=`${c-20}px`,r.style.top=`${i-30}px`}},[l,t]);return he.useEffect(()=>(window.addEventListener("resize",a),()=>{window.removeEventListener("resize",a)}),[t,a]),sr.useLayoutEffect(()=>{a()},[l,t,a]),ue.jsx("div",{className:"CommentPlugin_AddCommentBox",ref:e,children:ue.jsx("button",{style:{display:"flex",justifyContent:"center",alignItems:"center"},className:"CommentPlugin_AddCommentBox_button",onClick:n,children:ue.jsx("img",{src:s3,alt:""})})})}function k3({onEscape:l}){const[t]=xn();return he.useEffect(()=>t.registerCommand(Ls,n=>l(n),2),[t,l]),null}function XE({className:l,autoFocus:t,onEscape:n,onChange:e,editorRef:a,placeholder:r="",mentionItems:o,setmentionedEmails:s}){const c={namespace:"Commenting",nodes:[gd],onError:i=>{throw i},theme:i3};return he.useEffect(()=>()=>{s([])},[]),ue.jsxs(op,{initialConfig:c,children:[ue.jsxs("div",{className:"CommentPlugin_CommentInputBox_EditorContainer",children:[ue.jsx(Jw,{contentEditable:ue.jsx(Sd,{className:l}),placeholder:ue.jsx(Ed,{children:r}),ErrorBoundary:Pl}),ue.jsx($w,{onChange:e}),ue.jsx(cp,{}),t!==!1&&ue.jsx(Tp,{}),ue.jsx(k3,{onEscape:n}),ue.jsx(Uw,{}),a!==void 0&&ue.jsx(g5,{editorRef:a})]}),ue.jsx(C3,{mentionItems:o,setmentionedEmails:s})]})}function QE(l,t){return he.useCallback((n,e)=>{n.read(()=>{l(Qm()),t(!ey(e.isComposing(),!0))})},[t,l])}function T3({editor:l,cancelAddComment:t,submitAddComment:n,userName:e,userEmail:a,mentionItems:r,mentionedEmails:o,setmentionedEmails:s,wpAndTaskId:c}){const[i,u]=he.useState(""),[d,p]=he.useState(!1),f=he.useRef(null),h=he.useMemo(()=>({container:document.createElement("div"),elements:[]}),[]),m=he.useRef(null),g=nC(),_=he.useCallback(()=>{l.getEditorState().read(()=>{const E=Tt();if(Ct(E)){m.current=E.clone();const b=E.anchor,y=E.focus,x=tb(l,b.getNode(),b.offset,y.getNode(),y.offset),C=f.current;if(x!==null&&C!==null){const{left:T,bottom:L,width:B}=x.getBoundingClientRect(),D=nb(l,x);let F=D.length===1?T+B/2-125:T-125;F<10&&(F=10),C.style.left=`${F}px`,C.style.top=`${L+20+(window.pageYOffset||document.documentElement.scrollTop)}px`;const O=D.length,{container:j}=h,P=h.elements,R=P.length;for(let N=0;N<O;N++){const U=D[N];let M=P[N];M===void 0&&(M=document.createElement("span"),P[N]=M,j.appendChild(M));const z="255, 212, 0",V=`position:absolute;top:${U.top+(window.pageYOffset||document.documentElement.scrollTop)}px;left:${U.left}px;height:${U.height}px;width:${U.width}px;background-color:rgba(${z}, 0.3);pointer-events:none;z-index:5;`;M.style.cssText=V}for(let N=R-1;N>=O;N--){const U=P[N];j.removeChild(U),P.pop()}}}})},[l,h]);sr.useLayoutEffect(()=>{_();const E=h.container,b=document.body;if(b!==null)return b.appendChild(E),()=>{b.removeChild(E)}},[h.container,_]),he.useEffect(()=>(window.addEventListener("resize",_),()=>{window.removeEventListener("resize",_)}),[_]);const v=E=>(E.preventDefault(),t(),!0),w=()=>{if(console.log("this is called",c),d){let E=l.getEditorState().read(()=>{const b=m.current;return b?b.getTextContent():""});E.length>100&&(E=E.slice(0,99)+"…"),n(UE(E,[Nh(i,e??g,a,o)],void 0,c),!0,void 0,m.current),m.current=null}},S=QE(u,p);return ue.jsxs("div",{className:"CommentPlugin_CommentInputBox",ref:f,children:[ue.jsx(XE,{className:"CommentPlugin_CommentInputBox_Editor",onEscape:v,onChange:S,mentionItems:r,setmentionedEmails:s}),ue.jsxs("div",{className:"CommentPlugin_CommentInputBox_Buttons",children:[ue.jsx(Fi,{onClick:t,className:"CommentPlugin_CommentInputBox_Button",children:"Cancel"}),ue.jsx(Fi,{onClick:w,disabled:!d,className:"CommentPlugin_CommentInputBox_Button primary",children:"Comment"})]})]})}function O3({submitAddComment:l,thread:t,placeholder:n,userName:e,userEmail:a,mentionItems:r,mentionedEmails:o,setmentionedEmails:s}){const[c,i]=he.useState(""),[u,d]=he.useState(!1),p=he.useRef(null),f=nC(),h=QE(i,d),m=()=>{if(u){s([]),l(Nh(c,e??f,a,o),!1,t);const g=p.current;g!==null&&g.dispatchCommand(jf,void 0)}};return ue.jsxs(ue.Fragment,{children:[ue.jsx(XE,{className:"CommentPlugin_CommentsPanel_Editor",autoFocus:!1,onEscape:()=>!0,onChange:h,editorRef:p,placeholder:n,mentionItems:r,setmentionedEmails:s}),ue.jsx(Fi,{className:"CommentPlugin_CommentsPanel_SendButton",onClick:m,disabled:!u,children:ue.jsx("i",{className:"send"})})]})}function eC({commentOrThread:l,deleteCommentOrThread:t,onClose:n,thread:e=void 0}){return ue.jsxs(ue.Fragment,{children:["Are you sure you want to delete this ",l.type,"?",ue.jsxs("div",{className:"Modal__content",children:[ue.jsx(Fi,{onClick:()=>{t(l,e),n()},children:"Delete"})," ",ue.jsx(Fi,{onClick:()=>{n()},children:"Cancel"})]})]})}function tC({comment:l,deleteComment:t,thread:n,rtf:e,userName:a,userEmail:r,mentionedEmails:o,setmentionedEmails:s}){const[c,i]=Da();return ue.jsxs("li",{className:"CommentPlugin_CommentsPanel_List_Comment",children:[ue.jsxs("div",{className:"CommentPlugin_CommentsPanel_List_Details",children:[ue.jsx("span",{className:"CommentPlugin_CommentsPanel_List_Comment_Author",children:l.author}),ue.jsxs("span",{className:"CommentPlugin_CommentsPanel_List_Comment_Time",style:{fontSize:"13px"},children:["· ",l.timeStamp]})]}),ue.jsx("p",{className:l.deleted?"CommentPlugin_CommentsPanel_DeletedComment":"",style:{whiteSpace:"pre-wrap"},children:l.content.split(/(@\w+)/g).map((u,d)=>{if(!u.startsWith("@"))return u;const p=u.slice(1).toLowerCase();return(l.mentionedEmails??[]).some(h=>h.split("@")[0].toLowerCase()===p)?ue.jsx("span",{className:"CommentPlugin_Mention",children:u},d):u})}),!l.deleted&&ue.jsxs(ue.Fragment,{children:[a==l.author&&ue.jsx(Fi,{onClick:()=>{i("Delete Comment",u=>ue.jsx(eC,{commentOrThread:l,deleteCommentOrThread:t,thread:n,onClose:u}))},className:"CommentPlugin_CommentsPanel_List_DeleteButton",children:ue.jsx("i",{className:"delete"})}),c]})]})}function N3({activeIDs:l,comments:t,deleteCommentOrThread:n,listRef:e,submitAddComment:a,markNodeMap:r,userName:o,userEmail:s,resolveThread:c,mentionItems:i,mentionedEmails:u,setmentionedEmails:d,wpAndTaskId:p}){const[f]=xn(),[h,m]=he.useState(0),[g,_]=Da(),v=he.useMemo(()=>new Intl.RelativeTimeFormat("en",{localeMatcher:"best fit",numeric:"auto",style:"short"}),[]);he.useEffect(()=>{const S=setTimeout(()=>{m(h+1)},1e4);return()=>{clearTimeout(S)}},[h]),console.log("comments",t,p);const w=t.filter(S=>S.wpAndTaskId&&S.wpAndTaskId.workplanId===p.workplanId&&S.wpAndTaskId.taskId===p.taskId);return console.log("Filtered comments",w,p),ue.jsx("ul",{className:"CommentPlugin_CommentsPanel_List",ref:e,children:w.length>0?w.map(S=>{var b,y;const E=S.id;if(S.type==="thread"){const x=()=>{const C=r.get(E);if(C!==void 0&&(l===null||l.indexOf(E)===-1)){const T=document.activeElement;f.update(()=>{const L=Array.from(C)[0],B=Bn(L);Ec(B)&&B.selectStart()},{onUpdate(){T!==null&&T.focus()}})}};return ue.jsxs("li",{onClick:x,className:`CommentPlugin_CommentsPanel_List_Thread ${r.has(E)?"interactive":""} ${l.indexOf(E)===-1?"":"active"}`,children:[ue.jsxs("div",{className:"CommentPlugin_CommentsPanel_List_Thread_QuoteBox",children:[ue.jsxs("blockquote",{className:"CommentPlugin_CommentsPanel_List_Thread_Quote",children:[ue.jsx("span",{children:(b=S==null?void 0:S.comments[0])==null?void 0:b.author}),ue.jsx("img",{className:`add-toolbar-image-icon CommentPlugin_CommentsPanel_List_ResolveButton ${S!=null&&S.resolved?"opacity-full":""}`,src:a3,alt:"Resolve Comment",onClick:()=>c(S)})]}),o==((y=S==null?void 0:S.comments[0])==null?void 0:y.author)&&ue.jsx(Fi,{onClick:()=>{_("Delete Thread",C=>ue.jsx(eC,{commentOrThread:S,deleteCommentOrThread:n,onClose:C}))},className:"CommentPlugin_CommentsPanel_List_DeleteButton",children:ue.jsx("i",{className:"delete"})}),g]}),ue.jsx("ul",{className:"CommentPlugin_CommentsPanel_List_Thread_Comments",children:S&&S.comments&&S.comments.length&&S.comments.map(C=>C.deleted?null:ue.jsx(tC,{comment:C,deleteComment:n,thread:S,rtf:v,userName:o,userEmail:s},C.id))}),ue.jsx("div",{className:"CommentPlugin_CommentsPanel_List_Thread_Editor",children:!(S!=null&&S.resolved)&&ue.jsx("div",{className:"CommentPlugin_CommentsPanel_List_Thread_Editor",children:ue.jsx(O3,{submitAddComment:a,thread:S,userName:o,userEmail:s,mentionItems:i,mentionedEmails:u,setmentionedEmails:d})})})]},E)}return ue.jsx(tC,{comment:S,deleteComment:n,rtf:v,userName:o,userEmail:s},E)}):ue.jsx("div",{className:"CommentPlugin_CommentsPanel_Empty",children:"No Comments"})})}function A3({activeIDs:l,deleteCommentOrThread:t,comments:n,submitAddComment:e,markNodeMap:a,userName:r,userEmail:o,resolveThread:s,setShowComments:c,mentionItems:i,mentionedEmails:u,setmentionedEmails:d,wpAndTaskId:p}){const f=he.useRef(null),h=n.length===0;return ue.jsxs("div",{className:"CommentPlugin_CommentsPanel",children:[ue.jsxs("div",{className:"CommentPlugin_CommentsPanel_HeaderDiv",children:[ue.jsx("h2",{className:"CommentPlugin_CommentsPanel_Heading",children:"Comments"}),ue.jsx("img",{onClick:()=>c(!1),className:"CommentPlugin_CommentsPanel_close_icon",width:12,height:12,src:l3,alt:""})]}),h?ue.jsx("div",{className:"CommentPlugin_CommentsPanel_Empty",children:"No Comments"}):ue.jsx(N3,{activeIDs:l,comments:n,deleteCommentOrThread:t,listRef:f,submitAddComment:e,markNodeMap:a,userName:r,userEmail:o,resolveThread:s,mentionItems:i,mentionedEmails:u,setmentionedEmails:d,wpAndTaskId:p})]})}function nC(){const l=Cd(),{yjsDocMap:t,name:n}=l;return t.has("comments")?n:"Playground User"}function rC({providerFactory:l,handleSaveComments:t,showComments:n,setShowComments:e,userName:a,userEmail:r,mentionItems:o,mentionedEmails:s,setmentionedEmails:c,wpAndTaskId:i}){const u=Cd(),[d]=xn(),p=he.useMemo(()=>(d!=null&&d._commentStore||(d._commentStore=new Wd(d)),d==null?void 0:d._commentStore),[d]),f=o3(p),h=he.useMemo(()=>new Map,[]),[m,g]=he.useState(),[_,v]=he.useState([]),[w,S]=he.useState(!1),{yjsDocMap:E}=u;he.useEffect(()=>{if(l){const L=l("comments",E);return p.registerCollaboration(L)}},[p,l,E]);const b=he.useCallback(()=>{d.update(()=>{const L=Tt();L!==null&&(L.dirty=!0)}),S(!1)},[d]),y=he.useCallback((L,B)=>{var D;if(console.log("comment dltd",L,B),L.type==="comment"){if(a==L.author){const F=p.deleteCommentOrThread(L,B);if(!F)return;const{markedComment:O,index:j}=F;p.addComment(O,B,j),t(p.getComments())}}else{((D=L.comments)==null?void 0:D[0].author)==a&&p.deleteCommentOrThread(L);const F=B!==void 0?B.id:L.id,O=h.get(F);O!==void 0?setTimeout(()=>{d.update(()=>{for(const j of O){const P=Bn(j);Ec(P)&&(P.deleteID(F),P.getIDs().length===0&&NT(P))}}),t(p.getComments())}):t(p.getComments())}},[p,d,h,t]),x=he.useCallback((L,B,D,F)=>{console.log("submitAddComment is called"),p.addComment(L,D),t(p.getComments()),B&&(d.update(()=>{if(Ct(F)){const O=F.isBackward(),j=L.id;AT(F,O,j)}}),S(!1))},[p,d]),C=L=>{L&&L.type==="thread"&&p.resolveThread(L),t(p.getComments())};he.useEffect(()=>{const L=[];for(let B=0;B<_.length;B++){const D=_[B],F=h.get(D);if(F!==void 0)for(const O of F){const j=d.getElementByKey(O);j!==null&&(j.classList.add("selected"),L.push(j),e(!0))}}return()=>{for(let B=0;B<L.length;B++)L[B].classList.remove("selected")}},[_,d,h]),he.useEffect(()=>{const L=new Map;return wr(pb(d,Ws,B=>Gm(B.getIDs()),(B,D)=>{B.getIDs().forEach(O=>{D.addID(O)})}),d.registerMutationListener(Ws,B=>{d.getEditorState().read(()=>{for(const[D,F]of B){const O=Bn(D);let j=[];F==="destroyed"?j=L.get(D)||[]:Ec(O)&&(j=O.getIDs());for(let P=0;P<j.length;P++){const R=j[P];let N=h.get(R);L.set(D,j),F==="destroyed"?N!==void 0&&(N.delete(D),N.size===0&&h.delete(R)):(N===void 0&&(N=new Set,h.set(R,N)),N.has(D)||N.add(D))}}})}),d.registerUpdateListener(({editorState:B,tags:D})=>{B.read(()=>{const F=Tt();let O=!1,j=!1;if(Ct(F)){const P=F.anchor.getNode();if(Wt(P)){const R=PT(P,F.anchor.offset);R!==null&&(v(R),O=!0),F.isCollapsed()||(g(P.getKey()),j=!0)}}O||v(P=>P.length===0?P:[]),j||g(null),!D.has("collaboration")&&Ct(F)&&S(!1)})}),d.registerCommand(y0,()=>{const B=window.getSelection();return B!==null&&B.removeAllRanges(),S(!0),!0},Tn))},[d,h]);const T=()=>{d.dispatchCommand(y0,void 0)};return ue.jsxs(ue.Fragment,{children:[w&&so.createPortal(ue.jsx(T3,{editor:d,cancelAddComment:b,submitAddComment:x,userName:a,userEmail:r,mentionItems:o,mentionedEmails:s,setmentionedEmails:c,wpAndTaskId:i}),document.body),m!=null&&!w&&so.createPortal(ue.jsx(j3,{anchorKey:m,editor:d,onAddComment:T}),document.body),n&&so.createPortal(ue.jsx(A3,{comments:f,submitAddComment:x,deleteCommentOrThread:y,activeIDs:_,markNodeMap:h,userName:a,userEmail:r,resolveThread:C,setShowComments:e,mentionItems:o,mentionedEmails:s,setmentionedEmails:c,wpAndTaskId:i}),document.body)]})}const ER="",oC=({type:l})=>ue.jsx("div",{className:"spinner-wrapper",children:l!=="richText"?ue.jsxs(ue.Fragment,{children:[ue.jsx("div",{className:"spinner"}),ue.jsx("div",{children:"Editor is loading..."})]}):ue.jsx(ue.Fragment,{children:"fetching editor state..."})}),iC=({onChange:l})=>{const[t]=xn(),[n,e]=he.useState(!0),a=he.useRef(""),r=a.current,o=he.useCallback(()=>{t.update(()=>{const s=R1(t);n?e(!1):s!==r&&(l(s),a.current=s)})},[t,n,l,r]);return he.useEffect(()=>{const s=t.registerUpdateListener(o);return()=>s()},[t,o]),null},sC=iS([...O1]);function P3({htmlString:l}){const[t]=xn();return he.useEffect(()=>{l&&t.update(()=>{const e=zn().getChildren().filter(Dr);e.forEach((a,r)=>{const o=a.getChildren().find(Ma);if(!o)return;let s=a.getChildren().find(p=>Wt(p)&&p.getTextContent().startsWith("Figure"));if(!s)for(let p=r+1;p<e.length;p++){const f=e[p];if(f.getTextContent().trim()==="")continue;const h=f.getChildren().find(m=>Wt(m)&&m.getTextContent().startsWith("Figure"));h&&(s=h);break}if(!s)return;const c=typeof s.getId=="function"?s.getId():void 0;let i=s.getTextContent();const u=c||zp(s.getTextContent(),Number(i[7]));o.__captionId=u;const d=new Li(s.getTextContent(),"black",u);d.setStyle("font-weight:bold;display:block;text-align:center;margin-top:5px;font-size:14px;"),s.replace(d)})})},[t,l]),null}function I3({htmlString:l}){const[t]=xn();return he.useEffect(()=>{console.log("htmlString",l),l&&t.update(()=>{const e=zn().getChildren().filter(pr);console.log("captionId",e),e.forEach((a,r)=>{const o=a.getPreviousSibling();if(o&&Dr(o)){const s=o.getChildren();console.log("children",s.find(i=>console.log("child",i)));const c=s.find(i=>i.getTextContent().startsWith("Table")&&i.getId&&i.getId());if(c){const i=c.getId();a.__captionId=i,console.log("captionId id",i)}else{const i=o.getTextContent();console.log("captionText",o,i),localStorage.getItem("tableCount")-1;const u=Zm(i,r);console.log("captionId",u),a.__captionId=u,s.forEach(d=>{if(d.getTextContent().startsWith("Table")){console.log("gtting here");const p=new Li(d.getTextContent(),"black",u);d.replace(p)}})}}})})},[t,l]),null}function M3({setEditorEditable:l,htmlString:t,isEditable:n,setIsexistingIdPresent:e}){const[a]=xn();return he.useRef({}),he.useEffect(()=>{a.update(()=>{const r=new DOMParser,o=Dw(t),s=r.parseFromString(o,"text/html");s.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(d=>{const p=d.getAttribute("id");p&&d.setAttribute("data-preserved-id",p)});const c=ny(a,s);c.forEach(d=>{if(Pp(d)){const p=a.getElementByKey(d.getKey());if(p){const f=p.getAttribute("data-preserved-id");if(f){const h=CustomHeadingNode.create(d.getHeadingLevel(),f);d.replace(h)}}}}),zn().clear();const u=Cn();Ri(c),Ri([u]),a.setEditable(!1),setTimeout(()=>{a.setEditable(n),l(!0)},500)})},[a,t]),null}function D3({initialEditorState:l,userObj:t,CollabApiKey:n,docId:e,mentionItems:a,type:r,updateSharepointList:o,updateSharepointList2:s,savedComments:c,styleConfig:i,handleSaveComments:u,pagination:d=!1,customHeight:p,customWidth:f,isCollab:h=!0,defaultState:m,editId:g,toolbarShow:_=!0,isEditable:v=!1,showTabContent:w=!0,wpAndTaskId:S,enableCaptions:E=!0}){const b=he.useRef(null),{historyState:y}=bb(),[x,C]=he.useState([]),[T,L]=he.useState(""),[B,D]=he.useState("skyp_1"),[F,O]=he.useState([]),[j,P]=he.useState(!1),[R,N]=Da(),[U,M]=he.useState(null),[z,V]=he.useState([]),[K,A]=he.useState(null),[q,W]=he.useState(!1),[H,G]=he.useState(!1);he.useState(!1);const[Z,Q]=he.useState([]),Y=he.useRef(null),[ee,re]=he.useState(!1);he.useState(!1);const[de,fe]=he.useState(!1),ne=async()=>({state:{root:[]},timestamp:Date.now()});let Se=()=>{console.log("[Lexical Demo][onBlacklistedInsert] blacklisted combination found")};const{userName:we,userId:me,userEmail:je}=t||{userName:"aa",userId:"aa",userEmail:"aa@sample.com"},ce={name:we,id:me,email:je},se={docId:e+"_"+g,apiKey:n,user:ce,hooks:{fetchDocOnNetworkReconnect:ne,contentChanged:(ct,He)=>{},usersUpdate:ct=>{C(ct),renderOnlineUsers(ct),console.log("[Lexical Demo][usersUpdate hook] hook invoked by Codox: ",ct)}}};he.useEffect(()=>{let ct=[],He=[];x&&x.length>0&&x.map((Ot,Gt)=>{He.includes(Ot.name)||(He.push(Ot.name),ct.push(ue.jsxs("div",{title:Ot.name,className:`avatarStyle avatar-color-${Gt+1}`,children:[" ",Ot.name&&Ot.name[0],Ot.name&&Ot.name[4]]},Gt)))}),O(ct)},[x]);const pe=()=>{Y.current&&(Y.current.initComments(c),["content_changed","error","users_update"].forEach(He=>{console.log("[Lexical Demo][[Subscribe to Codox Event]: ",He),Y.current.on(He,Ot=>{})}),Y.current.start(se).then(()=>{console.log("[Lexical Demo][codox.start] success"),P(!0)}).catch(He=>console.log("[Lexical Demo][codox.start] error",He)))},le=()=>{Y.current&&Y.current.stop(),P(!1)};he.useEffect(()=>{setTimeout(()=>{Fa('[class^="finalProposalEditorContainer_"]').animate({scrollTop:0},500,()=>{})},1e3)},[]),he.useEffect(()=>{Fa(".editor-outer").css({justifyContent:H?"flex-start":"center"})},[H]),he.useEffect(()=>{(async()=>{if(!B)return;j&&le();let ct=m;if(ct)try{sS(ct,sC),M(ct)}catch(He){console.error("[APP] error: ",He)}})()},[B]),he.useEffect(()=>{U&&e&&!j&&n&&setTimeout(()=>{pe()},2e3)},[U,e,j,n]);const ke=he.useMemo(()=>{if(U)return{editorState:ct=>{ct.update(()=>{const He=new Wd(ct);c&&(He.setComments(c),ct._commentStore||(ct._commentStore=new Wd(ct),ct._commentStore.getComments().length===0&&ct._commentStore.setComments(c)))})},namespace:`editor_${e}`,nodes:sC,onError:ct=>{console.error("[Lexical Demo][Editor Error Captured]: ",ct)},theme:Xm}},[U]),Te=he.useRef(l);he.useEffect(()=>{Te.current||(Te.current=l)},[l]);const Ce=ue.jsx(Ed,{children:"Enter some plain text..."}),[Me,qe]=he.useState(null),[Re,Le]=he.useState(!1),[Ee,Qe]=he.useState(!1),[Oe,Ke]=he.useState(!1),it=ct=>{ct!==null&&qe(ct)};he.useEffect(()=>{const ct=()=>{const He=Oc&&window.matchMedia("(max-width: 1025px)").matches;He!==Re&&Le(He)};return ct(),window.addEventListener("resize",ct),()=>{window.removeEventListener("resize",ct)}},[Re]),he.useEffect(()=>{const ct=He=>{K&&!He.target.closest(".reference-toolbar")&&A(null)};return document.addEventListener("click",ct),()=>{document.removeEventListener("click",ct)}},[K]),Fa(document).on("keydown mouseup",`.editor-autosave-${g}`,()=>{}),he.useState("");const nt=he.useRef("");he.useEffect(()=>{const ct=setTimeout(()=>{const Yt=Fa(`.editor-autosave-${g}`).html();if(Yt!==nt.current){const Xt=Yt;r==="objecive"?o(wd(Xt),g):s(wd(Xt),g),nt.current=Yt,console.log("withoutCollab save")}},7e3),He=()=>{const Yt=Fa(`.editor-autosave-${g}`).html();if(Yt!==nt.current){const Xt=Yt;r==="objecive"?o(wd(Xt),g):s(wd(Xt),g),nt.current=Yt,console.log("Save triggered by mouse or keyboard")}},Ot=Yt=>{He()},Gt=()=>{He()};return document.addEventListener("keydown",Ot),document.addEventListener("click",Gt),document.addEventListener("mousedown",Gt),()=>{clearTimeout(ct),document.removeEventListener("keydown",Ot),document.removeEventListener("click",Gt),document.removeEventListener("mousedown",Gt)}},[j,g,r]),he.useEffect(()=>{l&&t&&t.userName&&e&&i?setTimeout(()=>{re(!0)},1e3):re(!1)},[l,t,i]);const st=ct=>{o(ct),L(ct)};return ue.jsx(ue.Fragment,{children:ee?ue.jsxs(op,{initialConfig:ke,children:[ue.jsx(_b,{children:ue.jsx(N1,{children:ue.jsxs("div",{ref:b,className:"editor-shell",style:{position:"relative"},children:[ue.jsxs(ue.Fragment,{children:[ue.jsx(M3,{setEditorEditable:Ke,isEditable:v,htmlString:l}),ue.jsx(I3,{htmlString:l}),ue.jsx(P3,{htmlString:l}),ue.jsx(rC,{showComments:q,setShowComments:W,handleSaveComments:u,userName:we,userEmail:je,mentionItems:a,mentionedEmails:Z,setmentionedEmails:Q,wpAndTaskId:S}),v?ue.jsxs(ue.Fragment,{children:[i&&_&&ue.jsx(Lw,{styleConfig:i,setIsLinkEditMode:Qe,onlUser:F,showComments:q,setShowComments:W,parsedHtmlString:T,enableCaptions:E})," "]}):"",ue.jsx(iC,{onChange:st}),ue.jsxs("div",{className:"editor-container tree-view",children:[ue.jsx(fw,{}),!h&&ue.jsx(Tp,{}),ue.jsx(I1,{}),ue.jsx(pw,{}),ue.jsx(iw,{}),ue.jsx(cp,{externalHistoryState:y}),ue.jsx(Dp,{contentEditable:ue.jsx("div",{className:"editor-scroller",children:ue.jsx("div",{className:"editor",ref:it,children:ue.jsxs("div",{className:`editor-autosave-${g}`,children:[" ",ue.jsx(Sd,{className:(j||Oe)&&v?"ContentEditable__root":"ContentEditable__root no-events"})]})})}),placeholder:Ce,ErrorBoundary:Pl}),ue.jsx(M1,{}),ue.jsx(gw,{maxDepth:7}),ue.jsx(Q1,{hasCellMerge:!0,hasCellBackgroundColor:!0}),ue.jsx(Tw,{}),ue.jsx(lw,{enableCaptions:E}),ue.jsx(ly,{}),ue.jsx(vw,{}),Me&&!Re&&ue.jsx(ue.Fragment,{children:ue.jsx(kw,{anchorElem:Me,cellMerge:!0})}),ue.jsx(OS,{references:z,setReferences:V,position:K,onClose:()=>A(null),IsexistingIdPresent:de}),ue.jsx(NS,{setContextMenu:A,references:z,setReferences:V,containerRef:b}),ue.jsx(AS,{references:z,setReferences:V}),ue.jsx(k1,{}),ue.jsx(PS,{})]})]}),h&&ue.jsx(oS,{debug:!0,ref:Y,onBlacklistedInsert:Se}),R]})})}),i&&ue.jsx(kS,{styleConfig:i})]},e):ue.jsx(oC,{})})}const R3=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?he.useLayoutEffect:he.useEffect;let L3=class{constructor(t){this.key=t,this.ref={current:null},this.setRefElement=this.setRefElement.bind(this)}setRefElement(t){this.ref={current:t}}};const aC=l=>{const t=document.getElementById("typeahead-menu");if(!t)return;const n=t.getBoundingClientRect();n.top+n.height>window.innerHeight&&t.scrollIntoView({block:"center"}),n.top<0&&t.scrollIntoView({block:"center"}),l.scrollIntoView({block:"nearest"})};function lC(l,t){const n=l.getBoundingClientRect(),e=t.getBoundingClientRect();return n.top>e.top&&n.top<e.bottom}function F3(l,t,n,e){const[a]=xn();he.useEffect(()=>{if(t!=null&&l!=null){const r=a.getRootElement(),o=r!=null?function(d,p){let f=getComputedStyle(d);const h=f.position==="absolute",m=/(auto|scroll)/;if(f.position==="fixed")return document.body;for(let g=d;g=g.parentElement;)if(f=getComputedStyle(g),(!h||f.position!=="static")&&m.test(f.overflow+f.overflowY+f.overflowX))return g;return document.body}(r):document.body;let s=!1,c=lC(t,o);const i=function(){s||(window.requestAnimationFrame(function(){n(),s=!1}),s=!0);const d=lC(t,o);d!==c&&(c=d,e!=null&&e(d))},u=new ResizeObserver(n);return window.addEventListener("resize",n),document.addEventListener("scroll",i,{capture:!0,passive:!0}),u.observe(t),()=>{u.unobserve(t),window.removeEventListener("resize",n),document.removeEventListener("scroll",i,!0)}}},[t,a,e,n,l])}const cC=fo();function B3({close:l,editor:t,anchorElementRef:n,resolution:e,options:a,menuRenderFn:r,onSelectOption:o,shouldSplitNodeWithQuery:s=!1,commandPriority:c=Yn}){const[i,u]=he.useState(null),d=e.match&&e.match.matchingString;he.useEffect(()=>{u(0)},[d]);const p=he.useCallback(h=>{t.update(()=>{const m=e.match!=null&&s?function(g){const _=Tt();if(!Ct(_)||!_.isCollapsed())return null;const v=_.anchor;if(v.type!=="text")return null;const w=v.getNode();if(!w.isSimpleText())return null;const S=v.offset,E=w.getTextContent().slice(0,S),b=g.replaceableString.length,y=S-function(C,T,L){let B=L;for(let D=B;D<=T.length;D++)C.substr(-D)===T.substr(0,D)&&(B=D);return B}(E,g.matchingString,b);if(y<0)return null;let x;return y===0?[x]=w.splitText(S):[,x]=w.splitText(y,S),x}(e.match):null;o(h,m,l,e.match?e.match.matchingString:"")})},[t,s,e.match,o,l]),f=he.useCallback(h=>{const m=t.getRootElement();m!==null&&(m.setAttribute("aria-activedescendant","typeahead-item-"+h),u(h))},[t]);return he.useEffect(()=>()=>{const h=t.getRootElement();h!==null&&h.removeAttribute("aria-activedescendant")},[t]),R3(()=>{a===null?u(null):i===null&&f(0)},[a,i,f]),he.useEffect(()=>wr(t.registerCommand(cC,({option:h})=>!(!h.ref||h.ref.current==null)&&(aC(h.ref.current),!0),c)),[t,f,c]),he.useEffect(()=>wr(t.registerCommand(Bu,h=>{const m=h;if(a!==null&&a.length&&i!==null){const g=i!==a.length-1?i+1:0;f(g);const _=a[g];_.ref!=null&&_.ref.current&&t.dispatchCommand(cC,{index:g,option:_}),m.preventDefault(),m.stopImmediatePropagation()}return!0},c),t.registerCommand(Fu,h=>{const m=h;if(a!==null&&a.length&&i!==null){const g=i!==0?i-1:a.length-1;f(g);const _=a[g];_.ref!=null&&_.ref.current&&aC(_.ref.current),m.preventDefault(),m.stopImmediatePropagation()}return!0},c),t.registerCommand(Ls,h=>{const m=h;return m.preventDefault(),m.stopImmediatePropagation(),l(),!0},c),t.registerCommand(Sf,h=>{const m=h;return a!==null&&i!==null&&a[i]!=null&&(m.preventDefault(),m.stopImmediatePropagation(),p(a[i]),!0)},c),t.registerCommand(Rs,h=>a!==null&&i!==null&&a[i]!=null&&(h!==null&&(h.preventDefault(),h.stopImmediatePropagation()),p(a[i]),!0),c)),[p,l,t,a,i,f,c]),r(n,he.useMemo(()=>({options:a,selectOptionAndCleanUp:p,selectedIndex:i,setHighlightedIndex:u}),[p,i,a]),e.match?e.match.matchingString:"")}function z3({options:l,nodeKey:t,onClose:n,onOpen:e,onSelectOption:a,menuRenderFn:r,anchorClassName:o,commandPriority:s=Yn,parent:c}){const[i]=xn(),[u,d]=he.useState(null),p=function(g,_,v,w=document.body){const[S]=xn(),E=he.useRef(document.createElement("div")),b=he.useCallback(()=>{E.current.style.top=E.current.style.bottom;const x=S.getRootElement(),C=E.current,T=C.firstChild;if(x!==null&&g!==null){const{left:L,top:B,width:D,height:F}=g.getRect(),O=E.current.offsetHeight;if(C.style.top=`${B+window.pageYOffset+O+3}px`,C.style.left=`${L+window.pageXOffset}px`,C.style.height=`${F}px`,C.style.width=`${D}px`,T!==null){T.style.top=`${B}`;const j=T.getBoundingClientRect(),P=j.height,R=j.width,N=x.getBoundingClientRect();L+R>N.right&&(C.style.left=`${N.right-R+window.pageXOffset}px`),(B+P>window.innerHeight||B+P>N.bottom)&&B-N.top>P+F&&(C.style.top=B-P+window.pageYOffset-F+"px")}C.isConnected||(v!=null&&(C.className=v),C.setAttribute("aria-label","Typeahead menu"),C.setAttribute("id","typeahead-menu"),C.setAttribute("role","listbox"),C.style.display="block",C.style.position="absolute",w.append(C)),E.current=C,x.setAttribute("aria-controls","typeahead-menu")}},[S,g,v,w]);he.useEffect(()=>{const x=S.getRootElement();if(g!==null)return b(),()=>{x!==null&&x.removeAttribute("aria-controls");const C=E.current;C!==null&&C.isConnected&&C.remove()}},[S,b,g]);const y=he.useCallback(x=>{g!==null&&(x||_(null))},[g,_]);return F3(g,E.current,b,y),E}(u,d,o,c),f=he.useCallback(()=>{d(null),n!=null&&u!==null&&n()},[n,u]),h=he.useCallback(g=>{d(g),e!=null&&u===null&&e(g)},[e,u]),m=he.useCallback(()=>{t?i.update(()=>{const g=Bn(t),_=i.getElementByKey(t);var v;g!=null&&_!=null&&u==null&&(v=()=>h({getRect:()=>_.getBoundingClientRect()}),sr.startTransition?sr.startTransition(v):v())}):t==null&&u!=null&&f()},[f,i,t,h,u]);return he.useEffect(()=>{m()},[m,t]),he.useEffect(()=>{if(t!=null)return i.registerUpdateListener(({dirtyElements:g})=>{g.get(t)&&m()})},[i,m,t]),u===null||i===null?null:ue.jsx(B3,{close:f,resolution:u,editor:i,anchorElementRef:p,options:l,menuRenderFn:r,onSelectOption:a,commandPriority:s})}const U3=/((https?:\/\/(www\.)?)|(www\.))[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_+.~#?&//=]*)/,H3=fo();class uC extends L3{constructor(t,n){super(t),this.title=t,this.onSelect=n.onSelect.bind(this)}}function $3({embedConfigs:l,onOpenEmbedModalForConfig:t,getMenuOptions:n,menuRenderFn:e,menuCommandPriority:a=Yn}){const[r]=xn(),[o,s]=he.useState(null),[c,i]=he.useState(null),u=he.useCallback(()=>{s(null),i(null)},[]),d=he.useCallback(m=>{r.getEditorState().read(async function(){const g=Bn(m);if(Qo(g))for(let _=0;_<l.length;_++){const v=l[_];await Promise.resolve(v.parseUrl(g.__url))!=null&&(i(v),s(g.getKey()))}})},[r,l]);he.useEffect(()=>wr(...[yc,sd].map(m=>r.registerMutationListener(m,(...g)=>((_,{updateTags:v,dirtyLeaves:w})=>{for(const[S,E]of _)E==="created"&&v.has("paste")&&w.size<=3?d(S):S===o&&u()})(...g)))),[d,r,l,o,u]),he.useEffect(()=>r.registerCommand(H3,m=>{const g=l.find(({type:_})=>_===m);return!!g&&(t(g),!0)},Tn),[r,l,t]);const p=he.useCallback(async function(){if(c!=null&&o!=null){const m=r.getEditorState().read(()=>{const g=Bn(o);return Qo(g)?g:null});if(Qo(m)){const g=await Promise.resolve(c.parseUrl(m.__url));g!=null&&r.update(()=>{Tt()||m.selectEnd(),c.insertNode(r,g),m.isAttached()&&m.remove()})}}},[c,r,o]),f=he.useMemo(()=>c!=null&&o!=null?n(c,p,u):[],[c,p,n,o,u]),h=he.useCallback((m,g,_)=>{r.update(()=>{m.onSelect(g),_()})},[r]);return o!=null?ue.jsx(z3,{nodeKey:o,onClose:u,onSelectOption:h,options:f,menuRenderFn:e,commandPriority:a}):null}const q3=fo(),W3=fo(),J3=fo(),V3={contentName:"Youtube Video",exampleUrl:"https://www.youtube.com/watch?v=jNQXAC9IVRw",icon:ue.jsx("i",{className:"icon youtube"}),insertNode:(l,t)=>{l.dispatchCommand(J3,t.id)},keywords:["youtube","video"],parseUrl:async l=>{const t=/^.*(youtu\.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#&?]*).*/.exec(l),n=t&&(t==null?void 0:t[2].length)===11?t[2]:null;return n!=null?{id:n,url:l}:null},type:"youtube-video"},K3=[{contentName:"Tweet",exampleUrl:"https://twitter.com/jack/status/20",icon:ue.jsx("i",{className:"icon tweet"}),insertNode:(l,t)=>{l.dispatchCommand(W3,t.id)},keywords:["tweet","twitter"],parseUrl:l=>{const t=/^https:\/\/(twitter|x)\.com\/(#!\/)?(\w+)\/status(es)*\/(\d+)/.exec(l);return t!=null?{id:t[5],url:t[1]}:null},type:"tweet"},V3,{contentName:"Figma Document",exampleUrl:"https://www.figma.com/file/LKQ4FJ4bTnCSjedbRpk931/Sample-File",icon:ue.jsx("i",{className:"icon figma"}),insertNode:(l,t)=>{l.dispatchCommand(q3,t.id)},keywords:["figma","figma.com","mock-up"],parseUrl:l=>{const t=/https:\/\/([\w.-]+\.)?figma.com\/(file|proto)\/([0-9a-zA-Z]{22,128})(?:\/.*)?$/.exec(l);return t!=null?{id:t[3],url:t[0]}:null},type:"figma"}];function G3({index:l,isSelected:t,onClick:n,onMouseEnter:e,option:a}){let r="item";return t&&(r+=" selected"),ue.jsx("li",{tabIndex:-1,className:r,ref:a.setRefElement,role:"option","aria-selected":t,id:"typeahead-item-"+l,onMouseEnter:e,onClick:n,children:ue.jsx("span",{className:"text",children:a.title})},a.key)}function Y3({options:l,selectedItemIndex:t,onOptionClick:n,onOptionMouseEnter:e}){return ue.jsx("div",{className:"typeahead-popover",children:ue.jsx("ul",{children:l.map((a,r)=>ue.jsx(G3,{index:r,isSelected:t===r,onClick:()=>n(a,r),onMouseEnter:()=>e(r),option:a},a.key))})})}const Z3=(l,t)=>{let n;return e=>{window.clearTimeout(n),n=window.setTimeout(()=>{l(e)},t)}};function X3({embedConfig:l,onClose:t}){const[n,e]=he.useState(""),[a]=xn(),[r,o]=he.useState(null),s=he.useMemo(()=>Z3(i=>{const u=U3.exec(i);l!=null&&i!=null&&u!=null?Promise.resolve(l.parseUrl(i)).then(d=>{o(d)}):r!=null&&o(null)},200),[l,r]),c=()=>{r!=null&&(l.insertNode(a,r),t())};return ue.jsxs("div",{style:{width:"600px"},children:[ue.jsx("div",{className:"Input__wrapper",children:ue.jsx("input",{type:"text",className:"Input__input",placeholder:l.exampleUrl,value:n,"data-test-id":`${l.type}-embed-modal-url`,onChange:i=>{const{value:u}=i.target;e(u),s(u)}})}),ue.jsx(kp,{children:ue.jsx(Fi,{disabled:!r,onClick:c,"data-test-id":`${l.type}-embed-modal-submit-btn`,children:"Embed"})})]})}function Q3(){const[l,t]=Da(),n=a=>{t(`Embed ${a.contentName}`,r=>ue.jsx(X3,{embedConfig:a,onClose:r}))},e=(a,r,o)=>[new uC("Dismiss",{onSelect:o}),new uC(`Embed ${a.contentName}`,{onSelect:r})];return ue.jsxs(ue.Fragment,{children:[l,ue.jsx($3,{embedConfigs:K3,onOpenEmbedModalForConfig:n,getMenuOptions:e,menuRenderFn:(a,{selectedIndex:r,options:o,selectOptionAndCleanUp:s,setHighlightedIndex:c})=>a.current?vf.createPortal(ue.jsx("div",{className:"typeahead-popover auto-embed-menu",style:{marginLeft:a.current.style.width,width:200},children:ue.jsx(Y3,{options:o,selectedItemIndex:r,onOptionClick:(i,u)=>{c(u),s(i)},onOptionMouseEnter:i=>{c(i)}})}),a.current):null})]})}class eD extends $E{constructor(n,e,a){super(n);Un(this,"title");Un(this,"emoji");Un(this,"keywords");this.title=n,this.emoji=e,this.keywords=a.keywords||[]}}function tD({index:l,isSelected:t,onClick:n,onMouseEnter:e,option:a}){let r="item";return t&&(r+=" selected"),ue.jsx("li",{tabIndex:-1,className:r,ref:a.setRefElement,role:"option","aria-selected":t,id:"typeahead-item-"+l,onMouseEnter:e,onClick:n,children:ue.jsxs("span",{className:"text",children:[a.emoji," ",a.title]})},a.key)}const nD=10;function rD(){const[l]=xn(),[t,n]=he.useState(null),[e,a]=he.useState([]);he.useEffect(()=>{Promise.resolve().then(()=>DD).then(i=>a(i.default))},[]);const r=he.useMemo(()=>e!=null?e.map(({emoji:i,aliases:u,tags:d})=>new eD(u[0],i,{keywords:[...u,...d]})):[],[e]),o=VE(":",{minLength:0}),s=he.useMemo(()=>r.filter(i=>t!=null?new RegExp(t,"gi").exec(i.title)||i.keywords!=null?i.keywords.some(u=>new RegExp(t,"gi").exec(u)):!1:r).slice(0,nD),[r,t]),c=he.useCallback((i,u,d)=>{l.update(()=>{const p=Tt();!Ct(p)||i==null||(u&&u.remove(),p.insertNodes([er(i.emoji)]),d())})},[l]);return ue.jsx(KE,{onQueryChange:n,onSelectOption:c,triggerFn:o,options:s,menuRenderFn:(i,{selectedIndex:u,selectOptionAndCleanUp:d,setHighlightedIndex:p})=>i.current==null||s.length===0?null:i.current&&s.length?vf.createPortal(ue.jsx("div",{className:"typeahead-popover emoji-menu",children:ue.jsx("ul",{children:s.map((f,h)=>ue.jsx("div",{children:ue.jsx(tD,{index:h,isSelected:u===h,onClick:()=>{p(h),d(f)},onMouseEnter:()=>{p(h)},option:f})},f.key))})}),i.current):null})}const dC=new Map([[":)",["emoji happysmile","🙂"]],[":D",["emoji veryhappysmile","😀"]],[":(",["emoji unhappysmile","🙁"]],["<3",["emoji heart","❤"]],["🙂",["emoji happysmile","🙂"]],["😀",["emoji veryhappysmile","😀"]],["🙁",["emoji unhappysmile","🙁"]],["❤",["emoji heart","❤"]]]);function oD(l){const t=l.getTextContent();for(let n=0;n<t.length;n++){const e=dC.get(t[n])||dC.get(t.slice(n,n+2));if(e!==void 0){const[a,r]=e;let o;n===0?[o]=l.splitText(n+2):[,o]=l.splitText(n,n+2);const s=p1(a,r);return o.replace(s),s}}return null}function iD(l){let t=l;for(;t!==null;){if(!t.isSimpleText())return;t=oD(t)}}function sD(l){he.useEffect(()=>{if(!l.hasNodes([hd]))throw new Error("EmojisPlugin: EmojiNode not registered on editor");return l.registerNodeTransform(no,iD)},[l])}function aD(){const[l]=xn();return sD(l),null}const fC=iS([...O1]);function lD({initialEditorState:l,userObj:t,CollabApiKey:n,docId:e,mentionItems:a,type:r,updateSharepointList:o,updateSharepointList2:s,savedComments:c,styleConfig:i,handleSaveComments:u,pagination:d=!1,customHeight:p,customWidth:f,isCollab:h=!0,defaultState:m,editId:g,toolbarShow:_=!0,isEditable:v=!1,showTabContent:w=!0,wpAndTaskId:S,enableCaptions:E=!0}){const b=he.useRef(null),{historyState:y}=bb(),[x,C]=he.useState([]),[T,L]=he.useState("skyp_1"),[B,D]=he.useState([]),[F,O]=he.useState(!1),[j,P]=Da(),[R,N]=he.useState(null),[U,M]=he.useState([]),[z,V]=he.useState(null),[K,A]=he.useState(!1),[q,W]=he.useState(!1);he.useState(!1);const[H,G]=he.useState([]),Z=he.useRef(null),[Q,Y]=he.useState(!1);he.useState(!1);const ee=async()=>({state:{root:[]},timestamp:Date.now()});let re=()=>{console.log("[Lexical Demo][onBlacklistedInsert] blacklisted combination found")};const{userName:de,userId:fe,userEmail:ne}=t||{userName:"aa",userId:"aa",userEmail:"aa@sample.com"},Se={name:de,id:fe,email:ne},we={docId:e+"_"+g,apiKey:n,user:Se,hooks:{fetchDocOnNetworkReconnect:ee,contentChanged:(Oe,Ke)=>{},usersUpdate:Oe=>{C(Oe),renderOnlineUsers(Oe),console.log("[Lexical Demo][usersUpdate hook] hook invoked by Codox: ",Oe)}}};he.useEffect(()=>{let Oe=[],Ke=[];x&&x.length>0&&x.map((it,nt)=>{Ke.includes(it.name)||(Ke.push(it.name),Oe.push(ue.jsxs("div",{title:it.name,className:`avatarStyle avatar-color-${nt+1}`,children:[" ",it.name&&it.name[0],it.name&&it.name[4]]},nt)))}),D(Oe)},[x]);const me=()=>{Z.current&&(Z.current.initComments(c),["content_changed","error","users_update"].forEach(Ke=>{console.log("[Lexical Demo][[Subscribe to Codox Event]: ",Ke),Z.current.on(Ke,it=>{})}),Z.current.start(we).then(()=>{console.log("[Lexical Demo][codox.start] success"),O(!0)}).catch(Ke=>console.log("[Lexical Demo][codox.start] error",Ke)))},je=()=>{Z.current&&Z.current.stop(),O(!1)};he.useEffect(()=>{setTimeout(()=>{Fa('[class^="finalProposalEditorContainer_"]').animate({scrollTop:0},500,()=>{})},1e3)},[]),he.useEffect(()=>{Fa(".editor-outer").css({justifyContent:q?"flex-start":"center"})},[q]),he.useEffect(()=>{(async()=>{if(!T)return;F&&je();let Oe=m;if(Oe)try{sS(Oe,fC),N(Oe)}catch(Ke){console.error("[APP] error: ",Ke)}})()},[T]),he.useEffect(()=>{R&&e&&!F&&n&&setTimeout(()=>{me()},2e3)},[R,e,F,n]);const ce=he.useMemo(()=>{if(R)return{editorState:Oe=>{Oe.update(()=>{const Ke=new DOMParser,it=Dw(l),nt=Ke.parseFromString(it,"text/html");let st=ny(Oe,nt);zn().clear();const He=Cn();Ri(st),Ri([He]),Oe.setEditable(v),setTimeout(()=>{Oe.setEditable(v),Le(!0)},5e3);const Ot=new Wd(Oe);c&&(Ot.setComments(c),Oe._commentStore||(Oe._commentStore=new Wd(Oe),Oe._commentStore.getComments().length===0&&Oe._commentStore.setComments(c)))})},namespace:"Playground",nodes:fC,onError:Oe=>{console.error("[Lexical Demo][Editor Error Captured]: ",Oe)},theme:Xm}},[R]),se=he.useRef(l);he.useEffect(()=>{se.current||(se.current=l)},[l]);const pe=ue.jsx(Ed,{children:"Enter some plain text..."}),[le,ke]=he.useState(null),[Te,Ce]=he.useState(!1),[Me,qe]=he.useState(!1),[Re,Le]=he.useState(!1),Ee=Oe=>{Oe!==null&&ke(Oe)};he.useEffect(()=>{const Oe=()=>{const Ke=Oc&&window.matchMedia("(max-width: 1025px)").matches;Ke!==Te&&Ce(Ke)};return Oe(),window.addEventListener("resize",Oe),()=>{window.removeEventListener("resize",Oe)}},[Te]),he.useEffect(()=>{const Oe=Ke=>{z&&!Ke.target.closest(".reference-toolbar")&&V(null)};return document.addEventListener("click",Oe),()=>{document.removeEventListener("click",Oe)}},[z]),he.useEffect(()=>{l&&t&&t.userName&&e&&i?setTimeout(()=>{Y(!0)},1e3):Y(!1)},[l,t,i]);const Qe=Oe=>{console.log("CustomOnChange",Oe),s(Oe)};return ue.jsx(ue.Fragment,{children:Q?ue.jsxs(op,{initialConfig:ce,children:[ue.jsx(_b,{children:ue.jsx(N1,{children:ue.jsxs("div",{ref:b,className:"editor-shell",style:{position:"relative"},children:[ue.jsxs(ue.Fragment,{children:[ue.jsx(rC,{showComments:K,setShowComments:A,handleSaveComments:u,userName:de,userEmail:ne,mentionItems:a,mentionedEmails:H,setmentionedEmails:G,wpAndTaskId:S}),v?ue.jsxs(ue.Fragment,{children:[i&&_&&ue.jsx(Lw,{styleConfig:i,setIsLinkEditMode:qe,onlUser:B,showComments:K,setShowComments:A,enableCaptions:E})," "]}):"",ue.jsx(iC,{onChange:Qe}),ue.jsxs("div",{className:"editor-container tree-view",children:[ue.jsx(fw,{}),ue.jsx(rD,{}),ue.jsx(Q3,{}),ue.jsx(aD,{}),ue.jsx(I1,{}),ue.jsx(pw,{}),ue.jsx(iw,{}),ue.jsx(cp,{externalHistoryState:y}),ue.jsx(Dp,{contentEditable:ue.jsx("div",{className:"editor-scroller",children:ue.jsx("div",{className:"editor",ref:Ee,children:ue.jsxs("div",{className:`editor-autosave-${g}`,children:[" ",ue.jsx(Sd,{className:(F||Re)&&v?"ContentEditable__root":"ContentEditable__root no-events"})]})})}),placeholder:pe,ErrorBoundary:Pl}),ue.jsx(M1,{}),ue.jsx(gw,{maxDepth:7}),ue.jsx(Q1,{hasCellMerge:!0,hasCellBackgroundColor:!0}),h&&ue.jsx(Tw,{}),ue.jsx(lw,{enableCaptions:E}),ue.jsx(ly,{}),ue.jsx(vw,{}),le&&!Te&&ue.jsx(ue.Fragment,{children:ue.jsx(kw,{anchorElem:le,cellMerge:!0})}),z&&ue.jsx(OS,{references:U,setReferences:M,position:z,onClose:()=>V(null)}),ue.jsx(NS,{setContextMenu:V,references:U,setReferences:M,containerRef:b}),ue.jsx(AS,{references:U,setReferences:M}),ue.jsx(k1,{}),ue.jsx(PS,{})]})]}),h&&ue.jsx(oS,{debug:!0,ref:Z,onBlacklistedInsert:re}),j]})})}),i&&ue.jsx(kS,{styleConfig:i})]},e):ue.jsx(oC,{})})}const kR="";function cD(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var uD=cD(function(l){const t=new URLSearchParams;t.append("code",l);for(let n=1;n<arguments.length;n++)t.append("v",arguments[n]);throw Error(`Minified Lexical error #${l}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)});function pC(l){const t=l.transform();return t!==null?new Set([t]):new Set}function hC({initialEditor:l,children:t,initialNodes:n,initialTheme:e,skipCollabChecks:a}){const r=he.useRef(!1),o=he.useContext(Du);o==null&&uD(9);const[s,{getTheme:c}]=o,i=he.useMemo(()=>{const f=e||c()||void 0,h=Sv(o,f);if(f!==void 0&&(l._config.theme=f),l._parentEditor=s,n)for(let m of n){let g=null,_=null;if(typeof m!="function"){const w=m;m=w.replace,g=w.with,_=w.withKlass||null}const v=l._nodes.get(m.getType());l._nodes.set(m.getType(),{exportDOM:v?v.exportDOM:void 0,klass:m,replace:g,replaceWithKlass:_,transforms:pC(m)})}else{const m=l._nodes=new Map(s._nodes);for(const[g,_]of m)l._nodes.set(g,{exportDOM:_.exportDOM,klass:_.klass,replace:_.replace,replaceWithKlass:_.replaceWithKlass,transforms:pC(_.klass)})}return l._config.namespace=s._config.namespace,l._editable=s._editable,[l,h]},[]),{isCollabActive:u,yjsDocMap:d}=Cd(),p=a||r.current||d.has(l.getKey());return he.useEffect(()=>{p&&(r.current=!0)},[p]),he.useEffect(()=>s.registerEditableListener(f=>{l.setEditable(f)}),[l,s]),ue.jsx(Du.Provider,{value:i,children:!u||p?t:null})}function v0(l,t,n){return Math.min(Math.max(l,t),n)}const Nr={east:1,north:8,south:2,west:4};function dD({onResizeStart:l,onResizeEnd:t,buttonRef:n,imageRef:e,maxWidth:a,editor:r,showCaption:o,setShowCaption:s,enableCaptions:c}){const i=he.useRef(null),u=he.useRef({priority:"",value:"default"}),d=he.useRef({currentHeight:0,currentWidth:0,direction:0,isResizing:!1,ratio:0,startHeight:0,startWidth:0,startX:0,startY:0}),p=r.getRootElement(),f=p!==null?p.getBoundingClientRect().width-20:100,h=p!==null?p.getBoundingClientRect().height-20:100,m=100,g=100,_=b=>{const y=b===Nr.east||b===Nr.west,x=b===Nr.north||b===Nr.south,C=b&Nr.north&&b&Nr.west||b&Nr.south&&b&Nr.east,T=y?"ew":x?"ns":C?"nwse":"nesw";p!==null&&p.style.setProperty("cursor",`${T}-resize`,"important"),document.body!==null&&(document.body.style.setProperty("cursor",`${T}-resize`,"important"),u.current.value=document.body.style.getPropertyValue("-webkit-user-select"),u.current.priority=document.body.style.getPropertyPriority("-webkit-user-select"),document.body.style.setProperty("-webkit-user-select","none","important"))},v=()=>{p!==null&&p.style.setProperty("cursor","text"),document.body!==null&&(document.body.style.setProperty("cursor","default"),document.body.style.setProperty("-webkit-user-select",u.current.value,u.current.priority))},w=(b,y)=>{if(!r.isEditable())return;const x=e.current,C=i.current;if(x!==null&&C!==null){b.preventDefault();const{width:T,height:L}=x.getBoundingClientRect(),B=d.current;B.startWidth=T,B.startHeight=L,B.ratio=T/L,B.currentWidth=T,B.currentHeight=L,B.startX=b.clientX,B.startY=b.clientY,B.isResizing=!0,B.direction=y,_(y),l(),C.classList.add("image-control-wrapper--resizing"),x.style.height=`${L}px`,x.style.width=`${T}px`,document.addEventListener("pointermove",S),document.addEventListener("pointerup",E)}},S=b=>{const y=e.current,x=d.current,C=x.direction&(Nr.east|Nr.west),T=x.direction&(Nr.south|Nr.north);if(y!==null&&x.isResizing){if(C&&T){let L=Math.floor(x.startX-b.clientX);L=x.direction&Nr.east?-L:L;const B=v0(x.startWidth+L,m,f),D=B/x.ratio;y.style.width=`${B}px`,y.style.height=`${D}px`,x.currentHeight=D,x.currentWidth=B}else if(T){let L=Math.floor(x.startY-b.clientY);L=x.direction&Nr.south?-L:L;const B=v0(x.startHeight+L,g,h);y.style.height=`${B}px`,y.style.maxHeight=`${B}px`,x.currentHeight=B}else{let L=Math.floor(x.startX-b.clientX);L=x.direction&Nr.east?-L:L;const B=v0(x.startWidth+L,m,f);y.style.width=`${B}px`,y.style.maxWidth=`${B}px`,x.currentWidth=B}y&&(y.setAttribute("width",`${x.currentWidth}`),y.setAttribute("height",`${x.currentHeight}`))}},E=()=>{const b=e.current,y=d.current,x=i.current;if(b!==null&&x!==null&&y.isResizing){const C=y.currentWidth,T=y.currentHeight;y.startWidth=0,y.startHeight=0,y.ratio=0,y.startX=0,y.startY=0,y.currentWidth=0,y.currentHeight=0,y.isResizing=!1,x.classList.remove("image-control-wrapper--resizing"),v(),t(C,T),document.removeEventListener("pointermove",S),document.removeEventListener("pointerup",E)}};return ue.jsxs("div",{ref:i,children:[ue.jsx("div",{className:"image-resizer image-resizer-n",onPointerDown:b=>{w(b,Nr.north)}}),ue.jsx("div",{className:"image-resizer image-resizer-ne",onPointerDown:b=>{w(b,Nr.north|Nr.east)}}),ue.jsx("div",{className:"image-resizer image-resizer-e",onPointerDown:b=>{w(b,Nr.east)}}),ue.jsx("div",{className:"image-resizer image-resizer-se",onPointerDown:b=>{w(b,Nr.south|Nr.east)}}),ue.jsx("div",{className:"image-resizer image-resizer-s",onPointerDown:b=>{w(b,Nr.south)}}),ue.jsx("div",{className:"image-resizer image-resizer-sw",onPointerDown:b=>{w(b,Nr.south|Nr.west)}}),ue.jsx("div",{className:"image-resizer image-resizer-w",onPointerDown:b=>{w(b,Nr.west)}}),ue.jsx("div",{className:"image-resizer image-resizer-nw",onPointerDown:b=>{w(b,Nr.north|Nr.west)}})]})}const Ph={x:0,y:0,width:0,height:0,unit:"px"},cu=(l,t,n)=>Math.min(Math.max(l,t),n),fD=(...l)=>l.filter(t=>t&&typeof t=="string").join(" "),gC=(l,t)=>l===t||l.width===t.width&&l.height===t.height&&l.x===t.x&&l.y===t.y&&l.unit===t.unit;function uu(l,t,n){return l.unit==="%"?{...Ph,...l,unit:"%"}:{unit:"%",x:l.x?l.x/t*100:0,y:l.y?l.y/n*100:0,width:l.width?l.width/t*100:0,height:l.height?l.height/n*100:0}}function Ya(l,t,n){return l.unit?l.unit==="px"?{...Ph,...l,unit:"px"}:{unit:"px",x:l.x?l.x*t/100:0,y:l.y?l.y*n/100:0,width:l.width?l.width*t/100:0,height:l.height?l.height*n/100:0}:{...Ph,...l,unit:"px"}}function mC(l,t,n,e,a,r=0,o=0,s=e,c=a){const i={...l};let u=Math.min(r,e),d=Math.min(o,a),p=Math.min(s,e),f=Math.min(c,a);t&&(t>1?(u=o?o*t:u,d=u/t,p=s*t):(d=r?r/t:d,u=d*t,f=c/t)),i.y<0&&(i.height=Math.max(i.height+i.y,d),i.y=0),i.x<0&&(i.width=Math.max(i.width+i.x,u),i.x=0);const h=e-(i.x+i.width);h<0&&(i.x=Math.min(i.x,e-u),i.width+=h);const m=a-(i.y+i.height);if(m<0&&(i.y=Math.min(i.y,a-d),i.height+=m),i.width<u&&((n==="sw"||n=="nw")&&(i.x-=u-i.width),i.width=u),i.height<d&&((n==="nw"||n=="ne")&&(i.y-=d-i.height),i.height=d),i.width>p&&((n==="sw"||n=="nw")&&(i.x-=p-i.width),i.width=p),i.height>f&&((n==="nw"||n=="ne")&&(i.y-=f-i.height),i.height=f),t){const g=i.width/i.height;if(g<t){const _=Math.max(i.width/t,d);(n==="nw"||n=="ne")&&(i.y-=_-i.height),i.height=_}else if(g>t){const _=Math.max(i.height*t,u);(n==="sw"||n=="nw")&&(i.x-=_-i.width),i.width=_}}return i}function pD(l,t,n,e){const a={...l};return t==="ArrowLeft"?e==="nw"?(a.x-=n,a.y-=n,a.width+=n,a.height+=n):e==="w"?(a.x-=n,a.width+=n):e==="sw"?(a.x-=n,a.width+=n,a.height+=n):e==="ne"?(a.y+=n,a.width-=n,a.height-=n):e==="e"?a.width-=n:e==="se"&&(a.width-=n,a.height-=n):t==="ArrowRight"&&(e==="nw"?(a.x+=n,a.y+=n,a.width-=n,a.height-=n):e==="w"?(a.x+=n,a.width-=n):e==="sw"?(a.x+=n,a.width-=n,a.height-=n):e==="ne"?(a.y-=n,a.width+=n,a.height+=n):e==="e"?a.width+=n:e==="se"&&(a.width+=n,a.height+=n)),t==="ArrowUp"?e==="nw"?(a.x-=n,a.y-=n,a.width+=n,a.height+=n):e==="n"?(a.y-=n,a.height+=n):e==="ne"?(a.y-=n,a.width+=n,a.height+=n):e==="sw"?(a.x+=n,a.width-=n,a.height-=n):e==="s"?a.height-=n:e==="se"&&(a.width-=n,a.height-=n):t==="ArrowDown"&&(e==="nw"?(a.x+=n,a.y+=n,a.width-=n,a.height-=n):e==="n"?(a.y+=n,a.height-=n):e==="ne"?(a.y+=n,a.width-=n,a.height-=n):e==="sw"?(a.x-=n,a.width+=n,a.height+=n):e==="s"?a.height+=n:e==="se"&&(a.width+=n,a.height+=n)),a}const du={capture:!0,passive:!1};let hD=0;const Za=class ys extends he.PureComponent{constructor(){super(...arguments),this.docMoveBound=!1,this.mouseDownOnCrop=!1,this.dragStarted=!1,this.evData={startClientX:0,startClientY:0,startCropX:0,startCropY:0,clientX:0,clientY:0,isResize:!0},this.componentRef=he.createRef(),this.mediaRef=he.createRef(),this.initChangeCalled=!1,this.instanceId=`rc-${hD++}`,this.state={cropIsActive:!1,newCropIsBeingDrawn:!1},this.onCropPointerDown=t=>{const{crop:n,disabled:e}=this.props,a=this.getBox();if(!n)return;const r=Ya(n,a.width,a.height);if(e)return;t.cancelable&&t.preventDefault(),this.bindDocMove(),this.componentRef.current.focus({preventScroll:!0});const o=t.target.dataset.ord,s=!!o;let c=t.clientX,i=t.clientY,u=r.x,d=r.y;if(o){const p=t.clientX-a.x,f=t.clientY-a.y;let h=0,m=0;o==="ne"||o=="e"?(h=p-(r.x+r.width),m=f-r.y,u=r.x,d=r.y+r.height):o==="se"||o==="s"?(h=p-(r.x+r.width),m=f-(r.y+r.height),u=r.x,d=r.y):o==="sw"||o=="w"?(h=p-r.x,m=f-(r.y+r.height),u=r.x+r.width,d=r.y):(o==="nw"||o=="n")&&(h=p-r.x,m=f-r.y,u=r.x+r.width,d=r.y+r.height),c=u+a.x+h,i=d+a.y+m}this.evData={startClientX:c,startClientY:i,startCropX:u,startCropY:d,clientX:t.clientX,clientY:t.clientY,isResize:s,ord:o},this.mouseDownOnCrop=!0,this.setState({cropIsActive:!0})},this.onComponentPointerDown=t=>{const{crop:n,disabled:e,locked:a,keepSelection:r,onChange:o}=this.props,s=this.getBox();if(e||a||r&&n)return;t.cancelable&&t.preventDefault(),this.bindDocMove(),this.componentRef.current.focus({preventScroll:!0});const c=t.clientX-s.x,i=t.clientY-s.y,u={unit:"px",x:c,y:i,width:0,height:0};this.evData={startClientX:t.clientX,startClientY:t.clientY,startCropX:c,startCropY:i,clientX:t.clientX,clientY:t.clientY,isResize:!0},this.mouseDownOnCrop=!0,o(Ya(u,s.width,s.height),uu(u,s.width,s.height)),this.setState({cropIsActive:!0,newCropIsBeingDrawn:!0})},this.onDocPointerMove=t=>{const{crop:n,disabled:e,onChange:a,onDragStart:r}=this.props,o=this.getBox();if(e||!n||!this.mouseDownOnCrop)return;t.cancelable&&t.preventDefault(),this.dragStarted||(this.dragStarted=!0,r&&r(t));const{evData:s}=this;s.clientX=t.clientX,s.clientY=t.clientY;let c;s.isResize?c=this.resizeCrop():c=this.dragCrop(),gC(n,c)||a(Ya(c,o.width,o.height),uu(c,o.width,o.height))},this.onComponentKeyDown=t=>{const{crop:n,disabled:e,onChange:a,onComplete:r}=this.props;if(e)return;const o=t.key;let s=!1;if(!n)return;const c=this.getBox(),i=this.makePixelCrop(c),u=(navigator.platform.match("Mac")?t.metaKey:t.ctrlKey)?ys.nudgeStepLarge:t.shiftKey?ys.nudgeStepMedium:ys.nudgeStep;if(o==="ArrowLeft"?(i.x-=u,s=!0):o==="ArrowRight"?(i.x+=u,s=!0):o==="ArrowUp"?(i.y-=u,s=!0):o==="ArrowDown"&&(i.y+=u,s=!0),s){t.cancelable&&t.preventDefault(),i.x=cu(i.x,0,c.width-i.width),i.y=cu(i.y,0,c.height-i.height);const d=Ya(i,c.width,c.height),p=uu(i,c.width,c.height);a(d,p),r&&r(d,p)}},this.onHandlerKeyDown=(t,n)=>{const{aspect:e=0,crop:a,disabled:r,minWidth:o=0,minHeight:s=0,maxWidth:c,maxHeight:i,onChange:u,onComplete:d}=this.props,p=this.getBox();if(r||!a)return;if(t.key==="ArrowUp"||t.key==="ArrowDown"||t.key==="ArrowLeft"||t.key==="ArrowRight")t.stopPropagation(),t.preventDefault();else return;const f=(navigator.platform.match("Mac")?t.metaKey:t.ctrlKey)?ys.nudgeStepLarge:t.shiftKey?ys.nudgeStepMedium:ys.nudgeStep,h=Ya(a,p.width,p.height),m=pD(h,t.key,f,n),g=mC(m,e,n,p.width,p.height,o,s,c,i);if(!gC(a,g)){const _=uu(g,p.width,p.height);u(g,_),d&&d(g,_)}},this.onDocPointerDone=t=>{const{crop:n,disabled:e,onComplete:a,onDragEnd:r}=this.props,o=this.getBox();this.unbindDocMove(),!(e||!n)&&this.mouseDownOnCrop&&(this.mouseDownOnCrop=!1,this.dragStarted=!1,r&&r(t),a&&a(Ya(n,o.width,o.height),uu(n,o.width,o.height)),this.setState({cropIsActive:!1,newCropIsBeingDrawn:!1}))},this.onDragFocus=()=>{var t;(t=this.componentRef.current)==null||t.scrollTo(0,0)}}get document(){return document}getBox(){const t=this.mediaRef.current;if(!t)return{x:0,y:0,width:0,height:0};const{x:n,y:e,width:a,height:r}=t.getBoundingClientRect();return{x:n,y:e,width:a,height:r}}componentDidUpdate(t){const{crop:n,onComplete:e}=this.props;if(e&&!t.crop&&n){const{width:a,height:r}=this.getBox();a&&r&&e(Ya(n,a,r),uu(n,a,r))}}componentWillUnmount(){this.resizeObserver&&this.resizeObserver.disconnect(),this.unbindDocMove()}bindDocMove(){this.docMoveBound||(this.document.addEventListener("pointermove",this.onDocPointerMove,du),this.document.addEventListener("pointerup",this.onDocPointerDone,du),this.document.addEventListener("pointercancel",this.onDocPointerDone,du),this.docMoveBound=!0)}unbindDocMove(){this.docMoveBound&&(this.document.removeEventListener("pointermove",this.onDocPointerMove,du),this.document.removeEventListener("pointerup",this.onDocPointerDone,du),this.document.removeEventListener("pointercancel",this.onDocPointerDone,du),this.docMoveBound=!1)}getCropStyle(){const{crop:t}=this.props;if(t)return{top:`${t.y}${t.unit}`,left:`${t.x}${t.unit}`,width:`${t.width}${t.unit}`,height:`${t.height}${t.unit}`}}dragCrop(){const{evData:t}=this,n=this.getBox(),e=this.makePixelCrop(n),a=t.clientX-t.startClientX,r=t.clientY-t.startClientY;return e.x=cu(t.startCropX+a,0,n.width-e.width),e.y=cu(t.startCropY+r,0,n.height-e.height),e}getPointRegion(t,n,e,a){const{evData:r}=this,o=r.clientX-t.x,s=r.clientY-t.y;let c;a&&n?c=n==="nw"||n==="n"||n==="ne":c=s<r.startCropY;let i;return e&&n?i=n==="nw"||n==="w"||n==="sw":i=o<r.startCropX,i?c?"nw":"sw":c?"ne":"se"}resolveMinDimensions(t,n,e=0,a=0){const r=Math.min(e,t.width),o=Math.min(a,t.height);return!n||!r&&!o?[r,o]:n>1?r?[r,r/n]:[o*n,o]:o?[o*n,o]:[r,r/n]}resizeCrop(){const{evData:t}=this,{aspect:n=0,maxWidth:e,maxHeight:a}=this.props,r=this.getBox(),[o,s]=this.resolveMinDimensions(r,n,this.props.minWidth,this.props.minHeight);let c=this.makePixelCrop(r);const i=this.getPointRegion(r,t.ord,o,s),u=t.ord||i;let d=t.clientX-t.startClientX,p=t.clientY-t.startClientY;(o&&u==="nw"||u==="w"||u==="sw")&&(d=Math.min(d,-o)),(s&&u==="nw"||u==="n"||u==="ne")&&(p=Math.min(p,-s));const f={unit:"px",x:0,y:0,width:0,height:0};i==="ne"?(f.x=t.startCropX,f.width=d,n?(f.height=f.width/n,f.y=t.startCropY-f.height):(f.height=Math.abs(p),f.y=t.startCropY-f.height)):i==="se"?(f.x=t.startCropX,f.y=t.startCropY,f.width=d,n?f.height=f.width/n:f.height=p):i==="sw"?(f.x=t.startCropX+d,f.y=t.startCropY,f.width=Math.abs(d),n?f.height=f.width/n:f.height=p):i==="nw"&&(f.x=t.startCropX+d,f.width=Math.abs(d),n?(f.height=f.width/n,f.y=t.startCropY-f.height):(f.height=Math.abs(p),f.y=t.startCropY+p));const h=mC(f,n,i,r.width,r.height,o,s,e,a);return n||ys.xyOrds.indexOf(u)>-1?c=h:ys.xOrds.indexOf(u)>-1?(c.x=h.x,c.width=h.width):ys.yOrds.indexOf(u)>-1&&(c.y=h.y,c.height=h.height),c.x=cu(c.x,0,r.width-c.width),c.y=cu(c.y,0,r.height-c.height),c}renderCropSelection(){const{ariaLabels:t=ys.defaultProps.ariaLabels,disabled:n,locked:e,renderSelectionAddon:a,ruleOfThirds:r,crop:o}=this.props,s=this.getCropStyle();if(o)return he.createElement("div",{style:s,className:"ReactCrop__crop-selection",onPointerDown:this.onCropPointerDown,"aria-label":t.cropArea,tabIndex:0,onKeyDown:this.onComponentKeyDown,role:"group"},!n&&!e&&he.createElement("div",{className:"ReactCrop__drag-elements",onFocus:this.onDragFocus},he.createElement("div",{className:"ReactCrop__drag-bar ord-n","data-ord":"n"}),he.createElement("div",{className:"ReactCrop__drag-bar ord-e","data-ord":"e"}),he.createElement("div",{className:"ReactCrop__drag-bar ord-s","data-ord":"s"}),he.createElement("div",{className:"ReactCrop__drag-bar ord-w","data-ord":"w"}),he.createElement("div",{className:"ReactCrop__drag-handle ord-nw","data-ord":"nw",tabIndex:0,"aria-label":t.nwDragHandle,onKeyDown:c=>this.onHandlerKeyDown(c,"nw"),role:"button"}),he.createElement("div",{className:"ReactCrop__drag-handle ord-n","data-ord":"n",tabIndex:0,"aria-label":t.nDragHandle,onKeyDown:c=>this.onHandlerKeyDown(c,"n"),role:"button"}),he.createElement("div",{className:"ReactCrop__drag-handle ord-ne","data-ord":"ne",tabIndex:0,"aria-label":t.neDragHandle,onKeyDown:c=>this.onHandlerKeyDown(c,"ne"),role:"button"}),he.createElement("div",{className:"ReactCrop__drag-handle ord-e","data-ord":"e",tabIndex:0,"aria-label":t.eDragHandle,onKeyDown:c=>this.onHandlerKeyDown(c,"e"),role:"button"}),he.createElement("div",{className:"ReactCrop__drag-handle ord-se","data-ord":"se",tabIndex:0,"aria-label":t.seDragHandle,onKeyDown:c=>this.onHandlerKeyDown(c,"se"),role:"button"}),he.createElement("div",{className:"ReactCrop__drag-handle ord-s","data-ord":"s",tabIndex:0,"aria-label":t.sDragHandle,onKeyDown:c=>this.onHandlerKeyDown(c,"s"),role:"button"}),he.createElement("div",{className:"ReactCrop__drag-handle ord-sw","data-ord":"sw",tabIndex:0,"aria-label":t.swDragHandle,onKeyDown:c=>this.onHandlerKeyDown(c,"sw"),role:"button"}),he.createElement("div",{className:"ReactCrop__drag-handle ord-w","data-ord":"w",tabIndex:0,"aria-label":t.wDragHandle,onKeyDown:c=>this.onHandlerKeyDown(c,"w"),role:"button"})),a&&he.createElement("div",{className:"ReactCrop__selection-addon",onPointerDown:c=>c.stopPropagation()},a(this.state)),r&&he.createElement(he.Fragment,null,he.createElement("div",{className:"ReactCrop__rule-of-thirds-hz"}),he.createElement("div",{className:"ReactCrop__rule-of-thirds-vt"})))}makePixelCrop(t){const n={...Ph,...this.props.crop||{}};return Ya(n,t.width,t.height)}render(){const{aspect:t,children:n,circularCrop:e,className:a,crop:r,disabled:o,locked:s,style:c,ruleOfThirds:i}=this.props,{cropIsActive:u,newCropIsBeingDrawn:d}=this.state,p=r?this.renderCropSelection():null,f=fD("ReactCrop",a,u&&"ReactCrop--active",o&&"ReactCrop--disabled",s&&"ReactCrop--locked",d&&"ReactCrop--new-crop",r&&t&&"ReactCrop--fixed-aspect",r&&e&&"ReactCrop--circular-crop",r&&i&&"ReactCrop--rule-of-thirds",!this.dragStarted&&r&&!r.width&&!r.height&&"ReactCrop--invisible-crop",e&&"ReactCrop--no-animate");return he.createElement("div",{ref:this.componentRef,className:f,style:c},he.createElement("div",{ref:this.mediaRef,className:"ReactCrop__child-wrapper",onPointerDown:this.onComponentPointerDown},n),r?he.createElement("svg",{className:"ReactCrop__crop-mask",width:"100%",height:"100%"},he.createElement("defs",null,he.createElement("mask",{id:`hole-${this.instanceId}`},he.createElement("rect",{width:"100%",height:"100%",fill:"white"}),e?he.createElement("ellipse",{cx:`${r.x+r.width/2}${r.unit}`,cy:`${r.y+r.height/2}${r.unit}`,rx:`${r.width/2}${r.unit}`,ry:`${r.height/2}${r.unit}`,fill:"black"}):he.createElement("rect",{x:`${r.x}${r.unit}`,y:`${r.y}${r.unit}`,width:`${r.width}${r.unit}`,height:`${r.height}${r.unit}`,fill:"black"}))),he.createElement("rect",{fill:"black",fillOpacity:.5,width:"100%",height:"100%",mask:`url(#hole-${this.instanceId})`})):void 0,p)}};Za.xOrds=["e","w"],Za.yOrds=["n","s"],Za.xyOrds=["nw","ne","se","sw"],Za.nudgeStep=1,Za.nudgeStepMedium=10,Za.nudgeStepLarge=100,Za.defaultProps={ariaLabels:{cropArea:"Use the arrow keys to move the crop selection area",nwDragHandle:"Use the arrow keys to move the north west drag handle to change the crop selection area",nDragHandle:"Use the up and down arrow keys to move the north drag handle to change the crop selection area",neDragHandle:"Use the arrow keys to move the north east drag handle to change the crop selection area",eDragHandle:"Use the up and down arrow keys to move the east drag handle to change the crop selection area",seDragHandle:"Use the arrow keys to move the south east drag handle to change the crop selection area",sDragHandle:"Use the up and down arrow keys to move the south drag handle to change the crop selection area",swDragHandle:"Use the arrow keys to move the south west drag handle to change the crop selection area",wDragHandle:"Use the up and down arrow keys to move the west drag handle to change the crop selection area"}};let gD=Za;const TR="",_0=fo();function mD({altText:l,className:t,src:n,width:e,height:a,maxWidth:r,imageRef:o,startCrop:s,setStartCrop:c,isFocused:i,nodeKey:u}){const[d,p]=he.useState(null),[f,h]=he.useState({unit:"px",x:25,y:25,width:50,height:50}),[m]=xn(),g=()=>{if(d){const E=o.current;if(!E||!d)return;const b=E.naturalWidth/E.width,y=E.naturalHeight/E.height,x=new OffscreenCanvas(d.width*b,d.height*y),C=x.getContext("2d");if(!C)throw new Error("No 2D context available");C.drawImage(E,d.x*b,d.y*y,d.width*b,d.height*y,0,0,d.width*b,d.height*y),x.convertToBlob({type:"image/png"}).then(T=>{c(!1);const L=new FileReader;L.onload=()=>{const B=L.result;setTimeout(()=>{m.update(()=>{const D=Bn(u);Ma(D)&&B&&D.setSrc(B)},{tag:"crop"})},100)},L.onerror=()=>{console.error("Error reading the cropped image blob")},L.readAsDataURL(T)})}},_=()=>{s||c(E=>{if(E===!1){const b=o.current;h({unit:"px",x:0,y:0,width:b.width,height:b.height})}return!E})},v=he.useRef(null),w=he.useRef(null);he.useEffect(()=>{d&&(v.current=d)},[d]);const S=E=>{w.current&&!w.current.contains(E.target)&&c(!1)};return he.useEffect(()=>(document.addEventListener("mousedown",S),()=>{document.removeEventListener("mousedown",S)}),[]),ue.jsxs("div",{ref:w,children:[i&&ue.jsx("button",{style:{zIndex:999},className:"image-caption-button",onClick:()=>_(),children:"Crop"}),s&&ue.jsx("button",{style:{zIndex:999},className:"image-caption-button",onClick:()=>g(),children:"Apply Crop"}),s?ue.jsx(gD,{crop:f,onChange:E=>h(E),onComplete:E=>p(E),children:ue.jsx("img",{className:t||void 0,src:n,alt:l,ref:o,width:typeof e=="number"?e:void 0,height:typeof a=="number"?a:void 0,style:{height:a,maxWidth:r,width:e},draggable:"false",crossOrigin:"anonymous"})}):ue.jsx("img",{className:t||void 0,src:n,alt:l,ref:o,width:typeof e=="number"?e:void 0,height:typeof a=="number"?a:void 0,style:{height:a,maxWidth:r,width:e},draggable:"false",crossOrigin:"anonymous"})]})}function yD({src:l,altText:t,nodeKey:n,width:e,height:a,maxWidth:r,resizable:o,showCaption:s,caption:c,enableCaptions:i}){const u=he.useRef(null),d=he.useRef(null),[p,f,h]=_c(n),[m,g]=he.useState(!1),[_]=xn(),[v,w]=he.useState(null),[S,E]=he.useState(!1),b=he.useRef(null),y=he.useCallback(P=>p?(P.preventDefault(),_.update(()=>{const R=Bn(n);Ma(R)&&R.remove()}),!0):!1,[p,_,n]),x=he.useCallback(P=>{const R=Tt(),N=d.current;if(p&&fr(R)&&R.getNodes().length===1){if(s)return jr(null),P.preventDefault(),c.focus(),!0;if(N!==null&&N!==document.activeElement)return P.preventDefault(),N.focus(),!0}return!1},[c,p,s]),C=he.useCallback(P=>b.current===c||d.current===P.target?(jr(null),_.update(()=>{f(!0);const R=_.getRootElement();R!==null&&R.focus()}),!0):!1,[c,_,f]),T=he.useCallback(P=>{const R=P;return m?!0:R.target===u.current?(R.shiftKey?f(!p):(h(),f(!0)),!0):!1},[m,p,f,h]),L=he.useCallback(P=>{_.getEditorState().read(()=>{const R=Tt();P.target.tagName==="IMG"&&Ct(R)&&R.getNodes().length===1&&_.dispatchCommand(_0,P)})},[_]);he.useEffect(()=>{const P=N=>{(N.key==="Delete"||N.key==="Backspace")&&p&&(N.stopPropagation(),N.preventDefault(),_.update(()=>{const U=Bn(n);Ma(U)&&U.remove()}))},R=_.getRootElement();return R==null||R.addEventListener("keydown",P),()=>{R==null||R.removeEventListener("keydown",P)}},[p,_,n]),he.useEffect(()=>{let P=!0;const R=_.getRootElement(),N=wr(_.registerUpdateListener(({editorState:U})=>{P&&w(U.read(()=>Tt()))}),_.registerCommand(vi,(U,M)=>(b.current=M,!1),Yn),_.registerCommand(ya,T,Yn),_.registerCommand(_0,T,Yn),_.registerCommand(tc,U=>U.target===u.current?(U.preventDefault(),!0):!1,Yn),_.registerCommand(Xi,y,4),_.registerCommand(Zi,y,4),_.registerCommand(Rs,x,Yn),_.registerCommand(Ls,C,Yn));return R==null||R.addEventListener("contextmenu",L),()=>{P=!1,N(),R==null||R.removeEventListener("contextmenu",L)}},[h,_,m,p,n,x,C,T,L,f]);const B=()=>{_.update(()=>{const P=Bn(n);Ma(P)&&P.setShowCaption(!0)})},D=(P,R)=>{setTimeout(()=>{g(!1)},200),_.update(()=>{const N=Bn(n);Ma(N)&&N.setWidthAndHeight(P,R)})},F=()=>{S||g(!0)},O=p&&fr(v)&&!m,j=p||m;return ue.jsx(he.Suspense,{fallback:null,children:ue.jsxs(ue.Fragment,{children:[ue.jsx("div",{draggable:O,children:ue.jsx(mD,{className:j?`focused ${fr(v)?"draggable":""}`:null,src:l,altText:t,width:e,height:a,maxWidth:r,imageRef:u,startCrop:S,setStartCrop:E,isFocused:j,nodeKey:n})}),s&&ue.jsx("div",{className:"image-caption-container",children:ue.jsx(hC,{initialEditor:c,children:ue.jsx(Dp,{contentEditable:ue.jsx(Sd,{className:"ImageNode__contentEditable"}),placeholder:ue.jsx(Ed,{className:"ImageNode__placeholder",children:"Enter a caption..."}),ErrorBoundary:Pl})})}),!S&&o&&fr(v)&&j&&ue.jsx(dD,{showCaption:s,setShowCaption:B,editor:_,buttonRef:d,maxWidth:r,onResizeStart:S?()=>{}:F,onResizeEnd:S?()=>{}:D,enableCaptions:i,imageRef:u})]})})}const vD=Object.freeze(Object.defineProperty({__proto__:null,RIGHT_CLICK_IMAGE_COMMAND:_0,default:yD},Symbol.toStringTag,{value:"Module"})),OR="",NR="";function _D(l,t){const n=l.getRangeAt(0);let e;if(l.anchorNode===t){let a=t;for(;a.firstElementChild!=null;)a=a.firstElementChild;e=a.getBoundingClientRect()}else e=n.getBoundingClientRect();return e}const bD=10,wD=5;function xD(l,t,n,e=!1,a=bD,r=wD){const o=n.parentElement;if(l===null||!o){t.style.opacity="0",t.style.transform="translate(-10000px, -10000px)";return}const s=t.getBoundingClientRect(),c=n.getBoundingClientRect(),i=o.getBoundingClientRect();let u=l.top-s.height-a,d=l.left-r;u<i.top&&(u+=s.height+l.height+a*(e?9:2)),d+s.width>i.right&&(d=i.right-s.width-r),u-=c.top,d-=c.left,t.style.opacity="1",t.style.transform=`translate(${d}px, ${u}px)`}function SD({editor:l,anchorElem:t,isLink:n,isBold:e,isItalic:a,isUnderline:r,isCode:o,isStrikethrough:s,isSubscript:c,isSuperscript:i}){const u=he.useRef(null),d=he.useCallback(()=>{n?l.dispatchCommand(Aa,null):l.dispatchCommand(Aa,"https://")},[l,n]),p=()=>{l.dispatchCommand(y0,void 0)};function f(g){if(u!=null&&u.current&&(g.buttons===1||g.buttons===3)&&u.current.style.pointerEvents!=="none"){const _=g.clientX,v=g.clientY,w=document.elementFromPoint(_,v);u.current.contains(w)||(u.current.style.pointerEvents="none")}}function h(g){u!=null&&u.current&&u.current.style.pointerEvents!=="auto"&&(u.current.style.pointerEvents="auto")}he.useEffect(()=>{if(u!=null&&u.current)return document.addEventListener("mousemove",f),document.addEventListener("mouseup",h),()=>{document.removeEventListener("mousemove",f),document.removeEventListener("mouseup",h)}},[u]);const m=he.useCallback(()=>{const g=Tt(),_=u.current,v=window.getSelection();if(_===null)return;const w=l.getRootElement();if(g!==null&&v!==null&&!v.isCollapsed&&w!==null&&w.contains(v.anchorNode)){const S=_D(v,w);xD(S,_,t,n)}},[l,t,n]);return he.useEffect(()=>{const g=t.parentElement,_=()=>{l.getEditorState().read(()=>{m()})};return window.addEventListener("resize",_),g&&g.addEventListener("scroll",_),()=>{window.removeEventListener("resize",_),g&&g.removeEventListener("scroll",_)}},[l,m,t]),he.useEffect(()=>(l.getEditorState().read(()=>{m()}),wr(l.registerUpdateListener(({editorState:g})=>{g.read(()=>{m()})}),l.registerCommand(vi,()=>(m(),!1),Yn))),[l,m]),ue.jsxs("div",{ref:u,className:"floating-text-format-popup",children:[l.isEditable()&&ue.jsxs(ue.Fragment,{children:[ue.jsx("button",{type:"button",onClick:()=>{l.dispatchCommand(Gr,"bold")},className:"popup-item spaced "+(e?"active":""),"aria-label":"Format text as bold",children:ue.jsx("i",{className:"format bold"})}),ue.jsx("button",{type:"button",onClick:()=>{l.dispatchCommand(Gr,"italic")},className:"popup-item spaced "+(a?"active":""),"aria-label":"Format text as italics",children:ue.jsx("i",{className:"format italic"})}),ue.jsx("button",{type:"button",onClick:()=>{l.dispatchCommand(Gr,"underline")},className:"popup-item spaced "+(r?"active":""),"aria-label":"Format text to underlined",children:ue.jsx("i",{className:"format underline"})}),ue.jsx("button",{type:"button",onClick:()=>{l.dispatchCommand(Gr,"strikethrough")},className:"popup-item spaced "+(s?"active":""),"aria-label":"Format text with a strikethrough",children:ue.jsx("i",{className:"format strikethrough"})}),ue.jsx("button",{type:"button",onClick:()=>{l.dispatchCommand(Gr,"subscript")},className:"popup-item spaced "+(c?"active":""),title:"Subscript","aria-label":"Format Subscript",children:ue.jsx("i",{className:"format subscript"})}),ue.jsx("button",{type:"button",onClick:()=>{l.dispatchCommand(Gr,"superscript")},className:"popup-item spaced "+(i?"active":""),title:"Superscript","aria-label":"Format Superscript",children:ue.jsx("i",{className:"format superscript"})}),ue.jsx("button",{type:"button",onClick:()=>{l.dispatchCommand(Gr,"code")},className:"popup-item spaced "+(o?"active":""),"aria-label":"Insert code block",children:ue.jsx("i",{className:"format code"})}),ue.jsx("button",{type:"button",onClick:d,className:"popup-item spaced "+(n?"active":""),"aria-label":"Insert link",children:ue.jsx("i",{className:"format link"})})]}),ue.jsx("button",{type:"button",onClick:p,className:"popup-item spaced insert-comment","aria-label":"Insert comment",children:ue.jsx("i",{className:"format add-comment"})})]})}function ED(l,t){const[n,e]=he.useState(!1),[a,r]=he.useState(!1),[o,s]=he.useState(!1),[c,i]=he.useState(!1),[u,d]=he.useState(!1),[p,f]=he.useState(!1),[h,m]=he.useState(!1),[g,_]=he.useState(!1),[v,w]=he.useState(!1),S=he.useCallback(()=>{l.getEditorState().read(()=>{if(l.isComposing())return;const E=Tt(),b=window.getSelection(),y=l.getRootElement();if(b!==null&&(!Ct(E)||y===null||!y.contains(b.anchorNode))){e(!1);return}if(!Ct(E))return;const x=Aw(E);s(E.hasFormat("bold")),i(E.hasFormat("italic")),d(E.hasFormat("underline")),f(E.hasFormat("strikethrough")),m(E.hasFormat("subscript")),_(E.hasFormat("superscript")),w(E.hasFormat("code"));const C=x.getParent();Qo(C)||Qo(x)?r(!0):r(!1),!jm(E.anchor.getNode())&&E.getTextContent()!==""?e(Wt(x)||Dr(x)):e(!1);const T=E.getTextContent().replace(/\n/g,"");if(!E.isCollapsed()&&T===""){e(!1);return}})},[l]);return he.useEffect(()=>(document.addEventListener("selectionchange",S),()=>{document.removeEventListener("selectionchange",S)}),[S]),he.useEffect(()=>wr(l.registerUpdateListener(()=>{S()}),l.registerRootListener(()=>{l.getRootElement()===null&&e(!1)})),[l,S]),n?so.createPortal(ue.jsx(SD,{editor:l,anchorElem:t,isLink:a,isBold:o,isItalic:c,isStrikethrough:p,isSubscript:h,isSuperscript:g,isUnderline:u,isCode:v}),t):null}function CD({anchorElem:l=document.body}){const[t]=xn();return ED(t,l)}const AR="";function jD({children:l,label:t,className:n,...e}){return ue.jsxs("div",{className:"Input__wrapper",children:[ue.jsx("label",{style:{marginTop:"-1em"},className:"Input__label",children:t}),ue.jsx("select",{...e,className:n||"select",children:l})]})}const yC=new Set;function kD(l){if(!yC.has(l))throw new Promise(t=>{const n=new Image;n.src=l,n.onload=()=>{yC.add(l),t(null)}})}function TD({altText:l,className:t,imageRef:n,src:e,width:a,height:r,position:o}){return kD(e),ue.jsx("img",{className:t||void 0,src:e,alt:l,ref:n,"data-position":o,style:{display:"block",height:r,width:a},draggable:"false"})}function vC({activeEditor:l,nodeKey:t,onClose:n}){const a=l.getEditorState().read(()=>Bn(t)),[r,o]=he.useState(a.getAltText()),[s,c]=he.useState(a.getShowCaption()),[i,u]=he.useState(a.getPosition()),d=h=>{c(h.target.checked)},p=h=>{u(h.target.value)},f=()=>{const h={altText:r,position:i,showCaption:s};a&&l.update(()=>{a.update(h)}),n()};return ue.jsxs(ue.Fragment,{children:[ue.jsx("div",{style:{marginBottom:"1em"},children:ue.jsx(Cc,{label:"Alt Text",placeholder:"Descriptive alternative text",onChange:o,value:r,"data-test-id":"image-modal-alt-text-input"})}),ue.jsxs(jD,{style:{marginBottom:"1em",width:"208px"},value:i,label:"Position",name:"position",id:"position-select",onChange:p,children:[ue.jsx("option",{value:"left",children:"Left"}),ue.jsx("option",{value:"right",children:"Right"}),ue.jsx("option",{value:"full",children:"Full Width"})]}),ue.jsxs("div",{className:"Input__wrapper",children:[ue.jsx("input",{id:"caption",type:"checkbox",checked:s,onChange:d}),ue.jsx("label",{htmlFor:"caption",children:"Show Caption"})]}),ue.jsx(kp,{children:ue.jsx(Fi,{"data-test-id":"image-modal-file-upload-btn",onClick:()=>f(),children:"Confirm"})})]})}function OD({src:l,altText:t,nodeKey:n,width:e,height:a,showCaption:r,caption:o,position:s}){const[c,i]=Da(),u=he.useRef(null),d=he.useRef(null),[p,f,h]=_c(n),[m]=xn(),[g,_]=he.useState(null),v=he.useRef(null),w=he.useCallback(x=>{if(p&&fr(Tt())){x.preventDefault();const T=Bn(n);if(pT(T))return T.remove(),!0}return!1},[p,n]),S=he.useCallback(x=>{const C=Tt(),T=d.current;if(p&&fr(C)&&C.getNodes().length===1){if(r)return jr(null),x.preventDefault(),o.focus(),!0;if(T!==null&&T!==document.activeElement)return x.preventDefault(),T.focus(),!0}return!1},[o,p,r]),E=he.useCallback(x=>v.current===o||d.current===x.target?(jr(null),m.update(()=>{f(!0);const C=m.getRootElement();C!==null&&C.focus()}),!0):!1,[o,m,f]);he.useEffect(()=>{let x=!0;const C=wr(m.registerUpdateListener(({editorState:T})=>{x&&_(T.read(()=>Tt()))}),m.registerCommand(vi,(T,L)=>(v.current=L,!1),Yn),m.registerCommand(ya,T=>{const L=T;return L.target===u.current?(L.shiftKey?f(!p):(h(),f(!0)),!0):!1},Yn),m.registerCommand(tc,T=>T.target===u.current?(T.preventDefault(),!0):!1,Yn),m.registerCommand(Xi,w,Yn),m.registerCommand(Zi,w,Yn),m.registerCommand(Rs,S,Yn),m.registerCommand(Ls,E,Yn));return()=>{x=!1,C()}},[h,m,p,n,w,S,E,f]);const b=p&&fr(g),y=p;return ue.jsxs(he.Suspense,{fallback:null,children:[ue.jsxs(ue.Fragment,{children:[ue.jsxs("div",{draggable:b,children:[ue.jsx("button",{className:"image-edit-button",ref:d,onClick:()=>{i("Update Inline Image",x=>ue.jsx(vC,{activeEditor:m,nodeKey:n,onClose:x}))},children:"Edit"}),ue.jsx(TD,{className:y?`focused ${fr(g)?"draggable":""}`:null,src:l,altText:t,imageRef:u,width:e,height:a,position:s})]}),r&&ue.jsx("div",{className:"image-caption-container",children:ue.jsxs(hC,{initialEditor:o,children:[ue.jsx(Tp,{}),ue.jsx(ly,{}),ue.jsx(CD,{}),ue.jsx(Dp,{contentEditable:ue.jsx(Sd,{className:"InlineImageNode__contentEditable"}),placeholder:ue.jsx(Ed,{className:"InlineImageNode__placeholder",children:"Enter a caption..."}),ErrorBoundary:Pl})]})})]}),c]})}const ND=Object.freeze(Object.defineProperty({__proto__:null,UpdateInlineImageDialog:vC,default:OD},Symbol.toStringTag,{value:"Module"})),PR="";function AD(l){return l.reduce((t,n)=>t+n.votes.length,0)}function PD({option:l,index:t,options:n,totalVotes:e,withPollNode:a}){const{clientID:r}=Cd(),o=he.useRef(null),s=l.votes,i=s.indexOf(r)!==-1,u=s.length,d=l.text;return ue.jsxs("div",{className:"PollNode__optionContainer",children:[ue.jsx("div",{className:Ym("PollNode__optionCheckboxWrapper",i&&"PollNode__optionCheckboxChecked"),children:ue.jsx("input",{ref:o,className:"PollNode__optionCheckbox",type:"checkbox",onChange:p=>{a(f=>{f.toggleVote(l,r)})},checked:i})}),ue.jsxs("div",{className:"PollNode__optionInputWrapper",children:[ue.jsx("div",{className:"PollNode__optionInputVotes",style:{width:`${u===0?0:u/e*100}%`}}),ue.jsx("span",{className:"PollNode__optionInputVotesCount",children:u>0&&(u===1?"1 vote":`${u} votes`)}),ue.jsx("input",{className:"PollNode__optionInput",type:"text",value:d,onChange:p=>{const f=p.target,h=f.value,m=f.selectionStart,g=f.selectionEnd;a(_=>{_.setOptionText(l,h)},()=>{f.selectionStart=m,f.selectionEnd=g})},placeholder:`Option ${t+1}`})]}),ue.jsx("button",{disabled:n.length<3,className:Ym("PollNode__optionDelete",n.length<3&&"PollNode__optionDeleteDisabled"),"aria-label":"Remove",onClick:()=>{a(p=>{p.deleteOption(l)})}})]})}function ID({question:l,options:t,nodeKey:n}){const[e]=xn(),a=he.useMemo(()=>AD(t),[t]),[r,o,s]=_c(n),[c,i]=he.useState(null),u=he.useRef(null),d=he.useCallback(m=>{if(r&&fr(Tt())){m.preventDefault();const _=Bn(n);if(w1(_))return _.remove(),!0}return!1},[r,n]);he.useEffect(()=>wr(e.registerUpdateListener(({editorState:m})=>{i(m.read(()=>Tt()))}),e.registerCommand(ya,m=>{const g=m;return g.target===u.current?(g.shiftKey||s(),o(!r),!0):!1},Yn),e.registerCommand(Xi,d,Yn),e.registerCommand(Zi,d,Yn)),[s,e,r,n,d,o]);const p=(m,g)=>{e.update(()=>{const _=Bn(n);w1(_)&&m(_)},{onUpdate:g})},f=()=>{p(m=>{m.addOption(ST())})},h=fr(c)&&r;return ue.jsx("div",{className:`PollNode__container ${h?"focused":""}`,ref:u,children:ue.jsxs("div",{className:"PollNode__inner",children:[ue.jsx("h2",{className:"PollNode__heading",children:l}),t.map((m,g)=>{const _=m.uid;return ue.jsx(PD,{withPollNode:p,option:m,index:g,options:t,totalVotes:a},_)}),ue.jsx("div",{className:"PollNode__footer",children:ue.jsx(Fi,{onClick:f,small:!0,children:"Add Option"})})]})})}const MD=Object.freeze(Object.defineProperty({__proto__:null,default:ID},Symbol.toStringTag,{value:"Module"})),DD=Object.freeze(Object.defineProperty({__proto__:null,default:[{description:"grinning face",emoji:"😀",category:"Smileys & Emotion",aliases:["grinning"],tags:["smile","happy"],unicode_version:"6.1",ios_version:"6.0"},{emoji:"😃",description:"grinning face with big eyes",category:"Smileys & Emotion",aliases:["smiley"],tags:["happy","joy","haha"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😄",description:"grinning face with smiling eyes",category:"Smileys & Emotion",aliases:["smile"],tags:["happy","joy","laugh","pleased"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😁",description:"beaming face with smiling eyes",category:"Smileys & Emotion",aliases:["grin"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😆",description:"grinning squinting face",category:"Smileys & Emotion",aliases:["laughing","satisfied"],tags:["happy","haha"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😅",description:"grinning face with sweat",category:"Smileys & Emotion",aliases:["sweat_smile"],tags:["hot"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🤣",description:"rolling on the floor laughing",category:"Smileys & Emotion",aliases:["rofl"],tags:["lol","laughing"],unicode_version:"9.0",ios_version:"10.2"},{emoji:"😂",description:"face with tears of joy",category:"Smileys & Emotion",aliases:["joy"],tags:["tears"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🙂",description:"slightly smiling face",category:"Smileys & Emotion",aliases:["slightly_smiling_face"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🙃",description:"upside-down face",category:"Smileys & Emotion",aliases:["upside_down_face"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"😉",description:"winking face",category:"Smileys & Emotion",aliases:["wink"],tags:["flirt"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😊",description:"smiling face with smiling eyes",category:"Smileys & Emotion",aliases:["blush"],tags:["proud"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😇",description:"smiling face with halo",category:"Smileys & Emotion",aliases:["innocent"],tags:["angel"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🥰",description:"smiling face with hearts",category:"Smileys & Emotion",aliases:["smiling_face_with_three_hearts"],tags:["love"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"😍",description:"smiling face with heart-eyes",category:"Smileys & Emotion",aliases:["heart_eyes"],tags:["love","crush"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🤩",description:"star-struck",category:"Smileys & Emotion",aliases:["star_struck"],tags:["eyes"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"😘",description:"face blowing a kiss",category:"Smileys & Emotion",aliases:["kissing_heart"],tags:["flirt"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😗",description:"kissing face",category:"Smileys & Emotion",aliases:["kissing"],tags:[],unicode_version:"6.1",ios_version:"6.0"},{emoji:"☺️",description:"smiling face",category:"Smileys & Emotion",aliases:["relaxed"],tags:["blush","pleased"],unicode_version:"",ios_version:"6.0"},{emoji:"😚",description:"kissing face with closed eyes",category:"Smileys & Emotion",aliases:["kissing_closed_eyes"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😙",description:"kissing face with smiling eyes",category:"Smileys & Emotion",aliases:["kissing_smiling_eyes"],tags:[],unicode_version:"6.1",ios_version:"6.0"},{emoji:"🥲",description:"smiling face with tear",category:"Smileys & Emotion",aliases:["smiling_face_with_tear"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"😋",description:"face savoring food",category:"Smileys & Emotion",aliases:["yum"],tags:["tongue","lick"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😛",description:"face with tongue",category:"Smileys & Emotion",aliases:["stuck_out_tongue"],tags:[],unicode_version:"6.1",ios_version:"6.0"},{emoji:"😜",description:"winking face with tongue",category:"Smileys & Emotion",aliases:["stuck_out_tongue_winking_eye"],tags:["prank","silly"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🤪",description:"zany face",category:"Smileys & Emotion",aliases:["zany_face"],tags:["goofy","wacky"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"😝",description:"squinting face with tongue",category:"Smileys & Emotion",aliases:["stuck_out_tongue_closed_eyes"],tags:["prank"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🤑",description:"money-mouth face",category:"Smileys & Emotion",aliases:["money_mouth_face"],tags:["rich"],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🤗",description:"hugging face",category:"Smileys & Emotion",aliases:["hugs"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🤭",description:"face with hand over mouth",category:"Smileys & Emotion",aliases:["hand_over_mouth"],tags:["quiet","whoops"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🤫",description:"shushing face",category:"Smileys & Emotion",aliases:["shushing_face"],tags:["silence","quiet"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🤔",description:"thinking face",category:"Smileys & Emotion",aliases:["thinking"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🤐",description:"zipper-mouth face",category:"Smileys & Emotion",aliases:["zipper_mouth_face"],tags:["silence","hush"],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🤨",description:"face with raised eyebrow",category:"Smileys & Emotion",aliases:["raised_eyebrow"],tags:["suspicious"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"😐",description:"neutral face",category:"Smileys & Emotion",aliases:["neutral_face"],tags:["meh"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😑",description:"expressionless face",category:"Smileys & Emotion",aliases:["expressionless"],tags:[],unicode_version:"6.1",ios_version:"6.0"},{emoji:"😶",description:"face without mouth",category:"Smileys & Emotion",aliases:["no_mouth"],tags:["mute","silence"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😶🌫️",description:"face in clouds",category:"Smileys & Emotion",aliases:["face_in_clouds"],tags:[],unicode_version:"13.1",ios_version:"14.0"},{emoji:"😏",description:"smirking face",category:"Smileys & Emotion",aliases:["smirk"],tags:["smug"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😒",description:"unamused face",category:"Smileys & Emotion",aliases:["unamused"],tags:["meh"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🙄",description:"face with rolling eyes",category:"Smileys & Emotion",aliases:["roll_eyes"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"😬",description:"grimacing face",category:"Smileys & Emotion",aliases:["grimacing"],tags:[],unicode_version:"6.1",ios_version:"6.0"},{emoji:"😮💨",description:"face exhaling",category:"Smileys & Emotion",aliases:["face_exhaling"],tags:[],unicode_version:"13.1",ios_version:"14.0"},{emoji:"🤥",description:"lying face",category:"Smileys & Emotion",aliases:["lying_face"],tags:["liar"],unicode_version:"9.0",ios_version:"10.2"},{emoji:"😌",description:"relieved face",category:"Smileys & Emotion",aliases:["relieved"],tags:["whew"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😔",description:"pensive face",category:"Smileys & Emotion",aliases:["pensive"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😪",description:"sleepy face",category:"Smileys & Emotion",aliases:["sleepy"],tags:["tired"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🤤",description:"drooling face",category:"Smileys & Emotion",aliases:["drooling_face"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"😴",description:"sleeping face",category:"Smileys & Emotion",aliases:["sleeping"],tags:["zzz"],unicode_version:"6.1",ios_version:"6.0"},{emoji:"😷",description:"face with medical mask",category:"Smileys & Emotion",aliases:["mask"],tags:["sick","ill"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🤒",description:"face with thermometer",category:"Smileys & Emotion",aliases:["face_with_thermometer"],tags:["sick"],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🤕",description:"face with head-bandage",category:"Smileys & Emotion",aliases:["face_with_head_bandage"],tags:["hurt"],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🤢",description:"nauseated face",category:"Smileys & Emotion",aliases:["nauseated_face"],tags:["sick","barf","disgusted"],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🤮",description:"face vomiting",category:"Smileys & Emotion",aliases:["vomiting_face"],tags:["barf","sick"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🤧",description:"sneezing face",category:"Smileys & Emotion",aliases:["sneezing_face"],tags:["achoo","sick"],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🥵",description:"hot face",category:"Smileys & Emotion",aliases:["hot_face"],tags:["heat","sweating"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🥶",description:"cold face",category:"Smileys & Emotion",aliases:["cold_face"],tags:["freezing","ice"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🥴",description:"woozy face",category:"Smileys & Emotion",aliases:["woozy_face"],tags:["groggy"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"😵",description:"knocked-out face",category:"Smileys & Emotion",aliases:["dizzy_face"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😵💫",description:"face with spiral eyes",category:"Smileys & Emotion",aliases:["face_with_spiral_eyes"],tags:[],unicode_version:"13.1",ios_version:"14.0"},{emoji:"🤯",description:"exploding head",category:"Smileys & Emotion",aliases:["exploding_head"],tags:["mind","blown"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🤠",description:"cowboy hat face",category:"Smileys & Emotion",aliases:["cowboy_hat_face"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🥳",description:"partying face",category:"Smileys & Emotion",aliases:["partying_face"],tags:["celebration","birthday"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🥸",description:"disguised face",category:"Smileys & Emotion",aliases:["disguised_face"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"😎",description:"smiling face with sunglasses",category:"Smileys & Emotion",aliases:["sunglasses"],tags:["cool"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🤓",description:"nerd face",category:"Smileys & Emotion",aliases:["nerd_face"],tags:["geek","glasses"],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🧐",description:"face with monocle",category:"Smileys & Emotion",aliases:["monocle_face"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"😕",description:"confused face",category:"Smileys & Emotion",aliases:["confused"],tags:[],unicode_version:"6.1",ios_version:"6.0"},{emoji:"😟",description:"worried face",category:"Smileys & Emotion",aliases:["worried"],tags:["nervous"],unicode_version:"6.1",ios_version:"6.0"},{emoji:"🙁",description:"slightly frowning face",category:"Smileys & Emotion",aliases:["slightly_frowning_face"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"☹️",description:"frowning face",category:"Smileys & Emotion",aliases:["frowning_face"],tags:[],unicode_version:"",ios_version:"9.1"},{emoji:"😮",description:"face with open mouth",category:"Smileys & Emotion",aliases:["open_mouth"],tags:["surprise","impressed","wow"],unicode_version:"6.1",ios_version:"6.0"},{emoji:"😯",description:"hushed face",category:"Smileys & Emotion",aliases:["hushed"],tags:["silence","speechless"],unicode_version:"6.1",ios_version:"6.0"},{emoji:"😲",description:"astonished face",category:"Smileys & Emotion",aliases:["astonished"],tags:["amazed","gasp"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😳",description:"flushed face",category:"Smileys & Emotion",aliases:["flushed"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🥺",description:"pleading face",category:"Smileys & Emotion",aliases:["pleading_face"],tags:["puppy","eyes"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"😦",description:"frowning face with open mouth",category:"Smileys & Emotion",aliases:["frowning"],tags:[],unicode_version:"6.1",ios_version:"6.0"},{emoji:"😧",description:"anguished face",category:"Smileys & Emotion",aliases:["anguished"],tags:["stunned"],unicode_version:"6.1",ios_version:"6.0"},{emoji:"😨",description:"fearful face",category:"Smileys & Emotion",aliases:["fearful"],tags:["scared","shocked","oops"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😰",description:"anxious face with sweat",category:"Smileys & Emotion",aliases:["cold_sweat"],tags:["nervous"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😥",description:"sad but relieved face",category:"Smileys & Emotion",aliases:["disappointed_relieved"],tags:["phew","sweat","nervous"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😢",description:"crying face",category:"Smileys & Emotion",aliases:["cry"],tags:["sad","tear"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😭",description:"loudly crying face",category:"Smileys & Emotion",aliases:["sob"],tags:["sad","cry","bawling"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😱",description:"face screaming in fear",category:"Smileys & Emotion",aliases:["scream"],tags:["horror","shocked"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😖",description:"confounded face",category:"Smileys & Emotion",aliases:["confounded"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😣",description:"persevering face",category:"Smileys & Emotion",aliases:["persevere"],tags:["struggling"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😞",description:"disappointed face",category:"Smileys & Emotion",aliases:["disappointed"],tags:["sad"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😓",description:"downcast face with sweat",category:"Smileys & Emotion",aliases:["sweat"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😩",description:"weary face",category:"Smileys & Emotion",aliases:["weary"],tags:["tired"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😫",description:"tired face",category:"Smileys & Emotion",aliases:["tired_face"],tags:["upset","whine"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🥱",description:"yawning face",category:"Smileys & Emotion",aliases:["yawning_face"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"😤",description:"face with steam from nose",category:"Smileys & Emotion",aliases:["triumph"],tags:["smug"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😡",description:"pouting face",category:"Smileys & Emotion",aliases:["rage","pout"],tags:["angry"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😠",description:"angry face",category:"Smileys & Emotion",aliases:["angry"],tags:["mad","annoyed"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🤬",description:"face with symbols on mouth",category:"Smileys & Emotion",aliases:["cursing_face"],tags:["foul"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"😈",description:"smiling face with horns",category:"Smileys & Emotion",aliases:["smiling_imp"],tags:["devil","evil","horns"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👿",description:"angry face with horns",category:"Smileys & Emotion",aliases:["imp"],tags:["angry","devil","evil","horns"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💀",description:"skull",category:"Smileys & Emotion",aliases:["skull"],tags:["dead","danger","poison"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"☠️",description:"skull and crossbones",category:"Smileys & Emotion",aliases:["skull_and_crossbones"],tags:["danger","pirate"],unicode_version:"",ios_version:"9.1"},{emoji:"💩",description:"pile of poo",category:"Smileys & Emotion",aliases:["hankey","poop","shit"],tags:["crap"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🤡",description:"clown face",category:"Smileys & Emotion",aliases:["clown_face"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"👹",description:"ogre",category:"Smileys & Emotion",aliases:["japanese_ogre"],tags:["monster"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👺",description:"goblin",category:"Smileys & Emotion",aliases:["japanese_goblin"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👻",description:"ghost",category:"Smileys & Emotion",aliases:["ghost"],tags:["halloween"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👽",description:"alien",category:"Smileys & Emotion",aliases:["alien"],tags:["ufo"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👾",description:"alien monster",category:"Smileys & Emotion",aliases:["space_invader"],tags:["game","retro"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🤖",description:"robot",category:"Smileys & Emotion",aliases:["robot"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"😺",description:"grinning cat",category:"Smileys & Emotion",aliases:["smiley_cat"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😸",description:"grinning cat with smiling eyes",category:"Smileys & Emotion",aliases:["smile_cat"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😹",description:"cat with tears of joy",category:"Smileys & Emotion",aliases:["joy_cat"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😻",description:"smiling cat with heart-eyes",category:"Smileys & Emotion",aliases:["heart_eyes_cat"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😼",description:"cat with wry smile",category:"Smileys & Emotion",aliases:["smirk_cat"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😽",description:"kissing cat",category:"Smileys & Emotion",aliases:["kissing_cat"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🙀",description:"weary cat",category:"Smileys & Emotion",aliases:["scream_cat"],tags:["horror"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😿",description:"crying cat",category:"Smileys & Emotion",aliases:["crying_cat_face"],tags:["sad","tear"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😾",description:"pouting cat",category:"Smileys & Emotion",aliases:["pouting_cat"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🙈",description:"see-no-evil monkey",category:"Smileys & Emotion",aliases:["see_no_evil"],tags:["monkey","blind","ignore"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🙉",description:"hear-no-evil monkey",category:"Smileys & Emotion",aliases:["hear_no_evil"],tags:["monkey","deaf"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🙊",description:"speak-no-evil monkey",category:"Smileys & Emotion",aliases:["speak_no_evil"],tags:["monkey","mute","hush"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💋",description:"kiss mark",category:"Smileys & Emotion",aliases:["kiss"],tags:["lipstick"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💌",description:"love letter",category:"Smileys & Emotion",aliases:["love_letter"],tags:["email","envelope"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💘",description:"heart with arrow",category:"Smileys & Emotion",aliases:["cupid"],tags:["love","heart"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💝",description:"heart with ribbon",category:"Smileys & Emotion",aliases:["gift_heart"],tags:["chocolates"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💖",description:"sparkling heart",category:"Smileys & Emotion",aliases:["sparkling_heart"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💗",description:"growing heart",category:"Smileys & Emotion",aliases:["heartpulse"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💓",description:"beating heart",category:"Smileys & Emotion",aliases:["heartbeat"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💞",description:"revolving hearts",category:"Smileys & Emotion",aliases:["revolving_hearts"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💕",description:"two hearts",category:"Smileys & Emotion",aliases:["two_hearts"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💟",description:"heart decoration",category:"Smileys & Emotion",aliases:["heart_decoration"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"❣️",description:"heart exclamation",category:"Smileys & Emotion",aliases:["heavy_heart_exclamation"],tags:[],unicode_version:"",ios_version:"9.1"},{emoji:"💔",description:"broken heart",category:"Smileys & Emotion",aliases:["broken_heart"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"❤️🔥",description:"heart on fire",category:"Smileys & Emotion",aliases:["heart_on_fire"],tags:[],unicode_version:"13.1",ios_version:"14.0"},{emoji:"❤️🩹",description:"mending heart",category:"Smileys & Emotion",aliases:["mending_heart"],tags:[],unicode_version:"13.1",ios_version:"14.0"},{emoji:"❤️",description:"red heart",category:"Smileys & Emotion",aliases:["heart"],tags:["love"],unicode_version:"",ios_version:"6.0"},{emoji:"🧡",description:"orange heart",category:"Smileys & Emotion",aliases:["orange_heart"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"💛",description:"yellow heart",category:"Smileys & Emotion",aliases:["yellow_heart"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💚",description:"green heart",category:"Smileys & Emotion",aliases:["green_heart"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💙",description:"blue heart",category:"Smileys & Emotion",aliases:["blue_heart"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💜",description:"purple heart",category:"Smileys & Emotion",aliases:["purple_heart"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🤎",description:"brown heart",category:"Smileys & Emotion",aliases:["brown_heart"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🖤",description:"black heart",category:"Smileys & Emotion",aliases:["black_heart"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🤍",description:"white heart",category:"Smileys & Emotion",aliases:["white_heart"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"💯",description:"hundred points",category:"Smileys & Emotion",aliases:["100"],tags:["score","perfect"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💢",description:"anger symbol",category:"Smileys & Emotion",aliases:["anger"],tags:["angry"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💥",description:"collision",category:"Smileys & Emotion",aliases:["boom","collision"],tags:["explode"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💫",description:"dizzy",category:"Smileys & Emotion",aliases:["dizzy"],tags:["star"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💦",description:"sweat droplets",category:"Smileys & Emotion",aliases:["sweat_drops"],tags:["water","workout"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💨",description:"dashing away",category:"Smileys & Emotion",aliases:["dash"],tags:["wind","blow","fast"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕳️",description:"hole",category:"Smileys & Emotion",aliases:["hole"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"💣",description:"bomb",category:"Smileys & Emotion",aliases:["bomb"],tags:["boom"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💬",description:"speech balloon",category:"Smileys & Emotion",aliases:["speech_balloon"],tags:["comment"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👁️🗨️",description:"eye in speech bubble",category:"Smileys & Emotion",aliases:["eye_speech_bubble"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🗨️",description:"left speech bubble",category:"Smileys & Emotion",aliases:["left_speech_bubble"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🗯️",description:"right anger bubble",category:"Smileys & Emotion",aliases:["right_anger_bubble"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"💭",description:"thought balloon",category:"Smileys & Emotion",aliases:["thought_balloon"],tags:["thinking"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💤",description:"zzz",category:"Smileys & Emotion",aliases:["zzz"],tags:["sleeping"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👋",description:"waving hand",category:"People & Body",aliases:["wave"],tags:["goodbye"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🤚",description:"raised back of hand",category:"People & Body",aliases:["raised_back_of_hand"],tags:[],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"🖐️",description:"hand with fingers splayed",category:"People & Body",aliases:["raised_hand_with_fingers_splayed"],tags:[],unicode_version:"7.0",ios_version:"9.1",skin_tones:!0},{emoji:"✋",description:"raised hand",category:"People & Body",aliases:["hand","raised_hand"],tags:["highfive","stop"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🖖",description:"vulcan salute",category:"People & Body",aliases:["vulcan_salute"],tags:["prosper","spock"],unicode_version:"7.0",ios_version:"8.3",skin_tones:!0},{emoji:"👌",description:"OK hand",category:"People & Body",aliases:["ok_hand"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🤌",description:"pinched fingers",category:"People & Body",aliases:["pinched_fingers"],tags:[],unicode_version:"13.0",ios_version:"14.0",skin_tones:!0},{emoji:"🤏",description:"pinching hand",category:"People & Body",aliases:["pinching_hand"],tags:[],unicode_version:"12.0",ios_version:"13.0",skin_tones:!0},{emoji:"✌️",description:"victory hand",category:"People & Body",aliases:["v"],tags:["victory","peace"],unicode_version:"",ios_version:"6.0",skin_tones:!0},{emoji:"🤞",description:"crossed fingers",category:"People & Body",aliases:["crossed_fingers"],tags:["luck","hopeful"],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"🤟",description:"love-you gesture",category:"People & Body",aliases:["love_you_gesture"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🤘",description:"sign of the horns",category:"People & Body",aliases:["metal"],tags:[],unicode_version:"8.0",ios_version:"9.1",skin_tones:!0},{emoji:"🤙",description:"call me hand",category:"People & Body",aliases:["call_me_hand"],tags:[],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"👈",description:"backhand index pointing left",category:"People & Body",aliases:["point_left"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"👉",description:"backhand index pointing right",category:"People & Body",aliases:["point_right"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"👆",description:"backhand index pointing up",category:"People & Body",aliases:["point_up_2"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🖕",description:"middle finger",category:"People & Body",aliases:["middle_finger","fu"],tags:[],unicode_version:"7.0",ios_version:"9.1",skin_tones:!0},{emoji:"👇",description:"backhand index pointing down",category:"People & Body",aliases:["point_down"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"☝️",description:"index pointing up",category:"People & Body",aliases:["point_up"],tags:[],unicode_version:"",ios_version:"6.0",skin_tones:!0},{emoji:"👍",description:"thumbs up",category:"People & Body",aliases:["+1","thumbsup"],tags:["approve","ok"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"👎",description:"thumbs down",category:"People & Body",aliases:["-1","thumbsdown"],tags:["disapprove","bury"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"✊",description:"raised fist",category:"People & Body",aliases:["fist_raised","fist"],tags:["power"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"👊",description:"oncoming fist",category:"People & Body",aliases:["fist_oncoming","facepunch","punch"],tags:["attack"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🤛",description:"left-facing fist",category:"People & Body",aliases:["fist_left"],tags:[],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"🤜",description:"right-facing fist",category:"People & Body",aliases:["fist_right"],tags:[],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"👏",description:"clapping hands",category:"People & Body",aliases:["clap"],tags:["praise","applause"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🙌",description:"raising hands",category:"People & Body",aliases:["raised_hands"],tags:["hooray"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"👐",description:"open hands",category:"People & Body",aliases:["open_hands"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🤲",description:"palms up together",category:"People & Body",aliases:["palms_up_together"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🤝",description:"handshake",category:"People & Body",aliases:["handshake"],tags:["deal"],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🙏",description:"folded hands",category:"People & Body",aliases:["pray"],tags:["please","hope","wish"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"✍️",description:"writing hand",category:"People & Body",aliases:["writing_hand"],tags:[],unicode_version:"",ios_version:"9.1",skin_tones:!0},{emoji:"💅",description:"nail polish",category:"People & Body",aliases:["nail_care"],tags:["beauty","manicure"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🤳",description:"selfie",category:"People & Body",aliases:["selfie"],tags:[],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"💪",description:"flexed biceps",category:"People & Body",aliases:["muscle"],tags:["flex","bicep","strong","workout"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🦾",description:"mechanical arm",category:"People & Body",aliases:["mechanical_arm"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🦿",description:"mechanical leg",category:"People & Body",aliases:["mechanical_leg"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🦵",description:"leg",category:"People & Body",aliases:["leg"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🦶",description:"foot",category:"People & Body",aliases:["foot"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"👂",description:"ear",category:"People & Body",aliases:["ear"],tags:["hear","sound","listen"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🦻",description:"ear with hearing aid",category:"People & Body",aliases:["ear_with_hearing_aid"],tags:[],unicode_version:"12.0",ios_version:"13.0",skin_tones:!0},{emoji:"👃",description:"nose",category:"People & Body",aliases:["nose"],tags:["smell"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🧠",description:"brain",category:"People & Body",aliases:["brain"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🫀",description:"anatomical heart",category:"People & Body",aliases:["anatomical_heart"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🫁",description:"lungs",category:"People & Body",aliases:["lungs"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🦷",description:"tooth",category:"People & Body",aliases:["tooth"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🦴",description:"bone",category:"People & Body",aliases:["bone"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"👀",description:"eyes",category:"People & Body",aliases:["eyes"],tags:["look","see","watch"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👁️",description:"eye",category:"People & Body",aliases:["eye"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"👅",description:"tongue",category:"People & Body",aliases:["tongue"],tags:["taste"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👄",description:"mouth",category:"People & Body",aliases:["lips"],tags:["kiss"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👶",description:"baby",category:"People & Body",aliases:["baby"],tags:["child","newborn"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🧒",description:"child",category:"People & Body",aliases:["child"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"👦",description:"boy",category:"People & Body",aliases:["boy"],tags:["child"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"👧",description:"girl",category:"People & Body",aliases:["girl"],tags:["child"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🧑",description:"person",category:"People & Body",aliases:["adult"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"👱",description:"person: blond hair",category:"People & Body",aliases:["blond_haired_person"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"👨",description:"man",category:"People & Body",aliases:["man"],tags:["mustache","father","dad"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🧔",description:"person: beard",category:"People & Body",aliases:["bearded_person"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧔♂️",description:"man: beard",category:"People & Body",aliases:["man_beard"],tags:[],unicode_version:"13.1",ios_version:"14.0",skin_tones:!0},{emoji:"🧔♀️",description:"woman: beard",category:"People & Body",aliases:["woman_beard"],tags:[],unicode_version:"13.1",ios_version:"14.0",skin_tones:!0},{emoji:"👨🦰",description:"man: red hair",category:"People & Body",aliases:["red_haired_man"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"👨🦱",description:"man: curly hair",category:"People & Body",aliases:["curly_haired_man"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"👨🦳",description:"man: white hair",category:"People & Body",aliases:["white_haired_man"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"👨🦲",description:"man: bald",category:"People & Body",aliases:["bald_man"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"👩",description:"woman",category:"People & Body",aliases:["woman"],tags:["girls"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"👩🦰",description:"woman: red hair",category:"People & Body",aliases:["red_haired_woman"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧑🦰",description:"person: red hair",category:"People & Body",aliases:["person_red_hair"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👩🦱",description:"woman: curly hair",category:"People & Body",aliases:["curly_haired_woman"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧑🦱",description:"person: curly hair",category:"People & Body",aliases:["person_curly_hair"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👩🦳",description:"woman: white hair",category:"People & Body",aliases:["white_haired_woman"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧑🦳",description:"person: white hair",category:"People & Body",aliases:["person_white_hair"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👩🦲",description:"woman: bald",category:"People & Body",aliases:["bald_woman"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧑🦲",description:"person: bald",category:"People & Body",aliases:["person_bald"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👱♀️",description:"woman: blond hair",category:"People & Body",aliases:["blond_haired_woman","blonde_woman"],tags:[],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"👱♂️",description:"man: blond hair",category:"People & Body",aliases:["blond_haired_man"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧓",description:"older person",category:"People & Body",aliases:["older_adult"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"👴",description:"old man",category:"People & Body",aliases:["older_man"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"👵",description:"old woman",category:"People & Body",aliases:["older_woman"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🙍",description:"person frowning",category:"People & Body",aliases:["frowning_person"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🙍♂️",description:"man frowning",category:"People & Body",aliases:["frowning_man"],tags:[],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"🙍♀️",description:"woman frowning",category:"People & Body",aliases:["frowning_woman"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🙎",description:"person pouting",category:"People & Body",aliases:["pouting_face"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🙎♂️",description:"man pouting",category:"People & Body",aliases:["pouting_man"],tags:[],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"🙎♀️",description:"woman pouting",category:"People & Body",aliases:["pouting_woman"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🙅",description:"person gesturing NO",category:"People & Body",aliases:["no_good"],tags:["stop","halt","denied"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🙅♂️",description:"man gesturing NO",category:"People & Body",aliases:["no_good_man","ng_man"],tags:["stop","halt","denied"],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"🙅♀️",description:"woman gesturing NO",category:"People & Body",aliases:["no_good_woman","ng_woman"],tags:["stop","halt","denied"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🙆",description:"person gesturing OK",category:"People & Body",aliases:["ok_person"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🙆♂️",description:"man gesturing OK",category:"People & Body",aliases:["ok_man"],tags:[],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"🙆♀️",description:"woman gesturing OK",category:"People & Body",aliases:["ok_woman"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"💁",description:"person tipping hand",category:"People & Body",aliases:["tipping_hand_person","information_desk_person"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"💁♂️",description:"man tipping hand",category:"People & Body",aliases:["tipping_hand_man","sassy_man"],tags:["information"],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"💁♀️",description:"woman tipping hand",category:"People & Body",aliases:["tipping_hand_woman","sassy_woman"],tags:["information"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🙋",description:"person raising hand",category:"People & Body",aliases:["raising_hand"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🙋♂️",description:"man raising hand",category:"People & Body",aliases:["raising_hand_man"],tags:[],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"🙋♀️",description:"woman raising hand",category:"People & Body",aliases:["raising_hand_woman"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧏",description:"deaf person",category:"People & Body",aliases:["deaf_person"],tags:[],unicode_version:"12.0",ios_version:"13.0",skin_tones:!0},{emoji:"🧏♂️",description:"deaf man",category:"People & Body",aliases:["deaf_man"],tags:[],unicode_version:"12.0",ios_version:"13.0",skin_tones:!0},{emoji:"🧏♀️",description:"deaf woman",category:"People & Body",aliases:["deaf_woman"],tags:[],unicode_version:"12.0",ios_version:"13.0",skin_tones:!0},{emoji:"🙇",description:"person bowing",category:"People & Body",aliases:["bow"],tags:["respect","thanks"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🙇♂️",description:"man bowing",category:"People & Body",aliases:["bowing_man"],tags:["respect","thanks"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🙇♀️",description:"woman bowing",category:"People & Body",aliases:["bowing_woman"],tags:["respect","thanks"],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"🤦",description:"person facepalming",category:"People & Body",aliases:["facepalm"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🤦♂️",description:"man facepalming",category:"People & Body",aliases:["man_facepalming"],tags:[],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"🤦♀️",description:"woman facepalming",category:"People & Body",aliases:["woman_facepalming"],tags:[],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"🤷",description:"person shrugging",category:"People & Body",aliases:["shrug"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🤷♂️",description:"man shrugging",category:"People & Body",aliases:["man_shrugging"],tags:[],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"🤷♀️",description:"woman shrugging",category:"People & Body",aliases:["woman_shrugging"],tags:[],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"🧑⚕️",description:"health worker",category:"People & Body",aliases:["health_worker"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👨⚕️",description:"man health worker",category:"People & Body",aliases:["man_health_worker"],tags:["doctor","nurse"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"👩⚕️",description:"woman health worker",category:"People & Body",aliases:["woman_health_worker"],tags:["doctor","nurse"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"🧑🎓",description:"student",category:"People & Body",aliases:["student"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👨🎓",description:"man student",category:"People & Body",aliases:["man_student"],tags:["graduation"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"👩🎓",description:"woman student",category:"People & Body",aliases:["woman_student"],tags:["graduation"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"🧑🏫",description:"teacher",category:"People & Body",aliases:["teacher"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👨🏫",description:"man teacher",category:"People & Body",aliases:["man_teacher"],tags:["school","professor"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"👩🏫",description:"woman teacher",category:"People & Body",aliases:["woman_teacher"],tags:["school","professor"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"🧑⚖️",description:"judge",category:"People & Body",aliases:["judge"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👨⚖️",description:"man judge",category:"People & Body",aliases:["man_judge"],tags:["justice"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"👩⚖️",description:"woman judge",category:"People & Body",aliases:["woman_judge"],tags:["justice"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"🧑🌾",description:"farmer",category:"People & Body",aliases:["farmer"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👨🌾",description:"man farmer",category:"People & Body",aliases:["man_farmer"],tags:[],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"👩🌾",description:"woman farmer",category:"People & Body",aliases:["woman_farmer"],tags:[],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"🧑🍳",description:"cook",category:"People & Body",aliases:["cook"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👨🍳",description:"man cook",category:"People & Body",aliases:["man_cook"],tags:["chef"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"👩🍳",description:"woman cook",category:"People & Body",aliases:["woman_cook"],tags:["chef"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"🧑🔧",description:"mechanic",category:"People & Body",aliases:["mechanic"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👨🔧",description:"man mechanic",category:"People & Body",aliases:["man_mechanic"],tags:[],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"👩🔧",description:"woman mechanic",category:"People & Body",aliases:["woman_mechanic"],tags:[],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"🧑🏭",description:"factory worker",category:"People & Body",aliases:["factory_worker"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👨🏭",description:"man factory worker",category:"People & Body",aliases:["man_factory_worker"],tags:[],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"👩🏭",description:"woman factory worker",category:"People & Body",aliases:["woman_factory_worker"],tags:[],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"🧑💼",description:"office worker",category:"People & Body",aliases:["office_worker"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👨💼",description:"man office worker",category:"People & Body",aliases:["man_office_worker"],tags:["business"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"👩💼",description:"woman office worker",category:"People & Body",aliases:["woman_office_worker"],tags:["business"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"🧑🔬",description:"scientist",category:"People & Body",aliases:["scientist"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👨🔬",description:"man scientist",category:"People & Body",aliases:["man_scientist"],tags:["research"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"👩🔬",description:"woman scientist",category:"People & Body",aliases:["woman_scientist"],tags:["research"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"🧑💻",description:"technologist",category:"People & Body",aliases:["technologist"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👨💻",description:"man technologist",category:"People & Body",aliases:["man_technologist"],tags:["coder"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"👩💻",description:"woman technologist",category:"People & Body",aliases:["woman_technologist"],tags:["coder"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"🧑🎤",description:"singer",category:"People & Body",aliases:["singer"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👨🎤",description:"man singer",category:"People & Body",aliases:["man_singer"],tags:["rockstar"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"👩🎤",description:"woman singer",category:"People & Body",aliases:["woman_singer"],tags:["rockstar"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"🧑🎨",description:"artist",category:"People & Body",aliases:["artist"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👨🎨",description:"man artist",category:"People & Body",aliases:["man_artist"],tags:["painter"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"👩🎨",description:"woman artist",category:"People & Body",aliases:["woman_artist"],tags:["painter"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"🧑✈️",description:"pilot",category:"People & Body",aliases:["pilot"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👨✈️",description:"man pilot",category:"People & Body",aliases:["man_pilot"],tags:[],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"👩✈️",description:"woman pilot",category:"People & Body",aliases:["woman_pilot"],tags:[],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"🧑🚀",description:"astronaut",category:"People & Body",aliases:["astronaut"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👨🚀",description:"man astronaut",category:"People & Body",aliases:["man_astronaut"],tags:["space"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"👩🚀",description:"woman astronaut",category:"People & Body",aliases:["woman_astronaut"],tags:["space"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"🧑🚒",description:"firefighter",category:"People & Body",aliases:["firefighter"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👨🚒",description:"man firefighter",category:"People & Body",aliases:["man_firefighter"],tags:[],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"👩🚒",description:"woman firefighter",category:"People & Body",aliases:["woman_firefighter"],tags:[],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"👮",description:"police officer",category:"People & Body",aliases:["police_officer","cop"],tags:["law"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"👮♂️",description:"man police officer",category:"People & Body",aliases:["policeman"],tags:["law","cop"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"👮♀️",description:"woman police officer",category:"People & Body",aliases:["policewoman"],tags:["law","cop"],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"🕵️",description:"detective",category:"People & Body",aliases:["detective"],tags:["sleuth"],unicode_version:"7.0",ios_version:"9.1",skin_tones:!0},{emoji:"🕵️♂️",description:"man detective",category:"People & Body",aliases:["male_detective"],tags:["sleuth"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🕵️♀️",description:"woman detective",category:"People & Body",aliases:["female_detective"],tags:["sleuth"],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"💂",description:"guard",category:"People & Body",aliases:["guard"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"💂♂️",description:"man guard",category:"People & Body",aliases:["guardsman"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"💂♀️",description:"woman guard",category:"People & Body",aliases:["guardswoman"],tags:[],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"🥷",description:"ninja",category:"People & Body",aliases:["ninja"],tags:[],unicode_version:"13.0",ios_version:"14.0",skin_tones:!0},{emoji:"👷",description:"construction worker",category:"People & Body",aliases:["construction_worker"],tags:["helmet"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"👷♂️",description:"man construction worker",category:"People & Body",aliases:["construction_worker_man"],tags:["helmet"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"👷♀️",description:"woman construction worker",category:"People & Body",aliases:["construction_worker_woman"],tags:["helmet"],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"🤴",description:"prince",category:"People & Body",aliases:["prince"],tags:["crown","royal"],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"👸",description:"princess",category:"People & Body",aliases:["princess"],tags:["crown","royal"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"👳",description:"person wearing turban",category:"People & Body",aliases:["person_with_turban"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"👳♂️",description:"man wearing turban",category:"People & Body",aliases:["man_with_turban"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"👳♀️",description:"woman wearing turban",category:"People & Body",aliases:["woman_with_turban"],tags:[],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"👲",description:"person with skullcap",category:"People & Body",aliases:["man_with_gua_pi_mao"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🧕",description:"woman with headscarf",category:"People & Body",aliases:["woman_with_headscarf"],tags:["hijab"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🤵",description:"person in tuxedo",category:"People & Body",aliases:["person_in_tuxedo"],tags:["groom","marriage","wedding"],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"🤵♂️",description:"man in tuxedo",category:"People & Body",aliases:["man_in_tuxedo"],tags:[],unicode_version:"13.0",ios_version:"14.0",skin_tones:!0},{emoji:"🤵♀️",description:"woman in tuxedo",category:"People & Body",aliases:["woman_in_tuxedo"],tags:[],unicode_version:"13.0",ios_version:"14.0",skin_tones:!0},{emoji:"👰",description:"person with veil",category:"People & Body",aliases:["person_with_veil"],tags:["marriage","wedding"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"👰♂️",description:"man with veil",category:"People & Body",aliases:["man_with_veil"],tags:[],unicode_version:"13.0",ios_version:"14.0",skin_tones:!0},{emoji:"👰♀️",description:"woman with veil",category:"People & Body",aliases:["woman_with_veil","bride_with_veil"],tags:[],unicode_version:"13.0",ios_version:"14.0",skin_tones:!0},{emoji:"🤰",description:"pregnant woman",category:"People & Body",aliases:["pregnant_woman"],tags:[],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"🤱",description:"breast-feeding",category:"People & Body",aliases:["breast_feeding"],tags:["nursing"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"👩🍼",description:"woman feeding baby",category:"People & Body",aliases:["woman_feeding_baby"],tags:[],unicode_version:"13.0",ios_version:"14.0",skin_tones:!0},{emoji:"👨🍼",description:"man feeding baby",category:"People & Body",aliases:["man_feeding_baby"],tags:[],unicode_version:"13.0",ios_version:"14.0",skin_tones:!0},{emoji:"🧑🍼",description:"person feeding baby",category:"People & Body",aliases:["person_feeding_baby"],tags:[],unicode_version:"13.0",ios_version:"14.0",skin_tones:!0},{emoji:"👼",description:"baby angel",category:"People & Body",aliases:["angel"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🎅",description:"Santa Claus",category:"People & Body",aliases:["santa"],tags:["christmas"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🤶",description:"Mrs. Claus",category:"People & Body",aliases:["mrs_claus"],tags:["santa"],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"🧑🎄",description:"mx claus",category:"People & Body",aliases:["mx_claus"],tags:[],unicode_version:"13.0",ios_version:"14.0",skin_tones:!0},{emoji:"🦸",description:"superhero",category:"People & Body",aliases:["superhero"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🦸♂️",description:"man superhero",category:"People & Body",aliases:["superhero_man"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🦸♀️",description:"woman superhero",category:"People & Body",aliases:["superhero_woman"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🦹",description:"supervillain",category:"People & Body",aliases:["supervillain"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🦹♂️",description:"man supervillain",category:"People & Body",aliases:["supervillain_man"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🦹♀️",description:"woman supervillain",category:"People & Body",aliases:["supervillain_woman"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧙",description:"mage",category:"People & Body",aliases:["mage"],tags:["wizard"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧙♂️",description:"man mage",category:"People & Body",aliases:["mage_man"],tags:["wizard"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧙♀️",description:"woman mage",category:"People & Body",aliases:["mage_woman"],tags:["wizard"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧚",description:"fairy",category:"People & Body",aliases:["fairy"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧚♂️",description:"man fairy",category:"People & Body",aliases:["fairy_man"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧚♀️",description:"woman fairy",category:"People & Body",aliases:["fairy_woman"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧛",description:"vampire",category:"People & Body",aliases:["vampire"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧛♂️",description:"man vampire",category:"People & Body",aliases:["vampire_man"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧛♀️",description:"woman vampire",category:"People & Body",aliases:["vampire_woman"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧜",description:"merperson",category:"People & Body",aliases:["merperson"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧜♂️",description:"merman",category:"People & Body",aliases:["merman"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧜♀️",description:"mermaid",category:"People & Body",aliases:["mermaid"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧝",description:"elf",category:"People & Body",aliases:["elf"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧝♂️",description:"man elf",category:"People & Body",aliases:["elf_man"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧝♀️",description:"woman elf",category:"People & Body",aliases:["elf_woman"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧞",description:"genie",category:"People & Body",aliases:["genie"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧞♂️",description:"man genie",category:"People & Body",aliases:["genie_man"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧞♀️",description:"woman genie",category:"People & Body",aliases:["genie_woman"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧟",description:"zombie",category:"People & Body",aliases:["zombie"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧟♂️",description:"man zombie",category:"People & Body",aliases:["zombie_man"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧟♀️",description:"woman zombie",category:"People & Body",aliases:["zombie_woman"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"💆",description:"person getting massage",category:"People & Body",aliases:["massage"],tags:["spa"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"💆♂️",description:"man getting massage",category:"People & Body",aliases:["massage_man"],tags:["spa"],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"💆♀️",description:"woman getting massage",category:"People & Body",aliases:["massage_woman"],tags:["spa"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"💇",description:"person getting haircut",category:"People & Body",aliases:["haircut"],tags:["beauty"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"💇♂️",description:"man getting haircut",category:"People & Body",aliases:["haircut_man"],tags:[],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"💇♀️",description:"woman getting haircut",category:"People & Body",aliases:["haircut_woman"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🚶",description:"person walking",category:"People & Body",aliases:["walking"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🚶♂️",description:"man walking",category:"People & Body",aliases:["walking_man"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🚶♀️",description:"woman walking",category:"People & Body",aliases:["walking_woman"],tags:[],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"🧍",description:"person standing",category:"People & Body",aliases:["standing_person"],tags:[],unicode_version:"12.0",ios_version:"13.0",skin_tones:!0},{emoji:"🧍♂️",description:"man standing",category:"People & Body",aliases:["standing_man"],tags:[],unicode_version:"12.0",ios_version:"13.0",skin_tones:!0},{emoji:"🧍♀️",description:"woman standing",category:"People & Body",aliases:["standing_woman"],tags:[],unicode_version:"12.0",ios_version:"13.0",skin_tones:!0},{emoji:"🧎",description:"person kneeling",category:"People & Body",aliases:["kneeling_person"],tags:[],unicode_version:"12.0",ios_version:"13.0",skin_tones:!0},{emoji:"🧎♂️",description:"man kneeling",category:"People & Body",aliases:["kneeling_man"],tags:[],unicode_version:"12.0",ios_version:"13.0",skin_tones:!0},{emoji:"🧎♀️",description:"woman kneeling",category:"People & Body",aliases:["kneeling_woman"],tags:[],unicode_version:"12.0",ios_version:"13.0",skin_tones:!0},{emoji:"🧑🦯",description:"person with white cane",category:"People & Body",aliases:["person_with_probing_cane"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👨🦯",description:"man with white cane",category:"People & Body",aliases:["man_with_probing_cane"],tags:[],unicode_version:"12.0",ios_version:"13.0",skin_tones:!0},{emoji:"👩🦯",description:"woman with white cane",category:"People & Body",aliases:["woman_with_probing_cane"],tags:[],unicode_version:"12.0",ios_version:"13.0",skin_tones:!0},{emoji:"🧑🦼",description:"person in motorized wheelchair",category:"People & Body",aliases:["person_in_motorized_wheelchair"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👨🦼",description:"man in motorized wheelchair",category:"People & Body",aliases:["man_in_motorized_wheelchair"],tags:[],unicode_version:"12.0",ios_version:"13.0",skin_tones:!0},{emoji:"👩🦼",description:"woman in motorized wheelchair",category:"People & Body",aliases:["woman_in_motorized_wheelchair"],tags:[],unicode_version:"12.0",ios_version:"13.0",skin_tones:!0},{emoji:"🧑🦽",description:"person in manual wheelchair",category:"People & Body",aliases:["person_in_manual_wheelchair"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👨🦽",description:"man in manual wheelchair",category:"People & Body",aliases:["man_in_manual_wheelchair"],tags:[],unicode_version:"12.0",ios_version:"13.0",skin_tones:!0},{emoji:"👩🦽",description:"woman in manual wheelchair",category:"People & Body",aliases:["woman_in_manual_wheelchair"],tags:[],unicode_version:"12.0",ios_version:"13.0",skin_tones:!0},{emoji:"🏃",description:"person running",category:"People & Body",aliases:["runner","running"],tags:["exercise","workout","marathon"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🏃♂️",description:"man running",category:"People & Body",aliases:["running_man"],tags:["exercise","workout","marathon"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🏃♀️",description:"woman running",category:"People & Body",aliases:["running_woman"],tags:["exercise","workout","marathon"],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"💃",description:"woman dancing",category:"People & Body",aliases:["woman_dancing","dancer"],tags:["dress"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🕺",description:"man dancing",category:"People & Body",aliases:["man_dancing"],tags:["dancer"],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"🕴️",description:"person in suit levitating",category:"People & Body",aliases:["business_suit_levitating"],tags:[],unicode_version:"7.0",ios_version:"9.1",skin_tones:!0},{emoji:"👯",description:"people with bunny ears",category:"People & Body",aliases:["dancers"],tags:["bunny"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👯♂️",description:"men with bunny ears",category:"People & Body",aliases:["dancing_men"],tags:["bunny"],unicode_version:"6.0",ios_version:"10.0"},{emoji:"👯♀️",description:"women with bunny ears",category:"People & Body",aliases:["dancing_women"],tags:["bunny"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧖",description:"person in steamy room",category:"People & Body",aliases:["sauna_person"],tags:["steamy"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧖♂️",description:"man in steamy room",category:"People & Body",aliases:["sauna_man"],tags:["steamy"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧖♀️",description:"woman in steamy room",category:"People & Body",aliases:["sauna_woman"],tags:["steamy"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧗",description:"person climbing",category:"People & Body",aliases:["climbing"],tags:["bouldering"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧗♂️",description:"man climbing",category:"People & Body",aliases:["climbing_man"],tags:["bouldering"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧗♀️",description:"woman climbing",category:"People & Body",aliases:["climbing_woman"],tags:["bouldering"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🤺",description:"person fencing",category:"People & Body",aliases:["person_fencing"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🏇",description:"horse racing",category:"People & Body",aliases:["horse_racing"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"⛷️",description:"skier",category:"People & Body",aliases:["skier"],tags:[],unicode_version:"5.2",ios_version:"9.1"},{emoji:"🏂",description:"snowboarder",category:"People & Body",aliases:["snowboarder"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🏌️",description:"person golfing",category:"People & Body",aliases:["golfing"],tags:[],unicode_version:"7.0",ios_version:"9.1",skin_tones:!0},{emoji:"🏌️♂️",description:"man golfing",category:"People & Body",aliases:["golfing_man"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🏌️♀️",description:"woman golfing",category:"People & Body",aliases:["golfing_woman"],tags:[],unicode_version:"",ios_version:"10.0",skin_tones:!0},{emoji:"🏄",description:"person surfing",category:"People & Body",aliases:["surfer"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🏄♂️",description:"man surfing",category:"People & Body",aliases:["surfing_man"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🏄♀️",description:"woman surfing",category:"People & Body",aliases:["surfing_woman"],tags:[],unicode_version:"7.0",ios_version:"10.0",skin_tones:!0},{emoji:"🚣",description:"person rowing boat",category:"People & Body",aliases:["rowboat"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🚣♂️",description:"man rowing boat",category:"People & Body",aliases:["rowing_man"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🚣♀️",description:"woman rowing boat",category:"People & Body",aliases:["rowing_woman"],tags:[],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"🏊",description:"person swimming",category:"People & Body",aliases:["swimmer"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🏊♂️",description:"man swimming",category:"People & Body",aliases:["swimming_man"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🏊♀️",description:"woman swimming",category:"People & Body",aliases:["swimming_woman"],tags:[],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"⛹️",description:"person bouncing ball",category:"People & Body",aliases:["bouncing_ball_person"],tags:["basketball"],unicode_version:"5.2",ios_version:"9.1",skin_tones:!0},{emoji:"⛹️♂️",description:"man bouncing ball",category:"People & Body",aliases:["bouncing_ball_man","basketball_man"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"⛹️♀️",description:"woman bouncing ball",category:"People & Body",aliases:["bouncing_ball_woman","basketball_woman"],tags:[],unicode_version:"7.0",ios_version:"10.0",skin_tones:!0},{emoji:"🏋️",description:"person lifting weights",category:"People & Body",aliases:["weight_lifting"],tags:["gym","workout"],unicode_version:"7.0",ios_version:"9.1",skin_tones:!0},{emoji:"🏋️♂️",description:"man lifting weights",category:"People & Body",aliases:["weight_lifting_man"],tags:["gym","workout"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🏋️♀️",description:"woman lifting weights",category:"People & Body",aliases:["weight_lifting_woman"],tags:["gym","workout"],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"🚴",description:"person biking",category:"People & Body",aliases:["bicyclist"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🚴♂️",description:"man biking",category:"People & Body",aliases:["biking_man"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🚴♀️",description:"woman biking",category:"People & Body",aliases:["biking_woman"],tags:[],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"🚵",description:"person mountain biking",category:"People & Body",aliases:["mountain_bicyclist"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🚵♂️",description:"man mountain biking",category:"People & Body",aliases:["mountain_biking_man"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🚵♀️",description:"woman mountain biking",category:"People & Body",aliases:["mountain_biking_woman"],tags:[],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"🤸",description:"person cartwheeling",category:"People & Body",aliases:["cartwheeling"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🤸♂️",description:"man cartwheeling",category:"People & Body",aliases:["man_cartwheeling"],tags:[],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"🤸♀️",description:"woman cartwheeling",category:"People & Body",aliases:["woman_cartwheeling"],tags:[],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"🤼",description:"people wrestling",category:"People & Body",aliases:["wrestling"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🤼♂️",description:"men wrestling",category:"People & Body",aliases:["men_wrestling"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🤼♀️",description:"women wrestling",category:"People & Body",aliases:["women_wrestling"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🤽",description:"person playing water polo",category:"People & Body",aliases:["water_polo"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🤽♂️",description:"man playing water polo",category:"People & Body",aliases:["man_playing_water_polo"],tags:[],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"🤽♀️",description:"woman playing water polo",category:"People & Body",aliases:["woman_playing_water_polo"],tags:[],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"🤾",description:"person playing handball",category:"People & Body",aliases:["handball_person"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🤾♂️",description:"man playing handball",category:"People & Body",aliases:["man_playing_handball"],tags:[],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"🤾♀️",description:"woman playing handball",category:"People & Body",aliases:["woman_playing_handball"],tags:[],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"🤹",description:"person juggling",category:"People & Body",aliases:["juggling_person"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🤹♂️",description:"man juggling",category:"People & Body",aliases:["man_juggling"],tags:[],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"🤹♀️",description:"woman juggling",category:"People & Body",aliases:["woman_juggling"],tags:[],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"🧘",description:"person in lotus position",category:"People & Body",aliases:["lotus_position"],tags:["meditation"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧘♂️",description:"man in lotus position",category:"People & Body",aliases:["lotus_position_man"],tags:["meditation"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧘♀️",description:"woman in lotus position",category:"People & Body",aliases:["lotus_position_woman"],tags:["meditation"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🛀",description:"person taking bath",category:"People & Body",aliases:["bath"],tags:["shower"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🛌",description:"person in bed",category:"People & Body",aliases:["sleeping_bed"],tags:[],unicode_version:"7.0",ios_version:"9.1",skin_tones:!0},{emoji:"🧑🤝🧑",description:"people holding hands",category:"People & Body",aliases:["people_holding_hands"],tags:["couple","date"],unicode_version:"12.0",ios_version:"13.0",skin_tones:!0},{emoji:"👭",description:"women holding hands",category:"People & Body",aliases:["two_women_holding_hands"],tags:["couple","date"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"👫",description:"woman and man holding hands",category:"People & Body",aliases:["couple"],tags:["date"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"👬",description:"men holding hands",category:"People & Body",aliases:["two_men_holding_hands"],tags:["couple","date"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"💏",description:"kiss",category:"People & Body",aliases:["couplekiss"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"👩❤️💋👨",description:"kiss: woman, man",category:"People & Body",aliases:["couplekiss_man_woman"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"👨❤️💋👨",description:"kiss: man, man",category:"People & Body",aliases:["couplekiss_man_man"],tags:[],unicode_version:"6.0",ios_version:"8.3",skin_tones:!0},{emoji:"👩❤️💋👩",description:"kiss: woman, woman",category:"People & Body",aliases:["couplekiss_woman_woman"],tags:[],unicode_version:"6.0",ios_version:"8.3",skin_tones:!0},{emoji:"💑",description:"couple with heart",category:"People & Body",aliases:["couple_with_heart"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"👩❤️👨",description:"couple with heart: woman, man",category:"People & Body",aliases:["couple_with_heart_woman_man"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"👨❤️👨",description:"couple with heart: man, man",category:"People & Body",aliases:["couple_with_heart_man_man"],tags:[],unicode_version:"6.0",ios_version:"8.3",skin_tones:!0},{emoji:"👩❤️👩",description:"couple with heart: woman, woman",category:"People & Body",aliases:["couple_with_heart_woman_woman"],tags:[],unicode_version:"6.0",ios_version:"8.3",skin_tones:!0},{emoji:"👪",description:"family",category:"People & Body",aliases:["family"],tags:["home","parents","child"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👨👩👦",description:"family: man, woman, boy",category:"People & Body",aliases:["family_man_woman_boy"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"👨👩👧",description:"family: man, woman, girl",category:"People & Body",aliases:["family_man_woman_girl"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"👨👩👧👦",description:"family: man, woman, girl, boy",category:"People & Body",aliases:["family_man_woman_girl_boy"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"👨👩👦👦",description:"family: man, woman, boy, boy",category:"People & Body",aliases:["family_man_woman_boy_boy"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"👨👩👧👧",description:"family: man, woman, girl, girl",category:"People & Body",aliases:["family_man_woman_girl_girl"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"👨👨👦",description:"family: man, man, boy",category:"People & Body",aliases:["family_man_man_boy"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"👨👨👧",description:"family: man, man, girl",category:"People & Body",aliases:["family_man_man_girl"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"👨👨👧👦",description:"family: man, man, girl, boy",category:"People & Body",aliases:["family_man_man_girl_boy"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"👨👨👦👦",description:"family: man, man, boy, boy",category:"People & Body",aliases:["family_man_man_boy_boy"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"👨👨👧👧",description:"family: man, man, girl, girl",category:"People & Body",aliases:["family_man_man_girl_girl"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"👩👩👦",description:"family: woman, woman, boy",category:"People & Body",aliases:["family_woman_woman_boy"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"👩👩👧",description:"family: woman, woman, girl",category:"People & Body",aliases:["family_woman_woman_girl"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"👩👩👧👦",description:"family: woman, woman, girl, boy",category:"People & Body",aliases:["family_woman_woman_girl_boy"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"👩👩👦👦",description:"family: woman, woman, boy, boy",category:"People & Body",aliases:["family_woman_woman_boy_boy"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"👩👩👧👧",description:"family: woman, woman, girl, girl",category:"People & Body",aliases:["family_woman_woman_girl_girl"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"👨👦",description:"family: man, boy",category:"People & Body",aliases:["family_man_boy"],tags:[],unicode_version:"6.0",ios_version:"10.0"},{emoji:"👨👦👦",description:"family: man, boy, boy",category:"People & Body",aliases:["family_man_boy_boy"],tags:[],unicode_version:"6.0",ios_version:"10.0"},{emoji:"👨👧",description:"family: man, girl",category:"People & Body",aliases:["family_man_girl"],tags:[],unicode_version:"6.0",ios_version:"10.0"},{emoji:"👨👧👦",description:"family: man, girl, boy",category:"People & Body",aliases:["family_man_girl_boy"],tags:[],unicode_version:"6.0",ios_version:"10.0"},{emoji:"👨👧👧",description:"family: man, girl, girl",category:"People & Body",aliases:["family_man_girl_girl"],tags:[],unicode_version:"6.0",ios_version:"10.0"},{emoji:"👩👦",description:"family: woman, boy",category:"People & Body",aliases:["family_woman_boy"],tags:[],unicode_version:"6.0",ios_version:"10.0"},{emoji:"👩👦👦",description:"family: woman, boy, boy",category:"People & Body",aliases:["family_woman_boy_boy"],tags:[],unicode_version:"6.0",ios_version:"10.0"},{emoji:"👩👧",description:"family: woman, girl",category:"People & Body",aliases:["family_woman_girl"],tags:[],unicode_version:"6.0",ios_version:"10.0"},{emoji:"👩👧👦",description:"family: woman, girl, boy",category:"People & Body",aliases:["family_woman_girl_boy"],tags:[],unicode_version:"6.0",ios_version:"10.0"},{emoji:"👩👧👧",description:"family: woman, girl, girl",category:"People & Body",aliases:["family_woman_girl_girl"],tags:[],unicode_version:"6.0",ios_version:"10.0"},{emoji:"🗣️",description:"speaking head",category:"People & Body",aliases:["speaking_head"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"👤",description:"bust in silhouette",category:"People & Body",aliases:["bust_in_silhouette"],tags:["user"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👥",description:"busts in silhouette",category:"People & Body",aliases:["busts_in_silhouette"],tags:["users","group","team"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🫂",description:"people hugging",category:"People & Body",aliases:["people_hugging"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"👣",description:"footprints",category:"People & Body",aliases:["footprints"],tags:["feet","tracks"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐵",description:"monkey face",category:"Animals & Nature",aliases:["monkey_face"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐒",description:"monkey",category:"Animals & Nature",aliases:["monkey"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🦍",description:"gorilla",category:"Animals & Nature",aliases:["gorilla"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🦧",description:"orangutan",category:"Animals & Nature",aliases:["orangutan"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🐶",description:"dog face",category:"Animals & Nature",aliases:["dog"],tags:["pet"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐕",description:"dog",category:"Animals & Nature",aliases:["dog2"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🦮",description:"guide dog",category:"Animals & Nature",aliases:["guide_dog"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🐕🦺",description:"service dog",category:"Animals & Nature",aliases:["service_dog"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🐩",description:"poodle",category:"Animals & Nature",aliases:["poodle"],tags:["dog"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐺",description:"wolf",category:"Animals & Nature",aliases:["wolf"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🦊",description:"fox",category:"Animals & Nature",aliases:["fox_face"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🦝",description:"raccoon",category:"Animals & Nature",aliases:["raccoon"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🐱",description:"cat face",category:"Animals & Nature",aliases:["cat"],tags:["pet"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐈",description:"cat",category:"Animals & Nature",aliases:["cat2"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐈⬛",description:"black cat",category:"Animals & Nature",aliases:["black_cat"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🦁",description:"lion",category:"Animals & Nature",aliases:["lion"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🐯",description:"tiger face",category:"Animals & Nature",aliases:["tiger"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐅",description:"tiger",category:"Animals & Nature",aliases:["tiger2"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐆",description:"leopard",category:"Animals & Nature",aliases:["leopard"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐴",description:"horse face",category:"Animals & Nature",aliases:["horse"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐎",description:"horse",category:"Animals & Nature",aliases:["racehorse"],tags:["speed"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🦄",description:"unicorn",category:"Animals & Nature",aliases:["unicorn"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🦓",description:"zebra",category:"Animals & Nature",aliases:["zebra"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🦌",description:"deer",category:"Animals & Nature",aliases:["deer"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🦬",description:"bison",category:"Animals & Nature",aliases:["bison"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🐮",description:"cow face",category:"Animals & Nature",aliases:["cow"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐂",description:"ox",category:"Animals & Nature",aliases:["ox"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐃",description:"water buffalo",category:"Animals & Nature",aliases:["water_buffalo"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐄",description:"cow",category:"Animals & Nature",aliases:["cow2"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐷",description:"pig face",category:"Animals & Nature",aliases:["pig"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐖",description:"pig",category:"Animals & Nature",aliases:["pig2"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐗",description:"boar",category:"Animals & Nature",aliases:["boar"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐽",description:"pig nose",category:"Animals & Nature",aliases:["pig_nose"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐏",description:"ram",category:"Animals & Nature",aliases:["ram"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐑",description:"ewe",category:"Animals & Nature",aliases:["sheep"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐐",description:"goat",category:"Animals & Nature",aliases:["goat"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐪",description:"camel",category:"Animals & Nature",aliases:["dromedary_camel"],tags:["desert"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐫",description:"two-hump camel",category:"Animals & Nature",aliases:["camel"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🦙",description:"llama",category:"Animals & Nature",aliases:["llama"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🦒",description:"giraffe",category:"Animals & Nature",aliases:["giraffe"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🐘",description:"elephant",category:"Animals & Nature",aliases:["elephant"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🦣",description:"mammoth",category:"Animals & Nature",aliases:["mammoth"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🦏",description:"rhinoceros",category:"Animals & Nature",aliases:["rhinoceros"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🦛",description:"hippopotamus",category:"Animals & Nature",aliases:["hippopotamus"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🐭",description:"mouse face",category:"Animals & Nature",aliases:["mouse"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐁",description:"mouse",category:"Animals & Nature",aliases:["mouse2"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐀",description:"rat",category:"Animals & Nature",aliases:["rat"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐹",description:"hamster",category:"Animals & Nature",aliases:["hamster"],tags:["pet"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐰",description:"rabbit face",category:"Animals & Nature",aliases:["rabbit"],tags:["bunny"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐇",description:"rabbit",category:"Animals & Nature",aliases:["rabbit2"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐿️",description:"chipmunk",category:"Animals & Nature",aliases:["chipmunk"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🦫",description:"beaver",category:"Animals & Nature",aliases:["beaver"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🦔",description:"hedgehog",category:"Animals & Nature",aliases:["hedgehog"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🦇",description:"bat",category:"Animals & Nature",aliases:["bat"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🐻",description:"bear",category:"Animals & Nature",aliases:["bear"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐻❄️",description:"polar bear",category:"Animals & Nature",aliases:["polar_bear"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🐨",description:"koala",category:"Animals & Nature",aliases:["koala"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐼",description:"panda",category:"Animals & Nature",aliases:["panda_face"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🦥",description:"sloth",category:"Animals & Nature",aliases:["sloth"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🦦",description:"otter",category:"Animals & Nature",aliases:["otter"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🦨",description:"skunk",category:"Animals & Nature",aliases:["skunk"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🦘",description:"kangaroo",category:"Animals & Nature",aliases:["kangaroo"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🦡",description:"badger",category:"Animals & Nature",aliases:["badger"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🐾",description:"paw prints",category:"Animals & Nature",aliases:["feet","paw_prints"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🦃",description:"turkey",category:"Animals & Nature",aliases:["turkey"],tags:["thanksgiving"],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🐔",description:"chicken",category:"Animals & Nature",aliases:["chicken"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐓",description:"rooster",category:"Animals & Nature",aliases:["rooster"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐣",description:"hatching chick",category:"Animals & Nature",aliases:["hatching_chick"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐤",description:"baby chick",category:"Animals & Nature",aliases:["baby_chick"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐥",description:"front-facing baby chick",category:"Animals & Nature",aliases:["hatched_chick"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐦",description:"bird",category:"Animals & Nature",aliases:["bird"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐧",description:"penguin",category:"Animals & Nature",aliases:["penguin"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕊️",description:"dove",category:"Animals & Nature",aliases:["dove"],tags:["peace"],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🦅",description:"eagle",category:"Animals & Nature",aliases:["eagle"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🦆",description:"duck",category:"Animals & Nature",aliases:["duck"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🦢",description:"swan",category:"Animals & Nature",aliases:["swan"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🦉",description:"owl",category:"Animals & Nature",aliases:["owl"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🦤",description:"dodo",category:"Animals & Nature",aliases:["dodo"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🪶",description:"feather",category:"Animals & Nature",aliases:["feather"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🦩",description:"flamingo",category:"Animals & Nature",aliases:["flamingo"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🦚",description:"peacock",category:"Animals & Nature",aliases:["peacock"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🦜",description:"parrot",category:"Animals & Nature",aliases:["parrot"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🐸",description:"frog",category:"Animals & Nature",aliases:["frog"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐊",description:"crocodile",category:"Animals & Nature",aliases:["crocodile"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐢",description:"turtle",category:"Animals & Nature",aliases:["turtle"],tags:["slow"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🦎",description:"lizard",category:"Animals & Nature",aliases:["lizard"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🐍",description:"snake",category:"Animals & Nature",aliases:["snake"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐲",description:"dragon face",category:"Animals & Nature",aliases:["dragon_face"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐉",description:"dragon",category:"Animals & Nature",aliases:["dragon"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🦕",description:"sauropod",category:"Animals & Nature",aliases:["sauropod"],tags:["dinosaur"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🦖",description:"T-Rex",category:"Animals & Nature",aliases:["t-rex"],tags:["dinosaur"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🐳",description:"spouting whale",category:"Animals & Nature",aliases:["whale"],tags:["sea"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐋",description:"whale",category:"Animals & Nature",aliases:["whale2"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐬",description:"dolphin",category:"Animals & Nature",aliases:["dolphin","flipper"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🦭",description:"seal",category:"Animals & Nature",aliases:["seal"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🐟",description:"fish",category:"Animals & Nature",aliases:["fish"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐠",description:"tropical fish",category:"Animals & Nature",aliases:["tropical_fish"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐡",description:"blowfish",category:"Animals & Nature",aliases:["blowfish"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🦈",description:"shark",category:"Animals & Nature",aliases:["shark"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🐙",description:"octopus",category:"Animals & Nature",aliases:["octopus"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐚",description:"spiral shell",category:"Animals & Nature",aliases:["shell"],tags:["sea","beach"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐌",description:"snail",category:"Animals & Nature",aliases:["snail"],tags:["slow"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🦋",description:"butterfly",category:"Animals & Nature",aliases:["butterfly"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🐛",description:"bug",category:"Animals & Nature",aliases:["bug"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐜",description:"ant",category:"Animals & Nature",aliases:["ant"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐝",description:"honeybee",category:"Animals & Nature",aliases:["bee","honeybee"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🪲",description:"beetle",category:"Animals & Nature",aliases:["beetle"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🐞",description:"lady beetle",category:"Animals & Nature",aliases:["lady_beetle"],tags:["bug"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🦗",description:"cricket",category:"Animals & Nature",aliases:["cricket"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🪳",description:"cockroach",category:"Animals & Nature",aliases:["cockroach"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🕷️",description:"spider",category:"Animals & Nature",aliases:["spider"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🕸️",description:"spider web",category:"Animals & Nature",aliases:["spider_web"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🦂",description:"scorpion",category:"Animals & Nature",aliases:["scorpion"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🦟",description:"mosquito",category:"Animals & Nature",aliases:["mosquito"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🪰",description:"fly",category:"Animals & Nature",aliases:["fly"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🪱",description:"worm",category:"Animals & Nature",aliases:["worm"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🦠",description:"microbe",category:"Animals & Nature",aliases:["microbe"],tags:["germ"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"💐",description:"bouquet",category:"Animals & Nature",aliases:["bouquet"],tags:["flowers"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌸",description:"cherry blossom",category:"Animals & Nature",aliases:["cherry_blossom"],tags:["flower","spring"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💮",description:"white flower",category:"Animals & Nature",aliases:["white_flower"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏵️",description:"rosette",category:"Animals & Nature",aliases:["rosette"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🌹",description:"rose",category:"Animals & Nature",aliases:["rose"],tags:["flower"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🥀",description:"wilted flower",category:"Animals & Nature",aliases:["wilted_flower"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🌺",description:"hibiscus",category:"Animals & Nature",aliases:["hibiscus"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌻",description:"sunflower",category:"Animals & Nature",aliases:["sunflower"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌼",description:"blossom",category:"Animals & Nature",aliases:["blossom"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌷",description:"tulip",category:"Animals & Nature",aliases:["tulip"],tags:["flower"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌱",description:"seedling",category:"Animals & Nature",aliases:["seedling"],tags:["plant"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🪴",description:"potted plant",category:"Animals & Nature",aliases:["potted_plant"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🌲",description:"evergreen tree",category:"Animals & Nature",aliases:["evergreen_tree"],tags:["wood"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌳",description:"deciduous tree",category:"Animals & Nature",aliases:["deciduous_tree"],tags:["wood"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌴",description:"palm tree",category:"Animals & Nature",aliases:["palm_tree"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌵",description:"cactus",category:"Animals & Nature",aliases:["cactus"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌾",description:"sheaf of rice",category:"Animals & Nature",aliases:["ear_of_rice"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌿",description:"herb",category:"Animals & Nature",aliases:["herb"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"☘️",description:"shamrock",category:"Animals & Nature",aliases:["shamrock"],tags:[],unicode_version:"4.1",ios_version:"9.1"},{emoji:"🍀",description:"four leaf clover",category:"Animals & Nature",aliases:["four_leaf_clover"],tags:["luck"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍁",description:"maple leaf",category:"Animals & Nature",aliases:["maple_leaf"],tags:["canada"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍂",description:"fallen leaf",category:"Animals & Nature",aliases:["fallen_leaf"],tags:["autumn"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍃",description:"leaf fluttering in wind",category:"Animals & Nature",aliases:["leaves"],tags:["leaf"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍇",description:"grapes",category:"Food & Drink",aliases:["grapes"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍈",description:"melon",category:"Food & Drink",aliases:["melon"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍉",description:"watermelon",category:"Food & Drink",aliases:["watermelon"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍊",description:"tangerine",category:"Food & Drink",aliases:["tangerine","orange","mandarin"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍋",description:"lemon",category:"Food & Drink",aliases:["lemon"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍌",description:"banana",category:"Food & Drink",aliases:["banana"],tags:["fruit"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍍",description:"pineapple",category:"Food & Drink",aliases:["pineapple"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🥭",description:"mango",category:"Food & Drink",aliases:["mango"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🍎",description:"red apple",category:"Food & Drink",aliases:["apple"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍏",description:"green apple",category:"Food & Drink",aliases:["green_apple"],tags:["fruit"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍐",description:"pear",category:"Food & Drink",aliases:["pear"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍑",description:"peach",category:"Food & Drink",aliases:["peach"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍒",description:"cherries",category:"Food & Drink",aliases:["cherries"],tags:["fruit"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍓",description:"strawberry",category:"Food & Drink",aliases:["strawberry"],tags:["fruit"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🫐",description:"blueberries",category:"Food & Drink",aliases:["blueberries"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🥝",description:"kiwi fruit",category:"Food & Drink",aliases:["kiwi_fruit"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🍅",description:"tomato",category:"Food & Drink",aliases:["tomato"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🫒",description:"olive",category:"Food & Drink",aliases:["olive"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🥥",description:"coconut",category:"Food & Drink",aliases:["coconut"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🥑",description:"avocado",category:"Food & Drink",aliases:["avocado"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🍆",description:"eggplant",category:"Food & Drink",aliases:["eggplant"],tags:["aubergine"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🥔",description:"potato",category:"Food & Drink",aliases:["potato"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🥕",description:"carrot",category:"Food & Drink",aliases:["carrot"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🌽",description:"ear of corn",category:"Food & Drink",aliases:["corn"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌶️",description:"hot pepper",category:"Food & Drink",aliases:["hot_pepper"],tags:["spicy"],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🫑",description:"bell pepper",category:"Food & Drink",aliases:["bell_pepper"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🥒",description:"cucumber",category:"Food & Drink",aliases:["cucumber"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🥬",description:"leafy green",category:"Food & Drink",aliases:["leafy_green"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🥦",description:"broccoli",category:"Food & Drink",aliases:["broccoli"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧄",description:"garlic",category:"Food & Drink",aliases:["garlic"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🧅",description:"onion",category:"Food & Drink",aliases:["onion"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🍄",description:"mushroom",category:"Food & Drink",aliases:["mushroom"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🥜",description:"peanuts",category:"Food & Drink",aliases:["peanuts"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🌰",description:"chestnut",category:"Food & Drink",aliases:["chestnut"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍞",description:"bread",category:"Food & Drink",aliases:["bread"],tags:["toast"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🥐",description:"croissant",category:"Food & Drink",aliases:["croissant"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🥖",description:"baguette bread",category:"Food & Drink",aliases:["baguette_bread"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🫓",description:"flatbread",category:"Food & Drink",aliases:["flatbread"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🥨",description:"pretzel",category:"Food & Drink",aliases:["pretzel"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🥯",description:"bagel",category:"Food & Drink",aliases:["bagel"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🥞",description:"pancakes",category:"Food & Drink",aliases:["pancakes"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🧇",description:"waffle",category:"Food & Drink",aliases:["waffle"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🧀",description:"cheese wedge",category:"Food & Drink",aliases:["cheese"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🍖",description:"meat on bone",category:"Food & Drink",aliases:["meat_on_bone"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍗",description:"poultry leg",category:"Food & Drink",aliases:["poultry_leg"],tags:["meat","chicken"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🥩",description:"cut of meat",category:"Food & Drink",aliases:["cut_of_meat"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🥓",description:"bacon",category:"Food & Drink",aliases:["bacon"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🍔",description:"hamburger",category:"Food & Drink",aliases:["hamburger"],tags:["burger"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍟",description:"french fries",category:"Food & Drink",aliases:["fries"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍕",description:"pizza",category:"Food & Drink",aliases:["pizza"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌭",description:"hot dog",category:"Food & Drink",aliases:["hotdog"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🥪",description:"sandwich",category:"Food & Drink",aliases:["sandwich"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🌮",description:"taco",category:"Food & Drink",aliases:["taco"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🌯",description:"burrito",category:"Food & Drink",aliases:["burrito"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🫔",description:"tamale",category:"Food & Drink",aliases:["tamale"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🥙",description:"stuffed flatbread",category:"Food & Drink",aliases:["stuffed_flatbread"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🧆",description:"falafel",category:"Food & Drink",aliases:["falafel"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🥚",description:"egg",category:"Food & Drink",aliases:["egg"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🍳",description:"cooking",category:"Food & Drink",aliases:["fried_egg"],tags:["breakfast"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🥘",description:"shallow pan of food",category:"Food & Drink",aliases:["shallow_pan_of_food"],tags:["paella","curry"],unicode_version:"",ios_version:"10.2"},{emoji:"🍲",description:"pot of food",category:"Food & Drink",aliases:["stew"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🫕",description:"fondue",category:"Food & Drink",aliases:["fondue"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🥣",description:"bowl with spoon",category:"Food & Drink",aliases:["bowl_with_spoon"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🥗",description:"green salad",category:"Food & Drink",aliases:["green_salad"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🍿",description:"popcorn",category:"Food & Drink",aliases:["popcorn"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🧈",description:"butter",category:"Food & Drink",aliases:["butter"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🧂",description:"salt",category:"Food & Drink",aliases:["salt"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🥫",description:"canned food",category:"Food & Drink",aliases:["canned_food"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🍱",description:"bento box",category:"Food & Drink",aliases:["bento"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍘",description:"rice cracker",category:"Food & Drink",aliases:["rice_cracker"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍙",description:"rice ball",category:"Food & Drink",aliases:["rice_ball"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍚",description:"cooked rice",category:"Food & Drink",aliases:["rice"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍛",description:"curry rice",category:"Food & Drink",aliases:["curry"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍜",description:"steaming bowl",category:"Food & Drink",aliases:["ramen"],tags:["noodle"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍝",description:"spaghetti",category:"Food & Drink",aliases:["spaghetti"],tags:["pasta"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍠",description:"roasted sweet potato",category:"Food & Drink",aliases:["sweet_potato"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍢",description:"oden",category:"Food & Drink",aliases:["oden"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍣",description:"sushi",category:"Food & Drink",aliases:["sushi"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍤",description:"fried shrimp",category:"Food & Drink",aliases:["fried_shrimp"],tags:["tempura"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍥",description:"fish cake with swirl",category:"Food & Drink",aliases:["fish_cake"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🥮",description:"moon cake",category:"Food & Drink",aliases:["moon_cake"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🍡",description:"dango",category:"Food & Drink",aliases:["dango"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🥟",description:"dumpling",category:"Food & Drink",aliases:["dumpling"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🥠",description:"fortune cookie",category:"Food & Drink",aliases:["fortune_cookie"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🥡",description:"takeout box",category:"Food & Drink",aliases:["takeout_box"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🦀",description:"crab",category:"Food & Drink",aliases:["crab"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🦞",description:"lobster",category:"Food & Drink",aliases:["lobster"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🦐",description:"shrimp",category:"Food & Drink",aliases:["shrimp"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🦑",description:"squid",category:"Food & Drink",aliases:["squid"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🦪",description:"oyster",category:"Food & Drink",aliases:["oyster"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🍦",description:"soft ice cream",category:"Food & Drink",aliases:["icecream"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍧",description:"shaved ice",category:"Food & Drink",aliases:["shaved_ice"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍨",description:"ice cream",category:"Food & Drink",aliases:["ice_cream"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍩",description:"doughnut",category:"Food & Drink",aliases:["doughnut"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍪",description:"cookie",category:"Food & Drink",aliases:["cookie"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎂",description:"birthday cake",category:"Food & Drink",aliases:["birthday"],tags:["party"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍰",description:"shortcake",category:"Food & Drink",aliases:["cake"],tags:["dessert"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🧁",description:"cupcake",category:"Food & Drink",aliases:["cupcake"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🥧",description:"pie",category:"Food & Drink",aliases:["pie"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🍫",description:"chocolate bar",category:"Food & Drink",aliases:["chocolate_bar"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍬",description:"candy",category:"Food & Drink",aliases:["candy"],tags:["sweet"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍭",description:"lollipop",category:"Food & Drink",aliases:["lollipop"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍮",description:"custard",category:"Food & Drink",aliases:["custard"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍯",description:"honey pot",category:"Food & Drink",aliases:["honey_pot"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍼",description:"baby bottle",category:"Food & Drink",aliases:["baby_bottle"],tags:["milk"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🥛",description:"glass of milk",category:"Food & Drink",aliases:["milk_glass"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"☕",description:"hot beverage",category:"Food & Drink",aliases:["coffee"],tags:["cafe","espresso"],unicode_version:"4.0",ios_version:"6.0"},{emoji:"🫖",description:"teapot",category:"Food & Drink",aliases:["teapot"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🍵",description:"teacup without handle",category:"Food & Drink",aliases:["tea"],tags:["green","breakfast"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍶",description:"sake",category:"Food & Drink",aliases:["sake"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍾",description:"bottle with popping cork",category:"Food & Drink",aliases:["champagne"],tags:["bottle","bubbly","celebration"],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🍷",description:"wine glass",category:"Food & Drink",aliases:["wine_glass"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍸",description:"cocktail glass",category:"Food & Drink",aliases:["cocktail"],tags:["drink"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍹",description:"tropical drink",category:"Food & Drink",aliases:["tropical_drink"],tags:["summer","vacation"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍺",description:"beer mug",category:"Food & Drink",aliases:["beer"],tags:["drink"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍻",description:"clinking beer mugs",category:"Food & Drink",aliases:["beers"],tags:["drinks"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🥂",description:"clinking glasses",category:"Food & Drink",aliases:["clinking_glasses"],tags:["cheers","toast"],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🥃",description:"tumbler glass",category:"Food & Drink",aliases:["tumbler_glass"],tags:["whisky"],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🥤",description:"cup with straw",category:"Food & Drink",aliases:["cup_with_straw"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧋",description:"bubble tea",category:"Food & Drink",aliases:["bubble_tea"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🧃",description:"beverage box",category:"Food & Drink",aliases:["beverage_box"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🧉",description:"mate",category:"Food & Drink",aliases:["mate"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🧊",description:"ice",category:"Food & Drink",aliases:["ice_cube"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🥢",description:"chopsticks",category:"Food & Drink",aliases:["chopsticks"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🍽️",description:"fork and knife with plate",category:"Food & Drink",aliases:["plate_with_cutlery"],tags:["dining","dinner"],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🍴",description:"fork and knife",category:"Food & Drink",aliases:["fork_and_knife"],tags:["cutlery"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🥄",description:"spoon",category:"Food & Drink",aliases:["spoon"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🔪",description:"kitchen knife",category:"Food & Drink",aliases:["hocho","knife"],tags:["cut","chop"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏺",description:"amphora",category:"Food & Drink",aliases:["amphora"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🌍",description:"globe showing Europe-Africa",category:"Travel & Places",aliases:["earth_africa"],tags:["globe","world","international"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌎",description:"globe showing Americas",category:"Travel & Places",aliases:["earth_americas"],tags:["globe","world","international"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌏",description:"globe showing Asia-Australia",category:"Travel & Places",aliases:["earth_asia"],tags:["globe","world","international"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌐",description:"globe with meridians",category:"Travel & Places",aliases:["globe_with_meridians"],tags:["world","global","international"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🗺️",description:"world map",category:"Travel & Places",aliases:["world_map"],tags:["travel"],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🗾",description:"map of Japan",category:"Travel & Places",aliases:["japan"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🧭",description:"compass",category:"Travel & Places",aliases:["compass"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🏔️",description:"snow-capped mountain",category:"Travel & Places",aliases:["mountain_snow"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"⛰️",description:"mountain",category:"Travel & Places",aliases:["mountain"],tags:[],unicode_version:"5.2",ios_version:"9.1"},{emoji:"🌋",description:"volcano",category:"Travel & Places",aliases:["volcano"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🗻",description:"mount fuji",category:"Travel & Places",aliases:["mount_fuji"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏕️",description:"camping",category:"Travel & Places",aliases:["camping"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🏖️",description:"beach with umbrella",category:"Travel & Places",aliases:["beach_umbrella"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🏜️",description:"desert",category:"Travel & Places",aliases:["desert"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🏝️",description:"desert island",category:"Travel & Places",aliases:["desert_island"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🏞️",description:"national park",category:"Travel & Places",aliases:["national_park"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🏟️",description:"stadium",category:"Travel & Places",aliases:["stadium"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🏛️",description:"classical building",category:"Travel & Places",aliases:["classical_building"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🏗️",description:"building construction",category:"Travel & Places",aliases:["building_construction"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🧱",description:"brick",category:"Travel & Places",aliases:["bricks"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🪨",description:"rock",category:"Travel & Places",aliases:["rock"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🪵",description:"wood",category:"Travel & Places",aliases:["wood"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🛖",description:"hut",category:"Travel & Places",aliases:["hut"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🏘️",description:"houses",category:"Travel & Places",aliases:["houses"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🏚️",description:"derelict house",category:"Travel & Places",aliases:["derelict_house"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🏠",description:"house",category:"Travel & Places",aliases:["house"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏡",description:"house with garden",category:"Travel & Places",aliases:["house_with_garden"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏢",description:"office building",category:"Travel & Places",aliases:["office"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏣",description:"Japanese post office",category:"Travel & Places",aliases:["post_office"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏤",description:"post office",category:"Travel & Places",aliases:["european_post_office"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏥",description:"hospital",category:"Travel & Places",aliases:["hospital"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏦",description:"bank",category:"Travel & Places",aliases:["bank"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏨",description:"hotel",category:"Travel & Places",aliases:["hotel"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏩",description:"love hotel",category:"Travel & Places",aliases:["love_hotel"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏪",description:"convenience store",category:"Travel & Places",aliases:["convenience_store"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏫",description:"school",category:"Travel & Places",aliases:["school"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏬",description:"department store",category:"Travel & Places",aliases:["department_store"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏭",description:"factory",category:"Travel & Places",aliases:["factory"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏯",description:"Japanese castle",category:"Travel & Places",aliases:["japanese_castle"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏰",description:"castle",category:"Travel & Places",aliases:["european_castle"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💒",description:"wedding",category:"Travel & Places",aliases:["wedding"],tags:["marriage"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🗼",description:"Tokyo tower",category:"Travel & Places",aliases:["tokyo_tower"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🗽",description:"Statue of Liberty",category:"Travel & Places",aliases:["statue_of_liberty"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"⛪",description:"church",category:"Travel & Places",aliases:["church"],tags:[],unicode_version:"5.2",ios_version:"6.0"},{emoji:"🕌",description:"mosque",category:"Travel & Places",aliases:["mosque"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🛕",description:"hindu temple",category:"Travel & Places",aliases:["hindu_temple"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🕍",description:"synagogue",category:"Travel & Places",aliases:["synagogue"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"⛩️",description:"shinto shrine",category:"Travel & Places",aliases:["shinto_shrine"],tags:[],unicode_version:"5.2",ios_version:"9.1"},{emoji:"🕋",description:"kaaba",category:"Travel & Places",aliases:["kaaba"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"⛲",description:"fountain",category:"Travel & Places",aliases:["fountain"],tags:[],unicode_version:"5.2",ios_version:"6.0"},{emoji:"⛺",description:"tent",category:"Travel & Places",aliases:["tent"],tags:["camping"],unicode_version:"5.2",ios_version:"6.0"},{emoji:"🌁",description:"foggy",category:"Travel & Places",aliases:["foggy"],tags:["karl"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌃",description:"night with stars",category:"Travel & Places",aliases:["night_with_stars"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏙️",description:"cityscape",category:"Travel & Places",aliases:["cityscape"],tags:["skyline"],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🌄",description:"sunrise over mountains",category:"Travel & Places",aliases:["sunrise_over_mountains"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌅",description:"sunrise",category:"Travel & Places",aliases:["sunrise"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌆",description:"cityscape at dusk",category:"Travel & Places",aliases:["city_sunset"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌇",description:"sunset",category:"Travel & Places",aliases:["city_sunrise"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌉",description:"bridge at night",category:"Travel & Places",aliases:["bridge_at_night"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"♨️",description:"hot springs",category:"Travel & Places",aliases:["hotsprings"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"🎠",description:"carousel horse",category:"Travel & Places",aliases:["carousel_horse"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎡",description:"ferris wheel",category:"Travel & Places",aliases:["ferris_wheel"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎢",description:"roller coaster",category:"Travel & Places",aliases:["roller_coaster"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💈",description:"barber pole",category:"Travel & Places",aliases:["barber"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎪",description:"circus tent",category:"Travel & Places",aliases:["circus_tent"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚂",description:"locomotive",category:"Travel & Places",aliases:["steam_locomotive"],tags:["train"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚃",description:"railway car",category:"Travel & Places",aliases:["railway_car"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚄",description:"high-speed train",category:"Travel & Places",aliases:["bullettrain_side"],tags:["train"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚅",description:"bullet train",category:"Travel & Places",aliases:["bullettrain_front"],tags:["train"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚆",description:"train",category:"Travel & Places",aliases:["train2"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚇",description:"metro",category:"Travel & Places",aliases:["metro"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚈",description:"light rail",category:"Travel & Places",aliases:["light_rail"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚉",description:"station",category:"Travel & Places",aliases:["station"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚊",description:"tram",category:"Travel & Places",aliases:["tram"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚝",description:"monorail",category:"Travel & Places",aliases:["monorail"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚞",description:"mountain railway",category:"Travel & Places",aliases:["mountain_railway"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚋",description:"tram car",category:"Travel & Places",aliases:["train"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚌",description:"bus",category:"Travel & Places",aliases:["bus"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚍",description:"oncoming bus",category:"Travel & Places",aliases:["oncoming_bus"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚎",description:"trolleybus",category:"Travel & Places",aliases:["trolleybus"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚐",description:"minibus",category:"Travel & Places",aliases:["minibus"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚑",description:"ambulance",category:"Travel & Places",aliases:["ambulance"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚒",description:"fire engine",category:"Travel & Places",aliases:["fire_engine"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚓",description:"police car",category:"Travel & Places",aliases:["police_car"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚔",description:"oncoming police car",category:"Travel & Places",aliases:["oncoming_police_car"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚕",description:"taxi",category:"Travel & Places",aliases:["taxi"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚖",description:"oncoming taxi",category:"Travel & Places",aliases:["oncoming_taxi"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚗",description:"automobile",category:"Travel & Places",aliases:["car","red_car"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚘",description:"oncoming automobile",category:"Travel & Places",aliases:["oncoming_automobile"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚙",description:"sport utility vehicle",category:"Travel & Places",aliases:["blue_car"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🛻",description:"pickup truck",category:"Travel & Places",aliases:["pickup_truck"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🚚",description:"delivery truck",category:"Travel & Places",aliases:["truck"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚛",description:"articulated lorry",category:"Travel & Places",aliases:["articulated_lorry"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚜",description:"tractor",category:"Travel & Places",aliases:["tractor"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏎️",description:"racing car",category:"Travel & Places",aliases:["racing_car"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🏍️",description:"motorcycle",category:"Travel & Places",aliases:["motorcycle"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🛵",description:"motor scooter",category:"Travel & Places",aliases:["motor_scooter"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🦽",description:"manual wheelchair",category:"Travel & Places",aliases:["manual_wheelchair"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🦼",description:"motorized wheelchair",category:"Travel & Places",aliases:["motorized_wheelchair"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🛺",description:"auto rickshaw",category:"Travel & Places",aliases:["auto_rickshaw"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🚲",description:"bicycle",category:"Travel & Places",aliases:["bike"],tags:["bicycle"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🛴",description:"kick scooter",category:"Travel & Places",aliases:["kick_scooter"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🛹",description:"skateboard",category:"Travel & Places",aliases:["skateboard"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🛼",description:"roller skate",category:"Travel & Places",aliases:["roller_skate"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🚏",description:"bus stop",category:"Travel & Places",aliases:["busstop"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🛣️",description:"motorway",category:"Travel & Places",aliases:["motorway"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🛤️",description:"railway track",category:"Travel & Places",aliases:["railway_track"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🛢️",description:"oil drum",category:"Travel & Places",aliases:["oil_drum"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"⛽",description:"fuel pump",category:"Travel & Places",aliases:["fuelpump"],tags:[],unicode_version:"5.2",ios_version:"6.0"},{emoji:"🚨",description:"police car light",category:"Travel & Places",aliases:["rotating_light"],tags:["911","emergency"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚥",description:"horizontal traffic light",category:"Travel & Places",aliases:["traffic_light"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚦",description:"vertical traffic light",category:"Travel & Places",aliases:["vertical_traffic_light"],tags:["semaphore"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🛑",description:"stop sign",category:"Travel & Places",aliases:["stop_sign"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🚧",description:"construction",category:"Travel & Places",aliases:["construction"],tags:["wip"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"⚓",description:"anchor",category:"Travel & Places",aliases:["anchor"],tags:["ship"],unicode_version:"4.1",ios_version:"6.0"},{emoji:"⛵",description:"sailboat",category:"Travel & Places",aliases:["boat","sailboat"],tags:[],unicode_version:"5.2",ios_version:"6.0"},{emoji:"🛶",description:"canoe",category:"Travel & Places",aliases:["canoe"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🚤",description:"speedboat",category:"Travel & Places",aliases:["speedboat"],tags:["ship"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🛳️",description:"passenger ship",category:"Travel & Places",aliases:["passenger_ship"],tags:["cruise"],unicode_version:"7.0",ios_version:"9.1"},{emoji:"⛴️",description:"ferry",category:"Travel & Places",aliases:["ferry"],tags:[],unicode_version:"5.2",ios_version:"9.1"},{emoji:"🛥️",description:"motor boat",category:"Travel & Places",aliases:["motor_boat"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🚢",description:"ship",category:"Travel & Places",aliases:["ship"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"✈️",description:"airplane",category:"Travel & Places",aliases:["airplane"],tags:["flight"],unicode_version:"",ios_version:"6.0"},{emoji:"🛩️",description:"small airplane",category:"Travel & Places",aliases:["small_airplane"],tags:["flight"],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🛫",description:"airplane departure",category:"Travel & Places",aliases:["flight_departure"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🛬",description:"airplane arrival",category:"Travel & Places",aliases:["flight_arrival"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🪂",description:"parachute",category:"Travel & Places",aliases:["parachute"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"💺",description:"seat",category:"Travel & Places",aliases:["seat"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚁",description:"helicopter",category:"Travel & Places",aliases:["helicopter"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚟",description:"suspension railway",category:"Travel & Places",aliases:["suspension_railway"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚠",description:"mountain cableway",category:"Travel & Places",aliases:["mountain_cableway"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚡",description:"aerial tramway",category:"Travel & Places",aliases:["aerial_tramway"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🛰️",description:"satellite",category:"Travel & Places",aliases:["artificial_satellite"],tags:["orbit","space"],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🚀",description:"rocket",category:"Travel & Places",aliases:["rocket"],tags:["ship","launch"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🛸",description:"flying saucer",category:"Travel & Places",aliases:["flying_saucer"],tags:["ufo"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🛎️",description:"bellhop bell",category:"Travel & Places",aliases:["bellhop_bell"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🧳",description:"luggage",category:"Travel & Places",aliases:["luggage"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"⌛",description:"hourglass done",category:"Travel & Places",aliases:["hourglass"],tags:["time"],unicode_version:"",ios_version:"6.0"},{emoji:"⏳",description:"hourglass not done",category:"Travel & Places",aliases:["hourglass_flowing_sand"],tags:["time"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"⌚",description:"watch",category:"Travel & Places",aliases:["watch"],tags:["time"],unicode_version:"",ios_version:"6.0"},{emoji:"⏰",description:"alarm clock",category:"Travel & Places",aliases:["alarm_clock"],tags:["morning"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"⏱️",description:"stopwatch",category:"Travel & Places",aliases:["stopwatch"],tags:[],unicode_version:"6.0",ios_version:"9.1"},{emoji:"⏲️",description:"timer clock",category:"Travel & Places",aliases:["timer_clock"],tags:[],unicode_version:"6.0",ios_version:"9.1"},{emoji:"🕰️",description:"mantelpiece clock",category:"Travel & Places",aliases:["mantelpiece_clock"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🕛",description:"twelve o’clock",category:"Travel & Places",aliases:["clock12"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕧",description:"twelve-thirty",category:"Travel & Places",aliases:["clock1230"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕐",description:"one o’clock",category:"Travel & Places",aliases:["clock1"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕜",description:"one-thirty",category:"Travel & Places",aliases:["clock130"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕑",description:"two o’clock",category:"Travel & Places",aliases:["clock2"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕝",description:"two-thirty",category:"Travel & Places",aliases:["clock230"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕒",description:"three o’clock",category:"Travel & Places",aliases:["clock3"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕞",description:"three-thirty",category:"Travel & Places",aliases:["clock330"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕓",description:"four o’clock",category:"Travel & Places",aliases:["clock4"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕟",description:"four-thirty",category:"Travel & Places",aliases:["clock430"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕔",description:"five o’clock",category:"Travel & Places",aliases:["clock5"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕠",description:"five-thirty",category:"Travel & Places",aliases:["clock530"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕕",description:"six o’clock",category:"Travel & Places",aliases:["clock6"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕡",description:"six-thirty",category:"Travel & Places",aliases:["clock630"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕖",description:"seven o’clock",category:"Travel & Places",aliases:["clock7"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕢",description:"seven-thirty",category:"Travel & Places",aliases:["clock730"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕗",description:"eight o’clock",category:"Travel & Places",aliases:["clock8"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕣",description:"eight-thirty",category:"Travel & Places",aliases:["clock830"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕘",description:"nine o’clock",category:"Travel & Places",aliases:["clock9"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕤",description:"nine-thirty",category:"Travel & Places",aliases:["clock930"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕙",description:"ten o’clock",category:"Travel & Places",aliases:["clock10"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕥",description:"ten-thirty",category:"Travel & Places",aliases:["clock1030"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕚",description:"eleven o’clock",category:"Travel & Places",aliases:["clock11"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕦",description:"eleven-thirty",category:"Travel & Places",aliases:["clock1130"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌑",description:"new moon",category:"Travel & Places",aliases:["new_moon"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌒",description:"waxing crescent moon",category:"Travel & Places",aliases:["waxing_crescent_moon"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌓",description:"first quarter moon",category:"Travel & Places",aliases:["first_quarter_moon"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌔",description:"waxing gibbous moon",category:"Travel & Places",aliases:["moon","waxing_gibbous_moon"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌕",description:"full moon",category:"Travel & Places",aliases:["full_moon"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌖",description:"waning gibbous moon",category:"Travel & Places",aliases:["waning_gibbous_moon"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌗",description:"last quarter moon",category:"Travel & Places",aliases:["last_quarter_moon"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌘",description:"waning crescent moon",category:"Travel & Places",aliases:["waning_crescent_moon"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌙",description:"crescent moon",category:"Travel & Places",aliases:["crescent_moon"],tags:["night"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌚",description:"new moon face",category:"Travel & Places",aliases:["new_moon_with_face"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌛",description:"first quarter moon face",category:"Travel & Places",aliases:["first_quarter_moon_with_face"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌜",description:"last quarter moon face",category:"Travel & Places",aliases:["last_quarter_moon_with_face"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌡️",description:"thermometer",category:"Travel & Places",aliases:["thermometer"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"☀️",description:"sun",category:"Travel & Places",aliases:["sunny"],tags:["weather"],unicode_version:"",ios_version:"6.0"},{emoji:"🌝",description:"full moon face",category:"Travel & Places",aliases:["full_moon_with_face"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌞",description:"sun with face",category:"Travel & Places",aliases:["sun_with_face"],tags:["summer"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🪐",description:"ringed planet",category:"Travel & Places",aliases:["ringed_planet"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"⭐",description:"star",category:"Travel & Places",aliases:["star"],tags:[],unicode_version:"5.1",ios_version:"6.0"},{emoji:"🌟",description:"glowing star",category:"Travel & Places",aliases:["star2"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌠",description:"shooting star",category:"Travel & Places",aliases:["stars"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌌",description:"milky way",category:"Travel & Places",aliases:["milky_way"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"☁️",description:"cloud",category:"Travel & Places",aliases:["cloud"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"⛅",description:"sun behind cloud",category:"Travel & Places",aliases:["partly_sunny"],tags:["weather","cloud"],unicode_version:"5.2",ios_version:"6.0"},{emoji:"⛈️",description:"cloud with lightning and rain",category:"Travel & Places",aliases:["cloud_with_lightning_and_rain"],tags:[],unicode_version:"5.2",ios_version:"9.1"},{emoji:"🌤️",description:"sun behind small cloud",category:"Travel & Places",aliases:["sun_behind_small_cloud"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🌥️",description:"sun behind large cloud",category:"Travel & Places",aliases:["sun_behind_large_cloud"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🌦️",description:"sun behind rain cloud",category:"Travel & Places",aliases:["sun_behind_rain_cloud"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🌧️",description:"cloud with rain",category:"Travel & Places",aliases:["cloud_with_rain"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🌨️",description:"cloud with snow",category:"Travel & Places",aliases:["cloud_with_snow"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🌩️",description:"cloud with lightning",category:"Travel & Places",aliases:["cloud_with_lightning"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🌪️",description:"tornado",category:"Travel & Places",aliases:["tornado"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🌫️",description:"fog",category:"Travel & Places",aliases:["fog"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🌬️",description:"wind face",category:"Travel & Places",aliases:["wind_face"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🌀",description:"cyclone",category:"Travel & Places",aliases:["cyclone"],tags:["swirl"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌈",description:"rainbow",category:"Travel & Places",aliases:["rainbow"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌂",description:"closed umbrella",category:"Travel & Places",aliases:["closed_umbrella"],tags:["weather","rain"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"☂️",description:"umbrella",category:"Travel & Places",aliases:["open_umbrella"],tags:[],unicode_version:"",ios_version:"9.1"},{emoji:"☔",description:"umbrella with rain drops",category:"Travel & Places",aliases:["umbrella"],tags:["rain","weather"],unicode_version:"4.0",ios_version:"6.0"},{emoji:"⛱️",description:"umbrella on ground",category:"Travel & Places",aliases:["parasol_on_ground"],tags:["beach_umbrella"],unicode_version:"5.2",ios_version:"9.1"},{emoji:"⚡",description:"high voltage",category:"Travel & Places",aliases:["zap"],tags:["lightning","thunder"],unicode_version:"4.0",ios_version:"6.0"},{emoji:"❄️",description:"snowflake",category:"Travel & Places",aliases:["snowflake"],tags:["winter","cold","weather"],unicode_version:"",ios_version:"6.0"},{emoji:"☃️",description:"snowman",category:"Travel & Places",aliases:["snowman_with_snow"],tags:["winter","christmas"],unicode_version:"",ios_version:"9.1"},{emoji:"⛄",description:"snowman without snow",category:"Travel & Places",aliases:["snowman"],tags:["winter"],unicode_version:"5.2",ios_version:"6.0"},{emoji:"☄️",description:"comet",category:"Travel & Places",aliases:["comet"],tags:[],unicode_version:"",ios_version:"9.1"},{emoji:"🔥",description:"fire",category:"Travel & Places",aliases:["fire"],tags:["burn"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💧",description:"droplet",category:"Travel & Places",aliases:["droplet"],tags:["water"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌊",description:"water wave",category:"Travel & Places",aliases:["ocean"],tags:["sea"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎃",description:"jack-o-lantern",category:"Activities",aliases:["jack_o_lantern"],tags:["halloween"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎄",description:"Christmas tree",category:"Activities",aliases:["christmas_tree"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎆",description:"fireworks",category:"Activities",aliases:["fireworks"],tags:["festival","celebration"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎇",description:"sparkler",category:"Activities",aliases:["sparkler"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🧨",description:"firecracker",category:"Activities",aliases:["firecracker"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"✨",description:"sparkles",category:"Activities",aliases:["sparkles"],tags:["shiny"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎈",description:"balloon",category:"Activities",aliases:["balloon"],tags:["party","birthday"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎉",description:"party popper",category:"Activities",aliases:["tada"],tags:["hooray","party"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎊",description:"confetti ball",category:"Activities",aliases:["confetti_ball"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎋",description:"tanabata tree",category:"Activities",aliases:["tanabata_tree"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎍",description:"pine decoration",category:"Activities",aliases:["bamboo"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎎",description:"Japanese dolls",category:"Activities",aliases:["dolls"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎏",description:"carp streamer",category:"Activities",aliases:["flags"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎐",description:"wind chime",category:"Activities",aliases:["wind_chime"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎑",description:"moon viewing ceremony",category:"Activities",aliases:["rice_scene"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🧧",description:"red envelope",category:"Activities",aliases:["red_envelope"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🎀",description:"ribbon",category:"Activities",aliases:["ribbon"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎁",description:"wrapped gift",category:"Activities",aliases:["gift"],tags:["present","birthday","christmas"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎗️",description:"reminder ribbon",category:"Activities",aliases:["reminder_ribbon"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🎟️",description:"admission tickets",category:"Activities",aliases:["tickets"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🎫",description:"ticket",category:"Activities",aliases:["ticket"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎖️",description:"military medal",category:"Activities",aliases:["medal_military"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🏆",description:"trophy",category:"Activities",aliases:["trophy"],tags:["award","contest","winner"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏅",description:"sports medal",category:"Activities",aliases:["medal_sports"],tags:["gold","winner"],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🥇",description:"1st place medal",category:"Activities",aliases:["1st_place_medal"],tags:["gold"],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🥈",description:"2nd place medal",category:"Activities",aliases:["2nd_place_medal"],tags:["silver"],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🥉",description:"3rd place medal",category:"Activities",aliases:["3rd_place_medal"],tags:["bronze"],unicode_version:"9.0",ios_version:"10.2"},{emoji:"⚽",description:"soccer ball",category:"Activities",aliases:["soccer"],tags:["sports"],unicode_version:"5.2",ios_version:"6.0"},{emoji:"⚾",description:"baseball",category:"Activities",aliases:["baseball"],tags:["sports"],unicode_version:"5.2",ios_version:"6.0"},{emoji:"🥎",description:"softball",category:"Activities",aliases:["softball"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🏀",description:"basketball",category:"Activities",aliases:["basketball"],tags:["sports"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏐",description:"volleyball",category:"Activities",aliases:["volleyball"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🏈",description:"american football",category:"Activities",aliases:["football"],tags:["sports"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏉",description:"rugby football",category:"Activities",aliases:["rugby_football"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎾",description:"tennis",category:"Activities",aliases:["tennis"],tags:["sports"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🥏",description:"flying disc",category:"Activities",aliases:["flying_disc"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🎳",description:"bowling",category:"Activities",aliases:["bowling"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏏",description:"cricket game",category:"Activities",aliases:["cricket_game"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🏑",description:"field hockey",category:"Activities",aliases:["field_hockey"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🏒",description:"ice hockey",category:"Activities",aliases:["ice_hockey"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🥍",description:"lacrosse",category:"Activities",aliases:["lacrosse"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🏓",description:"ping pong",category:"Activities",aliases:["ping_pong"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🏸",description:"badminton",category:"Activities",aliases:["badminton"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🥊",description:"boxing glove",category:"Activities",aliases:["boxing_glove"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🥋",description:"martial arts uniform",category:"Activities",aliases:["martial_arts_uniform"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🥅",description:"goal net",category:"Activities",aliases:["goal_net"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"⛳",description:"flag in hole",category:"Activities",aliases:["golf"],tags:[],unicode_version:"5.2",ios_version:"6.0"},{emoji:"⛸️",description:"ice skate",category:"Activities",aliases:["ice_skate"],tags:["skating"],unicode_version:"5.2",ios_version:"9.1"},{emoji:"🎣",description:"fishing pole",category:"Activities",aliases:["fishing_pole_and_fish"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🤿",description:"diving mask",category:"Activities",aliases:["diving_mask"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🎽",description:"running shirt",category:"Activities",aliases:["running_shirt_with_sash"],tags:["marathon"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎿",description:"skis",category:"Activities",aliases:["ski"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🛷",description:"sled",category:"Activities",aliases:["sled"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🥌",description:"curling stone",category:"Activities",aliases:["curling_stone"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🎯",description:"bullseye",category:"Activities",aliases:["dart"],tags:["target"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🪀",description:"yo-yo",category:"Activities",aliases:["yo_yo"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🪁",description:"kite",category:"Activities",aliases:["kite"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🎱",description:"pool 8 ball",category:"Activities",aliases:["8ball"],tags:["pool","billiards"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔮",description:"crystal ball",category:"Activities",aliases:["crystal_ball"],tags:["fortune"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🪄",description:"magic wand",category:"Activities",aliases:["magic_wand"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🧿",description:"nazar amulet",category:"Activities",aliases:["nazar_amulet"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🎮",description:"video game",category:"Activities",aliases:["video_game"],tags:["play","controller","console"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕹️",description:"joystick",category:"Activities",aliases:["joystick"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🎰",description:"slot machine",category:"Activities",aliases:["slot_machine"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎲",description:"game die",category:"Activities",aliases:["game_die"],tags:["dice","gambling"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🧩",description:"puzzle piece",category:"Activities",aliases:["jigsaw"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧸",description:"teddy bear",category:"Activities",aliases:["teddy_bear"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🪅",description:"piñata",category:"Activities",aliases:["pinata"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🪆",description:"nesting dolls",category:"Activities",aliases:["nesting_dolls"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"♠️",description:"spade suit",category:"Activities",aliases:["spades"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"♥️",description:"heart suit",category:"Activities",aliases:["hearts"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"♦️",description:"diamond suit",category:"Activities",aliases:["diamonds"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"♣️",description:"club suit",category:"Activities",aliases:["clubs"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"♟️",description:"chess pawn",category:"Activities",aliases:["chess_pawn"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🃏",description:"joker",category:"Activities",aliases:["black_joker"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🀄",description:"mahjong red dragon",category:"Activities",aliases:["mahjong"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"🎴",description:"flower playing cards",category:"Activities",aliases:["flower_playing_cards"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎭",description:"performing arts",category:"Activities",aliases:["performing_arts"],tags:["theater","drama"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🖼️",description:"framed picture",category:"Activities",aliases:["framed_picture"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🎨",description:"artist palette",category:"Activities",aliases:["art"],tags:["design","paint"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🧵",description:"thread",category:"Activities",aliases:["thread"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🪡",description:"sewing needle",category:"Activities",aliases:["sewing_needle"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🧶",description:"yarn",category:"Activities",aliases:["yarn"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🪢",description:"knot",category:"Activities",aliases:["knot"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"👓",description:"glasses",category:"Objects",aliases:["eyeglasses"],tags:["glasses"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕶️",description:"sunglasses",category:"Objects",aliases:["dark_sunglasses"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🥽",description:"goggles",category:"Objects",aliases:["goggles"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🥼",description:"lab coat",category:"Objects",aliases:["lab_coat"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🦺",description:"safety vest",category:"Objects",aliases:["safety_vest"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"👔",description:"necktie",category:"Objects",aliases:["necktie"],tags:["shirt","formal"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👕",description:"t-shirt",category:"Objects",aliases:["shirt","tshirt"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👖",description:"jeans",category:"Objects",aliases:["jeans"],tags:["pants"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🧣",description:"scarf",category:"Objects",aliases:["scarf"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧤",description:"gloves",category:"Objects",aliases:["gloves"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧥",description:"coat",category:"Objects",aliases:["coat"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧦",description:"socks",category:"Objects",aliases:["socks"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"👗",description:"dress",category:"Objects",aliases:["dress"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👘",description:"kimono",category:"Objects",aliases:["kimono"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🥻",description:"sari",category:"Objects",aliases:["sari"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🩱",description:"one-piece swimsuit",category:"Objects",aliases:["one_piece_swimsuit"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🩲",description:"briefs",category:"Objects",aliases:["swim_brief"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🩳",description:"shorts",category:"Objects",aliases:["shorts"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"👙",description:"bikini",category:"Objects",aliases:["bikini"],tags:["beach"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👚",description:"woman’s clothes",category:"Objects",aliases:["womans_clothes"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👛",description:"purse",category:"Objects",aliases:["purse"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👜",description:"handbag",category:"Objects",aliases:["handbag"],tags:["bag"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👝",description:"clutch bag",category:"Objects",aliases:["pouch"],tags:["bag"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🛍️",description:"shopping bags",category:"Objects",aliases:["shopping"],tags:["bags"],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🎒",description:"backpack",category:"Objects",aliases:["school_satchel"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🩴",description:"thong sandal",category:"Objects",aliases:["thong_sandal"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"👞",description:"man’s shoe",category:"Objects",aliases:["mans_shoe","shoe"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👟",description:"running shoe",category:"Objects",aliases:["athletic_shoe"],tags:["sneaker","sport","running"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🥾",description:"hiking boot",category:"Objects",aliases:["hiking_boot"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🥿",description:"flat shoe",category:"Objects",aliases:["flat_shoe"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"👠",description:"high-heeled shoe",category:"Objects",aliases:["high_heel"],tags:["shoe"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👡",description:"woman’s sandal",category:"Objects",aliases:["sandal"],tags:["shoe"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🩰",description:"ballet shoes",category:"Objects",aliases:["ballet_shoes"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"👢",description:"woman’s boot",category:"Objects",aliases:["boot"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👑",description:"crown",category:"Objects",aliases:["crown"],tags:["king","queen","royal"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👒",description:"woman’s hat",category:"Objects",aliases:["womans_hat"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎩",description:"top hat",category:"Objects",aliases:["tophat"],tags:["hat","classy"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎓",description:"graduation cap",category:"Objects",aliases:["mortar_board"],tags:["education","college","university","graduation"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🧢",description:"billed cap",category:"Objects",aliases:["billed_cap"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🪖",description:"military helmet",category:"Objects",aliases:["military_helmet"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"⛑️",description:"rescue worker’s helmet",category:"Objects",aliases:["rescue_worker_helmet"],tags:[],unicode_version:"5.2",ios_version:"9.1"},{emoji:"📿",description:"prayer beads",category:"Objects",aliases:["prayer_beads"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"💄",description:"lipstick",category:"Objects",aliases:["lipstick"],tags:["makeup"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💍",description:"ring",category:"Objects",aliases:["ring"],tags:["wedding","marriage","engaged"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💎",description:"gem stone",category:"Objects",aliases:["gem"],tags:["diamond"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔇",description:"muted speaker",category:"Objects",aliases:["mute"],tags:["sound","volume"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔈",description:"speaker low volume",category:"Objects",aliases:["speaker"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔉",description:"speaker medium volume",category:"Objects",aliases:["sound"],tags:["volume"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔊",description:"speaker high volume",category:"Objects",aliases:["loud_sound"],tags:["volume"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📢",description:"loudspeaker",category:"Objects",aliases:["loudspeaker"],tags:["announcement"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📣",description:"megaphone",category:"Objects",aliases:["mega"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📯",description:"postal horn",category:"Objects",aliases:["postal_horn"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔔",description:"bell",category:"Objects",aliases:["bell"],tags:["sound","notification"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔕",description:"bell with slash",category:"Objects",aliases:["no_bell"],tags:["volume","off"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎼",description:"musical score",category:"Objects",aliases:["musical_score"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎵",description:"musical note",category:"Objects",aliases:["musical_note"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎶",description:"musical notes",category:"Objects",aliases:["notes"],tags:["music"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎙️",description:"studio microphone",category:"Objects",aliases:["studio_microphone"],tags:["podcast"],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🎚️",description:"level slider",category:"Objects",aliases:["level_slider"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🎛️",description:"control knobs",category:"Objects",aliases:["control_knobs"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🎤",description:"microphone",category:"Objects",aliases:["microphone"],tags:["sing"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎧",description:"headphone",category:"Objects",aliases:["headphones"],tags:["music","earphones"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📻",description:"radio",category:"Objects",aliases:["radio"],tags:["podcast"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎷",description:"saxophone",category:"Objects",aliases:["saxophone"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🪗",description:"accordion",category:"Objects",aliases:["accordion"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🎸",description:"guitar",category:"Objects",aliases:["guitar"],tags:["rock"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎹",description:"musical keyboard",category:"Objects",aliases:["musical_keyboard"],tags:["piano"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎺",description:"trumpet",category:"Objects",aliases:["trumpet"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎻",description:"violin",category:"Objects",aliases:["violin"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🪕",description:"banjo",category:"Objects",aliases:["banjo"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🥁",description:"drum",category:"Objects",aliases:["drum"],tags:[],unicode_version:"",ios_version:"10.2"},{emoji:"🪘",description:"long drum",category:"Objects",aliases:["long_drum"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"📱",description:"mobile phone",category:"Objects",aliases:["iphone"],tags:["smartphone","mobile"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📲",description:"mobile phone with arrow",category:"Objects",aliases:["calling"],tags:["call","incoming"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"☎️",description:"telephone",category:"Objects",aliases:["phone","telephone"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"📞",description:"telephone receiver",category:"Objects",aliases:["telephone_receiver"],tags:["phone","call"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📟",description:"pager",category:"Objects",aliases:["pager"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📠",description:"fax machine",category:"Objects",aliases:["fax"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔋",description:"battery",category:"Objects",aliases:["battery"],tags:["power"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔌",description:"electric plug",category:"Objects",aliases:["electric_plug"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💻",description:"laptop",category:"Objects",aliases:["computer"],tags:["desktop","screen"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🖥️",description:"desktop computer",category:"Objects",aliases:["desktop_computer"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🖨️",description:"printer",category:"Objects",aliases:["printer"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"⌨️",description:"keyboard",category:"Objects",aliases:["keyboard"],tags:[],unicode_version:"",ios_version:"9.1"},{emoji:"🖱️",description:"computer mouse",category:"Objects",aliases:["computer_mouse"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🖲️",description:"trackball",category:"Objects",aliases:["trackball"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"💽",description:"computer disk",category:"Objects",aliases:["minidisc"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💾",description:"floppy disk",category:"Objects",aliases:["floppy_disk"],tags:["save"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💿",description:"optical disk",category:"Objects",aliases:["cd"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📀",description:"dvd",category:"Objects",aliases:["dvd"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🧮",description:"abacus",category:"Objects",aliases:["abacus"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🎥",description:"movie camera",category:"Objects",aliases:["movie_camera"],tags:["film","video"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎞️",description:"film frames",category:"Objects",aliases:["film_strip"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"📽️",description:"film projector",category:"Objects",aliases:["film_projector"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🎬",description:"clapper board",category:"Objects",aliases:["clapper"],tags:["film"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📺",description:"television",category:"Objects",aliases:["tv"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📷",description:"camera",category:"Objects",aliases:["camera"],tags:["photo"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📸",description:"camera with flash",category:"Objects",aliases:["camera_flash"],tags:["photo"],unicode_version:"7.0",ios_version:"9.1"},{emoji:"📹",description:"video camera",category:"Objects",aliases:["video_camera"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📼",description:"videocassette",category:"Objects",aliases:["vhs"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔍",description:"magnifying glass tilted left",category:"Objects",aliases:["mag"],tags:["search","zoom"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔎",description:"magnifying glass tilted right",category:"Objects",aliases:["mag_right"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕯️",description:"candle",category:"Objects",aliases:["candle"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"💡",description:"light bulb",category:"Objects",aliases:["bulb"],tags:["idea","light"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔦",description:"flashlight",category:"Objects",aliases:["flashlight"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏮",description:"red paper lantern",category:"Objects",aliases:["izakaya_lantern","lantern"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🪔",description:"diya lamp",category:"Objects",aliases:["diya_lamp"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"📔",description:"notebook with decorative cover",category:"Objects",aliases:["notebook_with_decorative_cover"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📕",description:"closed book",category:"Objects",aliases:["closed_book"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📖",description:"open book",category:"Objects",aliases:["book","open_book"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📗",description:"green book",category:"Objects",aliases:["green_book"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📘",description:"blue book",category:"Objects",aliases:["blue_book"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📙",description:"orange book",category:"Objects",aliases:["orange_book"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📚",description:"books",category:"Objects",aliases:["books"],tags:["library"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📓",description:"notebook",category:"Objects",aliases:["notebook"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📒",description:"ledger",category:"Objects",aliases:["ledger"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📃",description:"page with curl",category:"Objects",aliases:["page_with_curl"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📜",description:"scroll",category:"Objects",aliases:["scroll"],tags:["document"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📄",description:"page facing up",category:"Objects",aliases:["page_facing_up"],tags:["document"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📰",description:"newspaper",category:"Objects",aliases:["newspaper"],tags:["press"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🗞️",description:"rolled-up newspaper",category:"Objects",aliases:["newspaper_roll"],tags:["press"],unicode_version:"7.0",ios_version:"9.1"},{emoji:"📑",description:"bookmark tabs",category:"Objects",aliases:["bookmark_tabs"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔖",description:"bookmark",category:"Objects",aliases:["bookmark"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏷️",description:"label",category:"Objects",aliases:["label"],tags:["tag"],unicode_version:"7.0",ios_version:"9.1"},{emoji:"💰",description:"money bag",category:"Objects",aliases:["moneybag"],tags:["dollar","cream"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🪙",description:"coin",category:"Objects",aliases:["coin"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"💴",description:"yen banknote",category:"Objects",aliases:["yen"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💵",description:"dollar banknote",category:"Objects",aliases:["dollar"],tags:["money"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💶",description:"euro banknote",category:"Objects",aliases:["euro"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💷",description:"pound banknote",category:"Objects",aliases:["pound"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💸",description:"money with wings",category:"Objects",aliases:["money_with_wings"],tags:["dollar"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💳",description:"credit card",category:"Objects",aliases:["credit_card"],tags:["subscription"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🧾",description:"receipt",category:"Objects",aliases:["receipt"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"💹",description:"chart increasing with yen",category:"Objects",aliases:["chart"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"✉️",description:"envelope",category:"Objects",aliases:["envelope"],tags:["letter","email"],unicode_version:"",ios_version:"6.0"},{emoji:"📧",description:"e-mail",category:"Objects",aliases:["email","e-mail"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📨",description:"incoming envelope",category:"Objects",aliases:["incoming_envelope"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📩",description:"envelope with arrow",category:"Objects",aliases:["envelope_with_arrow"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📤",description:"outbox tray",category:"Objects",aliases:["outbox_tray"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📥",description:"inbox tray",category:"Objects",aliases:["inbox_tray"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📦",description:"package",category:"Objects",aliases:["package"],tags:["shipping"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📫",description:"closed mailbox with raised flag",category:"Objects",aliases:["mailbox"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📪",description:"closed mailbox with lowered flag",category:"Objects",aliases:["mailbox_closed"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📬",description:"open mailbox with raised flag",category:"Objects",aliases:["mailbox_with_mail"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📭",description:"open mailbox with lowered flag",category:"Objects",aliases:["mailbox_with_no_mail"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📮",description:"postbox",category:"Objects",aliases:["postbox"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🗳️",description:"ballot box with ballot",category:"Objects",aliases:["ballot_box"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"✏️",description:"pencil",category:"Objects",aliases:["pencil2"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"✒️",description:"black nib",category:"Objects",aliases:["black_nib"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"🖋️",description:"fountain pen",category:"Objects",aliases:["fountain_pen"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🖊️",description:"pen",category:"Objects",aliases:["pen"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🖌️",description:"paintbrush",category:"Objects",aliases:["paintbrush"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🖍️",description:"crayon",category:"Objects",aliases:["crayon"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"📝",description:"memo",category:"Objects",aliases:["memo","pencil"],tags:["document","note"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💼",description:"briefcase",category:"Objects",aliases:["briefcase"],tags:["business"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📁",description:"file folder",category:"Objects",aliases:["file_folder"],tags:["directory"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📂",description:"open file folder",category:"Objects",aliases:["open_file_folder"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🗂️",description:"card index dividers",category:"Objects",aliases:["card_index_dividers"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"📅",description:"calendar",category:"Objects",aliases:["date"],tags:["calendar","schedule"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📆",description:"tear-off calendar",category:"Objects",aliases:["calendar"],tags:["schedule"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🗒️",description:"spiral notepad",category:"Objects",aliases:["spiral_notepad"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🗓️",description:"spiral calendar",category:"Objects",aliases:["spiral_calendar"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"📇",description:"card index",category:"Objects",aliases:["card_index"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📈",description:"chart increasing",category:"Objects",aliases:["chart_with_upwards_trend"],tags:["graph","metrics"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📉",description:"chart decreasing",category:"Objects",aliases:["chart_with_downwards_trend"],tags:["graph","metrics"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📊",description:"bar chart",category:"Objects",aliases:["bar_chart"],tags:["stats","metrics"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📋",description:"clipboard",category:"Objects",aliases:["clipboard"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📌",description:"pushpin",category:"Objects",aliases:["pushpin"],tags:["location"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📍",description:"round pushpin",category:"Objects",aliases:["round_pushpin"],tags:["location"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📎",description:"paperclip",category:"Objects",aliases:["paperclip"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🖇️",description:"linked paperclips",category:"Objects",aliases:["paperclips"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"📏",description:"straight ruler",category:"Objects",aliases:["straight_ruler"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📐",description:"triangular ruler",category:"Objects",aliases:["triangular_ruler"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"✂️",description:"scissors",category:"Objects",aliases:["scissors"],tags:["cut"],unicode_version:"",ios_version:"6.0"},{emoji:"🗃️",description:"card file box",category:"Objects",aliases:["card_file_box"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🗄️",description:"file cabinet",category:"Objects",aliases:["file_cabinet"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🗑️",description:"wastebasket",category:"Objects",aliases:["wastebasket"],tags:["trash"],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🔒",description:"locked",category:"Objects",aliases:["lock"],tags:["security","private"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔓",description:"unlocked",category:"Objects",aliases:["unlock"],tags:["security"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔏",description:"locked with pen",category:"Objects",aliases:["lock_with_ink_pen"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔐",description:"locked with key",category:"Objects",aliases:["closed_lock_with_key"],tags:["security"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔑",description:"key",category:"Objects",aliases:["key"],tags:["lock","password"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🗝️",description:"old key",category:"Objects",aliases:["old_key"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🔨",description:"hammer",category:"Objects",aliases:["hammer"],tags:["tool"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🪓",description:"axe",category:"Objects",aliases:["axe"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"⛏️",description:"pick",category:"Objects",aliases:["pick"],tags:[],unicode_version:"5.2",ios_version:"9.1"},{emoji:"⚒️",description:"hammer and pick",category:"Objects",aliases:["hammer_and_pick"],tags:[],unicode_version:"4.1",ios_version:"9.1"},{emoji:"🛠️",description:"hammer and wrench",category:"Objects",aliases:["hammer_and_wrench"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🗡️",description:"dagger",category:"Objects",aliases:["dagger"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"⚔️",description:"crossed swords",category:"Objects",aliases:["crossed_swords"],tags:[],unicode_version:"4.1",ios_version:"9.1"},{emoji:"🔫",description:"water pistol",category:"Objects",aliases:["gun"],tags:["shoot","weapon"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🪃",description:"boomerang",category:"Objects",aliases:["boomerang"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🏹",description:"bow and arrow",category:"Objects",aliases:["bow_and_arrow"],tags:["archery"],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🛡️",description:"shield",category:"Objects",aliases:["shield"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🪚",description:"carpentry saw",category:"Objects",aliases:["carpentry_saw"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🔧",description:"wrench",category:"Objects",aliases:["wrench"],tags:["tool"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🪛",description:"screwdriver",category:"Objects",aliases:["screwdriver"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🔩",description:"nut and bolt",category:"Objects",aliases:["nut_and_bolt"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"⚙️",description:"gear",category:"Objects",aliases:["gear"],tags:[],unicode_version:"4.1",ios_version:"9.1"},{emoji:"🗜️",description:"clamp",category:"Objects",aliases:["clamp"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"⚖️",description:"balance scale",category:"Objects",aliases:["balance_scale"],tags:[],unicode_version:"4.1",ios_version:"9.1"},{emoji:"🦯",description:"white cane",category:"Objects",aliases:["probing_cane"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🔗",description:"link",category:"Objects",aliases:["link"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"⛓️",description:"chains",category:"Objects",aliases:["chains"],tags:[],unicode_version:"5.2",ios_version:"9.1"},{emoji:"🪝",description:"hook",category:"Objects",aliases:["hook"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🧰",description:"toolbox",category:"Objects",aliases:["toolbox"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧲",description:"magnet",category:"Objects",aliases:["magnet"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🪜",description:"ladder",category:"Objects",aliases:["ladder"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"⚗️",description:"alembic",category:"Objects",aliases:["alembic"],tags:[],unicode_version:"4.1",ios_version:"9.1"},{emoji:"🧪",description:"test tube",category:"Objects",aliases:["test_tube"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧫",description:"petri dish",category:"Objects",aliases:["petri_dish"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧬",description:"dna",category:"Objects",aliases:["dna"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🔬",description:"microscope",category:"Objects",aliases:["microscope"],tags:["science","laboratory","investigate"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔭",description:"telescope",category:"Objects",aliases:["telescope"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📡",description:"satellite antenna",category:"Objects",aliases:["satellite"],tags:["signal"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💉",description:"syringe",category:"Objects",aliases:["syringe"],tags:["health","hospital","needle"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🩸",description:"drop of blood",category:"Objects",aliases:["drop_of_blood"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"💊",description:"pill",category:"Objects",aliases:["pill"],tags:["health","medicine"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🩹",description:"adhesive bandage",category:"Objects",aliases:["adhesive_bandage"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🩺",description:"stethoscope",category:"Objects",aliases:["stethoscope"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🚪",description:"door",category:"Objects",aliases:["door"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🛗",description:"elevator",category:"Objects",aliases:["elevator"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🪞",description:"mirror",category:"Objects",aliases:["mirror"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🪟",description:"window",category:"Objects",aliases:["window"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🛏️",description:"bed",category:"Objects",aliases:["bed"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🛋️",description:"couch and lamp",category:"Objects",aliases:["couch_and_lamp"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🪑",description:"chair",category:"Objects",aliases:["chair"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🚽",description:"toilet",category:"Objects",aliases:["toilet"],tags:["wc"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🪠",description:"plunger",category:"Objects",aliases:["plunger"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🚿",description:"shower",category:"Objects",aliases:["shower"],tags:["bath"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🛁",description:"bathtub",category:"Objects",aliases:["bathtub"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🪤",description:"mouse trap",category:"Objects",aliases:["mouse_trap"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🪒",description:"razor",category:"Objects",aliases:["razor"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🧴",description:"lotion bottle",category:"Objects",aliases:["lotion_bottle"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧷",description:"safety pin",category:"Objects",aliases:["safety_pin"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧹",description:"broom",category:"Objects",aliases:["broom"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧺",description:"basket",category:"Objects",aliases:["basket"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧻",description:"roll of paper",category:"Objects",aliases:["roll_of_paper"],tags:["toilet"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🪣",description:"bucket",category:"Objects",aliases:["bucket"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🧼",description:"soap",category:"Objects",aliases:["soap"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🪥",description:"toothbrush",category:"Objects",aliases:["toothbrush"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🧽",description:"sponge",category:"Objects",aliases:["sponge"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧯",description:"fire extinguisher",category:"Objects",aliases:["fire_extinguisher"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🛒",description:"shopping cart",category:"Objects",aliases:["shopping_cart"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🚬",description:"cigarette",category:"Objects",aliases:["smoking"],tags:["cigarette"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"⚰️",description:"coffin",category:"Objects",aliases:["coffin"],tags:["funeral"],unicode_version:"4.1",ios_version:"9.1"},{emoji:"🪦",description:"headstone",category:"Objects",aliases:["headstone"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"⚱️",description:"funeral urn",category:"Objects",aliases:["funeral_urn"],tags:[],unicode_version:"4.1",ios_version:"9.1"},{emoji:"🗿",description:"moai",category:"Objects",aliases:["moyai"],tags:["stone"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🪧",description:"placard",category:"Objects",aliases:["placard"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🏧",description:"ATM sign",category:"Symbols",aliases:["atm"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚮",description:"litter in bin sign",category:"Symbols",aliases:["put_litter_in_its_place"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚰",description:"potable water",category:"Symbols",aliases:["potable_water"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"♿",description:"wheelchair symbol",category:"Symbols",aliases:["wheelchair"],tags:["accessibility"],unicode_version:"4.1",ios_version:"6.0"},{emoji:"🚹",description:"men’s room",category:"Symbols",aliases:["mens"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚺",description:"women’s room",category:"Symbols",aliases:["womens"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚻",description:"restroom",category:"Symbols",aliases:["restroom"],tags:["toilet"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚼",description:"baby symbol",category:"Symbols",aliases:["baby_symbol"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚾",description:"water closet",category:"Symbols",aliases:["wc"],tags:["toilet","restroom"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🛂",description:"passport control",category:"Symbols",aliases:["passport_control"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🛃",description:"customs",category:"Symbols",aliases:["customs"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🛄",description:"baggage claim",category:"Symbols",aliases:["baggage_claim"],tags:["airport"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🛅",description:"left luggage",category:"Symbols",aliases:["left_luggage"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"⚠️",description:"warning",category:"Symbols",aliases:["warning"],tags:["wip"],unicode_version:"4.0",ios_version:"6.0"},{emoji:"🚸",description:"children crossing",category:"Symbols",aliases:["children_crossing"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"⛔",description:"no entry",category:"Symbols",aliases:["no_entry"],tags:["limit"],unicode_version:"5.2",ios_version:"6.0"},{emoji:"🚫",description:"prohibited",category:"Symbols",aliases:["no_entry_sign"],tags:["block","forbidden"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚳",description:"no bicycles",category:"Symbols",aliases:["no_bicycles"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚭",description:"no smoking",category:"Symbols",aliases:["no_smoking"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚯",description:"no littering",category:"Symbols",aliases:["do_not_litter"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚱",description:"non-potable water",category:"Symbols",aliases:["non-potable_water"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚷",description:"no pedestrians",category:"Symbols",aliases:["no_pedestrians"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📵",description:"no mobile phones",category:"Symbols",aliases:["no_mobile_phones"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔞",description:"no one under eighteen",category:"Symbols",aliases:["underage"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"☢️",description:"radioactive",category:"Symbols",aliases:["radioactive"],tags:[],unicode_version:"",ios_version:"9.1"},{emoji:"☣️",description:"biohazard",category:"Symbols",aliases:["biohazard"],tags:[],unicode_version:"",ios_version:"9.1"},{emoji:"⬆️",description:"up arrow",category:"Symbols",aliases:["arrow_up"],tags:[],unicode_version:"4.0",ios_version:"6.0"},{emoji:"↗️",description:"up-right arrow",category:"Symbols",aliases:["arrow_upper_right"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"➡️",description:"right arrow",category:"Symbols",aliases:["arrow_right"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"↘️",description:"down-right arrow",category:"Symbols",aliases:["arrow_lower_right"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"⬇️",description:"down arrow",category:"Symbols",aliases:["arrow_down"],tags:[],unicode_version:"4.0",ios_version:"6.0"},{emoji:"↙️",description:"down-left arrow",category:"Symbols",aliases:["arrow_lower_left"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"⬅️",description:"left arrow",category:"Symbols",aliases:["arrow_left"],tags:[],unicode_version:"4.0",ios_version:"6.0"},{emoji:"↖️",description:"up-left arrow",category:"Symbols",aliases:["arrow_upper_left"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"↕️",description:"up-down arrow",category:"Symbols",aliases:["arrow_up_down"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"↔️",description:"left-right arrow",category:"Symbols",aliases:["left_right_arrow"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"↩️",description:"right arrow curving left",category:"Symbols",aliases:["leftwards_arrow_with_hook"],tags:["return"],unicode_version:"",ios_version:"6.0"},{emoji:"↪️",description:"left arrow curving right",category:"Symbols",aliases:["arrow_right_hook"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"⤴️",description:"right arrow curving up",category:"Symbols",aliases:["arrow_heading_up"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"⤵️",description:"right arrow curving down",category:"Symbols",aliases:["arrow_heading_down"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"🔃",description:"clockwise vertical arrows",category:"Symbols",aliases:["arrows_clockwise"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔄",description:"counterclockwise arrows button",category:"Symbols",aliases:["arrows_counterclockwise"],tags:["sync"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔙",description:"BACK arrow",category:"Symbols",aliases:["back"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔚",description:"END arrow",category:"Symbols",aliases:["end"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔛",description:"ON! arrow",category:"Symbols",aliases:["on"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔜",description:"SOON arrow",category:"Symbols",aliases:["soon"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔝",description:"TOP arrow",category:"Symbols",aliases:["top"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🛐",description:"place of worship",category:"Symbols",aliases:["place_of_worship"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"⚛️",description:"atom symbol",category:"Symbols",aliases:["atom_symbol"],tags:[],unicode_version:"4.1",ios_version:"9.1"},{emoji:"🕉️",description:"om",category:"Symbols",aliases:["om"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"✡️",description:"star of David",category:"Symbols",aliases:["star_of_david"],tags:[],unicode_version:"",ios_version:"9.1"},{emoji:"☸️",description:"wheel of dharma",category:"Symbols",aliases:["wheel_of_dharma"],tags:[],unicode_version:"",ios_version:"9.1"},{emoji:"☯️",description:"yin yang",category:"Symbols",aliases:["yin_yang"],tags:[],unicode_version:"",ios_version:"9.1"},{emoji:"✝️",description:"latin cross",category:"Symbols",aliases:["latin_cross"],tags:[],unicode_version:"",ios_version:"9.1"},{emoji:"☦️",description:"orthodox cross",category:"Symbols",aliases:["orthodox_cross"],tags:[],unicode_version:"",ios_version:"9.1"},{emoji:"☪️",description:"star and crescent",category:"Symbols",aliases:["star_and_crescent"],tags:[],unicode_version:"",ios_version:"9.1"},{emoji:"☮️",description:"peace symbol",category:"Symbols",aliases:["peace_symbol"],tags:[],unicode_version:"",ios_version:"9.1"},{emoji:"🕎",description:"menorah",category:"Symbols",aliases:["menorah"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🔯",description:"dotted six-pointed star",category:"Symbols",aliases:["six_pointed_star"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"♈",description:"Aries",category:"Symbols",aliases:["aries"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"♉",description:"Taurus",category:"Symbols",aliases:["taurus"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"♊",description:"Gemini",category:"Symbols",aliases:["gemini"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"♋",description:"Cancer",category:"Symbols",aliases:["cancer"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"♌",description:"Leo",category:"Symbols",aliases:["leo"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"♍",description:"Virgo",category:"Symbols",aliases:["virgo"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"♎",description:"Libra",category:"Symbols",aliases:["libra"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"♏",description:"Scorpio",category:"Symbols",aliases:["scorpius"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"♐",description:"Sagittarius",category:"Symbols",aliases:["sagittarius"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"♑",description:"Capricorn",category:"Symbols",aliases:["capricorn"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"♒",description:"Aquarius",category:"Symbols",aliases:["aquarius"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"♓",description:"Pisces",category:"Symbols",aliases:["pisces"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"⛎",description:"Ophiuchus",category:"Symbols",aliases:["ophiuchus"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔀",description:"shuffle tracks button",category:"Symbols",aliases:["twisted_rightwards_arrows"],tags:["shuffle"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔁",description:"repeat button",category:"Symbols",aliases:["repeat"],tags:["loop"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔂",description:"repeat single button",category:"Symbols",aliases:["repeat_one"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"▶️",description:"play button",category:"Symbols",aliases:["arrow_forward"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"⏩",description:"fast-forward button",category:"Symbols",aliases:["fast_forward"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"⏭️",description:"next track button",category:"Symbols",aliases:["next_track_button"],tags:[],unicode_version:"6.0",ios_version:"9.1"},{emoji:"⏯️",description:"play or pause button",category:"Symbols",aliases:["play_or_pause_button"],tags:[],unicode_version:"6.0",ios_version:"9.1"},{emoji:"◀️",description:"reverse button",category:"Symbols",aliases:["arrow_backward"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"⏪",description:"fast reverse button",category:"Symbols",aliases:["rewind"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"⏮️",description:"last track button",category:"Symbols",aliases:["previous_track_button"],tags:[],unicode_version:"6.0",ios_version:"9.1"},{emoji:"🔼",description:"upwards button",category:"Symbols",aliases:["arrow_up_small"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"⏫",description:"fast up button",category:"Symbols",aliases:["arrow_double_up"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔽",description:"downwards button",category:"Symbols",aliases:["arrow_down_small"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"⏬",description:"fast down button",category:"Symbols",aliases:["arrow_double_down"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"⏸️",description:"pause button",category:"Symbols",aliases:["pause_button"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"⏹️",description:"stop button",category:"Symbols",aliases:["stop_button"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"⏺️",description:"record button",category:"Symbols",aliases:["record_button"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"⏏️",description:"eject button",category:"Symbols",aliases:["eject_button"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🎦",description:"cinema",category:"Symbols",aliases:["cinema"],tags:["film","movie"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔅",description:"dim button",category:"Symbols",aliases:["low_brightness"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔆",description:"bright button",category:"Symbols",aliases:["high_brightness"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📶",description:"antenna bars",category:"Symbols",aliases:["signal_strength"],tags:["wifi"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📳",description:"vibration mode",category:"Symbols",aliases:["vibration_mode"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📴",description:"mobile phone off",category:"Symbols",aliases:["mobile_phone_off"],tags:["mute","off"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"♀️",description:"female sign",category:"Symbols",aliases:["female_sign"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"♂️",description:"male sign",category:"Symbols",aliases:["male_sign"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"⚧️",description:"transgender symbol",category:"Symbols",aliases:["transgender_symbol"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"✖️",description:"multiply",category:"Symbols",aliases:["heavy_multiplication_x"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"➕",description:"plus",category:"Symbols",aliases:["heavy_plus_sign"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"➖",description:"minus",category:"Symbols",aliases:["heavy_minus_sign"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"➗",description:"divide",category:"Symbols",aliases:["heavy_division_sign"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"♾️",description:"infinity",category:"Symbols",aliases:["infinity"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"‼️",description:"double exclamation mark",category:"Symbols",aliases:["bangbang"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"⁉️",description:"exclamation question mark",category:"Symbols",aliases:["interrobang"],tags:[],unicode_version:"3.0",ios_version:"6.0"},{emoji:"❓",description:"red question mark",category:"Symbols",aliases:["question"],tags:["confused"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"❔",description:"white question mark",category:"Symbols",aliases:["grey_question"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"❕",description:"white exclamation mark",category:"Symbols",aliases:["grey_exclamation"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"❗",description:"red exclamation mark",category:"Symbols",aliases:["exclamation","heavy_exclamation_mark"],tags:["bang"],unicode_version:"5.2",ios_version:"6.0"},{emoji:"〰️",description:"wavy dash",category:"Symbols",aliases:["wavy_dash"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"💱",description:"currency exchange",category:"Symbols",aliases:["currency_exchange"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💲",description:"heavy dollar sign",category:"Symbols",aliases:["heavy_dollar_sign"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"⚕️",description:"medical symbol",category:"Symbols",aliases:["medical_symbol"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"♻️",description:"recycling symbol",category:"Symbols",aliases:["recycle"],tags:["environment","green"],unicode_version:"3.2",ios_version:"6.0"},{emoji:"⚜️",description:"fleur-de-lis",category:"Symbols",aliases:["fleur_de_lis"],tags:[],unicode_version:"4.1",ios_version:"9.1"},{emoji:"🔱",description:"trident emblem",category:"Symbols",aliases:["trident"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📛",description:"name badge",category:"Symbols",aliases:["name_badge"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔰",description:"Japanese symbol for beginner",category:"Symbols",aliases:["beginner"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"⭕",description:"hollow red circle",category:"Symbols",aliases:["o"],tags:[],unicode_version:"5.2",ios_version:"6.0"},{emoji:"✅",description:"check mark button",category:"Symbols",aliases:["white_check_mark"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"☑️",description:"check box with check",category:"Symbols",aliases:["ballot_box_with_check"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"✔️",description:"check mark",category:"Symbols",aliases:["heavy_check_mark"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"❌",description:"cross mark",category:"Symbols",aliases:["x"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"❎",description:"cross mark button",category:"Symbols",aliases:["negative_squared_cross_mark"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"➰",description:"curly loop",category:"Symbols",aliases:["curly_loop"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"➿",description:"double curly loop",category:"Symbols",aliases:["loop"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"〽️",description:"part alternation mark",category:"Symbols",aliases:["part_alternation_mark"],tags:[],unicode_version:"3.2",ios_version:"6.0"},{emoji:"✳️",description:"eight-spoked asterisk",category:"Symbols",aliases:["eight_spoked_asterisk"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"✴️",description:"eight-pointed star",category:"Symbols",aliases:["eight_pointed_black_star"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"❇️",description:"sparkle",category:"Symbols",aliases:["sparkle"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"©️",description:"copyright",category:"Symbols",aliases:["copyright"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"®️",description:"registered",category:"Symbols",aliases:["registered"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"™️",description:"trade mark",category:"Symbols",aliases:["tm"],tags:["trademark"],unicode_version:"",ios_version:"6.0"},{emoji:"#️⃣",description:"keycap: #",category:"Symbols",aliases:["hash"],tags:["number"],unicode_version:"",ios_version:"6.0"},{emoji:"*️⃣",description:"keycap: *",category:"Symbols",aliases:["asterisk"],tags:[],unicode_version:"",ios_version:"9.1"},{emoji:"0️⃣",description:"keycap: 0",category:"Symbols",aliases:["zero"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"1️⃣",description:"keycap: 1",category:"Symbols",aliases:["one"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"2️⃣",description:"keycap: 2",category:"Symbols",aliases:["two"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"3️⃣",description:"keycap: 3",category:"Symbols",aliases:["three"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"4️⃣",description:"keycap: 4",category:"Symbols",aliases:["four"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"5️⃣",description:"keycap: 5",category:"Symbols",aliases:["five"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"6️⃣",description:"keycap: 6",category:"Symbols",aliases:["six"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"7️⃣",description:"keycap: 7",category:"Symbols",aliases:["seven"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"8️⃣",description:"keycap: 8",category:"Symbols",aliases:["eight"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"9️⃣",description:"keycap: 9",category:"Symbols",aliases:["nine"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"🔟",description:"keycap: 10",category:"Symbols",aliases:["keycap_ten"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔠",description:"input latin uppercase",category:"Symbols",aliases:["capital_abcd"],tags:["letters"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔡",description:"input latin lowercase",category:"Symbols",aliases:["abcd"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔢",description:"input numbers",category:"Symbols",aliases:["1234"],tags:["numbers"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔣",description:"input symbols",category:"Symbols",aliases:["symbols"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔤",description:"input latin letters",category:"Symbols",aliases:["abc"],tags:["alphabet"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🅰️",description:"A button (blood type)",category:"Symbols",aliases:["a"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🆎",description:"AB button (blood type)",category:"Symbols",aliases:["ab"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🅱️",description:"B button (blood type)",category:"Symbols",aliases:["b"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🆑",description:"CL button",category:"Symbols",aliases:["cl"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🆒",description:"COOL button",category:"Symbols",aliases:["cool"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🆓",description:"FREE button",category:"Symbols",aliases:["free"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"ℹ️",description:"information",category:"Symbols",aliases:["information_source"],tags:[],unicode_version:"3.0",ios_version:"6.0"},{emoji:"🆔",description:"ID button",category:"Symbols",aliases:["id"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"Ⓜ️",description:"circled M",category:"Symbols",aliases:["m"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"🆕",description:"NEW button",category:"Symbols",aliases:["new"],tags:["fresh"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🆖",description:"NG button",category:"Symbols",aliases:["ng"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🅾️",description:"O button (blood type)",category:"Symbols",aliases:["o2"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🆗",description:"OK button",category:"Symbols",aliases:["ok"],tags:["yes"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🅿️",description:"P button",category:"Symbols",aliases:["parking"],tags:[],unicode_version:"5.2",ios_version:"6.0"},{emoji:"🆘",description:"SOS button",category:"Symbols",aliases:["sos"],tags:["help","emergency"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🆙",description:"UP! button",category:"Symbols",aliases:["up"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🆚",description:"VS button",category:"Symbols",aliases:["vs"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🈁",description:"Japanese “here” button",category:"Symbols",aliases:["koko"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🈂️",description:"Japanese “service charge” button",category:"Symbols",aliases:["sa"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🈷️",description:"Japanese “monthly amount” button",category:"Symbols",aliases:["u6708"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🈶",description:"Japanese “not free of charge” button",category:"Symbols",aliases:["u6709"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🈯",description:"Japanese “reserved” button",category:"Symbols",aliases:["u6307"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"🉐",description:"Japanese “bargain” button",category:"Symbols",aliases:["ideograph_advantage"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🈹",description:"Japanese “discount” button",category:"Symbols",aliases:["u5272"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🈚",description:"Japanese “free of charge” button",category:"Symbols",aliases:["u7121"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"🈲",description:"Japanese “prohibited” button",category:"Symbols",aliases:["u7981"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🉑",description:"Japanese “acceptable” button",category:"Symbols",aliases:["accept"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🈸",description:"Japanese “application” button",category:"Symbols",aliases:["u7533"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🈴",description:"Japanese “passing grade” button",category:"Symbols",aliases:["u5408"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🈳",description:"Japanese “vacancy” button",category:"Symbols",aliases:["u7a7a"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"㊗️",description:"Japanese “congratulations” button",category:"Symbols",aliases:["congratulations"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"㊙️",description:"Japanese “secret” button",category:"Symbols",aliases:["secret"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"🈺",description:"Japanese “open for business” button",category:"Symbols",aliases:["u55b6"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🈵",description:"Japanese “no vacancy” button",category:"Symbols",aliases:["u6e80"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔴",description:"red circle",category:"Symbols",aliases:["red_circle"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🟠",description:"orange circle",category:"Symbols",aliases:["orange_circle"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🟡",description:"yellow circle",category:"Symbols",aliases:["yellow_circle"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🟢",description:"green circle",category:"Symbols",aliases:["green_circle"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🔵",description:"blue circle",category:"Symbols",aliases:["large_blue_circle"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🟣",description:"purple circle",category:"Symbols",aliases:["purple_circle"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🟤",description:"brown circle",category:"Symbols",aliases:["brown_circle"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"⚫",description:"black circle",category:"Symbols",aliases:["black_circle"],tags:[],unicode_version:"4.1",ios_version:"6.0"},{emoji:"⚪",description:"white circle",category:"Symbols",aliases:["white_circle"],tags:[],unicode_version:"4.1",ios_version:"6.0"},{emoji:"🟥",description:"red square",category:"Symbols",aliases:["red_square"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🟧",description:"orange square",category:"Symbols",aliases:["orange_square"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🟨",description:"yellow square",category:"Symbols",aliases:["yellow_square"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🟩",description:"green square",category:"Symbols",aliases:["green_square"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🟦",description:"blue square",category:"Symbols",aliases:["blue_square"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🟪",description:"purple square",category:"Symbols",aliases:["purple_square"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🟫",description:"brown square",category:"Symbols",aliases:["brown_square"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"⬛",description:"black large square",category:"Symbols",aliases:["black_large_square"],tags:[],unicode_version:"5.1",ios_version:"6.0"},{emoji:"⬜",description:"white large square",category:"Symbols",aliases:["white_large_square"],tags:[],unicode_version:"5.1",ios_version:"6.0"},{emoji:"◼️",description:"black medium square",category:"Symbols",aliases:["black_medium_square"],tags:[],unicode_version:"3.2",ios_version:"6.0"},{emoji:"◻️",description:"white medium square",category:"Symbols",aliases:["white_medium_square"],tags:[],unicode_version:"3.2",ios_version:"6.0"},{emoji:"◾",description:"black medium-small square",category:"Symbols",aliases:["black_medium_small_square"],tags:[],unicode_version:"3.2",ios_version:"6.0"},{emoji:"◽",description:"white medium-small square",category:"Symbols",aliases:["white_medium_small_square"],tags:[],unicode_version:"3.2",ios_version:"6.0"},{emoji:"▪️",description:"black small square",category:"Symbols",aliases:["black_small_square"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"▫️",description:"white small square",category:"Symbols",aliases:["white_small_square"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"🔶",description:"large orange diamond",category:"Symbols",aliases:["large_orange_diamond"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔷",description:"large blue diamond",category:"Symbols",aliases:["large_blue_diamond"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔸",description:"small orange diamond",category:"Symbols",aliases:["small_orange_diamond"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔹",description:"small blue diamond",category:"Symbols",aliases:["small_blue_diamond"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔺",description:"red triangle pointed up",category:"Symbols",aliases:["small_red_triangle"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔻",description:"red triangle pointed down",category:"Symbols",aliases:["small_red_triangle_down"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💠",description:"diamond with a dot",category:"Symbols",aliases:["diamond_shape_with_a_dot_inside"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔘",description:"radio button",category:"Symbols",aliases:["radio_button"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔳",description:"white square button",category:"Symbols",aliases:["white_square_button"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔲",description:"black square button",category:"Symbols",aliases:["black_square_button"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏁",description:"chequered flag",category:"Flags",aliases:["checkered_flag"],tags:["milestone","finish"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚩",description:"triangular flag",category:"Flags",aliases:["triangular_flag_on_post"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎌",description:"crossed flags",category:"Flags",aliases:["crossed_flags"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏴",description:"black flag",category:"Flags",aliases:["black_flag"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🏳️",description:"white flag",category:"Flags",aliases:["white_flag"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🏳️🌈",description:"rainbow flag",category:"Flags",aliases:["rainbow_flag"],tags:["pride"],unicode_version:"6.0",ios_version:"10.0"},{emoji:"🏳️⚧️",description:"transgender flag",category:"Flags",aliases:["transgender_flag"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🏴☠️",description:"pirate flag",category:"Flags",aliases:["pirate_flag"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🇦🇨",description:"flag: Ascension Island",category:"Flags",aliases:["ascension_island"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🇦🇩",description:"flag: Andorra",category:"Flags",aliases:["andorra"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇦🇪",description:"flag: United Arab Emirates",category:"Flags",aliases:["united_arab_emirates"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇦🇫",description:"flag: Afghanistan",category:"Flags",aliases:["afghanistan"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇦🇬",description:"flag: Antigua & Barbuda",category:"Flags",aliases:["antigua_barbuda"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇦🇮",description:"flag: Anguilla",category:"Flags",aliases:["anguilla"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇦🇱",description:"flag: Albania",category:"Flags",aliases:["albania"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇦🇲",description:"flag: Armenia",category:"Flags",aliases:["armenia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇦🇴",description:"flag: Angola",category:"Flags",aliases:["angola"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇦🇶",description:"flag: Antarctica",category:"Flags",aliases:["antarctica"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇦🇷",description:"flag: Argentina",category:"Flags",aliases:["argentina"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇦🇸",description:"flag: American Samoa",category:"Flags",aliases:["american_samoa"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇦🇹",description:"flag: Austria",category:"Flags",aliases:["austria"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇦🇺",description:"flag: Australia",category:"Flags",aliases:["australia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇦🇼",description:"flag: Aruba",category:"Flags",aliases:["aruba"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇦🇽",description:"flag: Åland Islands",category:"Flags",aliases:["aland_islands"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇦🇿",description:"flag: Azerbaijan",category:"Flags",aliases:["azerbaijan"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇧🇦",description:"flag: Bosnia & Herzegovina",category:"Flags",aliases:["bosnia_herzegovina"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇧🇧",description:"flag: Barbados",category:"Flags",aliases:["barbados"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇧🇩",description:"flag: Bangladesh",category:"Flags",aliases:["bangladesh"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇧🇪",description:"flag: Belgium",category:"Flags",aliases:["belgium"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇧🇫",description:"flag: Burkina Faso",category:"Flags",aliases:["burkina_faso"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇧🇬",description:"flag: Bulgaria",category:"Flags",aliases:["bulgaria"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇧🇭",description:"flag: Bahrain",category:"Flags",aliases:["bahrain"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇧🇮",description:"flag: Burundi",category:"Flags",aliases:["burundi"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇧🇯",description:"flag: Benin",category:"Flags",aliases:["benin"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇧🇱",description:"flag: St. Barthélemy",category:"Flags",aliases:["st_barthelemy"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇧🇲",description:"flag: Bermuda",category:"Flags",aliases:["bermuda"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇧🇳",description:"flag: Brunei",category:"Flags",aliases:["brunei"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇧🇴",description:"flag: Bolivia",category:"Flags",aliases:["bolivia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇧🇶",description:"flag: Caribbean Netherlands",category:"Flags",aliases:["caribbean_netherlands"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇧🇷",description:"flag: Brazil",category:"Flags",aliases:["brazil"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇧🇸",description:"flag: Bahamas",category:"Flags",aliases:["bahamas"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇧🇹",description:"flag: Bhutan",category:"Flags",aliases:["bhutan"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇧🇻",description:"flag: Bouvet Island",category:"Flags",aliases:["bouvet_island"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🇧🇼",description:"flag: Botswana",category:"Flags",aliases:["botswana"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇧🇾",description:"flag: Belarus",category:"Flags",aliases:["belarus"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇧🇿",description:"flag: Belize",category:"Flags",aliases:["belize"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇨🇦",description:"flag: Canada",category:"Flags",aliases:["canada"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇨🇨",description:"flag: Cocos (Keeling) Islands",category:"Flags",aliases:["cocos_islands"],tags:["keeling"],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇨🇩",description:"flag: Congo - Kinshasa",category:"Flags",aliases:["congo_kinshasa"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇨🇫",description:"flag: Central African Republic",category:"Flags",aliases:["central_african_republic"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇨🇬",description:"flag: Congo - Brazzaville",category:"Flags",aliases:["congo_brazzaville"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇨🇭",description:"flag: Switzerland",category:"Flags",aliases:["switzerland"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇨🇮",description:"flag: Côte d’Ivoire",category:"Flags",aliases:["cote_divoire"],tags:["ivory"],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇨🇰",description:"flag: Cook Islands",category:"Flags",aliases:["cook_islands"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇨🇱",description:"flag: Chile",category:"Flags",aliases:["chile"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇨🇲",description:"flag: Cameroon",category:"Flags",aliases:["cameroon"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇨🇳",description:"flag: China",category:"Flags",aliases:["cn"],tags:["china"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🇨🇴",description:"flag: Colombia",category:"Flags",aliases:["colombia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇨🇵",description:"flag: Clipperton Island",category:"Flags",aliases:["clipperton_island"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🇨🇷",description:"flag: Costa Rica",category:"Flags",aliases:["costa_rica"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇨🇺",description:"flag: Cuba",category:"Flags",aliases:["cuba"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇨🇻",description:"flag: Cape Verde",category:"Flags",aliases:["cape_verde"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇨🇼",description:"flag: Curaçao",category:"Flags",aliases:["curacao"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇨🇽",description:"flag: Christmas Island",category:"Flags",aliases:["christmas_island"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇨🇾",description:"flag: Cyprus",category:"Flags",aliases:["cyprus"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇨🇿",description:"flag: Czechia",category:"Flags",aliases:["czech_republic"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇩🇪",description:"flag: Germany",category:"Flags",aliases:["de"],tags:["flag","germany"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🇩🇬",description:"flag: Diego Garcia",category:"Flags",aliases:["diego_garcia"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🇩🇯",description:"flag: Djibouti",category:"Flags",aliases:["djibouti"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇩🇰",description:"flag: Denmark",category:"Flags",aliases:["denmark"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇩🇲",description:"flag: Dominica",category:"Flags",aliases:["dominica"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇩🇴",description:"flag: Dominican Republic",category:"Flags",aliases:["dominican_republic"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇩🇿",description:"flag: Algeria",category:"Flags",aliases:["algeria"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇪🇦",description:"flag: Ceuta & Melilla",category:"Flags",aliases:["ceuta_melilla"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🇪🇨",description:"flag: Ecuador",category:"Flags",aliases:["ecuador"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇪🇪",description:"flag: Estonia",category:"Flags",aliases:["estonia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇪🇬",description:"flag: Egypt",category:"Flags",aliases:["egypt"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇪🇭",description:"flag: Western Sahara",category:"Flags",aliases:["western_sahara"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇪🇷",description:"flag: Eritrea",category:"Flags",aliases:["eritrea"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇪🇸",description:"flag: Spain",category:"Flags",aliases:["es"],tags:["spain"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🇪🇹",description:"flag: Ethiopia",category:"Flags",aliases:["ethiopia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇪🇺",description:"flag: European Union",category:"Flags",aliases:["eu","european_union"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇫🇮",description:"flag: Finland",category:"Flags",aliases:["finland"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇫🇯",description:"flag: Fiji",category:"Flags",aliases:["fiji"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇫🇰",description:"flag: Falkland Islands",category:"Flags",aliases:["falkland_islands"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇫🇲",description:"flag: Micronesia",category:"Flags",aliases:["micronesia"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇫🇴",description:"flag: Faroe Islands",category:"Flags",aliases:["faroe_islands"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇫🇷",description:"flag: France",category:"Flags",aliases:["fr"],tags:["france","french"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🇬🇦",description:"flag: Gabon",category:"Flags",aliases:["gabon"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇬🇧",description:"flag: United Kingdom",category:"Flags",aliases:["gb","uk"],tags:["flag","british"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🇬🇩",description:"flag: Grenada",category:"Flags",aliases:["grenada"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇬🇪",description:"flag: Georgia",category:"Flags",aliases:["georgia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇬🇫",description:"flag: French Guiana",category:"Flags",aliases:["french_guiana"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇬🇬",description:"flag: Guernsey",category:"Flags",aliases:["guernsey"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇬🇭",description:"flag: Ghana",category:"Flags",aliases:["ghana"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇬🇮",description:"flag: Gibraltar",category:"Flags",aliases:["gibraltar"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇬🇱",description:"flag: Greenland",category:"Flags",aliases:["greenland"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇬🇲",description:"flag: Gambia",category:"Flags",aliases:["gambia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇬🇳",description:"flag: Guinea",category:"Flags",aliases:["guinea"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇬🇵",description:"flag: Guadeloupe",category:"Flags",aliases:["guadeloupe"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇬🇶",description:"flag: Equatorial Guinea",category:"Flags",aliases:["equatorial_guinea"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇬🇷",description:"flag: Greece",category:"Flags",aliases:["greece"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇬🇸",description:"flag: South Georgia & South Sandwich Islands",category:"Flags",aliases:["south_georgia_south_sandwich_islands"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇬🇹",description:"flag: Guatemala",category:"Flags",aliases:["guatemala"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇬🇺",description:"flag: Guam",category:"Flags",aliases:["guam"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇬🇼",description:"flag: Guinea-Bissau",category:"Flags",aliases:["guinea_bissau"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇬🇾",description:"flag: Guyana",category:"Flags",aliases:["guyana"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇭🇰",description:"flag: Hong Kong SAR China",category:"Flags",aliases:["hong_kong"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇭🇲",description:"flag: Heard & McDonald Islands",category:"Flags",aliases:["heard_mcdonald_islands"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🇭🇳",description:"flag: Honduras",category:"Flags",aliases:["honduras"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇭🇷",description:"flag: Croatia",category:"Flags",aliases:["croatia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇭🇹",description:"flag: Haiti",category:"Flags",aliases:["haiti"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇭🇺",description:"flag: Hungary",category:"Flags",aliases:["hungary"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇮🇨",description:"flag: Canary Islands",category:"Flags",aliases:["canary_islands"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇮🇩",description:"flag: Indonesia",category:"Flags",aliases:["indonesia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇮🇪",description:"flag: Ireland",category:"Flags",aliases:["ireland"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇮🇱",description:"flag: Israel",category:"Flags",aliases:["israel"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇮🇲",description:"flag: Isle of Man",category:"Flags",aliases:["isle_of_man"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇮🇳",description:"flag: India",category:"Flags",aliases:["india"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇮🇴",description:"flag: British Indian Ocean Territory",category:"Flags",aliases:["british_indian_ocean_territory"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇮🇶",description:"flag: Iraq",category:"Flags",aliases:["iraq"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇮🇷",description:"flag: Iran",category:"Flags",aliases:["iran"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇮🇸",description:"flag: Iceland",category:"Flags",aliases:["iceland"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇮🇹",description:"flag: Italy",category:"Flags",aliases:["it"],tags:["italy"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🇯🇪",description:"flag: Jersey",category:"Flags",aliases:["jersey"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇯🇲",description:"flag: Jamaica",category:"Flags",aliases:["jamaica"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇯🇴",description:"flag: Jordan",category:"Flags",aliases:["jordan"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇯🇵",description:"flag: Japan",category:"Flags",aliases:["jp"],tags:["japan"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🇰🇪",description:"flag: Kenya",category:"Flags",aliases:["kenya"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇰🇬",description:"flag: Kyrgyzstan",category:"Flags",aliases:["kyrgyzstan"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇰🇭",description:"flag: Cambodia",category:"Flags",aliases:["cambodia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇰🇮",description:"flag: Kiribati",category:"Flags",aliases:["kiribati"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇰🇲",description:"flag: Comoros",category:"Flags",aliases:["comoros"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇰🇳",description:"flag: St. Kitts & Nevis",category:"Flags",aliases:["st_kitts_nevis"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇰🇵",description:"flag: North Korea",category:"Flags",aliases:["north_korea"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇰🇷",description:"flag: South Korea",category:"Flags",aliases:["kr"],tags:["korea"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🇰🇼",description:"flag: Kuwait",category:"Flags",aliases:["kuwait"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇰🇾",description:"flag: Cayman Islands",category:"Flags",aliases:["cayman_islands"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇰🇿",description:"flag: Kazakhstan",category:"Flags",aliases:["kazakhstan"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇱🇦",description:"flag: Laos",category:"Flags",aliases:["laos"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇱🇧",description:"flag: Lebanon",category:"Flags",aliases:["lebanon"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇱🇨",description:"flag: St. Lucia",category:"Flags",aliases:["st_lucia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇱🇮",description:"flag: Liechtenstein",category:"Flags",aliases:["liechtenstein"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇱🇰",description:"flag: Sri Lanka",category:"Flags",aliases:["sri_lanka"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇱🇷",description:"flag: Liberia",category:"Flags",aliases:["liberia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇱🇸",description:"flag: Lesotho",category:"Flags",aliases:["lesotho"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇱🇹",description:"flag: Lithuania",category:"Flags",aliases:["lithuania"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇱🇺",description:"flag: Luxembourg",category:"Flags",aliases:["luxembourg"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇱🇻",description:"flag: Latvia",category:"Flags",aliases:["latvia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇱🇾",description:"flag: Libya",category:"Flags",aliases:["libya"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇲🇦",description:"flag: Morocco",category:"Flags",aliases:["morocco"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇲🇨",description:"flag: Monaco",category:"Flags",aliases:["monaco"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇲🇩",description:"flag: Moldova",category:"Flags",aliases:["moldova"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇲🇪",description:"flag: Montenegro",category:"Flags",aliases:["montenegro"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇲🇫",description:"flag: St. Martin",category:"Flags",aliases:["st_martin"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🇲🇬",description:"flag: Madagascar",category:"Flags",aliases:["madagascar"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇲🇭",description:"flag: Marshall Islands",category:"Flags",aliases:["marshall_islands"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇲🇰",description:"flag: North Macedonia",category:"Flags",aliases:["macedonia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇲🇱",description:"flag: Mali",category:"Flags",aliases:["mali"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇲🇲",description:"flag: Myanmar (Burma)",category:"Flags",aliases:["myanmar"],tags:["burma"],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇲🇳",description:"flag: Mongolia",category:"Flags",aliases:["mongolia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇲🇴",description:"flag: Macao SAR China",category:"Flags",aliases:["macau"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇲🇵",description:"flag: Northern Mariana Islands",category:"Flags",aliases:["northern_mariana_islands"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇲🇶",description:"flag: Martinique",category:"Flags",aliases:["martinique"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇲🇷",description:"flag: Mauritania",category:"Flags",aliases:["mauritania"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇲🇸",description:"flag: Montserrat",category:"Flags",aliases:["montserrat"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇲🇹",description:"flag: Malta",category:"Flags",aliases:["malta"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇲🇺",description:"flag: Mauritius",category:"Flags",aliases:["mauritius"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇲🇻",description:"flag: Maldives",category:"Flags",aliases:["maldives"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇲🇼",description:"flag: Malawi",category:"Flags",aliases:["malawi"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇲🇽",description:"flag: Mexico",category:"Flags",aliases:["mexico"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇲🇾",description:"flag: Malaysia",category:"Flags",aliases:["malaysia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇲🇿",description:"flag: Mozambique",category:"Flags",aliases:["mozambique"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇳🇦",description:"flag: Namibia",category:"Flags",aliases:["namibia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇳🇨",description:"flag: New Caledonia",category:"Flags",aliases:["new_caledonia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇳🇪",description:"flag: Niger",category:"Flags",aliases:["niger"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇳🇫",description:"flag: Norfolk Island",category:"Flags",aliases:["norfolk_island"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇳🇬",description:"flag: Nigeria",category:"Flags",aliases:["nigeria"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇳🇮",description:"flag: Nicaragua",category:"Flags",aliases:["nicaragua"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇳🇱",description:"flag: Netherlands",category:"Flags",aliases:["netherlands"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇳🇴",description:"flag: Norway",category:"Flags",aliases:["norway"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇳🇵",description:"flag: Nepal",category:"Flags",aliases:["nepal"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇳🇷",description:"flag: Nauru",category:"Flags",aliases:["nauru"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇳🇺",description:"flag: Niue",category:"Flags",aliases:["niue"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇳🇿",description:"flag: New Zealand",category:"Flags",aliases:["new_zealand"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇴🇲",description:"flag: Oman",category:"Flags",aliases:["oman"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇵🇦",description:"flag: Panama",category:"Flags",aliases:["panama"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇵🇪",description:"flag: Peru",category:"Flags",aliases:["peru"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇵🇫",description:"flag: French Polynesia",category:"Flags",aliases:["french_polynesia"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇵🇬",description:"flag: Papua New Guinea",category:"Flags",aliases:["papua_new_guinea"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇵🇭",description:"flag: Philippines",category:"Flags",aliases:["philippines"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇵🇰",description:"flag: Pakistan",category:"Flags",aliases:["pakistan"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇵🇱",description:"flag: Poland",category:"Flags",aliases:["poland"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇵🇲",description:"flag: St. Pierre & Miquelon",category:"Flags",aliases:["st_pierre_miquelon"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇵🇳",description:"flag: Pitcairn Islands",category:"Flags",aliases:["pitcairn_islands"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇵🇷",description:"flag: Puerto Rico",category:"Flags",aliases:["puerto_rico"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇵🇸",description:"flag: Palestinian Territories",category:"Flags",aliases:["palestinian_territories"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇵🇹",description:"flag: Portugal",category:"Flags",aliases:["portugal"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇵🇼",description:"flag: Palau",category:"Flags",aliases:["palau"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇵🇾",description:"flag: Paraguay",category:"Flags",aliases:["paraguay"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇶🇦",description:"flag: Qatar",category:"Flags",aliases:["qatar"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇷🇪",description:"flag: Réunion",category:"Flags",aliases:["reunion"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇷🇴",description:"flag: Romania",category:"Flags",aliases:["romania"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇷🇸",description:"flag: Serbia",category:"Flags",aliases:["serbia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇷🇺",description:"flag: Russia",category:"Flags",aliases:["ru"],tags:["russia"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🇷🇼",description:"flag: Rwanda",category:"Flags",aliases:["rwanda"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇸🇦",description:"flag: Saudi Arabia",category:"Flags",aliases:["saudi_arabia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇸🇧",description:"flag: Solomon Islands",category:"Flags",aliases:["solomon_islands"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇸🇨",description:"flag: Seychelles",category:"Flags",aliases:["seychelles"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇸🇩",description:"flag: Sudan",category:"Flags",aliases:["sudan"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇸🇪",description:"flag: Sweden",category:"Flags",aliases:["sweden"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇸🇬",description:"flag: Singapore",category:"Flags",aliases:["singapore"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇸🇭",description:"flag: St. Helena",category:"Flags",aliases:["st_helena"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇸🇮",description:"flag: Slovenia",category:"Flags",aliases:["slovenia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇸🇯",description:"flag: Svalbard & Jan Mayen",category:"Flags",aliases:["svalbard_jan_mayen"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🇸🇰",description:"flag: Slovakia",category:"Flags",aliases:["slovakia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇸🇱",description:"flag: Sierra Leone",category:"Flags",aliases:["sierra_leone"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇸🇲",description:"flag: San Marino",category:"Flags",aliases:["san_marino"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇸🇳",description:"flag: Senegal",category:"Flags",aliases:["senegal"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇸🇴",description:"flag: Somalia",category:"Flags",aliases:["somalia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇸🇷",description:"flag: Suriname",category:"Flags",aliases:["suriname"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇸🇸",description:"flag: South Sudan",category:"Flags",aliases:["south_sudan"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇸🇹",description:"flag: São Tomé & Príncipe",category:"Flags",aliases:["sao_tome_principe"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇸🇻",description:"flag: El Salvador",category:"Flags",aliases:["el_salvador"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇸🇽",description:"flag: Sint Maarten",category:"Flags",aliases:["sint_maarten"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇸🇾",description:"flag: Syria",category:"Flags",aliases:["syria"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇸🇿",description:"flag: Eswatini",category:"Flags",aliases:["swaziland"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇹🇦",description:"flag: Tristan da Cunha",category:"Flags",aliases:["tristan_da_cunha"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🇹🇨",description:"flag: Turks & Caicos Islands",category:"Flags",aliases:["turks_caicos_islands"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇹🇩",description:"flag: Chad",category:"Flags",aliases:["chad"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇹🇫",description:"flag: French Southern Territories",category:"Flags",aliases:["french_southern_territories"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇹🇬",description:"flag: Togo",category:"Flags",aliases:["togo"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇹🇭",description:"flag: Thailand",category:"Flags",aliases:["thailand"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇹🇯",description:"flag: Tajikistan",category:"Flags",aliases:["tajikistan"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇹🇰",description:"flag: Tokelau",category:"Flags",aliases:["tokelau"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇹🇱",description:"flag: Timor-Leste",category:"Flags",aliases:["timor_leste"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇹🇲",description:"flag: Turkmenistan",category:"Flags",aliases:["turkmenistan"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇹🇳",description:"flag: Tunisia",category:"Flags",aliases:["tunisia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇹🇴",description:"flag: Tonga",category:"Flags",aliases:["tonga"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇹🇷",description:"flag: Turkey",category:"Flags",aliases:["tr"],tags:["turkey"],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🇹🇹",description:"flag: Trinidad & Tobago",category:"Flags",aliases:["trinidad_tobago"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇹🇻",description:"flag: Tuvalu",category:"Flags",aliases:["tuvalu"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇹🇼",description:"flag: Taiwan",category:"Flags",aliases:["taiwan"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇹🇿",description:"flag: Tanzania",category:"Flags",aliases:["tanzania"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇺🇦",description:"flag: Ukraine",category:"Flags",aliases:["ukraine"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇺🇬",description:"flag: Uganda",category:"Flags",aliases:["uganda"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇺🇲",description:"flag: U.S. Outlying Islands",category:"Flags",aliases:["us_outlying_islands"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🇺🇳",description:"flag: United Nations",category:"Flags",aliases:["united_nations"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🇺🇸",description:"flag: United States",category:"Flags",aliases:["us"],tags:["flag","united","america"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🇺🇾",description:"flag: Uruguay",category:"Flags",aliases:["uruguay"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇺🇿",description:"flag: Uzbekistan",category:"Flags",aliases:["uzbekistan"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇻🇦",description:"flag: Vatican City",category:"Flags",aliases:["vatican_city"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇻🇨",description:"flag: St. Vincent & Grenadines",category:"Flags",aliases:["st_vincent_grenadines"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇻🇪",description:"flag: Venezuela",category:"Flags",aliases:["venezuela"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇻🇬",description:"flag: British Virgin Islands",category:"Flags",aliases:["british_virgin_islands"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇻🇮",description:"flag: U.S. Virgin Islands",category:"Flags",aliases:["us_virgin_islands"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇻🇳",description:"flag: Vietnam",category:"Flags",aliases:["vietnam"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇻🇺",description:"flag: Vanuatu",category:"Flags",aliases:["vanuatu"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇼🇫",description:"flag: Wallis & Futuna",category:"Flags",aliases:["wallis_futuna"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇼🇸",description:"flag: Samoa",category:"Flags",aliases:["samoa"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇽🇰",description:"flag: Kosovo",category:"Flags",aliases:["kosovo"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇾🇪",description:"flag: Yemen",category:"Flags",aliases:["yemen"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇾🇹",description:"flag: Mayotte",category:"Flags",aliases:["mayotte"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇿🇦",description:"flag: South Africa",category:"Flags",aliases:["south_africa"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇿🇲",description:"flag: Zambia",category:"Flags",aliases:["zambia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇿🇼",description:"flag: Zimbabwe",category:"Flags",aliases:["zimbabwe"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🏴",description:"flag: England",category:"Flags",aliases:["england"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🏴",description:"flag: Scotland",category:"Flags",aliases:["scotland"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🏴",description:"flag: Wales",category:"Flags",aliases:["wales"],tags:[],unicode_version:"11.0",ios_version:"12.1"}]},Symbol.toStringTag,{value:"Module"}));Go.Editor=D3,Go.EditorTask=lD,Object.defineProperty(Go,Symbol.toStringTag,{value:"Module"})});
|
|
1544
|
+
`?o.insert.slice(0,-1):o.insert;(typeof s!="string"||s.length>0)&&p0(e,this,a,s,o.attributes||{})}else o.retain!==void 0?PE(e,this,a,o.retain,o.attributes||{}):o.delete!==void 0&&ME(e,a,o.delete)}}):this._pending.push(()=>this.applyDelta(t))}toDelta(t,n,e){const a=[],r=new Map,o=this.doc;let s="",c=this._start;function i(){if(s.length>0){const d={};let p=!1;r.forEach((h,m)=>{p=!0,d[m]=h});const f={insert:s};p&&(f.attributes=d),a.push(f),s=""}}const u=()=>{for(;c!==null;){if(ru(c,t)||n!==void 0&&ru(c,n))switch(c.content.constructor){case oa:{const d=r.get("ychange");t!==void 0&&!ru(c,t)?(d===void 0||d.user!==c.id.client||d.type!=="removed")&&(i(),r.set("ychange",e?e("removed",c.id):{type:"removed"})):n!==void 0&&!ru(c,n)?(d===void 0||d.user!==c.id.client||d.type!=="added")&&(i(),r.set("ychange",e?e("added",c.id):{type:"added"})):d!==void 0&&(i(),r.delete("ychange")),s+=c.content.str;break}case Ga:case au:{i();const d={insert:c.content.getContent()[0]};if(r.size>0){const p={};d.attributes=p,r.forEach((f,h)=>{p[h]=f})}a.push(d);break}case So:ru(c,t)&&(i(),iu(r,c.content));break}c=c.right}i()};return t||n?Fr(o,d=>{t&&i0(d,t),n&&i0(d,n),u()},"cleanup"):u(),a}insert(t,n,e){if(n.length<=0)return;const a=this.doc;a!==null?Fr(a,r=>{const o=Ch(r,this,t,!e);e||(e={},o.currentAttributes.forEach((s,c)=>{e[c]=s})),p0(r,this,o,n,e)}):this._pending.push(()=>this.insert(t,n,e))}insertEmbed(t,n,e){const a=this.doc;a!==null?Fr(a,r=>{const o=Ch(r,this,t,!e);p0(r,this,o,n,e||{})}):this._pending.push(()=>this.insertEmbed(t,n,e||{}))}delete(t,n){if(n===0)return;const e=this.doc;e!==null?Fr(e,a=>{ME(a,Ch(a,this,t,!0),n)}):this._pending.push(()=>this.delete(t,n))}format(t,n,e){if(n===0)return;const a=this.doc;a!==null?Fr(a,r=>{const o=Ch(r,this,t,!1);o.right!==null&&PE(r,this,o,n,e)}):this._pending.push(()=>this.format(t,n,e))}removeAttribute(t){this.doc!==null?Fr(this.doc,n=>{Sh(n,this,t)}):this._pending.push(()=>this.removeAttribute(t))}setAttribute(t,n){this.doc!==null?Fr(this.doc,e=>{u0(e,this,t,n)}):this._pending.push(()=>this.setAttribute(t,n))}getAttribute(t){return d0(this,t)}getAttributes(){return CE(this)}_write(t){t.writeTypeRef(ZM)}}class h0{constructor(t,n=()=>!0){this._filter=n,this._root=t,this._currentNode=t._start,this._firstCall=!0}[Symbol.iterator](){return this}next(){let t=this._currentNode,n=t&&t.content&&t.content.type;if(t!==null&&(!this._firstCall||t.deleted||!this._filter(n)))do if(n=t.content.type,!t.deleted&&(n.constructor===qd||n.constructor===su)&&n._start!==null)t=n._start;else for(;t!==null;)if(t.right!==null){t=t.right;break}else t.parent===this._root?t=null:t=t.parent._item;while(t!==null&&(t.deleted||!this._filter(t.content.type)));return this._firstCall=!1,t===null?{value:void 0,done:!0}:(this._currentNode=t,{value:t.content.type,done:!1})}}class su extends Io{constructor(){super(),this._prelimContent=[]}get firstChild(){const t=this._first;return t?t.content.getContent()[0]:null}_integrate(t,n){super._integrate(t,n),this.insert(0,this._prelimContent),this._prelimContent=null}_copy(){return new su}clone(){const t=new su;return t.insert(0,this.toArray().map(n=>n instanceof Io?n.clone():n)),t}get length(){return this._prelimContent===null?this._length:this._prelimContent.length}createTreeWalker(t){return new h0(this,t)}querySelector(t){t=t.toUpperCase();const e=new h0(this,a=>a.nodeName&&a.nodeName.toUpperCase()===t).next();return e.done?null:e.value}querySelectorAll(t){return t=t.toUpperCase(),Qc(new h0(this,n=>n.nodeName&&n.nodeName.toUpperCase()===t))}_callObserver(t,n){wh(this,t,new JM(this,n,t))}toString(){return bE(this,t=>t.toString()).join("")}toJSON(){return this.toString()}toDOM(t=document,n={},e){const a=t.createDocumentFragment();return e!==void 0&&e._createAssociation(a,this),$d(this,r=>{a.insertBefore(r.toDOM(t,n,e),null)}),a}insert(t,n){this.doc!==null?Fr(this.doc,e=>{SE(e,this,t,n)}):this._prelimContent.splice(t,0,...n)}insertAfter(t,n){if(this.doc!==null)Fr(this.doc,e=>{const a=t&&t instanceof Io?t._item:t;xh(e,this,a,n)});else{const e=this._prelimContent,a=t===null?0:e.findIndex(r=>r===t)+1;if(a===0&&t!==null)throw nu("Reference item not found");e.splice(a,0,...n)}}delete(t,n=1){this.doc!==null?Fr(this.doc,e=>{EE(e,this,t,n)}):this._prelimContent.splice(t,n)}toArray(){return _E(this)}push(t){this.insert(this.length,t)}unshift(t){this.insert(0,t)}get(t){return wE(this,t)}slice(t=0,n=this.length){return vE(this,t,n)}forEach(t){$d(this,t)}_write(t){t.writeTypeRef(QM)}}class qd extends su{constructor(t="UNDEFINED"){super(),this.nodeName=t,this._prelimAttrs=new Map}get nextSibling(){const t=this._item?this._item.next:null;return t?t.content.type:null}get prevSibling(){const t=this._item?this._item.prev:null;return t?t.content.type:null}_integrate(t,n){super._integrate(t,n),this._prelimAttrs.forEach((e,a)=>{this.setAttribute(a,e)}),this._prelimAttrs=null}_copy(){return new qd(this.nodeName)}clone(){const t=new qd(this.nodeName),n=this.getAttributes();return G5(n,(e,a)=>{typeof e=="string"&&t.setAttribute(a,e)}),t.insert(0,this.toArray().map(e=>e instanceof Io?e.clone():e)),t}toString(){const t=this.getAttributes(),n=[],e=[];for(const s in t)e.push(s);e.sort();const a=e.length;for(let s=0;s<a;s++){const c=e[s];n.push(c+'="'+t[c]+'"')}const r=this.nodeName.toLocaleLowerCase(),o=n.length>0?" "+n.join(" "):"";return`<${r}${o}>${super.toString()}</${r}>`}removeAttribute(t){this.doc!==null?Fr(this.doc,n=>{Sh(n,this,t)}):this._prelimAttrs.delete(t)}setAttribute(t,n){this.doc!==null?Fr(this.doc,e=>{u0(e,this,t,n)}):this._prelimAttrs.set(t,n)}getAttribute(t){return d0(this,t)}hasAttribute(t){return jE(this,t)}getAttributes(t){return t?zM(this,t):CE(this)}toDOM(t=document,n={},e){const a=t.createElement(this.nodeName),r=this.getAttributes();for(const o in r){const s=r[o];typeof s=="string"&&a.setAttribute(o,s)}return $d(this,o=>{a.appendChild(o.toDOM(t,n,e))}),e!==void 0&&e._createAssociation(a,this),a}_write(t){t.writeTypeRef(XM),t.writeKey(this.nodeName)}}class JM extends _h{constructor(t,n,e){super(t,e),this.childListChanged=!1,this.attributesChanged=new Set,n.forEach(a=>{a===null?this.childListChanged=!0:this.attributesChanged.add(a)})}}class DE{constructor(t,n){this.id=t,this.length=n}get deleted(){throw Es()}mergeWith(t){return!1}write(t,n,e){throw Es()}integrate(t,n){throw Es()}}const VM=0;class Ka extends DE{get deleted(){return!0}delete(){}mergeWith(t){return this.constructor!==t.constructor?!1:(this.length+=t.length,!0)}integrate(t,n){n>0&&(this.id.clock+=n,this.length-=n),cE(t.doc.store,this)}write(t,n){t.writeInfo(VM),t.writeLen(this.length-n)}getMissing(t,n){return null}}class kh{constructor(t){this.content=t}getLength(){return 1}getContent(){return[this.content]}isCountable(){return!0}copy(){return new kh(this.content)}splice(t){throw Es()}mergeWith(t){return!1}integrate(t,n){}delete(t){}gc(t){}write(t,n){t.writeBuf(this.content)}getRef(){return 3}}class Th{constructor(t){this.len=t}getLength(){return this.len}getContent(){return[]}isCountable(){return!1}copy(){return new Th(this.len)}splice(t){const n=new Th(this.len-t);return this.len=t,n}mergeWith(t){return this.len+=t.len,!0}integrate(t,n){rE(t.deleteSet,n.id.client,n.id.clock,this.len),n.markDeleted()}delete(t){}gc(t){}write(t,n){t.writeLen(this.len-n)}getRef(){return 1}}const KM=(l,t)=>new Ud({guid:l,...t,shouldLoad:t.shouldLoad||t.autoLoad||!1});class Oh{constructor(t){t._item&&console.error("This document was already integrated as a sub-document. You should create a second instance instead with the same guid."),this.doc=t;const n={};this.opts=n,t.gc||(n.gc=!1),t.autoLoad&&(n.autoLoad=!0),t.meta!==null&&(n.meta=t.meta)}getLength(){return 1}getContent(){return[this.doc]}isCountable(){return!0}copy(){return new Oh(KM(this.doc.guid,this.opts))}splice(t){throw Es()}mergeWith(t){return!1}integrate(t,n){this.doc._item=n,t.subdocsAdded.add(this.doc),this.doc.shouldLoad&&t.subdocsLoaded.add(this.doc)}delete(t){t.subdocsAdded.has(this.doc)?t.subdocsAdded.delete(this.doc):t.subdocsRemoved.add(this.doc)}gc(t){}write(t,n){t.writeString(this.doc.guid),t.writeAny(this.opts)}getRef(){return 9}}class au{constructor(t){this.embed=t}getLength(){return 1}getContent(){return[this.embed]}isCountable(){return!0}copy(){return new au(this.embed)}splice(t){throw Es()}mergeWith(t){return!1}integrate(t,n){}delete(t){}gc(t){}write(t,n){t.writeJSON(this.embed)}getRef(){return 5}}class So{constructor(t,n){this.key=t,this.value=n}getLength(){return 1}getContent(){return[]}isCountable(){return!1}copy(){return new So(this.key,this.value)}splice(t){throw Es()}mergeWith(t){return!1}integrate(t,n){const e=n.parent;e._searchMarker=null,e._hasFormatting=!0}delete(t){}gc(t){}write(t,n){t.writeKey(this.key),t.writeJSON(this.value)}getRef(){return 6}}class lu{constructor(t){this.arr=t}getLength(){return this.arr.length}getContent(){return this.arr}isCountable(){return!0}copy(){return new lu(this.arr)}splice(t){const n=new lu(this.arr.slice(t));return this.arr=this.arr.slice(0,t),n}mergeWith(t){return this.arr=this.arr.concat(t.arr),!0}integrate(t,n){}delete(t){}gc(t){}write(t,n){const e=this.arr.length;t.writeLen(e-n);for(let a=n;a<e;a++){const r=this.arr[a];t.writeAny(r)}}getRef(){return 8}}class oa{constructor(t){this.str=t}getLength(){return this.str.length}getContent(){return this.str.split("")}isCountable(){return!0}copy(){return new oa(this.str)}splice(t){const n=new oa(this.str.slice(t));this.str=this.str.slice(0,t);const e=this.str.charCodeAt(t-1);return e>=55296&&e<=56319&&(this.str=this.str.slice(0,t-1)+"�",n.str="�"+n.str.slice(1)),n}mergeWith(t){return this.str+=t.str,!0}integrate(t,n){}delete(t){}gc(t){}write(t,n){t.writeString(n===0?this.str:this.str.slice(n))}getRef(){return 4}}const GM=0,YM=1,ZM=2,XM=3,QM=4;class Ga{constructor(t){this.type=t}getLength(){return 1}getContent(){return[this.type]}isCountable(){return!0}copy(){return new Ga(this.type._copy())}splice(t){throw Es()}mergeWith(t){return!1}integrate(t,n){this.type._integrate(t.doc,n)}delete(t){let n=this.type._start;for(;n!==null;)n.deleted?n.id.clock<(t.beforeState.get(n.id.client)||0)&&t._mergeStructs.push(n):n.delete(t),n=n.right;this.type._map.forEach(e=>{e.deleted?e.id.clock<(t.beforeState.get(e.id.client)||0)&&t._mergeStructs.push(e):e.delete(t)}),t.changed.delete(this.type)}gc(t){let n=this.type._start;for(;n!==null;)n.gc(t,!0),n=n.right;this.type._start=null,this.type._map.forEach(e=>{for(;e!==null;)e.gc(t,!0),e=e.left}),this.type._map=new Map}write(t,n){this.type._write(t)}getRef(){return 7}}const RE=(l,t,n)=>{const{client:e,clock:a}=t.id,r=new $o(Yr(e,a+n),t,Yr(e,a+n-1),t.right,t.rightOrigin,t.parent,t.parentSub,t.content.splice(n));return t.deleted&&r.markDeleted(),t.keep&&(r.keep=!0),t.redone!==null&&(r.redone=Yr(t.redone.client,t.redone.clock+n)),t.right=r,r.right!==null&&(r.right.left=r),l._mergeStructs.push(r),r.parentSub!==null&&r.right===null&&r.parent._map.set(r.parentSub,r),t.length=n,r};class $o extends DE{constructor(t,n,e,a,r,o,s,c){super(t,c.getLength()),this.origin=e,this.left=n,this.right=a,this.rightOrigin=r,this.parent=o,this.parentSub=s,this.redone=null,this.content=c,this.info=this.content.isCountable()?DS:0}set marker(t){(this.info&Jy)>0!==t&&(this.info^=Jy)}get marker(){return(this.info&Jy)>0}get keep(){return(this.info&MS)>0}set keep(t){this.keep!==t&&(this.info^=MS)}get countable(){return(this.info&DS)>0}get deleted(){return(this.info&Wy)>0}set deleted(t){this.deleted!==t&&(this.info^=Wy)}markDeleted(){this.info|=Wy}getMissing(t,n){if(this.origin&&this.origin.client!==this.id.client&&this.origin.clock>=li(n,this.origin.client))return this.origin.client;if(this.rightOrigin&&this.rightOrigin.client!==this.id.client&&this.rightOrigin.clock>=li(n,this.rightOrigin.client))return this.rightOrigin.client;if(this.parent&&this.parent.constructor===mh&&this.id.client!==this.parent.client&&this.parent.clock>=li(n,this.parent.client))return this.parent.client;if(this.origin&&(this.left=uE(t,n,this.origin),this.origin=this.left.lastId),this.rightOrigin&&(this.right=Ja(t,this.rightOrigin),this.rightOrigin=this.right.id),this.left&&this.left.constructor===Ka||this.right&&this.right.constructor===Ka)this.parent=null;else if(!this.parent)this.left&&this.left.constructor===$o&&(this.parent=this.left.parent,this.parentSub=this.left.parentSub),this.right&&this.right.constructor===$o&&(this.parent=this.right.parent,this.parentSub=this.right.parentSub);else if(this.parent.constructor===mh){const e=a0(n,this.parent);e.constructor===Ka?this.parent=null:this.parent=e.content.type}return null}integrate(t,n){if(n>0&&(this.id.clock+=n,this.left=uE(t,t.doc.store,Yr(this.id.client,this.id.clock-1)),this.origin=this.left.lastId,this.content=this.content.splice(n),this.length-=n),this.parent){if(!this.left&&(!this.right||this.right.left!==null)||this.left&&this.left.right!==this.right){let e=this.left,a;if(e!==null)a=e.right;else if(this.parentSub!==null)for(a=this.parent._map.get(this.parentSub)||null;a!==null&&a.left!==null;)a=a.left;else a=this.parent._start;const r=new Set,o=new Set;for(;a!==null&&a!==this.right;){if(o.add(a),r.add(a),yh(this.origin,a.origin)){if(a.id.client<this.id.client)e=a,r.clear();else if(yh(this.rightOrigin,a.rightOrigin))break}else if(a.origin!==null&&o.has(a0(t.doc.store,a.origin)))r.has(a0(t.doc.store,a.origin))||(e=a,r.clear());else break;a=a.right}this.left=e}if(this.left!==null){const e=this.left.right;this.right=e,this.left.right=this}else{let e;if(this.parentSub!==null)for(e=this.parent._map.get(this.parentSub)||null;e!==null&&e.left!==null;)e=e.left;else e=this.parent._start,this.parent._start=this;this.right=e}this.right!==null?this.right.left=this:this.parentSub!==null&&(this.parent._map.set(this.parentSub,this),this.left!==null&&this.left.delete(t)),this.parentSub===null&&this.countable&&!this.deleted&&(this.parent._length+=this.length),cE(t.doc.store,this),this.content.integrate(t,this),pE(t,this.parent,this.parentSub),(this.parent._item!==null&&this.parent._item.deleted||this.parentSub!==null&&this.right!==null)&&this.delete(t)}else new Ka(this.id,this.length).integrate(t,0)}get next(){let t=this.right;for(;t!==null&&t.deleted;)t=t.right;return t}get prev(){let t=this.left;for(;t!==null&&t.deleted;)t=t.left;return t}get lastId(){return this.length===1?this.id:Yr(this.id.client,this.id.clock+this.length-1)}mergeWith(t){if(this.constructor===t.constructor&&yh(t.origin,this.lastId)&&this.right===t&&yh(this.rightOrigin,t.rightOrigin)&&this.id.client===t.id.client&&this.id.clock+this.length===t.id.clock&&this.deleted===t.deleted&&this.redone===null&&t.redone===null&&this.content.constructor===t.content.constructor&&this.content.mergeWith(t.content)){const n=this.parent._searchMarker;return n&&n.forEach(e=>{e.p===t&&(e.p=this,!this.deleted&&this.countable&&(e.index-=this.length))}),t.keep&&(this.keep=!0),this.right=t.right,this.right!==null&&(this.right.left=this),this.length+=t.length,!0}return!1}delete(t){if(!this.deleted){const n=this.parent;this.countable&&this.parentSub===null&&(n._length-=this.length),this.markDeleted(),rE(t.deleteSet,this.id.client,this.id.clock,this.length),pE(t,n,this.parentSub),this.content.delete(t)}}gc(t,n){if(!this.deleted)throw Fl();this.content.gc(t),n?NM(t,this,new Ka(this.id,this.length)):this.content=new Th(this.length)}write(t,n){const e=n>0?Yr(this.id.client,this.id.clock+n-1):this.origin,a=this.rightOrigin,r=this.parentSub,o=this.content.getRef()&x5|(e===null?0:hh)|(a===null?0:RS)|(r===null?0:w5);if(t.writeInfo(o),e!==null&&t.writeLeftID(e),a!==null&&t.writeRightID(a),e===null&&a===null){const s=this.parent;if(s._item!==void 0){const c=s._item;if(c===null){const i=TM(s);t.writeParentInfo(!0),t.writeString(i)}else t.writeParentInfo(!1),t.writeLeftID(c.id)}else s.constructor===String?(t.writeParentInfo(!0),t.writeString(s)):s.constructor===mh?(t.writeParentInfo(!1),t.writeLeftID(s)):Fl();r!==null&&t.writeString(r)}this.content.write(t,n)}}const LE=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:{},FE="__ $YJS$ __";LE[FE]===!0&&console.error("Yjs was already imported. This breaks constructor checks and will lead to issues! - https://github.com/yjs/yjs/issues/438"),LE[FE]=!0;function e3(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}e3(function(l){const t=new URLSearchParams;t.append("code",l);for(let n=1;n<arguments.length;n++)t.append("v",arguments[n]);throw Error(`Minified Lexical error #${l}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)});const t3=fo();function BE(){return Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,5)}function n3(){const l=new Date,t=String(l.getHours()).padStart(2,"0"),n=String(l.getMinutes()).padStart(2,"0");return`${t}:${n}`}function zE(){return new Date().toLocaleDateString("en-US",{month:"short",day:"numeric"})}console.log(zE());function Nh(l,t,n,e,a,r,o){return{author:t,content:l,deleted:o===void 0?!1:o,id:r===void 0?BE():r,timeStamp:a===void 0?`${n3()} - ${zE()}`:a,type:"comment",userEmail:n===void 0?"":n,mentionedEmails:e===void 0?[]:e}}function UE(l,t,n,e){return console.log("wpAndTaskId 2222222222222",e),{comments:t,id:n===void 0?BE():n,quote:l,type:"thread",resolved:!1,wpAndTaskId:e}}function HE(l){return console.log("thread clone is called",l),{comments:Array.from(l.comments),id:l.id,quote:l.quote,type:"thread",resolved:l.resolved,wpAndTaskId:l.wpAndTaskId}}function r3(l){return{author:l.author,content:"[Deleted Comment]",deleted:!0,id:l.id,timeStamp:l.timeStamp,type:"comment",userEmail:l.userEmail,mentionedEmails:l.mentionedEmails}}function Ah(l){const t=l._changeListeners;for(const n of t)n()}class Wd{constructor(t){Un(this,"_editor");Un(this,"_comments");Un(this,"_changeListeners");Un(this,"_collabProvider");this._comments=[],this._editor=t,this._collabProvider=null,this._changeListeners=new Set}isCollaborative(){return this._collabProvider!==null}getComments(){return this._comments}setComments(t){this._comments=t,Ah(this)}addComment(t,n,e){const a=Array.from(this._comments),r=this._getCollabComments();if(n!==void 0&&t.type==="comment")for(let o=0;o<a.length;o++){const s=a[o];if(s.type==="thread"&&s.id===n.id){const c=HE(s);a.splice(o,1,c);const i=e!==void 0?e:c.comments.length;if(this.isCollaborative()&&r!==null){const u=r.get(o).get("comments");this._withRemoteTransaction(()=>{const d=this._createCollabSharedMap(t);u.insert(i,[d])})}c.comments.splice(i,0,t);break}}else{const o=e!==void 0?e:a.length;this.isCollaborative()&&r!==null&&this._withRemoteTransaction(()=>{const s=this._createCollabSharedMap(t);r.insert(o,[s])}),a.splice(o,0,t)}this._comments=a,Ah(this)}deleteCommentOrThread(t,n){const e=Array.from(this._comments),a=this._getCollabComments();let r=null;if(n!==void 0)for(let o=0;o<e.length;o++){const s=e[o];if(s.type==="thread"&&s.id===n.id){const c=HE(s);e.splice(o,1,c);const i=c.comments;if(r=i.indexOf(t),this.isCollaborative()&&a!==null){const u=a.get(o).get("comments");this._withRemoteTransaction(()=>{u.delete(r)})}i.splice(r,1);break}}else r=e.indexOf(t),this.isCollaborative()&&a!==null&&this._withRemoteTransaction(()=>{a.delete(r)}),e.splice(r,1);return this._comments=e,Ah(this),t.type==="comment"?{index:r,markedComment:r3(t)}:null}resolveThread(t){const n={...t,resolved:!0},e=this._comments.map(a=>a.type==="thread"&&a.id===n.id?n:a);this._comments=e,Ah(this)}registerOnChange(t){const n=this._changeListeners;return n.add(t),()=>{n.delete(t)}}_withRemoteTransaction(t){const n=this._collabProvider;n!==null&&n.doc.transact(t,this)}_withLocalTransaction(t){const n=this._collabProvider;try{this._collabProvider=null,t()}finally{this._collabProvider=n}}_getCollabComments(){const t=this._collabProvider;return t!==null?t.doc.get("comments",Bl):null}_createCollabSharedMap(t){const n=new ou,e=t.type,a=t.id;if(n.set("type",e),n.set("id",a),e==="comment")n.set("author",t.author),n.set("content",t.content),n.set("deleted",t.deleted),n.set("timeStamp",t.timeStamp),n.set("userEmail",t.userEmail);else{n.set("quote",t.quote);const r=new Bl;t.comments.forEach((o,s)=>{const c=this._createCollabSharedMap(o);r.insert(s,[c])}),n.set("comments",r)}return n}registerCollaboration(t){this._collabProvider=t;const n=this._getCollabComments(),e=()=>{t.connect()},a=()=>{try{t.disconnect()}catch{}},r=this._editor.registerCommand(t3,s=>(e!==void 0&&a!==void 0&&(s?(console.log("Comments connected!"),e()):(console.log("Comments disconnected!"),a())),!1),Yn),o=(s,c)=>{if(c.origin!==this)for(let i=0;i<s.length;i++){const u=s[i];if(u instanceof kE){const d=u.target,p=u.delta;let f=0;for(let h=0;h<p.length;h++){const m=p[h],g=m.insert,_=m.retain,v=m.delete,w=d.parent,S=d===n?void 0:w instanceof ou&&this._comments.find(E=>E.id===w.get("id"));if(Array.isArray(g))g.slice().reverse().forEach(E=>{const b=E.get("id"),x=E.get("type")==="thread"?UE(E.get("quote"),E.get("comments").toArray().map(C=>Nh(C.get("content"),C.get("author"),C.get("userEmail"),C.get("mentionedEmails"),C.get("timeStamp"),C.get("id"),C.get("deleted"))),b,E.get("wpAndTaskId")):Nh(E.get("content"),E.get("author"),E.get("userEmail"),E.get("mentionedEmails"),b,E.get("timeStamp"),E.get("deleted"));this._withLocalTransaction(()=>{this.addComment(x,S,f)})});else if(typeof _=="number")f+=_;else if(typeof v=="number")for(let E=0;E<v;E++){const b=S===void 0||S===!1?this._comments[f]:S.comments[f];this._withLocalTransaction(()=>{this.deleteCommentOrThread(b,S)}),f++}}}}};return n===null?()=>null:(n.observeDeep(o),e(),()=>{n.unobserveDeep(o),r(),this._collabProvider=null})}}function o3(l){const[t,n]=he.useState(l.getComments());return he.useEffect(()=>l.registerOnChange(()=>{n(l.getComments())}),[l]),t}const wR="",i3={...Xm,paragraph:"CommentEditorTheme__paragraph"},s3="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAtOTYwIDk2MCA5NjAiIHdpZHRoPSIyNHB4IiBmaWxsPSIjNWY2MzY4Ij48cGF0aCBkPSJNNDQwLTQwMGg4MHYtMTIwaDEyMHYtODBINTIwdi0xMjBoLTgwdjEyMEgzMjB2ODBoMTIwdjEyMFpNODAtODB2LTcyMHEwLTMzIDIzLjUtNTYuNVQxNjAtODgwaDY0MHEzMyAwIDU2LjUgMjMuNVQ4ODAtODAwdjQ4MHEwIDMzLTIzLjUgNTYuNVQ4MDAtMjQwSDI0MEw4MC04MFptMTI2LTI0MGg1OTR2LTQ4MEgxNjB2NTI1bDQ2LTQ1Wm0tNDYgMHYtNDgwIDQ4MFoiLz48L3N2Zz4K",a3="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iMTIyLjg4MXB4IiBoZWlnaHQ9Ijg5Ljg0MnB4IiB2aWV3Qm94PSIwIDAgMTIyLjg4MSA4OS44NDIiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDEyMi44ODEgODkuODQyIiB4bWw6c3BhY2U9InByZXNlcnZlIj48Zz48cGF0aCBkPSJNMS4yMzIsNTUuNTQxYy0xLjUzMy0xLjM4OC0xLjY1Mi0zLjc1Ni0wLjI2NS01LjI4OWMxLjM4OC0xLjUzNCwzLjc1Ni0xLjY1Miw1LjI5LTAuMjY1bDM0LjA1MywzMC44NzhsNzYuMDk5LTc5LjY5OSBjMS40MjktMS41MDEsMy44MDQtMS41NjEsNS4zMDUtMC4xMzJjMS41MDIsMS40MjgsMS41NjEsMy44MDMsMC4xMzMsNS4zMDVMNDMuMjIzLDg4LjY4M2wtMC4wMDUtMC4wMDUgYy0xLjM5NiwxLjQ2OC0zLjcxNiwxLjU2My01LjIyNywwLjE5NkwxLjIzMiw1NS41NDFMMS4yMzIsNTUuNTQxeiIvPjwvZz48L3N2Zz4=",l3="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIFVwbG9hZGVkIHRvOiBTVkcgUmVwbywgd3d3LnN2Z3JlcG8uY29tLCBHZW5lcmF0b3I6IFNWRyBSZXBvIE1peGVyIFRvb2xzIC0tPgo8c3ZnIGZpbGw9IiMwMDAwMDAiIGhlaWdodD0iODAwcHgiIHdpZHRoPSI4MDBweCIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiAKCSB2aWV3Qm94PSIwIDAgNDkwIDQ5MCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+Cjxwb2x5Z29uIHBvaW50cz0iNDU2Ljg1MSwwIDI0NSwyMTIuNTY0IDMzLjE0OSwwIDAuNzA4LDMyLjMzNyAyMTIuNjY5LDI0NS4wMDQgMC43MDgsNDU3LjY3OCAzMy4xNDksNDkwIDI0NSwyNzcuNDQzIDQ1Ni44NTEsNDkwIAoJNDg5LjI5Miw0NTcuNjc4IDI3Ny4zMzEsMjQ1LjAwNCA0ODkuMjkyLDMyLjMzNyAiLz4KPC9zdmc+",c3=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?he.useLayoutEffect:he.useEffect;let $E=class{constructor(t){this.key=t,this.ref={current:null},this.setRefElement=this.setRefElement.bind(this)}setRefElement(t){this.ref={current:t}}};const qE=l=>{const t=document.getElementById("typeahead-menu");if(!t)return;const n=t.getBoundingClientRect();n.top+n.height>window.innerHeight&&t.scrollIntoView({block:"center"}),n.top<0&&t.scrollIntoView({block:"center"}),l.scrollIntoView({block:"nearest"})};function WE(l,t){const n=l.getBoundingClientRect(),e=t.getBoundingClientRect();return n.top>e.top&&n.top<e.bottom}function u3(l,t,n,e){const[a]=xn();he.useEffect(()=>{if(t!=null&&l!=null){const r=a.getRootElement(),o=r!=null?function(d,p){let f=getComputedStyle(d);const h=f.position==="absolute",m=/(auto|scroll)/;if(f.position==="fixed")return document.body;for(let g=d;g=g.parentElement;)if(f=getComputedStyle(g),(!h||f.position!=="static")&&m.test(f.overflow+f.overflowY+f.overflowX))return g;return document.body}(r):document.body;let s=!1,c=WE(t,o);const i=function(){s||(window.requestAnimationFrame(function(){n(),s=!1}),s=!0);const d=WE(t,o);d!==c&&(c=d,e!=null&&e(d))},u=new ResizeObserver(n);return window.addEventListener("resize",n),document.addEventListener("scroll",i,{capture:!0,passive:!0}),u.observe(t),()=>{u.unobserve(t),window.removeEventListener("resize",n),document.removeEventListener("scroll",i,!0)}}},[t,a,e,n,l])}const JE=fo();function d3({close:l,editor:t,anchorElementRef:n,resolution:e,options:a,menuRenderFn:r,onSelectOption:o,shouldSplitNodeWithQuery:s=!1,commandPriority:c=Yn}){const[i,u]=he.useState(null),d=e.match&&e.match.matchingString;he.useEffect(()=>{u(0)},[d]);const p=he.useCallback(h=>{t.update(()=>{const m=e.match!=null&&s?function(g){const _=Tt();if(!Ct(_)||!_.isCollapsed())return null;const v=_.anchor;if(v.type!=="text")return null;const w=v.getNode();if(!w.isSimpleText())return null;const S=v.offset,E=w.getTextContent().slice(0,S),b=g.replaceableString.length,y=S-function(C,T,L){let B=L;for(let D=B;D<=T.length;D++)C.substr(-D)===T.substr(0,D)&&(B=D);return B}(E,g.matchingString,b);if(y<0)return null;let x;return y===0?[x]=w.splitText(S):[,x]=w.splitText(y,S),x}(e.match):null;o(h,m,l,e.match?e.match.matchingString:"")})},[t,s,e.match,o,l]),f=he.useCallback(h=>{const m=t.getRootElement();m!==null&&(m.setAttribute("aria-activedescendant","typeahead-item-"+h),u(h))},[t]);return he.useEffect(()=>()=>{const h=t.getRootElement();h!==null&&h.removeAttribute("aria-activedescendant")},[t]),c3(()=>{a===null?u(null):i===null&&f(0)},[a,i,f]),he.useEffect(()=>wr(t.registerCommand(JE,({option:h})=>!(!h.ref||h.ref.current==null)&&(qE(h.ref.current),!0),c)),[t,f,c]),he.useEffect(()=>wr(t.registerCommand(Bu,h=>{const m=h;if(a!==null&&a.length&&i!==null){const g=i!==a.length-1?i+1:0;f(g);const _=a[g];_.ref!=null&&_.ref.current&&t.dispatchCommand(JE,{index:g,option:_}),m.preventDefault(),m.stopImmediatePropagation()}return!0},c),t.registerCommand(Fu,h=>{const m=h;if(a!==null&&a.length&&i!==null){const g=i!==0?i-1:a.length-1;f(g);const _=a[g];_.ref!=null&&_.ref.current&&qE(_.ref.current),m.preventDefault(),m.stopImmediatePropagation()}return!0},c),t.registerCommand(Ls,h=>{const m=h;return m.preventDefault(),m.stopImmediatePropagation(),l(),!0},c),t.registerCommand(Sf,h=>{const m=h;return a!==null&&i!==null&&a[i]!=null&&(m.preventDefault(),m.stopImmediatePropagation(),p(a[i]),!0)},c),t.registerCommand(Rs,h=>a!==null&&i!==null&&a[i]!=null&&(h!==null&&(h.preventDefault(),h.stopImmediatePropagation()),p(a[i]),!0),c)),[p,l,t,a,i,f,c]),r(n,he.useMemo(()=>({options:a,selectOptionAndCleanUp:p,selectedIndex:i,setHighlightedIndex:u}),[p,i,a]),e.match?e.match.matchingString:"")}const f3=`\\.,\\+\\*\\?\\$\\@\\|#{}\\(\\)\\^\\-\\[\\]\\\\/!%'"~=<>_:;`;function VE(l,{minLength:t=1,maxLength:n=75}){return he.useCallback(e=>{const a=new RegExp("(^|\\s|\\()(["+l+"]((?:"+("[^"+l+f3+"\\s]")+"){0,"+n+"}))$").exec(e);if(a!==null){const r=a[1],o=a[3];if(o.length>=t)return{leadOffset:a.index+r.length,matchingString:o,replaceableString:a[2]}}return null},[n,t,l])}function KE({options:l,onQueryChange:t,onSelectOption:n,onOpen:e,onClose:a,menuRenderFn:r,triggerFn:o,anchorClassName:s,commandPriority:c=Yn,parent:i}){const[u]=xn(),[d,p]=he.useState(null),f=function(g,_,v,w=document.body){const[S]=xn(),E=he.useRef(document.createElement("div")),b=he.useCallback(()=>{E.current.style.top=E.current.style.bottom;const x=S.getRootElement(),C=E.current,T=C.firstChild;if(x!==null&&g!==null){const{left:L,top:B,width:D,height:F}=g.getRect(),O=E.current.offsetHeight;if(C.style.top=`${B+window.pageYOffset+O+3}px`,C.style.left=`${L+window.pageXOffset}px`,C.style.height=`${F}px`,C.style.width=`${D}px`,T!==null){T.style.top=`${B}`;const j=T.getBoundingClientRect(),P=j.height,R=j.width,N=x.getBoundingClientRect();L+R>N.right&&(C.style.left=`${N.right-R+window.pageXOffset}px`),(B+P>window.innerHeight||B+P>N.bottom)&&B-N.top>P+F&&(C.style.top=B-P+window.pageYOffset-F+"px")}C.isConnected||(v!=null&&(C.className=v),C.setAttribute("aria-label","Typeahead menu"),C.setAttribute("id","typeahead-menu"),C.setAttribute("role","listbox"),C.style.display="block",C.style.position="absolute",w.append(C)),E.current=C,x.setAttribute("aria-controls","typeahead-menu")}},[S,g,v,w]);he.useEffect(()=>{const x=S.getRootElement();if(g!==null)return b(),()=>{x!==null&&x.removeAttribute("aria-controls");const C=E.current;C!==null&&C.isConnected&&C.remove()}},[S,b,g]);const y=he.useCallback(x=>{g!==null&&(x||_(null))},[g,_]);return u3(g,E.current,b,y),E}(d,p,s,i),h=he.useCallback(()=>{p(null),a!=null&&d!==null&&a()},[a,d]),m=he.useCallback(g=>{p(g),e!=null&&d===null&&e(g)},[e,d]);return he.useEffect(()=>{const g=u.registerUpdateListener(()=>{u.getEditorState().read(()=>{const _=u._window||window,v=_.document.createRange(),w=Tt(),S=function(y){let x=null;return y.getEditorState().read(()=>{const C=Tt();Ct(C)&&(x=function(T){const L=T.anchor;if(L.type!=="text")return null;const B=L.getNode();if(!B.isSimpleText())return null;const D=L.offset;return B.getTextContent().slice(0,D)}(C))}),x}(u);if(!Ct(w)||!w.isCollapsed()||S===null||v===null)return void h();const E=o(S,u);if(t(E?E.matchingString:null),E!==null&&!function(y,x){return x===0&&y.getEditorState().read(()=>{const C=Tt();if(Ct(C)){const T=C.anchor.getNode().getPreviousSibling();return Wt(T)&&T.isTextEntity()}return!1})}(u,E.leadOffset)&&function(x,C,T){const L=T.getSelection();if(L===null||!L.isCollapsed)return!1;const B=L.anchorNode,D=x,F=L.anchorOffset;if(B==null||F==null)return!1;try{C.setStart(B,D),C.setEnd(B,F)}catch{return!1}return!0}(E.leadOffset,v,_)!==null)return b=()=>m({getRect:()=>v.getBoundingClientRect(),match:E}),void(sr.startTransition?sr.startTransition(b):b());var b;h()})});return()=>{g()}},[u,o,t,d,h,m]),d===null||u===null?null:ue.jsx(d3,{close:h,resolution:d,editor:u,anchorElementRef:f,options:l,menuRenderFn:r,shouldSplitNodeWithQuery:!0,onSelectOption:n,commandPriority:c})}const GE=`\\.,\\+\\*\\?\\$\\@\\|#{}\\(\\)\\^\\-\\[\\]\\\\/!%'"~=<>_:;`,YE={NAME:"\\b[A-Z][^\\s"+GE+"]",PUNCTUATION:GE}.PUNCTUATION,g0=["@"].join(""),ZE="[^"+g0+YE+"\\s]",p3="(?:\\.[ |$]| |["+YE+"]|)",h3=75,g3=new RegExp("(^|\\s|\\()(["+g0+"]((?:"+ZE+p3+"){0,"+h3+"}))$"),m3=50,y3=new RegExp("(^|\\s|\\()(["+g0+"]((?:"+ZE+"){0,"+m3+"}))$"),v3=5,m0=new Map,_3={search(l,t,n){setTimeout(()=>{const e=l.filter(a=>a.name.toLowerCase().includes(t.toLowerCase()));n(e)},500)}};function b3(l,t){const[n,e]=he.useState([]);return he.useEffect(()=>{const a=m0.get(l);if(l==null){e([]);return}if(a!==null){if(a!==void 0){e(a);return}m0.set(l,null),_3.search(t,l,r=>{m0.set(l,r),e(r)})}},[l,t]),n}function w3(l,t){let n=g3.exec(l);if(n===null&&(n=y3.exec(l)),n!==null){const e=n[1],a=n[3];if(a.length>=t)return{leadOffset:n.index+e.length,matchingString:a,replaceableString:n[2]}}return null}function x3(l){return w3(l,1)}class S3 extends $E{constructor(n,e,a){super(n);Un(this,"name");Un(this,"email");Un(this,"picture");this.name=n,this.email=e,this.picture=a}}function E3({index:l,isSelected:t,onClick:n,onMouseEnter:e,option:a}){let r="item";return t&&(r+=" selected"),ue.jsxs("li",{tabIndex:-1,className:r,ref:a.setRefElement,role:"option","aria-selected":t,id:"typeahead-item-"+l,onMouseEnter:e,onClick:n,children:[a.picture,ue.jsx("span",{className:"text",children:a.name})]},a.key)}function C3({mentionItems:l,setmentionedEmails:t}){const[n]=xn(),[e,a]=he.useState(null),r=b3(e,l),o=VE("/",{minLength:0}),s=he.useMemo(()=>r.map(u=>new S3(u.name,u.email,ue.jsx("i",{className:"icon user"}))).slice(0,v3),[r]),c=he.useCallback((u,d,p)=>{t(f=>[...f,u.email]),n.update(()=>{const f=qm(`@${u.name}`);d&&d.replace(f),f.select(),p()})},[n]),i=he.useCallback(u=>o(u,n)!==null?null:x3(u),[o,n]);return ue.jsx(KE,{onQueryChange:a,onSelectOption:c,triggerFn:i,options:s,menuRenderFn:(u,{selectedIndex:d,selectOptionAndCleanUp:p,setHighlightedIndex:f})=>u.current&&r.length?vf.createPortal(ue.jsx("div",{className:"typeahead-popover mentions-menu",children:ue.jsx("ul",{children:s.map((h,m)=>ue.jsx(E3,{index:m,isSelected:d===m,onClick:()=>{f(m),p(h)},onMouseEnter:()=>{f(m)},option:h},h.key))})}),u.current):null})}const y0=fo();function j3({anchorKey:l,editor:t,onAddComment:n}){const e=he.useRef(null),a=he.useCallback(()=>{const r=e.current,o=t.getRootElement(),s=t.getElementByKey(l);if(r!==null&&o!==null&&s!==null){const{right:c}=o.getBoundingClientRect(),{top:i}=s.getBoundingClientRect();r.style.left=`${c-20}px`,r.style.top=`${i-30}px`}},[l,t]);return he.useEffect(()=>(window.addEventListener("resize",a),()=>{window.removeEventListener("resize",a)}),[t,a]),sr.useLayoutEffect(()=>{a()},[l,t,a]),ue.jsx("div",{className:"CommentPlugin_AddCommentBox",ref:e,children:ue.jsx("button",{style:{display:"flex",justifyContent:"center",alignItems:"center"},className:"CommentPlugin_AddCommentBox_button",onClick:n,children:ue.jsx("img",{src:s3,alt:""})})})}function k3({onEscape:l}){const[t]=xn();return he.useEffect(()=>t.registerCommand(Ls,n=>l(n),2),[t,l]),null}function XE({className:l,autoFocus:t,onEscape:n,onChange:e,editorRef:a,placeholder:r="",mentionItems:o,setmentionedEmails:s}){const c={namespace:"Commenting",nodes:[gd],onError:i=>{throw i},theme:i3};return he.useEffect(()=>()=>{s([])},[]),ue.jsxs(op,{initialConfig:c,children:[ue.jsxs("div",{className:"CommentPlugin_CommentInputBox_EditorContainer",children:[ue.jsx(Jw,{contentEditable:ue.jsx(Sd,{className:l}),placeholder:ue.jsx(Ed,{children:r}),ErrorBoundary:Pl}),ue.jsx($w,{onChange:e}),ue.jsx(cp,{}),t!==!1&&ue.jsx(Tp,{}),ue.jsx(k3,{onEscape:n}),ue.jsx(Uw,{}),a!==void 0&&ue.jsx(g5,{editorRef:a})]}),ue.jsx(C3,{mentionItems:o,setmentionedEmails:s})]})}function QE(l,t){return he.useCallback((n,e)=>{n.read(()=>{l(Qm()),t(!ey(e.isComposing(),!0))})},[t,l])}function T3({editor:l,cancelAddComment:t,submitAddComment:n,userName:e,userEmail:a,mentionItems:r,mentionedEmails:o,setmentionedEmails:s,wpAndTaskId:c}){const[i,u]=he.useState(""),[d,p]=he.useState(!1),f=he.useRef(null),h=he.useMemo(()=>({container:document.createElement("div"),elements:[]}),[]),m=he.useRef(null),g=nC(),_=he.useCallback(()=>{l.getEditorState().read(()=>{const E=Tt();if(Ct(E)){m.current=E.clone();const b=E.anchor,y=E.focus,x=tb(l,b.getNode(),b.offset,y.getNode(),y.offset),C=f.current;if(x!==null&&C!==null){const{left:T,bottom:L,width:B}=x.getBoundingClientRect(),D=nb(l,x);let F=D.length===1?T+B/2-125:T-125;F<10&&(F=10),C.style.left=`${F}px`,C.style.top=`${L+20+(window.pageYOffset||document.documentElement.scrollTop)}px`;const O=D.length,{container:j}=h,P=h.elements,R=P.length;for(let N=0;N<O;N++){const U=D[N];let M=P[N];M===void 0&&(M=document.createElement("span"),P[N]=M,j.appendChild(M));const z="255, 212, 0",V=`position:absolute;top:${U.top+(window.pageYOffset||document.documentElement.scrollTop)}px;left:${U.left}px;height:${U.height}px;width:${U.width}px;background-color:rgba(${z}, 0.3);pointer-events:none;z-index:5;`;M.style.cssText=V}for(let N=R-1;N>=O;N--){const U=P[N];j.removeChild(U),P.pop()}}}})},[l,h]);sr.useLayoutEffect(()=>{_();const E=h.container,b=document.body;if(b!==null)return b.appendChild(E),()=>{b.removeChild(E)}},[h.container,_]),he.useEffect(()=>(window.addEventListener("resize",_),()=>{window.removeEventListener("resize",_)}),[_]);const v=E=>(E.preventDefault(),t(),!0),w=()=>{if(console.log("this is called",c),d){let E=l.getEditorState().read(()=>{const b=m.current;return b?b.getTextContent():""});E.length>100&&(E=E.slice(0,99)+"…"),n(UE(E,[Nh(i,e??g,a,o)],void 0,c),!0,void 0,m.current),m.current=null}},S=QE(u,p);return ue.jsxs("div",{className:"CommentPlugin_CommentInputBox",ref:f,children:[ue.jsx(XE,{className:"CommentPlugin_CommentInputBox_Editor",onEscape:v,onChange:S,mentionItems:r,setmentionedEmails:s}),ue.jsxs("div",{className:"CommentPlugin_CommentInputBox_Buttons",children:[ue.jsx(Fi,{onClick:t,className:"CommentPlugin_CommentInputBox_Button",children:"Cancel"}),ue.jsx(Fi,{onClick:w,disabled:!d,className:"CommentPlugin_CommentInputBox_Button primary",children:"Comment"})]})]})}function O3({submitAddComment:l,thread:t,placeholder:n,userName:e,userEmail:a,mentionItems:r,mentionedEmails:o,setmentionedEmails:s}){const[c,i]=he.useState(""),[u,d]=he.useState(!1),p=he.useRef(null),f=nC(),h=QE(i,d),m=()=>{if(u){s([]),l(Nh(c,e??f,a,o),!1,t);const g=p.current;g!==null&&g.dispatchCommand(jf,void 0)}};return ue.jsxs(ue.Fragment,{children:[ue.jsx(XE,{className:"CommentPlugin_CommentsPanel_Editor",autoFocus:!1,onEscape:()=>!0,onChange:h,editorRef:p,placeholder:n,mentionItems:r,setmentionedEmails:s}),ue.jsx(Fi,{className:"CommentPlugin_CommentsPanel_SendButton",onClick:m,disabled:!u,children:ue.jsx("i",{className:"send"})})]})}function eC({commentOrThread:l,deleteCommentOrThread:t,onClose:n,thread:e=void 0}){return ue.jsxs(ue.Fragment,{children:["Are you sure you want to delete this ",l.type,"?",ue.jsxs("div",{className:"Modal__content",children:[ue.jsx(Fi,{onClick:()=>{t(l,e),n()},children:"Delete"})," ",ue.jsx(Fi,{onClick:()=>{n()},children:"Cancel"})]})]})}function tC({comment:l,deleteComment:t,thread:n,rtf:e,userName:a,userEmail:r,mentionedEmails:o,setmentionedEmails:s}){const[c,i]=Da();return ue.jsxs("li",{className:"CommentPlugin_CommentsPanel_List_Comment",children:[ue.jsxs("div",{className:"CommentPlugin_CommentsPanel_List_Details",children:[ue.jsx("span",{className:"CommentPlugin_CommentsPanel_List_Comment_Author",children:l.author}),ue.jsxs("span",{className:"CommentPlugin_CommentsPanel_List_Comment_Time",style:{fontSize:"13px"},children:["· ",l.timeStamp]})]}),ue.jsx("p",{className:l.deleted?"CommentPlugin_CommentsPanel_DeletedComment":"",style:{whiteSpace:"pre-wrap"},children:l.content.split(/(@\w+)/g).map((u,d)=>{if(!u.startsWith("@"))return u;const p=u.slice(1).toLowerCase();return(l.mentionedEmails??[]).some(h=>h.split("@")[0].toLowerCase()===p)?ue.jsx("span",{className:"CommentPlugin_Mention",children:u},d):u})}),!l.deleted&&ue.jsxs(ue.Fragment,{children:[a==l.author&&ue.jsx(Fi,{onClick:()=>{i("Delete Comment",u=>ue.jsx(eC,{commentOrThread:l,deleteCommentOrThread:t,thread:n,onClose:u}))},className:"CommentPlugin_CommentsPanel_List_DeleteButton",children:ue.jsx("i",{className:"delete"})}),c]})]})}function N3({activeIDs:l,comments:t,deleteCommentOrThread:n,listRef:e,submitAddComment:a,markNodeMap:r,userName:o,userEmail:s,resolveThread:c,mentionItems:i,mentionedEmails:u,setmentionedEmails:d,wpAndTaskId:p}){const[f]=xn(),[h,m]=he.useState(0),[g,_]=Da(),v=he.useMemo(()=>new Intl.RelativeTimeFormat("en",{localeMatcher:"best fit",numeric:"auto",style:"short"}),[]);he.useEffect(()=>{const S=setTimeout(()=>{m(h+1)},1e4);return()=>{clearTimeout(S)}},[h]),console.log("comments",t,p);const w=t.filter(S=>S.wpAndTaskId&&S.wpAndTaskId.workplanId===p.workplanId&&S.wpAndTaskId.taskId===p.taskId);return console.log("Filtered comments",w,p),ue.jsx("ul",{className:"CommentPlugin_CommentsPanel_List",ref:e,children:w.length>0?w.map(S=>{var b,y;const E=S.id;if(S.type==="thread"){const x=()=>{const C=r.get(E);if(C!==void 0&&(l===null||l.indexOf(E)===-1)){const T=document.activeElement;f.update(()=>{const L=Array.from(C)[0],B=Bn(L);Ec(B)&&B.selectStart()},{onUpdate(){T!==null&&T.focus()}})}};return ue.jsxs("li",{onClick:x,className:`CommentPlugin_CommentsPanel_List_Thread ${r.has(E)?"interactive":""} ${l.indexOf(E)===-1?"":"active"}`,children:[ue.jsxs("div",{className:"CommentPlugin_CommentsPanel_List_Thread_QuoteBox",children:[ue.jsxs("blockquote",{className:"CommentPlugin_CommentsPanel_List_Thread_Quote",children:[ue.jsx("span",{children:(b=S==null?void 0:S.comments[0])==null?void 0:b.author}),ue.jsx("img",{className:`add-toolbar-image-icon CommentPlugin_CommentsPanel_List_ResolveButton ${S!=null&&S.resolved?"opacity-full":""}`,src:a3,alt:"Resolve Comment",onClick:()=>c(S)})]}),o==((y=S==null?void 0:S.comments[0])==null?void 0:y.author)&&ue.jsx(Fi,{onClick:()=>{_("Delete Thread",C=>ue.jsx(eC,{commentOrThread:S,deleteCommentOrThread:n,onClose:C}))},className:"CommentPlugin_CommentsPanel_List_DeleteButton",children:ue.jsx("i",{className:"delete"})}),g]}),ue.jsx("ul",{className:"CommentPlugin_CommentsPanel_List_Thread_Comments",children:S&&S.comments&&S.comments.length&&S.comments.map(C=>C.deleted?null:ue.jsx(tC,{comment:C,deleteComment:n,thread:S,rtf:v,userName:o,userEmail:s},C.id))}),ue.jsx("div",{className:"CommentPlugin_CommentsPanel_List_Thread_Editor",children:!(S!=null&&S.resolved)&&ue.jsx("div",{className:"CommentPlugin_CommentsPanel_List_Thread_Editor",children:ue.jsx(O3,{submitAddComment:a,thread:S,userName:o,userEmail:s,mentionItems:i,mentionedEmails:u,setmentionedEmails:d})})})]},E)}return ue.jsx(tC,{comment:S,deleteComment:n,rtf:v,userName:o,userEmail:s},E)}):ue.jsx("div",{className:"CommentPlugin_CommentsPanel_Empty",children:"No Comments"})})}function A3({activeIDs:l,deleteCommentOrThread:t,comments:n,submitAddComment:e,markNodeMap:a,userName:r,userEmail:o,resolveThread:s,setShowComments:c,mentionItems:i,mentionedEmails:u,setmentionedEmails:d,wpAndTaskId:p}){const f=he.useRef(null),h=n.length===0;return ue.jsxs("div",{className:"CommentPlugin_CommentsPanel",children:[ue.jsxs("div",{className:"CommentPlugin_CommentsPanel_HeaderDiv",children:[ue.jsx("h2",{className:"CommentPlugin_CommentsPanel_Heading",children:"Comments"}),ue.jsx("img",{onClick:()=>c(!1),className:"CommentPlugin_CommentsPanel_close_icon",width:12,height:12,src:l3,alt:""})]}),h?ue.jsx("div",{className:"CommentPlugin_CommentsPanel_Empty",children:"No Comments"}):ue.jsx(N3,{activeIDs:l,comments:n,deleteCommentOrThread:t,listRef:f,submitAddComment:e,markNodeMap:a,userName:r,userEmail:o,resolveThread:s,mentionItems:i,mentionedEmails:u,setmentionedEmails:d,wpAndTaskId:p})]})}function nC(){const l=Cd(),{yjsDocMap:t,name:n}=l;return t.has("comments")?n:"Playground User"}function rC({providerFactory:l,handleSaveComments:t,showComments:n,setShowComments:e,userName:a,userEmail:r,mentionItems:o,mentionedEmails:s,setmentionedEmails:c,wpAndTaskId:i}){const u=Cd(),[d]=xn(),p=he.useMemo(()=>(d!=null&&d._commentStore||(d._commentStore=new Wd(d)),d==null?void 0:d._commentStore),[d]),f=o3(p),h=he.useMemo(()=>new Map,[]),[m,g]=he.useState(),[_,v]=he.useState([]),[w,S]=he.useState(!1),{yjsDocMap:E}=u;he.useEffect(()=>{if(l){const L=l("comments",E);return p.registerCollaboration(L)}},[p,l,E]);const b=he.useCallback(()=>{d.update(()=>{const L=Tt();L!==null&&(L.dirty=!0)}),S(!1)},[d]),y=he.useCallback((L,B)=>{var D;if(console.log("comment dltd",L,B),L.type==="comment"){if(a==L.author){const F=p.deleteCommentOrThread(L,B);if(!F)return;const{markedComment:O,index:j}=F;p.addComment(O,B,j),t(p.getComments())}}else{((D=L.comments)==null?void 0:D[0].author)==a&&p.deleteCommentOrThread(L);const F=B!==void 0?B.id:L.id,O=h.get(F);O!==void 0?setTimeout(()=>{d.update(()=>{for(const j of O){const P=Bn(j);Ec(P)&&(P.deleteID(F),P.getIDs().length===0&&NT(P))}}),t(p.getComments())}):t(p.getComments())}},[p,d,h,t]),x=he.useCallback((L,B,D,F)=>{console.log("submitAddComment is called"),p.addComment(L,D),t(p.getComments()),B&&(d.update(()=>{if(Ct(F)){const O=F.isBackward(),j=L.id;AT(F,O,j)}}),S(!1))},[p,d]),C=L=>{L&&L.type==="thread"&&p.resolveThread(L),t(p.getComments())};he.useEffect(()=>{const L=[];for(let B=0;B<_.length;B++){const D=_[B],F=h.get(D);if(F!==void 0)for(const O of F){const j=d.getElementByKey(O);j!==null&&(j.classList.add("selected"),L.push(j),e(!0))}}return()=>{for(let B=0;B<L.length;B++)L[B].classList.remove("selected")}},[_,d,h]),he.useEffect(()=>{const L=new Map;return wr(pb(d,Ws,B=>Gm(B.getIDs()),(B,D)=>{B.getIDs().forEach(O=>{D.addID(O)})}),d.registerMutationListener(Ws,B=>{d.getEditorState().read(()=>{for(const[D,F]of B){const O=Bn(D);let j=[];F==="destroyed"?j=L.get(D)||[]:Ec(O)&&(j=O.getIDs());for(let P=0;P<j.length;P++){const R=j[P];let N=h.get(R);L.set(D,j),F==="destroyed"?N!==void 0&&(N.delete(D),N.size===0&&h.delete(R)):(N===void 0&&(N=new Set,h.set(R,N)),N.has(D)||N.add(D))}}})}),d.registerUpdateListener(({editorState:B,tags:D})=>{B.read(()=>{const F=Tt();let O=!1,j=!1;if(Ct(F)){const P=F.anchor.getNode();if(Wt(P)){const R=PT(P,F.anchor.offset);R!==null&&(v(R),O=!0),F.isCollapsed()||(g(P.getKey()),j=!0)}}O||v(P=>P.length===0?P:[]),j||g(null),!D.has("collaboration")&&Ct(F)&&S(!1)})}),d.registerCommand(y0,()=>{const B=window.getSelection();return B!==null&&B.removeAllRanges(),S(!0),!0},Tn))},[d,h]);const T=()=>{d.dispatchCommand(y0,void 0)};return ue.jsxs(ue.Fragment,{children:[w&&so.createPortal(ue.jsx(T3,{editor:d,cancelAddComment:b,submitAddComment:x,userName:a,userEmail:r,mentionItems:o,mentionedEmails:s,setmentionedEmails:c,wpAndTaskId:i}),document.body),m!=null&&!w&&so.createPortal(ue.jsx(j3,{anchorKey:m,editor:d,onAddComment:T}),document.body),n&&so.createPortal(ue.jsx(A3,{comments:f,submitAddComment:x,deleteCommentOrThread:y,activeIDs:_,markNodeMap:h,userName:a,userEmail:r,resolveThread:C,setShowComments:e,mentionItems:o,mentionedEmails:s,setmentionedEmails:c,wpAndTaskId:i}),document.body)]})}const ER="",oC=({type:l})=>ue.jsx("div",{className:"spinner-wrapper",children:l!=="richText"?ue.jsxs(ue.Fragment,{children:[ue.jsx("div",{className:"spinner"}),ue.jsx("div",{children:"Editor is loading..."})]}):ue.jsx(ue.Fragment,{children:"fetching editor state..."})}),iC=({onChange:l})=>{const[t]=xn(),[n,e]=he.useState(!0),a=he.useRef(""),r=a.current,o=he.useCallback(()=>{t.update(()=>{const s=R1(t);n?e(!1):s!==r&&(l(s),a.current=s)})},[t,n,l,r]);return he.useEffect(()=>{const s=t.registerUpdateListener(o);return()=>s()},[t,o]),null},sC=iS([...O1]);function P3({htmlString:l}){const[t]=xn();return he.useEffect(()=>{l&&t.update(()=>{const e=zn().getChildren().filter(Dr);e.forEach((a,r)=>{const o=a.getChildren().find(Ma);if(!o)return;let s=a.getChildren().find(p=>Wt(p)&&p.getTextContent().startsWith("Figure"));if(!s)for(let p=r+1;p<e.length;p++){const f=e[p];if(f.getTextContent().trim()==="")continue;const h=f.getChildren().find(m=>Wt(m)&&m.getTextContent().startsWith("Figure"));h&&(s=h);break}if(!s)return;const c=typeof s.getId=="function"?s.getId():void 0;let i=s.getTextContent();const u=c||zp(s.getTextContent(),Number(i[7]));o.__captionId=u;const d=new Li(s.getTextContent(),"black",u);d.setStyle("font-weight:bold;display:block;text-align:center;margin-top:5px;font-size:14px;"),s.replace(d)})})},[t,l]),null}function I3({htmlString:l}){const[t]=xn();return he.useEffect(()=>{console.log("htmlString",l),l&&t.update(()=>{const e=zn().getChildren().filter(pr);console.log("captionId",e),e.forEach((a,r)=>{const o=a.getPreviousSibling();if(o&&Dr(o)){const s=o.getChildren();console.log("children",s.find(i=>console.log("child",i)));const c=s.find(i=>i.getTextContent().startsWith("Table")&&i.getId&&i.getId());if(c){const i=c.getId();a.__captionId=i,console.log("captionId id",i)}else{const i=o.getTextContent();console.log("captionText",o,i),localStorage.getItem("tableCount")-1;const u=Zm(i,r);console.log("captionId",u),a.__captionId=u,s.forEach(d=>{if(d.getTextContent().startsWith("Table")){console.log("gtting here");const p=new Li(d.getTextContent(),"black",u);d.replace(p)}})}}})})},[t,l]),null}function M3({setEditorEditable:l,htmlString:t,isEditable:n,setIsexistingIdPresent:e}){const[a]=xn();return he.useRef({}),he.useEffect(()=>{a.update(()=>{const r=new DOMParser,o=Dw(t),s=r.parseFromString(o,"text/html");s.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(d=>{const p=d.getAttribute("id");p&&d.setAttribute("data-preserved-id",p)});const c=ny(a,s);c.forEach(d=>{if(Pp(d)){const p=a.getElementByKey(d.getKey());if(p){const f=p.getAttribute("data-preserved-id");if(f){const h=CustomHeadingNode.create(d.getHeadingLevel(),f);d.replace(h)}}}}),zn().clear();const u=Cn();Ri(c),Ri([u]),a.setEditable(!1),setTimeout(()=>{a.setEditable(n),l(!0)},500)})},[a,t]),null}function D3({initialEditorState:l,userObj:t,CollabApiKey:n,docId:e,mentionItems:a,type:r,updateSharepointList:o,updateSharepointList2:s,savedComments:c,styleConfig:i,handleSaveComments:u,pagination:d=!1,customHeight:p,customWidth:f,isCollab:h=!0,defaultState:m,editId:g,toolbarShow:_=!0,isEditable:v=!1,showTabContent:w=!0,wpAndTaskId:S,enableCaptions:E=!0}){const b=he.useRef(null),{historyState:y}=bb(),[x,C]=he.useState([]),[T,L]=he.useState(""),[B,D]=he.useState("skyp_1"),[F,O]=he.useState([]),[j,P]=he.useState(!1),[R,N]=Da(),[U,M]=he.useState(null),[z,V]=he.useState([]),[K,A]=he.useState(null),[q,W]=he.useState(!1),[H,G]=he.useState(!1);he.useState(!1);const[Z,Q]=he.useState([]),Y=he.useRef(null),[ee,re]=he.useState(!1);he.useState(!1);const[de,fe]=he.useState(!1),ne=async()=>({state:{root:[]},timestamp:Date.now()});let Se=()=>{console.log("[Lexical Demo][onBlacklistedInsert] blacklisted combination found")};const{userName:we,userId:me,userEmail:je}=t||{userName:"aa",userId:"aa",userEmail:"aa@sample.com"},ce={name:we,id:me,email:je},se={docId:e+"_"+g,apiKey:n,user:ce,hooks:{fetchDocOnNetworkReconnect:ne,contentChanged:(ct,He)=>{},usersUpdate:ct=>{C(ct),renderOnlineUsers(ct),console.log("[Lexical Demo][usersUpdate hook] hook invoked by Codox: ",ct)}}};he.useEffect(()=>{let ct=[],He=[];x&&x.length>0&&x.map((Ot,Gt)=>{He.includes(Ot.name)||(He.push(Ot.name),ct.push(ue.jsxs("div",{title:Ot.name,className:`avatarStyle avatar-color-${Gt+1}`,children:[" ",Ot.name&&Ot.name[0],Ot.name&&Ot.name[4]]},Gt)))}),O(ct)},[x]);const pe=()=>{Y.current&&(Y.current.initComments(c),["content_changed","error","users_update"].forEach(He=>{console.log("[Lexical Demo][[Subscribe to Codox Event]: ",He),Y.current.on(He,Ot=>{})}),Y.current.start(se).then(()=>{console.log("[Lexical Demo][codox.start] success"),P(!0)}).catch(He=>console.log("[Lexical Demo][codox.start] error",He)))},le=()=>{Y.current&&Y.current.stop(),P(!1)};he.useEffect(()=>{setTimeout(()=>{Fa('[class^="finalProposalEditorContainer_"]').animate({scrollTop:0},500,()=>{})},1e3)},[]),he.useEffect(()=>{Fa(".editor-outer").css({justifyContent:H?"flex-start":"center"})},[H]),he.useEffect(()=>{(async()=>{if(!B)return;j&&le();let ct=m;if(ct)try{sS(ct,sC),M(ct)}catch(He){console.error("[APP] error: ",He)}})()},[B]),he.useEffect(()=>{U&&e&&!j&&n&&setTimeout(()=>{pe()},2e3)},[U,e,j,n]);const ke=he.useMemo(()=>{if(U)return{editorState:ct=>{ct.update(()=>{const He=new Wd(ct);c&&(He.setComments(c),ct._commentStore||(ct._commentStore=new Wd(ct),ct._commentStore.getComments().length===0&&ct._commentStore.setComments(c)))})},namespace:`editor_${e}`,nodes:sC,onError:ct=>{console.error("[Lexical Demo][Editor Error Captured]: ",ct)},theme:Xm}},[U]),Te=he.useRef(l);he.useEffect(()=>{Te.current||(Te.current=l)},[l]);const Ce=ue.jsx(Ed,{children:"Enter some plain text..."}),[Me,qe]=he.useState(null),[Re,Le]=he.useState(!1),[Ee,Qe]=he.useState(!1),[Oe,Ke]=he.useState(!1),it=ct=>{ct!==null&&qe(ct)};he.useEffect(()=>{const ct=()=>{const He=Oc&&window.matchMedia("(max-width: 1025px)").matches;He!==Re&&Le(He)};return ct(),window.addEventListener("resize",ct),()=>{window.removeEventListener("resize",ct)}},[Re]),he.useEffect(()=>{const ct=He=>{K&&!He.target.closest(".reference-toolbar")&&A(null)};return document.addEventListener("click",ct),()=>{document.removeEventListener("click",ct)}},[K]),Fa(document).on("keydown mouseup",`.editor-autosave-${g}`,()=>{}),he.useState("");const nt=he.useRef("");he.useEffect(()=>{const ct=setTimeout(()=>{const Yt=Fa(`.editor-autosave-${g}`).html();if(Yt!==nt.current){const Xt=Yt;r==="objecive"?o(wd(Xt),g):s(wd(Xt),g),nt.current=Yt,console.log("withoutCollab save")}},7e3),He=()=>{const Yt=Fa(`.editor-autosave-${g}`).html();if(Yt!==nt.current){const Xt=Yt;r==="objecive"?o(wd(Xt),g):s(wd(Xt),g),nt.current=Yt,console.log("Save triggered by mouse or keyboard")}},Ot=Yt=>{He()},Gt=()=>{He()};return document.addEventListener("keydown",Ot),document.addEventListener("click",Gt),document.addEventListener("mousedown",Gt),()=>{clearTimeout(ct),document.removeEventListener("keydown",Ot),document.removeEventListener("click",Gt),document.removeEventListener("mousedown",Gt)}},[j,g,r]),he.useEffect(()=>{l&&t&&t.userName&&e&&i?setTimeout(()=>{re(!0)},1e3):re(!1)},[l,t,i]);const st=ct=>{o(ct),L(ct)};return ue.jsx(ue.Fragment,{children:ee?ue.jsxs(op,{initialConfig:ke,children:[ue.jsx(_b,{children:ue.jsx(N1,{children:ue.jsxs("div",{ref:b,className:"editor-shell",style:{position:"relative"},children:[ue.jsxs(ue.Fragment,{children:[ue.jsx(M3,{setEditorEditable:Ke,isEditable:v,htmlString:l}),ue.jsx(I3,{htmlString:l}),ue.jsx(P3,{htmlString:l}),ue.jsx(rC,{showComments:q,setShowComments:W,handleSaveComments:u,userName:we,userEmail:je,mentionItems:a,mentionedEmails:Z,setmentionedEmails:Q,wpAndTaskId:S}),v?ue.jsxs(ue.Fragment,{children:[i&&_&&ue.jsx(Lw,{styleConfig:i,setIsLinkEditMode:Qe,onlUser:F,showComments:q,setShowComments:W,parsedHtmlString:T,enableCaptions:E})," "]}):"",ue.jsx(iC,{onChange:st}),ue.jsxs("div",{className:"editor-container tree-view",children:[ue.jsx(fw,{}),!h&&ue.jsx(Tp,{}),ue.jsx(I1,{}),ue.jsx(pw,{}),ue.jsx(iw,{}),ue.jsx(cp,{externalHistoryState:y}),ue.jsx(Dp,{contentEditable:ue.jsx("div",{className:"editor-scroller",children:ue.jsx("div",{className:"editor",ref:it,children:ue.jsxs("div",{className:`editor-autosave-${g}`,children:[" ",ue.jsx(Sd,{className:(j||Oe)&&v?"ContentEditable__root":"ContentEditable__root no-events"})]})})}),placeholder:Ce,ErrorBoundary:Pl}),ue.jsx(M1,{}),ue.jsx(gw,{maxDepth:7}),ue.jsx(Q1,{hasCellMerge:!0,hasCellBackgroundColor:!0}),ue.jsx(Tw,{}),ue.jsx(lw,{enableCaptions:E}),ue.jsx(ly,{}),ue.jsx(vw,{}),Me&&!Re&&ue.jsx(ue.Fragment,{children:ue.jsx(kw,{anchorElem:Me,cellMerge:!0})}),ue.jsx(OS,{references:z,setReferences:V,position:K,onClose:()=>A(null),IsexistingIdPresent:de}),ue.jsx(NS,{setContextMenu:A,references:z,setReferences:V,containerRef:b}),ue.jsx(AS,{references:z,setReferences:V}),ue.jsx(k1,{}),ue.jsx(PS,{})]})]}),h&&ue.jsx(oS,{debug:!0,ref:Y,onBlacklistedInsert:Se}),R]})})}),i&&ue.jsx(kS,{styleConfig:i})]},e):ue.jsx(oC,{})})}const R3=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?he.useLayoutEffect:he.useEffect;let L3=class{constructor(t){this.key=t,this.ref={current:null},this.setRefElement=this.setRefElement.bind(this)}setRefElement(t){this.ref={current:t}}};const aC=l=>{const t=document.getElementById("typeahead-menu");if(!t)return;const n=t.getBoundingClientRect();n.top+n.height>window.innerHeight&&t.scrollIntoView({block:"center"}),n.top<0&&t.scrollIntoView({block:"center"}),l.scrollIntoView({block:"nearest"})};function lC(l,t){const n=l.getBoundingClientRect(),e=t.getBoundingClientRect();return n.top>e.top&&n.top<e.bottom}function F3(l,t,n,e){const[a]=xn();he.useEffect(()=>{if(t!=null&&l!=null){const r=a.getRootElement(),o=r!=null?function(d,p){let f=getComputedStyle(d);const h=f.position==="absolute",m=/(auto|scroll)/;if(f.position==="fixed")return document.body;for(let g=d;g=g.parentElement;)if(f=getComputedStyle(g),(!h||f.position!=="static")&&m.test(f.overflow+f.overflowY+f.overflowX))return g;return document.body}(r):document.body;let s=!1,c=lC(t,o);const i=function(){s||(window.requestAnimationFrame(function(){n(),s=!1}),s=!0);const d=lC(t,o);d!==c&&(c=d,e!=null&&e(d))},u=new ResizeObserver(n);return window.addEventListener("resize",n),document.addEventListener("scroll",i,{capture:!0,passive:!0}),u.observe(t),()=>{u.unobserve(t),window.removeEventListener("resize",n),document.removeEventListener("scroll",i,!0)}}},[t,a,e,n,l])}const cC=fo();function B3({close:l,editor:t,anchorElementRef:n,resolution:e,options:a,menuRenderFn:r,onSelectOption:o,shouldSplitNodeWithQuery:s=!1,commandPriority:c=Yn}){const[i,u]=he.useState(null),d=e.match&&e.match.matchingString;he.useEffect(()=>{u(0)},[d]);const p=he.useCallback(h=>{t.update(()=>{const m=e.match!=null&&s?function(g){const _=Tt();if(!Ct(_)||!_.isCollapsed())return null;const v=_.anchor;if(v.type!=="text")return null;const w=v.getNode();if(!w.isSimpleText())return null;const S=v.offset,E=w.getTextContent().slice(0,S),b=g.replaceableString.length,y=S-function(C,T,L){let B=L;for(let D=B;D<=T.length;D++)C.substr(-D)===T.substr(0,D)&&(B=D);return B}(E,g.matchingString,b);if(y<0)return null;let x;return y===0?[x]=w.splitText(S):[,x]=w.splitText(y,S),x}(e.match):null;o(h,m,l,e.match?e.match.matchingString:"")})},[t,s,e.match,o,l]),f=he.useCallback(h=>{const m=t.getRootElement();m!==null&&(m.setAttribute("aria-activedescendant","typeahead-item-"+h),u(h))},[t]);return he.useEffect(()=>()=>{const h=t.getRootElement();h!==null&&h.removeAttribute("aria-activedescendant")},[t]),R3(()=>{a===null?u(null):i===null&&f(0)},[a,i,f]),he.useEffect(()=>wr(t.registerCommand(cC,({option:h})=>!(!h.ref||h.ref.current==null)&&(aC(h.ref.current),!0),c)),[t,f,c]),he.useEffect(()=>wr(t.registerCommand(Bu,h=>{const m=h;if(a!==null&&a.length&&i!==null){const g=i!==a.length-1?i+1:0;f(g);const _=a[g];_.ref!=null&&_.ref.current&&t.dispatchCommand(cC,{index:g,option:_}),m.preventDefault(),m.stopImmediatePropagation()}return!0},c),t.registerCommand(Fu,h=>{const m=h;if(a!==null&&a.length&&i!==null){const g=i!==0?i-1:a.length-1;f(g);const _=a[g];_.ref!=null&&_.ref.current&&aC(_.ref.current),m.preventDefault(),m.stopImmediatePropagation()}return!0},c),t.registerCommand(Ls,h=>{const m=h;return m.preventDefault(),m.stopImmediatePropagation(),l(),!0},c),t.registerCommand(Sf,h=>{const m=h;return a!==null&&i!==null&&a[i]!=null&&(m.preventDefault(),m.stopImmediatePropagation(),p(a[i]),!0)},c),t.registerCommand(Rs,h=>a!==null&&i!==null&&a[i]!=null&&(h!==null&&(h.preventDefault(),h.stopImmediatePropagation()),p(a[i]),!0),c)),[p,l,t,a,i,f,c]),r(n,he.useMemo(()=>({options:a,selectOptionAndCleanUp:p,selectedIndex:i,setHighlightedIndex:u}),[p,i,a]),e.match?e.match.matchingString:"")}function z3({options:l,nodeKey:t,onClose:n,onOpen:e,onSelectOption:a,menuRenderFn:r,anchorClassName:o,commandPriority:s=Yn,parent:c}){const[i]=xn(),[u,d]=he.useState(null),p=function(g,_,v,w=document.body){const[S]=xn(),E=he.useRef(document.createElement("div")),b=he.useCallback(()=>{E.current.style.top=E.current.style.bottom;const x=S.getRootElement(),C=E.current,T=C.firstChild;if(x!==null&&g!==null){const{left:L,top:B,width:D,height:F}=g.getRect(),O=E.current.offsetHeight;if(C.style.top=`${B+window.pageYOffset+O+3}px`,C.style.left=`${L+window.pageXOffset}px`,C.style.height=`${F}px`,C.style.width=`${D}px`,T!==null){T.style.top=`${B}`;const j=T.getBoundingClientRect(),P=j.height,R=j.width,N=x.getBoundingClientRect();L+R>N.right&&(C.style.left=`${N.right-R+window.pageXOffset}px`),(B+P>window.innerHeight||B+P>N.bottom)&&B-N.top>P+F&&(C.style.top=B-P+window.pageYOffset-F+"px")}C.isConnected||(v!=null&&(C.className=v),C.setAttribute("aria-label","Typeahead menu"),C.setAttribute("id","typeahead-menu"),C.setAttribute("role","listbox"),C.style.display="block",C.style.position="absolute",w.append(C)),E.current=C,x.setAttribute("aria-controls","typeahead-menu")}},[S,g,v,w]);he.useEffect(()=>{const x=S.getRootElement();if(g!==null)return b(),()=>{x!==null&&x.removeAttribute("aria-controls");const C=E.current;C!==null&&C.isConnected&&C.remove()}},[S,b,g]);const y=he.useCallback(x=>{g!==null&&(x||_(null))},[g,_]);return F3(g,E.current,b,y),E}(u,d,o,c),f=he.useCallback(()=>{d(null),n!=null&&u!==null&&n()},[n,u]),h=he.useCallback(g=>{d(g),e!=null&&u===null&&e(g)},[e,u]),m=he.useCallback(()=>{t?i.update(()=>{const g=Bn(t),_=i.getElementByKey(t);var v;g!=null&&_!=null&&u==null&&(v=()=>h({getRect:()=>_.getBoundingClientRect()}),sr.startTransition?sr.startTransition(v):v())}):t==null&&u!=null&&f()},[f,i,t,h,u]);return he.useEffect(()=>{m()},[m,t]),he.useEffect(()=>{if(t!=null)return i.registerUpdateListener(({dirtyElements:g})=>{g.get(t)&&m()})},[i,m,t]),u===null||i===null?null:ue.jsx(B3,{close:f,resolution:u,editor:i,anchorElementRef:p,options:l,menuRenderFn:r,onSelectOption:a,commandPriority:s})}const U3=/((https?:\/\/(www\.)?)|(www\.))[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_+.~#?&//=]*)/,H3=fo();class uC extends L3{constructor(t,n){super(t),this.title=t,this.onSelect=n.onSelect.bind(this)}}function $3({embedConfigs:l,onOpenEmbedModalForConfig:t,getMenuOptions:n,menuRenderFn:e,menuCommandPriority:a=Yn}){const[r]=xn(),[o,s]=he.useState(null),[c,i]=he.useState(null),u=he.useCallback(()=>{s(null),i(null)},[]),d=he.useCallback(m=>{r.getEditorState().read(async function(){const g=Bn(m);if(Qo(g))for(let _=0;_<l.length;_++){const v=l[_];await Promise.resolve(v.parseUrl(g.__url))!=null&&(i(v),s(g.getKey()))}})},[r,l]);he.useEffect(()=>wr(...[yc,sd].map(m=>r.registerMutationListener(m,(...g)=>((_,{updateTags:v,dirtyLeaves:w})=>{for(const[S,E]of _)E==="created"&&v.has("paste")&&w.size<=3?d(S):S===o&&u()})(...g)))),[d,r,l,o,u]),he.useEffect(()=>r.registerCommand(H3,m=>{const g=l.find(({type:_})=>_===m);return!!g&&(t(g),!0)},Tn),[r,l,t]);const p=he.useCallback(async function(){if(c!=null&&o!=null){const m=r.getEditorState().read(()=>{const g=Bn(o);return Qo(g)?g:null});if(Qo(m)){const g=await Promise.resolve(c.parseUrl(m.__url));g!=null&&r.update(()=>{Tt()||m.selectEnd(),c.insertNode(r,g),m.isAttached()&&m.remove()})}}},[c,r,o]),f=he.useMemo(()=>c!=null&&o!=null?n(c,p,u):[],[c,p,n,o,u]),h=he.useCallback((m,g,_)=>{r.update(()=>{m.onSelect(g),_()})},[r]);return o!=null?ue.jsx(z3,{nodeKey:o,onClose:u,onSelectOption:h,options:f,menuRenderFn:e,commandPriority:a}):null}const q3=fo(),W3=fo(),J3=fo(),V3={contentName:"Youtube Video",exampleUrl:"https://www.youtube.com/watch?v=jNQXAC9IVRw",icon:ue.jsx("i",{className:"icon youtube"}),insertNode:(l,t)=>{l.dispatchCommand(J3,t.id)},keywords:["youtube","video"],parseUrl:async l=>{const t=/^.*(youtu\.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#&?]*).*/.exec(l),n=t&&(t==null?void 0:t[2].length)===11?t[2]:null;return n!=null?{id:n,url:l}:null},type:"youtube-video"},K3=[{contentName:"Tweet",exampleUrl:"https://twitter.com/jack/status/20",icon:ue.jsx("i",{className:"icon tweet"}),insertNode:(l,t)=>{l.dispatchCommand(W3,t.id)},keywords:["tweet","twitter"],parseUrl:l=>{const t=/^https:\/\/(twitter|x)\.com\/(#!\/)?(\w+)\/status(es)*\/(\d+)/.exec(l);return t!=null?{id:t[5],url:t[1]}:null},type:"tweet"},V3,{contentName:"Figma Document",exampleUrl:"https://www.figma.com/file/LKQ4FJ4bTnCSjedbRpk931/Sample-File",icon:ue.jsx("i",{className:"icon figma"}),insertNode:(l,t)=>{l.dispatchCommand(q3,t.id)},keywords:["figma","figma.com","mock-up"],parseUrl:l=>{const t=/https:\/\/([\w.-]+\.)?figma.com\/(file|proto)\/([0-9a-zA-Z]{22,128})(?:\/.*)?$/.exec(l);return t!=null?{id:t[3],url:t[0]}:null},type:"figma"}];function G3({index:l,isSelected:t,onClick:n,onMouseEnter:e,option:a}){let r="item";return t&&(r+=" selected"),ue.jsx("li",{tabIndex:-1,className:r,ref:a.setRefElement,role:"option","aria-selected":t,id:"typeahead-item-"+l,onMouseEnter:e,onClick:n,children:ue.jsx("span",{className:"text",children:a.title})},a.key)}function Y3({options:l,selectedItemIndex:t,onOptionClick:n,onOptionMouseEnter:e}){return ue.jsx("div",{className:"typeahead-popover",children:ue.jsx("ul",{children:l.map((a,r)=>ue.jsx(G3,{index:r,isSelected:t===r,onClick:()=>n(a,r),onMouseEnter:()=>e(r),option:a},a.key))})})}const Z3=(l,t)=>{let n;return e=>{window.clearTimeout(n),n=window.setTimeout(()=>{l(e)},t)}};function X3({embedConfig:l,onClose:t}){const[n,e]=he.useState(""),[a]=xn(),[r,o]=he.useState(null),s=he.useMemo(()=>Z3(i=>{const u=U3.exec(i);l!=null&&i!=null&&u!=null?Promise.resolve(l.parseUrl(i)).then(d=>{o(d)}):r!=null&&o(null)},200),[l,r]),c=()=>{r!=null&&(l.insertNode(a,r),t())};return ue.jsxs("div",{style:{width:"600px"},children:[ue.jsx("div",{className:"Input__wrapper",children:ue.jsx("input",{type:"text",className:"Input__input",placeholder:l.exampleUrl,value:n,"data-test-id":`${l.type}-embed-modal-url`,onChange:i=>{const{value:u}=i.target;e(u),s(u)}})}),ue.jsx(kp,{children:ue.jsx(Fi,{disabled:!r,onClick:c,"data-test-id":`${l.type}-embed-modal-submit-btn`,children:"Embed"})})]})}function Q3(){const[l,t]=Da(),n=a=>{t(`Embed ${a.contentName}`,r=>ue.jsx(X3,{embedConfig:a,onClose:r}))},e=(a,r,o)=>[new uC("Dismiss",{onSelect:o}),new uC(`Embed ${a.contentName}`,{onSelect:r})];return ue.jsxs(ue.Fragment,{children:[l,ue.jsx($3,{embedConfigs:K3,onOpenEmbedModalForConfig:n,getMenuOptions:e,menuRenderFn:(a,{selectedIndex:r,options:o,selectOptionAndCleanUp:s,setHighlightedIndex:c})=>a.current?vf.createPortal(ue.jsx("div",{className:"typeahead-popover auto-embed-menu",style:{marginLeft:a.current.style.width,width:200},children:ue.jsx(Y3,{options:o,selectedItemIndex:r,onOptionClick:(i,u)=>{c(u),s(i)},onOptionMouseEnter:i=>{c(i)}})}),a.current):null})]})}class eD extends $E{constructor(n,e,a){super(n);Un(this,"title");Un(this,"emoji");Un(this,"keywords");this.title=n,this.emoji=e,this.keywords=a.keywords||[]}}function tD({index:l,isSelected:t,onClick:n,onMouseEnter:e,option:a}){let r="item";return t&&(r+=" selected"),ue.jsx("li",{tabIndex:-1,className:r,ref:a.setRefElement,role:"option","aria-selected":t,id:"typeahead-item-"+l,onMouseEnter:e,onClick:n,children:ue.jsxs("span",{className:"text",children:[a.emoji," ",a.title]})},a.key)}const nD=10;function rD(){const[l]=xn(),[t,n]=he.useState(null),[e,a]=he.useState([]);he.useEffect(()=>{Promise.resolve().then(()=>DD).then(i=>a(i.default))},[]);const r=he.useMemo(()=>e!=null?e.map(({emoji:i,aliases:u,tags:d})=>new eD(u[0],i,{keywords:[...u,...d]})):[],[e]),o=VE(":",{minLength:0}),s=he.useMemo(()=>r.filter(i=>t!=null?new RegExp(t,"gi").exec(i.title)||i.keywords!=null?i.keywords.some(u=>new RegExp(t,"gi").exec(u)):!1:r).slice(0,nD),[r,t]),c=he.useCallback((i,u,d)=>{l.update(()=>{const p=Tt();!Ct(p)||i==null||(u&&u.remove(),p.insertNodes([er(i.emoji)]),d())})},[l]);return ue.jsx(KE,{onQueryChange:n,onSelectOption:c,triggerFn:o,options:s,menuRenderFn:(i,{selectedIndex:u,selectOptionAndCleanUp:d,setHighlightedIndex:p})=>i.current==null||s.length===0?null:i.current&&s.length?vf.createPortal(ue.jsx("div",{className:"typeahead-popover emoji-menu",children:ue.jsx("ul",{children:s.map((f,h)=>ue.jsx("div",{children:ue.jsx(tD,{index:h,isSelected:u===h,onClick:()=>{p(h),d(f)},onMouseEnter:()=>{p(h)},option:f})},f.key))})}),i.current):null})}const dC=new Map([[":)",["emoji happysmile","🙂"]],[":D",["emoji veryhappysmile","😀"]],[":(",["emoji unhappysmile","🙁"]],["<3",["emoji heart","❤"]],["🙂",["emoji happysmile","🙂"]],["😀",["emoji veryhappysmile","😀"]],["🙁",["emoji unhappysmile","🙁"]],["❤",["emoji heart","❤"]]]);function oD(l){const t=l.getTextContent();for(let n=0;n<t.length;n++){const e=dC.get(t[n])||dC.get(t.slice(n,n+2));if(e!==void 0){const[a,r]=e;let o;n===0?[o]=l.splitText(n+2):[,o]=l.splitText(n,n+2);const s=p1(a,r);return o.replace(s),s}}return null}function iD(l){let t=l;for(;t!==null;){if(!t.isSimpleText())return;t=oD(t)}}function sD(l){he.useEffect(()=>{if(!l.hasNodes([hd]))throw new Error("EmojisPlugin: EmojiNode not registered on editor");return l.registerNodeTransform(no,iD)},[l])}function aD(){const[l]=xn();return sD(l),null}const fC=iS([...O1]);function lD({initialEditorState:l,userObj:t,CollabApiKey:n,docId:e,mentionItems:a,type:r,updateSharepointList:o,updateSharepointList2:s,savedComments:c,styleConfig:i,handleSaveComments:u,pagination:d=!1,customHeight:p,customWidth:f,isCollab:h=!0,defaultState:m,editId:g,toolbarShow:_=!0,isEditable:v=!1,showTabContent:w=!0,wpAndTaskId:S,enableCaptions:E=!0}){const b=he.useRef(null),{historyState:y}=bb(),[x,C]=he.useState([]),[T,L]=he.useState("skyp_1"),[B,D]=he.useState([]),[F,O]=he.useState(!1),[j,P]=Da(),[R,N]=he.useState(null),[U,M]=he.useState([]),[z,V]=he.useState(null),[K,A]=he.useState(!1),[q,W]=he.useState(!1);he.useState(!1);const[H,G]=he.useState([]),Z=he.useRef(null),[Q,Y]=he.useState(!1);he.useState(!1);const ee=async()=>({state:{root:[]},timestamp:Date.now()});let re=()=>{console.log("[Lexical Demo][onBlacklistedInsert] blacklisted combination found")};const{userName:de,userId:fe,userEmail:ne}=t||{userName:"aa",userId:"aa",userEmail:"aa@sample.com"},Se={name:de,id:fe,email:ne},we={docId:e+"_"+g,apiKey:n,user:Se,hooks:{fetchDocOnNetworkReconnect:ee,contentChanged:(Oe,Ke)=>{},usersUpdate:Oe=>{C(Oe),renderOnlineUsers(Oe),console.log("[Lexical Demo][usersUpdate hook] hook invoked by Codox: ",Oe)}}};he.useEffect(()=>{let Oe=[],Ke=[];x&&x.length>0&&x.map((it,nt)=>{Ke.includes(it.name)||(Ke.push(it.name),Oe.push(ue.jsxs("div",{title:it.name,className:`avatarStyle avatar-color-${nt+1}`,children:[" ",it.name&&it.name[0],it.name&&it.name[4]]},nt)))}),D(Oe)},[x]);const me=()=>{Z.current&&(Z.current.initComments(c),["content_changed","error","users_update"].forEach(Ke=>{console.log("[Lexical Demo][[Subscribe to Codox Event]: ",Ke),Z.current.on(Ke,it=>{})}),Z.current.start(we).then(()=>{console.log("[Lexical Demo][codox.start] success"),O(!0)}).catch(Ke=>console.log("[Lexical Demo][codox.start] error",Ke)))},je=()=>{Z.current&&Z.current.stop(),O(!1)};he.useEffect(()=>{setTimeout(()=>{Fa('[class^="finalProposalEditorContainer_"]').animate({scrollTop:0},500,()=>{})},1e3)},[]),he.useEffect(()=>{Fa(".editor-outer").css({justifyContent:q?"flex-start":"center"})},[q]),he.useEffect(()=>{(async()=>{if(!T)return;F&&je();let Oe=m;if(Oe)try{sS(Oe,fC),N(Oe)}catch(Ke){console.error("[APP] error: ",Ke)}})()},[T]),he.useEffect(()=>{R&&e&&!F&&n&&setTimeout(()=>{me()},2e3)},[R,e,F,n]);const ce=he.useMemo(()=>{if(R)return{editorState:Oe=>{Oe.update(()=>{const Ke=new DOMParser,it=Dw(l),nt=Ke.parseFromString(it,"text/html");let st=ny(Oe,nt);zn().clear();const He=Cn();Ri(st),Ri([He]),Oe.setEditable(v),setTimeout(()=>{Oe.setEditable(v),Le(!0)},5e3);const Ot=new Wd(Oe);c&&(Ot.setComments(c),Oe._commentStore||(Oe._commentStore=new Wd(Oe),Oe._commentStore.getComments().length===0&&Oe._commentStore.setComments(c)))})},namespace:"Playground",nodes:fC,onError:Oe=>{console.error("[Lexical Demo][Editor Error Captured]: ",Oe)},theme:Xm}},[R]),se=he.useRef(l);he.useEffect(()=>{se.current||(se.current=l)},[l]);const pe=ue.jsx(Ed,{children:"Enter some plain text..."}),[le,ke]=he.useState(null),[Te,Ce]=he.useState(!1),[Me,qe]=he.useState(!1),[Re,Le]=he.useState(!1),Ee=Oe=>{Oe!==null&&ke(Oe)};he.useEffect(()=>{const Oe=()=>{const Ke=Oc&&window.matchMedia("(max-width: 1025px)").matches;Ke!==Te&&Ce(Ke)};return Oe(),window.addEventListener("resize",Oe),()=>{window.removeEventListener("resize",Oe)}},[Te]),he.useEffect(()=>{const Oe=Ke=>{z&&!Ke.target.closest(".reference-toolbar")&&V(null)};return document.addEventListener("click",Oe),()=>{document.removeEventListener("click",Oe)}},[z]),he.useEffect(()=>{l&&t&&t.userName&&e&&i?setTimeout(()=>{Y(!0)},1e3):Y(!1)},[l,t,i]);const Qe=Oe=>{console.log("CustomOnChange",Oe),s(Oe)};return ue.jsx(ue.Fragment,{children:Q?ue.jsxs(op,{initialConfig:ce,children:[ue.jsx(_b,{children:ue.jsx(N1,{children:ue.jsxs("div",{ref:b,className:"editor-shell",style:{position:"relative"},children:[ue.jsxs(ue.Fragment,{children:[ue.jsx(rC,{showComments:K,setShowComments:A,handleSaveComments:u,userName:de,userEmail:ne,mentionItems:a,mentionedEmails:H,setmentionedEmails:G,wpAndTaskId:S}),v?ue.jsxs(ue.Fragment,{children:[i&&_&&ue.jsx(Lw,{styleConfig:i,setIsLinkEditMode:qe,onlUser:B,showComments:K,setShowComments:A,enableCaptions:E})," "]}):"",ue.jsx(iC,{onChange:Qe}),ue.jsxs("div",{className:"editor-container tree-view",children:[ue.jsx(fw,{}),ue.jsx(rD,{}),ue.jsx(Q3,{}),ue.jsx(aD,{}),ue.jsx(I1,{}),ue.jsx(pw,{}),ue.jsx(iw,{}),ue.jsx(cp,{externalHistoryState:y}),ue.jsx(Dp,{contentEditable:ue.jsx("div",{className:"editor-scroller",children:ue.jsx("div",{className:"editor",ref:Ee,children:ue.jsxs("div",{className:`editor-autosave-${g}`,children:[" ",ue.jsx(Sd,{className:(F||Re)&&v?"ContentEditable__root":"ContentEditable__root no-events"})]})})}),placeholder:pe,ErrorBoundary:Pl}),ue.jsx(M1,{}),ue.jsx(gw,{maxDepth:7}),ue.jsx(Q1,{hasCellMerge:!0,hasCellBackgroundColor:!0}),h&&ue.jsx(Tw,{}),ue.jsx(lw,{enableCaptions:E}),ue.jsx(ly,{}),ue.jsx(vw,{}),le&&!Te&&ue.jsx(ue.Fragment,{children:ue.jsx(kw,{anchorElem:le,cellMerge:!0})}),z&&ue.jsx(OS,{references:U,setReferences:M,position:z,onClose:()=>V(null)}),ue.jsx(NS,{setContextMenu:V,references:U,setReferences:M,containerRef:b}),ue.jsx(AS,{references:U,setReferences:M}),ue.jsx(k1,{}),ue.jsx(PS,{})]})]}),h&&ue.jsx(oS,{debug:!0,ref:Z,onBlacklistedInsert:re}),j]})})}),i&&ue.jsx(kS,{styleConfig:i})]},e):ue.jsx(oC,{})})}const kR="";function cD(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var uD=cD(function(l){const t=new URLSearchParams;t.append("code",l);for(let n=1;n<arguments.length;n++)t.append("v",arguments[n]);throw Error(`Minified Lexical error #${l}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)});function pC(l){const t=l.transform();return t!==null?new Set([t]):new Set}function hC({initialEditor:l,children:t,initialNodes:n,initialTheme:e,skipCollabChecks:a}){const r=he.useRef(!1),o=he.useContext(Du);o==null&&uD(9);const[s,{getTheme:c}]=o,i=he.useMemo(()=>{const f=e||c()||void 0,h=Sv(o,f);if(f!==void 0&&(l._config.theme=f),l._parentEditor=s,n)for(let m of n){let g=null,_=null;if(typeof m!="function"){const w=m;m=w.replace,g=w.with,_=w.withKlass||null}const v=l._nodes.get(m.getType());l._nodes.set(m.getType(),{exportDOM:v?v.exportDOM:void 0,klass:m,replace:g,replaceWithKlass:_,transforms:pC(m)})}else{const m=l._nodes=new Map(s._nodes);for(const[g,_]of m)l._nodes.set(g,{exportDOM:_.exportDOM,klass:_.klass,replace:_.replace,replaceWithKlass:_.replaceWithKlass,transforms:pC(_.klass)})}return l._config.namespace=s._config.namespace,l._editable=s._editable,[l,h]},[]),{isCollabActive:u,yjsDocMap:d}=Cd(),p=a||r.current||d.has(l.getKey());return he.useEffect(()=>{p&&(r.current=!0)},[p]),he.useEffect(()=>s.registerEditableListener(f=>{l.setEditable(f)}),[l,s]),ue.jsx(Du.Provider,{value:i,children:!u||p?t:null})}function v0(l,t,n){return Math.min(Math.max(l,t),n)}const Nr={east:1,north:8,south:2,west:4};function dD({onResizeStart:l,onResizeEnd:t,buttonRef:n,imageRef:e,maxWidth:a,editor:r,showCaption:o,setShowCaption:s,enableCaptions:c}){const i=he.useRef(null),u=he.useRef({priority:"",value:"default"}),d=he.useRef({currentHeight:0,currentWidth:0,direction:0,isResizing:!1,ratio:0,startHeight:0,startWidth:0,startX:0,startY:0}),p=r.getRootElement(),f=p!==null?p.getBoundingClientRect().width-20:100,h=p!==null?p.getBoundingClientRect().height-20:100,m=100,g=100,_=b=>{const y=b===Nr.east||b===Nr.west,x=b===Nr.north||b===Nr.south,C=b&Nr.north&&b&Nr.west||b&Nr.south&&b&Nr.east,T=y?"ew":x?"ns":C?"nwse":"nesw";p!==null&&p.style.setProperty("cursor",`${T}-resize`,"important"),document.body!==null&&(document.body.style.setProperty("cursor",`${T}-resize`,"important"),u.current.value=document.body.style.getPropertyValue("-webkit-user-select"),u.current.priority=document.body.style.getPropertyPriority("-webkit-user-select"),document.body.style.setProperty("-webkit-user-select","none","important"))},v=()=>{p!==null&&p.style.setProperty("cursor","text"),document.body!==null&&(document.body.style.setProperty("cursor","default"),document.body.style.setProperty("-webkit-user-select",u.current.value,u.current.priority))},w=(b,y)=>{if(!r.isEditable())return;const x=e.current,C=i.current;if(x!==null&&C!==null){b.preventDefault();const{width:T,height:L}=x.getBoundingClientRect(),B=d.current;B.startWidth=T,B.startHeight=L,B.ratio=T/L,B.currentWidth=T,B.currentHeight=L,B.startX=b.clientX,B.startY=b.clientY,B.isResizing=!0,B.direction=y,_(y),l(),C.classList.add("image-control-wrapper--resizing"),x.style.height=`${L}px`,x.style.width=`${T}px`,document.addEventListener("pointermove",S),document.addEventListener("pointerup",E)}},S=b=>{const y=e.current,x=d.current,C=x.direction&(Nr.east|Nr.west),T=x.direction&(Nr.south|Nr.north);if(y!==null&&x.isResizing){if(C&&T){let L=Math.floor(x.startX-b.clientX);L=x.direction&Nr.east?-L:L;const B=v0(x.startWidth+L,m,f),D=B/x.ratio;y.style.width=`${B}px`,y.style.height=`${D}px`,x.currentHeight=D,x.currentWidth=B}else if(T){let L=Math.floor(x.startY-b.clientY);L=x.direction&Nr.south?-L:L;const B=v0(x.startHeight+L,g,h);y.style.height=`${B}px`,y.style.maxHeight=`${B}px`,x.currentHeight=B}else{let L=Math.floor(x.startX-b.clientX);L=x.direction&Nr.east?-L:L;const B=v0(x.startWidth+L,m,f);y.style.width=`${B}px`,y.style.maxWidth=`${B}px`,x.currentWidth=B}y&&(y.setAttribute("width",`${x.currentWidth}`),y.setAttribute("height",`${x.currentHeight}`))}},E=()=>{const b=e.current,y=d.current,x=i.current;if(b!==null&&x!==null&&y.isResizing){const C=y.currentWidth,T=y.currentHeight;y.startWidth=0,y.startHeight=0,y.ratio=0,y.startX=0,y.startY=0,y.currentWidth=0,y.currentHeight=0,y.isResizing=!1,x.classList.remove("image-control-wrapper--resizing"),v(),t(C,T),document.removeEventListener("pointermove",S),document.removeEventListener("pointerup",E)}};return ue.jsxs("div",{ref:i,children:[ue.jsx("div",{className:"image-resizer image-resizer-n",onPointerDown:b=>{w(b,Nr.north)}}),ue.jsx("div",{className:"image-resizer image-resizer-ne",onPointerDown:b=>{w(b,Nr.north|Nr.east)}}),ue.jsx("div",{className:"image-resizer image-resizer-e",onPointerDown:b=>{w(b,Nr.east)}}),ue.jsx("div",{className:"image-resizer image-resizer-se",onPointerDown:b=>{w(b,Nr.south|Nr.east)}}),ue.jsx("div",{className:"image-resizer image-resizer-s",onPointerDown:b=>{w(b,Nr.south)}}),ue.jsx("div",{className:"image-resizer image-resizer-sw",onPointerDown:b=>{w(b,Nr.south|Nr.west)}}),ue.jsx("div",{className:"image-resizer image-resizer-w",onPointerDown:b=>{w(b,Nr.west)}}),ue.jsx("div",{className:"image-resizer image-resizer-nw",onPointerDown:b=>{w(b,Nr.north|Nr.west)}})]})}const Ph={x:0,y:0,width:0,height:0,unit:"px"},cu=(l,t,n)=>Math.min(Math.max(l,t),n),fD=(...l)=>l.filter(t=>t&&typeof t=="string").join(" "),gC=(l,t)=>l===t||l.width===t.width&&l.height===t.height&&l.x===t.x&&l.y===t.y&&l.unit===t.unit;function uu(l,t,n){return l.unit==="%"?{...Ph,...l,unit:"%"}:{unit:"%",x:l.x?l.x/t*100:0,y:l.y?l.y/n*100:0,width:l.width?l.width/t*100:0,height:l.height?l.height/n*100:0}}function Ya(l,t,n){return l.unit?l.unit==="px"?{...Ph,...l,unit:"px"}:{unit:"px",x:l.x?l.x*t/100:0,y:l.y?l.y*n/100:0,width:l.width?l.width*t/100:0,height:l.height?l.height*n/100:0}:{...Ph,...l,unit:"px"}}function mC(l,t,n,e,a,r=0,o=0,s=e,c=a){const i={...l};let u=Math.min(r,e),d=Math.min(o,a),p=Math.min(s,e),f=Math.min(c,a);t&&(t>1?(u=o?o*t:u,d=u/t,p=s*t):(d=r?r/t:d,u=d*t,f=c/t)),i.y<0&&(i.height=Math.max(i.height+i.y,d),i.y=0),i.x<0&&(i.width=Math.max(i.width+i.x,u),i.x=0);const h=e-(i.x+i.width);h<0&&(i.x=Math.min(i.x,e-u),i.width+=h);const m=a-(i.y+i.height);if(m<0&&(i.y=Math.min(i.y,a-d),i.height+=m),i.width<u&&((n==="sw"||n=="nw")&&(i.x-=u-i.width),i.width=u),i.height<d&&((n==="nw"||n=="ne")&&(i.y-=d-i.height),i.height=d),i.width>p&&((n==="sw"||n=="nw")&&(i.x-=p-i.width),i.width=p),i.height>f&&((n==="nw"||n=="ne")&&(i.y-=f-i.height),i.height=f),t){const g=i.width/i.height;if(g<t){const _=Math.max(i.width/t,d);(n==="nw"||n=="ne")&&(i.y-=_-i.height),i.height=_}else if(g>t){const _=Math.max(i.height*t,u);(n==="sw"||n=="nw")&&(i.x-=_-i.width),i.width=_}}return i}function pD(l,t,n,e){const a={...l};return t==="ArrowLeft"?e==="nw"?(a.x-=n,a.y-=n,a.width+=n,a.height+=n):e==="w"?(a.x-=n,a.width+=n):e==="sw"?(a.x-=n,a.width+=n,a.height+=n):e==="ne"?(a.y+=n,a.width-=n,a.height-=n):e==="e"?a.width-=n:e==="se"&&(a.width-=n,a.height-=n):t==="ArrowRight"&&(e==="nw"?(a.x+=n,a.y+=n,a.width-=n,a.height-=n):e==="w"?(a.x+=n,a.width-=n):e==="sw"?(a.x+=n,a.width-=n,a.height-=n):e==="ne"?(a.y-=n,a.width+=n,a.height+=n):e==="e"?a.width+=n:e==="se"&&(a.width+=n,a.height+=n)),t==="ArrowUp"?e==="nw"?(a.x-=n,a.y-=n,a.width+=n,a.height+=n):e==="n"?(a.y-=n,a.height+=n):e==="ne"?(a.y-=n,a.width+=n,a.height+=n):e==="sw"?(a.x+=n,a.width-=n,a.height-=n):e==="s"?a.height-=n:e==="se"&&(a.width-=n,a.height-=n):t==="ArrowDown"&&(e==="nw"?(a.x+=n,a.y+=n,a.width-=n,a.height-=n):e==="n"?(a.y+=n,a.height-=n):e==="ne"?(a.y+=n,a.width-=n,a.height-=n):e==="sw"?(a.x-=n,a.width+=n,a.height+=n):e==="s"?a.height+=n:e==="se"&&(a.width+=n,a.height+=n)),a}const du={capture:!0,passive:!1};let hD=0;const Za=class ys extends he.PureComponent{constructor(){super(...arguments),this.docMoveBound=!1,this.mouseDownOnCrop=!1,this.dragStarted=!1,this.evData={startClientX:0,startClientY:0,startCropX:0,startCropY:0,clientX:0,clientY:0,isResize:!0},this.componentRef=he.createRef(),this.mediaRef=he.createRef(),this.initChangeCalled=!1,this.instanceId=`rc-${hD++}`,this.state={cropIsActive:!1,newCropIsBeingDrawn:!1},this.onCropPointerDown=t=>{const{crop:n,disabled:e}=this.props,a=this.getBox();if(!n)return;const r=Ya(n,a.width,a.height);if(e)return;t.cancelable&&t.preventDefault(),this.bindDocMove(),this.componentRef.current.focus({preventScroll:!0});const o=t.target.dataset.ord,s=!!o;let c=t.clientX,i=t.clientY,u=r.x,d=r.y;if(o){const p=t.clientX-a.x,f=t.clientY-a.y;let h=0,m=0;o==="ne"||o=="e"?(h=p-(r.x+r.width),m=f-r.y,u=r.x,d=r.y+r.height):o==="se"||o==="s"?(h=p-(r.x+r.width),m=f-(r.y+r.height),u=r.x,d=r.y):o==="sw"||o=="w"?(h=p-r.x,m=f-(r.y+r.height),u=r.x+r.width,d=r.y):(o==="nw"||o=="n")&&(h=p-r.x,m=f-r.y,u=r.x+r.width,d=r.y+r.height),c=u+a.x+h,i=d+a.y+m}this.evData={startClientX:c,startClientY:i,startCropX:u,startCropY:d,clientX:t.clientX,clientY:t.clientY,isResize:s,ord:o},this.mouseDownOnCrop=!0,this.setState({cropIsActive:!0})},this.onComponentPointerDown=t=>{const{crop:n,disabled:e,locked:a,keepSelection:r,onChange:o}=this.props,s=this.getBox();if(e||a||r&&n)return;t.cancelable&&t.preventDefault(),this.bindDocMove(),this.componentRef.current.focus({preventScroll:!0});const c=t.clientX-s.x,i=t.clientY-s.y,u={unit:"px",x:c,y:i,width:0,height:0};this.evData={startClientX:t.clientX,startClientY:t.clientY,startCropX:c,startCropY:i,clientX:t.clientX,clientY:t.clientY,isResize:!0},this.mouseDownOnCrop=!0,o(Ya(u,s.width,s.height),uu(u,s.width,s.height)),this.setState({cropIsActive:!0,newCropIsBeingDrawn:!0})},this.onDocPointerMove=t=>{const{crop:n,disabled:e,onChange:a,onDragStart:r}=this.props,o=this.getBox();if(e||!n||!this.mouseDownOnCrop)return;t.cancelable&&t.preventDefault(),this.dragStarted||(this.dragStarted=!0,r&&r(t));const{evData:s}=this;s.clientX=t.clientX,s.clientY=t.clientY;let c;s.isResize?c=this.resizeCrop():c=this.dragCrop(),gC(n,c)||a(Ya(c,o.width,o.height),uu(c,o.width,o.height))},this.onComponentKeyDown=t=>{const{crop:n,disabled:e,onChange:a,onComplete:r}=this.props;if(e)return;const o=t.key;let s=!1;if(!n)return;const c=this.getBox(),i=this.makePixelCrop(c),u=(navigator.platform.match("Mac")?t.metaKey:t.ctrlKey)?ys.nudgeStepLarge:t.shiftKey?ys.nudgeStepMedium:ys.nudgeStep;if(o==="ArrowLeft"?(i.x-=u,s=!0):o==="ArrowRight"?(i.x+=u,s=!0):o==="ArrowUp"?(i.y-=u,s=!0):o==="ArrowDown"&&(i.y+=u,s=!0),s){t.cancelable&&t.preventDefault(),i.x=cu(i.x,0,c.width-i.width),i.y=cu(i.y,0,c.height-i.height);const d=Ya(i,c.width,c.height),p=uu(i,c.width,c.height);a(d,p),r&&r(d,p)}},this.onHandlerKeyDown=(t,n)=>{const{aspect:e=0,crop:a,disabled:r,minWidth:o=0,minHeight:s=0,maxWidth:c,maxHeight:i,onChange:u,onComplete:d}=this.props,p=this.getBox();if(r||!a)return;if(t.key==="ArrowUp"||t.key==="ArrowDown"||t.key==="ArrowLeft"||t.key==="ArrowRight")t.stopPropagation(),t.preventDefault();else return;const f=(navigator.platform.match("Mac")?t.metaKey:t.ctrlKey)?ys.nudgeStepLarge:t.shiftKey?ys.nudgeStepMedium:ys.nudgeStep,h=Ya(a,p.width,p.height),m=pD(h,t.key,f,n),g=mC(m,e,n,p.width,p.height,o,s,c,i);if(!gC(a,g)){const _=uu(g,p.width,p.height);u(g,_),d&&d(g,_)}},this.onDocPointerDone=t=>{const{crop:n,disabled:e,onComplete:a,onDragEnd:r}=this.props,o=this.getBox();this.unbindDocMove(),!(e||!n)&&this.mouseDownOnCrop&&(this.mouseDownOnCrop=!1,this.dragStarted=!1,r&&r(t),a&&a(Ya(n,o.width,o.height),uu(n,o.width,o.height)),this.setState({cropIsActive:!1,newCropIsBeingDrawn:!1}))},this.onDragFocus=()=>{var t;(t=this.componentRef.current)==null||t.scrollTo(0,0)}}get document(){return document}getBox(){const t=this.mediaRef.current;if(!t)return{x:0,y:0,width:0,height:0};const{x:n,y:e,width:a,height:r}=t.getBoundingClientRect();return{x:n,y:e,width:a,height:r}}componentDidUpdate(t){const{crop:n,onComplete:e}=this.props;if(e&&!t.crop&&n){const{width:a,height:r}=this.getBox();a&&r&&e(Ya(n,a,r),uu(n,a,r))}}componentWillUnmount(){this.resizeObserver&&this.resizeObserver.disconnect(),this.unbindDocMove()}bindDocMove(){this.docMoveBound||(this.document.addEventListener("pointermove",this.onDocPointerMove,du),this.document.addEventListener("pointerup",this.onDocPointerDone,du),this.document.addEventListener("pointercancel",this.onDocPointerDone,du),this.docMoveBound=!0)}unbindDocMove(){this.docMoveBound&&(this.document.removeEventListener("pointermove",this.onDocPointerMove,du),this.document.removeEventListener("pointerup",this.onDocPointerDone,du),this.document.removeEventListener("pointercancel",this.onDocPointerDone,du),this.docMoveBound=!1)}getCropStyle(){const{crop:t}=this.props;if(t)return{top:`${t.y}${t.unit}`,left:`${t.x}${t.unit}`,width:`${t.width}${t.unit}`,height:`${t.height}${t.unit}`}}dragCrop(){const{evData:t}=this,n=this.getBox(),e=this.makePixelCrop(n),a=t.clientX-t.startClientX,r=t.clientY-t.startClientY;return e.x=cu(t.startCropX+a,0,n.width-e.width),e.y=cu(t.startCropY+r,0,n.height-e.height),e}getPointRegion(t,n,e,a){const{evData:r}=this,o=r.clientX-t.x,s=r.clientY-t.y;let c;a&&n?c=n==="nw"||n==="n"||n==="ne":c=s<r.startCropY;let i;return e&&n?i=n==="nw"||n==="w"||n==="sw":i=o<r.startCropX,i?c?"nw":"sw":c?"ne":"se"}resolveMinDimensions(t,n,e=0,a=0){const r=Math.min(e,t.width),o=Math.min(a,t.height);return!n||!r&&!o?[r,o]:n>1?r?[r,r/n]:[o*n,o]:o?[o*n,o]:[r,r/n]}resizeCrop(){const{evData:t}=this,{aspect:n=0,maxWidth:e,maxHeight:a}=this.props,r=this.getBox(),[o,s]=this.resolveMinDimensions(r,n,this.props.minWidth,this.props.minHeight);let c=this.makePixelCrop(r);const i=this.getPointRegion(r,t.ord,o,s),u=t.ord||i;let d=t.clientX-t.startClientX,p=t.clientY-t.startClientY;(o&&u==="nw"||u==="w"||u==="sw")&&(d=Math.min(d,-o)),(s&&u==="nw"||u==="n"||u==="ne")&&(p=Math.min(p,-s));const f={unit:"px",x:0,y:0,width:0,height:0};i==="ne"?(f.x=t.startCropX,f.width=d,n?(f.height=f.width/n,f.y=t.startCropY-f.height):(f.height=Math.abs(p),f.y=t.startCropY-f.height)):i==="se"?(f.x=t.startCropX,f.y=t.startCropY,f.width=d,n?f.height=f.width/n:f.height=p):i==="sw"?(f.x=t.startCropX+d,f.y=t.startCropY,f.width=Math.abs(d),n?f.height=f.width/n:f.height=p):i==="nw"&&(f.x=t.startCropX+d,f.width=Math.abs(d),n?(f.height=f.width/n,f.y=t.startCropY-f.height):(f.height=Math.abs(p),f.y=t.startCropY+p));const h=mC(f,n,i,r.width,r.height,o,s,e,a);return n||ys.xyOrds.indexOf(u)>-1?c=h:ys.xOrds.indexOf(u)>-1?(c.x=h.x,c.width=h.width):ys.yOrds.indexOf(u)>-1&&(c.y=h.y,c.height=h.height),c.x=cu(c.x,0,r.width-c.width),c.y=cu(c.y,0,r.height-c.height),c}renderCropSelection(){const{ariaLabels:t=ys.defaultProps.ariaLabels,disabled:n,locked:e,renderSelectionAddon:a,ruleOfThirds:r,crop:o}=this.props,s=this.getCropStyle();if(o)return he.createElement("div",{style:s,className:"ReactCrop__crop-selection",onPointerDown:this.onCropPointerDown,"aria-label":t.cropArea,tabIndex:0,onKeyDown:this.onComponentKeyDown,role:"group"},!n&&!e&&he.createElement("div",{className:"ReactCrop__drag-elements",onFocus:this.onDragFocus},he.createElement("div",{className:"ReactCrop__drag-bar ord-n","data-ord":"n"}),he.createElement("div",{className:"ReactCrop__drag-bar ord-e","data-ord":"e"}),he.createElement("div",{className:"ReactCrop__drag-bar ord-s","data-ord":"s"}),he.createElement("div",{className:"ReactCrop__drag-bar ord-w","data-ord":"w"}),he.createElement("div",{className:"ReactCrop__drag-handle ord-nw","data-ord":"nw",tabIndex:0,"aria-label":t.nwDragHandle,onKeyDown:c=>this.onHandlerKeyDown(c,"nw"),role:"button"}),he.createElement("div",{className:"ReactCrop__drag-handle ord-n","data-ord":"n",tabIndex:0,"aria-label":t.nDragHandle,onKeyDown:c=>this.onHandlerKeyDown(c,"n"),role:"button"}),he.createElement("div",{className:"ReactCrop__drag-handle ord-ne","data-ord":"ne",tabIndex:0,"aria-label":t.neDragHandle,onKeyDown:c=>this.onHandlerKeyDown(c,"ne"),role:"button"}),he.createElement("div",{className:"ReactCrop__drag-handle ord-e","data-ord":"e",tabIndex:0,"aria-label":t.eDragHandle,onKeyDown:c=>this.onHandlerKeyDown(c,"e"),role:"button"}),he.createElement("div",{className:"ReactCrop__drag-handle ord-se","data-ord":"se",tabIndex:0,"aria-label":t.seDragHandle,onKeyDown:c=>this.onHandlerKeyDown(c,"se"),role:"button"}),he.createElement("div",{className:"ReactCrop__drag-handle ord-s","data-ord":"s",tabIndex:0,"aria-label":t.sDragHandle,onKeyDown:c=>this.onHandlerKeyDown(c,"s"),role:"button"}),he.createElement("div",{className:"ReactCrop__drag-handle ord-sw","data-ord":"sw",tabIndex:0,"aria-label":t.swDragHandle,onKeyDown:c=>this.onHandlerKeyDown(c,"sw"),role:"button"}),he.createElement("div",{className:"ReactCrop__drag-handle ord-w","data-ord":"w",tabIndex:0,"aria-label":t.wDragHandle,onKeyDown:c=>this.onHandlerKeyDown(c,"w"),role:"button"})),a&&he.createElement("div",{className:"ReactCrop__selection-addon",onPointerDown:c=>c.stopPropagation()},a(this.state)),r&&he.createElement(he.Fragment,null,he.createElement("div",{className:"ReactCrop__rule-of-thirds-hz"}),he.createElement("div",{className:"ReactCrop__rule-of-thirds-vt"})))}makePixelCrop(t){const n={...Ph,...this.props.crop||{}};return Ya(n,t.width,t.height)}render(){const{aspect:t,children:n,circularCrop:e,className:a,crop:r,disabled:o,locked:s,style:c,ruleOfThirds:i}=this.props,{cropIsActive:u,newCropIsBeingDrawn:d}=this.state,p=r?this.renderCropSelection():null,f=fD("ReactCrop",a,u&&"ReactCrop--active",o&&"ReactCrop--disabled",s&&"ReactCrop--locked",d&&"ReactCrop--new-crop",r&&t&&"ReactCrop--fixed-aspect",r&&e&&"ReactCrop--circular-crop",r&&i&&"ReactCrop--rule-of-thirds",!this.dragStarted&&r&&!r.width&&!r.height&&"ReactCrop--invisible-crop",e&&"ReactCrop--no-animate");return he.createElement("div",{ref:this.componentRef,className:f,style:c},he.createElement("div",{ref:this.mediaRef,className:"ReactCrop__child-wrapper",onPointerDown:this.onComponentPointerDown},n),r?he.createElement("svg",{className:"ReactCrop__crop-mask",width:"100%",height:"100%"},he.createElement("defs",null,he.createElement("mask",{id:`hole-${this.instanceId}`},he.createElement("rect",{width:"100%",height:"100%",fill:"white"}),e?he.createElement("ellipse",{cx:`${r.x+r.width/2}${r.unit}`,cy:`${r.y+r.height/2}${r.unit}`,rx:`${r.width/2}${r.unit}`,ry:`${r.height/2}${r.unit}`,fill:"black"}):he.createElement("rect",{x:`${r.x}${r.unit}`,y:`${r.y}${r.unit}`,width:`${r.width}${r.unit}`,height:`${r.height}${r.unit}`,fill:"black"}))),he.createElement("rect",{fill:"black",fillOpacity:.5,width:"100%",height:"100%",mask:`url(#hole-${this.instanceId})`})):void 0,p)}};Za.xOrds=["e","w"],Za.yOrds=["n","s"],Za.xyOrds=["nw","ne","se","sw"],Za.nudgeStep=1,Za.nudgeStepMedium=10,Za.nudgeStepLarge=100,Za.defaultProps={ariaLabels:{cropArea:"Use the arrow keys to move the crop selection area",nwDragHandle:"Use the arrow keys to move the north west drag handle to change the crop selection area",nDragHandle:"Use the up and down arrow keys to move the north drag handle to change the crop selection area",neDragHandle:"Use the arrow keys to move the north east drag handle to change the crop selection area",eDragHandle:"Use the up and down arrow keys to move the east drag handle to change the crop selection area",seDragHandle:"Use the arrow keys to move the south east drag handle to change the crop selection area",sDragHandle:"Use the up and down arrow keys to move the south drag handle to change the crop selection area",swDragHandle:"Use the arrow keys to move the south west drag handle to change the crop selection area",wDragHandle:"Use the up and down arrow keys to move the west drag handle to change the crop selection area"}};let gD=Za;const TR="",_0=fo();function mD({altText:l,className:t,src:n,width:e,height:a,maxWidth:r,imageRef:o,startCrop:s,setStartCrop:c,isFocused:i,nodeKey:u}){const[d,p]=he.useState(null),[f,h]=he.useState({unit:"px",x:25,y:25,width:50,height:50}),[m]=xn(),g=()=>{if(d){const E=o.current;if(!E||!d)return;const b=E.naturalWidth/E.width,y=E.naturalHeight/E.height,x=new OffscreenCanvas(d.width*b,d.height*y),C=x.getContext("2d");if(!C)throw new Error("No 2D context available");C.drawImage(E,d.x*b,d.y*y,d.width*b,d.height*y,0,0,d.width*b,d.height*y),x.convertToBlob({type:"image/png"}).then(T=>{c(!1);const L=new FileReader;L.onload=()=>{const B=L.result;setTimeout(()=>{m.update(()=>{const D=Bn(u);Ma(D)&&B&&D.setSrc(B)},{tag:"crop"})},100)},L.onerror=()=>{console.error("Error reading the cropped image blob")},L.readAsDataURL(T)})}},_=()=>{s||c(E=>{if(E===!1){const b=o.current;h({unit:"px",x:0,y:0,width:b.width,height:b.height})}return!E})},v=he.useRef(null),w=he.useRef(null);he.useEffect(()=>{d&&(v.current=d)},[d]);const S=E=>{w.current&&!w.current.contains(E.target)&&c(!1)};return he.useEffect(()=>(document.addEventListener("mousedown",S),()=>{document.removeEventListener("mousedown",S)}),[]),ue.jsxs("div",{ref:w,children:[i&&ue.jsx("button",{style:{zIndex:999},className:"image-caption-button",onClick:()=>_(),children:"Crop"}),s&&ue.jsx("button",{style:{zIndex:999},className:"image-caption-button",onClick:()=>g(),children:"Apply Crop"}),s?ue.jsx(gD,{crop:f,onChange:E=>h(E),onComplete:E=>p(E),children:ue.jsx("img",{className:t||void 0,src:n,alt:l,ref:o,width:typeof e=="number"?e:void 0,height:typeof a=="number"?a:void 0,style:{height:a,maxWidth:r,width:e},draggable:"false",crossOrigin:"anonymous"})}):ue.jsx("img",{className:t||void 0,src:n,alt:l,ref:o,width:typeof e=="number"?e:void 0,height:typeof a=="number"?a:void 0,style:{height:a,maxWidth:r,width:e},draggable:"false",crossOrigin:"anonymous"})]})}function yD({src:l,altText:t,nodeKey:n,width:e,height:a,maxWidth:r,resizable:o,showCaption:s,caption:c,enableCaptions:i}){const u=he.useRef(null),d=he.useRef(null),[p,f,h]=_c(n),[m,g]=he.useState(!1),[_]=xn(),[v,w]=he.useState(null),[S,E]=he.useState(!1),b=he.useRef(null),y=he.useCallback(P=>p?(P.preventDefault(),_.update(()=>{const R=Bn(n);Ma(R)&&R.remove()}),!0):!1,[p,_,n]),x=he.useCallback(P=>{const R=Tt(),N=d.current;if(p&&fr(R)&&R.getNodes().length===1){if(s)return jr(null),P.preventDefault(),c.focus(),!0;if(N!==null&&N!==document.activeElement)return P.preventDefault(),N.focus(),!0}return!1},[c,p,s]),C=he.useCallback(P=>b.current===c||d.current===P.target?(jr(null),_.update(()=>{f(!0);const R=_.getRootElement();R!==null&&R.focus()}),!0):!1,[c,_,f]),T=he.useCallback(P=>{const R=P;return m?!0:R.target===u.current?(R.shiftKey?f(!p):(h(),f(!0)),!0):!1},[m,p,f,h]),L=he.useCallback(P=>{_.getEditorState().read(()=>{const R=Tt();P.target.tagName==="IMG"&&Ct(R)&&R.getNodes().length===1&&_.dispatchCommand(_0,P)})},[_]);he.useEffect(()=>{const P=N=>{(N.key==="Delete"||N.key==="Backspace")&&p&&(N.stopPropagation(),N.preventDefault(),_.update(()=>{const U=Bn(n);Ma(U)&&U.remove()}))},R=_.getRootElement();return R==null||R.addEventListener("keydown",P),()=>{R==null||R.removeEventListener("keydown",P)}},[p,_,n]),he.useEffect(()=>{let P=!0;const R=_.getRootElement(),N=wr(_.registerUpdateListener(({editorState:U})=>{P&&w(U.read(()=>Tt()))}),_.registerCommand(vi,(U,M)=>(b.current=M,!1),Yn),_.registerCommand(ya,T,Yn),_.registerCommand(_0,T,Yn),_.registerCommand(tc,U=>U.target===u.current?(U.preventDefault(),!0):!1,Yn),_.registerCommand(Xi,y,4),_.registerCommand(Zi,y,4),_.registerCommand(Rs,x,Yn),_.registerCommand(Ls,C,Yn));return R==null||R.addEventListener("contextmenu",L),()=>{P=!1,N(),R==null||R.removeEventListener("contextmenu",L)}},[h,_,m,p,n,x,C,T,L,f]);const B=()=>{_.update(()=>{const P=Bn(n);Ma(P)&&P.setShowCaption(!0)})},D=(P,R)=>{setTimeout(()=>{g(!1)},200),_.update(()=>{const N=Bn(n);Ma(N)&&N.setWidthAndHeight(P,R)})},F=()=>{S||g(!0)},O=p&&fr(v)&&!m,j=p||m;return ue.jsx(he.Suspense,{fallback:null,children:ue.jsxs(ue.Fragment,{children:[ue.jsx("div",{draggable:O,children:ue.jsx(mD,{className:j?`focused ${fr(v)?"draggable":""}`:null,src:l,altText:t,width:e,height:a,maxWidth:r,imageRef:u,startCrop:S,setStartCrop:E,isFocused:j,nodeKey:n})}),s&&ue.jsx("div",{className:"image-caption-container",children:ue.jsx(hC,{initialEditor:c,children:ue.jsx(Dp,{contentEditable:ue.jsx(Sd,{className:"ImageNode__contentEditable"}),placeholder:ue.jsx(Ed,{className:"ImageNode__placeholder",children:"Enter a caption..."}),ErrorBoundary:Pl})})}),!S&&o&&fr(v)&&j&&ue.jsx(dD,{showCaption:s,setShowCaption:B,editor:_,buttonRef:d,maxWidth:r,onResizeStart:S?()=>{}:F,onResizeEnd:S?()=>{}:D,enableCaptions:i,imageRef:u})]})})}const vD=Object.freeze(Object.defineProperty({__proto__:null,RIGHT_CLICK_IMAGE_COMMAND:_0,default:yD},Symbol.toStringTag,{value:"Module"})),OR="",NR="";function _D(l,t){const n=l.getRangeAt(0);let e;if(l.anchorNode===t){let a=t;for(;a.firstElementChild!=null;)a=a.firstElementChild;e=a.getBoundingClientRect()}else e=n.getBoundingClientRect();return e}const bD=10,wD=5;function xD(l,t,n,e=!1,a=bD,r=wD){const o=n.parentElement;if(l===null||!o){t.style.opacity="0",t.style.transform="translate(-10000px, -10000px)";return}const s=t.getBoundingClientRect(),c=n.getBoundingClientRect(),i=o.getBoundingClientRect();let u=l.top-s.height-a,d=l.left-r;u<i.top&&(u+=s.height+l.height+a*(e?9:2)),d+s.width>i.right&&(d=i.right-s.width-r),u-=c.top,d-=c.left,t.style.opacity="1",t.style.transform=`translate(${d}px, ${u}px)`}function SD({editor:l,anchorElem:t,isLink:n,isBold:e,isItalic:a,isUnderline:r,isCode:o,isStrikethrough:s,isSubscript:c,isSuperscript:i}){const u=he.useRef(null),d=he.useCallback(()=>{n?l.dispatchCommand(Aa,null):l.dispatchCommand(Aa,"https://")},[l,n]),p=()=>{l.dispatchCommand(y0,void 0)};function f(g){if(u!=null&&u.current&&(g.buttons===1||g.buttons===3)&&u.current.style.pointerEvents!=="none"){const _=g.clientX,v=g.clientY,w=document.elementFromPoint(_,v);u.current.contains(w)||(u.current.style.pointerEvents="none")}}function h(g){u!=null&&u.current&&u.current.style.pointerEvents!=="auto"&&(u.current.style.pointerEvents="auto")}he.useEffect(()=>{if(u!=null&&u.current)return document.addEventListener("mousemove",f),document.addEventListener("mouseup",h),()=>{document.removeEventListener("mousemove",f),document.removeEventListener("mouseup",h)}},[u]);const m=he.useCallback(()=>{const g=Tt(),_=u.current,v=window.getSelection();if(_===null)return;const w=l.getRootElement();if(g!==null&&v!==null&&!v.isCollapsed&&w!==null&&w.contains(v.anchorNode)){const S=_D(v,w);xD(S,_,t,n)}},[l,t,n]);return he.useEffect(()=>{const g=t.parentElement,_=()=>{l.getEditorState().read(()=>{m()})};return window.addEventListener("resize",_),g&&g.addEventListener("scroll",_),()=>{window.removeEventListener("resize",_),g&&g.removeEventListener("scroll",_)}},[l,m,t]),he.useEffect(()=>(l.getEditorState().read(()=>{m()}),wr(l.registerUpdateListener(({editorState:g})=>{g.read(()=>{m()})}),l.registerCommand(vi,()=>(m(),!1),Yn))),[l,m]),ue.jsxs("div",{ref:u,className:"floating-text-format-popup",children:[l.isEditable()&&ue.jsxs(ue.Fragment,{children:[ue.jsx("button",{type:"button",onClick:()=>{l.dispatchCommand(Gr,"bold")},className:"popup-item spaced "+(e?"active":""),"aria-label":"Format text as bold",children:ue.jsx("i",{className:"format bold"})}),ue.jsx("button",{type:"button",onClick:()=>{l.dispatchCommand(Gr,"italic")},className:"popup-item spaced "+(a?"active":""),"aria-label":"Format text as italics",children:ue.jsx("i",{className:"format italic"})}),ue.jsx("button",{type:"button",onClick:()=>{l.dispatchCommand(Gr,"underline")},className:"popup-item spaced "+(r?"active":""),"aria-label":"Format text to underlined",children:ue.jsx("i",{className:"format underline"})}),ue.jsx("button",{type:"button",onClick:()=>{l.dispatchCommand(Gr,"strikethrough")},className:"popup-item spaced "+(s?"active":""),"aria-label":"Format text with a strikethrough",children:ue.jsx("i",{className:"format strikethrough"})}),ue.jsx("button",{type:"button",onClick:()=>{l.dispatchCommand(Gr,"subscript")},className:"popup-item spaced "+(c?"active":""),title:"Subscript","aria-label":"Format Subscript",children:ue.jsx("i",{className:"format subscript"})}),ue.jsx("button",{type:"button",onClick:()=>{l.dispatchCommand(Gr,"superscript")},className:"popup-item spaced "+(i?"active":""),title:"Superscript","aria-label":"Format Superscript",children:ue.jsx("i",{className:"format superscript"})}),ue.jsx("button",{type:"button",onClick:()=>{l.dispatchCommand(Gr,"code")},className:"popup-item spaced "+(o?"active":""),"aria-label":"Insert code block",children:ue.jsx("i",{className:"format code"})}),ue.jsx("button",{type:"button",onClick:d,className:"popup-item spaced "+(n?"active":""),"aria-label":"Insert link",children:ue.jsx("i",{className:"format link"})})]}),ue.jsx("button",{type:"button",onClick:p,className:"popup-item spaced insert-comment","aria-label":"Insert comment",children:ue.jsx("i",{className:"format add-comment"})})]})}function ED(l,t){const[n,e]=he.useState(!1),[a,r]=he.useState(!1),[o,s]=he.useState(!1),[c,i]=he.useState(!1),[u,d]=he.useState(!1),[p,f]=he.useState(!1),[h,m]=he.useState(!1),[g,_]=he.useState(!1),[v,w]=he.useState(!1),S=he.useCallback(()=>{l.getEditorState().read(()=>{if(l.isComposing())return;const E=Tt(),b=window.getSelection(),y=l.getRootElement();if(b!==null&&(!Ct(E)||y===null||!y.contains(b.anchorNode))){e(!1);return}if(!Ct(E))return;const x=Aw(E);s(E.hasFormat("bold")),i(E.hasFormat("italic")),d(E.hasFormat("underline")),f(E.hasFormat("strikethrough")),m(E.hasFormat("subscript")),_(E.hasFormat("superscript")),w(E.hasFormat("code"));const C=x.getParent();Qo(C)||Qo(x)?r(!0):r(!1),!jm(E.anchor.getNode())&&E.getTextContent()!==""?e(Wt(x)||Dr(x)):e(!1);const T=E.getTextContent().replace(/\n/g,"");if(!E.isCollapsed()&&T===""){e(!1);return}})},[l]);return he.useEffect(()=>(document.addEventListener("selectionchange",S),()=>{document.removeEventListener("selectionchange",S)}),[S]),he.useEffect(()=>wr(l.registerUpdateListener(()=>{S()}),l.registerRootListener(()=>{l.getRootElement()===null&&e(!1)})),[l,S]),n?so.createPortal(ue.jsx(SD,{editor:l,anchorElem:t,isLink:a,isBold:o,isItalic:c,isStrikethrough:p,isSubscript:h,isSuperscript:g,isUnderline:u,isCode:v}),t):null}function CD({anchorElem:l=document.body}){const[t]=xn();return ED(t,l)}const AR="";function jD({children:l,label:t,className:n,...e}){return ue.jsxs("div",{className:"Input__wrapper",children:[ue.jsx("label",{style:{marginTop:"-1em"},className:"Input__label",children:t}),ue.jsx("select",{...e,className:n||"select",children:l})]})}const yC=new Set;function kD(l){if(!yC.has(l))throw new Promise(t=>{const n=new Image;n.src=l,n.onload=()=>{yC.add(l),t(null)}})}function TD({altText:l,className:t,imageRef:n,src:e,width:a,height:r,position:o}){return kD(e),ue.jsx("img",{className:t||void 0,src:e,alt:l,ref:n,"data-position":o,style:{display:"block",height:r,width:a},draggable:"false"})}function vC({activeEditor:l,nodeKey:t,onClose:n}){const a=l.getEditorState().read(()=>Bn(t)),[r,o]=he.useState(a.getAltText()),[s,c]=he.useState(a.getShowCaption()),[i,u]=he.useState(a.getPosition()),d=h=>{c(h.target.checked)},p=h=>{u(h.target.value)},f=()=>{const h={altText:r,position:i,showCaption:s};a&&l.update(()=>{a.update(h)}),n()};return ue.jsxs(ue.Fragment,{children:[ue.jsx("div",{style:{marginBottom:"1em"},children:ue.jsx(Cc,{label:"Alt Text",placeholder:"Descriptive alternative text",onChange:o,value:r,"data-test-id":"image-modal-alt-text-input"})}),ue.jsxs(jD,{style:{marginBottom:"1em",width:"208px"},value:i,label:"Position",name:"position",id:"position-select",onChange:p,children:[ue.jsx("option",{value:"left",children:"Left"}),ue.jsx("option",{value:"right",children:"Right"}),ue.jsx("option",{value:"full",children:"Full Width"})]}),ue.jsxs("div",{className:"Input__wrapper",children:[ue.jsx("input",{id:"caption",type:"checkbox",checked:s,onChange:d}),ue.jsx("label",{htmlFor:"caption",children:"Show Caption"})]}),ue.jsx(kp,{children:ue.jsx(Fi,{"data-test-id":"image-modal-file-upload-btn",onClick:()=>f(),children:"Confirm"})})]})}function OD({src:l,altText:t,nodeKey:n,width:e,height:a,showCaption:r,caption:o,position:s}){const[c,i]=Da(),u=he.useRef(null),d=he.useRef(null),[p,f,h]=_c(n),[m]=xn(),[g,_]=he.useState(null),v=he.useRef(null),w=he.useCallback(x=>{if(p&&fr(Tt())){x.preventDefault();const T=Bn(n);if(pT(T))return T.remove(),!0}return!1},[p,n]),S=he.useCallback(x=>{const C=Tt(),T=d.current;if(p&&fr(C)&&C.getNodes().length===1){if(r)return jr(null),x.preventDefault(),o.focus(),!0;if(T!==null&&T!==document.activeElement)return x.preventDefault(),T.focus(),!0}return!1},[o,p,r]),E=he.useCallback(x=>v.current===o||d.current===x.target?(jr(null),m.update(()=>{f(!0);const C=m.getRootElement();C!==null&&C.focus()}),!0):!1,[o,m,f]);he.useEffect(()=>{let x=!0;const C=wr(m.registerUpdateListener(({editorState:T})=>{x&&_(T.read(()=>Tt()))}),m.registerCommand(vi,(T,L)=>(v.current=L,!1),Yn),m.registerCommand(ya,T=>{const L=T;return L.target===u.current?(L.shiftKey?f(!p):(h(),f(!0)),!0):!1},Yn),m.registerCommand(tc,T=>T.target===u.current?(T.preventDefault(),!0):!1,Yn),m.registerCommand(Xi,w,Yn),m.registerCommand(Zi,w,Yn),m.registerCommand(Rs,S,Yn),m.registerCommand(Ls,E,Yn));return()=>{x=!1,C()}},[h,m,p,n,w,S,E,f]);const b=p&&fr(g),y=p;return ue.jsxs(he.Suspense,{fallback:null,children:[ue.jsxs(ue.Fragment,{children:[ue.jsxs("div",{draggable:b,children:[ue.jsx("button",{className:"image-edit-button",ref:d,onClick:()=>{i("Update Inline Image",x=>ue.jsx(vC,{activeEditor:m,nodeKey:n,onClose:x}))},children:"Edit"}),ue.jsx(TD,{className:y?`focused ${fr(g)?"draggable":""}`:null,src:l,altText:t,imageRef:u,width:e,height:a,position:s})]}),r&&ue.jsx("div",{className:"image-caption-container",children:ue.jsxs(hC,{initialEditor:o,children:[ue.jsx(Tp,{}),ue.jsx(ly,{}),ue.jsx(CD,{}),ue.jsx(Dp,{contentEditable:ue.jsx(Sd,{className:"InlineImageNode__contentEditable"}),placeholder:ue.jsx(Ed,{className:"InlineImageNode__placeholder",children:"Enter a caption..."}),ErrorBoundary:Pl})]})})]}),c]})}const ND=Object.freeze(Object.defineProperty({__proto__:null,UpdateInlineImageDialog:vC,default:OD},Symbol.toStringTag,{value:"Module"})),PR="";function AD(l){return l.reduce((t,n)=>t+n.votes.length,0)}function PD({option:l,index:t,options:n,totalVotes:e,withPollNode:a}){const{clientID:r}=Cd(),o=he.useRef(null),s=l.votes,i=s.indexOf(r)!==-1,u=s.length,d=l.text;return ue.jsxs("div",{className:"PollNode__optionContainer",children:[ue.jsx("div",{className:Ym("PollNode__optionCheckboxWrapper",i&&"PollNode__optionCheckboxChecked"),children:ue.jsx("input",{ref:o,className:"PollNode__optionCheckbox",type:"checkbox",onChange:p=>{a(f=>{f.toggleVote(l,r)})},checked:i})}),ue.jsxs("div",{className:"PollNode__optionInputWrapper",children:[ue.jsx("div",{className:"PollNode__optionInputVotes",style:{width:`${u===0?0:u/e*100}%`}}),ue.jsx("span",{className:"PollNode__optionInputVotesCount",children:u>0&&(u===1?"1 vote":`${u} votes`)}),ue.jsx("input",{className:"PollNode__optionInput",type:"text",value:d,onChange:p=>{const f=p.target,h=f.value,m=f.selectionStart,g=f.selectionEnd;a(_=>{_.setOptionText(l,h)},()=>{f.selectionStart=m,f.selectionEnd=g})},placeholder:`Option ${t+1}`})]}),ue.jsx("button",{disabled:n.length<3,className:Ym("PollNode__optionDelete",n.length<3&&"PollNode__optionDeleteDisabled"),"aria-label":"Remove",onClick:()=>{a(p=>{p.deleteOption(l)})}})]})}function ID({question:l,options:t,nodeKey:n}){const[e]=xn(),a=he.useMemo(()=>AD(t),[t]),[r,o,s]=_c(n),[c,i]=he.useState(null),u=he.useRef(null),d=he.useCallback(m=>{if(r&&fr(Tt())){m.preventDefault();const _=Bn(n);if(w1(_))return _.remove(),!0}return!1},[r,n]);he.useEffect(()=>wr(e.registerUpdateListener(({editorState:m})=>{i(m.read(()=>Tt()))}),e.registerCommand(ya,m=>{const g=m;return g.target===u.current?(g.shiftKey||s(),o(!r),!0):!1},Yn),e.registerCommand(Xi,d,Yn),e.registerCommand(Zi,d,Yn)),[s,e,r,n,d,o]);const p=(m,g)=>{e.update(()=>{const _=Bn(n);w1(_)&&m(_)},{onUpdate:g})},f=()=>{p(m=>{m.addOption(ST())})},h=fr(c)&&r;return ue.jsx("div",{className:`PollNode__container ${h?"focused":""}`,ref:u,children:ue.jsxs("div",{className:"PollNode__inner",children:[ue.jsx("h2",{className:"PollNode__heading",children:l}),t.map((m,g)=>{const _=m.uid;return ue.jsx(PD,{withPollNode:p,option:m,index:g,options:t,totalVotes:a},_)}),ue.jsx("div",{className:"PollNode__footer",children:ue.jsx(Fi,{onClick:f,small:!0,children:"Add Option"})})]})})}const MD=Object.freeze(Object.defineProperty({__proto__:null,default:ID},Symbol.toStringTag,{value:"Module"})),DD=Object.freeze(Object.defineProperty({__proto__:null,default:[{description:"grinning face",emoji:"😀",category:"Smileys & Emotion",aliases:["grinning"],tags:["smile","happy"],unicode_version:"6.1",ios_version:"6.0"},{emoji:"😃",description:"grinning face with big eyes",category:"Smileys & Emotion",aliases:["smiley"],tags:["happy","joy","haha"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😄",description:"grinning face with smiling eyes",category:"Smileys & Emotion",aliases:["smile"],tags:["happy","joy","laugh","pleased"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😁",description:"beaming face with smiling eyes",category:"Smileys & Emotion",aliases:["grin"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😆",description:"grinning squinting face",category:"Smileys & Emotion",aliases:["laughing","satisfied"],tags:["happy","haha"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😅",description:"grinning face with sweat",category:"Smileys & Emotion",aliases:["sweat_smile"],tags:["hot"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🤣",description:"rolling on the floor laughing",category:"Smileys & Emotion",aliases:["rofl"],tags:["lol","laughing"],unicode_version:"9.0",ios_version:"10.2"},{emoji:"😂",description:"face with tears of joy",category:"Smileys & Emotion",aliases:["joy"],tags:["tears"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🙂",description:"slightly smiling face",category:"Smileys & Emotion",aliases:["slightly_smiling_face"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🙃",description:"upside-down face",category:"Smileys & Emotion",aliases:["upside_down_face"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"😉",description:"winking face",category:"Smileys & Emotion",aliases:["wink"],tags:["flirt"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😊",description:"smiling face with smiling eyes",category:"Smileys & Emotion",aliases:["blush"],tags:["proud"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😇",description:"smiling face with halo",category:"Smileys & Emotion",aliases:["innocent"],tags:["angel"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🥰",description:"smiling face with hearts",category:"Smileys & Emotion",aliases:["smiling_face_with_three_hearts"],tags:["love"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"😍",description:"smiling face with heart-eyes",category:"Smileys & Emotion",aliases:["heart_eyes"],tags:["love","crush"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🤩",description:"star-struck",category:"Smileys & Emotion",aliases:["star_struck"],tags:["eyes"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"😘",description:"face blowing a kiss",category:"Smileys & Emotion",aliases:["kissing_heart"],tags:["flirt"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😗",description:"kissing face",category:"Smileys & Emotion",aliases:["kissing"],tags:[],unicode_version:"6.1",ios_version:"6.0"},{emoji:"☺️",description:"smiling face",category:"Smileys & Emotion",aliases:["relaxed"],tags:["blush","pleased"],unicode_version:"",ios_version:"6.0"},{emoji:"😚",description:"kissing face with closed eyes",category:"Smileys & Emotion",aliases:["kissing_closed_eyes"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😙",description:"kissing face with smiling eyes",category:"Smileys & Emotion",aliases:["kissing_smiling_eyes"],tags:[],unicode_version:"6.1",ios_version:"6.0"},{emoji:"🥲",description:"smiling face with tear",category:"Smileys & Emotion",aliases:["smiling_face_with_tear"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"😋",description:"face savoring food",category:"Smileys & Emotion",aliases:["yum"],tags:["tongue","lick"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😛",description:"face with tongue",category:"Smileys & Emotion",aliases:["stuck_out_tongue"],tags:[],unicode_version:"6.1",ios_version:"6.0"},{emoji:"😜",description:"winking face with tongue",category:"Smileys & Emotion",aliases:["stuck_out_tongue_winking_eye"],tags:["prank","silly"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🤪",description:"zany face",category:"Smileys & Emotion",aliases:["zany_face"],tags:["goofy","wacky"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"😝",description:"squinting face with tongue",category:"Smileys & Emotion",aliases:["stuck_out_tongue_closed_eyes"],tags:["prank"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🤑",description:"money-mouth face",category:"Smileys & Emotion",aliases:["money_mouth_face"],tags:["rich"],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🤗",description:"hugging face",category:"Smileys & Emotion",aliases:["hugs"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🤭",description:"face with hand over mouth",category:"Smileys & Emotion",aliases:["hand_over_mouth"],tags:["quiet","whoops"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🤫",description:"shushing face",category:"Smileys & Emotion",aliases:["shushing_face"],tags:["silence","quiet"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🤔",description:"thinking face",category:"Smileys & Emotion",aliases:["thinking"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🤐",description:"zipper-mouth face",category:"Smileys & Emotion",aliases:["zipper_mouth_face"],tags:["silence","hush"],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🤨",description:"face with raised eyebrow",category:"Smileys & Emotion",aliases:["raised_eyebrow"],tags:["suspicious"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"😐",description:"neutral face",category:"Smileys & Emotion",aliases:["neutral_face"],tags:["meh"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😑",description:"expressionless face",category:"Smileys & Emotion",aliases:["expressionless"],tags:[],unicode_version:"6.1",ios_version:"6.0"},{emoji:"😶",description:"face without mouth",category:"Smileys & Emotion",aliases:["no_mouth"],tags:["mute","silence"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😶🌫️",description:"face in clouds",category:"Smileys & Emotion",aliases:["face_in_clouds"],tags:[],unicode_version:"13.1",ios_version:"14.0"},{emoji:"😏",description:"smirking face",category:"Smileys & Emotion",aliases:["smirk"],tags:["smug"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😒",description:"unamused face",category:"Smileys & Emotion",aliases:["unamused"],tags:["meh"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🙄",description:"face with rolling eyes",category:"Smileys & Emotion",aliases:["roll_eyes"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"😬",description:"grimacing face",category:"Smileys & Emotion",aliases:["grimacing"],tags:[],unicode_version:"6.1",ios_version:"6.0"},{emoji:"😮💨",description:"face exhaling",category:"Smileys & Emotion",aliases:["face_exhaling"],tags:[],unicode_version:"13.1",ios_version:"14.0"},{emoji:"🤥",description:"lying face",category:"Smileys & Emotion",aliases:["lying_face"],tags:["liar"],unicode_version:"9.0",ios_version:"10.2"},{emoji:"😌",description:"relieved face",category:"Smileys & Emotion",aliases:["relieved"],tags:["whew"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😔",description:"pensive face",category:"Smileys & Emotion",aliases:["pensive"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😪",description:"sleepy face",category:"Smileys & Emotion",aliases:["sleepy"],tags:["tired"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🤤",description:"drooling face",category:"Smileys & Emotion",aliases:["drooling_face"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"😴",description:"sleeping face",category:"Smileys & Emotion",aliases:["sleeping"],tags:["zzz"],unicode_version:"6.1",ios_version:"6.0"},{emoji:"😷",description:"face with medical mask",category:"Smileys & Emotion",aliases:["mask"],tags:["sick","ill"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🤒",description:"face with thermometer",category:"Smileys & Emotion",aliases:["face_with_thermometer"],tags:["sick"],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🤕",description:"face with head-bandage",category:"Smileys & Emotion",aliases:["face_with_head_bandage"],tags:["hurt"],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🤢",description:"nauseated face",category:"Smileys & Emotion",aliases:["nauseated_face"],tags:["sick","barf","disgusted"],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🤮",description:"face vomiting",category:"Smileys & Emotion",aliases:["vomiting_face"],tags:["barf","sick"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🤧",description:"sneezing face",category:"Smileys & Emotion",aliases:["sneezing_face"],tags:["achoo","sick"],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🥵",description:"hot face",category:"Smileys & Emotion",aliases:["hot_face"],tags:["heat","sweating"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🥶",description:"cold face",category:"Smileys & Emotion",aliases:["cold_face"],tags:["freezing","ice"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🥴",description:"woozy face",category:"Smileys & Emotion",aliases:["woozy_face"],tags:["groggy"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"😵",description:"knocked-out face",category:"Smileys & Emotion",aliases:["dizzy_face"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😵💫",description:"face with spiral eyes",category:"Smileys & Emotion",aliases:["face_with_spiral_eyes"],tags:[],unicode_version:"13.1",ios_version:"14.0"},{emoji:"🤯",description:"exploding head",category:"Smileys & Emotion",aliases:["exploding_head"],tags:["mind","blown"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🤠",description:"cowboy hat face",category:"Smileys & Emotion",aliases:["cowboy_hat_face"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🥳",description:"partying face",category:"Smileys & Emotion",aliases:["partying_face"],tags:["celebration","birthday"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🥸",description:"disguised face",category:"Smileys & Emotion",aliases:["disguised_face"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"😎",description:"smiling face with sunglasses",category:"Smileys & Emotion",aliases:["sunglasses"],tags:["cool"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🤓",description:"nerd face",category:"Smileys & Emotion",aliases:["nerd_face"],tags:["geek","glasses"],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🧐",description:"face with monocle",category:"Smileys & Emotion",aliases:["monocle_face"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"😕",description:"confused face",category:"Smileys & Emotion",aliases:["confused"],tags:[],unicode_version:"6.1",ios_version:"6.0"},{emoji:"😟",description:"worried face",category:"Smileys & Emotion",aliases:["worried"],tags:["nervous"],unicode_version:"6.1",ios_version:"6.0"},{emoji:"🙁",description:"slightly frowning face",category:"Smileys & Emotion",aliases:["slightly_frowning_face"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"☹️",description:"frowning face",category:"Smileys & Emotion",aliases:["frowning_face"],tags:[],unicode_version:"",ios_version:"9.1"},{emoji:"😮",description:"face with open mouth",category:"Smileys & Emotion",aliases:["open_mouth"],tags:["surprise","impressed","wow"],unicode_version:"6.1",ios_version:"6.0"},{emoji:"😯",description:"hushed face",category:"Smileys & Emotion",aliases:["hushed"],tags:["silence","speechless"],unicode_version:"6.1",ios_version:"6.0"},{emoji:"😲",description:"astonished face",category:"Smileys & Emotion",aliases:["astonished"],tags:["amazed","gasp"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😳",description:"flushed face",category:"Smileys & Emotion",aliases:["flushed"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🥺",description:"pleading face",category:"Smileys & Emotion",aliases:["pleading_face"],tags:["puppy","eyes"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"😦",description:"frowning face with open mouth",category:"Smileys & Emotion",aliases:["frowning"],tags:[],unicode_version:"6.1",ios_version:"6.0"},{emoji:"😧",description:"anguished face",category:"Smileys & Emotion",aliases:["anguished"],tags:["stunned"],unicode_version:"6.1",ios_version:"6.0"},{emoji:"😨",description:"fearful face",category:"Smileys & Emotion",aliases:["fearful"],tags:["scared","shocked","oops"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😰",description:"anxious face with sweat",category:"Smileys & Emotion",aliases:["cold_sweat"],tags:["nervous"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😥",description:"sad but relieved face",category:"Smileys & Emotion",aliases:["disappointed_relieved"],tags:["phew","sweat","nervous"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😢",description:"crying face",category:"Smileys & Emotion",aliases:["cry"],tags:["sad","tear"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😭",description:"loudly crying face",category:"Smileys & Emotion",aliases:["sob"],tags:["sad","cry","bawling"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😱",description:"face screaming in fear",category:"Smileys & Emotion",aliases:["scream"],tags:["horror","shocked"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😖",description:"confounded face",category:"Smileys & Emotion",aliases:["confounded"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😣",description:"persevering face",category:"Smileys & Emotion",aliases:["persevere"],tags:["struggling"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😞",description:"disappointed face",category:"Smileys & Emotion",aliases:["disappointed"],tags:["sad"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😓",description:"downcast face with sweat",category:"Smileys & Emotion",aliases:["sweat"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😩",description:"weary face",category:"Smileys & Emotion",aliases:["weary"],tags:["tired"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😫",description:"tired face",category:"Smileys & Emotion",aliases:["tired_face"],tags:["upset","whine"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🥱",description:"yawning face",category:"Smileys & Emotion",aliases:["yawning_face"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"😤",description:"face with steam from nose",category:"Smileys & Emotion",aliases:["triumph"],tags:["smug"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😡",description:"pouting face",category:"Smileys & Emotion",aliases:["rage","pout"],tags:["angry"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😠",description:"angry face",category:"Smileys & Emotion",aliases:["angry"],tags:["mad","annoyed"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🤬",description:"face with symbols on mouth",category:"Smileys & Emotion",aliases:["cursing_face"],tags:["foul"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"😈",description:"smiling face with horns",category:"Smileys & Emotion",aliases:["smiling_imp"],tags:["devil","evil","horns"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👿",description:"angry face with horns",category:"Smileys & Emotion",aliases:["imp"],tags:["angry","devil","evil","horns"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💀",description:"skull",category:"Smileys & Emotion",aliases:["skull"],tags:["dead","danger","poison"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"☠️",description:"skull and crossbones",category:"Smileys & Emotion",aliases:["skull_and_crossbones"],tags:["danger","pirate"],unicode_version:"",ios_version:"9.1"},{emoji:"💩",description:"pile of poo",category:"Smileys & Emotion",aliases:["hankey","poop","shit"],tags:["crap"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🤡",description:"clown face",category:"Smileys & Emotion",aliases:["clown_face"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"👹",description:"ogre",category:"Smileys & Emotion",aliases:["japanese_ogre"],tags:["monster"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👺",description:"goblin",category:"Smileys & Emotion",aliases:["japanese_goblin"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👻",description:"ghost",category:"Smileys & Emotion",aliases:["ghost"],tags:["halloween"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👽",description:"alien",category:"Smileys & Emotion",aliases:["alien"],tags:["ufo"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👾",description:"alien monster",category:"Smileys & Emotion",aliases:["space_invader"],tags:["game","retro"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🤖",description:"robot",category:"Smileys & Emotion",aliases:["robot"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"😺",description:"grinning cat",category:"Smileys & Emotion",aliases:["smiley_cat"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😸",description:"grinning cat with smiling eyes",category:"Smileys & Emotion",aliases:["smile_cat"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😹",description:"cat with tears of joy",category:"Smileys & Emotion",aliases:["joy_cat"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😻",description:"smiling cat with heart-eyes",category:"Smileys & Emotion",aliases:["heart_eyes_cat"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😼",description:"cat with wry smile",category:"Smileys & Emotion",aliases:["smirk_cat"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😽",description:"kissing cat",category:"Smileys & Emotion",aliases:["kissing_cat"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🙀",description:"weary cat",category:"Smileys & Emotion",aliases:["scream_cat"],tags:["horror"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😿",description:"crying cat",category:"Smileys & Emotion",aliases:["crying_cat_face"],tags:["sad","tear"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"😾",description:"pouting cat",category:"Smileys & Emotion",aliases:["pouting_cat"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🙈",description:"see-no-evil monkey",category:"Smileys & Emotion",aliases:["see_no_evil"],tags:["monkey","blind","ignore"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🙉",description:"hear-no-evil monkey",category:"Smileys & Emotion",aliases:["hear_no_evil"],tags:["monkey","deaf"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🙊",description:"speak-no-evil monkey",category:"Smileys & Emotion",aliases:["speak_no_evil"],tags:["monkey","mute","hush"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💋",description:"kiss mark",category:"Smileys & Emotion",aliases:["kiss"],tags:["lipstick"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💌",description:"love letter",category:"Smileys & Emotion",aliases:["love_letter"],tags:["email","envelope"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💘",description:"heart with arrow",category:"Smileys & Emotion",aliases:["cupid"],tags:["love","heart"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💝",description:"heart with ribbon",category:"Smileys & Emotion",aliases:["gift_heart"],tags:["chocolates"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💖",description:"sparkling heart",category:"Smileys & Emotion",aliases:["sparkling_heart"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💗",description:"growing heart",category:"Smileys & Emotion",aliases:["heartpulse"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💓",description:"beating heart",category:"Smileys & Emotion",aliases:["heartbeat"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💞",description:"revolving hearts",category:"Smileys & Emotion",aliases:["revolving_hearts"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💕",description:"two hearts",category:"Smileys & Emotion",aliases:["two_hearts"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💟",description:"heart decoration",category:"Smileys & Emotion",aliases:["heart_decoration"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"❣️",description:"heart exclamation",category:"Smileys & Emotion",aliases:["heavy_heart_exclamation"],tags:[],unicode_version:"",ios_version:"9.1"},{emoji:"💔",description:"broken heart",category:"Smileys & Emotion",aliases:["broken_heart"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"❤️🔥",description:"heart on fire",category:"Smileys & Emotion",aliases:["heart_on_fire"],tags:[],unicode_version:"13.1",ios_version:"14.0"},{emoji:"❤️🩹",description:"mending heart",category:"Smileys & Emotion",aliases:["mending_heart"],tags:[],unicode_version:"13.1",ios_version:"14.0"},{emoji:"❤️",description:"red heart",category:"Smileys & Emotion",aliases:["heart"],tags:["love"],unicode_version:"",ios_version:"6.0"},{emoji:"🧡",description:"orange heart",category:"Smileys & Emotion",aliases:["orange_heart"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"💛",description:"yellow heart",category:"Smileys & Emotion",aliases:["yellow_heart"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💚",description:"green heart",category:"Smileys & Emotion",aliases:["green_heart"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💙",description:"blue heart",category:"Smileys & Emotion",aliases:["blue_heart"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💜",description:"purple heart",category:"Smileys & Emotion",aliases:["purple_heart"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🤎",description:"brown heart",category:"Smileys & Emotion",aliases:["brown_heart"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🖤",description:"black heart",category:"Smileys & Emotion",aliases:["black_heart"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🤍",description:"white heart",category:"Smileys & Emotion",aliases:["white_heart"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"💯",description:"hundred points",category:"Smileys & Emotion",aliases:["100"],tags:["score","perfect"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💢",description:"anger symbol",category:"Smileys & Emotion",aliases:["anger"],tags:["angry"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💥",description:"collision",category:"Smileys & Emotion",aliases:["boom","collision"],tags:["explode"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💫",description:"dizzy",category:"Smileys & Emotion",aliases:["dizzy"],tags:["star"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💦",description:"sweat droplets",category:"Smileys & Emotion",aliases:["sweat_drops"],tags:["water","workout"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💨",description:"dashing away",category:"Smileys & Emotion",aliases:["dash"],tags:["wind","blow","fast"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕳️",description:"hole",category:"Smileys & Emotion",aliases:["hole"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"💣",description:"bomb",category:"Smileys & Emotion",aliases:["bomb"],tags:["boom"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💬",description:"speech balloon",category:"Smileys & Emotion",aliases:["speech_balloon"],tags:["comment"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👁️🗨️",description:"eye in speech bubble",category:"Smileys & Emotion",aliases:["eye_speech_bubble"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🗨️",description:"left speech bubble",category:"Smileys & Emotion",aliases:["left_speech_bubble"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🗯️",description:"right anger bubble",category:"Smileys & Emotion",aliases:["right_anger_bubble"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"💭",description:"thought balloon",category:"Smileys & Emotion",aliases:["thought_balloon"],tags:["thinking"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💤",description:"zzz",category:"Smileys & Emotion",aliases:["zzz"],tags:["sleeping"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👋",description:"waving hand",category:"People & Body",aliases:["wave"],tags:["goodbye"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🤚",description:"raised back of hand",category:"People & Body",aliases:["raised_back_of_hand"],tags:[],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"🖐️",description:"hand with fingers splayed",category:"People & Body",aliases:["raised_hand_with_fingers_splayed"],tags:[],unicode_version:"7.0",ios_version:"9.1",skin_tones:!0},{emoji:"✋",description:"raised hand",category:"People & Body",aliases:["hand","raised_hand"],tags:["highfive","stop"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🖖",description:"vulcan salute",category:"People & Body",aliases:["vulcan_salute"],tags:["prosper","spock"],unicode_version:"7.0",ios_version:"8.3",skin_tones:!0},{emoji:"👌",description:"OK hand",category:"People & Body",aliases:["ok_hand"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🤌",description:"pinched fingers",category:"People & Body",aliases:["pinched_fingers"],tags:[],unicode_version:"13.0",ios_version:"14.0",skin_tones:!0},{emoji:"🤏",description:"pinching hand",category:"People & Body",aliases:["pinching_hand"],tags:[],unicode_version:"12.0",ios_version:"13.0",skin_tones:!0},{emoji:"✌️",description:"victory hand",category:"People & Body",aliases:["v"],tags:["victory","peace"],unicode_version:"",ios_version:"6.0",skin_tones:!0},{emoji:"🤞",description:"crossed fingers",category:"People & Body",aliases:["crossed_fingers"],tags:["luck","hopeful"],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"🤟",description:"love-you gesture",category:"People & Body",aliases:["love_you_gesture"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🤘",description:"sign of the horns",category:"People & Body",aliases:["metal"],tags:[],unicode_version:"8.0",ios_version:"9.1",skin_tones:!0},{emoji:"🤙",description:"call me hand",category:"People & Body",aliases:["call_me_hand"],tags:[],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"👈",description:"backhand index pointing left",category:"People & Body",aliases:["point_left"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"👉",description:"backhand index pointing right",category:"People & Body",aliases:["point_right"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"👆",description:"backhand index pointing up",category:"People & Body",aliases:["point_up_2"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🖕",description:"middle finger",category:"People & Body",aliases:["middle_finger","fu"],tags:[],unicode_version:"7.0",ios_version:"9.1",skin_tones:!0},{emoji:"👇",description:"backhand index pointing down",category:"People & Body",aliases:["point_down"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"☝️",description:"index pointing up",category:"People & Body",aliases:["point_up"],tags:[],unicode_version:"",ios_version:"6.0",skin_tones:!0},{emoji:"👍",description:"thumbs up",category:"People & Body",aliases:["+1","thumbsup"],tags:["approve","ok"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"👎",description:"thumbs down",category:"People & Body",aliases:["-1","thumbsdown"],tags:["disapprove","bury"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"✊",description:"raised fist",category:"People & Body",aliases:["fist_raised","fist"],tags:["power"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"👊",description:"oncoming fist",category:"People & Body",aliases:["fist_oncoming","facepunch","punch"],tags:["attack"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🤛",description:"left-facing fist",category:"People & Body",aliases:["fist_left"],tags:[],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"🤜",description:"right-facing fist",category:"People & Body",aliases:["fist_right"],tags:[],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"👏",description:"clapping hands",category:"People & Body",aliases:["clap"],tags:["praise","applause"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🙌",description:"raising hands",category:"People & Body",aliases:["raised_hands"],tags:["hooray"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"👐",description:"open hands",category:"People & Body",aliases:["open_hands"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🤲",description:"palms up together",category:"People & Body",aliases:["palms_up_together"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🤝",description:"handshake",category:"People & Body",aliases:["handshake"],tags:["deal"],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🙏",description:"folded hands",category:"People & Body",aliases:["pray"],tags:["please","hope","wish"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"✍️",description:"writing hand",category:"People & Body",aliases:["writing_hand"],tags:[],unicode_version:"",ios_version:"9.1",skin_tones:!0},{emoji:"💅",description:"nail polish",category:"People & Body",aliases:["nail_care"],tags:["beauty","manicure"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🤳",description:"selfie",category:"People & Body",aliases:["selfie"],tags:[],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"💪",description:"flexed biceps",category:"People & Body",aliases:["muscle"],tags:["flex","bicep","strong","workout"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🦾",description:"mechanical arm",category:"People & Body",aliases:["mechanical_arm"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🦿",description:"mechanical leg",category:"People & Body",aliases:["mechanical_leg"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🦵",description:"leg",category:"People & Body",aliases:["leg"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🦶",description:"foot",category:"People & Body",aliases:["foot"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"👂",description:"ear",category:"People & Body",aliases:["ear"],tags:["hear","sound","listen"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🦻",description:"ear with hearing aid",category:"People & Body",aliases:["ear_with_hearing_aid"],tags:[],unicode_version:"12.0",ios_version:"13.0",skin_tones:!0},{emoji:"👃",description:"nose",category:"People & Body",aliases:["nose"],tags:["smell"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🧠",description:"brain",category:"People & Body",aliases:["brain"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🫀",description:"anatomical heart",category:"People & Body",aliases:["anatomical_heart"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🫁",description:"lungs",category:"People & Body",aliases:["lungs"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🦷",description:"tooth",category:"People & Body",aliases:["tooth"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🦴",description:"bone",category:"People & Body",aliases:["bone"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"👀",description:"eyes",category:"People & Body",aliases:["eyes"],tags:["look","see","watch"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👁️",description:"eye",category:"People & Body",aliases:["eye"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"👅",description:"tongue",category:"People & Body",aliases:["tongue"],tags:["taste"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👄",description:"mouth",category:"People & Body",aliases:["lips"],tags:["kiss"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👶",description:"baby",category:"People & Body",aliases:["baby"],tags:["child","newborn"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🧒",description:"child",category:"People & Body",aliases:["child"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"👦",description:"boy",category:"People & Body",aliases:["boy"],tags:["child"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"👧",description:"girl",category:"People & Body",aliases:["girl"],tags:["child"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🧑",description:"person",category:"People & Body",aliases:["adult"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"👱",description:"person: blond hair",category:"People & Body",aliases:["blond_haired_person"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"👨",description:"man",category:"People & Body",aliases:["man"],tags:["mustache","father","dad"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🧔",description:"person: beard",category:"People & Body",aliases:["bearded_person"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧔♂️",description:"man: beard",category:"People & Body",aliases:["man_beard"],tags:[],unicode_version:"13.1",ios_version:"14.0",skin_tones:!0},{emoji:"🧔♀️",description:"woman: beard",category:"People & Body",aliases:["woman_beard"],tags:[],unicode_version:"13.1",ios_version:"14.0",skin_tones:!0},{emoji:"👨🦰",description:"man: red hair",category:"People & Body",aliases:["red_haired_man"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"👨🦱",description:"man: curly hair",category:"People & Body",aliases:["curly_haired_man"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"👨🦳",description:"man: white hair",category:"People & Body",aliases:["white_haired_man"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"👨🦲",description:"man: bald",category:"People & Body",aliases:["bald_man"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"👩",description:"woman",category:"People & Body",aliases:["woman"],tags:["girls"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"👩🦰",description:"woman: red hair",category:"People & Body",aliases:["red_haired_woman"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧑🦰",description:"person: red hair",category:"People & Body",aliases:["person_red_hair"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👩🦱",description:"woman: curly hair",category:"People & Body",aliases:["curly_haired_woman"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧑🦱",description:"person: curly hair",category:"People & Body",aliases:["person_curly_hair"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👩🦳",description:"woman: white hair",category:"People & Body",aliases:["white_haired_woman"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧑🦳",description:"person: white hair",category:"People & Body",aliases:["person_white_hair"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👩🦲",description:"woman: bald",category:"People & Body",aliases:["bald_woman"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧑🦲",description:"person: bald",category:"People & Body",aliases:["person_bald"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👱♀️",description:"woman: blond hair",category:"People & Body",aliases:["blond_haired_woman","blonde_woman"],tags:[],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"👱♂️",description:"man: blond hair",category:"People & Body",aliases:["blond_haired_man"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧓",description:"older person",category:"People & Body",aliases:["older_adult"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"👴",description:"old man",category:"People & Body",aliases:["older_man"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"👵",description:"old woman",category:"People & Body",aliases:["older_woman"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🙍",description:"person frowning",category:"People & Body",aliases:["frowning_person"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🙍♂️",description:"man frowning",category:"People & Body",aliases:["frowning_man"],tags:[],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"🙍♀️",description:"woman frowning",category:"People & Body",aliases:["frowning_woman"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🙎",description:"person pouting",category:"People & Body",aliases:["pouting_face"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🙎♂️",description:"man pouting",category:"People & Body",aliases:["pouting_man"],tags:[],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"🙎♀️",description:"woman pouting",category:"People & Body",aliases:["pouting_woman"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🙅",description:"person gesturing NO",category:"People & Body",aliases:["no_good"],tags:["stop","halt","denied"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🙅♂️",description:"man gesturing NO",category:"People & Body",aliases:["no_good_man","ng_man"],tags:["stop","halt","denied"],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"🙅♀️",description:"woman gesturing NO",category:"People & Body",aliases:["no_good_woman","ng_woman"],tags:["stop","halt","denied"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🙆",description:"person gesturing OK",category:"People & Body",aliases:["ok_person"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🙆♂️",description:"man gesturing OK",category:"People & Body",aliases:["ok_man"],tags:[],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"🙆♀️",description:"woman gesturing OK",category:"People & Body",aliases:["ok_woman"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"💁",description:"person tipping hand",category:"People & Body",aliases:["tipping_hand_person","information_desk_person"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"💁♂️",description:"man tipping hand",category:"People & Body",aliases:["tipping_hand_man","sassy_man"],tags:["information"],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"💁♀️",description:"woman tipping hand",category:"People & Body",aliases:["tipping_hand_woman","sassy_woman"],tags:["information"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🙋",description:"person raising hand",category:"People & Body",aliases:["raising_hand"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🙋♂️",description:"man raising hand",category:"People & Body",aliases:["raising_hand_man"],tags:[],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"🙋♀️",description:"woman raising hand",category:"People & Body",aliases:["raising_hand_woman"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧏",description:"deaf person",category:"People & Body",aliases:["deaf_person"],tags:[],unicode_version:"12.0",ios_version:"13.0",skin_tones:!0},{emoji:"🧏♂️",description:"deaf man",category:"People & Body",aliases:["deaf_man"],tags:[],unicode_version:"12.0",ios_version:"13.0",skin_tones:!0},{emoji:"🧏♀️",description:"deaf woman",category:"People & Body",aliases:["deaf_woman"],tags:[],unicode_version:"12.0",ios_version:"13.0",skin_tones:!0},{emoji:"🙇",description:"person bowing",category:"People & Body",aliases:["bow"],tags:["respect","thanks"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🙇♂️",description:"man bowing",category:"People & Body",aliases:["bowing_man"],tags:["respect","thanks"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🙇♀️",description:"woman bowing",category:"People & Body",aliases:["bowing_woman"],tags:["respect","thanks"],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"🤦",description:"person facepalming",category:"People & Body",aliases:["facepalm"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🤦♂️",description:"man facepalming",category:"People & Body",aliases:["man_facepalming"],tags:[],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"🤦♀️",description:"woman facepalming",category:"People & Body",aliases:["woman_facepalming"],tags:[],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"🤷",description:"person shrugging",category:"People & Body",aliases:["shrug"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🤷♂️",description:"man shrugging",category:"People & Body",aliases:["man_shrugging"],tags:[],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"🤷♀️",description:"woman shrugging",category:"People & Body",aliases:["woman_shrugging"],tags:[],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"🧑⚕️",description:"health worker",category:"People & Body",aliases:["health_worker"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👨⚕️",description:"man health worker",category:"People & Body",aliases:["man_health_worker"],tags:["doctor","nurse"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"👩⚕️",description:"woman health worker",category:"People & Body",aliases:["woman_health_worker"],tags:["doctor","nurse"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"🧑🎓",description:"student",category:"People & Body",aliases:["student"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👨🎓",description:"man student",category:"People & Body",aliases:["man_student"],tags:["graduation"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"👩🎓",description:"woman student",category:"People & Body",aliases:["woman_student"],tags:["graduation"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"🧑🏫",description:"teacher",category:"People & Body",aliases:["teacher"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👨🏫",description:"man teacher",category:"People & Body",aliases:["man_teacher"],tags:["school","professor"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"👩🏫",description:"woman teacher",category:"People & Body",aliases:["woman_teacher"],tags:["school","professor"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"🧑⚖️",description:"judge",category:"People & Body",aliases:["judge"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👨⚖️",description:"man judge",category:"People & Body",aliases:["man_judge"],tags:["justice"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"👩⚖️",description:"woman judge",category:"People & Body",aliases:["woman_judge"],tags:["justice"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"🧑🌾",description:"farmer",category:"People & Body",aliases:["farmer"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👨🌾",description:"man farmer",category:"People & Body",aliases:["man_farmer"],tags:[],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"👩🌾",description:"woman farmer",category:"People & Body",aliases:["woman_farmer"],tags:[],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"🧑🍳",description:"cook",category:"People & Body",aliases:["cook"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👨🍳",description:"man cook",category:"People & Body",aliases:["man_cook"],tags:["chef"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"👩🍳",description:"woman cook",category:"People & Body",aliases:["woman_cook"],tags:["chef"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"🧑🔧",description:"mechanic",category:"People & Body",aliases:["mechanic"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👨🔧",description:"man mechanic",category:"People & Body",aliases:["man_mechanic"],tags:[],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"👩🔧",description:"woman mechanic",category:"People & Body",aliases:["woman_mechanic"],tags:[],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"🧑🏭",description:"factory worker",category:"People & Body",aliases:["factory_worker"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👨🏭",description:"man factory worker",category:"People & Body",aliases:["man_factory_worker"],tags:[],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"👩🏭",description:"woman factory worker",category:"People & Body",aliases:["woman_factory_worker"],tags:[],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"🧑💼",description:"office worker",category:"People & Body",aliases:["office_worker"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👨💼",description:"man office worker",category:"People & Body",aliases:["man_office_worker"],tags:["business"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"👩💼",description:"woman office worker",category:"People & Body",aliases:["woman_office_worker"],tags:["business"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"🧑🔬",description:"scientist",category:"People & Body",aliases:["scientist"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👨🔬",description:"man scientist",category:"People & Body",aliases:["man_scientist"],tags:["research"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"👩🔬",description:"woman scientist",category:"People & Body",aliases:["woman_scientist"],tags:["research"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"🧑💻",description:"technologist",category:"People & Body",aliases:["technologist"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👨💻",description:"man technologist",category:"People & Body",aliases:["man_technologist"],tags:["coder"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"👩💻",description:"woman technologist",category:"People & Body",aliases:["woman_technologist"],tags:["coder"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"🧑🎤",description:"singer",category:"People & Body",aliases:["singer"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👨🎤",description:"man singer",category:"People & Body",aliases:["man_singer"],tags:["rockstar"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"👩🎤",description:"woman singer",category:"People & Body",aliases:["woman_singer"],tags:["rockstar"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"🧑🎨",description:"artist",category:"People & Body",aliases:["artist"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👨🎨",description:"man artist",category:"People & Body",aliases:["man_artist"],tags:["painter"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"👩🎨",description:"woman artist",category:"People & Body",aliases:["woman_artist"],tags:["painter"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"🧑✈️",description:"pilot",category:"People & Body",aliases:["pilot"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👨✈️",description:"man pilot",category:"People & Body",aliases:["man_pilot"],tags:[],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"👩✈️",description:"woman pilot",category:"People & Body",aliases:["woman_pilot"],tags:[],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"🧑🚀",description:"astronaut",category:"People & Body",aliases:["astronaut"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👨🚀",description:"man astronaut",category:"People & Body",aliases:["man_astronaut"],tags:["space"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"👩🚀",description:"woman astronaut",category:"People & Body",aliases:["woman_astronaut"],tags:["space"],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"🧑🚒",description:"firefighter",category:"People & Body",aliases:["firefighter"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👨🚒",description:"man firefighter",category:"People & Body",aliases:["man_firefighter"],tags:[],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"👩🚒",description:"woman firefighter",category:"People & Body",aliases:["woman_firefighter"],tags:[],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"👮",description:"police officer",category:"People & Body",aliases:["police_officer","cop"],tags:["law"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"👮♂️",description:"man police officer",category:"People & Body",aliases:["policeman"],tags:["law","cop"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"👮♀️",description:"woman police officer",category:"People & Body",aliases:["policewoman"],tags:["law","cop"],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"🕵️",description:"detective",category:"People & Body",aliases:["detective"],tags:["sleuth"],unicode_version:"7.0",ios_version:"9.1",skin_tones:!0},{emoji:"🕵️♂️",description:"man detective",category:"People & Body",aliases:["male_detective"],tags:["sleuth"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🕵️♀️",description:"woman detective",category:"People & Body",aliases:["female_detective"],tags:["sleuth"],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"💂",description:"guard",category:"People & Body",aliases:["guard"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"💂♂️",description:"man guard",category:"People & Body",aliases:["guardsman"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"💂♀️",description:"woman guard",category:"People & Body",aliases:["guardswoman"],tags:[],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"🥷",description:"ninja",category:"People & Body",aliases:["ninja"],tags:[],unicode_version:"13.0",ios_version:"14.0",skin_tones:!0},{emoji:"👷",description:"construction worker",category:"People & Body",aliases:["construction_worker"],tags:["helmet"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"👷♂️",description:"man construction worker",category:"People & Body",aliases:["construction_worker_man"],tags:["helmet"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"👷♀️",description:"woman construction worker",category:"People & Body",aliases:["construction_worker_woman"],tags:["helmet"],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"🤴",description:"prince",category:"People & Body",aliases:["prince"],tags:["crown","royal"],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"👸",description:"princess",category:"People & Body",aliases:["princess"],tags:["crown","royal"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"👳",description:"person wearing turban",category:"People & Body",aliases:["person_with_turban"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"👳♂️",description:"man wearing turban",category:"People & Body",aliases:["man_with_turban"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"👳♀️",description:"woman wearing turban",category:"People & Body",aliases:["woman_with_turban"],tags:[],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"👲",description:"person with skullcap",category:"People & Body",aliases:["man_with_gua_pi_mao"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🧕",description:"woman with headscarf",category:"People & Body",aliases:["woman_with_headscarf"],tags:["hijab"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🤵",description:"person in tuxedo",category:"People & Body",aliases:["person_in_tuxedo"],tags:["groom","marriage","wedding"],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"🤵♂️",description:"man in tuxedo",category:"People & Body",aliases:["man_in_tuxedo"],tags:[],unicode_version:"13.0",ios_version:"14.0",skin_tones:!0},{emoji:"🤵♀️",description:"woman in tuxedo",category:"People & Body",aliases:["woman_in_tuxedo"],tags:[],unicode_version:"13.0",ios_version:"14.0",skin_tones:!0},{emoji:"👰",description:"person with veil",category:"People & Body",aliases:["person_with_veil"],tags:["marriage","wedding"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"👰♂️",description:"man with veil",category:"People & Body",aliases:["man_with_veil"],tags:[],unicode_version:"13.0",ios_version:"14.0",skin_tones:!0},{emoji:"👰♀️",description:"woman with veil",category:"People & Body",aliases:["woman_with_veil","bride_with_veil"],tags:[],unicode_version:"13.0",ios_version:"14.0",skin_tones:!0},{emoji:"🤰",description:"pregnant woman",category:"People & Body",aliases:["pregnant_woman"],tags:[],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"🤱",description:"breast-feeding",category:"People & Body",aliases:["breast_feeding"],tags:["nursing"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"👩🍼",description:"woman feeding baby",category:"People & Body",aliases:["woman_feeding_baby"],tags:[],unicode_version:"13.0",ios_version:"14.0",skin_tones:!0},{emoji:"👨🍼",description:"man feeding baby",category:"People & Body",aliases:["man_feeding_baby"],tags:[],unicode_version:"13.0",ios_version:"14.0",skin_tones:!0},{emoji:"🧑🍼",description:"person feeding baby",category:"People & Body",aliases:["person_feeding_baby"],tags:[],unicode_version:"13.0",ios_version:"14.0",skin_tones:!0},{emoji:"👼",description:"baby angel",category:"People & Body",aliases:["angel"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🎅",description:"Santa Claus",category:"People & Body",aliases:["santa"],tags:["christmas"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🤶",description:"Mrs. Claus",category:"People & Body",aliases:["mrs_claus"],tags:["santa"],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"🧑🎄",description:"mx claus",category:"People & Body",aliases:["mx_claus"],tags:[],unicode_version:"13.0",ios_version:"14.0",skin_tones:!0},{emoji:"🦸",description:"superhero",category:"People & Body",aliases:["superhero"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🦸♂️",description:"man superhero",category:"People & Body",aliases:["superhero_man"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🦸♀️",description:"woman superhero",category:"People & Body",aliases:["superhero_woman"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🦹",description:"supervillain",category:"People & Body",aliases:["supervillain"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🦹♂️",description:"man supervillain",category:"People & Body",aliases:["supervillain_man"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🦹♀️",description:"woman supervillain",category:"People & Body",aliases:["supervillain_woman"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧙",description:"mage",category:"People & Body",aliases:["mage"],tags:["wizard"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧙♂️",description:"man mage",category:"People & Body",aliases:["mage_man"],tags:["wizard"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧙♀️",description:"woman mage",category:"People & Body",aliases:["mage_woman"],tags:["wizard"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧚",description:"fairy",category:"People & Body",aliases:["fairy"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧚♂️",description:"man fairy",category:"People & Body",aliases:["fairy_man"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧚♀️",description:"woman fairy",category:"People & Body",aliases:["fairy_woman"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧛",description:"vampire",category:"People & Body",aliases:["vampire"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧛♂️",description:"man vampire",category:"People & Body",aliases:["vampire_man"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧛♀️",description:"woman vampire",category:"People & Body",aliases:["vampire_woman"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧜",description:"merperson",category:"People & Body",aliases:["merperson"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧜♂️",description:"merman",category:"People & Body",aliases:["merman"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧜♀️",description:"mermaid",category:"People & Body",aliases:["mermaid"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧝",description:"elf",category:"People & Body",aliases:["elf"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧝♂️",description:"man elf",category:"People & Body",aliases:["elf_man"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧝♀️",description:"woman elf",category:"People & Body",aliases:["elf_woman"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧞",description:"genie",category:"People & Body",aliases:["genie"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧞♂️",description:"man genie",category:"People & Body",aliases:["genie_man"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧞♀️",description:"woman genie",category:"People & Body",aliases:["genie_woman"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧟",description:"zombie",category:"People & Body",aliases:["zombie"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧟♂️",description:"man zombie",category:"People & Body",aliases:["zombie_man"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧟♀️",description:"woman zombie",category:"People & Body",aliases:["zombie_woman"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"💆",description:"person getting massage",category:"People & Body",aliases:["massage"],tags:["spa"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"💆♂️",description:"man getting massage",category:"People & Body",aliases:["massage_man"],tags:["spa"],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"💆♀️",description:"woman getting massage",category:"People & Body",aliases:["massage_woman"],tags:["spa"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"💇",description:"person getting haircut",category:"People & Body",aliases:["haircut"],tags:["beauty"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"💇♂️",description:"man getting haircut",category:"People & Body",aliases:["haircut_man"],tags:[],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"💇♀️",description:"woman getting haircut",category:"People & Body",aliases:["haircut_woman"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🚶",description:"person walking",category:"People & Body",aliases:["walking"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🚶♂️",description:"man walking",category:"People & Body",aliases:["walking_man"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🚶♀️",description:"woman walking",category:"People & Body",aliases:["walking_woman"],tags:[],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"🧍",description:"person standing",category:"People & Body",aliases:["standing_person"],tags:[],unicode_version:"12.0",ios_version:"13.0",skin_tones:!0},{emoji:"🧍♂️",description:"man standing",category:"People & Body",aliases:["standing_man"],tags:[],unicode_version:"12.0",ios_version:"13.0",skin_tones:!0},{emoji:"🧍♀️",description:"woman standing",category:"People & Body",aliases:["standing_woman"],tags:[],unicode_version:"12.0",ios_version:"13.0",skin_tones:!0},{emoji:"🧎",description:"person kneeling",category:"People & Body",aliases:["kneeling_person"],tags:[],unicode_version:"12.0",ios_version:"13.0",skin_tones:!0},{emoji:"🧎♂️",description:"man kneeling",category:"People & Body",aliases:["kneeling_man"],tags:[],unicode_version:"12.0",ios_version:"13.0",skin_tones:!0},{emoji:"🧎♀️",description:"woman kneeling",category:"People & Body",aliases:["kneeling_woman"],tags:[],unicode_version:"12.0",ios_version:"13.0",skin_tones:!0},{emoji:"🧑🦯",description:"person with white cane",category:"People & Body",aliases:["person_with_probing_cane"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👨🦯",description:"man with white cane",category:"People & Body",aliases:["man_with_probing_cane"],tags:[],unicode_version:"12.0",ios_version:"13.0",skin_tones:!0},{emoji:"👩🦯",description:"woman with white cane",category:"People & Body",aliases:["woman_with_probing_cane"],tags:[],unicode_version:"12.0",ios_version:"13.0",skin_tones:!0},{emoji:"🧑🦼",description:"person in motorized wheelchair",category:"People & Body",aliases:["person_in_motorized_wheelchair"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👨🦼",description:"man in motorized wheelchair",category:"People & Body",aliases:["man_in_motorized_wheelchair"],tags:[],unicode_version:"12.0",ios_version:"13.0",skin_tones:!0},{emoji:"👩🦼",description:"woman in motorized wheelchair",category:"People & Body",aliases:["woman_in_motorized_wheelchair"],tags:[],unicode_version:"12.0",ios_version:"13.0",skin_tones:!0},{emoji:"🧑🦽",description:"person in manual wheelchair",category:"People & Body",aliases:["person_in_manual_wheelchair"],tags:[],unicode_version:"12.1",ios_version:"13.2",skin_tones:!0},{emoji:"👨🦽",description:"man in manual wheelchair",category:"People & Body",aliases:["man_in_manual_wheelchair"],tags:[],unicode_version:"12.0",ios_version:"13.0",skin_tones:!0},{emoji:"👩🦽",description:"woman in manual wheelchair",category:"People & Body",aliases:["woman_in_manual_wheelchair"],tags:[],unicode_version:"12.0",ios_version:"13.0",skin_tones:!0},{emoji:"🏃",description:"person running",category:"People & Body",aliases:["runner","running"],tags:["exercise","workout","marathon"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🏃♂️",description:"man running",category:"People & Body",aliases:["running_man"],tags:["exercise","workout","marathon"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🏃♀️",description:"woman running",category:"People & Body",aliases:["running_woman"],tags:["exercise","workout","marathon"],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"💃",description:"woman dancing",category:"People & Body",aliases:["woman_dancing","dancer"],tags:["dress"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🕺",description:"man dancing",category:"People & Body",aliases:["man_dancing"],tags:["dancer"],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"🕴️",description:"person in suit levitating",category:"People & Body",aliases:["business_suit_levitating"],tags:[],unicode_version:"7.0",ios_version:"9.1",skin_tones:!0},{emoji:"👯",description:"people with bunny ears",category:"People & Body",aliases:["dancers"],tags:["bunny"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👯♂️",description:"men with bunny ears",category:"People & Body",aliases:["dancing_men"],tags:["bunny"],unicode_version:"6.0",ios_version:"10.0"},{emoji:"👯♀️",description:"women with bunny ears",category:"People & Body",aliases:["dancing_women"],tags:["bunny"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧖",description:"person in steamy room",category:"People & Body",aliases:["sauna_person"],tags:["steamy"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧖♂️",description:"man in steamy room",category:"People & Body",aliases:["sauna_man"],tags:["steamy"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧖♀️",description:"woman in steamy room",category:"People & Body",aliases:["sauna_woman"],tags:["steamy"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧗",description:"person climbing",category:"People & Body",aliases:["climbing"],tags:["bouldering"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧗♂️",description:"man climbing",category:"People & Body",aliases:["climbing_man"],tags:["bouldering"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧗♀️",description:"woman climbing",category:"People & Body",aliases:["climbing_woman"],tags:["bouldering"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🤺",description:"person fencing",category:"People & Body",aliases:["person_fencing"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🏇",description:"horse racing",category:"People & Body",aliases:["horse_racing"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"⛷️",description:"skier",category:"People & Body",aliases:["skier"],tags:[],unicode_version:"5.2",ios_version:"9.1"},{emoji:"🏂",description:"snowboarder",category:"People & Body",aliases:["snowboarder"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🏌️",description:"person golfing",category:"People & Body",aliases:["golfing"],tags:[],unicode_version:"7.0",ios_version:"9.1",skin_tones:!0},{emoji:"🏌️♂️",description:"man golfing",category:"People & Body",aliases:["golfing_man"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🏌️♀️",description:"woman golfing",category:"People & Body",aliases:["golfing_woman"],tags:[],unicode_version:"",ios_version:"10.0",skin_tones:!0},{emoji:"🏄",description:"person surfing",category:"People & Body",aliases:["surfer"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🏄♂️",description:"man surfing",category:"People & Body",aliases:["surfing_man"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🏄♀️",description:"woman surfing",category:"People & Body",aliases:["surfing_woman"],tags:[],unicode_version:"7.0",ios_version:"10.0",skin_tones:!0},{emoji:"🚣",description:"person rowing boat",category:"People & Body",aliases:["rowboat"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🚣♂️",description:"man rowing boat",category:"People & Body",aliases:["rowing_man"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🚣♀️",description:"woman rowing boat",category:"People & Body",aliases:["rowing_woman"],tags:[],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"🏊",description:"person swimming",category:"People & Body",aliases:["swimmer"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🏊♂️",description:"man swimming",category:"People & Body",aliases:["swimming_man"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🏊♀️",description:"woman swimming",category:"People & Body",aliases:["swimming_woman"],tags:[],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"⛹️",description:"person bouncing ball",category:"People & Body",aliases:["bouncing_ball_person"],tags:["basketball"],unicode_version:"5.2",ios_version:"9.1",skin_tones:!0},{emoji:"⛹️♂️",description:"man bouncing ball",category:"People & Body",aliases:["bouncing_ball_man","basketball_man"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"⛹️♀️",description:"woman bouncing ball",category:"People & Body",aliases:["bouncing_ball_woman","basketball_woman"],tags:[],unicode_version:"7.0",ios_version:"10.0",skin_tones:!0},{emoji:"🏋️",description:"person lifting weights",category:"People & Body",aliases:["weight_lifting"],tags:["gym","workout"],unicode_version:"7.0",ios_version:"9.1",skin_tones:!0},{emoji:"🏋️♂️",description:"man lifting weights",category:"People & Body",aliases:["weight_lifting_man"],tags:["gym","workout"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🏋️♀️",description:"woman lifting weights",category:"People & Body",aliases:["weight_lifting_woman"],tags:["gym","workout"],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"🚴",description:"person biking",category:"People & Body",aliases:["bicyclist"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🚴♂️",description:"man biking",category:"People & Body",aliases:["biking_man"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🚴♀️",description:"woman biking",category:"People & Body",aliases:["biking_woman"],tags:[],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"🚵",description:"person mountain biking",category:"People & Body",aliases:["mountain_bicyclist"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🚵♂️",description:"man mountain biking",category:"People & Body",aliases:["mountain_biking_man"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🚵♀️",description:"woman mountain biking",category:"People & Body",aliases:["mountain_biking_woman"],tags:[],unicode_version:"6.0",ios_version:"10.0",skin_tones:!0},{emoji:"🤸",description:"person cartwheeling",category:"People & Body",aliases:["cartwheeling"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🤸♂️",description:"man cartwheeling",category:"People & Body",aliases:["man_cartwheeling"],tags:[],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"🤸♀️",description:"woman cartwheeling",category:"People & Body",aliases:["woman_cartwheeling"],tags:[],unicode_version:"",ios_version:"10.2",skin_tones:!0},{emoji:"🤼",description:"people wrestling",category:"People & Body",aliases:["wrestling"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🤼♂️",description:"men wrestling",category:"People & Body",aliases:["men_wrestling"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🤼♀️",description:"women wrestling",category:"People & Body",aliases:["women_wrestling"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🤽",description:"person playing water polo",category:"People & Body",aliases:["water_polo"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🤽♂️",description:"man playing water polo",category:"People & Body",aliases:["man_playing_water_polo"],tags:[],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"🤽♀️",description:"woman playing water polo",category:"People & Body",aliases:["woman_playing_water_polo"],tags:[],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"🤾",description:"person playing handball",category:"People & Body",aliases:["handball_person"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🤾♂️",description:"man playing handball",category:"People & Body",aliases:["man_playing_handball"],tags:[],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"🤾♀️",description:"woman playing handball",category:"People & Body",aliases:["woman_playing_handball"],tags:[],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"🤹",description:"person juggling",category:"People & Body",aliases:["juggling_person"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🤹♂️",description:"man juggling",category:"People & Body",aliases:["man_juggling"],tags:[],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"🤹♀️",description:"woman juggling",category:"People & Body",aliases:["woman_juggling"],tags:[],unicode_version:"9.0",ios_version:"10.2",skin_tones:!0},{emoji:"🧘",description:"person in lotus position",category:"People & Body",aliases:["lotus_position"],tags:["meditation"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧘♂️",description:"man in lotus position",category:"People & Body",aliases:["lotus_position_man"],tags:["meditation"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🧘♀️",description:"woman in lotus position",category:"People & Body",aliases:["lotus_position_woman"],tags:["meditation"],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"🛀",description:"person taking bath",category:"People & Body",aliases:["bath"],tags:["shower"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"🛌",description:"person in bed",category:"People & Body",aliases:["sleeping_bed"],tags:[],unicode_version:"7.0",ios_version:"9.1",skin_tones:!0},{emoji:"🧑🤝🧑",description:"people holding hands",category:"People & Body",aliases:["people_holding_hands"],tags:["couple","date"],unicode_version:"12.0",ios_version:"13.0",skin_tones:!0},{emoji:"👭",description:"women holding hands",category:"People & Body",aliases:["two_women_holding_hands"],tags:["couple","date"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"👫",description:"woman and man holding hands",category:"People & Body",aliases:["couple"],tags:["date"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"👬",description:"men holding hands",category:"People & Body",aliases:["two_men_holding_hands"],tags:["couple","date"],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"💏",description:"kiss",category:"People & Body",aliases:["couplekiss"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"👩❤️💋👨",description:"kiss: woman, man",category:"People & Body",aliases:["couplekiss_man_woman"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"👨❤️💋👨",description:"kiss: man, man",category:"People & Body",aliases:["couplekiss_man_man"],tags:[],unicode_version:"6.0",ios_version:"8.3",skin_tones:!0},{emoji:"👩❤️💋👩",description:"kiss: woman, woman",category:"People & Body",aliases:["couplekiss_woman_woman"],tags:[],unicode_version:"6.0",ios_version:"8.3",skin_tones:!0},{emoji:"💑",description:"couple with heart",category:"People & Body",aliases:["couple_with_heart"],tags:[],unicode_version:"6.0",ios_version:"6.0",skin_tones:!0},{emoji:"👩❤️👨",description:"couple with heart: woman, man",category:"People & Body",aliases:["couple_with_heart_woman_man"],tags:[],unicode_version:"11.0",ios_version:"12.1",skin_tones:!0},{emoji:"👨❤️👨",description:"couple with heart: man, man",category:"People & Body",aliases:["couple_with_heart_man_man"],tags:[],unicode_version:"6.0",ios_version:"8.3",skin_tones:!0},{emoji:"👩❤️👩",description:"couple with heart: woman, woman",category:"People & Body",aliases:["couple_with_heart_woman_woman"],tags:[],unicode_version:"6.0",ios_version:"8.3",skin_tones:!0},{emoji:"👪",description:"family",category:"People & Body",aliases:["family"],tags:["home","parents","child"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👨👩👦",description:"family: man, woman, boy",category:"People & Body",aliases:["family_man_woman_boy"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"👨👩👧",description:"family: man, woman, girl",category:"People & Body",aliases:["family_man_woman_girl"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"👨👩👧👦",description:"family: man, woman, girl, boy",category:"People & Body",aliases:["family_man_woman_girl_boy"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"👨👩👦👦",description:"family: man, woman, boy, boy",category:"People & Body",aliases:["family_man_woman_boy_boy"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"👨👩👧👧",description:"family: man, woman, girl, girl",category:"People & Body",aliases:["family_man_woman_girl_girl"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"👨👨👦",description:"family: man, man, boy",category:"People & Body",aliases:["family_man_man_boy"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"👨👨👧",description:"family: man, man, girl",category:"People & Body",aliases:["family_man_man_girl"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"👨👨👧👦",description:"family: man, man, girl, boy",category:"People & Body",aliases:["family_man_man_girl_boy"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"👨👨👦👦",description:"family: man, man, boy, boy",category:"People & Body",aliases:["family_man_man_boy_boy"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"👨👨👧👧",description:"family: man, man, girl, girl",category:"People & Body",aliases:["family_man_man_girl_girl"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"👩👩👦",description:"family: woman, woman, boy",category:"People & Body",aliases:["family_woman_woman_boy"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"👩👩👧",description:"family: woman, woman, girl",category:"People & Body",aliases:["family_woman_woman_girl"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"👩👩👧👦",description:"family: woman, woman, girl, boy",category:"People & Body",aliases:["family_woman_woman_girl_boy"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"👩👩👦👦",description:"family: woman, woman, boy, boy",category:"People & Body",aliases:["family_woman_woman_boy_boy"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"👩👩👧👧",description:"family: woman, woman, girl, girl",category:"People & Body",aliases:["family_woman_woman_girl_girl"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"👨👦",description:"family: man, boy",category:"People & Body",aliases:["family_man_boy"],tags:[],unicode_version:"6.0",ios_version:"10.0"},{emoji:"👨👦👦",description:"family: man, boy, boy",category:"People & Body",aliases:["family_man_boy_boy"],tags:[],unicode_version:"6.0",ios_version:"10.0"},{emoji:"👨👧",description:"family: man, girl",category:"People & Body",aliases:["family_man_girl"],tags:[],unicode_version:"6.0",ios_version:"10.0"},{emoji:"👨👧👦",description:"family: man, girl, boy",category:"People & Body",aliases:["family_man_girl_boy"],tags:[],unicode_version:"6.0",ios_version:"10.0"},{emoji:"👨👧👧",description:"family: man, girl, girl",category:"People & Body",aliases:["family_man_girl_girl"],tags:[],unicode_version:"6.0",ios_version:"10.0"},{emoji:"👩👦",description:"family: woman, boy",category:"People & Body",aliases:["family_woman_boy"],tags:[],unicode_version:"6.0",ios_version:"10.0"},{emoji:"👩👦👦",description:"family: woman, boy, boy",category:"People & Body",aliases:["family_woman_boy_boy"],tags:[],unicode_version:"6.0",ios_version:"10.0"},{emoji:"👩👧",description:"family: woman, girl",category:"People & Body",aliases:["family_woman_girl"],tags:[],unicode_version:"6.0",ios_version:"10.0"},{emoji:"👩👧👦",description:"family: woman, girl, boy",category:"People & Body",aliases:["family_woman_girl_boy"],tags:[],unicode_version:"6.0",ios_version:"10.0"},{emoji:"👩👧👧",description:"family: woman, girl, girl",category:"People & Body",aliases:["family_woman_girl_girl"],tags:[],unicode_version:"6.0",ios_version:"10.0"},{emoji:"🗣️",description:"speaking head",category:"People & Body",aliases:["speaking_head"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"👤",description:"bust in silhouette",category:"People & Body",aliases:["bust_in_silhouette"],tags:["user"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👥",description:"busts in silhouette",category:"People & Body",aliases:["busts_in_silhouette"],tags:["users","group","team"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🫂",description:"people hugging",category:"People & Body",aliases:["people_hugging"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"👣",description:"footprints",category:"People & Body",aliases:["footprints"],tags:["feet","tracks"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐵",description:"monkey face",category:"Animals & Nature",aliases:["monkey_face"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐒",description:"monkey",category:"Animals & Nature",aliases:["monkey"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🦍",description:"gorilla",category:"Animals & Nature",aliases:["gorilla"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🦧",description:"orangutan",category:"Animals & Nature",aliases:["orangutan"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🐶",description:"dog face",category:"Animals & Nature",aliases:["dog"],tags:["pet"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐕",description:"dog",category:"Animals & Nature",aliases:["dog2"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🦮",description:"guide dog",category:"Animals & Nature",aliases:["guide_dog"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🐕🦺",description:"service dog",category:"Animals & Nature",aliases:["service_dog"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🐩",description:"poodle",category:"Animals & Nature",aliases:["poodle"],tags:["dog"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐺",description:"wolf",category:"Animals & Nature",aliases:["wolf"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🦊",description:"fox",category:"Animals & Nature",aliases:["fox_face"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🦝",description:"raccoon",category:"Animals & Nature",aliases:["raccoon"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🐱",description:"cat face",category:"Animals & Nature",aliases:["cat"],tags:["pet"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐈",description:"cat",category:"Animals & Nature",aliases:["cat2"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐈⬛",description:"black cat",category:"Animals & Nature",aliases:["black_cat"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🦁",description:"lion",category:"Animals & Nature",aliases:["lion"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🐯",description:"tiger face",category:"Animals & Nature",aliases:["tiger"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐅",description:"tiger",category:"Animals & Nature",aliases:["tiger2"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐆",description:"leopard",category:"Animals & Nature",aliases:["leopard"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐴",description:"horse face",category:"Animals & Nature",aliases:["horse"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐎",description:"horse",category:"Animals & Nature",aliases:["racehorse"],tags:["speed"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🦄",description:"unicorn",category:"Animals & Nature",aliases:["unicorn"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🦓",description:"zebra",category:"Animals & Nature",aliases:["zebra"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🦌",description:"deer",category:"Animals & Nature",aliases:["deer"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🦬",description:"bison",category:"Animals & Nature",aliases:["bison"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🐮",description:"cow face",category:"Animals & Nature",aliases:["cow"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐂",description:"ox",category:"Animals & Nature",aliases:["ox"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐃",description:"water buffalo",category:"Animals & Nature",aliases:["water_buffalo"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐄",description:"cow",category:"Animals & Nature",aliases:["cow2"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐷",description:"pig face",category:"Animals & Nature",aliases:["pig"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐖",description:"pig",category:"Animals & Nature",aliases:["pig2"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐗",description:"boar",category:"Animals & Nature",aliases:["boar"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐽",description:"pig nose",category:"Animals & Nature",aliases:["pig_nose"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐏",description:"ram",category:"Animals & Nature",aliases:["ram"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐑",description:"ewe",category:"Animals & Nature",aliases:["sheep"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐐",description:"goat",category:"Animals & Nature",aliases:["goat"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐪",description:"camel",category:"Animals & Nature",aliases:["dromedary_camel"],tags:["desert"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐫",description:"two-hump camel",category:"Animals & Nature",aliases:["camel"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🦙",description:"llama",category:"Animals & Nature",aliases:["llama"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🦒",description:"giraffe",category:"Animals & Nature",aliases:["giraffe"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🐘",description:"elephant",category:"Animals & Nature",aliases:["elephant"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🦣",description:"mammoth",category:"Animals & Nature",aliases:["mammoth"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🦏",description:"rhinoceros",category:"Animals & Nature",aliases:["rhinoceros"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🦛",description:"hippopotamus",category:"Animals & Nature",aliases:["hippopotamus"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🐭",description:"mouse face",category:"Animals & Nature",aliases:["mouse"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐁",description:"mouse",category:"Animals & Nature",aliases:["mouse2"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐀",description:"rat",category:"Animals & Nature",aliases:["rat"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐹",description:"hamster",category:"Animals & Nature",aliases:["hamster"],tags:["pet"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐰",description:"rabbit face",category:"Animals & Nature",aliases:["rabbit"],tags:["bunny"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐇",description:"rabbit",category:"Animals & Nature",aliases:["rabbit2"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐿️",description:"chipmunk",category:"Animals & Nature",aliases:["chipmunk"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🦫",description:"beaver",category:"Animals & Nature",aliases:["beaver"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🦔",description:"hedgehog",category:"Animals & Nature",aliases:["hedgehog"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🦇",description:"bat",category:"Animals & Nature",aliases:["bat"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🐻",description:"bear",category:"Animals & Nature",aliases:["bear"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐻❄️",description:"polar bear",category:"Animals & Nature",aliases:["polar_bear"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🐨",description:"koala",category:"Animals & Nature",aliases:["koala"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐼",description:"panda",category:"Animals & Nature",aliases:["panda_face"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🦥",description:"sloth",category:"Animals & Nature",aliases:["sloth"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🦦",description:"otter",category:"Animals & Nature",aliases:["otter"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🦨",description:"skunk",category:"Animals & Nature",aliases:["skunk"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🦘",description:"kangaroo",category:"Animals & Nature",aliases:["kangaroo"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🦡",description:"badger",category:"Animals & Nature",aliases:["badger"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🐾",description:"paw prints",category:"Animals & Nature",aliases:["feet","paw_prints"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🦃",description:"turkey",category:"Animals & Nature",aliases:["turkey"],tags:["thanksgiving"],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🐔",description:"chicken",category:"Animals & Nature",aliases:["chicken"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐓",description:"rooster",category:"Animals & Nature",aliases:["rooster"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐣",description:"hatching chick",category:"Animals & Nature",aliases:["hatching_chick"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐤",description:"baby chick",category:"Animals & Nature",aliases:["baby_chick"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐥",description:"front-facing baby chick",category:"Animals & Nature",aliases:["hatched_chick"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐦",description:"bird",category:"Animals & Nature",aliases:["bird"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐧",description:"penguin",category:"Animals & Nature",aliases:["penguin"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕊️",description:"dove",category:"Animals & Nature",aliases:["dove"],tags:["peace"],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🦅",description:"eagle",category:"Animals & Nature",aliases:["eagle"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🦆",description:"duck",category:"Animals & Nature",aliases:["duck"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🦢",description:"swan",category:"Animals & Nature",aliases:["swan"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🦉",description:"owl",category:"Animals & Nature",aliases:["owl"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🦤",description:"dodo",category:"Animals & Nature",aliases:["dodo"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🪶",description:"feather",category:"Animals & Nature",aliases:["feather"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🦩",description:"flamingo",category:"Animals & Nature",aliases:["flamingo"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🦚",description:"peacock",category:"Animals & Nature",aliases:["peacock"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🦜",description:"parrot",category:"Animals & Nature",aliases:["parrot"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🐸",description:"frog",category:"Animals & Nature",aliases:["frog"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐊",description:"crocodile",category:"Animals & Nature",aliases:["crocodile"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐢",description:"turtle",category:"Animals & Nature",aliases:["turtle"],tags:["slow"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🦎",description:"lizard",category:"Animals & Nature",aliases:["lizard"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🐍",description:"snake",category:"Animals & Nature",aliases:["snake"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐲",description:"dragon face",category:"Animals & Nature",aliases:["dragon_face"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐉",description:"dragon",category:"Animals & Nature",aliases:["dragon"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🦕",description:"sauropod",category:"Animals & Nature",aliases:["sauropod"],tags:["dinosaur"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🦖",description:"T-Rex",category:"Animals & Nature",aliases:["t-rex"],tags:["dinosaur"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🐳",description:"spouting whale",category:"Animals & Nature",aliases:["whale"],tags:["sea"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐋",description:"whale",category:"Animals & Nature",aliases:["whale2"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐬",description:"dolphin",category:"Animals & Nature",aliases:["dolphin","flipper"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🦭",description:"seal",category:"Animals & Nature",aliases:["seal"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🐟",description:"fish",category:"Animals & Nature",aliases:["fish"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐠",description:"tropical fish",category:"Animals & Nature",aliases:["tropical_fish"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐡",description:"blowfish",category:"Animals & Nature",aliases:["blowfish"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🦈",description:"shark",category:"Animals & Nature",aliases:["shark"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🐙",description:"octopus",category:"Animals & Nature",aliases:["octopus"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐚",description:"spiral shell",category:"Animals & Nature",aliases:["shell"],tags:["sea","beach"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐌",description:"snail",category:"Animals & Nature",aliases:["snail"],tags:["slow"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🦋",description:"butterfly",category:"Animals & Nature",aliases:["butterfly"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🐛",description:"bug",category:"Animals & Nature",aliases:["bug"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐜",description:"ant",category:"Animals & Nature",aliases:["ant"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🐝",description:"honeybee",category:"Animals & Nature",aliases:["bee","honeybee"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🪲",description:"beetle",category:"Animals & Nature",aliases:["beetle"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🐞",description:"lady beetle",category:"Animals & Nature",aliases:["lady_beetle"],tags:["bug"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🦗",description:"cricket",category:"Animals & Nature",aliases:["cricket"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🪳",description:"cockroach",category:"Animals & Nature",aliases:["cockroach"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🕷️",description:"spider",category:"Animals & Nature",aliases:["spider"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🕸️",description:"spider web",category:"Animals & Nature",aliases:["spider_web"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🦂",description:"scorpion",category:"Animals & Nature",aliases:["scorpion"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🦟",description:"mosquito",category:"Animals & Nature",aliases:["mosquito"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🪰",description:"fly",category:"Animals & Nature",aliases:["fly"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🪱",description:"worm",category:"Animals & Nature",aliases:["worm"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🦠",description:"microbe",category:"Animals & Nature",aliases:["microbe"],tags:["germ"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"💐",description:"bouquet",category:"Animals & Nature",aliases:["bouquet"],tags:["flowers"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌸",description:"cherry blossom",category:"Animals & Nature",aliases:["cherry_blossom"],tags:["flower","spring"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💮",description:"white flower",category:"Animals & Nature",aliases:["white_flower"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏵️",description:"rosette",category:"Animals & Nature",aliases:["rosette"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🌹",description:"rose",category:"Animals & Nature",aliases:["rose"],tags:["flower"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🥀",description:"wilted flower",category:"Animals & Nature",aliases:["wilted_flower"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🌺",description:"hibiscus",category:"Animals & Nature",aliases:["hibiscus"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌻",description:"sunflower",category:"Animals & Nature",aliases:["sunflower"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌼",description:"blossom",category:"Animals & Nature",aliases:["blossom"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌷",description:"tulip",category:"Animals & Nature",aliases:["tulip"],tags:["flower"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌱",description:"seedling",category:"Animals & Nature",aliases:["seedling"],tags:["plant"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🪴",description:"potted plant",category:"Animals & Nature",aliases:["potted_plant"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🌲",description:"evergreen tree",category:"Animals & Nature",aliases:["evergreen_tree"],tags:["wood"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌳",description:"deciduous tree",category:"Animals & Nature",aliases:["deciduous_tree"],tags:["wood"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌴",description:"palm tree",category:"Animals & Nature",aliases:["palm_tree"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌵",description:"cactus",category:"Animals & Nature",aliases:["cactus"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌾",description:"sheaf of rice",category:"Animals & Nature",aliases:["ear_of_rice"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌿",description:"herb",category:"Animals & Nature",aliases:["herb"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"☘️",description:"shamrock",category:"Animals & Nature",aliases:["shamrock"],tags:[],unicode_version:"4.1",ios_version:"9.1"},{emoji:"🍀",description:"four leaf clover",category:"Animals & Nature",aliases:["four_leaf_clover"],tags:["luck"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍁",description:"maple leaf",category:"Animals & Nature",aliases:["maple_leaf"],tags:["canada"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍂",description:"fallen leaf",category:"Animals & Nature",aliases:["fallen_leaf"],tags:["autumn"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍃",description:"leaf fluttering in wind",category:"Animals & Nature",aliases:["leaves"],tags:["leaf"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍇",description:"grapes",category:"Food & Drink",aliases:["grapes"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍈",description:"melon",category:"Food & Drink",aliases:["melon"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍉",description:"watermelon",category:"Food & Drink",aliases:["watermelon"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍊",description:"tangerine",category:"Food & Drink",aliases:["tangerine","orange","mandarin"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍋",description:"lemon",category:"Food & Drink",aliases:["lemon"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍌",description:"banana",category:"Food & Drink",aliases:["banana"],tags:["fruit"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍍",description:"pineapple",category:"Food & Drink",aliases:["pineapple"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🥭",description:"mango",category:"Food & Drink",aliases:["mango"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🍎",description:"red apple",category:"Food & Drink",aliases:["apple"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍏",description:"green apple",category:"Food & Drink",aliases:["green_apple"],tags:["fruit"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍐",description:"pear",category:"Food & Drink",aliases:["pear"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍑",description:"peach",category:"Food & Drink",aliases:["peach"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍒",description:"cherries",category:"Food & Drink",aliases:["cherries"],tags:["fruit"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍓",description:"strawberry",category:"Food & Drink",aliases:["strawberry"],tags:["fruit"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🫐",description:"blueberries",category:"Food & Drink",aliases:["blueberries"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🥝",description:"kiwi fruit",category:"Food & Drink",aliases:["kiwi_fruit"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🍅",description:"tomato",category:"Food & Drink",aliases:["tomato"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🫒",description:"olive",category:"Food & Drink",aliases:["olive"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🥥",description:"coconut",category:"Food & Drink",aliases:["coconut"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🥑",description:"avocado",category:"Food & Drink",aliases:["avocado"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🍆",description:"eggplant",category:"Food & Drink",aliases:["eggplant"],tags:["aubergine"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🥔",description:"potato",category:"Food & Drink",aliases:["potato"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🥕",description:"carrot",category:"Food & Drink",aliases:["carrot"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🌽",description:"ear of corn",category:"Food & Drink",aliases:["corn"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌶️",description:"hot pepper",category:"Food & Drink",aliases:["hot_pepper"],tags:["spicy"],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🫑",description:"bell pepper",category:"Food & Drink",aliases:["bell_pepper"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🥒",description:"cucumber",category:"Food & Drink",aliases:["cucumber"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🥬",description:"leafy green",category:"Food & Drink",aliases:["leafy_green"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🥦",description:"broccoli",category:"Food & Drink",aliases:["broccoli"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧄",description:"garlic",category:"Food & Drink",aliases:["garlic"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🧅",description:"onion",category:"Food & Drink",aliases:["onion"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🍄",description:"mushroom",category:"Food & Drink",aliases:["mushroom"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🥜",description:"peanuts",category:"Food & Drink",aliases:["peanuts"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🌰",description:"chestnut",category:"Food & Drink",aliases:["chestnut"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍞",description:"bread",category:"Food & Drink",aliases:["bread"],tags:["toast"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🥐",description:"croissant",category:"Food & Drink",aliases:["croissant"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🥖",description:"baguette bread",category:"Food & Drink",aliases:["baguette_bread"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🫓",description:"flatbread",category:"Food & Drink",aliases:["flatbread"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🥨",description:"pretzel",category:"Food & Drink",aliases:["pretzel"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🥯",description:"bagel",category:"Food & Drink",aliases:["bagel"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🥞",description:"pancakes",category:"Food & Drink",aliases:["pancakes"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🧇",description:"waffle",category:"Food & Drink",aliases:["waffle"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🧀",description:"cheese wedge",category:"Food & Drink",aliases:["cheese"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🍖",description:"meat on bone",category:"Food & Drink",aliases:["meat_on_bone"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍗",description:"poultry leg",category:"Food & Drink",aliases:["poultry_leg"],tags:["meat","chicken"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🥩",description:"cut of meat",category:"Food & Drink",aliases:["cut_of_meat"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🥓",description:"bacon",category:"Food & Drink",aliases:["bacon"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🍔",description:"hamburger",category:"Food & Drink",aliases:["hamburger"],tags:["burger"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍟",description:"french fries",category:"Food & Drink",aliases:["fries"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍕",description:"pizza",category:"Food & Drink",aliases:["pizza"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌭",description:"hot dog",category:"Food & Drink",aliases:["hotdog"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🥪",description:"sandwich",category:"Food & Drink",aliases:["sandwich"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🌮",description:"taco",category:"Food & Drink",aliases:["taco"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🌯",description:"burrito",category:"Food & Drink",aliases:["burrito"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🫔",description:"tamale",category:"Food & Drink",aliases:["tamale"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🥙",description:"stuffed flatbread",category:"Food & Drink",aliases:["stuffed_flatbread"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🧆",description:"falafel",category:"Food & Drink",aliases:["falafel"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🥚",description:"egg",category:"Food & Drink",aliases:["egg"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🍳",description:"cooking",category:"Food & Drink",aliases:["fried_egg"],tags:["breakfast"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🥘",description:"shallow pan of food",category:"Food & Drink",aliases:["shallow_pan_of_food"],tags:["paella","curry"],unicode_version:"",ios_version:"10.2"},{emoji:"🍲",description:"pot of food",category:"Food & Drink",aliases:["stew"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🫕",description:"fondue",category:"Food & Drink",aliases:["fondue"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🥣",description:"bowl with spoon",category:"Food & Drink",aliases:["bowl_with_spoon"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🥗",description:"green salad",category:"Food & Drink",aliases:["green_salad"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🍿",description:"popcorn",category:"Food & Drink",aliases:["popcorn"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🧈",description:"butter",category:"Food & Drink",aliases:["butter"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🧂",description:"salt",category:"Food & Drink",aliases:["salt"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🥫",description:"canned food",category:"Food & Drink",aliases:["canned_food"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🍱",description:"bento box",category:"Food & Drink",aliases:["bento"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍘",description:"rice cracker",category:"Food & Drink",aliases:["rice_cracker"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍙",description:"rice ball",category:"Food & Drink",aliases:["rice_ball"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍚",description:"cooked rice",category:"Food & Drink",aliases:["rice"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍛",description:"curry rice",category:"Food & Drink",aliases:["curry"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍜",description:"steaming bowl",category:"Food & Drink",aliases:["ramen"],tags:["noodle"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍝",description:"spaghetti",category:"Food & Drink",aliases:["spaghetti"],tags:["pasta"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍠",description:"roasted sweet potato",category:"Food & Drink",aliases:["sweet_potato"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍢",description:"oden",category:"Food & Drink",aliases:["oden"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍣",description:"sushi",category:"Food & Drink",aliases:["sushi"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍤",description:"fried shrimp",category:"Food & Drink",aliases:["fried_shrimp"],tags:["tempura"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍥",description:"fish cake with swirl",category:"Food & Drink",aliases:["fish_cake"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🥮",description:"moon cake",category:"Food & Drink",aliases:["moon_cake"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🍡",description:"dango",category:"Food & Drink",aliases:["dango"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🥟",description:"dumpling",category:"Food & Drink",aliases:["dumpling"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🥠",description:"fortune cookie",category:"Food & Drink",aliases:["fortune_cookie"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🥡",description:"takeout box",category:"Food & Drink",aliases:["takeout_box"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🦀",description:"crab",category:"Food & Drink",aliases:["crab"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🦞",description:"lobster",category:"Food & Drink",aliases:["lobster"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🦐",description:"shrimp",category:"Food & Drink",aliases:["shrimp"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🦑",description:"squid",category:"Food & Drink",aliases:["squid"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🦪",description:"oyster",category:"Food & Drink",aliases:["oyster"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🍦",description:"soft ice cream",category:"Food & Drink",aliases:["icecream"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍧",description:"shaved ice",category:"Food & Drink",aliases:["shaved_ice"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍨",description:"ice cream",category:"Food & Drink",aliases:["ice_cream"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍩",description:"doughnut",category:"Food & Drink",aliases:["doughnut"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍪",description:"cookie",category:"Food & Drink",aliases:["cookie"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎂",description:"birthday cake",category:"Food & Drink",aliases:["birthday"],tags:["party"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍰",description:"shortcake",category:"Food & Drink",aliases:["cake"],tags:["dessert"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🧁",description:"cupcake",category:"Food & Drink",aliases:["cupcake"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🥧",description:"pie",category:"Food & Drink",aliases:["pie"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🍫",description:"chocolate bar",category:"Food & Drink",aliases:["chocolate_bar"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍬",description:"candy",category:"Food & Drink",aliases:["candy"],tags:["sweet"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍭",description:"lollipop",category:"Food & Drink",aliases:["lollipop"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍮",description:"custard",category:"Food & Drink",aliases:["custard"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍯",description:"honey pot",category:"Food & Drink",aliases:["honey_pot"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍼",description:"baby bottle",category:"Food & Drink",aliases:["baby_bottle"],tags:["milk"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🥛",description:"glass of milk",category:"Food & Drink",aliases:["milk_glass"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"☕",description:"hot beverage",category:"Food & Drink",aliases:["coffee"],tags:["cafe","espresso"],unicode_version:"4.0",ios_version:"6.0"},{emoji:"🫖",description:"teapot",category:"Food & Drink",aliases:["teapot"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🍵",description:"teacup without handle",category:"Food & Drink",aliases:["tea"],tags:["green","breakfast"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍶",description:"sake",category:"Food & Drink",aliases:["sake"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍾",description:"bottle with popping cork",category:"Food & Drink",aliases:["champagne"],tags:["bottle","bubbly","celebration"],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🍷",description:"wine glass",category:"Food & Drink",aliases:["wine_glass"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍸",description:"cocktail glass",category:"Food & Drink",aliases:["cocktail"],tags:["drink"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍹",description:"tropical drink",category:"Food & Drink",aliases:["tropical_drink"],tags:["summer","vacation"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍺",description:"beer mug",category:"Food & Drink",aliases:["beer"],tags:["drink"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🍻",description:"clinking beer mugs",category:"Food & Drink",aliases:["beers"],tags:["drinks"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🥂",description:"clinking glasses",category:"Food & Drink",aliases:["clinking_glasses"],tags:["cheers","toast"],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🥃",description:"tumbler glass",category:"Food & Drink",aliases:["tumbler_glass"],tags:["whisky"],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🥤",description:"cup with straw",category:"Food & Drink",aliases:["cup_with_straw"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧋",description:"bubble tea",category:"Food & Drink",aliases:["bubble_tea"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🧃",description:"beverage box",category:"Food & Drink",aliases:["beverage_box"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🧉",description:"mate",category:"Food & Drink",aliases:["mate"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🧊",description:"ice",category:"Food & Drink",aliases:["ice_cube"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🥢",description:"chopsticks",category:"Food & Drink",aliases:["chopsticks"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🍽️",description:"fork and knife with plate",category:"Food & Drink",aliases:["plate_with_cutlery"],tags:["dining","dinner"],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🍴",description:"fork and knife",category:"Food & Drink",aliases:["fork_and_knife"],tags:["cutlery"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🥄",description:"spoon",category:"Food & Drink",aliases:["spoon"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🔪",description:"kitchen knife",category:"Food & Drink",aliases:["hocho","knife"],tags:["cut","chop"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏺",description:"amphora",category:"Food & Drink",aliases:["amphora"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🌍",description:"globe showing Europe-Africa",category:"Travel & Places",aliases:["earth_africa"],tags:["globe","world","international"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌎",description:"globe showing Americas",category:"Travel & Places",aliases:["earth_americas"],tags:["globe","world","international"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌏",description:"globe showing Asia-Australia",category:"Travel & Places",aliases:["earth_asia"],tags:["globe","world","international"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌐",description:"globe with meridians",category:"Travel & Places",aliases:["globe_with_meridians"],tags:["world","global","international"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🗺️",description:"world map",category:"Travel & Places",aliases:["world_map"],tags:["travel"],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🗾",description:"map of Japan",category:"Travel & Places",aliases:["japan"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🧭",description:"compass",category:"Travel & Places",aliases:["compass"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🏔️",description:"snow-capped mountain",category:"Travel & Places",aliases:["mountain_snow"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"⛰️",description:"mountain",category:"Travel & Places",aliases:["mountain"],tags:[],unicode_version:"5.2",ios_version:"9.1"},{emoji:"🌋",description:"volcano",category:"Travel & Places",aliases:["volcano"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🗻",description:"mount fuji",category:"Travel & Places",aliases:["mount_fuji"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏕️",description:"camping",category:"Travel & Places",aliases:["camping"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🏖️",description:"beach with umbrella",category:"Travel & Places",aliases:["beach_umbrella"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🏜️",description:"desert",category:"Travel & Places",aliases:["desert"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🏝️",description:"desert island",category:"Travel & Places",aliases:["desert_island"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🏞️",description:"national park",category:"Travel & Places",aliases:["national_park"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🏟️",description:"stadium",category:"Travel & Places",aliases:["stadium"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🏛️",description:"classical building",category:"Travel & Places",aliases:["classical_building"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🏗️",description:"building construction",category:"Travel & Places",aliases:["building_construction"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🧱",description:"brick",category:"Travel & Places",aliases:["bricks"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🪨",description:"rock",category:"Travel & Places",aliases:["rock"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🪵",description:"wood",category:"Travel & Places",aliases:["wood"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🛖",description:"hut",category:"Travel & Places",aliases:["hut"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🏘️",description:"houses",category:"Travel & Places",aliases:["houses"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🏚️",description:"derelict house",category:"Travel & Places",aliases:["derelict_house"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🏠",description:"house",category:"Travel & Places",aliases:["house"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏡",description:"house with garden",category:"Travel & Places",aliases:["house_with_garden"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏢",description:"office building",category:"Travel & Places",aliases:["office"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏣",description:"Japanese post office",category:"Travel & Places",aliases:["post_office"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏤",description:"post office",category:"Travel & Places",aliases:["european_post_office"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏥",description:"hospital",category:"Travel & Places",aliases:["hospital"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏦",description:"bank",category:"Travel & Places",aliases:["bank"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏨",description:"hotel",category:"Travel & Places",aliases:["hotel"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏩",description:"love hotel",category:"Travel & Places",aliases:["love_hotel"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏪",description:"convenience store",category:"Travel & Places",aliases:["convenience_store"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏫",description:"school",category:"Travel & Places",aliases:["school"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏬",description:"department store",category:"Travel & Places",aliases:["department_store"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏭",description:"factory",category:"Travel & Places",aliases:["factory"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏯",description:"Japanese castle",category:"Travel & Places",aliases:["japanese_castle"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏰",description:"castle",category:"Travel & Places",aliases:["european_castle"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💒",description:"wedding",category:"Travel & Places",aliases:["wedding"],tags:["marriage"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🗼",description:"Tokyo tower",category:"Travel & Places",aliases:["tokyo_tower"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🗽",description:"Statue of Liberty",category:"Travel & Places",aliases:["statue_of_liberty"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"⛪",description:"church",category:"Travel & Places",aliases:["church"],tags:[],unicode_version:"5.2",ios_version:"6.0"},{emoji:"🕌",description:"mosque",category:"Travel & Places",aliases:["mosque"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🛕",description:"hindu temple",category:"Travel & Places",aliases:["hindu_temple"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🕍",description:"synagogue",category:"Travel & Places",aliases:["synagogue"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"⛩️",description:"shinto shrine",category:"Travel & Places",aliases:["shinto_shrine"],tags:[],unicode_version:"5.2",ios_version:"9.1"},{emoji:"🕋",description:"kaaba",category:"Travel & Places",aliases:["kaaba"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"⛲",description:"fountain",category:"Travel & Places",aliases:["fountain"],tags:[],unicode_version:"5.2",ios_version:"6.0"},{emoji:"⛺",description:"tent",category:"Travel & Places",aliases:["tent"],tags:["camping"],unicode_version:"5.2",ios_version:"6.0"},{emoji:"🌁",description:"foggy",category:"Travel & Places",aliases:["foggy"],tags:["karl"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌃",description:"night with stars",category:"Travel & Places",aliases:["night_with_stars"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏙️",description:"cityscape",category:"Travel & Places",aliases:["cityscape"],tags:["skyline"],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🌄",description:"sunrise over mountains",category:"Travel & Places",aliases:["sunrise_over_mountains"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌅",description:"sunrise",category:"Travel & Places",aliases:["sunrise"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌆",description:"cityscape at dusk",category:"Travel & Places",aliases:["city_sunset"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌇",description:"sunset",category:"Travel & Places",aliases:["city_sunrise"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌉",description:"bridge at night",category:"Travel & Places",aliases:["bridge_at_night"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"♨️",description:"hot springs",category:"Travel & Places",aliases:["hotsprings"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"🎠",description:"carousel horse",category:"Travel & Places",aliases:["carousel_horse"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎡",description:"ferris wheel",category:"Travel & Places",aliases:["ferris_wheel"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎢",description:"roller coaster",category:"Travel & Places",aliases:["roller_coaster"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💈",description:"barber pole",category:"Travel & Places",aliases:["barber"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎪",description:"circus tent",category:"Travel & Places",aliases:["circus_tent"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚂",description:"locomotive",category:"Travel & Places",aliases:["steam_locomotive"],tags:["train"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚃",description:"railway car",category:"Travel & Places",aliases:["railway_car"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚄",description:"high-speed train",category:"Travel & Places",aliases:["bullettrain_side"],tags:["train"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚅",description:"bullet train",category:"Travel & Places",aliases:["bullettrain_front"],tags:["train"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚆",description:"train",category:"Travel & Places",aliases:["train2"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚇",description:"metro",category:"Travel & Places",aliases:["metro"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚈",description:"light rail",category:"Travel & Places",aliases:["light_rail"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚉",description:"station",category:"Travel & Places",aliases:["station"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚊",description:"tram",category:"Travel & Places",aliases:["tram"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚝",description:"monorail",category:"Travel & Places",aliases:["monorail"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚞",description:"mountain railway",category:"Travel & Places",aliases:["mountain_railway"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚋",description:"tram car",category:"Travel & Places",aliases:["train"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚌",description:"bus",category:"Travel & Places",aliases:["bus"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚍",description:"oncoming bus",category:"Travel & Places",aliases:["oncoming_bus"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚎",description:"trolleybus",category:"Travel & Places",aliases:["trolleybus"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚐",description:"minibus",category:"Travel & Places",aliases:["minibus"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚑",description:"ambulance",category:"Travel & Places",aliases:["ambulance"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚒",description:"fire engine",category:"Travel & Places",aliases:["fire_engine"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚓",description:"police car",category:"Travel & Places",aliases:["police_car"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚔",description:"oncoming police car",category:"Travel & Places",aliases:["oncoming_police_car"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚕",description:"taxi",category:"Travel & Places",aliases:["taxi"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚖",description:"oncoming taxi",category:"Travel & Places",aliases:["oncoming_taxi"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚗",description:"automobile",category:"Travel & Places",aliases:["car","red_car"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚘",description:"oncoming automobile",category:"Travel & Places",aliases:["oncoming_automobile"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚙",description:"sport utility vehicle",category:"Travel & Places",aliases:["blue_car"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🛻",description:"pickup truck",category:"Travel & Places",aliases:["pickup_truck"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🚚",description:"delivery truck",category:"Travel & Places",aliases:["truck"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚛",description:"articulated lorry",category:"Travel & Places",aliases:["articulated_lorry"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚜",description:"tractor",category:"Travel & Places",aliases:["tractor"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏎️",description:"racing car",category:"Travel & Places",aliases:["racing_car"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🏍️",description:"motorcycle",category:"Travel & Places",aliases:["motorcycle"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🛵",description:"motor scooter",category:"Travel & Places",aliases:["motor_scooter"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🦽",description:"manual wheelchair",category:"Travel & Places",aliases:["manual_wheelchair"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🦼",description:"motorized wheelchair",category:"Travel & Places",aliases:["motorized_wheelchair"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🛺",description:"auto rickshaw",category:"Travel & Places",aliases:["auto_rickshaw"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🚲",description:"bicycle",category:"Travel & Places",aliases:["bike"],tags:["bicycle"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🛴",description:"kick scooter",category:"Travel & Places",aliases:["kick_scooter"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🛹",description:"skateboard",category:"Travel & Places",aliases:["skateboard"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🛼",description:"roller skate",category:"Travel & Places",aliases:["roller_skate"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🚏",description:"bus stop",category:"Travel & Places",aliases:["busstop"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🛣️",description:"motorway",category:"Travel & Places",aliases:["motorway"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🛤️",description:"railway track",category:"Travel & Places",aliases:["railway_track"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🛢️",description:"oil drum",category:"Travel & Places",aliases:["oil_drum"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"⛽",description:"fuel pump",category:"Travel & Places",aliases:["fuelpump"],tags:[],unicode_version:"5.2",ios_version:"6.0"},{emoji:"🚨",description:"police car light",category:"Travel & Places",aliases:["rotating_light"],tags:["911","emergency"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚥",description:"horizontal traffic light",category:"Travel & Places",aliases:["traffic_light"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚦",description:"vertical traffic light",category:"Travel & Places",aliases:["vertical_traffic_light"],tags:["semaphore"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🛑",description:"stop sign",category:"Travel & Places",aliases:["stop_sign"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🚧",description:"construction",category:"Travel & Places",aliases:["construction"],tags:["wip"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"⚓",description:"anchor",category:"Travel & Places",aliases:["anchor"],tags:["ship"],unicode_version:"4.1",ios_version:"6.0"},{emoji:"⛵",description:"sailboat",category:"Travel & Places",aliases:["boat","sailboat"],tags:[],unicode_version:"5.2",ios_version:"6.0"},{emoji:"🛶",description:"canoe",category:"Travel & Places",aliases:["canoe"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🚤",description:"speedboat",category:"Travel & Places",aliases:["speedboat"],tags:["ship"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🛳️",description:"passenger ship",category:"Travel & Places",aliases:["passenger_ship"],tags:["cruise"],unicode_version:"7.0",ios_version:"9.1"},{emoji:"⛴️",description:"ferry",category:"Travel & Places",aliases:["ferry"],tags:[],unicode_version:"5.2",ios_version:"9.1"},{emoji:"🛥️",description:"motor boat",category:"Travel & Places",aliases:["motor_boat"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🚢",description:"ship",category:"Travel & Places",aliases:["ship"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"✈️",description:"airplane",category:"Travel & Places",aliases:["airplane"],tags:["flight"],unicode_version:"",ios_version:"6.0"},{emoji:"🛩️",description:"small airplane",category:"Travel & Places",aliases:["small_airplane"],tags:["flight"],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🛫",description:"airplane departure",category:"Travel & Places",aliases:["flight_departure"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🛬",description:"airplane arrival",category:"Travel & Places",aliases:["flight_arrival"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🪂",description:"parachute",category:"Travel & Places",aliases:["parachute"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"💺",description:"seat",category:"Travel & Places",aliases:["seat"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚁",description:"helicopter",category:"Travel & Places",aliases:["helicopter"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚟",description:"suspension railway",category:"Travel & Places",aliases:["suspension_railway"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚠",description:"mountain cableway",category:"Travel & Places",aliases:["mountain_cableway"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚡",description:"aerial tramway",category:"Travel & Places",aliases:["aerial_tramway"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🛰️",description:"satellite",category:"Travel & Places",aliases:["artificial_satellite"],tags:["orbit","space"],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🚀",description:"rocket",category:"Travel & Places",aliases:["rocket"],tags:["ship","launch"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🛸",description:"flying saucer",category:"Travel & Places",aliases:["flying_saucer"],tags:["ufo"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🛎️",description:"bellhop bell",category:"Travel & Places",aliases:["bellhop_bell"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🧳",description:"luggage",category:"Travel & Places",aliases:["luggage"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"⌛",description:"hourglass done",category:"Travel & Places",aliases:["hourglass"],tags:["time"],unicode_version:"",ios_version:"6.0"},{emoji:"⏳",description:"hourglass not done",category:"Travel & Places",aliases:["hourglass_flowing_sand"],tags:["time"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"⌚",description:"watch",category:"Travel & Places",aliases:["watch"],tags:["time"],unicode_version:"",ios_version:"6.0"},{emoji:"⏰",description:"alarm clock",category:"Travel & Places",aliases:["alarm_clock"],tags:["morning"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"⏱️",description:"stopwatch",category:"Travel & Places",aliases:["stopwatch"],tags:[],unicode_version:"6.0",ios_version:"9.1"},{emoji:"⏲️",description:"timer clock",category:"Travel & Places",aliases:["timer_clock"],tags:[],unicode_version:"6.0",ios_version:"9.1"},{emoji:"🕰️",description:"mantelpiece clock",category:"Travel & Places",aliases:["mantelpiece_clock"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🕛",description:"twelve o’clock",category:"Travel & Places",aliases:["clock12"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕧",description:"twelve-thirty",category:"Travel & Places",aliases:["clock1230"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕐",description:"one o’clock",category:"Travel & Places",aliases:["clock1"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕜",description:"one-thirty",category:"Travel & Places",aliases:["clock130"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕑",description:"two o’clock",category:"Travel & Places",aliases:["clock2"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕝",description:"two-thirty",category:"Travel & Places",aliases:["clock230"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕒",description:"three o’clock",category:"Travel & Places",aliases:["clock3"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕞",description:"three-thirty",category:"Travel & Places",aliases:["clock330"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕓",description:"four o’clock",category:"Travel & Places",aliases:["clock4"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕟",description:"four-thirty",category:"Travel & Places",aliases:["clock430"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕔",description:"five o’clock",category:"Travel & Places",aliases:["clock5"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕠",description:"five-thirty",category:"Travel & Places",aliases:["clock530"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕕",description:"six o’clock",category:"Travel & Places",aliases:["clock6"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕡",description:"six-thirty",category:"Travel & Places",aliases:["clock630"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕖",description:"seven o’clock",category:"Travel & Places",aliases:["clock7"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕢",description:"seven-thirty",category:"Travel & Places",aliases:["clock730"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕗",description:"eight o’clock",category:"Travel & Places",aliases:["clock8"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕣",description:"eight-thirty",category:"Travel & Places",aliases:["clock830"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕘",description:"nine o’clock",category:"Travel & Places",aliases:["clock9"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕤",description:"nine-thirty",category:"Travel & Places",aliases:["clock930"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕙",description:"ten o’clock",category:"Travel & Places",aliases:["clock10"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕥",description:"ten-thirty",category:"Travel & Places",aliases:["clock1030"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕚",description:"eleven o’clock",category:"Travel & Places",aliases:["clock11"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕦",description:"eleven-thirty",category:"Travel & Places",aliases:["clock1130"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌑",description:"new moon",category:"Travel & Places",aliases:["new_moon"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌒",description:"waxing crescent moon",category:"Travel & Places",aliases:["waxing_crescent_moon"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌓",description:"first quarter moon",category:"Travel & Places",aliases:["first_quarter_moon"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌔",description:"waxing gibbous moon",category:"Travel & Places",aliases:["moon","waxing_gibbous_moon"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌕",description:"full moon",category:"Travel & Places",aliases:["full_moon"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌖",description:"waning gibbous moon",category:"Travel & Places",aliases:["waning_gibbous_moon"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌗",description:"last quarter moon",category:"Travel & Places",aliases:["last_quarter_moon"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌘",description:"waning crescent moon",category:"Travel & Places",aliases:["waning_crescent_moon"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌙",description:"crescent moon",category:"Travel & Places",aliases:["crescent_moon"],tags:["night"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌚",description:"new moon face",category:"Travel & Places",aliases:["new_moon_with_face"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌛",description:"first quarter moon face",category:"Travel & Places",aliases:["first_quarter_moon_with_face"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌜",description:"last quarter moon face",category:"Travel & Places",aliases:["last_quarter_moon_with_face"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌡️",description:"thermometer",category:"Travel & Places",aliases:["thermometer"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"☀️",description:"sun",category:"Travel & Places",aliases:["sunny"],tags:["weather"],unicode_version:"",ios_version:"6.0"},{emoji:"🌝",description:"full moon face",category:"Travel & Places",aliases:["full_moon_with_face"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌞",description:"sun with face",category:"Travel & Places",aliases:["sun_with_face"],tags:["summer"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🪐",description:"ringed planet",category:"Travel & Places",aliases:["ringed_planet"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"⭐",description:"star",category:"Travel & Places",aliases:["star"],tags:[],unicode_version:"5.1",ios_version:"6.0"},{emoji:"🌟",description:"glowing star",category:"Travel & Places",aliases:["star2"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌠",description:"shooting star",category:"Travel & Places",aliases:["stars"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌌",description:"milky way",category:"Travel & Places",aliases:["milky_way"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"☁️",description:"cloud",category:"Travel & Places",aliases:["cloud"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"⛅",description:"sun behind cloud",category:"Travel & Places",aliases:["partly_sunny"],tags:["weather","cloud"],unicode_version:"5.2",ios_version:"6.0"},{emoji:"⛈️",description:"cloud with lightning and rain",category:"Travel & Places",aliases:["cloud_with_lightning_and_rain"],tags:[],unicode_version:"5.2",ios_version:"9.1"},{emoji:"🌤️",description:"sun behind small cloud",category:"Travel & Places",aliases:["sun_behind_small_cloud"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🌥️",description:"sun behind large cloud",category:"Travel & Places",aliases:["sun_behind_large_cloud"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🌦️",description:"sun behind rain cloud",category:"Travel & Places",aliases:["sun_behind_rain_cloud"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🌧️",description:"cloud with rain",category:"Travel & Places",aliases:["cloud_with_rain"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🌨️",description:"cloud with snow",category:"Travel & Places",aliases:["cloud_with_snow"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🌩️",description:"cloud with lightning",category:"Travel & Places",aliases:["cloud_with_lightning"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🌪️",description:"tornado",category:"Travel & Places",aliases:["tornado"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🌫️",description:"fog",category:"Travel & Places",aliases:["fog"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🌬️",description:"wind face",category:"Travel & Places",aliases:["wind_face"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🌀",description:"cyclone",category:"Travel & Places",aliases:["cyclone"],tags:["swirl"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌈",description:"rainbow",category:"Travel & Places",aliases:["rainbow"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌂",description:"closed umbrella",category:"Travel & Places",aliases:["closed_umbrella"],tags:["weather","rain"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"☂️",description:"umbrella",category:"Travel & Places",aliases:["open_umbrella"],tags:[],unicode_version:"",ios_version:"9.1"},{emoji:"☔",description:"umbrella with rain drops",category:"Travel & Places",aliases:["umbrella"],tags:["rain","weather"],unicode_version:"4.0",ios_version:"6.0"},{emoji:"⛱️",description:"umbrella on ground",category:"Travel & Places",aliases:["parasol_on_ground"],tags:["beach_umbrella"],unicode_version:"5.2",ios_version:"9.1"},{emoji:"⚡",description:"high voltage",category:"Travel & Places",aliases:["zap"],tags:["lightning","thunder"],unicode_version:"4.0",ios_version:"6.0"},{emoji:"❄️",description:"snowflake",category:"Travel & Places",aliases:["snowflake"],tags:["winter","cold","weather"],unicode_version:"",ios_version:"6.0"},{emoji:"☃️",description:"snowman",category:"Travel & Places",aliases:["snowman_with_snow"],tags:["winter","christmas"],unicode_version:"",ios_version:"9.1"},{emoji:"⛄",description:"snowman without snow",category:"Travel & Places",aliases:["snowman"],tags:["winter"],unicode_version:"5.2",ios_version:"6.0"},{emoji:"☄️",description:"comet",category:"Travel & Places",aliases:["comet"],tags:[],unicode_version:"",ios_version:"9.1"},{emoji:"🔥",description:"fire",category:"Travel & Places",aliases:["fire"],tags:["burn"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💧",description:"droplet",category:"Travel & Places",aliases:["droplet"],tags:["water"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🌊",description:"water wave",category:"Travel & Places",aliases:["ocean"],tags:["sea"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎃",description:"jack-o-lantern",category:"Activities",aliases:["jack_o_lantern"],tags:["halloween"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎄",description:"Christmas tree",category:"Activities",aliases:["christmas_tree"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎆",description:"fireworks",category:"Activities",aliases:["fireworks"],tags:["festival","celebration"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎇",description:"sparkler",category:"Activities",aliases:["sparkler"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🧨",description:"firecracker",category:"Activities",aliases:["firecracker"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"✨",description:"sparkles",category:"Activities",aliases:["sparkles"],tags:["shiny"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎈",description:"balloon",category:"Activities",aliases:["balloon"],tags:["party","birthday"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎉",description:"party popper",category:"Activities",aliases:["tada"],tags:["hooray","party"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎊",description:"confetti ball",category:"Activities",aliases:["confetti_ball"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎋",description:"tanabata tree",category:"Activities",aliases:["tanabata_tree"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎍",description:"pine decoration",category:"Activities",aliases:["bamboo"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎎",description:"Japanese dolls",category:"Activities",aliases:["dolls"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎏",description:"carp streamer",category:"Activities",aliases:["flags"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎐",description:"wind chime",category:"Activities",aliases:["wind_chime"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎑",description:"moon viewing ceremony",category:"Activities",aliases:["rice_scene"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🧧",description:"red envelope",category:"Activities",aliases:["red_envelope"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🎀",description:"ribbon",category:"Activities",aliases:["ribbon"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎁",description:"wrapped gift",category:"Activities",aliases:["gift"],tags:["present","birthday","christmas"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎗️",description:"reminder ribbon",category:"Activities",aliases:["reminder_ribbon"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🎟️",description:"admission tickets",category:"Activities",aliases:["tickets"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🎫",description:"ticket",category:"Activities",aliases:["ticket"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎖️",description:"military medal",category:"Activities",aliases:["medal_military"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🏆",description:"trophy",category:"Activities",aliases:["trophy"],tags:["award","contest","winner"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏅",description:"sports medal",category:"Activities",aliases:["medal_sports"],tags:["gold","winner"],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🥇",description:"1st place medal",category:"Activities",aliases:["1st_place_medal"],tags:["gold"],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🥈",description:"2nd place medal",category:"Activities",aliases:["2nd_place_medal"],tags:["silver"],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🥉",description:"3rd place medal",category:"Activities",aliases:["3rd_place_medal"],tags:["bronze"],unicode_version:"9.0",ios_version:"10.2"},{emoji:"⚽",description:"soccer ball",category:"Activities",aliases:["soccer"],tags:["sports"],unicode_version:"5.2",ios_version:"6.0"},{emoji:"⚾",description:"baseball",category:"Activities",aliases:["baseball"],tags:["sports"],unicode_version:"5.2",ios_version:"6.0"},{emoji:"🥎",description:"softball",category:"Activities",aliases:["softball"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🏀",description:"basketball",category:"Activities",aliases:["basketball"],tags:["sports"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏐",description:"volleyball",category:"Activities",aliases:["volleyball"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🏈",description:"american football",category:"Activities",aliases:["football"],tags:["sports"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏉",description:"rugby football",category:"Activities",aliases:["rugby_football"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎾",description:"tennis",category:"Activities",aliases:["tennis"],tags:["sports"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🥏",description:"flying disc",category:"Activities",aliases:["flying_disc"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🎳",description:"bowling",category:"Activities",aliases:["bowling"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏏",description:"cricket game",category:"Activities",aliases:["cricket_game"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🏑",description:"field hockey",category:"Activities",aliases:["field_hockey"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🏒",description:"ice hockey",category:"Activities",aliases:["ice_hockey"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🥍",description:"lacrosse",category:"Activities",aliases:["lacrosse"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🏓",description:"ping pong",category:"Activities",aliases:["ping_pong"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🏸",description:"badminton",category:"Activities",aliases:["badminton"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🥊",description:"boxing glove",category:"Activities",aliases:["boxing_glove"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🥋",description:"martial arts uniform",category:"Activities",aliases:["martial_arts_uniform"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🥅",description:"goal net",category:"Activities",aliases:["goal_net"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"⛳",description:"flag in hole",category:"Activities",aliases:["golf"],tags:[],unicode_version:"5.2",ios_version:"6.0"},{emoji:"⛸️",description:"ice skate",category:"Activities",aliases:["ice_skate"],tags:["skating"],unicode_version:"5.2",ios_version:"9.1"},{emoji:"🎣",description:"fishing pole",category:"Activities",aliases:["fishing_pole_and_fish"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🤿",description:"diving mask",category:"Activities",aliases:["diving_mask"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🎽",description:"running shirt",category:"Activities",aliases:["running_shirt_with_sash"],tags:["marathon"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎿",description:"skis",category:"Activities",aliases:["ski"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🛷",description:"sled",category:"Activities",aliases:["sled"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🥌",description:"curling stone",category:"Activities",aliases:["curling_stone"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🎯",description:"bullseye",category:"Activities",aliases:["dart"],tags:["target"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🪀",description:"yo-yo",category:"Activities",aliases:["yo_yo"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🪁",description:"kite",category:"Activities",aliases:["kite"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🎱",description:"pool 8 ball",category:"Activities",aliases:["8ball"],tags:["pool","billiards"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔮",description:"crystal ball",category:"Activities",aliases:["crystal_ball"],tags:["fortune"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🪄",description:"magic wand",category:"Activities",aliases:["magic_wand"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🧿",description:"nazar amulet",category:"Activities",aliases:["nazar_amulet"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🎮",description:"video game",category:"Activities",aliases:["video_game"],tags:["play","controller","console"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕹️",description:"joystick",category:"Activities",aliases:["joystick"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🎰",description:"slot machine",category:"Activities",aliases:["slot_machine"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎲",description:"game die",category:"Activities",aliases:["game_die"],tags:["dice","gambling"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🧩",description:"puzzle piece",category:"Activities",aliases:["jigsaw"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧸",description:"teddy bear",category:"Activities",aliases:["teddy_bear"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🪅",description:"piñata",category:"Activities",aliases:["pinata"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🪆",description:"nesting dolls",category:"Activities",aliases:["nesting_dolls"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"♠️",description:"spade suit",category:"Activities",aliases:["spades"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"♥️",description:"heart suit",category:"Activities",aliases:["hearts"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"♦️",description:"diamond suit",category:"Activities",aliases:["diamonds"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"♣️",description:"club suit",category:"Activities",aliases:["clubs"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"♟️",description:"chess pawn",category:"Activities",aliases:["chess_pawn"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🃏",description:"joker",category:"Activities",aliases:["black_joker"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🀄",description:"mahjong red dragon",category:"Activities",aliases:["mahjong"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"🎴",description:"flower playing cards",category:"Activities",aliases:["flower_playing_cards"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎭",description:"performing arts",category:"Activities",aliases:["performing_arts"],tags:["theater","drama"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🖼️",description:"framed picture",category:"Activities",aliases:["framed_picture"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🎨",description:"artist palette",category:"Activities",aliases:["art"],tags:["design","paint"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🧵",description:"thread",category:"Activities",aliases:["thread"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🪡",description:"sewing needle",category:"Activities",aliases:["sewing_needle"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🧶",description:"yarn",category:"Activities",aliases:["yarn"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🪢",description:"knot",category:"Activities",aliases:["knot"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"👓",description:"glasses",category:"Objects",aliases:["eyeglasses"],tags:["glasses"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕶️",description:"sunglasses",category:"Objects",aliases:["dark_sunglasses"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🥽",description:"goggles",category:"Objects",aliases:["goggles"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🥼",description:"lab coat",category:"Objects",aliases:["lab_coat"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🦺",description:"safety vest",category:"Objects",aliases:["safety_vest"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"👔",description:"necktie",category:"Objects",aliases:["necktie"],tags:["shirt","formal"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👕",description:"t-shirt",category:"Objects",aliases:["shirt","tshirt"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👖",description:"jeans",category:"Objects",aliases:["jeans"],tags:["pants"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🧣",description:"scarf",category:"Objects",aliases:["scarf"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧤",description:"gloves",category:"Objects",aliases:["gloves"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧥",description:"coat",category:"Objects",aliases:["coat"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧦",description:"socks",category:"Objects",aliases:["socks"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"👗",description:"dress",category:"Objects",aliases:["dress"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👘",description:"kimono",category:"Objects",aliases:["kimono"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🥻",description:"sari",category:"Objects",aliases:["sari"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🩱",description:"one-piece swimsuit",category:"Objects",aliases:["one_piece_swimsuit"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🩲",description:"briefs",category:"Objects",aliases:["swim_brief"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🩳",description:"shorts",category:"Objects",aliases:["shorts"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"👙",description:"bikini",category:"Objects",aliases:["bikini"],tags:["beach"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👚",description:"woman’s clothes",category:"Objects",aliases:["womans_clothes"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👛",description:"purse",category:"Objects",aliases:["purse"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👜",description:"handbag",category:"Objects",aliases:["handbag"],tags:["bag"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👝",description:"clutch bag",category:"Objects",aliases:["pouch"],tags:["bag"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🛍️",description:"shopping bags",category:"Objects",aliases:["shopping"],tags:["bags"],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🎒",description:"backpack",category:"Objects",aliases:["school_satchel"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🩴",description:"thong sandal",category:"Objects",aliases:["thong_sandal"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"👞",description:"man’s shoe",category:"Objects",aliases:["mans_shoe","shoe"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👟",description:"running shoe",category:"Objects",aliases:["athletic_shoe"],tags:["sneaker","sport","running"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🥾",description:"hiking boot",category:"Objects",aliases:["hiking_boot"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🥿",description:"flat shoe",category:"Objects",aliases:["flat_shoe"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"👠",description:"high-heeled shoe",category:"Objects",aliases:["high_heel"],tags:["shoe"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👡",description:"woman’s sandal",category:"Objects",aliases:["sandal"],tags:["shoe"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🩰",description:"ballet shoes",category:"Objects",aliases:["ballet_shoes"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"👢",description:"woman’s boot",category:"Objects",aliases:["boot"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👑",description:"crown",category:"Objects",aliases:["crown"],tags:["king","queen","royal"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"👒",description:"woman’s hat",category:"Objects",aliases:["womans_hat"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎩",description:"top hat",category:"Objects",aliases:["tophat"],tags:["hat","classy"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎓",description:"graduation cap",category:"Objects",aliases:["mortar_board"],tags:["education","college","university","graduation"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🧢",description:"billed cap",category:"Objects",aliases:["billed_cap"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🪖",description:"military helmet",category:"Objects",aliases:["military_helmet"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"⛑️",description:"rescue worker’s helmet",category:"Objects",aliases:["rescue_worker_helmet"],tags:[],unicode_version:"5.2",ios_version:"9.1"},{emoji:"📿",description:"prayer beads",category:"Objects",aliases:["prayer_beads"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"💄",description:"lipstick",category:"Objects",aliases:["lipstick"],tags:["makeup"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💍",description:"ring",category:"Objects",aliases:["ring"],tags:["wedding","marriage","engaged"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💎",description:"gem stone",category:"Objects",aliases:["gem"],tags:["diamond"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔇",description:"muted speaker",category:"Objects",aliases:["mute"],tags:["sound","volume"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔈",description:"speaker low volume",category:"Objects",aliases:["speaker"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔉",description:"speaker medium volume",category:"Objects",aliases:["sound"],tags:["volume"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔊",description:"speaker high volume",category:"Objects",aliases:["loud_sound"],tags:["volume"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📢",description:"loudspeaker",category:"Objects",aliases:["loudspeaker"],tags:["announcement"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📣",description:"megaphone",category:"Objects",aliases:["mega"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📯",description:"postal horn",category:"Objects",aliases:["postal_horn"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔔",description:"bell",category:"Objects",aliases:["bell"],tags:["sound","notification"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔕",description:"bell with slash",category:"Objects",aliases:["no_bell"],tags:["volume","off"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎼",description:"musical score",category:"Objects",aliases:["musical_score"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎵",description:"musical note",category:"Objects",aliases:["musical_note"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎶",description:"musical notes",category:"Objects",aliases:["notes"],tags:["music"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎙️",description:"studio microphone",category:"Objects",aliases:["studio_microphone"],tags:["podcast"],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🎚️",description:"level slider",category:"Objects",aliases:["level_slider"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🎛️",description:"control knobs",category:"Objects",aliases:["control_knobs"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🎤",description:"microphone",category:"Objects",aliases:["microphone"],tags:["sing"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎧",description:"headphone",category:"Objects",aliases:["headphones"],tags:["music","earphones"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📻",description:"radio",category:"Objects",aliases:["radio"],tags:["podcast"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎷",description:"saxophone",category:"Objects",aliases:["saxophone"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🪗",description:"accordion",category:"Objects",aliases:["accordion"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🎸",description:"guitar",category:"Objects",aliases:["guitar"],tags:["rock"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎹",description:"musical keyboard",category:"Objects",aliases:["musical_keyboard"],tags:["piano"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎺",description:"trumpet",category:"Objects",aliases:["trumpet"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎻",description:"violin",category:"Objects",aliases:["violin"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🪕",description:"banjo",category:"Objects",aliases:["banjo"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🥁",description:"drum",category:"Objects",aliases:["drum"],tags:[],unicode_version:"",ios_version:"10.2"},{emoji:"🪘",description:"long drum",category:"Objects",aliases:["long_drum"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"📱",description:"mobile phone",category:"Objects",aliases:["iphone"],tags:["smartphone","mobile"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📲",description:"mobile phone with arrow",category:"Objects",aliases:["calling"],tags:["call","incoming"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"☎️",description:"telephone",category:"Objects",aliases:["phone","telephone"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"📞",description:"telephone receiver",category:"Objects",aliases:["telephone_receiver"],tags:["phone","call"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📟",description:"pager",category:"Objects",aliases:["pager"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📠",description:"fax machine",category:"Objects",aliases:["fax"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔋",description:"battery",category:"Objects",aliases:["battery"],tags:["power"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔌",description:"electric plug",category:"Objects",aliases:["electric_plug"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💻",description:"laptop",category:"Objects",aliases:["computer"],tags:["desktop","screen"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🖥️",description:"desktop computer",category:"Objects",aliases:["desktop_computer"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🖨️",description:"printer",category:"Objects",aliases:["printer"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"⌨️",description:"keyboard",category:"Objects",aliases:["keyboard"],tags:[],unicode_version:"",ios_version:"9.1"},{emoji:"🖱️",description:"computer mouse",category:"Objects",aliases:["computer_mouse"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🖲️",description:"trackball",category:"Objects",aliases:["trackball"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"💽",description:"computer disk",category:"Objects",aliases:["minidisc"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💾",description:"floppy disk",category:"Objects",aliases:["floppy_disk"],tags:["save"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💿",description:"optical disk",category:"Objects",aliases:["cd"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📀",description:"dvd",category:"Objects",aliases:["dvd"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🧮",description:"abacus",category:"Objects",aliases:["abacus"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🎥",description:"movie camera",category:"Objects",aliases:["movie_camera"],tags:["film","video"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎞️",description:"film frames",category:"Objects",aliases:["film_strip"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"📽️",description:"film projector",category:"Objects",aliases:["film_projector"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🎬",description:"clapper board",category:"Objects",aliases:["clapper"],tags:["film"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📺",description:"television",category:"Objects",aliases:["tv"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📷",description:"camera",category:"Objects",aliases:["camera"],tags:["photo"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📸",description:"camera with flash",category:"Objects",aliases:["camera_flash"],tags:["photo"],unicode_version:"7.0",ios_version:"9.1"},{emoji:"📹",description:"video camera",category:"Objects",aliases:["video_camera"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📼",description:"videocassette",category:"Objects",aliases:["vhs"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔍",description:"magnifying glass tilted left",category:"Objects",aliases:["mag"],tags:["search","zoom"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔎",description:"magnifying glass tilted right",category:"Objects",aliases:["mag_right"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🕯️",description:"candle",category:"Objects",aliases:["candle"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"💡",description:"light bulb",category:"Objects",aliases:["bulb"],tags:["idea","light"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔦",description:"flashlight",category:"Objects",aliases:["flashlight"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏮",description:"red paper lantern",category:"Objects",aliases:["izakaya_lantern","lantern"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🪔",description:"diya lamp",category:"Objects",aliases:["diya_lamp"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"📔",description:"notebook with decorative cover",category:"Objects",aliases:["notebook_with_decorative_cover"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📕",description:"closed book",category:"Objects",aliases:["closed_book"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📖",description:"open book",category:"Objects",aliases:["book","open_book"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📗",description:"green book",category:"Objects",aliases:["green_book"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📘",description:"blue book",category:"Objects",aliases:["blue_book"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📙",description:"orange book",category:"Objects",aliases:["orange_book"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📚",description:"books",category:"Objects",aliases:["books"],tags:["library"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📓",description:"notebook",category:"Objects",aliases:["notebook"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📒",description:"ledger",category:"Objects",aliases:["ledger"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📃",description:"page with curl",category:"Objects",aliases:["page_with_curl"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📜",description:"scroll",category:"Objects",aliases:["scroll"],tags:["document"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📄",description:"page facing up",category:"Objects",aliases:["page_facing_up"],tags:["document"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📰",description:"newspaper",category:"Objects",aliases:["newspaper"],tags:["press"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🗞️",description:"rolled-up newspaper",category:"Objects",aliases:["newspaper_roll"],tags:["press"],unicode_version:"7.0",ios_version:"9.1"},{emoji:"📑",description:"bookmark tabs",category:"Objects",aliases:["bookmark_tabs"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔖",description:"bookmark",category:"Objects",aliases:["bookmark"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏷️",description:"label",category:"Objects",aliases:["label"],tags:["tag"],unicode_version:"7.0",ios_version:"9.1"},{emoji:"💰",description:"money bag",category:"Objects",aliases:["moneybag"],tags:["dollar","cream"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🪙",description:"coin",category:"Objects",aliases:["coin"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"💴",description:"yen banknote",category:"Objects",aliases:["yen"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💵",description:"dollar banknote",category:"Objects",aliases:["dollar"],tags:["money"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💶",description:"euro banknote",category:"Objects",aliases:["euro"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💷",description:"pound banknote",category:"Objects",aliases:["pound"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💸",description:"money with wings",category:"Objects",aliases:["money_with_wings"],tags:["dollar"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💳",description:"credit card",category:"Objects",aliases:["credit_card"],tags:["subscription"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🧾",description:"receipt",category:"Objects",aliases:["receipt"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"💹",description:"chart increasing with yen",category:"Objects",aliases:["chart"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"✉️",description:"envelope",category:"Objects",aliases:["envelope"],tags:["letter","email"],unicode_version:"",ios_version:"6.0"},{emoji:"📧",description:"e-mail",category:"Objects",aliases:["email","e-mail"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📨",description:"incoming envelope",category:"Objects",aliases:["incoming_envelope"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📩",description:"envelope with arrow",category:"Objects",aliases:["envelope_with_arrow"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📤",description:"outbox tray",category:"Objects",aliases:["outbox_tray"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📥",description:"inbox tray",category:"Objects",aliases:["inbox_tray"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📦",description:"package",category:"Objects",aliases:["package"],tags:["shipping"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📫",description:"closed mailbox with raised flag",category:"Objects",aliases:["mailbox"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📪",description:"closed mailbox with lowered flag",category:"Objects",aliases:["mailbox_closed"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📬",description:"open mailbox with raised flag",category:"Objects",aliases:["mailbox_with_mail"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📭",description:"open mailbox with lowered flag",category:"Objects",aliases:["mailbox_with_no_mail"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📮",description:"postbox",category:"Objects",aliases:["postbox"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🗳️",description:"ballot box with ballot",category:"Objects",aliases:["ballot_box"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"✏️",description:"pencil",category:"Objects",aliases:["pencil2"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"✒️",description:"black nib",category:"Objects",aliases:["black_nib"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"🖋️",description:"fountain pen",category:"Objects",aliases:["fountain_pen"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🖊️",description:"pen",category:"Objects",aliases:["pen"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🖌️",description:"paintbrush",category:"Objects",aliases:["paintbrush"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🖍️",description:"crayon",category:"Objects",aliases:["crayon"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"📝",description:"memo",category:"Objects",aliases:["memo","pencil"],tags:["document","note"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💼",description:"briefcase",category:"Objects",aliases:["briefcase"],tags:["business"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📁",description:"file folder",category:"Objects",aliases:["file_folder"],tags:["directory"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📂",description:"open file folder",category:"Objects",aliases:["open_file_folder"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🗂️",description:"card index dividers",category:"Objects",aliases:["card_index_dividers"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"📅",description:"calendar",category:"Objects",aliases:["date"],tags:["calendar","schedule"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📆",description:"tear-off calendar",category:"Objects",aliases:["calendar"],tags:["schedule"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🗒️",description:"spiral notepad",category:"Objects",aliases:["spiral_notepad"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🗓️",description:"spiral calendar",category:"Objects",aliases:["spiral_calendar"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"📇",description:"card index",category:"Objects",aliases:["card_index"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📈",description:"chart increasing",category:"Objects",aliases:["chart_with_upwards_trend"],tags:["graph","metrics"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📉",description:"chart decreasing",category:"Objects",aliases:["chart_with_downwards_trend"],tags:["graph","metrics"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📊",description:"bar chart",category:"Objects",aliases:["bar_chart"],tags:["stats","metrics"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📋",description:"clipboard",category:"Objects",aliases:["clipboard"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📌",description:"pushpin",category:"Objects",aliases:["pushpin"],tags:["location"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📍",description:"round pushpin",category:"Objects",aliases:["round_pushpin"],tags:["location"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📎",description:"paperclip",category:"Objects",aliases:["paperclip"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🖇️",description:"linked paperclips",category:"Objects",aliases:["paperclips"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"📏",description:"straight ruler",category:"Objects",aliases:["straight_ruler"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📐",description:"triangular ruler",category:"Objects",aliases:["triangular_ruler"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"✂️",description:"scissors",category:"Objects",aliases:["scissors"],tags:["cut"],unicode_version:"",ios_version:"6.0"},{emoji:"🗃️",description:"card file box",category:"Objects",aliases:["card_file_box"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🗄️",description:"file cabinet",category:"Objects",aliases:["file_cabinet"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🗑️",description:"wastebasket",category:"Objects",aliases:["wastebasket"],tags:["trash"],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🔒",description:"locked",category:"Objects",aliases:["lock"],tags:["security","private"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔓",description:"unlocked",category:"Objects",aliases:["unlock"],tags:["security"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔏",description:"locked with pen",category:"Objects",aliases:["lock_with_ink_pen"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔐",description:"locked with key",category:"Objects",aliases:["closed_lock_with_key"],tags:["security"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔑",description:"key",category:"Objects",aliases:["key"],tags:["lock","password"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🗝️",description:"old key",category:"Objects",aliases:["old_key"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🔨",description:"hammer",category:"Objects",aliases:["hammer"],tags:["tool"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🪓",description:"axe",category:"Objects",aliases:["axe"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"⛏️",description:"pick",category:"Objects",aliases:["pick"],tags:[],unicode_version:"5.2",ios_version:"9.1"},{emoji:"⚒️",description:"hammer and pick",category:"Objects",aliases:["hammer_and_pick"],tags:[],unicode_version:"4.1",ios_version:"9.1"},{emoji:"🛠️",description:"hammer and wrench",category:"Objects",aliases:["hammer_and_wrench"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🗡️",description:"dagger",category:"Objects",aliases:["dagger"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"⚔️",description:"crossed swords",category:"Objects",aliases:["crossed_swords"],tags:[],unicode_version:"4.1",ios_version:"9.1"},{emoji:"🔫",description:"water pistol",category:"Objects",aliases:["gun"],tags:["shoot","weapon"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🪃",description:"boomerang",category:"Objects",aliases:["boomerang"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🏹",description:"bow and arrow",category:"Objects",aliases:["bow_and_arrow"],tags:["archery"],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🛡️",description:"shield",category:"Objects",aliases:["shield"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🪚",description:"carpentry saw",category:"Objects",aliases:["carpentry_saw"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🔧",description:"wrench",category:"Objects",aliases:["wrench"],tags:["tool"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🪛",description:"screwdriver",category:"Objects",aliases:["screwdriver"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🔩",description:"nut and bolt",category:"Objects",aliases:["nut_and_bolt"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"⚙️",description:"gear",category:"Objects",aliases:["gear"],tags:[],unicode_version:"4.1",ios_version:"9.1"},{emoji:"🗜️",description:"clamp",category:"Objects",aliases:["clamp"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"⚖️",description:"balance scale",category:"Objects",aliases:["balance_scale"],tags:[],unicode_version:"4.1",ios_version:"9.1"},{emoji:"🦯",description:"white cane",category:"Objects",aliases:["probing_cane"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🔗",description:"link",category:"Objects",aliases:["link"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"⛓️",description:"chains",category:"Objects",aliases:["chains"],tags:[],unicode_version:"5.2",ios_version:"9.1"},{emoji:"🪝",description:"hook",category:"Objects",aliases:["hook"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🧰",description:"toolbox",category:"Objects",aliases:["toolbox"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧲",description:"magnet",category:"Objects",aliases:["magnet"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🪜",description:"ladder",category:"Objects",aliases:["ladder"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"⚗️",description:"alembic",category:"Objects",aliases:["alembic"],tags:[],unicode_version:"4.1",ios_version:"9.1"},{emoji:"🧪",description:"test tube",category:"Objects",aliases:["test_tube"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧫",description:"petri dish",category:"Objects",aliases:["petri_dish"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧬",description:"dna",category:"Objects",aliases:["dna"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🔬",description:"microscope",category:"Objects",aliases:["microscope"],tags:["science","laboratory","investigate"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔭",description:"telescope",category:"Objects",aliases:["telescope"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📡",description:"satellite antenna",category:"Objects",aliases:["satellite"],tags:["signal"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💉",description:"syringe",category:"Objects",aliases:["syringe"],tags:["health","hospital","needle"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🩸",description:"drop of blood",category:"Objects",aliases:["drop_of_blood"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"💊",description:"pill",category:"Objects",aliases:["pill"],tags:["health","medicine"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🩹",description:"adhesive bandage",category:"Objects",aliases:["adhesive_bandage"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🩺",description:"stethoscope",category:"Objects",aliases:["stethoscope"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🚪",description:"door",category:"Objects",aliases:["door"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🛗",description:"elevator",category:"Objects",aliases:["elevator"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🪞",description:"mirror",category:"Objects",aliases:["mirror"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🪟",description:"window",category:"Objects",aliases:["window"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🛏️",description:"bed",category:"Objects",aliases:["bed"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🛋️",description:"couch and lamp",category:"Objects",aliases:["couch_and_lamp"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🪑",description:"chair",category:"Objects",aliases:["chair"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🚽",description:"toilet",category:"Objects",aliases:["toilet"],tags:["wc"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🪠",description:"plunger",category:"Objects",aliases:["plunger"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🚿",description:"shower",category:"Objects",aliases:["shower"],tags:["bath"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🛁",description:"bathtub",category:"Objects",aliases:["bathtub"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🪤",description:"mouse trap",category:"Objects",aliases:["mouse_trap"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🪒",description:"razor",category:"Objects",aliases:["razor"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🧴",description:"lotion bottle",category:"Objects",aliases:["lotion_bottle"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧷",description:"safety pin",category:"Objects",aliases:["safety_pin"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧹",description:"broom",category:"Objects",aliases:["broom"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧺",description:"basket",category:"Objects",aliases:["basket"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧻",description:"roll of paper",category:"Objects",aliases:["roll_of_paper"],tags:["toilet"],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🪣",description:"bucket",category:"Objects",aliases:["bucket"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🧼",description:"soap",category:"Objects",aliases:["soap"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🪥",description:"toothbrush",category:"Objects",aliases:["toothbrush"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🧽",description:"sponge",category:"Objects",aliases:["sponge"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🧯",description:"fire extinguisher",category:"Objects",aliases:["fire_extinguisher"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🛒",description:"shopping cart",category:"Objects",aliases:["shopping_cart"],tags:[],unicode_version:"9.0",ios_version:"10.2"},{emoji:"🚬",description:"cigarette",category:"Objects",aliases:["smoking"],tags:["cigarette"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"⚰️",description:"coffin",category:"Objects",aliases:["coffin"],tags:["funeral"],unicode_version:"4.1",ios_version:"9.1"},{emoji:"🪦",description:"headstone",category:"Objects",aliases:["headstone"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"⚱️",description:"funeral urn",category:"Objects",aliases:["funeral_urn"],tags:[],unicode_version:"4.1",ios_version:"9.1"},{emoji:"🗿",description:"moai",category:"Objects",aliases:["moyai"],tags:["stone"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🪧",description:"placard",category:"Objects",aliases:["placard"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🏧",description:"ATM sign",category:"Symbols",aliases:["atm"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚮",description:"litter in bin sign",category:"Symbols",aliases:["put_litter_in_its_place"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚰",description:"potable water",category:"Symbols",aliases:["potable_water"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"♿",description:"wheelchair symbol",category:"Symbols",aliases:["wheelchair"],tags:["accessibility"],unicode_version:"4.1",ios_version:"6.0"},{emoji:"🚹",description:"men’s room",category:"Symbols",aliases:["mens"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚺",description:"women’s room",category:"Symbols",aliases:["womens"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚻",description:"restroom",category:"Symbols",aliases:["restroom"],tags:["toilet"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚼",description:"baby symbol",category:"Symbols",aliases:["baby_symbol"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚾",description:"water closet",category:"Symbols",aliases:["wc"],tags:["toilet","restroom"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🛂",description:"passport control",category:"Symbols",aliases:["passport_control"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🛃",description:"customs",category:"Symbols",aliases:["customs"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🛄",description:"baggage claim",category:"Symbols",aliases:["baggage_claim"],tags:["airport"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🛅",description:"left luggage",category:"Symbols",aliases:["left_luggage"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"⚠️",description:"warning",category:"Symbols",aliases:["warning"],tags:["wip"],unicode_version:"4.0",ios_version:"6.0"},{emoji:"🚸",description:"children crossing",category:"Symbols",aliases:["children_crossing"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"⛔",description:"no entry",category:"Symbols",aliases:["no_entry"],tags:["limit"],unicode_version:"5.2",ios_version:"6.0"},{emoji:"🚫",description:"prohibited",category:"Symbols",aliases:["no_entry_sign"],tags:["block","forbidden"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚳",description:"no bicycles",category:"Symbols",aliases:["no_bicycles"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚭",description:"no smoking",category:"Symbols",aliases:["no_smoking"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚯",description:"no littering",category:"Symbols",aliases:["do_not_litter"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚱",description:"non-potable water",category:"Symbols",aliases:["non-potable_water"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚷",description:"no pedestrians",category:"Symbols",aliases:["no_pedestrians"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📵",description:"no mobile phones",category:"Symbols",aliases:["no_mobile_phones"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔞",description:"no one under eighteen",category:"Symbols",aliases:["underage"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"☢️",description:"radioactive",category:"Symbols",aliases:["radioactive"],tags:[],unicode_version:"",ios_version:"9.1"},{emoji:"☣️",description:"biohazard",category:"Symbols",aliases:["biohazard"],tags:[],unicode_version:"",ios_version:"9.1"},{emoji:"⬆️",description:"up arrow",category:"Symbols",aliases:["arrow_up"],tags:[],unicode_version:"4.0",ios_version:"6.0"},{emoji:"↗️",description:"up-right arrow",category:"Symbols",aliases:["arrow_upper_right"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"➡️",description:"right arrow",category:"Symbols",aliases:["arrow_right"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"↘️",description:"down-right arrow",category:"Symbols",aliases:["arrow_lower_right"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"⬇️",description:"down arrow",category:"Symbols",aliases:["arrow_down"],tags:[],unicode_version:"4.0",ios_version:"6.0"},{emoji:"↙️",description:"down-left arrow",category:"Symbols",aliases:["arrow_lower_left"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"⬅️",description:"left arrow",category:"Symbols",aliases:["arrow_left"],tags:[],unicode_version:"4.0",ios_version:"6.0"},{emoji:"↖️",description:"up-left arrow",category:"Symbols",aliases:["arrow_upper_left"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"↕️",description:"up-down arrow",category:"Symbols",aliases:["arrow_up_down"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"↔️",description:"left-right arrow",category:"Symbols",aliases:["left_right_arrow"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"↩️",description:"right arrow curving left",category:"Symbols",aliases:["leftwards_arrow_with_hook"],tags:["return"],unicode_version:"",ios_version:"6.0"},{emoji:"↪️",description:"left arrow curving right",category:"Symbols",aliases:["arrow_right_hook"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"⤴️",description:"right arrow curving up",category:"Symbols",aliases:["arrow_heading_up"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"⤵️",description:"right arrow curving down",category:"Symbols",aliases:["arrow_heading_down"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"🔃",description:"clockwise vertical arrows",category:"Symbols",aliases:["arrows_clockwise"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔄",description:"counterclockwise arrows button",category:"Symbols",aliases:["arrows_counterclockwise"],tags:["sync"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔙",description:"BACK arrow",category:"Symbols",aliases:["back"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔚",description:"END arrow",category:"Symbols",aliases:["end"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔛",description:"ON! arrow",category:"Symbols",aliases:["on"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔜",description:"SOON arrow",category:"Symbols",aliases:["soon"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔝",description:"TOP arrow",category:"Symbols",aliases:["top"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🛐",description:"place of worship",category:"Symbols",aliases:["place_of_worship"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"⚛️",description:"atom symbol",category:"Symbols",aliases:["atom_symbol"],tags:[],unicode_version:"4.1",ios_version:"9.1"},{emoji:"🕉️",description:"om",category:"Symbols",aliases:["om"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"✡️",description:"star of David",category:"Symbols",aliases:["star_of_david"],tags:[],unicode_version:"",ios_version:"9.1"},{emoji:"☸️",description:"wheel of dharma",category:"Symbols",aliases:["wheel_of_dharma"],tags:[],unicode_version:"",ios_version:"9.1"},{emoji:"☯️",description:"yin yang",category:"Symbols",aliases:["yin_yang"],tags:[],unicode_version:"",ios_version:"9.1"},{emoji:"✝️",description:"latin cross",category:"Symbols",aliases:["latin_cross"],tags:[],unicode_version:"",ios_version:"9.1"},{emoji:"☦️",description:"orthodox cross",category:"Symbols",aliases:["orthodox_cross"],tags:[],unicode_version:"",ios_version:"9.1"},{emoji:"☪️",description:"star and crescent",category:"Symbols",aliases:["star_and_crescent"],tags:[],unicode_version:"",ios_version:"9.1"},{emoji:"☮️",description:"peace symbol",category:"Symbols",aliases:["peace_symbol"],tags:[],unicode_version:"",ios_version:"9.1"},{emoji:"🕎",description:"menorah",category:"Symbols",aliases:["menorah"],tags:[],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🔯",description:"dotted six-pointed star",category:"Symbols",aliases:["six_pointed_star"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"♈",description:"Aries",category:"Symbols",aliases:["aries"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"♉",description:"Taurus",category:"Symbols",aliases:["taurus"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"♊",description:"Gemini",category:"Symbols",aliases:["gemini"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"♋",description:"Cancer",category:"Symbols",aliases:["cancer"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"♌",description:"Leo",category:"Symbols",aliases:["leo"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"♍",description:"Virgo",category:"Symbols",aliases:["virgo"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"♎",description:"Libra",category:"Symbols",aliases:["libra"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"♏",description:"Scorpio",category:"Symbols",aliases:["scorpius"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"♐",description:"Sagittarius",category:"Symbols",aliases:["sagittarius"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"♑",description:"Capricorn",category:"Symbols",aliases:["capricorn"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"♒",description:"Aquarius",category:"Symbols",aliases:["aquarius"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"♓",description:"Pisces",category:"Symbols",aliases:["pisces"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"⛎",description:"Ophiuchus",category:"Symbols",aliases:["ophiuchus"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔀",description:"shuffle tracks button",category:"Symbols",aliases:["twisted_rightwards_arrows"],tags:["shuffle"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔁",description:"repeat button",category:"Symbols",aliases:["repeat"],tags:["loop"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔂",description:"repeat single button",category:"Symbols",aliases:["repeat_one"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"▶️",description:"play button",category:"Symbols",aliases:["arrow_forward"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"⏩",description:"fast-forward button",category:"Symbols",aliases:["fast_forward"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"⏭️",description:"next track button",category:"Symbols",aliases:["next_track_button"],tags:[],unicode_version:"6.0",ios_version:"9.1"},{emoji:"⏯️",description:"play or pause button",category:"Symbols",aliases:["play_or_pause_button"],tags:[],unicode_version:"6.0",ios_version:"9.1"},{emoji:"◀️",description:"reverse button",category:"Symbols",aliases:["arrow_backward"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"⏪",description:"fast reverse button",category:"Symbols",aliases:["rewind"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"⏮️",description:"last track button",category:"Symbols",aliases:["previous_track_button"],tags:[],unicode_version:"6.0",ios_version:"9.1"},{emoji:"🔼",description:"upwards button",category:"Symbols",aliases:["arrow_up_small"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"⏫",description:"fast up button",category:"Symbols",aliases:["arrow_double_up"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔽",description:"downwards button",category:"Symbols",aliases:["arrow_down_small"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"⏬",description:"fast down button",category:"Symbols",aliases:["arrow_double_down"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"⏸️",description:"pause button",category:"Symbols",aliases:["pause_button"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"⏹️",description:"stop button",category:"Symbols",aliases:["stop_button"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"⏺️",description:"record button",category:"Symbols",aliases:["record_button"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"⏏️",description:"eject button",category:"Symbols",aliases:["eject_button"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🎦",description:"cinema",category:"Symbols",aliases:["cinema"],tags:["film","movie"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔅",description:"dim button",category:"Symbols",aliases:["low_brightness"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔆",description:"bright button",category:"Symbols",aliases:["high_brightness"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📶",description:"antenna bars",category:"Symbols",aliases:["signal_strength"],tags:["wifi"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📳",description:"vibration mode",category:"Symbols",aliases:["vibration_mode"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📴",description:"mobile phone off",category:"Symbols",aliases:["mobile_phone_off"],tags:["mute","off"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"♀️",description:"female sign",category:"Symbols",aliases:["female_sign"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"♂️",description:"male sign",category:"Symbols",aliases:["male_sign"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"⚧️",description:"transgender symbol",category:"Symbols",aliases:["transgender_symbol"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"✖️",description:"multiply",category:"Symbols",aliases:["heavy_multiplication_x"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"➕",description:"plus",category:"Symbols",aliases:["heavy_plus_sign"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"➖",description:"minus",category:"Symbols",aliases:["heavy_minus_sign"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"➗",description:"divide",category:"Symbols",aliases:["heavy_division_sign"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"♾️",description:"infinity",category:"Symbols",aliases:["infinity"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"‼️",description:"double exclamation mark",category:"Symbols",aliases:["bangbang"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"⁉️",description:"exclamation question mark",category:"Symbols",aliases:["interrobang"],tags:[],unicode_version:"3.0",ios_version:"6.0"},{emoji:"❓",description:"red question mark",category:"Symbols",aliases:["question"],tags:["confused"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"❔",description:"white question mark",category:"Symbols",aliases:["grey_question"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"❕",description:"white exclamation mark",category:"Symbols",aliases:["grey_exclamation"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"❗",description:"red exclamation mark",category:"Symbols",aliases:["exclamation","heavy_exclamation_mark"],tags:["bang"],unicode_version:"5.2",ios_version:"6.0"},{emoji:"〰️",description:"wavy dash",category:"Symbols",aliases:["wavy_dash"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"💱",description:"currency exchange",category:"Symbols",aliases:["currency_exchange"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💲",description:"heavy dollar sign",category:"Symbols",aliases:["heavy_dollar_sign"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"⚕️",description:"medical symbol",category:"Symbols",aliases:["medical_symbol"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"♻️",description:"recycling symbol",category:"Symbols",aliases:["recycle"],tags:["environment","green"],unicode_version:"3.2",ios_version:"6.0"},{emoji:"⚜️",description:"fleur-de-lis",category:"Symbols",aliases:["fleur_de_lis"],tags:[],unicode_version:"4.1",ios_version:"9.1"},{emoji:"🔱",description:"trident emblem",category:"Symbols",aliases:["trident"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"📛",description:"name badge",category:"Symbols",aliases:["name_badge"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔰",description:"Japanese symbol for beginner",category:"Symbols",aliases:["beginner"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"⭕",description:"hollow red circle",category:"Symbols",aliases:["o"],tags:[],unicode_version:"5.2",ios_version:"6.0"},{emoji:"✅",description:"check mark button",category:"Symbols",aliases:["white_check_mark"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"☑️",description:"check box with check",category:"Symbols",aliases:["ballot_box_with_check"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"✔️",description:"check mark",category:"Symbols",aliases:["heavy_check_mark"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"❌",description:"cross mark",category:"Symbols",aliases:["x"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"❎",description:"cross mark button",category:"Symbols",aliases:["negative_squared_cross_mark"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"➰",description:"curly loop",category:"Symbols",aliases:["curly_loop"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"➿",description:"double curly loop",category:"Symbols",aliases:["loop"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"〽️",description:"part alternation mark",category:"Symbols",aliases:["part_alternation_mark"],tags:[],unicode_version:"3.2",ios_version:"6.0"},{emoji:"✳️",description:"eight-spoked asterisk",category:"Symbols",aliases:["eight_spoked_asterisk"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"✴️",description:"eight-pointed star",category:"Symbols",aliases:["eight_pointed_black_star"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"❇️",description:"sparkle",category:"Symbols",aliases:["sparkle"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"©️",description:"copyright",category:"Symbols",aliases:["copyright"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"®️",description:"registered",category:"Symbols",aliases:["registered"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"™️",description:"trade mark",category:"Symbols",aliases:["tm"],tags:["trademark"],unicode_version:"",ios_version:"6.0"},{emoji:"#️⃣",description:"keycap: #",category:"Symbols",aliases:["hash"],tags:["number"],unicode_version:"",ios_version:"6.0"},{emoji:"*️⃣",description:"keycap: *",category:"Symbols",aliases:["asterisk"],tags:[],unicode_version:"",ios_version:"9.1"},{emoji:"0️⃣",description:"keycap: 0",category:"Symbols",aliases:["zero"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"1️⃣",description:"keycap: 1",category:"Symbols",aliases:["one"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"2️⃣",description:"keycap: 2",category:"Symbols",aliases:["two"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"3️⃣",description:"keycap: 3",category:"Symbols",aliases:["three"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"4️⃣",description:"keycap: 4",category:"Symbols",aliases:["four"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"5️⃣",description:"keycap: 5",category:"Symbols",aliases:["five"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"6️⃣",description:"keycap: 6",category:"Symbols",aliases:["six"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"7️⃣",description:"keycap: 7",category:"Symbols",aliases:["seven"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"8️⃣",description:"keycap: 8",category:"Symbols",aliases:["eight"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"9️⃣",description:"keycap: 9",category:"Symbols",aliases:["nine"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"🔟",description:"keycap: 10",category:"Symbols",aliases:["keycap_ten"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔠",description:"input latin uppercase",category:"Symbols",aliases:["capital_abcd"],tags:["letters"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔡",description:"input latin lowercase",category:"Symbols",aliases:["abcd"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔢",description:"input numbers",category:"Symbols",aliases:["1234"],tags:["numbers"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔣",description:"input symbols",category:"Symbols",aliases:["symbols"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔤",description:"input latin letters",category:"Symbols",aliases:["abc"],tags:["alphabet"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🅰️",description:"A button (blood type)",category:"Symbols",aliases:["a"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🆎",description:"AB button (blood type)",category:"Symbols",aliases:["ab"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🅱️",description:"B button (blood type)",category:"Symbols",aliases:["b"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🆑",description:"CL button",category:"Symbols",aliases:["cl"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🆒",description:"COOL button",category:"Symbols",aliases:["cool"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🆓",description:"FREE button",category:"Symbols",aliases:["free"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"ℹ️",description:"information",category:"Symbols",aliases:["information_source"],tags:[],unicode_version:"3.0",ios_version:"6.0"},{emoji:"🆔",description:"ID button",category:"Symbols",aliases:["id"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"Ⓜ️",description:"circled M",category:"Symbols",aliases:["m"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"🆕",description:"NEW button",category:"Symbols",aliases:["new"],tags:["fresh"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🆖",description:"NG button",category:"Symbols",aliases:["ng"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🅾️",description:"O button (blood type)",category:"Symbols",aliases:["o2"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🆗",description:"OK button",category:"Symbols",aliases:["ok"],tags:["yes"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🅿️",description:"P button",category:"Symbols",aliases:["parking"],tags:[],unicode_version:"5.2",ios_version:"6.0"},{emoji:"🆘",description:"SOS button",category:"Symbols",aliases:["sos"],tags:["help","emergency"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🆙",description:"UP! button",category:"Symbols",aliases:["up"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🆚",description:"VS button",category:"Symbols",aliases:["vs"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🈁",description:"Japanese “here” button",category:"Symbols",aliases:["koko"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🈂️",description:"Japanese “service charge” button",category:"Symbols",aliases:["sa"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🈷️",description:"Japanese “monthly amount” button",category:"Symbols",aliases:["u6708"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🈶",description:"Japanese “not free of charge” button",category:"Symbols",aliases:["u6709"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🈯",description:"Japanese “reserved” button",category:"Symbols",aliases:["u6307"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"🉐",description:"Japanese “bargain” button",category:"Symbols",aliases:["ideograph_advantage"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🈹",description:"Japanese “discount” button",category:"Symbols",aliases:["u5272"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🈚",description:"Japanese “free of charge” button",category:"Symbols",aliases:["u7121"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"🈲",description:"Japanese “prohibited” button",category:"Symbols",aliases:["u7981"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🉑",description:"Japanese “acceptable” button",category:"Symbols",aliases:["accept"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🈸",description:"Japanese “application” button",category:"Symbols",aliases:["u7533"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🈴",description:"Japanese “passing grade” button",category:"Symbols",aliases:["u5408"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🈳",description:"Japanese “vacancy” button",category:"Symbols",aliases:["u7a7a"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"㊗️",description:"Japanese “congratulations” button",category:"Symbols",aliases:["congratulations"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"㊙️",description:"Japanese “secret” button",category:"Symbols",aliases:["secret"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"🈺",description:"Japanese “open for business” button",category:"Symbols",aliases:["u55b6"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🈵",description:"Japanese “no vacancy” button",category:"Symbols",aliases:["u6e80"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔴",description:"red circle",category:"Symbols",aliases:["red_circle"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🟠",description:"orange circle",category:"Symbols",aliases:["orange_circle"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🟡",description:"yellow circle",category:"Symbols",aliases:["yellow_circle"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🟢",description:"green circle",category:"Symbols",aliases:["green_circle"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🔵",description:"blue circle",category:"Symbols",aliases:["large_blue_circle"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🟣",description:"purple circle",category:"Symbols",aliases:["purple_circle"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🟤",description:"brown circle",category:"Symbols",aliases:["brown_circle"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"⚫",description:"black circle",category:"Symbols",aliases:["black_circle"],tags:[],unicode_version:"4.1",ios_version:"6.0"},{emoji:"⚪",description:"white circle",category:"Symbols",aliases:["white_circle"],tags:[],unicode_version:"4.1",ios_version:"6.0"},{emoji:"🟥",description:"red square",category:"Symbols",aliases:["red_square"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🟧",description:"orange square",category:"Symbols",aliases:["orange_square"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🟨",description:"yellow square",category:"Symbols",aliases:["yellow_square"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🟩",description:"green square",category:"Symbols",aliases:["green_square"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🟦",description:"blue square",category:"Symbols",aliases:["blue_square"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🟪",description:"purple square",category:"Symbols",aliases:["purple_square"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"🟫",description:"brown square",category:"Symbols",aliases:["brown_square"],tags:[],unicode_version:"12.0",ios_version:"13.0"},{emoji:"⬛",description:"black large square",category:"Symbols",aliases:["black_large_square"],tags:[],unicode_version:"5.1",ios_version:"6.0"},{emoji:"⬜",description:"white large square",category:"Symbols",aliases:["white_large_square"],tags:[],unicode_version:"5.1",ios_version:"6.0"},{emoji:"◼️",description:"black medium square",category:"Symbols",aliases:["black_medium_square"],tags:[],unicode_version:"3.2",ios_version:"6.0"},{emoji:"◻️",description:"white medium square",category:"Symbols",aliases:["white_medium_square"],tags:[],unicode_version:"3.2",ios_version:"6.0"},{emoji:"◾",description:"black medium-small square",category:"Symbols",aliases:["black_medium_small_square"],tags:[],unicode_version:"3.2",ios_version:"6.0"},{emoji:"◽",description:"white medium-small square",category:"Symbols",aliases:["white_medium_small_square"],tags:[],unicode_version:"3.2",ios_version:"6.0"},{emoji:"▪️",description:"black small square",category:"Symbols",aliases:["black_small_square"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"▫️",description:"white small square",category:"Symbols",aliases:["white_small_square"],tags:[],unicode_version:"",ios_version:"6.0"},{emoji:"🔶",description:"large orange diamond",category:"Symbols",aliases:["large_orange_diamond"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔷",description:"large blue diamond",category:"Symbols",aliases:["large_blue_diamond"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔸",description:"small orange diamond",category:"Symbols",aliases:["small_orange_diamond"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔹",description:"small blue diamond",category:"Symbols",aliases:["small_blue_diamond"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔺",description:"red triangle pointed up",category:"Symbols",aliases:["small_red_triangle"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔻",description:"red triangle pointed down",category:"Symbols",aliases:["small_red_triangle_down"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"💠",description:"diamond with a dot",category:"Symbols",aliases:["diamond_shape_with_a_dot_inside"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔘",description:"radio button",category:"Symbols",aliases:["radio_button"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔳",description:"white square button",category:"Symbols",aliases:["white_square_button"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🔲",description:"black square button",category:"Symbols",aliases:["black_square_button"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏁",description:"chequered flag",category:"Flags",aliases:["checkered_flag"],tags:["milestone","finish"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🚩",description:"triangular flag",category:"Flags",aliases:["triangular_flag_on_post"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🎌",description:"crossed flags",category:"Flags",aliases:["crossed_flags"],tags:[],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🏴",description:"black flag",category:"Flags",aliases:["black_flag"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🏳️",description:"white flag",category:"Flags",aliases:["white_flag"],tags:[],unicode_version:"7.0",ios_version:"9.1"},{emoji:"🏳️🌈",description:"rainbow flag",category:"Flags",aliases:["rainbow_flag"],tags:["pride"],unicode_version:"6.0",ios_version:"10.0"},{emoji:"🏳️⚧️",description:"transgender flag",category:"Flags",aliases:["transgender_flag"],tags:[],unicode_version:"13.0",ios_version:"14.0"},{emoji:"🏴☠️",description:"pirate flag",category:"Flags",aliases:["pirate_flag"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🇦🇨",description:"flag: Ascension Island",category:"Flags",aliases:["ascension_island"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🇦🇩",description:"flag: Andorra",category:"Flags",aliases:["andorra"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇦🇪",description:"flag: United Arab Emirates",category:"Flags",aliases:["united_arab_emirates"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇦🇫",description:"flag: Afghanistan",category:"Flags",aliases:["afghanistan"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇦🇬",description:"flag: Antigua & Barbuda",category:"Flags",aliases:["antigua_barbuda"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇦🇮",description:"flag: Anguilla",category:"Flags",aliases:["anguilla"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇦🇱",description:"flag: Albania",category:"Flags",aliases:["albania"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇦🇲",description:"flag: Armenia",category:"Flags",aliases:["armenia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇦🇴",description:"flag: Angola",category:"Flags",aliases:["angola"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇦🇶",description:"flag: Antarctica",category:"Flags",aliases:["antarctica"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇦🇷",description:"flag: Argentina",category:"Flags",aliases:["argentina"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇦🇸",description:"flag: American Samoa",category:"Flags",aliases:["american_samoa"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇦🇹",description:"flag: Austria",category:"Flags",aliases:["austria"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇦🇺",description:"flag: Australia",category:"Flags",aliases:["australia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇦🇼",description:"flag: Aruba",category:"Flags",aliases:["aruba"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇦🇽",description:"flag: Åland Islands",category:"Flags",aliases:["aland_islands"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇦🇿",description:"flag: Azerbaijan",category:"Flags",aliases:["azerbaijan"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇧🇦",description:"flag: Bosnia & Herzegovina",category:"Flags",aliases:["bosnia_herzegovina"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇧🇧",description:"flag: Barbados",category:"Flags",aliases:["barbados"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇧🇩",description:"flag: Bangladesh",category:"Flags",aliases:["bangladesh"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇧🇪",description:"flag: Belgium",category:"Flags",aliases:["belgium"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇧🇫",description:"flag: Burkina Faso",category:"Flags",aliases:["burkina_faso"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇧🇬",description:"flag: Bulgaria",category:"Flags",aliases:["bulgaria"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇧🇭",description:"flag: Bahrain",category:"Flags",aliases:["bahrain"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇧🇮",description:"flag: Burundi",category:"Flags",aliases:["burundi"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇧🇯",description:"flag: Benin",category:"Flags",aliases:["benin"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇧🇱",description:"flag: St. Barthélemy",category:"Flags",aliases:["st_barthelemy"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇧🇲",description:"flag: Bermuda",category:"Flags",aliases:["bermuda"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇧🇳",description:"flag: Brunei",category:"Flags",aliases:["brunei"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇧🇴",description:"flag: Bolivia",category:"Flags",aliases:["bolivia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇧🇶",description:"flag: Caribbean Netherlands",category:"Flags",aliases:["caribbean_netherlands"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇧🇷",description:"flag: Brazil",category:"Flags",aliases:["brazil"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇧🇸",description:"flag: Bahamas",category:"Flags",aliases:["bahamas"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇧🇹",description:"flag: Bhutan",category:"Flags",aliases:["bhutan"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇧🇻",description:"flag: Bouvet Island",category:"Flags",aliases:["bouvet_island"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🇧🇼",description:"flag: Botswana",category:"Flags",aliases:["botswana"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇧🇾",description:"flag: Belarus",category:"Flags",aliases:["belarus"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇧🇿",description:"flag: Belize",category:"Flags",aliases:["belize"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇨🇦",description:"flag: Canada",category:"Flags",aliases:["canada"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇨🇨",description:"flag: Cocos (Keeling) Islands",category:"Flags",aliases:["cocos_islands"],tags:["keeling"],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇨🇩",description:"flag: Congo - Kinshasa",category:"Flags",aliases:["congo_kinshasa"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇨🇫",description:"flag: Central African Republic",category:"Flags",aliases:["central_african_republic"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇨🇬",description:"flag: Congo - Brazzaville",category:"Flags",aliases:["congo_brazzaville"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇨🇭",description:"flag: Switzerland",category:"Flags",aliases:["switzerland"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇨🇮",description:"flag: Côte d’Ivoire",category:"Flags",aliases:["cote_divoire"],tags:["ivory"],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇨🇰",description:"flag: Cook Islands",category:"Flags",aliases:["cook_islands"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇨🇱",description:"flag: Chile",category:"Flags",aliases:["chile"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇨🇲",description:"flag: Cameroon",category:"Flags",aliases:["cameroon"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇨🇳",description:"flag: China",category:"Flags",aliases:["cn"],tags:["china"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🇨🇴",description:"flag: Colombia",category:"Flags",aliases:["colombia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇨🇵",description:"flag: Clipperton Island",category:"Flags",aliases:["clipperton_island"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🇨🇷",description:"flag: Costa Rica",category:"Flags",aliases:["costa_rica"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇨🇺",description:"flag: Cuba",category:"Flags",aliases:["cuba"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇨🇻",description:"flag: Cape Verde",category:"Flags",aliases:["cape_verde"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇨🇼",description:"flag: Curaçao",category:"Flags",aliases:["curacao"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇨🇽",description:"flag: Christmas Island",category:"Flags",aliases:["christmas_island"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇨🇾",description:"flag: Cyprus",category:"Flags",aliases:["cyprus"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇨🇿",description:"flag: Czechia",category:"Flags",aliases:["czech_republic"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇩🇪",description:"flag: Germany",category:"Flags",aliases:["de"],tags:["flag","germany"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🇩🇬",description:"flag: Diego Garcia",category:"Flags",aliases:["diego_garcia"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🇩🇯",description:"flag: Djibouti",category:"Flags",aliases:["djibouti"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇩🇰",description:"flag: Denmark",category:"Flags",aliases:["denmark"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇩🇲",description:"flag: Dominica",category:"Flags",aliases:["dominica"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇩🇴",description:"flag: Dominican Republic",category:"Flags",aliases:["dominican_republic"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇩🇿",description:"flag: Algeria",category:"Flags",aliases:["algeria"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇪🇦",description:"flag: Ceuta & Melilla",category:"Flags",aliases:["ceuta_melilla"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🇪🇨",description:"flag: Ecuador",category:"Flags",aliases:["ecuador"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇪🇪",description:"flag: Estonia",category:"Flags",aliases:["estonia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇪🇬",description:"flag: Egypt",category:"Flags",aliases:["egypt"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇪🇭",description:"flag: Western Sahara",category:"Flags",aliases:["western_sahara"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇪🇷",description:"flag: Eritrea",category:"Flags",aliases:["eritrea"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇪🇸",description:"flag: Spain",category:"Flags",aliases:["es"],tags:["spain"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🇪🇹",description:"flag: Ethiopia",category:"Flags",aliases:["ethiopia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇪🇺",description:"flag: European Union",category:"Flags",aliases:["eu","european_union"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇫🇮",description:"flag: Finland",category:"Flags",aliases:["finland"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇫🇯",description:"flag: Fiji",category:"Flags",aliases:["fiji"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇫🇰",description:"flag: Falkland Islands",category:"Flags",aliases:["falkland_islands"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇫🇲",description:"flag: Micronesia",category:"Flags",aliases:["micronesia"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇫🇴",description:"flag: Faroe Islands",category:"Flags",aliases:["faroe_islands"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇫🇷",description:"flag: France",category:"Flags",aliases:["fr"],tags:["france","french"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🇬🇦",description:"flag: Gabon",category:"Flags",aliases:["gabon"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇬🇧",description:"flag: United Kingdom",category:"Flags",aliases:["gb","uk"],tags:["flag","british"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🇬🇩",description:"flag: Grenada",category:"Flags",aliases:["grenada"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇬🇪",description:"flag: Georgia",category:"Flags",aliases:["georgia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇬🇫",description:"flag: French Guiana",category:"Flags",aliases:["french_guiana"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇬🇬",description:"flag: Guernsey",category:"Flags",aliases:["guernsey"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇬🇭",description:"flag: Ghana",category:"Flags",aliases:["ghana"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇬🇮",description:"flag: Gibraltar",category:"Flags",aliases:["gibraltar"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇬🇱",description:"flag: Greenland",category:"Flags",aliases:["greenland"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇬🇲",description:"flag: Gambia",category:"Flags",aliases:["gambia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇬🇳",description:"flag: Guinea",category:"Flags",aliases:["guinea"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇬🇵",description:"flag: Guadeloupe",category:"Flags",aliases:["guadeloupe"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇬🇶",description:"flag: Equatorial Guinea",category:"Flags",aliases:["equatorial_guinea"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇬🇷",description:"flag: Greece",category:"Flags",aliases:["greece"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇬🇸",description:"flag: South Georgia & South Sandwich Islands",category:"Flags",aliases:["south_georgia_south_sandwich_islands"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇬🇹",description:"flag: Guatemala",category:"Flags",aliases:["guatemala"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇬🇺",description:"flag: Guam",category:"Flags",aliases:["guam"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇬🇼",description:"flag: Guinea-Bissau",category:"Flags",aliases:["guinea_bissau"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇬🇾",description:"flag: Guyana",category:"Flags",aliases:["guyana"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇭🇰",description:"flag: Hong Kong SAR China",category:"Flags",aliases:["hong_kong"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇭🇲",description:"flag: Heard & McDonald Islands",category:"Flags",aliases:["heard_mcdonald_islands"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🇭🇳",description:"flag: Honduras",category:"Flags",aliases:["honduras"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇭🇷",description:"flag: Croatia",category:"Flags",aliases:["croatia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇭🇹",description:"flag: Haiti",category:"Flags",aliases:["haiti"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇭🇺",description:"flag: Hungary",category:"Flags",aliases:["hungary"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇮🇨",description:"flag: Canary Islands",category:"Flags",aliases:["canary_islands"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇮🇩",description:"flag: Indonesia",category:"Flags",aliases:["indonesia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇮🇪",description:"flag: Ireland",category:"Flags",aliases:["ireland"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇮🇱",description:"flag: Israel",category:"Flags",aliases:["israel"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇮🇲",description:"flag: Isle of Man",category:"Flags",aliases:["isle_of_man"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇮🇳",description:"flag: India",category:"Flags",aliases:["india"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇮🇴",description:"flag: British Indian Ocean Territory",category:"Flags",aliases:["british_indian_ocean_territory"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇮🇶",description:"flag: Iraq",category:"Flags",aliases:["iraq"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇮🇷",description:"flag: Iran",category:"Flags",aliases:["iran"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇮🇸",description:"flag: Iceland",category:"Flags",aliases:["iceland"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇮🇹",description:"flag: Italy",category:"Flags",aliases:["it"],tags:["italy"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🇯🇪",description:"flag: Jersey",category:"Flags",aliases:["jersey"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇯🇲",description:"flag: Jamaica",category:"Flags",aliases:["jamaica"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇯🇴",description:"flag: Jordan",category:"Flags",aliases:["jordan"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇯🇵",description:"flag: Japan",category:"Flags",aliases:["jp"],tags:["japan"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🇰🇪",description:"flag: Kenya",category:"Flags",aliases:["kenya"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇰🇬",description:"flag: Kyrgyzstan",category:"Flags",aliases:["kyrgyzstan"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇰🇭",description:"flag: Cambodia",category:"Flags",aliases:["cambodia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇰🇮",description:"flag: Kiribati",category:"Flags",aliases:["kiribati"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇰🇲",description:"flag: Comoros",category:"Flags",aliases:["comoros"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇰🇳",description:"flag: St. Kitts & Nevis",category:"Flags",aliases:["st_kitts_nevis"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇰🇵",description:"flag: North Korea",category:"Flags",aliases:["north_korea"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇰🇷",description:"flag: South Korea",category:"Flags",aliases:["kr"],tags:["korea"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🇰🇼",description:"flag: Kuwait",category:"Flags",aliases:["kuwait"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇰🇾",description:"flag: Cayman Islands",category:"Flags",aliases:["cayman_islands"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇰🇿",description:"flag: Kazakhstan",category:"Flags",aliases:["kazakhstan"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇱🇦",description:"flag: Laos",category:"Flags",aliases:["laos"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇱🇧",description:"flag: Lebanon",category:"Flags",aliases:["lebanon"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇱🇨",description:"flag: St. Lucia",category:"Flags",aliases:["st_lucia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇱🇮",description:"flag: Liechtenstein",category:"Flags",aliases:["liechtenstein"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇱🇰",description:"flag: Sri Lanka",category:"Flags",aliases:["sri_lanka"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇱🇷",description:"flag: Liberia",category:"Flags",aliases:["liberia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇱🇸",description:"flag: Lesotho",category:"Flags",aliases:["lesotho"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇱🇹",description:"flag: Lithuania",category:"Flags",aliases:["lithuania"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇱🇺",description:"flag: Luxembourg",category:"Flags",aliases:["luxembourg"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇱🇻",description:"flag: Latvia",category:"Flags",aliases:["latvia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇱🇾",description:"flag: Libya",category:"Flags",aliases:["libya"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇲🇦",description:"flag: Morocco",category:"Flags",aliases:["morocco"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇲🇨",description:"flag: Monaco",category:"Flags",aliases:["monaco"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇲🇩",description:"flag: Moldova",category:"Flags",aliases:["moldova"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇲🇪",description:"flag: Montenegro",category:"Flags",aliases:["montenegro"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇲🇫",description:"flag: St. Martin",category:"Flags",aliases:["st_martin"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🇲🇬",description:"flag: Madagascar",category:"Flags",aliases:["madagascar"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇲🇭",description:"flag: Marshall Islands",category:"Flags",aliases:["marshall_islands"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇲🇰",description:"flag: North Macedonia",category:"Flags",aliases:["macedonia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇲🇱",description:"flag: Mali",category:"Flags",aliases:["mali"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇲🇲",description:"flag: Myanmar (Burma)",category:"Flags",aliases:["myanmar"],tags:["burma"],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇲🇳",description:"flag: Mongolia",category:"Flags",aliases:["mongolia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇲🇴",description:"flag: Macao SAR China",category:"Flags",aliases:["macau"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇲🇵",description:"flag: Northern Mariana Islands",category:"Flags",aliases:["northern_mariana_islands"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇲🇶",description:"flag: Martinique",category:"Flags",aliases:["martinique"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇲🇷",description:"flag: Mauritania",category:"Flags",aliases:["mauritania"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇲🇸",description:"flag: Montserrat",category:"Flags",aliases:["montserrat"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇲🇹",description:"flag: Malta",category:"Flags",aliases:["malta"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇲🇺",description:"flag: Mauritius",category:"Flags",aliases:["mauritius"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇲🇻",description:"flag: Maldives",category:"Flags",aliases:["maldives"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇲🇼",description:"flag: Malawi",category:"Flags",aliases:["malawi"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇲🇽",description:"flag: Mexico",category:"Flags",aliases:["mexico"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇲🇾",description:"flag: Malaysia",category:"Flags",aliases:["malaysia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇲🇿",description:"flag: Mozambique",category:"Flags",aliases:["mozambique"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇳🇦",description:"flag: Namibia",category:"Flags",aliases:["namibia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇳🇨",description:"flag: New Caledonia",category:"Flags",aliases:["new_caledonia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇳🇪",description:"flag: Niger",category:"Flags",aliases:["niger"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇳🇫",description:"flag: Norfolk Island",category:"Flags",aliases:["norfolk_island"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇳🇬",description:"flag: Nigeria",category:"Flags",aliases:["nigeria"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇳🇮",description:"flag: Nicaragua",category:"Flags",aliases:["nicaragua"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇳🇱",description:"flag: Netherlands",category:"Flags",aliases:["netherlands"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇳🇴",description:"flag: Norway",category:"Flags",aliases:["norway"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇳🇵",description:"flag: Nepal",category:"Flags",aliases:["nepal"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇳🇷",description:"flag: Nauru",category:"Flags",aliases:["nauru"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇳🇺",description:"flag: Niue",category:"Flags",aliases:["niue"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇳🇿",description:"flag: New Zealand",category:"Flags",aliases:["new_zealand"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇴🇲",description:"flag: Oman",category:"Flags",aliases:["oman"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇵🇦",description:"flag: Panama",category:"Flags",aliases:["panama"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇵🇪",description:"flag: Peru",category:"Flags",aliases:["peru"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇵🇫",description:"flag: French Polynesia",category:"Flags",aliases:["french_polynesia"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇵🇬",description:"flag: Papua New Guinea",category:"Flags",aliases:["papua_new_guinea"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇵🇭",description:"flag: Philippines",category:"Flags",aliases:["philippines"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇵🇰",description:"flag: Pakistan",category:"Flags",aliases:["pakistan"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇵🇱",description:"flag: Poland",category:"Flags",aliases:["poland"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇵🇲",description:"flag: St. Pierre & Miquelon",category:"Flags",aliases:["st_pierre_miquelon"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇵🇳",description:"flag: Pitcairn Islands",category:"Flags",aliases:["pitcairn_islands"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇵🇷",description:"flag: Puerto Rico",category:"Flags",aliases:["puerto_rico"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇵🇸",description:"flag: Palestinian Territories",category:"Flags",aliases:["palestinian_territories"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇵🇹",description:"flag: Portugal",category:"Flags",aliases:["portugal"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇵🇼",description:"flag: Palau",category:"Flags",aliases:["palau"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇵🇾",description:"flag: Paraguay",category:"Flags",aliases:["paraguay"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇶🇦",description:"flag: Qatar",category:"Flags",aliases:["qatar"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇷🇪",description:"flag: Réunion",category:"Flags",aliases:["reunion"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇷🇴",description:"flag: Romania",category:"Flags",aliases:["romania"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇷🇸",description:"flag: Serbia",category:"Flags",aliases:["serbia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇷🇺",description:"flag: Russia",category:"Flags",aliases:["ru"],tags:["russia"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🇷🇼",description:"flag: Rwanda",category:"Flags",aliases:["rwanda"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇸🇦",description:"flag: Saudi Arabia",category:"Flags",aliases:["saudi_arabia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇸🇧",description:"flag: Solomon Islands",category:"Flags",aliases:["solomon_islands"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇸🇨",description:"flag: Seychelles",category:"Flags",aliases:["seychelles"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇸🇩",description:"flag: Sudan",category:"Flags",aliases:["sudan"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇸🇪",description:"flag: Sweden",category:"Flags",aliases:["sweden"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇸🇬",description:"flag: Singapore",category:"Flags",aliases:["singapore"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇸🇭",description:"flag: St. Helena",category:"Flags",aliases:["st_helena"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇸🇮",description:"flag: Slovenia",category:"Flags",aliases:["slovenia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇸🇯",description:"flag: Svalbard & Jan Mayen",category:"Flags",aliases:["svalbard_jan_mayen"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🇸🇰",description:"flag: Slovakia",category:"Flags",aliases:["slovakia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇸🇱",description:"flag: Sierra Leone",category:"Flags",aliases:["sierra_leone"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇸🇲",description:"flag: San Marino",category:"Flags",aliases:["san_marino"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇸🇳",description:"flag: Senegal",category:"Flags",aliases:["senegal"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇸🇴",description:"flag: Somalia",category:"Flags",aliases:["somalia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇸🇷",description:"flag: Suriname",category:"Flags",aliases:["suriname"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇸🇸",description:"flag: South Sudan",category:"Flags",aliases:["south_sudan"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇸🇹",description:"flag: São Tomé & Príncipe",category:"Flags",aliases:["sao_tome_principe"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇸🇻",description:"flag: El Salvador",category:"Flags",aliases:["el_salvador"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇸🇽",description:"flag: Sint Maarten",category:"Flags",aliases:["sint_maarten"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇸🇾",description:"flag: Syria",category:"Flags",aliases:["syria"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇸🇿",description:"flag: Eswatini",category:"Flags",aliases:["swaziland"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇹🇦",description:"flag: Tristan da Cunha",category:"Flags",aliases:["tristan_da_cunha"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🇹🇨",description:"flag: Turks & Caicos Islands",category:"Flags",aliases:["turks_caicos_islands"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇹🇩",description:"flag: Chad",category:"Flags",aliases:["chad"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇹🇫",description:"flag: French Southern Territories",category:"Flags",aliases:["french_southern_territories"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇹🇬",description:"flag: Togo",category:"Flags",aliases:["togo"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇹🇭",description:"flag: Thailand",category:"Flags",aliases:["thailand"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇹🇯",description:"flag: Tajikistan",category:"Flags",aliases:["tajikistan"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇹🇰",description:"flag: Tokelau",category:"Flags",aliases:["tokelau"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇹🇱",description:"flag: Timor-Leste",category:"Flags",aliases:["timor_leste"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇹🇲",description:"flag: Turkmenistan",category:"Flags",aliases:["turkmenistan"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇹🇳",description:"flag: Tunisia",category:"Flags",aliases:["tunisia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇹🇴",description:"flag: Tonga",category:"Flags",aliases:["tonga"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇹🇷",description:"flag: Turkey",category:"Flags",aliases:["tr"],tags:["turkey"],unicode_version:"8.0",ios_version:"9.1"},{emoji:"🇹🇹",description:"flag: Trinidad & Tobago",category:"Flags",aliases:["trinidad_tobago"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇹🇻",description:"flag: Tuvalu",category:"Flags",aliases:["tuvalu"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇹🇼",description:"flag: Taiwan",category:"Flags",aliases:["taiwan"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇹🇿",description:"flag: Tanzania",category:"Flags",aliases:["tanzania"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇺🇦",description:"flag: Ukraine",category:"Flags",aliases:["ukraine"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇺🇬",description:"flag: Uganda",category:"Flags",aliases:["uganda"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇺🇲",description:"flag: U.S. Outlying Islands",category:"Flags",aliases:["us_outlying_islands"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🇺🇳",description:"flag: United Nations",category:"Flags",aliases:["united_nations"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🇺🇸",description:"flag: United States",category:"Flags",aliases:["us"],tags:["flag","united","america"],unicode_version:"6.0",ios_version:"6.0"},{emoji:"🇺🇾",description:"flag: Uruguay",category:"Flags",aliases:["uruguay"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇺🇿",description:"flag: Uzbekistan",category:"Flags",aliases:["uzbekistan"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇻🇦",description:"flag: Vatican City",category:"Flags",aliases:["vatican_city"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇻🇨",description:"flag: St. Vincent & Grenadines",category:"Flags",aliases:["st_vincent_grenadines"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇻🇪",description:"flag: Venezuela",category:"Flags",aliases:["venezuela"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇻🇬",description:"flag: British Virgin Islands",category:"Flags",aliases:["british_virgin_islands"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇻🇮",description:"flag: U.S. Virgin Islands",category:"Flags",aliases:["us_virgin_islands"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇻🇳",description:"flag: Vietnam",category:"Flags",aliases:["vietnam"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇻🇺",description:"flag: Vanuatu",category:"Flags",aliases:["vanuatu"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇼🇫",description:"flag: Wallis & Futuna",category:"Flags",aliases:["wallis_futuna"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇼🇸",description:"flag: Samoa",category:"Flags",aliases:["samoa"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇽🇰",description:"flag: Kosovo",category:"Flags",aliases:["kosovo"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇾🇪",description:"flag: Yemen",category:"Flags",aliases:["yemen"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇾🇹",description:"flag: Mayotte",category:"Flags",aliases:["mayotte"],tags:[],unicode_version:"6.0",ios_version:"9.0"},{emoji:"🇿🇦",description:"flag: South Africa",category:"Flags",aliases:["south_africa"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇿🇲",description:"flag: Zambia",category:"Flags",aliases:["zambia"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🇿🇼",description:"flag: Zimbabwe",category:"Flags",aliases:["zimbabwe"],tags:[],unicode_version:"6.0",ios_version:"8.3"},{emoji:"🏴",description:"flag: England",category:"Flags",aliases:["england"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🏴",description:"flag: Scotland",category:"Flags",aliases:["scotland"],tags:[],unicode_version:"11.0",ios_version:"12.1"},{emoji:"🏴",description:"flag: Wales",category:"Flags",aliases:["wales"],tags:[],unicode_version:"11.0",ios_version:"12.1"}]},Symbol.toStringTag,{value:"Module"}));Go.Editor=D3,Go.EditorTask=lD,Object.defineProperty(Go,Symbol.toStringTag,{value:"Module"})});
|
|
1545
1545
|
//# sourceMappingURL=index.umd.js.map
|